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AAA,SACAC,YAAA,QACAC,QAAA,SACAC,UAAA,SACAC,WAAA,SACAC,KAAA,SACAC,UAAA,SACA39J,KAAA,QACA49J,MAAA,MACAC,YAAA,SACAC,KAAA,QACAC,SAAA,SACAC,QAAA,SACAC,UAAA,SACAC,OAAA,QACAC,MAAA,SACAC,MAAA,SACAC,SAAA,SACAC,cAAA,SACAC,UAAA,QACAC,aAAA,SACAC,UAAA,SACAC,WAAA,SACAC,UAAA,SACAC,qBAAA,SACAC,UAAA,SACAC,WAAA,QACAC,UAAA,SACAC,UAAA,SACAC,YAAA,SACAC,cAAA,QACAC,aAAA,QACAC,eAAA,QACAC,eAAA,QACAC,eAAA,SACAC,YAAA,SACAC,KAAA,MACAC,UAAA,QACAC,MAAA,SACAC,QAAA,SACAC,OAAA,QACAC,iBAAA,QACAC,WAAA,IACAC,aAAA,SACAC,aAAA,QACAC,eAAA,QACAC,gBAAA,QACAC,kBAAA,MACAC,gBAAA,QACAC,gBAAA,SACAC,aAAA,QACAC,UAAA,SACAC,UAAA,SACAC,SAAA,SACAC,YAAA,SACAC,KAAA,IACAC,QAAA,SACAC,MAAA,QACAC,UAAA,QACAC,OAAA,SACAC,UAAA,SACAC,OAAA,SACAC,cAAA,SACAC,UAAA,SACAC,cAAA,SACAC,cAAA,SACAC,WAAA,SACAC,UAAA,SACAC,KAAA,SACAC,KAAA,SACAC,KAAA,SACAC,WAAA,SACAC,OAAA,QACAC,cAAA,QACAC,IAAA,SACAC,UAAA,SACAC,UAAA,QACAC,YAAA,QACAC,OAAA,SACAC,WAAA,SACAC,SAAA,QACAC,SAAA,SACAC,OAAA,SACAC,OAAA,SACAC,QAAA,QACAC,UAAA,QACAC,UAAA,QACAC,UAAA,QACAC,KAAA,SACAC,YAAA,MACAC,UAAA,QACAC,IAAA,SACAC,KAAA,MACAC,QAAA,SACAC,OAAA,SACAC,UAAA,QACAC,OAAA,SACAC,MAAA,SACApjK,MAAA,SACAqjK,WAAA,SACAC,OAAA,SACAC,YAAA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A3piB,EAAA,MACA4piB,GAAA,YAEAx3C,KAAA,CACA03C,IAAA,EACAC,IAAA,KAMC,CA3DsCzqF,CAAWjzc,EAAQ,uBCGzD,SAAA0rI,GAA4B,aAI7B,IAAAwyZ,EAAA,CACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAEAP,EAAA,SAAA1xiB,GACA,WAAAA,EACA,EACA,IAAAA,EACA,EACA,IAAAA,EACA,EACAA,EAAA,QAAAA,EAAA,QACA,EACAA,EAAA,QACA,EACA,CACA,EACA2xiB,EAAA,CACA7xiB,EAAA,CACA,eACA,cACA,sBACA,UACA,WACA,YAEAY,EAAA,CACA,eACA,cACA,sBACA,WACA,WACA,YAEAuqB,EAAA,CACA,cACA,aACA,oBACA,WACA,UACA,WAEAhlB,EAAA,CACA,aACA,WACA,kBACA,UACA,WACA,UAEAqtf,EAAA,CACA,aACA,WACA,kBACA,UACA,UACA,UAEA5rf,EAAA,CACA,aACA,WACA,kBACA,WACA,WACA,WAGAkqiB,EAAA,SAAAvmf,GACA,gBAAAs+N,EAAAkoR,EAAAxjgB,EAAAyjgB,GACA,IAAArqiB,EAAAiqiB,EAAA/nR,GACAtnQ,EAAAsvhB,EAAAtmf,GAAAqmf,EAAA/nR,IAIA,OAHA,IAAAliR,IACA4a,EAAAA,EAAAwvhB,EAAA,MAEAxvhB,EAAAisB,QAAA,MAAAq7O,EACA,CACA,EACAwnO,EAAA,CACA,QACA,SACA,OACA,QACA,OACA,QACA,QACA,QACA,SACA,SACA,SACA,UAGA1xW,EAAAiwZ,aAAA,SACAv+C,OAAAA,EACAw+C,YAAAx+C,EACAy+C,SAAA,sDAAA58hB,MAAA,KACA68hB,cAAA,wCAAA78hB,MAAA,KACA88hB,YAAA,gBAAA98hB,MAAA,KACA++hB,oBAAA,EACA5B,eAAA,CACAC,GAAA,QACAC,IAAA,WACA1qD,EAAA,aACA2qD,GAAA,cACAC,IAAA,oBACAC,KAAA,0BAEAT,cAAA,MACAC,KAAA,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A82C,QAAA,gBACAC,QAAA,gBACAC,SAAA,eACAC,QAAA,iBACAC,SAAA,wBACAC,SAAA,KAEAC,aAAA,CACAC,OAAA,SACAC,KAAA,SACAnxiB,EAAA,mBACAoxiB,GAAA,cACAxwiB,EAAA,YACAwoE,GAAA,aACAj+C,EAAA,WACAkmhB,GAAA,WACAlriB,EAAA,UACAmriB,GAAA,WACA99C,EAAA,aACA+9C,GAAA,aACA3piB,EAAA,WACA4piB,GAAA,cAEAC,uBAAA,kBACAlkD,QAAA,SAAA1jO,GACA,OACAA,GACA,IAAAA,GAAA,IAAAA,GAAAA,GAAA,cAEA,EACAmwO,KAAA,CACA03C,IAAA,EACAC,IAAA,IAMC,CA/EsCzqF,CAAWjzc,EAAQ,uBCGzD,SAAA0rI,GAA4B,aA4C7BA,EAAAiwZ,aAAA,MACAv+C,OAzCA,CACA,SACA,UACA,QACA,UACA,YACA,YACA,OACA,SACA,eACA,mBACA,UACA,WA8BAw+C,YA5BA,CACA,MACA,QACA,OACA,MACA,OACA,QACA,OACA,MACA,OACA,OACA,OACA,QAiBAmD,kBAAA,EACAlD,SAhBA,CACA,eACA,WACA,WACA,cACA,YACA,YACA,eAUAC,cARA,qDASAC,YARA,oCASAK,eAAA,CACAC,GAAA,QACAC,IAAA,WACA1qD,EAAA,aACA2qD,GAAA,cACAC,IAAA,oBACAC,KAAA,2BAEA72C,SAAA,CACA82C,QAAA,gBACAC,QAAA,kBACAC,SAAA,eACAC,QAAA,eACAC,SAAA,2BACAC,SAAA,KAEAC,aAAA,CACAC,OAAA,OACAC,KAAA,YACAnxiB,EAAA,gBACAoxiB,GAAA,aACAxwiB,EAAA,UACAwoE,GAAA,aACAj+C,EAAA,iBACAkmhB,GAAA,oBACAlriB,EAAA,KACAmriB,GAAA,QACA99C,EAAA,KACA+9C,GAAA,YACA3piB,EAAA,SACA4piB,GAAA,aAEAC,uBAAA,mBACAlkD,QAAA,SAAA1jO,GAEA,OAAAA,GADA,IAAAA,EAAA,IAAAA,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ACAC,SAAA,KAEAC,aAAA,CACAC,OAAA,UACAC,KAAA,UACAnxiB,EAAA,aACAoxiB,GAAA,WACAxwiB,EAAA,MACAwoE,GAAA,UACAj+C,EAAA,MACAkmhB,GAAA,SAAAxnR,GACA,WAAAA,EACA,SAEAA,EAAA,OACA,EACA1jR,EAAA,MACAmriB,GAAA,SAAAznR,GACA,WAAAA,EACA,SAEAA,EAAA,OACA,EACA2pO,EAAA,OACA+9C,GAAA,SAAA1nR,GACA,WAAAA,EACA,UAEAA,EAAA,SACA,EACAjiR,EAAA,MACA4piB,GAAA,SAAA3nR,GACA,WAAAA,EACA,SACkBA,EAAA,YAAAA,EAClBA,EAAA,OAEAA,EAAA,OACA,GAEAomR,cACA,gEACAC,KAAA,SAAA/2hB,GACA,oCAAAnL,KAAAmL,EACA,EACAg3hB,SAAA,SAAAz5P,EAAAM,EAAAo5P,GACA,OAAA15P,EAAA,EACA,aACcA,EAAA,GACd,QACcA,EAAA,GACd05P,EAAA,wBACc15P,EAAA,GACd05P,EAAA,uBAEA,MAEA,GAKC,CAhGsClpF,CAAWjzc,EAAQ,uBCCzD,SAAA0rI,GAA4B,aAI7B,IAAAwyZ,EAAA,CACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAEAE,EAAA,CACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SAEAgB,EAAA,CACA,OACA,WACA,UACA,UACA,OACA,QACA,QACA,OACA,aACA,UACA,WACA,cAiBA1zZ,EAAAiwZ,aAAA,MACAv+C,OAAA,CACA90W,OAAA,8EAAArpI,MACA,KAEAu/hB,WACA,0EAAAv/hB,MACA,MAGA28hB,YACA,6DAAA38hB,MAAA,KACA48hB,SAAA,uDAAA58hB,MAAA,KACA68hB,cAAA,kCAAA78hB,MAAA,KACA88hB,YAAA,qBAAA98hB,MAAA,KACAm9hB,eAAA,CACAC,GAAA,aACAC,IAAA,gBACA1qD,EAAA,aACA2qD,GAAA,cACAC,IAAA,0BACAC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m6E,GAAAn6E,EACAxvd,EAAAwvd,EACAo6E,GAAAp6E,GAEAq6E,uBAAA,eACAlkD,QAAA,SAAA1jO,EAAAu1M,GACA,OAAAA,GACA,QACA,QACA,UACA,OAAAv1M,EAAA,QACA,QACA,OAAAA,EAEA,GAKC,CAxGsCq9L,CAAWjzc,EAAQ,uBCIzD,SAAA0rI,GAA4B,aAI7B,IAAAwyZ,EAAA,CACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAEAE,EAAA,CACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SAGA,SAAAiE,EAAAzsR,EAAAkoR,EAAAxjgB,EAAAyjgB,GACA,IAAA5+hB,EAAA,GACA,GAAA2+hB,EACA,OAAAxjgB,GACA,QACAn7B,EAAA,aACA,MACA,SACAA,EAAA,WACA,MACA,QACAA,EAAA,WACA,MACA,SACAA,EAAA,YACA,MACA,QACAA,EAAA,SACA,MACA,SACAA,EAAA,SACA,MACA,QACAA,EAAA,UACA,MACA,SACAA,EAAA,UACA,MACA,QACAA,EAAA,WACA,MACA,SACAA,EAAA,WACA,MACA,QACAA,EAAA,UACA,MACA,SACAA,EAAA,gBAIA,OAAAm7B,GACA,QACAn7B,EAAA,eACA,MACA,SACAA,EAAA,aACA,MACA,QACAA,EAAA,aACA,MACA,SACAA,EAAA,aACA,MACA,QACAA,EAAA,WACA,MACA,SACAA,EAAA,WACA,MACA,QACAA,EAAA,YACA,MACA,SACAA,EAAA,YACA,MACA,QACAA,EAAA,cACA,MACA,SACAA,EAAA,cACA,MACA,QACAA,EAAA,YACA,MACA,SACAA,EAAA,YAIA,OAAAA,EAAAo7B,QAAA,MAAAq7O,EACA,CAEAlqI,EAAAiwZ,aAAA,MACAv+C,OAAA,wFAAAn+e,MACA,KAEA28hB,YACA,gFAAA38hB,MACA,KAEA8/hB,kBAAA,EACAlD,SAAA,uDAAA58hB,MAAA,KACA68hB,cAAA,kCAAA78hB,MAAA,KACA88hB,YAAA,qBA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KACcA,EAAA,IACd,KACcA,EAAA,KACd,KACcA,EAAA,KACd,KACcA,EAAA,KACd,KAEA,IAEA,EACAl9C,SAAA,CACA82C,QAAA,UACAC,QAAA,UACAC,SAAA,aACAC,QAAA,UACAC,SAAA,aACAC,SAAA,KAEAS,uBAAA,iBACAlkD,QAAA,SAAA1jO,EAAAu1M,GACA,OAAAA,GACA,QACA,QACA,UACA,OAAAv1M,EAAA,IACA,QACA,OAAAA,EAAA,IACA,QACA,QACA,OAAAA,EAAA,IACA,QACA,OAAAA,EAEA,EACAonR,aAAA,CACAC,OAAA,MACAC,KAAA,MACAnxiB,EAAA,KACAoxiB,GAAA,OACAxwiB,EAAA,OACAwoE,GAAA,QACAj+C,EAAA,OACAkmhB,GAAA,QACAlriB,EAAA,MACAmriB,GAAA,OACA99C,EAAA,OACA+9C,GAAA,QACA3piB,EAAA,MACA4piB,GAAA,SAMC,CAtGsCtqF,CAAWjzc,EAAQ,sBCP1D,IAAA4D,EAAA,CACA,aACA,gBACA,gBACA,mBACA,aACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,eACA,kBACA,gBACA,mBACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,YACA,eACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,eACA,kBACA,gBACA,mBACA,gBACA,mBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,aACA,gBACA,YACA,eACA,WACA,cACA,aACA,gBACA,cACA,iBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,sBACA,mBACA,sBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,gBACA,mBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,YACA,eACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,iBACA,oBACA,gBACA,mBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,mBACA,gBACA,aACA,gBACA,aACA,gBACA,YACA,eACA,aACA,gBACA,aACA,gBACA,YACA,eACA,aACA,gBACA,aACA,gBACA,aACA,iBACA,oBACA,gBACA,YACA,eACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,cACA,iBACA,aACA,gBACA,aACA,gBACA,aACA,gBACA,gBACA,mBACA,cACA,iBACA,aACA,gBACA,cACA,iBACA,cACA,mBACA,sBACA,iBACA,gBACA,mBACA,aACA,gBACA,aACA,gBACA,aACA,kBACA,qBACA,gBACA,aACA,gBACA,mBACA,sBACA,aACA,gBACA,gBACA,mBACA,eACA,kBACA,gBACA,mBACA,gBACA,oBAIA,SAAAu/hB,EAAA3vhB,GACA,IAAAza,EAAAqqiB,EAAA5vhB,GACA,OAAAxT,EAAAjH,EACA,CACA,SAAAqqiB,EAAA5vhB,GACA,IAAAxT,EAAAtT,EAAAkX,EAAA4P,GAAA,CACA,IAAAzmB,EAAA,IAAAsD,MAAA,uBAAAmjB,EAAA,KAEA,MADAzmB,EAAA2R,KAAA,mBACA3R,CACA,CACA,OAAA6W,EAAA4P,EACA,CACA2vhB,EAAA5iiB,KAAA,WACA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A51pB,EACA,CAEA,IADA01pB,GAAAA,EAAAhtpB,GACM1c,EAAAwoqB,EAAAroqB,OAAqBH,IAC3B0oqB,EAAAF,EAAAxoqB,GACAgU,EAAAtT,EAAA4oqB,EAAAZ,IAAAY,EAAAZ,IACAY,EAAAZ,GAAA,KAEAY,EAAAZ,GAAA,EAEA,OAAA10pB,EAAAy8b,EAAAnpc,IAGAuiqB,EAAA7tlB,KAAA,oBAAAA,KAAA,wBACA6tlB,EAAAvlqB,QAAAmlqB,EAAArlqB,KAAA,SACAylqB,EAAA1oqB,KAAAsoqB,EAAArlqB,KAAA,KAAAylqB,EAAA1oqB,KAAAiD,KAAAylqB","sources":["webpack://bevspot/webpack/runtime/chunk loaded","webpack://bevspot/webpack/runtime/create fake namespace object","webpack://bevspot/webpack/runtime/load script","webpack://bevspot/./node_modules/@aws-amplify/auth/lib-esm/types/Auth.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Util/Retry.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Hub.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/StorageHelper/index.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/JS.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/types.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/OAuthHelper/GoogleOAuth.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/OAuthHelper/FacebookOAuth.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/OAuthHelper/index.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/endpoints/partitions.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/endpoints/getDnsSuffix.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/middleware/retry/middleware.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/internal/composeTransferHandler.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/utils/memoization.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/handlers/fetch.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/handlers/unauthenticated.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/middleware/userAgent/middleware.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/serde/responseInfo.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/serde/json.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/middleware/retry/isClockSkewError.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/middleware/retry/defaultRetryDecider.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/middleware/retry/jitteredBackoff.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/version.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detectFramework.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/helpers.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/index.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/Expo.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/ReactNative.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/Next.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/Nuxt.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/Angular.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/React.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/Vue.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/Svelte.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/detection/Web.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Platform/index.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/AwsClients/CognitoIdentity/base.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/clients/internal/composeServiceApi.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/AwsClients/CognitoIdentity/getId.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/AwsClients/CognitoIdentity/getCredentialsForIdentity.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/parseAWSExports.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Credentials.js","webpack://bevspot/./node_modules/universal-cookie/esm/index.mjs","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/UniversalStorage/index.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/AuthenticationDetails.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/utils/WordArray.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/BigInteger.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/AuthenticationHelper.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CognitoJwtToken.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CognitoAccessToken.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CognitoIdToken.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CognitoRefreshToken.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/Platform/index.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CognitoUserSession.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/DateHelper.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CognitoUserAttribute.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/StorageHelper.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CognitoUser.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/UserAgent.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/Client.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CognitoUserPool.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/CookieStorage.js","webpack://bevspot/./node_modules/@aws-amplify/auth/lib-esm/OAuth/urlOpener.js","webpack://bevspot/./node_modules/@aws-amplify/auth/lib-esm/OAuth/OAuth.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/constants.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Util/StringUtils.js","webpack://bevspot/./node_modules/@aws-amplify/auth/lib-esm/OAuth/oauthStorage.js","webpack://bevspot/./node_modules/@aws-amplify/auth/lib-esm/urlListener.js","webpack://bevspot/./node_modules/@aws-amplify/auth/lib-esm/common/AuthErrorStrings.js","webpack://bevspot/./node_modules/@aws-amplify/auth/lib-esm/Errors.js","webpack://bevspot/./node_modules/@aws-amplify/auth/lib-esm/Auth.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/amazon-cognito-identity-js/es/Platform/constants.js","webpack://bevspot/./node_modules/@aws-amplify/auth/node_modules/buffer/index.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Amplify.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Util/Constants.js","webpack://bevspot/./node_modules/@aws-amplify/core/lib-esm/Logger/ConsoleLogger.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/build/RawSha256.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/build/constants.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/build/index.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/build/jsSha256.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/node_modules/@aws-crypto/util/build/convertToBuffer.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/node_modules/@aws-crypto/util/build/index.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/node_modules/@aws-crypto/util/build/isEmptyData.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/node_modules/@aws-crypto/util/build/numToUint8.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js","webpack://bevspot/./node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js","webpack://bevspot/./node_modules/@fullstory/snippet/dist/index.esm.js","webpack://bevspot/./node_modules/@fullstory/browser/dist/index.esm.js","webpack://bevspot/./node_modules/@reduxjs/toolkit/dist/query/rtk-query.esm.js","webpack://bevspot/./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js","webpack://bevspot/./node_modules/asap/browser-asap.js","webpack://bevspot/./node_modules/asap/browser-raw.js","webpack://bevspot/./target/gen-thrift/typescript/AdminSalesItemService.js","webpack://bevspot/./target/gen-thrift/typescript/BreakageReportService.js","webpack://bevspot/./target/gen-thrift/typescript/DistributorService.js","webpack://bevspot/./target/gen-thrift/typescript/DrinkPriceToolService.js","webpack://bevspot/./target/gen-thrift/typescript/IntegrationService.js","webpack://bevspot/./target/gen-thrift/typescript/InterLocationProductMappingService.js","webpack://bevspot/./target/gen-thrift/typescript/InventoryCountService.js","webpack://bevspot/./target/gen-thrift/typescript/InventoryCurrentConfigurationService.js","webpack://bevspot/./target/gen-thrift/typescript/InventoryTransferReportService.js","webpack://bevspot/./target/gen-thrift/typescript/MergeAccountingIntegrationService.js","webpack://bevspot/./target/gen-thrift/typescript/MergeIntegrationObjectMappingService.js","webpack://bevspot/./target/gen-thrift/typescript/PrepEventService.js","webpack://bevspot/./target/gen-thrift/typescript/ProductCostService.js","webpack://bevspot/./target/gen-thrift/typescript/ProductDistributorService.js","webpack://bevspot/./target/gen-thrift/typescript/ProductParService.js","webpack://bevspot/./target/gen-thrift/typescript/ProductService.js","webpack://bevspot/./target/gen-thrift/typescript/PublicContentViewEventService.js","webpack://bevspot/./target/gen-thrift/typescript/SalesItemService.js","webpack://bevspot/./target/gen-thrift/typescript/UnauthenticatedUserSessionService.js","webpack://bevspot/./target/gen-thrift/typescript/UserAccountService.js","webpack://bevspot/./target/gen-thrift/typescript/UserActionLogService.js","webpack://bevspot/./target/gen-thrift/typescript/UserEmailAddressVerificationService.js","webpack://bevspot/./target/gen-thrift/typescript/UserPasswordService.js","webpack://bevspot/./target/gen-thrift/typescript/UserSessionService.js","webpack://bevspot/./target/gen-thrift/typescript/accounts_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/accounts_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/accounts_user_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/accounts_user_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/cart_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/core_api_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/core_math_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/core_primitives_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/core_time_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/distributor_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/distributor_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/distributor_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/distributor_dependency_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/drink_price_tool_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/drink_price_tool_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/drink_price_tool_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/group_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/integration_Exception_types.js","webpack://bevspot/./target/gen-thrift/typescript/integration_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/integration_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/inventory_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/inventory_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/inventory_count_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/inventory_current_configuration_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/inventory_transfer_report_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/inventory_transfer_report_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/inventory_transfer_report_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/location_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/location_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/merge_accounting_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/merge_accounting_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/merge_accounting_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/merge_integration_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/merge_integration_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/merge_integration_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/money_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/order_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/prep_event_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/prep_event_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/prep_event_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_amount_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_amount_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_cost_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_cost_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_distributor_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_distributor_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_mapping_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_mapping_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_mapping_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/product_par_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/public_content_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/public_content_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/public_content_view_event_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/sales_item_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/sales_item_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/sales_item_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/sales_report_model_types.js","webpack://bevspot/./target/gen-thrift/typescript/unauthenticated_user_session_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/unauthenticated_user_session_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/unauthenticated_user_session_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/user_action_log_Exceptions_types.js","webpack://bevspot/./target/gen-thrift/typescript/user_action_log_Model_types.js","webpack://bevspot/./target/gen-thrift/typescript/user_action_log_Service_types.js","webpack://bevspot/./target/gen-thrift/typescript/user_info_Exceptions_types.js","webpack://bevspot/./src/main/web/typescript/api/Billing/impl/StripeCustomerServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/interfaces/IBillingAddOnService.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BankAccountId.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BevSpotSubscription.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BillingFrequency.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BillingPlanTier.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/CreditCard.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/CreditCardId.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/SubscriptionId.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/TermsConditionsAgreement.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BankAccount.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BillingCharge.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BillingInvoice.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BillingPlan.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BillingPlanId.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/InvoiceId.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/serializer/BillingDataSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Breakage/model/BreakageId.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/model/Cart.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/model/CartDistributorInfo.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/model/InventoryColumnOption.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/model/UsageColumnOption.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/utils/CartUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Core/OfflineQueueManager/model/OfflineQueueState.ts","webpack://bevspot/./src/main/web/typescript/api/Core/StringValueMap.ts","webpack://bevspot/./src/main/web/typescript/api/Core/StringValueSet.ts","webpack://bevspot/./node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.esm.js","webpack://bevspot/./src/main/web/typescript/api/Core/apiQueryBase.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/distributorReduxApis.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/Address.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/Distributor.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/DistributorAdjustment.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/DistributorAdjustmentId.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/DistributorId.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/DistributorNameCollisionException.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/DistributorRegionId.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/DistributorRep.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/DistributorRepId.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/ExtraDistributorProperties.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/PaymentTerm.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/serializer/DistributorObjectToJSONSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/utils/DistributorUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Establishment/model/EstablishmentId.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/IntegrationType.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/InventoryConfiguration.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/InventoryCount.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/InventoryCountId.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/InventoryCountMetadata.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/InventoryCountType.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/ProductCount.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/ProductCountEvent.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/StorageArea.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/StorageAreaId.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/utils/inventoryCountUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Location/model/AccountType.ts","webpack://bevspot/./src/main/web/typescript/api/Location/model/FreeTrialStatus.ts","webpack://bevspot/./src/main/web/typescript/api/Location/model/FreeTrialType.ts","webpack://bevspot/./src/main/web/typescript/api/Location/model/GroupId.ts","webpack://bevspot/./src/main/web/typescript/api/Location/model/LocationId.ts","webpack://bevspot/./src/main/web/typescript/api/Location/model/Scope.ts","webpack://bevspot/./src/main/web/typescript/api/Location/serializer/LocationJSONToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Messaging/model/UserActionLogCommentId.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/invoiceUploadReduxApis.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/Delivery.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/DeliveryId.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/DeliveryLineItem.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceProcessingData.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceProcessingResultAdjustment.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceProcessingResultLineItem.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceProcessingResultSource.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceProcessingResultTax.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceStatus.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceUpload.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceUploadId.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/OrderStatus.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/PriceAdjustment.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/orderingReduxApis.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/utils/DeliveryUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Permissions/model/GroupUserPermissionData.ts","webpack://bevspot/./src/main/web/typescript/api/Permissions/model/Permission.ts","webpack://bevspot/./src/main/web/typescript/api/PrepEvent/model/PrepEvent.ts","webpack://bevspot/./src/main/web/typescript/api/PrepEvent/model/PrepEventId.ts","webpack://bevspot/./src/main/web/typescript/api/PrepEvent/utils/prepEventUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/BaseUnit.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/Category.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/CategoryId.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/Conversions.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/Mappings.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/MassUnit.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/OldPackaging.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/Packaging.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/PackagingId.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/PackagingUnit.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/PackagingWeight.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/PackagingsAndMappings.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/Price.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/Product.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/ProductAmount.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/ProductCost.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/ProductDistributorAssociation.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/ProductDistributorAssociationIdentifier.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/ProductId.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/QuantityInUnit.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/VolumeUnit.ts","webpack://bevspot/./node_modules/uuid/dist/esm-browser/rng.js","webpack://bevspot/./node_modules/uuid/dist/esm-browser/regex.js","webpack://bevspot/./node_modules/uuid/dist/esm-browser/stringify.js","webpack://bevspot/./node_modules/uuid/dist/esm-browser/validate.js","webpack://bevspot/./node_modules/uuid/dist/esm-browser/v4.js","webpack://bevspot/./src/main/web/typescript/api/Product/utils/PackagingUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Product/utils/UnitUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Product/utils/categoryUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Product/utils/oldPackagingUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Product/utils/packagingWeightUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Product/utils/productCostUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Product/utils/productCountUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Product/utils/productUtils.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/model/PublicContentTypeEnum.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/model/PublicContentUrl.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/model/PublicContentViewEventTypeEnum.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/model/ItemLevelSalesReportConfiguration.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/model/ItemLevelSalesReportConfigurationId.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/model/SalesEntry.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/salesReportingUtils.ts","webpack://bevspot/./src/main/web/typescript/api/SalesData/model/PosItem.ts","webpack://bevspot/./src/main/web/typescript/api/SalesData/model/PosItemId.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/model/SalesItem.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/model/SalesItemId.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/model/SalesItemWithMetadata.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/model/SalesQuantityAndUnit.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/utils/SalesItemDisplayUtils.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/utils/SalesItemUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/model/InterLocationProductMapping.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/model/TransferDirection.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/model/TransferId.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/model/TransferReportData.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/utils/TransferUtils.tsx","webpack://bevspot/./src/main/web/typescript/api/UsageData/model/UsageCalculationParameters.ts","webpack://bevspot/./src/main/web/typescript/api/UsageData/model/UsageData.ts","webpack://bevspot/./src/main/web/typescript/api/UsageData/utils/usageDataUtils.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/exceptions/InvalidInviteException.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/UserAccountId.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/UserAccountIdAndTimestamp.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/UserEmailAddressVerificationCredential.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/UserPasswordSettingCredential.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/utils/UserAccountUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/BreakageReport/models/IRecordBreakageState.ts","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditPrepEvent/components/PrepEventInputsPopover.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditPrepEvent/utils/PrepEventDisplayUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditPrepEvent/utils/PrepEventsSortingUtil.ts","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/MapView/InformationFromPOS.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/MapView/MapViewSalesInformation.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/MapSalesItemView.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/actions/actions.ts","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/ApplyChangesDialog.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/ProductIngredientRow.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SalesItemInfoPopover/SalesItemInfoPopover.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/SalesItemIngredientRow.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/AddedIngredients.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/IngredientsSearchBar.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/SubRecipeInfo.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/IngredientInfo.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/SalesItemFlagAlert.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/SalesItemFlagSelector.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/components/UnsavedChangesDialog.tsx","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/reducers/reducers.ts","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/utils/CreateOrEditSalesItemFormUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/CreateOrEditSalesItem/utils/ProductAndSalesItemSearchBarSortingUtil.ts","webpack://bevspot/./src/main/web/typescript/apps/ExpectedInventoryReport/utils/ExpectedInventoryReportUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/utils/UnassignedItemsSortingUtil.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/actions/UnassignedItemsActions.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/components/AddToStorageAreasDropdown.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/components/ManageStorageAreasModal/ManageStorageAreaListItem.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/components/ManageStorageAreasModal/ManageStorageAreasModal.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/components/RemoveStorageAreaConfirmDialog.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/components/UnassignedItems/UnassignedItemRow.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/components/UnassignedItems/UnassignedItemsTableHeader.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/components/UnassignedItems/UnassignedItemsView.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/reducers/UnassignedItemsReducers.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/utils/StorageAreaSortingUtil.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/utils/Utils.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryCount/utils/constants.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/actions/unmatchedProductModalActions.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/DiscardProgressDialog.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/EmptyTransferListDialog.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/ItemInProgressDialog.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/SearchResultListRow.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/SearchResultListTable.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/SummaryItemsModal.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/TransferListPanel.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/TransferListPanelMobileHeader.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/TransferListPanelMobile.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/UnitQuantityWithEditableQuantity.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/TransferListRow.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/TransferListTable.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/UnmatchedProductPanel.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/UnmatchedProductMapper.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/components/UnmatchedProductModal.tsx","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/models/BevSpotLocation.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/models/InventoryReportType.ts","webpack://bevspot/./src/main/web/typescript/shared/models/OrderedItemList.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/models/OrderedProductAmountList.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/reducers/unmatchedProductModalReducers.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/utils/getInventoryTransferOrBreakageReportIdFromURL.ts","webpack://bevspot/./src/main/web/typescript/apps/InventoryTransfer/utils/transferReportProductDataUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHeader.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryCreation.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryMergeFrom.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryMergeTo.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/utils/ItemCardHistoryUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryBreakage.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryInventory.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryOrder.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryPrepEvent.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryPrice.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistoryTransfer.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ItemCardHistory.tsx","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/inventoryCountReduxApis.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/api/insightsApi.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/components/StatTile.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/utils/stockUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/hooks/useLogInsightsError.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/sections/InsightsSection.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/sections/StockSection.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/utils/salesItemUsageUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/sections/UsedInSection.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/insights/ItemCardInsights.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/PotentialDuplicateDialog.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ProductModificationConfirmationDialog.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ProductDistributorAssociationRow.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/ProductForm.tsx","webpack://bevspot/./src/main/web/typescript/api/Product/productMergeReduxApis.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/HistoricalMergeBanner.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/ItemCard.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/actions/ItemCardActions.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/components/PriceEstimates.tsx","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/constants.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/model/ProductDistributorAssociationFormId.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/reducers/ItemCardReducers.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/redux/redux-types.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemCard/utils/ProductFormUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/ItemManager/utils/duplicateDetectionUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/MergeItemCard/utils/MergeItemUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/SalesItemManager/utils/CachedSalesItemCostUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/SalesItemManager/utils/SalesItemManagerUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/SalesItemMapper/appTypes.ts","webpack://bevspot/./src/main/web/typescript/apps/SalesItemMapper/components/BulkActionsHeader.tsx","webpack://bevspot/./src/main/web/typescript/apps/SalesItemMapper/utils/SalesItemMapperUtils.ts","webpack://bevspot/./src/main/web/typescript/apps/UsageReport/utils/Utils.ts","webpack://bevspot/./src/main/web/typescript/apps/UserSessionApp/ContextTab.ts","webpack://bevspot/./src/main/web/typescript/shared/components/UserIcon.tsx","webpack://bevspot/./src/main/web/typescript/apps/UserSessionApp/UserButtonApp.tsx","webpack://bevspot/./src/main/web/typescript/apps/UserSessionApp/userSessionUtils.tsx","webpack://bevspot/./src/main/web/typescript/apps/UserSessionApp/actions.ts","webpack://bevspot/./src/main/web/typescript/apps/UserSessionApp/reducers.ts","webpack://bevspot/./src/main/web/typescript/apps/Vendors/models/FormFieldSpec.ts","webpack://bevspot/./src/main/web/typescript/apps/Vendors/appTypes.ts","webpack://bevspot/./src/main/web/typescript/shared/api/DjangoApiManager.ts","webpack://bevspot/./src/main/web/typescript/shared/apps/ErrorNotificationDialog/actions/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/apps/ErrorNotificationDialog/models/ErrorNotificationTypeEnum.ts","webpack://bevspot/./src/main/web/typescript/shared/apps/ErrorNotificationDialog/reducers/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/AddressForm/AddressForm.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/AddressForm/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/AddressForm/utils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/AlertBanner/AlertBanner.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/AutoCreatedIcon/AutoCreatedIcon.tsx","webpack://bevspot/./src/main/web/typescript/shared/models/MonthOfYear.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDatePicker/utils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDatePicker/BevSpotDatePickerCalendarInputRow.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDatePicker/BevSpotDatePickerCalendarInput.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDatePicker/BevSpotDatePickerMonthSelector.tsx","webpack://bevspot/./src/main/web/typescript/shared/models/CalendarDay.ts","webpack://bevspot/./src/main/web/typescript/shared/models/CalendarWeek.ts","webpack://bevspot/./src/main/web/typescript/shared/models/CalendarMonth.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDatePicker/BevSpotDatePicker.tsx","webpack://bevspot/./src/main/web/typescript/shared/models/PeriodOfDay.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotTimePicker/exceptions/InvalidHourException.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotTimePicker/exceptions/InvalidMinuteException.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotTimePicker/utils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotTimePicker/BevSpotTimePickerHourInput.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotTimePicker/BevSpotTimePickerMinuteInput.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotTimePicker/BevSpotTimePickerPeriodOfDaySelector.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotTimePicker/BevSpotTimePicker.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDateTimePicker/BevSpotDateTimePickerHeader.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDateTimePicker/BevSpotDateTimePicker.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDateTimePicker/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BevSpotDateTimePicker/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BreadcrumbIntegrationModal/BreadcrumbIntegrationModalActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BreadcrumbIntegrationModal/BreadcrumbIntegrationModelReducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Button.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Axes/AxisTick.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Axes/Axis.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Axes/XAxis.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Axes/YAxis.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Axes/constants.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Axes/utils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/GridLine.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Grid.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/LegendItem.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Legend.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/LineSegment.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/constants.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/Point.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/MultiplePoints.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/Line.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/MultipleLines.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/LineChartView.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/NullDataLineChart.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/AbstractLineChart.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/LineChart.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Line/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/MouseLine.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Shape.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Tooltip/TooltipItem.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/Tooltip/Tooltip.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/constants.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Charts/utils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/CheckBox.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ChipButtonGroup/ChipButtonGroup.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/CollapseAllButton.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/CollapseContainer.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ContextMenu.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/DataHistoryLimitReached/DataHistoryLimitReached.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/DateRangePicker/DateRangeDropdown.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/DateRangePicker/DateRangeDropdownUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/DateRangePicker/DateRangePicker.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/DeleteProductsConfirmationDialog.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Dialog.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Dropdown/DropdownMenu.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Dropdown/DropdownModalOption.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Dropdown/PermissionDropdown.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/EditDefaultPour/EditDefaultPourForm.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/EditDefaultPour/utils/defaultPourSizeSortingUtil.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/EditDefaultPour/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/EditDefaultPour/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Product/ParInput.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/EditParDialog/EditParDialog.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/EditParDialog/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/EditParDialog/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/ErrorDialog.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ExpandingNote.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/FileUpload/FileUpload.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/FileUpload/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/FileUpload/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/FlexLayout/Flex.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/FreeTrialStatusIndicator/FreeTrialStatusIndicator.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/GroupByDropdown.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/HubSpotChat/HubSpotChat.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/IngredientsBreakdownPopover/IngredientsBreakdownPopover.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/InlineEditWrapper/InlineEditWrapper.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/IntegrationStatusLabel.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/InventoryPeriodSelector/InventoryPeriodSelector.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/InventoryPeriodSelector/InventoryPeriodSelectorActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/InventoryPeriodSelector/InventoryPeriodSelectorReducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/LeftRightSwitch/LeftRightSwitch.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/LightTable/RowGroupHeader.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/LightTable/TableControls.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/LightspeedIntegration/LightspeedIntegrationBlockActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/LightspeedIntegration/LightspeedIntegrationBlockReducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/LoadingCover.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/MobileSearchBar/MobileSearchBar.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Modal.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ModalFlex/ModalFlex.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ModalWithHeaderAndFooter.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/OmittedItemsView/OmittedItemRow.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/OmittedItemsView/OmittedItemsSortingUtil.ts","webpack://bevspot/./src/main/web/typescript/shared/components/OmittedItemsView/OmittedItemsView.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/OutsideEventListenerContainer.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/PageHeader/PageHeader.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/PageTitle/PageTitle.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Pill/Pill.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Popover/DeliveriesAndTransfersAndPrepsPopover.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/PositionablePopup/PositionablePopup.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Popover/Popover.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/PopupDateTimePicker.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/CloverIntegrationRowActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/CloverIntegrationRowReducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/HeartlandIntegrationRowActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/IntegrationUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/BreadcrumbIntegrationModal/utils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/JonasIntegrationSlice.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/KSeriesIntegrationRowActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/KSeriesIntegrationRowReducers.ts","webpack://bevspot/./node_modules/pkce-challenge/dist/module.js","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/OAuthUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/OmnivoreIntegrationActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/OmnivoreIntegrationReducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/RSeriesIntegrationRowActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/SpotOnIntegrationRowActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/SquareIntegrationRowActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PosIntegration/SquareIntegrationRowReducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/PreventPageScrolling.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Product/BrandAndName.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Product/InfoPopover.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Product/Packaging.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Product/PackagingForm.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Product/PackagingFormUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/Product/ProductOptionRow.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ProductCostWarning/ProductCostWarningPopover.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ProductName/ProductName.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ProgressBar/ProgressBar.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ProgressBar/AutoSizingProgressBar.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Provider.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/QuickFilterChips/QuickFilterChips.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/RadioButton.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/RenderUtils/RenderOnlyFirstChild.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/RowOptimizationWrapper/HeightTransitionGroupAnimationDiv.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/RowOptimizationWrapper/RowOptimizationWrapper.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SalesInputTable/SalesInputRow.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SalesInputTable/SalesInputTableHeader.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SalesInputTable/SalesInputTable.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SearchBar/SearchBar.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SearchBar/SearchBarWithSuggestedOptions.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Select2Dropdown/GenericSelect2DropdownMenu.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Select2Dropdown/Select2DropdownOption.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/Select2Dropdown/Select2DropdownMenu.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SideNav/SideNav.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignInForm/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignUpForm/SignUpForm.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignUpForm/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignUpForm/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignInForm/SignInForm.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignUpOptions/SignUpOptions.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignUpOptions/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignInForm/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/SignUpOptions/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/ThanksForRegistering/ThanksForRegistering.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/ThanksForRegistering/actions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/ThanksForRegistering/reducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SignUpOrSignIn/utils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SlideInModal/SlideInModal.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SlimCreate/SlimCreate.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SlimCreate/ProductSlimCreateForm/ProductSlimCreateForm.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SlimCreate/ProductSlimCreateForm/ProductSlimCreateFormActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SlimCreate/ProductSlimCreateForm/ProductSlimCreateFormReducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/SnackBar.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/SortableColumnHeader.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/SvgPatternDefinitions.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/ChartLegend.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/StackedBarCategoryStack.tsx","webpack://bevspot/./src/main/web/typescript/shared/models/StackedBarChart/LinearScale.ts","webpack://bevspot/./src/main/web/typescript/shared/models/StackedBarChart/OrdinalBandScale.ts","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/utils.ts","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/HorizontalStackedBar.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/HorizontalBarChartGrid.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/PrintStyleYAxisHeader.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/XAxis.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/StackedBarChartTooltip.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/YAxisLabel.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/YAxisLabelContainer.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StackedBarGraph/HorizontalBarChart.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/StickyHeaderWrapper/StickyHeaderWrapper.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/TabButton/TabButton.tsx","webpack://bevspot/./src/main/web/typescript/shared/components/ToastIntegration/ToastIntegrationBlockActions.ts","webpack://bevspot/./src/main/web/typescript/shared/components/ToastIntegration/ToastIntegrationBlockReducers.ts","webpack://bevspot/./src/main/web/typescript/shared/components/ValidationInput.tsx","webpack://bevspot/./src/main/web/typescript/shared/constants.ts","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/display.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/catchUserErrors.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/monitor.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/globalObject.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/queueMicrotask.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/observable.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/trackingConsent.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/getZoneJsOriginalValue.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/timer.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/functionUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/typeUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/mockable.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/stackTrace/computeStackTrace.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/stackTrace/handlingStack.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/instrumentMethod.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/timeUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/byteUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/serialisation/jsonStringify.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/serialisation/sanitize.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/error/error.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/error/error.types.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/error/trackRuntimeError.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/objectUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/experimentalFeatures.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/tags.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/intakeSites.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/sendToExtension.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/numberUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/mergeInto.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/connectivity/connectivity.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/transport/eventBridge.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/polyfills.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/browser/addEventListener.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/browser/pageMayExitObservable.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/transport/batch.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/responseUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/transport/sendWithRetryStrategy.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/transport/httpRequest.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/browser/fetch.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/transport/flushController.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/encoder.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/abstractHooks.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/telemetry/rawTelemetryEvent.types.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/telemetry/telemetry.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/context/defineContextMethod.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/context/contextConstants.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/boot/displayAlreadyInitializedError.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/context/contextManager.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/context/contextUtils.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/logger/isAuthorized.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/createErrorFieldFromRawError.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/logger.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/contexts/commonContext.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/stringUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/urlPolyfill.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/browser/cookie.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/synthetics/syntheticsWorkerValues.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/context/storeContextManager.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/contexts/accountContext.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/contexts/userContext.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/contexts/globalContext.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/arrayUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/valueHistory.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/sessionConstants.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/utils/browserDetection.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/storeStrategies/sessionStoreStrategy.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/sessionStateValidation.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/sessionState.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/storeStrategies/sessionInCookie.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/storeStrategies/sessionInLocalStorage.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/sessionStoreOperations.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/storeStrategies/sessionInMemory.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/sessionStore.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/oldCookiesMigration.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/session/sessionManager.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/logsSessionManager.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/assembly.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/eventRateLimiter/createEventRateLimiter.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/console/consoleObservable.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/console/consoleCollection.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/report/reportObservable.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/browser/xhrObservable.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/resourceUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/browser/fetchObservable.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/readBytesFromStream.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/configuration/endpointBuilder.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/configuration/transportConfiguration.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/networkError/networkErrorCollection.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/lifeCycle.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/abstractLifeCycle.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/logger/loggerCollection.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/boot/startLogs.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/reportError.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/contexts/trackingConsentContext.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/contexts/sessionContext.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/contexts/rumInternalContext.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/runtimeError/runtimeErrorCollection.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/report/reportCollection.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/transport/startLogsBridge.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/transport/startLogsBatch.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/contexts/internalContext.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/hooks.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/extension/extensionUtils.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/configuration/configuration.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/allowedTrackingOrigins.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/matchOption.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/domain/configuration.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/boot/preStartLogs.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/tools/boundedBuffer.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/entries/main.js","webpack://bevspot/./node_modules/@datadog/browser-logs/esm/boot/logsPublicApi.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/domain/bufferedData.js","webpack://bevspot/./node_modules/@datadog/browser-core/esm/boot/init.js","webpack://bevspot/./src/main/web/typescript/shared/global/datadogLogger.ts","webpack://bevspot/./node_modules/whatwg-fetch/fetch.js","webpack://bevspot/./src/main/web/typescript/shared/global/refreshJWT.ts","webpack://bevspot/./src/main/web/typescript/shared/hooks/useAnchorMeasurement.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/account/exceptions/AccountSessionNotFoundException.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/cookie/exceptions/InvalidCookieNameException.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/cookie/exceptions/UnknownCookieException.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/cookie/impl/CookieManagerImpl.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/general/exceptions/RuntimeException.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/FintechIntegrationState.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/FintechLocationId.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/FtpCredentials.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/StediIntegrationId.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/StediIntegrationState.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/StediLocationReference.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/BottleBreakdown.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/model/ExpectedInventory.ts","webpack://bevspot/./src/main/web/typescript/shared/components/IncidentBanner/model/IncidentBannerData.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/model/BillingRetailer.ts","webpack://bevspot/./src/main/web/typescript/api/Breakage/model/BreakageReport.ts","webpack://bevspot/./src/main/web/typescript/api/Breakage/model/BreakageReportData.ts","webpack://bevspot/./src/main/web/typescript/api/Breakage/model/ReportMetadata.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/model/CartItem.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/model/CartItemId.ts","webpack://bevspot/./src/main/web/typescript/api/Core/OfflineQueueManager/impl/OfflineQueueManagerImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/RetailerDistributorRelationship.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/impl/DistributorService.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/model/DistributorDependentObjectSet.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/IntegrationState.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/OmnivoreIntegrationState.ts","webpack://bevspot/./src/main/web/typescript/api/ApiUtils.ts","webpack://bevspot/./src/main/web/typescript/api/Location/serializer/LocationObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/ProductMatch.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/LineItemMatch.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/DeliveryMetadata.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/DeliveryRepInfo.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/InvoiceProcessingResult.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/NormalizedLineItem.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/NormalizedPackaging.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/model/ValidationResult.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/Invite.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/GroupInvite.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/InviteId.ts","webpack://bevspot/./src/main/web/typescript/api/Permissions/model/GroupPermissionData.ts","webpack://bevspot/./src/main/web/typescript/api/StringValueReponseCache.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/ProductMergeEvent.ts","webpack://bevspot/./src/main/web/typescript/api/Product/model/ProductCostSettingEvent.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/model/PublicContent.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/model/PublicContentAndPublicContentViewEvent.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/model/PublicContentViewEvent.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/model/UserPublicContent.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/model/CategoryLevelSalesReportConfiguration.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/model/CategoryLevelSalesReportConfigurationId.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/model/ReportMetadata.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/model/TransferReport.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/model/TransferReportWithoutCost.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/InviteInfo.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/model/UserSessionId.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/ToastIntegrationState.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/model/PlateIQIntegrationState.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/serializer/IntegrationJSONToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/unauthenticated_user_session/exceptions/UnauthenticatedUserSessionNotFoundException.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/user_info/impl/UserInfoManagerImpl.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/manager.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/url/impl/QueryStringManagerImpl.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/unauthenticated_user_session/impl/UnauthenticatedUserSessionManagerImpl.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/serializer/UserAccountObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/serializer/UserAccountThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Location/serializer/ScopeObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Location/serializer/ScopeThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/serializer/DistributorObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Location/serializer/LocationThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Product/serializer/ProductThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Product/serializer/ProductObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/serializer/DistributorThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Core/serializer/MomentObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/account/impl/UserSessionManagerImpl.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/account/impl/UserPasswordManagerImpl.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/account/impl/UserEmailAddressVerifierImpl.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/account/impl/UserAccountManagerImpl.ts","webpack://bevspot/./src/main/web/typescript/apps/DrinkPriceTool/api/DrinkPriceToolManager.ts","webpack://bevspot/./src/main/web/typescript/api/Distributor/impl/DistributorNameMappingServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/impl/AdjustmentNameMappingServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/impl/AdjustmentToLineItemMappingServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/impl/LineItemToAdjustmentMappingServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/impl/TaxToAdjustmentMappingServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Product/impl/ProductDistributorServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Product/serializer/ProductDistributorAssociationObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Product/serializer/ProductDistributorAssociationThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Product/impl/CachedProductDistributorAssociationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Product/impl/ProductDistributorAssociationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/serializer/PublicContentObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/serializer/PublicContentThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/PublicContent/impl/PublicContentViewEventServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/serializer/InviteInfoJSONToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/impl/UserInviteServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/UsageData/serializer/UsageDataSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/serializer/InventoryCountObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/serializer/InventoryCountThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/impl/InventoryCountServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/impl/CurrentInventoryConfigurationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Product/serializer/ProductJSONToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Product/serializer/ProductObjectToJSONSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Product/impl/CachedProductServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Product/impl/ProductServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Product/impl/CategoryServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Onboarding/impl/InventorySheetsServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Location/impl/LocationProductServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Location/impl/LocationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Onboarding/serializer/ProductUploadJSONToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Onboarding/impl/ProductUploadServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Product/impl/ProductCostServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/ProductPar/impl/ProductParServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Product/impl/ProductMergeServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/UsageData/impl/UsageDataServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/serializer/CartJSONToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/serializer/CartObjectToJSONSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Cart/impl/CartServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/serializer/OrderingJSONToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/serializer/OrderingObjectToJSONSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/impl/OrderingServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Ordering/impl/InvoiceUploadServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/serializer/TransferObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/serializer/TransferObjectToJSONSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/serializer/TransferThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/impl/TransferServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/serializer/ProductMappingObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/serializer/ProductMappingThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Transfer/impl/ProductMappingServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Breakage/serializer/BreakageObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Breakage/serializer/BreakageThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Breakage/impl/BreakageServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/impl/InventoryCountViewPreferencesServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/serializer/ItemLevelSalesReportConfigurationSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/impl/ItemLevelSalesReportConfigurationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/serializer/CategoryLevelSalesReportConfigurationSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/impl/CategoryLevelSalesReportConfigurationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/UserAccount/impl/UserAccountInfoServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Admin/impl/AdminServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/impl/ToastIntegrationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/shared/components/IncidentBanner/impl/IncidentBannerServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/impl/PlateIQIntegrationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/impl/POSIntegrationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Integration/impl/VendorIntegrationServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Location/impl/GettingStartedGuideService.ts","webpack://bevspot/./src/main/web/typescript/api/Location/serializer/WelcomeQuestionnaireResponseObjectToJsonSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/PrepEvent/serializer/PrepEventObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/PrepEvent/serializer/PrepEventThriftToObjectSerilaizer.ts","webpack://bevspot/./src/main/web/typescript/api/PrepEvent/impl/PrepEventServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/impl/BillingAddOnServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/impl/TermsConditionsAgreementServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Billing/impl/BillingRetailerService.ts","webpack://bevspot/./src/main/web/typescript/api/PresentationCache/impl/PresentationCacheDataService.ts","webpack://bevspot/./src/main/web/typescript/api/Messaging/impl/UserActionLogCommentService.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/serializer/SalesItemThriftToObjectSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/serializer/SalesItemObjectToThriftSerializer.ts","webpack://bevspot/./src/main/web/typescript/api/SalesItem/impl/SalesItemServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Location/impl/LocationSettingsServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/SalesData/impl/SalesImportServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Reports/impl/PmixUploadServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/SalesData/impl/SalesSettingsServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/impl/ExpectedInventoryServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/InventoryCount/serializer/ExpectedInventoryDeserializer.ts","webpack://bevspot/./src/main/web/typescript/api/Establishment/impl/EstablishmentServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/api/Permissions/impl/GroupPermissionsServiceImpl.ts","webpack://bevspot/./src/main/web/typescript/shared/lib/url/exceptions/QueryStringNameNotFoundException.ts","webpack://bevspot/./src/main/web/typescript/shared/models/Charts/Axes/AxisPosition.ts","webpack://bevspot/./src/main/web/typescript/shared/models/Charts/Axes/DataAxisType.ts","webpack://bevspot/./src/main/web/typescript/shared/models/Charts/GridLineType.ts","webpack://bevspot/./src/main/web/typescript/shared/models/Charts/Orientation.ts","webpack://bevspot/./src/main/web/typescript/shared/models/Charts/Shape.ts","webpack://bevspot/./src/main/web/typescript/shared/models/CheckBoxTriState.ts","webpack://bevspot/./src/main/web/typescript/shared/models/CountryList.ts","webpack://bevspot/./src/main/web/typescript/shared/models/Currency.ts","webpack://bevspot/./src/main/web/typescript/shared/models/DateTime.ts","webpack://bevspot/./src/main/web/typescript/shared/models/DayOfWeekName.ts","webpack://bevspot/./src/main/web/typescript/shared/models/EmailSubscription.ts","webpack://bevspot/./src/main/web/typescript/shared/models/GroupByOption.ts","webpack://bevspot/./src/main/web/typescript/shared/models/HexColor.ts","webpack://bevspot/./src/main/web/typescript/shared/models/IAction.ts","webpack://bevspot/./src/main/web/typescript/shared/models/InputLabel.ts","webpack://bevspot/./src/main/web/typescript/shared/models/Integer.ts","webpack://bevspot/./src/main/web/typescript/shared/models/IntegrationStatus.ts","webpack://bevspot/./src/main/web/typescript/shared/models/MomentTimezoneModels.ts","webpack://bevspot/./src/main/web/typescript/shared/models/SortDirection.ts","webpack://bevspot/./src/main/web/typescript/shared/models/StackedBarChart/SvgPattern.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/FormatMonetaryValue.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/ajaxUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/appUrls.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/dataHistoryLimitUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/dateTimeUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/decimalUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/emailSubscriptionUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/exportUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/fileReaderUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/hubspotChatUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/matchingUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/numberUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/observer.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/pathUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/productSortingFilteringAndGroupingUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/reduxUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/salesItemFlagUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/salesItemSortingFilteringAndGroupingUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/sortingFilteringAndGroupingUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/stringUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/timestampSortingFilteringAndGroupingUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/utils/urlStringUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/validators/InputValidators.ts","webpack://bevspot/./src/main/web/typescript/shared/validators/validationUtils.ts","webpack://bevspot/./src/main/web/typescript/shared/validators/validators.ts","webpack://bevspot/./node_modules/base64-js/index.js","webpack://bevspot/./node_modules/body-scroll-lock/lib/bodyScrollLock.min.js","webpack://bevspot/./node_modules/browser-or-node/lib/index.js","webpack://bevspot/./node_modules/buffer/index.js","webpack://bevspot/./node_modules/core-js/modules/_a-function.js","webpack://bevspot/./node_modules/core-js/modules/_add-to-unscopables.js","webpack://bevspot/./node_modules/core-js/modules/_an-object.js","webpack://bevspot/./node_modules/core-js/modules/_array-includes.js","webpack://bevspot/./node_modules/core-js/modules/_cof.js","webpack://bevspot/./node_modules/core-js/modules/_core.js","webpack://bevspot/./node_modules/core-js/modules/_ctx.js","webpack://bevspot/./node_modules/core-js/modules/_defined.js","webpack://bevspot/./node_modules/core-js/modules/_descriptors.js","webpack://bevspot/./node_modules/core-js/modules/_dom-create.js","webpack://bevspot/./node_modules/core-js/modules/_enum-bug-keys.js","webpack://bevspot/./node_modules/core-js/modules/_export.js","webpack://bevspot/./node_modules/core-js/modules/_fails.js","webpack://bevspot/./node_modules/core-js/modules/_function-to-string.js","webpack://bevspot/./node_modules/core-js/modules/_global.js","webpack://bevspot/./node_modules/core-js/modules/_has.js","webpack://bevspot/./node_modules/core-js/modules/_hide.js","webpack://bevspot/./node_modules/core-js/modules/_html.js","webpack://bevspot/./node_modules/core-js/modules/_ie8-dom-define.js","webpack://bevspot/./node_modules/core-js/modules/_iobject.js","webpack://bevspot/./node_modules/core-js/modules/_is-object.js","webpack://bevspot/./node_modules/core-js/modules/_iter-create.js","webpack://bevspot/./node_modules/core-js/modules/_iter-define.js","webpack://bevspot/./node_modules/core-js/modules/_iter-step.js","webpack://bevspot/./node_modules/core-js/modules/_iterators.js","webpack://bevspot/./node_modules/core-js/modules/_library.js","webpack://bevspot/./node_modules/core-js/modules/_object-create.js","webpack://bevspot/./node_modules/core-js/modules/_object-dp.js","webpack://bevspot/./node_modules/core-js/modules/_object-dps.js","webpack://bevspot/./node_modules/core-js/modules/_object-gpo.js","webpack://bevspot/./node_modules/core-js/modules/_object-keys-internal.js","webpack://bevspot/./node_modules/core-js/modules/_object-keys.js","webpack://bevspot/./node_modules/core-js/modules/_property-desc.js","webpack://bevspot/./node_modules/core-js/modules/_redefine.js","webpack://bevspot/./node_modules/core-js/modules/_set-to-string-tag.js","webpack://bevspot/./node_modules/core-js/modules/_shared-key.js","webpack://bevspot/./node_modules/core-js/modules/_shared.js","webpack://bevspot/./node_modules/core-js/modules/_to-absolute-index.js","webpack://bevspot/./node_modules/core-js/modules/_to-integer.js","webpack://bevspot/./node_modules/core-js/modules/_to-iobject.js","webpack://bevspot/./node_modules/core-js/modules/_to-length.js","webpack://bevspot/./node_modules/core-js/modules/_to-object.js","webpack://bevspot/./node_modules/core-js/modules/_to-primitive.js","webpack://bevspot/./node_modules/core-js/modules/_uid.js","webpack://bevspot/./node_modules/core-js/modules/_wks.js","webpack://bevspot/./node_modules/core-js/modules/es6.array.iterator.js","webpack://bevspot/./node_modules/core-js/modules/web.dom.iterable.js","webpack://bevspot/./node_modules/css-mediaquery/index.js","webpack://bevspot/./node_modules/d3/build/d3.js","webpack://bevspot/./node_modules/dnd-core/lib/DragDropManagerImpl.js","webpack://bevspot/./node_modules/dnd-core/lib/DragDropMonitorImpl.js","webpack://bevspot/./node_modules/dnd-core/lib/HandlerRegistryImpl.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/dragDrop/beginDrag.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/dragDrop/drop.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/dragDrop/endDrag.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/dragDrop/hover.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/dragDrop/index.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/dragDrop/initCoords.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/dragDrop/publishDragSource.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/dragDrop/types.js","webpack://bevspot/./node_modules/dnd-core/lib/actions/registry.js","webpack://bevspot/./node_modules/dnd-core/lib/contracts.js","webpack://bevspot/./node_modules/dnd-core/lib/factories.js","webpack://bevspot/./node_modules/dnd-core/lib/index.js","webpack://bevspot/./node_modules/dnd-core/lib/interfaces.js","webpack://bevspot/./node_modules/dnd-core/lib/reducers/dirtyHandlerIds.js","webpack://bevspot/./node_modules/dnd-core/lib/reducers/dragOffset.js","webpack://bevspot/./node_modules/dnd-core/lib/reducers/dragOperation.js","webpack://bevspot/./node_modules/dnd-core/lib/reducers/index.js","webpack://bevspot/./node_modules/dnd-core/lib/reducers/refCount.js","webpack://bevspot/./node_modules/dnd-core/lib/reducers/stateId.js","webpack://bevspot/./node_modules/dnd-core/lib/utils/coords.js","webpack://bevspot/./node_modules/dnd-core/lib/utils/dirtiness.js","webpack://bevspot/./node_modules/dnd-core/lib/utils/equality.js","webpack://bevspot/./node_modules/dnd-core/lib/utils/getNextUniqueId.js","webpack://bevspot/./node_modules/dnd-core/lib/utils/matchesType.js","webpack://bevspot/./node_modules/dnd-multi-backend/lib/MultiBackend.js","webpack://bevspot/./node_modules/dnd-multi-backend/lib/Transitions.js","webpack://bevspot/./node_modules/dnd-multi-backend/lib/createTransition.js","webpack://bevspot/./node_modules/dnd-multi-backend/lib/index.js","webpack://bevspot/./node_modules/dnd-multi-backend/lib/objectAssign.js","webpack://bevspot/./node_modules/events/events.js","webpack://bevspot/./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://bevspot/./node_modules/ieee754/index.js","webpack://bevspot/./node_modules/invariant/browser.js","webpack://bevspot/./node_modules/isarray/index.js","webpack://bevspot/./node_modules/isomorphic-unfetch/browser.js","webpack://bevspot/./node_modules/isomorphic-ws/browser.js","webpack://bevspot/./node_modules/jaro-winkler/index.js","webpack://bevspot/./node_modules/js-cookie/src/js.cookie.js","webpack://bevspot/./node_modules/jwt-decode/lib/atob.js","webpack://bevspot/./node_modules/jwt-decode/lib/base64_url_decode.js","webpack://bevspot/./node_modules/jwt-decode/lib/index.js","webpack://bevspot/./node_modules/lodash/_DataView.js","webpack://bevspot/./node_modules/lodash/_Hash.js","webpack://bevspot/./node_modules/lodash/_ListCache.js","webpack://bevspot/./node_modules/lodash/_Map.js","webpack://bevspot/./node_modules/lodash/_MapCache.js","webpack://bevspot/./node_modules/lodash/_Promise.js","webpack://bevspot/./node_modules/lodash/_Set.js","webpack://bevspot/./node_modules/lodash/_SetCache.js","webpack://bevspot/./node_modules/lodash/_Stack.js","webpack://bevspot/./node_modules/lodash/_Symbol.js","webpack://bevspot/./node_modules/lodash/_Uint8Array.js","webpack://bevspot/./node_modules/lodash/_WeakMap.js","webpack://bevspot/./node_modules/lodash/_apply.js","webpack://bevspot/./node_modules/lodash/_arrayEach.js","webpack://bevspot/./node_modules/lodash/_arrayFilter.js","webpack://bevspot/./node_modules/lodash/_arrayIncludes.js","webpack://bevspot/./node_modules/lodash/_arrayIncludesWith.js","webpack://bevspot/./node_modules/lodash/_arrayLikeKeys.js","webpack://bevspot/./node_modules/lodash/_arrayMap.js","webpack://bevspot/./node_modules/lodash/_arrayPush.js","webpack://bevspot/./node_modules/lodash/_assignMergeValue.js","webpack://bevspot/./node_modules/lodash/_assignValue.js","webpack://bevspot/./node_modules/lodash/_assocIndexOf.js","webpack://bevspot/./node_modules/lodash/_baseAssign.js","webpack://bevspot/./node_modules/lodash/_baseAssignIn.js","webpack://bevspot/./node_modules/lodash/_baseAssignValue.js","webpack://bevspot/./node_modules/lodash/_baseClone.js","webpack://bevspot/./node_modules/lodash/_baseCreate.js","webpack://bevspot/./node_modules/lodash/_baseDifference.js","webpack://bevspot/./node_modules/lodash/_baseFindIndex.js","webpack://bevspot/./node_modules/lodash/_baseFlatten.js","webpack://bevspot/./node_modules/lodash/_baseFor.js","webpack://bevspot/./node_modules/lodash/_baseGet.js","webpack://bevspot/./node_modules/lodash/_baseGetAllKeys.js","webpack://bevspot/./node_modules/lodash/_baseGetTag.js","webpack://bevspot/./node_modules/lodash/_baseIndexOf.js","webpack://bevspot/./node_modules/lodash/_baseIntersection.js","webpack://bevspot/./node_modules/lodash/_baseIsArguments.js","webpack://bevspot/./node_modules/lodash/_baseIsMap.js","webpack://bevspot/./node_modules/lodash/_baseIsNaN.js","webpack://bevspot/./node_modules/lodash/_baseIsNative.js","webpack://bevspot/./node_modules/lodash/_baseIsSet.js","webpack://bevspot/./node_modules/lodash/_baseIsTypedArray.js","webpack://bevspot/./node_modules/lodash/_baseKeys.js","webpack://bevspot/./node_modules/lodash/_baseKeysIn.js","webpack://bevspot/./node_modules/lodash/_baseMerge.js","webpack://bevspot/./node_modules/lodash/_baseMergeDeep.js","webpack://bevspot/./node_modules/lodash/_baseRest.js","webpack://bevspot/./node_modules/lodash/_baseSetToString.js","webpack://bevspot/./node_modules/lodash/_baseTimes.js","webpack://bevspot/./node_modules/lodash/_baseToString.js","webpack://bevspot/./node_modules/lodash/_baseTrim.js","webpack://bevspot/./node_modules/lodash/_baseUnary.js","webpack://bevspot/./node_modules/lodash/_baseUniq.js","webpack://bevspot/./node_modules/lodash/_baseXor.js","webpack://bevspot/./node_modules/lodash/_cacheHas.js","webpack://bevspot/./node_modules/lodash/_castArrayLikeObject.js","webpack://bevspot/./node_modules/lodash/_castPath.js","webpack://bevspot/./node_modules/lodash/_cloneArrayBuffer.js","webpack://bevspot/./node_modules/lodash/_cloneBuffer.js","webpack://bevspot/./node_modules/lodash/_cloneDataView.js","webpack://bevspot/./node_modules/lodash/_cloneRegExp.js","webpack://bevspot/./node_modules/lodash/_cloneSymbol.js","webpack://bevspot/./node_modules/lodash/_cloneTypedArray.js","webpack://bevspot/./node_modules/lodash/_copyArray.js","webpack://bevspot/./node_modules/lodash/_copyObject.js","webpack://bevspot/./node_modules/lodash/_copySymbols.js","webpack://bevspot/./node_modules/lodash/_copySymbolsIn.js","webpack://bevspot/./node_modules/lodash/_coreJsData.js","webpack://bevspot/./node_modules/lodash/_createAssigner.js","webpack://bevspot/./node_modules/lodash/_createBaseFor.js","webpack://bevspot/./node_modules/lodash/_createSet.js","webpack://bevspot/./node_modules/lodash/_defineProperty.js","webpack://bevspot/./node_modules/lodash/_freeGlobal.js","webpack://bevspot/./node_modules/lodash/_getAllKeys.js","webpack://bevspot/./node_modules/lodash/_getAllKeysIn.js","webpack://bevspot/./node_modules/lodash/_getMapData.js","webpack://bevspot/./node_modules/lodash/_getNative.js","webpack://bevspot/./node_modules/lodash/_getPrototype.js","webpack://bevspot/./node_modules/lodash/_getRawTag.js","webpack://bevspot/./node_modules/lodash/_getSymbols.js","webpack://bevspot/./node_modules/lodash/_getSymbolsIn.js","webpack://bevspot/./node_modules/lodash/_getTag.js","webpack://bevspot/./node_modules/lodash/_getValue.js","webpack://bevspot/./node_modules/lodash/_hashClear.js","webpack://bevspot/./node_modules/lodash/_hashDelete.js","webpack://bevspot/./node_modules/lodash/_hashGet.js","webpack://bevspot/./node_modules/lodash/_hashHas.js","webpack://bevspot/./node_modules/lodash/_hashSet.js","webpack://bevspot/./node_modules/lodash/_initCloneArray.js","webpack://bevspot/./node_modules/lodash/_initCloneByTag.js","webpack://bevspot/./node_modules/lodash/_initCloneObject.js","webpack://bevspot/./node_modules/lodash/_isFlattenable.js","webpack://bevspot/./node_modules/lodash/_isIndex.js","webpack://bevspot/./node_modules/lodash/_isIterateeCall.js","webpack://bevspot/./node_modules/lodash/_isKey.js","webpack://bevspot/./node_modules/lodash/_isKeyable.js","webpack://bevspot/./node_modules/lodash/_isMasked.js","webpack://bevspot/./node_modules/lodash/_isPrototype.js","webpack://bevspot/./node_modules/lodash/_listCacheClear.js","webpack://bevspot/./node_modules/lodash/_listCacheDelete.js","webpack://bevspot/./node_modules/lodash/_listCacheGet.js","webpack://bevspot/./node_modules/lodash/_listCacheHas.js","webpack://bevspot/./node_modules/lodash/_listCacheSet.js","webpack://bevspot/./node_modules/lodash/_mapCacheClear.js","webpack://bevspot/./node_modules/lodash/_mapCacheDelete.js","webpack://bevspot/./node_modules/lodash/_mapCacheGet.js","webpack://bevspot/./node_modules/lodash/_mapCacheHas.js","webpack://bevspot/./node_modules/lodash/_mapCacheSet.js","webpack://bevspot/./node_modules/lodash/_memoizeCapped.js","webpack://bevspot/./node_modules/lodash/_nativeCreate.js","webpack://bevspot/./node_modules/lodash/_nativeKeys.js","webpack://bevspot/./node_modules/lodash/_nativeKeysIn.js","webpack://bevspot/./node_modules/lodash/_nodeUtil.js","webpack://bevspot/./node_modules/lodash/_objectToString.js","webpack://bevspot/./node_modules/lodash/_overArg.js","webpack://bevspot/./node_modules/lodash/_overRest.js","webpack://bevspot/./node_modules/lodash/_root.js","webpack://bevspot/./node_modules/lodash/_safeGet.js","webpack://bevspot/./node_modules/lodash/_setCacheAdd.js","webpack://bevspot/./node_modules/lodash/_setCacheHas.js","webpack://bevspot/./node_modules/lodash/_setToArray.js","webpack://bevspot/./node_modules/lodash/_setToString.js","webpack://bevspot/./node_modules/lodash/_shortOut.js","webpack://bevspot/./node_modules/lodash/_stackClear.js","webpack://bevspot/./node_modules/lodash/_stackDelete.js","webpack://bevspot/./node_modules/lodash/_stackGet.js","webpack://bevspot/./node_modules/lodash/_stackHas.js","webpack://bevspot/./node_modules/lodash/_stackSet.js","webpack://bevspot/./node_modules/lodash/_strictIndexOf.js","webpack://bevspot/./node_modules/lodash/_stringToPath.js","webpack://bevspot/./node_modules/lodash/_toKey.js","webpack://bevspot/./node_modules/lodash/_toSource.js","webpack://bevspot/./node_modules/lodash/_trimmedEndIndex.js","webpack://bevspot/./node_modules/lodash/cloneDeep.js","webpack://bevspot/./node_modules/lodash/constant.js","webpack://bevspot/./node_modules/lodash/debounce.js","webpack://bevspot/./node_modules/lodash/defaults.js","webpack://bevspot/./node_modules/lodash/eq.js","webpack://bevspot/./node_modules/lodash/get.js","webpack://bevspot/./node_modules/lodash/identity.js","webpack://bevspot/./node_modules/lodash/intersection.js","webpack://bevspot/./node_modules/lodash/isArguments.js","webpack://bevspot/./node_modules/lodash/isArray.js","webpack://bevspot/./node_modules/lodash/isArrayLike.js","webpack://bevspot/./node_modules/lodash/isArrayLikeObject.js","webpack://bevspot/./node_modules/lodash/isBuffer.js","webpack://bevspot/./node_modules/lodash/isFunction.js","webpack://bevspot/./node_modules/lodash/isLength.js","webpack://bevspot/./node_modules/lodash/isMap.js","webpack://bevspot/./node_modules/lodash/isObject.js","webpack://bevspot/./node_modules/lodash/isObjectLike.js","webpack://bevspot/./node_modules/lodash/isPlainObject.js","webpack://bevspot/./node_modules/lodash/isSet.js","webpack://bevspot/./node_modules/lodash/isSymbol.js","webpack://bevspot/./node_modules/lodash/isTypedArray.js","webpack://bevspot/./node_modules/lodash/keys.js","webpack://bevspot/./node_modules/lodash/keysIn.js","webpack://bevspot/./node_modules/lodash/memoize.js","webpack://bevspot/./node_modules/lodash/merge.js","webpack://bevspot/./node_modules/lodash/noop.js","webpack://bevspot/./node_modules/lodash/now.js","webpack://bevspot/./node_modules/lodash/stubArray.js","webpack://bevspot/./node_modules/lodash/stubFalse.js","webpack://bevspot/./node_modules/lodash/throttle.js","webpack://bevspot/./node_modules/lodash/toNumber.js","webpack://bevspot/./node_modules/lodash/toPlainObject.js","webpack://bevspot/./node_modules/lodash/toString.js","webpack://bevspot/./node_modules/lodash/union.js","webpack://bevspot/./node_modules/lodash/without.js","webpack://bevspot/./node_modules/lodash/xor.js","webpack://bevspot/./node_modules/matchmediaquery/index.js","webpack://bevspot/./node_modules/moment-timezone/builds/moment-timezone-with-data-10-year-range.min.js","webpack://bevspot/./node_modules/moment/locale/af.js","webpack://bevspot/./node_modules/moment/locale/am-et.js","webpack://bevspot/./node_modules/moment/locale/ar-dz.js","webpack://bevspot/./node_modules/moment/locale/ar-kw.js","webpack://bevspot/./node_modules/moment/locale/ar-ly.js","webpack://bevspot/./node_modules/moment/locale/ar-ma.js","webpack://bevspot/./node_modules/moment/locale/ar-ps.js","webpack://bevspot/./node_modules/moment/locale/ar-sa.js","webpack://bevspot/./node_modules/moment/locale/ar-tn.js","webpack://bevspot/./node_modules/moment/locale/ar.js","webpack://bevspot/./node_modules/moment/locale/az.js","webpack://bevspot/./node_modules/moment/locale/be.js","webpack://bevspot/./node_modules/moment/locale/bg.js","webpack://bevspot/./node_modules/moment/locale/bm.js","webpack://bevspot/./node_modules/moment/locale/bn-bd.js","webpack://bevspot/./node_modules/moment/locale/bn.js","webpack://bevspot/./node_modules/moment/locale/bo.js","webpack://bevspot/./node_modules/moment/locale/br.js","webpack://bevspot/./node_modules/moment/locale/bs.js","webpack://bevspot/./node_modules/moment/locale/ca.js","webpack://bevspot/./node_modules/moment/locale/cs.js","webpack://bevspot/./node_modules/moment/locale/cv.js","webpack://bevspot/./node_modules/moment/locale/cy.js","webpack://bevspot/./node_modules/moment/locale/da.js","webpack://bevspot/./node_modules/moment/locale/de-at.js","webpack://bevspot/./node_modules/moment/locale/de-ch.js","webpack://bevspot/./node_modules/moment/locale/de.js","webpack://bevspot/./node_modules/moment/locale/dv.js","webpack://bevspot/./node_modules/moment/locale/el.js","webpack://bevspot/./node_modules/moment/locale/en-au.js","webpack://bevspot/./node_modules/moment/locale/en-ca.js","webpack://bevspot/./node_modules/moment/locale/en-gb.js","webpack://bevspot/./node_modules/moment/locale/en-ie.js","webpack://bevspot/./node_modules/moment/locale/en-il.js","webpack://bevspot/./node_modules/moment/locale/en-in.js","webpack://bevspot/./node_modules/moment/locale/en-nz.js","webpack://bevspot/./node_modules/moment/locale/en-sg.js","webpack://bevspot/./node_modules/moment/locale/eo.js","webpack://bevspot/./node_modules/moment/locale/es-do.js","webpack://bevspot/./node_modules/moment/locale/es-mx.js","webpack://bevspot/./node_modules/moment/locale/es-us.js","webpack://bevspot/./node_modules/moment/locale/es.js","webpack://bevspot/./node_modules/moment/locale/et.js","webpack://bevspot/./node_modules/moment/locale/eu.js","webpack://bevspot/./node_modules/moment/locale/fa.js","webpack://bevspot/./node_modules/moment/locale/fi.js","webpack://bevspot/./node_modules/moment/locale/fil.js","webpack://bevspot/./node_modules/moment/locale/fo.js","webpack://bevspot/./node_modules/moment/locale/fr-ca.js","webpack://bevspot/./node_modules/moment/locale/fr-ch.js","webpack://bevspot/./node_modules/moment/locale/fr.js","webpack://bevspot/./node_modules/moment/locale/fy.js","webpack://bevspot/./node_modules/moment/locale/ga.js","webpack://bevspot/./node_modules/moment/locale/gd.js","webpack://bevspot/./node_modules/moment/locale/gl.js","webpack://bevspot/./node_modules/moment/locale/gom-deva.js","webpack://bevspot/./node_modules/moment/locale/gom-latn.js","webpack://bevspot/./node_modules/moment/locale/gu.js","webpack://bevspot/./node_modules/moment/locale/he.js","webpack://bevspot/./node_modules/moment/locale/hi.js","webpack://bevspot/./node_modules/moment/locale/hr.js","webpack://bevspot/./node_modules/moment/locale/hu.js","webpack://bevspot/./node_modules/moment/locale/hy-am.js","webpack://bevspot/./node_modules/moment/locale/id.js","webpack://bevspot/./node_modules/moment/locale/is.js","webpack://bevspot/./node_modules/moment/locale/it-ch.js","webpack://bevspot/./node_modules/moment/locale/it.js","webpack://bevspot/./node_modules/moment/locale/ja.js","webpack://bevspot/./node_modules/moment/locale/jv.js","webpack://bevspot/./node_modules/moment/locale/ka.js","webpack://bevspot/./node_modules/moment/locale/kk.js","webpack://bevspot/./node_modules/moment/locale/km.js","webpack://bevspot/./node_modules/moment/locale/kn.js","webpack://bevspot/./node_modules/moment/locale/ko.js","webpack://bevspot/./node_modules/moment/locale/ku-kmr.js","webpack://bevspot/./node_modules/moment/locale/ku.js","webpack://bevspot/./node_modules/moment/locale/ky.js","webpack://bevspot/./node_modules/moment/locale/lb.js","webpack://bevspot/./node_modules/moment/locale/lo.js","webpack://bevspot/./node_modules/moment/locale/lt.js","webpack://bevspot/./node_modules/moment/locale/lv.js","webpack://bevspot/./node_modules/moment/locale/me.js","webpack://bevspot/./node_modules/moment/locale/mi.js","webpack://bevspot/./node_modules/moment/locale/mk.js","webpack://bevspot/./node_modules/moment/locale/ml.js","webpack://bevspot/./node_modules/moment/locale/mn.js","webpack://bevspot/./node_modules/moment/locale/mr.js","webpack://bevspot/./node_modules/moment/locale/ms-my.js","webpack://bevspot/./node_modules/moment/locale/ms.js","webpack://bevspot/./node_modules/moment/locale/mt.js","webpack://bevspot/./node_modules/moment/locale/my.js","webpack://bevspot/./node_modules/moment/locale/nb.js","webpack://bevspot/./node_modules/moment/locale/ne.js","webpack://bevspot/./node_modules/moment/locale/nl-be.js","webpack://bevspot/./node_modules/moment/locale/nl.js","webpack://bevspot/./node_modules/moment/locale/nn.js","webpack://bevspot/./node_modules/moment/locale/oc-lnc.js","webpack://bevspot/./node_modules/moment/locale/pa-in.js","webpack://bevspot/./node_modules/moment/locale/pl.js","webpack://bevspot/./node_modules/moment/locale/ps.js","webpack://bevspot/./node_modules/moment/locale/pt-br.js","webpack://bevspot/./node_modules/moment/locale/pt.js","webpack://bevspot/./node_modules/moment/locale/ro.js","webpack://bevspot/./node_modules/moment/locale/ru.js","webpack://bevspot/./node_modules/moment/locale/sd.js","webpack://bevspot/./node_modules/moment/locale/se.js","webpack://bevspot/./node_modules/moment/locale/si.js","webpack://bevspot/./node_modules/moment/locale/sk.js","webpack://bevspot/./node_modules/moment/locale/sl.js","webpack://bevspot/./node_modules/moment/locale/sq.js","webpack://bevspot/./node_modules/moment/locale/sr-cyrl.js","webpack://bevspot/./node_modules/moment/locale/sr.js","webpack://bevspot/./node_modules/moment/locale/ss.js","webpack://bevspot/./node_modules/moment/locale/sv.js","webpack://bevspot/./node_modules/moment/locale/sw.js","webpack://bevspot/./node_modules/moment/locale/ta.js","webpack://bevspot/./node_modules/moment/locale/te.js","webpack://bevspot/./node_modules/moment/locale/tet.js","webpack://bevspot/./node_modules/moment/locale/tg.js","webpack://bevspot/./node_modules/moment/locale/th.js","webpack://bevspot/./node_modules/moment/locale/tk.js","webpack://bevspot/./node_modules/moment/locale/tl-ph.js","webpack://bevspot/./node_modules/moment/locale/tlh.js","webpack://bevspot/./node_modules/moment/locale/tr.js","webpack://bevspot/./node_modules/moment/locale/tzl.js","webpack://bevspot/./node_modules/moment/locale/tzm-latn.js","webpack://bevspot/./node_modules/moment/locale/tzm.js","webpack://bevspot/./node_modules/moment/locale/ug-cn.js","webpack://bevspot/./node_modules/moment/locale/uk.js","webpack://bevspot/./node_modules/moment/locale/ur.js","webpack://bevspot/./node_modules/moment/locale/uz-latn.js","webpack://bevspot/./node_modules/moment/locale/uz.js","webpack://bevspot/./node_modules/moment/locale/vi.js","webpack://bevspot/./node_modules/moment/locale/x-pseudo.js","webpack://bevspot/./node_modules/moment/locale/yo.js","webpack://bevspot/./node_modules/moment/locale/zh-cn.js","webpack://bevspot/./node_modules/moment/locale/zh-hk.js","webpack://bevspot/./node_modules/moment/locale/zh-mo.js","webpack://bevspot/./node_modules/moment/locale/zh-tw.js","webpack://bevspot/./node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://bevspot/./node_modules/moment/min/moment-with-locales.min.js","webpack://bevspot/./node_modules/moment/moment.js","webpack://bevspot/./node_modules/node-int64/Int64.js","webpack://bevspot/./node_modules/pkce-challenge/node_modules/crypto-js/core.js","webpack://bevspot/./node_modules/pkce-challenge/node_modules/crypto-js/enc-base64url.js","webpack://bevspot/./node_modules/pkce-challenge/node_modules/crypto-js/lib-typedarrays.js","webpack://bevspot/./node_modules/pkce-challenge/node_modules/crypto-js/sha256.js","webpack://bevspot/./node_modules/prop-types/factoryWithThrowingShims.js","webpack://bevspot/./node_modules/prop-types/index.js","webpack://bevspot/./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://bevspot/./node_modules/q/q.js","webpack://bevspot/./node_modules/querystring/decode.js","webpack://bevspot/./node_modules/querystring/encode.js","webpack://bevspot/./node_modules/querystring/index.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/BrowserDetector.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/EnterLeaveCounter.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/HTML5Backend.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/MonotonicInterpolant.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/NativeDragSources.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/NativeTypes.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/OffsetUtils.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/getEmptyImage.js","webpack://bevspot/./node_modules/react-dnd-html5-backend/lib/index.js","webpack://bevspot/./node_modules/react-dnd-multi-backend/lib/HTML5toTouch.js","webpack://bevspot/./node_modules/react-dnd-multi-backend/lib/Preview.js","webpack://bevspot/./node_modules/react-dnd-multi-backend/lib/index.js","webpack://bevspot/./node_modules/react-dnd-preview/lib/index.js","webpack://bevspot/./node_modules/react-dnd-touch-backend/dist/Touch.js","webpack://bevspot/./node_modules/react-dnd/lib/DragDropContext.js","webpack://bevspot/./node_modules/react-dnd/lib/DragLayer.js","webpack://bevspot/./node_modules/react-dnd/lib/DragSource.js","webpack://bevspot/./node_modules/react-dnd/lib/DropTarget.js","webpack://bevspot/./node_modules/react-dnd/lib/createSourceConnector.js","webpack://bevspot/./node_modules/react-dnd/lib/createSourceFactory.js","webpack://bevspot/./node_modules/react-dnd/lib/createSourceMonitor.js","webpack://bevspot/./node_modules/react-dnd/lib/createTargetConnector.js","webpack://bevspot/./node_modules/react-dnd/lib/createTargetFactory.js","webpack://bevspot/./node_modules/react-dnd/lib/createTargetMonitor.js","webpack://bevspot/./node_modules/react-dnd/lib/decorateHandler.js","webpack://bevspot/./node_modules/react-dnd/lib/index.js","webpack://bevspot/./node_modules/react-dnd/lib/registerSource.js","webpack://bevspot/./node_modules/react-dnd/lib/registerTarget.js","webpack://bevspot/./node_modules/react-dnd/lib/utils/checkDecoratorArguments.js","webpack://bevspot/./node_modules/react-dnd/lib/utils/cloneWithRef.js","webpack://bevspot/./node_modules/react-dnd/lib/utils/disposables/CompositeDisposable.js","webpack://bevspot/./node_modules/react-dnd/lib/utils/disposables/Disposable.js","webpack://bevspot/./node_modules/react-dnd/lib/utils/disposables/SerialDisposable.js","webpack://bevspot/./node_modules/react-dnd/lib/utils/disposables/index.js","webpack://bevspot/./node_modules/react-dnd/lib/utils/isValidType.js","webpack://bevspot/./node_modules/react-dnd/lib/wrapConnectorHooks.js","webpack://bevspot/./node_modules/react-dom/cjs/react-dom.production.min.js","webpack://bevspot/./node_modules/react-dom/client.js","webpack://bevspot/./node_modules/react-dom/index.js","webpack://bevspot/./node_modules/react-is/cjs/react-is.production.min.js","webpack://bevspot/./node_modules/react-is/index.js","webpack://bevspot/./node_modules/react-redux/es/utils/batch.js","webpack://bevspot/./node_modules/react-redux/es/components/Context.js","webpack://bevspot/./node_modules/react-redux/es/hooks/useReduxContext.js","webpack://bevspot/./node_modules/react-redux/es/utils/useSyncExternalStore.js","webpack://bevspot/./node_modules/react-redux/es/hooks/useSelector.js","webpack://bevspot/./node_modules/react-redux/es/connect/selectorFactory.js","webpack://bevspot/./node_modules/react-redux/es/connect/wrapMapToProps.js","webpack://bevspot/./node_modules/react-redux/es/connect/invalidArgFactory.js","webpack://bevspot/./node_modules/react-redux/es/connect/mergeProps.js","webpack://bevspot/./node_modules/react-redux/es/utils/Subscription.js","webpack://bevspot/./node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js","webpack://bevspot/./node_modules/react-redux/es/utils/shallowEqual.js","webpack://bevspot/./node_modules/react-redux/es/components/connect.js","webpack://bevspot/./node_modules/react-redux/es/connect/mapStateToProps.js","webpack://bevspot/./node_modules/react-redux/es/connect/mapDispatchToProps.js","webpack://bevspot/./node_modules/react-redux/es/utils/bindActionCreators.js","webpack://bevspot/./node_modules/react-redux/es/components/Provider.js","webpack://bevspot/./node_modules/react-redux/es/hooks/useStore.js","webpack://bevspot/./node_modules/react-redux/es/hooks/useDispatch.js","webpack://bevspot/./node_modules/react-redux/es/index.js","webpack://bevspot/./node_modules/react-redux/node_modules/react-is/cjs/react-is.production.min.js","webpack://bevspot/./node_modules/react-redux/node_modules/react-is/index.js","webpack://bevspot/./node_modules/hyphenate-style-name/index.js","webpack://bevspot/./node_modules/react-responsive/dist/esm/index.js","webpack://bevspot/./node_modules/shallow-equal/dist/index.modern.mjs","webpack://bevspot/./node_modules/dom-helpers/esm/removeClass.js","webpack://bevspot/./node_modules/react-transition-group/esm/CSSTransition.js","webpack://bevspot/./node_modules/dom-helpers/esm/addClass.js","webpack://bevspot/./node_modules/dom-helpers/esm/hasClass.js","webpack://bevspot/./node_modules/react-transition-group/esm/Transition.js","webpack://bevspot/./node_modules/react-transition-group/esm/utils/ChildMapping.js","webpack://bevspot/./node_modules/react-transition-group/esm/TransitionGroup.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://bevspot/./node_modules/react-transition-group/esm/TransitionGroupContext.js","webpack://bevspot/./node_modules/react-transition-group/esm/utils/reflow.js","webpack://bevspot/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://bevspot/./node_modules/react/cjs/react.production.min.js","webpack://bevspot/./node_modules/react/index.js","webpack://bevspot/./node_modules/react/jsx-runtime.js","webpack://bevspot/./node_modules/recompose/isClassComponent.js","webpack://bevspot/./node_modules/redux-thunk/es/index.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/objectSpread2.js","webpack://bevspot/./node_modules/redux/es/redux.js","webpack://bevspot/./node_modules/reselect/es/defaultMemoize.js","webpack://bevspot/./node_modules/reselect/es/index.js","webpack://bevspot/./node_modules/scheduler/cjs/scheduler.production.min.js","webpack://bevspot/./node_modules/scheduler/index.js","webpack://bevspot/./node_modules/shallowequal/index.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/binary.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/binary_protocol.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/browser.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/buffered_transport.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/compact_protocol.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/create_client.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/framed_transport.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/header_transport.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/input_buffer_underrun_error.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/int64_util.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/json_parse.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/json_protocol.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/log.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/multiplexed_protocol.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/thrift.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/ws_connection.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/ws_transport.js","webpack://bevspot/./node_modules/thrift/lib/nodejs/lib/thrift/xhr_connection.js","webpack://bevspot/./node_modules/tslib/tslib.es6.js","webpack://bevspot/./node_modules/typesafe-actions/dist/typesafe-actions.umd.production.js","webpack://bevspot/./node_modules/unfetch/dist/unfetch.module.js","webpack://bevspot/./node_modules/url-search-params-polyfill/index.js","webpack://bevspot/./node_modules/url/node_modules/punycode/punycode.js","webpack://bevspot/./node_modules/url/url.js","webpack://bevspot/./node_modules/url/util.js","webpack://bevspot/./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://bevspot/./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js","webpack://bevspot/./node_modules/use-sync-external-store/shim/index.js","webpack://bevspot/./node_modules/use-sync-external-store/shim/with-selector.js","webpack://bevspot/./node_modules/util/node_modules/inherits/inherits_browser.js","webpack://bevspot/./node_modules/util/support/isBufferBrowser.js","webpack://bevspot/./node_modules/util/util.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://bevspot/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://bevspot/./node_modules/immer/dist/immer.esm.mjs","webpack://bevspot/./node_modules/react-router/dist/development/chunk-OB3PAWPO.mjs","webpack://bevspot/webpack/bootstrap","webpack://bevspot/webpack/runtime/compat get default export","webpack://bevspot/webpack/runtime/define property getters","webpack://bevspot/webpack/runtime/ensure chunk","webpack://bevspot/webpack/runtime/get javascript chunk filename","webpack://bevspot/webpack/runtime/get mini-css chunk filename","webpack://bevspot/webpack/runtime/global","webpack://bevspot/webpack/runtime/hasOwnProperty shorthand","webpack://bevspot/webpack/runtime/make namespace object","webpack://bevspot/webpack/runtime/node module decorator","webpack://bevspot/webpack/runtime/publicPath","webpack://bevspot/webpack/runtime/jsonp chunk loading"],"sourcesContent":["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};","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' || typeof current == 'function') && !~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};","var inProgress = {};\nvar dataWebpackPrefix = \"bevspot:\";\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\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 }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport var CognitoHostedUIIdentityProvider;\n(function (CognitoHostedUIIdentityProvider) {\n    CognitoHostedUIIdentityProvider[\"Cognito\"] = \"COGNITO\";\n    CognitoHostedUIIdentityProvider[\"Google\"] = \"Google\";\n    CognitoHostedUIIdentityProvider[\"Facebook\"] = \"Facebook\";\n    CognitoHostedUIIdentityProvider[\"Amazon\"] = \"LoginWithAmazon\";\n    CognitoHostedUIIdentityProvider[\"Apple\"] = \"SignInWithApple\";\n})(CognitoHostedUIIdentityProvider || (CognitoHostedUIIdentityProvider = {}));\nexport function isFederatedSignInOptions(obj) {\n    var keys = ['provider'];\n    return obj && !!keys.find(function (k) { return obj.hasOwnProperty(k); });\n}\nexport function isFederatedSignInOptionsCustom(obj) {\n    var keys = ['customProvider'];\n    return obj && !!keys.find(function (k) { return obj.hasOwnProperty(k); });\n}\nexport function hasCustomState(obj) {\n    var keys = ['customState'];\n    return obj && !!keys.find(function (k) { return obj.hasOwnProperty(k); });\n}\nexport function isCognitoHostedOpts(oauth) {\n    return oauth.redirectSignIn !== undefined;\n}\nexport var AuthErrorTypes;\n(function (AuthErrorTypes) {\n    AuthErrorTypes[\"NoConfig\"] = \"noConfig\";\n    AuthErrorTypes[\"MissingAuthConfig\"] = \"missingAuthConfig\";\n    AuthErrorTypes[\"EmptyUsername\"] = \"emptyUsername\";\n    AuthErrorTypes[\"InvalidUsername\"] = \"invalidUsername\";\n    AuthErrorTypes[\"EmptyPassword\"] = \"emptyPassword\";\n    AuthErrorTypes[\"EmptyCode\"] = \"emptyCode\";\n    AuthErrorTypes[\"SignUpError\"] = \"signUpError\";\n    AuthErrorTypes[\"NoMFA\"] = \"noMFA\";\n    AuthErrorTypes[\"InvalidMFA\"] = \"invalidMFA\";\n    AuthErrorTypes[\"EmptyChallengeResponse\"] = \"emptyChallengeResponse\";\n    AuthErrorTypes[\"NoUserSession\"] = \"noUserSession\";\n    AuthErrorTypes[\"Default\"] = \"default\";\n    AuthErrorTypes[\"DeviceConfig\"] = \"deviceConfig\";\n    AuthErrorTypes[\"NetworkError\"] = \"networkError\";\n    AuthErrorTypes[\"AutoSignInError\"] = \"autoSignInError\";\n})(AuthErrorTypes || (AuthErrorTypes = {}));\nexport function isUsernamePasswordOpts(obj) {\n    return !!obj.username;\n}\nexport var GRAPHQL_AUTH_MODE;\n(function (GRAPHQL_AUTH_MODE) {\n    GRAPHQL_AUTH_MODE[\"API_KEY\"] = \"API_KEY\";\n    GRAPHQL_AUTH_MODE[\"AWS_IAM\"] = \"AWS_IAM\";\n    GRAPHQL_AUTH_MODE[\"OPENID_CONNECT\"] = \"OPENID_CONNECT\";\n    GRAPHQL_AUTH_MODE[\"AMAZON_COGNITO_USER_POOLS\"] = \"AMAZON_COGNITO_USER_POOLS\";\n    GRAPHQL_AUTH_MODE[\"AWS_LAMBDA\"] = \"AWS_LAMBDA\";\n})(GRAPHQL_AUTH_MODE || (GRAPHQL_AUTH_MODE = {}));\n//# sourceMappingURL=Auth.js.map","var __extends = (this && this.__extends) || (function () {\n    var extendStatics = function (d, b) {\n        extendStatics = Object.setPrototypeOf ||\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    };\n    return function (d, b) {\n        if (typeof b !== \"function\" && b !== null)\n            throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nvar __read = (this && this.__read) || function (o, n) {\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n    if (!m) return o;\n    var i = m.call(o), r, ar = [], e;\n    try {\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n    }\n    catch (error) { e = { error: error }; }\n    finally {\n        try {\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\n        }\n        finally { if (e) throw e.error; }\n    }\n    return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n        if (ar || !(i in from)) {\n            if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n            ar[i] = from[i];\n        }\n    }\n    return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport { ConsoleLogger as Logger } from '../Logger/ConsoleLogger';\nvar logger = new Logger('Util');\nvar NonRetryableError = /** @class */ (function (_super) {\n    __extends(NonRetryableError, _super);\n    function NonRetryableError(message) {\n        var _this = _super.call(this, message) || this;\n        _this.nonRetryable = true;\n        return _this;\n    }\n    return NonRetryableError;\n}(Error));\nexport { NonRetryableError };\nexport var isNonRetryableError = function (obj) {\n    var key = 'nonRetryable';\n    return obj && obj[key];\n};\n/**\n * @private\n * Internal use of Amplify only\n */\nexport function retry(functionToRetry, args, delayFn, onTerminate) {\n    return __awaiter(this, void 0, void 0, function () {\n        var _this = this;\n        return __generator(this, function (_a) {\n            if (typeof functionToRetry !== 'function') {\n                throw Error('functionToRetry must be a function');\n            }\n            return [2 /*return*/, new Promise(function (resolve, reject) { return __awaiter(_this, void 0, void 0, function () {\n                    var attempt, terminated, timeout, wakeUp, lastError, _loop_1, state_1;\n                    return __generator(this, function (_a) {\n                        switch (_a.label) {\n                            case 0:\n                                attempt = 0;\n                                terminated = false;\n                                wakeUp = function () { };\n                                onTerminate &&\n                                    onTerminate.then(function () {\n                                        // signal not to try anymore.\n                                        terminated = true;\n                                        // stop sleeping if we're sleeping.\n                                        clearTimeout(timeout);\n                                        wakeUp();\n                                    });\n                                _loop_1 = function () {\n                                    var _b, _c, err_1, retryIn_1;\n                                    return __generator(this, function (_d) {\n                                        switch (_d.label) {\n                                            case 0:\n                                                attempt++;\n                                                logger.debug(\"\".concat(functionToRetry.name, \" attempt #\").concat(attempt, \" with this vars: \").concat(JSON.stringify(args)));\n                                                _d.label = 1;\n                                            case 1:\n                                                _d.trys.push([1, 3, , 7]);\n                                                _b = {};\n                                                _c = resolve;\n                                                return [4 /*yield*/, functionToRetry.apply(void 0, __spreadArray([], __read(args), false))];\n                                            case 2: return [2 /*return*/, (_b.value = _c.apply(void 0, [_d.sent()]), _b)];\n                                            case 3:\n                                                err_1 = _d.sent();\n                                                lastError = err_1;\n                                                logger.debug(\"error on \".concat(functionToRetry.name), err_1);\n                                                if (isNonRetryableError(err_1)) {\n                                                    logger.debug(\"\".concat(functionToRetry.name, \" non retryable error\"), err_1);\n                                                    return [2 /*return*/, { value: reject(err_1) }];\n                                                }\n                                                retryIn_1 = delayFn(attempt, args, err_1);\n                                                logger.debug(\"\".concat(functionToRetry.name, \" retrying in \").concat(retryIn_1, \" ms\"));\n                                                if (!(retryIn_1 === false || terminated)) return [3 /*break*/, 4];\n                                                return [2 /*return*/, { value: reject(err_1) }];\n                                            case 4: return [4 /*yield*/, new Promise(function (r) {\n                                                    wakeUp = r; // export wakeUp for onTerminate handling\n                                                    timeout = setTimeout(wakeUp, retryIn_1);\n                                                })];\n                                            case 5:\n                                                _d.sent();\n                                                _d.label = 6;\n                                            case 6: return [3 /*break*/, 7];\n                                            case 7: return [2 /*return*/];\n                                        }\n                                    });\n                                };\n                                _a.label = 1;\n                            case 1:\n                                if (!!terminated) return [3 /*break*/, 3];\n                                return [5 /*yield**/, _loop_1()];\n                            case 2:\n                                state_1 = _a.sent();\n                                if (typeof state_1 === \"object\")\n                                    return [2 /*return*/, state_1.value];\n                                return [3 /*break*/, 1];\n                            case 3:\n                                // reached if terminated while waiting for a timer.\n                                reject(lastError);\n                                return [2 /*return*/];\n                        }\n                    });\n                }); })];\n        });\n    });\n}\nvar MAX_DELAY_MS = 5 * 60 * 1000;\n/**\n * @private\n * Internal use of Amplify only\n */\nexport function jitteredBackoff(maxDelayMs) {\n    if (maxDelayMs === void 0) { maxDelayMs = MAX_DELAY_MS; }\n    var BASE_TIME_MS = 100;\n    var JITTER_FACTOR = 100;\n    return function (attempt) {\n        var delay = Math.pow(2, attempt) * BASE_TIME_MS + JITTER_FACTOR * Math.random();\n        return delay > maxDelayMs ? false : delay;\n    };\n}\n/**\n * @private\n * Internal use of Amplify only\n */\nexport var jitteredExponentialRetry = function (functionToRetry, args, maxDelayMs, onTerminate) {\n    if (maxDelayMs === void 0) { maxDelayMs = MAX_DELAY_MS; }\n    return retry(functionToRetry, args, jitteredBackoff(maxDelayMs), onTerminate);\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nvar __read = (this && this.__read) || function (o, n) {\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n    if (!m) return o;\n    var i = m.call(o), r, ar = [], e;\n    try {\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n    }\n    catch (error) { e = { error: error }; }\n    finally {\n        try {\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\n        }\n        finally { if (e) throw e.error; }\n    }\n    return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n        if (ar || !(i in from)) {\n            if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n            ar[i] = from[i];\n        }\n    }\n    return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport { ConsoleLogger as Logger } from './Logger';\nvar logger = new Logger('Hub');\nvar AMPLIFY_SYMBOL = (typeof Symbol !== 'undefined' && typeof Symbol.for === 'function'\n    ? Symbol.for('amplify_default')\n    : '@@amplify_default');\nfunction isLegacyCallback(callback) {\n    return callback.onHubCapsule !== undefined;\n}\nvar HubClass = /** @class */ (function () {\n    function HubClass(name) {\n        this.listeners = [];\n        this.patterns = [];\n        this.protectedChannels = [\n            'core',\n            'auth',\n            'api',\n            'analytics',\n            'interactions',\n            'pubsub',\n            'storage',\n            'ui',\n            'xr',\n        ];\n        this.name = name;\n    }\n    /**\n     * Used internally to remove a Hub listener.\n     *\n     * @remarks\n     * This private method is for internal use only. Instead of calling Hub.remove, call the result of Hub.listen.\n     */\n    HubClass.prototype._remove = function (channel, listener) {\n        if (channel instanceof RegExp) {\n            var pattern_1 = this.patterns.find(function (_a) {\n                var pattern = _a.pattern;\n                return pattern.source === channel.source;\n            });\n            if (!pattern_1) {\n                logger.warn(\"No listeners for \".concat(channel));\n                return;\n            }\n            this.patterns = __spreadArray([], __read(this.patterns.filter(function (x) { return x !== pattern_1; })), false);\n        }\n        else {\n            var holder = this.listeners[channel];\n            if (!holder) {\n                logger.warn(\"No listeners for \".concat(channel));\n                return;\n            }\n            this.listeners[channel] = __spreadArray([], __read(holder.filter(function (_a) {\n                var callback = _a.callback;\n                return callback !== listener;\n            })), false);\n        }\n    };\n    /**\n     * @deprecated Instead of calling Hub.remove, call the result of Hub.listen.\n     */\n    HubClass.prototype.remove = function (channel, listener) {\n        this._remove(channel, listener);\n    };\n    /**\n     * Used to send a Hub event.\n     *\n     * @param channel - The channel on which the event will be broadcast\n     * @param payload - The HubPayload\n     * @param source  - The source of the event; defaults to ''\n     * @param ampSymbol - Symbol used to determine if the event is dispatched internally on a protected channel\n     *\n     */\n    HubClass.prototype.dispatch = function (channel, payload, source, ampSymbol) {\n        if (source === void 0) { source = ''; }\n        if (this.protectedChannels.indexOf(channel) > -1) {\n            var hasAccess = ampSymbol === AMPLIFY_SYMBOL;\n            if (!hasAccess) {\n                logger.warn(\"WARNING: \".concat(channel, \" is protected and dispatching on it can have unintended consequences\"));\n            }\n        }\n        var capsule = {\n            channel: channel,\n            payload: __assign({}, payload),\n            source: source,\n            patternInfo: [],\n        };\n        try {\n            this._toListeners(capsule);\n        }\n        catch (e) {\n            logger.error(e);\n        }\n    };\n    /**\n     * Used to listen for Hub events.\n     *\n     * @param channel - The channel on which to listen\n     * @param callback - The callback to execute when an event is received on the specified channel\n     * @param listenerName - The name of the listener; defaults to 'noname'\n     * @returns A function which can be called to cancel the listener.\n     *\n     */\n    HubClass.prototype.listen = function (channel, callback, listenerName) {\n        var _this = this;\n        if (listenerName === void 0) { listenerName = 'noname'; }\n        var cb;\n        // Check for legacy onHubCapsule callback for backwards compatability\n        if (isLegacyCallback(callback)) {\n            logger.warn(\"WARNING onHubCapsule is Deprecated. Please pass in a callback.\");\n            cb = callback.onHubCapsule.bind(callback);\n        }\n        else if (typeof callback !== 'function') {\n            throw new Error('No callback supplied to Hub');\n        }\n        else {\n            cb = callback;\n        }\n        if (channel instanceof RegExp) {\n            this.patterns.push({\n                pattern: channel,\n                callback: cb,\n            });\n        }\n        else {\n            var holder = this.listeners[channel];\n            if (!holder) {\n                holder = [];\n                this.listeners[channel] = holder;\n            }\n            holder.push({\n                name: listenerName,\n                callback: cb,\n            });\n        }\n        return function () {\n            _this._remove(channel, cb);\n        };\n    };\n    HubClass.prototype._toListeners = function (capsule) {\n        var channel = capsule.channel, payload = capsule.payload;\n        var holder = this.listeners[channel];\n        if (holder) {\n            holder.forEach(function (listener) {\n                logger.debug(\"Dispatching to \".concat(channel, \" with \"), payload);\n                try {\n                    listener.callback(capsule);\n                }\n                catch (e) {\n                    logger.error(e);\n                }\n            });\n        }\n        if (this.patterns.length > 0) {\n            if (!payload.message) {\n                logger.warn(\"Cannot perform pattern matching without a message key\");\n                return;\n            }\n            var payloadStr_1 = payload.message;\n            this.patterns.forEach(function (pattern) {\n                var match = payloadStr_1.match(pattern.pattern);\n                if (match) {\n                    var _a = __read(match), groups = _a.slice(1);\n                    var dispatchingCapsule = __assign(__assign({}, capsule), { patternInfo: groups });\n                    try {\n                        pattern.callback(dispatchingCapsule);\n                    }\n                    catch (e) {\n                        logger.error(e);\n                    }\n                }\n            });\n        }\n    };\n    return HubClass;\n}());\nexport { HubClass };\n/*We export a __default__ instance of HubClass to use it as a\npseudo Singleton for the main messaging bus, however you can still create\nyour own instance of HubClass() for a separate \"private bus\" of events.*/\nexport var Hub = new HubClass('__default__');\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar dataMemory = {};\n/** @class */\nvar MemoryStorage = /** @class */ (function () {\n    function MemoryStorage() {\n    }\n    /**\n     * This is used to set a specific item in storage\n     * @param {string} key - the key for the item\n     * @param {object} value - the value\n     * @returns {string} value that was set\n     */\n    MemoryStorage.setItem = function (key, value) {\n        dataMemory[key] = value;\n        return dataMemory[key];\n    };\n    /**\n     * This is used to get a specific key from storage\n     * @param {string} key - the key for the item\n     * This is used to clear the storage\n     * @returns {string} the data item\n     */\n    MemoryStorage.getItem = function (key) {\n        return Object.prototype.hasOwnProperty.call(dataMemory, key)\n            ? dataMemory[key]\n            : undefined;\n    };\n    /**\n     * This is used to remove an item from storage\n     * @param {string} key - the key being set\n     * @returns {string} value - value that was deleted\n     */\n    MemoryStorage.removeItem = function (key) {\n        return delete dataMemory[key];\n    };\n    /**\n     * This is used to clear the storage\n     * @returns {string} nothing\n     */\n    MemoryStorage.clear = function () {\n        dataMemory = {};\n        return dataMemory;\n    };\n    return MemoryStorage;\n}());\nexport { MemoryStorage };\nvar StorageHelper = /** @class */ (function () {\n    /**\n     * This is used to get a storage object\n     * @returns {object} the storage\n     */\n    function StorageHelper() {\n        try {\n            this.storageWindow = window.localStorage;\n            this.storageWindow.setItem('aws.amplify.test-ls', 1);\n            this.storageWindow.removeItem('aws.amplify.test-ls');\n        }\n        catch (exception) {\n            this.storageWindow = MemoryStorage;\n        }\n    }\n    /**\n     * This is used to return the storage\n     * @returns {object} the storage\n     */\n    StorageHelper.prototype.getStorage = function () {\n        return this.storageWindow;\n    };\n    return StorageHelper;\n}());\nexport { StorageHelper };\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar MIME_MAP = [\n    { type: 'text/plain', ext: 'txt' },\n    { type: 'text/html', ext: 'html' },\n    { type: 'text/javascript', ext: 'js' },\n    { type: 'text/css', ext: 'css' },\n    { type: 'text/csv', ext: 'csv' },\n    { type: 'text/yaml', ext: 'yml' },\n    { type: 'text/yaml', ext: 'yaml' },\n    { type: 'text/calendar', ext: 'ics' },\n    { type: 'text/calendar', ext: 'ical' },\n    { type: 'image/apng', ext: 'apng' },\n    { type: 'image/bmp', ext: 'bmp' },\n    { type: 'image/gif', ext: 'gif' },\n    { type: 'image/x-icon', ext: 'ico' },\n    { type: 'image/x-icon', ext: 'cur' },\n    { type: 'image/jpeg', ext: 'jpg' },\n    { type: 'image/jpeg', ext: 'jpeg' },\n    { type: 'image/jpeg', ext: 'jfif' },\n    { type: 'image/jpeg', ext: 'pjp' },\n    { type: 'image/jpeg', ext: 'pjpeg' },\n    { type: 'image/png', ext: 'png' },\n    { type: 'image/svg+xml', ext: 'svg' },\n    { type: 'image/tiff', ext: 'tif' },\n    { type: 'image/tiff', ext: 'tiff' },\n    { type: 'image/webp', ext: 'webp' },\n    { type: 'application/json', ext: 'json' },\n    { type: 'application/xml', ext: 'xml' },\n    { type: 'application/x-sh', ext: 'sh' },\n    { type: 'application/zip', ext: 'zip' },\n    { type: 'application/x-rar-compressed', ext: 'rar' },\n    { type: 'application/x-tar', ext: 'tar' },\n    { type: 'application/x-bzip', ext: 'bz' },\n    { type: 'application/x-bzip2', ext: 'bz2' },\n    { type: 'application/pdf', ext: 'pdf' },\n    { type: 'application/java-archive', ext: 'jar' },\n    { type: 'application/msword', ext: 'doc' },\n    { type: 'application/vnd.ms-excel', ext: 'xls' },\n    { type: 'application/vnd.ms-excel', ext: 'xlsx' },\n    { type: 'message/rfc822', ext: 'eml' },\n];\nexport var isEmpty = function (obj) {\n    if (obj === void 0) { obj = {}; }\n    return Object.keys(obj).length === 0;\n};\nexport var sortByField = function (list, field, dir) {\n    if (!list || !list.sort) {\n        return false;\n    }\n    var dirX = dir && dir === 'desc' ? -1 : 1;\n    list.sort(function (a, b) {\n        var a_val = a[field];\n        var b_val = b[field];\n        if (typeof b_val === 'undefined') {\n            return typeof a_val === 'undefined' ? 0 : 1 * dirX;\n        }\n        if (typeof a_val === 'undefined') {\n            return -1 * dirX;\n        }\n        if (a_val < b_val) {\n            return -1 * dirX;\n        }\n        if (a_val > b_val) {\n            return 1 * dirX;\n        }\n        return 0;\n    });\n    return true;\n};\nexport var objectLessAttributes = function (obj, less) {\n    var ret = Object.assign({}, obj);\n    if (less) {\n        if (typeof less === 'string') {\n            delete ret[less];\n        }\n        else {\n            less.forEach(function (attr) {\n                delete ret[attr];\n            });\n        }\n    }\n    return ret;\n};\nexport var filenameToContentType = function (filename, defVal) {\n    if (defVal === void 0) { defVal = 'application/octet-stream'; }\n    var name = filename.toLowerCase();\n    var filtered = MIME_MAP.filter(function (mime) { return name.endsWith('.' + mime.ext); });\n    return filtered.length > 0 ? filtered[0].type : defVal;\n};\nexport var isTextFile = function (contentType) {\n    var type = contentType.toLowerCase();\n    if (type.startsWith('text/')) {\n        return true;\n    }\n    return ('application/json' === type ||\n        'application/xml' === type ||\n        'application/sh' === type);\n};\nexport var generateRandomString = function () {\n    var result = '';\n    var chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';\n    for (var i = 32; i > 0; i -= 1) {\n        result += chars[Math.floor(Math.random() * chars.length)];\n    }\n    return result;\n};\nexport var makeQuerablePromise = function (promise) {\n    if (promise.isResolved)\n        return promise;\n    var isPending = true;\n    var isRejected = false;\n    var isFullfilled = false;\n    var result = promise.then(function (data) {\n        isFullfilled = true;\n        isPending = false;\n        return data;\n    }, function (e) {\n        isRejected = true;\n        isPending = false;\n        throw e;\n    });\n    result.isFullfilled = function () { return isFullfilled; };\n    result.isPending = function () { return isPending; };\n    result.isRejected = function () { return isRejected; };\n    return result;\n};\nexport var isWebWorker = function () {\n    if (typeof self === 'undefined') {\n        return false;\n    }\n    var selfContext = self;\n    return (typeof selfContext.WorkerGlobalScope !== 'undefined' &&\n        self instanceof selfContext.WorkerGlobalScope);\n};\nexport var browserOrNode = function () {\n    var isBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined';\n    var isNode = typeof process !== 'undefined' &&\n        process.versions != null &&\n        process.versions.node != null;\n    return {\n        isBrowser: isBrowser,\n        isNode: isNode,\n    };\n};\n/**\n * transfer the first letter of the keys to lowercase\n * @param {Object} obj - the object need to be transferred\n * @param {Array} whiteListForItself - whitelist itself from being transferred\n * @param {Array} whiteListForChildren - whitelist its children keys from being transferred\n */\nexport var transferKeyToLowerCase = function (obj, whiteListForItself, whiteListForChildren) {\n    if (whiteListForItself === void 0) { whiteListForItself = []; }\n    if (whiteListForChildren === void 0) { whiteListForChildren = []; }\n    if (!isStrictObject(obj))\n        return obj;\n    var ret = {};\n    for (var key in obj) {\n        if (obj.hasOwnProperty(key)) {\n            var transferedKey = whiteListForItself.includes(key)\n                ? key\n                : key[0].toLowerCase() + key.slice(1);\n            ret[transferedKey] = whiteListForChildren.includes(key)\n                ? obj[key]\n                : transferKeyToLowerCase(obj[key], whiteListForItself, whiteListForChildren);\n        }\n    }\n    return ret;\n};\n/**\n * transfer the first letter of the keys to lowercase\n * @param {Object} obj - the object need to be transferred\n * @param {Array} whiteListForItself - whitelist itself from being transferred\n * @param {Array} whiteListForChildren - whitelist its children keys from being transferred\n */\nexport var transferKeyToUpperCase = function (obj, whiteListForItself, whiteListForChildren) {\n    if (whiteListForItself === void 0) { whiteListForItself = []; }\n    if (whiteListForChildren === void 0) { whiteListForChildren = []; }\n    if (!isStrictObject(obj))\n        return obj;\n    var ret = {};\n    for (var key in obj) {\n        if (obj.hasOwnProperty(key)) {\n            var transferredKey = whiteListForItself.includes(key)\n                ? key\n                : key[0].toUpperCase() + key.slice(1);\n            ret[transferredKey] = whiteListForChildren.includes(key)\n                ? obj[key]\n                : transferKeyToUpperCase(obj[key], whiteListForItself, whiteListForChildren);\n        }\n    }\n    return ret;\n};\n/**\n * Return true if the object is a strict object\n * which means it's not Array, Function, Number, String, Boolean or Null\n * @param obj the Object\n */\nexport var isStrictObject = function (obj) {\n    return (obj instanceof Object &&\n        !(obj instanceof Array) &&\n        !(obj instanceof Function) &&\n        !(obj instanceof Number) &&\n        !(obj instanceof String) &&\n        !(obj instanceof Boolean));\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport var Framework;\n(function (Framework) {\n    // < 100 - Web frameworks\n    Framework[\"WebUnknown\"] = \"0\";\n    Framework[\"React\"] = \"1\";\n    Framework[\"NextJs\"] = \"2\";\n    Framework[\"Angular\"] = \"3\";\n    Framework[\"VueJs\"] = \"4\";\n    Framework[\"Nuxt\"] = \"5\";\n    Framework[\"Svelte\"] = \"6\";\n    // 100s - Server side frameworks\n    Framework[\"ServerSideUnknown\"] = \"100\";\n    Framework[\"ReactSSR\"] = \"101\";\n    Framework[\"NextJsSSR\"] = \"102\";\n    Framework[\"AngularSSR\"] = \"103\";\n    Framework[\"VueJsSSR\"] = \"104\";\n    Framework[\"NuxtSSR\"] = \"105\";\n    Framework[\"SvelteSSR\"] = \"106\";\n    // 200s - Mobile framework\n    Framework[\"ReactNative\"] = \"201\";\n    Framework[\"Expo\"] = \"202\";\n})(Framework || (Framework = {}));\nexport var Category;\n(function (Category) {\n    Category[\"API\"] = \"api\";\n    Category[\"Auth\"] = \"auth\";\n    Category[\"Analytics\"] = \"analytics\";\n    Category[\"DataStore\"] = \"datastore\";\n    Category[\"Geo\"] = \"geo\";\n    Category[\"InAppMessaging\"] = \"inappmessaging\";\n    Category[\"Interactions\"] = \"interactions\";\n    Category[\"Predictions\"] = \"predictions\";\n    Category[\"PubSub\"] = \"pubsub\";\n    Category[\"PushNotification\"] = \"pushnotification\";\n    Category[\"Storage\"] = \"storage\";\n})(Category || (Category = {}));\nexport var AnalyticsAction;\n(function (AnalyticsAction) {\n    AnalyticsAction[\"Record\"] = \"1\";\n    AnalyticsAction[\"UpdateEndpoint\"] = \"2\";\n})(AnalyticsAction || (AnalyticsAction = {}));\nexport var ApiAction;\n(function (ApiAction) {\n    ApiAction[\"GraphQl\"] = \"1\";\n    ApiAction[\"Get\"] = \"2\";\n    ApiAction[\"Post\"] = \"3\";\n    ApiAction[\"Put\"] = \"4\";\n    ApiAction[\"Patch\"] = \"5\";\n    ApiAction[\"Del\"] = \"6\";\n    ApiAction[\"Head\"] = \"7\";\n})(ApiAction || (ApiAction = {}));\nexport var AuthAction;\n(function (AuthAction) {\n    // SignUp = '1',\n    // ConfirmSignUp = '2',\n    // ResendSignUp = '3',\n    // SignIn = '4',\n    // GetMFAOptions = '5',\n    // GetPreferredMFA = '6',\n    // SetPreferredMFA = '7',\n    // DisableSMS = '8',\n    // EnableSMS = '9',\n    // SetupTOTP = '10',\n    // VerifyTotpToken = '11',\n    // ConfirmSignIn = '12',\n    // CompleteNewPassword = '13',\n    // SendCustomChallengeAnswer = '14',\n    // DeleteUserAttributes = '15',\n    // DeleteUser = '16',\n    // UpdateUserAttributes = '17',\n    // UserAttributes = '18',\n    // CurrentUserPoolUser = '19',\n    // CurrentAuthenticatedUser = '20',\n    // CurrentSession = '21',\n    // VerifyUserAttribute = '22',\n    // VerifyUserAttributeSubmit = '23',\n    // VerifyCurrentUserAttribute = '24',\n    // VerifyCurrentUserAttributeSubmit = '25',\n    // SignOut = '26',\n    // ChangePassword = '27',\n    // ForgotPassword = '28',\n    // ForgotPasswordSubmit = '29',\n    AuthAction[\"FederatedSignIn\"] = \"30\";\n    // CurrentUserInfo = '31',\n    // RememberDevice = '32',\n    // ForgetDevice = '33',\n    // FetchDevices = '34',\n})(AuthAction || (AuthAction = {}));\nexport var DataStoreAction;\n(function (DataStoreAction) {\n    DataStoreAction[\"Subscribe\"] = \"1\";\n    DataStoreAction[\"GraphQl\"] = \"2\";\n})(DataStoreAction || (DataStoreAction = {}));\nexport var GeoAction;\n(function (GeoAction) {\n    GeoAction[\"None\"] = \"0\";\n})(GeoAction || (GeoAction = {}));\nexport var InAppMessagingAction;\n(function (InAppMessagingAction) {\n    InAppMessagingAction[\"None\"] = \"0\";\n})(InAppMessagingAction || (InAppMessagingAction = {}));\nexport var InteractionsAction;\n(function (InteractionsAction) {\n    InteractionsAction[\"None\"] = \"0\";\n})(InteractionsAction || (InteractionsAction = {}));\nexport var PredictionsAction;\n(function (PredictionsAction) {\n    PredictionsAction[\"Convert\"] = \"1\";\n    PredictionsAction[\"Identify\"] = \"2\";\n    PredictionsAction[\"Interpret\"] = \"3\";\n})(PredictionsAction || (PredictionsAction = {}));\nexport var PubSubAction;\n(function (PubSubAction) {\n    PubSubAction[\"Subscribe\"] = \"1\";\n})(PubSubAction || (PubSubAction = {}));\nexport var PushNotificationAction;\n(function (PushNotificationAction) {\n    PushNotificationAction[\"None\"] = \"0\";\n})(PushNotificationAction || (PushNotificationAction = {}));\nexport var StorageAction;\n(function (StorageAction) {\n    StorageAction[\"Put\"] = \"1\";\n    StorageAction[\"Get\"] = \"2\";\n    StorageAction[\"List\"] = \"3\";\n    StorageAction[\"Copy\"] = \"4\";\n    StorageAction[\"Remove\"] = \"5\";\n    StorageAction[\"GetProperties\"] = \"6\";\n})(StorageAction || (StorageAction = {}));\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ConsoleLogger as Logger } from '../Logger';\nimport { browserOrNode } from '../JS';\nimport { NonRetryableError } from '../Util';\nvar logger = new Logger('CognitoCredentials');\nvar waitForInit = new Promise(function (res, rej) {\n    if (!browserOrNode().isBrowser) {\n        logger.debug('not in the browser, directly resolved');\n        return res();\n    }\n    var ga = window['gapi'] && window['gapi'].auth2 ? window['gapi'].auth2 : null;\n    if (ga) {\n        logger.debug('google api already loaded');\n        return res();\n    }\n    else {\n        setTimeout(function () {\n            return res();\n        }, 2000);\n    }\n});\nvar GoogleOAuth = /** @class */ (function () {\n    function GoogleOAuth() {\n        this.initialized = false;\n        this.refreshGoogleToken = this.refreshGoogleToken.bind(this);\n        this._refreshGoogleTokenImpl = this._refreshGoogleTokenImpl.bind(this);\n    }\n    GoogleOAuth.prototype.refreshGoogleToken = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        if (!!this.initialized) return [3 /*break*/, 2];\n                        logger.debug('need to wait for the Google SDK loaded');\n                        return [4 /*yield*/, waitForInit];\n                    case 1:\n                        _a.sent();\n                        this.initialized = true;\n                        logger.debug('finish waiting');\n                        _a.label = 2;\n                    case 2: return [2 /*return*/, this._refreshGoogleTokenImpl()];\n                }\n            });\n        });\n    };\n    GoogleOAuth.prototype._refreshGoogleTokenImpl = function () {\n        var ga = null;\n        if (browserOrNode().isBrowser)\n            ga = window['gapi'] && window['gapi'].auth2 ? window['gapi'].auth2 : null;\n        if (!ga) {\n            logger.debug('no gapi auth2 available');\n            return Promise.reject('no gapi auth2 available');\n        }\n        return new Promise(function (res, rej) {\n            ga.getAuthInstance()\n                .then(function (googleAuth) {\n                if (!googleAuth) {\n                    logger.debug('google Auth undefined');\n                    rej(new NonRetryableError('google Auth undefined'));\n                }\n                var googleUser = googleAuth.currentUser.get();\n                // refresh the token\n                if (googleUser.isSignedIn()) {\n                    logger.debug('refreshing the google access token');\n                    googleUser\n                        .reloadAuthResponse()\n                        .then(function (authResponse) {\n                        var id_token = authResponse.id_token, expires_at = authResponse.expires_at;\n                        res({ token: id_token, expires_at: expires_at });\n                    })\n                        .catch(function (err) {\n                        if (err && err.error === 'network_error') {\n                            // Not using NonRetryableError so handler will be retried\n                            rej('Network error reloading google auth response');\n                        }\n                        else {\n                            rej(new NonRetryableError('Failed to reload google auth response'));\n                        }\n                    });\n                }\n                else {\n                    rej(new NonRetryableError('User is not signed in with Google'));\n                }\n            })\n                .catch(function (err) {\n                logger.debug('Failed to refresh google token', err);\n                rej(new NonRetryableError('Failed to refresh google token'));\n            });\n        });\n    };\n    return GoogleOAuth;\n}());\nexport { GoogleOAuth };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ConsoleLogger as Logger } from '../Logger';\nimport { browserOrNode } from '../JS';\nimport { NonRetryableError } from '../Util';\nvar logger = new Logger('CognitoCredentials');\nvar waitForInit = new Promise(function (res, rej) {\n    if (!browserOrNode().isBrowser) {\n        logger.debug('not in the browser, directly resolved');\n        return res();\n    }\n    var fb = window['FB'];\n    if (fb) {\n        logger.debug('FB SDK already loaded');\n        return res();\n    }\n    else {\n        setTimeout(function () {\n            return res();\n        }, 2000);\n    }\n});\nvar FacebookOAuth = /** @class */ (function () {\n    function FacebookOAuth() {\n        this.initialized = false;\n        this.refreshFacebookToken = this.refreshFacebookToken.bind(this);\n        this._refreshFacebookTokenImpl = this._refreshFacebookTokenImpl.bind(this);\n    }\n    FacebookOAuth.prototype.refreshFacebookToken = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        if (!!this.initialized) return [3 /*break*/, 2];\n                        logger.debug('need to wait for the Facebook SDK loaded');\n                        return [4 /*yield*/, waitForInit];\n                    case 1:\n                        _a.sent();\n                        this.initialized = true;\n                        logger.debug('finish waiting');\n                        _a.label = 2;\n                    case 2: return [2 /*return*/, this._refreshFacebookTokenImpl()];\n                }\n            });\n        });\n    };\n    FacebookOAuth.prototype._refreshFacebookTokenImpl = function () {\n        var fb = null;\n        if (browserOrNode().isBrowser)\n            fb = window['FB'];\n        if (!fb) {\n            var errorMessage = 'no fb sdk available';\n            logger.debug(errorMessage);\n            return Promise.reject(new NonRetryableError(errorMessage));\n        }\n        return new Promise(function (res, rej) {\n            fb.getLoginStatus(function (fbResponse) {\n                if (!fbResponse || !fbResponse.authResponse) {\n                    var errorMessage = 'no response from facebook when refreshing the jwt token';\n                    logger.debug(errorMessage);\n                    // There is no definitive indication for a network error in\n                    // fbResponse, so we are treating it as an invalid token.\n                    rej(new NonRetryableError(errorMessage));\n                }\n                else {\n                    var response = fbResponse.authResponse;\n                    var accessToken = response.accessToken, expiresIn = response.expiresIn;\n                    var date = new Date();\n                    var expires_at = expiresIn * 1000 + date.getTime();\n                    if (!accessToken) {\n                        var errorMessage = 'the jwtToken is undefined';\n                        logger.debug(errorMessage);\n                        rej(new NonRetryableError(errorMessage));\n                    }\n                    res({\n                        token: accessToken,\n                        expires_at: expires_at,\n                    });\n                }\n            }, { scope: 'public_profile,email' });\n        });\n    };\n    return FacebookOAuth;\n}());\nexport { FacebookOAuth };\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { GoogleOAuth as GoogleOAuthClass } from './GoogleOAuth';\nimport { FacebookOAuth as FacebookOAuthClass } from './FacebookOAuth';\nexport var GoogleOAuth = new GoogleOAuthClass();\nexport var FacebookOAuth = new FacebookOAuthClass();\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Default partition for AWS services. This is used when the region is not provided or the region is not recognized.\n *\n * @internal\n */\nexport var defaultPartition = {\n    id: 'aws',\n    outputs: {\n        dnsSuffix: 'amazonaws.com',\n    },\n    regionRegex: '^(us|eu|ap|sa|ca|me|af)\\\\-\\\\w+\\\\-\\\\d+$',\n    regions: ['aws-global'],\n};\n/**\n * This data is adapted from the partition file from AWS SDK shared utilities but remove some contents for bundle size\n * concern. Information removed are `dualStackDnsSuffix`, `supportDualStack`, `supportFIPS`, restricted partitions, and\n * list of regions for each partition other than global regions.\n *\n * * Ref: https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints\n * * Ref: https://github.com/aws/aws-sdk-js-v3/blob/0201baef03c2379f1f6f7150b9d401d4b230d488/packages/util-endpoints/src/lib/aws/partitions.json#L1\n *\n * @internal\n */\nexport var partitionsInfo = {\n    partitions: [\n        defaultPartition,\n        {\n            id: 'aws-cn',\n            outputs: {\n                dnsSuffix: 'amazonaws.com.cn',\n            },\n            regionRegex: '^cn\\\\-\\\\w+\\\\-\\\\d+$',\n            regions: ['aws-cn-global'],\n        },\n    ],\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __values = (this && this.__values) || function(o) {\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n    if (m) return m.call(o);\n    if (o && typeof o.length === \"number\") return {\n        next: function () {\n            if (o && i >= o.length) o = void 0;\n            return { value: o && o[i++], done: !o };\n        }\n    };\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nimport { defaultPartition, partitionsInfo } from './partitions';\n/**\n * Get the AWS Services endpoint URL's DNS suffix for a given region. A typical AWS regional service endpoint URL will\n * follow this pattern: {endpointPrefix}.{region}.{dnsSuffix}. For example, the endpoint URL for Cognito Identity in\n * us-east-1 will be cognito-identity.us-east-1.amazonaws.com. Here the DnsSuffix is `amazonaws.com`.\n *\n * @param region\n * @returns The DNS suffix\n *\n * @internal\n */\nexport var getDnsSuffix = function (region) {\n    var e_1, _a;\n    var partitions = partitionsInfo.partitions;\n    try {\n        for (var partitions_1 = __values(partitions), partitions_1_1 = partitions_1.next(); !partitions_1_1.done; partitions_1_1 = partitions_1.next()) {\n            var _b = partitions_1_1.value, regions = _b.regions, outputs = _b.outputs, regionRegex = _b.regionRegex;\n            var regex = new RegExp(regionRegex);\n            if (regions.includes(region) || regex.test(region)) {\n                return outputs.dnsSuffix;\n            }\n        }\n    }\n    catch (e_1_1) { e_1 = { error: e_1_1 }; }\n    finally {\n        try {\n            if (partitions_1_1 && !partitions_1_1.done && (_a = partitions_1.return)) _a.call(partitions_1);\n        }\n        finally { if (e_1) throw e_1.error; }\n    }\n    return defaultPartition.outputs.dnsSuffix;\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nvar DEFAULT_RETRY_ATTEMPTS = 3;\n/**\n * Retry middleware\n */\nexport var retryMiddleware = function (_a) {\n    var _b = _a.maxAttempts, maxAttempts = _b === void 0 ? DEFAULT_RETRY_ATTEMPTS : _b, retryDecider = _a.retryDecider, computeDelay = _a.computeDelay, abortSignal = _a.abortSignal;\n    if (maxAttempts < 1) {\n        throw new Error('maxAttempts must be greater than 0');\n    }\n    return function (next, context) {\n        return function retryMiddleware(request) {\n            var _a;\n            return __awaiter(this, void 0, void 0, function () {\n                var error, attemptsCount, response, handleTerminalErrorOrResponse, e_1, delay;\n                return __generator(this, function (_b) {\n                    switch (_b.label) {\n                        case 0:\n                            attemptsCount = (_a = context.attemptsCount) !== null && _a !== void 0 ? _a : 0;\n                            handleTerminalErrorOrResponse = function () {\n                                if (response) {\n                                    addOrIncrementMetadataAttempts(response, attemptsCount);\n                                    return response;\n                                }\n                                else {\n                                    addOrIncrementMetadataAttempts(error, attemptsCount);\n                                    throw error;\n                                }\n                            };\n                            _b.label = 1;\n                        case 1:\n                            if (!(!(abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) && attemptsCount < maxAttempts)) return [3 /*break*/, 11];\n                            _b.label = 2;\n                        case 2:\n                            _b.trys.push([2, 4, , 5]);\n                            return [4 /*yield*/, next(request)];\n                        case 3:\n                            response = _b.sent();\n                            error = undefined;\n                            return [3 /*break*/, 5];\n                        case 4:\n                            e_1 = _b.sent();\n                            error = e_1;\n                            response = undefined;\n                            return [3 /*break*/, 5];\n                        case 5:\n                            // context.attemptsCount may be updated after calling next handler which may retry the request by itself.\n                            attemptsCount =\n                                context.attemptsCount > attemptsCount\n                                    ? context.attemptsCount\n                                    : attemptsCount + 1;\n                            context.attemptsCount = attemptsCount;\n                            return [4 /*yield*/, retryDecider(response, error)];\n                        case 6:\n                            if (!_b.sent()) return [3 /*break*/, 9];\n                            if (!(!(abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) && attemptsCount < maxAttempts)) return [3 /*break*/, 8];\n                            delay = computeDelay(attemptsCount);\n                            return [4 /*yield*/, cancellableSleep(delay, abortSignal)];\n                        case 7:\n                            _b.sent();\n                            _b.label = 8;\n                        case 8: return [3 /*break*/, 1];\n                        case 9: return [2 /*return*/, handleTerminalErrorOrResponse()];\n                        case 10: return [3 /*break*/, 1];\n                        case 11:\n                            if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) {\n                                throw new Error('Request aborted.');\n                            }\n                            else {\n                                return [2 /*return*/, handleTerminalErrorOrResponse()];\n                            }\n                            return [2 /*return*/];\n                    }\n                });\n            });\n        };\n    };\n};\nvar cancellableSleep = function (timeoutMs, abortSignal) {\n    if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) {\n        return Promise.resolve();\n    }\n    var timeoutId;\n    var sleepPromiseResolveFn;\n    var sleepPromise = new Promise(function (resolve) {\n        sleepPromiseResolveFn = resolve;\n        timeoutId = setTimeout(resolve, timeoutMs);\n    });\n    abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.addEventListener('abort', function cancelSleep(event) {\n        clearTimeout(timeoutId);\n        abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.removeEventListener('abort', cancelSleep);\n        sleepPromiseResolveFn();\n    });\n    return sleepPromise;\n};\nvar addOrIncrementMetadataAttempts = function (nextHandlerOutput, attempts) {\n    var _a;\n    if (Object.prototype.toString.call(nextHandlerOutput) !== '[object Object]') {\n        return;\n    }\n    nextHandlerOutput['$metadata'] = __assign(__assign({}, ((_a = nextHandlerOutput['$metadata']) !== null && _a !== void 0 ? _a : {})), { attempts: attempts });\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Compose a transfer handler with a core transfer handler and a list of middleware.\n * @param coreHandler Core transfer handler\n * @param middleware\tList of middleware\n * @returns A transfer handler whose option type is the union of the core\n * \ttransfer handler's option type and the middleware's option type.\n * @internal\n */\nexport var composeTransferHandler = function (coreHandler, middleware) {\n    return function (request, options) {\n        var context = {};\n        var composedHandler = function (request) { return coreHandler(request, options); };\n        for (var i = middleware.length - 1; i >= 0; i--) {\n            var m = middleware[i];\n            var resolvedMiddleware = m(options);\n            composedHandler = resolvedMiddleware(composedHandler, context);\n        }\n        return composedHandler(request);\n    };\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Cache the payload of a response body. It allows multiple calls to the body,\n * for example, when reading the body in both retry decider and error deserializer.\n * Caching body is allowed here because we call the body accessor(blob(), json(),\n * etc.) when body is small or streaming implementation is not available(RN).\n *\n * @internal\n */\nexport var withMemoization = function (payloadAccessor) {\n    var cached;\n    return function () {\n        if (!cached) {\n            // Explicitly not awaiting. Intermediate await would add overhead and\n            // introduce a possible race in the event that this wrapper is called\n            // again before the first `payloadAccessor` call resolves.\n            cached = payloadAccessor();\n        }\n        return cached;\n    };\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nimport 'isomorphic-unfetch'; // TODO: remove this dependency in v6\nimport { withMemoization } from '../utils/memoization';\nvar shouldSendBody = function (method) {\n    return !['HEAD', 'GET', 'DELETE'].includes(method.toUpperCase());\n};\nexport var fetchTransferHandler = function (_a, _b) {\n    var url = _a.url, method = _a.method, headers = _a.headers, body = _a.body;\n    var abortSignal = _b.abortSignal;\n    return __awaiter(void 0, void 0, void 0, function () {\n        var resp, e_1, responseHeaders, httpResponse, bodyWithMixin;\n        var _c, _d;\n        return __generator(this, function (_e) {\n            switch (_e.label) {\n                case 0:\n                    _e.trys.push([0, 2, , 3]);\n                    return [4 /*yield*/, fetch(url, {\n                            method: method,\n                            headers: headers,\n                            body: shouldSendBody(method) ? body : undefined,\n                            signal: abortSignal,\n                        })];\n                case 1:\n                    resp = _e.sent();\n                    return [3 /*break*/, 3];\n                case 2:\n                    e_1 = _e.sent();\n                    // TODO: needs to revise error handling in v6\n                    // For now this is a thin wrapper over original fetch error similar to cognito-identity-js package.\n                    // Ref: https://github.com/aws-amplify/amplify-js/blob/4fbc8c0a2be7526aab723579b4c95b552195a80b/packages/amazon-cognito-identity-js/src/Client.js#L103-L108\n                    if (e_1 instanceof TypeError) {\n                        throw new Error('Network error');\n                    }\n                    throw e_1;\n                case 3:\n                    responseHeaders = {};\n                    (_c = resp.headers) === null || _c === void 0 ? void 0 : _c.forEach(function (value, key) {\n                        responseHeaders[key.toLowerCase()] = value;\n                    });\n                    httpResponse = {\n                        statusCode: resp.status,\n                        headers: responseHeaders,\n                        body: null,\n                    };\n                    bodyWithMixin = Object.assign((_d = resp.body) !== null && _d !== void 0 ? _d : {}, {\n                        text: withMemoization(function () { return resp.text(); }),\n                        blob: withMemoization(function () { return resp.blob(); }),\n                        json: withMemoization(function () { return resp.json(); }),\n                    });\n                    return [2 /*return*/, __assign(__assign({}, httpResponse), { body: bodyWithMixin })];\n            }\n        });\n    });\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { retryMiddleware } from '../middleware/retry';\nimport { userAgentMiddleware } from '../middleware/userAgent';\nimport { composeTransferHandler } from '../internal/composeTransferHandler';\nimport { fetchTransferHandler } from './fetch';\nexport var unauthenticatedHandler = composeTransferHandler(fetchTransferHandler, [userAgentMiddleware, retryMiddleware]);\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\n/**\n * Middleware injects user agent string to specified header(default to 'x-amz-user-agent'),\n * if the header is not set already.\n *\n * TODO: incorporate new user agent design\n */\nexport var userAgentMiddleware = function (_a) {\n    var _b = _a.userAgentHeader, userAgentHeader = _b === void 0 ? 'x-amz-user-agent' : _b, _c = _a.userAgentValue, userAgentValue = _c === void 0 ? '' : _c;\n    return function (next) {\n        return function userAgentMiddleware(request) {\n            return __awaiter(this, void 0, void 0, function () {\n                var result, headerName, response;\n                return __generator(this, function (_a) {\n                    switch (_a.label) {\n                        case 0:\n                            if (!(userAgentValue.trim().length === 0)) return [3 /*break*/, 2];\n                            return [4 /*yield*/, next(request)];\n                        case 1:\n                            result = _a.sent();\n                            return [2 /*return*/, result];\n                        case 2:\n                            headerName = userAgentHeader.toLowerCase();\n                            request.headers[headerName] = request.headers[headerName]\n                                ? \"\".concat(request.headers[headerName], \" \").concat(userAgentValue)\n                                : userAgentValue;\n                            return [4 /*yield*/, next(request)];\n                        case 3:\n                            response = _a.sent();\n                            return [2 /*return*/, response];\n                    }\n                });\n            });\n        };\n    };\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nexport var parseMetadata = function (response) {\n    var _a, _b;\n    var headers = response.headers, statusCode = response.statusCode;\n    return __assign(__assign({}, (isMetadataBearer(response) ? response.$metadata : {})), { httpStatusCode: statusCode, requestId: (_b = (_a = headers['x-amzn-requestid']) !== null && _a !== void 0 ? _a : headers['x-amzn-request-id']) !== null && _b !== void 0 ? _b : headers['x-amz-request-id'], extendedRequestId: headers['x-amz-id-2'], cfId: headers['x-amz-cf-id'] });\n};\nvar isMetadataBearer = function (response) {\n    return typeof (response === null || response === void 0 ? void 0 : response['$metadata']) === 'object';\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nvar __read = (this && this.__read) || function (o, n) {\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n    if (!m) return o;\n    var i = m.call(o), r, ar = [], e;\n    try {\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n    }\n    catch (error) { e = { error: error }; }\n    finally {\n        try {\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\n        }\n        finally { if (e) throw e.error; }\n    }\n    return ar;\n};\nimport { parseMetadata } from './responseInfo';\n/**\n * Utility functions for serializing and deserializing of JSON protocol in general(including: REST-JSON, JSON-RPC, etc.)\n */\n/**\n * Error parser for AWS JSON protocol.\n */\nexport var parseJsonError = function (response) { return __awaiter(void 0, void 0, void 0, function () {\n    var body, sanitizeErrorCode, code, message, error;\n    var _a, _b, _c, _d, _e;\n    return __generator(this, function (_f) {\n        switch (_f.label) {\n            case 0:\n                if (!response || response.statusCode < 300) {\n                    return [2 /*return*/];\n                }\n                return [4 /*yield*/, parseJsonBody(response)];\n            case 1:\n                body = _f.sent();\n                sanitizeErrorCode = function (rawValue) {\n                    var _a = __read(rawValue.toString().split(/[\\,\\:]+/), 1), cleanValue = _a[0];\n                    if (cleanValue.includes('#')) {\n                        return cleanValue.split('#')[1];\n                    }\n                    return cleanValue;\n                };\n                code = sanitizeErrorCode((_c = (_b = (_a = response.headers['x-amzn-errortype']) !== null && _a !== void 0 ? _a : body.code) !== null && _b !== void 0 ? _b : body.__type) !== null && _c !== void 0 ? _c : 'UnknownError');\n                message = (_e = (_d = body.message) !== null && _d !== void 0 ? _d : body.Message) !== null && _e !== void 0 ? _e : 'Unknown error';\n                error = new Error(message);\n                return [2 /*return*/, Object.assign(error, {\n                        name: code,\n                        $metadata: parseMetadata(response),\n                    })];\n        }\n    });\n}); };\n/**\n * Parse JSON response body to JavaScript object.\n */\nexport var parseJsonBody = function (response) { return __awaiter(void 0, void 0, void 0, function () {\n    var output;\n    return __generator(this, function (_a) {\n        switch (_a.label) {\n            case 0:\n                if (!response.body) {\n                    throw new Error('Missing response payload');\n                }\n                return [4 /*yield*/, response.body.json()];\n            case 1:\n                output = _a.sent();\n                return [2 /*return*/, Object.assign(output, {\n                        $metadata: parseMetadata(response),\n                    })];\n        }\n    });\n}); };\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n// via https://github.com/aws/aws-sdk-js-v3/blob/ab0e7be36e7e7f8a0c04834357aaad643c7912c3/packages/service-error-classification/src/constants.ts#L8\nvar CLOCK_SKEW_ERROR_CODES = [\n    'AuthFailure',\n    'InvalidSignatureException',\n    'RequestExpired',\n    'RequestInTheFuture',\n    'RequestTimeTooSkewed',\n    'SignatureDoesNotMatch',\n    'BadRequestException', // API Gateway\n];\n/**\n * Given an error code, returns true if it is related to a clock skew error.\n *\n * @param errorCode String representation of some error.\n * @returns True if given error is present in `CLOCK_SKEW_ERROR_CODES`, false otherwise.\n *\n * @internal\n */\nexport var isClockSkewError = function (errorCode) {\n    return CLOCK_SKEW_ERROR_CODES.includes(errorCode);\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nimport { isClockSkewError } from './isClockSkewError';\n/**\n * Get retry decider function\n * @param errorParser Function to load JavaScript error from HTTP response\n */\nexport var getRetryDecider = function (errorParser) {\n    return function (response, error) { return __awaiter(void 0, void 0, void 0, function () {\n        var errorCode, _a, statusCode;\n        var _b;\n        return __generator(this, function (_c) {\n            switch (_c.label) {\n                case 0:\n                    if (!(error !== null && error !== void 0)) return [3 /*break*/, 1];\n                    _a = error;\n                    return [3 /*break*/, 3];\n                case 1: return [4 /*yield*/, errorParser(response)];\n                case 2:\n                    _a = (_c.sent());\n                    _c.label = 3;\n                case 3:\n                    errorCode = ((_b = _a) !== null && _b !== void 0 ? _b : {}).name;\n                    statusCode = response === null || response === void 0 ? void 0 : response.statusCode;\n                    return [2 /*return*/, (isConnectionError(error) ||\n                            isThrottlingError(statusCode, errorCode) ||\n                            isClockSkewError(errorCode) ||\n                            isServerSideError(statusCode, errorCode))];\n            }\n        });\n    }); };\n};\n// reference: https://github.com/aws/aws-sdk-js-v3/blob/ab0e7be36e7e7f8a0c04834357aaad643c7912c3/packages/service-error-classification/src/constants.ts#L22-L37\nvar THROTTLING_ERROR_CODES = [\n    'BandwidthLimitExceeded',\n    'EC2ThrottledException',\n    'LimitExceededException',\n    'PriorRequestNotComplete',\n    'ProvisionedThroughputExceededException',\n    'RequestLimitExceeded',\n    'RequestThrottled',\n    'RequestThrottledException',\n    'SlowDown',\n    'ThrottledException',\n    'Throttling',\n    'ThrottlingException',\n    'TooManyRequestsException',\n];\nvar TIMEOUT_ERROR_CODES = [\n    'TimeoutError',\n    'RequestTimeout',\n    'RequestTimeoutException',\n];\nvar isThrottlingError = function (statusCode, errorCode) {\n    return statusCode === 429 || THROTTLING_ERROR_CODES.includes(errorCode);\n};\nvar isConnectionError = function (error) { return (error === null || error === void 0 ? void 0 : error.name) === 'Network error'; };\nvar isServerSideError = function (statusCode, errorCode) {\n    return [500, 502, 503, 504].includes(statusCode) ||\n        TIMEOUT_ERROR_CODES.includes(errorCode);\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n// TODO: [v6] The separate retry utility is used by Data packages now and will replaced by retry middleware.\nimport { jitteredBackoff as jitteredBackoffUtil } from '../../../Util/Retry';\nvar DEFAULT_MAX_DELAY_MS = 5 * 60 * 1000;\nexport var jitteredBackoff = function (attempt) {\n    var delayFunction = jitteredBackoffUtil(DEFAULT_MAX_DELAY_MS);\n    var delay = delayFunction(attempt);\n    // The delayFunction returns false when the delay is greater than the max delay(5 mins).\n    // In this case, the retry middleware will delay 5 mins instead, as a ceiling of the delay.\n    return delay === false ? DEFAULT_MAX_DELAY_MS : delay;\n};\n","// generated by genversion\nexport var version = '5.3.26';\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Framework } from './types';\nimport { detect } from './detection';\n// We want to cache detection since the framework won't change\nvar frameworkCache;\nexport var frameworkChangeObservers = [];\n// Setup the detection reset tracking / timeout delays\nvar resetTriggered = false;\nvar SSR_RESET_TIMEOUT = 10; // ms\nvar WEB_RESET_TIMEOUT = 10; // ms\nvar PRIME_FRAMEWORK_DELAY = 1000; // ms\nexport var detectFramework = function () {\n    if (!frameworkCache) {\n        frameworkCache = detect();\n        if (resetTriggered) {\n            // The final run of detectFramework:\n            // Starting from this point, the `frameworkCache` becomes \"final\".\n            // So we don't need to notify the observers again so the observer\n            // can be removed after the final notice.\n            while (frameworkChangeObservers.length) {\n                frameworkChangeObservers.pop()();\n            }\n        }\n        else {\n            // The first run of detectFramework:\n            // Every time we update the cache, call each observer function\n            frameworkChangeObservers.forEach(function (fcn) { return fcn(); });\n        }\n        // Retry once for either Unknown type after a delay (explained below)\n        resetTimeout(Framework.ServerSideUnknown, SSR_RESET_TIMEOUT);\n        resetTimeout(Framework.WebUnknown, WEB_RESET_TIMEOUT);\n    }\n    return frameworkCache;\n};\n/**\n * @internal Setup observer callback that will be called everytime the framework changes\n */\nexport var observeFrameworkChanges = function (fcn) {\n    // When the `frameworkCache` won't be updated again, we ignore all incoming\n    // observers.\n    if (resetTriggered) {\n        return;\n    }\n    frameworkChangeObservers.push(fcn);\n};\nexport function clearCache() {\n    frameworkCache = undefined;\n}\n// For a framework type and a delay amount, setup the event to re-detect\n//   During the runtime boot, it is possible that framework detection will\n//   be triggered before the framework has made modifications to the\n//   global/window/etc needed for detection. When no framework is detected\n//   we will reset and try again to ensure we don't use a cached\n//   non-framework detection result for all requests.\nfunction resetTimeout(framework, delay) {\n    if (frameworkCache === framework && !resetTriggered) {\n        setTimeout(function () {\n            clearCache();\n            resetTriggered = true;\n            setTimeout(detectFramework, PRIME_FRAMEWORK_DELAY);\n        }, delay);\n    }\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport var globalExists = function () {\n    return typeof global !== 'undefined';\n};\nexport var globalThisExists = function () {\n    return typeof globalThis !== 'undefined';\n};\nexport var windowExists = function () {\n    return typeof window !== 'undefined';\n};\nexport var documentExists = function () {\n    return typeof document !== 'undefined';\n};\nexport var processExists = function () {\n    return typeof process !== 'undefined';\n};\nexport var keyPrefixMatch = function (object, prefix) {\n    return !!Object.keys(object).find(function (key) { return key.startsWith(prefix); });\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Framework } from '../types';\nimport { reactWebDetect, reactSSRDetect } from './React';\nimport { vueWebDetect, vueSSRDetect } from './Vue';\nimport { svelteWebDetect, svelteSSRDetect } from './Svelte';\nimport { nextWebDetect, nextSSRDetect } from './Next';\nimport { nuxtWebDetect, nuxtSSRDetect } from './Nuxt';\nimport { angularWebDetect, angularSSRDetect } from './Angular';\nimport { reactNativeDetect } from './ReactNative';\nimport { expoDetect } from './Expo';\nimport { webDetect } from './Web';\n// These are in the order of detection where when both are detectable, the early Framework will be reported\nvar detectionMap = [\n    // First, detect mobile\n    { platform: Framework.Expo, detectionMethod: expoDetect },\n    { platform: Framework.ReactNative, detectionMethod: reactNativeDetect },\n    // Next, detect web frameworks\n    { platform: Framework.NextJs, detectionMethod: nextWebDetect },\n    { platform: Framework.Nuxt, detectionMethod: nuxtWebDetect },\n    { platform: Framework.Angular, detectionMethod: angularWebDetect },\n    { platform: Framework.React, detectionMethod: reactWebDetect },\n    { platform: Framework.VueJs, detectionMethod: vueWebDetect },\n    { platform: Framework.Svelte, detectionMethod: svelteWebDetect },\n    { platform: Framework.WebUnknown, detectionMethod: webDetect },\n    // Last, detect ssr frameworks\n    { platform: Framework.NextJsSSR, detectionMethod: nextSSRDetect },\n    { platform: Framework.NuxtSSR, detectionMethod: nuxtSSRDetect },\n    { platform: Framework.ReactSSR, detectionMethod: reactSSRDetect },\n    { platform: Framework.VueJsSSR, detectionMethod: vueSSRDetect },\n    { platform: Framework.AngularSSR, detectionMethod: angularSSRDetect },\n    { platform: Framework.SvelteSSR, detectionMethod: svelteSSRDetect },\n];\nexport function detect() {\n    var _a;\n    return (((_a = detectionMap.find(function (detectionEntry) { return detectionEntry.detectionMethod(); })) === null || _a === void 0 ? void 0 : _a.platform) || Framework.ServerSideUnknown);\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { globalExists } from './helpers';\n// Tested with expo 48 / react-native 0.71.3\nexport function expoDetect() {\n    // @ts-ignore\n    return globalExists() && typeof global['expo'] !== 'undefined';\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n// Tested with react-native 0.17.7\nexport function reactNativeDetect() {\n    return (typeof navigator !== 'undefined' &&\n        typeof navigator.product !== 'undefined' &&\n        navigator.product === 'ReactNative');\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { globalExists, keyPrefixMatch, windowExists } from './helpers';\n// Tested with next 13.4 / react 18.2\nexport function nextWebDetect() {\n    // @ts-ignore\n    return windowExists() && window['next'] && typeof window['next'] === 'object';\n}\nexport function nextSSRDetect() {\n    return (globalExists() &&\n        (keyPrefixMatch(global, '__next') || keyPrefixMatch(global, '__NEXT')));\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { globalExists, windowExists } from './helpers';\n// Tested with nuxt 2.15 / vue 2.7\nexport function nuxtWebDetect() {\n    return (windowExists() &&\n        // @ts-ignore\n        (window['__NUXT__'] !== undefined || window['$nuxt'] !== undefined));\n}\nexport function nuxtSSRDetect() {\n    // @ts-ignore\n    return globalExists() && typeof global['__NUXT_PATHS__'] !== 'undefined';\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { documentExists, processExists, windowExists } from './helpers';\n// Tested with @angular/core 16.0.0\nexport function angularWebDetect() {\n    var angularVersionSetInDocument = Boolean(documentExists() && document.querySelector('[ng-version]'));\n    var angularContentSetInWindow = Boolean(\n    // @ts-ignore\n    windowExists() && typeof window['ng'] !== 'undefined');\n    return angularVersionSetInDocument || angularContentSetInWindow;\n}\nexport function angularSSRDetect() {\n    var _a;\n    return ((processExists() &&\n        typeof process.env === 'object' &&\n        ((_a = process.env['npm_lifecycle_script']) === null || _a === void 0 ? void 0 : _a.startsWith('ng '))) ||\n        false);\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { documentExists, processExists } from './helpers';\n// Tested with react 18.2 - built using Vite\nexport function reactWebDetect() {\n    var elementKeyPrefixedWithReact = function (key) {\n        return key.startsWith('_react') || key.startsWith('__react');\n    };\n    var elementIsReactEnabled = function (element) {\n        return Object.keys(element).find(elementKeyPrefixedWithReact);\n    };\n    var allElementsWithId = function () { return Array.from(document.querySelectorAll('[id]')); };\n    return documentExists() && allElementsWithId().some(elementIsReactEnabled);\n}\nexport function reactSSRDetect() {\n    return (processExists() &&\n        typeof process.env !== 'undefined' &&\n        !!Object.keys(process.env).find(function (key) { return key.includes('react'); }));\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { globalExists, keyPrefixMatch, windowExists } from './helpers';\n// Tested with vue 3.3.2\nexport function vueWebDetect() {\n    return windowExists() && keyPrefixMatch(window, '__VUE');\n}\nexport function vueSSRDetect() {\n    return globalExists() && keyPrefixMatch(global, '__VUE');\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { keyPrefixMatch, processExists, windowExists } from './helpers';\n// Tested with svelte 3.59\nexport function svelteWebDetect() {\n    return windowExists() && keyPrefixMatch(window, '__SVELTE');\n}\nexport function svelteSSRDetect() {\n    return (processExists() &&\n        typeof process.env !== 'undefined' &&\n        !!Object.keys(process.env).find(function (key) { return key.includes('svelte'); }));\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { windowExists } from './helpers';\nexport function webDetect() {\n    return windowExists();\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __read = (this && this.__read) || function (o, n) {\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n    if (!m) return o;\n    var i = m.call(o), r, ar = [], e;\n    try {\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n    }\n    catch (error) { e = { error: error }; }\n    finally {\n        try {\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\n        }\n        finally { if (e) throw e.error; }\n    }\n    return ar;\n};\nimport { Framework } from './types';\nimport { version } from './version';\nimport { detectFramework, observeFrameworkChanges } from './detectFramework';\nvar BASE_USER_AGENT = \"aws-amplify\";\nvar PlatformBuilder = /** @class */ (function () {\n    function PlatformBuilder() {\n        this.userAgent = \"\".concat(BASE_USER_AGENT, \"/\").concat(version);\n    }\n    Object.defineProperty(PlatformBuilder.prototype, \"framework\", {\n        get: function () {\n            return detectFramework();\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Object.defineProperty(PlatformBuilder.prototype, \"isReactNative\", {\n        get: function () {\n            return (this.framework === Framework.ReactNative ||\n                this.framework === Framework.Expo);\n        },\n        enumerable: false,\n        configurable: true\n    });\n    PlatformBuilder.prototype.observeFrameworkChanges = function (fcn) {\n        observeFrameworkChanges(fcn);\n    };\n    return PlatformBuilder;\n}());\nexport var Platform = new PlatformBuilder();\nexport var getAmplifyUserAgentObject = function (_a) {\n    var _b = _a === void 0 ? {} : _a, category = _b.category, action = _b.action, framework = _b.framework;\n    var userAgent = [[BASE_USER_AGENT, version]];\n    if (category) {\n        userAgent.push([category, action]);\n    }\n    userAgent.push(['framework', detectFramework()]);\n    return userAgent;\n};\nexport var getAmplifyUserAgent = function (customUserAgentDetails) {\n    var userAgent = getAmplifyUserAgentObject(customUserAgentDetails);\n    var userAgentString = userAgent\n        .map(function (_a) {\n        var _b = __read(_a, 2), agentKey = _b[0], agentValue = _b[1];\n        return \"\".concat(agentKey, \"/\").concat(agentValue);\n    })\n        .join(' ');\n    return userAgentString;\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nimport { getDnsSuffix, unauthenticatedHandler, parseJsonError, } from '../../clients';\nimport { composeTransferHandler } from '../../clients/internal/composeTransferHandler';\nimport { jitteredBackoff, getRetryDecider, } from '../../clients/middleware/retry';\nimport { getAmplifyUserAgent } from '../../Platform';\nimport { observeFrameworkChanges } from '../../Platform/detectFramework';\n/**\n * The service name used to sign requests if the API requires authentication.\n */\nvar SERVICE_NAME = 'cognito-identity';\n/**\n * The endpoint resolver function that returns the endpoint URL for a given region.\n */\nvar endpointResolver = function (_a) {\n    var region = _a.region;\n    return ({\n        url: new URL(\"https://cognito-identity.\".concat(region, \".\").concat(getDnsSuffix(region))),\n    });\n};\n/**\n * A Cognito Identity-specific middleware that disables caching for all requests.\n */\nvar disableCacheMiddleware = function () { return function (next, context) {\n    return function disableCacheMiddleware(request) {\n        return __awaiter(this, void 0, void 0, function () {\n            return __generator(this, function (_a) {\n                request.headers['cache-control'] = 'no-store';\n                return [2 /*return*/, next(request)];\n            });\n        });\n    };\n}; };\n/**\n * A Cognito Identity-specific transfer handler that does NOT sign requests, and\n * disables caching.\n *\n * @internal\n */\nexport var cognitoIdentityTransferHandler = composeTransferHandler(unauthenticatedHandler, [disableCacheMiddleware]);\n/**\n * @internal\n */\nexport var defaultConfig = {\n    service: SERVICE_NAME,\n    endpointResolver: endpointResolver,\n    retryDecider: getRetryDecider(parseJsonError),\n    computeDelay: jitteredBackoff,\n    userAgentValue: getAmplifyUserAgent(),\n};\nobserveFrameworkChanges(function () {\n    defaultConfig.userAgentValue = getAmplifyUserAgent();\n});\n/**\n * @internal\n */\nexport var getSharedHeaders = function (operation) { return ({\n    'content-type': 'application/x-amz-json-1.1',\n    'x-amz-target': \"AWSCognitoIdentityService.\".concat(operation),\n}); };\n/**\n * @internal\n */\nexport var buildHttpRpcRequest = function (_a, headers, body) {\n    var url = _a.url;\n    return ({\n        headers: headers,\n        url: url,\n        body: body,\n        method: 'POST',\n    });\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nexport var composeServiceApi = function (transferHandler, serializer, deserializer, defaultConfig) {\n    return function (config, input) { return __awaiter(void 0, void 0, void 0, function () {\n        var resolvedConfig, endpoint, request, response;\n        return __generator(this, function (_a) {\n            switch (_a.label) {\n                case 0:\n                    resolvedConfig = __assign(__assign({}, defaultConfig), config);\n                    return [4 /*yield*/, resolvedConfig.endpointResolver(resolvedConfig, input)];\n                case 1:\n                    endpoint = _a.sent();\n                    return [4 /*yield*/, serializer(input, endpoint)];\n                case 2:\n                    request = _a.sent();\n                    return [4 /*yield*/, transferHandler(request, __assign({}, resolvedConfig))];\n                case 3:\n                    response = _a.sent();\n                    return [4 /*yield*/, deserializer(response)];\n                case 4: return [2 /*return*/, _a.sent()];\n            }\n        });\n    }); };\n};\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nimport { buildHttpRpcRequest, cognitoIdentityTransferHandler, defaultConfig, getSharedHeaders, } from './base';\nimport { parseJsonBody, parseJsonError, parseMetadata, } from '../../clients';\nimport { composeServiceApi } from '../../clients/internal';\nvar getIdSerializer = function (input, endpoint) {\n    var headers = getSharedHeaders('GetId');\n    var body = JSON.stringify(input);\n    return buildHttpRpcRequest(endpoint, headers, body);\n};\nvar getIdDeserializer = function (response) { return __awaiter(void 0, void 0, void 0, function () {\n    var error, body;\n    return __generator(this, function (_a) {\n        switch (_a.label) {\n            case 0:\n                if (!(response.statusCode >= 300)) return [3 /*break*/, 2];\n                return [4 /*yield*/, parseJsonError(response)];\n            case 1:\n                error = _a.sent();\n                throw error;\n            case 2: return [4 /*yield*/, parseJsonBody(response)];\n            case 3:\n                body = _a.sent();\n                return [2 /*return*/, {\n                        IdentityId: body.IdentityId,\n                        $metadata: parseMetadata(response),\n                    }];\n        }\n    });\n}); };\n/**\n * @internal\n */\nexport var getId = composeServiceApi(cognitoIdentityTransferHandler, getIdSerializer, getIdDeserializer, defaultConfig);\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nimport { buildHttpRpcRequest, cognitoIdentityTransferHandler, defaultConfig, getSharedHeaders, } from './base';\nimport { parseJsonBody, parseJsonError, parseMetadata, } from '../../clients';\nimport { composeServiceApi } from '../../clients/internal';\nvar getCredentialsForIdentitySerializer = function (input, endpoint) {\n    var headers = getSharedHeaders('GetCredentialsForIdentity');\n    var body = JSON.stringify(input);\n    return buildHttpRpcRequest(endpoint, headers, body);\n};\nvar getCredentialsForIdentityDeserializer = function (response) { return __awaiter(void 0, void 0, void 0, function () {\n    var error, body;\n    return __generator(this, function (_a) {\n        switch (_a.label) {\n            case 0:\n                if (!(response.statusCode >= 300)) return [3 /*break*/, 2];\n                return [4 /*yield*/, parseJsonError(response)];\n            case 1:\n                error = _a.sent();\n                throw error;\n            case 2: return [4 /*yield*/, parseJsonBody(response)];\n            case 3:\n                body = _a.sent();\n                return [2 /*return*/, {\n                        IdentityId: body.IdentityId,\n                        Credentials: deserializeCredentials(body.Credentials),\n                        $metadata: parseMetadata(response),\n                    }];\n        }\n    });\n}); };\nvar deserializeCredentials = function (output) {\n    if (output === void 0) { output = {}; }\n    return ({\n        AccessKeyId: output['AccessKeyId'],\n        SecretKey: output['SecretKey'],\n        SessionToken: output['SessionToken'],\n        Expiration: new Date(output['Expiration'] * 1000),\n    });\n};\n/**\n * @internal\n */\nexport var getCredentialsForIdentity = composeServiceApi(cognitoIdentityTransferHandler, getCredentialsForIdentitySerializer, getCredentialsForIdentityDeserializer, defaultConfig);\n","var __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nimport { ConsoleLogger as Logger } from './Logger';\nvar logger = new Logger('Parser');\nexport var parseAWSExports = function (config) {\n    var amplifyConfig = {};\n    // Analytics\n    if (config['aws_mobile_analytics_app_id']) {\n        var Analytics = {\n            AWSPinpoint: {\n                appId: config['aws_mobile_analytics_app_id'],\n                region: config['aws_mobile_analytics_app_region'],\n            },\n        };\n        amplifyConfig.Analytics = Analytics;\n    }\n    // Auth\n    if (config['aws_cognito_identity_pool_id'] || config['aws_user_pools_id']) {\n        amplifyConfig.Auth = {\n            userPoolId: config['aws_user_pools_id'],\n            userPoolWebClientId: config['aws_user_pools_web_client_id'],\n            region: config['aws_cognito_region'],\n            identityPoolId: config['aws_cognito_identity_pool_id'],\n            identityPoolRegion: config['aws_cognito_region'],\n            mandatorySignIn: config['aws_mandatory_sign_in'] === 'enable',\n            signUpVerificationMethod: config['aws_cognito_sign_up_verification_method'] || 'code',\n        };\n    }\n    // Storage\n    var storageConfig;\n    if (config['aws_user_files_s3_bucket']) {\n        storageConfig = {\n            AWSS3: {\n                bucket: config['aws_user_files_s3_bucket'],\n                region: config['aws_user_files_s3_bucket_region'],\n                dangerouslyConnectToHttpEndpointForTesting: config['aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing'],\n            },\n        };\n    }\n    else {\n        storageConfig = config ? config.Storage || config : {};\n    }\n    // Logging\n    if (config['Logging']) {\n        amplifyConfig.Logging = __assign(__assign({}, config['Logging']), { region: config['aws_project_region'] });\n    }\n    // Geo\n    if (config['geo']) {\n        amplifyConfig.Geo = Object.assign({}, config.geo);\n        if (config.geo['amazon_location_service']) {\n            amplifyConfig.Geo = {\n                AmazonLocationService: config.geo['amazon_location_service'],\n            };\n        }\n    }\n    amplifyConfig.Analytics = Object.assign({}, amplifyConfig.Analytics, config.Analytics);\n    amplifyConfig.Auth = Object.assign({}, amplifyConfig.Auth, config.Auth);\n    amplifyConfig.Storage = Object.assign({}, storageConfig);\n    amplifyConfig.Logging = Object.assign({}, amplifyConfig.Logging, config.Logging);\n    logger.debug('parse config', config, 'to amplifyconfig', amplifyConfig);\n    return amplifyConfig;\n};\n","var __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (g && (g = 0, op[0] && (_ = 0)), _) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ConsoleLogger as Logger } from './Logger';\nimport { StorageHelper } from './StorageHelper';\nimport { makeQuerablePromise } from './JS';\nimport { FacebookOAuth, GoogleOAuth } from './OAuthHelper';\nimport { jitteredExponentialRetry } from './Util';\nimport { Amplify } from './Amplify';\nimport { getId, getCredentialsForIdentity } from './AwsClients/CognitoIdentity';\nimport { parseAWSExports } from './parseAWSExports';\nimport { Hub } from './Hub';\nvar logger = new Logger('Credentials');\nvar CREDENTIALS_TTL = 50 * 60 * 1000; // 50 min, can be modified on config if required in the future\nvar COGNITO_IDENTITY_KEY_PREFIX = 'CognitoIdentityId-';\nvar AMPLIFY_SYMBOL = (typeof Symbol !== 'undefined' && typeof Symbol.for === 'function'\n    ? Symbol.for('amplify_default')\n    : '@@amplify_default');\nvar dispatchCredentialsEvent = function (event, data, message) {\n    Hub.dispatch('core', { event: event, data: data, message: message }, 'Credentials', AMPLIFY_SYMBOL);\n};\nvar CredentialsClass = /** @class */ (function () {\n    function CredentialsClass(config) {\n        this._gettingCredPromise = null;\n        this._refreshHandlers = {};\n        // Allow `Auth` to be injected for SSR, but Auth isn't a required dependency for Credentials\n        this.Auth = undefined;\n        this.configure(config);\n        this._refreshHandlers['google'] = GoogleOAuth.refreshGoogleToken;\n        this._refreshHandlers['facebook'] = FacebookOAuth.refreshFacebookToken;\n    }\n    CredentialsClass.prototype.getModuleName = function () {\n        return 'Credentials';\n    };\n    CredentialsClass.prototype.getCredSource = function () {\n        return this._credentials_source;\n    };\n    CredentialsClass.prototype.configure = function (config) {\n        if (!config)\n            return this._config || {};\n        this._config = Object.assign({}, this._config, config);\n        var refreshHandlers = this._config.refreshHandlers;\n        // If the developer has provided an object of refresh handlers,\n        // then we can merge the provided handlers with the current handlers.\n        if (refreshHandlers) {\n            this._refreshHandlers = __assign(__assign({}, this._refreshHandlers), refreshHandlers);\n        }\n        this._storage = this._config.storage;\n        if (!this._storage) {\n            this._storage = new StorageHelper().getStorage();\n        }\n        this._storageSync = Promise.resolve();\n        if (typeof this._storage['sync'] === 'function') {\n            this._storageSync = this._storage['sync']();\n        }\n        dispatchCredentialsEvent('credentials_configured', null, \"Credentials has been configured successfully\");\n        return this._config;\n    };\n    CredentialsClass.prototype.get = function () {\n        logger.debug('getting credentials');\n        return this._pickupCredentials();\n    };\n    // currently we only store the guest identity in local storage\n    CredentialsClass.prototype._getCognitoIdentityIdStorageKey = function (identityPoolId) {\n        return \"\".concat(COGNITO_IDENTITY_KEY_PREFIX).concat(identityPoolId);\n    };\n    CredentialsClass.prototype._pickupCredentials = function () {\n        logger.debug('picking up credentials');\n        if (!this._gettingCredPromise || !this._gettingCredPromise.isPending()) {\n            logger.debug('getting new cred promise');\n            this._gettingCredPromise = makeQuerablePromise(this._keepAlive());\n        }\n        else {\n            logger.debug('getting old cred promise');\n        }\n        return this._gettingCredPromise;\n    };\n    CredentialsClass.prototype._keepAlive = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var cred, _a, Auth, user_1, session, refreshToken_1, refreshRequest, err_1;\n            return __generator(this, function (_b) {\n                switch (_b.label) {\n                    case 0:\n                        logger.debug('checking if credentials exists and not expired');\n                        cred = this._credentials;\n                        if (cred && !this._isExpired(cred) && !this._isPastTTL()) {\n                            logger.debug('credentials not changed and not expired, directly return');\n                            return [2 /*return*/, Promise.resolve(cred)];\n                        }\n                        logger.debug('need to get a new credential or refresh the existing one');\n                        _a = this.Auth, Auth = _a === void 0 ? Amplify.Auth : _a;\n                        if (!Auth || typeof Auth.currentUserCredentials !== 'function') {\n                            // If Auth module is not imported, do a best effort to get guest credentials\n                            return [2 /*return*/, this._setCredentialsForGuest()];\n                        }\n                        if (!(!this._isExpired(cred) && this._isPastTTL())) return [3 /*break*/, 6];\n                        logger.debug('ttl has passed but token is not yet expired');\n                        _b.label = 1;\n                    case 1:\n                        _b.trys.push([1, 5, , 6]);\n                        return [4 /*yield*/, Auth.currentUserPoolUser()];\n                    case 2:\n                        user_1 = _b.sent();\n                        return [4 /*yield*/, Auth.currentSession()];\n                    case 3:\n                        session = _b.sent();\n                        refreshToken_1 = session.refreshToken;\n                        refreshRequest = new Promise(function (res, rej) {\n                            user_1.refreshSession(refreshToken_1, function (err, data) {\n                                return err ? rej(err) : res(data);\n                            });\n                        });\n                        return [4 /*yield*/, refreshRequest];\n                    case 4:\n                        _b.sent(); // note that rejections will be caught and handled in the catch block.\n                        return [3 /*break*/, 6];\n                    case 5:\n                        err_1 = _b.sent();\n                        // should not throw because user might just be on guest access or is authenticated through federation\n                        logger.debug('Error attempting to refreshing the session', err_1);\n                        return [3 /*break*/, 6];\n                    case 6: return [2 /*return*/, Auth.currentUserCredentials()];\n                }\n            });\n        });\n    };\n    CredentialsClass.prototype.refreshFederatedToken = function (federatedInfo) {\n        logger.debug('Getting federated credentials');\n        var provider = federatedInfo.provider, user = federatedInfo.user, token = federatedInfo.token, identity_id = federatedInfo.identity_id;\n        var expires_at = federatedInfo.expires_at;\n        // Make sure expires_at is in millis\n        expires_at =\n            new Date(expires_at).getFullYear() === 1970\n                ? expires_at * 1000\n                : expires_at;\n        var that = this;\n        logger.debug('checking if federated jwt token expired');\n        if (expires_at > new Date().getTime()) {\n            // if not expired\n            logger.debug('token not expired');\n            return this._setCredentialsFromFederation({\n                provider: provider,\n                token: token,\n                user: user,\n                identity_id: identity_id,\n                expires_at: expires_at,\n            });\n        }\n        else {\n            // if refresh handler exists\n            if (that._refreshHandlers[provider] &&\n                typeof that._refreshHandlers[provider] === 'function') {\n                logger.debug('getting refreshed jwt token from federation provider');\n                return this._providerRefreshWithRetry({\n                    refreshHandler: that._refreshHandlers[provider],\n                    provider: provider,\n                    user: user,\n                });\n            }\n            else {\n                logger.debug('no refresh handler for provider:', provider);\n                this.clear();\n                return Promise.reject('no refresh handler for provider');\n            }\n        }\n    };\n    CredentialsClass.prototype._providerRefreshWithRetry = function (_a) {\n        var _this = this;\n        var refreshHandler = _a.refreshHandler, provider = _a.provider, user = _a.user;\n        var MAX_DELAY_MS = 10 * 1000;\n        // refreshHandler will retry network errors, otherwise it will\n        // return NonRetryableError to break out of jitteredExponentialRetry\n        return jitteredExponentialRetry(refreshHandler, [], MAX_DELAY_MS)\n            .then(function (data) {\n            logger.debug('refresh federated token sucessfully', data);\n            return _this._setCredentialsFromFederation({\n                provider: provider,\n                token: data.token,\n                user: user,\n                identity_id: data.identity_id,\n                expires_at: data.expires_at,\n            });\n        })\n            .catch(function (e) {\n            var isNetworkError = typeof e === 'string' &&\n                e.toLowerCase().lastIndexOf('network error', e.length) === 0;\n            if (!isNetworkError) {\n                _this.clear();\n            }\n            logger.debug('refresh federated token failed', e);\n            return Promise.reject('refreshing federation token failed: ' + e);\n        });\n    };\n    CredentialsClass.prototype._isExpired = function (credentials) {\n        if (!credentials) {\n            logger.debug('no credentials for expiration check');\n            return true;\n        }\n        logger.debug('are these credentials expired?', credentials);\n        var ts = Date.now();\n        /* returns date object.\n            https://github.com/aws/aws-sdk-js-v3/blob/v1.0.0-beta.1/packages/types/src/credentials.ts#L26\n        */\n        var expiration = credentials.expiration;\n        return expiration.getTime() <= ts;\n    };\n    CredentialsClass.prototype._isPastTTL = function () {\n        return this._nextCredentialsRefresh <= Date.now();\n    };\n    CredentialsClass.prototype._setCredentialsForGuest = function () {\n        var _a;\n        return __awaiter(this, void 0, void 0, function () {\n            var _b, identityPoolId, region, mandatorySignIn, identityPoolRegion, identityId, _c, cognitoConfig, guestCredentialsProvider, credentials;\n            var _this = this;\n            return __generator(this, function (_d) {\n                switch (_d.label) {\n                    case 0:\n                        logger.debug('setting credentials for guest');\n                        if (!((_a = this._config) === null || _a === void 0 ? void 0 : _a.identityPoolId)) {\n                            // If Credentials are not configured thru Auth module,\n                            // doing best effort to check if the library was configured\n                            this._config = Object.assign({}, this._config, parseAWSExports(this._config || {}).Auth);\n                        }\n                        _b = this._config, identityPoolId = _b.identityPoolId, region = _b.region, mandatorySignIn = _b.mandatorySignIn, identityPoolRegion = _b.identityPoolRegion;\n                        if (mandatorySignIn) {\n                            return [2 /*return*/, Promise.reject('cannot get guest credentials when mandatory signin enabled')];\n                        }\n                        if (!identityPoolId) {\n                            logger.debug('No Cognito Identity pool provided for unauthenticated access');\n                            return [2 /*return*/, Promise.reject('No Cognito Identity pool provided for unauthenticated access')];\n                        }\n                        if (!identityPoolRegion && !region) {\n                            logger.debug('region is not configured for getting the credentials');\n                            return [2 /*return*/, Promise.reject('region is not configured for getting the credentials')];\n                        }\n                        _c = this;\n                        return [4 /*yield*/, this._getGuestIdentityId()];\n                    case 1:\n                        identityId = (_c._identityId = _d.sent());\n                        cognitoConfig = { region: identityPoolRegion !== null && identityPoolRegion !== void 0 ? identityPoolRegion : region };\n                        guestCredentialsProvider = function () { return __awaiter(_this, void 0, void 0, function () {\n                            var IdentityId, Credentials;\n                            return __generator(this, function (_a) {\n                                switch (_a.label) {\n                                    case 0:\n                                        if (!!identityId) return [3 /*break*/, 2];\n                                        return [4 /*yield*/, getId(cognitoConfig, {\n                                                IdentityPoolId: identityPoolId,\n                                            })];\n                                    case 1:\n                                        IdentityId = (_a.sent()).IdentityId;\n                                        this._identityId = IdentityId;\n                                        _a.label = 2;\n                                    case 2: return [4 /*yield*/, getCredentialsForIdentity(cognitoConfig, {\n                                            IdentityId: this._identityId,\n                                        })];\n                                    case 3:\n                                        Credentials = (_a.sent()).Credentials;\n                                        return [2 /*return*/, {\n                                                identityId: this._identityId,\n                                                accessKeyId: Credentials.AccessKeyId,\n                                                secretAccessKey: Credentials.SecretKey,\n                                                sessionToken: Credentials.SessionToken,\n                                                expiration: Credentials.Expiration,\n                                            }];\n                                }\n                            });\n                        }); };\n                        credentials = guestCredentialsProvider().catch(function (err) { return __awaiter(_this, void 0, void 0, function () {\n                            return __generator(this, function (_a) {\n                                throw err;\n                            });\n                        }); });\n                        return [2 /*return*/, this._loadCredentials(credentials, 'guest', false, null)\n                                .then(function (res) {\n                                return res;\n                            })\n                                .catch(function (e) { return __awaiter(_this, void 0, void 0, function () {\n                                var guestCredentialsProvider_1;\n                                var _this = this;\n                                return __generator(this, function (_a) {\n                                    switch (_a.label) {\n                                        case 0:\n                                            if (!(e.name === 'ResourceNotFoundException' &&\n                                                e.message === \"Identity '\".concat(identityId, \"' not found.\"))) return [3 /*break*/, 2];\n                                            logger.debug('Failed to load guest credentials');\n                                            return [4 /*yield*/, this._removeGuestIdentityId()];\n                                        case 1:\n                                            _a.sent();\n                                            guestCredentialsProvider_1 = function () { return __awaiter(_this, void 0, void 0, function () {\n                                                var IdentityId, Credentials;\n                                                return __generator(this, function (_a) {\n                                                    switch (_a.label) {\n                                                        case 0: return [4 /*yield*/, getId(cognitoConfig, {\n                                                                IdentityPoolId: identityPoolId,\n                                                            })];\n                                                        case 1:\n                                                            IdentityId = (_a.sent()).IdentityId;\n                                                            this._identityId = IdentityId;\n                                                            return [4 /*yield*/, getCredentialsForIdentity(cognitoConfig, {\n                                                                    IdentityId: IdentityId,\n                                                                })];\n                                                        case 2:\n                                                            Credentials = (_a.sent()).Credentials;\n                                                            return [2 /*return*/, {\n                                                                    identityId: IdentityId,\n                                                                    accessKeyId: Credentials.AccessKeyId,\n                                                                    secretAccessKey: Credentials.SecretKey,\n                                                                    sessionToken: Credentials.SessionToken,\n                                                                    expiration: Credentials.Expiration,\n                                                                }];\n                                                    }\n                                                });\n                                            }); };\n                                            credentials = guestCredentialsProvider_1().catch(function (err) { return __awaiter(_this, void 0, void 0, function () {\n                                                return __generator(this, function (_a) {\n                                                    throw err;\n                                                });\n                                            }); });\n                                            return [2 /*return*/, this._loadCredentials(credentials, 'guest', false, null)];\n                                        case 2: return [2 /*return*/, e];\n                                    }\n                                });\n                            }); })];\n                }\n            });\n        });\n    };\n    CredentialsClass.prototype._setCredentialsFromFederation = function (params) {\n        var _this = this;\n        var provider = params.provider, token = params.token;\n        var identity_id = params.identity_id;\n        var domains = {\n            google: 'accounts.google.com',\n            facebook: 'graph.facebook.com',\n            amazon: 'www.amazon.com',\n            developer: 'cognito-identity.amazonaws.com',\n        };\n        // Use custom provider url instead of the predefined ones\n        var domain = domains[provider] || provider;\n        if (!domain) {\n            return Promise.reject('You must specify a federated provider');\n        }\n        var logins = {};\n        logins[domain] = token;\n        var _a = this._config, identityPoolId = _a.identityPoolId, region = _a.region, identityPoolRegion = _a.identityPoolRegion;\n        if (!identityPoolId) {\n            logger.debug('No Cognito Federated Identity pool provided');\n            return Promise.reject('No Cognito Federated Identity pool provided');\n        }\n        if (!identityPoolRegion && !region) {\n            logger.debug('region is not configured for getting the credentials');\n            return Promise.reject('region is not configured for getting the credentials');\n        }\n        var cognitoConfig = { region: identityPoolRegion !== null && identityPoolRegion !== void 0 ? identityPoolRegion : region };\n        var authenticatedCredentialsProvider = function () { return __awaiter(_this, void 0, void 0, function () {\n            var IdentityId, Credentials;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        if (!!identity_id) return [3 /*break*/, 2];\n                        return [4 /*yield*/, getId(cognitoConfig, {\n                                IdentityPoolId: identityPoolId,\n                                Logins: logins,\n                            })];\n                    case 1:\n                        IdentityId = (_a.sent()).IdentityId;\n                        identity_id = IdentityId;\n                        _a.label = 2;\n                    case 2: return [4 /*yield*/, getCredentialsForIdentity(cognitoConfig, {\n                            IdentityId: identity_id,\n                            Logins: logins,\n                        })];\n                    case 3:\n                        Credentials = (_a.sent()).Credentials;\n                        return [2 /*return*/, {\n                                identityId: identity_id,\n                                accessKeyId: Credentials.AccessKeyId,\n                                secretAccessKey: Credentials.SecretKey,\n                                sessionToken: Credentials.SessionToken,\n                                expiration: Credentials.Expiration,\n                            }];\n                }\n            });\n        }); };\n        var credentials = authenticatedCredentialsProvider().catch(function (err) { return __awaiter(_this, void 0, void 0, function () {\n            return __generator(this, function (_a) {\n                throw err;\n            });\n        }); });\n        return this._loadCredentials(credentials, 'federated', true, params);\n    };\n    CredentialsClass.prototype._setCredentialsFromSession = function (session) {\n        var _this = this;\n        logger.debug('set credentials from session');\n        var idToken = session.getIdToken().getJwtToken();\n        var _a = this._config, region = _a.region, userPoolId = _a.userPoolId, identityPoolId = _a.identityPoolId, identityPoolRegion = _a.identityPoolRegion;\n        if (!identityPoolId) {\n            logger.debug('No Cognito Federated Identity pool provided');\n            return Promise.reject('No Cognito Federated Identity pool provided');\n        }\n        if (!identityPoolRegion && !region) {\n            logger.debug('region is not configured for getting the credentials');\n            return Promise.reject('region is not configured for getting the credentials');\n        }\n        var key = 'cognito-idp.' + region + '.amazonaws.com/' + userPoolId;\n        var logins = {};\n        logins[key] = idToken;\n        var cognitoConfig = { region: identityPoolRegion !== null && identityPoolRegion !== void 0 ? identityPoolRegion : region };\n        /*\n            Retreiving identityId with GetIdCommand to mimic the behavior in the following code in aws-sdk-v3:\n            https://git.io/JeDxU\n\n            Note: Retreive identityId from CredentialsProvider once aws-sdk-js v3 supports this.\n        */\n        var credentialsProvider = function () { return __awaiter(_this, void 0, void 0, function () {\n            var guestIdentityId, generatedOrRetrievedIdentityId, IdentityId, _a, _b, AccessKeyId, Expiration, SecretKey, SessionToken, primaryIdentityId;\n            return __generator(this, function (_c) {\n                switch (_c.label) {\n                    case 0: return [4 /*yield*/, this._getGuestIdentityId()];\n                    case 1:\n                        guestIdentityId = _c.sent();\n                        if (!!guestIdentityId) return [3 /*break*/, 3];\n                        return [4 /*yield*/, getId(cognitoConfig, {\n                                IdentityPoolId: identityPoolId,\n                                Logins: logins,\n                            })];\n                    case 2:\n                        IdentityId = (_c.sent()).IdentityId;\n                        generatedOrRetrievedIdentityId = IdentityId;\n                        _c.label = 3;\n                    case 3: return [4 /*yield*/, getCredentialsForIdentity(cognitoConfig, {\n                            IdentityId: guestIdentityId || generatedOrRetrievedIdentityId,\n                            Logins: logins,\n                        })];\n                    case 4:\n                        _a = _c.sent(), _b = _a.Credentials, AccessKeyId = _b.AccessKeyId, Expiration = _b.Expiration, SecretKey = _b.SecretKey, SessionToken = _b.SessionToken, primaryIdentityId = _a.IdentityId;\n                        this._identityId = primaryIdentityId;\n                        if (!guestIdentityId) return [3 /*break*/, 6];\n                        // if guestIdentity is found and used by GetCredentialsForIdentity\n                        // it will be linked to the logins provided, and disqualified as an unauth identity\n                        logger.debug(\"The guest identity \".concat(guestIdentityId, \" has been successfully linked to the logins\"));\n                        if (guestIdentityId === primaryIdentityId) {\n                            logger.debug(\"The guest identity \".concat(guestIdentityId, \" has become the primary identity\"));\n                        }\n                        // remove it from local storage to avoid being used as a guest Identity by _setCredentialsForGuest\n                        return [4 /*yield*/, this._removeGuestIdentityId()];\n                    case 5:\n                        // remove it from local storage to avoid being used as a guest Identity by _setCredentialsForGuest\n                        _c.sent();\n                        _c.label = 6;\n                    case 6: \n                    // https://github.com/aws/aws-sdk-js-v3/blob/main/packages/credential-provider-cognito-identity/src/fromCognitoIdentity.ts#L40\n                    return [2 /*return*/, {\n                            accessKeyId: AccessKeyId,\n                            secretAccessKey: SecretKey,\n                            sessionToken: SessionToken,\n                            expiration: Expiration,\n                            identityId: primaryIdentityId,\n                        }];\n                }\n            });\n        }); };\n        var credentials = credentialsProvider().catch(function (err) { return __awaiter(_this, void 0, void 0, function () {\n            return __generator(this, function (_a) {\n                throw err;\n            });\n        }); });\n        return this._loadCredentials(credentials, 'userPool', true, null);\n    };\n    CredentialsClass.prototype._loadCredentials = function (credentials, source, authenticated, info) {\n        var _this = this;\n        var that = this;\n        return new Promise(function (res, rej) {\n            credentials\n                .then(function (credentials) { return __awaiter(_this, void 0, void 0, function () {\n                var user, provider, token, expires_at, identity_id;\n                return __generator(this, function (_a) {\n                    switch (_a.label) {\n                        case 0:\n                            logger.debug('Load credentials successfully', credentials);\n                            if (this._identityId && !credentials.identityId) {\n                                credentials['identityId'] = this._identityId;\n                            }\n                            that._credentials = credentials;\n                            that._credentials.authenticated = authenticated;\n                            that._credentials_source = source;\n                            that._nextCredentialsRefresh = new Date().getTime() + CREDENTIALS_TTL;\n                            if (source === 'federated') {\n                                user = Object.assign({ id: this._credentials.identityId }, info.user);\n                                provider = info.provider, token = info.token, expires_at = info.expires_at, identity_id = info.identity_id;\n                                try {\n                                    this._storage.setItem('aws-amplify-federatedInfo', JSON.stringify({\n                                        provider: provider,\n                                        token: token,\n                                        user: user,\n                                        expires_at: expires_at,\n                                        identity_id: identity_id,\n                                    }));\n                                }\n                                catch (e) {\n                                    logger.debug('Failed to put federated info into auth storage', e);\n                                }\n                            }\n                            if (!(source === 'guest')) return [3 /*break*/, 2];\n                            return [4 /*yield*/, this._setGuestIdentityId(credentials.identityId)];\n                        case 1:\n                            _a.sent();\n                            _a.label = 2;\n                        case 2:\n                            res(that._credentials);\n                            return [2 /*return*/];\n                    }\n                });\n            }); })\n                .catch(function (err) {\n                if (err) {\n                    logger.debug('Failed to load credentials', credentials);\n                    logger.debug('Error loading credentials', err);\n                    rej(err);\n                    return;\n                }\n            });\n        });\n    };\n    CredentialsClass.prototype.set = function (params, source) {\n        if (source === 'session') {\n            return this._setCredentialsFromSession(params);\n        }\n        else if (source === 'federation') {\n            return this._setCredentialsFromFederation(params);\n        }\n        else if (source === 'guest') {\n            return this._setCredentialsForGuest();\n        }\n        else {\n            logger.debug('no source specified for setting credentials');\n            return Promise.reject('invalid source');\n        }\n    };\n    CredentialsClass.prototype.clear = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            return __generator(this, function (_a) {\n                this._credentials = null;\n                this._credentials_source = null;\n                logger.debug('removing aws-amplify-federatedInfo from storage');\n                this._storage.removeItem('aws-amplify-federatedInfo');\n                return [2 /*return*/];\n            });\n        });\n    };\n    /* operations on local stored guest identity */\n    CredentialsClass.prototype._getGuestIdentityId = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var identityPoolId, e_1;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        identityPoolId = this._config.identityPoolId;\n                        _a.label = 1;\n                    case 1:\n                        _a.trys.push([1, 3, , 4]);\n                        return [4 /*yield*/, this._storageSync];\n                    case 2:\n                        _a.sent();\n                        return [2 /*return*/, this._storage.getItem(this._getCognitoIdentityIdStorageKey(identityPoolId))];\n                    case 3:\n                        e_1 = _a.sent();\n                        logger.debug('Failed to get the cached guest identityId', e_1);\n                        return [3 /*break*/, 4];\n                    case 4: return [2 /*return*/];\n                }\n            });\n        });\n    };\n    CredentialsClass.prototype._setGuestIdentityId = function (identityId) {\n        return __awaiter(this, void 0, void 0, function () {\n            var identityPoolId, e_2;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        identityPoolId = this._config.identityPoolId;\n                        _a.label = 1;\n                    case 1:\n                        _a.trys.push([1, 3, , 4]);\n                        return [4 /*yield*/, this._storageSync];\n                    case 2:\n                        _a.sent();\n                        this._storage.setItem(this._getCognitoIdentityIdStorageKey(identityPoolId), identityId);\n                        return [3 /*break*/, 4];\n                    case 3:\n                        e_2 = _a.sent();\n                        logger.debug('Failed to cache guest identityId', e_2);\n                        return [3 /*break*/, 4];\n                    case 4: return [2 /*return*/];\n                }\n            });\n        });\n    };\n    CredentialsClass.prototype._removeGuestIdentityId = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var identityPoolId;\n            return __generator(this, function (_a) {\n                identityPoolId = this._config.identityPoolId;\n                logger.debug(\"removing \".concat(this._getCognitoIdentityIdStorageKey(identityPoolId), \" from storage\"));\n                this._storage.removeItem(this._getCognitoIdentityIdStorageKey(identityPoolId));\n                return [2 /*return*/];\n            });\n        });\n    };\n    /**\n     * Compact version of credentials\n     * @param {Object} credentials\n     * @return {Object} - Credentials\n     */\n    CredentialsClass.prototype.shear = function (credentials) {\n        return {\n            accessKeyId: credentials.accessKeyId,\n            sessionToken: credentials.sessionToken,\n            secretAccessKey: credentials.secretAccessKey,\n            identityId: credentials.identityId,\n            authenticated: credentials.authenticated,\n        };\n    };\n    return CredentialsClass;\n}());\nexport { CredentialsClass };\nexport var Credentials = new CredentialsClass(null);\nAmplify.register(Credentials);\n","var cookie = {};\n\n/*!\n * cookie\n * Copyright(c) 2012-2014 Roman Shtylman\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\nvar hasRequiredCookie;\n\nfunction requireCookie () {\n\tif (hasRequiredCookie) return cookie;\n\thasRequiredCookie = 1;\n\n\t/**\n\t * Module exports.\n\t * @public\n\t */\n\n\tcookie.parse = parse;\n\tcookie.serialize = serialize;\n\n\t/**\n\t * Module variables.\n\t * @private\n\t */\n\n\tvar __toString = Object.prototype.toString;\n\tvar __hasOwnProperty = Object.prototype.hasOwnProperty;\n\n\t/**\n\t * RegExp to match cookie-name in RFC 6265 sec 4.1.1\n\t * This refers out to the obsoleted definition of token in RFC 2616 sec 2.2\n\t * which has been replaced by the token definition in RFC 7230 appendix B.\n\t *\n\t * cookie-name       = token\n\t * token             = 1*tchar\n\t * tchar             = \"!\" / \"#\" / \"$\" / \"%\" / \"&\" / \"'\" /\n\t *                     \"*\" / \"+\" / \"-\" / \".\" / \"^\" / \"_\" /\n\t *                     \"`\" / \"|\" / \"~\" / DIGIT / ALPHA\n\t */\n\n\tvar cookieNameRegExp = /^[!#$%&'*+\\-.^_`|~0-9A-Za-z]+$/;\n\n\t/**\n\t * RegExp to match cookie-value in RFC 6265 sec 4.1.1\n\t *\n\t * cookie-value      = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )\n\t * cookie-octet      = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n\t *                     ; US-ASCII characters excluding CTLs,\n\t *                     ; whitespace DQUOTE, comma, semicolon,\n\t *                     ; and backslash\n\t */\n\n\tvar cookieValueRegExp = /^(\"?)[\\u0021\\u0023-\\u002B\\u002D-\\u003A\\u003C-\\u005B\\u005D-\\u007E]*\\1$/;\n\n\t/**\n\t * RegExp to match domain-value in RFC 6265 sec 4.1.1\n\t *\n\t * domain-value      = <subdomain>\n\t *                     ; defined in [RFC1034], Section 3.5, as\n\t *                     ; enhanced by [RFC1123], Section 2.1\n\t * <subdomain>       = <label> | <subdomain> \".\" <label>\n\t * <label>           = <let-dig> [ [ <ldh-str> ] <let-dig> ]\n\t *                     Labels must be 63 characters or less.\n\t *                     'let-dig' not 'letter' in the first char, per RFC1123\n\t * <ldh-str>         = <let-dig-hyp> | <let-dig-hyp> <ldh-str>\n\t * <let-dig-hyp>     = <let-dig> | \"-\"\n\t * <let-dig>         = <letter> | <digit>\n\t * <letter>          = any one of the 52 alphabetic characters A through Z in\n\t *                     upper case and a through z in lower case\n\t * <digit>           = any one of the ten digits 0 through 9\n\t *\n\t * Keep support for leading dot: https://github.com/jshttp/cookie/issues/173\n\t *\n\t * > (Note that a leading %x2E (\".\"), if present, is ignored even though that\n\t * character is not permitted, but a trailing %x2E (\".\"), if present, will\n\t * cause the user agent to ignore the attribute.)\n\t */\n\n\tvar domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;\n\n\t/**\n\t * RegExp to match path-value in RFC 6265 sec 4.1.1\n\t *\n\t * path-value        = <any CHAR except CTLs or \";\">\n\t * CHAR              = %x01-7F\n\t *                     ; defined in RFC 5234 appendix B.1\n\t */\n\n\tvar pathValueRegExp = /^[\\u0020-\\u003A\\u003D-\\u007E]*$/;\n\n\t/**\n\t * Parse a cookie header.\n\t *\n\t * Parse the given cookie header string into an object\n\t * The object has the various cookies as keys(names) => values\n\t *\n\t * @param {string} str\n\t * @param {object} [opt]\n\t * @return {object}\n\t * @public\n\t */\n\n\tfunction parse(str, opt) {\n\t  if (typeof str !== 'string') {\n\t    throw new TypeError('argument str must be a string');\n\t  }\n\n\t  var obj = {};\n\t  var len = str.length;\n\t  // RFC 6265 sec 4.1.1, RFC 2616 2.2 defines a cookie name consists of one char minimum, plus '='.\n\t  if (len < 2) return obj;\n\n\t  var dec = (opt && opt.decode) || decode;\n\t  var index = 0;\n\t  var eqIdx = 0;\n\t  var endIdx = 0;\n\n\t  do {\n\t    eqIdx = str.indexOf('=', index);\n\t    if (eqIdx === -1) break; // No more cookie pairs.\n\n\t    endIdx = str.indexOf(';', index);\n\n\t    if (endIdx === -1) {\n\t      endIdx = len;\n\t    } else if (eqIdx > endIdx) {\n\t      // backtrack on prior semicolon\n\t      index = str.lastIndexOf(';', eqIdx - 1) + 1;\n\t      continue;\n\t    }\n\n\t    var keyStartIdx = startIndex(str, index, eqIdx);\n\t    var keyEndIdx = endIndex(str, eqIdx, keyStartIdx);\n\t    var key = str.slice(keyStartIdx, keyEndIdx);\n\n\t    // only assign once\n\t    if (!__hasOwnProperty.call(obj, key)) {\n\t      var valStartIdx = startIndex(str, eqIdx + 1, endIdx);\n\t      var valEndIdx = endIndex(str, endIdx, valStartIdx);\n\n\t      if (str.charCodeAt(valStartIdx) === 0x22 /* \" */ && str.charCodeAt(valEndIdx - 1) === 0x22 /* \" */) {\n\t        valStartIdx++;\n\t        valEndIdx--;\n\t      }\n\n\t      var val = str.slice(valStartIdx, valEndIdx);\n\t      obj[key] = tryDecode(val, dec);\n\t    }\n\n\t    index = endIdx + 1;\n\t  } while (index < len);\n\n\t  return obj;\n\t}\n\n\tfunction startIndex(str, index, max) {\n\t  do {\n\t    var code = str.charCodeAt(index);\n\t    if (code !== 0x20 /*   */ && code !== 0x09 /* \\t */) return index;\n\t  } while (++index < max);\n\t  return max;\n\t}\n\n\tfunction endIndex(str, index, min) {\n\t  while (index > min) {\n\t    var code = str.charCodeAt(--index);\n\t    if (code !== 0x20 /*   */ && code !== 0x09 /* \\t */) return index + 1;\n\t  }\n\t  return min;\n\t}\n\n\t/**\n\t * Serialize data into a cookie header.\n\t *\n\t * Serialize a name value pair into a cookie string suitable for\n\t * http headers. An optional options object specifies cookie parameters.\n\t *\n\t * serialize('foo', 'bar', { httpOnly: true })\n\t *   => \"foo=bar; httpOnly\"\n\t *\n\t * @param {string} name\n\t * @param {string} val\n\t * @param {object} [opt]\n\t * @return {string}\n\t * @public\n\t */\n\n\tfunction serialize(name, val, opt) {\n\t  var enc = (opt && opt.encode) || encodeURIComponent;\n\n\t  if (typeof enc !== 'function') {\n\t    throw new TypeError('option encode is invalid');\n\t  }\n\n\t  if (!cookieNameRegExp.test(name)) {\n\t    throw new TypeError('argument name is invalid');\n\t  }\n\n\t  var value = enc(val);\n\n\t  if (!cookieValueRegExp.test(value)) {\n\t    throw new TypeError('argument val is invalid');\n\t  }\n\n\t  var str = name + '=' + value;\n\t  if (!opt) return str;\n\n\t  if (null != opt.maxAge) {\n\t    var maxAge = Math.floor(opt.maxAge);\n\n\t    if (!isFinite(maxAge)) {\n\t      throw new TypeError('option maxAge is invalid')\n\t    }\n\n\t    str += '; Max-Age=' + maxAge;\n\t  }\n\n\t  if (opt.domain) {\n\t    if (!domainValueRegExp.test(opt.domain)) {\n\t      throw new TypeError('option domain is invalid');\n\t    }\n\n\t    str += '; Domain=' + opt.domain;\n\t  }\n\n\t  if (opt.path) {\n\t    if (!pathValueRegExp.test(opt.path)) {\n\t      throw new TypeError('option path is invalid');\n\t    }\n\n\t    str += '; Path=' + opt.path;\n\t  }\n\n\t  if (opt.expires) {\n\t    var expires = opt.expires;\n\n\t    if (!isDate(expires) || isNaN(expires.valueOf())) {\n\t      throw new TypeError('option expires is invalid');\n\t    }\n\n\t    str += '; Expires=' + expires.toUTCString();\n\t  }\n\n\t  if (opt.httpOnly) {\n\t    str += '; HttpOnly';\n\t  }\n\n\t  if (opt.secure) {\n\t    str += '; Secure';\n\t  }\n\n\t  if (opt.partitioned) {\n\t    str += '; Partitioned';\n\t  }\n\n\t  if (opt.priority) {\n\t    var priority = typeof opt.priority === 'string'\n\t      ? opt.priority.toLowerCase() : opt.priority;\n\n\t    switch (priority) {\n\t      case 'low':\n\t        str += '; Priority=Low';\n\t        break\n\t      case 'medium':\n\t        str += '; Priority=Medium';\n\t        break\n\t      case 'high':\n\t        str += '; Priority=High';\n\t        break\n\t      default:\n\t        throw new TypeError('option priority is invalid')\n\t    }\n\t  }\n\n\t  if (opt.sameSite) {\n\t    var sameSite = typeof opt.sameSite === 'string'\n\t      ? opt.sameSite.toLowerCase() : opt.sameSite;\n\n\t    switch (sameSite) {\n\t      case true:\n\t        str += '; SameSite=Strict';\n\t        break;\n\t      case 'lax':\n\t        str += '; SameSite=Lax';\n\t        break;\n\t      case 'strict':\n\t        str += '; SameSite=Strict';\n\t        break;\n\t      case 'none':\n\t        str += '; SameSite=None';\n\t        break;\n\t      default:\n\t        throw new TypeError('option sameSite is invalid');\n\t    }\n\t  }\n\n\t  return str;\n\t}\n\n\t/**\n\t * URL-decode string value. Optimized to skip native call when no %.\n\t *\n\t * @param {string} str\n\t * @returns {string}\n\t */\n\n\tfunction decode (str) {\n\t  return str.indexOf('%') !== -1\n\t    ? decodeURIComponent(str)\n\t    : str\n\t}\n\n\t/**\n\t * Determine if value is a Date.\n\t *\n\t * @param {*} val\n\t * @private\n\t */\n\n\tfunction isDate (val) {\n\t  return __toString.call(val) === '[object Date]';\n\t}\n\n\t/**\n\t * Try decoding a string using a decoding function.\n\t *\n\t * @param {string} str\n\t * @param {function} decode\n\t * @private\n\t */\n\n\tfunction tryDecode(str, decode) {\n\t  try {\n\t    return decode(str);\n\t  } catch (e) {\n\t    return str;\n\t  }\n\t}\n\treturn cookie;\n}\n\nvar cookieExports = requireCookie();\n\nfunction hasDocumentCookie() {\n    const testingValue = typeof global === 'undefined'\n        ? undefined\n        : global.TEST_HAS_DOCUMENT_COOKIE;\n    if (typeof testingValue === 'boolean') {\n        return testingValue;\n    }\n    // Can we get/set cookies on document.cookie?\n    return typeof document === 'object' && typeof document.cookie === 'string';\n}\nfunction parseCookies(cookies) {\n    if (typeof cookies === 'string') {\n        return cookieExports.parse(cookies);\n    }\n    else if (typeof cookies === 'object' && cookies !== null) {\n        return cookies;\n    }\n    else {\n        return {};\n    }\n}\nfunction readCookie(value, options = {}) {\n    const cleanValue = cleanupCookieValue(value);\n    if (!options.doNotParse) {\n        try {\n            return JSON.parse(cleanValue);\n        }\n        catch (e) {\n            // At least we tried\n        }\n    }\n    // Ignore clean value if we failed the deserialization\n    // It is not relevant anymore to trim those values\n    return value;\n}\nfunction cleanupCookieValue(value) {\n    // express prepend j: before serializing a cookie\n    if (value && value[0] === 'j' && value[1] === ':') {\n        return value.substr(2);\n    }\n    return value;\n}\n\nclass Cookies {\n    constructor(cookies, defaultSetOptions = {}) {\n        this.changeListeners = [];\n        this.HAS_DOCUMENT_COOKIE = false;\n        this.update = () => {\n            if (!this.HAS_DOCUMENT_COOKIE) {\n                return;\n            }\n            const previousCookies = this.cookies;\n            this.cookies = cookieExports.parse(document.cookie);\n            this._checkChanges(previousCookies);\n        };\n        const domCookies = typeof document === 'undefined' ? '' : document.cookie;\n        this.cookies = parseCookies(cookies || domCookies);\n        this.defaultSetOptions = defaultSetOptions;\n        this.HAS_DOCUMENT_COOKIE = hasDocumentCookie();\n    }\n    _emitChange(params) {\n        for (let i = 0; i < this.changeListeners.length; ++i) {\n            this.changeListeners[i](params);\n        }\n    }\n    _checkChanges(previousCookies) {\n        const names = new Set(Object.keys(previousCookies).concat(Object.keys(this.cookies)));\n        names.forEach((name) => {\n            if (previousCookies[name] !== this.cookies[name]) {\n                this._emitChange({\n                    name,\n                    value: readCookie(this.cookies[name]),\n                });\n            }\n        });\n    }\n    _startPolling() {\n        this.pollingInterval = setInterval(this.update, 300);\n    }\n    _stopPolling() {\n        if (this.pollingInterval) {\n            clearInterval(this.pollingInterval);\n        }\n    }\n    get(name, options = {}) {\n        if (!options.doNotUpdate) {\n            this.update();\n        }\n        return readCookie(this.cookies[name], options);\n    }\n    getAll(options = {}) {\n        if (!options.doNotUpdate) {\n            this.update();\n        }\n        const result = {};\n        for (let name in this.cookies) {\n            result[name] = readCookie(this.cookies[name], options);\n        }\n        return result;\n    }\n    set(name, value, options) {\n        if (options) {\n            options = Object.assign(Object.assign({}, this.defaultSetOptions), options);\n        }\n        else {\n            options = this.defaultSetOptions;\n        }\n        const stringValue = typeof value === 'string' ? value : JSON.stringify(value);\n        this.cookies = Object.assign(Object.assign({}, this.cookies), { [name]: stringValue });\n        if (this.HAS_DOCUMENT_COOKIE) {\n            document.cookie = cookieExports.serialize(name, stringValue, options);\n        }\n        this._emitChange({ name, value, options });\n    }\n    remove(name, options) {\n        const finalOptions = (options = Object.assign(Object.assign(Object.assign({}, this.defaultSetOptions), options), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 }));\n        this.cookies = Object.assign({}, this.cookies);\n        delete this.cookies[name];\n        if (this.HAS_DOCUMENT_COOKIE) {\n            document.cookie = cookieExports.serialize(name, '', finalOptions);\n        }\n        this._emitChange({ name, value: undefined, options });\n    }\n    addChangeListener(callback) {\n        this.changeListeners.push(callback);\n        if (this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 1) {\n            if (typeof window === 'object' && 'cookieStore' in window) {\n                window.cookieStore.addEventListener('change', this.update);\n            }\n            else {\n                this._startPolling();\n            }\n        }\n    }\n    removeChangeListener(callback) {\n        const idx = this.changeListeners.indexOf(callback);\n        if (idx >= 0) {\n            this.changeListeners.splice(idx, 1);\n        }\n        if (this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 0) {\n            if (typeof window === 'object' && 'cookieStore' in window) {\n                window.cookieStore.removeEventListener('change', this.update);\n            }\n            else {\n                this._stopPolling();\n            }\n        }\n    }\n}\n\nexport { Cookies as default };\n","var __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport Cookies from 'universal-cookie';\nimport { browserOrNode } from '../JS';\nvar isBrowser = browserOrNode().isBrowser;\nvar ONE_YEAR_IN_MS = 365 * 24 * 60 * 60 * 1000;\nvar UniversalStorage = /** @class */ (function () {\n    function UniversalStorage(context) {\n        if (context === void 0) { context = {}; }\n        this.cookies = new Cookies();\n        this.store = isBrowser ? window.localStorage : Object.create(null);\n        this.cookies = context.req\n            ? new Cookies(decodeURIComponent(context.req.headers.cookie))\n            : new Cookies();\n        Object.assign(this.store, this.cookies.getAll());\n    }\n    Object.defineProperty(UniversalStorage.prototype, \"length\", {\n        get: function () {\n            return Object.entries(this.store).length;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    UniversalStorage.prototype.clear = function () {\n        var _this = this;\n        Array.from(new Array(this.length))\n            .map(function (_, i) { return _this.key(i); })\n            .forEach(function (key) { return _this.removeItem(key); });\n    };\n    UniversalStorage.prototype.getItem = function (key) {\n        return this.getLocalItem(key);\n    };\n    UniversalStorage.prototype.getLocalItem = function (key) {\n        return Object.prototype.hasOwnProperty.call(this.store, key)\n            ? this.store[key]\n            : null;\n    };\n    UniversalStorage.prototype.getUniversalItem = function (key) {\n        return this.cookies.get(key);\n    };\n    UniversalStorage.prototype.key = function (index) {\n        return Object.keys(this.store)[index];\n    };\n    UniversalStorage.prototype.removeItem = function (key) {\n        this.removeLocalItem(key);\n        this.removeUniversalItem(key);\n    };\n    UniversalStorage.prototype.removeLocalItem = function (key) {\n        delete this.store[key];\n    };\n    UniversalStorage.prototype.removeUniversalItem = function (key) {\n        this.cookies.remove(key, {\n            path: '/',\n        });\n    };\n    UniversalStorage.prototype.setItem = function (key, value) {\n        this.setLocalItem(key, value);\n        // keys take the shape:\n        //  1. `${ProviderPrefix}.${userPoolClientId}.${username}.${tokenType}\n        //  2. `${ProviderPrefix}.${userPoolClientId}.LastAuthUser\n        var tokenType = key.split('.').pop();\n        var sessionTokenTypes = [\n            'LastAuthUser',\n            'accessToken',\n            // refreshToken originates on the client, but SSR pages won't fail when this expires\n            // Note: the new `accessToken` will also be refreshed on the client (since Amplify doesn't set server-side cookies)\n            'refreshToken',\n            // Required for CognitoUserSession\n            'idToken',\n            // userData is used when `Auth.currentAuthenticatedUser({ bypassCache: false })`.\n            // Can be persisted to speed up calls to `Auth.currentAuthenticatedUser()`\n            // 'userData',\n            // Ignoring clockDrift on the server for now, but needs testing\n            // 'clockDrift',\n        ];\n        if (sessionTokenTypes.includes(tokenType !== null && tokenType !== void 0 ? tokenType : '')) {\n            this.setUniversalItem(key, value, {\n                expires: new Date(Date.now() + ONE_YEAR_IN_MS),\n            });\n        }\n    };\n    UniversalStorage.prototype.setLocalItem = function (key, value) {\n        this.store[key] = value;\n    };\n    UniversalStorage.prototype.setUniversalItem = function (key, value, options) {\n        if (options === void 0) { options = {}; }\n        this.cookies.set(key, value, __assign(__assign({}, options), { path: '/', \n            // `httpOnly` cannot be set via JavaScript: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#JavaScript_access_using_Document.cookie\n            sameSite: true, \n            // Allow unsecure requests to http://localhost:3000/ when in development.\n            secure: isBrowser && window.location.hostname === 'localhost' ? false : true }));\n    };\n    return UniversalStorage;\n}());\nexport { UniversalStorage };\n","var crypto;\n\n// Native crypto from window (Browser)\nif (typeof window !== 'undefined' && window.crypto) {\n  crypto = window.crypto;\n}\n\n// Native (experimental IE 11) crypto from window (Browser)\nif (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n  crypto = window.msCrypto;\n}\n\n// Native crypto from global (NodeJS)\nif (!crypto && typeof global !== 'undefined' && global.crypto) {\n  crypto = global.crypto;\n}\n\n// Native crypto import via require (NodeJS)\nif (!crypto && typeof require === 'function') {\n  try {\n    crypto = require('crypto');\n  } catch (err) {}\n}\n\n/*\n * Cryptographically secure pseudorandom number generator\n * As Math.random() is cryptographically not safe to use\n */\nexport default function cryptoSecureRandomInt() {\n  if (crypto) {\n    // Use getRandomValues method (Browser)\n    if (typeof crypto.getRandomValues === 'function') {\n      try {\n        return crypto.getRandomValues(new Uint32Array(1))[0];\n      } catch (err) {}\n    }\n\n    // Use randomBytes method (NodeJS)\n    if (typeof crypto.randomBytes === 'function') {\n      try {\n        return crypto.randomBytes(4).readInt32LE();\n      } catch (err) {}\n    }\n  }\n  throw new Error('Native crypto module could not be used to get secure random number.');\n}","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n/** @class */\nvar AuthenticationDetails = /*#__PURE__*/function () {\n  /**\n   * Constructs a new AuthenticationDetails object\n   * @param {object=} data Creation options.\n   * @param {string} data.Username User being authenticated.\n   * @param {string} data.Password Plain-text password to authenticate with.\n   * @param {(AttributeArg[])?} data.ValidationData Application extra metadata.\n   * @param {(AttributeArg[])?} data.AuthParamaters Authentication paramaters for custom auth.\n   */\n  function AuthenticationDetails(data) {\n    var _ref = data || {},\n      ValidationData = _ref.ValidationData,\n      Username = _ref.Username,\n      Password = _ref.Password,\n      AuthParameters = _ref.AuthParameters,\n      ClientMetadata = _ref.ClientMetadata;\n    this.validationData = ValidationData || {};\n    this.authParameters = AuthParameters || {};\n    this.clientMetadata = ClientMetadata || {};\n    this.username = Username;\n    this.password = Password;\n  }\n\n  /**\n   * @returns {string} the record's username\n   */\n  var _proto = AuthenticationDetails.prototype;\n  _proto.getUsername = function getUsername() {\n    return this.username;\n  }\n\n  /**\n   * @returns {string} the record's password\n   */;\n  _proto.getPassword = function getPassword() {\n    return this.password;\n  }\n\n  /**\n   * @returns {Array} the record's validationData\n   */;\n  _proto.getValidationData = function getValidationData() {\n    return this.validationData;\n  }\n\n  /**\n   * @returns {Array} the record's authParameters\n   */;\n  _proto.getAuthParameters = function getAuthParameters() {\n    return this.authParameters;\n  }\n\n  /**\n   * @returns {ClientMetadata} the clientMetadata for a Lambda trigger\n   */;\n  _proto.getClientMetadata = function getClientMetadata() {\n    return this.clientMetadata;\n  };\n  return AuthenticationDetails;\n}();\nexport { AuthenticationDetails as default };","import cryptoSecureRandomInt from './cryptoSecureRandomInt';\n\n/**\n * Hex encoding strategy.\n * Converts a word array to a hex string.\n * @param {WordArray} wordArray The word array.\n * @return {string} The hex string.\n * @static\n */\nfunction hexStringify(wordArray) {\n  // Shortcuts\n  var words = wordArray.words;\n  var sigBytes = wordArray.sigBytes;\n\n  // Convert\n  var hexChars = [];\n  for (var i = 0; i < sigBytes; i++) {\n    var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 0xff;\n    hexChars.push((bite >>> 4).toString(16));\n    hexChars.push((bite & 0x0f).toString(16));\n  }\n  return hexChars.join('');\n}\nvar WordArray = /*#__PURE__*/function () {\n  function WordArray(words, sigBytes) {\n    words = this.words = words || [];\n    if (sigBytes != undefined) {\n      this.sigBytes = sigBytes;\n    } else {\n      this.sigBytes = words.length * 4;\n    }\n  }\n  var _proto = WordArray.prototype;\n  _proto.random = function random(nBytes) {\n    var words = [];\n    for (var i = 0; i < nBytes; i += 4) {\n      words.push(cryptoSecureRandomInt());\n    }\n    return new WordArray(words, nBytes);\n  };\n  _proto.toString = function toString() {\n    return hexStringify(this);\n  };\n  return WordArray;\n}();\nexport { WordArray as default };","// A small implementation of BigInteger based on http://www-cs-students.stanford.edu/~tjw/jsbn/\n//\n// All public methods have been removed except the following:\n//   new BigInteger(a, b) (only radix 2, 4, 8, 16 and 32 supported)\n//   toString (only radix 2, 4, 8, 16 and 32 supported)\n//   negate\n//   abs\n//   compareTo\n//   bitLength\n//   mod\n//   equals\n//   add\n//   subtract\n//   multiply\n//   divide\n//   modPow\n\nexport default BigInteger;\n\n/*\n * Copyright (c) 2003-2005  Tom Wu\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS-IS\" AND WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY\n * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.\n *\n * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,\n * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER\n * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF\n * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT\n * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\n * In addition, the following condition applies:\n *\n * All redistributions must retain an intact copy of this copyright notice\n * and disclaimer.\n */\n\n// (public) Constructor\nfunction BigInteger(a, b) {\n  if (a != null) this.fromString(a, b);\n}\n\n// return new, unset BigInteger\nfunction nbi() {\n  return new BigInteger(null);\n}\n\n// Bits per digit\nvar dbits;\n\n// JavaScript engine analysis\nvar canary = 0xdeadbeefcafe;\nvar j_lm = (canary & 0xffffff) == 0xefcafe;\n\n// am: Compute w_j += (x*this_i), propagate carries,\n// c is initial carry, returns final carry.\n// c < 3*dvalue, x < 2*dvalue, this_i < dvalue\n// We need to select the fastest one that works in this environment.\n\n// am1: use a single mult and divide to get the high bits,\n// max digit bits should be 26 because\n// max internal value = 2*dvalue^2-2*dvalue (< 2^53)\nfunction am1(i, x, w, j, c, n) {\n  while (--n >= 0) {\n    var v = x * this[i++] + w[j] + c;\n    c = Math.floor(v / 0x4000000);\n    w[j++] = v & 0x3ffffff;\n  }\n  return c;\n}\n// am2 avoids a big mult-and-extract completely.\n// Max digit bits should be <= 30 because we do bitwise ops\n// on values up to 2*hdvalue^2-hdvalue-1 (< 2^31)\nfunction am2(i, x, w, j, c, n) {\n  var xl = x & 0x7fff,\n    xh = x >> 15;\n  while (--n >= 0) {\n    var l = this[i] & 0x7fff;\n    var h = this[i++] >> 15;\n    var m = xh * l + h * xl;\n    l = xl * l + ((m & 0x7fff) << 15) + w[j] + (c & 0x3fffffff);\n    c = (l >>> 30) + (m >>> 15) + xh * h + (c >>> 30);\n    w[j++] = l & 0x3fffffff;\n  }\n  return c;\n}\n// Alternately, set max digit bits to 28 since some\n// browsers slow down when dealing with 32-bit numbers.\nfunction am3(i, x, w, j, c, n) {\n  var xl = x & 0x3fff,\n    xh = x >> 14;\n  while (--n >= 0) {\n    var l = this[i] & 0x3fff;\n    var h = this[i++] >> 14;\n    var m = xh * l + h * xl;\n    l = xl * l + ((m & 0x3fff) << 14) + w[j] + c;\n    c = (l >> 28) + (m >> 14) + xh * h;\n    w[j++] = l & 0xfffffff;\n  }\n  return c;\n}\nvar inBrowser = typeof navigator !== 'undefined';\nif (inBrowser && j_lm && navigator.appName == 'Microsoft Internet Explorer') {\n  BigInteger.prototype.am = am2;\n  dbits = 30;\n} else if (inBrowser && j_lm && navigator.appName != 'Netscape') {\n  BigInteger.prototype.am = am1;\n  dbits = 26;\n} else {\n  // Mozilla/Netscape seems to prefer am3\n  BigInteger.prototype.am = am3;\n  dbits = 28;\n}\nBigInteger.prototype.DB = dbits;\nBigInteger.prototype.DM = (1 << dbits) - 1;\nBigInteger.prototype.DV = 1 << dbits;\nvar BI_FP = 52;\nBigInteger.prototype.FV = Math.pow(2, BI_FP);\nBigInteger.prototype.F1 = BI_FP - dbits;\nBigInteger.prototype.F2 = 2 * dbits - BI_FP;\n\n// Digit conversions\nvar BI_RM = '0123456789abcdefghijklmnopqrstuvwxyz';\nvar BI_RC = new Array();\nvar rr, vv;\nrr = '0'.charCodeAt(0);\nfor (vv = 0; vv <= 9; ++vv) BI_RC[rr++] = vv;\nrr = 'a'.charCodeAt(0);\nfor (vv = 10; vv < 36; ++vv) BI_RC[rr++] = vv;\nrr = 'A'.charCodeAt(0);\nfor (vv = 10; vv < 36; ++vv) BI_RC[rr++] = vv;\nfunction int2char(n) {\n  return BI_RM.charAt(n);\n}\nfunction intAt(s, i) {\n  var c = BI_RC[s.charCodeAt(i)];\n  return c == null ? -1 : c;\n}\n\n// (protected) copy this to r\nfunction bnpCopyTo(r) {\n  for (var i = this.t - 1; i >= 0; --i) r[i] = this[i];\n  r.t = this.t;\n  r.s = this.s;\n}\n\n// (protected) set from integer value x, -DV <= x < DV\nfunction bnpFromInt(x) {\n  this.t = 1;\n  this.s = x < 0 ? -1 : 0;\n  if (x > 0) this[0] = x;else if (x < -1) this[0] = x + this.DV;else this.t = 0;\n}\n\n// return bigint initialized to value\nfunction nbv(i) {\n  var r = nbi();\n  r.fromInt(i);\n  return r;\n}\n\n// (protected) set from string and radix\nfunction bnpFromString(s, b) {\n  var k;\n  if (b == 16) k = 4;else if (b == 8) k = 3;else if (b == 2) k = 1;else if (b == 32) k = 5;else if (b == 4) k = 2;else throw new Error('Only radix 2, 4, 8, 16, 32 are supported');\n  this.t = 0;\n  this.s = 0;\n  var i = s.length,\n    mi = false,\n    sh = 0;\n  while (--i >= 0) {\n    var x = intAt(s, i);\n    if (x < 0) {\n      if (s.charAt(i) == '-') mi = true;\n      continue;\n    }\n    mi = false;\n    if (sh == 0) this[this.t++] = x;else if (sh + k > this.DB) {\n      this[this.t - 1] |= (x & (1 << this.DB - sh) - 1) << sh;\n      this[this.t++] = x >> this.DB - sh;\n    } else this[this.t - 1] |= x << sh;\n    sh += k;\n    if (sh >= this.DB) sh -= this.DB;\n  }\n  this.clamp();\n  if (mi) BigInteger.ZERO.subTo(this, this);\n}\n\n// (protected) clamp off excess high words\nfunction bnpClamp() {\n  var c = this.s & this.DM;\n  while (this.t > 0 && this[this.t - 1] == c) --this.t;\n}\n\n// (public) return string representation in given radix\nfunction bnToString(b) {\n  if (this.s < 0) return '-' + this.negate().toString(b);\n  var k;\n  if (b == 16) k = 4;else if (b == 8) k = 3;else if (b == 2) k = 1;else if (b == 32) k = 5;else if (b == 4) k = 2;else throw new Error('Only radix 2, 4, 8, 16, 32 are supported');\n  var km = (1 << k) - 1,\n    d,\n    m = false,\n    r = '',\n    i = this.t;\n  var p = this.DB - i * this.DB % k;\n  if (i-- > 0) {\n    if (p < this.DB && (d = this[i] >> p) > 0) {\n      m = true;\n      r = int2char(d);\n    }\n    while (i >= 0) {\n      if (p < k) {\n        d = (this[i] & (1 << p) - 1) << k - p;\n        d |= this[--i] >> (p += this.DB - k);\n      } else {\n        d = this[i] >> (p -= k) & km;\n        if (p <= 0) {\n          p += this.DB;\n          --i;\n        }\n      }\n      if (d > 0) m = true;\n      if (m) r += int2char(d);\n    }\n  }\n  return m ? r : '0';\n}\n\n// (public) -this\nfunction bnNegate() {\n  var r = nbi();\n  BigInteger.ZERO.subTo(this, r);\n  return r;\n}\n\n// (public) |this|\nfunction bnAbs() {\n  return this.s < 0 ? this.negate() : this;\n}\n\n// (public) return + if this > a, - if this < a, 0 if equal\nfunction bnCompareTo(a) {\n  var r = this.s - a.s;\n  if (r != 0) return r;\n  var i = this.t;\n  r = i - a.t;\n  if (r != 0) return this.s < 0 ? -r : r;\n  while (--i >= 0) if ((r = this[i] - a[i]) != 0) return r;\n  return 0;\n}\n\n// returns bit length of the integer x\nfunction nbits(x) {\n  var r = 1,\n    t;\n  if ((t = x >>> 16) != 0) {\n    x = t;\n    r += 16;\n  }\n  if ((t = x >> 8) != 0) {\n    x = t;\n    r += 8;\n  }\n  if ((t = x >> 4) != 0) {\n    x = t;\n    r += 4;\n  }\n  if ((t = x >> 2) != 0) {\n    x = t;\n    r += 2;\n  }\n  if ((t = x >> 1) != 0) {\n    x = t;\n    r += 1;\n  }\n  return r;\n}\n\n// (public) return the number of bits in \"this\"\nfunction bnBitLength() {\n  if (this.t <= 0) return 0;\n  return this.DB * (this.t - 1) + nbits(this[this.t - 1] ^ this.s & this.DM);\n}\n\n// (protected) r = this << n*DB\nfunction bnpDLShiftTo(n, r) {\n  var i;\n  for (i = this.t - 1; i >= 0; --i) r[i + n] = this[i];\n  for (i = n - 1; i >= 0; --i) r[i] = 0;\n  r.t = this.t + n;\n  r.s = this.s;\n}\n\n// (protected) r = this >> n*DB\nfunction bnpDRShiftTo(n, r) {\n  for (var i = n; i < this.t; ++i) r[i - n] = this[i];\n  r.t = Math.max(this.t - n, 0);\n  r.s = this.s;\n}\n\n// (protected) r = this << n\nfunction bnpLShiftTo(n, r) {\n  var bs = n % this.DB;\n  var cbs = this.DB - bs;\n  var bm = (1 << cbs) - 1;\n  var ds = Math.floor(n / this.DB),\n    c = this.s << bs & this.DM,\n    i;\n  for (i = this.t - 1; i >= 0; --i) {\n    r[i + ds + 1] = this[i] >> cbs | c;\n    c = (this[i] & bm) << bs;\n  }\n  for (i = ds - 1; i >= 0; --i) r[i] = 0;\n  r[ds] = c;\n  r.t = this.t + ds + 1;\n  r.s = this.s;\n  r.clamp();\n}\n\n// (protected) r = this >> n\nfunction bnpRShiftTo(n, r) {\n  r.s = this.s;\n  var ds = Math.floor(n / this.DB);\n  if (ds >= this.t) {\n    r.t = 0;\n    return;\n  }\n  var bs = n % this.DB;\n  var cbs = this.DB - bs;\n  var bm = (1 << bs) - 1;\n  r[0] = this[ds] >> bs;\n  for (var i = ds + 1; i < this.t; ++i) {\n    r[i - ds - 1] |= (this[i] & bm) << cbs;\n    r[i - ds] = this[i] >> bs;\n  }\n  if (bs > 0) r[this.t - ds - 1] |= (this.s & bm) << cbs;\n  r.t = this.t - ds;\n  r.clamp();\n}\n\n// (protected) r = this - a\nfunction bnpSubTo(a, r) {\n  var i = 0,\n    c = 0,\n    m = Math.min(a.t, this.t);\n  while (i < m) {\n    c += this[i] - a[i];\n    r[i++] = c & this.DM;\n    c >>= this.DB;\n  }\n  if (a.t < this.t) {\n    c -= a.s;\n    while (i < this.t) {\n      c += this[i];\n      r[i++] = c & this.DM;\n      c >>= this.DB;\n    }\n    c += this.s;\n  } else {\n    c += this.s;\n    while (i < a.t) {\n      c -= a[i];\n      r[i++] = c & this.DM;\n      c >>= this.DB;\n    }\n    c -= a.s;\n  }\n  r.s = c < 0 ? -1 : 0;\n  if (c < -1) r[i++] = this.DV + c;else if (c > 0) r[i++] = c;\n  r.t = i;\n  r.clamp();\n}\n\n// (protected) r = this * a, r != this,a (HAC 14.12)\n// \"this\" should be the larger one if appropriate.\nfunction bnpMultiplyTo(a, r) {\n  var x = this.abs(),\n    y = a.abs();\n  var i = x.t;\n  r.t = i + y.t;\n  while (--i >= 0) r[i] = 0;\n  for (i = 0; i < y.t; ++i) r[i + x.t] = x.am(0, y[i], r, i, 0, x.t);\n  r.s = 0;\n  r.clamp();\n  if (this.s != a.s) BigInteger.ZERO.subTo(r, r);\n}\n\n// (protected) r = this^2, r != this (HAC 14.16)\nfunction bnpSquareTo(r) {\n  var x = this.abs();\n  var i = r.t = 2 * x.t;\n  while (--i >= 0) r[i] = 0;\n  for (i = 0; i < x.t - 1; ++i) {\n    var c = x.am(i, x[i], r, 2 * i, 0, 1);\n    if ((r[i + x.t] += x.am(i + 1, 2 * x[i], r, 2 * i + 1, c, x.t - i - 1)) >= x.DV) {\n      r[i + x.t] -= x.DV;\n      r[i + x.t + 1] = 1;\n    }\n  }\n  if (r.t > 0) r[r.t - 1] += x.am(i, x[i], r, 2 * i, 0, 1);\n  r.s = 0;\n  r.clamp();\n}\n\n// (protected) divide this by m, quotient and remainder to q, r (HAC 14.20)\n// r != q, this != m.  q or r may be null.\nfunction bnpDivRemTo(m, q, r) {\n  var pm = m.abs();\n  if (pm.t <= 0) return;\n  var pt = this.abs();\n  if (pt.t < pm.t) {\n    if (q != null) q.fromInt(0);\n    if (r != null) this.copyTo(r);\n    return;\n  }\n  if (r == null) r = nbi();\n  var y = nbi(),\n    ts = this.s,\n    ms = m.s;\n  var nsh = this.DB - nbits(pm[pm.t - 1]);\n  // normalize modulus\n  if (nsh > 0) {\n    pm.lShiftTo(nsh, y);\n    pt.lShiftTo(nsh, r);\n  } else {\n    pm.copyTo(y);\n    pt.copyTo(r);\n  }\n  var ys = y.t;\n  var y0 = y[ys - 1];\n  if (y0 == 0) return;\n  var yt = y0 * (1 << this.F1) + (ys > 1 ? y[ys - 2] >> this.F2 : 0);\n  var d1 = this.FV / yt,\n    d2 = (1 << this.F1) / yt,\n    e = 1 << this.F2;\n  var i = r.t,\n    j = i - ys,\n    t = q == null ? nbi() : q;\n  y.dlShiftTo(j, t);\n  if (r.compareTo(t) >= 0) {\n    r[r.t++] = 1;\n    r.subTo(t, r);\n  }\n  BigInteger.ONE.dlShiftTo(ys, t);\n  t.subTo(y, y);\n  // \"negative\" y so we can replace sub with am later\n  while (y.t < ys) y[y.t++] = 0;\n  while (--j >= 0) {\n    // Estimate quotient digit\n    var qd = r[--i] == y0 ? this.DM : Math.floor(r[i] * d1 + (r[i - 1] + e) * d2);\n    if ((r[i] += y.am(0, qd, r, j, 0, ys)) < qd) {\n      // Try it out\n      y.dlShiftTo(j, t);\n      r.subTo(t, r);\n      while (r[i] < --qd) r.subTo(t, r);\n    }\n  }\n  if (q != null) {\n    r.drShiftTo(ys, q);\n    if (ts != ms) BigInteger.ZERO.subTo(q, q);\n  }\n  r.t = ys;\n  r.clamp();\n  if (nsh > 0) r.rShiftTo(nsh, r);\n  // Denormalize remainder\n  if (ts < 0) BigInteger.ZERO.subTo(r, r);\n}\n\n// (public) this mod a\nfunction bnMod(a) {\n  var r = nbi();\n  this.abs().divRemTo(a, null, r);\n  if (this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r, r);\n  return r;\n}\n\n// (protected) return \"-1/this % 2^DB\"; useful for Mont. reduction\n// justification:\n//         xy == 1 (mod m)\n//         xy =  1+km\n//   xy(2-xy) = (1+km)(1-km)\n// x[y(2-xy)] = 1-k^2m^2\n// x[y(2-xy)] == 1 (mod m^2)\n// if y is 1/x mod m, then y(2-xy) is 1/x mod m^2\n// should reduce x and y(2-xy) by m^2 at each step to keep size bounded.\n// JS multiply \"overflows\" differently from C/C++, so care is needed here.\nfunction bnpInvDigit() {\n  if (this.t < 1) return 0;\n  var x = this[0];\n  if ((x & 1) == 0) return 0;\n  var y = x & 3;\n  // y == 1/x mod 2^2\n  y = y * (2 - (x & 0xf) * y) & 0xf;\n  // y == 1/x mod 2^4\n  y = y * (2 - (x & 0xff) * y) & 0xff;\n  // y == 1/x mod 2^8\n  y = y * (2 - ((x & 0xffff) * y & 0xffff)) & 0xffff;\n  // y == 1/x mod 2^16\n  // last step - calculate inverse mod DV directly;\n  // assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints\n  y = y * (2 - x * y % this.DV) % this.DV;\n  // y == 1/x mod 2^dbits\n  // we really want the negative inverse, and -DV < y < DV\n  return y > 0 ? this.DV - y : -y;\n}\nfunction bnEquals(a) {\n  return this.compareTo(a) == 0;\n}\n\n// (protected) r = this + a\nfunction bnpAddTo(a, r) {\n  var i = 0,\n    c = 0,\n    m = Math.min(a.t, this.t);\n  while (i < m) {\n    c += this[i] + a[i];\n    r[i++] = c & this.DM;\n    c >>= this.DB;\n  }\n  if (a.t < this.t) {\n    c += a.s;\n    while (i < this.t) {\n      c += this[i];\n      r[i++] = c & this.DM;\n      c >>= this.DB;\n    }\n    c += this.s;\n  } else {\n    c += this.s;\n    while (i < a.t) {\n      c += a[i];\n      r[i++] = c & this.DM;\n      c >>= this.DB;\n    }\n    c += a.s;\n  }\n  r.s = c < 0 ? -1 : 0;\n  if (c > 0) r[i++] = c;else if (c < -1) r[i++] = this.DV + c;\n  r.t = i;\n  r.clamp();\n}\n\n// (public) this + a\nfunction bnAdd(a) {\n  var r = nbi();\n  this.addTo(a, r);\n  return r;\n}\n\n// (public) this - a\nfunction bnSubtract(a) {\n  var r = nbi();\n  this.subTo(a, r);\n  return r;\n}\n\n// (public) this * a\nfunction bnMultiply(a) {\n  var r = nbi();\n  this.multiplyTo(a, r);\n  return r;\n}\n\n// (public) this / a\nfunction bnDivide(a) {\n  var r = nbi();\n  this.divRemTo(a, r, null);\n  return r;\n}\n\n// Montgomery reduction\nfunction Montgomery(m) {\n  this.m = m;\n  this.mp = m.invDigit();\n  this.mpl = this.mp & 0x7fff;\n  this.mph = this.mp >> 15;\n  this.um = (1 << m.DB - 15) - 1;\n  this.mt2 = 2 * m.t;\n}\n\n// xR mod m\nfunction montConvert(x) {\n  var r = nbi();\n  x.abs().dlShiftTo(this.m.t, r);\n  r.divRemTo(this.m, null, r);\n  if (x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r, r);\n  return r;\n}\n\n// x/R mod m\nfunction montRevert(x) {\n  var r = nbi();\n  x.copyTo(r);\n  this.reduce(r);\n  return r;\n}\n\n// x = x/R mod m (HAC 14.32)\nfunction montReduce(x) {\n  while (x.t <= this.mt2)\n  // pad x so am has enough room later\n  x[x.t++] = 0;\n  for (var i = 0; i < this.m.t; ++i) {\n    // faster way of calculating u0 = x[i]*mp mod DV\n    var j = x[i] & 0x7fff;\n    var u0 = j * this.mpl + ((j * this.mph + (x[i] >> 15) * this.mpl & this.um) << 15) & x.DM;\n    // use am to combine the multiply-shift-add into one call\n    j = i + this.m.t;\n    x[j] += this.m.am(0, u0, x, i, 0, this.m.t);\n    // propagate carry\n    while (x[j] >= x.DV) {\n      x[j] -= x.DV;\n      x[++j]++;\n    }\n  }\n  x.clamp();\n  x.drShiftTo(this.m.t, x);\n  if (x.compareTo(this.m) >= 0) x.subTo(this.m, x);\n}\n\n// r = \"x^2/R mod m\"; x != r\nfunction montSqrTo(x, r) {\n  x.squareTo(r);\n  this.reduce(r);\n}\n\n// r = \"xy/R mod m\"; x,y != r\nfunction montMulTo(x, y, r) {\n  x.multiplyTo(y, r);\n  this.reduce(r);\n}\nMontgomery.prototype.convert = montConvert;\nMontgomery.prototype.revert = montRevert;\nMontgomery.prototype.reduce = montReduce;\nMontgomery.prototype.mulTo = montMulTo;\nMontgomery.prototype.sqrTo = montSqrTo;\n\n// (public) this^e % m (HAC 14.85)\nfunction bnModPow(e, m, callback) {\n  var i = e.bitLength(),\n    k,\n    r = nbv(1),\n    z = new Montgomery(m);\n  if (i <= 0) return r;else if (i < 18) k = 1;else if (i < 48) k = 3;else if (i < 144) k = 4;else if (i < 768) k = 5;else k = 6;\n\n  // precomputation\n  var g = new Array(),\n    n = 3,\n    k1 = k - 1,\n    km = (1 << k) - 1;\n  g[1] = z.convert(this);\n  if (k > 1) {\n    var g2 = nbi();\n    z.sqrTo(g[1], g2);\n    while (n <= km) {\n      g[n] = nbi();\n      z.mulTo(g2, g[n - 2], g[n]);\n      n += 2;\n    }\n  }\n  var j = e.t - 1,\n    w,\n    is1 = true,\n    r2 = nbi(),\n    t;\n  i = nbits(e[j]) - 1;\n  while (j >= 0) {\n    if (i >= k1) w = e[j] >> i - k1 & km;else {\n      w = (e[j] & (1 << i + 1) - 1) << k1 - i;\n      if (j > 0) w |= e[j - 1] >> this.DB + i - k1;\n    }\n    n = k;\n    while ((w & 1) == 0) {\n      w >>= 1;\n      --n;\n    }\n    if ((i -= n) < 0) {\n      i += this.DB;\n      --j;\n    }\n    if (is1) {\n      // ret == 1, don't bother squaring or multiplying it\n      g[w].copyTo(r);\n      is1 = false;\n    } else {\n      while (n > 1) {\n        z.sqrTo(r, r2);\n        z.sqrTo(r2, r);\n        n -= 2;\n      }\n      if (n > 0) z.sqrTo(r, r2);else {\n        t = r;\n        r = r2;\n        r2 = t;\n      }\n      z.mulTo(r2, g[w], r);\n    }\n    while (j >= 0 && (e[j] & 1 << i) == 0) {\n      z.sqrTo(r, r2);\n      t = r;\n      r = r2;\n      r2 = t;\n      if (--i < 0) {\n        i = this.DB - 1;\n        --j;\n      }\n    }\n  }\n  var result = z.revert(r);\n  callback(null, result);\n  return result;\n}\n\n// protected\nBigInteger.prototype.copyTo = bnpCopyTo;\nBigInteger.prototype.fromInt = bnpFromInt;\nBigInteger.prototype.fromString = bnpFromString;\nBigInteger.prototype.clamp = bnpClamp;\nBigInteger.prototype.dlShiftTo = bnpDLShiftTo;\nBigInteger.prototype.drShiftTo = bnpDRShiftTo;\nBigInteger.prototype.lShiftTo = bnpLShiftTo;\nBigInteger.prototype.rShiftTo = bnpRShiftTo;\nBigInteger.prototype.subTo = bnpSubTo;\nBigInteger.prototype.multiplyTo = bnpMultiplyTo;\nBigInteger.prototype.squareTo = bnpSquareTo;\nBigInteger.prototype.divRemTo = bnpDivRemTo;\nBigInteger.prototype.invDigit = bnpInvDigit;\nBigInteger.prototype.addTo = bnpAddTo;\n\n// public\nBigInteger.prototype.toString = bnToString;\nBigInteger.prototype.negate = bnNegate;\nBigInteger.prototype.abs = bnAbs;\nBigInteger.prototype.compareTo = bnCompareTo;\nBigInteger.prototype.bitLength = bnBitLength;\nBigInteger.prototype.mod = bnMod;\nBigInteger.prototype.equals = bnEquals;\nBigInteger.prototype.add = bnAdd;\nBigInteger.prototype.subtract = bnSubtract;\nBigInteger.prototype.multiply = bnMultiply;\nBigInteger.prototype.divide = bnDivide;\nBigInteger.prototype.modPow = bnModPow;\n\n// \"constants\"\nBigInteger.ZERO = nbv(0);\nBigInteger.ONE = nbv(1);","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Buffer } from 'buffer';\nimport WordArray from './utils/WordArray';\nimport { Sha256 } from '@aws-crypto/sha256-js';\n\n/**\n * Returns a Buffer with a sequence of random nBytes\n *\n * @param {number} nBytes\n * @returns {Buffer} fixed-length sequence of random bytes\n */\n\nfunction randomBytes(nBytes) {\n  return Buffer.from(new WordArray().random(nBytes).toString(), 'hex');\n}\nimport BigInteger from './BigInteger';\n\n/**\n * Tests if a hex string has it most significant bit set (case-insensitive regex)\n */\nvar HEX_MSB_REGEX = /^[89a-f]/i;\nvar initN = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1' + '29024E088A67CC74020BBEA63B139B22514A08798E3404DD' + 'EF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245' + 'E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' + 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3D' + 'C2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F' + '83655D23DCA3AD961C62F356208552BB9ED529077096966D' + '670C354E4ABC9804F1746C08CA18217C32905E462E36CE3B' + 'E39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9' + 'DE2BCBF6955817183995497CEA956AE515D2261898FA0510' + '15728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64' + 'ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7' + 'ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6B' + 'F12FFA06D98A0864D87602733EC86A64521F2B18177B200C' + 'BBE117577A615D6C770988C0BAD946E208E24FA074E5AB31' + '43DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF';\nvar newPasswordRequiredChallengeUserAttributePrefix = 'userAttributes.';\n\n/** @class */\nvar AuthenticationHelper = /*#__PURE__*/function () {\n  /**\n   * Constructs a new AuthenticationHelper object\n   * @param {string} PoolName Cognito user pool name.\n   */\n  function AuthenticationHelper(PoolName) {\n    this.N = new BigInteger(initN, 16);\n    this.g = new BigInteger('2', 16);\n    this.k = new BigInteger(this.hexHash(\"\" + this.padHex(this.N) + this.padHex(this.g)), 16);\n    this.smallAValue = this.generateRandomSmallA();\n    this.getLargeAValue(function () {});\n    this.infoBits = Buffer.from('Caldera Derived Key', 'utf8');\n    this.poolName = PoolName;\n  }\n\n  /**\n   * @returns {BigInteger} small A, a random number\n   */\n  var _proto = AuthenticationHelper.prototype;\n  _proto.getSmallAValue = function getSmallAValue() {\n    return this.smallAValue;\n  }\n\n  /**\n   * @param {nodeCallback<BigInteger>} callback Called with (err, largeAValue)\n   * @returns {void}\n   */;\n  _proto.getLargeAValue = function getLargeAValue(callback) {\n    var _this = this;\n    if (this.largeAValue) {\n      callback(null, this.largeAValue);\n    } else {\n      this.calculateA(this.smallAValue, function (err, largeAValue) {\n        if (err) {\n          callback(err, null);\n        }\n        _this.largeAValue = largeAValue;\n        callback(null, _this.largeAValue);\n      });\n    }\n  }\n\n  /**\n   * helper function to generate a random big integer\n   * @returns {BigInteger} a random value.\n   * @private\n   */;\n  _proto.generateRandomSmallA = function generateRandomSmallA() {\n    // This will be interpreted as a postive 128-bit integer\n    var hexRandom = randomBytes(128).toString('hex');\n    var randomBigInt = new BigInteger(hexRandom, 16);\n\n    // There is no need to do randomBigInt.mod(this.N - 1) as N (3072-bit) is > 128 bytes (1024-bit)\n\n    return randomBigInt;\n  }\n\n  /**\n   * helper function to generate a random string\n   * @returns {string} a random value.\n   * @private\n   */;\n  _proto.generateRandomString = function generateRandomString() {\n    return randomBytes(40).toString('base64');\n  }\n\n  /**\n   * @returns {string} Generated random value included in password hash.\n   */;\n  _proto.getRandomPassword = function getRandomPassword() {\n    return this.randomPassword;\n  }\n\n  /**\n   * @returns {string} Generated random value included in devices hash.\n   */;\n  _proto.getSaltDevices = function getSaltDevices() {\n    return this.SaltToHashDevices;\n  }\n\n  /**\n   * @returns {string} Value used to verify devices.\n   */;\n  _proto.getVerifierDevices = function getVerifierDevices() {\n    return this.verifierDevices;\n  }\n\n  /**\n   * Generate salts and compute verifier.\n   * @param {string} deviceGroupKey Devices to generate verifier for.\n   * @param {string} username User to generate verifier for.\n   * @param {nodeCallback<null>} callback Called with (err, null)\n   * @returns {void}\n   */;\n  _proto.generateHashDevice = function generateHashDevice(deviceGroupKey, username, callback) {\n    var _this2 = this;\n    this.randomPassword = this.generateRandomString();\n    var combinedString = \"\" + deviceGroupKey + username + \":\" + this.randomPassword;\n    var hashedString = this.hash(combinedString);\n    var hexRandom = randomBytes(16).toString('hex');\n\n    // The random hex will be unambiguously represented as a postive integer\n    this.SaltToHashDevices = this.padHex(new BigInteger(hexRandom, 16));\n    this.g.modPow(new BigInteger(this.hexHash(this.SaltToHashDevices + hashedString), 16), this.N, function (err, verifierDevicesNotPadded) {\n      if (err) {\n        callback(err, null);\n      }\n      _this2.verifierDevices = _this2.padHex(verifierDevicesNotPadded);\n      callback(null, null);\n    });\n  }\n\n  /**\n   * Calculate the client's public value A = g^a%N\n   * with the generated random number a\n   * @param {BigInteger} a Randomly generated small A.\n   * @param {nodeCallback<BigInteger>} callback Called with (err, largeAValue)\n   * @returns {void}\n   * @private\n   */;\n  _proto.calculateA = function calculateA(a, callback) {\n    var _this3 = this;\n    this.g.modPow(a, this.N, function (err, A) {\n      if (err) {\n        callback(err, null);\n      }\n      if (A.mod(_this3.N).equals(BigInteger.ZERO)) {\n        callback(new Error('Illegal paramater. A mod N cannot be 0.'), null);\n      }\n      callback(null, A);\n    });\n  }\n\n  /**\n   * Calculate the client's value U which is the hash of A and B\n   * @param {BigInteger} A Large A value.\n   * @param {BigInteger} B Server B value.\n   * @returns {BigInteger} Computed U value.\n   * @private\n   */;\n  _proto.calculateU = function calculateU(A, B) {\n    this.UHexHash = this.hexHash(this.padHex(A) + this.padHex(B));\n    var finalU = new BigInteger(this.UHexHash, 16);\n    return finalU;\n  }\n\n  /**\n   * Calculate a hash from a bitArray\n   * @param {Buffer} buf Value to hash.\n   * @returns {String} Hex-encoded hash.\n   * @private\n   */;\n  _proto.hash = function hash(buf) {\n    var awsCryptoHash = new Sha256();\n    awsCryptoHash.update(buf);\n    var resultFromAWSCrypto = awsCryptoHash.digestSync();\n    var hashHex = Buffer.from(resultFromAWSCrypto).toString('hex');\n    return new Array(64 - hashHex.length).join('0') + hashHex;\n  }\n\n  /**\n   * Calculate a hash from a hex string\n   * @param {String} hexStr Value to hash.\n   * @returns {String} Hex-encoded hash.\n   * @private\n   */;\n  _proto.hexHash = function hexHash(hexStr) {\n    return this.hash(Buffer.from(hexStr, 'hex'));\n  }\n\n  /**\n   * Standard hkdf algorithm\n   * @param {Buffer} ikm Input key material.\n   * @param {Buffer} salt Salt value.\n   * @returns {Buffer} Strong key material.\n   * @private\n   */;\n  _proto.computehkdf = function computehkdf(ikm, salt) {\n    var infoBitsBuffer = Buffer.concat([this.infoBits, Buffer.from(String.fromCharCode(1), 'utf8')]);\n    var awsCryptoHash = new Sha256(salt);\n    awsCryptoHash.update(ikm);\n    var resultFromAWSCryptoPrk = awsCryptoHash.digestSync();\n    var awsCryptoHashHmac = new Sha256(resultFromAWSCryptoPrk);\n    awsCryptoHashHmac.update(infoBitsBuffer);\n    var resultFromAWSCryptoHmac = awsCryptoHashHmac.digestSync();\n    var hashHexFromAWSCrypto = resultFromAWSCryptoHmac;\n    var currentHex = hashHexFromAWSCrypto.slice(0, 16);\n    return currentHex;\n  }\n\n  /**\n   * Calculates the final hkdf based on computed S value, and computed U value and the key\n   * @param {String} username Username.\n   * @param {String} password Password.\n   * @param {BigInteger} serverBValue Server B value.\n   * @param {BigInteger} salt Generated salt.\n   * @param {nodeCallback<Buffer>} callback Called with (err, hkdfValue)\n   * @returns {void}\n   */;\n  _proto.getPasswordAuthenticationKey = function getPasswordAuthenticationKey(username, password, serverBValue, salt, callback) {\n    var _this4 = this;\n    if (serverBValue.mod(this.N).equals(BigInteger.ZERO)) {\n      throw new Error('B cannot be zero.');\n    }\n    this.UValue = this.calculateU(this.largeAValue, serverBValue);\n    if (this.UValue.equals(BigInteger.ZERO)) {\n      throw new Error('U cannot be zero.');\n    }\n    var usernamePassword = \"\" + this.poolName + username + \":\" + password;\n    var usernamePasswordHash = this.hash(usernamePassword);\n    var xValue = new BigInteger(this.hexHash(this.padHex(salt) + usernamePasswordHash), 16);\n    this.calculateS(xValue, serverBValue, function (err, sValue) {\n      if (err) {\n        callback(err, null);\n      }\n      var hkdf = _this4.computehkdf(Buffer.from(_this4.padHex(sValue), 'hex'), Buffer.from(_this4.padHex(_this4.UValue), 'hex'));\n      callback(null, hkdf);\n    });\n  }\n\n  /**\n   * Calculates the S value used in getPasswordAuthenticationKey\n   * @param {BigInteger} xValue Salted password hash value.\n   * @param {BigInteger} serverBValue Server B value.\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.calculateS = function calculateS(xValue, serverBValue, callback) {\n    var _this5 = this;\n    this.g.modPow(xValue, this.N, function (err, gModPowXN) {\n      if (err) {\n        callback(err, null);\n      }\n      var intValue2 = serverBValue.subtract(_this5.k.multiply(gModPowXN));\n      intValue2.modPow(_this5.smallAValue.add(_this5.UValue.multiply(xValue)), _this5.N, function (err2, result) {\n        if (err2) {\n          callback(err2, null);\n        }\n        callback(null, result.mod(_this5.N));\n      });\n    });\n  }\n\n  /**\n   * Return constant newPasswordRequiredChallengeUserAttributePrefix\n   * @return {newPasswordRequiredChallengeUserAttributePrefix} constant prefix value\n   */;\n  _proto.getNewPasswordRequiredChallengeUserAttributePrefix = function getNewPasswordRequiredChallengeUserAttributePrefix() {\n    return newPasswordRequiredChallengeUserAttributePrefix;\n  }\n\n  /**\n   * Returns an unambiguous, even-length hex string of the two's complement encoding of an integer.\n   *\n   * It is compatible with the hex encoding of Java's BigInteger's toByteArray(), wich returns a\n   * byte array containing the two's-complement representation of a BigInteger. The array contains\n   * the minimum number of bytes required to represent the BigInteger, including at least one sign bit.\n   *\n   * Examples showing how ambiguity is avoided by left padding with:\n   * \t\"00\" (for positive values where the most-significant-bit is set)\n   *  \"FF\" (for negative values where the most-significant-bit is set)\n   *\n   * padHex(bigInteger.fromInt(-236))  === \"FF14\"\n   * padHex(bigInteger.fromInt(20))    === \"14\"\n   *\n   * padHex(bigInteger.fromInt(-200))  === \"FF38\"\n   * padHex(bigInteger.fromInt(56))    === \"38\"\n   *\n   * padHex(bigInteger.fromInt(-20))   === \"EC\"\n   * padHex(bigInteger.fromInt(236))   === \"00EC\"\n   *\n   * padHex(bigInteger.fromInt(-56))   === \"C8\"\n   * padHex(bigInteger.fromInt(200))   === \"00C8\"\n   *\n   * @param {BigInteger} bigInt Number to encode.\n   * @returns {String} even-length hex string of the two's complement encoding.\n   */;\n  _proto.padHex = function padHex(bigInt) {\n    if (!(bigInt instanceof BigInteger)) {\n      throw new Error('Not a BigInteger');\n    }\n    var isNegative = bigInt.compareTo(BigInteger.ZERO) < 0;\n\n    /* Get a hex string for abs(bigInt) */\n    var hexStr = bigInt.abs().toString(16);\n\n    /* Pad hex to even length if needed */\n    hexStr = hexStr.length % 2 !== 0 ? \"0\" + hexStr : hexStr;\n\n    /* Prepend \"00\" if the most significant bit is set */\n    hexStr = HEX_MSB_REGEX.test(hexStr) ? \"00\" + hexStr : hexStr;\n    if (isNegative) {\n      /* Flip the bits of the representation */\n      var invertedNibbles = hexStr.split('').map(function (x) {\n        var invertedNibble = ~parseInt(x, 16) & 0xf;\n        return '0123456789ABCDEF'.charAt(invertedNibble);\n      }).join('');\n\n      /* After flipping the bits, add one to get the 2's complement representation */\n      var flippedBitsBI = new BigInteger(invertedNibbles, 16).add(BigInteger.ONE);\n      hexStr = flippedBitsBI.toString(16);\n\n      /*\n      For hex strings starting with 'FF8', 'FF' can be dropped, e.g. 0xFFFF80=0xFF80=0x80=-128\n      \t\tAny sequence of '1' bits on the left can always be substituted with a single '1' bit\n      without changing the represented value.\n      \t\tThis only happens in the case when the input is 80...00\n      */\n      if (hexStr.toUpperCase().startsWith('FF8')) {\n        hexStr = hexStr.substring(2);\n      }\n    }\n    return hexStr;\n  };\n  return AuthenticationHelper;\n}();\nexport { AuthenticationHelper as default };","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Buffer } from 'buffer';\n\n/** @class */\nvar CognitoJwtToken = /*#__PURE__*/function () {\n  /**\n   * Constructs a new CognitoJwtToken object\n   * @param {string=} token The JWT token.\n   */\n  function CognitoJwtToken(token) {\n    // Assign object\n    this.jwtToken = token || '';\n    this.payload = this.decodePayload();\n  }\n\n  /**\n   * @returns {string} the record's token.\n   */\n  var _proto = CognitoJwtToken.prototype;\n  _proto.getJwtToken = function getJwtToken() {\n    return this.jwtToken;\n  }\n\n  /**\n   * @returns {int} the token's expiration (exp member).\n   */;\n  _proto.getExpiration = function getExpiration() {\n    return this.payload.exp;\n  }\n\n  /**\n   * @returns {int} the token's \"issued at\" (iat member).\n   */;\n  _proto.getIssuedAt = function getIssuedAt() {\n    return this.payload.iat;\n  }\n\n  /**\n   * @returns {object} the token's payload.\n   */;\n  _proto.decodePayload = function decodePayload() {\n    var payload = this.jwtToken.split('.')[1];\n    try {\n      return JSON.parse(Buffer.from(payload, 'base64').toString('utf8'));\n    } catch (err) {\n      return {};\n    }\n  };\n  return CognitoJwtToken;\n}();\nexport { CognitoJwtToken as default };","function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }\nfunction _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }\n/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport CognitoJwtToken from './CognitoJwtToken';\n\n/** @class */\nvar CognitoAccessToken = /*#__PURE__*/function (_CognitoJwtToken) {\n  /**\n   * Constructs a new CognitoAccessToken object\n   * @param {string=} AccessToken The JWT access token.\n   */\n  function CognitoAccessToken(_temp) {\n    var _ref = _temp === void 0 ? {} : _temp,\n      AccessToken = _ref.AccessToken;\n    return _CognitoJwtToken.call(this, AccessToken || '') || this;\n  }\n  _inheritsLoose(CognitoAccessToken, _CognitoJwtToken);\n  return CognitoAccessToken;\n}(CognitoJwtToken);\nexport { CognitoAccessToken as default };","function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }\nfunction _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }\n/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport CognitoJwtToken from './CognitoJwtToken';\n\n/** @class */\nvar CognitoIdToken = /*#__PURE__*/function (_CognitoJwtToken) {\n  /**\n   * Constructs a new CognitoIdToken object\n   * @param {string=} IdToken The JWT Id token\n   */\n  function CognitoIdToken(_temp) {\n    var _ref = _temp === void 0 ? {} : _temp,\n      IdToken = _ref.IdToken;\n    return _CognitoJwtToken.call(this, IdToken || '') || this;\n  }\n  _inheritsLoose(CognitoIdToken, _CognitoJwtToken);\n  return CognitoIdToken;\n}(CognitoJwtToken);\nexport { CognitoIdToken as default };","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n/** @class */\nvar CognitoRefreshToken = /*#__PURE__*/function () {\n  /**\n   * Constructs a new CognitoRefreshToken object\n   * @param {string=} RefreshToken The JWT refresh token.\n   */\n  function CognitoRefreshToken(_temp) {\n    var _ref = _temp === void 0 ? {} : _temp,\n      RefreshToken = _ref.RefreshToken;\n    // Assign object\n    this.token = RefreshToken || '';\n  }\n\n  /**\n   * @returns {string} the record's token.\n   */\n  var _proto = CognitoRefreshToken.prototype;\n  _proto.getToken = function getToken() {\n    return this.token;\n  };\n  return CognitoRefreshToken;\n}();\nexport { CognitoRefreshToken as default };","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { version } from './version';\nvar BASE_USER_AGENT = \"aws-amplify/\" + version;\nexport var Platform = {\n  userAgent: BASE_USER_AGENT,\n  isReactNative: typeof navigator !== 'undefined' && navigator.product === 'ReactNative'\n};\nexport var getUserAgent = function getUserAgent() {\n  return Platform.userAgent;\n};\n\n/**\n * @deprecated use named import\n */\nexport default Platform;","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n/** @class */\nvar CognitoUserSession = /*#__PURE__*/function () {\n  /**\n   * Constructs a new CognitoUserSession object\n   * @param {CognitoIdToken} IdToken The session's Id token.\n   * @param {CognitoRefreshToken=} RefreshToken The session's refresh token.\n   * @param {CognitoAccessToken} AccessToken The session's access token.\n   * @param {int} ClockDrift The saved computer's clock drift or undefined to force calculation.\n   */\n  function CognitoUserSession(_temp) {\n    var _ref = _temp === void 0 ? {} : _temp,\n      IdToken = _ref.IdToken,\n      RefreshToken = _ref.RefreshToken,\n      AccessToken = _ref.AccessToken,\n      ClockDrift = _ref.ClockDrift;\n    if (AccessToken == null || IdToken == null) {\n      throw new Error('Id token and Access Token must be present.');\n    }\n    this.idToken = IdToken;\n    this.refreshToken = RefreshToken;\n    this.accessToken = AccessToken;\n    this.clockDrift = ClockDrift === undefined ? this.calculateClockDrift() : ClockDrift;\n  }\n\n  /**\n   * @returns {CognitoIdToken} the session's Id token\n   */\n  var _proto = CognitoUserSession.prototype;\n  _proto.getIdToken = function getIdToken() {\n    return this.idToken;\n  }\n\n  /**\n   * @returns {CognitoRefreshToken} the session's refresh token\n   */;\n  _proto.getRefreshToken = function getRefreshToken() {\n    return this.refreshToken;\n  }\n\n  /**\n   * @returns {CognitoAccessToken} the session's access token\n   */;\n  _proto.getAccessToken = function getAccessToken() {\n    return this.accessToken;\n  }\n\n  /**\n   * @returns {int} the session's clock drift\n   */;\n  _proto.getClockDrift = function getClockDrift() {\n    return this.clockDrift;\n  }\n\n  /**\n   * @returns {int} the computer's clock drift\n   */;\n  _proto.calculateClockDrift = function calculateClockDrift() {\n    var now = Math.floor(new Date() / 1000);\n    var iat = Math.min(this.accessToken.getIssuedAt(), this.idToken.getIssuedAt());\n    return now - iat;\n  }\n\n  /**\n   * Checks to see if the session is still valid based on session expiry information found\n   * in tokens and the current time (adjusted with clock drift)\n   * @returns {boolean} if the session is still valid\n   */;\n  _proto.isValid = function isValid() {\n    var now = Math.floor(new Date() / 1000);\n    var adjusted = now - this.clockDrift;\n    return adjusted < this.accessToken.getExpiration() && adjusted < this.idToken.getExpiration();\n  };\n  return CognitoUserSession;\n}();\nexport { CognitoUserSession as default };","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nvar monthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\nvar weekNames = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];\n\n/** @class */\nvar DateHelper = /*#__PURE__*/function () {\n  function DateHelper() {}\n  var _proto = DateHelper.prototype;\n  /**\n   * @returns {string} The current time in \"ddd MMM D HH:mm:ss UTC YYYY\" format.\n   */\n  _proto.getNowString = function getNowString() {\n    var now = new Date();\n    var weekDay = weekNames[now.getUTCDay()];\n    var month = monthNames[now.getUTCMonth()];\n    var day = now.getUTCDate();\n    var hours = now.getUTCHours();\n    if (hours < 10) {\n      hours = \"0\" + hours;\n    }\n    var minutes = now.getUTCMinutes();\n    if (minutes < 10) {\n      minutes = \"0\" + minutes;\n    }\n    var seconds = now.getUTCSeconds();\n    if (seconds < 10) {\n      seconds = \"0\" + seconds;\n    }\n    var year = now.getUTCFullYear();\n\n    // ddd MMM D HH:mm:ss UTC YYYY\n    var dateNow = weekDay + \" \" + month + \" \" + day + \" \" + hours + \":\" + minutes + \":\" + seconds + \" UTC \" + year;\n    return dateNow;\n  };\n  return DateHelper;\n}();\nexport { DateHelper as default };","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n/** @class */\nvar CognitoUserAttribute = /*#__PURE__*/function () {\n  /**\n   * Constructs a new CognitoUserAttribute object\n   * @param {string=} Name The record's name\n   * @param {string=} Value The record's value\n   */\n  function CognitoUserAttribute(_temp) {\n    var _ref = _temp === void 0 ? {} : _temp,\n      Name = _ref.Name,\n      Value = _ref.Value;\n    this.Name = Name || '';\n    this.Value = Value || '';\n  }\n\n  /**\n   * @returns {string} the record's value.\n   */\n  var _proto = CognitoUserAttribute.prototype;\n  _proto.getValue = function getValue() {\n    return this.Value;\n  }\n\n  /**\n   * Sets the record's value.\n   * @param {string} value The new value.\n   * @returns {CognitoUserAttribute} The record for method chaining.\n   */;\n  _proto.setValue = function setValue(value) {\n    this.Value = value;\n    return this;\n  }\n\n  /**\n   * @returns {string} the record's name.\n   */;\n  _proto.getName = function getName() {\n    return this.Name;\n  }\n\n  /**\n   * Sets the record's name\n   * @param {string} name The new name.\n   * @returns {CognitoUserAttribute} The record for method chaining.\n   */;\n  _proto.setName = function setName(name) {\n    this.Name = name;\n    return this;\n  }\n\n  /**\n   * @returns {string} a string representation of the record.\n   */;\n  _proto.toString = function toString() {\n    return JSON.stringify(this);\n  }\n\n  /**\n   * @returns {object} a flat object representing the record.\n   */;\n  _proto.toJSON = function toJSON() {\n    return {\n      Name: this.Name,\n      Value: this.Value\n    };\n  };\n  return CognitoUserAttribute;\n}();\nexport { CognitoUserAttribute as default };","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nvar dataMemory = {};\n\n/** @class */\nexport var MemoryStorage = /*#__PURE__*/function () {\n  function MemoryStorage() {}\n  /**\n   * This is used to set a specific item in storage\n   * @param {string} key - the key for the item\n   * @param {object} value - the value\n   * @returns {string} value that was set\n   */\n  MemoryStorage.setItem = function setItem(key, value) {\n    dataMemory[key] = value;\n    return dataMemory[key];\n  }\n\n  /**\n   * This is used to get a specific key from storage\n   * @param {string} key - the key for the item\n   * This is used to clear the storage\n   * @returns {string} the data item\n   */;\n  MemoryStorage.getItem = function getItem(key) {\n    return Object.prototype.hasOwnProperty.call(dataMemory, key) ? dataMemory[key] : undefined;\n  }\n\n  /**\n   * This is used to remove an item from storage\n   * @param {string} key - the key being set\n   * @returns {boolean} return true\n   */;\n  MemoryStorage.removeItem = function removeItem(key) {\n    return delete dataMemory[key];\n  }\n\n  /**\n   * This is used to clear the storage\n   * @returns {string} nothing\n   */;\n  MemoryStorage.clear = function clear() {\n    dataMemory = {};\n    return dataMemory;\n  };\n  return MemoryStorage;\n}();\n\n/** @class */\nvar StorageHelper = /*#__PURE__*/function () {\n  /**\n   * This is used to get a storage object\n   * @returns {object} the storage\n   */\n  function StorageHelper() {\n    try {\n      this.storageWindow = window.localStorage;\n      this.storageWindow.setItem('aws.cognito.test-ls', 1);\n      this.storageWindow.removeItem('aws.cognito.test-ls');\n    } catch (exception) {\n      this.storageWindow = MemoryStorage;\n    }\n  }\n\n  /**\n   * This is used to return the storage\n   * @returns {object} the storage\n   */\n  var _proto = StorageHelper.prototype;\n  _proto.getStorage = function getStorage() {\n    return this.storageWindow;\n  };\n  return StorageHelper;\n}();\nexport { StorageHelper as default };","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Buffer } from 'buffer';\nimport { Sha256 } from '@aws-crypto/sha256-js';\nimport { Platform } from './Platform';\nimport BigInteger from './BigInteger';\nimport AuthenticationHelper from './AuthenticationHelper';\nimport CognitoAccessToken from './CognitoAccessToken';\nimport CognitoIdToken from './CognitoIdToken';\nimport CognitoRefreshToken from './CognitoRefreshToken';\nimport CognitoUserSession from './CognitoUserSession';\nimport DateHelper from './DateHelper';\nimport CognitoUserAttribute from './CognitoUserAttribute';\nimport StorageHelper from './StorageHelper';\n\n/**\n * @callback nodeCallback\n * @template T result\n * @param {*} err The operation failure reason, or null.\n * @param {T} result The operation result.\n */\n\n/**\n * @callback onFailure\n * @param {*} err Failure reason.\n */\n\n/**\n * @callback onSuccess\n * @template T result\n * @param {T} result The operation result.\n */\n\n/**\n * @callback mfaRequired\n * @param {*} details MFA challenge details.\n */\n\n/**\n * @callback customChallenge\n * @param {*} details Custom challenge details.\n */\n\n/**\n * @callback inputVerificationCode\n * @param {*} data Server response.\n */\n\n/**\n * @callback authSuccess\n * @param {CognitoUserSession} session The new session.\n * @param {bool=} userConfirmationNecessary User must be confirmed.\n */\n\nvar isNavigatorAvailable = typeof navigator !== 'undefined';\nvar userAgent = isNavigatorAvailable ? Platform.isReactNative ? 'react-native' : navigator.userAgent : 'nodejs';\n\n/** @class */\nvar CognitoUser = /*#__PURE__*/function () {\n  /**\n   * Constructs a new CognitoUser object\n   * @param {object} data Creation options\n   * @param {string} data.Username The user's username.\n   * @param {CognitoUserPool} data.Pool Pool containing the user.\n   * @param {object} data.Storage Optional storage object.\n   */\n  function CognitoUser(data) {\n    if (data == null || data.Username == null || data.Pool == null) {\n      throw new Error('Username and Pool information are required.');\n    }\n    this.username = data.Username || '';\n    this.pool = data.Pool;\n    this.Session = null;\n    this.client = data.Pool.client;\n    this.signInUserSession = null;\n    this.authenticationFlowType = 'USER_SRP_AUTH';\n    this.storage = data.Storage || new StorageHelper().getStorage();\n    this.keyPrefix = \"CognitoIdentityServiceProvider.\" + this.pool.getClientId();\n    this.userDataKey = this.keyPrefix + \".\" + this.username + \".userData\";\n  }\n\n  /**\n   * Sets the session for this user\n   * @param {CognitoUserSession} signInUserSession the session\n   * @returns {void}\n   */\n  var _proto = CognitoUser.prototype;\n  _proto.setSignInUserSession = function setSignInUserSession(signInUserSession) {\n    this.clearCachedUserData();\n    this.signInUserSession = signInUserSession;\n    this.cacheTokens();\n  }\n\n  /**\n   * @returns {CognitoUserSession} the current session for this user\n   */;\n  _proto.getSignInUserSession = function getSignInUserSession() {\n    return this.signInUserSession;\n  }\n\n  /**\n   * @returns {string} the user's username\n   */;\n  _proto.getUsername = function getUsername() {\n    return this.username;\n  }\n\n  /**\n   * @returns {String} the authentication flow type\n   */;\n  _proto.getAuthenticationFlowType = function getAuthenticationFlowType() {\n    return this.authenticationFlowType;\n  }\n\n  /**\n   * sets authentication flow type\n   * @param {string} authenticationFlowType New value.\n   * @returns {void}\n   */;\n  _proto.setAuthenticationFlowType = function setAuthenticationFlowType(authenticationFlowType) {\n    this.authenticationFlowType = authenticationFlowType;\n  }\n\n  /**\n   * This is used for authenticating the user through the custom authentication flow.\n   * @param {AuthenticationDetails} authDetails Contains the authentication data\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {customChallenge} callback.customChallenge Custom challenge\n   *        response required to continue.\n   * @param {authSuccess} callback.onSuccess Called on success with the new session.\n   * @returns {void}\n   */;\n  _proto.initiateAuth = function initiateAuth(authDetails, callback) {\n    var _this = this;\n    var authParameters = authDetails.getAuthParameters();\n    authParameters.USERNAME = this.username;\n    var clientMetaData = Object.keys(authDetails.getValidationData()).length !== 0 ? authDetails.getValidationData() : authDetails.getClientMetadata();\n    var jsonReq = {\n      AuthFlow: 'CUSTOM_AUTH',\n      ClientId: this.pool.getClientId(),\n      AuthParameters: authParameters,\n      ClientMetadata: clientMetaData\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.request('InitiateAuth', jsonReq, function (err, data) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      var challengeName = data.ChallengeName;\n      var challengeParameters = data.ChallengeParameters;\n      if (challengeName === 'CUSTOM_CHALLENGE') {\n        _this.Session = data.Session;\n        return callback.customChallenge(challengeParameters);\n      }\n      _this.signInUserSession = _this.getCognitoUserSession(data.AuthenticationResult);\n      _this.cacheTokens();\n      return callback.onSuccess(_this.signInUserSession);\n    });\n  }\n\n  /**\n   * This is used for authenticating the user.\n   * stuff\n   * @param {AuthenticationDetails} authDetails Contains the authentication data\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {newPasswordRequired} callback.newPasswordRequired new\n   *        password and any required attributes are required to continue\n   * @param {mfaRequired} callback.mfaRequired MFA code\n   *        required to continue.\n   * @param {customChallenge} callback.customChallenge Custom challenge\n   *        response required to continue.\n   * @param {authSuccess} callback.onSuccess Called on success with the new session.\n   * @returns {void}\n   */;\n  _proto.authenticateUser = function authenticateUser(authDetails, callback) {\n    if (this.authenticationFlowType === 'USER_PASSWORD_AUTH') {\n      return this.authenticateUserPlainUsernamePassword(authDetails, callback);\n    } else if (this.authenticationFlowType === 'USER_SRP_AUTH' || this.authenticationFlowType === 'CUSTOM_AUTH') {\n      return this.authenticateUserDefaultAuth(authDetails, callback);\n    }\n    return callback.onFailure(new Error('Authentication flow type is invalid.'));\n  }\n\n  /**\n   * PRIVATE ONLY: This is an internal only method and should not\n   * be directly called by the consumers.\n   * It calls the AuthenticationHelper for SRP related\n   * stuff\n   * @param {AuthenticationDetails} authDetails Contains the authentication data\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {newPasswordRequired} callback.newPasswordRequired new\n   *        password and any required attributes are required to continue\n   * @param {mfaRequired} callback.mfaRequired MFA code\n   *        required to continue.\n   * @param {customChallenge} callback.customChallenge Custom challenge\n   *        response required to continue.\n   * @param {authSuccess} callback.onSuccess Called on success with the new session.\n   * @returns {void}\n   */;\n  _proto.authenticateUserDefaultAuth = function authenticateUserDefaultAuth(authDetails, callback) {\n    var _this2 = this;\n    var authenticationHelper = new AuthenticationHelper(this.pool.getUserPoolName());\n    var dateHelper = new DateHelper();\n    var serverBValue;\n    var salt;\n    var authParameters = {};\n    if (this.deviceKey != null) {\n      authParameters.DEVICE_KEY = this.deviceKey;\n    }\n    authParameters.USERNAME = this.username;\n    authenticationHelper.getLargeAValue(function (errOnAValue, aValue) {\n      // getLargeAValue callback start\n      if (errOnAValue) {\n        callback.onFailure(errOnAValue);\n      }\n      authParameters.SRP_A = aValue.toString(16);\n      if (_this2.authenticationFlowType === 'CUSTOM_AUTH') {\n        authParameters.CHALLENGE_NAME = 'SRP_A';\n      }\n      var clientMetaData = Object.keys(authDetails.getValidationData()).length !== 0 ? authDetails.getValidationData() : authDetails.getClientMetadata();\n      var jsonReq = {\n        AuthFlow: _this2.authenticationFlowType,\n        ClientId: _this2.pool.getClientId(),\n        AuthParameters: authParameters,\n        ClientMetadata: clientMetaData\n      };\n      if (_this2.getUserContextData(_this2.username)) {\n        jsonReq.UserContextData = _this2.getUserContextData(_this2.username);\n      }\n      _this2.client.request('InitiateAuth', jsonReq, function (err, data) {\n        if (err) {\n          return callback.onFailure(err);\n        }\n        var challengeParameters = data.ChallengeParameters;\n        _this2.username = challengeParameters.USER_ID_FOR_SRP;\n        _this2.userDataKey = _this2.keyPrefix + \".\" + _this2.username + \".userData\";\n        serverBValue = new BigInteger(challengeParameters.SRP_B, 16);\n        salt = new BigInteger(challengeParameters.SALT, 16);\n        _this2.getCachedDeviceKeyAndPassword();\n        authenticationHelper.getPasswordAuthenticationKey(_this2.username, authDetails.getPassword(), serverBValue, salt, function (errOnHkdf, hkdf) {\n          // getPasswordAuthenticationKey callback start\n          if (errOnHkdf) {\n            callback.onFailure(errOnHkdf);\n          }\n          var dateNow = dateHelper.getNowString();\n          var concatBuffer = Buffer.concat([Buffer.from(_this2.pool.getUserPoolName(), 'utf8'), Buffer.from(_this2.username, 'utf8'), Buffer.from(challengeParameters.SECRET_BLOCK, 'base64'), Buffer.from(dateNow, 'utf8')]);\n          var awsCryptoHash = new Sha256(hkdf);\n          awsCryptoHash.update(concatBuffer);\n          var resultFromAWSCrypto = awsCryptoHash.digestSync();\n          var signatureString = Buffer.from(resultFromAWSCrypto).toString('base64');\n          var challengeResponses = {};\n          challengeResponses.USERNAME = _this2.username;\n          challengeResponses.PASSWORD_CLAIM_SECRET_BLOCK = challengeParameters.SECRET_BLOCK;\n          challengeResponses.TIMESTAMP = dateNow;\n          challengeResponses.PASSWORD_CLAIM_SIGNATURE = signatureString;\n          if (_this2.deviceKey != null) {\n            challengeResponses.DEVICE_KEY = _this2.deviceKey;\n          }\n          var _respondToAuthChallenge = function respondToAuthChallenge(challenge, challengeCallback) {\n            return _this2.client.request('RespondToAuthChallenge', challenge, function (errChallenge, dataChallenge) {\n              if (errChallenge && errChallenge.code === 'ResourceNotFoundException' && errChallenge.message.toLowerCase().indexOf('device') !== -1) {\n                challengeResponses.DEVICE_KEY = null;\n                _this2.deviceKey = null;\n                _this2.randomPassword = null;\n                _this2.deviceGroupKey = null;\n                _this2.clearCachedDeviceKeyAndPassword();\n                return _respondToAuthChallenge(challenge, challengeCallback);\n              }\n              return challengeCallback(errChallenge, dataChallenge);\n            });\n          };\n          var jsonReqResp = {\n            ChallengeName: 'PASSWORD_VERIFIER',\n            ClientId: _this2.pool.getClientId(),\n            ChallengeResponses: challengeResponses,\n            Session: data.Session,\n            ClientMetadata: clientMetaData\n          };\n          if (_this2.getUserContextData()) {\n            jsonReqResp.UserContextData = _this2.getUserContextData();\n          }\n          _respondToAuthChallenge(jsonReqResp, function (errAuthenticate, dataAuthenticate) {\n            if (errAuthenticate) {\n              return callback.onFailure(errAuthenticate);\n            }\n            return _this2.authenticateUserInternal(dataAuthenticate, authenticationHelper, callback);\n          });\n          return undefined;\n          // getPasswordAuthenticationKey callback end\n        });\n        return undefined;\n      });\n      // getLargeAValue callback end\n    });\n  }\n\n  /**\n   * PRIVATE ONLY: This is an internal only method and should not\n   * be directly called by the consumers.\n   * @param {AuthenticationDetails} authDetails Contains the authentication data.\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {mfaRequired} callback.mfaRequired MFA code\n   *        required to continue.\n   * @param {authSuccess} callback.onSuccess Called on success with the new session.\n   * @returns {void}\n   */;\n  _proto.authenticateUserPlainUsernamePassword = function authenticateUserPlainUsernamePassword(authDetails, callback) {\n    var _this3 = this;\n    var authParameters = {};\n    authParameters.USERNAME = this.username;\n    authParameters.PASSWORD = authDetails.getPassword();\n    if (!authParameters.PASSWORD) {\n      callback.onFailure(new Error('PASSWORD parameter is required'));\n      return;\n    }\n    var authenticationHelper = new AuthenticationHelper(this.pool.getUserPoolName());\n    this.getCachedDeviceKeyAndPassword();\n    if (this.deviceKey != null) {\n      authParameters.DEVICE_KEY = this.deviceKey;\n    }\n    var clientMetaData = Object.keys(authDetails.getValidationData()).length !== 0 ? authDetails.getValidationData() : authDetails.getClientMetadata();\n    var jsonReq = {\n      AuthFlow: 'USER_PASSWORD_AUTH',\n      ClientId: this.pool.getClientId(),\n      AuthParameters: authParameters,\n      ClientMetadata: clientMetaData\n    };\n    if (this.getUserContextData(this.username)) {\n      jsonReq.UserContextData = this.getUserContextData(this.username);\n    }\n    // USER_PASSWORD_AUTH happens in a single round-trip: client sends userName and password,\n    // Cognito UserPools verifies password and returns tokens.\n    this.client.request('InitiateAuth', jsonReq, function (err, authResult) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return _this3.authenticateUserInternal(authResult, authenticationHelper, callback);\n    });\n  }\n\n  /**\n   * PRIVATE ONLY: This is an internal only method and should not\n   * be directly called by the consumers.\n   * @param {object} dataAuthenticate authentication data\n   * @param {object} authenticationHelper helper created\n   * @param {callback} callback passed on from caller\n   * @returns {void}\n   */;\n  _proto.authenticateUserInternal = function authenticateUserInternal(dataAuthenticate, authenticationHelper, callback) {\n    var _this4 = this;\n    var challengeName = dataAuthenticate.ChallengeName;\n    var challengeParameters = dataAuthenticate.ChallengeParameters;\n    if (challengeName === 'SMS_MFA') {\n      this.Session = dataAuthenticate.Session;\n      return callback.mfaRequired(challengeName, challengeParameters);\n    }\n    if (challengeName === 'SELECT_MFA_TYPE') {\n      this.Session = dataAuthenticate.Session;\n      return callback.selectMFAType(challengeName, challengeParameters);\n    }\n    if (challengeName === 'MFA_SETUP') {\n      this.Session = dataAuthenticate.Session;\n      return callback.mfaSetup(challengeName, challengeParameters);\n    }\n    if (challengeName === 'SOFTWARE_TOKEN_MFA') {\n      this.Session = dataAuthenticate.Session;\n      return callback.totpRequired(challengeName, challengeParameters);\n    }\n    if (challengeName === 'CUSTOM_CHALLENGE') {\n      this.Session = dataAuthenticate.Session;\n      return callback.customChallenge(challengeParameters);\n    }\n    if (challengeName === 'NEW_PASSWORD_REQUIRED') {\n      this.Session = dataAuthenticate.Session;\n      var userAttributes = null;\n      var rawRequiredAttributes = null;\n      var requiredAttributes = [];\n      var userAttributesPrefix = authenticationHelper.getNewPasswordRequiredChallengeUserAttributePrefix();\n      if (challengeParameters) {\n        userAttributes = JSON.parse(dataAuthenticate.ChallengeParameters.userAttributes);\n        rawRequiredAttributes = JSON.parse(dataAuthenticate.ChallengeParameters.requiredAttributes);\n      }\n      if (rawRequiredAttributes) {\n        for (var i = 0; i < rawRequiredAttributes.length; i++) {\n          requiredAttributes[i] = rawRequiredAttributes[i].substr(userAttributesPrefix.length);\n        }\n      }\n      return callback.newPasswordRequired(userAttributes, requiredAttributes);\n    }\n    if (challengeName === 'DEVICE_SRP_AUTH') {\n      this.Session = dataAuthenticate.Session;\n      this.getDeviceResponse(callback);\n      return undefined;\n    }\n    this.signInUserSession = this.getCognitoUserSession(dataAuthenticate.AuthenticationResult);\n    this.challengeName = challengeName;\n    this.cacheTokens();\n    var newDeviceMetadata = dataAuthenticate.AuthenticationResult.NewDeviceMetadata;\n    if (newDeviceMetadata == null) {\n      return callback.onSuccess(this.signInUserSession);\n    }\n    authenticationHelper.generateHashDevice(dataAuthenticate.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, dataAuthenticate.AuthenticationResult.NewDeviceMetadata.DeviceKey, function (errGenHash) {\n      if (errGenHash) {\n        return callback.onFailure(errGenHash);\n      }\n      var deviceSecretVerifierConfig = {\n        Salt: Buffer.from(authenticationHelper.getSaltDevices(), 'hex').toString('base64'),\n        PasswordVerifier: Buffer.from(authenticationHelper.getVerifierDevices(), 'hex').toString('base64')\n      };\n      _this4.verifierDevices = deviceSecretVerifierConfig.PasswordVerifier;\n      _this4.deviceGroupKey = newDeviceMetadata.DeviceGroupKey;\n      _this4.randomPassword = authenticationHelper.getRandomPassword();\n      _this4.client.request('ConfirmDevice', {\n        DeviceKey: newDeviceMetadata.DeviceKey,\n        AccessToken: _this4.signInUserSession.getAccessToken().getJwtToken(),\n        DeviceSecretVerifierConfig: deviceSecretVerifierConfig,\n        DeviceName: userAgent\n      }, function (errConfirm, dataConfirm) {\n        if (errConfirm) {\n          return callback.onFailure(errConfirm);\n        }\n        _this4.deviceKey = dataAuthenticate.AuthenticationResult.NewDeviceMetadata.DeviceKey;\n        _this4.cacheDeviceKeyAndPassword();\n        if (dataConfirm.UserConfirmationNecessary === true) {\n          return callback.onSuccess(_this4.signInUserSession, dataConfirm.UserConfirmationNecessary);\n        }\n        return callback.onSuccess(_this4.signInUserSession);\n      });\n      return undefined;\n    });\n    return undefined;\n  }\n\n  /**\n   * This method is user to complete the NEW_PASSWORD_REQUIRED challenge.\n   * Pass the new password with any new user attributes to be updated.\n   * User attribute keys must be of format userAttributes.<attribute_name>.\n   * @param {string} newPassword new password for this user\n   * @param {object} requiredAttributeData map with values for all required attributes\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {mfaRequired} callback.mfaRequired MFA code required to continue.\n   * @param {customChallenge} callback.customChallenge Custom challenge\n   *         response required to continue.\n   * @param {authSuccess} callback.onSuccess Called on success with the new session.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.completeNewPasswordChallenge = function completeNewPasswordChallenge(newPassword, requiredAttributeData, callback, clientMetadata) {\n    var _this5 = this;\n    if (!newPassword) {\n      return callback.onFailure(new Error('New password is required.'));\n    }\n    var authenticationHelper = new AuthenticationHelper(this.pool.getUserPoolName());\n    var userAttributesPrefix = authenticationHelper.getNewPasswordRequiredChallengeUserAttributePrefix();\n    var finalUserAttributes = {};\n    if (requiredAttributeData) {\n      Object.keys(requiredAttributeData).forEach(function (key) {\n        finalUserAttributes[userAttributesPrefix + key] = requiredAttributeData[key];\n      });\n    }\n    finalUserAttributes.NEW_PASSWORD = newPassword;\n    finalUserAttributes.USERNAME = this.username;\n    var jsonReq = {\n      ChallengeName: 'NEW_PASSWORD_REQUIRED',\n      ClientId: this.pool.getClientId(),\n      ChallengeResponses: finalUserAttributes,\n      Session: this.Session,\n      ClientMetadata: clientMetadata\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.request('RespondToAuthChallenge', jsonReq, function (errAuthenticate, dataAuthenticate) {\n      if (errAuthenticate) {\n        return callback.onFailure(errAuthenticate);\n      }\n      return _this5.authenticateUserInternal(dataAuthenticate, authenticationHelper, callback);\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used to get a session using device authentication. It is called at the end of user\n   * authentication\n   *\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {authSuccess} callback.onSuccess Called on success with the new session.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   * @private\n   */;\n  _proto.getDeviceResponse = function getDeviceResponse(callback, clientMetadata) {\n    var _this6 = this;\n    var authenticationHelper = new AuthenticationHelper(this.deviceGroupKey);\n    var dateHelper = new DateHelper();\n    var authParameters = {};\n    authParameters.USERNAME = this.username;\n    authParameters.DEVICE_KEY = this.deviceKey;\n    authenticationHelper.getLargeAValue(function (errAValue, aValue) {\n      // getLargeAValue callback start\n      if (errAValue) {\n        callback.onFailure(errAValue);\n      }\n      authParameters.SRP_A = aValue.toString(16);\n      var jsonReq = {\n        ChallengeName: 'DEVICE_SRP_AUTH',\n        ClientId: _this6.pool.getClientId(),\n        ChallengeResponses: authParameters,\n        ClientMetadata: clientMetadata,\n        Session: _this6.Session\n      };\n      if (_this6.getUserContextData()) {\n        jsonReq.UserContextData = _this6.getUserContextData();\n      }\n      _this6.client.request('RespondToAuthChallenge', jsonReq, function (err, data) {\n        if (err) {\n          return callback.onFailure(err);\n        }\n        var challengeParameters = data.ChallengeParameters;\n        var serverBValue = new BigInteger(challengeParameters.SRP_B, 16);\n        var salt = new BigInteger(challengeParameters.SALT, 16);\n        authenticationHelper.getPasswordAuthenticationKey(_this6.deviceKey, _this6.randomPassword, serverBValue, salt, function (errHkdf, hkdf) {\n          // getPasswordAuthenticationKey callback start\n          if (errHkdf) {\n            return callback.onFailure(errHkdf);\n          }\n          var dateNow = dateHelper.getNowString();\n          var concatBuffer = Buffer.concat([Buffer.from(_this6.deviceGroupKey, 'utf8'), Buffer.from(_this6.deviceKey, 'utf8'), Buffer.from(challengeParameters.SECRET_BLOCK, 'base64'), Buffer.from(dateNow, 'utf8')]);\n          var awsCryptoHash = new Sha256(hkdf);\n          awsCryptoHash.update(concatBuffer);\n          var resultFromAWSCrypto = awsCryptoHash.digestSync();\n          var signatureString = Buffer.from(resultFromAWSCrypto).toString('base64');\n          var challengeResponses = {};\n          challengeResponses.USERNAME = _this6.username;\n          challengeResponses.PASSWORD_CLAIM_SECRET_BLOCK = challengeParameters.SECRET_BLOCK;\n          challengeResponses.TIMESTAMP = dateNow;\n          challengeResponses.PASSWORD_CLAIM_SIGNATURE = signatureString;\n          challengeResponses.DEVICE_KEY = _this6.deviceKey;\n          var jsonReqResp = {\n            ChallengeName: 'DEVICE_PASSWORD_VERIFIER',\n            ClientId: _this6.pool.getClientId(),\n            ChallengeResponses: challengeResponses,\n            Session: data.Session\n          };\n          if (_this6.getUserContextData()) {\n            jsonReqResp.UserContextData = _this6.getUserContextData();\n          }\n          _this6.client.request('RespondToAuthChallenge', jsonReqResp, function (errAuthenticate, dataAuthenticate) {\n            if (errAuthenticate) {\n              return callback.onFailure(errAuthenticate);\n            }\n            _this6.signInUserSession = _this6.getCognitoUserSession(dataAuthenticate.AuthenticationResult);\n            _this6.cacheTokens();\n            return callback.onSuccess(_this6.signInUserSession);\n          });\n          return undefined;\n          // getPasswordAuthenticationKey callback end\n        });\n        return undefined;\n      });\n      // getLargeAValue callback end\n    });\n  }\n\n  /**\n   * This is used for a certain user to confirm the registration by using a confirmation code\n   * @param {string} confirmationCode Code entered by user.\n   * @param {bool} forceAliasCreation Allow migrating from an existing email / phone number.\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.confirmRegistration = function confirmRegistration(confirmationCode, forceAliasCreation, callback, clientMetadata) {\n    var jsonReq = {\n      ClientId: this.pool.getClientId(),\n      ConfirmationCode: confirmationCode,\n      Username: this.username,\n      ForceAliasCreation: forceAliasCreation,\n      ClientMetadata: clientMetadata\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.request('ConfirmSignUp', jsonReq, function (err) {\n      if (err) {\n        return callback(err, null);\n      }\n      return callback(null, 'SUCCESS');\n    });\n  }\n\n  /**\n   * This is used by the user once he has the responses to a custom challenge\n   * @param {string} answerChallenge The custom challenge answer.\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {customChallenge} callback.customChallenge\n   *    Custom challenge response required to continue.\n   * @param {authSuccess} callback.onSuccess Called on success with the new session.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.sendCustomChallengeAnswer = function sendCustomChallengeAnswer(answerChallenge, callback, clientMetadata) {\n    var _this7 = this;\n    var challengeResponses = {};\n    challengeResponses.USERNAME = this.username;\n    challengeResponses.ANSWER = answerChallenge;\n    var authenticationHelper = new AuthenticationHelper(this.pool.getUserPoolName());\n    this.getCachedDeviceKeyAndPassword();\n    if (this.deviceKey != null) {\n      challengeResponses.DEVICE_KEY = this.deviceKey;\n    }\n    var jsonReq = {\n      ChallengeName: 'CUSTOM_CHALLENGE',\n      ChallengeResponses: challengeResponses,\n      ClientId: this.pool.getClientId(),\n      Session: this.Session,\n      ClientMetadata: clientMetadata\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.request('RespondToAuthChallenge', jsonReq, function (err, data) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return _this7.authenticateUserInternal(data, authenticationHelper, callback);\n    });\n  }\n\n  /**\n   * This is used by the user once he has an MFA code\n   * @param {string} confirmationCode The MFA code entered by the user.\n   * @param {object} callback Result callback map.\n   * @param {string} mfaType The mfa we are replying to.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {authSuccess} callback.onSuccess Called on success with the new session.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.sendMFACode = function sendMFACode(confirmationCode, callback, mfaType, clientMetadata) {\n    var _this8 = this;\n    var challengeResponses = {};\n    challengeResponses.USERNAME = this.username;\n    challengeResponses.SMS_MFA_CODE = confirmationCode;\n    var mfaTypeSelection = mfaType || 'SMS_MFA';\n    if (mfaTypeSelection === 'SOFTWARE_TOKEN_MFA') {\n      challengeResponses.SOFTWARE_TOKEN_MFA_CODE = confirmationCode;\n    }\n    if (this.deviceKey != null) {\n      challengeResponses.DEVICE_KEY = this.deviceKey;\n    }\n    var jsonReq = {\n      ChallengeName: mfaTypeSelection,\n      ChallengeResponses: challengeResponses,\n      ClientId: this.pool.getClientId(),\n      Session: this.Session,\n      ClientMetadata: clientMetadata\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.request('RespondToAuthChallenge', jsonReq, function (err, dataAuthenticate) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      var challengeName = dataAuthenticate.ChallengeName;\n      if (challengeName === 'DEVICE_SRP_AUTH') {\n        _this8.getDeviceResponse(callback);\n        return undefined;\n      }\n      _this8.signInUserSession = _this8.getCognitoUserSession(dataAuthenticate.AuthenticationResult);\n      _this8.cacheTokens();\n      if (dataAuthenticate.AuthenticationResult.NewDeviceMetadata == null) {\n        return callback.onSuccess(_this8.signInUserSession);\n      }\n      var authenticationHelper = new AuthenticationHelper(_this8.pool.getUserPoolName());\n      authenticationHelper.generateHashDevice(dataAuthenticate.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey, dataAuthenticate.AuthenticationResult.NewDeviceMetadata.DeviceKey, function (errGenHash) {\n        if (errGenHash) {\n          return callback.onFailure(errGenHash);\n        }\n        var deviceSecretVerifierConfig = {\n          Salt: Buffer.from(authenticationHelper.getSaltDevices(), 'hex').toString('base64'),\n          PasswordVerifier: Buffer.from(authenticationHelper.getVerifierDevices(), 'hex').toString('base64')\n        };\n        _this8.verifierDevices = deviceSecretVerifierConfig.PasswordVerifier;\n        _this8.deviceGroupKey = dataAuthenticate.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey;\n        _this8.randomPassword = authenticationHelper.getRandomPassword();\n        _this8.client.request('ConfirmDevice', {\n          DeviceKey: dataAuthenticate.AuthenticationResult.NewDeviceMetadata.DeviceKey,\n          AccessToken: _this8.signInUserSession.getAccessToken().getJwtToken(),\n          DeviceSecretVerifierConfig: deviceSecretVerifierConfig,\n          DeviceName: userAgent\n        }, function (errConfirm, dataConfirm) {\n          if (errConfirm) {\n            return callback.onFailure(errConfirm);\n          }\n          _this8.deviceKey = dataAuthenticate.AuthenticationResult.NewDeviceMetadata.DeviceKey;\n          _this8.cacheDeviceKeyAndPassword();\n          if (dataConfirm.UserConfirmationNecessary === true) {\n            return callback.onSuccess(_this8.signInUserSession, dataConfirm.UserConfirmationNecessary);\n          }\n          return callback.onSuccess(_this8.signInUserSession);\n        });\n        return undefined;\n      });\n      return undefined;\n    });\n  }\n\n  /**\n   * This is used by an authenticated user to change the current password\n   * @param {string} oldUserPassword The current password.\n   * @param {string} newUserPassword The requested new password.\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.changePassword = function changePassword(oldUserPassword, newUserPassword, callback, clientMetadata) {\n    if (!(this.signInUserSession != null && this.signInUserSession.isValid())) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    this.client.request('ChangePassword', {\n      PreviousPassword: oldUserPassword,\n      ProposedPassword: newUserPassword,\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      ClientMetadata: clientMetadata\n    }, function (err) {\n      if (err) {\n        return callback(err, null);\n      }\n      return callback(null, 'SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used by an authenticated user to enable MFA for itself\n   * @deprecated\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.enableMFA = function enableMFA(callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    var mfaOptions = [];\n    var mfaEnabled = {\n      DeliveryMedium: 'SMS',\n      AttributeName: 'phone_number'\n    };\n    mfaOptions.push(mfaEnabled);\n    this.client.request('SetUserSettings', {\n      MFAOptions: mfaOptions,\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    }, function (err) {\n      if (err) {\n        return callback(err, null);\n      }\n      return callback(null, 'SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used by an authenticated user to enable MFA for itself\n   * @param {IMfaSettings} smsMfaSettings the sms mfa settings\n   * @param {IMFASettings} softwareTokenMfaSettings the software token mfa settings\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.setUserMfaPreference = function setUserMfaPreference(smsMfaSettings, softwareTokenMfaSettings, callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    this.client.request('SetUserMFAPreference', {\n      SMSMfaSettings: smsMfaSettings,\n      SoftwareTokenMfaSettings: softwareTokenMfaSettings,\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    }, function (err) {\n      if (err) {\n        return callback(err, null);\n      }\n      return callback(null, 'SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used by an authenticated user to disable MFA for itself\n   * @deprecated\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.disableMFA = function disableMFA(callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    var mfaOptions = [];\n    this.client.request('SetUserSettings', {\n      MFAOptions: mfaOptions,\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    }, function (err) {\n      if (err) {\n        return callback(err, null);\n      }\n      return callback(null, 'SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used by an authenticated user to delete itself\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.deleteUser = function deleteUser(callback, clientMetadata) {\n    var _this9 = this;\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    this.client.request('DeleteUser', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      ClientMetadata: clientMetadata\n    }, function (err) {\n      if (err) {\n        return callback(err, null);\n      }\n      _this9.clearCachedUser();\n      return callback(null, 'SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * @typedef {CognitoUserAttribute | { Name:string, Value:string }} AttributeArg\n   */\n  /**\n   * This is used by an authenticated user to change a list of attributes\n   * @param {AttributeArg[]} attributes A list of the new user attributes.\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.updateAttributes = function updateAttributes(attributes, callback, clientMetadata) {\n    var _this10 = this;\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    this.client.request('UpdateUserAttributes', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      UserAttributes: attributes,\n      ClientMetadata: clientMetadata\n    }, function (err, result) {\n      if (err) {\n        return callback(err, null);\n      }\n\n      // update cached user\n      return _this10.getUserData(function () {\n        return callback(null, 'SUCCESS', result);\n      }, {\n        bypassCache: true\n      });\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used by an authenticated user to get a list of attributes\n   * @param {nodeCallback<CognitoUserAttribute[]>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.getUserAttributes = function getUserAttributes(callback) {\n    if (!(this.signInUserSession != null && this.signInUserSession.isValid())) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    this.client.request('GetUser', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    }, function (err, userData) {\n      if (err) {\n        return callback(err, null);\n      }\n      var attributeList = [];\n      for (var i = 0; i < userData.UserAttributes.length; i++) {\n        var attribute = {\n          Name: userData.UserAttributes[i].Name,\n          Value: userData.UserAttributes[i].Value\n        };\n        var userAttribute = new CognitoUserAttribute(attribute);\n        attributeList.push(userAttribute);\n      }\n      return callback(null, attributeList);\n    });\n    return undefined;\n  }\n\n  /**\n   * This was previously used by an authenticated user to get MFAOptions,\n   * but no longer returns a meaningful response. Refer to the documentation for\n   * how to setup and use MFA: https://docs.amplify.aws/lib/auth/mfa/q/platform/js\n   * @deprecated\n   * @param {nodeCallback<MFAOptions>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.getMFAOptions = function getMFAOptions(callback) {\n    if (!(this.signInUserSession != null && this.signInUserSession.isValid())) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    this.client.request('GetUser', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    }, function (err, userData) {\n      if (err) {\n        return callback(err, null);\n      }\n      return callback(null, userData.MFAOptions);\n    });\n    return undefined;\n  }\n\n  /**\n   * PRIVATE ONLY: This is an internal only method and should not\n   * be directly called by the consumers.\n   */;\n  _proto.createGetUserRequest = function createGetUserRequest() {\n    return this.client.promisifyRequest('GetUser', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    });\n  }\n\n  /**\n   * PRIVATE ONLY: This is an internal only method and should not\n   * be directly called by the consumers.\n   */;\n  _proto.refreshSessionIfPossible = function refreshSessionIfPossible(options) {\n    var _this11 = this;\n    if (options === void 0) {\n      options = {};\n    }\n    // best effort, if not possible\n    return new Promise(function (resolve) {\n      var refresh = _this11.signInUserSession.getRefreshToken();\n      if (refresh && refresh.getToken()) {\n        _this11.refreshSession(refresh, resolve, options.clientMetadata);\n      } else {\n        resolve();\n      }\n    });\n  }\n\n  /**\n   * @typedef {Object} GetUserDataOptions\n   * @property {boolean} bypassCache - force getting data from Cognito service\n   * @property {Record<string, string>} clientMetadata - clientMetadata for getSession\n   */\n\n  /**\n   * This is used by an authenticated users to get the userData\n   * @param {nodeCallback<UserData>} callback Called on success or error.\n   * @param {GetUserDataOptions} params\n   * @returns {void}\n   */;\n  _proto.getUserData = function getUserData(callback, params) {\n    var _this12 = this;\n    if (!(this.signInUserSession != null && this.signInUserSession.isValid())) {\n      this.clearCachedUserData();\n      return callback(new Error('User is not authenticated'), null);\n    }\n    var userData = this.getUserDataFromCache();\n    if (!userData) {\n      this.fetchUserData().then(function (data) {\n        callback(null, data);\n      })[\"catch\"](callback);\n      return;\n    }\n    if (this.isFetchUserDataAndTokenRequired(params)) {\n      this.fetchUserData().then(function (data) {\n        return _this12.refreshSessionIfPossible(params).then(function () {\n          return data;\n        });\n      }).then(function (data) {\n        return callback(null, data);\n      })[\"catch\"](callback);\n      return;\n    }\n    try {\n      callback(null, JSON.parse(userData));\n      return;\n    } catch (err) {\n      this.clearCachedUserData();\n      callback(err, null);\n      return;\n    }\n  }\n\n  /**\n   *\n   * PRIVATE ONLY: This is an internal only method and should not\n   * be directly called by the consumers.\n   */;\n  _proto.getUserDataFromCache = function getUserDataFromCache() {\n    var userData = this.storage.getItem(this.userDataKey);\n    return userData;\n  }\n\n  /**\n   *\n   * PRIVATE ONLY: This is an internal only method and should not\n   * be directly called by the consumers.\n   */;\n  _proto.isFetchUserDataAndTokenRequired = function isFetchUserDataAndTokenRequired(params) {\n    var _ref = params || {},\n      _ref$bypassCache = _ref.bypassCache,\n      bypassCache = _ref$bypassCache === void 0 ? false : _ref$bypassCache;\n    return bypassCache;\n  }\n  /**\n   *\n   * PRIVATE ONLY: This is an internal only method and should not\n   * be directly called by the consumers.\n   */;\n  _proto.fetchUserData = function fetchUserData() {\n    var _this13 = this;\n    return this.createGetUserRequest().then(function (data) {\n      _this13.cacheUserData(data);\n      return data;\n    });\n  }\n\n  /**\n   * This is used by an authenticated user to delete a list of attributes\n   * @param {string[]} attributeList Names of the attributes to delete.\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.deleteAttributes = function deleteAttributes(attributeList, callback) {\n    var _this14 = this;\n    if (!(this.signInUserSession != null && this.signInUserSession.isValid())) {\n      return callback(new Error('User is not authenticated'), null);\n    }\n    this.client.request('DeleteUserAttributes', {\n      UserAttributeNames: attributeList,\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    }, function (err) {\n      if (err) {\n        return callback(err, null);\n      }\n\n      // update cached user\n      return _this14.getUserData(function () {\n        return callback(null, 'SUCCESS');\n      }, {\n        bypassCache: true\n      });\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used by a user to resend a confirmation code\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.resendConfirmationCode = function resendConfirmationCode(callback, clientMetadata) {\n    var jsonReq = {\n      ClientId: this.pool.getClientId(),\n      Username: this.username,\n      ClientMetadata: clientMetadata\n    };\n    this.client.request('ResendConfirmationCode', jsonReq, function (err, result) {\n      if (err) {\n        return callback(err, null);\n      }\n      return callback(null, result);\n    });\n  }\n\n  /**\n   * @typedef {Object} GetSessionOptions\n   * @property {Record<string, string>} clientMetadata - clientMetadata for getSession\n   */\n\n  /**\n   * This is used to get a session, either from the session object\n   * or from  the local storage, or by using a refresh token\n   *\n   * @param {nodeCallback<CognitoUserSession>} callback Called on success or error.\n   * @param {GetSessionOptions} options\n   * @returns {void}\n   */;\n  _proto.getSession = function getSession(callback, options) {\n    if (options === void 0) {\n      options = {};\n    }\n    if (this.username == null) {\n      return callback(new Error('Username is null. Cannot retrieve a new session'), null);\n    }\n    if (this.signInUserSession != null && this.signInUserSession.isValid()) {\n      return callback(null, this.signInUserSession);\n    }\n    var keyPrefix = \"CognitoIdentityServiceProvider.\" + this.pool.getClientId() + \".\" + this.username;\n    var idTokenKey = keyPrefix + \".idToken\";\n    var accessTokenKey = keyPrefix + \".accessToken\";\n    var refreshTokenKey = keyPrefix + \".refreshToken\";\n    var clockDriftKey = keyPrefix + \".clockDrift\";\n    if (this.storage.getItem(idTokenKey)) {\n      var idToken = new CognitoIdToken({\n        IdToken: this.storage.getItem(idTokenKey)\n      });\n      var accessToken = new CognitoAccessToken({\n        AccessToken: this.storage.getItem(accessTokenKey)\n      });\n      var refreshToken = new CognitoRefreshToken({\n        RefreshToken: this.storage.getItem(refreshTokenKey)\n      });\n      var clockDrift = parseInt(this.storage.getItem(clockDriftKey), 0) || 0;\n      var sessionData = {\n        IdToken: idToken,\n        AccessToken: accessToken,\n        RefreshToken: refreshToken,\n        ClockDrift: clockDrift\n      };\n      var cachedSession = new CognitoUserSession(sessionData);\n      if (cachedSession.isValid()) {\n        this.signInUserSession = cachedSession;\n        return callback(null, this.signInUserSession);\n      }\n      if (!refreshToken.getToken()) {\n        return callback(new Error('Cannot retrieve a new session. Please authenticate.'), null);\n      }\n      this.refreshSession(refreshToken, callback, options.clientMetadata);\n    } else {\n      callback(new Error('Local storage is missing an ID Token, Please authenticate'), null);\n    }\n    return undefined;\n  }\n\n  /**\n   * This uses the refreshToken to retrieve a new session\n   * @param {CognitoRefreshToken} refreshToken A previous session's refresh token.\n   * @param {nodeCallback<CognitoUserSession>} callback Called on success or error.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.refreshSession = function refreshSession(refreshToken, callback, clientMetadata) {\n    var _this15 = this;\n    var wrappedCallback = this.pool.wrapRefreshSessionCallback ? this.pool.wrapRefreshSessionCallback(callback) : callback;\n    var authParameters = {};\n    authParameters.REFRESH_TOKEN = refreshToken.getToken();\n    var keyPrefix = \"CognitoIdentityServiceProvider.\" + this.pool.getClientId();\n    var lastUserKey = keyPrefix + \".LastAuthUser\";\n    if (this.storage.getItem(lastUserKey)) {\n      this.username = this.storage.getItem(lastUserKey);\n      var deviceKeyKey = keyPrefix + \".\" + this.username + \".deviceKey\";\n      this.deviceKey = this.storage.getItem(deviceKeyKey);\n      authParameters.DEVICE_KEY = this.deviceKey;\n    }\n    var jsonReq = {\n      ClientId: this.pool.getClientId(),\n      AuthFlow: 'REFRESH_TOKEN_AUTH',\n      AuthParameters: authParameters,\n      ClientMetadata: clientMetadata\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.requestWithRetry('InitiateAuth', jsonReq, function (err, authResult) {\n      if (err) {\n        if (err.code === 'NotAuthorizedException') {\n          _this15.clearCachedUser();\n        }\n        return wrappedCallback(err, null);\n      }\n      if (authResult) {\n        var authenticationResult = authResult.AuthenticationResult;\n        if (!Object.prototype.hasOwnProperty.call(authenticationResult, 'RefreshToken')) {\n          authenticationResult.RefreshToken = refreshToken.getToken();\n        }\n        _this15.signInUserSession = _this15.getCognitoUserSession(authenticationResult);\n        _this15.cacheTokens();\n        return wrappedCallback(null, _this15.signInUserSession);\n      }\n      return undefined;\n    });\n  }\n\n  /**\n   * This is used to save the session tokens to local storage\n   * @returns {void}\n   */;\n  _proto.cacheTokens = function cacheTokens() {\n    var keyPrefix = \"CognitoIdentityServiceProvider.\" + this.pool.getClientId();\n    var idTokenKey = keyPrefix + \".\" + this.username + \".idToken\";\n    var accessTokenKey = keyPrefix + \".\" + this.username + \".accessToken\";\n    var refreshTokenKey = keyPrefix + \".\" + this.username + \".refreshToken\";\n    var clockDriftKey = keyPrefix + \".\" + this.username + \".clockDrift\";\n    var lastUserKey = keyPrefix + \".LastAuthUser\";\n    this.storage.setItem(idTokenKey, this.signInUserSession.getIdToken().getJwtToken());\n    this.storage.setItem(accessTokenKey, this.signInUserSession.getAccessToken().getJwtToken());\n    this.storage.setItem(refreshTokenKey, this.signInUserSession.getRefreshToken().getToken());\n    this.storage.setItem(clockDriftKey, \"\" + this.signInUserSession.getClockDrift());\n    this.storage.setItem(lastUserKey, this.username);\n  }\n\n  /**\n   * This is to cache user data\n   */;\n  _proto.cacheUserData = function cacheUserData(userData) {\n    this.storage.setItem(this.userDataKey, JSON.stringify(userData));\n  }\n\n  /**\n   * This is to remove cached user data\n   */;\n  _proto.clearCachedUserData = function clearCachedUserData() {\n    this.storage.removeItem(this.userDataKey);\n  };\n  _proto.clearCachedUser = function clearCachedUser() {\n    this.clearCachedTokens();\n    this.clearCachedUserData();\n  }\n\n  /**\n   * This is used to cache the device key and device group and device password\n   * @returns {void}\n   */;\n  _proto.cacheDeviceKeyAndPassword = function cacheDeviceKeyAndPassword() {\n    var keyPrefix = \"CognitoIdentityServiceProvider.\" + this.pool.getClientId() + \".\" + this.username;\n    var deviceKeyKey = keyPrefix + \".deviceKey\";\n    var randomPasswordKey = keyPrefix + \".randomPasswordKey\";\n    var deviceGroupKeyKey = keyPrefix + \".deviceGroupKey\";\n    this.storage.setItem(deviceKeyKey, this.deviceKey);\n    this.storage.setItem(randomPasswordKey, this.randomPassword);\n    this.storage.setItem(deviceGroupKeyKey, this.deviceGroupKey);\n  }\n\n  /**\n   * This is used to get current device key and device group and device password\n   * @returns {void}\n   */;\n  _proto.getCachedDeviceKeyAndPassword = function getCachedDeviceKeyAndPassword() {\n    var keyPrefix = \"CognitoIdentityServiceProvider.\" + this.pool.getClientId() + \".\" + this.username;\n    var deviceKeyKey = keyPrefix + \".deviceKey\";\n    var randomPasswordKey = keyPrefix + \".randomPasswordKey\";\n    var deviceGroupKeyKey = keyPrefix + \".deviceGroupKey\";\n    if (this.storage.getItem(deviceKeyKey)) {\n      this.deviceKey = this.storage.getItem(deviceKeyKey);\n      this.randomPassword = this.storage.getItem(randomPasswordKey);\n      this.deviceGroupKey = this.storage.getItem(deviceGroupKeyKey);\n    }\n  }\n\n  /**\n   * This is used to clear the device key info from local storage\n   * @returns {void}\n   */;\n  _proto.clearCachedDeviceKeyAndPassword = function clearCachedDeviceKeyAndPassword() {\n    var keyPrefix = \"CognitoIdentityServiceProvider.\" + this.pool.getClientId() + \".\" + this.username;\n    var deviceKeyKey = keyPrefix + \".deviceKey\";\n    var randomPasswordKey = keyPrefix + \".randomPasswordKey\";\n    var deviceGroupKeyKey = keyPrefix + \".deviceGroupKey\";\n    this.storage.removeItem(deviceKeyKey);\n    this.storage.removeItem(randomPasswordKey);\n    this.storage.removeItem(deviceGroupKeyKey);\n  }\n\n  /**\n   * This is used to clear the session tokens from local storage\n   * @returns {void}\n   */;\n  _proto.clearCachedTokens = function clearCachedTokens() {\n    var keyPrefix = \"CognitoIdentityServiceProvider.\" + this.pool.getClientId();\n    var idTokenKey = keyPrefix + \".\" + this.username + \".idToken\";\n    var accessTokenKey = keyPrefix + \".\" + this.username + \".accessToken\";\n    var refreshTokenKey = keyPrefix + \".\" + this.username + \".refreshToken\";\n    var lastUserKey = keyPrefix + \".LastAuthUser\";\n    var clockDriftKey = keyPrefix + \".\" + this.username + \".clockDrift\";\n    this.storage.removeItem(idTokenKey);\n    this.storage.removeItem(accessTokenKey);\n    this.storage.removeItem(refreshTokenKey);\n    this.storage.removeItem(lastUserKey);\n    this.storage.removeItem(clockDriftKey);\n  }\n\n  /**\n   * This is used to build a user session from tokens retrieved in the authentication result\n   * @param {object} authResult Successful auth response from server.\n   * @returns {CognitoUserSession} The new user session.\n   * @private\n   */;\n  _proto.getCognitoUserSession = function getCognitoUserSession(authResult) {\n    var idToken = new CognitoIdToken(authResult);\n    var accessToken = new CognitoAccessToken(authResult);\n    var refreshToken = new CognitoRefreshToken(authResult);\n    var sessionData = {\n      IdToken: idToken,\n      AccessToken: accessToken,\n      RefreshToken: refreshToken\n    };\n    return new CognitoUserSession(sessionData);\n  }\n\n  /**\n   * This is used to initiate a forgot password request\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {inputVerificationCode?} callback.inputVerificationCode\n   *    Optional callback raised instead of onSuccess with response data.\n   * @param {onSuccess} callback.onSuccess Called on success.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.forgotPassword = function forgotPassword(callback, clientMetadata) {\n    var jsonReq = {\n      ClientId: this.pool.getClientId(),\n      Username: this.username,\n      ClientMetadata: clientMetadata\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.request('ForgotPassword', jsonReq, function (err, data) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      if (typeof callback.inputVerificationCode === 'function') {\n        return callback.inputVerificationCode(data);\n      }\n      return callback.onSuccess(data);\n    });\n  }\n\n  /**\n   * This is used to confirm a new password using a confirmationCode\n   * @param {string} confirmationCode Code entered by user.\n   * @param {string} newPassword Confirm new password.\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<void>} callback.onSuccess Called on success.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.confirmPassword = function confirmPassword(confirmationCode, newPassword, callback, clientMetadata) {\n    var jsonReq = {\n      ClientId: this.pool.getClientId(),\n      Username: this.username,\n      ConfirmationCode: confirmationCode,\n      Password: newPassword,\n      ClientMetadata: clientMetadata\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.request('ConfirmForgotPassword', jsonReq, function (err) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return callback.onSuccess('SUCCESS');\n    });\n  }\n\n  /**\n   * This is used to initiate an attribute confirmation request\n   * @param {string} attributeName User attribute that needs confirmation.\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {inputVerificationCode} callback.inputVerificationCode Called on success.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.getAttributeVerificationCode = function getAttributeVerificationCode(attributeName, callback, clientMetadata) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback.onFailure(new Error('User is not authenticated'));\n    }\n    this.client.request('GetUserAttributeVerificationCode', {\n      AttributeName: attributeName,\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      ClientMetadata: clientMetadata\n    }, function (err, data) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      if (typeof callback.inputVerificationCode === 'function') {\n        return callback.inputVerificationCode(data);\n      }\n      return callback.onSuccess('SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used to confirm an attribute using a confirmation code\n   * @param {string} attributeName Attribute being confirmed.\n   * @param {string} confirmationCode Code entered by user.\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<string>} callback.onSuccess Called on success.\n   * @returns {void}\n   */;\n  _proto.verifyAttribute = function verifyAttribute(attributeName, confirmationCode, callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback.onFailure(new Error('User is not authenticated'));\n    }\n    this.client.request('VerifyUserAttribute', {\n      AttributeName: attributeName,\n      Code: confirmationCode,\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    }, function (err) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return callback.onSuccess('SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used to get the device information using the current device key\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<*>} callback.onSuccess Called on success with device data.\n   * @returns {void}\n   */;\n  _proto.getDevice = function getDevice(callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback.onFailure(new Error('User is not authenticated'));\n    }\n    this.client.request('GetDevice', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      DeviceKey: this.deviceKey\n    }, function (err, data) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return callback.onSuccess(data);\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used to forget a specific device\n   * @param {string} deviceKey Device key.\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<string>} callback.onSuccess Called on success.\n   * @returns {void}\n   */;\n  _proto.forgetSpecificDevice = function forgetSpecificDevice(deviceKey, callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback.onFailure(new Error('User is not authenticated'));\n    }\n    this.client.request('ForgetDevice', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      DeviceKey: deviceKey\n    }, function (err) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return callback.onSuccess('SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used to forget the current device\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<string>} callback.onSuccess Called on success.\n   * @returns {void}\n   */;\n  _proto.forgetDevice = function forgetDevice(callback) {\n    var _this16 = this;\n    this.forgetSpecificDevice(this.deviceKey, {\n      onFailure: callback.onFailure,\n      onSuccess: function onSuccess(result) {\n        _this16.deviceKey = null;\n        _this16.deviceGroupKey = null;\n        _this16.randomPassword = null;\n        _this16.clearCachedDeviceKeyAndPassword();\n        return callback.onSuccess(result);\n      }\n    });\n  }\n\n  /**\n   * This is used to set the device status as remembered\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<string>} callback.onSuccess Called on success.\n   * @returns {void}\n   */;\n  _proto.setDeviceStatusRemembered = function setDeviceStatusRemembered(callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback.onFailure(new Error('User is not authenticated'));\n    }\n    this.client.request('UpdateDeviceStatus', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      DeviceKey: this.deviceKey,\n      DeviceRememberedStatus: 'remembered'\n    }, function (err) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return callback.onSuccess('SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used to set the device status as not remembered\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<string>} callback.onSuccess Called on success.\n   * @returns {void}\n   */;\n  _proto.setDeviceStatusNotRemembered = function setDeviceStatusNotRemembered(callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback.onFailure(new Error('User is not authenticated'));\n    }\n    this.client.request('UpdateDeviceStatus', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      DeviceKey: this.deviceKey,\n      DeviceRememberedStatus: 'not_remembered'\n    }, function (err) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return callback.onSuccess('SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used to list all devices for a user\n   *\n   * @param {int} limit the number of devices returned in a call\n   * @param {string | null} paginationToken the pagination token in case any was returned before\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<*>} callback.onSuccess Called on success with device list.\n   * @returns {void}\n   */;\n  _proto.listDevices = function listDevices(limit, paginationToken, callback) {\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback.onFailure(new Error('User is not authenticated'));\n    }\n    var requestParams = {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n      Limit: limit\n    };\n    if (paginationToken) {\n      requestParams.PaginationToken = paginationToken;\n    }\n    this.client.request('ListDevices', requestParams, function (err, data) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      return callback.onSuccess(data);\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used to globally revoke all tokens issued to a user\n   * @param {object} callback Result callback map.\n   * @param {onFailure} callback.onFailure Called on any error.\n   * @param {onSuccess<string>} callback.onSuccess Called on success.\n   * @returns {void}\n   */;\n  _proto.globalSignOut = function globalSignOut(callback) {\n    var _this17 = this;\n    if (this.signInUserSession == null || !this.signInUserSession.isValid()) {\n      return callback.onFailure(new Error('User is not authenticated'));\n    }\n    this.client.request('GlobalSignOut', {\n      AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n    }, function (err) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      _this17.clearCachedUser();\n      return callback.onSuccess('SUCCESS');\n    });\n    return undefined;\n  }\n\n  /**\n   * This is used for the user to signOut of the application and clear the cached tokens.\n   * @returns {void}\n   */;\n  _proto.signOut = function signOut(revokeTokenCallback) {\n    var _this18 = this;\n    // If tokens won't be revoked, we just clean the client data.\n    if (!revokeTokenCallback || typeof revokeTokenCallback !== 'function') {\n      this.cleanClientData();\n      return;\n    }\n    this.getSession(function (error, _session) {\n      if (error) {\n        return revokeTokenCallback(error);\n      }\n      _this18.revokeTokens(function (err) {\n        _this18.cleanClientData();\n        revokeTokenCallback(err);\n      });\n    });\n  };\n  _proto.revokeTokens = function revokeTokens(revokeTokenCallback) {\n    if (revokeTokenCallback === void 0) {\n      revokeTokenCallback = function revokeTokenCallback() {};\n    }\n    if (typeof revokeTokenCallback !== 'function') {\n      throw new Error('Invalid revokeTokenCallback. It should be a function.');\n    }\n    var tokensToBeRevoked = [];\n    if (!this.signInUserSession) {\n      var error = new Error('User is not authenticated');\n      return revokeTokenCallback(error);\n    }\n    if (!this.signInUserSession.getAccessToken()) {\n      var _error = new Error('No Access token available');\n      return revokeTokenCallback(_error);\n    }\n    var refreshToken = this.signInUserSession.getRefreshToken().getToken();\n    var accessToken = this.signInUserSession.getAccessToken();\n    if (this.isSessionRevocable(accessToken)) {\n      if (refreshToken) {\n        return this.revokeToken({\n          token: refreshToken,\n          callback: revokeTokenCallback\n        });\n      }\n    }\n    revokeTokenCallback();\n  };\n  _proto.isSessionRevocable = function isSessionRevocable(token) {\n    if (token && typeof token.decodePayload === 'function') {\n      try {\n        var _token$decodePayload = token.decodePayload(),\n          origin_jti = _token$decodePayload.origin_jti;\n        return !!origin_jti;\n      } catch (err) {\n        // Nothing to do, token doesnt have origin_jti claim\n      }\n    }\n    return false;\n  };\n  _proto.cleanClientData = function cleanClientData() {\n    this.signInUserSession = null;\n    this.clearCachedUser();\n  };\n  _proto.revokeToken = function revokeToken(_ref2) {\n    var token = _ref2.token,\n      callback = _ref2.callback;\n    this.client.requestWithRetry('RevokeToken', {\n      Token: token,\n      ClientId: this.pool.getClientId()\n    }, function (err) {\n      if (err) {\n        return callback(err);\n      }\n      callback();\n    });\n  }\n\n  /**\n   * This is used by a user trying to select a given MFA\n   * @param {string} answerChallenge the mfa the user wants\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.sendMFASelectionAnswer = function sendMFASelectionAnswer(answerChallenge, callback) {\n    var _this19 = this;\n    var challengeResponses = {};\n    challengeResponses.USERNAME = this.username;\n    challengeResponses.ANSWER = answerChallenge;\n    var jsonReq = {\n      ChallengeName: 'SELECT_MFA_TYPE',\n      ChallengeResponses: challengeResponses,\n      ClientId: this.pool.getClientId(),\n      Session: this.Session\n    };\n    if (this.getUserContextData()) {\n      jsonReq.UserContextData = this.getUserContextData();\n    }\n    this.client.request('RespondToAuthChallenge', jsonReq, function (err, data) {\n      if (err) {\n        return callback.onFailure(err);\n      }\n      _this19.Session = data.Session;\n      if (answerChallenge === 'SMS_MFA') {\n        return callback.mfaRequired(data.ChallengeName, data.ChallengeParameters);\n      }\n      if (answerChallenge === 'SOFTWARE_TOKEN_MFA') {\n        return callback.totpRequired(data.ChallengeName, data.ChallengeParameters);\n      }\n      return undefined;\n    });\n  }\n\n  /**\n   * This returns the user context data for advanced security feature.\n   * @returns {string} the user context data from CognitoUserPool\n   */;\n  _proto.getUserContextData = function getUserContextData() {\n    var pool = this.pool;\n    return pool.getUserContextData(this.username);\n  }\n\n  /**\n   * This is used by an authenticated or a user trying to authenticate to associate a TOTP MFA\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.associateSoftwareToken = function associateSoftwareToken(callback) {\n    var _this20 = this;\n    if (!(this.signInUserSession != null && this.signInUserSession.isValid())) {\n      this.client.request('AssociateSoftwareToken', {\n        Session: this.Session\n      }, function (err, data) {\n        if (err) {\n          return callback.onFailure(err);\n        }\n        _this20.Session = data.Session;\n        return callback.associateSecretCode(data.SecretCode);\n      });\n    } else {\n      this.client.request('AssociateSoftwareToken', {\n        AccessToken: this.signInUserSession.getAccessToken().getJwtToken()\n      }, function (err, data) {\n        if (err) {\n          return callback.onFailure(err);\n        }\n        return callback.associateSecretCode(data.SecretCode);\n      });\n    }\n  }\n\n  /**\n   * This is used by an authenticated or a user trying to authenticate to verify a TOTP MFA\n   * @param {string} totpCode The MFA code entered by the user.\n   * @param {string} friendlyDeviceName The device name we are assigning to the device.\n   * @param {nodeCallback<string>} callback Called on success or error.\n   * @returns {void}\n   */;\n  _proto.verifySoftwareToken = function verifySoftwareToken(totpCode, friendlyDeviceName, callback) {\n    var _this21 = this;\n    if (!(this.signInUserSession != null && this.signInUserSession.isValid())) {\n      this.client.request('VerifySoftwareToken', {\n        Session: this.Session,\n        UserCode: totpCode,\n        FriendlyDeviceName: friendlyDeviceName\n      }, function (err, data) {\n        if (err) {\n          return callback.onFailure(err);\n        }\n        _this21.Session = data.Session;\n        var challengeResponses = {};\n        challengeResponses.USERNAME = _this21.username;\n        var jsonReq = {\n          ChallengeName: 'MFA_SETUP',\n          ClientId: _this21.pool.getClientId(),\n          ChallengeResponses: challengeResponses,\n          Session: _this21.Session\n        };\n        if (_this21.getUserContextData()) {\n          jsonReq.UserContextData = _this21.getUserContextData();\n        }\n        _this21.client.request('RespondToAuthChallenge', jsonReq, function (errRespond, dataRespond) {\n          if (errRespond) {\n            return callback.onFailure(errRespond);\n          }\n          _this21.signInUserSession = _this21.getCognitoUserSession(dataRespond.AuthenticationResult);\n          _this21.cacheTokens();\n          return callback.onSuccess(_this21.signInUserSession);\n        });\n        return undefined;\n      });\n    } else {\n      this.client.request('VerifySoftwareToken', {\n        AccessToken: this.signInUserSession.getAccessToken().getJwtToken(),\n        UserCode: totpCode,\n        FriendlyDeviceName: friendlyDeviceName\n      }, function (err, data) {\n        if (err) {\n          return callback.onFailure(err);\n        }\n        return callback.onSuccess(data);\n      });\n    }\n  };\n  return CognitoUser;\n}();\nexport { CognitoUser as default };","import { getUserAgent } from './Platform';\nimport { AUTH_CATEGORY } from './Platform/constants';\n\n// constructor\nfunction UserAgent() {}\n// public\nUserAgent.prototype.userAgent = getUserAgent();\nexport var appendToCognitoUserAgent = function appendToCognitoUserAgent(content) {\n  if (!content) {\n    return;\n  }\n  if (UserAgent.prototype.userAgent && !UserAgent.prototype.userAgent.includes(content)) {\n    UserAgent.prototype.userAgent = UserAgent.prototype.userAgent.concat(' ', content);\n  }\n  if (!UserAgent.prototype.userAgent || UserAgent.prototype.userAgent === '') {\n    UserAgent.prototype.userAgent = content;\n  }\n};\nexport var addAuthCategoryToCognitoUserAgent = function addAuthCategoryToCognitoUserAgent() {\n  UserAgent.category = AUTH_CATEGORY;\n};\nexport var addFrameworkToCognitoUserAgent = function addFrameworkToCognitoUserAgent(framework) {\n  UserAgent.framework = framework;\n};\nexport var getAmplifyUserAgent = function getAmplifyUserAgent(action) {\n  var uaCategoryAction = UserAgent.category ? \" \" + UserAgent.category : '';\n  var uaFramework = UserAgent.framework ? \" framework/\" + UserAgent.framework : '';\n  var userAgent = \"\" + UserAgent.prototype.userAgent + uaCategoryAction + uaFramework;\n  return userAgent;\n};\n\n// class for defining the amzn user-agent\nexport default UserAgent;","function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }\nfunction _wrapNativeSuper(t) { var r = \"function\" == typeof Map ? new Map() : void 0; return _wrapNativeSuper = function _wrapNativeSuper(t) { if (null === t || !_isNativeFunction(t)) return t; if (\"function\" != typeof t) throw new TypeError(\"Super expression must either be null or a function\"); if (void 0 !== r) { if (r.has(t)) return r.get(t); r.set(t, Wrapper); } function Wrapper() { return _construct(t, arguments, _getPrototypeOf(this).constructor); } return Wrapper.prototype = Object.create(t.prototype, { constructor: { value: Wrapper, enumerable: !1, writable: !0, configurable: !0 } }), _setPrototypeOf(Wrapper, t); }, _wrapNativeSuper(t); }\nfunction _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).indexOf(\"[native code]\"); } catch (n) { return \"function\" == typeof t; } }\nfunction _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }\nfunction _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }\nimport 'isomorphic-unfetch';\nimport { getAmplifyUserAgent } from './UserAgent';\nvar CognitoError = /*#__PURE__*/function (_Error) {\n  function CognitoError(message, code, name, statusCode) {\n    var _this;\n    _this = _Error.call(this, message) || this;\n    _this.code = code;\n    _this.name = name;\n    _this.statusCode = statusCode;\n    return _this;\n  }\n  _inheritsLoose(CognitoError, _Error);\n  return CognitoError;\n}(/*#__PURE__*/_wrapNativeSuper(Error));\n/** @class */\nvar Client = /*#__PURE__*/function () {\n  /**\n   * Constructs a new AWS Cognito Identity Provider client object\n   * @param {string} region AWS region\n   * @param {string} endpoint endpoint\n   * @param {object} fetchOptions options for fetch API (only credentials is supported)\n   */\n  function Client(region, endpoint, fetchOptions) {\n    this.endpoint = endpoint || \"https://cognito-idp.\" + region + \".amazonaws.com/\";\n    var _ref = fetchOptions || {},\n      credentials = _ref.credentials;\n    this.fetchOptions = credentials ? {\n      credentials: credentials\n    } : {};\n  }\n\n  /**\n   * Makes an unauthenticated request on AWS Cognito Identity Provider API\n   * using fetch\n   * @param {string} operation API operation\n   * @param {object} params Input parameters\n   * @returns Promise<object>\n   */\n  var _proto = Client.prototype;\n  _proto.promisifyRequest = function promisifyRequest(operation, params) {\n    var _this2 = this;\n    return new Promise(function (resolve, reject) {\n      _this2.request(operation, params, function (err, data) {\n        if (err) {\n          reject(new CognitoError(err.message, err.code, err.name, err.statusCode));\n        } else {\n          resolve(data);\n        }\n      });\n    });\n  };\n  _proto.requestWithRetry = function requestWithRetry(operation, params, callback) {\n    var _this3 = this;\n    var MAX_DELAY_IN_MILLIS = 5 * 1000;\n    jitteredExponentialRetry(function (p) {\n      return new Promise(function (res, rej) {\n        _this3.request(operation, p, function (error, result) {\n          if (error) {\n            rej(error);\n          } else {\n            res(result);\n          }\n        });\n      });\n    }, [params], MAX_DELAY_IN_MILLIS).then(function (result) {\n      return callback(null, result);\n    })[\"catch\"](function (error) {\n      return callback(error);\n    });\n  }\n\n  /**\n   * Makes an unauthenticated request on AWS Cognito Identity Provider API\n   * using fetch\n   * @param {string} operation API operation\n   * @param {object} params Input parameters\n   * @param {function} callback Callback called when a response is returned\n   * @returns {void}\n   */;\n  _proto.request = function request(operation, params, callback) {\n    var headers = {\n      'Content-Type': 'application/x-amz-json-1.1',\n      'X-Amz-Target': \"AWSCognitoIdentityProviderService.\" + operation,\n      'X-Amz-User-Agent': getAmplifyUserAgent(),\n      'Cache-Control': 'no-store'\n    };\n    var options = Object.assign({}, this.fetchOptions, {\n      headers: headers,\n      method: 'POST',\n      mode: 'cors',\n      body: JSON.stringify(params)\n    });\n    var response;\n    var responseJsonData;\n    fetch(this.endpoint, options).then(function (resp) {\n      response = resp;\n      return resp;\n    }, function (err) {\n      // If error happens here, the request failed\n      // if it is TypeError throw network error\n      if (err instanceof TypeError) {\n        throw new Error('Network error');\n      }\n      throw err;\n    }).then(function (resp) {\n      return resp.json()[\"catch\"](function () {\n        return {};\n      });\n    }).then(function (data) {\n      // return parsed body stream\n      if (response.ok) return callback(null, data);\n      responseJsonData = data;\n\n      // Taken from aws-sdk-js/lib/protocol/json.js\n      // eslint-disable-next-line no-underscore-dangle\n      var code = (data.__type || data.code).split('#').pop();\n      var error = new Error(data.message || data.Message || null);\n      error.name = code;\n      error.code = code;\n      return callback(error);\n    })[\"catch\"](function (err) {\n      // first check if we have a service error\n      if (response && response.headers && response.headers.get('x-amzn-errortype')) {\n        try {\n          var code = response.headers.get('x-amzn-errortype').split(':')[0];\n          var error = new Error(response.status ? response.status.toString() : null);\n          error.code = code;\n          error.name = code;\n          error.statusCode = response.status;\n          return callback(error);\n        } catch (ex) {\n          return callback(err);\n        }\n        // otherwise check if error is Network error\n      } else if (err instanceof Error && err.message === 'Network error') {\n        err.code = 'NetworkError';\n      }\n      return callback(err);\n    });\n  };\n  return Client;\n}();\nexport { Client as default };\nvar logger = {\n  debug: function debug() {\n    // Intentionally blank. This package doesn't have logging\n  }\n};\n\n/**\n * For now, all errors are retryable.\n */\nvar NonRetryableError = /*#__PURE__*/function (_Error2) {\n  function NonRetryableError(message) {\n    var _this4;\n    _this4 = _Error2.call(this, message) || this;\n    _this4.nonRetryable = true;\n    return _this4;\n  }\n  _inheritsLoose(NonRetryableError, _Error2);\n  return NonRetryableError;\n}(/*#__PURE__*/_wrapNativeSuper(Error));\nvar isNonRetryableError = function isNonRetryableError(obj) {\n  var key = 'nonRetryable';\n  return obj && obj[key];\n};\nfunction retry(functionToRetry, args, delayFn, attempt) {\n  if (attempt === void 0) {\n    attempt = 1;\n  }\n  if (typeof functionToRetry !== 'function') {\n    throw Error('functionToRetry must be a function');\n  }\n  logger.debug(functionToRetry.name + \" attempt #\" + attempt + \" with args: \" + JSON.stringify(args));\n  return functionToRetry.apply(void 0, args)[\"catch\"](function (err) {\n    logger.debug(\"error on \" + functionToRetry.name, err);\n    if (isNonRetryableError(err)) {\n      logger.debug(functionToRetry.name + \" non retryable error\", err);\n      throw err;\n    }\n    var retryIn = delayFn(attempt, args, err);\n    logger.debug(functionToRetry.name + \" retrying in \" + retryIn + \" ms\");\n    if (retryIn !== false) {\n      return new Promise(function (res) {\n        return setTimeout(res, retryIn);\n      }).then(function () {\n        return retry(functionToRetry, args, delayFn, attempt + 1);\n      });\n    } else {\n      throw err;\n    }\n  });\n}\nfunction jitteredBackoff(maxDelayMs) {\n  var BASE_TIME_MS = 100;\n  var JITTER_FACTOR = 100;\n  return function (attempt) {\n    var delay = Math.pow(2, attempt) * BASE_TIME_MS + JITTER_FACTOR * Math.random();\n    return delay > maxDelayMs ? false : delay;\n  };\n}\nvar MAX_DELAY_MS = 5 * 60 * 1000;\nfunction jitteredExponentialRetry(functionToRetry, args, maxDelayMs) {\n  if (maxDelayMs === void 0) {\n    maxDelayMs = MAX_DELAY_MS;\n  }\n  return retry(functionToRetry, args, jitteredBackoff(maxDelayMs));\n}","/*!\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport Client from './Client';\nimport CognitoUser from './CognitoUser';\nimport StorageHelper from './StorageHelper';\nvar USER_POOL_ID_MAX_LENGTH = 55;\n\n/** @class */\nvar CognitoUserPool = /*#__PURE__*/function () {\n  /**\n   * Constructs a new CognitoUserPool object\n   * @param {object} data Creation options.\n   * @param {string} data.UserPoolId Cognito user pool id.\n   * @param {string} data.ClientId User pool application client id.\n   * @param {string} data.endpoint Optional custom service endpoint.\n   * @param {object} data.fetchOptions Optional options for fetch API.\n   *        (only credentials option is supported)\n   * @param {object} data.Storage Optional storage object.\n   * @param {boolean} data.AdvancedSecurityDataCollectionFlag Optional:\n   *        boolean flag indicating if the data collection is enabled\n   *        to support cognito advanced security features. By default, this\n   *        flag is set to true.\n   */\n  function CognitoUserPool(data, wrapRefreshSessionCallback) {\n    var _ref = data || {},\n      UserPoolId = _ref.UserPoolId,\n      ClientId = _ref.ClientId,\n      endpoint = _ref.endpoint,\n      fetchOptions = _ref.fetchOptions,\n      AdvancedSecurityDataCollectionFlag = _ref.AdvancedSecurityDataCollectionFlag;\n    if (!UserPoolId || !ClientId) {\n      throw new Error('Both UserPoolId and ClientId are required.');\n    }\n    if (UserPoolId.length > USER_POOL_ID_MAX_LENGTH || !/^[\\w-]+_[0-9a-zA-Z]+$/.test(UserPoolId)) {\n      throw new Error('Invalid UserPoolId format.');\n    }\n    var region = UserPoolId.split('_')[0];\n    this.userPoolId = UserPoolId;\n    this.clientId = ClientId;\n    this.client = new Client(region, endpoint, fetchOptions);\n\n    /**\n     * By default, AdvancedSecurityDataCollectionFlag is set to true,\n     * if no input value is provided.\n     */\n    this.advancedSecurityDataCollectionFlag = AdvancedSecurityDataCollectionFlag !== false;\n    this.storage = data.Storage || new StorageHelper().getStorage();\n    if (wrapRefreshSessionCallback) {\n      this.wrapRefreshSessionCallback = wrapRefreshSessionCallback;\n    }\n  }\n\n  /**\n   * @returns {string} the user pool id\n   */\n  var _proto = CognitoUserPool.prototype;\n  _proto.getUserPoolId = function getUserPoolId() {\n    return this.userPoolId;\n  }\n\n  /**\n   * @returns {string} the user pool name\n   */;\n  _proto.getUserPoolName = function getUserPoolName() {\n    return this.getUserPoolId().split('_')[1];\n  }\n\n  /**\n   * @returns {string} the client id\n   */;\n  _proto.getClientId = function getClientId() {\n    return this.clientId;\n  }\n\n  /**\n   * @typedef {object} SignUpResult\n   * @property {CognitoUser} user New user.\n   * @property {bool} userConfirmed If the user is already confirmed.\n   */\n  /**\n   * method for signing up a user\n   * @param {string} username User's username.\n   * @param {string} password Plain-text initial password entered by user.\n   * @param {(AttributeArg[])=} userAttributes New user attributes.\n   * @param {(AttributeArg[])=} validationData Application metadata.\n   * @param {(AttributeArg[])=} clientMetadata Client metadata.\n   * @param {nodeCallback<SignUpResult>} callback Called on error or with the new user.\n   * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger\n   * @returns {void}\n   */;\n  _proto.signUp = function signUp(username, password, userAttributes, validationData, callback, clientMetadata) {\n    var _this = this;\n    var jsonReq = {\n      ClientId: this.clientId,\n      Username: username,\n      Password: password,\n      UserAttributes: userAttributes,\n      ValidationData: validationData,\n      ClientMetadata: clientMetadata\n    };\n    if (this.getUserContextData(username)) {\n      jsonReq.UserContextData = this.getUserContextData(username);\n    }\n    this.client.request('SignUp', jsonReq, function (err, data) {\n      if (err) {\n        return callback(err, null);\n      }\n      var cognitoUser = {\n        Username: username,\n        Pool: _this,\n        Storage: _this.storage\n      };\n      var returnData = {\n        user: new CognitoUser(cognitoUser),\n        userConfirmed: data.UserConfirmed,\n        userSub: data.UserSub,\n        codeDeliveryDetails: data.CodeDeliveryDetails\n      };\n      return callback(null, returnData);\n    });\n  }\n\n  /**\n   * method for getting the current user of the application from the local storage\n   *\n   * @returns {CognitoUser} the user retrieved from storage\n   */;\n  _proto.getCurrentUser = function getCurrentUser() {\n    var lastUserKey = \"CognitoIdentityServiceProvider.\" + this.clientId + \".LastAuthUser\";\n    var lastAuthUser = this.storage.getItem(lastUserKey);\n    if (lastAuthUser) {\n      var cognitoUser = {\n        Username: lastAuthUser,\n        Pool: this,\n        Storage: this.storage\n      };\n      return new CognitoUser(cognitoUser);\n    }\n    return null;\n  }\n\n  /**\n   * This method returns the encoded data string used for cognito advanced security feature.\n   * This would be generated only when developer has included the JS used for collecting the\n   * data on their client. Please refer to documentation to know more about using AdvancedSecurity\n   * features\n   * @param {string} username the username for the context data\n   * @returns {string} the user context data\n   **/;\n  _proto.getUserContextData = function getUserContextData(username) {\n    if (typeof AmazonCognitoAdvancedSecurityData === 'undefined') {\n      return undefined;\n    }\n    /* eslint-disable */\n    var amazonCognitoAdvancedSecurityDataConst = AmazonCognitoAdvancedSecurityData;\n    /* eslint-enable */\n\n    if (this.advancedSecurityDataCollectionFlag) {\n      var advancedSecurityData = amazonCognitoAdvancedSecurityDataConst.getData(username, this.userPoolId, this.clientId);\n      if (advancedSecurityData) {\n        var userContextData = {\n          EncodedData: advancedSecurityData\n        };\n        return userContextData;\n      }\n    }\n    return {};\n  };\n  return CognitoUserPool;\n}();\nexport { CognitoUserPool as default };","import * as Cookies from 'js-cookie';\n\n/** @class */\nvar CookieStorage = /*#__PURE__*/function () {\n  /**\n   * Constructs a new CookieStorage object\n   * @param {object} data Creation options.\n   * @param {string} data.domain Cookies domain (default: domain of the page\n   * \t\t\t\twhere the cookie was created, excluding subdomains)\n   * @param {string} data.path Cookies path (default: '/')\n   * @param {integer} data.expires Cookie expiration (in days, default: 365)\n   * @param {boolean} data.secure Cookie secure flag (default: true)\n   * @param {string} data.sameSite Cookie request behavior (default: null)\n   */\n  function CookieStorage(data) {\n    if (data === void 0) {\n      data = {};\n    }\n    if (data.domain) {\n      this.domain = data.domain;\n    }\n    if (data.path) {\n      this.path = data.path;\n    } else {\n      this.path = '/';\n    }\n    if (Object.prototype.hasOwnProperty.call(data, 'expires')) {\n      this.expires = data.expires;\n    } else {\n      this.expires = 365;\n    }\n    if (Object.prototype.hasOwnProperty.call(data, 'secure')) {\n      this.secure = data.secure;\n    } else {\n      this.secure = true;\n    }\n    if (Object.prototype.hasOwnProperty.call(data, 'sameSite')) {\n      if (!['strict', 'lax', 'none'].includes(data.sameSite)) {\n        throw new Error('The sameSite value of cookieStorage must be \"lax\", \"strict\" or \"none\".');\n      }\n      if (data.sameSite === 'none' && !this.secure) {\n        throw new Error('sameSite = None requires the Secure attribute in latest browser versions.');\n      }\n      this.sameSite = data.sameSite;\n    } else {\n      this.sameSite = null;\n    }\n  }\n\n  /**\n   * This is used to set a specific item in storage\n   * @param {string} key - the key for the item\n   * @param {object} value - the value\n   * @returns {string} value that was set\n   */\n  var _proto = CookieStorage.prototype;\n  _proto.setItem = function setItem(key, value) {\n    var options = {\n      path: this.path,\n      expires: this.expires,\n      domain: this.domain,\n      secure: this.secure\n    };\n    if (this.sameSite) {\n      options.sameSite = this.sameSite;\n    }\n    Cookies.set(key, value, options);\n    return Cookies.get(key);\n  }\n\n  /**\n   * This is used to get a specific key from storage\n   * @param {string} key - the key for the item\n   * This is used to clear the storage\n   * @returns {string} the data item\n   */;\n  _proto.getItem = function getItem(key) {\n    return Cookies.get(key);\n  }\n\n  /**\n   * This is used to remove an item from storage\n   * @param {string} key - the key being set\n   * @returns {string} value - value that was deleted\n   */;\n  _proto.removeItem = function removeItem(key) {\n    var options = {\n      path: this.path,\n      expires: this.expires,\n      domain: this.domain,\n      secure: this.secure\n    };\n    if (this.sameSite) {\n      options.sameSite = this.sameSite;\n    }\n    return Cookies.remove(key, options);\n  }\n\n  /**\n   * This is used to clear the storage of optional\n   * items that were previously set\n   * @returns {} an empty object\n   */;\n  _proto.clear = function clear() {\n    var cookies = Cookies.get();\n    var numKeys = Object.keys(cookies).length;\n    for (var index = 0; index < numKeys; ++index) {\n      this.removeItem(Object.keys(cookies)[index]);\n    }\n    return {};\n  };\n  return CookieStorage;\n}();\nexport { CookieStorage as default };","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar SELF = '_self';\nexport var launchUri = function (url) {\n    var windowProxy = window.open(url, SELF);\n    if (windowProxy) {\n        return Promise.resolve(windowProxy);\n    }\n    else {\n        return Promise.reject();\n    }\n};\n//# sourceMappingURL=urlOpener.js.map","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { __assign, __awaiter, __generator, __read } from \"tslib\";\nimport { parse } from 'url'; // Used for OAuth parsing of Cognito Hosted UI\nimport { launchUri } from './urlOpener';\nimport * as oAuthStorage from './oauthStorage';\nimport { Buffer } from 'buffer';\nimport { isCognitoHostedOpts, CognitoHostedUIIdentityProvider, } from '../types/Auth';\nimport { AuthAction, Category, ConsoleLogger as Logger, getAmplifyUserAgent, Hub, urlSafeEncode, USER_AGENT_HEADER, } from '@aws-amplify/core';\nimport { Sha256 } from '@aws-crypto/sha256-js';\nvar AMPLIFY_SYMBOL = (typeof Symbol !== 'undefined' && typeof Symbol.for === 'function'\n    ? Symbol.for('amplify_default')\n    : '@@amplify_default');\nvar dispatchAuthEvent = function (event, data, message) {\n    Hub.dispatch('auth', { event: event, data: data, message: message }, 'Auth', AMPLIFY_SYMBOL);\n};\nvar logger = new Logger('OAuth');\nvar OAuth = /** @class */ (function () {\n    function OAuth(_a) {\n        var config = _a.config, cognitoClientId = _a.cognitoClientId, _b = _a.scopes, scopes = _b === void 0 ? [] : _b;\n        this._urlOpener = config.urlOpener || launchUri;\n        this._config = config;\n        this._cognitoClientId = cognitoClientId;\n        if (!this.isValidScopes(scopes))\n            throw Error('scopes must be a String Array');\n        this._scopes = scopes;\n    }\n    OAuth.prototype.isValidScopes = function (scopes) {\n        return (Array.isArray(scopes) && scopes.every(function (scope) { return typeof scope === 'string'; }));\n    };\n    OAuth.prototype.oauthSignIn = function (responseType, domain, redirectSignIn, clientId, provider, customState) {\n        if (responseType === void 0) { responseType = 'code'; }\n        if (provider === void 0) { provider = CognitoHostedUIIdentityProvider.Cognito; }\n        var generatedState = this._generateState(32);\n        /* encodeURIComponent is not URL safe, use urlSafeEncode instead. Cognito\n        single-encodes/decodes url on first sign in and double-encodes/decodes url\n        when user already signed in. Using encodeURIComponent, Base32, Base64 add\n        characters % or = which on further encoding becomes unsafe. '=' create issue\n        for parsing query params.\n        Refer: https://github.com/aws-amplify/amplify-js/issues/5218 */\n        var state = customState\n            ? generatedState + \"-\" + urlSafeEncode(customState)\n            : generatedState;\n        oAuthStorage.setState(state);\n        var pkce_key = this._generateRandom(128);\n        oAuthStorage.setPKCE(pkce_key);\n        var code_challenge = this._generateChallenge(pkce_key);\n        var code_challenge_method = 'S256';\n        var scopesString = this._scopes.join(' ');\n        var queryString = Object.entries(__assign(__assign({ redirect_uri: redirectSignIn, response_type: responseType, client_id: clientId, identity_provider: provider, scope: scopesString, state: state }, (responseType === 'code' ? { code_challenge: code_challenge } : {})), (responseType === 'code' ? { code_challenge_method: code_challenge_method } : {})))\n            .map(function (_a) {\n            var _b = __read(_a, 2), k = _b[0], v = _b[1];\n            return encodeURIComponent(k) + \"=\" + encodeURIComponent(v);\n        })\n            .join('&');\n        var URL = \"https://\" + domain + \"/oauth2/authorize?\" + queryString;\n        logger.debug(\"Redirecting to \" + URL);\n        this._urlOpener(URL, redirectSignIn);\n    };\n    OAuth.prototype._handleCodeFlow = function (currentUrl) {\n        return __awaiter(this, void 0, void 0, function () {\n            var code, currentUrlPathname, redirectSignInPathname, oAuthTokenEndpoint, client_id, redirect_uri, code_verifier, oAuthTokenBody, body, customUserAgentDetails, _a, access_token, refresh_token, id_token, error;\n            var _b;\n            return __generator(this, function (_c) {\n                switch (_c.label) {\n                    case 0:\n                        code = (parse(currentUrl).query || '')\n                            .split('&')\n                            .map(function (pairings) { return pairings.split('='); })\n                            .reduce(function (accum, _a) {\n                            var _b;\n                            var _c = __read(_a, 2), k = _c[0], v = _c[1];\n                            return (__assign(__assign({}, accum), (_b = {}, _b[k] = v, _b)));\n                        }, { code: undefined }).code;\n                        currentUrlPathname = parse(currentUrl).pathname || '/';\n                        redirectSignInPathname = parse(this._config.redirectSignIn).pathname || '/';\n                        if (!code || currentUrlPathname !== redirectSignInPathname) {\n                            return [2 /*return*/];\n                        }\n                        oAuthTokenEndpoint = 'https://' + this._config.domain + '/oauth2/token';\n                        dispatchAuthEvent('codeFlow', {}, \"Retrieving tokens from \" + oAuthTokenEndpoint);\n                        client_id = isCognitoHostedOpts(this._config)\n                            ? this._cognitoClientId\n                            : this._config.clientID;\n                        redirect_uri = isCognitoHostedOpts(this._config)\n                            ? this._config.redirectSignIn\n                            : this._config.redirectUri;\n                        code_verifier = oAuthStorage.getPKCE();\n                        oAuthTokenBody = __assign({ grant_type: 'authorization_code', code: code,\n                            client_id: client_id,\n                            redirect_uri: redirect_uri }, (code_verifier ? { code_verifier: code_verifier } : {}));\n                        logger.debug(\"Calling token endpoint: \" + oAuthTokenEndpoint + \" with\", oAuthTokenBody);\n                        body = Object.entries(oAuthTokenBody)\n                            .map(function (_a) {\n                            var _b = __read(_a, 2), k = _b[0], v = _b[1];\n                            return encodeURIComponent(k) + \"=\" + encodeURIComponent(v);\n                        })\n                            .join('&');\n                        customUserAgentDetails = {\n                            category: Category.Auth,\n                            action: AuthAction.FederatedSignIn,\n                        };\n                        return [4 /*yield*/, fetch(oAuthTokenEndpoint, {\n                                method: 'POST',\n                                headers: (_b = {\n                                        'Content-Type': 'application/x-www-form-urlencoded'\n                                    },\n                                    _b[USER_AGENT_HEADER] = getAmplifyUserAgent(customUserAgentDetails),\n                                    _b),\n                                body: body,\n                            })];\n                    case 1: return [4 /*yield*/, (_c.sent()).json()];\n                    case 2:\n                        _a = _c.sent(), access_token = _a.access_token, refresh_token = _a.refresh_token, id_token = _a.id_token, error = _a.error;\n                        if (error) {\n                            throw new Error(error);\n                        }\n                        return [2 /*return*/, {\n                                accessToken: access_token,\n                                refreshToken: refresh_token,\n                                idToken: id_token,\n                            }];\n                }\n            });\n        });\n    };\n    OAuth.prototype._handleImplicitFlow = function (currentUrl) {\n        return __awaiter(this, void 0, void 0, function () {\n            var _a, id_token, access_token;\n            return __generator(this, function (_b) {\n                _a = (parse(currentUrl).hash || '#')\n                    .substr(1) // Remove # from returned code\n                    .split('&')\n                    .map(function (pairings) { return pairings.split('='); })\n                    .reduce(function (accum, _a) {\n                    var _b;\n                    var _c = __read(_a, 2), k = _c[0], v = _c[1];\n                    return (__assign(__assign({}, accum), (_b = {}, _b[k] = v, _b)));\n                }, {\n                    id_token: undefined,\n                    access_token: undefined,\n                }), id_token = _a.id_token, access_token = _a.access_token;\n                dispatchAuthEvent('implicitFlow', {}, \"Got tokens from \" + currentUrl);\n                logger.debug(\"Retrieving implicit tokens from \" + currentUrl + \" with\");\n                return [2 /*return*/, {\n                        accessToken: access_token,\n                        idToken: id_token,\n                        refreshToken: null,\n                    }];\n            });\n        });\n    };\n    OAuth.prototype.handleAuthResponse = function (currentUrl) {\n        return __awaiter(this, void 0, void 0, function () {\n            var urlParams, error, error_description, state, _a, _b, e_1;\n            return __generator(this, function (_c) {\n                switch (_c.label) {\n                    case 0:\n                        _c.trys.push([0, 5, , 6]);\n                        urlParams = currentUrl\n                            ? __assign(__assign({}, (parse(currentUrl).hash || '#')\n                                .substr(1)\n                                .split('&')\n                                .map(function (entry) { return entry.split('='); })\n                                .reduce(function (acc, _a) {\n                                var _b = __read(_a, 2), k = _b[0], v = _b[1];\n                                return ((acc[k] = v), acc);\n                            }, {})), (parse(currentUrl).query || '')\n                                .split('&')\n                                .map(function (entry) { return entry.split('='); })\n                                .reduce(function (acc, _a) {\n                                var _b = __read(_a, 2), k = _b[0], v = _b[1];\n                                return ((acc[k] = v), acc);\n                            }, {}))\n                            : {};\n                        error = urlParams.error, error_description = urlParams.error_description;\n                        if (error) {\n                            throw new Error(error_description);\n                        }\n                        state = this._validateState(urlParams);\n                        logger.debug(\"Starting \" + this._config.responseType + \" flow with \" + currentUrl);\n                        if (!(this._config.responseType === 'code')) return [3 /*break*/, 2];\n                        _a = [{}];\n                        return [4 /*yield*/, this._handleCodeFlow(currentUrl)];\n                    case 1: return [2 /*return*/, __assign.apply(void 0, [__assign.apply(void 0, _a.concat([(_c.sent())])), { state: state }])];\n                    case 2:\n                        _b = [{}];\n                        return [4 /*yield*/, this._handleImplicitFlow(currentUrl)];\n                    case 3: return [2 /*return*/, __assign.apply(void 0, [__assign.apply(void 0, _b.concat([(_c.sent())])), { state: state }])];\n                    case 4: return [3 /*break*/, 6];\n                    case 5:\n                        e_1 = _c.sent();\n                        logger.debug(\"Error handling auth response.\", e_1);\n                        throw e_1;\n                    case 6: return [2 /*return*/];\n                }\n            });\n        });\n    };\n    OAuth.prototype._validateState = function (urlParams) {\n        if (!urlParams) {\n            return;\n        }\n        var savedState = oAuthStorage.getState();\n        var returnedState = urlParams.state;\n        // This is because savedState only exists if the flow was initiated by Amplify\n        if (savedState && savedState !== returnedState) {\n            throw new Error('Invalid state in OAuth flow');\n        }\n        return returnedState;\n    };\n    OAuth.prototype.signOut = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var oAuthLogoutEndpoint, client_id, signout_uri;\n            return __generator(this, function (_a) {\n                oAuthLogoutEndpoint = 'https://' + this._config.domain + '/logout?';\n                client_id = isCognitoHostedOpts(this._config)\n                    ? this._cognitoClientId\n                    : this._config.oauth.clientID;\n                signout_uri = isCognitoHostedOpts(this._config)\n                    ? this._config.redirectSignOut\n                    : this._config.returnTo;\n                oAuthLogoutEndpoint += Object.entries({\n                    client_id: client_id,\n                    logout_uri: encodeURIComponent(signout_uri),\n                })\n                    .map(function (_a) {\n                    var _b = __read(_a, 2), k = _b[0], v = _b[1];\n                    return k + \"=\" + v;\n                })\n                    .join('&');\n                dispatchAuthEvent('oAuthSignOut', { oAuth: 'signOut' }, \"Signing out from \" + oAuthLogoutEndpoint);\n                logger.debug(\"Signing out from \" + oAuthLogoutEndpoint);\n                return [2 /*return*/, this._urlOpener(oAuthLogoutEndpoint, signout_uri)];\n            });\n        });\n    };\n    OAuth.prototype._generateState = function (length) {\n        var result = '';\n        var i = length;\n        var chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';\n        for (; i > 0; --i)\n            result += chars[Math.round(Math.random() * (chars.length - 1))];\n        return result;\n    };\n    OAuth.prototype._generateChallenge = function (code) {\n        var awsCryptoHash = new Sha256();\n        awsCryptoHash.update(code);\n        var resultFromAWSCrypto = awsCryptoHash.digestSync();\n        var b64 = Buffer.from(resultFromAWSCrypto).toString('base64');\n        var base64URLFromAWSCrypto = this._base64URL(b64);\n        return base64URLFromAWSCrypto;\n    };\n    OAuth.prototype._base64URL = function (string) {\n        return string.replace(/=/g, '').replace(/\\+/g, '-').replace(/\\//g, '_');\n    };\n    OAuth.prototype._generateRandom = function (size) {\n        var CHARSET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~';\n        var buffer = new Uint8Array(size);\n        if (typeof window !== 'undefined' && !!window.crypto) {\n            window.crypto.getRandomValues(buffer);\n        }\n        else {\n            for (var i = 0; i < size; i += 1) {\n                buffer[i] = (Math.random() * CHARSET.length) | 0;\n            }\n        }\n        return this._bufferToString(buffer);\n    };\n    OAuth.prototype._bufferToString = function (buffer) {\n        var CHARSET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n        var state = [];\n        for (var i = 0; i < buffer.byteLength; i += 1) {\n            var index = buffer[i] % CHARSET.length;\n            state.push(CHARSET[index]);\n        }\n        return state.join('');\n    };\n    return OAuth;\n}());\nexport default OAuth;\n//# sourceMappingURL=OAuth.js.map","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * This Symbol is used to reference an internal-only PubSub provider that\n * is used for AppSync/GraphQL subscriptions in the API category.\n */\nvar hasSymbol = typeof Symbol !== 'undefined' && typeof Symbol.for === 'function';\nexport var INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER = hasSymbol\n    ? Symbol.for('INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER')\n    : '@@INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER';\nexport var USER_AGENT_HEADER = 'x-amz-user-agent';\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport function urlSafeEncode(str) {\n    return str\n        .split('')\n        .map(function (char) {\n        return char\n            .charCodeAt(0)\n            .toString(16)\n            .padStart(2, '0');\n    })\n        .join('');\n}\nexport function urlSafeDecode(hex) {\n    return hex\n        .match(/.{2}/g)\n        .map(function (char) { return String.fromCharCode(parseInt(char, 16)); })\n        .join('');\n}\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport var setState = function (state) {\n    window.sessionStorage.setItem('oauth_state', state);\n};\nexport var getState = function () {\n    var oauth_state = window.sessionStorage.getItem('oauth_state');\n    window.sessionStorage.removeItem('oauth_state');\n    return oauth_state;\n};\nexport var setPKCE = function (private_key) {\n    window.sessionStorage.setItem('ouath_pkce_key', private_key);\n};\nexport var getPKCE = function () {\n    var ouath_pkce_key = window.sessionStorage.getItem('ouath_pkce_key');\n    window.sessionStorage.removeItem('ouath_pkce_key');\n    return ouath_pkce_key;\n};\nexport var clearAll = function () {\n    window.sessionStorage.removeItem('ouath_pkce_key');\n    window.sessionStorage.removeItem('oauth_state');\n};\n//# sourceMappingURL=oauthStorage.js.map","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { browserOrNode } from '@aws-amplify/core';\nexport default (function (callback) {\n    if (browserOrNode().isBrowser && window.location) {\n        var url = window.location.href;\n        callback({ url: url });\n    }\n    else if (browserOrNode().isNode) {\n        // continue building on ssr\n        (function () { }); // noop\n    }\n    else {\n        throw new Error('Not supported');\n    }\n});\n//# sourceMappingURL=urlListener.js.map","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport var AuthErrorStrings;\n(function (AuthErrorStrings) {\n    AuthErrorStrings[\"DEFAULT_MSG\"] = \"Authentication Error\";\n    AuthErrorStrings[\"EMPTY_EMAIL\"] = \"Email cannot be empty\";\n    AuthErrorStrings[\"EMPTY_PHONE\"] = \"Phone number cannot be empty\";\n    AuthErrorStrings[\"EMPTY_USERNAME\"] = \"Username cannot be empty\";\n    AuthErrorStrings[\"INVALID_USERNAME\"] = \"The username should either be a string or one of the sign in types\";\n    AuthErrorStrings[\"EMPTY_PASSWORD\"] = \"Password cannot be empty\";\n    AuthErrorStrings[\"EMPTY_CODE\"] = \"Confirmation code cannot be empty\";\n    AuthErrorStrings[\"SIGN_UP_ERROR\"] = \"Error creating account\";\n    AuthErrorStrings[\"NO_MFA\"] = \"No valid MFA method provided\";\n    AuthErrorStrings[\"INVALID_MFA\"] = \"Invalid MFA type\";\n    AuthErrorStrings[\"EMPTY_CHALLENGE\"] = \"Challenge response cannot be empty\";\n    AuthErrorStrings[\"NO_USER_SESSION\"] = \"Failed to get the session because the user is empty\";\n    AuthErrorStrings[\"NETWORK_ERROR\"] = \"Network Error\";\n    AuthErrorStrings[\"DEVICE_CONFIG\"] = \"Device tracking has not been configured in this User Pool\";\n    AuthErrorStrings[\"AUTOSIGNIN_ERROR\"] = \"Please use your credentials to sign in\";\n})(AuthErrorStrings || (AuthErrorStrings = {}));\n//# sourceMappingURL=AuthErrorStrings.js.map","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { __extends } from \"tslib\";\nimport { ConsoleLogger as Logger } from '@aws-amplify/core';\nimport { AuthErrorStrings } from './common/AuthErrorStrings';\nvar logger = new Logger('AuthError');\nvar AuthError = /** @class */ (function (_super) {\n    __extends(AuthError, _super);\n    function AuthError(type) {\n        var _this = this;\n        var _a = authErrorMessages[type], message = _a.message, log = _a.log;\n        _this = _super.call(this, message) || this;\n        // Hack for making the custom error class work when transpiled to es5\n        // TODO: Delete the following 2 lines after we change the build target to >= es2015\n        _this.constructor = AuthError;\n        Object.setPrototypeOf(_this, AuthError.prototype);\n        _this.name = 'AuthError';\n        _this.log = log || message;\n        logger.error(_this.log);\n        return _this;\n    }\n    return AuthError;\n}(Error));\nexport { AuthError };\nvar NoUserPoolError = /** @class */ (function (_super) {\n    __extends(NoUserPoolError, _super);\n    function NoUserPoolError(type) {\n        var _this = _super.call(this, type) || this;\n        // Hack for making the custom error class work when transpiled to es5\n        // TODO: Delete the following 2 lines after we change the build target to >= es2015\n        _this.constructor = NoUserPoolError;\n        Object.setPrototypeOf(_this, NoUserPoolError.prototype);\n        _this.name = 'NoUserPoolError';\n        return _this;\n    }\n    return NoUserPoolError;\n}(AuthError));\nexport { NoUserPoolError };\nexport var authErrorMessages = {\n    noConfig: {\n        message: AuthErrorStrings.DEFAULT_MSG,\n        log: \"\\n            Error: Amplify has not been configured correctly.\\n            This error is typically caused by one of the following scenarios:\\n\\n            1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\\n                See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\\n            \\n            2. There might be multiple conflicting versions of amplify packages in your node_modules.\\n\\t\\t\\t\\tRefer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\\n        \",\n    },\n    missingAuthConfig: {\n        message: AuthErrorStrings.DEFAULT_MSG,\n        log: \"\\n            Error: Amplify has not been configured correctly. \\n            The configuration object is missing required auth properties.\\n            This error is typically caused by one of the following scenarios:\\n\\n            1. Did you run `amplify push` after adding auth via `amplify add auth`?\\n                See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\\n\\n            2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\\n        \",\n    },\n    emptyUsername: {\n        message: AuthErrorStrings.EMPTY_USERNAME,\n    },\n    // TODO: should include a list of valid sign-in types\n    invalidUsername: {\n        message: AuthErrorStrings.INVALID_USERNAME,\n    },\n    emptyPassword: {\n        message: AuthErrorStrings.EMPTY_PASSWORD,\n    },\n    emptyCode: {\n        message: AuthErrorStrings.EMPTY_CODE,\n    },\n    signUpError: {\n        message: AuthErrorStrings.SIGN_UP_ERROR,\n        log: 'The first parameter should either be non-null string or object',\n    },\n    noMFA: {\n        message: AuthErrorStrings.NO_MFA,\n    },\n    invalidMFA: {\n        message: AuthErrorStrings.INVALID_MFA,\n    },\n    emptyChallengeResponse: {\n        message: AuthErrorStrings.EMPTY_CHALLENGE,\n    },\n    noUserSession: {\n        message: AuthErrorStrings.NO_USER_SESSION,\n    },\n    deviceConfig: {\n        message: AuthErrorStrings.DEVICE_CONFIG,\n    },\n    networkError: {\n        message: AuthErrorStrings.NETWORK_ERROR,\n    },\n    autoSignInError: {\n        message: AuthErrorStrings.AUTOSIGNIN_ERROR,\n    },\n    default: {\n        message: AuthErrorStrings.DEFAULT_MSG,\n    },\n};\n//# sourceMappingURL=Errors.js.map","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { __assign, __awaiter, __generator, __read } from \"tslib\";\nimport { isUsernamePasswordOpts, isCognitoHostedOpts, isFederatedSignInOptions, isFederatedSignInOptionsCustom, hasCustomState, } from './types';\nimport { Amplify, ConsoleLogger as Logger, Credentials, Hub, StorageHelper, Platform, browserOrNode, parseAWSExports, UniversalStorage, urlSafeDecode, } from '@aws-amplify/core';\nimport { CookieStorage, CognitoUserPool, AuthenticationDetails, CognitoUser, CognitoUserSession, CognitoUserAttribute, CognitoIdToken, CognitoRefreshToken, CognitoAccessToken, } from 'amazon-cognito-identity-js';\nimport { addAuthCategoryToCognitoUserAgent, addFrameworkToCognitoUserAgent, } from 'amazon-cognito-identity-js/internals';\nimport { parse } from 'url';\nimport OAuth from './OAuth/OAuth';\nimport { default as urlListener } from './urlListener';\nimport { AuthError, NoUserPoolError } from './Errors';\nimport { AuthErrorTypes, CognitoHostedUIIdentityProvider, } from './types/Auth';\nvar logger = new Logger('AuthClass');\nvar USER_ADMIN_SCOPE = 'aws.cognito.signin.user.admin';\n// 10 sec, following this guide https://www.nngroup.com/articles/response-times-3-important-limits/\nvar OAUTH_FLOW_MS_TIMEOUT = 10 * 1000;\nvar AMPLIFY_SYMBOL = (typeof Symbol !== 'undefined' && typeof Symbol.for === 'function'\n    ? Symbol.for('amplify_default')\n    : '@@amplify_default');\nvar dispatchAuthEvent = function (event, data, message) {\n    Hub.dispatch('auth', { event: event, data: data, message: message }, 'Auth', AMPLIFY_SYMBOL);\n};\n// Cognito Documentation for max device\n// tslint:disable-next-line:max-line-length\n// https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ListDevices.html#API_ListDevices_RequestSyntax\nvar MAX_DEVICES = 60;\nvar MAX_AUTOSIGNIN_POLLING_MS = 3 * 60 * 1000;\n/**\n * Provide authentication steps\n */\nvar AuthClass = /** @class */ (function () {\n    /**\n     * Initialize Auth with AWS configurations\n     * @param {Object} config - Configuration of the Auth\n     */\n    function AuthClass(config) {\n        var _this = this;\n        this.userPool = null;\n        this.user = null;\n        this.oAuthFlowInProgress = false;\n        this.autoSignInInitiated = false;\n        this.inflightSessionPromise = null;\n        this.inflightSessionPromiseCounter = 0;\n        this.Credentials = Credentials;\n        this.wrapRefreshSessionCallback = function (callback) {\n            var wrapped = function (error, data) {\n                if (data) {\n                    dispatchAuthEvent('tokenRefresh', undefined, \"New token retrieved\");\n                }\n                else {\n                    dispatchAuthEvent('tokenRefresh_failure', error, \"Failed to retrieve new token\");\n                }\n                return callback(error, data);\n            };\n            return wrapped;\n        }; // prettier-ignore\n        this.configure(config);\n        this.currentCredentials = this.currentCredentials.bind(this);\n        this.currentUserCredentials = this.currentUserCredentials.bind(this);\n        Hub.listen('auth', function (_a) {\n            var payload = _a.payload;\n            var event = payload.event;\n            switch (event) {\n                case 'verify':\n                case 'signIn':\n                    _this._storage.setItem('amplify-signin-with-hostedUI', 'false');\n                    break;\n                case 'signOut':\n                    _this._storage.removeItem('amplify-signin-with-hostedUI');\n                    break;\n                case 'cognitoHostedUI':\n                    _this._storage.setItem('amplify-signin-with-hostedUI', 'true');\n                    break;\n            }\n        });\n        addAuthCategoryToCognitoUserAgent();\n        addFrameworkToCognitoUserAgent(Platform.framework);\n        Platform.observeFrameworkChanges(function () {\n            addFrameworkToCognitoUserAgent(Platform.framework);\n        });\n    }\n    AuthClass.prototype.getModuleName = function () {\n        return 'Auth';\n    };\n    AuthClass.prototype.configure = function (config) {\n        var _this = this;\n        if (!config)\n            return this._config || {};\n        logger.debug('configure Auth');\n        var conf = Object.assign({}, this._config, parseAWSExports(config).Auth, config);\n        this._config = conf;\n        var _a = this._config, userPoolId = _a.userPoolId, userPoolWebClientId = _a.userPoolWebClientId, cookieStorage = _a.cookieStorage, oauth = _a.oauth, region = _a.region, identityPoolId = _a.identityPoolId, mandatorySignIn = _a.mandatorySignIn, refreshHandlers = _a.refreshHandlers, identityPoolRegion = _a.identityPoolRegion, clientMetadata = _a.clientMetadata, endpoint = _a.endpoint, storage = _a.storage;\n        if (!storage) {\n            // backward compatability\n            if (cookieStorage)\n                this._storage = new CookieStorage(cookieStorage);\n            else {\n                this._storage = config.ssr\n                    ? new UniversalStorage()\n                    : new StorageHelper().getStorage();\n            }\n        }\n        else {\n            if (!this._isValidAuthStorage(storage)) {\n                logger.error('The storage in the Auth config is not valid!');\n                throw new Error('Empty storage object');\n            }\n            this._storage = storage;\n        }\n        this._storageSync = Promise.resolve();\n        if (typeof this._storage['sync'] === 'function') {\n            this._storageSync = this._storage['sync']();\n        }\n        if (userPoolId) {\n            var userPoolData = {\n                UserPoolId: userPoolId,\n                ClientId: userPoolWebClientId,\n                endpoint: endpoint,\n            };\n            userPoolData.Storage = this._storage;\n            this.userPool = new CognitoUserPool(userPoolData, this.wrapRefreshSessionCallback);\n        }\n        this.Credentials.configure({\n            mandatorySignIn: mandatorySignIn,\n            region: region,\n            userPoolId: userPoolId,\n            identityPoolId: identityPoolId,\n            refreshHandlers: refreshHandlers,\n            storage: this._storage,\n            identityPoolRegion: identityPoolRegion,\n        });\n        // initialize cognitoauth client if hosted ui options provided\n        // to keep backward compatibility:\n        var cognitoHostedUIConfig = oauth\n            ? isCognitoHostedOpts(this._config.oauth)\n                ? oauth\n                : oauth.awsCognito\n            : undefined;\n        if (cognitoHostedUIConfig) {\n            var cognitoAuthParams = Object.assign({\n                cognitoClientId: userPoolWebClientId,\n                UserPoolId: userPoolId,\n                domain: cognitoHostedUIConfig['domain'],\n                scopes: cognitoHostedUIConfig['scope'],\n                redirectSignIn: cognitoHostedUIConfig['redirectSignIn'],\n                redirectSignOut: cognitoHostedUIConfig['redirectSignOut'],\n                responseType: cognitoHostedUIConfig['responseType'],\n                Storage: this._storage,\n                urlOpener: cognitoHostedUIConfig['urlOpener'],\n                clientMetadata: clientMetadata,\n            }, cognitoHostedUIConfig['options']);\n            this._oAuthHandler = new OAuth({\n                scopes: cognitoAuthParams.scopes,\n                config: cognitoAuthParams,\n                cognitoClientId: cognitoAuthParams.cognitoClientId,\n            });\n            // **NOTE** - Remove this in a future major release as it is a breaking change\n            // Prevents _handleAuthResponse from being called multiple times in Expo\n            // See https://github.com/aws-amplify/amplify-js/issues/4388\n            var usedResponseUrls_1 = {};\n            urlListener(function (_a) {\n                var url = _a.url;\n                if (usedResponseUrls_1[url]) {\n                    return;\n                }\n                usedResponseUrls_1[url] = true;\n                _this._handleAuthResponse(url);\n            });\n        }\n        dispatchAuthEvent('configured', null, \"The Auth category has been configured successfully\");\n        if (!this.autoSignInInitiated &&\n            typeof this._storage['getItem'] === 'function') {\n            var pollingInitiated = this.isTrueStorageValue('amplify-polling-started');\n            if (pollingInitiated) {\n                dispatchAuthEvent('autoSignIn_failure', null, AuthErrorTypes.AutoSignInError);\n                this._storage.removeItem('amplify-auto-sign-in');\n            }\n            this._storage.removeItem('amplify-polling-started');\n        }\n        return this._config;\n    };\n    /**\n     * Sign up with username, password and other attributes like phone, email\n     * @param {String | object} params - The user attributes used for signin\n     * @param {String[]} restOfAttrs - for the backward compatability\n     * @return - A promise resolves callback data if success\n     */\n    AuthClass.prototype.signUp = function (params) {\n        var _this = this;\n        var restOfAttrs = [];\n        for (var _i = 1; _i < arguments.length; _i++) {\n            restOfAttrs[_i - 1] = arguments[_i];\n        }\n        var _a, _b, _c;\n        if (!this.userPool) {\n            return this.rejectNoUserPool();\n        }\n        var username = null;\n        var password = null;\n        var attributes = [];\n        var validationData = null;\n        var clientMetadata;\n        var autoSignIn = { enabled: false };\n        var autoSignInValidationData = {};\n        var autoSignInClientMetaData = {};\n        if (params && typeof params === 'string') {\n            username = params;\n            password = restOfAttrs ? restOfAttrs[0] : null;\n            var email = restOfAttrs ? restOfAttrs[1] : null;\n            var phone_number = restOfAttrs ? restOfAttrs[2] : null;\n            if (email)\n                attributes.push(new CognitoUserAttribute({ Name: 'email', Value: email }));\n            if (phone_number)\n                attributes.push(new CognitoUserAttribute({\n                    Name: 'phone_number',\n                    Value: phone_number,\n                }));\n        }\n        else if (params && typeof params === 'object') {\n            username = params['username'];\n            password = params['password'];\n            if (params && params.clientMetadata) {\n                clientMetadata = params.clientMetadata;\n            }\n            else if (this._config.clientMetadata) {\n                clientMetadata = this._config.clientMetadata;\n            }\n            var attrs_1 = params['attributes'];\n            if (attrs_1) {\n                Object.keys(attrs_1).map(function (key) {\n                    attributes.push(new CognitoUserAttribute({ Name: key, Value: attrs_1[key] }));\n                });\n            }\n            var validationDataObject_1 = params['validationData'];\n            if (validationDataObject_1) {\n                validationData = [];\n                Object.keys(validationDataObject_1).map(function (key) {\n                    validationData.push(new CognitoUserAttribute({\n                        Name: key,\n                        Value: validationDataObject_1[key],\n                    }));\n                });\n            }\n            autoSignIn = (_a = params.autoSignIn) !== null && _a !== void 0 ? _a : { enabled: false };\n            if (autoSignIn.enabled) {\n                this._storage.setItem('amplify-auto-sign-in', 'true');\n                autoSignInValidationData = (_b = autoSignIn.validationData) !== null && _b !== void 0 ? _b : {};\n                autoSignInClientMetaData = (_c = autoSignIn.clientMetaData) !== null && _c !== void 0 ? _c : {};\n            }\n        }\n        else {\n            return this.rejectAuthError(AuthErrorTypes.SignUpError);\n        }\n        if (!username) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyUsername);\n        }\n        if (!password) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyPassword);\n        }\n        logger.debug('signUp attrs:', attributes);\n        logger.debug('signUp validation data:', validationData);\n        return new Promise(function (resolve, reject) {\n            _this.userPool.signUp(username, password, attributes, validationData, function (err, data) {\n                if (err) {\n                    dispatchAuthEvent('signUp_failure', err, username + \" failed to signup\");\n                    reject(err);\n                }\n                else {\n                    dispatchAuthEvent('signUp', data, username + \" has signed up successfully\");\n                    if (autoSignIn.enabled) {\n                        _this.handleAutoSignIn(username, password, autoSignInValidationData, autoSignInClientMetaData, data);\n                    }\n                    resolve(data);\n                }\n            }, clientMetadata);\n        });\n    };\n    AuthClass.prototype.handleAutoSignIn = function (username, password, validationData, clientMetadata, data) {\n        this.autoSignInInitiated = true;\n        var authDetails = new AuthenticationDetails({\n            Username: username,\n            Password: password,\n            ValidationData: validationData,\n            ClientMetadata: clientMetadata,\n        });\n        if (data.userConfirmed) {\n            this.signInAfterUserConfirmed(authDetails);\n        }\n        else if (this._config.signUpVerificationMethod === 'link') {\n            this.handleLinkAutoSignIn(authDetails);\n        }\n        else {\n            this.handleCodeAutoSignIn(authDetails);\n        }\n    };\n    AuthClass.prototype.handleCodeAutoSignIn = function (authDetails) {\n        var _this = this;\n        var listenEvent = function (_a) {\n            var payload = _a.payload;\n            if (payload.event === 'confirmSignUp') {\n                _this.signInAfterUserConfirmed(authDetails, listenEvent);\n            }\n        };\n        Hub.listen('auth', listenEvent);\n    };\n    AuthClass.prototype.handleLinkAutoSignIn = function (authDetails) {\n        var _this = this;\n        this._storage.setItem('amplify-polling-started', 'true');\n        var start = Date.now();\n        var autoSignInPollingIntervalId = setInterval(function () {\n            if (Date.now() - start > MAX_AUTOSIGNIN_POLLING_MS) {\n                clearInterval(autoSignInPollingIntervalId);\n                dispatchAuthEvent('autoSignIn_failure', null, 'Please confirm your account and use your credentials to sign in.');\n                _this._storage.removeItem('amplify-auto-sign-in');\n            }\n            else {\n                _this.signInAfterUserConfirmed(authDetails, null, autoSignInPollingIntervalId);\n            }\n        }, 5000);\n    };\n    AuthClass.prototype.signInAfterUserConfirmed = function (authDetails, listenEvent, autoSignInPollingIntervalId) {\n        return __awaiter(this, void 0, void 0, function () {\n            var user, error_1;\n            var _this = this;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        user = this.createCognitoUser(authDetails.getUsername());\n                        _a.label = 1;\n                    case 1:\n                        _a.trys.push([1, 3, , 4]);\n                        return [4 /*yield*/, user.authenticateUser(authDetails, this.authCallbacks(user, function (value) {\n                                dispatchAuthEvent('autoSignIn', value, authDetails.getUsername() + \" has signed in successfully\");\n                                if (listenEvent) {\n                                    Hub.remove('auth', listenEvent);\n                                }\n                                if (autoSignInPollingIntervalId) {\n                                    clearInterval(autoSignInPollingIntervalId);\n                                    _this._storage.removeItem('amplify-polling-started');\n                                }\n                                _this._storage.removeItem('amplify-auto-sign-in');\n                            }, function (error) {\n                                logger.error(error);\n                                _this._storage.removeItem('amplify-auto-sign-in');\n                            }))];\n                    case 2:\n                        _a.sent();\n                        return [3 /*break*/, 4];\n                    case 3:\n                        error_1 = _a.sent();\n                        logger.error(error_1);\n                        return [3 /*break*/, 4];\n                    case 4: return [2 /*return*/];\n                }\n            });\n        });\n    };\n    /**\n     * Send the verification code to confirm sign up\n     * @param {String} username - The username to be confirmed\n     * @param {String} code - The verification code\n     * @param {ConfirmSignUpOptions} options - other options for confirm signup\n     * @return - A promise resolves callback data if success\n     */\n    AuthClass.prototype.confirmSignUp = function (username, code, options) {\n        var _this = this;\n        if (!this.userPool) {\n            return this.rejectNoUserPool();\n        }\n        if (!username) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyUsername);\n        }\n        if (!code) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyCode);\n        }\n        var user = this.createCognitoUser(username);\n        var forceAliasCreation = options && typeof options.forceAliasCreation === 'boolean'\n            ? options.forceAliasCreation\n            : true;\n        var clientMetadata;\n        if (options && options.clientMetadata) {\n            clientMetadata = options.clientMetadata;\n        }\n        else if (this._config.clientMetadata) {\n            clientMetadata = this._config.clientMetadata;\n        }\n        return new Promise(function (resolve, reject) {\n            user.confirmRegistration(code, forceAliasCreation, function (err, data) {\n                if (err) {\n                    reject(err);\n                }\n                else {\n                    dispatchAuthEvent('confirmSignUp', data, username + \" has been confirmed successfully\");\n                    var autoSignIn = _this.isTrueStorageValue('amplify-auto-sign-in');\n                    if (autoSignIn && !_this.autoSignInInitiated) {\n                        dispatchAuthEvent('autoSignIn_failure', null, AuthErrorTypes.AutoSignInError);\n                        _this._storage.removeItem('amplify-auto-sign-in');\n                    }\n                    resolve(data);\n                }\n            }, clientMetadata);\n        });\n    };\n    AuthClass.prototype.isTrueStorageValue = function (value) {\n        var item = this._storage.getItem(value);\n        return item ? item === 'true' : false;\n    };\n    /**\n     * Resend the verification code\n     * @param {String} username - The username to be confirmed\n     * @param {ClientMetadata} clientMetadata - Metadata to be passed to Cognito Lambda triggers\n     * @return - A promise resolves code delivery details if successful\n     */\n    AuthClass.prototype.resendSignUp = function (username, clientMetadata) {\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        if (!this.userPool) {\n            return this.rejectNoUserPool();\n        }\n        if (!username) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyUsername);\n        }\n        var user = this.createCognitoUser(username);\n        return new Promise(function (resolve, reject) {\n            user.resendConfirmationCode(function (err, data) {\n                if (err) {\n                    reject(err);\n                }\n                else {\n                    resolve(data);\n                }\n            }, clientMetadata);\n        });\n    };\n    /**\n     * Sign in\n     * @param {String | SignInOpts} usernameOrSignInOpts - The username to be signed in or the sign in options\n     * @param {String} pw - The password of the username\n     * @param {ClientMetaData} clientMetadata - Client metadata for custom workflows\n     * @return - A promise resolves the CognitoUser\n     */\n    AuthClass.prototype.signIn = function (usernameOrSignInOpts, pw, clientMetadata) {\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        if (!this.userPool) {\n            return this.rejectNoUserPool();\n        }\n        var username = null;\n        var password = null;\n        var validationData = {};\n        // for backward compatibility\n        if (typeof usernameOrSignInOpts === 'string') {\n            username = usernameOrSignInOpts;\n            password = pw;\n        }\n        else if (isUsernamePasswordOpts(usernameOrSignInOpts)) {\n            if (typeof pw !== 'undefined') {\n                logger.warn('The password should be defined under the first parameter object!');\n            }\n            username = usernameOrSignInOpts.username;\n            password = usernameOrSignInOpts.password;\n            validationData = usernameOrSignInOpts.validationData;\n        }\n        else {\n            return this.rejectAuthError(AuthErrorTypes.InvalidUsername);\n        }\n        if (!username) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyUsername);\n        }\n        var authDetails = new AuthenticationDetails({\n            Username: username,\n            Password: password,\n            ValidationData: validationData,\n            ClientMetadata: clientMetadata,\n        });\n        if (password) {\n            return this.signInWithPassword(authDetails);\n        }\n        else {\n            return this.signInWithoutPassword(authDetails);\n        }\n    };\n    /**\n     * Return an object with the authentication callbacks\n     * @param {CognitoUser} user - the cognito user object\n     * @param {} resolve - function called when resolving the current step\n     * @param {} reject - function called when rejecting the current step\n     * @return - an object with the callback methods for user authentication\n     */\n    AuthClass.prototype.authCallbacks = function (user, resolve, reject) {\n        var _this = this;\n        var that = this;\n        return {\n            onSuccess: function (session) { return __awaiter(_this, void 0, void 0, function () {\n                var cred, e_1, currentUser, e_2;\n                return __generator(this, function (_a) {\n                    switch (_a.label) {\n                        case 0:\n                            logger.debug(session);\n                            delete user['challengeName'];\n                            delete user['challengeParam'];\n                            _a.label = 1;\n                        case 1:\n                            _a.trys.push([1, 4, 5, 9]);\n                            return [4 /*yield*/, this.Credentials.clear()];\n                        case 2:\n                            _a.sent();\n                            return [4 /*yield*/, this.Credentials.set(session, 'session')];\n                        case 3:\n                            cred = _a.sent();\n                            logger.debug('succeed to get cognito credentials', cred);\n                            return [3 /*break*/, 9];\n                        case 4:\n                            e_1 = _a.sent();\n                            logger.debug('cannot get cognito credentials', e_1);\n                            return [3 /*break*/, 9];\n                        case 5:\n                            _a.trys.push([5, 7, , 8]);\n                            return [4 /*yield*/, this.currentUserPoolUser()];\n                        case 6:\n                            currentUser = _a.sent();\n                            that.user = currentUser;\n                            dispatchAuthEvent('signIn', currentUser, \"A user \" + user.getUsername() + \" has been signed in\");\n                            resolve(currentUser);\n                            return [3 /*break*/, 8];\n                        case 7:\n                            e_2 = _a.sent();\n                            logger.error('Failed to get the signed in user', e_2);\n                            reject(e_2);\n                            return [3 /*break*/, 8];\n                        case 8: return [7 /*endfinally*/];\n                        case 9: return [2 /*return*/];\n                    }\n                });\n            }); },\n            onFailure: function (err) {\n                logger.debug('signIn failure', err);\n                dispatchAuthEvent('signIn_failure', err, user.getUsername() + \" failed to signin\");\n                reject(err);\n            },\n            customChallenge: function (challengeParam) {\n                logger.debug('signIn custom challenge answer required');\n                user['challengeName'] = 'CUSTOM_CHALLENGE';\n                user['challengeParam'] = challengeParam;\n                resolve(user);\n            },\n            mfaRequired: function (challengeName, challengeParam) {\n                logger.debug('signIn MFA required');\n                user['challengeName'] = challengeName;\n                user['challengeParam'] = challengeParam;\n                resolve(user);\n            },\n            mfaSetup: function (challengeName, challengeParam) {\n                logger.debug('signIn mfa setup', challengeName);\n                user['challengeName'] = challengeName;\n                user['challengeParam'] = challengeParam;\n                resolve(user);\n            },\n            newPasswordRequired: function (userAttributes, requiredAttributes) {\n                logger.debug('signIn new password');\n                user['challengeName'] = 'NEW_PASSWORD_REQUIRED';\n                user['challengeParam'] = {\n                    userAttributes: userAttributes,\n                    requiredAttributes: requiredAttributes,\n                };\n                resolve(user);\n            },\n            totpRequired: function (challengeName, challengeParam) {\n                logger.debug('signIn totpRequired');\n                user['challengeName'] = challengeName;\n                user['challengeParam'] = challengeParam;\n                resolve(user);\n            },\n            selectMFAType: function (challengeName, challengeParam) {\n                logger.debug('signIn selectMFAType', challengeName);\n                user['challengeName'] = challengeName;\n                user['challengeParam'] = challengeParam;\n                resolve(user);\n            },\n        };\n    };\n    /**\n     * Sign in with a password\n     * @private\n     * @param {AuthenticationDetails} authDetails - the user sign in data\n     * @return - A promise resolves the CognitoUser object if success or mfa required\n     */\n    AuthClass.prototype.signInWithPassword = function (authDetails) {\n        var _this = this;\n        if (this.pendingSignIn) {\n            throw new Error('Pending sign-in attempt already in progress');\n        }\n        var user = this.createCognitoUser(authDetails.getUsername());\n        this.pendingSignIn = new Promise(function (resolve, reject) {\n            user.authenticateUser(authDetails, _this.authCallbacks(user, function (value) {\n                _this.pendingSignIn = null;\n                resolve(value);\n            }, function (error) {\n                _this.pendingSignIn = null;\n                reject(error);\n            }));\n        });\n        return this.pendingSignIn;\n    };\n    /**\n     * Sign in without a password\n     * @private\n     * @param {AuthenticationDetails} authDetails - the user sign in data\n     * @return - A promise resolves the CognitoUser object if success or mfa required\n     */\n    AuthClass.prototype.signInWithoutPassword = function (authDetails) {\n        var _this = this;\n        var user = this.createCognitoUser(authDetails.getUsername());\n        user.setAuthenticationFlowType('CUSTOM_AUTH');\n        return new Promise(function (resolve, reject) {\n            user.initiateAuth(authDetails, _this.authCallbacks(user, resolve, reject));\n        });\n    };\n    /**\n     * This was previously used by an authenticated user to get MFAOptions,\n     * but no longer returns a meaningful response. Refer to the documentation for\n     * how to setup and use MFA: https://docs.amplify.aws/lib/auth/mfa/q/platform/js\n     * @deprecated\n     * @param {CognitoUser} user - the current user\n     * @return - A promise resolves the current preferred mfa option if success\n     */\n    AuthClass.prototype.getMFAOptions = function (user) {\n        return new Promise(function (res, rej) {\n            user.getMFAOptions(function (err, mfaOptions) {\n                if (err) {\n                    logger.debug('get MFA Options failed', err);\n                    rej(err);\n                    return;\n                }\n                logger.debug('get MFA options success', mfaOptions);\n                res(mfaOptions);\n                return;\n            });\n        });\n    };\n    /**\n     * get preferred mfa method\n     * @param {CognitoUser} user - the current cognito user\n     * @param {GetPreferredMFAOpts} params - options for getting the current user preferred MFA\n     */\n    AuthClass.prototype.getPreferredMFA = function (user, params) {\n        var _this = this;\n        var that = this;\n        return new Promise(function (res, rej) {\n            var clientMetadata = _this._config.clientMetadata; // TODO: verify behavior if this is override during signIn\n            var bypassCache = params ? params.bypassCache : false;\n            user.getUserData(function (err, data) { return __awaiter(_this, void 0, void 0, function () {\n                var cleanUpError_1, mfaType;\n                return __generator(this, function (_a) {\n                    switch (_a.label) {\n                        case 0:\n                            if (!err) return [3 /*break*/, 5];\n                            logger.debug('getting preferred mfa failed', err);\n                            if (!this.isSessionInvalid(err)) return [3 /*break*/, 4];\n                            _a.label = 1;\n                        case 1:\n                            _a.trys.push([1, 3, , 4]);\n                            return [4 /*yield*/, this.cleanUpInvalidSession(user)];\n                        case 2:\n                            _a.sent();\n                            return [3 /*break*/, 4];\n                        case 3:\n                            cleanUpError_1 = _a.sent();\n                            rej(new Error(\"Session is invalid due to: \" + err.message + \" and failed to clean up invalid session: \" + cleanUpError_1.message));\n                            return [2 /*return*/];\n                        case 4:\n                            rej(err);\n                            return [2 /*return*/];\n                        case 5:\n                            mfaType = that._getMfaTypeFromUserData(data);\n                            if (!mfaType) {\n                                rej('invalid MFA Type');\n                                return [2 /*return*/];\n                            }\n                            else {\n                                res(mfaType);\n                                return [2 /*return*/];\n                            }\n                            return [2 /*return*/];\n                    }\n                });\n            }); }, { bypassCache: bypassCache, clientMetadata: clientMetadata });\n        });\n    };\n    AuthClass.prototype._getMfaTypeFromUserData = function (data) {\n        var ret = null;\n        var preferredMFA = data.PreferredMfaSetting;\n        // if the user has used Auth.setPreferredMFA() to setup the mfa type\n        // then the \"PreferredMfaSetting\" would exist in the response\n        if (preferredMFA) {\n            ret = preferredMFA;\n        }\n        else {\n            // if mfaList exists but empty, then its noMFA\n            var mfaList = data.UserMFASettingList;\n            if (!mfaList) {\n                // if SMS was enabled by using Auth.enableSMS(),\n                // the response would contain MFAOptions\n                // as for now Cognito only supports for SMS, so we will say it is 'SMS_MFA'\n                // if it does not exist, then it should be NOMFA\n                var MFAOptions = data.MFAOptions;\n                if (MFAOptions) {\n                    ret = 'SMS_MFA';\n                }\n                else {\n                    ret = 'NOMFA';\n                }\n            }\n            else if (mfaList.length === 0) {\n                ret = 'NOMFA';\n            }\n            else {\n                logger.debug('invalid case for getPreferredMFA', data);\n            }\n        }\n        return ret;\n    };\n    AuthClass.prototype._getUserData = function (user, params) {\n        var _this = this;\n        return new Promise(function (res, rej) {\n            user.getUserData(function (err, data) { return __awaiter(_this, void 0, void 0, function () {\n                var cleanUpError_2;\n                return __generator(this, function (_a) {\n                    switch (_a.label) {\n                        case 0:\n                            if (!err) return [3 /*break*/, 5];\n                            logger.debug('getting user data failed', err);\n                            if (!this.isSessionInvalid(err)) return [3 /*break*/, 4];\n                            _a.label = 1;\n                        case 1:\n                            _a.trys.push([1, 3, , 4]);\n                            return [4 /*yield*/, this.cleanUpInvalidSession(user)];\n                        case 2:\n                            _a.sent();\n                            return [3 /*break*/, 4];\n                        case 3:\n                            cleanUpError_2 = _a.sent();\n                            rej(new Error(\"Session is invalid due to: \" + err.message + \" and failed to clean up invalid session: \" + cleanUpError_2.message));\n                            return [2 /*return*/];\n                        case 4:\n                            rej(err);\n                            return [2 /*return*/];\n                        case 5:\n                            res(data);\n                            _a.label = 6;\n                        case 6: return [2 /*return*/];\n                    }\n                });\n            }); }, params);\n        });\n    };\n    /**\n     * set preferred MFA method\n     * @param {CognitoUser} user - the current Cognito user\n     * @param {string} mfaMethod - preferred mfa method\n     * @return - A promise resolve if success\n     */\n    AuthClass.prototype.setPreferredMFA = function (user, mfaMethod) {\n        return __awaiter(this, void 0, void 0, function () {\n            var clientMetadata, userData, smsMfaSettings, totpMfaSettings, _a, mfaList, currentMFAType, that;\n            var _this = this;\n            return __generator(this, function (_b) {\n                switch (_b.label) {\n                    case 0:\n                        clientMetadata = this._config.clientMetadata;\n                        return [4 /*yield*/, this._getUserData(user, {\n                                bypassCache: true,\n                                clientMetadata: clientMetadata,\n                            })];\n                    case 1:\n                        userData = _b.sent();\n                        smsMfaSettings = null;\n                        totpMfaSettings = null;\n                        _a = mfaMethod;\n                        switch (_a) {\n                            case 'TOTP': return [3 /*break*/, 2];\n                            case 'SOFTWARE_TOKEN_MFA': return [3 /*break*/, 2];\n                            case 'SMS': return [3 /*break*/, 3];\n                            case 'SMS_MFA': return [3 /*break*/, 3];\n                            case 'NOMFA': return [3 /*break*/, 4];\n                        }\n                        return [3 /*break*/, 6];\n                    case 2:\n                        totpMfaSettings = {\n                            PreferredMfa: true,\n                            Enabled: true,\n                        };\n                        return [3 /*break*/, 7];\n                    case 3:\n                        smsMfaSettings = {\n                            PreferredMfa: true,\n                            Enabled: true,\n                        };\n                        return [3 /*break*/, 7];\n                    case 4:\n                        mfaList = userData['UserMFASettingList'];\n                        return [4 /*yield*/, this._getMfaTypeFromUserData(userData)];\n                    case 5:\n                        currentMFAType = _b.sent();\n                        if (currentMFAType === 'NOMFA') {\n                            return [2 /*return*/, Promise.resolve('No change for mfa type')];\n                        }\n                        else if (currentMFAType === 'SMS_MFA') {\n                            smsMfaSettings = {\n                                PreferredMfa: false,\n                                Enabled: false,\n                            };\n                        }\n                        else if (currentMFAType === 'SOFTWARE_TOKEN_MFA') {\n                            totpMfaSettings = {\n                                PreferredMfa: false,\n                                Enabled: false,\n                            };\n                        }\n                        else {\n                            return [2 /*return*/, this.rejectAuthError(AuthErrorTypes.InvalidMFA)];\n                        }\n                        // if there is a UserMFASettingList in the response\n                        // we need to disable every mfa type in that list\n                        if (mfaList && mfaList.length !== 0) {\n                            // to disable SMS or TOTP if exists in that list\n                            mfaList.forEach(function (mfaType) {\n                                if (mfaType === 'SMS_MFA') {\n                                    smsMfaSettings = {\n                                        PreferredMfa: false,\n                                        Enabled: false,\n                                    };\n                                }\n                                else if (mfaType === 'SOFTWARE_TOKEN_MFA') {\n                                    totpMfaSettings = {\n                                        PreferredMfa: false,\n                                        Enabled: false,\n                                    };\n                                }\n                            });\n                        }\n                        return [3 /*break*/, 7];\n                    case 6:\n                        logger.debug('no validmfa method provided');\n                        return [2 /*return*/, this.rejectAuthError(AuthErrorTypes.NoMFA)];\n                    case 7:\n                        that = this;\n                        return [2 /*return*/, new Promise(function (res, rej) {\n                                user.setUserMfaPreference(smsMfaSettings, totpMfaSettings, function (err, result) {\n                                    if (err) {\n                                        logger.debug('Set user mfa preference error', err);\n                                        return rej(err);\n                                    }\n                                    logger.debug('Set user mfa success', result);\n                                    logger.debug('Caching the latest user data into local');\n                                    // cache the latest result into user data\n                                    user.getUserData(function (err, data) { return __awaiter(_this, void 0, void 0, function () {\n                                        var cleanUpError_3;\n                                        return __generator(this, function (_a) {\n                                            switch (_a.label) {\n                                                case 0:\n                                                    if (!err) return [3 /*break*/, 5];\n                                                    logger.debug('getting user data failed', err);\n                                                    if (!this.isSessionInvalid(err)) return [3 /*break*/, 4];\n                                                    _a.label = 1;\n                                                case 1:\n                                                    _a.trys.push([1, 3, , 4]);\n                                                    return [4 /*yield*/, this.cleanUpInvalidSession(user)];\n                                                case 2:\n                                                    _a.sent();\n                                                    return [3 /*break*/, 4];\n                                                case 3:\n                                                    cleanUpError_3 = _a.sent();\n                                                    rej(new Error(\"Session is invalid due to: \" + err.message + \" and failed to clean up invalid session: \" + cleanUpError_3.message));\n                                                    return [2 /*return*/];\n                                                case 4: return [2 /*return*/, rej(err)];\n                                                case 5: return [2 /*return*/, res(result)];\n                                            }\n                                        });\n                                    }); }, {\n                                        bypassCache: true,\n                                        clientMetadata: clientMetadata,\n                                    });\n                                });\n                            })];\n                }\n            });\n        });\n    };\n    /**\n     * disable SMS\n     * @deprecated\n     * @param {CognitoUser} user - the current user\n     * @return - A promise resolves is success\n     */\n    AuthClass.prototype.disableSMS = function (user) {\n        return new Promise(function (res, rej) {\n            user.disableMFA(function (err, data) {\n                if (err) {\n                    logger.debug('disable mfa failed', err);\n                    rej(err);\n                    return;\n                }\n                logger.debug('disable mfa succeed', data);\n                res(data);\n                return;\n            });\n        });\n    };\n    /**\n     * enable SMS\n     * @deprecated\n     * @param {CognitoUser} user - the current user\n     * @return - A promise resolves is success\n     */\n    AuthClass.prototype.enableSMS = function (user) {\n        return new Promise(function (res, rej) {\n            user.enableMFA(function (err, data) {\n                if (err) {\n                    logger.debug('enable mfa failed', err);\n                    rej(err);\n                    return;\n                }\n                logger.debug('enable mfa succeed', data);\n                res(data);\n                return;\n            });\n        });\n    };\n    /**\n     * Setup TOTP\n     * @param {CognitoUser} user - the current user\n     * @return - A promise resolves with the secret code if success\n     */\n    AuthClass.prototype.setupTOTP = function (user) {\n        return new Promise(function (res, rej) {\n            user.associateSoftwareToken({\n                onFailure: function (err) {\n                    logger.debug('associateSoftwareToken failed', err);\n                    rej(err);\n                    return;\n                },\n                associateSecretCode: function (secretCode) {\n                    logger.debug('associateSoftwareToken success', secretCode);\n                    res(secretCode);\n                    return;\n                },\n            });\n        });\n    };\n    /**\n     * verify TOTP setup\n     * @param {CognitoUser} user - the current user\n     * @param {string} challengeAnswer - challenge answer\n     * @return - A promise resolves is success\n     */\n    AuthClass.prototype.verifyTotpToken = function (user, challengeAnswer) {\n        logger.debug('verification totp token', user, challengeAnswer);\n        var signInUserSession;\n        if (user && typeof user.getSignInUserSession === 'function') {\n            signInUserSession = user.getSignInUserSession();\n        }\n        var isLoggedIn = signInUserSession === null || signInUserSession === void 0 ? void 0 : signInUserSession.isValid();\n        return new Promise(function (res, rej) {\n            user.verifySoftwareToken(challengeAnswer, 'My TOTP device', {\n                onFailure: function (err) {\n                    logger.debug('verifyTotpToken failed', err);\n                    rej(err);\n                    return;\n                },\n                onSuccess: function (data) {\n                    if (!isLoggedIn) {\n                        dispatchAuthEvent('signIn', user, \"A user \" + user.getUsername() + \" has been signed in\");\n                    }\n                    dispatchAuthEvent('verify', user, \"A user \" + user.getUsername() + \" has been verified\");\n                    logger.debug('verifyTotpToken success', data);\n                    res(data);\n                    return;\n                },\n            });\n        });\n    };\n    /**\n     * Send MFA code to confirm sign in\n     * @param {Object} user - The CognitoUser object\n     * @param {String} code - The confirmation code\n     */\n    AuthClass.prototype.confirmSignIn = function (user, code, mfaType, clientMetadata) {\n        var _this = this;\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        if (!code) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyCode);\n        }\n        var that = this;\n        return new Promise(function (resolve, reject) {\n            user.sendMFACode(code, {\n                onSuccess: function (session) { return __awaiter(_this, void 0, void 0, function () {\n                    var cred, e_3, currentUser, e_4;\n                    return __generator(this, function (_a) {\n                        switch (_a.label) {\n                            case 0:\n                                logger.debug(session);\n                                _a.label = 1;\n                            case 1:\n                                _a.trys.push([1, 4, 5, 10]);\n                                return [4 /*yield*/, this.Credentials.clear()];\n                            case 2:\n                                _a.sent();\n                                return [4 /*yield*/, this.Credentials.set(session, 'session')];\n                            case 3:\n                                cred = _a.sent();\n                                logger.debug('succeed to get cognito credentials', cred);\n                                return [3 /*break*/, 10];\n                            case 4:\n                                e_3 = _a.sent();\n                                logger.debug('cannot get cognito credentials', e_3);\n                                return [3 /*break*/, 10];\n                            case 5:\n                                that.user = user;\n                                _a.label = 6;\n                            case 6:\n                                _a.trys.push([6, 8, , 9]);\n                                return [4 /*yield*/, this.currentUserPoolUser()];\n                            case 7:\n                                currentUser = _a.sent();\n                                user.attributes = currentUser.attributes;\n                                return [3 /*break*/, 9];\n                            case 8:\n                                e_4 = _a.sent();\n                                logger.debug('cannot get updated Cognito User', e_4);\n                                return [3 /*break*/, 9];\n                            case 9:\n                                dispatchAuthEvent('signIn', user, \"A user \" + user.getUsername() + \" has been signed in\");\n                                resolve(user);\n                                return [7 /*endfinally*/];\n                            case 10: return [2 /*return*/];\n                        }\n                    });\n                }); },\n                onFailure: function (err) {\n                    logger.debug('confirm signIn failure', err);\n                    reject(err);\n                },\n            }, mfaType, clientMetadata);\n        });\n    };\n    AuthClass.prototype.completeNewPassword = function (user, password, requiredAttributes, clientMetadata) {\n        var _this = this;\n        if (requiredAttributes === void 0) { requiredAttributes = {}; }\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        if (!password) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyPassword);\n        }\n        var that = this;\n        return new Promise(function (resolve, reject) {\n            user.completeNewPasswordChallenge(password, requiredAttributes, {\n                onSuccess: function (session) { return __awaiter(_this, void 0, void 0, function () {\n                    var cred, e_5;\n                    return __generator(this, function (_a) {\n                        switch (_a.label) {\n                            case 0:\n                                logger.debug(session);\n                                _a.label = 1;\n                            case 1:\n                                _a.trys.push([1, 4, 5, 6]);\n                                return [4 /*yield*/, this.Credentials.clear()];\n                            case 2:\n                                _a.sent();\n                                return [4 /*yield*/, this.Credentials.set(session, 'session')];\n                            case 3:\n                                cred = _a.sent();\n                                logger.debug('succeed to get cognito credentials', cred);\n                                return [3 /*break*/, 6];\n                            case 4:\n                                e_5 = _a.sent();\n                                logger.debug('cannot get cognito credentials', e_5);\n                                return [3 /*break*/, 6];\n                            case 5:\n                                that.user = user;\n                                dispatchAuthEvent('signIn', user, \"A user \" + user.getUsername() + \" has been signed in\");\n                                resolve(user);\n                                return [7 /*endfinally*/];\n                            case 6: return [2 /*return*/];\n                        }\n                    });\n                }); },\n                onFailure: function (err) {\n                    logger.debug('completeNewPassword failure', err);\n                    dispatchAuthEvent('completeNewPassword_failure', err, _this.user + \" failed to complete the new password flow\");\n                    reject(err);\n                },\n                mfaRequired: function (challengeName, challengeParam) {\n                    logger.debug('signIn MFA required');\n                    user['challengeName'] = challengeName;\n                    user['challengeParam'] = challengeParam;\n                    resolve(user);\n                },\n                mfaSetup: function (challengeName, challengeParam) {\n                    logger.debug('signIn mfa setup', challengeName);\n                    user['challengeName'] = challengeName;\n                    user['challengeParam'] = challengeParam;\n                    resolve(user);\n                },\n                totpRequired: function (challengeName, challengeParam) {\n                    logger.debug('signIn mfa setup', challengeName);\n                    user['challengeName'] = challengeName;\n                    user['challengeParam'] = challengeParam;\n                    resolve(user);\n                },\n            }, clientMetadata);\n        });\n    };\n    /**\n     * Send the answer to a custom challenge\n     * @param {CognitoUser} user - The CognitoUser object\n     * @param {String} challengeResponses - The confirmation code\n     */\n    AuthClass.prototype.sendCustomChallengeAnswer = function (user, challengeResponses, clientMetadata) {\n        var _this = this;\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        if (!this.userPool) {\n            return this.rejectNoUserPool();\n        }\n        if (!challengeResponses) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyChallengeResponse);\n        }\n        var that = this;\n        return new Promise(function (resolve, reject) {\n            user.sendCustomChallengeAnswer(challengeResponses, _this.authCallbacks(user, resolve, reject), clientMetadata);\n        });\n    };\n    /**\n     * Delete an authenticated users' attributes\n     * @param {CognitoUser} - The currently logged in user object\n     * @return {Promise}\n     **/\n    AuthClass.prototype.deleteUserAttributes = function (user, attributeNames) {\n        var that = this;\n        return new Promise(function (resolve, reject) {\n            that.userSession(user).then(function (session) {\n                user.deleteAttributes(attributeNames, function (err, result) {\n                    if (err) {\n                        return reject(err);\n                    }\n                    else {\n                        return resolve(result);\n                    }\n                });\n            });\n        });\n    };\n    /**\n     * Delete the current authenticated user\n     * @return {Promise}\n     **/\n    // TODO: Check return type void\n    AuthClass.prototype.deleteUser = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var e_6, isSignedInHostedUI;\n            var _this = this;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        _a.trys.push([0, 2, , 3]);\n                        return [4 /*yield*/, this._storageSync];\n                    case 1:\n                        _a.sent();\n                        return [3 /*break*/, 3];\n                    case 2:\n                        e_6 = _a.sent();\n                        logger.debug('Failed to sync cache info into memory', e_6);\n                        throw new Error(e_6);\n                    case 3:\n                        isSignedInHostedUI = this._oAuthHandler &&\n                            this._storage.getItem('amplify-signin-with-hostedUI') === 'true';\n                        return [2 /*return*/, new Promise(function (res, rej) { return __awaiter(_this, void 0, void 0, function () {\n                                var user_1;\n                                var _this = this;\n                                return __generator(this, function (_a) {\n                                    if (this.userPool) {\n                                        user_1 = this.userPool.getCurrentUser();\n                                        if (!user_1) {\n                                            logger.debug('Failed to get user from user pool');\n                                            return [2 /*return*/, rej(new Error('No current user.'))];\n                                        }\n                                        else {\n                                            user_1.getSession(function (err, session) { return __awaiter(_this, void 0, void 0, function () {\n                                                var cleanUpError_4;\n                                                var _this = this;\n                                                return __generator(this, function (_a) {\n                                                    switch (_a.label) {\n                                                        case 0:\n                                                            if (!err) return [3 /*break*/, 5];\n                                                            logger.debug('Failed to get the user session', err);\n                                                            if (!this.isSessionInvalid(err)) return [3 /*break*/, 4];\n                                                            _a.label = 1;\n                                                        case 1:\n                                                            _a.trys.push([1, 3, , 4]);\n                                                            return [4 /*yield*/, this.cleanUpInvalidSession(user_1)];\n                                                        case 2:\n                                                            _a.sent();\n                                                            return [3 /*break*/, 4];\n                                                        case 3:\n                                                            cleanUpError_4 = _a.sent();\n                                                            rej(new Error(\"Session is invalid due to: \" + err.message + \" and failed to clean up invalid session: \" + cleanUpError_4.message));\n                                                            return [2 /*return*/];\n                                                        case 4: return [2 /*return*/, rej(err)];\n                                                        case 5:\n                                                            user_1.deleteUser(function (err, result) {\n                                                                if (err) {\n                                                                    rej(err);\n                                                                }\n                                                                else {\n                                                                    dispatchAuthEvent('userDeleted', result, 'The authenticated user has been deleted.');\n                                                                    user_1.signOut();\n                                                                    _this.user = null;\n                                                                    try {\n                                                                        _this.cleanCachedItems(); // clean aws credentials\n                                                                    }\n                                                                    catch (e) {\n                                                                        // TODO: change to rejects in refactor\n                                                                        logger.debug('failed to clear cached items');\n                                                                    }\n                                                                    if (isSignedInHostedUI) {\n                                                                        _this.oAuthSignOutRedirect(res, rej);\n                                                                    }\n                                                                    else {\n                                                                        dispatchAuthEvent('signOut', _this.user, \"A user has been signed out\");\n                                                                        res(result);\n                                                                    }\n                                                                }\n                                                            });\n                                                            _a.label = 6;\n                                                        case 6: return [2 /*return*/];\n                                                    }\n                                                });\n                                            }); });\n                                        }\n                                    }\n                                    else {\n                                        logger.debug('no Congito User pool');\n                                        rej(new Error('Cognito User pool does not exist'));\n                                    }\n                                    return [2 /*return*/];\n                                });\n                            }); })];\n                }\n            });\n        });\n    };\n    /**\n     * Update an authenticated users' attributes\n     * @param {CognitoUser} - The currently logged in user object\n     * @return {Promise}\n     **/\n    AuthClass.prototype.updateUserAttributes = function (user, attributes, clientMetadata) {\n        var _this = this;\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        var attributeList = [];\n        var that = this;\n        return new Promise(function (resolve, reject) {\n            that.userSession(user).then(function (session) {\n                for (var key in attributes) {\n                    if (key !== 'sub' && key.indexOf('_verified') < 0) {\n                        var attr = {\n                            Name: key,\n                            Value: attributes[key],\n                        };\n                        attributeList.push(attr);\n                    }\n                }\n                user.updateAttributes(attributeList, function (err, result, details) {\n                    if (err) {\n                        dispatchAuthEvent('updateUserAttributes_failure', err, 'Failed to update attributes');\n                        return reject(err);\n                    }\n                    else {\n                        var attrs = _this.createUpdateAttributesResultList(attributes, details === null || details === void 0 ? void 0 : details.CodeDeliveryDetailsList);\n                        dispatchAuthEvent('updateUserAttributes', attrs, 'Attributes successfully updated');\n                        return resolve(result);\n                    }\n                }, clientMetadata);\n            });\n        });\n    };\n    AuthClass.prototype.createUpdateAttributesResultList = function (attributes, codeDeliveryDetailsList) {\n        var attrs = {};\n        Object.keys(attributes).forEach(function (key) {\n            attrs[key] = {\n                isUpdated: true,\n            };\n            var codeDeliveryDetails = codeDeliveryDetailsList === null || codeDeliveryDetailsList === void 0 ? void 0 : codeDeliveryDetailsList.find(function (value) { return value.AttributeName === key; });\n            if (codeDeliveryDetails) {\n                attrs[key].isUpdated = false;\n                attrs[key].codeDeliveryDetails = codeDeliveryDetails;\n            }\n        });\n        return attrs;\n    };\n    /**\n     * Return user attributes\n     * @param {Object} user - The CognitoUser object\n     * @return - A promise resolves to user attributes if success\n     */\n    AuthClass.prototype.userAttributes = function (user) {\n        var _this = this;\n        return new Promise(function (resolve, reject) {\n            _this.userSession(user).then(function (session) {\n                user.getUserAttributes(function (err, attributes) {\n                    if (err) {\n                        reject(err);\n                    }\n                    else {\n                        resolve(attributes);\n                    }\n                });\n            });\n        });\n    };\n    AuthClass.prototype.verifiedContact = function (user) {\n        var that = this;\n        return this.userAttributes(user).then(function (attributes) {\n            var attrs = that.attributesToObject(attributes);\n            var unverified = {};\n            var verified = {};\n            if (attrs['email']) {\n                if (attrs['email_verified']) {\n                    verified['email'] = attrs['email'];\n                }\n                else {\n                    unverified['email'] = attrs['email'];\n                }\n            }\n            if (attrs['phone_number']) {\n                if (attrs['phone_number_verified']) {\n                    verified['phone_number'] = attrs['phone_number'];\n                }\n                else {\n                    unverified['phone_number'] = attrs['phone_number'];\n                }\n            }\n            return {\n                verified: verified,\n                unverified: unverified,\n            };\n        });\n    };\n    AuthClass.prototype.isErrorWithMessage = function (err) {\n        return (typeof err === 'object' &&\n            Object.prototype.hasOwnProperty.call(err, 'message'));\n    };\n    // Session revoked by another app\n    AuthClass.prototype.isTokenRevokedError = function (err) {\n        return (this.isErrorWithMessage(err) &&\n            err.message === 'Access Token has been revoked');\n    };\n    AuthClass.prototype.isRefreshTokenRevokedError = function (err) {\n        return (this.isErrorWithMessage(err) &&\n            err.message === 'Refresh Token has been revoked');\n    };\n    AuthClass.prototype.isUserDisabledError = function (err) {\n        return this.isErrorWithMessage(err) && err.message === 'User is disabled.';\n    };\n    AuthClass.prototype.isUserDoesNotExistError = function (err) {\n        return (this.isErrorWithMessage(err) && err.message === 'User does not exist.');\n    };\n    AuthClass.prototype.isRefreshTokenExpiredError = function (err) {\n        return (this.isErrorWithMessage(err) &&\n            err.message === 'Refresh Token has expired');\n    };\n    AuthClass.prototype.isPasswordResetRequiredError = function (err) {\n        return (this.isErrorWithMessage(err) &&\n            err.message === 'Password reset required for the user');\n    };\n    AuthClass.prototype.isSignedInHostedUI = function () {\n        return (this._oAuthHandler &&\n            this._storage.getItem('amplify-signin-with-hostedUI') === 'true');\n    };\n    AuthClass.prototype.isSessionInvalid = function (err) {\n        return (this.isUserDisabledError(err) ||\n            this.isUserDoesNotExistError(err) ||\n            this.isTokenRevokedError(err) ||\n            this.isRefreshTokenRevokedError(err) ||\n            this.isRefreshTokenExpiredError(err) ||\n            this.isPasswordResetRequiredError(err));\n    };\n    AuthClass.prototype.cleanUpInvalidSession = function (user) {\n        return __awaiter(this, void 0, void 0, function () {\n            var e_7;\n            var _this = this;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        user.signOut();\n                        this.user = null;\n                        _a.label = 1;\n                    case 1:\n                        _a.trys.push([1, 3, , 4]);\n                        return [4 /*yield*/, this.cleanCachedItems()];\n                    case 2:\n                        _a.sent(); // clean aws credentials\n                        return [3 /*break*/, 4];\n                    case 3:\n                        e_7 = _a.sent();\n                        logger.debug('failed to clear cached items');\n                        return [3 /*break*/, 4];\n                    case 4:\n                        if (this.isSignedInHostedUI()) {\n                            return [2 /*return*/, new Promise(function (res, rej) {\n                                    _this.oAuthSignOutRedirect(res, rej);\n                                })];\n                        }\n                        else {\n                            dispatchAuthEvent('signOut', this.user, \"A user has been signed out\");\n                        }\n                        return [2 /*return*/];\n                }\n            });\n        });\n    };\n    /**\n     * Get current authenticated user\n     * @return - A promise resolves to current authenticated CognitoUser if success\n     */\n    AuthClass.prototype.currentUserPoolUser = function (params) {\n        var _this = this;\n        if (!this.userPool) {\n            return this.rejectNoUserPool();\n        }\n        return new Promise(function (res, rej) {\n            _this._storageSync\n                .then(function () { return __awaiter(_this, void 0, void 0, function () {\n                var user, session, bypassCache, clientMetadata, _a, scope, err_1;\n                var _this = this;\n                return __generator(this, function (_b) {\n                    switch (_b.label) {\n                        case 0:\n                            if (!this.isOAuthInProgress()) return [3 /*break*/, 2];\n                            logger.debug('OAuth signIn in progress, waiting for resolution...');\n                            return [4 /*yield*/, new Promise(function (res) {\n                                    var timeoutId = setTimeout(function () {\n                                        logger.debug('OAuth signIn in progress timeout');\n                                        Hub.remove('auth', hostedUISignCallback);\n                                        res();\n                                    }, OAUTH_FLOW_MS_TIMEOUT);\n                                    Hub.listen('auth', hostedUISignCallback);\n                                    function hostedUISignCallback(_a) {\n                                        var payload = _a.payload;\n                                        var event = payload.event;\n                                        if (event === 'cognitoHostedUI' ||\n                                            event === 'cognitoHostedUI_failure') {\n                                            logger.debug(\"OAuth signIn resolved: \" + event);\n                                            clearTimeout(timeoutId);\n                                            Hub.remove('auth', hostedUISignCallback);\n                                            res();\n                                        }\n                                    }\n                                })];\n                        case 1:\n                            _b.sent();\n                            _b.label = 2;\n                        case 2:\n                            user = this.userPool.getCurrentUser();\n                            if (!user) {\n                                logger.debug('Failed to get user from user pool');\n                                rej('No current user');\n                                return [2 /*return*/];\n                            }\n                            _b.label = 3;\n                        case 3:\n                            _b.trys.push([3, 7, , 8]);\n                            return [4 /*yield*/, this._userSession(user)];\n                        case 4:\n                            session = _b.sent();\n                            bypassCache = params ? params.bypassCache : false;\n                            if (!bypassCache) return [3 /*break*/, 6];\n                            return [4 /*yield*/, this.Credentials.clear()];\n                        case 5:\n                            _b.sent();\n                            _b.label = 6;\n                        case 6:\n                            clientMetadata = this._config.clientMetadata;\n                            _a = session.getAccessToken().decodePayload().scope, scope = _a === void 0 ? '' : _a;\n                            if (scope.split(' ').includes(USER_ADMIN_SCOPE)) {\n                                user.getUserData(function (err, data) { return __awaiter(_this, void 0, void 0, function () {\n                                    var cleanUpError_5, preferredMFA, attributeList, i, attribute, userAttribute, attributes;\n                                    return __generator(this, function (_a) {\n                                        switch (_a.label) {\n                                            case 0:\n                                                if (!err) return [3 /*break*/, 7];\n                                                logger.debug('getting user data failed', err);\n                                                if (!this.isSessionInvalid(err)) return [3 /*break*/, 5];\n                                                _a.label = 1;\n                                            case 1:\n                                                _a.trys.push([1, 3, , 4]);\n                                                return [4 /*yield*/, this.cleanUpInvalidSession(user)];\n                                            case 2:\n                                                _a.sent();\n                                                return [3 /*break*/, 4];\n                                            case 3:\n                                                cleanUpError_5 = _a.sent();\n                                                rej(new Error(\"Session is invalid due to: \" + err.message + \" and failed to clean up invalid session: \" + cleanUpError_5.message));\n                                                return [2 /*return*/];\n                                            case 4:\n                                                rej(err);\n                                                return [3 /*break*/, 6];\n                                            case 5:\n                                                res(user);\n                                                _a.label = 6;\n                                            case 6: return [2 /*return*/];\n                                            case 7:\n                                                preferredMFA = data.PreferredMfaSetting || 'NOMFA';\n                                                attributeList = [];\n                                                for (i = 0; i < data.UserAttributes.length; i++) {\n                                                    attribute = {\n                                                        Name: data.UserAttributes[i].Name,\n                                                        Value: data.UserAttributes[i].Value,\n                                                    };\n                                                    userAttribute = new CognitoUserAttribute(attribute);\n                                                    attributeList.push(userAttribute);\n                                                }\n                                                attributes = this.attributesToObject(attributeList);\n                                                Object.assign(user, { attributes: attributes, preferredMFA: preferredMFA });\n                                                return [2 /*return*/, res(user)];\n                                        }\n                                    });\n                                }); }, { bypassCache: bypassCache, clientMetadata: clientMetadata });\n                            }\n                            else {\n                                logger.debug(\"Unable to get the user data because the \" + USER_ADMIN_SCOPE + \" \" +\n                                    \"is not in the scopes of the access token\");\n                                return [2 /*return*/, res(user)];\n                            }\n                            return [3 /*break*/, 8];\n                        case 7:\n                            err_1 = _b.sent();\n                            rej(err_1);\n                            return [3 /*break*/, 8];\n                        case 8: return [2 /*return*/];\n                    }\n                });\n            }); })\n                .catch(function (e) {\n                logger.debug('Failed to sync cache info into memory', e);\n                return rej(e);\n            });\n        });\n    };\n    AuthClass.prototype.isOAuthInProgress = function () {\n        return this.oAuthFlowInProgress;\n    };\n    /**\n     * Get current authenticated user\n     * @param {CurrentUserOpts} - options for getting the current user\n     * @return - A promise resolves to current authenticated CognitoUser if success\n     */\n    AuthClass.prototype.currentAuthenticatedUser = function (params) {\n        return __awaiter(this, void 0, void 0, function () {\n            var federatedUser, e_8, federatedInfo, user, e_9;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        logger.debug('getting current authenticated user');\n                        federatedUser = null;\n                        _a.label = 1;\n                    case 1:\n                        _a.trys.push([1, 3, , 4]);\n                        return [4 /*yield*/, this._storageSync];\n                    case 2:\n                        _a.sent();\n                        return [3 /*break*/, 4];\n                    case 3:\n                        e_8 = _a.sent();\n                        logger.debug('Failed to sync cache info into memory', e_8);\n                        throw e_8;\n                    case 4:\n                        try {\n                            federatedInfo = JSON.parse(this._storage.getItem('aws-amplify-federatedInfo'));\n                            if (federatedInfo) {\n                                federatedUser = __assign(__assign({}, federatedInfo.user), { token: federatedInfo.token });\n                            }\n                        }\n                        catch (e) {\n                            logger.debug('cannot load federated user from auth storage');\n                        }\n                        if (!federatedUser) return [3 /*break*/, 5];\n                        this.user = federatedUser;\n                        logger.debug('get current authenticated federated user', this.user);\n                        return [2 /*return*/, this.user];\n                    case 5:\n                        logger.debug('get current authenticated userpool user');\n                        user = null;\n                        _a.label = 6;\n                    case 6:\n                        _a.trys.push([6, 8, , 9]);\n                        return [4 /*yield*/, this.currentUserPoolUser(params)];\n                    case 7:\n                        user = _a.sent();\n                        return [3 /*break*/, 9];\n                    case 8:\n                        e_9 = _a.sent();\n                        if (e_9 === 'No userPool') {\n                            logger.error('Cannot get the current user because the user pool is missing. ' +\n                                'Please make sure the Auth module is configured with a valid Cognito User Pool ID');\n                        }\n                        logger.debug('The user is not authenticated by the error', e_9);\n                        return [2 /*return*/, Promise.reject('The user is not authenticated')];\n                    case 9:\n                        this.user = user;\n                        return [2 /*return*/, this.user];\n                }\n            });\n        });\n    };\n    /**\n     * Get current user's session\n     * @return - A promise resolves to session object if success\n     */\n    AuthClass.prototype.currentSession = function () {\n        var that = this;\n        logger.debug('Getting current session');\n        // Purposely not calling the reject method here because we don't need a console error\n        if (!this.userPool) {\n            return Promise.reject(new Error('No User Pool in the configuration.'));\n        }\n        return new Promise(function (res, rej) {\n            that\n                .currentUserPoolUser()\n                .then(function (user) {\n                that\n                    .userSession(user)\n                    .then(function (session) {\n                    res(session);\n                    return;\n                })\n                    .catch(function (e) {\n                    logger.debug('Failed to get the current session', e);\n                    rej(e);\n                    return;\n                });\n            })\n                .catch(function (e) {\n                logger.debug('Failed to get the current user', e);\n                rej(e);\n                return;\n            });\n        });\n    };\n    AuthClass.prototype._userSession = function (user) {\n        return __awaiter(this, void 0, void 0, function () {\n            var clientMetadata, userSession;\n            var _this = this;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        if (!user) {\n                            logger.debug('the user is null');\n                            return [2 /*return*/, this.rejectAuthError(AuthErrorTypes.NoUserSession)];\n                        }\n                        clientMetadata = this._config.clientMetadata;\n                        // Debouncing the concurrent userSession calls by caching the promise.\n                        // This solution assumes users will always call this function with the same CognitoUser instance.\n                        if (this.inflightSessionPromiseCounter === 0) {\n                            this.inflightSessionPromise = new Promise(function (res, rej) {\n                                user.getSession(function (err, session) { return __awaiter(_this, void 0, void 0, function () {\n                                    var cleanUpError_6;\n                                    return __generator(this, function (_a) {\n                                        switch (_a.label) {\n                                            case 0:\n                                                if (!err) return [3 /*break*/, 5];\n                                                logger.debug('Failed to get the session from user', user);\n                                                if (!this.isSessionInvalid(err)) return [3 /*break*/, 4];\n                                                _a.label = 1;\n                                            case 1:\n                                                _a.trys.push([1, 3, , 4]);\n                                                return [4 /*yield*/, this.cleanUpInvalidSession(user)];\n                                            case 2:\n                                                _a.sent();\n                                                return [3 /*break*/, 4];\n                                            case 3:\n                                                cleanUpError_6 = _a.sent();\n                                                rej(new Error(\"Session is invalid due to: \" + err.message + \" and failed to clean up invalid session: \" + cleanUpError_6.message));\n                                                return [2 /*return*/];\n                                            case 4:\n                                                rej(err);\n                                                return [2 /*return*/];\n                                            case 5:\n                                                logger.debug('Succeed to get the user session', session);\n                                                res(session);\n                                                return [2 /*return*/];\n                                        }\n                                    });\n                                }); }, { clientMetadata: clientMetadata });\n                            });\n                        }\n                        this.inflightSessionPromiseCounter++;\n                        _a.label = 1;\n                    case 1:\n                        _a.trys.push([1, , 3, 4]);\n                        return [4 /*yield*/, this.inflightSessionPromise];\n                    case 2:\n                        userSession = _a.sent();\n                        // Set private member. Avoid user.setSignInUserSession() to prevent excessive localstorage refresh.\n                        // @ts-ignore\n                        user.signInUserSession = userSession;\n                        return [2 /*return*/, userSession];\n                    case 3:\n                        this.inflightSessionPromiseCounter--;\n                        return [7 /*endfinally*/];\n                    case 4: return [2 /*return*/];\n                }\n            });\n        });\n    };\n    /**\n     * Get the corresponding user session\n     * @param {Object} user - The CognitoUser object\n     * @return - A promise resolves to the session\n     */\n    AuthClass.prototype.userSession = function (user) {\n        return this._userSession(user);\n    };\n    /**\n     * Get authenticated credentials of current user.\n     * @return - A promise resolves to be current user's credentials\n     */\n    AuthClass.prototype.currentUserCredentials = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var e_10, federatedInfo;\n            var _this = this;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        logger.debug('Getting current user credentials');\n                        _a.label = 1;\n                    case 1:\n                        _a.trys.push([1, 3, , 4]);\n                        return [4 /*yield*/, this._storageSync];\n                    case 2:\n                        _a.sent();\n                        return [3 /*break*/, 4];\n                    case 3:\n                        e_10 = _a.sent();\n                        logger.debug('Failed to sync cache info into memory', e_10);\n                        throw e_10;\n                    case 4:\n                        federatedInfo = null;\n                        try {\n                            federatedInfo = JSON.parse(this._storage.getItem('aws-amplify-federatedInfo'));\n                        }\n                        catch (e) {\n                            logger.debug('failed to get or parse item aws-amplify-federatedInfo', e);\n                        }\n                        if (federatedInfo) {\n                            // refresh the jwt token here if necessary\n                            return [2 /*return*/, this.Credentials.refreshFederatedToken(federatedInfo)];\n                        }\n                        else {\n                            return [2 /*return*/, this.currentSession()\n                                    .then(function (session) {\n                                    logger.debug('getting session success', session);\n                                    return _this.Credentials.set(session, 'session');\n                                })\n                                    .catch(function () {\n                                    logger.debug('getting guest credentials');\n                                    return _this.Credentials.set(null, 'guest');\n                                })];\n                        }\n                        return [2 /*return*/];\n                }\n            });\n        });\n    };\n    AuthClass.prototype.currentCredentials = function () {\n        logger.debug('getting current credentials');\n        return this.Credentials.get();\n    };\n    /**\n     * Initiate an attribute confirmation request\n     * @param {Object} user - The CognitoUser\n     * @param {Object} attr - The attributes to be verified\n     * @return - A promise resolves to callback data if success\n     */\n    AuthClass.prototype.verifyUserAttribute = function (user, attr, clientMetadata) {\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        return new Promise(function (resolve, reject) {\n            user.getAttributeVerificationCode(attr, {\n                onSuccess: function (success) {\n                    return resolve(success);\n                },\n                onFailure: function (err) {\n                    return reject(err);\n                },\n            }, clientMetadata);\n        });\n    };\n    /**\n     * Confirm an attribute using a confirmation code\n     * @param {Object} user - The CognitoUser\n     * @param {Object} attr - The attribute to be verified\n     * @param {String} code - The confirmation code\n     * @return - A promise resolves to callback data if success\n     */\n    AuthClass.prototype.verifyUserAttributeSubmit = function (user, attr, code) {\n        if (!code) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyCode);\n        }\n        return new Promise(function (resolve, reject) {\n            user.verifyAttribute(attr, code, {\n                onSuccess: function (data) {\n                    resolve(data);\n                    return;\n                },\n                onFailure: function (err) {\n                    reject(err);\n                    return;\n                },\n            });\n        });\n    };\n    AuthClass.prototype.verifyCurrentUserAttribute = function (attr) {\n        var that = this;\n        return that\n            .currentUserPoolUser()\n            .then(function (user) { return that.verifyUserAttribute(user, attr); });\n    };\n    /**\n     * Confirm current user's attribute using a confirmation code\n     * @param {Object} attr - The attribute to be verified\n     * @param {String} code - The confirmation code\n     * @return - A promise resolves to callback data if success\n     */\n    AuthClass.prototype.verifyCurrentUserAttributeSubmit = function (attr, code) {\n        var that = this;\n        return that\n            .currentUserPoolUser()\n            .then(function (user) { return that.verifyUserAttributeSubmit(user, attr, code); });\n    };\n    AuthClass.prototype.cognitoIdentitySignOut = function (opts, user) {\n        return __awaiter(this, void 0, void 0, function () {\n            var e_11, isSignedInHostedUI;\n            var _this = this;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        _a.trys.push([0, 2, , 3]);\n                        return [4 /*yield*/, this._storageSync];\n                    case 1:\n                        _a.sent();\n                        return [3 /*break*/, 3];\n                    case 2:\n                        e_11 = _a.sent();\n                        logger.debug('Failed to sync cache info into memory', e_11);\n                        throw e_11;\n                    case 3:\n                        isSignedInHostedUI = this._oAuthHandler &&\n                            this._storage.getItem('amplify-signin-with-hostedUI') === 'true';\n                        return [2 /*return*/, new Promise(function (res, rej) {\n                                if (opts && opts.global) {\n                                    logger.debug('user global sign out', user);\n                                    // in order to use global signout\n                                    // we must validate the user as an authenticated user by using getSession\n                                    var clientMetadata = _this._config.clientMetadata; // TODO: verify behavior if this is override during signIn\n                                    user.getSession(function (err, result) { return __awaiter(_this, void 0, void 0, function () {\n                                        var cleanUpError_7;\n                                        var _this = this;\n                                        return __generator(this, function (_a) {\n                                            switch (_a.label) {\n                                                case 0:\n                                                    if (!err) return [3 /*break*/, 5];\n                                                    logger.debug('failed to get the user session', err);\n                                                    if (!this.isSessionInvalid(err)) return [3 /*break*/, 4];\n                                                    _a.label = 1;\n                                                case 1:\n                                                    _a.trys.push([1, 3, , 4]);\n                                                    return [4 /*yield*/, this.cleanUpInvalidSession(user)];\n                                                case 2:\n                                                    _a.sent();\n                                                    return [3 /*break*/, 4];\n                                                case 3:\n                                                    cleanUpError_7 = _a.sent();\n                                                    rej(new Error(\"Session is invalid due to: \" + err.message + \" and failed to clean up invalid session: \" + cleanUpError_7.message));\n                                                    return [2 /*return*/];\n                                                case 4: return [2 /*return*/, rej(err)];\n                                                case 5:\n                                                    user.globalSignOut({\n                                                        onSuccess: function (data) {\n                                                            logger.debug('global sign out success');\n                                                            if (isSignedInHostedUI) {\n                                                                _this.oAuthSignOutRedirect(res, rej);\n                                                            }\n                                                            else {\n                                                                return res();\n                                                            }\n                                                        },\n                                                        onFailure: function (err) {\n                                                            logger.debug('global sign out failed', err);\n                                                            return rej(err);\n                                                        },\n                                                    });\n                                                    return [2 /*return*/];\n                                            }\n                                        });\n                                    }); }, { clientMetadata: clientMetadata });\n                                }\n                                else {\n                                    logger.debug('user sign out', user);\n                                    user.signOut(function () {\n                                        if (isSignedInHostedUI) {\n                                            _this.oAuthSignOutRedirect(res, rej);\n                                        }\n                                        else {\n                                            return res();\n                                        }\n                                    });\n                                }\n                            })];\n                }\n            });\n        });\n    };\n    AuthClass.prototype.oAuthSignOutRedirect = function (resolve, reject) {\n        var isBrowser = browserOrNode().isBrowser;\n        if (isBrowser) {\n            this.oAuthSignOutRedirectOrReject(reject);\n        }\n        else {\n            this.oAuthSignOutAndResolve(resolve);\n        }\n    };\n    AuthClass.prototype.oAuthSignOutAndResolve = function (resolve) {\n        this._oAuthHandler.signOut();\n        resolve();\n    };\n    AuthClass.prototype.oAuthSignOutRedirectOrReject = function (reject) {\n        this._oAuthHandler.signOut(); // this method redirects url\n        // App should be redirected to another url otherwise it will reject\n        setTimeout(function () { return reject(Error('Signout timeout fail')); }, 3000);\n    };\n    /**\n     * Sign out method\n     * @\n     * @return - A promise resolved if success\n     */\n    AuthClass.prototype.signOut = function (opts) {\n        if (opts === void 0) { opts = {}; }\n        return __awaiter(this, void 0, void 0, function () {\n            var e_12, e_13, user;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        _a.trys.push([0, 2, , 3]);\n                        return [4 /*yield*/, this.cleanCachedItems()];\n                    case 1:\n                        _a.sent();\n                        return [3 /*break*/, 3];\n                    case 2:\n                        e_12 = _a.sent();\n                        logger.debug('failed to clear cached items');\n                        return [3 /*break*/, 3];\n                    case 3:\n                        if (!this.userPool) return [3 /*break*/, 11];\n                        _a.label = 4;\n                    case 4:\n                        _a.trys.push([4, 6, , 7]);\n                        return [4 /*yield*/, this._storageSync];\n                    case 5:\n                        _a.sent();\n                        return [3 /*break*/, 7];\n                    case 6:\n                        e_13 = _a.sent();\n                        logger.debug('Failed to sync cache info into memory', e_13);\n                        throw e_13;\n                    case 7:\n                        user = this.userPool.getCurrentUser();\n                        if (!user) return [3 /*break*/, 9];\n                        return [4 /*yield*/, this.cognitoIdentitySignOut(opts, user)];\n                    case 8:\n                        _a.sent();\n                        return [3 /*break*/, 10];\n                    case 9:\n                        logger.debug('no current Cognito user');\n                        _a.label = 10;\n                    case 10: return [3 /*break*/, 12];\n                    case 11:\n                        logger.debug('no Cognito User pool');\n                        _a.label = 12;\n                    case 12:\n                        /**\n                         * Note for future refactor - no reliable way to get username with\n                         * Cognito User Pools vs Identity when federating with Social Providers\n                         * This is why we need a well structured session object that can be inspected\n                         * and information passed back in the message below for Hub dispatch\n                         */\n                        dispatchAuthEvent('signOut', this.user, \"A user has been signed out\");\n                        this.user = null;\n                        return [2 /*return*/];\n                }\n            });\n        });\n    };\n    AuthClass.prototype.cleanCachedItems = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0: \n                    // clear cognito cached item\n                    return [4 /*yield*/, this.Credentials.clear()];\n                    case 1:\n                        // clear cognito cached item\n                        _a.sent();\n                        return [2 /*return*/];\n                }\n            });\n        });\n    };\n    /**\n     * Change a password for an authenticated user\n     * @param {Object} user - The CognitoUser object\n     * @param {String} oldPassword - the current password\n     * @param {String} newPassword - the requested new password\n     * @return - A promise resolves if success\n     */\n    AuthClass.prototype.changePassword = function (user, oldPassword, newPassword, clientMetadata) {\n        var _this = this;\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        return new Promise(function (resolve, reject) {\n            _this.userSession(user).then(function (session) {\n                user.changePassword(oldPassword, newPassword, function (err, data) {\n                    if (err) {\n                        logger.debug('change password failure', err);\n                        return reject(err);\n                    }\n                    else {\n                        return resolve(data);\n                    }\n                }, clientMetadata);\n            });\n        });\n    };\n    /**\n     * Initiate a forgot password request\n     * @param {String} username - the username to change password\n     * @return - A promise resolves if success\n     */\n    AuthClass.prototype.forgotPassword = function (username, clientMetadata) {\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        if (!this.userPool) {\n            return this.rejectNoUserPool();\n        }\n        if (!username) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyUsername);\n        }\n        var user = this.createCognitoUser(username);\n        return new Promise(function (resolve, reject) {\n            user.forgotPassword({\n                onSuccess: function () {\n                    resolve();\n                    return;\n                },\n                onFailure: function (err) {\n                    logger.debug('forgot password failure', err);\n                    dispatchAuthEvent('forgotPassword_failure', err, username + \" forgotPassword failed\");\n                    reject(err);\n                    return;\n                },\n                inputVerificationCode: function (data) {\n                    dispatchAuthEvent('forgotPassword', user, username + \" has initiated forgot password flow\");\n                    resolve(data);\n                    return;\n                },\n            }, clientMetadata);\n        });\n    };\n    /**\n     * Confirm a new password using a confirmation Code\n     * @param {String} username - The username\n     * @param {String} code - The confirmation code\n     * @param {String} password - The new password\n     * @return - A promise that resolves if success\n     */\n    AuthClass.prototype.forgotPasswordSubmit = function (username, code, password, clientMetadata) {\n        if (clientMetadata === void 0) { clientMetadata = this._config.clientMetadata; }\n        if (!this.userPool) {\n            return this.rejectNoUserPool();\n        }\n        if (!username) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyUsername);\n        }\n        if (!code) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyCode);\n        }\n        if (!password) {\n            return this.rejectAuthError(AuthErrorTypes.EmptyPassword);\n        }\n        var user = this.createCognitoUser(username);\n        return new Promise(function (resolve, reject) {\n            user.confirmPassword(code, password, {\n                onSuccess: function (success) {\n                    dispatchAuthEvent('forgotPasswordSubmit', user, username + \" forgotPasswordSubmit successful\");\n                    resolve(success);\n                    return;\n                },\n                onFailure: function (err) {\n                    dispatchAuthEvent('forgotPasswordSubmit_failure', err, username + \" forgotPasswordSubmit failed\");\n                    reject(err);\n                    return;\n                },\n            }, clientMetadata);\n        });\n    };\n    /**\n     * Get user information\n     * @async\n     * @return {Object }- current User's information\n     */\n    AuthClass.prototype.currentUserInfo = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var source, user, attributes, userAttrs, credentials, e_14, info, err_2, user;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        source = this.Credentials.getCredSource();\n                        if (!(!source || source === 'aws' || source === 'userPool')) return [3 /*break*/, 9];\n                        return [4 /*yield*/, this.currentUserPoolUser().catch(function (err) {\n                                return logger.error(err);\n                            })];\n                    case 1:\n                        user = _a.sent();\n                        if (!user) {\n                            return [2 /*return*/, null];\n                        }\n                        _a.label = 2;\n                    case 2:\n                        _a.trys.push([2, 8, , 9]);\n                        return [4 /*yield*/, this.userAttributes(user)];\n                    case 3:\n                        attributes = _a.sent();\n                        userAttrs = this.attributesToObject(attributes);\n                        credentials = null;\n                        _a.label = 4;\n                    case 4:\n                        _a.trys.push([4, 6, , 7]);\n                        return [4 /*yield*/, this.currentCredentials()];\n                    case 5:\n                        credentials = _a.sent();\n                        return [3 /*break*/, 7];\n                    case 6:\n                        e_14 = _a.sent();\n                        logger.debug('Failed to retrieve credentials while getting current user info', e_14);\n                        return [3 /*break*/, 7];\n                    case 7:\n                        info = {\n                            id: credentials ? credentials.identityId : undefined,\n                            username: user.getUsername(),\n                            attributes: userAttrs,\n                        };\n                        return [2 /*return*/, info];\n                    case 8:\n                        err_2 = _a.sent();\n                        logger.error('currentUserInfo error', err_2);\n                        return [2 /*return*/, {}];\n                    case 9:\n                        if (source === 'federated') {\n                            user = this.user;\n                            return [2 /*return*/, user ? user : {}];\n                        }\n                        return [2 /*return*/];\n                }\n            });\n        });\n    };\n    AuthClass.prototype.federatedSignIn = function (providerOrOptions, response, user) {\n        return __awaiter(this, void 0, void 0, function () {\n            var options, provider, customState, client_id, redirect_uri, provider, loggedInUser, token, identity_id, expires_at, credentials, currentUser;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        if (!this._config.identityPoolId && !this._config.userPoolId) {\n                            throw new Error(\"Federation requires either a User Pool or Identity Pool in config\");\n                        }\n                        // Ensure backwards compatability\n                        if (typeof providerOrOptions === 'undefined') {\n                            if (this._config.identityPoolId && !this._config.userPoolId) {\n                                throw new Error(\"Federation with Identity Pools requires tokens passed as arguments\");\n                            }\n                        }\n                        if (!(isFederatedSignInOptions(providerOrOptions) ||\n                            isFederatedSignInOptionsCustom(providerOrOptions) ||\n                            hasCustomState(providerOrOptions) ||\n                            typeof providerOrOptions === 'undefined')) return [3 /*break*/, 1];\n                        options = providerOrOptions || {\n                            provider: CognitoHostedUIIdentityProvider.Cognito,\n                        };\n                        provider = isFederatedSignInOptions(options)\n                            ? options.provider\n                            : options.customProvider;\n                        customState = isFederatedSignInOptions(options)\n                            ? options.customState\n                            : options.customState;\n                        if (this._config.userPoolId) {\n                            client_id = isCognitoHostedOpts(this._config.oauth)\n                                ? this._config.userPoolWebClientId\n                                : this._config.oauth.clientID;\n                            redirect_uri = isCognitoHostedOpts(this._config.oauth)\n                                ? this._config.oauth.redirectSignIn\n                                : this._config.oauth.redirectUri;\n                            this._oAuthHandler.oauthSignIn(this._config.oauth.responseType, this._config.oauth.domain, redirect_uri, client_id, provider, customState);\n                        }\n                        return [3 /*break*/, 4];\n                    case 1:\n                        provider = providerOrOptions;\n                        // To check if the user is already logged in\n                        try {\n                            loggedInUser = JSON.stringify(JSON.parse(this._storage.getItem('aws-amplify-federatedInfo')).user);\n                            if (loggedInUser) {\n                                logger.warn(\"There is already a signed in user: \" + loggedInUser + \" in your app.\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tYou should not call Auth.federatedSignIn method again as it may cause unexpected behavior.\");\n                            }\n                        }\n                        catch (e) { }\n                        token = response.token, identity_id = response.identity_id, expires_at = response.expires_at;\n                        return [4 /*yield*/, this.Credentials.set({ provider: provider, token: token, identity_id: identity_id, user: user, expires_at: expires_at }, 'federation')];\n                    case 2:\n                        credentials = _a.sent();\n                        return [4 /*yield*/, this.currentAuthenticatedUser()];\n                    case 3:\n                        currentUser = _a.sent();\n                        dispatchAuthEvent('signIn', currentUser, \"A user \" + currentUser.username + \" has been signed in\");\n                        logger.debug('federated sign in credentials', credentials);\n                        return [2 /*return*/, credentials];\n                    case 4: return [2 /*return*/];\n                }\n            });\n        });\n    };\n    /**\n     * Used to complete the OAuth flow with or without the Cognito Hosted UI\n     * @param {String} URL - optional parameter for customers to pass in the response URL\n     */\n    AuthClass.prototype._handleAuthResponse = function (URL) {\n        return __awaiter(this, void 0, void 0, function () {\n            var currentUrl, hasCodeOrError, hasTokenOrError, _a, accessToken, idToken, refreshToken, state, session, credentials, isCustomStateIncluded, currentUser, customState, err_3;\n            return __generator(this, function (_b) {\n                switch (_b.label) {\n                    case 0:\n                        if (this.oAuthFlowInProgress) {\n                            logger.debug(\"Skipping URL \" + URL + \" current flow in progress\");\n                            return [2 /*return*/];\n                        }\n                        _b.label = 1;\n                    case 1:\n                        _b.trys.push([1, , 8, 9]);\n                        this.oAuthFlowInProgress = true;\n                        if (!this._config.userPoolId) {\n                            throw new Error(\"OAuth responses require a User Pool defined in config\");\n                        }\n                        dispatchAuthEvent('parsingCallbackUrl', { url: URL }, \"The callback url is being parsed\");\n                        currentUrl = URL || (browserOrNode().isBrowser ? window.location.href : '');\n                        hasCodeOrError = !!(parse(currentUrl).query || '')\n                            .split('&')\n                            .map(function (entry) { return entry.split('='); })\n                            .find(function (_a) {\n                            var _b = __read(_a, 1), k = _b[0];\n                            return k === 'code' || k === 'error';\n                        });\n                        hasTokenOrError = !!(parse(currentUrl).hash || '#')\n                            .substr(1)\n                            .split('&')\n                            .map(function (entry) { return entry.split('='); })\n                            .find(function (_a) {\n                            var _b = __read(_a, 1), k = _b[0];\n                            return k === 'access_token' || k === 'error';\n                        });\n                        if (!(hasCodeOrError || hasTokenOrError)) return [3 /*break*/, 7];\n                        this._storage.setItem('amplify-redirected-from-hosted-ui', 'true');\n                        _b.label = 2;\n                    case 2:\n                        _b.trys.push([2, 6, , 7]);\n                        return [4 /*yield*/, this._oAuthHandler.handleAuthResponse(currentUrl)];\n                    case 3:\n                        _a = _b.sent(), accessToken = _a.accessToken, idToken = _a.idToken, refreshToken = _a.refreshToken, state = _a.state;\n                        session = new CognitoUserSession({\n                            IdToken: new CognitoIdToken({ IdToken: idToken }),\n                            RefreshToken: new CognitoRefreshToken({\n                                RefreshToken: refreshToken,\n                            }),\n                            AccessToken: new CognitoAccessToken({\n                                AccessToken: accessToken,\n                            }),\n                        });\n                        credentials = void 0;\n                        if (!this._config.identityPoolId) return [3 /*break*/, 5];\n                        return [4 /*yield*/, this.Credentials.set(session, 'session')];\n                    case 4:\n                        credentials = _b.sent();\n                        logger.debug('AWS credentials', credentials);\n                        _b.label = 5;\n                    case 5:\n                        isCustomStateIncluded = /-/.test(state);\n                        currentUser = this.createCognitoUser(session.getIdToken().decodePayload()['cognito:username']);\n                        // This calls cacheTokens() in Cognito SDK\n                        currentUser.setSignInUserSession(session);\n                        if (window && typeof window.history !== 'undefined') {\n                            window.history.replaceState(window.history.state, '', this._config.oauth.redirectSignIn);\n                        }\n                        dispatchAuthEvent('signIn', currentUser, \"A user \" + currentUser.getUsername() + \" has been signed in\");\n                        dispatchAuthEvent('cognitoHostedUI', currentUser, \"A user \" + currentUser.getUsername() + \" has been signed in via Cognito Hosted UI\");\n                        if (isCustomStateIncluded) {\n                            customState = state.split('-').splice(1).join('-');\n                            dispatchAuthEvent('customOAuthState', urlSafeDecode(customState), \"State for user \" + currentUser.getUsername());\n                        }\n                        //#endregion\n                        return [2 /*return*/, credentials];\n                    case 6:\n                        err_3 = _b.sent();\n                        logger.debug('Error in cognito hosted auth response', err_3);\n                        // Just like a successful handling of `?code`, replace the window history to \"dispose\" of the `code`.\n                        // Otherwise, reloading the page will throw errors as the `code` has already been spent.\n                        if (window && typeof window.history !== 'undefined') {\n                            window.history.replaceState(window.history.state, '', this._config.oauth.redirectSignIn);\n                        }\n                        dispatchAuthEvent('signIn_failure', err_3, \"The OAuth response flow failed\");\n                        dispatchAuthEvent('cognitoHostedUI_failure', err_3, \"A failure occurred when returning to the Cognito Hosted UI\");\n                        dispatchAuthEvent('customState_failure', err_3, \"A failure occurred when returning state\");\n                        return [3 /*break*/, 7];\n                    case 7: return [3 /*break*/, 9];\n                    case 8:\n                        this.oAuthFlowInProgress = false;\n                        return [7 /*endfinally*/];\n                    case 9: return [2 /*return*/];\n                }\n            });\n        });\n    };\n    /**\n     * Compact version of credentials\n     * @param {Object} credentials\n     * @return {Object} - Credentials\n     */\n    AuthClass.prototype.essentialCredentials = function (credentials) {\n        return {\n            accessKeyId: credentials.accessKeyId,\n            sessionToken: credentials.sessionToken,\n            secretAccessKey: credentials.secretAccessKey,\n            identityId: credentials.identityId,\n            authenticated: credentials.authenticated,\n        };\n    };\n    AuthClass.prototype.attributesToObject = function (attributes) {\n        var _this = this;\n        var obj = {};\n        if (attributes) {\n            attributes.map(function (attribute) {\n                if (attribute.Name === 'email_verified' ||\n                    attribute.Name === 'phone_number_verified') {\n                    obj[attribute.Name] =\n                        _this.isTruthyString(attribute.Value) || attribute.Value === true;\n                }\n                else {\n                    obj[attribute.Name] = attribute.Value;\n                }\n            });\n        }\n        return obj;\n    };\n    AuthClass.prototype.isTruthyString = function (value) {\n        return (typeof value.toLowerCase === 'function' && value.toLowerCase() === 'true');\n    };\n    AuthClass.prototype.createCognitoUser = function (username) {\n        var userData = {\n            Username: username,\n            Pool: this.userPool,\n        };\n        userData.Storage = this._storage;\n        var authenticationFlowType = this._config.authenticationFlowType;\n        var user = new CognitoUser(userData);\n        if (authenticationFlowType) {\n            user.setAuthenticationFlowType(authenticationFlowType);\n        }\n        return user;\n    };\n    AuthClass.prototype._isValidAuthStorage = function (obj) {\n        // We need to check if the obj has the functions of Storage\n        return (!!obj &&\n            typeof obj.getItem === 'function' &&\n            typeof obj.setItem === 'function' &&\n            typeof obj.removeItem === 'function' &&\n            typeof obj.clear === 'function');\n    };\n    AuthClass.prototype.noUserPoolErrorHandler = function (config) {\n        if (config) {\n            if (!config.userPoolId || !config.identityPoolId) {\n                return AuthErrorTypes.MissingAuthConfig;\n            }\n        }\n        return AuthErrorTypes.NoConfig;\n    };\n    AuthClass.prototype.rejectAuthError = function (type) {\n        return Promise.reject(new AuthError(type));\n    };\n    AuthClass.prototype.rejectNoUserPool = function () {\n        var type = this.noUserPoolErrorHandler(this._config);\n        return Promise.reject(new NoUserPoolError(type));\n    };\n    AuthClass.prototype.rememberDevice = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var currUser, error_2;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        _a.trys.push([0, 2, , 3]);\n                        return [4 /*yield*/, this.currentUserPoolUser()];\n                    case 1:\n                        currUser = _a.sent();\n                        return [3 /*break*/, 3];\n                    case 2:\n                        error_2 = _a.sent();\n                        logger.debug('The user is not authenticated by the error', error_2);\n                        return [2 /*return*/, Promise.reject('The user is not authenticated')];\n                    case 3:\n                        currUser.getCachedDeviceKeyAndPassword();\n                        return [2 /*return*/, new Promise(function (res, rej) {\n                                currUser.setDeviceStatusRemembered({\n                                    onSuccess: function (data) {\n                                        res(data);\n                                    },\n                                    onFailure: function (err) {\n                                        if (err.code === 'InvalidParameterException') {\n                                            rej(new AuthError(AuthErrorTypes.DeviceConfig));\n                                        }\n                                        else if (err.code === 'NetworkError') {\n                                            rej(new AuthError(AuthErrorTypes.NetworkError));\n                                        }\n                                        else {\n                                            rej(err);\n                                        }\n                                    },\n                                });\n                            })];\n                }\n            });\n        });\n    };\n    AuthClass.prototype.forgetDevice = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var currUser, error_3;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        _a.trys.push([0, 2, , 3]);\n                        return [4 /*yield*/, this.currentUserPoolUser()];\n                    case 1:\n                        currUser = _a.sent();\n                        return [3 /*break*/, 3];\n                    case 2:\n                        error_3 = _a.sent();\n                        logger.debug('The user is not authenticated by the error', error_3);\n                        return [2 /*return*/, Promise.reject('The user is not authenticated')];\n                    case 3:\n                        currUser.getCachedDeviceKeyAndPassword();\n                        return [2 /*return*/, new Promise(function (res, rej) {\n                                currUser.forgetDevice({\n                                    onSuccess: function (data) {\n                                        res(data);\n                                    },\n                                    onFailure: function (err) {\n                                        if (err.code === 'InvalidParameterException') {\n                                            rej(new AuthError(AuthErrorTypes.DeviceConfig));\n                                        }\n                                        else if (err.code === 'NetworkError') {\n                                            rej(new AuthError(AuthErrorTypes.NetworkError));\n                                        }\n                                        else {\n                                            rej(err);\n                                        }\n                                    },\n                                });\n                            })];\n                }\n            });\n        });\n    };\n    AuthClass.prototype.fetchDevices = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var currUser, error_4;\n            return __generator(this, function (_a) {\n                switch (_a.label) {\n                    case 0:\n                        _a.trys.push([0, 2, , 3]);\n                        return [4 /*yield*/, this.currentUserPoolUser()];\n                    case 1:\n                        currUser = _a.sent();\n                        return [3 /*break*/, 3];\n                    case 2:\n                        error_4 = _a.sent();\n                        logger.debug('The user is not authenticated by the error', error_4);\n                        throw new Error('The user is not authenticated');\n                    case 3:\n                        currUser.getCachedDeviceKeyAndPassword();\n                        return [2 /*return*/, new Promise(function (res, rej) {\n                                var cb = {\n                                    onSuccess: function (data) {\n                                        var deviceList = data.Devices.map(function (device) {\n                                            var deviceName = device.DeviceAttributes.find(function (_a) {\n                                                var Name = _a.Name;\n                                                return Name === 'device_name';\n                                            }) || {};\n                                            var deviceInfo = {\n                                                id: device.DeviceKey,\n                                                name: deviceName.Value,\n                                            };\n                                            return deviceInfo;\n                                        });\n                                        res(deviceList);\n                                    },\n                                    onFailure: function (err) {\n                                        if (err.code === 'InvalidParameterException') {\n                                            rej(new AuthError(AuthErrorTypes.DeviceConfig));\n                                        }\n                                        else if (err.code === 'NetworkError') {\n                                            rej(new AuthError(AuthErrorTypes.NetworkError));\n                                        }\n                                        else {\n                                            rej(err);\n                                        }\n                                    },\n                                };\n                                currUser.listDevices(MAX_DEVICES, null, cb);\n                            })];\n                }\n            });\n        });\n    };\n    return AuthClass;\n}());\nexport { AuthClass };\nexport var Auth = new AuthClass(null);\nAmplify.register(Auth);\n//# sourceMappingURL=Auth.js.map","export var FRAMEWORK = {\n  None: '0',\n  ReactNative: '1'\n};\nexport var AUTH_CATEGORY = 'auth';","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author   Feross Aboukhadijeh <http://feross.org>\n * @license  MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nvar base64 = require('base64-js')\nvar ieee754 = require('ieee754')\nvar isArray = require('isarray')\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n *   === true    Use Uint8Array implementation (fastest)\n *   === false   Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n *   - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n *     See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n *   - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n *   - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n *     incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n  ? global.TYPED_ARRAY_SUPPORT\n  : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n  try {\n    var arr = new Uint8Array(1)\n    arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n    return arr.foo() === 42 && // typed array instances can be augmented\n        typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n        arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n  } catch (e) {\n    return false\n  }\n}\n\nfunction kMaxLength () {\n  return Buffer.TYPED_ARRAY_SUPPORT\n    ? 0x7fffffff\n    : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n  if (kMaxLength() < length) {\n    throw new RangeError('Invalid typed array length')\n  }\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    // Return an augmented `Uint8Array` instance, for best performance\n    that = new Uint8Array(length)\n    that.__proto__ = Buffer.prototype\n  } else {\n    // Fallback: Return an object instance of the Buffer class\n    if (that === null) {\n      that = new Buffer(length)\n    }\n    that.length = length\n  }\n\n  return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n  if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n    return new Buffer(arg, encodingOrOffset, length)\n  }\n\n  // Common case.\n  if (typeof arg === 'number') {\n    if (typeof encodingOrOffset === 'string') {\n      throw new Error(\n        'If encoding is specified then the first argument must be a string'\n      )\n    }\n    return allocUnsafe(this, arg)\n  }\n  return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n  arr.__proto__ = Buffer.prototype\n  return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n  if (typeof value === 'number') {\n    throw new TypeError('\"value\" argument must not be a number')\n  }\n\n  if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n    return fromArrayBuffer(that, value, encodingOrOffset, length)\n  }\n\n  if (typeof value === 'string') {\n    return fromString(that, value, encodingOrOffset)\n  }\n\n  return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n  return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n  Buffer.prototype.__proto__ = Uint8Array.prototype\n  Buffer.__proto__ = Uint8Array\n  if (typeof Symbol !== 'undefined' && Symbol.species &&\n      Buffer[Symbol.species] === Buffer) {\n    // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n    Object.defineProperty(Buffer, Symbol.species, {\n      value: null,\n      configurable: true\n    })\n  }\n}\n\nfunction assertSize (size) {\n  if (typeof size !== 'number') {\n    throw new TypeError('\"size\" argument must be a number')\n  } else if (size < 0) {\n    throw new RangeError('\"size\" argument must not be negative')\n  }\n}\n\nfunction alloc (that, size, fill, encoding) {\n  assertSize(size)\n  if (size <= 0) {\n    return createBuffer(that, size)\n  }\n  if (fill !== undefined) {\n    // Only pay attention to encoding if it's a string. This\n    // prevents accidentally sending in a number that would\n    // be interpretted as a start offset.\n    return typeof encoding === 'string'\n      ? createBuffer(that, size).fill(fill, encoding)\n      : createBuffer(that, size).fill(fill)\n  }\n  return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n  return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n  assertSize(size)\n  that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n  if (!Buffer.TYPED_ARRAY_SUPPORT) {\n    for (var i = 0; i < size; ++i) {\n      that[i] = 0\n    }\n  }\n  return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n  return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n  return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n  if (typeof encoding !== 'string' || encoding === '') {\n    encoding = 'utf8'\n  }\n\n  if (!Buffer.isEncoding(encoding)) {\n    throw new TypeError('\"encoding\" must be a valid string encoding')\n  }\n\n  var length = byteLength(string, encoding) | 0\n  that = createBuffer(that, length)\n\n  var actual = that.write(string, encoding)\n\n  if (actual !== length) {\n    // Writing a hex string, for example, that contains invalid characters will\n    // cause everything after the first invalid character to be ignored. (e.g.\n    // 'abxxcd' will be treated as 'ab')\n    that = that.slice(0, actual)\n  }\n\n  return that\n}\n\nfunction fromArrayLike (that, array) {\n  var length = array.length < 0 ? 0 : checked(array.length) | 0\n  that = createBuffer(that, length)\n  for (var i = 0; i < length; i += 1) {\n    that[i] = array[i] & 255\n  }\n  return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n  array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n  if (byteOffset < 0 || array.byteLength < byteOffset) {\n    throw new RangeError('\\'offset\\' is out of bounds')\n  }\n\n  if (array.byteLength < byteOffset + (length || 0)) {\n    throw new RangeError('\\'length\\' is out of bounds')\n  }\n\n  if (byteOffset === undefined && length === undefined) {\n    array = new Uint8Array(array)\n  } else if (length === undefined) {\n    array = new Uint8Array(array, byteOffset)\n  } else {\n    array = new Uint8Array(array, byteOffset, length)\n  }\n\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    // Return an augmented `Uint8Array` instance, for best performance\n    that = array\n    that.__proto__ = Buffer.prototype\n  } else {\n    // Fallback: Return an object instance of the Buffer class\n    that = fromArrayLike(that, array)\n  }\n  return that\n}\n\nfunction fromObject (that, obj) {\n  if (Buffer.isBuffer(obj)) {\n    var len = checked(obj.length) | 0\n    that = createBuffer(that, len)\n\n    if (that.length === 0) {\n      return that\n    }\n\n    obj.copy(that, 0, 0, len)\n    return that\n  }\n\n  if (obj) {\n    if ((typeof ArrayBuffer !== 'undefined' &&\n        obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n      if (typeof obj.length !== 'number' || isnan(obj.length)) {\n        return createBuffer(that, 0)\n      }\n      return fromArrayLike(that, obj)\n    }\n\n    if (obj.type === 'Buffer' && isArray(obj.data)) {\n      return fromArrayLike(that, obj.data)\n    }\n  }\n\n  throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n  // Note: cannot use `length < kMaxLength()` here because that fails when\n  // length is NaN (which is otherwise coerced to zero.)\n  if (length >= kMaxLength()) {\n    throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n                         'size: 0x' + kMaxLength().toString(16) + ' bytes')\n  }\n  return length | 0\n}\n\nfunction SlowBuffer (length) {\n  if (+length != length) { // eslint-disable-line eqeqeq\n    length = 0\n  }\n  return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n  return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n  if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n    throw new TypeError('Arguments must be Buffers')\n  }\n\n  if (a === b) return 0\n\n  var x = a.length\n  var y = b.length\n\n  for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n    if (a[i] !== b[i]) {\n      x = a[i]\n      y = b[i]\n      break\n    }\n  }\n\n  if (x < y) return -1\n  if (y < x) return 1\n  return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n  switch (String(encoding).toLowerCase()) {\n    case 'hex':\n    case 'utf8':\n    case 'utf-8':\n    case 'ascii':\n    case 'latin1':\n    case 'binary':\n    case 'base64':\n    case 'ucs2':\n    case 'ucs-2':\n    case 'utf16le':\n    case 'utf-16le':\n      return true\n    default:\n      return false\n  }\n}\n\nBuffer.concat = function concat (list, length) {\n  if (!isArray(list)) {\n    throw new TypeError('\"list\" argument must be an Array of Buffers')\n  }\n\n  if (list.length === 0) {\n    return Buffer.alloc(0)\n  }\n\n  var i\n  if (length === undefined) {\n    length = 0\n    for (i = 0; i < list.length; ++i) {\n      length += list[i].length\n    }\n  }\n\n  var buffer = Buffer.allocUnsafe(length)\n  var pos = 0\n  for (i = 0; i < list.length; ++i) {\n    var buf = list[i]\n    if (!Buffer.isBuffer(buf)) {\n      throw new TypeError('\"list\" argument must be an Array of Buffers')\n    }\n    buf.copy(buffer, pos)\n    pos += buf.length\n  }\n  return buffer\n}\n\nfunction byteLength (string, encoding) {\n  if (Buffer.isBuffer(string)) {\n    return string.length\n  }\n  if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n      (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n    return string.byteLength\n  }\n  if (typeof string !== 'string') {\n    string = '' + string\n  }\n\n  var len = string.length\n  if (len === 0) return 0\n\n  // Use a for loop to avoid recursion\n  var loweredCase = false\n  for (;;) {\n    switch (encoding) {\n      case 'ascii':\n      case 'latin1':\n      case 'binary':\n        return len\n      case 'utf8':\n      case 'utf-8':\n      case undefined:\n        return utf8ToBytes(string).length\n      case 'ucs2':\n      case 'ucs-2':\n      case 'utf16le':\n      case 'utf-16le':\n        return len * 2\n      case 'hex':\n        return len >>> 1\n      case 'base64':\n        return base64ToBytes(string).length\n      default:\n        if (loweredCase) return utf8ToBytes(string).length // assume utf8\n        encoding = ('' + encoding).toLowerCase()\n        loweredCase = true\n    }\n  }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n  var loweredCase = false\n\n  // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n  // property of a typed array.\n\n  // This behaves neither like String nor Uint8Array in that we set start/end\n  // to their upper/lower bounds if the value passed is out of range.\n  // undefined is handled specially as per ECMA-262 6th Edition,\n  // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n  if (start === undefined || start < 0) {\n    start = 0\n  }\n  // Return early if start > this.length. Done here to prevent potential uint32\n  // coercion fail below.\n  if (start > this.length) {\n    return ''\n  }\n\n  if (end === undefined || end > this.length) {\n    end = this.length\n  }\n\n  if (end <= 0) {\n    return ''\n  }\n\n  // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n  end >>>= 0\n  start >>>= 0\n\n  if (end <= start) {\n    return ''\n  }\n\n  if (!encoding) encoding = 'utf8'\n\n  while (true) {\n    switch (encoding) {\n      case 'hex':\n        return hexSlice(this, start, end)\n\n      case 'utf8':\n      case 'utf-8':\n        return utf8Slice(this, start, end)\n\n      case 'ascii':\n        return asciiSlice(this, start, end)\n\n      case 'latin1':\n      case 'binary':\n        return latin1Slice(this, start, end)\n\n      case 'base64':\n        return base64Slice(this, start, end)\n\n      case 'ucs2':\n      case 'ucs-2':\n      case 'utf16le':\n      case 'utf-16le':\n        return utf16leSlice(this, start, end)\n\n      default:\n        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n        encoding = (encoding + '').toLowerCase()\n        loweredCase = true\n    }\n  }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n  var i = b[n]\n  b[n] = b[m]\n  b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n  var len = this.length\n  if (len % 2 !== 0) {\n    throw new RangeError('Buffer size must be a multiple of 16-bits')\n  }\n  for (var i = 0; i < len; i += 2) {\n    swap(this, i, i + 1)\n  }\n  return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n  var len = this.length\n  if (len % 4 !== 0) {\n    throw new RangeError('Buffer size must be a multiple of 32-bits')\n  }\n  for (var i = 0; i < len; i += 4) {\n    swap(this, i, i + 3)\n    swap(this, i + 1, i + 2)\n  }\n  return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n  var len = this.length\n  if (len % 8 !== 0) {\n    throw new RangeError('Buffer size must be a multiple of 64-bits')\n  }\n  for (var i = 0; i < len; i += 8) {\n    swap(this, i, i + 7)\n    swap(this, i + 1, i + 6)\n    swap(this, i + 2, i + 5)\n    swap(this, i + 3, i + 4)\n  }\n  return this\n}\n\nBuffer.prototype.toString = function toString () {\n  var length = this.length | 0\n  if (length === 0) return ''\n  if (arguments.length === 0) return utf8Slice(this, 0, length)\n  return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n  if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n  if (this === b) return true\n  return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n  var str = ''\n  var max = exports.INSPECT_MAX_BYTES\n  if (this.length > 0) {\n    str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n    if (this.length > max) str += ' ... '\n  }\n  return '<Buffer ' + str + '>'\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n  if (!Buffer.isBuffer(target)) {\n    throw new TypeError('Argument must be a Buffer')\n  }\n\n  if (start === undefined) {\n    start = 0\n  }\n  if (end === undefined) {\n    end = target ? target.length : 0\n  }\n  if (thisStart === undefined) {\n    thisStart = 0\n  }\n  if (thisEnd === undefined) {\n    thisEnd = this.length\n  }\n\n  if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n    throw new RangeError('out of range index')\n  }\n\n  if (thisStart >= thisEnd && start >= end) {\n    return 0\n  }\n  if (thisStart >= thisEnd) {\n    return -1\n  }\n  if (start >= end) {\n    return 1\n  }\n\n  start >>>= 0\n  end >>>= 0\n  thisStart >>>= 0\n  thisEnd >>>= 0\n\n  if (this === target) return 0\n\n  var x = thisEnd - thisStart\n  var y = end - start\n  var len = Math.min(x, y)\n\n  var thisCopy = this.slice(thisStart, thisEnd)\n  var targetCopy = target.slice(start, end)\n\n  for (var i = 0; i < len; ++i) {\n    if (thisCopy[i] !== targetCopy[i]) {\n      x = thisCopy[i]\n      y = targetCopy[i]\n      break\n    }\n  }\n\n  if (x < y) return -1\n  if (y < x) return 1\n  return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n  // Empty buffer means no match\n  if (buffer.length === 0) return -1\n\n  // Normalize byteOffset\n  if (typeof byteOffset === 'string') {\n    encoding = byteOffset\n    byteOffset = 0\n  } else if (byteOffset > 0x7fffffff) {\n    byteOffset = 0x7fffffff\n  } else if (byteOffset < -0x80000000) {\n    byteOffset = -0x80000000\n  }\n  byteOffset = +byteOffset  // Coerce to Number.\n  if (isNaN(byteOffset)) {\n    // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n    byteOffset = dir ? 0 : (buffer.length - 1)\n  }\n\n  // Normalize byteOffset: negative offsets start from the end of the buffer\n  if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n  if (byteOffset >= buffer.length) {\n    if (dir) return -1\n    else byteOffset = buffer.length - 1\n  } else if (byteOffset < 0) {\n    if (dir) byteOffset = 0\n    else return -1\n  }\n\n  // Normalize val\n  if (typeof val === 'string') {\n    val = Buffer.from(val, encoding)\n  }\n\n  // Finally, search either indexOf (if dir is true) or lastIndexOf\n  if (Buffer.isBuffer(val)) {\n    // Special case: looking for empty string/buffer always fails\n    if (val.length === 0) {\n      return -1\n    }\n    return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n  } else if (typeof val === 'number') {\n    val = val & 0xFF // Search for a byte value [0-255]\n    if (Buffer.TYPED_ARRAY_SUPPORT &&\n        typeof Uint8Array.prototype.indexOf === 'function') {\n      if (dir) {\n        return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n      } else {\n        return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n      }\n    }\n    return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n  }\n\n  throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n  var indexSize = 1\n  var arrLength = arr.length\n  var valLength = val.length\n\n  if (encoding !== undefined) {\n    encoding = String(encoding).toLowerCase()\n    if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n        encoding === 'utf16le' || encoding === 'utf-16le') {\n      if (arr.length < 2 || val.length < 2) {\n        return -1\n      }\n      indexSize = 2\n      arrLength /= 2\n      valLength /= 2\n      byteOffset /= 2\n    }\n  }\n\n  function read (buf, i) {\n    if (indexSize === 1) {\n      return buf[i]\n    } else {\n      return buf.readUInt16BE(i * indexSize)\n    }\n  }\n\n  var i\n  if (dir) {\n    var foundIndex = -1\n    for (i = byteOffset; i < arrLength; i++) {\n      if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n        if (foundIndex === -1) foundIndex = i\n        if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n      } else {\n        if (foundIndex !== -1) i -= i - foundIndex\n        foundIndex = -1\n      }\n    }\n  } else {\n    if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n    for (i = byteOffset; i >= 0; i--) {\n      var found = true\n      for (var j = 0; j < valLength; j++) {\n        if (read(arr, i + j) !== read(val, j)) {\n          found = false\n          break\n        }\n      }\n      if (found) return i\n    }\n  }\n\n  return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n  return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n  return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n  return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n  offset = Number(offset) || 0\n  var remaining = buf.length - offset\n  if (!length) {\n    length = remaining\n  } else {\n    length = Number(length)\n    if (length > remaining) {\n      length = remaining\n    }\n  }\n\n  // must be an even number of digits\n  var strLen = string.length\n  if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n  if (length > strLen / 2) {\n    length = strLen / 2\n  }\n  for (var i = 0; i < length; ++i) {\n    var parsed = parseInt(string.substr(i * 2, 2), 16)\n    if (isNaN(parsed)) return i\n    buf[offset + i] = parsed\n  }\n  return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n  return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n  return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n  return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n  return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n  return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n  // Buffer#write(string)\n  if (offset === undefined) {\n    encoding = 'utf8'\n    length = this.length\n    offset = 0\n  // Buffer#write(string, encoding)\n  } else if (length === undefined && typeof offset === 'string') {\n    encoding = offset\n    length = this.length\n    offset = 0\n  // Buffer#write(string, offset[, length][, encoding])\n  } else if (isFinite(offset)) {\n    offset = offset | 0\n    if (isFinite(length)) {\n      length = length | 0\n      if (encoding === undefined) encoding = 'utf8'\n    } else {\n      encoding = length\n      length = undefined\n    }\n  // legacy write(string, encoding, offset, length) - remove in v0.13\n  } else {\n    throw new Error(\n      'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n    )\n  }\n\n  var remaining = this.length - offset\n  if (length === undefined || length > remaining) length = remaining\n\n  if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n    throw new RangeError('Attempt to write outside buffer bounds')\n  }\n\n  if (!encoding) encoding = 'utf8'\n\n  var loweredCase = false\n  for (;;) {\n    switch (encoding) {\n      case 'hex':\n        return hexWrite(this, string, offset, length)\n\n      case 'utf8':\n      case 'utf-8':\n        return utf8Write(this, string, offset, length)\n\n      case 'ascii':\n        return asciiWrite(this, string, offset, length)\n\n      case 'latin1':\n      case 'binary':\n        return latin1Write(this, string, offset, length)\n\n      case 'base64':\n        // Warning: maxLength not taken into account in base64Write\n        return base64Write(this, string, offset, length)\n\n      case 'ucs2':\n      case 'ucs-2':\n      case 'utf16le':\n      case 'utf-16le':\n        return ucs2Write(this, string, offset, length)\n\n      default:\n        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n        encoding = ('' + encoding).toLowerCase()\n        loweredCase = true\n    }\n  }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n  return {\n    type: 'Buffer',\n    data: Array.prototype.slice.call(this._arr || this, 0)\n  }\n}\n\nfunction base64Slice (buf, start, end) {\n  if (start === 0 && end === buf.length) {\n    return base64.fromByteArray(buf)\n  } else {\n    return base64.fromByteArray(buf.slice(start, end))\n  }\n}\n\nfunction utf8Slice (buf, start, end) {\n  end = Math.min(buf.length, end)\n  var res = []\n\n  var i = start\n  while (i < end) {\n    var firstByte = buf[i]\n    var codePoint = null\n    var bytesPerSequence = (firstByte > 0xEF) ? 4\n      : (firstByte > 0xDF) ? 3\n      : (firstByte > 0xBF) ? 2\n      : 1\n\n    if (i + bytesPerSequence <= end) {\n      var secondByte, thirdByte, fourthByte, tempCodePoint\n\n      switch (bytesPerSequence) {\n        case 1:\n          if (firstByte < 0x80) {\n            codePoint = firstByte\n          }\n          break\n        case 2:\n          secondByte = buf[i + 1]\n          if ((secondByte & 0xC0) === 0x80) {\n            tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n            if (tempCodePoint > 0x7F) {\n              codePoint = tempCodePoint\n            }\n          }\n          break\n        case 3:\n          secondByte = buf[i + 1]\n          thirdByte = buf[i + 2]\n          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n            tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n            if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n              codePoint = tempCodePoint\n            }\n          }\n          break\n        case 4:\n          secondByte = buf[i + 1]\n          thirdByte = buf[i + 2]\n          fourthByte = buf[i + 3]\n          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n            tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n            if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n              codePoint = tempCodePoint\n            }\n          }\n      }\n    }\n\n    if (codePoint === null) {\n      // we did not generate a valid codePoint so insert a\n      // replacement char (U+FFFD) and advance only 1 byte\n      codePoint = 0xFFFD\n      bytesPerSequence = 1\n    } else if (codePoint > 0xFFFF) {\n      // encode to utf16 (surrogate pair dance)\n      codePoint -= 0x10000\n      res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n      codePoint = 0xDC00 | codePoint & 0x3FF\n    }\n\n    res.push(codePoint)\n    i += bytesPerSequence\n  }\n\n  return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n  var len = codePoints.length\n  if (len <= MAX_ARGUMENTS_LENGTH) {\n    return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n  }\n\n  // Decode in chunks to avoid \"call stack size exceeded\".\n  var res = ''\n  var i = 0\n  while (i < len) {\n    res += String.fromCharCode.apply(\n      String,\n      codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n    )\n  }\n  return res\n}\n\nfunction asciiSlice (buf, start, end) {\n  var ret = ''\n  end = Math.min(buf.length, end)\n\n  for (var i = start; i < end; ++i) {\n    ret += String.fromCharCode(buf[i] & 0x7F)\n  }\n  return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n  var ret = ''\n  end = Math.min(buf.length, end)\n\n  for (var i = start; i < end; ++i) {\n    ret += String.fromCharCode(buf[i])\n  }\n  return ret\n}\n\nfunction hexSlice (buf, start, end) {\n  var len = buf.length\n\n  if (!start || start < 0) start = 0\n  if (!end || end < 0 || end > len) end = len\n\n  var out = ''\n  for (var i = start; i < end; ++i) {\n    out += toHex(buf[i])\n  }\n  return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n  var bytes = buf.slice(start, end)\n  var res = ''\n  for (var i = 0; i < bytes.length; i += 2) {\n    res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n  }\n  return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n  var len = this.length\n  start = ~~start\n  end = end === undefined ? len : ~~end\n\n  if (start < 0) {\n    start += len\n    if (start < 0) start = 0\n  } else if (start > len) {\n    start = len\n  }\n\n  if (end < 0) {\n    end += len\n    if (end < 0) end = 0\n  } else if (end > len) {\n    end = len\n  }\n\n  if (end < start) end = start\n\n  var newBuf\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    newBuf = this.subarray(start, end)\n    newBuf.__proto__ = Buffer.prototype\n  } else {\n    var sliceLen = end - start\n    newBuf = new Buffer(sliceLen, undefined)\n    for (var i = 0; i < sliceLen; ++i) {\n      newBuf[i] = this[i + start]\n    }\n  }\n\n  return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n  if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n  if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n  offset = offset | 0\n  byteLength = byteLength | 0\n  if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n  var val = this[offset]\n  var mul = 1\n  var i = 0\n  while (++i < byteLength && (mul *= 0x100)) {\n    val += this[offset + i] * mul\n  }\n\n  return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n  offset = offset | 0\n  byteLength = byteLength | 0\n  if (!noAssert) {\n    checkOffset(offset, byteLength, this.length)\n  }\n\n  var val = this[offset + --byteLength]\n  var mul = 1\n  while (byteLength > 0 && (mul *= 0x100)) {\n    val += this[offset + --byteLength] * mul\n  }\n\n  return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 1, this.length)\n  return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 2, this.length)\n  return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 2, this.length)\n  return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 4, this.length)\n\n  return ((this[offset]) |\n      (this[offset + 1] << 8) |\n      (this[offset + 2] << 16)) +\n      (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 4, this.length)\n\n  return (this[offset] * 0x1000000) +\n    ((this[offset + 1] << 16) |\n    (this[offset + 2] << 8) |\n    this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n  offset = offset | 0\n  byteLength = byteLength | 0\n  if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n  var val = this[offset]\n  var mul = 1\n  var i = 0\n  while (++i < byteLength && (mul *= 0x100)) {\n    val += this[offset + i] * mul\n  }\n  mul *= 0x80\n\n  if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n  return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n  offset = offset | 0\n  byteLength = byteLength | 0\n  if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n  var i = byteLength\n  var mul = 1\n  var val = this[offset + --i]\n  while (i > 0 && (mul *= 0x100)) {\n    val += this[offset + --i] * mul\n  }\n  mul *= 0x80\n\n  if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n  return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 1, this.length)\n  if (!(this[offset] & 0x80)) return (this[offset])\n  return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 2, this.length)\n  var val = this[offset] | (this[offset + 1] << 8)\n  return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 2, this.length)\n  var val = this[offset + 1] | (this[offset] << 8)\n  return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 4, this.length)\n\n  return (this[offset]) |\n    (this[offset + 1] << 8) |\n    (this[offset + 2] << 16) |\n    (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 4, this.length)\n\n  return (this[offset] << 24) |\n    (this[offset + 1] << 16) |\n    (this[offset + 2] << 8) |\n    (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 4, this.length)\n  return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 4, this.length)\n  return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 8, this.length)\n  return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n  if (!noAssert) checkOffset(offset, 8, this.length)\n  return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n  if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n  if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n  if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n  value = +value\n  offset = offset | 0\n  byteLength = byteLength | 0\n  if (!noAssert) {\n    var maxBytes = Math.pow(2, 8 * byteLength) - 1\n    checkInt(this, value, offset, byteLength, maxBytes, 0)\n  }\n\n  var mul = 1\n  var i = 0\n  this[offset] = value & 0xFF\n  while (++i < byteLength && (mul *= 0x100)) {\n    this[offset + i] = (value / mul) & 0xFF\n  }\n\n  return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n  value = +value\n  offset = offset | 0\n  byteLength = byteLength | 0\n  if (!noAssert) {\n    var maxBytes = Math.pow(2, 8 * byteLength) - 1\n    checkInt(this, value, offset, byteLength, maxBytes, 0)\n  }\n\n  var i = byteLength - 1\n  var mul = 1\n  this[offset + i] = value & 0xFF\n  while (--i >= 0 && (mul *= 0x100)) {\n    this[offset + i] = (value / mul) & 0xFF\n  }\n\n  return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n  if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n  this[offset] = (value & 0xff)\n  return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n  if (value < 0) value = 0xffff + value + 1\n  for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n    buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n      (littleEndian ? i : 1 - i) * 8\n  }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    this[offset] = (value & 0xff)\n    this[offset + 1] = (value >>> 8)\n  } else {\n    objectWriteUInt16(this, value, offset, true)\n  }\n  return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    this[offset] = (value >>> 8)\n    this[offset + 1] = (value & 0xff)\n  } else {\n    objectWriteUInt16(this, value, offset, false)\n  }\n  return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n  if (value < 0) value = 0xffffffff + value + 1\n  for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n    buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n  }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    this[offset + 3] = (value >>> 24)\n    this[offset + 2] = (value >>> 16)\n    this[offset + 1] = (value >>> 8)\n    this[offset] = (value & 0xff)\n  } else {\n    objectWriteUInt32(this, value, offset, true)\n  }\n  return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    this[offset] = (value >>> 24)\n    this[offset + 1] = (value >>> 16)\n    this[offset + 2] = (value >>> 8)\n    this[offset + 3] = (value & 0xff)\n  } else {\n    objectWriteUInt32(this, value, offset, false)\n  }\n  return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) {\n    var limit = Math.pow(2, 8 * byteLength - 1)\n\n    checkInt(this, value, offset, byteLength, limit - 1, -limit)\n  }\n\n  var i = 0\n  var mul = 1\n  var sub = 0\n  this[offset] = value & 0xFF\n  while (++i < byteLength && (mul *= 0x100)) {\n    if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n      sub = 1\n    }\n    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n  }\n\n  return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) {\n    var limit = Math.pow(2, 8 * byteLength - 1)\n\n    checkInt(this, value, offset, byteLength, limit - 1, -limit)\n  }\n\n  var i = byteLength - 1\n  var mul = 1\n  var sub = 0\n  this[offset + i] = value & 0xFF\n  while (--i >= 0 && (mul *= 0x100)) {\n    if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n      sub = 1\n    }\n    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n  }\n\n  return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n  if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n  if (value < 0) value = 0xff + value + 1\n  this[offset] = (value & 0xff)\n  return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    this[offset] = (value & 0xff)\n    this[offset + 1] = (value >>> 8)\n  } else {\n    objectWriteUInt16(this, value, offset, true)\n  }\n  return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    this[offset] = (value >>> 8)\n    this[offset + 1] = (value & 0xff)\n  } else {\n    objectWriteUInt16(this, value, offset, false)\n  }\n  return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    this[offset] = (value & 0xff)\n    this[offset + 1] = (value >>> 8)\n    this[offset + 2] = (value >>> 16)\n    this[offset + 3] = (value >>> 24)\n  } else {\n    objectWriteUInt32(this, value, offset, true)\n  }\n  return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n  value = +value\n  offset = offset | 0\n  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n  if (value < 0) value = 0xffffffff + value + 1\n  if (Buffer.TYPED_ARRAY_SUPPORT) {\n    this[offset] = (value >>> 24)\n    this[offset + 1] = (value >>> 16)\n    this[offset + 2] = (value >>> 8)\n    this[offset + 3] = (value & 0xff)\n  } else {\n    objectWriteUInt32(this, value, offset, false)\n  }\n  return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n  if (offset + ext > buf.length) throw new RangeError('Index out of range')\n  if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n  if (!noAssert) {\n    checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n  }\n  ieee754.write(buf, value, offset, littleEndian, 23, 4)\n  return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n  return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n  return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n  if (!noAssert) {\n    checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n  }\n  ieee754.write(buf, value, offset, littleEndian, 52, 8)\n  return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n  return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n  return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n  if (!start) start = 0\n  if (!end && end !== 0) end = this.length\n  if (targetStart >= target.length) targetStart = target.length\n  if (!targetStart) targetStart = 0\n  if (end > 0 && end < start) end = start\n\n  // Copy 0 bytes; we're done\n  if (end === start) return 0\n  if (target.length === 0 || this.length === 0) return 0\n\n  // Fatal error conditions\n  if (targetStart < 0) {\n    throw new RangeError('targetStart out of bounds')\n  }\n  if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n  if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n  // Are we oob?\n  if (end > this.length) end = this.length\n  if (target.length - targetStart < end - start) {\n    end = target.length - targetStart + start\n  }\n\n  var len = end - start\n  var i\n\n  if (this === target && start < targetStart && targetStart < end) {\n    // descending copy from end\n    for (i = len - 1; i >= 0; --i) {\n      target[i + targetStart] = this[i + start]\n    }\n  } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n    // ascending copy from start\n    for (i = 0; i < len; ++i) {\n      target[i + targetStart] = this[i + start]\n    }\n  } else {\n    Uint8Array.prototype.set.call(\n      target,\n      this.subarray(start, start + len),\n      targetStart\n    )\n  }\n\n  return len\n}\n\n// Usage:\n//    buffer.fill(number[, offset[, end]])\n//    buffer.fill(buffer[, offset[, end]])\n//    buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n  // Handle string cases:\n  if (typeof val === 'string') {\n    if (typeof start === 'string') {\n      encoding = start\n      start = 0\n      end = this.length\n    } else if (typeof end === 'string') {\n      encoding = end\n      end = this.length\n    }\n    if (val.length === 1) {\n      var code = val.charCodeAt(0)\n      if (code < 256) {\n        val = code\n      }\n    }\n    if (encoding !== undefined && typeof encoding !== 'string') {\n      throw new TypeError('encoding must be a string')\n    }\n    if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n      throw new TypeError('Unknown encoding: ' + encoding)\n    }\n  } else if (typeof val === 'number') {\n    val = val & 255\n  }\n\n  // Invalid ranges are not set to a default, so can range check early.\n  if (start < 0 || this.length < start || this.length < end) {\n    throw new RangeError('Out of range index')\n  }\n\n  if (end <= start) {\n    return this\n  }\n\n  start = start >>> 0\n  end = end === undefined ? this.length : end >>> 0\n\n  if (!val) val = 0\n\n  var i\n  if (typeof val === 'number') {\n    for (i = start; i < end; ++i) {\n      this[i] = val\n    }\n  } else {\n    var bytes = Buffer.isBuffer(val)\n      ? val\n      : utf8ToBytes(new Buffer(val, encoding).toString())\n    var len = bytes.length\n    for (i = 0; i < end - start; ++i) {\n      this[i + start] = bytes[i % len]\n    }\n  }\n\n  return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n  // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n  str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n  // Node converts strings with length < 2 to ''\n  if (str.length < 2) return ''\n  // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n  while (str.length % 4 !== 0) {\n    str = str + '='\n  }\n  return str\n}\n\nfunction stringtrim (str) {\n  if (str.trim) return str.trim()\n  return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n  if (n < 16) return '0' + n.toString(16)\n  return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n  units = units || Infinity\n  var codePoint\n  var length = string.length\n  var leadSurrogate = null\n  var bytes = []\n\n  for (var i = 0; i < length; ++i) {\n    codePoint = string.charCodeAt(i)\n\n    // is surrogate component\n    if (codePoint > 0xD7FF && codePoint < 0xE000) {\n      // last char was a lead\n      if (!leadSurrogate) {\n        // no lead yet\n        if (codePoint > 0xDBFF) {\n          // unexpected trail\n          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n          continue\n        } else if (i + 1 === length) {\n          // unpaired lead\n          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n          continue\n        }\n\n        // valid lead\n        leadSurrogate = codePoint\n\n        continue\n      }\n\n      // 2 leads in a row\n      if (codePoint < 0xDC00) {\n        if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n        leadSurrogate = codePoint\n        continue\n      }\n\n      // valid surrogate pair\n      codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n    } else if (leadSurrogate) {\n      // valid bmp char, but last char was a lead\n      if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n    }\n\n    leadSurrogate = null\n\n    // encode utf8\n    if (codePoint < 0x80) {\n      if ((units -= 1) < 0) break\n      bytes.push(codePoint)\n    } else if (codePoint < 0x800) {\n      if ((units -= 2) < 0) break\n      bytes.push(\n        codePoint >> 0x6 | 0xC0,\n        codePoint & 0x3F | 0x80\n      )\n    } else if (codePoint < 0x10000) {\n      if ((units -= 3) < 0) break\n      bytes.push(\n        codePoint >> 0xC | 0xE0,\n        codePoint >> 0x6 & 0x3F | 0x80,\n        codePoint & 0x3F | 0x80\n      )\n    } else if (codePoint < 0x110000) {\n      if ((units -= 4) < 0) break\n      bytes.push(\n        codePoint >> 0x12 | 0xF0,\n        codePoint >> 0xC & 0x3F | 0x80,\n        codePoint >> 0x6 & 0x3F | 0x80,\n        codePoint & 0x3F | 0x80\n      )\n    } else {\n      throw new Error('Invalid code point')\n    }\n  }\n\n  return bytes\n}\n\nfunction asciiToBytes (str) {\n  var byteArray = []\n  for (var i = 0; i < str.length; ++i) {\n    // Node's code seems to be doing this and not & 0x7F..\n    byteArray.push(str.charCodeAt(i) & 0xFF)\n  }\n  return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n  var c, hi, lo\n  var byteArray = []\n  for (var i = 0; i < str.length; ++i) {\n    if ((units -= 2) < 0) break\n\n    c = str.charCodeAt(i)\n    hi = c >> 8\n    lo = c % 256\n    byteArray.push(lo)\n    byteArray.push(hi)\n  }\n\n  return byteArray\n}\n\nfunction base64ToBytes (str) {\n  return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n  for (var i = 0; i < length; ++i) {\n    if ((i + offset >= dst.length) || (i >= src.length)) break\n    dst[i + offset] = src[i]\n  }\n  return i\n}\n\nfunction isnan (val) {\n  return val !== val // eslint-disable-line no-self-compare\n}\n","var __read = (this && this.__read) || function (o, n) {\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n    if (!m) return o;\n    var i = m.call(o), r, ar = [], e;\n    try {\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n    }\n    catch (error) { e = { error: error }; }\n    finally {\n        try {\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\n        }\n        finally { if (e) throw e.error; }\n    }\n    return ar;\n};\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ConsoleLogger as LoggerClass } from './Logger';\nvar logger = new LoggerClass('Amplify');\nvar AmplifyClass = /** @class */ (function () {\n    function AmplifyClass() {\n        // Everything that is `register`ed is tracked here\n        this._components = [];\n        this._config = {};\n        // All modules (with `getModuleName()`) are stored here for dependency injection\n        this._modules = {};\n        // for backward compatibility to avoid breaking change\n        // if someone is using like Amplify.Auth\n        this.Auth = null;\n        this.Analytics = null;\n        this.API = null;\n        this.Credentials = null;\n        this.Storage = null;\n        this.I18n = null;\n        this.Cache = null;\n        this.PubSub = null;\n        this.Interactions = null;\n        this.Pushnotification = null;\n        this.UI = null;\n        this.XR = null;\n        this.Predictions = null;\n        this.DataStore = null;\n        this.Geo = null;\n        this.Notifications = null;\n        this.Logger = LoggerClass;\n        this.ServiceWorker = null;\n    }\n    AmplifyClass.prototype.register = function (comp) {\n        logger.debug('component registered in amplify', comp);\n        this._components.push(comp);\n        if (typeof comp.getModuleName === 'function') {\n            this._modules[comp.getModuleName()] = comp;\n            this[comp.getModuleName()] = comp;\n        }\n        else {\n            logger.debug('no getModuleName method for component', comp);\n        }\n        // Finally configure this new component(category) loaded\n        // With the new modularization changes in Amplify V3, all the Amplify\n        // component are not loaded/registered right away but when they are\n        // imported (and hence instantiated) in the client's app. This ensures\n        // that all new components imported get correctly configured with the\n        // configuration that Amplify.configure() was called with.\n        comp.configure(this._config);\n    };\n    AmplifyClass.prototype.configure = function (config) {\n        var _this = this;\n        if (!config)\n            return this._config;\n        this._config = Object.assign(this._config, config);\n        logger.debug('amplify config', this._config);\n        // Dependency Injection via property-setting.\n        // This avoids introducing a public method/interface/setter that's difficult to remove later.\n        // Plus, it reduces `if` statements within the `constructor` and `configure` of each module\n        Object.entries(this._modules).forEach(function (_a) {\n            var _b = __read(_a, 2), Name = _b[0], comp = _b[1];\n            // e.g. Auth.*\n            Object.keys(comp).forEach(function (property) {\n                // e.g. Auth[\"Credentials\"] = this._modules[\"Credentials\"] when set\n                if (_this._modules[property]) {\n                    comp[property] = _this._modules[property];\n                }\n            });\n        });\n        this._components.map(function (comp) {\n            comp.configure(_this._config);\n        });\n        return this._config;\n    };\n    AmplifyClass.prototype.addPluggable = function (pluggable) {\n        if (pluggable &&\n            pluggable['getCategory'] &&\n            typeof pluggable['getCategory'] === 'function') {\n            this._components.map(function (comp) {\n                if (comp['addPluggable'] &&\n                    typeof comp['addPluggable'] === 'function') {\n                    comp.addPluggable(pluggable);\n                }\n            });\n        }\n    };\n    return AmplifyClass;\n}());\nexport { AmplifyClass };\nexport var Amplify = new AmplifyClass();\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n// Logging constants\nvar AWS_CLOUDWATCH_BASE_BUFFER_SIZE = 26;\nvar AWS_CLOUDWATCH_MAX_BATCH_EVENT_SIZE = 1048576;\nvar AWS_CLOUDWATCH_MAX_EVENT_SIZE = 256000;\nvar AWS_CLOUDWATCH_CATEGORY = 'Logging';\nvar AWS_CLOUDWATCH_PROVIDER_NAME = 'AWSCloudWatch';\nvar NO_CREDS_ERROR_STRING = 'No credentials';\nvar RETRY_ERROR_CODES = [\n    'ResourceNotFoundException',\n    'InvalidSequenceTokenException',\n];\nexport { AWS_CLOUDWATCH_BASE_BUFFER_SIZE, AWS_CLOUDWATCH_CATEGORY, AWS_CLOUDWATCH_MAX_BATCH_EVENT_SIZE, AWS_CLOUDWATCH_MAX_EVENT_SIZE, AWS_CLOUDWATCH_PROVIDER_NAME, NO_CREDS_ERROR_STRING, RETRY_ERROR_CODES, };\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar __values = (this && this.__values) || function(o) {\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n    if (m) return m.call(o);\n    if (o && typeof o.length === \"number\") return {\n        next: function () {\n            if (o && i >= o.length) o = void 0;\n            return { value: o && o[i++], done: !o };\n        }\n    };\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n    if (!m) return o;\n    var i = m.call(o), r, ar = [], e;\n    try {\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n    }\n    catch (error) { e = { error: error }; }\n    finally {\n        try {\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\n        }\n        finally { if (e) throw e.error; }\n    }\n    return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n        if (ar || !(i in from)) {\n            if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n            ar[i] = from[i];\n        }\n    }\n    return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport { AWS_CLOUDWATCH_CATEGORY } from '../Util/Constants';\nvar LOG_LEVELS = {\n    VERBOSE: 1,\n    DEBUG: 2,\n    INFO: 3,\n    WARN: 4,\n    ERROR: 5,\n};\nexport var LOG_TYPE;\n(function (LOG_TYPE) {\n    LOG_TYPE[\"DEBUG\"] = \"DEBUG\";\n    LOG_TYPE[\"ERROR\"] = \"ERROR\";\n    LOG_TYPE[\"INFO\"] = \"INFO\";\n    LOG_TYPE[\"WARN\"] = \"WARN\";\n    LOG_TYPE[\"VERBOSE\"] = \"VERBOSE\";\n})(LOG_TYPE || (LOG_TYPE = {}));\n/**\n * Write logs\n * @class Logger\n */\nexport var ConsoleLogger = /** @class */ (function () {\n    /**\n     * @constructor\n     * @param {string} name - Name of the logger\n     */\n    function ConsoleLogger(name, level) {\n        if (level === void 0) { level = LOG_TYPE.WARN; }\n        this.name = name;\n        this.level = level;\n        this._pluggables = [];\n    }\n    ConsoleLogger.prototype._padding = function (n) {\n        return n < 10 ? '0' + n : '' + n;\n    };\n    ConsoleLogger.prototype._ts = function () {\n        var dt = new Date();\n        return ([this._padding(dt.getMinutes()), this._padding(dt.getSeconds())].join(':') +\n            '.' +\n            dt.getMilliseconds());\n    };\n    ConsoleLogger.prototype.configure = function (config) {\n        if (!config)\n            return this._config;\n        this._config = config;\n        return this._config;\n    };\n    /**\n     * Write log\n     * @method\n     * @memeberof Logger\n     * @param {LOG_TYPE|string} type - log type, default INFO\n     * @param {string|object} msg - Logging message or object\n     */\n    ConsoleLogger.prototype._log = function (type) {\n        var e_1, _a;\n        var msg = [];\n        for (var _i = 1; _i < arguments.length; _i++) {\n            msg[_i - 1] = arguments[_i];\n        }\n        var logger_level_name = this.level;\n        if (ConsoleLogger.LOG_LEVEL) {\n            logger_level_name = ConsoleLogger.LOG_LEVEL;\n        }\n        if (typeof window !== 'undefined' && window.LOG_LEVEL) {\n            logger_level_name = window.LOG_LEVEL;\n        }\n        var logger_level = LOG_LEVELS[logger_level_name];\n        var type_level = LOG_LEVELS[type];\n        if (!(type_level >= logger_level)) {\n            // Do nothing if type is not greater than or equal to logger level (handle undefined)\n            return;\n        }\n        var log = console.log.bind(console);\n        if (type === LOG_TYPE.ERROR && console.error) {\n            log = console.error.bind(console);\n        }\n        if (type === LOG_TYPE.WARN && console.warn) {\n            log = console.warn.bind(console);\n        }\n        var prefix = \"[\".concat(type, \"] \").concat(this._ts(), \" \").concat(this.name);\n        var message = '';\n        if (msg.length === 1 && typeof msg[0] === 'string') {\n            message = \"\".concat(prefix, \" - \").concat(msg[0]);\n            log(message);\n        }\n        else if (msg.length === 1) {\n            message = \"\".concat(prefix, \" \").concat(msg[0]);\n            log(prefix, msg[0]);\n        }\n        else if (typeof msg[0] === 'string') {\n            var obj = msg.slice(1);\n            if (obj.length === 1) {\n                obj = obj[0];\n            }\n            message = \"\".concat(prefix, \" - \").concat(msg[0], \" \").concat(obj);\n            log(\"\".concat(prefix, \" - \").concat(msg[0]), obj);\n        }\n        else {\n            message = \"\".concat(prefix, \" \").concat(msg);\n            log(prefix, msg);\n        }\n        try {\n            for (var _b = __values(this._pluggables), _c = _b.next(); !_c.done; _c = _b.next()) {\n                var plugin = _c.value;\n                var logEvent = { message: message, timestamp: Date.now() };\n                plugin.pushLogs([logEvent]);\n            }\n        }\n        catch (e_1_1) { e_1 = { error: e_1_1 }; }\n        finally {\n            try {\n                if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n            }\n            finally { if (e_1) throw e_1.error; }\n        }\n    };\n    /**\n     * Write General log. Default to INFO\n     * @method\n     * @memeberof Logger\n     * @param {string|object} msg - Logging message or object\n     */\n    ConsoleLogger.prototype.log = function () {\n        var msg = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            msg[_i] = arguments[_i];\n        }\n        this._log.apply(this, __spreadArray([LOG_TYPE.INFO], __read(msg), false));\n    };\n    /**\n     * Write INFO log\n     * @method\n     * @memeberof Logger\n     * @param {string|object} msg - Logging message or object\n     */\n    ConsoleLogger.prototype.info = function () {\n        var msg = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            msg[_i] = arguments[_i];\n        }\n        this._log.apply(this, __spreadArray([LOG_TYPE.INFO], __read(msg), false));\n    };\n    /**\n     * Write WARN log\n     * @method\n     * @memeberof Logger\n     * @param {string|object} msg - Logging message or object\n     */\n    ConsoleLogger.prototype.warn = function () {\n        var msg = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            msg[_i] = arguments[_i];\n        }\n        this._log.apply(this, __spreadArray([LOG_TYPE.WARN], __read(msg), false));\n    };\n    /**\n     * Write ERROR log\n     * @method\n     * @memeberof Logger\n     * @param {string|object} msg - Logging message or object\n     */\n    ConsoleLogger.prototype.error = function () {\n        var msg = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            msg[_i] = arguments[_i];\n        }\n        this._log.apply(this, __spreadArray([LOG_TYPE.ERROR], __read(msg), false));\n    };\n    /**\n     * Write DEBUG log\n     * @method\n     * @memeberof Logger\n     * @param {string|object} msg - Logging message or object\n     */\n    ConsoleLogger.prototype.debug = function () {\n        var msg = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            msg[_i] = arguments[_i];\n        }\n        this._log.apply(this, __spreadArray([LOG_TYPE.DEBUG], __read(msg), false));\n    };\n    /**\n     * Write VERBOSE log\n     * @method\n     * @memeberof Logger\n     * @param {string|object} msg - Logging message or object\n     */\n    ConsoleLogger.prototype.verbose = function () {\n        var msg = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            msg[_i] = arguments[_i];\n        }\n        this._log.apply(this, __spreadArray([LOG_TYPE.VERBOSE], __read(msg), false));\n    };\n    ConsoleLogger.prototype.addPluggable = function (pluggable) {\n        if (pluggable && pluggable.getCategoryName() === AWS_CLOUDWATCH_CATEGORY) {\n            this._pluggables.push(pluggable);\n            pluggable.configure(this._config);\n        }\n    };\n    ConsoleLogger.prototype.listPluggables = function () {\n        return this._pluggables;\n    };\n    ConsoleLogger.LOG_LEVEL = null;\n    return ConsoleLogger;\n}());\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RawSha256 = void 0;\nvar constants_1 = require(\"./constants\");\n/**\n * @internal\n */\nvar RawSha256 = /** @class */ (function () {\n    function RawSha256() {\n        this.state = Int32Array.from(constants_1.INIT);\n        this.temp = new Int32Array(64);\n        this.buffer = new Uint8Array(64);\n        this.bufferLength = 0;\n        this.bytesHashed = 0;\n        /**\n         * @internal\n         */\n        this.finished = false;\n    }\n    RawSha256.prototype.update = function (data) {\n        if (this.finished) {\n            throw new Error(\"Attempted to update an already finished hash.\");\n        }\n        var position = 0;\n        var byteLength = data.byteLength;\n        this.bytesHashed += byteLength;\n        if (this.bytesHashed * 8 > constants_1.MAX_HASHABLE_LENGTH) {\n            throw new Error(\"Cannot hash more than 2^53 - 1 bits\");\n        }\n        while (byteLength > 0) {\n            this.buffer[this.bufferLength++] = data[position++];\n            byteLength--;\n            if (this.bufferLength === constants_1.BLOCK_SIZE) {\n                this.hashBuffer();\n                this.bufferLength = 0;\n            }\n        }\n    };\n    RawSha256.prototype.digest = function () {\n        if (!this.finished) {\n            var bitsHashed = this.bytesHashed * 8;\n            var bufferView = new DataView(this.buffer.buffer, this.buffer.byteOffset, this.buffer.byteLength);\n            var undecoratedLength = this.bufferLength;\n            bufferView.setUint8(this.bufferLength++, 0x80);\n            // Ensure the final block has enough room for the hashed length\n            if (undecoratedLength % constants_1.BLOCK_SIZE >= constants_1.BLOCK_SIZE - 8) {\n                for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE; i++) {\n                    bufferView.setUint8(i, 0);\n                }\n                this.hashBuffer();\n                this.bufferLength = 0;\n            }\n            for (var i = this.bufferLength; i < constants_1.BLOCK_SIZE - 8; i++) {\n                bufferView.setUint8(i, 0);\n            }\n            bufferView.setUint32(constants_1.BLOCK_SIZE - 8, Math.floor(bitsHashed / 0x100000000), true);\n            bufferView.setUint32(constants_1.BLOCK_SIZE - 4, bitsHashed);\n            this.hashBuffer();\n            this.finished = true;\n        }\n        // The value in state is little-endian rather than big-endian, so flip\n        // each word into a new Uint8Array\n        var out = new Uint8Array(constants_1.DIGEST_LENGTH);\n        for (var i = 0; i < 8; i++) {\n            out[i * 4] = (this.state[i] >>> 24) & 0xff;\n            out[i * 4 + 1] = (this.state[i] >>> 16) & 0xff;\n            out[i * 4 + 2] = (this.state[i] >>> 8) & 0xff;\n            out[i * 4 + 3] = (this.state[i] >>> 0) & 0xff;\n        }\n        return out;\n    };\n    RawSha256.prototype.hashBuffer = function () {\n        var _a = this, buffer = _a.buffer, state = _a.state;\n        var state0 = state[0], state1 = state[1], state2 = state[2], state3 = state[3], state4 = state[4], state5 = state[5], state6 = state[6], state7 = state[7];\n        for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n            if (i < 16) {\n                this.temp[i] =\n                    ((buffer[i * 4] & 0xff) << 24) |\n                        ((buffer[i * 4 + 1] & 0xff) << 16) |\n                        ((buffer[i * 4 + 2] & 0xff) << 8) |\n                        (buffer[i * 4 + 3] & 0xff);\n            }\n            else {\n                var u = this.temp[i - 2];\n                var t1_1 = ((u >>> 17) | (u << 15)) ^ ((u >>> 19) | (u << 13)) ^ (u >>> 10);\n                u = this.temp[i - 15];\n                var t2_1 = ((u >>> 7) | (u << 25)) ^ ((u >>> 18) | (u << 14)) ^ (u >>> 3);\n                this.temp[i] =\n                    ((t1_1 + this.temp[i - 7]) | 0) + ((t2_1 + this.temp[i - 16]) | 0);\n            }\n            var t1 = ((((((state4 >>> 6) | (state4 << 26)) ^\n                ((state4 >>> 11) | (state4 << 21)) ^\n                ((state4 >>> 25) | (state4 << 7))) +\n                ((state4 & state5) ^ (~state4 & state6))) |\n                0) +\n                ((state7 + ((constants_1.KEY[i] + this.temp[i]) | 0)) | 0)) |\n                0;\n            var t2 = ((((state0 >>> 2) | (state0 << 30)) ^\n                ((state0 >>> 13) | (state0 << 19)) ^\n                ((state0 >>> 22) | (state0 << 10))) +\n                ((state0 & state1) ^ (state0 & state2) ^ (state1 & state2))) |\n                0;\n            state7 = state6;\n            state6 = state5;\n            state5 = state4;\n            state4 = (state3 + t1) | 0;\n            state3 = state2;\n            state2 = state1;\n            state1 = state0;\n            state0 = (t1 + t2) | 0;\n        }\n        state[0] += state0;\n        state[1] += state1;\n        state[2] += state2;\n        state[3] += state3;\n        state[4] += state4;\n        state[5] += state5;\n        state[6] += state6;\n        state[7] += state7;\n    };\n    return RawSha256;\n}());\nexports.RawSha256 = RawSha256;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmF3U2hhMjU2LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL1Jhd1NoYTI1Ni50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx5Q0FNcUI7QUFFckI7O0dBRUc7QUFDSDtJQUFBO1FBQ1UsVUFBSyxHQUFlLFVBQVUsQ0FBQyxJQUFJLENBQUMsZ0JBQUksQ0FBQyxDQUFDO1FBQzFDLFNBQUksR0FBZSxJQUFJLFVBQVUsQ0FBQyxFQUFFLENBQUMsQ0FBQztRQUN0QyxXQUFNLEdBQWUsSUFBSSxVQUFVLENBQUMsRUFBRSxDQUFDLENBQUM7UUFDeEMsaUJBQVksR0FBVyxDQUFDLENBQUM7UUFDekIsZ0JBQVcsR0FBVyxDQUFDLENBQUM7UUFFaEM7O1dBRUc7UUFDSCxhQUFRLEdBQVksS0FBSyxDQUFDO0lBOEk1QixDQUFDO0lBNUlDLDBCQUFNLEdBQU4sVUFBTyxJQUFnQjtRQUNyQixJQUFJLElBQUksQ0FBQyxRQUFRLEVBQUU7WUFDakIsTUFBTSxJQUFJLEtBQUssQ0FBQywrQ0FBK0MsQ0FBQyxDQ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N0YXRlMDtcbiAgICBzdGF0ZVsxXSArPSBzdGF0ZTE7XG4gICAgc3RhdGVbMl0gKz0gc3RhdGUyO1xuICAgIHN0YXRlWzNdICs9IHN0YXRlMztcbiAgICBzdGF0ZVs0XSArPSBzdGF0ZTQ7XG4gICAgc3RhdGVbNV0gKz0gc3RhdGU1O1xuICAgIHN0YXRlWzZdICs9IHN0YXRlNjtcbiAgICBzdGF0ZVs3XSArPSBzdGF0ZTc7XG4gIH1cbn1cbiJdfQ==","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0;\n/**\n * @internal\n */\nexports.BLOCK_SIZE = 64;\n/**\n * @internal\n */\nexports.DIGEST_LENGTH = 32;\n/**\n * @internal\n */\nexports.KEY = new Uint32Array([\n    0x428a2f98,\n    0x71374491,\n    0xb5c0fbcf,\n    0xe9b5dba5,\n    0x3956c25b,\n    0x59f111f1,\n    0x923f82a4,\n    0xab1c5ed5,\n    0xd807aa98,\n    0x12835b01,\n    0x243185be,\n    0x550c7dc3,\n    0x72be5d74,\n    0x80deb1fe,\n    0x9bdc06a7,\n    0xc19bf174,\n    0xe49b69c1,\n    0xefbe4786,\n    0x0fc19dc6,\n    0x240ca1cc,\n    0x2de92c6f,\n    0x4a7484aa,\n    0x5cb0a9dc,\n    0x76f988da,\n    0x983e5152,\n    0xa831c66d,\n    0xb00327c8,\n    0xbf597fc7,\n    0xc6e00bf3,\n    0xd5a79147,\n    0x06ca6351,\n    0x14292967,\n    0x27b70a85,\n    0x2e1b2138,\n    0x4d2c6dfc,\n    0x53380d13,\n    0x650a7354,\n    0x766a0abb,\n    0x81c2c92e,\n    0x92722c85,\n    0xa2bfe8a1,\n    0xa81a664b,\n    0xc24b8b70,\n    0xc76c51a3,\n    0xd192e819,\n    0xd6990624,\n    0xf40e3585,\n    0x106aa070,\n    0x19a4c116,\n    0x1e376c08,\n    0x2748774c,\n    0x34b0bcb5,\n    0x391c0cb3,\n    0x4ed8aa4a,\n    0x5b9cca4f,\n    0x682e6ff3,\n    0x748f82ee,\n    0x78a5636f,\n    0x84c87814,\n    0x8cc70208,\n    0x90befffa,\n    0xa4506ceb,\n    0xbef9a3f7,\n    0xc67178f2\n]);\n/**\n * @internal\n */\nexports.INIT = [\n    0x6a09e667,\n    0xbb67ae85,\n    0x3c6ef372,\n    0xa54ff53a,\n    0x510e527f,\n    0x9b05688c,\n    0x1f83d9ab,\n    0x5be0cd19\n];\n/**\n * @internal\n */\nexports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2NvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQTs7R0FFRztBQUNVLFFBQUEsVUFBVSxHQUFXLEVBQUUsQ0FBQztBQUVyQzs7R0FFRztBQUNVLFFBQUEsYUFBYSxHQUFXLEVBQUUsQ0FBQztBQUV4Qzs7R0FFRztBQUNVLFFBQUEsR0FBRyxHQUFHLElBQUksV0FBVyxDQUFDO0lBQ2pDLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUFBVTtJQUNWLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUFBVTtJQUNWLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUFBVTtJQUNWLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUFBVTtJQUNWLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUFBVTtJQUNWLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUFBVTtJQUNWLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUFBVTtJQUNWLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUFBVTtJQUNWLFVBQVU7SUFDVixVQUFVO0lBQ1YsVUF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gIDB4Mjc0ODc3NGMsXG4gIDB4MzRiMGJjYjUsXG4gIDB4MzkxYzBjYjMsXG4gIDB4NGVkOGFhNGEsXG4gIDB4NWI5Y2NhNGYsXG4gIDB4NjgyZTZmZjMsXG4gIDB4NzQ4ZjgyZWUsXG4gIDB4NzhhNTYzNmYsXG4gIDB4ODRjODc4MTQsXG4gIDB4OGNjNzAyMDgsXG4gIDB4OTBiZWZmZmEsXG4gIDB4YTQ1MDZjZWIsXG4gIDB4YmVmOWEzZjcsXG4gIDB4YzY3MTc4ZjJcbl0pO1xuXG4vKipcbiAqIEBpbnRlcm5hbFxuICovXG5leHBvcnQgY29uc3QgSU5JVCA9IFtcbiAgMHg2YTA5ZTY2NyxcbiAgMHhiYjY3YWU4NSxcbiAgMHgzYzZlZjM3MixcbiAgMHhhNTRmZjUzYSxcbiAgMHg1MTBlNTI3ZixcbiAgMHg5YjA1Njg4YyxcbiAgMHgxZjgzZDlhYixcbiAgMHg1YmUwY2QxOVxuXTtcblxuLyoqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGNvbnN0IE1BWF9IQVNIQUJMRV9MRU5HVEggPSAyICoqIDUzIC0gMTtcbiJdfQ==","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\n(0, tslib_1.__exportStar)(require(\"./jsSha256\"), exports);\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQTJCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSBcIi4vanNTaGEyNTZcIjtcbiJdfQ==","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Sha256 = void 0;\nvar tslib_1 = require(\"tslib\");\nvar constants_1 = require(\"./constants\");\nvar RawSha256_1 = require(\"./RawSha256\");\nvar util_1 = require(\"@aws-crypto/util\");\nvar Sha256 = /** @class */ (function () {\n    function Sha256(secret) {\n        this.hash = new RawSha256_1.RawSha256();\n        if (secret) {\n            this.outer = new RawSha256_1.RawSha256();\n            var inner = bufferFromSecret(secret);\n            var outer = new Uint8Array(constants_1.BLOCK_SIZE);\n            outer.set(inner);\n            for (var i = 0; i < constants_1.BLOCK_SIZE; i++) {\n                inner[i] ^= 0x36;\n                outer[i] ^= 0x5c;\n            }\n            this.hash.update(inner);\n            this.outer.update(outer);\n            // overwrite the copied key in memory\n            for (var i = 0; i < inner.byteLength; i++) {\n                inner[i] = 0;\n            }\n        }\n    }\n    Sha256.prototype.update = function (toHash) {\n        if ((0, util_1.isEmptyData)(toHash) || this.error) {\n            return;\n        }\n        try {\n            this.hash.update((0, util_1.convertToBuffer)(toHash));\n        }\n        catch (e) {\n            this.error = e;\n        }\n    };\n    /* This synchronous method keeps compatibility\n     * with the v2 aws-sdk.\n     */\n    Sha256.prototype.digestSync = function () {\n        if (this.error) {\n            throw this.error;\n        }\n        if (this.outer) {\n            if (!this.outer.finished) {\n                this.outer.update(this.hash.digest());\n            }\n            return this.outer.digest();\n        }\n        return this.hash.digest();\n    };\n    /* The underlying digest method here is synchronous.\n     * To keep the same interface with the other hash functions\n     * the default is to expose this as an async method.\n     * However, it can sometimes be useful to have a sync method.\n     */\n    Sha256.prototype.digest = function () {\n        return (0, tslib_1.__awaiter)(this, void 0, void 0, function () {\n            return (0, tslib_1.__generator)(this, function (_a) {\n                return [2 /*return*/, this.digestSync()];\n            });\n        });\n    };\n    return Sha256;\n}());\nexports.Sha256 = Sha256;\nfunction bufferFromSecret(secret) {\n    var input = (0, util_1.convertToBuffer)(secret);\n    if (input.byteLength > constants_1.BLOCK_SIZE) {\n        var bufferHash = new RawSha256_1.RawSha256();\n        bufferHash.update(input);\n        input = bufferHash.digest();\n    }\n    var buffer = new Uint8Array(constants_1.BLOCK_S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BuZXcgUmF3U2hhMjU2KCk7XG4gICAgYnVmZmVySGFzaC51cGRhdGUoaW5wdXQpO1xuICAgIGlucHV0ID0gYnVmZmVySGFzaC5kaWdlc3QoKTtcbiAgfVxuXG4gIGNvbnN0IGJ1ZmZlciA9IG5ldyBVaW50OEFycmF5KEJMT0NLX1NJWkUpO1xuICBidWZmZXIuc2V0KGlucHV0KTtcbiAgcmV0dXJuIGJ1ZmZlcjtcbn1cbiJdfQ==","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.convertToBuffer = void 0;\nvar util_utf8_browser_1 = require(\"@aws-sdk/util-utf8-browser\");\n// Quick polyfill\nvar fromUtf8 = typeof Buffer !== \"undefined\" && Buffer.from\n    ? function (input) { return Buffer.from(input, \"utf8\"); }\n    : util_utf8_browser_1.fromUtf8;\nfunction convertToBuffer(data) {\n    // Already a Uint8, do nothing\n    if (data instanceof Uint8Array)\n        return data;\n    if (typeof data === \"string\") {\n        return fromUtf8(data);\n    }\n    if (ArrayBuffer.isView(data)) {\n        return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);\n    }\n    return new Uint8Array(data);\n}\nexports.convertToBuffer = convertToBuffer;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydFRvQnVmZmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2NvbnZlcnRUb0J1ZmZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0VBQW9FO0FBQ3BFLHNDQUFzQzs7O0FBR3RDLGdFQUF5RTtBQUV6RSxpQkFBaUI7QUFDakIsSUFBTSxRQUFRLEdBQ1osT0FBTyxNQUFNLEtBQUssV0FBVyxJQUFJLE1BQU0sQ0FBQyxJQUFJO0lBQzFDLENBQU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G4gIHR5cGVvZiBCdWZmZXIgIT09IFwidW5kZWZpbmVkXCIgJiYgQnVmZmVyLmZyb21cbiAgICA/IChpbnB1dDogc3RyaW5nKSA9PiBCdWZmZXIuZnJvbShpbnB1dCwgXCJ1dGY4XCIpXG4gICAgOiBmcm9tVXRmOEJyb3dzZXI7XG5cbmV4cG9ydCBmdW5jdGlvbiBjb252ZXJ0VG9CdWZmZXIoZGF0YTogU291cmNlRGF0YSk6IFVpbnQ4QXJyYXkge1xuICAvLyBBbHJlYWR5IGEgVWludDgsIGRvIG5vdGhpbmdcbiAgaWYgKGRhdGEgaW5zdGFuY2VvZiBVaW50OEFycmF5KSByZXR1cm4gZGF0YTtcblxuICBpZiAodHlwZW9mIGRhdGEgPT09IFwic3RyaW5nXCIpIHtcbiAgICByZXR1cm4gZnJvbVV0ZjgoZGF0YSk7XG4gIH1cblxuICBpZiAoQXJyYXlCdWZmZXIuaXNWaWV3KGRhdGEpKSB7XG4gICAgcmV0dXJuIG5ldyBVaW50OEFycmF5KFxuICAgICAgZGF0YS5idWZmZXIsXG4gICAgICBkYXRhLmJ5dGVPZmZzZXQsXG4gICAgICBkYXRhLmJ5dGVMZW5ndGggLyBVaW50OEFycmF5LkJZVEVTX1BFUl9FTEVNRU5UXG4gICAgKTtcbiAgfVxuXG4gIHJldHVybiBuZXcgVWludDhBcnJheShkYXRhKTtcbn1cbiJdfQ==","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0;\nvar convertToBuffer_1 = require(\"./convertToBuffer\");\nObject.defineProperty(exports, \"convertToBuffer\", { enumerable: true, get: function () { return convertToBuffer_1.convertToBuffer; } });\nvar isEmptyData_1 = require(\"./isEmptyData\");\nObject.defineProperty(exports, \"isEmptyData\", { enumerable: true, get: function () { return isEmptyData_1.isEmptyData; } });\nvar numToUint8_1 = require(\"./numToUint8\");\nObject.defineProperty(exports, \"numToUint8\", { enumerable: true, get: function () { return numToUint8_1.numToUint8; } });\nvar uint32ArrayFrom_1 = require(\"./uint32ArrayFrom\");\nObject.defineProperty(exports, \"uint32ArrayFrom\", { enumerable: true, get: function () { return uint32ArrayFrom_1.uint32ArrayFrom; } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7OztBQUV0QyxxREFBb0Q7QUFBM0Msa0hBQUEsZUFBZSxPQUFBO0FBQ3hCLDZDQUE0QztBQUFuQywwR0FBQSxXQUFXLE9BQUE7QUFDcEIsMkNBQTBDO0FBQWpDLHdHQUFBLFVBQVUsT0FBQTtBQUNuQixxREFBa0Q7QUFBMUMsa0hBQUEsZUFBZSxPQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IEFtYXpvbi5jb20gSW5jLiBvciBpdHMgYWZmaWxpYXRlcy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbi8vIFNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBBcGFjaGUtMi4wXG5cbmV4cG9ydCB7IGNvbnZlcnRUb0J1ZmZlciB9IGZyb20gXCIuL2NvbnZlcnRUb0J1ZmZlclwiO1xuZXhwb3J0IHsgaXNFbXB0eURhdGEgfSBmcm9tIFwiLi9pc0VtcHR5RGF0YVwiO1xuZXhwb3J0IHsgbnVtVG9VaW50OCB9IGZyb20gXCIuL251bVRvVWludDhcIjtcbmV4cG9ydCB7dWludDMyQXJyYXlGcm9tfSBmcm9tICcuL3VpbnQzMkFycmF5RnJvbSc7XG4iXX0=","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isEmptyData = void 0;\nfunction isEmptyData(data) {\n    if (typeof data === \"string\") {\n        return data.length === 0;\n    }\n    return data.byteLength === 0;\n}\nexports.isEmptyData = isEmptyData;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXNFbXB0eURhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaXNFbXB0eURhdGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7OztBQUl0QyxTQUFnQixXQUFXLENBQUMsSUFBZ0I7SUFDMUMsSUFBSSxPQUFPLElBQUksS0FBSyxRQUFRLEVBQUU7UUFDNUIsT0FBTyxJQUFJLENBQUMsTUFBTSxLQUFLLENBQUMsQ0FBQztLQUMxQjtJQUVELE9BQU8sSUFBSSxDQUFDLFVBQVUsS0FBSyxDQUFDLENBQUM7QUFDL0IsQ0FBQztBQU5ELGtDQU1DIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IEFtYXpvbi5jb20gSW5jLiBvciBpdHMgYWZmaWxpYXRlcy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbi8vIFNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBBcGFjaGUtMi4wXG5cbmltcG9ydCB7IFNvdXJjZURhdGEgfSBmcm9tIFwiQGF3cy1zZGsvdHlwZXNcIjtcblxuZXhwb3J0IGZ1bmN0aW9uIGlzRW1wdHlEYXRhKGRhdGE6IFNvdXJjZURhdGEpOiBib29sZWFuIHtcbiAgaWYgKHR5cGVvZiBkYXRhID09PSBcInN0cmluZ1wiKSB7XG4gICAgcmV0dXJuIGRhdGEubGVuZ3RoID09PSAwO1xuICB9XG5cbiAgcmV0dXJuIGRhdGEuYnl0ZUxlbmd0aCA9PT0gMDtcbn1cbiJdfQ==","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.numToUint8 = void 0;\nfunction numToUint8(num) {\n    return new Uint8Array([\n        (num & 0xff000000) >> 24,\n        (num & 0x00ff0000) >> 16,\n        (num & 0x0000ff00) >> 8,\n        num & 0x000000ff,\n    ]);\n}\nexports.numToUint8 = numToUint8;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtVG9VaW50OC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9udW1Ub1VpbnQ4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvRUFBb0U7QUFDcEUsc0NBQXNDOzs7QUFFdEMsU0FBZ0IsVUFBVSxDQUFDLEdBQVc7SUFDcEMsT0FBTyxJQUFJLFVBQVUsQ0FBQztRQUNwQixDQUFDLEdBQUcsR0FBRyxVQUFVLENBQUMsSUFBSSxFQUFFO1FBQ3hCLENBQUMsR0FBRyxHQUFHLFVBQVUsQ0FBQyxJQUFJLEVBQUU7UUFDeEIsQ0FBQyxHQUFHLEdBQUcsVUFBVSxDQUFDLElBQUksQ0FBQztRQUN2QixHQUFHLEdBQUcsVUFBVTtLQUNqQixDQUFDLENBQUM7QUFDTCxDQUFDO0FBUEQsZ0NBT0MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBDb3B5cmlnaHQgQW1hem9uLmNvbSBJbmMuIG9yIGl0cyBhZmZpbGlhdGVzLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuLy8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IEFwYWNoZS0yLjBcblxuZXhwb3J0IGZ1bmN0aW9uIG51bVRvVWludDgobnVtOiBudW1iZXIpIHtcbiAgcmV0dXJuIG5ldyBVaW50OEFycmF5KFtcbiAgICAobnVtICYgMHhmZjAwMDAwMCkgPj4gMjQsXG4gICAgKG51bSAmIDB4MDBmZjAwMDApID4+IDE2LFxuICAgIChudW0gJiAweDAwMDBmZjAwKSA+PiA4LFxuICAgIG51bSAmIDB4MDAwMDAwZmYsXG4gIF0pO1xufVxuIl19","\"use strict\";\n// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uint32ArrayFrom = void 0;\n// IE 11 does not support Array.from, so we do it manually\nfunction uint32ArrayFrom(a_lookUpTable) {\n    if (!Array.from) {\n        var return_array = new Uint32Array(a_lookUpTable.length);\n        var a_index = 0;\n        while (a_index < a_lookUpTable.length) {\n            return_array[a_index] = a_lookUpTable[a_index];\n        }\n        return return_array;\n    }\n    return Uint32Array.from(a_lookUpTable);\n}\nexports.uint32ArrayFrom = uint32ArrayFrom;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWludDMyQXJyYXlGcm9tLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3VpbnQzMkFycmF5RnJvbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0VBQW9FO0FBQ3BFLHNDQUFzQzs7O0FBRXRDLDBEQUEwRDtBQUMxRCxTQUFnQixlQUFlLENBQUMsYUFBNEI7SUFDMUQsSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLEVBQUU7UUFDZixJQUFNLFlBQVksR0FBRyxJQUFJLFdBQVcsQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLENBQUE7UUFDMUQsSUFBSSxPQUFPLEdBQUcsQ0FBQyxDQUFBO1FBQ2YsT0FBTyxPQUFPLEdBQUcsYUFBYSxDQUFDLE1BQU0sRUFBRTtZQUNyQyxZQUFZLENBQUMsT0FBTyxDQUFDLEdBQUcsYUFBYSxDQUFDLE9BQU8sQ0FBQyxDQUFBO1NBQy9DO1FBQ0QsT0FBTyxZQUFZLENBQUE7S0FDcEI7SUFDRCxPQUFPLFdBQVcsQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLENBQUE7QUFDeEMsQ0FBQztBQVZELDBDQVVDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IEFtYXpvbi5jb20gSW5jLiBvciBpdHMgYWZmaWxpYXRlcy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbi8vIFNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBBcGFjaGUtMi4wXG5cbi8vIElFIDExIGRvZXMgbm90IHN1cHBvcnQgQXJyYXkuZnJvbSwgc28gd2UgZG8gaXQgbWFudWFsbHlcbmV4cG9ydCBmdW5jdGlvbiB1aW50MzJBcnJheUZyb20oYV9sb29rVXBUYWJsZTogQXJyYXk8bnVtYmVyPik6IFVpbnQzMkFycmF5IHtcbiAgaWYgKCFBcnJheS5mcm9tKSB7XG4gICAgY29uc3QgcmV0dXJuX2FycmF5ID0gbmV3IFVpbnQzMkFycmF5KGFfbG9va1VwVGFibGUubGVuZ3RoKVxuICAgIGxldCBhX2luZGV4ID0gMFxuICAgIHdoaWxlIChhX2luZGV4IDwgYV9sb29rVXBUYWJsZS5sZW5ndGgpIHtcbiAgICAgIHJldHVybl9hcnJheVthX2luZGV4XSA9IGFfbG9va1VwVGFibGVbYV9pbmRleF1cbiAgICB9XG4gICAgcmV0dXJuIHJldHVybl9hcnJheVxuICB9XG4gIHJldHVybiBVaW50MzJBcnJheS5mcm9tKGFfbG9va1VwVGFibGUpXG59XG4iXX0=","import { fromUtf8 as jsFromUtf8, toUtf8 as jsToUtf8 } from \"./pureJs\";\nimport { fromUtf8 as textEncoderFromUtf8, toUtf8 as textEncoderToUtf8 } from \"./whatwgEncodingApi\";\nexport const fromUtf8 = (input) => typeof TextEncoder === \"function\" ? textEncoderFromUtf8(input) : jsFromUtf8(input);\nexport const toUtf8 = (input) => typeof TextDecoder === \"function\" ? textEncoderToUtf8(input) : jsToUtf8(input);\n","export function fromUtf8(input) {\n    return new TextEncoder().encode(input);\n}\nexport function toUtf8(input) {\n    return new TextDecoder(\"utf-8\").decode(input);\n}\n","export const fromUtf8 = (input) => {\n    const bytes = [];\n    for (let i = 0, len = input.length; i < len; i++) {\n        const value = input.charCodeAt(i);\n        if (value < 0x80) {\n            bytes.push(value);\n        }\n        else if (value < 0x800) {\n            bytes.push((value >> 6) | 0b11000000, (value & 0b111111) | 0b10000000);\n        }\n        else if (i + 1 < input.length && (value & 0xfc00) === 0xd800 && (input.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {\n            const surrogatePair = 0x10000 + ((value & 0b1111111111) << 10) + (input.charCodeAt(++i) & 0b1111111111);\n            bytes.push((surrogatePair >> 18) | 0b11110000, ((surrogatePair >> 12) & 0b111111) | 0b10000000, ((surrogatePair >> 6) & 0b111111) | 0b10000000, (surrogatePair & 0b111111) | 0b10000000);\n        }\n        else {\n            bytes.push((value >> 12) | 0b11100000, ((value >> 6) & 0b111111) | 0b10000000, (value & 0b111111) | 0b10000000);\n        }\n    }\n    return Uint8Array.from(bytes);\n};\nexport const toUtf8 = (input) => {\n    let decoded = \"\";\n    for (let i = 0, len = input.length; i < len; i++) {\n        const byte = input[i];\n        if (byte < 0x80) {\n            decoded += String.fromCharCode(byte);\n        }\n        else if (0b11000000 <= byte && byte < 0b11100000) {\n            const nextByte = input[++i];\n            decoded += String.fromCharCode(((byte & 0b11111) << 6) | (nextByte & 0b111111));\n        }\n        else if (0b11110000 <= byte && byte < 0b101101101) {\n            const surrogatePair = [byte, input[++i], input[++i], input[++i]];\n            const encoded = \"%\" + surrogatePair.map((byteValue) => byteValue.toString(16)).join(\"%\");\n            decoded += decodeURIComponent(encoded);\n        }\n        else {\n            decoded += String.fromCharCode(((byte & 0b1111) << 12) | ((input[++i] & 0b111111) << 6) | (input[++i] & 0b111111));\n        }\n    }\n    return decoded;\n};\n","// @ts-nocheck\nvar SnippetSrcV2 = \"!function(m,n,e,t,l,o,g,y){var s,f,a=function(h){\\nreturn!(h in m)||(m.console&&m.console.log&&m.console.log('FullStory namespace conflict. Please set window[\\\"_fs_namespace\\\"].'),!1)}(e)\\n;function p(b){var h,d=[];function j(){h&&(d.forEach((function(b){var d;try{d=b[h[0]]&&b[h[0]](h[1])}catch(h){return void(b[3]&&b[3](h))}\\nd&&d.then?d.then(b[2],b[3]):b[2]&&b[2](d)})),d.length=0)}function r(b){return function(d){h||(h=[b,d],j())}}return b(r(0),r(1)),{\\nthen:function(b,h){return p((function(r,i){d.push([b,h,r,i]),j()}))}}}a&&(g=m[e]=function(){var b=function(b,d,j,r){function i(i,c){\\nh(b,d,j,i,c,r)}r=r||2;var c,u=/Async$/;return u.test(b)?(b=b.replace(u,\\\"\\\"),\\\"function\\\"==typeof Promise?new Promise(i):p(i)):h(b,d,j,c,c,r)}\\n;function h(h,d,j,r,i,c){return b._api?b._api(h,d,j,r,i,c):(b.q&&b.q.push([h,d,j,r,i,c]),null)}return b.q=[],b}(),y=function(b){function h(h){\\n\\\"function\\\"==typeof h[4]&&h[4](new Error(b))}var d=g.q;if(d){for(var j=0;j<d.length;j++)h(d[j]);d.length=0,d.push=h}},function(){\\n(o=n.createElement(t)).async=!0,o.crossOrigin=\\\"anonymous\\\",o.src=\\\"https://\\\"+l,o.onerror=function(){y(\\\"Error loading \\\"+l)}\\n;var b=n.getElementsByTagName(t)[0];b&&b.parentNode?b.parentNode.insertBefore(o,b):n.head.appendChild(o)}(),function(){function b(){}\\nfunction h(b,h,d){g(b,h,d,1)}function d(b,d,j){h(\\\"setProperties\\\",{type:b,properties:d},j)}function j(b,h){d(\\\"user\\\",b,h)}function r(b,h,d){j({\\nuid:b},d),h&&j(h,d)}g.identify=r,g.setUserVars=j,g.identifyAccount=b,g.clearUserCookie=b,g.setVars=d,g.event=function(b,d,j){h(\\\"trackEvent\\\",{\\nname:b,properties:d},j)},g.anonymize=function(){r(!1)},g.shutdown=function(){h(\\\"shutdown\\\")},g.restart=function(){h(\\\"restart\\\")},\\ng.log=function(b,d){h(\\\"log\\\",{level:b,msg:d})},g.consent=function(b){h(\\\"setIdentity\\\",{consent:!arguments.length||b})}}(),s=\\\"fetch\\\",\\nf=\\\"XMLHttpRequest\\\",g._w={},g._w[f]=m[f],g._w[s]=m[s],m[s]&&(m[s]=function(){return g._w[s].apply(this,arguments)}),g._v=\\\"2.0.0\\\")\\n}(window,document,window._fs_namespace,\\\"script\\\",window._fs_script);\";\nvar SnippetSrcV2Delayed = \"!function(m,n,e,t,l,o,g,y){var s,f,a=function(d){\\nreturn!(d in m)||(m.console&&m.console.log&&m.console.log('FullStory namespace conflict. Please set window[\\\"_fs_namespace\\\"].'),!1)}(e)\\n;function p(b){var d,h=[];function k(){d&&(h.forEach((function(b){var h;try{h=b[d[0]]&&b[d[0]](d[1])}catch(d){return void(b[3]&&b[3](d))}\\nh&&h.then?h.then(b[2],b[3]):b[2]&&b[2](h)})),h.length=0)}function r(b){return function(h){d||(d=[b,h],k())}}return b(r(0),r(1)),{\\nthen:function(b,d){return p((function(r,i){h.push([b,d,r,i]),k()}))}}}function j(){(o=n.createElement(t)).async=!0,o.crossOrigin=\\\"anonymous\\\",\\no.src=\\\"https://\\\"+l,o.onerror=function(){y(\\\"Error loading \\\"+l)};var b=n.getElementsByTagName(t)[0]\\n;b&&b.parentNode?b.parentNode.insertBefore(o,b):n.head.appendChild(o)}a&&(g=m[e]=function(){var b=function(b,h,k,r){function i(i,c){\\nd(b,h,k,i,c,r)}r=r||2;var c,u=/Async$/;return u.test(b)?(b=b.replace(u,\\\"\\\"),\\\"function\\\"==typeof Promise?new Promise(i):p(i)):d(b,h,k,c,c,r)}\\n;function d(d,h,k,r,i,c){return b._api?b._api(d,h,k,r,i,c):(b.q&&b.q.push([d,h,k,r,i,c]),null)}return b.q=[],b}(),y=function(b){function d(d){\\n\\\"function\\\"==typeof d[4]&&d[4](new Error(b))}var h=g.q;if(h){for(var k=0;k<h.length;k++)d(h[k]);h.length=0,h.push=d}},function(){try{\\nvar b=!1,d=\\\"paint\\\";if(void 0!==window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes.indexOf(d)>-1){\\nvar h=new PerformanceObserver((function(d){for(var k=d.getEntriesByName(\\\"first-contentful-paint\\\"),r=0;r<k.length;r++)k[r]&&(h.disconnect(),\\nb||(b=!0,j()))}));h.observe({buffered:!0,type:d}),setTimeout((function(){b||(b=!0,j())}),1e3)}else j()}catch(b){}}(),function(){function b(){}\\nfunction d(b,d,h){g(b,d,h,1)}function h(b,h,k){d(\\\"setProperties\\\",{type:b,properties:h},k)}function k(b,d){h(\\\"user\\\",b,d)}function r(b,d,h){k({\\nuid:b},h),d&&k(d,h)}g.identify=r,g.setUserVars=k,g.identifyAccount=b,g.clearUserCookie=b,g.setVars=h,g.event=function(b,h,k){d(\\\"trackEvent\\\",{\\nname:b,properties:h},k)},g.anonymize=function(){r(!1)},g.shutdown=function(){d(\\\"shutdown\\\")},g.restart=function(){d(\\\"restart\\\")},\\ng.log=function(b,h){d(\\\"log\\\",{level:b,msg:h})},g.consent=function(b){d(\\\"setIdentity\\\",{consent:!arguments.length||b})}}(),s=\\\"fetch\\\",\\nf=\\\"XMLHttpRequest\\\",g._w={},g._w[f]=m[f],g._w[s]=m[s],m[s]&&(m[s]=function(){return g._w[s].apply(this,arguments)}),g._v=\\\"2.0.0.delayed\\\")\\n}(window,document,window._fs_namespace,\\\"script\\\",window._fs_script);\";\nvar mockSnippetV1 = \"(function(m,n,e,t,l,o,g,y){\\n    if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window[\\\"_fs_namespace\\\"].');} return;}\\n    g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];\\n    g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};\\n    g.anonymize=function(){g.identify(!!0)};\\n    g.shutdown=function(){g(\\\"rec\\\",!1)};g.restart=function(){g(\\\"rec\\\",!0)};\\n    g.log = function(a,b){g(\\\"log\\\",[a,b])};\\n    g.consent=function(a){g(\\\"consent\\\",!arguments.length||a)};\\n    g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};\\n    g.clearUserCookie=function(){};\\n    g.setVars=function(n, p){g('setVars',[n,p]);};\\n    g._w={};y='XMLHttpRequest';g._w[y]=m[y];y='fetch';g._w[y]=m[y];\\n    if(m[y])m[y]=function(){return g._w[y].apply(this,arguments)};\\n    g._v=\\\"1.3.0\\\";\\n})(window,document,window['_fs_namespace'],'script','user');\";\nvar mockSnippetV2 = \"!function(m,n,e,t,l,o,g,y){var s,f,a=function(h){\\nreturn!(h in m)||(m.console&&m.console.log&&m.console.log('FullStory namespace conflict. Please set window[\\\"_fs_namespace\\\"].'),!1)}(e)\\n;function j(b){var h,d=[];function k(){h&&(d.forEach((function(b){var d;try{d=b[h[0]]&&b[h[0]](h[1])}catch(h){return void(b[3]&&b[3](h))}\\nd&&d.then?d.then(b[2],b[3]):b[2]&&b[2](d)})),d.length=0)}function i(b){return function(d){h||(h=[b,d],k())}}return b(i(0),i(1)),{\\nthen:function(b,h){return j((function(i,c){d.push([b,h,i,c]),k()}))}}}a&&(g=m[e]=function(){var b=function(b,d,k,i){function c(c,r){\\nh(b,d,k,c,r,i)}i=i||2;var r,u=/Async$/;return u.test(b)?(b=b.replace(u,\\\"\\\"),\\\"function\\\"==typeof Promise?new Promise(c):j(c)):h(b,d,k,r,r,i)}\\n;function h(h,d,k,i,c,r){return b._api?b._api(h,d,k,i,c,r):(b.q&&b.q.push([h,d,k,i,c,r]),null)}return b.q=[],b}(),function(){function b(){}\\nfunction h(b,h,d){g(b,h,d,1)}function d(b,d,k){h(\\\"setProperties\\\",{type:b,properties:d},k)}function k(b,h){d(\\\"user\\\",b,h)}function i(b,h,d){k({\\nuid:b},d),h&&k(h,d)}g.identify=i,g.setUserVars=k,g.identifyAccount=b,g.clearUserCookie=b,g.setVars=d,g.event=function(b,d,k){h(\\\"trackEvent\\\",{\\nname:b,properties:d},k)},g.anonymize=function(){i(!1)},g.shutdown=function(){h(\\\"shutdown\\\")},g.restart=function(){h(\\\"restart\\\")},\\ng.log=function(b,d){h(\\\"log\\\",{level:b,msg:d})},g.consent=function(b){h(\\\"setIdentity\\\",{consent:!arguments.length||b})}}(),s=\\\"fetch\\\",\\nf=\\\"XMLHttpRequest\\\",g._w={},g._w[f]=m[f],g._w[s]=m[s],m[s]&&(m[s]=function(){return g._w[s].apply(this,arguments)}),g._v=\\\"2.0.0\\\")\\n}(window,document,window._fs_namespace,0,window._fs_script);\";\nvar executeSnippet = function executeSnippet() {\n  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    _ref$wnd = _ref.wnd,\n    wnd = _ref$wnd === void 0 ? window : _ref$wnd,\n    _ref$injectedNamespac = _ref.injectedNamespace,\n    injectedNamespace = _ref$injectedNamespac === void 0 ? wnd['_fs_namespace'] : _ref$injectedNamespac,\n    _ref$injectedScript = _ref.injectedScript,\n    injectedScript = _ref$injectedScript === void 0 ? wnd['_fs_script'] : _ref$injectedScript;\n  (function (win, doc, fsNamespace, tagName, fsScript, script, api, rejector) {\n    var valid = function checkNamespace(fsNamespace) {\n      if (!(fsNamespace in win)) {\n        return true;\n      }\n      if (win.console && win.console.log) {\n        win.console.log(\"FullStory namespace conflict. Please set window[\\\"_fs_namespace\\\"].\");\n      }\n      return false;\n    }(fsNamespace);\n    if (!valid) return;\n    function makeThenable(callback) {\n      var waiters = [];\n      var resolution;\n      function flush() {\n        if (!resolution) {\n          return;\n        }\n        waiters.forEach(function (waiter) {\n          var result;\n          try {\n            result = waiter[resolution[0]] && waiter[resolution[0]](resolution[1]);\n          } catch (error) {\n            waiter[3] && waiter[3](error);\n            return;\n          }\n          if (result && result.then) {\n            result.then(waiter[2], waiter[3]);\n          } else {\n            waiter[2] && waiter[2](result);\n          }\n        });\n        waiters.length = 0;\n      }\n      function makeHandler(which) {\n        return function (value) {\n          if (resolution) {\n            return;\n          }\n          resolution = [which, value];\n          flush();\n        };\n      }\n      callback(makeHandler(0), makeHandler(1));\n      function _then(onFulfilled, onRejected) {\n        return makeThenable(function (nextResolve, nextReject) {\n          waiters.push([onFulfilled, onRejected, nextResolve, nextReject]);\n          flush();\n        });\n      }\n      return {\n        then: _then\n      };\n    }\n    api = win[fsNamespace] = function createV2API() {\n      var FS = function FS(action, options, source, apiVersion) {\n        apiVersion = apiVersion || 2;\n        function setResolve(resolve, reject) {\n          api(action, options, source, resolve, reject, apiVersion);\n        }\n        var re = /Async$/;\n        if (re.test(action)) {\n          action = action.replace(re, '');\n          // @ts-ignore\n          if (typeof Promise === 'function') {\n            // @ts-ignore\n            return new Promise(setResolve);\n          }\n          return makeThenable(setResolve);\n        }\n        var _undefined;\n        return api(action, options, source, _undefined, _undefined, apiVersion);\n      };\n      function api(op, args, source, resolve, reject, apiVersion) {\n        // Once fs.js is bootstrapped, we have access to ._api which\n        //   handles pushing deferred methods into the queue internally.\n        if (FS._api) {\n          return FS._api(op, args, source, resolve, reject, apiVersion);\n        }\n        if (FS.q) {\n          FS.q.push([op, args, source, resolve, reject, apiVersion]);\n        }\n        return null;\n      }\n      FS.q = [];\n      return FS;\n    }();\n    rejector = function createRejector() {\n      // Returns a function called on the error handler of the fs.js script tag.\n      // Its purpose is to reject all pending and future asynchronous api calls.\n      // The 4th argument to any api operation is always the reject function if it\n      // has been called with the \"Async\" modifier.\n      return function (reason) {\n        function doReject(operation) {\n          if (typeof operation[4] === 'function') {\n            operation[4](new Error(reason));\n          }\n        }\n        var q = api.q;\n        if (q) {\n          for (var i = 0; i < q.length; i++) {\n            doReject(q[i]);\n          }\n          q.length = 0;\n          q.push = doReject;\n        }\n      };\n    }();\n    (function insertScript() {\n      script = doc.createElement(tagName);\n      script.async = true;\n      script.crossOrigin = 'anonymous';\n      script.src = 'https://' + fsScript;\n      script.onerror = function () {\n        rejector('Error loading ' + fsScript);\n      };\n      var firstScript = doc.getElementsByTagName(tagName)[0];\n      if (firstScript && firstScript.parentNode) {\n        firstScript.parentNode.insertBefore(script, firstScript);\n      } else {\n        doc.head.appendChild(script);\n      }\n    })();\n    (function translateV1API() {\n      function noop() {}\n      function callAPI(action, option, source) {\n        api(action, option, source, 1);\n      }\n      function setProperties(scope, props, source) {\n        callAPI('setProperties', {\n          type: scope,\n          properties: props\n        }, source);\n      }\n      function setUserProperties(props, source) {\n        setProperties('user', props, source);\n      }\n      function identify(uid, customVars, source) {\n        setUserProperties({\n          uid: uid\n        }, source);\n        if (customVars) {\n          setUserProperties(customVars, source);\n        }\n      }\n      api.identify = identify;\n      api.setUserVars = setUserProperties;\n      api.identifyAccount = noop;\n      api.clearUserCookie = noop;\n      api.setVars = setProperties;\n      api.event = function (eventName, eventProps, source) {\n        callAPI('trackEvent', {\n          name: eventName,\n          properties: eventProps\n        }, source);\n      };\n      api.anonymize = function () {\n        identify(false);\n      };\n      api.shutdown = function () {\n        callAPI('shutdown');\n      };\n      api.restart = function () {\n        callAPI('restart');\n      };\n      api.log = function (level, msg) {\n        callAPI('log', {\n          level: level,\n          msg: msg\n        });\n      };\n      api.consent = function (userConsents) {\n        callAPI('setIdentity', {\n          consent: !arguments.length || userConsents\n        });\n      };\n    })();\n    (function snapshotGlobals() {\n      var f = 'fetch';\n      var xhr = 'XMLHttpRequest';\n      api._w = {};\n      api._w[xhr] = win[xhr];\n      api._w[f] = win[f];\n      if (win[f]) {\n        win[f] = function () {\n          return api._w[f].apply(this, arguments);\n        };\n      }\n    })();\n    api._v = \"2.0.0\";\n  })(wnd, wnd.document, injectedNamespace, 'script', injectedScript);\n};\nvar executeSnippetV1 = function executeSnippetV1() {\n  var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    _ref2$wnd = _ref2.wnd,\n    wnd = _ref2$wnd === void 0 ? window : _ref2$wnd,\n    _ref2$injectedNamespa = _ref2.injectedNamespace,\n    injectedNamespace = _ref2$injectedNamespa === void 0 ? wnd['_fs_namespace'] : _ref2$injectedNamespa;\n  (function (m, n, e, t, l, o, g, y) {\n    if (e in m) {\n      if (m.console && m.console.log) {\n        m.console.log('FullStory namespace conflict. Please set window[\"_fs_namespace\"].');\n      }\n      return;\n    }\n    g = m[e] = function (a, b, s) {\n      g.q ? g.q.push([a, b, s]) : g._api(a, b, s);\n    };\n    g.q = [];\n    o = n.createElement(t);\n    o.async = 1;\n    o.crossOrigin = 'anonymous';\n    o.src = 'https://' + _fs_script;\n    y = n.getElementsByTagName(t)[0];\n    y.parentNode.insertBefore(o, y);\n    g.identify = function (i, v, s) {\n      g(l, {\n        uid: i\n      }, s);\n      if (v) g(l, v, s);\n    };\n    g.setUserVars = function (v, s) {\n      g(l, v, s);\n    };\n    g.event = function (i, v, s) {\n      g('event', {\n        n: i,\n        p: v\n      }, s);\n    };\n    g.anonymize = function () {\n      g.identify(!!0);\n    };\n    g.shutdown = function () {\n      g(\"rec\", !1);\n    };\n    g.restart = function () {\n      g(\"rec\", !0);\n    };\n    g.log = function (a, b) {\n      g(\"log\", [a, b]);\n    };\n    g.consent = function (a) {\n      g(\"consent\", !arguments.length || a);\n    };\n    g.identifyAccount = function (i, v) {\n      o = 'account';\n      v = v || {};\n      v.acctId = i;\n      g(o, v);\n    };\n    g.clearUserCookie = function () {};\n    g.setVars = function (n, p) {\n      g('setVars', [n, p]);\n    };\n    g._w = {};\n    y = 'XMLHttpRequest';\n    g._w[y] = m[y];\n    y = 'fetch';\n    g._w[y] = m[y];\n    if (m[y]) m[y] = function () {\n      return g._w[y].apply(this, arguments);\n    };\n    g._v = \"1.3.0\";\n  })(wnd, wnd.document, injectedNamespace, 'script', 'user');\n};\nvar getDocumentVar = function getDocumentVar(globalVar) {\n  return globalVar === 'window' ? 'document' : \"\".concat(globalVar, \".document\");\n};\nvar toV1String = function toV1String() {\n  var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n    _ref3$shouldInsertScr = _ref3.shouldInsertScript,\n    shouldInsertScript = _ref3$shouldInsertScr === void 0 ? true : _ref3$shouldInsertScr,\n    _ref3$globalVar = _ref3.globalVar,\n    globalVar = _ref3$globalVar === void 0 ? 'window' : _ref3$globalVar,\n    _ref3$globalNamespace = _ref3.globalNamespace,\n    globalNamespace = _ref3$globalNamespace === void 0 ? \"\".concat(globalVar, \"['_fs_namespace']\") : _ref3$globalNamespace,\n    _ref3$apiVersion = _ref3.apiVersion,\n    apiVersion = _ref3$apiVersion === void 0 ? '1.3.0' : _ref3$apiVersion;\n  return \"(function(m,n,e,t,l,o,g,y){\\n    if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window[\\\"_fs_namespace\\\"].');} return;}\\n    g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];\".concat(shouldInsertScript ? \"\\n    o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_script;\\n    y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);\" : '', \"\\n    g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};\\n    g.anonymize=function(){g.identify(!!0)};\\n    g.shutdown=function(){g(\\\"rec\\\",!1)};g.restart=function(){g(\\\"rec\\\",!0)};\\n    g.log = function(a,b){g(\\\"log\\\",[a,b])};\\n    g.consent=function(a){g(\\\"consent\\\",!arguments.length||a)};\\n    g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};\\n    g.clearUserCookie=function(){};\\n    g.setVars=function(n, p){g('setVars',[n,p]);};\\n    g._w={};y='XMLHttpRequest';g._w[y]=m[y];y='fetch';g._w[y]=m[y];\\n    if(m[y])m[y]=function(){return g._w[y].apply(this,arguments)};\\n    g._v=\\\"\").concat(apiVersion, \"\\\";\\n})(\").concat(globalVar, \",\").concat(getDocumentVar(globalVar), \",\").concat(globalNamespace, \",'script','user');\");\n};\nvar initFS = function initFS(_a) {\n  var orgId = _a.orgId,\n    _b = _a.namespace,\n    namespace = _b === void 0 ? 'FS' : _b,\n    _c = _a.host,\n    host = _c === void 0 ? 'fullstory.com' : _c,\n    _d = _a.script,\n    script = _d === void 0 ? 'edge.fullstory.com/s/fs.js' : _d;\n  if (!orgId) {\n    throw new Error('FullStory orgId is a required parameter');\n  }\n  window['_fs_host'] = host;\n  window['_fs_script'] = script;\n  window['_fs_org'] = orgId;\n  window['_fs_namespace'] = namespace;\n  executeSnippet();\n};\nvar initFSV1 = function initFSV1(_a) {\n  var orgId = _a.orgId,\n    _b = _a.namespace,\n    namespace = _b === void 0 ? 'FS' : _b,\n    _c = _a.host,\n    host = _c === void 0 ? 'fullstory.com' : _c,\n    _d = _a.script,\n    script = _d === void 0 ? 'edge.fullstory.com/s/fs.js' : _d;\n  if (!orgId) {\n    throw new Error('FullStory orgId is a required parameter');\n  }\n  window['_fs_host'] = host;\n  window['_fs_script'] = script;\n  window['_fs_org'] = orgId;\n  window['_fs_namespace'] = namespace;\n  executeSnippetV1();\n};\nvar SnippetSrc = SnippetSrcV2;\nvar SnippetSrcDelayed = SnippetSrcV2Delayed;\nvar SnippetSrcV1 = toV1String();\nvar generateSnippetText = function generateSnippetText(_a) {\n  var orgId = _a.orgId,\n    _b = _a.namespace,\n    namespace = _b === void 0 ? 'FS' : _b,\n    _c = _a.host,\n    host = _c === void 0 ? 'fullstory.com' : _c,\n    _d = _a.script,\n    script = _d === void 0 ? 'edge.fullstory.com/s/fs.js' : _d;\n  if (!orgId) {\n    throw new Error('FullStory orgId is a required parameter');\n  }\n  return \"window['_fs_host'] = '\".concat(host, \"';\\nwindow['_fs_script'] = '\").concat(script, \"';\\nwindow['_fs_org'] = '\").concat(orgId, \"';\\nwindow['_fs_namespace'] = '\").concat(namespace, \"';\\n\").concat(SnippetSrc, \"\\n\");\n};\nvar generateSnippetTextV1 = function generateSnippetTextV1(_a) {\n  var orgId = _a.orgId,\n    _b = _a.namespace,\n    namespace = _b === void 0 ? 'FS' : _b,\n    _c = _a.host,\n    host = _c === void 0 ? 'fullstory.com' : _c,\n    _d = _a.script,\n    script = _d === void 0 ? 'edge.fullstory.com/s/fs.js' : _d;\n  if (!orgId) {\n    throw new Error('FullStory orgId is a required parameter');\n  }\n  return \"window['_fs_host'] = '\".concat(host, \"';\\nwindow['_fs_script'] = '\").concat(script, \"';\\nwindow['_fs_org'] = '\").concat(orgId, \"';\\nwindow['_fs_namespace'] = '\").concat(namespace, \"';\\n\").concat(SnippetSrcV1, \"\\n\");\n};\nvar mockSnippetSrc = mockSnippetV2;\nvar mockSnippetSrcV1 = mockSnippetV1;\nexport { SnippetSrc, SnippetSrcDelayed, SnippetSrcV1, generateSnippetText, generateSnippetTextV1, initFS, initFSV1, mockSnippetSrc, mockSnippetSrcV1 };","import { initFS } from '@fullstory/snippet';\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nvar __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    };\r\n    return __assign.apply(this, arguments);\r\n};\n\nvar getFullStory = function () {\n    if (window._fs_namespace) {\n        return window[window._fs_namespace];\n    }\n    return undefined;\n};\nvar ensureSnippetLoaded = function () {\n    var fs = getFullStory();\n    if (!fs) {\n        throw Error('FullStory is not loaded, please ensure the init function is invoked before calling FullStory API functions');\n    }\n    return fs;\n};\nvar _init = function (inputOptions, readyCallback) {\n    // Make a copy so we can modify `options` if desired.\n    var options = __assign({}, inputOptions);\n    if (getFullStory()) {\n        console.warn('The FullStory snippet has already been defined elsewhere (likely in the <head> element)');\n        return;\n    }\n    // see README for details on the recordCrossDomainIFrames option\n    if (options.recordCrossDomainIFrames) {\n        window._fs_run_in_iframe = true;\n    }\n    if (options.appHost) {\n        window._fs_app_host = options.appHost;\n    }\n    if (options.assetMapId) {\n        window._fs_asset_map_id = options.assetMapId;\n    }\n    if (options.startCaptureManually) {\n        window._fs_capture_on_startup = false;\n    }\n    // record the contents of this iFrame when embedded in a parent site\n    if (options.recordOnlyThisIFrame) {\n        window._fs_is_outer_script = true;\n    }\n    // Set cookie domain if it was specified.\n    if (options.cookieDomain) {\n        window._fs_cookie_domain = options.cookieDomain;\n    }\n    if (options.debug === true) {\n        if (!options.script) {\n            options.script = 'edge.fullstory.com/s/fs-debug.js';\n        }\n        else {\n            console.warn('Ignoring `debug = true` because `script` is set');\n        }\n    }\n    initFS(options);\n    var fs = getFullStory();\n    if (!fs) {\n        console.warn('Failed to initialize FS snippet');\n        return;\n    }\n    if (options.sessionUid) {\n        fs('init', { env: { sessionUid: options.sessionUid } });\n    }\n    if (readyCallback) {\n        fs('observe', { type: 'start', callback: readyCallback });\n    }\n    if (options.devMode === true) {\n        var message = 'FullStory was initialized in devMode and will stop recording';\n        fs('trackEvent', {\n            name: 'FullStory Dev Mode',\n            properties: {\n                message: message,\n            }\n        });\n        fs('shutdown');\n        window._fs_dev_mode = true;\n        console.warn(message);\n    }\n};\nvar initOnce = function (message) { return function (inputOptions, readyCallback) {\n    if (window._fs_initialized) {\n        if (message)\n            console.warn(message);\n        return;\n    }\n    _init(inputOptions, readyCallback);\n    window._fs_initialized = true;\n}; };\nvar init = initOnce('FullStory init has already been called once, additional invocations are ignored');\n// normalize undefined into boolean\nvar isInitialized = function () { return !!window._fs_initialized; };\nvar hasFullStoryWithFunction = function () {\n    var testNames = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n        testNames[_i] = arguments[_i];\n    }\n    var fs = ensureSnippetLoaded();\n    return testNames.every(function (current) { return fs[current]; });\n};\nvar guard = function (name) { return function () {\n    var args = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n    }\n    if (window._fs_dev_mode) {\n        var message = \"FullStory is in dev mode and is not capturing: \".concat(name, \" method not executed\");\n        console.warn(message);\n        return message;\n    }\n    var fs = getFullStory();\n    if (hasFullStoryWithFunction(name) && fs) {\n        return fs[name].apply(fs, args);\n    }\n    console.warn(\"FS.\".concat(name, \" not ready\"));\n    return null;\n}; };\nvar buildFullStoryShim = function () {\n    var FS = function (operation, options, source) {\n        var fs = ensureSnippetLoaded();\n        if (window._fs_dev_mode) {\n            var message = \"FullStory is in dev mode and is not capturing: \".concat(operation, \" not executed\");\n            console.warn(message);\n            return undefined;\n        }\n        return fs(operation, options, source);\n    };\n    FS.anonymize = guard('anonymize');\n    FS.consent = guard('consent');\n    FS.disableConsole = guard('disableConsole');\n    FS.enableConsole = guard('enableConsole');\n    FS.event = guard('event');\n    FS.getCurrentSessionURL = guard('getCurrentSessionURL');\n    FS.identify = guard('identify');\n    FS.log = guard('log');\n    FS.restart = guard('restart');\n    FS.setUserVars = guard('setUserVars');\n    FS.setVars = guard('setVars');\n    FS.shutdown = guard('shutdown');\n    return FS;\n};\nvar FullStory = buildFullStoryShim();\n\nexport { FullStory, init, isInitialized };\n","var __generator = (this && this.__generator) || function (thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from) {\r\n    for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n        to[j] = from[i];\r\n    return to;\r\n};\r\nvar __defProp = Object.defineProperty;\r\nvar __defProps = Object.defineProperties;\r\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\r\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\r\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\r\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\r\nvar __defNormalProp = function (obj, key, value) { return key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value }) : obj[key] = value; };\r\nvar __spreadValues = function (a, b) {\r\n    for (var prop in b || (b = {}))\r\n        if (__hasOwnProp.call(b, prop))\r\n            __defNormalProp(a, prop, b[prop]);\r\n    if (__getOwnPropSymbols)\r\n        for (var _j = 0, _k = __getOwnPropSymbols(b); _j < _k.length; _j++) {\r\n            var prop = _k[_j];\r\n            if (__propIsEnum.call(b, prop))\r\n                __defNormalProp(a, prop, b[prop]);\r\n        }\r\n    return a;\r\n};\r\nvar __spreadProps = function (a, b) { return __defProps(a, __getOwnPropDescs(b)); };\r\nvar __objRest = function (source, exclude) {\r\n    var target = {};\r\n    for (var prop in source)\r\n        if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\r\n            target[prop] = source[prop];\r\n    if (source != null && __getOwnPropSymbols)\r\n        for (var _j = 0, _k = __getOwnPropSymbols(source); _j < _k.length; _j++) {\r\n            var prop = _k[_j];\r\n            if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\r\n                target[prop] = source[prop];\r\n        }\r\n    return target;\r\n};\r\nvar __async = function (__this, __arguments, generator) {\r\n    return new Promise(function (resolve, reject) {\r\n        var fulfilled = function (value) {\r\n            try {\r\n                step(generator.next(value));\r\n            }\r\n            catch (e) {\r\n                reject(e);\r\n            }\r\n        };\r\n        var rejected = function (value) {\r\n            try {\r\n                step(generator.throw(value));\r\n            }\r\n            catch (e) {\r\n                reject(e);\r\n            }\r\n        };\r\n        var step = function (x) { return x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); };\r\n        step((generator = generator.apply(__this, __arguments)).next());\r\n    });\r\n};\r\n// src/query/core/apiState.ts\r\nvar QueryStatus;\r\n(function (QueryStatus2) {\r\n    QueryStatus2[\"uninitialized\"] = \"uninitialized\";\r\n    QueryStatus2[\"pending\"] = \"pending\";\r\n    QueryStatus2[\"fulfilled\"] = \"fulfilled\";\r\n    QueryStatus2[\"rejected\"] = \"rejected\";\r\n})(QueryStatus || (QueryStatus = {}));\r\nfunction getRequestStatusFlags(status) {\r\n    return {\r\n        status: status,\r\n        isUninitialized: status === QueryStatus.uninitialized,\r\n        isLoading: status === QueryStatus.pending,\r\n        isSuccess: status === QueryStatus.fulfilled,\r\n        isError: status === QueryStatus.rejected\r\n    };\r\n}\r\n// src/query/utils/isAbsoluteUrl.ts\r\nfunction isAbsoluteUrl(url) {\r\n    return new RegExp(\"(^|:)//\").test(url);\r\n}\r\n// src/query/utils/joinUrls.ts\r\nvar withoutTrailingSlash = function (url) { return url.replace(/\\/$/, \"\"); };\r\nvar withoutLeadingSlash = function (url) { return url.replace(/^\\//, \"\"); };\r\nfunction joinUrls(base, url) {\r\n    if (!base) {\r\n        return url;\r\n    }\r\n    if (!url) {\r\n        return base;\r\n    }\r\n    if (isAbsoluteUrl(url)) {\r\n        return url;\r\n    }\r\n    var delimiter = base.endsWith(\"/\") || !url.startsWith(\"?\") ? \"/\" : \"\";\r\n    base = withoutTrailingSlash(base);\r\n    url = withoutLeadingSlash(url);\r\n    return \"\" + base + delimiter + url;\r\n}\r\n// src/query/utils/flatten.ts\r\nvar flatten = function (arr) { return [].concat.apply([], arr); };\r\n// src/query/utils/isOnline.ts\r\nfunction isOnline() {\r\n    return typeof navigator === \"undefined\" ? true : navigator.onLine === void 0 ? true : navigator.onLine;\r\n}\r\n// src/query/utils/isDocumentVisible.ts\r\nfunction isDocumentVisible() {\r\n    if (typeof document === \"undefined\") {\r\n        return true;\r\n    }\r\n    return document.visibilityState !== \"hidden\";\r\n}\r\n// src/query/utils/copyWithStructuralSharing.ts\r\nimport { isPlainObject as _iPO } from \"@reduxjs/toolkit\";\r\nvar isPlainObject = _iPO;\r\nfunction copyWithStructuralSharing(oldObj, newObj) {\r\n    if (oldObj === newObj || !(isPlainObject(oldObj) && isPlainObject(newObj) || Array.isArray(oldObj) && Array.isArray(newObj))) {\r\n        return newObj;\r\n    }\r\n    var newKeys = Object.keys(newObj);\r\n    var oldKeys = Object.keys(oldObj);\r\n    var isSameObject = newKeys.length === oldKeys.length;\r\n    var mergeObj = Array.isArray(newObj) ? [] : {};\r\n    for (var _j = 0, newKeys_1 = newKeys; _j < newKeys_1.length; _j++) {\r\n        var key = newKeys_1[_j];\r\n        mergeObj[key] = copyWithStructuralSharing(oldObj[key], newObj[key]);\r\n        if (isSameObject)\r\n            isSameObject = oldObj[key] === mergeObj[key];\r\n    }\r\n    return isSameObject ? oldObj : mergeObj;\r\n}\r\n// src/query/fetchBaseQuery.ts\r\nimport { isPlainObject as isPlainObject2 } from \"@reduxjs/toolkit\";\r\nvar defaultFetchFn = function () {\r\n    var args = [];\r\n    for (var _j = 0; _j < arguments.length; _j++) {\r\n        args[_j] = arguments[_j];\r\n    }\r\n    return fetch.apply(void 0, args);\r\n};\r\nvar defaultValidateStatus = function (response) { return response.status >= 200 && response.status <= 299; };\r\nvar defaultIsJsonContentType = function (headers) { return /ion\\/(vnd\\.api\\+)?json/.test(headers.get(\"content-type\") || \"\"); };\r\nfunction stripUndefined(obj) {\r\n    if (!isPlainObject2(obj)) {\r\n        return obj;\r\n    }\r\n    var copy = __spreadValues({}, obj);\r\n    for (var _j = 0, _k = Object.entries(copy); _j < _k.length; _j++) {\r\n        var _l = _k[_j], k = _l[0], v = _l[1];\r\n        if (v === void 0)\r\n            delete copy[k];\r\n    }\r\n    return copy;\r\n}\r\nfunction fetchBaseQuery(_a) {\r\n    var _this = this;\r\n    if (_a === void 0) { _a = {}; }\r\n    var _b = _a, baseUrl = _b.baseUrl, _j = _b.prepareHeaders, prepareHeaders = _j === void 0 ? function (x) { return x; } : _j, _k = _b.fetchFn, fetchFn = _k === void 0 ? defaultFetchFn : _k, paramsSerializer = _b.paramsSerializer, _l = _b.isJsonContentType, isJsonContentType = _l === void 0 ? defaultIsJsonContentType : _l, _m = _b.jsonContentType, jsonContentType = _m === void 0 ? \"application/json\" : _m, jsonReplacer = _b.jsonReplacer, defaultTimeout = _b.timeout, globalResponseHandler = _b.responseHandler, globalValidateStatus = _b.validateStatus, baseFetchOptions = __objRest(_b, [\r\n        \"baseUrl\",\r\n        \"prepareHeaders\",\r\n        \"fetchFn\",\r\n        \"paramsSerializer\",\r\n        \"isJsonContentType\",\r\n        \"jsonContentType\",\r\n        \"jsonReplacer\",\r\n        \"timeout\",\r\n        \"responseHandler\",\r\n        \"validateStatus\"\r\n    ]);\r\n    if (typeof fetch === \"undefined\" && fetchFn === defaultFetchFn) {\r\n        console.warn(\"Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments.\");\r\n    }\r\n    return function (arg, api) { return __async(_this, null, function () {\r\n        var signal, getState, extra, endpoint, forced, type, meta, _a2, url, _j, headers, _k, params, _l, responseHandler, _m, validateStatus, _o, timeout, rest, config, _p, isJsonifiable, divider, query, request, requestClone, response, timedOut, timeoutId, e_1, responseClone, resultData, responseText, handleResponseError_1, e_2;\r\n        return __generator(this, function (_q) {\r\n            switch (_q.label) {\r\n                case 0:\r\n                    signal = api.signal, getState = api.getState, extra = api.extra, endpoint = api.endpoint, forced = api.forced, type = api.type;\r\n                    _a2 = typeof arg == \"string\" ? { url: arg } : arg, url = _a2.url, _j = _a2.headers, headers = _j === void 0 ? new Headers(baseFetchOptions.headers) : _j, _k = _a2.params, params = _k === void 0 ? void 0 : _k, _l = _a2.responseHandler, responseHandler = _l === void 0 ? globalResponseHandler != null ? globalResponseHandler : \"json\" : _l, _m = _a2.validateStatus, validateStatus = _m === void 0 ? globalValidateStatus != null ? globalValidateStatus : defaultValidateStatus : _m, _o = _a2.timeout, timeout = _o === void 0 ? defaultTimeout : _o, rest = __objRest(_a2, [\r\n                        \"url\",\r\n                        \"headers\",\r\n                        \"params\",\r\n                        \"responseHandler\",\r\n                        \"validateStatus\",\r\n                        \"timeout\"\r\n                    ]);\r\n                    config = __spreadValues(__spreadProps(__spreadValues({}, baseFetchOptions), {\r\n                        signal: signal\r\n                    }), rest);\r\n                    headers = new Headers(stripUndefined(headers));\r\n                    _p = config;\r\n                    return [4 /*yield*/, prepareHeaders(headers, {\r\n                            getState: getState,\r\n                            extra: extra,\r\n                            endpoint: endpoint,\r\n                            forced: forced,\r\n                            type: type\r\n                        })];\r\n                case 1:\r\n                    _p.headers = (_q.sent()) || headers;\r\n                    isJsonifiable = function (body) { return typeof body === \"object\" && (isPlainObject2(body) || Array.isArray(body) || typeof body.toJSON === \"function\"); };\r\n                    if (!config.headers.has(\"content-type\") && isJsonifiable(config.body)) {\r\n                        config.headers.set(\"content-type\", jsonContentType);\r\n                    }\r\n                    if (isJsonifiable(config.body) && isJsonContentType(config.headers)) {\r\n                        config.body = JSON.stringify(config.body, jsonReplacer);\r\n                    }\r\n                    if (params) {\r\n                        divider = ~url.indexOf(\"?\") ? \"&\" : \"?\";\r\n                        query = paramsSerializer ? paramsSerializer(params) : new URLSearchParams(stripUndefined(params));\r\n                        url += divider + query;\r\n                    }\r\n                    url = joinUrls(baseUrl, url);\r\n                    request = new Request(url, config);\r\n                    requestClone = new Request(url, config);\r\n                    meta = { request: requestClone };\r\n                    timedOut = false, timeoutId = timeout && setTimeout(function () {\r\n                        timedOut = true;\r\n                        api.abort();\r\n                    }, timeout);\r\n                    _q.label = 2;\r\n                case 2:\r\n                    _q.trys.push([2, 4, 5, 6]);\r\n                    return [4 /*yield*/, fetchFn(request)];\r\n                case 3:\r\n                    response = _q.sent();\r\n                    return [3 /*break*/, 6];\r\n                case 4:\r\n                    e_1 = _q.sent();\r\n                    return [2 /*return*/, {\r\n                            error: {\r\n                                status: timedOut ? \"TIMEOUT_ERROR\" : \"FETCH_ERROR\",\r\n                                error: String(e_1)\r\n                            },\r\n                            meta: meta\r\n                        }];\r\n                case 5:\r\n                    if (timeoutId)\r\n                        clearTimeout(timeoutId);\r\n                    return [7 /*endfinally*/];\r\n                case 6:\r\n                    responseClone = response.clone();\r\n                    meta.response = responseClone;\r\n                    responseText = \"\";\r\n                    _q.label = 7;\r\n                case 7:\r\n                    _q.trys.push([7, 9, , 10]);\r\n                    return [4 /*yield*/, Promise.all([\r\n                            handleResponse(response, responseHandler).then(function (r) { return resultData = r; }, function (e) { return handleResponseError_1 = e; }),\r\n                            responseClone.text().then(function (r) { return responseText = r; }, function () {\r\n                            })\r\n                        ])];\r\n                case 8:\r\n                    _q.sent();\r\n                    if (handleResponseError_1)\r\n                        throw handleResponseError_1;\r\n                    return [3 /*break*/, 10];\r\n                case 9:\r\n                    e_2 = _q.sent();\r\n                    return [2 /*return*/, {\r\n                            error: {\r\n                                status: \"PARSING_ERROR\",\r\n                                originalStatus: response.status,\r\n                                data: responseText,\r\n                                error: String(e_2)\r\n                            },\r\n                            meta: meta\r\n                        }];\r\n                case 10: return [2 /*return*/, validateStatus(response, resultData) ? {\r\n                        data: resultData,\r\n                        meta: meta\r\n                    } : {\r\n                        error: {\r\n                            status: response.status,\r\n                            data: resultData\r\n                        },\r\n                        meta: meta\r\n                    }];\r\n            }\r\n        });\r\n    }); };\r\n    function handleResponse(response, responseHandler) {\r\n        return __async(this, null, function () {\r\n            var text;\r\n            return __generator(this, function (_j) {\r\n                switch (_j.label) {\r\n                    case 0:\r\n                        if (typeof responseHandler === \"function\") {\r\n                            return [2 /*return*/, responseHandler(response)];\r\n                        }\r\n                        if (responseHandler === \"content-type\") {\r\n                            responseHandler = isJsonContentType(response.headers) ? \"json\" : \"text\";\r\n                        }\r\n                        if (!(responseHandler === \"json\")) return [3 /*break*/, 2];\r\n                        return [4 /*yield*/, response.text()];\r\n                    case 1:\r\n                        text = _j.sent();\r\n                        return [2 /*return*/, text.length ? JSON.parse(text) : null];\r\n                    case 2: return [2 /*return*/, response.text()];\r\n                }\r\n            });\r\n        });\r\n    }\r\n}\r\n// src/query/HandledError.ts\r\nvar HandledError = /** @class */ (function () {\r\n    function HandledError(value, meta) {\r\n        if (meta === void 0) { meta = void 0; }\r\n        this.value = value;\r\n        this.meta = meta;\r\n    }\r\n    return HandledError;\r\n}());\r\n// src/query/retry.ts\r\nfunction defaultBackoff(attempt, maxRetries) {\r\n    if (attempt === void 0) { attempt = 0; }\r\n    if (maxRetries === void 0) { maxRetries = 5; }\r\n    return __async(this, null, function () {\r\n        var attempts, timeout;\r\n        return __generator(this, function (_j) {\r\n            switch (_j.label) {\r\n                case 0:\r\n                    attempts = Math.min(attempt, maxRetries);\r\n                    timeout = ~~((Math.random() + 0.4) * (300 << attempts));\r\n                    return [4 /*yield*/, new Promise(function (resolve) { return setTimeout(function (res) { return resolve(res); }, timeout); })];\r\n                case 1:\r\n                    _j.sent();\r\n                    return [2 /*return*/];\r\n            }\r\n        });\r\n    });\r\n}\r\nfunction fail(e) {\r\n    throw Object.assign(new HandledError({ error: e }), {\r\n        throwImmediately: true\r\n    });\r\n}\r\nvar EMPTY_OPTIONS = {};\r\nvar retryWithBackoff = function (baseQuery, defaultOptions) { return function (args, api, extraOptions) { return __async(void 0, null, function () {\r\n    var possibleMaxRetries, maxRetries, defaultRetryCondition, options, retry2, result, e_3;\r\n    return __generator(this, function (_j) {\r\n        switch (_j.label) {\r\n            case 0:\r\n                possibleMaxRetries = [\r\n                    5,\r\n                    (defaultOptions || EMPTY_OPTIONS).maxRetries,\r\n                    (extraOptions || EMPTY_OPTIONS).maxRetries\r\n                ].filter(function (x) { return x !== void 0; });\r\n                maxRetries = possibleMaxRetries.slice(-1)[0];\r\n                defaultRetryCondition = function (_, __, _j) {\r\n                    var attempt = _j.attempt;\r\n                    return attempt <= maxRetries;\r\n                };\r\n                options = __spreadValues(__spreadValues({\r\n                    maxRetries: maxRetries,\r\n                    backoff: defaultBackoff,\r\n                    retryCondition: defaultRetryCondition\r\n                }, defaultOptions), extraOptions);\r\n                retry2 = 0;\r\n                _j.label = 1;\r\n            case 1:\r\n                if (!true) return [3 /*break*/, 7];\r\n                _j.label = 2;\r\n            case 2:\r\n                _j.trys.push([2, 4, , 6]);\r\n                return [4 /*yield*/, baseQuery(args, api, extraOptions)];\r\n            case 3:\r\n                result = _j.sent();\r\n                if (result.error) {\r\n                    throw new HandledError(result);\r\n                }\r\n                return [2 /*return*/, result];\r\n            case 4:\r\n                e_3 = _j.sent();\r\n                retry2++;\r\n                if (e_3.throwImmediately) {\r\n                    if (e_3 instanceof HandledError) {\r\n                        return [2 /*return*/, e_3.value];\r\n                    }\r\n                    throw e_3;\r\n                }\r\n                if (e_3 instanceof HandledError && !options.retryCondition(e_3.value.error, args, {\r\n                    attempt: retry2,\r\n                    baseQueryApi: api,\r\n                    extraOptions: extraOptions\r\n                })) {\r\n                    return [2 /*return*/, e_3.value];\r\n                }\r\n                return [4 /*yield*/, options.backoff(retry2, options.maxRetries)];\r\n            case 5:\r\n                _j.sent();\r\n                return [3 /*break*/, 6];\r\n            case 6: return [3 /*break*/, 1];\r\n            case 7: return [2 /*return*/];\r\n        }\r\n    });\r\n}); }; };\r\nvar retry = /* @__PURE__ */ Object.assign(retryWithBackoff, { fail: fail });\r\n// src/query/core/setupListeners.ts\r\nimport { createAction } from \"@reduxjs/toolkit\";\r\nvar onFocus = /* @__PURE__ */ createAction(\"__rtkq/focused\");\r\nvar onFocusLost = /* @__PURE__ */ createAction(\"__rtkq/unfocused\");\r\nvar onOnline = /* @__PURE__ */ createAction(\"__rtkq/online\");\r\nvar onOffline = /* @__PURE__ */ createAction(\"__rtkq/offline\");\r\nvar initialized = false;\r\nfunction setupListeners(dispatch, customHandler) {\r\n    function defaultHandler() {\r\n        var handleFocus = function () { return dispatch(onFocus()); };\r\n        var handleFocusLost = function () { return dispatch(onFocusLost()); };\r\n        var handleOnline = function () { return dispatch(onOnline()); };\r\n        var handleOffline = function () { return dispatch(onOffline()); };\r\n        var handleVisibilityChange = function () {\r\n            if (window.document.visibilityState === \"visible\") {\r\n                handleFocus();\r\n            }\r\n            else {\r\n                handleFocusLost();\r\n            }\r\n        };\r\n        if (!initialized) {\r\n            if (typeof window !== \"undefined\" && window.addEventListener) {\r\n                window.addEventListener(\"visibilitychange\", handleVisibilityChange, false);\r\n                window.addEventListener(\"focus\", handleFocus, false);\r\n                window.addEventListener(\"online\", handleOnline, false);\r\n                window.addEventListener(\"offline\", handleOffline, false);\r\n                initialized = true;\r\n            }\r\n        }\r\n        var unsubscribe = function () {\r\n            window.removeEventListener(\"focus\", handleFocus);\r\n            window.removeEventListener(\"visibilitychange\", handleVisibilityChange);\r\n            window.removeEventListener(\"online\", handleOnline);\r\n            window.removeEventListener(\"offline\", handleOffline);\r\n            initialized = false;\r\n        };\r\n        return unsubscribe;\r\n    }\r\n    return customHandler ? customHandler(dispatch, { onFocus: onFocus, onFocusLost: onFocusLost, onOffline: onOffline, onOnline: onOnline }) : defaultHandler();\r\n}\r\n// src/query/core/buildSelectors.ts\r\nimport { createNextState as createNextState2, createSelector } from \"@reduxjs/toolkit\";\r\n// src/query/endpointDefinitions.ts\r\nvar DefinitionType;\r\n(function (DefinitionType2) {\r\n    DefinitionType2[\"query\"] = \"query\";\r\n    DefinitionType2[\"mutation\"] = \"mutation\";\r\n})(DefinitionType || (DefinitionType = {}));\r\nfunction isQueryDefinition(e) {\r\n    return e.type === DefinitionType.query;\r\n}\r\nfunction isMutationDefinition(e) {\r\n    return e.type === DefinitionType.mutation;\r\n}\r\nfunction calculateProvidedBy(description, result, error, queryArg, meta, assertTagTypes) {\r\n    if (isFunction(description)) {\r\n        return description(result, error, queryArg, meta).map(expandTagDescription).map(assertTagTypes);\r\n    }\r\n    if (Array.isArray(description)) {\r\n        return description.map(expandTagDescription).map(assertTagTypes);\r\n    }\r\n    return [];\r\n}\r\nfunction isFunction(t) {\r\n    return typeof t === \"function\";\r\n}\r\nfunction expandTagDescription(description) {\r\n    return typeof description === \"string\" ? { type: description } : description;\r\n}\r\n// src/query/core/buildSlice.ts\r\nimport { combineReducers, createAction as createAction2, createSlice, isAnyOf, isFulfilled as isFulfilled2, isRejectedWithValue as isRejectedWithValue2, createNextState, prepareAutoBatched } from \"@reduxjs/toolkit\";\r\n// src/query/utils/isNotNullish.ts\r\nfunction isNotNullish(v) {\r\n    return v != null;\r\n}\r\n// src/query/core/buildInitiate.ts\r\nvar forceQueryFnSymbol = Symbol(\"forceQueryFn\");\r\nvar isUpsertQuery = function (arg) { return typeof arg[forceQueryFnSymbol] === \"function\"; };\r\nfunction buildInitiate(_j) {\r\n    var serializeQueryArgs = _j.serializeQueryArgs, queryThunk = _j.queryThunk, mutationThunk = _j.mutationThunk, api = _j.api, context = _j.context;\r\n    var runningQueries = new Map();\r\n    var runningMutations = new Map();\r\n    var _k = api.internalActions, unsubscribeQueryResult = _k.unsubscribeQueryResult, removeMutationResult = _k.removeMutationResult, updateSubscriptionOptions = _k.updateSubscriptionOptions;\r\n    return {\r\n        buildInitiateQuery: buildInitiateQuery,\r\n        buildInitiateMutation: buildInitiateMutation,\r\n        getRunningQueryThunk: getRunningQueryThunk,\r\n        getRunningMutationThunk: getRunningMutationThunk,\r\n        getRunningQueriesThunk: getRunningQueriesThunk,\r\n        getRunningMutationsThunk: getRunningMutationsThunk,\r\n        getRunningOperationPromises: getRunningOperationPromises,\r\n        removalWarning: removalWarning\r\n    };\r\n    function removalWarning() {\r\n        throw new Error(\"This method had to be removed due to a conceptual bug in RTK.\\n       Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.\\n       See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.\");\r\n    }\r\n    function getRunningOperationPromises() {\r\n        if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"development\") {\r\n            removalWarning();\r\n        }\r\n        else {\r\n            var extract = function (v) { return Array.from(v.values()).flatMap(function (queriesForStore) { return queriesForStore ? Object.values(queriesForStore) : []; }); };\r\n            return __spreadArray(__spreadArray([], extract(runningQueries)), extract(runningMutations)).filter(isNotNullish);\r\n        }\r\n    }\r\n    function getRunningQueryThunk(endpointName, queryArgs) {\r\n        return function (dispatch) {\r\n            var _a;\r\n            var endpointDefinition = context.endpointDefinitions[endpointName];\r\n            var queryCacheKey = serializeQueryArgs({\r\n                queryArgs: queryArgs,\r\n                endpointDefinition: endpointDefinition,\r\n                endpointName: endpointName\r\n            });\r\n            return (_a = runningQueries.get(dispatch)) == null ? void 0 : _a[queryCacheKey];\r\n        };\r\n    }\r\n    function getRunningMutationThunk(_endpointName, fixedCacheKeyOrRequestId) {\r\n        return function (dispatch) {\r\n            var _a;\r\n            return (_a = runningMutations.get(dispatch)) == null ? void 0 : _a[fixedCacheKeyOrRequestId];\r\n        };\r\n    }\r\n    function getRunningQueriesThunk() {\r\n        return function (dispatch) { return Object.values(runningQueries.get(dispatch) || {}).filter(isNotNullish); };\r\n    }\r\n    function getRunningMutationsThunk() {\r\n        return function (dispatch) { return Object.values(runningMutations.get(dispatch) || {}).filter(isNotNullish); };\r\n    }\r\n    function middlewareWarning(dispatch) {\r\n        if (process.env.NODE_ENV !== \"production\") {\r\n            if (middlewareWarning.triggered)\r\n                return;\r\n            var registered = dispatch(api.internalActions.internal_probeSubscription({\r\n                queryCacheKey: \"DOES_NOT_EXIST\",\r\n                requestId: \"DUMMY_REQUEST_ID\"\r\n            }));\r\n            middlewareWarning.triggered = true;\r\n            if (typeof registered !== \"boolean\") {\r\n                throw new Error(\"Warning: Middleware for RTK-Query API at reducerPath \\\"\" + api.reducerPath + \"\\\" has not been added to the store.\\nYou must add the middleware for RTK-Query to function correctly!\");\r\n            }\r\n        }\r\n    }\r\n    function buildInitiateQuery(endpointName, endpointDefinition) {\r\n        var queryAction = function (arg, _j) {\r\n            var _k = _j === void 0 ? {} : _j, _l = _k.subscribe, subscribe = _l === void 0 ? true : _l, forceRefetch = _k.forceRefetch, subscriptionOptions = _k.subscriptionOptions, _m = forceQueryFnSymbol, forceQueryFn = _k[_m];\r\n            return function (dispatch, getState) {\r\n                var _j;\r\n                var _a;\r\n                var queryCacheKey = serializeQueryArgs({\r\n                    queryArgs: arg,\r\n                    endpointDefinition: endpointDefinition,\r\n                    endpointName: endpointName\r\n                });\r\n                var thunk = queryThunk((_j = {\r\n                        type: \"query\",\r\n                        subscribe: subscribe,\r\n                        forceRefetch: forceRefetch,\r\n                        subscriptionOptions: subscriptionOptions,\r\n                        endpointName: endpointName,\r\n                        originalArgs: arg,\r\n                        queryCacheKey: queryCacheKey\r\n                    },\r\n                    _j[forceQueryFnSymbol] = forceQueryFn,\r\n                    _j));\r\n                var selector = api.endpoints[endpointName].select(arg);\r\n                var thunkResult = dispatch(thunk);\r\n                var stateAfter = selector(getState());\r\n                middlewareWarning(dispatch);\r\n                var requestId = thunkResult.requestId, abort = thunkResult.abort;\r\n                var skippedSynchronously = stateAfter.requestId !== requestId;\r\n                var runningQuery = (_a = runningQueries.get(dispatch)) == null ? void 0 : _a[queryCacheKey];\r\n                var selectFromState = function () { return selector(getState()); };\r\n                var statePromise = Object.assign(forceQueryFn ? thunkResult.then(selectFromState) : skippedSynchronously && !runningQuery ? Promise.resolve(stateAfter) : Promise.all([runningQuery, thunkResult]).then(selectFromState), {\r\n                    arg: arg,\r\n                    requestId: requestId,\r\n                    subscriptionOptions: subscriptionOptions,\r\n                    queryCacheKey: queryCacheKey,\r\n                    abort: abort,\r\n                    unwrap: function () {\r\n                        return __async(this, null, function () {\r\n                            var result;\r\n                            return __generator(this, function (_j) {\r\n                                switch (_j.label) {\r\n                                    case 0: return [4 /*yield*/, statePromise];\r\n                                    case 1:\r\n                                        result = _j.sent();\r\n                                        if (result.isError) {\r\n                                            throw result.error;\r\n                                        }\r\n                                        return [2 /*return*/, result.data];\r\n                                }\r\n                            });\r\n                        });\r\n                    },\r\n                    refetch: function () { return dispatch(queryAction(arg, { subscribe: false, forceRefetch: true })); },\r\n                    unsubscribe: function () {\r\n                        if (subscribe)\r\n                            dispatch(unsubscribeQueryResult({\r\n                                queryCacheKey: queryCacheKey,\r\n                                requestId: requestId\r\n                            }));\r\n                    },\r\n                    updateSubscriptionOptions: function (options) {\r\n                        statePromise.subscriptionOptions = options;\r\n                        dispatch(updateSubscriptionOptions({\r\n                            endpointName: endpointName,\r\n                            requestId: requestId,\r\n                            queryCacheKey: queryCacheKey,\r\n                            options: options\r\n                        }));\r\n                    }\r\n                });\r\n                if (!runningQuery && !skippedSynchronously && !forceQueryFn) {\r\n                    var running_1 = runningQueries.get(dispatch) || {};\r\n                    running_1[queryCacheKey] = statePromise;\r\n                    runningQueries.set(dispatch, running_1);\r\n                    statePromise.then(function () {\r\n                        delete running_1[queryCacheKey];\r\n                        if (!Object.keys(running_1).length) {\r\n                            runningQueries.delete(dispatch);\r\n                        }\r\n                    });\r\n                }\r\n                return statePromise;\r\n            };\r\n        };\r\n        return queryAction;\r\n    }\r\n    function buildInitiateMutation(endpointName) {\r\n        return function (arg, _j) {\r\n            var _k = _j === void 0 ? {} : _j, _l = _k.track, track = _l === void 0 ? true : _l, fixedCacheKey = _k.fixedCacheKey;\r\n            return function (dispatch, getState) {\r\n                var thunk = mutationThunk({\r\n                    type: \"mutation\",\r\n                    endpointName: endpointName,\r\n                    originalArgs: arg,\r\n                    track: track,\r\n                    fixedCacheKey: fixedCacheKey\r\n                });\r\n                var thunkResult = dispatch(thunk);\r\n                middlewareWarning(dispatch);\r\n                var requestId = thunkResult.requestId, abort = thunkResult.abort, unwrap = thunkResult.unwrap;\r\n                var returnValuePromise = thunkResult.unwrap().then(function (data) { return ({ data: data }); }).catch(function (error) { return ({ error: error }); });\r\n                var reset = function () {\r\n                    dispatch(removeMutationResult({ requestId: requestId, fixedCacheKey: fixedCacheKey }));\r\n                };\r\n                var ret = Object.assign(returnValuePromise, {\r\n                    arg: thunkResult.arg,\r\n                    requestId: requestId,\r\n                    abort: abort,\r\n                    unwrap: unwrap,\r\n                    unsubscribe: reset,\r\n                    reset: reset\r\n                });\r\n                var running = runningMutations.get(dispatch) || {};\r\n                runningMutations.set(dispatch, running);\r\n                running[requestId] = ret;\r\n                ret.then(function () {\r\n                    delete running[requestId];\r\n                    if (!Object.keys(running).length) {\r\n                        runningMutations.delete(dispatch);\r\n                    }\r\n                });\r\n                if (fixedCacheKey) {\r\n                    running[fixedCacheKey] = ret;\r\n                    ret.then(function () {\r\n                        if (running[fixedCacheKey] === ret) {\r\n                            delete running[fixedCacheKey];\r\n                            if (!Object.keys(running).length) {\r\n                                runningMutations.delete(dispatch);\r\n                            }\r\n                        }\r\n                    });\r\n                }\r\n                return ret;\r\n            };\r\n        };\r\n    }\r\n}\r\n// src/query/core/buildThunks.ts\r\nimport { isAllOf, isFulfilled, isPending, isRejected, isRejectedWithValue } from \"@reduxjs/toolkit\";\r\nimport { isDraftable, produceWithPatches } from \"immer\";\r\nimport { createAsyncThunk, SHOULD_AUTOBATCH } from \"@reduxjs/toolkit\";\r\nfunction defaultTransformResponse(baseQueryReturnValue) {\r\n    return baseQueryReturnValue;\r\n}\r\nfunction buildThunks(_j) {\r\n    var _this = this;\r\n    var reducerPath = _j.reducerPath, baseQuery = _j.baseQuery, endpointDefinitions = _j.context.endpointDefinitions, serializeQueryArgs = _j.serializeQueryArgs, api = _j.api, assertTagType = _j.assertTagType;\r\n    var patchQueryData = function (endpointName, args, patches, updateProvided) { return function (dispatch, getState) {\r\n        var endpointDefinition = endpointDefinitions[endpointName];\r\n        var queryCacheKey = serializeQueryArgs({\r\n            queryArgs: args,\r\n            endpointDefinition: endpointDefinition,\r\n            endpointName: endpointName\r\n        });\r\n        dispatch(api.internalActions.queryResultPatched({ queryCacheKey: queryCacheKey, patches: patches }));\r\n        if (!updateProvided) {\r\n            return;\r\n        }\r\n        var newValue = api.endpoints[endpointName].select(args)(getState());\r\n        var providedTags = calculateProvidedBy(endpointDefinition.providesTags, newValue.data, void 0, args, {}, assertTagType);\r\n        dispatch(api.internalActions.updateProvidedBy({ queryCacheKey: queryCacheKey, providedTags: providedTags }));\r\n    }; };\r\n    var updateQueryData = function (endpointName, args, updateRecipe, updateProvided) {\r\n        if (updateProvided === void 0) { updateProvided = true; }\r\n        return function (dispatch, getState) {\r\n            var _j, _k;\r\n            var endpointDefinition = api.endpoints[endpointName];\r\n            var currentState = endpointDefinition.select(args)(getState());\r\n            var ret = {\r\n                patches: [],\r\n                inversePatches: [],\r\n                undo: function () { return dispatch(api.util.patchQueryData(endpointName, args, ret.inversePatches, updateProvided)); }\r\n            };\r\n            if (currentState.status === QueryStatus.uninitialized) {\r\n                return ret;\r\n            }\r\n            var newValue;\r\n            if (\"data\" in currentState) {\r\n                if (isDraftable(currentState.data)) {\r\n                    var _l = produceWithPatches(currentState.data, updateRecipe), value = _l[0], patches = _l[1], inversePatches = _l[2];\r\n                    (_j = ret.patches).push.apply(_j, patches);\r\n                    (_k = ret.inversePatches).push.apply(_k, inversePatches);\r\n                    newValue = value;\r\n                }\r\n                else {\r\n                    newValue = updateRecipe(currentState.data);\r\n                    ret.patches.push({ op: \"replace\", path: [], value: newValue });\r\n                    ret.inversePatches.push({\r\n                        op: \"replace\",\r\n                        path: [],\r\n                        value: currentState.data\r\n                    });\r\n                }\r\n            }\r\n            dispatch(api.util.patchQueryData(endpointName, args, ret.patches, updateProvided));\r\n            return ret;\r\n        };\r\n    };\r\n    var upsertQueryData = function (endpointName, args, value) { return function (dispatch) {\r\n        var _j;\r\n        return dispatch(api.endpoints[endpointName].initiate(args, (_j = {\r\n                subscribe: false,\r\n                forceRefetch: true\r\n            },\r\n            _j[forceQueryFnSymbol] = function () { return ({\r\n                data: value\r\n            }); },\r\n            _j)));\r\n    }; };\r\n    var executeEndpoint = function (_0, _1) { return __async(_this, [_0, _1], function (arg, _j) {\r\n        var endpointDefinition, transformResponse, result, baseQueryApi_1, forceQueryFn, what, err, _k, _l, key, _m, error_1, catchedError, transformErrorResponse, _o, e_4;\r\n        var _p, _q;\r\n        var signal = _j.signal, abort = _j.abort, rejectWithValue = _j.rejectWithValue, fulfillWithValue = _j.fulfillWithValue, dispatch = _j.dispatch, getState = _j.getState, extra = _j.extra;\r\n        return __generator(this, function (_r) {\r\n            switch (_r.label) {\r\n                case 0:\r\n                    endpointDefinition = endpointDefinitions[arg.endpointName];\r\n                    _r.label = 1;\r\n                case 1:\r\n                    _r.trys.push([1, 8, , 13]);\r\n                    transformResponse = defaultTransformResponse;\r\n                    result = void 0;\r\n                    baseQueryApi_1 = {\r\n                        signal: signal,\r\n                        abort: abort,\r\n                        dispatch: dispatch,\r\n                        getState: getState,\r\n                        extra: extra,\r\n                        endpoint: arg.endpointName,\r\n                        type: arg.type,\r\n                        forced: arg.type === \"query\" ? isForcedQuery(arg, getState()) : void 0\r\n                    };\r\n                    forceQueryFn = arg.type === \"query\" ? arg[forceQueryFnSymbol] : void 0;\r\n                    if (!forceQueryFn) return [3 /*break*/, 2];\r\n                    result = forceQueryFn();\r\n                    return [3 /*break*/, 6];\r\n                case 2:\r\n                    if (!endpointDefinition.query) return [3 /*break*/, 4];\r\n                    return [4 /*yield*/, baseQuery(endpointDefinition.query(arg.originalArgs), baseQueryApi_1, endpointDefinition.extraOptions)];\r\n                case 3:\r\n                    result = _r.sent();\r\n                    if (endpointDefinition.transformResponse) {\r\n                        transformResponse = endpointDefinition.transformResponse;\r\n                    }\r\n                    return [3 /*break*/, 6];\r\n                case 4: return [4 /*yield*/, endpointDefinition.queryFn(arg.originalArgs, baseQueryApi_1, endpointDefinition.extraOptions, function (arg2) { return baseQuery(arg2, baseQueryApi_1, endpointDefinition.extraOptions); })];\r\n                case 5:\r\n                    result = _r.sent();\r\n                    _r.label = 6;\r\n                case 6:\r\n                    if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"development\") {\r\n                        what = endpointDefinition.query ? \"`baseQuery`\" : \"`queryFn`\";\r\n                        err = void 0;\r\n                        if (!result) {\r\n                            err = what + \" did not return anything.\";\r\n                        }\r\n                        else if (typeof result !== \"object\") {\r\n                            err = what + \" did not return an object.\";\r\n                        }\r\n                        else if (result.error && result.data) {\r\n                            err = what + \" returned an object containing both `error` and `result`.\";\r\n                        }\r\n                        else if (result.error === void 0 && result.data === void 0) {\r\n                            err = what + \" returned an object containing neither a valid `error` and `result`. At least one of them should not be `undefined`\";\r\n                        }\r\n                        else {\r\n                            for (_k = 0, _l = Object.keys(result); _k < _l.length; _k++) {\r\n                                key = _l[_k];\r\n                                if (key !== \"error\" && key !== \"data\" && key !== \"meta\") {\r\n                                    err = \"The object returned by \" + what + \" has the unknown property \" + key + \".\";\r\n                                    break;\r\n                                }\r\n                            }\r\n                        }\r\n                        if (err) {\r\n                            console.error(\"Error encountered handling the endpoint \" + arg.endpointName + \".\\n              \" + err + \"\\n              It needs to return an object with either the shape `{ data: <value> }` or `{ error: <value> }` that may contain an optional `meta` property.\\n              Object returned was:\", result);\r\n                        }\r\n                    }\r\n                    if (result.error)\r\n                        throw new HandledError(result.error, result.meta);\r\n                    _m = fulfillWithValue;\r\n                    return [4 /*yield*/, transformResponse(result.data, result.meta, arg.originalArgs)];\r\n                case 7: return [2 /*return*/, _m.apply(void 0, [_r.sent(), (_p = {\r\n                                fulfilledTimeStamp: Date.now(),\r\n                                baseQueryMeta: result.meta\r\n                            },\r\n                            _p[SHOULD_AUTOBATCH] = true,\r\n                            _p)])];\r\n                case 8:\r\n                    error_1 = _r.sent();\r\n                    catchedError = error_1;\r\n                    if (!(catchedError instanceof HandledError)) return [3 /*break*/, 12];\r\n                    transformErrorResponse = defaultTransformResponse;\r\n                    if (endpointDefinition.query && endpointDefinition.transformErrorResponse) {\r\n                        transformErrorResponse = endpointDefinition.transformErrorResponse;\r\n                    }\r\n                    _r.label = 9;\r\n                case 9:\r\n                    _r.trys.push([9, 11, , 12]);\r\n                    _o = rejectWithValue;\r\n                    return [4 /*yield*/, transformErrorResponse(catchedError.value, catchedError.meta, arg.originalArgs)];\r\n                case 10: return [2 /*return*/, _o.apply(void 0, [_r.sent(), (_q = { baseQueryMeta: catchedError.meta }, _q[SHOULD_AUTOBATCH] = true, _q)])];\r\n                case 11:\r\n                    e_4 = _r.sent();\r\n                    catchedError = e_4;\r\n                    return [3 /*break*/, 12];\r\n                case 12:\r\n                    if (typeof process !== \"undefined\" && process.env.NODE_ENV !== \"production\") {\r\n                        console.error(\"An unhandled error occurred processing a request for the endpoint \\\"\" + arg.endpointName + \"\\\".\\nIn the case of an unhandled error, no tags will be \\\"provided\\\" or \\\"invalidated\\\".\", catchedError);\r\n                    }\r\n                    else {\r\n                        console.error(catchedError);\r\n                    }\r\n                    throw catchedError;\r\n                case 13: return [2 /*return*/];\r\n            }\r\n        });\r\n    }); };\r\n    function isForcedQuery(arg, state) {\r\n        var _a, _b, _c, _d;\r\n        var requestState = (_b = (_a = state[reducerPath]) == null ? void 0 : _a.queries) == null ? void 0 : _b[arg.queryCacheKey];\r\n        var baseFetchOnMountOrArgChange = (_c = state[reducerPath]) == null ? void 0 : _c.config.refetchOnMountOrArgChange;\r\n        var fulfilledVal = requestState == null ? void 0 : requestState.fulfilledTimeStamp;\r\n        var refetchVal = (_d = arg.forceRefetch) != null ? _d : arg.subscribe && baseFetchOnMountOrArgChange;\r\n        if (refetchVal) {\r\n            return refetchVal === true || (Number(new Date()) - Number(fulfilledVal)) / 1e3 >= refetchVal;\r\n        }\r\n        return false;\r\n    }\r\n    var queryThunk = createAsyncThunk(reducerPath + \"/executeQuery\", executeEndpoint, {\r\n        getPendingMeta: function () {\r\n            var _j;\r\n            return _j = { startedTimeStamp: Date.now() }, _j[SHOULD_AUTOBATCH] = true, _j;\r\n        },\r\n        condition: function (queryThunkArgs, _j) {\r\n            var getState = _j.getState;\r\n            var _a, _b, _c;\r\n            var state = getState();\r\n            var requestState = (_b = (_a = state[reducerPath]) == null ? void 0 : _a.queries) == null ? void 0 : _b[queryThunkArgs.queryCacheKey];\r\n            var fulfilledVal = requestState == null ? void 0 : requestState.fulfilledTimeStamp;\r\n            var currentArg = queryThunkArgs.originalArgs;\r\n            var previousArg = requestState == null ? void 0 : requestState.originalArgs;\r\n            var endpointDefinition = endpointDefinitions[queryThunkArgs.endpointName];\r\n            if (isUpsertQuery(queryThunkArgs)) {\r\n                return true;\r\n            }\r\n            if ((requestState == null ? void 0 : requestState.status) === \"pending\") {\r\n                return false;\r\n            }\r\n            if (isForcedQuery(queryThunkArgs, state)) {\r\n                return true;\r\n            }\r\n            if (isQueryDefinition(endpointDefinition) && ((_c = endpointDefinition == null ? void 0 : endpointDefinition.forceRefetch) == null ? void 0 : _c.call(endpointDefinition, {\r\n                currentArg: currentArg,\r\n                previousArg: previousArg,\r\n                endpointState: requestState,\r\n                state: state\r\n            }))) {\r\n                return true;\r\n            }\r\n            if (fulfilledVal) {\r\n                return false;\r\n            }\r\n            return true;\r\n        },\r\n        dispatchConditionRejection: true\r\n    });\r\n    var mutationThunk = createAsyncThunk(reducerPath + \"/executeMutation\", executeEndpoint, {\r\n        getPendingMeta: function () {\r\n            var _j;\r\n            return _j = { startedTimeStamp: Date.now() }, _j[SHOULD_AUTOBATCH] = true, _j;\r\n        }\r\n    });\r\n    var hasTheForce = function (options) { return \"force\" in options; };\r\n    var hasMaxAge = function (options) { return \"ifOlderThan\" in options; };\r\n    var prefetch = function (endpointName, arg, options) { return function (dispatch, getState) {\r\n        var force = hasTheForce(options) && options.force;\r\n        var maxAge = hasMaxAge(options) && options.ifOlderThan;\r\n        var queryAction = function (force2) {\r\n            if (force2 === void 0) { force2 = true; }\r\n            return api.endpoints[endpointName].initiate(arg, { forceRefetch: force2 });\r\n        };\r\n        var latestStateValue = api.endpoints[endpointName].select(arg)(getState());\r\n        if (force) {\r\n            dispatch(queryAction());\r\n        }\r\n        else if (maxAge) {\r\n            var lastFulfilledTs = latestStateValue == null ? void 0 : latestStateValue.fulfilledTimeStamp;\r\n            if (!lastFulfilledTs) {\r\n                dispatch(queryAction());\r\n                return;\r\n            }\r\n            var shouldRetrigger = (Number(new Date()) - Number(new Date(lastFulfilledTs))) / 1e3 >= maxAge;\r\n            if (shouldRetrigger) {\r\n                dispatch(queryAction());\r\n            }\r\n        }\r\n        else {\r\n            dispatch(queryAction(false));\r\n        }\r\n    }; };\r\n    function matchesEndpoint(endpointName) {\r\n        return function (action) {\r\n            var _a, _b;\r\n            return ((_b = (_a = action == null ? void 0 : action.meta) == null ? void 0 : _a.arg) == null ? void 0 : _b.endpointName) === endpointName;\r\n        };\r\n    }\r\n    function buildMatchThunkActions(thunk, endpointName) {\r\n        return {\r\n            matchPending: isAllOf(isPending(thunk), matchesEndpoint(endpointName)),\r\n            matchFulfilled: isAllOf(isFulfilled(thunk), matchesEndpoint(endpointName)),\r\n            matchRejected: isAllOf(isRejected(thunk), matchesEndpoint(endpointName))\r\n        };\r\n    }\r\n    return {\r\n        queryThunk: queryThunk,\r\n        mutationThunk: mutationThunk,\r\n        prefetch: prefetch,\r\n        updateQueryData: updateQueryData,\r\n        upsertQueryData: upsertQueryData,\r\n        patchQueryData: patchQueryData,\r\n        buildMatchThunkActions: buildMatchThunkActions\r\n    };\r\n}\r\nfunction calculateProvidedByThunk(action, type, endpointDefinitions, assertTagType) {\r\n    return calculateProvidedBy(endpointDefinitions[action.meta.arg.endpointName][type], isFulfilled(action) ? action.payload : void 0, isRejectedWithValue(action) ? action.payload : void 0, action.meta.arg.originalArgs, \"baseQueryMeta\" in action.meta ? action.meta.baseQueryMeta : void 0, assertTagType);\r\n}\r\n// src/query/core/buildSlice.ts\r\nimport { isDraft } from \"immer\";\r\nimport { applyPatches, original } from \"immer\";\r\nfunction updateQuerySubstateIfExists(state, queryCacheKey, update) {\r\n    var substate = state[queryCacheKey];\r\n    if (substate) {\r\n        update(substate);\r\n    }\r\n}\r\nfunction getMutationCacheKey(id) {\r\n    var _a;\r\n    return (_a = \"arg\" in id ? id.arg.fixedCacheKey : id.fixedCacheKey) != null ? _a : id.requestId;\r\n}\r\nfunction updateMutationSubstateIfExists(state, id, update) {\r\n    var substate = state[getMutationCacheKey(id)];\r\n    if (substate) {\r\n        update(substate);\r\n    }\r\n}\r\nvar initialState = {};\r\nfunction buildSlice(_j) {\r\n    var reducerPath = _j.reducerPath, queryThunk = _j.queryThunk, mutationThunk = _j.mutationThunk, _k = _j.context, definitions = _k.endpointDefinitions, apiUid = _k.apiUid, extractRehydrationInfo = _k.extractRehydrationInfo, hasRehydrationInfo = _k.hasRehydrationInfo, assertTagType = _j.assertTagType, config = _j.config;\r\n    var resetApiState = createAction2(reducerPath + \"/resetApiState\");\r\n    var querySlice = createSlice({\r\n        name: reducerPath + \"/queries\",\r\n        initialState: initialState,\r\n        reducers: {\r\n            removeQueryResult: {\r\n                reducer: function (draft, _j) {\r\n                    var queryCacheKey = _j.payload.queryCacheKey;\r\n                    delete draft[queryCacheKey];\r\n                },\r\n                prepare: prepareAutoBatched()\r\n            },\r\n            queryResultPatched: {\r\n                reducer: function (draft, _j) {\r\n                    var _k = _j.payload, queryCacheKey = _k.queryCacheKey, patches = _k.patches;\r\n                    updateQuerySubstateIfExists(draft, queryCacheKey, function (substate) {\r\n                        substate.data = applyPatches(substate.data, patches.concat());\r\n                    });\r\n                },\r\n                prepare: prepareAutoBatched()\r\n            }\r\n        },\r\n        extraReducers: function (builder) {\r\n            builder.addCase(queryThunk.pending, function (draft, _j) {\r\n                var meta = _j.meta, arg = _j.meta.arg;\r\n                var _a, _b;\r\n                var upserting = isUpsertQuery(arg);\r\n                if (arg.subscribe || upserting) {\r\n                    (_b = draft[_a = arg.queryCacheKey]) != null ? _b : draft[_a] = {\r\n                        status: QueryStatus.uninitialized,\r\n                        endpointName: arg.endpointName\r\n                    };\r\n                }\r\n                updateQuerySubstateIfExists(draft, arg.queryCacheKey, function (substate) {\r\n                    substate.status = QueryStatus.pending;\r\n                    substate.requestId = upserting && substate.requestId ? substate.requestId : meta.requestId;\r\n                    if (arg.originalArgs !== void 0) {\r\n                        substate.originalArgs = arg.originalArgs;\r\n                    }\r\n                    substate.startedTimeStamp = meta.startedTimeStamp;\r\n                });\r\n            }).addCase(queryThunk.fulfilled, function (draft, _j) {\r\n                var meta = _j.meta, payload = _j.payload;\r\n                updateQuerySubstateIfExists(draft, meta.arg.queryCacheKey, function (substate) {\r\n                    var _a;\r\n                    if (substate.requestId !== meta.requestId && !isUpsertQuery(meta.arg))\r\n                        return;\r\n                    var merge = definitions[meta.arg.endpointName].merge;\r\n                    substate.status = QueryStatus.fulfilled;\r\n                    if (merge) {\r\n                        if (substate.data !== void 0) {\r\n                            var fulfilledTimeStamp_1 = meta.fulfilledTimeStamp, arg_1 = meta.arg, baseQueryMeta_1 = meta.baseQueryMeta, requestId_1 = meta.requestId;\r\n                            var newData = createNextState(substate.data, function (draftSubstateData) {\r\n                                return merge(draftSubstateData, payload, {\r\n                                    arg: arg_1.originalArgs,\r\n                                    baseQueryMeta: baseQueryMeta_1,\r\n                                    fulfilledTimeStamp: fulfilledTimeStamp_1,\r\n                                    requestId: requestId_1\r\n                                });\r\n                            });\r\n                            substate.data = newData;\r\n                        }\r\n                        else {\r\n                            substate.data = payload;\r\n                        }\r\n                    }\r\n                    else {\r\n                        substate.data = ((_a = definitions[meta.arg.endpointName].structuralSharing) != null ? _a : true) ? copyWithStructuralSharing(isDraft(substate.data) ? original(substate.data) : substate.data, payload) : payload;\r\n                    }\r\n                    delete substate.error;\r\n                    substate.fulfilledTimeStamp = meta.fulfilledTimeStamp;\r\n                });\r\n            }).addCase(queryThunk.rejected, function (draft, _j) {\r\n                var _k = _j.meta, condition = _k.condition, arg = _k.arg, requestId = _k.requestId, error = _j.error, payload = _j.payload;\r\n                updateQuerySubstateIfExists(draft, arg.queryCacheKey, function (substate) {\r\n                    if (condition) {\r\n                    }\r\n                    else {\r\n                        if (substate.requestId !== requestId)\r\n                            return;\r\n                        substate.status = QueryStatus.rejected;\r\n                        substate.error = payload != null ? payload : error;\r\n                    }\r\n                });\r\n            }).addMatcher(hasRehydrationInfo, function (draft, action) {\r\n                var queries = extractRehydrationInfo(action).queries;\r\n                for (var _j = 0, _k = Object.entries(queries); _j < _k.length; _j++) {\r\n                    var _l = _k[_j], key = _l[0], entry = _l[1];\r\n                    if ((entry == null ? void 0 : entry.status) === QueryStatus.fulfilled || (entry == null ? void 0 : entry.status) === QueryStatus.rejected) {\r\n                        draft[key] = entry;\r\n                    }\r\n                }\r\n            });\r\n        }\r\n    });\r\n    var mutationSlice = createSlice({\r\n        name: reducerPath + \"/mutations\",\r\n        initialState: initialState,\r\n        reducers: {\r\n            removeMutationResult: {\r\n                reducer: function (draft, _j) {\r\n                    var payload = _j.payload;\r\n                    var cacheKey = getMutationCacheKey(payload);\r\n                    if (cacheKey in draft) {\r\n                        delete draft[cacheKey];\r\n                    }\r\n                },\r\n                prepare: prepareAutoBatched()\r\n            }\r\n        },\r\n        extraReducers: function (builder) {\r\n            builder.addCase(mutationThunk.pending, function (draft, _j) {\r\n                var meta = _j.meta, _k = _j.meta, requestId = _k.requestId, arg = _k.arg, startedTimeStamp = _k.startedTimeStamp;\r\n                if (!arg.track)\r\n                    return;\r\n                draft[getMutationCacheKey(meta)] = {\r\n                    requestId: requestId,\r\n                    status: QueryStatus.pending,\r\n                    endpointName: arg.endpointName,\r\n                    startedTimeStamp: startedTimeStamp\r\n                };\r\n            }).addCase(mutationThunk.fulfilled, function (draft, _j) {\r\n                var payload = _j.payload, meta = _j.meta;\r\n                if (!meta.arg.track)\r\n                    return;\r\n                updateMutationSubstateIfExists(draft, meta, function (substate) {\r\n                    if (substate.requestId !== meta.requestId)\r\n                        return;\r\n                    substate.status = QueryStatus.fulfilled;\r\n                    substate.data = payload;\r\n                    substate.fulfilledTimeStamp = meta.fulfilledTimeStamp;\r\n                });\r\n            }).addCase(mutationThunk.rejected, function (draft, _j) {\r\n                var payload = _j.payload, error = _j.error, meta = _j.meta;\r\n                if (!meta.arg.track)\r\n                    return;\r\n                updateMutationSubstateIfExists(draft, meta, function (substate) {\r\n                    if (substate.requestId !== meta.requestId)\r\n                        return;\r\n                    substate.status = QueryStatus.rejected;\r\n                    substate.error = payload != null ? payload : error;\r\n                });\r\n            }).addMatcher(hasRehydrationInfo, function (draft, action) {\r\n                var mutations = extractRehydrationInfo(action).mutations;\r\n                for (var _j = 0, _k = Object.entries(mutations); _j < _k.length; _j++) {\r\n                    var _l = _k[_j], key = _l[0], entry = _l[1];\r\n                    if (((entry == null ? void 0 : entry.status) === QueryStatus.fulfilled || (entry == null ? void 0 : entry.status) === QueryStatus.rejected) && key !== (entry == null ? void 0 : entry.requestId)) {\r\n                        draft[key] = entry;\r\n                    }\r\n                }\r\n            });\r\n        }\r\n    });\r\n    var invalidationSlice = createSlice({\r\n        name: reducerPath + \"/invalidation\",\r\n        initialState: initialState,\r\n        reducers: {\r\n            updateProvidedBy: {\r\n                reducer: function (draft, action) {\r\n                    var _a, _b, _c, _d;\r\n                    var _j = action.payload, queryCacheKey = _j.queryCacheKey, providedTags = _j.providedTags;\r\n                    for (var _k = 0, _l = Object.values(draft); _k < _l.length; _k++) {\r\n                        var tagTypeSubscriptions = _l[_k];\r\n                        for (var _m = 0, _o = Object.values(tagTypeSubscriptions); _m < _o.length; _m++) {\r\n                            var idSubscriptions = _o[_m];\r\n                            var foundAt = idSubscriptions.indexOf(queryCacheKey);\r\n                            if (foundAt !== -1) {\r\n                                idSubscriptions.splice(foundAt, 1);\r\n                            }\r\n                        }\r\n                    }\r\n                    for (var _p = 0, providedTags_1 = providedTags; _p < providedTags_1.length; _p++) {\r\n                        var _q = providedTags_1[_p], type = _q.type, id = _q.id;\r\n                        var subscribedQueries = (_d = (_b = (_a = draft[type]) != null ? _a : draft[type] = {})[_c = id || \"__internal_without_id\"]) != null ? _d : _b[_c] = [];\r\n                        var alreadySubscribed = subscribedQueries.includes(queryCacheKey);\r\n                        if (!alreadySubscribed) {\r\n                            subscribedQueries.push(queryCacheKey);\r\n                        }\r\n                    }\r\n                },\r\n                prepare: prepareAutoBatched()\r\n            }\r\n        },\r\n        extraReducers: function (builder) {\r\n            builder.addCase(querySlice.actions.removeQueryResult, function (draft, _j) {\r\n                var queryCacheKey = _j.payload.queryCacheKey;\r\n                for (var _k = 0, _l = Object.values(draft); _k < _l.length; _k++) {\r\n                    var tagTypeSubscriptions = _l[_k];\r\n                    for (var _m = 0, _o = Object.values(tagTypeSubscriptions); _m < _o.length; _m++) {\r\n                        var idSubscriptions = _o[_m];\r\n                        var foundAt = idSubscriptions.indexOf(queryCacheKey);\r\n                        if (foundAt !== -1) {\r\n                            idSubscriptions.splice(foundAt, 1);\r\n                        }\r\n                    }\r\n                }\r\n            }).addMatcher(hasRehydrationInfo, function (draft, action) {\r\n                var _a, _b, _c, _d;\r\n                var provided = extractRehydrationInfo(action).provided;\r\n                for (var _j = 0, _k = Object.entries(provided); _j < _k.length; _j++) {\r\n                    var _l = _k[_j], type = _l[0], incomingTags = _l[1];\r\n                    for (var _m = 0, _o = Object.entries(incomingTags); _m < _o.length; _m++) {\r\n                        var _p = _o[_m], id = _p[0], cacheKeys = _p[1];\r\n                        var subscribedQueries = (_d = (_b = (_a = draft[type]) != null ? _a : draft[type] = {})[_c = id || \"__internal_without_id\"]) != null ? _d : _b[_c] = [];\r\n                        for (var _q = 0, cacheKeys_1 = cacheKeys; _q < cacheKeys_1.length; _q++) {\r\n                            var queryCacheKey = cacheKeys_1[_q];\r\n                            var alreadySubscribed = subscribedQueries.includes(queryCacheKey);\r\n                            if (!alreadySubscribed) {\r\n                                subscribedQueries.push(queryCacheKey);\r\n                            }\r\n                        }\r\n                    }\r\n                }\r\n            }).addMatcher(isAnyOf(isFulfilled2(queryThunk), isRejectedWithValue2(queryThunk)), function (draft, action) {\r\n                var providedTags = calculateProvidedByThunk(action, \"providesTags\", definitions, assertTagType);\r\n                var queryCacheKey = action.meta.arg.queryCacheKey;\r\n                invalidationSlice.caseReducers.updateProvidedBy(draft, invalidationSlice.actions.updateProvidedBy({\r\n                    queryCacheKey: queryCacheKey,\r\n                    providedTags: providedTags\r\n                }));\r\n            });\r\n        }\r\n    });\r\n    var subscriptionSlice = createSlice({\r\n        name: reducerPath + \"/subscriptions\",\r\n        initialState: initialState,\r\n        reducers: {\r\n            updateSubscriptionOptions: function (d, a) {\r\n            },\r\n            unsubscribeQueryResult: function (d, a) {\r\n            },\r\n            internal_probeSubscription: function (d, a) {\r\n            }\r\n        }\r\n    });\r\n    var internalSubscriptionsSlice = createSlice({\r\n        name: reducerPath + \"/internalSubscriptions\",\r\n        initialState: initialState,\r\n        reducers: {\r\n            subscriptionsUpdated: {\r\n                reducer: function (state, action) {\r\n                    return applyPatches(state, action.payload);\r\n                },\r\n                prepare: prepareAutoBatched()\r\n            }\r\n        }\r\n    });\r\n    var configSlice = createSlice({\r\n        name: reducerPath + \"/config\",\r\n        initialState: __spreadValues({\r\n            online: isOnline(),\r\n            focused: isDocumentVisible(),\r\n            middlewareRegistered: false\r\n        }, config),\r\n        reducers: {\r\n            middlewareRegistered: function (state, _j) {\r\n                var payload = _j.payload;\r\n                state.middlewareRegistered = state.middlewareRegistered === \"conflict\" || apiUid !== payload ? \"conflict\" : true;\r\n            }\r\n        },\r\n        extraReducers: function (builder) {\r\n            builder.addCase(onOnline, function (state) {\r\n                state.online = true;\r\n            }).addCase(onOffline, function (state) {\r\n                state.online = false;\r\n            }).addCase(onFocus, function (state) {\r\n                state.focused = true;\r\n            }).addCase(onFocusLost, function (state) {\r\n                state.focused = false;\r\n            }).addMatcher(hasRehydrationInfo, function (draft) { return __spreadValues({}, draft); });\r\n        }\r\n    });\r\n    var combinedReducer = combineReducers({\r\n        queries: querySlice.reducer,\r\n        mutations: mutationSlice.reducer,\r\n        provided: invalidationSlice.reducer,\r\n        subscriptions: internalSubscriptionsSlice.reducer,\r\n        config: configSlice.reducer\r\n    });\r\n    var reducer = function (state, action) { return combinedReducer(resetApiState.match(action) ? void 0 : state, action); };\r\n    var actions = __spreadProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, configSlice.actions), querySlice.actions), subscriptionSlice.actions), internalSubscriptionsSlice.actions), mutationSlice.actions), invalidationSlice.actions), {\r\n        unsubscribeMutationResult: mutationSlice.actions.removeMutationResult,\r\n        resetApiState: resetApiState\r\n    });\r\n    return { reducer: reducer, actions: actions };\r\n}\r\n// src/query/core/buildSelectors.ts\r\nvar skipToken = /* @__PURE__ */ Symbol.for(\"RTKQ/skipToken\");\r\nvar skipSelector = skipToken;\r\nvar initialSubState = {\r\n    status: QueryStatus.uninitialized\r\n};\r\nvar defaultQuerySubState = /* @__PURE__ */ createNextState2(initialSubState, function () {\r\n});\r\nvar defaultMutationSubState = /* @__PURE__ */ createNextState2(initialSubState, function () {\r\n});\r\nfunction buildSelectors(_j) {\r\n    var serializeQueryArgs = _j.serializeQueryArgs, reducerPath = _j.reducerPath;\r\n    var selectSkippedQuery = function (state) { return defaultQuerySubState; };\r\n    var selectSkippedMutation = function (state) { return defaultMutationSubState; };\r\n    return { buildQuerySelector: buildQuerySelector, buildMutationSelector: buildMutationSelector, selectInvalidatedBy: selectInvalidatedBy };\r\n    function withRequestFlags(substate) {\r\n        return __spreadValues(__spreadValues({}, substate), getRequestStatusFlags(substate.status));\r\n    }\r\n    function selectInternalState(rootState) {\r\n        var state = rootState[reducerPath];\r\n        if (process.env.NODE_ENV !== \"production\") {\r\n            if (!state) {\r\n                if (selectInternalState.triggered)\r\n                    return state;\r\n                selectInternalState.triggered = true;\r\n                console.error(\"Error: No data found at `state.\" + reducerPath + \"`. Did you forget to add the reducer to the store?\");\r\n            }\r\n        }\r\n        return state;\r\n    }\r\n    function buildQuerySelector(endpointName, endpointDefinition) {\r\n        return function (queryArgs) {\r\n            var serializedArgs = serializeQueryArgs({\r\n                queryArgs: queryArgs,\r\n                endpointDefinition: endpointDefinition,\r\n                endpointName: endpointName\r\n            });\r\n            var selectQuerySubstate = function (state) {\r\n                var _a, _b, _c;\r\n                return (_c = (_b = (_a = selectInternalState(state)) == null ? void 0 : _a.queries) == null ? void 0 : _b[serializedArgs]) != null ? _c : defaultQuerySubState;\r\n            };\r\n            var finalSelectQuerySubState = queryArgs === skipToken ? selectSkippedQuery : selectQuerySubstate;\r\n            return createSelector(finalSelectQuerySubState, withRequestFlags);\r\n        };\r\n    }\r\n    function buildMutationSelector() {\r\n        return function (id) {\r\n            var _a;\r\n            var mutationId;\r\n            if (typeof id === \"object\") {\r\n                mutationId = (_a = getMutationCacheKey(id)) != null ? _a : skipToken;\r\n            }\r\n            else {\r\n                mutationId = id;\r\n            }\r\n            var selectMutationSubstate = function (state) {\r\n                var _a2, _b, _c;\r\n                return (_c = (_b = (_a2 = selectInternalState(state)) == null ? void 0 : _a2.mutations) == null ? void 0 : _b[mutationId]) != null ? _c : defaultMutationSubState;\r\n            };\r\n            var finalSelectMutationSubstate = mutationId === skipToken ? selectSkippedMutation : selectMutationSubstate;\r\n            return createSelector(finalSelectMutationSubstate, withRequestFlags);\r\n        };\r\n    }\r\n    function selectInvalidatedBy(state, tags) {\r\n        var _a;\r\n        var apiState = state[reducerPath];\r\n        var toInvalidate = new Set();\r\n        for (var _j = 0, _k = tags.map(expandTagDescription); _j < _k.length; _j++) {\r\n            var tag = _k[_j];\r\n            var provided = apiState.provided[tag.type];\r\n            if (!provided) {\r\n                continue;\r\n            }\r\n            var invalidateSubscriptions = (_a = tag.id !== void 0 ? provided[tag.id] : flatten(Object.values(provided))) != null ? _a : [];\r\n            for (var _l = 0, invalidateSubscriptions_1 = invalidateSubscriptions; _l < invalidateSubscriptions_1.length; _l++) {\r\n                var invalidate = invalidateSubscriptions_1[_l];\r\n                toInvalidate.add(invalidate);\r\n            }\r\n        }\r\n        return flatten(Array.from(toInvalidate.values()).map(function (queryCacheKey) {\r\n            var querySubState = apiState.queries[queryCacheKey];\r\n            return querySubState ? [\r\n                {\r\n                    queryCacheKey: queryCacheKey,\r\n                    endpointName: querySubState.endpointName,\r\n                    originalArgs: querySubState.originalArgs\r\n                }\r\n            ] : [];\r\n        }));\r\n    }\r\n}\r\n// src/query/defaultSerializeQueryArgs.ts\r\nimport { isPlainObject as isPlainObject3 } from \"@reduxjs/toolkit\";\r\nvar cache = WeakMap ? new WeakMap() : void 0;\r\nvar defaultSerializeQueryArgs = function (_j) {\r\n    var endpointName = _j.endpointName, queryArgs = _j.queryArgs;\r\n    var serialized = \"\";\r\n    var cached = cache == null ? void 0 : cache.get(queryArgs);\r\n    if (typeof cached === \"string\") {\r\n        serialized = cached;\r\n    }\r\n    else {\r\n        var stringified = JSON.stringify(queryArgs, function (key, value) { return isPlainObject3(value) ? Object.keys(value).sort().reduce(function (acc, key2) {\r\n            acc[key2] = value[key2];\r\n            return acc;\r\n        }, {}) : value; });\r\n        if (isPlainObject3(queryArgs)) {\r\n            cache == null ? void 0 : cache.set(queryArgs, stringified);\r\n        }\r\n        serialized = stringified;\r\n    }\r\n    return endpointName + \"(\" + serialized + \")\";\r\n};\r\n// src/query/createApi.ts\r\nimport { nanoid } from \"@reduxjs/toolkit\";\r\nimport { defaultMemoize } from \"reselect\";\r\nfunction buildCreateApi() {\r\n    var modules = [];\r\n    for (var _j = 0; _j < arguments.length; _j++) {\r\n        modules[_j] = arguments[_j];\r\n    }\r\n    return function baseCreateApi(options) {\r\n        var extractRehydrationInfo = defaultMemoize(function (action) {\r\n            var _a, _b;\r\n            return (_b = options.extractRehydrationInfo) == null ? void 0 : _b.call(options, action, {\r\n                reducerPath: (_a = options.reducerPath) != null ? _a : \"api\"\r\n            });\r\n        });\r\n        var optionsWithDefaults = __spreadProps(__spreadValues({\r\n            reducerPath: \"api\",\r\n            keepUnusedDataFor: 60,\r\n            refetchOnMountOrArgChange: false,\r\n            refetchOnFocus: false,\r\n            refetchOnReconnect: false\r\n        }, options), {\r\n            extractRehydrationInfo: extractRehydrationInfo,\r\n            serializeQueryArgs: function (queryArgsApi) {\r\n                var finalSerializeQueryArgs = defaultSerializeQueryArgs;\r\n                if (\"serializeQueryArgs\" in queryArgsApi.endpointDefinition) {\r\n                    var endpointSQA_1 = queryArgsApi.endpointDefinition.serializeQueryArgs;\r\n                    finalSerializeQueryArgs = function (queryArgsApi2) {\r\n                        var initialResult = endpointSQA_1(queryArgsApi2);\r\n                        if (typeof initialResult === \"string\") {\r\n                            return initialResult;\r\n                        }\r\n                        else {\r\n                            return defaultSerializeQueryArgs(__spreadProps(__spreadValues({}, queryArgsApi2), {\r\n                                queryArgs: initialResult\r\n                            }));\r\n                        }\r\n                    };\r\n                }\r\n                else if (options.serializeQueryArgs) {\r\n                    finalSerializeQueryArgs = options.serializeQueryArgs;\r\n                }\r\n                return finalSerializeQueryArgs(queryArgsApi);\r\n            },\r\n            tagTypes: __spreadArray([], options.tagTypes || [])\r\n        });\r\n        var context = {\r\n            endpointDefinitions: {},\r\n            batch: function (fn) {\r\n                fn();\r\n            },\r\n            apiUid: nanoid(),\r\n            extractRehydrationInfo: extractRehydrationInfo,\r\n            hasRehydrationInfo: defaultMemoize(function (action) { return extractRehydrationInfo(action) != null; })\r\n        };\r\n        var api = {\r\n            injectEndpoints: injectEndpoints,\r\n            enhanceEndpoints: function (_j) {\r\n                var addTagTypes = _j.addTagTypes, endpoints = _j.endpoints;\r\n                if (addTagTypes) {\r\n                    for (var _k = 0, addTagTypes_1 = addTagTypes; _k < addTagTypes_1.length; _k++) {\r\n                        var eT = addTagTypes_1[_k];\r\n                        if (!optionsWithDefaults.tagTypes.includes(eT)) {\r\n                            ;\r\n                            optionsWithDefaults.tagTypes.push(eT);\r\n                        }\r\n                    }\r\n                }\r\n                if (endpoints) {\r\n                    for (var _l = 0, _m = Object.entries(endpoints); _l < _m.length; _l++) {\r\n                        var _o = _m[_l], endpointName = _o[0], partialDefinition = _o[1];\r\n                        if (typeof partialDefinition === \"function\") {\r\n                            partialDefinition(context.endpointDefinitions[endpointName]);\r\n                        }\r\n                        else {\r\n                            Object.assign(context.endpointDefinitions[endpointName] || {}, partialDefinition);\r\n                        }\r\n                    }\r\n                }\r\n                return api;\r\n            }\r\n        };\r\n        var initializedModules = modules.map(function (m) { return m.init(api, optionsWithDefaults, context); });\r\n        function injectEndpoints(inject) {\r\n            var evaluatedEndpoints = inject.endpoints({\r\n                query: function (x) { return __spreadProps(__spreadValues({}, x), { type: DefinitionType.query }); },\r\n                mutation: function (x) { return __spreadProps(__spreadValues({}, x), { type: DefinitionType.mutation }); }\r\n            });\r\n            for (var _j = 0, _k = Object.entries(evaluatedEndpoints); _j < _k.length; _j++) {\r\n                var _l = _k[_j], endpointName = _l[0], definition = _l[1];\r\n                if (!inject.overrideExisting && endpointName in context.endpointDefinitions) {\r\n                    if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"development\") {\r\n                        console.error(\"called `injectEndpoints` to override already-existing endpointName \" + endpointName + \" without specifying `overrideExisting: true`\");\r\n                    }\r\n                    continue;\r\n                }\r\n                context.endpointDefinitions[endpointName] = definition;\r\n                for (var _m = 0, initializedModules_1 = initializedModules; _m < initializedModules_1.length; _m++) {\r\n                    var m = initializedModules_1[_m];\r\n                    m.injectEndpoint(endpointName, definition);\r\n                }\r\n            }\r\n            return api;\r\n        }\r\n        return api.injectEndpoints({ endpoints: options.endpoints });\r\n    };\r\n}\r\n// src/query/fakeBaseQuery.ts\r\nfunction fakeBaseQuery() {\r\n    return function () {\r\n        throw new Error(\"When using `fakeBaseQuery`, all queries & mutations must use the `queryFn` definition syntax.\");\r\n    };\r\n}\r\n// src/query/core/buildMiddleware/index.ts\r\nimport { createAction as createAction3 } from \"@reduxjs/toolkit\";\r\n// src/query/core/buildMiddleware/cacheCollection.ts\r\nfunction isObjectEmpty(obj) {\r\n    for (var k in obj) {\r\n        return false;\r\n    }\r\n    return true;\r\n}\r\nvar THIRTY_TWO_BIT_MAX_TIMER_SECONDS = 2147483647 / 1e3 - 1;\r\nvar buildCacheCollectionHandler = function (_j) {\r\n    var reducerPath = _j.reducerPath, api = _j.api, context = _j.context, internalState = _j.internalState;\r\n    var _k = api.internalActions, removeQueryResult = _k.removeQueryResult, unsubscribeQueryResult = _k.unsubscribeQueryResult;\r\n    function anySubscriptionsRemainingForKey(queryCacheKey) {\r\n        var subscriptions = internalState.currentSubscriptions[queryCacheKey];\r\n        return !!subscriptions && !isObjectEmpty(subscriptions);\r\n    }\r\n    var currentRemovalTimeouts = {};\r\n    var handler = function (action, mwApi, internalState2) {\r\n        var _a;\r\n        if (unsubscribeQueryResult.match(action)) {\r\n            var state = mwApi.getState()[reducerPath];\r\n            var queryCacheKey = action.payload.queryCacheKey;\r\n            handleUnsubscribe(queryCacheKey, (_a = state.queries[queryCacheKey]) == null ? void 0 : _a.endpointName, mwApi, state.config);\r\n        }\r\n        if (api.util.resetApiState.match(action)) {\r\n            for (var _j = 0, _k = Object.entries(currentRemovalTimeouts); _j < _k.length; _j++) {\r\n                var _l = _k[_j], key = _l[0], timeout = _l[1];\r\n                if (timeout)\r\n                    clearTimeout(timeout);\r\n                delete currentRemovalTimeouts[key];\r\n            }\r\n        }\r\n        if (context.hasRehydrationInfo(action)) {\r\n            var state = mwApi.getState()[reducerPath];\r\n            var queries = context.extractRehydrationInfo(action).queries;\r\n            for (var _m = 0, _o = Object.entries(queries); _m < _o.length; _m++) {\r\n                var _p = _o[_m], queryCacheKey = _p[0], queryState = _p[1];\r\n                handleUnsubscribe(queryCacheKey, queryState == null ? void 0 : queryState.endpointName, mwApi, state.config);\r\n            }\r\n        }\r\n    };\r\n    function handleUnsubscribe(queryCacheKey, endpointName, api2, config) {\r\n        var _a;\r\n        var endpointDefinition = context.endpointDefinitions[endpointName];\r\n        var keepUnusedDataFor = (_a = endpointDefinition == null ? void 0 : endpointDefinition.keepUnusedDataFor) != null ? _a : config.keepUnusedDataFor;\r\n        if (keepUnusedDataFor === Infinity) {\r\n            return;\r\n        }\r\n        var finalKeepUnusedDataFor = Math.max(0, Math.min(keepUnusedDataFor, THIRTY_TWO_BIT_MAX_TIMER_SECONDS));\r\n        if (!anySubscriptionsRemainingForKey(queryCacheKey)) {\r\n            var currentTimeout = currentRemovalTimeouts[queryCacheKey];\r\n            if (currentTimeout) {\r\n                clearTimeout(currentTimeout);\r\n            }\r\n            currentRemovalTimeouts[queryCacheKey] = setTimeout(function () {\r\n                if (!anySubscriptionsRemainingForKey(queryCacheKey)) {\r\n                    api2.dispatch(removeQueryResult({ queryCacheKey: queryCacheKey }));\r\n                }\r\n                delete currentRemovalTimeouts[queryCacheKey];\r\n            }, finalKeepUnusedDataFor * 1e3);\r\n        }\r\n    }\r\n    return handler;\r\n};\r\n// src/query/core/buildMiddleware/invalidationByTags.ts\r\nimport { isAnyOf as isAnyOf2, isFulfilled as isFulfilled3, isRejectedWithValue as isRejectedWithValue3 } from \"@reduxjs/toolkit\";\r\nvar buildInvalidationByTagsHandler = function (_j) {\r\n    var reducerPath = _j.reducerPath, context = _j.context, endpointDefinitions = _j.context.endpointDefinitions, mutationThunk = _j.mutationThunk, api = _j.api, assertTagType = _j.assertTagType, refetchQuery = _j.refetchQuery;\r\n    var removeQueryResult = api.internalActions.removeQueryResult;\r\n    var isThunkActionWithTags = isAnyOf2(isFulfilled3(mutationThunk), isRejectedWithValue3(mutationThunk));\r\n    var handler = function (action, mwApi) {\r\n        if (isThunkActionWithTags(action)) {\r\n            invalidateTags(calculateProvidedByThunk(action, \"invalidatesTags\", endpointDefinitions, assertTagType), mwApi);\r\n        }\r\n        if (api.util.invalidateTags.match(action)) {\r\n            invalidateTags(calculateProvidedBy(action.payload, void 0, void 0, void 0, void 0, assertTagType), mwApi);\r\n        }\r\n    };\r\n    function invalidateTags(tags, mwApi) {\r\n        var rootState = mwApi.getState();\r\n        var state = rootState[reducerPath];\r\n        var toInvalidate = api.util.selectInvalidatedBy(rootState, tags);\r\n        context.batch(function () {\r\n            var _a;\r\n            var valuesArray = Array.from(toInvalidate.values());\r\n            for (var _j = 0, valuesArray_1 = valuesArray; _j < valuesArray_1.length; _j++) {\r\n                var queryCacheKey = valuesArray_1[_j].queryCacheKey;\r\n                var querySubState = state.queries[queryCacheKey];\r\n                var subscriptionSubState = (_a = state.subscriptions[queryCacheKey]) != null ? _a : {};\r\n                if (querySubState) {\r\n                    if (Object.keys(subscriptionSubState).length === 0) {\r\n                        mwApi.dispatch(removeQueryResult({\r\n                            queryCacheKey: queryCacheKey\r\n                        }));\r\n                    }\r\n                    else if (querySubState.status !== QueryStatus.uninitialized) {\r\n                        mwApi.dispatch(refetchQuery(querySubState, queryCacheKey));\r\n                    }\r\n                }\r\n            }\r\n        });\r\n    }\r\n    return handler;\r\n};\r\n// src/query/core/buildMiddleware/polling.ts\r\nvar buildPollingHandler = function (_j) {\r\n    var reducerPath = _j.reducerPath, queryThunk = _j.queryThunk, api = _j.api, refetchQuery = _j.refetchQuery, internalState = _j.internalState;\r\n    var currentPolls = {};\r\n    var handler = function (action, mwApi) {\r\n        if (api.internalActions.updateSubscriptionOptions.match(action) || api.internalActions.unsubscribeQueryResult.match(action)) {\r\n            updatePollingInterval(action.payload, mwApi);\r\n        }\r\n        if (queryThunk.pending.match(action) || queryThunk.rejected.match(action) && action.meta.condition) {\r\n            updatePollingInterval(action.meta.arg, mwApi);\r\n        }\r\n        if (queryThunk.fulfilled.match(action) || queryThunk.rejected.match(action) && !action.meta.condition) {\r\n            startNextPoll(action.meta.arg, mwApi);\r\n        }\r\n        if (api.util.resetApiState.match(action)) {\r\n            clearPolls();\r\n        }\r\n    };\r\n    function startNextPoll(_j, api2) {\r\n        var queryCacheKey = _j.queryCacheKey;\r\n        var state = api2.getState()[reducerPath];\r\n        var querySubState = state.queries[queryCacheKey];\r\n        var subscriptions = internalState.currentSubscriptions[queryCacheKey];\r\n        if (!querySubState || querySubState.status === QueryStatus.uninitialized)\r\n            return;\r\n        var lowestPollingInterval = findLowestPollingInterval(subscriptions);\r\n        if (!Number.isFinite(lowestPollingInterval))\r\n            return;\r\n        var currentPoll = currentPolls[queryCacheKey];\r\n        if (currentPoll == null ? void 0 : currentPoll.timeout) {\r\n            clearTimeout(currentPoll.timeout);\r\n            currentPoll.timeout = void 0;\r\n        }\r\n        var nextPollTimestamp = Date.now() + lowestPollingInterval;\r\n        var currentInterval = currentPolls[queryCacheKey] = {\r\n            nextPollTimestamp: nextPollTimestamp,\r\n            pollingInterval: lowestPollingInterval,\r\n            timeout: setTimeout(function () {\r\n                currentInterval.timeout = void 0;\r\n                api2.dispatch(refetchQuery(querySubState, queryCacheKey));\r\n            }, lowestPollingInterval)\r\n        };\r\n    }\r\n    function updatePollingInterval(_j, api2) {\r\n        var queryCacheKey = _j.queryCacheKey;\r\n        var state = api2.getState()[reducerPath];\r\n        var querySubState = state.queries[queryCacheKey];\r\n        var subscriptions = internalState.currentSubscriptions[queryCacheKey];\r\n        if (!querySubState || querySubState.status === QueryStatus.uninitialized) {\r\n            return;\r\n        }\r\n        var lowestPollingInterval = findLowestPollingInterval(subscriptions);\r\n        if (!Number.isFinite(lowestPollingInterval)) {\r\n            cleanupPollForKey(queryCacheKey);\r\n            return;\r\n        }\r\n        var currentPoll = currentPolls[queryCacheKey];\r\n        var nextPollTimestamp = Date.now() + lowestPollingInterval;\r\n        if (!currentPoll || nextPollTimestamp < currentPoll.nextPollTimestamp) {\r\n            startNextPoll({ queryCacheKey: queryCacheKey }, api2);\r\n        }\r\n    }\r\n    function cleanupPollForKey(key) {\r\n        var existingPoll = currentPolls[key];\r\n        if (existingPoll == null ? void 0 : existingPoll.timeout) {\r\n            clearTimeout(existingPoll.timeout);\r\n        }\r\n        delete currentPolls[key];\r\n    }\r\n    function clearPolls() {\r\n        for (var _j = 0, _k = Object.keys(currentPolls); _j < _k.length; _j++) {\r\n            var key = _k[_j];\r\n            cleanupPollForKey(key);\r\n        }\r\n    }\r\n    function findLowestPollingInterval(subscribers) {\r\n        if (subscribers === void 0) { subscribers = {}; }\r\n        var lowestPollingInterval = Number.POSITIVE_INFINITY;\r\n        for (var key in subscribers) {\r\n            if (!!subscribers[key].pollingInterval) {\r\n                lowestPollingInterval = Math.min(subscribers[key].pollingInterval, lowestPollingInterval);\r\n            }\r\n        }\r\n        return lowestPollingInterval;\r\n    }\r\n    return handler;\r\n};\r\n// src/query/core/buildMiddleware/windowEventHandling.ts\r\nvar buildWindowEventHandler = function (_j) {\r\n    var reducerPath = _j.reducerPath, context = _j.context, api = _j.api, refetchQuery = _j.refetchQuery, internalState = _j.internalState;\r\n    var removeQueryResult = api.internalActions.removeQueryResult;\r\n    var handler = function (action, mwApi) {\r\n        if (onFocus.match(action)) {\r\n            refetchValidQueries(mwApi, \"refetchOnFocus\");\r\n        }\r\n        if (onOnline.match(action)) {\r\n            refetchValidQueries(mwApi, \"refetchOnReconnect\");\r\n        }\r\n    };\r\n    function refetchValidQueries(api2, type) {\r\n        var state = api2.getState()[reducerPath];\r\n        var queries = state.queries;\r\n        var subscriptions = internalState.currentSubscriptions;\r\n        context.batch(function () {\r\n            for (var _j = 0, _k = Object.keys(subscriptions); _j < _k.length; _j++) {\r\n                var queryCacheKey = _k[_j];\r\n                var querySubState = queries[queryCacheKey];\r\n                var subscriptionSubState = subscriptions[queryCacheKey];\r\n                if (!subscriptionSubState || !querySubState)\r\n                    continue;\r\n                var shouldRefetch = Object.values(subscriptionSubState).some(function (sub) { return sub[type] === true; }) || Object.values(subscriptionSubState).every(function (sub) { return sub[type] === void 0; }) && state.config[type];\r\n                if (shouldRefetch) {\r\n                    if (Object.keys(subscriptionSubState).length === 0) {\r\n                        api2.dispatch(removeQueryResult({\r\n                            queryCacheKey: queryCacheKey\r\n                        }));\r\n                    }\r\n                    else if (querySubState.status !== QueryStatus.uninitialized) {\r\n                        api2.dispatch(refetchQuery(querySubState, queryCacheKey));\r\n                    }\r\n                }\r\n            }\r\n        });\r\n    }\r\n    return handler;\r\n};\r\n// src/query/core/buildMiddleware/cacheLifecycle.ts\r\nimport { isAsyncThunkAction, isFulfilled as isFulfilled4 } from \"@reduxjs/toolkit\";\r\nvar neverResolvedError = new Error(\"Promise never resolved before cacheEntryRemoved.\");\r\nvar buildCacheLifecycleHandler = function (_j) {\r\n    var api = _j.api, reducerPath = _j.reducerPath, context = _j.context, queryThunk = _j.queryThunk, mutationThunk = _j.mutationThunk, internalState = _j.internalState;\r\n    var isQueryThunk = isAsyncThunkAction(queryThunk);\r\n    var isMutationThunk = isAsyncThunkAction(mutationThunk);\r\n    var isFulfilledThunk = isFulfilled4(queryThunk, mutationThunk);\r\n    var lifecycleMap = {};\r\n    var handler = function (action, mwApi, stateBefore) {\r\n        var cacheKey = getCacheKey(action);\r\n        if (queryThunk.pending.match(action)) {\r\n            var oldState = stateBefore[reducerPath].queries[cacheKey];\r\n            var state = mwApi.getState()[reducerPath].queries[cacheKey];\r\n            if (!oldState && state) {\r\n                handleNewKey(action.meta.arg.endpointName, action.meta.arg.originalArgs, cacheKey, mwApi, action.meta.requestId);\r\n            }\r\n        }\r\n        else if (mutationThunk.pending.match(action)) {\r\n            var state = mwApi.getState()[reducerPath].mutations[cacheKey];\r\n            if (state) {\r\n                handleNewKey(action.meta.arg.endpointName, action.meta.arg.originalArgs, cacheKey, mwApi, action.meta.requestId);\r\n            }\r\n        }\r\n        else if (isFulfilledThunk(action)) {\r\n            var lifecycle = lifecycleMap[cacheKey];\r\n            if (lifecycle == null ? void 0 : lifecycle.valueResolved) {\r\n                lifecycle.valueResolved({\r\n                    data: action.payload,\r\n                    meta: action.meta.baseQueryMeta\r\n                });\r\n                delete lifecycle.valueResolved;\r\n            }\r\n        }\r\n        else if (api.internalActions.removeQueryResult.match(action) || api.internalActions.removeMutationResult.match(action)) {\r\n            var lifecycle = lifecycleMap[cacheKey];\r\n            if (lifecycle) {\r\n                delete lifecycleMap[cacheKey];\r\n                lifecycle.cacheEntryRemoved();\r\n            }\r\n        }\r\n        else if (api.util.resetApiState.match(action)) {\r\n            for (var _j = 0, _k = Object.entries(lifecycleMap); _j < _k.length; _j++) {\r\n                var _l = _k[_j], cacheKey2 = _l[0], lifecycle = _l[1];\r\n                delete lifecycleMap[cacheKey2];\r\n                lifecycle.cacheEntryRemoved();\r\n            }\r\n        }\r\n    };\r\n    function getCacheKey(action) {\r\n        if (isQueryThunk(action))\r\n            return action.meta.arg.queryCacheKey;\r\n        if (isMutationThunk(action))\r\n            return action.meta.requestId;\r\n        if (api.internalActions.removeQueryResult.match(action))\r\n            return action.payload.queryCacheKey;\r\n        if (api.internalActions.removeMutationResult.match(action))\r\n            return getMutationCacheKey(action.payload);\r\n        return \"\";\r\n    }\r\n    function handleNewKey(endpointName, originalArgs, queryCacheKey, mwApi, requestId) {\r\n        var endpointDefinition = context.endpointDefinitions[endpointName];\r\n        var onCacheEntryAdded = endpointDefinition == null ? void 0 : endpointDefinition.onCacheEntryAdded;\r\n        if (!onCacheEntryAdded)\r\n            return;\r\n        var lifecycle = {};\r\n        var cacheEntryRemoved = new Promise(function (resolve) {\r\n            lifecycle.cacheEntryRemoved = resolve;\r\n        });\r\n        var cacheDataLoaded = Promise.race([\r\n            new Promise(function (resolve) {\r\n                lifecycle.valueResolved = resolve;\r\n            }),\r\n            cacheEntryRemoved.then(function () {\r\n                throw neverResolvedError;\r\n            })\r\n        ]);\r\n        cacheDataLoaded.catch(function () {\r\n        });\r\n        lifecycleMap[queryCacheKey] = lifecycle;\r\n        var selector = api.endpoints[endpointName].select(endpointDefinition.type === DefinitionType.query ? originalArgs : queryCacheKey);\r\n        var extra = mwApi.dispatch(function (_, __, extra2) { return extra2; });\r\n        var lifecycleApi = __spreadProps(__spreadValues({}, mwApi), {\r\n            getCacheEntry: function () { return selector(mwApi.getState()); },\r\n            requestId: requestId,\r\n            extra: extra,\r\n            updateCachedData: endpointDefinition.type === DefinitionType.query ? function (updateRecipe) { return mwApi.dispatch(api.util.updateQueryData(endpointName, originalArgs, updateRecipe)); } : void 0,\r\n            cacheDataLoaded: cacheDataLoaded,\r\n            cacheEntryRemoved: cacheEntryRemoved\r\n        });\r\n        var runningHandler = onCacheEntryAdded(originalArgs, lifecycleApi);\r\n        Promise.resolve(runningHandler).catch(function (e) {\r\n            if (e === neverResolvedError)\r\n                return;\r\n            throw e;\r\n        });\r\n    }\r\n    return handler;\r\n};\r\n// src/query/core/buildMiddleware/queryLifecycle.ts\r\nimport { isPending as isPending2, isRejected as isRejected2, isFulfilled as isFulfilled5 } from \"@reduxjs/toolkit\";\r\nvar buildQueryLifecycleHandler = function (_j) {\r\n    var api = _j.api, context = _j.context, queryThunk = _j.queryThunk, mutationThunk = _j.mutationThunk;\r\n    var isPendingThunk = isPending2(queryThunk, mutationThunk);\r\n    var isRejectedThunk = isRejected2(queryThunk, mutationThunk);\r\n    var isFullfilledThunk = isFulfilled5(queryThunk, mutationThunk);\r\n    var lifecycleMap = {};\r\n    var handler = function (action, mwApi) {\r\n        var _a, _b, _c;\r\n        if (isPendingThunk(action)) {\r\n            var _j = action.meta, requestId = _j.requestId, _k = _j.arg, endpointName_1 = _k.endpointName, originalArgs_1 = _k.originalArgs;\r\n            var endpointDefinition = context.endpointDefinitions[endpointName_1];\r\n            var onQueryStarted = endpointDefinition == null ? void 0 : endpointDefinition.onQueryStarted;\r\n            if (onQueryStarted) {\r\n                var lifecycle_1 = {};\r\n                var queryFulfilled = new Promise(function (resolve, reject) {\r\n                    lifecycle_1.resolve = resolve;\r\n                    lifecycle_1.reject = reject;\r\n                });\r\n                queryFulfilled.catch(function () {\r\n                });\r\n                lifecycleMap[requestId] = lifecycle_1;\r\n                var selector_1 = api.endpoints[endpointName_1].select(endpointDefinition.type === DefinitionType.query ? originalArgs_1 : requestId);\r\n                var extra = mwApi.dispatch(function (_, __, extra2) { return extra2; });\r\n                var lifecycleApi = __spreadProps(__spreadValues({}, mwApi), {\r\n                    getCacheEntry: function () { return selector_1(mwApi.getState()); },\r\n                    requestId: requestId,\r\n                    extra: extra,\r\n                    updateCachedData: endpointDefinition.type === DefinitionType.query ? function (updateRecipe) { return mwApi.dispatch(api.util.updateQueryData(endpointName_1, originalArgs_1, updateRecipe)); } : void 0,\r\n                    queryFulfilled: queryFulfilled\r\n                });\r\n                onQueryStarted(originalArgs_1, lifecycleApi);\r\n            }\r\n        }\r\n        else if (isFullfilledThunk(action)) {\r\n            var _l = action.meta, requestId = _l.requestId, baseQueryMeta = _l.baseQueryMeta;\r\n            (_a = lifecycleMap[requestId]) == null ? void 0 : _a.resolve({\r\n                data: action.payload,\r\n                meta: baseQueryMeta\r\n            });\r\n            delete lifecycleMap[requestId];\r\n        }\r\n        else if (isRejectedThunk(action)) {\r\n            var _m = action.meta, requestId = _m.requestId, rejectedWithValue = _m.rejectedWithValue, baseQueryMeta = _m.baseQueryMeta;\r\n            (_c = lifecycleMap[requestId]) == null ? void 0 : _c.reject({\r\n                error: (_b = action.payload) != null ? _b : action.error,\r\n                isUnhandledError: !rejectedWithValue,\r\n                meta: baseQueryMeta\r\n            });\r\n            delete lifecycleMap[requestId];\r\n        }\r\n    };\r\n    return handler;\r\n};\r\n// src/query/core/buildMiddleware/devMiddleware.ts\r\nvar buildDevCheckHandler = function (_j) {\r\n    var api = _j.api, apiUid = _j.context.apiUid, reducerPath = _j.reducerPath;\r\n    return function (action, mwApi) {\r\n        var _a, _b;\r\n        if (api.util.resetApiState.match(action)) {\r\n            mwApi.dispatch(api.internalActions.middlewareRegistered(apiUid));\r\n        }\r\n        if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"development\") {\r\n            if (api.internalActions.middlewareRegistered.match(action) && action.payload === apiUid && ((_b = (_a = mwApi.getState()[reducerPath]) == null ? void 0 : _a.config) == null ? void 0 : _b.middlewareRegistered) === \"conflict\") {\r\n                console.warn(\"There is a mismatch between slice and middleware for the reducerPath \\\"\" + reducerPath + \"\\\".\\nYou can only have one api per reducer path, this will lead to crashes in various situations!\" + (reducerPath === \"api\" ? \"\\nIf you have multiple apis, you *have* to specify the reducerPath option when using createApi!\" : \"\"));\r\n            }\r\n        }\r\n    };\r\n};\r\n// src/query/core/buildMiddleware/batchActions.ts\r\nimport { produceWithPatches as produceWithPatches2 } from \"immer\";\r\nvar promise;\r\nvar queueMicrotaskShim = typeof queueMicrotask === \"function\" ? queueMicrotask.bind(typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : globalThis) : function (cb) { return (promise || (promise = Promise.resolve())).then(cb).catch(function (err) { return setTimeout(function () {\r\n    throw err;\r\n}, 0); }); };\r\nvar buildBatchedActionsHandler = function (_j) {\r\n    var api = _j.api, queryThunk = _j.queryThunk, internalState = _j.internalState;\r\n    var subscriptionsPrefix = api.reducerPath + \"/subscriptions\";\r\n    var previousSubscriptions = null;\r\n    var dispatchQueued = false;\r\n    var _k = api.internalActions, updateSubscriptionOptions = _k.updateSubscriptionOptions, unsubscribeQueryResult = _k.unsubscribeQueryResult;\r\n    var actuallyMutateSubscriptions = function (mutableState, action) {\r\n        var _a, _b, _c, _d, _e, _f, _g, _h, _i;\r\n        if (updateSubscriptionOptions.match(action)) {\r\n            var _j = action.payload, queryCacheKey = _j.queryCacheKey, requestId = _j.requestId, options = _j.options;\r\n            if ((_a = mutableState == null ? void 0 : mutableState[queryCacheKey]) == null ? void 0 : _a[requestId]) {\r\n                mutableState[queryCacheKey][requestId] = options;\r\n            }\r\n            return true;\r\n        }\r\n        if (unsubscribeQueryResult.match(action)) {\r\n            var _k = action.payload, queryCacheKey = _k.queryCacheKey, requestId = _k.requestId;\r\n            if (mutableState[queryCacheKey]) {\r\n                delete mutableState[queryCacheKey][requestId];\r\n            }\r\n            return true;\r\n        }\r\n        if (api.internalActions.removeQueryResult.match(action)) {\r\n            delete mutableState[action.payload.queryCacheKey];\r\n            return true;\r\n        }\r\n        if (queryThunk.pending.match(action)) {\r\n            var _l = action.meta, arg = _l.arg, requestId = _l.requestId;\r\n            if (arg.subscribe) {\r\n                var substate = (_c = mutableState[_b = arg.queryCacheKey]) != null ? _c : mutableState[_b] = {};\r\n                substate[requestId] = (_e = (_d = arg.subscriptionOptions) != null ? _d : substate[requestId]) != null ? _e : {};\r\n                return true;\r\n            }\r\n        }\r\n        if (queryThunk.rejected.match(action)) {\r\n            var _m = action.meta, condition = _m.condition, arg = _m.arg, requestId = _m.requestId;\r\n            if (condition && arg.subscribe) {\r\n                var substate = (_g = mutableState[_f = arg.queryCacheKey]) != null ? _g : mutableState[_f] = {};\r\n                substate[requestId] = (_i = (_h = arg.subscriptionOptions) != null ? _h : substate[requestId]) != null ? _i : {};\r\n                return true;\r\n            }\r\n        }\r\n        return false;\r\n    };\r\n    return function (action, mwApi) {\r\n        var _a, _b;\r\n        if (!previousSubscriptions) {\r\n            previousSubscriptions = JSON.parse(JSON.stringify(internalState.currentSubscriptions));\r\n        }\r\n        if (api.util.resetApiState.match(action)) {\r\n            previousSubscriptions = internalState.currentSubscriptions = {};\r\n            return [true, false];\r\n        }\r\n        if (api.internalActions.internal_probeSubscription.match(action)) {\r\n            var _j = action.payload, queryCacheKey = _j.queryCacheKey, requestId = _j.requestId;\r\n            var hasSubscription = !!((_a = internalState.currentSubscriptions[queryCacheKey]) == null ? void 0 : _a[requestId]);\r\n            return [false, hasSubscription];\r\n        }\r\n        var didMutate = actuallyMutateSubscriptions(internalState.currentSubscriptions, action);\r\n        if (didMutate) {\r\n            if (!dispatchQueued) {\r\n                queueMicrotaskShim(function () {\r\n                    var newSubscriptions = JSON.parse(JSON.stringify(internalState.currentSubscriptions));\r\n                    var _j = produceWithPatches2(previousSubscriptions, function () { return newSubscriptions; }), patches = _j[1];\r\n                    mwApi.next(api.internalActions.subscriptionsUpdated(patches));\r\n                    previousSubscriptions = newSubscriptions;\r\n                    dispatchQueued = false;\r\n                });\r\n                dispatchQueued = true;\r\n            }\r\n            var isSubscriptionSliceAction = !!((_b = action.type) == null ? void 0 : _b.startsWith(subscriptionsPrefix));\r\n            var isAdditionalSubscriptionAction = queryThunk.rejected.match(action) && action.meta.condition && !!action.meta.arg.subscribe;\r\n            var actionShouldContinue = !isSubscriptionSliceAction && !isAdditionalSubscriptionAction;\r\n            return [actionShouldContinue, false];\r\n        }\r\n        return [true, false];\r\n    };\r\n};\r\n// src/query/core/buildMiddleware/index.ts\r\nfunction buildMiddleware(input) {\r\n    var reducerPath = input.reducerPath, queryThunk = input.queryThunk, api = input.api, context = input.context;\r\n    var apiUid = context.apiUid;\r\n    var actions = {\r\n        invalidateTags: createAction3(reducerPath + \"/invalidateTags\")\r\n    };\r\n    var isThisApiSliceAction = function (action) {\r\n        return !!action && typeof action.type === \"string\" && action.type.startsWith(reducerPath + \"/\");\r\n    };\r\n    var handlerBuilders = [\r\n        buildDevCheckHandler,\r\n        buildCacheCollectionHandler,\r\n        buildInvalidationByTagsHandler,\r\n        buildPollingHandler,\r\n        buildCacheLifecycleHandler,\r\n        buildQueryLifecycleHandler\r\n    ];\r\n    var middleware = function (mwApi) {\r\n        var initialized2 = false;\r\n        var internalState = {\r\n            currentSubscriptions: {}\r\n        };\r\n        var builderArgs = __spreadProps(__spreadValues({}, input), {\r\n            internalState: internalState,\r\n            refetchQuery: refetchQuery\r\n        });\r\n        var handlers = handlerBuilders.map(function (build) { return build(builderArgs); });\r\n        var batchedActionsHandler = buildBatchedActionsHandler(builderArgs);\r\n        var windowEventsHandler = buildWindowEventHandler(builderArgs);\r\n        return function (next) {\r\n            return function (action) {\r\n                if (!initialized2) {\r\n                    initialized2 = true;\r\n                    mwApi.dispatch(api.internalActions.middlewareRegistered(apiUid));\r\n                }\r\n                var mwApiWithNext = __spreadProps(__spreadValues({}, mwApi), { next: next });\r\n                var stateBefore = mwApi.getState();\r\n                var _j = batchedActionsHandler(action, mwApiWithNext, stateBefore), actionShouldContinue = _j[0], hasSubscription = _j[1];\r\n                var res;\r\n                if (actionShouldContinue) {\r\n                    res = next(action);\r\n                }\r\n                else {\r\n                    res = hasSubscription;\r\n                }\r\n                if (!!mwApi.getState()[reducerPath]) {\r\n                    windowEventsHandler(action, mwApiWithNext, stateBefore);\r\n                    if (isThisApiSliceAction(action) || context.hasRehydrationInfo(action)) {\r\n                        for (var _k = 0, handlers_1 = handlers; _k < handlers_1.length; _k++) {\r\n                            var handler = handlers_1[_k];\r\n                            handler(action, mwApiWithNext, stateBefore);\r\n                        }\r\n                    }\r\n                }\r\n                return res;\r\n            };\r\n        };\r\n    };\r\n    return { middleware: middleware, actions: actions };\r\n    function refetchQuery(querySubState, queryCacheKey, override) {\r\n        if (override === void 0) { override = {}; }\r\n        return queryThunk(__spreadValues({\r\n            type: \"query\",\r\n            endpointName: querySubState.endpointName,\r\n            originalArgs: querySubState.originalArgs,\r\n            subscribe: false,\r\n            forceRefetch: true,\r\n            queryCacheKey: queryCacheKey\r\n        }, override));\r\n    }\r\n}\r\n// src/query/tsHelpers.ts\r\nfunction assertCast(v) {\r\n}\r\nfunction safeAssign(target) {\r\n    var args = [];\r\n    for (var _j = 1; _j < arguments.length; _j++) {\r\n        args[_j - 1] = arguments[_j];\r\n    }\r\n    Object.assign.apply(Object, __spreadArray([target], args));\r\n}\r\n// src/query/core/module.ts\r\nimport { enablePatches } from \"immer\";\r\nvar coreModuleName = /* @__PURE__ */ Symbol();\r\nvar coreModule = function () { return ({\r\n    name: coreModuleName,\r\n    init: function (api, _j, context) {\r\n        var baseQuery = _j.baseQuery, tagTypes = _j.tagTypes, reducerPath = _j.reducerPath, serializeQueryArgs = _j.serializeQueryArgs, keepUnusedDataFor = _j.keepUnusedDataFor, refetchOnMountOrArgChange = _j.refetchOnMountOrArgChange, refetchOnFocus = _j.refetchOnFocus, refetchOnReconnect = _j.refetchOnReconnect;\r\n        enablePatches();\r\n        assertCast(serializeQueryArgs);\r\n        var assertTagType = function (tag) {\r\n            if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"development\") {\r\n                if (!tagTypes.includes(tag.type)) {\r\n                    console.error(\"Tag type '\" + tag.type + \"' was used, but not specified in `tagTypes`!\");\r\n                }\r\n            }\r\n            return tag;\r\n        };\r\n        Object.assign(api, {\r\n            reducerPath: reducerPath,\r\n            endpoints: {},\r\n            internalActions: {\r\n                onOnline: onOnline,\r\n                onOffline: onOffline,\r\n                onFocus: onFocus,\r\n                onFocusLost: onFocusLost\r\n            },\r\n            util: {}\r\n        });\r\n        var _k = buildThunks({\r\n            baseQuery: baseQuery,\r\n            reducerPath: reducerPath,\r\n            context: context,\r\n            api: api,\r\n            serializeQueryArgs: serializeQueryArgs,\r\n            assertTagType: assertTagType\r\n        }), queryThunk = _k.queryThunk, mutationThunk = _k.mutationThunk, patchQueryData = _k.patchQueryData, updateQueryData = _k.updateQueryData, upsertQueryData = _k.upsertQueryData, prefetch = _k.prefetch, buildMatchThunkActions = _k.buildMatchThunkActions;\r\n        var _l = buildSlice({\r\n            context: context,\r\n            queryThunk: queryThunk,\r\n            mutationThunk: mutationThunk,\r\n            reducerPath: reducerPath,\r\n            assertTagType: assertTagType,\r\n            config: {\r\n                refetchOnFocus: refetchOnFocus,\r\n                refetchOnReconnect: refetchOnReconnect,\r\n                refetchOnMountOrArgChange: refetchOnMountOrArgChange,\r\n                keepUnusedDataFor: keepUnusedDataFor,\r\n                reducerPath: reducerPath\r\n            }\r\n        }), reducer = _l.reducer, sliceActions = _l.actions;\r\n        safeAssign(api.util, {\r\n            patchQueryData: patchQueryData,\r\n            updateQueryData: updateQueryData,\r\n            upsertQueryData: upsertQueryData,\r\n            prefetch: prefetch,\r\n            resetApiState: sliceActions.resetApiState\r\n        });\r\n        safeAssign(api.internalActions, sliceActions);\r\n        var _m = buildMiddleware({\r\n            reducerPath: reducerPath,\r\n            context: context,\r\n            queryThunk: queryThunk,\r\n            mutationThunk: mutationThunk,\r\n            api: api,\r\n            assertTagType: assertTagType\r\n        }), middleware = _m.middleware, middlewareActions = _m.actions;\r\n        safeAssign(api.util, middlewareActions);\r\n        safeAssign(api, { reducer: reducer, middleware: middleware });\r\n        var _o = buildSelectors({\r\n            serializeQueryArgs: serializeQueryArgs,\r\n            reducerPath: reducerPath\r\n        }), buildQuerySelector = _o.buildQuerySelector, buildMutationSelector = _o.buildMutationSelector, selectInvalidatedBy = _o.selectInvalidatedBy;\r\n        safeAssign(api.util, { selectInvalidatedBy: selectInvalidatedBy });\r\n        var _p = buildInitiate({\r\n            queryThunk: queryThunk,\r\n            mutationThunk: mutationThunk,\r\n            api: api,\r\n            serializeQueryArgs: serializeQueryArgs,\r\n            context: context\r\n        }), buildInitiateQuery = _p.buildInitiateQuery, buildInitiateMutation = _p.buildInitiateMutation, getRunningMutationThunk = _p.getRunningMutationThunk, getRunningMutationsThunk = _p.getRunningMutationsThunk, getRunningQueriesThunk = _p.getRunningQueriesThunk, getRunningQueryThunk = _p.getRunningQueryThunk, getRunningOperationPromises = _p.getRunningOperationPromises, removalWarning = _p.removalWarning;\r\n        safeAssign(api.util, {\r\n            getRunningOperationPromises: getRunningOperationPromises,\r\n            getRunningOperationPromise: removalWarning,\r\n            getRunningMutationThunk: getRunningMutationThunk,\r\n            getRunningMutationsThunk: getRunningMutationsThunk,\r\n            getRunningQueryThunk: getRunningQueryThunk,\r\n            getRunningQueriesThunk: getRunningQueriesThunk\r\n        });\r\n        return {\r\n            name: coreModuleName,\r\n            injectEndpoint: function (endpointName, definition) {\r\n                var _a, _b;\r\n                var anyApi = api;\r\n                (_b = (_a = anyApi.endpoints)[endpointName]) != null ? _b : _a[endpointName] = {};\r\n                if (isQueryDefinition(definition)) {\r\n                    safeAssign(anyApi.endpoints[endpointName], {\r\n                        name: endpointName,\r\n                        select: buildQuerySelector(endpointName, definition),\r\n                        initiate: buildInitiateQuery(endpointName, definition)\r\n                    }, buildMatchThunkActions(queryThunk, endpointName));\r\n                }\r\n                else if (isMutationDefinition(definition)) {\r\n                    safeAssign(anyApi.endpoints[endpointName], {\r\n                        name: endpointName,\r\n                        select: buildMutationSelector(),\r\n                        initiate: buildInitiateMutation(endpointName)\r\n                    }, buildMatchThunkActions(mutationThunk, endpointName));\r\n                }\r\n            }\r\n        };\r\n    }\r\n}); };\r\n// src/query/core/index.ts\r\nvar createApi = /* @__PURE__ */ buildCreateApi(coreModule());\r\nexport { QueryStatus, buildCreateApi, copyWithStructuralSharing, coreModule, coreModuleName, createApi, defaultSerializeQueryArgs, fakeBaseQuery, fetchBaseQuery, retry, setupListeners, skipSelector, skipToken };\r\n//# sourceMappingURL=rtk-query.esm.js.map","var __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        if (typeof b !== \"function\" && b !== null)\r\n            throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from) {\r\n    for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n        to[j] = from[i];\r\n    return to;\r\n};\r\nvar __defProp = Object.defineProperty;\r\nvar __defProps = Object.defineProperties;\r\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\r\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\r\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\r\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\r\nvar __defNormalProp = function (obj, key, value) { return key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value }) : obj[key] = value; };\r\nvar __spreadValues = function (a, b) {\r\n    for (var prop in b || (b = {}))\r\n        if (__hasOwnProp.call(b, prop))\r\n            __defNormalProp(a, prop, b[prop]);\r\n    if (__getOwnPropSymbols)\r\n        for (var _i = 0, _c = __getOwnPropSymbols(b); _i < _c.length; _i++) {\r\n            var prop = _c[_i];\r\n            if (__propIsEnum.call(b, prop))\r\n                __defNormalProp(a, prop, b[prop]);\r\n        }\r\n    return a;\r\n};\r\nvar __spreadProps = function (a, b) { return __defProps(a, __getOwnPropDescs(b)); };\r\nvar __async = function (__this, __arguments, generator) {\r\n    return new Promise(function (resolve, reject) {\r\n        var fulfilled = function (value) {\r\n            try {\r\n                step(generator.next(value));\r\n            }\r\n            catch (e) {\r\n                reject(e);\r\n            }\r\n        };\r\n        var rejected = function (value) {\r\n            try {\r\n                step(generator.throw(value));\r\n            }\r\n            catch (e) {\r\n                reject(e);\r\n            }\r\n        };\r\n        var step = function (x) { return x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); };\r\n        step((generator = generator.apply(__this, __arguments)).next());\r\n    });\r\n};\r\n// src/index.ts\r\nimport { enableES5 } from \"immer\";\r\nexport * from \"redux\";\r\nimport { default as default2, current as current2, freeze, original, isDraft as isDraft4 } from \"immer\";\r\nimport { createSelector as createSelector2 } from \"reselect\";\r\n// src/createDraftSafeSelector.ts\r\nimport { current, isDraft } from \"immer\";\r\nimport { createSelector } from \"reselect\";\r\nvar createDraftSafeSelector = function () {\r\n    var args = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        args[_i] = arguments[_i];\r\n    }\r\n    var selector = createSelector.apply(void 0, args);\r\n    var wrappedSelector = function (value) {\r\n        var rest = [];\r\n        for (var _i = 1; _i < arguments.length; _i++) {\r\n            rest[_i - 1] = arguments[_i];\r\n        }\r\n        return selector.apply(void 0, __spreadArray([isDraft(value) ? current(value) : value], rest));\r\n    };\r\n    return wrappedSelector;\r\n};\r\n// src/configureStore.ts\r\nimport { createStore, compose as compose2, applyMiddleware, combineReducers } from \"redux\";\r\n// src/devtoolsExtension.ts\r\nimport { compose } from \"redux\";\r\nvar composeWithDevTools = typeof window !== \"undefined\" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function () {\r\n    if (arguments.length === 0)\r\n        return void 0;\r\n    if (typeof arguments[0] === \"object\")\r\n        return compose;\r\n    return compose.apply(null, arguments);\r\n};\r\nvar devToolsEnhancer = typeof window !== \"undefined\" && window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ : function () {\r\n    return function (noop2) {\r\n        return noop2;\r\n    };\r\n};\r\n// src/isPlainObject.ts\r\nfunction isPlainObject(value) {\r\n    if (typeof value !== \"object\" || value === null)\r\n        return false;\r\n    var proto = Object.getPrototypeOf(value);\r\n    if (proto === null)\r\n        return true;\r\n    var baseProto = proto;\r\n    while (Object.getPrototypeOf(baseProto) !== null) {\r\n        baseProto = Object.getPrototypeOf(baseProto);\r\n    }\r\n    return proto === baseProto;\r\n}\r\n// src/getDefaultMiddleware.ts\r\nimport thunkMiddleware from \"redux-thunk\";\r\n// src/tsHelpers.ts\r\nvar hasMatchFunction = function (v) {\r\n    return v && typeof v.match === \"function\";\r\n};\r\n// src/createAction.ts\r\nfunction createAction(type, prepareAction) {\r\n    function actionCreator() {\r\n        var args = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            args[_i] = arguments[_i];\r\n        }\r\n        if (prepareAction) {\r\n            var prepared = prepareAction.apply(void 0, args);\r\n            if (!prepared) {\r\n                throw new Error(\"prepareAction did not return an object\");\r\n            }\r\n            return __spreadValues(__spreadValues({\r\n                type: type,\r\n                payload: prepared.payload\r\n            }, \"meta\" in prepared && { meta: prepared.meta }), \"error\" in prepared && { error: prepared.error });\r\n        }\r\n        return { type: type, payload: args[0] };\r\n    }\r\n    actionCreator.toString = function () { return \"\" + type; };\r\n    actionCreator.type = type;\r\n    actionCreator.match = function (action) { return action.type === type; };\r\n    return actionCreator;\r\n}\r\nfunction isAction(action) {\r\n    return isPlainObject(action) && \"type\" in action;\r\n}\r\nfunction isActionCreator(action) {\r\n    return typeof action === \"function\" && \"type\" in action && hasMatchFunction(action);\r\n}\r\nfunction isFSA(action) {\r\n    return isAction(action) && typeof action.type === \"string\" && Object.keys(action).every(isValidKey);\r\n}\r\nfunction isValidKey(key) {\r\n    return [\"type\", \"payload\", \"error\", \"meta\"].indexOf(key) > -1;\r\n}\r\nfunction getType(actionCreator) {\r\n    return \"\" + actionCreator;\r\n}\r\n// src/actionCreatorInvariantMiddleware.ts\r\nfunction getMessage(type) {\r\n    var splitType = type ? (\"\" + type).split(\"/\") : [];\r\n    var actionName = splitType[splitType.length - 1] || \"actionCreator\";\r\n    return \"Detected an action creator with type \\\"\" + (type || \"unknown\") + \"\\\" being dispatched. \\nMake sure you're calling the action creator before dispatching, i.e. `dispatch(\" + actionName + \"())` instead of `dispatch(\" + actionName + \")`. This is necessary even if the action has no payload.\";\r\n}\r\nfunction createActionCreatorInvariantMiddleware(options) {\r\n    if (options === void 0) { options = {}; }\r\n    if (process.env.NODE_ENV === \"production\") {\r\n        return function () { return function (next) { return function (action) { return next(action); }; }; };\r\n    }\r\n    var _c = options.isActionCreator, isActionCreator2 = _c === void 0 ? isActionCreator : _c;\r\n    return function () { return function (next) { return function (action) {\r\n        if (isActionCreator2(action)) {\r\n            console.warn(getMessage(action.type));\r\n        }\r\n        return next(action);\r\n    }; }; };\r\n}\r\n// src/utils.ts\r\nimport createNextState, { isDraftable } from \"immer\";\r\nfunction getTimeMeasureUtils(maxDelay, fnName) {\r\n    var elapsed = 0;\r\n    return {\r\n        measureTime: function (fn) {\r\n            var started = Date.now();\r\n            try {\r\n                return fn();\r\n            }\r\n            finally {\r\n                var finished = Date.now();\r\n                elapsed += finished - started;\r\n            }\r\n        },\r\n        warnIfExceeded: function () {\r\n            if (elapsed > maxDelay) {\r\n                console.warn(fnName + \" took \" + elapsed + \"ms, which is more than the warning threshold of \" + maxDelay + \"ms. \\nIf your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.\\nIt is disabled in production builds, so you don't need to worry about that.\");\r\n            }\r\n        }\r\n    };\r\n}\r\nvar MiddlewareArray = /** @class */ (function (_super) {\r\n    __extends(MiddlewareArray, _super);\r\n    function MiddlewareArray() {\r\n        var args = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            args[_i] = arguments[_i];\r\n        }\r\n        var _this = _super.apply(this, args) || this;\r\n        Object.setPrototypeOf(_this, MiddlewareArray.prototype);\r\n        return _this;\r\n    }\r\n    Object.defineProperty(MiddlewareArray, Symbol.species, {\r\n        get: function () {\r\n            return MiddlewareArray;\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    MiddlewareArray.prototype.concat = function () {\r\n        var arr = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            arr[_i] = arguments[_i];\r\n        }\r\n        return _super.prototype.concat.apply(this, arr);\r\n    };\r\n    MiddlewareArray.prototype.prepend = function () {\r\n        var arr = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            arr[_i] = arguments[_i];\r\n        }\r\n        if (arr.length === 1 && Array.isArray(arr[0])) {\r\n            return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr[0].concat(this))))();\r\n        }\r\n        return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr.concat(this))))();\r\n    };\r\n    return MiddlewareArray;\r\n}(Array));\r\nvar EnhancerArray = /** @class */ (function (_super) {\r\n    __extends(EnhancerArray, _super);\r\n    function EnhancerArray() {\r\n        var args = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            args[_i] = arguments[_i];\r\n        }\r\n        var _this = _super.apply(this, args) || this;\r\n        Object.setPrototypeOf(_this, EnhancerArray.prototype);\r\n        return _this;\r\n    }\r\n    Object.defineProperty(EnhancerArray, Symbol.species, {\r\n        get: function () {\r\n            return EnhancerArray;\r\n        },\r\n        enumerable: false,\r\n        configurable: true\r\n    });\r\n    EnhancerArray.prototype.concat = function () {\r\n        var arr = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            arr[_i] = arguments[_i];\r\n        }\r\n        return _super.prototype.concat.apply(this, arr);\r\n    };\r\n    EnhancerArray.prototype.prepend = function () {\r\n        var arr = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            arr[_i] = arguments[_i];\r\n        }\r\n        if (arr.length === 1 && Array.isArray(arr[0])) {\r\n            return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr[0].concat(this))))();\r\n        }\r\n        return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr.concat(this))))();\r\n    };\r\n    return EnhancerArray;\r\n}(Array));\r\nfunction freezeDraftable(val) {\r\n    return isDraftable(val) ? createNextState(val, function () {\r\n    }) : val;\r\n}\r\n// src/immutableStateInvariantMiddleware.ts\r\nvar isProduction = process.env.NODE_ENV === \"production\";\r\nvar prefix = \"Invariant failed\";\r\nfunction invariant(condition, message) {\r\n    if (condition) {\r\n        return;\r\n    }\r\n    if (isProduction) {\r\n        throw new Error(prefix);\r\n    }\r\n    throw new Error(prefix + \": \" + (message || \"\"));\r\n}\r\nfunction stringify(obj, serializer, indent, decycler) {\r\n    return JSON.stringify(obj, getSerialize(serializer, decycler), indent);\r\n}\r\nfunction getSerialize(serializer, decycler) {\r\n    var stack = [], keys = [];\r\n    if (!decycler)\r\n        decycler = function (_, value) {\r\n            if (stack[0] === value)\r\n                return \"[Circular ~]\";\r\n            return \"[Circular ~.\" + keys.slice(0, stack.indexOf(value)).join(\".\") + \"]\";\r\n        };\r\n    return function (key, value) {\r\n        if (stack.length > 0) {\r\n            var thisPos = stack.indexOf(this);\r\n            ~thisPos ? stack.splice(thisPos + 1) : stack.push(this);\r\n            ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key);\r\n            if (~stack.indexOf(value))\r\n                value = decycler.call(this, key, value);\r\n        }\r\n        else\r\n            stack.push(value);\r\n        return serializer == null ? value : serializer.call(this, key, value);\r\n    };\r\n}\r\nfunction isImmutableDefault(value) {\r\n    return typeof value !== \"object\" || value == null || Object.isFrozen(value);\r\n}\r\nfunction trackForMutations(isImmutable, ignorePaths, obj) {\r\n    var trackedProperties = trackProperties(isImmutable, ignorePaths, obj);\r\n    return {\r\n        detectMutations: function () {\r\n            return detectMutations(isImmutable, ignorePaths, trackedProperties, obj);\r\n        }\r\n    };\r\n}\r\nfunction trackProperties(isImmutable, ignorePaths, obj, path, checkedObjects) {\r\n    if (ignorePaths === void 0) { ignorePaths = []; }\r\n    if (path === void 0) { path = \"\"; }\r\n    if (checkedObjects === void 0) { checkedObjects = new Set(); }\r\n    var tracked = { value: obj };\r\n    if (!isImmutable(obj) && !checkedObjects.has(obj)) {\r\n        checkedObjects.add(obj);\r\n        tracked.children = {};\r\n        for (var key in obj) {\r\n            var childPath = path ? path + \".\" + key : key;\r\n            if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) {\r\n                continue;\r\n            }\r\n            tracked.children[key] = trackProperties(isImmutable, ignorePaths, obj[key], childPath);\r\n        }\r\n    }\r\n    return tracked;\r\n}\r\nfunction detectMutations(isImmutable, ignoredPaths, trackedProperty, obj, sameParentRef, path) {\r\n    if (ignoredPaths === void 0) { ignoredPaths = []; }\r\n    if (sameParentRef === void 0) { sameParentRef = false; }\r\n    if (path === void 0) { path = \"\"; }\r\n    var prevObj = trackedProperty ? trackedProperty.value : void 0;\r\n    var sameRef = prevObj === obj;\r\n    if (sameParentRef && !sameRef && !Number.isNaN(obj)) {\r\n        return { wasMutated: true, path: path };\r\n    }\r\n    if (isImmutable(prevObj) || isImmutable(obj)) {\r\n        return { wasMutated: false };\r\n    }\r\n    var keysToDetect = {};\r\n    for (var key in trackedProperty.children) {\r\n        keysToDetect[key] = true;\r\n    }\r\n    for (var key in obj) {\r\n        keysToDetect[key] = true;\r\n    }\r\n    var hasIgnoredPaths = ignoredPaths.length > 0;\r\n    var _loop_1 = function (key) {\r\n        var nestedPath = path ? path + \".\" + key : key;\r\n        if (hasIgnoredPaths) {\r\n            var hasMatches = ignoredPaths.some(function (ignored) {\r\n                if (ignored instanceof RegExp) {\r\n                    return ignored.test(nestedPath);\r\n                }\r\n                return nestedPath === ignored;\r\n            });\r\n            if (hasMatches) {\r\n                return \"continue\";\r\n            }\r\n        }\r\n        var result = detectMutations(isImmutable, ignoredPaths, trackedProperty.children[key], obj[key], sameRef, nestedPath);\r\n        if (result.wasMutated) {\r\n            return { value: result };\r\n        }\r\n    };\r\n    for (var key in keysToDetect) {\r\n        var state_1 = _loop_1(key);\r\n        if (typeof state_1 === \"object\")\r\n            return state_1.value;\r\n    }\r\n    return { wasMutated: false };\r\n}\r\nfunction createImmutableStateInvariantMiddleware(options) {\r\n    if (options === void 0) { options = {}; }\r\n    if (process.env.NODE_ENV === \"production\") {\r\n        return function () { return function (next) { return function (action) { return next(action); }; }; };\r\n    }\r\n    var _c = options.isImmutable, isImmutable = _c === void 0 ? isImmutableDefault : _c, ignoredPaths = options.ignoredPaths, _d = options.warnAfter, warnAfter = _d === void 0 ? 32 : _d, ignore = options.ignore;\r\n    ignoredPaths = ignoredPaths || ignore;\r\n    var track = trackForMutations.bind(null, isImmutable, ignoredPaths);\r\n    return function (_c) {\r\n        var getState = _c.getState;\r\n        var state = getState();\r\n        var tracker = track(state);\r\n        var result;\r\n        return function (next) { return function (action) {\r\n            var measureUtils = getTimeMeasureUtils(warnAfter, \"ImmutableStateInvariantMiddleware\");\r\n            measureUtils.measureTime(function () {\r\n                state = getState();\r\n                result = tracker.detectMutations();\r\n                tracker = track(state);\r\n                invariant(!result.wasMutated, \"A state mutation was detected between dispatches, in the path '\" + (result.path || \"\") + \"'.  This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)\");\r\n            });\r\n            var dispatchedAction = next(action);\r\n            measureUtils.measureTime(function () {\r\n                state = getState();\r\n                result = tracker.detectMutations();\r\n                tracker = track(state);\r\n                result.wasMutated && invariant(!result.wasMutated, \"A state mutation was detected inside a dispatch, in the path: \" + (result.path || \"\") + \". Take a look at the reducer(s) handling the action \" + stringify(action) + \". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)\");\r\n            });\r\n            measureUtils.warnIfExceeded();\r\n            return dispatchedAction;\r\n        }; };\r\n    };\r\n}\r\n// src/serializableStateInvariantMiddleware.ts\r\nfunction isPlain(val) {\r\n    var type = typeof val;\r\n    return val == null || type === \"string\" || type === \"boolean\" || type === \"number\" || Array.isArray(val) || isPlainObject(val);\r\n}\r\nfunction findNonSerializableValue(value, path, isSerializable, getEntries, ignoredPaths, cache) {\r\n    if (path === void 0) { path = \"\"; }\r\n    if (isSerializable === void 0) { isSerializable = isPlain; }\r\n    if (ignoredPaths === void 0) { ignoredPaths = []; }\r\n    var foundNestedSerializable;\r\n    if (!isSerializable(value)) {\r\n        return {\r\n            keyPath: path || \"<root>\",\r\n            value: value\r\n        };\r\n    }\r\n    if (typeof value !== \"object\" || value === null) {\r\n        return false;\r\n    }\r\n    if (cache == null ? void 0 : cache.has(value))\r\n        return false;\r\n    var entries = getEntries != null ? getEntries(value) : Object.entries(value);\r\n    var hasIgnoredPaths = ignoredPaths.length > 0;\r\n    var _loop_2 = function (key, nestedValue) {\r\n        var nestedPath = path ? path + \".\" + key : key;\r\n        if (hasIgnoredPaths) {\r\n            var hasMatches = ignoredPaths.some(function (ignored) {\r\n                if (ignored instanceof RegExp) {\r\n                    return ignored.test(nestedPath);\r\n                }\r\n                return nestedPath === ignored;\r\n            });\r\n            if (hasMatches) {\r\n                return \"continue\";\r\n            }\r\n        }\r\n        if (!isSerializable(nestedValue)) {\r\n            return { value: {\r\n                    keyPath: nestedPath,\r\n                    value: nestedValue\r\n                } };\r\n        }\r\n        if (typeof nestedValue === \"object\") {\r\n            foundNestedSerializable = findNonSerializableValue(nestedValue, nestedPath, isSerializable, getEntries, ignoredPaths, cache);\r\n            if (foundNestedSerializable) {\r\n                return { value: foundNestedSerializable };\r\n            }\r\n        }\r\n    };\r\n    for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) {\r\n        var _c = entries_1[_i], key = _c[0], nestedValue = _c[1];\r\n        var state_2 = _loop_2(key, nestedValue);\r\n        if (typeof state_2 === \"object\")\r\n            return state_2.value;\r\n    }\r\n    if (cache && isNestedFrozen(value))\r\n        cache.add(value);\r\n    return false;\r\n}\r\nfunction isNestedFrozen(value) {\r\n    if (!Object.isFrozen(value))\r\n        return false;\r\n    for (var _i = 0, _c = Object.values(value); _i < _c.length; _i++) {\r\n        var nestedValue = _c[_i];\r\n        if (typeof nestedValue !== \"object\" || nestedValue === null)\r\n            continue;\r\n        if (!isNestedFrozen(nestedValue))\r\n            return false;\r\n    }\r\n    return true;\r\n}\r\nfunction createSerializableStateInvariantMiddleware(options) {\r\n    if (options === void 0) { options = {}; }\r\n    if (process.env.NODE_ENV === \"production\") {\r\n        return function () { return function (next) { return function (action) { return next(action); }; }; };\r\n    }\r\n    var _c = options.isSerializable, isSerializable = _c === void 0 ? isPlain : _c, getEntries = options.getEntries, _d = options.ignoredActions, ignoredActions = _d === void 0 ? [] : _d, _e = options.ignoredActionPaths, ignoredActionPaths = _e === void 0 ? [\"meta.arg\", \"meta.baseQueryMeta\"] : _e, _f = options.ignoredPaths, ignoredPaths = _f === void 0 ? [] : _f, _g = options.warnAfter, warnAfter = _g === void 0 ? 32 : _g, _h = options.ignoreState, ignoreState = _h === void 0 ? false : _h, _j = options.ignoreActions, ignoreActions = _j === void 0 ? false : _j, _k = options.disableCache, disableCache = _k === void 0 ? false : _k;\r\n    var cache = !disableCache && WeakSet ? new WeakSet() : void 0;\r\n    return function (storeAPI) { return function (next) { return function (action) {\r\n        var result = next(action);\r\n        var measureUtils = getTimeMeasureUtils(warnAfter, \"SerializableStateInvariantMiddleware\");\r\n        if (!ignoreActions && !(ignoredActions.length && ignoredActions.indexOf(action.type) !== -1)) {\r\n            measureUtils.measureTime(function () {\r\n                var foundActionNonSerializableValue = findNonSerializableValue(action, \"\", isSerializable, getEntries, ignoredActionPaths, cache);\r\n                if (foundActionNonSerializableValue) {\r\n                    var keyPath = foundActionNonSerializableValue.keyPath, value = foundActionNonSerializableValue.value;\r\n                    console.error(\"A non-serializable value was detected in an action, in the path: `\" + keyPath + \"`. Value:\", value, \"\\nTake a look at the logic that dispatched this action: \", action, \"\\n(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)\", \"\\n(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)\");\r\n                }\r\n            });\r\n        }\r\n        if (!ignoreState) {\r\n            measureUtils.measureTime(function () {\r\n                var state = storeAPI.getState();\r\n                var foundStateNonSerializableValue = findNonSerializableValue(state, \"\", isSerializable, getEntries, ignoredPaths, cache);\r\n                if (foundStateNonSerializableValue) {\r\n                    var keyPath = foundStateNonSerializableValue.keyPath, value = foundStateNonSerializableValue.value;\r\n                    console.error(\"A non-serializable value was detected in the state, in the path: `\" + keyPath + \"`. Value:\", value, \"\\nTake a look at the reducer(s) handling this action type: \" + action.type + \".\\n(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)\");\r\n                }\r\n            });\r\n            measureUtils.warnIfExceeded();\r\n        }\r\n        return result;\r\n    }; }; };\r\n}\r\n// src/getDefaultMiddleware.ts\r\nfunction isBoolean(x) {\r\n    return typeof x === \"boolean\";\r\n}\r\nfunction curryGetDefaultMiddleware() {\r\n    return function curriedGetDefaultMiddleware(options) {\r\n        return getDefaultMiddleware(options);\r\n    };\r\n}\r\nfunction getDefaultMiddleware(options) {\r\n    if (options === void 0) { options = {}; }\r\n    var _c = options.thunk, thunk = _c === void 0 ? true : _c, _d = options.immutableCheck, immutableCheck = _d === void 0 ? true : _d, _e = options.serializableCheck, serializableCheck = _e === void 0 ? true : _e, _f = options.actionCreatorCheck, actionCreatorCheck = _f === void 0 ? true : _f;\r\n    var middlewareArray = new MiddlewareArray();\r\n    if (thunk) {\r\n        if (isBoolean(thunk)) {\r\n            middlewareArray.push(thunkMiddleware);\r\n        }\r\n        else {\r\n            middlewareArray.push(thunkMiddleware.withExtraArgument(thunk.extraArgument));\r\n        }\r\n    }\r\n    if (process.env.NODE_ENV !== \"production\") {\r\n        if (immutableCheck) {\r\n            var immutableOptions = {};\r\n            if (!isBoolean(immutableCheck)) {\r\n                immutableOptions = immutableCheck;\r\n            }\r\n            middlewareArray.unshift(createImmutableStateInvariantMiddleware(immutableOptions));\r\n        }\r\n        if (serializableCheck) {\r\n            var serializableOptions = {};\r\n            if (!isBoolean(serializableCheck)) {\r\n                serializableOptions = serializableCheck;\r\n            }\r\n            middlewareArray.push(createSerializableStateInvariantMiddleware(serializableOptions));\r\n        }\r\n        if (actionCreatorCheck) {\r\n            var actionCreatorOptions = {};\r\n            if (!isBoolean(actionCreatorCheck)) {\r\n                actionCreatorOptions = actionCreatorCheck;\r\n            }\r\n            middlewareArray.unshift(createActionCreatorInvariantMiddleware(actionCreatorOptions));\r\n        }\r\n    }\r\n    return middlewareArray;\r\n}\r\n// src/configureStore.ts\r\nvar IS_PRODUCTION = process.env.NODE_ENV === \"production\";\r\nfunction configureStore(options) {\r\n    var curriedGetDefaultMiddleware = curryGetDefaultMiddleware();\r\n    var _c = options || {}, _d = _c.reducer, reducer = _d === void 0 ? void 0 : _d, _e = _c.middleware, middleware = _e === void 0 ? curriedGetDefaultMiddleware() : _e, _f = _c.devTools, devTools = _f === void 0 ? true : _f, _g = _c.preloadedState, preloadedState = _g === void 0 ? void 0 : _g, _h = _c.enhancers, enhancers = _h === void 0 ? void 0 : _h;\r\n    var rootReducer;\r\n    if (typeof reducer === \"function\") {\r\n        rootReducer = reducer;\r\n    }\r\n    else if (isPlainObject(reducer)) {\r\n        rootReducer = combineReducers(reducer);\r\n    }\r\n    else {\r\n        throw new Error('\"reducer\" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');\r\n    }\r\n    var finalMiddleware = middleware;\r\n    if (typeof finalMiddleware === \"function\") {\r\n        finalMiddleware = finalMiddleware(curriedGetDefaultMiddleware);\r\n        if (!IS_PRODUCTION && !Array.isArray(finalMiddleware)) {\r\n            throw new Error(\"when using a middleware builder function, an array of middleware must be returned\");\r\n        }\r\n    }\r\n    if (!IS_PRODUCTION && finalMiddleware.some(function (item) { return typeof item !== \"function\"; })) {\r\n        throw new Error(\"each middleware provided to configureStore must be a function\");\r\n    }\r\n    var middlewareEnhancer = applyMiddleware.apply(void 0, finalMiddleware);\r\n    var finalCompose = compose2;\r\n    if (devTools) {\r\n        finalCompose = composeWithDevTools(__spreadValues({\r\n            trace: !IS_PRODUCTION\r\n        }, typeof devTools === \"object\" && devTools));\r\n    }\r\n    var defaultEnhancers = new EnhancerArray(middlewareEnhancer);\r\n    var storeEnhancers = defaultEnhancers;\r\n    if (Array.isArray(enhancers)) {\r\n        storeEnhancers = __spreadArray([middlewareEnhancer], enhancers);\r\n    }\r\n    else if (typeof enhancers === \"function\") {\r\n        storeEnhancers = enhancers(defaultEnhancers);\r\n    }\r\n    var composedEnhancer = finalCompose.apply(void 0, storeEnhancers);\r\n    return createStore(rootReducer, preloadedState, composedEnhancer);\r\n}\r\n// src/createReducer.ts\r\nimport createNextState2, { isDraft as isDraft2, isDraftable as isDraftable2 } from \"immer\";\r\n// src/mapBuilders.ts\r\nfunction executeReducerBuilderCallback(builderCallback) {\r\n    var actionsMap = {};\r\n    var actionMatchers = [];\r\n    var defaultCaseReducer;\r\n    var builder = {\r\n        addCase: function (typeOrActionCreator, reducer) {\r\n            if (process.env.NODE_ENV !== \"production\") {\r\n                if (actionMatchers.length > 0) {\r\n                    throw new Error(\"`builder.addCase` should only be called before calling `builder.addMatcher`\");\r\n                }\r\n                if (defaultCaseReducer) {\r\n                    throw new Error(\"`builder.addCase` should only be called before calling `builder.addDefaultCase`\");\r\n                }\r\n            }\r\n            var type = typeof typeOrActionCreator === \"string\" ? typeOrActionCreator : typeOrActionCreator.type;\r\n            if (!type) {\r\n                throw new Error(\"`builder.addCase` cannot be called with an empty action type\");\r\n            }\r\n            if (type in actionsMap) {\r\n                throw new Error(\"`builder.addCase` cannot be called with two reducers for the same action type\");\r\n            }\r\n            actionsMap[type] = reducer;\r\n            return builder;\r\n        },\r\n        addMatcher: function (matcher, reducer) {\r\n            if (process.env.NODE_ENV !== \"production\") {\r\n                if (defaultCaseReducer) {\r\n                    throw new Error(\"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`\");\r\n                }\r\n            }\r\n            actionMatchers.push({ matcher: matcher, reducer: reducer });\r\n            return builder;\r\n        },\r\n        addDefaultCase: function (reducer) {\r\n            if (process.env.NODE_ENV !== \"production\") {\r\n                if (defaultCaseReducer) {\r\n                    throw new Error(\"`builder.addDefaultCase` can only be called once\");\r\n                }\r\n            }\r\n            defaultCaseReducer = reducer;\r\n            return builder;\r\n        }\r\n    };\r\n    builderCallback(builder);\r\n    return [actionsMap, actionMatchers, defaultCaseReducer];\r\n}\r\n// src/createReducer.ts\r\nfunction isStateFunction(x) {\r\n    return typeof x === \"function\";\r\n}\r\nvar hasWarnedAboutObjectNotation = false;\r\nfunction createReducer(initialState, mapOrBuilderCallback, actionMatchers, defaultCaseReducer) {\r\n    if (actionMatchers === void 0) { actionMatchers = []; }\r\n    if (process.env.NODE_ENV !== \"production\") {\r\n        if (typeof mapOrBuilderCallback === \"object\") {\r\n            if (!hasWarnedAboutObjectNotation) {\r\n                hasWarnedAboutObjectNotation = true;\r\n                console.warn(\"The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer\");\r\n            }\r\n        }\r\n    }\r\n    var _c = typeof mapOrBuilderCallback === \"function\" ? executeReducerBuilderCallback(mapOrBuilderCallback) : [mapOrBuilderCallback, actionMatchers, defaultCaseReducer], actionsMap = _c[0], finalActionMatchers = _c[1], finalDefaultCaseReducer = _c[2];\r\n    var getInitialState;\r\n    if (isStateFunction(initialState)) {\r\n        getInitialState = function () { return freezeDraftable(initialState()); };\r\n    }\r\n    else {\r\n        var frozenInitialState_1 = freezeDraftable(initialState);\r\n        getInitialState = function () { return frozenInitialState_1; };\r\n    }\r\n    function reducer(state, action) {\r\n        if (state === void 0) { state = getInitialState(); }\r\n        var caseReducers = __spreadArray([\r\n            actionsMap[action.type]\r\n        ], finalActionMatchers.filter(function (_c) {\r\n            var matcher = _c.matcher;\r\n            return matcher(action);\r\n        }).map(function (_c) {\r\n            var reducer2 = _c.reducer;\r\n            return reducer2;\r\n        }));\r\n        if (caseReducers.filter(function (cr) { return !!cr; }).length === 0) {\r\n            caseReducers = [finalDefaultCaseReducer];\r\n        }\r\n        return caseReducers.reduce(function (previousState, caseReducer) {\r\n            if (caseReducer) {\r\n                if (isDraft2(previousState)) {\r\n                    var draft = previousState;\r\n                    var result = caseReducer(draft, action);\r\n                    if (result === void 0) {\r\n                        return previousState;\r\n                    }\r\n                    return result;\r\n                }\r\n                else if (!isDraftable2(previousState)) {\r\n                    var result = caseReducer(previousState, action);\r\n                    if (result === void 0) {\r\n                        if (previousState === null) {\r\n                            return previousState;\r\n                        }\r\n                        throw Error(\"A case reducer on a non-draftable value must not return undefined\");\r\n                    }\r\n                    return result;\r\n                }\r\n                else {\r\n                    return createNextState2(previousState, function (draft) {\r\n                        return caseReducer(draft, action);\r\n                    });\r\n                }\r\n            }\r\n            return previousState;\r\n        }, state);\r\n    }\r\n    reducer.getInitialState = getInitialState;\r\n    return reducer;\r\n}\r\n// src/createSlice.ts\r\nvar hasWarnedAboutObjectNotation2 = false;\r\nfunction getType2(slice, actionKey) {\r\n    return slice + \"/\" + actionKey;\r\n}\r\nfunction createSlice(options) {\r\n    var name = options.name;\r\n    if (!name) {\r\n        throw new Error(\"`name` is a required option for createSlice\");\r\n    }\r\n    if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"development\") {\r\n        if (options.initialState === void 0) {\r\n            console.error(\"You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`\");\r\n        }\r\n    }\r\n    var initialState = typeof options.initialState == \"function\" ? options.initialState : freezeDraftable(options.initialState);\r\n    var reducers = options.reducers || {};\r\n    var reducerNames = Object.keys(reducers);\r\n    var sliceCaseReducersByName = {};\r\n    var sliceCaseReducersByType = {};\r\n    var actionCreators = {};\r\n    reducerNames.forEach(function (reducerName) {\r\n        var maybeReducerWithPrepare = reducers[reducerName];\r\n        var type = getType2(name, reducerName);\r\n        var caseReducer;\r\n        var prepareCallback;\r\n        if (\"reducer\" in maybeReducerWithPrepare) {\r\n            caseReducer = maybeReducerWithPrepare.reducer;\r\n            prepareCallback = maybeReducerWithPrepare.prepare;\r\n        }\r\n        else {\r\n            caseReducer = maybeReducerWithPrepare;\r\n        }\r\n        sliceCaseReducersByName[reducerName] = caseReducer;\r\n        sliceCaseReducersByType[type] = caseReducer;\r\n        actionCreators[reducerName] = prepareCallback ? createAction(type, prepareCallback) : createAction(type);\r\n    });\r\n    function buildReducer() {\r\n        if (process.env.NODE_ENV !== \"production\") {\r\n            if (typeof options.extraReducers === \"object\") {\r\n                if (!hasWarnedAboutObjectNotation2) {\r\n                    hasWarnedAboutObjectNotation2 = true;\r\n                    console.warn(\"The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice\");\r\n                }\r\n            }\r\n        }\r\n        var _c = typeof options.extraReducers === \"function\" ? executeReducerBuilderCallback(options.extraReducers) : [options.extraReducers], _d = _c[0], extraReducers = _d === void 0 ? {} : _d, _e = _c[1], actionMatchers = _e === void 0 ? [] : _e, _f = _c[2], defaultCaseReducer = _f === void 0 ? void 0 : _f;\r\n        var finalCaseReducers = __spreadValues(__spreadValues({}, extraReducers), sliceCaseReducersByType);\r\n        return createReducer(initialState, function (builder) {\r\n            for (var key in finalCaseReducers) {\r\n                builder.addCase(key, finalCaseReducers[key]);\r\n            }\r\n            for (var _i = 0, actionMatchers_1 = actionMatchers; _i < actionMatchers_1.length; _i++) {\r\n                var m = actionMatchers_1[_i];\r\n                builder.addMatcher(m.matcher, m.reducer);\r\n            }\r\n            if (defaultCaseReducer) {\r\n                builder.addDefaultCase(defaultCaseReducer);\r\n            }\r\n        });\r\n    }\r\n    var _reducer;\r\n    return {\r\n        name: name,\r\n        reducer: function (state, action) {\r\n            if (!_reducer)\r\n                _reducer = buildReducer();\r\n            return _reducer(state, action);\r\n        },\r\n        actions: actionCreators,\r\n        caseReducers: sliceCaseReducersByName,\r\n        getInitialState: function () {\r\n            if (!_reducer)\r\n                _reducer = buildReducer();\r\n            return _reducer.getInitialState();\r\n        }\r\n    };\r\n}\r\n// src/entities/entity_state.ts\r\nfunction getInitialEntityState() {\r\n    return {\r\n        ids: [],\r\n        entities: {}\r\n    };\r\n}\r\nfunction createInitialStateFactory() {\r\n    function getInitialState(additionalState) {\r\n        if (additionalState === void 0) { additionalState = {}; }\r\n        return Object.assign(getInitialEntityState(), additionalState);\r\n    }\r\n    return { getInitialState: getInitialState };\r\n}\r\n// src/entities/state_selectors.ts\r\nfunction createSelectorsFactory() {\r\n    function getSelectors(selectState) {\r\n        var selectIds = function (state) { return state.ids; };\r\n        var selectEntities = function (state) { return state.entities; };\r\n        var selectAll = createDraftSafeSelector(selectIds, selectEntities, function (ids, entities) { return ids.map(function (id) { return entities[id]; }); });\r\n        var selectId = function (_, id) { return id; };\r\n        var selectById = function (entities, id) { return entities[id]; };\r\n        var selectTotal = createDraftSafeSelector(selectIds, function (ids) { return ids.length; });\r\n        if (!selectState) {\r\n            return {\r\n                selectIds: selectIds,\r\n                selectEntities: selectEntities,\r\n                selectAll: selectAll,\r\n                selectTotal: selectTotal,\r\n                selectById: createDraftSafeSelector(selectEntities, selectId, selectById)\r\n            };\r\n        }\r\n        var selectGlobalizedEntities = createDraftSafeSelector(selectState, selectEntities);\r\n        return {\r\n            selectIds: createDraftSafeSelector(selectState, selectIds),\r\n            selectEntities: selectGlobalizedEntities,\r\n            selectAll: createDraftSafeSelector(selectState, selectAll),\r\n            selectTotal: createDraftSafeSelector(selectState, selectTotal),\r\n            selectById: createDraftSafeSelector(selectGlobalizedEntities, selectId, selectById)\r\n        };\r\n    }\r\n    return { getSelectors: getSelectors };\r\n}\r\n// src/entities/state_adapter.ts\r\nimport createNextState3, { isDraft as isDraft3 } from \"immer\";\r\nfunction createSingleArgumentStateOperator(mutator) {\r\n    var operator = createStateOperator(function (_, state) { return mutator(state); });\r\n    return function operation(state) {\r\n        return operator(state, void 0);\r\n    };\r\n}\r\nfunction createStateOperator(mutator) {\r\n    return function operation(state, arg) {\r\n        function isPayloadActionArgument(arg2) {\r\n            return isFSA(arg2);\r\n        }\r\n        var runMutator = function (draft) {\r\n            if (isPayloadActionArgument(arg)) {\r\n                mutator(arg.payload, draft);\r\n            }\r\n            else {\r\n                mutator(arg, draft);\r\n            }\r\n        };\r\n        if (isDraft3(state)) {\r\n            runMutator(state);\r\n            return state;\r\n        }\r\n        else {\r\n            return createNextState3(state, runMutator);\r\n        }\r\n    };\r\n}\r\n// src/entities/utils.ts\r\nfunction selectIdValue(entity, selectId) {\r\n    var key = selectId(entity);\r\n    if (process.env.NODE_ENV !== \"production\" && key === void 0) {\r\n        console.warn(\"The entity passed to the `selectId` implementation returned undefined.\", \"You should probably provide your own `selectId` implementation.\", \"The entity that was passed:\", entity, \"The `selectId` implementation:\", selectId.toString());\r\n    }\r\n    return key;\r\n}\r\nfunction ensureEntitiesArray(entities) {\r\n    if (!Array.isArray(entities)) {\r\n        entities = Object.values(entities);\r\n    }\r\n    return entities;\r\n}\r\nfunction splitAddedUpdatedEntities(newEntities, selectId, state) {\r\n    newEntities = ensureEntitiesArray(newEntities);\r\n    var added = [];\r\n    var updated = [];\r\n    for (var _i = 0, newEntities_1 = newEntities; _i < newEntities_1.length; _i++) {\r\n        var entity = newEntities_1[_i];\r\n        var id = selectIdValue(entity, selectId);\r\n        if (id in state.entities) {\r\n            updated.push({ id: id, changes: entity });\r\n        }\r\n        else {\r\n            added.push(entity);\r\n        }\r\n    }\r\n    return [added, updated];\r\n}\r\n// src/entities/unsorted_state_adapter.ts\r\nfunction createUnsortedStateAdapter(selectId) {\r\n    function addOneMutably(entity, state) {\r\n        var key = selectIdValue(entity, selectId);\r\n        if (key in state.entities) {\r\n            return;\r\n        }\r\n        state.ids.push(key);\r\n        state.entities[key] = entity;\r\n    }\r\n    function addManyMutably(newEntities, state) {\r\n        newEntities = ensureEntitiesArray(newEntities);\r\n        for (var _i = 0, newEntities_2 = newEntities; _i < newEntities_2.length; _i++) {\r\n            var entity = newEntities_2[_i];\r\n            addOneMutably(entity, state);\r\n        }\r\n    }\r\n    function setOneMutably(entity, state) {\r\n        var key = selectIdValue(entity, selectId);\r\n        if (!(key in state.entities)) {\r\n            state.ids.push(key);\r\n        }\r\n        state.entities[key] = entity;\r\n    }\r\n    function setManyMutably(newEntities, state) {\r\n        newEntities = ensureEntitiesArray(newEntities);\r\n        for (var _i = 0, newEntities_3 = newEntities; _i < newEntities_3.length; _i++) {\r\n            var entity = newEntities_3[_i];\r\n            setOneMutably(entity, state);\r\n        }\r\n    }\r\n    function setAllMutably(newEntities, state) {\r\n        newEntities = ensureEntitiesArray(newEntities);\r\n        state.ids = [];\r\n        state.entities = {};\r\n        addManyMutably(newEntities, state);\r\n    }\r\n    function removeOneMutably(key, state) {\r\n        return removeManyMutably([key], state);\r\n    }\r\n    function removeManyMutably(keys, state) {\r\n        var didMutate = false;\r\n        keys.forEach(function (key) {\r\n            if (key in state.entities) {\r\n                delete state.entities[key];\r\n                didMutate = true;\r\n            }\r\n        });\r\n        if (didMutate) {\r\n            state.ids = state.ids.filter(function (id) { return id in state.entities; });\r\n        }\r\n    }\r\n    function removeAllMutably(state) {\r\n        Object.assign(state, {\r\n            ids: [],\r\n            entities: {}\r\n        });\r\n    }\r\n    function takeNewKey(keys, update, state) {\r\n        var original2 = state.entities[update.id];\r\n        var updated = Object.assign({}, original2, update.changes);\r\n        var newKey = selectIdValue(updated, selectId);\r\n        var hasNewKey = newKey !== update.id;\r\n        if (hasNewKey) {\r\n            keys[update.id] = newKey;\r\n            delete state.entities[update.id];\r\n        }\r\n        state.entities[newKey] = updated;\r\n        return hasNewKey;\r\n    }\r\n    function updateOneMutably(update, state) {\r\n        return updateManyMutably([update], state);\r\n    }\r\n    function updateManyMutably(updates, state) {\r\n        var newKeys = {};\r\n        var updatesPerEntity = {};\r\n        updates.forEach(function (update) {\r\n            if (update.id in state.entities) {\r\n                updatesPerEntity[update.id] = {\r\n                    id: update.id,\r\n                    changes: __spreadValues(__spreadValues({}, updatesPerEntity[update.id] ? updatesPerEntity[update.id].changes : null), update.changes)\r\n                };\r\n            }\r\n        });\r\n        updates = Object.values(updatesPerEntity);\r\n        var didMutateEntities = updates.length > 0;\r\n        if (didMutateEntities) {\r\n            var didMutateIds = updates.filter(function (update) { return takeNewKey(newKeys, update, state); }).length > 0;\r\n            if (didMutateIds) {\r\n                state.ids = Object.keys(state.entities);\r\n            }\r\n        }\r\n    }\r\n    function upsertOneMutably(entity, state) {\r\n        return upsertManyMutably([entity], state);\r\n    }\r\n    function upsertManyMutably(newEntities, state) {\r\n        var _c = splitAddedUpdatedEntities(newEntities, selectId, state), added = _c[0], updated = _c[1];\r\n        updateManyMutably(updated, state);\r\n        addManyMutably(added, state);\r\n    }\r\n    return {\r\n        removeAll: createSingleArgumentStateOperator(removeAllMutably),\r\n        addOne: createStateOperator(addOneMutably),\r\n        addMany: createStateOperator(addManyMutably),\r\n        setOne: createStateOperator(setOneMutably),\r\n        setMany: createStateOperator(setManyMutably),\r\n        setAll: createStateOperator(setAllMutably),\r\n        updateOne: createStateOperator(updateOneMutably),\r\n        updateMany: createStateOperator(updateManyMutably),\r\n        upsertOne: createStateOperator(upsertOneMutably),\r\n        upsertMany: createStateOperator(upsertManyMutably),\r\n        removeOne: createStateOperator(removeOneMutably),\r\n        removeMany: createStateOperator(removeManyMutably)\r\n    };\r\n}\r\n// src/entities/sorted_state_adapter.ts\r\nfunction createSortedStateAdapter(selectId, sort) {\r\n    var _c = createUnsortedStateAdapter(selectId), removeOne = _c.removeOne, removeMany = _c.removeMany, removeAll = _c.removeAll;\r\n    function addOneMutably(entity, state) {\r\n        return addManyMutably([entity], state);\r\n    }\r\n    function addManyMutably(newEntities, state) {\r\n        newEntities = ensureEntitiesArray(newEntities);\r\n        var models = newEntities.filter(function (model) { return !(selectIdValue(model, selectId) in state.entities); });\r\n        if (models.length !== 0) {\r\n            merge(models, state);\r\n        }\r\n    }\r\n    function setOneMutably(entity, state) {\r\n        return setManyMutably([entity], state);\r\n    }\r\n    function setManyMutably(newEntities, state) {\r\n        newEntities = ensureEntitiesArray(newEntities);\r\n        if (newEntities.length !== 0) {\r\n            merge(newEntities, state);\r\n        }\r\n    }\r\n    function setAllMutably(newEntities, state) {\r\n        newEntities = ensureEntitiesArray(newEntities);\r\n        state.entities = {};\r\n        state.ids = [];\r\n        addManyMutably(newEntities, state);\r\n    }\r\n    function updateOneMutably(update, state) {\r\n        return updateManyMutably([update], state);\r\n    }\r\n    function updateManyMutably(updates, state) {\r\n        var appliedUpdates = false;\r\n        for (var _i = 0, updates_1 = updates; _i < updates_1.length; _i++) {\r\n            var update = updates_1[_i];\r\n            var entity = state.entities[update.id];\r\n            if (!entity) {\r\n                continue;\r\n            }\r\n            appliedUpdates = true;\r\n            Object.assign(entity, update.changes);\r\n            var newId = selectId(entity);\r\n            if (update.id !== newId) {\r\n                delete state.entities[update.id];\r\n                state.entities[newId] = entity;\r\n            }\r\n        }\r\n        if (appliedUpdates) {\r\n            resortEntities(state);\r\n        }\r\n    }\r\n    function upsertOneMutably(entity, state) {\r\n        return upsertManyMutably([entity], state);\r\n    }\r\n    function upsertManyMutably(newEntities, state) {\r\n        var _c = splitAddedUpdatedEntities(newEntities, selectId, state), added = _c[0], updated = _c[1];\r\n        updateManyMutably(updated, state);\r\n        addManyMutably(added, state);\r\n    }\r\n    function areArraysEqual(a, b) {\r\n        if (a.length !== b.length) {\r\n            return false;\r\n        }\r\n        for (var i = 0; i < a.length && i < b.length; i++) {\r\n            if (a[i] === b[i]) {\r\n                continue;\r\n            }\r\n            return false;\r\n        }\r\n        return true;\r\n    }\r\n    function merge(models, state) {\r\n        models.forEach(function (model) {\r\n            state.entities[selectId(model)] = model;\r\n        });\r\n        resortEntities(state);\r\n    }\r\n    function resortEntities(state) {\r\n        var allEntities = Object.values(state.entities);\r\n        allEntities.sort(sort);\r\n        var newSortedIds = allEntities.map(selectId);\r\n        var ids = state.ids;\r\n        if (!areArraysEqual(ids, newSortedIds)) {\r\n            state.ids = newSortedIds;\r\n        }\r\n    }\r\n    return {\r\n        removeOne: removeOne,\r\n        removeMany: removeMany,\r\n        removeAll: removeAll,\r\n        addOne: createStateOperator(addOneMutably),\r\n        updateOne: createStateOperator(updateOneMutably),\r\n        upsertOne: createStateOperator(upsertOneMutably),\r\n        setOne: createStateOperator(setOneMutably),\r\n        setMany: createStateOperator(setManyMutably),\r\n        setAll: createStateOperator(setAllMutably),\r\n        addMany: createStateOperator(addManyMutably),\r\n        updateMany: createStateOperator(updateManyMutably),\r\n        upsertMany: createStateOperator(upsertManyMutably)\r\n    };\r\n}\r\n// src/entities/create_adapter.ts\r\nfunction createEntityAdapter(options) {\r\n    if (options === void 0) { options = {}; }\r\n    var _c = __spreadValues({\r\n        sortComparer: false,\r\n        selectId: function (instance) { return instance.id; }\r\n    }, options), selectId = _c.selectId, sortComparer = _c.sortComparer;\r\n    var stateFactory = createInitialStateFactory();\r\n    var selectorsFactory = createSelectorsFactory();\r\n    var stateAdapter = sortComparer ? createSortedStateAdapter(selectId, sortComparer) : createUnsortedStateAdapter(selectId);\r\n    return __spreadValues(__spreadValues(__spreadValues({\r\n        selectId: selectId,\r\n        sortComparer: sortComparer\r\n    }, stateFactory), selectorsFactory), stateAdapter);\r\n}\r\n// src/nanoid.ts\r\nvar urlAlphabet = \"ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW\";\r\nvar nanoid = function (size) {\r\n    if (size === void 0) { size = 21; }\r\n    var id = \"\";\r\n    var i = size;\r\n    while (i--) {\r\n        id += urlAlphabet[Math.random() * 64 | 0];\r\n    }\r\n    return id;\r\n};\r\n// src/createAsyncThunk.ts\r\nvar commonProperties = [\r\n    \"name\",\r\n    \"message\",\r\n    \"stack\",\r\n    \"code\"\r\n];\r\nvar RejectWithValue = /** @class */ (function () {\r\n    function RejectWithValue(payload, meta) {\r\n        this.payload = payload;\r\n        this.meta = meta;\r\n    }\r\n    return RejectWithValue;\r\n}());\r\nvar FulfillWithMeta = /** @class */ (function () {\r\n    function FulfillWithMeta(payload, meta) {\r\n        this.payload = payload;\r\n        this.meta = meta;\r\n    }\r\n    return FulfillWithMeta;\r\n}());\r\nvar miniSerializeError = function (value) {\r\n    if (typeof value === \"object\" && value !== null) {\r\n        var simpleError = {};\r\n        for (var _i = 0, commonProperties_1 = commonProperties; _i < commonProperties_1.length; _i++) {\r\n            var property = commonProperties_1[_i];\r\n            if (typeof value[property] === \"string\") {\r\n                simpleError[property] = value[property];\r\n            }\r\n        }\r\n        return simpleError;\r\n    }\r\n    return { message: String(value) };\r\n};\r\nvar createAsyncThunk = (function () {\r\n    function createAsyncThunk2(typePrefix, payloadCreator, options) {\r\n        var fulfilled = createAction(typePrefix + \"/fulfilled\", function (payload, requestId, arg, meta) { return ({\r\n            payload: payload,\r\n            meta: __spreadProps(__spreadValues({}, meta || {}), {\r\n                arg: arg,\r\n                requestId: requestId,\r\n                requestStatus: \"fulfilled\"\r\n            })\r\n        }); });\r\n        var pending = createAction(typePrefix + \"/pending\", function (requestId, arg, meta) { return ({\r\n            payload: void 0,\r\n            meta: __spreadProps(__spreadValues({}, meta || {}), {\r\n                arg: arg,\r\n                requestId: requestId,\r\n                requestStatus: \"pending\"\r\n            })\r\n        }); });\r\n        var rejected = createAction(typePrefix + \"/rejected\", function (error, requestId, arg, payload, meta) { return ({\r\n            payload: payload,\r\n            error: (options && options.serializeError || miniSerializeError)(error || \"Rejected\"),\r\n            meta: __spreadProps(__spreadValues({}, meta || {}), {\r\n                arg: arg,\r\n                requestId: requestId,\r\n                rejectedWithValue: !!payload,\r\n                requestStatus: \"rejected\",\r\n                aborted: (error == null ? void 0 : error.name) === \"AbortError\",\r\n                condition: (error == null ? void 0 : error.name) === \"ConditionError\"\r\n            })\r\n        }); });\r\n        var displayedWarning = false;\r\n        var AC = typeof AbortController !== \"undefined\" ? AbortController : /** @class */ (function () {\r\n            function class_1() {\r\n                this.signal = {\r\n                    aborted: false,\r\n                    addEventListener: function () {\r\n                    },\r\n                    dispatchEvent: function () {\r\n                        return false;\r\n                    },\r\n                    onabort: function () {\r\n                    },\r\n                    removeEventListener: function () {\r\n                    },\r\n                    reason: void 0,\r\n                    throwIfAborted: function () {\r\n                    }\r\n                };\r\n            }\r\n            class_1.prototype.abort = function () {\r\n                if (process.env.NODE_ENV !== \"production\") {\r\n                    if (!displayedWarning) {\r\n                        displayedWarning = true;\r\n                        console.info(\"This platform does not implement AbortController. \\nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'.\");\r\n                    }\r\n                }\r\n            };\r\n            return class_1;\r\n        }());\r\n        function actionCreator(arg) {\r\n            return function (dispatch, getState, extra) {\r\n                var requestId = (options == null ? void 0 : options.idGenerator) ? options.idGenerator(arg) : nanoid();\r\n                var abortController = new AC();\r\n                var abortReason;\r\n                var started = false;\r\n                function abort(reason) {\r\n                    abortReason = reason;\r\n                    abortController.abort();\r\n                }\r\n                var promise2 = function () {\r\n                    return __async(this, null, function () {\r\n                        var _a, _b, finalAction, conditionResult, abortedPromise, err_1, skipDispatch;\r\n                        return __generator(this, function (_c) {\r\n                            switch (_c.label) {\r\n                                case 0:\r\n                                    _c.trys.push([0, 4, , 5]);\r\n                                    conditionResult = (_a = options == null ? void 0 : options.condition) == null ? void 0 : _a.call(options, arg, { getState: getState, extra: extra });\r\n                                    if (!isThenable(conditionResult)) return [3 /*break*/, 2];\r\n                                    return [4 /*yield*/, conditionResult];\r\n                                case 1:\r\n                                    conditionResult = _c.sent();\r\n                                    _c.label = 2;\r\n                                case 2:\r\n                                    if (conditionResult === false || abortController.signal.aborted) {\r\n                                        throw {\r\n                                            name: \"ConditionError\",\r\n                                            message: \"Aborted due to condition callback returning false.\"\r\n                                        };\r\n                                    }\r\n                                    started = true;\r\n                                    abortedPromise = new Promise(function (_, reject) { return abortController.signal.addEventListener(\"abort\", function () { return reject({\r\n                                        name: \"AbortError\",\r\n                                        message: abortReason || \"Aborted\"\r\n                                    }); }); });\r\n                                    dispatch(pending(requestId, arg, (_b = options == null ? void 0 : options.getPendingMeta) == null ? void 0 : _b.call(options, { requestId: requestId, arg: arg }, { getState: getState, extra: extra })));\r\n                                    return [4 /*yield*/, Promise.race([\r\n                                            abortedPromise,\r\n                                            Promise.resolve(payloadCreator(arg, {\r\n                                                dispatch: dispatch,\r\n                                                getState: getState,\r\n                                                extra: extra,\r\n                                                requestId: requestId,\r\n                                                signal: abortController.signal,\r\n                                                abort: abort,\r\n                                                rejectWithValue: function (value, meta) {\r\n                                                    return new RejectWithValue(value, meta);\r\n                                                },\r\n                                                fulfillWithValue: function (value, meta) {\r\n                                                    return new FulfillWithMeta(value, meta);\r\n                                                }\r\n                                            })).then(function (result) {\r\n                                                if (result instanceof RejectWithValue) {\r\n                                                    throw result;\r\n                                                }\r\n                                                if (result instanceof FulfillWithMeta) {\r\n                                                    return fulfilled(result.payload, requestId, arg, result.meta);\r\n                                                }\r\n                                                return fulfilled(result, requestId, arg);\r\n                                            })\r\n                                        ])];\r\n                                case 3:\r\n                                    finalAction = _c.sent();\r\n                                    return [3 /*break*/, 5];\r\n                                case 4:\r\n                                    err_1 = _c.sent();\r\n                                    finalAction = err_1 instanceof RejectWithValue ? rejected(null, requestId, arg, err_1.payload, err_1.meta) : rejected(err_1, requestId, arg);\r\n                                    return [3 /*break*/, 5];\r\n                                case 5:\r\n                                    skipDispatch = options && !options.dispatchConditionRejection && rejected.match(finalAction) && finalAction.meta.condition;\r\n                                    if (!skipDispatch) {\r\n                                        dispatch(finalAction);\r\n                                    }\r\n                                    return [2 /*return*/, finalAction];\r\n                            }\r\n                        });\r\n                    });\r\n                }();\r\n                return Object.assign(promise2, {\r\n                    abort: abort,\r\n                    requestId: requestId,\r\n                    arg: arg,\r\n                    unwrap: function () {\r\n                        return promise2.then(unwrapResult);\r\n                    }\r\n                });\r\n            };\r\n        }\r\n        return Object.assign(actionCreator, {\r\n            pending: pending,\r\n            rejected: rejected,\r\n            fulfilled: fulfilled,\r\n            typePrefix: typePrefix\r\n        });\r\n    }\r\n    createAsyncThunk2.withTypes = function () { return createAsyncThunk2; };\r\n    return createAsyncThunk2;\r\n})();\r\nfunction unwrapResult(action) {\r\n    if (action.meta && action.meta.rejectedWithValue) {\r\n        throw action.payload;\r\n    }\r\n    if (action.error) {\r\n        throw action.error;\r\n    }\r\n    return action.payload;\r\n}\r\nfunction isThenable(value) {\r\n    return value !== null && typeof value === \"object\" && typeof value.then === \"function\";\r\n}\r\n// src/matchers.ts\r\nvar matches = function (matcher, action) {\r\n    if (hasMatchFunction(matcher)) {\r\n        return matcher.match(action);\r\n    }\r\n    else {\r\n        return matcher(action);\r\n    }\r\n};\r\nfunction isAnyOf() {\r\n    var matchers = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        matchers[_i] = arguments[_i];\r\n    }\r\n    return function (action) {\r\n        return matchers.some(function (matcher) { return matches(matcher, action); });\r\n    };\r\n}\r\nfunction isAllOf() {\r\n    var matchers = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        matchers[_i] = arguments[_i];\r\n    }\r\n    return function (action) {\r\n        return matchers.every(function (matcher) { return matches(matcher, action); });\r\n    };\r\n}\r\nfunction hasExpectedRequestMetadata(action, validStatus) {\r\n    if (!action || !action.meta)\r\n        return false;\r\n    var hasValidRequestId = typeof action.meta.requestId === \"string\";\r\n    var hasValidRequestStatus = validStatus.indexOf(action.meta.requestStatus) > -1;\r\n    return hasValidRequestId && hasValidRequestStatus;\r\n}\r\nfunction isAsyncThunkArray(a) {\r\n    return typeof a[0] === \"function\" && \"pending\" in a[0] && \"fulfilled\" in a[0] && \"rejected\" in a[0];\r\n}\r\nfunction isPending() {\r\n    var asyncThunks = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        asyncThunks[_i] = arguments[_i];\r\n    }\r\n    if (asyncThunks.length === 0) {\r\n        return function (action) { return hasExpectedRequestMetadata(action, [\"pending\"]); };\r\n    }\r\n    if (!isAsyncThunkArray(asyncThunks)) {\r\n        return isPending()(asyncThunks[0]);\r\n    }\r\n    return function (action) {\r\n        var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.pending; });\r\n        var combinedMatcher = isAnyOf.apply(void 0, matchers);\r\n        return combinedMatcher(action);\r\n    };\r\n}\r\nfunction isRejected() {\r\n    var asyncThunks = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        asyncThunks[_i] = arguments[_i];\r\n    }\r\n    if (asyncThunks.length === 0) {\r\n        return function (action) { return hasExpectedRequestMetadata(action, [\"rejected\"]); };\r\n    }\r\n    if (!isAsyncThunkArray(asyncThunks)) {\r\n        return isRejected()(asyncThunks[0]);\r\n    }\r\n    return function (action) {\r\n        var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.rejected; });\r\n        var combinedMatcher = isAnyOf.apply(void 0, matchers);\r\n        return combinedMatcher(action);\r\n    };\r\n}\r\nfunction isRejectedWithValue() {\r\n    var asyncThunks = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        asyncThunks[_i] = arguments[_i];\r\n    }\r\n    var hasFlag = function (action) {\r\n        return action && action.meta && action.meta.rejectedWithValue;\r\n    };\r\n    if (asyncThunks.length === 0) {\r\n        return function (action) {\r\n            var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag);\r\n            return combinedMatcher(action);\r\n        };\r\n    }\r\n    if (!isAsyncThunkArray(asyncThunks)) {\r\n        return isRejectedWithValue()(asyncThunks[0]);\r\n    }\r\n    return function (action) {\r\n        var combinedMatcher = isAllOf(isRejected.apply(void 0, asyncThunks), hasFlag);\r\n        return combinedMatcher(action);\r\n    };\r\n}\r\nfunction isFulfilled() {\r\n    var asyncThunks = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        asyncThunks[_i] = arguments[_i];\r\n    }\r\n    if (asyncThunks.length === 0) {\r\n        return function (action) { return hasExpectedRequestMetadata(action, [\"fulfilled\"]); };\r\n    }\r\n    if (!isAsyncThunkArray(asyncThunks)) {\r\n        return isFulfilled()(asyncThunks[0]);\r\n    }\r\n    return function (action) {\r\n        var matchers = asyncThunks.map(function (asyncThunk) { return asyncThunk.fulfilled; });\r\n        var combinedMatcher = isAnyOf.apply(void 0, matchers);\r\n        return combinedMatcher(action);\r\n    };\r\n}\r\nfunction isAsyncThunkAction() {\r\n    var asyncThunks = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        asyncThunks[_i] = arguments[_i];\r\n    }\r\n    if (asyncThunks.length === 0) {\r\n        return function (action) { return hasExpectedRequestMetadata(action, [\"pending\", \"fulfilled\", \"rejected\"]); };\r\n    }\r\n    if (!isAsyncThunkArray(asyncThunks)) {\r\n        return isAsyncThunkAction()(asyncThunks[0]);\r\n    }\r\n    return function (action) {\r\n        var matchers = [];\r\n        for (var _i = 0, asyncThunks_1 = asyncThunks; _i < asyncThunks_1.length; _i++) {\r\n            var asyncThunk = asyncThunks_1[_i];\r\n            matchers.push(asyncThunk.pending, asyncThunk.rejected, asyncThunk.fulfilled);\r\n        }\r\n        var combinedMatcher = isAnyOf.apply(void 0, matchers);\r\n        return combinedMatcher(action);\r\n    };\r\n}\r\n// src/listenerMiddleware/utils.ts\r\nvar assertFunction = function (func, expected) {\r\n    if (typeof func !== \"function\") {\r\n        throw new TypeError(expected + \" is not a function\");\r\n    }\r\n};\r\nvar noop = function () {\r\n};\r\nvar catchRejection = function (promise2, onError) {\r\n    if (onError === void 0) { onError = noop; }\r\n    promise2.catch(onError);\r\n    return promise2;\r\n};\r\nvar addAbortSignalListener = function (abortSignal, callback) {\r\n    abortSignal.addEventListener(\"abort\", callback, { once: true });\r\n    return function () { return abortSignal.removeEventListener(\"abort\", callback); };\r\n};\r\nvar abortControllerWithReason = function (abortController, reason) {\r\n    var signal = abortController.signal;\r\n    if (signal.aborted) {\r\n        return;\r\n    }\r\n    if (!(\"reason\" in signal)) {\r\n        Object.defineProperty(signal, \"reason\", {\r\n            enumerable: true,\r\n            value: reason,\r\n            configurable: true,\r\n            writable: true\r\n        });\r\n    }\r\n    ;\r\n    abortController.abort(reason);\r\n};\r\n// src/listenerMiddleware/exceptions.ts\r\nvar task = \"task\";\r\nvar listener = \"listener\";\r\nvar completed = \"completed\";\r\nvar cancelled = \"cancelled\";\r\nvar taskCancelled = \"task-\" + cancelled;\r\nvar taskCompleted = \"task-\" + completed;\r\nvar listenerCancelled = listener + \"-\" + cancelled;\r\nvar listenerCompleted = listener + \"-\" + completed;\r\nvar TaskAbortError = /** @class */ (function () {\r\n    function TaskAbortError(code) {\r\n        this.code = code;\r\n        this.name = \"TaskAbortError\";\r\n        this.message = task + \" \" + cancelled + \" (reason: \" + code + \")\";\r\n    }\r\n    return TaskAbortError;\r\n}());\r\n// src/listenerMiddleware/task.ts\r\nvar validateActive = function (signal) {\r\n    if (signal.aborted) {\r\n        throw new TaskAbortError(signal.reason);\r\n    }\r\n};\r\nfunction raceWithSignal(signal, promise2) {\r\n    var cleanup = noop;\r\n    return new Promise(function (resolve, reject) {\r\n        var notifyRejection = function () { return reject(new TaskAbortError(signal.reason)); };\r\n        if (signal.aborted) {\r\n            notifyRejection();\r\n            return;\r\n        }\r\n        cleanup = addAbortSignalListener(signal, notifyRejection);\r\n        promise2.finally(function () { return cleanup(); }).then(resolve, reject);\r\n    }).finally(function () {\r\n        cleanup = noop;\r\n    });\r\n}\r\nvar runTask = function (task2, cleanUp) { return __async(void 0, null, function () {\r\n    var value, error_1;\r\n    return __generator(this, function (_c) {\r\n        switch (_c.label) {\r\n            case 0:\r\n                _c.trys.push([0, 3, 4, 5]);\r\n                return [4 /*yield*/, Promise.resolve()];\r\n            case 1:\r\n                _c.sent();\r\n                return [4 /*yield*/, task2()];\r\n            case 2:\r\n                value = _c.sent();\r\n                return [2 /*return*/, {\r\n                        status: \"ok\",\r\n                        value: value\r\n                    }];\r\n            case 3:\r\n                error_1 = _c.sent();\r\n                return [2 /*return*/, {\r\n                        status: error_1 instanceof TaskAbortError ? \"cancelled\" : \"rejected\",\r\n                        error: error_1\r\n                    }];\r\n            case 4:\r\n                cleanUp == null ? void 0 : cleanUp();\r\n                return [7 /*endfinally*/];\r\n            case 5: return [2 /*return*/];\r\n        }\r\n    });\r\n}); };\r\nvar createPause = function (signal) {\r\n    return function (promise2) {\r\n        return catchRejection(raceWithSignal(signal, promise2).then(function (output) {\r\n            validateActive(signal);\r\n            return output;\r\n        }));\r\n    };\r\n};\r\nvar createDelay = function (signal) {\r\n    var pause = createPause(signal);\r\n    return function (timeoutMs) {\r\n        return pause(new Promise(function (resolve) { return setTimeout(resolve, timeoutMs); }));\r\n    };\r\n};\r\n// src/listenerMiddleware/index.ts\r\nvar assign = Object.assign;\r\nvar INTERNAL_NIL_TOKEN = {};\r\nvar alm = \"listenerMiddleware\";\r\nvar createFork = function (parentAbortSignal, parentBlockingPromises) {\r\n    var linkControllers = function (controller) { return addAbortSignalListener(parentAbortSignal, function () { return abortControllerWithReason(controller, parentAbortSignal.reason); }); };\r\n    return function (taskExecutor, opts) {\r\n        assertFunction(taskExecutor, \"taskExecutor\");\r\n        var childAbortController = new AbortController();\r\n        linkControllers(childAbortController);\r\n        var result = runTask(function () { return __async(void 0, null, function () {\r\n            var result2;\r\n            return __generator(this, function (_c) {\r\n                switch (_c.label) {\r\n                    case 0:\r\n                        validateActive(parentAbortSignal);\r\n                        validateActive(childAbortController.signal);\r\n                        return [4 /*yield*/, taskExecutor({\r\n                                pause: createPause(childAbortController.signal),\r\n                                delay: createDelay(childAbortController.signal),\r\n                                signal: childAbortController.signal\r\n                            })];\r\n                    case 1:\r\n                        result2 = _c.sent();\r\n                        validateActive(childAbortController.signal);\r\n                        return [2 /*return*/, result2];\r\n                }\r\n            });\r\n        }); }, function () { return abortControllerWithReason(childAbortController, taskCompleted); });\r\n        if (opts == null ? void 0 : opts.autoJoin) {\r\n            parentBlockingPromises.push(result);\r\n        }\r\n        return {\r\n            result: createPause(parentAbortSignal)(result),\r\n            cancel: function () {\r\n                abortControllerWithReason(childAbortController, taskCancelled);\r\n            }\r\n        };\r\n    };\r\n};\r\nvar createTakePattern = function (startListening, signal) {\r\n    var take = function (predicate, timeout) { return __async(void 0, null, function () {\r\n        var unsubscribe, tuplePromise, promises, output;\r\n        return __generator(this, function (_c) {\r\n            switch (_c.label) {\r\n                case 0:\r\n                    validateActive(signal);\r\n                    unsubscribe = function () {\r\n                    };\r\n                    tuplePromise = new Promise(function (resolve, reject) {\r\n                        var stopListening = startListening({\r\n                            predicate: predicate,\r\n                            effect: function (action, listenerApi) {\r\n                                listenerApi.unsubscribe();\r\n                                resolve([\r\n                                    action,\r\n                                    listenerApi.getState(),\r\n                                    listenerApi.getOriginalState()\r\n                                ]);\r\n                            }\r\n                        });\r\n                        unsubscribe = function () {\r\n                            stopListening();\r\n                            reject();\r\n                        };\r\n                    });\r\n                    promises = [\r\n                        tuplePromise\r\n                    ];\r\n                    if (timeout != null) {\r\n                        promises.push(new Promise(function (resolve) { return setTimeout(resolve, timeout, null); }));\r\n                    }\r\n                    _c.label = 1;\r\n                case 1:\r\n                    _c.trys.push([1, , 3, 4]);\r\n                    return [4 /*yield*/, raceWithSignal(signal, Promise.race(promises))];\r\n                case 2:\r\n                    output = _c.sent();\r\n                    validateActive(signal);\r\n                    return [2 /*return*/, output];\r\n                case 3:\r\n                    unsubscribe();\r\n                    return [7 /*endfinally*/];\r\n                case 4: return [2 /*return*/];\r\n            }\r\n        });\r\n    }); };\r\n    return function (predicate, timeout) { return catchRejection(take(predicate, timeout)); };\r\n};\r\nvar getListenerEntryPropsFrom = function (options) {\r\n    var type = options.type, actionCreator = options.actionCreator, matcher = options.matcher, predicate = options.predicate, effect = options.effect;\r\n    if (type) {\r\n        predicate = createAction(type).match;\r\n    }\r\n    else if (actionCreator) {\r\n        type = actionCreator.type;\r\n        predicate = actionCreator.match;\r\n    }\r\n    else if (matcher) {\r\n        predicate = matcher;\r\n    }\r\n    else if (predicate) {\r\n    }\r\n    else {\r\n        throw new Error(\"Creating or removing a listener requires one of the known fields for matching an action\");\r\n    }\r\n    assertFunction(effect, \"options.listener\");\r\n    return { predicate: predicate, type: type, effect: effect };\r\n};\r\nvar createListenerEntry = function (options) {\r\n    var _c = getListenerEntryPropsFrom(options), type = _c.type, predicate = _c.predicate, effect = _c.effect;\r\n    var id = nanoid();\r\n    var entry = {\r\n        id: id,\r\n        effect: effect,\r\n        type: type,\r\n        predicate: predicate,\r\n        pending: new Set(),\r\n        unsubscribe: function () {\r\n            throw new Error(\"Unsubscribe not initialized\");\r\n        }\r\n    };\r\n    return entry;\r\n};\r\nvar cancelActiveListeners = function (entry) {\r\n    entry.pending.forEach(function (controller) {\r\n        abortControllerWithReason(controller, listenerCancelled);\r\n    });\r\n};\r\nvar createClearListenerMiddleware = function (listenerMap) {\r\n    return function () {\r\n        listenerMap.forEach(cancelActiveListeners);\r\n        listenerMap.clear();\r\n    };\r\n};\r\nvar safelyNotifyError = function (errorHandler, errorToNotify, errorInfo) {\r\n    try {\r\n        errorHandler(errorToNotify, errorInfo);\r\n    }\r\n    catch (errorHandlerError) {\r\n        setTimeout(function () {\r\n            throw errorHandlerError;\r\n        }, 0);\r\n    }\r\n};\r\nvar addListener = createAction(alm + \"/add\");\r\nvar clearAllListeners = createAction(alm + \"/removeAll\");\r\nvar removeListener = createAction(alm + \"/remove\");\r\nvar defaultErrorHandler = function () {\r\n    var args = [];\r\n    for (var _i = 0; _i < arguments.length; _i++) {\r\n        args[_i] = arguments[_i];\r\n    }\r\n    console.error.apply(console, __spreadArray([alm + \"/error\"], args));\r\n};\r\nfunction createListenerMiddleware(middlewareOptions) {\r\n    var _this = this;\r\n    if (middlewareOptions === void 0) { middlewareOptions = {}; }\r\n    var listenerMap = new Map();\r\n    var extra = middlewareOptions.extra, _c = middlewareOptions.onError, onError = _c === void 0 ? defaultErrorHandler : _c;\r\n    assertFunction(onError, \"onError\");\r\n    var insertEntry = function (entry) {\r\n        entry.unsubscribe = function () { return listenerMap.delete(entry.id); };\r\n        listenerMap.set(entry.id, entry);\r\n        return function (cancelOptions) {\r\n            entry.unsubscribe();\r\n            if (cancelOptions == null ? void 0 : cancelOptions.cancelActive) {\r\n                cancelActiveListeners(entry);\r\n            }\r\n        };\r\n    };\r\n    var findListenerEntry = function (comparator) {\r\n        for (var _i = 0, _c = Array.from(listenerMap.values()); _i < _c.length; _i++) {\r\n            var entry = _c[_i];\r\n            if (comparator(entry)) {\r\n                return entry;\r\n            }\r\n        }\r\n        return void 0;\r\n    };\r\n    var startListening = function (options) {\r\n        var entry = findListenerEntry(function (existingEntry) { return existingEntry.effect === options.effect; });\r\n        if (!entry) {\r\n            entry = createListenerEntry(options);\r\n        }\r\n        return insertEntry(entry);\r\n    };\r\n    var stopListening = function (options) {\r\n        var _c = getListenerEntryPropsFrom(options), type = _c.type, effect = _c.effect, predicate = _c.predicate;\r\n        var entry = findListenerEntry(function (entry2) {\r\n            var matchPredicateOrType = typeof type === \"string\" ? entry2.type === type : entry2.predicate === predicate;\r\n            return matchPredicateOrType && entry2.effect === effect;\r\n        });\r\n        if (entry) {\r\n            entry.unsubscribe();\r\n            if (options.cancelActive) {\r\n                cancelActiveListeners(entry);\r\n            }\r\n        }\r\n        return !!entry;\r\n    };\r\n    var notifyListener = function (entry, action, api, getOriginalState) { return __async(_this, null, function () {\r\n        var internalTaskController, take, autoJoinPromises, listenerError_1;\r\n        return __generator(this, function (_c) {\r\n            switch (_c.label) {\r\n                case 0:\r\n                    internalTaskController = new AbortController();\r\n                    take = createTakePattern(startListening, internalTaskController.signal);\r\n                    autoJoinPromises = [];\r\n                    _c.label = 1;\r\n                case 1:\r\n                    _c.trys.push([1, 3, 4, 6]);\r\n                    entry.pending.add(internalTaskController);\r\n                    return [4 /*yield*/, Promise.resolve(entry.effect(action, assign({}, api, {\r\n                            getOriginalState: getOriginalState,\r\n                            condition: function (predicate, timeout) { return take(predicate, timeout).then(Boolean); },\r\n                            take: take,\r\n                            delay: createDelay(internalTaskController.signal),\r\n                            pause: createPause(internalTaskController.signal),\r\n                            extra: extra,\r\n                            signal: internalTaskController.signal,\r\n                            fork: createFork(internalTaskController.signal, autoJoinPromises),\r\n                            unsubscribe: entry.unsubscribe,\r\n                            subscribe: function () {\r\n                                listenerMap.set(entry.id, entry);\r\n                            },\r\n                            cancelActiveListeners: function () {\r\n                                entry.pending.forEach(function (controller, _, set) {\r\n                                    if (controller !== internalTaskController) {\r\n                                        abortControllerWithReason(controller, listenerCancelled);\r\n                                        set.delete(controller);\r\n                                    }\r\n                                });\r\n                            }\r\n                        })))];\r\n                case 2:\r\n                    _c.sent();\r\n                    return [3 /*break*/, 6];\r\n                case 3:\r\n                    listenerError_1 = _c.sent();\r\n                    if (!(listenerError_1 instanceof TaskAbortError)) {\r\n                        safelyNotifyError(onError, listenerError_1, {\r\n                            raisedBy: \"effect\"\r\n                        });\r\n                    }\r\n                    return [3 /*break*/, 6];\r\n                case 4: return [4 /*yield*/, Promise.allSettled(autoJoinPromises)];\r\n                case 5:\r\n                    _c.sent();\r\n                    abortControllerWithReason(internalTaskController, listenerCompleted);\r\n                    entry.pending.delete(internalTaskController);\r\n                    return [7 /*endfinally*/];\r\n                case 6: return [2 /*return*/];\r\n            }\r\n        });\r\n    }); };\r\n    var clearListenerMiddleware = createClearListenerMiddleware(listenerMap);\r\n    var middleware = function (api) { return function (next) { return function (action) {\r\n        if (!isAction(action)) {\r\n            return next(action);\r\n        }\r\n        if (addListener.match(action)) {\r\n            return startListening(action.payload);\r\n        }\r\n        if (clearAllListeners.match(action)) {\r\n            clearListenerMiddleware();\r\n            return;\r\n        }\r\n        if (removeListener.match(action)) {\r\n            return stopListening(action.payload);\r\n        }\r\n        var originalState = api.getState();\r\n        var getOriginalState = function () {\r\n            if (originalState === INTERNAL_NIL_TOKEN) {\r\n                throw new Error(alm + \": getOriginalState can only be called synchronously\");\r\n            }\r\n            return originalState;\r\n        };\r\n        var result;\r\n        try {\r\n            result = next(action);\r\n            if (listenerMap.size > 0) {\r\n                var currentState = api.getState();\r\n                var listenerEntries = Array.from(listenerMap.values());\r\n                for (var _i = 0, listenerEntries_1 = listenerEntries; _i < listenerEntries_1.length; _i++) {\r\n                    var entry = listenerEntries_1[_i];\r\n                    var runListener = false;\r\n                    try {\r\n                        runListener = entry.predicate(action, currentState, originalState);\r\n                    }\r\n                    catch (predicateError) {\r\n                        runListener = false;\r\n                        safelyNotifyError(onError, predicateError, {\r\n                            raisedBy: \"predicate\"\r\n                        });\r\n                    }\r\n                    if (!runListener) {\r\n                        continue;\r\n                    }\r\n                    notifyListener(entry, action, api, getOriginalState);\r\n                }\r\n            }\r\n        }\r\n        finally {\r\n            originalState = INTERNAL_NIL_TOKEN;\r\n        }\r\n        return result;\r\n    }; }; };\r\n    return {\r\n        middleware: middleware,\r\n        startListening: startListening,\r\n        stopListening: stopListening,\r\n        clearListeners: clearListenerMiddleware\r\n    };\r\n}\r\n// src/autoBatchEnhancer.ts\r\nvar SHOULD_AUTOBATCH = \"RTK_autoBatch\";\r\nvar prepareAutoBatched = function () { return function (payload) {\r\n    var _c;\r\n    return ({\r\n        payload: payload,\r\n        meta: (_c = {}, _c[SHOULD_AUTOBATCH] = true, _c)\r\n    });\r\n}; };\r\nvar promise;\r\nvar queueMicrotaskShim = typeof queueMicrotask === \"function\" ? queueMicrotask.bind(typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : globalThis) : function (cb) { return (promise || (promise = Promise.resolve())).then(cb).catch(function (err) { return setTimeout(function () {\r\n    throw err;\r\n}, 0); }); };\r\nvar createQueueWithTimer = function (timeout) {\r\n    return function (notify) {\r\n        setTimeout(notify, timeout);\r\n    };\r\n};\r\nvar rAF = typeof window !== \"undefined\" && window.requestAnimationFrame ? window.requestAnimationFrame : createQueueWithTimer(10);\r\nvar autoBatchEnhancer = function (options) {\r\n    if (options === void 0) { options = { type: \"raf\" }; }\r\n    return function (next) { return function () {\r\n        var args = [];\r\n        for (var _i = 0; _i < arguments.length; _i++) {\r\n            args[_i] = arguments[_i];\r\n        }\r\n        var store = next.apply(void 0, args);\r\n        var notifying = true;\r\n        var shouldNotifyAtEndOfTick = false;\r\n        var notificationQueued = false;\r\n        var listeners = new Set();\r\n        var queueCallback = options.type === \"tick\" ? queueMicrotaskShim : options.type === \"raf\" ? rAF : options.type === \"callback\" ? options.queueNotification : createQueueWithTimer(options.timeout);\r\n        var notifyListeners = function () {\r\n            notificationQueued = false;\r\n            if (shouldNotifyAtEndOfTick) {\r\n                shouldNotifyAtEndOfTick = false;\r\n                listeners.forEach(function (l) { return l(); });\r\n            }\r\n        };\r\n        return Object.assign({}, store, {\r\n            subscribe: function (listener2) {\r\n                var wrappedListener = function () { return notifying && listener2(); };\r\n                var unsubscribe = store.subscribe(wrappedListener);\r\n                listeners.add(listener2);\r\n                return function () {\r\n                    unsubscribe();\r\n                    listeners.delete(listener2);\r\n                };\r\n            },\r\n            dispatch: function (action) {\r\n                var _a;\r\n                try {\r\n                    notifying = !((_a = action == null ? void 0 : action.meta) == null ? void 0 : _a[SHOULD_AUTOBATCH]);\r\n                    shouldNotifyAtEndOfTick = !notifying;\r\n                    if (shouldNotifyAtEndOfTick) {\r\n                        if (!notificationQueued) {\r\n                            notificationQueued = true;\r\n                            queueCallback(notifyListeners);\r\n                        }\r\n                    }\r\n                    return store.dispatch(action);\r\n                }\r\n                finally {\r\n                    notifying = true;\r\n                }\r\n            }\r\n        });\r\n    }; };\r\n};\r\n// src/index.ts\r\nenableES5();\r\nexport { EnhancerArray, MiddlewareArray, SHOULD_AUTOBATCH, TaskAbortError, addListener, autoBatchEnhancer, clearAllListeners, configureStore, createAction, createActionCreatorInvariantMiddleware, createAsyncThunk, createDraftSafeSelector, createEntityAdapter, createImmutableStateInvariantMiddleware, createListenerMiddleware, default2 as createNextState, createReducer, createSelector2 as createSelector, createSerializableStateInvariantMiddleware, createSlice, current2 as current, findNonSerializableValue, freeze, getDefaultMiddleware, getType, isAction, isActionCreator, isAllOf, isAnyOf, isAsyncThunkAction, isDraft4 as isDraft, isFSA as isFluxStandardAction, isFulfilled, isImmutableDefault, isPending, isPlain, isPlainObject, isRejected, isRejectedWithValue, miniSerializeError, nanoid, original, prepareAutoBatched, removeListener, unwrapResult };\r\n//# sourceMappingURL=redux-toolkit.esm.js.map","\"use strict\";\n\n// rawAsap provides everything we need except exception management.\nvar rawAsap = require(\"./raw\");\n// RawTasks are recycled to reduce GC churn.\nvar freeTasks = [];\n// We queue errors to ensure they are thrown in right order (FIFO).\n// Array-as-queue is good enough here, since we are just dealing with exceptions.\nvar pendingErrors = [];\nvar requestErrorThrow = rawAsap.makeRequestCallFromTimer(throwFirstError);\n\nfunction throwFirstError() {\n    if (pendingErrors.length) {\n        throw pendingErrors.shift();\n    }\n}\n\n/**\n * Calls a task as soon as possible after returning, in its own event, with priority\n * over other events like animation, reflow, and repaint. An error thrown from an\n * event will not interrupt, nor even substantially slow down the processing of\n * other events, but will be rather postponed to a lower priority event.\n * @param {{call}} task A callable object, typically a function that takes no\n * arguments.\n */\nmodule.exports = asap;\nfunction asap(task) {\n    var rawTask;\n    if (freeTasks.length) {\n        rawTask = freeTasks.pop();\n    } else {\n        rawTask = new RawTask();\n    }\n    rawTask.task = task;\n    rawAsap(rawTask);\n}\n\n// We wrap tasks with recyclable task objects.  A task object implements\n// `call`, just like a function.\nfunction RawTask() {\n    this.task = null;\n}\n\n// The sole purpose of wrapping the task is to catch the exception and recycle\n// the task object after its single use.\nRawTask.prototype.call = function () {\n    try {\n        this.task.call();\n    } catch (error) {\n        if (asap.onerror) {\n            // This hook exists purely for testing purposes.\n            // Its name will be periodically randomized to break any code that\n            // depends on its existence.\n            asap.onerror(error);\n        } else {\n            // In a web browser, exceptions are not fatal. However, to avoid\n            // slowing down the queue of pending tasks, we rethrow the error in a\n            // lower priority turn.\n            pendingErrors.push(error);\n            requestErrorThrow();\n        }\n    } finally {\n        this.task = null;\n        freeTasks[freeTasks.length] = this;\n    }\n};\n","\"use strict\";\n\n// Use the fastest means possible to execute a task in its own turn, with\n// priority over other events including IO, animation, reflow, and redraw\n// events in browsers.\n//\n// An exception thrown by a task will permanently interrupt the processing of\n// subsequent tasks. The higher level `asap` function ensures that if an\n// exception is thrown by a task, that the task queue will continue flushing as\n// soon as possible, but if you use `rawAsap` directly, you are responsible to\n// either ensure that no exceptions are thrown from your task, or to manually\n// call `rawAsap.requestFlush` if an exception is thrown.\nmodule.exports = rawAsap;\nfunction rawAsap(task) {\n    if (!queue.length) {\n        requestFlush();\n        flushing = true;\n    }\n    // Equivalent to push, but avoids a function call.\n    queue[queue.length] = task;\n}\n\nvar queue = [];\n// Once a flush has been requested, no further calls to `requestFlush` are\n// necessary until the next `flush` completes.\nvar flushing = false;\n// `requestFlush` is an implementation-specific method that attempts to kick\n// off a `flush` event as quickly as possible. `flush` will attempt to exhaust\n// the event queue before yielding to the browser's own event loop.\nvar requestFlush;\n// The position of the next task to execute in the task queue. This is\n// preserved between calls to `flush` so that it can be resumed if\n// a task throws an exception.\nvar index = 0;\n// If a task schedules additional tasks recursively, the task queue can grow\n// unbounded. To prevent memory exhaustion, the task queue will periodically\n// truncate already-completed tasks.\nvar capacity = 1024;\n\n// The flush function processes all tasks that have been scheduled with\n// `rawAsap` unless and until one of those tasks throws an exception.\n// If a task throws an exception, `flush` ensures that its state will remain\n// consistent and will resume where it left off when called again.\n// However, `flush` does not make any arrangements to be called again if an\n// exception is thrown.\nfunction flush() {\n    while (index < queue.length) {\n        var currentIndex = index;\n        // Advance the index before calling the task. This ensures that we will\n        // begin flushing on the next task the task throws an error.\n        index = index + 1;\n        queue[currentIndex].call();\n        // Prevent leaking memory for long chains of recursive calls to `asap`.\n        // If we call `asap` within tasks scheduled by `asap`, the queue will\n        // grow, but to avoid an O(n) walk for every task we execute, we don't\n        // shift tasks off the queue after they have been executed.\n        // Instead, we periodically shift 1024 tasks off the queue.\n        if (index > capacity) {\n            // Manually shift all values starting at the index back to the\n            // beginning of the queue.\n            for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) {\n                queue[scan] = queue[scan + index];\n            }\n            queue.length -= index;\n            index = 0;\n        }\n    }\n    queue.length = 0;\n    index = 0;\n    flushing = false;\n}\n\n// `requestFlush` is implemented using a strategy based on data collected from\n// every available SauceLabs Selenium web driver worker at time of writing.\n// https://docs.google.com/spreadsheets/d/1mG-5UYGup5qxGdEMWkhP6BWCz053NUb2E1QoUTU16uA/edit#gid=783724593\n\n// Safari 6 and 6.1 for desktop, iPad, and iPhone are the only browsers that\n// have WebKitMutationObserver but not un-prefixed MutationObserver.\n// Must use `global` or `self` instead of `window` to work in both frames and web\n// workers. `global` is a provision of Browserify, Mr, Mrs, or Mop.\n\n/* globals self */\nvar scope = typeof global !== \"undefined\" ? global : self;\nvar BrowserMutationObserver = scope.MutationObserver || scope.WebKitMutationObserver;\n\n// MutationObservers are desirable because they have high priority and work\n// reliably everywhere they are implemented.\n// They are implemented in all modern browsers.\n//\n// - Android 4-4.3\n// - Chrome 26-34\n// - Firefox 14-29\n// - Internet Explorer 11\n// - iPad Safari 6-7.1\n// - iPhone Safari 7-7.1\n// - Safari 6-7\nif (typeof BrowserMutationObserver === \"function\") {\n    requestFlush = makeRequestCallFromMutationObserver(flush);\n\n// MessageChannels are desirable because they give direct access to the HTML\n// task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera\n// 11-12, and in web workers in many engines.\n// Although message channels yield to any queued rendering and IO tasks, they\n// would be better than imposing the 4ms delay of timers.\n// However, they do not work reliably in Internet Explorer or Safari.\n\n// Internet Explorer 10 is the only browser that has setImmediate but does\n// not have MutationObservers.\n// Although setImmediate yields to the browser's renderer, it would be\n// preferrable to falling back to setTimeout since it does not have\n// the minimum 4ms penalty.\n// Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and\n// Desktop to a lesser extent) that renders both setImmediate and\n// MessageChannel useless for the purposes of ASAP.\n// https://github.com/kriskowal/q/issues/396\n\n// Timers are implemented universally.\n// We fall back to timers in workers in most engines, and in foreground\n// contexts in the following browsers.\n// However, note that even this simple case requires nuances to operate in a\n// broad spectrum of browsers.\n//\n// - Firefox 3-13\n// - Internet Explorer 6-9\n// - iPad Safari 4.3\n// - Lynx 2.8.7\n} else {\n    requestFlush = makeRequestCallFromTimer(flush);\n}\n\n// `requestFlush` requests that the high priority event queue be flushed as\n// soon as possible.\n// This is useful to prevent an error thrown in a task from stalling the event\n// queue if the exception handled by Node.js’s\n// `process.on(\"uncaughtException\")` or by a domain.\nrawAsap.requestFlush = requestFlush;\n\n// To request a high priority event, we induce a mutation observer by toggling\n// the text of a text node between \"1\" and \"-1\".\nfunction makeRequestCallFromMutationObserver(callback) {\n    var toggle = 1;\n    var observer = new BrowserMutationObserver(callback);\n    var node = document.createTextNode(\"\");\n    observer.observe(node, {characterData: true});\n    return function requestCall() {\n        toggle = -toggle;\n        node.data = toggle;\n    };\n}\n\n// The message channel technique was discovered by Malte Ubl and was the\n// original foundation for this library.\n// http://www.nonblocking.io/2011/06/windownexttick.html\n\n// Safari 6.0.5 (at least) intermittently fails to create message ports on a\n// page's first load. Thankfully, this version of Safari supports\n// MutationObservers, so we don't need to fall back in that case.\n\n// function makeRequestCallFromMessageChannel(callback) {\n//     var channel = new MessageChannel();\n//     channel.port1.onmessage = callback;\n//     return function requestCall() {\n//         channel.port2.postMessage(0);\n//     };\n// }\n\n// For reasons explained above, we are also unable to use `setImmediate`\n// under any circumstances.\n// Even if we were, there is another bug in Internet Explorer 10.\n// It is not sufficient to assign `setImmediate` to `requestFlush` because\n// `setImmediate` must be called *by name* and therefore must be wrapped in a\n// closure.\n// Never forget.\n\n// function makeRequestCallFromSetImmediate(callback) {\n//     return function requestCall() {\n//         setImmediate(callback);\n//     };\n// }\n\n// Safari 6.0 has a problem where timers will get lost while the user is\n// scrolling. This problem does not impact ASAP because Safari 6.0 supports\n// mutation observers, so that implementation is used instead.\n// However, if we ever elect to use timers in Safari, the prevalent work-around\n// is to add a scroll event listener that calls for a flush.\n\n// `setTimeout` does not call the passed callback if the delay is less than\n// approximately 7 in web workers in Firefox 8 through 18, and sometimes not\n// even then.\n\nfunction makeRequestCallFromTimer(callback) {\n    return function requestCall() {\n        // We dispatch a timeout with a specified delay of 0 for engines that\n        // can reliably accommodate that request. This will usually be snapped\n        // to a 4 milisecond delay, but once we're flushing, there's no delay\n        // between events.\n        var timeoutHandle = setTimeout(handleTimer, 0);\n        // However, since this timer gets frequently dropped in Firefox\n        // workers, we enlist an interval handle that will try to fire\n        // an event 20 times per second until it succeeds.\n        var intervalHandle = setInterval(handleTimer, 50);\n\n        function handleTimer() {\n            // Whichever timer succeeds will cancel both timers and\n            // execute the callback.\n            clearTimeout(timeoutHandle);\n            clearInterval(intervalHandle);\n            callback();\n        }\n    };\n}\n\n// This is for `asap.js` only.\n// Its name will be periodically randomized to break any code that depends on\n// its existence.\nrawAsap.makeRequestCallFromTimer = makeRequestCallFromTimer;\n\n// ASAP was originally a nextTick shim included in Q. This was factored out\n// into this ASAP package. It was later adapted to RSVP which made further\n// amendments. These decisions, particularly to marginalize MessageChannel and\n// to capture the MutationObserver implementation in a closure, were integrated\n// back into ASAP proper.\n// https://github.com/tildeio/rsvp.js/blob/cddf7232546a9cf858524b75cde6f9edf72620a7/lib/rsvp/asap.js\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst sales_item_Model_ttypes = require('./sales_item_Model_types');\nconst sales_item_Exceptions_ttypes = require('./sales_item_Exceptions_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = require('./sales_item_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst AdminSalesItemService_adminRemoveSalesItemsForLocation_args = class {\n  constructor(args) {\n    this.adminRemoveSalesItemsForLocationRequest = null;\n    if (args) {\n      if (args.adminRemoveSalesItemsForLocationRequest !== undefined && args.adminRemoveSalesItemsForLocationRequest !== null) {\n        this.adminRemoveSalesItemsForLocationRequest = new sales_item_Model_ttypes.AdminRemoveSalesItemsForLocationRequest(args.adminRemoveSalesItemsForLocationRequest);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field adminRemoveSalesItemsForLocationRequest is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.adminRemoveSalesItemsForLocationRequest = new sales_item_Model_ttypes.AdminRemoveSalesItemsForLocationRequest();\n          this.adminRemoveSalesItemsForLocationRequest.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AdminSalesItemService_adminRemoveSalesItemsForLocation_args');\n    if (this.adminRemoveSalesItemsForLocationRequest !== null && this.adminRemoveSalesItemsForLocationRequest !== undefined) {\n      output.writeFieldBegin('adminRemoveSalesItemsForLocationRequest', Thrift.Type.STRUCT, 1);\n      this.adminRemoveSalesItemsForLocationRequest.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AdminSalesItemService_adminRemoveSalesItemsForLocation_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new sales_item_Model_ttypes.AdminRemoveSalesItemsResponse(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new sales_item_Model_ttypes.AdminRemoveSalesItemsResponse();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AdminSalesItemService_adminRemoveSalesItemsForLocation_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AdminSalesItemServiceClient = exports.Client = class AdminSalesItemServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  adminRemoveSalesItemsForLocation (adminRemoveSalesItemsForLocationRequest) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_adminRemoveSalesItemsForLocation(adminRemoveSalesItemsForLocationRequest);\n    });\n  }\n\n  send_adminRemoveSalesItemsForLocation (adminRemoveSalesItemsForLocationRequest) {\n    const output = new this.pClass(this.output);\n    const params = {\n      adminRemoveSalesItemsForLocationRequest: adminRemoveSalesItemsForLocationRequest\n    };\n    const args = new AdminSalesItemService_adminRemoveSalesItemsForLocation_args(params);\n    try {\n      output.writeMessageBegin('adminRemoveSalesItemsForLocation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_adminRemoveSalesItemsForLocation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new AdminSalesItemService_adminRemoveSalesItemsForLocation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('adminRemoveSalesItemsForLocation failed: unknown result');\n  }\n};\nconst AdminSalesItemServiceProcessor = exports.Processor = class AdminSalesItemServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_adminRemoveSalesItemsForLocation (seqid, input, output) {\n    const args = new AdminSalesItemService_adminRemoveSalesItemsForLocation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.adminRemoveSalesItemsForLocation.length === 1) {\n      Promise.resolve(this._handler.adminRemoveSalesItemsForLocation.bind(this._handler)(\n        args.adminRemoveSalesItemsForLocationRequest\n      )).then(result => {\n        const result_obj = new AdminSalesItemService_adminRemoveSalesItemsForLocation_result({success: result});\n        output.writeMessageBegin(\"adminRemoveSalesItemsForLocation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new AdminSalesItemService_adminRemoveSalesItemsForLocation_result(err);\n          output.writeMessageBegin(\"adminRemoveSalesItemsForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"adminRemoveSalesItemsForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.adminRemoveSalesItemsForLocation(args.adminRemoveSalesItemsForLocationRequest, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new AdminSalesItemService_adminRemoveSalesItemsForLocation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"adminRemoveSalesItemsForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"adminRemoveSalesItemsForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_transfer_report_Model_ttypes = require('./inventory_transfer_report_Model_types');\nconst inventory_transfer_report_Exceptions_ttypes = require('./inventory_transfer_report_Exceptions_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = require('./inventory_transfer_report_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst BreakageReportService_createBreakageReport_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportData = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportData !== undefined && args.reportData !== null) {\n        this.reportData = new inventory_transfer_report_Model_ttypes.BreakageReportInfo(args.reportData);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportData is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportData = new inventory_transfer_report_Model_ttypes.BreakageReportInfo();\n          this.reportData.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_createBreakageReport_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportData !== null && this.reportData !== undefined) {\n      output.writeFieldBegin('reportData', Thrift.Type.STRUCT, 2);\n      this.reportData.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_createBreakageReport_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.UnknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    this.unknownProductIdException = null;\n    this.unitIncompatibleWithProductPackagingException = null;\n    this.quantityMustBeNonnegativeException = null;\n    this.atMostOneQuantityIsAllowedForProductAndUnitException = null;\n    this.productNotAssociatedWithLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.UnknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException) {\n        this.unitIncompatibleWithProductPackagingException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException) {\n        this.quantityMustBeNonnegativeException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException) {\n        this.atMostOneQuantityIsAllowedForProductAndUnitException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n        this.productNotAssociatedWithLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.UnknownLocationIdentifierException !== undefined && args.UnknownLocationIdentifierException !== null) {\n        this.UnknownLocationIdentifierException = args.UnknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unitIncompatibleWithProductPackagingException !== undefined && args.unitIncompatibleWithProductPackagingException !== null) {\n        this.unitIncompatibleWithProductPackagingException = args.unitIncompatibleWithProductPackagingException;\n      }\n      if (args.quantityMustBeNonnegativeException !== undefined && args.quantityMustBeNonnegativeException !== null) {\n        this.quantityMustBeNonnegativeException = args.quantityMustBeNonnegativeException;\n      }\n      if (args.atMostOneQuantityIsAllowedForProductAndUnitException !== undefined && args.atMostOneQuantityIsAllowedForProductAndUnitException !== null) {\n        this.atMostOneQuantityIsAllowedForProductAndUnitException = args.atMostOneQuantityIsAllowedForProductAndUnitException;\n      }\n      if (args.productNotAssociatedWithLocationException !== undefined && args.productNotAssociatedWithLocationException !== null) {\n        this.productNotAssociatedWithLocationException = args.productNotAssociatedWithLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.UnknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.UnknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unitIncompatibleWithProductPackagingException = new product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException();\n          this.unitIncompatibleWithProductPackagingException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityMustBeNonnegativeException = new product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException();\n          this.quantityMustBeNonnegativeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.atMostOneQuantityIsAllowedForProductAndUnitException = new inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException();\n          this.atMostOneQuantityIsAllowedForProductAndUnitException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productNotAssociatedWithLocationException = new product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException();\n          this.productNotAssociatedWithLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_createBreakageReport_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.UnknownLocationIdentifierException !== null && this.UnknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('UnknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.UnknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 6);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unitIncompatibleWithProductPackagingException !== null && this.unitIncompatibleWithProductPackagingException !== undefined) {\n      output.writeFieldBegin('unitIncompatibleWithProductPackagingException', Thrift.Type.STRUCT, 7);\n      this.unitIncompatibleWithProductPackagingException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityMustBeNonnegativeException !== null && this.quantityMustBeNonnegativeException !== undefined) {\n      output.writeFieldBegin('quantityMustBeNonnegativeException', Thrift.Type.STRUCT, 8);\n      this.quantityMustBeNonnegativeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.atMostOneQuantityIsAllowedForProductAndUnitException !== null && this.atMostOneQuantityIsAllowedForProductAndUnitException !== undefined) {\n      output.writeFieldBegin('atMostOneQuantityIsAllowedForProductAndUnitException', Thrift.Type.STRUCT, 9);\n      this.atMostOneQuantityIsAllowedForProductAndUnitException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productNotAssociatedWithLocationException !== null && this.productNotAssociatedWithLocationException !== undefined) {\n      output.writeFieldBegin('productNotAssociatedWithLocationException', Thrift.Type.STRUCT, 10);\n      this.productNotAssociatedWithLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_updateBreakageReport_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifier = null;\n    this.update = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifier !== undefined && args.reportIdentifier !== null) {\n        this.reportIdentifier = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier(args.reportIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifier is unset!');\n      }\n      if (args.update !== undefined && args.update !== null) {\n        this.update = new inventory_transfer_report_Model_ttypes.BreakageReportUpdate(args.update);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field update is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportIdentifier = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier();\n          this.reportIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.update = new inventory_transfer_report_Model_ttypes.BreakageReportUpdate();\n          this.update.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_updateBreakageReport_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifier !== null && this.reportIdentifier !== undefined) {\n      output.writeFieldBegin('reportIdentifier', Thrift.Type.STRUCT, 2);\n      this.reportIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.update !== null && this.update !== undefined) {\n      output.writeFieldBegin('update', Thrift.Type.STRUCT, 3);\n      this.update.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_updateBreakageReport_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToReportException = null;\n    this.unknownProductIdException = null;\n    this.unitIncompatibleWithProductPackagingException = null;\n    this.quantityMustBeNonnegativeException = null;\n    this.quantityOfProductAndUnitDoesNotExistException = null;\n    this.atMostOneQuantityIsAllowedForProductAndUnitException = null;\n    this.productNotAssociatedWithLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n        this.actorDoesNotHaveAccessToReportException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException) {\n        this.unitIncompatibleWithProductPackagingException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException) {\n        this.quantityMustBeNonnegativeException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException) {\n        this.quantityOfProductAndUnitDoesNotExistException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException) {\n        this.atMostOneQuantityIsAllowedForProductAndUnitException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n        this.productNotAssociatedWithLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToReportException !== undefined && args.actorDoesNotHaveAccessToReportException !== null) {\n        this.actorDoesNotHaveAccessToReportException = args.actorDoesNotHaveAccessToReportException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unitIncompatibleWithProductPackagingException !== undefined && args.unitIncompatibleWithProductPackagingException !== null) {\n        this.unitIncompatibleWithProductPackagingException = args.unitIncompatibleWithProductPackagingException;\n      }\n      if (args.quantityMustBeNonnegativeException !== undefined && args.quantityMustBeNonnegativeException !== null) {\n        this.quantityMustBeNonnegativeException = args.quantityMustBeNonnegativeException;\n      }\n      if (args.quantityOfProductAndUnitDoesNotExistException !== undefined && args.quantityOfProductAndUnitDoesNotExistException !== null) {\n        this.quantityOfProductAndUnitDoesNotExistException = args.quantityOfProductAndUnitDoesNotExistException;\n      }\n      if (args.atMostOneQuantityIsAllowedForProductAndUnitException !== undefined && args.atMostOneQuantityIsAllowedForProductAndUnitException !== null) {\n        this.atMostOneQuantityIsAllowedForProductAndUnitException = args.atMostOneQuantityIsAllowedForProductAndUnitException;\n      }\n      if (args.productNotAssociatedWithLocationException !== undefined && args.productNotAssociatedWithLocationException !== null) {\n        this.productNotAssociatedWithLocationException = args.productNotAssociatedWithLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToReportException = new inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException();\n          this.actorDoesNotHaveAccessToReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unitIncompatibleWithProductPackagingException = new product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException();\n          this.unitIncompatibleWithProductPackagingException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityMustBeNonnegativeException = new product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException();\n          this.quantityMustBeNonnegativeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityOfProductAndUnitDoesNotExistException = new product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException();\n          this.quantityOfProductAndUnitDoesNotExistException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.atMostOneQuantityIsAllowedForProductAndUnitException = new inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException();\n          this.atMostOneQuantityIsAllowedForProductAndUnitException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 11:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productNotAssociatedWithLocationException = new product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException();\n          this.productNotAssociatedWithLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_updateBreakageReport_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToReportException !== null && this.actorDoesNotHaveAccessToReportException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToReportException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToReportException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 6);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unitIncompatibleWithProductPackagingException !== null && this.unitIncompatibleWithProductPackagingException !== undefined) {\n      output.writeFieldBegin('unitIncompatibleWithProductPackagingException', Thrift.Type.STRUCT, 7);\n      this.unitIncompatibleWithProductPackagingException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityMustBeNonnegativeException !== null && this.quantityMustBeNonnegativeException !== undefined) {\n      output.writeFieldBegin('quantityMustBeNonnegativeException', Thrift.Type.STRUCT, 8);\n      this.quantityMustBeNonnegativeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityOfProductAndUnitDoesNotExistException !== null && this.quantityOfProductAndUnitDoesNotExistException !== undefined) {\n      output.writeFieldBegin('quantityOfProductAndUnitDoesNotExistException', Thrift.Type.STRUCT, 9);\n      this.quantityOfProductAndUnitDoesNotExistException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.atMostOneQuantityIsAllowedForProductAndUnitException !== null && this.atMostOneQuantityIsAllowedForProductAndUnitException !== undefined) {\n      output.writeFieldBegin('atMostOneQuantityIsAllowedForProductAndUnitException', Thrift.Type.STRUCT, 10);\n      this.atMostOneQuantityIsAllowedForProductAndUnitException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productNotAssociatedWithLocationException !== null && this.productNotAssociatedWithLocationException !== undefined) {\n      output.writeFieldBegin('productNotAssociatedWithLocationException', Thrift.Type.STRUCT, 11);\n      this.productNotAssociatedWithLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_updateType_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifier = null;\n    this.type = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifier !== undefined && args.reportIdentifier !== null) {\n        this.reportIdentifier = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier(args.reportIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifier is unset!');\n      }\n      if (args.type !== undefined && args.type !== null) {\n        this.type = args.type;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field type is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportIdentifier = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier();\n          this.reportIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.type = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_updateType_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifier !== null && this.reportIdentifier !== undefined) {\n      output.writeFieldBegin('reportIdentifier', Thrift.Type.STRUCT, 2);\n      this.reportIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.type !== null && this.type !== undefined) {\n      output.writeFieldBegin('type', Thrift.Type.STRING, 3);\n      output.writeString(this.type);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_updateType_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToReportException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n        this.actorDoesNotHaveAccessToReportException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToReportException !== undefined && args.actorDoesNotHaveAccessToReportException !== null) {\n        this.actorDoesNotHaveAccessToReportException = args.actorDoesNotHaveAccessToReportException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToReportException = new inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException();\n          this.actorDoesNotHaveAccessToReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_updateType_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToReportException !== null && this.actorDoesNotHaveAccessToReportException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToReportException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToReportException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_getBreakageTypesForLocation_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_getBreakageTypesForLocation_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_getBreakageTypesForLocation_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.LocationIdentifierIsRequiredException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException) {\n        this.LocationIdentifierIsRequiredException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [null]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.LocationIdentifierIsRequiredException !== undefined && args.LocationIdentifierIsRequiredException !== null) {\n        this.LocationIdentifierIsRequiredException = args.LocationIdentifierIsRequiredException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp331 = input.readListBegin();\n          const _size30 = _rtmp331.size || 0;\n          for (let _i32 = 0; _i32 < _size30; ++_i32) {\n            let elem33 = null;\n            elem33 = input.readString();\n            this.success.push(elem33);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.LocationIdentifierIsRequiredException = new location_Exceptions_ttypes.LocationIdentifierIsRequiredException();\n          this.LocationIdentifierIsRequiredException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_getBreakageTypesForLocation_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRING, this.success.length);\n      for (let iter34 in this.success) {\n        if (this.success.hasOwnProperty(iter34)) {\n          iter34 = this.success[iter34];\n          output.writeString(iter34);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.LocationIdentifierIsRequiredException !== null && this.LocationIdentifierIsRequiredException !== undefined) {\n      output.writeFieldBegin('LocationIdentifierIsRequiredException', Thrift.Type.STRUCT, 4);\n      this.LocationIdentifierIsRequiredException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 5);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 7);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_getBreakageReportsByIds_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifiers = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifiers !== undefined && args.reportIdentifiers !== null) {\n        this.reportIdentifiers = Thrift.copyList(args.reportIdentifiers, [inventory_transfer_report_Model_ttypes.BreakageReportIdentifier]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifiers is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.reportIdentifiers = [];\n          const _rtmp336 = input.readListBegin();\n          const _size35 = _rtmp336.size || 0;\n          for (let _i37 = 0; _i37 < _size35; ++_i37) {\n            let elem38 = null;\n            elem38 = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier();\n            elem38.read(input);\n            this.reportIdentifiers.push(elem38);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_getBreakageReportsByIds_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifiers !== null && this.reportIdentifiers !== undefined) {\n      output.writeFieldBegin('reportIdentifiers', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.reportIdentifiers.length);\n      for (let iter39 in this.reportIdentifiers) {\n        if (this.reportIdentifiers.hasOwnProperty(iter39)) {\n          iter39 = this.reportIdentifiers[iter39];\n          iter39.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_getBreakageReportsByIds_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToReportException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n        this.actorDoesNotHaveAccessToReportException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_transfer_report_Model_ttypes.BreakageReportAndMetadata]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToReportException !== undefined && args.actorDoesNotHaveAccessToReportException !== null) {\n        this.actorDoesNotHaveAccessToReportException = args.actorDoesNotHaveAccessToReportException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp341 = input.readListBegin();\n          const _size40 = _rtmp341.size || 0;\n          for (let _i42 = 0; _i42 < _size40; ++_i42) {\n            let elem43 = null;\n            elem43 = new inventory_transfer_report_Model_ttypes.BreakageReportAndMetadata();\n            elem43.read(input);\n            this.success.push(elem43);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToReportException = new inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException();\n          this.actorDoesNotHaveAccessToReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_getBreakageReportsByIds_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter44 in this.success) {\n        if (this.success.hasOwnProperty(iter44)) {\n          iter44 = this.success[iter44];\n          iter44.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToReportException !== null && this.actorDoesNotHaveAccessToReportException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToReportException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToReportException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_getReportsForLocationInPeriod_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    this.periodStartInclusive = null;\n    this.periodEndExclusive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n      if (args.periodStartInclusive !== undefined && args.periodStartInclusive !== null) {\n        this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodStartInclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodStartInclusive is unset!');\n      }\n      if (args.periodEndExclusive !== undefined && args.periodEndExclusive !== null) {\n        this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodEndExclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodEndExclusive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodStartInclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodEndExclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_getReportsForLocationInPeriod_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodStartInclusive !== null && this.periodStartInclusive !== undefined) {\n      output.writeFieldBegin('periodStartInclusive', Thrift.Type.STRUCT, 3);\n      this.periodStartInclusive.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodEndExclusive !== null && this.periodEndExclusive !== undefined) {\n      output.writeFieldBegin('periodEndExclusive', Thrift.Type.STRUCT, 4);\n      this.periodEndExclusive.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_getReportsForLocationInPeriod_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.LocationIdentifierIsRequiredException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    this.periodStartIsLaterThanEndException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException) {\n        this.LocationIdentifierIsRequiredException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.PeriodStartIsLaterThanEndException) {\n        this.periodStartIsLaterThanEndException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_transfer_report_Model_ttypes.BreakageReportIdentifier]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.LocationIdentifierIsRequiredException !== undefined && args.LocationIdentifierIsRequiredException !== null) {\n        this.LocationIdentifierIsRequiredException = args.LocationIdentifierIsRequiredException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n      if (args.periodStartIsLaterThanEndException !== undefined && args.periodStartIsLaterThanEndException !== null) {\n        this.periodStartIsLaterThanEndException = args.periodStartIsLaterThanEndException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp346 = input.readListBegin();\n          const _size45 = _rtmp346.size || 0;\n          for (let _i47 = 0; _i47 < _size45; ++_i47) {\n            let elem48 = null;\n            elem48 = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier();\n            elem48.read(input);\n            this.success.push(elem48);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.LocationIdentifierIsRequiredException = new location_Exceptions_ttypes.LocationIdentifierIsRequiredException();\n          this.LocationIdentifierIsRequiredException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodStartIsLaterThanEndException = new inventory_transfer_report_Exceptions_ttypes.PeriodStartIsLaterThanEndException();\n          this.periodStartIsLaterThanEndException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_getReportsForLocationInPeriod_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter49 in this.success) {\n        if (this.success.hasOwnProperty(iter49)) {\n          iter49 = this.success[iter49];\n          iter49.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.LocationIdentifierIsRequiredException !== null && this.LocationIdentifierIsRequiredException !== undefined) {\n      output.writeFieldBegin('LocationIdentifierIsRequiredException', Thrift.Type.STRUCT, 4);\n      this.LocationIdentifierIsRequiredException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 5);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 7);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodStartIsLaterThanEndException !== null && this.periodStartIsLaterThanEndException !== undefined) {\n      output.writeFieldBegin('periodStartIsLaterThanEndException', Thrift.Type.STRUCT, 8);\n      this.periodStartIsLaterThanEndException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_deleteReport_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifier = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifier !== undefined && args.reportIdentifier !== null) {\n        this.reportIdentifier = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier(args.reportIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportIdentifier = new inventory_transfer_report_Model_ttypes.BreakageReportIdentifier();\n          this.reportIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_deleteReport_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifier !== null && this.reportIdentifier !== undefined) {\n      output.writeFieldBegin('reportIdentifier', Thrift.Type.STRUCT, 2);\n      this.reportIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportService_deleteReport_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToReportException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n        this.actorDoesNotHaveAccessToReportException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToReportException !== undefined && args.actorDoesNotHaveAccessToReportException !== null) {\n        this.actorDoesNotHaveAccessToReportException = args.actorDoesNotHaveAccessToReportException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToReportException = new inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException();\n          this.actorDoesNotHaveAccessToReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportService_deleteReport_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToReportException !== null && this.actorDoesNotHaveAccessToReportException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToReportException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToReportException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportServiceClient = exports.Client = class BreakageReportServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createBreakageReport (actor, reportData) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createBreakageReport(actor, reportData);\n    });\n  }\n\n  send_createBreakageReport (actor, reportData) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportData: reportData\n    };\n    const args = new BreakageReportService_createBreakageReport_args(params);\n    try {\n      output.writeMessageBegin('createBreakageReport', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createBreakageReport (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new BreakageReportService_createBreakageReport_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.UnknownLocationIdentifierException) {\n      return callback(result.UnknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unitIncompatibleWithProductPackagingException) {\n      return callback(result.unitIncompatibleWithProductPackagingException);\n    }\n    if (null !== result.quantityMustBeNonnegativeException) {\n      return callback(result.quantityMustBeNonnegativeException);\n    }\n    if (null !== result.atMostOneQuantityIsAllowedForProductAndUnitException) {\n      return callback(result.atMostOneQuantityIsAllowedForProductAndUnitException);\n    }\n    if (null !== result.productNotAssociatedWithLocationException) {\n      return callback(result.productNotAssociatedWithLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createBreakageReport failed: unknown result');\n  }\n\n  updateBreakageReport (actor, reportIdentifier, update) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateBreakageReport(actor, reportIdentifier, update);\n    });\n  }\n\n  send_updateBreakageReport (actor, reportIdentifier, update) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifier: reportIdentifier,\n      update: update\n    };\n    const args = new BreakageReportService_updateBreakageReport_args(params);\n    try {\n      output.writeMessageBegin('updateBreakageReport', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateBreakageReport (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new BreakageReportService_updateBreakageReport_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToReportException) {\n      return callback(result.actorDoesNotHaveAccessToReportException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unitIncompatibleWithProductPackagingException) {\n      return callback(result.unitIncompatibleWithProductPackagingException);\n    }\n    if (null !== result.quantityMustBeNonnegativeException) {\n      return callback(result.quantityMustBeNonnegativeException);\n    }\n    if (null !== result.quantityOfProductAndUnitDoesNotExistException) {\n      return callback(result.quantityOfProductAndUnitDoesNotExistException);\n    }\n    if (null !== result.atMostOneQuantityIsAllowedForProductAndUnitException) {\n      return callback(result.atMostOneQuantityIsAllowedForProductAndUnitException);\n    }\n    if (null !== result.productNotAssociatedWithLocationException) {\n      return callback(result.productNotAssociatedWithLocationException);\n    }\n    callback(null);\n  }\n\n  updateType (actor, reportIdentifier, type) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateType(actor, reportIdentifier, type);\n    });\n  }\n\n  send_updateType (actor, reportIdentifier, type) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifier: reportIdentifier,\n      type: type\n    };\n    const args = new BreakageReportService_updateType_args(params);\n    try {\n      output.writeMessageBegin('updateType', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateType (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new BreakageReportService_updateType_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToReportException) {\n      return callback(result.actorDoesNotHaveAccessToReportException);\n    }\n    callback(null);\n  }\n\n  getBreakageTypesForLocation (actor, locationIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getBreakageTypesForLocation(actor, locationIdentifier);\n    });\n  }\n\n  send_getBreakageTypesForLocation (actor, locationIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier\n    };\n    const args = new BreakageReportService_getBreakageTypesForLocation_args(params);\n    try {\n      output.writeMessageBegin('getBreakageTypesForLocation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getBreakageTypesForLocation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new BreakageReportService_getBreakageTypesForLocation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.LocationIdentifierIsRequiredException) {\n      return callback(result.LocationIdentifierIsRequiredException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getBreakageTypesForLocation failed: unknown result');\n  }\n\n  getBreakageReportsByIds (actor, reportIdentifiers) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getBreakageReportsByIds(actor, reportIdentifiers);\n    });\n  }\n\n  send_getBreakageReportsByIds (actor, reportIdentifiers) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifiers: reportIdentifiers\n    };\n    const args = new BreakageReportService_getBreakageReportsByIds_args(params);\n    try {\n      output.writeMessageBegin('getBreakageReportsByIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getBreakageReportsByIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new BreakageReportService_getBreakageReportsByIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToReportException) {\n      return callback(result.actorDoesNotHaveAccessToReportException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getBreakageReportsByIds failed: unknown result');\n  }\n\n  getReportsForLocationInPeriod (actor, locationIdentifier, periodStartInclusive, periodEndExclusive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getReportsForLocationInPeriod(actor, locationIdentifier, periodStartInclusive, periodEndExclusive);\n    });\n  }\n\n  send_getReportsForLocationInPeriod (actor, locationIdentifier, periodStartInclusive, periodEndExclusive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier,\n      periodStartInclusive: periodStartInclusive,\n      periodEndExclusive: periodEndExclusive\n    };\n    const args = new BreakageReportService_getReportsForLocationInPeriod_args(params);\n    try {\n      output.writeMessageBegin('getReportsForLocationInPeriod', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getReportsForLocationInPeriod (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new BreakageReportService_getReportsForLocationInPeriod_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.LocationIdentifierIsRequiredException) {\n      return callback(result.LocationIdentifierIsRequiredException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.periodStartIsLaterThanEndException) {\n      return callback(result.periodStartIsLaterThanEndException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getReportsForLocationInPeriod failed: unknown result');\n  }\n\n  deleteReport (actor, reportIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteReport(actor, reportIdentifier);\n    });\n  }\n\n  send_deleteReport (actor, reportIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifier: reportIdentifier\n    };\n    const args = new BreakageReportService_deleteReport_args(params);\n    try {\n      output.writeMessageBegin('deleteReport', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteReport (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new BreakageReportService_deleteReport_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToReportException) {\n      return callback(result.actorDoesNotHaveAccessToReportException);\n    }\n    callback(null);\n  }\n};\nconst BreakageReportServiceProcessor = exports.Processor = class BreakageReportServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createBreakageReport (seqid, input, output) {\n    const args = new BreakageReportService_createBreakageReport_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createBreakageReport.length === 2) {\n      Promise.resolve(this._handler.createBreakageReport.bind(this._handler)(\n        args.actor,\n        args.reportData\n      )).then(result => {\n        const result_obj = new BreakageReportService_createBreakageReport_result({success: result});\n        output.writeMessageBegin(\"createBreakageReport\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result = new BreakageReportService_createBreakageReport_result(err);\n          output.writeMessageBegin(\"createBreakageReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createBreakageReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createBreakageReport(args.actor, args.reportData, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result_obj = new BreakageReportService_createBreakageReport_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createBreakageReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createBreakageReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateBreakageReport (seqid, input, output) {\n    const args = new BreakageReportService_updateBreakageReport_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateBreakageReport.length === 3) {\n      Promise.resolve(this._handler.updateBreakageReport.bind(this._handler)(\n        args.actor,\n        args.reportIdentifier,\n        args.update\n      )).then(result => {\n        const result_obj = new BreakageReportService_updateBreakageReport_result({success: result});\n        output.writeMessageBegin(\"updateBreakageReport\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result = new BreakageReportService_updateBreakageReport_result(err);\n          output.writeMessageBegin(\"updateBreakageReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateBreakageReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateBreakageReport(args.actor, args.reportIdentifier, args.update, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result_obj = new BreakageReportService_updateBreakageReport_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateBreakageReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateBreakageReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateType (seqid, input, output) {\n    const args = new BreakageReportService_updateType_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateType.length === 3) {\n      Promise.resolve(this._handler.updateType.bind(this._handler)(\n        args.actor,\n        args.reportIdentifier,\n        args.type\n      )).then(result => {\n        const result_obj = new BreakageReportService_updateType_result({success: result});\n        output.writeMessageBegin(\"updateType\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n          result = new BreakageReportService_updateType_result(err);\n          output.writeMessageBegin(\"updateType\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateType\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateType(args.actor, args.reportIdentifier, args.type, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n          result_obj = new BreakageReportService_updateType_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateType\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateType\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getBreakageTypesForLocation (seqid, input, output) {\n    const args = new BreakageReportService_getBreakageTypesForLocation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getBreakageTypesForLocation.length === 2) {\n      Promise.resolve(this._handler.getBreakageTypesForLocation.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier\n      )).then(result => {\n        const result_obj = new BreakageReportService_getBreakageTypesForLocation_result({success: result});\n        output.writeMessageBegin(\"getBreakageTypesForLocation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result = new BreakageReportService_getBreakageTypesForLocation_result(err);\n          output.writeMessageBegin(\"getBreakageTypesForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getBreakageTypesForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getBreakageTypesForLocation(args.actor, args.locationIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result_obj = new BreakageReportService_getBreakageTypesForLocation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getBreakageTypesForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getBreakageTypesForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getBreakageReportsByIds (seqid, input, output) {\n    const args = new BreakageReportService_getBreakageReportsByIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getBreakageReportsByIds.length === 2) {\n      Promise.resolve(this._handler.getBreakageReportsByIds.bind(this._handler)(\n        args.actor,\n        args.reportIdentifiers\n      )).then(result => {\n        const result_obj = new BreakageReportService_getBreakageReportsByIds_result({success: result});\n        output.writeMessageBegin(\"getBreakageReportsByIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n          result = new BreakageReportService_getBreakageReportsByIds_result(err);\n          output.writeMessageBegin(\"getBreakageReportsByIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getBreakageReportsByIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getBreakageReportsByIds(args.actor, args.reportIdentifiers, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n          result_obj = new BreakageReportService_getBreakageReportsByIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getBreakageReportsByIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getBreakageReportsByIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getReportsForLocationInPeriod (seqid, input, output) {\n    const args = new BreakageReportService_getReportsForLocationInPeriod_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getReportsForLocationInPeriod.length === 4) {\n      Promise.resolve(this._handler.getReportsForLocationInPeriod.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier,\n        args.periodStartInclusive,\n        args.periodEndExclusive\n      )).then(result => {\n        const result_obj = new BreakageReportService_getReportsForLocationInPeriod_result({success: result});\n        output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PeriodStartIsLaterThanEndException) {\n          result = new BreakageReportService_getReportsForLocationInPeriod_result(err);\n          output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getReportsForLocationInPeriod(args.actor, args.locationIdentifier, args.periodStartInclusive, args.periodEndExclusive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PeriodStartIsLaterThanEndException) {\n          result_obj = new BreakageReportService_getReportsForLocationInPeriod_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteReport (seqid, input, output) {\n    const args = new BreakageReportService_deleteReport_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteReport.length === 2) {\n      Promise.resolve(this._handler.deleteReport.bind(this._handler)(\n        args.actor,\n        args.reportIdentifier\n      )).then(result => {\n        const result_obj = new BreakageReportService_deleteReport_result({success: result});\n        output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n          result = new BreakageReportService_deleteReport_result(err);\n          output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteReport(args.actor, args.reportIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n          result_obj = new BreakageReportService_deleteReport_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst distributor_Exceptions_ttypes = require('./distributor_Exceptions_types');\nconst distributor_Model_ttypes = require('./distributor_Model_types');\nconst distributor_dependency_Model_ttypes = require('./distributor_dependency_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\n\n\nconst ttypes = require('./distributor_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst DistributorService_createDistributor_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.distributor = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.distributor !== undefined && args.distributor !== null) {\n        this.distributor = new distributor_Model_ttypes.Distributor(args.distributor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributor is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributor = new distributor_Model_ttypes.Distributor();\n          this.distributor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_createDistributor_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributor !== null && this.distributor !== undefined) {\n      output.writeFieldBegin('distributor', Thrift.Type.STRUCT, 2);\n      this.distributor.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_createDistributor_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownScopeException = null;\n    this.distributorNameCollisionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownScopeException) {\n        this.unknownScopeException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n        this.distributorNameCollisionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new distributor_Model_ttypes.DistributorId(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownScopeException !== undefined && args.unknownScopeException !== null) {\n        this.unknownScopeException = args.unknownScopeException;\n      }\n      if (args.distributorNameCollisionException !== undefined && args.distributorNameCollisionException !== null) {\n        this.distributorNameCollisionException = args.distributorNameCollisionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new distributor_Model_ttypes.DistributorId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownScopeException = new distributor_Exceptions_ttypes.UnknownScopeException();\n          this.unknownScopeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorNameCollisionException = new distributor_Exceptions_ttypes.DistributorNameCollisionException();\n          this.distributorNameCollisionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_createDistributor_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownScopeException !== null && this.unknownScopeException !== undefined) {\n      output.writeFieldBegin('unknownScopeException', Thrift.Type.STRUCT, 7);\n      this.unknownScopeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorNameCollisionException !== null && this.distributorNameCollisionException !== undefined) {\n      output.writeFieldBegin('distributorNameCollisionException', Thrift.Type.STRUCT, 8);\n      this.distributorNameCollisionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_setDistributorRegion_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.distributorId = null;\n    this.regionId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n      if (args.regionId !== undefined && args.regionId !== null) {\n        this.regionId = new distributor_Model_ttypes.DistributorRegionId(args.regionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field regionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.regionId = new distributor_Model_ttypes.DistributorRegionId();\n          this.regionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_setDistributorRegion_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 2);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.regionId !== null && this.regionId !== undefined) {\n      output.writeFieldBegin('regionId', Thrift.Type.STRUCT, 3);\n      this.regionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_setDistributorRegion_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownDistributorIdException = null;\n    this.unknownDistributorRegionIdException = null;\n    this.distributorNameCollisionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorRegionIdException) {\n        this.unknownDistributorRegionIdException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n        this.distributorNameCollisionException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.unknownDistributorRegionIdException !== undefined && args.unknownDistributorRegionIdException !== null) {\n        this.unknownDistributorRegionIdException = args.unknownDistributorRegionIdException;\n      }\n      if (args.distributorNameCollisionException !== undefined && args.distributorNameCollisionException !== null) {\n        this.distributorNameCollisionException = args.distributorNameCollisionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorRegionIdException = new distributor_Exceptions_ttypes.UnknownDistributorRegionIdException();\n          this.unknownDistributorRegionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorNameCollisionException = new distributor_Exceptions_ttypes.DistributorNameCollisionException();\n          this.distributorNameCollisionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_setDistributorRegion_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 5);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorRegionIdException !== null && this.unknownDistributorRegionIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorRegionIdException', Thrift.Type.STRUCT, 7);\n      this.unknownDistributorRegionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorNameCollisionException !== null && this.distributorNameCollisionException !== undefined) {\n      output.writeFieldBegin('distributorNameCollisionException', Thrift.Type.STRUCT, 8);\n      this.distributorNameCollisionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_updateDistributorName_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.distributorId = null;\n    this.name = null;\n    this.shortName = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.shortName !== undefined && args.shortName !== null) {\n        this.shortName = args.shortName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field shortName is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.shortName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_updateDistributorName_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 2);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 3);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.shortName !== null && this.shortName !== undefined) {\n      output.writeFieldBegin('shortName', Thrift.Type.STRING, 4);\n      output.writeString(this.shortName);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_updateDistributorName_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownDistributorIdException = null;\n    this.distributorNameCollisionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n        this.distributorNameCollisionException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.distributorNameCollisionException !== undefined && args.distributorNameCollisionException !== null) {\n        this.distributorNameCollisionException = args.distributorNameCollisionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorNameCollisionException = new distributor_Exceptions_ttypes.DistributorNameCollisionException();\n          this.distributorNameCollisionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_updateDistributorName_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 5);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorNameCollisionException !== null && this.distributorNameCollisionException !== undefined) {\n      output.writeFieldBegin('distributorNameCollisionException', Thrift.Type.STRUCT, 8);\n      this.distributorNameCollisionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_updateDistributorOwner_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.distributorId = null;\n    this.newOwner = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n      if (args.newOwner !== undefined && args.newOwner !== null) {\n        this.newOwner = new distributor_Model_ttypes.Scope(args.newOwner);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field newOwner is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.newOwner = new distributor_Model_ttypes.Scope();\n          this.newOwner.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_updateDistributorOwner_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 2);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.newOwner !== null && this.newOwner !== undefined) {\n      output.writeFieldBegin('newOwner', Thrift.Type.STRUCT, 3);\n      this.newOwner.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_updateDistributorOwner_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownDistributorIdException = null;\n    this.unknownScopeException = null;\n    this.distributorNameCollisionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownScopeException) {\n        this.unknownScopeException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n        this.distributorNameCollisionException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.unknownScopeException !== undefined && args.unknownScopeException !== null) {\n        this.unknownScopeException = args.unknownScopeException;\n      }\n      if (args.distributorNameCollisionException !== undefined && args.distributorNameCollisionException !== null) {\n        this.distributorNameCollisionException = args.distributorNameCollisionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownScopeException = new distributor_Exceptions_ttypes.UnknownScopeException();\n          this.unknownScopeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorNameCollisionException = new distributor_Exceptions_ttypes.DistributorNameCollisionException();\n          this.distributorNameCollisionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_updateDistributorOwner_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 5);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownScopeException !== null && this.unknownScopeException !== undefined) {\n      output.writeFieldBegin('unknownScopeException', Thrift.Type.STRUCT, 6);\n      this.unknownScopeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorNameCollisionException !== null && this.distributorNameCollisionException !== undefined) {\n      output.writeFieldBegin('distributorNameCollisionException', Thrift.Type.STRUCT, 8);\n      this.distributorNameCollisionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_replaceDistributor_args = class {\n  constructor(args) {\n    this.replaceDistributorRequest = null;\n    if (args) {\n      if (args.replaceDistributorRequest !== undefined && args.replaceDistributorRequest !== null) {\n        this.replaceDistributorRequest = new distributor_Model_ttypes.ReplaceDistributorRequest(args.replaceDistributorRequest);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field replaceDistributorRequest is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.replaceDistributorRequest = new distributor_Model_ttypes.ReplaceDistributorRequest();\n          this.replaceDistributorRequest.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_replaceDistributor_args');\n    if (this.replaceDistributorRequest !== null && this.replaceDistributorRequest !== undefined) {\n      output.writeFieldBegin('replaceDistributorRequest', Thrift.Type.STRUCT, 1);\n      this.replaceDistributorRequest.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_replaceDistributor_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownDistributorIdException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_replaceDistributor_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 5);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_args = class {\n  constructor(args) {\n    this.distributorIds = null;\n    if (args) {\n      if (args.distributorIds !== undefined && args.distributorIds !== null) {\n        this.distributorIds = Thrift.copyList(args.distributorIds, [distributor_Model_ttypes.DistributorId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.distributorIds = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new distributor_Model_ttypes.DistributorId();\n            elem3.read(input);\n            this.distributorIds.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_args');\n    if (this.distributorIds !== null && this.distributorIds !== undefined) {\n      output.writeFieldBegin('distributorIds', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.distributorIds.length);\n      for (let iter4 in this.distributorIds) {\n        if (this.distributorIds.hasOwnProperty(iter4)) {\n          iter4 = this.distributorIds[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownDistributorIdException = null;\n    this.duplicateDistributorIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.DuplicateDistributorIdException) {\n        this.duplicateDistributorIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [distributor_Model_ttypes.DistributorIdAndDistributor]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.duplicateDistributorIdException !== undefined && args.duplicateDistributorIdException !== null) {\n        this.duplicateDistributorIdException = args.duplicateDistributorIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new distributor_Model_ttypes.DistributorIdAndDistributor();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateDistributorIdException = new distributor_Exceptions_ttypes.DuplicateDistributorIdException();\n          this.duplicateDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 3);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateDistributorIdException !== null && this.duplicateDistributorIdException !== undefined) {\n      output.writeFieldBegin('duplicateDistributorIdException', Thrift.Type.STRUCT, 4);\n      this.duplicateDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.locationIdentifier = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [distributor_Model_ttypes.DistributorIdAndDistributor]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new distributor_Model_ttypes.DistributorIdAndDistributor();\n            elem13.read(input);\n            this.success.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter14 in this.success) {\n        if (this.success.hasOwnProperty(iter14)) {\n          iter14 = this.success[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveDistributorDependencies_args = class {\n  constructor(args) {\n    this.distributorId = null;\n    this.locationId = null;\n    if (args) {\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveDistributorDependencies_args');\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 1);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveDistributorDependencies_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownDistributorIdException = null;\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new distributor_dependency_Model_ttypes.DistributorDependentObjectSet(args.success);\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new distributor_dependency_Model_ttypes.DistributorDependentObjectSet();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveDistributorDependencies_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 1);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveAllDistributorIdsAndDistributors_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveAllDistributorIdsAndDistributors_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveAllDistributorIdsAndDistributors_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [distributor_Model_ttypes.DistributorIdAndDistributor]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new distributor_Model_ttypes.DistributorIdAndDistributor();\n            elem18.read(input);\n            this.success.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveAllDistributorIdsAndDistributors_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter19 in this.success) {\n        if (this.success.hasOwnProperty(iter19)) {\n          iter19 = this.success[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveAllDistributorIdsAndRegions_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveAllDistributorIdsAndRegions_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveAllDistributorIdsAndRegions_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [distributor_Model_ttypes.DistributorIdAndRegionId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp321 = input.readListBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new distributor_Model_ttypes.DistributorIdAndRegionId();\n            elem23.read(input);\n            this.success.push(elem23);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveAllDistributorIdsAndRegions_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter24 in this.success) {\n        if (this.success.hasOwnProperty(iter24)) {\n          iter24 = this.success[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveAllDistributorRegionIds_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveAllDistributorRegionIds_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorService_retrieveAllDistributorRegionIds_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [distributor_Model_ttypes.DistributorRegionId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp326 = input.readListBegin();\n          const _size25 = _rtmp326.size || 0;\n          for (let _i27 = 0; _i27 < _size25; ++_i27) {\n            let elem28 = null;\n            elem28 = new distributor_Model_ttypes.DistributorRegionId();\n            elem28.read(input);\n            this.success.push(elem28);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorService_retrieveAllDistributorRegionIds_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter29 in this.success) {\n        if (this.success.hasOwnProperty(iter29)) {\n          iter29 = this.success[iter29];\n          iter29.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorServiceClient = exports.Client = class DistributorServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createDistributor (sessionId, distributor) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createDistributor(sessionId, distributor);\n    });\n  }\n\n  send_createDistributor (sessionId, distributor) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      distributor: distributor\n    };\n    const args = new DistributorService_createDistributor_args(params);\n    try {\n      output.writeMessageBegin('createDistributor', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createDistributor (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_createDistributor_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownScopeException) {\n      return callback(result.unknownScopeException);\n    }\n    if (null !== result.distributorNameCollisionException) {\n      return callback(result.distributorNameCollisionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createDistributor failed: unknown result');\n  }\n\n  setDistributorRegion (sessionId, distributorId, regionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setDistributorRegion(sessionId, distributorId, regionId);\n    });\n  }\n\n  send_setDistributorRegion (sessionId, distributorId, regionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      distributorId: distributorId,\n      regionId: regionId\n    };\n    const args = new DistributorService_setDistributorRegion_args(params);\n    try {\n      output.writeMessageBegin('setDistributorRegion', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setDistributorRegion (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_setDistributorRegion_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.unknownDistributorRegionIdException) {\n      return callback(result.unknownDistributorRegionIdException);\n    }\n    if (null !== result.distributorNameCollisionException) {\n      return callback(result.distributorNameCollisionException);\n    }\n    callback(null);\n  }\n\n  updateDistributorName (sessionId, distributorId, name, shortName) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateDistributorName(sessionId, distributorId, name, shortName);\n    });\n  }\n\n  send_updateDistributorName (sessionId, distributorId, name, shortName) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      distributorId: distributorId,\n      name: name,\n      shortName: shortName\n    };\n    const args = new DistributorService_updateDistributorName_args(params);\n    try {\n      output.writeMessageBegin('updateDistributorName', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateDistributorName (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_updateDistributorName_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.distributorNameCollisionException) {\n      return callback(result.distributorNameCollisionException);\n    }\n    callback(null);\n  }\n\n  updateDistributorOwner (sessionId, distributorId, newOwner) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateDistributorOwner(sessionId, distributorId, newOwner);\n    });\n  }\n\n  send_updateDistributorOwner (sessionId, distributorId, newOwner) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      distributorId: distributorId,\n      newOwner: newOwner\n    };\n    const args = new DistributorService_updateDistributorOwner_args(params);\n    try {\n      output.writeMessageBegin('updateDistributorOwner', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateDistributorOwner (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_updateDistributorOwner_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.unknownScopeException) {\n      return callback(result.unknownScopeException);\n    }\n    if (null !== result.distributorNameCollisionException) {\n      return callback(result.distributorNameCollisionException);\n    }\n    callback(null);\n  }\n\n  replaceDistributor (replaceDistributorRequest) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_replaceDistributor(replaceDistributorRequest);\n    });\n  }\n\n  send_replaceDistributor (replaceDistributorRequest) {\n    const output = new this.pClass(this.output);\n    const params = {\n      replaceDistributorRequest: replaceDistributorRequest\n    };\n    const args = new DistributorService_replaceDistributor_args(params);\n    try {\n      output.writeMessageBegin('replaceDistributor', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_replaceDistributor (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_replaceDistributor_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    callback(null);\n  }\n\n  retrieveDistributorIdsAndDistributorsForIdSet (distributorIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveDistributorIdsAndDistributorsForIdSet(distributorIds);\n    });\n  }\n\n  send_retrieveDistributorIdsAndDistributorsForIdSet (distributorIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      distributorIds: distributorIds\n    };\n    const args = new DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_args(params);\n    try {\n      output.writeMessageBegin('retrieveDistributorIdsAndDistributorsForIdSet', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveDistributorIdsAndDistributorsForIdSet (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.duplicateDistributorIdException) {\n      return callback(result.duplicateDistributorIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveDistributorIdsAndDistributorsForIdSet failed: unknown result');\n  }\n\n  retrieveDistributorIdsAndDistributorsAvailableToRetailer (sessionId, locationIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveDistributorIdsAndDistributorsAvailableToRetailer(sessionId, locationIdentifier);\n    });\n  }\n\n  send_retrieveDistributorIdsAndDistributorsAvailableToRetailer (sessionId, locationIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      locationIdentifier: locationIdentifier\n    };\n    const args = new DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_args(params);\n    try {\n      output.writeMessageBegin('retrieveDistributorIdsAndDistributorsAvailableToRetailer', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveDistributorIdsAndDistributorsAvailableToRetailer (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveDistributorIdsAndDistributorsAvailableToRetailer failed: unknown result');\n  }\n\n  retrieveDistributorDependencies (distributorId, locationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveDistributorDependencies(distributorId, locationId);\n    });\n  }\n\n  send_retrieveDistributorDependencies (distributorId, locationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      distributorId: distributorId,\n      locationId: locationId\n    };\n    const args = new DistributorService_retrieveDistributorDependencies_args(params);\n    try {\n      output.writeMessageBegin('retrieveDistributorDependencies', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveDistributorDependencies (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_retrieveDistributorDependencies_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveDistributorDependencies failed: unknown result');\n  }\n\n  retrieveAllDistributorIdsAndDistributors (sessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveAllDistributorIdsAndDistributors(sessionId);\n    });\n  }\n\n  send_retrieveAllDistributorIdsAndDistributors (sessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId\n    };\n    const args = new DistributorService_retrieveAllDistributorIdsAndDistributors_args(params);\n    try {\n      output.writeMessageBegin('retrieveAllDistributorIdsAndDistributors', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveAllDistributorIdsAndDistributors (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_retrieveAllDistributorIdsAndDistributors_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveAllDistributorIdsAndDistributors failed: unknown result');\n  }\n\n  retrieveAllDistributorIdsAndRegions (sessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveAllDistributorIdsAndRegions(sessionId);\n    });\n  }\n\n  send_retrieveAllDistributorIdsAndRegions (sessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId\n    };\n    const args = new DistributorService_retrieveAllDistributorIdsAndRegions_args(params);\n    try {\n      output.writeMessageBegin('retrieveAllDistributorIdsAndRegions', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveAllDistributorIdsAndRegions (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_retrieveAllDistributorIdsAndRegions_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveAllDistributorIdsAndRegions failed: unknown result');\n  }\n\n  retrieveAllDistributorRegionIds (sessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveAllDistributorRegionIds(sessionId);\n    });\n  }\n\n  send_retrieveAllDistributorRegionIds (sessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId\n    };\n    const args = new DistributorService_retrieveAllDistributorRegionIds_args(params);\n    try {\n      output.writeMessageBegin('retrieveAllDistributorRegionIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveAllDistributorRegionIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DistributorService_retrieveAllDistributorRegionIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveAllDistributorRegionIds failed: unknown result');\n  }\n};\nconst DistributorServiceProcessor = exports.Processor = class DistributorServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createDistributor (seqid, input, output) {\n    const args = new DistributorService_createDistributor_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createDistributor.length === 2) {\n      Promise.resolve(this._handler.createDistributor.bind(this._handler)(\n        args.sessionId,\n        args.distributor\n      )).then(result => {\n        const result_obj = new DistributorService_createDistributor_result({success: result});\n        output.writeMessageBegin(\"createDistributor\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownScopeException || err instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n          result = new DistributorService_createDistributor_result(err);\n          output.writeMessageBegin(\"createDistributor\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createDistributor\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createDistributor(args.sessionId, args.distributor, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownScopeException || err instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n          result_obj = new DistributorService_createDistributor_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createDistributor\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createDistributor\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setDistributorRegion (seqid, input, output) {\n    const args = new DistributorService_setDistributorRegion_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setDistributorRegion.length === 3) {\n      Promise.resolve(this._handler.setDistributorRegion.bind(this._handler)(\n        args.sessionId,\n        args.distributorId,\n        args.regionId\n      )).then(result => {\n        const result_obj = new DistributorService_setDistributorRegion_result({success: result});\n        output.writeMessageBegin(\"setDistributorRegion\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorRegionIdException || err instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n          result = new DistributorService_setDistributorRegion_result(err);\n          output.writeMessageBegin(\"setDistributorRegion\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setDistributorRegion\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setDistributorRegion(args.sessionId, args.distributorId, args.regionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorRegionIdException || err instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n          result_obj = new DistributorService_setDistributorRegion_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setDistributorRegion\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setDistributorRegion\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateDistributorName (seqid, input, output) {\n    const args = new DistributorService_updateDistributorName_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateDistributorName.length === 4) {\n      Promise.resolve(this._handler.updateDistributorName.bind(this._handler)(\n        args.sessionId,\n        args.distributorId,\n        args.name,\n        args.shortName\n      )).then(result => {\n        const result_obj = new DistributorService_updateDistributorName_result({success: result});\n        output.writeMessageBegin(\"updateDistributorName\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n          result = new DistributorService_updateDistributorName_result(err);\n          output.writeMessageBegin(\"updateDistributorName\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateDistributorName\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateDistributorName(args.sessionId, args.distributorId, args.name, args.shortName, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n          result_obj = new DistributorService_updateDistributorName_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateDistributorName\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateDistributorName\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateDistributorOwner (seqid, input, output) {\n    const args = new DistributorService_updateDistributorOwner_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateDistributorOwner.length === 3) {\n      Promise.resolve(this._handler.updateDistributorOwner.bind(this._handler)(\n        args.sessionId,\n        args.distributorId,\n        args.newOwner\n      )).then(result => {\n        const result_obj = new DistributorService_updateDistributorOwner_result({success: result});\n        output.writeMessageBegin(\"updateDistributorOwner\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof distributor_Exceptions_ttypes.UnknownScopeException || err instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n          result = new DistributorService_updateDistributorOwner_result(err);\n          output.writeMessageBegin(\"updateDistributorOwner\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateDistributorOwner\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateDistributorOwner(args.sessionId, args.distributorId, args.newOwner, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof distributor_Exceptions_ttypes.UnknownScopeException || err instanceof distributor_Exceptions_ttypes.DistributorNameCollisionException) {\n          result_obj = new DistributorService_updateDistributorOwner_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateDistributorOwner\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateDistributorOwner\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_replaceDistributor (seqid, input, output) {\n    const args = new DistributorService_replaceDistributor_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.replaceDistributor.length === 1) {\n      Promise.resolve(this._handler.replaceDistributor.bind(this._handler)(\n        args.replaceDistributorRequest\n      )).then(result => {\n        const result_obj = new DistributorService_replaceDistributor_result({success: result});\n        output.writeMessageBegin(\"replaceDistributor\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new DistributorService_replaceDistributor_result(err);\n          output.writeMessageBegin(\"replaceDistributor\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"replaceDistributor\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.replaceDistributor(args.replaceDistributorRequest, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new DistributorService_replaceDistributor_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"replaceDistributor\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"replaceDistributor\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveDistributorIdsAndDistributorsForIdSet (seqid, input, output) {\n    const args = new DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveDistributorIdsAndDistributorsForIdSet.length === 1) {\n      Promise.resolve(this._handler.retrieveDistributorIdsAndDistributorsForIdSet.bind(this._handler)(\n        args.distributorIds\n      )).then(result => {\n        const result_obj = new DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_result({success: result});\n        output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsForIdSet\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof distributor_Exceptions_ttypes.DuplicateDistributorIdException) {\n          result = new DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_result(err);\n          output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsForIdSet\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsForIdSet\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveDistributorIdsAndDistributorsForIdSet(args.distributorIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof distributor_Exceptions_ttypes.DuplicateDistributorIdException) {\n          result_obj = new DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsForIdSet\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsForIdSet\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveDistributorIdsAndDistributorsAvailableToRetailer (seqid, input, output) {\n    const args = new DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveDistributorIdsAndDistributorsAvailableToRetailer.length === 2) {\n      Promise.resolve(this._handler.retrieveDistributorIdsAndDistributorsAvailableToRetailer.bind(this._handler)(\n        args.sessionId,\n        args.locationIdentifier\n      )).then(result => {\n        const result_obj = new DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_result({success: result});\n        output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsAvailableToRetailer\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result = new DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_result(err);\n          output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsAvailableToRetailer\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsAvailableToRetailer\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveDistributorIdsAndDistributorsAvailableToRetailer(args.sessionId, args.locationIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result_obj = new DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsAvailableToRetailer\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveDistributorIdsAndDistributorsAvailableToRetailer\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveDistributorDependencies (seqid, input, output) {\n    const args = new DistributorService_retrieveDistributorDependencies_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveDistributorDependencies.length === 2) {\n      Promise.resolve(this._handler.retrieveDistributorDependencies.bind(this._handler)(\n        args.distributorId,\n        args.locationId\n      )).then(result => {\n        const result_obj = new DistributorService_retrieveDistributorDependencies_result({success: result});\n        output.writeMessageBegin(\"retrieveDistributorDependencies\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n          result = new DistributorService_retrieveDistributorDependencies_result(err);\n          output.writeMessageBegin(\"retrieveDistributorDependencies\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveDistributorDependencies\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveDistributorDependencies(args.distributorId, args.locationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n          result_obj = new DistributorService_retrieveDistributorDependencies_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveDistributorDependencies\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveDistributorDependencies\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveAllDistributorIdsAndDistributors (seqid, input, output) {\n    const args = new DistributorService_retrieveAllDistributorIdsAndDistributors_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveAllDistributorIdsAndDistributors.length === 1) {\n      Promise.resolve(this._handler.retrieveAllDistributorIdsAndDistributors.bind(this._handler)(\n        args.sessionId\n      )).then(result => {\n        const result_obj = new DistributorService_retrieveAllDistributorIdsAndDistributors_result({success: result});\n        output.writeMessageBegin(\"retrieveAllDistributorIdsAndDistributors\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new DistributorService_retrieveAllDistributorIdsAndDistributors_result(err);\n          output.writeMessageBegin(\"retrieveAllDistributorIdsAndDistributors\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAllDistributorIdsAndDistributors\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveAllDistributorIdsAndDistributors(args.sessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new DistributorService_retrieveAllDistributorIdsAndDistributors_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveAllDistributorIdsAndDistributors\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAllDistributorIdsAndDistributors\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveAllDistributorIdsAndRegions (seqid, input, output) {\n    const args = new DistributorService_retrieveAllDistributorIdsAndRegions_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveAllDistributorIdsAndRegions.length === 1) {\n      Promise.resolve(this._handler.retrieveAllDistributorIdsAndRegions.bind(this._handler)(\n        args.sessionId\n      )).then(result => {\n        const result_obj = new DistributorService_retrieveAllDistributorIdsAndRegions_result({success: result});\n        output.writeMessageBegin(\"retrieveAllDistributorIdsAndRegions\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new DistributorService_retrieveAllDistributorIdsAndRegions_result(err);\n          output.writeMessageBegin(\"retrieveAllDistributorIdsAndRegions\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAllDistributorIdsAndRegions\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveAllDistributorIdsAndRegions(args.sessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new DistributorService_retrieveAllDistributorIdsAndRegions_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveAllDistributorIdsAndRegions\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAllDistributorIdsAndRegions\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveAllDistributorRegionIds (seqid, input, output) {\n    const args = new DistributorService_retrieveAllDistributorRegionIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveAllDistributorRegionIds.length === 1) {\n      Promise.resolve(this._handler.retrieveAllDistributorRegionIds.bind(this._handler)(\n        args.sessionId\n      )).then(result => {\n        const result_obj = new DistributorService_retrieveAllDistributorRegionIds_result({success: result});\n        output.writeMessageBegin(\"retrieveAllDistributorRegionIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new DistributorService_retrieveAllDistributorRegionIds_result(err);\n          output.writeMessageBegin(\"retrieveAllDistributorRegionIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAllDistributorRegionIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveAllDistributorRegionIds(args.sessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new DistributorService_retrieveAllDistributorRegionIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveAllDistributorRegionIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAllDistributorRegionIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst drink_price_tool_Exceptions_ttypes = require('./drink_price_tool_Exceptions_types');\nconst drink_price_tool_Model_ttypes = require('./drink_price_tool_Model_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\n\n\nconst ttypes = require('./drink_price_tool_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst DrinkPriceToolService_recordPageViewAction_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_recordPageViewAction_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_recordPageViewAction_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_recordPageViewAction_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_recordShareAction_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.shareMedium = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.shareMedium !== undefined && args.shareMedium !== null) {\n        this.shareMedium = args.shareMedium;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field shareMedium is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.shareMedium = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_recordShareAction_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.shareMedium !== null && this.shareMedium !== undefined) {\n      output.writeFieldBegin('shareMedium', Thrift.Type.I32, 2);\n      output.writeI32(this.shareMedium);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_recordShareAction_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_recordShareAction_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [drink_price_tool_Model_ttypes.DrinkId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.SET) {\n          this.success = [];\n          const _rtmp31 = input.readSetBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem3.read(input);\n            this.success.push(elem3);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.SET, 0);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter4 in this.success) {\n        if (this.success.hasOwnProperty(iter4)) {\n          iter4 = this.success[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.drinkIds = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.drinkIds !== undefined && args.drinkIds !== null) {\n        this.drinkIds = Thrift.copyList(args.drinkIds, [drink_price_tool_Model_ttypes.DrinkId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.drinkIds = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem8.read(input);\n            this.drinkIds.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinkIds !== null && this.drinkIds !== undefined) {\n      output.writeFieldBegin('drinkIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.drinkIds.length);\n      for (let iter9 in this.drinkIds) {\n        if (this.drinkIds.hasOwnProperty(iter9)) {\n          iter9 = this.drinkIds[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    this.unknownDrinkIdException = null;\n    this.emptyArgumentException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException) {\n        this.unknownDrinkIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [drink_price_tool_Model_ttypes.Drink]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n      if (args.unknownDrinkIdException !== undefined && args.unknownDrinkIdException !== null) {\n        this.unknownDrinkIdException = args.unknownDrinkIdException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new drink_price_tool_Model_ttypes.Drink();\n            elem13.read(input);\n            this.success.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDrinkIdException = new drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException();\n          this.unknownDrinkIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter14 in this.success) {\n        if (this.success.hasOwnProperty(iter14)) {\n          iter14 = this.success[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDrinkIdException !== null && this.unknownDrinkIdException !== undefined) {\n      output.writeFieldBegin('unknownDrinkIdException', Thrift.Type.STRUCT, 4);\n      this.unknownDrinkIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 5);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.drinks = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.drinks !== undefined && args.drinks !== null) {\n        this.drinks = Thrift.copyList(args.drinks, [drink_price_tool_Model_ttypes.Drink]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinks is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.drinks = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new drink_price_tool_Model_ttypes.Drink();\n            elem18.read(input);\n            this.drinks.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinks !== null && this.drinks !== undefined) {\n      output.writeFieldBegin('drinks', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.drinks.length);\n      for (let iter19 in this.drinks) {\n        if (this.drinks.hasOwnProperty(iter19)) {\n          iter19 = this.drinks[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    this.emptyArgumentException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [drink_price_tool_Model_ttypes.DrinkId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp321 = input.readListBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem23.read(input);\n            this.success.push(elem23);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter24 in this.success) {\n        if (this.success.hasOwnProperty(iter24)) {\n          iter24 = this.success[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 4);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.drinkIds = null;\n    this.drinks = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.drinkIds !== undefined && args.drinkIds !== null) {\n        this.drinkIds = Thrift.copyList(args.drinkIds, [drink_price_tool_Model_ttypes.DrinkId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkIds is unset!');\n      }\n      if (args.drinks !== undefined && args.drinks !== null) {\n        this.drinks = Thrift.copyList(args.drinks, [drink_price_tool_Model_ttypes.Drink]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinks is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.drinkIds = [];\n          const _rtmp326 = input.readListBegin();\n          const _size25 = _rtmp326.size || 0;\n          for (let _i27 = 0; _i27 < _size25; ++_i27) {\n            let elem28 = null;\n            elem28 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem28.read(input);\n            this.drinkIds.push(elem28);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.drinks = [];\n          const _rtmp330 = input.readListBegin();\n          const _size29 = _rtmp330.size || 0;\n          for (let _i31 = 0; _i31 < _size29; ++_i31) {\n            let elem32 = null;\n            elem32 = new drink_price_tool_Model_ttypes.Drink();\n            elem32.read(input);\n            this.drinks.push(elem32);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinkIds !== null && this.drinkIds !== undefined) {\n      output.writeFieldBegin('drinkIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.drinkIds.length);\n      for (let iter33 in this.drinkIds) {\n        if (this.drinkIds.hasOwnProperty(iter33)) {\n          iter33 = this.drinkIds[iter33];\n          iter33.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.drinks !== null && this.drinks !== undefined) {\n      output.writeFieldBegin('drinks', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.drinks.length);\n      for (let iter34 in this.drinks) {\n        if (this.drinks.hasOwnProperty(iter34)) {\n          iter34 = this.drinks[iter34];\n          iter34.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    this.unknownDrinkIdException = null;\n    this.emptyArgumentException = null;\n    this.argumentArraysOfUnevenLengthException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException) {\n        this.unknownDrinkIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.ArgumentArraysOfUnevenLengthException) {\n        this.argumentArraysOfUnevenLengthException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n      if (args.unknownDrinkIdException !== undefined && args.unknownDrinkIdException !== null) {\n        this.unknownDrinkIdException = args.unknownDrinkIdException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n      if (args.argumentArraysOfUnevenLengthException !== undefined && args.argumentArraysOfUnevenLengthException !== null) {\n        this.argumentArraysOfUnevenLengthException = args.argumentArraysOfUnevenLengthException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDrinkIdException = new drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException();\n          this.unknownDrinkIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.argumentArraysOfUnevenLengthException = new drink_price_tool_Exceptions_ttypes.ArgumentArraysOfUnevenLengthException();\n          this.argumentArraysOfUnevenLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDrinkIdException !== null && this.unknownDrinkIdException !== undefined) {\n      output.writeFieldBegin('unknownDrinkIdException', Thrift.Type.STRUCT, 4);\n      this.unknownDrinkIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 5);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.argumentArraysOfUnevenLengthException !== null && this.argumentArraysOfUnevenLengthException !== undefined) {\n      output.writeFieldBegin('argumentArraysOfUnevenLengthException', Thrift.Type.STRUCT, 6);\n      this.argumentArraysOfUnevenLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.drinkIds = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.drinkIds !== undefined && args.drinkIds !== null) {\n        this.drinkIds = Thrift.copyList(args.drinkIds, [drink_price_tool_Model_ttypes.DrinkId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.SET) {\n          this.drinkIds = [];\n          const _rtmp336 = input.readSetBegin();\n          const _size35 = _rtmp336.size || 0;\n          for (let _i37 = 0; _i37 < _size35; ++_i37) {\n            let elem38 = null;\n            elem38 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem38.read(input);\n            this.drinkIds.push(elem38);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinkIds !== null && this.drinkIds !== undefined) {\n      output.writeFieldBegin('drinkIds', Thrift.Type.SET, 2);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.drinkIds.length);\n      for (let iter39 in this.drinkIds) {\n        if (this.drinkIds.hasOwnProperty(iter39)) {\n          iter39 = this.drinkIds[iter39];\n          iter39.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    this.unknownDrinkIdException = null;\n    this.emptyArgumentException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException) {\n        this.unknownDrinkIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n      if (args.unknownDrinkIdException !== undefined && args.unknownDrinkIdException !== null) {\n        this.unknownDrinkIdException = args.unknownDrinkIdException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDrinkIdException = new drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException();\n          this.unknownDrinkIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDrinkIdException !== null && this.unknownDrinkIdException !== undefined) {\n      output.writeFieldBegin('unknownDrinkIdException', Thrift.Type.STRUCT, 4);\n      this.unknownDrinkIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 5);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_args = class {\n  constructor(args) {\n    this.authenticatedUserSessionId = null;\n    if (args) {\n      if (args.authenticatedUserSessionId !== undefined && args.authenticatedUserSessionId !== null) {\n        this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.authenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authenticatedUserSessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.authenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_args');\n    if (this.authenticatedUserSessionId !== null && this.authenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('authenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.authenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [drink_price_tool_Model_ttypes.DrinkId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.SET) {\n          this.success = [];\n          const _rtmp341 = input.readSetBegin();\n          const _size40 = _rtmp341.size || 0;\n          for (let _i42 = 0; _i42 < _size40; ++_i42) {\n            let elem43 = null;\n            elem43 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem43.read(input);\n            this.success.push(elem43);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.SET, 0);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter44 in this.success) {\n        if (this.success.hasOwnProperty(iter44)) {\n          iter44 = this.success[iter44];\n          iter44.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_args = class {\n  constructor(args) {\n    this.authenticatedUserSessionId = null;\n    this.drinkIds = null;\n    if (args) {\n      if (args.authenticatedUserSessionId !== undefined && args.authenticatedUserSessionId !== null) {\n        this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.authenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authenticatedUserSessionId is unset!');\n      }\n      if (args.drinkIds !== undefined && args.drinkIds !== null) {\n        this.drinkIds = Thrift.copyList(args.drinkIds, [drink_price_tool_Model_ttypes.DrinkId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.authenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.drinkIds = [];\n          const _rtmp346 = input.readListBegin();\n          const _size45 = _rtmp346.size || 0;\n          for (let _i47 = 0; _i47 < _size45; ++_i47) {\n            let elem48 = null;\n            elem48 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem48.read(input);\n            this.drinkIds.push(elem48);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_args');\n    if (this.authenticatedUserSessionId !== null && this.authenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('authenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.authenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinkIds !== null && this.drinkIds !== undefined) {\n      output.writeFieldBegin('drinkIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.drinkIds.length);\n      for (let iter49 in this.drinkIds) {\n        if (this.drinkIds.hasOwnProperty(iter49)) {\n          iter49 = this.drinkIds[iter49];\n          iter49.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownDrinkIdException = null;\n    this.emptyArgumentException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException) {\n        this.unknownDrinkIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [drink_price_tool_Model_ttypes.Drink]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownDrinkIdException !== undefined && args.unknownDrinkIdException !== null) {\n        this.unknownDrinkIdException = args.unknownDrinkIdException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp351 = input.readListBegin();\n          const _size50 = _rtmp351.size || 0;\n          for (let _i52 = 0; _i52 < _size50; ++_i52) {\n            let elem53 = null;\n            elem53 = new drink_price_tool_Model_ttypes.Drink();\n            elem53.read(input);\n            this.success.push(elem53);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDrinkIdException = new drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException();\n          this.unknownDrinkIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter54 in this.success) {\n        if (this.success.hasOwnProperty(iter54)) {\n          iter54 = this.success[iter54];\n          iter54.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDrinkIdException !== null && this.unknownDrinkIdException !== undefined) {\n      output.writeFieldBegin('unknownDrinkIdException', Thrift.Type.STRUCT, 4);\n      this.unknownDrinkIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 5);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_createDrinksForAuthenticatedUserSession_args = class {\n  constructor(args) {\n    this.authenticatedUserSessionId = null;\n    this.drinks = null;\n    if (args) {\n      if (args.authenticatedUserSessionId !== undefined && args.authenticatedUserSessionId !== null) {\n        this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.authenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authenticatedUserSessionId is unset!');\n      }\n      if (args.drinks !== undefined && args.drinks !== null) {\n        this.drinks = Thrift.copyList(args.drinks, [drink_price_tool_Model_ttypes.Drink]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinks is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.authenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.drinks = [];\n          const _rtmp356 = input.readListBegin();\n          const _size55 = _rtmp356.size || 0;\n          for (let _i57 = 0; _i57 < _size55; ++_i57) {\n            let elem58 = null;\n            elem58 = new drink_price_tool_Model_ttypes.Drink();\n            elem58.read(input);\n            this.drinks.push(elem58);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_createDrinksForAuthenticatedUserSession_args');\n    if (this.authenticatedUserSessionId !== null && this.authenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('authenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.authenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinks !== null && this.drinks !== undefined) {\n      output.writeFieldBegin('drinks', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.drinks.length);\n      for (let iter59 in this.drinks) {\n        if (this.drinks.hasOwnProperty(iter59)) {\n          iter59 = this.drinks[iter59];\n          iter59.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_createDrinksForAuthenticatedUserSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.emptyArgumentException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [drink_price_tool_Model_ttypes.DrinkId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp361 = input.readListBegin();\n          const _size60 = _rtmp361.size || 0;\n          for (let _i62 = 0; _i62 < _size60; ++_i62) {\n            let elem63 = null;\n            elem63 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem63.read(input);\n            this.success.push(elem63);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_createDrinksForAuthenticatedUserSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter64 in this.success) {\n        if (this.success.hasOwnProperty(iter64)) {\n          iter64 = this.success[iter64];\n          iter64.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 4);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_args = class {\n  constructor(args) {\n    this.authenticatedUserSessionId = null;\n    this.drinkIds = null;\n    this.drinks = null;\n    if (args) {\n      if (args.authenticatedUserSessionId !== undefined && args.authenticatedUserSessionId !== null) {\n        this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.authenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authenticatedUserSessionId is unset!');\n      }\n      if (args.drinkIds !== undefined && args.drinkIds !== null) {\n        this.drinkIds = Thrift.copyList(args.drinkIds, [drink_price_tool_Model_ttypes.DrinkId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkIds is unset!');\n      }\n      if (args.drinks !== undefined && args.drinks !== null) {\n        this.drinks = Thrift.copyList(args.drinks, [drink_price_tool_Model_ttypes.Drink]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinks is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.authenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.drinkIds = [];\n          const _rtmp366 = input.readListBegin();\n          const _size65 = _rtmp366.size || 0;\n          for (let _i67 = 0; _i67 < _size65; ++_i67) {\n            let elem68 = null;\n            elem68 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem68.read(input);\n            this.drinkIds.push(elem68);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.drinks = [];\n          const _rtmp370 = input.readListBegin();\n          const _size69 = _rtmp370.size || 0;\n          for (let _i71 = 0; _i71 < _size69; ++_i71) {\n            let elem72 = null;\n            elem72 = new drink_price_tool_Model_ttypes.Drink();\n            elem72.read(input);\n            this.drinks.push(elem72);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_args');\n    if (this.authenticatedUserSessionId !== null && this.authenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('authenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.authenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinkIds !== null && this.drinkIds !== undefined) {\n      output.writeFieldBegin('drinkIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.drinkIds.length);\n      for (let iter73 in this.drinkIds) {\n        if (this.drinkIds.hasOwnProperty(iter73)) {\n          iter73 = this.drinkIds[iter73];\n          iter73.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.drinks !== null && this.drinks !== undefined) {\n      output.writeFieldBegin('drinks', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.drinks.length);\n      for (let iter74 in this.drinks) {\n        if (this.drinks.hasOwnProperty(iter74)) {\n          iter74 = this.drinks[iter74];\n          iter74.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownDrinkIdException = null;\n    this.emptyArgumentException = null;\n    this.argumentArraysOfUnevenLengthException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException) {\n        this.unknownDrinkIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.ArgumentArraysOfUnevenLengthException) {\n        this.argumentArraysOfUnevenLengthException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownDrinkIdException !== undefined && args.unknownDrinkIdException !== null) {\n        this.unknownDrinkIdException = args.unknownDrinkIdException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n      if (args.argumentArraysOfUnevenLengthException !== undefined && args.argumentArraysOfUnevenLengthException !== null) {\n        this.argumentArraysOfUnevenLengthException = args.argumentArraysOfUnevenLengthException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDrinkIdException = new drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException();\n          this.unknownDrinkIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.argumentArraysOfUnevenLengthException = new drink_price_tool_Exceptions_ttypes.ArgumentArraysOfUnevenLengthException();\n          this.argumentArraysOfUnevenLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDrinkIdException !== null && this.unknownDrinkIdException !== undefined) {\n      output.writeFieldBegin('unknownDrinkIdException', Thrift.Type.STRUCT, 4);\n      this.unknownDrinkIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 5);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.argumentArraysOfUnevenLengthException !== null && this.argumentArraysOfUnevenLengthException !== undefined) {\n      output.writeFieldBegin('argumentArraysOfUnevenLengthException', Thrift.Type.STRUCT, 6);\n      this.argumentArraysOfUnevenLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_args = class {\n  constructor(args) {\n    this.authenticatedUserSessionId = null;\n    this.drinkIds = null;\n    if (args) {\n      if (args.authenticatedUserSessionId !== undefined && args.authenticatedUserSessionId !== null) {\n        this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.authenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authenticatedUserSessionId is unset!');\n      }\n      if (args.drinkIds !== undefined && args.drinkIds !== null) {\n        this.drinkIds = Thrift.copyList(args.drinkIds, [drink_price_tool_Model_ttypes.DrinkId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.authenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.SET) {\n          this.drinkIds = [];\n          const _rtmp376 = input.readSetBegin();\n          const _size75 = _rtmp376.size || 0;\n          for (let _i77 = 0; _i77 < _size75; ++_i77) {\n            let elem78 = null;\n            elem78 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem78.read(input);\n            this.drinkIds.push(elem78);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_args');\n    if (this.authenticatedUserSessionId !== null && this.authenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('authenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.authenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinkIds !== null && this.drinkIds !== undefined) {\n      output.writeFieldBegin('drinkIds', Thrift.Type.SET, 2);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.drinkIds.length);\n      for (let iter79 in this.drinkIds) {\n        if (this.drinkIds.hasOwnProperty(iter79)) {\n          iter79 = this.drinkIds[iter79];\n          iter79.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownDrinkIdException = null;\n    this.emptyArgumentException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException) {\n        this.unknownDrinkIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownDrinkIdException !== undefined && args.unknownDrinkIdException !== null) {\n        this.unknownDrinkIdException = args.unknownDrinkIdException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDrinkIdException = new drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException();\n          this.unknownDrinkIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDrinkIdException !== null && this.unknownDrinkIdException !== undefined) {\n      output.writeFieldBegin('unknownDrinkIdException', Thrift.Type.STRUCT, 4);\n      this.unknownDrinkIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 5);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinkIdsToImport_args = class {\n  constructor(args) {\n    this.authenticatedUserSessionId = null;\n    if (args) {\n      if (args.authenticatedUserSessionId !== undefined && args.authenticatedUserSessionId !== null) {\n        this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.authenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authenticatedUserSessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.authenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinkIdsToImport_args');\n    if (this.authenticatedUserSessionId !== null && this.authenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('authenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.authenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_getDrinkIdsToImport_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [drink_price_tool_Model_ttypes.DrinkIdAndDrink]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp381 = input.readListBegin();\n          const _size80 = _rtmp381.size || 0;\n          for (let _i82 = 0; _i82 < _size80; ++_i82) {\n            let elem83 = null;\n            elem83 = new drink_price_tool_Model_ttypes.DrinkIdAndDrink();\n            elem83.read(input);\n            this.success.push(elem83);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_getDrinkIdsToImport_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter84 in this.success) {\n        if (this.success.hasOwnProperty(iter84)) {\n          iter84 = this.success[iter84];\n          iter84.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_importDrinkIds_args = class {\n  constructor(args) {\n    this.authenticatedUserSessionId = null;\n    this.drinkIds = null;\n    if (args) {\n      if (args.authenticatedUserSessionId !== undefined && args.authenticatedUserSessionId !== null) {\n        this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.authenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authenticatedUserSessionId is unset!');\n      }\n      if (args.drinkIds !== undefined && args.drinkIds !== null) {\n        this.drinkIds = Thrift.copyList(args.drinkIds, [drink_price_tool_Model_ttypes.DrinkId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.authenticatedUserSessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.authenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.SET) {\n          this.drinkIds = [];\n          const _rtmp386 = input.readSetBegin();\n          const _size85 = _rtmp386.size || 0;\n          for (let _i87 = 0; _i87 < _size85; ++_i87) {\n            let elem88 = null;\n            elem88 = new drink_price_tool_Model_ttypes.DrinkId();\n            elem88.read(input);\n            this.drinkIds.push(elem88);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_importDrinkIds_args');\n    if (this.authenticatedUserSessionId !== null && this.authenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('authenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.authenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drinkIds !== null && this.drinkIds !== undefined) {\n      output.writeFieldBegin('drinkIds', Thrift.Type.SET, 2);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.drinkIds.length);\n      for (let iter89 in this.drinkIds) {\n        if (this.drinkIds.hasOwnProperty(iter89)) {\n          iter89 = this.drinkIds[iter89];\n          iter89.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolService_importDrinkIds_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownDrinkIdException = null;\n    this.emptyArgumentException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException) {\n        this.unknownDrinkIdException = args;\n        return;\n    }\n    if (args instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n        this.emptyArgumentException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownDrinkIdException !== undefined && args.unknownDrinkIdException !== null) {\n        this.unknownDrinkIdException = args.unknownDrinkIdException;\n      }\n      if (args.emptyArgumentException !== undefined && args.emptyArgumentException !== null) {\n        this.emptyArgumentException = args.emptyArgumentException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDrinkIdException = new drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException();\n          this.unknownDrinkIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emptyArgumentException = new drink_price_tool_Exceptions_ttypes.EmptyArgumentException();\n          this.emptyArgumentException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkPriceToolService_importDrinkIds_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDrinkIdException !== null && this.unknownDrinkIdException !== undefined) {\n      output.writeFieldBegin('unknownDrinkIdException', Thrift.Type.STRUCT, 4);\n      this.unknownDrinkIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emptyArgumentException !== null && this.emptyArgumentException !== undefined) {\n      output.writeFieldBegin('emptyArgumentException', Thrift.Type.STRUCT, 5);\n      this.emptyArgumentException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkPriceToolServiceClient = exports.Client = class DrinkPriceToolServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  recordPageViewAction (unauthenticatedUserSessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_recordPageViewAction(unauthenticatedUserSessionId);\n    });\n  }\n\n  send_recordPageViewAction (unauthenticatedUserSessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId\n    };\n    const args = new DrinkPriceToolService_recordPageViewAction_args(params);\n    try {\n      output.writeMessageBegin('recordPageViewAction', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_recordPageViewAction (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_recordPageViewAction_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    callback(null);\n  }\n\n  recordShareAction (unauthenticatedUserSessionId, shareMedium) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_recordShareAction(unauthenticatedUserSessionId, shareMedium);\n    });\n  }\n\n  send_recordShareAction (unauthenticatedUserSessionId, shareMedium) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      shareMedium: shareMedium\n    };\n    const args = new DrinkPriceToolService_recordShareAction_args(params);\n    try {\n      output.writeMessageBegin('recordShareAction', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_recordShareAction (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_recordShareAction_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    callback(null);\n  }\n\n  getDrinkIdsForUnauthenticatedUserSession (unauthenticatedUserSessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getDrinkIdsForUnauthenticatedUserSession(unauthenticatedUserSessionId);\n    });\n  }\n\n  send_getDrinkIdsForUnauthenticatedUserSession (unauthenticatedUserSessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId\n    };\n    const args = new DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('getDrinkIdsForUnauthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getDrinkIdsForUnauthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getDrinkIdsForUnauthenticatedUserSession failed: unknown result');\n  }\n\n  getDrinksByDrinkIdsForUnauthenticatedUserSession (unauthenticatedUserSessionId, drinkIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getDrinksByDrinkIdsForUnauthenticatedUserSession(unauthenticatedUserSessionId, drinkIds);\n    });\n  }\n\n  send_getDrinksByDrinkIdsForUnauthenticatedUserSession (unauthenticatedUserSessionId, drinkIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      drinkIds: drinkIds\n    };\n    const args = new DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('getDrinksByDrinkIdsForUnauthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getDrinksByDrinkIdsForUnauthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.unknownDrinkIdException) {\n      return callback(result.unknownDrinkIdException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getDrinksByDrinkIdsForUnauthenticatedUserSession failed: unknown result');\n  }\n\n  createDrinksForUnauthenticatedUserSession (unauthenticatedUserSessionId, drinks) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createDrinksForUnauthenticatedUserSession(unauthenticatedUserSessionId, drinks);\n    });\n  }\n\n  send_createDrinksForUnauthenticatedUserSession (unauthenticatedUserSessionId, drinks) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      drinks: drinks\n    };\n    const args = new DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('createDrinksForUnauthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createDrinksForUnauthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createDrinksForUnauthenticatedUserSession failed: unknown result');\n  }\n\n  editDrinksByDrinkIdForUnauthenticatedUserSession (unauthenticatedUserSessionId, drinkIds, drinks) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_editDrinksByDrinkIdForUnauthenticatedUserSession(unauthenticatedUserSessionId, drinkIds, drinks);\n    });\n  }\n\n  send_editDrinksByDrinkIdForUnauthenticatedUserSession (unauthenticatedUserSessionId, drinkIds, drinks) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      drinkIds: drinkIds,\n      drinks: drinks\n    };\n    const args = new DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('editDrinksByDrinkIdForUnauthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_editDrinksByDrinkIdForUnauthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.unknownDrinkIdException) {\n      return callback(result.unknownDrinkIdException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    if (null !== result.argumentArraysOfUnevenLengthException) {\n      return callback(result.argumentArraysOfUnevenLengthException);\n    }\n    callback(null);\n  }\n\n  deleteDrinksByDrinkIdForUnauthenticatedUserSession (unauthenticatedUserSessionId, drinkIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteDrinksByDrinkIdForUnauthenticatedUserSession(unauthenticatedUserSessionId, drinkIds);\n    });\n  }\n\n  send_deleteDrinksByDrinkIdForUnauthenticatedUserSession (unauthenticatedUserSessionId, drinkIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      drinkIds: drinkIds\n    };\n    const args = new DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('deleteDrinksByDrinkIdForUnauthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteDrinksByDrinkIdForUnauthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.unknownDrinkIdException) {\n      return callback(result.unknownDrinkIdException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    callback(null);\n  }\n\n  getDrinkIdsForAuthenticatedUserSession (authenticatedUserSessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getDrinkIdsForAuthenticatedUserSession(authenticatedUserSessionId);\n    });\n  }\n\n  send_getDrinkIdsForAuthenticatedUserSession (authenticatedUserSessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      authenticatedUserSessionId: authenticatedUserSessionId\n    };\n    const args = new DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('getDrinkIdsForAuthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getDrinkIdsForAuthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getDrinkIdsForAuthenticatedUserSession failed: unknown result');\n  }\n\n  getDrinksByDrinkIdsForAuthenticatedUserSession (authenticatedUserSessionId, drinkIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getDrinksByDrinkIdsForAuthenticatedUserSession(authenticatedUserSessionId, drinkIds);\n    });\n  }\n\n  send_getDrinksByDrinkIdsForAuthenticatedUserSession (authenticatedUserSessionId, drinkIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      authenticatedUserSessionId: authenticatedUserSessionId,\n      drinkIds: drinkIds\n    };\n    const args = new DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('getDrinksByDrinkIdsForAuthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getDrinksByDrinkIdsForAuthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownDrinkIdException) {\n      return callback(result.unknownDrinkIdException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getDrinksByDrinkIdsForAuthenticatedUserSession failed: unknown result');\n  }\n\n  createDrinksForAuthenticatedUserSession (authenticatedUserSessionId, drinks) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createDrinksForAuthenticatedUserSession(authenticatedUserSessionId, drinks);\n    });\n  }\n\n  send_createDrinksForAuthenticatedUserSession (authenticatedUserSessionId, drinks) {\n    const output = new this.pClass(this.output);\n    const params = {\n      authenticatedUserSessionId: authenticatedUserSessionId,\n      drinks: drinks\n    };\n    const args = new DrinkPriceToolService_createDrinksForAuthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('createDrinksForAuthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createDrinksForAuthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_createDrinksForAuthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createDrinksForAuthenticatedUserSession failed: unknown result');\n  }\n\n  editDrinksByDrinkIdForAuthenticatedUserSession (authenticatedUserSessionId, drinkIds, drinks) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_editDrinksByDrinkIdForAuthenticatedUserSession(authenticatedUserSessionId, drinkIds, drinks);\n    });\n  }\n\n  send_editDrinksByDrinkIdForAuthenticatedUserSession (authenticatedUserSessionId, drinkIds, drinks) {\n    const output = new this.pClass(this.output);\n    const params = {\n      authenticatedUserSessionId: authenticatedUserSessionId,\n      drinkIds: drinkIds,\n      drinks: drinks\n    };\n    const args = new DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('editDrinksByDrinkIdForAuthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_editDrinksByDrinkIdForAuthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownDrinkIdException) {\n      return callback(result.unknownDrinkIdException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    if (null !== result.argumentArraysOfUnevenLengthException) {\n      return callback(result.argumentArraysOfUnevenLengthException);\n    }\n    callback(null);\n  }\n\n  deleteDrinksByDrinkIdForAuthenticatedUserSession (authenticatedUserSessionId, drinkIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteDrinksByDrinkIdForAuthenticatedUserSession(authenticatedUserSessionId, drinkIds);\n    });\n  }\n\n  send_deleteDrinksByDrinkIdForAuthenticatedUserSession (authenticatedUserSessionId, drinkIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      authenticatedUserSessionId: authenticatedUserSessionId,\n      drinkIds: drinkIds\n    };\n    const args = new DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_args(params);\n    try {\n      output.writeMessageBegin('deleteDrinksByDrinkIdForAuthenticatedUserSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteDrinksByDrinkIdForAuthenticatedUserSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownDrinkIdException) {\n      return callback(result.unknownDrinkIdException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    callback(null);\n  }\n\n  getDrinkIdsToImport (authenticatedUserSessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getDrinkIdsToImport(authenticatedUserSessionId);\n    });\n  }\n\n  send_getDrinkIdsToImport (authenticatedUserSessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      authenticatedUserSessionId: authenticatedUserSessionId\n    };\n    const args = new DrinkPriceToolService_getDrinkIdsToImport_args(params);\n    try {\n      output.writeMessageBegin('getDrinkIdsToImport', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getDrinkIdsToImport (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_getDrinkIdsToImport_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getDrinkIdsToImport failed: unknown result');\n  }\n\n  importDrinkIds (authenticatedUserSessionId, drinkIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_importDrinkIds(authenticatedUserSessionId, drinkIds);\n    });\n  }\n\n  send_importDrinkIds (authenticatedUserSessionId, drinkIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      authenticatedUserSessionId: authenticatedUserSessionId,\n      drinkIds: drinkIds\n    };\n    const args = new DrinkPriceToolService_importDrinkIds_args(params);\n    try {\n      output.writeMessageBegin('importDrinkIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_importDrinkIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new DrinkPriceToolService_importDrinkIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownDrinkIdException) {\n      return callback(result.unknownDrinkIdException);\n    }\n    if (null !== result.emptyArgumentException) {\n      return callback(result.emptyArgumentException);\n    }\n    callback(null);\n  }\n};\nconst DrinkPriceToolServiceProcessor = exports.Processor = class DrinkPriceToolServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_recordPageViewAction (seqid, input, output) {\n    const args = new DrinkPriceToolService_recordPageViewAction_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.recordPageViewAction.length === 1) {\n      Promise.resolve(this._handler.recordPageViewAction.bind(this._handler)(\n        args.unauthenticatedUserSessionId\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_recordPageViewAction_result({success: result});\n        output.writeMessageBegin(\"recordPageViewAction\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result = new DrinkPriceToolService_recordPageViewAction_result(err);\n          output.writeMessageBegin(\"recordPageViewAction\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"recordPageViewAction\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.recordPageViewAction(args.unauthenticatedUserSessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result_obj = new DrinkPriceToolService_recordPageViewAction_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"recordPageViewAction\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"recordPageViewAction\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_recordShareAction (seqid, input, output) {\n    const args = new DrinkPriceToolService_recordShareAction_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.recordShareAction.length === 2) {\n      Promise.resolve(this._handler.recordShareAction.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.shareMedium\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_recordShareAction_result({success: result});\n        output.writeMessageBegin(\"recordShareAction\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result = new DrinkPriceToolService_recordShareAction_result(err);\n          output.writeMessageBegin(\"recordShareAction\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"recordShareAction\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.recordShareAction(args.unauthenticatedUserSessionId, args.shareMedium, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result_obj = new DrinkPriceToolService_recordShareAction_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"recordShareAction\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"recordShareAction\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getDrinkIdsForUnauthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getDrinkIdsForUnauthenticatedUserSession.length === 1) {\n      Promise.resolve(this._handler.getDrinkIdsForUnauthenticatedUserSession.bind(this._handler)(\n        args.unauthenticatedUserSessionId\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"getDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result = new DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"getDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getDrinkIdsForUnauthenticatedUserSession(args.unauthenticatedUserSessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result_obj = new DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getDrinksByDrinkIdsForUnauthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getDrinksByDrinkIdsForUnauthenticatedUserSession.length === 2) {\n      Promise.resolve(this._handler.getDrinksByDrinkIdsForUnauthenticatedUserSession.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.drinkIds\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"getDrinksByDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result = new DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"getDrinksByDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinksByDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getDrinksByDrinkIdsForUnauthenticatedUserSession(args.unauthenticatedUserSessionId, args.drinkIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result_obj = new DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getDrinksByDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinksByDrinkIdsForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createDrinksForUnauthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createDrinksForUnauthenticatedUserSession.length === 2) {\n      Promise.resolve(this._handler.createDrinksForUnauthenticatedUserSession.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.drinks\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"createDrinksForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result = new DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"createDrinksForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createDrinksForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createDrinksForUnauthenticatedUserSession(args.unauthenticatedUserSessionId, args.drinks, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result_obj = new DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createDrinksForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createDrinksForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_editDrinksByDrinkIdForUnauthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.editDrinksByDrinkIdForUnauthenticatedUserSession.length === 3) {\n      Promise.resolve(this._handler.editDrinksByDrinkIdForUnauthenticatedUserSession.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.drinkIds,\n        args.drinks\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"editDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException || err instanceof drink_price_tool_Exceptions_ttypes.ArgumentArraysOfUnevenLengthException) {\n          result = new DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"editDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"editDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.editDrinksByDrinkIdForUnauthenticatedUserSession(args.unauthenticatedUserSessionId, args.drinkIds, args.drinks, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException || err instanceof drink_price_tool_Exceptions_ttypes.ArgumentArraysOfUnevenLengthException) {\n          result_obj = new DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"editDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"editDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteDrinksByDrinkIdForUnauthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteDrinksByDrinkIdForUnauthenticatedUserSession.length === 2) {\n      Promise.resolve(this._handler.deleteDrinksByDrinkIdForUnauthenticatedUserSession.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.drinkIds\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"deleteDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result = new DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"deleteDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteDrinksByDrinkIdForUnauthenticatedUserSession(args.unauthenticatedUserSessionId, args.drinkIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result_obj = new DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteDrinksByDrinkIdForUnauthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getDrinkIdsForAuthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getDrinkIdsForAuthenticatedUserSession.length === 1) {\n      Promise.resolve(this._handler.getDrinkIdsForAuthenticatedUserSession.bind(this._handler)(\n        args.authenticatedUserSessionId\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"getDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n          result = new DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"getDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getDrinkIdsForAuthenticatedUserSession(args.authenticatedUserSessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n          result_obj = new DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getDrinksByDrinkIdsForAuthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getDrinksByDrinkIdsForAuthenticatedUserSession.length === 2) {\n      Promise.resolve(this._handler.getDrinksByDrinkIdsForAuthenticatedUserSession.bind(this._handler)(\n        args.authenticatedUserSessionId,\n        args.drinkIds\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"getDrinksByDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result = new DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"getDrinksByDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinksByDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getDrinksByDrinkIdsForAuthenticatedUserSession(args.authenticatedUserSessionId, args.drinkIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result_obj = new DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getDrinksByDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinksByDrinkIdsForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createDrinksForAuthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_createDrinksForAuthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createDrinksForAuthenticatedUserSession.length === 2) {\n      Promise.resolve(this._handler.createDrinksForAuthenticatedUserSession.bind(this._handler)(\n        args.authenticatedUserSessionId,\n        args.drinks\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_createDrinksForAuthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"createDrinksForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result = new DrinkPriceToolService_createDrinksForAuthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"createDrinksForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createDrinksForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createDrinksForAuthenticatedUserSession(args.authenticatedUserSessionId, args.drinks, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result_obj = new DrinkPriceToolService_createDrinksForAuthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createDrinksForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createDrinksForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_editDrinksByDrinkIdForAuthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.editDrinksByDrinkIdForAuthenticatedUserSession.length === 3) {\n      Promise.resolve(this._handler.editDrinksByDrinkIdForAuthenticatedUserSession.bind(this._handler)(\n        args.authenticatedUserSessionId,\n        args.drinkIds,\n        args.drinks\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"editDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException || err instanceof drink_price_tool_Exceptions_ttypes.ArgumentArraysOfUnevenLengthException) {\n          result = new DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"editDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"editDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.editDrinksByDrinkIdForAuthenticatedUserSession(args.authenticatedUserSessionId, args.drinkIds, args.drinks, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException || err instanceof drink_price_tool_Exceptions_ttypes.ArgumentArraysOfUnevenLengthException) {\n          result_obj = new DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"editDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"editDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteDrinksByDrinkIdForAuthenticatedUserSession (seqid, input, output) {\n    const args = new DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteDrinksByDrinkIdForAuthenticatedUserSession.length === 2) {\n      Promise.resolve(this._handler.deleteDrinksByDrinkIdForAuthenticatedUserSession.bind(this._handler)(\n        args.authenticatedUserSessionId,\n        args.drinkIds\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_result({success: result});\n        output.writeMessageBegin(\"deleteDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result = new DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_result(err);\n          output.writeMessageBegin(\"deleteDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteDrinksByDrinkIdForAuthenticatedUserSession(args.authenticatedUserSessionId, args.drinkIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result_obj = new DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteDrinksByDrinkIdForAuthenticatedUserSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getDrinkIdsToImport (seqid, input, output) {\n    const args = new DrinkPriceToolService_getDrinkIdsToImport_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getDrinkIdsToImport.length === 1) {\n      Promise.resolve(this._handler.getDrinkIdsToImport.bind(this._handler)(\n        args.authenticatedUserSessionId\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_getDrinkIdsToImport_result({success: result});\n        output.writeMessageBegin(\"getDrinkIdsToImport\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n          result = new DrinkPriceToolService_getDrinkIdsToImport_result(err);\n          output.writeMessageBegin(\"getDrinkIdsToImport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinkIdsToImport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getDrinkIdsToImport(args.authenticatedUserSessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n          result_obj = new DrinkPriceToolService_getDrinkIdsToImport_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getDrinkIdsToImport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDrinkIdsToImport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_importDrinkIds (seqid, input, output) {\n    const args = new DrinkPriceToolService_importDrinkIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.importDrinkIds.length === 2) {\n      Promise.resolve(this._handler.importDrinkIds.bind(this._handler)(\n        args.authenticatedUserSessionId,\n        args.drinkIds\n      )).then(result => {\n        const result_obj = new DrinkPriceToolService_importDrinkIds_result({success: result});\n        output.writeMessageBegin(\"importDrinkIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result = new DrinkPriceToolService_importDrinkIds_result(err);\n          output.writeMessageBegin(\"importDrinkIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"importDrinkIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.importDrinkIds(args.authenticatedUserSessionId, args.drinkIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof drink_price_tool_Exceptions_ttypes.UnknownDrinkIdException || err instanceof drink_price_tool_Exceptions_ttypes.EmptyArgumentException) {\n          result_obj = new DrinkPriceToolService_importDrinkIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"importDrinkIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"importDrinkIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst integration_Model_ttypes = require('./integration_Model_types');\nconst integration_Exception_ttypes = require('./integration_Exception_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\n\n\nconst ttypes = require('./integration_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst IntegrationService_getIntegrationState_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.integrationType = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.integrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_getIntegrationState_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.I32, 3);\n      output.writeI32(this.integrationType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_getIntegrationState_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [integration_Model_ttypes.IntegrationState]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.SET) {\n          this.success = [];\n          const _rtmp31 = input.readSetBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new integration_Model_ttypes.IntegrationState();\n            elem3.read(input);\n            this.success.push(elem3);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_getIntegrationState_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.SET, 0);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter4 in this.success) {\n        if (this.success.hasOwnProperty(iter4)) {\n          iter4 = this.success[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 6);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_removeIntegration_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.integrationType = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.integrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_removeIntegration_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.I32, 3);\n      output.writeI32(this.integrationType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_removeIntegration_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_removeIntegration_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 6);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_removeIntegrationForMultiConnectionType_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.merchantId = null;\n    this.integrationType = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.merchantId !== undefined && args.merchantId !== null) {\n        this.merchantId = args.merchantId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field merchantId is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.merchantId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.I32) {\n          this.integrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_removeIntegrationForMultiConnectionType_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.merchantId !== null && this.merchantId !== undefined) {\n      output.writeFieldBegin('merchantId', Thrift.Type.STRING, 3);\n      output.writeString(this.merchantId);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.I32, 4);\n      output.writeI32(this.integrationType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_removeIntegrationForMultiConnectionType_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_removeIntegrationForMultiConnectionType_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 6);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_importSalesEntriesViaIntegration_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.startTime = null;\n    this.endTime = null;\n    this.includePosMenuData = null;\n    this.requireRealtimePosData = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.startTime !== undefined && args.startTime !== null) {\n        this.startTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.startTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field startTime is unset!');\n      }\n      if (args.endTime !== undefined && args.endTime !== null) {\n        this.endTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.endTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field endTime is unset!');\n      }\n      if (args.includePosMenuData !== undefined && args.includePosMenuData !== null) {\n        this.includePosMenuData = args.includePosMenuData;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field includePosMenuData is unset!');\n      }\n      if (args.requireRealtimePosData !== undefined && args.requireRealtimePosData !== null) {\n        this.requireRealtimePosData = args.requireRealtimePosData;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field requireRealtimePosData is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.startTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.startTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.endTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.endTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.BOOL) {\n          this.includePosMenuData = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.BOOL) {\n          this.requireRealtimePosData = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_importSalesEntriesViaIntegration_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.startTime !== null && this.startTime !== undefined) {\n      output.writeFieldBegin('startTime', Thrift.Type.STRUCT, 3);\n      this.startTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.endTime !== null && this.endTime !== undefined) {\n      output.writeFieldBegin('endTime', Thrift.Type.STRUCT, 4);\n      this.endTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.includePosMenuData !== null && this.includePosMenuData !== undefined) {\n      output.writeFieldBegin('includePosMenuData', Thrift.Type.BOOL, 5);\n      output.writeBool(this.includePosMenuData);\n      output.writeFieldEnd();\n    }\n    if (this.requireRealtimePosData !== null && this.requireRealtimePosData !== undefined) {\n      output.writeFieldBegin('requireRealtimePosData', Thrift.Type.BOOL, 6);\n      output.writeBool(this.requireRealtimePosData);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_importSalesEntriesViaIntegration_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.locationDoesNotHaveIntegrationException = null;\n    this.posHistoryLimitExceededException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.LocationDoesNotHaveIntegrationException) {\n        this.locationDoesNotHaveIntegrationException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.PosHistoryLimitExceededException) {\n        this.posHistoryLimitExceededException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new integration_Model_ttypes.SalesImportResult(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.locationDoesNotHaveIntegrationException !== undefined && args.locationDoesNotHaveIntegrationException !== null) {\n        this.locationDoesNotHaveIntegrationException = args.locationDoesNotHaveIntegrationException;\n      }\n      if (args.posHistoryLimitExceededException !== undefined && args.posHistoryLimitExceededException !== null) {\n        this.posHistoryLimitExceededException = args.posHistoryLimitExceededException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new integration_Model_ttypes.SalesImportResult();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationDoesNotHaveIntegrationException = new integration_Exception_ttypes.LocationDoesNotHaveIntegrationException();\n          this.locationDoesNotHaveIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.posHistoryLimitExceededException = new integration_Exception_ttypes.PosHistoryLimitExceededException();\n          this.posHistoryLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_importSalesEntriesViaIntegration_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationDoesNotHaveIntegrationException !== null && this.locationDoesNotHaveIntegrationException !== undefined) {\n      output.writeFieldBegin('locationDoesNotHaveIntegrationException', Thrift.Type.STRUCT, 6);\n      this.locationDoesNotHaveIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.posHistoryLimitExceededException !== null && this.posHistoryLimitExceededException !== undefined) {\n      output.writeFieldBegin('posHistoryLimitExceededException', Thrift.Type.STRUCT, 7);\n      this.posHistoryLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addIntegrationThroughOAuthFlow_args = class {\n  constructor(args) {\n    this.addIntegrationThroughOAuthFlowRequest = null;\n    if (args) {\n      if (args.addIntegrationThroughOAuthFlowRequest !== undefined && args.addIntegrationThroughOAuthFlowRequest !== null) {\n        this.addIntegrationThroughOAuthFlowRequest = new integration_Model_ttypes.AddIntegrationThroughOAuthFlowRequest(args.addIntegrationThroughOAuthFlowRequest);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field addIntegrationThroughOAuthFlowRequest is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.addIntegrationThroughOAuthFlowRequest = new integration_Model_ttypes.AddIntegrationThroughOAuthFlowRequest();\n          this.addIntegrationThroughOAuthFlowRequest.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addIntegrationThroughOAuthFlow_args');\n    if (this.addIntegrationThroughOAuthFlowRequest !== null && this.addIntegrationThroughOAuthFlowRequest !== undefined) {\n      output.writeFieldBegin('addIntegrationThroughOAuthFlowRequest', Thrift.Type.STRUCT, 1);\n      this.addIntegrationThroughOAuthFlowRequest.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addIntegrationThroughOAuthFlow_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.locationAlreadyHasIntegrationException = null;\n    this.failedToExchangeOAuthToken = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n        this.locationAlreadyHasIntegrationException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.FailedToExchangeOAuthToken) {\n        this.failedToExchangeOAuthToken = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.locationAlreadyHasIntegrationException !== undefined && args.locationAlreadyHasIntegrationException !== null) {\n        this.locationAlreadyHasIntegrationException = args.locationAlreadyHasIntegrationException;\n      }\n      if (args.failedToExchangeOAuthToken !== undefined && args.failedToExchangeOAuthToken !== null) {\n        this.failedToExchangeOAuthToken = args.failedToExchangeOAuthToken;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAlreadyHasIntegrationException = new integration_Exception_ttypes.LocationAlreadyHasIntegrationException();\n          this.locationAlreadyHasIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.failedToExchangeOAuthToken = new integration_Exception_ttypes.FailedToExchangeOAuthToken();\n          this.failedToExchangeOAuthToken.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addIntegrationThroughOAuthFlow_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAlreadyHasIntegrationException !== null && this.locationAlreadyHasIntegrationException !== undefined) {\n      output.writeFieldBegin('locationAlreadyHasIntegrationException', Thrift.Type.STRUCT, 6);\n      this.locationAlreadyHasIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.failedToExchangeOAuthToken !== null && this.failedToExchangeOAuthToken !== undefined) {\n      output.writeFieldBegin('failedToExchangeOAuthToken', Thrift.Type.STRUCT, 7);\n      this.failedToExchangeOAuthToken.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 8);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_refreshPosCacheSince_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.integrationType = null;\n    this.locationId = null;\n    this.time = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.time !== undefined && args.time !== null) {\n        this.time = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.time);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field time is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.integrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.time = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.time.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_refreshPosCacheSince_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.I32, 2);\n      output.writeI32(this.integrationType);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 3);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.time !== null && this.time !== undefined) {\n      output.writeFieldBegin('time', Thrift.Type.STRUCT, 4);\n      this.time.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_refreshPosCacheSince_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownLocationIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.integrationNotAccessibleException = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.IntegrationNotAccessibleException) {\n        this.integrationNotAccessibleException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.integrationNotAccessibleException !== undefined && args.integrationNotAccessibleException !== null) {\n        this.integrationNotAccessibleException = args.integrationNotAccessibleException;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.integrationNotAccessibleException = new integration_Exception_ttypes.IntegrationNotAccessibleException();\n          this.integrationNotAccessibleException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_refreshPosCacheSince_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.integrationNotAccessibleException !== null && this.integrationNotAccessibleException !== undefined) {\n      output.writeFieldBegin('integrationNotAccessibleException', Thrift.Type.STRUCT, 7);\n      this.integrationNotAccessibleException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 6);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_adminListAllIntegrations_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.integrationType = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.integrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_adminListAllIntegrations_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.I32, 2);\n      output.writeI32(this.integrationType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_adminListAllIntegrations_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new integration_Model_ttypes.ListIntegrationResult(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new integration_Model_ttypes.ListIntegrationResult();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_adminListAllIntegrations_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 7);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_authorizeAndListAccessiblePosLocations_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.posIntegrationType = null;\n    this.authorizationCode = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.posIntegrationType !== undefined && args.posIntegrationType !== null) {\n        this.posIntegrationType = args.posIntegrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posIntegrationType is unset!');\n      }\n      if (args.authorizationCode !== undefined && args.authorizationCode !== null) {\n        this.authorizationCode = args.authorizationCode;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authorizationCode is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.posIntegrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.authorizationCode = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_authorizeAndListAccessiblePosLocations_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.posIntegrationType !== null && this.posIntegrationType !== undefined) {\n      output.writeFieldBegin('posIntegrationType', Thrift.Type.I32, 3);\n      output.writeI32(this.posIntegrationType);\n      output.writeFieldEnd();\n    }\n    if (this.authorizationCode !== null && this.authorizationCode !== undefined) {\n      output.writeFieldBegin('authorizationCode', Thrift.Type.STRING, 4);\n      output.writeString(this.authorizationCode);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_authorizeAndListAccessiblePosLocations_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.failedToExchangeOAuthToken = null;\n    this.locationAlreadyHasIntegrationException = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.FailedToExchangeOAuthToken) {\n        this.failedToExchangeOAuthToken = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n        this.locationAlreadyHasIntegrationException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [integration_Model_ttypes.PosLocation]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.failedToExchangeOAuthToken !== undefined && args.failedToExchangeOAuthToken !== null) {\n        this.failedToExchangeOAuthToken = args.failedToExchangeOAuthToken;\n      }\n      if (args.locationAlreadyHasIntegrationException !== undefined && args.locationAlreadyHasIntegrationException !== null) {\n        this.locationAlreadyHasIntegrationException = args.locationAlreadyHasIntegrationException;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new integration_Model_ttypes.PosLocation();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.failedToExchangeOAuthToken = new integration_Exception_ttypes.FailedToExchangeOAuthToken();\n          this.failedToExchangeOAuthToken.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAlreadyHasIntegrationException = new integration_Exception_ttypes.LocationAlreadyHasIntegrationException();\n          this.locationAlreadyHasIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_authorizeAndListAccessiblePosLocations_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.failedToExchangeOAuthToken !== null && this.failedToExchangeOAuthToken !== undefined) {\n      output.writeFieldBegin('failedToExchangeOAuthToken', Thrift.Type.STRUCT, 6);\n      this.failedToExchangeOAuthToken.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAlreadyHasIntegrationException !== null && this.locationAlreadyHasIntegrationException !== undefined) {\n      output.writeFieldBegin('locationAlreadyHasIntegrationException', Thrift.Type.STRUCT, 7);\n      this.locationAlreadyHasIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 8);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_associateAuthorizedLocationWithMerchant_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.posIntegrationType = null;\n    this.merchantId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.posIntegrationType !== undefined && args.posIntegrationType !== null) {\n        this.posIntegrationType = args.posIntegrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posIntegrationType is unset!');\n      }\n      if (args.merchantId !== undefined && args.merchantId !== null) {\n        this.merchantId = args.merchantId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field merchantId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.posIntegrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.merchantId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_associateAuthorizedLocationWithMerchant_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.posIntegrationType !== null && this.posIntegrationType !== undefined) {\n      output.writeFieldBegin('posIntegrationType', Thrift.Type.I32, 3);\n      output.writeI32(this.posIntegrationType);\n      output.writeFieldEnd();\n    }\n    if (this.merchantId !== null && this.merchantId !== undefined) {\n      output.writeFieldBegin('merchantId', Thrift.Type.STRING, 4);\n      output.writeString(this.merchantId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_associateAuthorizedLocationWithMerchant_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.locationAlreadyHasIntegrationException = null;\n    this.integrationNotAccessibleException = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n        this.locationAlreadyHasIntegrationException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.IntegrationNotAccessibleException) {\n        this.integrationNotAccessibleException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.locationAlreadyHasIntegrationException !== undefined && args.locationAlreadyHasIntegrationException !== null) {\n        this.locationAlreadyHasIntegrationException = args.locationAlreadyHasIntegrationException;\n      }\n      if (args.integrationNotAccessibleException !== undefined && args.integrationNotAccessibleException !== null) {\n        this.integrationNotAccessibleException = args.integrationNotAccessibleException;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAlreadyHasIntegrationException = new integration_Exception_ttypes.LocationAlreadyHasIntegrationException();\n          this.locationAlreadyHasIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.integrationNotAccessibleException = new integration_Exception_ttypes.IntegrationNotAccessibleException();\n          this.integrationNotAccessibleException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_associateAuthorizedLocationWithMerchant_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAlreadyHasIntegrationException !== null && this.locationAlreadyHasIntegrationException !== undefined) {\n      output.writeFieldBegin('locationAlreadyHasIntegrationException', Thrift.Type.STRUCT, 6);\n      this.locationAlreadyHasIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.integrationNotAccessibleException !== null && this.integrationNotAccessibleException !== undefined) {\n      output.writeFieldBegin('integrationNotAccessibleException', Thrift.Type.STRUCT, 7);\n      this.integrationNotAccessibleException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 8);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_getOmnivoreIntegrationState_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_getOmnivoreIntegrationState_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_getOmnivoreIntegrationState_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new integration_Model_ttypes.OmnivoreIntegrationState(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new integration_Model_ttypes.OmnivoreIntegrationState();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_getOmnivoreIntegrationState_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addOmnivoreIntegration_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.omnivoreLocationId = null;\n    this.posType = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.omnivoreLocationId !== undefined && args.omnivoreLocationId !== null) {\n        this.omnivoreLocationId = args.omnivoreLocationId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field omnivoreLocationId is unset!');\n      }\n      if (args.posType !== undefined && args.posType !== null) {\n        this.posType = args.posType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.omnivoreLocationId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.posType = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addOmnivoreIntegration_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.omnivoreLocationId !== null && this.omnivoreLocationId !== undefined) {\n      output.writeFieldBegin('omnivoreLocationId', Thrift.Type.STRING, 3);\n      output.writeString(this.omnivoreLocationId);\n      output.writeFieldEnd();\n    }\n    if (this.posType !== null && this.posType !== undefined) {\n      output.writeFieldBegin('posType', Thrift.Type.STRING, 4);\n      output.writeString(this.posType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addOmnivoreIntegration_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.locationAlreadyHasIntegrationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n        this.locationAlreadyHasIntegrationException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.locationAlreadyHasIntegrationException !== undefined && args.locationAlreadyHasIntegrationException !== null) {\n        this.locationAlreadyHasIntegrationException = args.locationAlreadyHasIntegrationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAlreadyHasIntegrationException = new integration_Exception_ttypes.LocationAlreadyHasIntegrationException();\n          this.locationAlreadyHasIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addOmnivoreIntegration_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAlreadyHasIntegrationException !== null && this.locationAlreadyHasIntegrationException !== undefined) {\n      output.writeFieldBegin('locationAlreadyHasIntegrationException', Thrift.Type.STRUCT, 6);\n      this.locationAlreadyHasIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addSpotOnIntegration_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.spotOnLocationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.spotOnLocationId !== undefined && args.spotOnLocationId !== null) {\n        this.spotOnLocationId = args.spotOnLocationId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field spotOnLocationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.spotOnLocationId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addSpotOnIntegration_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.spotOnLocationId !== null && this.spotOnLocationId !== undefined) {\n      output.writeFieldBegin('spotOnLocationId', Thrift.Type.STRING, 3);\n      output.writeString(this.spotOnLocationId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addSpotOnIntegration_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.locationAlreadyHasIntegrationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n        this.locationAlreadyHasIntegrationException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.locationAlreadyHasIntegrationException !== undefined && args.locationAlreadyHasIntegrationException !== null) {\n        this.locationAlreadyHasIntegrationException = args.locationAlreadyHasIntegrationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAlreadyHasIntegrationException = new integration_Exception_ttypes.LocationAlreadyHasIntegrationException();\n          this.locationAlreadyHasIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addSpotOnIntegration_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAlreadyHasIntegrationException !== null && this.locationAlreadyHasIntegrationException !== undefined) {\n      output.writeFieldBegin('locationAlreadyHasIntegrationException', Thrift.Type.STRUCT, 6);\n      this.locationAlreadyHasIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addHeartlandIntegration_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.heartlandApiKey = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.heartlandApiKey !== undefined && args.heartlandApiKey !== null) {\n        this.heartlandApiKey = args.heartlandApiKey;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field heartlandApiKey is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.heartlandApiKey = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addHeartlandIntegration_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.heartlandApiKey !== null && this.heartlandApiKey !== undefined) {\n      output.writeFieldBegin('heartlandApiKey', Thrift.Type.STRING, 3);\n      output.writeString(this.heartlandApiKey);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addHeartlandIntegration_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.locationAlreadyHasIntegrationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n        this.locationAlreadyHasIntegrationException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.locationAlreadyHasIntegrationException !== undefined && args.locationAlreadyHasIntegrationException !== null) {\n        this.locationAlreadyHasIntegrationException = args.locationAlreadyHasIntegrationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAlreadyHasIntegrationException = new integration_Exception_ttypes.LocationAlreadyHasIntegrationException();\n          this.locationAlreadyHasIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addHeartlandIntegration_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAlreadyHasIntegrationException !== null && this.locationAlreadyHasIntegrationException !== undefined) {\n      output.writeFieldBegin('locationAlreadyHasIntegrationException', Thrift.Type.STRUCT, 6);\n      this.locationAlreadyHasIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addCloverIntegration_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.cloverMerchantId = null;\n    this.authorizationCode = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.cloverMerchantId !== undefined && args.cloverMerchantId !== null) {\n        this.cloverMerchantId = args.cloverMerchantId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field cloverMerchantId is unset!');\n      }\n      if (args.authorizationCode !== undefined && args.authorizationCode !== null) {\n        this.authorizationCode = args.authorizationCode;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authorizationCode is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.cloverMerchantId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.authorizationCode = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addCloverIntegration_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.cloverMerchantId !== null && this.cloverMerchantId !== undefined) {\n      output.writeFieldBegin('cloverMerchantId', Thrift.Type.STRING, 3);\n      output.writeString(this.cloverMerchantId);\n      output.writeFieldEnd();\n    }\n    if (this.authorizationCode !== null && this.authorizationCode !== undefined) {\n      output.writeFieldBegin('authorizationCode', Thrift.Type.STRING, 4);\n      output.writeString(this.authorizationCode);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_addCloverIntegration_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.locationAlreadyHasIntegrationException = null;\n    this.invalidAuthorizationCodeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n        this.locationAlreadyHasIntegrationException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.InvalidAuthorizationCodeException) {\n        this.invalidAuthorizationCodeException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.locationAlreadyHasIntegrationException !== undefined && args.locationAlreadyHasIntegrationException !== null) {\n        this.locationAlreadyHasIntegrationException = args.locationAlreadyHasIntegrationException;\n      }\n      if (args.invalidAuthorizationCodeException !== undefined && args.invalidAuthorizationCodeException !== null) {\n        this.invalidAuthorizationCodeException = args.invalidAuthorizationCodeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAlreadyHasIntegrationException = new integration_Exception_ttypes.LocationAlreadyHasIntegrationException();\n          this.locationAlreadyHasIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.invalidAuthorizationCodeException = new integration_Exception_ttypes.InvalidAuthorizationCodeException();\n          this.invalidAuthorizationCodeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_addCloverIntegration_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAlreadyHasIntegrationException !== null && this.locationAlreadyHasIntegrationException !== undefined) {\n      output.writeFieldBegin('locationAlreadyHasIntegrationException', Thrift.Type.STRUCT, 6);\n      this.locationAlreadyHasIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.invalidAuthorizationCodeException !== null && this.invalidAuthorizationCodeException !== undefined) {\n      output.writeFieldBegin('invalidAuthorizationCodeException', Thrift.Type.STRUCT, 7);\n      this.invalidAuthorizationCodeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_retrieveAccessToken_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.integrationType = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.integrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_retrieveAccessToken_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.I32, 3);\n      output.writeI32(this.integrationType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_retrieveAccessToken_result = class {\n  constructor(args) {\n    this.success = null;\n    this.integrationNotAccessibleException = null;\n    if (args instanceof integration_Exception_ttypes.IntegrationNotAccessibleException) {\n        this.integrationNotAccessibleException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = args.success;\n      }\n      if (args.integrationNotAccessibleException !== undefined && args.integrationNotAccessibleException !== null) {\n        this.integrationNotAccessibleException = args.integrationNotAccessibleException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRING) {\n          this.success = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.integrationNotAccessibleException = new integration_Exception_ttypes.IntegrationNotAccessibleException();\n          this.integrationNotAccessibleException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_retrieveAccessToken_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRING, 0);\n      output.writeString(this.success);\n      output.writeFieldEnd();\n    }\n    if (this.integrationNotAccessibleException !== null && this.integrationNotAccessibleException !== undefined) {\n      output.writeFieldBegin('integrationNotAccessibleException', Thrift.Type.STRUCT, 1);\n      this.integrationNotAccessibleException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_retrieveAccessTokenForMultiConnectionType_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.merchantId = null;\n    this.integrationType = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.merchantId !== undefined && args.merchantId !== null) {\n        this.merchantId = args.merchantId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field merchantId is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.merchantId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.I32) {\n          this.integrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_retrieveAccessTokenForMultiConnectionType_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.merchantId !== null && this.merchantId !== undefined) {\n      output.writeFieldBegin('merchantId', Thrift.Type.STRING, 3);\n      output.writeString(this.merchantId);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.I32, 4);\n      output.writeI32(this.integrationType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_retrieveAccessTokenForMultiConnectionType_result = class {\n  constructor(args) {\n    this.success = null;\n    this.integrationNotAccessibleException = null;\n    if (args instanceof integration_Exception_ttypes.IntegrationNotAccessibleException) {\n        this.integrationNotAccessibleException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = args.success;\n      }\n      if (args.integrationNotAccessibleException !== undefined && args.integrationNotAccessibleException !== null) {\n        this.integrationNotAccessibleException = args.integrationNotAccessibleException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRING) {\n          this.success = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.integrationNotAccessibleException = new integration_Exception_ttypes.IntegrationNotAccessibleException();\n          this.integrationNotAccessibleException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_retrieveAccessTokenForMultiConnectionType_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRING, 0);\n      output.writeString(this.success);\n      output.writeFieldEnd();\n    }\n    if (this.integrationNotAccessibleException !== null && this.integrationNotAccessibleException !== undefined) {\n      output.writeFieldBegin('integrationNotAccessibleException', Thrift.Type.STRUCT, 1);\n      this.integrationNotAccessibleException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_triggerMenuSyncJob_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.integrationType = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.integrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_triggerMenuSyncJob_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.I32, 3);\n      output.writeI32(this.integrationType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationService_triggerMenuSyncJob_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.unsupportedPosIntegrationTypeException = null;\n    this.unknownCredentialsException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n        this.unsupportedPosIntegrationTypeException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n        this.unknownCredentialsException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.unsupportedPosIntegrationTypeException !== undefined && args.unsupportedPosIntegrationTypeException !== null) {\n        this.unsupportedPosIntegrationTypeException = args.unsupportedPosIntegrationTypeException;\n      }\n      if (args.unknownCredentialsException !== undefined && args.unknownCredentialsException !== null) {\n        this.unknownCredentialsException = args.unknownCredentialsException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unsupportedPosIntegrationTypeException = new integration_Exception_ttypes.UnsupportedPosIntegrationTypeException();\n          this.unsupportedPosIntegrationTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownCredentialsException = new accounts_Exceptions_ttypes.UnknownCredentialsException();\n          this.unknownCredentialsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationService_triggerMenuSyncJob_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unsupportedPosIntegrationTypeException !== null && this.unsupportedPosIntegrationTypeException !== undefined) {\n      output.writeFieldBegin('unsupportedPosIntegrationTypeException', Thrift.Type.STRUCT, 6);\n      this.unsupportedPosIntegrationTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownCredentialsException !== null && this.unknownCredentialsException !== undefined) {\n      output.writeFieldBegin('unknownCredentialsException', Thrift.Type.STRUCT, 7);\n      this.unknownCredentialsException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationServiceClient = exports.Client = class IntegrationServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  getIntegrationState (actor, locationId, integrationType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getIntegrationState(actor, locationId, integrationType);\n    });\n  }\n\n  send_getIntegrationState (actor, locationId, integrationType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      integrationType: integrationType\n    };\n    const args = new IntegrationService_getIntegrationState_args(params);\n    try {\n      output.writeMessageBegin('getIntegrationState', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getIntegrationState (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_getIntegrationState_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getIntegrationState failed: unknown result');\n  }\n\n  removeIntegration (actor, locationId, integrationType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeIntegration(actor, locationId, integrationType);\n    });\n  }\n\n  send_removeIntegration (actor, locationId, integrationType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      integrationType: integrationType\n    };\n    const args = new IntegrationService_removeIntegration_args(params);\n    try {\n      output.writeMessageBegin('removeIntegration', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeIntegration (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_removeIntegration_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    callback(null);\n  }\n\n  removeIntegrationForMultiConnectionType (actor, locationId, merchantId, integrationType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeIntegrationForMultiConnectionType(actor, locationId, merchantId, integrationType);\n    });\n  }\n\n  send_removeIntegrationForMultiConnectionType (actor, locationId, merchantId, integrationType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      merchantId: merchantId,\n      integrationType: integrationType\n    };\n    const args = new IntegrationService_removeIntegrationForMultiConnectionType_args(params);\n    try {\n      output.writeMessageBegin('removeIntegrationForMultiConnectionType', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeIntegrationForMultiConnectionType (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_removeIntegrationForMultiConnectionType_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    callback(null);\n  }\n\n  importSalesEntriesViaIntegration (actor, locationId, startTime, endTime, includePosMenuData, requireRealtimePosData) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_importSalesEntriesViaIntegration(actor, locationId, startTime, endTime, includePosMenuData, requireRealtimePosData);\n    });\n  }\n\n  send_importSalesEntriesViaIntegration (actor, locationId, startTime, endTime, includePosMenuData, requireRealtimePosData) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      startTime: startTime,\n      endTime: endTime,\n      includePosMenuData: includePosMenuData,\n      requireRealtimePosData: requireRealtimePosData\n    };\n    const args = new IntegrationService_importSalesEntriesViaIntegration_args(params);\n    try {\n      output.writeMessageBegin('importSalesEntriesViaIntegration', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_importSalesEntriesViaIntegration (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_importSalesEntriesViaIntegration_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.locationDoesNotHaveIntegrationException) {\n      return callback(result.locationDoesNotHaveIntegrationException);\n    }\n    if (null !== result.posHistoryLimitExceededException) {\n      return callback(result.posHistoryLimitExceededException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('importSalesEntriesViaIntegration failed: unknown result');\n  }\n\n  addIntegrationThroughOAuthFlow (addIntegrationThroughOAuthFlowRequest) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_addIntegrationThroughOAuthFlow(addIntegrationThroughOAuthFlowRequest);\n    });\n  }\n\n  send_addIntegrationThroughOAuthFlow (addIntegrationThroughOAuthFlowRequest) {\n    const output = new this.pClass(this.output);\n    const params = {\n      addIntegrationThroughOAuthFlowRequest: addIntegrationThroughOAuthFlowRequest\n    };\n    const args = new IntegrationService_addIntegrationThroughOAuthFlow_args(params);\n    try {\n      output.writeMessageBegin('addIntegrationThroughOAuthFlow', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_addIntegrationThroughOAuthFlow (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_addIntegrationThroughOAuthFlow_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.locationAlreadyHasIntegrationException) {\n      return callback(result.locationAlreadyHasIntegrationException);\n    }\n    if (null !== result.failedToExchangeOAuthToken) {\n      return callback(result.failedToExchangeOAuthToken);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    callback(null);\n  }\n\n  refreshPosCacheSince (actor, integrationType, locationId, time) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_refreshPosCacheSince(actor, integrationType, locationId, time);\n    });\n  }\n\n  send_refreshPosCacheSince (actor, integrationType, locationId, time) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      integrationType: integrationType,\n      locationId: locationId,\n      time: time\n    };\n    const args = new IntegrationService_refreshPosCacheSince_args(params);\n    try {\n      output.writeMessageBegin('refreshPosCacheSince', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_refreshPosCacheSince (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_refreshPosCacheSince_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.integrationNotAccessibleException) {\n      return callback(result.integrationNotAccessibleException);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    callback(null);\n  }\n\n  adminListAllIntegrations (actor, integrationType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_adminListAllIntegrations(actor, integrationType);\n    });\n  }\n\n  send_adminListAllIntegrations (actor, integrationType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      integrationType: integrationType\n    };\n    const args = new IntegrationService_adminListAllIntegrations_args(params);\n    try {\n      output.writeMessageBegin('adminListAllIntegrations', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_adminListAllIntegrations (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_adminListAllIntegrations_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('adminListAllIntegrations failed: unknown result');\n  }\n\n  authorizeAndListAccessiblePosLocations (actor, locationId, posIntegrationType, authorizationCode) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_authorizeAndListAccessiblePosLocations(actor, locationId, posIntegrationType, authorizationCode);\n    });\n  }\n\n  send_authorizeAndListAccessiblePosLocations (actor, locationId, posIntegrationType, authorizationCode) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      posIntegrationType: posIntegrationType,\n      authorizationCode: authorizationCode\n    };\n    const args = new IntegrationService_authorizeAndListAccessiblePosLocations_args(params);\n    try {\n      output.writeMessageBegin('authorizeAndListAccessiblePosLocations', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_authorizeAndListAccessiblePosLocations (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_authorizeAndListAccessiblePosLocations_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.failedToExchangeOAuthToken) {\n      return callback(result.failedToExchangeOAuthToken);\n    }\n    if (null !== result.locationAlreadyHasIntegrationException) {\n      return callback(result.locationAlreadyHasIntegrationException);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('authorizeAndListAccessiblePosLocations failed: unknown result');\n  }\n\n  associateAuthorizedLocationWithMerchant (actor, locationId, posIntegrationType, merchantId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_associateAuthorizedLocationWithMerchant(actor, locationId, posIntegrationType, merchantId);\n    });\n  }\n\n  send_associateAuthorizedLocationWithMerchant (actor, locationId, posIntegrationType, merchantId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      posIntegrationType: posIntegrationType,\n      merchantId: merchantId\n    };\n    const args = new IntegrationService_associateAuthorizedLocationWithMerchant_args(params);\n    try {\n      output.writeMessageBegin('associateAuthorizedLocationWithMerchant', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_associateAuthorizedLocationWithMerchant (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_associateAuthorizedLocationWithMerchant_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.locationAlreadyHasIntegrationException) {\n      return callback(result.locationAlreadyHasIntegrationException);\n    }\n    if (null !== result.integrationNotAccessibleException) {\n      return callback(result.integrationNotAccessibleException);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    callback(null);\n  }\n\n  getOmnivoreIntegrationState (actor, locationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getOmnivoreIntegrationState(actor, locationId);\n    });\n  }\n\n  send_getOmnivoreIntegrationState (actor, locationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId\n    };\n    const args = new IntegrationService_getOmnivoreIntegrationState_args(params);\n    try {\n      output.writeMessageBegin('getOmnivoreIntegrationState', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getOmnivoreIntegrationState (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_getOmnivoreIntegrationState_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getOmnivoreIntegrationState failed: unknown result');\n  }\n\n  addOmnivoreIntegration (actor, locationId, omnivoreLocationId, posType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_addOmnivoreIntegration(actor, locationId, omnivoreLocationId, posType);\n    });\n  }\n\n  send_addOmnivoreIntegration (actor, locationId, omnivoreLocationId, posType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      omnivoreLocationId: omnivoreLocationId,\n      posType: posType\n    };\n    const args = new IntegrationService_addOmnivoreIntegration_args(params);\n    try {\n      output.writeMessageBegin('addOmnivoreIntegration', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_addOmnivoreIntegration (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_addOmnivoreIntegration_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.locationAlreadyHasIntegrationException) {\n      return callback(result.locationAlreadyHasIntegrationException);\n    }\n    callback(null);\n  }\n\n  addSpotOnIntegration (actor, locationId, spotOnLocationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_addSpotOnIntegration(actor, locationId, spotOnLocationId);\n    });\n  }\n\n  send_addSpotOnIntegration (actor, locationId, spotOnLocationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      spotOnLocationId: spotOnLocationId\n    };\n    const args = new IntegrationService_addSpotOnIntegration_args(params);\n    try {\n      output.writeMessageBegin('addSpotOnIntegration', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_addSpotOnIntegration (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_addSpotOnIntegration_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.locationAlreadyHasIntegrationException) {\n      return callback(result.locationAlreadyHasIntegrationException);\n    }\n    callback(null);\n  }\n\n  addHeartlandIntegration (actor, locationId, heartlandApiKey) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_addHeartlandIntegration(actor, locationId, heartlandApiKey);\n    });\n  }\n\n  send_addHeartlandIntegration (actor, locationId, heartlandApiKey) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      heartlandApiKey: heartlandApiKey\n    };\n    const args = new IntegrationService_addHeartlandIntegration_args(params);\n    try {\n      output.writeMessageBegin('addHeartlandIntegration', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_addHeartlandIntegration (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_addHeartlandIntegration_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.locationAlreadyHasIntegrationException) {\n      return callback(result.locationAlreadyHasIntegrationException);\n    }\n    callback(null);\n  }\n\n  addCloverIntegration (actor, locationId, cloverMerchantId, authorizationCode) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_addCloverIntegration(actor, locationId, cloverMerchantId, authorizationCode);\n    });\n  }\n\n  send_addCloverIntegration (actor, locationId, cloverMerchantId, authorizationCode) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      cloverMerchantId: cloverMerchantId,\n      authorizationCode: authorizationCode\n    };\n    const args = new IntegrationService_addCloverIntegration_args(params);\n    try {\n      output.writeMessageBegin('addCloverIntegration', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_addCloverIntegration (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_addCloverIntegration_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.locationAlreadyHasIntegrationException) {\n      return callback(result.locationAlreadyHasIntegrationException);\n    }\n    if (null !== result.invalidAuthorizationCodeException) {\n      return callback(result.invalidAuthorizationCodeException);\n    }\n    callback(null);\n  }\n\n  retrieveAccessToken (actor, locationId, integrationType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveAccessToken(actor, locationId, integrationType);\n    });\n  }\n\n  send_retrieveAccessToken (actor, locationId, integrationType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      integrationType: integrationType\n    };\n    const args = new IntegrationService_retrieveAccessToken_args(params);\n    try {\n      output.writeMessageBegin('retrieveAccessToken', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveAccessToken (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_retrieveAccessToken_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.integrationNotAccessibleException) {\n      return callback(result.integrationNotAccessibleException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveAccessToken failed: unknown result');\n  }\n\n  retrieveAccessTokenForMultiConnectionType (actor, locationId, merchantId, integrationType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveAccessTokenForMultiConnectionType(actor, locationId, merchantId, integrationType);\n    });\n  }\n\n  send_retrieveAccessTokenForMultiConnectionType (actor, locationId, merchantId, integrationType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      merchantId: merchantId,\n      integrationType: integrationType\n    };\n    const args = new IntegrationService_retrieveAccessTokenForMultiConnectionType_args(params);\n    try {\n      output.writeMessageBegin('retrieveAccessTokenForMultiConnectionType', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveAccessTokenForMultiConnectionType (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_retrieveAccessTokenForMultiConnectionType_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.integrationNotAccessibleException) {\n      return callback(result.integrationNotAccessibleException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveAccessTokenForMultiConnectionType failed: unknown result');\n  }\n\n  triggerMenuSyncJob (actor, locationId, integrationType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_triggerMenuSyncJob(actor, locationId, integrationType);\n    });\n  }\n\n  send_triggerMenuSyncJob (actor, locationId, integrationType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      integrationType: integrationType\n    };\n    const args = new IntegrationService_triggerMenuSyncJob_args(params);\n    try {\n      output.writeMessageBegin('triggerMenuSyncJob', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_triggerMenuSyncJob (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new IntegrationService_triggerMenuSyncJob_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.unsupportedPosIntegrationTypeException) {\n      return callback(result.unsupportedPosIntegrationTypeException);\n    }\n    if (null !== result.unknownCredentialsException) {\n      return callback(result.unknownCredentialsException);\n    }\n    callback(null);\n  }\n};\nconst IntegrationServiceProcessor = exports.Processor = class IntegrationServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_getIntegrationState (seqid, input, output) {\n    const args = new IntegrationService_getIntegrationState_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getIntegrationState.length === 3) {\n      Promise.resolve(this._handler.getIntegrationState.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.integrationType\n      )).then(result => {\n        const result_obj = new IntegrationService_getIntegrationState_result({success: result});\n        output.writeMessageBegin(\"getIntegrationState\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result = new IntegrationService_getIntegrationState_result(err);\n          output.writeMessageBegin(\"getIntegrationState\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getIntegrationState\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getIntegrationState(args.actor, args.locationId, args.integrationType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result_obj = new IntegrationService_getIntegrationState_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getIntegrationState\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getIntegrationState\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeIntegration (seqid, input, output) {\n    const args = new IntegrationService_removeIntegration_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeIntegration.length === 3) {\n      Promise.resolve(this._handler.removeIntegration.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.integrationType\n      )).then(result => {\n        const result_obj = new IntegrationService_removeIntegration_result({success: result});\n        output.writeMessageBegin(\"removeIntegration\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result = new IntegrationService_removeIntegration_result(err);\n          output.writeMessageBegin(\"removeIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeIntegration(args.actor, args.locationId, args.integrationType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result_obj = new IntegrationService_removeIntegration_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeIntegrationForMultiConnectionType (seqid, input, output) {\n    const args = new IntegrationService_removeIntegrationForMultiConnectionType_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeIntegrationForMultiConnectionType.length === 4) {\n      Promise.resolve(this._handler.removeIntegrationForMultiConnectionType.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.merchantId,\n        args.integrationType\n      )).then(result => {\n        const result_obj = new IntegrationService_removeIntegrationForMultiConnectionType_result({success: result});\n        output.writeMessageBegin(\"removeIntegrationForMultiConnectionType\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result = new IntegrationService_removeIntegrationForMultiConnectionType_result(err);\n          output.writeMessageBegin(\"removeIntegrationForMultiConnectionType\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeIntegrationForMultiConnectionType\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeIntegrationForMultiConnectionType(args.actor, args.locationId, args.merchantId, args.integrationType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result_obj = new IntegrationService_removeIntegrationForMultiConnectionType_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeIntegrationForMultiConnectionType\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeIntegrationForMultiConnectionType\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_importSalesEntriesViaIntegration (seqid, input, output) {\n    const args = new IntegrationService_importSalesEntriesViaIntegration_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.importSalesEntriesViaIntegration.length === 6) {\n      Promise.resolve(this._handler.importSalesEntriesViaIntegration.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.startTime,\n        args.endTime,\n        args.includePosMenuData,\n        args.requireRealtimePosData\n      )).then(result => {\n        const result_obj = new IntegrationService_importSalesEntriesViaIntegration_result({success: result});\n        output.writeMessageBegin(\"importSalesEntriesViaIntegration\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationDoesNotHaveIntegrationException || err instanceof integration_Exception_ttypes.PosHistoryLimitExceededException) {\n          result = new IntegrationService_importSalesEntriesViaIntegration_result(err);\n          output.writeMessageBegin(\"importSalesEntriesViaIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"importSalesEntriesViaIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.importSalesEntriesViaIntegration(args.actor, args.locationId, args.startTime, args.endTime, args.includePosMenuData, args.requireRealtimePosData, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationDoesNotHaveIntegrationException || err instanceof integration_Exception_ttypes.PosHistoryLimitExceededException) {\n          result_obj = new IntegrationService_importSalesEntriesViaIntegration_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"importSalesEntriesViaIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"importSalesEntriesViaIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_addIntegrationThroughOAuthFlow (seqid, input, output) {\n    const args = new IntegrationService_addIntegrationThroughOAuthFlow_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.addIntegrationThroughOAuthFlow.length === 1) {\n      Promise.resolve(this._handler.addIntegrationThroughOAuthFlow.bind(this._handler)(\n        args.addIntegrationThroughOAuthFlowRequest\n      )).then(result => {\n        const result_obj = new IntegrationService_addIntegrationThroughOAuthFlow_result({success: result});\n        output.writeMessageBegin(\"addIntegrationThroughOAuthFlow\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException || err instanceof integration_Exception_ttypes.FailedToExchangeOAuthToken || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result = new IntegrationService_addIntegrationThroughOAuthFlow_result(err);\n          output.writeMessageBegin(\"addIntegrationThroughOAuthFlow\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addIntegrationThroughOAuthFlow\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.addIntegrationThroughOAuthFlow(args.addIntegrationThroughOAuthFlowRequest, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException || err instanceof integration_Exception_ttypes.FailedToExchangeOAuthToken || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result_obj = new IntegrationService_addIntegrationThroughOAuthFlow_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"addIntegrationThroughOAuthFlow\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addIntegrationThroughOAuthFlow\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_refreshPosCacheSince (seqid, input, output) {\n    const args = new IntegrationService_refreshPosCacheSince_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.refreshPosCacheSince.length === 4) {\n      Promise.resolve(this._handler.refreshPosCacheSince.bind(this._handler)(\n        args.actor,\n        args.integrationType,\n        args.locationId,\n        args.time\n      )).then(result => {\n        const result_obj = new IntegrationService_refreshPosCacheSince_result({success: result});\n        output.writeMessageBegin(\"refreshPosCacheSince\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof integration_Exception_ttypes.IntegrationNotAccessibleException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result = new IntegrationService_refreshPosCacheSince_result(err);\n          output.writeMessageBegin(\"refreshPosCacheSince\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"refreshPosCacheSince\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.refreshPosCacheSince(args.actor, args.integrationType, args.locationId, args.time, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof integration_Exception_ttypes.IntegrationNotAccessibleException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result_obj = new IntegrationService_refreshPosCacheSince_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"refreshPosCacheSince\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"refreshPosCacheSince\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_adminListAllIntegrations (seqid, input, output) {\n    const args = new IntegrationService_adminListAllIntegrations_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.adminListAllIntegrations.length === 2) {\n      Promise.resolve(this._handler.adminListAllIntegrations.bind(this._handler)(\n        args.actor,\n        args.integrationType\n      )).then(result => {\n        const result_obj = new IntegrationService_adminListAllIntegrations_result({success: result});\n        output.writeMessageBegin(\"adminListAllIntegrations\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result = new IntegrationService_adminListAllIntegrations_result(err);\n          output.writeMessageBegin(\"adminListAllIntegrations\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"adminListAllIntegrations\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.adminListAllIntegrations(args.actor, args.integrationType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result_obj = new IntegrationService_adminListAllIntegrations_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"adminListAllIntegrations\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"adminListAllIntegrations\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_authorizeAndListAccessiblePosLocations (seqid, input, output) {\n    const args = new IntegrationService_authorizeAndListAccessiblePosLocations_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.authorizeAndListAccessiblePosLocations.length === 4) {\n      Promise.resolve(this._handler.authorizeAndListAccessiblePosLocations.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.posIntegrationType,\n        args.authorizationCode\n      )).then(result => {\n        const result_obj = new IntegrationService_authorizeAndListAccessiblePosLocations_result({success: result});\n        output.writeMessageBegin(\"authorizeAndListAccessiblePosLocations\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.FailedToExchangeOAuthToken || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result = new IntegrationService_authorizeAndListAccessiblePosLocations_result(err);\n          output.writeMessageBegin(\"authorizeAndListAccessiblePosLocations\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"authorizeAndListAccessiblePosLocations\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.authorizeAndListAccessiblePosLocations(args.actor, args.locationId, args.posIntegrationType, args.authorizationCode, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.FailedToExchangeOAuthToken || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result_obj = new IntegrationService_authorizeAndListAccessiblePosLocations_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"authorizeAndListAccessiblePosLocations\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"authorizeAndListAccessiblePosLocations\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_associateAuthorizedLocationWithMerchant (seqid, input, output) {\n    const args = new IntegrationService_associateAuthorizedLocationWithMerchant_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.associateAuthorizedLocationWithMerchant.length === 4) {\n      Promise.resolve(this._handler.associateAuthorizedLocationWithMerchant.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.posIntegrationType,\n        args.merchantId\n      )).then(result => {\n        const result_obj = new IntegrationService_associateAuthorizedLocationWithMerchant_result({success: result});\n        output.writeMessageBegin(\"associateAuthorizedLocationWithMerchant\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException || err instanceof integration_Exception_ttypes.IntegrationNotAccessibleException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result = new IntegrationService_associateAuthorizedLocationWithMerchant_result(err);\n          output.writeMessageBegin(\"associateAuthorizedLocationWithMerchant\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"associateAuthorizedLocationWithMerchant\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.associateAuthorizedLocationWithMerchant(args.actor, args.locationId, args.posIntegrationType, args.merchantId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException || err instanceof integration_Exception_ttypes.IntegrationNotAccessibleException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException) {\n          result_obj = new IntegrationService_associateAuthorizedLocationWithMerchant_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"associateAuthorizedLocationWithMerchant\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"associateAuthorizedLocationWithMerchant\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getOmnivoreIntegrationState (seqid, input, output) {\n    const args = new IntegrationService_getOmnivoreIntegrationState_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getOmnivoreIntegrationState.length === 2) {\n      Promise.resolve(this._handler.getOmnivoreIntegrationState.bind(this._handler)(\n        args.actor,\n        args.locationId\n      )).then(result => {\n        const result_obj = new IntegrationService_getOmnivoreIntegrationState_result({success: result});\n        output.writeMessageBegin(\"getOmnivoreIntegrationState\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new IntegrationService_getOmnivoreIntegrationState_result(err);\n          output.writeMessageBegin(\"getOmnivoreIntegrationState\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getOmnivoreIntegrationState\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getOmnivoreIntegrationState(args.actor, args.locationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new IntegrationService_getOmnivoreIntegrationState_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getOmnivoreIntegrationState\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getOmnivoreIntegrationState\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_addOmnivoreIntegration (seqid, input, output) {\n    const args = new IntegrationService_addOmnivoreIntegration_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.addOmnivoreIntegration.length === 4) {\n      Promise.resolve(this._handler.addOmnivoreIntegration.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.omnivoreLocationId,\n        args.posType\n      )).then(result => {\n        const result_obj = new IntegrationService_addOmnivoreIntegration_result({success: result});\n        output.writeMessageBegin(\"addOmnivoreIntegration\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n          result = new IntegrationService_addOmnivoreIntegration_result(err);\n          output.writeMessageBegin(\"addOmnivoreIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addOmnivoreIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.addOmnivoreIntegration(args.actor, args.locationId, args.omnivoreLocationId, args.posType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n          result_obj = new IntegrationService_addOmnivoreIntegration_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"addOmnivoreIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addOmnivoreIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_addSpotOnIntegration (seqid, input, output) {\n    const args = new IntegrationService_addSpotOnIntegration_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.addSpotOnIntegration.length === 3) {\n      Promise.resolve(this._handler.addSpotOnIntegration.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.spotOnLocationId\n      )).then(result => {\n        const result_obj = new IntegrationService_addSpotOnIntegration_result({success: result});\n        output.writeMessageBegin(\"addSpotOnIntegration\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n          result = new IntegrationService_addSpotOnIntegration_result(err);\n          output.writeMessageBegin(\"addSpotOnIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addSpotOnIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.addSpotOnIntegration(args.actor, args.locationId, args.spotOnLocationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n          result_obj = new IntegrationService_addSpotOnIntegration_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"addSpotOnIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addSpotOnIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_addHeartlandIntegration (seqid, input, output) {\n    const args = new IntegrationService_addHeartlandIntegration_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.addHeartlandIntegration.length === 3) {\n      Promise.resolve(this._handler.addHeartlandIntegration.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.heartlandApiKey\n      )).then(result => {\n        const result_obj = new IntegrationService_addHeartlandIntegration_result({success: result});\n        output.writeMessageBegin(\"addHeartlandIntegration\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n          result = new IntegrationService_addHeartlandIntegration_result(err);\n          output.writeMessageBegin(\"addHeartlandIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addHeartlandIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.addHeartlandIntegration(args.actor, args.locationId, args.heartlandApiKey, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException) {\n          result_obj = new IntegrationService_addHeartlandIntegration_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"addHeartlandIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addHeartlandIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_addCloverIntegration (seqid, input, output) {\n    const args = new IntegrationService_addCloverIntegration_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.addCloverIntegration.length === 4) {\n      Promise.resolve(this._handler.addCloverIntegration.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.cloverMerchantId,\n        args.authorizationCode\n      )).then(result => {\n        const result_obj = new IntegrationService_addCloverIntegration_result({success: result});\n        output.writeMessageBegin(\"addCloverIntegration\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException || err instanceof integration_Exception_ttypes.InvalidAuthorizationCodeException) {\n          result = new IntegrationService_addCloverIntegration_result(err);\n          output.writeMessageBegin(\"addCloverIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addCloverIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.addCloverIntegration(args.actor, args.locationId, args.cloverMerchantId, args.authorizationCode, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.LocationAlreadyHasIntegrationException || err instanceof integration_Exception_ttypes.InvalidAuthorizationCodeException) {\n          result_obj = new IntegrationService_addCloverIntegration_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"addCloverIntegration\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addCloverIntegration\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveAccessToken (seqid, input, output) {\n    const args = new IntegrationService_retrieveAccessToken_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveAccessToken.length === 3) {\n      Promise.resolve(this._handler.retrieveAccessToken.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.integrationType\n      )).then(result => {\n        const result_obj = new IntegrationService_retrieveAccessToken_result({success: result});\n        output.writeMessageBegin(\"retrieveAccessToken\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof integration_Exception_ttypes.IntegrationNotAccessibleException) {\n          result = new IntegrationService_retrieveAccessToken_result(err);\n          output.writeMessageBegin(\"retrieveAccessToken\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAccessToken\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveAccessToken(args.actor, args.locationId, args.integrationType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof integration_Exception_ttypes.IntegrationNotAccessibleException) {\n          result_obj = new IntegrationService_retrieveAccessToken_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveAccessToken\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAccessToken\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveAccessTokenForMultiConnectionType (seqid, input, output) {\n    const args = new IntegrationService_retrieveAccessTokenForMultiConnectionType_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveAccessTokenForMultiConnectionType.length === 4) {\n      Promise.resolve(this._handler.retrieveAccessTokenForMultiConnectionType.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.merchantId,\n        args.integrationType\n      )).then(result => {\n        const result_obj = new IntegrationService_retrieveAccessTokenForMultiConnectionType_result({success: result});\n        output.writeMessageBegin(\"retrieveAccessTokenForMultiConnectionType\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof integration_Exception_ttypes.IntegrationNotAccessibleException) {\n          result = new IntegrationService_retrieveAccessTokenForMultiConnectionType_result(err);\n          output.writeMessageBegin(\"retrieveAccessTokenForMultiConnectionType\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAccessTokenForMultiConnectionType\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveAccessTokenForMultiConnectionType(args.actor, args.locationId, args.merchantId, args.integrationType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof integration_Exception_ttypes.IntegrationNotAccessibleException) {\n          result_obj = new IntegrationService_retrieveAccessTokenForMultiConnectionType_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveAccessTokenForMultiConnectionType\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveAccessTokenForMultiConnectionType\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_triggerMenuSyncJob (seqid, input, output) {\n    const args = new IntegrationService_triggerMenuSyncJob_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.triggerMenuSyncJob.length === 3) {\n      Promise.resolve(this._handler.triggerMenuSyncJob.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.integrationType\n      )).then(result => {\n        const result_obj = new IntegrationService_triggerMenuSyncJob_result({success: result});\n        output.writeMessageBegin(\"triggerMenuSyncJob\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n          result = new IntegrationService_triggerMenuSyncJob_result(err);\n          output.writeMessageBegin(\"triggerMenuSyncJob\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"triggerMenuSyncJob\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.triggerMenuSyncJob(args.actor, args.locationId, args.integrationType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof integration_Exception_ttypes.UnsupportedPosIntegrationTypeException || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n          result_obj = new IntegrationService_triggerMenuSyncJob_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"triggerMenuSyncJob\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"triggerMenuSyncJob\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst product_mapping_Model_ttypes = require('./product_mapping_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst product_mapping_Exceptions_ttypes = require('./product_mapping_Exceptions_types');\nconst inventory_transfer_report_Exceptions_ttypes = require('./inventory_transfer_report_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = require('./product_mapping_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst InterLocationProductMappingService_setProductQuantityUnitMappings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.mappings = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.mappings !== undefined && args.mappings !== null) {\n        this.mappings = Thrift.copyList(args.mappings, [product_mapping_Model_ttypes.InterLocationProductQuantityUnitMapping]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mappings is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.mappings = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_mapping_Model_ttypes.InterLocationProductQuantityUnitMapping();\n            elem3.read(input);\n            this.mappings.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_setProductQuantityUnitMappings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mappings !== null && this.mappings !== undefined) {\n      output.writeFieldBegin('mappings', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.mappings.length);\n      for (let iter4 in this.mappings) {\n        if (this.mappings.hasOwnProperty(iter4)) {\n          iter4 = this.mappings[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_setProductQuantityUnitMappings_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    this.sourceLocationCannotEqualTargetLocationException = null;\n    this.unknownProductIdException = null;\n    this.sourceAndTargetProductsHaveDifferentPackagingsException = null;\n    this.quantityMustBeNonnegativeException = null;\n    this.productNotAssociatedWithLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException) {\n        this.sourceLocationCannotEqualTargetLocationException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceAndTargetProductsHaveDifferentPackagingsException) {\n        this.sourceAndTargetProductsHaveDifferentPackagingsException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException) {\n        this.quantityMustBeNonnegativeException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n        this.productNotAssociatedWithLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n      if (args.sourceLocationCannotEqualTargetLocationException !== undefined && args.sourceLocationCannotEqualTargetLocationException !== null) {\n        this.sourceLocationCannotEqualTargetLocationException = args.sourceLocationCannotEqualTargetLocationException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.sourceAndTargetProductsHaveDifferentPackagingsException !== undefined && args.sourceAndTargetProductsHaveDifferentPackagingsException !== null) {\n        this.sourceAndTargetProductsHaveDifferentPackagingsException = args.sourceAndTargetProductsHaveDifferentPackagingsException;\n      }\n      if (args.quantityMustBeNonnegativeException !== undefined && args.quantityMustBeNonnegativeException !== null) {\n        this.quantityMustBeNonnegativeException = args.quantityMustBeNonnegativeException;\n      }\n      if (args.productNotAssociatedWithLocationException !== undefined && args.productNotAssociatedWithLocationException !== null) {\n        this.productNotAssociatedWithLocationException = args.productNotAssociatedWithLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocationCannotEqualTargetLocationException = new product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException();\n          this.sourceLocationCannotEqualTargetLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceAndTargetProductsHaveDifferentPackagingsException = new product_mapping_Exceptions_ttypes.SourceAndTargetProductsHaveDifferentPackagingsException();\n          this.sourceAndTargetProductsHaveDifferentPackagingsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityMustBeNonnegativeException = new product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException();\n          this.quantityMustBeNonnegativeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productNotAssociatedWithLocationException = new product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException();\n          this.productNotAssociatedWithLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_setProductQuantityUnitMappings_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceLocationCannotEqualTargetLocationException !== null && this.sourceLocationCannotEqualTargetLocationException !== undefined) {\n      output.writeFieldBegin('sourceLocationCannotEqualTargetLocationException', Thrift.Type.STRUCT, 6);\n      this.sourceLocationCannotEqualTargetLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 7);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceAndTargetProductsHaveDifferentPackagingsException !== null && this.sourceAndTargetProductsHaveDifferentPackagingsException !== undefined) {\n      output.writeFieldBegin('sourceAndTargetProductsHaveDifferentPackagingsException', Thrift.Type.STRUCT, 8);\n      this.sourceAndTargetProductsHaveDifferentPackagingsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityMustBeNonnegativeException !== null && this.quantityMustBeNonnegativeException !== undefined) {\n      output.writeFieldBegin('quantityMustBeNonnegativeException', Thrift.Type.STRUCT, 9);\n      this.quantityMustBeNonnegativeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productNotAssociatedWithLocationException !== null && this.productNotAssociatedWithLocationException !== undefined) {\n      output.writeFieldBegin('productNotAssociatedWithLocationException', Thrift.Type.STRUCT, 10);\n      this.productNotAssociatedWithLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.sourceLocation = null;\n    this.targetLocation = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.sourceLocation !== undefined && args.sourceLocation !== null) {\n        this.sourceLocation = new location_Model_ttypes.LocationIdentifier(args.sourceLocation);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceLocation is unset!');\n      }\n      if (args.targetLocation !== undefined && args.targetLocation !== null) {\n        this.targetLocation = new location_Model_ttypes.LocationIdentifier(args.targetLocation);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetLocation is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocation = new location_Model_ttypes.LocationIdentifier();\n          this.sourceLocation.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetLocation = new location_Model_ttypes.LocationIdentifier();\n          this.targetLocation.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceLocation !== null && this.sourceLocation !== undefined) {\n      output.writeFieldBegin('sourceLocation', Thrift.Type.STRUCT, 2);\n      this.sourceLocation.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetLocation !== null && this.targetLocation !== undefined) {\n      output.writeFieldBegin('targetLocation', Thrift.Type.STRUCT, 3);\n      this.targetLocation.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_result = class {\n  constructor(args) {\n    this.success = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownActorException = null;\n    this.sourceLocationCannotEqualTargetLocationException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException) {\n        this.sourceLocationCannotEqualTargetLocationException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_mapping_Model_ttypes.ProductQuantityUnitMappingUpdateEvent]);\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.sourceLocationCannotEqualTargetLocationException !== undefined && args.sourceLocationCannotEqualTargetLocationException !== null) {\n        this.sourceLocationCannotEqualTargetLocationException = args.sourceLocationCannotEqualTargetLocationException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new product_mapping_Model_ttypes.ProductQuantityUnitMappingUpdateEvent();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocationCannotEqualTargetLocationException = new product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException();\n          this.sourceLocationCannotEqualTargetLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceLocationCannotEqualTargetLocationException !== null && this.sourceLocationCannotEqualTargetLocationException !== undefined) {\n      output.writeFieldBegin('sourceLocationCannotEqualTargetLocationException', Thrift.Type.STRUCT, 4);\n      this.sourceLocationCannotEqualTargetLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 6);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_deleteProductQuantityUnitMapping_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.mapping = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.mapping !== undefined && args.mapping !== null) {\n        this.mapping = new product_mapping_Model_ttypes.InterLocationProductQuantityUnitMapping(args.mapping);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mapping is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.mapping = new product_mapping_Model_ttypes.InterLocationProductQuantityUnitMapping();\n          this.mapping.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_deleteProductQuantityUnitMapping_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mapping !== null && this.mapping !== undefined) {\n      output.writeFieldBegin('mapping', Thrift.Type.STRUCT, 2);\n      this.mapping.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_deleteProductQuantityUnitMapping_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    this.sourceLocationCannotEqualTargetLocationException = null;\n    this.unknownProductIdException = null;\n    this.mappingIsInvolvedInTransferException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException) {\n        this.sourceLocationCannotEqualTargetLocationException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.MappingIsInvolvedInTransferException) {\n        this.mappingIsInvolvedInTransferException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n      if (args.sourceLocationCannotEqualTargetLocationException !== undefined && args.sourceLocationCannotEqualTargetLocationException !== null) {\n        this.sourceLocationCannotEqualTargetLocationException = args.sourceLocationCannotEqualTargetLocationException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.mappingIsInvolvedInTransferException !== undefined && args.mappingIsInvolvedInTransferException !== null) {\n        this.mappingIsInvolvedInTransferException = args.mappingIsInvolvedInTransferException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocationCannotEqualTargetLocationException = new product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException();\n          this.sourceLocationCannotEqualTargetLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.mappingIsInvolvedInTransferException = new product_mapping_Exceptions_ttypes.MappingIsInvolvedInTransferException();\n          this.mappingIsInvolvedInTransferException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_deleteProductQuantityUnitMapping_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceLocationCannotEqualTargetLocationException !== null && this.sourceLocationCannotEqualTargetLocationException !== undefined) {\n      output.writeFieldBegin('sourceLocationCannotEqualTargetLocationException', Thrift.Type.STRUCT, 6);\n      this.sourceLocationCannotEqualTargetLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 7);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mappingIsInvolvedInTransferException !== null && this.mappingIsInvolvedInTransferException !== undefined) {\n      output.writeFieldBegin('mappingIsInvolvedInTransferException', Thrift.Type.STRUCT, 8);\n      this.mappingIsInvolvedInTransferException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_getMappingCountsByPartnerLocation_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.location = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.location !== undefined && args.location !== null) {\n        this.location = new location_Model_ttypes.LocationIdentifier(args.location);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field location is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.location = new location_Model_ttypes.LocationIdentifier();\n          this.location.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_getMappingCountsByPartnerLocation_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.location !== null && this.location !== undefined) {\n      output.writeFieldBegin('location', Thrift.Type.STRUCT, 2);\n      this.location.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_getMappingCountsByPartnerLocation_result = class {\n  constructor(args) {\n    this.success = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_mapping_Model_ttypes.PartnerLocationMappingCount]);\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new product_mapping_Model_ttypes.PartnerLocationMappingCount();\n            elem13.read(input);\n            this.success.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_getMappingCountsByPartnerLocation_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter14 in this.success) {\n        if (this.success.hasOwnProperty(iter14)) {\n          iter14 = this.success[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_setMappings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.mappings = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.mappings !== undefined && args.mappings !== null) {\n        this.mappings = Thrift.copyList(args.mappings, [product_mapping_Model_ttypes.InterLocationProductMapping]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mappings is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.mappings = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new product_mapping_Model_ttypes.InterLocationProductMapping();\n            elem18.read(input);\n            this.mappings.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_setMappings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mappings !== null && this.mappings !== undefined) {\n      output.writeFieldBegin('mappings', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.mappings.length);\n      for (let iter19 in this.mappings) {\n        if (this.mappings.hasOwnProperty(iter19)) {\n          iter19 = this.mappings[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_setMappings_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    this.sourceLocationCannotEqualTargetLocationException = null;\n    this.unknownProductIdException = null;\n    this.sourceAndTargetProductsHaveDifferentPackagingsException = null;\n    this.sourceProductIsMappedToMultipleTargetsAtSameLocationException = null;\n    this.productNotAssociatedWithLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException) {\n        this.sourceLocationCannotEqualTargetLocationException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceAndTargetProductsHaveDifferentPackagingsException) {\n        this.sourceAndTargetProductsHaveDifferentPackagingsException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceProductIsMappedToMultipleTargetsAtSameLocationException) {\n        this.sourceProductIsMappedToMultipleTargetsAtSameLocationException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n        this.productNotAssociatedWithLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n      if (args.sourceLocationCannotEqualTargetLocationException !== undefined && args.sourceLocationCannotEqualTargetLocationException !== null) {\n        this.sourceLocationCannotEqualTargetLocationException = args.sourceLocationCannotEqualTargetLocationException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.sourceAndTargetProductsHaveDifferentPackagingsException !== undefined && args.sourceAndTargetProductsHaveDifferentPackagingsException !== null) {\n        this.sourceAndTargetProductsHaveDifferentPackagingsException = args.sourceAndTargetProductsHaveDifferentPackagingsException;\n      }\n      if (args.sourceProductIsMappedToMultipleTargetsAtSameLocationException !== undefined && args.sourceProductIsMappedToMultipleTargetsAtSameLocationException !== null) {\n        this.sourceProductIsMappedToMultipleTargetsAtSameLocationException = args.sourceProductIsMappedToMultipleTargetsAtSameLocationException;\n      }\n      if (args.productNotAssociatedWithLocationException !== undefined && args.productNotAssociatedWithLocationException !== null) {\n        this.productNotAssociatedWithLocationException = args.productNotAssociatedWithLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocationCannotEqualTargetLocationException = new product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException();\n          this.sourceLocationCannotEqualTargetLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceAndTargetProductsHaveDifferentPackagingsException = new product_mapping_Exceptions_ttypes.SourceAndTargetProductsHaveDifferentPackagingsException();\n          this.sourceAndTargetProductsHaveDifferentPackagingsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceProductIsMappedToMultipleTargetsAtSameLocationException = new product_mapping_Exceptions_ttypes.SourceProductIsMappedToMultipleTargetsAtSameLocationException();\n          this.sourceProductIsMappedToMultipleTargetsAtSameLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productNotAssociatedWithLocationException = new product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException();\n          this.productNotAssociatedWithLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_setMappings_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceLocationCannotEqualTargetLocationException !== null && this.sourceLocationCannotEqualTargetLocationException !== undefined) {\n      output.writeFieldBegin('sourceLocationCannotEqualTargetLocationException', Thrift.Type.STRUCT, 6);\n      this.sourceLocationCannotEqualTargetLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 7);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceAndTargetProductsHaveDifferentPackagingsException !== null && this.sourceAndTargetProductsHaveDifferentPackagingsException !== undefined) {\n      output.writeFieldBegin('sourceAndTargetProductsHaveDifferentPackagingsException', Thrift.Type.STRUCT, 8);\n      this.sourceAndTargetProductsHaveDifferentPackagingsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceProductIsMappedToMultipleTargetsAtSameLocationException !== null && this.sourceProductIsMappedToMultipleTargetsAtSameLocationException !== undefined) {\n      output.writeFieldBegin('sourceProductIsMappedToMultipleTargetsAtSameLocationException', Thrift.Type.STRUCT, 9);\n      this.sourceProductIsMappedToMultipleTargetsAtSameLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productNotAssociatedWithLocationException !== null && this.productNotAssociatedWithLocationException !== undefined) {\n      output.writeFieldBegin('productNotAssociatedWithLocationException', Thrift.Type.STRUCT, 10);\n      this.productNotAssociatedWithLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_getMappingsBetweenLocations_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.sourceLocation = null;\n    this.targetLocation = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.sourceLocation !== undefined && args.sourceLocation !== null) {\n        this.sourceLocation = new location_Model_ttypes.LocationIdentifier(args.sourceLocation);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceLocation is unset!');\n      }\n      if (args.targetLocation !== undefined && args.targetLocation !== null) {\n        this.targetLocation = new location_Model_ttypes.LocationIdentifier(args.targetLocation);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetLocation is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocation = new location_Model_ttypes.LocationIdentifier();\n          this.sourceLocation.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetLocation = new location_Model_ttypes.LocationIdentifier();\n          this.targetLocation.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_getMappingsBetweenLocations_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceLocation !== null && this.sourceLocation !== undefined) {\n      output.writeFieldBegin('sourceLocation', Thrift.Type.STRUCT, 2);\n      this.sourceLocation.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetLocation !== null && this.targetLocation !== undefined) {\n      output.writeFieldBegin('targetLocation', Thrift.Type.STRUCT, 3);\n      this.targetLocation.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_getMappingsBetweenLocations_result = class {\n  constructor(args) {\n    this.success = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownActorException = null;\n    this.sourceLocationCannotEqualTargetLocationException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException) {\n        this.sourceLocationCannotEqualTargetLocationException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_mapping_Model_ttypes.MappingUpdateEvent]);\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.sourceLocationCannotEqualTargetLocationException !== undefined && args.sourceLocationCannotEqualTargetLocationException !== null) {\n        this.sourceLocationCannotEqualTargetLocationException = args.sourceLocationCannotEqualTargetLocationException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp321 = input.readListBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new product_mapping_Model_ttypes.MappingUpdateEvent();\n            elem23.read(input);\n            this.success.push(elem23);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocationCannotEqualTargetLocationException = new product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException();\n          this.sourceLocationCannotEqualTargetLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_getMappingsBetweenLocations_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter24 in this.success) {\n        if (this.success.hasOwnProperty(iter24)) {\n          iter24 = this.success[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceLocationCannotEqualTargetLocationException !== null && this.sourceLocationCannotEqualTargetLocationException !== undefined) {\n      output.writeFieldBegin('sourceLocationCannotEqualTargetLocationException', Thrift.Type.STRUCT, 4);\n      this.sourceLocationCannotEqualTargetLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 6);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_deleteMapping_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.mapping = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.mapping !== undefined && args.mapping !== null) {\n        this.mapping = new product_mapping_Model_ttypes.InterLocationProductMapping(args.mapping);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mapping is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.mapping = new product_mapping_Model_ttypes.InterLocationProductMapping();\n          this.mapping.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_deleteMapping_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mapping !== null && this.mapping !== undefined) {\n      output.writeFieldBegin('mapping', Thrift.Type.STRUCT, 2);\n      this.mapping.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingService_deleteMapping_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    this.sourceLocationCannotEqualTargetLocationException = null;\n    this.unknownProductIdException = null;\n    this.mappingIsInvolvedInTransferException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException) {\n        this.sourceLocationCannotEqualTargetLocationException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_mapping_Exceptions_ttypes.MappingIsInvolvedInTransferException) {\n        this.mappingIsInvolvedInTransferException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n      if (args.sourceLocationCannotEqualTargetLocationException !== undefined && args.sourceLocationCannotEqualTargetLocationException !== null) {\n        this.sourceLocationCannotEqualTargetLocationException = args.sourceLocationCannotEqualTargetLocationException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.mappingIsInvolvedInTransferException !== undefined && args.mappingIsInvolvedInTransferException !== null) {\n        this.mappingIsInvolvedInTransferException = args.mappingIsInvolvedInTransferException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocationCannotEqualTargetLocationException = new product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException();\n          this.sourceLocationCannotEqualTargetLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.mappingIsInvolvedInTransferException = new product_mapping_Exceptions_ttypes.MappingIsInvolvedInTransferException();\n          this.mappingIsInvolvedInTransferException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMappingService_deleteMapping_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceLocationCannotEqualTargetLocationException !== null && this.sourceLocationCannotEqualTargetLocationException !== undefined) {\n      output.writeFieldBegin('sourceLocationCannotEqualTargetLocationException', Thrift.Type.STRUCT, 6);\n      this.sourceLocationCannotEqualTargetLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 7);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mappingIsInvolvedInTransferException !== null && this.mappingIsInvolvedInTransferException !== undefined) {\n      output.writeFieldBegin('mappingIsInvolvedInTransferException', Thrift.Type.STRUCT, 8);\n      this.mappingIsInvolvedInTransferException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMappingServiceClient = exports.Client = class InterLocationProductMappingServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  setProductQuantityUnitMappings (actor, mappings) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setProductQuantityUnitMappings(actor, mappings);\n    });\n  }\n\n  send_setProductQuantityUnitMappings (actor, mappings) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      mappings: mappings\n    };\n    const args = new InterLocationProductMappingService_setProductQuantityUnitMappings_args(params);\n    try {\n      output.writeMessageBegin('setProductQuantityUnitMappings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setProductQuantityUnitMappings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InterLocationProductMappingService_setProductQuantityUnitMappings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.sourceLocationCannotEqualTargetLocationException) {\n      return callback(result.sourceLocationCannotEqualTargetLocationException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.sourceAndTargetProductsHaveDifferentPackagingsException) {\n      return callback(result.sourceAndTargetProductsHaveDifferentPackagingsException);\n    }\n    if (null !== result.quantityMustBeNonnegativeException) {\n      return callback(result.quantityMustBeNonnegativeException);\n    }\n    if (null !== result.productNotAssociatedWithLocationException) {\n      return callback(result.productNotAssociatedWithLocationException);\n    }\n    callback(null);\n  }\n\n  getProductQuantityUnitMappingsBetweenLocations (actor, sourceLocation, targetLocation) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getProductQuantityUnitMappingsBetweenLocations(actor, sourceLocation, targetLocation);\n    });\n  }\n\n  send_getProductQuantityUnitMappingsBetweenLocations (actor, sourceLocation, targetLocation) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      sourceLocation: sourceLocation,\n      targetLocation: targetLocation\n    };\n    const args = new InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_args(params);\n    try {\n      output.writeMessageBegin('getProductQuantityUnitMappingsBetweenLocations', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getProductQuantityUnitMappingsBetweenLocations (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.sourceLocationCannotEqualTargetLocationException) {\n      return callback(result.sourceLocationCannotEqualTargetLocationException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getProductQuantityUnitMappingsBetweenLocations failed: unknown result');\n  }\n\n  deleteProductQuantityUnitMapping (actor, mapping) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteProductQuantityUnitMapping(actor, mapping);\n    });\n  }\n\n  send_deleteProductQuantityUnitMapping (actor, mapping) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      mapping: mapping\n    };\n    const args = new InterLocationProductMappingService_deleteProductQuantityUnitMapping_args(params);\n    try {\n      output.writeMessageBegin('deleteProductQuantityUnitMapping', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteProductQuantityUnitMapping (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InterLocationProductMappingService_deleteProductQuantityUnitMapping_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.sourceLocationCannotEqualTargetLocationException) {\n      return callback(result.sourceLocationCannotEqualTargetLocationException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.mappingIsInvolvedInTransferException) {\n      return callback(result.mappingIsInvolvedInTransferException);\n    }\n    callback(null);\n  }\n\n  getMappingCountsByPartnerLocation (actor, location) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getMappingCountsByPartnerLocation(actor, location);\n    });\n  }\n\n  send_getMappingCountsByPartnerLocation (actor, location) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      location: location\n    };\n    const args = new InterLocationProductMappingService_getMappingCountsByPartnerLocation_args(params);\n    try {\n      output.writeMessageBegin('getMappingCountsByPartnerLocation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getMappingCountsByPartnerLocation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InterLocationProductMappingService_getMappingCountsByPartnerLocation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getMappingCountsByPartnerLocation failed: unknown result');\n  }\n\n  setMappings (actor, mappings) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setMappings(actor, mappings);\n    });\n  }\n\n  send_setMappings (actor, mappings) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      mappings: mappings\n    };\n    const args = new InterLocationProductMappingService_setMappings_args(params);\n    try {\n      output.writeMessageBegin('setMappings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setMappings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InterLocationProductMappingService_setMappings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.sourceLocationCannotEqualTargetLocationException) {\n      return callback(result.sourceLocationCannotEqualTargetLocationException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.sourceAndTargetProductsHaveDifferentPackagingsException) {\n      return callback(result.sourceAndTargetProductsHaveDifferentPackagingsException);\n    }\n    if (null !== result.sourceProductIsMappedToMultipleTargetsAtSameLocationException) {\n      return callback(result.sourceProductIsMappedToMultipleTargetsAtSameLocationException);\n    }\n    if (null !== result.productNotAssociatedWithLocationException) {\n      return callback(result.productNotAssociatedWithLocationException);\n    }\n    callback(null);\n  }\n\n  getMappingsBetweenLocations (actor, sourceLocation, targetLocation) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getMappingsBetweenLocations(actor, sourceLocation, targetLocation);\n    });\n  }\n\n  send_getMappingsBetweenLocations (actor, sourceLocation, targetLocation) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      sourceLocation: sourceLocation,\n      targetLocation: targetLocation\n    };\n    const args = new InterLocationProductMappingService_getMappingsBetweenLocations_args(params);\n    try {\n      output.writeMessageBegin('getMappingsBetweenLocations', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getMappingsBetweenLocations (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InterLocationProductMappingService_getMappingsBetweenLocations_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.sourceLocationCannotEqualTargetLocationException) {\n      return callback(result.sourceLocationCannotEqualTargetLocationException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getMappingsBetweenLocations failed: unknown result');\n  }\n\n  deleteMapping (actor, mapping) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteMapping(actor, mapping);\n    });\n  }\n\n  send_deleteMapping (actor, mapping) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      mapping: mapping\n    };\n    const args = new InterLocationProductMappingService_deleteMapping_args(params);\n    try {\n      output.writeMessageBegin('deleteMapping', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteMapping (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InterLocationProductMappingService_deleteMapping_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.sourceLocationCannotEqualTargetLocationException) {\n      return callback(result.sourceLocationCannotEqualTargetLocationException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.mappingIsInvolvedInTransferException) {\n      return callback(result.mappingIsInvolvedInTransferException);\n    }\n    callback(null);\n  }\n};\nconst InterLocationProductMappingServiceProcessor = exports.Processor = class InterLocationProductMappingServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_setProductQuantityUnitMappings (seqid, input, output) {\n    const args = new InterLocationProductMappingService_setProductQuantityUnitMappings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setProductQuantityUnitMappings.length === 2) {\n      Promise.resolve(this._handler.setProductQuantityUnitMappings.bind(this._handler)(\n        args.actor,\n        args.mappings\n      )).then(result => {\n        const result_obj = new InterLocationProductMappingService_setProductQuantityUnitMappings_result({success: result});\n        output.writeMessageBegin(\"setProductQuantityUnitMappings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_mapping_Exceptions_ttypes.SourceAndTargetProductsHaveDifferentPackagingsException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result = new InterLocationProductMappingService_setProductQuantityUnitMappings_result(err);\n          output.writeMessageBegin(\"setProductQuantityUnitMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductQuantityUnitMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setProductQuantityUnitMappings(args.actor, args.mappings, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_mapping_Exceptions_ttypes.SourceAndTargetProductsHaveDifferentPackagingsException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result_obj = new InterLocationProductMappingService_setProductQuantityUnitMappings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setProductQuantityUnitMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductQuantityUnitMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getProductQuantityUnitMappingsBetweenLocations (seqid, input, output) {\n    const args = new InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getProductQuantityUnitMappingsBetweenLocations.length === 3) {\n      Promise.resolve(this._handler.getProductQuantityUnitMappingsBetweenLocations.bind(this._handler)(\n        args.actor,\n        args.sourceLocation,\n        args.targetLocation\n      )).then(result => {\n        const result_obj = new InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_result({success: result});\n        output.writeMessageBegin(\"getProductQuantityUnitMappingsBetweenLocations\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result = new InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_result(err);\n          output.writeMessageBegin(\"getProductQuantityUnitMappingsBetweenLocations\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductQuantityUnitMappingsBetweenLocations\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getProductQuantityUnitMappingsBetweenLocations(args.actor, args.sourceLocation, args.targetLocation, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result_obj = new InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getProductQuantityUnitMappingsBetweenLocations\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductQuantityUnitMappingsBetweenLocations\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteProductQuantityUnitMapping (seqid, input, output) {\n    const args = new InterLocationProductMappingService_deleteProductQuantityUnitMapping_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteProductQuantityUnitMapping.length === 2) {\n      Promise.resolve(this._handler.deleteProductQuantityUnitMapping.bind(this._handler)(\n        args.actor,\n        args.mapping\n      )).then(result => {\n        const result_obj = new InterLocationProductMappingService_deleteProductQuantityUnitMapping_result({success: result});\n        output.writeMessageBegin(\"deleteProductQuantityUnitMapping\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_mapping_Exceptions_ttypes.MappingIsInvolvedInTransferException) {\n          result = new InterLocationProductMappingService_deleteProductQuantityUnitMapping_result(err);\n          output.writeMessageBegin(\"deleteProductQuantityUnitMapping\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteProductQuantityUnitMapping\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteProductQuantityUnitMapping(args.actor, args.mapping, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_mapping_Exceptions_ttypes.MappingIsInvolvedInTransferException) {\n          result_obj = new InterLocationProductMappingService_deleteProductQuantityUnitMapping_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteProductQuantityUnitMapping\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteProductQuantityUnitMapping\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getMappingCountsByPartnerLocation (seqid, input, output) {\n    const args = new InterLocationProductMappingService_getMappingCountsByPartnerLocation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getMappingCountsByPartnerLocation.length === 2) {\n      Promise.resolve(this._handler.getMappingCountsByPartnerLocation.bind(this._handler)(\n        args.actor,\n        args.location\n      )).then(result => {\n        const result_obj = new InterLocationProductMappingService_getMappingCountsByPartnerLocation_result({success: result});\n        output.writeMessageBegin(\"getMappingCountsByPartnerLocation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result = new InterLocationProductMappingService_getMappingCountsByPartnerLocation_result(err);\n          output.writeMessageBegin(\"getMappingCountsByPartnerLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMappingCountsByPartnerLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getMappingCountsByPartnerLocation(args.actor, args.location, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result_obj = new InterLocationProductMappingService_getMappingCountsByPartnerLocation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getMappingCountsByPartnerLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMappingCountsByPartnerLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setMappings (seqid, input, output) {\n    const args = new InterLocationProductMappingService_setMappings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setMappings.length === 2) {\n      Promise.resolve(this._handler.setMappings.bind(this._handler)(\n        args.actor,\n        args.mappings\n      )).then(result => {\n        const result_obj = new InterLocationProductMappingService_setMappings_result({success: result});\n        output.writeMessageBegin(\"setMappings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_mapping_Exceptions_ttypes.SourceAndTargetProductsHaveDifferentPackagingsException || err instanceof product_mapping_Exceptions_ttypes.SourceProductIsMappedToMultipleTargetsAtSameLocationException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result = new InterLocationProductMappingService_setMappings_result(err);\n          output.writeMessageBegin(\"setMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setMappings(args.actor, args.mappings, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_mapping_Exceptions_ttypes.SourceAndTargetProductsHaveDifferentPackagingsException || err instanceof product_mapping_Exceptions_ttypes.SourceProductIsMappedToMultipleTargetsAtSameLocationException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result_obj = new InterLocationProductMappingService_setMappings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getMappingsBetweenLocations (seqid, input, output) {\n    const args = new InterLocationProductMappingService_getMappingsBetweenLocations_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getMappingsBetweenLocations.length === 3) {\n      Promise.resolve(this._handler.getMappingsBetweenLocations.bind(this._handler)(\n        args.actor,\n        args.sourceLocation,\n        args.targetLocation\n      )).then(result => {\n        const result_obj = new InterLocationProductMappingService_getMappingsBetweenLocations_result({success: result});\n        output.writeMessageBegin(\"getMappingsBetweenLocations\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result = new InterLocationProductMappingService_getMappingsBetweenLocations_result(err);\n          output.writeMessageBegin(\"getMappingsBetweenLocations\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMappingsBetweenLocations\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getMappingsBetweenLocations(args.actor, args.sourceLocation, args.targetLocation, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result_obj = new InterLocationProductMappingService_getMappingsBetweenLocations_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getMappingsBetweenLocations\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMappingsBetweenLocations\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteMapping (seqid, input, output) {\n    const args = new InterLocationProductMappingService_deleteMapping_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteMapping.length === 2) {\n      Promise.resolve(this._handler.deleteMapping.bind(this._handler)(\n        args.actor,\n        args.mapping\n      )).then(result => {\n        const result_obj = new InterLocationProductMappingService_deleteMapping_result({success: result});\n        output.writeMessageBegin(\"deleteMapping\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_mapping_Exceptions_ttypes.MappingIsInvolvedInTransferException) {\n          result = new InterLocationProductMappingService_deleteMapping_result(err);\n          output.writeMessageBegin(\"deleteMapping\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteMapping\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteMapping(args.actor, args.mapping, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof product_mapping_Exceptions_ttypes.SourceLocationCannotEqualTargetLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_mapping_Exceptions_ttypes.MappingIsInvolvedInTransferException) {\n          result_obj = new InterLocationProductMappingService_deleteMapping_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteMapping\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteMapping\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst inventory_Exceptions_ttypes = require('./inventory_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = require('./inventory_count_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst InventoryCountService_getInventoryCountsById_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.inventoryCountIdSet = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.inventoryCountIdSet !== undefined && args.inventoryCountIdSet !== null) {\n        this.inventoryCountIdSet = Thrift.copyList(args.inventoryCountIdSet, [inventory_Model_ttypes.InventoryCountId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountIdSet is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.inventoryCountIdSet = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new inventory_Model_ttypes.InventoryCountId();\n            elem3.read(input);\n            this.inventoryCountIdSet.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getInventoryCountsById_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIdSet !== null && this.inventoryCountIdSet !== undefined) {\n      output.writeFieldBegin('inventoryCountIdSet', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.inventoryCountIdSet.length);\n      for (let iter4 in this.inventoryCountIdSet) {\n        if (this.inventoryCountIdSet.hasOwnProperty(iter4)) {\n          iter4 = this.inventoryCountIdSet[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getInventoryCountsById_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownInventoryCountIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_Model_ttypes.InventoryCountIdAndInventoryCount]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new inventory_Model_ttypes.InventoryCountIdAndInventoryCount();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getInventoryCountsById_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 5);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getInventoryCountMetadatasById_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.inventoryCountIdSet = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.inventoryCountIdSet !== undefined && args.inventoryCountIdSet !== null) {\n        this.inventoryCountIdSet = Thrift.copyList(args.inventoryCountIdSet, [inventory_Model_ttypes.InventoryCountId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountIdSet is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.inventoryCountIdSet = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new inventory_Model_ttypes.InventoryCountId();\n            elem13.read(input);\n            this.inventoryCountIdSet.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getInventoryCountMetadatasById_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIdSet !== null && this.inventoryCountIdSet !== undefined) {\n      output.writeFieldBegin('inventoryCountIdSet', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.inventoryCountIdSet.length);\n      for (let iter14 in this.inventoryCountIdSet) {\n        if (this.inventoryCountIdSet.hasOwnProperty(iter14)) {\n          iter14 = this.inventoryCountIdSet[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getInventoryCountMetadatasById_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownInventoryCountIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_Model_ttypes.InventoryCountIdAndMetadata]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new inventory_Model_ttypes.InventoryCountIdAndMetadata();\n            elem18.read(input);\n            this.success.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getInventoryCountMetadatasById_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter19 in this.success) {\n        if (this.success.hasOwnProperty(iter19)) {\n          iter19 = this.success[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 5);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.noSuchInventoryCountException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n        this.noSuchInventoryCountException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_Model_ttypes.InventoryCountIdAndMetadata(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.noSuchInventoryCountException !== undefined && args.noSuchInventoryCountException !== null) {\n        this.noSuchInventoryCountException = args.noSuchInventoryCountException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_Model_ttypes.InventoryCountIdAndMetadata();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.noSuchInventoryCountException = new inventory_Exceptions_ttypes.NoSuchInventoryCountException();\n          this.noSuchInventoryCountException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.noSuchInventoryCountException !== null && this.noSuchInventoryCountException !== undefined) {\n      output.writeFieldBegin('noSuchInventoryCountException', Thrift.Type.STRUCT, 6);\n      this.noSuchInventoryCountException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.periodStartInclusive = null;\n    this.periodEndExclusive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.periodStartInclusive !== undefined && args.periodStartInclusive !== null) {\n        this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodStartInclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodStartInclusive is unset!');\n      }\n      if (args.periodEndExclusive !== undefined && args.periodEndExclusive !== null) {\n        this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodEndExclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodEndExclusive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodStartInclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodEndExclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodStartInclusive !== null && this.periodStartInclusive !== undefined) {\n      output.writeFieldBegin('periodStartInclusive', Thrift.Type.STRUCT, 3);\n      this.periodStartInclusive.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodEndExclusive !== null && this.periodEndExclusive !== undefined) {\n      output.writeFieldBegin('periodEndExclusive', Thrift.Type.STRUCT, 4);\n      this.periodEndExclusive.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_Model_ttypes.InventoryCountIdAndMetadata]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp321 = input.readListBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new inventory_Model_ttypes.InventoryCountIdAndMetadata();\n            elem23.read(input);\n            this.success.push(elem23);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter24 in this.success) {\n        if (this.success.hasOwnProperty(iter24)) {\n          iter24 = this.success[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.periodStartInclusive = null;\n    this.periodEndExclusive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.periodStartInclusive !== undefined && args.periodStartInclusive !== null) {\n        this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodStartInclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodStartInclusive is unset!');\n      }\n      if (args.periodEndExclusive !== undefined && args.periodEndExclusive !== null) {\n        this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodEndExclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodEndExclusive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodStartInclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodEndExclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodStartInclusive !== null && this.periodStartInclusive !== undefined) {\n      output.writeFieldBegin('periodStartInclusive', Thrift.Type.STRUCT, 3);\n      this.periodStartInclusive.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodEndExclusive !== null && this.periodEndExclusive !== undefined) {\n      output.writeFieldBegin('periodEndExclusive', Thrift.Type.STRUCT, 4);\n      this.periodEndExclusive.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_Model_ttypes.InventoryCountIdAndMetadata]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp326 = input.readListBegin();\n          const _size25 = _rtmp326.size || 0;\n          for (let _i27 = 0; _i27 < _size25; ++_i27) {\n            let elem28 = null;\n            elem28 = new inventory_Model_ttypes.InventoryCountIdAndMetadata();\n            elem28.read(input);\n            this.success.push(elem28);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter29 in this.success) {\n        if (this.success.hasOwnProperty(iter29)) {\n          iter29 = this.success[iter29];\n          iter29.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.startIndexInclusive = null;\n    this.maxResultSize = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.startIndexInclusive !== undefined && args.startIndexInclusive !== null) {\n        this.startIndexInclusive = args.startIndexInclusive;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field startIndexInclusive is unset!');\n      }\n      if (args.maxResultSize !== undefined && args.maxResultSize !== null) {\n        this.maxResultSize = args.maxResultSize;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field maxResultSize is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I64) {\n          this.startIndexInclusive = input.readI64();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.I64) {\n          this.maxResultSize = input.readI64();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.startIndexInclusive !== null && this.startIndexInclusive !== undefined) {\n      output.writeFieldBegin('startIndexInclusive', Thrift.Type.I64, 3);\n      output.writeI64(this.startIndexInclusive);\n      output.writeFieldEnd();\n    }\n    if (this.maxResultSize !== null && this.maxResultSize !== undefined) {\n      output.writeFieldBegin('maxResultSize', Thrift.Type.I64, 4);\n      output.writeI64(this.maxResultSize);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_Model_ttypes.InventoryCountIdAndMetadata]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp331 = input.readListBegin();\n          const _size30 = _rtmp331.size || 0;\n          for (let _i32 = 0; _i32 < _size30; ++_i32) {\n            let elem33 = null;\n            elem33 = new inventory_Model_ttypes.InventoryCountIdAndMetadata();\n            elem33.read(input);\n            this.success.push(elem33);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter34 in this.success) {\n        if (this.success.hasOwnProperty(iter34)) {\n          iter34 = this.success[iter34];\n          iter34.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.endTimeExclusive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.endTimeExclusive !== undefined && args.endTimeExclusive !== null) {\n        this.endTimeExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.endTimeExclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field endTimeExclusive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.endTimeExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.endTimeExclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.endTimeExclusive !== null && this.endTimeExclusive !== undefined) {\n      output.writeFieldBegin('endTimeExclusive', Thrift.Type.STRUCT, 3);\n      this.endTimeExclusive.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.noSuchInventoryCountException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n        this.noSuchInventoryCountException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_Model_ttypes.InventoryCountIdAndMetadata(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.noSuchInventoryCountException !== undefined && args.noSuchInventoryCountException !== null) {\n        this.noSuchInventoryCountException = args.noSuchInventoryCountException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_Model_ttypes.InventoryCountIdAndMetadata();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.noSuchInventoryCountException = new inventory_Exceptions_ttypes.NoSuchInventoryCountException();\n          this.noSuchInventoryCountException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.noSuchInventoryCountException !== null && this.noSuchInventoryCountException !== undefined) {\n      output.writeFieldBegin('noSuchInventoryCountException', Thrift.Type.STRUCT, 6);\n      this.noSuchInventoryCountException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.startTimeInclusive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.startTimeInclusive !== undefined && args.startTimeInclusive !== null) {\n        this.startTimeInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.startTimeInclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field startTimeInclusive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.startTimeInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.startTimeInclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.startTimeInclusive !== null && this.startTimeInclusive !== undefined) {\n      output.writeFieldBegin('startTimeInclusive', Thrift.Type.STRUCT, 3);\n      this.startTimeInclusive.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.noSuchInventoryCountException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n        this.noSuchInventoryCountException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_Model_ttypes.InventoryCountIdAndMetadata(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.noSuchInventoryCountException !== undefined && args.noSuchInventoryCountException !== null) {\n        this.noSuchInventoryCountException = args.noSuchInventoryCountException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_Model_ttypes.InventoryCountIdAndMetadata();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.noSuchInventoryCountException = new inventory_Exceptions_ttypes.NoSuchInventoryCountException();\n          this.noSuchInventoryCountException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.noSuchInventoryCountException !== null && this.noSuchInventoryCountException !== undefined) {\n      output.writeFieldBegin('noSuchInventoryCountException', Thrift.Type.STRUCT, 6);\n      this.noSuchInventoryCountException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_createAndAddStorageAreaAtInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.storageAreaName = null;\n    this.storageAreaNote = null;\n    this.locationId = null;\n    this.inventoryCountId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.storageAreaName !== undefined && args.storageAreaName !== null) {\n        this.storageAreaName = args.storageAreaName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaName is unset!');\n      }\n      if (args.storageAreaNote !== undefined && args.storageAreaNote !== null) {\n        this.storageAreaNote = args.storageAreaNote;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaNote is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.storageAreaName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.storageAreaNote = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_createAndAddStorageAreaAtInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaName !== null && this.storageAreaName !== undefined) {\n      output.writeFieldBegin('storageAreaName', Thrift.Type.STRING, 2);\n      output.writeString(this.storageAreaName);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaNote !== null && this.storageAreaNote !== undefined) {\n      output.writeFieldBegin('storageAreaNote', Thrift.Type.STRING, 3);\n      output.writeString(this.storageAreaNote);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 4);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 5);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 6);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_createAndAddStorageAreaAtInventoryCount_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_Model_ttypes.StorageAreaId(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_Model_ttypes.StorageAreaId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_createAndAddStorageAreaAtInventoryCount_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 6);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 7);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_removeStorageAreaAtInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.storageAreaId = null;\n    this.inventoryCountId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new inventory_Model_ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new inventory_Model_ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_removeStorageAreaAtInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 2);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 3);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 4);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_removeStorageAreaAtInventoryCount_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownStorageAreaIdExceptions = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdExceptions = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownStorageAreaIdExceptions !== undefined && args.unknownStorageAreaIdExceptions !== null) {\n        this.unknownStorageAreaIdExceptions = args.unknownStorageAreaIdExceptions;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdExceptions = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdExceptions.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_removeStorageAreaAtInventoryCount_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdExceptions !== null && this.unknownStorageAreaIdExceptions !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdExceptions', Thrift.Type.STRUCT, 5);\n      this.unknownStorageAreaIdExceptions.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 6);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 7);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_addProductToStorageAreaAtInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.storageAreaId = null;\n    this.inventoryCountId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new inventory_Model_ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new inventory_Model_ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_addProductToStorageAreaAtInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 3);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 4);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 5);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_addProductToStorageAreaAtInventoryCount_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownStorageAreaIdExceptions = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdExceptions = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownStorageAreaIdExceptions !== undefined && args.unknownStorageAreaIdExceptions !== null) {\n        this.unknownStorageAreaIdExceptions = args.unknownStorageAreaIdExceptions;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdExceptions = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdExceptions.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_addProductToStorageAreaAtInventoryCount_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdExceptions !== null && this.unknownStorageAreaIdExceptions !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdExceptions', Thrift.Type.STRUCT, 6);\n      this.unknownStorageAreaIdExceptions.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 7);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 8);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_removeProductFromStorageAreaAtInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.storageAreaId = null;\n    this.inventoryCountId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new inventory_Model_ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new inventory_Model_ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_removeProductFromStorageAreaAtInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 3);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 4);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 5);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_removeProductFromStorageAreaAtInventoryCount_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownStorageAreaIdExceptions = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdExceptions = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownStorageAreaIdExceptions !== undefined && args.unknownStorageAreaIdExceptions !== null) {\n        this.unknownStorageAreaIdExceptions = args.unknownStorageAreaIdExceptions;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdExceptions = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdExceptions.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_removeProductFromStorageAreaAtInventoryCount_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdExceptions !== null && this.unknownStorageAreaIdExceptions !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdExceptions', Thrift.Type.STRUCT, 6);\n      this.unknownStorageAreaIdExceptions.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 7);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 8);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.inventoryCountId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 3);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 4);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 7);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 8);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_setProductCountAtStorageArea_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.storageAreaId = null;\n    this.inventoryCountId = null;\n    this.productCount = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new inventory_Model_ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.productCount !== undefined && args.productCount !== null) {\n        this.productCount = Thrift.copyList(args.productCount, [inventory_Model_ttypes.ProductCount]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCount is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new inventory_Model_ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.LIST) {\n          this.productCount = [];\n          const _rtmp336 = input.readListBegin();\n          const _size35 = _rtmp336.size || 0;\n          for (let _i37 = 0; _i37 < _size35; ++_i37) {\n            let elem38 = null;\n            elem38 = new inventory_Model_ttypes.ProductCount();\n            elem38.read(input);\n            this.productCount.push(elem38);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_setProductCountAtStorageArea_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 3);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 4);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCount !== null && this.productCount !== undefined) {\n      output.writeFieldBegin('productCount', Thrift.Type.LIST, 5);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productCount.length);\n      for (let iter39 in this.productCount) {\n        if (this.productCount.hasOwnProperty(iter39)) {\n          iter39 = this.productCount[iter39];\n          iter39.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 6);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_setProductCountAtStorageArea_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownStorageAreaIdExceptions = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdExceptions = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownStorageAreaIdExceptions !== undefined && args.unknownStorageAreaIdExceptions !== null) {\n        this.unknownStorageAreaIdExceptions = args.unknownStorageAreaIdExceptions;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdExceptions = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdExceptions.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_setProductCountAtStorageArea_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdExceptions !== null && this.unknownStorageAreaIdExceptions !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdExceptions', Thrift.Type.STRUCT, 6);\n      this.unknownStorageAreaIdExceptions.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 7);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 8);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_createInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.inventoryCountTime = null;\n    this.inventoryCountType = null;\n    this.name = null;\n    this.note = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.inventoryCountTime !== undefined && args.inventoryCountTime !== null) {\n        this.inventoryCountTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.inventoryCountTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountTime is unset!');\n      }\n      if (args.inventoryCountType !== undefined && args.inventoryCountType !== null) {\n        this.inventoryCountType = args.inventoryCountType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountType is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.inventoryCountTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.I32) {\n          this.inventoryCountType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_createInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountTime !== null && this.inventoryCountTime !== undefined) {\n      output.writeFieldBegin('inventoryCountTime', Thrift.Type.STRUCT, 3);\n      this.inventoryCountTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountType !== null && this.inventoryCountType !== undefined) {\n      output.writeFieldBegin('inventoryCountType', Thrift.Type.I32, 4);\n      output.writeI32(this.inventoryCountType);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 5);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 6);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_createInventoryCount_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.currentInventoryCountAlreadyExistsForLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.CurrentInventoryCountAlreadyExistsForLocationException) {\n        this.currentInventoryCountAlreadyExistsForLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_Model_ttypes.InventoryCountId(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.currentInventoryCountAlreadyExistsForLocationException !== undefined && args.currentInventoryCountAlreadyExistsForLocationException !== null) {\n        this.currentInventoryCountAlreadyExistsForLocationException = args.currentInventoryCountAlreadyExistsForLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_Model_ttypes.InventoryCountId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.currentInventoryCountAlreadyExistsForLocationException = new inventory_Exceptions_ttypes.CurrentInventoryCountAlreadyExistsForLocationException();\n          this.currentInventoryCountAlreadyExistsForLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_createInventoryCount_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.currentInventoryCountAlreadyExistsForLocationException !== null && this.currentInventoryCountAlreadyExistsForLocationException !== undefined) {\n      output.writeFieldBegin('currentInventoryCountAlreadyExistsForLocationException', Thrift.Type.STRUCT, 5);\n      this.currentInventoryCountAlreadyExistsForLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_createMergedInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.inventoryCountId0 = null;\n    this.inventoryCountId1 = null;\n    this.inventoryCountTime = null;\n    this.inventoryCountType = null;\n    this.name = null;\n    this.note = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.inventoryCountId0 !== undefined && args.inventoryCountId0 !== null) {\n        this.inventoryCountId0 = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId0);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId0 is unset!');\n      }\n      if (args.inventoryCountId1 !== undefined && args.inventoryCountId1 !== null) {\n        this.inventoryCountId1 = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId1);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId1 is unset!');\n      }\n      if (args.inventoryCountTime !== undefined && args.inventoryCountTime !== null) {\n        this.inventoryCountTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.inventoryCountTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountTime is unset!');\n      }\n      if (args.inventoryCountType !== undefined && args.inventoryCountType !== null) {\n        this.inventoryCountType = args.inventoryCountType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountType is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId0 = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId0.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId1 = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId1.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.inventoryCountTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.I32) {\n          this.inventoryCountType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_createMergedInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId0 !== null && this.inventoryCountId0 !== undefined) {\n      output.writeFieldBegin('inventoryCountId0', Thrift.Type.STRUCT, 3);\n      this.inventoryCountId0.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId1 !== null && this.inventoryCountId1 !== undefined) {\n      output.writeFieldBegin('inventoryCountId1', Thrift.Type.STRUCT, 4);\n      this.inventoryCountId1.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountTime !== null && this.inventoryCountTime !== undefined) {\n      output.writeFieldBegin('inventoryCountTime', Thrift.Type.STRUCT, 5);\n      this.inventoryCountTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountType !== null && this.inventoryCountType !== undefined) {\n      output.writeFieldBegin('inventoryCountType', Thrift.Type.I32, 6);\n      output.writeI32(this.inventoryCountType);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 7);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 8);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_createMergedInventoryCount_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.unknownInventoryCountIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_Model_ttypes.InventoryCountId(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_Model_ttypes.InventoryCountId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_createMergedInventoryCount_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 6);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_finalizeInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.inventoryCountId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_finalizeInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 2);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_finalizeInventoryCount_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    this.inventoryCountIsFinalizedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsFinalizedException) {\n        this.inventoryCountIsFinalizedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n      if (args.inventoryCountIsFinalizedException !== undefined && args.inventoryCountIsFinalizedException !== null) {\n        this.inventoryCountIsFinalizedException = args.inventoryCountIsFinalizedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsFinalizedException = new inventory_Exceptions_ttypes.InventoryCountIsFinalizedException();\n          this.inventoryCountIsFinalizedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_finalizeInventoryCount_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 5);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 6);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsFinalizedException !== null && this.inventoryCountIsFinalizedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsFinalizedException', Thrift.Type.STRUCT, 7);\n      this.inventoryCountIsFinalizedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_deleteInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.inventoryCountId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_deleteInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 2);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_deleteInventoryCount_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_deleteInventoryCount_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 5);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 6);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_setInventoryCountMetadata_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.inventoryCountId = null;\n    this.inventoryCountTime = null;\n    this.inventoryCountType = null;\n    this.name = null;\n    this.note = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.inventoryCountTime !== undefined && args.inventoryCountTime !== null) {\n        this.inventoryCountTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.inventoryCountTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountTime is unset!');\n      }\n      if (args.inventoryCountType !== undefined && args.inventoryCountType !== null) {\n        this.inventoryCountType = args.inventoryCountType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountType is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.inventoryCountTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.I32) {\n          this.inventoryCountType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_setInventoryCountMetadata_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 2);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountTime !== null && this.inventoryCountTime !== undefined) {\n      output.writeFieldBegin('inventoryCountTime', Thrift.Type.STRUCT, 3);\n      this.inventoryCountTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountType !== null && this.inventoryCountType !== undefined) {\n      output.writeFieldBegin('inventoryCountType', Thrift.Type.I32, 4);\n      output.writeI32(this.inventoryCountType);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 5);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 6);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountService_setInventoryCountMetadata_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountService_setInventoryCountMetadata_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 5);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 6);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountServiceClient = exports.Client = class InventoryCountServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  getInventoryCountsById (actor, inventoryCountIdSet) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getInventoryCountsById(actor, inventoryCountIdSet);\n    });\n  }\n\n  send_getInventoryCountsById (actor, inventoryCountIdSet) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      inventoryCountIdSet: inventoryCountIdSet\n    };\n    const args = new InventoryCountService_getInventoryCountsById_args(params);\n    try {\n      output.writeMessageBegin('getInventoryCountsById', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getInventoryCountsById (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_getInventoryCountsById_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getInventoryCountsById failed: unknown result');\n  }\n\n  getInventoryCountMetadatasById (actor, inventoryCountIdSet) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getInventoryCountMetadatasById(actor, inventoryCountIdSet);\n    });\n  }\n\n  send_getInventoryCountMetadatasById (actor, inventoryCountIdSet) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      inventoryCountIdSet: inventoryCountIdSet\n    };\n    const args = new InventoryCountService_getInventoryCountMetadatasById_args(params);\n    try {\n      output.writeMessageBegin('getInventoryCountMetadatasById', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getInventoryCountMetadatasById (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_getInventoryCountMetadatasById_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getInventoryCountMetadatasById failed: unknown result');\n  }\n\n  getCurrentInventoryCountIdAndMetadataForLocation (actor, locationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getCurrentInventoryCountIdAndMetadataForLocation(actor, locationId);\n    });\n  }\n\n  send_getCurrentInventoryCountIdAndMetadataForLocation (actor, locationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId\n    };\n    const args = new InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_args(params);\n    try {\n      output.writeMessageBegin('getCurrentInventoryCountIdAndMetadataForLocation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getCurrentInventoryCountIdAndMetadataForLocation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.noSuchInventoryCountException) {\n      return callback(result.noSuchInventoryCountException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getCurrentInventoryCountIdAndMetadataForLocation failed: unknown result');\n  }\n\n  getFinalizedInventoryCountMetadatasByIdForLocationInPeriod (actor, locationId, periodStartInclusive, periodEndExclusive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod(actor, locationId, periodStartInclusive, periodEndExclusive);\n    });\n  }\n\n  send_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod (actor, locationId, periodStartInclusive, periodEndExclusive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      periodStartInclusive: periodStartInclusive,\n      periodEndExclusive: periodEndExclusive\n    };\n    const args = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_args(params);\n    try {\n      output.writeMessageBegin('getFinalizedInventoryCountMetadatasByIdForLocationInPeriod', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getFinalizedInventoryCountMetadatasByIdForLocationInPeriod failed: unknown result');\n  }\n\n  getInventoryCountMetadatasByIdForLocationFinalizedInPeriod (actor, locationId, periodStartInclusive, periodEndExclusive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod(actor, locationId, periodStartInclusive, periodEndExclusive);\n    });\n  }\n\n  send_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod (actor, locationId, periodStartInclusive, periodEndExclusive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      periodStartInclusive: periodStartInclusive,\n      periodEndExclusive: periodEndExclusive\n    };\n    const args = new InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_args(params);\n    try {\n      output.writeMessageBegin('getInventoryCountMetadatasByIdForLocationFinalizedInPeriod', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getInventoryCountMetadatasByIdForLocationFinalizedInPeriod failed: unknown result');\n  }\n\n  getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate (actor, locationId, startIndexInclusive, maxResultSize) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate(actor, locationId, startIndexInclusive, maxResultSize);\n    });\n  }\n\n  send_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate (actor, locationId, startIndexInclusive, maxResultSize) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      startIndexInclusive: startIndexInclusive,\n      maxResultSize: maxResultSize\n    };\n    const args = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_args(params);\n    try {\n      output.writeMessageBegin('getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate failed: unknown result');\n  }\n\n  getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime (actor, locationId, endTimeExclusive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime(actor, locationId, endTimeExclusive);\n    });\n  }\n\n  send_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime (actor, locationId, endTimeExclusive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      endTimeExclusive: endTimeExclusive\n    };\n    const args = new InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_args(params);\n    try {\n      output.writeMessageBegin('getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.noSuchInventoryCountException) {\n      return callback(result.noSuchInventoryCountException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime failed: unknown result');\n  }\n\n  getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime (actor, locationId, startTimeInclusive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime(actor, locationId, startTimeInclusive);\n    });\n  }\n\n  send_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime (actor, locationId, startTimeInclusive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      startTimeInclusive: startTimeInclusive\n    };\n    const args = new InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_args(params);\n    try {\n      output.writeMessageBegin('getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.noSuchInventoryCountException) {\n      return callback(result.noSuchInventoryCountException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime failed: unknown result');\n  }\n\n  createAndAddStorageAreaAtInventoryCount (actor, storageAreaName, storageAreaNote, locationId, inventoryCountId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createAndAddStorageAreaAtInventoryCount(actor, storageAreaName, storageAreaNote, locationId, inventoryCountId, clientTimestamp);\n    });\n  }\n\n  send_createAndAddStorageAreaAtInventoryCount (actor, storageAreaName, storageAreaNote, locationId, inventoryCountId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      storageAreaName: storageAreaName,\n      storageAreaNote: storageAreaNote,\n      locationId: locationId,\n      inventoryCountId: inventoryCountId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCountService_createAndAddStorageAreaAtInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('createAndAddStorageAreaAtInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createAndAddStorageAreaAtInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_createAndAddStorageAreaAtInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createAndAddStorageAreaAtInventoryCount failed: unknown result');\n  }\n\n  removeStorageAreaAtInventoryCount (actor, storageAreaId, inventoryCountId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeStorageAreaAtInventoryCount(actor, storageAreaId, inventoryCountId, clientTimestamp);\n    });\n  }\n\n  send_removeStorageAreaAtInventoryCount (actor, storageAreaId, inventoryCountId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      storageAreaId: storageAreaId,\n      inventoryCountId: inventoryCountId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCountService_removeStorageAreaAtInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('removeStorageAreaAtInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeStorageAreaAtInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_removeStorageAreaAtInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownStorageAreaIdExceptions) {\n      return callback(result.unknownStorageAreaIdExceptions);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    callback(null);\n  }\n\n  addProductToStorageAreaAtInventoryCount (actor, productId, storageAreaId, inventoryCountId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_addProductToStorageAreaAtInventoryCount(actor, productId, storageAreaId, inventoryCountId, clientTimestamp);\n    });\n  }\n\n  send_addProductToStorageAreaAtInventoryCount (actor, productId, storageAreaId, inventoryCountId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      storageAreaId: storageAreaId,\n      inventoryCountId: inventoryCountId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCountService_addProductToStorageAreaAtInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('addProductToStorageAreaAtInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_addProductToStorageAreaAtInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_addProductToStorageAreaAtInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownStorageAreaIdExceptions) {\n      return callback(result.unknownStorageAreaIdExceptions);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    callback(null);\n  }\n\n  removeProductFromStorageAreaAtInventoryCount (actor, productId, storageAreaId, inventoryCountId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeProductFromStorageAreaAtInventoryCount(actor, productId, storageAreaId, inventoryCountId, clientTimestamp);\n    });\n  }\n\n  send_removeProductFromStorageAreaAtInventoryCount (actor, productId, storageAreaId, inventoryCountId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      storageAreaId: storageAreaId,\n      inventoryCountId: inventoryCountId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCountService_removeProductFromStorageAreaAtInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('removeProductFromStorageAreaAtInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeProductFromStorageAreaAtInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_removeProductFromStorageAreaAtInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownStorageAreaIdExceptions) {\n      return callback(result.unknownStorageAreaIdExceptions);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    callback(null);\n  }\n\n  removeProductFromAllStorageAreasAtInventoryCount (actor, productId, inventoryCountId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeProductFromAllStorageAreasAtInventoryCount(actor, productId, inventoryCountId, clientTimestamp);\n    });\n  }\n\n  send_removeProductFromAllStorageAreasAtInventoryCount (actor, productId, inventoryCountId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      inventoryCountId: inventoryCountId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('removeProductFromAllStorageAreasAtInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeProductFromAllStorageAreasAtInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    callback(null);\n  }\n\n  setProductCountAtStorageArea (actor, productId, storageAreaId, inventoryCountId, productCount, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setProductCountAtStorageArea(actor, productId, storageAreaId, inventoryCountId, productCount, clientTimestamp);\n    });\n  }\n\n  send_setProductCountAtStorageArea (actor, productId, storageAreaId, inventoryCountId, productCount, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      storageAreaId: storageAreaId,\n      inventoryCountId: inventoryCountId,\n      productCount: productCount,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCountService_setProductCountAtStorageArea_args(params);\n    try {\n      output.writeMessageBegin('setProductCountAtStorageArea', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setProductCountAtStorageArea (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_setProductCountAtStorageArea_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownStorageAreaIdExceptions) {\n      return callback(result.unknownStorageAreaIdExceptions);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    callback(null);\n  }\n\n  createInventoryCount (actor, locationId, inventoryCountTime, inventoryCountType, name, note) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createInventoryCount(actor, locationId, inventoryCountTime, inventoryCountType, name, note);\n    });\n  }\n\n  send_createInventoryCount (actor, locationId, inventoryCountTime, inventoryCountType, name, note) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      inventoryCountTime: inventoryCountTime,\n      inventoryCountType: inventoryCountType,\n      name: name,\n      note: note\n    };\n    const args = new InventoryCountService_createInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('createInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_createInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.currentInventoryCountAlreadyExistsForLocationException) {\n      return callback(result.currentInventoryCountAlreadyExistsForLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createInventoryCount failed: unknown result');\n  }\n\n  createMergedInventoryCount (actor, locationId, inventoryCountId0, inventoryCountId1, inventoryCountTime, inventoryCountType, name, note) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createMergedInventoryCount(actor, locationId, inventoryCountId0, inventoryCountId1, inventoryCountTime, inventoryCountType, name, note);\n    });\n  }\n\n  send_createMergedInventoryCount (actor, locationId, inventoryCountId0, inventoryCountId1, inventoryCountTime, inventoryCountType, name, note) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      inventoryCountId0: inventoryCountId0,\n      inventoryCountId1: inventoryCountId1,\n      inventoryCountTime: inventoryCountTime,\n      inventoryCountType: inventoryCountType,\n      name: name,\n      note: note\n    };\n    const args = new InventoryCountService_createMergedInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('createMergedInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createMergedInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_createMergedInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createMergedInventoryCount failed: unknown result');\n  }\n\n  finalizeInventoryCount (actor, inventoryCountId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_finalizeInventoryCount(actor, inventoryCountId);\n    });\n  }\n\n  send_finalizeInventoryCount (actor, inventoryCountId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      inventoryCountId: inventoryCountId\n    };\n    const args = new InventoryCountService_finalizeInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('finalizeInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_finalizeInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_finalizeInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    if (null !== result.inventoryCountIsFinalizedException) {\n      return callback(result.inventoryCountIsFinalizedException);\n    }\n    callback(null);\n  }\n\n  deleteInventoryCount (actor, inventoryCountId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteInventoryCount(actor, inventoryCountId);\n    });\n  }\n\n  send_deleteInventoryCount (actor, inventoryCountId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      inventoryCountId: inventoryCountId\n    };\n    const args = new InventoryCountService_deleteInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('deleteInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_deleteInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    callback(null);\n  }\n\n  setInventoryCountMetadata (actor, inventoryCountId, inventoryCountTime, inventoryCountType, name, note) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setInventoryCountMetadata(actor, inventoryCountId, inventoryCountTime, inventoryCountType, name, note);\n    });\n  }\n\n  send_setInventoryCountMetadata (actor, inventoryCountId, inventoryCountTime, inventoryCountType, name, note) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      inventoryCountId: inventoryCountId,\n      inventoryCountTime: inventoryCountTime,\n      inventoryCountType: inventoryCountType,\n      name: name,\n      note: note\n    };\n    const args = new InventoryCountService_setInventoryCountMetadata_args(params);\n    try {\n      output.writeMessageBegin('setInventoryCountMetadata', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setInventoryCountMetadata (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCountService_setInventoryCountMetadata_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    callback(null);\n  }\n};\nconst InventoryCountServiceProcessor = exports.Processor = class InventoryCountServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_getInventoryCountsById (seqid, input, output) {\n    const args = new InventoryCountService_getInventoryCountsById_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getInventoryCountsById.length === 2) {\n      Promise.resolve(this._handler.getInventoryCountsById.bind(this._handler)(\n        args.actor,\n        args.inventoryCountIdSet\n      )).then(result => {\n        const result_obj = new InventoryCountService_getInventoryCountsById_result({success: result});\n        output.writeMessageBegin(\"getInventoryCountsById\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n          result = new InventoryCountService_getInventoryCountsById_result(err);\n          output.writeMessageBegin(\"getInventoryCountsById\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getInventoryCountsById\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getInventoryCountsById(args.actor, args.inventoryCountIdSet, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n          result_obj = new InventoryCountService_getInventoryCountsById_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getInventoryCountsById\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getInventoryCountsById\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getInventoryCountMetadatasById (seqid, input, output) {\n    const args = new InventoryCountService_getInventoryCountMetadatasById_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getInventoryCountMetadatasById.length === 2) {\n      Promise.resolve(this._handler.getInventoryCountMetadatasById.bind(this._handler)(\n        args.actor,\n        args.inventoryCountIdSet\n      )).then(result => {\n        const result_obj = new InventoryCountService_getInventoryCountMetadatasById_result({success: result});\n        output.writeMessageBegin(\"getInventoryCountMetadatasById\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n          result = new InventoryCountService_getInventoryCountMetadatasById_result(err);\n          output.writeMessageBegin(\"getInventoryCountMetadatasById\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getInventoryCountMetadatasById\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getInventoryCountMetadatasById(args.actor, args.inventoryCountIdSet, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n          result_obj = new InventoryCountService_getInventoryCountMetadatasById_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getInventoryCountMetadatasById\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getInventoryCountMetadatasById\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getCurrentInventoryCountIdAndMetadataForLocation (seqid, input, output) {\n    const args = new InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getCurrentInventoryCountIdAndMetadataForLocation.length === 2) {\n      Promise.resolve(this._handler.getCurrentInventoryCountIdAndMetadataForLocation.bind(this._handler)(\n        args.actor,\n        args.locationId\n      )).then(result => {\n        const result_obj = new InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_result({success: result});\n        output.writeMessageBegin(\"getCurrentInventoryCountIdAndMetadataForLocation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n          result = new InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_result(err);\n          output.writeMessageBegin(\"getCurrentInventoryCountIdAndMetadataForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCurrentInventoryCountIdAndMetadataForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getCurrentInventoryCountIdAndMetadataForLocation(args.actor, args.locationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n          result_obj = new InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getCurrentInventoryCountIdAndMetadataForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCurrentInventoryCountIdAndMetadataForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod (seqid, input, output) {\n    const args = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getFinalizedInventoryCountMetadatasByIdForLocationInPeriod.length === 4) {\n      Promise.resolve(this._handler.getFinalizedInventoryCountMetadatasByIdForLocationInPeriod.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.periodStartInclusive,\n        args.periodEndExclusive\n      )).then(result => {\n        const result_obj = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_result({success: result});\n        output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_result(err);\n          output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getFinalizedInventoryCountMetadatasByIdForLocationInPeriod(args.actor, args.locationId, args.periodStartInclusive, args.periodEndExclusive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod (seqid, input, output) {\n    const args = new InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getInventoryCountMetadatasByIdForLocationFinalizedInPeriod.length === 4) {\n      Promise.resolve(this._handler.getInventoryCountMetadatasByIdForLocationFinalizedInPeriod.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.periodStartInclusive,\n        args.periodEndExclusive\n      )).then(result => {\n        const result_obj = new InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_result({success: result});\n        output.writeMessageBegin(\"getInventoryCountMetadatasByIdForLocationFinalizedInPeriod\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_result(err);\n          output.writeMessageBegin(\"getInventoryCountMetadatasByIdForLocationFinalizedInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getInventoryCountMetadatasByIdForLocationFinalizedInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getInventoryCountMetadatasByIdForLocationFinalizedInPeriod(args.actor, args.locationId, args.periodStartInclusive, args.periodEndExclusive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getInventoryCountMetadatasByIdForLocationFinalizedInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getInventoryCountMetadatasByIdForLocationFinalizedInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate (seqid, input, output) {\n    const args = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate.length === 4) {\n      Promise.resolve(this._handler.getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.startIndexInclusive,\n        args.maxResultSize\n      )).then(result => {\n        const result_obj = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_result({success: result});\n        output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_result(err);\n          output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate(args.actor, args.locationId, args.startIndexInclusive, args.maxResultSize, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime (seqid, input, output) {\n    const args = new InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime.length === 3) {\n      Promise.resolve(this._handler.getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.endTimeExclusive\n      )).then(result => {\n        const result_obj = new InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_result({success: result});\n        output.writeMessageBegin(\"getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n          result = new InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_result(err);\n          output.writeMessageBegin(\"getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime(args.actor, args.locationId, args.endTimeExclusive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n          result_obj = new InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime (seqid, input, output) {\n    const args = new InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime.length === 3) {\n      Promise.resolve(this._handler.getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.startTimeInclusive\n      )).then(result => {\n        const result_obj = new InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_result({success: result});\n        output.writeMessageBegin(\"getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n          result = new InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_result(err);\n          output.writeMessageBegin(\"getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime(args.actor, args.locationId, args.startTimeInclusive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.NoSuchInventoryCountException) {\n          result_obj = new InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createAndAddStorageAreaAtInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_createAndAddStorageAreaAtInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createAndAddStorageAreaAtInventoryCount.length === 6) {\n      Promise.resolve(this._handler.createAndAddStorageAreaAtInventoryCount.bind(this._handler)(\n        args.actor,\n        args.storageAreaName,\n        args.storageAreaNote,\n        args.locationId,\n        args.inventoryCountId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCountService_createAndAddStorageAreaAtInventoryCount_result({success: result});\n        output.writeMessageBegin(\"createAndAddStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new InventoryCountService_createAndAddStorageAreaAtInventoryCount_result(err);\n          output.writeMessageBegin(\"createAndAddStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createAndAddStorageAreaAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createAndAddStorageAreaAtInventoryCount(args.actor, args.storageAreaName, args.storageAreaNote, args.locationId, args.inventoryCountId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new InventoryCountService_createAndAddStorageAreaAtInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createAndAddStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createAndAddStorageAreaAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeStorageAreaAtInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_removeStorageAreaAtInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeStorageAreaAtInventoryCount.length === 4) {\n      Promise.resolve(this._handler.removeStorageAreaAtInventoryCount.bind(this._handler)(\n        args.actor,\n        args.storageAreaId,\n        args.inventoryCountId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCountService_removeStorageAreaAtInventoryCount_result({success: result});\n        output.writeMessageBegin(\"removeStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new InventoryCountService_removeStorageAreaAtInventoryCount_result(err);\n          output.writeMessageBegin(\"removeStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeStorageAreaAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeStorageAreaAtInventoryCount(args.actor, args.storageAreaId, args.inventoryCountId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new InventoryCountService_removeStorageAreaAtInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeStorageAreaAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_addProductToStorageAreaAtInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_addProductToStorageAreaAtInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.addProductToStorageAreaAtInventoryCount.length === 5) {\n      Promise.resolve(this._handler.addProductToStorageAreaAtInventoryCount.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.storageAreaId,\n        args.inventoryCountId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCountService_addProductToStorageAreaAtInventoryCount_result({success: result});\n        output.writeMessageBegin(\"addProductToStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new InventoryCountService_addProductToStorageAreaAtInventoryCount_result(err);\n          output.writeMessageBegin(\"addProductToStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addProductToStorageAreaAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.addProductToStorageAreaAtInventoryCount(args.actor, args.productId, args.storageAreaId, args.inventoryCountId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new InventoryCountService_addProductToStorageAreaAtInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"addProductToStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addProductToStorageAreaAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeProductFromStorageAreaAtInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_removeProductFromStorageAreaAtInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeProductFromStorageAreaAtInventoryCount.length === 5) {\n      Promise.resolve(this._handler.removeProductFromStorageAreaAtInventoryCount.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.storageAreaId,\n        args.inventoryCountId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCountService_removeProductFromStorageAreaAtInventoryCount_result({success: result});\n        output.writeMessageBegin(\"removeProductFromStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new InventoryCountService_removeProductFromStorageAreaAtInventoryCount_result(err);\n          output.writeMessageBegin(\"removeProductFromStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeProductFromStorageAreaAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeProductFromStorageAreaAtInventoryCount(args.actor, args.productId, args.storageAreaId, args.inventoryCountId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new InventoryCountService_removeProductFromStorageAreaAtInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeProductFromStorageAreaAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeProductFromStorageAreaAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeProductFromAllStorageAreasAtInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeProductFromAllStorageAreasAtInventoryCount.length === 4) {\n      Promise.resolve(this._handler.removeProductFromAllStorageAreasAtInventoryCount.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.inventoryCountId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_result({success: result});\n        output.writeMessageBegin(\"removeProductFromAllStorageAreasAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_result(err);\n          output.writeMessageBegin(\"removeProductFromAllStorageAreasAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeProductFromAllStorageAreasAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeProductFromAllStorageAreasAtInventoryCount(args.actor, args.productId, args.inventoryCountId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeProductFromAllStorageAreasAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeProductFromAllStorageAreasAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setProductCountAtStorageArea (seqid, input, output) {\n    const args = new InventoryCountService_setProductCountAtStorageArea_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setProductCountAtStorageArea.length === 6) {\n      Promise.resolve(this._handler.setProductCountAtStorageArea.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.storageAreaId,\n        args.inventoryCountId,\n        args.productCount,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCountService_setProductCountAtStorageArea_result({success: result});\n        output.writeMessageBegin(\"setProductCountAtStorageArea\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new InventoryCountService_setProductCountAtStorageArea_result(err);\n          output.writeMessageBegin(\"setProductCountAtStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductCountAtStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setProductCountAtStorageArea(args.actor, args.productId, args.storageAreaId, args.inventoryCountId, args.productCount, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new InventoryCountService_setProductCountAtStorageArea_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setProductCountAtStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductCountAtStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_createInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createInventoryCount.length === 6) {\n      Promise.resolve(this._handler.createInventoryCount.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.inventoryCountTime,\n        args.inventoryCountType,\n        args.name,\n        args.note\n      )).then(result => {\n        const result_obj = new InventoryCountService_createInventoryCount_result({success: result});\n        output.writeMessageBegin(\"createInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.CurrentInventoryCountAlreadyExistsForLocationException) {\n          result = new InventoryCountService_createInventoryCount_result(err);\n          output.writeMessageBegin(\"createInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createInventoryCount(args.actor, args.locationId, args.inventoryCountTime, args.inventoryCountType, args.name, args.note, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.CurrentInventoryCountAlreadyExistsForLocationException) {\n          result_obj = new InventoryCountService_createInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createMergedInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_createMergedInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createMergedInventoryCount.length === 8) {\n      Promise.resolve(this._handler.createMergedInventoryCount.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.inventoryCountId0,\n        args.inventoryCountId1,\n        args.inventoryCountTime,\n        args.inventoryCountType,\n        args.name,\n        args.note\n      )).then(result => {\n        const result_obj = new InventoryCountService_createMergedInventoryCount_result({success: result});\n        output.writeMessageBegin(\"createMergedInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n          result = new InventoryCountService_createMergedInventoryCount_result(err);\n          output.writeMessageBegin(\"createMergedInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createMergedInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createMergedInventoryCount(args.actor, args.locationId, args.inventoryCountId0, args.inventoryCountId1, args.inventoryCountTime, args.inventoryCountType, args.name, args.note, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n          result_obj = new InventoryCountService_createMergedInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createMergedInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createMergedInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_finalizeInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_finalizeInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.finalizeInventoryCount.length === 2) {\n      Promise.resolve(this._handler.finalizeInventoryCount.bind(this._handler)(\n        args.actor,\n        args.inventoryCountId\n      )).then(result => {\n        const result_obj = new InventoryCountService_finalizeInventoryCount_result({success: result});\n        output.writeMessageBegin(\"finalizeInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsFinalizedException) {\n          result = new InventoryCountService_finalizeInventoryCount_result(err);\n          output.writeMessageBegin(\"finalizeInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"finalizeInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.finalizeInventoryCount(args.actor, args.inventoryCountId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsFinalizedException) {\n          result_obj = new InventoryCountService_finalizeInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"finalizeInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"finalizeInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteInventoryCount (seqid, input, output) {\n    const args = new InventoryCountService_deleteInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteInventoryCount.length === 2) {\n      Promise.resolve(this._handler.deleteInventoryCount.bind(this._handler)(\n        args.actor,\n        args.inventoryCountId\n      )).then(result => {\n        const result_obj = new InventoryCountService_deleteInventoryCount_result({success: result});\n        output.writeMessageBegin(\"deleteInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new InventoryCountService_deleteInventoryCount_result(err);\n          output.writeMessageBegin(\"deleteInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteInventoryCount(args.actor, args.inventoryCountId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new InventoryCountService_deleteInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setInventoryCountMetadata (seqid, input, output) {\n    const args = new InventoryCountService_setInventoryCountMetadata_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setInventoryCountMetadata.length === 6) {\n      Promise.resolve(this._handler.setInventoryCountMetadata.bind(this._handler)(\n        args.actor,\n        args.inventoryCountId,\n        args.inventoryCountTime,\n        args.inventoryCountType,\n        args.name,\n        args.note\n      )).then(result => {\n        const result_obj = new InventoryCountService_setInventoryCountMetadata_result({success: result});\n        output.writeMessageBegin(\"setInventoryCountMetadata\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new InventoryCountService_setInventoryCountMetadata_result(err);\n          output.writeMessageBegin(\"setInventoryCountMetadata\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setInventoryCountMetadata\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setInventoryCountMetadata(args.actor, args.inventoryCountId, args.inventoryCountTime, args.inventoryCountType, args.name, args.note, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new InventoryCountService_setInventoryCountMetadata_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setInventoryCountMetadata\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setInventoryCountMetadata\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst inventory_Exceptions_ttypes = require('./inventory_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = require('./inventory_current_configuration_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_Model_ttypes.InventoryConfiguration(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_Model_ttypes.InventoryConfiguration();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_updateStorageArea_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.storageAreaId = null;\n    this.storageAreaName = null;\n    this.storageAreaNote = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new inventory_Model_ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.storageAreaName !== undefined && args.storageAreaName !== null) {\n        this.storageAreaName = args.storageAreaName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaName is unset!');\n      }\n      if (args.storageAreaNote !== undefined && args.storageAreaNote !== null) {\n        this.storageAreaNote = args.storageAreaNote;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaNote is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new inventory_Model_ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.storageAreaName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.storageAreaNote = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_updateStorageArea_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 2);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaName !== null && this.storageAreaName !== undefined) {\n      output.writeFieldBegin('storageAreaName', Thrift.Type.STRING, 3);\n      output.writeString(this.storageAreaName);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaNote !== null && this.storageAreaNote !== undefined) {\n      output.writeFieldBegin('storageAreaNote', Thrift.Type.STRING, 4);\n      output.writeString(this.storageAreaNote);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 5);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_updateStorageArea_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownStorageAreaIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownStorageAreaIdException !== undefined && args.unknownStorageAreaIdException !== null) {\n        this.unknownStorageAreaIdException = args.unknownStorageAreaIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdException = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_updateStorageArea_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdException !== null && this.unknownStorageAreaIdException !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdException', Thrift.Type.STRUCT, 5);\n      this.unknownStorageAreaIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_createAndAddStorageArea_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.storageAreaName = null;\n    this.storageAreaNote = null;\n    this.locationId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.storageAreaName !== undefined && args.storageAreaName !== null) {\n        this.storageAreaName = args.storageAreaName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaName is unset!');\n      }\n      if (args.storageAreaNote !== undefined && args.storageAreaNote !== null) {\n        this.storageAreaNote = args.storageAreaNote;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaNote is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.storageAreaName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.storageAreaNote = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_createAndAddStorageArea_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaName !== null && this.storageAreaName !== undefined) {\n      output.writeFieldBegin('storageAreaName', Thrift.Type.STRING, 2);\n      output.writeString(this.storageAreaName);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaNote !== null && this.storageAreaNote !== undefined) {\n      output.writeFieldBegin('storageAreaNote', Thrift.Type.STRING, 3);\n      output.writeString(this.storageAreaNote);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 4);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 5);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_createAndAddStorageArea_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_Model_ttypes.StorageAreaId(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_Model_ttypes.StorageAreaId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_createAndAddStorageArea_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_removeStorageArea_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.storageAreaId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new inventory_Model_ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new inventory_Model_ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_removeStorageArea_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 2);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 3);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_removeStorageArea_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownStorageAreaIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownStorageAreaIdException !== undefined && args.unknownStorageAreaIdException !== null) {\n        this.unknownStorageAreaIdException = args.unknownStorageAreaIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdException = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_removeStorageArea_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdException !== null && this.unknownStorageAreaIdException !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdException', Thrift.Type.STRUCT, 5);\n      this.unknownStorageAreaIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_addProductToStorageArea_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.storageAreaId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new inventory_Model_ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new inventory_Model_ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_addProductToStorageArea_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 3);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 5);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_addProductToStorageArea_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownStorageAreaIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownStorageAreaIdException !== undefined && args.unknownStorageAreaIdException !== null) {\n        this.unknownStorageAreaIdException = args.unknownStorageAreaIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdException = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_addProductToStorageArea_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdException !== null && this.unknownStorageAreaIdException !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdException', Thrift.Type.STRUCT, 6);\n      this.unknownStorageAreaIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_removeProductFromStorageArea_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.storageAreaId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new inventory_Model_ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new inventory_Model_ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_removeProductFromStorageArea_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 3);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 5);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_removeProductFromStorageArea_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownStorageAreaIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownStorageAreaIdException !== undefined && args.unknownStorageAreaIdException !== null) {\n        this.unknownStorageAreaIdException = args.unknownStorageAreaIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdException = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_removeProductFromStorageArea_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdException !== null && this.unknownStorageAreaIdException !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdException', Thrift.Type.STRUCT, 6);\n      this.unknownStorageAreaIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.productIds = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIds = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductId();\n            elem3.read(input);\n            this.productIds.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter4 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter4)) {\n          iter4 = this.productIds[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 4);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    this.unknownProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 6);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_setStorageAreaIndexAfter_args = class {\n  constructor(args) {\n    this.setStorageAreaIndexAfterRequest = null;\n    if (args) {\n      if (args.setStorageAreaIndexAfterRequest !== undefined && args.setStorageAreaIndexAfterRequest !== null) {\n        this.setStorageAreaIndexAfterRequest = new inventory_Model_ttypes.SetStorageAreaIndexAfterRequest(args.setStorageAreaIndexAfterRequest);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field setStorageAreaIndexAfterRequest is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.setStorageAreaIndexAfterRequest = new inventory_Model_ttypes.SetStorageAreaIndexAfterRequest();\n          this.setStorageAreaIndexAfterRequest.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_setStorageAreaIndexAfter_args');\n    if (this.setStorageAreaIndexAfterRequest !== null && this.setStorageAreaIndexAfterRequest !== undefined) {\n      output.writeFieldBegin('setStorageAreaIndexAfterRequest', Thrift.Type.STRUCT, 1);\n      this.setStorageAreaIndexAfterRequest.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_setStorageAreaIndexAfter_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownStorageAreaIdExceptions = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdExceptions = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownStorageAreaIdExceptions !== undefined && args.unknownStorageAreaIdExceptions !== null) {\n        this.unknownStorageAreaIdExceptions = args.unknownStorageAreaIdExceptions;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdExceptions = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdExceptions.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_setStorageAreaIndexAfter_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdExceptions !== null && this.unknownStorageAreaIdExceptions !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdExceptions', Thrift.Type.STRUCT, 5);\n      this.unknownStorageAreaIdExceptions.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_args = class {\n  constructor(args) {\n    this.setProductAtStorageAreaIndexAfterRequest = null;\n    if (args) {\n      if (args.setProductAtStorageAreaIndexAfterRequest !== undefined && args.setProductAtStorageAreaIndexAfterRequest !== null) {\n        this.setProductAtStorageAreaIndexAfterRequest = new inventory_Model_ttypes.SetProductAtStorageAreaIndexAfterRequest(args.setProductAtStorageAreaIndexAfterRequest);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field setProductAtStorageAreaIndexAfterRequest is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.setProductAtStorageAreaIndexAfterRequest = new inventory_Model_ttypes.SetProductAtStorageAreaIndexAfterRequest();\n          this.setProductAtStorageAreaIndexAfterRequest.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_args');\n    if (this.setProductAtStorageAreaIndexAfterRequest !== null && this.setProductAtStorageAreaIndexAfterRequest !== undefined) {\n      output.writeFieldBegin('setProductAtStorageAreaIndexAfterRequest', Thrift.Type.STRUCT, 1);\n      this.setProductAtStorageAreaIndexAfterRequest.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownStorageAreaIdExceptions = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n        this.unknownStorageAreaIdExceptions = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownStorageAreaIdExceptions !== undefined && args.unknownStorageAreaIdExceptions !== null) {\n        this.unknownStorageAreaIdExceptions = args.unknownStorageAreaIdExceptions;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownStorageAreaIdExceptions = new inventory_Exceptions_ttypes.UnknownStorageAreaIdException();\n          this.unknownStorageAreaIdExceptions.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownStorageAreaIdExceptions !== null && this.unknownStorageAreaIdExceptions !== undefined) {\n      output.writeFieldBegin('unknownStorageAreaIdExceptions', Thrift.Type.STRUCT, 6);\n      this.unknownStorageAreaIdExceptions.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCurrentConfigurationServiceClient = exports.Client = class InventoryCurrentConfigurationServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  getCurrentInventoryConfigurationForLocation (actor, locationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getCurrentInventoryConfigurationForLocation(actor, locationId);\n    });\n  }\n\n  send_getCurrentInventoryConfigurationForLocation (actor, locationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId\n    };\n    const args = new InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_args(params);\n    try {\n      output.writeMessageBegin('getCurrentInventoryConfigurationForLocation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getCurrentInventoryConfigurationForLocation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getCurrentInventoryConfigurationForLocation failed: unknown result');\n  }\n\n  updateStorageArea (actor, storageAreaId, storageAreaName, storageAreaNote, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateStorageArea(actor, storageAreaId, storageAreaName, storageAreaNote, clientTimestamp);\n    });\n  }\n\n  send_updateStorageArea (actor, storageAreaId, storageAreaName, storageAreaNote, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      storageAreaId: storageAreaId,\n      storageAreaName: storageAreaName,\n      storageAreaNote: storageAreaNote,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCurrentConfigurationService_updateStorageArea_args(params);\n    try {\n      output.writeMessageBegin('updateStorageArea', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateStorageArea (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_updateStorageArea_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownStorageAreaIdException) {\n      return callback(result.unknownStorageAreaIdException);\n    }\n    callback(null);\n  }\n\n  createAndAddStorageArea (actor, storageAreaName, storageAreaNote, locationId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createAndAddStorageArea(actor, storageAreaName, storageAreaNote, locationId, clientTimestamp);\n    });\n  }\n\n  send_createAndAddStorageArea (actor, storageAreaName, storageAreaNote, locationId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      storageAreaName: storageAreaName,\n      storageAreaNote: storageAreaNote,\n      locationId: locationId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCurrentConfigurationService_createAndAddStorageArea_args(params);\n    try {\n      output.writeMessageBegin('createAndAddStorageArea', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createAndAddStorageArea (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_createAndAddStorageArea_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createAndAddStorageArea failed: unknown result');\n  }\n\n  removeStorageArea (actor, storageAreaId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeStorageArea(actor, storageAreaId, clientTimestamp);\n    });\n  }\n\n  send_removeStorageArea (actor, storageAreaId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      storageAreaId: storageAreaId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCurrentConfigurationService_removeStorageArea_args(params);\n    try {\n      output.writeMessageBegin('removeStorageArea', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeStorageArea (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_removeStorageArea_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownStorageAreaIdException) {\n      return callback(result.unknownStorageAreaIdException);\n    }\n    callback(null);\n  }\n\n  addProductToStorageArea (actor, productId, storageAreaId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_addProductToStorageArea(actor, productId, storageAreaId, clientTimestamp);\n    });\n  }\n\n  send_addProductToStorageArea (actor, productId, storageAreaId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      storageAreaId: storageAreaId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCurrentConfigurationService_addProductToStorageArea_args(params);\n    try {\n      output.writeMessageBegin('addProductToStorageArea', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_addProductToStorageArea (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_addProductToStorageArea_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownStorageAreaIdException) {\n      return callback(result.unknownStorageAreaIdException);\n    }\n    callback(null);\n  }\n\n  removeProductFromStorageArea (actor, productId, storageAreaId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeProductFromStorageArea(actor, productId, storageAreaId, clientTimestamp);\n    });\n  }\n\n  send_removeProductFromStorageArea (actor, productId, storageAreaId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      storageAreaId: storageAreaId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCurrentConfigurationService_removeProductFromStorageArea_args(params);\n    try {\n      output.writeMessageBegin('removeProductFromStorageArea', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeProductFromStorageArea (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_removeProductFromStorageArea_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownStorageAreaIdException) {\n      return callback(result.unknownStorageAreaIdException);\n    }\n    callback(null);\n  }\n\n  removeProductsFromAllStorageAreas (actor, locationId, productIds, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeProductsFromAllStorageAreas(actor, locationId, productIds, clientTimestamp);\n    });\n  }\n\n  send_removeProductsFromAllStorageAreas (actor, locationId, productIds, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      productIds: productIds,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_args(params);\n    try {\n      output.writeMessageBegin('removeProductsFromAllStorageAreas', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeProductsFromAllStorageAreas (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    callback(null);\n  }\n\n  setStorageAreaIndexAfter (setStorageAreaIndexAfterRequest) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setStorageAreaIndexAfter(setStorageAreaIndexAfterRequest);\n    });\n  }\n\n  send_setStorageAreaIndexAfter (setStorageAreaIndexAfterRequest) {\n    const output = new this.pClass(this.output);\n    const params = {\n      setStorageAreaIndexAfterRequest: setStorageAreaIndexAfterRequest\n    };\n    const args = new InventoryCurrentConfigurationService_setStorageAreaIndexAfter_args(params);\n    try {\n      output.writeMessageBegin('setStorageAreaIndexAfter', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setStorageAreaIndexAfter (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_setStorageAreaIndexAfter_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownStorageAreaIdExceptions) {\n      return callback(result.unknownStorageAreaIdExceptions);\n    }\n    callback(null);\n  }\n\n  setProductAtStorageAreaIndexAfter (setProductAtStorageAreaIndexAfterRequest) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setProductAtStorageAreaIndexAfter(setProductAtStorageAreaIndexAfterRequest);\n    });\n  }\n\n  send_setProductAtStorageAreaIndexAfter (setProductAtStorageAreaIndexAfterRequest) {\n    const output = new this.pClass(this.output);\n    const params = {\n      setProductAtStorageAreaIndexAfterRequest: setProductAtStorageAreaIndexAfterRequest\n    };\n    const args = new InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_args(params);\n    try {\n      output.writeMessageBegin('setProductAtStorageAreaIndexAfter', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setProductAtStorageAreaIndexAfter (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownStorageAreaIdExceptions) {\n      return callback(result.unknownStorageAreaIdExceptions);\n    }\n    callback(null);\n  }\n};\nconst InventoryCurrentConfigurationServiceProcessor = exports.Processor = class InventoryCurrentConfigurationServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_getCurrentInventoryConfigurationForLocation (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getCurrentInventoryConfigurationForLocation.length === 2) {\n      Promise.resolve(this._handler.getCurrentInventoryConfigurationForLocation.bind(this._handler)(\n        args.actor,\n        args.locationId\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_result({success: result});\n        output.writeMessageBegin(\"getCurrentInventoryConfigurationForLocation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_result(err);\n          output.writeMessageBegin(\"getCurrentInventoryConfigurationForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCurrentInventoryConfigurationForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getCurrentInventoryConfigurationForLocation(args.actor, args.locationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getCurrentInventoryConfigurationForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCurrentInventoryConfigurationForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateStorageArea (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_updateStorageArea_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateStorageArea.length === 5) {\n      Promise.resolve(this._handler.updateStorageArea.bind(this._handler)(\n        args.actor,\n        args.storageAreaId,\n        args.storageAreaName,\n        args.storageAreaNote,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_updateStorageArea_result({success: result});\n        output.writeMessageBegin(\"updateStorageArea\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result = new InventoryCurrentConfigurationService_updateStorageArea_result(err);\n          output.writeMessageBegin(\"updateStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateStorageArea(args.actor, args.storageAreaId, args.storageAreaName, args.storageAreaNote, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result_obj = new InventoryCurrentConfigurationService_updateStorageArea_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createAndAddStorageArea (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_createAndAddStorageArea_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createAndAddStorageArea.length === 5) {\n      Promise.resolve(this._handler.createAndAddStorageArea.bind(this._handler)(\n        args.actor,\n        args.storageAreaName,\n        args.storageAreaNote,\n        args.locationId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_createAndAddStorageArea_result({success: result});\n        output.writeMessageBegin(\"createAndAddStorageArea\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new InventoryCurrentConfigurationService_createAndAddStorageArea_result(err);\n          output.writeMessageBegin(\"createAndAddStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createAndAddStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createAndAddStorageArea(args.actor, args.storageAreaName, args.storageAreaNote, args.locationId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new InventoryCurrentConfigurationService_createAndAddStorageArea_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createAndAddStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createAndAddStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeStorageArea (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_removeStorageArea_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeStorageArea.length === 3) {\n      Promise.resolve(this._handler.removeStorageArea.bind(this._handler)(\n        args.actor,\n        args.storageAreaId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_removeStorageArea_result({success: result});\n        output.writeMessageBegin(\"removeStorageArea\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result = new InventoryCurrentConfigurationService_removeStorageArea_result(err);\n          output.writeMessageBegin(\"removeStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeStorageArea(args.actor, args.storageAreaId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result_obj = new InventoryCurrentConfigurationService_removeStorageArea_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_addProductToStorageArea (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_addProductToStorageArea_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.addProductToStorageArea.length === 4) {\n      Promise.resolve(this._handler.addProductToStorageArea.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.storageAreaId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_addProductToStorageArea_result({success: result});\n        output.writeMessageBegin(\"addProductToStorageArea\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result = new InventoryCurrentConfigurationService_addProductToStorageArea_result(err);\n          output.writeMessageBegin(\"addProductToStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addProductToStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.addProductToStorageArea(args.actor, args.productId, args.storageAreaId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result_obj = new InventoryCurrentConfigurationService_addProductToStorageArea_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"addProductToStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"addProductToStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeProductFromStorageArea (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_removeProductFromStorageArea_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeProductFromStorageArea.length === 4) {\n      Promise.resolve(this._handler.removeProductFromStorageArea.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.storageAreaId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_removeProductFromStorageArea_result({success: result});\n        output.writeMessageBegin(\"removeProductFromStorageArea\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result = new InventoryCurrentConfigurationService_removeProductFromStorageArea_result(err);\n          output.writeMessageBegin(\"removeProductFromStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeProductFromStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeProductFromStorageArea(args.actor, args.productId, args.storageAreaId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result_obj = new InventoryCurrentConfigurationService_removeProductFromStorageArea_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeProductFromStorageArea\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeProductFromStorageArea\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeProductsFromAllStorageAreas (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeProductsFromAllStorageAreas.length === 4) {\n      Promise.resolve(this._handler.removeProductsFromAllStorageAreas.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.productIds,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_result({success: result});\n        output.writeMessageBegin(\"removeProductsFromAllStorageAreas\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result = new InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_result(err);\n          output.writeMessageBegin(\"removeProductsFromAllStorageAreas\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeProductsFromAllStorageAreas\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeProductsFromAllStorageAreas(args.actor, args.locationId, args.productIds, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result_obj = new InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeProductsFromAllStorageAreas\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeProductsFromAllStorageAreas\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setStorageAreaIndexAfter (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_setStorageAreaIndexAfter_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setStorageAreaIndexAfter.length === 1) {\n      Promise.resolve(this._handler.setStorageAreaIndexAfter.bind(this._handler)(\n        args.setStorageAreaIndexAfterRequest\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_setStorageAreaIndexAfter_result({success: result});\n        output.writeMessageBegin(\"setStorageAreaIndexAfter\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result = new InventoryCurrentConfigurationService_setStorageAreaIndexAfter_result(err);\n          output.writeMessageBegin(\"setStorageAreaIndexAfter\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setStorageAreaIndexAfter\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setStorageAreaIndexAfter(args.setStorageAreaIndexAfterRequest, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result_obj = new InventoryCurrentConfigurationService_setStorageAreaIndexAfter_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setStorageAreaIndexAfter\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setStorageAreaIndexAfter\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setProductAtStorageAreaIndexAfter (seqid, input, output) {\n    const args = new InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setProductAtStorageAreaIndexAfter.length === 1) {\n      Promise.resolve(this._handler.setProductAtStorageAreaIndexAfter.bind(this._handler)(\n        args.setProductAtStorageAreaIndexAfterRequest\n      )).then(result => {\n        const result_obj = new InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_result({success: result});\n        output.writeMessageBegin(\"setProductAtStorageAreaIndexAfter\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result = new InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_result(err);\n          output.writeMessageBegin(\"setProductAtStorageAreaIndexAfter\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductAtStorageAreaIndexAfter\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setProductAtStorageAreaIndexAfter(args.setProductAtStorageAreaIndexAfterRequest, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownStorageAreaIdException) {\n          result_obj = new InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setProductAtStorageAreaIndexAfter\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductAtStorageAreaIndexAfter\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_transfer_report_Model_ttypes = require('./inventory_transfer_report_Model_types');\nconst inventory_transfer_report_Exceptions_ttypes = require('./inventory_transfer_report_Exceptions_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = require('./inventory_transfer_report_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst InventoryTransferReportService_createTransferReport_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportData = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportData !== undefined && args.reportData !== null) {\n        this.reportData = new inventory_transfer_report_Model_ttypes.InventoryTransferReportInfo(args.reportData);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportData is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportData = new inventory_transfer_report_Model_ttypes.InventoryTransferReportInfo();\n          this.reportData.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_createTransferReport_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportData !== null && this.reportData !== undefined) {\n      output.writeFieldBegin('reportData', Thrift.Type.STRUCT, 2);\n      this.reportData.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_createTransferReport_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownPerspectiveLocationException = null;\n    this.actorDoesNotHaveAccessToPerspectiveLocationException = null;\n    this.perspectiveLocationCannotEqualPartnerLocationException = null;\n    this.unknownPartnerLocationException = null;\n    this.actorDoesNotHaveAccessToPartnerLocationException = null;\n    this.unknownProductIdException = null;\n    this.unitIncompatibleWithProductPackagingException = null;\n    this.quantityMustBeNonnegativeException = null;\n    this.AtMostOneQuantityIsAllowedForProductAndUnitException = null;\n    this.productsHaveNoMappingAtPartnerLocationException = null;\n    this.productNotAssociatedWithLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownPerspectiveLocationException) {\n        this.unknownPerspectiveLocationException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException) {\n        this.actorDoesNotHaveAccessToPerspectiveLocationException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationCannotEqualPartnerLocationException) {\n        this.perspectiveLocationCannotEqualPartnerLocationException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownPartnerLocationException) {\n        this.unknownPartnerLocationException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPartnerLocationException) {\n        this.actorDoesNotHaveAccessToPartnerLocationException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException) {\n        this.unitIncompatibleWithProductPackagingException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException) {\n        this.quantityMustBeNonnegativeException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException) {\n        this.AtMostOneQuantityIsAllowedForProductAndUnitException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException) {\n        this.productsHaveNoMappingAtPartnerLocationException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n        this.productNotAssociatedWithLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownPerspectiveLocationException !== undefined && args.unknownPerspectiveLocationException !== null) {\n        this.unknownPerspectiveLocationException = args.unknownPerspectiveLocationException;\n      }\n      if (args.actorDoesNotHaveAccessToPerspectiveLocationException !== undefined && args.actorDoesNotHaveAccessToPerspectiveLocationException !== null) {\n        this.actorDoesNotHaveAccessToPerspectiveLocationException = args.actorDoesNotHaveAccessToPerspectiveLocationException;\n      }\n      if (args.perspectiveLocationCannotEqualPartnerLocationException !== undefined && args.perspectiveLocationCannotEqualPartnerLocationException !== null) {\n        this.perspectiveLocationCannotEqualPartnerLocationException = args.perspectiveLocationCannotEqualPartnerLocationException;\n      }\n      if (args.unknownPartnerLocationException !== undefined && args.unknownPartnerLocationException !== null) {\n        this.unknownPartnerLocationException = args.unknownPartnerLocationException;\n      }\n      if (args.actorDoesNotHaveAccessToPartnerLocationException !== undefined && args.actorDoesNotHaveAccessToPartnerLocationException !== null) {\n        this.actorDoesNotHaveAccessToPartnerLocationException = args.actorDoesNotHaveAccessToPartnerLocationException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unitIncompatibleWithProductPackagingException !== undefined && args.unitIncompatibleWithProductPackagingException !== null) {\n        this.unitIncompatibleWithProductPackagingException = args.unitIncompatibleWithProductPackagingException;\n      }\n      if (args.quantityMustBeNonnegativeException !== undefined && args.quantityMustBeNonnegativeException !== null) {\n        this.quantityMustBeNonnegativeException = args.quantityMustBeNonnegativeException;\n      }\n      if (args.AtMostOneQuantityIsAllowedForProductAndUnitException !== undefined && args.AtMostOneQuantityIsAllowedForProductAndUnitException !== null) {\n        this.AtMostOneQuantityIsAllowedForProductAndUnitException = args.AtMostOneQuantityIsAllowedForProductAndUnitException;\n      }\n      if (args.productsHaveNoMappingAtPartnerLocationException !== undefined && args.productsHaveNoMappingAtPartnerLocationException !== null) {\n        this.productsHaveNoMappingAtPartnerLocationException = args.productsHaveNoMappingAtPartnerLocationException;\n      }\n      if (args.productNotAssociatedWithLocationException !== undefined && args.productNotAssociatedWithLocationException !== null) {\n        this.productNotAssociatedWithLocationException = args.productNotAssociatedWithLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownPerspectiveLocationException = new location_Exceptions_ttypes.UnknownPerspectiveLocationException();\n          this.unknownPerspectiveLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToPerspectiveLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException();\n          this.actorDoesNotHaveAccessToPerspectiveLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.perspectiveLocationCannotEqualPartnerLocationException = new inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationCannotEqualPartnerLocationException();\n          this.perspectiveLocationCannotEqualPartnerLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownPartnerLocationException = new inventory_transfer_report_Exceptions_ttypes.UnknownPartnerLocationException();\n          this.unknownPartnerLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToPartnerLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToPartnerLocationException();\n          this.actorDoesNotHaveAccessToPartnerLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unitIncompatibleWithProductPackagingException = new product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException();\n          this.unitIncompatibleWithProductPackagingException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 11:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityMustBeNonnegativeException = new product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException();\n          this.quantityMustBeNonnegativeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 12:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.AtMostOneQuantityIsAllowedForProductAndUnitException = new inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException();\n          this.AtMostOneQuantityIsAllowedForProductAndUnitException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 13:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productsHaveNoMappingAtPartnerLocationException = new inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException();\n          this.productsHaveNoMappingAtPartnerLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 14:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productNotAssociatedWithLocationException = new product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException();\n          this.productNotAssociatedWithLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_createTransferReport_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownPerspectiveLocationException !== null && this.unknownPerspectiveLocationException !== undefined) {\n      output.writeFieldBegin('unknownPerspectiveLocationException', Thrift.Type.STRUCT, 4);\n      this.unknownPerspectiveLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToPerspectiveLocationException !== null && this.actorDoesNotHaveAccessToPerspectiveLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToPerspectiveLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToPerspectiveLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.perspectiveLocationCannotEqualPartnerLocationException !== null && this.perspectiveLocationCannotEqualPartnerLocationException !== undefined) {\n      output.writeFieldBegin('perspectiveLocationCannotEqualPartnerLocationException', Thrift.Type.STRUCT, 6);\n      this.perspectiveLocationCannotEqualPartnerLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownPartnerLocationException !== null && this.unknownPartnerLocationException !== undefined) {\n      output.writeFieldBegin('unknownPartnerLocationException', Thrift.Type.STRUCT, 7);\n      this.unknownPartnerLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToPartnerLocationException !== null && this.actorDoesNotHaveAccessToPartnerLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToPartnerLocationException', Thrift.Type.STRUCT, 8);\n      this.actorDoesNotHaveAccessToPartnerLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 9);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unitIncompatibleWithProductPackagingException !== null && this.unitIncompatibleWithProductPackagingException !== undefined) {\n      output.writeFieldBegin('unitIncompatibleWithProductPackagingException', Thrift.Type.STRUCT, 10);\n      this.unitIncompatibleWithProductPackagingException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityMustBeNonnegativeException !== null && this.quantityMustBeNonnegativeException !== undefined) {\n      output.writeFieldBegin('quantityMustBeNonnegativeException', Thrift.Type.STRUCT, 11);\n      this.quantityMustBeNonnegativeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.AtMostOneQuantityIsAllowedForProductAndUnitException !== null && this.AtMostOneQuantityIsAllowedForProductAndUnitException !== undefined) {\n      output.writeFieldBegin('AtMostOneQuantityIsAllowedForProductAndUnitException', Thrift.Type.STRUCT, 12);\n      this.AtMostOneQuantityIsAllowedForProductAndUnitException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productsHaveNoMappingAtPartnerLocationException !== null && this.productsHaveNoMappingAtPartnerLocationException !== undefined) {\n      output.writeFieldBegin('productsHaveNoMappingAtPartnerLocationException', Thrift.Type.STRUCT, 13);\n      this.productsHaveNoMappingAtPartnerLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productNotAssociatedWithLocationException !== null && this.productNotAssociatedWithLocationException !== undefined) {\n      output.writeFieldBegin('productNotAssociatedWithLocationException', Thrift.Type.STRUCT, 14);\n      this.productNotAssociatedWithLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_updateTransferReport_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifier = null;\n    this.update = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifier !== undefined && args.reportIdentifier !== null) {\n        this.reportIdentifier = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier(args.reportIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifier is unset!');\n      }\n      if (args.update !== undefined && args.update !== null) {\n        this.update = new inventory_transfer_report_Model_ttypes.BreakageReportUpdate(args.update);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field update is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportIdentifier = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier();\n          this.reportIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.update = new inventory_transfer_report_Model_ttypes.BreakageReportUpdate();\n          this.update.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_updateTransferReport_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifier !== null && this.reportIdentifier !== undefined) {\n      output.writeFieldBegin('reportIdentifier', Thrift.Type.STRUCT, 2);\n      this.reportIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.update !== null && this.update !== undefined) {\n      output.writeFieldBegin('update', Thrift.Type.STRUCT, 3);\n      this.update.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_updateTransferReport_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToReportException = null;\n    this.unknownProductIdException = null;\n    this.unitIncompatibleWithProductPackagingException = null;\n    this.quantityMustBeNonnegativeException = null;\n    this.quantityOfProductAndUnitDoesNotExistException = null;\n    this.atMostOneQuantityIsAllowedForProductAndUnitException = null;\n    this.productsHaveNoMappingAtPartnerLocationException = null;\n    this.productNotAssociatedWithLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n        this.actorDoesNotHaveAccessToReportException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException) {\n        this.unitIncompatibleWithProductPackagingException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException) {\n        this.quantityMustBeNonnegativeException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException) {\n        this.quantityOfProductAndUnitDoesNotExistException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException) {\n        this.atMostOneQuantityIsAllowedForProductAndUnitException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException) {\n        this.productsHaveNoMappingAtPartnerLocationException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n        this.productNotAssociatedWithLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToReportException !== undefined && args.actorDoesNotHaveAccessToReportException !== null) {\n        this.actorDoesNotHaveAccessToReportException = args.actorDoesNotHaveAccessToReportException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unitIncompatibleWithProductPackagingException !== undefined && args.unitIncompatibleWithProductPackagingException !== null) {\n        this.unitIncompatibleWithProductPackagingException = args.unitIncompatibleWithProductPackagingException;\n      }\n      if (args.quantityMustBeNonnegativeException !== undefined && args.quantityMustBeNonnegativeException !== null) {\n        this.quantityMustBeNonnegativeException = args.quantityMustBeNonnegativeException;\n      }\n      if (args.quantityOfProductAndUnitDoesNotExistException !== undefined && args.quantityOfProductAndUnitDoesNotExistException !== null) {\n        this.quantityOfProductAndUnitDoesNotExistException = args.quantityOfProductAndUnitDoesNotExistException;\n      }\n      if (args.atMostOneQuantityIsAllowedForProductAndUnitException !== undefined && args.atMostOneQuantityIsAllowedForProductAndUnitException !== null) {\n        this.atMostOneQuantityIsAllowedForProductAndUnitException = args.atMostOneQuantityIsAllowedForProductAndUnitException;\n      }\n      if (args.productsHaveNoMappingAtPartnerLocationException !== undefined && args.productsHaveNoMappingAtPartnerLocationException !== null) {\n        this.productsHaveNoMappingAtPartnerLocationException = args.productsHaveNoMappingAtPartnerLocationException;\n      }\n      if (args.productNotAssociatedWithLocationException !== undefined && args.productNotAssociatedWithLocationException !== null) {\n        this.productNotAssociatedWithLocationException = args.productNotAssociatedWithLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToReportException = new inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException();\n          this.actorDoesNotHaveAccessToReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unitIncompatibleWithProductPackagingException = new product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException();\n          this.unitIncompatibleWithProductPackagingException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityMustBeNonnegativeException = new product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException();\n          this.quantityMustBeNonnegativeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityOfProductAndUnitDoesNotExistException = new product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException();\n          this.quantityOfProductAndUnitDoesNotExistException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.atMostOneQuantityIsAllowedForProductAndUnitException = new inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException();\n          this.atMostOneQuantityIsAllowedForProductAndUnitException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 11:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productsHaveNoMappingAtPartnerLocationException = new inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException();\n          this.productsHaveNoMappingAtPartnerLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 12:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productNotAssociatedWithLocationException = new product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException();\n          this.productNotAssociatedWithLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_updateTransferReport_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToReportException !== null && this.actorDoesNotHaveAccessToReportException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToReportException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToReportException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 6);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unitIncompatibleWithProductPackagingException !== null && this.unitIncompatibleWithProductPackagingException !== undefined) {\n      output.writeFieldBegin('unitIncompatibleWithProductPackagingException', Thrift.Type.STRUCT, 7);\n      this.unitIncompatibleWithProductPackagingException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityMustBeNonnegativeException !== null && this.quantityMustBeNonnegativeException !== undefined) {\n      output.writeFieldBegin('quantityMustBeNonnegativeException', Thrift.Type.STRUCT, 8);\n      this.quantityMustBeNonnegativeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityOfProductAndUnitDoesNotExistException !== null && this.quantityOfProductAndUnitDoesNotExistException !== undefined) {\n      output.writeFieldBegin('quantityOfProductAndUnitDoesNotExistException', Thrift.Type.STRUCT, 9);\n      this.quantityOfProductAndUnitDoesNotExistException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.atMostOneQuantityIsAllowedForProductAndUnitException !== null && this.atMostOneQuantityIsAllowedForProductAndUnitException !== undefined) {\n      output.writeFieldBegin('atMostOneQuantityIsAllowedForProductAndUnitException', Thrift.Type.STRUCT, 10);\n      this.atMostOneQuantityIsAllowedForProductAndUnitException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productsHaveNoMappingAtPartnerLocationException !== null && this.productsHaveNoMappingAtPartnerLocationException !== undefined) {\n      output.writeFieldBegin('productsHaveNoMappingAtPartnerLocationException', Thrift.Type.STRUCT, 11);\n      this.productsHaveNoMappingAtPartnerLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productNotAssociatedWithLocationException !== null && this.productNotAssociatedWithLocationException !== undefined) {\n      output.writeFieldBegin('productNotAssociatedWithLocationException', Thrift.Type.STRUCT, 12);\n      this.productNotAssociatedWithLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_updateTransferReportRequisitionStep_args = class {\n  constructor(args) {\n    this.request = null;\n    if (args) {\n      if (args.request !== undefined && args.request !== null) {\n        this.request = new inventory_transfer_report_Model_ttypes.UpdateTransferReportRequisitionStepRequest(args.request);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field request is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.request = new inventory_transfer_report_Model_ttypes.UpdateTransferReportRequisitionStepRequest();\n          this.request.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_updateTransferReportRequisitionStep_args');\n    if (this.request !== null && this.request !== undefined) {\n      output.writeFieldBegin('request', Thrift.Type.STRUCT, 1);\n      this.request.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_updateTransferReportRequisitionStep_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToReportException = null;\n    this.unknownProductIdException = null;\n    this.unitIncompatibleWithProductPackagingException = null;\n    this.quantityMustBeNonnegativeException = null;\n    this.quantityOfProductAndUnitDoesNotExistException = null;\n    this.atMostOneQuantityIsAllowedForProductAndUnitException = null;\n    this.productsHaveNoMappingAtPartnerLocationException = null;\n    this.productNotAssociatedWithLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n        this.actorDoesNotHaveAccessToReportException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException) {\n        this.unitIncompatibleWithProductPackagingException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException) {\n        this.quantityMustBeNonnegativeException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException) {\n        this.quantityOfProductAndUnitDoesNotExistException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException) {\n        this.atMostOneQuantityIsAllowedForProductAndUnitException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException) {\n        this.productsHaveNoMappingAtPartnerLocationException = args;\n        return;\n    }\n    if (args instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n        this.productNotAssociatedWithLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToReportException !== undefined && args.actorDoesNotHaveAccessToReportException !== null) {\n        this.actorDoesNotHaveAccessToReportException = args.actorDoesNotHaveAccessToReportException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unitIncompatibleWithProductPackagingException !== undefined && args.unitIncompatibleWithProductPackagingException !== null) {\n        this.unitIncompatibleWithProductPackagingException = args.unitIncompatibleWithProductPackagingException;\n      }\n      if (args.quantityMustBeNonnegativeException !== undefined && args.quantityMustBeNonnegativeException !== null) {\n        this.quantityMustBeNonnegativeException = args.quantityMustBeNonnegativeException;\n      }\n      if (args.quantityOfProductAndUnitDoesNotExistException !== undefined && args.quantityOfProductAndUnitDoesNotExistException !== null) {\n        this.quantityOfProductAndUnitDoesNotExistException = args.quantityOfProductAndUnitDoesNotExistException;\n      }\n      if (args.atMostOneQuantityIsAllowedForProductAndUnitException !== undefined && args.atMostOneQuantityIsAllowedForProductAndUnitException !== null) {\n        this.atMostOneQuantityIsAllowedForProductAndUnitException = args.atMostOneQuantityIsAllowedForProductAndUnitException;\n      }\n      if (args.productsHaveNoMappingAtPartnerLocationException !== undefined && args.productsHaveNoMappingAtPartnerLocationException !== null) {\n        this.productsHaveNoMappingAtPartnerLocationException = args.productsHaveNoMappingAtPartnerLocationException;\n      }\n      if (args.productNotAssociatedWithLocationException !== undefined && args.productNotAssociatedWithLocationException !== null) {\n        this.productNotAssociatedWithLocationException = args.productNotAssociatedWithLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToReportException = new inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException();\n          this.actorDoesNotHaveAccessToReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unitIncompatibleWithProductPackagingException = new product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException();\n          this.unitIncompatibleWithProductPackagingException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityMustBeNonnegativeException = new product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException();\n          this.quantityMustBeNonnegativeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityOfProductAndUnitDoesNotExistException = new product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException();\n          this.quantityOfProductAndUnitDoesNotExistException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.atMostOneQuantityIsAllowedForProductAndUnitException = new inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException();\n          this.atMostOneQuantityIsAllowedForProductAndUnitException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 11:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productsHaveNoMappingAtPartnerLocationException = new inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException();\n          this.productsHaveNoMappingAtPartnerLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 12:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productNotAssociatedWithLocationException = new product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException();\n          this.productNotAssociatedWithLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_updateTransferReportRequisitionStep_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToReportException !== null && this.actorDoesNotHaveAccessToReportException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToReportException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToReportException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 6);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unitIncompatibleWithProductPackagingException !== null && this.unitIncompatibleWithProductPackagingException !== undefined) {\n      output.writeFieldBegin('unitIncompatibleWithProductPackagingException', Thrift.Type.STRUCT, 7);\n      this.unitIncompatibleWithProductPackagingException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityMustBeNonnegativeException !== null && this.quantityMustBeNonnegativeException !== undefined) {\n      output.writeFieldBegin('quantityMustBeNonnegativeException', Thrift.Type.STRUCT, 8);\n      this.quantityMustBeNonnegativeException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityOfProductAndUnitDoesNotExistException !== null && this.quantityOfProductAndUnitDoesNotExistException !== undefined) {\n      output.writeFieldBegin('quantityOfProductAndUnitDoesNotExistException', Thrift.Type.STRUCT, 9);\n      this.quantityOfProductAndUnitDoesNotExistException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.atMostOneQuantityIsAllowedForProductAndUnitException !== null && this.atMostOneQuantityIsAllowedForProductAndUnitException !== undefined) {\n      output.writeFieldBegin('atMostOneQuantityIsAllowedForProductAndUnitException', Thrift.Type.STRUCT, 10);\n      this.atMostOneQuantityIsAllowedForProductAndUnitException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productsHaveNoMappingAtPartnerLocationException !== null && this.productsHaveNoMappingAtPartnerLocationException !== undefined) {\n      output.writeFieldBegin('productsHaveNoMappingAtPartnerLocationException', Thrift.Type.STRUCT, 11);\n      this.productsHaveNoMappingAtPartnerLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productNotAssociatedWithLocationException !== null && this.productNotAssociatedWithLocationException !== undefined) {\n      output.writeFieldBegin('productNotAssociatedWithLocationException', Thrift.Type.STRUCT, 12);\n      this.productNotAssociatedWithLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_updateCustomPartnerLocationName_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifier = null;\n    this.value = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifier !== undefined && args.reportIdentifier !== null) {\n        this.reportIdentifier = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier(args.reportIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifier is unset!');\n      }\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportIdentifier = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier();\n          this.reportIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_updateCustomPartnerLocationName_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifier !== null && this.reportIdentifier !== undefined) {\n      output.writeFieldBegin('reportIdentifier', Thrift.Type.STRUCT, 2);\n      this.reportIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 3);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_updateCustomPartnerLocationName_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.transferHasRetailerPartnerLocationException = null;\n    this.unknownActorException = null;\n    this.actorDoesNotHaveAccessToReportException = null;\n    this.unknownReportIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.TransferHasRetailerPartnerLocationException) {\n        this.transferHasRetailerPartnerLocationException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n        this.actorDoesNotHaveAccessToReportException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.transferHasRetailerPartnerLocationException !== undefined && args.transferHasRetailerPartnerLocationException !== null) {\n        this.transferHasRetailerPartnerLocationException = args.transferHasRetailerPartnerLocationException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.actorDoesNotHaveAccessToReportException !== undefined && args.actorDoesNotHaveAccessToReportException !== null) {\n        this.actorDoesNotHaveAccessToReportException = args.actorDoesNotHaveAccessToReportException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.transferHasRetailerPartnerLocationException = new inventory_transfer_report_Exceptions_ttypes.TransferHasRetailerPartnerLocationException();\n          this.transferHasRetailerPartnerLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToReportException = new inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException();\n          this.actorDoesNotHaveAccessToReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_updateCustomPartnerLocationName_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.transferHasRetailerPartnerLocationException !== null && this.transferHasRetailerPartnerLocationException !== undefined) {\n      output.writeFieldBegin('transferHasRetailerPartnerLocationException', Thrift.Type.STRUCT, 3);\n      this.transferHasRetailerPartnerLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 4);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToReportException !== null && this.actorDoesNotHaveAccessToReportException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToReportException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToReportException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_getTransferReportsWithoutCostsById_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifiers = null;\n    this.perspective = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifiers !== undefined && args.reportIdentifiers !== null) {\n        this.reportIdentifiers = Thrift.copyList(args.reportIdentifiers, [inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifiers is unset!');\n      }\n      if (args.perspective !== undefined && args.perspective !== null) {\n        this.perspective = new location_Model_ttypes.LocationIdentifier(args.perspective);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field perspective is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.reportIdentifiers = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier();\n            elem3.read(input);\n            this.reportIdentifiers.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.perspective = new location_Model_ttypes.LocationIdentifier();\n          this.perspective.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_getTransferReportsWithoutCostsById_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifiers !== null && this.reportIdentifiers !== undefined) {\n      output.writeFieldBegin('reportIdentifiers', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.reportIdentifiers.length);\n      for (let iter4 in this.reportIdentifiers) {\n        if (this.reportIdentifiers.hasOwnProperty(iter4)) {\n          iter4 = this.reportIdentifiers[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.perspective !== null && this.perspective !== undefined) {\n      output.writeFieldBegin('perspective', Thrift.Type.STRUCT, 3);\n      this.perspective.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_getTransferReportsWithoutCostsById_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToPerspectiveLocationException = null;\n    this.perspectiveLocationNotInvolvedInReportException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException) {\n        this.actorDoesNotHaveAccessToPerspectiveLocationException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationNotInvolvedInReportException) {\n        this.perspectiveLocationNotInvolvedInReportException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_transfer_report_Model_ttypes.InventoryTransferReportAndMetadataWithoutCost]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToPerspectiveLocationException !== undefined && args.actorDoesNotHaveAccessToPerspectiveLocationException !== null) {\n        this.actorDoesNotHaveAccessToPerspectiveLocationException = args.actorDoesNotHaveAccessToPerspectiveLocationException;\n      }\n      if (args.perspectiveLocationNotInvolvedInReportException !== undefined && args.perspectiveLocationNotInvolvedInReportException !== null) {\n        this.perspectiveLocationNotInvolvedInReportException = args.perspectiveLocationNotInvolvedInReportException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new inventory_transfer_report_Model_ttypes.InventoryTransferReportAndMetadataWithoutCost();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToPerspectiveLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException();\n          this.actorDoesNotHaveAccessToPerspectiveLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.perspectiveLocationNotInvolvedInReportException = new inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationNotInvolvedInReportException();\n          this.perspectiveLocationNotInvolvedInReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_getTransferReportsWithoutCostsById_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToPerspectiveLocationException !== null && this.actorDoesNotHaveAccessToPerspectiveLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToPerspectiveLocationException', Thrift.Type.STRUCT, 6);\n      this.actorDoesNotHaveAccessToPerspectiveLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.perspectiveLocationNotInvolvedInReportException !== null && this.perspectiveLocationNotInvolvedInReportException !== undefined) {\n      output.writeFieldBegin('perspectiveLocationNotInvolvedInReportException', Thrift.Type.STRUCT, 7);\n      this.perspectiveLocationNotInvolvedInReportException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_getTransferReportsByIds_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifiers = null;\n    this.perspective = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifiers !== undefined && args.reportIdentifiers !== null) {\n        this.reportIdentifiers = Thrift.copyList(args.reportIdentifiers, [inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifiers is unset!');\n      }\n      if (args.perspective !== undefined && args.perspective !== null) {\n        this.perspective = new location_Model_ttypes.LocationIdentifier(args.perspective);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field perspective is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.reportIdentifiers = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier();\n            elem13.read(input);\n            this.reportIdentifiers.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.perspective = new location_Model_ttypes.LocationIdentifier();\n          this.perspective.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_getTransferReportsByIds_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifiers !== null && this.reportIdentifiers !== undefined) {\n      output.writeFieldBegin('reportIdentifiers', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.reportIdentifiers.length);\n      for (let iter14 in this.reportIdentifiers) {\n        if (this.reportIdentifiers.hasOwnProperty(iter14)) {\n          iter14 = this.reportIdentifiers[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.perspective !== null && this.perspective !== undefined) {\n      output.writeFieldBegin('perspective', Thrift.Type.STRUCT, 3);\n      this.perspective.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_getTransferReportsByIds_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToPerspectiveLocationException = null;\n    this.perspectiveLocationNotInvolvedInReportException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException) {\n        this.actorDoesNotHaveAccessToPerspectiveLocationException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationNotInvolvedInReportException) {\n        this.perspectiveLocationNotInvolvedInReportException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_transfer_report_Model_ttypes.InventoryTransferReportAndMetadata]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToPerspectiveLocationException !== undefined && args.actorDoesNotHaveAccessToPerspectiveLocationException !== null) {\n        this.actorDoesNotHaveAccessToPerspectiveLocationException = args.actorDoesNotHaveAccessToPerspectiveLocationException;\n      }\n      if (args.perspectiveLocationNotInvolvedInReportException !== undefined && args.perspectiveLocationNotInvolvedInReportException !== null) {\n        this.perspectiveLocationNotInvolvedInReportException = args.perspectiveLocationNotInvolvedInReportException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new inventory_transfer_report_Model_ttypes.InventoryTransferReportAndMetadata();\n            elem18.read(input);\n            this.success.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToPerspectiveLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException();\n          this.actorDoesNotHaveAccessToPerspectiveLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.perspectiveLocationNotInvolvedInReportException = new inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationNotInvolvedInReportException();\n          this.perspectiveLocationNotInvolvedInReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_getTransferReportsByIds_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter19 in this.success) {\n        if (this.success.hasOwnProperty(iter19)) {\n          iter19 = this.success[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToPerspectiveLocationException !== null && this.actorDoesNotHaveAccessToPerspectiveLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToPerspectiveLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToPerspectiveLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.perspectiveLocationNotInvolvedInReportException !== null && this.perspectiveLocationNotInvolvedInReportException !== undefined) {\n      output.writeFieldBegin('perspectiveLocationNotInvolvedInReportException', Thrift.Type.STRUCT, 6);\n      this.perspectiveLocationNotInvolvedInReportException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_getReportsForLocationInPeriod_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    this.periodStartInclusive = null;\n    this.periodEndExclusive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n      if (args.periodStartInclusive !== undefined && args.periodStartInclusive !== null) {\n        this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodStartInclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodStartInclusive is unset!');\n      }\n      if (args.periodEndExclusive !== undefined && args.periodEndExclusive !== null) {\n        this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodEndExclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodEndExclusive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodStartInclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodEndExclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_getReportsForLocationInPeriod_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodStartInclusive !== null && this.periodStartInclusive !== undefined) {\n      output.writeFieldBegin('periodStartInclusive', Thrift.Type.STRUCT, 3);\n      this.periodStartInclusive.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodEndExclusive !== null && this.periodEndExclusive !== undefined) {\n      output.writeFieldBegin('periodEndExclusive', Thrift.Type.STRUCT, 4);\n      this.periodEndExclusive.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_getReportsForLocationInPeriod_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.LocationIdentifierIsRequiredException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    this.periodStartIsLaterThanEndException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException) {\n        this.LocationIdentifierIsRequiredException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.PeriodStartIsLaterThanEndException) {\n        this.periodStartIsLaterThanEndException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.LocationIdentifierIsRequiredException !== undefined && args.LocationIdentifierIsRequiredException !== null) {\n        this.LocationIdentifierIsRequiredException = args.LocationIdentifierIsRequiredException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n      if (args.periodStartIsLaterThanEndException !== undefined && args.periodStartIsLaterThanEndException !== null) {\n        this.periodStartIsLaterThanEndException = args.periodStartIsLaterThanEndException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp321 = input.readListBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier();\n            elem23.read(input);\n            this.success.push(elem23);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.LocationIdentifierIsRequiredException = new location_Exceptions_ttypes.LocationIdentifierIsRequiredException();\n          this.LocationIdentifierIsRequiredException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodStartIsLaterThanEndException = new inventory_transfer_report_Exceptions_ttypes.PeriodStartIsLaterThanEndException();\n          this.periodStartIsLaterThanEndException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_getReportsForLocationInPeriod_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter24 in this.success) {\n        if (this.success.hasOwnProperty(iter24)) {\n          iter24 = this.success[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.LocationIdentifierIsRequiredException !== null && this.LocationIdentifierIsRequiredException !== undefined) {\n      output.writeFieldBegin('LocationIdentifierIsRequiredException', Thrift.Type.STRUCT, 4);\n      this.LocationIdentifierIsRequiredException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 5);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 7);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodStartIsLaterThanEndException !== null && this.periodStartIsLaterThanEndException !== undefined) {\n      output.writeFieldBegin('periodStartIsLaterThanEndException', Thrift.Type.STRUCT, 8);\n      this.periodStartIsLaterThanEndException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_deleteReport_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifier = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifier !== undefined && args.reportIdentifier !== null) {\n        this.reportIdentifier = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier(args.reportIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportIdentifier = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier();\n          this.reportIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_deleteReport_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifier !== null && this.reportIdentifier !== undefined) {\n      output.writeFieldBegin('reportIdentifier', Thrift.Type.STRUCT, 2);\n      this.reportIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_deleteReport_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownReportIdentifierException = null;\n    this.actorDoesNotHaveAccessToReportException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n        this.unknownReportIdentifierException = args;\n        return;\n    }\n    if (args instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n        this.actorDoesNotHaveAccessToReportException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownReportIdentifierException !== undefined && args.unknownReportIdentifierException !== null) {\n        this.unknownReportIdentifierException = args.unknownReportIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToReportException !== undefined && args.actorDoesNotHaveAccessToReportException !== null) {\n        this.actorDoesNotHaveAccessToReportException = args.actorDoesNotHaveAccessToReportException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownReportIdentifierException = new inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException();\n          this.unknownReportIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToReportException = new inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException();\n          this.actorDoesNotHaveAccessToReportException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_deleteReport_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownReportIdentifierException !== null && this.unknownReportIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownReportIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownReportIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToReportException !== null && this.actorDoesNotHaveAccessToReportException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToReportException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToReportException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownActorException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownActorException) {\n        this.unknownActorException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [null]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownActorException !== undefined && args.unknownActorException !== null) {\n        this.unknownActorException = args.unknownActorException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp326 = input.readListBegin();\n          const _size25 = _rtmp326.size || 0;\n          for (let _i27 = 0; _i27 < _size25; ++_i27) {\n            let elem28 = null;\n            elem28 = input.readString();\n            this.success.push(elem28);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownActorException = new accounts_Exceptions_ttypes.UnknownActorException();\n          this.unknownActorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRING, this.success.length);\n      for (let iter29 in this.success) {\n        if (this.success.hasOwnProperty(iter29)) {\n          iter29 = this.success[iter29];\n          output.writeString(iter29);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownActorException !== null && this.unknownActorException !== undefined) {\n      output.writeFieldBegin('unknownActorException', Thrift.Type.STRUCT, 3);\n      this.unknownActorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportServiceClient = exports.Client = class InventoryTransferReportServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createTransferReport (actor, reportData) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createTransferReport(actor, reportData);\n    });\n  }\n\n  send_createTransferReport (actor, reportData) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportData: reportData\n    };\n    const args = new InventoryTransferReportService_createTransferReport_args(params);\n    try {\n      output.writeMessageBegin('createTransferReport', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createTransferReport (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_createTransferReport_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownPerspectiveLocationException) {\n      return callback(result.unknownPerspectiveLocationException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToPerspectiveLocationException) {\n      return callback(result.actorDoesNotHaveAccessToPerspectiveLocationException);\n    }\n    if (null !== result.perspectiveLocationCannotEqualPartnerLocationException) {\n      return callback(result.perspectiveLocationCannotEqualPartnerLocationException);\n    }\n    if (null !== result.unknownPartnerLocationException) {\n      return callback(result.unknownPartnerLocationException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToPartnerLocationException) {\n      return callback(result.actorDoesNotHaveAccessToPartnerLocationException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unitIncompatibleWithProductPackagingException) {\n      return callback(result.unitIncompatibleWithProductPackagingException);\n    }\n    if (null !== result.quantityMustBeNonnegativeException) {\n      return callback(result.quantityMustBeNonnegativeException);\n    }\n    if (null !== result.AtMostOneQuantityIsAllowedForProductAndUnitException) {\n      return callback(result.AtMostOneQuantityIsAllowedForProductAndUnitException);\n    }\n    if (null !== result.productsHaveNoMappingAtPartnerLocationException) {\n      return callback(result.productsHaveNoMappingAtPartnerLocationException);\n    }\n    if (null !== result.productNotAssociatedWithLocationException) {\n      return callback(result.productNotAssociatedWithLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createTransferReport failed: unknown result');\n  }\n\n  updateTransferReport (actor, reportIdentifier, update) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateTransferReport(actor, reportIdentifier, update);\n    });\n  }\n\n  send_updateTransferReport (actor, reportIdentifier, update) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifier: reportIdentifier,\n      update: update\n    };\n    const args = new InventoryTransferReportService_updateTransferReport_args(params);\n    try {\n      output.writeMessageBegin('updateTransferReport', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateTransferReport (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_updateTransferReport_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToReportException) {\n      return callback(result.actorDoesNotHaveAccessToReportException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unitIncompatibleWithProductPackagingException) {\n      return callback(result.unitIncompatibleWithProductPackagingException);\n    }\n    if (null !== result.quantityMustBeNonnegativeException) {\n      return callback(result.quantityMustBeNonnegativeException);\n    }\n    if (null !== result.quantityOfProductAndUnitDoesNotExistException) {\n      return callback(result.quantityOfProductAndUnitDoesNotExistException);\n    }\n    if (null !== result.atMostOneQuantityIsAllowedForProductAndUnitException) {\n      return callback(result.atMostOneQuantityIsAllowedForProductAndUnitException);\n    }\n    if (null !== result.productsHaveNoMappingAtPartnerLocationException) {\n      return callback(result.productsHaveNoMappingAtPartnerLocationException);\n    }\n    if (null !== result.productNotAssociatedWithLocationException) {\n      return callback(result.productNotAssociatedWithLocationException);\n    }\n    callback(null);\n  }\n\n  updateTransferReportRequisitionStep (request) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateTransferReportRequisitionStep(request);\n    });\n  }\n\n  send_updateTransferReportRequisitionStep (request) {\n    const output = new this.pClass(this.output);\n    const params = {\n      request: request\n    };\n    const args = new InventoryTransferReportService_updateTransferReportRequisitionStep_args(params);\n    try {\n      output.writeMessageBegin('updateTransferReportRequisitionStep', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateTransferReportRequisitionStep (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_updateTransferReportRequisitionStep_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToReportException) {\n      return callback(result.actorDoesNotHaveAccessToReportException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unitIncompatibleWithProductPackagingException) {\n      return callback(result.unitIncompatibleWithProductPackagingException);\n    }\n    if (null !== result.quantityMustBeNonnegativeException) {\n      return callback(result.quantityMustBeNonnegativeException);\n    }\n    if (null !== result.quantityOfProductAndUnitDoesNotExistException) {\n      return callback(result.quantityOfProductAndUnitDoesNotExistException);\n    }\n    if (null !== result.atMostOneQuantityIsAllowedForProductAndUnitException) {\n      return callback(result.atMostOneQuantityIsAllowedForProductAndUnitException);\n    }\n    if (null !== result.productsHaveNoMappingAtPartnerLocationException) {\n      return callback(result.productsHaveNoMappingAtPartnerLocationException);\n    }\n    if (null !== result.productNotAssociatedWithLocationException) {\n      return callback(result.productNotAssociatedWithLocationException);\n    }\n    callback(null);\n  }\n\n  updateCustomPartnerLocationName (actor, reportIdentifier, value) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateCustomPartnerLocationName(actor, reportIdentifier, value);\n    });\n  }\n\n  send_updateCustomPartnerLocationName (actor, reportIdentifier, value) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifier: reportIdentifier,\n      value: value\n    };\n    const args = new InventoryTransferReportService_updateCustomPartnerLocationName_args(params);\n    try {\n      output.writeMessageBegin('updateCustomPartnerLocationName', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateCustomPartnerLocationName (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_updateCustomPartnerLocationName_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.transferHasRetailerPartnerLocationException) {\n      return callback(result.transferHasRetailerPartnerLocationException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToReportException) {\n      return callback(result.actorDoesNotHaveAccessToReportException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    callback(null);\n  }\n\n  getTransferReportsWithoutCostsById (actor, reportIdentifiers, perspective) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getTransferReportsWithoutCostsById(actor, reportIdentifiers, perspective);\n    });\n  }\n\n  send_getTransferReportsWithoutCostsById (actor, reportIdentifiers, perspective) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifiers: reportIdentifiers,\n      perspective: perspective\n    };\n    const args = new InventoryTransferReportService_getTransferReportsWithoutCostsById_args(params);\n    try {\n      output.writeMessageBegin('getTransferReportsWithoutCostsById', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getTransferReportsWithoutCostsById (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_getTransferReportsWithoutCostsById_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToPerspectiveLocationException) {\n      return callback(result.actorDoesNotHaveAccessToPerspectiveLocationException);\n    }\n    if (null !== result.perspectiveLocationNotInvolvedInReportException) {\n      return callback(result.perspectiveLocationNotInvolvedInReportException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getTransferReportsWithoutCostsById failed: unknown result');\n  }\n\n  getTransferReportsByIds (actor, reportIdentifiers, perspective) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getTransferReportsByIds(actor, reportIdentifiers, perspective);\n    });\n  }\n\n  send_getTransferReportsByIds (actor, reportIdentifiers, perspective) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifiers: reportIdentifiers,\n      perspective: perspective\n    };\n    const args = new InventoryTransferReportService_getTransferReportsByIds_args(params);\n    try {\n      output.writeMessageBegin('getTransferReportsByIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getTransferReportsByIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_getTransferReportsByIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToPerspectiveLocationException) {\n      return callback(result.actorDoesNotHaveAccessToPerspectiveLocationException);\n    }\n    if (null !== result.perspectiveLocationNotInvolvedInReportException) {\n      return callback(result.perspectiveLocationNotInvolvedInReportException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getTransferReportsByIds failed: unknown result');\n  }\n\n  getReportsForLocationInPeriod (actor, locationIdentifier, periodStartInclusive, periodEndExclusive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getReportsForLocationInPeriod(actor, locationIdentifier, periodStartInclusive, periodEndExclusive);\n    });\n  }\n\n  send_getReportsForLocationInPeriod (actor, locationIdentifier, periodStartInclusive, periodEndExclusive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier,\n      periodStartInclusive: periodStartInclusive,\n      periodEndExclusive: periodEndExclusive\n    };\n    const args = new InventoryTransferReportService_getReportsForLocationInPeriod_args(params);\n    try {\n      output.writeMessageBegin('getReportsForLocationInPeriod', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getReportsForLocationInPeriod (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_getReportsForLocationInPeriod_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.LocationIdentifierIsRequiredException) {\n      return callback(result.LocationIdentifierIsRequiredException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.periodStartIsLaterThanEndException) {\n      return callback(result.periodStartIsLaterThanEndException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getReportsForLocationInPeriod failed: unknown result');\n  }\n\n  deleteReport (actor, reportIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteReport(actor, reportIdentifier);\n    });\n  }\n\n  send_deleteReport (actor, reportIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      reportIdentifier: reportIdentifier\n    };\n    const args = new InventoryTransferReportService_deleteReport_args(params);\n    try {\n      output.writeMessageBegin('deleteReport', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteReport (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_deleteReport_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownReportIdentifierException) {\n      return callback(result.unknownReportIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToReportException) {\n      return callback(result.actorDoesNotHaveAccessToReportException);\n    }\n    callback(null);\n  }\n\n  getCustomTransferPartnerLocationNamesForLocation (actor, locationIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getCustomTransferPartnerLocationNamesForLocation(actor, locationIdentifier);\n    });\n  }\n\n  send_getCustomTransferPartnerLocationNamesForLocation (actor, locationIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier\n    };\n    const args = new InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_args(params);\n    try {\n      output.writeMessageBegin('getCustomTransferPartnerLocationNamesForLocation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getCustomTransferPartnerLocationNamesForLocation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownActorException) {\n      return callback(result.unknownActorException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getCustomTransferPartnerLocationNamesForLocation failed: unknown result');\n  }\n};\nconst InventoryTransferReportServiceProcessor = exports.Processor = class InventoryTransferReportServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createTransferReport (seqid, input, output) {\n    const args = new InventoryTransferReportService_createTransferReport_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createTransferReport.length === 2) {\n      Promise.resolve(this._handler.createTransferReport.bind(this._handler)(\n        args.actor,\n        args.reportData\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_createTransferReport_result({success: result});\n        output.writeMessageBegin(\"createTransferReport\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownPerspectiveLocationException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationCannotEqualPartnerLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownPartnerLocationException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPartnerLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result = new InventoryTransferReportService_createTransferReport_result(err);\n          output.writeMessageBegin(\"createTransferReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createTransferReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createTransferReport(args.actor, args.reportData, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownPerspectiveLocationException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationCannotEqualPartnerLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownPartnerLocationException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPartnerLocationException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result_obj = new InventoryTransferReportService_createTransferReport_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createTransferReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createTransferReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateTransferReport (seqid, input, output) {\n    const args = new InventoryTransferReportService_updateTransferReport_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateTransferReport.length === 3) {\n      Promise.resolve(this._handler.updateTransferReport.bind(this._handler)(\n        args.actor,\n        args.reportIdentifier,\n        args.update\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_updateTransferReport_result({success: result});\n        output.writeMessageBegin(\"updateTransferReport\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result = new InventoryTransferReportService_updateTransferReport_result(err);\n          output.writeMessageBegin(\"updateTransferReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateTransferReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateTransferReport(args.actor, args.reportIdentifier, args.update, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result_obj = new InventoryTransferReportService_updateTransferReport_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateTransferReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateTransferReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateTransferReportRequisitionStep (seqid, input, output) {\n    const args = new InventoryTransferReportService_updateTransferReportRequisitionStep_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateTransferReportRequisitionStep.length === 1) {\n      Promise.resolve(this._handler.updateTransferReportRequisitionStep.bind(this._handler)(\n        args.request\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_updateTransferReportRequisitionStep_result({success: result});\n        output.writeMessageBegin(\"updateTransferReportRequisitionStep\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result = new InventoryTransferReportService_updateTransferReportRequisitionStep_result(err);\n          output.writeMessageBegin(\"updateTransferReportRequisitionStep\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateTransferReportRequisitionStep\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateTransferReportRequisitionStep(args.request, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_amount_Exceptions_ttypes.UnitIncompatibleWithProductPackagingException || err instanceof product_amount_Exceptions_ttypes.QuantityMustBeNonnegativeException || err instanceof product_amount_Exceptions_ttypes.QuantityOfProductAndUnitDoesNotExistException || err instanceof inventory_transfer_report_Exceptions_ttypes.AtMostOneQuantityIsAllowedForProductAndUnitException || err instanceof inventory_transfer_report_Exceptions_ttypes.ProductsHaveNoMappingAtPartnerLocationException || err instanceof product_amount_Exceptions_ttypes.ProductNotAssociatedWithLocationException) {\n          result_obj = new InventoryTransferReportService_updateTransferReportRequisitionStep_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateTransferReportRequisitionStep\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateTransferReportRequisitionStep\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateCustomPartnerLocationName (seqid, input, output) {\n    const args = new InventoryTransferReportService_updateCustomPartnerLocationName_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateCustomPartnerLocationName.length === 3) {\n      Promise.resolve(this._handler.updateCustomPartnerLocationName.bind(this._handler)(\n        args.actor,\n        args.reportIdentifier,\n        args.value\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_updateCustomPartnerLocationName_result({success: result});\n        output.writeMessageBegin(\"updateCustomPartnerLocationName\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof inventory_transfer_report_Exceptions_ttypes.TransferHasRetailerPartnerLocationException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n          result = new InventoryTransferReportService_updateCustomPartnerLocationName_result(err);\n          output.writeMessageBegin(\"updateCustomPartnerLocationName\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateCustomPartnerLocationName\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateCustomPartnerLocationName(args.actor, args.reportIdentifier, args.value, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof inventory_transfer_report_Exceptions_ttypes.TransferHasRetailerPartnerLocationException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException) {\n          result_obj = new InventoryTransferReportService_updateCustomPartnerLocationName_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateCustomPartnerLocationName\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateCustomPartnerLocationName\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getTransferReportsWithoutCostsById (seqid, input, output) {\n    const args = new InventoryTransferReportService_getTransferReportsWithoutCostsById_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getTransferReportsWithoutCostsById.length === 3) {\n      Promise.resolve(this._handler.getTransferReportsWithoutCostsById.bind(this._handler)(\n        args.actor,\n        args.reportIdentifiers,\n        args.perspective\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_getTransferReportsWithoutCostsById_result({success: result});\n        output.writeMessageBegin(\"getTransferReportsWithoutCostsById\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationNotInvolvedInReportException) {\n          result = new InventoryTransferReportService_getTransferReportsWithoutCostsById_result(err);\n          output.writeMessageBegin(\"getTransferReportsWithoutCostsById\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getTransferReportsWithoutCostsById\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getTransferReportsWithoutCostsById(args.actor, args.reportIdentifiers, args.perspective, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationNotInvolvedInReportException) {\n          result_obj = new InventoryTransferReportService_getTransferReportsWithoutCostsById_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getTransferReportsWithoutCostsById\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getTransferReportsWithoutCostsById\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getTransferReportsByIds (seqid, input, output) {\n    const args = new InventoryTransferReportService_getTransferReportsByIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getTransferReportsByIds.length === 3) {\n      Promise.resolve(this._handler.getTransferReportsByIds.bind(this._handler)(\n        args.actor,\n        args.reportIdentifiers,\n        args.perspective\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_getTransferReportsByIds_result({success: result});\n        output.writeMessageBegin(\"getTransferReportsByIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationNotInvolvedInReportException) {\n          result = new InventoryTransferReportService_getTransferReportsByIds_result(err);\n          output.writeMessageBegin(\"getTransferReportsByIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getTransferReportsByIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getTransferReportsByIds(args.actor, args.reportIdentifiers, args.perspective, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToPerspectiveLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PerspectiveLocationNotInvolvedInReportException) {\n          result_obj = new InventoryTransferReportService_getTransferReportsByIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getTransferReportsByIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getTransferReportsByIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getReportsForLocationInPeriod (seqid, input, output) {\n    const args = new InventoryTransferReportService_getReportsForLocationInPeriod_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getReportsForLocationInPeriod.length === 4) {\n      Promise.resolve(this._handler.getReportsForLocationInPeriod.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier,\n        args.periodStartInclusive,\n        args.periodEndExclusive\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_getReportsForLocationInPeriod_result({success: result});\n        output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PeriodStartIsLaterThanEndException) {\n          result = new InventoryTransferReportService_getReportsForLocationInPeriod_result(err);\n          output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getReportsForLocationInPeriod(args.actor, args.locationIdentifier, args.periodStartInclusive, args.periodEndExclusive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof location_Exceptions_ttypes.LocationIdentifierIsRequiredException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof inventory_transfer_report_Exceptions_ttypes.PeriodStartIsLaterThanEndException) {\n          result_obj = new InventoryTransferReportService_getReportsForLocationInPeriod_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getReportsForLocationInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteReport (seqid, input, output) {\n    const args = new InventoryTransferReportService_deleteReport_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteReport.length === 2) {\n      Promise.resolve(this._handler.deleteReport.bind(this._handler)(\n        args.actor,\n        args.reportIdentifier\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_deleteReport_result({success: result});\n        output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n          result = new InventoryTransferReportService_deleteReport_result(err);\n          output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteReport(args.actor, args.reportIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof inventory_transfer_report_Exceptions_ttypes.UnknownReportIdentifierException || err instanceof inventory_transfer_report_Exceptions_ttypes.ActorDoesNotHaveAccessToReportException) {\n          result_obj = new InventoryTransferReportService_deleteReport_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getCustomTransferPartnerLocationNamesForLocation (seqid, input, output) {\n    const args = new InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getCustomTransferPartnerLocationNamesForLocation.length === 2) {\n      Promise.resolve(this._handler.getCustomTransferPartnerLocationNamesForLocation.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier\n      )).then(result => {\n        const result_obj = new InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_result({success: result});\n        output.writeMessageBegin(\"getCustomTransferPartnerLocationNamesForLocation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result = new InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_result(err);\n          output.writeMessageBegin(\"getCustomTransferPartnerLocationNamesForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCustomTransferPartnerLocationNamesForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getCustomTransferPartnerLocationNamesForLocation(args.actor, args.locationIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownActorException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result_obj = new InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getCustomTransferPartnerLocationNamesForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCustomTransferPartnerLocationNamesForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst group_Model_ttypes = require('./group_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst merge_accounting_Exceptions_ttypes = require('./merge_accounting_Exceptions_types');\nconst merge_accounting_Model_ttypes = require('./merge_accounting_Model_types');\n\n\nconst ttypes = require('./merge_accounting_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst MergeAccountingIntegrationService_createLinkToken_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupId !== undefined && args.groupId !== null) {\n        this.groupId = new group_Model_ttypes.GroupId(args.groupId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupId = new group_Model_ttypes.GroupId();\n          this.groupId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createLinkToken_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupId !== null && this.groupId !== undefined) {\n      output.writeFieldBegin('groupId', Thrift.Type.STRUCT, 2);\n      this.groupId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createLinkToken_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownCredentialsException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n        this.unknownCredentialsException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new merge_accounting_Model_ttypes.MergeLinkTokenResponse(args.success);\n      }\n      if (args.unknownCredentialsException !== undefined && args.unknownCredentialsException !== null) {\n        this.unknownCredentialsException = args.unknownCredentialsException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new merge_accounting_Model_ttypes.MergeLinkTokenResponse();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownCredentialsException = new accounts_Exceptions_ttypes.UnknownCredentialsException();\n          this.unknownCredentialsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createLinkToken_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownCredentialsException !== null && this.unknownCredentialsException !== undefined) {\n      output.writeFieldBegin('unknownCredentialsException', Thrift.Type.STRUCT, 1);\n      this.unknownCredentialsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 3);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 4);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createRelinkToken_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createRelinkToken_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createRelinkToken_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownCredentialsException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownGroupIdException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n        this.unknownCredentialsException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new merge_accounting_Model_ttypes.MergeLinkTokenResponse(args.success);\n      }\n      if (args.unknownCredentialsException !== undefined && args.unknownCredentialsException !== null) {\n        this.unknownCredentialsException = args.unknownCredentialsException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new merge_accounting_Model_ttypes.MergeLinkTokenResponse();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownCredentialsException = new accounts_Exceptions_ttypes.UnknownCredentialsException();\n          this.unknownCredentialsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createRelinkToken_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownCredentialsException !== null && this.unknownCredentialsException !== undefined) {\n      output.writeFieldBegin('unknownCredentialsException', Thrift.Type.STRUCT, 1);\n      this.unknownCredentialsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 2);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 4);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createConnection_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.publicToken = null;\n    this.endUserOriginId = null;\n    this.groupId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.publicToken !== undefined && args.publicToken !== null) {\n        this.publicToken = args.publicToken;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicToken is unset!');\n      }\n      if (args.endUserOriginId !== undefined && args.endUserOriginId !== null) {\n        this.endUserOriginId = args.endUserOriginId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field endUserOriginId is unset!');\n      }\n      if (args.groupId !== undefined && args.groupId !== null) {\n        this.groupId = new group_Model_ttypes.GroupId(args.groupId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.publicToken = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.endUserOriginId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupId = new group_Model_ttypes.GroupId();\n          this.groupId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createConnection_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.publicToken !== null && this.publicToken !== undefined) {\n      output.writeFieldBegin('publicToken', Thrift.Type.STRING, 2);\n      output.writeString(this.publicToken);\n      output.writeFieldEnd();\n    }\n    if (this.endUserOriginId !== null && this.endUserOriginId !== undefined) {\n      output.writeFieldBegin('endUserOriginId', Thrift.Type.STRING, 3);\n      output.writeString(this.endUserOriginId);\n      output.writeFieldEnd();\n    }\n    if (this.groupId !== null && this.groupId !== undefined) {\n      output.writeFieldBegin('groupId', Thrift.Type.STRUCT, 4);\n      this.groupId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createConnection_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownCredentialsException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownGroupIdException = null;\n    this.duplicateMergeLinkedAccountIdException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n        this.unknownCredentialsException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.DuplicateMergeLinkedAccountIdException) {\n        this.duplicateMergeLinkedAccountIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.success);\n      }\n      if (args.unknownCredentialsException !== undefined && args.unknownCredentialsException !== null) {\n        this.unknownCredentialsException = args.unknownCredentialsException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.duplicateMergeLinkedAccountIdException !== undefined && args.duplicateMergeLinkedAccountIdException !== null) {\n        this.duplicateMergeLinkedAccountIdException = args.duplicateMergeLinkedAccountIdException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownCredentialsException = new accounts_Exceptions_ttypes.UnknownCredentialsException();\n          this.unknownCredentialsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateMergeLinkedAccountIdException = new merge_accounting_Exceptions_ttypes.DuplicateMergeLinkedAccountIdException();\n          this.duplicateMergeLinkedAccountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createConnection_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownCredentialsException !== null && this.unknownCredentialsException !== undefined) {\n      output.writeFieldBegin('unknownCredentialsException', Thrift.Type.STRUCT, 1);\n      this.unknownCredentialsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 3);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateMergeLinkedAccountIdException !== null && this.duplicateMergeLinkedAccountIdException !== undefined) {\n      output.writeFieldBegin('duplicateMergeLinkedAccountIdException', Thrift.Type.STRUCT, 4);\n      this.duplicateMergeLinkedAccountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveCompanyInfo_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveCompanyInfo_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveCompanyInfo_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.mergeAccountingCompanyInfoNotAvailableException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.MergeAccountingCompanyInfoNotAvailableException) {\n        this.mergeAccountingCompanyInfoNotAvailableException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new merge_accounting_Model_ttypes.MergeCompanyInfo(args.success);\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.mergeAccountingCompanyInfoNotAvailableException !== undefined && args.mergeAccountingCompanyInfoNotAvailableException !== null) {\n        this.mergeAccountingCompanyInfoNotAvailableException = args.mergeAccountingCompanyInfoNotAvailableException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new merge_accounting_Model_ttypes.MergeCompanyInfo();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.mergeAccountingCompanyInfoNotAvailableException = new merge_accounting_Exceptions_ttypes.MergeAccountingCompanyInfoNotAvailableException();\n          this.mergeAccountingCompanyInfoNotAvailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveCompanyInfo_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 2);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 3);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 4);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mergeAccountingCompanyInfoNotAvailableException !== null && this.mergeAccountingCompanyInfoNotAvailableException !== undefined) {\n      output.writeFieldBegin('mergeAccountingCompanyInfoNotAvailableException', Thrift.Type.STRUCT, 5);\n      this.mergeAccountingCompanyInfoNotAvailableException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveExpenseAccounts_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveExpenseAccounts_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveExpenseAccounts_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [merge_accounting_Model_ttypes.MergeExpenseAccount]);\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new merge_accounting_Model_ttypes.MergeExpenseAccount();\n            elem3.read(input);\n            this.success.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveExpenseAccounts_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter4 in this.success) {\n        if (this.success.hasOwnProperty(iter4)) {\n          iter4 = this.success[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 2);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 3);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 4);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveSupplierContacts_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveSupplierContacts_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveSupplierContacts_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [merge_accounting_Model_ttypes.MergeContact]);\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new merge_accounting_Model_ttypes.MergeContact();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveSupplierContacts_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 2);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 3);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 4);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveTaxRates_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveTaxRates_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveTaxRates_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [merge_accounting_Model_ttypes.MergeTaxRate]);\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new merge_accounting_Model_ttypes.MergeTaxRate();\n            elem13.read(input);\n            this.success.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveTaxRates_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter14 in this.success) {\n        if (this.success.hasOwnProperty(iter14)) {\n          iter14 = this.success[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 2);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 3);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 4);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createGroupSettings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    this.accountingType = null;\n    this.syncSchedule = null;\n    this.taxSettings = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n      if (args.accountingType !== undefined && args.accountingType !== null) {\n        this.accountingType = args.accountingType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field accountingType is unset!');\n      }\n      if (args.syncSchedule !== undefined && args.syncSchedule !== null) {\n        this.syncSchedule = args.syncSchedule;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field syncSchedule is unset!');\n      }\n      if (args.taxSettings !== undefined && args.taxSettings !== null) {\n        this.taxSettings = new merge_accounting_Model_ttypes.MergeAccountingTaxSettings(args.taxSettings);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field taxSettings is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.accountingType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.I32) {\n          this.syncSchedule = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.taxSettings = new merge_accounting_Model_ttypes.MergeAccountingTaxSettings();\n          this.taxSettings.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createGroupSettings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountingType !== null && this.accountingType !== undefined) {\n      output.writeFieldBegin('accountingType', Thrift.Type.I32, 3);\n      output.writeI32(this.accountingType);\n      output.writeFieldEnd();\n    }\n    if (this.syncSchedule !== null && this.syncSchedule !== undefined) {\n      output.writeFieldBegin('syncSchedule', Thrift.Type.I32, 4);\n      output.writeI32(this.syncSchedule);\n      output.writeFieldEnd();\n    }\n    if (this.taxSettings !== null && this.taxSettings !== undefined) {\n      output.writeFieldBegin('taxSettings', Thrift.Type.STRUCT, 5);\n      this.taxSettings.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createGroupSettings_result = class {\n  constructor(args) {\n    this.unknownCredentialsException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n        this.unknownCredentialsException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.unknownCredentialsException !== undefined && args.unknownCredentialsException !== null) {\n        this.unknownCredentialsException = args.unknownCredentialsException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownCredentialsException = new accounts_Exceptions_ttypes.UnknownCredentialsException();\n          this.unknownCredentialsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createGroupSettings_result');\n    if (this.unknownCredentialsException !== null && this.unknownCredentialsException !== undefined) {\n      output.writeFieldBegin('unknownCredentialsException', Thrift.Type.STRUCT, 1);\n      this.unknownCredentialsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 3);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 5);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_updateGroupSettings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    this.syncSchedule = null;\n    this.taxSettings = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n      if (args.syncSchedule !== undefined && args.syncSchedule !== null) {\n        this.syncSchedule = args.syncSchedule;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field syncSchedule is unset!');\n      }\n      if (args.taxSettings !== undefined && args.taxSettings !== null) {\n        this.taxSettings = new merge_accounting_Model_ttypes.MergeAccountingTaxSettings(args.taxSettings);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field taxSettings is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.syncSchedule = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.taxSettings = new merge_accounting_Model_ttypes.MergeAccountingTaxSettings();\n          this.taxSettings.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_updateGroupSettings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.syncSchedule !== null && this.syncSchedule !== undefined) {\n      output.writeFieldBegin('syncSchedule', Thrift.Type.I32, 3);\n      output.writeI32(this.syncSchedule);\n      output.writeFieldEnd();\n    }\n    if (this.taxSettings !== null && this.taxSettings !== undefined) {\n      output.writeFieldBegin('taxSettings', Thrift.Type.STRUCT, 4);\n      this.taxSettings.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_updateGroupSettings_result = class {\n  constructor(args) {\n    this.unknownCredentialsException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.unknownMergeAccountingGroupAssociationSettingsException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n        this.unknownCredentialsException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationSettingsException) {\n        this.unknownMergeAccountingGroupAssociationSettingsException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.unknownCredentialsException !== undefined && args.unknownCredentialsException !== null) {\n        this.unknownCredentialsException = args.unknownCredentialsException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationSettingsException !== undefined && args.unknownMergeAccountingGroupAssociationSettingsException !== null) {\n        this.unknownMergeAccountingGroupAssociationSettingsException = args.unknownMergeAccountingGroupAssociationSettingsException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownCredentialsException = new accounts_Exceptions_ttypes.UnknownCredentialsException();\n          this.unknownCredentialsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationSettingsException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationSettingsException();\n          this.unknownMergeAccountingGroupAssociationSettingsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_updateGroupSettings_result');\n    if (this.unknownCredentialsException !== null && this.unknownCredentialsException !== undefined) {\n      output.writeFieldBegin('unknownCredentialsException', Thrift.Type.STRUCT, 1);\n      this.unknownCredentialsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 3);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationSettingsException !== null && this.unknownMergeAccountingGroupAssociationSettingsException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationSettingsException', Thrift.Type.STRUCT, 4);\n      this.unknownMergeAccountingGroupAssociationSettingsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 6);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getGroupSettings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getGroupSettings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getGroupSettings_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownMergeAccountingGroupAssociationSettingsException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationSettingsException) {\n        this.unknownMergeAccountingGroupAssociationSettingsException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationSettings(args.success);\n      }\n      if (args.unknownMergeAccountingGroupAssociationSettingsException !== undefined && args.unknownMergeAccountingGroupAssociationSettingsException !== null) {\n        this.unknownMergeAccountingGroupAssociationSettingsException = args.unknownMergeAccountingGroupAssociationSettingsException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationSettings();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationSettingsException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationSettingsException();\n          this.unknownMergeAccountingGroupAssociationSettingsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getGroupSettings_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationSettingsException !== null && this.unknownMergeAccountingGroupAssociationSettingsException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationSettingsException', Thrift.Type.STRUCT, 1);\n      this.unknownMergeAccountingGroupAssociationSettingsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 3);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 4);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 5);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveLinkedAccountStatus_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.associationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.associationId !== undefined && args.associationId !== null) {\n        this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.associationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field associationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.associationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.associationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveLinkedAccountStatus_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.associationId !== null && this.associationId !== undefined) {\n      output.writeFieldBegin('associationId', Thrift.Type.STRUCT, 2);\n      this.associationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_retrieveLinkedAccountStatus_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = args.success;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.I32) {\n          this.success = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_retrieveLinkedAccountStatus_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.I32, 0);\n      output.writeI32(this.success);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 2);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 3);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 4);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupAssociationId = null;\n    this.locationSettingsMap = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n      if (args.locationSettingsMap !== undefined && args.locationSettingsMap !== null) {\n        this.locationSettingsMap = Thrift.copyMap(args.locationSettingsMap, [merge_accounting_Model_ttypes.MergeAccountingRetailerAssociationSettings]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationSettingsMap is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.MAP) {\n          this.locationSettingsMap = {};\n          const _rtmp316 = input.readMapBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let key18 = null;\n            let val19 = null;\n            key18 = input.readString();\n            val19 = new merge_accounting_Model_ttypes.MergeAccountingRetailerAssociationSettings();\n            val19.read(input);\n            this.locationSettingsMap[key18] = val19;\n          }\n          input.readMapEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 2);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationSettingsMap !== null && this.locationSettingsMap !== undefined) {\n      output.writeFieldBegin('locationSettingsMap', Thrift.Type.MAP, 3);\n      output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.STRUCT, Thrift.objectLength(this.locationSettingsMap));\n      for (let kiter20 in this.locationSettingsMap) {\n        if (this.locationSettingsMap.hasOwnProperty(kiter20)) {\n          let viter21 = this.locationSettingsMap[kiter20];\n          output.writeString(kiter20);\n          viter21.write(output);\n        }\n      }\n      output.writeMapEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.unknownLocationIdentifierException = null;\n    this.unknownGroupIdException = null;\n    this.duplicateMergeAccountingRetailerAssociationException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.DuplicateMergeAccountingRetailerAssociationException) {\n        this.duplicateMergeAccountingRetailerAssociationException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [merge_accounting_Model_ttypes.MergeAccountingRetailerAssociationId]);\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.duplicateMergeAccountingRetailerAssociationException !== undefined && args.duplicateMergeAccountingRetailerAssociationException !== null) {\n        this.duplicateMergeAccountingRetailerAssociationException = args.duplicateMergeAccountingRetailerAssociationException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.SET) {\n          this.success = [];\n          const _rtmp323 = input.readSetBegin();\n          const _size22 = _rtmp323.size || 0;\n          for (let _i24 = 0; _i24 < _size22; ++_i24) {\n            let elem25 = null;\n            elem25 = new merge_accounting_Model_ttypes.MergeAccountingRetailerAssociationId();\n            elem25.read(input);\n            this.success.push(elem25);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateMergeAccountingRetailerAssociationException = new merge_accounting_Exceptions_ttypes.DuplicateMergeAccountingRetailerAssociationException();\n          this.duplicateMergeAccountingRetailerAssociationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.SET, 0);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter26 in this.success) {\n        if (this.success.hasOwnProperty(iter26)) {\n          iter26 = this.success[iter26];\n          iter26.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 2);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 4);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateMergeAccountingRetailerAssociationException !== null && this.duplicateMergeAccountingRetailerAssociationException !== undefined) {\n      output.writeFieldBegin('duplicateMergeAccountingRetailerAssociationException', Thrift.Type.STRUCT, 5);\n      this.duplicateMergeAccountingRetailerAssociationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 6);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_updateRetailerAssociationsSettings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupAssociationId = null;\n    this.retailerIsPausedMap = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n      if (args.retailerIsPausedMap !== undefined && args.retailerIsPausedMap !== null) {\n        this.retailerIsPausedMap = Thrift.copyMap(args.retailerIsPausedMap, [null]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field retailerIsPausedMap is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.MAP) {\n          this.retailerIsPausedMap = {};\n          const _rtmp328 = input.readMapBegin();\n          const _size27 = _rtmp328.size || 0;\n          for (let _i29 = 0; _i29 < _size27; ++_i29) {\n            let key30 = null;\n            let val31 = null;\n            key30 = input.readString();\n            val31 = input.readBool();\n            this.retailerIsPausedMap[key30] = val31;\n          }\n          input.readMapEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_updateRetailerAssociationsSettings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 2);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.retailerIsPausedMap !== null && this.retailerIsPausedMap !== undefined) {\n      output.writeFieldBegin('retailerIsPausedMap', Thrift.Type.MAP, 3);\n      output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.BOOL, Thrift.objectLength(this.retailerIsPausedMap));\n      for (let kiter32 in this.retailerIsPausedMap) {\n        if (this.retailerIsPausedMap.hasOwnProperty(kiter32)) {\n          let viter33 = this.retailerIsPausedMap[kiter32];\n          output.writeString(kiter32);\n          output.writeBool(viter33);\n        }\n      }\n      output.writeMapEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_updateRetailerAssociationsSettings_result = class {\n  constructor(args) {\n    this.unknownSessionIdentifierException = null;\n    this.unknownMergeAccountingRetailerAssociationIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingRetailerAssociationIdException) {\n        this.unknownMergeAccountingRetailerAssociationIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownMergeAccountingRetailerAssociationIdException !== undefined && args.unknownMergeAccountingRetailerAssociationIdException !== null) {\n        this.unknownMergeAccountingRetailerAssociationIdException = args.unknownMergeAccountingRetailerAssociationIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingRetailerAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingRetailerAssociationIdException();\n          this.unknownMergeAccountingRetailerAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_updateRetailerAssociationsSettings_result');\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingRetailerAssociationIdException !== null && this.unknownMergeAccountingRetailerAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingRetailerAssociationIdException', Thrift.Type.STRUCT, 2);\n      this.unknownMergeAccountingRetailerAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 3);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 5);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_removeRetailerAssociation_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupAssociationId = null;\n    this.retailerAssociationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n      if (args.retailerAssociationId !== undefined && args.retailerAssociationId !== null) {\n        this.retailerAssociationId = new merge_accounting_Model_ttypes.MergeAccountingRetailerAssociationId(args.retailerAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field retailerAssociationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.retailerAssociationId = new merge_accounting_Model_ttypes.MergeAccountingRetailerAssociationId();\n          this.retailerAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_removeRetailerAssociation_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 2);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.retailerAssociationId !== null && this.retailerAssociationId !== undefined) {\n      output.writeFieldBegin('retailerAssociationId', Thrift.Type.STRUCT, 3);\n      this.retailerAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_removeRetailerAssociation_result = class {\n  constructor(args) {\n    this.unknownSessionIdentifierException = null;\n    this.unknownMergeAccountingRetailerAssociationIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingRetailerAssociationIdException) {\n        this.unknownMergeAccountingRetailerAssociationIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownMergeAccountingRetailerAssociationIdException !== undefined && args.unknownMergeAccountingRetailerAssociationIdException !== null) {\n        this.unknownMergeAccountingRetailerAssociationIdException = args.unknownMergeAccountingRetailerAssociationIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingRetailerAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingRetailerAssociationIdException();\n          this.unknownMergeAccountingRetailerAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_removeRetailerAssociation_result');\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingRetailerAssociationIdException !== null && this.unknownMergeAccountingRetailerAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingRetailerAssociationIdException', Thrift.Type.STRUCT, 2);\n      this.unknownMergeAccountingRetailerAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 3);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 5);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_removeGroupAssociation_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupAssociationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_removeGroupAssociation_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 2);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_removeGroupAssociation_result = class {\n  constructor(args) {\n    this.unknownSessionIdentifierException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_removeGroupAssociation_result');\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 2);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 3);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 4);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupAssociationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 2);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyMap(args.success, [merge_accounting_Model_ttypes.MergeAccountingRetailerAssociation]);\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.MAP) {\n          this.success = {};\n          const _rtmp335 = input.readMapBegin();\n          const _size34 = _rtmp335.size || 0;\n          for (let _i36 = 0; _i36 < _size34; ++_i36) {\n            let key37 = null;\n            let val38 = null;\n            key37 = input.readString();\n            val38 = new merge_accounting_Model_ttypes.MergeAccountingRetailerAssociation();\n            val38.read(input);\n            this.success[key37] = val38;\n          }\n          input.readMapEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.MAP, 0);\n      output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.STRUCT, Thrift.objectLength(this.success));\n      for (let kiter39 in this.success) {\n        if (this.success.hasOwnProperty(kiter39)) {\n          let viter40 = this.success[kiter39];\n          output.writeString(kiter39);\n          viter40.write(output);\n        }\n      }\n      output.writeMapEnd();\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 1);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 3);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 4);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getGroupAssocsForGroup_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupId !== undefined && args.groupId !== null) {\n        this.groupId = new group_Model_ttypes.GroupId(args.groupId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupId = new group_Model_ttypes.GroupId();\n          this.groupId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getGroupAssocsForGroup_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupId !== null && this.groupId !== undefined) {\n      output.writeFieldBegin('groupId', Thrift.Type.STRUCT, 2);\n      this.groupId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getGroupAssocsForGroup_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownGroupIdException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyMap(args.success, [merge_accounting_Model_ttypes.MergeAccountingGroupAssociation]);\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.MAP) {\n          this.success = {};\n          const _rtmp342 = input.readMapBegin();\n          const _size41 = _rtmp342.size || 0;\n          for (let _i43 = 0; _i43 < _size41; ++_i43) {\n            let key44 = null;\n            let val45 = null;\n            key44 = input.readString();\n            val45 = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociation();\n            val45.read(input);\n            this.success[key44] = val45;\n          }\n          input.readMapEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getGroupAssocsForGroup_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.MAP, 0);\n      output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.STRUCT, Thrift.objectLength(this.success));\n      for (let kiter46 in this.success) {\n        if (this.success.hasOwnProperty(kiter46)) {\n          let viter47 = this.success[kiter46];\n          output.writeString(kiter46);\n          viter47.write(output);\n        }\n      }\n      output.writeMapEnd();\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 1);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 3);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_queueManualAccountingSync_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupId !== undefined && args.groupId !== null) {\n        this.groupId = new group_Model_ttypes.GroupId(args.groupId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupId = new group_Model_ttypes.GroupId();\n          this.groupId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_queueManualAccountingSync_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupId !== null && this.groupId !== undefined) {\n      output.writeFieldBegin('groupId', Thrift.Type.STRUCT, 2);\n      this.groupId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_queueManualAccountingSync_result = class {\n  constructor(args) {\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    this.noActiveAccountingIntegrationException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.NoActiveAccountingIntegrationException) {\n        this.noActiveAccountingIntegrationException = args;\n        return;\n    }\n    if (args) {\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.noActiveAccountingIntegrationException !== undefined && args.noActiveAccountingIntegrationException !== null) {\n        this.noActiveAccountingIntegrationException = args.noActiveAccountingIntegrationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.noActiveAccountingIntegrationException = new merge_accounting_Exceptions_ttypes.NoActiveAccountingIntegrationException();\n          this.noActiveAccountingIntegrationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_queueManualAccountingSync_result');\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 2);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 3);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.noActiveAccountingIntegrationException !== null && this.noActiveAccountingIntegrationException !== undefined) {\n      output.writeFieldBegin('noActiveAccountingIntegrationException', Thrift.Type.STRUCT, 4);\n      this.noActiveAccountingIntegrationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_queueOrderAccountingResync_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupAssociationId = null;\n    this.orderId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n      if (args.orderId !== undefined && args.orderId !== null) {\n        this.orderId = args.orderId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field orderId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.orderId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_queueOrderAccountingResync_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 2);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.orderId !== null && this.orderId !== undefined) {\n      output.writeFieldBegin('orderId', Thrift.Type.STRING, 3);\n      output.writeString(this.orderId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_queueOrderAccountingResync_result = class {\n  constructor(args) {\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_queueOrderAccountingResync_result');\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 1);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 2);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 3);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 4);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupAssociationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 2);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new merge_accounting_Model_ttypes.MostRecentSyncTime(args.success);\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new merge_accounting_Model_ttypes.MostRecentSyncTime();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 1);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 3);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 4);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.groupAssociationId = null;\n    this.startTimeInclusive = null;\n    this.endTimeExclusive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n      if (args.startTimeInclusive !== undefined && args.startTimeInclusive !== null) {\n        this.startTimeInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.startTimeInclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field startTimeInclusive is unset!');\n      }\n      if (args.endTimeExclusive !== undefined && args.endTimeExclusive !== null) {\n        this.endTimeExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.endTimeExclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field endTimeExclusive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new merge_accounting_Model_ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.startTimeInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.startTimeInclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.endTimeExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.endTimeExclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 2);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.startTimeInclusive !== null && this.startTimeInclusive !== undefined) {\n      output.writeFieldBegin('startTimeInclusive', Thrift.Type.STRUCT, 3);\n      this.startTimeInclusive.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.endTimeExclusive !== null && this.endTimeExclusive !== undefined) {\n      output.writeFieldBegin('endTimeExclusive', Thrift.Type.STRUCT, 4);\n      this.endTimeExclusive.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_result = class {\n  constructor(args) {\n    this.success = null;\n    this.unknownMergeAccountingGroupAssociationIdException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownGroupIdException = null;\n    if (args instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n        this.unknownMergeAccountingGroupAssociationIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n        this.unknownGroupIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [merge_accounting_Model_ttypes.LocationSyncEvents]);\n      }\n      if (args.unknownMergeAccountingGroupAssociationIdException !== undefined && args.unknownMergeAccountingGroupAssociationIdException !== null) {\n        this.unknownMergeAccountingGroupAssociationIdException = args.unknownMergeAccountingGroupAssociationIdException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownGroupIdException !== undefined && args.unknownGroupIdException !== null) {\n        this.unknownGroupIdException = args.unknownGroupIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp349 = input.readListBegin();\n          const _size48 = _rtmp349.size || 0;\n          for (let _i50 = 0; _i50 < _size48; ++_i50) {\n            let elem51 = null;\n            elem51 = new merge_accounting_Model_ttypes.LocationSyncEvents();\n            elem51.read(input);\n            this.success.push(elem51);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownMergeAccountingGroupAssociationIdException = new merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException();\n          this.unknownMergeAccountingGroupAssociationIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownGroupIdException = new location_Exceptions_ttypes.UnknownGroupIdException();\n          this.unknownGroupIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter52 in this.success) {\n        if (this.success.hasOwnProperty(iter52)) {\n          iter52 = this.success[iter52];\n          iter52.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.unknownMergeAccountingGroupAssociationIdException !== null && this.unknownMergeAccountingGroupAssociationIdException !== undefined) {\n      output.writeFieldBegin('unknownMergeAccountingGroupAssociationIdException', Thrift.Type.STRUCT, 1);\n      this.unknownMergeAccountingGroupAssociationIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 2);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 3);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownGroupIdException !== null && this.unknownGroupIdException !== undefined) {\n      output.writeFieldBegin('unknownGroupIdException', Thrift.Type.STRUCT, 4);\n      this.unknownGroupIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingIntegrationServiceClient = exports.Client = class MergeAccountingIntegrationServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createLinkToken (actor, groupId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createLinkToken(actor, groupId);\n    });\n  }\n\n  send_createLinkToken (actor, groupId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupId: groupId\n    };\n    const args = new MergeAccountingIntegrationService_createLinkToken_args(params);\n    try {\n      output.writeMessageBegin('createLinkToken', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createLinkToken (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_createLinkToken_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownCredentialsException) {\n      return callback(result.unknownCredentialsException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createLinkToken failed: unknown result');\n  }\n\n  createRelinkToken (actor, associationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createRelinkToken(actor, associationId);\n    });\n  }\n\n  send_createRelinkToken (actor, associationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId\n    };\n    const args = new MergeAccountingIntegrationService_createRelinkToken_args(params);\n    try {\n      output.writeMessageBegin('createRelinkToken', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createRelinkToken (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_createRelinkToken_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownCredentialsException) {\n      return callback(result.unknownCredentialsException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createRelinkToken failed: unknown result');\n  }\n\n  createConnection (actor, publicToken, endUserOriginId, groupId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createConnection(actor, publicToken, endUserOriginId, groupId);\n    });\n  }\n\n  send_createConnection (actor, publicToken, endUserOriginId, groupId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      publicToken: publicToken,\n      endUserOriginId: endUserOriginId,\n      groupId: groupId\n    };\n    const args = new MergeAccountingIntegrationService_createConnection_args(params);\n    try {\n      output.writeMessageBegin('createConnection', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createConnection (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_createConnection_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownCredentialsException) {\n      return callback(result.unknownCredentialsException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.duplicateMergeLinkedAccountIdException) {\n      return callback(result.duplicateMergeLinkedAccountIdException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createConnection failed: unknown result');\n  }\n\n  retrieveCompanyInfo (actor, associationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveCompanyInfo(actor, associationId);\n    });\n  }\n\n  send_retrieveCompanyInfo (actor, associationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId\n    };\n    const args = new MergeAccountingIntegrationService_retrieveCompanyInfo_args(params);\n    try {\n      output.writeMessageBegin('retrieveCompanyInfo', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveCompanyInfo (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_retrieveCompanyInfo_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.mergeAccountingCompanyInfoNotAvailableException) {\n      return callback(result.mergeAccountingCompanyInfoNotAvailableException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveCompanyInfo failed: unknown result');\n  }\n\n  retrieveExpenseAccounts (actor, associationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveExpenseAccounts(actor, associationId);\n    });\n  }\n\n  send_retrieveExpenseAccounts (actor, associationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId\n    };\n    const args = new MergeAccountingIntegrationService_retrieveExpenseAccounts_args(params);\n    try {\n      output.writeMessageBegin('retrieveExpenseAccounts', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveExpenseAccounts (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_retrieveExpenseAccounts_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveExpenseAccounts failed: unknown result');\n  }\n\n  retrieveSupplierContacts (actor, associationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveSupplierContacts(actor, associationId);\n    });\n  }\n\n  send_retrieveSupplierContacts (actor, associationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId\n    };\n    const args = new MergeAccountingIntegrationService_retrieveSupplierContacts_args(params);\n    try {\n      output.writeMessageBegin('retrieveSupplierContacts', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveSupplierContacts (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_retrieveSupplierContacts_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveSupplierContacts failed: unknown result');\n  }\n\n  retrieveTaxRates (actor, associationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveTaxRates(actor, associationId);\n    });\n  }\n\n  send_retrieveTaxRates (actor, associationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId\n    };\n    const args = new MergeAccountingIntegrationService_retrieveTaxRates_args(params);\n    try {\n      output.writeMessageBegin('retrieveTaxRates', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveTaxRates (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_retrieveTaxRates_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveTaxRates failed: unknown result');\n  }\n\n  createGroupSettings (actor, associationId, accountingType, syncSchedule, taxSettings) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createGroupSettings(actor, associationId, accountingType, syncSchedule, taxSettings);\n    });\n  }\n\n  send_createGroupSettings (actor, associationId, accountingType, syncSchedule, taxSettings) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId,\n      accountingType: accountingType,\n      syncSchedule: syncSchedule,\n      taxSettings: taxSettings\n    };\n    const args = new MergeAccountingIntegrationService_createGroupSettings_args(params);\n    try {\n      output.writeMessageBegin('createGroupSettings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createGroupSettings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_createGroupSettings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownCredentialsException) {\n      return callback(result.unknownCredentialsException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    callback(null);\n  }\n\n  updateGroupSettings (actor, associationId, syncSchedule, taxSettings) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateGroupSettings(actor, associationId, syncSchedule, taxSettings);\n    });\n  }\n\n  send_updateGroupSettings (actor, associationId, syncSchedule, taxSettings) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId,\n      syncSchedule: syncSchedule,\n      taxSettings: taxSettings\n    };\n    const args = new MergeAccountingIntegrationService_updateGroupSettings_args(params);\n    try {\n      output.writeMessageBegin('updateGroupSettings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateGroupSettings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_updateGroupSettings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownCredentialsException) {\n      return callback(result.unknownCredentialsException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationSettingsException) {\n      return callback(result.unknownMergeAccountingGroupAssociationSettingsException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    callback(null);\n  }\n\n  getGroupSettings (actor, associationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getGroupSettings(actor, associationId);\n    });\n  }\n\n  send_getGroupSettings (actor, associationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId\n    };\n    const args = new MergeAccountingIntegrationService_getGroupSettings_args(params);\n    try {\n      output.writeMessageBegin('getGroupSettings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getGroupSettings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_getGroupSettings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownMergeAccountingGroupAssociationSettingsException) {\n      return callback(result.unknownMergeAccountingGroupAssociationSettingsException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getGroupSettings failed: unknown result');\n  }\n\n  retrieveLinkedAccountStatus (actor, associationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveLinkedAccountStatus(actor, associationId);\n    });\n  }\n\n  send_retrieveLinkedAccountStatus (actor, associationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      associationId: associationId\n    };\n    const args = new MergeAccountingIntegrationService_retrieveLinkedAccountStatus_args(params);\n    try {\n      output.writeMessageBegin('retrieveLinkedAccountStatus', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveLinkedAccountStatus (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_retrieveLinkedAccountStatus_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveLinkedAccountStatus failed: unknown result');\n  }\n\n  createRetailerAssociationsWithSettings (actor, groupAssociationId, locationSettingsMap) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createRetailerAssociationsWithSettings(actor, groupAssociationId, locationSettingsMap);\n    });\n  }\n\n  send_createRetailerAssociationsWithSettings (actor, groupAssociationId, locationSettingsMap) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupAssociationId: groupAssociationId,\n      locationSettingsMap: locationSettingsMap\n    };\n    const args = new MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_args(params);\n    try {\n      output.writeMessageBegin('createRetailerAssociationsWithSettings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createRetailerAssociationsWithSettings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.duplicateMergeAccountingRetailerAssociationException) {\n      return callback(result.duplicateMergeAccountingRetailerAssociationException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createRetailerAssociationsWithSettings failed: unknown result');\n  }\n\n  updateRetailerAssociationsSettings (actor, groupAssociationId, retailerIsPausedMap) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateRetailerAssociationsSettings(actor, groupAssociationId, retailerIsPausedMap);\n    });\n  }\n\n  send_updateRetailerAssociationsSettings (actor, groupAssociationId, retailerIsPausedMap) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupAssociationId: groupAssociationId,\n      retailerIsPausedMap: retailerIsPausedMap\n    };\n    const args = new MergeAccountingIntegrationService_updateRetailerAssociationsSettings_args(params);\n    try {\n      output.writeMessageBegin('updateRetailerAssociationsSettings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateRetailerAssociationsSettings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_updateRetailerAssociationsSettings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownMergeAccountingRetailerAssociationIdException) {\n      return callback(result.unknownMergeAccountingRetailerAssociationIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    callback(null);\n  }\n\n  removeRetailerAssociation (actor, groupAssociationId, retailerAssociationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeRetailerAssociation(actor, groupAssociationId, retailerAssociationId);\n    });\n  }\n\n  send_removeRetailerAssociation (actor, groupAssociationId, retailerAssociationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupAssociationId: groupAssociationId,\n      retailerAssociationId: retailerAssociationId\n    };\n    const args = new MergeAccountingIntegrationService_removeRetailerAssociation_args(params);\n    try {\n      output.writeMessageBegin('removeRetailerAssociation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeRetailerAssociation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_removeRetailerAssociation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownMergeAccountingRetailerAssociationIdException) {\n      return callback(result.unknownMergeAccountingRetailerAssociationIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    callback(null);\n  }\n\n  removeGroupAssociation (actor, groupAssociationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeGroupAssociation(actor, groupAssociationId);\n    });\n  }\n\n  send_removeGroupAssociation (actor, groupAssociationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupAssociationId: groupAssociationId\n    };\n    const args = new MergeAccountingIntegrationService_removeGroupAssociation_args(params);\n    try {\n      output.writeMessageBegin('removeGroupAssociation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeGroupAssociation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_removeGroupAssociation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    callback(null);\n  }\n\n  getRetailerAssocsForGroupAssoc (actor, groupAssociationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getRetailerAssocsForGroupAssoc(actor, groupAssociationId);\n    });\n  }\n\n  send_getRetailerAssocsForGroupAssoc (actor, groupAssociationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupAssociationId: groupAssociationId\n    };\n    const args = new MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_args(params);\n    try {\n      output.writeMessageBegin('getRetailerAssocsForGroupAssoc', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getRetailerAssocsForGroupAssoc (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getRetailerAssocsForGroupAssoc failed: unknown result');\n  }\n\n  getGroupAssocsForGroup (actor, groupId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getGroupAssocsForGroup(actor, groupId);\n    });\n  }\n\n  send_getGroupAssocsForGroup (actor, groupId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupId: groupId\n    };\n    const args = new MergeAccountingIntegrationService_getGroupAssocsForGroup_args(params);\n    try {\n      output.writeMessageBegin('getGroupAssocsForGroup', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getGroupAssocsForGroup (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_getGroupAssocsForGroup_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getGroupAssocsForGroup failed: unknown result');\n  }\n\n  queueManualAccountingSync (actor, groupId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_queueManualAccountingSync(actor, groupId);\n    });\n  }\n\n  send_queueManualAccountingSync (actor, groupId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupId: groupId\n    };\n    const args = new MergeAccountingIntegrationService_queueManualAccountingSync_args(params);\n    try {\n      output.writeMessageBegin('queueManualAccountingSync', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_queueManualAccountingSync (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_queueManualAccountingSync_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.noActiveAccountingIntegrationException) {\n      return callback(result.noActiveAccountingIntegrationException);\n    }\n    callback(null);\n  }\n\n  queueOrderAccountingResync (actor, groupAssociationId, orderId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_queueOrderAccountingResync(actor, groupAssociationId, orderId);\n    });\n  }\n\n  send_queueOrderAccountingResync (actor, groupAssociationId, orderId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupAssociationId: groupAssociationId,\n      orderId: orderId\n    };\n    const args = new MergeAccountingIntegrationService_queueOrderAccountingResync_args(params);\n    try {\n      output.writeMessageBegin('queueOrderAccountingResync', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_queueOrderAccountingResync (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_queueOrderAccountingResync_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    callback(null);\n  }\n\n  getMostRecentSyncTimeForGroupAssoc (actor, groupAssociationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getMostRecentSyncTimeForGroupAssoc(actor, groupAssociationId);\n    });\n  }\n\n  send_getMostRecentSyncTimeForGroupAssoc (actor, groupAssociationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupAssociationId: groupAssociationId\n    };\n    const args = new MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_args(params);\n    try {\n      output.writeMessageBegin('getMostRecentSyncTimeForGroupAssoc', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getMostRecentSyncTimeForGroupAssoc (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getMostRecentSyncTimeForGroupAssoc failed: unknown result');\n  }\n\n  getDeliveryAccountingSyncEventsForGroupAssoc (actor, groupAssociationId, startTimeInclusive, endTimeExclusive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getDeliveryAccountingSyncEventsForGroupAssoc(actor, groupAssociationId, startTimeInclusive, endTimeExclusive);\n    });\n  }\n\n  send_getDeliveryAccountingSyncEventsForGroupAssoc (actor, groupAssociationId, startTimeInclusive, endTimeExclusive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      groupAssociationId: groupAssociationId,\n      startTimeInclusive: startTimeInclusive,\n      endTimeExclusive: endTimeExclusive\n    };\n    const args = new MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_args(params);\n    try {\n      output.writeMessageBegin('getDeliveryAccountingSyncEventsForGroupAssoc', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getDeliveryAccountingSyncEventsForGroupAssoc (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.unknownMergeAccountingGroupAssociationIdException) {\n      return callback(result.unknownMergeAccountingGroupAssociationIdException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownGroupIdException) {\n      return callback(result.unknownGroupIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getDeliveryAccountingSyncEventsForGroupAssoc failed: unknown result');\n  }\n};\nconst MergeAccountingIntegrationServiceProcessor = exports.Processor = class MergeAccountingIntegrationServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createLinkToken (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_createLinkToken_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createLinkToken.length === 2) {\n      Promise.resolve(this._handler.createLinkToken.bind(this._handler)(\n        args.actor,\n        args.groupId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_createLinkToken_result({success: result});\n        output.writeMessageBegin(\"createLinkToken\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_createLinkToken_result(err);\n          output.writeMessageBegin(\"createLinkToken\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createLinkToken\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createLinkToken(args.actor, args.groupId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_createLinkToken_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createLinkToken\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createLinkToken\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createRelinkToken (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_createRelinkToken_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createRelinkToken.length === 2) {\n      Promise.resolve(this._handler.createRelinkToken.bind(this._handler)(\n        args.actor,\n        args.associationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_createRelinkToken_result({success: result});\n        output.writeMessageBegin(\"createRelinkToken\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new MergeAccountingIntegrationService_createRelinkToken_result(err);\n          output.writeMessageBegin(\"createRelinkToken\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createRelinkToken\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createRelinkToken(args.actor, args.associationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new MergeAccountingIntegrationService_createRelinkToken_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createRelinkToken\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createRelinkToken\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createConnection (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_createConnection_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createConnection.length === 4) {\n      Promise.resolve(this._handler.createConnection.bind(this._handler)(\n        args.actor,\n        args.publicToken,\n        args.endUserOriginId,\n        args.groupId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_createConnection_result({success: result});\n        output.writeMessageBegin(\"createConnection\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.DuplicateMergeLinkedAccountIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new MergeAccountingIntegrationService_createConnection_result(err);\n          output.writeMessageBegin(\"createConnection\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createConnection\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createConnection(args.actor, args.publicToken, args.endUserOriginId, args.groupId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.DuplicateMergeLinkedAccountIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new MergeAccountingIntegrationService_createConnection_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createConnection\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createConnection\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveCompanyInfo (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_retrieveCompanyInfo_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveCompanyInfo.length === 2) {\n      Promise.resolve(this._handler.retrieveCompanyInfo.bind(this._handler)(\n        args.actor,\n        args.associationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_retrieveCompanyInfo_result({success: result});\n        output.writeMessageBegin(\"retrieveCompanyInfo\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof merge_accounting_Exceptions_ttypes.MergeAccountingCompanyInfoNotAvailableException) {\n          result = new MergeAccountingIntegrationService_retrieveCompanyInfo_result(err);\n          output.writeMessageBegin(\"retrieveCompanyInfo\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveCompanyInfo\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveCompanyInfo(args.actor, args.associationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof merge_accounting_Exceptions_ttypes.MergeAccountingCompanyInfoNotAvailableException) {\n          result_obj = new MergeAccountingIntegrationService_retrieveCompanyInfo_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveCompanyInfo\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveCompanyInfo\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveExpenseAccounts (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_retrieveExpenseAccounts_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveExpenseAccounts.length === 2) {\n      Promise.resolve(this._handler.retrieveExpenseAccounts.bind(this._handler)(\n        args.actor,\n        args.associationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_retrieveExpenseAccounts_result({success: result});\n        output.writeMessageBegin(\"retrieveExpenseAccounts\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result = new MergeAccountingIntegrationService_retrieveExpenseAccounts_result(err);\n          output.writeMessageBegin(\"retrieveExpenseAccounts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveExpenseAccounts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveExpenseAccounts(args.actor, args.associationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result_obj = new MergeAccountingIntegrationService_retrieveExpenseAccounts_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveExpenseAccounts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveExpenseAccounts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveSupplierContacts (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_retrieveSupplierContacts_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveSupplierContacts.length === 2) {\n      Promise.resolve(this._handler.retrieveSupplierContacts.bind(this._handler)(\n        args.actor,\n        args.associationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_retrieveSupplierContacts_result({success: result});\n        output.writeMessageBegin(\"retrieveSupplierContacts\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result = new MergeAccountingIntegrationService_retrieveSupplierContacts_result(err);\n          output.writeMessageBegin(\"retrieveSupplierContacts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveSupplierContacts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveSupplierContacts(args.actor, args.associationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result_obj = new MergeAccountingIntegrationService_retrieveSupplierContacts_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveSupplierContacts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveSupplierContacts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveTaxRates (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_retrieveTaxRates_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveTaxRates.length === 2) {\n      Promise.resolve(this._handler.retrieveTaxRates.bind(this._handler)(\n        args.actor,\n        args.associationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_retrieveTaxRates_result({success: result});\n        output.writeMessageBegin(\"retrieveTaxRates\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result = new MergeAccountingIntegrationService_retrieveTaxRates_result(err);\n          output.writeMessageBegin(\"retrieveTaxRates\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveTaxRates\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveTaxRates(args.actor, args.associationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result_obj = new MergeAccountingIntegrationService_retrieveTaxRates_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveTaxRates\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveTaxRates\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createGroupSettings (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_createGroupSettings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createGroupSettings.length === 5) {\n      Promise.resolve(this._handler.createGroupSettings.bind(this._handler)(\n        args.actor,\n        args.associationId,\n        args.accountingType,\n        args.syncSchedule,\n        args.taxSettings\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_createGroupSettings_result({success: result});\n        output.writeMessageBegin(\"createGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_createGroupSettings_result(err);\n          output.writeMessageBegin(\"createGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createGroupSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createGroupSettings(args.actor, args.associationId, args.accountingType, args.syncSchedule, args.taxSettings, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_createGroupSettings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createGroupSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateGroupSettings (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_updateGroupSettings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateGroupSettings.length === 4) {\n      Promise.resolve(this._handler.updateGroupSettings.bind(this._handler)(\n        args.actor,\n        args.associationId,\n        args.syncSchedule,\n        args.taxSettings\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_updateGroupSettings_result({success: result});\n        output.writeMessageBegin(\"updateGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationSettingsException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_updateGroupSettings_result(err);\n          output.writeMessageBegin(\"updateGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateGroupSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateGroupSettings(args.actor, args.associationId, args.syncSchedule, args.taxSettings, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationSettingsException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_updateGroupSettings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateGroupSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getGroupSettings (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_getGroupSettings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getGroupSettings.length === 2) {\n      Promise.resolve(this._handler.getGroupSettings.bind(this._handler)(\n        args.actor,\n        args.associationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_getGroupSettings_result({success: result});\n        output.writeMessageBegin(\"getGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationSettingsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result = new MergeAccountingIntegrationService_getGroupSettings_result(err);\n          output.writeMessageBegin(\"getGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getGroupSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getGroupSettings(args.actor, args.associationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationSettingsException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result_obj = new MergeAccountingIntegrationService_getGroupSettings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getGroupSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getGroupSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_retrieveLinkedAccountStatus (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_retrieveLinkedAccountStatus_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveLinkedAccountStatus.length === 2) {\n      Promise.resolve(this._handler.retrieveLinkedAccountStatus.bind(this._handler)(\n        args.actor,\n        args.associationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_retrieveLinkedAccountStatus_result({success: result});\n        output.writeMessageBegin(\"retrieveLinkedAccountStatus\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result = new MergeAccountingIntegrationService_retrieveLinkedAccountStatus_result(err);\n          output.writeMessageBegin(\"retrieveLinkedAccountStatus\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveLinkedAccountStatus\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveLinkedAccountStatus(args.actor, args.associationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result_obj = new MergeAccountingIntegrationService_retrieveLinkedAccountStatus_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveLinkedAccountStatus\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveLinkedAccountStatus\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createRetailerAssociationsWithSettings (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createRetailerAssociationsWithSettings.length === 3) {\n      Promise.resolve(this._handler.createRetailerAssociationsWithSettings.bind(this._handler)(\n        args.actor,\n        args.groupAssociationId,\n        args.locationSettingsMap\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_result({success: result});\n        output.writeMessageBegin(\"createRetailerAssociationsWithSettings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.DuplicateMergeAccountingRetailerAssociationException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_result(err);\n          output.writeMessageBegin(\"createRetailerAssociationsWithSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createRetailerAssociationsWithSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createRetailerAssociationsWithSettings(args.actor, args.groupAssociationId, args.locationSettingsMap, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.DuplicateMergeAccountingRetailerAssociationException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createRetailerAssociationsWithSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createRetailerAssociationsWithSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateRetailerAssociationsSettings (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_updateRetailerAssociationsSettings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateRetailerAssociationsSettings.length === 3) {\n      Promise.resolve(this._handler.updateRetailerAssociationsSettings.bind(this._handler)(\n        args.actor,\n        args.groupAssociationId,\n        args.retailerIsPausedMap\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_updateRetailerAssociationsSettings_result({success: result});\n        output.writeMessageBegin(\"updateRetailerAssociationsSettings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingRetailerAssociationIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_updateRetailerAssociationsSettings_result(err);\n          output.writeMessageBegin(\"updateRetailerAssociationsSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateRetailerAssociationsSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateRetailerAssociationsSettings(args.actor, args.groupAssociationId, args.retailerIsPausedMap, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingRetailerAssociationIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_updateRetailerAssociationsSettings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateRetailerAssociationsSettings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateRetailerAssociationsSettings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeRetailerAssociation (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_removeRetailerAssociation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeRetailerAssociation.length === 3) {\n      Promise.resolve(this._handler.removeRetailerAssociation.bind(this._handler)(\n        args.actor,\n        args.groupAssociationId,\n        args.retailerAssociationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_removeRetailerAssociation_result({success: result});\n        output.writeMessageBegin(\"removeRetailerAssociation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingRetailerAssociationIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_removeRetailerAssociation_result(err);\n          output.writeMessageBegin(\"removeRetailerAssociation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeRetailerAssociation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeRetailerAssociation(args.actor, args.groupAssociationId, args.retailerAssociationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingRetailerAssociationIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_removeRetailerAssociation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeRetailerAssociation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeRetailerAssociation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeGroupAssociation (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_removeGroupAssociation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeGroupAssociation.length === 2) {\n      Promise.resolve(this._handler.removeGroupAssociation.bind(this._handler)(\n        args.actor,\n        args.groupAssociationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_removeGroupAssociation_result({success: result});\n        output.writeMessageBegin(\"removeGroupAssociation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_removeGroupAssociation_result(err);\n          output.writeMessageBegin(\"removeGroupAssociation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeGroupAssociation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeGroupAssociation(args.actor, args.groupAssociationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_removeGroupAssociation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeGroupAssociation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeGroupAssociation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getRetailerAssocsForGroupAssoc (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getRetailerAssocsForGroupAssoc.length === 2) {\n      Promise.resolve(this._handler.getRetailerAssocsForGroupAssoc.bind(this._handler)(\n        args.actor,\n        args.groupAssociationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_result({success: result});\n        output.writeMessageBegin(\"getRetailerAssocsForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_result(err);\n          output.writeMessageBegin(\"getRetailerAssocsForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getRetailerAssocsForGroupAssoc\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getRetailerAssocsForGroupAssoc(args.actor, args.groupAssociationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getRetailerAssocsForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getRetailerAssocsForGroupAssoc\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getGroupAssocsForGroup (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_getGroupAssocsForGroup_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getGroupAssocsForGroup.length === 2) {\n      Promise.resolve(this._handler.getGroupAssocsForGroup.bind(this._handler)(\n        args.actor,\n        args.groupId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_getGroupAssocsForGroup_result({success: result});\n        output.writeMessageBegin(\"getGroupAssocsForGroup\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new MergeAccountingIntegrationService_getGroupAssocsForGroup_result(err);\n          output.writeMessageBegin(\"getGroupAssocsForGroup\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getGroupAssocsForGroup\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getGroupAssocsForGroup(args.actor, args.groupId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new MergeAccountingIntegrationService_getGroupAssocsForGroup_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getGroupAssocsForGroup\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getGroupAssocsForGroup\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_queueManualAccountingSync (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_queueManualAccountingSync_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.queueManualAccountingSync.length === 2) {\n      Promise.resolve(this._handler.queueManualAccountingSync.bind(this._handler)(\n        args.actor,\n        args.groupId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_queueManualAccountingSync_result({success: result});\n        output.writeMessageBegin(\"queueManualAccountingSync\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.NoActiveAccountingIntegrationException) {\n          result = new MergeAccountingIntegrationService_queueManualAccountingSync_result(err);\n          output.writeMessageBegin(\"queueManualAccountingSync\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"queueManualAccountingSync\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.queueManualAccountingSync(args.actor, args.groupId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.NoActiveAccountingIntegrationException) {\n          result_obj = new MergeAccountingIntegrationService_queueManualAccountingSync_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"queueManualAccountingSync\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"queueManualAccountingSync\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_queueOrderAccountingResync (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_queueOrderAccountingResync_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.queueOrderAccountingResync.length === 3) {\n      Promise.resolve(this._handler.queueOrderAccountingResync.bind(this._handler)(\n        args.actor,\n        args.groupAssociationId,\n        args.orderId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_queueOrderAccountingResync_result({success: result});\n        output.writeMessageBegin(\"queueOrderAccountingResync\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result = new MergeAccountingIntegrationService_queueOrderAccountingResync_result(err);\n          output.writeMessageBegin(\"queueOrderAccountingResync\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"queueOrderAccountingResync\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.queueOrderAccountingResync(args.actor, args.groupAssociationId, args.orderId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException) {\n          result_obj = new MergeAccountingIntegrationService_queueOrderAccountingResync_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"queueOrderAccountingResync\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"queueOrderAccountingResync\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getMostRecentSyncTimeForGroupAssoc (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getMostRecentSyncTimeForGroupAssoc.length === 2) {\n      Promise.resolve(this._handler.getMostRecentSyncTimeForGroupAssoc.bind(this._handler)(\n        args.actor,\n        args.groupAssociationId\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_result({success: result});\n        output.writeMessageBegin(\"getMostRecentSyncTimeForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_result(err);\n          output.writeMessageBegin(\"getMostRecentSyncTimeForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMostRecentSyncTimeForGroupAssoc\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getMostRecentSyncTimeForGroupAssoc(args.actor, args.groupAssociationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getMostRecentSyncTimeForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMostRecentSyncTimeForGroupAssoc\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getDeliveryAccountingSyncEventsForGroupAssoc (seqid, input, output) {\n    const args = new MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getDeliveryAccountingSyncEventsForGroupAssoc.length === 4) {\n      Promise.resolve(this._handler.getDeliveryAccountingSyncEventsForGroupAssoc.bind(this._handler)(\n        args.actor,\n        args.groupAssociationId,\n        args.startTimeInclusive,\n        args.endTimeExclusive\n      )).then(result => {\n        const result_obj = new MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_result({success: result});\n        output.writeMessageBegin(\"getDeliveryAccountingSyncEventsForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result = new MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_result(err);\n          output.writeMessageBegin(\"getDeliveryAccountingSyncEventsForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDeliveryAccountingSyncEventsForGroupAssoc\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getDeliveryAccountingSyncEventsForGroupAssoc(args.actor, args.groupAssociationId, args.startTimeInclusive, args.endTimeExclusive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof merge_accounting_Exceptions_ttypes.UnknownMergeAccountingGroupAssociationIdException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownGroupIdException) {\n          result_obj = new MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getDeliveryAccountingSyncEventsForGroupAssoc\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDeliveryAccountingSyncEventsForGroupAssoc\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst merge_integration_Exceptions_ttypes = require('./merge_integration_Exceptions_types');\nconst merge_integration_Model_ttypes = require('./merge_integration_Model_types');\n\n\nconst ttypes = require('./merge_integration_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst MergeIntegrationObjectMappingService_setMappings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.objectType = null;\n    this.mergeLinkedAccountId = null;\n    this.mergeCompanyId = null;\n    this.mergeObjectIdToObjectIds = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.objectType !== undefined && args.objectType !== null) {\n        this.objectType = args.objectType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field objectType is unset!');\n      }\n      if (args.mergeLinkedAccountId !== undefined && args.mergeLinkedAccountId !== null) {\n        this.mergeLinkedAccountId = args.mergeLinkedAccountId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeLinkedAccountId is unset!');\n      }\n      if (args.mergeCompanyId !== undefined && args.mergeCompanyId !== null) {\n        this.mergeCompanyId = args.mergeCompanyId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeCompanyId is unset!');\n      }\n      if (args.mergeObjectIdToObjectIds !== undefined && args.mergeObjectIdToObjectIds !== null) {\n        this.mergeObjectIdToObjectIds = Thrift.copyMap(args.mergeObjectIdToObjectIds, [Thrift.copyList, null]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeObjectIdToObjectIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.objectType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeLinkedAccountId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeCompanyId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.MAP) {\n          this.mergeObjectIdToObjectIds = {};\n          const _rtmp31 = input.readMapBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let key3 = null;\n            let val4 = null;\n            key3 = input.readString();\n            val4 = [];\n            const _rtmp36 = input.readListBegin();\n            const _size5 = _rtmp36.size || 0;\n            for (let _i7 = 0; _i7 < _size5; ++_i7) {\n              let elem8 = null;\n              elem8 = input.readString();\n              val4.push(elem8);\n            }\n            input.readListEnd();\n            this.mergeObjectIdToObjectIds[key3] = val4;\n          }\n          input.readMapEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeIntegrationObjectMappingService_setMappings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.objectType !== null && this.objectType !== undefined) {\n      output.writeFieldBegin('objectType', Thrift.Type.I32, 3);\n      output.writeI32(this.objectType);\n      output.writeFieldEnd();\n    }\n    if (this.mergeLinkedAccountId !== null && this.mergeLinkedAccountId !== undefined) {\n      output.writeFieldBegin('mergeLinkedAccountId', Thrift.Type.STRING, 4);\n      output.writeString(this.mergeLinkedAccountId);\n      output.writeFieldEnd();\n    }\n    if (this.mergeCompanyId !== null && this.mergeCompanyId !== undefined) {\n      output.writeFieldBegin('mergeCompanyId', Thrift.Type.STRING, 5);\n      output.writeString(this.mergeCompanyId);\n      output.writeFieldEnd();\n    }\n    if (this.mergeObjectIdToObjectIds !== null && this.mergeObjectIdToObjectIds !== undefined) {\n      output.writeFieldBegin('mergeObjectIdToObjectIds', Thrift.Type.MAP, 6);\n      output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.LIST, Thrift.objectLength(this.mergeObjectIdToObjectIds));\n      for (let kiter9 in this.mergeObjectIdToObjectIds) {\n        if (this.mergeObjectIdToObjectIds.hasOwnProperty(kiter9)) {\n          let viter10 = this.mergeObjectIdToObjectIds[kiter9];\n          output.writeString(kiter9);\n          output.writeListBegin(Thrift.Type.STRING, viter10.length);\n          for (let iter11 in viter10) {\n            if (viter10.hasOwnProperty(iter11)) {\n              iter11 = viter10[iter11];\n              output.writeString(iter11);\n            }\n          }\n          output.writeListEnd();\n        }\n      }\n      output.writeMapEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeIntegrationObjectMappingService_setMappings_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownLocationIdentifierException = null;\n    this.duplicateObjectIdException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    this.unknownObjectIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof merge_integration_Exceptions_ttypes.DuplicateObjectIdException) {\n        this.duplicateObjectIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args instanceof merge_integration_Exceptions_ttypes.UnknownObjectIdException) {\n        this.unknownObjectIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.duplicateObjectIdException !== undefined && args.duplicateObjectIdException !== null) {\n        this.duplicateObjectIdException = args.duplicateObjectIdException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n      if (args.unknownObjectIdException !== undefined && args.unknownObjectIdException !== null) {\n        this.unknownObjectIdException = args.unknownObjectIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateObjectIdException = new merge_integration_Exceptions_ttypes.DuplicateObjectIdException();\n          this.duplicateObjectIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownObjectIdException = new merge_integration_Exceptions_ttypes.UnknownObjectIdException();\n          this.unknownObjectIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeIntegrationObjectMappingService_setMappings_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateObjectIdException !== null && this.duplicateObjectIdException !== undefined) {\n      output.writeFieldBegin('duplicateObjectIdException', Thrift.Type.STRUCT, 5);\n      this.duplicateObjectIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 6);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownObjectIdException !== null && this.unknownObjectIdException !== undefined) {\n      output.writeFieldBegin('unknownObjectIdException', Thrift.Type.STRUCT, 7);\n      this.unknownObjectIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeIntegrationObjectMappingService_removeMappings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.objectType = null;\n    this.objectIds = null;\n    this.mergeLinkedAccountId = null;\n    this.mergeCompanyId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.objectType !== undefined && args.objectType !== null) {\n        this.objectType = args.objectType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field objectType is unset!');\n      }\n      if (args.objectIds !== undefined && args.objectIds !== null) {\n        this.objectIds = Thrift.copyList(args.objectIds, [null]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field objectIds is unset!');\n      }\n      if (args.mergeLinkedAccountId !== undefined && args.mergeLinkedAccountId !== null) {\n        this.mergeLinkedAccountId = args.mergeLinkedAccountId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeLinkedAccountId is unset!');\n      }\n      if (args.mergeCompanyId !== undefined && args.mergeCompanyId !== null) {\n        this.mergeCompanyId = args.mergeCompanyId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeCompanyId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.objectType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.LIST) {\n          this.objectIds = [];\n          const _rtmp313 = input.readListBegin();\n          const _size12 = _rtmp313.size || 0;\n          for (let _i14 = 0; _i14 < _size12; ++_i14) {\n            let elem15 = null;\n            elem15 = input.readString();\n            this.objectIds.push(elem15);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeLinkedAccountId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeCompanyId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeIntegrationObjectMappingService_removeMappings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.objectType !== null && this.objectType !== undefined) {\n      output.writeFieldBegin('objectType', Thrift.Type.I32, 3);\n      output.writeI32(this.objectType);\n      output.writeFieldEnd();\n    }\n    if (this.objectIds !== null && this.objectIds !== undefined) {\n      output.writeFieldBegin('objectIds', Thrift.Type.LIST, 4);\n      output.writeListBegin(Thrift.Type.STRING, this.objectIds.length);\n      for (let iter16 in this.objectIds) {\n        if (this.objectIds.hasOwnProperty(iter16)) {\n          iter16 = this.objectIds[iter16];\n          output.writeString(iter16);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.mergeLinkedAccountId !== null && this.mergeLinkedAccountId !== undefined) {\n      output.writeFieldBegin('mergeLinkedAccountId', Thrift.Type.STRING, 5);\n      output.writeString(this.mergeLinkedAccountId);\n      output.writeFieldEnd();\n    }\n    if (this.mergeCompanyId !== null && this.mergeCompanyId !== undefined) {\n      output.writeFieldBegin('mergeCompanyId', Thrift.Type.STRING, 6);\n      output.writeString(this.mergeCompanyId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeIntegrationObjectMappingService_removeMappings_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeIntegrationObjectMappingService_removeMappings_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeIntegrationObjectMappingService_getMappings_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.request = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.request !== undefined && args.request !== null) {\n        this.request = new merge_integration_Model_ttypes.GetMergeIntegrationObjectMappingsRequest(args.request);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field request is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.request = new merge_integration_Model_ttypes.GetMergeIntegrationObjectMappingsRequest();\n          this.request.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeIntegrationObjectMappingService_getMappings_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.request !== null && this.request !== undefined) {\n      output.writeFieldBegin('request', Thrift.Type.STRUCT, 2);\n      this.request.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeIntegrationObjectMappingService_getMappings_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownLocationIdentifierException = null;\n    this.actorDoesNotHaveAccessToLocationException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n        this.actorDoesNotHaveAccessToLocationException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [merge_integration_Model_ttypes.MergeIntegrationObjectMapping]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.actorDoesNotHaveAccessToLocationException !== undefined && args.actorDoesNotHaveAccessToLocationException !== null) {\n        this.actorDoesNotHaveAccessToLocationException = args.actorDoesNotHaveAccessToLocationException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp318 = input.readListBegin();\n          const _size17 = _rtmp318.size || 0;\n          for (let _i19 = 0; _i19 < _size17; ++_i19) {\n            let elem20 = null;\n            elem20 = new merge_integration_Model_ttypes.MergeIntegrationObjectMapping();\n            elem20.read(input);\n            this.success.push(elem20);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actorDoesNotHaveAccessToLocationException = new location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException();\n          this.actorDoesNotHaveAccessToLocationException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeIntegrationObjectMappingService_getMappings_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter21 in this.success) {\n        if (this.success.hasOwnProperty(iter21)) {\n          iter21 = this.success[iter21];\n          iter21.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actorDoesNotHaveAccessToLocationException !== null && this.actorDoesNotHaveAccessToLocationException !== undefined) {\n      output.writeFieldBegin('actorDoesNotHaveAccessToLocationException', Thrift.Type.STRUCT, 5);\n      this.actorDoesNotHaveAccessToLocationException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeIntegrationObjectMappingServiceClient = exports.Client = class MergeIntegrationObjectMappingServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  setMappings (actor, locationId, objectType, mergeLinkedAccountId, mergeCompanyId, mergeObjectIdToObjectIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setMappings(actor, locationId, objectType, mergeLinkedAccountId, mergeCompanyId, mergeObjectIdToObjectIds);\n    });\n  }\n\n  send_setMappings (actor, locationId, objectType, mergeLinkedAccountId, mergeCompanyId, mergeObjectIdToObjectIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      objectType: objectType,\n      mergeLinkedAccountId: mergeLinkedAccountId,\n      mergeCompanyId: mergeCompanyId,\n      mergeObjectIdToObjectIds: mergeObjectIdToObjectIds\n    };\n    const args = new MergeIntegrationObjectMappingService_setMappings_args(params);\n    try {\n      output.writeMessageBegin('setMappings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setMappings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeIntegrationObjectMappingService_setMappings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.duplicateObjectIdException) {\n      return callback(result.duplicateObjectIdException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.unknownObjectIdException) {\n      return callback(result.unknownObjectIdException);\n    }\n    callback(null);\n  }\n\n  removeMappings (actor, locationId, objectType, objectIds, mergeLinkedAccountId, mergeCompanyId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_removeMappings(actor, locationId, objectType, objectIds, mergeLinkedAccountId, mergeCompanyId);\n    });\n  }\n\n  send_removeMappings (actor, locationId, objectType, objectIds, mergeLinkedAccountId, mergeCompanyId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      objectType: objectType,\n      objectIds: objectIds,\n      mergeLinkedAccountId: mergeLinkedAccountId,\n      mergeCompanyId: mergeCompanyId\n    };\n    const args = new MergeIntegrationObjectMappingService_removeMappings_args(params);\n    try {\n      output.writeMessageBegin('removeMappings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_removeMappings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeIntegrationObjectMappingService_removeMappings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    callback(null);\n  }\n\n  getMappings (actor, request) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getMappings(actor, request);\n    });\n  }\n\n  send_getMappings (actor, request) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      request: request\n    };\n    const args = new MergeIntegrationObjectMappingService_getMappings_args(params);\n    try {\n      output.writeMessageBegin('getMappings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getMappings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new MergeIntegrationObjectMappingService_getMappings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.actorDoesNotHaveAccessToLocationException) {\n      return callback(result.actorDoesNotHaveAccessToLocationException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getMappings failed: unknown result');\n  }\n};\nconst MergeIntegrationObjectMappingServiceProcessor = exports.Processor = class MergeIntegrationObjectMappingServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_setMappings (seqid, input, output) {\n    const args = new MergeIntegrationObjectMappingService_setMappings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setMappings.length === 6) {\n      Promise.resolve(this._handler.setMappings.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.objectType,\n        args.mergeLinkedAccountId,\n        args.mergeCompanyId,\n        args.mergeObjectIdToObjectIds\n      )).then(result => {\n        const result_obj = new MergeIntegrationObjectMappingService_setMappings_result({success: result});\n        output.writeMessageBegin(\"setMappings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof merge_integration_Exceptions_ttypes.DuplicateObjectIdException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof merge_integration_Exceptions_ttypes.UnknownObjectIdException) {\n          result = new MergeIntegrationObjectMappingService_setMappings_result(err);\n          output.writeMessageBegin(\"setMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setMappings(args.actor, args.locationId, args.objectType, args.mergeLinkedAccountId, args.mergeCompanyId, args.mergeObjectIdToObjectIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof merge_integration_Exceptions_ttypes.DuplicateObjectIdException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException || err instanceof merge_integration_Exceptions_ttypes.UnknownObjectIdException) {\n          result_obj = new MergeIntegrationObjectMappingService_setMappings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_removeMappings (seqid, input, output) {\n    const args = new MergeIntegrationObjectMappingService_removeMappings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.removeMappings.length === 6) {\n      Promise.resolve(this._handler.removeMappings.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.objectType,\n        args.objectIds,\n        args.mergeLinkedAccountId,\n        args.mergeCompanyId\n      )).then(result => {\n        const result_obj = new MergeIntegrationObjectMappingService_removeMappings_result({success: result});\n        output.writeMessageBegin(\"removeMappings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result = new MergeIntegrationObjectMappingService_removeMappings_result(err);\n          output.writeMessageBegin(\"removeMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.removeMappings(args.actor, args.locationId, args.objectType, args.objectIds, args.mergeLinkedAccountId, args.mergeCompanyId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result_obj = new MergeIntegrationObjectMappingService_removeMappings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"removeMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"removeMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getMappings (seqid, input, output) {\n    const args = new MergeIntegrationObjectMappingService_getMappings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getMappings.length === 2) {\n      Promise.resolve(this._handler.getMappings.bind(this._handler)(\n        args.actor,\n        args.request\n      )).then(result => {\n        const result_obj = new MergeIntegrationObjectMappingService_getMappings_result({success: result});\n        output.writeMessageBegin(\"getMappings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result = new MergeIntegrationObjectMappingService_getMappings_result(err);\n          output.writeMessageBegin(\"getMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getMappings(args.actor, args.request, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof location_Exceptions_ttypes.ActorDoesNotHaveAccessToLocationException) {\n          result_obj = new MergeIntegrationObjectMappingService_getMappings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getMappings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getMappings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst prep_event_Model_ttypes = require('./prep_event_Model_types');\nconst prep_event_Exceptions_ttypes = require('./prep_event_Exceptions_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\n\n\nconst ttypes = require('./prep_event_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst PrepEventService_getPrepEventsById_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.prepEventIdSet = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.prepEventIdSet !== undefined && args.prepEventIdSet !== null) {\n        this.prepEventIdSet = Thrift.copyList(args.prepEventIdSet, [prep_event_Model_ttypes.PrepEventId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEventIdSet is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.prepEventIdSet = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new prep_event_Model_ttypes.PrepEventId();\n            elem3.read(input);\n            this.prepEventIdSet.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_getPrepEventsById_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.prepEventIdSet !== null && this.prepEventIdSet !== undefined) {\n      output.writeFieldBegin('prepEventIdSet', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.prepEventIdSet.length);\n      for (let iter4 in this.prepEventIdSet) {\n        if (this.prepEventIdSet.hasOwnProperty(iter4)) {\n          iter4 = this.prepEventIdSet[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_getPrepEventsById_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownPrepEventIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException) {\n        this.unknownPrepEventIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [prep_event_Model_ttypes.PrepEventAndId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownPrepEventIdException !== undefined && args.unknownPrepEventIdException !== null) {\n        this.unknownPrepEventIdException = args.unknownPrepEventIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new prep_event_Model_ttypes.PrepEventAndId();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownPrepEventIdException = new prep_event_Exceptions_ttypes.UnknownPrepEventIdException();\n          this.unknownPrepEventIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_getPrepEventsById_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownPrepEventIdException !== null && this.unknownPrepEventIdException !== undefined) {\n      output.writeFieldBegin('unknownPrepEventIdException', Thrift.Type.STRUCT, 5);\n      this.unknownPrepEventIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_getPrepEventIdsForLocationInPeriod_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.periodStartInclusive = null;\n    this.periodEndExclusive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.periodStartInclusive !== undefined && args.periodStartInclusive !== null) {\n        this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodStartInclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodStartInclusive is unset!');\n      }\n      if (args.periodEndExclusive !== undefined && args.periodEndExclusive !== null) {\n        this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.periodEndExclusive);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field periodEndExclusive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodStartInclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodStartInclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.periodEndExclusive = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.periodEndExclusive.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_getPrepEventIdsForLocationInPeriod_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodStartInclusive !== null && this.periodStartInclusive !== undefined) {\n      output.writeFieldBegin('periodStartInclusive', Thrift.Type.STRUCT, 3);\n      this.periodStartInclusive.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.periodEndExclusive !== null && this.periodEndExclusive !== undefined) {\n      output.writeFieldBegin('periodEndExclusive', Thrift.Type.STRUCT, 4);\n      this.periodEndExclusive.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_getPrepEventIdsForLocationInPeriod_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [prep_event_Model_ttypes.PrepEventId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new prep_event_Model_ttypes.PrepEventId();\n            elem13.read(input);\n            this.success.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_getPrepEventIdsForLocationInPeriod_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter14 in this.success) {\n        if (this.success.hasOwnProperty(iter14)) {\n          iter14 = this.success[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_getPrepEventOutputProductIdsForLocation_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_getPrepEventOutputProductIdsForLocation_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_getPrepEventOutputProductIdsForLocation_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_Model_ttypes.ProductId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new product_Model_ttypes.ProductId();\n            elem18.read(input);\n            this.success.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_getPrepEventOutputProductIdsForLocation_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter19 in this.success) {\n        if (this.success.hasOwnProperty(iter19)) {\n          iter19 = this.success[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_createPrepEvent_args = class {\n  constructor(args) {\n    this.prepEventTime = null;\n    this.locationId = null;\n    this.actor = null;\n    this.note = null;\n    this.type = null;\n    this.inputQuantityOfProductByProductId = null;\n    this.outputQuantityOfProductByProductId = null;\n    this.outputPriceByProductId = null;\n    if (args) {\n      if (args.prepEventTime !== undefined && args.prepEventTime !== null) {\n        this.prepEventTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.prepEventTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEventTime is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n      if (args.type !== undefined && args.type !== null) {\n        this.type = args.type;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field type is unset!');\n      }\n      if (args.inputQuantityOfProductByProductId !== undefined && args.inputQuantityOfProductByProductId !== null) {\n        this.inputQuantityOfProductByProductId = Thrift.copyList(args.inputQuantityOfProductByProductId, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inputQuantityOfProductByProductId is unset!');\n      }\n      if (args.outputQuantityOfProductByProductId !== undefined && args.outputQuantityOfProductByProductId !== null) {\n        this.outputQuantityOfProductByProductId = Thrift.copyList(args.outputQuantityOfProductByProductId, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field outputQuantityOfProductByProductId is unset!');\n      }\n      if (args.outputPriceByProductId !== undefined && args.outputPriceByProductId !== null) {\n        this.outputPriceByProductId = Thrift.copyList(args.outputPriceByProductId, [product_Model_ttypes.ProductIdAndCost]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field outputPriceByProductId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.prepEventTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.type = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.LIST) {\n          this.inputQuantityOfProductByProductId = [];\n          const _rtmp321 = input.readListBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem23.read(input);\n            this.inputQuantityOfProductByProductId.push(elem23);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.LIST) {\n          this.outputQuantityOfProductByProductId = [];\n          const _rtmp325 = input.readListBegin();\n          const _size24 = _rtmp325.size || 0;\n          for (let _i26 = 0; _i26 < _size24; ++_i26) {\n            let elem27 = null;\n            elem27 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem27.read(input);\n            this.outputQuantityOfProductByProductId.push(elem27);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.LIST) {\n          this.outputPriceByProductId = [];\n          const _rtmp329 = input.readListBegin();\n          const _size28 = _rtmp329.size || 0;\n          for (let _i30 = 0; _i30 < _size28; ++_i30) {\n            let elem31 = null;\n            elem31 = new product_Model_ttypes.ProductIdAndCost();\n            elem31.read(input);\n            this.outputPriceByProductId.push(elem31);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_createPrepEvent_args');\n    if (this.prepEventTime !== null && this.prepEventTime !== undefined) {\n      output.writeFieldBegin('prepEventTime', Thrift.Type.STRUCT, 1);\n      this.prepEventTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 3);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 4);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    if (this.type !== null && this.type !== undefined) {\n      output.writeFieldBegin('type', Thrift.Type.STRING, 5);\n      output.writeString(this.type);\n      output.writeFieldEnd();\n    }\n    if (this.inputQuantityOfProductByProductId !== null && this.inputQuantityOfProductByProductId !== undefined) {\n      output.writeFieldBegin('inputQuantityOfProductByProductId', Thrift.Type.LIST, 6);\n      output.writeListBegin(Thrift.Type.STRUCT, this.inputQuantityOfProductByProductId.length);\n      for (let iter32 in this.inputQuantityOfProductByProductId) {\n        if (this.inputQuantityOfProductByProductId.hasOwnProperty(iter32)) {\n          iter32 = this.inputQuantityOfProductByProductId[iter32];\n          iter32.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.outputQuantityOfProductByProductId !== null && this.outputQuantityOfProductByProductId !== undefined) {\n      output.writeFieldBegin('outputQuantityOfProductByProductId', Thrift.Type.LIST, 7);\n      output.writeListBegin(Thrift.Type.STRUCT, this.outputQuantityOfProductByProductId.length);\n      for (let iter33 in this.outputQuantityOfProductByProductId) {\n        if (this.outputQuantityOfProductByProductId.hasOwnProperty(iter33)) {\n          iter33 = this.outputQuantityOfProductByProductId[iter33];\n          iter33.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.outputPriceByProductId !== null && this.outputPriceByProductId !== undefined) {\n      output.writeFieldBegin('outputPriceByProductId', Thrift.Type.LIST, 8);\n      output.writeListBegin(Thrift.Type.STRUCT, this.outputPriceByProductId.length);\n      for (let iter34 in this.outputPriceByProductId) {\n        if (this.outputPriceByProductId.hasOwnProperty(iter34)) {\n          iter34 = this.outputPriceByProductId[iter34];\n          iter34.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_createPrepEvent_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new prep_event_Model_ttypes.PrepEventId(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new prep_event_Model_ttypes.PrepEventId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_createPrepEvent_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_deletePrepEvent_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.prepEventId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.prepEventId !== undefined && args.prepEventId !== null) {\n        this.prepEventId = new prep_event_Model_ttypes.PrepEventId(args.prepEventId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEventId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventId = new prep_event_Model_ttypes.PrepEventId();\n          this.prepEventId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_deletePrepEvent_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.prepEventId !== null && this.prepEventId !== undefined) {\n      output.writeFieldBegin('prepEventId', Thrift.Type.STRUCT, 2);\n      this.prepEventId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_deletePrepEvent_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownPrepEventIdException = null;\n    this.prepEventIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException) {\n        this.unknownPrepEventIdException = args;\n        return;\n    }\n    if (args instanceof prep_event_Exceptions_ttypes.PrepEventIsDeletedException) {\n        this.prepEventIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownPrepEventIdException !== undefined && args.unknownPrepEventIdException !== null) {\n        this.unknownPrepEventIdException = args.unknownPrepEventIdException;\n      }\n      if (args.prepEventIsDeletedException !== undefined && args.prepEventIsDeletedException !== null) {\n        this.prepEventIsDeletedException = args.prepEventIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownPrepEventIdException = new prep_event_Exceptions_ttypes.UnknownPrepEventIdException();\n          this.unknownPrepEventIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventIsDeletedException = new prep_event_Exceptions_ttypes.PrepEventIsDeletedException();\n          this.prepEventIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_deletePrepEvent_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownPrepEventIdException !== null && this.unknownPrepEventIdException !== undefined) {\n      output.writeFieldBegin('unknownPrepEventIdException', Thrift.Type.STRUCT, 5);\n      this.unknownPrepEventIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.prepEventIsDeletedException !== null && this.prepEventIsDeletedException !== undefined) {\n      output.writeFieldBegin('prepEventIsDeletedException', Thrift.Type.STRUCT, 6);\n      this.prepEventIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_updatePrepEvent_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.prepEventId = null;\n    this.prepEventTime = null;\n    this.note = null;\n    this.type = null;\n    this.inputQuantityOfProductByProductId = null;\n    this.outputQuantityOfProductByProductId = null;\n    this.outputPriceByProductId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.prepEventId !== undefined && args.prepEventId !== null) {\n        this.prepEventId = new prep_event_Model_ttypes.PrepEventId(args.prepEventId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEventId is unset!');\n      }\n      if (args.prepEventTime !== undefined && args.prepEventTime !== null) {\n        this.prepEventTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.prepEventTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEventTime is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n      if (args.type !== undefined && args.type !== null) {\n        this.type = args.type;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field type is unset!');\n      }\n      if (args.inputQuantityOfProductByProductId !== undefined && args.inputQuantityOfProductByProductId !== null) {\n        this.inputQuantityOfProductByProductId = Thrift.copyList(args.inputQuantityOfProductByProductId, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inputQuantityOfProductByProductId is unset!');\n      }\n      if (args.outputQuantityOfProductByProductId !== undefined && args.outputQuantityOfProductByProductId !== null) {\n        this.outputQuantityOfProductByProductId = Thrift.copyList(args.outputQuantityOfProductByProductId, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field outputQuantityOfProductByProductId is unset!');\n      }\n      if (args.outputPriceByProductId !== undefined && args.outputPriceByProductId !== null) {\n        this.outputPriceByProductId = Thrift.copyList(args.outputPriceByProductId, [product_Model_ttypes.ProductIdAndCost]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field outputPriceByProductId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventId = new prep_event_Model_ttypes.PrepEventId();\n          this.prepEventId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.prepEventTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.type = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.LIST) {\n          this.inputQuantityOfProductByProductId = [];\n          const _rtmp336 = input.readListBegin();\n          const _size35 = _rtmp336.size || 0;\n          for (let _i37 = 0; _i37 < _size35; ++_i37) {\n            let elem38 = null;\n            elem38 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem38.read(input);\n            this.inputQuantityOfProductByProductId.push(elem38);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.LIST) {\n          this.outputQuantityOfProductByProductId = [];\n          const _rtmp340 = input.readListBegin();\n          const _size39 = _rtmp340.size || 0;\n          for (let _i41 = 0; _i41 < _size39; ++_i41) {\n            let elem42 = null;\n            elem42 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem42.read(input);\n            this.outputQuantityOfProductByProductId.push(elem42);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.LIST) {\n          this.outputPriceByProductId = [];\n          const _rtmp344 = input.readListBegin();\n          const _size43 = _rtmp344.size || 0;\n          for (let _i45 = 0; _i45 < _size43; ++_i45) {\n            let elem46 = null;\n            elem46 = new product_Model_ttypes.ProductIdAndCost();\n            elem46.read(input);\n            this.outputPriceByProductId.push(elem46);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_updatePrepEvent_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.prepEventId !== null && this.prepEventId !== undefined) {\n      output.writeFieldBegin('prepEventId', Thrift.Type.STRUCT, 2);\n      this.prepEventId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.prepEventTime !== null && this.prepEventTime !== undefined) {\n      output.writeFieldBegin('prepEventTime', Thrift.Type.STRUCT, 3);\n      this.prepEventTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 4);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    if (this.type !== null && this.type !== undefined) {\n      output.writeFieldBegin('type', Thrift.Type.STRING, 5);\n      output.writeString(this.type);\n      output.writeFieldEnd();\n    }\n    if (this.inputQuantityOfProductByProductId !== null && this.inputQuantityOfProductByProductId !== undefined) {\n      output.writeFieldBegin('inputQuantityOfProductByProductId', Thrift.Type.LIST, 6);\n      output.writeListBegin(Thrift.Type.STRUCT, this.inputQuantityOfProductByProductId.length);\n      for (let iter47 in this.inputQuantityOfProductByProductId) {\n        if (this.inputQuantityOfProductByProductId.hasOwnProperty(iter47)) {\n          iter47 = this.inputQuantityOfProductByProductId[iter47];\n          iter47.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.outputQuantityOfProductByProductId !== null && this.outputQuantityOfProductByProductId !== undefined) {\n      output.writeFieldBegin('outputQuantityOfProductByProductId', Thrift.Type.LIST, 7);\n      output.writeListBegin(Thrift.Type.STRUCT, this.outputQuantityOfProductByProductId.length);\n      for (let iter48 in this.outputQuantityOfProductByProductId) {\n        if (this.outputQuantityOfProductByProductId.hasOwnProperty(iter48)) {\n          iter48 = this.outputQuantityOfProductByProductId[iter48];\n          iter48.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.outputPriceByProductId !== null && this.outputPriceByProductId !== undefined) {\n      output.writeFieldBegin('outputPriceByProductId', Thrift.Type.LIST, 8);\n      output.writeListBegin(Thrift.Type.STRUCT, this.outputPriceByProductId.length);\n      for (let iter49 in this.outputPriceByProductId) {\n        if (this.outputPriceByProductId.hasOwnProperty(iter49)) {\n          iter49 = this.outputPriceByProductId[iter49];\n          iter49.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventService_updatePrepEvent_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownPrepEventIdException = null;\n    this.prepEventIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException) {\n        this.unknownPrepEventIdException = args;\n        return;\n    }\n    if (args instanceof prep_event_Exceptions_ttypes.PrepEventIsDeletedException) {\n        this.prepEventIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownPrepEventIdException !== undefined && args.unknownPrepEventIdException !== null) {\n        this.unknownPrepEventIdException = args.unknownPrepEventIdException;\n      }\n      if (args.prepEventIsDeletedException !== undefined && args.prepEventIsDeletedException !== null) {\n        this.prepEventIsDeletedException = args.prepEventIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownPrepEventIdException = new prep_event_Exceptions_ttypes.UnknownPrepEventIdException();\n          this.unknownPrepEventIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventIsDeletedException = new prep_event_Exceptions_ttypes.PrepEventIsDeletedException();\n          this.prepEventIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventService_updatePrepEvent_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownPrepEventIdException !== null && this.unknownPrepEventIdException !== undefined) {\n      output.writeFieldBegin('unknownPrepEventIdException', Thrift.Type.STRUCT, 5);\n      this.unknownPrepEventIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.prepEventIsDeletedException !== null && this.prepEventIsDeletedException !== undefined) {\n      output.writeFieldBegin('prepEventIsDeletedException', Thrift.Type.STRUCT, 6);\n      this.prepEventIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventServiceClient = exports.Client = class PrepEventServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  getPrepEventsById (actor, prepEventIdSet) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getPrepEventsById(actor, prepEventIdSet);\n    });\n  }\n\n  send_getPrepEventsById (actor, prepEventIdSet) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      prepEventIdSet: prepEventIdSet\n    };\n    const args = new PrepEventService_getPrepEventsById_args(params);\n    try {\n      output.writeMessageBegin('getPrepEventsById', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getPrepEventsById (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PrepEventService_getPrepEventsById_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownPrepEventIdException) {\n      return callback(result.unknownPrepEventIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getPrepEventsById failed: unknown result');\n  }\n\n  getPrepEventIdsForLocationInPeriod (actor, locationId, periodStartInclusive, periodEndExclusive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getPrepEventIdsForLocationInPeriod(actor, locationId, periodStartInclusive, periodEndExclusive);\n    });\n  }\n\n  send_getPrepEventIdsForLocationInPeriod (actor, locationId, periodStartInclusive, periodEndExclusive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      periodStartInclusive: periodStartInclusive,\n      periodEndExclusive: periodEndExclusive\n    };\n    const args = new PrepEventService_getPrepEventIdsForLocationInPeriod_args(params);\n    try {\n      output.writeMessageBegin('getPrepEventIdsForLocationInPeriod', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getPrepEventIdsForLocationInPeriod (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PrepEventService_getPrepEventIdsForLocationInPeriod_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getPrepEventIdsForLocationInPeriod failed: unknown result');\n  }\n\n  getPrepEventOutputProductIdsForLocation (actor, locationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getPrepEventOutputProductIdsForLocation(actor, locationId);\n    });\n  }\n\n  send_getPrepEventOutputProductIdsForLocation (actor, locationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId\n    };\n    const args = new PrepEventService_getPrepEventOutputProductIdsForLocation_args(params);\n    try {\n      output.writeMessageBegin('getPrepEventOutputProductIdsForLocation', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getPrepEventOutputProductIdsForLocation (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PrepEventService_getPrepEventOutputProductIdsForLocation_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getPrepEventOutputProductIdsForLocation failed: unknown result');\n  }\n\n  createPrepEvent (prepEventTime, locationId, actor, note, type, inputQuantityOfProductByProductId, outputQuantityOfProductByProductId, outputPriceByProductId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createPrepEvent(prepEventTime, locationId, actor, note, type, inputQuantityOfProductByProductId, outputQuantityOfProductByProductId, outputPriceByProductId);\n    });\n  }\n\n  send_createPrepEvent (prepEventTime, locationId, actor, note, type, inputQuantityOfProductByProductId, outputQuantityOfProductByProductId, outputPriceByProductId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      prepEventTime: prepEventTime,\n      locationId: locationId,\n      actor: actor,\n      note: note,\n      type: type,\n      inputQuantityOfProductByProductId: inputQuantityOfProductByProductId,\n      outputQuantityOfProductByProductId: outputQuantityOfProductByProductId,\n      outputPriceByProductId: outputPriceByProductId\n    };\n    const args = new PrepEventService_createPrepEvent_args(params);\n    try {\n      output.writeMessageBegin('createPrepEvent', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createPrepEvent (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PrepEventService_createPrepEvent_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createPrepEvent failed: unknown result');\n  }\n\n  deletePrepEvent (actor, prepEventId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deletePrepEvent(actor, prepEventId);\n    });\n  }\n\n  send_deletePrepEvent (actor, prepEventId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      prepEventId: prepEventId\n    };\n    const args = new PrepEventService_deletePrepEvent_args(params);\n    try {\n      output.writeMessageBegin('deletePrepEvent', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deletePrepEvent (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PrepEventService_deletePrepEvent_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownPrepEventIdException) {\n      return callback(result.unknownPrepEventIdException);\n    }\n    if (null !== result.prepEventIsDeletedException) {\n      return callback(result.prepEventIsDeletedException);\n    }\n    callback(null);\n  }\n\n  updatePrepEvent (actor, prepEventId, prepEventTime, note, type, inputQuantityOfProductByProductId, outputQuantityOfProductByProductId, outputPriceByProductId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updatePrepEvent(actor, prepEventId, prepEventTime, note, type, inputQuantityOfProductByProductId, outputQuantityOfProductByProductId, outputPriceByProductId);\n    });\n  }\n\n  send_updatePrepEvent (actor, prepEventId, prepEventTime, note, type, inputQuantityOfProductByProductId, outputQuantityOfProductByProductId, outputPriceByProductId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      prepEventId: prepEventId,\n      prepEventTime: prepEventTime,\n      note: note,\n      type: type,\n      inputQuantityOfProductByProductId: inputQuantityOfProductByProductId,\n      outputQuantityOfProductByProductId: outputQuantityOfProductByProductId,\n      outputPriceByProductId: outputPriceByProductId\n    };\n    const args = new PrepEventService_updatePrepEvent_args(params);\n    try {\n      output.writeMessageBegin('updatePrepEvent', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updatePrepEvent (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PrepEventService_updatePrepEvent_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownPrepEventIdException) {\n      return callback(result.unknownPrepEventIdException);\n    }\n    if (null !== result.prepEventIsDeletedException) {\n      return callback(result.prepEventIsDeletedException);\n    }\n    callback(null);\n  }\n};\nconst PrepEventServiceProcessor = exports.Processor = class PrepEventServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_getPrepEventsById (seqid, input, output) {\n    const args = new PrepEventService_getPrepEventsById_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getPrepEventsById.length === 2) {\n      Promise.resolve(this._handler.getPrepEventsById.bind(this._handler)(\n        args.actor,\n        args.prepEventIdSet\n      )).then(result => {\n        const result_obj = new PrepEventService_getPrepEventsById_result({success: result});\n        output.writeMessageBegin(\"getPrepEventsById\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException) {\n          result = new PrepEventService_getPrepEventsById_result(err);\n          output.writeMessageBegin(\"getPrepEventsById\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getPrepEventsById\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getPrepEventsById(args.actor, args.prepEventIdSet, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException) {\n          result_obj = new PrepEventService_getPrepEventsById_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getPrepEventsById\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getPrepEventsById\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getPrepEventIdsForLocationInPeriod (seqid, input, output) {\n    const args = new PrepEventService_getPrepEventIdsForLocationInPeriod_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getPrepEventIdsForLocationInPeriod.length === 4) {\n      Promise.resolve(this._handler.getPrepEventIdsForLocationInPeriod.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.periodStartInclusive,\n        args.periodEndExclusive\n      )).then(result => {\n        const result_obj = new PrepEventService_getPrepEventIdsForLocationInPeriod_result({success: result});\n        output.writeMessageBegin(\"getPrepEventIdsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new PrepEventService_getPrepEventIdsForLocationInPeriod_result(err);\n          output.writeMessageBegin(\"getPrepEventIdsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getPrepEventIdsForLocationInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getPrepEventIdsForLocationInPeriod(args.actor, args.locationId, args.periodStartInclusive, args.periodEndExclusive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new PrepEventService_getPrepEventIdsForLocationInPeriod_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getPrepEventIdsForLocationInPeriod\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getPrepEventIdsForLocationInPeriod\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getPrepEventOutputProductIdsForLocation (seqid, input, output) {\n    const args = new PrepEventService_getPrepEventOutputProductIdsForLocation_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getPrepEventOutputProductIdsForLocation.length === 2) {\n      Promise.resolve(this._handler.getPrepEventOutputProductIdsForLocation.bind(this._handler)(\n        args.actor,\n        args.locationId\n      )).then(result => {\n        const result_obj = new PrepEventService_getPrepEventOutputProductIdsForLocation_result({success: result});\n        output.writeMessageBegin(\"getPrepEventOutputProductIdsForLocation\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new PrepEventService_getPrepEventOutputProductIdsForLocation_result(err);\n          output.writeMessageBegin(\"getPrepEventOutputProductIdsForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getPrepEventOutputProductIdsForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getPrepEventOutputProductIdsForLocation(args.actor, args.locationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new PrepEventService_getPrepEventOutputProductIdsForLocation_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getPrepEventOutputProductIdsForLocation\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getPrepEventOutputProductIdsForLocation\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createPrepEvent (seqid, input, output) {\n    const args = new PrepEventService_createPrepEvent_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createPrepEvent.length === 8) {\n      Promise.resolve(this._handler.createPrepEvent.bind(this._handler)(\n        args.prepEventTime,\n        args.locationId,\n        args.actor,\n        args.note,\n        args.type,\n        args.inputQuantityOfProductByProductId,\n        args.outputQuantityOfProductByProductId,\n        args.outputPriceByProductId\n      )).then(result => {\n        const result_obj = new PrepEventService_createPrepEvent_result({success: result});\n        output.writeMessageBegin(\"createPrepEvent\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new PrepEventService_createPrepEvent_result(err);\n          output.writeMessageBegin(\"createPrepEvent\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createPrepEvent\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createPrepEvent(args.prepEventTime, args.locationId, args.actor, args.note, args.type, args.inputQuantityOfProductByProductId, args.outputQuantityOfProductByProductId, args.outputPriceByProductId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new PrepEventService_createPrepEvent_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createPrepEvent\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createPrepEvent\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deletePrepEvent (seqid, input, output) {\n    const args = new PrepEventService_deletePrepEvent_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deletePrepEvent.length === 2) {\n      Promise.resolve(this._handler.deletePrepEvent.bind(this._handler)(\n        args.actor,\n        args.prepEventId\n      )).then(result => {\n        const result_obj = new PrepEventService_deletePrepEvent_result({success: result});\n        output.writeMessageBegin(\"deletePrepEvent\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException || err instanceof prep_event_Exceptions_ttypes.PrepEventIsDeletedException) {\n          result = new PrepEventService_deletePrepEvent_result(err);\n          output.writeMessageBegin(\"deletePrepEvent\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deletePrepEvent\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deletePrepEvent(args.actor, args.prepEventId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException || err instanceof prep_event_Exceptions_ttypes.PrepEventIsDeletedException) {\n          result_obj = new PrepEventService_deletePrepEvent_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deletePrepEvent\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deletePrepEvent\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updatePrepEvent (seqid, input, output) {\n    const args = new PrepEventService_updatePrepEvent_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updatePrepEvent.length === 8) {\n      Promise.resolve(this._handler.updatePrepEvent.bind(this._handler)(\n        args.actor,\n        args.prepEventId,\n        args.prepEventTime,\n        args.note,\n        args.type,\n        args.inputQuantityOfProductByProductId,\n        args.outputQuantityOfProductByProductId,\n        args.outputPriceByProductId\n      )).then(result => {\n        const result_obj = new PrepEventService_updatePrepEvent_result({success: result});\n        output.writeMessageBegin(\"updatePrepEvent\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException || err instanceof prep_event_Exceptions_ttypes.PrepEventIsDeletedException) {\n          result = new PrepEventService_updatePrepEvent_result(err);\n          output.writeMessageBegin(\"updatePrepEvent\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updatePrepEvent\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updatePrepEvent(args.actor, args.prepEventId, args.prepEventTime, args.note, args.type, args.inputQuantityOfProductByProductId, args.outputQuantityOfProductByProductId, args.outputPriceByProductId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof prep_event_Exceptions_ttypes.UnknownPrepEventIdException || err instanceof prep_event_Exceptions_ttypes.PrepEventIsDeletedException) {\n          result_obj = new PrepEventService_updatePrepEvent_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updatePrepEvent\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updatePrepEvent\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst inventory_Exceptions_ttypes = require('./inventory_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_cost_Model_ttypes = require('./product_cost_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = require('./product_cost_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst ProductCostService_setProductCostAtInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.inventoryCountId = null;\n    this.productCost = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.productCost !== undefined && args.productCost !== null) {\n        this.productCost = new product_Model_ttypes.ProductCost(args.productCost);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCost is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productCost = new product_Model_ttypes.ProductCost();\n          this.productCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_setProductCostAtInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 3);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCost !== null && this.productCost !== undefined) {\n      output.writeFieldBegin('productCost', Thrift.Type.STRUCT, 4);\n      this.productCost.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 5);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_setProductCostAtInventoryCount_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    this.unitIncompatibleWithProductPackageException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnitIncompatibleWithProductPackageException) {\n        this.unitIncompatibleWithProductPackageException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n      if (args.unitIncompatibleWithProductPackageException !== undefined && args.unitIncompatibleWithProductPackageException !== null) {\n        this.unitIncompatibleWithProductPackageException = args.unitIncompatibleWithProductPackageException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unitIncompatibleWithProductPackageException = new product_Exceptions_ttypes.UnitIncompatibleWithProductPackageException();\n          this.unitIncompatibleWithProductPackageException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_setProductCostAtInventoryCount_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 6);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 7);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unitIncompatibleWithProductPackageException !== null && this.unitIncompatibleWithProductPackageException !== undefined) {\n      output.writeFieldBegin('unitIncompatibleWithProductPackageException', Thrift.Type.STRUCT, 8);\n      this.unitIncompatibleWithProductPackageException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_setCurrentProductCost_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.productCost = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productCost !== undefined && args.productCost !== null) {\n        this.productCost = new product_Model_ttypes.ProductCost(args.productCost);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCost is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productCost = new product_Model_ttypes.ProductCost();\n          this.productCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_setCurrentProductCost_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCost !== null && this.productCost !== undefined) {\n      output.writeFieldBegin('productCost', Thrift.Type.STRUCT, 3);\n      this.productCost.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 4);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_setCurrentProductCost_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unitIncompatibleWithProductPackageException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnitIncompatibleWithProductPackageException) {\n        this.unitIncompatibleWithProductPackageException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unitIncompatibleWithProductPackageException !== undefined && args.unitIncompatibleWithProductPackageException !== null) {\n        this.unitIncompatibleWithProductPackageException = args.unitIncompatibleWithProductPackageException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unitIncompatibleWithProductPackageException = new product_Exceptions_ttypes.UnitIncompatibleWithProductPackageException();\n          this.unitIncompatibleWithProductPackageException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_setCurrentProductCost_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unitIncompatibleWithProductPackageException !== null && this.unitIncompatibleWithProductPackageException !== undefined) {\n      output.writeFieldBegin('unitIncompatibleWithProductPackageException', Thrift.Type.STRUCT, 6);\n      this.unitIncompatibleWithProductPackageException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_setProductCostAtTime_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.productCost = null;\n    this.clientTimestamp = null;\n    this.eventTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productCost !== undefined && args.productCost !== null) {\n        this.productCost = new product_Model_ttypes.ProductCost(args.productCost);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCost is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n      if (args.eventTimestamp !== undefined && args.eventTimestamp !== null) {\n        this.eventTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.eventTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field eventTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productCost = new product_Model_ttypes.ProductCost();\n          this.productCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.eventTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.eventTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_setProductCostAtTime_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCost !== null && this.productCost !== undefined) {\n      output.writeFieldBegin('productCost', Thrift.Type.STRUCT, 4);\n      this.productCost.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 5);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.eventTimestamp !== null && this.eventTimestamp !== undefined) {\n      output.writeFieldBegin('eventTimestamp', Thrift.Type.STRUCT, 6);\n      this.eventTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_setProductCostAtTime_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_setProductCostAtTime_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getProductCostsByProductIdAtInventoryCount_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productIdSet = null;\n    this.inventoryCountId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productIdSet !== undefined && args.productIdSet !== null) {\n        this.productIdSet = Thrift.copyList(args.productIdSet, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIdSet is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIdSet = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductId();\n            elem3.read(input);\n            this.productIdSet.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getProductCostsByProductIdAtInventoryCount_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIdSet !== null && this.productIdSet !== undefined) {\n      output.writeFieldBegin('productIdSet', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIdSet.length);\n      for (let iter4 in this.productIdSet) {\n        if (this.productIdSet.hasOwnProperty(iter4)) {\n          iter4 = this.productIdSet[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 3);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getProductCostsByProductIdAtInventoryCount_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_Model_ttypes.ProductIdAndCost]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new product_Model_ttypes.ProductIdAndCost();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getProductCostsByProductIdAtInventoryCount_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 6);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 7);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getProductCostsByProductIdByInventoryId_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productIdSet = null;\n    this.inventoryCountIdSet = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productIdSet !== undefined && args.productIdSet !== null) {\n        this.productIdSet = Thrift.copyList(args.productIdSet, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIdSet is unset!');\n      }\n      if (args.inventoryCountIdSet !== undefined && args.inventoryCountIdSet !== null) {\n        this.inventoryCountIdSet = Thrift.copyList(args.inventoryCountIdSet, [inventory_Model_ttypes.InventoryCountId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountIdSet is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIdSet = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new product_Model_ttypes.ProductId();\n            elem13.read(input);\n            this.productIdSet.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.inventoryCountIdSet = [];\n          const _rtmp315 = input.readListBegin();\n          const _size14 = _rtmp315.size || 0;\n          for (let _i16 = 0; _i16 < _size14; ++_i16) {\n            let elem17 = null;\n            elem17 = new inventory_Model_ttypes.InventoryCountId();\n            elem17.read(input);\n            this.inventoryCountIdSet.push(elem17);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getProductCostsByProductIdByInventoryId_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIdSet !== null && this.productIdSet !== undefined) {\n      output.writeFieldBegin('productIdSet', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIdSet.length);\n      for (let iter18 in this.productIdSet) {\n        if (this.productIdSet.hasOwnProperty(iter18)) {\n          iter18 = this.productIdSet[iter18];\n          iter18.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIdSet !== null && this.inventoryCountIdSet !== undefined) {\n      output.writeFieldBegin('inventoryCountIdSet', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.inventoryCountIdSet.length);\n      for (let iter19 in this.inventoryCountIdSet) {\n        if (this.inventoryCountIdSet.hasOwnProperty(iter19)) {\n          iter19 = this.inventoryCountIdSet[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getProductCostsByProductIdByInventoryId_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownInventoryCountIdException = null;\n    this.inventoryCountIsDeletedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException) {\n        this.unknownInventoryCountIdException = args;\n        return;\n    }\n    if (args instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n        this.inventoryCountIsDeletedException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_cost_Model_ttypes.InventoryIdAndProductIdAndProductCost]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownInventoryCountIdException !== undefined && args.unknownInventoryCountIdException !== null) {\n        this.unknownInventoryCountIdException = args.unknownInventoryCountIdException;\n      }\n      if (args.inventoryCountIsDeletedException !== undefined && args.inventoryCountIsDeletedException !== null) {\n        this.inventoryCountIsDeletedException = args.inventoryCountIsDeletedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp321 = input.readListBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new product_cost_Model_ttypes.InventoryIdAndProductIdAndProductCost();\n            elem23.read(input);\n            this.success.push(elem23);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownInventoryCountIdException = new inventory_Exceptions_ttypes.UnknownInventoryCountIdException();\n          this.unknownInventoryCountIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountIsDeletedException = new inventory_Exceptions_ttypes.InventoryCountIsDeletedException();\n          this.inventoryCountIsDeletedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getProductCostsByProductIdByInventoryId_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter24 in this.success) {\n        if (this.success.hasOwnProperty(iter24)) {\n          iter24 = this.success[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownInventoryCountIdException !== null && this.unknownInventoryCountIdException !== undefined) {\n      output.writeFieldBegin('unknownInventoryCountIdException', Thrift.Type.STRUCT, 6);\n      this.unknownInventoryCountIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountIsDeletedException !== null && this.inventoryCountIsDeletedException !== undefined) {\n      output.writeFieldBegin('inventoryCountIsDeletedException', Thrift.Type.STRUCT, 7);\n      this.inventoryCountIsDeletedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getCurrentProductCostsByProductId_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productIdSet = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productIdSet !== undefined && args.productIdSet !== null) {\n        this.productIdSet = Thrift.copyList(args.productIdSet, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIdSet is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIdSet = [];\n          const _rtmp326 = input.readListBegin();\n          const _size25 = _rtmp326.size || 0;\n          for (let _i27 = 0; _i27 < _size25; ++_i27) {\n            let elem28 = null;\n            elem28 = new product_Model_ttypes.ProductId();\n            elem28.read(input);\n            this.productIdSet.push(elem28);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getCurrentProductCostsByProductId_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIdSet !== null && this.productIdSet !== undefined) {\n      output.writeFieldBegin('productIdSet', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIdSet.length);\n      for (let iter29 in this.productIdSet) {\n        if (this.productIdSet.hasOwnProperty(iter29)) {\n          iter29 = this.productIdSet[iter29];\n          iter29.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getCurrentProductCostsByProductId_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_Model_ttypes.ProductIdAndCost]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp331 = input.readListBegin();\n          const _size30 = _rtmp331.size || 0;\n          for (let _i32 = 0; _i32 < _size30; ++_i32) {\n            let elem33 = null;\n            elem33 = new product_Model_ttypes.ProductIdAndCost();\n            elem33.read(input);\n            this.success.push(elem33);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getCurrentProductCostsByProductId_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter34 in this.success) {\n        if (this.success.hasOwnProperty(iter34)) {\n          iter34 = this.success[iter34];\n          iter34.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getProductCostsByProductIdAtTime_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productIdSet = null;\n    this.timestamp = null;\n    this.locationIdentifier = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productIdSet !== undefined && args.productIdSet !== null) {\n        this.productIdSet = Thrift.copyList(args.productIdSet, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIdSet is unset!');\n      }\n      if (args.timestamp !== undefined && args.timestamp !== null) {\n        this.timestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.timestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field timestamp is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIdSet = [];\n          const _rtmp336 = input.readListBegin();\n          const _size35 = _rtmp336.size || 0;\n          for (let _i37 = 0; _i37 < _size35; ++_i37) {\n            let elem38 = null;\n            elem38 = new product_Model_ttypes.ProductId();\n            elem38.read(input);\n            this.productIdSet.push(elem38);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.timestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.timestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getProductCostsByProductIdAtTime_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIdSet !== null && this.productIdSet !== undefined) {\n      output.writeFieldBegin('productIdSet', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIdSet.length);\n      for (let iter39 in this.productIdSet) {\n        if (this.productIdSet.hasOwnProperty(iter39)) {\n          iter39 = this.productIdSet[iter39];\n          iter39.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.timestamp !== null && this.timestamp !== undefined) {\n      output.writeFieldBegin('timestamp', Thrift.Type.STRUCT, 3);\n      this.timestamp.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 4);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getProductCostsByProductIdAtTime_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_Model_ttypes.ProductIdAndCost]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp341 = input.readListBegin();\n          const _size40 = _rtmp341.size || 0;\n          for (let _i42 = 0; _i42 < _size40; ++_i42) {\n            let elem43 = null;\n            elem43 = new product_Model_ttypes.ProductIdAndCost();\n            elem43.read(input);\n            this.success.push(elem43);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getProductCostsByProductIdAtTime_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter44 in this.success) {\n        if (this.success.hasOwnProperty(iter44)) {\n          iter44 = this.success[iter44];\n          iter44.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getInitialProductCosts_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    this.productIdSet = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n      if (args.productIdSet !== undefined && args.productIdSet !== null) {\n        this.productIdSet = Thrift.copyList(args.productIdSet, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIdSet is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIdSet = [];\n          const _rtmp346 = input.readListBegin();\n          const _size45 = _rtmp346.size || 0;\n          for (let _i47 = 0; _i47 < _size45; ++_i47) {\n            let elem48 = null;\n            elem48 = new product_Model_ttypes.ProductId();\n            elem48.read(input);\n            this.productIdSet.push(elem48);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getInitialProductCosts_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIdSet !== null && this.productIdSet !== undefined) {\n      output.writeFieldBegin('productIdSet', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIdSet.length);\n      for (let iter49 in this.productIdSet) {\n        if (this.productIdSet.hasOwnProperty(iter49)) {\n          iter49 = this.productIdSet[iter49];\n          iter49.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostService_getInitialProductCosts_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_Model_ttypes.ProductCostSettingEvent]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp351 = input.readListBegin();\n          const _size50 = _rtmp351.size || 0;\n          for (let _i52 = 0; _i52 < _size50; ++_i52) {\n            let elem53 = null;\n            elem53 = new product_Model_ttypes.ProductCostSettingEvent();\n            elem53.read(input);\n            this.success.push(elem53);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostService_getInitialProductCosts_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter54 in this.success) {\n        if (this.success.hasOwnProperty(iter54)) {\n          iter54 = this.success[iter54];\n          iter54.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostServiceClient = exports.Client = class ProductCostServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  setProductCostAtInventoryCount (actor, productId, inventoryCountId, productCost, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setProductCostAtInventoryCount(actor, productId, inventoryCountId, productCost, clientTimestamp);\n    });\n  }\n\n  send_setProductCostAtInventoryCount (actor, productId, inventoryCountId, productCost, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      inventoryCountId: inventoryCountId,\n      productCost: productCost,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new ProductCostService_setProductCostAtInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('setProductCostAtInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setProductCostAtInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductCostService_setProductCostAtInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    if (null !== result.unitIncompatibleWithProductPackageException) {\n      return callback(result.unitIncompatibleWithProductPackageException);\n    }\n    callback(null);\n  }\n\n  setCurrentProductCost (actor, productId, productCost, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setCurrentProductCost(actor, productId, productCost, clientTimestamp);\n    });\n  }\n\n  send_setCurrentProductCost (actor, productId, productCost, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      productCost: productCost,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new ProductCostService_setCurrentProductCost_args(params);\n    try {\n      output.writeMessageBegin('setCurrentProductCost', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setCurrentProductCost (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductCostService_setCurrentProductCost_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unitIncompatibleWithProductPackageException) {\n      return callback(result.unitIncompatibleWithProductPackageException);\n    }\n    callback(null);\n  }\n\n  setProductCostAtTime (actor, productId, productCost, clientTimestamp, eventTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setProductCostAtTime(actor, productId, productCost, clientTimestamp, eventTimestamp);\n    });\n  }\n\n  send_setProductCostAtTime (actor, productId, productCost, clientTimestamp, eventTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      productCost: productCost,\n      clientTimestamp: clientTimestamp,\n      eventTimestamp: eventTimestamp\n    };\n    const args = new ProductCostService_setProductCostAtTime_args(params);\n    try {\n      output.writeMessageBegin('setProductCostAtTime', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setProductCostAtTime (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductCostService_setProductCostAtTime_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    callback(null);\n  }\n\n  getProductCostsByProductIdAtInventoryCount (actor, productIdSet, inventoryCountId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getProductCostsByProductIdAtInventoryCount(actor, productIdSet, inventoryCountId);\n    });\n  }\n\n  send_getProductCostsByProductIdAtInventoryCount (actor, productIdSet, inventoryCountId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productIdSet: productIdSet,\n      inventoryCountId: inventoryCountId\n    };\n    const args = new ProductCostService_getProductCostsByProductIdAtInventoryCount_args(params);\n    try {\n      output.writeMessageBegin('getProductCostsByProductIdAtInventoryCount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getProductCostsByProductIdAtInventoryCount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductCostService_getProductCostsByProductIdAtInventoryCount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getProductCostsByProductIdAtInventoryCount failed: unknown result');\n  }\n\n  getProductCostsByProductIdByInventoryId (actor, productIdSet, inventoryCountIdSet) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getProductCostsByProductIdByInventoryId(actor, productIdSet, inventoryCountIdSet);\n    });\n  }\n\n  send_getProductCostsByProductIdByInventoryId (actor, productIdSet, inventoryCountIdSet) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productIdSet: productIdSet,\n      inventoryCountIdSet: inventoryCountIdSet\n    };\n    const args = new ProductCostService_getProductCostsByProductIdByInventoryId_args(params);\n    try {\n      output.writeMessageBegin('getProductCostsByProductIdByInventoryId', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getProductCostsByProductIdByInventoryId (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductCostService_getProductCostsByProductIdByInventoryId_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownInventoryCountIdException) {\n      return callback(result.unknownInventoryCountIdException);\n    }\n    if (null !== result.inventoryCountIsDeletedException) {\n      return callback(result.inventoryCountIsDeletedException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getProductCostsByProductIdByInventoryId failed: unknown result');\n  }\n\n  getCurrentProductCostsByProductId (actor, productIdSet) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getCurrentProductCostsByProductId(actor, productIdSet);\n    });\n  }\n\n  send_getCurrentProductCostsByProductId (actor, productIdSet) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productIdSet: productIdSet\n    };\n    const args = new ProductCostService_getCurrentProductCostsByProductId_args(params);\n    try {\n      output.writeMessageBegin('getCurrentProductCostsByProductId', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getCurrentProductCostsByProductId (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductCostService_getCurrentProductCostsByProductId_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getCurrentProductCostsByProductId failed: unknown result');\n  }\n\n  getProductCostsByProductIdAtTime (actor, productIdSet, timestamp, locationIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getProductCostsByProductIdAtTime(actor, productIdSet, timestamp, locationIdentifier);\n    });\n  }\n\n  send_getProductCostsByProductIdAtTime (actor, productIdSet, timestamp, locationIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productIdSet: productIdSet,\n      timestamp: timestamp,\n      locationIdentifier: locationIdentifier\n    };\n    const args = new ProductCostService_getProductCostsByProductIdAtTime_args(params);\n    try {\n      output.writeMessageBegin('getProductCostsByProductIdAtTime', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getProductCostsByProductIdAtTime (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductCostService_getProductCostsByProductIdAtTime_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getProductCostsByProductIdAtTime failed: unknown result');\n  }\n\n  getInitialProductCosts (actor, locationIdentifier, productIdSet) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getInitialProductCosts(actor, locationIdentifier, productIdSet);\n    });\n  }\n\n  send_getInitialProductCosts (actor, locationIdentifier, productIdSet) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier,\n      productIdSet: productIdSet\n    };\n    const args = new ProductCostService_getInitialProductCosts_args(params);\n    try {\n      output.writeMessageBegin('getInitialProductCosts', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getInitialProductCosts (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductCostService_getInitialProductCosts_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getInitialProductCosts failed: unknown result');\n  }\n};\nconst ProductCostServiceProcessor = exports.Processor = class ProductCostServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_setProductCostAtInventoryCount (seqid, input, output) {\n    const args = new ProductCostService_setProductCostAtInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setProductCostAtInventoryCount.length === 5) {\n      Promise.resolve(this._handler.setProductCostAtInventoryCount.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.inventoryCountId,\n        args.productCost,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new ProductCostService_setProductCostAtInventoryCount_result({success: result});\n        output.writeMessageBegin(\"setProductCostAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException || err instanceof product_Exceptions_ttypes.UnitIncompatibleWithProductPackageException) {\n          result = new ProductCostService_setProductCostAtInventoryCount_result(err);\n          output.writeMessageBegin(\"setProductCostAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductCostAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setProductCostAtInventoryCount(args.actor, args.productId, args.inventoryCountId, args.productCost, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException || err instanceof product_Exceptions_ttypes.UnitIncompatibleWithProductPackageException) {\n          result_obj = new ProductCostService_setProductCostAtInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setProductCostAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductCostAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setCurrentProductCost (seqid, input, output) {\n    const args = new ProductCostService_setCurrentProductCost_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setCurrentProductCost.length === 4) {\n      Promise.resolve(this._handler.setCurrentProductCost.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.productCost,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new ProductCostService_setCurrentProductCost_result({success: result});\n        output.writeMessageBegin(\"setCurrentProductCost\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.UnitIncompatibleWithProductPackageException) {\n          result = new ProductCostService_setCurrentProductCost_result(err);\n          output.writeMessageBegin(\"setCurrentProductCost\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setCurrentProductCost\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setCurrentProductCost(args.actor, args.productId, args.productCost, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.UnitIncompatibleWithProductPackageException) {\n          result_obj = new ProductCostService_setCurrentProductCost_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setCurrentProductCost\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setCurrentProductCost\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setProductCostAtTime (seqid, input, output) {\n    const args = new ProductCostService_setProductCostAtTime_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setProductCostAtTime.length === 5) {\n      Promise.resolve(this._handler.setProductCostAtTime.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.productCost,\n        args.clientTimestamp,\n        args.eventTimestamp\n      )).then(result => {\n        const result_obj = new ProductCostService_setProductCostAtTime_result({success: result});\n        output.writeMessageBegin(\"setProductCostAtTime\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result = new ProductCostService_setProductCostAtTime_result(err);\n          output.writeMessageBegin(\"setProductCostAtTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductCostAtTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setProductCostAtTime(args.actor, args.productId, args.productCost, args.clientTimestamp, args.eventTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result_obj = new ProductCostService_setProductCostAtTime_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setProductCostAtTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setProductCostAtTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getProductCostsByProductIdAtInventoryCount (seqid, input, output) {\n    const args = new ProductCostService_getProductCostsByProductIdAtInventoryCount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getProductCostsByProductIdAtInventoryCount.length === 3) {\n      Promise.resolve(this._handler.getProductCostsByProductIdAtInventoryCount.bind(this._handler)(\n        args.actor,\n        args.productIdSet,\n        args.inventoryCountId\n      )).then(result => {\n        const result_obj = new ProductCostService_getProductCostsByProductIdAtInventoryCount_result({success: result});\n        output.writeMessageBegin(\"getProductCostsByProductIdAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new ProductCostService_getProductCostsByProductIdAtInventoryCount_result(err);\n          output.writeMessageBegin(\"getProductCostsByProductIdAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductCostsByProductIdAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getProductCostsByProductIdAtInventoryCount(args.actor, args.productIdSet, args.inventoryCountId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new ProductCostService_getProductCostsByProductIdAtInventoryCount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getProductCostsByProductIdAtInventoryCount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductCostsByProductIdAtInventoryCount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getProductCostsByProductIdByInventoryId (seqid, input, output) {\n    const args = new ProductCostService_getProductCostsByProductIdByInventoryId_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getProductCostsByProductIdByInventoryId.length === 3) {\n      Promise.resolve(this._handler.getProductCostsByProductIdByInventoryId.bind(this._handler)(\n        args.actor,\n        args.productIdSet,\n        args.inventoryCountIdSet\n      )).then(result => {\n        const result_obj = new ProductCostService_getProductCostsByProductIdByInventoryId_result({success: result});\n        output.writeMessageBegin(\"getProductCostsByProductIdByInventoryId\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result = new ProductCostService_getProductCostsByProductIdByInventoryId_result(err);\n          output.writeMessageBegin(\"getProductCostsByProductIdByInventoryId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductCostsByProductIdByInventoryId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getProductCostsByProductIdByInventoryId(args.actor, args.productIdSet, args.inventoryCountIdSet, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof inventory_Exceptions_ttypes.UnknownInventoryCountIdException || err instanceof inventory_Exceptions_ttypes.InventoryCountIsDeletedException) {\n          result_obj = new ProductCostService_getProductCostsByProductIdByInventoryId_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getProductCostsByProductIdByInventoryId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductCostsByProductIdByInventoryId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getCurrentProductCostsByProductId (seqid, input, output) {\n    const args = new ProductCostService_getCurrentProductCostsByProductId_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getCurrentProductCostsByProductId.length === 2) {\n      Promise.resolve(this._handler.getCurrentProductCostsByProductId.bind(this._handler)(\n        args.actor,\n        args.productIdSet\n      )).then(result => {\n        const result_obj = new ProductCostService_getCurrentProductCostsByProductId_result({success: result});\n        output.writeMessageBegin(\"getCurrentProductCostsByProductId\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result = new ProductCostService_getCurrentProductCostsByProductId_result(err);\n          output.writeMessageBegin(\"getCurrentProductCostsByProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCurrentProductCostsByProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getCurrentProductCostsByProductId(args.actor, args.productIdSet, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result_obj = new ProductCostService_getCurrentProductCostsByProductId_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getCurrentProductCostsByProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCurrentProductCostsByProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getProductCostsByProductIdAtTime (seqid, input, output) {\n    const args = new ProductCostService_getProductCostsByProductIdAtTime_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getProductCostsByProductIdAtTime.length === 4) {\n      Promise.resolve(this._handler.getProductCostsByProductIdAtTime.bind(this._handler)(\n        args.actor,\n        args.productIdSet,\n        args.timestamp,\n        args.locationIdentifier\n      )).then(result => {\n        const result_obj = new ProductCostService_getProductCostsByProductIdAtTime_result({success: result});\n        output.writeMessageBegin(\"getProductCostsByProductIdAtTime\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new ProductCostService_getProductCostsByProductIdAtTime_result(err);\n          output.writeMessageBegin(\"getProductCostsByProductIdAtTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductCostsByProductIdAtTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getProductCostsByProductIdAtTime(args.actor, args.productIdSet, args.timestamp, args.locationIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new ProductCostService_getProductCostsByProductIdAtTime_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getProductCostsByProductIdAtTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductCostsByProductIdAtTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getInitialProductCosts (seqid, input, output) {\n    const args = new ProductCostService_getInitialProductCosts_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getInitialProductCosts.length === 3) {\n      Promise.resolve(this._handler.getInitialProductCosts.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier,\n        args.productIdSet\n      )).then(result => {\n        const result_obj = new ProductCostService_getInitialProductCosts_result({success: result});\n        output.writeMessageBegin(\"getInitialProductCosts\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new ProductCostService_getInitialProductCosts_result(err);\n          output.writeMessageBegin(\"getInitialProductCosts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getInitialProductCosts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getInitialProductCosts(args.actor, args.locationIdentifier, args.productIdSet, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new ProductCostService_getInitialProductCosts_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getInitialProductCosts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getInitialProductCosts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst distributor_Exceptions_ttypes = require('./distributor_Exceptions_types');\nconst distributor_Model_ttypes = require('./distributor_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst product_distributor_Model_ttypes = require('./product_distributor_Model_types');\n\n\nconst ttypes = require('./product_distributor_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productIds = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.SET) {\n          this.productIds = [];\n          const _rtmp31 = input.readSetBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductId();\n            elem3.read(input);\n            this.productIds.push(elem3);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.SET, 2);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter4 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter4)) {\n          iter4 = this.productIds[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.duplicateProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n        this.duplicateProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_distributor_Model_ttypes.ProductPackagingDistributorAssoc]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.duplicateProductIdException !== undefined && args.duplicateProductIdException !== null) {\n        this.duplicateProductIdException = args.duplicateProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new product_distributor_Model_ttypes.ProductPackagingDistributorAssoc();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateProductIdException = new product_Exceptions_ttypes.DuplicateProductIdException();\n          this.duplicateProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateProductIdException !== null && this.duplicateProductIdException !== undefined) {\n      output.writeFieldBegin('duplicateProductIdException', Thrift.Type.STRUCT, 6);\n      this.duplicateProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.assocs = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.assocs !== undefined && args.assocs !== null) {\n        this.assocs = Thrift.copyList(args.assocs, [product_distributor_Model_ttypes.ProductPackagingDistributorAssoc]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field assocs is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.assocs = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new product_distributor_Model_ttypes.ProductPackagingDistributorAssoc();\n            elem13.read(input);\n            this.assocs.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.assocs !== null && this.assocs !== undefined) {\n      output.writeFieldBegin('assocs', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.assocs.length);\n      for (let iter14 in this.assocs) {\n        if (this.assocs.hasOwnProperty(iter14)) {\n          iter14 = this.assocs[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.unknownDistributorIdException = null;\n    this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n        this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== undefined && args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== null) {\n        this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = new product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException();\n          this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 6);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== null && this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== undefined) {\n      output.writeFieldBegin('locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException', Thrift.Type.STRUCT, 7);\n      this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_disassociateDistributorProductPackagingAssocs_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.assocs = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.assocs !== undefined && args.assocs !== null) {\n        this.assocs = Thrift.copyList(args.assocs, [product_distributor_Model_ttypes.ProductPackagingDistributorAssoc]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field assocs is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.assocs = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new product_distributor_Model_ttypes.ProductPackagingDistributorAssoc();\n            elem18.read(input);\n            this.assocs.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_disassociateDistributorProductPackagingAssocs_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.assocs !== null && this.assocs !== undefined) {\n      output.writeFieldBegin('assocs', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.assocs.length);\n      for (let iter19 in this.assocs) {\n        if (this.assocs.hasOwnProperty(iter19)) {\n          iter19 = this.assocs[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_disassociateDistributorProductPackagingAssocs_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.unknownDistributorIdException = null;\n    this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n        this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== undefined && args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== null) {\n        this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = new product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException();\n          this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_disassociateDistributorProductPackagingAssocs_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 6);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== null && this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== undefined) {\n      output.writeFieldBegin('locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException', Thrift.Type.STRUCT, 7);\n      this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_disassociateDistributorFromProductPackagings_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productId = null;\n    this.productQuantityUnits = null;\n    this.distributorId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productQuantityUnits !== undefined && args.productQuantityUnits !== null) {\n        this.productQuantityUnits = Thrift.copyList(args.productQuantityUnits, [product_Model_ttypes.ProductQuantityUnit]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productQuantityUnits is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.SET) {\n          this.productQuantityUnits = [];\n          const _rtmp321 = input.readSetBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new product_Model_ttypes.ProductQuantityUnit();\n            elem23.read(input);\n            this.productQuantityUnits.push(elem23);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_disassociateDistributorFromProductPackagings_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productQuantityUnits !== null && this.productQuantityUnits !== undefined) {\n      output.writeFieldBegin('productQuantityUnits', Thrift.Type.SET, 3);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.productQuantityUnits.length);\n      for (let iter24 in this.productQuantityUnits) {\n        if (this.productQuantityUnits.hasOwnProperty(iter24)) {\n          iter24 = this.productQuantityUnits[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 4);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_disassociateDistributorFromProductPackagings_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.unknownDistributorIdException = null;\n    this.duplicateProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n        this.duplicateProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.duplicateProductIdException !== undefined && args.duplicateProductIdException !== null) {\n        this.duplicateProductIdException = args.duplicateProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateProductIdException = new product_Exceptions_ttypes.DuplicateProductIdException();\n          this.duplicateProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_disassociateDistributorFromProductPackagings_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 6);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateProductIdException !== null && this.duplicateProductIdException !== undefined) {\n      output.writeFieldBegin('duplicateProductIdException', Thrift.Type.STRUCT, 7);\n      this.duplicateProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_disassociateDistributorFromProducts_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productIds = null;\n    this.distributorId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.SET) {\n          this.productIds = [];\n          const _rtmp326 = input.readSetBegin();\n          const _size25 = _rtmp326.size || 0;\n          for (let _i27 = 0; _i27 < _size25; ++_i27) {\n            let elem28 = null;\n            elem28 = new product_Model_ttypes.ProductId();\n            elem28.read(input);\n            this.productIds.push(elem28);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_disassociateDistributorFromProducts_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.SET, 2);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter29 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter29)) {\n          iter29 = this.productIds[iter29];\n          iter29.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 3);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_disassociateDistributorFromProducts_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.unknownDistributorIdException = null;\n    this.duplicateProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n        this.duplicateProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.duplicateProductIdException !== undefined && args.duplicateProductIdException !== null) {\n        this.duplicateProductIdException = args.duplicateProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateProductIdException = new product_Exceptions_ttypes.DuplicateProductIdException();\n          this.duplicateProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_disassociateDistributorFromProducts_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 6);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateProductIdException !== null && this.duplicateProductIdException !== undefined) {\n      output.writeFieldBegin('duplicateProductIdException', Thrift.Type.STRUCT, 7);\n      this.duplicateProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_disassociateAllDistributorsFromProducts_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productIds = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.SET) {\n          this.productIds = [];\n          const _rtmp331 = input.readSetBegin();\n          const _size30 = _rtmp331.size || 0;\n          for (let _i32 = 0; _i32 < _size30; ++_i32) {\n            let elem33 = null;\n            elem33 = new product_Model_ttypes.ProductId();\n            elem33.read(input);\n            this.productIds.push(elem33);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_disassociateAllDistributorsFromProducts_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.SET, 2);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter34 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter34)) {\n          iter34 = this.productIds[iter34];\n          iter34.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorService_disassociateAllDistributorsFromProducts_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.unknownDistributorIdException = null;\n    this.duplicateProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n        this.duplicateProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.duplicateProductIdException !== undefined && args.duplicateProductIdException !== null) {\n        this.duplicateProductIdException = args.duplicateProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateProductIdException = new product_Exceptions_ttypes.DuplicateProductIdException();\n          this.duplicateProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductDistributorService_disassociateAllDistributorsFromProducts_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 6);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateProductIdException !== null && this.duplicateProductIdException !== undefined) {\n      output.writeFieldBegin('duplicateProductIdException', Thrift.Type.STRUCT, 7);\n      this.duplicateProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductDistributorServiceClient = exports.Client = class ProductDistributorServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  getProductPackagingDistributorAssociationsForProductIds (sessionId, productIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getProductPackagingDistributorAssociationsForProductIds(sessionId, productIds);\n    });\n  }\n\n  send_getProductPackagingDistributorAssociationsForProductIds (sessionId, productIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productIds: productIds\n    };\n    const args = new ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_args(params);\n    try {\n      output.writeMessageBegin('getProductPackagingDistributorAssociationsForProductIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getProductPackagingDistributorAssociationsForProductIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.duplicateProductIdException) {\n      return callback(result.duplicateProductIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getProductPackagingDistributorAssociationsForProductIds failed: unknown result');\n  }\n\n  createOrUpdateDistributorProductPackagingAssocs (sessionId, assocs) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createOrUpdateDistributorProductPackagingAssocs(sessionId, assocs);\n    });\n  }\n\n  send_createOrUpdateDistributorProductPackagingAssocs (sessionId, assocs) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      assocs: assocs\n    };\n    const args = new ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_args(params);\n    try {\n      output.writeMessageBegin('createOrUpdateDistributorProductPackagingAssocs', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createOrUpdateDistributorProductPackagingAssocs (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n      return callback(result.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException);\n    }\n    callback(null);\n  }\n\n  disassociateDistributorProductPackagingAssocs (sessionId, assocs) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_disassociateDistributorProductPackagingAssocs(sessionId, assocs);\n    });\n  }\n\n  send_disassociateDistributorProductPackagingAssocs (sessionId, assocs) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      assocs: assocs\n    };\n    const args = new ProductDistributorService_disassociateDistributorProductPackagingAssocs_args(params);\n    try {\n      output.writeMessageBegin('disassociateDistributorProductPackagingAssocs', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_disassociateDistributorProductPackagingAssocs (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductDistributorService_disassociateDistributorProductPackagingAssocs_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n      return callback(result.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException);\n    }\n    callback(null);\n  }\n\n  disassociateDistributorFromProductPackagings (sessionId, productId, productQuantityUnits, distributorId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_disassociateDistributorFromProductPackagings(sessionId, productId, productQuantityUnits, distributorId);\n    });\n  }\n\n  send_disassociateDistributorFromProductPackagings (sessionId, productId, productQuantityUnits, distributorId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productId: productId,\n      productQuantityUnits: productQuantityUnits,\n      distributorId: distributorId\n    };\n    const args = new ProductDistributorService_disassociateDistributorFromProductPackagings_args(params);\n    try {\n      output.writeMessageBegin('disassociateDistributorFromProductPackagings', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_disassociateDistributorFromProductPackagings (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductDistributorService_disassociateDistributorFromProductPackagings_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.duplicateProductIdException) {\n      return callback(result.duplicateProductIdException);\n    }\n    callback(null);\n  }\n\n  disassociateDistributorFromProducts (sessionId, productIds, distributorId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_disassociateDistributorFromProducts(sessionId, productIds, distributorId);\n    });\n  }\n\n  send_disassociateDistributorFromProducts (sessionId, productIds, distributorId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productIds: productIds,\n      distributorId: distributorId\n    };\n    const args = new ProductDistributorService_disassociateDistributorFromProducts_args(params);\n    try {\n      output.writeMessageBegin('disassociateDistributorFromProducts', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_disassociateDistributorFromProducts (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductDistributorService_disassociateDistributorFromProducts_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.duplicateProductIdException) {\n      return callback(result.duplicateProductIdException);\n    }\n    callback(null);\n  }\n\n  disassociateAllDistributorsFromProducts (sessionId, productIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_disassociateAllDistributorsFromProducts(sessionId, productIds);\n    });\n  }\n\n  send_disassociateAllDistributorsFromProducts (sessionId, productIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productIds: productIds\n    };\n    const args = new ProductDistributorService_disassociateAllDistributorsFromProducts_args(params);\n    try {\n      output.writeMessageBegin('disassociateAllDistributorsFromProducts', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_disassociateAllDistributorsFromProducts (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductDistributorService_disassociateAllDistributorsFromProducts_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.duplicateProductIdException) {\n      return callback(result.duplicateProductIdException);\n    }\n    callback(null);\n  }\n};\nconst ProductDistributorServiceProcessor = exports.Processor = class ProductDistributorServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_getProductPackagingDistributorAssociationsForProductIds (seqid, input, output) {\n    const args = new ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getProductPackagingDistributorAssociationsForProductIds.length === 2) {\n      Promise.resolve(this._handler.getProductPackagingDistributorAssociationsForProductIds.bind(this._handler)(\n        args.sessionId,\n        args.productIds\n      )).then(result => {\n        const result_obj = new ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_result({success: result});\n        output.writeMessageBegin(\"getProductPackagingDistributorAssociationsForProductIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result = new ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_result(err);\n          output.writeMessageBegin(\"getProductPackagingDistributorAssociationsForProductIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductPackagingDistributorAssociationsForProductIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getProductPackagingDistributorAssociationsForProductIds(args.sessionId, args.productIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result_obj = new ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getProductPackagingDistributorAssociationsForProductIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getProductPackagingDistributorAssociationsForProductIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createOrUpdateDistributorProductPackagingAssocs (seqid, input, output) {\n    const args = new ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createOrUpdateDistributorProductPackagingAssocs.length === 2) {\n      Promise.resolve(this._handler.createOrUpdateDistributorProductPackagingAssocs.bind(this._handler)(\n        args.sessionId,\n        args.assocs\n      )).then(result => {\n        const result_obj = new ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_result({success: result});\n        output.writeMessageBegin(\"createOrUpdateDistributorProductPackagingAssocs\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n          result = new ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_result(err);\n          output.writeMessageBegin(\"createOrUpdateDistributorProductPackagingAssocs\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createOrUpdateDistributorProductPackagingAssocs\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createOrUpdateDistributorProductPackagingAssocs(args.sessionId, args.assocs, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n          result_obj = new ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createOrUpdateDistributorProductPackagingAssocs\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createOrUpdateDistributorProductPackagingAssocs\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_disassociateDistributorProductPackagingAssocs (seqid, input, output) {\n    const args = new ProductDistributorService_disassociateDistributorProductPackagingAssocs_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.disassociateDistributorProductPackagingAssocs.length === 2) {\n      Promise.resolve(this._handler.disassociateDistributorProductPackagingAssocs.bind(this._handler)(\n        args.sessionId,\n        args.assocs\n      )).then(result => {\n        const result_obj = new ProductDistributorService_disassociateDistributorProductPackagingAssocs_result({success: result});\n        output.writeMessageBegin(\"disassociateDistributorProductPackagingAssocs\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n          result = new ProductDistributorService_disassociateDistributorProductPackagingAssocs_result(err);\n          output.writeMessageBegin(\"disassociateDistributorProductPackagingAssocs\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorProductPackagingAssocs\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.disassociateDistributorProductPackagingAssocs(args.sessionId, args.assocs, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n          result_obj = new ProductDistributorService_disassociateDistributorProductPackagingAssocs_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"disassociateDistributorProductPackagingAssocs\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorProductPackagingAssocs\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_disassociateDistributorFromProductPackagings (seqid, input, output) {\n    const args = new ProductDistributorService_disassociateDistributorFromProductPackagings_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.disassociateDistributorFromProductPackagings.length === 4) {\n      Promise.resolve(this._handler.disassociateDistributorFromProductPackagings.bind(this._handler)(\n        args.sessionId,\n        args.productId,\n        args.productQuantityUnits,\n        args.distributorId\n      )).then(result => {\n        const result_obj = new ProductDistributorService_disassociateDistributorFromProductPackagings_result({success: result});\n        output.writeMessageBegin(\"disassociateDistributorFromProductPackagings\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result = new ProductDistributorService_disassociateDistributorFromProductPackagings_result(err);\n          output.writeMessageBegin(\"disassociateDistributorFromProductPackagings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorFromProductPackagings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.disassociateDistributorFromProductPackagings(args.sessionId, args.productId, args.productQuantityUnits, args.distributorId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result_obj = new ProductDistributorService_disassociateDistributorFromProductPackagings_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"disassociateDistributorFromProductPackagings\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorFromProductPackagings\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_disassociateDistributorFromProducts (seqid, input, output) {\n    const args = new ProductDistributorService_disassociateDistributorFromProducts_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.disassociateDistributorFromProducts.length === 3) {\n      Promise.resolve(this._handler.disassociateDistributorFromProducts.bind(this._handler)(\n        args.sessionId,\n        args.productIds,\n        args.distributorId\n      )).then(result => {\n        const result_obj = new ProductDistributorService_disassociateDistributorFromProducts_result({success: result});\n        output.writeMessageBegin(\"disassociateDistributorFromProducts\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result = new ProductDistributorService_disassociateDistributorFromProducts_result(err);\n          output.writeMessageBegin(\"disassociateDistributorFromProducts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorFromProducts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.disassociateDistributorFromProducts(args.sessionId, args.productIds, args.distributorId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result_obj = new ProductDistributorService_disassociateDistributorFromProducts_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"disassociateDistributorFromProducts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorFromProducts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_disassociateAllDistributorsFromProducts (seqid, input, output) {\n    const args = new ProductDistributorService_disassociateAllDistributorsFromProducts_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.disassociateAllDistributorsFromProducts.length === 2) {\n      Promise.resolve(this._handler.disassociateAllDistributorsFromProducts.bind(this._handler)(\n        args.sessionId,\n        args.productIds\n      )).then(result => {\n        const result_obj = new ProductDistributorService_disassociateAllDistributorsFromProducts_result({success: result});\n        output.writeMessageBegin(\"disassociateAllDistributorsFromProducts\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result = new ProductDistributorService_disassociateAllDistributorsFromProducts_result(err);\n          output.writeMessageBegin(\"disassociateAllDistributorsFromProducts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateAllDistributorsFromProducts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.disassociateAllDistributorsFromProducts(args.sessionId, args.productIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result_obj = new ProductDistributorService_disassociateAllDistributorsFromProducts_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"disassociateAllDistributorsFromProducts\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateAllDistributorsFromProducts\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = require('./product_par_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst ProductParService_setParsByProductId_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.parsByProductId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.parsByProductId !== undefined && args.parsByProductId !== null) {\n        this.parsByProductId = Thrift.copyList(args.parsByProductId, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field parsByProductId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.parsByProductId = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem3.read(input);\n            this.parsByProductId.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductParService_setParsByProductId_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.parsByProductId !== null && this.parsByProductId !== undefined) {\n      output.writeFieldBegin('parsByProductId', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.parsByProductId.length);\n      for (let iter4 in this.parsByProductId) {\n        if (this.parsByProductId.hasOwnProperty(iter4)) {\n          iter4 = this.parsByProductId[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 3);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductParService_setParsByProductId_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductParService_setParsByProductId_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductParService_getParByProductId_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productIds = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIds = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new product_Model_ttypes.ProductId();\n            elem8.read(input);\n            this.productIds.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductParService_getParByProductId_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter9 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter9)) {\n          iter9 = this.productIds[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductParService_getParByProductId_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_Model_ttypes.ProductIdAndOptionalQuantityOfProduct]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new product_Model_ttypes.ProductIdAndOptionalQuantityOfProduct();\n            elem13.read(input);\n            this.success.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductParService_getParByProductId_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter14 in this.success) {\n        if (this.success.hasOwnProperty(iter14)) {\n          iter14 = this.success[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductParService_unsetParForProductId_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.clientTimestamp = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.clientTimestamp !== undefined && args.clientTimestamp !== null) {\n        this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.clientTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field clientTimestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.clientTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.clientTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductParService_unsetParForProductId_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.clientTimestamp !== null && this.clientTimestamp !== undefined) {\n      output.writeFieldBegin('clientTimestamp', Thrift.Type.STRUCT, 3);\n      this.clientTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductParService_unsetParForProductId_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductParService_unsetParForProductId_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 5);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductParServiceClient = exports.Client = class ProductParServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  setParsByProductId (actor, parsByProductId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setParsByProductId(actor, parsByProductId, clientTimestamp);\n    });\n  }\n\n  send_setParsByProductId (actor, parsByProductId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      parsByProductId: parsByProductId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new ProductParService_setParsByProductId_args(params);\n    try {\n      output.writeMessageBegin('setParsByProductId', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setParsByProductId (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductParService_setParsByProductId_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    callback(null);\n  }\n\n  getParByProductId (actor, productIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getParByProductId(actor, productIds);\n    });\n  }\n\n  send_getParByProductId (actor, productIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productIds: productIds\n    };\n    const args = new ProductParService_getParByProductId_args(params);\n    try {\n      output.writeMessageBegin('getParByProductId', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getParByProductId (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductParService_getParByProductId_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getParByProductId failed: unknown result');\n  }\n\n  unsetParForProductId (actor, productId, clientTimestamp) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_unsetParForProductId(actor, productId, clientTimestamp);\n    });\n  }\n\n  send_unsetParForProductId (actor, productId, clientTimestamp) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      productId: productId,\n      clientTimestamp: clientTimestamp\n    };\n    const args = new ProductParService_unsetParForProductId_args(params);\n    try {\n      output.writeMessageBegin('unsetParForProductId', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_unsetParForProductId (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductParService_unsetParForProductId_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    callback(null);\n  }\n};\nconst ProductParServiceProcessor = exports.Processor = class ProductParServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_setParsByProductId (seqid, input, output) {\n    const args = new ProductParService_setParsByProductId_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setParsByProductId.length === 3) {\n      Promise.resolve(this._handler.setParsByProductId.bind(this._handler)(\n        args.actor,\n        args.parsByProductId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new ProductParService_setParsByProductId_result({success: result});\n        output.writeMessageBegin(\"setParsByProductId\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result = new ProductParService_setParsByProductId_result(err);\n          output.writeMessageBegin(\"setParsByProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setParsByProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setParsByProductId(args.actor, args.parsByProductId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result_obj = new ProductParService_setParsByProductId_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setParsByProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setParsByProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getParByProductId (seqid, input, output) {\n    const args = new ProductParService_getParByProductId_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getParByProductId.length === 2) {\n      Promise.resolve(this._handler.getParByProductId.bind(this._handler)(\n        args.actor,\n        args.productIds\n      )).then(result => {\n        const result_obj = new ProductParService_getParByProductId_result({success: result});\n        output.writeMessageBegin(\"getParByProductId\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result = new ProductParService_getParByProductId_result(err);\n          output.writeMessageBegin(\"getParByProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getParByProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getParByProductId(args.actor, args.productIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result_obj = new ProductParService_getParByProductId_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getParByProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getParByProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_unsetParForProductId (seqid, input, output) {\n    const args = new ProductParService_unsetParForProductId_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.unsetParForProductId.length === 3) {\n      Promise.resolve(this._handler.unsetParForProductId.bind(this._handler)(\n        args.actor,\n        args.productId,\n        args.clientTimestamp\n      )).then(result => {\n        const result_obj = new ProductParService_unsetParForProductId_result({success: result});\n        output.writeMessageBegin(\"unsetParForProductId\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result = new ProductParService_unsetParForProductId_result(err);\n          output.writeMessageBegin(\"unsetParForProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"unsetParForProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.unsetParForProductId(args.actor, args.productId, args.clientTimestamp, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n          result_obj = new ProductParService_unsetParForProductId_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"unsetParForProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"unsetParForProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst distributor_Exceptions_ttypes = require('./distributor_Exceptions_types');\nconst distributor_Model_ttypes = require('./distributor_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\n\n\nconst ttypes = require('./product_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst ProductService_retrieveDistributorIdsAssociatedWithProductIds_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productIds = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIds = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductId();\n            elem3.read(input);\n            this.productIds.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_retrieveDistributorIdsAssociatedWithProductIds_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter4 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter4)) {\n          iter4 = this.productIds[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_retrieveDistributorIdsAssociatedWithProductIds_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.duplicateProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n        this.duplicateProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [product_Model_ttypes.ProductIdAndDistributorId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.duplicateProductIdException !== undefined && args.duplicateProductIdException !== null) {\n        this.duplicateProductIdException = args.duplicateProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new product_Model_ttypes.ProductIdAndDistributorId();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateProductIdException = new product_Exceptions_ttypes.DuplicateProductIdException();\n          this.duplicateProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_retrieveDistributorIdsAssociatedWithProductIds_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateProductIdException !== null && this.duplicateProductIdException !== undefined) {\n      output.writeFieldBegin('duplicateProductIdException', Thrift.Type.STRUCT, 5);\n      this.duplicateProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 6);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_associateDistributorIdWithProductId_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productId = null;\n    this.distributorId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_associateDistributorIdWithProductId_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 3);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_associateDistributorIdWithProductId_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.unknownDistributorIdException = null;\n    this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = null;\n    this.productIdAlreadyHasAssociationWithThisDistributorException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n        this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.ProductIdAlreadyHasAssociationWithThisDistributorIdException) {\n        this.productIdAlreadyHasAssociationWithThisDistributorException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== undefined && args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== null) {\n        this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException;\n      }\n      if (args.productIdAlreadyHasAssociationWithThisDistributorException !== undefined && args.productIdAlreadyHasAssociationWithThisDistributorException !== null) {\n        this.productIdAlreadyHasAssociationWithThisDistributorException = args.productIdAlreadyHasAssociationWithThisDistributorException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = new product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException();\n          this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productIdAlreadyHasAssociationWithThisDistributorException = new product_Exceptions_ttypes.ProductIdAlreadyHasAssociationWithThisDistributorIdException();\n          this.productIdAlreadyHasAssociationWithThisDistributorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_associateDistributorIdWithProductId_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 6);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== null && this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== undefined) {\n      output.writeFieldBegin('locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException', Thrift.Type.STRUCT, 7);\n      this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIdAlreadyHasAssociationWithThisDistributorException !== null && this.productIdAlreadyHasAssociationWithThisDistributorException !== undefined) {\n      output.writeFieldBegin('productIdAlreadyHasAssociationWithThisDistributorException', Thrift.Type.STRUCT, 8);\n      this.productIdAlreadyHasAssociationWithThisDistributorException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_disassociateDistributorIdFromProductId_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productId = null;\n    this.distributorId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_disassociateDistributorIdFromProductId_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 3);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_disassociateDistributorIdFromProductId_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.unknownDistributorIdException = null;\n    this.productIdDoesNotHaveAssociationWithThisDistributorException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.ProductIdDoesNotHaveAssociationWithThisDistributorIdException) {\n        this.productIdDoesNotHaveAssociationWithThisDistributorException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.productIdDoesNotHaveAssociationWithThisDistributorException !== undefined && args.productIdDoesNotHaveAssociationWithThisDistributorException !== null) {\n        this.productIdDoesNotHaveAssociationWithThisDistributorException = args.productIdDoesNotHaveAssociationWithThisDistributorException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productIdDoesNotHaveAssociationWithThisDistributorException = new product_Exceptions_ttypes.ProductIdDoesNotHaveAssociationWithThisDistributorIdException();\n          this.productIdDoesNotHaveAssociationWithThisDistributorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_disassociateDistributorIdFromProductId_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 6);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIdDoesNotHaveAssociationWithThisDistributorException !== null && this.productIdDoesNotHaveAssociationWithThisDistributorException !== undefined) {\n      output.writeFieldBegin('productIdDoesNotHaveAssociationWithThisDistributorException', Thrift.Type.STRUCT, 7);\n      this.productIdDoesNotHaveAssociationWithThisDistributorException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_associateDistributorIdWithProductIds_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productIds = null;\n    this.distributorId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIds = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new product_Model_ttypes.ProductId();\n            elem13.read(input);\n            this.productIds.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_associateDistributorIdWithProductIds_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter14 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter14)) {\n          iter14 = this.productIds[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 3);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_associateDistributorIdWithProductIds_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.unknownDistributorIdException = null;\n    this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = null;\n    this.duplicateProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException) {\n        this.unknownDistributorIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n        this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n        this.duplicateProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.unknownDistributorIdException !== undefined && args.unknownDistributorIdException !== null) {\n        this.unknownDistributorIdException = args.unknownDistributorIdException;\n      }\n      if (args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== undefined && args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== null) {\n        this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = args.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException;\n      }\n      if (args.duplicateProductIdException !== undefined && args.duplicateProductIdException !== null) {\n        this.duplicateProductIdException = args.duplicateProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownDistributorIdException = new distributor_Exceptions_ttypes.UnknownDistributorIdException();\n          this.unknownDistributorIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = new product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException();\n          this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateProductIdException = new product_Exceptions_ttypes.DuplicateProductIdException();\n          this.duplicateProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_associateDistributorIdWithProductIds_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownDistributorIdException !== null && this.unknownDistributorIdException !== undefined) {\n      output.writeFieldBegin('unknownDistributorIdException', Thrift.Type.STRUCT, 6);\n      this.unknownDistributorIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== null && this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException !== undefined) {\n      output.writeFieldBegin('locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException', Thrift.Type.STRUCT, 7);\n      this.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateProductIdException !== null && this.duplicateProductIdException !== undefined) {\n      output.writeFieldBegin('duplicateProductIdException', Thrift.Type.STRUCT, 8);\n      this.duplicateProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_disassociateDistributorIdFromProductIds_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.productIds = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productIds = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new product_Model_ttypes.ProductId();\n            elem18.read(input);\n            this.productIds.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_disassociateDistributorIdFromProductIds_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter19 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter19)) {\n          iter19 = this.productIds[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductService_disassociateDistributorIdFromProductIds_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownProductIdException = null;\n    this.accountDoesNotHaveAccessToProductException = null;\n    this.duplicateProductIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.UnknownProductIdException) {\n        this.unknownProductIdException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n        this.accountDoesNotHaveAccessToProductException = args;\n        return;\n    }\n    if (args instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n        this.duplicateProductIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownProductIdException !== undefined && args.unknownProductIdException !== null) {\n        this.unknownProductIdException = args.unknownProductIdException;\n      }\n      if (args.accountDoesNotHaveAccessToProductException !== undefined && args.accountDoesNotHaveAccessToProductException !== null) {\n        this.accountDoesNotHaveAccessToProductException = args.accountDoesNotHaveAccessToProductException;\n      }\n      if (args.duplicateProductIdException !== undefined && args.duplicateProductIdException !== null) {\n        this.duplicateProductIdException = args.duplicateProductIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownProductIdException = new product_Exceptions_ttypes.UnknownProductIdException();\n          this.unknownProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHaveAccessToProductException = new product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException();\n          this.accountDoesNotHaveAccessToProductException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.duplicateProductIdException = new product_Exceptions_ttypes.DuplicateProductIdException();\n          this.duplicateProductIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductService_disassociateDistributorIdFromProductIds_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownProductIdException !== null && this.unknownProductIdException !== undefined) {\n      output.writeFieldBegin('unknownProductIdException', Thrift.Type.STRUCT, 4);\n      this.unknownProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHaveAccessToProductException !== null && this.accountDoesNotHaveAccessToProductException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHaveAccessToProductException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHaveAccessToProductException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.duplicateProductIdException !== null && this.duplicateProductIdException !== undefined) {\n      output.writeFieldBegin('duplicateProductIdException', Thrift.Type.STRUCT, 6);\n      this.duplicateProductIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductServiceClient = exports.Client = class ProductServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  retrieveDistributorIdsAssociatedWithProductIds (sessionId, productIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_retrieveDistributorIdsAssociatedWithProductIds(sessionId, productIds);\n    });\n  }\n\n  send_retrieveDistributorIdsAssociatedWithProductIds (sessionId, productIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productIds: productIds\n    };\n    const args = new ProductService_retrieveDistributorIdsAssociatedWithProductIds_args(params);\n    try {\n      output.writeMessageBegin('retrieveDistributorIdsAssociatedWithProductIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_retrieveDistributorIdsAssociatedWithProductIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductService_retrieveDistributorIdsAssociatedWithProductIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.duplicateProductIdException) {\n      return callback(result.duplicateProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('retrieveDistributorIdsAssociatedWithProductIds failed: unknown result');\n  }\n\n  associateDistributorIdWithProductId (sessionId, productId, distributorId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_associateDistributorIdWithProductId(sessionId, productId, distributorId);\n    });\n  }\n\n  send_associateDistributorIdWithProductId (sessionId, productId, distributorId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productId: productId,\n      distributorId: distributorId\n    };\n    const args = new ProductService_associateDistributorIdWithProductId_args(params);\n    try {\n      output.writeMessageBegin('associateDistributorIdWithProductId', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_associateDistributorIdWithProductId (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductService_associateDistributorIdWithProductId_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n      return callback(result.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException);\n    }\n    if (null !== result.productIdAlreadyHasAssociationWithThisDistributorException) {\n      return callback(result.productIdAlreadyHasAssociationWithThisDistributorException);\n    }\n    callback(null);\n  }\n\n  disassociateDistributorIdFromProductId (sessionId, productId, distributorId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_disassociateDistributorIdFromProductId(sessionId, productId, distributorId);\n    });\n  }\n\n  send_disassociateDistributorIdFromProductId (sessionId, productId, distributorId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productId: productId,\n      distributorId: distributorId\n    };\n    const args = new ProductService_disassociateDistributorIdFromProductId_args(params);\n    try {\n      output.writeMessageBegin('disassociateDistributorIdFromProductId', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_disassociateDistributorIdFromProductId (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductService_disassociateDistributorIdFromProductId_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.productIdDoesNotHaveAssociationWithThisDistributorException) {\n      return callback(result.productIdDoesNotHaveAssociationWithThisDistributorException);\n    }\n    callback(null);\n  }\n\n  associateDistributorIdWithProductIds (sessionId, productIds, distributorId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_associateDistributorIdWithProductIds(sessionId, productIds, distributorId);\n    });\n  }\n\n  send_associateDistributorIdWithProductIds (sessionId, productIds, distributorId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productIds: productIds,\n      distributorId: distributorId\n    };\n    const args = new ProductService_associateDistributorIdWithProductIds_args(params);\n    try {\n      output.writeMessageBegin('associateDistributorIdWithProductIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_associateDistributorIdWithProductIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductService_associateDistributorIdWithProductIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.unknownDistributorIdException) {\n      return callback(result.unknownDistributorIdException);\n    }\n    if (null !== result.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n      return callback(result.locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException);\n    }\n    if (null !== result.duplicateProductIdException) {\n      return callback(result.duplicateProductIdException);\n    }\n    callback(null);\n  }\n\n  disassociateDistributorIdFromProductIds (sessionId, productIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_disassociateDistributorIdFromProductIds(sessionId, productIds);\n    });\n  }\n\n  send_disassociateDistributorIdFromProductIds (sessionId, productIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      productIds: productIds\n    };\n    const args = new ProductService_disassociateDistributorIdFromProductIds_args(params);\n    try {\n      output.writeMessageBegin('disassociateDistributorIdFromProductIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_disassociateDistributorIdFromProductIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new ProductService_disassociateDistributorIdFromProductIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownProductIdException) {\n      return callback(result.unknownProductIdException);\n    }\n    if (null !== result.accountDoesNotHaveAccessToProductException) {\n      return callback(result.accountDoesNotHaveAccessToProductException);\n    }\n    if (null !== result.duplicateProductIdException) {\n      return callback(result.duplicateProductIdException);\n    }\n    callback(null);\n  }\n};\nconst ProductServiceProcessor = exports.Processor = class ProductServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_retrieveDistributorIdsAssociatedWithProductIds (seqid, input, output) {\n    const args = new ProductService_retrieveDistributorIdsAssociatedWithProductIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.retrieveDistributorIdsAssociatedWithProductIds.length === 2) {\n      Promise.resolve(this._handler.retrieveDistributorIdsAssociatedWithProductIds.bind(this._handler)(\n        args.sessionId,\n        args.productIds\n      )).then(result => {\n        const result_obj = new ProductService_retrieveDistributorIdsAssociatedWithProductIds_result({success: result});\n        output.writeMessageBegin(\"retrieveDistributorIdsAssociatedWithProductIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n          result = new ProductService_retrieveDistributorIdsAssociatedWithProductIds_result(err);\n          output.writeMessageBegin(\"retrieveDistributorIdsAssociatedWithProductIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveDistributorIdsAssociatedWithProductIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.retrieveDistributorIdsAssociatedWithProductIds(args.sessionId, args.productIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException) {\n          result_obj = new ProductService_retrieveDistributorIdsAssociatedWithProductIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"retrieveDistributorIdsAssociatedWithProductIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"retrieveDistributorIdsAssociatedWithProductIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_associateDistributorIdWithProductId (seqid, input, output) {\n    const args = new ProductService_associateDistributorIdWithProductId_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.associateDistributorIdWithProductId.length === 3) {\n      Promise.resolve(this._handler.associateDistributorIdWithProductId.bind(this._handler)(\n        args.sessionId,\n        args.productId,\n        args.distributorId\n      )).then(result => {\n        const result_obj = new ProductService_associateDistributorIdWithProductId_result({success: result});\n        output.writeMessageBegin(\"associateDistributorIdWithProductId\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException || err instanceof product_Exceptions_ttypes.ProductIdAlreadyHasAssociationWithThisDistributorIdException) {\n          result = new ProductService_associateDistributorIdWithProductId_result(err);\n          output.writeMessageBegin(\"associateDistributorIdWithProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"associateDistributorIdWithProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.associateDistributorIdWithProductId(args.sessionId, args.productId, args.distributorId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException || err instanceof product_Exceptions_ttypes.ProductIdAlreadyHasAssociationWithThisDistributorIdException) {\n          result_obj = new ProductService_associateDistributorIdWithProductId_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"associateDistributorIdWithProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"associateDistributorIdWithProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_disassociateDistributorIdFromProductId (seqid, input, output) {\n    const args = new ProductService_disassociateDistributorIdFromProductId_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.disassociateDistributorIdFromProductId.length === 3) {\n      Promise.resolve(this._handler.disassociateDistributorIdFromProductId.bind(this._handler)(\n        args.sessionId,\n        args.productId,\n        args.distributorId\n      )).then(result => {\n        const result_obj = new ProductService_disassociateDistributorIdFromProductId_result({success: result});\n        output.writeMessageBegin(\"disassociateDistributorIdFromProductId\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.ProductIdDoesNotHaveAssociationWithThisDistributorIdException) {\n          result = new ProductService_disassociateDistributorIdFromProductId_result(err);\n          output.writeMessageBegin(\"disassociateDistributorIdFromProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorIdFromProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.disassociateDistributorIdFromProductId(args.sessionId, args.productId, args.distributorId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.ProductIdDoesNotHaveAssociationWithThisDistributorIdException) {\n          result_obj = new ProductService_disassociateDistributorIdFromProductId_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"disassociateDistributorIdFromProductId\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorIdFromProductId\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_associateDistributorIdWithProductIds (seqid, input, output) {\n    const args = new ProductService_associateDistributorIdWithProductIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.associateDistributorIdWithProductIds.length === 3) {\n      Promise.resolve(this._handler.associateDistributorIdWithProductIds.bind(this._handler)(\n        args.sessionId,\n        args.productIds,\n        args.distributorId\n      )).then(result => {\n        const result_obj = new ProductService_associateDistributorIdWithProductIds_result({success: result});\n        output.writeMessageBegin(\"associateDistributorIdWithProductIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result = new ProductService_associateDistributorIdWithProductIds_result(err);\n          output.writeMessageBegin(\"associateDistributorIdWithProductIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"associateDistributorIdWithProductIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.associateDistributorIdWithProductIds(args.sessionId, args.productIds, args.distributorId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof distributor_Exceptions_ttypes.UnknownDistributorIdException || err instanceof product_Exceptions_ttypes.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result_obj = new ProductService_associateDistributorIdWithProductIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"associateDistributorIdWithProductIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"associateDistributorIdWithProductIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_disassociateDistributorIdFromProductIds (seqid, input, output) {\n    const args = new ProductService_disassociateDistributorIdFromProductIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.disassociateDistributorIdFromProductIds.length === 2) {\n      Promise.resolve(this._handler.disassociateDistributorIdFromProductIds.bind(this._handler)(\n        args.sessionId,\n        args.productIds\n      )).then(result => {\n        const result_obj = new ProductService_disassociateDistributorIdFromProductIds_result({success: result});\n        output.writeMessageBegin(\"disassociateDistributorIdFromProductIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result = new ProductService_disassociateDistributorIdFromProductIds_result(err);\n          output.writeMessageBegin(\"disassociateDistributorIdFromProductIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorIdFromProductIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.disassociateDistributorIdFromProductIds(args.sessionId, args.productIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof product_Exceptions_ttypes.UnknownProductIdException || err instanceof product_Exceptions_ttypes.AccountDoesNotHaveAccessToProductException || err instanceof product_Exceptions_ttypes.DuplicateProductIdException) {\n          result_obj = new ProductService_disassociateDistributorIdFromProductIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"disassociateDistributorIdFromProductIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"disassociateDistributorIdFromProductIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst public_content_Model_ttypes = require('./public_content_Model_types');\nconst public_content_Exceptions_ttypes = require('./public_content_Exceptions_types');\n\n\nconst ttypes = require('./public_content_view_event_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.eventType = null;\n    this.publicContentUrl = null;\n    this.publicContentUrlParameters = null;\n    this.referrer = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.eventType !== undefined && args.eventType !== null) {\n        this.eventType = args.eventType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field eventType is unset!');\n      }\n      if (args.publicContentUrl !== undefined && args.publicContentUrl !== null) {\n        this.publicContentUrl = new public_content_Model_ttypes.PublicContentUrl(args.publicContentUrl);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentUrl is unset!');\n      }\n      if (args.publicContentUrlParameters !== undefined && args.publicContentUrlParameters !== null) {\n        this.publicContentUrlParameters = Thrift.copyMap(args.publicContentUrlParameters, [Thrift.copyList, null]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentUrlParameters is unset!');\n      }\n      if (args.referrer !== undefined && args.referrer !== null) {\n        this.referrer = args.referrer;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field referrer is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.eventType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.publicContentUrl = new public_content_Model_ttypes.PublicContentUrl();\n          this.publicContentUrl.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.MAP) {\n          this.publicContentUrlParameters = {};\n          const _rtmp31 = input.readMapBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let key3 = null;\n            let val4 = null;\n            key3 = input.readString();\n            val4 = [];\n            const _rtmp36 = input.readListBegin();\n            const _size5 = _rtmp36.size || 0;\n            for (let _i7 = 0; _i7 < _size5; ++_i7) {\n              let elem8 = null;\n              elem8 = input.readString();\n              val4.push(elem8);\n            }\n            input.readListEnd();\n            this.publicContentUrlParameters[key3] = val4;\n          }\n          input.readMapEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.referrer = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.eventType !== null && this.eventType !== undefined) {\n      output.writeFieldBegin('eventType', Thrift.Type.I32, 2);\n      output.writeI32(this.eventType);\n      output.writeFieldEnd();\n    }\n    if (this.publicContentUrl !== null && this.publicContentUrl !== undefined) {\n      output.writeFieldBegin('publicContentUrl', Thrift.Type.STRUCT, 3);\n      this.publicContentUrl.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.publicContentUrlParameters !== null && this.publicContentUrlParameters !== undefined) {\n      output.writeFieldBegin('publicContentUrlParameters', Thrift.Type.MAP, 4);\n      output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.LIST, Thrift.objectLength(this.publicContentUrlParameters));\n      for (let kiter9 in this.publicContentUrlParameters) {\n        if (this.publicContentUrlParameters.hasOwnProperty(kiter9)) {\n          let viter10 = this.publicContentUrlParameters[kiter9];\n          output.writeString(kiter9);\n          output.writeListBegin(Thrift.Type.STRING, viter10.length);\n          for (let iter11 in viter10) {\n            if (viter10.hasOwnProperty(iter11)) {\n              iter11 = viter10[iter11];\n              output.writeString(iter11);\n            }\n          }\n          output.writeListEnd();\n        }\n      }\n      output.writeMapEnd();\n      output.writeFieldEnd();\n    }\n    if (this.referrer !== null && this.referrer !== undefined) {\n      output.writeFieldBegin('referrer', Thrift.Type.STRING, 5);\n      output.writeString(this.referrer);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    this.invalidArgumentsToCreateViewEventException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args instanceof public_content_Exceptions_ttypes.InvalidArgumentsToCreateViewEventException) {\n        this.invalidArgumentsToCreateViewEventException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n      if (args.invalidArgumentsToCreateViewEventException !== undefined && args.invalidArgumentsToCreateViewEventException !== null) {\n        this.invalidArgumentsToCreateViewEventException = args.invalidArgumentsToCreateViewEventException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.invalidArgumentsToCreateViewEventException = new public_content_Exceptions_ttypes.InvalidArgumentsToCreateViewEventException();\n          this.invalidArgumentsToCreateViewEventException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.invalidArgumentsToCreateViewEventException !== null && this.invalidArgumentsToCreateViewEventException !== undefined) {\n      output.writeFieldBegin('invalidArgumentsToCreateViewEventException', Thrift.Type.STRUCT, 4);\n      this.invalidArgumentsToCreateViewEventException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.eventType = null;\n    this.publicContentUrl = null;\n    this.publicContentUrlParameters = null;\n    this.referrer = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.eventType !== undefined && args.eventType !== null) {\n        this.eventType = args.eventType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field eventType is unset!');\n      }\n      if (args.publicContentUrl !== undefined && args.publicContentUrl !== null) {\n        this.publicContentUrl = new public_content_Model_ttypes.PublicContentUrl(args.publicContentUrl);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentUrl is unset!');\n      }\n      if (args.publicContentUrlParameters !== undefined && args.publicContentUrlParameters !== null) {\n        this.publicContentUrlParameters = Thrift.copyMap(args.publicContentUrlParameters, [Thrift.copyList, null]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentUrlParameters is unset!');\n      }\n      if (args.referrer !== undefined && args.referrer !== null) {\n        this.referrer = args.referrer;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field referrer is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.eventType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.publicContentUrl = new public_content_Model_ttypes.PublicContentUrl();\n          this.publicContentUrl.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.MAP) {\n          this.publicContentUrlParameters = {};\n          const _rtmp313 = input.readMapBegin();\n          const _size12 = _rtmp313.size || 0;\n          for (let _i14 = 0; _i14 < _size12; ++_i14) {\n            let key15 = null;\n            let val16 = null;\n            key15 = input.readString();\n            val16 = [];\n            const _rtmp318 = input.readListBegin();\n            const _size17 = _rtmp318.size || 0;\n            for (let _i19 = 0; _i19 < _size17; ++_i19) {\n              let elem20 = null;\n              elem20 = input.readString();\n              val16.push(elem20);\n            }\n            input.readListEnd();\n            this.publicContentUrlParameters[key15] = val16;\n          }\n          input.readMapEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.referrer = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.eventType !== null && this.eventType !== undefined) {\n      output.writeFieldBegin('eventType', Thrift.Type.I32, 2);\n      output.writeI32(this.eventType);\n      output.writeFieldEnd();\n    }\n    if (this.publicContentUrl !== null && this.publicContentUrl !== undefined) {\n      output.writeFieldBegin('publicContentUrl', Thrift.Type.STRUCT, 3);\n      this.publicContentUrl.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.publicContentUrlParameters !== null && this.publicContentUrlParameters !== undefined) {\n      output.writeFieldBegin('publicContentUrlParameters', Thrift.Type.MAP, 4);\n      output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.LIST, Thrift.objectLength(this.publicContentUrlParameters));\n      for (let kiter21 in this.publicContentUrlParameters) {\n        if (this.publicContentUrlParameters.hasOwnProperty(kiter21)) {\n          let viter22 = this.publicContentUrlParameters[kiter21];\n          output.writeString(kiter21);\n          output.writeListBegin(Thrift.Type.STRING, viter22.length);\n          for (let iter23 in viter22) {\n            if (viter22.hasOwnProperty(iter23)) {\n              iter23 = viter22[iter23];\n              output.writeString(iter23);\n            }\n          }\n          output.writeListEnd();\n        }\n      }\n      output.writeMapEnd();\n      output.writeFieldEnd();\n    }\n    if (this.referrer !== null && this.referrer !== undefined) {\n      output.writeFieldBegin('referrer', Thrift.Type.STRING, 5);\n      output.writeString(this.referrer);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.invalidArgumentsToCreateViewEventException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof public_content_Exceptions_ttypes.InvalidArgumentsToCreateViewEventException) {\n        this.invalidArgumentsToCreateViewEventException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.invalidArgumentsToCreateViewEventException !== undefined && args.invalidArgumentsToCreateViewEventException !== null) {\n        this.invalidArgumentsToCreateViewEventException = args.invalidArgumentsToCreateViewEventException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.invalidArgumentsToCreateViewEventException = new public_content_Exceptions_ttypes.InvalidArgumentsToCreateViewEventException();\n          this.invalidArgumentsToCreateViewEventException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.invalidArgumentsToCreateViewEventException !== null && this.invalidArgumentsToCreateViewEventException !== undefined) {\n      output.writeFieldBegin('invalidArgumentsToCreateViewEventException', Thrift.Type.STRUCT, 4);\n      this.invalidArgumentsToCreateViewEventException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_args = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.publicContentType = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.publicContentType !== undefined && args.publicContentType !== null) {\n        this.publicContentType = args.publicContentType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentType is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.publicContentType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_args');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.publicContentType !== null && this.publicContentType !== undefined) {\n      output.writeFieldBegin('publicContentType', Thrift.Type.I32, 2);\n      output.writeI32(this.publicContentType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.invalidArgumentAsPublicContentTypeException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof public_content_Exceptions_ttypes.InvalidPublicContentTypeArgumentException) {\n        this.invalidArgumentAsPublicContentTypeException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new public_content_Model_ttypes.UserPublicContent(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.invalidArgumentAsPublicContentTypeException !== undefined && args.invalidArgumentAsPublicContentTypeException !== null) {\n        this.invalidArgumentAsPublicContentTypeException = args.invalidArgumentAsPublicContentTypeException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new public_content_Model_ttypes.UserPublicContent();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.invalidArgumentAsPublicContentTypeException = new public_content_Exceptions_ttypes.InvalidPublicContentTypeArgumentException();\n          this.invalidArgumentAsPublicContentTypeException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.invalidArgumentAsPublicContentTypeException !== null && this.invalidArgumentAsPublicContentTypeException !== undefined) {\n      output.writeFieldBegin('invalidArgumentAsPublicContentTypeException', Thrift.Type.STRUCT, 4);\n      this.invalidArgumentAsPublicContentTypeException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContentViewEventServiceClient = exports.Client = class PublicContentViewEventServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createPublicContentViewEventForUnauthenticatedSession (unauthenticatedUserSessionId, eventType, publicContentUrl, publicContentUrlParameters, referrer) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createPublicContentViewEventForUnauthenticatedSession(unauthenticatedUserSessionId, eventType, publicContentUrl, publicContentUrlParameters, referrer);\n    });\n  }\n\n  send_createPublicContentViewEventForUnauthenticatedSession (unauthenticatedUserSessionId, eventType, publicContentUrl, publicContentUrlParameters, referrer) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      eventType: eventType,\n      publicContentUrl: publicContentUrl,\n      publicContentUrlParameters: publicContentUrlParameters,\n      referrer: referrer\n    };\n    const args = new PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_args(params);\n    try {\n      output.writeMessageBegin('createPublicContentViewEventForUnauthenticatedSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createPublicContentViewEventForUnauthenticatedSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.invalidArgumentsToCreateViewEventException) {\n      return callback(result.invalidArgumentsToCreateViewEventException);\n    }\n    callback(null);\n  }\n\n  createPublicContentViewEventForAuthenticatedSession (sessionId, eventType, publicContentUrl, publicContentUrlParameters, referrer) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createPublicContentViewEventForAuthenticatedSession(sessionId, eventType, publicContentUrl, publicContentUrlParameters, referrer);\n    });\n  }\n\n  send_createPublicContentViewEventForAuthenticatedSession (sessionId, eventType, publicContentUrl, publicContentUrlParameters, referrer) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      eventType: eventType,\n      publicContentUrl: publicContentUrl,\n      publicContentUrlParameters: publicContentUrlParameters,\n      referrer: referrer\n    };\n    const args = new PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_args(params);\n    try {\n      output.writeMessageBegin('createPublicContentViewEventForAuthenticatedSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createPublicContentViewEventForAuthenticatedSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.invalidArgumentsToCreateViewEventException) {\n      return callback(result.invalidArgumentsToCreateViewEventException);\n    }\n    callback(null);\n  }\n\n  getUserPublicContentForAuthenticatedSession (sessionId, publicContentType) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getUserPublicContentForAuthenticatedSession(sessionId, publicContentType);\n    });\n  }\n\n  send_getUserPublicContentForAuthenticatedSession (sessionId, publicContentType) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionId: sessionId,\n      publicContentType: publicContentType\n    };\n    const args = new PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_args(params);\n    try {\n      output.writeMessageBegin('getUserPublicContentForAuthenticatedSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getUserPublicContentForAuthenticatedSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.invalidArgumentAsPublicContentTypeException) {\n      return callback(result.invalidArgumentAsPublicContentTypeException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getUserPublicContentForAuthenticatedSession failed: unknown result');\n  }\n};\nconst PublicContentViewEventServiceProcessor = exports.Processor = class PublicContentViewEventServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createPublicContentViewEventForUnauthenticatedSession (seqid, input, output) {\n    const args = new PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createPublicContentViewEventForUnauthenticatedSession.length === 5) {\n      Promise.resolve(this._handler.createPublicContentViewEventForUnauthenticatedSession.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.eventType,\n        args.publicContentUrl,\n        args.publicContentUrlParameters,\n        args.referrer\n      )).then(result => {\n        const result_obj = new PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_result({success: result});\n        output.writeMessageBegin(\"createPublicContentViewEventForUnauthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof public_content_Exceptions_ttypes.InvalidArgumentsToCreateViewEventException) {\n          result = new PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_result(err);\n          output.writeMessageBegin(\"createPublicContentViewEventForUnauthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createPublicContentViewEventForUnauthenticatedSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createPublicContentViewEventForUnauthenticatedSession(args.unauthenticatedUserSessionId, args.eventType, args.publicContentUrl, args.publicContentUrlParameters, args.referrer, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof public_content_Exceptions_ttypes.InvalidArgumentsToCreateViewEventException) {\n          result_obj = new PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createPublicContentViewEventForUnauthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createPublicContentViewEventForUnauthenticatedSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createPublicContentViewEventForAuthenticatedSession (seqid, input, output) {\n    const args = new PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createPublicContentViewEventForAuthenticatedSession.length === 5) {\n      Promise.resolve(this._handler.createPublicContentViewEventForAuthenticatedSession.bind(this._handler)(\n        args.sessionId,\n        args.eventType,\n        args.publicContentUrl,\n        args.publicContentUrlParameters,\n        args.referrer\n      )).then(result => {\n        const result_obj = new PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_result({success: result});\n        output.writeMessageBegin(\"createPublicContentViewEventForAuthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof public_content_Exceptions_ttypes.InvalidArgumentsToCreateViewEventException) {\n          result = new PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_result(err);\n          output.writeMessageBegin(\"createPublicContentViewEventForAuthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createPublicContentViewEventForAuthenticatedSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createPublicContentViewEventForAuthenticatedSession(args.sessionId, args.eventType, args.publicContentUrl, args.publicContentUrlParameters, args.referrer, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof public_content_Exceptions_ttypes.InvalidArgumentsToCreateViewEventException) {\n          result_obj = new PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createPublicContentViewEventForAuthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createPublicContentViewEventForAuthenticatedSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getUserPublicContentForAuthenticatedSession (seqid, input, output) {\n    const args = new PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getUserPublicContentForAuthenticatedSession.length === 2) {\n      Promise.resolve(this._handler.getUserPublicContentForAuthenticatedSession.bind(this._handler)(\n        args.sessionId,\n        args.publicContentType\n      )).then(result => {\n        const result_obj = new PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_result({success: result});\n        output.writeMessageBegin(\"getUserPublicContentForAuthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof public_content_Exceptions_ttypes.InvalidPublicContentTypeArgumentException) {\n          result = new PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_result(err);\n          output.writeMessageBegin(\"getUserPublicContentForAuthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getUserPublicContentForAuthenticatedSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getUserPublicContentForAuthenticatedSession(args.sessionId, args.publicContentType, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof public_content_Exceptions_ttypes.InvalidPublicContentTypeArgumentException) {\n          result_obj = new PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getUserPublicContentForAuthenticatedSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getUserPublicContentForAuthenticatedSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst sales_item_Model_ttypes = require('./sales_item_Model_types');\nconst sales_item_Exceptions_ttypes = require('./sales_item_Exceptions_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = require('./sales_item_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst SalesItemService_getRelevantSalesItemsForIds_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.salesItemIds = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.salesItemIds !== undefined && args.salesItemIds !== null) {\n        this.salesItemIds = Thrift.copyList(args.salesItemIds, [sales_item_Model_ttypes.SalesItemId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.salesItemIds = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new sales_item_Model_ttypes.SalesItemId();\n            elem3.read(input);\n            this.salesItemIds.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getRelevantSalesItemsForIds_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemIds !== null && this.salesItemIds !== undefined) {\n      output.writeFieldBegin('salesItemIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.salesItemIds.length);\n      for (let iter4 in this.salesItemIds) {\n        if (this.salesItemIds.hasOwnProperty(iter4)) {\n          iter4 = this.salesItemIds[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getRelevantSalesItemsForIds_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownSalesItemIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n        this.unknownSalesItemIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [sales_item_Model_ttypes.SalesItemAndId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownSalesItemIdException !== undefined && args.unknownSalesItemIdException !== null) {\n        this.unknownSalesItemIdException = args.unknownSalesItemIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new sales_item_Model_ttypes.SalesItemAndId();\n            elem8.read(input);\n            this.success.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSalesItemIdException = new sales_item_Exceptions_ttypes.UnknownSalesItemIdException();\n          this.unknownSalesItemIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getRelevantSalesItemsForIds_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter9 in this.success) {\n        if (this.success.hasOwnProperty(iter9)) {\n          iter9 = this.success[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSalesItemIdException !== null && this.unknownSalesItemIdException !== undefined) {\n      output.writeFieldBegin('unknownSalesItemIdException', Thrift.Type.STRUCT, 5);\n      this.unknownSalesItemIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getNonDeletedSalesItemIds_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getNonDeletedSalesItemIds_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getNonDeletedSalesItemIds_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [sales_item_Model_ttypes.SalesItemId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new sales_item_Model_ttypes.SalesItemId();\n            elem13.read(input);\n            this.success.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getNonDeletedSalesItemIds_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter14 in this.success) {\n        if (this.success.hasOwnProperty(iter14)) {\n          iter14 = this.success[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getDeletedSalesItemIds_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getDeletedSalesItemIds_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getDeletedSalesItemIds_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [sales_item_Model_ttypes.SalesItemId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new sales_item_Model_ttypes.SalesItemId();\n            elem18.read(input);\n            this.success.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getDeletedSalesItemIds_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter19 in this.success) {\n        if (this.success.hasOwnProperty(iter19)) {\n          iter19 = this.success[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getActiveSalesItemIdsUsingProduct_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    this.productId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getActiveSalesItemIdsUsingProduct_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 3);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getActiveSalesItemIdsUsingProduct_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [sales_item_Model_ttypes.SalesItemId]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp321 = input.readListBegin();\n          const _size20 = _rtmp321.size || 0;\n          for (let _i22 = 0; _i22 < _size20; ++_i22) {\n            let elem23 = null;\n            elem23 = new sales_item_Model_ttypes.SalesItemId();\n            elem23.read(input);\n            this.success.push(elem23);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getActiveSalesItemIdsUsingProduct_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter24 in this.success) {\n        if (this.success.hasOwnProperty(iter24)) {\n          iter24 = this.success[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_createSalesItem_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.salesItem = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.salesItem !== undefined && args.salesItem !== null) {\n        this.salesItem = new sales_item_Model_ttypes.SalesItem(args.salesItem);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItem is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItem = new sales_item_Model_ttypes.SalesItem();\n          this.salesItem.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_createSalesItem_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItem !== null && this.salesItem !== undefined) {\n      output.writeFieldBegin('salesItem', Thrift.Type.STRUCT, 2);\n      this.salesItem.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_createSalesItem_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new sales_item_Model_ttypes.SalesItemId(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new sales_item_Model_ttypes.SalesItemId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_createSalesItem_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_updateSalesItemForSingleReport_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.salesItemId = null;\n    this.salesItem = null;\n    this.itemLevelRevenueAndCostReportConfigurationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new sales_item_Model_ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.salesItem !== undefined && args.salesItem !== null) {\n        this.salesItem = new sales_item_Model_ttypes.SalesItem(args.salesItem);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItem is unset!');\n      }\n      if (args.itemLevelRevenueAndCostReportConfigurationId !== undefined && args.itemLevelRevenueAndCostReportConfigurationId !== null) {\n        this.itemLevelRevenueAndCostReportConfigurationId = new sales_item_Model_ttypes.ItemLevelRevenueAndCostReportConfigurationId(args.itemLevelRevenueAndCostReportConfigurationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field itemLevelRevenueAndCostReportConfigurationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new sales_item_Model_ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItem = new sales_item_Model_ttypes.SalesItem();\n          this.salesItem.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.itemLevelRevenueAndCostReportConfigurationId = new sales_item_Model_ttypes.ItemLevelRevenueAndCostReportConfigurationId();\n          this.itemLevelRevenueAndCostReportConfigurationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_updateSalesItemForSingleReport_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 2);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItem !== null && this.salesItem !== undefined) {\n      output.writeFieldBegin('salesItem', Thrift.Type.STRUCT, 3);\n      this.salesItem.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.itemLevelRevenueAndCostReportConfigurationId !== null && this.itemLevelRevenueAndCostReportConfigurationId !== undefined) {\n      output.writeFieldBegin('itemLevelRevenueAndCostReportConfigurationId', Thrift.Type.STRUCT, 4);\n      this.itemLevelRevenueAndCostReportConfigurationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_updateSalesItemForSingleReport_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownSalesItemIdException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n        this.unknownSalesItemIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [sales_item_Model_ttypes.SalesItemIdMapping]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownSalesItemIdException !== undefined && args.unknownSalesItemIdException !== null) {\n        this.unknownSalesItemIdException = args.unknownSalesItemIdException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp326 = input.readListBegin();\n          const _size25 = _rtmp326.size || 0;\n          for (let _i27 = 0; _i27 < _size25; ++_i27) {\n            let elem28 = null;\n            elem28 = new sales_item_Model_ttypes.SalesItemIdMapping();\n            elem28.read(input);\n            this.success.push(elem28);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSalesItemIdException = new sales_item_Exceptions_ttypes.UnknownSalesItemIdException();\n          this.unknownSalesItemIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_updateSalesItemForSingleReport_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter29 in this.success) {\n        if (this.success.hasOwnProperty(iter29)) {\n          iter29 = this.success[iter29];\n          iter29.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSalesItemIdException !== null && this.unknownSalesItemIdException !== undefined) {\n      output.writeFieldBegin('unknownSalesItemIdException', Thrift.Type.STRUCT, 5);\n      this.unknownSalesItemIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_updateSalesItemForCurrentAndFutureReports_args = class {\n  constructor(args) {\n    this.updateSalesItemRequest = null;\n    if (args) {\n      if (args.updateSalesItemRequest !== undefined && args.updateSalesItemRequest !== null) {\n        this.updateSalesItemRequest = new sales_item_Model_ttypes.UpdateSalesItemRequest(args.updateSalesItemRequest);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.updateSalesItemRequest = new sales_item_Model_ttypes.UpdateSalesItemRequest();\n          this.updateSalesItemRequest.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_updateSalesItemForCurrentAndFutureReports_args');\n    if (this.updateSalesItemRequest !== null && this.updateSalesItemRequest !== undefined) {\n      output.writeFieldBegin('updateSalesItemRequest', Thrift.Type.STRUCT, 1);\n      this.updateSalesItemRequest.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_updateSalesItemForCurrentAndFutureReports_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownSalesItemIdException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n        this.unknownSalesItemIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [sales_item_Model_ttypes.SalesItemIdMapping]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownSalesItemIdException !== undefined && args.unknownSalesItemIdException !== null) {\n        this.unknownSalesItemIdException = args.unknownSalesItemIdException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp331 = input.readListBegin();\n          const _size30 = _rtmp331.size || 0;\n          for (let _i32 = 0; _i32 < _size30; ++_i32) {\n            let elem33 = null;\n            elem33 = new sales_item_Model_ttypes.SalesItemIdMapping();\n            elem33.read(input);\n            this.success.push(elem33);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSalesItemIdException = new sales_item_Exceptions_ttypes.UnknownSalesItemIdException();\n          this.unknownSalesItemIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_updateSalesItemForCurrentAndFutureReports_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter34 in this.success) {\n        if (this.success.hasOwnProperty(iter34)) {\n          iter34 = this.success[iter34];\n          iter34.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSalesItemIdException !== null && this.unknownSalesItemIdException !== undefined) {\n      output.writeFieldBegin('unknownSalesItemIdException', Thrift.Type.STRUCT, 5);\n      this.unknownSalesItemIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_updateSalesItemForAllTime_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.salesItemId = null;\n    this.salesItem = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new sales_item_Model_ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.salesItem !== undefined && args.salesItem !== null) {\n        this.salesItem = new sales_item_Model_ttypes.SalesItem(args.salesItem);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItem is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new sales_item_Model_ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItem = new sales_item_Model_ttypes.SalesItem();\n          this.salesItem.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_updateSalesItemForAllTime_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 2);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItem !== null && this.salesItem !== undefined) {\n      output.writeFieldBegin('salesItem', Thrift.Type.STRUCT, 3);\n      this.salesItem.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_updateSalesItemForAllTime_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownSalesItemIdException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n        this.unknownSalesItemIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownSalesItemIdException !== undefined && args.unknownSalesItemIdException !== null) {\n        this.unknownSalesItemIdException = args.unknownSalesItemIdException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSalesItemIdException = new sales_item_Exceptions_ttypes.UnknownSalesItemIdException();\n          this.unknownSalesItemIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_updateSalesItemForAllTime_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSalesItemIdException !== null && this.unknownSalesItemIdException !== undefined) {\n      output.writeFieldBegin('unknownSalesItemIdException', Thrift.Type.STRUCT, 5);\n      this.unknownSalesItemIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_deleteSalesItems_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.salesItemIds = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.salesItemIds !== undefined && args.salesItemIds !== null) {\n        this.salesItemIds = Thrift.copyList(args.salesItemIds, [sales_item_Model_ttypes.SalesItemId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.salesItemIds = [];\n          const _rtmp336 = input.readListBegin();\n          const _size35 = _rtmp336.size || 0;\n          for (let _i37 = 0; _i37 < _size35; ++_i37) {\n            let elem38 = null;\n            elem38 = new sales_item_Model_ttypes.SalesItemId();\n            elem38.read(input);\n            this.salesItemIds.push(elem38);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_deleteSalesItems_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemIds !== null && this.salesItemIds !== undefined) {\n      output.writeFieldBegin('salesItemIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.salesItemIds.length);\n      for (let iter39 in this.salesItemIds) {\n        if (this.salesItemIds.hasOwnProperty(iter39)) {\n          iter39 = this.salesItemIds[iter39];\n          iter39.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_deleteSalesItems_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownSalesItemIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n        this.unknownSalesItemIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownSalesItemIdException !== undefined && args.unknownSalesItemIdException !== null) {\n        this.unknownSalesItemIdException = args.unknownSalesItemIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSalesItemIdException = new sales_item_Exceptions_ttypes.UnknownSalesItemIdException();\n          this.unknownSalesItemIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_deleteSalesItems_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSalesItemIdException !== null && this.unknownSalesItemIdException !== undefined) {\n      output.writeFieldBegin('unknownSalesItemIdException', Thrift.Type.STRUCT, 5);\n      this.unknownSalesItemIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_undeleteSalesItems_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.salesItemIds = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.salesItemIds !== undefined && args.salesItemIds !== null) {\n        this.salesItemIds = Thrift.copyList(args.salesItemIds, [sales_item_Model_ttypes.SalesItemId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.salesItemIds = [];\n          const _rtmp341 = input.readListBegin();\n          const _size40 = _rtmp341.size || 0;\n          for (let _i42 = 0; _i42 < _size40; ++_i42) {\n            let elem43 = null;\n            elem43 = new sales_item_Model_ttypes.SalesItemId();\n            elem43.read(input);\n            this.salesItemIds.push(elem43);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_undeleteSalesItems_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemIds !== null && this.salesItemIds !== undefined) {\n      output.writeFieldBegin('salesItemIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.salesItemIds.length);\n      for (let iter44 in this.salesItemIds) {\n        if (this.salesItemIds.hasOwnProperty(iter44)) {\n          iter44 = this.salesItemIds[iter44];\n          iter44.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_undeleteSalesItems_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownSalesItemIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n        this.unknownSalesItemIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownSalesItemIdException !== undefined && args.unknownSalesItemIdException !== null) {\n        this.unknownSalesItemIdException = args.unknownSalesItemIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSalesItemIdException = new sales_item_Exceptions_ttypes.UnknownSalesItemIdException();\n          this.unknownSalesItemIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_undeleteSalesItems_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSalesItemIdException !== null && this.unknownSalesItemIdException !== undefined) {\n      output.writeFieldBegin('unknownSalesItemIdException', Thrift.Type.STRUCT, 5);\n      this.unknownSalesItemIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_setSalesItemActiveState_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.salesItemIds = null;\n    this.isActive = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.salesItemIds !== undefined && args.salesItemIds !== null) {\n        this.salesItemIds = Thrift.copyList(args.salesItemIds, [sales_item_Model_ttypes.SalesItemId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemIds is unset!');\n      }\n      if (args.isActive !== undefined && args.isActive !== null) {\n        this.isActive = args.isActive;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field isActive is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.salesItemIds = [];\n          const _rtmp346 = input.readListBegin();\n          const _size45 = _rtmp346.size || 0;\n          for (let _i47 = 0; _i47 < _size45; ++_i47) {\n            let elem48 = null;\n            elem48 = new sales_item_Model_ttypes.SalesItemId();\n            elem48.read(input);\n            this.salesItemIds.push(elem48);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isActive = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_setSalesItemActiveState_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemIds !== null && this.salesItemIds !== undefined) {\n      output.writeFieldBegin('salesItemIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.salesItemIds.length);\n      for (let iter49 in this.salesItemIds) {\n        if (this.salesItemIds.hasOwnProperty(iter49)) {\n          iter49 = this.salesItemIds[iter49];\n          iter49.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.isActive !== null && this.isActive !== undefined) {\n      output.writeFieldBegin('isActive', Thrift.Type.BOOL, 3);\n      output.writeBool(this.isActive);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_setSalesItemActiveState_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownSalesItemIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n        this.unknownSalesItemIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownSalesItemIdException !== undefined && args.unknownSalesItemIdException !== null) {\n        this.unknownSalesItemIdException = args.unknownSalesItemIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSalesItemIdException = new sales_item_Exceptions_ttypes.UnknownSalesItemIdException();\n          this.unknownSalesItemIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_setSalesItemActiveState_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSalesItemIdException !== null && this.unknownSalesItemIdException !== undefined) {\n      output.writeFieldBegin('unknownSalesItemIdException', Thrift.Type.STRUCT, 5);\n      this.unknownSalesItemIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_uploadSalesItemImageAndGetUrl_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    this.salesItemId = null;\n    this.file = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new sales_item_Model_ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.file !== undefined && args.file !== null) {\n        this.file = args.file;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field file is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new sales_item_Model_ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.file = input.readBinary();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_uploadSalesItemImageAndGetUrl_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 3);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.file !== null && this.file !== undefined) {\n      output.writeFieldBegin('file', Thrift.Type.STRING, 4);\n      output.writeBinary(this.file);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_uploadSalesItemImageAndGetUrl_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownSalesItemIdException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n        this.unknownSalesItemIdException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = args.success;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownSalesItemIdException !== undefined && args.unknownSalesItemIdException !== null) {\n        this.unknownSalesItemIdException = args.unknownSalesItemIdException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRING) {\n          this.success = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSalesItemIdException = new sales_item_Exceptions_ttypes.UnknownSalesItemIdException();\n          this.unknownSalesItemIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_uploadSalesItemImageAndGetUrl_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRING, 0);\n      output.writeString(this.success);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSalesItemIdException !== null && this.unknownSalesItemIdException !== undefined) {\n      output.writeFieldBegin('unknownSalesItemIdException', Thrift.Type.STRUCT, 5);\n      this.unknownSalesItemIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getSalesItemImageUploadUrls_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    this.salesItemIds = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n      if (args.salesItemIds !== undefined && args.salesItemIds !== null) {\n        this.salesItemIds = Thrift.copyList(args.salesItemIds, [sales_item_Model_ttypes.SalesItemId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.salesItemIds = [];\n          const _rtmp351 = input.readListBegin();\n          const _size50 = _rtmp351.size || 0;\n          for (let _i52 = 0; _i52 < _size50; ++_i52) {\n            let elem53 = null;\n            elem53 = new sales_item_Model_ttypes.SalesItemId();\n            elem53.read(input);\n            this.salesItemIds.push(elem53);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getSalesItemImageUploadUrls_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemIds !== null && this.salesItemIds !== undefined) {\n      output.writeFieldBegin('salesItemIds', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.salesItemIds.length);\n      for (let iter54 in this.salesItemIds) {\n        if (this.salesItemIds.hasOwnProperty(iter54)) {\n          iter54 = this.salesItemIds[iter54];\n          iter54.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_getSalesItemImageUploadUrls_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [sales_item_Model_ttypes.SalesItemImageUploadUrl]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp356 = input.readListBegin();\n          const _size55 = _rtmp356.size || 0;\n          for (let _i57 = 0; _i57 < _size55; ++_i57) {\n            let elem58 = null;\n            elem58 = new sales_item_Model_ttypes.SalesItemImageUploadUrl();\n            elem58.read(input);\n            this.success.push(elem58);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_getSalesItemImageUploadUrls_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter59 in this.success) {\n        if (this.success.hasOwnProperty(iter59)) {\n          iter59 = this.success[iter59];\n          iter59.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_deleteSalesItemImageUpload_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationIdentifier = null;\n    this.salesItemId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new sales_item_Model_ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new sales_item_Model_ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_deleteSalesItemImageUpload_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 3);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemService_deleteSalesItemImageUpload_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemService_deleteSalesItemImageUpload_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 6);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemServiceClient = exports.Client = class SalesItemServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  getRelevantSalesItemsForIds (actor, salesItemIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getRelevantSalesItemsForIds(actor, salesItemIds);\n    });\n  }\n\n  send_getRelevantSalesItemsForIds (actor, salesItemIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      salesItemIds: salesItemIds\n    };\n    const args = new SalesItemService_getRelevantSalesItemsForIds_args(params);\n    try {\n      output.writeMessageBegin('getRelevantSalesItemsForIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getRelevantSalesItemsForIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_getRelevantSalesItemsForIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownSalesItemIdException) {\n      return callback(result.unknownSalesItemIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getRelevantSalesItemsForIds failed: unknown result');\n  }\n\n  getNonDeletedSalesItemIds (actor, locationIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getNonDeletedSalesItemIds(actor, locationIdentifier);\n    });\n  }\n\n  send_getNonDeletedSalesItemIds (actor, locationIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier\n    };\n    const args = new SalesItemService_getNonDeletedSalesItemIds_args(params);\n    try {\n      output.writeMessageBegin('getNonDeletedSalesItemIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getNonDeletedSalesItemIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_getNonDeletedSalesItemIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getNonDeletedSalesItemIds failed: unknown result');\n  }\n\n  getDeletedSalesItemIds (actor, locationIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getDeletedSalesItemIds(actor, locationIdentifier);\n    });\n  }\n\n  send_getDeletedSalesItemIds (actor, locationIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier\n    };\n    const args = new SalesItemService_getDeletedSalesItemIds_args(params);\n    try {\n      output.writeMessageBegin('getDeletedSalesItemIds', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getDeletedSalesItemIds (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_getDeletedSalesItemIds_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getDeletedSalesItemIds failed: unknown result');\n  }\n\n  getActiveSalesItemIdsUsingProduct (actor, locationIdentifier, productId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getActiveSalesItemIdsUsingProduct(actor, locationIdentifier, productId);\n    });\n  }\n\n  send_getActiveSalesItemIdsUsingProduct (actor, locationIdentifier, productId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier,\n      productId: productId\n    };\n    const args = new SalesItemService_getActiveSalesItemIdsUsingProduct_args(params);\n    try {\n      output.writeMessageBegin('getActiveSalesItemIdsUsingProduct', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getActiveSalesItemIdsUsingProduct (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_getActiveSalesItemIdsUsingProduct_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getActiveSalesItemIdsUsingProduct failed: unknown result');\n  }\n\n  createSalesItem (actor, salesItem) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createSalesItem(actor, salesItem);\n    });\n  }\n\n  send_createSalesItem (actor, salesItem) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      salesItem: salesItem\n    };\n    const args = new SalesItemService_createSalesItem_args(params);\n    try {\n      output.writeMessageBegin('createSalesItem', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createSalesItem (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_createSalesItem_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createSalesItem failed: unknown result');\n  }\n\n  updateSalesItemForSingleReport (actor, salesItemId, salesItem, itemLevelRevenueAndCostReportConfigurationId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateSalesItemForSingleReport(actor, salesItemId, salesItem, itemLevelRevenueAndCostReportConfigurationId);\n    });\n  }\n\n  send_updateSalesItemForSingleReport (actor, salesItemId, salesItem, itemLevelRevenueAndCostReportConfigurationId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      salesItemId: salesItemId,\n      salesItem: salesItem,\n      itemLevelRevenueAndCostReportConfigurationId: itemLevelRevenueAndCostReportConfigurationId\n    };\n    const args = new SalesItemService_updateSalesItemForSingleReport_args(params);\n    try {\n      output.writeMessageBegin('updateSalesItemForSingleReport', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateSalesItemForSingleReport (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_updateSalesItemForSingleReport_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownSalesItemIdException) {\n      return callback(result.unknownSalesItemIdException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('updateSalesItemForSingleReport failed: unknown result');\n  }\n\n  updateSalesItemForCurrentAndFutureReports (updateSalesItemRequest) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateSalesItemForCurrentAndFutureReports(updateSalesItemRequest);\n    });\n  }\n\n  send_updateSalesItemForCurrentAndFutureReports (updateSalesItemRequest) {\n    const output = new this.pClass(this.output);\n    const params = {\n      updateSalesItemRequest: updateSalesItemRequest\n    };\n    const args = new SalesItemService_updateSalesItemForCurrentAndFutureReports_args(params);\n    try {\n      output.writeMessageBegin('updateSalesItemForCurrentAndFutureReports', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateSalesItemForCurrentAndFutureReports (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_updateSalesItemForCurrentAndFutureReports_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownSalesItemIdException) {\n      return callback(result.unknownSalesItemIdException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('updateSalesItemForCurrentAndFutureReports failed: unknown result');\n  }\n\n  updateSalesItemForAllTime (actor, salesItemId, salesItem) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_updateSalesItemForAllTime(actor, salesItemId, salesItem);\n    });\n  }\n\n  send_updateSalesItemForAllTime (actor, salesItemId, salesItem) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      salesItemId: salesItemId,\n      salesItem: salesItem\n    };\n    const args = new SalesItemService_updateSalesItemForAllTime_args(params);\n    try {\n      output.writeMessageBegin('updateSalesItemForAllTime', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_updateSalesItemForAllTime (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_updateSalesItemForAllTime_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownSalesItemIdException) {\n      return callback(result.unknownSalesItemIdException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    callback(null);\n  }\n\n  deleteSalesItems (actor, salesItemIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteSalesItems(actor, salesItemIds);\n    });\n  }\n\n  send_deleteSalesItems (actor, salesItemIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      salesItemIds: salesItemIds\n    };\n    const args = new SalesItemService_deleteSalesItems_args(params);\n    try {\n      output.writeMessageBegin('deleteSalesItems', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteSalesItems (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_deleteSalesItems_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownSalesItemIdException) {\n      return callback(result.unknownSalesItemIdException);\n    }\n    callback(null);\n  }\n\n  undeleteSalesItems (actor, salesItemIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_undeleteSalesItems(actor, salesItemIds);\n    });\n  }\n\n  send_undeleteSalesItems (actor, salesItemIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      salesItemIds: salesItemIds\n    };\n    const args = new SalesItemService_undeleteSalesItems_args(params);\n    try {\n      output.writeMessageBegin('undeleteSalesItems', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_undeleteSalesItems (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_undeleteSalesItems_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownSalesItemIdException) {\n      return callback(result.unknownSalesItemIdException);\n    }\n    callback(null);\n  }\n\n  setSalesItemActiveState (actor, salesItemIds, isActive) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setSalesItemActiveState(actor, salesItemIds, isActive);\n    });\n  }\n\n  send_setSalesItemActiveState (actor, salesItemIds, isActive) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      salesItemIds: salesItemIds,\n      isActive: isActive\n    };\n    const args = new SalesItemService_setSalesItemActiveState_args(params);\n    try {\n      output.writeMessageBegin('setSalesItemActiveState', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setSalesItemActiveState (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_setSalesItemActiveState_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownSalesItemIdException) {\n      return callback(result.unknownSalesItemIdException);\n    }\n    callback(null);\n  }\n\n  uploadSalesItemImageAndGetUrl (actor, locationIdentifier, salesItemId, file) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_uploadSalesItemImageAndGetUrl(actor, locationIdentifier, salesItemId, file);\n    });\n  }\n\n  send_uploadSalesItemImageAndGetUrl (actor, locationIdentifier, salesItemId, file) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier,\n      salesItemId: salesItemId,\n      file: file\n    };\n    const args = new SalesItemService_uploadSalesItemImageAndGetUrl_args(params);\n    try {\n      output.writeMessageBegin('uploadSalesItemImageAndGetUrl', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_uploadSalesItemImageAndGetUrl (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_uploadSalesItemImageAndGetUrl_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownSalesItemIdException) {\n      return callback(result.unknownSalesItemIdException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('uploadSalesItemImageAndGetUrl failed: unknown result');\n  }\n\n  getSalesItemImageUploadUrls (actor, locationIdentifier, salesItemIds) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getSalesItemImageUploadUrls(actor, locationIdentifier, salesItemIds);\n    });\n  }\n\n  send_getSalesItemImageUploadUrls (actor, locationIdentifier, salesItemIds) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier,\n      salesItemIds: salesItemIds\n    };\n    const args = new SalesItemService_getSalesItemImageUploadUrls_args(params);\n    try {\n      output.writeMessageBegin('getSalesItemImageUploadUrls', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getSalesItemImageUploadUrls (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_getSalesItemImageUploadUrls_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getSalesItemImageUploadUrls failed: unknown result');\n  }\n\n  deleteSalesItemImageUpload (actor, locationIdentifier, salesItemId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteSalesItemImageUpload(actor, locationIdentifier, salesItemId);\n    });\n  }\n\n  send_deleteSalesItemImageUpload (actor, locationIdentifier, salesItemId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationIdentifier: locationIdentifier,\n      salesItemId: salesItemId\n    };\n    const args = new SalesItemService_deleteSalesItemImageUpload_args(params);\n    try {\n      output.writeMessageBegin('deleteSalesItemImageUpload', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteSalesItemImageUpload (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new SalesItemService_deleteSalesItemImageUpload_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    callback(null);\n  }\n};\nconst SalesItemServiceProcessor = exports.Processor = class SalesItemServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_getRelevantSalesItemsForIds (seqid, input, output) {\n    const args = new SalesItemService_getRelevantSalesItemsForIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getRelevantSalesItemsForIds.length === 2) {\n      Promise.resolve(this._handler.getRelevantSalesItemsForIds.bind(this._handler)(\n        args.actor,\n        args.salesItemIds\n      )).then(result => {\n        const result_obj = new SalesItemService_getRelevantSalesItemsForIds_result({success: result});\n        output.writeMessageBegin(\"getRelevantSalesItemsForIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n          result = new SalesItemService_getRelevantSalesItemsForIds_result(err);\n          output.writeMessageBegin(\"getRelevantSalesItemsForIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getRelevantSalesItemsForIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getRelevantSalesItemsForIds(args.actor, args.salesItemIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n          result_obj = new SalesItemService_getRelevantSalesItemsForIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getRelevantSalesItemsForIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getRelevantSalesItemsForIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getNonDeletedSalesItemIds (seqid, input, output) {\n    const args = new SalesItemService_getNonDeletedSalesItemIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getNonDeletedSalesItemIds.length === 2) {\n      Promise.resolve(this._handler.getNonDeletedSalesItemIds.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier\n      )).then(result => {\n        const result_obj = new SalesItemService_getNonDeletedSalesItemIds_result({success: result});\n        output.writeMessageBegin(\"getNonDeletedSalesItemIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_getNonDeletedSalesItemIds_result(err);\n          output.writeMessageBegin(\"getNonDeletedSalesItemIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getNonDeletedSalesItemIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getNonDeletedSalesItemIds(args.actor, args.locationIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_getNonDeletedSalesItemIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getNonDeletedSalesItemIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getNonDeletedSalesItemIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getDeletedSalesItemIds (seqid, input, output) {\n    const args = new SalesItemService_getDeletedSalesItemIds_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getDeletedSalesItemIds.length === 2) {\n      Promise.resolve(this._handler.getDeletedSalesItemIds.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier\n      )).then(result => {\n        const result_obj = new SalesItemService_getDeletedSalesItemIds_result({success: result});\n        output.writeMessageBegin(\"getDeletedSalesItemIds\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_getDeletedSalesItemIds_result(err);\n          output.writeMessageBegin(\"getDeletedSalesItemIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDeletedSalesItemIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getDeletedSalesItemIds(args.actor, args.locationIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_getDeletedSalesItemIds_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getDeletedSalesItemIds\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getDeletedSalesItemIds\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getActiveSalesItemIdsUsingProduct (seqid, input, output) {\n    const args = new SalesItemService_getActiveSalesItemIdsUsingProduct_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getActiveSalesItemIdsUsingProduct.length === 3) {\n      Promise.resolve(this._handler.getActiveSalesItemIdsUsingProduct.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier,\n        args.productId\n      )).then(result => {\n        const result_obj = new SalesItemService_getActiveSalesItemIdsUsingProduct_result({success: result});\n        output.writeMessageBegin(\"getActiveSalesItemIdsUsingProduct\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_getActiveSalesItemIdsUsingProduct_result(err);\n          output.writeMessageBegin(\"getActiveSalesItemIdsUsingProduct\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getActiveSalesItemIdsUsingProduct\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getActiveSalesItemIdsUsingProduct(args.actor, args.locationIdentifier, args.productId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_getActiveSalesItemIdsUsingProduct_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getActiveSalesItemIdsUsingProduct\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getActiveSalesItemIdsUsingProduct\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createSalesItem (seqid, input, output) {\n    const args = new SalesItemService_createSalesItem_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createSalesItem.length === 2) {\n      Promise.resolve(this._handler.createSalesItem.bind(this._handler)(\n        args.actor,\n        args.salesItem\n      )).then(result => {\n        const result_obj = new SalesItemService_createSalesItem_result({success: result});\n        output.writeMessageBegin(\"createSalesItem\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_createSalesItem_result(err);\n          output.writeMessageBegin(\"createSalesItem\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createSalesItem\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createSalesItem(args.actor, args.salesItem, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_createSalesItem_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createSalesItem\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createSalesItem\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateSalesItemForSingleReport (seqid, input, output) {\n    const args = new SalesItemService_updateSalesItemForSingleReport_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateSalesItemForSingleReport.length === 4) {\n      Promise.resolve(this._handler.updateSalesItemForSingleReport.bind(this._handler)(\n        args.actor,\n        args.salesItemId,\n        args.salesItem,\n        args.itemLevelRevenueAndCostReportConfigurationId\n      )).then(result => {\n        const result_obj = new SalesItemService_updateSalesItemForSingleReport_result({success: result});\n        output.writeMessageBegin(\"updateSalesItemForSingleReport\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_updateSalesItemForSingleReport_result(err);\n          output.writeMessageBegin(\"updateSalesItemForSingleReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateSalesItemForSingleReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateSalesItemForSingleReport(args.actor, args.salesItemId, args.salesItem, args.itemLevelRevenueAndCostReportConfigurationId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_updateSalesItemForSingleReport_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateSalesItemForSingleReport\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateSalesItemForSingleReport\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateSalesItemForCurrentAndFutureReports (seqid, input, output) {\n    const args = new SalesItemService_updateSalesItemForCurrentAndFutureReports_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateSalesItemForCurrentAndFutureReports.length === 1) {\n      Promise.resolve(this._handler.updateSalesItemForCurrentAndFutureReports.bind(this._handler)(\n        args.updateSalesItemRequest\n      )).then(result => {\n        const result_obj = new SalesItemService_updateSalesItemForCurrentAndFutureReports_result({success: result});\n        output.writeMessageBegin(\"updateSalesItemForCurrentAndFutureReports\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_updateSalesItemForCurrentAndFutureReports_result(err);\n          output.writeMessageBegin(\"updateSalesItemForCurrentAndFutureReports\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateSalesItemForCurrentAndFutureReports\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateSalesItemForCurrentAndFutureReports(args.updateSalesItemRequest, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_updateSalesItemForCurrentAndFutureReports_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateSalesItemForCurrentAndFutureReports\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateSalesItemForCurrentAndFutureReports\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_updateSalesItemForAllTime (seqid, input, output) {\n    const args = new SalesItemService_updateSalesItemForAllTime_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.updateSalesItemForAllTime.length === 3) {\n      Promise.resolve(this._handler.updateSalesItemForAllTime.bind(this._handler)(\n        args.actor,\n        args.salesItemId,\n        args.salesItem\n      )).then(result => {\n        const result_obj = new SalesItemService_updateSalesItemForAllTime_result({success: result});\n        output.writeMessageBegin(\"updateSalesItemForAllTime\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_updateSalesItemForAllTime_result(err);\n          output.writeMessageBegin(\"updateSalesItemForAllTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateSalesItemForAllTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.updateSalesItemForAllTime(args.actor, args.salesItemId, args.salesItem, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_updateSalesItemForAllTime_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"updateSalesItemForAllTime\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"updateSalesItemForAllTime\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteSalesItems (seqid, input, output) {\n    const args = new SalesItemService_deleteSalesItems_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteSalesItems.length === 2) {\n      Promise.resolve(this._handler.deleteSalesItems.bind(this._handler)(\n        args.actor,\n        args.salesItemIds\n      )).then(result => {\n        const result_obj = new SalesItemService_deleteSalesItems_result({success: result});\n        output.writeMessageBegin(\"deleteSalesItems\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n          result = new SalesItemService_deleteSalesItems_result(err);\n          output.writeMessageBegin(\"deleteSalesItems\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteSalesItems\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteSalesItems(args.actor, args.salesItemIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n          result_obj = new SalesItemService_deleteSalesItems_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteSalesItems\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteSalesItems\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_undeleteSalesItems (seqid, input, output) {\n    const args = new SalesItemService_undeleteSalesItems_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.undeleteSalesItems.length === 2) {\n      Promise.resolve(this._handler.undeleteSalesItems.bind(this._handler)(\n        args.actor,\n        args.salesItemIds\n      )).then(result => {\n        const result_obj = new SalesItemService_undeleteSalesItems_result({success: result});\n        output.writeMessageBegin(\"undeleteSalesItems\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n          result = new SalesItemService_undeleteSalesItems_result(err);\n          output.writeMessageBegin(\"undeleteSalesItems\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"undeleteSalesItems\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.undeleteSalesItems(args.actor, args.salesItemIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n          result_obj = new SalesItemService_undeleteSalesItems_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"undeleteSalesItems\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"undeleteSalesItems\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setSalesItemActiveState (seqid, input, output) {\n    const args = new SalesItemService_setSalesItemActiveState_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setSalesItemActiveState.length === 3) {\n      Promise.resolve(this._handler.setSalesItemActiveState.bind(this._handler)(\n        args.actor,\n        args.salesItemIds,\n        args.isActive\n      )).then(result => {\n        const result_obj = new SalesItemService_setSalesItemActiveState_result({success: result});\n        output.writeMessageBegin(\"setSalesItemActiveState\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n          result = new SalesItemService_setSalesItemActiveState_result(err);\n          output.writeMessageBegin(\"setSalesItemActiveState\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setSalesItemActiveState\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setSalesItemActiveState(args.actor, args.salesItemIds, args.isActive, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException) {\n          result_obj = new SalesItemService_setSalesItemActiveState_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setSalesItemActiveState\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setSalesItemActiveState\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_uploadSalesItemImageAndGetUrl (seqid, input, output) {\n    const args = new SalesItemService_uploadSalesItemImageAndGetUrl_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.uploadSalesItemImageAndGetUrl.length === 4) {\n      Promise.resolve(this._handler.uploadSalesItemImageAndGetUrl.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier,\n        args.salesItemId,\n        args.file\n      )).then(result => {\n        const result_obj = new SalesItemService_uploadSalesItemImageAndGetUrl_result({success: result});\n        output.writeMessageBegin(\"uploadSalesItemImageAndGetUrl\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_uploadSalesItemImageAndGetUrl_result(err);\n          output.writeMessageBegin(\"uploadSalesItemImageAndGetUrl\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"uploadSalesItemImageAndGetUrl\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.uploadSalesItemImageAndGetUrl(args.actor, args.locationIdentifier, args.salesItemId, args.file, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof sales_item_Exceptions_ttypes.UnknownSalesItemIdException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_uploadSalesItemImageAndGetUrl_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"uploadSalesItemImageAndGetUrl\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"uploadSalesItemImageAndGetUrl\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getSalesItemImageUploadUrls (seqid, input, output) {\n    const args = new SalesItemService_getSalesItemImageUploadUrls_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getSalesItemImageUploadUrls.length === 3) {\n      Promise.resolve(this._handler.getSalesItemImageUploadUrls.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier,\n        args.salesItemIds\n      )).then(result => {\n        const result_obj = new SalesItemService_getSalesItemImageUploadUrls_result({success: result});\n        output.writeMessageBegin(\"getSalesItemImageUploadUrls\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_getSalesItemImageUploadUrls_result(err);\n          output.writeMessageBegin(\"getSalesItemImageUploadUrls\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getSalesItemImageUploadUrls\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getSalesItemImageUploadUrls(args.actor, args.locationIdentifier, args.salesItemIds, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_getSalesItemImageUploadUrls_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getSalesItemImageUploadUrls\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getSalesItemImageUploadUrls\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteSalesItemImageUpload (seqid, input, output) {\n    const args = new SalesItemService_deleteSalesItemImageUpload_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteSalesItemImageUpload.length === 3) {\n      Promise.resolve(this._handler.deleteSalesItemImageUpload.bind(this._handler)(\n        args.actor,\n        args.locationIdentifier,\n        args.salesItemId\n      )).then(result => {\n        const result_obj = new SalesItemService_deleteSalesItemImageUpload_result({success: result});\n        output.writeMessageBegin(\"deleteSalesItemImageUpload\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new SalesItemService_deleteSalesItemImageUpload_result(err);\n          output.writeMessageBegin(\"deleteSalesItemImageUpload\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteSalesItemImageUpload\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteSalesItemImageUpload(args.actor, args.locationIdentifier, args.salesItemId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new SalesItemService_deleteSalesItemImageUpload_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteSalesItemImageUpload\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteSalesItemImageUpload\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = require('./unauthenticated_user_session_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst UnauthenticatedUserSessionService_createSession_args = class {\n  constructor(args) {\n    this.canvasData = null;\n    this.webGLVendor = null;\n    this.webGLRenderer = null;\n    this.plugins = null;\n    this.localStorageAllowed = null;\n    this.sessionStorageAllowed = null;\n    this.cookieAllowed = null;\n    this.platform = null;\n    this.doNotTrack = null;\n    this.timezone = null;\n    this.resolution = null;\n    this.referrer = null;\n    if (args) {\n      if (args.canvasData !== undefined && args.canvasData !== null) {\n        this.canvasData = args.canvasData;\n      }\n      if (args.webGLVendor !== undefined && args.webGLVendor !== null) {\n        this.webGLVendor = args.webGLVendor;\n      }\n      if (args.webGLRenderer !== undefined && args.webGLRenderer !== null) {\n        this.webGLRenderer = args.webGLRenderer;\n      }\n      if (args.plugins !== undefined && args.plugins !== null) {\n        this.plugins = args.plugins;\n      }\n      if (args.localStorageAllowed !== undefined && args.localStorageAllowed !== null) {\n        this.localStorageAllowed = args.localStorageAllowed;\n      }\n      if (args.sessionStorageAllowed !== undefined && args.sessionStorageAllowed !== null) {\n        this.sessionStorageAllowed = args.sessionStorageAllowed;\n      }\n      if (args.cookieAllowed !== undefined && args.cookieAllowed !== null) {\n        this.cookieAllowed = args.cookieAllowed;\n      }\n      if (args.platform !== undefined && args.platform !== null) {\n        this.platform = args.platform;\n      }\n      if (args.doNotTrack !== undefined && args.doNotTrack !== null) {\n        this.doNotTrack = args.doNotTrack;\n      }\n      if (args.timezone !== undefined && args.timezone !== null) {\n        this.timezone = args.timezone;\n      }\n      if (args.resolution !== undefined && args.resolution !== null) {\n        this.resolution = args.resolution;\n      }\n      if (args.referrer !== undefined && args.referrer !== null) {\n        this.referrer = args.referrer;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.canvasData = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.webGLVendor = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.webGLRenderer = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.plugins = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.localStorageAllowed = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.sessionStorageAllowed = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRING) {\n          this.cookieAllowed = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRING) {\n          this.platform = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRING) {\n          this.doNotTrack = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRING) {\n          this.timezone = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 11:\n        if (ftype == Thrift.Type.STRING) {\n          this.resolution = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 12:\n        if (ftype == Thrift.Type.STRING) {\n          this.referrer = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnauthenticatedUserSessionService_createSession_args');\n    if (this.canvasData !== null && this.canvasData !== undefined) {\n      output.writeFieldBegin('canvasData', Thrift.Type.STRING, 1);\n      output.writeString(this.canvasData);\n      output.writeFieldEnd();\n    }\n    if (this.webGLVendor !== null && this.webGLVendor !== undefined) {\n      output.writeFieldBegin('webGLVendor', Thrift.Type.STRING, 2);\n      output.writeString(this.webGLVendor);\n      output.writeFieldEnd();\n    }\n    if (this.webGLRenderer !== null && this.webGLRenderer !== undefined) {\n      output.writeFieldBegin('webGLRenderer', Thrift.Type.STRING, 3);\n      output.writeString(this.webGLRenderer);\n      output.writeFieldEnd();\n    }\n    if (this.plugins !== null && this.plugins !== undefined) {\n      output.writeFieldBegin('plugins', Thrift.Type.STRING, 4);\n      output.writeString(this.plugins);\n      output.writeFieldEnd();\n    }\n    if (this.localStorageAllowed !== null && this.localStorageAllowed !== undefined) {\n      output.writeFieldBegin('localStorageAllowed', Thrift.Type.STRING, 5);\n      output.writeString(this.localStorageAllowed);\n      output.writeFieldEnd();\n    }\n    if (this.sessionStorageAllowed !== null && this.sessionStorageAllowed !== undefined) {\n      output.writeFieldBegin('sessionStorageAllowed', Thrift.Type.STRING, 6);\n      output.writeString(this.sessionStorageAllowed);\n      output.writeFieldEnd();\n    }\n    if (this.cookieAllowed !== null && this.cookieAllowed !== undefined) {\n      output.writeFieldBegin('cookieAllowed', Thrift.Type.STRING, 7);\n      output.writeString(this.cookieAllowed);\n      output.writeFieldEnd();\n    }\n    if (this.platform !== null && this.platform !== undefined) {\n      output.writeFieldBegin('platform', Thrift.Type.STRING, 8);\n      output.writeString(this.platform);\n      output.writeFieldEnd();\n    }\n    if (this.doNotTrack !== null && this.doNotTrack !== undefined) {\n      output.writeFieldBegin('doNotTrack', Thrift.Type.STRING, 9);\n      output.writeString(this.doNotTrack);\n      output.writeFieldEnd();\n    }\n    if (this.timezone !== null && this.timezone !== undefined) {\n      output.writeFieldBegin('timezone', Thrift.Type.STRING, 10);\n      output.writeString(this.timezone);\n      output.writeFieldEnd();\n    }\n    if (this.resolution !== null && this.resolution !== undefined) {\n      output.writeFieldBegin('resolution', Thrift.Type.STRING, 11);\n      output.writeString(this.resolution);\n      output.writeFieldEnd();\n    }\n    if (this.referrer !== null && this.referrer !== undefined) {\n      output.writeFieldBegin('referrer', Thrift.Type.STRING, 12);\n      output.writeString(this.referrer);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnauthenticatedUserSessionService_createSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.canvasDataInvalidStringLengthException = null;\n    this.webGLVendorInvalidStringLengthException = null;\n    this.webGLRendererInvalidStringLengthException = null;\n    this.pluginsInvalidStringLengthException = null;\n    this.localStorageAllowedInvalidStringLengthException = null;\n    this.sessionStorageAllowedInvalidStringLengthException = null;\n    this.cookieAllowedInvalidStringLengthException = null;\n    this.platformInvalidStringLengthException = null;\n    this.doNotTrackInvalidStringLengthException = null;\n    this.timeZoneInvalidStringLengthException = null;\n    this.resolutionInvalidStringLengthException = null;\n    this.referrerInvalidStringLengthException = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.CanvasDataInvalidStringLengthException) {\n        this.canvasDataInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.WebGLVendorInvalidStringLengthException) {\n        this.webGLVendorInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.WebGLRendererInvalidStringLengthException) {\n        this.webGLRendererInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.PluginsInvalidStringLengthException) {\n        this.pluginsInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.LocalStorageAllowedInvalidStringLengthException) {\n        this.localStorageAllowedInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.SessionStorageAllowedInvalidStringLengthException) {\n        this.sessionStorageAllowedInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.CookieAllowedInvalidStringLengthException) {\n        this.cookieAllowedInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.PlatformInvalidStringLengthException) {\n        this.platformInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.DoNotTrackInvalidStringLengthException) {\n        this.doNotTrackInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.TimezoneInvalidStringLengthException) {\n        this.timeZoneInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.ResolutionInvalidStringLengthException) {\n        this.resolutionInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.ReferrerInvalidStringLengthException) {\n        this.referrerInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.success);\n      }\n      if (args.canvasDataInvalidStringLengthException !== undefined && args.canvasDataInvalidStringLengthException !== null) {\n        this.canvasDataInvalidStringLengthException = args.canvasDataInvalidStringLengthException;\n      }\n      if (args.webGLVendorInvalidStringLengthException !== undefined && args.webGLVendorInvalidStringLengthException !== null) {\n        this.webGLVendorInvalidStringLengthException = args.webGLVendorInvalidStringLengthException;\n      }\n      if (args.webGLRendererInvalidStringLengthException !== undefined && args.webGLRendererInvalidStringLengthException !== null) {\n        this.webGLRendererInvalidStringLengthException = args.webGLRendererInvalidStringLengthException;\n      }\n      if (args.pluginsInvalidStringLengthException !== undefined && args.pluginsInvalidStringLengthException !== null) {\n        this.pluginsInvalidStringLengthException = args.pluginsInvalidStringLengthException;\n      }\n      if (args.localStorageAllowedInvalidStringLengthException !== undefined && args.localStorageAllowedInvalidStringLengthException !== null) {\n        this.localStorageAllowedInvalidStringLengthException = args.localStorageAllowedInvalidStringLengthException;\n      }\n      if (args.sessionStorageAllowedInvalidStringLengthException !== undefined && args.sessionStorageAllowedInvalidStringLengthException !== null) {\n        this.sessionStorageAllowedInvalidStringLengthException = args.sessionStorageAllowedInvalidStringLengthException;\n      }\n      if (args.cookieAllowedInvalidStringLengthException !== undefined && args.cookieAllowedInvalidStringLengthException !== null) {\n        this.cookieAllowedInvalidStringLengthException = args.cookieAllowedInvalidStringLengthException;\n      }\n      if (args.platformInvalidStringLengthException !== undefined && args.platformInvalidStringLengthException !== null) {\n        this.platformInvalidStringLengthException = args.platformInvalidStringLengthException;\n      }\n      if (args.doNotTrackInvalidStringLengthException !== undefined && args.doNotTrackInvalidStringLengthException !== null) {\n        this.doNotTrackInvalidStringLengthException = args.doNotTrackInvalidStringLengthException;\n      }\n      if (args.timeZoneInvalidStringLengthException !== undefined && args.timeZoneInvalidStringLengthException !== null) {\n        this.timeZoneInvalidStringLengthException = args.timeZoneInvalidStringLengthException;\n      }\n      if (args.resolutionInvalidStringLengthException !== undefined && args.resolutionInvalidStringLengthException !== null) {\n        this.resolutionInvalidStringLengthException = args.resolutionInvalidStringLengthException;\n      }\n      if (args.referrerInvalidStringLengthException !== undefined && args.referrerInvalidStringLengthException !== null) {\n        this.referrerInvalidStringLengthException = args.referrerInvalidStringLengthException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.canvasDataInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.CanvasDataInvalidStringLengthException();\n          this.canvasDataInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.webGLVendorInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.WebGLVendorInvalidStringLengthException();\n          this.webGLVendorInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.webGLRendererInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.WebGLRendererInvalidStringLengthException();\n          this.webGLRendererInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.pluginsInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.PluginsInvalidStringLengthException();\n          this.pluginsInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.localStorageAllowedInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.LocalStorageAllowedInvalidStringLengthException();\n          this.localStorageAllowedInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionStorageAllowedInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.SessionStorageAllowedInvalidStringLengthException();\n          this.sessionStorageAllowedInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.cookieAllowedInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.CookieAllowedInvalidStringLengthException();\n          this.cookieAllowedInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.platformInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.PlatformInvalidStringLengthException();\n          this.platformInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.doNotTrackInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.DoNotTrackInvalidStringLengthException();\n          this.doNotTrackInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.timeZoneInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.TimezoneInvalidStringLengthException();\n          this.timeZoneInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 11:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.resolutionInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.ResolutionInvalidStringLengthException();\n          this.resolutionInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 12:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.referrerInvalidStringLengthException = new unauthenticated_user_session_Exceptions_ttypes.ReferrerInvalidStringLengthException();\n          this.referrerInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 13:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 14:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnauthenticatedUserSessionService_createSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.canvasDataInvalidStringLengthException !== null && this.canvasDataInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('canvasDataInvalidStringLengthException', Thrift.Type.STRUCT, 1);\n      this.canvasDataInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.webGLVendorInvalidStringLengthException !== null && this.webGLVendorInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('webGLVendorInvalidStringLengthException', Thrift.Type.STRUCT, 2);\n      this.webGLVendorInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.webGLRendererInvalidStringLengthException !== null && this.webGLRendererInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('webGLRendererInvalidStringLengthException', Thrift.Type.STRUCT, 3);\n      this.webGLRendererInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.pluginsInvalidStringLengthException !== null && this.pluginsInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('pluginsInvalidStringLengthException', Thrift.Type.STRUCT, 4);\n      this.pluginsInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.localStorageAllowedInvalidStringLengthException !== null && this.localStorageAllowedInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('localStorageAllowedInvalidStringLengthException', Thrift.Type.STRUCT, 5);\n      this.localStorageAllowedInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sessionStorageAllowedInvalidStringLengthException !== null && this.sessionStorageAllowedInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('sessionStorageAllowedInvalidStringLengthException', Thrift.Type.STRUCT, 6);\n      this.sessionStorageAllowedInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.cookieAllowedInvalidStringLengthException !== null && this.cookieAllowedInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('cookieAllowedInvalidStringLengthException', Thrift.Type.STRUCT, 7);\n      this.cookieAllowedInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.platformInvalidStringLengthException !== null && this.platformInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('platformInvalidStringLengthException', Thrift.Type.STRUCT, 8);\n      this.platformInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.doNotTrackInvalidStringLengthException !== null && this.doNotTrackInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('doNotTrackInvalidStringLengthException', Thrift.Type.STRUCT, 9);\n      this.doNotTrackInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.timeZoneInvalidStringLengthException !== null && this.timeZoneInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('timeZoneInvalidStringLengthException', Thrift.Type.STRUCT, 10);\n      this.timeZoneInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.resolutionInvalidStringLengthException !== null && this.resolutionInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('resolutionInvalidStringLengthException', Thrift.Type.STRUCT, 11);\n      this.resolutionInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.referrerInvalidStringLengthException !== null && this.referrerInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('referrerInvalidStringLengthException', Thrift.Type.STRUCT, 12);\n      this.referrerInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 13);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 14);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnauthenticatedUserSessionServiceClient = exports.Client = class UnauthenticatedUserSessionServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createSession (canvasData, webGLVendor, webGLRenderer, plugins, localStorageAllowed, sessionStorageAllowed, cookieAllowed, platform, doNotTrack, timezone, resolution, referrer) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createSession(canvasData, webGLVendor, webGLRenderer, plugins, localStorageAllowed, sessionStorageAllowed, cookieAllowed, platform, doNotTrack, timezone, resolution, referrer);\n    });\n  }\n\n  send_createSession (canvasData, webGLVendor, webGLRenderer, plugins, localStorageAllowed, sessionStorageAllowed, cookieAllowed, platform, doNotTrack, timezone, resolution, referrer) {\n    const output = new this.pClass(this.output);\n    const params = {\n      canvasData: canvasData,\n      webGLVendor: webGLVendor,\n      webGLRenderer: webGLRenderer,\n      plugins: plugins,\n      localStorageAllowed: localStorageAllowed,\n      sessionStorageAllowed: sessionStorageAllowed,\n      cookieAllowed: cookieAllowed,\n      platform: platform,\n      doNotTrack: doNotTrack,\n      timezone: timezone,\n      resolution: resolution,\n      referrer: referrer\n    };\n    const args = new UnauthenticatedUserSessionService_createSession_args(params);\n    try {\n      output.writeMessageBegin('createSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UnauthenticatedUserSessionService_createSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.canvasDataInvalidStringLengthException) {\n      return callback(result.canvasDataInvalidStringLengthException);\n    }\n    if (null !== result.webGLVendorInvalidStringLengthException) {\n      return callback(result.webGLVendorInvalidStringLengthException);\n    }\n    if (null !== result.webGLRendererInvalidStringLengthException) {\n      return callback(result.webGLRendererInvalidStringLengthException);\n    }\n    if (null !== result.pluginsInvalidStringLengthException) {\n      return callback(result.pluginsInvalidStringLengthException);\n    }\n    if (null !== result.localStorageAllowedInvalidStringLengthException) {\n      return callback(result.localStorageAllowedInvalidStringLengthException);\n    }\n    if (null !== result.sessionStorageAllowedInvalidStringLengthException) {\n      return callback(result.sessionStorageAllowedInvalidStringLengthException);\n    }\n    if (null !== result.cookieAllowedInvalidStringLengthException) {\n      return callback(result.cookieAllowedInvalidStringLengthException);\n    }\n    if (null !== result.platformInvalidStringLengthException) {\n      return callback(result.platformInvalidStringLengthException);\n    }\n    if (null !== result.doNotTrackInvalidStringLengthException) {\n      return callback(result.doNotTrackInvalidStringLengthException);\n    }\n    if (null !== result.timeZoneInvalidStringLengthException) {\n      return callback(result.timeZoneInvalidStringLengthException);\n    }\n    if (null !== result.resolutionInvalidStringLengthException) {\n      return callback(result.resolutionInvalidStringLengthException);\n    }\n    if (null !== result.referrerInvalidStringLengthException) {\n      return callback(result.referrerInvalidStringLengthException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createSession failed: unknown result');\n  }\n};\nconst UnauthenticatedUserSessionServiceProcessor = exports.Processor = class UnauthenticatedUserSessionServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createSession (seqid, input, output) {\n    const args = new UnauthenticatedUserSessionService_createSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createSession.length === 12) {\n      Promise.resolve(this._handler.createSession.bind(this._handler)(\n        args.canvasData,\n        args.webGLVendor,\n        args.webGLRenderer,\n        args.plugins,\n        args.localStorageAllowed,\n        args.sessionStorageAllowed,\n        args.cookieAllowed,\n        args.platform,\n        args.doNotTrack,\n        args.timezone,\n        args.resolution,\n        args.referrer\n      )).then(result => {\n        const result_obj = new UnauthenticatedUserSessionService_createSession_result({success: result});\n        output.writeMessageBegin(\"createSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof unauthenticated_user_session_Exceptions_ttypes.CanvasDataInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.WebGLVendorInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.WebGLRendererInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.PluginsInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.LocalStorageAllowedInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.SessionStorageAllowedInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.CookieAllowedInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.PlatformInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.DoNotTrackInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.TimezoneInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.ResolutionInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.ReferrerInvalidStringLengthException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n          result = new UnauthenticatedUserSessionService_createSession_result(err);\n          output.writeMessageBegin(\"createSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createSession(args.canvasData, args.webGLVendor, args.webGLRenderer, args.plugins, args.localStorageAllowed, args.sessionStorageAllowed, args.cookieAllowed, args.platform, args.doNotTrack, args.timezone, args.resolution, args.referrer, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof unauthenticated_user_session_Exceptions_ttypes.CanvasDataInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.WebGLVendorInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.WebGLRendererInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.PluginsInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.LocalStorageAllowedInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.SessionStorageAllowedInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.CookieAllowedInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.PlatformInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.DoNotTrackInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.TimezoneInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.ResolutionInvalidStringLengthException || err instanceof unauthenticated_user_session_Exceptions_ttypes.ReferrerInvalidStringLengthException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n          result_obj = new UnauthenticatedUserSessionService_createSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_primitives_Model_ttypes = require('./core_primitives_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst accounts_Model_ttypes = require('./accounts_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst user_info_Exceptions_ttypes = require('./user_info_Exceptions_types');\n\n\nconst ttypes = require('./accounts_user_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.firstName = null;\n    this.lastName = null;\n    this.emailAddress = null;\n    this.optionalPhoneNumber = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.firstName !== undefined && args.firstName !== null) {\n        this.firstName = args.firstName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field firstName is unset!');\n      }\n      if (args.lastName !== undefined && args.lastName !== null) {\n        this.lastName = args.lastName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field lastName is unset!');\n      }\n      if (args.emailAddress !== undefined && args.emailAddress !== null) {\n        this.emailAddress = new core_primitives_Model_ttypes.EmailAddress(args.emailAddress);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field emailAddress is unset!');\n      }\n      if (args.optionalPhoneNumber !== undefined && args.optionalPhoneNumber !== null) {\n        this.optionalPhoneNumber = new accounts_Model_ttypes.OptionalPhoneNumber(args.optionalPhoneNumber);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field optionalPhoneNumber is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.firstName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.lastName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddress = new core_primitives_Model_ttypes.EmailAddress();\n          this.emailAddress.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.optionalPhoneNumber = new accounts_Model_ttypes.OptionalPhoneNumber();\n          this.optionalPhoneNumber.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.firstName !== null && this.firstName !== undefined) {\n      output.writeFieldBegin('firstName', Thrift.Type.STRING, 2);\n      output.writeString(this.firstName);\n      output.writeFieldEnd();\n    }\n    if (this.lastName !== null && this.lastName !== undefined) {\n      output.writeFieldBegin('lastName', Thrift.Type.STRING, 3);\n      output.writeString(this.lastName);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddress !== null && this.emailAddress !== undefined) {\n      output.writeFieldBegin('emailAddress', Thrift.Type.STRUCT, 4);\n      this.emailAddress.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.optionalPhoneNumber !== null && this.optionalPhoneNumber !== undefined) {\n      output.writeFieldBegin('optionalPhoneNumber', Thrift.Type.STRUCT, 5);\n      this.optionalPhoneNumber.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_result = class {\n  constructor(args) {\n    this.success = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    this.firstNameInvalidStringLengthException = null;\n    this.lastNameInvalidStringLengthException = null;\n    this.unknownEmailAddressException = null;\n    this.phoneNumberInvalidStringLengthException = null;\n    this.emailAddressAlreadyAssociatedWithAnAccountException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args instanceof user_info_Exceptions_ttypes.FirstNameInvalidStringLengthException) {\n        this.firstNameInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof user_info_Exceptions_ttypes.LastNameInvalidStringLengthException) {\n        this.lastNameInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownEmailAddressException) {\n        this.unknownEmailAddressException = args;\n        return;\n    }\n    if (args instanceof user_info_Exceptions_ttypes.PhoneNumberInvalidStringLengthException) {\n        this.phoneNumberInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n        this.emailAddressAlreadyAssociatedWithAnAccountException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new accounts_user_Model_ttypes.UserAccountIdentifier(args.success);\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n      if (args.firstNameInvalidStringLengthException !== undefined && args.firstNameInvalidStringLengthException !== null) {\n        this.firstNameInvalidStringLengthException = args.firstNameInvalidStringLengthException;\n      }\n      if (args.lastNameInvalidStringLengthException !== undefined && args.lastNameInvalidStringLengthException !== null) {\n        this.lastNameInvalidStringLengthException = args.lastNameInvalidStringLengthException;\n      }\n      if (args.unknownEmailAddressException !== undefined && args.unknownEmailAddressException !== null) {\n        this.unknownEmailAddressException = args.unknownEmailAddressException;\n      }\n      if (args.phoneNumberInvalidStringLengthException !== undefined && args.phoneNumberInvalidStringLengthException !== null) {\n        this.phoneNumberInvalidStringLengthException = args.phoneNumberInvalidStringLengthException;\n      }\n      if (args.emailAddressAlreadyAssociatedWithAnAccountException !== undefined && args.emailAddressAlreadyAssociatedWithAnAccountException !== null) {\n        this.emailAddressAlreadyAssociatedWithAnAccountException = args.emailAddressAlreadyAssociatedWithAnAccountException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.firstNameInvalidStringLengthException = new user_info_Exceptions_ttypes.FirstNameInvalidStringLengthException();\n          this.firstNameInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.lastNameInvalidStringLengthException = new user_info_Exceptions_ttypes.LastNameInvalidStringLengthException();\n          this.lastNameInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownEmailAddressException = new accounts_Exceptions_ttypes.UnknownEmailAddressException();\n          this.unknownEmailAddressException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.phoneNumberInvalidStringLengthException = new user_info_Exceptions_ttypes.PhoneNumberInvalidStringLengthException();\n          this.phoneNumberInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddressAlreadyAssociatedWithAnAccountException = new accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException();\n          this.emailAddressAlreadyAssociatedWithAnAccountException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.firstNameInvalidStringLengthException !== null && this.firstNameInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('firstNameInvalidStringLengthException', Thrift.Type.STRUCT, 4);\n      this.firstNameInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.lastNameInvalidStringLengthException !== null && this.lastNameInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('lastNameInvalidStringLengthException', Thrift.Type.STRUCT, 5);\n      this.lastNameInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownEmailAddressException !== null && this.unknownEmailAddressException !== undefined) {\n      output.writeFieldBegin('unknownEmailAddressException', Thrift.Type.STRUCT, 6);\n      this.unknownEmailAddressException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.phoneNumberInvalidStringLengthException !== null && this.phoneNumberInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('phoneNumberInvalidStringLengthException', Thrift.Type.STRUCT, 7);\n      this.phoneNumberInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddressAlreadyAssociatedWithAnAccountException !== null && this.emailAddressAlreadyAssociatedWithAnAccountException !== undefined) {\n      output.writeFieldBegin('emailAddressAlreadyAssociatedWithAnAccountException', Thrift.Type.STRUCT, 8);\n      this.emailAddressAlreadyAssociatedWithAnAccountException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.firstName = null;\n    this.lastName = null;\n    this.emailAddress = null;\n    this.optionalPhoneNumber = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.firstName !== undefined && args.firstName !== null) {\n        this.firstName = args.firstName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field firstName is unset!');\n      }\n      if (args.lastName !== undefined && args.lastName !== null) {\n        this.lastName = args.lastName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field lastName is unset!');\n      }\n      if (args.emailAddress !== undefined && args.emailAddress !== null) {\n        this.emailAddress = new core_primitives_Model_ttypes.EmailAddress(args.emailAddress);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field emailAddress is unset!');\n      }\n      if (args.optionalPhoneNumber !== undefined && args.optionalPhoneNumber !== null) {\n        this.optionalPhoneNumber = new accounts_Model_ttypes.OptionalPhoneNumber(args.optionalPhoneNumber);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field optionalPhoneNumber is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.firstName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.lastName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddress = new core_primitives_Model_ttypes.EmailAddress();\n          this.emailAddress.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.optionalPhoneNumber = new accounts_Model_ttypes.OptionalPhoneNumber();\n          this.optionalPhoneNumber.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.firstName !== null && this.firstName !== undefined) {\n      output.writeFieldBegin('firstName', Thrift.Type.STRING, 2);\n      output.writeString(this.firstName);\n      output.writeFieldEnd();\n    }\n    if (this.lastName !== null && this.lastName !== undefined) {\n      output.writeFieldBegin('lastName', Thrift.Type.STRING, 3);\n      output.writeString(this.lastName);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddress !== null && this.emailAddress !== undefined) {\n      output.writeFieldBegin('emailAddress', Thrift.Type.STRUCT, 4);\n      this.emailAddress.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.optionalPhoneNumber !== null && this.optionalPhoneNumber !== undefined) {\n      output.writeFieldBegin('optionalPhoneNumber', Thrift.Type.STRUCT, 5);\n      this.optionalPhoneNumber.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    this.firstNameInvalidStringLengthException = null;\n    this.lastNameInvalidStringLengthException = null;\n    this.unknownEmailAddressException = null;\n    this.phoneNumberInvalidStringLengthException = null;\n    this.emailAddressAlreadyAssociatedWithAnAccountException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args instanceof user_info_Exceptions_ttypes.FirstNameInvalidStringLengthException) {\n        this.firstNameInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof user_info_Exceptions_ttypes.LastNameInvalidStringLengthException) {\n        this.lastNameInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownEmailAddressException) {\n        this.unknownEmailAddressException = args;\n        return;\n    }\n    if (args instanceof user_info_Exceptions_ttypes.PhoneNumberInvalidStringLengthException) {\n        this.phoneNumberInvalidStringLengthException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n        this.emailAddressAlreadyAssociatedWithAnAccountException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new accounts_user_Model_ttypes.UserSessionIdentifier(args.success);\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n      if (args.firstNameInvalidStringLengthException !== undefined && args.firstNameInvalidStringLengthException !== null) {\n        this.firstNameInvalidStringLengthException = args.firstNameInvalidStringLengthException;\n      }\n      if (args.lastNameInvalidStringLengthException !== undefined && args.lastNameInvalidStringLengthException !== null) {\n        this.lastNameInvalidStringLengthException = args.lastNameInvalidStringLengthException;\n      }\n      if (args.unknownEmailAddressException !== undefined && args.unknownEmailAddressException !== null) {\n        this.unknownEmailAddressException = args.unknownEmailAddressException;\n      }\n      if (args.phoneNumberInvalidStringLengthException !== undefined && args.phoneNumberInvalidStringLengthException !== null) {\n        this.phoneNumberInvalidStringLengthException = args.phoneNumberInvalidStringLengthException;\n      }\n      if (args.emailAddressAlreadyAssociatedWithAnAccountException !== undefined && args.emailAddressAlreadyAssociatedWithAnAccountException !== null) {\n        this.emailAddressAlreadyAssociatedWithAnAccountException = args.emailAddressAlreadyAssociatedWithAnAccountException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.firstNameInvalidStringLengthException = new user_info_Exceptions_ttypes.FirstNameInvalidStringLengthException();\n          this.firstNameInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.lastNameInvalidStringLengthException = new user_info_Exceptions_ttypes.LastNameInvalidStringLengthException();\n          this.lastNameInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownEmailAddressException = new accounts_Exceptions_ttypes.UnknownEmailAddressException();\n          this.unknownEmailAddressException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.phoneNumberInvalidStringLengthException = new user_info_Exceptions_ttypes.PhoneNumberInvalidStringLengthException();\n          this.phoneNumberInvalidStringLengthException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddressAlreadyAssociatedWithAnAccountException = new accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException();\n          this.emailAddressAlreadyAssociatedWithAnAccountException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.firstNameInvalidStringLengthException !== null && this.firstNameInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('firstNameInvalidStringLengthException', Thrift.Type.STRUCT, 4);\n      this.firstNameInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.lastNameInvalidStringLengthException !== null && this.lastNameInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('lastNameInvalidStringLengthException', Thrift.Type.STRUCT, 5);\n      this.lastNameInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownEmailAddressException !== null && this.unknownEmailAddressException !== undefined) {\n      output.writeFieldBegin('unknownEmailAddressException', Thrift.Type.STRUCT, 6);\n      this.unknownEmailAddressException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.phoneNumberInvalidStringLengthException !== null && this.phoneNumberInvalidStringLengthException !== undefined) {\n      output.writeFieldBegin('phoneNumberInvalidStringLengthException', Thrift.Type.STRUCT, 7);\n      this.phoneNumberInvalidStringLengthException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddressAlreadyAssociatedWithAnAccountException !== null && this.emailAddressAlreadyAssociatedWithAnAccountException !== undefined) {\n      output.writeFieldBegin('emailAddressAlreadyAssociatedWithAnAccountException', Thrift.Type.STRUCT, 8);\n      this.emailAddressAlreadyAssociatedWithAnAccountException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserAccountServiceClient = exports.Client = class UserAccountServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail (unauthenticatedUserSessionId, firstName, lastName, emailAddress, optionalPhoneNumber) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail(unauthenticatedUserSessionId, firstName, lastName, emailAddress, optionalPhoneNumber);\n    });\n  }\n\n  send_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail (unauthenticatedUserSessionId, firstName, lastName, emailAddress, optionalPhoneNumber) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      firstName: firstName,\n      lastName: lastName,\n      emailAddress: emailAddress,\n      optionalPhoneNumber: optionalPhoneNumber\n    };\n    const args = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_args(params);\n    try {\n      output.writeMessageBegin('createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.firstNameInvalidStringLengthException) {\n      return callback(result.firstNameInvalidStringLengthException);\n    }\n    if (null !== result.lastNameInvalidStringLengthException) {\n      return callback(result.lastNameInvalidStringLengthException);\n    }\n    if (null !== result.unknownEmailAddressException) {\n      return callback(result.unknownEmailAddressException);\n    }\n    if (null !== result.phoneNumberInvalidStringLengthException) {\n      return callback(result.phoneNumberInvalidStringLengthException);\n    }\n    if (null !== result.emailAddressAlreadyAssociatedWithAnAccountException) {\n      return callback(result.emailAddressAlreadyAssociatedWithAnAccountException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail failed: unknown result');\n  }\n\n  createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession (unauthenticatedUserSessionId, firstName, lastName, emailAddress, optionalPhoneNumber) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession(unauthenticatedUserSessionId, firstName, lastName, emailAddress, optionalPhoneNumber);\n    });\n  }\n\n  send_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession (unauthenticatedUserSessionId, firstName, lastName, emailAddress, optionalPhoneNumber) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      firstName: firstName,\n      lastName: lastName,\n      emailAddress: emailAddress,\n      optionalPhoneNumber: optionalPhoneNumber\n    };\n    const args = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_args(params);\n    try {\n      output.writeMessageBegin('createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.firstNameInvalidStringLengthException) {\n      return callback(result.firstNameInvalidStringLengthException);\n    }\n    if (null !== result.lastNameInvalidStringLengthException) {\n      return callback(result.lastNameInvalidStringLengthException);\n    }\n    if (null !== result.unknownEmailAddressException) {\n      return callback(result.unknownEmailAddressException);\n    }\n    if (null !== result.phoneNumberInvalidStringLengthException) {\n      return callback(result.phoneNumberInvalidStringLengthException);\n    }\n    if (null !== result.emailAddressAlreadyAssociatedWithAnAccountException) {\n      return callback(result.emailAddressAlreadyAssociatedWithAnAccountException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession failed: unknown result');\n  }\n};\nconst UserAccountServiceProcessor = exports.Processor = class UserAccountServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail (seqid, input, output) {\n    const args = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail.length === 5) {\n      Promise.resolve(this._handler.createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.firstName,\n        args.lastName,\n        args.emailAddress,\n        args.optionalPhoneNumber\n      )).then(result => {\n        const result_obj = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_result({success: result});\n        output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof user_info_Exceptions_ttypes.FirstNameInvalidStringLengthException || err instanceof user_info_Exceptions_ttypes.LastNameInvalidStringLengthException || err instanceof accounts_Exceptions_ttypes.UnknownEmailAddressException || err instanceof user_info_Exceptions_ttypes.PhoneNumberInvalidStringLengthException || err instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n          result = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_result(err);\n          output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail(args.unauthenticatedUserSessionId, args.firstName, args.lastName, args.emailAddress, args.optionalPhoneNumber, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof user_info_Exceptions_ttypes.FirstNameInvalidStringLengthException || err instanceof user_info_Exceptions_ttypes.LastNameInvalidStringLengthException || err instanceof accounts_Exceptions_ttypes.UnknownEmailAddressException || err instanceof user_info_Exceptions_ttypes.PhoneNumberInvalidStringLengthException || err instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n          result_obj = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession (seqid, input, output) {\n    const args = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession.length === 5) {\n      Promise.resolve(this._handler.createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.firstName,\n        args.lastName,\n        args.emailAddress,\n        args.optionalPhoneNumber\n      )).then(result => {\n        const result_obj = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_result({success: result});\n        output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof user_info_Exceptions_ttypes.FirstNameInvalidStringLengthException || err instanceof user_info_Exceptions_ttypes.LastNameInvalidStringLengthException || err instanceof accounts_Exceptions_ttypes.UnknownEmailAddressException || err instanceof user_info_Exceptions_ttypes.PhoneNumberInvalidStringLengthException || err instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n          result = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_result(err);\n          output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession(args.unauthenticatedUserSessionId, args.firstName, args.lastName, args.emailAddress, args.optionalPhoneNumber, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof user_info_Exceptions_ttypes.FirstNameInvalidStringLengthException || err instanceof user_info_Exceptions_ttypes.LastNameInvalidStringLengthException || err instanceof accounts_Exceptions_ttypes.UnknownEmailAddressException || err instanceof user_info_Exceptions_ttypes.PhoneNumberInvalidStringLengthException || err instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n          result_obj = new UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst user_action_log_Model_ttypes = require('./user_action_log_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst user_action_log_Exceptions_ttypes = require('./user_action_log_Exceptions_types');\n\n\nconst ttypes = require('./user_action_log_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst UserActionLogService_createComment_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.value = null;\n    this.isAdmin = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n      if (args.isAdmin !== undefined && args.isAdmin !== null) {\n        this.isAdmin = args.isAdmin;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field isAdmin is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isAdmin = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserActionLogService_createComment_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 3);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    if (this.isAdmin !== null && this.isAdmin !== undefined) {\n      output.writeFieldBegin('isAdmin', Thrift.Type.BOOL, 4);\n      output.writeBool(this.isAdmin);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserActionLogService_createComment_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownLocationIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new user_action_log_Model_ttypes.UserActionLogComment(args.success);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new user_action_log_Model_ttypes.UserActionLogComment();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserActionLogService_createComment_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 5);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserActionLogService_deleteComment_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.commentId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.commentId !== undefined && args.commentId !== null) {\n        this.commentId = args.commentId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field commentId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.commentId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserActionLogService_deleteComment_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.commentId !== null && this.commentId !== undefined) {\n      output.writeFieldBegin('commentId', Thrift.Type.STRING, 2);\n      output.writeString(this.commentId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserActionLogService_deleteComment_result = class {\n  constructor(args) {\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    this.unknownUserActionLogCommentIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args instanceof user_action_log_Exceptions_ttypes.UnknownUserActionLogCommentIdException) {\n        this.unknownUserActionLogCommentIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n      if (args.unknownUserActionLogCommentIdException !== undefined && args.unknownUserActionLogCommentIdException !== null) {\n        this.unknownUserActionLogCommentIdException = args.unknownUserActionLogCommentIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUserActionLogCommentIdException = new user_action_log_Exceptions_ttypes.UnknownUserActionLogCommentIdException();\n          this.unknownUserActionLogCommentIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserActionLogService_deleteComment_result');\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 4);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUserActionLogCommentIdException !== null && this.unknownUserActionLogCommentIdException !== undefined) {\n      output.writeFieldBegin('unknownUserActionLogCommentIdException', Thrift.Type.STRUCT, 5);\n      this.unknownUserActionLogCommentIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserActionLogService_getCommentsCreatedInTimeRange_args = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.inclusiveStartDate = null;\n    this.inclusiveEndDate = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.inclusiveStartDate !== undefined && args.inclusiveStartDate !== null) {\n        this.inclusiveStartDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.inclusiveStartDate);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inclusiveStartDate is unset!');\n      }\n      if (args.inclusiveEndDate !== undefined && args.inclusiveEndDate !== null) {\n        this.inclusiveEndDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.inclusiveEndDate);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inclusiveEndDate is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inclusiveStartDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.inclusiveStartDate.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inclusiveEndDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.inclusiveEndDate.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserActionLogService_getCommentsCreatedInTimeRange_args');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inclusiveStartDate !== null && this.inclusiveStartDate !== undefined) {\n      output.writeFieldBegin('inclusiveStartDate', Thrift.Type.STRUCT, 3);\n      this.inclusiveStartDate.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inclusiveEndDate !== null && this.inclusiveEndDate !== undefined) {\n      output.writeFieldBegin('inclusiveEndDate', Thrift.Type.STRUCT, 4);\n      this.inclusiveEndDate.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserActionLogService_getCommentsCreatedInTimeRange_result = class {\n  constructor(args) {\n    this.success = null;\n    this.rateLimitExceededException = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.unknownSessionIdentifierException = null;\n    this.unknownLocationIdentifierException = null;\n    this.accountDoesNotHavePermissionException = null;\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n        this.unknownLocationIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n        this.accountDoesNotHavePermissionException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = Thrift.copyList(args.success, [user_action_log_Model_ttypes.UserActionLogComment]);\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.unknownLocationIdentifierException !== undefined && args.unknownLocationIdentifierException !== null) {\n        this.unknownLocationIdentifierException = args.unknownLocationIdentifierException;\n      }\n      if (args.accountDoesNotHavePermissionException !== undefined && args.accountDoesNotHavePermissionException !== null) {\n        this.accountDoesNotHavePermissionException = args.accountDoesNotHavePermissionException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.LIST) {\n          this.success = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new user_action_log_Model_ttypes.UserActionLogComment();\n            elem3.read(input);\n            this.success.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownLocationIdentifierException = new location_Exceptions_ttypes.UnknownLocationIdentifierException();\n          this.unknownLocationIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.accountDoesNotHavePermissionException = new accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException();\n          this.accountDoesNotHavePermissionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserActionLogService_getCommentsCreatedInTimeRange_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.LIST, 0);\n      output.writeListBegin(Thrift.Type.STRUCT, this.success.length);\n      for (let iter4 in this.success) {\n        if (this.success.hasOwnProperty(iter4)) {\n          iter4 = this.success[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 1);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 2);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownLocationIdentifierException !== null && this.unknownLocationIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownLocationIdentifierException', Thrift.Type.STRUCT, 4);\n      this.unknownLocationIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountDoesNotHavePermissionException !== null && this.accountDoesNotHavePermissionException !== undefined) {\n      output.writeFieldBegin('accountDoesNotHavePermissionException', Thrift.Type.STRUCT, 5);\n      this.accountDoesNotHavePermissionException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserActionLogServiceClient = exports.Client = class UserActionLogServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createComment (actor, locationId, value, isAdmin) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createComment(actor, locationId, value, isAdmin);\n    });\n  }\n\n  send_createComment (actor, locationId, value, isAdmin) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      value: value,\n      isAdmin: isAdmin\n    };\n    const args = new UserActionLogService_createComment_args(params);\n    try {\n      output.writeMessageBegin('createComment', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createComment (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserActionLogService_createComment_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createComment failed: unknown result');\n  }\n\n  deleteComment (actor, commentId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_deleteComment(actor, commentId);\n    });\n  }\n\n  send_deleteComment (actor, commentId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      commentId: commentId\n    };\n    const args = new UserActionLogService_deleteComment_args(params);\n    try {\n      output.writeMessageBegin('deleteComment', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_deleteComment (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserActionLogService_deleteComment_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.unknownUserActionLogCommentIdException) {\n      return callback(result.unknownUserActionLogCommentIdException);\n    }\n    callback(null);\n  }\n\n  getCommentsCreatedInTimeRange (actor, locationId, inclusiveStartDate, inclusiveEndDate) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getCommentsCreatedInTimeRange(actor, locationId, inclusiveStartDate, inclusiveEndDate);\n    });\n  }\n\n  send_getCommentsCreatedInTimeRange (actor, locationId, inclusiveStartDate, inclusiveEndDate) {\n    const output = new this.pClass(this.output);\n    const params = {\n      actor: actor,\n      locationId: locationId,\n      inclusiveStartDate: inclusiveStartDate,\n      inclusiveEndDate: inclusiveEndDate\n    };\n    const args = new UserActionLogService_getCommentsCreatedInTimeRange_args(params);\n    try {\n      output.writeMessageBegin('getCommentsCreatedInTimeRange', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getCommentsCreatedInTimeRange (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserActionLogService_getCommentsCreatedInTimeRange_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.unknownLocationIdentifierException) {\n      return callback(result.unknownLocationIdentifierException);\n    }\n    if (null !== result.accountDoesNotHavePermissionException) {\n      return callback(result.accountDoesNotHavePermissionException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getCommentsCreatedInTimeRange failed: unknown result');\n  }\n};\nconst UserActionLogServiceProcessor = exports.Processor = class UserActionLogServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createComment (seqid, input, output) {\n    const args = new UserActionLogService_createComment_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createComment.length === 4) {\n      Promise.resolve(this._handler.createComment.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.value,\n        args.isAdmin\n      )).then(result => {\n        const result_obj = new UserActionLogService_createComment_result({success: result});\n        output.writeMessageBegin(\"createComment\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result = new UserActionLogService_createComment_result(err);\n          output.writeMessageBegin(\"createComment\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createComment\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createComment(args.actor, args.locationId, args.value, args.isAdmin, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException) {\n          result_obj = new UserActionLogService_createComment_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createComment\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createComment\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_deleteComment (seqid, input, output) {\n    const args = new UserActionLogService_deleteComment_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.deleteComment.length === 2) {\n      Promise.resolve(this._handler.deleteComment.bind(this._handler)(\n        args.actor,\n        args.commentId\n      )).then(result => {\n        const result_obj = new UserActionLogService_deleteComment_result({success: result});\n        output.writeMessageBegin(\"deleteComment\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof user_action_log_Exceptions_ttypes.UnknownUserActionLogCommentIdException) {\n          result = new UserActionLogService_deleteComment_result(err);\n          output.writeMessageBegin(\"deleteComment\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteComment\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.deleteComment(args.actor, args.commentId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException || err instanceof user_action_log_Exceptions_ttypes.UnknownUserActionLogCommentIdException) {\n          result_obj = new UserActionLogService_deleteComment_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"deleteComment\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"deleteComment\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getCommentsCreatedInTimeRange (seqid, input, output) {\n    const args = new UserActionLogService_getCommentsCreatedInTimeRange_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getCommentsCreatedInTimeRange.length === 4) {\n      Promise.resolve(this._handler.getCommentsCreatedInTimeRange.bind(this._handler)(\n        args.actor,\n        args.locationId,\n        args.inclusiveStartDate,\n        args.inclusiveEndDate\n      )).then(result => {\n        const result_obj = new UserActionLogService_getCommentsCreatedInTimeRange_result({success: result});\n        output.writeMessageBegin(\"getCommentsCreatedInTimeRange\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result = new UserActionLogService_getCommentsCreatedInTimeRange_result(err);\n          output.writeMessageBegin(\"getCommentsCreatedInTimeRange\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCommentsCreatedInTimeRange\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getCommentsCreatedInTimeRange(args.actor, args.locationId, args.inclusiveStartDate, args.inclusiveEndDate, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof location_Exceptions_ttypes.UnknownLocationIdentifierException || err instanceof accounts_Exceptions_ttypes.AccountDoesNotHavePermissionException) {\n          result_obj = new UserActionLogService_getCommentsCreatedInTimeRange_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getCommentsCreatedInTimeRange\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getCommentsCreatedInTimeRange\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_primitives_Model_ttypes = require('./core_primitives_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst accounts_Model_ttypes = require('./accounts_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst user_info_Exceptions_ttypes = require('./user_info_Exceptions_types');\n\n\nconst ttypes = require('./accounts_user_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_args = class {\n  constructor(args) {\n    this.sessionIdentifier = null;\n    this.emailAddress = null;\n    if (args) {\n      if (args.sessionIdentifier !== undefined && args.sessionIdentifier !== null) {\n        this.sessionIdentifier = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionIdentifier is unset!');\n      }\n      if (args.emailAddress !== undefined && args.emailAddress !== null) {\n        this.emailAddress = new core_primitives_Model_ttypes.EmailAddress(args.emailAddress);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field emailAddress is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionIdentifier = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddress = new core_primitives_Model_ttypes.EmailAddress();\n          this.emailAddress.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_args');\n    if (this.sessionIdentifier !== null && this.sessionIdentifier !== undefined) {\n      output.writeFieldBegin('sessionIdentifier', Thrift.Type.STRUCT, 1);\n      this.sessionIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddress !== null && this.emailAddress !== undefined) {\n      output.writeFieldBegin('emailAddress', Thrift.Type.STRUCT, 2);\n      this.emailAddress.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownAccountSessionException = null;\n    this.emailAddressAlreadyAssociatedWithAnAccountException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownAccountSessionException) {\n        this.unknownAccountSessionException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n        this.emailAddressAlreadyAssociatedWithAnAccountException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownAccountSessionException !== undefined && args.unknownAccountSessionException !== null) {\n        this.unknownAccountSessionException = args.unknownAccountSessionException;\n      }\n      if (args.emailAddressAlreadyAssociatedWithAnAccountException !== undefined && args.emailAddressAlreadyAssociatedWithAnAccountException !== null) {\n        this.emailAddressAlreadyAssociatedWithAnAccountException = args.emailAddressAlreadyAssociatedWithAnAccountException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownAccountSessionException = new accounts_Exceptions_ttypes.UnknownAccountSessionException();\n          this.unknownAccountSessionException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddressAlreadyAssociatedWithAnAccountException = new accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException();\n          this.emailAddressAlreadyAssociatedWithAnAccountException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownAccountSessionException !== null && this.unknownAccountSessionException !== undefined) {\n      output.writeFieldBegin('unknownAccountSessionException', Thrift.Type.STRUCT, 3);\n      this.unknownAccountSessionException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddressAlreadyAssociatedWithAnAccountException !== null && this.emailAddressAlreadyAssociatedWithAnAccountException !== undefined) {\n      output.writeFieldBegin('emailAddressAlreadyAssociatedWithAnAccountException', Thrift.Type.STRUCT, 4);\n      this.emailAddressAlreadyAssociatedWithAnAccountException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_args = class {\n  constructor(args) {\n    this.unauthenticatedUserSessionId = null;\n    this.emailAddressVerificationCredential = null;\n    if (args) {\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n      if (args.emailAddressVerificationCredential !== undefined && args.emailAddressVerificationCredential !== null) {\n        this.emailAddressVerificationCredential = new accounts_user_Model_ttypes.UserEmailAddressVerificationCredential(args.emailAddressVerificationCredential);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field emailAddressVerificationCredential is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddressVerificationCredential = new accounts_user_Model_ttypes.UserEmailAddressVerificationCredential();\n          this.emailAddressVerificationCredential.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_args');\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 1);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddressVerificationCredential !== null && this.emailAddressVerificationCredential !== undefined) {\n      output.writeFieldBegin('emailAddressVerificationCredential', Thrift.Type.STRUCT, 2);\n      this.emailAddressVerificationCredential.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    this.unknownEmailAddressVerificationCredentialException = null;\n    this.expiredEmailAddressVerificationCredentialException = null;\n    this.emailAddressVerificationCredentialAlreadyUsedException = null;\n    this.emailAddressAlreadyAssociatedWithAnAccountException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownEmailAddressVerificationCredentialException) {\n        this.unknownEmailAddressVerificationCredentialException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.ExpiredEmailAddressVerificationCredentialException) {\n        this.expiredEmailAddressVerificationCredentialException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.EmailAddressVerificationCredentialAlreadyUsedException) {\n        this.emailAddressVerificationCredentialAlreadyUsedException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n        this.emailAddressAlreadyAssociatedWithAnAccountException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n      if (args.unknownEmailAddressVerificationCredentialException !== undefined && args.unknownEmailAddressVerificationCredentialException !== null) {\n        this.unknownEmailAddressVerificationCredentialException = args.unknownEmailAddressVerificationCredentialException;\n      }\n      if (args.expiredEmailAddressVerificationCredentialException !== undefined && args.expiredEmailAddressVerificationCredentialException !== null) {\n        this.expiredEmailAddressVerificationCredentialException = args.expiredEmailAddressVerificationCredentialException;\n      }\n      if (args.emailAddressVerificationCredentialAlreadyUsedException !== undefined && args.emailAddressVerificationCredentialAlreadyUsedException !== null) {\n        this.emailAddressVerificationCredentialAlreadyUsedException = args.emailAddressVerificationCredentialAlreadyUsedException;\n      }\n      if (args.emailAddressAlreadyAssociatedWithAnAccountException !== undefined && args.emailAddressAlreadyAssociatedWithAnAccountException !== null) {\n        this.emailAddressAlreadyAssociatedWithAnAccountException = args.emailAddressAlreadyAssociatedWithAnAccountException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownEmailAddressVerificationCredentialException = new accounts_Exceptions_ttypes.UnknownEmailAddressVerificationCredentialException();\n          this.unknownEmailAddressVerificationCredentialException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.expiredEmailAddressVerificationCredentialException = new accounts_Exceptions_ttypes.ExpiredEmailAddressVerificationCredentialException();\n          this.expiredEmailAddressVerificationCredentialException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddressVerificationCredentialAlreadyUsedException = new accounts_Exceptions_ttypes.EmailAddressVerificationCredentialAlreadyUsedException();\n          this.emailAddressVerificationCredentialAlreadyUsedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddressAlreadyAssociatedWithAnAccountException = new accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException();\n          this.emailAddressAlreadyAssociatedWithAnAccountException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownEmailAddressVerificationCredentialException !== null && this.unknownEmailAddressVerificationCredentialException !== undefined) {\n      output.writeFieldBegin('unknownEmailAddressVerificationCredentialException', Thrift.Type.STRUCT, 4);\n      this.unknownEmailAddressVerificationCredentialException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.expiredEmailAddressVerificationCredentialException !== null && this.expiredEmailAddressVerificationCredentialException !== undefined) {\n      output.writeFieldBegin('expiredEmailAddressVerificationCredentialException', Thrift.Type.STRUCT, 5);\n      this.expiredEmailAddressVerificationCredentialException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddressVerificationCredentialAlreadyUsedException !== null && this.emailAddressVerificationCredentialAlreadyUsedException !== undefined) {\n      output.writeFieldBegin('emailAddressVerificationCredentialAlreadyUsedException', Thrift.Type.STRUCT, 6);\n      this.emailAddressVerificationCredentialAlreadyUsedException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.emailAddressAlreadyAssociatedWithAnAccountException !== null && this.emailAddressAlreadyAssociatedWithAnAccountException !== undefined) {\n      output.writeFieldBegin('emailAddressAlreadyAssociatedWithAnAccountException', Thrift.Type.STRUCT, 7);\n      this.emailAddressAlreadyAssociatedWithAnAccountException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserEmailAddressVerificationServiceClient = exports.Client = class UserEmailAddressVerificationServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  sendEmailAddressVerificationEmail (sessionIdentifier, emailAddress) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_sendEmailAddressVerificationEmail(sessionIdentifier, emailAddress);\n    });\n  }\n\n  send_sendEmailAddressVerificationEmail (sessionIdentifier, emailAddress) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionIdentifier: sessionIdentifier,\n      emailAddress: emailAddress\n    };\n    const args = new UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_args(params);\n    try {\n      output.writeMessageBegin('sendEmailAddressVerificationEmail', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_sendEmailAddressVerificationEmail (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownAccountSessionException) {\n      return callback(result.unknownAccountSessionException);\n    }\n    if (null !== result.emailAddressAlreadyAssociatedWithAnAccountException) {\n      return callback(result.emailAddressAlreadyAssociatedWithAnAccountException);\n    }\n    callback(null);\n  }\n\n  associateEmailAddressForEmailAddressVerificationCredential (unauthenticatedUserSessionId, emailAddressVerificationCredential) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_associateEmailAddressForEmailAddressVerificationCredential(unauthenticatedUserSessionId, emailAddressVerificationCredential);\n    });\n  }\n\n  send_associateEmailAddressForEmailAddressVerificationCredential (unauthenticatedUserSessionId, emailAddressVerificationCredential) {\n    const output = new this.pClass(this.output);\n    const params = {\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId,\n      emailAddressVerificationCredential: emailAddressVerificationCredential\n    };\n    const args = new UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_args(params);\n    try {\n      output.writeMessageBegin('associateEmailAddressForEmailAddressVerificationCredential', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_associateEmailAddressForEmailAddressVerificationCredential (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.unknownEmailAddressVerificationCredentialException) {\n      return callback(result.unknownEmailAddressVerificationCredentialException);\n    }\n    if (null !== result.expiredEmailAddressVerificationCredentialException) {\n      return callback(result.expiredEmailAddressVerificationCredentialException);\n    }\n    if (null !== result.emailAddressVerificationCredentialAlreadyUsedException) {\n      return callback(result.emailAddressVerificationCredentialAlreadyUsedException);\n    }\n    if (null !== result.emailAddressAlreadyAssociatedWithAnAccountException) {\n      return callback(result.emailAddressAlreadyAssociatedWithAnAccountException);\n    }\n    callback(null);\n  }\n};\nconst UserEmailAddressVerificationServiceProcessor = exports.Processor = class UserEmailAddressVerificationServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_sendEmailAddressVerificationEmail (seqid, input, output) {\n    const args = new UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.sendEmailAddressVerificationEmail.length === 2) {\n      Promise.resolve(this._handler.sendEmailAddressVerificationEmail.bind(this._handler)(\n        args.sessionIdentifier,\n        args.emailAddress\n      )).then(result => {\n        const result_obj = new UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_result({success: result});\n        output.writeMessageBegin(\"sendEmailAddressVerificationEmail\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownAccountSessionException || err instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n          result = new UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_result(err);\n          output.writeMessageBegin(\"sendEmailAddressVerificationEmail\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"sendEmailAddressVerificationEmail\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.sendEmailAddressVerificationEmail(args.sessionIdentifier, args.emailAddress, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownAccountSessionException || err instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n          result_obj = new UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"sendEmailAddressVerificationEmail\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"sendEmailAddressVerificationEmail\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_associateEmailAddressForEmailAddressVerificationCredential (seqid, input, output) {\n    const args = new UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.associateEmailAddressForEmailAddressVerificationCredential.length === 2) {\n      Promise.resolve(this._handler.associateEmailAddressForEmailAddressVerificationCredential.bind(this._handler)(\n        args.unauthenticatedUserSessionId,\n        args.emailAddressVerificationCredential\n      )).then(result => {\n        const result_obj = new UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_result({success: result});\n        output.writeMessageBegin(\"associateEmailAddressForEmailAddressVerificationCredential\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof accounts_Exceptions_ttypes.UnknownEmailAddressVerificationCredentialException || err instanceof accounts_Exceptions_ttypes.ExpiredEmailAddressVerificationCredentialException || err instanceof accounts_Exceptions_ttypes.EmailAddressVerificationCredentialAlreadyUsedException || err instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n          result = new UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_result(err);\n          output.writeMessageBegin(\"associateEmailAddressForEmailAddressVerificationCredential\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"associateEmailAddressForEmailAddressVerificationCredential\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.associateEmailAddressForEmailAddressVerificationCredential(args.unauthenticatedUserSessionId, args.emailAddressVerificationCredential, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException || err instanceof accounts_Exceptions_ttypes.UnknownEmailAddressVerificationCredentialException || err instanceof accounts_Exceptions_ttypes.ExpiredEmailAddressVerificationCredentialException || err instanceof accounts_Exceptions_ttypes.EmailAddressVerificationCredentialAlreadyUsedException || err instanceof accounts_Exceptions_ttypes.EmailAddressAlreadyAssociatedWithAnAccountException) {\n          result_obj = new UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"associateEmailAddressForEmailAddressVerificationCredential\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"associateEmailAddressForEmailAddressVerificationCredential\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_primitives_Model_ttypes = require('./core_primitives_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst accounts_Model_ttypes = require('./accounts_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst user_info_Exceptions_ttypes = require('./user_info_Exceptions_types');\n\n\nconst ttypes = require('./accounts_user_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst UserPasswordService_sendPasswordSettingCredentialToEmailAddress_args = class {\n  constructor(args) {\n    this.emailAddress = null;\n    this.unauthenticatedUserSessionId = null;\n    if (args) {\n      if (args.emailAddress !== undefined && args.emailAddress !== null) {\n        this.emailAddress = new core_primitives_Model_ttypes.EmailAddress(args.emailAddress);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field emailAddress is unset!');\n      }\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.emailAddress = new core_primitives_Model_ttypes.EmailAddress();\n          this.emailAddress.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserPasswordService_sendPasswordSettingCredentialToEmailAddress_args');\n    if (this.emailAddress !== null && this.emailAddress !== undefined) {\n      output.writeFieldBegin('emailAddress', Thrift.Type.STRUCT, 1);\n      this.emailAddress.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 2);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserPasswordService_sendPasswordSettingCredentialToEmailAddress_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserPasswordService_sendPasswordSettingCredentialToEmailAddress_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 3);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserPasswordService_ensurePasswordSettingCredentialIsValid_args = class {\n  constructor(args) {\n    this.userPasswordSettingCredential = null;\n    if (args) {\n      if (args.userPasswordSettingCredential !== undefined && args.userPasswordSettingCredential !== null) {\n        this.userPasswordSettingCredential = new accounts_user_Model_ttypes.UserPasswordSettingCredential(args.userPasswordSettingCredential);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field userPasswordSettingCredential is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.userPasswordSettingCredential = new accounts_user_Model_ttypes.UserPasswordSettingCredential();\n          this.userPasswordSettingCredential.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserPasswordService_ensurePasswordSettingCredentialIsValid_args');\n    if (this.userPasswordSettingCredential !== null && this.userPasswordSettingCredential !== undefined) {\n      output.writeFieldBegin('userPasswordSettingCredential', Thrift.Type.STRUCT, 1);\n      this.userPasswordSettingCredential.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserPasswordService_ensurePasswordSettingCredentialIsValid_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownPasswordSettingCredentialException = null;\n    this.passwordSettingCredentialExpiredException = null;\n    this.passwordSettingCredentialAlreadyUsedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownPasswordSettingCredentialException) {\n        this.unknownPasswordSettingCredentialException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialExpiredException) {\n        this.passwordSettingCredentialExpiredException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialAlreadyUsedException) {\n        this.passwordSettingCredentialAlreadyUsedException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownPasswordSettingCredentialException !== undefined && args.unknownPasswordSettingCredentialException !== null) {\n        this.unknownPasswordSettingCredentialException = args.unknownPasswordSettingCredentialException;\n      }\n      if (args.passwordSettingCredentialExpiredException !== undefined && args.passwordSettingCredentialExpiredException !== null) {\n        this.passwordSettingCredentialExpiredException = args.passwordSettingCredentialExpiredException;\n      }\n      if (args.passwordSettingCredentialAlreadyUsedException !== undefined && args.passwordSettingCredentialAlreadyUsedException !== null) {\n        this.passwordSettingCredentialAlreadyUsedException = args.passwordSettingCredentialAlreadyUsedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownPasswordSettingCredentialException = new accounts_Exceptions_ttypes.UnknownPasswordSettingCredentialException();\n          this.unknownPasswordSettingCredentialException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.passwordSettingCredentialExpiredException = new accounts_Exceptions_ttypes.PasswordSettingCredentialExpiredException();\n          this.passwordSettingCredentialExpiredException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.passwordSettingCredentialAlreadyUsedException = new accounts_Exceptions_ttypes.PasswordSettingCredentialAlreadyUsedException();\n          this.passwordSettingCredentialAlreadyUsedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserPasswordService_ensurePasswordSettingCredentialIsValid_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownPasswordSettingCredentialException !== null && this.unknownPasswordSettingCredentialException !== undefined) {\n      output.writeFieldBegin('unknownPasswordSettingCredentialException', Thrift.Type.STRUCT, 3);\n      this.unknownPasswordSettingCredentialException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.passwordSettingCredentialExpiredException !== null && this.passwordSettingCredentialExpiredException !== undefined) {\n      output.writeFieldBegin('passwordSettingCredentialExpiredException', Thrift.Type.STRUCT, 4);\n      this.passwordSettingCredentialExpiredException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.passwordSettingCredentialAlreadyUsedException !== null && this.passwordSettingCredentialAlreadyUsedException !== undefined) {\n      output.writeFieldBegin('passwordSettingCredentialAlreadyUsedException', Thrift.Type.STRUCT, 5);\n      this.passwordSettingCredentialAlreadyUsedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserPasswordService_setAccountPasswordAndCreateSession_args = class {\n  constructor(args) {\n    this.userPasswordSettingCredential = null;\n    this.newPassword = null;\n    this.unauthenticatedUserSessionId = null;\n    if (args) {\n      if (args.userPasswordSettingCredential !== undefined && args.userPasswordSettingCredential !== null) {\n        this.userPasswordSettingCredential = new accounts_user_Model_ttypes.UserPasswordSettingCredential(args.userPasswordSettingCredential);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field userPasswordSettingCredential is unset!');\n      }\n      if (args.newPassword !== undefined && args.newPassword !== null) {\n        this.newPassword = new core_primitives_Model_ttypes.UnencryptedPassword(args.newPassword);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field newPassword is unset!');\n      }\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.userPasswordSettingCredential = new accounts_user_Model_ttypes.UserPasswordSettingCredential();\n          this.userPasswordSettingCredential.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.newPassword = new core_primitives_Model_ttypes.UnencryptedPassword();\n          this.newPassword.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserPasswordService_setAccountPasswordAndCreateSession_args');\n    if (this.userPasswordSettingCredential !== null && this.userPasswordSettingCredential !== undefined) {\n      output.writeFieldBegin('userPasswordSettingCredential', Thrift.Type.STRUCT, 1);\n      this.userPasswordSettingCredential.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.newPassword !== null && this.newPassword !== undefined) {\n      output.writeFieldBegin('newPassword', Thrift.Type.STRUCT, 2);\n      this.newPassword.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 3);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserPasswordService_setAccountPasswordAndCreateSession_result = class {\n  constructor(args) {\n    this.success = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownPasswordSettingCredentialException = null;\n    this.passwordSettingCredentialExpiredException = null;\n    this.passwordSettingCredentialAlreadyUsedException = null;\n    this.passwordDoesNotMeetRequirementsException = null;\n    this.unknownUnauthenticatedUserSessionIdException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownPasswordSettingCredentialException) {\n        this.unknownPasswordSettingCredentialException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialExpiredException) {\n        this.passwordSettingCredentialExpiredException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialAlreadyUsedException) {\n        this.passwordSettingCredentialAlreadyUsedException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.PasswordDoesNotMeetRequirementsException) {\n        this.passwordDoesNotMeetRequirementsException = args;\n        return;\n    }\n    if (args instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n        this.unknownUnauthenticatedUserSessionIdException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new accounts_user_Model_ttypes.UserSessionIdentifier(args.success);\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownPasswordSettingCredentialException !== undefined && args.unknownPasswordSettingCredentialException !== null) {\n        this.unknownPasswordSettingCredentialException = args.unknownPasswordSettingCredentialException;\n      }\n      if (args.passwordSettingCredentialExpiredException !== undefined && args.passwordSettingCredentialExpiredException !== null) {\n        this.passwordSettingCredentialExpiredException = args.passwordSettingCredentialExpiredException;\n      }\n      if (args.passwordSettingCredentialAlreadyUsedException !== undefined && args.passwordSettingCredentialAlreadyUsedException !== null) {\n        this.passwordSettingCredentialAlreadyUsedException = args.passwordSettingCredentialAlreadyUsedException;\n      }\n      if (args.passwordDoesNotMeetRequirementsException !== undefined && args.passwordDoesNotMeetRequirementsException !== null) {\n        this.passwordDoesNotMeetRequirementsException = args.passwordDoesNotMeetRequirementsException;\n      }\n      if (args.unknownUnauthenticatedUserSessionIdException !== undefined && args.unknownUnauthenticatedUserSessionIdException !== null) {\n        this.unknownUnauthenticatedUserSessionIdException = args.unknownUnauthenticatedUserSessionIdException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownPasswordSettingCredentialException = new accounts_Exceptions_ttypes.UnknownPasswordSettingCredentialException();\n          this.unknownPasswordSettingCredentialException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.passwordSettingCredentialExpiredException = new accounts_Exceptions_ttypes.PasswordSettingCredentialExpiredException();\n          this.passwordSettingCredentialExpiredException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.passwordSettingCredentialAlreadyUsedException = new accounts_Exceptions_ttypes.PasswordSettingCredentialAlreadyUsedException();\n          this.passwordSettingCredentialAlreadyUsedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.passwordDoesNotMeetRequirementsException = new accounts_Exceptions_ttypes.PasswordDoesNotMeetRequirementsException();\n          this.passwordDoesNotMeetRequirementsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownUnauthenticatedUserSessionIdException = new unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException();\n          this.unknownUnauthenticatedUserSessionIdException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserPasswordService_setAccountPasswordAndCreateSession_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownPasswordSettingCredentialException !== null && this.unknownPasswordSettingCredentialException !== undefined) {\n      output.writeFieldBegin('unknownPasswordSettingCredentialException', Thrift.Type.STRUCT, 3);\n      this.unknownPasswordSettingCredentialException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.passwordSettingCredentialExpiredException !== null && this.passwordSettingCredentialExpiredException !== undefined) {\n      output.writeFieldBegin('passwordSettingCredentialExpiredException', Thrift.Type.STRUCT, 4);\n      this.passwordSettingCredentialExpiredException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.passwordSettingCredentialAlreadyUsedException !== null && this.passwordSettingCredentialAlreadyUsedException !== undefined) {\n      output.writeFieldBegin('passwordSettingCredentialAlreadyUsedException', Thrift.Type.STRUCT, 5);\n      this.passwordSettingCredentialAlreadyUsedException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.passwordDoesNotMeetRequirementsException !== null && this.passwordDoesNotMeetRequirementsException !== undefined) {\n      output.writeFieldBegin('passwordDoesNotMeetRequirementsException', Thrift.Type.STRUCT, 6);\n      this.passwordDoesNotMeetRequirementsException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownUnauthenticatedUserSessionIdException !== null && this.unknownUnauthenticatedUserSessionIdException !== undefined) {\n      output.writeFieldBegin('unknownUnauthenticatedUserSessionIdException', Thrift.Type.STRUCT, 7);\n      this.unknownUnauthenticatedUserSessionIdException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserPasswordServiceClient = exports.Client = class UserPasswordServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  sendPasswordSettingCredentialToEmailAddress (emailAddress, unauthenticatedUserSessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_sendPasswordSettingCredentialToEmailAddress(emailAddress, unauthenticatedUserSessionId);\n    });\n  }\n\n  send_sendPasswordSettingCredentialToEmailAddress (emailAddress, unauthenticatedUserSessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      emailAddress: emailAddress,\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId\n    };\n    const args = new UserPasswordService_sendPasswordSettingCredentialToEmailAddress_args(params);\n    try {\n      output.writeMessageBegin('sendPasswordSettingCredentialToEmailAddress', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_sendPasswordSettingCredentialToEmailAddress (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserPasswordService_sendPasswordSettingCredentialToEmailAddress_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    callback(null);\n  }\n\n  ensurePasswordSettingCredentialIsValid (userPasswordSettingCredential) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_ensurePasswordSettingCredentialIsValid(userPasswordSettingCredential);\n    });\n  }\n\n  send_ensurePasswordSettingCredentialIsValid (userPasswordSettingCredential) {\n    const output = new this.pClass(this.output);\n    const params = {\n      userPasswordSettingCredential: userPasswordSettingCredential\n    };\n    const args = new UserPasswordService_ensurePasswordSettingCredentialIsValid_args(params);\n    try {\n      output.writeMessageBegin('ensurePasswordSettingCredentialIsValid', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_ensurePasswordSettingCredentialIsValid (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserPasswordService_ensurePasswordSettingCredentialIsValid_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownPasswordSettingCredentialException) {\n      return callback(result.unknownPasswordSettingCredentialException);\n    }\n    if (null !== result.passwordSettingCredentialExpiredException) {\n      return callback(result.passwordSettingCredentialExpiredException);\n    }\n    if (null !== result.passwordSettingCredentialAlreadyUsedException) {\n      return callback(result.passwordSettingCredentialAlreadyUsedException);\n    }\n    callback(null);\n  }\n\n  setAccountPasswordAndCreateSession (userPasswordSettingCredential, newPassword, unauthenticatedUserSessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_setAccountPasswordAndCreateSession(userPasswordSettingCredential, newPassword, unauthenticatedUserSessionId);\n    });\n  }\n\n  send_setAccountPasswordAndCreateSession (userPasswordSettingCredential, newPassword, unauthenticatedUserSessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      userPasswordSettingCredential: userPasswordSettingCredential,\n      newPassword: newPassword,\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId\n    };\n    const args = new UserPasswordService_setAccountPasswordAndCreateSession_args(params);\n    try {\n      output.writeMessageBegin('setAccountPasswordAndCreateSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_setAccountPasswordAndCreateSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserPasswordService_setAccountPasswordAndCreateSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownPasswordSettingCredentialException) {\n      return callback(result.unknownPasswordSettingCredentialException);\n    }\n    if (null !== result.passwordSettingCredentialExpiredException) {\n      return callback(result.passwordSettingCredentialExpiredException);\n    }\n    if (null !== result.passwordSettingCredentialAlreadyUsedException) {\n      return callback(result.passwordSettingCredentialAlreadyUsedException);\n    }\n    if (null !== result.passwordDoesNotMeetRequirementsException) {\n      return callback(result.passwordDoesNotMeetRequirementsException);\n    }\n    if (null !== result.unknownUnauthenticatedUserSessionIdException) {\n      return callback(result.unknownUnauthenticatedUserSessionIdException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('setAccountPasswordAndCreateSession failed: unknown result');\n  }\n};\nconst UserPasswordServiceProcessor = exports.Processor = class UserPasswordServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_sendPasswordSettingCredentialToEmailAddress (seqid, input, output) {\n    const args = new UserPasswordService_sendPasswordSettingCredentialToEmailAddress_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.sendPasswordSettingCredentialToEmailAddress.length === 2) {\n      Promise.resolve(this._handler.sendPasswordSettingCredentialToEmailAddress.bind(this._handler)(\n        args.emailAddress,\n        args.unauthenticatedUserSessionId\n      )).then(result => {\n        const result_obj = new UserPasswordService_sendPasswordSettingCredentialToEmailAddress_result({success: result});\n        output.writeMessageBegin(\"sendPasswordSettingCredentialToEmailAddress\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result = new UserPasswordService_sendPasswordSettingCredentialToEmailAddress_result(err);\n          output.writeMessageBegin(\"sendPasswordSettingCredentialToEmailAddress\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"sendPasswordSettingCredentialToEmailAddress\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.sendPasswordSettingCredentialToEmailAddress(args.emailAddress, args.unauthenticatedUserSessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result_obj = new UserPasswordService_sendPasswordSettingCredentialToEmailAddress_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"sendPasswordSettingCredentialToEmailAddress\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"sendPasswordSettingCredentialToEmailAddress\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_ensurePasswordSettingCredentialIsValid (seqid, input, output) {\n    const args = new UserPasswordService_ensurePasswordSettingCredentialIsValid_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.ensurePasswordSettingCredentialIsValid.length === 1) {\n      Promise.resolve(this._handler.ensurePasswordSettingCredentialIsValid.bind(this._handler)(\n        args.userPasswordSettingCredential\n      )).then(result => {\n        const result_obj = new UserPasswordService_ensurePasswordSettingCredentialIsValid_result({success: result});\n        output.writeMessageBegin(\"ensurePasswordSettingCredentialIsValid\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownPasswordSettingCredentialException || err instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialExpiredException || err instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialAlreadyUsedException) {\n          result = new UserPasswordService_ensurePasswordSettingCredentialIsValid_result(err);\n          output.writeMessageBegin(\"ensurePasswordSettingCredentialIsValid\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"ensurePasswordSettingCredentialIsValid\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.ensurePasswordSettingCredentialIsValid(args.userPasswordSettingCredential, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownPasswordSettingCredentialException || err instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialExpiredException || err instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialAlreadyUsedException) {\n          result_obj = new UserPasswordService_ensurePasswordSettingCredentialIsValid_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"ensurePasswordSettingCredentialIsValid\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"ensurePasswordSettingCredentialIsValid\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_setAccountPasswordAndCreateSession (seqid, input, output) {\n    const args = new UserPasswordService_setAccountPasswordAndCreateSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.setAccountPasswordAndCreateSession.length === 3) {\n      Promise.resolve(this._handler.setAccountPasswordAndCreateSession.bind(this._handler)(\n        args.userPasswordSettingCredential,\n        args.newPassword,\n        args.unauthenticatedUserSessionId\n      )).then(result => {\n        const result_obj = new UserPasswordService_setAccountPasswordAndCreateSession_result({success: result});\n        output.writeMessageBegin(\"setAccountPasswordAndCreateSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownPasswordSettingCredentialException || err instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialExpiredException || err instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialAlreadyUsedException || err instanceof accounts_Exceptions_ttypes.PasswordDoesNotMeetRequirementsException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result = new UserPasswordService_setAccountPasswordAndCreateSession_result(err);\n          output.writeMessageBegin(\"setAccountPasswordAndCreateSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setAccountPasswordAndCreateSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.setAccountPasswordAndCreateSession(args.userPasswordSettingCredential, args.newPassword, args.unauthenticatedUserSessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownPasswordSettingCredentialException || err instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialExpiredException || err instanceof accounts_Exceptions_ttypes.PasswordSettingCredentialAlreadyUsedException || err instanceof accounts_Exceptions_ttypes.PasswordDoesNotMeetRequirementsException || err instanceof unauthenticated_user_session_Exceptions_ttypes.UnknownUnauthenticatedUserSessionIdException) {\n          result_obj = new UserPasswordService_setAccountPasswordAndCreateSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"setAccountPasswordAndCreateSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"setAccountPasswordAndCreateSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_primitives_Model_ttypes = require('./core_primitives_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst accounts_Model_ttypes = require('./accounts_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst user_info_Exceptions_ttypes = require('./user_info_Exceptions_types');\n\n\nconst ttypes = require('./accounts_user_Service_types');\n//HELPER FUNCTIONS AND STRUCTURES\n\nconst UserSessionService_createSessionForAuthenticatedAccount_args = class {\n  constructor(args) {\n    this.access_token = null;\n    this.id_token = null;\n    this.unauthenticatedUserSessionId = null;\n    if (args) {\n      if (args.access_token !== undefined && args.access_token !== null) {\n        this.access_token = args.access_token;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field access_token is unset!');\n      }\n      if (args.id_token !== undefined && args.id_token !== null) {\n        this.id_token = args.id_token;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field id_token is unset!');\n      }\n      if (args.unauthenticatedUserSessionId !== undefined && args.unauthenticatedUserSessionId !== null) {\n        this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId(args.unauthenticatedUserSessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unauthenticatedUserSessionId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.access_token = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.id_token = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unauthenticatedUserSessionId = new unauthenticated_user_session_Model_ttypes.UnauthenticatedUserSessionId();\n          this.unauthenticatedUserSessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserSessionService_createSessionForAuthenticatedAccount_args');\n    if (this.access_token !== null && this.access_token !== undefined) {\n      output.writeFieldBegin('access_token', Thrift.Type.STRING, 1);\n      output.writeString(this.access_token);\n      output.writeFieldEnd();\n    }\n    if (this.id_token !== null && this.id_token !== undefined) {\n      output.writeFieldBegin('id_token', Thrift.Type.STRING, 2);\n      output.writeString(this.id_token);\n      output.writeFieldEnd();\n    }\n    if (this.unauthenticatedUserSessionId !== null && this.unauthenticatedUserSessionId !== undefined) {\n      output.writeFieldBegin('unauthenticatedUserSessionId', Thrift.Type.STRUCT, 3);\n      this.unauthenticatedUserSessionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserSessionService_createSessionForAuthenticatedAccount_result = class {\n  constructor(args) {\n    this.success = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownCredentialsException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n        this.unknownCredentialsException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new accounts_user_Model_ttypes.UserSessionIdentifier(args.success);\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownCredentialsException !== undefined && args.unknownCredentialsException !== null) {\n        this.unknownCredentialsException = args.unknownCredentialsException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownCredentialsException = new accounts_Exceptions_ttypes.UnknownCredentialsException();\n          this.unknownCredentialsException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserSessionService_createSessionForAuthenticatedAccount_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownCredentialsException !== null && this.unknownCredentialsException !== undefined) {\n      output.writeFieldBegin('unknownCredentialsException', Thrift.Type.STRUCT, 3);\n      this.unknownCredentialsException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserSessionService_terminateSession_args = class {\n  constructor(args) {\n    this.sessionIdentifier = null;\n    if (args) {\n      if (args.sessionIdentifier !== undefined && args.sessionIdentifier !== null) {\n        this.sessionIdentifier = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionIdentifier = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserSessionService_terminateSession_args');\n    if (this.sessionIdentifier !== null && this.sessionIdentifier !== undefined) {\n      output.writeFieldBegin('sessionIdentifier', Thrift.Type.STRUCT, 1);\n      this.sessionIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserSessionService_terminateSession_result = class {\n  constructor(args) {\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownSessionIdentifierException = null;\n    this.sessionAlreadyTerminatedException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.SessionAlreadyTerminatedException) {\n        this.sessionAlreadyTerminatedException = args;\n        return;\n    }\n    if (args) {\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n      if (args.sessionAlreadyTerminatedException !== undefined && args.sessionAlreadyTerminatedException !== null) {\n        this.sessionAlreadyTerminatedException = args.sessionAlreadyTerminatedException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionAlreadyTerminatedException = new accounts_Exceptions_ttypes.SessionAlreadyTerminatedException();\n          this.sessionAlreadyTerminatedException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserSessionService_terminateSession_result');\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sessionAlreadyTerminatedException !== null && this.sessionAlreadyTerminatedException !== undefined) {\n      output.writeFieldBegin('sessionAlreadyTerminatedException', Thrift.Type.STRUCT, 4);\n      this.sessionAlreadyTerminatedException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserSessionService_getAccountIdentifierForSessionIdentifier_args = class {\n  constructor(args) {\n    this.sessionIdentifier = null;\n    if (args) {\n      if (args.sessionIdentifier !== undefined && args.sessionIdentifier !== null) {\n        this.sessionIdentifier = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionIdentifier is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionIdentifier = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserSessionService_getAccountIdentifierForSessionIdentifier_args');\n    if (this.sessionIdentifier !== null && this.sessionIdentifier !== undefined) {\n      output.writeFieldBegin('sessionIdentifier', Thrift.Type.STRUCT, 1);\n      this.sessionIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserSessionService_getAccountIdentifierForSessionIdentifier_result = class {\n  constructor(args) {\n    this.success = null;\n    this.serviceTemporarilyUnavailableException = null;\n    this.rateLimitExceededException = null;\n    this.unknownSessionIdentifierException = null;\n    if (args instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException) {\n        this.serviceTemporarilyUnavailableException = args;\n        return;\n    }\n    if (args instanceof core_api_Exceptions_ttypes.RateLimitExceededException) {\n        this.rateLimitExceededException = args;\n        return;\n    }\n    if (args instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n        this.unknownSessionIdentifierException = args;\n        return;\n    }\n    if (args) {\n      if (args.success !== undefined && args.success !== null) {\n        this.success = new accounts_user_Model_ttypes.UserAccountIdentifier(args.success);\n      }\n      if (args.serviceTemporarilyUnavailableException !== undefined && args.serviceTemporarilyUnavailableException !== null) {\n        this.serviceTemporarilyUnavailableException = args.serviceTemporarilyUnavailableException;\n      }\n      if (args.rateLimitExceededException !== undefined && args.rateLimitExceededException !== null) {\n        this.rateLimitExceededException = args.rateLimitExceededException;\n      }\n      if (args.unknownSessionIdentifierException !== undefined && args.unknownSessionIdentifierException !== null) {\n        this.unknownSessionIdentifierException = args.unknownSessionIdentifierException;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 0:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.success = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.success.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.serviceTemporarilyUnavailableException = new core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException();\n          this.serviceTemporarilyUnavailableException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.rateLimitExceededException = new core_api_Exceptions_ttypes.RateLimitExceededException();\n          this.rateLimitExceededException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unknownSessionIdentifierException = new accounts_Exceptions_ttypes.UnknownSessionIdentifierException();\n          this.unknownSessionIdentifierException.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserSessionService_getAccountIdentifierForSessionIdentifier_result');\n    if (this.success !== null && this.success !== undefined) {\n      output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);\n      this.success.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.serviceTemporarilyUnavailableException !== null && this.serviceTemporarilyUnavailableException !== undefined) {\n      output.writeFieldBegin('serviceTemporarilyUnavailableException', Thrift.Type.STRUCT, 1);\n      this.serviceTemporarilyUnavailableException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.rateLimitExceededException !== null && this.rateLimitExceededException !== undefined) {\n      output.writeFieldBegin('rateLimitExceededException', Thrift.Type.STRUCT, 2);\n      this.rateLimitExceededException.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unknownSessionIdentifierException !== null && this.unknownSessionIdentifierException !== undefined) {\n      output.writeFieldBegin('unknownSessionIdentifierException', Thrift.Type.STRUCT, 3);\n      this.unknownSessionIdentifierException.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserSessionServiceClient = exports.Client = class UserSessionServiceClient {\n  constructor(output, pClass) {\n    this.output = output;\n    this.pClass = pClass;\n    this._seqid = 0;\n    this._reqs = {};\n  }\n  seqid () { return this._seqid; }\n  new_seqid () { return this._seqid += 1; }\n\n  createSessionForAuthenticatedAccount (access_token, id_token, unauthenticatedUserSessionId) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_createSessionForAuthenticatedAccount(access_token, id_token, unauthenticatedUserSessionId);\n    });\n  }\n\n  send_createSessionForAuthenticatedAccount (access_token, id_token, unauthenticatedUserSessionId) {\n    const output = new this.pClass(this.output);\n    const params = {\n      access_token: access_token,\n      id_token: id_token,\n      unauthenticatedUserSessionId: unauthenticatedUserSessionId\n    };\n    const args = new UserSessionService_createSessionForAuthenticatedAccount_args(params);\n    try {\n      output.writeMessageBegin('createSessionForAuthenticatedAccount', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_createSessionForAuthenticatedAccount (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserSessionService_createSessionForAuthenticatedAccount_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownCredentialsException) {\n      return callback(result.unknownCredentialsException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('createSessionForAuthenticatedAccount failed: unknown result');\n  }\n\n  terminateSession (sessionIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_terminateSession(sessionIdentifier);\n    });\n  }\n\n  send_terminateSession (sessionIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionIdentifier: sessionIdentifier\n    };\n    const args = new UserSessionService_terminateSession_args(params);\n    try {\n      output.writeMessageBegin('terminateSession', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_terminateSession (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserSessionService_terminateSession_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.sessionAlreadyTerminatedException) {\n      return callback(result.sessionAlreadyTerminatedException);\n    }\n    callback(null);\n  }\n\n  getAccountIdentifierForSessionIdentifier (sessionIdentifier) {\n    this._seqid = this.new_seqid();\n    const self = this;\n    return new Promise((resolve, reject) => {\n      self._reqs[self.seqid()] = (error, result) => {\n        return error ? reject(error) : resolve(result);\n      };\n      self.send_getAccountIdentifierForSessionIdentifier(sessionIdentifier);\n    });\n  }\n\n  send_getAccountIdentifierForSessionIdentifier (sessionIdentifier) {\n    const output = new this.pClass(this.output);\n    const params = {\n      sessionIdentifier: sessionIdentifier\n    };\n    const args = new UserSessionService_getAccountIdentifierForSessionIdentifier_args(params);\n    try {\n      output.writeMessageBegin('getAccountIdentifierForSessionIdentifier', Thrift.MessageType.CALL, this.seqid());\n      args.write(output);\n      output.writeMessageEnd();\n      return this.output.flush();\n    }\n    catch (e) {\n      delete this._reqs[this.seqid()];\n      if (typeof output.reset === 'function') {\n        output.reset();\n      }\n      throw e;\n    }\n  }\n\n  recv_getAccountIdentifierForSessionIdentifier (input, mtype, rseqid) {\n    const callback = this._reqs[rseqid] || function() {};\n    delete this._reqs[rseqid];\n    if (mtype == Thrift.MessageType.EXCEPTION) {\n      const x = new Thrift.TApplicationException();\n      x.read(input);\n      input.readMessageEnd();\n      return callback(x);\n    }\n    const result = new UserSessionService_getAccountIdentifierForSessionIdentifier_result();\n    result.read(input);\n    input.readMessageEnd();\n\n    if (null !== result.serviceTemporarilyUnavailableException) {\n      return callback(result.serviceTemporarilyUnavailableException);\n    }\n    if (null !== result.rateLimitExceededException) {\n      return callback(result.rateLimitExceededException);\n    }\n    if (null !== result.unknownSessionIdentifierException) {\n      return callback(result.unknownSessionIdentifierException);\n    }\n    if (null !== result.success) {\n      return callback(null, result.success);\n    }\n    return callback('getAccountIdentifierForSessionIdentifier failed: unknown result');\n  }\n};\nconst UserSessionServiceProcessor = exports.Processor = class UserSessionServiceProcessor {\n  constructor(handler) {\n    this._handler = handler;\n  }\n  process (input, output) {\n    const r = input.readMessageBegin();\n    if (this['process_' + r.fname]) {\n      return this['process_' + r.fname].call(this, r.rseqid, input, output);\n    } else {\n      input.skip(Thrift.Type.STRUCT);\n      input.readMessageEnd();\n      const x = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN_METHOD, 'Unknown function ' + r.fname);\n      output.writeMessageBegin(r.fname, Thrift.MessageType.EXCEPTION, r.rseqid);\n      x.write(output);\n      output.writeMessageEnd();\n      output.flush();\n    }\n  }\n  process_createSessionForAuthenticatedAccount (seqid, input, output) {\n    const args = new UserSessionService_createSessionForAuthenticatedAccount_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.createSessionForAuthenticatedAccount.length === 3) {\n      Promise.resolve(this._handler.createSessionForAuthenticatedAccount.bind(this._handler)(\n        args.access_token,\n        args.id_token,\n        args.unauthenticatedUserSessionId\n      )).then(result => {\n        const result_obj = new UserSessionService_createSessionForAuthenticatedAccount_result({success: result});\n        output.writeMessageBegin(\"createSessionForAuthenticatedAccount\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n          result = new UserSessionService_createSessionForAuthenticatedAccount_result(err);\n          output.writeMessageBegin(\"createSessionForAuthenticatedAccount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createSessionForAuthenticatedAccount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.createSessionForAuthenticatedAccount(args.access_token, args.id_token, args.unauthenticatedUserSessionId, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownCredentialsException) {\n          result_obj = new UserSessionService_createSessionForAuthenticatedAccount_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"createSessionForAuthenticatedAccount\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"createSessionForAuthenticatedAccount\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_terminateSession (seqid, input, output) {\n    const args = new UserSessionService_terminateSession_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.terminateSession.length === 1) {\n      Promise.resolve(this._handler.terminateSession.bind(this._handler)(\n        args.sessionIdentifier\n      )).then(result => {\n        const result_obj = new UserSessionService_terminateSession_result({success: result});\n        output.writeMessageBegin(\"terminateSession\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.SessionAlreadyTerminatedException) {\n          result = new UserSessionService_terminateSession_result(err);\n          output.writeMessageBegin(\"terminateSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"terminateSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.terminateSession(args.sessionIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException || err instanceof accounts_Exceptions_ttypes.SessionAlreadyTerminatedException) {\n          result_obj = new UserSessionService_terminateSession_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"terminateSession\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"terminateSession\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n  process_getAccountIdentifierForSessionIdentifier (seqid, input, output) {\n    const args = new UserSessionService_getAccountIdentifierForSessionIdentifier_args();\n    args.read(input);\n    input.readMessageEnd();\n    if (this._handler.getAccountIdentifierForSessionIdentifier.length === 1) {\n      Promise.resolve(this._handler.getAccountIdentifierForSessionIdentifier.bind(this._handler)(\n        args.sessionIdentifier\n      )).then(result => {\n        const result_obj = new UserSessionService_getAccountIdentifierForSessionIdentifier_result({success: result});\n        output.writeMessageBegin(\"getAccountIdentifierForSessionIdentifier\", Thrift.MessageType.REPLY, seqid);\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      }).catch(err => {\n        let result;\n        if (err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n          result = new UserSessionService_getAccountIdentifierForSessionIdentifier_result(err);\n          output.writeMessageBegin(\"getAccountIdentifierForSessionIdentifier\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getAccountIdentifierForSessionIdentifier\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    } else {\n      this._handler.getAccountIdentifierForSessionIdentifier(args.sessionIdentifier, (err, result) => {\n        let result_obj;\n        if ((err === null || typeof err === 'undefined') || err instanceof core_api_Exceptions_ttypes.ServiceTemporarilyUnavailableException || err instanceof core_api_Exceptions_ttypes.RateLimitExceededException || err instanceof accounts_Exceptions_ttypes.UnknownSessionIdentifierException) {\n          result_obj = new UserSessionService_getAccountIdentifierForSessionIdentifier_result((err !== null || typeof err === 'undefined') ? err : {success: result});\n          output.writeMessageBegin(\"getAccountIdentifierForSessionIdentifier\", Thrift.MessageType.REPLY, seqid);\n        } else {\n          result_obj = new Thrift.TApplicationException(Thrift.TApplicationExceptionType.UNKNOWN, err.message);\n          output.writeMessageBegin(\"getAccountIdentifierForSessionIdentifier\", Thrift.MessageType.EXCEPTION, seqid);\n        }\n        result_obj.write(output);\n        output.writeMessageEnd();\n        output.flush();\n      });\n    }\n  }\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst EmailAddressAlreadyAssociatedWithAnAccountException = module.exports.EmailAddressAlreadyAssociatedWithAnAccountException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"EmailAddressAlreadyAssociatedWithAnAccountException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('EmailAddressAlreadyAssociatedWithAnAccountException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownEmailAddressException = module.exports.UnknownEmailAddressException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownEmailAddressException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownEmailAddressException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownSessionIdentifierException = module.exports.UnknownSessionIdentifierException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownSessionIdentifierException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownSessionIdentifierException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AccountDoesNotHavePermissionException = module.exports.AccountDoesNotHavePermissionException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"AccountDoesNotHavePermissionException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AccountDoesNotHavePermissionException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SessionAlreadyTerminatedException = module.exports.SessionAlreadyTerminatedException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"SessionAlreadyTerminatedException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SessionAlreadyTerminatedException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownAccountSessionException = module.exports.UnknownAccountSessionException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownAccountSessionException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownAccountSessionException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownActorException = module.exports.UnknownActorException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownActorException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownActorException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AccountIdentifierIsRequiredException = module.exports.AccountIdentifierIsRequiredException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"AccountIdentifierIsRequiredException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AccountIdentifierIsRequiredException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SessionIdentifierIsRequiredException = module.exports.SessionIdentifierIsRequiredException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"SessionIdentifierIsRequiredException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SessionIdentifierIsRequiredException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownPasswordSettingCredentialException = module.exports.UnknownPasswordSettingCredentialException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownPasswordSettingCredentialException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownPasswordSettingCredentialException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PasswordSettingCredentialExpiredException = module.exports.PasswordSettingCredentialExpiredException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PasswordSettingCredentialExpiredException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PasswordSettingCredentialExpiredException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PasswordSettingCredentialAlreadyUsedException = module.exports.PasswordSettingCredentialAlreadyUsedException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PasswordSettingCredentialAlreadyUsedException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PasswordSettingCredentialAlreadyUsedException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PasswordDoesNotMeetRequirementsException = module.exports.PasswordDoesNotMeetRequirementsException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PasswordDoesNotMeetRequirementsException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PasswordDoesNotMeetRequirementsException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownCredentialsException = module.exports.UnknownCredentialsException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownCredentialsException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownCredentialsException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownAccountIdentifierException = module.exports.UnknownAccountIdentifierException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownAccountIdentifierException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownAccountIdentifierException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ActorIsRequiredException = module.exports.ActorIsRequiredException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ActorIsRequiredException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ActorIsRequiredException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SessionNotPermittedToPerformOperationException = module.exports.SessionNotPermittedToPerformOperationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"SessionNotPermittedToPerformOperationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SessionNotPermittedToPerformOperationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownEmailAddressVerificationCredentialException = module.exports.UnknownEmailAddressVerificationCredentialException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownEmailAddressVerificationCredentialException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownEmailAddressVerificationCredentialException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ExpiredEmailAddressVerificationCredentialException = module.exports.ExpiredEmailAddressVerificationCredentialException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ExpiredEmailAddressVerificationCredentialException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ExpiredEmailAddressVerificationCredentialException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst EmailAddressVerificationCredentialAlreadyUsedException = module.exports.EmailAddressVerificationCredentialAlreadyUsedException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"EmailAddressVerificationCredentialAlreadyUsedException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('EmailAddressVerificationCredentialAlreadyUsedException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_primitives_Model_ttypes = require('./core_primitives_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.AdminPermission = {\n  '0' : 'CREATE_OWN_SESSION',\n  'CREATE_OWN_SESSION' : 0,\n  '1' : 'READ_OWN_ACCOUNT',\n  'READ_OWN_ACCOUNT' : 1,\n  '2' : 'WRITE_OWN_ACCOUNT',\n  'WRITE_OWN_ACCOUNT' : 2,\n  '3' : 'WRITE_OWN_PASSWORD',\n  'WRITE_OWN_PASSWORD' : 3,\n  '4' : 'READ_ADMIN_ACCOUNT',\n  'READ_ADMIN_ACCOUNT' : 4,\n  '5' : 'WRITE_ADMIN_ACCOUNT',\n  'WRITE_ADMIN_ACCOUNT' : 5,\n  '6' : 'READ_USER_ACCOUNT',\n  'READ_USER_ACCOUNT' : 6,\n  '7' : 'WRITE_USER_ACCOUNT',\n  'WRITE_USER_ACCOUNT' : 7\n};\nttypes.UserPermission = {\n  '0' : 'CREATE_OWN_SESSION',\n  'CREATE_OWN_SESSION' : 0,\n  '1' : 'READ_OWN_ACCOUNT',\n  'READ_OWN_ACCOUNT' : 1,\n  '2' : 'WRITE_OWN_ACCOUNT',\n  'WRITE_OWN_ACCOUNT' : 2,\n  '3' : 'WRITE_OWN_PASSWORD',\n  'WRITE_OWN_PASSWORD' : 3\n};\nconst OptionalPhoneNumber = module.exports.OptionalPhoneNumber = class {\n  constructor(args) {\n    this.phoneNumber = null;\n    if (args) {\n      if (args.phoneNumber !== undefined && args.phoneNumber !== null) {\n        this.phoneNumber = args.phoneNumber;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.phoneNumber = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('OptionalPhoneNumber');\n    if (this.phoneNumber !== null && this.phoneNumber !== undefined) {\n      output.writeFieldBegin('phoneNumber', Thrift.Type.STRING, 1);\n      output.writeString(this.phoneNumber);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_primitives_Model_ttypes = require('./core_primitives_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst UserAccountIdentifier = module.exports.UserAccountIdentifier = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserAccountIdentifier');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserSessionIdentifier = module.exports.UserSessionIdentifier = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserSessionIdentifier');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserPasswordSettingCredential = module.exports.UserPasswordSettingCredential = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserPasswordSettingCredential');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserEmailAddressVerificationCredential = module.exports.UserEmailAddressVerificationCredential = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserEmailAddressVerificationCredential');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserAccountIdentifierAndTimestamp = module.exports.UserAccountIdentifierAndTimestamp = class {\n  constructor(args) {\n    this.userAccountIdentifier = null;\n    this.timestamp = null;\n    if (args) {\n      if (args.userAccountIdentifier !== undefined && args.userAccountIdentifier !== null) {\n        this.userAccountIdentifier = new ttypes.UserAccountIdentifier(args.userAccountIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field userAccountIdentifier is unset!');\n      }\n      if (args.timestamp !== undefined && args.timestamp !== null) {\n        this.timestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.timestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field timestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.userAccountIdentifier = new ttypes.UserAccountIdentifier();\n          this.userAccountIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.timestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.timestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserAccountIdentifierAndTimestamp');\n    if (this.userAccountIdentifier !== null && this.userAccountIdentifier !== undefined) {\n      output.writeFieldBegin('userAccountIdentifier', Thrift.Type.STRUCT, 1);\n      this.userAccountIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.timestamp !== null && this.timestamp !== undefined) {\n      output.writeFieldBegin('timestamp', Thrift.Type.STRUCT, 2);\n      this.timestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_primitives_Model_ttypes = require('./core_primitives_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst accounts_Model_ttypes = require('./accounts_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst user_info_Exceptions_ttypes = require('./user_info_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst distributor_Model_ttypes = require('./distributor_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst CartItem = module.exports.CartItem = class {\n  constructor(args) {\n    this.productId = null;\n    this.distributorId = null;\n    this.productQuantityUnit = null;\n    this.quantityInUnits = null;\n    this.cartItemId = null;\n    if (args) {\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      }\n      if (args.productQuantityUnit !== undefined && args.productQuantityUnit !== null) {\n        this.productQuantityUnit = new product_Model_ttypes.ProductQuantityUnit(args.productQuantityUnit);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productQuantityUnit is unset!');\n      }\n      if (args.quantityInUnits !== undefined && args.quantityInUnits !== null) {\n        this.quantityInUnits = args.quantityInUnits;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantityInUnits is unset!');\n      }\n      if (args.cartItemId !== undefined && args.cartItemId !== null) {\n        this.cartItemId = args.cartItemId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field cartItemId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productQuantityUnit = new product_Model_ttypes.ProductQuantityUnit();\n          this.productQuantityUnit.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.DOUBLE) {\n          this.quantityInUnits = input.readDouble();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.cartItemId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('CartItem');\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 1);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 2);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productQuantityUnit !== null && this.productQuantityUnit !== undefined) {\n      output.writeFieldBegin('productQuantityUnit', Thrift.Type.STRUCT, 3);\n      this.productQuantityUnit.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityInUnits !== null && this.quantityInUnits !== undefined) {\n      output.writeFieldBegin('quantityInUnits', Thrift.Type.DOUBLE, 4);\n      output.writeDouble(this.quantityInUnits);\n      output.writeFieldEnd();\n    }\n    if (this.cartItemId !== null && this.cartItemId !== undefined) {\n      output.writeFieldBegin('cartItemId', Thrift.Type.STRING, 5);\n      output.writeString(this.cartItemId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst Cart = module.exports.Cart = class {\n  constructor(args) {\n    this.cartItems = null;\n    if (args) {\n      if (args.cartItems !== undefined && args.cartItems !== null) {\n        this.cartItems = Thrift.copyList(args.cartItems, [ttypes.CartItem]);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.cartItems = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new ttypes.CartItem();\n            elem3.read(input);\n            this.cartItems.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('Cart');\n    if (this.cartItems !== null && this.cartItems !== undefined) {\n      output.writeFieldBegin('cartItems', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.cartItems.length);\n      for (let iter4 in this.cartItems) {\n        if (this.cartItems.hasOwnProperty(iter4)) {\n          iter4 = this.cartItems[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst ServiceTemporarilyUnavailableException = module.exports.ServiceTemporarilyUnavailableException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ServiceTemporarilyUnavailableException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ServiceTemporarilyUnavailableException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst RateLimitExceededException = module.exports.RateLimitExceededException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"RateLimitExceededException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('RateLimitExceededException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst Decimal = module.exports.Decimal = class {\n  constructor(args) {\n    this.scale = null;\n    this.value = null;\n    if (args) {\n      if (args.scale !== undefined && args.scale !== null) {\n        this.scale = args.scale;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field scale is unset!');\n      }\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I32) {\n          this.scale = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I64) {\n          this.value = input.readI64();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('Decimal');\n    if (this.scale !== null && this.scale !== undefined) {\n      output.writeFieldBegin('scale', Thrift.Type.I32, 1);\n      output.writeI32(this.scale);\n      output.writeFieldEnd();\n    }\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.I64, 2);\n      output.writeI64(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst EmailAddress = module.exports.EmailAddress = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('EmailAddress');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnencryptedPassword = module.exports.UnencryptedPassword = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnencryptedPassword');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst Milliseconds = module.exports.Milliseconds = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I64) {\n          this.value = input.readI64();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('Milliseconds');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.I64, 1);\n      output.writeI64(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst Seconds = module.exports.Seconds = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I64) {\n          this.value = input.readI64();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('Seconds');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.I64, 1);\n      output.writeI64(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst TimestampWithMillisecondPrecision = module.exports.TimestampWithMillisecondPrecision = class {\n  constructor(args) {\n    this.timeSinceUnixEpoch = null;\n    if (args) {\n      if (args.timeSinceUnixEpoch !== undefined && args.timeSinceUnixEpoch !== null) {\n        this.timeSinceUnixEpoch = new ttypes.Milliseconds(args.timeSinceUnixEpoch);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field timeSinceUnixEpoch is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.timeSinceUnixEpoch = new ttypes.Milliseconds();\n          this.timeSinceUnixEpoch.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('TimestampWithMillisecondPrecision');\n    if (this.timeSinceUnixEpoch !== null && this.timeSinceUnixEpoch !== undefined) {\n      output.writeFieldBegin('timeSinceUnixEpoch', Thrift.Type.STRUCT, 1);\n      this.timeSinceUnixEpoch.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst TimestampWithSecondPrecision = module.exports.TimestampWithSecondPrecision = class {\n  constructor(args) {\n    this.timeSinceUnixEpoch = null;\n    if (args) {\n      if (args.timeSinceUnixEpoch !== undefined && args.timeSinceUnixEpoch !== null) {\n        this.timeSinceUnixEpoch = new ttypes.Seconds(args.timeSinceUnixEpoch);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field timeSinceUnixEpoch is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.timeSinceUnixEpoch = new ttypes.Seconds();\n          this.timeSinceUnixEpoch.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('TimestampWithSecondPrecision');\n    if (this.timeSinceUnixEpoch !== null && this.timeSinceUnixEpoch !== undefined) {\n      output.writeFieldBegin('timeSinceUnixEpoch', Thrift.Type.STRUCT, 1);\n      this.timeSinceUnixEpoch.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst distributor_Model_ttypes = require('./distributor_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst UnknownDistributorIdException = module.exports.UnknownDistributorIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownDistributorIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownDistributorIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DuplicateDistributorIdException = module.exports.DuplicateDistributorIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"DuplicateDistributorIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DuplicateDistributorIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownDistributorRegionIdException = module.exports.UnknownDistributorRegionIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownDistributorRegionIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownDistributorRegionIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownScopeException = module.exports.UnknownScopeException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownScopeException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownScopeException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorNameCollisionException = module.exports.DistributorNameCollisionException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"DistributorNameCollisionException\";\n    this.collidedDistributorsById = null;\n    if (args) {\n      if (args.collidedDistributorsById !== undefined && args.collidedDistributorsById !== null) {\n        this.collidedDistributorsById = Thrift.copyList(args.collidedDistributorsById, [distributor_Model_ttypes.DistributorIdAndDistributor]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field collidedDistributorsById is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.collidedDistributorsById = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new distributor_Model_ttypes.DistributorIdAndDistributor();\n            elem3.read(input);\n            this.collidedDistributorsById.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorNameCollisionException');\n    if (this.collidedDistributorsById !== null && this.collidedDistributorsById !== undefined) {\n      output.writeFieldBegin('collidedDistributorsById', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.collidedDistributorsById.length);\n      for (let iter4 in this.collidedDistributorsById) {\n        if (this.collidedDistributorsById.hasOwnProperty(iter4)) {\n          iter4 = this.collidedDistributorsById[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.ScopeType = {\n  '0' : 'RETAILER',\n  'RETAILER' : 0,\n  '1' : 'GROUP',\n  'GROUP' : 1,\n  '2' : 'GLOBAL',\n  'GLOBAL' : 2\n};\nconst Scope = module.exports.Scope = class {\n  constructor(args) {\n    this.type = null;\n    this.id = null;\n    if (args) {\n      if (args.type !== undefined && args.type !== null) {\n        this.type = args.type;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field type is unset!');\n      }\n      if (args.id !== undefined && args.id !== null) {\n        this.id = args.id;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I32) {\n          this.type = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.id = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('Scope');\n    if (this.type !== null && this.type !== undefined) {\n      output.writeFieldBegin('type', Thrift.Type.I32, 1);\n      output.writeI32(this.type);\n      output.writeFieldEnd();\n    }\n    if (this.id !== null && this.id !== undefined) {\n      output.writeFieldBegin('id', Thrift.Type.STRING, 2);\n      output.writeString(this.id);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorId = module.exports.DistributorId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst Distributor = module.exports.Distributor = class {\n  constructor(args) {\n    this.name = null;\n    this.shortName = null;\n    this.owner = null;\n    if (args) {\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.shortName !== undefined && args.shortName !== null) {\n        this.shortName = args.shortName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field shortName is unset!');\n      }\n      if (args.owner !== undefined && args.owner !== null) {\n        this.owner = new ttypes.Scope(args.owner);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field owner is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.shortName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.owner = new ttypes.Scope();\n          this.owner.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('Distributor');\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 1);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.shortName !== null && this.shortName !== undefined) {\n      output.writeFieldBegin('shortName', Thrift.Type.STRING, 2);\n      output.writeString(this.shortName);\n      output.writeFieldEnd();\n    }\n    if (this.owner !== null && this.owner !== undefined) {\n      output.writeFieldBegin('owner', Thrift.Type.STRUCT, 3);\n      this.owner.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorRegionId = module.exports.DistributorRegionId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorRegionId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorIdAndDistributor = module.exports.DistributorIdAndDistributor = class {\n  constructor(args) {\n    this.distributorId = null;\n    this.distributor = null;\n    if (args) {\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n      if (args.distributor !== undefined && args.distributor !== null) {\n        this.distributor = new ttypes.Distributor(args.distributor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributor is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributor = new ttypes.Distributor();\n          this.distributor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorIdAndDistributor');\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 1);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributor !== null && this.distributor !== undefined) {\n      output.writeFieldBegin('distributor', Thrift.Type.STRUCT, 2);\n      this.distributor.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DistributorIdAndRegionId = module.exports.DistributorIdAndRegionId = class {\n  constructor(args) {\n    this.distributorId = null;\n    this.regionId = null;\n    if (args) {\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n      if (args.regionId !== undefined && args.regionId !== null) {\n        this.regionId = new ttypes.DistributorRegionId(args.regionId);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.regionId = new ttypes.DistributorRegionId();\n          this.regionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorIdAndRegionId');\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 1);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.regionId !== null && this.regionId !== undefined) {\n      output.writeFieldBegin('regionId', Thrift.Type.STRUCT, 2);\n      this.regionId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ReplaceDistributorRequest = module.exports.ReplaceDistributorRequest = class {\n  constructor(args) {\n    this.sessionId = null;\n    this.locationId = null;\n    this.distributorId = null;\n    this.replacementDistributorId = null;\n    if (args) {\n      if (args.sessionId !== undefined && args.sessionId !== null) {\n        this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier(args.sessionId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sessionId is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n      if (args.replacementDistributorId !== undefined && args.replacementDistributorId !== null) {\n        this.replacementDistributorId = new ttypes.DistributorId(args.replacementDistributorId);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sessionId = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.sessionId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.replacementDistributorId = new ttypes.DistributorId();\n          this.replacementDistributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ReplaceDistributorRequest');\n    if (this.sessionId !== null && this.sessionId !== undefined) {\n      output.writeFieldBegin('sessionId', Thrift.Type.STRUCT, 1);\n      this.sessionId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 3);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.replacementDistributorId !== null && this.replacementDistributorId !== undefined) {\n      output.writeFieldBegin('replacementDistributorId', Thrift.Type.STRUCT, 4);\n      this.replacementDistributorId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst distributor_Exceptions_ttypes = require('./distributor_Exceptions_types');\nconst distributor_Model_ttypes = require('./distributor_Model_types');\nconst distributor_dependency_Model_ttypes = require('./distributor_dependency_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst cart_Model_ttypes = require('./cart_Model_types');\nconst order_Model_ttypes = require('./order_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst DistributorDependentObjectSet = module.exports.DistributorDependentObjectSet = class {\n  constructor(args) {\n    this.deliveryIds = null;\n    this.productIds = null;\n    this.retailerIds = null;\n    this.cartIds = null;\n    this.cartItemsByCartId = null;\n    if (args) {\n      if (args.deliveryIds !== undefined && args.deliveryIds !== null) {\n        this.deliveryIds = Thrift.copyList(args.deliveryIds, [order_Model_ttypes.DeliveryId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field deliveryIds is unset!');\n      }\n      if (args.productIds !== undefined && args.productIds !== null) {\n        this.productIds = Thrift.copyList(args.productIds, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productIds is unset!');\n      }\n      if (args.retailerIds !== undefined && args.retailerIds !== null) {\n        this.retailerIds = Thrift.copyList(args.retailerIds, [location_Model_ttypes.LocationIdentifier]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field retailerIds is unset!');\n      }\n      if (args.cartIds !== undefined && args.cartIds !== null) {\n        this.cartIds = Thrift.copyList(args.cartIds, [location_Model_ttypes.LocationIdentifier]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field cartIds is unset!');\n      }\n      if (args.cartItemsByCartId !== undefined && args.cartItemsByCartId !== null) {\n        this.cartItemsByCartId = Thrift.copyList(args.cartItemsByCartId, [order_Model_ttypes.CartIdAndCartItems]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field cartItemsByCartId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.SET) {\n          this.deliveryIds = [];\n          const _rtmp31 = input.readSetBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new order_Model_ttypes.DeliveryId();\n            elem3.read(input);\n            this.deliveryIds.push(elem3);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.SET) {\n          this.productIds = [];\n          const _rtmp35 = input.readSetBegin();\n          const _size4 = _rtmp35.size || 0;\n          for (let _i6 = 0; _i6 < _size4; ++_i6) {\n            let elem7 = null;\n            elem7 = new product_Model_ttypes.ProductId();\n            elem7.read(input);\n            this.productIds.push(elem7);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.SET) {\n          this.retailerIds = [];\n          const _rtmp39 = input.readSetBegin();\n          const _size8 = _rtmp39.size || 0;\n          for (let _i10 = 0; _i10 < _size8; ++_i10) {\n            let elem11 = null;\n            elem11 = new location_Model_ttypes.LocationIdentifier();\n            elem11.read(input);\n            this.retailerIds.push(elem11);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.SET) {\n          this.cartIds = [];\n          const _rtmp313 = input.readSetBegin();\n          const _size12 = _rtmp313.size || 0;\n          for (let _i14 = 0; _i14 < _size12; ++_i14) {\n            let elem15 = null;\n            elem15 = new location_Model_ttypes.LocationIdentifier();\n            elem15.read(input);\n            this.cartIds.push(elem15);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.SET) {\n          this.cartItemsByCartId = [];\n          const _rtmp317 = input.readSetBegin();\n          const _size16 = _rtmp317.size || 0;\n          for (let _i18 = 0; _i18 < _size16; ++_i18) {\n            let elem19 = null;\n            elem19 = new order_Model_ttypes.CartIdAndCartItems();\n            elem19.read(input);\n            this.cartItemsByCartId.push(elem19);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DistributorDependentObjectSet');\n    if (this.deliveryIds !== null && this.deliveryIds !== undefined) {\n      output.writeFieldBegin('deliveryIds', Thrift.Type.SET, 1);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.deliveryIds.length);\n      for (let iter20 in this.deliveryIds) {\n        if (this.deliveryIds.hasOwnProperty(iter20)) {\n          iter20 = this.deliveryIds[iter20];\n          iter20.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.productIds !== null && this.productIds !== undefined) {\n      output.writeFieldBegin('productIds', Thrift.Type.SET, 2);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.productIds.length);\n      for (let iter21 in this.productIds) {\n        if (this.productIds.hasOwnProperty(iter21)) {\n          iter21 = this.productIds[iter21];\n          iter21.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.retailerIds !== null && this.retailerIds !== undefined) {\n      output.writeFieldBegin('retailerIds', Thrift.Type.SET, 3);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.retailerIds.length);\n      for (let iter22 in this.retailerIds) {\n        if (this.retailerIds.hasOwnProperty(iter22)) {\n          iter22 = this.retailerIds[iter22];\n          iter22.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.cartIds !== null && this.cartIds !== undefined) {\n      output.writeFieldBegin('cartIds', Thrift.Type.SET, 4);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.cartIds.length);\n      for (let iter23 in this.cartIds) {\n        if (this.cartIds.hasOwnProperty(iter23)) {\n          iter23 = this.cartIds[iter23];\n          iter23.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.cartItemsByCartId !== null && this.cartItemsByCartId !== undefined) {\n      output.writeFieldBegin('cartItemsByCartId', Thrift.Type.SET, 5);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.cartItemsByCartId.length);\n      for (let iter24 in this.cartItemsByCartId) {\n        if (this.cartItemsByCartId.hasOwnProperty(iter24)) {\n          iter24 = this.cartItemsByCartId[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnknownDrinkIdException = module.exports.UnknownDrinkIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownDrinkIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownDrinkIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst EmptyArgumentException = module.exports.EmptyArgumentException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"EmptyArgumentException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('EmptyArgumentException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ArgumentArraysOfUnevenLengthException = module.exports.ArgumentArraysOfUnevenLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ArgumentArraysOfUnevenLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ArgumentArraysOfUnevenLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.DrinkCategory = {\n  '0' : 'COCKTAIL',\n  'COCKTAIL' : 0,\n  '1' : 'DRAUGHT',\n  'DRAUGHT' : 1,\n  '2' : 'BY_GLASS',\n  'BY_GLASS' : 2,\n  '3' : 'SINGLE_SERVE',\n  'SINGLE_SERVE' : 3\n};\nttypes.DrinkUnit = {\n  '0' : 'METRIC_LITER',\n  'METRIC_LITER' : 0,\n  '1' : 'METRIC_MILLILITER',\n  'METRIC_MILLILITER' : 1,\n  '2' : 'US_FLUID_OUNCE',\n  'US_FLUID_OUNCE' : 2,\n  '3' : 'US_FLUID_GALLON',\n  'US_FLUID_GALLON' : 3,\n  '4' : 'DASH',\n  'DASH' : 4,\n  '5' : 'BAR_SPOON',\n  'BAR_SPOON' : 5,\n  '6' : 'UNIT',\n  'UNIT' : 6\n};\nttypes.ShareMedium = {\n  '0' : 'FACEBOOK',\n  'FACEBOOK' : 0,\n  '1' : 'TWITTER',\n  'TWITTER' : 1,\n  '2' : 'LINKED_IN',\n  'LINKED_IN' : 2,\n  '3' : 'EMAIL',\n  'EMAIL' : 3\n};\nconst DrinkId = module.exports.DrinkId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst QuantityAndUnit = module.exports.QuantityAndUnit = class {\n  constructor(args) {\n    this.quantity = null;\n    this.unit = null;\n    if (args) {\n      if (args.quantity !== undefined && args.quantity !== null) {\n        this.quantity = new core_math_Model_ttypes.Decimal(args.quantity);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantity is unset!');\n      }\n      if (args.unit !== undefined && args.unit !== null) {\n        this.unit = args.unit;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unit is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantity = new core_math_Model_ttypes.Decimal();\n          this.quantity.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.unit = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('QuantityAndUnit');\n    if (this.quantity !== null && this.quantity !== undefined) {\n      output.writeFieldBegin('quantity', Thrift.Type.STRUCT, 1);\n      this.quantity.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unit !== null && this.unit !== undefined) {\n      output.writeFieldBegin('unit', Thrift.Type.I32, 2);\n      output.writeI32(this.unit);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkIngredient = module.exports.DrinkIngredient = class {\n  constructor(args) {\n    this.name = null;\n    this.amount = null;\n    this.packageSize = null;\n    this.packageCost = null;\n    if (args) {\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      }\n      if (args.amount !== undefined && args.amount !== null) {\n        this.amount = new ttypes.QuantityAndUnit(args.amount);\n      }\n      if (args.packageSize !== undefined && args.packageSize !== null) {\n        this.packageSize = new ttypes.QuantityAndUnit(args.packageSize);\n      }\n      if (args.packageCost !== undefined && args.packageCost !== null) {\n        this.packageCost = new money_Model_ttypes.MonetaryValue(args.packageCost);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.amount = new ttypes.QuantityAndUnit();\n          this.amount.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.packageSize = new ttypes.QuantityAndUnit();\n          this.packageSize.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.packageCost = new money_Model_ttypes.MonetaryValue();\n          this.packageCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkIngredient');\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 1);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.amount !== null && this.amount !== undefined) {\n      output.writeFieldBegin('amount', Thrift.Type.STRUCT, 2);\n      this.amount.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.packageSize !== null && this.packageSize !== undefined) {\n      output.writeFieldBegin('packageSize', Thrift.Type.STRUCT, 3);\n      this.packageSize.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.packageCost !== null && this.packageCost !== undefined) {\n      output.writeFieldBegin('packageCost', Thrift.Type.STRUCT, 4);\n      this.packageCost.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst Drink = module.exports.Drink = class {\n  constructor(args) {\n    this.name = null;\n    this.drinkCategory = null;\n    this.ingredients = null;\n    this.price = null;\n    this.taxRate = null;\n    this.note = null;\n    if (args) {\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.drinkCategory !== undefined && args.drinkCategory !== null) {\n        this.drinkCategory = args.drinkCategory;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkCategory is unset!');\n      }\n      if (args.ingredients !== undefined && args.ingredients !== null) {\n        this.ingredients = Thrift.copyList(args.ingredients, [ttypes.DrinkIngredient]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field ingredients is unset!');\n      }\n      if (args.price !== undefined && args.price !== null) {\n        this.price = new money_Model_ttypes.MonetaryValue(args.price);\n      }\n      if (args.taxRate !== undefined && args.taxRate !== null) {\n        this.taxRate = new core_math_Model_ttypes.Decimal(args.taxRate);\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.drinkCategory = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.ingredients = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new ttypes.DrinkIngredient();\n            elem3.read(input);\n            this.ingredients.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.price = new money_Model_ttypes.MonetaryValue();\n          this.price.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.taxRate = new core_math_Model_ttypes.Decimal();\n          this.taxRate.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('Drink');\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 1);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.drinkCategory !== null && this.drinkCategory !== undefined) {\n      output.writeFieldBegin('drinkCategory', Thrift.Type.I32, 2);\n      output.writeI32(this.drinkCategory);\n      output.writeFieldEnd();\n    }\n    if (this.ingredients !== null && this.ingredients !== undefined) {\n      output.writeFieldBegin('ingredients', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.ingredients.length);\n      for (let iter4 in this.ingredients) {\n        if (this.ingredients.hasOwnProperty(iter4)) {\n          iter4 = this.ingredients[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.price !== null && this.price !== undefined) {\n      output.writeFieldBegin('price', Thrift.Type.STRUCT, 4);\n      this.price.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.taxRate !== null && this.taxRate !== undefined) {\n      output.writeFieldBegin('taxRate', Thrift.Type.STRUCT, 5);\n      this.taxRate.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 6);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DrinkIdAndDrink = module.exports.DrinkIdAndDrink = class {\n  constructor(args) {\n    this.drinkId = null;\n    this.drink = null;\n    if (args) {\n      if (args.drinkId !== undefined && args.drinkId !== null) {\n        this.drinkId = new ttypes.DrinkId(args.drinkId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drinkId is unset!');\n      }\n      if (args.drink !== undefined && args.drink !== null) {\n        this.drink = new ttypes.Drink(args.drink);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field drink is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.drinkId = new ttypes.DrinkId();\n          this.drinkId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.drink = new ttypes.Drink();\n          this.drink.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DrinkIdAndDrink');\n    if (this.drinkId !== null && this.drinkId !== undefined) {\n      output.writeFieldBegin('drinkId', Thrift.Type.STRUCT, 1);\n      this.drinkId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.drink !== null && this.drink !== undefined) {\n      output.writeFieldBegin('drink', Thrift.Type.STRUCT, 2);\n      this.drink.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst drink_price_tool_Exceptions_ttypes = require('./drink_price_tool_Exceptions_types');\nconst drink_price_tool_Model_ttypes = require('./drink_price_tool_Model_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst GroupId = module.exports.GroupId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('GroupId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst integration_Model_ttypes = require('./integration_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst LocationDoesNotHaveIntegrationException = module.exports.LocationDoesNotHaveIntegrationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LocationDoesNotHaveIntegrationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationDoesNotHaveIntegrationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LocationAlreadyHasIntegrationException = module.exports.LocationAlreadyHasIntegrationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LocationAlreadyHasIntegrationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationAlreadyHasIntegrationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst FailedToExchangeOAuthToken = module.exports.FailedToExchangeOAuthToken = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"FailedToExchangeOAuthToken\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('FailedToExchangeOAuthToken');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationNotAccessibleException = module.exports.IntegrationNotAccessibleException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"IntegrationNotAccessibleException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationNotAccessibleException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnsupportedPosIntegrationTypeException = module.exports.UnsupportedPosIntegrationTypeException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnsupportedPosIntegrationTypeException\";\n    this.type = null;\n    if (args) {\n      if (args.type !== undefined && args.type !== null) {\n        this.type = args.type;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field type is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I32) {\n          this.type = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnsupportedPosIntegrationTypeException');\n    if (this.type !== null && this.type !== undefined) {\n      output.writeFieldBegin('type', Thrift.Type.I32, 1);\n      output.writeI32(this.type);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PosHistoryLimitExceededException = module.exports.PosHistoryLimitExceededException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PosHistoryLimitExceededException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PosHistoryLimitExceededException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InvalidAuthorizationCodeException = module.exports.InvalidAuthorizationCodeException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"InvalidAuthorizationCodeException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InvalidAuthorizationCodeException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst sales_report_model_ttypes = require('./sales_report_model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.PosIntegrationType = {\n  '0' : 'LIGHTSPEED',\n  'LIGHTSPEED' : 0,\n  '1' : 'SQUARE',\n  'SQUARE' : 1,\n  '2' : 'BREADCRUMB',\n  'BREADCRUMB' : 2,\n  '3' : 'TOAST',\n  'TOAST' : 3,\n  '4' : 'OMNIVORE',\n  'OMNIVORE' : 4,\n  '5' : 'CLOVER',\n  'CLOVER' : 5,\n  '6' : 'K_SERIES',\n  'K_SERIES' : 6,\n  '7' : 'SPOTON',\n  'SPOTON' : 7,\n  '8' : 'HEARTLAND',\n  'HEARTLAND' : 8,\n  '9' : 'R_SERIES',\n  'R_SERIES' : 9,\n  '10' : 'JONAS',\n  'JONAS' : 10\n};\nconst ExternalMerchantId = module.exports.ExternalMerchantId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ExternalMerchantId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst IntegrationState = module.exports.IntegrationState = class {\n  constructor(args) {\n    this.externalMerchantId = null;\n    this.isAccessible = null;\n    this.cacheDataEffectiveTime = null;\n    if (args) {\n      if (args.externalMerchantId !== undefined && args.externalMerchantId !== null) {\n        this.externalMerchantId = new ttypes.ExternalMerchantId(args.externalMerchantId);\n      }\n      if (args.isAccessible !== undefined && args.isAccessible !== null) {\n        this.isAccessible = args.isAccessible;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field isAccessible is unset!');\n      }\n      if (args.cacheDataEffectiveTime !== undefined && args.cacheDataEffectiveTime !== null) {\n        this.cacheDataEffectiveTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.cacheDataEffectiveTime);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.externalMerchantId = new ttypes.ExternalMerchantId();\n          this.externalMerchantId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isAccessible = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.cacheDataEffectiveTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.cacheDataEffectiveTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('IntegrationState');\n    if (this.externalMerchantId !== null && this.externalMerchantId !== undefined) {\n      output.writeFieldBegin('externalMerchantId', Thrift.Type.STRUCT, 1);\n      this.externalMerchantId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.isAccessible !== null && this.isAccessible !== undefined) {\n      output.writeFieldBegin('isAccessible', Thrift.Type.BOOL, 2);\n      output.writeBool(this.isAccessible);\n      output.writeFieldEnd();\n    }\n    if (this.cacheDataEffectiveTime !== null && this.cacheDataEffectiveTime !== undefined) {\n      output.writeFieldBegin('cacheDataEffectiveTime', Thrift.Type.STRUCT, 3);\n      this.cacheDataEffectiveTime.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst OmnivoreIntegrationState = module.exports.OmnivoreIntegrationState = class {\n  constructor(args) {\n    this.externalMerchantId = null;\n    this.posType = null;\n    this.isAccessible = null;\n    this.cacheDataEffectiveTime = null;\n    if (args) {\n      if (args.externalMerchantId !== undefined && args.externalMerchantId !== null) {\n        this.externalMerchantId = new ttypes.ExternalMerchantId(args.externalMerchantId);\n      }\n      if (args.posType !== undefined && args.posType !== null) {\n        this.posType = args.posType;\n      }\n      if (args.isAccessible !== undefined && args.isAccessible !== null) {\n        this.isAccessible = args.isAccessible;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field isAccessible is unset!');\n      }\n      if (args.cacheDataEffectiveTime !== undefined && args.cacheDataEffectiveTime !== null) {\n        this.cacheDataEffectiveTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.cacheDataEffectiveTime);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.externalMerchantId = new ttypes.ExternalMerchantId();\n          this.externalMerchantId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.posType = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isAccessible = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.cacheDataEffectiveTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.cacheDataEffectiveTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('OmnivoreIntegrationState');\n    if (this.externalMerchantId !== null && this.externalMerchantId !== undefined) {\n      output.writeFieldBegin('externalMerchantId', Thrift.Type.STRUCT, 1);\n      this.externalMerchantId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.posType !== null && this.posType !== undefined) {\n      output.writeFieldBegin('posType', Thrift.Type.STRING, 2);\n      output.writeString(this.posType);\n      output.writeFieldEnd();\n    }\n    if (this.isAccessible !== null && this.isAccessible !== undefined) {\n      output.writeFieldBegin('isAccessible', Thrift.Type.BOOL, 3);\n      output.writeBool(this.isAccessible);\n      output.writeFieldEnd();\n    }\n    if (this.cacheDataEffectiveTime !== null && this.cacheDataEffectiveTime !== undefined) {\n      output.writeFieldBegin('cacheDataEffectiveTime', Thrift.Type.STRUCT, 4);\n      this.cacheDataEffectiveTime.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PosItem = module.exports.PosItem = class {\n  constructor(args) {\n    this.posItemId = null;\n    this.name = null;\n    this.menuGroup = null;\n    if (args) {\n      if (args.posItemId !== undefined && args.posItemId !== null) {\n        this.posItemId = args.posItemId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posItemId is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.menuGroup !== undefined && args.menuGroup !== null) {\n        this.menuGroup = args.menuGroup;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.posItemId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.menuGroup = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PosItem');\n    if (this.posItemId !== null && this.posItemId !== undefined) {\n      output.writeFieldBegin('posItemId', Thrift.Type.STRING, 1);\n      output.writeString(this.posItemId);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 2);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.menuGroup !== null && this.menuGroup !== undefined) {\n      output.writeFieldBegin('menuGroup', Thrift.Type.STRING, 3);\n      output.writeString(this.menuGroup);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PosItemAndSalesEntry = module.exports.PosItemAndSalesEntry = class {\n  constructor(args) {\n    this.posItem = null;\n    this.salesEntry = null;\n    if (args) {\n      if (args.posItem !== undefined && args.posItem !== null) {\n        this.posItem = new ttypes.PosItem(args.posItem);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posItem is unset!');\n      }\n      if (args.salesEntry !== undefined && args.salesEntry !== null) {\n        this.salesEntry = new sales_report_model_ttypes.SalesEntry(args.salesEntry);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesEntry is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.posItem = new ttypes.PosItem();\n          this.posItem.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesEntry = new sales_report_model_ttypes.SalesEntry();\n          this.salesEntry.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PosItemAndSalesEntry');\n    if (this.posItem !== null && this.posItem !== undefined) {\n      output.writeFieldBegin('posItem', Thrift.Type.STRUCT, 1);\n      this.posItem.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesEntry !== null && this.salesEntry !== undefined) {\n      output.writeFieldBegin('salesEntry', Thrift.Type.STRUCT, 2);\n      this.salesEntry.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PmixItem = module.exports.PmixItem = class {\n  constructor(args) {\n    this.posItemId = null;\n    this.posName = null;\n    this.type = null;\n    this.price = null;\n    this.quantitySold = null;\n    this.quantityComped = null;\n    this.valueComped = null;\n    if (args) {\n      if (args.posItemId !== undefined && args.posItemId !== null) {\n        this.posItemId = args.posItemId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posItemId is unset!');\n      }\n      if (args.posName !== undefined && args.posName !== null) {\n        this.posName = args.posName;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posName is unset!');\n      }\n      if (args.type !== undefined && args.type !== null) {\n        this.type = args.type;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field type is unset!');\n      }\n      if (args.price !== undefined && args.price !== null) {\n        this.price = new core_math_Model_ttypes.Decimal(args.price);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field price is unset!');\n      }\n      if (args.quantitySold !== undefined && args.quantitySold !== null) {\n        this.quantitySold = new core_math_Model_ttypes.Decimal(args.quantitySold);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantitySold is unset!');\n      }\n      if (args.quantityComped !== undefined && args.quantityComped !== null) {\n        this.quantityComped = new core_math_Model_ttypes.Decimal(args.quantityComped);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantityComped is unset!');\n      }\n      if (args.valueComped !== undefined && args.valueComped !== null) {\n        this.valueComped = new core_math_Model_ttypes.Decimal(args.valueComped);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field valueComped is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.posItemId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.posName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.type = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.price = new core_math_Model_ttypes.Decimal();\n          this.price.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantitySold = new core_math_Model_ttypes.Decimal();\n          this.quantitySold.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityComped = new core_math_Model_ttypes.Decimal();\n          this.quantityComped.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.valueComped = new core_math_Model_ttypes.Decimal();\n          this.valueComped.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PmixItem');\n    if (this.posItemId !== null && this.posItemId !== undefined) {\n      output.writeFieldBegin('posItemId', Thrift.Type.STRING, 1);\n      output.writeString(this.posItemId);\n      output.writeFieldEnd();\n    }\n    if (this.posName !== null && this.posName !== undefined) {\n      output.writeFieldBegin('posName', Thrift.Type.STRING, 2);\n      output.writeString(this.posName);\n      output.writeFieldEnd();\n    }\n    if (this.type !== null && this.type !== undefined) {\n      output.writeFieldBegin('type', Thrift.Type.STRING, 3);\n      output.writeString(this.type);\n      output.writeFieldEnd();\n    }\n    if (this.price !== null && this.price !== undefined) {\n      output.writeFieldBegin('price', Thrift.Type.STRUCT, 4);\n      this.price.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantitySold !== null && this.quantitySold !== undefined) {\n      output.writeFieldBegin('quantitySold', Thrift.Type.STRUCT, 5);\n      this.quantitySold.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityComped !== null && this.quantityComped !== undefined) {\n      output.writeFieldBegin('quantityComped', Thrift.Type.STRUCT, 6);\n      this.quantityComped.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.valueComped !== null && this.valueComped !== undefined) {\n      output.writeFieldBegin('valueComped', Thrift.Type.STRUCT, 7);\n      this.valueComped.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesImportResult = module.exports.SalesImportResult = class {\n  constructor(args) {\n    this.dataEffectiveTime = null;\n    this.salesEntries = null;\n    this.unmappedPosItemAndSalesEntries = null;\n    this.ignoredPosItemAndSalesEntries = null;\n    if (args) {\n      if (args.dataEffectiveTime !== undefined && args.dataEffectiveTime !== null) {\n        this.dataEffectiveTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.dataEffectiveTime);\n      }\n      if (args.salesEntries !== undefined && args.salesEntries !== null) {\n        this.salesEntries = Thrift.copyList(args.salesEntries, [sales_report_model_ttypes.SalesItemIdAndSalesEntry]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesEntries is unset!');\n      }\n      if (args.unmappedPosItemAndSalesEntries !== undefined && args.unmappedPosItemAndSalesEntries !== null) {\n        this.unmappedPosItemAndSalesEntries = Thrift.copyList(args.unmappedPosItemAndSalesEntries, [ttypes.PosItemAndSalesEntry]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unmappedPosItemAndSalesEntries is unset!');\n      }\n      if (args.ignoredPosItemAndSalesEntries !== undefined && args.ignoredPosItemAndSalesEntries !== null) {\n        this.ignoredPosItemAndSalesEntries = Thrift.copyList(args.ignoredPosItemAndSalesEntries, [ttypes.PosItemAndSalesEntry]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field ignoredPosItemAndSalesEntries is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.dataEffectiveTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.dataEffectiveTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.salesEntries = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new sales_report_model_ttypes.SalesItemIdAndSalesEntry();\n            elem3.read(input);\n            this.salesEntries.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.unmappedPosItemAndSalesEntries = [];\n          const _rtmp35 = input.readListBegin();\n          const _size4 = _rtmp35.size || 0;\n          for (let _i6 = 0; _i6 < _size4; ++_i6) {\n            let elem7 = null;\n            elem7 = new ttypes.PosItemAndSalesEntry();\n            elem7.read(input);\n            this.unmappedPosItemAndSalesEntries.push(elem7);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.LIST) {\n          this.ignoredPosItemAndSalesEntries = [];\n          const _rtmp39 = input.readListBegin();\n          const _size8 = _rtmp39.size || 0;\n          for (let _i10 = 0; _i10 < _size8; ++_i10) {\n            let elem11 = null;\n            elem11 = new ttypes.PosItemAndSalesEntry();\n            elem11.read(input);\n            this.ignoredPosItemAndSalesEntries.push(elem11);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesImportResult');\n    if (this.dataEffectiveTime !== null && this.dataEffectiveTime !== undefined) {\n      output.writeFieldBegin('dataEffectiveTime', Thrift.Type.STRUCT, 1);\n      this.dataEffectiveTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesEntries !== null && this.salesEntries !== undefined) {\n      output.writeFieldBegin('salesEntries', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.salesEntries.length);\n      for (let iter12 in this.salesEntries) {\n        if (this.salesEntries.hasOwnProperty(iter12)) {\n          iter12 = this.salesEntries[iter12];\n          iter12.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.unmappedPosItemAndSalesEntries !== null && this.unmappedPosItemAndSalesEntries !== undefined) {\n      output.writeFieldBegin('unmappedPosItemAndSalesEntries', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.unmappedPosItemAndSalesEntries.length);\n      for (let iter13 in this.unmappedPosItemAndSalesEntries) {\n        if (this.unmappedPosItemAndSalesEntries.hasOwnProperty(iter13)) {\n          iter13 = this.unmappedPosItemAndSalesEntries[iter13];\n          iter13.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.ignoredPosItemAndSalesEntries !== null && this.ignoredPosItemAndSalesEntries !== undefined) {\n      output.writeFieldBegin('ignoredPosItemAndSalesEntries', Thrift.Type.LIST, 4);\n      output.writeListBegin(Thrift.Type.STRUCT, this.ignoredPosItemAndSalesEntries.length);\n      for (let iter14 in this.ignoredPosItemAndSalesEntries) {\n        if (this.ignoredPosItemAndSalesEntries.hasOwnProperty(iter14)) {\n          iter14 = this.ignoredPosItemAndSalesEntries[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PosLocationMapping = module.exports.PosLocationMapping = class {\n  constructor(args) {\n    this.locationId = null;\n    this.posLocationId = null;\n    if (args) {\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.posLocationId !== undefined && args.posLocationId !== null) {\n        this.posLocationId = args.posLocationId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posLocationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.posLocationId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PosLocationMapping');\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 1);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.posLocationId !== null && this.posLocationId !== undefined) {\n      output.writeFieldBegin('posLocationId', Thrift.Type.STRING, 2);\n      output.writeString(this.posLocationId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PosLocation = module.exports.PosLocation = class {\n  constructor(args) {\n    this.id = null;\n    this.name = null;\n    this.posHistoryStart = null;\n    this.cacheDataEffectiveTime = null;\n    if (args) {\n      if (args.id !== undefined && args.id !== null) {\n        this.id = args.id;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field id is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.posHistoryStart !== undefined && args.posHistoryStart !== null) {\n        this.posHistoryStart = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.posHistoryStart);\n      }\n      if (args.cacheDataEffectiveTime !== undefined && args.cacheDataEffectiveTime !== null) {\n        this.cacheDataEffectiveTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.cacheDataEffectiveTime);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.id = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.posHistoryStart = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.posHistoryStart.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.cacheDataEffectiveTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.cacheDataEffectiveTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PosLocation');\n    if (this.id !== null && this.id !== undefined) {\n      output.writeFieldBegin('id', Thrift.Type.STRING, 1);\n      output.writeString(this.id);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 2);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.posHistoryStart !== null && this.posHistoryStart !== undefined) {\n      output.writeFieldBegin('posHistoryStart', Thrift.Type.STRUCT, 3);\n      this.posHistoryStart.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.cacheDataEffectiveTime !== null && this.cacheDataEffectiveTime !== undefined) {\n      output.writeFieldBegin('cacheDataEffectiveTime', Thrift.Type.STRUCT, 4);\n      this.cacheDataEffectiveTime.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ListIntegrationResult = module.exports.ListIntegrationResult = class {\n  constructor(args) {\n    this.posLocationConnections = null;\n    this.accessibleIntegrationLocationMetadata = null;\n    if (args) {\n      if (args.posLocationConnections !== undefined && args.posLocationConnections !== null) {\n        this.posLocationConnections = Thrift.copyList(args.posLocationConnections, [ttypes.PosLocationMapping]);\n      }\n      if (args.accessibleIntegrationLocationMetadata !== undefined && args.accessibleIntegrationLocationMetadata !== null) {\n        this.accessibleIntegrationLocationMetadata = Thrift.copyList(args.accessibleIntegrationLocationMetadata, [ttypes.PosLocation]);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.posLocationConnections = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new ttypes.PosLocationMapping();\n            elem18.read(input);\n            this.posLocationConnections.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.accessibleIntegrationLocationMetadata = [];\n          const _rtmp320 = input.readListBegin();\n          const _size19 = _rtmp320.size || 0;\n          for (let _i21 = 0; _i21 < _size19; ++_i21) {\n            let elem22 = null;\n            elem22 = new ttypes.PosLocation();\n            elem22.read(input);\n            this.accessibleIntegrationLocationMetadata.push(elem22);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ListIntegrationResult');\n    if (this.posLocationConnections !== null && this.posLocationConnections !== undefined) {\n      output.writeFieldBegin('posLocationConnections', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.posLocationConnections.length);\n      for (let iter23 in this.posLocationConnections) {\n        if (this.posLocationConnections.hasOwnProperty(iter23)) {\n          iter23 = this.posLocationConnections[iter23];\n          iter23.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.accessibleIntegrationLocationMetadata !== null && this.accessibleIntegrationLocationMetadata !== undefined) {\n      output.writeFieldBegin('accessibleIntegrationLocationMetadata', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.accessibleIntegrationLocationMetadata.length);\n      for (let iter24 in this.accessibleIntegrationLocationMetadata) {\n        if (this.accessibleIntegrationLocationMetadata.hasOwnProperty(iter24)) {\n          iter24 = this.accessibleIntegrationLocationMetadata[iter24];\n          iter24.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AddIntegrationThroughOAuthFlowRequest = module.exports.AddIntegrationThroughOAuthFlowRequest = class {\n  constructor(args) {\n    this.actor = null;\n    this.locationId = null;\n    this.posIntegrationType = null;\n    this.authorizationCode = null;\n    this.codeVerifier = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.posIntegrationType !== undefined && args.posIntegrationType !== null) {\n        this.posIntegrationType = args.posIntegrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posIntegrationType is unset!');\n      }\n      if (args.authorizationCode !== undefined && args.authorizationCode !== null) {\n        this.authorizationCode = args.authorizationCode;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field authorizationCode is unset!');\n      }\n      if (args.codeVerifier !== undefined && args.codeVerifier !== null) {\n        this.codeVerifier = args.codeVerifier;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.posIntegrationType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.authorizationCode = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.codeVerifier = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AddIntegrationThroughOAuthFlowRequest');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.posIntegrationType !== null && this.posIntegrationType !== undefined) {\n      output.writeFieldBegin('posIntegrationType', Thrift.Type.I32, 3);\n      output.writeI32(this.posIntegrationType);\n      output.writeFieldEnd();\n    }\n    if (this.authorizationCode !== null && this.authorizationCode !== undefined) {\n      output.writeFieldBegin('authorizationCode', Thrift.Type.STRING, 4);\n      output.writeString(this.authorizationCode);\n      output.writeFieldEnd();\n    }\n    if (this.codeVerifier !== null && this.codeVerifier !== undefined) {\n      output.writeFieldBegin('codeVerifier', Thrift.Type.STRING, 5);\n      output.writeString(this.codeVerifier);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst integration_Model_ttypes = require('./integration_Model_types');\nconst integration_Exception_ttypes = require('./integration_Exception_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst NoSuchInventoryCountException = module.exports.NoSuchInventoryCountException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"NoSuchInventoryCountException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('NoSuchInventoryCountException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownInventoryCountIdException = module.exports.UnknownInventoryCountIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownInventoryCountIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownInventoryCountIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownStorageAreaIdException = module.exports.UnknownStorageAreaIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownStorageAreaIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownStorageAreaIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst CurrentInventoryCountAlreadyExistsForLocationException = module.exports.CurrentInventoryCountAlreadyExistsForLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"CurrentInventoryCountAlreadyExistsForLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('CurrentInventoryCountAlreadyExistsForLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountIsDeletedException = module.exports.InventoryCountIsDeletedException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"InventoryCountIsDeletedException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountIsDeletedException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountIsFinalizedException = module.exports.InventoryCountIsFinalizedException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"InventoryCountIsFinalizedException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountIsFinalizedException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LocationIsAlreadyMigratedException = module.exports.LocationIsAlreadyMigratedException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LocationIsAlreadyMigratedException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationIsAlreadyMigratedException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LocationIsInMigrationException = module.exports.LocationIsInMigrationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LocationIsInMigrationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationIsInMigrationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.InventoryCountType = {\n  '0' : 'COMPLETE',\n  'COMPLETE' : 0,\n  '1' : 'PARTIAL',\n  'PARTIAL' : 1\n};\nconst StorageAreaId = module.exports.StorageAreaId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('StorageAreaId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst StorageArea = module.exports.StorageArea = class {\n  constructor(args) {\n    this.name = null;\n    this.note = null;\n    if (args) {\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('StorageArea');\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 1);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 2);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountId = module.exports.InventoryCountId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCount = module.exports.ProductCount = class {\n  constructor(args) {\n    this.count = null;\n    this.productQuantityUnit = null;\n    if (args) {\n      if (args.count !== undefined && args.count !== null) {\n        this.count = new core_math_Model_ttypes.Decimal(args.count);\n      }\n      if (args.productQuantityUnit !== undefined && args.productQuantityUnit !== null) {\n        this.productQuantityUnit = new product_Model_ttypes.ProductQuantityUnit(args.productQuantityUnit);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productQuantityUnit is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.count = new core_math_Model_ttypes.Decimal();\n          this.count.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productQuantityUnit = new product_Model_ttypes.ProductQuantityUnit();\n          this.productQuantityUnit.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCount');\n    if (this.count !== null && this.count !== undefined) {\n      output.writeFieldBegin('count', Thrift.Type.STRUCT, 1);\n      this.count.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productQuantityUnit !== null && this.productQuantityUnit !== undefined) {\n      output.writeFieldBegin('productQuantityUnit', Thrift.Type.STRUCT, 2);\n      this.productQuantityUnit.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst StorageAreaIdAndStorageArea = module.exports.StorageAreaIdAndStorageArea = class {\n  constructor(args) {\n    this.storageAreaId = null;\n    this.storageArea = null;\n    if (args) {\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.storageArea !== undefined && args.storageArea !== null) {\n        this.storageArea = new ttypes.StorageArea(args.storageArea);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageArea is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageArea = new ttypes.StorageArea();\n          this.storageArea.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('StorageAreaIdAndStorageArea');\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 1);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageArea !== null && this.storageArea !== undefined) {\n      output.writeFieldBegin('storageArea', Thrift.Type.STRUCT, 2);\n      this.storageArea.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst StorageAreaIdAndSortedProductIdList = module.exports.StorageAreaIdAndSortedProductIdList = class {\n  constructor(args) {\n    this.storageAreaId = null;\n    this.sortedProductIdList = null;\n    if (args) {\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.sortedProductIdList !== undefined && args.sortedProductIdList !== null) {\n        this.sortedProductIdList = Thrift.copyList(args.sortedProductIdList, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sortedProductIdList is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.sortedProductIdList = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductId();\n            elem3.read(input);\n            this.sortedProductIdList.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('StorageAreaIdAndSortedProductIdList');\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 1);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sortedProductIdList !== null && this.sortedProductIdList !== undefined) {\n      output.writeFieldBegin('sortedProductIdList', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.sortedProductIdList.length);\n      for (let iter4 in this.sortedProductIdList) {\n        if (this.sortedProductIdList.hasOwnProperty(iter4)) {\n          iter4 = this.sortedProductIdList[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCountEvent = module.exports.ProductCountEvent = class {\n  constructor(args) {\n    this.productCounts = null;\n    this.metadata = null;\n    if (args) {\n      if (args.productCounts !== undefined && args.productCounts !== null) {\n        this.productCounts = Thrift.copyList(args.productCounts, [ttypes.ProductCount]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCounts is unset!');\n      }\n      if (args.metadata !== undefined && args.metadata !== null) {\n        this.metadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.metadata);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field metadata is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.productCounts = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new ttypes.ProductCount();\n            elem8.read(input);\n            this.productCounts.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.metadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.metadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCountEvent');\n    if (this.productCounts !== null && this.productCounts !== undefined) {\n      output.writeFieldBegin('productCounts', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productCounts.length);\n      for (let iter9 in this.productCounts) {\n        if (this.productCounts.hasOwnProperty(iter9)) {\n          iter9 = this.productCounts[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.metadata !== null && this.metadata !== undefined) {\n      output.writeFieldBegin('metadata', Thrift.Type.STRUCT, 2);\n      this.metadata.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCountEventNew = module.exports.ProductCountEventNew = class {\n  constructor(args) {\n    this.productCounts = null;\n    this.metadata = null;\n    if (args) {\n      if (args.productCounts !== undefined && args.productCounts !== null) {\n        this.productCounts = Thrift.copyList(args.productCounts, [ttypes.ProductCount]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCounts is unset!');\n      }\n      if (args.metadata !== undefined && args.metadata !== null) {\n        this.metadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.metadata);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field metadata is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.productCounts = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new ttypes.ProductCount();\n            elem13.read(input);\n            this.productCounts.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.metadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.metadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCountEventNew');\n    if (this.productCounts !== null && this.productCounts !== undefined) {\n      output.writeFieldBegin('productCounts', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productCounts.length);\n      for (let iter14 in this.productCounts) {\n        if (this.productCounts.hasOwnProperty(iter14)) {\n          iter14 = this.productCounts[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.metadata !== null && this.metadata !== undefined) {\n      output.writeFieldBegin('metadata', Thrift.Type.STRUCT, 2);\n      this.metadata.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst StorageAreaIdAndProductIdAndCountEvent = module.exports.StorageAreaIdAndProductIdAndCountEvent = class {\n  constructor(args) {\n    this.storageAreaId = null;\n    this.productId = null;\n    this.productCountEvent = null;\n    if (args) {\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productCountEvent !== undefined && args.productCountEvent !== null) {\n        this.productCountEvent = new ttypes.ProductCountEvent(args.productCountEvent);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCountEvent is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productCountEvent = new ttypes.ProductCountEvent();\n          this.productCountEvent.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('StorageAreaIdAndProductIdAndCountEvent');\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 1);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCountEvent !== null && this.productCountEvent !== undefined) {\n      output.writeFieldBegin('productCountEvent', Thrift.Type.STRUCT, 3);\n      this.productCountEvent.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountMetadata = module.exports.InventoryCountMetadata = class {\n  constructor(args) {\n    this.inventoryCountTime = null;\n    this.inventoryCountType = null;\n    this.creationMetadata = null;\n    this.finalizationMetadata = null;\n    this.deletionMetadata = null;\n    this.name = null;\n    this.note = null;\n    this.locationId = null;\n    if (args) {\n      if (args.inventoryCountTime !== undefined && args.inventoryCountTime !== null) {\n        this.inventoryCountTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.inventoryCountTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountTime is unset!');\n      }\n      if (args.inventoryCountType !== undefined && args.inventoryCountType !== null) {\n        this.inventoryCountType = args.inventoryCountType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountType is unset!');\n      }\n      if (args.creationMetadata !== undefined && args.creationMetadata !== null) {\n        this.creationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.creationMetadata);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field creationMetadata is unset!');\n      }\n      if (args.finalizationMetadata !== undefined && args.finalizationMetadata !== null) {\n        this.finalizationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.finalizationMetadata);\n      }\n      if (args.deletionMetadata !== undefined && args.deletionMetadata !== null) {\n        this.deletionMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.deletionMetadata);\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.inventoryCountTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.inventoryCountType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.creationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.creationMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.finalizationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.finalizationMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.deletionMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.deletionMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountMetadata');\n    if (this.inventoryCountTime !== null && this.inventoryCountTime !== undefined) {\n      output.writeFieldBegin('inventoryCountTime', Thrift.Type.STRUCT, 1);\n      this.inventoryCountTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountType !== null && this.inventoryCountType !== undefined) {\n      output.writeFieldBegin('inventoryCountType', Thrift.Type.I32, 2);\n      output.writeI32(this.inventoryCountType);\n      output.writeFieldEnd();\n    }\n    if (this.creationMetadata !== null && this.creationMetadata !== undefined) {\n      output.writeFieldBegin('creationMetadata', Thrift.Type.STRUCT, 3);\n      this.creationMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.finalizationMetadata !== null && this.finalizationMetadata !== undefined) {\n      output.writeFieldBegin('finalizationMetadata', Thrift.Type.STRUCT, 4);\n      this.finalizationMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.deletionMetadata !== null && this.deletionMetadata !== undefined) {\n      output.writeFieldBegin('deletionMetadata', Thrift.Type.STRUCT, 5);\n      this.deletionMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 6);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 7);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 8);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountIdAndMetadata = module.exports.InventoryCountIdAndMetadata = class {\n  constructor(args) {\n    this.inventoryCountId = null;\n    this.inventoryMetadata = null;\n    if (args) {\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.inventoryMetadata !== undefined && args.inventoryMetadata !== null) {\n        this.inventoryMetadata = new ttypes.InventoryCountMetadata(args.inventoryMetadata);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryMetadata is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryMetadata = new ttypes.InventoryCountMetadata();\n          this.inventoryMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountIdAndMetadata');\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 1);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryMetadata !== null && this.inventoryMetadata !== undefined) {\n      output.writeFieldBegin('inventoryMetadata', Thrift.Type.STRUCT, 2);\n      this.inventoryMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryConfiguration = module.exports.InventoryConfiguration = class {\n  constructor(args) {\n    this.sortedStorageAreaIds = null;\n    this.storageAreasById = null;\n    this.sortedProductIdListsByStorageAreaId = null;\n    if (args) {\n      if (args.sortedStorageAreaIds !== undefined && args.sortedStorageAreaIds !== null) {\n        this.sortedStorageAreaIds = Thrift.copyList(args.sortedStorageAreaIds, [ttypes.StorageAreaId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sortedStorageAreaIds is unset!');\n      }\n      if (args.storageAreasById !== undefined && args.storageAreasById !== null) {\n        this.storageAreasById = Thrift.copyList(args.storageAreasById, [ttypes.StorageAreaIdAndStorageArea]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreasById is unset!');\n      }\n      if (args.sortedProductIdListsByStorageAreaId !== undefined && args.sortedProductIdListsByStorageAreaId !== null) {\n        this.sortedProductIdListsByStorageAreaId = Thrift.copyList(args.sortedProductIdListsByStorageAreaId, [ttypes.StorageAreaIdAndSortedProductIdList]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sortedProductIdListsByStorageAreaId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.sortedStorageAreaIds = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new ttypes.StorageAreaId();\n            elem18.read(input);\n            this.sortedStorageAreaIds.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.storageAreasById = [];\n          const _rtmp320 = input.readListBegin();\n          const _size19 = _rtmp320.size || 0;\n          for (let _i21 = 0; _i21 < _size19; ++_i21) {\n            let elem22 = null;\n            elem22 = new ttypes.StorageAreaIdAndStorageArea();\n            elem22.read(input);\n            this.storageAreasById.push(elem22);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.sortedProductIdListsByStorageAreaId = [];\n          const _rtmp324 = input.readListBegin();\n          const _size23 = _rtmp324.size || 0;\n          for (let _i25 = 0; _i25 < _size23; ++_i25) {\n            let elem26 = null;\n            elem26 = new ttypes.StorageAreaIdAndSortedProductIdList();\n            elem26.read(input);\n            this.sortedProductIdListsByStorageAreaId.push(elem26);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryConfiguration');\n    if (this.sortedStorageAreaIds !== null && this.sortedStorageAreaIds !== undefined) {\n      output.writeFieldBegin('sortedStorageAreaIds', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.sortedStorageAreaIds.length);\n      for (let iter27 in this.sortedStorageAreaIds) {\n        if (this.sortedStorageAreaIds.hasOwnProperty(iter27)) {\n          iter27 = this.sortedStorageAreaIds[iter27];\n          iter27.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.storageAreasById !== null && this.storageAreasById !== undefined) {\n      output.writeFieldBegin('storageAreasById', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.storageAreasById.length);\n      for (let iter28 in this.storageAreasById) {\n        if (this.storageAreasById.hasOwnProperty(iter28)) {\n          iter28 = this.storageAreasById[iter28];\n          iter28.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.sortedProductIdListsByStorageAreaId !== null && this.sortedProductIdListsByStorageAreaId !== undefined) {\n      output.writeFieldBegin('sortedProductIdListsByStorageAreaId', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.sortedProductIdListsByStorageAreaId.length);\n      for (let iter29 in this.sortedProductIdListsByStorageAreaId) {\n        if (this.sortedProductIdListsByStorageAreaId.hasOwnProperty(iter29)) {\n          iter29 = this.sortedProductIdListsByStorageAreaId[iter29];\n          iter29.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCount = module.exports.InventoryCount = class {\n  constructor(args) {\n    this.inventoryConfiguration = null;\n    this.productCountEventsByProductIdByStorageAreaId = null;\n    if (args) {\n      if (args.inventoryConfiguration !== undefined && args.inventoryConfiguration !== null) {\n        this.inventoryConfiguration = new ttypes.InventoryConfiguration(args.inventoryConfiguration);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryConfiguration is unset!');\n      }\n      if (args.productCountEventsByProductIdByStorageAreaId !== undefined && args.productCountEventsByProductIdByStorageAreaId !== null) {\n        this.productCountEventsByProductIdByStorageAreaId = Thrift.copyList(args.productCountEventsByProductIdByStorageAreaId, [ttypes.StorageAreaIdAndProductIdAndCountEvent]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCountEventsByProductIdByStorageAreaId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryConfiguration = new ttypes.InventoryConfiguration();\n          this.inventoryConfiguration.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productCountEventsByProductIdByStorageAreaId = [];\n          const _rtmp331 = input.readListBegin();\n          const _size30 = _rtmp331.size || 0;\n          for (let _i32 = 0; _i32 < _size30; ++_i32) {\n            let elem33 = null;\n            elem33 = new ttypes.StorageAreaIdAndProductIdAndCountEvent();\n            elem33.read(input);\n            this.productCountEventsByProductIdByStorageAreaId.push(elem33);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCount');\n    if (this.inventoryConfiguration !== null && this.inventoryConfiguration !== undefined) {\n      output.writeFieldBegin('inventoryConfiguration', Thrift.Type.STRUCT, 1);\n      this.inventoryConfiguration.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCountEventsByProductIdByStorageAreaId !== null && this.productCountEventsByProductIdByStorageAreaId !== undefined) {\n      output.writeFieldBegin('productCountEventsByProductIdByStorageAreaId', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productCountEventsByProductIdByStorageAreaId.length);\n      for (let iter34 in this.productCountEventsByProductIdByStorageAreaId) {\n        if (this.productCountEventsByProductIdByStorageAreaId.hasOwnProperty(iter34)) {\n          iter34 = this.productCountEventsByProductIdByStorageAreaId[iter34];\n          iter34.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryCountIdAndInventoryCount = module.exports.InventoryCountIdAndInventoryCount = class {\n  constructor(args) {\n    this.inventoryCountId = null;\n    this.inventoryCount = null;\n    if (args) {\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.inventoryCount !== undefined && args.inventoryCount !== null) {\n        this.inventoryCount = new ttypes.InventoryCount(args.inventoryCount);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCount is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCount = new ttypes.InventoryCount();\n          this.inventoryCount.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryCountIdAndInventoryCount');\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 1);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCount !== null && this.inventoryCount !== undefined) {\n      output.writeFieldBegin('inventoryCount', Thrift.Type.STRUCT, 2);\n      this.inventoryCount.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst FinalizedInventoryAdjustmentEvent = module.exports.FinalizedInventoryAdjustmentEvent = class {\n  constructor(args) {\n    this.inventoryCountId = null;\n    this.storageAreaId = null;\n    this.productId = null;\n    this.inventoryDate = null;\n    this.newProductCount = null;\n    this.oldProductCount = null;\n    this.productCost = null;\n    if (args) {\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.inventoryDate !== undefined && args.inventoryDate !== null) {\n        this.inventoryDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.inventoryDate);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryDate is unset!');\n      }\n      if (args.newProductCount !== undefined && args.newProductCount !== null) {\n        this.newProductCount = new ttypes.ProductCountEvent(args.newProductCount);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field newProductCount is unset!');\n      }\n      if (args.oldProductCount !== undefined && args.oldProductCount !== null) {\n        this.oldProductCount = new ttypes.ProductCountEvent(args.oldProductCount);\n      }\n      if (args.productCost !== undefined && args.productCost !== null) {\n        this.productCost = new product_Model_ttypes.ProductCost(args.productCost);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCost is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.inventoryDate.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.newProductCount = new ttypes.ProductCountEvent();\n          this.newProductCount.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.oldProductCount = new ttypes.ProductCountEvent();\n          this.oldProductCount.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productCost = new product_Model_ttypes.ProductCost();\n          this.productCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('FinalizedInventoryAdjustmentEvent');\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 1);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 2);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 3);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryDate !== null && this.inventoryDate !== undefined) {\n      output.writeFieldBegin('inventoryDate', Thrift.Type.STRUCT, 4);\n      this.inventoryDate.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.newProductCount !== null && this.newProductCount !== undefined) {\n      output.writeFieldBegin('newProductCount', Thrift.Type.STRUCT, 5);\n      this.newProductCount.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.oldProductCount !== null && this.oldProductCount !== undefined) {\n      output.writeFieldBegin('oldProductCount', Thrift.Type.STRUCT, 6);\n      this.oldProductCount.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCost !== null && this.productCost !== undefined) {\n      output.writeFieldBegin('productCost', Thrift.Type.STRUCT, 7);\n      this.productCost.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SetStorageAreaIndexAfterRequest = module.exports.SetStorageAreaIndexAfterRequest = class {\n  constructor(args) {\n    this.actor = null;\n    this.storageAreaId = null;\n    this.storageAreaIdPreceeding = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.storageAreaIdPreceeding !== undefined && args.storageAreaIdPreceeding !== null) {\n        this.storageAreaIdPreceeding = new ttypes.StorageAreaId(args.storageAreaIdPreceeding);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaIdPreceeding = new ttypes.StorageAreaId();\n          this.storageAreaIdPreceeding.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SetStorageAreaIndexAfterRequest');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 2);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaIdPreceeding !== null && this.storageAreaIdPreceeding !== undefined) {\n      output.writeFieldBegin('storageAreaIdPreceeding', Thrift.Type.STRUCT, 3);\n      this.storageAreaIdPreceeding.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SetProductAtStorageAreaIndexAfterRequest = module.exports.SetProductAtStorageAreaIndexAfterRequest = class {\n  constructor(args) {\n    this.actor = null;\n    this.productId = null;\n    this.productIdPreceeding = null;\n    this.storageAreaId = null;\n    this.inventoryCountId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productIdPreceeding !== undefined && args.productIdPreceeding !== null) {\n        this.productIdPreceeding = new product_Model_ttypes.ProductId(args.productIdPreceeding);\n      }\n      if (args.storageAreaId !== undefined && args.storageAreaId !== null) {\n        this.storageAreaId = new ttypes.StorageAreaId(args.storageAreaId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field storageAreaId is unset!');\n      }\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productIdPreceeding = new product_Model_ttypes.ProductId();\n          this.productIdPreceeding.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.storageAreaId = new ttypes.StorageAreaId();\n          this.storageAreaId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SetProductAtStorageAreaIndexAfterRequest');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productIdPreceeding !== null && this.productIdPreceeding !== undefined) {\n      output.writeFieldBegin('productIdPreceeding', Thrift.Type.STRUCT, 3);\n      this.productIdPreceeding.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.storageAreaId !== null && this.storageAreaId !== undefined) {\n      output.writeFieldBegin('storageAreaId', Thrift.Type.STRUCT, 4);\n      this.storageAreaId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 5);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst inventory_Exceptions_ttypes = require('./inventory_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst inventory_Exceptions_ttypes = require('./inventory_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst product_Model_ttypes = require('./product_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst UnknownReportIdentifierException = module.exports.UnknownReportIdentifierException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownReportIdentifierException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownReportIdentifierException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PerspectiveLocationCannotEqualPartnerLocationException = module.exports.PerspectiveLocationCannotEqualPartnerLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PerspectiveLocationCannotEqualPartnerLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PerspectiveLocationCannotEqualPartnerLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InvalidatedTransferMapping = module.exports.InvalidatedTransferMapping = class {\n  constructor(args) {\n    this.sourceProductId = null;\n    this.deletedTargetProductId = null;\n    if (args) {\n      if (args.sourceProductId !== undefined && args.sourceProductId !== null) {\n        this.sourceProductId = new product_Model_ttypes.ProductId(args.sourceProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceProductId is unset!');\n      }\n      if (args.deletedTargetProductId !== undefined && args.deletedTargetProductId !== null) {\n        this.deletedTargetProductId = new product_Model_ttypes.ProductId(args.deletedTargetProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field deletedTargetProductId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceProductId = new product_Model_ttypes.ProductId();\n          this.sourceProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.deletedTargetProductId = new product_Model_ttypes.ProductId();\n          this.deletedTargetProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InvalidatedTransferMapping');\n    if (this.sourceProductId !== null && this.sourceProductId !== undefined) {\n      output.writeFieldBegin('sourceProductId', Thrift.Type.STRUCT, 1);\n      this.sourceProductId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.deletedTargetProductId !== null && this.deletedTargetProductId !== undefined) {\n      output.writeFieldBegin('deletedTargetProductId', Thrift.Type.STRUCT, 2);\n      this.deletedTargetProductId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductsHaveNoMappingAtPartnerLocationException = module.exports.ProductsHaveNoMappingAtPartnerLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ProductsHaveNoMappingAtPartnerLocationException\";\n    this.unmappedProducts = null;\n    this.invalidatedMappings = null;\n    if (args) {\n      if (args.unmappedProducts !== undefined && args.unmappedProducts !== null) {\n        this.unmappedProducts = Thrift.copyList(args.unmappedProducts, [product_Model_ttypes.ProductId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field unmappedProducts is unset!');\n      }\n      if (args.invalidatedMappings !== undefined && args.invalidatedMappings !== null) {\n        this.invalidatedMappings = Thrift.copyList(args.invalidatedMappings, [ttypes.InvalidatedTransferMapping]);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.unmappedProducts = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductId();\n            elem3.read(input);\n            this.unmappedProducts.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.invalidatedMappings = [];\n          const _rtmp35 = input.readListBegin();\n          const _size4 = _rtmp35.size || 0;\n          for (let _i6 = 0; _i6 < _size4; ++_i6) {\n            let elem7 = null;\n            elem7 = new ttypes.InvalidatedTransferMapping();\n            elem7.read(input);\n            this.invalidatedMappings.push(elem7);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductsHaveNoMappingAtPartnerLocationException');\n    if (this.unmappedProducts !== null && this.unmappedProducts !== undefined) {\n      output.writeFieldBegin('unmappedProducts', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.unmappedProducts.length);\n      for (let iter8 in this.unmappedProducts) {\n        if (this.unmappedProducts.hasOwnProperty(iter8)) {\n          iter8 = this.unmappedProducts[iter8];\n          iter8.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.invalidatedMappings !== null && this.invalidatedMappings !== undefined) {\n      output.writeFieldBegin('invalidatedMappings', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.invalidatedMappings.length);\n      for (let iter9 in this.invalidatedMappings) {\n        if (this.invalidatedMappings.hasOwnProperty(iter9)) {\n          iter9 = this.invalidatedMappings[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownPartnerLocationException = module.exports.UnknownPartnerLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownPartnerLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownPartnerLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PeriodStartIsLaterThanEndException = module.exports.PeriodStartIsLaterThanEndException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PeriodStartIsLaterThanEndException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PeriodStartIsLaterThanEndException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PerspectiveLocationNotInvolvedInReportException = module.exports.PerspectiveLocationNotInvolvedInReportException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PerspectiveLocationNotInvolvedInReportException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PerspectiveLocationNotInvolvedInReportException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ActorDoesNotHaveAccessToReportException = module.exports.ActorDoesNotHaveAccessToReportException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ActorDoesNotHaveAccessToReportException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ActorDoesNotHaveAccessToReportException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AtMostOneQuantityIsAllowedForProductAndUnitException = module.exports.AtMostOneQuantityIsAllowedForProductAndUnitException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"AtMostOneQuantityIsAllowedForProductAndUnitException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AtMostOneQuantityIsAllowedForProductAndUnitException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst TransferHasRetailerPartnerLocationException = module.exports.TransferHasRetailerPartnerLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"TransferHasRetailerPartnerLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('TransferHasRetailerPartnerLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst money_Model_ttypes = require('./money_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.TransferDirection = {\n  '0' : 'FROM_PARTNER_TO_PERSPECTIVE_LOCATION',\n  'FROM_PARTNER_TO_PERSPECTIVE_LOCATION' : 0,\n  '1' : 'FROM_PERSPECTIVE_TO_PARTNER_LOCATION',\n  'FROM_PERSPECTIVE_TO_PARTNER_LOCATION' : 1\n};\nconst InventoryTransferReportIdentifier = module.exports.InventoryTransferReportIdentifier = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportIdentifier');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportInfo = module.exports.InventoryTransferReportInfo = class {\n  constructor(args) {\n    this.perspectiveLocation = null;\n    this.productAmounts = null;\n    this.partnerLocation = null;\n    this.customPartnerLocationName = null;\n    this.direction = null;\n    this.transferTime = null;\n    this.note = null;\n    this.requestedByUser = null;\n    this.requestedTime = null;\n    this.sentByUser = null;\n    this.sentTime = null;\n    this.receivedByUser = null;\n    this.receivedTime = null;\n    this.cancelledByUser = null;\n    this.cancellationTime = null;\n    this.cancellationReason = null;\n    if (args) {\n      if (args.perspectiveLocation !== undefined && args.perspectiveLocation !== null) {\n        this.perspectiveLocation = new location_Model_ttypes.LocationIdentifier(args.perspectiveLocation);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field perspectiveLocation is unset!');\n      }\n      if (args.productAmounts !== undefined && args.productAmounts !== null) {\n        this.productAmounts = Thrift.copyList(args.productAmounts, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productAmounts is unset!');\n      }\n      if (args.partnerLocation !== undefined && args.partnerLocation !== null) {\n        this.partnerLocation = new location_Model_ttypes.LocationIdentifier(args.partnerLocation);\n      }\n      if (args.customPartnerLocationName !== undefined && args.customPartnerLocationName !== null) {\n        this.customPartnerLocationName = args.customPartnerLocationName;\n      }\n      if (args.direction !== undefined && args.direction !== null) {\n        this.direction = args.direction;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field direction is unset!');\n      }\n      if (args.transferTime !== undefined && args.transferTime !== null) {\n        this.transferTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.transferTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field transferTime is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n      if (args.requestedByUser !== undefined && args.requestedByUser !== null) {\n        this.requestedByUser = new accounts_user_Model_ttypes.UserAccountIdentifier(args.requestedByUser);\n      }\n      if (args.requestedTime !== undefined && args.requestedTime !== null) {\n        this.requestedTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.requestedTime);\n      }\n      if (args.sentByUser !== undefined && args.sentByUser !== null) {\n        this.sentByUser = new accounts_user_Model_ttypes.UserAccountIdentifier(args.sentByUser);\n      }\n      if (args.sentTime !== undefined && args.sentTime !== null) {\n        this.sentTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.sentTime);\n      }\n      if (args.receivedByUser !== undefined && args.receivedByUser !== null) {\n        this.receivedByUser = new accounts_user_Model_ttypes.UserAccountIdentifier(args.receivedByUser);\n      }\n      if (args.receivedTime !== undefined && args.receivedTime !== null) {\n        this.receivedTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.receivedTime);\n      }\n      if (args.cancelledByUser !== undefined && args.cancelledByUser !== null) {\n        this.cancelledByUser = new accounts_user_Model_ttypes.UserAccountIdentifier(args.cancelledByUser);\n      }\n      if (args.cancellationTime !== undefined && args.cancellationTime !== null) {\n        this.cancellationTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.cancellationTime);\n      }\n      if (args.cancellationReason !== undefined && args.cancellationReason !== null) {\n        this.cancellationReason = args.cancellationReason;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.perspectiveLocation = new location_Model_ttypes.LocationIdentifier();\n          this.perspectiveLocation.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productAmounts = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem3.read(input);\n            this.productAmounts.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.partnerLocation = new location_Model_ttypes.LocationIdentifier();\n          this.partnerLocation.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.customPartnerLocationName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.I32) {\n          this.direction = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.transferTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.transferTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.requestedByUser = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.requestedByUser.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.requestedTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.requestedTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sentByUser = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.sentByUser.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 11:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sentTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.sentTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 12:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.receivedByUser = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.receivedByUser.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 13:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.receivedTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.receivedTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 14:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.cancelledByUser = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.cancelledByUser.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 15:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.cancellationTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.cancellationTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 16:\n        if (ftype == Thrift.Type.STRING) {\n          this.cancellationReason = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportInfo');\n    if (this.perspectiveLocation !== null && this.perspectiveLocation !== undefined) {\n      output.writeFieldBegin('perspectiveLocation', Thrift.Type.STRUCT, 1);\n      this.perspectiveLocation.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productAmounts !== null && this.productAmounts !== undefined) {\n      output.writeFieldBegin('productAmounts', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productAmounts.length);\n      for (let iter4 in this.productAmounts) {\n        if (this.productAmounts.hasOwnProperty(iter4)) {\n          iter4 = this.productAmounts[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.partnerLocation !== null && this.partnerLocation !== undefined) {\n      output.writeFieldBegin('partnerLocation', Thrift.Type.STRUCT, 3);\n      this.partnerLocation.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.customPartnerLocationName !== null && this.customPartnerLocationName !== undefined) {\n      output.writeFieldBegin('customPartnerLocationName', Thrift.Type.STRING, 4);\n      output.writeString(this.customPartnerLocationName);\n      output.writeFieldEnd();\n    }\n    if (this.direction !== null && this.direction !== undefined) {\n      output.writeFieldBegin('direction', Thrift.Type.I32, 5);\n      output.writeI32(this.direction);\n      output.writeFieldEnd();\n    }\n    if (this.transferTime !== null && this.transferTime !== undefined) {\n      output.writeFieldBegin('transferTime', Thrift.Type.STRUCT, 6);\n      this.transferTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 7);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    if (this.requestedByUser !== null && this.requestedByUser !== undefined) {\n      output.writeFieldBegin('requestedByUser', Thrift.Type.STRUCT, 8);\n      this.requestedByUser.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.requestedTime !== null && this.requestedTime !== undefined) {\n      output.writeFieldBegin('requestedTime', Thrift.Type.STRUCT, 9);\n      this.requestedTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sentByUser !== null && this.sentByUser !== undefined) {\n      output.writeFieldBegin('sentByUser', Thrift.Type.STRUCT, 10);\n      this.sentByUser.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sentTime !== null && this.sentTime !== undefined) {\n      output.writeFieldBegin('sentTime', Thrift.Type.STRUCT, 11);\n      this.sentTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.receivedByUser !== null && this.receivedByUser !== undefined) {\n      output.writeFieldBegin('receivedByUser', Thrift.Type.STRUCT, 12);\n      this.receivedByUser.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.receivedTime !== null && this.receivedTime !== undefined) {\n      output.writeFieldBegin('receivedTime', Thrift.Type.STRUCT, 13);\n      this.receivedTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.cancelledByUser !== null && this.cancelledByUser !== undefined) {\n      output.writeFieldBegin('cancelledByUser', Thrift.Type.STRUCT, 14);\n      this.cancelledByUser.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.cancellationTime !== null && this.cancellationTime !== undefined) {\n      output.writeFieldBegin('cancellationTime', Thrift.Type.STRUCT, 15);\n      this.cancellationTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.cancellationReason !== null && this.cancellationReason !== undefined) {\n      output.writeFieldBegin('cancellationReason', Thrift.Type.STRING, 16);\n      output.writeString(this.cancellationReason);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ReportMetaData = module.exports.ReportMetaData = class {\n  constructor(args) {\n    this.creator = null;\n    this.creationTime = null;\n    this.lastUpdater = null;\n    this.lastUpdateTime = null;\n    this.perspectiveIsOriginator = null;\n    if (args) {\n      if (args.creator !== undefined && args.creator !== null) {\n        this.creator = new accounts_user_Model_ttypes.UserAccountIdentifier(args.creator);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field creator is unset!');\n      }\n      if (args.creationTime !== undefined && args.creationTime !== null) {\n        this.creationTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.creationTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field creationTime is unset!');\n      }\n      if (args.lastUpdater !== undefined && args.lastUpdater !== null) {\n        this.lastUpdater = new accounts_user_Model_ttypes.UserAccountIdentifier(args.lastUpdater);\n      }\n      if (args.lastUpdateTime !== undefined && args.lastUpdateTime !== null) {\n        this.lastUpdateTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.lastUpdateTime);\n      }\n      if (args.perspectiveIsOriginator !== undefined && args.perspectiveIsOriginator !== null) {\n        this.perspectiveIsOriginator = args.perspectiveIsOriginator;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field perspectiveIsOriginator is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.creator = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.creator.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.creationTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.creationTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.lastUpdater = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.lastUpdater.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.lastUpdateTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.lastUpdateTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.BOOL) {\n          this.perspectiveIsOriginator = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ReportMetaData');\n    if (this.creator !== null && this.creator !== undefined) {\n      output.writeFieldBegin('creator', Thrift.Type.STRUCT, 1);\n      this.creator.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.creationTime !== null && this.creationTime !== undefined) {\n      output.writeFieldBegin('creationTime', Thrift.Type.STRUCT, 2);\n      this.creationTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.lastUpdater !== null && this.lastUpdater !== undefined) {\n      output.writeFieldBegin('lastUpdater', Thrift.Type.STRUCT, 3);\n      this.lastUpdater.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.lastUpdateTime !== null && this.lastUpdateTime !== undefined) {\n      output.writeFieldBegin('lastUpdateTime', Thrift.Type.STRUCT, 4);\n      this.lastUpdateTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.perspectiveIsOriginator !== null && this.perspectiveIsOriginator !== undefined) {\n      output.writeFieldBegin('perspectiveIsOriginator', Thrift.Type.BOOL, 5);\n      output.writeBool(this.perspectiveIsOriginator);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportAndMetadataWithoutCost = module.exports.InventoryTransferReportAndMetadataWithoutCost = class {\n  constructor(args) {\n    this.data = null;\n    this.metaData = null;\n    if (args) {\n      if (args.data !== undefined && args.data !== null) {\n        this.data = new ttypes.InventoryTransferReportInfo(args.data);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field data is unset!');\n      }\n      if (args.metaData !== undefined && args.metaData !== null) {\n        this.metaData = new ttypes.ReportMetaData(args.metaData);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field metaData is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.data = new ttypes.InventoryTransferReportInfo();\n          this.data.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.metaData = new ttypes.ReportMetaData();\n          this.metaData.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportAndMetadataWithoutCost');\n    if (this.data !== null && this.data !== undefined) {\n      output.writeFieldBegin('data', Thrift.Type.STRUCT, 1);\n      this.data.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.metaData !== null && this.metaData !== undefined) {\n      output.writeFieldBegin('metaData', Thrift.Type.STRUCT, 2);\n      this.metaData.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InventoryTransferReportAndMetadata = module.exports.InventoryTransferReportAndMetadata = class {\n  constructor(args) {\n    this.data = null;\n    this.metaData = null;\n    this.productCostsByProductId = null;\n    if (args) {\n      if (args.data !== undefined && args.data !== null) {\n        this.data = new ttypes.InventoryTransferReportInfo(args.data);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field data is unset!');\n      }\n      if (args.metaData !== undefined && args.metaData !== null) {\n        this.metaData = new ttypes.ReportMetaData(args.metaData);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field metaData is unset!');\n      }\n      if (args.productCostsByProductId !== undefined && args.productCostsByProductId !== null) {\n        this.productCostsByProductId = Thrift.copyList(args.productCostsByProductId, [product_Model_ttypes.ProductIdAndCost]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCostsByProductId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.data = new ttypes.InventoryTransferReportInfo();\n          this.data.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.metaData = new ttypes.ReportMetaData();\n          this.metaData.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.productCostsByProductId = [];\n          const _rtmp36 = input.readListBegin();\n          const _size5 = _rtmp36.size || 0;\n          for (let _i7 = 0; _i7 < _size5; ++_i7) {\n            let elem8 = null;\n            elem8 = new product_Model_ttypes.ProductIdAndCost();\n            elem8.read(input);\n            this.productCostsByProductId.push(elem8);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryTransferReportAndMetadata');\n    if (this.data !== null && this.data !== undefined) {\n      output.writeFieldBegin('data', Thrift.Type.STRUCT, 1);\n      this.data.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.metaData !== null && this.metaData !== undefined) {\n      output.writeFieldBegin('metaData', Thrift.Type.STRUCT, 2);\n      this.metaData.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCostsByProductId !== null && this.productCostsByProductId !== undefined) {\n      output.writeFieldBegin('productCostsByProductId', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productCostsByProductId.length);\n      for (let iter9 in this.productCostsByProductId) {\n        if (this.productCostsByProductId.hasOwnProperty(iter9)) {\n          iter9 = this.productCostsByProductId[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportIdentifier = module.exports.BreakageReportIdentifier = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportIdentifier');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportInfo = module.exports.BreakageReportInfo = class {\n  constructor(args) {\n    this.perspectiveLocation = null;\n    this.productAmounts = null;\n    this.breakageTime = null;\n    this.note = null;\n    this.type = null;\n    if (args) {\n      if (args.perspectiveLocation !== undefined && args.perspectiveLocation !== null) {\n        this.perspectiveLocation = new location_Model_ttypes.LocationIdentifier(args.perspectiveLocation);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field perspectiveLocation is unset!');\n      }\n      if (args.productAmounts !== undefined && args.productAmounts !== null) {\n        this.productAmounts = Thrift.copyList(args.productAmounts, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productAmounts is unset!');\n      }\n      if (args.breakageTime !== undefined && args.breakageTime !== null) {\n        this.breakageTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.breakageTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field breakageTime is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n      if (args.type !== undefined && args.type !== null) {\n        this.type = args.type;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.perspectiveLocation = new location_Model_ttypes.LocationIdentifier();\n          this.perspectiveLocation.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.productAmounts = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem13.read(input);\n            this.productAmounts.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.breakageTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.breakageTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.type = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportInfo');\n    if (this.perspectiveLocation !== null && this.perspectiveLocation !== undefined) {\n      output.writeFieldBegin('perspectiveLocation', Thrift.Type.STRUCT, 1);\n      this.perspectiveLocation.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productAmounts !== null && this.productAmounts !== undefined) {\n      output.writeFieldBegin('productAmounts', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productAmounts.length);\n      for (let iter14 in this.productAmounts) {\n        if (this.productAmounts.hasOwnProperty(iter14)) {\n          iter14 = this.productAmounts[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.breakageTime !== null && this.breakageTime !== undefined) {\n      output.writeFieldBegin('breakageTime', Thrift.Type.STRUCT, 3);\n      this.breakageTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 4);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    if (this.type !== null && this.type !== undefined) {\n      output.writeFieldBegin('type', Thrift.Type.STRING, 5);\n      output.writeString(this.type);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportAndMetadata = module.exports.BreakageReportAndMetadata = class {\n  constructor(args) {\n    this.data = null;\n    this.metaData = null;\n    if (args) {\n      if (args.data !== undefined && args.data !== null) {\n        this.data = new ttypes.BreakageReportInfo(args.data);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field data is unset!');\n      }\n      if (args.metaData !== undefined && args.metaData !== null) {\n        this.metaData = new ttypes.ReportMetaData(args.metaData);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field metaData is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.data = new ttypes.BreakageReportInfo();\n          this.data.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.metaData = new ttypes.ReportMetaData();\n          this.metaData.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportAndMetadata');\n    if (this.data !== null && this.data !== undefined) {\n      output.writeFieldBegin('data', Thrift.Type.STRUCT, 1);\n      this.data.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.metaData !== null && this.metaData !== undefined) {\n      output.writeFieldBegin('metaData', Thrift.Type.STRUCT, 2);\n      this.metaData.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BreakageReportUpdate = module.exports.BreakageReportUpdate = class {\n  constructor(args) {\n    this.productAmountUpdates = null;\n    this.newReportTime = null;\n    this.newNote = null;\n    if (args) {\n      if (args.productAmountUpdates !== undefined && args.productAmountUpdates !== null) {\n        this.productAmountUpdates = Thrift.copyList(args.productAmountUpdates, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productAmountUpdates is unset!');\n      }\n      if (args.newReportTime !== undefined && args.newReportTime !== null) {\n        this.newReportTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.newReportTime);\n      }\n      if (args.newNote !== undefined && args.newNote !== null) {\n        this.newNote = args.newNote;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.productAmountUpdates = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem18.read(input);\n            this.productAmountUpdates.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.newReportTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.newReportTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.newNote = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BreakageReportUpdate');\n    if (this.productAmountUpdates !== null && this.productAmountUpdates !== undefined) {\n      output.writeFieldBegin('productAmountUpdates', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.productAmountUpdates.length);\n      for (let iter19 in this.productAmountUpdates) {\n        if (this.productAmountUpdates.hasOwnProperty(iter19)) {\n          iter19 = this.productAmountUpdates[iter19];\n          iter19.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.newReportTime !== null && this.newReportTime !== undefined) {\n      output.writeFieldBegin('newReportTime', Thrift.Type.STRUCT, 2);\n      this.newReportTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.newNote !== null && this.newNote !== undefined) {\n      output.writeFieldBegin('newNote', Thrift.Type.STRING, 3);\n      output.writeString(this.newNote);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UpdateTransferReportRequisitionStepRequest = module.exports.UpdateTransferReportRequisitionStepRequest = class {\n  constructor(args) {\n    this.actor = null;\n    this.reportIdentifier = null;\n    this.requisitionStep = null;\n    this.cancellationReason = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.reportIdentifier !== undefined && args.reportIdentifier !== null) {\n        this.reportIdentifier = new ttypes.InventoryTransferReportIdentifier(args.reportIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportIdentifier is unset!');\n      }\n      if (args.requisitionStep !== undefined && args.requisitionStep !== null) {\n        this.requisitionStep = args.requisitionStep;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field requisitionStep is unset!');\n      }\n      if (args.cancellationReason !== undefined && args.cancellationReason !== null) {\n        this.cancellationReason = args.cancellationReason;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportIdentifier = new ttypes.InventoryTransferReportIdentifier();\n          this.reportIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.requisitionStep = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.cancellationReason = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UpdateTransferReportRequisitionStepRequest');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.reportIdentifier !== null && this.reportIdentifier !== undefined) {\n      output.writeFieldBegin('reportIdentifier', Thrift.Type.STRUCT, 2);\n      this.reportIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.requisitionStep !== null && this.requisitionStep !== undefined) {\n      output.writeFieldBegin('requisitionStep', Thrift.Type.STRING, 3);\n      output.writeString(this.requisitionStep);\n      output.writeFieldEnd();\n    }\n    if (this.cancellationReason !== null && this.cancellationReason !== undefined) {\n      output.writeFieldBegin('cancellationReason', Thrift.Type.STRING, 4);\n      output.writeString(this.cancellationReason);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_transfer_report_Model_ttypes = require('./inventory_transfer_report_Model_types');\nconst inventory_transfer_report_Exceptions_ttypes = require('./inventory_transfer_report_Exceptions_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnknownLocationIdentifierException = module.exports.UnknownLocationIdentifierException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownLocationIdentifierException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownLocationIdentifierException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownPerspectiveLocationException = module.exports.UnknownPerspectiveLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownPerspectiveLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownPerspectiveLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LocationIdentifierIsRequiredException = module.exports.LocationIdentifierIsRequiredException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LocationIdentifierIsRequiredException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationIdentifierIsRequiredException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ActorDoesNotHaveAccessToPartnerLocationException = module.exports.ActorDoesNotHaveAccessToPartnerLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ActorDoesNotHaveAccessToPartnerLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ActorDoesNotHaveAccessToPartnerLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ActorDoesNotHaveAccessToLocationException = module.exports.ActorDoesNotHaveAccessToLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ActorDoesNotHaveAccessToLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ActorDoesNotHaveAccessToLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ActorDoesNotHaveAccessToPerspectiveLocationException = module.exports.ActorDoesNotHaveAccessToPerspectiveLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ActorDoesNotHaveAccessToPerspectiveLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ActorDoesNotHaveAccessToPerspectiveLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ActorDoesNotHaveAccessToSourceLocationException = module.exports.ActorDoesNotHaveAccessToSourceLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ActorDoesNotHaveAccessToSourceLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ActorDoesNotHaveAccessToSourceLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ActorDoesNotHaveAccessToTargetLocationException = module.exports.ActorDoesNotHaveAccessToTargetLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ActorDoesNotHaveAccessToTargetLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ActorDoesNotHaveAccessToTargetLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LocationAlreadyExistsException = module.exports.LocationAlreadyExistsException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LocationAlreadyExistsException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationAlreadyExistsException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownGroupIdException = module.exports.UnknownGroupIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownGroupIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownGroupIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nttypes.RetailerAccountType = {\n  '0' : 'BEVERAGE',\n  'BEVERAGE' : 0,\n  '1' : 'FOOD',\n  'FOOD' : 1\n};\nconst LocationIdentifier = module.exports.LocationIdentifier = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationIdentifier');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnknownMergeAccountingGroupAssociationIdException = module.exports.UnknownMergeAccountingGroupAssociationIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownMergeAccountingGroupAssociationIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownMergeAccountingGroupAssociationIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingCompanyInfoNotAvailableException = module.exports.MergeAccountingCompanyInfoNotAvailableException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"MergeAccountingCompanyInfoNotAvailableException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingCompanyInfoNotAvailableException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownMergeAccountingGroupAssociationSettingsException = module.exports.UnknownMergeAccountingGroupAssociationSettingsException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownMergeAccountingGroupAssociationSettingsException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownMergeAccountingGroupAssociationSettingsException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownMergeAccountingRetailerAssociationIdException = module.exports.UnknownMergeAccountingRetailerAssociationIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownMergeAccountingRetailerAssociationIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownMergeAccountingRetailerAssociationIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DuplicateMergeAccountingRetailerAssociationException = module.exports.DuplicateMergeAccountingRetailerAssociationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"DuplicateMergeAccountingRetailerAssociationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DuplicateMergeAccountingRetailerAssociationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DuplicateMergeLinkedAccountIdException = module.exports.DuplicateMergeLinkedAccountIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"DuplicateMergeLinkedAccountIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DuplicateMergeLinkedAccountIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst NoActiveAccountingIntegrationException = module.exports.NoActiveAccountingIntegrationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"NoActiveAccountingIntegrationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('NoActiveAccountingIntegrationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst group_Model_ttypes = require('./group_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.AccountingType = {\n  '0' : 'CASH',\n  'CASH' : 0\n};\nttypes.SyncSchedule = {\n  '0' : 'MANUAL',\n  'MANUAL' : 0,\n  '1' : 'AUTOMATIC',\n  'AUTOMATIC' : 1\n};\nttypes.MergeLinkedAccountStatus = {\n  '1' : 'COMPLETE',\n  'COMPLETE' : 1,\n  '2' : 'INCOMPLETE',\n  'INCOMPLETE' : 2,\n  '3' : 'RELINK_NEEDED',\n  'RELINK_NEEDED' : 3\n};\nttypes.SyncedOrderType = {\n  '0' : 'INVOICE',\n  'INVOICE' : 0,\n  '1' : 'EXPENSE',\n  'EXPENSE' : 1,\n  '2' : 'VENDOR_CREDIT',\n  'VENDOR_CREDIT' : 2\n};\nttypes.AccountingInvoiceStatus = {\n  '0' : 'SUBMITTED',\n  'SUBMITTED' : 0,\n  '1' : 'DRAFT',\n  'DRAFT' : 1,\n  '2' : 'VOID',\n  'VOID' : 2\n};\nttypes.AccountingSyncResultType = {\n  '0' : 'SUCCESS',\n  'SUCCESS' : 0,\n  '1' : 'ERROR',\n  'ERROR' : 1\n};\nttypes.AccountingSyncErrorType = {\n  '0' : 'UNKNOWN',\n  'UNKNOWN' : 0,\n  '1' : 'VALIDATION',\n  'VALIDATION' : 1,\n  '2' : 'API_REJECTED',\n  'API_REJECTED' : 2,\n  '3' : 'UNMAPPED_VENDOR',\n  'UNMAPPED_VENDOR' : 3,\n  '4' : 'UNMAPPED_ACCOUNT',\n  'UNMAPPED_ACCOUNT' : 4,\n  '5' : 'UNKNOWN_LOCATION',\n  'UNKNOWN_LOCATION' : 5,\n  '6' : 'UNKNOWN_SESSION',\n  'UNKNOWN_SESSION' : 6,\n  '7' : 'MISSING_INVOICE_ID',\n  'MISSING_INVOICE_ID' : 7,\n  '8' : 'JSON_PROCESSING',\n  'JSON_PROCESSING' : 8,\n  '9' : 'ATTACHMENT',\n  'ATTACHMENT' : 9\n};\nconst MergeLinkTokenResponse = module.exports.MergeLinkTokenResponse = class {\n  constructor(args) {\n    this.linkToken = null;\n    this.endUserOriginId = null;\n    if (args) {\n      if (args.linkToken !== undefined && args.linkToken !== null) {\n        this.linkToken = args.linkToken;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field linkToken is unset!');\n      }\n      if (args.endUserOriginId !== undefined && args.endUserOriginId !== null) {\n        this.endUserOriginId = args.endUserOriginId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field endUserOriginId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.linkToken = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.endUserOriginId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeLinkTokenResponse');\n    if (this.linkToken !== null && this.linkToken !== undefined) {\n      output.writeFieldBegin('linkToken', Thrift.Type.STRING, 1);\n      output.writeString(this.linkToken);\n      output.writeFieldEnd();\n    }\n    if (this.endUserOriginId !== null && this.endUserOriginId !== undefined) {\n      output.writeFieldBegin('endUserOriginId', Thrift.Type.STRING, 2);\n      output.writeString(this.endUserOriginId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingGroupAssociationId = module.exports.MergeAccountingGroupAssociationId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingGroupAssociationId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeCompanyInfo = module.exports.MergeCompanyInfo = class {\n  constructor(args) {\n    this.id = null;\n    this.remoteId = null;\n    this.name = null;\n    if (args) {\n      if (args.id !== undefined && args.id !== null) {\n        this.id = args.id;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field id is unset!');\n      }\n      if (args.remoteId !== undefined && args.remoteId !== null) {\n        this.remoteId = args.remoteId;\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.id = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.remoteId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeCompanyInfo');\n    if (this.id !== null && this.id !== undefined) {\n      output.writeFieldBegin('id', Thrift.Type.STRING, 1);\n      output.writeString(this.id);\n      output.writeFieldEnd();\n    }\n    if (this.remoteId !== null && this.remoteId !== undefined) {\n      output.writeFieldBegin('remoteId', Thrift.Type.STRING, 2);\n      output.writeString(this.remoteId);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 3);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeExpenseAccount = module.exports.MergeExpenseAccount = class {\n  constructor(args) {\n    this.id = null;\n    this.name = null;\n    this.glCode = null;\n    if (args) {\n      if (args.id !== undefined && args.id !== null) {\n        this.id = args.id;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field id is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      }\n      if (args.glCode !== undefined && args.glCode !== null) {\n        this.glCode = args.glCode;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.id = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.glCode = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeExpenseAccount');\n    if (this.id !== null && this.id !== undefined) {\n      output.writeFieldBegin('id', Thrift.Type.STRING, 1);\n      output.writeString(this.id);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 2);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.glCode !== null && this.glCode !== undefined) {\n      output.writeFieldBegin('glCode', Thrift.Type.STRING, 3);\n      output.writeString(this.glCode);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeContact = module.exports.MergeContact = class {\n  constructor(args) {\n    this.id = null;\n    this.name = null;\n    if (args) {\n      if (args.id !== undefined && args.id !== null) {\n        this.id = args.id;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field id is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.id = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeContact');\n    if (this.id !== null && this.id !== undefined) {\n      output.writeFieldBegin('id', Thrift.Type.STRING, 1);\n      output.writeString(this.id);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 2);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingTaxSettings = module.exports.MergeAccountingTaxSettings = class {\n  constructor(args) {\n    this.tracksTaxOnTransactions = null;\n    this.isInclusiveOfTax = null;\n    this.defaultTaxRateId = null;\n    if (args) {\n      if (args.tracksTaxOnTransactions !== undefined && args.tracksTaxOnTransactions !== null) {\n        this.tracksTaxOnTransactions = args.tracksTaxOnTransactions;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field tracksTaxOnTransactions is unset!');\n      }\n      if (args.isInclusiveOfTax !== undefined && args.isInclusiveOfTax !== null) {\n        this.isInclusiveOfTax = args.isInclusiveOfTax;\n      }\n      if (args.defaultTaxRateId !== undefined && args.defaultTaxRateId !== null) {\n        this.defaultTaxRateId = args.defaultTaxRateId;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.BOOL) {\n          this.tracksTaxOnTransactions = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isInclusiveOfTax = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.defaultTaxRateId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingTaxSettings');\n    if (this.tracksTaxOnTransactions !== null && this.tracksTaxOnTransactions !== undefined) {\n      output.writeFieldBegin('tracksTaxOnTransactions', Thrift.Type.BOOL, 1);\n      output.writeBool(this.tracksTaxOnTransactions);\n      output.writeFieldEnd();\n    }\n    if (this.isInclusiveOfTax !== null && this.isInclusiveOfTax !== undefined) {\n      output.writeFieldBegin('isInclusiveOfTax', Thrift.Type.BOOL, 2);\n      output.writeBool(this.isInclusiveOfTax);\n      output.writeFieldEnd();\n    }\n    if (this.defaultTaxRateId !== null && this.defaultTaxRateId !== undefined) {\n      output.writeFieldBegin('defaultTaxRateId', Thrift.Type.STRING, 3);\n      output.writeString(this.defaultTaxRateId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeTaxRate = module.exports.MergeTaxRate = class {\n  constructor(args) {\n    this.id = null;\n    this.name = null;\n    this.code = null;\n    this.effectiveTaxRate = null;\n    if (args) {\n      if (args.id !== undefined && args.id !== null) {\n        this.id = args.id;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field id is unset!');\n      }\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      }\n      if (args.code !== undefined && args.code !== null) {\n        this.code = args.code;\n      }\n      if (args.effectiveTaxRate !== undefined && args.effectiveTaxRate !== null) {\n        this.effectiveTaxRate = args.effectiveTaxRate;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.id = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.code = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.DOUBLE) {\n          this.effectiveTaxRate = input.readDouble();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeTaxRate');\n    if (this.id !== null && this.id !== undefined) {\n      output.writeFieldBegin('id', Thrift.Type.STRING, 1);\n      output.writeString(this.id);\n      output.writeFieldEnd();\n    }\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 2);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.code !== null && this.code !== undefined) {\n      output.writeFieldBegin('code', Thrift.Type.STRING, 3);\n      output.writeString(this.code);\n      output.writeFieldEnd();\n    }\n    if (this.effectiveTaxRate !== null && this.effectiveTaxRate !== undefined) {\n      output.writeFieldBegin('effectiveTaxRate', Thrift.Type.DOUBLE, 4);\n      output.writeDouble(this.effectiveTaxRate);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingGroupAssociationSettings = module.exports.MergeAccountingGroupAssociationSettings = class {\n  constructor(args) {\n    this.accountingType = null;\n    this.syncSchedule = null;\n    this.updatedAt = null;\n    this.taxSettings = null;\n    if (args) {\n      if (args.accountingType !== undefined && args.accountingType !== null) {\n        this.accountingType = args.accountingType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field accountingType is unset!');\n      }\n      if (args.syncSchedule !== undefined && args.syncSchedule !== null) {\n        this.syncSchedule = args.syncSchedule;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field syncSchedule is unset!');\n      }\n      if (args.updatedAt !== undefined && args.updatedAt !== null) {\n        this.updatedAt = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.updatedAt);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field updatedAt is unset!');\n      }\n      if (args.taxSettings !== undefined && args.taxSettings !== null) {\n        this.taxSettings = new ttypes.MergeAccountingTaxSettings(args.taxSettings);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field taxSettings is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I32) {\n          this.accountingType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.syncSchedule = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.updatedAt = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.updatedAt.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.taxSettings = new ttypes.MergeAccountingTaxSettings();\n          this.taxSettings.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingGroupAssociationSettings');\n    if (this.accountingType !== null && this.accountingType !== undefined) {\n      output.writeFieldBegin('accountingType', Thrift.Type.I32, 1);\n      output.writeI32(this.accountingType);\n      output.writeFieldEnd();\n    }\n    if (this.syncSchedule !== null && this.syncSchedule !== undefined) {\n      output.writeFieldBegin('syncSchedule', Thrift.Type.I32, 2);\n      output.writeI32(this.syncSchedule);\n      output.writeFieldEnd();\n    }\n    if (this.updatedAt !== null && this.updatedAt !== undefined) {\n      output.writeFieldBegin('updatedAt', Thrift.Type.STRUCT, 3);\n      this.updatedAt.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.taxSettings !== null && this.taxSettings !== undefined) {\n      output.writeFieldBegin('taxSettings', Thrift.Type.STRUCT, 4);\n      this.taxSettings.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingGroupAssociation = module.exports.MergeAccountingGroupAssociation = class {\n  constructor(args) {\n    this.groupId = null;\n    this.linkedAccountId = null;\n    this.integrationType = null;\n    this.endUserOriginId = null;\n    this.createdAt = null;\n    if (args) {\n      if (args.groupId !== undefined && args.groupId !== null) {\n        this.groupId = new group_Model_ttypes.GroupId(args.groupId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupId is unset!');\n      }\n      if (args.linkedAccountId !== undefined && args.linkedAccountId !== null) {\n        this.linkedAccountId = args.linkedAccountId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field linkedAccountId is unset!');\n      }\n      if (args.integrationType !== undefined && args.integrationType !== null) {\n        this.integrationType = args.integrationType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field integrationType is unset!');\n      }\n      if (args.endUserOriginId !== undefined && args.endUserOriginId !== null) {\n        this.endUserOriginId = args.endUserOriginId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field endUserOriginId is unset!');\n      }\n      if (args.createdAt !== undefined && args.createdAt !== null) {\n        this.createdAt = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.createdAt);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field createdAt is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupId = new group_Model_ttypes.GroupId();\n          this.groupId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.linkedAccountId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.integrationType = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.endUserOriginId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.createdAt = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.createdAt.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingGroupAssociation');\n    if (this.groupId !== null && this.groupId !== undefined) {\n      output.writeFieldBegin('groupId', Thrift.Type.STRUCT, 1);\n      this.groupId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.linkedAccountId !== null && this.linkedAccountId !== undefined) {\n      output.writeFieldBegin('linkedAccountId', Thrift.Type.STRING, 2);\n      output.writeString(this.linkedAccountId);\n      output.writeFieldEnd();\n    }\n    if (this.integrationType !== null && this.integrationType !== undefined) {\n      output.writeFieldBegin('integrationType', Thrift.Type.STRING, 3);\n      output.writeString(this.integrationType);\n      output.writeFieldEnd();\n    }\n    if (this.endUserOriginId !== null && this.endUserOriginId !== undefined) {\n      output.writeFieldBegin('endUserOriginId', Thrift.Type.STRING, 4);\n      output.writeString(this.endUserOriginId);\n      output.writeFieldEnd();\n    }\n    if (this.createdAt !== null && this.createdAt !== undefined) {\n      output.writeFieldBegin('createdAt', Thrift.Type.STRUCT, 5);\n      this.createdAt.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingRetailerAssociationId = module.exports.MergeAccountingRetailerAssociationId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingRetailerAssociationId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingRetailerAssociation = module.exports.MergeAccountingRetailerAssociation = class {\n  constructor(args) {\n    this.groupAssociationId = null;\n    this.locationId = null;\n    this.createdAt = null;\n    this.syncStartDate = null;\n    this.isPaused = null;\n    this.settingsUpdatedAt = null;\n    if (args) {\n      if (args.groupAssociationId !== undefined && args.groupAssociationId !== null) {\n        this.groupAssociationId = new ttypes.MergeAccountingGroupAssociationId(args.groupAssociationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field groupAssociationId is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.createdAt !== undefined && args.createdAt !== null) {\n        this.createdAt = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.createdAt);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field createdAt is unset!');\n      }\n      if (args.syncStartDate !== undefined && args.syncStartDate !== null) {\n        this.syncStartDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.syncStartDate);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field syncStartDate is unset!');\n      }\n      if (args.isPaused !== undefined && args.isPaused !== null) {\n        this.isPaused = args.isPaused;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field isPaused is unset!');\n      }\n      if (args.settingsUpdatedAt !== undefined && args.settingsUpdatedAt !== null) {\n        this.settingsUpdatedAt = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.settingsUpdatedAt);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field settingsUpdatedAt is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.groupAssociationId = new ttypes.MergeAccountingGroupAssociationId();\n          this.groupAssociationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.createdAt = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.createdAt.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.syncStartDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.syncStartDate.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isPaused = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.settingsUpdatedAt = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.settingsUpdatedAt.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingRetailerAssociation');\n    if (this.groupAssociationId !== null && this.groupAssociationId !== undefined) {\n      output.writeFieldBegin('groupAssociationId', Thrift.Type.STRUCT, 1);\n      this.groupAssociationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.createdAt !== null && this.createdAt !== undefined) {\n      output.writeFieldBegin('createdAt', Thrift.Type.STRUCT, 3);\n      this.createdAt.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.syncStartDate !== null && this.syncStartDate !== undefined) {\n      output.writeFieldBegin('syncStartDate', Thrift.Type.STRUCT, 4);\n      this.syncStartDate.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.isPaused !== null && this.isPaused !== undefined) {\n      output.writeFieldBegin('isPaused', Thrift.Type.BOOL, 5);\n      output.writeBool(this.isPaused);\n      output.writeFieldEnd();\n    }\n    if (this.settingsUpdatedAt !== null && this.settingsUpdatedAt !== undefined) {\n      output.writeFieldBegin('settingsUpdatedAt', Thrift.Type.STRUCT, 6);\n      this.settingsUpdatedAt.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeAccountingRetailerAssociationSettings = module.exports.MergeAccountingRetailerAssociationSettings = class {\n  constructor(args) {\n    this.syncStartDate = null;\n    this.isPaused = null;\n    if (args) {\n      if (args.syncStartDate !== undefined && args.syncStartDate !== null) {\n        this.syncStartDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.syncStartDate);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field syncStartDate is unset!');\n      }\n      if (args.isPaused !== undefined && args.isPaused !== null) {\n        this.isPaused = args.isPaused;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field isPaused is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.syncStartDate = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.syncStartDate.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isPaused = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeAccountingRetailerAssociationSettings');\n    if (this.syncStartDate !== null && this.syncStartDate !== undefined) {\n      output.writeFieldBegin('syncStartDate', Thrift.Type.STRUCT, 1);\n      this.syncStartDate.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.isPaused !== null && this.isPaused !== undefined) {\n      output.writeFieldBegin('isPaused', Thrift.Type.BOOL, 2);\n      output.writeBool(this.isPaused);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AccountingSyncResult = module.exports.AccountingSyncResult = class {\n  constructor(args) {\n    this.resultType = null;\n    this.errorType = null;\n    if (args) {\n      if (args.resultType !== undefined && args.resultType !== null) {\n        this.resultType = args.resultType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field resultType is unset!');\n      }\n      if (args.errorType !== undefined && args.errorType !== null) {\n        this.errorType = args.errorType;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I32) {\n          this.resultType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.errorType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AccountingSyncResult');\n    if (this.resultType !== null && this.resultType !== undefined) {\n      output.writeFieldBegin('resultType', Thrift.Type.I32, 1);\n      output.writeI32(this.resultType);\n      output.writeFieldEnd();\n    }\n    if (this.errorType !== null && this.errorType !== undefined) {\n      output.writeFieldBegin('errorType', Thrift.Type.I32, 3);\n      output.writeI32(this.errorType);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DeliveryAccountingSyncEvent = module.exports.DeliveryAccountingSyncEvent = class {\n  constructor(args) {\n    this.orderId = null;\n    this.syncedOrderType = null;\n    this.locationId = null;\n    this.mergeCompanyId = null;\n    this.mergeAccountingInvoiceId = null;\n    this.syncTime = null;\n    this.accountingInvoiceStatus = null;\n    this.syncResult = null;\n    if (args) {\n      if (args.orderId !== undefined && args.orderId !== null) {\n        this.orderId = args.orderId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field orderId is unset!');\n      }\n      if (args.syncedOrderType !== undefined && args.syncedOrderType !== null) {\n        this.syncedOrderType = args.syncedOrderType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field syncedOrderType is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.mergeCompanyId !== undefined && args.mergeCompanyId !== null) {\n        this.mergeCompanyId = args.mergeCompanyId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeCompanyId is unset!');\n      }\n      if (args.mergeAccountingInvoiceId !== undefined && args.mergeAccountingInvoiceId !== null) {\n        this.mergeAccountingInvoiceId = args.mergeAccountingInvoiceId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeAccountingInvoiceId is unset!');\n      }\n      if (args.syncTime !== undefined && args.syncTime !== null) {\n        this.syncTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.syncTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field syncTime is unset!');\n      }\n      if (args.accountingInvoiceStatus !== undefined && args.accountingInvoiceStatus !== null) {\n        this.accountingInvoiceStatus = args.accountingInvoiceStatus;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field accountingInvoiceStatus is unset!');\n      }\n      if (args.syncResult !== undefined && args.syncResult !== null) {\n        this.syncResult = new ttypes.AccountingSyncResult(args.syncResult);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field syncResult is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.orderId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.syncedOrderType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeCompanyId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeAccountingInvoiceId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.syncTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.syncTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.I32) {\n          this.accountingInvoiceStatus = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.syncResult = new ttypes.AccountingSyncResult();\n          this.syncResult.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DeliveryAccountingSyncEvent');\n    if (this.orderId !== null && this.orderId !== undefined) {\n      output.writeFieldBegin('orderId', Thrift.Type.STRING, 1);\n      output.writeString(this.orderId);\n      output.writeFieldEnd();\n    }\n    if (this.syncedOrderType !== null && this.syncedOrderType !== undefined) {\n      output.writeFieldBegin('syncedOrderType', Thrift.Type.I32, 2);\n      output.writeI32(this.syncedOrderType);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 3);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mergeCompanyId !== null && this.mergeCompanyId !== undefined) {\n      output.writeFieldBegin('mergeCompanyId', Thrift.Type.STRING, 4);\n      output.writeString(this.mergeCompanyId);\n      output.writeFieldEnd();\n    }\n    if (this.mergeAccountingInvoiceId !== null && this.mergeAccountingInvoiceId !== undefined) {\n      output.writeFieldBegin('mergeAccountingInvoiceId', Thrift.Type.STRING, 5);\n      output.writeString(this.mergeAccountingInvoiceId);\n      output.writeFieldEnd();\n    }\n    if (this.syncTime !== null && this.syncTime !== undefined) {\n      output.writeFieldBegin('syncTime', Thrift.Type.STRUCT, 6);\n      this.syncTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.accountingInvoiceStatus !== null && this.accountingInvoiceStatus !== undefined) {\n      output.writeFieldBegin('accountingInvoiceStatus', Thrift.Type.I32, 7);\n      output.writeI32(this.accountingInvoiceStatus);\n      output.writeFieldEnd();\n    }\n    if (this.syncResult !== null && this.syncResult !== undefined) {\n      output.writeFieldBegin('syncResult', Thrift.Type.STRUCT, 8);\n      this.syncResult.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MostRecentSyncTime = module.exports.MostRecentSyncTime = class {\n  constructor(args) {\n    this.syncTime = null;\n    if (args) {\n      if (args.syncTime !== undefined && args.syncTime !== null) {\n        this.syncTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.syncTime);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.syncTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.syncTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MostRecentSyncTime');\n    if (this.syncTime !== null && this.syncTime !== undefined) {\n      output.writeFieldBegin('syncTime', Thrift.Type.STRUCT, 1);\n      this.syncTime.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LocationSyncEvents = module.exports.LocationSyncEvents = class {\n  constructor(args) {\n    this.locationId = null;\n    this.events = null;\n    if (args) {\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.events !== undefined && args.events !== null) {\n        this.events = Thrift.copyList(args.events, [ttypes.DeliveryAccountingSyncEvent]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field events is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.events = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new ttypes.DeliveryAccountingSyncEvent();\n            elem3.read(input);\n            this.events.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationSyncEvents');\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 1);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.events !== null && this.events !== undefined) {\n      output.writeFieldBegin('events', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.events.length);\n      for (let iter4 in this.events) {\n        if (this.events.hasOwnProperty(iter4)) {\n          iter4 = this.events[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst group_Model_ttypes = require('./group_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst merge_accounting_Exceptions_ttypes = require('./merge_accounting_Exceptions_types');\nconst merge_accounting_Model_ttypes = require('./merge_accounting_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst DuplicateObjectIdException = module.exports.DuplicateObjectIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"DuplicateObjectIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DuplicateObjectIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnknownObjectIdException = module.exports.UnknownObjectIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownObjectIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownObjectIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst location_Model_ttypes = require('./location_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.AccountingIntegrationType = {\n  '0' : 'QUICKBOOKS_ONLINE',\n  'QUICKBOOKS_ONLINE' : 0\n};\nttypes.MergeObjectType = {\n  '0' : 'VENDOR',\n  'VENDOR' : 0,\n  '1' : 'CATEGORY',\n  'CATEGORY' : 1,\n  '2' : 'TAX_RATE',\n  'TAX_RATE' : 2\n};\nconst GetMergeIntegrationObjectMappingsRequest = module.exports.GetMergeIntegrationObjectMappingsRequest = class {\n  constructor(args) {\n    this.mergeLinkedAccountId = null;\n    this.mergeCompanyId = null;\n    this.objectType = null;\n    this.locationId = null;\n    if (args) {\n      if (args.mergeLinkedAccountId !== undefined && args.mergeLinkedAccountId !== null) {\n        this.mergeLinkedAccountId = args.mergeLinkedAccountId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeLinkedAccountId is unset!');\n      }\n      if (args.mergeCompanyId !== undefined && args.mergeCompanyId !== null) {\n        this.mergeCompanyId = args.mergeCompanyId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeCompanyId is unset!');\n      }\n      if (args.objectType !== undefined && args.objectType !== null) {\n        this.objectType = args.objectType;\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeLinkedAccountId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeCompanyId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.objectType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('GetMergeIntegrationObjectMappingsRequest');\n    if (this.mergeLinkedAccountId !== null && this.mergeLinkedAccountId !== undefined) {\n      output.writeFieldBegin('mergeLinkedAccountId', Thrift.Type.STRING, 1);\n      output.writeString(this.mergeLinkedAccountId);\n      output.writeFieldEnd();\n    }\n    if (this.mergeCompanyId !== null && this.mergeCompanyId !== undefined) {\n      output.writeFieldBegin('mergeCompanyId', Thrift.Type.STRING, 2);\n      output.writeString(this.mergeCompanyId);\n      output.writeFieldEnd();\n    }\n    if (this.objectType !== null && this.objectType !== undefined) {\n      output.writeFieldBegin('objectType', Thrift.Type.I32, 3);\n      output.writeI32(this.objectType);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 4);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MergeIntegrationObjectMapping = module.exports.MergeIntegrationObjectMapping = class {\n  constructor(args) {\n    this.locationId = null;\n    this.objectType = null;\n    this.objectId = null;\n    this.mergeLinkedAccountId = null;\n    this.mergeCompanyId = null;\n    this.mergeObjectId = null;\n    if (args) {\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.objectType !== undefined && args.objectType !== null) {\n        this.objectType = args.objectType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field objectType is unset!');\n      }\n      if (args.objectId !== undefined && args.objectId !== null) {\n        this.objectId = args.objectId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field objectId is unset!');\n      }\n      if (args.mergeLinkedAccountId !== undefined && args.mergeLinkedAccountId !== null) {\n        this.mergeLinkedAccountId = args.mergeLinkedAccountId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeLinkedAccountId is unset!');\n      }\n      if (args.mergeCompanyId !== undefined && args.mergeCompanyId !== null) {\n        this.mergeCompanyId = args.mergeCompanyId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeCompanyId is unset!');\n      }\n      if (args.mergeObjectId !== undefined && args.mergeObjectId !== null) {\n        this.mergeObjectId = args.mergeObjectId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mergeObjectId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.objectType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.objectId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeLinkedAccountId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeCompanyId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.mergeObjectId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MergeIntegrationObjectMapping');\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 1);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.objectType !== null && this.objectType !== undefined) {\n      output.writeFieldBegin('objectType', Thrift.Type.I32, 2);\n      output.writeI32(this.objectType);\n      output.writeFieldEnd();\n    }\n    if (this.objectId !== null && this.objectId !== undefined) {\n      output.writeFieldBegin('objectId', Thrift.Type.STRING, 3);\n      output.writeString(this.objectId);\n      output.writeFieldEnd();\n    }\n    if (this.mergeLinkedAccountId !== null && this.mergeLinkedAccountId !== undefined) {\n      output.writeFieldBegin('mergeLinkedAccountId', Thrift.Type.STRING, 4);\n      output.writeString(this.mergeLinkedAccountId);\n      output.writeFieldEnd();\n    }\n    if (this.mergeCompanyId !== null && this.mergeCompanyId !== undefined) {\n      output.writeFieldBegin('mergeCompanyId', Thrift.Type.STRING, 5);\n      output.writeString(this.mergeCompanyId);\n      output.writeFieldEnd();\n    }\n    if (this.mergeObjectId !== null && this.mergeObjectId !== undefined) {\n      output.writeFieldBegin('mergeObjectId', Thrift.Type.STRING, 6);\n      output.writeString(this.mergeObjectId);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst merge_integration_Exceptions_ttypes = require('./merge_integration_Exceptions_types');\nconst merge_integration_Model_ttypes = require('./merge_integration_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_math_Model_ttypes = require('./core_math_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.Currency = {\n  '0' : 'USD',\n  'USD' : 0\n};\nconst MonetaryValue = module.exports.MonetaryValue = class {\n  constructor(args) {\n    this.currency = null;\n    this.value = null;\n    if (args) {\n      if (args.currency !== undefined && args.currency !== null) {\n        this.currency = args.currency;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field currency is unset!');\n      }\n      if (args.value !== undefined && args.value !== null) {\n        this.value = new core_math_Model_ttypes.Decimal(args.value);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I32) {\n          this.currency = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.value = new core_math_Model_ttypes.Decimal();\n          this.value.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MonetaryValue');\n    if (this.currency !== null && this.currency !== undefined) {\n      output.writeFieldBegin('currency', Thrift.Type.I32, 1);\n      output.writeI32(this.currency);\n      output.writeFieldEnd();\n    }\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRUCT, 2);\n      this.value.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst location_Model_ttypes = require('./location_Model_types');\nconst cart_Model_ttypes = require('./cart_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst DeliveryId = module.exports.DeliveryId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DeliveryId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst CartIdAndCartItems = module.exports.CartIdAndCartItems = class {\n  constructor(args) {\n    this.cartId = null;\n    this.cartItems = null;\n    if (args) {\n      if (args.cartId !== undefined && args.cartId !== null) {\n        this.cartId = new location_Model_ttypes.LocationIdentifier(args.cartId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field cartId is unset!');\n      }\n      if (args.cartItems !== undefined && args.cartItems !== null) {\n        this.cartItems = Thrift.copyList(args.cartItems, [cart_Model_ttypes.CartItem]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field cartItems is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.cartId = new location_Model_ttypes.LocationIdentifier();\n          this.cartId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.cartItems = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new cart_Model_ttypes.CartItem();\n            elem3.read(input);\n            this.cartItems.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('CartIdAndCartItems');\n    if (this.cartId !== null && this.cartId !== undefined) {\n      output.writeFieldBegin('cartId', Thrift.Type.STRUCT, 1);\n      this.cartId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.cartItems !== null && this.cartItems !== undefined) {\n      output.writeFieldBegin('cartItems', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.cartItems.length);\n      for (let iter4 in this.cartItems) {\n        if (this.cartItems.hasOwnProperty(iter4)) {\n          iter4 = this.cartItems[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnknownPrepEventIdException = module.exports.UnknownPrepEventIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownPrepEventIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownPrepEventIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventIsDeletedException = module.exports.PrepEventIsDeletedException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PrepEventIsDeletedException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventIsDeletedException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst PrepEventId = module.exports.PrepEventId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEvent = module.exports.PrepEvent = class {\n  constructor(args) {\n    this.prepEventTime = null;\n    this.locationId = null;\n    this.creationMetadata = null;\n    this.lastEditedMetadata = null;\n    this.deletionMetadata = null;\n    this.note = null;\n    this.type = null;\n    this.inputQuantityOfProductByProductId = null;\n    this.outputQuantityOfProductByProductId = null;\n    this.outputPriceByProductId = null;\n    if (args) {\n      if (args.prepEventTime !== undefined && args.prepEventTime !== null) {\n        this.prepEventTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.prepEventTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEventTime is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.creationMetadata !== undefined && args.creationMetadata !== null) {\n        this.creationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.creationMetadata);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field creationMetadata is unset!');\n      }\n      if (args.lastEditedMetadata !== undefined && args.lastEditedMetadata !== null) {\n        this.lastEditedMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.lastEditedMetadata);\n      }\n      if (args.deletionMetadata !== undefined && args.deletionMetadata !== null) {\n        this.deletionMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.deletionMetadata);\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n      if (args.type !== undefined && args.type !== null) {\n        this.type = args.type;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field type is unset!');\n      }\n      if (args.inputQuantityOfProductByProductId !== undefined && args.inputQuantityOfProductByProductId !== null) {\n        this.inputQuantityOfProductByProductId = Thrift.copyList(args.inputQuantityOfProductByProductId, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inputQuantityOfProductByProductId is unset!');\n      }\n      if (args.outputQuantityOfProductByProductId !== undefined && args.outputQuantityOfProductByProductId !== null) {\n        this.outputQuantityOfProductByProductId = Thrift.copyList(args.outputQuantityOfProductByProductId, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field outputQuantityOfProductByProductId is unset!');\n      }\n      if (args.outputPriceByProductId !== undefined && args.outputPriceByProductId !== null) {\n        this.outputPriceByProductId = Thrift.copyList(args.outputPriceByProductId, [product_Model_ttypes.ProductIdAndCost]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field outputPriceByProductId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.prepEventTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.creationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.creationMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.lastEditedMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.lastEditedMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.deletionMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.deletionMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRING) {\n          this.type = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.LIST) {\n          this.inputQuantityOfProductByProductId = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem3.read(input);\n            this.inputQuantityOfProductByProductId.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.LIST) {\n          this.outputQuantityOfProductByProductId = [];\n          const _rtmp35 = input.readListBegin();\n          const _size4 = _rtmp35.size || 0;\n          for (let _i6 = 0; _i6 < _size4; ++_i6) {\n            let elem7 = null;\n            elem7 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem7.read(input);\n            this.outputQuantityOfProductByProductId.push(elem7);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.LIST) {\n          this.outputPriceByProductId = [];\n          const _rtmp39 = input.readListBegin();\n          const _size8 = _rtmp39.size || 0;\n          for (let _i10 = 0; _i10 < _size8; ++_i10) {\n            let elem11 = null;\n            elem11 = new product_Model_ttypes.ProductIdAndCost();\n            elem11.read(input);\n            this.outputPriceByProductId.push(elem11);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEvent');\n    if (this.prepEventTime !== null && this.prepEventTime !== undefined) {\n      output.writeFieldBegin('prepEventTime', Thrift.Type.STRUCT, 1);\n      this.prepEventTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.creationMetadata !== null && this.creationMetadata !== undefined) {\n      output.writeFieldBegin('creationMetadata', Thrift.Type.STRUCT, 3);\n      this.creationMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.lastEditedMetadata !== null && this.lastEditedMetadata !== undefined) {\n      output.writeFieldBegin('lastEditedMetadata', Thrift.Type.STRUCT, 4);\n      this.lastEditedMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.deletionMetadata !== null && this.deletionMetadata !== undefined) {\n      output.writeFieldBegin('deletionMetadata', Thrift.Type.STRUCT, 5);\n      this.deletionMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 6);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    if (this.type !== null && this.type !== undefined) {\n      output.writeFieldBegin('type', Thrift.Type.STRING, 7);\n      output.writeString(this.type);\n      output.writeFieldEnd();\n    }\n    if (this.inputQuantityOfProductByProductId !== null && this.inputQuantityOfProductByProductId !== undefined) {\n      output.writeFieldBegin('inputQuantityOfProductByProductId', Thrift.Type.LIST, 8);\n      output.writeListBegin(Thrift.Type.STRUCT, this.inputQuantityOfProductByProductId.length);\n      for (let iter12 in this.inputQuantityOfProductByProductId) {\n        if (this.inputQuantityOfProductByProductId.hasOwnProperty(iter12)) {\n          iter12 = this.inputQuantityOfProductByProductId[iter12];\n          iter12.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.outputQuantityOfProductByProductId !== null && this.outputQuantityOfProductByProductId !== undefined) {\n      output.writeFieldBegin('outputQuantityOfProductByProductId', Thrift.Type.LIST, 9);\n      output.writeListBegin(Thrift.Type.STRUCT, this.outputQuantityOfProductByProductId.length);\n      for (let iter13 in this.outputQuantityOfProductByProductId) {\n        if (this.outputQuantityOfProductByProductId.hasOwnProperty(iter13)) {\n          iter13 = this.outputQuantityOfProductByProductId[iter13];\n          iter13.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.outputPriceByProductId !== null && this.outputPriceByProductId !== undefined) {\n      output.writeFieldBegin('outputPriceByProductId', Thrift.Type.LIST, 10);\n      output.writeListBegin(Thrift.Type.STRUCT, this.outputPriceByProductId.length);\n      for (let iter14 in this.outputPriceByProductId) {\n        if (this.outputPriceByProductId.hasOwnProperty(iter14)) {\n          iter14 = this.outputPriceByProductId[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventAndId = module.exports.PrepEventAndId = class {\n  constructor(args) {\n    this.prepEventId = null;\n    this.prepEvent = null;\n    if (args) {\n      if (args.prepEventId !== undefined && args.prepEventId !== null) {\n        this.prepEventId = new ttypes.PrepEventId(args.prepEventId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEventId is unset!');\n      }\n      if (args.prepEvent !== undefined && args.prepEvent !== null) {\n        this.prepEvent = new ttypes.PrepEvent(args.prepEvent);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEvent is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventId = new ttypes.PrepEventId();\n          this.prepEventId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEvent = new ttypes.PrepEvent();\n          this.prepEvent.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventAndId');\n    if (this.prepEventId !== null && this.prepEventId !== undefined) {\n      output.writeFieldBegin('prepEventId', Thrift.Type.STRUCT, 1);\n      this.prepEventId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.prepEvent !== null && this.prepEvent !== undefined) {\n      output.writeFieldBegin('prepEvent', Thrift.Type.STRUCT, 2);\n      this.prepEvent.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PrepEventCombinedKeptComponents = module.exports.PrepEventCombinedKeptComponents = class {\n  constructor(args) {\n    this.prepEventId = null;\n    this.combinedInputQuantity = null;\n    this.combinedOutputQuantity = null;\n    this.combinedOutputPrice = null;\n    if (args) {\n      if (args.prepEventId !== undefined && args.prepEventId !== null) {\n        this.prepEventId = new ttypes.PrepEventId(args.prepEventId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field prepEventId is unset!');\n      }\n      if (args.combinedInputQuantity !== undefined && args.combinedInputQuantity !== null) {\n        this.combinedInputQuantity = new product_Model_ttypes.QuantityOfProduct(args.combinedInputQuantity);\n      }\n      if (args.combinedOutputQuantity !== undefined && args.combinedOutputQuantity !== null) {\n        this.combinedOutputQuantity = new product_Model_ttypes.QuantityOfProduct(args.combinedOutputQuantity);\n      }\n      if (args.combinedOutputPrice !== undefined && args.combinedOutputPrice !== null) {\n        this.combinedOutputPrice = new product_Model_ttypes.ProductCost(args.combinedOutputPrice);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.prepEventId = new ttypes.PrepEventId();\n          this.prepEventId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.combinedInputQuantity = new product_Model_ttypes.QuantityOfProduct();\n          this.combinedInputQuantity.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.combinedOutputQuantity = new product_Model_ttypes.QuantityOfProduct();\n          this.combinedOutputQuantity.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.combinedOutputPrice = new product_Model_ttypes.ProductCost();\n          this.combinedOutputPrice.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PrepEventCombinedKeptComponents');\n    if (this.prepEventId !== null && this.prepEventId !== undefined) {\n      output.writeFieldBegin('prepEventId', Thrift.Type.STRUCT, 1);\n      this.prepEventId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.combinedInputQuantity !== null && this.combinedInputQuantity !== undefined) {\n      output.writeFieldBegin('combinedInputQuantity', Thrift.Type.STRUCT, 2);\n      this.combinedInputQuantity.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.combinedOutputQuantity !== null && this.combinedOutputQuantity !== undefined) {\n      output.writeFieldBegin('combinedOutputQuantity', Thrift.Type.STRUCT, 3);\n      this.combinedOutputQuantity.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.combinedOutputPrice !== null && this.combinedOutputPrice !== undefined) {\n      output.writeFieldBegin('combinedOutputPrice', Thrift.Type.STRUCT, 4);\n      this.combinedOutputPrice.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst prep_event_Model_ttypes = require('./prep_event_Model_types');\nconst prep_event_Exceptions_ttypes = require('./prep_event_Exceptions_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnknownProductIdException = module.exports.UnknownProductIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownProductIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownProductIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DuplicateProductIdException = module.exports.DuplicateProductIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"DuplicateProductIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DuplicateProductIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AccountDoesNotHaveAccessToProductException = module.exports.AccountDoesNotHaveAccessToProductException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"AccountDoesNotHaveAccessToProductException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AccountDoesNotHaveAccessToProductException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = module.exports.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductIdAlreadyHasAssociationWithThisDistributorIdException = module.exports.ProductIdAlreadyHasAssociationWithThisDistributorIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ProductIdAlreadyHasAssociationWithThisDistributorIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductIdAlreadyHasAssociationWithThisDistributorIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductIdDoesNotHaveAssociationWithThisDistributorIdException = module.exports.ProductIdDoesNotHaveAssociationWithThisDistributorIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ProductIdDoesNotHaveAssociationWithThisDistributorIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductIdDoesNotHaveAssociationWithThisDistributorIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnitIncompatibleWithProductPackageException = module.exports.UnitIncompatibleWithProductPackageException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnitIncompatibleWithProductPackageException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnitIncompatibleWithProductPackageException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst distributor_Model_ttypes = require('./distributor_Model_types');\nconst money_Model_ttypes = require('./money_Model_types');\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst product_amount_Model_ttypes = require('./product_amount_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst ProductId = module.exports.ProductId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductIdAndDistributorId = module.exports.ProductIdAndDistributorId = class {\n  constructor(args) {\n    this.productId = null;\n    this.distributorId = null;\n    if (args) {\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductIdAndDistributorId');\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 1);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 2);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PackagingId = module.exports.PackagingId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PackagingId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnitOfMeasure = module.exports.UnitOfMeasure = class {\n  constructor(args) {\n    this.unitOfMass = null;\n    this.unitOfVolume = null;\n    if (args) {\n      if (args.unitOfMass !== undefined && args.unitOfMass !== null) {\n        this.unitOfMass = args.unitOfMass;\n      }\n      if (args.unitOfVolume !== undefined && args.unitOfVolume !== null) {\n        this.unitOfVolume = args.unitOfVolume;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I32) {\n          this.unitOfMass = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.unitOfVolume = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnitOfMeasure');\n    if (this.unitOfMass !== null && this.unitOfMass !== undefined) {\n      output.writeFieldBegin('unitOfMass', Thrift.Type.I32, 1);\n      output.writeI32(this.unitOfMass);\n      output.writeFieldEnd();\n    }\n    if (this.unitOfVolume !== null && this.unitOfVolume !== undefined) {\n      output.writeFieldBegin('unitOfVolume', Thrift.Type.I32, 2);\n      output.writeI32(this.unitOfVolume);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductQuantityUnit = module.exports.ProductQuantityUnit = class {\n  constructor(args) {\n    this.unitOfMass = null;\n    this.unitOfVolume = null;\n    this.packagingId = null;\n    if (args) {\n      if (args.unitOfMass !== undefined && args.unitOfMass !== null) {\n        this.unitOfMass = args.unitOfMass;\n      }\n      if (args.unitOfVolume !== undefined && args.unitOfVolume !== null) {\n        this.unitOfVolume = args.unitOfVolume;\n      }\n      if (args.packagingId !== undefined && args.packagingId !== null) {\n        this.packagingId = new ttypes.PackagingId(args.packagingId);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.I32) {\n          this.unitOfMass = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.unitOfVolume = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.packagingId = new ttypes.PackagingId();\n          this.packagingId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductQuantityUnit');\n    if (this.unitOfMass !== null && this.unitOfMass !== undefined) {\n      output.writeFieldBegin('unitOfMass', Thrift.Type.I32, 1);\n      output.writeI32(this.unitOfMass);\n      output.writeFieldEnd();\n    }\n    if (this.unitOfVolume !== null && this.unitOfVolume !== undefined) {\n      output.writeFieldBegin('unitOfVolume', Thrift.Type.I32, 2);\n      output.writeI32(this.unitOfVolume);\n      output.writeFieldEnd();\n    }\n    if (this.packagingId !== null && this.packagingId !== undefined) {\n      output.writeFieldBegin('packagingId', Thrift.Type.STRUCT, 3);\n      this.packagingId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst QuantityOfProduct = module.exports.QuantityOfProduct = class {\n  constructor(args) {\n    this.quantity = null;\n    this.productQuantityUnit = null;\n    if (args) {\n      if (args.quantity !== undefined && args.quantity !== null) {\n        this.quantity = new core_math_Model_ttypes.Decimal(args.quantity);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantity is unset!');\n      }\n      if (args.productQuantityUnit !== undefined && args.productQuantityUnit !== null) {\n        this.productQuantityUnit = new ttypes.ProductQuantityUnit(args.productQuantityUnit);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productQuantityUnit is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantity = new core_math_Model_ttypes.Decimal();\n          this.quantity.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productQuantityUnit = new ttypes.ProductQuantityUnit();\n          this.productQuantityUnit.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('QuantityOfProduct');\n    if (this.quantity !== null && this.quantity !== undefined) {\n      output.writeFieldBegin('quantity', Thrift.Type.STRUCT, 1);\n      this.quantity.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productQuantityUnit !== null && this.productQuantityUnit !== undefined) {\n      output.writeFieldBegin('productQuantityUnit', Thrift.Type.STRUCT, 2);\n      this.productQuantityUnit.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductIdAndQuantityOfProduct = module.exports.ProductIdAndQuantityOfProduct = class {\n  constructor(args) {\n    this.productId = null;\n    this.quantityOfProduct = null;\n    if (args) {\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.quantityOfProduct !== undefined && args.quantityOfProduct !== null) {\n        this.quantityOfProduct = new ttypes.QuantityOfProduct(args.quantityOfProduct);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantityOfProduct is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityOfProduct = new ttypes.QuantityOfProduct();\n          this.quantityOfProduct.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductIdAndQuantityOfProduct');\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 1);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityOfProduct !== null && this.quantityOfProduct !== undefined) {\n      output.writeFieldBegin('quantityOfProduct', Thrift.Type.STRUCT, 2);\n      this.quantityOfProduct.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductIdAndOptionalQuantityOfProduct = module.exports.ProductIdAndOptionalQuantityOfProduct = class {\n  constructor(args) {\n    this.productId = null;\n    this.quantityOfProduct = null;\n    if (args) {\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.quantityOfProduct !== undefined && args.quantityOfProduct !== null) {\n        this.quantityOfProduct = new ttypes.QuantityOfProduct(args.quantityOfProduct);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityOfProduct = new ttypes.QuantityOfProduct();\n          this.quantityOfProduct.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductIdAndOptionalQuantityOfProduct');\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 1);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityOfProduct !== null && this.quantityOfProduct !== undefined) {\n      output.writeFieldBegin('quantityOfProduct', Thrift.Type.STRUCT, 2);\n      this.quantityOfProduct.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCost = module.exports.ProductCost = class {\n  constructor(args) {\n    this.monetaryValue = null;\n    this.productQuantityUnit = null;\n    if (args) {\n      if (args.monetaryValue !== undefined && args.monetaryValue !== null) {\n        this.monetaryValue = new money_Model_ttypes.MonetaryValue(args.monetaryValue);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field monetaryValue is unset!');\n      }\n      if (args.productQuantityUnit !== undefined && args.productQuantityUnit !== null) {\n        this.productQuantityUnit = new ttypes.ProductQuantityUnit(args.productQuantityUnit);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productQuantityUnit is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.monetaryValue = new money_Model_ttypes.MonetaryValue();\n          this.monetaryValue.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productQuantityUnit = new ttypes.ProductQuantityUnit();\n          this.productQuantityUnit.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCost');\n    if (this.monetaryValue !== null && this.monetaryValue !== undefined) {\n      output.writeFieldBegin('monetaryValue', Thrift.Type.STRUCT, 1);\n      this.monetaryValue.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productQuantityUnit !== null && this.productQuantityUnit !== undefined) {\n      output.writeFieldBegin('productQuantityUnit', Thrift.Type.STRUCT, 2);\n      this.productQuantityUnit.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductIdAndCost = module.exports.ProductIdAndCost = class {\n  constructor(args) {\n    this.productId = null;\n    this.productCost = null;\n    if (args) {\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productCost !== undefined && args.productCost !== null) {\n        this.productCost = new ttypes.ProductCost(args.productCost);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCost is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productCost = new ttypes.ProductCost();\n          this.productCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductIdAndCost');\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 1);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCost !== null && this.productCost !== undefined) {\n      output.writeFieldBegin('productCost', Thrift.Type.STRUCT, 2);\n      this.productCost.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductCostSettingEvent = module.exports.ProductCostSettingEvent = class {\n  constructor(args) {\n    this.productId = null;\n    this.productCost = null;\n    this.timestamp = null;\n    if (args) {\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productCost !== undefined && args.productCost !== null) {\n        this.productCost = new ttypes.ProductCost(args.productCost);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCost is unset!');\n      }\n      if (args.timestamp !== undefined && args.timestamp !== null) {\n        this.timestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.timestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field timestamp is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productCost = new ttypes.ProductCost();\n          this.productCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.timestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.timestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductCostSettingEvent');\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 1);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCost !== null && this.productCost !== undefined) {\n      output.writeFieldBegin('productCost', Thrift.Type.STRUCT, 2);\n      this.productCost.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.timestamp !== null && this.timestamp !== undefined) {\n      output.writeFieldBegin('timestamp', Thrift.Type.STRUCT, 3);\n      this.timestamp.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BulkReplaceProductResult = module.exports.BulkReplaceProductResult = class {\n  constructor(args) {\n    this.done = null;\n    this.nextChunkToken = null;\n    this.rowsRewritten = null;\n    if (args) {\n      if (args.done !== undefined && args.done !== null) {\n        this.done = args.done;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field done is unset!');\n      }\n      if (args.nextChunkToken !== undefined && args.nextChunkToken !== null) {\n        this.nextChunkToken = args.nextChunkToken;\n      }\n      if (args.rowsRewritten !== undefined && args.rowsRewritten !== null) {\n        this.rowsRewritten = args.rowsRewritten;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field rowsRewritten is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.BOOL) {\n          this.done = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.nextChunkToken = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.rowsRewritten = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BulkReplaceProductResult');\n    if (this.done !== null && this.done !== undefined) {\n      output.writeFieldBegin('done', Thrift.Type.BOOL, 1);\n      output.writeBool(this.done);\n      output.writeFieldEnd();\n    }\n    if (this.nextChunkToken !== null && this.nextChunkToken !== undefined) {\n      output.writeFieldBegin('nextChunkToken', Thrift.Type.STRING, 2);\n      output.writeString(this.nextChunkToken);\n      output.writeFieldEnd();\n    }\n    if (this.rowsRewritten !== null && this.rowsRewritten !== undefined) {\n      output.writeFieldBegin('rowsRewritten', Thrift.Type.I32, 3);\n      output.writeI32(this.rowsRewritten);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst distributor_Exceptions_ttypes = require('./distributor_Exceptions_types');\nconst distributor_Model_ttypes = require('./distributor_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst ProductNotAssociatedWithLocationException = module.exports.ProductNotAssociatedWithLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ProductNotAssociatedWithLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductNotAssociatedWithLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UnitIncompatibleWithProductPackagingException = module.exports.UnitIncompatibleWithProductPackagingException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnitIncompatibleWithProductPackagingException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnitIncompatibleWithProductPackagingException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst QuantityMustBeNonnegativeException = module.exports.QuantityMustBeNonnegativeException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"QuantityMustBeNonnegativeException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('QuantityMustBeNonnegativeException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst QuantityOfProductAndUnitDoesNotExistException = module.exports.QuantityOfProductAndUnitDoesNotExistException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"QuantityOfProductAndUnitDoesNotExistException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('QuantityOfProductAndUnitDoesNotExistException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nttypes.Unit = {\n  '0' : 'BOTTLE',\n  'BOTTLE' : 0,\n  '1' : 'CAN',\n  'CAN' : 1,\n  '2' : 'CASE',\n  'CASE' : 2,\n  '3' : 'KEG',\n  'KEG' : 3,\n  '4' : 'BAG',\n  'BAG' : 4,\n  '5' : 'BOX',\n  'BOX' : 5,\n  '6' : 'CAN_FOOD',\n  'CAN_FOOD' : 6,\n  '7' : 'CARTON',\n  'CARTON' : 7,\n  '8' : 'CONTAINER',\n  'CONTAINER' : 8,\n  '9' : 'PACKAGE',\n  'PACKAGE' : 9,\n  '10' : 'TUB',\n  'TUB' : 10,\n  '11' : 'OTHER_CONTAINER',\n  'OTHER_CONTAINER' : 11,\n  '12' : 'METRIC_LITER',\n  'METRIC_LITER' : 12,\n  '13' : 'METRIC_CENTILITER',\n  'METRIC_CENTILITER' : 13,\n  '14' : 'METRIC_MILLILITER',\n  'METRIC_MILLILITER' : 14,\n  '15' : 'US_FLUID_OUNCE',\n  'US_FLUID_OUNCE' : 15,\n  '16' : 'US_FLUID_GALLON',\n  'US_FLUID_GALLON' : 16,\n  '17' : 'US_FLUID_QUART',\n  'US_FLUID_QUART' : 17,\n  '18' : 'US_FLUID_PINT',\n  'US_FLUID_PINT' : 18,\n  '19' : 'BAR_SPOON',\n  'BAR_SPOON' : 19,\n  '20' : 'DASH',\n  'DASH' : 20,\n  '21' : 'METRIC_KILOGRAM',\n  'METRIC_KILOGRAM' : 21,\n  '22' : 'METRIC_GRAM',\n  'METRIC_GRAM' : 22,\n  '23' : 'US_POUND',\n  'US_POUND' : 23,\n  '24' : 'US_DRY_OUNCE',\n  'US_DRY_OUNCE' : 24,\n  '25' : 'UNIT',\n  'UNIT' : 25,\n  '26' : 'EACH',\n  'EACH' : 26\n};\nttypes.MassUnit = {\n  '0' : 'METRIC_KILOGRAM',\n  'METRIC_KILOGRAM' : 0,\n  '1' : 'METRIC_GRAM',\n  'METRIC_GRAM' : 1,\n  '2' : 'US_POUND',\n  'US_POUND' : 2,\n  '3' : 'US_DRY_OUNCE',\n  'US_DRY_OUNCE' : 3\n};\nttypes.VolumeUnit = {\n  '0' : 'METRIC_LITER',\n  'METRIC_LITER' : 0,\n  '1' : 'METRIC_CENTILITER',\n  'METRIC_CENTILITER' : 1,\n  '2' : 'METRIC_MILLILITER',\n  'METRIC_MILLILITER' : 2,\n  '3' : 'US_FLUID_OUNCE',\n  'US_FLUID_OUNCE' : 3,\n  '4' : 'US_FLUID_GALLON',\n  'US_FLUID_GALLON' : 4,\n  '5' : 'US_FLUID_QUART',\n  'US_FLUID_QUART' : 5,\n  '6' : 'US_FLUID_PINT',\n  'US_FLUID_PINT' : 6,\n  '7' : 'BAR_SPOON',\n  'BAR_SPOON' : 7,\n  '8' : 'DASH',\n  'DASH' : 8\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst money_Model_ttypes = require('./money_Model_types');\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst InventoryIdAndProductIdAndProductCost = module.exports.InventoryIdAndProductIdAndProductCost = class {\n  constructor(args) {\n    this.inventoryCountId = null;\n    this.productId = null;\n    this.productCost = null;\n    if (args) {\n      if (args.inventoryCountId !== undefined && args.inventoryCountId !== null) {\n        this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId(args.inventoryCountId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field inventoryCountId is unset!');\n      }\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productCost !== undefined && args.productCost !== null) {\n        this.productCost = new product_Model_ttypes.ProductCost(args.productCost);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productCost is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.inventoryCountId = new inventory_Model_ttypes.InventoryCountId();\n          this.inventoryCountId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productCost = new product_Model_ttypes.ProductCost();\n          this.productCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InventoryIdAndProductIdAndProductCost');\n    if (this.inventoryCountId !== null && this.inventoryCountId !== undefined) {\n      output.writeFieldBegin('inventoryCountId', Thrift.Type.STRUCT, 1);\n      this.inventoryCountId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 2);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productCost !== null && this.productCost !== undefined) {\n      output.writeFieldBegin('productCost', Thrift.Type.STRUCT, 3);\n      this.productCost.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst inventory_Exceptions_ttypes = require('./inventory_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_cost_Model_ttypes = require('./product_cost_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst product_Model_ttypes = require('./product_Model_types');\nconst distributor_Model_ttypes = require('./distributor_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst ProductPackagingDistributorAssoc = module.exports.ProductPackagingDistributorAssoc = class {\n  constructor(args) {\n    this.productId = null;\n    this.productQuantityUnit = null;\n    this.distributorId = null;\n    this.sku = null;\n    this.price = null;\n    this.deposit = null;\n    if (args) {\n      if (args.productId !== undefined && args.productId !== null) {\n        this.productId = new product_Model_ttypes.ProductId(args.productId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productId is unset!');\n      }\n      if (args.productQuantityUnit !== undefined && args.productQuantityUnit !== null) {\n        this.productQuantityUnit = new product_Model_ttypes.ProductQuantityUnit(args.productQuantityUnit);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field productQuantityUnit is unset!');\n      }\n      if (args.distributorId !== undefined && args.distributorId !== null) {\n        this.distributorId = new distributor_Model_ttypes.DistributorId(args.distributorId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field distributorId is unset!');\n      }\n      if (args.sku !== undefined && args.sku !== null) {\n        this.sku = args.sku;\n      }\n      if (args.price !== undefined && args.price !== null) {\n        this.price = new product_Model_ttypes.ProductCost(args.price);\n      }\n      if (args.deposit !== undefined && args.deposit !== null) {\n        this.deposit = new product_Model_ttypes.ProductCost(args.deposit);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productId = new product_Model_ttypes.ProductId();\n          this.productId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.productQuantityUnit = new product_Model_ttypes.ProductQuantityUnit();\n          this.productQuantityUnit.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.distributorId = new distributor_Model_ttypes.DistributorId();\n          this.distributorId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.sku = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.price = new product_Model_ttypes.ProductCost();\n          this.price.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.deposit = new product_Model_ttypes.ProductCost();\n          this.deposit.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductPackagingDistributorAssoc');\n    if (this.productId !== null && this.productId !== undefined) {\n      output.writeFieldBegin('productId', Thrift.Type.STRUCT, 1);\n      this.productId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.productQuantityUnit !== null && this.productQuantityUnit !== undefined) {\n      output.writeFieldBegin('productQuantityUnit', Thrift.Type.STRUCT, 2);\n      this.productQuantityUnit.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.distributorId !== null && this.distributorId !== undefined) {\n      output.writeFieldBegin('distributorId', Thrift.Type.STRUCT, 3);\n      this.distributorId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sku !== null && this.sku !== undefined) {\n      output.writeFieldBegin('sku', Thrift.Type.STRING, 4);\n      output.writeString(this.sku);\n      output.writeFieldEnd();\n    }\n    if (this.price !== null && this.price !== undefined) {\n      output.writeFieldBegin('price', Thrift.Type.STRUCT, 5);\n      this.price.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.deposit !== null && this.deposit !== undefined) {\n      output.writeFieldBegin('deposit', Thrift.Type.STRUCT, 6);\n      this.deposit.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst distributor_Exceptions_ttypes = require('./distributor_Exceptions_types');\nconst distributor_Model_ttypes = require('./distributor_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst product_distributor_Model_ttypes = require('./product_distributor_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_transfer_report_Model_ttypes = require('./inventory_transfer_report_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst SourceLocationCannotEqualTargetLocationException = module.exports.SourceLocationCannotEqualTargetLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"SourceLocationCannotEqualTargetLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SourceLocationCannotEqualTargetLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SourceAndTargetProductsHaveDifferentPackagingsException = module.exports.SourceAndTargetProductsHaveDifferentPackagingsException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"SourceAndTargetProductsHaveDifferentPackagingsException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SourceAndTargetProductsHaveDifferentPackagingsException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SourceProductIsMappedToMultipleTargetsAtSameLocationException = module.exports.SourceProductIsMappedToMultipleTargetsAtSameLocationException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"SourceProductIsMappedToMultipleTargetsAtSameLocationException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SourceProductIsMappedToMultipleTargetsAtSameLocationException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MappingIsInvolvedInTransferException = module.exports.MappingIsInvolvedInTransferException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"MappingIsInvolvedInTransferException\";\n    this.transferReportIds = null;\n    if (args) {\n      if (args.transferReportIds !== undefined && args.transferReportIds !== null) {\n        this.transferReportIds = Thrift.copyList(args.transferReportIds, [inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field transferReportIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.LIST) {\n          this.transferReportIds = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new inventory_transfer_report_Model_ttypes.InventoryTransferReportIdentifier();\n            elem3.read(input);\n            this.transferReportIds.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MappingIsInvolvedInTransferException');\n    if (this.transferReportIds !== null && this.transferReportIds !== undefined) {\n      output.writeFieldBegin('transferReportIds', Thrift.Type.LIST, 1);\n      output.writeListBegin(Thrift.Type.STRUCT, this.transferReportIds.length);\n      for (let iter4 in this.transferReportIds) {\n        if (this.transferReportIds.hasOwnProperty(iter4)) {\n          iter4 = this.transferReportIds[iter4];\n          iter4.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.ProductMatchAlgorithm = {\n  '0' : 'MANUAL',\n  'MANUAL' : 0,\n  '1' : 'AUTOMATCH0',\n  'AUTOMATCH0' : 1,\n  '2' : 'AUTOMATCH1',\n  'AUTOMATCH1' : 2,\n  '3' : 'REVERSE',\n  'REVERSE' : 3\n};\nconst InterLocationProductQuantityUnitMapping = module.exports.InterLocationProductQuantityUnitMapping = class {\n  constructor(args) {\n    this.sourceLocationIdentifier = null;\n    this.sourceProductId = null;\n    this.sourceQuantityOfProduct = null;\n    this.targetLocationIdentifier = null;\n    this.targetProductId = null;\n    this.targetQuantityOfProduct = null;\n    if (args) {\n      if (args.sourceLocationIdentifier !== undefined && args.sourceLocationIdentifier !== null) {\n        this.sourceLocationIdentifier = new location_Model_ttypes.LocationIdentifier(args.sourceLocationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceLocationIdentifier is unset!');\n      }\n      if (args.sourceProductId !== undefined && args.sourceProductId !== null) {\n        this.sourceProductId = new product_Model_ttypes.ProductId(args.sourceProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceProductId is unset!');\n      }\n      if (args.sourceQuantityOfProduct !== undefined && args.sourceQuantityOfProduct !== null) {\n        this.sourceQuantityOfProduct = new product_Model_ttypes.QuantityOfProduct(args.sourceQuantityOfProduct);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceQuantityOfProduct is unset!');\n      }\n      if (args.targetLocationIdentifier !== undefined && args.targetLocationIdentifier !== null) {\n        this.targetLocationIdentifier = new location_Model_ttypes.LocationIdentifier(args.targetLocationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetLocationIdentifier is unset!');\n      }\n      if (args.targetProductId !== undefined && args.targetProductId !== null) {\n        this.targetProductId = new product_Model_ttypes.ProductId(args.targetProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetProductId is unset!');\n      }\n      if (args.targetQuantityOfProduct !== undefined && args.targetQuantityOfProduct !== null) {\n        this.targetQuantityOfProduct = new product_Model_ttypes.QuantityOfProduct(args.targetQuantityOfProduct);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetQuantityOfProduct is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.sourceLocationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceProductId = new product_Model_ttypes.ProductId();\n          this.sourceProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceQuantityOfProduct = new product_Model_ttypes.QuantityOfProduct();\n          this.sourceQuantityOfProduct.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetLocationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.targetLocationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetProductId = new product_Model_ttypes.ProductId();\n          this.targetProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetQuantityOfProduct = new product_Model_ttypes.QuantityOfProduct();\n          this.targetQuantityOfProduct.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductQuantityUnitMapping');\n    if (this.sourceLocationIdentifier !== null && this.sourceLocationIdentifier !== undefined) {\n      output.writeFieldBegin('sourceLocationIdentifier', Thrift.Type.STRUCT, 1);\n      this.sourceLocationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceProductId !== null && this.sourceProductId !== undefined) {\n      output.writeFieldBegin('sourceProductId', Thrift.Type.STRUCT, 2);\n      this.sourceProductId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceQuantityOfProduct !== null && this.sourceQuantityOfProduct !== undefined) {\n      output.writeFieldBegin('sourceQuantityOfProduct', Thrift.Type.STRUCT, 3);\n      this.sourceQuantityOfProduct.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetLocationIdentifier !== null && this.targetLocationIdentifier !== undefined) {\n      output.writeFieldBegin('targetLocationIdentifier', Thrift.Type.STRUCT, 4);\n      this.targetLocationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetProductId !== null && this.targetProductId !== undefined) {\n      output.writeFieldBegin('targetProductId', Thrift.Type.STRUCT, 5);\n      this.targetProductId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetQuantityOfProduct !== null && this.targetQuantityOfProduct !== undefined) {\n      output.writeFieldBegin('targetQuantityOfProduct', Thrift.Type.STRUCT, 6);\n      this.targetQuantityOfProduct.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ProductQuantityUnitMappingUpdateEvent = module.exports.ProductQuantityUnitMappingUpdateEvent = class {\n  constructor(args) {\n    this.sourceProductId = null;\n    this.sourceQuantityOfProduct = null;\n    this.targetProductId = null;\n    this.targetQuantityOfProduct = null;\n    this.updateTime = null;\n    this.actor = null;\n    this.matchAlgorithm = null;\n    if (args) {\n      if (args.sourceProductId !== undefined && args.sourceProductId !== null) {\n        this.sourceProductId = new product_Model_ttypes.ProductId(args.sourceProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceProductId is unset!');\n      }\n      if (args.sourceQuantityOfProduct !== undefined && args.sourceQuantityOfProduct !== null) {\n        this.sourceQuantityOfProduct = new product_Model_ttypes.QuantityOfProduct(args.sourceQuantityOfProduct);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceQuantityOfProduct is unset!');\n      }\n      if (args.targetProductId !== undefined && args.targetProductId !== null) {\n        this.targetProductId = new product_Model_ttypes.ProductId(args.targetProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetProductId is unset!');\n      }\n      if (args.targetQuantityOfProduct !== undefined && args.targetQuantityOfProduct !== null) {\n        this.targetQuantityOfProduct = new product_Model_ttypes.QuantityOfProduct(args.targetQuantityOfProduct);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetQuantityOfProduct is unset!');\n      }\n      if (args.updateTime !== undefined && args.updateTime !== null) {\n        this.updateTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.updateTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field updateTime is unset!');\n      }\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserAccountIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.matchAlgorithm !== undefined && args.matchAlgorithm !== null) {\n        this.matchAlgorithm = args.matchAlgorithm;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field matchAlgorithm is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceProductId = new product_Model_ttypes.ProductId();\n          this.sourceProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceQuantityOfProduct = new product_Model_ttypes.QuantityOfProduct();\n          this.sourceQuantityOfProduct.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetProductId = new product_Model_ttypes.ProductId();\n          this.targetProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetQuantityOfProduct = new product_Model_ttypes.QuantityOfProduct();\n          this.targetQuantityOfProduct.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.updateTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.updateTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.I32) {\n          this.matchAlgorithm = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ProductQuantityUnitMappingUpdateEvent');\n    if (this.sourceProductId !== null && this.sourceProductId !== undefined) {\n      output.writeFieldBegin('sourceProductId', Thrift.Type.STRUCT, 1);\n      this.sourceProductId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceQuantityOfProduct !== null && this.sourceQuantityOfProduct !== undefined) {\n      output.writeFieldBegin('sourceQuantityOfProduct', Thrift.Type.STRUCT, 2);\n      this.sourceQuantityOfProduct.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetProductId !== null && this.targetProductId !== undefined) {\n      output.writeFieldBegin('targetProductId', Thrift.Type.STRUCT, 3);\n      this.targetProductId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetQuantityOfProduct !== null && this.targetQuantityOfProduct !== undefined) {\n      output.writeFieldBegin('targetQuantityOfProduct', Thrift.Type.STRUCT, 4);\n      this.targetQuantityOfProduct.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.updateTime !== null && this.updateTime !== undefined) {\n      output.writeFieldBegin('updateTime', Thrift.Type.STRUCT, 5);\n      this.updateTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 6);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.matchAlgorithm !== null && this.matchAlgorithm !== undefined) {\n      output.writeFieldBegin('matchAlgorithm', Thrift.Type.I32, 7);\n      output.writeI32(this.matchAlgorithm);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PartnerLocationMappingCount = module.exports.PartnerLocationMappingCount = class {\n  constructor(args) {\n    this.partnerLocation = null;\n    this.mappingCount = null;\n    if (args) {\n      if (args.partnerLocation !== undefined && args.partnerLocation !== null) {\n        this.partnerLocation = new location_Model_ttypes.LocationIdentifier(args.partnerLocation);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field partnerLocation is unset!');\n      }\n      if (args.mappingCount !== undefined && args.mappingCount !== null) {\n        this.mappingCount = args.mappingCount;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field mappingCount is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.partnerLocation = new location_Model_ttypes.LocationIdentifier();\n          this.partnerLocation.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.mappingCount = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PartnerLocationMappingCount');\n    if (this.partnerLocation !== null && this.partnerLocation !== undefined) {\n      output.writeFieldBegin('partnerLocation', Thrift.Type.STRUCT, 1);\n      this.partnerLocation.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.mappingCount !== null && this.mappingCount !== undefined) {\n      output.writeFieldBegin('mappingCount', Thrift.Type.I32, 2);\n      output.writeI32(this.mappingCount);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InterLocationProductMapping = module.exports.InterLocationProductMapping = class {\n  constructor(args) {\n    this.sourceLocationIdentifier = null;\n    this.sourceProductId = null;\n    this.targetLocationIdentifier = null;\n    this.targetProductId = null;\n    if (args) {\n      if (args.sourceLocationIdentifier !== undefined && args.sourceLocationIdentifier !== null) {\n        this.sourceLocationIdentifier = new location_Model_ttypes.LocationIdentifier(args.sourceLocationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceLocationIdentifier is unset!');\n      }\n      if (args.sourceProductId !== undefined && args.sourceProductId !== null) {\n        this.sourceProductId = new product_Model_ttypes.ProductId(args.sourceProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceProductId is unset!');\n      }\n      if (args.targetLocationIdentifier !== undefined && args.targetLocationIdentifier !== null) {\n        this.targetLocationIdentifier = new location_Model_ttypes.LocationIdentifier(args.targetLocationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetLocationIdentifier is unset!');\n      }\n      if (args.targetProductId !== undefined && args.targetProductId !== null) {\n        this.targetProductId = new product_Model_ttypes.ProductId(args.targetProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetProductId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceLocationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.sourceLocationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceProductId = new product_Model_ttypes.ProductId();\n          this.sourceProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetLocationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.targetLocationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetProductId = new product_Model_ttypes.ProductId();\n          this.targetProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InterLocationProductMapping');\n    if (this.sourceLocationIdentifier !== null && this.sourceLocationIdentifier !== undefined) {\n      output.writeFieldBegin('sourceLocationIdentifier', Thrift.Type.STRUCT, 1);\n      this.sourceLocationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.sourceProductId !== null && this.sourceProductId !== undefined) {\n      output.writeFieldBegin('sourceProductId', Thrift.Type.STRUCT, 2);\n      this.sourceProductId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetLocationIdentifier !== null && this.targetLocationIdentifier !== undefined) {\n      output.writeFieldBegin('targetLocationIdentifier', Thrift.Type.STRUCT, 3);\n      this.targetLocationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetProductId !== null && this.targetProductId !== undefined) {\n      output.writeFieldBegin('targetProductId', Thrift.Type.STRUCT, 4);\n      this.targetProductId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst MappingUpdateEvent = module.exports.MappingUpdateEvent = class {\n  constructor(args) {\n    this.sourceProductId = null;\n    this.targetProductId = null;\n    this.updateTime = null;\n    this.actor = null;\n    this.matchAlgorithm = null;\n    if (args) {\n      if (args.sourceProductId !== undefined && args.sourceProductId !== null) {\n        this.sourceProductId = new product_Model_ttypes.ProductId(args.sourceProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field sourceProductId is unset!');\n      }\n      if (args.targetProductId !== undefined && args.targetProductId !== null) {\n        this.targetProductId = new product_Model_ttypes.ProductId(args.targetProductId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field targetProductId is unset!');\n      }\n      if (args.updateTime !== undefined && args.updateTime !== null) {\n        this.updateTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.updateTime);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field updateTime is unset!');\n      }\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserAccountIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.matchAlgorithm !== undefined && args.matchAlgorithm !== null) {\n        this.matchAlgorithm = args.matchAlgorithm;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field matchAlgorithm is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.sourceProductId = new product_Model_ttypes.ProductId();\n          this.sourceProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.targetProductId = new product_Model_ttypes.ProductId();\n          this.targetProductId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.updateTime = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.updateTime.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserAccountIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.I32) {\n          this.matchAlgorithm = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('MappingUpdateEvent');\n    if (this.sourceProductId !== null && this.sourceProductId !== undefined) {\n      output.writeFieldBegin('sourceProductId', Thrift.Type.STRUCT, 1);\n      this.sourceProductId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.targetProductId !== null && this.targetProductId !== undefined) {\n      output.writeFieldBegin('targetProductId', Thrift.Type.STRUCT, 2);\n      this.targetProductId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.updateTime !== null && this.updateTime !== undefined) {\n      output.writeFieldBegin('updateTime', Thrift.Type.STRUCT, 3);\n      this.updateTime.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 4);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.matchAlgorithm !== null && this.matchAlgorithm !== undefined) {\n      output.writeFieldBegin('matchAlgorithm', Thrift.Type.I32, 5);\n      output.writeI32(this.matchAlgorithm);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst product_amount_Exceptions_ttypes = require('./product_amount_Exceptions_types');\nconst product_mapping_Model_ttypes = require('./product_mapping_Model_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst product_mapping_Exceptions_ttypes = require('./product_mapping_Exceptions_types');\nconst inventory_transfer_report_Exceptions_ttypes = require('./inventory_transfer_report_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst inventory_Model_ttypes = require('./inventory_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst InvalidArgumentsToCreateViewEventException = module.exports.InvalidArgumentsToCreateViewEventException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"InvalidArgumentsToCreateViewEventException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InvalidArgumentsToCreateViewEventException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InvalidPublicContentTypeArgumentException = module.exports.InvalidPublicContentTypeArgumentException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"InvalidPublicContentTypeArgumentException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InvalidPublicContentTypeArgumentException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\n\n\nconst ttypes = module.exports = {};\nttypes.PublicContentViewEventType = {\n  '0' : 'PAGE_VIEW',\n  'PAGE_VIEW' : 0,\n  '1' : 'DOWNLOAD',\n  'DOWNLOAD' : 1\n};\nttypes.PublicContentType = {\n  '0' : 'POST',\n  'POST' : 0,\n  '1' : 'RESOURCE',\n  'RESOURCE' : 1\n};\nconst PublicContentUrl = module.exports.PublicContentUrl = class {\n  constructor(args) {\n    this.hostname = null;\n    this.path = null;\n    if (args) {\n      if (args.hostname !== undefined && args.hostname !== null) {\n        this.hostname = args.hostname;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field hostname is unset!');\n      }\n      if (args.path !== undefined && args.path !== null) {\n        this.path = args.path;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field path is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.hostname = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.path = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentUrl');\n    if (this.hostname !== null && this.hostname !== undefined) {\n      output.writeFieldBegin('hostname', Thrift.Type.STRING, 1);\n      output.writeString(this.hostname);\n      output.writeFieldEnd();\n    }\n    if (this.path !== null && this.path !== undefined) {\n      output.writeFieldBegin('path', Thrift.Type.STRING, 2);\n      output.writeString(this.path);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContentViewEvent = module.exports.PublicContentViewEvent = class {\n  constructor(args) {\n    this.eventTimestamp = null;\n    this.referrer = null;\n    this.eventType = null;\n    this.publicContentUrlParameters = null;\n    this.publicContentUrl = null;\n    if (args) {\n      if (args.eventTimestamp !== undefined && args.eventTimestamp !== null) {\n        this.eventTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.eventTimestamp);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field eventTimestamp is unset!');\n      }\n      if (args.referrer !== undefined && args.referrer !== null) {\n        this.referrer = args.referrer;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field referrer is unset!');\n      }\n      if (args.eventType !== undefined && args.eventType !== null) {\n        this.eventType = args.eventType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field eventType is unset!');\n      }\n      if (args.publicContentUrlParameters !== undefined && args.publicContentUrlParameters !== null) {\n        this.publicContentUrlParameters = Thrift.copyMap(args.publicContentUrlParameters, [Thrift.copyList, null]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentUrlParameters is unset!');\n      }\n      if (args.publicContentUrl !== undefined && args.publicContentUrl !== null) {\n        this.publicContentUrl = new ttypes.PublicContentUrl(args.publicContentUrl);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentUrl is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.eventTimestamp = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.eventTimestamp.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.referrer = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.I32) {\n          this.eventType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.MAP) {\n          this.publicContentUrlParameters = {};\n          const _rtmp31 = input.readMapBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let key3 = null;\n            let val4 = null;\n            key3 = input.readString();\n            val4 = [];\n            const _rtmp36 = input.readListBegin();\n            const _size5 = _rtmp36.size || 0;\n            for (let _i7 = 0; _i7 < _size5; ++_i7) {\n              let elem8 = null;\n              elem8 = input.readString();\n              val4.push(elem8);\n            }\n            input.readListEnd();\n            this.publicContentUrlParameters[key3] = val4;\n          }\n          input.readMapEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.publicContentUrl = new ttypes.PublicContentUrl();\n          this.publicContentUrl.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentViewEvent');\n    if (this.eventTimestamp !== null && this.eventTimestamp !== undefined) {\n      output.writeFieldBegin('eventTimestamp', Thrift.Type.STRUCT, 1);\n      this.eventTimestamp.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.referrer !== null && this.referrer !== undefined) {\n      output.writeFieldBegin('referrer', Thrift.Type.STRING, 2);\n      output.writeString(this.referrer);\n      output.writeFieldEnd();\n    }\n    if (this.eventType !== null && this.eventType !== undefined) {\n      output.writeFieldBegin('eventType', Thrift.Type.I32, 3);\n      output.writeI32(this.eventType);\n      output.writeFieldEnd();\n    }\n    if (this.publicContentUrlParameters !== null && this.publicContentUrlParameters !== undefined) {\n      output.writeFieldBegin('publicContentUrlParameters', Thrift.Type.MAP, 4);\n      output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.LIST, Thrift.objectLength(this.publicContentUrlParameters));\n      for (let kiter9 in this.publicContentUrlParameters) {\n        if (this.publicContentUrlParameters.hasOwnProperty(kiter9)) {\n          let viter10 = this.publicContentUrlParameters[kiter9];\n          output.writeString(kiter9);\n          output.writeListBegin(Thrift.Type.STRING, viter10.length);\n          for (let iter11 in viter10) {\n            if (viter10.hasOwnProperty(iter11)) {\n              iter11 = viter10[iter11];\n              output.writeString(iter11);\n            }\n          }\n          output.writeListEnd();\n        }\n      }\n      output.writeMapEnd();\n      output.writeFieldEnd();\n    }\n    if (this.publicContentUrl !== null && this.publicContentUrl !== undefined) {\n      output.writeFieldBegin('publicContentUrl', Thrift.Type.STRUCT, 5);\n      this.publicContentUrl.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContent = module.exports.PublicContent = class {\n  constructor(args) {\n    this.publicContentUrl = null;\n    this.publicContentType = null;\n    this.title = null;\n    this.excerpt = null;\n    this.thumbnailUrl = null;\n    this.publicationDate = null;\n    if (args) {\n      if (args.publicContentUrl !== undefined && args.publicContentUrl !== null) {\n        this.publicContentUrl = new ttypes.PublicContentUrl(args.publicContentUrl);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentUrl is unset!');\n      }\n      if (args.publicContentType !== undefined && args.publicContentType !== null) {\n        this.publicContentType = args.publicContentType;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContentType is unset!');\n      }\n      if (args.title !== undefined && args.title !== null) {\n        this.title = args.title;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field title is unset!');\n      }\n      if (args.excerpt !== undefined && args.excerpt !== null) {\n        this.excerpt = args.excerpt;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field excerpt is unset!');\n      }\n      if (args.thumbnailUrl !== undefined && args.thumbnailUrl !== null) {\n        this.thumbnailUrl = args.thumbnailUrl;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field thumbnailUrl is unset!');\n      }\n      if (args.publicationDate !== undefined && args.publicationDate !== null) {\n        this.publicationDate = new core_time_Model_ttypes.TimestampWithSecondPrecision(args.publicationDate);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicationDate is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.publicContentUrl = new ttypes.PublicContentUrl();\n          this.publicContentUrl.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.I32) {\n          this.publicContentType = input.readI32();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.title = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.excerpt = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.thumbnailUrl = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.publicationDate = new core_time_Model_ttypes.TimestampWithSecondPrecision();\n          this.publicationDate.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContent');\n    if (this.publicContentUrl !== null && this.publicContentUrl !== undefined) {\n      output.writeFieldBegin('publicContentUrl', Thrift.Type.STRUCT, 1);\n      this.publicContentUrl.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.publicContentType !== null && this.publicContentType !== undefined) {\n      output.writeFieldBegin('publicContentType', Thrift.Type.I32, 2);\n      output.writeI32(this.publicContentType);\n      output.writeFieldEnd();\n    }\n    if (this.title !== null && this.title !== undefined) {\n      output.writeFieldBegin('title', Thrift.Type.STRING, 3);\n      output.writeString(this.title);\n      output.writeFieldEnd();\n    }\n    if (this.excerpt !== null && this.excerpt !== undefined) {\n      output.writeFieldBegin('excerpt', Thrift.Type.STRING, 4);\n      output.writeString(this.excerpt);\n      output.writeFieldEnd();\n    }\n    if (this.thumbnailUrl !== null && this.thumbnailUrl !== undefined) {\n      output.writeFieldBegin('thumbnailUrl', Thrift.Type.STRING, 5);\n      output.writeString(this.thumbnailUrl);\n      output.writeFieldEnd();\n    }\n    if (this.publicationDate !== null && this.publicationDate !== undefined) {\n      output.writeFieldBegin('publicationDate', Thrift.Type.STRUCT, 6);\n      this.publicationDate.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PublicContentAndPublicContentViewEvent = module.exports.PublicContentAndPublicContentViewEvent = class {\n  constructor(args) {\n    this.publicContent = null;\n    this.publicContentViewEvent = null;\n    if (args) {\n      if (args.publicContent !== undefined && args.publicContent !== null) {\n        this.publicContent = new ttypes.PublicContent(args.publicContent);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field publicContent is unset!');\n      }\n      if (args.publicContentViewEvent !== undefined && args.publicContentViewEvent !== null) {\n        this.publicContentViewEvent = new ttypes.PublicContentViewEvent(args.publicContentViewEvent);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.publicContent = new ttypes.PublicContent();\n          this.publicContent.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.publicContentViewEvent = new ttypes.PublicContentViewEvent();\n          this.publicContentViewEvent.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PublicContentAndPublicContentViewEvent');\n    if (this.publicContent !== null && this.publicContent !== undefined) {\n      output.writeFieldBegin('publicContent', Thrift.Type.STRUCT, 1);\n      this.publicContent.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.publicContentViewEvent !== null && this.publicContentViewEvent !== undefined) {\n      output.writeFieldBegin('publicContentViewEvent', Thrift.Type.STRUCT, 2);\n      this.publicContentViewEvent.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UserPublicContent = module.exports.UserPublicContent = class {\n  constructor(args) {\n    this.recentlyViewed = null;\n    this.recommended = null;\n    if (args) {\n      if (args.recentlyViewed !== undefined && args.recentlyViewed !== null) {\n        this.recentlyViewed = Thrift.copyList(args.recentlyViewed, [ttypes.PublicContentAndPublicContentViewEvent]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field recentlyViewed is unset!');\n      }\n      if (args.recommended !== undefined && args.recommended !== null) {\n        this.recommended = Thrift.copyList(args.recommended, [ttypes.PublicContentAndPublicContentViewEvent]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field recommended is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.SET) {\n          this.recentlyViewed = [];\n          const _rtmp313 = input.readSetBegin();\n          const _size12 = _rtmp313.size || 0;\n          for (let _i14 = 0; _i14 < _size12; ++_i14) {\n            let elem15 = null;\n            elem15 = new ttypes.PublicContentAndPublicContentViewEvent();\n            elem15.read(input);\n            this.recentlyViewed.push(elem15);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.SET) {\n          this.recommended = [];\n          const _rtmp317 = input.readSetBegin();\n          const _size16 = _rtmp317.size || 0;\n          for (let _i18 = 0; _i18 < _size16; ++_i18) {\n            let elem19 = null;\n            elem19 = new ttypes.PublicContentAndPublicContentViewEvent();\n            elem19.read(input);\n            this.recommended.push(elem19);\n          }\n          input.readSetEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserPublicContent');\n    if (this.recentlyViewed !== null && this.recentlyViewed !== undefined) {\n      output.writeFieldBegin('recentlyViewed', Thrift.Type.SET, 1);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.recentlyViewed.length);\n      for (let iter20 in this.recentlyViewed) {\n        if (this.recentlyViewed.hasOwnProperty(iter20)) {\n          iter20 = this.recentlyViewed[iter20];\n          iter20.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    if (this.recommended !== null && this.recommended !== undefined) {\n      output.writeFieldBegin('recommended', Thrift.Type.SET, 2);\n      output.writeSetBegin(Thrift.Type.STRUCT, this.recommended.length);\n      for (let iter21 in this.recommended) {\n        if (this.recommended.hasOwnProperty(iter21)) {\n          iter21 = this.recommended[iter21];\n          iter21.write(output);\n        }\n      }\n      output.writeSetEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst public_content_Model_ttypes = require('./public_content_Model_types');\nconst public_content_Exceptions_ttypes = require('./public_content_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnknownSalesItemIdException = module.exports.UnknownSalesItemIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownSalesItemIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownSalesItemIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst money_Model_ttypes = require('./money_Model_types');\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst SalesItemId = module.exports.SalesItemId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemIdAndQuantity = module.exports.SalesItemIdAndQuantity = class {\n  constructor(args) {\n    this.salesItemId = null;\n    this.quantity = null;\n    if (args) {\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.quantity !== undefined && args.quantity !== null) {\n        this.quantity = new core_math_Model_ttypes.Decimal(args.quantity);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantity is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantity = new core_math_Model_ttypes.Decimal();\n          this.quantity.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemIdAndQuantity');\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 1);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantity !== null && this.quantity !== undefined) {\n      output.writeFieldBegin('quantity', Thrift.Type.STRUCT, 2);\n      this.quantity.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesQuantityAndUnit = module.exports.SalesQuantityAndUnit = class {\n  constructor(args) {\n    this.quantity = null;\n    this.unit = null;\n    if (args) {\n      if (args.quantity !== undefined && args.quantity !== null) {\n        this.quantity = new core_math_Model_ttypes.Decimal(args.quantity);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantity is unset!');\n      }\n      if (args.unit !== undefined && args.unit !== null) {\n        this.unit = new product_Model_ttypes.UnitOfMeasure(args.unit);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantity = new core_math_Model_ttypes.Decimal();\n          this.quantity.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.unit = new product_Model_ttypes.UnitOfMeasure();\n          this.unit.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesQuantityAndUnit');\n    if (this.quantity !== null && this.quantity !== undefined) {\n      output.writeFieldBegin('quantity', Thrift.Type.STRUCT, 1);\n      this.quantity.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.unit !== null && this.unit !== undefined) {\n      output.writeFieldBegin('unit', Thrift.Type.STRUCT, 2);\n      this.unit.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItem = module.exports.SalesItem = class {\n  constructor(args) {\n    this.name = null;\n    this.locationId = null;\n    this.menuGroup = null;\n    this.posId = null;\n    this.note = null;\n    this.needsAttentionCategory = null;\n    this.salesPrice = null;\n    this.miscellaneousCost = null;\n    this.componentQuantityOfProductByProductId = null;\n    this.componentServingsBySalesItemId = null;\n    this.itemYield = null;\n    this.servingSize = null;\n    this.salesItemCustomUnitName = null;\n    if (args) {\n      if (args.name !== undefined && args.name !== null) {\n        this.name = args.name;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field name is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.menuGroup !== undefined && args.menuGroup !== null) {\n        this.menuGroup = args.menuGroup;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field menuGroup is unset!');\n      }\n      if (args.posId !== undefined && args.posId !== null) {\n        this.posId = args.posId;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field posId is unset!');\n      }\n      if (args.note !== undefined && args.note !== null) {\n        this.note = args.note;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field note is unset!');\n      }\n      if (args.needsAttentionCategory !== undefined && args.needsAttentionCategory !== null) {\n        this.needsAttentionCategory = args.needsAttentionCategory;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field needsAttentionCategory is unset!');\n      }\n      if (args.salesPrice !== undefined && args.salesPrice !== null) {\n        this.salesPrice = new money_Model_ttypes.MonetaryValue(args.salesPrice);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesPrice is unset!');\n      }\n      if (args.miscellaneousCost !== undefined && args.miscellaneousCost !== null) {\n        this.miscellaneousCost = new money_Model_ttypes.MonetaryValue(args.miscellaneousCost);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field miscellaneousCost is unset!');\n      }\n      if (args.componentQuantityOfProductByProductId !== undefined && args.componentQuantityOfProductByProductId !== null) {\n        this.componentQuantityOfProductByProductId = Thrift.copyList(args.componentQuantityOfProductByProductId, [product_Model_ttypes.ProductIdAndQuantityOfProduct]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field componentQuantityOfProductByProductId is unset!');\n      }\n      if (args.componentServingsBySalesItemId !== undefined && args.componentServingsBySalesItemId !== null) {\n        this.componentServingsBySalesItemId = Thrift.copyList(args.componentServingsBySalesItemId, [ttypes.SalesItemIdAndQuantity]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field componentServingsBySalesItemId is unset!');\n      }\n      if (args.itemYield !== undefined && args.itemYield !== null) {\n        this.itemYield = new ttypes.SalesQuantityAndUnit(args.itemYield);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field itemYield is unset!');\n      }\n      if (args.servingSize !== undefined && args.servingSize !== null) {\n        this.servingSize = new ttypes.SalesQuantityAndUnit(args.servingSize);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field servingSize is unset!');\n      }\n      if (args.salesItemCustomUnitName !== undefined && args.salesItemCustomUnitName !== null) {\n        this.salesItemCustomUnitName = args.salesItemCustomUnitName;\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.name = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.menuGroup = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRING) {\n          this.posId = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRING) {\n          this.note = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.STRING) {\n          this.needsAttentionCategory = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 7:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesPrice = new money_Model_ttypes.MonetaryValue();\n          this.salesPrice.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 8:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.miscellaneousCost = new money_Model_ttypes.MonetaryValue();\n          this.miscellaneousCost.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 9:\n        if (ftype == Thrift.Type.LIST) {\n          this.componentQuantityOfProductByProductId = [];\n          const _rtmp31 = input.readListBegin();\n          const _size0 = _rtmp31.size || 0;\n          for (let _i2 = 0; _i2 < _size0; ++_i2) {\n            let elem3 = null;\n            elem3 = new product_Model_ttypes.ProductIdAndQuantityOfProduct();\n            elem3.read(input);\n            this.componentQuantityOfProductByProductId.push(elem3);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 10:\n        if (ftype == Thrift.Type.LIST) {\n          this.componentServingsBySalesItemId = [];\n          const _rtmp35 = input.readListBegin();\n          const _size4 = _rtmp35.size || 0;\n          for (let _i6 = 0; _i6 < _size4; ++_i6) {\n            let elem7 = null;\n            elem7 = new ttypes.SalesItemIdAndQuantity();\n            elem7.read(input);\n            this.componentServingsBySalesItemId.push(elem7);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 11:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.itemYield = new ttypes.SalesQuantityAndUnit();\n          this.itemYield.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 12:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.servingSize = new ttypes.SalesQuantityAndUnit();\n          this.servingSize.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 13:\n        if (ftype == Thrift.Type.STRING) {\n          this.salesItemCustomUnitName = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItem');\n    if (this.name !== null && this.name !== undefined) {\n      output.writeFieldBegin('name', Thrift.Type.STRING, 1);\n      output.writeString(this.name);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.menuGroup !== null && this.menuGroup !== undefined) {\n      output.writeFieldBegin('menuGroup', Thrift.Type.STRING, 3);\n      output.writeString(this.menuGroup);\n      output.writeFieldEnd();\n    }\n    if (this.posId !== null && this.posId !== undefined) {\n      output.writeFieldBegin('posId', Thrift.Type.STRING, 4);\n      output.writeString(this.posId);\n      output.writeFieldEnd();\n    }\n    if (this.note !== null && this.note !== undefined) {\n      output.writeFieldBegin('note', Thrift.Type.STRING, 5);\n      output.writeString(this.note);\n      output.writeFieldEnd();\n    }\n    if (this.needsAttentionCategory !== null && this.needsAttentionCategory !== undefined) {\n      output.writeFieldBegin('needsAttentionCategory', Thrift.Type.STRING, 6);\n      output.writeString(this.needsAttentionCategory);\n      output.writeFieldEnd();\n    }\n    if (this.salesPrice !== null && this.salesPrice !== undefined) {\n      output.writeFieldBegin('salesPrice', Thrift.Type.STRUCT, 7);\n      this.salesPrice.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.miscellaneousCost !== null && this.miscellaneousCost !== undefined) {\n      output.writeFieldBegin('miscellaneousCost', Thrift.Type.STRUCT, 8);\n      this.miscellaneousCost.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.componentQuantityOfProductByProductId !== null && this.componentQuantityOfProductByProductId !== undefined) {\n      output.writeFieldBegin('componentQuantityOfProductByProductId', Thrift.Type.LIST, 9);\n      output.writeListBegin(Thrift.Type.STRUCT, this.componentQuantityOfProductByProductId.length);\n      for (let iter8 in this.componentQuantityOfProductByProductId) {\n        if (this.componentQuantityOfProductByProductId.hasOwnProperty(iter8)) {\n          iter8 = this.componentQuantityOfProductByProductId[iter8];\n          iter8.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.componentServingsBySalesItemId !== null && this.componentServingsBySalesItemId !== undefined) {\n      output.writeFieldBegin('componentServingsBySalesItemId', Thrift.Type.LIST, 10);\n      output.writeListBegin(Thrift.Type.STRUCT, this.componentServingsBySalesItemId.length);\n      for (let iter9 in this.componentServingsBySalesItemId) {\n        if (this.componentServingsBySalesItemId.hasOwnProperty(iter9)) {\n          iter9 = this.componentServingsBySalesItemId[iter9];\n          iter9.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.itemYield !== null && this.itemYield !== undefined) {\n      output.writeFieldBegin('itemYield', Thrift.Type.STRUCT, 11);\n      this.itemYield.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.servingSize !== null && this.servingSize !== undefined) {\n      output.writeFieldBegin('servingSize', Thrift.Type.STRUCT, 12);\n      this.servingSize.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemCustomUnitName !== null && this.salesItemCustomUnitName !== undefined) {\n      output.writeFieldBegin('salesItemCustomUnitName', Thrift.Type.STRING, 13);\n      output.writeString(this.salesItemCustomUnitName);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemWithMetadata = module.exports.SalesItemWithMetadata = class {\n  constructor(args) {\n    this.salesItem = null;\n    this.creationMetadata = null;\n    this.lastEditedMetadata = null;\n    this.deletionMetadata = null;\n    this.isArchived = null;\n    if (args) {\n      if (args.salesItem !== undefined && args.salesItem !== null) {\n        this.salesItem = new ttypes.SalesItem(args.salesItem);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItem is unset!');\n      }\n      if (args.creationMetadata !== undefined && args.creationMetadata !== null) {\n        this.creationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.creationMetadata);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field creationMetadata is unset!');\n      }\n      if (args.lastEditedMetadata !== undefined && args.lastEditedMetadata !== null) {\n        this.lastEditedMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.lastEditedMetadata);\n      }\n      if (args.deletionMetadata !== undefined && args.deletionMetadata !== null) {\n        this.deletionMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.deletionMetadata);\n      }\n      if (args.isArchived !== undefined && args.isArchived !== null) {\n        this.isArchived = args.isArchived;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field isArchived is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItem = new ttypes.SalesItem();\n          this.salesItem.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.creationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.creationMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.lastEditedMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.lastEditedMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.deletionMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.deletionMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isArchived = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemWithMetadata');\n    if (this.salesItem !== null && this.salesItem !== undefined) {\n      output.writeFieldBegin('salesItem', Thrift.Type.STRUCT, 1);\n      this.salesItem.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.creationMetadata !== null && this.creationMetadata !== undefined) {\n      output.writeFieldBegin('creationMetadata', Thrift.Type.STRUCT, 2);\n      this.creationMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.lastEditedMetadata !== null && this.lastEditedMetadata !== undefined) {\n      output.writeFieldBegin('lastEditedMetadata', Thrift.Type.STRUCT, 3);\n      this.lastEditedMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.deletionMetadata !== null && this.deletionMetadata !== undefined) {\n      output.writeFieldBegin('deletionMetadata', Thrift.Type.STRUCT, 4);\n      this.deletionMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.isArchived !== null && this.isArchived !== undefined) {\n      output.writeFieldBegin('isArchived', Thrift.Type.BOOL, 5);\n      output.writeBool(this.isArchived);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemAndId = module.exports.SalesItemAndId = class {\n  constructor(args) {\n    this.salesItemId = null;\n    this.salesItemWithMetadata = null;\n    if (args) {\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.salesItemWithMetadata !== undefined && args.salesItemWithMetadata !== null) {\n        this.salesItemWithMetadata = new ttypes.SalesItemWithMetadata(args.salesItemWithMetadata);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemWithMetadata is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemWithMetadata = new ttypes.SalesItemWithMetadata();\n          this.salesItemWithMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemAndId');\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 1);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemWithMetadata !== null && this.salesItemWithMetadata !== undefined) {\n      output.writeFieldBegin('salesItemWithMetadata', Thrift.Type.STRUCT, 2);\n      this.salesItemWithMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemIdAndQuantityOfProduct = module.exports.SalesItemIdAndQuantityOfProduct = class {\n  constructor(args) {\n    this.salesItemId = null;\n    this.quantityOfProduct = null;\n    if (args) {\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.quantityOfProduct !== undefined && args.quantityOfProduct !== null) {\n        this.quantityOfProduct = new product_Model_ttypes.QuantityOfProduct(args.quantityOfProduct);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantityOfProduct is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityOfProduct = new product_Model_ttypes.QuantityOfProduct();\n          this.quantityOfProduct.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemIdAndQuantityOfProduct');\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 1);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityOfProduct !== null && this.quantityOfProduct !== undefined) {\n      output.writeFieldBegin('quantityOfProduct', Thrift.Type.STRUCT, 2);\n      this.quantityOfProduct.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ItemLevelRevenueAndCostReportConfigurationId = module.exports.ItemLevelRevenueAndCostReportConfigurationId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ItemLevelRevenueAndCostReportConfigurationId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ItemLevelReportConfigurationIdAndSalesItemIds = module.exports.ItemLevelReportConfigurationIdAndSalesItemIds = class {\n  constructor(args) {\n    this.reportId = null;\n    this.salesItemIds = null;\n    if (args) {\n      if (args.reportId !== undefined && args.reportId !== null) {\n        this.reportId = new ttypes.ItemLevelRevenueAndCostReportConfigurationId(args.reportId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field reportId is unset!');\n      }\n      if (args.salesItemIds !== undefined && args.salesItemIds !== null) {\n        this.salesItemIds = Thrift.copyList(args.salesItemIds, [ttypes.SalesItemId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemIds is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.reportId = new ttypes.ItemLevelRevenueAndCostReportConfigurationId();\n          this.reportId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.LIST) {\n          this.salesItemIds = [];\n          const _rtmp311 = input.readListBegin();\n          const _size10 = _rtmp311.size || 0;\n          for (let _i12 = 0; _i12 < _size10; ++_i12) {\n            let elem13 = null;\n            elem13 = new ttypes.SalesItemId();\n            elem13.read(input);\n            this.salesItemIds.push(elem13);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ItemLevelReportConfigurationIdAndSalesItemIds');\n    if (this.reportId !== null && this.reportId !== undefined) {\n      output.writeFieldBegin('reportId', Thrift.Type.STRUCT, 1);\n      this.reportId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemIds !== null && this.salesItemIds !== undefined) {\n      output.writeFieldBegin('salesItemIds', Thrift.Type.LIST, 2);\n      output.writeListBegin(Thrift.Type.STRUCT, this.salesItemIds.length);\n      for (let iter14 in this.salesItemIds) {\n        if (this.salesItemIds.hasOwnProperty(iter14)) {\n          iter14 = this.salesItemIds[iter14];\n          iter14.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemIdMapping = module.exports.SalesItemIdMapping = class {\n  constructor(args) {\n    this.oldSalesItemId = null;\n    this.newSalesItemId = null;\n    if (args) {\n      if (args.oldSalesItemId !== undefined && args.oldSalesItemId !== null) {\n        this.oldSalesItemId = new ttypes.SalesItemId(args.oldSalesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field oldSalesItemId is unset!');\n      }\n      if (args.newSalesItemId !== undefined && args.newSalesItemId !== null) {\n        this.newSalesItemId = new ttypes.SalesItemId(args.newSalesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field newSalesItemId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.oldSalesItemId = new ttypes.SalesItemId();\n          this.oldSalesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.newSalesItemId = new ttypes.SalesItemId();\n          this.newSalesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemIdMapping');\n    if (this.oldSalesItemId !== null && this.oldSalesItemId !== undefined) {\n      output.writeFieldBegin('oldSalesItemId', Thrift.Type.STRUCT, 1);\n      this.oldSalesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.newSalesItemId !== null && this.newSalesItemId !== undefined) {\n      output.writeFieldBegin('newSalesItemId', Thrift.Type.STRUCT, 2);\n      this.newSalesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AdminRemoveSalesItemsResponse = module.exports.AdminRemoveSalesItemsResponse = class {\n  constructor(args) {\n    this.canDelete = null;\n    this.deleteSuccess = null;\n    this.matchedSalesItemInfoById = null;\n    this.hasComponentItemsIds = null;\n    this.usedInOtherSalesItemsIds = null;\n    this.referencedItemsByReportId = null;\n    if (args) {\n      if (args.canDelete !== undefined && args.canDelete !== null) {\n        this.canDelete = args.canDelete;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field canDelete is unset!');\n      }\n      if (args.deleteSuccess !== undefined && args.deleteSuccess !== null) {\n        this.deleteSuccess = args.deleteSuccess;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field deleteSuccess is unset!');\n      }\n      if (args.matchedSalesItemInfoById !== undefined && args.matchedSalesItemInfoById !== null) {\n        this.matchedSalesItemInfoById = Thrift.copyList(args.matchedSalesItemInfoById, [ttypes.SalesItemAndId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field matchedSalesItemInfoById is unset!');\n      }\n      if (args.hasComponentItemsIds !== undefined && args.hasComponentItemsIds !== null) {\n        this.hasComponentItemsIds = Thrift.copyList(args.hasComponentItemsIds, [ttypes.SalesItemId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field hasComponentItemsIds is unset!');\n      }\n      if (args.usedInOtherSalesItemsIds !== undefined && args.usedInOtherSalesItemsIds !== null) {\n        this.usedInOtherSalesItemsIds = Thrift.copyList(args.usedInOtherSalesItemsIds, [ttypes.SalesItemId]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field usedInOtherSalesItemsIds is unset!');\n      }\n      if (args.referencedItemsByReportId !== undefined && args.referencedItemsByReportId !== null) {\n        this.referencedItemsByReportId = Thrift.copyList(args.referencedItemsByReportId, [ttypes.ItemLevelReportConfigurationIdAndSalesItemIds]);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field referencedItemsByReportId is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.BOOL) {\n          this.canDelete = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.BOOL) {\n          this.deleteSuccess = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.LIST) {\n          this.matchedSalesItemInfoById = [];\n          const _rtmp316 = input.readListBegin();\n          const _size15 = _rtmp316.size || 0;\n          for (let _i17 = 0; _i17 < _size15; ++_i17) {\n            let elem18 = null;\n            elem18 = new ttypes.SalesItemAndId();\n            elem18.read(input);\n            this.matchedSalesItemInfoById.push(elem18);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.LIST) {\n          this.hasComponentItemsIds = [];\n          const _rtmp320 = input.readListBegin();\n          const _size19 = _rtmp320.size || 0;\n          for (let _i21 = 0; _i21 < _size19; ++_i21) {\n            let elem22 = null;\n            elem22 = new ttypes.SalesItemId();\n            elem22.read(input);\n            this.hasComponentItemsIds.push(elem22);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.LIST) {\n          this.usedInOtherSalesItemsIds = [];\n          const _rtmp324 = input.readListBegin();\n          const _size23 = _rtmp324.size || 0;\n          for (let _i25 = 0; _i25 < _size23; ++_i25) {\n            let elem26 = null;\n            elem26 = new ttypes.SalesItemId();\n            elem26.read(input);\n            this.usedInOtherSalesItemsIds.push(elem26);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.LIST) {\n          this.referencedItemsByReportId = [];\n          const _rtmp328 = input.readListBegin();\n          const _size27 = _rtmp328.size || 0;\n          for (let _i29 = 0; _i29 < _size27; ++_i29) {\n            let elem30 = null;\n            elem30 = new ttypes.ItemLevelReportConfigurationIdAndSalesItemIds();\n            elem30.read(input);\n            this.referencedItemsByReportId.push(elem30);\n          }\n          input.readListEnd();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AdminRemoveSalesItemsResponse');\n    if (this.canDelete !== null && this.canDelete !== undefined) {\n      output.writeFieldBegin('canDelete', Thrift.Type.BOOL, 1);\n      output.writeBool(this.canDelete);\n      output.writeFieldEnd();\n    }\n    if (this.deleteSuccess !== null && this.deleteSuccess !== undefined) {\n      output.writeFieldBegin('deleteSuccess', Thrift.Type.BOOL, 2);\n      output.writeBool(this.deleteSuccess);\n      output.writeFieldEnd();\n    }\n    if (this.matchedSalesItemInfoById !== null && this.matchedSalesItemInfoById !== undefined) {\n      output.writeFieldBegin('matchedSalesItemInfoById', Thrift.Type.LIST, 3);\n      output.writeListBegin(Thrift.Type.STRUCT, this.matchedSalesItemInfoById.length);\n      for (let iter31 in this.matchedSalesItemInfoById) {\n        if (this.matchedSalesItemInfoById.hasOwnProperty(iter31)) {\n          iter31 = this.matchedSalesItemInfoById[iter31];\n          iter31.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.hasComponentItemsIds !== null && this.hasComponentItemsIds !== undefined) {\n      output.writeFieldBegin('hasComponentItemsIds', Thrift.Type.LIST, 4);\n      output.writeListBegin(Thrift.Type.STRUCT, this.hasComponentItemsIds.length);\n      for (let iter32 in this.hasComponentItemsIds) {\n        if (this.hasComponentItemsIds.hasOwnProperty(iter32)) {\n          iter32 = this.hasComponentItemsIds[iter32];\n          iter32.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.usedInOtherSalesItemsIds !== null && this.usedInOtherSalesItemsIds !== undefined) {\n      output.writeFieldBegin('usedInOtherSalesItemsIds', Thrift.Type.LIST, 5);\n      output.writeListBegin(Thrift.Type.STRUCT, this.usedInOtherSalesItemsIds.length);\n      for (let iter33 in this.usedInOtherSalesItemsIds) {\n        if (this.usedInOtherSalesItemsIds.hasOwnProperty(iter33)) {\n          iter33 = this.usedInOtherSalesItemsIds[iter33];\n          iter33.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    if (this.referencedItemsByReportId !== null && this.referencedItemsByReportId !== undefined) {\n      output.writeFieldBegin('referencedItemsByReportId', Thrift.Type.LIST, 6);\n      output.writeListBegin(Thrift.Type.STRUCT, this.referencedItemsByReportId.length);\n      for (let iter34 in this.referencedItemsByReportId) {\n        if (this.referencedItemsByReportId.hasOwnProperty(iter34)) {\n          iter34 = this.referencedItemsByReportId[iter34];\n          iter34.write(output);\n        }\n      }\n      output.writeListEnd();\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemImageUploadUrl = module.exports.SalesItemImageUploadUrl = class {\n  constructor(args) {\n    this.salesItemId = null;\n    this.url = null;\n    if (args) {\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.url !== undefined && args.url !== null) {\n        this.url = args.url;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field url is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRING) {\n          this.url = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemImageUploadUrl');\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 1);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.url !== null && this.url !== undefined) {\n      output.writeFieldBegin('url', Thrift.Type.STRING, 2);\n      output.writeString(this.url);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst UpdateSalesItemRequest = module.exports.UpdateSalesItemRequest = class {\n  constructor(args) {\n    this.actor = null;\n    this.salesItemId = null;\n    this.salesItem = null;\n    this.itemLevelRevenueAndCostReportConfigurationId = null;\n    if (args) {\n      if (args.actor !== undefined && args.actor !== null) {\n        this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier(args.actor);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field actor is unset!');\n      }\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.salesItem !== undefined && args.salesItem !== null) {\n        this.salesItem = new ttypes.SalesItem(args.salesItem);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItem is unset!');\n      }\n      if (args.itemLevelRevenueAndCostReportConfigurationId !== undefined && args.itemLevelRevenueAndCostReportConfigurationId !== null) {\n        this.itemLevelRevenueAndCostReportConfigurationId = new ttypes.ItemLevelRevenueAndCostReportConfigurationId(args.itemLevelRevenueAndCostReportConfigurationId);\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.actor = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.actor.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItem = new ttypes.SalesItem();\n          this.salesItem.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.itemLevelRevenueAndCostReportConfigurationId = new ttypes.ItemLevelRevenueAndCostReportConfigurationId();\n          this.itemLevelRevenueAndCostReportConfigurationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UpdateSalesItemRequest');\n    if (this.actor !== null && this.actor !== undefined) {\n      output.writeFieldBegin('actor', Thrift.Type.STRUCT, 1);\n      this.actor.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 2);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesItem !== null && this.salesItem !== undefined) {\n      output.writeFieldBegin('salesItem', Thrift.Type.STRUCT, 3);\n      this.salesItem.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.itemLevelRevenueAndCostReportConfigurationId !== null && this.itemLevelRevenueAndCostReportConfigurationId !== undefined) {\n      output.writeFieldBegin('itemLevelRevenueAndCostReportConfigurationId', Thrift.Type.STRUCT, 4);\n      this.itemLevelRevenueAndCostReportConfigurationId.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst AdminRemoveSalesItemsForLocationRequest = module.exports.AdminRemoveSalesItemsForLocationRequest = class {\n  constructor(args) {\n    this.userSessionIdentifier = null;\n    this.locationIdentifier = null;\n    this.createdAfter = null;\n    this.createdBefore = null;\n    this.createdByRequesterOnly = null;\n    this.applyDeletion = null;\n    if (args) {\n      if (args.userSessionIdentifier !== undefined && args.userSessionIdentifier !== null) {\n        this.userSessionIdentifier = new accounts_user_Model_ttypes.UserSessionIdentifier(args.userSessionIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field userSessionIdentifier is unset!');\n      }\n      if (args.locationIdentifier !== undefined && args.locationIdentifier !== null) {\n        this.locationIdentifier = new location_Model_ttypes.LocationIdentifier(args.locationIdentifier);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationIdentifier is unset!');\n      }\n      if (args.createdAfter !== undefined && args.createdAfter !== null) {\n        this.createdAfter = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.createdAfter);\n      }\n      if (args.createdBefore !== undefined && args.createdBefore !== null) {\n        this.createdBefore = new core_time_Model_ttypes.TimestampWithMillisecondPrecision(args.createdBefore);\n      }\n      if (args.createdByRequesterOnly !== undefined && args.createdByRequesterOnly !== null) {\n        this.createdByRequesterOnly = args.createdByRequesterOnly;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field createdByRequesterOnly is unset!');\n      }\n      if (args.applyDeletion !== undefined && args.applyDeletion !== null) {\n        this.applyDeletion = args.applyDeletion;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field applyDeletion is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.userSessionIdentifier = new accounts_user_Model_ttypes.UserSessionIdentifier();\n          this.userSessionIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationIdentifier = new location_Model_ttypes.LocationIdentifier();\n          this.locationIdentifier.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.createdAfter = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.createdAfter.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.createdBefore = new core_time_Model_ttypes.TimestampWithMillisecondPrecision();\n          this.createdBefore.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.BOOL) {\n          this.createdByRequesterOnly = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 6:\n        if (ftype == Thrift.Type.BOOL) {\n          this.applyDeletion = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('AdminRemoveSalesItemsForLocationRequest');\n    if (this.userSessionIdentifier !== null && this.userSessionIdentifier !== undefined) {\n      output.writeFieldBegin('userSessionIdentifier', Thrift.Type.STRUCT, 1);\n      this.userSessionIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.locationIdentifier !== null && this.locationIdentifier !== undefined) {\n      output.writeFieldBegin('locationIdentifier', Thrift.Type.STRUCT, 2);\n      this.locationIdentifier.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.createdAfter !== null && this.createdAfter !== undefined) {\n      output.writeFieldBegin('createdAfter', Thrift.Type.STRUCT, 3);\n      this.createdAfter.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.createdBefore !== null && this.createdBefore !== undefined) {\n      output.writeFieldBegin('createdBefore', Thrift.Type.STRUCT, 4);\n      this.createdBefore.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.createdByRequesterOnly !== null && this.createdByRequesterOnly !== undefined) {\n      output.writeFieldBegin('createdByRequesterOnly', Thrift.Type.BOOL, 5);\n      output.writeBool(this.createdByRequesterOnly);\n      output.writeFieldEnd();\n    }\n    if (this.applyDeletion !== null && this.applyDeletion !== undefined) {\n      output.writeFieldBegin('applyDeletion', Thrift.Type.BOOL, 6);\n      output.writeBool(this.applyDeletion);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst product_Model_ttypes = require('./product_Model_types');\nconst sales_item_Model_ttypes = require('./sales_item_Model_types');\nconst sales_item_Exceptions_ttypes = require('./sales_item_Exceptions_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst product_Exceptions_ttypes = require('./product_Exceptions_types');\nconst money_Model_ttypes = require('./money_Model_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst core_math_Model_ttypes = require('./core_math_Model_types');\nconst sales_item_Model_ttypes = require('./sales_item_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst SalesEntry = module.exports.SalesEntry = class {\n  constructor(args) {\n    this.price = null;\n    this.quantity = null;\n    this.quantityAdjustment = null;\n    this.salesAdjustment = null;\n    if (args) {\n      if (args.price !== undefined && args.price !== null) {\n        this.price = new core_math_Model_ttypes.Decimal(args.price);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field price is unset!');\n      }\n      if (args.quantity !== undefined && args.quantity !== null) {\n        this.quantity = new core_math_Model_ttypes.Decimal(args.quantity);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantity is unset!');\n      }\n      if (args.quantityAdjustment !== undefined && args.quantityAdjustment !== null) {\n        this.quantityAdjustment = new core_math_Model_ttypes.Decimal(args.quantityAdjustment);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field quantityAdjustment is unset!');\n      }\n      if (args.salesAdjustment !== undefined && args.salesAdjustment !== null) {\n        this.salesAdjustment = new core_math_Model_ttypes.Decimal(args.salesAdjustment);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesAdjustment is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.price = new core_math_Model_ttypes.Decimal();\n          this.price.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantity = new core_math_Model_ttypes.Decimal();\n          this.quantity.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.quantityAdjustment = new core_math_Model_ttypes.Decimal();\n          this.quantityAdjustment.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesAdjustment = new core_math_Model_ttypes.Decimal();\n          this.salesAdjustment.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesEntry');\n    if (this.price !== null && this.price !== undefined) {\n      output.writeFieldBegin('price', Thrift.Type.STRUCT, 1);\n      this.price.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantity !== null && this.quantity !== undefined) {\n      output.writeFieldBegin('quantity', Thrift.Type.STRUCT, 2);\n      this.quantity.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.quantityAdjustment !== null && this.quantityAdjustment !== undefined) {\n      output.writeFieldBegin('quantityAdjustment', Thrift.Type.STRUCT, 3);\n      this.quantityAdjustment.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesAdjustment !== null && this.salesAdjustment !== undefined) {\n      output.writeFieldBegin('salesAdjustment', Thrift.Type.STRUCT, 4);\n      this.salesAdjustment.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SalesItemIdAndSalesEntry = module.exports.SalesItemIdAndSalesEntry = class {\n  constructor(args) {\n    this.salesItemId = null;\n    this.salesEntry = null;\n    if (args) {\n      if (args.salesItemId !== undefined && args.salesItemId !== null) {\n        this.salesItemId = new sales_item_Model_ttypes.SalesItemId(args.salesItemId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesItemId is unset!');\n      }\n      if (args.salesEntry !== undefined && args.salesEntry !== null) {\n        this.salesEntry = new ttypes.SalesEntry(args.salesEntry);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field salesEntry is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesItemId = new sales_item_Model_ttypes.SalesItemId();\n          this.salesItemId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.salesEntry = new ttypes.SalesEntry();\n          this.salesEntry.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SalesItemIdAndSalesEntry');\n    if (this.salesItemId !== null && this.salesItemId !== undefined) {\n      output.writeFieldBegin('salesItemId', Thrift.Type.STRUCT, 1);\n      this.salesItemId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.salesEntry !== null && this.salesEntry !== undefined) {\n      output.writeFieldBegin('salesEntry', Thrift.Type.STRUCT, 2);\n      this.salesEntry.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnknownUnauthenticatedUserSessionIdException = module.exports.UnknownUnauthenticatedUserSessionIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownUnauthenticatedUserSessionIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownUnauthenticatedUserSessionIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst CanvasDataInvalidStringLengthException = module.exports.CanvasDataInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"CanvasDataInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('CanvasDataInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst WebGLVendorInvalidStringLengthException = module.exports.WebGLVendorInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"WebGLVendorInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('WebGLVendorInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst WebGLRendererInvalidStringLengthException = module.exports.WebGLRendererInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"WebGLRendererInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('WebGLRendererInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PluginsInvalidStringLengthException = module.exports.PluginsInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PluginsInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PluginsInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LocalStorageAllowedInvalidStringLengthException = module.exports.LocalStorageAllowedInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LocalStorageAllowedInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LocalStorageAllowedInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst SessionStorageAllowedInvalidStringLengthException = module.exports.SessionStorageAllowedInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"SessionStorageAllowedInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('SessionStorageAllowedInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst CookieAllowedInvalidStringLengthException = module.exports.CookieAllowedInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"CookieAllowedInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('CookieAllowedInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PlatformInvalidStringLengthException = module.exports.PlatformInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PlatformInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PlatformInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst DoNotTrackInvalidStringLengthException = module.exports.DoNotTrackInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"DoNotTrackInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('DoNotTrackInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst TimezoneInvalidStringLengthException = module.exports.TimezoneInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"TimezoneInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('TimezoneInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ResolutionInvalidStringLengthException = module.exports.ResolutionInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ResolutionInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ResolutionInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ReferrerInvalidStringLengthException = module.exports.ReferrerInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ReferrerInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ReferrerInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnauthenticatedUserSessionId = module.exports.UnauthenticatedUserSessionId = class {\n  constructor(args) {\n    this.value = null;\n    if (args) {\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 0:\n          input.skip(ftype);\n          break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnauthenticatedUserSessionId');\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 1);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst unauthenticated_user_session_Model_ttypes = require('./unauthenticated_user_session_Model_types');\nconst unauthenticated_user_session_Exceptions_ttypes = require('./unauthenticated_user_session_Exceptions_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst UnknownUserActionLogCommentIdException = module.exports.UnknownUserActionLogCommentIdException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"UnknownUserActionLogCommentIdException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UnknownUserActionLogCommentIdException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst location_Model_ttypes = require('./location_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\n\n\nconst ttypes = module.exports = {};\nconst UserActionLogComment = module.exports.UserActionLogComment = class {\n  constructor(args) {\n    this.id = null;\n    this.locationId = null;\n    this.value = null;\n    this.isAdmin = null;\n    this.creationMetadata = null;\n    if (args) {\n      if (args.id !== undefined && args.id !== null) {\n        this.id = args.id;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field id is unset!');\n      }\n      if (args.locationId !== undefined && args.locationId !== null) {\n        this.locationId = new location_Model_ttypes.LocationIdentifier(args.locationId);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field locationId is unset!');\n      }\n      if (args.value !== undefined && args.value !== null) {\n        this.value = args.value;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field value is unset!');\n      }\n      if (args.isAdmin !== undefined && args.isAdmin !== null) {\n        this.isAdmin = args.isAdmin;\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field isAdmin is unset!');\n      }\n      if (args.creationMetadata !== undefined && args.creationMetadata !== null) {\n        this.creationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp(args.creationMetadata);\n      } else {\n        throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.UNKNOWN, 'Required field creationMetadata is unset!');\n      }\n    }\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      const fid = ret.fid;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      switch (fid) {\n        case 1:\n        if (ftype == Thrift.Type.STRING) {\n          this.id = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 2:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.locationId = new location_Model_ttypes.LocationIdentifier();\n          this.locationId.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 3:\n        if (ftype == Thrift.Type.STRING) {\n          this.value = input.readString();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 4:\n        if (ftype == Thrift.Type.BOOL) {\n          this.isAdmin = input.readBool();\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        case 5:\n        if (ftype == Thrift.Type.STRUCT) {\n          this.creationMetadata = new accounts_user_Model_ttypes.UserAccountIdentifierAndTimestamp();\n          this.creationMetadata.read(input);\n        } else {\n          input.skip(ftype);\n        }\n        break;\n        default:\n          input.skip(ftype);\n      }\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('UserActionLogComment');\n    if (this.id !== null && this.id !== undefined) {\n      output.writeFieldBegin('id', Thrift.Type.STRING, 1);\n      output.writeString(this.id);\n      output.writeFieldEnd();\n    }\n    if (this.locationId !== null && this.locationId !== undefined) {\n      output.writeFieldBegin('locationId', Thrift.Type.STRUCT, 2);\n      this.locationId.write(output);\n      output.writeFieldEnd();\n    }\n    if (this.value !== null && this.value !== undefined) {\n      output.writeFieldBegin('value', Thrift.Type.STRING, 3);\n      output.writeString(this.value);\n      output.writeFieldEnd();\n    }\n    if (this.isAdmin !== null && this.isAdmin !== undefined) {\n      output.writeFieldBegin('isAdmin', Thrift.Type.BOOL, 4);\n      output.writeBool(this.isAdmin);\n      output.writeFieldEnd();\n    }\n    if (this.creationMetadata !== null && this.creationMetadata !== undefined) {\n      output.writeFieldBegin('creationMetadata', Thrift.Type.STRUCT, 5);\n      this.creationMetadata.write(output);\n      output.writeFieldEnd();\n    }\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\nconst user_action_log_Model_ttypes = require('./user_action_log_Model_types');\nconst accounts_user_Model_ttypes = require('./accounts_user_Model_types');\nconst location_Model_ttypes = require('./location_Model_types');\nconst core_time_Model_ttypes = require('./core_time_Model_types');\nconst core_api_Exceptions_ttypes = require('./core_api_Exceptions_types');\nconst accounts_Exceptions_ttypes = require('./accounts_Exceptions_types');\nconst location_Exceptions_ttypes = require('./location_Exceptions_types');\nconst user_action_log_Exceptions_ttypes = require('./user_action_log_Exceptions_types');\n\n\nconst ttypes = module.exports = {};\n","//\n// Autogenerated by Thrift Compiler (0.16.0)\n//\n// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n//\nconst thrift = require('thrift');\nconst Thrift = thrift.Thrift;\nconst Int64 = require('node-int64');\n\n\nconst ttypes = module.exports = {};\nconst FirstNameInvalidStringLengthException = module.exports.FirstNameInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"FirstNameInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('FirstNameInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst LastNameInvalidStringLengthException = module.exports.LastNameInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"LastNameInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('LastNameInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst PhoneNumberInvalidStringLengthException = module.exports.PhoneNumberInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"PhoneNumberInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('PhoneNumberInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst ZipCodeInvalidStringLengthException = module.exports.ZipCodeInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"ZipCodeInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('ZipCodeInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BarNameInvalidStringLengthException = module.exports.BarNameInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"BarNameInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BarNameInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst BarConnectionInvalidStringLengthException = module.exports.BarConnectionInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"BarConnectionInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('BarConnectionInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst EmailAddressInvalidStringLengthException = module.exports.EmailAddressInvalidStringLengthException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"EmailAddressInvalidStringLengthException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('EmailAddressInvalidStringLengthException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\nconst InvalidZipCodeException = module.exports.InvalidZipCodeException = class extends Thrift.TException {\n  constructor(args) {\n    super(args);\n    this.name = \"InvalidZipCodeException\";\n  }\n\n  read (input) {\n    input.readStructBegin();\n    while (true) {\n      const ret = input.readFieldBegin();\n      const ftype = ret.ftype;\n      if (ftype == Thrift.Type.STOP) {\n        break;\n      }\n      input.skip(ftype);\n      input.readFieldEnd();\n    }\n    input.readStructEnd();\n    return;\n  }\n\n  write (output) {\n    output.writeStructBegin('InvalidZipCodeException');\n    output.writeFieldStop();\n    output.writeStructEnd();\n    return;\n  }\n\n};\n","import moment from 'moment-timezone';\n\nimport { IStripeCustomerService } from '../interfaces/IStripeCustomerService';\n\nimport { BankAccount } from 'api/Billing/model/BankAccount';\nimport { BankAccountId } from 'api/Billing/model/BankAccountId';\nimport { BevSpotSubscription } from 'api/Billing/model/BevSpotSubscription';\nimport { BillingCharge } from 'api/Billing/model/BillingCharge';\nimport { BillingPlan } from 'api/Billing/model/BillingPlan';\nimport { BillingPlanId } from 'api/Billing/model/BillingPlanId';\nimport { CreditCard } from 'api/Billing/model/CreditCard';\nimport { CreditCardId } from 'api/Billing/model/CreditCardId';\nimport { InvoiceId } from 'api/Billing/model/InvoiceId';\nimport { SubscriptionId } from 'api/Billing/model/SubscriptionId';\nimport { StringValueMap } from 'api/Core/StringValueMap';\n\nimport { IDelinquentPaymentStatus, ILatestInvoiceData } from 'apps/Billing/reducers/PlansAndBillingReducers';\n\nimport { LocationId } from 'api/Location/model/LocationId';\n\nimport {\n    BillingChargeJSON,\n    BillingDataSerializer,\n    BillingInvoiceJSON,\n    SubscriptionJSON,\n    BillingSourceJSON,\n    BillingRetailerJson\n} from '../serializer/BillingDataSerializer';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class StripeCustomerServiceImpl implements IStripeCustomerService {\n    private readonly billingDataSerializer : BillingDataSerializer;\n\n    constructor (\n        billingDataSerializer : BillingDataSerializer,\n    ) {\n        this.billingDataSerializer = billingDataSerializer;\n    }\n\n    // Consider having this return an object that matches what we have on the backend instead\n    public getBillingAccountForRetailer(\n        retailerId : LocationId\n    ) : Promise<IStripeCustomerData> {\n\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:billing_customer'), queryParameters)\n        .then((billingAccountResponse : IBillingAccountResponse) => {\n            const userIsAdminOnBillingAccount = billingAccountResponse.user_is_admin_on_billing_account;\n\n            const response = billingAccountResponse.billing_account;\n            if (typeof (response || {}).billing_retailers_by_id !== 'object') {\n                throw new RuntimeException('Invalid response structure for api:billing_customer');\n            }\n\n            // shared accross account\n            const paymentSources = this.billingDataSerializer.getBankAccountsAndCreditCardsById(response.sources);\n            const creditCardsById = paymentSources.creditCardsById;\n            const bankAccountsById = paymentSources.bankAccountsById;\n\n            let primaryPaymentSourceId : CreditCardId | BankAccountId | null;\n            if (response.default_source) {\n                const sourceAsCreditCard = new CreditCardId(response.default_source);\n                if (creditCardsById.has(sourceAsCreditCard)) {\n                    primaryPaymentSourceId = sourceAsCreditCard;\n                } else {\n                    primaryPaymentSourceId = new BankAccountId(response.default_source);\n                }\n            } else {\n                primaryPaymentSourceId = null;\n            }\n\n            // retailer-specific pieces of billing account\n            const customerSubscriptionInfoByRetailerId : StringValueMap<LocationId, SubscriptionId | IRetailerWithoutSubscriptionResponse> = new StringValueMap();\n            const subscriptionsByIdForBillingAccount : StringValueMap<SubscriptionId, BevSpotSubscription> = new StringValueMap();\n            const delinquentPaymentStatusByRetailerId : StringValueMap<LocationId, IDelinquentPaymentStatus | null> = new StringValueMap();\n            const isLockedByRetailerId : StringValueMap<LocationId, boolean> = new StringValueMap();\n            const billingPlansByIdForAccount : StringValueMap<BillingPlanId, BillingPlan> = new StringValueMap();\n            const retailerNamesById : StringValueMap<LocationId, string> = new StringValueMap();\n            const retailerCountriesById : StringValueMap<LocationId, string> = new StringValueMap();\n\n            const emailAddressForRetailer : string = response.billing_retailers_by_id[retailerId.getValue()].contact.email; // TODO this is silly maybe fix this\n            const billingCustomerId : string = response.billing_retailers_by_id[retailerId.getValue()].stripe_id;\n\n            Object.keys(response.billing_retailers_by_id).forEach((retailerIdValue) => {\n                const retailerIdInAccount = new LocationId(retailerIdValue);\n\n                const retailerObject = response.billing_retailers_by_id[retailerIdValue];\n                if (typeof  (retailerObject || {}).delinquent_status === 'undefined') {\n                    throw new RuntimeException('Invalid response structure for api:billing_customer');\n                }\n\n                const delinquentPaymentStatus = retailerObject.delinquent_status !== null ? {\n                    hasDelinquentPayment: retailerObject.delinquent_status.has_delinquent_payment,\n                } : null;\n                delinquentPaymentStatusByRetailerId.set(retailerIdInAccount, delinquentPaymentStatus);\n\n                isLockedByRetailerId.set(retailerIdInAccount, retailerObject.is_locked);\n\n                const responseSubscriptionsByRetailerId : {[key : string] : Array<SubscriptionJSON>} = response.subscriptions_by_retailer_id;\n                const subscriptionsForRetailer = (responseSubscriptionsByRetailerId[retailerIdValue] || []);\n                if (subscriptionsForRetailer.length === 0) {\n                    const retailerWithoutSubscriptionResponse : IRetailerWithoutSubscriptionResponse = {\n                        isInFreeTrial: retailerObject.is_in_free_trial,\n                    };\n                    customerSubscriptionInfoByRetailerId.set(retailerIdInAccount, retailerWithoutSubscriptionResponse);\n                } else {\n                    const subscriptionAndPlan = this.billingDataSerializer.getSubscriptionData(subscriptionsForRetailer[0]); // TODOlater assume only 1 for now -- but possible to have many in the future\n                    const subscriptionId = subscriptionAndPlan[0];\n                    const subscription = subscriptionAndPlan[1];\n                    const plan = subscriptionAndPlan[2];\n\n                    customerSubscriptionInfoByRetailerId.set(retailerIdInAccount, subscriptionId);\n                    billingPlansByIdForAccount.set(subscription.getPlanId(), plan);\n                    subscriptionsByIdForBillingAccount.set(subscriptionId, subscription);\n                }\n\n                retailerNamesById.set(retailerIdInAccount, retailerObject.name);\n                retailerCountriesById.set(retailerIdInAccount, retailerObject.address.country);\n            });\n\n            const billingAccountData : IStripeCustomerData = {\n                primaryPaymentSourceId,\n                creditCardsById,\n                bankAccountsById,\n                customerSubscriptionInfoByRetailerId,\n                subscriptionsByIdForBillingAccount,\n                delinquentPaymentStatusByRetailerId,\n                isLockedByRetailerId,\n                billingPlansByIdForAccount,\n                emailAddressForRetailer,\n                retailerNamesById,\n                retailerCountriesById,\n                billingCustomerId,\n                userIsAdminOnBillingAccount\n            };\n            return Promise.resolve(billingAccountData);\n        });\n    }\n\n    public getLatestInvoiceForRetailer(retailerId : LocationId) : Promise<ILatestInvoiceData | null> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n            max_result_count: 1,\n        };\n\n        return AjaxUtils.ajaxGet<Array<BillingInvoiceJSON>>(urlWithoutRetailerId('api:billing_invoice'), queryParameters)\n        .then((response) => {\n            if (response.length === 0) {\n                return Promise.resolve(null);\n            }\n            const latestInvoiceResponse = response[0];\n            const latestInvoice = this.billingDataSerializer.getInvoiceData(latestInvoiceResponse);\n\n            return Promise.resolve(latestInvoice);\n        });\n    }\n\n    public payInvoiceForCustomerWithPaymentMethod(\n        locationId : LocationId,\n        invoiceId : InvoiceId,\n        paymentMethodId : CreditCardId | BankAccountId\n    ) : Promise<ILatestInvoiceData> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        const requestBody = {\n            payment_method_id: paymentMethodId.getValue(),\n            invoice_id: invoiceId.getValue(),\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:billing_invoice'), requestBody, queryParameters)\n        .then((invoiceResponse) => {\n            return this.billingDataSerializer.getInvoiceData(invoiceResponse);\n        });\n    }\n\n    public getMostRecentChargesForCustomer(\n        locationId : LocationId,\n        maxResultCount : number\n    ) : Promise<Array<BillingCharge>> {\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            max_result_count: maxResultCount,\n        };\n\n        return AjaxUtils.ajaxGet<Array<BillingChargeJSON>>(urlWithoutRetailerId('customer_success:get_past_charges_for_retailer'), queryParameters)\n        .then((pastChargesJson) => {\n            const pastCharges : Array<BillingCharge> = [];\n\n            pastChargesJson.forEach((chargeJson) => {\n                const billingCharge = this.billingDataSerializer.getBillingCharge(chargeJson);\n                pastCharges.push(billingCharge);\n            });\n\n            return pastCharges;\n        });\n    }\n\n    public createNewInvoiceProcessingChargeForCustomer(\n        locationId : LocationId,\n        chargeAmountInCents : number,\n        chargeDescription : string,\n        startDateOfInvoices : moment.Moment,\n        endDateOfInvoices : moment.Moment\n    ) : Promise<void> { // This could return the updated charge...\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        const requestBody = {\n            amount_in_cents: chargeAmountInCents,\n            charge_description: chargeDescription,\n            start_date: startDateOfInvoices.unix(),\n            end_date: endDateOfInvoices.unix(),\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('customer_success:create_charge_for_retailer'), requestBody, queryParameters);\n    }\n}\n\n// TODO this is not actually comprehensive. should match it to the backend\ninterface IBillingAccountResponse {\n    billing_account : {\n        billing_retailers_by_id: Record<string, BillingRetailerJson>;\n        sources: Array<BillingSourceJSON>;\n        subscriptions_by_retailer_id: Record<string, Array<SubscriptionJSON>>;\n        default_source: null | undefined | string;\n    };\n    user_is_admin_on_billing_account : boolean;\n}\n\nexport interface IRetailerWithoutSubscriptionResponse { // free trial OR just don't have their data in Stripe (usally the case with paying by ACH/Check)\n    isInFreeTrial : boolean;\n}\n\nexport interface IStripeCustomerData {\n    primaryPaymentSourceId : CreditCardId | BankAccountId | null;\n    creditCardsById : StringValueMap<CreditCardId, CreditCard>;\n    bankAccountsById : StringValueMap<BankAccountId, BankAccount>;\n    customerSubscriptionInfoByRetailerId : StringValueMap<LocationId, SubscriptionId | IRetailerWithoutSubscriptionResponse>; // TODOfuture: support multiple subscriptions per retailer\n    subscriptionsByIdForBillingAccount : StringValueMap<SubscriptionId, BevSpotSubscription>;\n    billingPlansByIdForAccount : StringValueMap<BillingPlanId, BillingPlan>;\n    emailAddressForRetailer : string;\n    delinquentPaymentStatusByRetailerId : StringValueMap<LocationId, IDelinquentPaymentStatus | null>;\n    isLockedByRetailerId : StringValueMap<LocationId, boolean>;\n    retailerNamesById : StringValueMap<LocationId, string>;\n    retailerCountriesById : StringValueMap<LocationId, string>;\n\n    billingCustomerId : string;\n\n    userIsAdminOnBillingAccount : boolean; // So dirty... can we do something else with this?\n}\n","import { LocationId } from 'api/Location/model/LocationId';\n\nexport const DEFAULT_PRICE_PER_INVOICE = 1.50; // TODO Cheezy Default price for now. Should figure out if this also needs to be in the backend\nexport type BillingAddOn = 'itemLevelSales' | 'invoiceProcessing';\n\nexport interface IBillingAddOnService {\n    getPricePerInvoiceForInvoiceProcessingForRetailer(locationId : LocationId) : Promise<number>;\n\n    enableAddOnsForRetailer(\n        locationId : LocationId,\n        addOnsToEnable : Set<BillingAddOn>,\n        pricePerInvoice : number,\n    ) : Promise<void>;\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class BankAccountId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof BankAccountId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{BankAccountId: ${this.value}}`;\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { BillingPlanId } from './BillingPlanId';\n\nexport enum SubscriptionStatus {\n    ACTIVE,\n    CANCELLED\n}\n\nexport class BevSpotSubscription {\n    constructor (\n        private readonly planId : BillingPlanId, // TODO future: can have multiple plans per subscription\n        private readonly creationTimestamp : moment.Moment,\n        private readonly lastPaymentTimestamp : moment.Moment, // TODO can this be null? need to check data...\n        private readonly nextPaymentTimestamp : moment.Moment,\n        private readonly cancellationTimestamp : moment.Moment | null, // TODO might need expiration date?\n        private readonly status : SubscriptionStatus,\n        private readonly quantity : number,\n    ) { }\n\n    public getPlanId() : BillingPlanId {\n        return this.planId;\n    }\n\n    public getCreationTimestamp() : moment.Moment {\n        return this.creationTimestamp;\n    }\n\n    public getLastPaymentTimestamp() : moment.Moment {\n        return this.lastPaymentTimestamp;\n    }\n\n    public getNextPaymentTimestamp() : moment.Moment {\n        return this.nextPaymentTimestamp;\n    }\n\n    public getCancellationTimestamp() : moment.Moment | null {\n        return this.cancellationTimestamp;\n    }\n\n    public getStatus() : SubscriptionStatus {\n        return this.status;\n    }\n\n    public getQuantity() : number {\n        return this.quantity;\n    }\n}\n","export enum BillingFrequency {\n    MONTHLY = 'monthly',\n    QUARTERLY = 'quarterly',\n    SEMIANNUALLY = 'semiannually',\n    ANNUALLY = 'annually',\n}\n","export enum BillingPlanTier {\n    PRO = 'pro',\n    STANDARD = 'standard',\n    STARTER = 'starter',\n}\n","import { MonthOfYear } from 'shared/models/MonthOfYear';\n\nexport class CreditCard {\n    constructor (\n        private readonly brand : string,\n        private readonly lastFourDigits : string, // string because it might start with 0\n        private readonly expirationMonth : MonthOfYear,\n        private readonly expirationYear : number,\n        private readonly cardHolderName : string,\n    ) { }\n\n    public getBrand() : string {\n        return this.brand;\n    }\n\n    public getLastFourDigits() : string {\n        return this.lastFourDigits;\n    }\n\n    public getExpirationMonth() : MonthOfYear {\n        return this.expirationMonth;\n    }\n\n    public getExpirationYear() : number {\n        return this.expirationYear;\n    }\n\n    public getCardHolderName() : string {\n        return this.cardHolderName;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class CreditCardId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof CreditCardId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{CreditCardId: ${this.value}}`;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class SubscriptionId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : SubscriptionId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{SubscriptionId: ${this.value}}`;\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\n\nexport class TermsConditionsAgreement {\n    constructor (\n        private readonly locationId : LocationId,\n        private readonly userId : UserAccountId,\n        private readonly timeCreated : moment.Moment,\n        private readonly userName : IUserName,\n    ) { }\n\n    public getLocationId() : LocationId {\n        return this.locationId;\n    }\n\n    public getUserId() : UserAccountId {\n        return this.userId;\n    }\n\n    public getTimeCreated() : moment.Moment {\n        return this.timeCreated;\n    }\n\n    public getUserName() : IUserName {\n        return this.userName;\n    }\n\n    public getAgreementDisplayString() : string {\n        return `${this.userName.firstName} ${this.userName.lastName} accepted BevSpot's terms and conditions on ${this.timeCreated.format('LL')}.`;\n    }\n}\n","export class BankAccount {\n    constructor (\n        private readonly accountHolderName : string,\n        private readonly accountHolderType : string,\n        private readonly bankName : string,\n        private readonly lastFourDigits : string, // string because it might start with 0\n        private readonly status : string\n    ) { }\n\n    public getAccountHolderName() : string {\n        return this.accountHolderName;\n    }\n\n    public getAccountHolderType() : string {\n        return this.accountHolderType;\n    }\n\n    public getBankName() : string {\n        return this.bankName;\n    }\n\n    public getLastFourDigits() : string {\n        return this.lastFourDigits;\n    }\n\n    public getStatus() : string {\n        return this.status;\n    }\n}\n","import * as moment from 'moment-timezone';\n\nimport { InvoiceId } from 'api/Billing/model/InvoiceId';\nimport { SubscriptionId } from 'api/Billing/model/SubscriptionId';\n\nexport class BillingCharge {\n    constructor (\n        private readonly billingChargeId : string,\n        private readonly subscriptionId : SubscriptionId | null,\n        private readonly invoiceId : InvoiceId | null,\n        private readonly amount : number,\n        private readonly amountRefunded : number,\n        private readonly statementDescriptor : string,\n        private readonly chargeDate : moment.Moment,\n        private readonly status : string,\n        private readonly isPaid : boolean,\n        private readonly invoiceProcessingMetadata : { // TODO future could make this more generic? or have different metadata types\n            startDate : moment.Moment,\n            endDate : moment.Moment,\n        } | null,\n    ) { }\n\n    public getBillingChargeId() {\n        return this.billingChargeId;\n    }\n\n    public getSubscriptionId() {\n        return this.subscriptionId;\n    }\n\n    public getInvoiceId() {\n        return this.invoiceId;\n    }\n\n    public getAmount() {\n        return this.amount;\n    }\n\n    public getAmountRefunded() {\n        return this.amountRefunded;\n    }\n\n    public getStatementDescriptor() {\n        return this.statementDescriptor;\n    }\n\n    public getChargeDate() {\n        return this.chargeDate;\n    }\n\n    public getStatus() {\n        return this.status;\n    }\n\n    public getIsPaid() {\n        return this.isPaid;\n    }\n\n    public getInvoiceProcessingMetadata() {\n        return this.invoiceProcessingMetadata;\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { SubscriptionId } from './SubscriptionId';\n\nexport class BillingInvoice {\n    constructor (\n        private readonly subscriptionId : SubscriptionId | null,\n        private readonly amountDue : number,\n        private readonly total : number,\n        private readonly subtotal : number,\n        private readonly date : moment.Moment,\n        private readonly nextPaymentAttemptDate : moment.Moment | null,\n        private readonly isPaid : boolean,\n    ) { }\n\n    public getSubscriptionId() : SubscriptionId | null {\n        return this.subscriptionId;\n    }\n\n    public getAmountDue() : number {\n        return this.amountDue;\n    }\n\n    public getTotal() : number {\n        return this.total;\n    }\n\n    public getSubtotal() : number {\n        return this.subtotal;\n    }\n\n    public getInvoiceDate() : moment.Moment {\n        return this.date;\n    }\n\n    public getNextPaymentAttemptDate() : moment.Moment | null {\n        return this.nextPaymentAttemptDate;\n    }\n\n    public getIsPaid() : boolean {\n        return this.isPaid;\n    }\n}\n","import { BillingFrequency } from 'api/Billing/model/BillingFrequency';\nimport { BillingPlanTier } from 'api/Billing/model/BillingPlanTier';\nimport { AccountType } from 'api/Location/model/AccountType';\n\nexport class BillingPlan {\n    constructor (\n        private readonly name : string,\n        private readonly priceInCents : number,\n        private readonly billingFrequency : BillingFrequency,\n        private readonly tier : BillingPlanTier | null,\n        private readonly accountType : AccountType | null,\n        private readonly active : boolean,\n    ) { }\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getPriceInCents() : number {\n        return this.priceInCents;\n    }\n\n    public getBillingFrequency() : BillingFrequency {\n        return this.billingFrequency;\n    }\n\n    public getTier() : BillingPlanTier | null {\n        return this.tier;\n    }\n\n    public getAccountType() : AccountType | null {\n        return this.accountType;\n    }\n\n    public getActive() : boolean {\n        return this.active;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class BillingPlanId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : BillingPlanId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{BillingPlanId: ${this.value}}`;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class InvoiceId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : InvoiceId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{InvoiceId: ${this.value}}`;\n    }\n}\n","import { BankAccount } from 'api/Billing/model/BankAccount';\nimport { BankAccountId } from 'api/Billing/model/BankAccountId';\nimport { BevSpotSubscription, SubscriptionStatus } from 'api/Billing/model/BevSpotSubscription';\nimport { BillingCharge } from 'api/Billing/model/BillingCharge';\nimport { BillingFrequency } from 'api/Billing/model/BillingFrequency';\nimport { BillingInvoice } from 'api/Billing/model/BillingInvoice';\nimport { BillingPlan } from 'api/Billing/model/BillingPlan';\nimport { BillingPlanId } from 'api/Billing/model/BillingPlanId';\nimport { BillingPlanTier } from 'api/Billing/model/BillingPlanTier';\nimport { CreditCard } from 'api/Billing/model/CreditCard';\nimport { CreditCardId } from 'api/Billing/model/CreditCardId';\nimport { InvoiceId } from 'api/Billing/model/InvoiceId';\nimport { SubscriptionId } from 'api/Billing/model/SubscriptionId';\nimport { TermsConditionsAgreement } from 'api/Billing/model/TermsConditionsAgreement';\nimport { ITermsConditionsAgreementJSONObject } from 'api/Billing/serializer/ITermsConditionsAgreementJSONObject';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { AccountType } from 'api/Location/model/AccountType';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { ILatestInvoiceData } from 'apps/Billing/reducers/PlansAndBillingReducers';\nimport moment from 'moment-timezone';\nimport { DJANGO_API_UTC_TIMESTAMP_FORMAT } from 'shared/constants';\nimport { logJsError } from 'shared/global/datadogLogger';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface BillingRetailerJson {\n    stripe_id: string;\n    is_in_free_trial: boolean;\n    name: string;\n    contact: { email: string; }\n    address: { country: string; }\n    delinquent_status: null | { has_delinquent_payment: boolean };\n    is_locked: boolean;\n}\n\n// TODO we should look up what type actually gets returned and simplify this\ntype DateJSONType = null | undefined | Date | string | number;\nexport interface BillingInvoiceJSON {\n    id: string;\n    amount_due: number;\n    total: number;\n    subtotal: number;\n    next_payment_attempt_date: DateJSONType;\n    date: DateJSONType;\n    is_paid: boolean;\n    subscription_id: SubscriptionId | null; // TODO 2/20/25 this is almost certainly not correct (it's probably a string that needs to be converted), but capturing the existing typings here\n}\n\nexport interface BillingPlanJSON {\n    id: string;\n    billing_frequency: string;\n    interval_count: number;\n    tier: null | string;\n    account_type: null | string;\n    name: string;\n    price: number;\n    active: boolean;\n}\n\nexport interface BillingChargeJSON {\n    metadata: {\n        start_date: number;\n        end_date: number;\n        charge_type: string;\n    };\n    id: string;\n    subscription_id: SubscriptionId | null; // TODO 2/20/25 this is almost certainly not correct (it's probably a string that needs to be converted), but capturing the existing typings here\n    invoice_id: InvoiceId | null; // TODO 2/20/25 this is almost certainly not correct (it's probably a string that needs to be converted), but capturing the existing typings here\n    amount_in_cents: number;\n    amount_refunded: number;\n    statement_descriptor: string;\n    created_timestamp: DateJSONType;\n    status: string;\n    paid: boolean;\n}\n\nexport interface SubscriptionJSON {\n    id: string;\n    created_at: DateJSONType;\n    period_start: DateJSONType;\n    period_end: DateJSONType;\n    canceled_at: DateJSONType;\n    items: Array<{\n        quantity: number;\n        plan: BillingPlanJSON;\n    }>;\n}\n\ninterface BillingSourceBase {\n    source_type: string;\n    id: string;\n}\ninterface BillingSourceCard extends BillingSourceBase {\n    source_type: \"card\";\n    brand: string;\n    last4: string;\n    exp_month: number;\n    exp_year: number;\n    card_holder: string | null | undefined;\n}\ninterface BillingSourceBankAccount extends BillingSourceBase {\n    source_type: \"bank_account\";\n    account_holder_name: string;\n    account_holder_type: string;\n    bank_name: string;\n    last4: string;\n    status: string;\n}\nexport type BillingSourceJSON = BillingSourceCard | BillingSourceBankAccount;\n\nexport class BillingDataSerializer {\n    public getBillingPlansById(\n        billingPlanObjects : Array<BillingPlanJSON>\n    ) : StringValueMap<BillingPlanId, BillingPlan> {\n\n        const billingPlansById = new StringValueMap<BillingPlanId, BillingPlan>();\n\n        for (let i = 0; i < billingPlanObjects.length; i++) {\n            const planObject = billingPlanObjects[i];\n\n            const planId = new BillingPlanId(planObject.id);\n\n            let plan : BillingPlan;\n            try {\n                plan = this.getBillingPlan(planObject);\n            } catch {\n                // getBillingPlan has already logged the offending plan id. Skip this single malformed\n                // plan so one bad plan in Stripe does not take down the entire list / billing page.\n                continue;\n            }\n\n            billingPlansById.set(planId, plan);\n        }\n\n        return billingPlansById;\n    }\n\n    public getBankAccountsAndCreditCardsById(\n        billingSourceObjects : Array<BillingSourceJSON>\n    ) : { creditCardsById : StringValueMap<CreditCardId, CreditCard>; bankAccountsById : StringValueMap<BankAccountId, BankAccount> } {\n        const creditCardsById = new StringValueMap<CreditCardId, CreditCard>();\n        const bankAccountsById = new StringValueMap<BankAccountId, BankAccount>();\n        billingSourceObjects.forEach((sourceObject) => {\n            if (sourceObject.source_type === 'card') {\n                const cardId = new CreditCardId(sourceObject.id);\n                const card = this.getCreditCard(sourceObject);\n                creditCardsById.set(cardId, card);\n            } else {\n                const bankAccountId = new BankAccountId(sourceObject.id);\n                const bankAccount = this.getBankAccount(sourceObject);\n                bankAccountsById.set(bankAccountId, bankAccount);\n            }\n        });\n\n        return {\n            creditCardsById,\n            bankAccountsById\n        };\n    }\n\n    public getCreditCard(\n        billingCardObject : BillingSourceCard,\n    ) : CreditCard {\n        return new CreditCard(\n            billingCardObject.brand,\n            billingCardObject.last4,\n            billingCardObject.exp_month - 1, // MonthOfYear is 0-indexed\n            billingCardObject.exp_year,\n            billingCardObject.card_holder || '',\n        );\n    }\n\n    public getBankAccount(\n        billingBankAccountObject : BillingSourceBankAccount\n    ) : BankAccount {\n        return new BankAccount(\n            billingBankAccountObject.account_holder_name,\n            billingBankAccountObject.account_holder_type,\n            billingBankAccountObject.bank_name,\n            billingBankAccountObject.last4,\n            billingBankAccountObject.status\n        );\n    }\n\n    public getSubscriptionData(\n        subscriptionObject : SubscriptionJSON,\n    ) : [SubscriptionId, BevSpotSubscription, BillingPlan] {\n\n        // assume only one plan for now\n        const billingPlanObject = subscriptionObject.items[0].plan;\n\n        const subscriptionData = new BevSpotSubscription(\n            new BillingPlanId(billingPlanObject.id),\n            moment(subscriptionObject.created_at),\n            moment(subscriptionObject.period_start),\n            moment(subscriptionObject.period_end),\n            subscriptionObject.canceled_at === null ? null : moment(subscriptionObject.canceled_at),\n            // The below line is a bug I think. should be subscriptionObject.status\n            status === 'canceled' ? SubscriptionStatus.CANCELLED : SubscriptionStatus.ACTIVE, // TODO stripe supports \"trialing, active, past_due, canceled, or unpaid\" as well as \"incomplete and incomplete_expired\"\n            subscriptionObject.items[0].quantity,\n        );\n\n        const subscriptionId = new SubscriptionId(subscriptionObject.id);\n\n        const billingPlan = this.getBillingPlan(billingPlanObject);\n        return [subscriptionId, subscriptionData, billingPlan];\n    }\n\n    public getInvoiceData(invoiceObject : BillingInvoiceJSON) : ILatestInvoiceData {\n        const invoiceId = new InvoiceId(invoiceObject.id);\n\n        const amountDueInDollars : number = invoiceObject.amount_due / 100;\n        const totalInDollars : number = invoiceObject.total / 100;\n        const subtotalInDollars : number = invoiceObject.subtotal / 100;\n\n        const nextPaymentAttemptDate : moment.Moment | null = invoiceObject.next_payment_attempt_date === null ? null : moment.utc(invoiceObject.next_payment_attempt_date);\n        const invoice = new BillingInvoice(\n            invoiceObject.subscription_id,\n            amountDueInDollars,\n            totalInDollars,\n            subtotalInDollars,\n            moment.utc(invoiceObject.date),\n            nextPaymentAttemptDate,\n            invoiceObject.is_paid,\n        );\n\n        const invoiceData : ILatestInvoiceData = {\n            invoiceId,\n            invoice\n        };\n        return invoiceData;\n    }\n\n    public getBillingCharge = (dict : BillingChargeJSON) : BillingCharge => {\n        if (typeof dict === 'undefined' || dict === null) {\n            throw new RuntimeException('unexpected value');\n        }\n\n        let invoiceProcessingMetadata : {startDate : moment.Moment, endDate : moment.Moment} | null = null;\n        if (dict.metadata && dict.metadata.charge_type === 'invoice_processing') {\n            invoiceProcessingMetadata = {\n                startDate: moment.unix(dict.metadata.start_date).utc(),\n                endDate: moment.unix(dict.metadata.end_date).utc(),\n            };\n        }\n\n        return new BillingCharge(\n            dict.id,\n            dict.subscription_id,\n            dict.invoice_id,\n            dict.amount_in_cents / 100,\n            dict.amount_refunded / 100,\n            dict.statement_descriptor,\n            moment.utc(dict.created_timestamp),\n            dict.status,\n            dict.paid,\n            invoiceProcessingMetadata,\n        );\n    }\n\n    public parseBillingPlanPriceResponse(response : Record<string, Record<string, Record<string, unknown>>>) : Map<AccountType, Map<BillingPlanTier, Map<BillingFrequency, number>>> {\n        const pricesByAccountTypeAndTierAndFrequency = new Map<AccountType, Map<BillingPlanTier, Map<BillingFrequency, number>>>();\n\n        for (const rawAccountType of Object.keys(response)) {\n            const rawPricesByTierAndFrequency = response[rawAccountType];\n            const pricesByTierAndFrequency = new Map<BillingPlanTier, Map<BillingFrequency, number>>();\n\n            pricesByAccountTypeAndTierAndFrequency.set(\n                this.parseAccountType(rawAccountType),\n                pricesByTierAndFrequency\n            );\n\n            for (const rawTier of Object.keys(rawPricesByTierAndFrequency)) {\n                const rawPricesByFrequency = rawPricesByTierAndFrequency[rawTier];\n                const pricesByFrequency = new Map<BillingFrequency, number>();\n                \n                pricesByTierAndFrequency.set(\n                    this.parseBillingPlanTier(rawTier),\n                    pricesByFrequency\n                );\n\n                for (const rawFrequency of Object.keys(rawPricesByFrequency)) {\n                    pricesByFrequency.set(\n                        this.parseBillingFrequency(rawFrequency),\n                        Number(rawPricesByFrequency[rawFrequency])\n                    );\n                }\n            }\n        }\n\n        return pricesByAccountTypeAndTierAndFrequency;\n    }\n\n    public getTermsConditionsAgreement (\n        termsConditionsAgreementJSON : ITermsConditionsAgreementJSONObject\n    ) : TermsConditionsAgreement {\n        const userName = {\n            firstName: termsConditionsAgreementJSON.user_name.first_name,\n            lastName: termsConditionsAgreementJSON.user_name.last_name,\n        };\n        return new TermsConditionsAgreement(\n            new LocationId(termsConditionsAgreementJSON.retailer_id),\n            new UserAccountId(termsConditionsAgreementJSON.user_id),\n            moment(termsConditionsAgreementJSON.time_created),\n            userName,\n        );\n    }\n\n    public getTermsConditionsAgreementJSON (\n        termsConditionsAgreement : TermsConditionsAgreement\n    ) : ITermsConditionsAgreementJSONObject {\n        const userName = termsConditionsAgreement.getUserName();\n        return {\n            retailer_id: termsConditionsAgreement.getLocationId().getValue(),\n            user_id: termsConditionsAgreement.getUserId().getValue(),\n            time_created: termsConditionsAgreement.getTimeCreated().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            user_name: {\n                first_name: userName.firstName,\n                last_name: userName.lastName,\n            },\n        };\n    }\n\n    private getBillingPlan(planObject : BillingPlanJSON) : BillingPlan {\n        try {\n            const billingFrequency : BillingFrequency = this.calculateBillingFrequency(\n                planObject.billing_frequency,\n                planObject.interval_count,\n            );\n\n            const billingPlanTier : BillingPlanTier | null = (planObject.tier === null) ? null : this.parseBillingPlanTier(planObject.tier);\n            const accountType : AccountType | null = (planObject.account_type === null) ? null : this.parseAccountType(planObject.account_type);\n\n            return new BillingPlan(\n                planObject.name,\n                planObject.price,\n                billingFrequency,\n                billingPlanTier,\n                accountType,\n                planObject.active,\n            );\n        } catch (error) {\n            // Bad plans keep getting created in Stripe with unexpected tier / account_type / billing_frequency.\n            // Log the offending plan id clearly so we can track it down in Stripe, then re-throw so callers\n            // can decide whether to skip this plan (plans list) or surface a page-level error (subscription).\n            const failureReason = error instanceof Error ? error.message : String(error);\n            logJsError(\n                `Malformed Stripe billing plan could not be deserialized (billingPlanId: ${ planObject.id }): ${ failureReason }`,\n                { isHandled: true, billingPlanId: planObject.id },\n                error,\n            );\n            throw error;\n        }\n    }\n\n    private parseBillingPlanTier(value : string) : BillingPlanTier {\n        switch (value) {\n            case 'pro': {\n                return BillingPlanTier.PRO;\n            }\n            case 'standard': {\n                return BillingPlanTier.STANDARD;\n            }\n            case 'starter': {\n                return BillingPlanTier.STARTER;\n            }\n            default: {\n                throw new RuntimeException('unexpected plan tier: ' + value);\n            }\n        }\n    }\n\n    private parseAccountType(value : string) : AccountType {\n        switch (value) {\n            case 'food': {\n                return AccountType.FOOD;\n            }\n            case 'beverage': {\n                return AccountType.BEVERAGE;\n            }\n            default: {\n                throw new RuntimeException('unexpected account type: ' + value);\n            }\n        }\n    }\n\n    private parseBillingFrequency(value : string) : BillingFrequency {\n        switch (value) {\n            case 'monthly': {\n                return BillingFrequency.MONTHLY;\n            }\n            case 'quarterly': {\n                return BillingFrequency.QUARTERLY;\n            }\n            case 'semiannually': {\n                return BillingFrequency.SEMIANNUALLY;\n            }\n            case 'annually': {\n                return BillingFrequency.ANNUALLY;\n            }\n            default: {\n                throw new RuntimeException('unexpected billing frequency: ' + value);\n            }\n        }\n    }\n\n    private calculateBillingFrequency(billingInterval : string, intervalCount : number) : BillingFrequency {\n        switch (billingInterval) {\n            case 'month': {\n                switch (intervalCount) {\n                    case 1: {\n                        return BillingFrequency.MONTHLY;\n                    }\n                    case 3: {\n                        return BillingFrequency.QUARTERLY;\n                    }\n                    case 6: {\n                        return BillingFrequency.SEMIANNUALLY;\n                    }\n                    default: {\n                        throw new RuntimeException('unexpected interval count: ' + intervalCount);\n                    }\n                }\n            }\n            case 'year': {\n                if (1 !== intervalCount) {\n                    throw new RuntimeException('unexpected interval count: ' + intervalCount);\n                }\n\n                return BillingFrequency.ANNUALLY;\n            }\n            default: {\n                throw new RuntimeException('unexpected billing frequency: ' + billingInterval);\n            }\n        }\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class BreakageId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : unknown) : boolean {\n        if (other instanceof BreakageId) {\n            return this.getValue() === other.getValue();\n        }\n\n        return false;\n    }\n\n    public toString() : string {\n        return `{BreakageId: ${this.value}}`;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { CartDistributorInfo } from './CartDistributorInfo';\nimport { CartItem } from './CartItem';\n\nexport class Cart {\n    constructor (\n        private readonly cartItems : Array<CartItem>,\n        private readonly cartDistributorInfoById : StringValueMap<DistributorId | null, CartDistributorInfo>,\n        private readonly cartHashValue : string,\n    ) { }\n\n    // public getCartItemsById() : StringValueMap<CartItemId, CartItem> {\n    public getCartItems() : Array<CartItem> {\n        return this.cartItems;\n    }\n\n    public getCartDistributorInfoById() : StringValueMap<DistributorId | null, CartDistributorInfo> {\n        return this.cartDistributorInfoById;\n    }\n\n    public getCartHashValue() : string {\n        return this.cartHashValue;\n    }\n}\n","import { StringValueSet } from 'api/Core/StringValueSet';\nimport { DistributorRepId } from 'api/Distributor/model/DistributorRepId';\n\nexport class CartDistributorInfo {\n\n    constructor (\n        private readonly isSavedForLater : boolean,\n        private readonly retailerNote : string,\n        private readonly includedDistributorReps : StringValueSet<DistributorRepId>,\n        private readonly purchaseOrderNumber : string,\n    ) {}\n\n    public getIsSavedForLater() : boolean {\n        return this.isSavedForLater;\n    }\n\n    public getRetailerNote() : string {\n        return this.retailerNote;\n    }\n\n    public getIncludedDistributorReps() : StringValueSet<DistributorRepId> {\n        return this.includedDistributorReps;\n    }\n\n    public getPurchaseOrderNumber() : string {\n        return this.purchaseOrderNumber;\n    }\n}\n","export enum InventoryColumnOption {\n    INVENTORY_DRAFT = 'INVENTORY_DRAFT',\n    LATEST_FINALIZED_INVENTORY = 'LATEST_FINALIZED_INVENTORY',\n    EXPECTED_INVENTORY = 'EXPECTED_INVENTORY'\n}\n","export enum UsageColumnOption {\n    PRODUCT_PAR = 'PRODUCT_PAR',\n    WEEKLY_USAGE = 'WEEKLY_USAGE',\n    ACTUAL_USAGE = 'ACTUAL_USAGE',\n    QUANTITY_TO_ORDER = 'QUANTITY_TO_ORDER'\n}\n","import { Cart } from 'api/Cart/model/Cart';\nimport { CartItemId } from 'api/Cart/model/CartItemId';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { CartItem } from 'api/Cart/model/CartItem';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { productUtils } from 'api/Product/utils/productUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\n\nimport { CartDistributorInfo } from '../model/CartDistributorInfo';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { decimalUtils } from 'shared/utils/decimalUtils';\n\nconst getProductIdsInCart = (cart : Cart) : StringValueSet<ProductId> => {\n    const productIds = new StringValueSet<ProductId>();\n\n    cart.getCartItems().forEach((cartItem) => {\n        productIds.add(cartItem.getProductId());\n    });\n\n    return productIds;\n};\n\n// TODO Cheezy this should no longer be used\nconst getCartItemsByProductId = (cart : Cart) : StringValueMap<ProductId, CartItem> => {\n    const cartItemsByProductId = new StringValueMap<ProductId, CartItem>();\n\n    cart.getCartItems().forEach((cartItem) => {\n        const productId = cartItem.getProductId();\n        cartItemsByProductId.set(productId, cartItem);\n    });\n\n    return cartItemsByProductId;\n};\n\n// TODO Cheezy can probably cache to make this more efficient\nconst getCartItemsForProductId = (cart : Cart, productId : ProductId) : Array<CartItem> => {\n    const cartItems : Array<CartItem> = [];\n\n    cart.getCartItems().forEach((cartItem) => {\n        if (productId.equals(cartItem.getProductId())) {\n            cartItems.push(cartItem);\n        }\n    });\n\n    return cartItems;\n};\n\nconst getCartItemsById = (cart : Cart) : StringValueMap<CartItemId, CartItem> => {\n    const cartItemsById = new StringValueMap<CartItemId, CartItem>();\n\n    cart.getCartItems().forEach((cartItem) => {\n        cartItemsById.set(cartItem.getCartItemId(), cartItem);\n    });\n\n    return cartItemsById;\n};\n\nconst getCartItemsByProductDistributorAssociationIdentifier = (cart : Cart) : StringValueMap<ProductDistributorAssociationIdentifier, CartItem> => {\n    const cartItemsByProductDistributorAssociationIdentifier = new StringValueMap<ProductDistributorAssociationIdentifier, CartItem>();\n\n    cart.getCartItems().forEach((cartItem) => {\n        const identifier = cartItem.getProductDistributorAssociationIdentifier();\n        cartItemsByProductDistributorAssociationIdentifier.set(identifier, cartItem);\n    });\n\n    return cartItemsByProductDistributorAssociationIdentifier;\n};\n\nconst getCartItemsByDistributorId = (cart : Cart, distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>) : StringValueMap<DistributorId | null, Array<CartItem>> => {\n    const hasMultiVendorFeature = window.GLOBAL_FEATURE_ACCESS.multi_vendor;\n\n    const cartItemsByDistributorId = new StringValueMap<DistributorId | null, Array<CartItem>>();\n\n    cart.getCartItems().forEach((cartItem) => {\n        const productId = cartItem.getProductId();\n        let distributorId : DistributorId | null;\n\n        if (hasMultiVendorFeature) {\n            distributorId = cartItem.getDistributorId();\n        } else {\n            distributorId = distributorIdsByProductId.getRequired(productId);\n        }\n\n        const distributorCartItems = cartItemsByDistributorId.get(distributorId) || [];\n        distributorCartItems.push(cartItem);\n\n        cartItemsByDistributorId.set(distributorId, distributorCartItems);\n    });\n\n    return cartItemsByDistributorId;\n};\n\n// TODO: if we don't need this for MV (could use CartItem.getCartItemId directly?) should remove\nconst getCartItemIdsByProductDistributorAssociationIdentifier = (cart : Cart) : StringValueMap<ProductDistributorAssociationIdentifier, CartItemId> => {\n    const cartItemIdsByProductDistributorAssociationIdentifier = new StringValueMap<ProductDistributorAssociationIdentifier, CartItemId>();\n    cart.getCartItems().forEach((cartItem) => {\n        const cartItemId = cartItem.getCartItemId();\n        cartItemIdsByProductDistributorAssociationIdentifier.set(cartItem.getProductDistributorAssociationIdentifier(), cartItemId);\n    });\n    return cartItemIdsByProductDistributorAssociationIdentifier;\n};\n\n// TODO Cheezy more efficient way to get data\n// TODO Cheezy how to deal with need to resolve\nconst getCartItemForProductAndDistributor = (cart : Cart, productId : ProductId, distributorId : DistributorId | null) : CartItem | null => {\n    let relevantCartItem : CartItem | null = null;\n\n    cart.getCartItems().forEach((cartItem) => {\n        if (cartItem.getProductId().equals(productId) && ((distributorId === cartItem.getDistributorId()) || ((distributorId !== null) && (distributorId.equals(cartItem.getDistributorId()))))) {\n            relevantCartItem = cartItem;\n        }\n    });\n\n    return relevantCartItem;\n};\n\nconst getCartTotal = (cart : Cart, includeSavedForLater : boolean, productsById : StringValueMap<ProductId, Product>, distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>, productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>) : number => {\n    const hasMultiVendorFeature = window.GLOBAL_FEATURE_ACCESS.multi_vendor;\n\n    let cartTotal = 0;\n    cart.getCartItems().forEach((cartItem) => {\n        const productId = cartItem.getProductId();\n        const productDistributorAssociations = hasMultiVendorFeature ? productDistributorAssociationsByProductId.getRequired(productId) : new StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>();\n\n        let shouldInclude = true;\n        if (!includeSavedForLater) {\n            let distributorId;\n            if (hasMultiVendorFeature) {\n                distributorId = cartItem.getDistributorId();\n            } else {\n                distributorId = distributorIdsByProductId.getRequired(productId);\n            }\n\n            const cartDistributorInfo = cart.getCartDistributorInfoById().get(distributorId) || null;\n            const isSavedForLater = cartDistributorInfo ? cartDistributorInfo.getIsSavedForLater() : false;\n            shouldInclude = !isSavedForLater;\n        }\n\n        if (shouldInclude) {\n            cartTotal += getCartItemTotal(cartItem, productsById.getRequired(productId), productDistributorAssociations, hasMultiVendorFeature);\n        }\n    });\n\n    return cartTotal;\n};\n\nconst getCartDepositTotal = (cart : Cart, includeSavedForLater : boolean, productsById : StringValueMap<ProductId, Product>, distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>, productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>) : number => {\n    const hasMultiVendorFeature = window.GLOBAL_FEATURE_ACCESS.multi_vendor;\n    let cartDepositTotal = 0;\n\n    cart.getCartItems().forEach((cartItem) => {\n        const productId = cartItem.getProductId();\n        const productDistributorAssociations = hasMultiVendorFeature ? productDistributorAssociationsByProductId.getRequired(productId) : new StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>();\n\n        let shouldInclude = true;\n        if (!includeSavedForLater) {\n            let distributorId;\n            if (hasMultiVendorFeature) {\n                distributorId = cartItem.getDistributorId();\n            } else {\n                distributorId = distributorIdsByProductId.getRequired(productId);\n            }\n\n            const cartDistributorInfo = cart.getCartDistributorInfoById().get(distributorId) || null;\n            const isSavedForLater = cartDistributorInfo ? cartDistributorInfo.getIsSavedForLater() : false;\n            shouldInclude = !isSavedForLater;\n        }\n\n        if (shouldInclude) {\n            cartDepositTotal += getCartItemDepositTotal(cartItem, productsById.getRequired(productId), productDistributorAssociations, hasMultiVendorFeature);\n        }\n    });\n\n    return cartDepositTotal;\n};\n\nconst getCartItemTotal = (cartItem : CartItem, product : Product, productDistributorAssociations : StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>, hasMultiVendorFeature : boolean) : number => {\n    const resolvedCartItemQuantityInUnit = PackagingUtils.resolveProductQuantityUnit(new QuantityInUnit(cartItem.getQuantityInUnits(), cartItem.getProductQuantityUnit()), product.getPackagingsAndMappings().getMappings());\n    const quantityInUnits = resolvedCartItemQuantityInUnit.getQuantity();\n\n    let pricePerUnit : number;\n    if (hasMultiVendorFeature) {\n        const cartItemIdentifier = new ProductDistributorAssociationIdentifier(cartItem.getProductId(), resolvedCartItemQuantityInUnit.getUnit(), cartItem.getDistributorId());\n        let productDistributorAssociation = productDistributorAssociations.get(cartItemIdentifier);\n\n        if (typeof productDistributorAssociation === 'undefined') {\n            productDistributorAssociations.forEach((association, identifier) => {\n                const associationDistributorId = association.getDistributorId();\n                const resolvedAssociationUnit = PackagingUtils.resolveProductQuantityUnit(\n                    new QuantityInUnit(1, association.getProductQuantityUnit()),\n                    product.getPackagingsAndMappings().getMappings()\n                ).getUnit();\n\n                if (PackagingUtils.productQuantityUnitsAreEqual(resolvedAssociationUnit, resolvedCartItemQuantityInUnit.getUnit()) &&\n                    ((associationDistributorId === cartItem.getDistributorId()) || ((associationDistributorId !== null) && associationDistributorId.equals(cartItem.getDistributorId())))) {\n                    productDistributorAssociation = association;\n                }\n            });\n        }\n\n        if (typeof productDistributorAssociation === 'undefined') {\n            pricePerUnit = 0;\n        } else {\n            const productDistributorAssociationPrice = productDistributorAssociation.getPrice();\n            pricePerUnit = productDistributorAssociationPrice ? decimalUtils.decimalToNumber(productDistributorAssociationPrice.getCost()) : 0;\n        }\n    } else {\n        pricePerUnit = productUtils.convertPriceToProductQuantityUnit(product, resolvedCartItemQuantityInUnit.getUnit());\n    }\n\n    return quantityInUnits * pricePerUnit;\n};\n\nconst getCartItemDepositTotal = (cartItem : CartItem, product : Product, productDistributorAssociations : StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>, hasMultiVendorFeature : boolean) : number => {\n    const resolvedCartItemQuantityInUnit = PackagingUtils.resolveProductQuantityUnit(new QuantityInUnit(cartItem.getQuantityInUnits(), cartItem.getProductQuantityUnit()), product.getPackagingsAndMappings().getMappings());\n    const quantityInUnits = resolvedCartItemQuantityInUnit.getQuantity();\n\n    let depositPerUnit : number;\n    if (hasMultiVendorFeature) {\n        const cartItemIdentifier = new ProductDistributorAssociationIdentifier(cartItem.getProductId(), resolvedCartItemQuantityInUnit.getUnit(), cartItem.getDistributorId());\n        let productDistributorAssociation = productDistributorAssociations.get(cartItemIdentifier);\n\n        if (typeof productDistributorAssociation === 'undefined') {\n            productDistributorAssociations.forEach((association, identifier) => {\n                const associationDistributorId = association.getDistributorId();\n                const resolvedAssociationUnit = PackagingUtils.resolveProductQuantityUnit(\n                    new QuantityInUnit(1, association.getProductQuantityUnit()),\n                    product.getPackagingsAndMappings().getMappings()\n                ).getUnit();\n\n                if (PackagingUtils.productQuantityUnitsAreEqual(resolvedAssociationUnit, resolvedCartItemQuantityInUnit.getUnit()) &&\n                    ((associationDistributorId === cartItem.getDistributorId()) || ((associationDistributorId !== null) && associationDistributorId.equals(cartItem.getDistributorId())))) {\n                    productDistributorAssociation = association;\n                }\n            });\n        }\n\n        if (typeof productDistributorAssociation === 'undefined') {\n            depositPerUnit = 0;\n        } else {\n            const productDistributorAssociationDeposit = productDistributorAssociation.getDeposit();\n            depositPerUnit = productDistributorAssociationDeposit ? decimalUtils.decimalToNumber(productDistributorAssociationDeposit.getCost()) : 0;\n        }\n    } else {\n        depositPerUnit = productUtils.convertDepositToProductQuantityUnit(product, resolvedCartItemQuantityInUnit.getUnit());\n    }\n\n    return quantityInUnits * depositPerUnit;\n};\n\nconst getCartWithUpdatedRetailerNote = (cart : Cart, distributorId : DistributorId, note : string) : Cart => {\n    const cartDistributorInfo = cart.getCartDistributorInfoById().get(distributorId);\n\n    let newCartDistributorInfo : CartDistributorInfo;\n    if (cartDistributorInfo) {\n        newCartDistributorInfo = new CartDistributorInfo(cartDistributorInfo.getIsSavedForLater(), note, cartDistributorInfo.getIncludedDistributorReps(), cartDistributorInfo.getPurchaseOrderNumber());\n    } else {\n        newCartDistributorInfo = new CartDistributorInfo(false, note, new StringValueSet(), '');\n    }\n\n    const newCartDistributorInfoById = new StringValueMap(cart.getCartDistributorInfoById());\n    newCartDistributorInfoById.set(distributorId, newCartDistributorInfo);\n\n    return new Cart(\n        cart.getCartItems(),\n        newCartDistributorInfoById,\n        ''\n    );\n};\n\nconst getCartWithUpdatedPurchaseOrderNumber = (cart : Cart, distributorId : DistributorId, purchaseOrderNumber : string) : Cart => {\n    const cartDistributorInfo = cart.getCartDistributorInfoById().get(distributorId);\n\n    let newCartDistributorInfo : CartDistributorInfo;\n    if (cartDistributorInfo) {\n        newCartDistributorInfo = new CartDistributorInfo(cartDistributorInfo.getIsSavedForLater(), cartDistributorInfo.getRetailerNote(), cartDistributorInfo.getIncludedDistributorReps(), purchaseOrderNumber);\n    } else {\n        newCartDistributorInfo = new CartDistributorInfo(false, '', new StringValueSet(), purchaseOrderNumber);\n    }\n\n    const newCartDistributorInfoById = new StringValueMap(cart.getCartDistributorInfoById());\n    newCartDistributorInfoById.set(distributorId, newCartDistributorInfo);\n\n    return new Cart(\n        cart.getCartItems(),\n        newCartDistributorInfoById,\n        ''\n    );\n};\n\nconst getCartWithUpdatedIsSavedForLater = (cart : Cart, distributorId : DistributorId | null, isSavedForLater : boolean) : Cart => {\n    const cartDistributorInfo = cart.getCartDistributorInfoById().get(distributorId);\n\n    let newCartDistributorInfo : CartDistributorInfo;\n    if (cartDistributorInfo) {\n        newCartDistributorInfo = new CartDistributorInfo(isSavedForLater, cartDistributorInfo.getRetailerNote(), cartDistributorInfo.getIncludedDistributorReps(), cartDistributorInfo.getPurchaseOrderNumber());\n    } else {\n        newCartDistributorInfo = new CartDistributorInfo(isSavedForLater, '', new StringValueSet(), '');\n    }\n\n    const newCartDistributorInfoById = new StringValueMap(cart.getCartDistributorInfoById());\n    newCartDistributorInfoById.set(distributorId, newCartDistributorInfo);\n\n    return new Cart(\n        cart.getCartItems(),\n        newCartDistributorInfoById,\n        ''\n    );\n};\n\nconst getDuplicatedCartItemInformation = (cart : Cart, productsById : StringValueMap<ProductId, Product>) : {\n    duplicatedCartItemIds : StringValueSet<CartItemId>;\n    totalCartQuantityByCartItemId : StringValueMap<CartItemId, number>;\n    cartItemIdsWithDuplicateProductDistributorAssociationIdentifiersByCartItemId: StringValueMap<CartItemId, StringValueSet<CartItemId>>\n} => {\n    const duplicatedCartItems = new StringValueSet<CartItemId>();\n    const cartItemIdsWithDuplicateProductDistributorAssociationIdentifiersByCartItemId = new StringValueMap<CartItemId, StringValueSet<CartItemId>>();\n    const cartItemIdByProductDistributorAssociationIdentifier = new StringValueMap<ProductDistributorAssociationIdentifier, CartItemId>();\n    const totalCartQuantityByCartItemId = new StringValueMap<CartItemId, number>();\n\n    cart.getCartItems().forEach((cartItem) => {\n        const cartItemId = cartItem.getCartItemId();\n        const mappings = productsById.getRequired(cartItem.getProductId()).getPackagingsAndMappings().getMappings();\n        const resolvedProductDistributorAssociationIdentifier = new ProductDistributorAssociationIdentifier(\n            cartItem.getProductId(),\n            PackagingUtils.resolveProductQuantityUnit(\n                new QuantityInUnit<ProductQuantityUnit>(1, cartItem.getProductQuantityUnit()),\n                mappings\n            ).getUnit(),\n            cartItem.getDistributorId()\n        );\n        const resolvedCartQuantity = PackagingUtils.resolveProductQuantityUnit(\n            new QuantityInUnit<ProductQuantityUnit>(cartItem.getQuantityInUnits(), cartItem.getProductQuantityUnit()),\n            mappings\n        ).getQuantity();\n\n        const firstCartItemId = cartItemIdByProductDistributorAssociationIdentifier.get(resolvedProductDistributorAssociationIdentifier);\n        if (firstCartItemId) {\n            duplicatedCartItems.add(cartItemId);\n            cartItemIdsWithDuplicateProductDistributorAssociationIdentifiersByCartItemId.getRequired(firstCartItemId).add(cartItemId);\n            const currentCartQuantity = totalCartQuantityByCartItemId.getRequired(firstCartItemId);\n            totalCartQuantityByCartItemId.set(\n                firstCartItemId,\n                resolvedCartQuantity + currentCartQuantity\n            );\n        } else {\n            cartItemIdByProductDistributorAssociationIdentifier.set(resolvedProductDistributorAssociationIdentifier, cartItemId);\n            cartItemIdsWithDuplicateProductDistributorAssociationIdentifiersByCartItemId.set(cartItemId, new StringValueSet());\n            totalCartQuantityByCartItemId.set(\n                cartItemId,\n                resolvedCartQuantity\n            );\n        }\n    });\n    return {\n        duplicatedCartItemIds : duplicatedCartItems,\n        totalCartQuantityByCartItemId,\n        cartItemIdsWithDuplicateProductDistributorAssociationIdentifiersByCartItemId\n    };\n};\n\nexport const CartUtils = {\n    getProductIdsInCart,\n    getCartItemsByProductId,\n    getCartItemsForProductId,\n    getCartItemsById,\n    getCartItemsByProductDistributorAssociationIdentifier,\n    getCartItemsByDistributorId,\n    getCartItemForProductAndDistributor,\n    getCartItemTotal,\n    getCartTotal,\n    getCartDepositTotal,\n    getCartWithUpdatedRetailerNote,\n    getCartWithUpdatedPurchaseOrderNumber,\n    getCartWithUpdatedIsSavedForLater,\n    getCartItemIdsByProductDistributorAssociationIdentifier,\n    getDuplicatedCartItemInformation,\n};\n","export enum OfflineQueueState {\n    ONLINE_WITH_EMPTY_QUEUE,\n    ONLINE_WITH_ENQUEUED_ITEMS,\n    ONLINE_AFTER_BEING_OFFLINE_WITH_ENQUEUED_ITEMS,\n    OFFLINE_WITH_ENQUEUED_ITEMS,\n    OFFLINE_WITH_EMPTY_QUEUE,\n}\n","import { IStringValue } from 'api/Core/IStringValue';\nimport { immerable, enableMapSet } from \"immer\";\n\nenableMapSet();\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nconst NULL_KEY_VALUE = '__NULL_KEY_VALUE__';\n\nexport class StringValueMap<K extends IStringValue | null | string, V> {\n    [immerable] = true; // RTK uses immer under the hood\n\n    public static merge<K extends IStringValue, V>(...maps : Array<StringValueMap<K, V>>) : StringValueMap<K, V> {\n        const result = new StringValueMap<K, V>();\n        maps.forEach((m) => m.forEach((v, k) => result.set(k, v)));\n        return result;\n    }\n\n    private readonly keyMap : Map<string, K>;\n    private readonly valueMap : Map<string, V>;\n\n    constructor(stringValueMap? : StringValueMap<K, V>) {\n        this.keyMap = (stringValueMap) ? new Map(stringValueMap.keyMap) : new Map();\n        this.valueMap = (stringValueMap) ? new Map(stringValueMap.valueMap) : new Map();\n    }\n\n    public clear() : void {\n        this.keyMap.clear();\n        this.valueMap.clear();\n    }\n\n    public delete(key : K) : boolean {\n        this.keyMap.delete(this.getKeyValue(key));\n        return this.valueMap.delete(this.getKeyValue(key));\n    }\n\n    public get(key : K) : V | undefined {\n        return this.valueMap.get(this.getKeyValue(key));\n    }\n\n    public getRequired(k : K) : V {\n        const v = this.get(k);\n        if (typeof v === 'undefined') {\n            throw new RuntimeException('not found: ' + this.getKeyValue(k));\n        }\n        return v;\n    }\n\n    public has(key : K) : boolean {\n        return this.valueMap.has(this.getKeyValue(key));\n    }\n\n    public set(key : K, value : V) : this {\n        this.valueMap.set(this.getKeyValue(key), value);\n        this.keyMap.set(this.getKeyValue(key), key);\n\n        return this;\n    }\n\n    get size() : number {\n        return this.valueMap.size;\n    }\n\n    public forEach(\n        callbackFunction : (value : V, key : K) => void,\n        thisArg? : unknown\n    ) : void {\n        this.valueMap.forEach((value : V, keyValue : string, map : Map<string, V>) => {\n            const key : K | undefined = this.keyMap.get(keyValue);\n\n            if (typeof key === 'undefined') {\n                throw new RuntimeException('key not found: ' + keyValue);\n            }\n\n            callbackFunction(value, key);\n\n        }, thisArg);\n    }\n\n    public keys() : IterableIterator<K> {\n        return this.keyMap.values();\n    }\n\n    public values() : IterableIterator<V> {\n        return this.valueMap.values();\n    }\n\n    private getKeyValue(key : K) : string {\n        if (key === null) {\n            return NULL_KEY_VALUE;\n        } else if (typeof key === 'string') {\n                return key + ':-string';\n        }\n\n        return key.getValue() + ':-' + key.constructor.name;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\nimport { immerable, enableMapSet } from \"immer\";\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nenableMapSet();\n\nconst NULL_KEY_VALUE = '__NULL_KEY_VALUE__';\n\nexport class StringValueSet<T extends IStringValue | null | string> {\n    [immerable] = true; // RTK uses immer under the hood\n    private readonly keyMap : Map<string, T>;\n    private readonly valueSet : Set<string>;\n\n    constructor(stringValueSetOrArray? : StringValueSet<T> | ReadonlyArray<T> | IterableIterator<T>) {\n        if (typeof stringValueSetOrArray === 'undefined') {\n            this.keyMap = new Map();\n            this.valueSet = new Set();\n\n        } else if (stringValueSetOrArray instanceof StringValueSet) {\n            const stringValueSet : StringValueSet<T> = stringValueSetOrArray;\n\n            this.keyMap = new Map(stringValueSet.keyMap);\n            this.valueSet = new Set(stringValueSet.valueSet);\n        } else {\n            const stringValueArray = Array.isArray(stringValueSetOrArray) ? stringValueSetOrArray : Array.from(stringValueSetOrArray);\n\n            this.keyMap = new Map(\n                stringValueArray.map(\n                    (stringValue : T) => [\n                        this.getKeyValue(stringValue),\n                        stringValue,\n                    ] as [string, T]\n                )\n            );\n\n            this.valueSet = new Set(\n                stringValueArray.map(\n                    (stringValue : T) => this.getKeyValue(stringValue)\n                )\n            );\n        }\n    }\n\n    public add(key : T) : this {\n        this.keyMap.set(this.getKeyValue(key), key);\n        this.valueSet.add(this.getKeyValue(key));\n\n        return this;\n    }\n\n    public clear() : void {\n        this.keyMap.clear();\n        this.valueSet.clear();\n    }\n\n    public delete(key : T) : boolean {\n        this.keyMap.delete(this.getKeyValue(key));\n        return this.valueSet.delete(this.getKeyValue(key));\n    }\n\n    public has(key : T) : boolean {\n        return this.valueSet.has(this.getKeyValue(key));\n    }\n\n    get size() : number {\n        return this.valueSet.size;\n    }\n\n    public values() : IterableIterator<T> {\n        return this.keyMap.values();\n    }\n\n    public forEach(\n        callbackFunction : (value : T) => void,\n        thisArg? : unknown // Typescript types this as `any` below\n    ) : void {\n        this.valueSet.forEach((value : string, value2 : string, set : Set<string>) => {\n            const key : T | undefined = this.keyMap.get(value);\n\n            if (typeof key === 'undefined') {\n                throw new RuntimeException('unexpected attempting to iterate over an undefined key');\n            }\n\n            callbackFunction(key);\n\n        }, thisArg);\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof StringValueSet)) {\n            return false;\n        }\n\n        if (this.size !== other.size) {\n            return false;\n        }\n\n        let isEqual = true;\n        this.forEach((value) => {\n            isEqual = other.has(value) && isEqual;\n        });\n\n        return isEqual;\n    }\n\n    public isSubsetOf(other : unknown) : boolean {\n        if (!(other instanceof StringValueSet)) {\n            return false;\n        }\n\n        if (this.size > other.size) {\n            return false;\n        }\n\n        let isSubset = true;\n        this.forEach((value) => {\n            isSubset = other.has(value) && isSubset;\n        });\n\n        return isSubset;\n    }\n\n    public intersection(otherSet : StringValueSet<T>) : StringValueSet<T> {\n        const result = new StringValueSet<T>();\n        this.forEach((value) => {\n            if (otherSet.has(value)) {\n                result.add(value);\n            }\n        });\n        return result;\n    }\n\n    public union(otherSet : StringValueSet<T>) : StringValueSet<T> {\n        const result = new StringValueSet<T>(this);\n        otherSet.forEach((value) => {\n            result.add(value);\n        });\n        return result;\n    }\n\n    private getKeyValue(key : T) : string {\n        if (key === null) {\n            return NULL_KEY_VALUE;\n        } else if (typeof key === 'string') {\n                return key + ':-string';\n        }\n\n        return key.getValue() + ':-' + key.constructor.name;\n    }\n}\n","var __spreadArray = (this && this.__spreadArray) || function (to, from) {\r\n    for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n        to[j] = from[i];\r\n    return to;\r\n};\r\nvar __defProp = Object.defineProperty;\r\nvar __defProps = Object.defineProperties;\r\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\r\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\r\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\r\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\r\nvar __defNormalProp = function (obj, key, value) { return key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value }) : obj[key] = value; };\r\nvar __spreadValues = function (a, b) {\r\n    for (var prop in b || (b = {}))\r\n        if (__hasOwnProp.call(b, prop))\r\n            __defNormalProp(a, prop, b[prop]);\r\n    if (__getOwnPropSymbols)\r\n        for (var _i = 0, _c = __getOwnPropSymbols(b); _i < _c.length; _i++) {\r\n            var prop = _c[_i];\r\n            if (__propIsEnum.call(b, prop))\r\n                __defNormalProp(a, prop, b[prop]);\r\n        }\r\n    return a;\r\n};\r\nvar __spreadProps = function (a, b) { return __defProps(a, __getOwnPropDescs(b)); };\r\n// src/query/react/index.ts\r\nimport { coreModule, buildCreateApi } from \"@reduxjs/toolkit/query\";\r\n// src/query/react/buildHooks.ts\r\nimport { createSelector } from \"@reduxjs/toolkit\";\r\nimport { useCallback, useDebugValue, useEffect as useEffect3, useLayoutEffect, useMemo as useMemo2, useRef as useRef3, useState } from \"react\";\r\nimport { QueryStatus, skipToken } from \"@reduxjs/toolkit/query\";\r\nimport { shallowEqual as shallowEqual2 } from \"react-redux\";\r\n// src/query/react/useSerializedStableValue.ts\r\nimport { useEffect, useRef, useMemo } from \"react\";\r\nfunction useStableQueryArgs(queryArgs, serialize, endpointDefinition, endpointName) {\r\n    var incoming = useMemo(function () { return ({\r\n        queryArgs: queryArgs,\r\n        serialized: typeof queryArgs == \"object\" ? serialize({ queryArgs: queryArgs, endpointDefinition: endpointDefinition, endpointName: endpointName }) : queryArgs\r\n    }); }, [queryArgs, serialize, endpointDefinition, endpointName]);\r\n    var cache2 = useRef(incoming);\r\n    useEffect(function () {\r\n        if (cache2.current.serialized !== incoming.serialized) {\r\n            cache2.current = incoming;\r\n        }\r\n    }, [incoming]);\r\n    return cache2.current.serialized === incoming.serialized ? cache2.current.queryArgs : queryArgs;\r\n}\r\n// src/query/react/constants.ts\r\nvar UNINITIALIZED_VALUE = Symbol();\r\n// src/query/react/useShallowStableValue.ts\r\nimport { useEffect as useEffect2, useRef as useRef2 } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nfunction useShallowStableValue(value) {\r\n    var cache2 = useRef2(value);\r\n    useEffect2(function () {\r\n        if (!shallowEqual(cache2.current, value)) {\r\n            cache2.current = value;\r\n        }\r\n    }, [value]);\r\n    return shallowEqual(cache2.current, value) ? cache2.current : value;\r\n}\r\n// src/query/defaultSerializeQueryArgs.ts\r\nimport { isPlainObject } from \"@reduxjs/toolkit\";\r\nvar cache = WeakMap ? new WeakMap() : void 0;\r\nvar defaultSerializeQueryArgs = function (_c) {\r\n    var endpointName = _c.endpointName, queryArgs = _c.queryArgs;\r\n    var serialized = \"\";\r\n    var cached = cache == null ? void 0 : cache.get(queryArgs);\r\n    if (typeof cached === \"string\") {\r\n        serialized = cached;\r\n    }\r\n    else {\r\n        var stringified = JSON.stringify(queryArgs, function (key, value) { return isPlainObject(value) ? Object.keys(value).sort().reduce(function (acc, key2) {\r\n            acc[key2] = value[key2];\r\n            return acc;\r\n        }, {}) : value; });\r\n        if (isPlainObject(queryArgs)) {\r\n            cache == null ? void 0 : cache.set(queryArgs, stringified);\r\n        }\r\n        serialized = stringified;\r\n    }\r\n    return endpointName + \"(\" + serialized + \")\";\r\n};\r\n// src/query/react/buildHooks.ts\r\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" && !!window.document && !!window.document.createElement ? useLayoutEffect : useEffect3;\r\nvar defaultMutationStateSelector = function (x) { return x; };\r\nvar noPendingQueryStateSelector = function (selected) {\r\n    if (selected.isUninitialized) {\r\n        return __spreadProps(__spreadValues({}, selected), {\r\n            isUninitialized: false,\r\n            isFetching: true,\r\n            isLoading: selected.data !== void 0 ? false : true,\r\n            status: QueryStatus.pending\r\n        });\r\n    }\r\n    return selected;\r\n};\r\nfunction buildHooks(_c) {\r\n    var api = _c.api, _d = _c.moduleOptions, batch = _d.batch, useDispatch = _d.useDispatch, useSelector = _d.useSelector, useStore = _d.useStore, unstable__sideEffectsInRender = _d.unstable__sideEffectsInRender, serializeQueryArgs = _c.serializeQueryArgs, context = _c.context;\r\n    var usePossiblyImmediateEffect = unstable__sideEffectsInRender ? function (cb) { return cb(); } : useEffect3;\r\n    return { buildQueryHooks: buildQueryHooks, buildMutationHook: buildMutationHook, usePrefetch: usePrefetch };\r\n    function queryStatePreSelector(currentState, lastResult, queryArgs) {\r\n        if ((lastResult == null ? void 0 : lastResult.endpointName) && currentState.isUninitialized) {\r\n            var endpointName = lastResult.endpointName;\r\n            var endpointDefinition = context.endpointDefinitions[endpointName];\r\n            if (serializeQueryArgs({\r\n                queryArgs: lastResult.originalArgs,\r\n                endpointDefinition: endpointDefinition,\r\n                endpointName: endpointName\r\n            }) === serializeQueryArgs({\r\n                queryArgs: queryArgs,\r\n                endpointDefinition: endpointDefinition,\r\n                endpointName: endpointName\r\n            }))\r\n                lastResult = void 0;\r\n        }\r\n        var data = currentState.isSuccess ? currentState.data : lastResult == null ? void 0 : lastResult.data;\r\n        if (data === void 0)\r\n            data = currentState.data;\r\n        var hasData = data !== void 0;\r\n        var isFetching = currentState.isLoading;\r\n        var isLoading = !hasData && isFetching;\r\n        var isSuccess = currentState.isSuccess || isFetching && hasData;\r\n        return __spreadProps(__spreadValues({}, currentState), {\r\n            data: data,\r\n            currentData: currentState.data,\r\n            isFetching: isFetching,\r\n            isLoading: isLoading,\r\n            isSuccess: isSuccess\r\n        });\r\n    }\r\n    function usePrefetch(endpointName, defaultOptions) {\r\n        var dispatch = useDispatch();\r\n        var stableDefaultOptions = useShallowStableValue(defaultOptions);\r\n        return useCallback(function (arg, options) { return dispatch(api.util.prefetch(endpointName, arg, __spreadValues(__spreadValues({}, stableDefaultOptions), options))); }, [endpointName, dispatch, stableDefaultOptions]);\r\n    }\r\n    function buildQueryHooks(name) {\r\n        var useQuerySubscription = function (arg, _c) {\r\n            var _d = _c === void 0 ? {} : _c, refetchOnReconnect = _d.refetchOnReconnect, refetchOnFocus = _d.refetchOnFocus, refetchOnMountOrArgChange = _d.refetchOnMountOrArgChange, _e = _d.skip, skip = _e === void 0 ? false : _e, _f = _d.pollingInterval, pollingInterval = _f === void 0 ? 0 : _f;\r\n            var initiate = api.endpoints[name].initiate;\r\n            var dispatch = useDispatch();\r\n            var stableArg = useStableQueryArgs(skip ? skipToken : arg, defaultSerializeQueryArgs, context.endpointDefinitions[name], name);\r\n            var stableSubscriptionOptions = useShallowStableValue({\r\n                refetchOnReconnect: refetchOnReconnect,\r\n                refetchOnFocus: refetchOnFocus,\r\n                pollingInterval: pollingInterval\r\n            });\r\n            var lastRenderHadSubscription = useRef3(false);\r\n            var promiseRef = useRef3();\r\n            var _g = promiseRef.current || {}, queryCacheKey = _g.queryCacheKey, requestId = _g.requestId;\r\n            var currentRenderHasSubscription = false;\r\n            if (queryCacheKey && requestId) {\r\n                var returnedValue = dispatch(api.internalActions.internal_probeSubscription({\r\n                    queryCacheKey: queryCacheKey,\r\n                    requestId: requestId\r\n                }));\r\n                if (process.env.NODE_ENV !== \"production\") {\r\n                    if (typeof returnedValue !== \"boolean\") {\r\n                        throw new Error(\"Warning: Middleware for RTK-Query API at reducerPath \\\"\" + api.reducerPath + \"\\\" has not been added to the store.\\n    You must add the middleware for RTK-Query to function correctly!\");\r\n                    }\r\n                }\r\n                currentRenderHasSubscription = !!returnedValue;\r\n            }\r\n            var subscriptionRemoved = !currentRenderHasSubscription && lastRenderHadSubscription.current;\r\n            usePossiblyImmediateEffect(function () {\r\n                lastRenderHadSubscription.current = currentRenderHasSubscription;\r\n            });\r\n            usePossiblyImmediateEffect(function () {\r\n                if (subscriptionRemoved) {\r\n                    promiseRef.current = void 0;\r\n                }\r\n            }, [subscriptionRemoved]);\r\n            usePossiblyImmediateEffect(function () {\r\n                var _a;\r\n                var lastPromise = promiseRef.current;\r\n                if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"removeMeOnCompilation\") {\r\n                    console.log(subscriptionRemoved);\r\n                }\r\n                if (stableArg === skipToken) {\r\n                    lastPromise == null ? void 0 : lastPromise.unsubscribe();\r\n                    promiseRef.current = void 0;\r\n                    return;\r\n                }\r\n                var lastSubscriptionOptions = (_a = promiseRef.current) == null ? void 0 : _a.subscriptionOptions;\r\n                if (!lastPromise || lastPromise.arg !== stableArg) {\r\n                    lastPromise == null ? void 0 : lastPromise.unsubscribe();\r\n                    var promise = dispatch(initiate(stableArg, {\r\n                        subscriptionOptions: stableSubscriptionOptions,\r\n                        forceRefetch: refetchOnMountOrArgChange\r\n                    }));\r\n                    promiseRef.current = promise;\r\n                }\r\n                else if (stableSubscriptionOptions !== lastSubscriptionOptions) {\r\n                    lastPromise.updateSubscriptionOptions(stableSubscriptionOptions);\r\n                }\r\n            }, [\r\n                dispatch,\r\n                initiate,\r\n                refetchOnMountOrArgChange,\r\n                stableArg,\r\n                stableSubscriptionOptions,\r\n                subscriptionRemoved\r\n            ]);\r\n            useEffect3(function () {\r\n                return function () {\r\n                    var _a;\r\n                    (_a = promiseRef.current) == null ? void 0 : _a.unsubscribe();\r\n                    promiseRef.current = void 0;\r\n                };\r\n            }, []);\r\n            return useMemo2(function () { return ({\r\n                refetch: function () {\r\n                    var _a;\r\n                    if (!promiseRef.current)\r\n                        throw new Error(\"Cannot refetch a query that has not been started yet.\");\r\n                    return (_a = promiseRef.current) == null ? void 0 : _a.refetch();\r\n                }\r\n            }); }, []);\r\n        };\r\n        var useLazyQuerySubscription = function (_c) {\r\n            var _d = _c === void 0 ? {} : _c, refetchOnReconnect = _d.refetchOnReconnect, refetchOnFocus = _d.refetchOnFocus, _e = _d.pollingInterval, pollingInterval = _e === void 0 ? 0 : _e;\r\n            var initiate = api.endpoints[name].initiate;\r\n            var dispatch = useDispatch();\r\n            var _f = useState(UNINITIALIZED_VALUE), arg = _f[0], setArg = _f[1];\r\n            var promiseRef = useRef3();\r\n            var stableSubscriptionOptions = useShallowStableValue({\r\n                refetchOnReconnect: refetchOnReconnect,\r\n                refetchOnFocus: refetchOnFocus,\r\n                pollingInterval: pollingInterval\r\n            });\r\n            usePossiblyImmediateEffect(function () {\r\n                var _a, _b;\r\n                var lastSubscriptionOptions = (_a = promiseRef.current) == null ? void 0 : _a.subscriptionOptions;\r\n                if (stableSubscriptionOptions !== lastSubscriptionOptions) {\r\n                    (_b = promiseRef.current) == null ? void 0 : _b.updateSubscriptionOptions(stableSubscriptionOptions);\r\n                }\r\n            }, [stableSubscriptionOptions]);\r\n            var subscriptionOptionsRef = useRef3(stableSubscriptionOptions);\r\n            usePossiblyImmediateEffect(function () {\r\n                subscriptionOptionsRef.current = stableSubscriptionOptions;\r\n            }, [stableSubscriptionOptions]);\r\n            var trigger = useCallback(function (arg2, preferCacheValue) {\r\n                if (preferCacheValue === void 0) { preferCacheValue = false; }\r\n                var promise;\r\n                batch(function () {\r\n                    var _a;\r\n                    (_a = promiseRef.current) == null ? void 0 : _a.unsubscribe();\r\n                    promiseRef.current = promise = dispatch(initiate(arg2, {\r\n                        subscriptionOptions: subscriptionOptionsRef.current,\r\n                        forceRefetch: !preferCacheValue\r\n                    }));\r\n                    setArg(arg2);\r\n                });\r\n                return promise;\r\n            }, [dispatch, initiate]);\r\n            useEffect3(function () {\r\n                return function () {\r\n                    var _a;\r\n                    (_a = promiseRef == null ? void 0 : promiseRef.current) == null ? void 0 : _a.unsubscribe();\r\n                };\r\n            }, []);\r\n            useEffect3(function () {\r\n                if (arg !== UNINITIALIZED_VALUE && !promiseRef.current) {\r\n                    trigger(arg, true);\r\n                }\r\n            }, [arg, trigger]);\r\n            return useMemo2(function () { return [trigger, arg]; }, [trigger, arg]);\r\n        };\r\n        var useQueryState = function (arg, _c) {\r\n            var _d = _c === void 0 ? {} : _c, _e = _d.skip, skip = _e === void 0 ? false : _e, selectFromResult = _d.selectFromResult;\r\n            var select = api.endpoints[name].select;\r\n            var stableArg = useStableQueryArgs(skip ? skipToken : arg, serializeQueryArgs, context.endpointDefinitions[name], name);\r\n            var lastValue = useRef3();\r\n            var selectDefaultResult = useMemo2(function () { return createSelector([\r\n                select(stableArg),\r\n                function (_, lastResult) { return lastResult; },\r\n                function (_) { return stableArg; }\r\n            ], queryStatePreSelector); }, [select, stableArg]);\r\n            var querySelector = useMemo2(function () { return selectFromResult ? createSelector([selectDefaultResult], selectFromResult) : selectDefaultResult; }, [selectDefaultResult, selectFromResult]);\r\n            var currentState = useSelector(function (state) { return querySelector(state, lastValue.current); }, shallowEqual2);\r\n            var store = useStore();\r\n            var newLastValue = selectDefaultResult(store.getState(), lastValue.current);\r\n            useIsomorphicLayoutEffect(function () {\r\n                lastValue.current = newLastValue;\r\n            }, [newLastValue]);\r\n            return currentState;\r\n        };\r\n        return {\r\n            useQueryState: useQueryState,\r\n            useQuerySubscription: useQuerySubscription,\r\n            useLazyQuerySubscription: useLazyQuerySubscription,\r\n            useLazyQuery: function (options) {\r\n                var _c = useLazyQuerySubscription(options), trigger = _c[0], arg = _c[1];\r\n                var queryStateResults = useQueryState(arg, __spreadProps(__spreadValues({}, options), {\r\n                    skip: arg === UNINITIALIZED_VALUE\r\n                }));\r\n                var info = useMemo2(function () { return ({ lastArg: arg }); }, [arg]);\r\n                return useMemo2(function () { return [trigger, queryStateResults, info]; }, [trigger, queryStateResults, info]);\r\n            },\r\n            useQuery: function (arg, options) {\r\n                var querySubscriptionResults = useQuerySubscription(arg, options);\r\n                var queryStateResults = useQueryState(arg, __spreadValues({\r\n                    selectFromResult: arg === skipToken || (options == null ? void 0 : options.skip) ? void 0 : noPendingQueryStateSelector\r\n                }, options));\r\n                var data = queryStateResults.data, status = queryStateResults.status, isLoading = queryStateResults.isLoading, isSuccess = queryStateResults.isSuccess, isError = queryStateResults.isError, error = queryStateResults.error;\r\n                useDebugValue({ data: data, status: status, isLoading: isLoading, isSuccess: isSuccess, isError: isError, error: error });\r\n                return useMemo2(function () { return __spreadValues(__spreadValues({}, queryStateResults), querySubscriptionResults); }, [queryStateResults, querySubscriptionResults]);\r\n            }\r\n        };\r\n    }\r\n    function buildMutationHook(name) {\r\n        return function (_c) {\r\n            var _d = _c === void 0 ? {} : _c, _e = _d.selectFromResult, selectFromResult = _e === void 0 ? defaultMutationStateSelector : _e, fixedCacheKey = _d.fixedCacheKey;\r\n            var _f = api.endpoints[name], select = _f.select, initiate = _f.initiate;\r\n            var dispatch = useDispatch();\r\n            var _g = useState(), promise = _g[0], setPromise = _g[1];\r\n            useEffect3(function () { return function () {\r\n                if (!(promise == null ? void 0 : promise.arg.fixedCacheKey)) {\r\n                    promise == null ? void 0 : promise.reset();\r\n                }\r\n            }; }, [promise]);\r\n            var triggerMutation = useCallback(function (arg) {\r\n                var promise2 = dispatch(initiate(arg, { fixedCacheKey: fixedCacheKey }));\r\n                setPromise(promise2);\r\n                return promise2;\r\n            }, [dispatch, initiate, fixedCacheKey]);\r\n            var requestId = (promise || {}).requestId;\r\n            var mutationSelector = useMemo2(function () { return createSelector([select({ fixedCacheKey: fixedCacheKey, requestId: promise == null ? void 0 : promise.requestId })], selectFromResult); }, [select, promise, selectFromResult, fixedCacheKey]);\r\n            var currentState = useSelector(mutationSelector, shallowEqual2);\r\n            var originalArgs = fixedCacheKey == null ? promise == null ? void 0 : promise.arg.originalArgs : void 0;\r\n            var reset = useCallback(function () {\r\n                batch(function () {\r\n                    if (promise) {\r\n                        setPromise(void 0);\r\n                    }\r\n                    if (fixedCacheKey) {\r\n                        dispatch(api.internalActions.removeMutationResult({\r\n                            requestId: requestId,\r\n                            fixedCacheKey: fixedCacheKey\r\n                        }));\r\n                    }\r\n                });\r\n            }, [dispatch, fixedCacheKey, promise, requestId]);\r\n            var endpointName = currentState.endpointName, data = currentState.data, status = currentState.status, isLoading = currentState.isLoading, isSuccess = currentState.isSuccess, isError = currentState.isError, error = currentState.error;\r\n            useDebugValue({\r\n                endpointName: endpointName,\r\n                data: data,\r\n                status: status,\r\n                isLoading: isLoading,\r\n                isSuccess: isSuccess,\r\n                isError: isError,\r\n                error: error\r\n            });\r\n            var finalState = useMemo2(function () { return __spreadProps(__spreadValues({}, currentState), { originalArgs: originalArgs, reset: reset }); }, [currentState, originalArgs, reset]);\r\n            return useMemo2(function () { return [triggerMutation, finalState]; }, [triggerMutation, finalState]);\r\n        };\r\n    }\r\n}\r\n// src/query/endpointDefinitions.ts\r\nvar DefinitionType;\r\n(function (DefinitionType2) {\r\n    DefinitionType2[\"query\"] = \"query\";\r\n    DefinitionType2[\"mutation\"] = \"mutation\";\r\n})(DefinitionType || (DefinitionType = {}));\r\nfunction isQueryDefinition(e) {\r\n    return e.type === DefinitionType.query;\r\n}\r\nfunction isMutationDefinition(e) {\r\n    return e.type === DefinitionType.mutation;\r\n}\r\n// src/query/utils/capitalize.ts\r\nfunction capitalize(str) {\r\n    return str.replace(str[0], str[0].toUpperCase());\r\n}\r\n// src/query/tsHelpers.ts\r\nfunction safeAssign(target) {\r\n    var args = [];\r\n    for (var _i = 1; _i < arguments.length; _i++) {\r\n        args[_i - 1] = arguments[_i];\r\n    }\r\n    Object.assign.apply(Object, __spreadArray([target], args));\r\n}\r\n// src/query/react/module.ts\r\nimport { useDispatch as rrUseDispatch, useSelector as rrUseSelector, useStore as rrUseStore, batch as rrBatch } from \"react-redux\";\r\nvar reactHooksModuleName = /* @__PURE__ */ Symbol();\r\nvar reactHooksModule = function (_c) {\r\n    var _d = _c === void 0 ? {} : _c, _e = _d.batch, batch = _e === void 0 ? rrBatch : _e, _f = _d.useDispatch, useDispatch = _f === void 0 ? rrUseDispatch : _f, _g = _d.useSelector, useSelector = _g === void 0 ? rrUseSelector : _g, _h = _d.useStore, useStore = _h === void 0 ? rrUseStore : _h, _j = _d.unstable__sideEffectsInRender, unstable__sideEffectsInRender = _j === void 0 ? false : _j;\r\n    return ({\r\n        name: reactHooksModuleName,\r\n        init: function (api, _c, context) {\r\n            var serializeQueryArgs = _c.serializeQueryArgs;\r\n            var anyApi = api;\r\n            var _d = buildHooks({\r\n                api: api,\r\n                moduleOptions: {\r\n                    batch: batch,\r\n                    useDispatch: useDispatch,\r\n                    useSelector: useSelector,\r\n                    useStore: useStore,\r\n                    unstable__sideEffectsInRender: unstable__sideEffectsInRender\r\n                },\r\n                serializeQueryArgs: serializeQueryArgs,\r\n                context: context\r\n            }), buildQueryHooks = _d.buildQueryHooks, buildMutationHook = _d.buildMutationHook, usePrefetch = _d.usePrefetch;\r\n            safeAssign(anyApi, { usePrefetch: usePrefetch });\r\n            safeAssign(context, { batch: batch });\r\n            return {\r\n                injectEndpoint: function (endpointName, definition) {\r\n                    if (isQueryDefinition(definition)) {\r\n                        var _c = buildQueryHooks(endpointName), useQuery = _c.useQuery, useLazyQuery = _c.useLazyQuery, useLazyQuerySubscription = _c.useLazyQuerySubscription, useQueryState = _c.useQueryState, useQuerySubscription = _c.useQuerySubscription;\r\n                        safeAssign(anyApi.endpoints[endpointName], {\r\n                            useQuery: useQuery,\r\n                            useLazyQuery: useLazyQuery,\r\n                            useLazyQuerySubscription: useLazyQuerySubscription,\r\n                            useQueryState: useQueryState,\r\n                            useQuerySubscription: useQuerySubscription\r\n                        });\r\n                        api[\"use\" + capitalize(endpointName) + \"Query\"] = useQuery;\r\n                        api[\"useLazy\" + capitalize(endpointName) + \"Query\"] = useLazyQuery;\r\n                    }\r\n                    else if (isMutationDefinition(definition)) {\r\n                        var useMutation = buildMutationHook(endpointName);\r\n                        safeAssign(anyApi.endpoints[endpointName], {\r\n                            useMutation: useMutation\r\n                        });\r\n                        api[\"use\" + capitalize(endpointName) + \"Mutation\"] = useMutation;\r\n                    }\r\n                }\r\n            };\r\n        }\r\n    });\r\n};\r\n// src/query/react/index.ts\r\nexport * from \"@reduxjs/toolkit/query\";\r\n// src/query/react/ApiProvider.tsx\r\nimport { configureStore } from \"@reduxjs/toolkit\";\r\nimport { useEffect as useEffect4 } from \"react\";\r\nimport React from \"react\";\r\nimport { Provider } from \"react-redux\";\r\nimport { setupListeners } from \"@reduxjs/toolkit/query\";\r\nfunction ApiProvider(props) {\r\n    var store = React.useState(function () {\r\n        var _c;\r\n        return configureStore({\r\n            reducer: (_c = {},\r\n                _c[props.api.reducerPath] = props.api.reducer,\r\n                _c),\r\n            middleware: function (gDM) { return gDM().concat(props.api.middleware); }\r\n        });\r\n    })[0];\r\n    useEffect4(function () { return props.setupListeners === false ? void 0 : setupListeners(store.dispatch, props.setupListeners); }, [props.setupListeners, store.dispatch]);\r\n    return /* @__PURE__ */ React.createElement(Provider, {\r\n        store: store,\r\n        context: props.context\r\n    }, props.children);\r\n}\r\n// src/query/react/index.ts\r\nvar createApi = /* @__PURE__ */ buildCreateApi(coreModule(), reactHooksModule());\r\nexport { ApiProvider, createApi, reactHooksModule, reactHooksModuleName };\r\n//# sourceMappingURL=rtk-query-react.esm.js.map","import { createApi, fetchBaseQuery, FetchBaseQueryError } from '@reduxjs/toolkit/query/react'\nimport { enableMapSet } from 'immer';\nimport { IRestApiRejection } from 'shared/utils/ajaxUtils';\n\n// LegacyErrorRejection must satisfy FetchBaseQueryError type that is used by query endpoints\nexport type LegacyErrorRejection<T> = {\n    status: number;\n    data: T | null;\n    message: string;\n    error?: Error | null;\n};\nexport const isRestApiRejection = <T>(\n    err: unknown,\n    dataGuard?: (data: unknown) => data is T\n): err is IRestApiRejection<T> => {\n    if (typeof err !== \"object\" || err === null) return false;\n\n    // must have core fields\n    if (!(\"message\" in err) || !(\"content\" in err) || !(\"error\" in err)) return false;\n\n    // Optional: validate data is T\n    if (dataGuard) return dataGuard((err as IRestApiRejection).content);\n\n    return true;\n}\nexport const isLegacyErrorRejection = (err: unknown): err is LegacyErrorRejection<unknown> => {\n    if (typeof err !== \"object\" || err === null) return false;\n    return \"status\" in err && typeof err.status === \"number\" && \"data\" in err && \"message\" in err;\n}\nexport const transformLegacyError = <T>(e: unknown): { error: LegacyErrorRejection<T> } => {\n    if (isRestApiRejection(e)) {\n        return {\n            error: {\n                status: e.status ?? 500,\n                data: e.content as T,\n                message: e.message,\n                error: e.error,\n            },\n        }\n    }\n    // for safety: don't always blindly assume IRestApiRejection (though it should be)\n    const typedE = e as Record<string, unknown> | undefined;\n    return {\n        error: {\n            status: typedE?.status as number | undefined ?? 500,\n            data: null,\n            message: typedE?.message as string  | undefined ?? 'Request failed',\n        }\n    }\n}\n\n// Extracts the custom Django `exception_type` (e.g. 'ProductIsDeletedException') from a rejected\n// legacy API error\nexport const getLegacyDjangoErrorType = (e: unknown): string | null => {\n    if (isRestApiRejection(e)) {\n        return e.type;\n    }\n    return null;\n}\n\n/**\n * A serializable representation of a thrift client failure that RTK Query can hold in its\n * `error` field. Thrift declared exceptions are application-level errors with no HTTP status,\n * so rather than fabricating one we use RTK Query's own\n * `CUSTOM_ERROR` variant of {@link FetchBaseQueryError} — this keeps the value typed as a\n * first-class RTK Query error.\n */\nexport type ThriftErrorRejection = Extract<FetchBaseQueryError, { status: 'CUSTOM_ERROR' }> & {\n    data: { name: string; message: string };\n};\n\n/** Type guard for the rejection produced by {@link transformThriftError}. */\nexport const isThriftErrorRejection = (error: unknown): error is ThriftErrorRejection => {\n    if (typeof error !== 'object' || error === null) return false;\n    if ((error as { status?: unknown }).status !== 'CUSTOM_ERROR') return false;\n    const data = (error as { data?: unknown }).data;\n    return typeof data === 'object'\n        && data !== null\n        && typeof (data as { name?: unknown }).name === 'string';\n};\n\n/**\n * Converts a thrift client rejection into a plain `{ error }` value for a queryFn to return.\n * Returning the error (instead of letting the queryFn throw) keeps RTK Query from logging an\n * \"unhandled error\" and keeps non-serializable exception instances out of the redux store.\n */\nexport const transformThriftError = (thrownError: unknown): { error: ThriftErrorRejection } => {\n    const name = thrownError instanceof Error ? thrownError.name : 'UnknownError';\n    const message = thrownError instanceof Error ? thrownError.message : String(thrownError);\n    return {\n        error: {\n            status: 'CUSTOM_ERROR',\n            error: message,\n            data: { name, message },\n        },\n    };\n};\n\n/**\n * Wraps the body of a thrift-backed RTK Query `queryFn` so that any thrown error is converted\n * into a serializable rejection via {@link transformThriftError}. Use this instead of repeating\n * a `try/catch` in every endpoint — the wrapped function just returns its data value and the\n * wrapper handles packaging success (`{ data }`) and failure (`{ error }`).\n */\nexport const thriftQueryFn = <TArg, TData>(\n    run: (arg: TArg) => Promise<TData>,\n): ((arg: TArg) => Promise<{ data: TData } | { error: ThriftErrorRejection }>) => (\n    async (arg: TArg) => {\n        try {\n            return { data: await run(arg) };\n        } catch (thrownError) {\n            return transformThriftError(thrownError);\n        }\n    }\n);\n\n/** {@link thriftQueryFn} for AjaxUtils-backed endpoints, converting via {@link transformLegacyError}. */\nexport const legacyQueryFn = <TArg, TData>(\n    run: (arg: TArg) => Promise<TData>,\n): ((arg: TArg) => Promise<{ data: TData } | { error: LegacyErrorRejection<unknown> }>) => (\n    async (arg: TArg) => {\n        try {\n            return { data: await run(arg) };\n        } catch (thrownError) {\n            return transformLegacyError(thrownError);\n        }\n    }\n);\n\n/** {@link thriftQueryFn} for endpoints that call both thrift clients and AjaxUtils, converting each failure by its shape. */\nexport const mixedQueryFn = <TArg, TData>(\n    run: (arg: TArg) => Promise<TData>,\n): ((arg: TArg) => Promise<{ data: TData } | { error: ThriftErrorRejection | LegacyErrorRejection<unknown> }>) => (\n    async (arg: TArg) => {\n        try {\n            return { data: await run(arg) };\n        } catch (thrownError) {\n            return isRestApiRejection(thrownError) ? transformLegacyError(thrownError) : transformThriftError(thrownError);\n        }\n    }\n);\n\n// We use Maps/Sets everywhere in our redux state, which is explicilty advised against\n// anyways, we have to directly include this plugin in order to leverage various RTK things, including RTKQ\n// this should already be enabled but just for safety also doing here\nenableMapSet();\n\n// We use AjaxUtils calling base XHR functions to do all of our API querying.\n// Without having to restructure all of our APIs,\n// just going to use the queryFn (instead of nicer baseQuery).\n// This is just a shared set up for all APIs that get handled in RTKQ, so tags can be handled across different API types.\n// (for example: order add items to cart might want to invalidate a cart api cache)\n// Each new one should be instantiated like:\n// const ordersApi = apiBase.injectEndpoints({endpoints: (build) => ({ })\nconst ORDER_TAGS = ['Orders', 'InvoiceUploads']\nexport const ACCOUNTING_TAGS = ['MergeExpenseAccounts', 'MergeSupplierContacts', 'MergeTaxRates', 'MergeObjectMappings', 'GroupAssociations', 'GroupAssociationSettings', 'RetailerAssociations', 'MergeSyncEvents', 'MergeMostRecentSyncTime', 'LinkedAccountStatus']\nconst PRODUCT_TAGS = ['Categories', 'ProductMappings', 'LocationProducts']\nexport const PRODUCT_INSIGHTS_TAG = 'ProductInsights';\nconst ITEM_CARD_TAGS = [PRODUCT_INSIGHTS_TAG]\nconst DISTRIBUTOR_TAGS = ['Distributors']\nconst ADMIN_TAGS = ['AdminManageRetailer', 'AdminManageGroup', 'ApiTokens']\nexport const apiBase = createApi({\n    reducerPath: 'api',\n    baseQuery: fetchBaseQuery({ baseUrl: '/' }),\n    tagTypes: [...ORDER_TAGS, ...ACCOUNTING_TAGS, ...PRODUCT_TAGS, ...DISTRIBUTOR_TAGS, ...ADMIN_TAGS, ...ITEM_CARD_TAGS],\n    endpoints: () => ({}),\n});\n","import { apiBase } from 'api/Core/apiQueryBase';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { DistributorServiceInstance, userSessionManager } from 'shared/lib/manager';\n\ninterface IGetDistributorsForRetailerRequest {\n    readonly locationId : LocationId;\n}\n\nexport const distributorReduxApi = apiBase.injectEndpoints({ overrideExisting: false, endpoints: (build) => ({\n    getDistributorsForRetailer: build.query<StringValueMap<DistributorId, Distributor>, IGetDistributorsForRetailerRequest>({\n        providesTags: (_result, _error, arg) => [{ type: 'Distributors', id: arg.locationId.getValue() }],\n        async queryFn(arg) {\n            const sessionId = userSessionManager.getSessionId();\n            const data = await DistributorServiceInstance.getAvailableDistributorsByIdForLocation(sessionId, arg.locationId);\n            return { data };\n        },\n    }),\n}) });\n","\nexport interface IJSONAddress {\n    line1? : string;\n    line2? : string;\n    city? : string;\n    state? : string;\n    zipcode? : string;\n}\n\nexport class Address {\n\n    public static createFromJSONObject(JSONObject : IJSONAddress) : Address {\n        return new Address(\n            Address.undefToBlank(JSONObject.line1),\n            Address.undefToBlank(JSONObject.line2),\n            Address.undefToBlank(JSONObject.city),\n            Address.undefToBlank(JSONObject.state),\n            Address.undefToBlank(JSONObject.zipcode),\n        );\n    }\n\n    public static copy(other : Address) : Address {\n        return new Address(\n            other.line1,\n            other.line2,\n            other.city,\n            other.state,\n            other.zipcode,\n        );\n    }\n\n    private static undefToBlank(value : string | undefined) : string {\n        if (typeof value === 'undefined') { return ''; }\n        return value;\n    }\n\n    constructor (\n        public line1 : string,\n        public line2 : string,\n        public city : string,\n        public state : string,\n        public zipcode : string,\n    ) {}\n}\n","import { ExtraDistributorProperties } from 'api/Distributor/model/ExtraDistributorProperties';\nimport { Scope } from 'api/Location/model/Scope';\n\nexport class Distributor {\n\n    public static copy(other : Distributor | null) : Distributor | null {\n        if (other === null) { return null; }\n        return new Distributor(\n            other.getOwner(),\n            other.getName(),\n            other.getShortName(),\n            ExtraDistributorProperties.copy(other.getExtraDistributorProperties()),\n        );\n    }\n\n    constructor (\n        private owner : Scope,\n        private name : string,\n        private shortName : string,\n        private extraDistributorProperties : ExtraDistributorProperties | null = null,\n    ) { }\n\n    public getName() {\n        return this.name;\n    }\n\n    public setName(name : string) {\n        this.name = name;\n    }\n\n    public getShortName() {\n        return this.shortName;\n    }\n\n    public getOwner() {\n        return this.owner;\n    }\n\n    public getExtraDistributorProperties() : ExtraDistributorProperties {\n        if (this.extraDistributorProperties === null) {\n            return ExtraDistributorProperties.createBlank();\n        } else {\n            return this.extraDistributorProperties;\n        }\n    }\n\n    public setExtraDistributorProperties(extraDistributorProperties : ExtraDistributorProperties | null) {\n        this.extraDistributorProperties = extraDistributorProperties;\n    }\n\n    public getRestFormData(formData : FormData) : FormData {\n        const extra = this.getExtraDistributorProperties();\n        if (extra !== null) {\n            formData = extra.getRestFormData(formData);\n        }\n        return formData;\n    }\n}\n","export interface IJSONDistributorAdjustment {\n    name? : string;\n    category_id? : string;\n}\nexport class DistributorAdjustment {\n\n    public static createFromJSONObject(JSONObject : IJSONDistributorAdjustment) : DistributorAdjustment {\n        const result = new DistributorAdjustment(\n            DistributorAdjustment.procDefault(JSONObject.name, ''),\n            DistributorAdjustment.procDefault(JSONObject.category_id, ''),\n        );\n\n        return result;\n    }\n\n    private static procDefault<T>(value : T | undefined, defaultValue : T) : T {\n        if (typeof value === 'undefined' || value === null) {\n            return defaultValue;\n        } else {\n            return value;\n        }\n    }\n\n    constructor(\n        readonly name : string, // Required\n        readonly categoryId : string, // Required\n    ) { }\n\n    public getJSONObject = () : IJSONDistributorAdjustment => ({\n        name: this.name,\n        category_id: this.categoryId,\n    })\n\n    public getRestFormData = (formData : FormData) : FormData => {\n        formData.append('name', this.name);\n        formData.append('category_id', this.categoryId);\n        return formData;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class DistributorAdjustmentId implements IStringValue {\n    constructor (private readonly value : string) { }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof DistributorAdjustmentId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{DistributorAdjustmentId: ${this.value}}`;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class DistributorId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof DistributorId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{DistributorId: ${this.value}}`;\n    }\n\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\n\nexport class DistributorNameCollisionException {\n    public readonly collidedDistributorsById : StringValueMap<DistributorId, Distributor>;\n    public constructor(collidedDistributorsById : StringValueMap<DistributorId, Distributor>) {\n        this.collidedDistributorsById = collidedDistributorsById;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class DistributorRegionId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : DistributorRegionId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{DistributorRegionId: ${this.value}}`;\n    }\n}\n","export interface IJSONDistributorRep {\n    name? : string;\n    email? : string;\n    to_email? : boolean;\n    attach_csv? : boolean;\n    phone? : string;\n    to_sms? : boolean;\n}\n\nexport class DistributorRep {\n\n    public static createFromJSONObject(JSONObject : IJSONDistributorRep) : DistributorRep {\n        const result = new DistributorRep(\n            DistributorRep.procDefault(JSONObject.name, ''),\n            DistributorRep.procDefault(JSONObject.email, ''),\n            DistributorRep.procDefault(JSONObject.to_email, false),\n            DistributorRep.procDefault(JSONObject.attach_csv, false),\n            DistributorRep.procDefault(JSONObject.phone, ''),\n            DistributorRep.procDefault(JSONObject.to_sms, false),\n        );\n\n        return result;\n    }\n\n    private static procDefault<T>(value : T | undefined, defaultValue : T) : T {\n        if (typeof value === 'undefined' || value === null) {\n            return defaultValue;\n        } else {\n            return value;\n        }\n    }\n\n    constructor(\n        readonly name : string, // Required\n        readonly email : string, // Required\n        readonly emailNotifications : boolean, // Always set to true for now\n        readonly attachCsv : boolean,\n        readonly cell : string,\n        readonly smsNotifications : boolean,\n    ) { }\n\n    public getJSONObject = () : IJSONDistributorRep => ({\n        name: this.name,\n        email: this.email,\n        to_email: this.emailNotifications,\n        attach_csv: this.attachCsv,\n        phone: this.cell,\n        to_sms: this.smsNotifications,\n    })\n\n    public getRestFormData = (formData : FormData) : FormData => {\n        formData.append('name', this.name);\n        if (this.email !== null) { formData.append('email', this.email); }\n        formData.append('to_email', (this.emailNotifications) ? 'true' : 'false');\n        formData.append('attach_csv', (this.attachCsv) ? 'true' : 'false');\n        if (this.cell !== null) { formData.append('phone', this.cell); }\n        formData.append('to_sms', (this.smsNotifications) ? 'true' : 'false');\n\n        return formData;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class DistributorRepId implements IStringValue {\n    constructor (private readonly value : string) { }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof DistributorRepId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{DistributorRepId: ${this.value}}`;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Address, IJSONAddress } from 'api/Distributor/model/Address';\nimport { DistributorAdjustment, IJSONDistributorAdjustment } from 'api/Distributor/model/DistributorAdjustment';\nimport { DistributorAdjustmentId } from 'api/Distributor/model/DistributorAdjustmentId';\nimport { DistributorRep, IJSONDistributorRep } from 'api/Distributor/model/DistributorRep';\nimport { PaymentTerm } from 'api/Distributor/model/PaymentTerm';\nimport { createDefaultDeliveryDays } from 'apps/Vendors/appTypes';\nimport {\n    IUserAccountIdAndTimestampJSONObject,\n    UserAccountIdAndTimestamp\n} from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\n\nexport interface IJSONExtraDistributorProperties {\n    accountNumber? : string;\n    officePhone? : string;\n    website? : string;\n    accountingId? : string;\n    address? : IJSONAddress;\n    deliveryDays? : Array<boolean>;\n    caseMinimum? : number;\n    dollarMinimum? : number;\n    notes? : string;\n    reps? : Record<string, IJSONDistributorRep>;\n    adjustments?: Record<string, IJSONDistributorAdjustment>;\n    paymentTerm?: string;\n    creationEvent? : IUserAccountIdAndTimestampJSONObject;\n    lastModifiedEvent? : IUserAccountIdAndTimestampJSONObject;\n    confirmationEvent? : IUserAccountIdAndTimestampJSONObject;\n}\n\ninterface IDistributorRepJSONMap {\n    [entry : string] : IJSONDistributorRep;\n}\n\ninterface IDistributorAdjustmentJSONMap {\n    [entry : string] : IJSONDistributorAdjustment;\n}\n\nexport class ExtraDistributorProperties {\n\n    public static createFromJSONObject(name : string, JSONObject : IJSONExtraDistributorProperties) : ExtraDistributorProperties {\n        const reps = new Map<string, DistributorRep>();\n        const adjustments = new StringValueMap<DistributorAdjustmentId, DistributorAdjustment>();\n\n        if (typeof JSONObject.reps !== 'undefined') {\n            const JSONReps : Record<string, IJSONDistributorRep> = JSONObject.reps;\n            Object.keys(JSONObject.reps).forEach(\n                (key) => reps.set(key, DistributorRep.createFromJSONObject(JSONReps[key])));\n        }\n\n        if (typeof JSONObject.adjustments !== 'undefined') {\n            const JSONAdjustments : Record<string, IJSONDistributorAdjustment> = JSONObject.adjustments;\n            Object.keys(JSONObject.adjustments).forEach(\n                (key) => adjustments.set(new DistributorAdjustmentId(key), DistributorAdjustment.createFromJSONObject(JSONAdjustments[key])));\n        }\n\n        return new ExtraDistributorProperties(\n            ExtraDistributorProperties.procDefault(JSONObject.accountNumber, ''),\n            ExtraDistributorProperties.procDefault(JSONObject.officePhone, ''),\n            ExtraDistributorProperties.procDefault(JSONObject.website, ''),\n            ExtraDistributorProperties.procDefault(JSONObject.accountingId, ''),\n            Address.createFromJSONObject(ExtraDistributorProperties.procDefault(JSONObject.address, {})),\n            ExtraDistributorProperties.procDefault(JSONObject.deliveryDays, createDefaultDeliveryDays()),\n            ExtraDistributorProperties.procDefault(JSONObject.caseMinimum, 0),\n            ExtraDistributorProperties.procDefault(JSONObject.dollarMinimum, 0),\n            ExtraDistributorProperties.procDefault(JSONObject.notes, ''),\n            reps,\n            adjustments,\n            PaymentTerm.createFromJson(JSONObject.paymentTerm),\n            JSONObject.creationEvent ? UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(JSONObject.creationEvent) : undefined,\n            JSONObject.lastModifiedEvent ? UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(JSONObject.lastModifiedEvent) : undefined,\n            JSONObject.confirmationEvent ? UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(JSONObject.confirmationEvent) : undefined,\n        );\n    }\n\n    public static createBlank() : ExtraDistributorProperties {\n        return ExtraDistributorProperties.createFromJSONObject('', {});\n    }\n\n    public static copy(other : ExtraDistributorProperties) : ExtraDistributorProperties {\n        return new ExtraDistributorProperties(\n            other.accountNumber,\n            other.officePhone,\n            other.website,\n            other.accountingId,\n            Address.copy(other.address),\n            [ ...other.deliveryDays ],\n            other.caseMinimum,\n            other.dollarMinimum,\n            other.notes,\n            new Map(other.reps),\n            new StringValueMap(other.adjustments),\n            other.paymentTerm,\n            other.creationEvent,\n            other.lastUpdateEvent,\n            other.confirmationEvent,\n        );\n    }\n\n    private static procDefault<T>(value : T | undefined, defaultValue : T) : T {\n        if (typeof value === 'undefined' || value === null) {\n            return defaultValue;\n        } else {\n            return value;\n        }\n    }\n\n    constructor(\n        public readonly accountNumber : string,\n        public readonly officePhone : string,\n        public readonly website : string,\n        public readonly accountingId : string,\n        public readonly address : Address,\n        public readonly deliveryDays : Array<boolean>,\n        public readonly caseMinimum : number,\n        public readonly dollarMinimum : number,\n        public readonly notes : string,\n        public readonly reps : Map<string, DistributorRep>,\n        public readonly adjustments : StringValueMap<DistributorAdjustmentId, DistributorAdjustment>,\n        public readonly paymentTerm : PaymentTerm,\n        public readonly creationEvent : UserAccountIdAndTimestamp | undefined,\n        public readonly lastUpdateEvent : UserAccountIdAndTimestamp | undefined,\n        public readonly confirmationEvent : UserAccountIdAndTimestamp | undefined,\n    ) {\n        // Make sure that delivery days is valid.\n        this.deliveryDays = this.transferDeliveryDays(deliveryDays, 8);\n    }\n\n    public getRestFormData(formData : FormData) : FormData {\n        const convertRepMapToJSON = (map : Map<string, DistributorRep>) : IDistributorRepJSONMap => {\n            const result : IDistributorRepJSONMap = {};\n            map.forEach((value, key) => result[key] = value.getJSONObject());\n            return result;\n        };\n\n        const convertAdjustmentMapToJSON = (map : StringValueMap<DistributorAdjustmentId, DistributorAdjustment>) : IDistributorAdjustmentJSONMap => {\n            const result : IDistributorAdjustmentJSONMap = {};\n            map.forEach((value, key) => result[key.getValue()] = value.getJSONObject());\n            return result;\n        };\n\n        formData.append(\n            'extra_distributor_properties',\n                JSON.stringify({\n                    accountNumber : this.accountNumber,\n                    officePhone : this.officePhone,\n                    website : this.website,\n                    accountingId : this.accountingId,\n                    address : this.address,\n                    deliveryDays : this.transferDeliveryDays(this.deliveryDays, 7),\n                    caseMinimum : this.caseMinimum,\n                    dollarMinimum : this.dollarMinimum,\n                    notes : this.notes,\n                    reps : convertRepMapToJSON(this.reps),\n                    adjustments : convertAdjustmentMapToJSON(this.adjustments),\n                    paymentTerm : this.paymentTerm.getValue(),\n                    creationEvent : this.creationEvent ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(this.creationEvent) : null,\n                    lastUpdateEvent : this.lastUpdateEvent ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(this.lastUpdateEvent) : null,\n                    confirmationEvent : this.confirmationEvent ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(this.confirmationEvent) : null,\n                })\n            );\n        return formData;\n    }\n\n    private transferDeliveryDays(src : Array<boolean>, maxLen : number) : Array<boolean> {\n        const result = new Array<boolean>(maxLen).fill(false);\n\n        for (let i = 0; i < src.length; i++) {\n            if (src[i]) {\n                result[i] = true;\n            }\n        }\n\n        return result;\n    }\n}\n","import { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport enum DefaultPaymentTermOptions {\n    NONE = 'NONE',\n    DUE_ON_RECEIPT = 'DUE_ON_RECEIPT',\n    NET_15 = 'NET_15',\n    NET_30 = 'NET_30',\n    NET_60 = 'NET_60',\n}\n\nexport class PaymentTerm {\n\n    public static createFromJson(value : string | undefined) {\n        if (typeof value === 'undefined' || value === null) {\n            return new PaymentTerm(DefaultPaymentTermOptions.NONE);\n        } else {\n            return new PaymentTerm(value);\n        }\n    }\n\n    constructor(\n        private readonly paymentTerm : string\n    ) {\n        if (!(paymentTerm in DefaultPaymentTermOptions) && !paymentTerm.startsWith(\"NET_\")) {\n            throw new RuntimeException('unexpected payment term ' + paymentTerm);\n        }\n    }\n\n    public getValue() : string {\n        return this.paymentTerm;\n    }\n}\n","import { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { IDistributorNameMappingJSONObject } from 'api/Distributor/serializer/IDistributorNameMappingJSONObject';\nimport { Scope, ScopeType } from 'api/Location/model/Scope';\nimport { DistributorNameMapping } from 'api/Ordering/model/DistributorNameMapping';\n\nexport class DistributorObjectToJSONSerializer {\n    public static getCreateDistributorEventJSON(\n        distributor : Distributor,\n        distributorId : DistributorId,\n    ) {\n        return {\n            distributor_id : distributorId.getValue(),\n            name : distributor.getName(),\n            shortName : distributor.getShortName(),\n            owner : this.getScopeJSON(distributor.getOwner()),\n        };\n    }\n\n    public static getScopeJSON(\n        scope : Scope\n    ) {\n        const id = scope.getId();\n        return {\n            type : ScopeType[scope.getType()],\n            id : id === null ? null : id.getValue(),\n        };\n    }\n\n    public getMappingJSON(distributorNameMapping : DistributorNameMapping) : IDistributorNameMappingJSONObject {\n        return {\n            distributor_id : distributorNameMapping.getDistributorId().getValue(),\n            mapped_distributor_name : distributorNameMapping.getMappedDistributorName(),\n            retailer_id : distributorNameMapping.getRetailerId().getValue(),\n        };\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Address } from 'api/Distributor/model/Address';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorRep } from 'api/Distributor/model/DistributorRep';\nimport { DistributorRepId } from 'api/Distributor/model/DistributorRepId';\nimport { ExtraDistributorProperties } from 'api/Distributor/model/ExtraDistributorProperties';\nimport { Validation } from 'shared/validators/validators';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { ModificationContext, UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { DateTime } from 'shared/models/DateTime';\n\nconst getDistributorWithNewReps = (distributor : Distributor, distributorRepsById : StringValueMap<DistributorRepId, DistributorRep>) : Distributor => {\n    const extraDistributorProperties = distributor.getExtraDistributorProperties();\n\n    const newReps = new Map<string, DistributorRep>();\n    distributorRepsById.forEach((distributorRep, repId) => {\n        newReps.set(repId.getValue(), distributorRep);\n    });\n\n    return new Distributor(\n        distributor.getOwner(),\n        distributor.getName(),\n        distributor.getShortName(),\n        new ExtraDistributorProperties(\n            extraDistributorProperties.accountNumber,\n            extraDistributorProperties.officePhone,\n            extraDistributorProperties.website,\n            extraDistributorProperties.accountingId,\n            Address.copy(extraDistributorProperties.address),\n            [ ...extraDistributorProperties.deliveryDays ],\n            extraDistributorProperties.caseMinimum,\n            extraDistributorProperties.dollarMinimum,\n            extraDistributorProperties.notes,\n            newReps,\n            extraDistributorProperties.adjustments,\n            extraDistributorProperties.paymentTerm,\n            extraDistributorProperties.creationEvent,\n            extraDistributorProperties.lastUpdateEvent,\n            extraDistributorProperties.confirmationEvent\n        )\n    );\n};\n\nconst getDistributorWithNewLastUpdateEvent = (\n    distributor : Distributor,\n    userAccountId : UserAccountId,\n    context : ModificationContext | undefined = undefined,\n    contextId : string | undefined = undefined,\n    ) : Distributor => {\n    const extraDistributorProperties = distributor.getExtraDistributorProperties();\n    return new Distributor(\n        distributor.getOwner(),\n        distributor.getName(),\n        distributor.getShortName(),\n        new ExtraDistributorProperties(\n            extraDistributorProperties.accountNumber,\n            extraDistributorProperties.officePhone,\n            extraDistributorProperties.website,\n            extraDistributorProperties.accountingId,\n            Address.copy(extraDistributorProperties.address),\n            [ ...extraDistributorProperties.deliveryDays ],\n            extraDistributorProperties.caseMinimum,\n            extraDistributorProperties.dollarMinimum,\n            extraDistributorProperties.notes,\n            extraDistributorProperties.reps,\n            extraDistributorProperties.adjustments,\n            extraDistributorProperties.paymentTerm,\n            extraDistributorProperties.creationEvent,\n            new UserAccountIdAndTimestamp(userAccountId, DateTime.now().toTimestampWithMillisecondPrecision(), context, contextId),\n            extraDistributorProperties.confirmationEvent\n        )\n    );\n};\n\nconst getDistributorWithNewConfirmationEvent = (\n    distributor : Distributor,\n    userAccountId : UserAccountId,\n    context : ModificationContext | undefined = undefined,\n    contextId : string | undefined = undefined,\n    ) : Distributor => {\n    const extraDistributorProperties = distributor.getExtraDistributorProperties();\n    return new Distributor(\n        distributor.getOwner(),\n        distributor.getName(),\n        distributor.getShortName(),\n        new ExtraDistributorProperties(\n            extraDistributorProperties.accountNumber,\n            extraDistributorProperties.officePhone,\n            extraDistributorProperties.website,\n            extraDistributorProperties.accountingId,\n            Address.copy(extraDistributorProperties.address),\n            [ ...extraDistributorProperties.deliveryDays ],\n            extraDistributorProperties.caseMinimum,\n            extraDistributorProperties.dollarMinimum,\n            extraDistributorProperties.notes,\n            extraDistributorProperties.reps,\n            extraDistributorProperties.adjustments,\n            extraDistributorProperties.paymentTerm,\n            extraDistributorProperties.creationEvent,\n            extraDistributorProperties.lastUpdateEvent,\n            new UserAccountIdAndTimestamp(userAccountId, DateTime.now().toTimestampWithMillisecondPrecision(), context, contextId),\n        )\n    );\n};\n\nconst copyDistributorModificationFields = (oldDistributor : Distributor, newDistributor : Distributor) : Distributor => {\n    return new Distributor(\n        newDistributor.getOwner(),\n        newDistributor.getName(),\n        newDistributor.getShortName(),\n        new ExtraDistributorProperties(\n            newDistributor.getExtraDistributorProperties().accountNumber,\n            newDistributor.getExtraDistributorProperties().officePhone,\n            newDistributor.getExtraDistributorProperties().website,\n            newDistributor.getExtraDistributorProperties().accountingId,\n            Address.copy(newDistributor.getExtraDistributorProperties().address),\n            [ ...newDistributor.getExtraDistributorProperties().deliveryDays ],\n            newDistributor.getExtraDistributorProperties().caseMinimum,\n            newDistributor.getExtraDistributorProperties().dollarMinimum,\n            newDistributor.getExtraDistributorProperties().notes,\n            newDistributor.getExtraDistributorProperties().reps,\n            newDistributor.getExtraDistributorProperties().adjustments,\n            newDistributor.getExtraDistributorProperties().paymentTerm,\n            oldDistributor.getExtraDistributorProperties().creationEvent,\n            oldDistributor.getExtraDistributorProperties().lastUpdateEvent,\n            oldDistributor.getExtraDistributorProperties().confirmationEvent\n        )\n    );\n}\n\nconst validateDistributorRep = (distributorRep : DistributorRep) : boolean => {\n    return Validation.validateRequired(distributorRep.name) && Validation.validateEmailAddress(distributorRep.email);\n};\n\nconst cleanDistributorName = (distributorName : string) : string => {\n    return distributorName.trim().toLowerCase();\n};\n\nexport const DistributorUtils = {\n    getDistributorWithNewReps,\n    getDistributorWithNewLastUpdateEvent,\n    getDistributorWithNewConfirmationEvent,\n    copyDistributorModificationFields,\n    validateDistributorRep,\n    cleanDistributorName,\n};\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class EstablishmentId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : EstablishmentId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{EstablishmentId: ${this.value}}`;\n    }\n}\n","import { IntegrationType, PosIntegrationType } from 'shared/models/IntegrationStatus';\n\n// should be kept in sync with com.bevspot.integration.omnivore.model.OmnivorePosType\n// https://panel.omnivore.io/docs/guides/features/compatibility#feature-support\n// note: this should NOT duplicate IntegrationType i.e. it's invalid to have a POS that's handled by both Omnivore and direct integration\nexport type OmnivoreSupportedPosType = 'aloha' | 'brink' | 'dinerware' | 'micros' | 'positouch' | 'squirrel' | 'xpient' | 'lavu' | 'maitreD';\nexport const OMNIVORE_SUPPORTED_POS_NAMES : { [key in OmnivoreSupportedPosType] : string} = {\n    aloha: 'Aloha',\n    brink: 'Brink',\n    dinerware: 'Dinerware',\n    lavu: 'Lavu',\n    maitreD: 'Maitre\\'D',\n    micros: 'Micros',\n    positouch: 'POSitouch',\n    xpient: 'XPIENT',\n    squirrel: 'Squirrel'\n};\nexport const ALL_INTEGRATION_NAMES : {[key in IntegrationType | OmnivoreSupportedPosType] : string} = {\n    ...OMNIVORE_SUPPORTED_POS_NAMES,\n    breadcrumb: 'Upserve POS',\n    toast: 'Toast POS',\n    lightspeed: 'Lightspeed (L Series) POS',\n    square: 'Square POS',\n    omnivore: 'Omnivore',   // not displayed\n    clover: 'Clover POS',\n    kSeries: 'Lightspeed (K Series) POS',\n    spotOn: 'SpotOn POS',\n    heartland: 'Heartland POS',\n    rSeries: 'Lightspeed (R Series) POS',\n    jonas: 'Jonas POS',\n\n    fintech: 'Fintech',\n    usfoods: 'US Foods',\n    sysco: 'Sysco'\n};\n\nexport const OMNIVORE_SUPPORTED_POS_TYPES : Array<OmnivoreSupportedPosType> = Object.keys(OMNIVORE_SUPPORTED_POS_NAMES) as Array<OmnivoreSupportedPosType>;\n\nexport function isOmnivoreSupportedPos(v : string) : v is OmnivoreSupportedPosType {\n    return (OMNIVORE_SUPPORTED_POS_TYPES as Array<string>).indexOf(v) >= 0;\n}\n\nexport function isOmnivoreSupportedPosName(v : string) {\n    return Object.values(OMNIVORE_SUPPORTED_POS_NAMES).includes(v);\n}\n\nexport const ALL_POS_INTEGRATION_TYPES : Array<PosIntegrationType | OmnivoreSupportedPosType> = [\n    'square', 'toast', 'lightspeed', 'breadcrumb', 'clover', 'kSeries', 'rSeries', 'spotOn', 'heartland', 'jonas',\n    ...OMNIVORE_SUPPORTED_POS_TYPES\n];\n","import { StringValueMap } from 'api/Core/StringValueMap';\n\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class InventoryConfiguration {\n\n    constructor (\n        private readonly sortedStorageAreaIds : Array<StorageAreaId>,\n        private readonly storageAreasById : StringValueMap<StorageAreaId, StorageArea>,\n        private readonly sortedProductIdListsByStorageAreaId : StringValueMap<StorageAreaId, Array<ProductId>>,\n    ) {\n        if (sortedStorageAreaIds.length !== storageAreasById.size) {\n            throw new RuntimeException('sortedStorageAreaIds and storageAreasById must be the same length');\n        }\n\n        if (sortedStorageAreaIds.length !== sortedProductIdListsByStorageAreaId.size) {\n            throw new RuntimeException('sortedStorageAreaIds and sortedProductIdListsByStorageAreaId must be the same length');\n        }\n\n        sortedStorageAreaIds.forEach((storageAreaId) => {\n            if (!storageAreasById.has(storageAreaId)) {\n                throw new RuntimeException(`storageAreaId: '${ storageAreaId.getValue() }' not found in storageAreasById`);\n            }\n\n            if (!sortedProductIdListsByStorageAreaId.has(storageAreaId)) {\n                throw new RuntimeException(`storageAreaId: '${ storageAreaId.getValue() }' not found in sortedProductIdListsByStorageAreaId`);\n            }\n        });\n    }\n\n    public getSortedStorageAreaIds() : Array<StorageAreaId> {\n        return this.sortedStorageAreaIds;\n    }\n\n    public getStorageAreasById() : StringValueMap<StorageAreaId, StorageArea> {\n        return this.storageAreasById;\n    }\n\n    public getSortedProductIdListsByStorageAreaId() : StringValueMap<StorageAreaId, Array<ProductId>> {\n        return this.sortedProductIdListsByStorageAreaId;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\n\nimport { InventoryConfiguration } from 'api/InventoryCount/model/InventoryConfiguration';\nimport { ProductCountEvent } from 'api/InventoryCount/model/ProductCountEvent';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class InventoryCount {\n\n    constructor (\n        private readonly inventoryConfiguration : InventoryConfiguration,\n        private readonly productCountEventsByProductIdByStorageAreaId : StringValueMap<StorageAreaId, StringValueMap<ProductId, ProductCountEvent>>,\n    ) {\n        inventoryConfiguration.getSortedProductIdListsByStorageAreaId().forEach((sortedProductIdList, storageAreaId) => {\n            const productCountEventsByProductId = productCountEventsByProductIdByStorageAreaId.get(storageAreaId);\n            if (typeof productCountEventsByProductId === 'undefined') {\n                throw new RuntimeException(`no product count events for storageAreaId: '${ storageAreaId.getValue() }' in productCountEventsByProductIdByStorageAreaId`);\n            }\n\n            let matchCount : number = 0;\n            sortedProductIdList.forEach((productId) => {\n                if (productCountEventsByProductId.has(productId)) {\n                    matchCount += 1;\n                }\n            });\n\n            if (matchCount !== productCountEventsByProductId.size) {\n                throw new RuntimeException(`productCountEvents exist for products that are not in the sortedProductIdList for storageAreaId: '${ storageAreaId.getValue() }'`);\n            }\n        });\n    }\n\n    public getInventoryConfiguration() : InventoryConfiguration {\n        return this.inventoryConfiguration;\n    }\n\n    public getProductCountEventsByProductIdByStorageAreaId() : StringValueMap<StorageAreaId, StringValueMap<ProductId, ProductCountEvent>> {\n        return this.productCountEventsByProductIdByStorageAreaId;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class InventoryCountId implements IStringValue {\n    constructor (private readonly value : string) { }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof InventoryCountId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{InventoryCountId: ${this.value}}`;\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\n// TODO Use different time model\n\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { InventoryCountType } from './InventoryCountType';\n\nexport class InventoryCountMetadata {\n\n    constructor (\n        private readonly inventoryCountTime : CoreTimeModel.TimestampWithMillisecondPrecision,\n        private readonly inventoryCountType : InventoryCountType,\n        private readonly creationMetadata : UserAccountIdAndTimestamp,\n        private readonly finalizationMetadata : UserAccountIdAndTimestamp | null,\n        private readonly deletionMetadata : UserAccountIdAndTimestamp | null,\n        private readonly name : string,\n        private readonly note : string,\n        private readonly locationId : LocationId,\n    ) { }\n\n    public getInventoryCountTime() : CoreTimeModel.TimestampWithMillisecondPrecision {\n        return this.inventoryCountTime;\n    }\n\n    public getInventoryCountType() : InventoryCountType {\n        return this.inventoryCountType;\n    }\n\n    public getCreationMetadata() : UserAccountIdAndTimestamp {\n        return this.creationMetadata;\n    }\n\n    public getFinalizationMetadata() : UserAccountIdAndTimestamp | null {\n        return this.finalizationMetadata;\n    }\n\n    public getDeletionMetadata() : UserAccountIdAndTimestamp | null {\n        return this.deletionMetadata;\n    }\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getNote() : string {\n        return this.note;\n    }\n\n    public getLocationId() : LocationId {\n        return this.locationId;\n    }\n}\n","import { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\n// Would be nice if the typedef cpould be generated from the map\nexport type InventoryCountTypeValue = 'complete' | 'partial';\n\nexport class InventoryCountType {\n    public static readonly inventoryCountTypeByValue = new Map<string, InventoryCountType>();\n\n    public static readonly COMPLETE = new InventoryCountType('complete');\n    public static readonly PARTIAL = new InventoryCountType('partial');\n\n    public static getByCategoryValue(value : InventoryCountTypeValue) : InventoryCountType {\n        const inventoryCountType = InventoryCountType.inventoryCountTypeByValue.get(value);\n\n        if (typeof inventoryCountType === 'undefined') {\n            throw new RuntimeException(`unexpected value: \"${ value }\"`);\n        }\n\n        return inventoryCountType;\n    }\n\n    private constructor(\n        private readonly value : InventoryCountTypeValue\n    ) {\n        InventoryCountType.inventoryCountTypeByValue.set(value, this);\n    }\n\n    public getValue() : InventoryCountTypeValue {\n        return this.value;\n    }\n}\n","import CoreMathModel from 'gen-thrift/core_math_Model_types';\n// TODO Use different decimal\n\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\n\nexport class ProductCount {\n    constructor (\n        private readonly count : CoreMathModel.Decimal | null,\n        private readonly productQuantityUnit : ProductQuantityUnit,\n    ) { }\n\n    public getCount() : CoreMathModel.Decimal | null {\n        return this.count;\n    }\n\n    public getProductQuantityUnit() : ProductQuantityUnit {\n        return this.productQuantityUnit;\n    }\n}\n","import { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { ProductCount } from './ProductCount';\n\nexport class ProductCountEvent {\n\n    constructor (\n        private readonly productCounts : Array<ProductCount>,\n        private readonly userAccountIdAndTimestamp : UserAccountIdAndTimestamp,\n    ) { }\n\n    public getProductCounts() : Array<ProductCount> {\n        return this.productCounts;\n    }\n\n    public getUserAccountIdAndTimestamp() : UserAccountIdAndTimestamp {\n        return this.userAccountIdAndTimestamp;\n    }\n}\n","export class StorageArea {\n\n    constructor (\n        private readonly name : string,\n        private readonly note : string,\n    ) { }\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getNote() : string {\n        return this.note;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class StorageAreaId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : StorageAreaId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{StorageAreaId: ${this.value}}`;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { InventoryCount } from 'api/InventoryCount/model/InventoryCount';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { ProductCount } from 'api/InventoryCount/model/ProductCount';\nimport { ProductCountEvent } from 'api/InventoryCount/model/ProductCountEvent';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { productCountUtils } from 'api/Product/utils/productCountUtils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { GroupByOption } from 'shared/models/GroupByOption';\n\nconst getTotalContainerProductCountsByProductId = (\n    inventoryCount : InventoryCount,\n    productsById : StringValueMap<ProductId, Product>,\n) : StringValueMap<ProductId, ProductCount> => {\n    const productCountsByProductId = new StringValueMap<ProductId, Array<ProductCount>>();\n\n    // Instantiate StringValueMap for all products in any StorageArea\n    inventoryCount.getInventoryConfiguration().getSortedProductIdListsByStorageAreaId().forEach((sortedProductIdList) => {\n        sortedProductIdList.forEach((productId) => {\n            if (typeof productCountsByProductId.get(productId) === 'undefined') {\n                productCountsByProductId.set(productId, []);\n            }\n        });\n    });\n\n    inventoryCount.getProductCountEventsByProductIdByStorageAreaId().forEach((productCountEventsByProductId) => {\n        productCountEventsByProductId.forEach((productCountEvent, productId) => {\n            const productCounts = productCountsByProductId.getRequired(productId);\n            const product = productsById.getRequired(productId);\n\n            if (!productCountUtils.isProductCountEventEmpty(productCountEvent)) {\n                productCounts.push(productCountUtils.getTotalProductCountFromProductCountEvent(productCountEvent, product, productId));\n            }\n        });\n    });\n\n    const totalContainerProductCountsByProductId = new StringValueMap<ProductId, ProductCount>();\n    productCountsByProductId.forEach((productCounts, productId) => {\n        const product = productsById.getRequired(productId);\n\n        const packagingsAndMappings = product.getPackagingsAndMappings();\n        const productCountsSum = productCountUtils.sumProductCounts(productCounts, packagingsAndMappings);\n        const defaultProductQuantityUnitForDisplay = PackagingUtils.getContainerPackagingId(packagingsAndMappings.getPackaging());\n\n        totalContainerProductCountsByProductId.set(\n            productId,\n            productCountUtils.convertProductCountUnit(productCountsSum, defaultProductQuantityUnitForDisplay, packagingsAndMappings)\n        );\n    });\n\n    return totalContainerProductCountsByProductId;\n};\n\nexport enum InventoryCountSortByOption {\n    ITEM_NAME = 'ITEM_NAME',\n    STORAGE_AREA_INDEX = 'STORAGE_AREA_INDEX',\n}\n\nconst getExcelExportURL = (\n    locationId : LocationId,\n    usageStartInventoryCountId : InventoryCountId | null,\n    inventoryCountId : InventoryCountId,\n    storageAreaId : StorageAreaId | null,\n    groupByOption : GroupByOption,\n    sortBy : 'custom' | 'default',\n) : string => {\n\n    let groupBy : string;\n    switch (groupByOption) {\n        case GroupByOption.ALL_ITEMS:\n            groupBy = 'no_grouping';\n            break;\n        case GroupByOption.DISTRIBUTOR:\n            groupBy = 'distributor';\n            break;\n        case GroupByOption.CATEGORY:\n            groupBy = 'product_category_id';\n            break;\n        case GroupByOption.ITEM_TYPE:\n            groupBy = 'product_type';\n            break;\n        case GroupByOption.LAST_EDITED:\n            groupBy = 'last_edited';\n            break;\n        case GroupByOption.GL_CODE:\n        case GroupByOption.MENU_GROUP:\n        default:\n            throw new RuntimeException('Unknown inventory count type');\n    }\n\n    return `${ url('inventory:excel', null, locationId.getValue(), null) }?group_by=${ groupBy }&location_id=${ (storageAreaId === null) ? '' : storageAreaId.getValue() }` +\n    `&reference_id=${ (usageStartInventoryCountId === null) ? '' : usageStartInventoryCountId.getValue() }&finalized_id=${ inventoryCountId.getValue() }&sort_by=${ sortBy }`;\n};\n\ninterface IInventoryCountSummary {\n    readonly sittingValueInDollars : number;\n    readonly numberOfCountedItems : number;\n    readonly numberOfCountableItems : number;\n}\n\n// duplicates logic in InventoryCount.tsx render() >:(\nconst getTotalAndStorageAreaCountSummary = (\n    inventoryCount : InventoryCount,\n    productsById : StringValueMap<ProductId, Product>,\n    costsByProductId : StringValueMap<ProductId, ProductCost>\n) : {totalCountSummary : IInventoryCountSummary, countSummaryByStorageAreaId : StringValueMap<StorageAreaId, IInventoryCountSummary>} => {\n    const inventoryConfiguration = inventoryCount.getInventoryConfiguration();\n\n    let numberOfTotalCountableItems : number = 0;\n    let numberOfTotalCountedItems : number = 0;\n    let totalSittingValueInDollars : number = 0;\n    const countSummaryByStorageAreaId = new StringValueMap<StorageAreaId, IInventoryCountSummary>();\n\n    inventoryConfiguration.getStorageAreasById().forEach((storageArea, storageAreaId) => {\n        const productCountEventsByProductId = inventoryCount.getProductCountEventsByProductIdByStorageAreaId().get(storageAreaId);\n        const productIds = inventoryConfiguration.getSortedProductIdListsByStorageAreaId().get(storageAreaId);\n\n        if (typeof productCountEventsByProductId === 'undefined')  {\n            throw new RuntimeException(`unexpected no product count events found for ${storageAreaId}`);\n        }\n\n        if (typeof productIds === 'undefined')  {\n            throw new RuntimeException(`unexpected no product id list found for ${storageAreaId}`);\n        }\n\n        let storageAreaNumberOfCountedItems = 0;\n        let storageAreaSittingValueInDollars = 0;\n\n        productCountEventsByProductId.forEach((productCountEvent, productId) => {\n            const product = productsById.get(productId);\n            const cost = costsByProductId.get(productId);\n\n            if (typeof product === 'undefined') {\n                throw new RuntimeException(`unexpected product not found in productsById ${productId}`);\n            }\n\n            if (typeof cost === 'undefined') {\n                throw new RuntimeException(`unexpected cost not found in costsByProductId ${productId}`);\n            }\n\n            if (!productCountUtils.isProductCountEventEmpty(productCountEvent)) {\n                const totalProductCount = productCountUtils.getTotalProductCountFromProductCountEvent(productCountEvent, product, productId);\n                if (totalProductCount.getCount() !== null) {\n                    storageAreaNumberOfCountedItems += 1;\n                    storageAreaSittingValueInDollars +=\n                        productCostUtils.totalDollarCostOfQuantity(\n                            product.getPackagingsAndMappings(),\n                            cost,\n                            productCountUtils.getQuantityInUnit(totalProductCount),\n                            productId);\n                }\n            }\n        });\n\n        const storageAreaNumberOfCountableItems = productIds.length;\n\n        countSummaryByStorageAreaId.set(\n            storageAreaId,\n            {\n                sittingValueInDollars: storageAreaSittingValueInDollars,\n                numberOfCountedItems: storageAreaNumberOfCountedItems,\n                numberOfCountableItems: storageAreaNumberOfCountableItems,\n            }\n        );\n\n        numberOfTotalCountableItems += storageAreaNumberOfCountableItems;\n        numberOfTotalCountedItems += storageAreaNumberOfCountedItems;\n        totalSittingValueInDollars += storageAreaSittingValueInDollars;\n    });\n\n    return {\n        totalCountSummary : {\n            sittingValueInDollars: totalSittingValueInDollars,\n            numberOfCountedItems: numberOfTotalCountedItems,\n            numberOfCountableItems: numberOfTotalCountableItems,\n        },\n        countSummaryByStorageAreaId,\n    };\n};\n\nconst getProductCountsByStorageAreaIdByProductId = (\n    inventoryCount : InventoryCount,\n) : StringValueMap<ProductId, StringValueMap<StorageAreaId, ProductCountEvent>> => {\n    const productCountsByStorageAreaIdByProductId = new StringValueMap<ProductId, StringValueMap<StorageAreaId, ProductCountEvent>>();\n\n    // Instantiate StringValueMap for all products in any StorageArea\n    inventoryCount.getInventoryConfiguration().getSortedProductIdListsByStorageAreaId().forEach((sortedProductIdList) => {\n        sortedProductIdList.forEach((productId) => {\n            if (typeof productCountsByStorageAreaIdByProductId.get(productId) === 'undefined') {\n                productCountsByStorageAreaIdByProductId.set(productId, new StringValueMap<StorageAreaId, ProductCountEvent>());\n            }\n        });\n    });\n\n    inventoryCount.getProductCountEventsByProductIdByStorageAreaId().forEach((productCountEventsByProductId, storageAreaId) => {\n        productCountEventsByProductId.forEach((productCountEvent, productId) => {\n            const productCountsByStorageAreaId = productCountsByStorageAreaIdByProductId.getRequired(productId);\n            productCountsByStorageAreaId.set(storageAreaId, productCountEvent);\n        });\n    });\n\n    return productCountsByStorageAreaIdByProductId;\n};\n\nexport const inventoryCountUtils = {\n    getTotalContainerProductCountsByProductId,\n    getProductCountsByStorageAreaIdByProductId,\n    getExcelExportURL,\n    getTotalAndStorageAreaCountSummary,\n};\n","export enum AccountType {\n    FOOD = 'food',\n    BEVERAGE = 'beverage',\n}\n","import moment from 'moment-timezone';\n\nimport { FreeTrialType } from 'api/Location/model/FreeTrialType';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\ntype ActionItemNames = 'inventories' | 'orders' | 'salesItems';\n\nexport type IMaxActionItemCountByName = { [action in ActionItemNames] : number | null };\nexport type IActionExpiredByName = { [action in ActionItemNames] : boolean };\n\n// TODO This is not yet a complete FreeTrialStatus model.\n// It just captures the existing use cases\nexport class FreeTrialStatus {\n\n    constructor (\n        private readonly isInFreeTrial : boolean,\n        private readonly freeTrialType : FreeTrialType,\n        private readonly endDate : moment.Moment | null,\n        private readonly maxActionItemCountByName : IMaxActionItemCountByName,\n        private readonly currentActionItemCountByName : { [action in ActionItemNames] : number },\n    ) {\n        if (maxActionItemCountByName === null || currentActionItemCountByName === null) {\n            throw new RuntimeException('maxActionItemCountByName and currentActionItemCountByName must be set for action-based free trials');\n        }\n\n        if (isInFreeTrial && freeTrialType === FreeTrialType.ACTION) {\n            if (endDate !== null) {\n                throw new RuntimeException('endDate must be null for action-based free trials');\n            }\n        }\n        if (isInFreeTrial && freeTrialType === FreeTrialType.TIME) {\n            if (endDate === null) {\n                throw new RuntimeException('endDate must be set for time-based free trials');\n            }\n        }\n    }\n\n    public getIsInFreeTrial() : boolean {\n        return this.isInFreeTrial;\n    }\n\n    public getFreeTrialType() : FreeTrialType {\n        return this.freeTrialType;\n    }\n\n    public getEndDate() : moment.Moment | null {\n        return this.endDate;\n    }\n\n    public getMaxActionItemCountByName() : IMaxActionItemCountByName {\n        return this.maxActionItemCountByName;\n    }\n\n    public getCurrentActionItemCountByName() {\n        return this.currentActionItemCountByName;\n    }\n\n    // TODO Move to Utils file\n    public getIsFreeTrialExpired() : boolean {\n        if (!this.isInFreeTrial) {\n            return false;\n        }\n\n        if (this.freeTrialType === FreeTrialType.TIME) {\n            if (this.endDate === null) {\n                throw new RuntimeException('unexpected timed free trial with null end date');\n            }\n\n            return this.endDate.isBefore(moment.utc());\n        } else if (this.freeTrialType === FreeTrialType.ACTION) {\n            return (this.maxActionItemCountByName.inventories !== null && (this.maxActionItemCountByName.inventories <= this.currentActionItemCountByName.inventories)) &&\n                   (this.maxActionItemCountByName.orders !== null && (this.maxActionItemCountByName.orders <= this.currentActionItemCountByName.orders)) &&\n                   (this.maxActionItemCountByName.salesItems !== null && (this.maxActionItemCountByName.salesItems <= this.currentActionItemCountByName.salesItems));\n\n        } else {\n            throw new RuntimeException('unhandled free trial type: ' + this.freeTrialType);\n        }\n    }\n\n    // TODO Move to Utils file\n    public getNumberOfTrialActionsRemaining() : IMaxActionItemCountByName {\n        return {\n            inventories: (this.maxActionItemCountByName.inventories === null) ? null : Math.max(0, this.maxActionItemCountByName.inventories - this.currentActionItemCountByName.inventories),\n            orders: (this.maxActionItemCountByName.orders === null) ? null : Math.max(0, this.maxActionItemCountByName.orders - this.currentActionItemCountByName.orders),\n            salesItems: (this.maxActionItemCountByName.salesItems === null) ? null : Math.max(0, this.maxActionItemCountByName.salesItems - this.currentActionItemCountByName.salesItems),\n        };\n    }\n\n    public getIsExpiredByAction() : IActionExpiredByName {\n        if (!this.isInFreeTrial) {\n            return {\n                inventories: false,\n                orders: false,\n                salesItems: false,\n            };\n        }\n\n        if (this.getIsFreeTrialExpired()) { // Check this for time based trials\n            return {\n                inventories: true,\n                orders: true,\n                salesItems: true,\n            };\n        }\n\n        // Don't check numRemaining on timed free trials\n        if (this.getFreeTrialType() === FreeTrialType.TIME) {\n            return {\n                inventories: false,\n                orders: false,\n                salesItems: false,\n            };\n        }\n\n        const numRemaining = this.getNumberOfTrialActionsRemaining();\n\n        return {\n            inventories: numRemaining.inventories === 0,\n            orders: numRemaining.orders === 0,\n            salesItems: numRemaining.salesItems === 0,\n        };\n    }\n}\n","export enum FreeTrialType {\n    ACTION = 'action',\n    TIME = 'time',\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class GroupId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : GroupId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{GroupId: ${this.value}}`;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class LocationId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : LocationId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{LocationId: ${this.value}}`;\n    }\n}\n","import { GroupId } from './GroupId';\nimport { LocationId } from './LocationId';\n\nexport enum ScopeType {\n    'GLOBAL',\n    'GROUP',\n    'RETAILER',\n}\n\nexport class Scope {\n    public static createRetailerScope(locationId : LocationId) {\n        return new Scope(ScopeType.RETAILER, locationId);\n    }\n\n    public static createGroupScope(groupId : GroupId) {\n        return new Scope(ScopeType.GROUP, groupId);\n    }\n\n    public static createGlobalScope() {\n        return Scope.GLOBAL;\n    }\n\n    private static readonly GLOBAL = new Scope(ScopeType.GLOBAL, null);\n    private constructor(private readonly type : ScopeType, private readonly id : LocationId | GroupId | null) {}\n\n    public getType() {\n        return this.type;\n    }\n\n    public getId() {\n        return this.id;\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { AccountType } from 'api/Location/model/AccountType';\nimport { FreeTrialStatus } from 'api/Location/model/FreeTrialStatus';\nimport { FreeTrialType } from 'api/Location/model/FreeTrialType';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\ntype ActionItemNamesJSON = 'inventories' | 'orders' | 'sales_items';\n\nexport interface IFreeTrialStatusJSON {\n    is_in_free_trial : boolean;\n    free_trial_type : 'action' | 'time';\n    end_date : string | null;\n    max_action_item_count_by_name : { [action in ActionItemNamesJSON] : number | null };\n    current_action_item_count_by_name : { [action in ActionItemNamesJSON] : number };\n}\n\nexport class LocationJSONToObjectSerializer {\n\n    public getAccountType(\n        accountTypeValue : string\n    ) : AccountType {\n        switch (accountTypeValue) {\n            case 'food':\n                return AccountType.FOOD;\n            case 'beverage':\n                return AccountType.BEVERAGE;\n            default:\n                throw new RuntimeException(`unexpected accountType: ${ accountTypeValue }`);\n        }\n    }\n\n    public getFreeTrialStatus(\n        freeTrialStatusObject : IFreeTrialStatusJSON,\n    ) : FreeTrialStatus {\n        let freeTrialType : FreeTrialType;\n        switch (freeTrialStatusObject.free_trial_type) {\n            case 'action':\n                freeTrialType = FreeTrialType.ACTION;\n                break;\n            case 'time':\n                freeTrialType = FreeTrialType.TIME;\n                break;\n            default:\n                throw new RuntimeException(`unexpected freeTrialType: ${ freeTrialStatusObject.free_trial_type }`);\n        }\n\n        return new FreeTrialStatus(\n            freeTrialStatusObject.is_in_free_trial,\n            freeTrialType,\n            freeTrialStatusObject.end_date ? moment.utc(freeTrialStatusObject.end_date) : null,\n            {\n                inventories: freeTrialStatusObject.max_action_item_count_by_name.inventories,\n                orders: freeTrialStatusObject.max_action_item_count_by_name.orders,\n                salesItems: freeTrialStatusObject.max_action_item_count_by_name.sales_items,\n            },\n            {\n                inventories: freeTrialStatusObject.current_action_item_count_by_name.inventories,\n                orders: freeTrialStatusObject.current_action_item_count_by_name.orders,\n                salesItems: freeTrialStatusObject.current_action_item_count_by_name.sales_items,\n            },\n        );\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class UserActionLogCommentId implements IStringValue {\n    constructor(readonly value : string) {}\n\n    public equals(other : IStringValue) : boolean {\n        return this.value === other.getValue();\n    }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public toString() : string {\n        return `{UserActionLogCommentId: ${this.value}}`;\n    }\n}\n","// See OrderingReduxApis for more notes on general patterns and RTKQ\n\nimport { apiBase, transformLegacyError } from \"api/Core/apiQueryBase\";\nimport { IInvoiceUploadService } from \"./interfaces/IInvoiceUploadService\";\nimport { invoiceUploadService } from \"shared/lib/manager\";\nimport { DeliveryId } from \"./model/DeliveryId\";\nimport { StringValueSet } from \"api/Core/StringValueSet\";\nimport { StringValueMap } from \"api/Core/StringValueMap\";\nimport { InvoiceUploadId } from \"./model/InvoiceUploadId\";\nimport { InvoiceUpload } from \"./model/InvoiceUpload\";\nimport { LocationId } from \"api/Location/model/LocationId\";\n\nconst BY_ID_KEY = new StringValueSet<DeliveryId>(); // need this to not change\n\n// any tag types must live in here to ensure consistency with ids\nexport const invoiceUploadsTagGetter = {\n    allItems: () => ({ type: \"InvoiceUploads\" as const, id: \"LIST\" }),\n    unreviewed: (locationId: LocationId) => ({ type: \"InvoiceUploads\" as const, id: `UNREVIEWED_${locationId.getValue()}` }),\n    delivery: (deliveryId: DeliveryId) => ({ type: \"InvoiceUploads\" as const, id: `DELIVERY_${deliveryId.getValue()}`}),\n    invoiceUpload: (uploadId: InvoiceUploadId) => ({ type: \"InvoiceUploads\" as const, id: `INVOICE_UPLOAD_${uploadId.getValue()}`}),\n}\n\nconst getExistingInvoiceUploadsByDeliveryId = (\n    getState: () => unknown,\n    selectArg: Parameters<IInvoiceUploadService[\"getInvoiceUploadsByDeliveryId\"]>,\n) => {\n    const state = getState();\n\n    // Because serializeQueryArgs ignores args, any arg value will select the same cache entry\n    // very gross typings things, rtkq is not very nice about it's queryFn typings (it really wants us to use baseQuery)\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    const existing = invoiceUploadApi.endpoints.getInvoiceUploadsByDeliveryId.select(selectArg)(state as any)?.data as StringValueMap<DeliveryId, StringValueMap<InvoiceUploadId, InvoiceUpload>> | undefined;\n\n    return existing;\n}\n\nconst findCurrentDeliveryIdForUpload = (currState: StringValueMap<DeliveryId, StringValueMap<InvoiceUploadId, InvoiceUpload>>, uploadId: InvoiceUploadId) => {\n    for (const deliveryId of currState.keys()) {\n        if (currState.getRequired(deliveryId).has(uploadId)) {\n            return deliveryId;\n        }\n    }\n\n    return null; // no delivery attached\n}\n\ntype OptimisticPatch = { undo(): void };\n// The invoice upload apis are a little wonkier than ordering (which has traditional getById, update, etc) so the patch\n// is a little complicated\nconst patchInvoiceUploadDeliveryCache = (\n    // RTK doesn't seem to expose a better typing for this? could probably use BevspotDispatch\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    dispatch: (action: any) => any,\n    getState: () => unknown,\n    selectArg: Parameters<IInvoiceUploadService[\"getInvoiceUploadsByDeliveryId\"]>,\n    // then all the things we might want to patch\n    patchArgs: {\n        invalidateDelivery?: boolean; // sometimes we just want to throw out all data so next fetch forces an API call\n        uploadId: StringValueSet<InvoiceUploadId> | InvoiceUploadId;\n        currentDeliveryId?: DeliveryId | null;\n        newDeliveryId?: DeliveryId | null;\n        upsertUpload?: InvoiceUpload | null; // null = delete\n    }\n): OptimisticPatch | undefined => {\n    const existing = getExistingInvoiceUploadsByDeliveryId(getState, selectArg);\n    if (existing === undefined) {\n        return; // no state = no patching\n    }\n\n    const uploadIds = patchArgs.uploadId instanceof StringValueSet ? patchArgs.uploadId : new StringValueSet([patchArgs.uploadId]);\n\n    return dispatch(invoiceUploadApi.util.updateQueryData(\"getInvoiceUploadsByDeliveryId\",\n        selectArg,\n        (draft) => {\n            uploadIds.forEach((uploadId) => {\n                const from = patchArgs.currentDeliveryId !== undefined ? patchArgs.currentDeliveryId : findCurrentDeliveryIdForUpload(existing, uploadId);\n\n                // if invalidate: no need to do anything else, just invalidate\n                if (patchArgs.invalidateDelivery) {\n                    if (patchArgs.newDeliveryId) draft.delete(patchArgs.newDeliveryId);\n                    if (from) draft.delete(from);\n                    return;\n                }\n\n                const upsertUpload = patchArgs.upsertUpload;\n\n                // delete case: remove from old delivery, nothing to upsert\n                if (!patchArgs.newDeliveryId && upsertUpload === null) {\n                    if (from) {\n                        const oldMap = draft.get(from);\n                        if (oldMap?.has(uploadId)) {\n                            oldMap.delete(uploadId);\n                        }\n                    }\n                    return;\n                }\n\n                // if from & to are present: remove object from old delivery\n                if (from && patchArgs.newDeliveryId && !from.equals(patchArgs.newDeliveryId)) {\n                    const oldMap = draft.get(from);\n                    if (oldMap?.has(uploadId)) {\n                        oldMap.delete(uploadId);\n                    }\n                }\n\n                // upsert object if we have it\n                if (patchArgs.newDeliveryId && upsertUpload !== undefined) {\n                    let newMap = draft.get(patchArgs.newDeliveryId);\n                    if (!newMap) {\n                        newMap = new StringValueMap<InvoiceUploadId, InvoiceUpload>();\n                        draft.set(patchArgs.newDeliveryId, newMap);\n                    }\n                    if (upsertUpload) {\n                        newMap.set(uploadId, upsertUpload);\n                    } else {\n                        newMap.delete(uploadId);\n                    }\n                }\n            });\n        }\n    ));\n}\n\nexport const invoiceUploadApi = apiBase.injectEndpoints({overrideExisting: false, endpoints: (build) => ({\n    getInvoiceUploadsByDeliveryId: build.query<Awaited<ReturnType<IInvoiceUploadService[\"getInvoiceUploadsByDeliveryId\"]>>, Parameters<IInvoiceUploadService[\"getInvoiceUploadsByDeliveryId\"]>>({\n        async queryFn(arg, api, _extraOptions, _baseQuery) {\n            try {\n                const [loc, deliveryIds] = arg;\n                const existing = getExistingInvoiceUploadsByDeliveryId(api.getState, arg);\n\n                // If nothing cached yet, fetch everything\n                if (!existing) {\n                    const data = await invoiceUploadService.getInvoiceUploadsByDeliveryId(...arg);\n                    return { data };\n                }\n\n                // Compute missing IDs\n                const missing = new StringValueSet<DeliveryId>();\n                deliveryIds.forEach((id) => {\n                    if (!existing.has(id)) {\n                        missing.add(id);\n                    }\n                });\n\n                // If nothing missing, return empty map (merge will be a no-op)\n                if (missing.size === 0) {\n                    return { data: new StringValueMap<DeliveryId, StringValueMap<InvoiceUploadId, InvoiceUpload>>() };\n                }\n\n                // Fetch only missing — merge() will add these to the cache\n                const fetched = await invoiceUploadService.getInvoiceUploadsByDeliveryId(loc, missing);\n                return { data: fetched };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        // IMPORTANT: all calls share the same cache entry (accumulating results)\n        // TODO should we actually serialize by location ID too? ids are unique though so shouldn't be a problem\n        serializeQueryArgs: ({ endpointName }) => endpointName,\n\n        // merge new results into existing normalized cache\n        merge: (currentCache, newData) => {\n            newData.forEach((uploadsById, dId) => {\n                // overwriting the previous uploadsById: if we retrieved for this deliveryId, this is the latest information\n                currentCache.set(dId, uploadsById)\n            });\n        },\n\n        forceRefetch({ currentArg, previousArg, endpointState }) {\n            if (currentArg === undefined && previousArg === undefined) {\n                return false;\n            }\n            if (currentArg === undefined || previousArg === undefined) {\n                return true;\n            }\n            const [loc1, deliveries1] = currentArg;\n\n            // refetch if the cache does not contain the delivery\n            const cached = endpointState?.data as StringValueMap<DeliveryId, StringValueMap<InvoiceUploadId, InvoiceUpload>> | undefined;\n            if (cached && Array.from(deliveries1.values()).some((deliveryId) => !cached.has(deliveryId))) {\n                return true;\n            }\n\n            const [loc2, deliveries2] = previousArg;\n            return !(loc1.equals(loc2) && deliveries1.equals(deliveries2));\n        },\n\n        providesTags: (result) => {\n            const tags = [invoiceUploadsTagGetter.allItems()];\n            result?.forEach((uploadsById, deliveryId) => {\n                tags.push(invoiceUploadsTagGetter.delivery(deliveryId));\n                uploadsById.forEach((_upload, uploadId) => tags.push(invoiceUploadsTagGetter.invoiceUpload(uploadId)));\n            });\n\n            return tags;\n        },\n    }),\n\n    // TODO this is used for polling (so actually need it to hit the backend), but is also very SLOW for big accounts/many uploads\n    // so really don't want to have to call it time and time again. can we add an option for unreviewed since X or something?\n    // can force a refresh as an option to the .initiate() call\n    // TODO also for cache performance: likely would behave better if we could do a getUnreviewedIds and then getInvoiceUploadsById ?\n    getUnreviewedInvoiceUploadsById: build.query<Awaited<ReturnType<IInvoiceUploadService[\"getUnreviewedInvoiceUploadsById\"]>>, Parameters<IInvoiceUploadService[\"getUnreviewedInvoiceUploadsById\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.getUnreviewedInvoiceUploadsById(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        serializeQueryArgs: ({ endpointName, queryArgs: [locId] }) => `${endpointName}_${locId.getValue()}`,\n        providesTags: (result, _err, arg) => {\n            const tags = [invoiceUploadsTagGetter.unreviewed(arg[0])];\n            result?.forEach((upload, uploadId) => tags.push(invoiceUploadsTagGetter.invoiceUpload(uploadId)));\n            return tags;\n        },\n    }),\n\n    getLineItemMatchesForInvoiceUpload: build.query<Awaited<ReturnType<IInvoiceUploadService[\"getLineItemMatchesForInvoiceUpload\"]>>, Parameters<IInvoiceUploadService[\"getLineItemMatchesForInvoiceUpload\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.getLineItemMatchesForInvoiceUpload(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        serializeQueryArgs: ({ endpointName, queryArgs: [locId, distributorId] }) => `${endpointName}_${locId.getValue()}_${distributorId ? distributorId.getValue() : \"\"}`,\n    }),\n\n    getLineItemMatchForInvoiceUploadProductId: build.query<Awaited<ReturnType<IInvoiceUploadService[\"getLineItemMatchForInvoiceUploadProductId\"]>>, Parameters<IInvoiceUploadService[\"getLineItemMatchForInvoiceUploadProductId\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.getLineItemMatchForInvoiceUploadProductId(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        serializeQueryArgs: ({ endpointName, queryArgs: [locId, lineItemId, distributorId, productId] }) =>\n            `${endpointName}_${locId.getValue()}_${distributorId ? distributorId.getValue() : \"\"}_${lineItemId}_${productId.getValue()}`,\n    }),\n\n    createPurchasingOptionForLineItem: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"createPurchasingOptionForLineItem\"]>>, Parameters<IInvoiceUploadService[\"createPurchasingOptionForLineItem\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.createPurchasingOptionForLineItem(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n    }),\n\n    createInvoiceUpload: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"createInvoiceUpload\"]>>, Parameters<IInvoiceUploadService[\"createInvoiceUpload\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.createInvoiceUpload(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n       // TODO need to ensure that unreviewed cache is updated - this is always an unreviewed invoice upload I think, could just\n       // auto add it to the cache here in an onQueryStarted\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [loc, _file, deliveryId] = args;\n\n            let result;\n            try {\n                result = await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            if (!result) {\n                return;\n            }\n\n            const { invoiceUpload, invoiceUploadId } = result.data;\n\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [loc, BY_ID_KEY],\n                { uploadId: invoiceUploadId, newDeliveryId: deliveryId, upsertUpload: invoiceUpload })\n        },\n\n        invalidatesTags: (result, _err, arg) => {\n            if (!result) {\n                return [];\n            }\n            const [locId, _file, _deliveryId] = arg;\n            return [invoiceUploadsTagGetter.unreviewed(locId)]\n        }\n    }),\n\n    createInvoiceUploads: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"createInvoiceUploads\"]>>, Parameters<IInvoiceUploadService[\"createInvoiceUploads\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.createInvoiceUploads(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n       // TODO need to ensure that unreviewed cache is updated - this is always an unreviewed invoice upload I think, could just\n       // auto add it to the cache here in an onQueryStarted\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [loc, _file, deliveryId] = args;\n\n            let result;\n            try {\n                result = await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            if (!result) {\n                return;\n            }\n\n            const { results: invoiceUploadsById } = result.data;\n            const uploadIds = new StringValueSet(invoiceUploadsById.keys());\n\n            // let's just invalidate the delivery on the batch call here, and force a refetch\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [loc, BY_ID_KEY],\n                { uploadId: uploadIds, newDeliveryId: deliveryId, invalidateDelivery: true })\n        },\n\n        invalidatesTags: (result, _err, arg) => {\n            if (!result) {\n                return [];\n            }\n            const [locId, _file, _deliveryId] = arg;\n            return [invoiceUploadsTagGetter.unreviewed(locId)]\n        }\n    }),\n\n    setInvoiceUploadDeliveryId: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"setInvoiceUploadDeliveryId\"]>>, Parameters<IInvoiceUploadService[\"setInvoiceUploadDeliveryId\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.setInvoiceUploadDeliveryId(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [loc, invoiceUploadId, deliveryId] = args;\n\n            // must do this optimistically so we know about the previous delivery id on state\n            const patch = patchInvoiceUploadDeliveryCache(dispatch, getState, [loc, BY_ID_KEY],\n                // TODO future: if we can patch the unreviewed cache we don't have to invalidate here\n                { uploadId: invoiceUploadId, newDeliveryId: deliveryId, invalidateDelivery: true });\n\n            try {\n                await queryFulfilled;\n            } catch {\n                patch?.undo();\n            }\n        },\n        invalidatesTags: (_result, _err, arg) => {\n            const [locId, uploadId] = arg;\n            return [\n                invoiceUploadsTagGetter.unreviewed(locId),\n                invoiceUploadsTagGetter.invoiceUpload(uploadId)\n            ];\n        },\n    }),\n\n    submitInvoiceUploadsForProcessing: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"submitInvoiceUploadsForProcessing\"]>>, Parameters<IInvoiceUploadService[\"submitInvoiceUploadsForProcessing\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.submitInvoiceUploadsForProcessing(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [loc, uploadIds] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [loc, BY_ID_KEY],\n                { uploadId: new StringValueSet(uploadIds), invalidateDelivery: true })\n        },\n        invalidatesTags: (_result, _err, arg) => {\n            const [locId, uploadIds, _mergeFiles] = arg;\n            const tags = [invoiceUploadsTagGetter.unreviewed(locId)];\n            uploadIds.forEach((uId) => tags.push(invoiceUploadsTagGetter.invoiceUpload(uId)));\n            return tags;\n        }\n    }),\n\n    setInvoiceUploadName: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"setInvoiceUploadName\"]>>, Parameters<IInvoiceUploadService[\"setInvoiceUploadName\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.setInvoiceUploadName(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [loc, invoiceUploadId] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [loc, BY_ID_KEY],\n                { uploadId: invoiceUploadId, invalidateDelivery: true }) // TODO future: could upsert the new invoice rather than invalidating\n        },\n    }),\n\n    setInvoiceProcessingResultIsConfirmed: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"setInvoiceProcessingResultIsConfirmed\"]>>, Parameters<IInvoiceUploadService[\"setInvoiceProcessingResultIsConfirmed\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.setInvoiceProcessingResultIsConfirmed(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [loc, invoiceUploadId] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            // eh we're just going to invalidate this delivery and force a refetch rather than updating in the object\n            // TODO future: could patch in the object itself (same as for updating name)\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [loc, BY_ID_KEY],\n                { uploadId: invoiceUploadId, invalidateDelivery: true })\n        },\n    }),\n\n    rejectInvoiceProcessingResult: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"rejectInvoiceProcessingResult\"]>>, Parameters<IInvoiceUploadService[\"rejectInvoiceProcessingResult\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.rejectInvoiceProcessingResult(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [invoiceUploadId] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [new LocationId(window.GLOBAL_RETAILER_ID), BY_ID_KEY],\n                { uploadId: invoiceUploadId, invalidateDelivery: true })\n        },\n    }),\n\n    reassignInvoiceLineItemsToRetailer: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"reassignInvoiceLineItemsToRetailer\"]>>, Parameters<IInvoiceUploadService[\"reassignInvoiceLineItemsToRetailer\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.reassignInvoiceLineItemsToRetailer(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [locationId, invoiceUploadId] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [locationId, BY_ID_KEY],\n                { uploadId: invoiceUploadId, invalidateDelivery: true })\n        },\n        invalidatesTags: (_result, _err, arg) => {\n            const [locId, uploadId, targetLocId] = arg;\n            const tags = [\n                invoiceUploadsTagGetter.unreviewed(locId),\n                invoiceUploadsTagGetter.unreviewed(targetLocId),\n                invoiceUploadsTagGetter.invoiceUpload(uploadId)\n            ];\n            return tags;\n        },\n    }),\n\n    reassignInvoicesToRetailer: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"reassignInvoicesToRetailer\"]>>, Parameters<IInvoiceUploadService[\"reassignInvoicesToRetailer\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.reassignInvoicesToRetailer(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [locationId, invoiceUploadIds] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [locationId, BY_ID_KEY],\n                { uploadId: invoiceUploadIds, invalidateDelivery: true })\n        },\n        invalidatesTags: (_result, _err, arg) => {\n            const [locId, uploadIds, targetLocId] = arg;\n            const tags = [ // make sure to invalidate the unreviewed items if we move invoices around\n                invoiceUploadsTagGetter.unreviewed(locId),\n                invoiceUploadsTagGetter.unreviewed(targetLocId),\n            ];\n            uploadIds.forEach((uId) => tags.push(invoiceUploadsTagGetter.invoiceUpload(uId)));\n            return tags;\n        },\n    }),\n\n    deleteInvoiceUploads: build.mutation<Awaited<ReturnType<IInvoiceUploadService[\"deleteInvoiceUploads\"]>>, Parameters<IInvoiceUploadService[\"deleteInvoiceUploads\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await invoiceUploadService.deleteInvoiceUploads(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [locationId, invoiceUploadIds] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            patchInvoiceUploadDeliveryCache(dispatch, getState, [locationId, BY_ID_KEY],\n                { uploadId: invoiceUploadIds, upsertUpload: null })\n        },\n\n        invalidatesTags: (_result, _err, arg) => {\n            const [locId, uploadIds] = arg;\n            const tags = [\n                invoiceUploadsTagGetter.unreviewed(locId), // TODO this is a big thing, maybe just update the cache instead of invalidating\n            ];\n            // TODO maybe not invalidating this exactly, just update cache?\n            uploadIds.forEach((uId) => tags.push(invoiceUploadsTagGetter.invoiceUpload(uId)));\n            return tags;\n        },\n    }),\n})});\n","import moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DeliveryLineItem } from 'api/Ordering/model/DeliveryLineItem';\nimport { DeliveryRepInfo } from 'api/Ordering/model/DeliveryRepInfo';\nimport { InvoiceUploadId } from 'api/Ordering/model/InvoiceUploadId';\nimport { PriceAdjustment } from 'api/Ordering/model/PriceAdjustment';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class Delivery {\n    // all non-monetary fields are captured/duplicated by DeliveryMetadata and should eventually be removed from this class\n    constructor (\n        private readonly datePlacedUTC : moment.Moment,\n        private readonly dateDeliveredUTC : moment.Moment,\n        private readonly distributorId : DistributorId | null,\n        private readonly deliveryLineItems : Array<DeliveryLineItem>,\n        private readonly priceAdjustmentsByProductCategoryId : Map<string, Array<PriceAdjustment>>,\n        private readonly uncategorizedPriceAdjustments : Array<PriceAdjustment>,\n        private readonly taxesByName : Map<string, number>,\n        private readonly invoiceNumber : string | null,\n        private readonly userDefinedTotal : number | null,\n        private readonly noteToRep : string | null,\n        private readonly noteToSelf : string | null,\n        private readonly purchaseOrderNumber : string | null,\n        private readonly distributorReps : Array<DeliveryRepInfo>,\n        private readonly recordedByName : string | null,\n        private readonly dateRecordedUTC : moment.Moment,\n        private readonly deliveryConfirmationEventTimeUTC : moment.Moment | null,\n        private readonly deliveryConfirmationUserId : UserAccountId | null,\n        private readonly hiddenInvoiceUploadLineItemIdsByInvoiceUploadId : StringValueMap<InvoiceUploadId, Set<string>>,\n        private readonly processedInvoiceUploadAdjustmentIdsByInvoiceUploadId : StringValueMap<InvoiceUploadId, Set<string>>,\n        private readonly processedInvoiceUploadTaxIdsByInvoiceUploadId : StringValueMap<InvoiceUploadId, Set<string>>,\n        private readonly approvalEvent : UserAccountIdAndTimestamp | null,\n        private readonly readyForApprovalEvent : UserAccountIdAndTimestamp | null,\n        private readonly lastUpdateEvent : UserAccountIdAndTimestamp | null,\n        private readonly isDraft : boolean = false\n    ) {\n        deliveryLineItems.forEach((deliveryLineItem) => {\n            const invoiceUploadId = deliveryLineItem.getInvoiceUploadId();\n            const invoiceUploadLineItemId = deliveryLineItem.getInvoiceUploadLineItemId();\n\n            if ((invoiceUploadId === null) !== (invoiceUploadLineItemId === null)) {\n                throw new RuntimeException(`unexpected delivery line item with matching invoice upload ${invoiceUploadId} ${invoiceUploadLineItemId}`);\n            } else if ((invoiceUploadId !== null) && (invoiceUploadLineItemId !== null)) {\n                const hiddenInvoiceUploadLineItemIds = hiddenInvoiceUploadLineItemIdsByInvoiceUploadId.get(invoiceUploadId);\n\n                if (typeof hiddenInvoiceUploadLineItemIds !== 'undefined') {\n                    if (hiddenInvoiceUploadLineItemIds.has(invoiceUploadLineItemId)) {\n                        throw new RuntimeException(`unexpected hidden delivery line item {invoiceUploadLineItemId: ${invoiceUploadLineItemId}} ${invoiceUploadId}`);\n                    }\n                }\n            }\n        });\n    }\n\n    public getDatePlacedUTC() : moment.Moment {\n        return this.datePlacedUTC;\n    }\n\n    public getDateDeliveredUTC() : moment.Moment {\n        return this.dateDeliveredUTC;\n    }\n\n    public getDistributorId() : DistributorId | null {\n        return this.distributorId;\n    }\n\n    public getDeliveryLineItems() : Array<DeliveryLineItem> {\n        return this.deliveryLineItems;\n    }\n\n    public getPriceAdjustmentsByProductCategoryId() : Map<string, Array<PriceAdjustment>> {\n        return this.priceAdjustmentsByProductCategoryId;\n    }\n\n    public getUncategorizedPriceAdjustments() : Array<PriceAdjustment> {\n        return this.uncategorizedPriceAdjustments;\n    }\n\n    public getTaxesByName() : Map<string, number> {\n        return this.taxesByName;\n    }\n\n    public getInvoiceNumber() : string | null {\n        return this.invoiceNumber;\n    }\n\n    public getUserDefinedTotal() : number | null {\n        return this.userDefinedTotal;\n    }\n\n    public getNoteToRep() : string | null {\n        return this.noteToRep;\n    }\n\n    public getNoteToSelf() : string | null {\n        return this.noteToSelf;\n    }\n\n    public getPurchaseOrderNumber() : string | null {\n        return this.purchaseOrderNumber;\n    }\n\n    public getDistributorReps() : Array<DeliveryRepInfo> {\n        return this.distributorReps;\n    }\n\n    public getDateRecordedUTC() : moment.Moment {\n        return this.dateRecordedUTC;\n    }\n\n    public getRecordedByName() : string | null {\n        return this.recordedByName;\n    }\n\n    public getDeliveryConfirmationEventTimeUTC() : moment.Moment | null {\n        return this.deliveryConfirmationEventTimeUTC;\n    }\n\n    public getDeliveryConfirmationUserId() : UserAccountId | null {\n        return this.deliveryConfirmationUserId;\n    }\n\n    public getHiddenInvoiceUploadLineItemIdsByInvoiceUploadId() : StringValueMap<InvoiceUploadId, Set<string>> {\n        return this.hiddenInvoiceUploadLineItemIdsByInvoiceUploadId;\n    }\n\n    public getProcessedInvoiceUploadAdjustmentIdsByInvoiceUploadId() : StringValueMap<InvoiceUploadId, Set<string>> {\n        return this.processedInvoiceUploadAdjustmentIdsByInvoiceUploadId;\n    }\n\n    public getProcessedInvoiceUploadTaxIdsByInvoiceUploadId() : StringValueMap<InvoiceUploadId, Set<string>> {\n        return this.processedInvoiceUploadTaxIdsByInvoiceUploadId;\n    }\n\n    public getApprovalEvent() : UserAccountIdAndTimestamp | null {\n        return this.approvalEvent;\n    }\n\n    public getReadyForApprovalEvent() : UserAccountIdAndTimestamp | null {\n        return this.readyForApprovalEvent;\n    }\n\n    public getLastUpdateEvent() : UserAccountIdAndTimestamp | null {\n        return this.lastUpdateEvent;\n    }\n\n    public getIsDraft() : boolean {\n        return this.isDraft;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class DeliveryId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof DeliveryId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{DeliveryId: ${this.value}}`;\n    }\n}\n","import { InvoiceUploadId } from 'api/Ordering/model/InvoiceUploadId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class DeliveryLineItem {\n\n    constructor (\n        private readonly productId : ProductId,\n        private readonly productQuantityUnit : ProductQuantityUnit,\n        private readonly quantityInUnits : number,\n        private readonly pricePerUnit : number,\n        private readonly depositPerUnit : number,\n        private readonly discount : number,     // this is POSITIVE\n        private readonly tax : number,\n        private readonly otherAdjustments : number,\n        private readonly invoiceUploadId : InvoiceUploadId | null,\n        private readonly invoiceUploadLineItemId : string | null,\n    ) {\n        if ((invoiceUploadId === null) !== (invoiceUploadLineItemId === null)) {\n            throw new RuntimeException(`unexpected delivery line item with matching invoice upload (${invoiceUploadId}) and line item id (${invoiceUploadLineItemId})`);\n        }\n    }\n\n    public getProductId() : ProductId {\n        return this.productId;\n    }\n\n    public getProductQuantityUnit() : ProductQuantityUnit {\n        return this.productQuantityUnit;\n    }\n\n    public getQuantityInUnits() : number {\n        return this.quantityInUnits;\n    }\n\n    public getPricePerUnit() : number {\n        return this.pricePerUnit;\n    }\n\n    public getDepositPerUnit() : number {\n        return this.depositPerUnit;\n    }\n\n    public getInvoiceUploadId() : InvoiceUploadId | null {\n        return this.invoiceUploadId;\n    }\n\n    public getInvoiceUploadLineItemId() : string | null {\n        return this.invoiceUploadLineItemId;\n    }\n\n    public getDiscount() : number {\n        return this.discount;\n    }\n\n    public getTax() : number {\n        return this.tax;\n    }\n\n    public getOtherAdjustments() : number {\n        return this.otherAdjustments;\n    }\n}\n","import * as moment from 'moment-timezone';\n\nimport { InvoiceUploadId } from 'api/Ordering/model/InvoiceUploadId';\nimport { InvoiceProcessingResult } from 'api/Ordering/model/InvoiceProcessingResult';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nexport class InvoiceProcessingData {\n    constructor (\n        private readonly requestUserId : UserAccountId | null,\n        private readonly requestTime : moment.Moment | null,\n        private readonly childInvoiceResultCount : number | null,\n        private readonly processedInvoiceUploadIdsByChildInvoiceExternalId : { [k: string] : null | InvoiceUploadId },\n        private readonly result : InvoiceProcessingResult | null,\n        private readonly resultTime : moment.Moment | null,\n        private readonly reviewUserId : UserAccountId | null,\n        private readonly reviewTime : moment.Moment | null,\n        private readonly rejectionEvent? : UserAccountIdAndTimestamp\n    ) {\n        if ((requestUserId === null) !== (requestTime === null)) {\n            throw new RuntimeException('\"requestUserId\" and \"requestTime\" must exist together');\n        }\n\n        if ((result === null) !== (resultTime === null)) {\n            throw new RuntimeException('\"result\" and \"resultTime\" must exist together');\n        }\n\n        if ((reviewUserId === null) !== (reviewTime === null)) {\n            throw new RuntimeException('\"result\" and \"resultTime\" must exist together');\n        }\n\n        if ((result === null) && (reviewUserId !== null)) {\n            throw new RuntimeException('\"reviewUserId\" unexpectedly exists without \"result\"');\n        }\n    }\n\n    public getRequestUserId() : UserAccountId | null {\n        return this.requestUserId;\n    }\n\n    public getRequestTime() : moment.Moment | null {\n        return this.requestTime;\n    }\n\n    public getResult() : InvoiceProcessingResult | null {\n        return this.result;\n    }\n\n    public getResultTime() : moment.Moment | null {\n        return this.resultTime;\n    }\n\n    public getReviewUserId() : UserAccountId | null {\n        return this.reviewUserId;\n    }\n\n    public getReviewTime() : moment.Moment | null {\n        return this.reviewTime;\n    }\n\n    public getRejectionEvent(): UserAccountIdAndTimestamp | undefined {\n        return this.rejectionEvent;\n    }\n\n    public getChildInvoiceResultCount(): number | null {\n        return this.childInvoiceResultCount;\n    }\n\n    public getProcessedInvoiceUploadIdsByChildInvoiceExternalId() : { [k: string] : null | InvoiceUploadId } {\n        return this.processedInvoiceUploadIdsByChildInvoiceExternalId;\n    }\n}\n","import { ValidationResult } from 'api/Ordering/model/ValidationResult';\n\nexport class InvoiceProcessingResultAdjustment {\n    constructor(\n        private readonly _name: string | null,\n        private readonly _amount: number | null,\n        private readonly _validationResults : Array<ValidationResult>,\n    ) {}\n\n    get name(): string | null {\n        return this._name;\n    }\n\n    get amount(): number | null {\n        return this._amount;\n    }\n\n    get validationResults(): Array<ValidationResult> {\n        return this._validationResults;\n    }\n\n    public static generateAdjustmentId(index: number): string {\n        return `invoice-adjustment-${index}`;\n    }\n}\n","import { NormalizedLineItem } from \"./NormalizedLineItem\";\nimport { NormalizedPackaging } from \"./NormalizedPackaging\";\nimport { ValidationResult } from 'api/Ordering/model/ValidationResult';\n\nexport class InvoiceProcessingResultLineItem {\n    constructor (\n        private readonly lineItemId : string,\n        private readonly name : string,\n        private readonly sku : string | null,\n        private readonly price : number | null,\n        private readonly quantity : number | null,\n        private readonly unit : string | null,\n        private readonly unitDeposit : number | null,\n        private readonly discount : number | null,      // this is POSITIVE\n        private readonly tax : number | null,\n        private readonly otherAdjustments : number | null,\n        private readonly packSize : string | null,   // may not match unit\n        private readonly normalizedLineItem : NormalizedLineItem | null,\n        private readonly normalizedPackaging : NormalizedPackaging | null,\n        private readonly validationResults : Array<ValidationResult>,\n    ) {}\n\n    public getLineItemId() : string {\n        return this.lineItemId;\n    }\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getSku() : string | null {\n        return this.sku;\n    }\n\n    public getPrice() : number | null {\n        return this.price;\n    }\n\n    public getQuantity() : number | null {\n        return this.quantity;\n    }\n\n    public getUnit() : string | null {\n        return this.unit;\n    }\n\n    public getUnitDeposit() : number | null {\n        return this.unitDeposit;\n    }\n\n    public getDiscount() : number | null {\n        return this.discount;\n    }\n\n    public getTax() : number | null {\n        return this.tax;\n    }\n\n    public getOtherAdjustments() : number | null {\n        return this.otherAdjustments;\n    }\n\n    public getPackSize() : string | null {\n        return this.packSize;\n    }\n\n    public getNormalizedLineItem() : NormalizedLineItem | null {\n        return this.normalizedLineItem;\n    }\n\n    public getNormalizedPackaging() : NormalizedPackaging | null {\n        return this.normalizedPackaging;\n    }\n\n    public getValidationResults() : Array<ValidationResult> {\n        return this.validationResults;\n    }\n\n    public getTotalCost() : number | null {\n        if (this.price === null || this.quantity === null) {\n            return null;\n        }\n        // ok to assume deposit as 0, but not quite for price and quantity\n        return (this.price + (this.unitDeposit || 0)) * this.quantity + (this.tax || 0) - (this.discount || 0) + (this.otherAdjustments || 0);\n    }\n}\n","export enum InvoiceProcessingResultSource {\n    PLATE_IQ = 'Plate IQ',\n    FINTECH = 'Fintech',\n    ROSSUM = 'Rossum',  // deprecated\n    STEDI_SYSCO = 'Sysco',\n    STEDI_USFOODS = 'US Foods',\n    BEVSPOT_INTERNAL = 'BevSpot',\n}\n","import { ValidationResult } from 'api/Ordering/model/ValidationResult';\n\nexport class InvoiceProcessingResultTax {\n    constructor (\n        private readonly name : string,\n        private readonly total : number | undefined,\n        private readonly validationResults : Array<ValidationResult>\n    ) {}\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getTotal() : number | undefined {\n        return this.total;\n    }\n\n    public getValidationResults() : Array<ValidationResult> {\n        return this.validationResults;\n    }\n\n    public static generateTaxId(index: number): string {\n        return `invoice-tax-${index}`;\n    }\n}\n","import { RuntimeException } from \"shared/lib/general/exceptions/RuntimeException\";\n\nexport enum InvoiceStatus {\n    UPLOAD_NEEDED = 'Upload Needed',\n    UPLOADED = 'Uploaded',\n    PROCESSING = 'Processing',\n    IN_PROGRESS = \"In Progress\",\n    ATTACH_TO_DELIVERY = 'Delivery Needed',\n    NEEDS_REVIEW = 'Needs Review',\n    APPROVED = 'Approved',\n    PROCESSING_FAILED = 'Processing Failed',\n    READY_FOR_APPROVAL = \"Ready for Approval\",\n    REJECTED = 'Rejected',\n    POTENTIAL_DUPLICATE = \"Potential Duplicate\",\n}\n\nconst invoiceStatusByValue = new Map<string, InvoiceStatus>();\nObject.keys(InvoiceStatus).forEach((key) => {\n    // @ts-expect-error This is a bad pattern and we should not be using it any more. See BaseUnit.ts for more extensive comment\n    invoiceStatusByValue.set(InvoiceStatus[key as keyof typeof InvoiceStatus], InvoiceStatus[key as keyof typeof InvoiceStatus]);\n});\n\n// This is bad modern practice! do not follow this pattern. TODO: refactor to not redeclare vars\n// eslint-disable-next-line no-redeclare\nexport namespace InvoiceStatus {\n    export function getByInvoiceStatusValue(invoiceStatusValue : string) : InvoiceStatus {\n        const invoiceStatus = invoiceStatusByValue.get(invoiceStatusValue);\n\n        if (typeof invoiceStatus === 'undefined') {\n            throw new RuntimeException('unexpected value: ' + invoiceStatusValue);\n        }\n\n        return invoiceStatus;\n    }\n\n    export function getAllInvoiceStatuses() : Array<InvoiceStatus> {\n        return Array.from(invoiceStatusByValue.values());\n    }\n\n    export function getAvailableInvoiceStatusesForRetailerFeatures() : Array<InvoiceStatus> {\n        const retailerFeatures = window.GLOBAL_FEATURE_ACCESS;\n        const availableInvoiceStatuses = new Set(invoiceStatusByValue.values());\n\n        // todo: do not remove any of the status?? rows get hidden unexpectedly\n        // TODO are these permission checks still accurate? uploaded_needed should probably be gated to internal IP\n        if (!retailerFeatures.invoice_processing) {\n            availableInvoiceStatuses.delete(InvoiceStatus.PROCESSING);\n        }\n\n        if (!retailerFeatures.any_invoice_ingestion) {\n            availableInvoiceStatuses.delete(InvoiceStatus.ATTACH_TO_DELIVERY);\n            availableInvoiceStatuses.delete(InvoiceStatus.NEEDS_REVIEW);\n            availableInvoiceStatuses.delete(InvoiceStatus.READY_FOR_APPROVAL);\n        }\n\n        return Array.from(availableInvoiceStatuses);\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { InvoiceProcessingData } from 'api/Ordering/model/InvoiceProcessingData';\nimport { DeliveryId } from './DeliveryId';\n\nexport class InvoiceUpload {\n    constructor (\n        private readonly name : string,\n        private readonly uploadUrl : string,\n        private readonly uploadTime : moment.Moment,\n        private readonly fileExtension : string,\n        private readonly deliveryId : DeliveryId | null,\n        private readonly invoiceProcessingData : InvoiceProcessingData | null,\n        private readonly isOnboarding : boolean,\n    ) {}\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getUploadUrl() : string {\n        return this.uploadUrl;\n    }\n\n    public getUploadTime() : moment.Moment {\n        return this.uploadTime;\n    }\n\n    public getFileExtension() : string {\n        return this.fileExtension;\n    }\n\n    public getDeliveryId() : DeliveryId | null {\n        return this.deliveryId;\n    }\n\n    public getInvoiceProcessingData() : InvoiceProcessingData | null {\n        return this.invoiceProcessingData;\n    }\n\n    public getIsOnboarding() : boolean {\n        return this.isOnboarding;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class InvoiceUploadId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof InvoiceUploadId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{InvoiceUploadId: ${this.value}}`;\n    }\n}\n","export enum OrderStatus {\n    'COMMUNICATED' = 'Communicated',\n    'DELIVERED' = 'Delivered',\n    'RECORDED' = 'Recorded',\n}\n","import { DistributorAdjustmentId } from 'api/Distributor/model/DistributorAdjustmentId';\n\nexport class PriceAdjustment {\n\n    constructor (\n        private readonly note : string,\n        private readonly amountInDollars : number,\n        private readonly standardAdjustmentId : DistributorAdjustmentId | null,\n        private readonly glCode : string | null\n    ) {}\n\n    public getAmountInDollars() : number {\n        return this.amountInDollars;\n    }\n\n    public getNote() : string {\n        return this.note;\n    }\n\n    public getStandardAdjustmentId() : DistributorAdjustmentId | null {\n        return this.standardAdjustmentId;\n    }\n\n    public getGLCode() : string | null {\n        return this.glCode;\n    }\n}\n","import { apiBase, transformLegacyError } from \"api/Core/apiQueryBase\";\nimport { orderingService } from \"shared/lib/manager\";\nimport { DeliveryId } from \"./model/DeliveryId\";\nimport { Delivery } from \"./model/Delivery\";\nimport { StringValueMap } from \"api/Core/StringValueMap\";\nimport { StringValueSet } from \"api/Core/StringValueSet\";\nimport { IDeliveryAndHashResponse, IOrderingService } from \"./interfaces/IOrderingService\";\nimport { DeliveryMetadata } from \"./model/DeliveryMetadata\";\nimport { LocationId } from \"api/Location/model/LocationId\";\nimport { invoiceUploadsTagGetter } from \"./invoiceUploadReduxApis\";\nimport { AnyAction, ThunkDispatch } from \"@reduxjs/toolkit\";\n\n/**\n * IMPORTANT NOTE:\n * this implementation does not take advantage of some of the much nicer functionality you can get with\n * RTKQ, involving loading, etc. This is strictly just to match existing code without a massive refactor\n * If you're using this as a template to write a completely new API, consider looking at the RTKQ\n * docs (https://redux-toolkit.js.org/rtk-query/overview) and leveraging better patterns, including using\n * baseQuery instead of queryFn\n */\n\nconst BY_ID_KEY = new StringValueSet<DeliveryId>(); // need this to not change\n\nconst ordersTagGetter = {\n    allItems: () => ({ type: \"Orders\" as const, id: \"LIST\" }),\n    delivery: (deliveryId: DeliveryId) => ({ type: \"Orders\" as const, id: deliveryId.getValue() }),\n    deliveryCount: (loc: LocationId) => ({ type: \"Orders\" as const, id: `COUNT_${loc.getValue()}` }),\n}\n\nconst getExistingDeliveriesById = (\n    getState: () => unknown,\n    selectArg: StringValueSet<DeliveryId>,\n) => {\n    const state = getState();\n\n    // Because serializeQueryArgs ignores args, any arg value will select the same cache entry\n    // very gross typings things, rtkq is not very nice about it's queryFn typings (it really wants us to use baseQuery)\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    const existing = ordersApi.endpoints.getDeliveriesById.select(selectArg)(state as any)?.data as StringValueMap<DeliveryId, Delivery> | undefined;\n    return existing;\n}\n\n// note that we must ensure things are immerable to do patches/updates\nconst patchDeliveryCache = (\n    // RTK doesn't seem to expose a better typing for this? could probably use BevspotDispatch\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    dispatch: (action: any) => ThunkDispatch<any, any, AnyAction>,\n    getState: () => unknown,\n    selectArg: StringValueSet<DeliveryId>,\n    // then all the things we might want to patch\n    patchArgs: {\n        items: Array<{\n            deliveryId: DeliveryId,\n            delivery: Delivery | null, // null = delete\n        }>\n    }\n) => {\n    const existing = getExistingDeliveriesById(getState, selectArg);\n    if (existing === undefined) {\n        return; // no state = no patching\n    }\n\n    return dispatch(ordersApi.util.updateQueryData(\"getDeliveriesById\",\n        selectArg,\n        (draft) => {\n            patchArgs.items.forEach(({ deliveryId, delivery }) => {\n                if (delivery !== null) {\n                    draft.set(deliveryId, delivery);\n                } else {\n                    draft.delete(deliveryId);\n                }\n            });\n        }\n    ));\n}\n\n// for safety: don't allow overriding an existing endpoint name (should not happen anyways)\n// TODO: in newer versions of redux toolkit overrideExisting can be set to \"throw\" which would be better, since\n// it will catch problems in development.\n// TODO: or could do something silly like prefix all of these: orders_getDeliveryAndDeliveryHash, etc.\nexport const ordersApi = apiBase.injectEndpoints({overrideExisting: false, endpoints: (build) => ({\n    getDeliveryAndDeliveryHash: build.query<IDeliveryAndHashResponse, DeliveryId>({\n        // use queryFn to bypass baseQuery (eventually probably want to port over to that though)\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await orderingService.getDeliveryAndDeliveryHash(arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        // This is for directly editing and we need the most up-to-date hash:\n        // so always refetch even if RTKQ thinks it has data for this delivery id\n        // TODO future: consider not doing this? would need to cache the hashes separately\n        // but this API is pretty fast so not as big a deal\n        forceRefetch() {\n            return true;\n        },\n\n        serializeQueryArgs: ({ endpointName, queryArgs }) => `${endpointName}_${queryArgs.getValue()}`,\n\n        // can update the cache though to help out with deliveriesById queries\n        providesTags: (_result, _err, arg) => [ordersTagGetter.delivery(arg)],\n    }),\n\n    getDeliveriesById: build.query<StringValueMap<DeliveryId, Delivery>, StringValueSet<DeliveryId>>({\n        // IMPORTANT: all calls share the same cache entry (accumulating results)\n        serializeQueryArgs: ({ endpointName }) => endpointName,\n\n        // merge new results into existing normalized cache\n        merge: (currentCache, newData) => {\n            newData.forEach((d, dId) => currentCache.set(dId, d));\n        },\n\n        // only fetch ids if they are not already in the cache\n        async queryFn(arg, api) {\n            try {\n                const existing = getExistingDeliveriesById(api.getState, arg);\n                // If nothing cached yet, fetch everything\n                if (!existing) {\n                    const data = await orderingService.getDeliveriesById(arg);\n                    return { data };\n                }\n\n                // Compute missing IDs\n                const missing = new StringValueSet<DeliveryId>();\n                arg.forEach((id) => {\n                    if (!existing.has(id)) {\n                        missing.add(id);\n                    }\n                });\n\n                // If nothing missing, return empty map (merge will be a no-op)\n                if (missing.size === 0) {\n                    return { data: new StringValueMap<DeliveryId, Delivery>() };\n                }\n\n                // Fetch only missing — merge() will add these to the cache\n                const fetched = await orderingService.getDeliveriesById(missing);\n                return { data: fetched };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        forceRefetch({ currentArg, previousArg }) {\n            return !(currentArg?.equals(previousArg));\n        },\n\n        // tag each delivery in the accumulated map so mutations can invalidate\n        providesTags: (result) => {\n            if (!result) {\n                return  [ordersTagGetter.allItems()];\n            }\n            return [\n                ...Array.from(result.keys()).map(ordersTagGetter.delivery),\n                ordersTagGetter.allItems(),\n            ]\n        }\n\n    }),\n\n    // NOTE: explicitly not exporting the function getDeliveriesForLocationInPeriod\n    // for caching reasons, would significantly prefer to use getDeliveryMetadataForLocationInPeriod and then getDeliveriesById\n    // this means the first API call(s) on page load will be a little slower (since requires 2 not 1)\n    // but anything that can leverage the RTKQ cache will be much faster\n    // TODO: make the backend for this API faster? it seems like it's basically the same as the full order retrieval...\n    // or maybe there's a way to share the cache or something instead?\n    getDeliveryMetadataForLocationInPeriod: build.query<StringValueMap<DeliveryId, DeliveryMetadata>, Parameters<IOrderingService[\"getDeliveryMetadataForLocationInPeriod\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await orderingService.getDeliveryMetadataForLocationInPeriod(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        // TODO: try to be smarter about retrieval/caching?\n        // if you have retrieved 11/01 -> 11/15, the request 11/03 -> 11/10 can be derived from those results\n        // order history does this logic somewhat already, but could move into here where it fits naturally\n\n        serializeQueryArgs: ({ endpointName, queryArgs }) => {\n            const [_sess, loc, dateTypes, start, end] = queryArgs;\n            const dateTypesStr = Array.from(dateTypes).sort().join(\"-\"); // sort important for cache consistency\n            return `${endpointName}_${loc.getValue()}_${start.unix()}_${end.unix()}_${dateTypesStr}`;\n        },\n\n        merge: (currentCache, newData) => {\n            newData.forEach((d, dId) => currentCache.set(dId, d));\n        },\n    }),\n\n    // drafts are excluded from the normal metadata/in-range readers, so OrderHistory fetches them\n    // separately via this endpoint and merges them into the table (mirrors getDeliveryMetadataForLocationInPeriod)\n    getDraftDeliveriesForLocationInPeriod: build.query<StringValueMap<DeliveryId, Delivery>, Parameters<IOrderingService[\"getDraftDeliveriesForLocationInPeriod\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await orderingService.getDraftDeliveriesForLocationInPeriod(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        serializeQueryArgs: ({ endpointName, queryArgs }) => {\n            const [_sess, loc, dateTypes, start, end] = queryArgs;\n            const dateTypesStr = Array.from(dateTypes).sort().join(\"-\"); // sort important for cache consistency\n            return `${endpointName}_${loc.getValue()}_${start.unix()}_${end.unix()}_${dateTypesStr}`;\n        },\n\n        // tag each draft so mutations that change a delivery (approve/save via updateDelivery) invalidate this list\n        providesTags: (result) => {\n            if (!result) {\n                return [ordersTagGetter.allItems()];\n            }\n            return [\n                ...Array.from(result.keys()).map(ordersTagGetter.delivery),\n                ordersTagGetter.allItems(),\n            ];\n        },\n    }),\n\n    getDeliveryCountForLocation: build.query<number, Parameters<IOrderingService[\"getDeliveryCountForLocation\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await orderingService.getDeliveryCountForLocation(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        serializeQueryArgs: ({ endpointName, queryArgs }) => {\n            const [_sess, loc] = queryArgs;\n            return `${endpointName}_${loc.getValue()}`;\n        },\n\n        // this might be overkill, this is really just for calculating empty state things\n        providesTags: (_result, _err, arg) => {\n            const [_sess, loc] = arg;\n            return [ordersTagGetter.deliveryCount(loc)];\n        },\n    }),\n\n    // TODO would probably be better to pass in an object with this instead of the Parameters array but that's a lot of code copying/refactor...\n    updateDelivery: build.mutation<string, Parameters<IOrderingService[\"updateDelivery\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await orderingService.updateDelivery(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        invalidatesTags: (_result, _err, args) => {\n            const [loc, deliveryId] = args;\n            return [\n                // TODO invalidate range queries if date changed?\n                ordersTagGetter.delivery(deliveryId), // invalidate getDeliveryAndDeliveryHash subscribers\n                ordersTagGetter.deliveryCount(loc) // invalidate count of orders (? TODO probably don't need this)\n            ];\n        },\n\n        // instead of invalidatesTags, patch caches\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [_loc, deliveryId, updatedDelivery] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            // note that we must ensure things are immerable to do patches/updates\n            patchDeliveryCache(dispatch, getState, BY_ID_KEY, { items: [{ deliveryId, delivery: updatedDelivery}] });\n        },\n    }),\n\n    deleteOrderRecord: build.mutation<void, Parameters<IOrderingService[\"deleteOrderRecord\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                const data = await orderingService.deleteOrderRecord(...arg);\n                return { data };\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n\n        async onQueryStarted(args, { dispatch, getState, queryFulfilled }) {\n            const [deliveryId] = args;\n\n            try {\n                await queryFulfilled;\n            } catch {\n                return;\n            }\n\n            patchDeliveryCache(dispatch, getState, BY_ID_KEY, { items: [{ deliveryId, delivery: null }] });\n        },\n\n        invalidatesTags: (_result, _err, arg) => {\n            const [deliveryId] = arg;\n            return [\n                ordersTagGetter.delivery(deliveryId),\n                ordersTagGetter.deliveryCount(new LocationId(window.GLOBAL_RETAILER_ID)),  // invalidate count TODO invalidate orders in range?\n                invoiceUploadsTagGetter.delivery(deliveryId),\n            ];\n        },\n    }),\n\n    addOrderItemsToCart: build.mutation<null, Parameters<IOrderingService[\"addOrderItemsToCart\"]>>({\n        async queryFn(arg, _api, _extraOptions, _baseQuery) {\n            try {\n                await orderingService.addOrderItemsToCart(...arg);\n                return { data: null }; // return null rather than void as \"success\"\n            } catch (e) {\n                return transformLegacyError(e);\n            }\n        },\n        // no need to handle tags here, until we put cart apis in rtkq\n    }),\n})});\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { DeliveryLineItem } from 'api/Ordering/model/DeliveryLineItem';\nimport { DeliveryMetadata } from 'api/Ordering/model/DeliveryMetadata';\nimport { InvoiceStatus } from 'api/Ordering/model/InvoiceStatus';\nimport { InvoiceUpload } from 'api/Ordering/model/InvoiceUpload';\nimport { OrderStatus } from 'api/Ordering/model/OrderStatus';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { InvoiceUploadId } from '../model/InvoiceUploadId';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nconst getOrderBreakdownByProductCategory = (\n    delivery : Delivery,\n    productsById : StringValueMap<ProductId, Product>,\n    categoriesById : StringValueMap<CategoryId, Category>,\n) : Map<string, number> => {\n    const breakdownByCategory = new Map<string, number>();\n\n    delivery.getPriceAdjustmentsByProductCategoryId().forEach((adjustments, productCategoryId) => {\n        const newCategoryId = new CategoryId(productCategoryId);\n        let newCategoryName = \"\";\n        if (categoriesById.has(newCategoryId)) {\n            newCategoryName = categoriesById.getRequired(newCategoryId).getName();\n        }\n        const priceAdjustmentsForCategoryTotal = adjustments.reduce((accumulator : number, adjustmentValue) => {\n            return accumulator + adjustmentValue.getAmountInDollars();\n        }, 0);\n        breakdownByCategory.set(newCategoryName, priceAdjustmentsForCategoryTotal);\n    });\n\n    delivery.getDeliveryLineItems().forEach((lineItem) => {\n        const productForLineItem = productsById.get(lineItem.getProductId());\n        if (typeof productForLineItem === 'undefined') {\n            throw new RuntimeException(`unexpected product not found in productsById for delivery line item ${lineItem.getProductId()}`);\n        }\n        const productCategory = productForLineItem.getProductCategoryId();\n\n        const costForLineItem = getTotalCostOfDeliveryLineItem(lineItem);\n\n        const oldValue = breakdownByCategory.get(productCategory);\n        if (typeof oldValue === 'undefined') {\n            breakdownByCategory.set(productCategory, costForLineItem);\n        } else {\n            const newValue = oldValue + costForLineItem;\n            breakdownByCategory.set(productCategory, newValue);\n        }\n    });\n\n    return breakdownByCategory;\n};\n\n// TODO consider moving this (and the excluding delivery util) onto the DeliveryLineItem model\n// KEEP IN SYNC WITH THE PYTHON python/order_service/model/LineItem.py get_total\n// KEEP IN SYNC WITH THE JAVA OrderItem.Java getTotal\nconst getTotalCostOfDeliveryLineItem = (lineItem : DeliveryLineItem) : number => {\n    const quantity = lineItem.getQuantityInUnits();\n    const price = lineItem.getPricePerUnit();\n    const deposit = lineItem.getDepositPerUnit();\n    const discount = lineItem.getDiscount();\n    const tax = lineItem.getTax();\n    const otherAdjustments = lineItem.getOtherAdjustments();\n\n    // must handle floating point precision, to avoid very tiny negative values that on display will look like -0\n    // for example: quantity 6 price 202.98, discount 1217.88 results in 1217.8799999999999 - 1217.88 = -2e-13\n\n    // let's be safe though for precision purposes: we may have totals that actually do extend past 2dp - so cap at 6\n    const total = quantity * (price + deposit) + tax - discount + otherAdjustments; // This works without resolving unit because the resolution keeps this all constant\n\n    return parseFloat(numberUtils.ToFixed(total, 6))\n};\n\nconst getCostOfDeliveryLineItemExcludingDeposit = (lineItem : DeliveryLineItem) : number => {\n    const quantity = lineItem.getQuantityInUnits();\n    const price = lineItem.getPricePerUnit();\n    const discount = lineItem.getDiscount();\n    const tax = lineItem.getTax();\n    const otherAdjustments = lineItem.getOtherAdjustments();\n\n    // see note above about floating point precision\n    const total = quantity * price + (tax - discount + otherAdjustments); // This works without resolving unit because the resolution keeps this all constant\n    return parseFloat(numberUtils.ToFixed(total, 6))\n};\n\n// user defined totals are bundled with uncategorized adjustments\nconst getTotalUncategorizedAdjustments = (delivery : Delivery) : number => {\n    const userDefinedTotal = delivery.getUserDefinedTotal();\n    if (userDefinedTotal !== null) {\n        const totalCostOfCategoryAdjustments =  getTotalCostOfCategoryAdjustments(delivery);\n        const costOfLineItems = delivery.getDeliveryLineItems().reduce((accumulator : number, lineItem : DeliveryLineItem) => {\n            return accumulator + getTotalCostOfDeliveryLineItem(lineItem);\n        }, 0);\n\n        return userDefinedTotal - (costOfLineItems + totalCostOfCategoryAdjustments + getTotalTaxes(delivery));\n    } else {\n        return  delivery.getUncategorizedPriceAdjustments().reduce((accumulator : number, adjustmentValue) => {\n            return accumulator + adjustmentValue.getAmountInDollars();\n        }, 0);\n    }\n};\n\nconst getTotalTaxes = (delivery : Delivery) : number => {\n    let totalTaxes = 0;\n    delivery.getTaxesByName().forEach((taxValue) => totalTaxes += taxValue);\n    return totalTaxes;\n};\n\nconst getTotalCostOfDelivery = (delivery : Delivery) : number => {\n    const userDefinedTotal = delivery.getUserDefinedTotal();\n    if (userDefinedTotal !== null) {\n        return userDefinedTotal;\n    }\n\n    const costOfLineItems = delivery.getDeliveryLineItems().reduce((accumulator : number, lineItem : DeliveryLineItem) => {\n        return accumulator + getTotalCostOfDeliveryLineItem(lineItem);\n    }, 0);\n\n    const totalCostOfCategoryAdjustments : number = getTotalCostOfCategoryAdjustments(delivery);\n\n    const costOfUncategorizedPriceAdjustments = delivery.getUncategorizedPriceAdjustments().reduce((accumulator : number, adjustmentValue) => {\n        return accumulator + adjustmentValue.getAmountInDollars();\n    }, 0);\n\n    let costOfTaxes = 0;\n    delivery.getTaxesByName().forEach((taxValue) => {\n        costOfTaxes += taxValue;\n    });\n\n    return costOfLineItems + totalCostOfCategoryAdjustments + costOfUncategorizedPriceAdjustments + costOfTaxes;\n};\n\n// specific use case for order history table to avoid recalculating all parts\nconst getTotalCostOfDeliveryGivenPreProcessedDeliveryData = (userDefinedTotal : number | null, taxesTotal : number, uncategorizedAdjustmentsTotal : number, breakdownByCategory : Map<string, number>) : number => {\n    return userDefinedTotal !== null ? userDefinedTotal : (taxesTotal + uncategorizedAdjustmentsTotal + getTotalFromCategoryBreakdown(breakdownByCategory));\n};\n/**\n * HELPER FUNCTIONS\n */\nconst getTotalCostOfCategoryAdjustments = (delivery : Delivery) : number => {\n    let totalCostOfCategoryAdjustments : number = 0;\n    delivery.getPriceAdjustmentsByProductCategoryId().forEach((adjustments, productCategoryId) => {\n        const priceAdjustmentsForCategoryTotal = adjustments.reduce((accumulator : number, adjustmentValue) => {\n            return accumulator + adjustmentValue.getAmountInDollars();\n        }, 0);\n        totalCostOfCategoryAdjustments += priceAdjustmentsForCategoryTotal;\n    });\n    return totalCostOfCategoryAdjustments;\n};\n\nconst getTotalFromCategoryBreakdown = (breakdownByCategory : Map<string, number>) : number => {\n    let total : number = 0;\n    breakdownByCategory.forEach((categoryTotal, productCategoryId) => {\n        total += categoryTotal;\n    });\n    return total;\n};\n\nconst getOrderWasCommunicatedToDistributor = (delivery : Delivery | DeliveryMetadata) : boolean => {\n    let communicatedToDistributor = false;\n    delivery.getDistributorReps().forEach((distributorRep) => {\n        if (distributorRep.getEmailWasSentForOrder() || distributorRep.getSmsWasSentForOrder()) {\n            communicatedToDistributor = true;\n        }\n    });\n\n    return communicatedToDistributor;\n};\n\nconst getOrderStatus = (delivery : Delivery | DeliveryMetadata) : OrderStatus => {\n    if (delivery.getDeliveryConfirmationEventTimeUTC()) {\n        return OrderStatus.DELIVERED;\n    }\n\n    if (getOrderWasCommunicatedToDistributor(delivery)) {\n        return OrderStatus.COMMUNICATED;\n    }\n\n    return OrderStatus.RECORDED;\n};\n\nconst getInvoiceStatus = (invoiceUploads: Array<InvoiceUpload>, delivery: Delivery) : InvoiceStatus  => {\n    if (delivery.getIsDraft()) {\n        return InvoiceStatus.IN_PROGRESS;\n    }\n\n    if (invoiceUploads.length === 0) {\n        return InvoiceStatus.UPLOAD_NEEDED;\n    } else if (delivery.getApprovalEvent() != null) {\n        return InvoiceStatus.APPROVED;\n    } else if (delivery.getReadyForApprovalEvent() != null) {\n        return InvoiceStatus.READY_FOR_APPROVAL;\n    } else {\n        // if anything failed, user needs to do something\n        for (let i = 0; i < invoiceUploads.length; i++) {\n            const uploadedInvoice = invoiceUploads[i].getInvoiceProcessingData();\n            if (uploadedInvoice) {\n                if (uploadedInvoice.getRejectionEvent()) {\n                    return InvoiceStatus.REJECTED;\n                }\n                const result = uploadedInvoice.getResult();\n                if (result && result.getErrorMessage()) {\n                    return InvoiceStatus.PROCESSING_FAILED;\n                }\n            }\n        }\n\n        for (let i = 0; i < invoiceUploads.length; i++) {\n            const uploadedInvoice = invoiceUploads[i].getInvoiceProcessingData();\n            if (uploadedInvoice && !uploadedInvoice.getResult()) {\n                return InvoiceStatus.PROCESSING;\n            }\n        }\n\n        for (let i = 0; i < invoiceUploads.length; i++) {\n            const uploadedInvoice = invoiceUploads[i].getInvoiceProcessingData();\n            if (uploadedInvoice && uploadedInvoice.getResult()) {\n                // the whole delivery is not ready for review until everything succeeded\n                return window.GLOBAL_FEATURE_ACCESS.ip_full_service_review ? InvoiceStatus.IN_PROGRESS : InvoiceStatus.NEEDS_REVIEW;\n            }\n        }\n\n        return InvoiceStatus.UPLOADED;\n    }\n};\n\nconst getReadyForApprovalUserName = (\n    readyForApprovalEvent: UserAccountIdAndTimestamp,\n    currentUser: UserAccountId,\n    nameByUserAccountId: StringValueMap<UserAccountId, IUserName>\n) : string =>  {\n    if (window.GLOBAL_USER_IS_ADMIN) { // BevSpot admins see actual name, all other users see \"BevSpot\"\n        return UserAccountUtils.getUserAccountNameString(readyForApprovalEvent.getUserAccountId(), currentUser, nameByUserAccountId)\n    }\n\n    return \"BevSpot\"\n}\n\nconst getInvoiceErrorMessage = (invoiceUploads: Array<InvoiceUpload>) : null | string => {\n    for (let i = 0; i < invoiceUploads.length; i++) {\n        const uploadedInvoice = invoiceUploads[i].getInvoiceProcessingData();\n        if (uploadedInvoice && uploadedInvoice.getResult()) {\n            const result = uploadedInvoice.getResult();\n            if (result && result.getErrorMessage()) {\n                return result.getErrorMessage();\n            }\n        }\n    }\n    return null;\n};\n\nconst getExcelExportURL = (\n    locationId : LocationId,\n    deliveryId : DeliveryId,\n) : string => {\n    return `${ url('ordering:record:excel_export', null, locationId.getValue(), null) }?delivery_id=${ deliveryId.getValue() }`;\n};\n\nconst getDeliveryWithUpdatedInvoiceNumber = (delivery : Delivery, newInvoiceNumber : string | null) : Delivery => {\n    return new Delivery(\n        delivery.getDatePlacedUTC(),\n        delivery.getDateDeliveredUTC(),\n        delivery.getDistributorId(),\n        delivery.getDeliveryLineItems(),\n        delivery.getPriceAdjustmentsByProductCategoryId(),\n        delivery.getUncategorizedPriceAdjustments(),\n        delivery.getTaxesByName(),\n        newInvoiceNumber,\n        delivery.getUserDefinedTotal(),\n        delivery.getNoteToRep(),\n        delivery.getNoteToSelf(),\n        delivery.getPurchaseOrderNumber(),\n        delivery.getDistributorReps(),\n        delivery.getRecordedByName(),\n        delivery.getDateRecordedUTC(),\n        delivery.getDeliveryConfirmationEventTimeUTC(),\n        delivery.getDeliveryConfirmationUserId(),\n        delivery.getHiddenInvoiceUploadLineItemIdsByInvoiceUploadId(),\n        delivery.getProcessedInvoiceUploadAdjustmentIdsByInvoiceUploadId(),\n        delivery.getProcessedInvoiceUploadTaxIdsByInvoiceUploadId(),\n        delivery.getApprovalEvent(),\n        delivery.getReadyForApprovalEvent(),\n        delivery.getLastUpdateEvent(),\n        delivery.getIsDraft(),\n);\n};\n\nconst getDeliveryWithUpdatedDeliveryLineItems = (delivery : Delivery, newDeliveryLineItems : Array<DeliveryLineItem>) : Delivery => {\n    return new Delivery(\n        delivery.getDatePlacedUTC(),\n        delivery.getDateDeliveredUTC(),\n        delivery.getDistributorId(),\n        newDeliveryLineItems,\n        delivery.getPriceAdjustmentsByProductCategoryId(),\n        delivery.getUncategorizedPriceAdjustments(),\n        delivery.getTaxesByName(),\n        delivery.getInvoiceNumber(),\n        delivery.getUserDefinedTotal(),\n        delivery.getNoteToRep(),\n        delivery.getNoteToSelf(),\n        delivery.getPurchaseOrderNumber(),\n        delivery.getDistributorReps(),\n        delivery.getRecordedByName(),\n        delivery.getDateRecordedUTC(),\n        delivery.getDeliveryConfirmationEventTimeUTC(),\n        delivery.getDeliveryConfirmationUserId(),\n        delivery.getHiddenInvoiceUploadLineItemIdsByInvoiceUploadId(),\n        delivery.getProcessedInvoiceUploadAdjustmentIdsByInvoiceUploadId(),\n        delivery.getProcessedInvoiceUploadTaxIdsByInvoiceUploadId(),\n        delivery.getApprovalEvent(),\n        delivery.getReadyForApprovalEvent(),\n        delivery.getLastUpdateEvent(),\n        delivery.getIsDraft(),\n);\n};\n\nconst getDeliveryWithInvoiceUploadRemoved = (delivery : Delivery, invoiceUploadId : InvoiceUploadId) : Delivery => {\n    const lineItems = delivery.getDeliveryLineItems().map((lineItem) => {\n        if (invoiceUploadId.equals(lineItem.getInvoiceUploadId())) {\n            return new DeliveryLineItem(\n                lineItem.getProductId(),\n                lineItem.getProductQuantityUnit(),\n                lineItem.getQuantityInUnits(),\n                lineItem.getPricePerUnit(),\n                lineItem.getDepositPerUnit(),\n                lineItem.getDiscount(),\n                lineItem.getTax(),\n                lineItem.getOtherAdjustments(),\n                null,\n                null,\n            );\n        }\n\n        return lineItem;\n    });\n\n    let hiddenInvoiceUploadLineItemIdsByInvoiceUploadId;\n    if (delivery.getHiddenInvoiceUploadLineItemIdsByInvoiceUploadId().has(invoiceUploadId)) {\n        hiddenInvoiceUploadLineItemIdsByInvoiceUploadId = new StringValueMap(delivery.getHiddenInvoiceUploadLineItemIdsByInvoiceUploadId());\n        hiddenInvoiceUploadLineItemIdsByInvoiceUploadId.delete(invoiceUploadId);\n    } else {\n        hiddenInvoiceUploadLineItemIdsByInvoiceUploadId = delivery.getHiddenInvoiceUploadLineItemIdsByInvoiceUploadId();\n    }\n\n    let processedInvoiceUploadAdjustmentIdsByInvoiceUploadId;\n    if (delivery.getProcessedInvoiceUploadAdjustmentIdsByInvoiceUploadId().has(invoiceUploadId)) {\n        processedInvoiceUploadAdjustmentIdsByInvoiceUploadId = new StringValueMap(delivery.getProcessedInvoiceUploadAdjustmentIdsByInvoiceUploadId());\n        processedInvoiceUploadAdjustmentIdsByInvoiceUploadId.delete(invoiceUploadId);\n    } else {\n        processedInvoiceUploadAdjustmentIdsByInvoiceUploadId = delivery.getProcessedInvoiceUploadAdjustmentIdsByInvoiceUploadId();\n    }\n\n    let processedInvoiceUploadTaxIdsByInvoiceUploadId;\n    if (delivery.getProcessedInvoiceUploadTaxIdsByInvoiceUploadId().has(invoiceUploadId)) {\n        processedInvoiceUploadTaxIdsByInvoiceUploadId = new StringValueMap(delivery.getProcessedInvoiceUploadTaxIdsByInvoiceUploadId());\n        processedInvoiceUploadTaxIdsByInvoiceUploadId.delete(invoiceUploadId);\n    } else {\n        processedInvoiceUploadTaxIdsByInvoiceUploadId = delivery.getProcessedInvoiceUploadTaxIdsByInvoiceUploadId();\n    }\n\n    return new Delivery(\n        delivery.getDatePlacedUTC(),\n        delivery.getDateDeliveredUTC(),\n        delivery.getDistributorId(),\n        lineItems,\n        delivery.getPriceAdjustmentsByProductCategoryId(),\n        delivery.getUncategorizedPriceAdjustments(),\n        delivery.getTaxesByName(),\n        delivery.getInvoiceNumber(),\n        delivery.getUserDefinedTotal(),\n        delivery.getNoteToRep(),\n        delivery.getNoteToSelf(),\n        delivery.getPurchaseOrderNumber(),\n        delivery.getDistributorReps(),\n        delivery.getRecordedByName(),\n        delivery.getDateRecordedUTC(),\n        delivery.getDeliveryConfirmationEventTimeUTC(),\n        delivery.getDeliveryConfirmationUserId(),\n        hiddenInvoiceUploadLineItemIdsByInvoiceUploadId,\n        processedInvoiceUploadAdjustmentIdsByInvoiceUploadId,\n        processedInvoiceUploadTaxIdsByInvoiceUploadId,\n        delivery.getApprovalEvent(),\n        delivery.getReadyForApprovalEvent(),\n        delivery.getLastUpdateEvent(),\n        delivery.getIsDraft(),\n    );\n};\n\nconst getProductIdsInDelivery = (delivery : Delivery) : StringValueSet<ProductId> => {\n    const productIds = new StringValueSet<ProductId>();\n\n    delivery.getDeliveryLineItems().forEach((deliveryLineItem) => {\n        productIds.add(deliveryLineItem.getProductId());\n    });\n\n    return productIds;\n};\n\nconst getNumberOfOrdersByProductIdInDeliveries = (deliveriesById: StringValueMap<DeliveryId, Delivery>) : StringValueMap<ProductId, number> => {\n    const numberOfProductInDeliveriesById = new StringValueMap<ProductId, number>();\n    deliveriesById.forEach((delivery) => {\n        delivery.getDeliveryLineItems().forEach((lineItem) => {\n            if (!numberOfProductInDeliveriesById.has(lineItem.getProductId())) {\n                numberOfProductInDeliveriesById.set(lineItem.getProductId(), 1);\n            } else {\n                numberOfProductInDeliveriesById.set(lineItem.getProductId(), numberOfProductInDeliveriesById.getRequired(lineItem.getProductId()) + 1);\n            }\n        });\n    });\n    return numberOfProductInDeliveriesById;\n};\n\nconst getOrderDetailLink = (\n    deliveryIdString: string,\n    locationId?: LocationId\n) => {\n    return `/ordering/record/detail/r/${locationId?.getValue() || window.GLOBAL_RETAILER_ID}/#/order/${deliveryIdString}`;\n}\n\nexport const DeliveryUtils = {\n    getOrderBreakdownByProductCategory,\n    getCostOfDeliveryLineItemExcludingDeposit,\n    getTotalCostOfDeliveryLineItem,\n    getTotalUncategorizedAdjustments,\n    getTotalTaxes,\n    getTotalCostOfDelivery,\n    getTotalCostOfDeliveryGivenPreProcessedDeliveryData,\n    getOrderWasCommunicatedToDistributor,\n    getOrderStatus,\n    getInvoiceStatus,\n    getInvoiceErrorMessage,\n    getExcelExportURL,\n    getDeliveryWithInvoiceUploadRemoved,\n    getDeliveryWithUpdatedInvoiceNumber,\n    getDeliveryWithUpdatedDeliveryLineItems,\n    getProductIdsInDelivery,\n    getNumberOfOrdersByProductIdInDeliveries,\n    getOrderDetailLink,\n    getReadyForApprovalUserName,\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IGroupUserPermissionDataJSONObject } from 'api/Permissions/serializer/IGroupUserPermissionDataJSONObject';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport moment from 'moment-timezone';\n\nexport class GroupUserPermissionData {\n    constructor (\n        private readonly userId : UserAccountId,\n        private readonly userName: IUserName,\n        private readonly emailAddress: string,\n        private readonly isAdmin: boolean,\n        private readonly lastLogin: moment.Moment | null,\n        private readonly retailerPermissions: StringValueMap<LocationId, Record<string, boolean>>,\n        private readonly groupRetailerPermissions: Record<string, boolean>,\n        private readonly groupPermissions: Record<string, boolean>,\n    ) {}\n\n    public getUserId() : UserAccountId {\n        return this.userId;\n    }\n\n    public getUserName() : IUserName {\n        return this.userName;\n    }\n\n    public getUserNameString() : string {\n        return `${this.userName.firstName} ${this.userName.lastName}`;\n    }\n\n    public getEmailAddress() : string {\n        return this.emailAddress;\n    }\n\n    public getIsAdmin() : boolean {\n        return this.isAdmin;\n    }\n\n    public getLastLogin() : moment.Moment | null {\n        return this.lastLogin;\n    }\n\n    public getFormattedLastLogin() : string {\n        return this.lastLogin === null ? 'Never Logged In' : this.lastLogin.local().format('LL h:mm A');\n    }\n\n    public getRetailerPermissions() : StringValueMap<LocationId, Record<string, boolean>> {\n        return this.retailerPermissions;\n    }\n\n    public getGroupRetailerPermissions() : Record<string, boolean> {\n        return this.groupRetailerPermissions;\n    }\n\n    public getGroupPermissions() : Record<string, boolean> {\n        return this.groupPermissions;\n    }\n\n    static fromJson(data : IGroupUserPermissionDataJSONObject) : GroupUserPermissionData {\n        const userName = {\n            firstName: data.contact.first,\n            lastName: data.contact.last\n        }\n        const lastLogin = data.last_login === null ? null : moment.utc(data.last_login);\n\n        const retailerPermissions = new StringValueMap<LocationId, Record<string, boolean>>();\n        for (const [retailerId, permissionData] of Object.entries(data.retailers)) {\n            retailerPermissions.set(new LocationId(retailerId), permissionData);\n        }\n\n        return new GroupUserPermissionData(\n            new UserAccountId(data.username),\n            userName,\n            data.contact.email,\n            data.is_admin,\n            lastLogin,\n            retailerPermissions,\n            data.retailer_permissions,\n            data.group_permissions\n        );\n    }\n}","import { IPermissionJSONObject } from 'api/Permissions/serializer/IPermissionJSONObject';\n\nexport class Permission {\n    constructor (\n        private readonly name : string,\n        private readonly displayName : string,\n        private readonly derivationRules : Array<string>,\n    ) {}\n\n    public getName(): string {\n        return this.name;\n    }\n\n    public getDisplayName(): string {\n        return this.displayName;\n    }\n\n    public getDerivationRules(): Array<string> {\n        return this.derivationRules;\n    }\n\n    static fromJson(data : IPermissionJSONObject): Permission {\n        return new Permission(data.name, data.display_name, data.derivation_rules);\n    }\n}","import moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class PrepEvent {\n    constructor (\n        private readonly prepEventTime : moment.Moment,\n        private readonly creationMetadata : UserAccountIdAndTimestamp,\n        private readonly lastEditedMetadata : UserAccountIdAndTimestamp | null,\n        private readonly deletionMetadata : UserAccountIdAndTimestamp | null,\n        private readonly note : string,\n        private readonly type : string,\n        private readonly inputQuantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n        private readonly outputQuantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n        private readonly outputPriceByProductId : StringValueMap<ProductId, ProductCost>,\n    ) {\n        outputQuantityOfProductByProductId.forEach((quantityOfProduct, productId) => {\n            if (!outputPriceByProductId.has(productId)) {\n                throw new RuntimeException(`outputQuantityOfProductByProductId has productId with no price: '${ productId.getValue() }'`);\n            }\n        });\n\n        if (outputPriceByProductId.size !== outputQuantityOfProductByProductId.size) {\n            throw new RuntimeException(`outputPriceByProductId has products that do not exist in outputQuantityOfProductByProductId`);\n        }\n    }\n\n    public getPrepEventTime() : moment.Moment {\n        return this.prepEventTime;\n    }\n\n    public getCreationMetadata() : UserAccountIdAndTimestamp {\n        return this.creationMetadata;\n    }\n\n    public getLastEditedMetadata() : UserAccountIdAndTimestamp | null {\n        return this.lastEditedMetadata;\n    }\n\n    public getDeletionMetadata() : UserAccountIdAndTimestamp | null {\n        return this.deletionMetadata;\n    }\n\n    public getNote() : string {\n        return this.note;\n    }\n\n    public getType() : string {\n        return this.type;\n    }\n\n    public getInputQuantityOfProductByProductId() : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>> {\n        return this.inputQuantityOfProductByProductId;\n    }\n\n    public getOutputQuantityOfProductByProductId() : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>> {\n        return this.outputQuantityOfProductByProductId;\n    }\n\n    public getOutputPriceByProductId() : StringValueMap<ProductId, ProductCost> {\n        return this.outputPriceByProductId;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class PrepEventId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof PrepEventId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{PrepEventId: ${this.value}}`;\n    }\n}\n","import { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\n\nconst getTotalCostOfProductInOutput = (prepEvent : PrepEvent, productId : ProductId, product : Product) : number => {\n    const productAmountInOutput = prepEvent.getOutputQuantityOfProductByProductId().get(productId);\n    const outputPrice = prepEvent.getOutputPriceByProductId().get(productId);\n    if (typeof productAmountInOutput === 'undefined') {\n        throw new RuntimeException('unexpected productAmountInOutput is undefined');\n    }\n    if (typeof outputPrice === 'undefined') {\n        throw new RuntimeException('unexpected outputPrice is undefined');\n    }\n\n    const packagingsAndMappings = product.getPackagingsAndMappings();\n\n    const outputQuantityInPriceUnit = PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, productAmountInOutput, outputPrice.getUnit(), productId);\n\n    return outputQuantityInPriceUnit.getQuantity() * decimalToNumber(outputPrice.getCost());\n};\n\nexport const PrepEventUtils = {\n    getTotalCostOfProductInOutput,\n};\n","import { Unit } from 'api/Product/model/Unit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport enum BaseUnit {\n    EACH = 'EA',\n    UNIT = 'unit',\n}\n\n/**\n * NOTE FOR ALL MODELS WITH @ts-expect-error \n * The way we declare enum models is not good modern typescript practice. Ideally we would set unitByValue by having\n * a key type like `type BaseUnitKey = keyof typeof BaseUnit`, then we could enumerate/access values that way\n * Unfortunately due to the redeclared var namespace, keyof typeof will include all functions not just the enum\n * values. Doing a full refactor is not part of the scope of the current work (updating linting), but this is a dangerous game to play.\n * This code as-is works, if it's never touched again. If you have to touch this model, please  refactor it (and all similar models) \n * to either A) be a class with enum values or B) export the enum and utils separately instead of under the same namespace\n **/\n\nconst unitByValue = new Map<string, BaseUnit>();\nObject.keys(BaseUnit).forEach((key) => {\n    // @ts-expect-error This is a bad pattern and we should not be using it any more.\n    unitByValue.set(BaseUnit[key as keyof typeof BaseUnit], BaseUnit[key as keyof typeof BaseUnit] as BaseUnit);\n});\n\n// This is bad modern practice! do not follow this pattern. TODO: refactor to not redeclare vars\n// eslint-disable-next-line no-redeclare\nexport namespace BaseUnit {\n    export function isBaseUnit(unit : Unit) : unit is BaseUnit {\n        return (typeof unitByValue.get(unit) !== 'undefined');\n    }\n\n    export function isBaseUnitValue(unitValue : string) : boolean {\n        return (typeof unitByValue.get(unitValue) !== 'undefined');\n    }\n\n    export function getByBaseUnitValue(unitValue : string) : BaseUnit {\n        const unit = unitByValue.get(unitValue);\n\n        if (typeof unit === 'undefined') {\n            throw new RuntimeException('unexpected value: ' + unitValue);\n        }\n\n        return unit;\n    }\n\n    export function getUnits() : Array<BaseUnit> {\n        return Array.from(unitByValue.values());\n    }\n}\n","import { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nexport class Category {\n    constructor(\n        private readonly name : string,\n        private readonly glCode : string,\n        private readonly isDeleted : boolean,\n        private readonly hash : string,\n        private readonly creationEvent : UserAccountIdAndTimestamp,\n        private readonly lastUpdateEvent : UserAccountIdAndTimestamp,\n        private readonly confirmationEvent : UserAccountIdAndTimestamp | undefined,\n    ) {}\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getGlCode() : string {\n        return this.glCode;\n    }\n\n    public getHash() : string {\n        return this.hash;\n    }\n\n    public getIsDeleted() : boolean {\n        return this.isDeleted;\n    }\n\n    public getCreationEvent() : UserAccountIdAndTimestamp {\n        return this.creationEvent;\n    }\n\n    public getLastUpdateEvent() : UserAccountIdAndTimestamp {\n        return this.lastUpdateEvent;\n    }\n\n    public getConfirmationEvent() : UserAccountIdAndTimestamp | undefined {\n        return this.confirmationEvent;\n    }\n\n    public getNeedsConfirmationOnCreation() : boolean {\n        return this.lastUpdateEvent.getContext() === 'order' && this.confirmationEvent === undefined;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof Category)) {\n            return false;\n        }\n\n        return ((this.getName() === other.getName()) &&\n            (this.getGlCode() === other.getGlCode()) &&\n            (this.getHash() === other.getHash()) &&\n            (this.getIsDeleted() === other.getIsDeleted()) &&\n            (this.getCreationEvent() === other.getCreationEvent()) &&\n            (this.getLastUpdateEvent() === other.getLastUpdateEvent()) &&\n            (this.getConfirmationEvent() === other.getConfirmationEvent()));\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class CategoryId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof CategoryId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{CategoryId: ${this.value}}`;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { ProductQuantityUnit} from 'api/Product/model/ProductQuantityUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class Conversions {\n    private massUnit : MassUnit | null = null;\n    private volumeUnit : VolumeUnit | null = null;\n\n    constructor(\n        private readonly baseUnit : ProductQuantityUnit,\n        private readonly packagingIdConversions : StringValueMap<PackagingId, number>,\n        private readonly unitOfMeasureConversions : Map<MassUnit | VolumeUnit, number>,\n    ) {\n        let massUnit : MassUnit | null = null;\n        let volumeUnit : VolumeUnit | null = null;\n\n        Array.from(unitOfMeasureConversions.keys()).forEach((unit) => {\n            if (MassUnit.isMassUnit(unit)) {\n                if (massUnit) {\n                    throw new RuntimeException('unitOfMeasureConversions should contain at most one MassUnit');\n                }\n\n                massUnit = unit;\n            } else if (VolumeUnit.isVolumeUnit(unit)) {\n                if (volumeUnit) {\n                    throw new RuntimeException('unitOfMeasureConversions should contain at most one VolumeUnit');\n                }\n\n                volumeUnit = unit;\n            }\n        });\n\n        this.massUnit = massUnit;\n        this.volumeUnit = volumeUnit;\n    }\n\n    public getBaseUnit() {\n        return this.baseUnit;\n    }\n\n    public getPackagingIdConversions() {\n        return this.packagingIdConversions;\n    }\n\n    public getUnitOfMeasureConversions() {\n        return this.unitOfMeasureConversions;\n    }\n\n    public hasMassUnit() {\n        return this.massUnit !== null;\n    }\n\n    public hasVolumeUnit() {\n        return this.volumeUnit !== null;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof Conversions)) {\n            return false;\n        }\n\n        if ((this.packagingIdConversions.size !== other.getPackagingIdConversions().size) ||\n            (this.unitOfMeasureConversions.size !== other.getUnitOfMeasureConversions().size) ||\n            !PackagingUtils.productQuantityUnitsAreEqual(this.baseUnit, other.getBaseUnit())) {\n            return false;\n        }\n\n        let packagingIdConversionsAreEqual = true;\n        this.packagingIdConversions.forEach((value, packagingId) => {\n            packagingIdConversionsAreEqual = packagingIdConversionsAreEqual && (value === other.getPackagingIdConversions().get(packagingId));\n        });\n\n        let unitOfMeasureConversionsAreEqual = true;\n        this.unitOfMeasureConversions.forEach((value, unit) => {\n            unitOfMeasureConversionsAreEqual = unitOfMeasureConversionsAreEqual && (value === other.getUnitOfMeasureConversions().get(unit));\n        });\n\n        return packagingIdConversionsAreEqual && unitOfMeasureConversionsAreEqual;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class Mappings {\n    private massUnit : MassUnit | null = null;\n    private volumeUnit : VolumeUnit | null = null;\n\n    constructor(\n        private readonly packagingIdMappings : StringValueMap<PackagingId, QuantityInUnit<PackagingId>>,\n        private readonly unitOfMeasureMappings : Map<MassUnit | VolumeUnit, QuantityInUnit<PackagingId>>,\n    ) {\n        let massUnit : MassUnit | null = null;\n        let volumeUnit : VolumeUnit | null = null;\n\n        Array.from(unitOfMeasureMappings.keys()).forEach((unit) => {\n            if (MassUnit.isMassUnit(unit)) {\n                if (massUnit) {\n                    throw new RuntimeException('unitOfMeasureConversions should contain at most one MassUnit');\n                }\n\n                massUnit = unit;\n            } else if (VolumeUnit.isVolumeUnit(unit)) {\n                if (volumeUnit) {\n                    throw new RuntimeException('unitOfMeasureConversions should contain at most one VolumeUnit');\n                }\n\n                volumeUnit = unit;\n            }\n        });\n\n        this.massUnit = massUnit;\n        this.volumeUnit = volumeUnit;\n    }\n\n    public getPackagingIdMappings() : StringValueMap<PackagingId, QuantityInUnit<PackagingId>> {\n        return this.packagingIdMappings;\n    }\n\n    public getUnitOfMeasureMappings() : Map<MassUnit | VolumeUnit, QuantityInUnit<PackagingId>> {\n        return this.unitOfMeasureMappings;\n    }\n\n    public hasMassUnit() {\n        return this.massUnit !== null;\n    }\n\n    public hasVolumeUnit() {\n        return this.volumeUnit !== null;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof Mappings)) {\n            return false;\n        }\n\n        if ((this.packagingIdMappings.size !== other.getPackagingIdMappings().size) ||\n            (this.unitOfMeasureMappings.size !== other.getUnitOfMeasureMappings().size)) {\n            return false;\n        }\n\n        let packagingIdMappingsAreEqual = true;\n        this.packagingIdMappings.forEach((quantityInUnit, packagingId) => {\n            packagingIdMappingsAreEqual = packagingIdMappingsAreEqual && (quantityInUnit.equals(other.getPackagingIdMappings().get(packagingId)));\n        });\n\n        let unitOfMeasureMappingsAreEqual = true;\n        this.unitOfMeasureMappings.forEach((quantityInUnit, unit) => {\n            unitOfMeasureMappingsAreEqual = unitOfMeasureMappingsAreEqual && (quantityInUnit.equals(other.getUnitOfMeasureMappings().get(unit)));\n        });\n\n        return packagingIdMappingsAreEqual && unitOfMeasureMappingsAreEqual;\n    }\n}\n","import { Unit } from 'api/Product/model/Unit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport enum MassUnit {\n    GRAM = 'g',\n    KILOGRAM = 'kg',\n    POUND = 'lbs',\n    DRY_OUNCE = 'dry_oz'\n}\n\nconst unitByValue = new Map<string, MassUnit>();\nObject.keys(MassUnit).forEach((key) => {\n    // @ts-expect-error This is a bad pattern and we should not be using it any more. See BaseUnit.ts for more extensive comment\n    unitByValue.set(MassUnit[key as keyof typeof MassUnit], MassUnit[key as keyof typeof MassUnit] as MassUnit);\n});\n\n// This is bad modern practice! do not follow this pattern. TODO: refactor to not redeclare vars\n// eslint-disable-next-line no-redeclare\nexport namespace MassUnit {\n    export function isMassUnit(unit : Unit) : unit is MassUnit {\n        return (typeof unitByValue.get(unit) !== 'undefined');\n    }\n\n    export function isMassUnitValue(unitValue : string) : boolean {\n        return (typeof unitByValue.get(unitValue) !== 'undefined');\n    }\n\n    export function getByMassUnitValue(unitValue : string) : MassUnit {\n        const unit = unitByValue.get(unitValue);\n\n        if (typeof unit === 'undefined') {\n            throw new RuntimeException('unexpected value: ' + unitValue);\n        }\n\n        return unit;\n    }\n\n    export function getUnits() : Array<MassUnit> {\n        return Array.from(unitByValue.values());\n    }\n}\n","import { PackagingUnit } from 'api/Product/model/PackagingUnit';\nimport { Unit } from 'api/Product/model/Unit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class OldPackaging {\n    constructor(\n        private readonly content : OldPackaging | null,\n        private readonly quantityOfContent : number | null,\n        private readonly unit : Unit,\n    ) {\n        if (PackagingUnit.isPackagingUnit(unit)) {\n            if (content === null) {\n                throw new RuntimeException('content must not be null when unit is a PackagingUnit');\n            }\n\n            if (quantityOfContent === null) {\n                throw new RuntimeException('quantityOfContent must not be null when unit is a PackagingUnit');\n            }\n\n            if (unit === PackagingUnit.CASE) {\n                if (quantityOfContent % 1 !== 0) { // if quantityOfContent is NOT an integer\n                    throw new RuntimeException('quantityOfContent for a case must be an integer');\n                }\n            }\n        } else {\n            if (content !== null) {\n                throw new RuntimeException('content must be null when unit is not a PackagingUnit');\n            }\n\n            if (quantityOfContent !== null) {\n                throw new RuntimeException('quantityOfContent must be null when unit is not a PackagingUnit');\n            }\n        }\n    }\n\n    public getContent() : OldPackaging | null {\n        return this.content;\n    }\n\n    public getQuantityOfContent() : number | null {\n        return this.quantityOfContent;\n    }\n\n    public getUnit() : Unit {\n        return this.unit;\n    }\n}\n","import { MassUnit } from 'api/Product/model/MassUnit';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ProductQuantityUnit } from './ProductQuantityUnit';\n\nexport class Packaging {\n    constructor(\n        private readonly packagingId : PackagingId | null,\n        private readonly name : string | null,\n        private readonly content : Packaging | null,\n        private readonly quantityOfContent : number | null,\n        private readonly unit : MassUnit | VolumeUnit | null,\n    ) {\n        if (unit) {\n            if (packagingId !== null) {\n                throw new RuntimeException('packagingId must be null when unit exists');\n            }\n\n            if (name !== null) {\n                throw new RuntimeException('name must be null when unit exists');\n            }\n\n            if (content !== null) {\n                throw new RuntimeException('content must be null when unit exists');\n            }\n\n            if (quantityOfContent !== null) {\n                throw new RuntimeException('quantityOfContent must be null when unit exists');\n            }\n        } else {\n            if (packagingId === null) {\n                throw new RuntimeException('packagingId must not be null when unit does not exist');\n            }\n\n            if (name === null) { // PTODO\n                throw new RuntimeException('name must not be null when unit does not exist');\n            }\n\n            if ((content === null) !== (quantityOfContent === null)) {\n                throw new RuntimeException('content and quantityOfContent must either both exist or both be null when unit does not exist');\n            }\n        }\n    }\n\n    public getPackagingId() : PackagingId | null {\n        return this.packagingId;\n    }\n\n    public getName() : string | null {\n        return this.name;\n    }\n\n    public getContent() : Packaging | null {\n        return this.content;\n    }\n\n    public getQuantityOfContent() : number | null {\n        return this.quantityOfContent;\n    }\n\n    public getUnit() : MassUnit | VolumeUnit | null {\n        return this.unit;\n    }\n\n    public getProductQuantityUnit() : ProductQuantityUnit {\n        const productQuantityUnit = this.getPackagingId() || this.getUnit();\n        if (productQuantityUnit === null) {\n            throw new RuntimeException('both packagingId and unit are null');\n        }\n        return productQuantityUnit;\n    }\n\n    public equals(other : unknown) : boolean {\n        if (!(other instanceof Packaging)) {\n            return false;\n        }\n\n        const otherPackagingId = other.getPackagingId();\n        const otherContent = other.getContent();\n\n        if ((this.packagingId === otherPackagingId) || ((this.packagingId && otherPackagingId) ? this.packagingId.equals(otherPackagingId) : false) &&\n            (this.name === other.getName()) &&\n            (this.quantityOfContent === other.getQuantityOfContent()) &&\n            (this.unit === other.getUnit())) {\n            return (this.content === otherContent) || ((this.content && otherContent) ? this.content.equals(otherContent) : false);\n        }\n\n        return false;\n    }\n\n    public toString() : string {\n        return `{packagingId: ${this.getPackagingId()}, name: ${this.getName()}, content: ${this.getContent()}, quantityOfContent: ${this.getQuantityOfContent()}, unit: ${this.getUnit()}`;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class PackagingId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof PackagingId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{PackagingId: ${this.value}}`;\n    }\n}\n","import { Unit } from 'api/Product/model/Unit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport enum PackagingUnit {\n    CASE = 'case',\n    BOTTLE = 'bottle',\n    CAN = 'can',\n    KEG = 'keg',\n    BAG = 'bag',\n    BOX = 'box',\n    CAN_FOOD = 'can_food',  // was created while we had \"food\" v.s. \"beverage\" container types. kept for backward data compatiblity\n    CARTON = 'carton',\n    CONTAINER = 'container',\n    PACKAGE = 'package',\n    TUB = 'tub',\n    OTHER = 'other',\n}\n\nconst unitByValue = new Map<string, PackagingUnit>();\nObject.keys(PackagingUnit).forEach((key) => {\n    // @ts-expect-error This is a bad pattern and we should not be using it any more. See BaseUnit.ts for more extensive comment\n    unitByValue.set(PackagingUnit[key as keyof typeof PackagingUnit], PackagingUnit[key as keyof typeof PackagingUnit] as PackagingUnit);\n});\n\n// This is bad modern practice! do not follow this pattern. TODO: refactor to not redeclare vars\n// eslint-disable-next-line no-redeclare\nexport namespace PackagingUnit {\n    export function isPackagingUnit(unit : Unit) : unit is PackagingUnit {\n        return (typeof unitByValue.get(unit) !== 'undefined');\n    }\n\n    export function isPackagingUnitValue(unitValue : string) : boolean {\n        return (typeof unitByValue.get(unitValue) !== 'undefined');\n    }\n\n    export function getByPackagingUnitValue(unitValue : string) : PackagingUnit {\n        const unit = unitByValue.get(unitValue);\n\n        if (typeof unit === 'undefined') {\n            throw new RuntimeException('unexpected value: ' + unitValue);\n        }\n\n        return unit;\n    }\n\n    export function getUnits() : Array<PackagingUnit> {\n        return Array.from(unitByValue.values());\n    }\n}\n","import { MassUnit } from 'api/Product/model/MassUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\n\nexport class PackagingWeight {\n    constructor(\n        private readonly emptyWeight : QuantityInUnit<MassUnit> | null,\n        private readonly fullWeight : QuantityInUnit<MassUnit> | null,\n    ) {}\n\n    public getEmptyWeight() {\n        return this.emptyWeight;\n    }\n\n    public getFullWeight() {\n        return this.fullWeight;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof PackagingWeight)) {\n            return false;\n        }\n\n        if (((this.emptyWeight === other.getEmptyWeight()) || (this.emptyWeight && other.getEmptyWeight() && this.emptyWeight.equals(other.getEmptyWeight()))) &&\n            ((this.fullWeight === other.getFullWeight()) || (this.fullWeight && other.getFullWeight() && this.fullWeight.equals(other.getFullWeight())))\n        ) {\n            return true;\n        }\n\n        return false;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Conversions } from 'api/Product/model/Conversions';\nimport { Mappings } from 'api/Product/model/Mappings';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { QuantityInUnit } from './QuantityInUnit';\n\nconst packagingDataToString = (packagingData : Array<{deleted: boolean, isActive: boolean, packaging: Packaging}>): string => {\n    return packagingData.map(\n        (p) => `{deleted: ${p.deleted}, isActive: ${p.isActive}, packaging: ${p.packaging.toString()}`\n    ).join(\", \");\n}\n\nexport class PackagingsAndMappings {\n    private nonDeletedPackagingData : Array<{packaging: Packaging, isActive: boolean}>;\n    private availablePackagingByPackagingId : StringValueMap<PackagingId, Packaging>;\n    private availableVolumeUnits : Set<VolumeUnit>;\n    private availableMassUnits : Set<MassUnit>;\n\n    constructor(\n        private readonly packagingData : Array<{deleted: boolean, isActive: boolean, packaging: Packaging}>,\n        private readonly mappings : Mappings,\n        private readonly conversions : Conversions,\n    ) {\n        // Populate helper fields\n        const nonDeletedPackagingData : Array<{packaging: Packaging, isActive: boolean}> = [];\n        const availablePackagingByPackagingId = new StringValueMap<PackagingId, Packaging>();\n        const availableVolumeUnits = new Set<VolumeUnit>();\n        const availableMassUnits = new Set<MassUnit>();\n\n        this.packagingData.forEach((data) => {\n            if (!data.deleted) {\n                nonDeletedPackagingData.push({\n                    packaging: data.packaging,\n                    isActive: data.isActive,\n                });\n\n                let currentPackaging : Packaging | null = data.packaging;\n\n                while (currentPackaging) {\n                    const currentPackagingId = currentPackaging.getPackagingId();\n\n                    if (currentPackagingId) {\n                        availablePackagingByPackagingId.set(currentPackagingId, currentPackaging);\n                    } else {\n                        const currentUnit = currentPackaging.getUnit();\n                        if (currentUnit === null) {\n                            throw new RuntimeException(\"unexpected packaging data has no packaging id or unit: \" + currentPackaging);\n                        }\n\n                        if (VolumeUnit.isVolumeUnit(currentUnit)) {\n                            availableVolumeUnits.add(currentUnit);\n                        } else if (MassUnit.isMassUnit(currentUnit)) {\n                            availableMassUnits.add(currentUnit);\n                        }\n                    }\n\n                    currentPackaging = currentPackaging.getContent();\n                }\n            }\n        });\n\n        const conversionsBaseUnit = this.conversions.getBaseUnit();\n\n        // Validate conversions\n        // Every non-deleted package base should either be the conversions base unit or represented in conversion keys\n        this.packagingData.forEach((data) => {\n            if (!data.deleted) {\n                const basePackaging = PackagingUtils.getBasePackaging(data.packaging);\n                const basePackagingProductQuantityUnit = basePackaging.getPackagingId() || basePackaging.getUnit();\n                if (basePackagingProductQuantityUnit === null) {\n                    throw new RuntimeException('Packaging data exists with no base product quantity unit: ' + data.packaging.toString());\n                }\n\n                if (PackagingUtils.productQuantityUnitsAreEqual(conversionsBaseUnit, basePackagingProductQuantityUnit)) {\n                    return;\n                }\n\n                if (basePackagingProductQuantityUnit instanceof PackagingId) {\n                    if (conversions.getPackagingIdConversions().has(basePackagingProductQuantityUnit)) {\n                        return;\n                    }\n                } else {\n                    if (!(conversionsBaseUnit instanceof PackagingId)) {\n                        if ((MassUnit.isMassUnit(basePackagingProductQuantityUnit) && MassUnit.isMassUnit(conversionsBaseUnit)) || (VolumeUnit.isVolumeUnit(basePackagingProductQuantityUnit) && VolumeUnit.isVolumeUnit(conversionsBaseUnit))) {\n                            return;\n                        }\n                    }\n\n                    if ((MassUnit.isMassUnit(basePackagingProductQuantityUnit) && conversions.hasMassUnit()) || (VolumeUnit.isVolumeUnit(basePackagingProductQuantityUnit) && conversions.hasVolumeUnit())) {\n                        return;\n                    }\n                }\n\n                throw new RuntimeException(\"Packaging data exists with no base product quantity unit that is represented in conversions: \" + basePackagingProductQuantityUnit + \" in \" + packagingDataToString(this.packagingData));\n            }\n        });\n\n        // Validate that all mappings map to current package_id or unit\n        const allMappingQuantities : Array<QuantityInUnit<PackagingId>> = Array.from(mappings.getPackagingIdMappings().values()).concat(Array.from(mappings.getUnitOfMeasureMappings().values()));\n        allMappingQuantities.forEach((quantityInUnit) => {\n            const resolvedProductQuantityUnit = quantityInUnit.getUnit();\n\n            if (resolvedProductQuantityUnit instanceof PackagingId) {\n                if (availablePackagingByPackagingId.has(resolvedProductQuantityUnit)) {\n                    return;\n                }\n\n                throw new RuntimeException(\"mapping exists that does not resolve to non-deleted package_id\" + resolvedProductQuantityUnit.getValue());\n            } else if ((MassUnit.isMassUnit(resolvedProductQuantityUnit) && (availableMassUnits.size === 0)) || (VolumeUnit.isVolumeUnit(resolvedProductQuantityUnit) && (availableVolumeUnits.size === 0))) {\n                throw new RuntimeException(\"mapping exists to unit that is not available in packages:\" + resolvedProductQuantityUnit);\n            }\n\n        });\n\n        if  (this.mappings.hasMassUnit() && (availableMassUnits.size > 0)) {\n            throw new RuntimeException(\"mapping exists for MassUnit, but packaging also includes MassUnit\");\n        }\n\n        if  (this.mappings.hasVolumeUnit() && (availableVolumeUnits.size > 0)) {\n            throw new RuntimeException(\"mapping exists for VolumeUnit, but packaging also includes VolumeUnit\");\n        }\n\n        // Validate that non-deleted packaging have no mapping entries\n        this.packagingData.forEach((data) => {\n            if (!data.deleted) {\n                let currentPackaging : Packaging | null = data.packaging;\n\n                while (currentPackaging) {\n                    const currentPackagingId = currentPackaging.getPackagingId();\n\n                    if (currentPackagingId) {\n                        if (mappings.getPackagingIdMappings().has(currentPackagingId)) {\n                            throw new RuntimeException(\"mapping should not exist for non-deleted packagingId\");\n                        }\n                    }\n\n                    currentPackaging = currentPackaging.getContent();\n                }\n            }\n        });\n\n        this.nonDeletedPackagingData = nonDeletedPackagingData;\n        this.availablePackagingByPackagingId = availablePackagingByPackagingId;\n        this.availableVolumeUnits = availableVolumeUnits;\n        this.availableMassUnits = availableMassUnits;\n    }\n\n    public getPackagingData() {\n        return this.packagingData;\n    }\n\n    public getNonDeletedPackagingData() {\n        return this.nonDeletedPackagingData;\n    }\n\n    public getAvailableMassUnits() : Set<MassUnit> {\n        return this.availableMassUnits;\n    }\n\n    public getAvailableVolumeUnits() : Set<VolumeUnit> {\n        return this.availableVolumeUnits;\n    }\n\n    public getAvailablePackagingByPackagingId() : StringValueMap<PackagingId, Packaging> {\n        return this.availablePackagingByPackagingId;\n    }\n\n    // PTODO Deprecated. Should be deleted after multi-packaging updates\n    public getPackaging() : Packaging {\n        return this.packagingData[0].packaging;\n    }\n\n    public getMappings() : Mappings {\n        return this.mappings;\n    }\n\n    public getConversions() : Conversions {\n        return this.conversions;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof PackagingsAndMappings)) {\n            return false;\n        }\n\n        if (!this.conversions.equals(other.getConversions()) || !this.mappings.equals(other.getMappings())) {\n            return false;\n        }\n\n        if (this.packagingData.length !== other.getPackagingData().length) {\n            return false;\n        }\n\n        let packagingDataIsEqual = true;\n        this.packagingData.forEach((data, index) => {\n            const otherData = other.getPackagingData()[index];\n            packagingDataIsEqual = packagingDataIsEqual && data.packaging.equals(otherData.packaging) && (data.deleted === otherData.deleted) && (data.isActive === otherData.isActive);\n        });\n\n        return packagingDataIsEqual;\n    }\n\n}\n","import { Unit } from 'api/Product/model/Unit';\n\nexport class Price {\n    constructor(\n        private readonly dollarValue : number,\n        private readonly unit : Unit,\n    ) {}\n\n    public getDollarValue() {\n        return this.dollarValue;\n    }\n\n    public getUnit() {\n        return this.unit;\n    }\n\n    public equals(other: unknown) {\n        if (!(other instanceof Price)) {\n            return false;\n        }\n\n        return (\n            this.dollarValue === other.getDollarValue() &&\n            this.unit === other.getUnit()\n        );\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\n\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { OldPackaging } from 'api/Product/model/OldPackaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingUnit } from 'api/Product/model/PackagingUnit';\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { PackagingWeight } from 'api/Product/model/PackagingWeight';\nimport { Price } from 'api/Product/model/Price';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { ProductQuantityUnit} from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class Product {\n    constructor(\n        private readonly brand : string,\n        private readonly name : string,\n        private readonly packagingsAndMappings : PackagingsAndMappings,\n        private readonly preferredReportingUnit : ProductQuantityUnit,\n        private readonly weightsByPackagingId : StringValueMap<PackagingId, PackagingWeight>,\n        private readonly productCategoryId : string,\n        private readonly categoryId : CategoryId | null,\n        private readonly productType : string,\n        private readonly unitPrice : Price,\n        private readonly depositInDollars : number,\n        private readonly sku : string,\n        private readonly glCode : string,\n        private readonly note : string,\n        private readonly creationEvent : UserAccountIdAndTimestamp,\n        private readonly lastUpdateEvent : UserAccountIdAndTimestamp,\n        private readonly confirmationEvent : UserAccountIdAndTimestamp | undefined,\n    ) {\n        if (name.length === 0) {\n            throw new RuntimeException('name must not be an empty string');\n        }\n    }\n\n    public getBrand() : string {\n        return this.brand;\n    }\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getPackagingsAndMappings() : PackagingsAndMappings {\n        return this.packagingsAndMappings;\n    }\n\n    public getPreferredReportingUnit() : ProductQuantityUnit {\n        return this.preferredReportingUnit;\n    }\n\n    public getOldPackaging() : OldPackaging {\n        return oldPackagingUtils.getOldPackagingFromPackaging(this.packagingsAndMappings.getPackaging());\n    }\n\n    public getWeightsByPackagingId() {\n        return this.weightsByPackagingId;\n    }\n\n    public getProductCategoryId() : string {\n        return this.productCategoryId;\n    }\n\n    public getNewProductCategoryId() : CategoryId | null {\n        return this.categoryId;\n    }\n\n    public getProductType() : string {\n        return this.productType;\n    }\n\n    public getPriceInUnit(unit : PackagingUnit | MassUnit) : number {\n        if (unit === PackagingUnit.CASE) {\n            // Lesman 2/8/2018 this is a bit of a hack to allow getting 'case' price of things that do not come in case\n            if (this.getOldPackaging().getUnit() !== PackagingUnit.CASE) {\n                unit = PackagingUnit.CONTAINER;\n            }\n        }\n        const quantityOfPricingUnitInOutputUnit = oldPackagingUtils.getQuantityOfPackageInUnit(\n            this.getOldPackaging(),\n            new QuantityInUnit(1, unit),\n            this.getUnitPrice().getUnit()\n        );\n\n        return quantityOfPricingUnitInOutputUnit.getQuantity() * this.getUnitPrice().getDollarValue();\n    }\n\n    // Lesman 2/8/2018 kill after \"price unit\" is reflected in InfoPopover and AddItemModal\n    public getLegacyCasePriceInDollars() : number {\n        return this.getPriceInUnit(PackagingUnit.CASE);\n    }\n\n    public getUnitPrice() : Price {\n        return this.unitPrice;\n    }\n\n    public getDepositInDollars() : number {\n        return this.depositInDollars;\n    }\n\n    public getSku() : string {\n        return this.sku;\n    }\n\n    public getGLCode() : string {\n        return this.glCode;\n    }\n\n    public getNote() : string {\n        return this.note;\n    }\n\n    public getLastUpdateEvent() : UserAccountIdAndTimestamp {\n        return this.lastUpdateEvent;\n    }\n\n    public getCreationEvent() : UserAccountIdAndTimestamp {\n        return this.creationEvent;\n    }\n\n    public getConfirmationEvent() : UserAccountIdAndTimestamp | undefined {\n        return this.confirmationEvent;\n    }\n\n    public getNeedsConfirmationOnCreation() : boolean {\n        return this.creationEvent.getContext() === 'order' && this.confirmationEvent === undefined;\n    }\n\n    public getNeedsConfirmationOnUpdate() : boolean {\n        return this.lastUpdateEvent.getContext() === 'order' && this.confirmationEvent === undefined;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof Product)) {\n            return false;\n        }\n\n        if ((this.brand === other.getBrand()) &&\n            (this.name === other.getName()) &&\n            this.packagingsAndMappings.equals(other.getPackagingsAndMappings()) &&\n            PackagingUtils.productQuantityUnitsAreEqual(this.preferredReportingUnit, other.getPreferredReportingUnit()) &&\n            (this.productCategoryId === other.getProductCategoryId()) &&\n            (this.productType === other.getProductType()) &&\n            this.unitPrice.equals(other.getUnitPrice()) &&\n            (this.depositInDollars === other.getDepositInDollars()) &&\n            (this.sku === other.getSku()) &&\n            (this.glCode === other.getGLCode()) &&\n            (this.note === other.getNote()) &&\n            (this.lastUpdateEvent === other.getLastUpdateEvent()) &&\n            (this.creationEvent === other.getCreationEvent()) &&\n            (this.confirmationEvent === other.getConfirmationEvent())\n        ) {\n            if (this.weightsByPackagingId.size !== other.getWeightsByPackagingId().size) {\n                return false;\n            }\n    \n            let weightsByPackageIdIsEqual = true;\n            this.weightsByPackagingId.forEach((packagingWeight, packagingId) => {\n                weightsByPackageIdIsEqual = weightsByPackageIdIsEqual && (packagingWeight.equals(other.getWeightsByPackagingId().get(packagingId)));\n            });\n\n            return weightsByPackageIdIsEqual;\n        }\n\n        return false;\n    }\n}\n","import { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\n\nexport class ProductAmount {\n\n    constructor (\n        private readonly productId : ProductId,\n        private readonly quantityInUnit : QuantityInUnit<ProductQuantityUnit>,\n    ) {}\n\n    public getProductId() : ProductId {\n        return this.productId;\n    }\n\n    public getQuantityInUnit() : QuantityInUnit<ProductQuantityUnit> {\n        return this.quantityInUnit;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof ProductAmount)) {\n            return false;\n        }\n\n        return this.productId.equals(other.getProductId()) && this.quantityInUnit.equals(other.getQuantityInUnit());\n    }\n}\n","import CoreMathModel from 'gen-thrift/core_math_Model_types';\n // TODO Use different decimal\n\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { decimalUtils } from 'shared/utils/decimalUtils';\n\nexport class ProductCost {\n    constructor(\n        private readonly cost : CoreMathModel.Decimal,\n        private readonly unit : ProductQuantityUnit,\n    ) {}\n\n    public getCost() {\n        return this.cost;\n    }\n\n    public getUnit() {\n        return this.unit;\n    }\n\n    public equals(other: unknown) {\n        if (!(other instanceof ProductCost)) {\n            return false;\n        }\n\n        return (\n            decimalUtils.isEqual(this.cost, other.getCost()) &&\n            this.unit === other.getUnit()\n        );\n    }\n}\n","import { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\n\nexport class ProductDistributorAssociation {\n    constructor(\n        private readonly productId : ProductId,\n        private readonly productQuantityUnit : ProductQuantityUnit,\n        private readonly distributorId : DistributorId,\n        private readonly sku : string | null,\n        private readonly price : ProductCost | null,\n        private readonly deposit : ProductCost | null,\n    ) {}\n\n    public getProductId() : ProductId {\n        return this.productId;\n    }\n\n    public getProductQuantityUnit() : ProductQuantityUnit {\n        return this.productQuantityUnit;\n    }\n\n    public getDistributorId() : DistributorId {\n        return this.distributorId;\n    }\n\n    public getSku() : string | null {\n        return this.sku;\n    }\n\n    public getPrice() : ProductCost | null {\n        return this.price;\n    }\n\n    public getDeposit() : ProductCost | null {\n        return this.deposit;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\n\nimport { productObjectToJSONSerializer } from 'shared/lib/manager';\nimport { PackagingUtils } from '../utils/PackagingUtils';\n\nexport class ProductDistributorAssociationIdentifier implements IStringValue {\n    public static fromProductDistributorAssociation(productDistributorAssociation : ProductDistributorAssociation) {\n        return new ProductDistributorAssociationIdentifier(\n            productDistributorAssociation.getProductId(),\n            productDistributorAssociation.getProductQuantityUnit(),\n            productDistributorAssociation.getDistributorId());\n    }\n\n    constructor(\n        private readonly productId : ProductId,\n        private readonly productQuantityUnit : ProductQuantityUnit,\n        private readonly distributorId : DistributorId | null,\n    ) {}\n\n    public getProductId() : ProductId {\n        return this.productId;\n    }\n\n    public getDistributorId() : DistributorId | null {\n        return this.distributorId;\n    }\n\n    public getProductQuantityUnit() : ProductQuantityUnit {\n        return this.productQuantityUnit;\n    }\n\n    public getValue() : string {\n        return `${ this.productId.getValue() }-${ (this.distributorId === null) ? 'null' : this.distributorId.getValue() }-${ productObjectToJSONSerializer.getProductQuantityUnit(this.productQuantityUnit) }`;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof ProductDistributorAssociationIdentifier)) {\n            return false;\n        }\n\n        const thisDistributorId = this.getDistributorId();\n\n        return this.getProductId().equals(other.getProductId()) &&\n            ((thisDistributorId === other.getDistributorId()) || ((thisDistributorId !== null) && thisDistributorId.equals(other.getDistributorId()))) &&\n            PackagingUtils.productQuantityUnitsAreEqual(this.getProductQuantityUnit(), other.getProductQuantityUnit());\n    }\n\n    public toString() : string {\n        return `{ProductDistributorAssociationIdentifier: ${this.getValue()}}`;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class ProductId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof ProductId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{ProductId: ${this.value}}`;\n    }\n}\n","import { PackagingId } from 'api/Product/model/PackagingId';\nimport { Unit } from 'api/Product/model/Unit';\n\nexport class QuantityInUnit<T extends Unit | PackagingId> {\n    constructor(\n        private readonly quantity : number,\n        public readonly unit : T\n    ) {\n    }\n\n    public getQuantity() {\n        return this.quantity;\n    }\n\n    public getUnit() : T {\n        return this.unit;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (other instanceof QuantityInUnit) {\n            if (this.unit instanceof PackagingId) {\n                return (\n                    this.quantity === other.getQuantity() &&\n                    this.unit.equals(other.getUnit())\n                );\n            } else {\n                return (\n                    this.quantity === other.getQuantity() &&\n                    this.unit === other.getUnit()\n                );\n            }\n        }\n\n        return false;\n    }\n}\n","import { Unit } from 'api/Product/model/Unit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport enum VolumeUnit {\n    LITER = 'L',\n    MILLILITER = 'ml',\n    CENTILITER = 'cl',\n    GALLON = 'gal',\n    QUART = 'qt',\n    PINT = 'pt',\n    OUNCE = 'oz',\n    BAR_SPOON = 'bsp',\n    DASH = 'dash',\n}\n\nconst unitByValue = new Map<string, VolumeUnit>();\nObject.keys(VolumeUnit).forEach((key) => {\n    // @ts-expect-error This is a bad pattern and we should not be using it any more. See BaseUnit.ts for more extensive comment\n    unitByValue.set(VolumeUnit[key as keyof typeof VolumeUnit], VolumeUnit[key as keyof typeof VolumeUnit] as VolumeUnit);\n});\n\n// This is bad modern practice! do not follow this pattern. TODO: refactor to not redeclare vars\n// eslint-disable-next-line no-redeclare\nexport namespace VolumeUnit {\n    export function isVolumeUnit(unit : Unit) : unit is VolumeUnit {\n        return (typeof unitByValue.get(unit) !== 'undefined');\n    }\n\n    export function isVolumeUnitValue(unitValue : string) : boolean {\n        return (typeof unitByValue.get(unitValue) !== 'undefined');\n    }\n\n    export function getByVolumeUnitValue(unitValue : string) : VolumeUnit {\n        const unit = unitByValue.get(unitValue);\n\n        if (typeof unit === 'undefined') {\n            throw new RuntimeException('unexpected value: ' + unitValue);\n        }\n\n        return unit;\n    }\n\n    export function getUnits() : Array<VolumeUnit> {\n        return Array.from(unitByValue.values());\n    }\n}\n","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n// find the complete implementation of crypto (msCrypto) on IE11.\nvar getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n  if (!getRandomValues) {\n    throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n  }\n\n  return getRandomValues(rnds8);\n}","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n  byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n  // Note: Be careful editing this code!  It's been tuned for performance\n  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one\n  // of the following:\n  // - One or more input array values don't map to a hex octet (leading to\n  // \"undefined\" in the uuid)\n  // - Invalid input values for the RFC `version` or `variant` fields\n\n  if (!validate(uuid)) {\n    throw TypeError('Stringified UUID is invalid');\n  }\n\n  return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n  return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n  options = options || {};\n  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n  rnds[6] = rnds[6] & 0x0f | 0x40;\n  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n  if (buf) {\n    offset = offset || 0;\n\n    for (var i = 0; i < 16; ++i) {\n      buf[offset + i] = rnds[i];\n    }\n\n    return buf;\n  }\n\n  return stringify(rnds);\n}\n\nexport default v4;","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Mappings } from 'api/Product/model/Mappings';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { PackagingUnit } from 'api/Product/model/PackagingUnit';\nimport { ProductId } from \"api/Product/model/ProductId\";\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { UnitUtils } from 'api/Product/utils/UnitUtils';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { productObjectToJSONSerializer } from 'shared/lib/manager';\nimport { Product } from 'api/Product/model/Product';\nimport { numberUtils } from 'shared/utils/numberUtils';\nimport { StringUtils } from 'shared/utils/stringUtils';\nimport { NormalizedPackaging } from 'api/Ordering/model/NormalizedPackaging';\nimport { v4 as uuidv4 } from 'uuid';\nimport { oldPackagingUtils } from './oldPackagingUtils';\n\nexport const UNIT_DROPDOWN_LABEL = 'By Unit';\nexport const VOLUME_DROPDOWN_LABEL = 'By Volume';\nexport const WEIGHT_DROPDOWN_LABEL = 'By Weight';\n\nconst productQuantityUnitsAreEqual = (pqu1: ProductQuantityUnit, pqu2: ProductQuantityUnit): boolean => {\n    if (pqu1 instanceof PackagingId && pqu2 instanceof PackagingId) {\n        return pqu1.equals(pqu2);\n    } else {\n        return pqu1 === pqu2; // TODO alb verify this works?\n    }\n};\n\nconst getPackagingForContainedPackagingId = (packaging : Packaging, packagingId : PackagingId, productId? : ProductId) : Packaging => {\n    let currentPackaging : Packaging | null = packaging;\n    while (currentPackaging) {\n        const currentPackagingId = currentPackaging.getPackagingId();\n        if (currentPackagingId && packagingId.equals(currentPackagingId)) {\n            return currentPackaging;\n        }\n\n        currentPackaging = currentPackaging.getContent();\n    }\n\n    throw new RuntimeException(`${ productId }: ${ packagingId } not contained within packaging ${ packaging.toString() }`);\n};\n\nconst getBaseUnitOfPackaging = (packaging : Packaging) : ProductQuantityUnit => {\n    let baseUnit : ProductQuantityUnit | null = null;\n    let currentPackaging : Packaging | null = packaging;\n    while (currentPackaging) {\n        baseUnit = currentPackaging.getPackagingId() || currentPackaging.getUnit();\n        currentPackaging = currentPackaging.getContent();\n    }\n    if (baseUnit === null) {\n        throw new RuntimeException('unexpected baseUnit is null');\n    }\n\n    return baseUnit;\n};\n\nconst isProductQuantityUnitCompatibleWithPackagings = (packagingsAndMappings : PackagingsAndMappings, productQuantityUnit : ProductQuantityUnit) : boolean => {\n    if (productQuantityUnit instanceof PackagingId) {\n        return packagingsAndMappings.getAvailablePackagingByPackagingId().has(productQuantityUnit);\n    }\n\n    if (MassUnit.isMassUnit(productQuantityUnit)) {\n        return (packagingsAndMappings.getAvailableMassUnits().size > 0);\n    } else if (VolumeUnit.isVolumeUnit(productQuantityUnit)) {\n        return (packagingsAndMappings.getAvailableVolumeUnits().size > 0);\n    }\n\n    return false;\n};\n\nconst getQuantityInBaseUnit = (\n    packagingsAndMappings : PackagingsAndMappings,\n    quantityInUnit : QuantityInUnit<ProductQuantityUnit>,\n    productId? : ProductId\n) : QuantityInUnit<ProductQuantityUnit> => {\n    const resolvedQuantityInUnit = resolveProductQuantityUnit(quantityInUnit, packagingsAndMappings.getMappings());\n\n    const packagingByPackagingId = packagingsAndMappings.getAvailablePackagingByPackagingId();\n\n    let currentQuantity = resolvedQuantityInUnit.getQuantity();\n    let currentProductQuantityUnit = resolvedQuantityInUnit.getUnit();\n\n    while ((currentProductQuantityUnit instanceof PackagingId) && packagingByPackagingId.has(currentProductQuantityUnit) && packagingByPackagingId.getRequired(currentProductQuantityUnit).getContent()) {\n        const packaging = packagingByPackagingId.getRequired(currentProductQuantityUnit);\n        const content = packaging.getContent();\n\n        if (content === null) {\n            throw new RuntimeException(\"unexpected no packaging content found for productId: \" + productId + \" packaging: \" + currentProductQuantityUnit);\n        }\n\n        const contentProductQuantityUnit = content.getUnit() || content.getPackagingId();\n        if (contentProductQuantityUnit === null) {\n            throw new RuntimeException('\"contentProductQuantityUnit\" is unexpectedly null');\n        }\n\n        const quantityOfContent = packaging.getQuantityOfContent();\n        if (quantityOfContent === null) {\n            throw new RuntimeException('\"quantityOfContent\" is unexpectedly null');\n        }\n\n        currentQuantity = currentQuantity * quantityOfContent;\n        currentProductQuantityUnit = contentProductQuantityUnit;\n    }\n\n    const conversions = packagingsAndMappings.getConversions();\n    const baseUnit = conversions.getBaseUnit();\n\n    if (productQuantityUnitsAreEqual(currentProductQuantityUnit, baseUnit)) {\n        return new QuantityInUnit(currentQuantity, baseUnit);\n    }\n\n    if (currentProductQuantityUnit instanceof PackagingId) {\n        const packagingIdConversions = conversions.getPackagingIdConversions();\n\n        if (packagingIdConversions.has(currentProductQuantityUnit)) {\n            const conversionQuantity = packagingIdConversions.getRequired(currentProductQuantityUnit);\n\n            return new QuantityInUnit(currentQuantity * conversionQuantity, baseUnit);\n        }\n    } else {\n        if (!(baseUnit instanceof PackagingId)) {\n            if ((MassUnit.isMassUnit(baseUnit) && MassUnit.isMassUnit(currentProductQuantityUnit)) || (VolumeUnit.isVolumeUnit(baseUnit) && VolumeUnit.isVolumeUnit(currentProductQuantityUnit))) {\n                const convertedUnitQuantity = UnitUtils.convertUnitQuantity(new QuantityInUnit(1, currentProductQuantityUnit), baseUnit).getQuantity();\n\n                return new QuantityInUnit(currentQuantity * convertedUnitQuantity, baseUnit);\n            }\n        }\n\n        const unitOfMeasureConversions = conversions.getUnitOfMeasureConversions();\n\n        const currentUnit = currentProductQuantityUnit;\n        unitOfMeasureConversions.forEach((conversionQuantity, unitOfMeasure) => {\n            if ((MassUnit.isMassUnit(unitOfMeasure) && MassUnit.isMassUnit(currentUnit)) || (VolumeUnit.isVolumeUnit(unitOfMeasure) && VolumeUnit.isVolumeUnit(currentUnit))) {\n                const convertedUnitQuantity = UnitUtils.convertUnitQuantity(new QuantityInUnit(1, currentUnit), unitOfMeasure).getQuantity();\n\n                currentQuantity = currentQuantity * convertedUnitQuantity * conversionQuantity;\n                currentProductQuantityUnit = baseUnit;\n            }\n        });\n\n        if (productQuantityUnitsAreEqual(currentProductQuantityUnit, baseUnit)) {\n            return new QuantityInUnit(currentQuantity, baseUnit);\n        }\n    }\n    throw new RuntimeException(`Could not convert productId: ${ productId }, productQuantityUnit: ${ quantityInUnit.getUnit() } to preferreBaseUnit with packagingsAndMappings: ${ JSON.stringify(packagingsAndMappings) }`);\n};\n\n// Exported\n\nconst resolveProductQuantityUnit = (\n    quantityInUnit : QuantityInUnit<ProductQuantityUnit>,\n    mappings : Mappings,\n) : QuantityInUnit<ProductQuantityUnit> => {\n    const productQuantityUnit = quantityInUnit.getUnit();\n\n    if (productQuantityUnit instanceof PackagingId) {\n        const packagingIdMappings = mappings.getPackagingIdMappings();\n\n        if (packagingIdMappings.has(productQuantityUnit)) {\n            const mappedProductQuantity = packagingIdMappings.get(productQuantityUnit);\n            if (typeof mappedProductQuantity === 'undefined') {\n                throw new RuntimeException('unexpected mappedProductQuantity is undefined');\n            }\n\n            return new QuantityInUnit(\n                quantityInUnit.getQuantity() * mappedProductQuantity.getQuantity(),\n                mappedProductQuantity.getUnit()\n            );\n        }\n    } else {\n        const unitOfMeasureMappings = mappings.getUnitOfMeasureMappings();\n        let resolvedProductQuantityUnit : QuantityInUnit<PackagingId> | null = null;\n        unitOfMeasureMappings.forEach((mappedProductQuantity, unitOfMeasure) => {\n            if ((MassUnit.isMassUnit(unitOfMeasure) && MassUnit.isMassUnit(productQuantityUnit)) || (VolumeUnit.isVolumeUnit(unitOfMeasure) && VolumeUnit.isVolumeUnit(productQuantityUnit))) {\n                if (resolvedProductQuantityUnit) {\n                    throw new RuntimeException('Unexpectedly encountered duplicate mappings from the same unit type');\n                }\n\n                const convertedQuantityInUnit = UnitUtils.convertUnitQuantity(quantityInUnit as QuantityInUnit<MassUnit | VolumeUnit>, unitOfMeasure);\n                resolvedProductQuantityUnit =  new QuantityInUnit(\n                    convertedQuantityInUnit.getQuantity() * mappedProductQuantity.getQuantity(),\n                    mappedProductQuantity.getUnit()\n                );\n            }\n        });\n\n        if (resolvedProductQuantityUnit) {\n            return resolvedProductQuantityUnit;\n        }\n    }\n\n    return quantityInUnit;\n};\n\nconst productQuantityUnitIsValid = (\n    unit : ProductQuantityUnit | null,\n    packagingsAndMappings : PackagingsAndMappings,\n    productId : ProductId,\n) : boolean => {\n    if (unit === null) {\n        return false;\n    }\n    try {\n        getQuantityInBaseUnit(packagingsAndMappings, new QuantityInUnit(1, unit), productId);\n        return true;\n    } catch (Exception) {\n        return false;\n    }\n}\n\nconst convertProductQuantityToUnit = <T extends ProductQuantityUnit>(\n    packagingsAndMappings : PackagingsAndMappings,\n    quantityInUnit : QuantityInUnit<ProductQuantityUnit>,\n    unit : T,\n    productId? : ProductId      // needed for quickly identifying packaging issues - please add if you're in the context\n) : QuantityInUnit<T> => {\n    const inputQuantityInBaseUnitOfPackaging = getQuantityInBaseUnit(packagingsAndMappings, quantityInUnit, productId);\n    const quantityOfOutputUnitInBaseUnitOfPackaging = getQuantityInBaseUnit(packagingsAndMappings, new QuantityInUnit(1, unit), productId);\n\n    return new QuantityInUnit(\n        inputQuantityInBaseUnitOfPackaging.getQuantity() / quantityOfOutputUnitInBaseUnitOfPackaging.getQuantity(),\n        unit\n    );\n};\n\nconst getContainerPackagingId = (packaging : Packaging) : PackagingId => {\n    let basePackagingId : PackagingId | null = null;\n    let currentPackaging : Packaging | null = packaging;\n\n    while (currentPackaging) {\n        const packagingId = currentPackaging.getPackagingId();\n        const content = currentPackaging.getContent(); // PTODO handles BaseUnits\n        if (packagingId && content) {\n            basePackagingId = packagingId;\n        }\n\n        currentPackaging = currentPackaging.getContent();\n    }\n\n    if (basePackagingId === null) {\n        throw new RuntimeException('unexpected basePackagingId is null');\n    }\n\n    return basePackagingId;\n};\n\n// Returns the packaging name(eg. 'case'), without any of the content or quantity information.\n// If you want quantity/content included, use getDisplayTextForProductQuantityInUnit or getPackagingDisplayTextForProductQuantityUnit\n//\n// Caveat: this resolves the unit through Mappings first, so a MassUnit/VolumeUnit that has a\n// UOM mapping to a packaging will come back as the packaging name rather than the unit name\n// (e.g. POUND on a keg-only product with a mass→keg mapping returns 'keg', not 'lbs'). If you\n// need the literal mass/volume unit label regardless of mappings, use getDisplayTextForVolumeOrMassUnit.\nconst getDisplayTextForProductQuantityUnit = (\n    packagingsAndMappings : PackagingsAndMappings,\n    productQuantityUnit : ProductQuantityUnit,\n    isPlural : boolean\n) : string => {\n    const resolvedQuantityInUnit = resolveProductQuantityUnit(new QuantityInUnit(1, productQuantityUnit), packagingsAndMappings.getMappings());\n    const resolvedProductQuantityUnit = resolvedQuantityInUnit.getUnit();\n    const resolvedQuantityInUnitMultiplier = resolvedQuantityInUnit.getQuantity();\n\n    let displayText : string;\n    if (resolvedProductQuantityUnit instanceof PackagingId) {\n        const packaging = packagingsAndMappings.getAvailablePackagingByPackagingId().getRequired(resolvedProductQuantityUnit);\n        const packagingName = packaging.getName();\n\n        if (packagingName === null) { // PTODO\n            throw new RuntimeException('unexpected packaging name is null');\n        }\n        displayText = packagingName;\n    } else {\n        displayText =  getDisplayTextForVolumeOrMassUnit(resolvedProductQuantityUnit);\n    }\n\n    if ((isPlural || (numberUtils.isPlural(resolvedQuantityInUnitMultiplier))) && (resolvedProductQuantityUnit instanceof PackagingId)) {\n        if (displayText.endsWith('x') || displayText.endsWith('h')) { // PTODO\n            displayText += 'e';\n        }\n        displayText +=  's';\n    }\n\n    return displayText;\n};\n\n// This methods resolves (changes) the input unit. Usages of this method without explicitly resolving unit in the caller might be incorrect.\nconst getPackagingDisplayTextForProductQuantityUnit = (\n    packagingsAndMappings : PackagingsAndMappings,\n    productQuantityUnit : ProductQuantityUnit,\n    isPlural : boolean\n) : string => {\n    let displayTextPrefix : string;\n    let displayTextSuffix : string = '';\n    // It's arguable whether we should resolve unit here... unit is usually associated with numeric quantity which should be updated when the unit is changed.\n    const resolvedQuantityInUnit = resolveProductQuantityUnit(new QuantityInUnit(1, productQuantityUnit), packagingsAndMappings.getMappings());\n    const resolvedProductQuantityUnit = resolvedQuantityInUnit.getUnit();\n    if (resolvedProductQuantityUnit instanceof PackagingId) {\n        const packaging = packagingsAndMappings.getAvailablePackagingByPackagingId().getRequired(resolvedProductQuantityUnit);\n        const packagingName = packaging.getName();\n\n        if (packagingName === null) { // PTODO\n            throw new RuntimeException('unexpected packaging name is null');\n        }\n        const packagingContent = packaging.getContent();\n        displayTextPrefix = packagingName;\n        displayTextSuffix = packagingContent ? ` (${ getDisplayTextForPackaging(packaging, (packagingContent.getContent() !== null)) })` : '';\n    } else {\n        displayTextPrefix = getDisplayTextForVolumeOrMassUnit(resolvedProductQuantityUnit);\n    }\n\n    if ((isPlural || numberUtils.isPlural(resolvedQuantityInUnit.getQuantity())) && resolvedProductQuantityUnit instanceof PackagingId) {\n        if (displayTextPrefix.endsWith('x') || displayTextPrefix.endsWith('h')) { // PTODO\n            displayTextPrefix += 'e';\n        }\n        displayTextPrefix +=  's';\n    }\n\n    return displayTextPrefix + displayTextSuffix;\n};\n\nconst getDisplayTextForProductQuantityInUnit = (\n    packagingsAndMappings : PackagingsAndMappings,\n    productQuantityInUnit : QuantityInUnit<ProductQuantityUnit>\n) : string => {\n    const resolvedQuantityInUnit = resolveProductQuantityUnit(productQuantityInUnit, packagingsAndMappings.getMappings());\n    const resolvedProductQuantityUnit = resolvedQuantityInUnit.getUnit();\n    const resolvedQuantityInUnitMultiplier = resolvedQuantityInUnit.getQuantity();\n    const productQuantityUnitDisplayText = getPackagingDisplayTextForProductQuantityUnit(packagingsAndMappings, resolvedQuantityInUnit.getUnit(),  numberUtils.isPlural(resolvedQuantityInUnitMultiplier));\n\n    if (resolvedProductQuantityUnit instanceof PackagingId) {\n        return numberUtils.FormatToMaximumTwoDecimalPlaces(resolvedQuantityInUnitMultiplier) + ' ' + productQuantityUnitDisplayText;\n    } else {\n        return numberUtils.FormatToMaximumTwoDecimalPlaces(resolvedQuantityInUnitMultiplier) + productQuantityUnitDisplayText;\n    }\n};\n\nconst STRICT_NAME_MATCH_PACKAGING_NAMES = ['bottle', 'can'];\n\n// duplicates _package_matches_normalized_package\nconst packagingMatchesNormalizedPackaging = (\n    packaging : Packaging | null,\n    normalizedPackaging : NormalizedPackaging | null,\n) : boolean => {\n    if (packaging === null || normalizedPackaging === null) {\n        return false;\n    }\n\n    // bottles and cans can't match each other; otherwise the packaging name doesn't matter\n    const packagingName = packaging.getName();\n    const normalizedPackagingName = normalizedPackaging.getName();\n    const isNameMismatch =\n        (packagingName !== null) && STRICT_NAME_MATCH_PACKAGING_NAMES.includes(packagingName) &&\n        (normalizedPackagingName !== null) && STRICT_NAME_MATCH_PACKAGING_NAMES.includes(normalizedPackagingName) &&\n        (packagingName !== normalizedPackagingName);\n\n    if (isNameMismatch ||\n        (packaging.getQuantityOfContent() !== normalizedPackaging.getQuantityOfContent()) ||\n        (packaging.getUnit() !== normalizedPackaging.getUnit())\n    ) {\n        return false;\n    }\n\n    const packagingContent = packaging.getContent();\n    const normalizedPackagingContent = normalizedPackaging.getContent();\n    if (packagingContent === null && normalizedPackagingContent === null) {\n        return true;\n    }\n\n    return packagingMatchesNormalizedPackaging(packagingContent, normalizedPackagingContent);\n};\n\n// duplicates get_product_quantity_unit_from_legacy_unit_value\nconst getPackagingByNameInPackaging = (packaging : Packaging, name : string) : Packaging | null => {\n    const cleanedName = StringUtils.cleanToken(name);\n    let currentPackaging : Packaging | null = packaging;\n    while (currentPackaging) {\n        const packagingName = currentPackaging.getName();\n        const packagingUnit = currentPackaging.getUnit();\n        if ((packagingName && StringUtils.cleanToken(packagingName) === cleanedName)\n            || (packagingUnit && StringUtils.cleanToken(packagingUnit) === cleanedName)) {\n            return currentPackaging;\n        }\n\n        currentPackaging = currentPackaging.getContent();\n    }\n\n    return null;\n};\n\nconst arePackagingsEqualWithName = (packaging0 : Packaging, packaging1 : Packaging) : boolean => {\n    const areEqual = packaging0.getUnit() === packaging1.getUnit()\n        && packaging0.getName() === packaging1.getName()    // PTODO\n        && packaging0.getQuantityOfContent() === packaging1.getQuantityOfContent();\n\n    const content0 = packaging0.getContent();\n    const content1 = packaging1.getContent();\n    if (content0 && content1) {\n        return areEqual && arePackagingsEqualWithName(content0, content1);\n    }\n    return areEqual && (content0 === null && content1 === null);\n};\n\nconst getDropdownOptionForUnit = (unit : ProductQuantityUnit, packagingsAndMappings : PackagingsAndMappings) : IOption => {\n    return {\n        icon: null,\n        label: getDisplayTextForProductQuantityUnit(packagingsAndMappings, unit, false),\n        value: productObjectToJSONSerializer.getProductQuantityUnit(unit),\n    };\n};\n\n// TODO Cheezy cleanup\nconst getAvailableUnitOptionsAndLabelNames = (packagingsAndMappings : PackagingsAndMappings, includeUnitOfMeasureConversions : boolean, productQuantityUnitsToInclude? : StringValueSet<ProductQuantityUnit>) : OptionsAndLabelNameTuples => {\n    const optionsAndLabelNameTuples : OptionsAndLabelNameTuples = [];\n\n    const packagingIdDropdownOptions : Array<IOption> = [];\n    const addedPackagingIds = new StringValueSet<PackagingId>();\n\n    packagingsAndMappings.getPackagingData().forEach((packagingData) => {\n        if (!packagingData.deleted) {\n            let currentPackaging : Packaging | null = packagingData.packaging;\n            while (currentPackaging) {\n                const currentPackagingId = currentPackaging.getPackagingId();\n                const currentPackagingContent : Packaging | null = currentPackaging.getContent();\n\n                if (currentPackagingId && !addedPackagingIds.has(currentPackagingId) && ((typeof productQuantityUnitsToInclude === 'undefined') || productQuantityUnitsToInclude.has(currentPackagingId))) {\n                    const descriptorString = currentPackagingContent ? ` (${ getDisplayTextForPackaging(currentPackaging, (currentPackagingContent.getContent() !== null)) })` : '';\n\n                    packagingIdDropdownOptions.push({\n                        icon: null,\n                        label: getDisplayTextForProductQuantityUnit(packagingsAndMappings, currentPackagingId, false) + descriptorString,\n                        value: currentPackagingId.getValue(),\n                    });\n                    addedPackagingIds.add(currentPackagingId);\n                }\n\n                currentPackaging = currentPackagingContent;\n            }\n        }\n    });\n\n    optionsAndLabelNameTuples.push([UNIT_DROPDOWN_LABEL, packagingIdDropdownOptions]);\n\n    if (packagingsAndMappings.getAvailableVolumeUnits().size > 0) {\n        const volumeUnitDropdownOptions : Array<IOption> = [];\n        VolumeUnit.getUnits().forEach((volumeUnit) => {\n            if ((includeUnitOfMeasureConversions || packagingsAndMappings.getAvailableVolumeUnits().has(volumeUnit)) && ((typeof productQuantityUnitsToInclude === 'undefined') || productQuantityUnitsToInclude.has(volumeUnit))) {\n                volumeUnitDropdownOptions.push(getDropdownOptionForUnit(volumeUnit, packagingsAndMappings));\n            }\n        });\n\n        optionsAndLabelNameTuples.push([VOLUME_DROPDOWN_LABEL, volumeUnitDropdownOptions]);\n    }\n\n    if (packagingsAndMappings.getAvailableMassUnits().size > 0) {\n        const massUnitDropdownOptions : Array<IOption> = [];\n        MassUnit.getUnits().forEach((massUnit) => {\n            if ((includeUnitOfMeasureConversions || packagingsAndMappings.getAvailableMassUnits().has(massUnit)) && ((typeof productQuantityUnitsToInclude === 'undefined') || productQuantityUnitsToInclude.has(massUnit))) {\n                massUnitDropdownOptions.push(getDropdownOptionForUnit(massUnit, packagingsAndMappings));\n            }\n        });\n\n        optionsAndLabelNameTuples.push([WEIGHT_DROPDOWN_LABEL, massUnitDropdownOptions]);\n    }\n\n    return optionsAndLabelNameTuples;\n};\n\nconst getAvailablePackagingOptionsAndLabelNamesForProducts = (productsById : StringValueMap<ProductId, Product>, includeUnitOfMeasureConversions : boolean) => {\n    const packagingOptions : { [packagingName : string] : StringValueMap<ProductId, ProductQuantityUnit> } = {};\n    const optionsAndLabelNameTuples : OptionsAndLabelNameTuples = [];\n\n    const packagingNames : Set<string> = new Set();\n    const massUnitNames : Set<string> = new Set();\n    const volumeUnitNames : Set<string> = new Set();\n    productsById.forEach((product, productId) => {\n        const optionsAndLabelNames = getAvailableUnitOptionsAndLabelNames(product.getPackagingsAndMappings(), includeUnitOfMeasureConversions);\n        optionsAndLabelNames.forEach((value) => {\n            value[1].forEach((iOption) => {\n                if (!packagingOptions[iOption.label]) {\n                    packagingOptions[iOption.label] = new StringValueMap<ProductId, ProductQuantityUnit>();\n                }\n                switch (value[0]) {\n                    case UNIT_DROPDOWN_LABEL:\n                        packagingOptions[iOption.label].set(productId, new PackagingId(iOption.value));\n                        packagingNames.add(iOption.label);\n                        break;\n                    case VOLUME_DROPDOWN_LABEL:\n                        packagingOptions[iOption.label].set(productId, VolumeUnit.getByVolumeUnitValue(iOption.value));\n                        volumeUnitNames.add(iOption.label);\n                        break;\n                    case WEIGHT_DROPDOWN_LABEL:\n                        packagingOptions[iOption.label].set(productId, MassUnit.getByMassUnitValue(iOption.value));\n                        massUnitNames.add(iOption.label);\n                        break;\n                    case null:\n                        break;\n                }\n            });\n        });\n    });\n    const packagingIdDropdownOptions : Array<IOption> = [];\n    const volumeUnitDropdownOptions : Array<IOption> = [];\n    const massUnitDropdownOptions : Array<IOption> = [];\n    Array.from(packagingNames).sort().forEach((packagingName) => {\n        packagingIdDropdownOptions.push({\n            icon: null,\n            label: packagingName,\n            value: packagingName,\n        });\n    });\n    Array.from(massUnitNames).sort().forEach((massUnitName) => {\n        volumeUnitDropdownOptions.push({\n            icon: null,\n            label: massUnitName,\n            value: massUnitName,\n        });\n    });\n    Array.from(volumeUnitNames).sort().forEach((volumeUnitName) => {\n        massUnitDropdownOptions.push({\n            icon: null,\n            label: volumeUnitName,\n            value: volumeUnitName,\n        });\n    });\n\n    optionsAndLabelNameTuples.push([UNIT_DROPDOWN_LABEL, packagingIdDropdownOptions]);\n    optionsAndLabelNameTuples.push([VOLUME_DROPDOWN_LABEL, volumeUnitDropdownOptions]);\n    optionsAndLabelNameTuples.push([WEIGHT_DROPDOWN_LABEL, massUnitDropdownOptions]);\n\n    return {\n        packagingOptions,\n        optionsAndLabelNameTuples,\n    };\n};\n\nexport const getPackagingWithNewPackagingId = (\n    packaging : Packaging,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n    generatePackagingIdFunc : (packaging?: Packaging) => PackagingId\n) : Packaging => {\n    const unit = packaging.getUnit();\n\n    if (unit) {\n        return new Packaging(null, null, null, null, unit);\n    } else {\n        const oldPackagingId = packaging.getPackagingId();\n        if (oldPackagingId === null) {\n            throw new RuntimeException('unexpected oldPackagingId is null');\n        }\n\n        const packagingId = oldPackagingIdToNewPackagingId.has(oldPackagingId) ? oldPackagingIdToNewPackagingId.getRequired(oldPackagingId) : generatePackagingIdFunc(packaging);\n        const content = packaging.getContent();\n\n        const newPackaging = new Packaging(\n            packagingId,\n            packaging.getName(),\n            (content === null) ? null : getPackagingWithNewPackagingId(content, oldPackagingIdToNewPackagingId, generatePackagingIdFunc),\n            packaging.getQuantityOfContent(),\n            unit\n        );\n\n        oldPackagingIdToNewPackagingId.set(oldPackagingId, packagingId);\n\n        return newPackaging;\n    }\n};\n\n// PTODO\n// export const getProductQuantityUnitAndMultiplierByProductQuantityUnitValue = (\n//     productPackaging : Packaging,\n//     updatedProductPackaging : Packaging\n// ) : StringValueMap<PackagingId, QuantityInUnit<PackagingId>> => {\n//     const productQuantityUnitAndMultiplierByProductQuantityUnitValue = new StringValueMap<PackagingId, QuantityInUnit<PackagingId>>();\n\n//     const casePackagingId = getPackagingIdForLayer(productPackaging, 1);\n//     const containerPackagingId = getPackagingIdForLayer(productPackaging, 0);\n//     let eachPackagingId : PackagingId | null = null;\n//     const basePackaging = getPackagingToListFromSmallest(productPackaging)[0];\n//     if ((basePackaging.getPackagingId() !== null) && (basePackaging.getContent() === null)) {\n//         eachPackagingId = basePackaging.getPackagingId();\n//     }\n\n//     const updatedCasePackagingId = getPackagingIdForLayer(updatedProductPackaging, 1);\n//     const updatedContainerPackagingId = getPackagingIdForLayer(updatedProductPackaging, 0);\n//     let updatedEachPackagingId : PackagingId | null = null;\n//     const updatedBasePackaging = getPackagingToListFromSmallest(updatedProductPackaging)[0];\n//     if ((updatedBasePackaging.getPackagingId() !== null) && (updatedBasePackaging.getContent() === null)) {\n//         updatedEachPackagingId = updatedBasePackaging.getPackagingId();\n//     }\n\n//     // map case -> case, else container\n//     if (casePackagingId !== null) {\n//         let casePackagingIdMappedProductQuantityUnit : ProductQuantityUnit;\n//         if (updatedCasePackagingId !== null) {\n//             casePackagingIdMappedProductQuantityUnit = updatedCasePackagingId;\n//         } else {\n//             if (updatedContainerPackagingId === null) {\n//                 throw new RuntimeException('unexpected');\n//             }\n\n//             casePackagingIdMappedProductQuantityUnit = updatedContainerPackagingId;\n//         }\n\n//         productQuantityUnitAndMultiplierByProductQuantityUnitValue.set(\n//             casePackagingId,\n//             new QuantityInUnit(1, casePackagingIdMappedProductQuantityUnit)\n//         );\n//     }\n\n//     // map container -> container\n//     if ((containerPackagingId !== null) && (updatedContainerPackagingId !== null)) {\n//         productQuantityUnitAndMultiplierByProductQuantityUnitValue.set(\n//             containerPackagingId,\n//             new QuantityInUnit(1, updatedContainerPackagingId)\n//         );\n//     } else {\n//         throw new RuntimeException('unexpected');\n//     }\n\n//     // map each -> each, else container\n//     if (eachPackagingId !== null) {\n//         let eachPackagingIdMappedProductQuantityUnit : ProductQuantityUnit;\n//         if (updatedEachPackagingId !== null) {\n//             eachPackagingIdMappedProductQuantityUnit = updatedEachPackagingId;\n//         } else {\n//             if (updatedContainerPackagingId === null) {\n//                 throw new RuntimeException('unexpected');\n//             }\n\n//             eachPackagingIdMappedProductQuantityUnit = updatedContainerPackagingId;\n//         }\n\n//         productQuantityUnitAndMultiplierByProductQuantityUnitValue.set(\n//             eachPackagingId,\n//             new QuantityInUnit(1, eachPackagingIdMappedProductQuantityUnit)\n//         );\n//     }\n\n//     // # Remove mappings where key -> value match\n//     productQuantityUnitAndMultiplierByProductQuantityUnitValue.forEach((quantityInUnit, packagingId) => {\n//         if (packagingId.equals(quantityInUnit.getUnit())) {\n//             productQuantityUnitAndMultiplierByProductQuantityUnitValue.delete(packagingId);\n//         }\n//     });\n\n//     return productQuantityUnitAndMultiplierByProductQuantityUnitValue;\n// };\n\n// const getPackagingIdForLayer = (packaging : Packaging, index : number) : PackagingId | null => {\n//     const packagingIdsFromSmallest : Array<PackagingId> = [];\n\n//     let currentPackaging : Packaging | null = packaging;\n//     while (currentPackaging) {\n//         const currentPackagingId = currentPackaging.getPackagingId();\n//         const currentContent = currentPackaging.getContent();\n//         if (currentContent && currentPackagingId) {\n//             packagingIdsFromSmallest.splice(0, 0, currentPackagingId);\n//         }\n\n//         currentPackaging = currentPackaging.getContent();\n//     }\n\n//     if (index >= packagingIdsFromSmallest.length) {\n//         return null;\n//     }\n\n//     return packagingIdsFromSmallest[index];\n// };\n\n// const getPackagingToListFromSmallest = (packaging : Packaging) => {\n//     const packagingFromSmallest : Array<Packaging> = [];\n\n//     let currentPackaging : Packaging | null = packaging;\n//     while (currentPackaging) {\n//         packagingFromSmallest.splice(0, 0, currentPackaging);\n//         currentPackaging = currentPackaging.getContent();\n//     }\n\n//     return packagingFromSmallest;\n// };\n\nconst _getIndexOfTopPackageLayer = (packaging: Packaging) => {\n    let indexCounter = -1\n    let currPackage: Packaging | null = packaging;\n    while (currPackage !== null && currPackage.getPackagingId() !== null) {\n        indexCounter += 1\n        currPackage = currPackage.getContent()\n    }\n\n    return indexCounter\n}\n\nconst generatePackagingId = (packaging?: Packaging) : PackagingId => {\n    // let's match the backend for easier reading of where id goes. but I'll put F for \"frontend\",\n    const uuidVal = uuidv4();\n    if (packaging === undefined) {\n        // R for random if we don't base off of packaging struct\n        return new PackagingId(`F-R-${uuidVal}`);\n    }\n\n    const layerIndex = _getIndexOfTopPackageLayer(packaging);\n    let layerInfo: string = `L${layerIndex}`;\n    const quantity = packaging.getQuantityOfContent();\n    if (quantity) {\n        layerInfo += `-Q${Math.round(quantity)}`;\n    }\n\n    // F for frontend, L for layer, Q for quantity\n    return new PackagingId(`F-${layerInfo}-${uuidVal}`);\n};\n\nconst getBasePackaging = (packaging : Packaging) : Packaging => {\n    const content = packaging.getContent();\n    if (content === null) {\n        return packaging;\n    }\n\n    return getBasePackaging(content);\n};\n\nconst getDisplayTextForPackaging = (packaging : Packaging, showContainerType : boolean) => {\n    const oldPackaging = oldPackagingUtils.getOldPackagingFromPackaging(packaging);\n    return oldPackagingUtils.getDisplayTextForPackaging(oldPackaging, showContainerType);\n};\n\nconst getDisplayTextForVolumeOrMassUnit = (volumeOrMassUnit : VolumeUnit | MassUnit) => {\n    switch (volumeOrMassUnit) {\n        case VolumeUnit.LITER:\n            return 'L';\n        case VolumeUnit.MILLILITER:\n            return 'ml';\n        case VolumeUnit.CENTILITER:\n            return  'cl';\n        case VolumeUnit.GALLON:\n            return 'gal';\n        case VolumeUnit.QUART:\n            return  'qt';\n        case VolumeUnit.PINT:\n            return 'pt';\n        case VolumeUnit.OUNCE:\n            return 'fl. oz';\n        case VolumeUnit.BAR_SPOON:\n            return 'bsp';\n        case VolumeUnit.DASH:\n            return 'dash';\n        case MassUnit.GRAM:\n            return 'g';\n        case MassUnit.KILOGRAM:\n            return 'kg';\n        case MassUnit.POUND:\n            return 'lbs';\n        case MassUnit.DRY_OUNCE:\n            return 'oz (dry)';\n        default:\n            throw new RuntimeException('unexpected value for unit');\n    }\n};\n\nconst getBottlesInPreferredReportingUnit = (product: Product) => {\n    return PackagingUtils.convertProductQuantityToUnit(\n        product.getPackagingsAndMappings(),\n        new QuantityInUnit<ProductQuantityUnit>(\n            1,\n            PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging())\n        ),\n        product.getPreferredReportingUnit()\n    ).getQuantity();\n};\n\nconst isCase = (\n    productQuantityUnit : ProductQuantityUnit,\n    packagingsAndMappings : PackagingsAndMappings\n) => {\n    const resolvedProductQuantityUnit = PackagingUtils.resolveProductQuantityUnit(\n        new QuantityInUnit(0, productQuantityUnit),\n        packagingsAndMappings.getMappings()\n    ).getUnit();\n    if (!(resolvedProductQuantityUnit instanceof PackagingId)) {\n        return false;\n    }\n    return packagingsAndMappings.getAvailablePackagingByPackagingId().getRequired(resolvedProductQuantityUnit).getName() === PackagingUnit.CASE;\n};\n\nconst getChildProductQuantityUnit = (\n    packaging : Packaging\n) : ProductQuantityUnit | null => {\n    const content = packaging.getContent();\n    if (content === null) {\n        return null;\n    }\n    return content.getPackagingId() == null ? content.getUnit() : content.getPackagingId();\n};\n\nexport const getStringForProductQuantityUnit = (productQuantityUnit : ProductQuantityUnit) : string => {\n    if (productQuantityUnit instanceof PackagingId) {\n        return productQuantityUnit.getValue();\n    } else if (MassUnit.isMassUnit(productQuantityUnit) || VolumeUnit.isVolumeUnit(productQuantityUnit)) {\n        return productQuantityUnit;\n    }\n\n    throw new RuntimeException('Unknown productQuantityUnit ' + productQuantityUnit);\n};\n\nexport const getProductQuantityUnitForString = (productQuantityUnitValue : string) : ProductQuantityUnit => {\n    if (MassUnit.isMassUnitValue(productQuantityUnitValue)) {\n        return MassUnit.getByMassUnitValue(productQuantityUnitValue);\n    } else if (VolumeUnit.isVolumeUnitValue(productQuantityUnitValue)) {\n        return VolumeUnit.getByVolumeUnitValue(productQuantityUnitValue);\n    } else {\n        return new PackagingId(productQuantityUnitValue);\n    }\n};\n\nexport const PackagingUtils = {\n    productQuantityUnitIsValid,\n    resolveProductQuantityUnit,\n    convertProductQuantityToUnit,\n    getContainerPackagingId,\n    getDisplayTextForPackaging,\n    getDisplayTextForProductQuantityUnit,\n    getDisplayTextForVolumeOrMassUnit,\n    getPackagingDisplayTextForProductQuantityUnit,\n    getDisplayTextForProductQuantityInUnit,\n    getPackagingByNameInPackaging,\n    packagingMatchesNormalizedPackaging,\n    getAvailablePackagingOptionsAndLabelNamesForProducts,\n    arePackagingsEqualWithName,\n    isProductQuantityUnitCompatibleWithPackagings,\n    getBaseUnitOfPackaging,\n    getDropdownOptionForUnit,\n    getAvailableUnitOptionsAndLabelNames,\n    getPackagingForContainedPackagingId,\n    generatePackagingId,\n    getBasePackaging,\n    productQuantityUnitsAreEqual,\n    getPackagingWithNewPackagingId,\n    getBottlesInPreferredReportingUnit,\n    isCase,\n    getChildProductQuantityUnit,\n    getStringForProductQuantityUnit,\n    getProductQuantityUnitForString,\n    // getProductQuantityUnitAndMultiplierByProductQuantityUnitValue,\n};\n","import { MassUnit } from 'api/Product/model/MassUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { Unit } from 'api/Product/model/Unit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nconst convertMassQuantityToKg = (quantityInUnit : QuantityInUnit<MassUnit>) : QuantityInUnit<MassUnit.KILOGRAM> => {\n    let quantity : number;\n    switch (quantityInUnit.getUnit()) {\n        case MassUnit.KILOGRAM:\n            quantity = quantityInUnit.getQuantity();\n            break;\n        case MassUnit.GRAM:\n            quantity = quantityInUnit.getQuantity() * 0.001;\n            break;\n        case MassUnit.POUND:\n            quantity = quantityInUnit.getQuantity() * 0.453592;\n            break;\n        case MassUnit.DRY_OUNCE:\n            quantity = quantityInUnit.getQuantity() * 0.0283495;\n            break;\n        default:\n            throw new RuntimeException('unexpected mass unit');\n    }\n\n    return new QuantityInUnit(quantity, MassUnit.KILOGRAM);\n};\n\nconst convertVolumeQuantityToMl = (quantityInUnit : QuantityInUnit<VolumeUnit>) : QuantityInUnit<VolumeUnit.MILLILITER> => {\n    let quantity : number;\n    switch (quantityInUnit.getUnit()) {\n        case VolumeUnit.LITER:\n            quantity =  quantityInUnit.getQuantity() * 1000.0;\n            break;\n        case VolumeUnit.CENTILITER:\n            quantity =  quantityInUnit.getQuantity() * 10.0;\n            break;\n        case VolumeUnit.MILLILITER:\n            quantity =  quantityInUnit.getQuantity();\n            break;\n        case VolumeUnit.GALLON:\n            quantity =  quantityInUnit.getQuantity() * 3785.41;\n            break;\n        case VolumeUnit.QUART:\n            quantity =  quantityInUnit.getQuantity() * 946.353;\n            break;\n        case VolumeUnit.PINT:\n            quantity =  quantityInUnit.getQuantity() * 473.176;\n            break;\n        case VolumeUnit.OUNCE:\n            quantity =  quantityInUnit.getQuantity() * 29.5735;\n            break;\n        case VolumeUnit.BAR_SPOON:\n            quantity =  quantityInUnit.getQuantity() * 4.92892;\n            break;\n        case VolumeUnit.DASH:\n            quantity =  quantityInUnit.getQuantity() * 0.616115;\n            break;\n        default:\n            throw new RuntimeException('unexpected volume unit');\n    }\n\n    return new QuantityInUnit(quantity, VolumeUnit.MILLILITER);\n};\n\nconst isMassQuantity = (quantityInUnit : QuantityInUnit<Unit>) : quantityInUnit is QuantityInUnit<MassUnit>  => {\n    return MassUnit.isMassUnit(quantityInUnit.getUnit());\n};\n\nconst isVolumeQuantity = (quantityInUnit : QuantityInUnit<Unit>) : quantityInUnit is QuantityInUnit<VolumeUnit>  => {\n    return VolumeUnit.isVolumeUnit(quantityInUnit.getUnit());\n};\n\nconst convertUnitQuantity = <T extends MassUnit | VolumeUnit>(quantityInUnit : QuantityInUnit<MassUnit | VolumeUnit>, unit : T) : QuantityInUnit<T> => {\n    if (quantityInUnit.getUnit() === unit) {\n        return quantityInUnit as QuantityInUnit<T>;\n    }\n\n    if (isMassQuantity(quantityInUnit) && MassUnit.isMassUnit(unit)) {\n        return new QuantityInUnit(\n            convertMassQuantityToKg(quantityInUnit).getQuantity() / convertMassQuantityToKg(new QuantityInUnit(1, unit)).getQuantity(),\n            unit\n        );\n    } else if (isVolumeQuantity(quantityInUnit) && VolumeUnit.isVolumeUnit(unit)) {\n        return new QuantityInUnit(\n            convertVolumeQuantityToMl(quantityInUnit).getQuantity() / convertVolumeQuantityToMl(new QuantityInUnit(1, unit)).getQuantity(),\n            unit\n        );\n    }\n\n    throw new RuntimeException('Could not convert between provided units');\n};\n\nexport const UnitUtils = {\n    convertUnitQuantity,\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { AccountType } from 'api/Location/model/AccountType';\nimport { Product } from 'api/Product/model/Product';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { StringUtils } from 'shared/utils/stringUtils';\n\nexport namespace CategoryUtils {\n\n    export enum defaultBeverageCategories {\n        'Accessory' = 'Accessory',\n        'Bar Goods' = 'Bar Goods',\n        'Beer' = 'Beer',\n        'Champagne' = 'Champagne',\n        'Cider' = 'Cider',\n        'Cocktail' = 'Cocktail',\n        'Draught Beer' = 'Draught Beer',\n        'Food' = 'Food',\n        'Kitchen' = 'Kitchen',\n        'Mixer' = 'Mixer',\n        'Other' = 'Other', // Is this still a thing??\n        'Sake' = 'Sake',\n        'Spirit' = 'Spirit',\n        'Wine' = 'Wine',\n        'Wine By The Glass' = 'Wine By The Glass',\n    }\n\n    export enum defaultFoodCategories {\n        'Dairy' = 'Dairy',\n        'Dry Goods' = 'Dry Goods',\n        'Food' = 'Food',\n        'Frozen' = 'Frozen',\n        'Meat' = 'Meat',\n        'Poultry' = 'Poultry',\n        'Produce' = 'Produce',\n        'Seafood' = 'Seafood',\n    }\n\n    export const getDefaultCategories = () : Array<string> => {\n\n        const defaultProductCategories : { [t in AccountType]: Array<string> } = {\n            beverage: Array.from(Object.keys(defaultBeverageCategories)),\n            food: Array.from(Object.keys(defaultFoodCategories)),\n        };\n\n        let accountType = window.GLOBAL_RETAILER_ACCOUNT_TYPE;\n        if (typeof accountType === 'undefined') {\n            accountType = 'beverage';\n        }\n\n        return defaultProductCategories[accountType];\n    };\n\n    const colorsByCategoryName : {[c in defaultBeverageCategories | defaultFoodCategories] : string} = {\n        Dairy: '#FD8C51',\n        'Dry Goods': '#0ADAC5',\n        Food: '#FBB048',\n        Frozen: '#2678B2',\n        Meat: '#FC5648',\n        Poultry: '#FFE168',\n        Produce: '#74D376',\n        Seafood: '#33A4C4',\n\n        Spirit: '#81bab0',\n        Wine: '#8b566b',\n        'Wine By The Glass': '#6f3564',\n        Champagne: '#f7e7cE',\n        Beer: '#fbb048',\n        'Draught Beer': '#fd8d48',\n        Cider: '#fb5648',\n        Sake: '#584ea1',\n        Cocktail: '#00a094',\n        Mixer: '#3a99af',\n        'Bar Goods': '#77989f',\n        Kitchen: '#d9ebd9',\n        Accessory: '#6d757c',\n\n        Other: '#c2cccb',\n    };\n\n    const otherColors : Array<string> = [\n        '#6F3464',\n        '#183C79',\n        '#A3E4F7',\n        '#A46B9B',\n        '#F9A08A',\n        '#FFFBC6',\n        '#DFF0D3',\n        '#FAE1AC',\n        '#ADBAC4',\n        '#484448',\n        '#6D757C',\n        '#B05F2D',\n    ];\n\n    export const getColorsForCategories = (categories : IterableIterator<string>) : Map<string, string> => {\n        const result = new Map<string, string>();\n        let otherColorIndex : number = 0;\n\n        normalizeProductCategories(categories).forEach((category : string) => {\n\n            let color = colorsByCategoryName[category as defaultBeverageCategories | defaultFoodCategories];\n\n            if (typeof color === 'undefined') {\n\n                if (otherColorIndex < otherColors.length) {\n                    color = otherColors[otherColorIndex];\n\n                } else {\n                    color = colorsByCategoryName.Other;\n                }\n\n                otherColorIndex++;\n            }\n\n            result.set(category, color);\n        });\n\n        return result;\n    };\n\n    export const getCategoriesFromProductsAndDefaults = (products : IterableIterator<Product>) : Array<string> => {\n        const categorySet = new Set<string>(getDefaultCategories());\n\n        const productCategories = getCategoriesFromProducts(products);\n        if (productCategories) {\n            productCategories.forEach((category) => categorySet.add(category));\n        }\n\n        return categorySort(Array.from(categorySet));\n    };\n\n    export const getCategorySortedOptionsAndLabelNames = (categoriesById : StringValueMap<CategoryId, Category>, group : string | null) : OptionsAndLabelNameTuples => {\n        const categoryInformation : Array<{categoryId : CategoryId, category : Category}> = [];\n        categoriesById.forEach((category, categoryId) => {\n            if (!category.getIsDeleted()) {\n                categoryInformation.push({\n                    categoryId,\n                    category\n                });\n            }\n        });\n        const categoryOptionsAndLabelNames = categoryInformation.map(makeCategoryOptionFromValue);\n        return [\n            [group, categoryOptionsAndLabelNames.sort((a : IOption, b : IOption) => (a.label.toLowerCase() > b.label.toLowerCase()) ? 1 : -1)],\n        ];\n    };\n\n    export const createCategoryLabelName = (category : Category) => {\n        const glCode = category.getGlCode();\n        return category.getName() + (glCode.trim().length > 0 ? ` (${glCode.trim()})` : '');\n    };\n\n    export const makeCategoryOptionFromValue = (categoryInformation : {categoryId : CategoryId, category : Category}) : IOption => {\n\n        return {\n            value : categoryInformation.categoryId.getValue(),\n            label: createCategoryLabelName(categoryInformation.category),\n            icon: null,\n        };\n    };\n\n    export const getCategoriesFromProducts = (products : IterableIterator<Product>) : Array<string> => {\n        const categorySet = new Set<string>();\n        for (const product of products) {\n            categorySet.add(StringUtils.normalizeToTitleCase(product.getProductCategoryId()));\n        }\n\n        return categorySort(Array.from(categorySet));\n    };\n\n    export const getProductsWithCategoryById = (categoryId : CategoryId, productsById : StringValueMap<ProductId, Product>) => {\n        const productsWithCategoryById = new StringValueMap<ProductId, Product>();\n        productsById.forEach((product, productId) => {\n            if (categoryId.equals(product.getNewProductCategoryId())) {\n                productsWithCategoryById.set(productId, product);\n            }\n        });\n        return productsWithCategoryById;\n    };\n\n    export const getDistributorAdjustmentDependencyNumber = (\n        categoryId : CategoryId,\n        distributorsById : StringValueMap<DistributorId, Distributor>,\n    ) : number => {\n        let distributorAdjustmentDependencies = 0;\n        distributorsById.forEach((distributor) => {\n            distributor.getExtraDistributorProperties().adjustments.forEach((adjustment) => {\n                if (new CategoryId(adjustment.categoryId).equals(categoryId)) {\n                    distributorAdjustmentDependencies++;\n                }\n            });\n        });\n        return distributorAdjustmentDependencies;\n    };\n\n    export const normalizeProductCategories = (categories : IterableIterator<string>) : Array<string> => {\n        const categorySet = new Set<string>();\n\n        for (const category of categories) {\n            if (typeof category !== 'undefined') {\n                categorySet.add(StringUtils.normalizeToTitleCase(category));\n            }\n        }\n\n        return categorySort(Array.from(categorySet));\n    };\n\n    export const getCategoryIdFromName = (categoriesById : StringValueMap<CategoryId, Category>, name : string, includeDeleted : boolean = false) : CategoryId | null => {\n        let resultCategoryId = null;\n        categoriesById.forEach((category, categoryId) => {\n            if ((includeDeleted || !category.getIsDeleted()) && category.getName().trim().toLowerCase() === name.trim().toLowerCase()) {\n                resultCategoryId = categoryId;\n            }\n        });\n        return resultCategoryId;\n    };\n\n    export const isDuplicateCategoryName = (\n        name : string,\n        categoryId : CategoryId | null,\n        categoriesById : StringValueMap<CategoryId, Category>,\n    ) : boolean => {\n        let isDuplicate = false;\n        categoriesById.forEach((category, comparisonCategoryId) => {\n            if (!comparisonCategoryId.equals(categoryId) && !category.getIsDeleted() && category.getName().toLowerCase().trim() === name.toLowerCase().trim()) {\n                isDuplicate = true;\n            }\n        });\n        return isDuplicate;\n    };\n\n    export const categoryCompareFunction = (a : string, b : string) => {\n        return a.localeCompare(b);\n    };\n\n    export const categorySort = (categories : Array<string>) : Array<string> => {\n        return categories.sort(categoryCompareFunction);\n    };\n}\n","import { BaseUnit } from 'api/Product/model/BaseUnit';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { OldPackaging } from 'api/Product/model/OldPackaging';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingUnit } from 'api/Product/model/PackagingUnit';\nimport { Price } from 'api/Product/model/Price';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { Unit } from 'api/Product/model/Unit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport ProductAmountModel from 'gen-thrift/product_amount_Model_types';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nconst hasCase = (packaging : OldPackaging) : boolean => {\n    const unit = packaging.getUnit();\n\n    if (PackagingUnit.isPackagingUnit(unit)) {\n        return unit === PackagingUnit.CASE;\n    }\n\n    return false;\n};\n\nconst getContainer = (packaging : OldPackaging) : OldPackaging => {\n    if (hasCase(packaging)) {\n        const container : OldPackaging | null = packaging.getContent();\n\n        if (container === null) {\n            throw new RuntimeException('unexpected: packaging has case but no content');\n        }\n\n        return container;\n    }\n\n    return packaging;\n};\n\nconst getDisplayTextForPackaging = (packaging : OldPackaging, showContainerType : boolean) => {\n    const containerSizeDisplayText : string = getContainerSizeDisplayTextForPackaging(packaging);\n\n    let packagingDisplayText : string = '';\n    if (hasCase(packaging)) {\n        packagingDisplayText = `${ packaging.getQuantityOfContent() } x `;\n    }\n\n    packagingDisplayText += containerSizeDisplayText;\n\n    if (showContainerType) {\n        const containerType : string = getContainerTypeDisplayTextForPackaging(packaging);\n        packagingDisplayText += ` (${ containerType })`;\n    }\n\n    return packagingDisplayText;\n};\n\nconst getDisplayTextForUnit = (unit : Unit) : string => {\n    switch (unit) {\n        case PackagingUnit.CASE:\n            return 'case';\n        case PackagingUnit.BOTTLE:\n            return 'bottle';\n        case PackagingUnit.CAN:\n            return 'can';\n        case PackagingUnit.KEG:\n            return 'keg';\n        case PackagingUnit.BAG:\n            return 'bag';\n        case PackagingUnit.BOX:\n            return 'box';\n        case PackagingUnit.CAN_FOOD:\n            return 'can (food)';\n        case PackagingUnit.CARTON:\n            return 'carton';\n        case PackagingUnit.CONTAINER:\n            return 'container';\n        case PackagingUnit.PACKAGE:\n            return 'package';\n        case PackagingUnit.TUB:\n            return 'tub';\n        case PackagingUnit.OTHER:\n            return 'other';\n        case VolumeUnit.LITER:\n            return 'L';\n        case VolumeUnit.MILLILITER:\n            return 'mL';\n        case VolumeUnit.CENTILITER:\n            return 'cL';\n        case VolumeUnit.GALLON:\n            return 'gal';\n        case VolumeUnit.QUART:\n            return 'qt';\n        case VolumeUnit.PINT:\n            return 'pt';\n        case VolumeUnit.OUNCE:\n            return 'fl. oz';\n        case VolumeUnit.BAR_SPOON:\n            return 'bsp';\n        case VolumeUnit.DASH:\n            return 'dash';\n        case MassUnit.GRAM:\n            return 'g';\n        case MassUnit.KILOGRAM:\n            return 'kg';\n        case MassUnit.POUND:\n            return 'lbs';\n        case MassUnit.DRY_OUNCE:\n            return 'oz (dry)';\n        case BaseUnit.EACH:\n            return 'ea';\n        case BaseUnit.UNIT:\n            return 'unit';\n        default:\n            throw new RuntimeException('unexpected value for unit: \"' + unit + '\"');\n    }\n};\n\nconst getDisplayTextForPackagingUnitWithProductPackagingAndPluralization = (unit : PackagingUnit, productPackaging : OldPackaging, isPlural : boolean) : string => {\n    const displayPackagingUnit = resolvePackagingUnitForProductPackaging(unit, productPackaging);\n    let displayText = oldPackagingUtils.getDisplayTextForUnit(displayPackagingUnit);\n    if (isPlural) {\n        if (displayText.endsWith('x')) {\n            displayText += 'e';\n        }\n        displayText +=  's';\n    }\n    return displayText;\n};\n\nconst getContainerTypeDisplayTextForPackaging = (packaging : OldPackaging) : string => {\n    const container : OldPackaging = getContainer(packaging);\n    const unit = container.getUnit();\n\n    if (!PackagingUnit.isPackagingUnit(unit)) {\n        throw new RuntimeException('unexpected: containerUnit is not PackagingUnit');\n    }\n\n    return getDisplayTextForUnit(unit);\n};\n\nexport const getBottlePriceGivenCasePrice = (casePrice : number, packaging : OldPackaging) : number => {\n    if (packaging.getUnit() !== PackagingUnit.CASE) {\n        return casePrice;\n    }\n\n    const numberUnitsInPackage : number | null = packaging.getQuantityOfContent();\n\n    if (numberUnitsInPackage === null) {\n        return casePrice;\n    }\n\n    const bottlePrice : number = casePrice / numberUnitsInPackage;\n\n    return bottlePrice;\n};\n\nconst getContainerSizeDisplayTextForPackaging = (packaging : OldPackaging) : string => {\n    const container : OldPackaging = getContainer(packaging);\n\n    let containerUnit : VolumeUnit | MassUnit | BaseUnit;\n    {\n        let containerContent : OldPackaging;\n        {\n            const nullableContainerContent : OldPackaging | null = container.getContent();\n\n            if (nullableContainerContent === null) {\n                throw new RuntimeException('unexpected: container has no content');\n            }\n\n            containerContent = nullableContainerContent;\n        }\n\n        const unit = containerContent.getUnit();\n\n        if (PackagingUnit.isPackagingUnit(unit)) {\n            throw new RuntimeException('unexpected: containerUnit is PackagingUnit');\n        }\n\n        containerUnit = unit;\n    }\n\n    const unitDisplayText : string = getDisplayTextForUnit(containerUnit);\n    const spacer : string = BaseUnit.isBaseUnit(containerUnit) || PackagingUnit.isPackagingUnit(containerUnit) ? \" \" : \"\";\n\n    return `${ container.getQuantityOfContent() }${ spacer }${ unitDisplayText }`;\n};\n\nconst isUnitValueValid = (unitValue : string) : boolean => {\n    return PackagingUnit.isPackagingUnitValue(unitValue)\n        || MassUnit.isMassUnitValue(unitValue)\n        || VolumeUnit.isVolumeUnitValue(unitValue)\n        || BaseUnit.isBaseUnitValue(unitValue);\n};\n\nconst getUnitFromValue = (unitValue : string) : Unit => {\n    if (BaseUnit.isBaseUnitValue(unitValue)) {\n        return BaseUnit.getByBaseUnitValue(unitValue);\n    } else if (PackagingUnit.isPackagingUnitValue(unitValue)) {\n        return PackagingUnit.getByPackagingUnitValue(unitValue);\n    } else if (MassUnit.isMassUnitValue(unitValue)) {\n        return MassUnit.getByMassUnitValue(unitValue);\n    } else if (VolumeUnit.isVolumeUnitValue(unitValue)) {\n        return VolumeUnit.getByVolumeUnitValue(unitValue);\n    } else {\n        throw new RuntimeException(`unexpected unitValue: \"${ unitValue }\"`);\n    }\n};\n\nconst kegContentUnitOptions = [VolumeUnit.GALLON, VolumeUnit.LITER];\nconst allContentUnitOptions : Array<VolumeUnit | MassUnit | BaseUnit> = [\n    ...VolumeUnit.getUnits(),\n    ...MassUnit.getUnits(),\n    ...BaseUnit.getUnits()\n];\nconst getValidContentUnitsForContainerType = (containerType : PackagingUnit) : Array<VolumeUnit | MassUnit | BaseUnit> => {\n    if (containerType === PackagingUnit.KEG) {\n        return kegContentUnitOptions;\n    }\n    return allContentUnitOptions;\n};\n\nconst getQuantityOfPackageInUnit = <T extends PackagingUnit | BaseUnit | MassUnit | VolumeUnit>(\n        packaging : OldPackaging,\n        inputQuantityInUnit : QuantityInUnit<PackagingUnit | BaseUnit | MassUnit | VolumeUnit>,\n        outputUnit : T) : QuantityInUnit<T> => {\n\n    const inputQuantityInBaseUnitOfPackaging = getQuantityInBaseUnitOfPackaging(packaging, inputQuantityInUnit);\n    const quantityOfOutputUnitInBaseUnitOfPackaging = getQuantityInBaseUnitOfPackaging(packaging, new QuantityInUnit(1, outputUnit));\n\n    return new QuantityInUnit(\n        inputQuantityInBaseUnitOfPackaging.getQuantity() / quantityOfOutputUnitInBaseUnitOfPackaging.getQuantity(),\n        outputUnit\n    );\n};\n\nconst getQuantityInBaseUnitOfPackaging = (packaging : OldPackaging, quantityInUnit : QuantityInUnit<PackagingUnit | BaseUnit | MassUnit | VolumeUnit>) : QuantityInUnit<BaseUnit | MassUnit | VolumeUnit> => {\n    const unit = quantityInUnit.getUnit();\n    const quantity = quantityInUnit.getQuantity();\n\n    const packagingUnit = packaging.getUnit();\n\n    if (unit === PackagingUnit.CASE) {\n        if (packagingUnit !== PackagingUnit.CASE) {\n            // This handles the scenario where we have a product that doesn't come as case but is described as a case in a delivery/transfer/breakage\n            return getQuantityInBaseUnitOfPackaging(packaging, new QuantityInUnit(quantityInUnit.getQuantity(), PackagingUnit.CONTAINER));\n        }\n\n        const content = packaging.getContent();\n        const quantityOfContent = packaging.getQuantityOfContent();\n        if (content == null || quantityOfContent == null) {\n            throw new RuntimeException('Content or QuantityOfContent null in packaging of unit Case');\n        }\n\n        return getQuantityInBaseUnitOfPackaging(content, new QuantityInUnit(quantityInUnit.getQuantity() * quantityOfContent, content.getUnit()));\n    } else if (PackagingUnit.isPackagingUnit(unit)) {\n        const content = packaging.getContent();\n        const quantityOfContent = packaging.getQuantityOfContent();\n        if (content == null || quantityOfContent == null) {\n            throw new RuntimeException('Content or QuantityOfContent null in packaging with unit UnitOfPackaging');\n        }\n\n        if (packagingUnit === PackagingUnit.CASE) {\n            return getQuantityInBaseUnitOfPackaging(content, new QuantityInUnit(quantityInUnit.getQuantity(), content.getUnit()));\n        } else if (PackagingUnit.isPackagingUnit(packagingUnit)) {\n            return getQuantityInBaseUnitOfPackaging(content, new QuantityInUnit(quantityInUnit.getQuantity() * quantityOfContent, content.getUnit()));\n        } else {\n            throw new RuntimeException('Incompatible OldPackaging: Cannot specify quantity in PackagingUnit for packaging not of type PackagingUnit');\n        }\n    } else {\n        if (PackagingUnit.isPackagingUnit(packagingUnit)) {\n            const content = packaging.getContent();\n            const quantityOfContent = packaging.getQuantityOfContent();\n            if (content == null || quantityOfContent == null) {\n                throw new RuntimeException('Content or QuantityOfContent null in packaging with unit UnitOfPackaging');\n            }\n            return getQuantityInBaseUnitOfPackaging(content, quantityInUnit);\n        }\n\n        if (MassUnit.isMassUnit(unit)) {\n            if (!(MassUnit.isMassUnit(packagingUnit))) {\n                throw new RuntimeException('Incompatible OldPackaging: Cannot specify quantity in mass units for packaging with non-mass base');\n            }\n\n            return getQuantityInUnitMass(new QuantityInUnit(quantity, unit), packagingUnit);\n        } else if (VolumeUnit.isVolumeUnit(unit)) {\n            if (!VolumeUnit.isVolumeUnit(packagingUnit)) {\n                throw new RuntimeException('Incompatible OldPackaging: Cannot specify quantity in volume units for packaging with non-volume base');\n            }\n            return getQuantityInUnitVolume(new QuantityInUnit(quantity, unit), packagingUnit);\n        } else if (BaseUnit.isBaseUnit(unit)) {\n            if (!BaseUnit.isBaseUnit(packagingUnit)) {\n                throw new RuntimeException('Incompatible OldPackaging: Cannot specify quantity in base units for packaging with non-base base');\n            }\n            return new QuantityInUnit(quantity, packagingUnit);\n        }\n    }\n\n    throw new RuntimeException('Unexpected - unreachable code');\n};\n\nconst getQuantityInUnitMass = <T extends MassUnit>(quantityInUnit : QuantityInUnit<T>, unit : T) : QuantityInUnit<T> => {\n    return new QuantityInUnit(\n        getMassInKg(quantityInUnit).getQuantity() / getMassInKg(new QuantityInUnit(1, unit)).getQuantity(),\n        unit);\n};\n\nconst getQuantityInUnitVolume = <T extends VolumeUnit>(quantityInUnit : QuantityInUnit<T>, unit : T) : QuantityInUnit<T> => {\n    return new QuantityInUnit(\n        getVolumeInMl(quantityInUnit) / getVolumeInMl(new QuantityInUnit(1, unit)),\n        unit);\n};\n\nconst getMassInKg = (quantityInUnit : QuantityInUnit<MassUnit>) : QuantityInUnit<MassUnit.KILOGRAM> => {\n    let quantity : number;\n    switch (quantityInUnit.getUnit()) {\n        case MassUnit.KILOGRAM:\n            quantity = quantityInUnit.getQuantity();\n            break;\n        case MassUnit.GRAM:\n            quantity = quantityInUnit.getQuantity() * 0.001;\n            break;\n        case MassUnit.POUND:\n            quantity = quantityInUnit.getQuantity() * 0.453592;\n            break;\n        case MassUnit.DRY_OUNCE:\n            quantity = quantityInUnit.getQuantity() * 0.0283495;\n            break;\n        default:\n            throw new RuntimeException('unexpected mass unit');\n    }\n\n    return new QuantityInUnit(quantity, MassUnit.KILOGRAM);\n};\n\nconst getQuantityOfMassUnit = (massInKg : number, unit : MassUnit) : number => {\n    return massInKg / getMassInKg(new QuantityInUnit(1, unit)).getQuantity();\n};\n\nconst getVolumeInMl = (quantityInUnit : QuantityInUnit<VolumeUnit>) : number => {\n    switch (quantityInUnit.getUnit()) {\n        case VolumeUnit.LITER:\n            return quantityInUnit.getQuantity() * 1000.0;\n        case VolumeUnit.CENTILITER:\n            return quantityInUnit.getQuantity() * 10.0;\n        case VolumeUnit.MILLILITER:\n            return quantityInUnit.getQuantity();\n\n        case VolumeUnit.GALLON:\n            return quantityInUnit.getQuantity() * 3785.41;\n        case VolumeUnit.QUART:\n            return quantityInUnit.getQuantity() * 946.353;\n        case VolumeUnit.PINT:\n            return quantityInUnit.getQuantity() * 473.176;\n        case VolumeUnit.OUNCE:\n            return quantityInUnit.getQuantity() * 29.5735;\n\n        case VolumeUnit.BAR_SPOON:\n            return quantityInUnit.getQuantity() * 4.92892;\n        case VolumeUnit.DASH:\n            return quantityInUnit.getQuantity() * 0.616115;\n        default:\n            throw new RuntimeException('unexpected volume unit');\n    }\n};\n\nconst getQuantityOfVolumeUnit = (volumeInMl : number, unit : VolumeUnit) : number => {\n    return volumeInMl / getVolumeInMl(new QuantityInUnit(1, unit));\n};\n\nconst resolvePackagingUnitForProductPackaging = (packagingUnit : PackagingUnit, productPackaging : OldPackaging) : PackagingUnit => {\n    let packagingUnitToDisplay = packagingUnit;\n    const topLevelPackagingUnit = productPackaging.getUnit();\n    if (packagingUnit !== PackagingUnit.CASE) {\n        if (topLevelPackagingUnit === PackagingUnit.CASE) {\n            const productPackagingContent = productPackaging.getContent();\n            if (productPackagingContent) {\n                const productPackagingContentUnit = productPackagingContent.getUnit();\n                if (PackagingUnit.isPackagingUnit(productPackagingContentUnit)) {\n                    // if count is not in case and product packaging has case, interpret count unit as the package below case (\"container\")\n                    packagingUnitToDisplay = productPackagingContentUnit;\n                }\n            }\n        } else {\n            if (PackagingUnit.isPackagingUnit(topLevelPackagingUnit)) {\n                // if count is not in case and product packaging does not have case, interpret count unit as the top-level package (\"container\")\n                packagingUnitToDisplay = topLevelPackagingUnit;\n            } else {\n                throw new RuntimeException('unexpected topLevelPackagingUnit which is not a packaging unit');\n            }\n        }\n    } else if (!hasCase(productPackaging)) {\n        // if count is in case but packaging does not have case, interpret count unit as the top-level package (\"container\")\n        if (PackagingUnit.isPackagingUnit(topLevelPackagingUnit)) {\n            packagingUnitToDisplay = topLevelPackagingUnit;\n        } else {\n            // top-level package is not packaging unit\n            throw new RuntimeException('unexpected topLevelPackagingUnit which is not a packaging unit');\n        }\n    }\n    // count is in case, package has case\n    return packagingUnitToDisplay;\n};\n\nconst getOldPackagingFromPackaging = (packaging : Packaging) : OldPackaging => {\n    const unitValue = packaging.getName() || packaging.getUnit();\n    const content = packaging.getContent();\n\n    if (unitValue === null) {\n        throw new RuntimeException('unitValue unexpectedly null');\n    }\n\n    return new OldPackaging(\n        (content === null) ? null : getOldPackagingFromPackaging(content),\n        packaging.getQuantityOfContent(),\n        getUnitFromValue(unitValue)\n    );\n};\n\nconst getPackagingWithDummyPackagingIdsFromOldPackaging = (oldPackaging : OldPackaging) : Packaging => { // PTODO\n    const content = oldPackaging.getContent();\n    const unit = oldPackaging.getUnit();\n    const quantityOfContent = oldPackaging.getQuantityOfContent();\n\n    if (MassUnit.isMassUnit(unit) || VolumeUnit.isVolumeUnit(unit)) {\n        return new Packaging(null, null, null, null, unit);\n    } else {\n        return new Packaging(\n            new PackagingId(unit),\n            unit,\n            (content === null) ? null : getPackagingWithDummyPackagingIdsFromOldPackaging(content),\n            quantityOfContent,\n            null\n        );\n    }\n};\n\n// PTPDO Cheezy\nconst getPackagingDataFromPackagingArray = (packagings : Array<Packaging>) => {\n    return packagings.map((packaging) => {\n        return {\n            isActive: true,\n            deleted: false,\n            packaging\n        };\n    });\n};\n\n// should possibly belong to \"priceUtils\", esp. once it uses Packaging\nconst convertPriceUnit = (price : Price, packaging : OldPackaging, newUnit : Unit) : Price => {\n    return new Price(\n        oldPackagingUtils.getQuantityOfPackageInUnit(\n            packaging,\n            new QuantityInUnit(1, newUnit),\n            price.getUnit(),\n        ).getQuantity() * price.getDollarValue(),\n        newUnit,\n    );\n};\n\nconst getThriftUnitFromUnit = (unit : Unit) : ProductAmountModel.Unit => {\n    switch (unit) {\n        case PackagingUnit.BOTTLE:\n            return ProductAmountModel.Unit.BOTTLE;\n        case PackagingUnit.CAN:\n            return ProductAmountModel.Unit.CAN;\n        case PackagingUnit.CASE:\n            return ProductAmountModel.Unit.CASE;\n        case PackagingUnit.KEG:\n            return ProductAmountModel.Unit.KEG;\n        case PackagingUnit.BAG:\n            return ProductAmountModel.Unit.BAG;\n        case PackagingUnit.BOX:\n            return ProductAmountModel.Unit.BOX;\n        case PackagingUnit.CAN_FOOD:\n            return ProductAmountModel.Unit.CAN_FOOD;\n        case PackagingUnit.CARTON:\n            return ProductAmountModel.Unit.CARTON;\n        case PackagingUnit.CONTAINER:\n            return ProductAmountModel.Unit.CONTAINER;\n        case PackagingUnit.PACKAGE:\n            return ProductAmountModel.Unit.PACKAGE;\n        case PackagingUnit.TUB:\n            return ProductAmountModel.Unit.TUB;\n        case PackagingUnit.OTHER:\n            return ProductAmountModel.Unit.OTHER_CONTAINER;\n\n        case VolumeUnit.LITER:\n            return ProductAmountModel.Unit.METRIC_LITER;\n        case VolumeUnit.MILLILITER:\n            return ProductAmountModel.Unit.METRIC_MILLILITER;\n        case VolumeUnit.OUNCE:\n            return ProductAmountModel.Unit.US_FLUID_OUNCE;\n        case VolumeUnit.GALLON:\n            return ProductAmountModel.Unit.US_FLUID_GALLON;\n        case VolumeUnit.QUART:\n            return ProductAmountModel.Unit.US_FLUID_QUART;\n        case VolumeUnit.PINT:\n            return ProductAmountModel.Unit.US_FLUID_PINT;\n        case VolumeUnit.CENTILITER:\n            return ProductAmountModel.Unit.METRIC_CENTILITER;\n        case VolumeUnit.BAR_SPOON:\n            return ProductAmountModel.Unit.BAR_SPOON;\n        case VolumeUnit.DASH:\n            return ProductAmountModel.Unit.DASH;\n\n        case MassUnit.KILOGRAM:\n            return ProductAmountModel.Unit.METRIC_KILOGRAM;\n        case MassUnit.GRAM:\n            return ProductAmountModel.Unit.METRIC_GRAM;\n        case MassUnit.POUND:\n            return ProductAmountModel.Unit.US_POUND;\n        case MassUnit.DRY_OUNCE:\n            return ProductAmountModel.Unit.US_DRY_OUNCE;\n\n        case BaseUnit.EACH:\n            return ProductAmountModel.Unit.EACH;\n        case BaseUnit.UNIT:\n            return ProductAmountModel.Unit.UNIT;\n        default:\n            throw new RuntimeException('unexpected value for unit');\n    }\n};\n\nconst getFlattenedPackagingInfo = (oldPackaging : OldPackaging) : {\n    containerType : ProductAmountModel.Unit;\n    containerContentUnit : ProductAmountModel.Unit;\n    containerContentQuantity : number;\n    caseSize : number | null;\n    hasCase : boolean;\n} => {\n    let container = oldPackaging;\n    let caseSize = null;\n    if (oldPackaging.getUnit() === PackagingUnit.CASE) {\n        const content = oldPackaging.getContent();\n        const quantityOfContent = oldPackaging.getQuantityOfContent();\n\n        if (content === null || quantityOfContent === null) {\n            throw new RuntimeException('unexpected null content');\n        }\n\n        container = content;\n        caseSize = quantityOfContent;\n    }\n\n    const containerContent = container.getContent();\n    const containerQuantityOfContent = container.getQuantityOfContent();\n    if (containerContent === null || containerQuantityOfContent === null) {\n        throw new RuntimeException('unexpected null content');\n    }\n\n    return {\n        containerType: getThriftUnitFromUnit(container.getUnit()),\n        containerContentUnit: getThriftUnitFromUnit(containerContent.getUnit()),\n        containerContentQuantity: containerQuantityOfContent,\n        caseSize,\n        hasCase: caseSize !== null,\n    };\n};\n\nexport const oldPackagingUtils = {\n    hasCase,\n    getContainer,\n    getDisplayTextForPackaging,\n    getContainerTypeDisplayTextForPackaging,\n    getContainerSizeDisplayTextForPackaging,\n    getDisplayTextForUnit,\n    getDisplayTextForPackagingUnitWithProductPackagingAndPluralization,\n    getValidContentUnitsForContainerType,\n    isUnitValueValid,\n    getUnitFromValue,\n\n    getBottlePriceGivenCasePrice,\n    convertPriceUnit,\n\n    getQuantityOfPackageInUnit,\n    getQuantityInBaseUnitOfPackaging,\n\n    getQuantityInUnitMass,\n    getQuantityInUnitVolume,\n    resolvePackagingUnitForProductPackaging,\n    getOldPackagingFromPackaging,\n    getPackagingWithDummyPackagingIdsFromOldPackaging,\n    getPackagingDataFromPackagingArray,\n    getThriftUnitFromUnit,\n    getFlattenedPackagingInfo,\n\n    // To Deprecate?\n    getMassInKg,\n    getVolumeInMl,\n    getQuantityOfMassUnit,\n    getQuantityOfVolumeUnit,\n};\n","import { MassUnit } from 'api/Product/model/MassUnit';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingWeight } from 'api/Product/model/PackagingWeight';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\n\nconst getContentVolume = (packaging : Packaging) : QuantityInUnit<VolumeUnit> => {\n    const content = packaging.getContent();\n    const quantityOfContent = packaging.getQuantityOfContent();\n\n    if ((content === null) || (quantityOfContent === null)) {\n        throw new Error('unexpected null content: ' + packaging);\n    }\n\n    const contentUnit = content.getUnit();\n    if (contentUnit && VolumeUnit.isVolumeUnit(contentUnit)) {\n        return new QuantityInUnit(quantityOfContent, contentUnit);\n    } else {\n        throw new Error('content unit is not VolumeUnit: ' + contentUnit);\n    }\n};\n\n// Bottle weights vary a lot and there exists no standard references.\nconst getDefaultBottleEmptyWeightOz = (bottleVolumeML : number) : number => {\n    const marginMl = 10;\n\n    // values based on statistics of data \"Tare Weights (Includes CN Tares) (1).xlsx\" which only include liquors\n    if (Math.abs(bottleVolumeML - 375) < marginMl) {\n        return 16.1;\n    }\n    if (Math.abs(bottleVolumeML - 750) < marginMl) {\n        return 19;\n    }\n    if (Math.abs(bottleVolumeML - 1000) < marginMl) {\n        return 20.8;\n    }\n    if (Math.abs(bottleVolumeML - 1140) < marginMl) {\n        return 23;\n    }\n\n    // guesses for uncommon bottle sizes\n    if (bottleVolumeML < 375) {\n        return 8.0;\n    }\n    if (bottleVolumeML < 750) {\n        return 17.5;\n    }\n    if (bottleVolumeML < 1000) {\n        return 19.9;\n    }\n    if (bottleVolumeML < 1140) {\n        return 21.9;\n    }\n\n    // bigger than 1140ml\n    return 42.3;\n};\n\nconst getDefaultBottleNetWeightKg = (bottleVolumeML : number) : number => {\n    // TODO: improve guesses\n    const defaultLiquidDensity = 1.0;   //  (g/ml)\n    return bottleVolumeML * defaultLiquidDensity * 0.001;\n};\n\nconst getPackagingWeightWithDefaultsApplied = (packaging : Packaging, packagingWeight : PackagingWeight) : PackagingWeight => {\n    let emptyWeight : QuantityInUnit<MassUnit> | null = packagingWeight.getEmptyWeight();\n    let fullWeight : QuantityInUnit<MassUnit> | null = packagingWeight.getFullWeight();\n\n    if ((emptyWeight === null) || (fullWeight === null)) {\n        if ((packaging.getName() === 'bottle') && (packaging.getContent() !== null) && (packaging.getQuantityOfContent() !== null)) {\n            const contentVolumeML = oldPackagingUtils.getQuantityInUnitVolume(getContentVolume(packaging), VolumeUnit.MILLILITER).getQuantity();\n\n            if (emptyWeight === null) {\n                emptyWeight = new QuantityInUnit(getDefaultBottleEmptyWeightOz(contentVolumeML), MassUnit.DRY_OUNCE);\n            }\n        \n            if ((emptyWeight !== null) && (fullWeight === null)) {\n                const netWeightKg = new QuantityInUnit(getDefaultBottleNetWeightKg(contentVolumeML), MassUnit.KILOGRAM);\n                const netWeightQuantity = oldPackagingUtils.getQuantityInUnitMass(netWeightKg, emptyWeight.getUnit()).getQuantity();\n\n                fullWeight = new QuantityInUnit(netWeightQuantity + emptyWeight.getQuantity(), emptyWeight.getUnit());\n            }       \n        }\n    }\n\n    return new PackagingWeight(emptyWeight, fullWeight);\n};\n\nconst getMeasuredFractionFromPackagingWeight = (product : Product, packagingId : PackagingId, measuredWeight : QuantityInUnit<MassUnit>) : QuantityInUnit<ProductQuantityUnit> => {\n    let emptyWeight : QuantityInUnit<MassUnit> | null = null;\n    let fullWeight : QuantityInUnit<MassUnit> | null = null;\n\n    const packaging = product.getPackagingsAndMappings().getAvailablePackagingByPackagingId().get(packagingId);\n    const packagingWeight = product.getWeightsByPackagingId().get(packagingId);\n    if ((typeof packaging !== 'undefined') && (typeof packagingWeight !== 'undefined')) {\n        const packagingWeightWithDefaultsApplied = getPackagingWeightWithDefaultsApplied(packaging, packagingWeight);\n        emptyWeight = packagingWeightWithDefaultsApplied.getEmptyWeight();\n        fullWeight = packagingWeightWithDefaultsApplied.getFullWeight();\n    }\n\n    if (emptyWeight !== null) {\n        const emptyWeightKg = oldPackagingUtils.getMassInKg(emptyWeight).getQuantity();\n        const measuredWeightKg = oldPackagingUtils.getMassInKg(measuredWeight).getQuantity();\n\n        if (product.getPackagingsAndMappings().getAvailableMassUnits().size > 0) {\n            let productWeightKg = measuredWeightKg - emptyWeightKg;\n\n            if (fullWeight !== null) {\n                productWeightKg = Math.min(productWeightKg, oldPackagingUtils.getMassInKg(fullWeight).getQuantity() - emptyWeightKg);\n                productWeightKg = Math.max(productWeightKg, 0);\n            }\n\n            return new QuantityInUnit(productWeightKg, MassUnit.KILOGRAM);\n        }\n\n        if (fullWeight !== null) {\n            let measuredFraction = (measuredWeightKg - emptyWeightKg) / (oldPackagingUtils.getMassInKg(fullWeight).getQuantity() - emptyWeightKg);      // todo: check float issue?\n            measuredFraction = Math.min(measuredFraction, 1.0);\n            measuredFraction = Math.max(measuredFraction, 0);\n\n            return new QuantityInUnit(measuredFraction, packagingId);\n        }\n    }\n\n    return new QuantityInUnit(0, packagingId);\n};\n\nexport const packagingWeightUtils = {\n    getPackagingWeightWithDefaultsApplied,\n    getMeasuredFractionFromPackagingWeight,\n};\n","import { decimalUtils, numberToDecimal } from 'shared/utils/decimalUtils';\n\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport {ProductId} from \"api/Product/model/ProductId\";\n\nconst getBottleCostFromProductCost = (packagingsAndMappings : PackagingsAndMappings, productCost : ProductCost, productId? : ProductId) : number => {\n\n    const bottlePackagingId = PackagingUtils.getContainerPackagingId(packagingsAndMappings.getPackaging());\n\n    // Note that we are using convertProductQuantityToUnit() with the from and to unit switched because\n    // in product cost the packaging unit is in the denominator ($/unit).\n    return PackagingUtils.convertProductQuantityToUnit(\n        packagingsAndMappings,\n        new QuantityInUnit(decimalUtils.decimalToNumber(productCost.getCost()), bottlePackagingId),\n        productCost.getUnit(),\n        productId\n    ).getQuantity();\n};\n\nconst getProductCostFromBottleCost = (\n    packagingsAndMappings : PackagingsAndMappings,\n    bottleCost : number,\n    productQuantityUnit : ProductQuantityUnit,\n    productId? : ProductId\n) : ProductCost => {\n\n    const bottlePackagingId = PackagingUtils.getContainerPackagingId(packagingsAndMappings.getPackaging());\n\n    // Note that we are using convertProductQuantityToUnit() with the from and to unit switched because\n    // in product cost the packaging unit is in the denominator ($/unit).\n    const productCost = PackagingUtils.convertProductQuantityToUnit(\n        packagingsAndMappings,\n        new QuantityInUnit(bottleCost, productQuantityUnit),\n        bottlePackagingId,\n        productId\n    ).getQuantity();\n\n    return new ProductCost(\n        numberToDecimal(productCost),\n        productQuantityUnit);\n};\n\nconst getCostInUnit = (\n    productCost : ProductCost,\n    unit : ProductQuantityUnit,\n    packagingsAndMappings : PackagingsAndMappings,\n    productId? : ProductId,\n) : number => {\n    return decimalUtils.decimalToNumber(productCost.getCost()) * PackagingUtils.convertProductQuantityToUnit(\n        packagingsAndMappings,\n        new QuantityInUnit<ProductQuantityUnit>(1, unit),\n        productCost.getUnit(),\n        productId\n    ).getQuantity();\n};\n\n// TODO Duplicated logic in getCostInUnit\nconst getProductCostInUnit = (packagingsAndMappings : PackagingsAndMappings, productCost : ProductCost, productQuantityUnit : ProductQuantityUnit, productId? : ProductId) : ProductCost => {\n    // Note that we are using convertProductQuantityToUnit() with the from and to unit switched because\n    // in product cost the packaging unit is in the denominator ($/unit).\n    const cost = PackagingUtils.convertProductQuantityToUnit(\n        packagingsAndMappings,\n        new QuantityInUnit(decimalUtils.decimalToNumber(productCost.getCost()), productQuantityUnit),\n        productCost.getUnit(),\n        productId\n    ).getQuantity();\n    return new ProductCost(\n        numberToDecimal(cost),\n        productQuantityUnit);\n};\n\nconst totalDollarCostOfQuantity = (\n    packagingsAndMappings : PackagingsAndMappings,\n    productCost : ProductCost,\n    quantity : QuantityInUnit<ProductQuantityUnit>,\n    productId? : ProductId)\n    : number => {\n\n    const quantityInCostUnits : QuantityInUnit<ProductQuantityUnit> =\n        PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, quantity, productCost.getUnit(), productId);\n\n    return quantityInCostUnits.getQuantity() * decimalUtils.decimalToNumber(productCost.getCost());\n};\n\nconst getDisplayInfoForProductCost = (\n    packagingsAndMappings : PackagingsAndMappings,\n    productCost : ProductCost,\n) : { resolvedCostAmount : number, displayTextForCostUnit : string } => {\n\n    const costAsNumber = decimalUtils.decimalToNumber(productCost.getCost());\n    const resolvedQuantityInUnit = PackagingUtils.resolveProductQuantityUnit(\n        new QuantityInUnit(costAsNumber, productCost.getUnit()),\n        packagingsAndMappings.getMappings()\n    );\n    const resolvedProductQuantityUnit = resolvedQuantityInUnit.getUnit();\n\n    let displayTextForCostUnit;\n    if (window.GLOBAL_FEATURE_ACCESS.multi_packaging) {\n        displayTextForCostUnit = PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(packagingsAndMappings, resolvedProductQuantityUnit, false);\n    } else {\n        displayTextForCostUnit = PackagingUtils.getDisplayTextForProductQuantityUnit(packagingsAndMappings, resolvedProductQuantityUnit, false);\n    }\n\n    return {\n        resolvedCostAmount: resolvedQuantityInUnit.getQuantity(),\n        displayTextForCostUnit,\n    };\n};\n\nconst divideProductCosts = (\n    productId : ProductId,\n    packagingsAndMappings : PackagingsAndMappings,\n    productCost1 : ProductCost,\n    productCost2 : ProductCost,\n) : number => {\n    const cost1InCost2Unit = getCostInUnit(productCost1, productCost2.getUnit(), packagingsAndMappings);\n    return cost1InCost2Unit / decimalUtils.decimalToNumber(productCost2.getCost());\n};\n\n// warn when a cost differs from its reference cost by more than this fraction (including Infinity)\nexport const COST_WARNING_DIFFERENCE_FRACTION = 0.5;\n\nconst shouldWarnAboutProductCost = (\n    productCost: ProductCost,\n    referenceProductCost: ProductCost,\n    packagingsAndMappings: PackagingsAndMappings,\n    productId: ProductId\n) : boolean => {\n    let ratio: number;\n    try {\n        ratio = divideProductCosts(productId, packagingsAndMappings, productCost, referenceProductCost);\n    } catch (e) {\n        // don't crash the page if can't calculate for some reason\n        // eslint-disable-next-line no-console\n        console.log('failed to calculate ratio for product cost: ' + productId.getValue() + ' ' + JSON.stringify(productCost) + '/' + JSON.stringify(referenceProductCost), e);\n        return false;\n    }\n\n    return Math.abs(ratio - 1) > COST_WARNING_DIFFERENCE_FRACTION;\n};\n\nexport const productCostUtils = {\n    divideProductCosts,\n    getBottleCostFromProductCost,\n    getProductCostFromBottleCost,\n    getProductCostInUnit,\n    totalDollarCostOfQuantity,\n    getDisplayInfoForProductCost,\n    shouldWarnAboutProductCost,\n    getCostInUnit,\n};\n","import { ProductCount } from 'api/InventoryCount/model/ProductCount';\nimport { ProductCountEvent } from 'api/InventoryCount/model/ProductCountEvent';\nimport { Mappings } from 'api/Product/model/Mappings';\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { decimalToNumber, numberToDecimal, numberToDecimalRoundingDown } from 'shared/utils/decimalUtils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nconst getAppropriateDecimalScale = (n : number) : number => {\n    const decimalDigits = n.toString().split('.')[1];\n    if (decimalDigits) {\n        return Math.min(decimalDigits.length, 6);\n    }\n\n    return 0;\n};\n\nconst resolveProductCountUnit = (\n    productCount : ProductCount,\n    mappings : Mappings\n) : ProductCount => {\n    const count = productCount.getCount();\n\n    if (count === null) {\n        const resolvedProductQuantityUnit = PackagingUtils.resolveProductQuantityUnit(new QuantityInUnit(1, productCount.getProductQuantityUnit()), mappings);\n        return new ProductCount(null, resolvedProductQuantityUnit.getUnit());\n    } else {\n        return getProductCount(\n            PackagingUtils.resolveProductQuantityUnit(getQuantityInUnit(productCount), mappings),\n        );\n    }\n};\n\nconst getProductCount = (quantityInUnit : QuantityInUnit<ProductQuantityUnit>) : ProductCount => {\n    const scale = { value : getAppropriateDecimalScale(quantityInUnit.getQuantity()) };\n    return new ProductCount(\n        numberToDecimalRoundingDown(quantityInUnit.getQuantity(), scale),\n        quantityInUnit.getUnit(),\n    );\n};\n\nconst getQuantityInUnit = (productCount : ProductCount) : QuantityInUnit<ProductQuantityUnit> => {\n    const count = productCount.getCount();\n    if (count === null) {\n        throw new RuntimeException('Cannot convert null ProductCount to QuantityInUnit');\n    }\n\n    return new QuantityInUnit(\n        decimalToNumber(count),\n        productCount.getProductQuantityUnit(),\n    );\n};\n\nconst convertProductCountUnit = (\n    productCount : ProductCount,\n    newProductQuantityUnit : ProductQuantityUnit,\n    packagingsAndMappings : PackagingsAndMappings\n) : ProductCount => {\n    if (productCount.getProductQuantityUnit() === newProductQuantityUnit) {\n        return productCount;\n    }\n\n    const count = productCount.getCount();\n    if (count === null) {\n        return new ProductCount(null, newProductQuantityUnit);\n    }\n\n    const covertedQuantityInUnit = PackagingUtils.convertProductQuantityToUnit(\n        packagingsAndMappings,\n        getQuantityInUnit(productCount),\n        newProductQuantityUnit,\n    );\n\n    return getProductCount(covertedQuantityInUnit);\n};\n\nconst sumProductCounts = (\n    productCounts : Array<ProductCount>,\n    packagingsAndMappings : PackagingsAndMappings\n) : ProductCount => {\n    const containerPackagingId = PackagingUtils.getContainerPackagingId(packagingsAndMappings.getPackaging());\n    let totalProductCountValue : number | null = null;\n\n    productCounts.forEach((productCount) => {\n        const count = productCount.getCount();\n\n        if (count !== null) {\n            totalProductCountValue = totalProductCountValue || 0;\n            const covertedQuantityInUnit = PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, getQuantityInUnit(productCount), containerPackagingId);\n            totalProductCountValue = totalProductCountValue + covertedQuantityInUnit.getQuantity();\n        }\n    });\n\n    return new ProductCount(\n        (totalProductCountValue === null) ? null : numberToDecimalRoundingDown(totalProductCountValue, { value : getAppropriateDecimalScale(totalProductCountValue) }),\n        containerPackagingId\n    );\n};\n\nconst isProductCountEventEmpty = (\n    productCountEvent : ProductCountEvent\n) : boolean => {\n    for (const productCount of productCountEvent.getProductCounts()) {\n        if (productCount.getCount() !== null) {\n            return false;\n        }\n    }\n    return true;\n};\n\nconst getTotalProductCountFromProductCountEvent = (\n    productCountEvent : ProductCountEvent,\n    product : Product,\n    productId? : ProductId,\n) :  ProductCount => {\n    const resolvedProductCountEvent = resolveProductCountEvent(productCountEvent, product);\n    const preferredCountUnit = getPreferredCountUnitForProductCount(resolvedProductCountEvent, product);\n    const productCounts = resolvedProductCountEvent.getProductCounts();\n    if (productCounts.length === 0) {\n        throw new RuntimeException('unexpected product count event found with no product counts ' + productId);\n    }\n\n    const packagingsAndMappings = product.getPackagingsAndMappings();\n\n    let totalCount = 0;\n    productCounts.forEach((productCount) => {\n        const count = productCount.getCount();\n        if (count) {\n            const convertedCount = PackagingUtils.convertProductQuantityToUnit(\n                packagingsAndMappings,\n                new QuantityInUnit(decimalToNumber(count), productCount.getProductQuantityUnit()),\n                preferredCountUnit,\n                productId,\n            );\n            totalCount += convertedCount.getQuantity();\n        }\n    });\n\n    return new ProductCount(\n        numberToDecimal(totalCount),\n        preferredCountUnit\n    );\n};\n\nconst resolveProductCountEvent = (\n    productCountEvent : ProductCountEvent,\n    product : Product\n) => {\n    const resolvedProductCounts : Array<ProductCount> = [];\n    productCountEvent.getProductCounts().forEach((productCount) => {\n        resolvedProductCounts.push(\n            productCountUtils.resolveProductCountUnit(productCount, product.getPackagingsAndMappings().getMappings())\n        );\n    });\n    return new ProductCountEvent(resolvedProductCounts, productCountEvent.getUserAccountIdAndTimestamp());\n};\n\nconst getPreferredCountUnitForProductCount = (\n    productCountEvent : ProductCountEvent,\n    product : Product\n) : ProductQuantityUnit => {\n    let hasMultipleUnits = false;\n    let commonUnit : ProductQuantityUnit | null = null;\n    let selectedCountUnit : ProductQuantityUnit | null = null;\n    productCountEvent.getProductCounts().forEach((productCount : ProductCount) => {\n        if (commonUnit === null) {\n            commonUnit = productCount.getProductQuantityUnit();\n        } else if (!PackagingUtils.productQuantityUnitsAreEqual(commonUnit, productCount.getProductQuantityUnit())) {\n            hasMultipleUnits = true;\n        }\n\n        if (productCount.getCount() === null) {\n            if (selectedCountUnit !== null) {\n                throw new RuntimeException('unexpected product count event found with multiple empty product counts');\n            }\n            selectedCountUnit = productCount.getProductQuantityUnit();\n        }\n    });\n\n    if (selectedCountUnit !== null) {\n        return selectedCountUnit;\n    }\n\n    return (hasMultipleUnits || commonUnit === null) ? product.getPreferredReportingUnit() : commonUnit;\n};\n\nconst getSelectedCountUnitForProductCount = (\n    productCountEvent : ProductCountEvent\n) : ProductQuantityUnit | null => {\n    const selectedCount = productCountEvent.getProductCounts().find((productCount) => productCount.getCount() === null);\n    return typeof selectedCount === 'undefined' ? null : selectedCount.getProductQuantityUnit();\n};\n\nexport const productCountUtils = {\n    getQuantityInUnit,\n    sumProductCounts,\n    convertProductCountUnit,\n    resolveProductCountUnit,\n    resolveProductCountEvent,\n    isProductCountEventEmpty,\n    getTotalProductCountFromProductCountEvent,\n    getPreferredCountUnitForProductCount,\n    getSelectedCountUnitForProductCount,\n};\n","import { StringValueSet } from 'api/Core/StringValueSet';\nimport { BaseUnit } from 'api/Product/model/BaseUnit';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Price } from 'api/Product/model/Price';\nimport { Product } from 'api/Product/model/Product';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingUnit } from 'api/Product/model/PackagingUnit';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { ProductStatus } from 'api/Product/model/ProductStatus';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nimport { PackagingUtils } from './PackagingUtils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nconst getProductWithNewPrice = (product : Product, newPrice : Price) : Product => {\n    return new Product(\n        product.getBrand(),\n        product.getName(),\n        product.getPackagingsAndMappings(),\n        product.getPreferredReportingUnit(),\n        product.getWeightsByPackagingId(),\n        product.getProductCategoryId(),\n        product.getNewProductCategoryId(),\n        product.getProductType(),\n        newPrice,\n        product.getDepositInDollars(),\n        product.getSku(),\n        product.getGLCode(),\n        product.getNote(),\n        product.getCreationEvent(),\n        product.getLastUpdateEvent(),\n        product.getConfirmationEvent(),\n    );\n};\n\nconst getProductWithNewSku = (product : Product, newSku : string) : Product => {\n    return new Product(\n        product.getBrand(),\n        product.getName(),\n        product.getPackagingsAndMappings(),\n        product.getPreferredReportingUnit(),\n        product.getWeightsByPackagingId(),\n        product.getProductCategoryId(),\n        product.getNewProductCategoryId(),\n        product.getProductType(),\n        product.getUnitPrice(),\n        product.getDepositInDollars(),\n        newSku,\n        product.getGLCode(),\n        product.getNote(),\n        product.getCreationEvent(),\n        product.getLastUpdateEvent(),\n        product.getConfirmationEvent(),\n    );\n};\n\nconst getProductWithNewCategory = (product : Product, newCategoryId : CategoryId | null, newCategoryName : string) : Product => {\n    return new Product(\n        product.getBrand(),\n        product.getName(),\n        product.getPackagingsAndMappings(),\n        product.getPreferredReportingUnit(),\n        product.getWeightsByPackagingId(),\n        newCategoryName,\n        newCategoryId,\n        product.getProductType(),\n        product.getUnitPrice(),\n        product.getDepositInDollars(),\n        product.getSku(),\n        product.getGLCode(),\n        product.getNote(),\n        product.getCreationEvent(),\n        product.getLastUpdateEvent(),\n        product.getConfirmationEvent(),\n    );\n};\n\nconst getProductWithNewGLCode = (product : Product, newGLCode : string) : Product => {\n    return new Product(\n        product.getBrand(),\n        product.getName(),\n        product.getPackagingsAndMappings(),\n        product.getPreferredReportingUnit(),\n        product.getWeightsByPackagingId(),\n        product.getProductCategoryId(),\n        product.getNewProductCategoryId(),\n        product.getProductType(),\n        product.getUnitPrice(),\n        product.getDepositInDollars(),\n        product.getSku(),\n        newGLCode,\n        product.getNote(),\n        product.getCreationEvent(),\n        product.getLastUpdateEvent(),\n        product.getConfirmationEvent(),\n    );\n};\n\nconst getProductWithConfirmationEvent = (product : Product, confirmationEvent : UserAccountIdAndTimestamp) : Product => {\n    return new Product(\n        product.getBrand(),\n        product.getName(),\n        product.getPackagingsAndMappings(),\n        product.getPreferredReportingUnit(),\n        product.getWeightsByPackagingId(),\n        product.getProductCategoryId(),\n        product.getNewProductCategoryId(),\n        product.getProductType(),\n        product.getUnitPrice(),\n        product.getDepositInDollars(),\n        product.getSku(),\n        product.getGLCode(),\n        product.getNote(),\n        product.getCreationEvent(),\n        product.getLastUpdateEvent(),\n        confirmationEvent,\n    );\n};\n\nconst getProductQuantityUnitForUnit = (product : Product, unit : MassUnit | VolumeUnit | PackagingUnit | BaseUnit) : ProductQuantityUnit => {\n    const packagingsAndMappings = product.getPackagingsAndMappings();\n    const packaging = packagingsAndMappings.getPackaging();\n    const baseProductQuantityUnit = PackagingUtils.getBaseUnitOfPackaging(packaging);\n\n    let productQuantityUnit : ProductQuantityUnit;\n    if ((baseProductQuantityUnit instanceof PackagingId) && BaseUnit.isBaseUnit(unit)) {\n        productQuantityUnit = baseProductQuantityUnit;\n    } else if (unit === PackagingUnit.CASE) {\n        const casePackagingId = packaging.getPackagingId();\n        if (casePackagingId === null) {\n            throw new RuntimeException('casePackagingId is unexpectedly null');\n        }\n\n        productQuantityUnit = casePackagingId;\n    } else if (PackagingUnit.isPackagingUnit(unit)) {\n        productQuantityUnit = PackagingUtils.getContainerPackagingId(packaging);\n    } else if (VolumeUnit.isVolumeUnit(unit) || MassUnit.isMassUnit(unit)) {\n        productQuantityUnit = unit;\n    } else {\n        throw new RuntimeException(`unexpected unit: ${ unit } for product: ${ product }`);\n    }\n\n    return productQuantityUnit;\n};\n\nconst convertPriceToProductQuantityUnit = (product : Product, productQuantityUnit : ProductQuantityUnit, productId? : ProductId) : number => {\n    const packagingsAndMappings = product.getPackagingsAndMappings();\n\n    const priceProductQuantityUnit = getProductQuantityUnitForUnit(product, product.getUnitPrice().getUnit());\n\n    const convertedProductPrice = PackagingUtils.convertProductQuantityToUnit(\n        packagingsAndMappings,\n        new QuantityInUnit(1, productQuantityUnit),\n        priceProductQuantityUnit,\n        productId\n    ).getQuantity() * product.getUnitPrice().getDollarValue();\n\n    return convertedProductPrice;\n};\n\nconst convertDepositToProductQuantityUnit = (product : Product, productQuantityUnit : ProductQuantityUnit, productId? : ProductId) : number => {\n    const packagingsAndMappings = product.getPackagingsAndMappings();\n    const priceProductQuantityUnit = getProductQuantityUnitForUnit(product, product.getUnitPrice().getUnit());\n\n    const convertedProductPrice = PackagingUtils.convertProductQuantityToUnit(\n        packagingsAndMappings,\n        new QuantityInUnit(1, productQuantityUnit),\n        priceProductQuantityUnit,\n        productId\n    ).getQuantity() * product.getDepositInDollars();\n\n    return convertedProductPrice;\n};\n\n// Determines Product status given potentially missing data.\n// Ideally this status should be returned via a single API endpoint (or even better, together with the return Product objects).\nexport const getProductStatus = (\n    productId : ProductId,\n    deletedProductIds? : StringValueSet<ProductId>,\n    activeProductIds? : StringValueSet<ProductId>\n) : ProductStatus => {\n    // not sure if deleted\n    if (deletedProductIds === undefined) {\n        return 'unknown';\n    }\n\n    // deleted (overrides archived)\n    if (deletedProductIds.has(productId)) { return 'deleted'; }\n\n    // not deleted, not sure if archived\n    if (activeProductIds === undefined) {\n        return 'unknown';\n    }\n\n    if (activeProductIds.has(productId)) {\n        return 'active';\n    } else {\n        return 'archived';\n    }\n}\n\nexport const productUtils = {\n    getProductWithNewPrice,\n    getProductWithNewSku,\n    getProductWithNewCategory,\n    getProductWithNewGLCode,\n    getProductWithConfirmationEvent,\n    getProductQuantityUnitForUnit,\n    convertPriceToProductQuantityUnit,\n    convertDepositToProductQuantityUnit,\n};\n","export enum PublicContentTypeEnum {\n    POST,\n    RESOURCE\n}\n\nexport type PublicContentTypeEnumString = 'POST' | 'RESOURCE';\n","export class PublicContentUrl {\n    private hostname : string;\n    private path : string;\n\n    constructor(hostname : string, path : string) {\n        this.hostname = hostname;\n        this.path = path;\n    }\n\n    public getHostname() : string {\n        return this.hostname;\n    }\n\n    public getPath() : string {\n        return this.path;\n    }\n}\n","export enum PublicContentViewEventTypeEnum {\n    PAGE_VIEW,\n    DOWNLOAD\n}\n","import moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { LocationId } from 'api/Location/model/LocationId';\n\nexport class ItemLevelSalesReportConfiguration {\n    constructor (\n        private readonly creationTime : moment.Moment,\n        private readonly creatorUserId : UserAccountId,\n        private readonly dateProcessed : moment.Moment | null,\n        private readonly startingInventoryId : InventoryCountId,\n        private readonly endingInventoryId : InventoryCountId,\n        private readonly salesBySalesItemId : StringValueMap<SalesItemId, SalesEntry>,\n        private readonly isProcessing : boolean,\n        private readonly trackedProductIdSet : StringValueSet<ProductId>,\n        private readonly trackSalesItemsWithNoComponents : boolean,\n        private readonly usageBottleAdjustmentsByProductId : StringValueMap<ProductId, number>, // THIS IS DEPRECATED, BUT NEED TO MAKE OLD REPORTING NUMBERS LINE UP\n        private readonly retailerId : LocationId,\n    ) {}\n\n    public getCreationTime() : moment.Moment {\n        return this.creationTime;\n    }\n\n    public getCreatorUserId() : UserAccountId {\n        return this.creatorUserId;\n    }\n\n    public getDateProcessed() : moment.Moment | null {\n        return this.dateProcessed;\n    }\n\n    public getStartingInventoryId() : InventoryCountId {\n        return this.startingInventoryId;\n    }\n\n    public getEndingInventoryId() : InventoryCountId {\n        return this.endingInventoryId;\n    }\n\n    public getSalesBySalesItemId() : StringValueMap<SalesItemId, SalesEntry> {\n        return this.salesBySalesItemId;\n    }\n\n    public getIsProcessing() : boolean {\n        return this.isProcessing;\n    }\n\n    public getTrackedProductIdSet() : StringValueSet<ProductId> {\n        return this.trackedProductIdSet;\n    }\n\n    public getTrackSalesItemsWithNoComponents() : boolean {\n        return this.trackSalesItemsWithNoComponents;\n    }\n\n    public getUsageBottleAdjustmentsByProductId() : StringValueMap<ProductId, number> {\n        return this.usageBottleAdjustmentsByProductId;\n    }\n\n    public getRetailerId(): LocationId {\n        return this.retailerId;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class ItemLevelSalesReportConfigurationId implements IStringValue {\n    constructor (private readonly value : string) { }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : ItemLevelSalesReportConfigurationId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{ItemLevelSalesReportConfigurationId: ${this.value}}`;\n    }\n}\n","// Should consider moving this to the SalesData directory, it fits better there...\n\nexport class SalesEntry {\n    constructor(\n        private readonly price : number | null,\n        private readonly quantity : number | null,\n        private readonly quantityAdjustment : number | null,\n        private readonly salesAdjustment : number | null,\n    ) {}\n\n    public getPrice() : number | null {\n        return this.price;\n    }\n\n    public getQuantity() : number | null {\n        return this.quantity;\n    }\n\n    public getQuantityAdjustment() : number | null {\n        return this.quantityAdjustment;\n    }\n\n    public getSalesAdjustment() : number | null {\n        return this.salesAdjustment;\n    }\n\n    // not typing this - field types & nullity should stay identical to the model\n    public toJson() {\n        return {\n            price : this.price,\n            quantity : this.quantity,\n            quantity_adjustment : this.quantityAdjustment,\n            sales_adjustment : this.salesAdjustment,\n        };\n    }\n}\n","import { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesEntry } from './model/SalesEntry';\n\nexport const getSalesItemReportUnitPrice = (salesItem : SalesItem, salesEntry : SalesEntry | undefined) => {\n    const salesEntryPrice = salesEntry ? salesEntry.getPrice() : null;\n    // matches current behavior: take sales entry price first, then sales item price if no entry price.\n    return (salesEntryPrice !== null) ? salesEntryPrice : salesItem.getSalesPrice();\n};\n","import { PosItemId } from './PosItemId';\n\nexport class PosItem {\n    constructor(\n        private readonly posItemId : PosItemId, // match the backend with the id in the object\n        private readonly name : string,\n        private readonly menuGroup : string,\n    ) {}\n\n    public getPosItemId() : PosItemId {\n        return this.posItemId;\n    }\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getMenuGroup() : string {\n        return this.menuGroup;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class PosItemId implements IStringValue {\n    constructor (private readonly value : string) { }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof PosItemId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{PosItemId: ${this.value}}`;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesQuantityAndUnit } from 'api/SalesItem/model/SalesQuantityAndUnit';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\n// NOTE: this is the new sales item model (from thrift/java/postgres), does not support the old model (from python)\nexport class SalesItem {\n    constructor(\n        private readonly name : string,\n        private readonly locationId : LocationId, // TODO do we want this in the front end model?\n        private readonly menuGroup : string,\n        private readonly posId : string,\n        private readonly note : string,\n        private readonly needsAttentionCategory : string | null,\n        private readonly salesPrice : number,\n        private readonly miscellaneousCost : number,\n        private readonly componentQuantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n        private readonly componentServingsBySalesItemId : StringValueMap<SalesItemId, number>,\n        private readonly itemYield : SalesQuantityAndUnit,\n        private readonly servingSize : SalesQuantityAndUnit,\n        private readonly salesItemCustomUnitName : string | null\n    ) {\n        // item yield/serving size/custom unit name check.\n        if (salesItemCustomUnitName !== null) {\n            if (itemYield.getUnit() !== null || servingSize.getUnit() !== null) {\n                throw new RuntimeException('Item yield and serving size must not have unit if a custom unit is defined');\n            }\n        } else {\n            const itemYieldUnit = itemYield.getUnit();\n            const servingSizeUnit = servingSize.getUnit();\n            if (itemYieldUnit === null || servingSizeUnit === null) {\n                throw new RuntimeException('Both yield and serving size must have measurable unit if custom unit is null');\n            } else if ((MassUnit.isMassUnit(itemYieldUnit) && !MassUnit.isMassUnit(servingSizeUnit)) || (VolumeUnit.isVolumeUnit(itemYieldUnit) && !VolumeUnit.isVolumeUnit(servingSizeUnit))) {\n                throw new RuntimeException('Both yield and serving size should have compatible units');\n            }\n\n        }\n    }\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getLocationId() : LocationId {\n        return this.locationId;\n    }\n\n    public getMenuGroup() : string {\n        return this.menuGroup;\n    }\n\n    public getPOSId() : string {\n        return this.posId;\n    }\n\n    public getNote() : string {\n        return this.note;\n    }\n\n    public getNeedsAttentionCategory() : string | null {\n        return this.needsAttentionCategory;\n    }\n\n    public getSalesPrice() : number {\n        return this.salesPrice;\n    }\n\n    public getMiscellaneousCost() : number {\n        return this.miscellaneousCost;\n    }\n\n    // This does *not* include nested product ingredients in sub-recipes - use SalesUtils.getFlatDictOfProductsPerServingInSalesItem if needed.\n    public getComponentQuantityOfProductByProductId() : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>> {\n        return this.componentQuantityOfProductByProductId;\n    }\n\n    public getComponentServingsBySalesItemId() : StringValueMap<SalesItemId, number> {\n        return this.componentServingsBySalesItemId;\n    }\n\n    public getItemYield() : SalesQuantityAndUnit {\n        return this.itemYield;\n    }\n\n    public getServingSize() : SalesQuantityAndUnit {\n        return this.servingSize;\n    }\n\n    public getSalesItemCustomUnitName() : string | null {\n        return this.salesItemCustomUnitName;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class SalesItemId implements IStringValue {\n    constructor (private readonly value : string) { }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof SalesItemId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{SalesItemId: ${this.value}}`;\n    }\n}\n","import { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nexport class SalesItemWithMetadata {\n    constructor(\n        private readonly salesItem : SalesItem,\n        private readonly creationMetadata : UserAccountIdAndTimestamp,\n        private readonly lastEditedMetadata : UserAccountIdAndTimestamp | null,\n        private readonly deletionMetadata : UserAccountIdAndTimestamp | null,\n        private readonly isArchived : boolean,\n    ) {}\n\n    public getSalesItem() : SalesItem {\n        return this.salesItem;\n    }\n\n    public getCreationMetadata() : UserAccountIdAndTimestamp {\n        return this.creationMetadata;\n    }\n\n    public getLastEditedMetadata() : UserAccountIdAndTimestamp | null {\n        return this.lastEditedMetadata;\n    }\n\n    public getDeletionMetadata() : UserAccountIdAndTimestamp | null {\n        return this.deletionMetadata;\n    }\n\n    public getIsArchived() : boolean {\n        return this.isArchived;\n    }\n}\n","import { MassUnit } from 'api/Product/model/MassUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\n\nexport class SalesQuantityAndUnit {\n    constructor(\n        private readonly quantity : number,\n        private readonly unit : VolumeUnit | MassUnit | null\n    ) {}\n\n    public getQuantity() : number {\n        return this.quantity;\n    }\n\n    public getUnit() : VolumeUnit | MassUnit | null {\n        return this.unit;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof SalesQuantityAndUnit)) {\n            return false;\n        }\n\n        return (other.getQuantity() === this.quantity && other.getUnit() === this.unit);\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { PrepEventDisplayUtils } from 'apps/CreateOrEditPrepEvent/utils/PrepEventDisplayUtils';\nimport { numberUtils } from 'shared/utils/numberUtils';\nimport { SalesItem } from '../model/SalesItem';\nimport { SalesItemId } from '../model/SalesItemId';\nimport { SalesItemWithMetadata } from '../model/SalesItemWithMetadata';\nimport { SalesItemUtils } from './SalesItemUtils';\n\nexport interface IIngredientInformation {\n    ingredientId : SalesItemId | ProductId;\n    ingredientLabel : string;\n    category : string;\n    quantityAmount : number;\n    quantityUnitLabel : string;\n    costOfIngredient : number | null;\n    isInactive? : boolean;\n}\nconst getIngredientsDisplayInformationForSalesItem = (\n    salesItem : SalesItem,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsById : StringValueMap<ProductId, ProductCost> | null,\n    salesItemCostBySalesItemId : StringValueMap<SalesItemId, number | null> | null, // if null, cost is not relevant for use case\n    activeProductIds? : StringValueSet<ProductId>,\n    deletedProductIds? : StringValueSet<ProductId>\n) : Array<IIngredientInformation> => {\n    const ingredientInformationList : Array<IIngredientInformation> = [];\n\n    // Products then sales item ingredients\n    const productIngredients = salesItem.getComponentQuantityOfProductByProductId();\n    productIngredients.forEach((quantityOfProduct, productId) => {\n        const product = productsById.getRequired(productId);\n\n        const costOfIngredient = productCostsById === null ? 0 : SalesItemUtils.getCostOfProductComponentInSalesItem(productId, quantityOfProduct, productsById, productCostsById);\n\n        const isInactive = (deletedProductIds && activeProductIds)\n            ? (deletedProductIds.has(productId) || !activeProductIds.has(productId))\n            : undefined;\n\n        ingredientInformationList.push({\n            ingredientId: productId,\n            ingredientLabel: PrepEventDisplayUtils.getLineItemProductLabel(product),\n            category: product.getProductCategoryId(),\n            quantityAmount: quantityOfProduct.getQuantity(),\n            quantityUnitLabel: PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), quantityOfProduct.getUnit(), numberUtils.isPlural(quantityOfProduct.getQuantity())),\n            costOfIngredient,\n            isInactive,\n        });\n    });\n\n    const salesItemIngredients = salesItem.getComponentServingsBySalesItemId();\n    salesItemIngredients.forEach((componentServingsQuantity, componentSalesItemId) => {\n        const componentSalesItem = salesItemsById.getRequired(componentSalesItemId);\n        const costOfComponentSalesItem = salesItemCostBySalesItemId === null ? 0 : salesItemCostBySalesItemId.getRequired(componentSalesItemId);\n\n        const costOfIngredient = SalesItemUtils.getCostOfComponentSalesItem(componentSalesItem.getSalesItem(), componentServingsQuantity, costOfComponentSalesItem);\n\n        ingredientInformationList.push({\n            ingredientId: componentSalesItemId,\n            ingredientLabel: componentSalesItem.getSalesItem().getName(),\n            category: 'recipe',\n            quantityAmount: componentServingsQuantity,\n            quantityUnitLabel: `serving${ componentServingsQuantity === 1 ? '' : 's'}`,\n            costOfIngredient,\n            isInactive: componentSalesItem.getIsArchived(),\n        });\n    });\n\n    return ingredientInformationList;\n};\n\nconst getIngredientsDisplayStringForSalesItem = (\n    ingredientsInformation : Array<IIngredientInformation>\n) : string => {\n    const ingredientsList : Array<string> = [];\n    ingredientsInformation.forEach((ingredientInformation) => {\n        const ingredientString = `${ ingredientInformation.ingredientLabel } (${ ingredientInformation.quantityAmount } ${ ingredientInformation.quantityUnitLabel })`;\n        ingredientsList.push(ingredientString);\n    });\n\n    return ingredientsList.join(', ');\n};\n\nconst getServingSizeDisplay = (product : Product, quantityOfProductInSalesItem : QuantityInUnit<ProductQuantityUnit>, isPlural : boolean) : string => {\n    return PrepEventDisplayUtils.getLineItemQuantityLabel(quantityOfProductInSalesItem, product.getPackagingsAndMappings(), isPlural);\n};\n\nexport const SalesItemDisplayUtils = {\n    getIngredientsDisplayInformationForSalesItem,\n    getIngredientsDisplayStringForSalesItem,\n    getServingSizeDisplay\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { UnitUtils } from 'api/Product/utils/UnitUtils';\nimport { getSalesItemReportUnitPrice } from 'api/Reports/salesReportingUtils';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { SalesQuantityAndUnit } from '../model/SalesQuantityAndUnit';\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\n\nconst getTotalCostOfProductsInSalesItem = (\n    salesItem : SalesItem,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>,\n) : number => {\n    let totalCostOfProductsInItem : number = 0;\n    salesItem.getComponentQuantityOfProductByProductId().forEach((quantityOfProduct, productId) => {\n        totalCostOfProductsInItem += getCostOfProductComponentInSalesItem(productId, quantityOfProduct, productsById, productCostsByProductId);\n    });\n    return totalCostOfProductsInItem;\n};\n\n// DFS to find the **first** loop if exists\nconst findSalesItemCircularReferencePath = (\n     // some contexts don't have the full sales item object yet, so pass in the ingredients list as-is\n    start: SalesItemId, startSubcomponents: Array<SalesItemId>, salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>\n) => {\n    // 0 = unvisited, 1 = in recursion stack, 2 = finished\n    const color = new StringValueMap<SalesItemId, 0 | 1 | 2>();\n    const stack: Array<SalesItemId> = [];\n    const indexInStack = new StringValueMap<SalesItemId, number>();\n    const parent = new StringValueMap<SalesItemId, SalesItemId | null>();\n\n    let rawCycle: Array<SalesItemId> | undefined; // entry..u..entry closed walk\n    let entry: SalesItemId | null = null; // entry into the cycle itself\n\n    const dfs = (sId: SalesItemId, salesSubcomponents: Array<SalesItemId>): boolean => {\n        color.set(sId, 1);\n        stack.push(sId);\n        indexInStack.set(sId, stack.length - 1);\n\n        for (const componentSalesItemId of salesSubcomponents) {\n            const c = color.get(componentSalesItemId) ?? 0;\n            if (c === 0) { // new node, recurse downward\n                parent.set(componentSalesItemId, sId)\n\n                const s = salesItemsById.getRequired(componentSalesItemId);\n                const subcomponents = Array.from(s.getSalesItem().getComponentServingsBySalesItemId().keys());\n                const found = dfs(componentSalesItemId, subcomponents);\n                if (found) return true;\n            } else if (c === 1) {\n                // cycle found \n\n                // back-edge cycle = stack[Idx..end] + id\n                const stackIdx = indexInStack.getRequired(componentSalesItemId);\n                rawCycle = stack.slice(stackIdx).concat(componentSalesItemId);\n                entry = componentSalesItemId;\n                return true;\n            }\n            // if c === 2: ignore, leaf node\n        }\n\n        stack.pop();\n        indexInStack.delete(sId);\n        color.set(sId, 2);\n        return false;\n    };\n\n    parent.set(start, null);\n    dfs(start, startSubcomponents);\n\n    if (!rawCycle) return { hasCycle: false, cyclePath: [] };\n\n    // Build path from start to entry (where the loop closes)\n    const pathToEntry: Array<SalesItemId> = [];\n    let cur : SalesItemId | null = entry;\n    // look up parents walking backwards from entry\n    while (cur !== null) {\n        pathToEntry.push(cur);\n        cur = parent.get(cur) ?? null;\n    }\n    pathToEntry.reverse(); // now: start -> ... -> entry\n\n    // full path = path from start -> entry + cycle path (don't duplicate entry value)\n    const cyclePath = pathToEntry.concat(rawCycle.slice(1));\n\n    return { hasCycle: true, cyclePath };\n}\n\nconst calculateCostOfSalesItem = (\n    salesItemId : SalesItemId,\n    salesItem : SalesItem,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>,\n    alreadyCalculatedCostsBySalesItemId : StringValueMap<SalesItemId, number | null>, // optimization: keep track of things we've already successfully calculated and just look up instead of re-calculating\n    salesItemsSeen : StringValueSet<SalesItemId>,\n) : number | null => { // null = infinite loop detected\n    const alreadyCalculatedCost = alreadyCalculatedCostsBySalesItemId.get(salesItemId);\n    if (typeof alreadyCalculatedCost !== 'undefined') {\n        return alreadyCalculatedCost;\n    }\n\n    if (salesItemsSeen.has(salesItemId)) {\n        // if we've already seen this id, we're in an infinite loop for now and say cost not calculable\n        // TODO future: can try to optimize solving this loop\n        return null;\n    }\n    salesItemsSeen.add(salesItemId);\n\n    const totalCostOfProductsInItem = getTotalCostOfProductsInSalesItem(salesItem, productsById, productCostsByProductId);\n\n    let totalCostOfSalesItemsInItem : number | null = 0;\n    salesItem.getComponentServingsBySalesItemId().forEach((numberOfServings, componentSalesItemId) => {\n        const componentSalesItemWithMetadata = salesItemsById.get(componentSalesItemId);\n        if (typeof componentSalesItemWithMetadata === 'undefined') {\n            throw new RuntimeException('unexpected componentSalesItemWithMetadata is undefined');\n        }\n\n        const costOfSalesItem = calculateCostOfSalesItem(\n            componentSalesItemId, componentSalesItemWithMetadata.getSalesItem(),\n            salesItemsById, productsById, productCostsByProductId,\n            alreadyCalculatedCostsBySalesItemId, new StringValueSet(salesItemsSeen));\n\n        if (costOfSalesItem !== null && totalCostOfSalesItemsInItem !== null) {\n            const costOfComponentQuantity = getNotNullCostOfComponentSalesItem(componentSalesItemWithMetadata.getSalesItem(), numberOfServings, costOfSalesItem);\n            totalCostOfSalesItemsInItem += costOfComponentQuantity;\n        } else {\n            totalCostOfSalesItemsInItem = null;\n        }\n    });\n\n    let totalCost : number | null;\n    if (totalCostOfSalesItemsInItem === null) {\n        totalCost = null;\n    } else {\n        totalCost = totalCostOfProductsInItem + totalCostOfSalesItemsInItem + salesItem.getMiscellaneousCost();\n    }\n\n    alreadyCalculatedCostsBySalesItemId.set(salesItemId, totalCost);\n    return totalCost;\n};\n\n// VERY IMPORTANT: the logic in flattenSalesItemsIntoProductComponents and getFlatDictOfProductsInSalesItem\n// must stay in line with _get_flat_dict_of_products_in_sales_item and _get_per_serving_product_components_and_misc_cost_by_sales_item_id in ThriftSalesItemService.py\n// that python function is used for item-level reports and the cache job, and this is currently used just in ExpectedInventory\n// but in order to ensure numbers are consistent, we need to have both functions behave the same\nconst flattenSalesItemsIntoProductPerServingComponents = (\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n) : StringValueMap<SalesItemId, StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>> => {\n    const flattenedProductComponentsBySalesItemId = new StringValueMap<SalesItemId, StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>>();\n    salesItemsById.forEach((salesItemWithMetadata, salesItemId) => {\n        const flattenedProductComponents = getFlatDictOfProductsPerServingInSalesItem(\n            salesItemId,\n            salesItemWithMetadata.getSalesItem(),\n            salesItemsById,\n            productsById,\n            new StringValueSet());\n        if (flattenedProductComponents === null) {\n            flattenedProductComponentsBySalesItemId.set(salesItemId, new StringValueMap());\n        } else {\n            flattenedProductComponentsBySalesItemId.set(salesItemId, flattenedProductComponents);\n        }\n    });\n\n    return flattenedProductComponentsBySalesItemId;\n};\n\nconst getFlatDictOfProductsPerServingInSalesItem = (\n    salesItemId : SalesItemId,\n    salesItem : SalesItem,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    salesItemsSeen : StringValueSet<SalesItemId>,\n) : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>> | null => { // null = infinite loop detected\n    if (salesItemsSeen.has(salesItemId)) {\n        // if we've already seen this id, we're in an infinite loop for now and say cost not calculable\n        // TODO future: can try to optimize solving this loop\n        return null;\n    }\n    salesItemsSeen.add(salesItemId);\n\n    // Current behavior is that when we say we sold a sales item, it means selling a serving, not a yield.\n    // this matches the backend. It is unclear if this is actually the way we want to treat POS items that have\n    // a yield that does not match the serving size (it is also unclear if this ever happens, or if the yield/serving size is only for subrecipes)\n    // if this logic changes, must change the backend as well.\n    const mapOfAllProductQuantitiesPerServing = new StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>();\n\n    const servingsPerYield = SalesItemUtils.getServingsPerYieldForSalesItem(salesItemsById.getRequired(salesItemId).getSalesItem());\n\n    // product ingredients\n    salesItem.getComponentQuantityOfProductByProductId().forEach((quantityInUnit, productId) => {\n        const quantityPerServing = quantityInUnit.getQuantity() / servingsPerYield;\n        mapOfAllProductQuantitiesPerServing.set(productId, new QuantityInUnit(quantityPerServing, quantityInUnit.getUnit()));\n    });\n\n    if (salesItem.getComponentServingsBySalesItemId().size === 0) {\n        return mapOfAllProductQuantitiesPerServing;\n    }\n\n    // sub-recipe ingredients\n    for (const componentSalesItemId of salesItem.getComponentServingsBySalesItemId().keys()) {\n        const componentSalesItemWithMetadata = salesItemsById.get(componentSalesItemId);\n        const numberOfServings = salesItem.getComponentServingsBySalesItemId().get(componentSalesItemId);\n        if (typeof componentSalesItemWithMetadata === 'undefined') {\n            throw new RuntimeException('unexpected componentSalesItemWithMetadata is undefined');\n        }\n        if (typeof numberOfServings === 'undefined') {\n            throw new RuntimeException('unexpected numberOfServings is undefined');\n        }\n        const productComponentsInComponentSalesItem = getFlatDictOfProductsPerServingInSalesItem(\n            componentSalesItemId,\n            componentSalesItemWithMetadata.getSalesItem(),\n            salesItemsById,\n            productsById,\n            new StringValueSet(salesItemsSeen));\n\n        if (productComponentsInComponentSalesItem !== null) {\n            productComponentsInComponentSalesItem.forEach((quantityOfProductInServing, productId) => {\n                // amount of product in parent (per yield) = amount of product per serving in component * number servings\n                let quantityOfProductInParentSalesItem = quantityOfProductInServing.getQuantity() * numberOfServings;\n                quantityOfProductInParentSalesItem /= servingsPerYield;\n                const quantityInUnitOfProductInSalesItem = new QuantityInUnit(quantityOfProductInParentSalesItem, quantityOfProductInServing.getUnit());\n\n                const oldValue = mapOfAllProductQuantitiesPerServing.get(productId);\n                if (typeof oldValue === 'undefined') {\n                    mapOfAllProductQuantitiesPerServing.set(productId, quantityInUnitOfProductInSalesItem);\n                } else {\n                    const product = productsById.get(productId);\n                    if (typeof product === 'undefined') {\n                        throw new RuntimeException(`unexpected product not found in productsById ${productId}`);\n                    }\n\n                    const unitToConvertTo = oldValue.getUnit();\n                    const newQuantityInOldUnit = PackagingUtils.convertProductQuantityToUnit(\n                        product.getPackagingsAndMappings(),\n                        quantityInUnitOfProductInSalesItem,\n                        unitToConvertTo,\n                        productId\n                    ).getQuantity();\n                    mapOfAllProductQuantitiesPerServing.set(productId, new QuantityInUnit(oldValue.getQuantity() + newQuantityInOldUnit, unitToConvertTo));\n                }\n            });\n        } else {\n            return new StringValueMap(); // if inifinite loop detected, break;\n        }\n    }\n\n    return mapOfAllProductQuantitiesPerServing;\n};\n\nconst getServingsPerYieldForSalesItem = (salesItem : SalesItem) : number => {\n    const itemYield = salesItem.getItemYield();\n    const servingSize = salesItem.getServingSize();\n\n    return getServingsPerYield(servingSize, itemYield);\n};\n\nconst getServingsPerYield = (servingSize : SalesQuantityAndUnit, itemYield : SalesQuantityAndUnit) => {\n    const yieldUnit = itemYield.getUnit();\n    const servingUnit = servingSize.getUnit();\n\n    let servingsPerYield : number;\n    if (yieldUnit === null || servingUnit === null) { // the model enforces that these both must be null or both not null\n        servingsPerYield = itemYield.getQuantity() / servingSize.getQuantity();\n    } else {\n        const numberServingsPerOneYieldUnit = UnitUtils.convertUnitQuantity(new QuantityInUnit(servingSize.getQuantity(), servingUnit), yieldUnit).getQuantity();\n        servingsPerYield = itemYield.getQuantity() / numberServingsPerOneYieldUnit;\n    }\n\n    return servingsPerYield;\n};\n\nconst getCostOfProductComponentInSalesItem = (\n    productId : ProductId,\n    quantityInSalesItem : QuantityInUnit<ProductQuantityUnit>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>,\n) => {\n    const product = productsById.getRequired(productId);\n    const productCost = productCostsByProductId.getRequired(productId);\n    return productCostUtils.totalDollarCostOfQuantity(product.getPackagingsAndMappings(), productCost, quantityInSalesItem, productId);\n};\n\nconst getCostOfComponentSalesItem = (\n    componentSalesItem : SalesItem,\n    numberOfServingsInMainSalesItem : number,\n    costOfComponentSalesItem : number | null) : number | null => {\n    if (costOfComponentSalesItem === null) {\n        return null;\n    }\n\n    return getNotNullCostOfComponentSalesItem(componentSalesItem, numberOfServingsInMainSalesItem, costOfComponentSalesItem);\n};\n\n// separate function for typing reasons\nconst getNotNullCostOfComponentSalesItem = (\n    componentSalesItem : SalesItem,\n    numberOfServingsInMainSalesItem : number,\n    costOfComponentSalesItem : number) : number => {\n    const servingsPerYieldInComponent = getServingsPerYieldForSalesItem(componentSalesItem);\n    const costOfComponentQuantity = (numberOfServingsInMainSalesItem / servingsPerYieldInComponent) * costOfComponentSalesItem;\n\n    return costOfComponentQuantity;\n};\n\nconst getCostsBySalesItemId = (\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>,\n) : StringValueMap<SalesItemId, number | null> => {\n\n    const costBySalesItemId = new StringValueMap<SalesItemId, number | null>();\n    salesItemsById.forEach((salesItemWithMetadata, salesItemId) => {\n        const salesItemCost = calculateCostOfSalesItem(\n            salesItemId,\n            salesItemWithMetadata.getSalesItem(),\n            salesItemsById,\n            productsById,\n            productCostsByProductId,\n            costBySalesItemId,\n            new StringValueSet());\n        costBySalesItemId.set(salesItemId, salesItemCost);\n    });\n\n    return costBySalesItemId;\n};\n\nconst getCostPercentageOfSalesItem = (\n    salesItemPrice : number,\n    salesItemCost : number | null\n) : number | null => {\n    if (salesItemCost === null || salesItemPrice === 0) { // no dividing by 0\n        return null;\n    }\n\n    return (salesItemCost * 100) / salesItemPrice; // TODO do we want to ensure that this ratio isn't insane?\n};\n\nconst calculatePricePlusTax = (price : number, taxPercent : number | null) => {\n    if (taxPercent === null) {\n        return price;\n    }\n\n    return (price * (100.0 + taxPercent) / 100.0);\n};\n\nconst calculateSalesItemProfit = (price : number, cost : number | null) => {\n    if (cost === null) {\n        return null;\n    }\n\n    return price - cost;\n};\n\nconst getSalesPriceFromPriceAndTax = (pricePlusTax : number, taxPercent : number | null) : number => {\n    if (taxPercent === null) {\n        return pricePlusTax;\n    }\n\n    return (pricePlusTax * 100.0 / (100.0 + taxPercent));\n};\n\n// these two utils should not be called for items with a null cost (cannot calculate these things)\nconst getSalesPriceFromCostPercent = (costPercent : number, salesItemCost : number) : number => {\n   return (salesItemCost * 100.0 / costPercent);\n};\nconst getSalesPriceFromSalesProfit = (salesProfit : number, salesItemCost : number) : number => {\n    return salesProfit + salesItemCost;\n};\n\n// should be kept in sync with sales_utils! TODO do we want to improve this???\nconst getCategoryAndSubCategoryForSalesItem = (\n    flattenedMapOfProductsInSalesItem : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n    productsById : StringValueMap<ProductId, Product>,\n) : {category : string, subcategory : string} => {\n    let category : string;\n    let subcategory : string;\n\n    const productsInSalesItem = flattenedMapOfProductsInSalesItem;\n    if (productsInSalesItem.size === 0) {\n        category = 'Uncategorized';\n        subcategory = 'Uncategorized';\n    } else if (productsInSalesItem.size === 1) {\n        const productId = productsInSalesItem.keys().next().value;\n        const product = productsById.get(productId);\n        if (typeof product === 'undefined') {\n            throw new RuntimeException(`unexpected product not found in productsById ${productId}`);\n        }\n        category = product.getProductCategoryId();\n        subcategory = product.getProductType();\n    } else {\n        const categories = new Set<string>();\n        productsInSalesItem.forEach((quantity, productId) => {\n            const product = productsById.getRequired(productId);\n            categories.add(product.getProductCategoryId());\n        });\n        if (categories.size === 1) {\n            const categoryValue = categories.keys().next().value!;\n            category = categoryValue;\n            subcategory = categoryValue;\n        } else {\n            category = 'Multiple Ingredients';\n            subcategory = 'Multiple Ingredients';\n        }\n    }\n\n    return {\n        category,\n        subcategory\n    };\n};\n\n// Returns the ids of sales items whose direct product components include any of the given products.\nconst getSalesItemIdsReferencingProducts = (\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productIds : StringValueSet<ProductId>,\n) : StringValueSet<SalesItemId> => {\n    const result = new StringValueSet<SalesItemId>();\n    if (productIds.size === 0) {\n        return result;\n    }\n    salesItemsById.forEach((salesItemWithMetadata, salesItemId) => {\n        const componentProductIds = salesItemWithMetadata.getSalesItem().getComponentQuantityOfProductByProductId();\n        for (const productId of productIds.values()) {\n            if (componentProductIds.has(productId)) {\n                result.add(salesItemId);\n                break;\n            }\n        }\n    });\n    return result;\n};\n\n// need products by id for unit resolution\nconst areSalesItemsEqual = (salesItem1 : SalesItem, salesItem2 : SalesItem, productsById : StringValueMap<ProductId, Product>) : boolean => {\n    // simple fields\n    if (salesItem1.getName() !== salesItem2.getName() ||\n        !salesItem1.getLocationId().equals(salesItem2.getLocationId()) ||\n        salesItem1.getMenuGroup() !== salesItem2.getMenuGroup() ||\n        salesItem1.getPOSId() !== salesItem2.getPOSId() ||\n        salesItem1.getNote() !== salesItem2.getNote() ||\n        salesItem1.getNeedsAttentionCategory() !== salesItem2.getNeedsAttentionCategory() ||\n        salesItem1.getSalesPrice() !== salesItem2.getSalesPrice() ||\n        salesItem1.getMiscellaneousCost() !== salesItem2.getMiscellaneousCost()) {\n        return false;\n    }\n\n    // object fields\n\n    // componentQuantityOfProductByProductId\n    if (salesItem1.getComponentQuantityOfProductByProductId().size !== salesItem2.getComponentQuantityOfProductByProductId().size) {\n        return false;\n    } else {\n        let allProductComponentsAreEqual : boolean = true;\n        salesItem1.getComponentQuantityOfProductByProductId().forEach((quantityInUnit1, productId) => {\n            const product = productsById.get(productId);\n            if (typeof product === 'undefined') {\n                throw new RuntimeException(`unexpected product not found in productsById ${productId}`);\n            }\n\n            const quantityInUnit2 = salesItem2.getComponentQuantityOfProductByProductId().get(productId);\n            if (typeof quantityInUnit2 === 'undefined') {\n                allProductComponentsAreEqual = false;\n            } else {\n                const resolved1 = PackagingUtils.resolveProductQuantityUnit(quantityInUnit1, product.getPackagingsAndMappings().getMappings());\n                const resolved2 = PackagingUtils.resolveProductQuantityUnit(quantityInUnit2, product.getPackagingsAndMappings().getMappings());\n\n                if (!resolved1.equals(resolved2)) {\n                    allProductComponentsAreEqual = false;\n                }\n            }\n        });\n\n        if (!allProductComponentsAreEqual) {\n            return false;\n        }\n    }\n\n    // componentServingsBySalesItemId\n    if (salesItem1.getComponentServingsBySalesItemId().size !== salesItem2.getComponentServingsBySalesItemId().size) {\n        return false;\n    } else {\n        let allSalesItemComponentsAreEqual : boolean = true;\n        salesItem1.getComponentServingsBySalesItemId().forEach((numberServings1, salesItemId) => {\n            const numberServings2 = salesItem2.getComponentServingsBySalesItemId().get(salesItemId);\n            if (typeof numberServings2 === 'undefined' || numberServings1 !== numberServings2) {\n                allSalesItemComponentsAreEqual = false;\n            }\n        });\n        if (!allSalesItemComponentsAreEqual) {\n            return false;\n        }\n    }\n\n    // itemYield, servingSize, salesItemCustomUnitName\n    if (salesItem1.getSalesItemCustomUnitName() !== salesItem2.getSalesItemCustomUnitName() ||\n        !salesItem1.getItemYield().equals(salesItem2.getItemYield()) ||\n        !salesItem1.getServingSize().equals(salesItem2.getServingSize())) {\n        return false;\n    }\n\n    return true;\n};\n\nconst getDistributedSalesForMiscCostFromSalesItem = (\n    salesItemId : SalesItemId,\n    salesItem : SalesItem,\n    salesTotal : number,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>,\n) : number => {\n    const miscCost = salesItem.getMiscellaneousCost();\n\n    if (miscCost === 0) {\n        return 0;\n    }\n\n    const componentQuantityOfProductByProductId = getFlatDictOfProductsPerServingInSalesItem(\n        salesItemId,\n        salesItem,\n        salesItemsById,\n        productsById,\n        new StringValueSet()\n    );\n    if (componentQuantityOfProductByProductId === null) {\n        throw new RuntimeException(\"recipe contains infinite loop: \" + salesItemId.getValue());\n    }\n\n    // If sales item has no product components, we will attribute all sales to misc\n    if (componentQuantityOfProductByProductId.size === 0) {\n        return salesTotal;\n    }\n\n    let totalCostOfProductsInSalesItem = miscCost;\n    componentQuantityOfProductByProductId.forEach((quantityInUnit, productId) => {\n        totalCostOfProductsInSalesItem += getCostOfProductComponentInSalesItem(productId, quantityInUnit, productsById, productCostsByProductId);\n    });\n\n    // totalCostOfProductsInSalesItem includes the non-zero misc cost, so we can safely divide\n    return salesTotal * (miscCost / totalCostOfProductsInSalesItem);\n};\n\n// Duplicates get_distributed_sales_by_product_id_from_sales_item in sales_utils.py\n// unmapped: sales from POS items with no recipe (no component products)\n// unallocated: sales from POS items with a recipe, but all ingredient costs are $0 (can't distribute by cost proportion)\nconst getDistributedSalesByProductIdFromSalesItem = (\n    salesItem : SalesItem,\n    componentQuantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,     // flattened ingredient list\n    salesTotal : number,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>,\n    includeMiscCost : boolean\n) : { byProductId: StringValueMap<ProductId, number>, unmapped: number, unallocated: number } => {\n    const distributedSalesByProductId = new StringValueMap<ProductId, number>();\n\n    if (componentQuantityOfProductByProductId.size === 0) {\n        return { byProductId: distributedSalesByProductId, unmapped: salesTotal, unallocated: 0 };\n    }\n\n    if (componentQuantityOfProductByProductId.size === 1 && (!includeMiscCost || salesItem.getMiscellaneousCost() === 0)) {\n        // Single ingredient sales items may have 0 cost, so just set to salesTotal here instead of trying to calculate\n        distributedSalesByProductId.set(componentQuantityOfProductByProductId.keys().next().value, salesTotal);\n        return { byProductId: distributedSalesByProductId, unmapped: 0, unallocated: 0 };\n    }\n\n    const ingredientCostByProductId = new StringValueMap<ProductId, number>();\n    let totalCostOfProductsInSalesItem = 0;\n    componentQuantityOfProductByProductId.forEach((quantityInUnit, productId) => {\n        const costOfProductComponentInSalesItem = getCostOfProductComponentInSalesItem(productId, quantityInUnit, productsById, productCostsByProductId);\n        ingredientCostByProductId.set(productId, costOfProductComponentInSalesItem);\n        totalCostOfProductsInSalesItem += costOfProductComponentInSalesItem;\n    });\n\n    if (includeMiscCost) {\n        totalCostOfProductsInSalesItem += salesItem.getMiscellaneousCost();\n    }\n\n    if (totalCostOfProductsInSalesItem === 0) {\n        // do not include distributed sales for items with no cost; return full amount as unallocated\n        return { byProductId: distributedSalesByProductId, unmapped: 0, unallocated: salesTotal };\n    }\n\n    ingredientCostByProductId.forEach((componentCost, productId) => {\n        const distributedSales = salesTotal * (componentCost / totalCostOfProductsInSalesItem);\n        distributedSalesByProductId.set(productId, distributedSales);\n    });\n\n    return { byProductId: distributedSalesByProductId, unmapped: 0, unallocated: 0 };\n};\n\nconst getDistributedSalesByProductIdForSalesItems = (\n    salesBySalesItemId: StringValueMap<SalesItemId, SalesEntry>,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>,\n    shouldUseGrossSalesForTotalSales : boolean,\n    includeMiscCost : boolean\n) : { byProductId: StringValueMap<ProductId, number>, unallocatedSalesBySalesItemId: StringValueMap<SalesItemId, number> } => {\n    const salesByProductId = new StringValueMap<ProductId, number>();\n    const unallocatedSalesBySalesItemId = new StringValueMap<SalesItemId, number>();\n\n    salesBySalesItemId.forEach((salesEntry, salesItemId) => {\n        const salesItem = salesItemsById.getRequired(salesItemId).getSalesItem();\n        const totalSales = getSalesTotal(salesItem, salesEntry, shouldUseGrossSalesForTotalSales);\n\n        // does not matter whether this is per serving or yield as long as relative proportions are correct\n        const productAmountsPerServing = getFlatDictOfProductsPerServingInSalesItem(\n            salesItemId,\n            salesItem,\n            salesItemsById,\n            productsById,\n            new StringValueSet()\n        );\n        if (productAmountsPerServing === null) {\n            throw new RuntimeException(\"recipe contains infinite loop: \" + salesItemId.getValue())\n        }\n\n        const { byProductId: distributedSalesByProductId, unallocated } = getDistributedSalesByProductIdFromSalesItem(\n            salesItem,\n            productAmountsPerServing,\n            totalSales,\n            productsById,\n            productCostsByProductId,\n            includeMiscCost\n        );\n\n        if (unallocated > 0) {\n            unallocatedSalesBySalesItemId.set(salesItemId, unallocated);\n        }\n        distributedSalesByProductId.forEach((distributedSales, productId) => {\n            const existingDistributedSales = salesByProductId.get(productId) || 0;\n            salesByProductId.set(productId, existingDistributedSales + distributedSales);\n        });\n    });\n\n    return { byProductId: salesByProductId, unallocatedSalesBySalesItemId };\n}\n\n// Duplicates get_sales_total in SalesEntry.py, but includes additional handling for whether to use gross sales\nconst getSalesTotal = (\n    salesItem: SalesItem,\n    salesEntry: SalesEntry,\n    shouldUseGrossSalesForTotalSales: boolean\n) : number => {\n    const salesPrice = getSalesItemReportUnitPrice(salesItem, salesEntry);\n    const servingsSold = (salesEntry.getQuantity() || 0) + (salesEntry.getQuantityAdjustment() || 0);\n\n    return (salesPrice * servingsSold) + (shouldUseGrossSalesForTotalSales ? 0 : (salesEntry.getSalesAdjustment() || 0));\n}\n\nexport const SalesItemUtils = {\n    calculateCostOfSalesItem,\n    getCostsBySalesItemId,\n    getServingsPerYieldForSalesItem,\n    getCostOfComponentSalesItem,\n    getCostOfProductComponentInSalesItem,\n    getCostPercentageOfSalesItem,\n    calculatePricePlusTax,\n    calculateSalesItemProfit,\n    getCategoryAndSubCategoryForSalesItem,\n    getSalesPriceFromCostPercent,\n    getSalesPriceFromPriceAndTax,\n    getSalesPriceFromSalesProfit,\n    areSalesItemsEqual,\n    getServingsPerYield,\n    flattenSalesItemsIntoProductPerServingComponents,\n    getFlatDictOfProductsPerServingInSalesItem,\n    getDistributedSalesByProductIdForSalesItems,\n    getDistributedSalesForMiscCostFromSalesItem,\n    getSalesTotal,\n    findSalesItemCircularReferencePath,\n    getSalesItemIdsReferencingProducts,\n};\n","import ProductMappingModel from 'gen-thrift/product_mapping_Model_types';\n\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nexport class InterLocationProductMapping {\n\n    constructor (\n        private readonly sourceLocationId : LocationId,\n        private readonly sourceProductId : ProductId,\n        private readonly sourceQuantityOfProduct : QuantityInUnit<ProductQuantityUnit>,\n        private readonly targetLocationId : LocationId,\n        private readonly targetProductId : ProductId,\n        private readonly targetQuantityOfProduct : QuantityInUnit<ProductQuantityUnit>,\n        // only set on mappings read back from the server\n        private readonly matchAlgorithm : ProductMappingModel.ProductMatchAlgorithm | null = null,\n        private readonly lastUpdate : UserAccountIdAndTimestamp | null = null,\n    ) {}\n\n    public getSourceLocationId() : LocationId {\n        return this.sourceLocationId;\n    }\n\n    public getSourceProductId() : ProductId {\n        return this.sourceProductId;\n    }\n\n    public getSourceQuantityOfProduct() : QuantityInUnit<ProductQuantityUnit> {\n        return this.sourceQuantityOfProduct;\n    }\n\n    public getTargetLocationId() : LocationId {\n        return this.targetLocationId;\n    }\n\n    public getTargetProductId() : ProductId {\n        return this.targetProductId;\n    }\n\n    public getTargetQuantityOfProduct() : QuantityInUnit<ProductQuantityUnit> {\n        return this.targetQuantityOfProduct;\n    }\n\n    public getMatchAlgorithm() : ProductMappingModel.ProductMatchAlgorithm | null {\n        return this.matchAlgorithm;\n    }\n\n    public getLastUpdate() : UserAccountIdAndTimestamp | null {\n        return this.lastUpdate;\n    }\n}\n","export enum TransferDirection {\n    FROM_PARTNER_TO_PERSPECTIVE_LOCATION,\n    FROM_PERSPECTIVE_TO_PARTNER_LOCATION\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class TransferId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (other instanceof TransferId) {\n            return this.getValue() === other.getValue();\n        }\n\n        return false;\n    }\n\n    public toString() : string {\n        return `{TransferId: ${this.value}}`;\n    }\n}\n","import { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\n// TODO Use different time model\n\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { TransferDirection } from 'api/Transfer/model/TransferDirection';\n\nexport class TransferReportData {\n\n    constructor (\n        private readonly perspectiveLocation : LocationId,\n        private readonly productAmounts : Array<ProductAmount>,\n        private readonly partnerLocation : LocationId | string,\n        private readonly direction : TransferDirection,\n        private readonly time : CoreTimeModel.TimestampWithMillisecondPrecision,\n        private readonly note : string,\n        private readonly requestMetadata : UserAccountIdAndTimestamp | null,\n        private readonly sentMetadata : UserAccountIdAndTimestamp | null,\n        private readonly receivedMetadata : UserAccountIdAndTimestamp | null,\n        private readonly cancellationMetadata : UserAccountIdAndTimestamp | null,\n        private readonly cancellationNote : string | null,\n    ) {}\n\n    public getPerspectiveLocation() : LocationId {\n        return this.perspectiveLocation;\n    }\n\n    public getProductAmounts() : Array<ProductAmount> {\n        return this.productAmounts;\n    }\n\n    public getPartnerLocation() : LocationId | string {\n        return this.partnerLocation;\n    }\n\n    public getDirection() : TransferDirection {\n        return this.direction;\n    }\n\n    public getTime() : CoreTimeModel.TimestampWithMillisecondPrecision {\n        return this.time;\n    }\n\n    public getNote() : string {\n        return this.note;\n    }\n\n    public getRequestMetadata() : UserAccountIdAndTimestamp | null {\n        return this.requestMetadata;\n    }\n\n    public getSentMetadata() : UserAccountIdAndTimestamp | null {\n        return this.sentMetadata;\n    }\n\n    public getReceivedMetadata() : UserAccountIdAndTimestamp | null {\n        return this.receivedMetadata;\n    }\n\n    public getCancellationMetadata() : UserAccountIdAndTimestamp | null {\n        return this.cancellationMetadata;\n    }\n\n    public getCancellationNote() : string | null {\n        return this.cancellationNote;\n    }\n}\n","import { TransferReport } from 'api/Transfer/model/TransferReport';\nimport { TransferReportWithoutCost } from 'api/Transfer/model/TransferReportWithoutCost';\n\nexport const TransferStatus = {\n    COMPLETE: 'Complete',\n    CANCELLED: 'Cancelled',\n    REQUESTED: 'Requested',\n    SENT: 'Sent',\n};\n\nconst getTransferIsRequisition = (transfer : TransferReport | TransferReportWithoutCost) => {\n  return transfer.getTransferReportData().getRequestMetadata() !== null ||\n      transfer.getTransferReportData().getSentMetadata() !== null ||\n      transfer.getTransferReportData().getReceivedMetadata() !== null ||\n      transfer.getTransferReportData().getCancellationMetadata() !== null;\n};\n\nconst getTransferStatus = (transfer : TransferReport | TransferReportWithoutCost) => {\n    if (transfer.getTransferReportData().getReceivedMetadata() !== null) {\n        return TransferStatus.COMPLETE;\n    }\n\n    if (transfer.getTransferReportData().getCancellationMetadata() !== null) {\n        return TransferStatus.CANCELLED;\n    }\n\n    if (transfer.getTransferReportData().getSentMetadata() !== null) {\n        return TransferStatus.SENT;\n    }\n\n    if (transfer.getTransferReportData().getRequestMetadata() !== null) {\n        return TransferStatus.REQUESTED;\n    }\n\n    return TransferStatus.COMPLETE;\n};\n\nexport const TransferUtils = {\n    getTransferStatus,\n    getTransferIsRequisition\n};\n","import { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { TransferId } from 'api/Transfer/model/TransferId';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nexport class UsageCalculationParameters {\n\n    constructor(\n        private readonly unitCountsByProductIdByStorageAreaIdForStartingInventory : StringValueMap<ProductId, StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>>>,\n        private readonly unitCountsByProductIdByStorageAreaIdForEndingInventory : StringValueMap<ProductId, StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>>>,\n        private readonly unitCountsByProductIdByDeliveryId : StringValueMap<ProductId, StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>>>,\n        private readonly unitCountsByProductIdByTransferId : StringValueMap<ProductId, StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>>>,\n        private readonly inputUnitCountsByProductIdByPrepEventId : StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>>,\n        private readonly outputUnitCountsByProductIdByPrepEventId : StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>>,\n        private readonly unitCostsByProductId : StringValueMap<ProductId, ProductCost>\n    ) { }\n\n    public getUnitCountsByProductIdByStorageAreaIdForStartingInventory() : StringValueMap<ProductId, StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>>> {\n        return this.unitCountsByProductIdByStorageAreaIdForStartingInventory;\n    }\n\n    public getUnitCountsByProductIdByStorageAreaIdForEndingInventory() : StringValueMap<ProductId, StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>>> {\n        return this.unitCountsByProductIdByStorageAreaIdForEndingInventory;\n    }\n\n    public getUnitCountsByProductIdByDeliveryId() : StringValueMap<ProductId, StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>>> {\n        return this.unitCountsByProductIdByDeliveryId;\n    }\n\n    public getUnitCountsByProductIdByTransferId() : StringValueMap<ProductId, StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>>> {\n        return this.unitCountsByProductIdByTransferId;\n    }\n\n    public getInputUnitCountsByProductIdByPrepEventId() : StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>> {\n        return this.inputUnitCountsByProductIdByPrepEventId;\n    }\n\n    public getOutputUnitCountsByProductIdByPrepEventId() : StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>> {\n        return this.outputUnitCountsByProductIdByPrepEventId;\n    }\n\n    public getUnitCostsByProductId() : StringValueMap<ProductId, ProductCost> {\n        return this.unitCostsByProductId;\n    }\n}\n","import { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { UsageCalculationParameters } from './UsageCalculationParameters';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\n\nexport class UsageData {\n\n    constructor(\n        private readonly usageCalculationParameters : UsageCalculationParameters,\n        private readonly usageByProductId : StringValueMap<ProductId, {unitUsage : QuantityInUnit<ProductQuantityUnit>, dollarUsage : number}>\n    ) { }\n\n    public getUsageCalculationParameters() : UsageCalculationParameters {\n        return this.usageCalculationParameters;\n    }\n\n    public getUsageByProductId() : StringValueMap<ProductId, {unitUsage : QuantityInUnit<ProductQuantityUnit>, dollarUsage : number}> {\n        return this.usageByProductId;\n    }\n}\n","import { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { BreakageReport } from 'api/Breakage/model/BreakageReport';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { InventoryCountMetadata } from 'api/InventoryCount/model/InventoryCountMetadata';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { TransferDirection } from 'api/Transfer/model/TransferDirection';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { TransferReportWithoutCost } from 'api/Transfer/model/TransferReportWithoutCost';\nimport { TransferStatus, TransferUtils } from 'api/Transfer/utils/TransferUtils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { UsageData } from '../model/UsageData';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nconst getDeliveriesAndTransfersAndPrepsCounts = (\n    product : Product,\n    unitCountByDeliveryId : StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>> | undefined,\n    unitCountByTransferId : StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>> | undefined,\n    inputUnitCountByPrepEventId : StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>> | undefined,\n    outputUnitCountByPrepEventId : StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>> | undefined,\n) => {\n    let deliveriesUnitCountInPreferredReportingUnit;\n    const preferredReportingUnit = product.getPreferredReportingUnit();\n    if (unitCountByDeliveryId) {\n        let deliveriesUnitSum = 0;\n        unitCountByDeliveryId.forEach((value, key) => {\n            let unitCount = value;\n            if (preferredReportingUnit && !PackagingUtils.productQuantityUnitsAreEqual(preferredReportingUnit, unitCount.getUnit())) {\n                unitCount = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), unitCount, preferredReportingUnit);\n            }\n            deliveriesUnitSum += unitCount.getQuantity();\n        });\n        deliveriesUnitCountInPreferredReportingUnit = deliveriesUnitSum;\n    }\n\n    let transfersInUnitCountInPreferredReportingUnit;\n    let transfersOutUnitCountInPreferredReportingUnit;\n    if (unitCountByTransferId) {\n        const transferAmounts = Array.from(unitCountByTransferId.values());\n        for (let i = 0; i < transferAmounts.length; i++) {\n            let transferAmount = transferAmounts[i];\n            if (!PackagingUtils.productQuantityUnitsAreEqual(preferredReportingUnit, transferAmount.getUnit())) {\n                transferAmount = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), transferAmount, preferredReportingUnit);\n            }\n            const amount = transferAmount.getQuantity();\n\n            if (amount > 0) {\n                transfersInUnitCountInPreferredReportingUnit = (transfersInUnitCountInPreferredReportingUnit ? transfersInUnitCountInPreferredReportingUnit : 0) + amount;\n            } else {\n                transfersOutUnitCountInPreferredReportingUnit = (transfersOutUnitCountInPreferredReportingUnit ? transfersOutUnitCountInPreferredReportingUnit : 0) + amount;\n            }\n        }\n    }\n\n    let prepEventsInputUnitCountInPreferredReportingUnit : number | undefined;\n    let prepEventsOutputUnitCountInPreferredReportingUnit : number | undefined;\n    if (inputUnitCountByPrepEventId) {\n        inputUnitCountByPrepEventId.forEach((unitCounts, prepEventId) => {\n            let unitCount = unitCounts;\n            if (!PackagingUtils.productQuantityUnitsAreEqual(preferredReportingUnit, unitCount.getUnit())) {\n                unitCount = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), unitCount, preferredReportingUnit);\n            }\n            prepEventsInputUnitCountInPreferredReportingUnit = (prepEventsInputUnitCountInPreferredReportingUnit ? prepEventsInputUnitCountInPreferredReportingUnit : 0) + unitCount.getQuantity();\n        });\n    }\n    if (outputUnitCountByPrepEventId) {\n        outputUnitCountByPrepEventId.forEach((unitCounts, prepEventId) => {\n            let unitCount = unitCounts;\n            if (!PackagingUtils.productQuantityUnitsAreEqual(preferredReportingUnit, unitCount.getUnit())) {\n                unitCount = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), unitCount, preferredReportingUnit);\n            }\n            prepEventsOutputUnitCountInPreferredReportingUnit = (prepEventsOutputUnitCountInPreferredReportingUnit ? prepEventsOutputUnitCountInPreferredReportingUnit : 0) + unitCount.getQuantity();\n        });\n    }\n\n    let deliveriesAndTransfersAndPrepsTotalCountInPreferredReportingUnit : number | undefined;\n    if ((typeof deliveriesUnitCountInPreferredReportingUnit !== 'undefined') ||\n        (typeof transfersInUnitCountInPreferredReportingUnit !== 'undefined') ||\n        (typeof transfersOutUnitCountInPreferredReportingUnit !== 'undefined') ||\n        (typeof prepEventsInputUnitCountInPreferredReportingUnit !== 'undefined') ||\n        (typeof prepEventsOutputUnitCountInPreferredReportingUnit !== 'undefined')) {\n        deliveriesAndTransfersAndPrepsTotalCountInPreferredReportingUnit = (deliveriesUnitCountInPreferredReportingUnit ? deliveriesUnitCountInPreferredReportingUnit : 0) +\n                                 (transfersInUnitCountInPreferredReportingUnit ? transfersInUnitCountInPreferredReportingUnit : 0) +\n                                 (transfersOutUnitCountInPreferredReportingUnit ? transfersOutUnitCountInPreferredReportingUnit : 0) +\n                                 (prepEventsInputUnitCountInPreferredReportingUnit ? prepEventsInputUnitCountInPreferredReportingUnit * -1 : 0) + // inputs = negative\n                                 (prepEventsOutputUnitCountInPreferredReportingUnit ? prepEventsOutputUnitCountInPreferredReportingUnit : 0);\n    }\n\n    return {\n        deliveriesUnitCount: (deliveriesUnitCountInPreferredReportingUnit) ? new QuantityInUnit(deliveriesUnitCountInPreferredReportingUnit, preferredReportingUnit) : undefined,\n        transfersInUnitCount: (transfersInUnitCountInPreferredReportingUnit) ? new QuantityInUnit(transfersInUnitCountInPreferredReportingUnit, preferredReportingUnit) : undefined,\n        transfersOutUnitCount: (transfersOutUnitCountInPreferredReportingUnit) ? new QuantityInUnit(transfersOutUnitCountInPreferredReportingUnit, preferredReportingUnit) : undefined,\n        prepEventsInputUnitCount: (prepEventsInputUnitCountInPreferredReportingUnit) ? new QuantityInUnit(prepEventsInputUnitCountInPreferredReportingUnit * -1, preferredReportingUnit) : undefined,\n        prepEventsOutputUnitCount: (prepEventsOutputUnitCountInPreferredReportingUnit) ? new QuantityInUnit(prepEventsOutputUnitCountInPreferredReportingUnit, preferredReportingUnit) : undefined,\n        deliveriesAndTransfersAndPrepsTotalCount: (deliveriesAndTransfersAndPrepsTotalCountInPreferredReportingUnit) ? new QuantityInUnit(deliveriesAndTransfersAndPrepsTotalCountInPreferredReportingUnit, preferredReportingUnit) : undefined,\n    };\n};\n\nconst getUnitCountByProductIdByDeliveryId = (\n    deliveriesById : StringValueMap<DeliveryId, Delivery>,\n    productsById : StringValueMap<ProductId, Product>,\n) : StringValueMap<ProductId, StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>>> => {\n    const unitCountInPreferredReportingUnitByProductIdByDeliveryId = new StringValueMap<ProductId, StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>>>();\n\n    deliveriesById.forEach((delivery, deliveryId) => {\n        delivery.getDeliveryLineItems().forEach((deliveryLineItem) => {\n            const productId = deliveryLineItem.getProductId();\n            if (!unitCountInPreferredReportingUnitByProductIdByDeliveryId.has(productId)) {\n                unitCountInPreferredReportingUnitByProductIdByDeliveryId.set(productId, new StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>>());\n            }\n\n            const unitCountByDeliveryId = unitCountInPreferredReportingUnitByProductIdByDeliveryId.get(productId);\n            const product = productsById.get(productId);\n\n            if (typeof unitCountByDeliveryId === 'undefined') {\n                throw new RuntimeException(`unexpected unitCountInPreferredReportingUnit not found for ${productId} in ${deliveryId}`);\n            }\n\n            if (typeof product === 'undefined') {\n                throw new RuntimeException(`unexpected product not found in productsById ${productId}`);\n            }\n\n            const preferredReportingUnit = product.getPreferredReportingUnit();\n            const deliveryLineItemQuantityInUnit = new QuantityInUnit(deliveryLineItem.getQuantityInUnits(), deliveryLineItem.getProductQuantityUnit());\n            const lineItemContainerCount = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), deliveryLineItemQuantityInUnit, preferredReportingUnit, productId).getQuantity();\n\n            const oldUnitCount = unitCountByDeliveryId.get(deliveryId);\n            const unitCount = lineItemContainerCount + ((typeof oldUnitCount === 'undefined') ? 0 : oldUnitCount.getQuantity());\n\n            unitCountByDeliveryId.set(deliveryId, new QuantityInUnit(unitCount, preferredReportingUnit));\n        });\n    });\n\n    return unitCountInPreferredReportingUnitByProductIdByDeliveryId;\n};\n\nconst getUnitCountByProductIdByTransferId = (\n    transferReportWithoutCostsById : StringValueMap<TransferId, TransferReportWithoutCost>,\n    productsById : StringValueMap<ProductId, Product>,\n) : StringValueMap<ProductId, StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>>> => {\n    const unitCountByProductIdByTransferId = new StringValueMap<ProductId, StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>>>();\n\n    transferReportWithoutCostsById.forEach((transferReport, transferId) => {\n        const transferReportData = transferReport.getTransferReportData();\n        if (TransferUtils.getTransferStatus(transferReport) === TransferStatus.COMPLETE) {\n            transferReportData.getProductAmounts().forEach((productAmount) => {\n                const productId = productAmount.getProductId();\n                if (!unitCountByProductIdByTransferId.has(productId)) {\n                    unitCountByProductIdByTransferId.set(productId, new StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>>());\n                }\n\n                const unitCountByTransferId = unitCountByProductIdByTransferId.get(productId);\n                const product = productsById.get(productId);\n\n                if (typeof unitCountByTransferId === 'undefined') {\n                    throw new RuntimeException(`unexpected unitCount not found for ${productId} in ${transferId}`);\n                }\n\n                if (typeof product === 'undefined') {\n                    throw new RuntimeException(`unexpected product not found in productsById ${productId}`);\n                }\n\n                const oldUnitCount = unitCountByTransferId.get(transferId);\n                const productAmountUnitCount = PackagingUtils.convertProductQuantityToUnit(\n                    product.getPackagingsAndMappings(),\n                    productAmount.getQuantityInUnit(),\n                    product.getPreferredReportingUnit(),\n                    productId\n                ).getQuantity();\n                const productAmountUnitCountWithDirection = ((transferReportData.getDirection() === TransferDirection.FROM_PERSPECTIVE_TO_PARTNER_LOCATION) ? -1 : 1) * productAmountUnitCount;\n\n                const unitCount = productAmountUnitCountWithDirection + ((typeof oldUnitCount === 'undefined') ? 0 : oldUnitCount.getQuantity());\n\n                unitCountByTransferId.set(transferId, new QuantityInUnit(unitCount, product.getPreferredReportingUnit()));\n            });\n        }\n    });\n\n    return unitCountByProductIdByTransferId;\n};\n\nconst getUnitCountsByProductIdByPrepEventId = (\n    prepEventsById : StringValueMap<PrepEventId, PrepEvent>,\n    productsById : StringValueMap<ProductId, Product>\n) : { inputUnitCountByProductIdByPrepEventId : StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>>, outputUnitCountByProductIdByPrepEventId : StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>> } => {\n    const inputUnitCountByProductIdByPrepEventId = new StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>>();\n    const outputUnitCountByProductIdByPrepEventId = new StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>>();\n\n    prepEventsById.forEach((prepEvent, prepEventId) => {\n        const inputQuantityOfProductByProductId = prepEvent.getInputQuantityOfProductByProductId();\n        const outputQuantityOfProductByProductId = prepEvent.getOutputQuantityOfProductByProductId();\n\n        inputQuantityOfProductByProductId.forEach((quantityOfProduct, productId) => {\n            if (!inputUnitCountByProductIdByPrepEventId.has(productId)) {\n                inputUnitCountByProductIdByPrepEventId.set(productId, new StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>());\n            }\n\n            const unitCountByPrepEventId = inputUnitCountByProductIdByPrepEventId.get(productId);\n            const product = productsById.get(productId);\n\n            if (typeof unitCountByPrepEventId === 'undefined') {\n                throw new RuntimeException(`unexpected inputUnitCount not found for ${productId} in ${prepEventId}`);\n            }\n\n            if (typeof product === 'undefined') {\n                throw new RuntimeException(`unexpected product not found in productsById ${productId}`);\n            }\n\n            const packagingsAndMappings = product.getPackagingsAndMappings();\n            const containerUnit = product.getPreferredReportingUnit();\n\n            const productInputQuantityUnit = PackagingUtils.convertProductQuantityToUnit(\n                packagingsAndMappings,\n                quantityOfProduct,\n                containerUnit,\n                productId\n            );\n\n            unitCountByPrepEventId.set(prepEventId, productInputQuantityUnit);\n        });\n\n        outputQuantityOfProductByProductId.forEach((quantityOfProduct, productId) => {\n            if (!outputUnitCountByProductIdByPrepEventId.has(productId)) {\n                outputUnitCountByProductIdByPrepEventId.set(productId, new StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>());\n            }\n\n            const unitCountByPrepEventId = outputUnitCountByProductIdByPrepEventId.getRequired(productId);\n            const product = productsById.getRequired(productId);\n            const packagingsAndMappings = product.getPackagingsAndMappings();\n            const containerUnit = product.getPreferredReportingUnit();\n\n            const productOutputQuantityUnit = PackagingUtils.convertProductQuantityToUnit(\n                packagingsAndMappings,\n                quantityOfProduct,\n                containerUnit,\n                productId\n            );\n\n            unitCountByPrepEventId.set(prepEventId, productOutputQuantityUnit);\n        });\n    });\n\n    return {\n        inputUnitCountByProductIdByPrepEventId,\n        outputUnitCountByProductIdByPrepEventId,\n    };\n};\n\n// Breakages are not part of usage but this felt like the most reasonable util file to have getUnitCountByProductIdByBreakageId\nconst getUnitCountByProductIdByBreakageId = (\n    breakageReportsByBreakageId : StringValueMap<BreakageId, BreakageReport>,\n    productsById : StringValueMap<ProductId, Product>\n) : StringValueMap<ProductId, StringValueMap<BreakageId, QuantityInUnit<ProductQuantityUnit>>> => {\n    const unitCountsByProductIdByBreakageId : StringValueMap<ProductId, StringValueMap<BreakageId, QuantityInUnit<ProductQuantityUnit>>> = new StringValueMap();\n    breakageReportsByBreakageId.forEach((breakageReport, breakageId) => {\n        breakageReport.getBreakageReportData().getProductAmounts().forEach((productAmount) => {\n            const productId = productAmount.getProductId();\n\n            let unitCountByBreakageId : StringValueMap<BreakageId, QuantityInUnit<ProductQuantityUnit>> | undefined = unitCountsByProductIdByBreakageId.get(productId);\n            if (typeof unitCountByBreakageId === 'undefined') {\n                unitCountByBreakageId = new StringValueMap();\n                unitCountsByProductIdByBreakageId.set(productId, unitCountByBreakageId);\n            }\n\n            const product : Product | undefined = productsById.get(productId);\n\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('undefined');\n            }\n\n            const unitCount = unitCountByBreakageId.get(breakageId);\n            const unitCountValue = unitCount ? unitCount.getQuantity() : 0;\n            const additionalUnitCount = PackagingUtils.convertProductQuantityToUnit(\n                product.getPackagingsAndMappings(),\n                productAmount.getQuantityInUnit(),\n                product.getPreferredReportingUnit(),\n                productId\n            ).getQuantity();\n\n            unitCountByBreakageId.set(breakageId, new QuantityInUnit(unitCountValue + additionalUnitCount, product.getPreferredReportingUnit()));\n        });\n    });\n\n    return unitCountsByProductIdByBreakageId;\n};\n\nconst getAverageWeeklyUnitUsageByProductId = (\n    startingInventoryCountMetadata : InventoryCountMetadata,\n    endingInventoryCountMetadata : InventoryCountMetadata,\n    usageData : UsageData\n) : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>> => {\n    const millisecondsBetweenInventories = numberUtils.ThriftInt64ToNumber(endingInventoryCountMetadata.getInventoryCountTime().timeSinceUnixEpoch.value) - numberUtils.ThriftInt64ToNumber(startingInventoryCountMetadata.getInventoryCountTime().timeSinceUnixEpoch.value);\n    const daysBetweenInventories = Math.max(Math.round(millisecondsBetweenInventories / (24 * 60 * 60 * 1000)), 1);\n    const multiplier = 7 / daysBetweenInventories;\n\n    const averageWeeklyUnitUsageByProductId = new StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>();\n\n    usageData.getUsageByProductId().forEach((productUsageData, productId) => {\n        averageWeeklyUnitUsageByProductId.set(productId, new QuantityInUnit(productUsageData.unitUsage.getQuantity() * multiplier, productUsageData.unitUsage.getUnit()));\n    });\n\n    return averageWeeklyUnitUsageByProductId;\n};\n\nexport const UsageDataUtils = {\n    getDeliveriesAndTransfersAndPrepsCounts,\n    getUnitCountByProductIdByDeliveryId,\n    getUnitCountsByProductIdByPrepEventId,\n    getUnitCountByProductIdByTransferId,\n    getUnitCountByProductIdByBreakageId,\n    getAverageWeeklyUnitUsageByProductId,\n};\n","export class InvalidInviteException extends Error {\n    constructor(message? : string) {\n        super(message);\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, InvalidInviteException.prototype);\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class UserAccountId implements IStringValue {\n    constructor (private readonly value : string) { }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : UserAccountId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{UserAccountId: ${this.value}}`;\n    }\n}\n","import CoreTimeModel from 'gen-thrift/core_time_Model_types';\n// TODO Use different time model\n\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport type ModificationContext = 'order'; // Can add others in the future, will only be included for order currently\ninterface dateTimestamp {\n    $date: string;\n}\nexport interface IUserAccountIdAndTimestampJSONObject {\n    user_account_id: string;\n    timestamp: string | dateTimestamp;\n    context : ModificationContext | undefined;\n    context_id : string | undefined;\n}\n\nexport class UserAccountIdAndTimestamp {\n    private readonly userAccountId : UserAccountId;\n    private readonly timestamp : CoreTimeModel.TimestampWithMillisecondPrecision;\n    private readonly context : ModificationContext | undefined;\n    private readonly contextId : string | undefined;\n\n    constructor(\n        userAccountId : UserAccountId,\n        timestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n        context : ModificationContext | undefined = undefined,\n        contextId : string | undefined = undefined\n    ) {\n        this.userAccountId = userAccountId;\n        this.timestamp = timestamp;\n        this.context = context;\n        this.contextId = contextId;\n    }\n\n    public getUserAccountId = () : UserAccountId => {\n        return this.userAccountId;\n    }\n\n    public getTimestamp = () : CoreTimeModel.TimestampWithMillisecondPrecision => {\n        return this.timestamp;\n    }\n\n    public getContext = () : ModificationContext | undefined => {\n        return this.context;\n    }\n    public getContextId = () : string | undefined => {\n        return this.contextId;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof UserAccountIdAndTimestamp)) {\n            return false;\n        }\n\n        return this.getUserAccountId().equals(other.getUserAccountId()) &&\n            numberUtils.ThriftInt64ToNumber(this.getTimestamp().timeSinceUnixEpoch.value) === numberUtils.ThriftInt64ToNumber(other.getTimestamp().timeSinceUnixEpoch.value) &&\n            this.getContext() === other.getContext() &&\n            this.getContextId() === other.getContextId();\n    }\n}\n","export class UserEmailAddressVerificationCredential {\n    private value : string;\n\n    constructor(value : string) {\n        this.value = value;\n    }\n\n    public getValue = () : string => this.value;\n}\n","export class UserPasswordSettingCredential {\n    private value : string;\n\n    constructor(value : string) {\n        this.value = value;\n    }\n\n    public getValue = () : string => this.value;\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport {\n    IUserAccountIdAndTimestampJSONObject,\n    UserAccountIdAndTimestamp\n} from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport moment from 'moment-timezone';\nimport { DJANGO_API_UTC_TIMESTAMP_FORMAT } from 'shared/constants';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { momentObjectToThriftSerializer } from 'shared/lib/manager';\nimport { getDateTimeFromTimestamp, getTimezoneFromString } from 'shared/utils/dateTimeUtils';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nconst getUserAccountNameString = (\n    userAccountId : UserAccountId,\n    currentUserAccountId : UserAccountId,\n    namesByUserAccountId : StringValueMap<UserAccountId, IUserName>,\n) : string => {\n    let nameString : string;\n    if (userAccountId.equals(currentUserAccountId)) {\n        nameString = 'You';\n    } else {\n        const userName = namesByUserAccountId.get(userAccountId);\n\n        if (typeof userName === 'undefined') {\n            throw new RuntimeException(`unexpected userName not defined for userAccountId ${userAccountId}`);\n        }\n\n        nameString = userName.firstName + ' ' + userName.lastName;\n    }\n\n    return nameString;\n};\n\nconst getUserAccountIdAndTimestampString = (\n    userAccountIdAndTimestamp : UserAccountIdAndTimestamp,\n    currentUserAccountId : UserAccountId,\n    namesByUserAccountId : StringValueMap<UserAccountId, IUserName>,\n) : string => {\n    const userAccountId = userAccountIdAndTimestamp.getUserAccountId();\n    const timestamp = userAccountIdAndTimestamp.getTimestamp();\n\n    const timestampDateTime = getDateTimeFromTimestamp(timestamp, getTimezoneFromString(window.GLOBAL_RETAILER_TIME_ZONE));\n\n    const nameString = getUserAccountNameString(userAccountId, currentUserAccountId, namesByUserAccountId);\n\n    return `${ timestampDateTime.getValue('ddd, MMM. DD YYYY, h:mm a') } by ${ nameString }`;\n};\n\nconst getUserAccountIdAndTimestampObjectFromJSON = (\n    userAccountIdAndTimestampObject : IUserAccountIdAndTimestampJSONObject\n) : UserAccountIdAndTimestamp => {\n    const userId = new UserAccountId(userAccountIdAndTimestampObject.user_account_id);\n    const rawTimestamp = userAccountIdAndTimestampObject.timestamp;\n    const normalizedTimestamp = typeof rawTimestamp === 'string' ? rawTimestamp : rawTimestamp.$date;\n    const timestamp = momentObjectToThriftSerializer.getThriftTimestampFromMoment(moment.utc(normalizedTimestamp));\n    return new UserAccountIdAndTimestamp(userId, timestamp, userAccountIdAndTimestampObject.context, userAccountIdAndTimestampObject.context_id);\n};\n\nconst getUserAccountIdAndTimestampJSONFromObject = (\n    userAccountIdAndTimestamp : UserAccountIdAndTimestamp\n) : IUserAccountIdAndTimestampJSONObject => {\n\n    return {\n        timestamp: moment(numberUtils.ThriftInt64ToNumber(userAccountIdAndTimestamp.getTimestamp().timeSinceUnixEpoch.value)).utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n        user_account_id: userAccountIdAndTimestamp.getUserAccountId().getValue(),\n        context: userAccountIdAndTimestamp.getContext(),\n        context_id: userAccountIdAndTimestamp.getContextId(),\n    } as IUserAccountIdAndTimestampJSONObject;\n};\n\nexport const UserAccountUtils = {\n    getUserAccountIdAndTimestampString,\n    getUserAccountNameString,\n    getUserAccountIdAndTimestampObjectFromJSON,\n    getUserAccountIdAndTimestampJSONFromObject\n};\n","import { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ICreateInventoryTransferModalForm } from 'apps/InventoryTransfer/models/CreateInventoryTransferModalForm';\nimport { OrderedProductAmountList } from 'apps/InventoryTransfer/models/OrderedProductAmountList';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\n\nexport const NULL_BREAKAGE_TYPE_LABEL = 'Loss';\nexport const DEFAULT_BREAKAGE_TYPE_LABELS = ['Breakage', 'Comp', NULL_BREAKAGE_TYPE_LABEL, 'Spill', 'Spoilage'];    // ordered\n\nexport interface IRecordBreakageState {\n    originalAddedProductAmounts : OrderedProductAmountList | null;\n    addedProductAmounts : OrderedProductAmountList;\n    form : ICreateInventoryTransferModalForm;\n    note : string | null;\n    type : string | null;\n    typeOptions : Array<IOption>;\n    productAmountToBeAdded : ProductAmount | null;\n    searchBar : ISearchBarState;\n    searchResults : Array<ProductId>;\n    displayedSearchResults : Array<ProductId>;\n    itemInProgressDialogShown : boolean;\n    emptyTransferListDialogShown : boolean;\n    discardProgressDialogShown : boolean;\n    mobilePanelIsOpen : boolean;\n    isDirty : boolean;\n    isLoading : boolean;\n}\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PrepEventDisplayUtils } from 'apps/CreateOrEditPrepEvent/utils/PrepEventDisplayUtils';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport '../css/PrepEventInputsPopover.scss';\n\nexport interface IPrepEventInputsPopoverProps {\n    anchorContentLabel : string;\n    prepEventId : PrepEventId;\n    prepEvent : PrepEvent;\n    productsById : StringValueMap<ProductId, Product>;\n    popoverIsShown : boolean;\n    setPopoverShown : (isShown : boolean) => void;\n}\n\nexport class PrepEventInputsPopover extends React.Component<IPrepEventInputsPopoverProps, object> {\n\n    public render() {\n        const {\n            prepEvent,\n            prepEventId,\n            productsById,\n            anchorContentLabel,\n            popoverIsShown,\n            setPopoverShown\n        } = this.props;\n\n        const inputLineItems : Array<JSX.Element> = [];\n\n        prepEvent.getInputQuantityOfProductByProductId().forEach((inputQuantity, prodId) => {\n            const product = productsById.get(prodId);\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n            const productLabel = PrepEventDisplayUtils.getLineItemProductLabel(product);\n            const yieldLabel = PrepEventDisplayUtils.getLineItemQuantityLabel(inputQuantity, product.getPackagingsAndMappings());\n\n            inputLineItems.push(\n                <li className=\"input-line-item row-container\" key={ prodId.getValue() + '_' + prepEventId.getValue() }>\n                    <strong>{ productLabel }</strong>\n                    <span>{ yieldLabel }</span>\n                </li>\n            );\n        });\n\n        const popoverContent = (\n            <div className=\"popover-breakdown-container\">\n                <div className=\"popover-title\">\n                    Ingredient(s)\n                </div>\n                <hr className=\"rule-light\"/>\n                <ul className=\"invoice-uploads-list\">\n                    { inputLineItems }\n                </ul>\n            </div>\n        );\n\n        return (\n            <Popover\n                className=\"input-line-items-popover\"\n                showOnHover={ true }\n                preferredPositionArray={ ['below'] }\n                popoverContentIsShown={ popoverIsShown }\n                setPopoverContentIsShown={ setPopoverShown }\n                anchorContent={ (\n                    <div className=\"input-line-items-label ellipsis-out cursor-pointer\">\n                        { anchorContentLabel }\n                    </div>\n                ) }\n                popoverContent={ popoverContent }\n            />\n        );\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { PrepEventUtils } from 'api/PrepEvent/utils/prepEventUtils';\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\ninterface IPrepEventLabels {\n    preparedItems : string;\n    yield : string;\n    // ingredients : string;\n}\n\n// cached so we don't have to redo all the calculation/packaging logic again\nlet lastPrepEventsById : StringValueMap<PrepEventId, PrepEvent> | undefined;\nlet lastProductsById : StringValueMap<ProductId, Product> | undefined;\nconst prepEventLabelStringsCache = new StringValueMap<PrepEventId, IPrepEventLabels>();\nconst getLabelsForPrepEventIds = (prepEventIds : StringValueSet<PrepEventId>, prepEventsById : StringValueMap<PrepEventId, PrepEvent>, productsById : StringValueMap<ProductId, Product>) => {\n    if (prepEventsById !== lastPrepEventsById || productsById !== lastProductsById) {\n        prepEventLabelStringsCache.clear();\n        lastPrepEventsById = prepEventsById;\n        lastProductsById = productsById;\n    }\n\n    const labelsByPrepEventId = new StringValueMap<PrepEventId, IPrepEventLabels>();\n    prepEventIds.forEach((prepEventId) => {\n        const cachedValue = prepEventLabelStringsCache.get(prepEventId);\n        if (cachedValue) {\n            labelsByPrepEventId.set(prepEventId, cachedValue);\n        } else {\n            const prepEvent = prepEventsById.get(prepEventId);\n            if (typeof prepEvent === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n            const labels = getPreparedItemsAndYieldLabels(prepEvent, productsById);\n            labelsByPrepEventId.set(prepEventId, labels);\n            prepEventLabelStringsCache.set(prepEventId, labels);\n        }\n    });\n\n    return labelsByPrepEventId;\n};\n\nconst getPreparedItemsAndYieldLabels = (prepEvent : PrepEvent, productsById : StringValueMap<ProductId, Product>) : IPrepEventLabels => {\n    const outputProductIds = Array.from(prepEvent.getOutputQuantityOfProductByProductId().keys());\n\n    let highestCostOutputProductId : ProductId;\n    let highestCostOutputYield : QuantityInUnit<ProductQuantityUnit>;\n    if (outputProductIds.length === 1) {\n        highestCostOutputProductId = outputProductIds[0];\n        const quantityOutput = prepEvent.getOutputQuantityOfProductByProductId().get(highestCostOutputProductId);\n        if (typeof quantityOutput === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n        highestCostOutputYield = quantityOutput;\n    } else {\n        let highestCostTotalAndQuantityYieldAndProductId : [ProductId, number, QuantityInUnit<ProductQuantityUnit>] | undefined;\n        outputProductIds.forEach((a) => {\n            const productA = productsById.get(a);\n            const outputQuantityA = prepEvent.getOutputQuantityOfProductByProductId().get(a);\n\n            if (typeof productA === 'undefined' ||\n                typeof outputQuantityA === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const totalCostA = PrepEventUtils.getTotalCostOfProductInOutput(prepEvent, a, productA);\n\n            if (!highestCostTotalAndQuantityYieldAndProductId || highestCostTotalAndQuantityYieldAndProductId[1] < totalCostA) {\n                highestCostTotalAndQuantityYieldAndProductId = [a, totalCostA, outputQuantityA];\n            }\n        });\n        if (typeof highestCostTotalAndQuantityYieldAndProductId === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n        highestCostOutputProductId = highestCostTotalAndQuantityYieldAndProductId[0];\n        highestCostOutputYield = highestCostTotalAndQuantityYieldAndProductId[2];\n    }\n\n    const productWithHighestCost = productsById.get(highestCostOutputProductId);\n    if (typeof productWithHighestCost === 'undefined') {\n        throw new RuntimeException('unexpected');\n    }\n\n    let outputProductsLabel : string = getLineItemProductLabel(productWithHighestCost);\n    let outputYieldsLabel : string = getLineItemQuantityLabel(highestCostOutputYield, productWithHighestCost.getPackagingsAndMappings());\n\n    if (outputProductIds.length > 1) {\n        outputProductsLabel = `${ outputProductsLabel } + ${ outputProductIds.length - 1 } more`;\n        outputYieldsLabel = `${ outputYieldsLabel } + ${ outputProductIds.length - 1 } more`;\n    }\n\n    return {\n        preparedItems: outputProductsLabel,\n        yield: outputYieldsLabel,\n    };\n};\n\nconst getLineItemProductLabel = (product : Product) : string => {\n    return `${ product.getBrand() }${ product.getBrand() ? ' ' : ''}${ product.getName() }`;\n};\n\n// TODOfuture this should really be a shared util\nconst getLineItemQuantityLabel = (quantityInUnit : QuantityInUnit<ProductQuantityUnit>, packagingsAndMappings : PackagingsAndMappings, isPlural? : boolean) => {\n    return `${ numberUtils.FormatToMaximumTwoDecimalPlaces(quantityInUnit.getQuantity()) } ${ PackagingUtils.getDisplayTextForProductQuantityUnit(packagingsAndMappings, quantityInUnit.getUnit(), isPlural || false) }`;\n};\n\nconst getIngredientsLabel = (prepEvent : PrepEvent) : string => {\n    const numberOfIngredients = prepEvent.getInputQuantityOfProductByProductId().size;\n    return `${ numberOfIngredients } ingredient${ numberOfIngredients > 1 ? 's' : '' }`;\n};\n\nexport const PrepEventDisplayUtils = {\n    getIngredientsLabel,\n    getPreparedItemsAndYieldLabels, // needed for inventory history\n    getLabelsForPrepEventIds,\n    getLineItemProductLabel,\n    getLineItemQuantityLabel,\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { SortDirection } from 'shared/models/SortDirection';\n\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { cleanPhrase, SortingFilteringAndGroupingUtil } from 'shared/utils/sortingFilteringAndGroupingUtils';\n\ninterface IPrepEventSortingUtilExtraArgs {\n    prepEventsById : StringValueMap<PrepEventId, PrepEvent>;\n    productsById : StringValueMap<ProductId, Product>;\n}\n\nconst isTokenInString = (str : string, token : string) : boolean => {\n    return (str.indexOf(token) > -1);\n};\n\n// for now, can search by: type, ingredient names, prepared item names\n// what about category of the products?\nexport const createPrepEventStringForFilter = (prepEvent : PrepEvent, productsById : StringValueMap<ProductId, Product>) : string => {\n    const typeLabel = prepEvent.getType();\n\n    const outputProductIds = Array.from(prepEvent.getOutputQuantityOfProductByProductId().keys());\n    const inputAndOutputProductIds = Array.from(prepEvent.getInputQuantityOfProductByProductId().keys()).concat(outputProductIds);\n    const productStrings : Array<string> = inputAndOutputProductIds.map((productId) => {\n        const product = productsById.get(productId);\n        if (typeof product === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        return cleanPhrase(product.getBrand()) + ' ' + cleanPhrase(product.getName());\n    });\n\n    const prepEventStringArray = [typeLabel].concat(productStrings);\n\n    return prepEventStringArray.join(' ');\n};\n\nconst prepEventFilterStringCache = new StringValueMap<PrepEventId, string>();\nlet lastPrepEventsById = new StringValueMap<PrepEventId, PrepEvent>();\n\nconst resetCaches = (newPrepEventsById : StringValueMap<PrepEventId, PrepEvent>) => {\n    lastPrepEventsById = newPrepEventsById;\n    prepEventFilterStringCache.clear();\n};\n\nconst cachedCreatePrepEventStringForFilter = (\n    prepEventId : PrepEventId,\n    prepEventsById : StringValueMap<PrepEventId, PrepEvent>,\n    productsById : StringValueMap<ProductId, Product>,\n) : string => {\n\n    if (prepEventsById !== lastPrepEventsById) {\n        resetCaches(prepEventsById);\n    }\n\n    if (prepEventFilterStringCache.has(prepEventId)) {\n        const cacheValue = prepEventFilterStringCache.get(prepEventId);\n\n        if (typeof cacheValue === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        return cacheValue;\n    }\n\n    const prepEvent = prepEventsById.get(prepEventId);\n    if (typeof prepEvent === 'undefined') {\n        throw new RuntimeException('unexpected');\n    }\n\n    const prepEventStringForFilter = createPrepEventStringForFilter(prepEvent, productsById);\n    prepEventFilterStringCache.set(prepEventId, prepEventStringForFilter);\n\n    return prepEventStringForFilter;\n};\n\nconst rowIdComparator = (prepEventId1 : PrepEventId, prepEventId2 : PrepEventId, columnSort : IColumnSorting, extraArgs : IPrepEventSortingUtilExtraArgs) : number => {\n    const direction = columnSort.direction;\n    const sortedBy = columnSort.sortedBy;\n\n    const prepEvent1 = extraArgs.prepEventsById.get(prepEventId1);\n    const prepEvent2 = extraArgs.prepEventsById.get(prepEventId2);\n\n    if ((typeof prepEvent1 === 'undefined') || (typeof prepEvent2 === 'undefined')) {\n        throw new RuntimeException('unexpected');\n    }\n\n    let comparisonResult : number;\n    switch (sortedBy) {\n        case 'date':\n            comparisonResult = prepEvent2.getPrepEventTime().diff(prepEvent1.getPrepEventTime());\n            break;\n        default:\n            throw new RuntimeException('unhandled sort field');\n    }\n\n    if (direction === SortDirection.DESCENDING) {\n        return comparisonResult * -1;\n    }\n\n    return comparisonResult;\n};\n\nconst rowIdFilterFunction = (prepEventId : PrepEventId, cleanedFilterTerm : string | null, extraArgs : IPrepEventSortingUtilExtraArgs) : boolean => {\n    if (cleanedFilterTerm === null || cleanedFilterTerm === '') {\n        return true;\n    }\n\n    const prepEventStringForSearch = cachedCreatePrepEventStringForFilter(prepEventId, extraArgs.prepEventsById, extraArgs.productsById);\n    const filterTokens = cleanedFilterTerm.split(' ');\n\n    for (let i = 0; i < filterTokens.length; i++) {\n        if (!isTokenInString(prepEventStringForSearch, filterTokens[i])) {\n            return false;\n        }\n    }\n\n    return true;\n};\n\nconst getGroupNameForRowId = (prepEventId : PrepEventId, groupByOption : GroupByOption, extraArgs : IPrepEventSortingUtilExtraArgs) : string => {\n    return 'All Items'; // not implemented for now, because no groupings in the table\n};\n\nconst groupComparator = (groupName1 : string, groupName2 : string, groupByOption : GroupByOption, extraArgs : IPrepEventSortingUtilExtraArgs) : number => {\n    // should not matter\n    return 0;\n};\n\nconst intermediateResultCacheIsValid = (rowIds : Array<PrepEventId>, lastRowIds : Array<PrepEventId>, extraArgs : IPrepEventSortingUtilExtraArgs, lastExtraArgs : IPrepEventSortingUtilExtraArgs) : boolean => {\n    return (extraArgs.prepEventsById === lastExtraArgs.prepEventsById) &&\n            (extraArgs.productsById === lastExtraArgs.productsById);\n};\n\nexport const PrepEventsSortingUtil = new SortingFilteringAndGroupingUtil(\n    rowIdComparator,\n    rowIdFilterFunction,\n    getGroupNameForRowId,\n    groupComparator,\n    intermediateResultCacheIsValid\n);\n","import React from 'react';\n\nimport { ISalesItemForm } from 'apps/CreateOrEditSalesItem/reducers/reducers';\nimport { Button } from 'shared/components/Button';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport '../../css/InformationFromPOS.scss';\n\nexport interface IInformationFromPOSProps {\n    salesItemFormInfo : ISalesItemForm;\n    onOmitClick : (() => void) | null; // null = not allowed in this context\n}\n\n// This is a silly name but can't think of anything better. it's just non-editable from this view because it theoretically\n// came directly from the POS system.\n// TODO sales price: if it does not match the sales item's sales price, what to show???\nexport class InformationFromPOS extends React.Component<IInformationFromPOSProps, object> {\n    public render() {\n        const {\n            salesItemFormInfo,\n            onOmitClick\n        } = this.props;\n\n        let salesPrice : number | null = parseFloat(salesItemFormInfo.salesInformationForm.salesPrice.value);\n        if (isNaN(salesPrice)) {\n            salesPrice = null; // hmm this should not happen rn because this is not editable.\n        }\n\n        return (\n            <div className=\"information-from-pos-container\">\n                <span className=\"imported-from-text\">IMPORTED FROM POS</span>\n                <div className=\"sales-item-info-row-container\">\n                    <span className=\"sales-item-name-text\">{ salesItemFormInfo.salesItemInfoForm.salesItemName.value }</span>\n                    { onOmitClick !== null &&\n                        <span className=\"action-buttons\">\n                            <Button\n                                buttonClassName=\"flat danger with-icon normal\"\n                                isDisabled={ false }\n                                isLoading={ false }\n                                onClick={ onOmitClick }\n                            >\n                                <span className=\"bevicon bevico-remove-circle\"/>&nbsp;Omit\n                            </Button>\n                        </span>\n                    }\n                </div>\n                <div className=\"sales-item-info-row-container\">\n                    <span className=\"sales-item-info-label\">POS ID: </span>\n                    <span className=\"sales-item-info-value\">{ salesItemFormInfo.salesItemInfoForm.posId.value }</span>\n                </div>\n                <div className=\"sales-item-info-row-container\">\n                    <span className=\"sales-item-info-label\">Menu Group: </span>\n                    <span className=\"sales-item-info-value\">{ salesItemFormInfo.salesItemInfoForm.menuGroup.value }</span>\n                </div>\n                <div className=\"sales-item-info-row-container\">\n                    <span className=\"sales-item-info-label\">Sales Price: </span>\n                    <span className=\"sales-item-info-value\">{ FormatMonetaryValueWithCents(salesPrice) }</span>\n                </div>\n\n                { salesItemFormInfo.salesItemInfoForm.note.value !== '' &&\n                    <div className=\"sales-item-note-row-container\">\n                        <span className=\"sales-item-note-label\">Note:</span>\n                        <span className=\"sales-item-note-value\">{ salesItemFormInfo.salesItemInfoForm.note.value }</span>\n                    </div>\n                }\n            </div>\n        );\n    }\n}\n","\nimport React from 'react';\n\n// Components\nimport { Button } from 'shared/components/Button';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { ValidationInput, ValidationInputTheme } from 'shared/components/ValidationInput';\n\n// Types\nimport { SalesInformationFormValidationByFieldName } from 'apps/CreateOrEditSalesItem/reducers/reducers';\n\n// Utilities\nimport { NOT_CALCULABLE_FIELD_VALUE } from 'apps/CreateOrEditSalesItem/utils/CreateOrEditSalesItemFormUtils';\nimport { SalesItemManagerUtils } from 'apps/SalesItemManager/utils/SalesItemManagerUtils';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport '../../css/SalesInformation.scss';\n\nexport interface IMapViewSalesInformationProps {\n    validationInputDataByFieldName : SalesInformationFormValidationByFieldName;\n    retailerTaxPercentage : number | null;\n    miscellaneousCostInputIsShown : boolean;\n    salesPriceAndTaxHintShown : boolean;\n    handleSetMiscellaneousCostInputShown : (isShown : boolean) => void;\n    handleSetSalesPriceAndTaxHintIsShown : (isShown : boolean) => void;\n    onSalesInformationFormFieldChange : (fieldName : 'miscCost', value : string) => void;\n    onSalesInformationFormFieldBlur : (fieldName : 'miscCost', value : string) => void;\n}\n\nconst INPUT_DISPLAY_FOR_NOT_CALCULABLE = 'N/A';\n\n// was going to use SalesInformation and just optionally make fields disabled, but all the fields have to be in a different order :(\n// so just making a new component. keeping validation inputs for spacing and also because this may become editable at some point.\nexport class MapViewSalesInformation extends React.Component<IMapViewSalesInformationProps, object> {\n    public render() {\n        const {\n            validationInputDataByFieldName,\n            retailerTaxPercentage,\n            salesPriceAndTaxHintShown,\n            miscellaneousCostInputIsShown,\n            handleSetSalesPriceAndTaxHintIsShown,\n        } = this.props;\n        const { totalCost, costPercentage, salesProfit, priceAndTax } = validationInputDataByFieldName;\n\n        const formattedRetailerTaxPercentage = SalesItemManagerUtils.formatPercent(retailerTaxPercentage);\n\n        // sales price not shown here (unlike in SalesInformation.tsx)\n        const totalCostValue = totalCost.value === NOT_CALCULABLE_FIELD_VALUE ? INPUT_DISPLAY_FOR_NOT_CALCULABLE : FormatMonetaryValueWithCents(Number(totalCost.value));\n        const costPercentageValue = costPercentage.value === NOT_CALCULABLE_FIELD_VALUE ? INPUT_DISPLAY_FOR_NOT_CALCULABLE : costPercentage.value;\n        const salesProfitValue = salesProfit.value === NOT_CALCULABLE_FIELD_VALUE ? INPUT_DISPLAY_FOR_NOT_CALCULABLE : FormatMonetaryValueWithCents(Number(salesProfit.value));\n        const priceAndTaxValue = priceAndTax.value === NOT_CALCULABLE_FIELD_VALUE ? INPUT_DISPLAY_FOR_NOT_CALCULABLE : FormatMonetaryValueWithCents(Number(priceAndTax.value));\n\n        return (\n            <div className=\"sales-information-container\">\n                <div className=\"sales-information sales-item-form-subsection mapped-sales-item-form-subsection\">\n                    <Flex direction=\"column\">\n                        <Flex direction=\"row\" className=\"mapped-sales-items-row\">\n                            <div className=\"cost-percentage mapped-sales-item\">\n                                <Flex direction=\"column\">\n                                    <span className=\"label\">Cost %</span>\n                                    <span>{ `${costPercentageValue} %` }</span>\n                                </Flex>\n                            </div>\n                            <div className=\"total-cost mapped-sales-item\">\n                                <Flex direction=\"column\">\n                                    <span className=\"label\">Total Cost</span>\n                                    <span>{ totalCostValue }</span>\n                                </Flex>\n                            </div>\n                        </Flex>\n                        <Flex direction=\"row\" className=\"mapped-sales-items-row\">\n                            { retailerTaxPercentage !== null &&\n                                <div className=\"price-tax mapped-sales-item\">\n                                    <Flex direction=\"column\">\n                                        <Flex direction=\"row\" align=\"center\">\n                                            <span className=\"label\">Price + Tax</span>\n                                            <Popover\n                                                className=\"sales-price-and-tax-popover\"\n                                                preferredPositionArray={ ['right', 'above', 'left', 'below'] }\n                                                showOnHover={ true }\n                                                popoverContentIsShown={ salesPriceAndTaxHintShown }\n                                                setPopoverContentIsShown={ handleSetSalesPriceAndTaxHintIsShown }\n                                                anchorContent={ (\n                                                    <span className=\"bevicon bevico-help label icon-right\" />\n                                                ) }\n                                                popoverContent={ (\n                                                    <p>\n                                                        Calculated at tax rate of { formattedRetailerTaxPercentage }. You can update this in\n                                                        <a href={ `/sales/items/sales_item_manager/r/${window.GLOBAL_RETAILER_ID}` } target=\"_blank\" rel=\"noreferrer\"> Recipes</a>.\n                                                    </p>\n                                                ) }\n                                            />\n                                        </Flex>\n                                        <span>{ priceAndTaxValue }</span>\n                                    </Flex>\n                                </div>\n                            }\n                             <div className={ retailerTaxPercentage !== null ? 'sales-profit mapped-sales-item' : 'mapped-sales-item' }>\n                                <Flex direction=\"column\">\n                                    <span className=\"label\">Sales Profit</span>\n                                    <span>{ salesProfitValue }</span>\n                                </Flex>\n                            </div>\n                        </Flex>\n                        <Flex direction=\"row\">\n                        <div className=\"misc-cost\">\n                            { miscellaneousCostInputIsShown &&\n                                <React.Fragment>\n                                    <div className=\"label\">Misc. Cost</div>\n                                    <ValidationInput\n                                        theme={ ValidationInputTheme.BasicInverted }\n                                        type=\"text\"\n                                        step=\"any\"\n                                        label={ null }\n                                        hintText=\"Optional\"\n                                        value={ validationInputDataByFieldName.miscCost.value }\n                                        autoFocus={ false }\n                                        autoComplete={ null }\n                                        isValid={ validationInputDataByFieldName.miscCost.isValid }\n                                        isDisabled={ false }\n                                        errorMessage={ validationInputDataByFieldName.miscCost.errorMessage }\n                                        inputClassName=\"\"\n                                        handleEnterClick={ this.handleOnMiscCostEnterOrBlur }\n                                        handleChange={ this.handleOnMiscCostChange }\n                                        handleBlur={ this.handleOnMiscCostEnterOrBlur }\n                                        handleFocus={ null }\n                                        isCurrencyInput={ true }\n                                    />\n                                </React.Fragment>\n                            }\n                            { !miscellaneousCostInputIsShown &&\n                                <Button\n                                    buttonClassName=\"primary flat link medium\"\n                                    isDisabled={ false }\n                                    isLoading={ false }\n                                    onClick={ this.handleShowMiscellaneousCost }\n                                >\n                                    Add Misc. Cost\n                                </Button>\n                            }\n                        </div>\n\n                        </Flex>\n                    </Flex>\n\n                </div>\n            </div>\n        );\n    }\n\n    private readonly handleOnMiscCostEnterOrBlur = (event : React.FocusEvent<HTMLInputElement> | React.KeyboardEvent<HTMLInputElement>) => {\n        if (event.currentTarget.value === '' || parseFloat(event.currentTarget.value) === 0) {\n            this.props.handleSetMiscellaneousCostInputShown(false);\n            this.props.onSalesInformationFormFieldBlur('miscCost', '0');\n        } else {\n            this.props.onSalesInformationFormFieldBlur('miscCost', event.currentTarget.value);\n        }\n    }\n\n    private readonly handleOnMiscCostChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onSalesInformationFormFieldChange('miscCost', event.currentTarget.value);\n    }\n\n    private readonly handleShowMiscellaneousCost = () => {\n        this.props.handleSetMiscellaneousCostInputShown(true);\n    }\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport MediaQuery from 'react-responsive';\n\nimport { CreateOrEditSalesItemActions, TypedCreateOrEditSalesItemDispatch } from 'apps/CreateOrEditSalesItem/actions/actions';\n\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { salesItemFlagUtils } from 'shared/utils/salesItemFlagUtils';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { ItemLevelSalesReportConfigurationId } from 'api/Reports/model/ItemLevelSalesReportConfigurationId';\nimport { ApplyChangesDialog } from './components/ApplyChangesDialog';\nimport { IngredientInfo } from './components/IngredientInfo';\nimport { SalesItemFlagAlert } from './components/SalesItemFlagAlert';\nimport { availableSalesItemFlags, SalesItemFlagSelector } from './components/SalesItemFlagSelector';\nimport { UnsavedChangesDialog } from './components/UnsavedChangesDialog';\nimport {\n    ICreateOrEditSalesItemState, IngredientFormFieldName, IPmixItemInformation,\n    ProductIngredientRowFormFieldName, SalesInformationFormFieldName, SalesItemIngredientRowFormFieldName, SalesItemSaveOption\n} from './reducers/reducers';\nimport { CreateOrEditSalesItemFormUtils } from './utils/CreateOrEditSalesItemFormUtils';\n\nimport { Button } from 'shared/components/Button';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { LoadingCover } from 'shared/components/LoadingCover';\nimport { PageHeader, PageHeaderTheme } from 'shared/components/PageHeader/PageHeader';\nimport { PageTitle } from 'shared/components/PageTitle/PageTitle';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { TypedDispatch as SlimCreateDispatch, ProductSlimCreateFormActions } from 'shared/components/SlimCreate/ProductSlimCreateForm/ProductSlimCreateFormActions';\nimport { IProductSlimCreateFormState } from 'shared/components/SlimCreate/ProductSlimCreateForm/ProductSlimCreateFormReducers';\nimport { SnackBar } from 'shared/components/SnackBar';\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH } from 'shared/constants';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\nimport { PosItem } from 'api/SalesData/model/PosItem';\nimport { MappedStatus } from 'apps/SalesItemMapper/appTypes';\nimport { Dialog } from 'shared/components/Dialog';\nimport { SalesInputRowId } from 'shared/components/SalesInputTable/SalesInputRow';\nimport { StringUtils } from 'shared/utils/stringUtils';\nimport { InformationFromPOS } from './components/MapView/InformationFromPOS';\nimport { MapViewSalesInformation } from './components/MapView/MapViewSalesInformation';\n\nimport { PosItemId } from 'api/SalesData/model/PosItemId';\n\nimport './css/CreateOrEditSalesItemApp.scss'; // TODO might just want to use a different css file\n\n/**\n * This is just a different (more limited) UI wrapper of the create/edit sales item app. therefore it shares a store/actions/reducers\n * If the behavior of these 2 things ever starts to really diverge, we should consider splitting this into its own store, etc.\n * however, given the relative complexity of the actions/reducers and that under the hood these things behave the same, we are building\n * these off of the same base for now.\n */\n\n// TODO rename the other thing to CS Sales Mapping Tool.\nexport interface IMapSalesItemViewProps {\n    initialItem : SalesInputRowId; // either an existing sales item or initialize from a POS Item.\n    initialContextOrderedIds : Array<SalesInputRowId>;\n    contextItemLevelReportId : ItemLevelSalesReportConfigurationId | null;\n    posItemsByPosId : StringValueMap<PosItemId, PosItem>;\n    unmappedSalesEntries : StringValueMap<PosItemId, SalesEntry>;\n\n    initialRemainingUnmappedCount : number; // this includes unmapped pos items & empty sales items. the parent page has context for what needs to be finished\n    isCustomerSuccessTool? : boolean;\n\n    onClose : () => void;\n    // Note: if we're creating from a pos item the map returns pos id -> new sales item id.\n    // editedProductIds carries any products that were created or edited inline in the modal so\n    // host apps can refetch any sales items they hold whose unit references the backend rewrote.\n    onSave : (updatedSalesItemIdMap : StringValueMap<SalesInputRowId, SalesItemId>, editedProductIds : StringValueSet<ProductId>) => void;\n    onOmitItem : ((omittedItem : SalesInputRowId) => void) | null; // not available in all contexts;\n\n    actionButtonText : string;\n    onActionButtonClick : () => void; // could be \"run report\" or \"finish\"\n\n    productSlimCreateFormState : IProductSlimCreateFormState;\n\n    activeProductIds? : StringValueSet<ProductId>;\n    deletedProductIds? : StringValueSet<ProductId>;\n\n    // Note: we have decided for now that free trial status is not necessary for this Map view.\n    // if someone can access this, they can create any items they want\n    // freeTrialStatus : FreeTrialStatus;\n}\n\nexport interface IConnectedMapSalesItemView extends IMapSalesItemViewProps {\n    dispatch : SlimCreateDispatch & TypedCreateOrEditSalesItemDispatch;\n    createOrEditSalesItemState : ICreateOrEditSalesItemState;\n}\n\n// Exported because this is shared by the recipe tool\n// key codes to take action on:\n// 78 (n), 39 (>) = Next\n// 80 (p), 37 (<) = Previous\n// 70 (f) = Un/flag\nexport const actionKeyCodeSet = new Set([37, 39, 70, 78, 80]);\nexport enum ActionKeyCodes {\n    LEFT_ARROW = 37,\n    RIGHT_ARROW = 39,\n    f = 70,\n    n = 78,\n    p = 80,\n}\n\nclass MapSalesItemView extends React.Component<IConnectedMapSalesItemView, object> {\n    private userIsAdmin : boolean;\n    private contextOrderedIds : Array<SalesInputRowId>;\n    private onlyShowAllTimeSaveOption : boolean;\n    private posInformationByPosItemId = new StringValueMap<PosItemId, IPmixItemInformation>();\n    private totalUnmappedCount : number;\n\n    constructor(props : IConnectedMapSalesItemView) {\n        super(props);\n\n        this.userIsAdmin = window.GLOBAL_USER_IS_ADMIN;\n        this.contextOrderedIds = this.props.initialContextOrderedIds;\n        this.onlyShowAllTimeSaveOption = !window.GLOBAL_FEATURE_ACCESS.item_level_sales_reporting || !!this.props.isCustomerSuccessTool;\n        this.totalUnmappedCount = this.props.initialRemainingUnmappedCount;\n    }\n\n    public componentDidMount() {\n        const {\n            dispatch,\n            initialItem,\n            initialContextOrderedIds,\n            createOrEditSalesItemState,\n            posItemsByPosId,\n            unmappedSalesEntries,\n            initialRemainingUnmappedCount,\n            isCustomerSuccessTool,\n        } = this.props;\n\n        // only need to fetch data if it's not already set\n        let initialDataPromise : Promise<void>;\n        if (createOrEditSalesItemState.salesItemFormData === null) {\n            initialDataPromise = dispatch(CreateOrEditSalesItemActions.fetchInitialData());\n        } else {\n            initialDataPromise = Promise.resolve();\n        }\n\n        this.contextOrderedIds = initialContextOrderedIds;\n        this.totalUnmappedCount = initialRemainingUnmappedCount;\n\n        this.posInformationByPosItemId.clear();\n        unmappedSalesEntries.forEach((salesEntry, posItemId) => {\n            this.posInformationByPosItemId.set(posItemId, {\n                salesEntry,\n                posItem: posItemsByPosId.getRequired(posItemId)\n            });\n        });\n\n        void initialDataPromise\n        .then(() => {\n            void dispatch(CreateOrEditSalesItemActions.initializeFormFromSalesItem(initialItem, initialContextOrderedIds, !!isCustomerSuccessTool, this.posInformationByPosItemId));\n        });\n\n        document.addEventListener('keyup', this.onDocumentKeyUp);\n\n        $(document).on('customItemSuccessfullyEdited', this.onCustomItemSuccessfullyEdited);\n        $(document).on('customItemDeleted', this.onDeleteProductFromEditItemModal);\n        $(document).on('customItemActiveStateChanged', this.onItemActiveStateChangedFromEditItemModal);\n        // $(document).on('editItemModalClosed', this.onEditItemModalClosed);\n    }\n\n    public componentWillUnmount() {\n        document.removeEventListener('keyup', this.onDocumentKeyUp);\n\n        $(document).off('customItemSuccessfullyEdited', this.onCustomItemSuccessfullyEdited);\n        $(document).off('customItemDeleted', this.onDeleteProductFromEditItemModal);\n        $(document).off('customItemActiveStateChanged', this.onItemActiveStateChangedFromEditItemModal);\n        // $(document).off('editItemModalClosed', this.onEditItemModalClosed);\n    }\n\n    public render() {\n        const {\n            createOrEditSalesItemState,\n            contextItemLevelReportId,\n            isCustomerSuccessTool,\n            actionButtonText,\n            onOmitItem\n        } = this.props;\n\n        const {\n            isShownByComponentName,\n            salesItemForm,\n            salesItemFormData,\n            selectedSaveOption,\n            salesItemId,\n            nextSalesItemId,\n            previousSalesItemId,\n            popoverIngredientIdIsShown,\n        } = createOrEditSalesItemState;\n\n        // not disabling save for this tool based on features - should only be available\n        // on pages where we are already feature checking\n        // const saveIsDisabled : boolean =\n        //     isShownByComponentName.saveIsDisabled ||\n        //     // freeTrialStatus.getIsExpiredByAction().salesItems || // TODO free trial relevant??\n        //     !window.GLOBAL_FEATURE_ACCESS.sales;\n\n        let mappedStatus : MappedStatus;\n        if (isCustomerSuccessTool && salesItemId instanceof SalesItemId && salesItemFormData !== null && salesItemFormData.salesItemsById.getRequired(salesItemId).getDeletionMetadata() !== null) {\n            mappedStatus = MappedStatus.DELETED; // only relevant for cs tool, otherwise just show mapped vs unmapped\n        } else {\n            mappedStatus = salesItemForm.orderedIngredientItems.length === 0 ? MappedStatus.UNMAPPED : MappedStatus.MAPPED;\n        }\n\n        let mappingIconClassName : string = '';\n        let mappingStatusText : string = '';\n        switch (mappedStatus) {\n            case MappedStatus.DELETED:\n                mappingIconClassName = 'bevico-delete';\n                mappingStatusText = 'Deleted'; // future: make this omitted when that functionality exists\n                break;\n            case MappedStatus.UNMAPPED:\n                mappingIconClassName = 'bevico-unmapped';\n                mappingStatusText = 'Unmapped';\n                break;\n            case MappedStatus.MAPPED:\n                mappingIconClassName = 'bevico-check_circle';\n                mappingStatusText = 'Mapped';\n                break;\n        }\n\n        const canOmit = onOmitItem !== null && salesItemForm.salesItemInfoForm.posId.value !== ''; // can't omit things without a pos id??\n\n        const actionButton = (\n            <Button\n                onClick={ this.handleActionButtonClick }\n                buttonClassName=\"primary action-button\"\n                isDisabled={ isShownByComponentName.saveInProgress }\n                isLoading={ false } // TODO maybe add a loading state? depends on how long this callback takes\n            >\n                { actionButtonText }\n            </Button>\n        );\n        // TODO - Create separate pagination components for both Mapping Tool and Recipe Builder\n        const salesItemPaginationContainer = (\n            <React.Fragment>\n                <div className=\"pagination-container mapped-pagination-container\">\n                    <Flex direction=\"row\" className=\"pagination-button-wrapper mapped-pagination-button-wrapper\">\n                        <Button\n                            isDisabled={ isShownByComponentName.saveInProgress || previousSalesItemId === null }\n                            buttonClassName=\"primary capitalize pagination-button left-button\"\n                            isLoading={ false }\n                            onClick={ this.onPreviousButtonClick }\n                        >\n                            <span className=\"bevicon bevico-keyboard-arrow-left main-icon-left\"/>\n                        </Button>\n                        <MediaQuery maxWidth={ MAX_MOBILE_WIDTH } >\n                            <div className=\"pagination-center-section-wrapper\">\n                                {/* this.totalUnmappedCount !== 0 && // always showing the action button now, but if we want to hide again, the below is the html for not showing the action button\n                                    <Flex direction=\"column\" align=\"center\" justify=\"space-between\" className=\"center-section\">\n                                        <span className=\"num-items-remaining\">{ `${this.totalUnmappedCount} unmapped item${this.totalUnmappedCount === 1 ? '' : 's'} remaining` }</span>\n                                        <div>\n                                            <span className={ `bevicon ${mappingIconClassName}` } />\n                                            <span className={ mappedStatus === MappedStatus.MAPPED ? 'mapped-status-text' : 'unmapped-status-text' }>\n                                                { ` ${mappingStatusText}` }\n                                            </span>\n                                        </div>\n                                    </Flex>\n                                */ }\n                                <Flex direction=\"column\" align=\"center\" justify=\"space-between\" className=\"center-section\">\n                                    <Flex direction=\"row\" className=\"mapping-status-row\" justify=\"center\" align=\"center\">\n                                        <span className=\"num-items-remaining pad-lr-sm\">{ `${this.totalUnmappedCount} unmapped` }</span>\n                                        <div>\n\n                                            <span className={ `bevicon ${mappingIconClassName} ` } />\n                                            <span className={ mappedStatus === MappedStatus.MAPPED ? 'mapped-status-text' : 'unmapped-status-text' }>\n                                                { ` ${mappingStatusText}` }\n                                            </span>\n                                        </div>\n                                    </Flex>\n                                    { actionButton }\n                                </Flex>\n                            </div>\n                        </MediaQuery>\n                        <Button\n                            isDisabled={ isShownByComponentName.saveInProgress || nextSalesItemId === null }\n                            buttonClassName=\"primary capitalize pagination-button right-button\"\n                            isLoading={ false }\n                            onClick={ this.onNextButtonClick }\n                        >\n                            <span className=\"bevicon bevico-keyboard-arrow-right main-icon-right\"/>\n                        </Button>\n                        <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                            { actionButton }\n                        </MediaQuery>\n                    </Flex>\n                </div>\n                <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                    <span className=\"num-items-remaining\">{ `${ StringUtils.pluralizeNumber('unmapped item', this.totalUnmappedCount) } remaining` }</span>\n                </MediaQuery>\n            </React.Fragment>\n        );\n\n        return(\n            <div className=\"create-or-edit-sales-item map-sales-item-view\">\n                <PageHeader\n                    theme={ PageHeaderTheme.Default }\n                >\n                    <Button\n                        buttonClassName=\"icon flat bevicon bevico-arrow-back exit-view\"\n                        isDisabled={ isShownByComponentName.saveInProgress }\n                        isLoading={ false }\n                        onClick={ this.handleOnShowConfirmExitDialog }\n                    />\n                    <PageTitle\n                        heading=\"Back to POS Data\"\n                        darkTheme={ false }\n                    />\n                    <div className=\"page-header-secondary\">\n                        { isCustomerSuccessTool && window.GLOBAL_USER_IS_ADMIN && // TODO consider removing if we are adding walkmes\n                            <Popover\n                                className=\"shortcut-popover\"\n                                showOnHover={ true }\n                                preferredPositionArray={ ['below', 'right'] }\n                                popoverContentIsShown={ isShownByComponentName.shortcutPopover }\n                                setPopoverContentIsShown={ this.setShortcutPopoverIsShown }\n                                anchorContent={ <span className=\"bevicon bevico-help\"/> }\n                                popoverContent={ (\n                                    <React.Fragment>\n                                        <h5>Shortcut List</h5>\n                                        <ul>\n                                            <li>\n                                                Next:\n                                                <span className=\"bevicon bevico-keyboard-arrow-right\"/>\n                                                or n\n                                            </li>\n\n                                            <li>\n                                                Previous:\n                                                <span className=\"bevicon bevico-keyboard-arrow-left\"/>\n                                                or p\n                                            </li>\n                                            <li>Un/flag: f</li>\n                                        </ul>\n                                    </React.Fragment>\n                                ) }\n                            />\n                        }\n                    </div>\n                </PageHeader>\n\n                { salesItemFormData === null &&\n                    <LoadingCover\n                        className=\"overlay-light\"\n                        hasLoadingIcon={ true }\n                    />\n                }\n\n                { salesItemFormData !== null &&\n                    <div className=\"main-container container\">\n                        { this.userIsAdmin &&\n                            <SalesItemFlagSelector\n                                selectedFlagValue={ this.getDisplayedFlag() }\n                                onFlagChange={ this.onSalesItemFlagChange }\n                            />\n                        }\n                        { !this.userIsAdmin && this.getDisplayedFlag() !== null &&\n                            <SalesItemFlagAlert\n                                selectedFlagValue={ this.getDisplayedFlag()! }\n                                onMarkAsResolvedClick={ this.onMarkFlagAsResolvedClick }\n                            />\n                        }\n                        <div className=\"main-container-column\">\n                            <InformationFromPOS\n                                salesItemFormInfo={ salesItemForm }\n                                onOmitClick={ canOmit ? this.onOmitItemClick : null }\n                            />\n                            <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                                <Flex direction=\"row\" className=\"mapped-status-header flex-py-1 flex-px-4\">\n                                    <span className={ `bevicon ${ mappingIconClassName }` }/>\n                                    <span className=\"mapped-status-text\">{ ` ${ mappingStatusText } ` }</span>\n                                </Flex>\n                            </MediaQuery>\n                            <IngredientInfo\n                                salesItemForm={ salesItemForm }\n                                salesItemFormData={ salesItemFormData }\n                                onIngredientInfoFormFieldChange={ this.onIngredientInfoFormFieldChange }\n                                onProductRowFormFieldChange={ this.onProductRowFormFieldChange }\n                                onProductRowFormFieldBlur={ this.onProductRowFormFieldBlur }\n                                onSalesItemRowFormFieldChange={ this.onSalesItemRowFormFieldChange }\n                                onSalesItemRowFormFieldBlur={ this.onSalesItemRowFormFieldBlur }\n                                onSalesInformationFormFieldBlur={ this.onSalesInformationFormFieldBlur }\n                                onSalesInformationFormFieldChange={ this.onSalesInformationFormFieldChange }\n                                onAddIngredient={ this.onAddIngredient }\n                                handleOnRemoveIngredientClick={ this.onRemoveIngredientClick }\n                                productsById={ salesItemFormData.productsById }\n                                salesItemsById={ salesItemFormData.salesItemsById }\n                                setSearchTerm={ this.setIngredientSearchBarTerm }\n                                setHighlightedIngredientId={ this.setHighlightedIngredientId }\n                                ingredientSearchBarDropdownIsShown={ isShownByComponentName.ingredientSearchBarDropdown }\n                                setIngredientDropdownIsShown={ this.setIngredientDropdownIsShown }\n                                slimProductCreateIsShown={ isShownByComponentName.searchBarSlimCreate }\n                                createNewSalesItemFieldsAreShown={ isShownByComponentName.createNewSalesItemFields }\n                                setSlimCreateIsShown={ this.setSearchBarSlimCreateIsShown }\n                                setCreateNewSalesItemFieldsAreShown={ this.setCreateNewSalesItemFieldsAreShown }\n                                onSelectIngredient={ this.onSelectIngredient }\n                                popoverIngredientIdIsShown={ this.setIngredientPopoverIsShownForId }\n                                onProductInfoFullDetailsClick={ this.onProductInfoFullDetailsClick }\n                                popoverIngredientIds={ popoverIngredientIdIsShown }\n                                productCostsByProductId={ salesItemFormData.productCostsByProductId }\n                                onSlimCreate={ this.onSlimCreateNewProductIngredient }\n                                salesItemCostOnForm={ salesItemForm.salesInformationForm.totalCost.value }\n                                showOrHideSubRecipeInfoFields={ this.toggleSubRecipeInfoIsShown }\n                                subRecipeInfoFieldsAreShown={ isShownByComponentName.subRecipeInfo }\n                                showIngredientPriceInDropdown={ !isCustomerSuccessTool }\n                                showProTipForEmptyIngredients={ true }\n                                isItemMapping={ true }\n                            />\n                        </div>\n                        <div className=\"main-container-column secondary-information\">\n                            <div>\n                                <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                                    { salesItemPaginationContainer }\n                                </MediaQuery>\n                                { mappedStatus !== MappedStatus.UNMAPPED && // only show when you have 1+ ingredient\n                                    <MapViewSalesInformation\n                                        onSalesInformationFormFieldChange={ this.onSalesInformationFormFieldChange }\n                                        onSalesInformationFormFieldBlur={ this.onSalesInformationFormFieldBlur }\n                                        validationInputDataByFieldName={ salesItemForm.salesInformationForm }\n                                        retailerTaxPercentage={ salesItemFormData.retailerTaxPercentage }\n                                        salesPriceAndTaxHintShown={ isShownByComponentName.salesPriceAndTaxHintPopover }\n                                        handleSetSalesPriceAndTaxHintIsShown={ this.setSalesPriceAndTaxHintPopoverIsShown }\n                                        miscellaneousCostInputIsShown={ isShownByComponentName.miscellaneousCost }\n                                        handleSetMiscellaneousCostInputShown={ this.toggleMiscellaneousCostIsShown }\n                                    />\n                                }\n                            </div>\n                        </div>\n                        <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                            { salesItemPaginationContainer }\n                        </MediaQuery>\n                    </div>\n                }\n                { /* Modals */ }\n                { isShownByComponentName.unsavedChangesModal &&\n                    <UnsavedChangesDialog\n                        saveDisabled={ false }\n                        onCancelClick={ this.closeUnsavedChangesDialog }\n                        onNavigateWithoutSavingClick={ this.onCloseModalWithoutSaving }\n                        onSaveAndContinueClick={ this.onSaveAndContinueFromUnsavedChangesDialog }\n                    />\n                }\n                { isShownByComponentName.applyChangesModal && salesItemFormData !== null && (salesItemId instanceof SalesItemId) &&\n                    <ApplyChangesDialog\n                        salesItemName={ salesItemForm.salesItemInfoForm.salesItemName.value }\n                        salesItemId={ salesItemId }\n                        isInsideItemLevelReport={ (contextItemLevelReportId !== null) }\n                        salesItemsById={ salesItemFormData.salesItemsById }\n                        onSaveClick={ this.onApplySaveChanges }\n                        onCancelClick={ this.closeApplyChangesDialog }\n                        onSelectSaveOption={ this.onSelectSaveOption }\n                        selectedSaveOption={ selectedSaveOption }\n                        doNotAskMeAgainIsChecked={ isShownByComponentName.doNotAskForSaveOptionsAgain }\n                        onSetDoNotAskMeAgain={ this.handleSetDoNotAskForSaveOptionsAgain }\n                    />\n                }\n                { isShownByComponentName.omitItemConfirmationDialog &&\n                    <Dialog\n                        className=\"omit-item-confirmation\"\n                        buttons={ [\n                            {\n                                onClick: this.closeOmitItemDialog,\n                                classes: 'flat',\n                                isDisabled: false,\n                                isLoading: false,\n                                children: 'Cancel',\n                            },\n                            {\n                                onClick: this.onConfirmOmitItem,\n                                classes: 'flat danger',\n                                isDisabled: false,\n                                isLoading: false,\n                                children: 'Omit',\n                            },\n                        ] }\n                        headerText={ <span>Omit Item</span> }\n                    >\n                        <div className=\"dialog-body\">\n                            { `Are you sure you want to omit POS ID: ${ salesItemForm.salesItemInfoForm.posId.value } (${ salesItemForm.salesItemInfoForm.salesItemName.value })? This item will not be pulled in to any future reports.` }\n                        </div>\n                    </Dialog>\n                }\n                <div className=\"on-save-snack-bar\">\n                    <SnackBar\n                        isShown={ isShownByComponentName.onSaveSnackBar }\n                        message=\"Save Successful\"\n                        callToActionLabel={ null }\n                        handleCloseButton={ this.handleSnackBarClose }\n                    />\n                </div>\n            </div>\n        );\n    }\n\n    private getDisplayedFlag = (): string | null => {\n        const { createOrEditSalesItemState, activeProductIds, deletedProductIds } = this.props;\n        const { salesItemFormData, salesItemId } = createOrEditSalesItemState;\n\n        if (!salesItemFormData || !(salesItemId instanceof SalesItemId)) return null;\n        if (!activeProductIds || !deletedProductIds) {\n            return salesItemFormData.salesItemsById.get(salesItemId)?.getSalesItem().getNeedsAttentionCategory() || null;\n        }\n\n        const salesItemWithMetadata = salesItemFormData.salesItemsById.get(salesItemId);\n        if (!salesItemWithMetadata) return null;\n\n        return salesItemFlagUtils.getDisplayedFlag(\n            salesItemWithMetadata.getSalesItem(),\n            activeProductIds,\n            deletedProductIds\n        );\n    }\n\n    private readonly handleSnackBarClose = () => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('onSaveSnackBar', false));\n    }\n\n    private readonly onSaveClick = () => {\n        const {\n            createOrEditSalesItemState,\n            dispatch,\n            onSave,\n            contextItemLevelReportId,\n            onClose\n        } = this.props;\n\n        if (createOrEditSalesItemState.salesItemId === null) { // if create mode, just create, no need for a dialog\n            const editedProductIds = createOrEditSalesItemState.editedProductIds;\n            void this.props.dispatch(CreateOrEditSalesItemActions.onSave(SalesItemSaveOption.ALL_REPORTS, contextItemLevelReportId, this.posInformationByPosItemId))\n            .then((oldSalesIdToNewSalesIdMap) => {\n                if (oldSalesIdToNewSalesIdMap !== null) {\n                    onSave(oldSalesIdToNewSalesIdMap, editedProductIds);\n                    onClose();\n                    dispatch(CreateOrEditSalesItemActions.resetSalesItemForm());\n                }\n            });\n        } else {\n            // if save/update mode, open the apply changes modal\n            dispatch(CreateOrEditSalesItemActions.setIdToGoToAfterSave(null));\n            void this.handleOpenApplyChangesDialog();\n        }\n    }\n\n    private readonly onSaveAndContinueFromUnsavedChangesDialog = () => {\n        this.onSaveClick();\n        this.closeUnsavedChangesDialog();\n    }\n\n    // private readonly onSalesItemFormFieldChange = (fieldName : SalesItemFormFieldName, value : string) => {\n    //     this.props.dispatch(CreateOrEditSalesItemActions.onSalesItemFormFieldChange(fieldName, value));\n    // }\n\n    private readonly onIngredientInfoFormFieldChange = (fieldName : IngredientFormFieldName, value : string) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onIngredientInfoFormFieldChange(fieldName, value));\n    }\n\n    private readonly onProductRowFormFieldChange = (productId : ProductId, fieldName : ProductIngredientRowFormFieldName, value : string) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onProductRowFormFieldChange(productId, fieldName, value));\n    }\n\n    private readonly onProductRowFormFieldBlur = (ingredientId : ProductId, fieldName : ProductIngredientRowFormFieldName, value : string) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onIngredientRowFormFieldBlur(ingredientId, fieldName, value));\n    }\n\n    private readonly onSalesItemRowFormFieldChange = (salesItemId : SalesItemId, fieldName : SalesItemIngredientRowFormFieldName, value : string) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onSalesItemRowFormFieldChange(salesItemId, fieldName, value));\n    }\n\n    private readonly onSalesItemRowFormFieldBlur = (ingredientId : SalesItemId, fieldName : SalesItemIngredientRowFormFieldName, value : string) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onIngredientRowFormFieldBlur(ingredientId, fieldName, value));\n    }\n\n    private readonly onAddIngredient = () => {\n        const {\n            dispatch,\n            createOrEditSalesItemState\n        } = this.props;\n\n        let slimCreatePromiseIfApplicable : Promise<SalesItemId | null | void>;\n        if (createOrEditSalesItemState.isShownByComponentName.createNewSalesItemFields) {\n            slimCreatePromiseIfApplicable = dispatch(CreateOrEditSalesItemActions.onSlimCreateNewSalesItemIngredient());\n        } else {\n            slimCreatePromiseIfApplicable = Promise.resolve();\n        }\n        const currentNumberOfIngredients = createOrEditSalesItemState.salesItemForm.orderedIngredientItems.length;\n\n        void slimCreatePromiseIfApplicable\n        .then((response) => {\n            if (response !== null) { // null means validation failed.\n                dispatch(CreateOrEditSalesItemActions.onAddIngredient());\n                this.setIngredientSearchBarTerm(null);\n                if (currentNumberOfIngredients === 0) {\n                    this.totalUnmappedCount -= 1; // adding 1 = one less unmapped\n                }\n            }\n        });\n    }\n\n    private readonly toggleSubRecipeInfoIsShown = () => {\n        const toggle = !this.props.createOrEditSalesItemState.isShownByComponentName.subRecipeInfo;\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('subRecipeInfo', toggle));\n    }\n\n    private readonly onRemoveIngredientClick = (ingredientId : ProductId | SalesItemId) => {\n        const currentNumberOfIngredients = this.props.createOrEditSalesItemState.salesItemForm.orderedIngredientItems.length;\n        if (ingredientId instanceof ProductId) {\n            this.props.dispatch(CreateOrEditSalesItemActions.setProductIngredientItemsRow(ingredientId, null));\n        } else {\n            this.props.dispatch(CreateOrEditSalesItemActions.setSalesItemIngredientItemsRow(ingredientId, null));\n        }\n        this.props.dispatch(CreateOrEditSalesItemActions.onGetAndUpdateTotalCost());\n        if (currentNumberOfIngredients === 1) {\n            this.totalUnmappedCount += 1; // removing 1 = one more unmapped\n        }\n    }\n\n    private readonly setSalesPriceAndTaxHintPopoverIsShown = (isShown : boolean) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('salesPriceAndTaxHintPopover', isShown));\n    }\n\n    private readonly toggleMiscellaneousCostIsShown = () => {\n        const toggle = !this.props.createOrEditSalesItemState.isShownByComponentName.miscellaneousCost;\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('miscellaneousCost', toggle));\n    }\n\n    private readonly onSalesInformationFormFieldChange = (fieldName : SalesInformationFormFieldName, value : string) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onSalesInformationFormFieldChange(fieldName, value));\n    }\n\n    private readonly onSalesInformationFormFieldBlur = (fieldName : SalesInformationFormFieldName, value : string) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onSalesInformationFormFieldBlur(fieldName, value));\n    }\n\n    private readonly handleOnShowConfirmExitDialog = () => {\n        const {\n            dispatch,\n            createOrEditSalesItemState\n        } = this.props;\n\n        const formHasChanged = CreateOrEditSalesItemFormUtils.checkFormHasChangedFromInitial(createOrEditSalesItemState);\n        if (formHasChanged) {\n            dispatch(CreateOrEditSalesItemActions.setComponentIsShown('unsavedChangesModal', true));\n        } else {\n            this.onCloseModalWithoutSaving();\n        }\n    }\n\n    private readonly closeUnsavedChangesDialog = () => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('unsavedChangesModal', false));\n    }\n\n    private readonly onSelectSaveOption = (selectedSaveOption : SalesItemSaveOption) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setSelectedSaveOption(selectedSaveOption));\n    }\n\n    private readonly onApplySaveChanges = () => {\n        const {\n            dispatch,\n            onSave,\n            contextItemLevelReportId,\n            isCustomerSuccessTool\n        } = this.props;\n\n        return dispatch(CreateOrEditSalesItemActions.onApplySaveChanges(contextItemLevelReportId, this.contextOrderedIds, !!isCustomerSuccessTool, this.posInformationByPosItemId, onSave))\n        .then((newContextOrderedIds) => {\n            this.contextOrderedIds = newContextOrderedIds;\n            return Promise.resolve();\n        });\n    }\n\n    private readonly closeApplyChangesDialog = () => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('applyChangesModal', false));\n        this.props.dispatch(CreateOrEditSalesItemActions.setIdToGoToAfterSave(null));\n    }\n\n    private readonly onCloseModalWithoutSaving = () => {\n        this.props.onClose();\n        this.closeUnsavedChangesDialog();\n        this.props.dispatch(CreateOrEditSalesItemActions.resetSalesItemForm());\n    }\n\n    private readonly setIngredientSearchBarTerm = (searchTerm : string | null) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onSetIngredientSearchBarTerm(searchTerm));\n    }\n\n    private readonly setHighlightedIngredientId = (ingredientId : ProductId | SalesItemId | null) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setIngredientSearchBarHighlightedIngredientId(ingredientId));\n    }\n\n    private readonly setIngredientDropdownIsShown = (isShown : boolean) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('ingredientSearchBarDropdown', isShown));\n    }\n\n    private readonly setSearchBarSlimCreateIsShown = (isShown : boolean) => {\n        const {\n            dispatch,\n            createOrEditSalesItemState,\n        } = this.props;\n\n        const searchTerm = createOrEditSalesItemState.salesItemForm.ingredientSearchBar.searchBar.searchTerm;\n\n        if (isShown) {\n            dispatch(ProductSlimCreateFormActions.onFormFieldChange('name', searchTerm || ''));\n        }\n\n        dispatch(CreateOrEditSalesItemActions.setComponentIsShown('searchBarSlimCreate', isShown));\n        dispatch(CreateOrEditSalesItemActions.resetAddNewIngredientFormSection());\n    }\n\n    private readonly setCreateNewSalesItemFieldsAreShown = (isShown : boolean) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('createNewSalesItemFields', isShown));\n    }\n\n    private readonly onSelectIngredient = (ingredientId : ProductId | SalesItemId | null) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onSelectIngredient(ingredientId));\n    }\n\n    private readonly onSlimCreateNewProductIngredient = (productId : ProductId) => {\n        const {\n            dispatch,\n        } = this.props;\n\n        void dispatch(CreateOrEditSalesItemActions.onProductCreatedOrEdited(productId, true))\n        .then(() => {\n            this.onSelectIngredient(productId);\n        });\n        dispatch(CreateOrEditSalesItemActions.setComponentIsShown('searchBarSlimCreate', false));\n        dispatch(ProductSlimCreateFormActions.resetForm());\n    }\n\n    private readonly onSalesItemFlagChange = (flag : string | null) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setNeedsAttentionCategory(flag));\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('saveIsDisabled', false));\n    }\n\n    private readonly onMarkFlagAsResolvedClick = () => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setNeedsAttentionCategory(null));\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('saveIsDisabled', false));\n    }\n\n    private readonly setIngredientPopoverIsShownForId = (ingredientId : ProductId | SalesItemId, isShown : boolean) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setPopoverIngredientIdIsShown(new StringValueSet([ingredientId]), isShown));\n    }\n\n    private readonly onProductInfoFullDetailsClick = (ingredientId : ProductId) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.onEditItemClick(ingredientId));\n        this.props.dispatch(CreateOrEditSalesItemActions.setPopoverIngredientIdIsShown(new StringValueSet([ingredientId]), false));\n    }\n\n    private readonly handleSetDoNotAskForSaveOptionsAgain = (isChecked : boolean) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('doNotAskForSaveOptionsAgain', isChecked));\n    }\n\n    private readonly handleOpenApplyChangesDialog = () : Promise<null | void> => { // return null = no save. void = save\n        const {\n            dispatch,\n            createOrEditSalesItemState\n        } = this.props;\n\n        if (!this.onlyShowAllTimeSaveOption && createOrEditSalesItemState.salesItemId instanceof SalesItemId) {\n            if (createOrEditSalesItemState.isShownByComponentName.doNotAskForSaveOptionsAgain) {\n                return this.onApplySaveChanges(); // use the previously selected save option\n            } else {\n                dispatch(CreateOrEditSalesItemActions.setComponentIsShown('applyChangesModal', true));\n                return Promise.resolve(null);\n            }\n        } else {\n            // on mapping tool/if no POS reporting, don't ask for option - just save for all time.\n            this.onSelectSaveOption(SalesItemSaveOption.ALL_REPORTS); // make sure this is chosen (should already be, but just to be safe)\n            return this.onApplySaveChanges();\n        }\n\n    }\n\n    private readonly onPreviousButtonClick = () => {\n        const {\n            createOrEditSalesItemState,\n            dispatch,\n            isCustomerSuccessTool\n        } = this.props;\n\n        if (createOrEditSalesItemState.previousSalesItemId === null) {\n            throw new RuntimeException('previousSalesItemId unexpectedly null');\n        }\n\n        const formHasChanged = CreateOrEditSalesItemFormUtils.checkFormHasChangedFromInitial(createOrEditSalesItemState);\n        if (formHasChanged) {\n            dispatch(CreateOrEditSalesItemActions.setIdToGoToAfterSave(createOrEditSalesItemState.previousSalesItemId));\n            void this.handleOpenApplyChangesDialog();\n        } else {\n            void dispatch(CreateOrEditSalesItemActions.initializeFormFromSalesItem(createOrEditSalesItemState.previousSalesItemId, this.contextOrderedIds, !!isCustomerSuccessTool, this.posInformationByPosItemId));\n        }\n    }\n\n    private readonly onNextButtonClick = () => {\n        const {\n            createOrEditSalesItemState,\n            dispatch,\n            isCustomerSuccessTool,\n        } = this.props;\n\n        if (createOrEditSalesItemState.nextSalesItemId === null) {\n            throw new RuntimeException('nextSalesItemId unexpectedly null');\n        }\n\n        const formHasChanged = CreateOrEditSalesItemFormUtils.checkFormHasChangedFromInitial(createOrEditSalesItemState);\n        if (formHasChanged) {\n            dispatch(CreateOrEditSalesItemActions.setIdToGoToAfterSave(createOrEditSalesItemState.nextSalesItemId));\n            void this.handleOpenApplyChangesDialog();\n        } else {\n            void dispatch(CreateOrEditSalesItemActions.initializeFormFromSalesItem(createOrEditSalesItemState.nextSalesItemId, this.contextOrderedIds, !!isCustomerSuccessTool, this.posInformationByPosItemId));\n        }\n    }\n\n    private readonly handleActionButtonClick = () => {\n        const {\n            createOrEditSalesItemState,\n            dispatch,\n            onActionButtonClick\n         } = this.props;\n\n        // save, then action button callback\n        const formHasChanged = CreateOrEditSalesItemFormUtils.checkFormHasChangedFromInitial(createOrEditSalesItemState);\n        if (formHasChanged) {\n            void this.handleOpenApplyChangesDialog()\n            .then((result : null | void) => {\n                if (result !== null) {\n                    onActionButtonClick();\n                    dispatch(CreateOrEditSalesItemActions.resetSalesItemForm());\n                }\n            });\n        } else {\n            onActionButtonClick();\n            dispatch(CreateOrEditSalesItemActions.resetSalesItemForm());\n        }\n    }\n\n    private readonly setShortcutPopoverIsShown = (isShown : boolean) => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('shortcutPopover', isShown));\n    }\n\n    private readonly onDocumentKeyUp = (event : KeyboardEvent) => {\n        const {\n            createOrEditSalesItemState,\n        } = this.props;\n\n        const target = event.target as HTMLElement;\n        const closestInput = target.closest('input');\n        const closestTextArea = target.closest('textarea');\n        if ((closestInput && closestInput.value.length !== 0) ||\n            (closestTextArea && closestTextArea.value.length !== 0)) {\n            return;\n        }\n\n        const keyCode = event.which;\n        if (actionKeyCodeSet.has(keyCode)) {\n            event.preventDefault();\n            event.stopPropagation();\n\n            if ((keyCode === ActionKeyCodes.n || keyCode === ActionKeyCodes.RIGHT_ARROW) && createOrEditSalesItemState.nextSalesItemId !== null) {\n                this.onNextButtonClick();\n            } else if ((keyCode === ActionKeyCodes.p || keyCode === ActionKeyCodes.LEFT_ARROW) && createOrEditSalesItemState.previousSalesItemId !== null) {\n                this.onPreviousButtonClick();\n            } else if (window.GLOBAL_USER_IS_ADMIN && keyCode === ActionKeyCodes.f) { // flag shortcut only for BevSpot admins\n                if (createOrEditSalesItemState.salesItemForm.selectedNeedsAttentionCategory === null) {\n                    this.onSalesItemFlagChange(availableSalesItemFlags[0]);\n                } else {\n                    this.onSalesItemFlagChange(null);\n                }\n            }\n        }\n    }\n\n    private readonly onCustomItemSuccessfullyEdited = (event : Event, data: { productId: string }) : void => {\n        const {\n            dispatch,\n            createOrEditSalesItemState\n        } = this.props;\n\n        if (createOrEditSalesItemState.salesItemFormData === null) {\n            throw new Error('createOrEditSalesItemState.salesItemFormData unexpectedly null');\n        }\n\n        const productId = new ProductId(data.productId);\n        const isStatusActive = createOrEditSalesItemState.salesItemFormData.activeProductIds.has(productId);\n        void dispatch(CreateOrEditSalesItemActions.onProductCreatedOrEdited(productId, isStatusActive))\n        .then(() => {\n            dispatch(CreateOrEditSalesItemActions.onGetAndUpdateTotalCost());\n        });\n    }\n\n    private readonly onDeleteProductFromEditItemModal = (event : Event, data : {productIds: Array<string>}) : void => {\n        const {\n            dispatch,\n        } = this.props;\n\n        const productId = new ProductId(data.productIds[0]);\n        void dispatch(CreateOrEditSalesItemActions.onProductCreatedOrEdited(productId, false));\n    }\n\n    private readonly onItemActiveStateChangedFromEditItemModal = (event : Event, data : { productId : string, isActive : boolean }) : void => {\n        const {\n            dispatch,\n        } = this.props;\n\n        const productId = new ProductId(data.productId);\n        void dispatch(CreateOrEditSalesItemActions.onProductCreatedOrEdited(productId, data.isActive));\n    }\n\n    private readonly onOmitItemClick = () => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('omitItemConfirmationDialog', true));\n    }\n\n    private readonly closeOmitItemDialog = () => {\n        this.props.dispatch(CreateOrEditSalesItemActions.setComponentIsShown('omitItemConfirmationDialog', false));\n    }\n\n    private readonly onConfirmOmitItem = () => {\n        const {\n            dispatch,\n            createOrEditSalesItemState,\n            onOmitItem,\n            isCustomerSuccessTool,\n            onClose\n        } = this.props;\n\n        if (onOmitItem !== null && createOrEditSalesItemState.salesItemId !== null) {\n            onOmitItem(createOrEditSalesItemState.salesItemId);\n\n            const idToGoToNext : SalesInputRowId | null = createOrEditSalesItemState.nextSalesItemId === null ? createOrEditSalesItemState.previousSalesItemId : createOrEditSalesItemState.nextSalesItemId;\n            if (idToGoToNext !== null) {\n                const oldIndex = this.contextOrderedIds.findIndex((value) => value.equals(createOrEditSalesItemState.salesItemId));\n                const newContextOrderedIds = [...this.contextOrderedIds];\n                newContextOrderedIds.splice(oldIndex, 1); // remove omitted from the loop\n\n                void dispatch(CreateOrEditSalesItemActions.initializeFormFromSalesItem(idToGoToNext, newContextOrderedIds, !!isCustomerSuccessTool, this.posInformationByPosItemId))\n                .then(() => this.contextOrderedIds = newContextOrderedIds);\n            } else { // if no other items and we just omitted, close\n                onClose();\n                dispatch(CreateOrEditSalesItemActions.resetSalesItemForm());\n            }\n            this.closeOmitItemDialog();\n        }\n    }\n}\n\nexport interface IStateProps {\n    createOrEditSalesItemState : ICreateOrEditSalesItemState;\n    productSlimCreateFormState : IProductSlimCreateFormState;\n}\n\nconst mapStateToProps = (state : IStateProps) : IStateProps => {\n    return {\n        createOrEditSalesItemState: state.createOrEditSalesItemState,\n        productSlimCreateFormState: state.productSlimCreateFormState,\n    };\n};\n\n// To use this connected component, you MUST do the following (though ofc if you understand why they are needed feel free to improve):\n// - In your top-level app combineReducer (usually the index.tsx file), make sure all members of IStateProps exist\n// - Add sure all services corresponding to IStateProps are added\n// - *MAJOR CATCH* Add ItemCard JS bundle and mount point to the django template\nexport const ConnectedMapSalesItemView = connect<IStateProps, IMapSalesItemViewProps, object, IStateProps>(mapStateToProps)(MapSalesItemView);\n","import { ICategoryService } from 'api/Product/interfaces/ICategoryService';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { ThunkAction, batchActions, IAction } from 'shared/models/IAction';\n\nimport throttle from 'lodash/throttle';\nimport moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ILocationProductService } from 'api/Location/interfaces/ILocationProductService';\nimport { DefaultPour, ILocationSettingsService } from 'api/Location/interfaces/ILocationSettingsService';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IProductCostService } from 'api/Product/interfaces/IProductCostService';\nimport { IProductService } from 'api/Product/interfaces/IProductService';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { ItemLevelSalesReportConfigurationId } from 'api/Reports/model/ItemLevelSalesReportConfigurationId';\nimport { ISalesItemService } from 'api/SalesItem/interfaces/ISalesItemService';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\nimport { IUserAccountInfoReader } from 'api/UserAccount/interfaces/IUserAccountInfoReader';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport type { IUserName } from 'api/UserAccount/model/IUserName';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { BevSpotDispatch, IExtraArguments } from 'shared/components/Provider';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { momentObjectToThriftSerializer, productJSONToObjectSerializer } from 'shared/lib/manager';\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\nimport { SortDirection } from 'shared/models/SortDirection';\nimport { Observer } from 'shared/utils/observer';\nimport { URLStringUtils } from 'shared/utils/urlStringUtils';\n\nimport { CreateOrEditSalesItemFormUtils, NOT_CALCULABLE_FIELD_VALUE } from '../utils/CreateOrEditSalesItemFormUtils';\n\nimport { ProductSearchBarSortingUtil, SalesItemSearchBarSortingUtil } from 'apps/CreateOrEditSalesItem/utils/ProductAndSalesItemSearchBarSortingUtil';\nimport { getCachedSalesItemCostsForIds } from 'apps/SalesItemManager/utils/CachedSalesItemCostUtils';\nimport { SalesItemManagerUtils } from 'apps/SalesItemManager/utils/SalesItemManagerUtils';\n\nimport { PosItemId } from 'api/SalesData/model/PosItemId';\nimport { SalesInputRowId } from 'shared/components/SalesInputTable/SalesInputRow';\nimport { NOTIFICATION_TIMEOUT_IN_MILLISECONDS } from 'shared/constants';\nimport {\n    ComponentName,\n    ICreateOrEditSalesItemState,\n    IngredientFormFieldName,\n    IngredientFormValidationByFieldName,\n    IPmixItemInformation,\n    ISalesItemForm,\n    ISalesItemFormData,\n    ProductIngredientRowFormFieldName,\n    ProductIngredientRowInfoByFormFieldName,\n    SalesInformationFormFieldName,\n    SalesInformationFormValidationByFieldName,\n    SalesItemFormFieldName,\n    SalesItemFormValidationByFieldName,\n    SalesItemIngredientRowFormFieldName,\n    SalesItemIngredientRowInfoByFormFieldName,\n    SalesItemSaveOption,\n    slimCreateSalesItemFormFieldNames\n} from './../reducers/reducers';\n\nexport const CreateOrEditSalesItemActionTypes = {\n    SET_SALES_ITEM_ID: 'CREATE_OR_EDIT_SALES_ITEM/SET_SALES_ITEM_ID',\n    SET_NEEDS_ATTENTION_CATEGORY: 'CREATE_OR_EDIT_SALES_ITEM/SET_NEEDS_ATTENTION_CATEGORY',\n    SET_SELECTED_INGREDIENT_TYPE: 'CREATE_OR_EDIT_SALES_ITEM/SET_SELECTED_INGREDIENT_TYPE',\n    SET_SALES_ITEM_FORM_VALIDATION_BY_FIELD_NAME: 'CREATE_OR_EDIT_SALES_ITEM/SET_SALES_ITEM_FORM_VALIDATION_BY_FIELD_NAME',\n    SET_INGREDIENT_FORM_VALIDATION_BY_FIELD_NAME: 'CREATE_OR_EDIT_SALES_ITEM/SET_INGREDIENT_FORM_VALIDATION_BY_FIELD_NAME',\n    SET_SALES_INFORMATION_FORM_VALIDATION_BY_FIELD_NAME: 'CREATE_OR_EDIT_SALES_ITEM/SET_SALES_INFORMATION_FORM_VALIDATION_BY_FIELD_NAME',\n    SET_SALES_ITEM_FORM_DATA: 'CREATE_OR_EDIT_SALES_ITEM/SET_SALES_ITEM_FORM_DATA',\n    SET_LINKED_ITEMS: 'CREATE_OR_EDIT_SALES_ITEM/SET_LINKED_ITEMS',\n    ADD_EDITED_PRODUCT_ID: 'CREATE_OR_EDIT_SALES_ITEM/ADD_EDITED_PRODUCT_ID',\n    CLEAR_EDITED_PRODUCT_IDS: 'CREATE_OR_EDIT_SALES_ITEM/CLEAR_EDITED_PRODUCT_IDS',\n    SET_COMPONENT_IS_SHOWN: 'CREATE_OR_EDIT_SALES_ITEM/SET_COMPONENT_IS_SHOWN',\n    SET_POPOVER_INGREDIENT_ID_IS_SHOWN: 'CREATE_OR_EDIT_SALES_ITEM/SET_POPOVER_INGREDIENT_ID_IS_SHOWN',\n    UPDATE_MENU_GROUP: 'CREATE_OR_EDIT_SALES_ITEM/UPDATE_MENU_GROUP',\n    SET_SORTED_MENU_GROUP_OPTIONS: 'CREATE_OR_EDIT_SALES_ITEM/SET_SORTED_MENU_GROUP_OPTIONS',\n    SET_SALES_ITEM_FORM: 'CREATE_OR_EDIT_SALES_ITEM/SET_SALES_ITEM_FORM',\n    SET_PRODUCT_INGREDIENT_ITEMS_ROW: 'CREATE_OR_EDIT_SALES_ITEM/SET_PRODUCT_INGREDIENT_ITEMS_ROW',\n    SET_PRODUCT_QUICK_ADD_ITEMS_ROW: 'CREATE_OR_EDIT_SALES_ITEM/SET_PRODUCT_QUICK_ADD_ITEMS_ROW',\n    SET_SALES_ITEM_INGREDIENT_ITEMS_ROW: 'CREATE_OR_EDIT_SALES_ITEM/SET_SALES_ITEM_INGREDIENT_ITEMS_ROW',\n    RESET_SALES_ITEM_FORM: 'CREATE_OR_EDIT_SALES_ITEM/RESET_SALES_ITEM_FORM',\n    SET_SELECTED_SAVE_OPTION: 'CREATE_OR_EDIT_SALES_ITEM/SET_SELECTED_SAVE_OPTION',\n    SET_INGREDIENT_SEARCH_BAR_HIGHLIGHTED_ID: 'CREATE_OR_EDIT_SALES_ITEM/SET_INGREDIENT_SEARCH_BAR_HIGHLIGHTED_ID',\n    SET_INGREDIENT_SEARCH_BAR_STATE: 'CREATE_OR_EDIT_SALES_ITEM/SET_INGREDIENT_SEARCH_BAR_STATE',\n    SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_PRODUCT_IDS_TO_DISPLAY: 'CREATE_OR_EDIT_SALES_ITEM/SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_PRODUCT_IDS_TO_DISPLAY',\n    SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_SALES_ITEM_IDS_TO_DISPLAY: 'CREATE_OR_EDIT_SALES_ITEM/SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_SALES_ITEM_IDS_TO_DISPLAY',\n    SET_SELECTED_INDREDIENT_ID: 'CREATE_OR_EDIT_SALES_ITEM/SET_SELECTED_INDREDIENT_ID',\n    RESET_ADD_NEW_INGREDIENT_FORM_SECTION: 'CREATE_OR_EDIT_SALES_ITEM/RESET_ADD_NEW_INGREDIENT_FORM_SECTION',\n    SET_DEFAULT_POUR_BY_PRODUCT_CATEGORY: 'CREATE_OR_EDIT_SALES_ITEM/SET_DEFAULT_POUR_BY_PRODUCT_CATEGORY',\n    SET_NEXT_AND_PREVIOUS_IDS: 'CREATE_OR_EDIT_SALES_ITEM/SET_NEXT_AND_PREVIOUS_IDS',\n    SET_ID_TO_GO_TO_AFTER_SAVE: 'CREATE_OR_EDIT_SALES_ITEM/SET_ID_TO_GO_TO_AFTER_SAVE',\n    SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_PRODUCT_QUICK_ADD_ITEMS_TO_DISPLAY: 'SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_PRODUCT_QUICK_ADD_ITEMS_TO_DISPLAY',\n    SET_SALES_ITEM_IMAGE_UPLOAD_URL: 'CREATE_OR_EDIT_SALES_ITEM/SET_SALES_ITEM_IMAGE_UPLOAD',\n};\n\nexport interface ICreateOrEditSalesItemStore {\n    createOrEditSalesItemState : ICreateOrEditSalesItemState;\n}\n\nexport namespace CreateOrEditSalesItemActionInterfaces {\n    export interface ISetSalesItemId extends IAction {\n        payload : {\n            salesItemId : SalesInputRowId | null;\n        };\n    }\n\n    export interface ISetNeedsAttentionCategory extends IAction {\n        payload : {\n            needsAttentionCategory : string | null;\n        };\n    }\n\n    export interface ISetSalesItemFormValidationByFieldName extends IAction {\n        payload : {\n            fieldName : SalesItemFormFieldName;\n            value : string;\n            errorMessage : string;\n            isValid : boolean;\n        };\n    }\n\n    export interface ISetIngredientFormValidationByFieldName extends IAction {\n        payload : {\n            fieldName : IngredientFormFieldName;\n            value : string;\n            errorMessage : string;\n            isValid : boolean;\n        };\n    }\n\n    export interface ISetSalesInformationFormValidationByFieldName extends IAction {\n        payload : {\n            fieldName : SalesInformationFormFieldName;\n            value : string;\n            errorMessage : string;\n            isValid : boolean;\n        };\n    }\n\n    export interface ISetSalesItemFormData extends IAction {\n        payload : {\n            salesItemFormData : ISalesItemFormData;\n        };\n    }\n\n    export interface ISetLinkedItems extends IAction {\n        payload : {\n            linkedItems : StringValueSet<SalesItemId>;\n        };\n    }\n\n    export interface IAddEditedProductId extends IAction {\n        payload : {\n            productId : ProductId;\n        };\n    }\n\n    export interface IClearEditedProductIds extends IAction {\n        payload : object;\n    }\n\n    export interface ISetComponentIsShown extends IAction {\n        payload : {\n            componentName : ComponentName;\n            isShown : boolean;\n        };\n    }\n\n    export interface ISetPopoverIngredientIdIsShown extends IAction {\n        payload : {\n            popoverIngredientIdIsShown : StringValueSet<ProductId | SalesItemId>;\n            isShown : boolean;\n        };\n    }\n\n    export interface IUpdateMenuGroup extends IAction {\n        payload : {\n            value : string;\n        };\n    }\n    export interface ISetIngredientSearchBarHighlightedIngredientId extends IAction {\n        payload : {\n            ingredientId : ProductId | SalesItemId | null,\n        };\n    }\n\n    export interface ISetSortedMenuGroupOptions extends IAction {\n        payload : {\n            sortedOptions : Array<IOption>;\n        };\n    }\n\n    export interface ISetSalesItemForm extends IAction {\n        payload : {\n            salesItemForm : ISalesItemForm;\n        };\n    }\n\n    export interface ISetProductIngredientItemsRow extends IAction {\n        payload : {\n            ingredientId : ProductId,\n            formInfo : ProductIngredientRowInfoByFormFieldName | null,\n        };\n    }\n\n    export interface ISetSalesItemIngredientItemsRow extends IAction {\n        payload : {\n            ingredientId : SalesItemId,\n            formInfo : SalesItemIngredientRowInfoByFormFieldName | null,\n        };\n    }\n\n    export interface IResetSalesItemForm extends IAction {\n        payload : object;\n    }\n\n    export interface ISetSelectedSaveOption extends IAction {\n        payload : {\n            selectedSaveOption : SalesItemSaveOption;\n        };\n    }\n\n    export interface ISetIngredientSearchBarState extends IAction {\n        payload : {\n            searchBar : ISearchBarState,\n        };\n    }\n\n    export interface ISetIngredientSearchBarLabelNamesAndSortedProductIdsToDisplay extends IAction {\n        payload : {\n            labelNamesAndSortedProductIdsToDisplay : Array<[string, Array<ProductId>]>,\n        };\n    }\n\n    export interface ISetIngredientSearchBarLabelNamesAndSortedSalesItemIdsToDisplay extends IAction {\n        payload : {\n            labelNamesAndSortedSalesItemIdsToDisplay : Array<[string, Array<SalesItemId>]>,\n        };\n    }\n\n    export interface ISetSelectedIngredientId extends IAction {\n        payload : {\n            selectedIngredientId : ProductId | SalesItemId | null,\n        };\n    }\n\n    export interface IResetAddNewIngredientFormSection extends IAction {\n        payload : object;\n    }\n\n    export interface ISetDefaultPourByProductCategory extends IAction {\n        payload : {\n            defaultPourByProductCategory : DefaultPour | null,\n        };\n    }\n\n    export interface ISetNextAndPreviousItemIds extends IAction {\n        payload : {\n            nextSalesItemId : SalesItemId | null,\n            previousSalesItemId : SalesItemId | null\n        };\n    }\n\n    export interface ISetIdToGoToAfterSave extends IAction {\n        payload : {\n            idToGoToAfterSave : SalesItemId | null\n        };\n    }\n\n    export interface ISetSalesItemImageUploadUrl extends IAction {\n        payload: {\n            salesItemImageUploadUrl : string | null,\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        userAccountInfoReader : IUserAccountInfoReader;\n        locationProductService : ILocationProductService;\n        productService : IProductService;\n        productCostService : IProductCostService;\n        salesItemService : ISalesItemService;\n        locationSettingsService : ILocationSettingsService;\n        categoryService : ICategoryService;\n    }\n\n    export interface ICreateOrEditSalesItemExtraArguments extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nexport type TypedCreateOrEditSalesItemDispatch = BevSpotDispatch<ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments>\n\nconst setSalesItemId = (\n    salesItemId : SalesInputRowId | null\n) : CreateOrEditSalesItemActionInterfaces.ISetSalesItemId => ({\n    payload: {\n        salesItemId,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_ID,\n});\n\nconst setNeedsAttentionCategory = (\n    needsAttentionCategory : string | null\n) : CreateOrEditSalesItemActionInterfaces.ISetNeedsAttentionCategory => ({\n    payload: {\n        needsAttentionCategory,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_NEEDS_ATTENTION_CATEGORY,\n});\n\nconst setSalesItemFormValidationByFieldName = (\n    fieldName : SalesItemFormFieldName,\n    value : string,\n    errorMessage : string,\n    isValid : boolean\n) : CreateOrEditSalesItemActionInterfaces.ISetSalesItemFormValidationByFieldName => ({\n    payload: {\n        fieldName,\n        value,\n        errorMessage,\n        isValid,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_FORM_VALIDATION_BY_FIELD_NAME,\n});\n\nconst setIngredientFormValidationByFieldName = (\n    fieldName : IngredientFormFieldName,\n    value : string,\n    errorMessage : string,\n    isValid : boolean\n) : CreateOrEditSalesItemActionInterfaces.ISetIngredientFormValidationByFieldName => ({\n    payload: {\n        fieldName,\n        value,\n        errorMessage,\n        isValid,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_INGREDIENT_FORM_VALIDATION_BY_FIELD_NAME,\n});\n\nconst setSalesInformationFormValidationByFieldName = (\n    fieldName : SalesInformationFormFieldName,\n    value : string,\n    errorMessage : string,\n    isValid : boolean\n) : CreateOrEditSalesItemActionInterfaces.ISetSalesInformationFormValidationByFieldName => ({\n    payload: {\n        fieldName,\n        value,\n        errorMessage,\n        isValid,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_SALES_INFORMATION_FORM_VALIDATION_BY_FIELD_NAME,\n});\n\nconst setSalesItemFormData = (\n    salesItemFormData : ISalesItemFormData\n) : CreateOrEditSalesItemActionInterfaces.ISetSalesItemFormData => ({\n    payload: {\n        salesItemFormData,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_FORM_DATA\n});\n\nconst setLinkedItems = (\n    linkedItems : StringValueSet<SalesItemId>\n) : CreateOrEditSalesItemActionInterfaces.ISetLinkedItems => ({\n    payload: {\n        linkedItems,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_LINKED_ITEMS,\n});\n\nconst addEditedProductId = (\n    productId : ProductId\n) : CreateOrEditSalesItemActionInterfaces.IAddEditedProductId => ({\n    payload: {\n        productId,\n    },\n    type: CreateOrEditSalesItemActionTypes.ADD_EDITED_PRODUCT_ID,\n});\n\nconst clearEditedProductIds = () : CreateOrEditSalesItemActionInterfaces.IClearEditedProductIds => ({\n    payload: {},\n    type: CreateOrEditSalesItemActionTypes.CLEAR_EDITED_PRODUCT_IDS,\n});\n\nconst setComponentIsShown = (\n    componentName : ComponentName,\n    isShown : boolean,\n) : CreateOrEditSalesItemActionInterfaces.ISetComponentIsShown => ({\n    payload: {\n        isShown,\n        componentName,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_COMPONENT_IS_SHOWN\n});\n\nconst setPopoverIngredientIdIsShown = (\n    popoverIngredientIdIsShown : StringValueSet<ProductId | SalesItemId>,\n    isShown : boolean\n) => ({\n    payload: {\n        popoverIngredientIdIsShown,\n        isShown,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_POPOVER_INGREDIENT_ID_IS_SHOWN,\n});\n\nconst updateMenuGroup = (value : string) => ({\n    payload: { value },\n    type: CreateOrEditSalesItemActionTypes.UPDATE_MENU_GROUP,\n});\n\nconst setSortedMenuGroupOptions = (sortedOptions : Array<IOption>) => ({\n    payload: { sortedOptions },\n    type: CreateOrEditSalesItemActionTypes.SET_SORTED_MENU_GROUP_OPTIONS,\n});\n\nconst setSalesItemForm = (salesItemForm : ISalesItemForm) : CreateOrEditSalesItemActionInterfaces.ISetSalesItemForm => ({\n    payload: {\n        salesItemForm,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_FORM,\n});\n\nconst setProductIngredientItemsRow = (\n    ingredientId : ProductId,\n    formInfo : ProductIngredientRowInfoByFormFieldName | null,\n) : CreateOrEditSalesItemActionInterfaces.ISetProductIngredientItemsRow => {\n    return ({\n        payload: {\n            ingredientId,\n            formInfo,\n        },\n        type: CreateOrEditSalesItemActionTypes.SET_PRODUCT_INGREDIENT_ITEMS_ROW,\n    });\n};\n\nconst setSalesItemIngredientItemsRow = (\n    ingredientId : SalesItemId,\n    formInfo : SalesItemIngredientRowInfoByFormFieldName | null,\n) : CreateOrEditSalesItemActionInterfaces.ISetSalesItemIngredientItemsRow => ({\n    payload: {\n        ingredientId,\n        formInfo,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_INGREDIENT_ITEMS_ROW,\n});\n\nconst resetSalesItemForm = () : CreateOrEditSalesItemActionInterfaces.IResetSalesItemForm => ({\n    payload: {},\n    type: CreateOrEditSalesItemActionTypes.RESET_SALES_ITEM_FORM,\n});\n\nconst setSelectedSaveOption = (selectedSaveOption : SalesItemSaveOption) : CreateOrEditSalesItemActionInterfaces.ISetSelectedSaveOption => ({\n    payload: {\n        selectedSaveOption,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_SELECTED_SAVE_OPTION,\n});\n\nconst setIngredientSearchBarHighlightedIngredientId = (\n    ingredientId : ProductId | SalesItemId | null,\n) : CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarHighlightedIngredientId => ({\n    payload: {\n        ingredientId,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_INGREDIENT_SEARCH_BAR_HIGHLIGHTED_ID,\n});\n\nconst setIngredientSearchBarLabelNamesAndSortedProductIdsToDisplay = (\n    labelNamesAndSortedProductIdsToDisplay : Array<[string, Array<ProductId>]>,\n) : CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarLabelNamesAndSortedProductIdsToDisplay => ({\n    payload: {\n        labelNamesAndSortedProductIdsToDisplay,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_PRODUCT_IDS_TO_DISPLAY\n});\n\nconst setIngredientSearchBarLabelNamesAndSortedSalesItemIdsToDisplay = (\n    labelNamesAndSortedSalesItemIdsToDisplay : Array<[string, Array<SalesItemId>]>,\n) : CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarLabelNamesAndSortedSalesItemIdsToDisplay => ({\n    payload: {\n        labelNamesAndSortedSalesItemIdsToDisplay,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_SALES_ITEM_IDS_TO_DISPLAY\n});\n\nconst setIngredientSearchBarState = (\n    searchBar : ISearchBarState,\n) : CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarState => ({\n    payload: {\n        searchBar,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_INGREDIENT_SEARCH_BAR_STATE,\n});\n\nconst setSelectedIngredientId = (\n    selectedIngredientId : ProductId | SalesItemId | null\n) : CreateOrEditSalesItemActionInterfaces.ISetSelectedIngredientId => ({\n    payload: {\n        selectedIngredientId,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_SELECTED_INDREDIENT_ID,\n});\n\nconst resetAddNewIngredientFormSection = () => ({\n    payload: {},\n    type: CreateOrEditSalesItemActionTypes.RESET_ADD_NEW_INGREDIENT_FORM_SECTION\n});\n\nconst setDefaultPourByProductCategory = (\n    defaultPourByProductCategory : DefaultPour | null,\n) => ({\n    payload: {\n        defaultPourByProductCategory\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_DEFAULT_POUR_BY_PRODUCT_CATEGORY,\n});\n\nconst setNextAndPreviousItemIds = (\n    nextSalesItemId : SalesInputRowId | null,\n    previousSalesItemId : SalesInputRowId | null\n) => ({\n    payload: {\n        nextSalesItemId,\n        previousSalesItemId\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_NEXT_AND_PREVIOUS_IDS,\n});\n\nconst setIdToGoToAfterSave = (\n    idToGoToAfterSave : SalesInputRowId | null,\n) => ({\n    payload: {\n        idToGoToAfterSave,\n    },\n    type: CreateOrEditSalesItemActionTypes.SET_ID_TO_GO_TO_AFTER_SAVE,\n});\n\nconst setSalesItemImageUploadUrl = (\n    salesItemImageUploadUrl : string | null,\n) => ({\n    payload : { salesItemImageUploadUrl },\n    type : CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_IMAGE_UPLOAD_URL,\n});\n\nconst onSalesItemFormFieldChange = (\n    field : SalesItemFormFieldName,\n    value : string,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(field, value);\n\n        dispatch(setSalesItemFormValidationByFieldName(field, value, errorMessage, isValid));\n        dispatch(setComponentIsShown('saveIsDisabled', !isValid));\n    };\n};\n\nconst onIngredientInfoFormFieldChange = (\n    field : IngredientFormFieldName,\n    value : string,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(field, value);\n\n        dispatch(setIngredientFormValidationByFieldName(field, value, errorMessage, isValid));\n\n        // the only fields that actually affect the final sales item\n        if (field === 'yieldAmount' || field === 'yieldUnit' || field === 'servingSizeAmount' || field === 'servingSizeUnit') {\n            dispatch(setComponentIsShown('saveIsDisabled', !isValid));\n        }\n    };\n};\n\nconst onIngredientRowFormFieldBlur = (\n    ingredientId : ProductId | SalesItemId,\n    field : ProductIngredientRowFormFieldName | SalesItemIngredientRowFormFieldName,\n    value : string,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const salesItemForm = getState().createOrEditSalesItemState.salesItemForm;\n        const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(field, value);\n\n        if (ingredientId instanceof ProductId) {\n            const oldIngredientInfo = salesItemForm.productIngredientItemsById.get(ingredientId);\n            if (typeof oldIngredientInfo === 'undefined') {\n                throw new RuntimeException('unexpected ingredient row not found: ' + ingredientId.getValue());\n            }\n            const newIngredientRowInfo = {\n                ...oldIngredientInfo.formInfo,\n                [field]: {\n                    value,\n                    isValid,\n                    errorMessage,\n                }\n            };\n            dispatch(setProductIngredientItemsRow(ingredientId, newIngredientRowInfo));\n            dispatch(onGetAndUpdateTotalCost());\n        } else {\n            const oldIngredientInfo = salesItemForm.salesItemIngredientItemsById.get(ingredientId);\n            if (typeof oldIngredientInfo === 'undefined') {\n                throw new RuntimeException('unexpected ingredient row not found: ' + ingredientId.getValue());\n            }\n            const newIngredientRowInfo = {\n                ...oldIngredientInfo.formInfo,\n                [field]: {\n                    value,\n                    isValid,\n                    errorMessage,\n                }\n            };\n            dispatch(setSalesItemIngredientItemsRow(ingredientId, newIngredientRowInfo));\n            dispatch(onGetAndUpdateTotalCost());\n        }\n        dispatch(setComponentIsShown('saveIsDisabled', !isValid));\n    };\n};\n\nconst onProductRowFormFieldChange = (\n    productId : ProductId,\n    field : ProductIngredientRowFormFieldName,\n    value : string,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(field, value);\n\n        const previousProductIngredientRowInfo = getState().createOrEditSalesItemState.salesItemForm.productIngredientItemsById.get(productId);\n\n        if (typeof previousProductIngredientRowInfo === 'undefined') {\n            throw new RuntimeException('unexpected ingredient row not found: ' + productId.getValue());\n        }\n        const newProductIngredientRowInfo = {\n            ...previousProductIngredientRowInfo.formInfo,\n            [field]: {\n                value,\n                isValid,\n                errorMessage,\n            }\n        };\n\n        dispatch(setProductIngredientItemsRow(productId, newProductIngredientRowInfo));\n        dispatch(setComponentIsShown('saveIsDisabled', !isValid));\n    };\n};\n\nconst onSalesItemRowFormFieldChange = (\n    salesItemId : SalesItemId,\n    field : SalesItemIngredientRowFormFieldName,\n    value : string,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(field, value);\n\n        const previousProductIngredientRowInfo = getState().createOrEditSalesItemState.salesItemForm.salesItemIngredientItemsById.get(salesItemId);\n\n        if (typeof previousProductIngredientRowInfo === 'undefined') {\n            throw new RuntimeException('unexpected ingredient row not found: ' + salesItemId.getValue());\n        }\n        const newSalesItemIngredientRowInfo = {\n            ...previousProductIngredientRowInfo.formInfo,\n            [field]: {\n                value,\n                isValid,\n                errorMessage,\n            }\n        };\n\n        dispatch(setSalesItemIngredientItemsRow(salesItemId, newSalesItemIngredientRowInfo));\n        dispatch(setComponentIsShown('saveIsDisabled', false));\n    };\n};\n\nconst onSalesInformationFormFieldChange = (\n    field : SalesInformationFormFieldName,\n    value : string,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(field, value);\n        dispatch(setSalesInformationFormValidationByFieldName(field, value, errorMessage, isValid));\n        dispatch(setComponentIsShown('saveIsDisabled', !isValid));\n    };\n};\n\nconst onSetIngredientSearchBarTerm = (\n    searchTerm : string | null,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setIngredientSearchBarState({\n            searchTerm,\n            isDisabled : false,\n            isFocused : false,\n        }));\n        dispatch(setIngredientSearchBarHighlightedIngredientId(null));\n        if (searchTerm === null) {\n            dispatch(setSelectedIngredientId(null));\n        }\n        dispatch(handleSortingFilteringAndGrouping());\n    };\n};\n\n// needs more logic, when one field is changed all fields have to update\nexport type LinkedPriceField = 'salesPrice' | 'costPercentage' | 'salesProfit' | 'priceAndTax'; // must be a subset of SalesInformationFormFieldChange\nconst LINKED_PRICE_FIELDS : Set<SalesInformationFormFieldName> = new Set(['salesPrice', 'costPercentage', 'salesProfit', 'priceAndTax']);\nconst onSalesInformationFormFieldBlur = (\n    field : SalesInformationFormFieldName,\n    value : string,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(field, value);\n        dispatch(setSalesInformationFormValidationByFieldName(field, value, errorMessage, isValid));\n\n        // TODO if invalid, what do we want to do? (can't update the others...). Current behavior: just don't update anything else\n        if (isValid) {\n            const state = getState().createOrEditSalesItemState;\n            const costValue = state.salesItemForm.salesInformationForm.totalCost.value;\n\n            if (field === 'miscCost') {\n                dispatch(onGetAndUpdateTotalCost());\n            } else if (LINKED_PRICE_FIELDS.has(field)) {\n                // salesPrice, costPercentage, salesProfit, and priceAndTax all affect each other - if one field is edited, we must update all others.\n                let itemCost : number | null;\n                if (costValue === NOT_CALCULABLE_FIELD_VALUE) {\n                    if (field === 'costPercentage' || field === 'salesProfit') {\n                        throw new RuntimeException('field should not be editable if cost is not calculable');\n                    }\n                    itemCost = null;\n                } else {\n                    itemCost = parseFloat(costValue);\n                }\n\n                const data = state.salesItemFormData;\n                if (data === null) {\n                    throw new RuntimeException('unexpected');\n                }\n                const taxPercent = data.retailerTaxPercentage;\n                const valueAsNumber = parseFloat(value);\n\n                const formStringValues = CreateOrEditSalesItemFormUtils.getDependentSalesInformationFormValues(field as LinkedPriceField, valueAsNumber, itemCost, taxPercent);\n\n                Object.keys(formStringValues).forEach((key) => {\n                    const keyAsCorrectType = key as LinkedPriceField;\n                    if (key !== field) { // don't need to update the one we already dispatched.\n                        const newValue = formStringValues[keyAsCorrectType];\n                        dispatch(setSalesInformationFormValidationByFieldName(keyAsCorrectType, newValue, '', true)); // if this util is correct, validation always correct.\n                    }\n                });\n            }\n        }\n    };\n};\n\nconst getCostFromIngredientRows = (\n) : ThunkAction<number | null, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : number | null => {\n        const state = getState().createOrEditSalesItemState;\n        const salesItemForm = state.salesItemForm;\n        const data = state.salesItemFormData;\n        if (data === null) {\n            throw new RuntimeException('unexpected');\n        }\n        const salesItemCostsById = getCachedSalesItemCostsForIds(\n            new StringValueSet(Array.from(salesItemForm.salesItemIngredientItemsById.keys())),\n            data.salesItemsById,\n            data.productsById,\n            data.productCostsByProductId\n        );\n\n        let totalProductIngredientCost : number | null = 0;\n        let totalSalesItemIngredientCost : number | null = 0;\n\n        salesItemForm.productIngredientItemsById.forEach((productIngredientRow, productId) => {\n            const formInfoForRow : ProductIngredientRowInfoByFormFieldName = productIngredientRow.formInfo;\n            if (!formInfoForRow.quantity.isValid || !formInfoForRow.unit.isValid || formInfoForRow.unit.value === '' || formInfoForRow.quantity.value === '') {\n                totalProductIngredientCost = null;\n            } else {\n                const productQuantity = new QuantityInUnit(parseFloat(formInfoForRow.quantity.value), productJSONToObjectSerializer.getProductQuantityUnit(formInfoForRow.unit.value));\n\n                const productCostPerQuantity = SalesItemUtils.getCostOfProductComponentInSalesItem(productId, productQuantity, data.productsById, data.productCostsByProductId);\n\n                if (totalProductIngredientCost !== null) {\n                    totalProductIngredientCost += productCostPerQuantity;\n                }\n            }\n        });\n\n        salesItemForm.salesItemIngredientItemsById.forEach((salesItemIngredientRow, salesItemId) => {\n            const formInfoForRow : SalesItemIngredientRowInfoByFormFieldName = salesItemIngredientRow.formInfo;\n            if (!formInfoForRow.quantity.isValid || formInfoForRow.quantity.value === '') {\n                totalSalesItemIngredientCost = null;\n            } else {\n                const salesItem = data.salesItemsById.get(salesItemId);\n                if (typeof salesItem === 'undefined') {\n                    throw new RuntimeException('unexpected');\n                }\n                const salesItemCost = salesItemCostsById.get(salesItemId);\n                if (typeof salesItemCost === 'undefined') {\n                    throw new RuntimeException ('unexpected');\n                }\n                const numberOfServings = parseFloat(salesItemIngredientRow.formInfo.quantity.value);\n                const salesItemCostPerQuantity = SalesItemUtils.getCostOfComponentSalesItem(salesItem.getSalesItem(), numberOfServings, salesItemCost);\n\n                if (salesItemCostPerQuantity === null) {\n                    totalSalesItemIngredientCost = null;\n                } else if (totalSalesItemIngredientCost !== null) {\n                    totalSalesItemIngredientCost += salesItemCostPerQuantity;\n                }\n            }\n        });\n\n        if (totalSalesItemIngredientCost === null || totalProductIngredientCost === null) {\n            return null;\n        } else {\n            return totalSalesItemIngredientCost + totalProductIngredientCost;\n        }\n    };\n};\n\nconst onUpdateTotalCost = (\n    newTotalCost : number | null,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        // update cost on form\n        dispatch(setSalesInformationFormValidationByFieldName('totalCost', CreateOrEditSalesItemFormUtils.getNumberFieldStringFromValue(newTotalCost), '', true));\n\n        // need to update all linked items in the sales information form section. can do this by pretending to update sales price and then letting that action update all linked fields\n        const salesItemPriceForm = getState().createOrEditSalesItemState.salesItemForm.salesInformationForm.salesPrice;\n        if (salesItemPriceForm.value !== '') {\n            dispatch(onSalesInformationFormFieldBlur('salesPrice', salesItemPriceForm.value));\n        }\n    };\n};\n\nconst onGetAndUpdateTotalCost = () : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const salesItemForm = getState().createOrEditSalesItemState.salesItemForm;\n\n        let newTotalCost : number | null;\n        if (!salesItemForm.salesInformationForm.miscCost.isValid) {\n            newTotalCost = null;\n        } else {\n            const miscCostValue = salesItemForm.salesInformationForm.miscCost.value;\n            const costFromIngredients = dispatch(getCostFromIngredientRows());\n            newTotalCost = costFromIngredients !== null ? costFromIngredients + parseFloat(miscCostValue) : null;\n        }\n        dispatch(onUpdateTotalCost(newTotalCost));\n    };\n};\n\nconst createMenuGroupOption = (optionText : string) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) => {\n        const menuGroupOptions = getState().createOrEditSalesItemState.salesItemForm.menuGroupOptions;\n        const cleanedOptionValue = optionText.trim();\n\n        if (menuGroupOptions.map((option) => option.label).indexOf(cleanedOptionValue) < 0) {\n            const newMenuGroupOption = {\n                value : optionText,\n                label : optionText,\n                icon : null,\n            };\n            const newMenuGroupOptions = [newMenuGroupOption, ...menuGroupOptions];\n            dispatch(batchActions([\n               updateMenuGroup(optionText),\n               setSortedMenuGroupOptions(newMenuGroupOptions),\n               setComponentIsShown('saveIsDisabled', false)\n           ]));\n        }\n    };\n};\n\nconst onSelectIngredient = (\n    ingredientId : ProductId | SalesItemId | null,\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setComponentIsShown('ingredientSearchBarDropdown', false));\n        dispatch(setSelectedIngredientId(ingredientId));\n        let unitForForm : string = '';\n        let quantityForFrom : string = '1.00';\n\n        const formData = getState().createOrEditSalesItemState.salesItemFormData;\n        if (ingredientId instanceof ProductId && formData !== null) {\n            const product = formData.productsById.get(ingredientId);\n            if (typeof product !== 'undefined') {\n                // WHEN ADDING INGREDIENT: IF DEFAULT POUR, SET THAT. ELSE, BLANK\n                if (formData.defaultPourByProductCategory !== null) { // if default pour is set, check product category\n                    const category = product.getProductCategoryId();\n                    if (typeof formData.defaultPourByProductCategory[category] !== 'undefined') {\n                        const defaultPourForCategory = formData.defaultPourByProductCategory[category];\n\n                        const productPackagingsAndMappings = product.getPackagingsAndMappings();\n                        const productPackaging = productPackagingsAndMappings.getPackaging();\n\n                        if (defaultPourForCategory.unit === 'unit') {\n                            unitForForm = PackagingUtils.getContainerPackagingId(productPackaging).getValue();\n                        } else if (defaultPourForCategory.unit === 'EA') {\n                            const baseUnit = PackagingUtils.getBaseUnitOfPackaging(productPackaging);\n                            if (baseUnit instanceof PackagingId) { // if base is an each, use each.\n                                unitForForm = baseUnit.getValue();\n                            }\n                        } else if (PackagingUtils.isProductQuantityUnitCompatibleWithPackagings(productPackagingsAndMappings, defaultPourForCategory.unit)) {\n                            unitForForm = defaultPourForCategory.unit; // Mass or Volume - but must be compatible with product to use here.\n                        }\n\n                        quantityForFrom = defaultPourForCategory.quantity.toString();\n                    }\n                }\n\n                if (unitForForm === '') {\n                    const baseUnit = PackagingUtils.getBaseUnitOfPackaging(product.getPackagingsAndMappings().getPackaging());\n                    if (!(baseUnit instanceof PackagingId)) {\n                        if (VolumeUnit.isVolumeUnit(baseUnit)) {\n                            unitForForm = VolumeUnit.OUNCE;\n                        } else if (MassUnit.isMassUnit(baseUnit)) {\n                            unitForForm = MassUnit.DRY_OUNCE;\n                        } else {\n                            throw new Error('unexpected value for base unit');\n                        }\n                    } else {\n                        unitForForm = baseUnit.getValue();\n                    }\n                }\n            }\n        }\n\n        dispatch(setIngredientFormValidationByFieldName('ingredientQuantityAmount', quantityForFrom, '', true));\n        dispatch(setIngredientFormValidationByFieldName('ingredientQuantityUnit', unitForForm, '', true));\n    };\n};\n\nconst onAddIngredient = (\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const state = getState().createOrEditSalesItemState;\n        const salesItemForm = state.salesItemForm;\n        const ingredientId = salesItemForm.ingredientSearchBar.selectedIngredientId;\n\n        if (ingredientId !== null) {\n            let formInfoForRow : ProductIngredientRowInfoByFormFieldName | SalesItemIngredientRowInfoByFormFieldName;\n            if (ingredientId instanceof ProductId) {\n                const oldForm = salesItemForm.productIngredientItemsById.get(ingredientId);\n\n                if (oldForm) {\n                    if (state.salesItemFormData === null) {\n                        throw new RuntimeException('unexpected');\n                    }\n                    const product = state.salesItemFormData.productsById.getRequired(ingredientId);\n\n                    const oldUnit = productJSONToObjectSerializer.getProductQuantityUnit(oldForm.formInfo.unit.value);\n                    const newUnit = productJSONToObjectSerializer.getProductQuantityUnit(salesItemForm.ingredientForm.ingredientQuantityUnit.value);\n                    const newQuantityInUnit = new QuantityInUnit(\n                        parseFloat(salesItemForm.ingredientForm.ingredientQuantityAmount.value),\n                        newUnit\n                    );\n                    const quantityInOldUnit = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), newQuantityInUnit, oldUnit, ingredientId);\n\n                    const newQuantity = quantityInOldUnit.getQuantity() + (parseFloat(oldForm.formInfo.quantity.value) || 0);\n                    formInfoForRow = {\n                        quantity: {\n                            value: newQuantity.toString(),\n                            isValid: true,\n                            errorMessage: ''\n                        },\n                        unit: oldForm.formInfo.unit,\n                    };\n\n                } else {\n                    formInfoForRow = {\n                        quantity: salesItemForm.ingredientForm.ingredientQuantityAmount,\n                        unit: salesItemForm.ingredientForm.ingredientQuantityUnit,\n                    };\n                }\n\n                dispatch(setProductIngredientItemsRow(ingredientId, formInfoForRow));\n            } else {\n                const oldForm = salesItemForm.salesItemIngredientItemsById.get(ingredientId);\n                const newQuantity = parseFloat(salesItemForm.ingredientForm.ingredientQuantityAmount.value) + (oldForm ? (parseFloat(oldForm.formInfo.quantity.value) || 0) : 0);\n\n                formInfoForRow = {\n                    quantity: {\n                        value: newQuantity.toString(),\n                        isValid: true,\n                        errorMessage: ''\n                    }\n                };\n                dispatch(setSalesItemIngredientItemsRow(ingredientId, formInfoForRow));\n            }\n            dispatch(onGetAndUpdateTotalCost());\n            dispatch(onSetIngredientSearchBarTerm(null));\n            dispatch(resetAddNewIngredientFormSection());\n            dispatch(setComponentIsShown('saveIsDisabled', false));\n        }\n    };\n};\n\nconst onValidateForm = (salesItemForm : ISalesItemForm, salesItemFormData : ISalesItemFormData) : ThunkAction<boolean, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : boolean => {\n        // validate form (ingrdient should be present for save to work) create error message incase there are no ingredients\n        let formIsValid : boolean = true;\n\n        // salesItemFormFields\n        const salesItemFormInfo : SalesItemFormValidationByFieldName = { ...salesItemForm.salesItemInfoForm };\n        Object.keys(salesItemFormInfo).forEach((fieldKey) => {\n            const fieldName = fieldKey as SalesItemFormFieldName;\n            const value = salesItemFormInfo[fieldName].value;\n            const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(fieldName, value);\n\n            formIsValid = formIsValid && isValid;\n            dispatch(setSalesItemFormValidationByFieldName(fieldName, value, errorMessage, isValid));\n        });\n\n        // salesInformationFormFields\n        const salesInformationFormInfo : SalesInformationFormValidationByFieldName = { ...salesItemForm.salesInformationForm };\n        Object.keys(salesInformationFormInfo).forEach((fieldKey) => {\n            const fieldName = fieldKey as SalesInformationFormFieldName;\n\n            const value = salesInformationFormInfo[fieldName].value;\n            let valueToCheck : string = value;\n            if (value === '' && (fieldKey === 'salesPrice' || fieldKey === 'priceAndTax' || fieldKey === 'salesProfit' || fieldKey === 'costPercentage')) {\n                valueToCheck = '0.00';\n            }\n\n            const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(fieldName, valueToCheck);\n\n            formIsValid = formIsValid && isValid;\n            dispatch(setSalesInformationFormValidationByFieldName(fieldName, value, errorMessage, isValid));\n        });\n\n        // productIngredientItems\n        salesItemForm.productIngredientItemsById.forEach((productIngredientRow, productId) => {\n            const product = salesItemFormData.productsById.get(productId);\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const formInfoForRow : ProductIngredientRowInfoByFormFieldName = { ...productIngredientRow.formInfo };\n            Object.keys(formInfoForRow).forEach((fieldKey) => {\n                const fieldName = fieldKey as ProductIngredientRowFormFieldName;\n                const value = formInfoForRow[fieldName].value;\n                let { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(fieldName, value);\n\n                // additional checks for unit -- ensure valid with product packaging\n                if (fieldName === 'unit') {\n                    const productQuantityUnit = productJSONToObjectSerializer.getProductQuantityUnit(value);\n                    const isValidForProductPackaging = PackagingUtils.isProductQuantityUnitCompatibleWithPackagings(product.getPackagingsAndMappings(), productQuantityUnit);\n                    isValid = isValid && isValidForProductPackaging;\n                    if (!isValid) {\n                        errorMessage = 'Invalid unit';\n                    }\n                }\n\n                formIsValid = formIsValid && isValid;\n                formInfoForRow[fieldName] = { value, isValid, errorMessage };\n                dispatch(setProductIngredientItemsRow(productId, formInfoForRow));\n            });\n        });\n\n        // salesItemIngredientItems\n        salesItemForm.salesItemIngredientItemsById.forEach((salesItemIngredientRow, salesItemId) => {\n            const formInfoForRow : SalesItemIngredientRowInfoByFormFieldName = { ...salesItemIngredientRow.formInfo };\n            Object.keys(formInfoForRow).forEach((fieldKey) => {\n                const fieldName = fieldKey as SalesItemIngredientRowFormFieldName;\n                const value = formInfoForRow[fieldName].value;\n                const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(fieldName, value);\n\n                formIsValid = formIsValid && isValid;\n                formInfoForRow[fieldName] = { value, isValid, errorMessage };\n                dispatch(setSalesItemIngredientItemsRow(salesItemId, formInfoForRow));\n            });\n        });\n\n        // ingredient form fields -- ignore the unadded ingredients, but must validate yield/serving size\n        const ingredientFormInfo : IngredientFormValidationByFieldName = { ...salesItemForm.ingredientForm };\n        let yieldAndServingSizeFieldsAreAllValid : boolean = true;\n        Object.keys(ingredientFormInfo).forEach((fieldKey) => {\n            const fieldName = fieldKey as IngredientFormFieldName;\n            if (fieldName === 'yieldAmount' || fieldName === 'yieldUnit' || fieldName === 'servingSizeAmount' || fieldName ===  'servingSizeUnit') {\n                const value = ingredientFormInfo[fieldName].value;\n                const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(fieldName, value);\n\n                formIsValid = formIsValid && isValid;\n                yieldAndServingSizeFieldsAreAllValid = yieldAndServingSizeFieldsAreAllValid && isValid;\n                dispatch(setIngredientFormValidationByFieldName(fieldName, value, errorMessage, isValid));\n            }\n        });\n        // ingredient section - additional check that yield/serving size units are compatible\n        if (yieldAndServingSizeFieldsAreAllValid) {\n            const yieldAndServingSizeAreCompatible = CreateOrEditSalesItemFormUtils.validateServingSizeAndYieldAreCompatible(\n                ingredientFormInfo.yieldAmount.value,\n                ingredientFormInfo.yieldUnit.value,\n                ingredientFormInfo.servingSizeAmount.value,\n                ingredientFormInfo.servingSizeUnit.value);\n            if (!yieldAndServingSizeAreCompatible) {\n                dispatch(setIngredientFormValidationByFieldName('yieldUnit', ingredientFormInfo.yieldUnit.value, 'yield and serving size must have compatible units', false));\n                dispatch(setIngredientFormValidationByFieldName('servingSizeUnit', ingredientFormInfo.servingSizeUnit.value, 'yield and serving size must have compatible units', false));\n            }\n            formIsValid = formIsValid && yieldAndServingSizeAreCompatible;\n        }\n\n        return formIsValid;\n    };\n};\n\n// this function returns null if invalid, and a map of id that was on context page -> new sales item id to replace with if save is successful.\n// in the case of \"save for all reports\" or \"create\", the map will be the same id -> same id, as those actions do not create more new items under the hood.\n// if create from a POS item the map will be pos item id -> new sales item id\n// in the case of \"update for this and future reports\" or \"update for this report only\", we need to return the old->new map that the api call gives us.\nconst onSave = (\n    selectedSaveOption : SalesItemSaveOption,\n    contextReportId : ItemLevelSalesReportConfigurationId | null,\n    posInformationByPosItemId : StringValueMap<PosItemId, IPmixItemInformation>\n) : ThunkAction<Promise<StringValueMap<SalesInputRowId, SalesItemId> | null>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (\n        dispatch,\n        getState,\n        extraArguments\n    ) : Promise<StringValueMap<SalesInputRowId, SalesItemId> | null> => {\n        const state = getState().createOrEditSalesItemState;\n        const salesItemId = state.salesItemId;\n        const salesItemForm = state.salesItemForm;\n        const salesItemFormData = state.salesItemFormData;\n\n        if (salesItemFormData === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        dispatch(setComponentIsShown('saveInProgress', true));\n        dispatch(setComponentIsShown('saveIsDisabled', false));\n\n        const formIsValid = dispatch(onValidateForm(salesItemForm, salesItemFormData));\n\n        if (!formIsValid) {\n            dispatch(setComponentIsShown('saveInProgress', false));\n            dispatch(setComponentIsShown('saveIsDisabled', true));\n            return Promise.resolve(null);\n        }\n\n        const sessionId = extraArguments.services.userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n        const salesItemInfo = CreateOrEditSalesItemFormUtils.getSalesItemInfo(salesItemForm, salesItemFormData.salesItemsById, locationId);\n\n        // before we save, make sure we don't have circular references (that we know of)\n        // we should have prevented this in the UX already so this is just a runtime exception\n        const salesItemIdForCheck = salesItemId instanceof SalesItemId ? salesItemId : new SalesItemId(\"entry-id-for-check\");\n        const circularDependencyCheck = SalesItemUtils.findSalesItemCircularReferencePath(\n            salesItemIdForCheck, Array.from(salesItemInfo.getComponentServingsBySalesItemId().keys()), salesItemFormData.salesItemsById);\n\n        if (circularDependencyCheck.hasCycle) {\n            dispatch(setComponentIsShown('saveInProgress', false));\n            dispatch(setComponentIsShown('saveIsDisabled', true));\n            throw new RuntimeException(\"Unexpected: sales item recipe contains loop\")\n        }\n\n        if (salesItemId === null || salesItemId instanceof PosItemId) { // create mode\n            return extraArguments.services.salesItemService.createSalesItem(\n                sessionId,\n                salesItemInfo,\n            ).then((response : SalesItemId) => {\n                const creationTimestamp = momentObjectToThriftSerializer.getThriftTimestampFromMoment(moment()); // not exactly correct but doesn't matter for these UI purposes\n                const updatedSalesItemsById = new StringValueMap(salesItemFormData.salesItemsById);\n\n                const newSalesItemWithMetadata = new SalesItemWithMetadata(\n                    salesItemInfo,\n                    new UserAccountIdAndTimestamp(new UserAccountId(window.GLOBAL_USER_ID), creationTimestamp),\n                    null,\n                    null,\n                    false,\n                );\n                updatedSalesItemsById.set(response, newSalesItemWithMetadata);\n                dispatch(setSalesItemFormData({\n                    ...salesItemFormData,\n                    salesItemsById: updatedSalesItemsById,\n                }));\n                dispatch(handleSortingFilteringAndGrouping());\n\n                const oldToNewMap = new StringValueMap<SalesInputRowId, SalesItemId>();\n                const old : SalesInputRowId = salesItemId instanceof PosItemId ? salesItemId : response;\n\n                oldToNewMap.set(old, response);\n\n                dispatch(setComponentIsShown('saveInProgress', false));\n                return Promise.resolve(oldToNewMap);\n            });\n        } else { // edit mode\n            let savePromise : Promise<StringValueMap<SalesItemId, SalesItemId>>;\n\n            if (selectedSaveOption === SalesItemSaveOption.ALL_REPORTS) {\n                savePromise = extraArguments.services.salesItemService.updateSalesItemForAllTime(\n                    sessionId,\n                    salesItemId,\n                    salesItemInfo,\n                ).then(() => {\n                    const oldToNewMap = new StringValueMap<SalesItemId, SalesItemId>();\n                    oldToNewMap.set(salesItemId, salesItemId);\n                    return Promise.resolve(oldToNewMap);\n                });\n            } else if (selectedSaveOption === SalesItemSaveOption.SINGLE_REPORT) {\n                if (contextReportId === null) {\n                    throw new RuntimeException('context report id must be given if update for single report option is chosen');\n                }\n                savePromise = extraArguments.services.salesItemService.updateSalesItemForSingleReport(\n                    sessionId,\n                    salesItemId,\n                    salesItemInfo,\n                    contextReportId\n                );\n            } else if (selectedSaveOption === SalesItemSaveOption.THIS_AND_FUTURE_REPORTS) {\n                savePromise = extraArguments.services.salesItemService.updateSalesItemForCurrentAndFutureReports(\n                    sessionId,\n                    salesItemId,\n                    salesItemInfo,\n                    contextReportId\n                );\n            } else {\n                throw new RuntimeException('unexpected save option');\n            }\n\n            return savePromise\n            .then((oldToNewMap) => {\n                const allIds = Array.from(oldToNewMap.keys()).concat(Array.from(oldToNewMap.values()));\n                const salesItemIdsToRefetch = new StringValueSet<SalesItemId>(allIds);\n\n                // future optimization: we don't need to always do this api call, we could fake the updates that the backend does.\n                // but that would mean making sure we are always up to date with backend logic, so may not be ideal\n                void dispatch(fetchAndUpdateDataForSalesItemIds(salesItemIdsToRefetch));\n\n                dispatch(setComponentIsShown('saveInProgress', false));\n                dispatch(setComponentIsShown('saveIsDisabled', true));\n                dispatch(onShowSnackBarNotification());\n                return oldToNewMap;\n            });\n        }\n    };\n};\n\nconst onApplySaveChanges = (\n    contextItemLevelReportId : ItemLevelSalesReportConfigurationId | null,\n    contextOrderedIds : Array<SalesInputRowId>,\n    shouldPrePopulateIngredientSearch : boolean,\n    posInformationByPosItemId : StringValueMap<PosItemId, IPmixItemInformation>,\n    onSaveCallback : (updatedSalesItemIdMap : StringValueMap<SalesInputRowId, SalesItemId>, editedProductIds : StringValueSet<ProductId>) => void,\n) : ThunkAction<Promise<Array<SalesInputRowId>>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (\n        dispatch,\n        getState,\n        extraArguments\n    ) : Promise<Array<SalesInputRowId>> => {\n        const createOrEditSalesItemState = getState().createOrEditSalesItemState;\n        const editedProductIds = createOrEditSalesItemState.editedProductIds;\n\n        let updatedContextOrderedIds : Array<SalesInputRowId> = contextOrderedIds;\n        const oldSalesIdToNewSalesIdMap = await dispatch(CreateOrEditSalesItemActions.onSave(createOrEditSalesItemState.selectedSaveOption, contextItemLevelReportId, posInformationByPosItemId));\n        if (oldSalesIdToNewSalesIdMap !== null) {\n            onSaveCallback(oldSalesIdToNewSalesIdMap, editedProductIds);\n            dispatch(clearEditedProductIds());\n\n            updatedContextOrderedIds = [...contextOrderedIds];\n            updatedContextOrderedIds.forEach((id, index) => {\n                const newId = oldSalesIdToNewSalesIdMap.get(id);\n                if (typeof newId !== 'undefined') {\n                    updatedContextOrderedIds[index] = newId;\n                }\n            });\n\n            if (createOrEditSalesItemState.idToGoToAfterSave) {\n                const newIdToGoToAfterSave = oldSalesIdToNewSalesIdMap.get(createOrEditSalesItemState.idToGoToAfterSave);\n                const idToGoToAfterSave = newIdToGoToAfterSave ? newIdToGoToAfterSave : createOrEditSalesItemState.idToGoToAfterSave;\n                void dispatch(CreateOrEditSalesItemActions.initializeFormFromSalesItem(idToGoToAfterSave, updatedContextOrderedIds, shouldPrePopulateIngredientSearch, posInformationByPosItemId));\n            } else if (createOrEditSalesItemState.salesItemId !== null) { // make sure reference is updated if sales item updated\n                const newIdForOldId = oldSalesIdToNewSalesIdMap.get(createOrEditSalesItemState.salesItemId);\n                if (typeof newIdForOldId === 'undefined') {\n                    throw new RuntimeException('unexpected');\n                }\n                if (newIdForOldId !== createOrEditSalesItemState.salesItemId) {\n                    void dispatch(CreateOrEditSalesItemActions.initializeFormFromSalesItem(newIdForOldId, updatedContextOrderedIds, shouldPrePopulateIngredientSearch, posInformationByPosItemId));\n                }\n            }\n        }\n        dispatch(setComponentIsShown('applyChangesModal', false));\n        dispatch(CreateOrEditSalesItemActions.setIdToGoToAfterSave(null)); // reset this\n\n        return updatedContextOrderedIds;\n    };\n};\n\nconst fetchInitialData = () : ThunkAction<Promise<void>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (dispatch, getState, extraArguments) : Promise<void> => {\n        const sessionId = extraArguments.services.userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n        // TODO product question: should this be get active sales item ids? or all (active & archived)\n        const getAllRelevantSalesItemsByIdPromise = extraArguments.services.salesItemService.getNonDeletedSalesItemIdsForLocation(sessionId, locationId)\n        .then((allRelevantIds) => {\n            return extraArguments.services.salesItemService.getRelevantSalesItemsForIds(sessionId, allRelevantIds);\n        });\n\n        const response = await Promise.all([\n            getAllRelevantSalesItemsByIdPromise,\n            extraArguments.services.locationProductService.getActiveProductIds(sessionId, locationId), // TODO product question: do we want to get archived products as well?\n            extraArguments.services.locationSettingsService.getRetailerTaxPercent(locationId.getValue()),\n            extraArguments.services.locationSettingsService.getDefaultPourForRetailer(locationId.getValue()),\n            extraArguments.services.categoryService.getCategoriesForRetailer(sessionId, locationId),\n            extraArguments.services.locationProductService.getDeletionEventsByProductId(sessionId, locationId),\n        ]);\n\n        const salesItemsById = response[0];\n        const activeProductIds = response[1];\n        const categoriesById = response[4];\n        const deletionEventsByProductId = response[5];\n        const deletedProductIds = new StringValueSet(deletionEventsByProductId.keys());\n        const allRelevantProductIds = new StringValueSet(activeProductIds); // relevant = active or used in one of the sales items\n        const relevantUserAccountIds = new StringValueSet<UserAccountId>();\n        const menuGroups = new Set<string>();\n\n        salesItemsById.forEach((salesItemWithMetadata, salesItemId) => {\n            salesItemWithMetadata.getSalesItem().getComponentQuantityOfProductByProductId().forEach((quantity, productId) => {\n                allRelevantProductIds.add(productId);\n            });\n\n            const lastEditedMetadata = salesItemWithMetadata.getLastEditedMetadata();\n            if (lastEditedMetadata !== null) {\n                relevantUserAccountIds.add(lastEditedMetadata.getUserAccountId());\n            }\n\n            if (salesItemWithMetadata.getSalesItem().getMenuGroup().length > 0) {\n                menuGroups.add(salesItemWithMetadata.getSalesItem().getMenuGroup());\n            }\n        });\n        const retailerTaxPercentage = response[2]; // TODO product question: do we want to keep this null and not display tax rate, or pick a default number?\n        const defaultPourByProductCategory = response[3];\n\n        const productsAndUsersResponse = await Promise.all([\n            extraArguments.services.productService.getProductsById(sessionId, locationId, allRelevantProductIds),\n            extraArguments.services.productCostService.getCurrentProductCostsByProductId(sessionId, allRelevantProductIds, locationId),\n            extraArguments.services.userAccountInfoReader.getNamesForAccountIds(relevantUserAccountIds),\n       ]);\n\n        const salesItemFormData : ISalesItemFormData = {\n            activeProductIds,\n            deletedProductIds,\n            salesItemsById,\n            productsById: productsAndUsersResponse[0].productsById,\n            categoriesById,\n            productCostsByProductId: productsAndUsersResponse[1],\n            retailerTaxPercentage,\n            currentUserAccountId: new UserAccountId(window.GLOBAL_USER_ID),\n            namesByUserAccountId: productsAndUsersResponse[2],\n            defaultPourByProductCategory,\n        };\n\n        const sortedMenuGroupOptions : Array<IOption> = menuGroups.size > 0 ? CreateOrEditSalesItemFormUtils.getSortedMenuGroupOptions(menuGroups) : getState().createOrEditSalesItemState.salesItemForm.menuGroupOptions;\n\n        dispatch(batchActions([\n            setSalesItemFormData(salesItemFormData),\n            setSortedMenuGroupOptions(sortedMenuGroupOptions),\n        ]));\n        dispatch(handleSortingFilteringAndGrouping());\n    };\n};\n\n// in the future we could pass in a mode \"duplicate\" or \"edit\" and then not populate certain fields in duplicate mode\nconst initializeFormFromSalesItem = (\n    initialItem : SalesItemId | PosItemId,\n    contextOrderedIds : Array<SalesInputRowId>,\n    shouldPrePopulateIngredientSearch : boolean,\n    posInformationByPosItemId : StringValueMap<PosItemId, IPmixItemInformation>\n) : ThunkAction<Promise<void>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (dispatch, getState, extraArguments) : Promise<void> => {\n        dispatch(resetSalesItemForm()); // make sure to clear out anything related to old sales item\n\n        const state = getState().createOrEditSalesItemState;\n        const data = state.salesItemFormData;\n\n        if (data === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        let salesItemDataPromise : Promise<ISalesItemFormData>;\n        if (initialItem instanceof SalesItemId && !data.salesItemsById.has(initialItem)) { // if wasn't fetched on the initial load (maybe is deleted or something)\n            salesItemDataPromise = dispatch(fetchAndUpdateDataForSalesItemIds(new StringValueSet([initialItem])));\n        } else {\n            salesItemDataPromise = Promise.resolve(data);\n        }\n\n        const updatedData = await salesItemDataPromise;\n\n        const salesItemId = initialItem instanceof SalesItemId ? initialItem : null;\n\n        const oldForm = state.salesItemForm;\n\n        let newSalesItemForm : ISalesItemForm;\n        let linkedItems : StringValueSet<SalesItemId>;\n        let shouldPrepopulateSearchAndOpenDropdown : boolean;\n        if (initialItem instanceof SalesItemId) {\n            const costBySalesItemId = getCachedSalesItemCostsForIds(new StringValueSet([initialItem]), updatedData.salesItemsById, updatedData.productsById, updatedData.productCostsByProductId);\n\n            const salesItemWithMetadata = updatedData.salesItemsById.getRequired(initialItem);\n            const cost = costBySalesItemId.getRequired(initialItem);\n\n            newSalesItemForm = CreateOrEditSalesItemFormUtils.getSalesItemFormFromSalesItemWithMetadata(\n                salesItemWithMetadata,\n                oldForm.menuGroupOptions,\n                oldForm.ingredientSearchBar,\n                updatedData.productsById,\n                cost,\n                updatedData.retailerTaxPercentage);\n\n            linkedItems = CreateOrEditSalesItemFormUtils.getLinkedSalesItems(initialItem, updatedData.salesItemsById);\n\n            shouldPrepopulateSearchAndOpenDropdown = shouldPrePopulateIngredientSearch && salesItemWithMetadata.getSalesItem().getComponentQuantityOfProductByProductId().size === 0 &&\n                salesItemWithMetadata.getSalesItem().getComponentServingsBySalesItemId().size === 0;\n        } else {\n            const information = posInformationByPosItemId.getRequired(initialItem);\n            // initialize form from POS item\n            newSalesItemForm = CreateOrEditSalesItemFormUtils.getSalesItemFormFromPosItem(\n                information.posItem,\n                information.salesEntry.getPrice() || 0,\n                oldForm.menuGroupOptions,\n                oldForm.ingredientSearchBar,\n                updatedData.retailerTaxPercentage);\n            linkedItems = new StringValueSet();\n            shouldPrepopulateSearchAndOpenDropdown = shouldPrePopulateIngredientSearch;\n        }\n\n        let nextSalesItemId : SalesInputRowId | null;\n        let previousSalesItemId : SalesInputRowId | null;\n        const indexOfItem = contextOrderedIds.findIndex((value) => value.equals(initialItem));\n        const shouldShowMiscCostLink : boolean = newSalesItemForm.salesInformationForm.miscCost.value !== '0'; // Handles resetting \"Add Misc Cost\" link upon saving/switching to new item when mapping\n        if (indexOfItem === -1 || contextOrderedIds.length === 1) {\n            nextSalesItemId = null;\n            previousSalesItemId = null;\n        } else if (indexOfItem === 0) {\n            nextSalesItemId = contextOrderedIds[1];\n            previousSalesItemId = null;\n        } else if (indexOfItem === (contextOrderedIds.length - 1)) {\n            nextSalesItemId = null;\n            previousSalesItemId = contextOrderedIds[indexOfItem - 1];\n        } else {\n            nextSalesItemId = contextOrderedIds[indexOfItem + 1];\n            previousSalesItemId = contextOrderedIds[indexOfItem - 1];\n        }\n\n        dispatch(batchActions([\n            setSalesItemForm(newSalesItemForm),\n            setSalesItemId(initialItem),\n            setLinkedItems(linkedItems),\n            setNextAndPreviousItemIds(nextSalesItemId, previousSalesItemId),\n            setComponentIsShown('miscellaneousCost', shouldShowMiscCostLink),\n        ]));\n\n        // if no ingredients and should prepopulate search, set the search term\n        if (shouldPrepopulateSearchAndOpenDropdown) {\n            const name = newSalesItemForm.salesItemInfoForm.salesItemName.value;\n            dispatch(onSetIngredientSearchBarTerm(name));\n            dispatch(setComponentIsShown('ingredientSearchBarDropdown', true));\n        } else {\n            dispatch(onSetIngredientSearchBarTerm(null)); // this dropdown hides linked items so refilter it\n            dispatch(setComponentIsShown('ingredientSearchBarDropdown', false));\n        }\n\n        void dispatch(loadSalesItemImage(salesItemId));  // async - ok\n        dispatch(updateSalesItemIdInURL(salesItemId));\n    };\n};\n\nconst fetchAndUpdateDataForSalesItemIds = (salesItemIds : StringValueSet<SalesItemId>) : ThunkAction<Promise<ISalesItemFormData>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (\n        dispatch, getState, extraArguments\n    ) : Promise<ISalesItemFormData> => {\n        const state = getState().createOrEditSalesItemState;\n        const data = state.salesItemFormData;\n        if (data === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n        const relevantSalesItemsById = await extraArguments.services.salesItemService.getRelevantSalesItemsForIds(userSessionId, salesItemIds);\n\n        const allRelevantProductIds = new StringValueSet<ProductId>();\n        const relevantUserAccountIds = new StringValueSet<UserAccountId>();\n        const menuGroups = new Set<string>();\n\n        const currentMenuGroups = new Set(state.salesItemForm.menuGroupOptions.map((option) => option.value));\n\n        const newSalesItemsById = new StringValueMap(data.salesItemsById);\n        relevantSalesItemsById.forEach((salesItemWithMetadata, salesItemId) => {\n            newSalesItemsById.set(salesItemId, salesItemWithMetadata);\n\n            salesItemWithMetadata.getSalesItem().getComponentQuantityOfProductByProductId().forEach((quantity, productId) => {\n                if (!data.productsById.has(productId)) {\n                    allRelevantProductIds.add(productId);\n                }\n            });\n\n            const lastEditedMetadata = salesItemWithMetadata.getLastEditedMetadata();\n            if (lastEditedMetadata !== null && !data.namesByUserAccountId.has(lastEditedMetadata.getUserAccountId())) {\n                relevantUserAccountIds.add(lastEditedMetadata.getUserAccountId());\n            }\n\n            const menuGroup = salesItemWithMetadata.getSalesItem().getMenuGroup();\n            if (menuGroup.length > 0 && !currentMenuGroups.has(menuGroup)) {\n                menuGroups.add(menuGroup);\n            }\n        });\n\n        const userAccountPromise = relevantUserAccountIds.size > 0 ?\n            extraArguments.services.userAccountInfoReader.getNamesForAccountIds(relevantUserAccountIds) :\n            Promise.resolve(new StringValueMap<UserAccountId, IUserName>());\n\n        let productsByIdPromise : Promise<{ productsById : StringValueMap<ProductId, Product>, productHashesById : StringValueMap<ProductId, string> } | null>;\n        let productCostPromise : Promise<StringValueMap<ProductId, ProductCost> | null>;\n        if (allRelevantProductIds.size > 0) {\n            productsByIdPromise = extraArguments.services.productService.getProductsById(userSessionId, locationId, allRelevantProductIds);\n            productCostPromise = extraArguments.services.productCostService.getCurrentProductCostsByProductId(userSessionId, allRelevantProductIds, locationId);\n        } else {\n            productsByIdPromise = Promise.resolve(null);\n            productCostPromise = Promise.resolve(null);\n        }\n\n        const productsAndUsersResponse = await Promise.all([\n            productsByIdPromise,\n            productCostPromise,\n            userAccountPromise,\n            extraArguments.services.categoryService.getCategoriesForRetailer(userSessionId, locationId),\n        ]);\n\n        const newNamesByUserAccountId = new StringValueMap(data.namesByUserAccountId);\n        const userNames = productsAndUsersResponse[2];\n        const categoriesById = productsAndUsersResponse[3];\n\n        userNames.forEach((userName, userId) => {\n            newNamesByUserAccountId.set(userId, userName);\n        });\n\n        const newProductsById = new StringValueMap(data.productsById);\n        if (productsAndUsersResponse[0]) {\n            productsAndUsersResponse[0].productsById.forEach((product, productId) => {\n                newProductsById.set(productId, product);\n            });\n        }\n        const newProductCostsById = new StringValueMap(data.productCostsByProductId);\n        if (productsAndUsersResponse[1]) {\n            productsAndUsersResponse[1].forEach((cost, productId) => {\n                newProductCostsById.set(productId, cost);\n            });\n        }\n\n        const salesItemFormData : ISalesItemFormData = {\n            activeProductIds: data.activeProductIds,\n            deletedProductIds: data.deletedProductIds,\n            salesItemsById: newSalesItemsById,\n            productsById: newProductsById,\n            productCostsByProductId: newProductCostsById,\n            retailerTaxPercentage: data.retailerTaxPercentage,\n            defaultPourByProductCategory: data.defaultPourByProductCategory,\n            currentUserAccountId: data.currentUserAccountId,\n            namesByUserAccountId: newNamesByUserAccountId,\n            categoriesById,\n        };\n\n        let newSortedMenuGroupOptions : Array<IOption>;\n        if (menuGroups.size > 0) {\n            const allMenuGroups = new Set(currentMenuGroups);\n            menuGroups.forEach((newGroup) => {\n                allMenuGroups.add(newGroup);\n            });\n            newSortedMenuGroupOptions = CreateOrEditSalesItemFormUtils.getSortedMenuGroupOptions(allMenuGroups);\n        } else {\n            newSortedMenuGroupOptions = state.salesItemForm.menuGroupOptions;\n        }\n\n        dispatch(batchActions([\n            setSalesItemFormData(salesItemFormData),\n            setSortedMenuGroupOptions(newSortedMenuGroupOptions),\n        ]));\n        dispatch(handleSortingFilteringAndGrouping());\n\n        return salesItemFormData;\n    };\n};\n\nconst onProductCreatedOrEdited = (productId : ProductId, isStatusActive : boolean) : ThunkAction<Promise<void>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (dispatch, getState, extraArguments) : Promise<void> => {\n        const state = getState().createOrEditSalesItemState;\n        const data = state.salesItemFormData;\n        if (data === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n        const productIdSet = new StringValueSet([productId]);\n\n        // Sales items that reference this product may have had their stored unit references rewritten\n        // by the backend when packaging changed; refetch them so cost calc doesn't see stale ids.\n        const salesItemIdsReferencingProduct = SalesItemUtils.getSalesItemIdsReferencingProducts(data.salesItemsById, productIdSet);\n\n        const productsResponse = await Promise.all([\n            extraArguments.services.productService.getProductsById(userSessionId, locationId, productIdSet),\n            extraArguments.services.productCostService.getCurrentProductCostsByProductId(userSessionId, productIdSet, locationId),\n            salesItemIdsReferencingProduct.size > 0\n                ? extraArguments.services.salesItemService.getRelevantSalesItemsForIds(userSessionId, salesItemIdsReferencingProduct)\n                : Promise.resolve(new StringValueMap<SalesItemId, SalesItemWithMetadata>()),\n        ]);\n\n        const newProductsById = new StringValueMap(data.productsById);\n        const newActiveProductIds = new StringValueSet(data.activeProductIds);\n        const newCategoriesById = new StringValueMap(data.categoriesById);\n        const newProduct = productsResponse[0].productsById.getRequired(productId);\n        const newCategory = newProduct.getNewProductCategoryId();\n        const productCategorySet = new StringValueSet<CategoryId>();\n\n        if (newCategory) {\n            productCategorySet.add(newCategory);\n        }\n\n        const categoryResponse = await Promise.resolve(\n            newCategory && !data.categoriesById.has(newCategory) ?\n                extraArguments.services.categoryService.getCategoriesById(userSessionId, locationId, productCategorySet) :\n                Promise.resolve(new StringValueMap<CategoryId, Category>())\n        );\n        categoryResponse.forEach((category, categoryId) => {\n            newCategoriesById.set(categoryId, category);\n        });\n        newProductsById.set(productId, newProduct);\n        if (isStatusActive) {\n            newActiveProductIds.add(productId);\n        } else {\n            newActiveProductIds.delete(productId);\n        }\n\n        const newProductCostsById = new StringValueMap(data.productCostsByProductId);\n        productsResponse[1].forEach((cost, prodId) => {\n            newProductCostsById.set(prodId, cost);\n        });\n\n        const newSalesItemsById = new StringValueMap(data.salesItemsById);\n        productsResponse[2].forEach((salesItemWithMetadata, salesItemId) => {\n            newSalesItemsById.set(salesItemId, salesItemWithMetadata);\n        });\n\n        const salesItemFormData : ISalesItemFormData = {\n            ...data,\n            activeProductIds: newActiveProductIds,\n            productsById: newProductsById,\n            productCostsByProductId: newProductCostsById,\n            categoriesById: newCategoriesById,\n            salesItemsById: newSalesItemsById,\n        };\n\n        dispatch(setSalesItemFormData(salesItemFormData));\n        dispatch(addEditedProductId(productId));\n        dispatch(handleSortingFilteringAndGrouping());\n    };\n};\n\nconst onSlimCreateNewSalesItemIngredient = () : ThunkAction<Promise<SalesItemId | null>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (\n        dispatch,\n        getState,\n        extraArguments\n    ) : Promise<SalesItemId | null> => {\n        const state = getState().createOrEditSalesItemState;\n        const salesItemFormData = state.salesItemFormData;\n        if (salesItemFormData === null) {\n            throw new RuntimeException('unexpected');\n        }\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n        // VALIDATION\n        const ingredientForm = state.salesItemForm.ingredientForm;\n        let createNewItemFormIsValid : boolean = true;\n        Object.keys(ingredientForm).forEach((fieldKey) => {\n            const fieldName = fieldKey as IngredientFormFieldName;\n            if (slimCreateSalesItemFormFieldNames.has(fieldName)) {\n                const value = ingredientForm[fieldName].value;\n\n                let fieldNameToCheck : IngredientFormFieldName | 'salesItemName' = fieldName;\n                if (fieldName === 'newSalesItemName') {\n                    // validate with required\n                    fieldNameToCheck = 'salesItemName';\n                }\n                const { isValid, errorMessage } = CreateOrEditSalesItemFormUtils.validateValueByFieldName(fieldNameToCheck, value);\n\n                createNewItemFormIsValid = createNewItemFormIsValid && isValid;\n                dispatch(setIngredientFormValidationByFieldName(fieldName, value, errorMessage, isValid));\n            }\n        });\n        // ingredient section - additional check that yield/serving size units are compatible\n        if (createNewItemFormIsValid) {\n            const yieldAndServingSizeAreCompatible = CreateOrEditSalesItemFormUtils.validateServingSizeAndYieldAreCompatible(\n                ingredientForm.newSalesItemYieldAmount.value,\n                ingredientForm.newSalesItemServingSizeUnit.value,\n                ingredientForm.newSalesItemServingSizeAmount.value,\n                ingredientForm.newSalesItemServingSizeUnit.value);\n            if (!yieldAndServingSizeAreCompatible) {\n                dispatch(setIngredientFormValidationByFieldName('yieldUnit', ingredientForm.newSalesItemYieldAmount.value, 'yield and serving size must have compatible units', false));\n                dispatch(setIngredientFormValidationByFieldName('servingSizeUnit', ingredientForm.newSalesItemServingSizeUnit.value, 'yield and serving size must have compatible units', false));\n            }\n            createNewItemFormIsValid = createNewItemFormIsValid && yieldAndServingSizeAreCompatible;\n        }\n\n        if (!createNewItemFormIsValid) {\n            return null;\n        }\n\n        const salesItem = CreateOrEditSalesItemFormUtils.getSalesItemFromSubrecipeSlimCreateFields(state.salesItemForm.ingredientForm, locationId);\n\n        const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n        return extraArguments.services.salesItemService.createSalesItem(\n            userSessionId,\n            salesItem,\n        ).then((response : SalesItemId) => {\n            const creationTimestamp = momentObjectToThriftSerializer.getThriftTimestampFromMoment(moment()); // not exactly correct but doesn't matter for these UI purposes\n            const updatedSalesItemsById = new StringValueMap(salesItemFormData.salesItemsById);\n\n            const newSalesItemWithMetadata = new SalesItemWithMetadata(\n                salesItem,\n                new UserAccountIdAndTimestamp(new UserAccountId(window.GLOBAL_USER_ID), creationTimestamp),\n                null,\n                null,\n                false,\n            );\n            updatedSalesItemsById.set(response, newSalesItemWithMetadata);\n            dispatch(batchActions([\n                setSalesItemFormData({\n                    ...salesItemFormData,\n                    salesItemsById: updatedSalesItemsById,\n                }),\n                setSelectedIngredientId(response) // weird but necessary to be able to call the onAddIngredient action after this returns\n            ]));\n            dispatch(handleSortingFilteringAndGrouping());\n\n            return response;\n        });\n\n    };\n};\n\nconst throttledHandleSortingFilteringAndGrouping: ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> = throttle(\n    (dispatch, getState, extraArguments) : void => {\n        const state = getState().createOrEditSalesItemState;\n        const data = state.salesItemFormData;\n\n        if (data === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        const salesItemIdsToIncludeInDropdown : Array<SalesItemId> = [];\n        data.salesItemsById.forEach((salesItemWithMetadata, salesItemId) => {\n            // for dropdown: only include active/non-deleted items, and do not include the current item or any linked items (to avoid some infinite loops)\n            if (!salesItemWithMetadata.getIsArchived() && salesItemWithMetadata.getDeletionMetadata() === null &&\n                !salesItemId.equals(state.salesItemId) && !state.linkedItems.has(salesItemId)) {\n                salesItemIdsToIncludeInDropdown.push(salesItemId);\n            }\n        });\n\n        void Promise.all([\n            ProductSearchBarSortingUtil.getSortedFilteredAndGroupedResult(\n                Array.from(data.activeProductIds.values()),\n                {\n                    sortedBy: \"name\",\n                    direction: SortDirection.ASCENDING,\n                },\n                state.salesItemForm.ingredientSearchBar.searchBar.searchTerm,\n                GroupByOption.ALL_ITEMS,\n                {\n                    salesItemFormData: data\n                }\n            ),\n            SalesItemSearchBarSortingUtil.getSortedFilteredAndGroupedResult(\n                salesItemIdsToIncludeInDropdown,\n                {\n                    sortedBy: \"name\",\n                    direction: SortDirection.ASCENDING,\n                },\n                state.salesItemForm.ingredientSearchBar.searchBar.searchTerm,\n                GroupByOption.ALL_ITEMS,\n                {\n                    salesItemFormData: data\n                }\n            ),\n        ])\n        .then((sortingResults) => {\n            const productSortingResult = sortingResults[0];\n            const salesItemSortingResult = sortingResults[1];\n\n            const sortedProductRowIdsToDisplayByGroupName = productSortingResult.sortedRowIdsToDisplayByGroupName;\n            const sortedProductGroupNamesToDisplay = productSortingResult.sortedGroupNamesToDisplay;\n\n            const labelNamesAndSortedProductIdsToDisplay : Array<[string, Array<ProductId>]> = [];\n            sortedProductGroupNamesToDisplay.forEach((groupName) => {\n                labelNamesAndSortedProductIdsToDisplay.push([groupName, sortedProductRowIdsToDisplayByGroupName[groupName]]);\n            });\n\n            const sortedSalesItemRowIdsToDisplayByGroupName = salesItemSortingResult.sortedRowIdsToDisplayByGroupName;\n            const sortedSalesItemGroupNamesToDisplay = salesItemSortingResult.sortedGroupNamesToDisplay;\n\n            const labelNamesAndSortedSalesItemIdsToDisplay : Array<[string, Array<SalesItemId>]> = [];\n            sortedSalesItemGroupNamesToDisplay.forEach((groupName) => {\n                labelNamesAndSortedSalesItemIdsToDisplay.push([groupName, sortedSalesItemRowIdsToDisplayByGroupName[groupName]]);\n            });\n\n            dispatch(setIngredientSearchBarLabelNamesAndSortedProductIdsToDisplay(labelNamesAndSortedProductIdsToDisplay));\n            dispatch(setIngredientSearchBarLabelNamesAndSortedSalesItemIdsToDisplay(labelNamesAndSortedSalesItemIdsToDisplay));\n        });\n    }, 200, { leading : false }\n);\n\nconst handleSortingFilteringAndGrouping = (\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return throttledHandleSortingFilteringAndGrouping;\n};\n\nlet hideSnackBarTimeoutPid : number = -1;\nconst onShowSnackBarNotification = () : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        window.clearTimeout(hideSnackBarTimeoutPid);\n        dispatch(setComponentIsShown('onSaveSnackBar', true));\n        hideSnackBarTimeoutPid = window.setTimeout(() => {\n            dispatch(setComponentIsShown('onSaveSnackBar', false));\n        }, NOTIFICATION_TIMEOUT_IN_MILLISECONDS);\n    };\n};\n\nconst onEditItemClick = (\n    productId : ProductId\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        $(document).trigger('loadEditItemModal', {\n            detail: {\n                productId: productId.getValue(),\n            }\n        });\n\n        void Observer.observeAction('sale_items_edit_item_click', {});\n    };\n};\n\nconst exportSalesItemToExcel = (\n    salesItemId : SalesItemId\n) : ThunkAction<Promise<void>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (dispatch, getState, extraArguments) : Promise<void> => {\n        const locationName = window.GLOBAL_RETAILER_NAME;\n        const {\n            salesItemFormData\n        } = getState().createOrEditSalesItemState;\n\n        if (salesItemFormData === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        await SalesItemManagerUtils.exportSalesItemToExcel(\n            locationName,\n            salesItemId,\n            salesItemFormData.salesItemsById,\n            salesItemFormData.productsById,\n            salesItemFormData.productCostsByProductId,\n        );\n    };\n};\n\n// todo: this really should be a SalesItemManager action... but CreateOrEditSalesItem is connected. gonna have to add similar actions to SalesItemManager for bulk export.\nconst saveSalesItemImage = (\n    salesItemId : SalesItemId,\n    file : File\n) : ThunkAction<Promise<void>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (dispatch, getState, extraArguments) => {\n        return extraArguments.services.salesItemService.uploadSalesItemImageAndGetUrl(\n            extraArguments.services.userSessionReader.getSessionId(),\n            new LocationId(window.GLOBAL_RETAILER_ID),\n            salesItemId,\n            file\n        )\n        .then((result : string) => {\n            dispatch(setSalesItemImageUploadUrl(result));\n            void Observer.observeAction(\n                'recipe_card_image_added_successfully',\n                {\n                    retailer_id: window.GLOBAL_RETAILER_ID,\n                    user_id: window.GLOBAL_USER_ID,\n                    sales_item_id: salesItemId.getValue()\n                });\n        });\n    };\n};\n\nconst deleteSalesItemImage = (\n    salesItemId : SalesItemId,\n) : ThunkAction<Promise<void>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (dispatch, getState, extraArguments) => {\n        const {\n            salesItemImageUploadUrl\n        } = getState().createOrEditSalesItemState;\n\n        if (!salesItemImageUploadUrl) {\n            return;\n        }\n\n        dispatch(setSalesItemImageUploadUrl(null));\n\n        return extraArguments.services.salesItemService.deleteSalesItemImageUpload(\n            extraArguments.services.userSessionReader.getSessionId(),\n            new LocationId(window.GLOBAL_RETAILER_ID),\n            salesItemId\n        );\n    };\n};\n\nconst loadSalesItemImage = (\n    salesInputRowId : SalesInputRowId | null\n) :  ThunkAction<Promise<void>, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return async (dispatch, getState, extraArguments) => {\n        if (salesInputRowId instanceof SalesItemId) {\n            return extraArguments.services.salesItemService.getSalesItemImageUploadUrls(\n                extraArguments.services.userSessionReader.getSessionId(),\n                new LocationId(window.GLOBAL_RETAILER_ID),\n                new StringValueSet<SalesItemId>([salesInputRowId]))\n            .then((result : StringValueMap<SalesItemId, string>) => {\n                dispatch(setSalesItemImageUploadUrl(result.get(salesInputRowId) || null));\n            });\n        }\n    };\n};\n\nconst updateSalesItemIdInURL = (\n    salesItemId : SalesItemId | null\n) : ThunkAction<void, ICreateOrEditSalesItemStore, CreateOrEditSalesItemActionInterfaces.ICreateOrEditSalesItemExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const newURL = URLStringUtils.replaceOrRemoveURLParameter(\n            window.location.href,\n            'sales_item_id',\n            !salesItemId ? null : salesItemId.getValue());\n\n        if (window.history.state) {\n            window.history.pushState(null, '', newURL);\n        } else {\n            window.history.replaceState(null, '', newURL);\n        }\n    };\n};\n\nexport const CreateOrEditSalesItemActions = {\n    setSalesItemId,\n    setNeedsAttentionCategory,\n    setSalesItemFormValidationByFieldName,\n    setIngredientFormValidationByFieldName,\n    setSalesInformationFormValidationByFieldName,\n    setSalesItemForm,\n    setProductIngredientItemsRow,\n    setSalesItemIngredientItemsRow,\n    setSalesItemFormData,\n    setLinkedItems,\n    setComponentIsShown,\n    setPopoverIngredientIdIsShown,\n    updateMenuGroup,\n    setIngredientSearchBarHighlightedIngredientId,\n    onSetIngredientSearchBarTerm,\n    onSalesItemFormFieldChange,\n    onIngredientInfoFormFieldChange,\n    onSalesInformationFormFieldChange,\n    onProductRowFormFieldChange,\n    onIngredientRowFormFieldBlur,\n    onGetAndUpdateTotalCost,\n    onSalesItemRowFormFieldChange,\n    createMenuGroupOption,\n    initializeFormFromSalesItem,\n    setSelectedSaveOption,\n    resetSalesItemForm,\n    resetAddNewIngredientFormSection,\n    onSelectIngredient,\n    onAddIngredient,\n    onValidateForm,\n    onSave,\n    fetchInitialData,\n    onSalesInformationFormFieldBlur,\n    onProductCreatedOrEdited,\n    onSlimCreateNewSalesItemIngredient,\n    setDefaultPourByProductCategory,\n    setNextAndPreviousItemIds,\n    setIdToGoToAfterSave,\n    onApplySaveChanges,\n    onEditItemClick,\n    exportSalesItemToExcel,\n    saveSalesItemImage,\n    deleteSalesItemImage,\n    loadSalesItemImage,\n    updateSalesItemIdInURL\n};\n","import React, { useCallback, useState } from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { CheckBox } from 'shared/components/CheckBox';\nimport { Dialog } from 'shared/components/Dialog';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { RadioButton, RadioButtonTheme } from 'shared/components/RadioButton';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\nimport { LabelOrientation } from 'shared/models/InputLabel';\nimport { IModalButton } from 'shared/models/Modal';\nimport { StringUtils } from 'shared/utils/stringUtils';\nimport { SalesItemSaveOption } from '../reducers/reducers';\nimport { CreateOrEditSalesItemFormUtils } from '../utils/CreateOrEditSalesItemFormUtils';\n\nimport \"../css/ApplyChangesDialog.scss\";\n\nexport interface IApplyChangesDialogProps {\n    readonly salesItemName : string;\n    readonly salesItemId : SalesItemId;\n    readonly salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    readonly isInsideItemLevelReport : boolean; // changes save options and some copy\n    readonly selectedSaveOption : SalesItemSaveOption;\n    readonly doNotAskMeAgainIsChecked : boolean;\n\n    readonly onSelectSaveOption : (saveOption : SalesItemSaveOption) => void;\n    readonly onSaveClick : () => Promise<void>;\n    readonly onCancelClick : () => void;\n    readonly onSetDoNotAskMeAgain : (isChecked : boolean) => void;\n}\n\nexport const ApplyChangesDialog = (props: IApplyChangesDialogProps) => {\n    const {\n        onSaveClick,\n        onCancelClick,\n        salesItemId,\n        salesItemName,\n        salesItemsById,\n        isInsideItemLevelReport,\n        selectedSaveOption,\n        doNotAskMeAgainIsChecked\n    } = props;\n\n    const [isUpdating, setIsUpdating] = useState(false);\n\n    const handleSave = useCallback(() => {\n        setIsUpdating(true);\n        onSaveClick().then(() => setIsUpdating(false)).catch(() => setIsUpdating(false));\n    },[onSaveClick])\n\n    const onSelectAllReportsSaveOption = () => {\n        props.onSelectSaveOption(SalesItemSaveOption.ALL_REPORTS);\n    }\n\n    const onSelectSingleReportSaveOption = () => {\n        props.onSelectSaveOption(SalesItemSaveOption.SINGLE_REPORT);\n    }\n\n    const onSelectThisAndFutureReportsSaveOption = () => {\n        props.onSelectSaveOption(SalesItemSaveOption.THIS_AND_FUTURE_REPORTS);\n    }\n\n    const toggleCheckbox = () => {\n        props.onSetDoNotAskMeAgain(!props.doNotAskMeAgainIsChecked);\n    }\n\n    const buttons : Array<IModalButton> = [\n        {\n            onClick: onCancelClick,\n            classes: 'flat',\n            isDisabled: isUpdating,\n            isLoading: false,\n            children: 'Cancel',\n        },\n        {\n            onClick: handleSave,\n            classes: 'flat primary',\n            isDisabled: isUpdating,\n            isLoading: isUpdating,\n            children: 'Update This Item',\n        },\n    ];\n\n    const linkedSalesItems : StringValueSet<SalesItemId> = CreateOrEditSalesItemFormUtils.getLinkedSalesItems(salesItemId, salesItemsById);\n\n    let headerTextString : string;\n    let itemsAffectedSection : JSX.Element | null;\n    if (linkedSalesItems.size === 0) {\n        headerTextString = 'Where should we apply these changes to?';\n        itemsAffectedSection = null;\n    } else {\n        headerTextString = `${ salesItemName } is used in ${ StringUtils.pluralizeNumber('linked sales item', linkedSalesItems.size) }.`;\n\n        const linkedItemRows : Array<JSX.Element> = [];\n        linkedSalesItems.forEach((linkedItemId) => {\n            const linkedSalesItem = salesItemsById.get(linkedItemId);\n            if (typeof linkedSalesItem === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const linkedItemName = linkedSalesItem.getSalesItem().getName();\n            const servingsOfCurrentItem = linkedSalesItem.getSalesItem().getComponentServingsBySalesItemId().get(salesItemId);\n\n            linkedItemRows.push((\n                <Flex direction=\"row\" key={linkedItemId.getValue()}>\n                    <Flex direction=\"column\">\n                        { linkedItemName }\n                    </Flex>\n                    <Flex direction=\"column\">\n                        { servingsOfCurrentItem } serving\n                    </Flex>\n                </Flex>\n            ));\n        });\n        itemsAffectedSection = (\n            <div className=\"linked-items-section pad-bt-xs\">\n                { linkedItemRows }\n            </div>\n        );\n    }\n\n    const saveOptionsButtons : Array<JSX.Element> = [\n        (\n            <RadioButton\n                key=\"all\"\n                isDisabled={ false }\n                isChecked={ selectedSaveOption === SalesItemSaveOption.ALL_REPORTS }\n                label={ {\n                    value: 'All Reports', // TODO maybe adjust if not on an item level report?\n                    labelOrientation: LabelOrientation.RIGHT\n                } }\n                onClick={ onSelectAllReportsSaveOption }\n                theme={ RadioButtonTheme.Default }\n            />\n        )\n    ];\n    if (isInsideItemLevelReport) {\n        saveOptionsButtons.push((\n            <RadioButton\n                key=\"only\"\n                isDisabled={ false }\n                isChecked={ selectedSaveOption === SalesItemSaveOption.SINGLE_REPORT }\n                label={ {\n                    value: 'Only this report',\n                    labelOrientation: LabelOrientation.RIGHT\n                } }\n                onClick={ onSelectSingleReportSaveOption }\n                theme={ RadioButtonTheme.Default }\n            />\n        ));\n    }\n    saveOptionsButtons.push((\n        <RadioButton\n            key=\"future\"\n            isDisabled={ false }\n            isChecked={ selectedSaveOption === SalesItemSaveOption.THIS_AND_FUTURE_REPORTS }\n            label={ {\n                value: isInsideItemLevelReport ? 'This and future reports' : 'Only future reports',\n                labelOrientation: LabelOrientation.RIGHT\n            } }\n            onClick={ onSelectThisAndFutureReportsSaveOption }\n            theme={ RadioButtonTheme.Default }\n        />\n    ));\n\n    return (\n        <Dialog\n            className=\"apply-changes-dialog\"\n            buttons={ buttons }\n            headerText={\n                <React.Fragment>\n                    <span>{ headerTextString }</span>\n                </React.Fragment>\n            }\n        >\n            { itemsAffectedSection }\n            <div className=\"save-type-section\">\n                { linkedSalesItems.size > 0 && <p>Where should we apply these changes to?</p> }\n                <Flex className=\"option-buttons flex-pb-3\" direction=\"column\">{ saveOptionsButtons }</Flex>\n                <hr/>\n                <CheckBox\n                    label={ { value: 'Do not ask me again', labelOrientation: LabelOrientation.RIGHT } }\n                    isDisabled={ false }\n                    checkBoxTriState={ doNotAskMeAgainIsChecked ? CheckBoxTriState.Checked : CheckBoxTriState.Unchecked }\n                    onClick={ toggleCheckbox }\n                />\n            </div>\n        </Dialog>\n    );\n}\n","import React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { Button } from 'shared/components/Button';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { InfoPopover } from 'shared/components/Product/InfoPopover';\nimport { Select2DropdownMenuTheme } from 'shared/components/Select2Dropdown/GenericSelect2DropdownMenu';\nimport { Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput, ValidationInputTheme } from 'shared/components/ValidationInput';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport { IProductIngredientRowInfo, ProductIngredientRowFormFieldName } from '../reducers/reducers';\n\nimport '../css/AddedIngredients.scss';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { StringValueMap } from 'api/Core/StringValueMap';\n\nexport interface IProductIngredientRowProps {\n    product : Product;\n    productCost : ProductCost;\n    ingredientRowInfo : IProductIngredientRowInfo;\n    handleOnRemoveIngredientClick : (ingredientId : ProductId) => void;\n    onFormFieldChange : (productId : ProductId, formField : ProductIngredientRowFormFieldName, value : string) => void;\n    onFormFieldBlur : (productId : ProductId, fieldName : ProductIngredientRowFormFieldName, value : string) => void;\n    ingredientCostPerQuantity : number | null;\n    productInfoIsShown : boolean;\n    handleSetProductInfoPopoverIsShown : (isShown : boolean) => void;\n    onProductInfoFullDetailsClick : ((productId : ProductId) => void) | null;\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>; // TODO unused\n    productId : ProductId;\n    isActive : boolean;\n    isDeleted : boolean;\n}\nexport class ProductIngredientRow extends React.Component<IProductIngredientRowProps, object> {\n    public render() {\n        const {\n            product,\n            ingredientRowInfo,\n            ingredientCostPerQuantity,\n            productInfoIsShown,\n            productCost,\n            handleSetProductInfoPopoverIsShown,\n            onProductInfoFullDetailsClick,\n            productId\n        } = this.props;\n\n        const unitsForDropdown = PackagingUtils.getAvailableUnitOptionsAndLabelNames(product.getPackagingsAndMappings(), true);\n        let ingredientQuantityUnitSelectedOption : IOption | null = null;\n\n        if (ingredientRowInfo.formInfo.unit.value !== '') {\n            unitsForDropdown.forEach((unitOptionsAndLabelName) => {\n                unitOptionsAndLabelName[1].forEach((unitOption : IOption) => {\n                    if (unitOption.value === ingredientRowInfo.formInfo.unit.value) {\n                        ingredientQuantityUnitSelectedOption = unitOption;\n                    }\n                });\n            });\n        }\n\n        const baseUnit = product.getPackagingsAndMappings().getConversions().getBaseUnit();\n        const costDisplayInfo = productCostUtils.getCostInUnit(productCost, baseUnit, product.getPackagingsAndMappings());\n        const productQuantityUnitDisplayText = PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), baseUnit, false);\n        const ingredientCost = `${ FormatMonetaryValueWithCents(costDisplayInfo) } / ${ productQuantityUnitDisplayText }`;\n\n        const { isActive, isDeleted } = this.props;\n        let statusClassName = '';\n        if (isDeleted) {\n            statusClassName = 'deleted-ingredient';\n        } else if (!isActive) {\n            statusClassName = 'archived-ingredient';\n        }\n\n        return (\n            <li className={`product-ingredient-row ingredient-row ${statusClassName}`}>\n                <Button\n                    buttonClassName=\"icon flat remove-ingredient-btn\"\n                    isDisabled={ false }\n                    isLoading={ false }\n                    onClick={ this.handleOnRemoveIngredientClick }\n                >\n                    <span className=\"bevicon bevico-remove-circle-outline\"/>\n                </Button>\n                <div className=\"ingredient-information-container\">\n                    <div className=\"ingredient-information\">\n                        <InfoPopover\n                            vendorIsHidden={ true } // not using this as a future pattern. Only being used as a temporary solution for hiding vendor.\n                            product={ product }\n                            distributor={ null }\n                            productInfoIsShown={ productInfoIsShown }\n                            setProductInfoIsShown={ handleSetProductInfoPopoverIsShown }\n                            onFullDetailsClick={ onProductInfoFullDetailsClick !== null ? this.onProductInfoFullDetailsClick : null }\n                            productCost={ productCost }\n                            productId={ productId }\n                        >\n                            <div className=\"product-ingredient-brand-and-name\">\n                                <span className=\"product-ingredient-brand\">{ product.getBrand() } </span><strong className=\"product-ingredient-name\">{ product.getName() }</strong>\n                            </div>\n                        </InfoPopover>\n                        <small className=\"ingredient-details\">\n                            <span>Ingredient</span>\n                            <span>&nbsp;&bull;&nbsp;</span>\n                            <span>{ ingredientCost }</span>\n                        </small>\n                    </div>\n                    <div className=\"ingredient-quantity\">\n                        <div className=\"ingredient-quantity-input-group input-group\">\n                            <ValidationInput\n                                theme={ ValidationInputTheme.BasicInverted }\n                                type=\"text\"\n                                step=\"any\"\n                                label={ null }\n                                hintText=\"\"\n                                value={ ingredientRowInfo.formInfo.quantity.value }\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                isValid={ ingredientRowInfo.formInfo.quantity.isValid }\n                                isDisabled={ false }\n                                errorMessage={ ingredientRowInfo.formInfo.quantity.errorMessage }\n                                inputClassName=\"\"\n                                handleEnterClick={ this.onProductRowQuantityAmountEnterOrBlur }\n                                handleChange={ this.onProductRowQuantityAmountChange }\n                                handleBlur={ this.onProductRowQuantityAmountEnterOrBlur }\n                                handleFocus={ this.doNothing }\n                            />\n                            <Select2DropdownMenu\n                                theme={ Select2DropdownMenuTheme.BasicInverted }\n                                onOptionSelect={ this.handleOnSelectProductRowUnit }\n                                sortedOptionsAndLabelName={ unitsForDropdown }\n                                selectedOption={ ingredientQuantityUnitSelectedOption }\n                                placeholderText=\"Select Unit\"\n                                hasCreateCustomOption={ false }\n                                createCustomOption={ this.doNothing }\n                                buttonShouldDisplaySelectedLabel={ true }\n                                emptyState={ null }\n                                isSearchable={ false }\n                                selectedOptionHeaderShown={ false }\n                                customOptionGroupLabel={ null }\n                                createCustomOptionButtonLabel={ null }\n                            />\n                        </div>\n                        <span className=\"unit-cost\">Cost: { FormatMonetaryValueWithCents(ingredientCostPerQuantity) }</span>\n                    </div>\n                </div>\n            </li>\n        );\n    }\n\n    private readonly doNothing = () => {\n        // pass\n    }\n\n    private readonly handleOnRemoveIngredientClick = () => {\n        const {\n            ingredientRowInfo,\n            handleOnRemoveIngredientClick,\n        } = this.props;\n\n        handleOnRemoveIngredientClick(ingredientRowInfo.ingredientId);\n    }\n\n    private readonly onProductRowQuantityAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        const {\n            onFormFieldChange,\n            ingredientRowInfo,\n        } = this.props;\n\n        onFormFieldChange(ingredientRowInfo.ingredientId, 'quantity', event.target.value);\n    }\n\n    private readonly onProductRowQuantityAmountEnterOrBlur = (event : React.FocusEvent<HTMLInputElement> | React.KeyboardEvent<HTMLInputElement>) => {\n        const {\n            onFormFieldBlur,\n            ingredientRowInfo,\n        } = this.props;\n\n        onFormFieldBlur(ingredientRowInfo.ingredientId, 'quantity', event.currentTarget.value);\n    }\n\n    private readonly handleOnSelectProductRowUnit = (selectedUnitValue : string) => {\n        const {\n            onFormFieldBlur,\n            ingredientRowInfo,\n        } = this.props;\n\n        onFormFieldBlur(ingredientRowInfo.ingredientId, 'unit', selectedUnitValue);\n    }\n\n    private readonly onProductInfoFullDetailsClick = () => {\n        if (this.props.onProductInfoFullDetailsClick !== null) {\n            this.props.onProductInfoFullDetailsClick(this.props.ingredientRowInfo.ingredientId);\n        }\n    }\n}\n","import React from 'react';\n\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\n\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { BrandAndName } from 'shared/components/Product/BrandAndName';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport { IIngredientInformation } from 'api/SalesItem/utils/SalesItemDisplayUtils';\nimport { SalesItemManagerUtils } from 'apps/SalesItemManager/utils/SalesItemManagerUtils';\n\nimport './SalesItemInfoPopover.scss';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport interface IInfoPopoverProps {\n    salesItem : SalesItem;\n    salesItemInfoIsShown : boolean;\n    setSalesItemInfoIsShown : (isShown : boolean) => void;\n    onFullDetailsClick : (() => void) | null;\n    salesItemIngredients : Array<IIngredientInformation>;\n    salesItemTotalCost : number | null;\n    children : React.ReactNode;\n}\n\nexport class SalesItemInfoPopover extends React.Component<IInfoPopoverProps, object> {\n\n    public render() {\n        const {\n            setSalesItemInfoIsShown,\n            salesItemInfoIsShown,\n            salesItem,\n            children,\n            onFullDetailsClick,\n            salesItemIngredients,\n            salesItemTotalCost,\n        } = this.props;\n\n        const menuGroupText = salesItem.getMenuGroup();\n        const yieldQuantity = salesItem.getItemYield().getQuantity();\n        const yieldUnit = salesItem.getItemYield().getUnit() === null ? salesItem.getSalesItemCustomUnitName() : salesItem.getItemYield().getUnit();\n        const totalCost = FormatMonetaryValueWithCents(salesItemTotalCost);\n        const salesPrice = FormatMonetaryValueWithCents(salesItem.getSalesPrice());\n        const costPercentageCalculation = SalesItemUtils.getCostPercentageOfSalesItem(salesItem.getSalesPrice(), salesItemTotalCost);\n        const costPercentage = SalesItemManagerUtils.formatPercent(costPercentageCalculation);\n        return (\n            <Popover\n                className=\"sales-item-info-popover\"\n                preferredPositionArray={ ['below', 'above', 'left', 'right'] }\n                showOnHover={ true }\n                popoverContentIsShown={ salesItemInfoIsShown }\n                setPopoverContentIsShown={ setSalesItemInfoIsShown }\n                anchorContent={ (\n                    <div className=\"sales-item-info-anchor\">\n                        { children }\n                    </div>\n                ) }\n                popoverContent={ (\n                    <React.Fragment>\n                        <Flex direction=\"row\" className=\"sales-item-info-header\" align=\"end\">\n                            <Flex direction=\"column\" grow={ 1 }>\n                                <BrandAndName brand=\"\" name={ salesItem.getName() }/>\n                            </Flex>\n                            <Flex direction=\"column\" grow={ 1 } align=\"end\" justify=\"end\">\n                                <div className=\"sales-item-info-label\">\n                                    Yield\n                                </div>\n                                <div className=\"sales-item-info-value ellipsis-out\">\n                                    { `${yieldQuantity} ${yieldUnit}` }\n                                </div>\n                            </Flex>\n                        </Flex>\n                        <div className=\"sales-item-info-container\">\n                            <div className=\"divider-line\"/>\n                            <div className=\"sales-item-info-row\">\n                                <div className=\"sales-item-info-label\">\n                                    Menu Group\n                                </div>\n                                <div className=\"sales-item-info-value ellipsis-out\">\n                                    { menuGroupText }\n                                </div>\n                            </div>\n                            <div className=\"sales-item-info-row ingredients-container\">\n                                <div className=\"sales-item-info-label ingredients-label\">\n                                    Ingredients\n                                </div>\n                                <ul className=\"ellipsis-out ingredients\">\n                                    {\n                                        salesItemIngredients.map((ingredient) => {\n                                            return (\n                                                <li className=\"ingredient-row\" key={ ingredient.ingredientId.getValue() }>\n                                                    <div className=\"\">\n                                                        <div className=\"ingredient-quantity-and-unit\">\n                                                            { numberUtils.FormatToMaximumTwoDecimalPlaces(ingredient.quantityAmount) } { ingredient.quantityUnitLabel }\n                                                            <strong className=\"ingredient-name\">{ ingredient.ingredientLabel }</strong>\n                                                        </div>\n                                                        <div className=\"sales-item-info-value ingredient-cost\">\n                                                            { `$${Number(ingredient.costOfIngredient).toFixed(2)}` }\n                                                        </div>\n                                                    </div>\n\n                                                </li>\n                                            );\n                                        })\n                                    }\n                                </ul>\n                            </div>\n                            <div className=\"sales-item-sub-info-row\">\n                                <div className=\"sales-item-info-label cost-data\">\n                                    Total Cost\n                                </div>\n                                <div className=\"sales-item-info-value ellipsis-out\">\n                                    { totalCost }\n                                </div>\n                            </div>\n                            <div className=\"sales-item-sub-info-row\">\n                                <div className=\"sales-item-info-label cost-data\">\n                                    Cost &#37;\n                                </div>\n                                <div className=\"sales-item-info-value ellipsis-out\">\n                                    { costPercentage }\n                                </div>\n                            </div>\n                            <div className=\"sales-item-sub-info-row\">\n                                <div className=\"sales-item-info-label cost-data\">\n                                    Sales Price\n                                </div>\n                                <div className=\"sales-item-info-value ellipsis-out\">\n                                    { salesPrice }\n                                </div>\n                            </div>\n                            { onFullDetailsClick !== null &&\n                                <div className=\"full-details-link-container\">\n                                    <div className=\"divider-line\"/>\n                                    <a onClick={ onFullDetailsClick }>\n                                        See full details\n                                    </a>\n                                </div>\n                            }\n                        </div>\n                    </React.Fragment>\n                ) }\n            />\n        );\n    }\n}\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { UnitUtils } from 'api/Product/utils/UnitUtils';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\n\nimport { Button } from 'shared/components/Button';\nimport { SalesItemInfoPopover } from 'shared/components/SalesItemInfoPopover/SalesItemInfoPopover';\nimport { ValidationInput, ValidationInputTheme } from 'shared/components/ValidationInput';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport { IIngredientInformation } from 'api/SalesItem/utils/SalesItemDisplayUtils';\nimport { ISalesItemIngredientRowInfo, SalesItemIngredientRowFormFieldName } from '../reducers/reducers';\n\nimport '../css/AddedIngredients.scss';\n\nexport interface ISalesItemIngredientRowProps {\n    salesItemId : SalesItemId;\n    salesItem : SalesItem | null;\n    ingredientRowInfo : ISalesItemIngredientRowInfo;\n    handleOnRemoveIngredientClick : (ingredientId : SalesItemId) => void;\n    onFormFieldChange : (salesItemId : SalesItemId, formField : SalesItemIngredientRowFormFieldName, value : string) => void;\n    onFormFieldBlur : (salesItemId : SalesItemId, fieldName : SalesItemIngredientRowFormFieldName, value : string) => void;\n    subrecipeCostsById : StringValueMap<SalesItemId, number | null>;\n    salesItemInfoIsShown : boolean;\n    handleSetSalesItemInfoIsShown : (isShown : boolean) => void;\n    salesItemIngredients : Array<IIngredientInformation>;\n    salesItemTotalCost : number | null;\n}\nexport class SalesItemIngredientRow extends React.Component<ISalesItemIngredientRowProps, object> {\n    public render() {\n        const {\n            salesItemId,\n            salesItem,\n            ingredientRowInfo,\n            subrecipeCostsById,\n            salesItemInfoIsShown,\n            handleSetSalesItemInfoIsShown,\n            salesItemIngredients,\n            salesItemTotalCost,\n        } = this.props;\n\n        if (salesItem === null) {\n            throw new Error('unexpected null sales item ingredient');\n        }\n\n        const subrecipeName = salesItem.getName();\n\n        const subrecipeCost = subrecipeCostsById.get(salesItemId);\n        if (typeof subrecipeCost === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        let subrecipeCostPerServingSize : number | null;\n        let salesItemIngredientCostPerQuantity : number | null;\n        let isPlural : boolean;\n        if (subrecipeCost === null) {\n            subrecipeCostPerServingSize = null;\n        } else {\n            subrecipeCostPerServingSize = SalesItemUtils.getCostOfComponentSalesItem(salesItem, 1, subrecipeCost);\n        }\n        if (ingredientRowInfo.formInfo.quantity.isValid) {\n            const numberOfServings = parseFloat(ingredientRowInfo.formInfo.quantity.value); // may need to put in serving at the bottom\n            salesItemIngredientCostPerQuantity = SalesItemUtils.getCostOfComponentSalesItem(salesItem, numberOfServings, subrecipeCost);\n            isPlural = numberOfServings !== 1;\n        } else {\n            salesItemIngredientCostPerQuantity = null;\n            isPlural = true;\n        }\n\n        const salesYield = salesItem.getItemYield();\n        const salesYieldUnit = salesYield.getUnit();\n        const servingsPerYield = SalesItemUtils.getServingsPerYield(salesItem.getServingSize(), salesYield);\n        const pricePerServing = salesItem.getSalesPrice() / servingsPerYield;\n        const salesServingSize = salesItem.getServingSize();\n        const salesServingUnit = salesServingSize.getUnit();\n\n        let pricePerServingDisplay : string;\n        if (salesYieldUnit === null || salesServingUnit === null) {\n            pricePerServingDisplay = `${ FormatMonetaryValueWithCents(subrecipeCostPerServingSize) } / ${ salesItem.getServingSize().getUnit() || salesItem.getSalesItemCustomUnitName() }`;\n        } else {\n            const servingsPerOneYieldUnit = UnitUtils.convertUnitQuantity(new QuantityInUnit(salesServingSize.getQuantity(), salesServingUnit), salesYieldUnit);\n            let convertUnit : VolumeUnit.OUNCE | MassUnit.DRY_OUNCE;\n            if (VolumeUnit.isVolumeUnit(salesYieldUnit)) {\n                convertUnit = VolumeUnit.OUNCE;\n            } else if (MassUnit.isMassUnit(salesYieldUnit)) {\n                convertUnit = MassUnit.DRY_OUNCE;\n            } else {\n                throw new Error('unexpected value for yield unit');\n            }\n\n            const servingsPerOneYieldUnitInOz = UnitUtils.convertUnitQuantity(servingsPerOneYieldUnit, convertUnit);\n            pricePerServingDisplay = `${ FormatMonetaryValueWithCents(pricePerServing / servingsPerOneYieldUnitInOz.getQuantity()) } / ${ convertUnit }`;\n        }\n\n        return (\n            <li className=\"sales-item-ingredient-row ingredient-row\">\n                <Button\n                    buttonClassName=\"icon flat remove-ingredient-btn\"\n                    isDisabled={ false }\n                    isLoading={ false }\n                    onClick={ this.handleOnRemoveIngredientClick }\n                >\n                    <span className=\"bevicon bevico-remove-circle-outline\"/>\n                </Button>\n                <div className=\"ingredient-information-container\">\n                    <div className=\"ingredient-information\">\n                        <SalesItemInfoPopover\n                            salesItem={ salesItem }\n                            salesItemInfoIsShown={ salesItemInfoIsShown }\n                            setSalesItemInfoIsShown={ handleSetSalesItemInfoIsShown }\n                            onFullDetailsClick={ null }\n                            salesItemIngredients={ salesItemIngredients }\n                            salesItemTotalCost={ salesItemTotalCost }\n                        >\n                            <p className=\"sales-item-name\">{ subrecipeName }</p>\n                        </SalesItemInfoPopover>\n                        <small className=\"ingredient-details\">\n                            <span>Recipe</span>\n                            <span>&nbsp;&bull;&nbsp;</span>\n                            <span>{ subrecipeCost === null ? 'N/A' : pricePerServingDisplay }</span>\n                        </small>\n                    </div>\n                    <div className=\"ingredient-quantity\">\n                        <div className=\"ingredient-quantity-input-group input-group\">\n                            <ValidationInput\n                                theme={ ValidationInputTheme.BasicInverted }\n                                type=\"text\"\n                                step=\"any\"\n                                label={ null }\n                                hintText=\"\"\n                                value={ ingredientRowInfo.formInfo.quantity.value }\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                isValid={ ingredientRowInfo.formInfo.quantity.isValid }\n                                isDisabled={ false }\n                                errorMessage={ ingredientRowInfo.formInfo.quantity.errorMessage }\n                                inputClassName=\"\"\n                                handleEnterClick={ this.onSalesItemRowQuantityAmountBlurOrEnter }\n                                handleChange={ this.onSalesItemRowQuantityAmountChange }\n                                handleBlur={ this.onSalesItemRowQuantityAmountBlurOrEnter }\n                                handleFocus={ this.doNothing }\n                            />\n                            <div className=\"serving\">serving{ isPlural ? 's' : '' }</div>\n                        </div>\n                        <span className=\"unit-cost\">Cost: { FormatMonetaryValueWithCents(salesItemIngredientCostPerQuantity) }</span>\n                    </div>\n                </div>\n            </li>\n        );\n    }\n\n    private readonly doNothing = () => {\n        // pass\n    }\n\n    private readonly handleOnRemoveIngredientClick = () => {\n        const {\n            ingredientRowInfo,\n            handleOnRemoveIngredientClick,\n        } = this.props;\n\n        handleOnRemoveIngredientClick(ingredientRowInfo.ingredientId);\n    }\n\n    private readonly onSalesItemRowQuantityAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        const {\n            onFormFieldChange,\n            ingredientRowInfo,\n        } = this.props;\n\n        onFormFieldChange(ingredientRowInfo.ingredientId, 'quantity', event.target.value);\n    }\n\n    private readonly onSalesItemRowQuantityAmountBlurOrEnter = (event : React.FocusEvent<HTMLInputElement> | React.KeyboardEvent<HTMLInputElement>) => {\n        const {\n            onFormFieldBlur,\n            ingredientRowInfo,\n        } = this.props;\n\n        onFormFieldBlur(ingredientRowInfo.ingredientId, 'quantity', event.currentTarget.value);\n    }\n}\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { productJSONToObjectSerializer } from 'shared/lib/manager';\n\nimport { SalesItemDisplayUtils } from 'api/SalesItem/utils/SalesItemDisplayUtils';\nimport { getCachedSalesItemCostsForIds } from 'apps/SalesItemManager/utils/CachedSalesItemCostUtils';\n\nimport { IProductIngredientRowInfo, ISalesItemIngredientRowInfo, ProductIngredientRowFormFieldName, SalesItemIngredientRowFormFieldName } from '../reducers/reducers';\nimport { ProductIngredientRow } from './ProductIngredientRow';\nimport { SalesItemIngredientRow } from './SalesItemIngredientRow';\n\nimport '../css/AddedIngredients.scss';\n\nexport interface IAddedIngredientsProps {\n    orderedIngredientItems : Array<ProductId | SalesItemId>;\n    productIngredientItemsById : StringValueMap<ProductId, IProductIngredientRowInfo>;\n    salesItemIngredientItemsById : StringValueMap<SalesItemId, ISalesItemIngredientRowInfo>;\n    productsById : StringValueMap<ProductId, Product>;\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    handleOnRemoveIngredientClick : (ingredientId : ProductId | SalesItemId) => void;\n    onProductRowFormFieldChange : (productId : ProductId, formField : ProductIngredientRowFormFieldName, value : string) => void;\n    onProductFormFieldBlur : (productId : ProductId, formField : ProductIngredientRowFormFieldName, value : string) => void;\n    onSalesItemRowFormFieldChange : (salesItemId : SalesItemId, formField : SalesItemIngredientRowFormFieldName, value : string) => void;\n    onSalesItemRowFormFieldBlur : (salesItemId : SalesItemId, formField : SalesItemIngredientRowFormFieldName, value : string) => void;\n    costByProductId : StringValueMap<ProductId, ProductCost>;\n    subrecipeCostsById : StringValueMap<SalesItemId, number | null>;\n    popoverIngredientIdIsShown : (ingredientId : ProductId | SalesItemId, isShown : boolean) => void;\n    onProductInfoFullDetailsClick : ((ingredientId : ProductId) => void) | null;\n    popoverIngredientIds : StringValueSet<ProductId | SalesItemId>;\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>;\n    activeProductIds : StringValueSet<ProductId>;\n    deletedProductIds : StringValueSet<ProductId>;\n}\nexport class AddedIngredients extends React.Component<IAddedIngredientsProps, object> {\n    public render() {\n        const {\n            orderedIngredientItems,\n            salesItemsById,\n            productsById,\n            productCostsByProductId,\n        } = this.props;\n\n        const costsBySalesItemId = getCachedSalesItemCostsForIds(\n            new StringValueSet(Array.from(salesItemsById.keys())),\n            salesItemsById,\n            productsById,\n            productCostsByProductId\n        );\n\n        const ingredientRows = orderedIngredientItems.map((ingredientId) => {\n            return this.createIngredientRows(costsBySalesItemId, ingredientId);\n        });\n\n        return(\n            <ul className=\"added-ingredients\">\n                { ingredientRows }\n            </ul>\n        );\n    }\n\n    private readonly createIngredientRows = (costsBySalesItemId : StringValueMap<SalesItemId, number | null>, ingredientId : ProductId | SalesItemId) => {\n        const {\n            productsById,\n            productIngredientItemsById,\n            salesItemsById,\n            salesItemIngredientItemsById,\n            handleOnRemoveIngredientClick,\n            onProductRowFormFieldChange,\n            onProductFormFieldBlur,\n            onSalesItemRowFormFieldChange,\n            onSalesItemRowFormFieldBlur,\n            costByProductId,\n            subrecipeCostsById,\n            popoverIngredientIdIsShown,\n            onProductInfoFullDetailsClick,\n            popoverIngredientIds,\n            productCostsByProductId,\n            activeProductIds,\n            deletedProductIds,\n        } = this.props;\n\n        const handlePopoverIngredientIdIsShown = (isShown : boolean) => {\n            popoverIngredientIdIsShown(ingredientId, isShown);\n        };\n\n        let ingredientCostPerQuantity : number | null;\n        if (ingredientId instanceof ProductId) {\n            const ingredientRow = productIngredientItemsById.get(ingredientId);\n\n            if (typeof ingredientRow === 'undefined') {\n                throw new RuntimeException('unexpected ingredient row not found');\n            }\n\n            const product = productsById.get(ingredientRow.ingredientId);\n            const productCost = costByProductId.get(ingredientRow.ingredientId);\n            if (typeof product === 'undefined' || typeof productCost === 'undefined') {\n                throw new RuntimeException('unexpected ingredient row not found');\n            }\n\n            const ingredientFormInfo = ingredientRow.formInfo;\n            const quantityOnForm = new QuantityInUnit(\n                parseFloat(ingredientFormInfo.quantity.value),\n                productJSONToObjectSerializer.getProductQuantityUnit(ingredientFormInfo.unit.value),\n            );\n            if (ingredientFormInfo.quantity.isValid) {\n                ingredientCostPerQuantity = SalesItemUtils.getCostOfProductComponentInSalesItem(ingredientId, quantityOnForm, productsById, costByProductId);\n            } else {\n                ingredientCostPerQuantity = null;\n            }\n\n            const isActive = activeProductIds.has(ingredientId);\n            const isDeleted = deletedProductIds.has(ingredientId);\n\n            return (\n                <ProductIngredientRow\n                    key={ ingredientId.getValue() }\n                    handleOnRemoveIngredientClick={ handleOnRemoveIngredientClick }\n                    product={ product }\n                    productCost={ productCost }\n                    ingredientRowInfo={ ingredientRow }\n                    onFormFieldChange={ onProductRowFormFieldChange }\n                    onFormFieldBlur={ onProductFormFieldBlur }\n                    ingredientCostPerQuantity={ ingredientCostPerQuantity }\n                    productInfoIsShown={ popoverIngredientIds.has(ingredientId) }\n                    handleSetProductInfoPopoverIsShown={ handlePopoverIngredientIdIsShown }\n                    onProductInfoFullDetailsClick={ onProductInfoFullDetailsClick }\n                    productId={ ingredientId }\n                    productCostsByProductId={ productCostsByProductId }\n                    isActive={ isActive }\n                    isDeleted={ isDeleted }\n                />\n            );\n        } else {\n            const salesItemWithMetadata = salesItemsById.get(ingredientId);\n            const ingredientRow = salesItemIngredientItemsById.get(ingredientId);\n\n            if (typeof ingredientRow === 'undefined' || typeof salesItemWithMetadata === 'undefined') {\n                throw new RuntimeException('unexpected ingredient row not found');\n            }\n            const salesItem = salesItemWithMetadata.getSalesItem();\n\n            const salesItemIngredients = SalesItemDisplayUtils.getIngredientsDisplayInformationForSalesItem(salesItem, salesItemsById, productsById, productCostsByProductId, costsBySalesItemId);\n            const totalCost = costsBySalesItemId.get(ingredientId);\n\n            if (typeof totalCost === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            return (\n                <SalesItemIngredientRow\n                    key={ ingredientId.getValue() }\n                    handleOnRemoveIngredientClick={ handleOnRemoveIngredientClick }\n                    salesItemId={ ingredientId }\n                    salesItem={ salesItem }\n                    onFormFieldChange={ onSalesItemRowFormFieldChange }\n                    onFormFieldBlur={ onSalesItemRowFormFieldBlur }\n                    ingredientRowInfo={ ingredientRow }\n                    subrecipeCostsById={ subrecipeCostsById }\n                    salesItemInfoIsShown={ popoverIngredientIds.has(ingredientId) }\n                    handleSetSalesItemInfoIsShown={ handlePopoverIngredientIdIsShown }\n                    salesItemIngredients={ salesItemIngredients }\n                    salesItemTotalCost={ totalCost }\n                />\n            );\n        }\n    }\n}\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { UnitUtils } from 'api/Product/utils/UnitUtils';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\n\nimport { Button } from 'shared/components/Button';\nimport { ProductOptionRow } from 'shared/components/Product/ProductOptionRow';\nimport { SearchBarTheme } from 'shared/components/SearchBar/SearchBar';\nimport { SearchBarWithSuggestedOptions } from 'shared/components/SearchBar/SearchBarWithSuggestedOptions';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput } from 'shared/components/ValidationInput';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport { IngredientFormFieldName, IngredientFormValidationByFieldName } from '../reducers/reducers';\nimport { CreateOrEditSalesItemFormUtils } from '../utils/CreateOrEditSalesItemFormUtils';\n\n// CAS TODO: need to update this to have it's own css file, not great but these styles will work just fine in the meantime\nimport '../../../shared/components/Product/ProductSearchBar.scss';\nimport '../css/IngredientSearchBar.scss';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ItemCardEvents } from 'apps/ItemCard/ItemCard';\nexport interface IIngredientSearchBarProps {\n    productsById : StringValueMap<ProductId, Product>;\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    searchBarPlaceholderText : string;\n    searchBarTheme : SearchBarTheme;\n    labelNamesAndSortedProductIdsToDisplay : Array<[string, Array<ProductId>]>;\n    labelNamesAndSortedSalesItemIdsToDisplay : Array<[string, Array<SalesItemId>]>;\n    searchBar : ISearchBarState;\n    setSearchTerm : (searchTerm : string | null) => void;\n    highlightedIngredientId : ProductId | SalesItemId | null;\n    setHighlightedIngredientId : (searchSuggestion : ProductId | SalesItemId | null) => void;\n    dropdownIsShown : boolean;\n    setIngredientDropdownIsShown : (isShown : boolean) => void;\n    slimProductCreateIsShown : boolean;\n    createNewSalesItemFieldsAreShown : boolean;\n    setSlimCreateIsShown : (isShown : boolean) => void;\n    setCreateNewSalesItemFieldsAreShown : (isShown : boolean) => void;\n    onSelectIngredient : (ingredientId : ProductId | SalesItemId | null) => void;\n    onSlimCreate : (productId : ProductId) => void;\n    validationInputDataByFieldName : IngredientFormValidationByFieldName;\n    onIngredientInfoFormFieldChange : (fieldName : IngredientFormFieldName, value : string) => void;\n    showIngredientProductPrice : boolean;\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>;\n}\n\nexport class IngredientSearchBar extends React.Component<IIngredientSearchBarProps, object> {\n    private servingSizeAndYieldUnitDropdownOptions : OptionsAndLabelNameTuples;\n\n    constructor(props : IIngredientSearchBarProps) {\n        super(props);\n        this.servingSizeAndYieldUnitDropdownOptions = CreateOrEditSalesItemFormUtils.getServingSizeAndYieldDropdownOptions();\n    }\n\n    public render() {\n        const {\n            searchBar,\n            searchBarTheme,\n            searchBarPlaceholderText,\n            dropdownIsShown,\n            labelNamesAndSortedProductIdsToDisplay,\n            labelNamesAndSortedSalesItemIdsToDisplay,\n            highlightedIngredientId,\n            createNewSalesItemFieldsAreShown,\n            validationInputDataByFieldName,\n        } = this.props;\n\n        const newSalesItemYieldUnitSelectedOption = this.servingSizeAndYieldUnitDropdownOptions[0][1].find((option) => {\n            return validationInputDataByFieldName.newSalesItemYieldUnit.value === option.value;\n        }) || null;\n        const newSalesItemServingSizeUnitSelectedOption = this.servingSizeAndYieldUnitDropdownOptions[0][1].find((option) => {\n            return validationInputDataByFieldName.newSalesItemServingSizeUnit.value === option.value;\n        }) || null;\n\n        const labelNamesAndSortedIngredientIds = [\n            ...labelNamesAndSortedProductIdsToDisplay,\n            ...labelNamesAndSortedSalesItemIdsToDisplay,\n        ];\n        const newItemName = searchBar.searchTerm || 'New Item';\n        return (\n            <div className=\"ingredient-search-bar product-search-bar\">\n                <SearchBarWithSuggestedOptions\n                    searchBar={ searchBar }\n                    searchBarTheme={ searchBarTheme }\n                    searchBarPlaceholderText={ searchBarPlaceholderText }\n                    searchSuggestionListIsShown={ dropdownIsShown }\n                    labelNamesAndSearchSuggestions={ labelNamesAndSortedIngredientIds }\n                    highlightedSearchSuggestion={ highlightedIngredientId }\n                    moreOptionsHeader={ null }\n                    moreOptionsFooter={\n                        <div className=\"more-options-button-container\">\n                            <Button\n                                buttonClassName=\"primary flat capitalize medium with-icon\"\n                                isDisabled={ false }\n                                isLoading={ false }\n                                onClick={ this.onCreateNewProductClick }\n                            >\n                                <span className=\"bevicon bevico-add main-icon-left\"/>\n                                <span>Add { newItemName }</span>\n                            </Button>\n                        </div>\n                    }\n                    searchBarIsMobileComponent={ false }\n                    setSearchSuggestionListIsShown={ this.setIngredientDropdownIsShown }\n                    createSuggestionOptionElement={ this.createIngredientOptionRow }\n                    onSearchBarEnterClick={ this.onSearchBarEnterClick }\n                    onSearchTermValueChange={ this.onSearchTermValueChange }\n                    onClearSearchTerm={ this.onClearSearchTerm }\n                    onOptionClick={ this.onOptionClick }\n                    setHighlightedSearchSuggestionKeyboard={ this.setHighlightedOptionKeyboard }\n                    setHighlightedSearchSuggestionMouse={ this.setHighlightedOptionMouse }\n                    closeMobileSearchBar={ this.doNothing }\n                    dropdownRowClassName=\"\"\n                    dropdownContainerClassName=\"dropdown-inner-container\"\n                />\n                { createNewSalesItemFieldsAreShown &&\n                    <div className=\"slim-create-sales-item-container\">\n                        <div className=\"slim-create-sales-item-name\">\n                            <div className=\"label\">New Sales Item Name</div>\n                            <ValidationInput\n                                type=\"text\"\n                                label={ null }\n                                hintText=\"\"\n                                value={ validationInputDataByFieldName.newSalesItemName.value }\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                isValid={ validationInputDataByFieldName.newSalesItemName.isValid }\n                                isDisabled={ false }\n                                errorMessage={ validationInputDataByFieldName.newSalesItemName.errorMessage }\n                                inputClassName=\"\"\n                                handleEnterClick={ null }\n                                handleChange={ this.onNewSalesItemNameChange }\n                                handleBlur={ null }\n                                handleFocus={ null }\n                            />\n                        </div>\n                        <div className=\"slim-create-sales-item-yield\">\n                            <div className=\"label\">Yield</div>\n                            <div className=\"yield-and-serving-size-input-fields input-group\">\n                                <ValidationInput\n                                    type=\"number\"\n                                    step=\"any\"\n                                    label={ null }\n                                    hintText=\"\"\n                                    value={ validationInputDataByFieldName.newSalesItemYieldAmount.value }\n                                    autoFocus={ false }\n                                    autoComplete={ null }\n                                    isValid={ validationInputDataByFieldName.newSalesItemYieldAmount.isValid }\n                                    isDisabled={ false }\n                                    errorMessage={ validationInputDataByFieldName.newSalesItemYieldAmount.errorMessage }\n                                    inputClassName=\"\"\n                                    handleEnterClick={ null }\n                                    handleChange={ this.onNewSalesItemYieldAmountChange }\n                                    handleBlur={ null }\n                                    handleFocus={ null }\n                                />\n                                <Select2DropdownMenu\n                                    onOptionSelect={ this.handleOnSelectNewSalesItemYieldUnit }\n                                    sortedOptionsAndLabelName={ this.servingSizeAndYieldUnitDropdownOptions }\n                                    selectedOption={ newSalesItemYieldUnitSelectedOption }\n                                    placeholderText=\"Select Unit\"\n                                    hasCreateCustomOption={ false }\n                                    createCustomOption={ null }\n                                    buttonShouldDisplaySelectedLabel={ true }\n                                    emptyState={ null }\n                                    isSearchable={ false }\n                                    selectedOptionHeaderShown={ false }\n                                    customOptionGroupLabel={ null }\n                                    createCustomOptionButtonLabel={ null }\n                                />\n                                { !validationInputDataByFieldName.newSalesItemYieldUnit.isValid &&\n                                    <div className=\"error-text\">\n                                        { validationInputDataByFieldName.newSalesItemYieldUnit.errorMessage }\n                                    </div>\n                                }\n                            </div>\n                        </div>\n                        <div className=\"slim-create-sales-item-serving-size\">\n                            <div className=\"label\">Serving Size</div>\n                            <div className=\"yield-and-serving-size-input-fields input-group\">\n                                <ValidationInput\n                                    type=\"number\"\n                                    step=\"any\"\n                                    label={ null }\n                                    hintText=\"\"\n                                    value={ validationInputDataByFieldName.newSalesItemServingSizeAmount.value }\n                                    autoFocus={ false }\n                                    autoComplete={ null }\n                                    isValid={ validationInputDataByFieldName.newSalesItemServingSizeAmount.isValid }\n                                    isDisabled={ false }\n                                    errorMessage={ validationInputDataByFieldName.newSalesItemServingSizeAmount.errorMessage }\n                                    inputClassName=\"\"\n                                    handleEnterClick={ null }\n                                    handleChange={ this.onNewSalesItemServingSizeAmountChange }\n                                    handleBlur={ null }\n                                    handleFocus={ null }\n                                />\n                                <Select2DropdownMenu\n                                    onOptionSelect={ this.handleOnNewSalesItemSelectServingSizeUnit }\n                                    sortedOptionsAndLabelName={ this.servingSizeAndYieldUnitDropdownOptions }\n                                    selectedOption={ newSalesItemServingSizeUnitSelectedOption }\n                                    placeholderText=\"Select Unit\"\n                                    hasCreateCustomOption={ false }\n                                    createCustomOption={ null }\n                                    buttonShouldDisplaySelectedLabel={ true }\n                                    emptyState={ null }\n                                    isSearchable={ false }\n                                    selectedOptionHeaderShown={ false }\n                                    customOptionGroupLabel={ null }\n                                    createCustomOptionButtonLabel={ null }\n                                />\n                                { !validationInputDataByFieldName.newSalesItemServingSizeUnit.isValid &&\n                                    <div className=\"error-text\">\n                                        { validationInputDataByFieldName.newSalesItemServingSizeUnit.errorMessage }\n                                    </div>\n                                }\n                            </div>\n                        </div>\n                    </div>\n                }\n            </div>\n        );\n    }\n\n    private readonly doNothing = () => {\n        // pass\n    }\n    private readonly onCreateNewProductClick = () : void => {\n        this.props.setIngredientDropdownIsShown(false);\n        this.props.setSlimCreateIsShown(true);\n        ItemCardEvents.loadCreateItemModal({});\n    }\n\n    private readonly setIngredientDropdownIsShown = (isShown : boolean) => {\n        this.props.setIngredientDropdownIsShown(isShown);\n    }\n    private readonly createIngredientOptionRow = (ingredientId : ProductId | SalesItemId) => {\n        const {\n            highlightedIngredientId,\n            productsById,\n            salesItemsById,\n            showIngredientProductPrice,\n            productCostsByProductId,\n        } = this.props;\n\n        let ingredient : Product | SalesItemWithMetadata | undefined;\n        let productCost : ProductCost | undefined;\n        if (ingredientId instanceof ProductId) {\n            ingredient = productsById.get(ingredientId);\n        } else {\n            ingredient = salesItemsById.get(ingredientId);\n        }\n\n        if (typeof ingredient === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        const isHighlighted = ((highlightedIngredientId !== null) && highlightedIngredientId.equals(ingredientId));\n        if (ingredient instanceof Product) {\n            if (ingredientId instanceof ProductId) {\n                productCost = productCostsByProductId.get(ingredientId);\n            }\n            if (typeof productCost === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n            return (\n                <ProductOptionRow\n                    key={ ingredientId.getValue() }\n                    isAdded={ false }\n                    productCost={ productCost }\n                    product={ ingredient }\n                    isActive={ true }\n                    isHighlighted={ isHighlighted }\n                    showPricePerLowestUnit={ showIngredientProductPrice }\n                />\n            );\n        } else {\n            const salesItem = ingredient.getSalesItem();\n            const salesYield = salesItem.getItemYield();\n            const salesYieldUnit = salesYield.getUnit();\n            const servingsPerYield = SalesItemUtils.getServingsPerYield(salesItem.getServingSize(), salesYield);\n            const pricePerServing = salesItem.getSalesPrice() / servingsPerYield;\n            const salesServingSize = salesItem.getServingSize();\n            const salesServingUnit = salesServingSize.getUnit();\n\n            let pricePerServingDisplay : string;\n            if (salesYieldUnit === null || salesServingUnit === null) {\n                pricePerServingDisplay = `${ FormatMonetaryValueWithCents(pricePerServing) } / ${ salesItem.getServingSize().getUnit() || salesItem.getSalesItemCustomUnitName() }`;\n            } else {\n                const servingsPerOneYieldUnit = UnitUtils.convertUnitQuantity(new QuantityInUnit(salesServingSize.getQuantity(), salesServingUnit), salesYieldUnit);\n                let convertUnit : VolumeUnit.OUNCE | MassUnit.DRY_OUNCE;\n                if (VolumeUnit.isVolumeUnit(salesYieldUnit)) {\n                    convertUnit = VolumeUnit.OUNCE;\n                } else if (MassUnit.isMassUnit(salesYieldUnit)) {\n                    convertUnit = MassUnit.DRY_OUNCE;\n                } else {\n                    throw new Error('unexpected value for yield unit');\n                }\n\n                const servingsPerOneYieldUnitInOz = UnitUtils.convertUnitQuantity(servingsPerOneYieldUnit, convertUnit);\n                pricePerServingDisplay = `${ FormatMonetaryValueWithCents(pricePerServing / servingsPerOneYieldUnitInOz.getQuantity()) } / ${ convertUnit }`;\n            }\n\n            return (\n                <div className={ `product-option-row ${ isHighlighted ? 'highlighted' : '' }` }>\n                    <div className=\"row-content\">\n                        <div className=\"product-options-row-sales-item-name cell col-xs-7 col-sm-8\">\n                            { ingredient.getSalesItem().getName() }\n                        </div>\n                        <div className=\"product-option-row-packaging cell col-xs-5 col-sm-4 text-right\">\n                            { salesYield.getQuantity() } { salesYield.getUnit() ? salesYield.getUnit() : salesItem.getSalesItemCustomUnitName() }\n                            <div>\n                                { pricePerServingDisplay }\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            );\n        }\n    }\n\n    private readonly onSearchBarEnterClick = (searchTerm : string) => {\n        const {\n            highlightedIngredientId,\n            onSelectIngredient,\n        } = this.props;\n\n        if (highlightedIngredientId !== null) {\n            onSelectIngredient(highlightedIngredientId);\n        }\n    }\n\n    private readonly onSearchTermValueChange = (searchTerm : string) => {\n        this.props.setIngredientDropdownIsShown(true);\n        this.props.setSearchTerm(searchTerm);\n    }\n\n    private readonly onClearSearchTerm = () => {\n        this.props.setSearchTerm(null);\n    }\n\n    private readonly onOptionClick = (ingredientId : ProductId | SalesItemId) => {\n        this.props.onSelectIngredient(ingredientId);\n        this.props.setCreateNewSalesItemFieldsAreShown(false); // reset if necessary\n    }\n\n    private readonly setHighlightedOptionKeyboard = (ingredientId : ProductId | SalesItemId | null) => {\n        this.props.setHighlightedIngredientId(ingredientId);\n    }\n\n    private readonly setHighlightedOptionMouse = (ingredientId : ProductId | SalesItemId | null) => {\n        this.props.setHighlightedIngredientId(ingredientId);\n    }\n\n    private readonly onNewSalesItemYieldAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onIngredientInfoFormFieldChange('newSalesItemYieldAmount', event.currentTarget.value);\n    }\n\n    private readonly handleOnSelectNewSalesItemYieldUnit = (selectedUnitValue : string) => {\n        this.props.onIngredientInfoFormFieldChange('newSalesItemYieldUnit', selectedUnitValue);\n    }\n\n    private readonly onNewSalesItemServingSizeAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onIngredientInfoFormFieldChange('newSalesItemServingSizeAmount', event.currentTarget.value);\n    }\n\n    private readonly handleOnNewSalesItemSelectServingSizeUnit = (selectedUnitValue : string) => {\n        this.props.onIngredientInfoFormFieldChange('newSalesItemServingSizeUnit', selectedUnitValue);\n    }\n\n    private readonly onNewSalesItemNameChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onIngredientInfoFormFieldChange('newSalesItemName', event.currentTarget.value);\n    }\n}\n","import React from 'react';\n\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\n\nimport { CreateOrEditSalesItemFormUtils, NOT_CALCULABLE_FIELD_VALUE } from '../utils/CreateOrEditSalesItemFormUtils';\n\nimport { Select2DropdownMenuTheme } from 'shared/components/Select2Dropdown/GenericSelect2DropdownMenu';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput, ValidationInputTheme } from 'shared/components/ValidationInput';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport { IngredientFormFieldName, ISalesItemForm, ISalesItemFormData } from '../reducers/reducers';\n\nimport '../css/SubRecipeInfo.scss';\n\ninterface ISubRecipeInfoProps {\n    salesItemForm : ISalesItemForm;\n    salesItemFormData : ISalesItemFormData;\n    onIngredientInfoFormFieldChange : (fieldName : IngredientFormFieldName, value : string) => void;\n    salesItemCostOnForm : string;\n    salesItemPriceOnForm : string;\n}\n\nexport class SubRecipeInfo extends React.Component<ISubRecipeInfoProps, object> {\n    private servingSizeAndYieldUnitDropdownOptions : OptionsAndLabelNameTuples;\n\n    constructor(props : ISubRecipeInfoProps) {\n        super(props);\n\n        this.servingSizeAndYieldUnitDropdownOptions = CreateOrEditSalesItemFormUtils.getServingSizeAndYieldDropdownOptions();\n    }\n\n    public render() {\n        const {\n            salesItemCostOnForm,\n            salesItemPriceOnForm,\n        } = this.props;\n\n        const validationInputDataByFieldName = this.props.salesItemForm.ingredientForm;\n\n        const yieldUnitSelectedOption = this.servingSizeAndYieldUnitDropdownOptions[0][1].find((option) => {\n            return validationInputDataByFieldName.yieldUnit.value === option.value;\n        }) || null;\n        const servingSizeUnitSelectedOption = this.servingSizeAndYieldUnitDropdownOptions[0][1].find((option) => {\n            return validationInputDataByFieldName.servingSizeUnit.value === option.value;\n        }) || null;\n\n        let salesItemCostPerServing : number | null = null;\n        let salesItemPricePerServing : number | null = null;\n        const salesCostOnFormIsValid = salesItemCostOnForm !== NOT_CALCULABLE_FIELD_VALUE;\n        const yieldAndServingSizeFieldsAreValid =\n            validationInputDataByFieldName.yieldAmount.isValid &&\n            validationInputDataByFieldName.yieldUnit.isValid &&\n            validationInputDataByFieldName.servingSizeAmount.isValid &&\n            validationInputDataByFieldName.servingSizeUnit.isValid;\n\n        if (salesCostOnFormIsValid && yieldAndServingSizeFieldsAreValid) {\n            const yieldAmount = validationInputDataByFieldName.yieldAmount.value;\n            const yieldUnit = validationInputDataByFieldName.yieldUnit.value;\n            const servingSizeAmount = validationInputDataByFieldName.servingSizeAmount.value;\n            const servingSizeUnit = validationInputDataByFieldName.servingSizeUnit.value;\n\n            const yieldAndServingSizeFromForm = CreateOrEditSalesItemFormUtils.getYieldAndServingSizeInfoFromForm(yieldAmount, yieldUnit, servingSizeAmount, servingSizeUnit);\n\n            // ALB/CAS Note: This is not a great pattern to use but it's the most straightforward way to avoid breaking the page if two incompatible yield and serving size units are selected\n            try {\n                const servingsPerYield = SalesItemUtils.getServingsPerYield(yieldAndServingSizeFromForm.servingSize, yieldAndServingSizeFromForm.itemYield);\n                salesItemCostPerServing = parseFloat(salesItemCostOnForm) / servingsPerYield;\n                salesItemPricePerServing = parseFloat(salesItemPriceOnForm) / servingsPerYield;\n                if (isNaN(salesItemPricePerServing)) {\n                    salesItemPricePerServing = 0;\n                }\n            } catch (error) {\n                salesItemCostPerServing = null;\n                salesItemPricePerServing = null;\n            }\n        }\n\n        return (\n            <div className=\"sub-recipe-info sales-item-form-subsection\">\n                <div className=\"yield-and-serving-size\">\n                    <div className=\"yield\">\n                        <div className=\"label\">Yield</div>\n                        <div className=\"yield-and-serving-size-input-fields input-group\">\n                            <ValidationInput\n                                theme={ ValidationInputTheme.Basic }\n                                type=\"text\"\n                                step=\"any\"\n                                label={ null }\n                                hintText=\"\"\n                                value={ validationInputDataByFieldName.yieldAmount.value }\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                isValid={ validationInputDataByFieldName.yieldAmount.isValid }\n                                isDisabled={ false }\n                                errorMessage={ validationInputDataByFieldName.yieldAmount.errorMessage }\n                                inputClassName=\"\"\n                                handleEnterClick={ null }\n                                handleChange={ this.onYieldAmountChange }\n                                handleBlur={ null }\n                                handleFocus={ null }\n                            />\n                            <Select2DropdownMenu\n                                theme={ Select2DropdownMenuTheme.Basic }\n                                onOptionSelect={ this.handleOnSelectYieldUnit }\n                                sortedOptionsAndLabelName={ this.servingSizeAndYieldUnitDropdownOptions }\n                                selectedOption={ yieldUnitSelectedOption }\n                                placeholderText=\"Select Unit\"\n                                hasCreateCustomOption={ false }\n                                createCustomOption={ null }\n                                buttonShouldDisplaySelectedLabel={ true }\n                                emptyState={ null }\n                                isSearchable={ false }\n                                selectedOptionHeaderShown={ false }\n                                customOptionGroupLabel={ null }\n                                createCustomOptionButtonLabel={ null }\n                            />\n                            { !validationInputDataByFieldName.yieldUnit.isValid &&\n                                <div className=\"error-text\">\n                                    { validationInputDataByFieldName.yieldUnit.errorMessage }\n                                </div>\n                            }\n                        </div>\n                    </div>\n                    <div className=\"serving-size\">\n                        <div className=\"label\">Serving Size</div>\n                        <div className=\"yield-and-serving-size-input-fields input-group\">\n                            <ValidationInput\n                                theme={ ValidationInputTheme.Basic }\n                                type=\"text\"\n                                step=\"any\"\n                                label={ null }\n                                hintText=\"\"\n                                value={ validationInputDataByFieldName.servingSizeAmount.value }\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                isValid={ validationInputDataByFieldName.servingSizeAmount.isValid }\n                                isDisabled={ false }\n                                errorMessage={ validationInputDataByFieldName.yieldAmount.errorMessage }\n                                inputClassName=\"\"\n                                handleEnterClick={ null }\n                                handleChange={ this.onServingSizeAmountChange }\n                                handleBlur={ null }\n                                handleFocus={ null }\n                            />\n                            <Select2DropdownMenu\n                                theme={ Select2DropdownMenuTheme.Basic }\n                                onOptionSelect={ this.handleOnSelectServingSizeUnit }\n                                sortedOptionsAndLabelName={ this.servingSizeAndYieldUnitDropdownOptions }\n                                selectedOption={ servingSizeUnitSelectedOption }\n                                placeholderText=\"Select Unit\"\n                                hasCreateCustomOption={ false }\n                                createCustomOption={ null }\n                                buttonShouldDisplaySelectedLabel={ true }\n                                emptyState={ null }\n                                isSearchable={ false }\n                                selectedOptionHeaderShown={ false }\n                                customOptionGroupLabel={ null }\n                                createCustomOptionButtonLabel={ null }\n                            />\n                            { !validationInputDataByFieldName.servingSizeUnit.isValid &&\n                                <div className=\"error-text\">\n                                    { validationInputDataByFieldName.servingSizeUnit.errorMessage }\n                                </div>\n                            }\n                        </div>\n                    </div>\n                    <small>\n                        Cost per serving: { FormatMonetaryValueWithCents(salesItemCostPerServing) }\n                    </small>\n                    <small>\n                        Price per serving: { FormatMonetaryValueWithCents(salesItemPricePerServing) }\n                    </small>\n                </div>\n            </div>\n        );\n    }\n    private readonly onYieldAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onIngredientInfoFormFieldChange('yieldAmount', event.currentTarget.value);\n    }\n\n    private readonly handleOnSelectYieldUnit = (selectedUnitValue : string) => {\n        this.props.onIngredientInfoFormFieldChange('yieldUnit', selectedUnitValue);\n    }\n\n    private readonly onServingSizeAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onIngredientInfoFormFieldChange('servingSizeAmount', event.currentTarget.value);\n    }\n\n    private readonly handleOnSelectServingSizeUnit = (selectedUnitValue : string) => {\n        this.props.onIngredientInfoFormFieldChange('servingSizeUnit', selectedUnitValue);\n    }\n}\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\n\nimport { Button } from 'shared/components/Button';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { SearchBarTheme } from 'shared/components/SearchBar/SearchBar';\nimport { Select2DropdownMenuTheme } from 'shared/components/Select2Dropdown/GenericSelect2DropdownMenu';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput, ValidationInputTheme } from 'shared/components/ValidationInput';\n\nimport { AddedIngredients } from './AddedIngredients';\nimport { IngredientSearchBar } from './IngredientsSearchBar';\nimport { SubRecipeInfo } from './SubRecipeInfo';\n\nimport {\n    IngredientFormFieldName,\n    ISalesItemForm,\n    ISalesItemFormData,\n    ProductIngredientRowFormFieldName,\n    SalesInformationFormFieldName,\n    SalesItemIngredientRowFormFieldName\n} from '../reducers/reducers';\n\nimport { getCachedSalesItemCostsForIds } from 'apps/SalesItemManager/utils/CachedSalesItemCostUtils';\n\nimport { MIN_TABLET_WIDTH } from 'shared/constants';\n\nimport '../css/IngredientInfo.scss';\n\ninterface IIngredientInfoProps {\n    salesItemForm : ISalesItemForm;\n    salesItemFormData : ISalesItemFormData;\n    onIngredientInfoFormFieldChange : (fieldName : IngredientFormFieldName, value : string) => void;\n    onProductRowFormFieldChange : (productId : ProductId, formField : ProductIngredientRowFormFieldName, value : string) => void;\n    onProductRowFormFieldBlur : (productId : ProductId, formField : ProductIngredientRowFormFieldName, value : string) => void;\n    onSalesItemRowFormFieldChange : (salesItemId : SalesItemId, formField : SalesItemIngredientRowFormFieldName, value : string) => void;\n    onSalesItemRowFormFieldBlur : (salesItemId : SalesItemId, formField : SalesItemIngredientRowFormFieldName, value : string) => void;\n    onAddIngredient : () => void;\n    handleOnRemoveIngredientClick : (ingredientId : ProductId | SalesItemId) => void;\n    productsById : StringValueMap<ProductId, Product>;\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    setSearchTerm : (searchTerm : string | null) => void;\n    setHighlightedIngredientId : (searchSuggestion : ProductId | SalesItemId | null) => void;\n    ingredientSearchBarDropdownIsShown : boolean;\n    setIngredientDropdownIsShown : (isShown : boolean) => void;\n    slimProductCreateIsShown : boolean;\n    createNewSalesItemFieldsAreShown : boolean;\n    setSlimCreateIsShown : (isShown : boolean) => void;\n    setCreateNewSalesItemFieldsAreShown : (isShown : boolean) => void;\n    onSelectIngredient : (ingredientId : ProductId | SalesItemId | null) => void;\n    onSlimCreate : (productId : ProductId) => void;\n    popoverIngredientIdIsShown : (ingredientId : ProductId | SalesItemId, isShown : boolean) => void;\n    onProductInfoFullDetailsClick : ((ingredientId : ProductId) => void) | null;\n    popoverIngredientIds : StringValueSet<ProductId | SalesItemId>;\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>;\n    salesItemCostOnForm : string;\n    onSalesInformationFormFieldChange : (fieldName : SalesInformationFormFieldName, value : string) => void;\n    onSalesInformationFormFieldBlur : (fieldName : SalesInformationFormFieldName, value : string) => void;\n    subRecipeInfoFieldsAreShown : boolean;\n    showOrHideSubRecipeInfoFields : () => void;\n    showIngredientPriceInDropdown : boolean;\n    showProTipForEmptyIngredients : boolean;\n    isItemMapping : boolean;\n}\n\nexport class IngredientInfo extends React.Component<IIngredientInfoProps, object> {\n    public render() {\n        const {\n            salesItemForm,\n            salesItemFormData,\n            onAddIngredient,\n            handleOnRemoveIngredientClick,\n            productsById,\n            salesItemsById,\n            onIngredientInfoFormFieldChange,\n            onProductRowFormFieldChange,\n            onProductRowFormFieldBlur,\n            onSalesItemRowFormFieldChange,\n            onSalesItemRowFormFieldBlur,\n            setSearchTerm,\n            setHighlightedIngredientId,\n            ingredientSearchBarDropdownIsShown,\n            setIngredientDropdownIsShown,\n            slimProductCreateIsShown,\n            setSlimCreateIsShown,\n            onSelectIngredient,\n            onSlimCreate,\n            createNewSalesItemFieldsAreShown,\n            setCreateNewSalesItemFieldsAreShown,\n            popoverIngredientIdIsShown,\n            onProductInfoFullDetailsClick,\n            popoverIngredientIds,\n            productCostsByProductId,\n            subRecipeInfoFieldsAreShown,\n            showOrHideSubRecipeInfoFields,\n            showIngredientPriceInDropdown,\n            showProTipForEmptyIngredients,\n            isItemMapping\n        } = this.props;\n        const {\n            orderedIngredientItems,\n            productIngredientItemsById,\n            salesItemIngredientItemsById,\n        } = this.props.salesItemForm;\n\n        const ingredientValidationInputDataByFieldName = this.props.salesItemForm.ingredientForm;\n\n        const {\n            selectedIngredientId,\n            labelNamesAndSortedSalesItemIdsToDisplay,\n            labelNamesAndSortedProductIdsToDisplay,\n            searchBar,\n            highlightedIngredientId,\n        } = this.props.salesItemForm.ingredientSearchBar;\n\n        const isPlural = parseFloat(ingredientValidationInputDataByFieldName.ingredientQuantityAmount.value) !== 1;\n        const productIsSelected = (selectedIngredientId instanceof ProductId);\n\n        let unitsForDropdown : OptionsAndLabelNameTuples = [[null, []]];\n        let ingredientQuantityUnitSelectedOption : IOption | null = null;\n        let selectedItemName : string = '';\n        if (selectedIngredientId !== null) {\n            if (selectedIngredientId instanceof ProductId) {\n                const product = productsById.get(selectedIngredientId);\n\n                if (typeof product !== 'undefined') {\n                    unitsForDropdown = PackagingUtils.getAvailableUnitOptionsAndLabelNames(product.getPackagingsAndMappings(), true);\n                    selectedItemName = `${ product.getBrand() } ${ product.getName() }`.trim();\n                }\n            } else if (selectedIngredientId instanceof SalesItemId) {\n                const salesItem = salesItemsById.get(selectedIngredientId);\n                if (typeof salesItem !== 'undefined') {\n                    selectedItemName = salesItem.getSalesItem().getName();\n                }\n            }\n\n            if (ingredientValidationInputDataByFieldName.ingredientQuantityUnit.value) {\n                unitsForDropdown.forEach((unitOptionsAndLabelName) => {\n                    unitOptionsAndLabelName[1].forEach((unitOption : IOption) => {\n                        if (unitOption.value === ingredientValidationInputDataByFieldName.ingredientQuantityUnit.value) {\n                            ingredientQuantityUnitSelectedOption = unitOption;\n                        }\n                    });\n                });\n            }\n        }\n\n        let addItemButtonIsDisabled : boolean;\n        if (productIsSelected) {\n           addItemButtonIsDisabled = ingredientQuantityUnitSelectedOption === null || !ingredientValidationInputDataByFieldName.ingredientQuantityAmount.isValid;\n        } else {\n           addItemButtonIsDisabled = !ingredientValidationInputDataByFieldName.ingredientQuantityAmount.isValid;\n        }\n\n        const subrecipeCostsById = getCachedSalesItemCostsForIds(\n            new StringValueSet(Array.from(salesItemForm.salesItemIngredientItemsById.keys())),\n            salesItemFormData.salesItemsById,\n            salesItemFormData.productsById,\n            salesItemFormData.productCostsByProductId\n        );\n\n        let selectedItemPackagingInfo : string | null = null;\n        if (selectedIngredientId !== null) {\n            if (selectedIngredientId instanceof ProductId) {\n                const product = productsById.getRequired(selectedIngredientId);\n                selectedItemPackagingInfo = oldPackagingUtils.getDisplayTextForPackaging(product.getOldPackaging(), true);\n            } else if (selectedIngredientId instanceof SalesItemId) {\n                const subrecipeSalesItem = salesItemsById.getRequired(selectedIngredientId).getSalesItem();\n                const subrecipeServingSize = subrecipeSalesItem.getServingSize().getQuantity();\n                const subrecipeServingSizeUnit = subrecipeSalesItem.getServingSize().getUnit() ? subrecipeSalesItem.getServingSize().getUnit() : subrecipeSalesItem.getSalesItemCustomUnitName();\n                selectedItemPackagingInfo = `Serving Size: ${ subrecipeServingSize } ${ subrecipeServingSizeUnit }`;\n            }\n        }\n\n        return (\n            <div className=\"ingredient-info-container sales-item-form-section\">\n                <div className={ isItemMapping ? 'sales-item-form-subsection add-ingredient-container mapped-add-ingredient-container' : 'sales-item-form-subsection add-ingredient-container' }>\n                    <div className=\"add-ingredient-dropdown\">\n                        <div className=\"label\">Add ingredients</div>\n                        <Flex direction=\"row\">\n                            <IngredientSearchBar\n                                productsById={ productsById }\n                                salesItemsById={ salesItemsById }\n                                searchBarPlaceholderText=\"Enter ingredient name\"\n                                searchBarTheme={ SearchBarTheme.Basic }\n                                labelNamesAndSortedSalesItemIdsToDisplay={ labelNamesAndSortedSalesItemIdsToDisplay }\n                                labelNamesAndSortedProductIdsToDisplay={ labelNamesAndSortedProductIdsToDisplay }\n                                searchBar={ searchBar }\n                                setSearchTerm={ setSearchTerm }\n                                highlightedIngredientId={ highlightedIngredientId }\n                                setHighlightedIngredientId={ setHighlightedIngredientId }\n                                dropdownIsShown={ ingredientSearchBarDropdownIsShown }\n                                setIngredientDropdownIsShown={ setIngredientDropdownIsShown }\n                                slimProductCreateIsShown={ slimProductCreateIsShown }\n                                setSlimCreateIsShown={ setSlimCreateIsShown }\n                                onSelectIngredient={ onSelectIngredient }\n                                onSlimCreate={ onSlimCreate }\n                                createNewSalesItemFieldsAreShown={ createNewSalesItemFieldsAreShown }\n                                setCreateNewSalesItemFieldsAreShown={ setCreateNewSalesItemFieldsAreShown }\n                                validationInputDataByFieldName={ ingredientValidationInputDataByFieldName }\n                                onIngredientInfoFormFieldChange={ onIngredientInfoFormFieldChange }\n                                showIngredientProductPrice={ showIngredientPriceInDropdown }\n                                productCostsByProductId={ productCostsByProductId }\n                            />\n                            { showProTipForEmptyIngredients && orderedIngredientItems.length === 0 && (\n                                // TODO - Create pro-tip component\n                                <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                                    <div className=\"pro-tip-row\">\n                                        <span className=\"dark pro-tip-ribbon secondary-bold\">\n                                            <div>Pro</div>\n                                            <div>Tip</div>\n                                        </span>\n                                        <em>Add ingredients to map this item and see cost information.</em>\n                                    </div>\n                                </MediaQuery>\n                            ) }\n                        </Flex>\n                    </div>\n                    { selectedIngredientId !== null &&\n                        <div className=\"add-ingredient-name-container\">\n                            <div className=\"label\">Selected Item:</div>\n                            <span className=\"add-ingredient-name\">{ selectedItemName }</span>\n                        </div>\n                    }\n                    { (selectedIngredientId !== null || createNewSalesItemFieldsAreShown) &&\n                        <React.Fragment>\n                            <div className=\"add-ingredient-quantity\">\n                                <div className=\"label\">Ingredient quantity</div>\n                                <div className=\"ingredient-quantity-input-group input-group\">\n                                    <ValidationInput\n                                        theme={ ValidationInputTheme.Basic }\n                                        type=\"text\"\n                                        step=\"any\"\n                                        label={ null }\n                                        hintText=\"\"\n                                        value={ ingredientValidationInputDataByFieldName.ingredientQuantityAmount.value }\n                                        autoFocus={ true }\n                                        autoComplete={ null }\n                                        isValid={ ingredientValidationInputDataByFieldName.ingredientQuantityAmount.isValid }\n                                        isDisabled={ false }\n                                        errorMessage={ ingredientValidationInputDataByFieldName.ingredientQuantityAmount.errorMessage }\n                                        inputClassName=\"\"\n                                        handleEnterClick={ this.doNothing }\n                                        handleChange={ this.onIngredientQuantityAmountChange }\n                                        handleBlur={ this.doNothing }\n                                        handleFocus={ this.doNothing }\n                                    />\n                                    { productIsSelected &&\n                                        <Select2DropdownMenu\n                                            theme={ Select2DropdownMenuTheme.Basic }\n                                            onOptionSelect={ this.handleOnSelectIngredientQuantityUnit }\n                                            sortedOptionsAndLabelName={ unitsForDropdown }\n                                            selectedOption={ ingredientQuantityUnitSelectedOption }\n                                            placeholderText=\"Select Unit\"\n                                            hasCreateCustomOption={ false }\n                                            createCustomOption={ null }\n                                            buttonShouldDisplaySelectedLabel={ true }\n                                            emptyState={ null }\n                                            isSearchable={ false }\n                                            selectedOptionHeaderShown={ false }\n                                            customOptionGroupLabel={ null }\n                                            createCustomOptionButtonLabel={ null }\n                                        />\n                                    }\n                                    { !productIsSelected &&\n                                        <div className=\"static-unit-label\">Serving{ isPlural ? 's' : '' }</div>\n                                    }\n                                    <small className=\"info-label add-ingredient-packaging-info\">{ selectedItemPackagingInfo }</small>\n                                </div>\n                            </div>\n                            <Button\n                                buttonClassName=\"full-width large emphasis\"\n                                isDisabled={ addItemButtonIsDisabled }\n                                isLoading={ false }\n                                onClick={ onAddIngredient }\n                            >\n                                Add Ingredient\n                            </Button>\n                        </React.Fragment>\n                    }\n                </div>\n\n                <div className=\"sales-item-form-subsection ingredient-list-container\">\n                    { isItemMapping && orderedIngredientItems.length === 0  &&\n                        <div className=\"ingredient-list-empty-state\">\n                            <p className=\"instructions text-center\">Add ingredients above to map this item</p>\n                        </div>\n                    }\n                    { !isItemMapping && orderedIngredientItems.length === 0  &&\n                        <div className=\"ingredient-list-empty-state\">\n                            <p className=\"instructions text-center\">Add ingredients above to build your recipe</p>\n                            <img className=\"ingredient-list-empty-state-illustrations\" src=\"/static/img/sales/recipe-card.svg\"/>\n                        </div>\n                    }\n                    { orderedIngredientItems.length > 0 &&\n                        <AddedIngredients\n                            handleOnRemoveIngredientClick={ handleOnRemoveIngredientClick }\n                            orderedIngredientItems={ orderedIngredientItems }\n                            productsById={ productsById }\n                            salesItemsById={ salesItemsById }\n                            productIngredientItemsById={ productIngredientItemsById }\n                            salesItemIngredientItemsById={ salesItemIngredientItemsById }\n                            onProductRowFormFieldChange={ onProductRowFormFieldChange }\n                            onProductFormFieldBlur={ onProductRowFormFieldBlur }\n                            onSalesItemRowFormFieldChange={ onSalesItemRowFormFieldChange }\n                            onSalesItemRowFormFieldBlur={ onSalesItemRowFormFieldBlur }\n                            costByProductId={ salesItemFormData.productCostsByProductId }\n                            subrecipeCostsById={ subrecipeCostsById }\n                            popoverIngredientIdIsShown={ popoverIngredientIdIsShown }\n                            onProductInfoFullDetailsClick={ onProductInfoFullDetailsClick }\n                            popoverIngredientIds={ popoverIngredientIds }\n                            productCostsByProductId={ productCostsByProductId }\n                            activeProductIds={ salesItemFormData.activeProductIds }\n                            deletedProductIds={ salesItemFormData.deletedProductIds }\n                        />\n                    }\n                    <div>\n                        <Button\n                            buttonClassName=\"show-yield-serving-size-btn primary flat link medium\"\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ showOrHideSubRecipeInfoFields }\n                        >\n                            { subRecipeInfoFieldsAreShown ? 'Hide' : 'Show' } yield and serving size options\n                        </Button>\n                    </div>\n                </div>\n                { subRecipeInfoFieldsAreShown &&\n                    <SubRecipeInfo\n                        salesItemForm={ salesItemForm }\n                        salesItemFormData={ salesItemFormData }\n                        onIngredientInfoFormFieldChange={ onIngredientInfoFormFieldChange }\n                        salesItemCostOnForm={ salesItemForm.salesInformationForm.totalCost.value }\n                        salesItemPriceOnForm={ salesItemForm.salesInformationForm.salesPrice.value }\n                    />\n                }\n            </div>\n        );\n    }\n\n    private readonly doNothing = () => {\n        // doing nothing on purpose\n    }\n\n    private readonly onIngredientQuantityAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onIngredientInfoFormFieldChange('ingredientQuantityAmount', event.currentTarget.value);\n    }\n\n    private readonly handleOnSelectIngredientQuantityUnit = (selectedUnitValue : string) => {\n        this.props.onIngredientInfoFormFieldChange('ingredientQuantityUnit', selectedUnitValue);\n    }\n}\n","import React from 'react';\n\nimport { Button } from 'shared/components/Button';\n\nexport interface ISalesItemFlagAlertProps {\n    selectedFlagValue : string | null;\n    onMarkAsResolvedClick : () => void;\n}\n\nexport class SalesItemFlagAlert extends React.Component<ISalesItemFlagAlertProps, object> {\n    public render() {\n        const {\n            selectedFlagValue,\n            onMarkAsResolvedClick,\n        } = this.props;\n\n        return (\n            <div className=\"sales-item-form-section sales-item-flag-alert\">\n                <div className=\"flex-text-with-icon middle\">\n                    <span className=\"bevicon bevico-flag icon-left\"/>\n                    <span>{ selectedFlagValue }</span>\n                </div>\n                <Button\n                    buttonClassName=\"primary medium\"\n                    isDisabled={ false }\n                    isLoading={ false }\n                    onClick={ onMarkAsResolvedClick }\n                >\n                    Mark as resolved\n                </Button>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu, } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\n\nexport interface ISalesItemFlagSelectorProps {\n    selectedFlagValue : string | null;\n    onFlagChange : (flagValue : string | null) => void;\n}\n\nexport const availableSalesItemFlags : Array<string> = [\n    'Needs Confirmation',\n    'Highest Priority',\n    'Save for CS Rep',\n    'Confirm Serving Size',\n    'Needs Recipe/Ingredients',\n    'Recipe Needs Specific Product',\n    'Pricing Issues',\n    'Product Not in Inventory',\n    'Ingredients Deleted',\n    'Ingredients Archived',\n    'Multiple of Same Product',\n    'Non-Alch/Not in Inventory',\n    'Upcharge Modifier',\n    'No Price Modifier',\n    'Other'\n];\nconst availbleFlagsAsOptions : Array<IOption> = availableSalesItemFlags.map((value) => {\n    return {\n        icon: null,\n        label: value,\n        value\n    };\n});\n\nexport class SalesItemFlagSelector extends React.Component<ISalesItemFlagSelectorProps, object> {\n    private readonly sortedOptionsAndLabelName : OptionsAndLabelNameTuples = [[null, [\n        {\n            icon: null,\n            label: 'Not Flagged',\n            value: '', // this would ideally be null, but need to discuss\n        },\n        ...availbleFlagsAsOptions\n    ]]];\n\n    public render() {\n        const {\n            selectedFlagValue\n        } = this.props;\n\n        const selectedOption = selectedFlagValue === null ? null : {\n            icon: null,\n            label: selectedFlagValue,\n            value: selectedFlagValue,\n        };\n\n        return (\n            <div className=\"sales-item-form-section sales-item-flag-selector\">\n                <div className=\"label\">\n                    CS Flag Status:\n                </div>\n                <Select2DropdownMenu\n                    onOptionSelect={ this.handleOnFlagChange }\n                    sortedOptionsAndLabelName={ this.sortedOptionsAndLabelName }\n                    selectedOption={ selectedOption }\n                    placeholderText=\"Not Flagged\"\n                    hasCreateCustomOption={ false }\n                    createCustomOption={ null }\n                    buttonShouldDisplaySelectedLabel={ true }\n                    emptyState={ null }\n                    isSearchable={ false }\n                    selectedOptionHeaderShown={ false }\n                    customOptionGroupLabel={ null }\n                    createCustomOptionButtonLabel={ null }\n                />\n            </div>\n        );\n    }\n\n    private readonly handleOnFlagChange = (selectedFlag : string | null) => {\n        this.props.onFlagChange(selectedFlag === '' ? null : selectedFlag); // would ideally not need to account for ''\n    }\n}\n","import React from 'react';\n\nimport { Button } from 'shared/components/Button';\nimport { Dialog } from 'shared/components/Dialog';\nimport { IModalButton } from 'shared/models/Modal';\n\nexport interface IUnsavedChangesDialogProps {\n    readonly saveDisabled : boolean;\n    readonly onSaveAndContinueClick : () => void;\n    readonly onNavigateWithoutSavingClick : () => void;\n    readonly onCancelClick : () => void;\n}\n\n// this is very similar to a dialog on order detail, but the copy is a little different (this one is more generic?)\n// can we make this a shared component and have order detail use this one?\nexport class UnsavedChangesDialog extends React.Component<IUnsavedChangesDialogProps, object> {\n    public render() {\n        const {\n            saveDisabled,\n            onSaveAndContinueClick,\n            onNavigateWithoutSavingClick,\n            onCancelClick,\n        } = this.props;\n\n        const buttons : Array<IModalButton> = [\n            {\n                onClick: onNavigateWithoutSavingClick,\n                classes: 'flat',\n                isDisabled: false,\n                isLoading: false,\n                children: 'Discard Changes',\n            },\n            {\n                onClick: onSaveAndContinueClick,\n                classes: 'flat primary',\n                isDisabled: saveDisabled,\n                isLoading: false,\n                children: 'Save',\n            },\n        ];\n\n        return (\n            <Dialog\n                className=\"unsaved-changes-dialog\"\n                buttons={ buttons }\n                headerText={\n                    <span>\n                        <span>Wait! You have unsaved changes.</span>\n                        <Button\n                            buttonClassName=\"bevicon bevico-close close-dialog flat\"\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ onCancelClick }\n                        />\n                    </span>\n                }\n            >\n                <p>\n                    You have entered new data on this page. If you navigate away without saving, your changes will be lost.\n                </p>\n            </Dialog>\n        );\n    }\n}\n","import { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { Action } from '@reduxjs/toolkit';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { DefaultPour } from 'api/Location/interfaces/ILocationSettingsService';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\n\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\nimport { PosItem } from 'api/SalesData/model/PosItem';\nimport { SalesInputRowId } from 'shared/components/SalesInputTable/SalesInputRow';\nimport { CreateOrEditSalesItemActionInterfaces, CreateOrEditSalesItemActionTypes } from '../actions/actions';\n\nconst DEFAULT_MENU_GROUPS = ['']; // TODO: make this real\nexport const DEFAULT_MENU_GROUP_OPTIONS = DEFAULT_MENU_GROUPS.map((optionValue) => {\n    return {\n        value: optionValue,\n        icon: null,\n        label: optionValue,\n    };\n});\n\nexport interface IPmixItemInformation {\n    posItem : PosItem;\n    salesEntry : SalesEntry;\n}\n\nexport type IngredientType = 'salesItem' | 'product';\n\nexport type ComponentName = 'salesItemInformation' | 'saveIsDisabled' | 'saveInProgress' | 'ingredientRow' |\n'flaggedSalesItemAlert' | 'linkedSalesItemInfo' | 'excludedSalesItemAlert' | 'unsavedChangesModal' | 'applyChangesModal' | 'miscellaneousCost' | 'salesPriceAndTaxHintPopover' | 'ingredientSearchBarDropdown' |\n'searchBarSlimCreate' | 'createNewSalesItemFields' | 'ingredientInfoPopover' | 'onSaveSnackBar' | 'linkedItemsPopover' | 'subRecipeInfo' | 'shortcutPopover' |\n'doNotAskForSaveOptionsAgain' | 'omitItemConfirmationDialog';\n\nexport type SalesItemFormFieldName = 'salesItemName' | 'menuGroup' | 'posId' | 'note';\n\n// TODO: `ingredientSearch` might not be used now that we have the <IngredientSearchBar/>\nexport const slimCreateSalesItemFormFieldNames = new Set(['newSalesItemName', 'newSalesItemYieldAmount', 'newSalesItemYieldUnit', 'newSalesItemServingSizeAmount', 'newSalesItemServingSizeUnit']);\nexport type SlimCreateSalesItemFormFieldName = 'newSalesItemName' | 'newSalesItemYieldAmount' | 'newSalesItemYieldUnit' | 'newSalesItemServingSizeAmount' | 'newSalesItemServingSizeUnit';\nexport type IngredientFormFieldName = 'ingredientQuantityAmount' | 'ingredientQuantityUnit' | 'yieldAmount' | 'yieldUnit' | 'servingSizeAmount' | 'servingSizeUnit' | SlimCreateSalesItemFormFieldName;\n\nexport type SalesInformationFormFieldName = 'salesPrice' | 'costPercentage' | 'salesProfit' | 'totalCost' | 'priceAndTax' | 'miscCost';\n\nexport type SalesItemFormValidationByFieldName = { [fieldName in SalesItemFormFieldName] : IValidationInputData };\n\nexport type IngredientFormValidationByFieldName = { [fieldName in IngredientFormFieldName] : IValidationInputData };\n\nexport type SalesInformationFormValidationByFieldName = { [fieldName in SalesInformationFormFieldName] : IValidationInputData };\n\nexport interface IProductAndSalesItemSearchBar {\n    selectedIngredientId : ProductId | SalesItemId | null;\n    searchBar : ISearchBarState;\n    highlightedIngredientId : ProductId | SalesItemId | null;\n    labelNamesAndSortedProductIdsToDisplay : Array<[string, Array<ProductId>]>;\n    labelNamesAndSortedSalesItemIdsToDisplay : Array<[string, Array<SalesItemId>]>;\n}\n\nexport type ProductIngredientRowFormFieldName = 'quantity' | 'unit';\nexport type ProductIngredientRowInfoByFormFieldName = Record<ProductIngredientRowFormFieldName, IValidationInputData>;\nexport interface IProductIngredientRowInfo {\n    ingredientId : ProductId;\n    formInfo : ProductIngredientRowInfoByFormFieldName;\n}\n\nexport type SalesItemIngredientRowFormFieldName = 'quantity';\nexport type SalesItemIngredientRowInfoByFormFieldName = Record<SalesItemIngredientRowFormFieldName, IValidationInputData>;\nexport interface ISalesItemIngredientRowInfo {\n    ingredientId : SalesItemId;\n    formInfo : SalesItemIngredientRowInfoByFormFieldName;\n}\n\nexport interface ISalesItemForm {\n    // TODO: cleanup based on what we do and don't need form validation on?\n    salesItemInfoForm : SalesItemFormValidationByFieldName;\n    ingredientForm : IngredientFormValidationByFieldName;\n    salesInformationForm : SalesInformationFormValidationByFieldName;\n\n    lastEditedMetadata : UserAccountIdAndTimestamp | null;\n    selectedNeedsAttentionCategory : string | null;\n\n    menuGroupOptions : Array<IOption>;\n    ingredientSearchBar : IProductAndSalesItemSearchBar;\n    orderedIngredientItems : Array<ProductId | SalesItemId>;\n    productIngredientItemsById : StringValueMap<ProductId, IProductIngredientRowInfo>;\n    salesItemIngredientItemsById : StringValueMap<SalesItemId, ISalesItemIngredientRowInfo>;\n}\n\nexport interface ISalesItemFormData {\n    productsById : StringValueMap<ProductId, Product>;\n    categoriesById : StringValueMap<CategoryId, Category>;\n    activeProductIds : StringValueSet<ProductId>; // NOTE: not sure if we need this yet but saw it in prep event and item card reducers so maybe worth adding?\n    deletedProductIds : StringValueSet<ProductId>;\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    productCostsByProductId : StringValueMap<ProductId, ProductCost>;\n    retailerTaxPercentage : number | null;\n    defaultPourByProductCategory : DefaultPour | null;\n    currentUserAccountId : UserAccountId;\n    namesByUserAccountId : StringValueMap<UserAccountId, { firstName : string, lastName : string }>;\n}\n\nexport enum SalesItemSaveOption {\n    ALL_REPORTS = 'ALL_REPORTS',\n    SINGLE_REPORT = 'SINGLE_REPORT',\n    THIS_AND_FUTURE_REPORTS = 'THIS_AND_FUTURE_REPORTS'\n}\n\nexport interface ICreateOrEditSalesItemState {\n    salesItemId : SalesInputRowId | null;\n\n    salesItemForm : ISalesItemForm;\n    salesItemFormData : ISalesItemFormData | null;\n    linkedItems : StringValueSet<SalesItemId>;\n\n    // Products created or edited inline since the modal was opened. Forwarded to the save\n    // callback so host apps (ProfitReport, SalesItemManager, SalesItemMapper) can refetch\n    // any sales items they hold whose stored unit references the backend rewrote.\n    editedProductIds : StringValueSet<ProductId>;\n\n    isShownByComponentName : { [componentName in ComponentName] : boolean };\n    popoverIngredientIdIsShown : StringValueSet<ProductId | SalesItemId>;\n    // saving\n    selectedSaveOption : SalesItemSaveOption;\n    idToGoToAfterSave : SalesInputRowId | null;\n\n    // these are optimizations so we don't have to look through the entire context array multiple times\n    previousSalesItemId : SalesInputRowId | null;\n    nextSalesItemId : SalesInputRowId | null;\n\n    // pdf rendering\n    salesItemImageUploadUrl : string | null;\n}\n\nconst ingredientSearchBarInitialState : IProductAndSalesItemSearchBar = {\n    selectedIngredientId: null,\n    searchBar: {\n        searchTerm: null,\n        isDisabled: false,\n        isFocused: false,\n    },\n    highlightedIngredientId: null,\n    labelNamesAndSortedProductIdsToDisplay: [],\n    labelNamesAndSortedSalesItemIdsToDisplay: [],\n};\n\nconst salesItemInfoFormInitialState = {\n    salesItemName: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    menuGroup: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    posId: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    note: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n};\n\n// should units have initial value?\nexport const DEFAULT_SERVING_AND_YIELD_UNIT = 'Serving';\nexport const DEFAULT_SERVING_AND_YIELD_AMOUNT = '1.00';\nexport const ingredientFormInitialState = {\n    ingredientQuantityAmount: {\n        value: '1.00',\n        errorMessage: '',\n        isValid: true,\n    },\n    ingredientQuantityUnit: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    yieldAmount: {\n        value: DEFAULT_SERVING_AND_YIELD_AMOUNT,\n        errorMessage: '',\n        isValid: true,\n    },\n    yieldUnit: {\n        value: DEFAULT_SERVING_AND_YIELD_UNIT,\n        errorMessage: '',\n        isValid: true,\n    },\n    servingSizeAmount: {\n        value: DEFAULT_SERVING_AND_YIELD_AMOUNT,\n        errorMessage: '',\n        isValid: true,\n    },\n    servingSizeUnit: {\n        value: DEFAULT_SERVING_AND_YIELD_UNIT,\n        errorMessage: '',\n        isValid: true,\n    },\n    newSalesItemName: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    newSalesItemYieldAmount: {\n        value: DEFAULT_SERVING_AND_YIELD_AMOUNT,\n        errorMessage: '',\n        isValid: true,\n    },\n    newSalesItemYieldUnit: {\n        value: DEFAULT_SERVING_AND_YIELD_UNIT,\n        errorMessage: '',\n        isValid: true,\n    },\n    newSalesItemServingSizeAmount: {\n        value: DEFAULT_SERVING_AND_YIELD_AMOUNT,\n        errorMessage: '',\n        isValid: true,\n    },\n    newSalesItemServingSizeUnit: {\n        value: DEFAULT_SERVING_AND_YIELD_UNIT,\n        errorMessage: '',\n        isValid: true,\n    },\n};\n\nconst salesInformationFormInitialState = {\n    salesPrice: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    costPercentage: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    salesProfit: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    priceAndTax: {\n        value: '',\n        errorMessage: '',\n        isValid: true,\n    },\n    totalCost: {\n        value: '0.00',\n        errorMessage: '',\n        isValid: true,\n    },\n    miscCost: {\n        value: '0.00',\n        errorMessage: '',\n        isValid: true,\n    },\n};\n\nexport const initialState : ICreateOrEditSalesItemState = {\n    salesItemId: null,\n    salesItemForm: {\n        salesItemInfoForm: salesItemInfoFormInitialState,\n        ingredientForm: ingredientFormInitialState,\n        salesInformationForm: salesInformationFormInitialState,\n\n        lastEditedMetadata: null,\n        selectedNeedsAttentionCategory: null,\n        menuGroupOptions: DEFAULT_MENU_GROUP_OPTIONS,\n        ingredientSearchBar: ingredientSearchBarInitialState,\n        orderedIngredientItems: [],\n        productIngredientItemsById: new StringValueMap(),\n        salesItemIngredientItemsById: new StringValueMap(),\n    },\n    salesItemFormData: null,\n    linkedItems: new StringValueSet(),\n    editedProductIds: new StringValueSet(),\n\n    isShownByComponentName: {\n        salesItemInformation: false,\n        saveIsDisabled: true,\n        saveInProgress: false,\n        ingredientRow: false,\n        flaggedSalesItemAlert: false,\n        linkedSalesItemInfo: false,\n        excludedSalesItemAlert: false,\n        unsavedChangesModal: false,\n        applyChangesModal: false,\n        miscellaneousCost: false,\n        salesPriceAndTaxHintPopover: false,\n        ingredientSearchBarDropdown: false,\n        searchBarSlimCreate: false,\n        createNewSalesItemFields: false,\n        ingredientInfoPopover: false,\n        linkedItemsPopover: false,\n        onSaveSnackBar: false,\n        subRecipeInfo: false,\n        shortcutPopover: false,\n        omitItemConfirmationDialog: false,\n        doNotAskForSaveOptionsAgain: false, // IMPORTANT: If this default ever changes to true must make sure that the dialog shows up the first time you try to save! Probably requires another boolean on the state (firstSave or something)\n    },\n    popoverIngredientIdIsShown: new StringValueSet(),\n\n    selectedSaveOption: SalesItemSaveOption.ALL_REPORTS,\n    idToGoToAfterSave: null,\n\n    previousSalesItemId: null,\n    nextSalesItemId: null,\n\n    salesItemImageUploadUrl: null,\n};\n\nconst reduceSetSalesItemId = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSalesItemId\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemId: action.payload.salesItemId,\n    };\n};\n\nconst reduceSetNeedsAttentionCategory = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetNeedsAttentionCategory\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            selectedNeedsAttentionCategory: action.payload.needsAttentionCategory\n        }\n    };\n};\n\nconst reduceSetSalesItemFormValidationByFieldName = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSalesItemFormValidationByFieldName\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            salesItemInfoForm: {\n                ...state.salesItemForm.salesItemInfoForm,\n                [action.payload.fieldName]: {\n                    value: action.payload.value,\n                    errorMessage: action.payload.errorMessage,\n                    isValid: action.payload.isValid,\n                },\n            },\n        },\n    };\n};\n\nconst reduceSetIngredientFormValidationByFieldName = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetIngredientFormValidationByFieldName\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            ingredientForm: {\n                ...state.salesItemForm.ingredientForm,\n                [action.payload.fieldName]: {\n                    value: action.payload.value,\n                    errorMessage: action.payload.errorMessage,\n                    isValid: action.payload.isValid,\n                },\n            }\n        },\n    };\n};\n\nconst reduceSetSalesItemFormData = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSalesItemFormData\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemFormData: action.payload.salesItemFormData\n    };\n};\n\nconst reduceSetLinkedItems = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetLinkedItems,\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        linkedItems: action.payload.linkedItems,\n    };\n};\n\nconst reduceAddEditedProductId = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.IAddEditedProductId,\n) : ICreateOrEditSalesItemState => {\n    const newEditedProductIds = new StringValueSet(state.editedProductIds);\n    newEditedProductIds.add(action.payload.productId);\n    return {\n        ...state,\n        editedProductIds: newEditedProductIds,\n    };\n};\n\nconst reduceClearEditedProductIds = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.IClearEditedProductIds,\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        editedProductIds: new StringValueSet(),\n    };\n};\n\nconst reduceSetComponentIsShown = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetComponentIsShown\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        isShownByComponentName: {\n            ...state.isShownByComponentName,\n            [action.payload.componentName]: action.payload.isShown,\n        },\n    };\n};\n\nconst reduceSetSelectedPopoverIngredientIds = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetPopoverIngredientIdIsShown\n) : ICreateOrEditSalesItemState => {\n    let newIngredientPopoverId : StringValueSet<ProductId | SalesItemId>;\n    if (action.payload.isShown) {\n        newIngredientPopoverId = new StringValueSet(action.payload.popoverIngredientIdIsShown);\n    } else {\n        newIngredientPopoverId = new StringValueSet();\n    }\n\n    return {\n        ...state,\n        popoverIngredientIdIsShown: newIngredientPopoverId,\n    };\n};\n\nconst reduceUpdateMenuGroup = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.IUpdateMenuGroup\n) : ICreateOrEditSalesItemState => {\n\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            salesItemInfoForm: {\n                ...state.salesItemForm.salesItemInfoForm,\n                menuGroup: {\n                    ...state.salesItemForm.salesItemInfoForm.menuGroup,\n                    value: action.payload.value,\n                },\n            }\n        }\n    };\n};\n\nconst reduceSetSalesItemForm = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSalesItemForm\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: action.payload.salesItemForm\n    };\n};\n\nconst generateNewOrderedIngredientItems = (\n    orderedIngredientItems : Array<ProductId | SalesItemId>,\n    ingredientId : ProductId | SalesItemId,\n    isRemoveIngredient : boolean\n) => {\n    const previousRowIndex = orderedIngredientItems.findIndex((existingIngredientId) => {\n        return existingIngredientId.equals(ingredientId);\n    });\n\n    const newOrderedIngredientItems = orderedIngredientItems.slice();\n\n    if (isRemoveIngredient) {\n        if (previousRowIndex !== -1) {\n            newOrderedIngredientItems.splice(previousRowIndex, 1);\n        }\n    } else {\n        if (previousRowIndex === -1) { // if not already in array, add to end\n            newOrderedIngredientItems.push(ingredientId);\n        } else {\n            newOrderedIngredientItems[previousRowIndex] = ingredientId;\n        }\n    }\n    return newOrderedIngredientItems;\n};\n\nconst reduceSetProductIngredientItemsRow = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetProductIngredientItemsRow\n) : ICreateOrEditSalesItemState => {\n    const orderedIngredientItems = generateNewOrderedIngredientItems(\n        state.salesItemForm.orderedIngredientItems,\n        action.payload.ingredientId,\n        action.payload.formInfo === null,\n    );\n    const productIngredientItemsById = new StringValueMap(state.salesItemForm.productIngredientItemsById);\n    if (action.payload.formInfo === null) {\n        productIngredientItemsById.delete(action.payload.ingredientId);\n    } else {\n        productIngredientItemsById.set(action.payload.ingredientId, {\n            ingredientId: action.payload.ingredientId,\n            formInfo: action.payload.formInfo\n        });\n    }\n\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            orderedIngredientItems,\n            productIngredientItemsById,\n        }\n    };\n};\n\nconst reduceSetSalesItemIngredientItemsRow = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSalesItemIngredientItemsRow\n) : ICreateOrEditSalesItemState => {\n    const orderedIngredientItems = generateNewOrderedIngredientItems(\n        state.salesItemForm.orderedIngredientItems,\n        action.payload.ingredientId,\n        action.payload.formInfo === null,\n    );\n\n    const salesItemIngredientItemsById = new StringValueMap(state.salesItemForm.salesItemIngredientItemsById);\n    if (action.payload.formInfo === null) {\n        salesItemIngredientItemsById.delete(action.payload.ingredientId);\n    } else {\n        salesItemIngredientItemsById.set(action.payload.ingredientId, {\n            ingredientId: action.payload.ingredientId,\n            formInfo: action.payload.formInfo\n        });\n    }\n\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            orderedIngredientItems,\n            salesItemIngredientItemsById,\n        }\n    };\n};\n\n// WIP - will find more things that need to be reset as this is used in practice.\nconst reduceResetSalesItemForm = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.IResetSalesItemForm\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        isShownByComponentName: {\n            ...state.isShownByComponentName,\n            createNewSalesItemFields: false,\n            saveIsDisabled: true,\n        },\n        salesItemId: null,\n        linkedItems: new StringValueSet(),\n        editedProductIds: new StringValueSet(),\n        salesItemForm: {\n            ...state.salesItemForm,\n\n            ingredientSearchBar: {\n                ...state.salesItemForm.ingredientSearchBar,\n                selectedIngredientId: null,\n            },\n\n            // reset to initial\n            salesItemInfoForm: initialState.salesItemForm.salesItemInfoForm,\n            ingredientForm: initialState.salesItemForm.ingredientForm,\n            salesInformationForm: initialState.salesItemForm.salesInformationForm,\n            lastEditedMetadata: initialState.salesItemForm.lastEditedMetadata,\n            selectedNeedsAttentionCategory: initialState.salesItemForm.selectedNeedsAttentionCategory,\n            orderedIngredientItems: initialState.salesItemForm.orderedIngredientItems,\n            productIngredientItemsById: initialState.salesItemForm.productIngredientItemsById,\n            salesItemIngredientItemsById: initialState.salesItemForm.salesItemIngredientItemsById,\n        }\n    };\n};\n\nconst reduceSetSortedMenuGroupOptions = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSortedMenuGroupOptions\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            menuGroupOptions: action.payload.sortedOptions\n        }\n    };\n};\n\nconst reduceSetSelectedSaveOption = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSelectedSaveOption\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        selectedSaveOption: action.payload.selectedSaveOption\n    };\n};\n\nconst reduceSetIngredientSearchBarHighlightedIngredientId = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarHighlightedIngredientId\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            ingredientSearchBar: {\n                ...state.salesItemForm.ingredientSearchBar,\n                highlightedIngredientId: action.payload.ingredientId,\n            }\n        }\n    };\n};\n\nconst reduceSetIngredientSearchBarLabelNamesAndSortedProductIds = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarLabelNamesAndSortedProductIdsToDisplay\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            ingredientSearchBar: {\n                ...state.salesItemForm.ingredientSearchBar,\n                labelNamesAndSortedProductIdsToDisplay: action.payload.labelNamesAndSortedProductIdsToDisplay,\n            }\n        }\n    };\n};\n\nconst reduceSetIngredientSearchBarLabelNamesAndSortedSalesItemIds = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarLabelNamesAndSortedSalesItemIdsToDisplay\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            ingredientSearchBar: {\n                ...state.salesItemForm.ingredientSearchBar,\n                labelNamesAndSortedSalesItemIdsToDisplay: action.payload.labelNamesAndSortedSalesItemIdsToDisplay,\n            }\n        }\n    };\n};\n\nconst reduceSetIngredientSearchBarState = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarState\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            ingredientSearchBar: {\n                ...state.salesItemForm.ingredientSearchBar,\n                searchBar: action.payload.searchBar,\n            }\n        }\n    };\n};\n\nconst reduceSetSelectedIngredientId = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSelectedIngredientId\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            ingredientSearchBar: {\n                ...state.salesItemForm.ingredientSearchBar,\n                selectedIngredientId: action.payload.selectedIngredientId,\n            }\n        }\n    };\n};\n\nconst reduceResetAddNewIngredientFormSection = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.IResetAddNewIngredientFormSection\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        isShownByComponentName: {\n            ...state.isShownByComponentName,\n            createNewSalesItemFields: false,\n        },\n        salesItemForm: {\n            ...state.salesItemForm,\n            ingredientForm: {\n                ...state.salesItemForm.ingredientForm,\n                ingredientQuantityAmount: ingredientFormInitialState.ingredientQuantityAmount,\n                ingredientQuantityUnit: ingredientFormInitialState.ingredientQuantityUnit,\n                newSalesItemName: ingredientFormInitialState.newSalesItemName,\n                newSalesItemServingSizeAmount: ingredientFormInitialState.newSalesItemServingSizeAmount,\n                newSalesItemServingSizeUnit: ingredientFormInitialState.newSalesItemServingSizeUnit,\n                newSalesItemYieldAmount: ingredientFormInitialState.newSalesItemYieldAmount,\n                newSalesItemYieldUnit: ingredientFormInitialState.newSalesItemYieldUnit,\n            }\n        }\n    };\n};\n\nconst reduceSetSalesInformationFormValidationByFieldName = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSalesInformationFormValidationByFieldName\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemForm: {\n            ...state.salesItemForm,\n            salesInformationForm: {\n                ...state.salesItemForm.salesInformationForm,\n                [action.payload.fieldName]: {\n                    value: action.payload.value,\n                    errorMessage: action.payload.errorMessage,\n                    isValid: action.payload.isValid,\n                },\n            },\n        },\n    };\n};\n\nconst reduceSetDefaultPourByProductCategory = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetDefaultPourByProductCategory\n) : ICreateOrEditSalesItemState => {\n    if (state.salesItemFormData === null) {\n        return state; // called before initial load, just ignore (default pour data will be fetched on initial load)\n    }\n\n    return {\n        ...state,\n        salesItemFormData: {\n            ...state.salesItemFormData,\n            defaultPourByProductCategory: action.payload.defaultPourByProductCategory\n        },\n    };\n};\n\nconst reduceSetNextAndPreviousItemIds = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetNextAndPreviousItemIds\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        nextSalesItemId: action.payload.nextSalesItemId,\n        previousSalesItemId: action.payload.previousSalesItemId\n    };\n};\n\nconst reduceSetIdToGoToAfterSave = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetIdToGoToAfterSave\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        idToGoToAfterSave: action.payload.idToGoToAfterSave\n    };\n};\n\nconst reduceSetSalesItemImageUploadUrl = (\n    state : ICreateOrEditSalesItemState,\n    action : CreateOrEditSalesItemActionInterfaces.ISetSalesItemImageUploadUrl\n) : ICreateOrEditSalesItemState => {\n    return {\n        ...state,\n        salesItemImageUploadUrl: action.payload.salesItemImageUploadUrl,\n    };\n};\n\nexport const CreateOrEditSalesItemReducers = (\n    state : ICreateOrEditSalesItemState = initialState,\n    action : Action\n) : ICreateOrEditSalesItemState => {\n    switch (action.type) {\n        case CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_ID:\n            return reduceSetSalesItemId(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSalesItemId\n            );\n        case CreateOrEditSalesItemActionTypes.SET_NEEDS_ATTENTION_CATEGORY:\n            return reduceSetNeedsAttentionCategory(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetNeedsAttentionCategory\n            );\n        case CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_FORM_VALIDATION_BY_FIELD_NAME:\n            return reduceSetSalesItemFormValidationByFieldName(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSalesItemFormValidationByFieldName\n            );\n        case CreateOrEditSalesItemActionTypes.SET_INGREDIENT_FORM_VALIDATION_BY_FIELD_NAME:\n            return reduceSetIngredientFormValidationByFieldName(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetIngredientFormValidationByFieldName\n            );\n        case CreateOrEditSalesItemActionTypes.SET_SALES_INFORMATION_FORM_VALIDATION_BY_FIELD_NAME:\n            return reduceSetSalesInformationFormValidationByFieldName(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSalesInformationFormValidationByFieldName\n            );\n        case CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_FORM_DATA:\n            return reduceSetSalesItemFormData(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSalesItemFormData\n            );\n        case CreateOrEditSalesItemActionTypes.SET_LINKED_ITEMS:\n            return reduceSetLinkedItems(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetLinkedItems\n            );\n        case CreateOrEditSalesItemActionTypes.ADD_EDITED_PRODUCT_ID:\n            return reduceAddEditedProductId(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.IAddEditedProductId\n            );\n        case CreateOrEditSalesItemActionTypes.CLEAR_EDITED_PRODUCT_IDS:\n            return reduceClearEditedProductIds(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.IClearEditedProductIds\n            );\n        case CreateOrEditSalesItemActionTypes.SET_COMPONENT_IS_SHOWN:\n            return reduceSetComponentIsShown(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetComponentIsShown\n            );\n        case CreateOrEditSalesItemActionTypes.SET_POPOVER_INGREDIENT_ID_IS_SHOWN:\n            return reduceSetSelectedPopoverIngredientIds (\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetPopoverIngredientIdIsShown\n            );\n        case CreateOrEditSalesItemActionTypes.UPDATE_MENU_GROUP:\n            return reduceUpdateMenuGroup(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.IUpdateMenuGroup\n            );\n        case CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_FORM:\n            return reduceSetSalesItemForm(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSalesItemForm\n            );\n        case CreateOrEditSalesItemActionTypes.RESET_SALES_ITEM_FORM:\n            return reduceResetSalesItemForm(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.IResetSalesItemForm\n            );\n        case CreateOrEditSalesItemActionTypes.SET_PRODUCT_INGREDIENT_ITEMS_ROW:\n            return reduceSetProductIngredientItemsRow(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetProductIngredientItemsRow\n            );\n        case CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_INGREDIENT_ITEMS_ROW:\n            return reduceSetSalesItemIngredientItemsRow(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSalesItemIngredientItemsRow\n            );\n        case CreateOrEditSalesItemActionTypes.SET_SORTED_MENU_GROUP_OPTIONS:\n            return reduceSetSortedMenuGroupOptions(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSortedMenuGroupOptions\n            );\n        case CreateOrEditSalesItemActionTypes.SET_INGREDIENT_SEARCH_BAR_HIGHLIGHTED_ID:\n            return reduceSetIngredientSearchBarHighlightedIngredientId(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarHighlightedIngredientId\n            );\n        case CreateOrEditSalesItemActionTypes.SET_SELECTED_SAVE_OPTION:\n            return reduceSetSelectedSaveOption(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSelectedSaveOption\n            );\n        case CreateOrEditSalesItemActionTypes.SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_PRODUCT_IDS_TO_DISPLAY:\n            return reduceSetIngredientSearchBarLabelNamesAndSortedProductIds(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarLabelNamesAndSortedProductIdsToDisplay\n            );\n        case CreateOrEditSalesItemActionTypes.SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_SALES_ITEM_IDS_TO_DISPLAY:\n            return reduceSetIngredientSearchBarLabelNamesAndSortedSalesItemIds(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarLabelNamesAndSortedSalesItemIdsToDisplay\n            );\n        case CreateOrEditSalesItemActionTypes.SET_INGREDIENT_SEARCH_BAR_STATE:\n            return reduceSetIngredientSearchBarState(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetIngredientSearchBarState\n            );\n        case CreateOrEditSalesItemActionTypes.SET_SELECTED_INDREDIENT_ID:\n            return reduceSetSelectedIngredientId(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetSelectedIngredientId\n            );\n        case CreateOrEditSalesItemActionTypes.RESET_ADD_NEW_INGREDIENT_FORM_SECTION:\n            return reduceResetAddNewIngredientFormSection(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.IResetAddNewIngredientFormSection\n            );\n        case CreateOrEditSalesItemActionTypes.SET_DEFAULT_POUR_BY_PRODUCT_CATEGORY:\n            return reduceSetDefaultPourByProductCategory(\n                state,\n                action as CreateOrEditSalesItemActionInterfaces.ISetDefaultPourByProductCategory\n            );\n        case CreateOrEditSalesItemActionTypes.SET_NEXT_AND_PREVIOUS_IDS:\n            return reduceSetNextAndPreviousItemIds(state, action as CreateOrEditSalesItemActionInterfaces.ISetNextAndPreviousItemIds);\n        case CreateOrEditSalesItemActionTypes.SET_ID_TO_GO_TO_AFTER_SAVE:\n            return reduceSetIdToGoToAfterSave(state, action as CreateOrEditSalesItemActionInterfaces.ISetIdToGoToAfterSave);\n        case CreateOrEditSalesItemActionTypes.SET_SALES_ITEM_IMAGE_UPLOAD_URL:\n            return reduceSetSalesItemImageUploadUrl(state, action as CreateOrEditSalesItemActionInterfaces.ISetSalesItemImageUploadUrl);\n        default:\n            return state;\n    }\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { PosItem } from 'api/SalesData/model/PosItem';\nimport { PosItemId } from 'api/SalesData/model/PosItemId';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesQuantityAndUnit } from 'api/SalesItem/model/SalesQuantityAndUnit';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { makeOptionFromValue, OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { productJSONToObjectSerializer, productObjectToJSONSerializer } from 'shared/lib/manager';\nimport { IValidationResult, Validation } from 'shared/validators/validators';\nimport { LinkedPriceField } from '../actions/actions';\nimport {\n    DEFAULT_SERVING_AND_YIELD_UNIT,\n    ICreateOrEditSalesItemState,\n    IngredientFormFieldName,\n    ingredientFormInitialState,\n    IngredientFormValidationByFieldName,\n    initialState,\n    IProductAndSalesItemSearchBar,\n    IProductIngredientRowInfo,\n    ISalesItemForm,\n    ISalesItemFormData,\n    ISalesItemIngredientRowInfo,\n    ProductIngredientRowFormFieldName,\n    SalesInformationFormFieldName,\n    SalesInformationFormValidationByFieldName,\n    SalesItemFormFieldName,\n    SalesItemFormValidationByFieldName,\n    SalesItemIngredientRowFormFieldName,\n    SlimCreateSalesItemFormFieldName\n} from '../reducers/reducers';\n\nconst getMenuGroupOptionByValue = (optionValue : string | null, currentOptions : Array<IOption>) : IOption | null => {\n    if (optionValue === null) {\n        return null;\n    }\n\n    const matchedOption = currentOptions.find((option) => option.value === optionValue);\n    if (typeof matchedOption === 'undefined') {\n        throw new Error('unexpected option: ' + optionValue);\n    }\n    return matchedOption;\n};\n\nconst getSortedMenuGroupOptions = (menuGroups : Set<string>) : Array<IOption> => {\n    const sortedList = Array.from(menuGroups).sort();\n\n    return sortedList.map((menuGroupValue) => makeOptionFromValue(menuGroupValue));\n};\n\nconst validateValueByFieldName = (\n    fieldName : SalesItemFormFieldName | IngredientFormFieldName | SalesInformationFormFieldName | ProductIngredientRowFormFieldName | SalesItemIngredientRowFormFieldName,\n    value : string,\n) : IValidationResult => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    /** @NOTE no specific validation required */\n    switch (fieldName) {\n        case 'posId':\n        case 'menuGroup':\n        case 'note':\n        case 'ingredientQuantityUnit':\n        case 'yieldUnit':\n        case 'servingSizeUnit':\n\n        // TODO: what validation is needed for these?\n        case 'newSalesItemYieldAmount':\n        case 'newSalesItemYieldUnit':\n        case 'newSalesItemServingSizeAmount':\n        case 'newSalesItemServingSizeUnit':\n        case 'newSalesItemName':\n            isValid = true;\n            break;\n        case 'salesItemName':\n        case 'ingredientQuantityAmount':\n        case 'yieldAmount':\n        case 'servingSizeAmount':\n        case 'salesPrice':\n        case 'costPercentage':\n        case 'salesProfit':\n        case 'totalCost':\n        case 'priceAndTax':\n        case 'miscCost':\n        case 'quantity':\n        case 'unit':\n        default:\n            break;\n    }\n\n    // required\n    switch (fieldName) {\n        case 'unit':\n        case 'salesItemName':\n            isValid = Validation.validateRequired(value);\n            if (!isValid) {\n                errorMessage = 'Field is Required';\n                return {\n                    errorMessage,\n                    isValid,\n                };\n            }\n            break;\n        case 'posId':\n        case 'menuGroup':\n        case 'note':\n        case 'ingredientQuantityAmount':\n        case 'ingredientQuantityUnit':\n        case 'yieldAmount':\n        case 'yieldUnit':\n        case 'servingSizeAmount':\n        case 'servingSizeUnit':\n        case 'newSalesItemName':\n        case 'newSalesItemYieldAmount':\n        case 'newSalesItemYieldUnit':\n        case 'newSalesItemServingSizeAmount':\n        case 'newSalesItemServingSizeUnit':\n        case 'salesPrice':\n        case 'costPercentage':\n        case 'salesProfit':\n        case 'totalCost':\n        case 'priceAndTax':\n        case 'miscCost':\n        case 'quantity':\n        default:\n            break;\n    }\n\n    // input type specific\n    switch (fieldName) {\n        case 'yieldAmount':\n        case 'servingSizeAmount':\n            isValid = Validation.validateNonNegativeNumber(value) && (parseFloat(value) > 0);\n            if (!isValid) {\n                errorMessage = 'Must be a number greater than 0';\n            }\n            break;\n        case 'miscCost':\n        case 'salesProfit': // can be negative\n        case 'salesPrice': // price can be negative in the case of modifiers, etc.\n        case 'priceAndTax':\n        case 'ingredientQuantityAmount': // ingredient quantities can be negative or 0 per CS request: negative helps with modifiers, 0 for when they don't know an exact amount (or don't want to track but want in the recipe)\n        case 'quantity':\n            isValid = Validation.validateNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        case 'totalCost':\n            isValid = (value === NOT_CALCULABLE_FIELD_VALUE) || Validation.validateNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        case 'costPercentage':\n            isValid = (value === NOT_CALCULABLE_FIELD_VALUE) || Validation.validatePercentage(value);\n            if (!isValid) {\n                errorMessage = 'Invalid percentage.';\n            }\n            break;\n        case 'salesItemName':\n        case 'posId':\n        case 'menuGroup':\n        case 'note':\n        case 'ingredientQuantityUnit':\n        case 'yieldUnit':\n        case 'servingSizeUnit':\n        case 'newSalesItemName':\n        case 'newSalesItemYieldAmount':\n        case 'newSalesItemYieldUnit':\n        case 'newSalesItemServingSizeAmount':\n        case 'newSalesItemServingSizeUnit':\n        case 'unit':\n        default:\n            if (isValid === null) {\n                throw new Error('no validation implemented for fieldname ' + fieldName);\n            }\n            break;\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n\nconst validateServingSizeAndYieldAreCompatible = (\n    itemYieldAmountValue : string,\n    itemYieldUnitValue : string,\n    itemServingSizeAmountValue : string,\n    itemServingSizeUnitValue : string\n) : boolean => {\n    const { itemYield, servingSize, salesItemCustomUnitName } = getYieldAndServingSizeInfoFromForm(itemYieldAmountValue, itemYieldUnitValue, itemServingSizeAmountValue, itemServingSizeUnitValue);\n\n    if (salesItemCustomUnitName !== null && salesItemCustomUnitName !== '') {\n        if (itemYield.getUnit() !== null || servingSize.getUnit() !== null) {\n            return false;\n        }\n        return true;\n    } else {\n        const itemYieldUnit = itemYield.getUnit();\n        const servingSizeUnit = servingSize.getUnit();\n        if (itemYieldUnit === null || servingSizeUnit === null) {\n            return false;\n        } else if ((MassUnit.isMassUnit(itemYieldUnit) && !MassUnit.isMassUnit(servingSizeUnit)) || (VolumeUnit.isVolumeUnit(itemYieldUnit) && !VolumeUnit.isVolumeUnit(servingSizeUnit))) {\n           return false;\n        }\n        return true;\n    }\n};\n\nconst getFieldUnitType = (fieldValue : string) => {\n    if (MassUnit.isMassUnitValue(fieldValue)) {\n        return MassUnit.getByMassUnitValue(fieldValue);\n    } else if (VolumeUnit.isVolumeUnitValue(fieldValue)) {\n        return VolumeUnit.getByVolumeUnitValue(fieldValue);\n    }\n    return null;\n};\n\n// assumes all form fields are valid\nconst getSalesItemInfo = (salesItemForm : ISalesItemForm, salesItemById : StringValueMap<SalesItemId, SalesItemWithMetadata>, locationId : LocationId) => {\n    const salesItemName = salesItemForm.salesItemInfoForm.salesItemName.value;\n    const menuGroup = salesItemForm.salesItemInfoForm.menuGroup.value;\n    const posId = salesItemForm.salesItemInfoForm.posId.value;\n    const note = salesItemForm.salesItemInfoForm.note.value;\n    const needsAttentionCategory = salesItemForm.selectedNeedsAttentionCategory;\n    const salesPrice = salesItemForm.salesInformationForm.salesPrice.value.trim() === '' ? 0 : parseFloat(salesItemForm.salesInformationForm.salesPrice.value);\n    const miscellaneousCost = salesItemForm.salesInformationForm.miscCost.value.trim() === '' ? 0 : parseFloat(salesItemForm.salesInformationForm.miscCost.value);\n\n    const componentQuantityOfProductByProductId = new StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>();\n    salesItemForm.productIngredientItemsById.forEach((ingredientInfo, ingredientId) => {\n        const unit = productJSONToObjectSerializer.getProductQuantityUnit(ingredientInfo.formInfo.unit.value);\n        const productQuantityInUnit = new QuantityInUnit(\n            parseFloat(ingredientInfo.formInfo.quantity.value),\n            unit\n        );\n        componentQuantityOfProductByProductId.set(ingredientId, productQuantityInUnit);\n    });\n\n    const componentServingsBySalesItemId = new StringValueMap<SalesItemId, number>();\n    salesItemForm.salesItemIngredientItemsById.forEach((ingredientInfo, ingredientId) => {\n        const quantity = parseFloat(ingredientInfo.formInfo.quantity.value);\n        componentServingsBySalesItemId.set(ingredientId, quantity);\n    });\n\n    const itemYieldAmount = salesItemForm.ingredientForm.yieldAmount.value;\n    const itemYieldUnit = salesItemForm.ingredientForm.yieldUnit.value;\n    const itemServingSizeAmount = salesItemForm.ingredientForm.servingSizeAmount.value;\n    const itemServingSizeUnit = salesItemForm.ingredientForm.servingSizeUnit.value;\n\n    const {\n        itemYield,\n        servingSize,\n        salesItemCustomUnitName\n    } = getYieldAndServingSizeInfoFromForm(itemYieldAmount, itemYieldUnit, itemServingSizeAmount, itemServingSizeUnit);\n\n    return new SalesItem(\n        salesItemName,\n        locationId,\n        menuGroup,\n        posId,\n        note,\n        needsAttentionCategory,\n        salesPrice,\n        miscellaneousCost,\n        componentQuantityOfProductByProductId,\n        componentServingsBySalesItemId,\n        itemYield,\n        servingSize,\n        salesItemCustomUnitName,\n    );\n};\n\nconst getYieldAndServingSizeInfoFromForm = (\n    itemYieldAmount : string,\n    itemYieldUnit : string,\n    itemServingSizeAmount : string,\n    itemServingSizeUnit : string\n) => {\n    const itemYield = new SalesQuantityAndUnit(parseFloat(itemYieldAmount), getFieldUnitType(itemYieldUnit));\n    const servingSize = new SalesQuantityAndUnit(parseFloat(itemServingSizeAmount), getFieldUnitType(itemServingSizeUnit));\n\n    let salesItemCustomUnitName : string | null = null;\n\n    if (MassUnit.isMassUnitValue(itemYieldUnit) && MassUnit.isMassUnitValue(itemServingSizeUnit)) {\n        salesItemCustomUnitName = null;\n    } else if (VolumeUnit.isVolumeUnitValue(itemYieldUnit) && VolumeUnit.isVolumeUnitValue(itemServingSizeUnit)) {\n        salesItemCustomUnitName = null;\n    } else if ((itemYieldUnit === itemServingSizeUnit) && !MassUnit.isMassUnitValue(itemYieldUnit) && !MassUnit.isMassUnitValue(itemServingSizeUnit)\n    && !VolumeUnit.isVolumeUnitValue(itemYieldUnit) && !VolumeUnit.isVolumeUnitValue(itemServingSizeUnit)) {\n        salesItemCustomUnitName = itemYieldUnit;\n    }\n\n    return {\n        itemYield,\n        servingSize,\n        salesItemCustomUnitName\n    };\n};\n\nconst getSalesItemFromSubrecipeSlimCreateFields = (\n    slimCreateSalesItemInfo : { [fieldName in SlimCreateSalesItemFormFieldName] : IValidationInputData },\n    locationId : LocationId,\n) : SalesItem => {\n    const itemYieldAmount = slimCreateSalesItemInfo.newSalesItemYieldAmount.value;\n    const itemYieldUnit = slimCreateSalesItemInfo.newSalesItemYieldUnit.value;\n    const itemServingSizeAmount = slimCreateSalesItemInfo.newSalesItemServingSizeAmount.value;\n    const itemServingSizeUnit = slimCreateSalesItemInfo.newSalesItemServingSizeUnit.value;\n\n    const {\n        itemYield,\n        servingSize,\n        salesItemCustomUnitName\n    } = getYieldAndServingSizeInfoFromForm(itemYieldAmount, itemYieldUnit, itemServingSizeAmount, itemServingSizeUnit);\n\n    return new SalesItem(\n        slimCreateSalesItemInfo.newSalesItemName.value,\n        locationId,\n        '',\n        '',\n        '',\n        null,\n        0, // sales price = 0\n        0, // misc. cost = 0 (? might want to allow user to set misc. cost, otherwise cost of this ingredient is gonna be 0...)\n        new StringValueMap(),\n        new StringValueMap(),\n        itemYield,\n        servingSize,\n        salesItemCustomUnitName,\n    );\n};\n\n// menuGroupOptions and ingredientSearchBar should have been determined already. the rest is directly from the SalesItemWithMetadata object.\nconst getSalesItemFormFromSalesItemWithMetadata = (\n    salesItemWithMetadata : SalesItemWithMetadata,\n    menuGroupOptions : Array<IOption>,\n    ingredientSearchBar : IProductAndSalesItemSearchBar,\n    productsById : StringValueMap<ProductId, Product>,\n    cost : number | null,\n    retailerTaxPercentage : number | null,\n) : ISalesItemForm => {\n    const salesItem = salesItemWithMetadata.getSalesItem();\n\n    const salesItemInfoForm : SalesItemFormValidationByFieldName = {\n        salesItemName: constructValidationInputForInitialStringValue(salesItem.getName()),\n        posId: constructValidationInputForInitialStringValue(salesItem.getPOSId()),\n        menuGroup: constructValidationInputForInitialStringValue(salesItem.getMenuGroup()),\n        note: constructValidationInputForInitialStringValue(salesItem.getNote())\n    };\n\n    // turn price into 3 other fields\n    const salesItemPrice = salesItem.getSalesPrice();\n    const pricePlusTax = SalesItemUtils.calculatePricePlusTax(salesItemPrice, retailerTaxPercentage);\n    const profit = SalesItemUtils.calculateSalesItemProfit(salesItemPrice, cost);\n    const costPercent = SalesItemUtils.getCostPercentageOfSalesItem(salesItemPrice, cost);\n\n    const salesInformationForm : SalesInformationFormValidationByFieldName = {\n        salesPrice: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(salesItemPrice)),\n        miscCost: constructValidationInputForInitialStringValue(salesItem.getMiscellaneousCost().toString()),\n        priceAndTax: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(pricePlusTax)),\n\n        // If cost is not calculable (is null), these cannot be edited...\n        costPercentage: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(costPercent)),\n        totalCost: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(cost)),\n        salesProfit: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(profit)),\n    };\n\n    const itemYieldUnit = salesItem.getItemYield().getUnit();\n    const servingSizeUnit = salesItem.getServingSize().getUnit();\n    let yieldUnitString : string;\n    let servingSizeUnitString : string;\n    if (itemYieldUnit === null || servingSizeUnit === null) {\n         // salesItem.getSalesItemCustomUnitName() will never be null (the constructor forbids it in this case), but typescript thinks it can be :(\n        yieldUnitString = servingSizeUnitString = DEFAULT_SERVING_AND_YIELD_UNIT; // NOTE: we do not allow custom names for now, so using the default. This should change when allowing custom name input\n        // salesItem.getSalesItemCustomUnitName() || '';\n    } else {\n        yieldUnitString = itemYieldUnit;\n        servingSizeUnitString = servingSizeUnit;\n    }\n\n    const ingredientForm : IngredientFormValidationByFieldName = {\n        // fields from creating a new sales item within a sales item\n        ...ingredientFormInitialState,\n\n        // just blank values at first (form for search & add ingredients)\n        ingredientQuantityAmount: constructValidationInputForInitialStringValue(''),\n        ingredientQuantityUnit: constructValidationInputForInitialStringValue(''),\n\n        // fields from sales item\n        yieldAmount: constructValidationInputForInitialStringValue(salesItem.getItemYield().getQuantity().toString()),\n        yieldUnit: constructValidationInputForInitialStringValue(yieldUnitString),\n        servingSizeAmount: constructValidationInputForInitialStringValue(salesItem.getServingSize().getQuantity().toString()),\n        servingSizeUnit: constructValidationInputForInitialStringValue(servingSizeUnitString),\n    };\n\n    const orderedIngredientItems : Array<ProductId | SalesItemId> = [];\n\n    const productIngredientItemsById : StringValueMap<ProductId, IProductIngredientRowInfo> = new StringValueMap();\n    salesItem.getComponentQuantityOfProductByProductId().forEach((quantityInUnit, productId) => {\n        orderedIngredientItems.push(productId);\n        const product = productsById.get(productId);\n        if (typeof product === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        // TODO or we could resolve in the component UI...\n        const resolvedQuantityInUnit = PackagingUtils.resolveProductQuantityUnit(quantityInUnit, product.getPackagingsAndMappings().getMappings());\n\n        productIngredientItemsById.set(\n            productId,\n            {\n                ingredientId: productId,\n                formInfo: {\n                    quantity: constructValidationInputForInitialStringValue(resolvedQuantityInUnit.getQuantity().toString()),\n                    unit: constructValidationInputForInitialStringValue(productObjectToJSONSerializer.getProductQuantityUnit(resolvedQuantityInUnit.getUnit()))\n                }\n            }\n        );\n    });\n\n    const salesItemIngredientItemsById : StringValueMap<SalesItemId, ISalesItemIngredientRowInfo> = new StringValueMap();\n    salesItem.getComponentServingsBySalesItemId().forEach((quantity, componentSalesItemId) => {\n        orderedIngredientItems.push(componentSalesItemId);\n        salesItemIngredientItemsById.set(\n            componentSalesItemId,\n            {\n                ingredientId: componentSalesItemId,\n                formInfo: {\n                    quantity: constructValidationInputForInitialStringValue(quantity.toString()),\n                }\n            }\n        );\n    });\n\n    const salesItemForm : ISalesItemForm = {\n        orderedIngredientItems,\n        salesItemInfoForm,\n        salesInformationForm,\n        ingredientForm,\n        productIngredientItemsById,\n        salesItemIngredientItemsById,\n        selectedNeedsAttentionCategory: salesItem.getNeedsAttentionCategory(),\n        lastEditedMetadata: salesItemWithMetadata.getLastEditedMetadata(),\n        menuGroupOptions,\n        ingredientSearchBar\n    };\n    return salesItemForm;\n};\n\nconst getSalesItemFormFromPosItem = (\n    posItem : PosItem,\n    salesPrice : number,\n    menuGroupOptions : Array<IOption>,\n    ingredientSearchBar : IProductAndSalesItemSearchBar,\n    retailerTaxPercentage : number | null,\n) : ISalesItemForm => {\n\n    const salesItemInfoForm : SalesItemFormValidationByFieldName = {\n        salesItemName: constructValidationInputForInitialStringValue(posItem.getName()),\n        posId: constructValidationInputForInitialStringValue(posItem.getPosItemId().getValue()),\n        menuGroup: constructValidationInputForInitialStringValue(posItem.getMenuGroup()),\n        note: constructValidationInputForInitialStringValue('')\n    };\n\n    // turn price into 3 other fields\n    const cost = 0; // no ingredients or misc cost = 0\n    const pricePlusTax = SalesItemUtils.calculatePricePlusTax(salesPrice, retailerTaxPercentage);\n    const profit = SalesItemUtils.calculateSalesItemProfit(salesPrice, cost);\n    const costPercent = SalesItemUtils.getCostPercentageOfSalesItem(salesPrice, cost);\n\n    const salesInformationForm : SalesInformationFormValidationByFieldName = {\n        salesPrice: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(salesPrice)),\n        miscCost: initialState.salesItemForm.salesInformationForm.miscCost, // initial form value\n        priceAndTax: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(pricePlusTax)),\n\n        // If cost is not calculable (is null), these cannot be edited...\n        costPercentage: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(costPercent)),\n        totalCost: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(cost)),\n        salesProfit: constructValidationInputForInitialStringValue(getNumberFieldStringFromValue(profit)),\n    };\n\n    const ingredientForm : IngredientFormValidationByFieldName = {\n        // fields from creating a new sales item within a sales item\n        ...ingredientFormInitialState,\n\n        // just blank values at first (form for search & add ingredients)\n        ingredientQuantityAmount: constructValidationInputForInitialStringValue(''),\n        ingredientQuantityUnit: constructValidationInputForInitialStringValue(''),\n    };\n\n    const orderedIngredientItems : Array<ProductId | SalesItemId> = [];\n\n    const productIngredientItemsById : StringValueMap<ProductId, IProductIngredientRowInfo> = new StringValueMap();\n    const salesItemIngredientItemsById : StringValueMap<SalesItemId, ISalesItemIngredientRowInfo> = new StringValueMap();\n\n    const salesItemForm : ISalesItemForm = {\n        orderedIngredientItems,\n        salesItemInfoForm,\n        salesInformationForm,\n        ingredientForm,\n        productIngredientItemsById,\n        salesItemIngredientItemsById,\n        selectedNeedsAttentionCategory: null,\n        lastEditedMetadata: null,\n        menuGroupOptions,\n        ingredientSearchBar,\n    };\n    return salesItemForm;\n};\n\nconst constructValidationInputForInitialStringValue = (value : string) : IValidationInputData => {\n    return {\n        value,\n        isValid: true,\n        errorMessage: ''\n    };\n};\n\n// TODO should this live in SalesItemUtils ?\n// TODOfuture: could cache this for optimization or have a function that returns a map of all ids -> sets of ids they are linked in\n// IMPORTANT: this assumes that salesItemsById contains all non-deleted items. if that becomes not the case, this could be incorrect (we would need to hit the server for the complete correct list)\nconst getLinkedSalesItems = (salesItemId : SalesItemId, salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>) : StringValueSet<SalesItemId> => {\n    const linkedSalesItemIds = new StringValueSet<SalesItemId>();\n    salesItemsById.forEach((salesItemWithMetadata, parentSalesItemId) => {\n        if (salesItemWithMetadata.getSalesItem().getComponentServingsBySalesItemId().has(salesItemId)) {\n            linkedSalesItemIds.add(parentSalesItemId);\n        }\n    });\n    return linkedSalesItemIds;\n};\n\nexport const NOT_CALCULABLE_FIELD_VALUE = 'COST_NOT_CALCULABLE';\nconst getNumberFieldStringFromValue = (fieldValue : number | null) => {\n    return fieldValue !== null && !isNaN(fieldValue) ? fieldValue.toFixed(2) : NOT_CALCULABLE_FIELD_VALUE;\n};\n\nconst getDependentSalesInformationFormValues = (\n    inputField : LinkedPriceField,\n    inputValue : number,\n    itemCost : number | null,\n    retailerTaxPercentage : number | null\n) => {\n    // take number and get sales price. then we can calculate the others from there.\n\n    let salesPriceValue : number;\n    if (inputField === 'salesPrice') {\n        salesPriceValue = inputValue;\n    } else if (inputField === 'costPercentage') {\n        if (itemCost === null) { // TODO: this should not be valid through the UI - would we prefer to be more graceful here though?\n            throw new RuntimeException('should not be able to edit costPercentage if cost is not caculable');\n        }\n        salesPriceValue = SalesItemUtils.getSalesPriceFromCostPercent(inputValue, itemCost);\n    } else if (inputField === 'priceAndTax') {\n        salesPriceValue = SalesItemUtils.getSalesPriceFromPriceAndTax(inputValue, retailerTaxPercentage);\n    } else if (inputField === 'salesProfit') {\n        if (itemCost === null) {\n            throw new RuntimeException('should not be able to edit salesProfit if cost is not caculable');\n        }\n        salesPriceValue = SalesItemUtils.getSalesPriceFromSalesProfit(inputValue, itemCost);\n    } else {\n        throw new RuntimeException('unhandled field');\n    }\n\n    const pricePlusTax = inputField === 'priceAndTax' ? inputValue : SalesItemUtils.calculatePricePlusTax(salesPriceValue, retailerTaxPercentage);\n    const profit = inputField === 'salesProfit' ? inputValue : SalesItemUtils.calculateSalesItemProfit(salesPriceValue, itemCost);\n    const costPercent = inputField === 'costPercentage' ? inputValue : SalesItemUtils.getCostPercentageOfSalesItem(salesPriceValue, itemCost);\n\n    return {\n        salesPrice: getNumberFieldStringFromValue(salesPriceValue),\n        costPercentage: getNumberFieldStringFromValue(costPercent),\n        priceAndTax: getNumberFieldStringFromValue(pricePlusTax),\n        salesProfit: getNumberFieldStringFromValue(profit),\n    };\n};\n\nconst getServingSizeAndYieldDropdownOptions = () : OptionsAndLabelNameTuples => {\n    const dropdownOptions : Array<IOption> = [];\n    VolumeUnit.getUnits().forEach((volumeUnit) => dropdownOptions.push({\n        label: oldPackagingUtils.getDisplayTextForUnit(volumeUnit),\n        icon: null,\n        value: volumeUnit,\n    }));\n    MassUnit.getUnits().forEach((massUnit) => dropdownOptions.push({\n        label: oldPackagingUtils.getDisplayTextForUnit(massUnit),\n        icon: null,\n        value: massUnit,\n    }));\n    dropdownOptions.push({ // custom option\n        label: DEFAULT_SERVING_AND_YIELD_UNIT,\n        icon: null,\n        value: DEFAULT_SERVING_AND_YIELD_UNIT\n    });\n\n    return [[null, dropdownOptions]];\n};\n\nconst checkFormHasChangedFromInitial = (createOrEditSalesItemState : ICreateOrEditSalesItemState) : boolean => {\n    if (createOrEditSalesItemState.salesItemId instanceof SalesItemId) {\n        if (createOrEditSalesItemState.salesItemFormData === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        const salesItem = createOrEditSalesItemState.salesItemFormData.salesItemsById.get(createOrEditSalesItemState.salesItemId);\n        if (typeof salesItem === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        return checkDoesFormDifferFromSalesItem(salesItem, createOrEditSalesItemState.salesItemForm, createOrEditSalesItemState.salesItemFormData);\n    } else if (createOrEditSalesItemState.salesItemId instanceof PosItemId) {\n        // pos item: just check if ingredients ahve been added, or misc cost changed, or needs attention flag changed. can update later if logic of mapping tool changes\n        if (createOrEditSalesItemState.salesItemForm.productIngredientItemsById.size > 0 || createOrEditSalesItemState.salesItemForm.salesItemIngredientItemsById.size > 0) {\n            return true;\n        }\n        const salesInformationFormInfo = createOrEditSalesItemState.salesItemForm.salesInformationForm;\n        if (salesInformationFormInfo.miscCost.value !== initialState.salesItemForm.salesInformationForm.miscCost.value) {\n            return true;\n        }\n        if (createOrEditSalesItemState.salesItemForm.selectedNeedsAttentionCategory !== initialState.salesItemForm.selectedNeedsAttentionCategory) {\n            return true;\n        }\n\n        return false;\n    } else {\n        // future: can make these checks more granular\n        const salesItemFormInfo = createOrEditSalesItemState.salesItemForm.salesItemInfoForm;\n        Object.keys(salesItemFormInfo).forEach((fieldKey) => {\n            const fieldName = fieldKey as SalesItemFormFieldName;\n            const value = salesItemFormInfo[fieldName].value;\n\n            if (value !== initialState.salesItemForm.salesItemInfoForm[fieldName].value) {\n                return true;\n            }\n        });\n\n        // salesInformationFormFields\n        const salesInformationFormInfo = createOrEditSalesItemState.salesItemForm.salesInformationForm;\n        Object.keys(salesInformationFormInfo).forEach((fieldKey) => {\n            const fieldName = fieldKey as SalesInformationFormFieldName;\n            const value = salesInformationFormInfo[fieldName].value;\n            if (value !== initialState.salesItemForm.salesInformationForm[fieldName].value) {\n                return true;\n            }\n        });\n\n        // productIngredientItems and salesItemIngredientItemsById\n        if (createOrEditSalesItemState.salesItemForm.productIngredientItemsById.size > 0 || createOrEditSalesItemState.salesItemForm.salesItemIngredientItemsById.size > 0) {\n            return true;\n        }\n\n        // ingredient form fields -- ignore the unadded ingredients, but must validate yield/serving size\n        const ingredientFormInfo : IngredientFormValidationByFieldName = createOrEditSalesItemState.salesItemForm.ingredientForm;\n        Object.keys(ingredientFormInfo).forEach((fieldKey) => {\n            const fieldName = fieldKey as IngredientFormFieldName;\n            const value = ingredientFormInfo[fieldName].value;\n            if (value !== initialState.salesItemForm.ingredientForm[fieldName].value) {\n                return true;\n            }\n        });\n\n        return false;\n    }\n};\n\n// future work: could return sections that differ if that's something that would be useful. for now, just return an overall isDifferent\nconst checkDoesFormDifferFromSalesItem = (salesItemWithMetadata : SalesItemWithMetadata, salesItemForm : ISalesItemForm, salesItemFormData : ISalesItemFormData) : boolean => {\n    let formHasChanged : boolean = false;\n\n    try {\n        const newSalesItemFromForm = getSalesItemInfo(\n            salesItemForm,\n            salesItemFormData.salesItemsById,\n            new LocationId(window.GLOBAL_RETAILER_ID));\n\n        formHasChanged = !SalesItemUtils.areSalesItemsEqual(newSalesItemFromForm, salesItemWithMetadata.getSalesItem(), salesItemFormData.productsById);\n    } catch (error) {\n        // form was invalid so must have changed...\n        formHasChanged = true;\n    }\n\n    return formHasChanged;\n};\n\nexport const CreateOrEditSalesItemFormUtils = {\n    validateValueByFieldName,\n    validateServingSizeAndYieldAreCompatible,\n    getSalesItemInfo,\n    getSalesItemFromSubrecipeSlimCreateFields,\n    getMenuGroupOptionByValue,\n    getSalesItemFormFromSalesItemWithMetadata,\n    getSalesItemFormFromPosItem,\n    getSortedMenuGroupOptions,\n    getLinkedSalesItems,\n    getNumberFieldStringFromValue,\n    getDependentSalesInformationFormValues,\n    getServingSizeAndYieldDropdownOptions,\n    checkFormHasChangedFromInitial,\n    getYieldAndServingSizeInfoFromForm,\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { defaultProductRowFilter, getBrandAndNameStringForSort } from 'shared/utils/productSortingFilteringAndGroupingUtils';\nimport { defaultSalesItemRowFilter } from 'shared/utils/salesItemSortingFilteringAndGroupingUtils';\nimport { SortingFilteringAndGroupingUtil } from 'shared/utils/sortingFilteringAndGroupingUtils';\n\nconst ACTIVE_PRODUCTS_GROUP_NAME = 'From Items';\nconst ARCHIVED_PRODUCTS_GROUP_NAME = 'Archived Items';\nconst SALES_ITEMS_GROUP_NAME = 'From Recipes';\nconst ARCHIVED_SALES_ITEMS_GROUP_NAME = 'Archived Recipes';\nconst POPULAR_ITEMS_GROUP_NAME = 'BevSpot Popular Items';\n\ninterface IProductAndSalesItemSearchBarSortingUtilExtraArgs {\n    salesItemFormData : {\n        productsById : StringValueMap<ProductId, Product>;\n        activeProductIds : StringValueSet<ProductId>;\n        salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    };\n}\n\nconst groupNameSortOrder = [\n    ACTIVE_PRODUCTS_GROUP_NAME,\n    ARCHIVED_PRODUCTS_GROUP_NAME,\n    SALES_ITEMS_GROUP_NAME,\n    ARCHIVED_SALES_ITEMS_GROUP_NAME,\n    POPULAR_ITEMS_GROUP_NAME\n];\n\nconst groupNameComparator = (groupName1 : string, groupName2 : string, groupByOption : GroupByOption, extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : number => {\n    const sortOrder1 = groupNameSortOrder.indexOf(groupName1);\n    const sortOrder2 = groupNameSortOrder.indexOf(groupName2);\n\n    return sortOrder1 - sortOrder2;\n};\n\n// PRODUCT UTILS\nconst productRowIdComparator = (productId1 : ProductId, productId2 : ProductId, columnSort : IColumnSorting, extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : number => {\n    const product1 = extraArgs.salesItemFormData.productsById.get(productId1);\n    const product2 = extraArgs.salesItemFormData.productsById.get(productId2);\n\n    if ((typeof product1 === 'undefined') || (typeof product2 === 'undefined')) {\n        throw new RuntimeException('unexpected');\n    }\n\n    const nameA = getBrandAndNameStringForSort(product1);\n    const nameB = getBrandAndNameStringForSort(product2);\n    return nameA.localeCompare(nameB);\n};\n\nlet lastProductsById : StringValueMap<ProductId, Product>;\nlet fakeDistributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>;\nconst productRowIdFilterFunction = (productId : ProductId, filterTerm : string | null, extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : boolean => {\n    if (typeof lastProductsById === 'undefined' || typeof fakeDistributorIdsByProductId === 'undefined' || lastProductsById !== extraArgs.salesItemFormData.productsById) {\n        lastProductsById = extraArgs.salesItemFormData.productsById;\n        fakeDistributorIdsByProductId = new StringValueMap();\n        lastProductsById.forEach((prod, prodId) => fakeDistributorIdsByProductId.set(prodId, null));\n    }\n\n    // TODO don't want to rewrite the product row filter, but not using distributors for filter for now? OR should we use the distributor (would need to retrieve it)\n    return defaultProductRowFilter(productId, filterTerm, extraArgs.salesItemFormData.productsById, fakeDistributorIdsByProductId, new StringValueMap(), new StringValueMap());\n};\n\nconst getGroupNameForProductRowId = (productId : ProductId, groupByOption : GroupByOption, extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : string => {\n    const activeProductIds = extraArgs.salesItemFormData.activeProductIds;\n\n    if (activeProductIds.has(productId)) {\n        return ACTIVE_PRODUCTS_GROUP_NAME;\n    }\n\n    return ARCHIVED_PRODUCTS_GROUP_NAME;\n};\n\nconst intermediateProductResultCacheIsValid = (\n    rowIds : Array<ProductId>, lastRowIds : Array<ProductId>,\n    extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs, lastExtraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : boolean => {\n    return (extraArgs.salesItemFormData === lastExtraArgs.salesItemFormData);\n};\n\n// SALES ITEM UTILS\nconst salesItemRowIdComparator = (salesItemId1 : SalesItemId, salesItemId2 : SalesItemId, columnSort : IColumnSorting, extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : number => {\n    const salesItem1 = extraArgs.salesItemFormData.salesItemsById.get(salesItemId1);\n    const salesItem2 = extraArgs.salesItemFormData.salesItemsById.get(salesItemId2);\n\n    if ((typeof salesItem1 === 'undefined') || (typeof salesItem2 === 'undefined')) {\n        throw new RuntimeException('unexpected');\n    }\n\n    const nameA = salesItem1.getSalesItem().getName() + ' ' + salesItem1.getSalesItem().getPOSId();\n    const nameB = salesItem2.getSalesItem().getName() + ' ' + salesItem2.getSalesItem().getPOSId();\n    return nameA.localeCompare(nameB); // not using clean phrase speeds this up noticeably...\n    // return cleanPhrase(nameA).localeCompare(cleanPhrase(nameB));\n};\n\nconst salesItemRowIdFilterFunction = (salesItemId : SalesItemId, filterTerm : string | null, extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : boolean => {\n    return defaultSalesItemRowFilter(salesItemId, filterTerm, extraArgs.salesItemFormData.salesItemsById, extraArgs.salesItemFormData.productsById);\n};\n\nconst getGroupNameForSalesItemRowId = (salesItemId : SalesItemId, groupByOption : GroupByOption, extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : string => {\n    // TODO Product: active vs archived?\n    return SALES_ITEMS_GROUP_NAME;\n};\n\nconst intermediateSalesItemResultCacheIsValid = (\n    rowIds : Array<SalesItemId>, lastRowIds : Array<SalesItemId>,\n    extraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs, lastExtraArgs : IProductAndSalesItemSearchBarSortingUtilExtraArgs) : boolean => {\n    return (extraArgs.salesItemFormData === lastExtraArgs.salesItemFormData); // (rowIds === lastRowIds) &&\n};\n\nexport const ProductSearchBarSortingUtil = new SortingFilteringAndGroupingUtil(\n    productRowIdComparator,\n    productRowIdFilterFunction,\n    getGroupNameForProductRowId,\n    groupNameComparator,\n    intermediateProductResultCacheIsValid\n);\n// TODO other option: could have one sorting util for both. but not sure that actually optimizes anything, and might make component more difficult\nexport const SalesItemSearchBarSortingUtil = new SortingFilteringAndGroupingUtil(\n    salesItemRowIdComparator,\n    salesItemRowIdFilterFunction,\n    getGroupNameForSalesItemRowId,\n    groupNameComparator,\n    intermediateSalesItemResultCacheIsValid\n);\n","import { ProductCost } from 'api/Product/model/ProductCost';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { productCountUtils } from 'api/Product/utils/productCountUtils';\nimport { IExpectedInventoryRowData } from 'apps/ExpectedInventoryReport/models/IExpectedInventoryRowData';\nimport moment from 'moment-timezone';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { BreakageReport } from 'api/Breakage/model/BreakageReport';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { InventoryCount } from 'api/InventoryCount/model/InventoryCount';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { TransferReportWithoutCost } from 'api/Transfer/model/TransferReportWithoutCost';\nimport { UsageCalculationParameters } from 'api/UsageData/model/UsageCalculationParameters';\nimport { UsageDataUtils } from 'api/UsageData/utils/usageDataUtils';\nimport {\n    getBreakagesTotalUnitCount, getInventoryUnitCount\n} from 'apps/UsageReport/utils/Utils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport { exportUtils, loadXlsx } from 'shared/utils/exportUtils';\nimport { ISortedFilteredAndGroupedResult } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { IReportSpecificData } from '../appTypes';\n\ninterface IExpectedInventoryBreakdownResponse {\n    usageCalculationParameters : UsageCalculationParameters;\n    unitCountsByProductIdByBreakageId : StringValueMap<ProductId, StringValueMap<BreakageId, QuantityInUnit<ProductQuantityUnit>>>;\n    unitCountsByProductIdBySalesItemIdForPeriod : StringValueMap<ProductId, StringValueMap<SalesItemId, QuantityInUnit<ProductQuantityUnit>>>;\n}\n\nconst getUnitCountByProductIdByStorageAreaIdForInventory = (inventoryCount : InventoryCount, productsById : StringValueMap<ProductId, Product>) : StringValueMap<ProductId, StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>>> => {\n    const unitCountByProductIdByStorageAreaId = new StringValueMap<ProductId, StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>>>();\n    inventoryCount.getProductCountEventsByProductIdByStorageAreaId().forEach((productIdProductCountEventMap, storageAreaId) => {\n        productIdProductCountEventMap.forEach((productCountEvent, productId) => {\n            const product = productsById.get(productId);\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            let unitCountByStorageAreaId : StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>> | undefined = unitCountByProductIdByStorageAreaId.get(productId);\n            if (typeof unitCountByStorageAreaId === 'undefined') {\n                unitCountByStorageAreaId = new StringValueMap();\n            }\n\n            const totalCount = productCountUtils.getTotalProductCountFromProductCountEvent(productCountEvent, product, productId);\n            const countInPreferredReportingUnit = productCountUtils.convertProductCountUnit(totalCount, product.getPreferredReportingUnit(), product.getPackagingsAndMappings());\n            const countInContainers = countInPreferredReportingUnit.getCount();\n            const countAsNumber = countInContainers === null ? 0 : decimalToNumber(countInContainers); // TODO 0 as null?\n\n            unitCountByStorageAreaId.set(\n                storageAreaId,\n                new QuantityInUnit(countAsNumber, product.getPreferredReportingUnit())\n            );\n\n            unitCountByProductIdByStorageAreaId.set(productId, unitCountByStorageAreaId);\n        });\n    });\n    return unitCountByProductIdByStorageAreaId;\n};\n\nconst getUnitCountSoldByProductIdBySalesItemId = (\n    salesBySalesItemId : StringValueMap<SalesItemId, SalesEntry>,\n    flattenedMapOfProductsInSalesItems : StringValueMap<SalesItemId, StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>>,\n    productsById : StringValueMap<ProductId, Product>,\n) : StringValueMap<ProductId, StringValueMap<SalesItemId, QuantityInUnit<ProductQuantityUnit>>> => {\n    const unitCountsByProductIdBySalesItemIdForPeriod = new StringValueMap<ProductId, StringValueMap<SalesItemId, QuantityInUnit<ProductQuantityUnit>>>();\n    salesBySalesItemId.forEach((salesEntry, salesItemId) => {\n        const quantitySold = getNumberForUndefinedOrNullValue(salesEntry.getQuantity()) + getNumberForUndefinedOrNullValue(salesEntry.getQuantityAdjustment());\n        const productsInSalesItem = flattenedMapOfProductsInSalesItems.get(salesItemId);\n\n        if (typeof productsInSalesItem !== 'undefined') {\n            productsInSalesItem.forEach((quantityInUnit, productId) => {\n                if (!unitCountsByProductIdBySalesItemIdForPeriod.has(productId)) {\n                    unitCountsByProductIdBySalesItemIdForPeriod.set(productId, new StringValueMap<SalesItemId, QuantityInUnit<ProductQuantityUnit>>());\n                }\n\n                const unitCountBySalesItemId = unitCountsByProductIdBySalesItemIdForPeriod.get(productId);\n                const product = productsById.get(productId);\n\n                if ((typeof unitCountBySalesItemId === 'undefined') || (typeof product === 'undefined')) {\n                    throw new RuntimeException('unexpected');\n                }\n\n                const packagingsAndMappings = product.getPackagingsAndMappings();\n                const preferredReportingUnit = product.getPreferredReportingUnit();\n                const unitCountSoldForOneItem = PackagingUtils.convertProductQuantityToUnit(\n                    packagingsAndMappings,\n                    quantityInUnit,\n                    preferredReportingUnit,\n                    productId\n                ).getQuantity();\n                const totalUnitCountSold = unitCountSoldForOneItem * quantitySold;\n\n                unitCountBySalesItemId.set(salesItemId, new QuantityInUnit(totalUnitCountSold, preferredReportingUnit));\n            });\n        }\n    });\n\n    return unitCountsByProductIdBySalesItemIdForPeriod;\n};\n\nconst getExpectedInventoryBreakdownByUnitCount = (\n    inventoryCount : InventoryCount,\n    deliveriesByDeliveryId : StringValueMap<DeliveryId, Delivery>,\n    transferReportWithoutCostsByTransferId : StringValueMap<TransferId, TransferReportWithoutCost>,\n    breakageReportsByBreakageId : StringValueMap<BreakageId, BreakageReport>,\n    prepEventsByPrepEventId : StringValueMap<PrepEventId, PrepEvent>,\n    salesBySalesItemId : StringValueMap<SalesItemId, SalesEntry>,\n    productsById : StringValueMap<ProductId, Product>,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n) : IExpectedInventoryBreakdownResponse => {\n\n    const startUnitCountByProductIdByStorageAreaId = getUnitCountByProductIdByStorageAreaIdForInventory(\n        inventoryCount,\n        productsById,\n    );\n\n    const unitCountByProductIdByDeliveryId = UsageDataUtils.getUnitCountByProductIdByDeliveryId(deliveriesByDeliveryId, productsById);\n    const unitCountByProductIdByTransferId = UsageDataUtils.getUnitCountByProductIdByTransferId(transferReportWithoutCostsByTransferId, productsById);\n    const {\n        inputUnitCountByProductIdByPrepEventId,\n        outputUnitCountByProductIdByPrepEventId\n    } = UsageDataUtils.getUnitCountsByProductIdByPrepEventId(prepEventsByPrepEventId, productsById);\n\n    const unitCountsByProductIdByBreakageId = UsageDataUtils.getUnitCountByProductIdByBreakageId(breakageReportsByBreakageId, productsById);\n\n    const unitCostsByProductId = new StringValueMap<ProductId, ProductCost>(); // TODO should we calculate this?? no real need right now...\n\n    // TODO could cache this OR put on state so we don't have to recalc all the time...\n    const flattenedMapOfProductsInSalesItems = getCachedFlattenedMapOfProductsInSalesItems(salesItemsById, productsById);\n\n    const unitCountsByProductIdBySalesItemIdForPeriod = getUnitCountSoldByProductIdBySalesItemId(salesBySalesItemId, flattenedMapOfProductsInSalesItems, productsById);\n\n    return {\n        usageCalculationParameters: new UsageCalculationParameters(\n            startUnitCountByProductIdByStorageAreaId,\n            new StringValueMap(),\n            unitCountByProductIdByDeliveryId,\n            unitCountByProductIdByTransferId,\n            inputUnitCountByProductIdByPrepEventId,\n            outputUnitCountByProductIdByPrepEventId,\n            unitCostsByProductId,\n        ),\n        unitCountsByProductIdByBreakageId,\n        unitCountsByProductIdBySalesItemIdForPeriod\n    };\n};\n\nconst getSalesItemsTotalUnitCount = (product : Product, unitCountBySalesItemId : StringValueMap<SalesItemId, QuantityInUnit<ProductQuantityUnit>> | undefined) : QuantityInUnit<ProductQuantityUnit> | undefined => {\n    if (typeof unitCountBySalesItemId === 'undefined') {\n        return unitCountBySalesItemId;\n    }\n\n    let totalUnitCount : number = 0;\n    const preferredReportingUnit = product.getPreferredReportingUnit();\n    unitCountBySalesItemId.forEach((unitCount, salesItemId) => {\n        totalUnitCount += unitCount.getQuantity();\n        if (!PackagingUtils.productQuantityUnitsAreEqual(unitCount.getUnit(), preferredReportingUnit)) {\n            unitCount = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), unitCount, preferredReportingUnit);\n        }\n    });\n    if (preferredReportingUnit) {\n        return new QuantityInUnit<ProductQuantityUnit>(totalUnitCount, preferredReportingUnit);\n    }\n    return undefined;\n};\n\nconst getExpectedUnitCountForProduct = (\n    product : Product,\n    startingInventoryUnitCount : QuantityInUnit<ProductQuantityUnit> | undefined,\n    deliveriesAndTransfersAndPrepsCount : QuantityInUnit<ProductQuantityUnit> | null | undefined,\n    breakageUnitCount : QuantityInUnit<ProductQuantityUnit> | null | undefined,\n    salesUnitCount : QuantityInUnit<ProductQuantityUnit> | undefined,\n) : number | null => {\n\n    if (deliveriesAndTransfersAndPrepsCount === null) {\n        return null; // not calculable\n    }\n    const startingInventoryUnitCountInPreferredReportingUnit = startingInventoryUnitCount ? PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), startingInventoryUnitCount, product.getPreferredReportingUnit()).getQuantity() : 0;\n    const deliveriesAndTransfersAndPrepsCountInPreferredReportingUnit = deliveriesAndTransfersAndPrepsCount ? PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), deliveriesAndTransfersAndPrepsCount, product.getPreferredReportingUnit()).getQuantity() : 0;\n    const breakageUnitCountInPreferredReportingUnit = breakageUnitCount ? PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), breakageUnitCount, product.getPreferredReportingUnit()).getQuantity() : 0;\n    const salesUnitCountInPreferredReportingUnit = salesUnitCount ? PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), salesUnitCount, product.getPreferredReportingUnit()).getQuantity() : 0;\n    return startingInventoryUnitCountInPreferredReportingUnit + deliveriesAndTransfersAndPrepsCountInPreferredReportingUnit - breakageUnitCountInPreferredReportingUnit - salesUnitCountInPreferredReportingUnit;\n};\n\nexport const getExpectedInventoryCostForProduct = (\n    expectedInventoryUnitCount : number | null | undefined,\n    product : Product,\n    productCost : ProductCost\n) : number | undefined => {\n    if (expectedInventoryUnitCount == null) {\n        return undefined;\n    }\n    return expectedInventoryUnitCount * productCostUtils.getCostInUnit(productCost, product.getPreferredReportingUnit(), product.getPackagingsAndMappings());\n};\n\nexport const getNumberForUndefinedOrNullValue = (value : number | undefined | null) : number => {\n    if (typeof value === 'undefined' || value === null) {\n        return 0;\n    }\n    return value;\n};\n\nexport const getNumberForQuantityInUnitOrUndefinedValue = (quantityInUnit : QuantityInUnit<ProductQuantityUnit> | undefined | null) : number => {\n    if (typeof quantityInUnit === 'undefined' || quantityInUnit === null) {\n        return 0;\n    }\n    return quantityInUnit.getQuantity();\n};\n\n// We might want to make this function a shared util rather than living here (same issue with CachedSalesItemCostUtils.ts)\nlet lastSalesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata> | undefined;\nlet lastProductsById : StringValueMap<ProductId, Product> | undefined;\nconst cachedFlattenedMapOfProductsInSalesItems = new StringValueMap<SalesItemId, StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>>();\nconst getCachedFlattenedMapOfProductsInSalesItems = (\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n) : StringValueMap<SalesItemId, StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>> => {\n    // Future work: if we have a use case, we can pass in a set of ids to calculate for, and only retrieve those\n    // future optimization: can just compare relevant sales item info in sales items by id to see if we need to recalculate (ingredients, yield, serving size)\n    if (productsById !== lastProductsById || salesItemsById !== lastSalesItemsById) {\n        cachedFlattenedMapOfProductsInSalesItems.clear();\n        lastProductsById = productsById;\n        lastSalesItemsById = salesItemsById;\n\n        const allItems = SalesItemUtils.flattenSalesItemsIntoProductPerServingComponents(\n            salesItemsById,\n            productsById,\n        );\n        allItems.forEach((productMap, salesItemId) => cachedFlattenedMapOfProductsInSalesItems.set(salesItemId, productMap));\n        return allItems;\n    } else {\n        return cachedFlattenedMapOfProductsInSalesItems;\n    }\n};\n\nconst exportReportToExcel = async (\n    retailerName : string,\n    startDate : moment.Moment,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsById : StringValueMap<ProductId, ProductCost>,\n    sortedFilteredGroupedRowData : ISortedFilteredAndGroupedResult<ProductId>,\n    reportSpecificData : IReportSpecificData,\n) => {\n    const xlsx = await loadXlsx();\n    const startDateInRetailerTimeZone = startDate.tz(window.GLOBAL_RETAILER_TIME_ZONE);\n    const endDateInRetailerTimeZone = moment.utc().tz(window.GLOBAL_RETAILER_TIME_ZONE);\n    const fileName = exportUtils.getStandardReportFileName(retailerName, 'expected_inventory', startDateInRetailerTimeZone, endDateInRetailerTimeZone);\n\n    const firstRow = [`Expected inventory for ${ retailerName }`];\n    const secondRow = [`${ startDateInRetailerTimeZone.format('MM/DD/YY') } - ${ endDateInRetailerTimeZone.format('MM/DD/YY') }`];\n\n    const headersRow = ['Item', 'Package', 'Starting Count', 'Deliveries/Transfers/Preps', 'Sales', 'Losses', 'Expected Inventory', 'Inventory Value'];\n    const arrayOfArraysForSheet : Array<Array<string | number>> = [\n        firstRow,\n        secondRow,\n        [],\n        headersRow\n    ];\n\n    sortedFilteredGroupedRowData.sortedGroupNamesToDisplay.forEach((groupName : string) => {\n        const groupNameRow = [groupName];\n\n        arrayOfArraysForSheet.push(groupNameRow);\n\n        const sortedRowIds = sortedFilteredGroupedRowData.sortedRowIdsToDisplayByGroupName[groupName];\n        sortedRowIds.forEach((productId) => {\n            const product = productsById.get(productId);\n\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const productCost = productCostsById.getRequired(productId);\n\n            const rowData = ExpectedInventoryReportUtils.generateRowData(productId, product, productCost, reportSpecificData);\n            const expectedInventoryValueLabel = typeof rowData.expectedInventoryValue === 'undefined' ? '' : FormatMonetaryValueWithCents(rowData.expectedInventoryValue);\n\n            const row = [\n                `${ product.getBrand() }${ product.getBrand().length === 0 ? '' : ' '}${ product.getName() }`,\n                oldPackagingUtils.getDisplayTextForPackaging(product.getOldPackaging(), true),\n                getNumberForQuantityInUnitOrUndefinedValue(rowData.startingInventoryUnitCount),\n                getNumberForQuantityInUnitOrUndefinedValue(rowData.deliveriesAndTransfersAndPrepsCount),\n                getNumberForQuantityInUnitOrUndefinedValue(rowData.salesUnitCount),\n                getNumberForQuantityInUnitOrUndefinedValue(rowData.breakageUnitCount),\n                getNumberForUndefinedOrNullValue(rowData.expectedInventoryTotal),\n                expectedInventoryValueLabel,\n            ];\n            arrayOfArraysForSheet.push(row);\n        });\n        arrayOfArraysForSheet.push([]); // empty row between groups\n    });\n\n    const workSheet = xlsx.utils.aoa_to_sheet(arrayOfArraysForSheet);\n    const workBook = xlsx.utils.book_new();\n    xlsx.utils.book_append_sheet(workBook, workSheet, 'Expected Inventory');\n\n    await exportUtils.writeWorkBookToFile(workBook, fileName, 'xlsx');\n};\n\nconst generateRowData = (productId : ProductId, product : Product, productCost : ProductCost, reportSpecificData : IReportSpecificData) => {\n    const unitCountByBreakageId = reportSpecificData.unitCountsByProductIdByBreakageId.get(productId);\n    const unitCountByDeliveryId = reportSpecificData.usageCalculationParameters.getUnitCountsByProductIdByDeliveryId().get(productId);\n    const unitCountByTransferId = reportSpecificData.usageCalculationParameters.getUnitCountsByProductIdByTransferId().get(productId);\n    const unitCountByStorageAreaIdForStartingInventory = reportSpecificData.usageCalculationParameters.getUnitCountsByProductIdByStorageAreaIdForStartingInventory().get(productId);\n    const inputUnitCountByPrepEventId = reportSpecificData.usageCalculationParameters.getInputUnitCountsByProductIdByPrepEventId().get(productId);\n    const outputUnitCountByPrepEventId = reportSpecificData.usageCalculationParameters.getOutputUnitCountsByProductIdByPrepEventId().get(productId);\n    const unitCountBySalesItemIdForPeriod = reportSpecificData.unitCountsByProductIdBySalesItemIdForPeriod.get(productId);\n\n    const startingInventoryUnitCount = getInventoryUnitCount(product, unitCountByStorageAreaIdForStartingInventory);\n    const deliveriesAndTransfersAndPrepsCount =\n        UsageDataUtils.getDeliveriesAndTransfersAndPrepsCounts(\n            product,\n            unitCountByDeliveryId,\n            unitCountByTransferId,\n            inputUnitCountByPrepEventId,\n            outputUnitCountByPrepEventId,\n        ).deliveriesAndTransfersAndPrepsTotalCount;\n\n    const breakageUnitCount = getBreakagesTotalUnitCount(product, unitCountByBreakageId);\n    const salesUnitCount = ExpectedInventoryReportUtils.getSalesItemsTotalUnitCount(product, unitCountBySalesItemIdForPeriod);\n\n    const expectedInventoryTotal = ExpectedInventoryReportUtils.getExpectedUnitCountForProduct(product, startingInventoryUnitCount, deliveriesAndTransfersAndPrepsCount, breakageUnitCount, salesUnitCount);\n\n    const expectedInventoryValue = ExpectedInventoryReportUtils.getExpectedInventoryCostForProduct(expectedInventoryTotal, product, productCost);\n\n    const rowData : IExpectedInventoryRowData = {\n        unitCountByBreakageId,\n        unitCountByDeliveryId,\n        unitCountByTransferId,\n        unitCountByStorageAreaIdForStartingInventory,\n        inputUnitCountByPrepEventId,\n        outputUnitCountByPrepEventId,\n        unitCountBySalesItemIdForPeriod,\n        startingInventoryUnitCount,\n        deliveriesAndTransfersAndPrepsCount,\n        breakageUnitCount,\n        salesUnitCount,\n        expectedInventoryTotal,\n        expectedInventoryValue,\n        productCost\n    };\n\n    return rowData;\n};\n\nexport const ExpectedInventoryReportUtils = {\n    getExpectedInventoryBreakdownByUnitCount,\n    getExpectedUnitCountForProduct,\n    getExpectedInventoryCostForProduct,\n    getSalesItemsTotalUnitCount,\n    getCachedFlattenedMapOfProductsInSalesItems,\n    exportReportToExcel,\n    getUnitCountSoldByProductIdBySalesItemId,\n    generateRowData\n};\n","// TODO later rename this file to reflect what it actually does\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ALL_ITEMS_GROUP_NAME, GroupByOption } from 'shared/models/GroupByOption';\nimport { SortDirection } from 'shared/models/SortDirection';\nimport {\n    defaultGroupNameComparator,\n    getBrandAndNameStringForSort\n} from 'shared/utils/productSortingFilteringAndGroupingUtils';\nimport { cleanPhrase, SortingFilteringAndGroupingUtil } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { getDefaultTimestampGroupName } from 'shared/utils/timestampSortingFilteringAndGroupingUtils';\n\ninterface IUnassignedItemsSortingUtilExtraArgs {\n    productsById : StringValueMap<ProductId, Product>;\n    storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>;\n    storageAreasById : StringValueMap<StorageAreaId, StorageArea>;\n}\n\nconst isTokenInString = (str : string, token : string) : boolean => {\n    return (str.indexOf(token) > -1);\n};\n\nconst createProductStringForFilter = (product : Product, storageAreaNamesForProduct : Array<string>) : string => {\n    const brand = cleanPhrase(product.getBrand());\n    const name = cleanPhrase(product.getName());\n    const category = cleanPhrase(product.getProductCategoryId());\n    const type = cleanPhrase(product.getProductType());\n    const sku = cleanPhrase(product.getSku());\n    const note = cleanPhrase(product.getNote()); // right now tokenizing all words in note -- may want to update behavior in the future to only search entire phrase\n\n    const cleanedStorageAreaNamesForProduct = storageAreaNamesForProduct.map((storageAreaName : string) => cleanPhrase(storageAreaName));\n\n    const productStringArray = [brand, name, category, type, sku, note].concat(cleanedStorageAreaNamesForProduct);\n\n    return productStringArray.join(' ');\n};\n\nconst productFilterStringCache = new StringValueMap<ProductId, string>();\nlet lastProductsById = new StringValueMap<ProductId, Product>();\n\nconst cachedCreateProductStringForFilter = (\n    productId : ProductId,\n    productsById : StringValueMap<ProductId, Product>,\n    storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>,\n    storageAreasById : StringValueMap<StorageAreaId, StorageArea>,\n) : string => {\n\n    if (productsById !== lastProductsById) {\n        lastProductsById = productsById;\n        productFilterStringCache.clear();\n    }\n\n    if (productFilterStringCache.has(productId)) {\n        return productFilterStringCache.getRequired(productId);\n    }\n\n    const product = productsById.getRequired(productId);\n    const storageAreaIdSet = storageAreaIdSetByProductId.getRequired(productId);\n    const storageAreaNamesForProduct : Array<string> = [];\n    storageAreaIdSet.forEach((storageAreaId) => {\n        const storageArea = storageAreasById.getRequired(storageAreaId);\n        storageAreaNamesForProduct.push(storageArea.getName());\n    });\n\n    const productStringForFilter =  createProductStringForFilter(product, storageAreaNamesForProduct);\n    productFilterStringCache.set(productId, productStringForFilter);\n\n    return productStringForFilter;\n};\n\nconst rowIdComparator = (productId1 : ProductId, productId2 : ProductId, columnSort : IColumnSorting, extraArgs : IUnassignedItemsSortingUtilExtraArgs) : number => {\n    const direction = columnSort.direction;\n    const sortedBy = columnSort.sortedBy;\n\n    const product1 = extraArgs.productsById.getRequired(productId1);\n    const product2 = extraArgs.productsById.getRequired(productId2);\n    const storageAreaIdSet1 = extraArgs.storageAreaIdSetByProductId.getRequired(productId1);\n    const storageAreaIdSet2 = extraArgs.storageAreaIdSetByProductId.getRequired(productId2);\n\n    let comparisonResult : number;\n    switch (sortedBy) {\n        case 'ITEM_NAME':\n            const nameString1 = getBrandAndNameStringForSort(product1);\n            const nameString2 = getBrandAndNameStringForSort(product2);\n            comparisonResult = nameString1.localeCompare(nameString2);\n            break;\n        case 'STORAGE_AREAS':\n            comparisonResult = storageAreaIdSet1.size - storageAreaIdSet2.size; // TODO compare this correctly\n            break;\n        default:\n            throw new RuntimeException('unhandled sort field');\n    }\n\n    if (direction === SortDirection.DESCENDING) {\n        return comparisonResult * -1;\n    }\n\n    return comparisonResult;\n};\n\nconst rowIdFilterFunction = (productId : ProductId, filterTerm : string | null, extraArgs : IUnassignedItemsSortingUtilExtraArgs) : boolean => {\n    if (filterTerm === null || filterTerm === '') {\n        return true;\n    }\n\n    const productsById = extraArgs.productsById;\n\n    const productStringForSearch = cachedCreateProductStringForFilter(productId, productsById, extraArgs.storageAreaIdSetByProductId, extraArgs.storageAreasById);\n    const filterTokens = filterTerm.split(' ');\n\n    for (let i = 0; i < filterTokens.length; i++) {\n        if (!isTokenInString(productStringForSearch, filterTokens[i])) {\n            return false;\n        }\n    }\n\n    return true;\n};\n\nconst getGroupNameForRowId = (productId : ProductId, groupByOption : GroupByOption, extraArgs : IUnassignedItemsSortingUtilExtraArgs) : string => {\n    const product = extraArgs.productsById.getRequired(productId);\n    switch (groupByOption) {\n        case GroupByOption.ALL_ITEMS:\n            return ALL_ITEMS_GROUP_NAME;\n        case GroupByOption.CATEGORY:\n            return product.getProductCategoryId();\n        case GroupByOption.ITEM_TYPE:\n            return product.getProductType();\n        case GroupByOption.LAST_EDITED:\n            return getDefaultTimestampGroupName(product.getLastUpdateEvent().getTimestamp());\n        case GroupByOption.DISTRIBUTOR:\n        case GroupByOption.GL_CODE:\n        case GroupByOption.MENU_GROUP:\n        default:\n            throw new RuntimeException('unexpected groupByOption');\n    }\n};\n\nconst intermediateResultCacheIsValid = (rowIds : Array<ProductId>, lastRowIds : Array<ProductId>, extraArgs : IUnassignedItemsSortingUtilExtraArgs, lastExtraArgs : IUnassignedItemsSortingUtilExtraArgs) : boolean => {\n    return ((rowIds === lastRowIds) &&\n            (extraArgs.productsById === lastExtraArgs.productsById) &&\n            (extraArgs.storageAreaIdSetByProductId === lastExtraArgs.storageAreaIdSetByProductId) &&\n            (extraArgs.storageAreasById === lastExtraArgs.storageAreasById));\n};\n\nconst groupNameComparator = (groupName1 : string, groupName2 : string, groupByOption : GroupByOption, extraArgs : IUnassignedItemsSortingUtilExtraArgs) => {\n    return defaultGroupNameComparator(groupName1, groupName2, groupByOption);\n};\n\nexport const unassignedItemsSortingUtil = new SortingFilteringAndGroupingUtil(\n    rowIdComparator,\n    rowIdFilterFunction,\n    getGroupNameForRowId,\n    groupNameComparator,\n    intermediateResultCacheIsValid\n);\n","import throttle from 'lodash/throttle';\nimport { ThunkAction, IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { GroupByOption } from 'shared/models/GroupByOption';\n\nimport { DropdownRow } from 'apps/InventoryCount/components/UnassignedItems/UnassignedItemsView';\nimport { ComponentName, IUnassignedItemsState } from 'apps/InventoryCount/reducers/UnassignedItemsReducers';\nimport { BevSpotDispatch, IExtraArguments } from 'shared/components/Provider';\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\n\nimport { unassignedItemsSortingUtil } from '../utils/UnassignedItemsSortingUtil';\n\nexport interface IUnassignedItemsStore {\n    unassignedItemsState : IUnassignedItemsState;\n}\n\nexport const ActionTypes = {\n    SET_VISIBLE_DROPDOWN_ROW: 'UNASSIGNED_ITEMS/SET_VISIBLE_DROPDOWN_ROW',\n    SET_MORE_OPTIONS_IS_SHOWN_FOR_PRODUCT_IDS: 'UNASSIGNED_ITEMS/SET_MORE_OPTIONS_IS_SHOWN_FOR_PRODUCT_IDS',\n    SET_COMPONENT_IS_SHOWN: 'UNASSIGNED_ITEMS/SET_COMPONENT_IS_SHOWN',\n    SET_PRODUCT_ROWS_SELECTED: 'UNASSIGNED_ITEMS/SET_PRODUCT_ROWS_SELECTED',\n    SET_ACTIVE_GROUP_BY_OPTION: 'UNASSIGNED_ITEMS/SET_ACTIVE_GROUP_BY_OPTION',\n    SET_SORTED_GROUP_NAMES_AND_SORTED_PRODUCT_IDS_TO_DISPLAY_BY_GROUP_NAME: 'UNASSIGNED_ITEMS/SET_SORTED_GROUP_NAMES_AND_SORTED_PRODUCT_IDS_TO_DISPLAY_BY_GROUP_NAME',\n    SET_PRODUCTS_BY_ID_AND_STORAGE_AREA_ID_SET_BY_PRODUCT_ID: 'UNASSIGNED_ITEMS/SET_PRODUCTS_BY_ID_AND_STORAGE_AREA_ID_SET_BY_PRODUCT_ID',\n    SET_TABLE_SORTING: 'UNASSIGNED_ITEMS/SET_TABLE_SORTING',\n    SET_SEARCH_TERM: 'UNASSIGNED_ITEMS/SET_SEARCH_TERM',\n    SET_PANEL_IS_OPEN_FROM_USER_INPUT_FOR_GROUP_NAMES: 'UNASSIGNED_ITEMS/SET_PANEL_IS_OPEN_FROM_USER_INPUT_FOR_GROUP_NAMES',\n    SET_DEFAULT_PANEL_IS_OPEN: 'UNASSIGNED_ITEMS/SET_DEFAULT_PANEL_IS_OPEN'\n};\n\nexport namespace UnassignedItemsActionInterfaces {\n    export interface ISetVisibleDropdownRow extends IAction {\n        payload : {\n            visibleDropdownRow : DropdownRow | null;\n        };\n    }\n\n    export interface ISetMoreOptionsIsShownForProductIds extends IAction {\n        payload : {\n            productIds : StringValueSet<ProductId>,\n            isShown : boolean,\n        };\n    }\n\n    export interface ISetComponentIsShown extends IAction {\n        payload : {\n            isShown : boolean,\n            componentName : ComponentName\n        };\n    }\n\n    export interface ISetSelectedProductIds extends IAction {\n        payload : {\n            productIds : StringValueSet<ProductId>,\n        };\n    }\n\n    export interface ISetActiveGroupByOption extends IAction {\n        payload : {\n            groupByOption : GroupByOption,\n        };\n    }\n\n    export interface ISetTableSorting extends IAction {\n        payload : {\n            columnSort : IColumnSorting,\n        };\n    }\n\n    export interface ISetSearchTerm extends IAction {\n        payload : {\n            searchTerm : string | null,\n        };\n    }\n\n    export interface ISetDefaultPanelIsOpen extends IAction {\n        payload : {\n            defaultPanelIsOpen : boolean,\n        };\n    }\n\n    export interface ISetPanelIsOpenFromUserInputForGroupNames extends IAction {\n        payload : {\n            groupNames : Set<string>,\n            panelIsOpen : boolean,\n        };\n    }\n\n    export interface ISetProductsByIdAndStorageAreaIdSetByProductId extends IAction {\n        payload : {\n            productIdsForDisplay : StringValueSet<ProductId>,\n            productsById : StringValueMap<ProductId, Product>,\n            storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>,\n            storageAreasById : StringValueMap<StorageAreaId, StorageArea>\n        };\n    }\n\n    export interface ISetSortedGroupNamesAndSortedProductIdsToDisplayByGroupName extends IAction {\n        payload : {\n            sortedGroupNamesToDisplay : Array<string>,\n            sortedProductIdsToDisplayByGroupName : {[groupName : string] : Array<ProductId>},\n            panelIsOpenByGroupNameFromFiltering : {[groupName : string] : boolean},\n            unfilteredSortedProductIdsByGroupName : {[groupName : string] : Array<ProductId>},\n        };\n    }\n\n    export type IServices = object;\n\n    export interface IUnassignedItemsExtraArguments extends IExtraArguments {\n        services : IServices;\n    }\n\n    export interface IUnassignedItemsActionCreatorsMapObject extends IActionCreatorsMapObject {\n        setVisibleDropdownRow : (\n            visibleDropdownRow : DropdownRow | null,\n        ) => UnassignedItemsActionInterfaces.ISetVisibleDropdownRow;\n        setMoreOptionsIsShownForProductIds : (\n            productIds : StringValueSet<ProductId>,\n            isShown : boolean,\n        ) => ISetMoreOptionsIsShownForProductIds;\n        setComponentIsShown : (\n            componentName : ComponentName,\n            isShown : boolean,\n        ) => ISetComponentIsShown;\n        setSelectedProductIds : ISetSelectedProductIdsActionCreator;\n        setActiveGroupByOption : ISetActiveGroupByOptionActionCreator;\n        setSortedGroupNamesAndSortedProductIdsToDisplayByGroupName : ISetSortedGroupNamesAndSortedProductIdsToDisplayByGroupNameActionCreator;\n        setProductsByIdAndStorageAreaIdSetByProductId : ISetProductsByIdAndStorageAreaIdSetByProductIdActionCreator;\n        setPanelIsOpenFromUserInputForGroupNames : ISetPanelIsOpenFromUserInputForGroupNamesActionCreator;\n\n        onSelectActiveGroupByOption : (\n            groupByOption : GroupByOption,\n            productsById : StringValueMap<ProductId, Product>,\n            storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>\n        ) => ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments>;\n        setSortingFilteringAndGroupingOnPropsChange : (\n            productIdsForDisplay : StringValueSet<ProductId>,\n            productsById : StringValueMap<ProductId, Product>,\n            storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>,\n            storageAreasById : StringValueMap<StorageAreaId, StorageArea>,\n            searchTerm : string | null,\n        ) => ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments>;\n        onSelectActiveColumnSort : (\n            columnSort : IColumnSorting\n        ) => ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments>;\n        onSearchTermChange : (\n            searchTerm : string | null\n        ) => ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments>;\n        onCollapseAllClick : (\n            nextClickWillCollapseAll : boolean,\n        ) => ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments>;\n    }\n}\n\nexport type UnassignedItemsDispatch = BevSpotDispatch<IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments>;\n\ntype ISetVisibleDropdownRowActionCreator = (\n    visibleDropdownRow : DropdownRow | null,\n) => UnassignedItemsActionInterfaces.ISetVisibleDropdownRow;\ntype ISetMoreOptionsIsShownForProductIdsActionCreator = (\n    productIds : StringValueSet<ProductId>,\n    isShown : boolean,\n) => UnassignedItemsActionInterfaces.ISetMoreOptionsIsShownForProductIds;\ntype ISetComponentIsShownActionCreator = (componentName : ComponentName, isShown : boolean) => UnassignedItemsActionInterfaces.ISetComponentIsShown;\ntype ISetSelectedProductIdsActionCreator = (productIds : StringValueSet<ProductId>) => UnassignedItemsActionInterfaces.ISetSelectedProductIds;\ntype ISetActiveGroupByOptionActionCreator = (groupByOption : GroupByOption) => UnassignedItemsActionInterfaces.ISetActiveGroupByOption;\ntype ISetSortedGroupNamesAndSortedProductIdsToDisplayByGroupNameActionCreator = (\n    sortedGroupNamesToDisplay : Array<string>,\n    sortedProductIdsToDisplayByGroupName : {[groupName : string] : Array<ProductId>},\n    panelIsOpenByGroupNameFromFiltering : {[groupName : string] : boolean},\n    unfilteredSortedProductIdsByGroupName : {[groupName : string] : Array<ProductId>},\n) => UnassignedItemsActionInterfaces.ISetSortedGroupNamesAndSortedProductIdsToDisplayByGroupName;\ntype ISetProductsByIdAndStorageAreaIdSetByProductIdActionCreator = (\n    productIdsForDisplay : StringValueSet<ProductId>,\n    productsById : StringValueMap<ProductId, Product>,\n    storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>,\n    storageAreasById : StringValueMap<StorageAreaId, StorageArea>,\n) => UnassignedItemsActionInterfaces.ISetProductsByIdAndStorageAreaIdSetByProductId;\ntype ISetTableSortingActionCreator = (columnSort : IColumnSorting) => UnassignedItemsActionInterfaces.ISetTableSorting;\ntype ISetSearchTermActionCreator = (searchTerm : string | null) => UnassignedItemsActionInterfaces.ISetSearchTerm;\ntype ISetPanelIsOpenFromUserInputForGroupNamesActionCreator = (\n    groupNames : Set<string>,\n    panelIsOpen : boolean,\n) => UnassignedItemsActionInterfaces.ISetPanelIsOpenFromUserInputForGroupNames;\n\nconst setVisibleDropdownRow : ISetVisibleDropdownRowActionCreator = (\n    visibleDropdownRow : DropdownRow | null,\n) : UnassignedItemsActionInterfaces.ISetVisibleDropdownRow => ({\n    payload: {\n        visibleDropdownRow,\n    },\n    type: ActionTypes.SET_VISIBLE_DROPDOWN_ROW,\n});\n\nconst setMoreOptionsIsShownForProductIds : ISetMoreOptionsIsShownForProductIdsActionCreator = (\n    productIds : StringValueSet<ProductId>,\n    isShown : boolean,\n) : UnassignedItemsActionInterfaces.ISetMoreOptionsIsShownForProductIds => ({\n    payload: {\n        productIds,\n        isShown,\n    },\n    type: ActionTypes.SET_MORE_OPTIONS_IS_SHOWN_FOR_PRODUCT_IDS\n});\n\nconst setComponentIsShown : ISetComponentIsShownActionCreator = (\n    componentName : ComponentName,\n    isShown : boolean,\n) : UnassignedItemsActionInterfaces.ISetComponentIsShown => ({\n    payload: {\n        isShown,\n        componentName,\n    },\n    type: ActionTypes.SET_COMPONENT_IS_SHOWN\n});\n\nconst setSelectedProductIds : ISetSelectedProductIdsActionCreator = (\n    productIds : StringValueSet<ProductId>,\n) : UnassignedItemsActionInterfaces.ISetSelectedProductIds => ({\n    payload: {\n        productIds,\n    },\n    type: ActionTypes.SET_PRODUCT_ROWS_SELECTED,\n});\n\nconst setActiveGroupByOption : ISetActiveGroupByOptionActionCreator = (\n    groupByOption : GroupByOption\n) : UnassignedItemsActionInterfaces.ISetActiveGroupByOption => ({\n    payload: {\n        groupByOption,\n    },\n    type: ActionTypes.SET_ACTIVE_GROUP_BY_OPTION,\n});\n\nconst setSortedGroupNamesAndSortedProductIdsToDisplayByGroupName : ISetSortedGroupNamesAndSortedProductIdsToDisplayByGroupNameActionCreator = (\n    sortedGroupNamesToDisplay : Array<string>,\n    sortedProductIdsToDisplayByGroupName : {[groupName : string] : Array<ProductId>},\n    panelIsOpenByGroupNameFromFiltering : {[groupName : string] : boolean},\n    unfilteredSortedProductIdsByGroupName : {[groupName : string] : Array<ProductId>},\n) : UnassignedItemsActionInterfaces.ISetSortedGroupNamesAndSortedProductIdsToDisplayByGroupName => ({\n    payload: {\n        sortedGroupNamesToDisplay,\n        sortedProductIdsToDisplayByGroupName,\n        panelIsOpenByGroupNameFromFiltering,\n        unfilteredSortedProductIdsByGroupName,\n    },\n    type: ActionTypes.SET_SORTED_GROUP_NAMES_AND_SORTED_PRODUCT_IDS_TO_DISPLAY_BY_GROUP_NAME\n});\n\nconst setProductsByIdAndStorageAreaIdSetByProductId : ISetProductsByIdAndStorageAreaIdSetByProductIdActionCreator = (\n    productIdsForDisplay : StringValueSet<ProductId>,\n    productsById : StringValueMap<ProductId, Product>,\n    storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>,\n    storageAreasById : StringValueMap<StorageAreaId, StorageArea>,\n) : UnassignedItemsActionInterfaces.ISetProductsByIdAndStorageAreaIdSetByProductId => ({\n    payload: {\n        productIdsForDisplay,\n        productsById,\n        storageAreaIdSetByProductId,\n        storageAreasById,\n    },\n    type: ActionTypes.SET_PRODUCTS_BY_ID_AND_STORAGE_AREA_ID_SET_BY_PRODUCT_ID,\n});\n\nconst setTableSorting : ISetTableSortingActionCreator = (\n    columnSort : IColumnSorting,\n) : UnassignedItemsActionInterfaces.ISetTableSorting => ({\n    payload: {\n        columnSort,\n    },\n    type: ActionTypes.SET_TABLE_SORTING\n});\n\nconst setSearchTerm : ISetSearchTermActionCreator = (\n    searchTerm : string | null,\n) : UnassignedItemsActionInterfaces.ISetSearchTerm => ({\n    payload: {\n        searchTerm,\n    },\n    type: ActionTypes.SET_SEARCH_TERM\n});\n\nconst setPanelIsOpenFromUserInputForGroupNames : ISetPanelIsOpenFromUserInputForGroupNamesActionCreator = (\n    groupNames : Set<string>,\n    panelIsOpen : boolean,\n) : UnassignedItemsActionInterfaces.ISetPanelIsOpenFromUserInputForGroupNames => ({\n    payload: {\n        groupNames,\n        panelIsOpen,\n    },\n    type: ActionTypes.SET_PANEL_IS_OPEN_FROM_USER_INPUT_FOR_GROUP_NAMES,\n});\n\nconst setDefaultPanelIsOpen = (\n    defaultPanelIsOpen : boolean,\n) : UnassignedItemsActionInterfaces.ISetDefaultPanelIsOpen => ({\n    payload: {\n        defaultPanelIsOpen,\n    },\n    type: ActionTypes.SET_DEFAULT_PANEL_IS_OPEN\n});\n\nconst handleSortingFilteringAndGrouping = () : ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments> => {\n    return throttledHandleSortingFilteringAndGrouping;\n};\n\nconst throttledHandleSortingFilteringAndGrouping: ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments> = throttle(\n    (dispatch, getState, extraArguments) : void => {\n        const state = getState().unassignedItemsState;\n\n        const extraArgumentsForSorting = {\n            productsById: state.productsById,\n            storageAreaIdSetByProductId: state.storageAreaIdSetByProductId,\n            storageAreasById: state.storageAreasById,\n        };\n\n        void unassignedItemsSortingUtil.getSortedFilteredAndGroupedResult(\n            Array.from(state.productIdsForDisplay.values()),\n            state.tableSorting,\n            state.searchTerm,\n            state.activeGroupByOption,\n            extraArgumentsForSorting\n        )\n        .then((result) => {\n            dispatch(setSortedGroupNamesAndSortedProductIdsToDisplayByGroupName(\n                result.sortedGroupNamesToDisplay,\n                result.sortedRowIdsToDisplayByGroupName,\n                result.panelIsOpenByGroupNameFromFiltering,\n                result.unfilteredSortedRowIdsByGroupName,\n            ));\n        });\n    }, 200, { leading : false }\n);\n\nconst onSearchTermChange = (\n    searchTerm : string | null,\n) : ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setSearchTerm(searchTerm));\n        dispatch(handleSortingFilteringAndGrouping());\n    };\n};\n\nconst onSelectActiveGroupByOption = (\n    groupByOption : GroupByOption,\n    productsById : StringValueMap<ProductId, Product>,\n    storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>\n) : ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setActiveGroupByOption(groupByOption));\n        dispatch(handleSortingFilteringAndGrouping());\n    };\n};\n\nconst onSelectActiveColumnSort = (\n    columnSort : IColumnSorting,\n) : ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setTableSorting(columnSort));\n        dispatch(handleSortingFilteringAndGrouping());\n    };\n};\n\n// TODO: need to fix this setting data on the state before sorting is finished in the case of things getting out of date\nconst setSortingFilteringAndGroupingOnPropsChange = (\n    productIdsForDisplay : StringValueSet<ProductId>,\n    productsById : StringValueMap<ProductId, Product>,\n    storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>,\n    storageAreasById : StringValueMap<StorageAreaId, StorageArea>,\n    searchTerm : string | null,\n) : ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        // initial: sort by item name, grouping = All Items\n        dispatch(setSearchTerm(searchTerm));\n        dispatch(setProductsByIdAndStorageAreaIdSetByProductId(productIdsForDisplay, productsById, storageAreaIdSetByProductId, storageAreasById));\n        dispatch(handleSortingFilteringAndGrouping());\n    };\n};\n\nconst onCollapseAllClick = (\n    nextClickWillCollapseAll : boolean,\n) : ThunkAction<void, IUnassignedItemsStore, UnassignedItemsActionInterfaces.IUnassignedItemsExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setDefaultPanelIsOpen(!nextClickWillCollapseAll));\n    };\n};\n\nexport const UnassignedItemsActions : UnassignedItemsActionInterfaces.IUnassignedItemsActionCreatorsMapObject = {\n    setVisibleDropdownRow,\n    setMoreOptionsIsShownForProductIds,\n    setComponentIsShown,\n    setSelectedProductIds,\n    setActiveGroupByOption,\n    setSortedGroupNamesAndSortedProductIdsToDisplayByGroupName,\n    setProductsByIdAndStorageAreaIdSetByProductId,\n    setPanelIsOpenFromUserInputForGroupNames,\n\n    // thunk actions\n    onSelectActiveGroupByOption,\n    setSortingFilteringAndGroupingOnPropsChange,\n    onSelectActiveColumnSort,\n    onSearchTermChange,\n    onCollapseAllClick\n};\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\nimport { IModalButton } from 'shared/models/Modal';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { GenericSelect2DropdownMenu } from 'shared/components/Select2Dropdown/GenericSelect2DropdownMenu';\nimport { OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\n\nimport { DropdownModalOption } from 'shared/components/Dropdown/DropdownModalOption';\n\nimport { Button } from 'shared/components/Button';\n\nimport 'apps/InventoryCount/css/AddToStorageAreasDropdown.scss';\n\nexport interface IAddToStorageAreasDropdownProps {\n    readonly sortedStorageAreaIds : ReadonlyArray<StorageAreaId>;\n    readonly storageAreasById : StringValueMap<StorageAreaId, StorageArea>;\n    readonly savedCheckBoxStatesByStorageAreaId : StringValueMap<StorageAreaId, CheckBoxTriState>;\n    readonly toggleDropdownButtonText : string;\n    readonly showDropdown : boolean;\n    readonly isOffline : boolean;\n    readonly onCreateNewStorageArea : (storageAreaName : string) => Promise<StorageAreaId | void>; // void means invalid\n    readonly setShowDropdown : (showDropdown : boolean) => void;\n    readonly onDropdownCancelClick : () => void;\n    readonly onDropdownSaveClick : (addStorageAreaIds : StringValueSet<StorageAreaId>, removeStorageAreaIds : StringValueSet<StorageAreaId>) => void;\n    readonly onDropdownBlur : ((addStorageAreaIds : StringValueSet<StorageAreaId>, removeStorageAreaIds : StringValueSet<StorageAreaId>) => void) | null;\n}\n\ninterface IAddToStorageAreasDropdownState {\n    readonly checkBoxStatesByStorageAreaId : StringValueMap<StorageAreaId, CheckBoxTriState>;\n    readonly createCustomOptionIsLoading : boolean;\n}\n\nexport class AddToStorageAreasDropdown extends React.Component<IAddToStorageAreasDropdownProps, IAddToStorageAreasDropdownState> {\n\n    public constructor(props : IAddToStorageAreasDropdownProps) {\n        super(props);\n\n        this.state = {\n            checkBoxStatesByStorageAreaId: new StringValueMap(props.savedCheckBoxStatesByStorageAreaId),\n            createCustomOptionIsLoading: false,\n        };\n    }\n\n    public UNSAFE_componentWillReceiveProps(nextProps : IAddToStorageAreasDropdownProps) {\n        this.validateProps(nextProps);\n\n        if (nextProps.savedCheckBoxStatesByStorageAreaId !== this.props.savedCheckBoxStatesByStorageAreaId) {\n            if (!this.props.showDropdown) {\n                this.setState({\n                    checkBoxStatesByStorageAreaId: new StringValueMap(nextProps.savedCheckBoxStatesByStorageAreaId),\n                });\n            }\n        }\n    }\n\n    public render() {\n        const {\n            sortedStorageAreaIds,\n            storageAreasById,\n            toggleDropdownButtonText,\n            showDropdown,\n            setShowDropdown,\n            isOffline,\n        } = this.props;\n\n        const sortedOptionsAndLabelName : OptionsAndLabelNameTuples = [];\n        const sortedOptionIds : Array<IOption> = sortedStorageAreaIds.map((storageAreaId : StorageAreaId) => {\n            const storageArea = storageAreasById.getRequired(storageAreaId);\n            return {\n                value: storageAreaId.getValue(),\n                label: storageArea.getName(),\n                icon: null,\n            };\n        });\n        const groupLabel = null;\n        sortedOptionsAndLabelName[0] = [groupLabel, sortedOptionIds];\n\n        const optionValuesById : {[id : string] : string} = {};\n        storageAreasById.forEach((storageArea : StorageArea, storageAreaId : StorageAreaId) => {\n            optionValuesById[storageAreaId.getValue()] = storageArea.getName();\n        });\n\n        return (\n            <div\n                className=\"add-to-storage-areas-dropdown\"\n            >\n                <GenericSelect2DropdownMenu\n                    isSearchable={ true }\n                    selectedOptionHeaderShown={ false }\n                    selectedOption={ null } // selected always null bc this is multi-select\n                    emptyState={ null }\n                    placeholderText={ toggleDropdownButtonText }\n                    hasCreateCustomOption={ !isOffline } // no creating storage areas offline\n                    buttonShouldDisplaySelectedLabel={ false }\n                    sortedOptionsAndLabelName={ sortedOptionsAndLabelName }\n                    getOptionElementsForGroup={ this.createOptions }\n                    createCustomOption={ this.onCreateNewStorageAreaClick }\n                    getSelectedOptionElementForHeader={ this.doNothing } // N/A\n                    footerElement={ this.createFooter() }\n                    onDropdownBlur={ this.onDropdownBlur }\n                    isOpen={ showDropdown }\n                    handleDropdownOpenClose={ setShowDropdown }\n                    createCustomOptionIsLoading={ this.state.createCustomOptionIsLoading }\n                    createCustomOptionButtonLabel={ null }\n                    customOptionGroupLabel={ groupLabel }\n                />\n            </div>\n        );\n    }\n\n    private readonly doNothing = () => undefined;\n\n    private readonly createOptions = (filteredOptions : Array<IOption>, selectedOption : IOption | null) : Array<JSX.Element> => {\n        const checkBoxStatesByOptionId : {[id : string] : CheckBoxTriState} = {};\n        this.state.checkBoxStatesByStorageAreaId.forEach((checkBoxState : CheckBoxTriState, storageAreaId : StorageAreaId) => {\n            checkBoxStatesByOptionId[storageAreaId.getValue()] = checkBoxState;\n        });\n\n        const options : Array<JSX.Element> = filteredOptions.map(\n            (option : IOption, index : number) => {\n                const checkBoxState : CheckBoxTriState = checkBoxStatesByOptionId[option.value];\n                const isDisabled : boolean = false; // disabledOptionIds.has(option.value);\n\n                const onClick = () => this.onStorageAreaOptionClick(option.value);\n\n                return (\n                    <DropdownModalOption\n                        key={ index }\n                        value={ option.label }\n                        checkBoxState={ checkBoxState }\n                        isDisabled={ isDisabled }\n                        onOptionClick={ onClick }\n                    />\n                );\n            }\n        );\n\n        return options;\n    }\n\n    private readonly createFooter = () : JSX.Element => {\n        const footerButtons : ReadonlyArray<IModalButton> = [\n            {\n                classes: 'flat secondary',\n                children: 'Cancel',\n                isDisabled: false,\n                isLoading: false,\n                onClick: this.props.onDropdownCancelClick,\n            },\n            {\n                classes: 'flat primary',\n                children: 'Save',\n                isDisabled: false,\n                isLoading: false,\n                onClick: this.onDropdownSaveClick,\n            },\n        ];\n\n        const className = `dropdown-modal-footer`;\n\n        const buttons : ReadonlyArray<JSX.Element> = footerButtons.map(\n            (modalButton : IModalButton, index : number) => {\n                return (\n                    <Button\n                        key={ index }\n\n                        buttonClassName={ modalButton.classes }\n                        isDisabled={ modalButton.isDisabled }\n                        isLoading={ modalButton.isLoading }\n                        onClick={ modalButton.onClick }\n                    >\n                        { modalButton.children }\n                    </Button>\n                );\n            }\n        );\n\n        return (\n            <div\n                className={ className }\n            >\n                { buttons }\n            </div>\n        );\n    }\n\n    private readonly onCreateNewStorageAreaClick = (newName : string) : void => {\n        // Need to 1: create storage area -- this is permanent.\n        // 2: assign product to storage area (but not save)\n\n        let newStorageAreaId : StorageAreaId | null = null;\n        this.props.storageAreasById.forEach((storageArea, storageAreaId) => {\n            if (storageArea.getName() === newName) {\n                newStorageAreaId = storageAreaId;\n            }\n        });\n\n        if (newStorageAreaId === null) {\n            this.setState({\n                createCustomOptionIsLoading: true, // for slow internet\n            });\n\n            // need to create new\n            void this.props.onCreateNewStorageArea(newName)\n            .then((storageAreaId) => {\n\n                // we should do some thinking around what an invalid state means on a select2 dropdown, this is not a long-term solution\n                if (!storageAreaId) {\n                    throw new RuntimeException('unexpected invalid storage area name');\n                }\n\n                this.setState((state : IAddToStorageAreasDropdownState) => {\n                    const newCheckBoxStatesByStorageAreaId = new StringValueMap(state.checkBoxStatesByStorageAreaId);\n                    newCheckBoxStatesByStorageAreaId.set(storageAreaId, CheckBoxTriState.Checked);\n\n                    return {\n                        checkBoxStatesByStorageAreaId: newCheckBoxStatesByStorageAreaId,\n                        createCustomOptionIsLoading: false,\n                    };\n                });\n            });\n\n        } else {\n            const storageAreaId : StorageAreaId = newStorageAreaId; // types are stupid\n\n            this.setState((state : IAddToStorageAreasDropdownState) => {\n                const newCheckBoxStatesByStorageAreaId = new StringValueMap(state.checkBoxStatesByStorageAreaId);\n                newCheckBoxStatesByStorageAreaId.set(storageAreaId, CheckBoxTriState.Checked);\n\n                return {\n                    checkBoxStatesByStorageAreaId: newCheckBoxStatesByStorageAreaId,\n                };\n            });\n        }\n    }\n\n    private readonly onStorageAreaOptionClick = (optionId : string) : void => {\n        const {\n            savedCheckBoxStatesByStorageAreaId,\n        } = this.props;\n\n        const storageAreaId = new StorageAreaId(optionId);\n\n        const checkBoxState = this.state.checkBoxStatesByStorageAreaId.getRequired(storageAreaId);\n        const savedCheckBoxState = savedCheckBoxStatesByStorageAreaId.getRequired(storageAreaId);\n        const checkBoxStateCanBeIndeterminate : boolean = (savedCheckBoxState === CheckBoxTriState.Indeterminate);\n\n        if (typeof checkBoxStateCanBeIndeterminate === 'undefined') {\n            throw new RuntimeException('unexpected checkBoxStateCanBeIndeterminate is undefined');\n        }\n\n        let newCheckBoxState : CheckBoxTriState;\n        switch (checkBoxState) {\n            case CheckBoxTriState.Checked:\n                newCheckBoxState = CheckBoxTriState.Unchecked;\n                break;\n            case CheckBoxTriState.Unchecked:\n                if (checkBoxStateCanBeIndeterminate) {\n                    newCheckBoxState = CheckBoxTriState.Indeterminate;\n                } else {\n                    newCheckBoxState = CheckBoxTriState.Checked;\n                }\n\n                break;\n            case CheckBoxTriState.Indeterminate:\n                newCheckBoxState = CheckBoxTriState.Checked;\n                break;\n            default:\n                throw new RuntimeException('unexpected value for checkBoxState');\n        }\n\n        this.setState((state : IAddToStorageAreasDropdownState) => {\n            const newCheckBoxStatesByStorageAreaId = new StringValueMap(state.checkBoxStatesByStorageAreaId);\n            newCheckBoxStatesByStorageAreaId.set(storageAreaId, newCheckBoxState);\n\n            return {\n                checkBoxStatesByStorageAreaId: newCheckBoxStatesByStorageAreaId,\n            };\n        });\n    }\n\n    private readonly getDropdownStateDiff = () => {\n        const {\n            sortedStorageAreaIds,\n            savedCheckBoxStatesByStorageAreaId,\n        } = this.props;\n\n        const checkBoxStatesByStorageAreaId = this.state.checkBoxStatesByStorageAreaId;\n\n        const addStorageAreaIds = new StringValueSet<StorageAreaId>();\n        const removeStorageAreaIds = new StringValueSet<StorageAreaId>();\n\n        sortedStorageAreaIds.forEach((storageAreaId : StorageAreaId) => {\n            const checkBoxState = checkBoxStatesByStorageAreaId.getRequired(storageAreaId);\n            const savedCheckBoxState = savedCheckBoxStatesByStorageAreaId.getRequired(storageAreaId);\n\n            switch (checkBoxState) {\n                case CheckBoxTriState.Checked:\n                    if (savedCheckBoxState !== CheckBoxTriState.Checked) {\n                        addStorageAreaIds.add(storageAreaId);\n                    }\n                    break;\n                case CheckBoxTriState.Unchecked:\n                    if (savedCheckBoxState !== CheckBoxTriState.Unchecked) {\n                        removeStorageAreaIds.add(storageAreaId);\n                    }\n                    break;\n                case CheckBoxTriState.Indeterminate:\n                    break;\n                default:\n                    throw new RuntimeException('unexpected value for checkBoxState');\n            }\n        });\n\n        return {\n            addStorageAreaIds,\n            removeStorageAreaIds\n        };\n    }\n\n    private readonly onDropdownSaveClick = () => {\n        const {\n            addStorageAreaIds,\n            removeStorageAreaIds\n        } = this.getDropdownStateDiff();\n\n        this.props.onDropdownSaveClick(addStorageAreaIds, removeStorageAreaIds);\n    }\n\n    private readonly onDropdownBlur = () => {\n        if (this.props.onDropdownBlur) {\n            const {\n                addStorageAreaIds,\n                removeStorageAreaIds\n            } = this.getDropdownStateDiff();\n\n            this.props.onDropdownBlur(addStorageAreaIds, removeStorageAreaIds);\n        }\n    }\n\n    private readonly validateProps = (props : IAddToStorageAreasDropdownProps) : void => {\n        const {\n            sortedStorageAreaIds,\n            storageAreasById,\n            savedCheckBoxStatesByStorageAreaId,\n        } = props;\n\n        const storageAreaIdSet : StringValueSet<StorageAreaId> = new StringValueSet(sortedStorageAreaIds);\n\n        if (storageAreaIdSet.size !== sortedStorageAreaIds.length) {\n            throw new RuntimeException('elements of sortedStorageAreaIds must be unique');\n        }\n\n        {\n            const storageAreaIds : ReadonlyArray<StorageAreaId> = Array.from(savedCheckBoxStatesByStorageAreaId.keys());\n\n            if (storageAreaIds.length !== sortedStorageAreaIds.length) {\n                throw new RuntimeException('must be a checkBoxState for each storageAreaId in sortedStorageAreaIds');\n            }\n\n            storageAreaIds.forEach((storageAreaId : StorageAreaId) => {\n                if (!storageAreaIdSet.has(storageAreaId)) {\n                    throw new RuntimeException('checkBoxStatesByStorageAreaId ids must be in sortedStorageAreaIds');\n                }\n            });\n        }\n\n        {\n            const storageAreaIds : ReadonlyArray<StorageAreaId> = Array.from(storageAreasById.keys());\n\n            if (storageAreaIds.length !== sortedStorageAreaIds.length) {\n                throw new RuntimeException('storageAreasById must be same length as sortedStorageAreaIds');\n            }\n\n            storageAreaIds.forEach((storageAreaId : StorageAreaId) => {\n                if (!storageAreaIdSet.has(storageAreaId)) {\n                    throw new RuntimeException('storageAreasById must have ids in sortedStorageAreaIds');\n                }\n            });\n        }\n    }\n}\n","import React from 'react';\nimport {\n    ConnectDragPreview,\n    ConnectDragSource,\n    ConnectDropTarget,\n    DragSource,\n    DragSourceCollector,\n    DragSourceConnector,\n    DragSourceMonitor,\n    DragSourceSpec,\n    DropTarget,\n    DropTargetCollector,\n    DropTargetConnector,\n    DropTargetMonitor,\n    DropTargetSpec,\n} from 'react-dnd';\nimport { Preview } from 'react-dnd-multi-backend';\n\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\n\nimport { ValidationInput } from 'shared/components/ValidationInput';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport 'apps/InventoryCount/css/ManageStorageAreaListItem.scss';\n\nexport interface IManageStorageAreaListItemProps {\n    readonly storageAreaId : StorageAreaId;\n    readonly storageAreaName : string;\n    readonly isFocusedRow : boolean;\n    readonly handleNameChange : (storageAreaName : string) => void;\n    readonly handleRemoveButtonClick : () => void;\n    readonly onDragHover : (dragStorageAreaId : StorageAreaId, hoverStorageAreaId : StorageAreaId) => void;\n    readonly onDrop : (dragStorageAreaId : StorageAreaId) => void;\n    readonly onDragCancel : () => void;\n}\n\nexport interface IDraggableManageStorageAreaListItemProps extends IManageStorageAreaListItemProps {\n    readonly isDragging? : boolean;\n    readonly isOverDragTarget? : boolean;\n    readonly connectDragSource? : ConnectDragSource;\n    readonly connectDragPreview? : ConnectDragPreview;\n    readonly connectDropTarget? : ConnectDropTarget;\n}\n\nclass ManageStorageAreaListItemWithoutDragAndDrop extends React.Component<IDraggableManageStorageAreaListItemProps, object> {\n    private readonly classNamePrefix = 'manage-storage-area-list-item';\n\n    public render() {\n        const {\n            storageAreaId,\n            storageAreaName,\n            isFocusedRow,\n            handleRemoveButtonClick,\n            connectDragSource,\n            connectDropTarget,\n            connectDragPreview,\n            isDragging,\n            isOverDragTarget,\n        } = this.props;\n\n        // We always expect these props to be present but need to make them optional to accomadate the typings from React DND\n        if ((typeof isDragging === 'undefined') || (typeof connectDragSource === 'undefined') || (typeof connectDragPreview === 'undefined') || (typeof connectDropTarget === 'undefined')) {\n            throw new RuntimeException(`unexpected invalid state for ManageStorageAreaListItem`);\n        }\n\n        const opacity = isDragging ? 0 : 1;\n\n        const outsideOfDropTarget = isDragging && !isOverDragTarget;\n\n        const getManageStorageAreaListItemContents = () : Array<JSX.Element> => {\n            const manageStorageAreaListItemContents = [];\n\n            manageStorageAreaListItemContents.push(\n                connectDragSource(\n                    <div key=\"drag-handle\" className={ `${ outsideOfDropTarget ? 'outside-of-drop-target' : `${ this.classNamePrefix }-handle` }` }>\n                        <span className=\"bevicon bevico-drag-handle-vertical\" />\n                    </div>\n                )\n            );\n\n            manageStorageAreaListItemContents.push(\n                <ValidationInput\n                    key=\"name-input\"\n                    type=\"text\"\n                    label={ null }\n                    hintText=\"Name this Storage Area\"\n                    value={ storageAreaName }\n                    autoFocus={ false }\n                    autoComplete={ null }\n                    isValid={ true }\n                    isDisabled={ false }\n                    errorMessage=\"\"\n                    inputClassName=\"\"\n                    handleEnterClick={ this.doNothing }\n                    handleChange={ this.handleInputChange }\n                    handleBlur={ this.doNothing }\n                    handleFocus={ null }\n                />\n            );\n\n            manageStorageAreaListItemContents.push(\n                <div\n                    key=\"remove-button\"\n                    className={ `${ this.classNamePrefix }-remove-button` }\n                    onClick={ handleRemoveButtonClick }\n                >\n                    <span className=\"bevicon bevico-remove-inverse\" />\n                </div>\n            );\n\n            return manageStorageAreaListItemContents;\n        };\n\n        const generatePreview = (type : string, item: unknown, style : React.CSSProperties) : JSX.Element => {\n            return (\n                <div\n                    key=\"preview\"\n                    className={ `manage-storage-area-list-item ${ isFocusedRow ? 'focused-row' : ''} ${ outsideOfDropTarget ? 'outside-of-drop-target' : ''}` }\n                    style={ { ...style, zIndex : 200 } }\n                >\n                    { getManageStorageAreaListItemContents() }\n                </div>\n            );\n        };\n\n        const manageStorageAreaListItem = connectDropTarget(connectDragPreview(\n            <div\n                key={ storageAreaId.getValue() }\n                className={ `manage-storage-area-list-item ${ isFocusedRow ? 'focused-row' : ''} ${ outsideOfDropTarget ? 'outside-of-drop-target' : ''}` }\n                style={ { opacity } }\n            >\n                { getManageStorageAreaListItemContents() }\n            </div>\n        ));\n\n        if (isDragging) {\n            return (\n                <div\n                    key={ storageAreaId.getValue() }\n                >\n                    { manageStorageAreaListItem }\n                    <Preview generator={ generatePreview }/>\n                </div>\n            );\n        }\n\n        return manageStorageAreaListItem;\n    }\n\n    private readonly handleInputChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        const {\n            handleNameChange,\n        } = this.props;\n\n        const inputElement : HTMLInputElement = event.currentTarget;\n        handleNameChange(inputElement.value);\n    }\n\n    private readonly doNothing = () => null;\n}\n\nconst dragSource : DragSourceSpec<IManageStorageAreaListItemProps, { storageAreaId: StorageAreaId, onDragCancel: () => void }> = {\n    beginDrag(props : IManageStorageAreaListItemProps) {\n        return {\n            storageAreaId: props.storageAreaId,\n            onDragCancel: props.onDragCancel,\n        };\n    },\n    endDrag(props : IManageStorageAreaListItemProps, monitor : DragSourceMonitor) {\n        const onDragCancel : () => void = (monitor.getItem() as { onDragCancel: () => void }).onDragCancel;\n        const didDrop = monitor.didDrop();\n\n        if (!didDrop) {\n            onDragCancel();\n        }\n    },\n};\n\nconst sourceCollect : DragSourceCollector<{ connectDragSource: ConnectDragSource, connectDragPreview: ConnectDragPreview, isDragging: boolean }> = (connect : DragSourceConnector, monitor : DragSourceMonitor) => {\n    return {\n        connectDragSource: connect.dragSource(),\n        connectDragPreview : connect.dragPreview(),\n        isDragging: monitor.isDragging(),\n    };\n};\n\nconst dropTarget : DropTargetSpec<IManageStorageAreaListItemProps> = {\n    drop(props : IManageStorageAreaListItemProps, monitor : DropTargetMonitor) {\n        props.onDrop(props.storageAreaId);\n    },\n    hover(props : IManageStorageAreaListItemProps, monitor : DropTargetMonitor) {\n        const dragStorageAreaId = (monitor.getItem() as { storageAreaId: StorageAreaId }).storageAreaId;\n        const hoverStorageAreaId = props.storageAreaId;\n\n        if (dragStorageAreaId.equals(hoverStorageAreaId)) {\n          return;\n        }\n\n        props.onDragHover(dragStorageAreaId, hoverStorageAreaId);\n    }\n};\n\nconst targetCollect : DropTargetCollector<{ connectDropTarget: ConnectDropTarget, isOverDragTarget: boolean }> = (connect : DropTargetConnector, monitor : DropTargetMonitor) => {\n    return {\n        connectDropTarget: connect.dropTarget(),\n        isOverDragTarget: monitor.isOver(),\n    };\n};\n\nconst ITEM_TYPE = 'ManageStorageAreaListItem';\nexport const ManageStorageAreaListItem = DropTarget(ITEM_TYPE, dropTarget, targetCollect)(DragSource(ITEM_TYPE, dragSource, sourceCollect)(ManageStorageAreaListItemWithoutDragAndDrop));\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\n\nimport { Button } from 'shared/components/Button';\nimport { PreventPageScrolling } from 'shared/components/PreventPageScrolling';\nimport { IValidationInputData, ValidationInput } from 'shared/components/ValidationInput';\nimport { ManageStorageAreaListItem } from './ManageStorageAreaListItem';\n\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH } from 'shared/constants';\n\nimport 'apps/InventoryCount/css/ManageStorageAreasModal.scss';\n\ntype PAGE_CONTEXT_TYPE = 'storage_area_manager' | 'inventory_count';\nexport interface IManageStorageAreasModalProps {\n    readonly sortedStorageAreaIds : ReadonlyArray<StorageAreaId>;\n    readonly storageAreaNamesById : StringValueMap<StorageAreaId, string>;\n    readonly highlightedStorageAreaId : StorageAreaId | null;\n    readonly newStorageAreaName : IValidationInputData;\n    readonly pageContext : PAGE_CONTEXT_TYPE;\n    readonly addStorageAreasButtonIsDisabled : boolean;\n    readonly handleCloseClick : () => void;\n    readonly handleAddAreaClick : () => void;\n    readonly handleNameChangeForNewStorageArea : (name : string) => void; // TODO or can combine with following function\n    readonly handleNameChangeForStorageAreaId : (storageAreaId : StorageAreaId, name : string) => void;\n    readonly handleRemoveButtonClickForStorageAreaId : (storageAreaId : StorageAreaId) => void;\n    readonly onDragStorageArea : (storageAreaId : StorageAreaId, storageAreaIdPreceeding : StorageAreaId | null) => void;\n    readonly onDropStorageArea : (storageAreaId : StorageAreaId, storageAreaIdPreceeding : StorageAreaId | null) => void;\n}\n\nexport class ManageStorageAreasModal extends React.Component<IManageStorageAreasModalProps, object> {\n\n    public render() {\n        const {\n            sortedStorageAreaIds,\n            storageAreaNamesById,\n            highlightedStorageAreaId,\n            newStorageAreaName,\n            handleCloseClick,\n            handleAddAreaClick,\n            handleNameChangeForStorageAreaId,\n            handleRemoveButtonClickForStorageAreaId,\n            pageContext,\n            addStorageAreasButtonIsDisabled,\n        } = this.props;\n\n        const listItems : ReadonlyArray<JSX.Element> = sortedStorageAreaIds.map(\n            (storageAreaId : StorageAreaId, index : number) => {\n                const storageAreaName : string = storageAreaNamesById.getRequired(storageAreaId);\n                const isFocusedRow = (highlightedStorageAreaId !== null) && (highlightedStorageAreaId.equals(storageAreaId));\n                const handleNameChange = (name : string) => handleNameChangeForStorageAreaId(storageAreaId, name);\n                const handleRemoveButtonClick = () => handleRemoveButtonClickForStorageAreaId(storageAreaId);\n\n                const onDragCancel = () => {\n                    if (index === 0) {\n                        this.props.onDragStorageArea(storageAreaId, null);\n                    } else {\n                        this.props.onDragStorageArea(storageAreaId, sortedStorageAreaIds[index - 1]);\n                    }\n                };\n\n                return (\n                    <ManageStorageAreaListItem\n                        key={ storageAreaId.getValue() }\n                        storageAreaId={ storageAreaId }\n                        storageAreaName={ storageAreaName }\n                        isFocusedRow={ isFocusedRow }\n                        handleNameChange={ handleNameChange }\n                        handleRemoveButtonClick={ handleRemoveButtonClick }\n                        onDragHover={ this.onListItemDragHover }\n                        onDrop={ this.onListItemDrop }\n                        onDragCancel={ onDragCancel }\n                    />\n                );\n            }\n        );\n\n        const doneButton = (\n            <Button\n                buttonClassName=\"flat primary\"\n                isDisabled={ false }\n                isLoading={ false }\n                onClick={ handleCloseClick }\n            >\n                Done\n            </Button>\n        );\n\n        const editStorageAreasListElement = (\n            <div className=\"manage-storage-areas-modal-body\">\n                <div className=\"manage-storage-areas-modal-header\">\n                    <h5 className=\"manage-storage-areas-modal-title\">Edit Storage Areas</h5>\n                </div>\n                <div className=\"manage-storage-areas-modal-list-items\">\n                    { listItems }\n                </div>\n                <div className=\"manage-storage-areas-modal-edit-list-items\">\n                    <div className=\"manage-storage-areas-modal-add-area-button\">\n                        <ValidationInput\n                            type=\"text\"\n                            label={ null }\n                            hintText=\"New Area\"\n                            value={ newStorageAreaName.value }\n                            autoFocus={ false }\n                            autoComplete={ null }\n                            isValid={ newStorageAreaName.isValid }\n                            isDisabled={ false }\n                            errorMessage={ newStorageAreaName.errorMessage }\n                            inputClassName=\"\"\n                            handleEnterClick={ this.doNothing }\n                            handleChange={ this.handleInputChange }\n                            handleBlur={ this.doNothing }\n                            handleFocus={ null }\n                        />\n                        <Button\n                            buttonClassName=\"flat primary\"\n                            isDisabled={ !newStorageAreaName.isValid || newStorageAreaName.value === '' || addStorageAreasButtonIsDisabled }\n                            isLoading={ false }\n                            onClick={ handleAddAreaClick }\n                        >\n                            + Add\n                        </Button>\n                    </div>\n                </div>\n            </div>\n        );\n\n        // TODO design: remove the mobile-expanded-count-summary classes and remove the scss file\n        return (\n            <div className={ `manage-storage-areas-modal ${ pageContext === 'inventory_count' ? 'inventory-count-view' : 'storage-area-manager-view' }` }>\n                <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                    <div className=\"manage-storage-areas-modal-container left-sidebar\">\n                        { editStorageAreasListElement }\n                        <div className=\"manage-storage-areas-modal-footer\">\n                            { doneButton }\n                        </div>\n                    </div>\n                    <PreventPageScrolling\n                        preventWindowTouchMove={ false }\n                        addModalOpenClass={ true }\n                    />\n                    <div className=\"manage-storage-areas-dismiss-underlay\" onClick={ handleCloseClick }/>\n                </MediaQuery>\n                <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                    <div className=\"mobile-expanded-count-summary\">\n                        <div className=\"mobile-expanded-count-summary-container manage-storage-areas-modal-body\" >\n                            <div className=\"summary-header\">\n                                <div className=\"summary-header-start\">\n                                    <Button\n                                        buttonClassName=\"flat icon bevicon bevico-keyboard-arrow-down\"\n                                        isDisabled={ false }\n                                        isLoading={ false }\n                                        onClick={ handleCloseClick }\n                                    />\n                                </div>\n                                <div className=\"summary-header-middle\"/>\n                                <div className=\"summary-header-end\">\n                                    { doneButton }\n                                </div>\n                            </div>\n                            <div className=\"mobile-expanded-count-summary-body\">\n                                { editStorageAreasListElement }\n                            </div>\n                        </div>\n                        <div className=\"mobile-expanded-count-summary-close-overlay\" onClick={ handleCloseClick } />\n                    </div>\n                </MediaQuery>\n            </div>\n        );\n    }\n\n    private readonly onListItemDragHover = (dragStorageAreaId : StorageAreaId, hoverStorageAreaId : StorageAreaId) => {\n        const {\n            sortedStorageAreaIds,\n            onDragStorageArea,\n        } = this.props;\n\n        const hoverStorageAreaIdIndex = sortedStorageAreaIds.findIndex((s) => {\n            return s.equals(hoverStorageAreaId);\n        });\n        const storageAreaIdPreceedingIndex = hoverStorageAreaIdIndex - 1;\n\n        let storageAreaIdPreceeding : StorageAreaId | null;\n        if (storageAreaIdPreceedingIndex === -1) {\n            storageAreaIdPreceeding = null;\n        } else {\n            storageAreaIdPreceeding = sortedStorageAreaIds[storageAreaIdPreceedingIndex];\n            if (dragStorageAreaId.equals(storageAreaIdPreceeding)) {\n                storageAreaIdPreceeding = hoverStorageAreaId;\n            }\n        }\n\n        onDragStorageArea(dragStorageAreaId, storageAreaIdPreceeding);\n    }\n\n    private readonly onListItemDrop = (dropStorageAreaId : StorageAreaId) => {\n        const {\n            sortedStorageAreaIds,\n            onDropStorageArea,\n        } = this.props;\n\n        const dropStorageAreaIdIndex = sortedStorageAreaIds.findIndex((s) => {\n            return s.equals(dropStorageAreaId);\n        });\n        const storageAreaIdDropIndex = dropStorageAreaIdIndex - 1;\n\n        let storageAreaIdPreceeding : StorageAreaId | null;\n        if (storageAreaIdDropIndex === -1) {\n            storageAreaIdPreceeding = null;\n        } else {\n            storageAreaIdPreceeding = sortedStorageAreaIds[storageAreaIdDropIndex];\n        }\n\n        onDropStorageArea(dropStorageAreaId, storageAreaIdPreceeding);\n    }\n\n    private readonly handleInputChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        const {\n            handleNameChangeForNewStorageArea,\n        } = this.props;\n\n        const inputElement : HTMLInputElement = event.currentTarget;\n        handleNameChangeForNewStorageArea(inputElement.value);\n    }\n\n    private readonly doNothing = () => null;\n}\n","import React from 'react';\n\nimport { Dialog } from 'shared/components/Dialog';\nimport { IModalButton } from 'shared/models/Modal';\n\n// Deletion logic Context:\n// Deleting a storage area destroys counts only while a draft inventory is open. From the Storage\n// Areas page with no open draft, it only unassigns the items, which is why the three messages differ.\nexport type StorageAreaDeletionContext =\n    'inventory_count' |\n    'storage_area_manager_with_open_draft' |\n    'storage_area_manager_without_open_draft';\n\nconst confirmationMessageByDeletionContext : { [deletionContext in StorageAreaDeletionContext] : string } = {\n    inventory_count: 'Are you sure you want to delete this storage area? Any existing counts made in this storage area will be lost.',\n    storage_area_manager_with_open_draft: 'An inventory is currently in progress. Are you sure you want to delete this storage area? Any existing counts made in this storage area will be lost.',\n    storage_area_manager_without_open_draft: 'Are you sure you want to delete this storage area? Any items in this area that are not assigned elsewhere will become Unassigned Items.',\n};\n\nexport interface IRemoveStorageAreaConfirmDialogProps {\n    readonly onDeleteConfirmClick : () => void;\n    readonly onCancelClick : () => void;\n    readonly deletionContext : StorageAreaDeletionContext;\n}\n\nexport const RemoveStorageAreaConfirmDialog : React.FC<IRemoveStorageAreaConfirmDialogProps> = ({\n    onDeleteConfirmClick,\n    onCancelClick,\n    deletionContext,\n}) => {\n    const headerText = 'Delete Storage Area?';\n\n    const buttons : Array<IModalButton> = [\n        {\n            onClick: onCancelClick,\n            classes: 'primary flat',\n            isDisabled: false,\n            isLoading: false,\n            children: 'Cancel',\n        },\n        {\n            onClick: onDeleteConfirmClick,\n            classes: 'primary danger flat',\n            isDisabled: false,\n            isLoading: false,\n            children: 'Delete',\n        },\n    ];\n\n    return (\n        <Dialog\n            className=\"remove-storage-area-confirm-dialog\"\n            buttons={ buttons }\n            headerText={ headerText }\n        >\n            <p>\n                { confirmationMessageByDeletionContext[deletionContext] }\n            </p>\n        </Dialog>\n    );\n};\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { Product } from 'api/Product/model/Product';\n\nimport { CheckBox } from 'shared/components/CheckBox';\nimport { ContextMenu } from 'shared/components/ContextMenu';\nimport { Pill } from 'shared/components/Pill/Pill';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\nimport { AddToStorageAreasDropdown, IAddToStorageAreasDropdownProps } from '../AddToStorageAreasDropdown';\n\nimport 'apps/InventoryCount/css/UnassignedItemRow.scss';\n\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH } from 'shared/constants';\nimport { ProductName } from 'shared/components/ProductName/ProductName';\n\nexport interface IUnassignedItemRowProps {\n    readonly product : Product;\n    readonly isActive : boolean;\n    readonly isDeleted : boolean;\n    readonly assignedStorageAreaIds : StringValueSet<StorageAreaId>;\n    readonly onRemoveStorageAreaClick : (storageAreaId : StorageAreaId) => void;\n    readonly addToStorageAreasDropdownProps : IAddToStorageAreasDropdownProps;\n    readonly menuIsShown : boolean;\n    readonly isSelected : boolean;\n    readonly setMenuIsShown : (isShown : boolean) => void;\n    readonly onSetProductAsInactiveClick : () => void;\n    readonly onDeleteProductClick : () => void;\n    readonly setIsSelected : (isSelected : boolean) => void;\n    readonly allowItemDeletion : boolean;\n}\n\nexport class UnassignedItemRow extends React.Component<IUnassignedItemRowProps, object> {\n    private readonly classNamePrefix = 'unassigned-item-row';\n\n    public render() {\n        const {\n            product,\n            isActive,\n            isDeleted,\n            addToStorageAreasDropdownProps,\n            isSelected,\n        } = this.props;\n\n        const checkBoxState = isSelected ? CheckBoxTriState.Checked : CheckBoxTriState.Unchecked;\n        const statusIndicator = isDeleted ? 'deleted-item' : isActive ? '' : 'archived-item';\n        const contextMenu = this.getContextMenu();\n        return (\n            <div>\n                <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                    <div\n                        className={ `${ this.classNamePrefix }-container light-table-row col-row cell-plr-sm ${ statusIndicator } ` }\n                    >\n\n                        <div className=\"cell col-xs-8 col-sm-4\">\n                            <div className=\"col-row\">\n                                <div className=\"cell col-xs-1 cell-ptb\">\n                                    <CheckBox\n                                        checkBoxTriState={ checkBoxState }\n                                        isDisabled={ false }\n                                        onClick={ this.handleOnSelect }\n                                        label={ null }\n                                    />\n                                </div>\n                                <div className={ `${ this.classNamePrefix }-product-container col-sm-11 cell-ptb cell-plr` } >\n                                    <ProductName \n                                        product={ product } \n                                    />\n                                </div>\n                            </div>\n                        </div>\n\n                        <div className=\"cell col-xs-12 col-sm-5 col-lg-6 cell-ptb-sm cell-plr-sm\">\n                            { this.createStorageAreaPills() }\n                        </div>\n\n                        <div className=\"cell col-xs-4 col-sm-3 col-lg-2 cell-ptb\">\n                            <div className=\"col-row\">\n                                <div className=\"cell col-sm-9 col-md-10 text-right\">\n                                    { isActive &&\n                                        <AddToStorageAreasDropdown\n                                            sortedStorageAreaIds={ addToStorageAreasDropdownProps.sortedStorageAreaIds }\n                                            storageAreasById={ addToStorageAreasDropdownProps.storageAreasById }\n                                            savedCheckBoxStatesByStorageAreaId={ addToStorageAreasDropdownProps.savedCheckBoxStatesByStorageAreaId }\n                                            toggleDropdownButtonText={ addToStorageAreasDropdownProps.toggleDropdownButtonText }\n                                            showDropdown={ addToStorageAreasDropdownProps.showDropdown }\n                                            setShowDropdown={ addToStorageAreasDropdownProps.setShowDropdown }\n                                            onDropdownCancelClick={ addToStorageAreasDropdownProps.onDropdownCancelClick }\n                                            onDropdownSaveClick={ addToStorageAreasDropdownProps.onDropdownSaveClick }\n                                            onDropdownBlur={ addToStorageAreasDropdownProps.onDropdownBlur }\n                                            onCreateNewStorageArea={ addToStorageAreasDropdownProps.onCreateNewStorageArea }\n                                            isOffline={ addToStorageAreasDropdownProps.isOffline }\n                                        />\n                                    }\n                                </div>\n                                <div className=\"cell col-sm-3 col-md-2 text-right\">\n                                    { contextMenu }\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </MediaQuery>\n                <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                    <div\n                        className={ `${ this.classNamePrefix }-container light-table-row ${ isActive ? '' : 'archived-item' } ${ isDeleted ? 'deleted-item' : '' }` }\n                    >\n                        <div className=\"col-row\">\n                            <div className=\"cell col-xs-1 cell-ptb cell-plr-sm\">\n                                <CheckBox\n                                    checkBoxTriState={ checkBoxState }\n                                    isDisabled={ false }\n                                    onClick={ this.handleOnSelect }\n                                    label={ null }\n                                />\n                            </div>\n                            {/* TODO: migrate to use ProductName productStatus prop instead of hand-rolling deleted/archived icons */}\n                            <div className={ `${ this.classNamePrefix }-product-container cell col-xs-5 cell-ptb cell-plr-sm` } >\n                                <ProductName\n                                    product={ product }\n                                />\n                                { isDeleted &&\n                                <span className=\"container-symbol\">\n                                    <span className=\"bevicon bevico-delete\" />\n                                </span>\n                                }\n                                { !isActive && !isDeleted &&\n                                <span className=\"container-symbol\">\n                                    <span className=\"bevicon bevico-archived-item\" />\n                                </span>\n                                }\n                            </div>\n                            <div className=\" cell col-xs-4 cell-ptb cell-plr-sm\">\n                                { isActive &&\n                                    <AddToStorageAreasDropdown\n                                        sortedStorageAreaIds={ addToStorageAreasDropdownProps.sortedStorageAreaIds }\n                                        storageAreasById={ addToStorageAreasDropdownProps.storageAreasById }\n                                        savedCheckBoxStatesByStorageAreaId={ addToStorageAreasDropdownProps.savedCheckBoxStatesByStorageAreaId }\n                                        toggleDropdownButtonText={ addToStorageAreasDropdownProps.toggleDropdownButtonText }\n                                        showDropdown={ addToStorageAreasDropdownProps.showDropdown }\n                                        setShowDropdown={ addToStorageAreasDropdownProps.setShowDropdown }\n                                        onDropdownCancelClick={ addToStorageAreasDropdownProps.onDropdownCancelClick }\n                                        onDropdownSaveClick={ addToStorageAreasDropdownProps.onDropdownSaveClick }\n                                        onDropdownBlur={ addToStorageAreasDropdownProps.onDropdownBlur }\n                                        onCreateNewStorageArea={ addToStorageAreasDropdownProps.onCreateNewStorageArea }\n                                        isOffline={ addToStorageAreasDropdownProps.isOffline }\n                                    />\n                                }\n                            </div>\n                            <div className=\"cell col-xs-2 text-right\">\n                                { contextMenu }\n                            </div>\n                        </div>\n                        <div className=\"col-row\">\n                            <div className=\"cell col-xs-12 cell-plr-sm\">\n                                { this.createStorageAreaPills() }\n                            </div>\n                        </div>\n                    </div>\n                </MediaQuery>\n            </div>\n        );\n    }\n\n    private readonly createStorageAreaPills = () : JSX.Element => {\n        const {\n            assignedStorageAreaIds,\n            onRemoveStorageAreaClick,\n            addToStorageAreasDropdownProps,\n        } = this.props;\n\n        const {\n            sortedStorageAreaIds,\n            storageAreasById,\n        } = addToStorageAreasDropdownProps;\n\n        if (assignedStorageAreaIds.size === 0) {\n            return (\n                <div\n                    className={ `${ this.classNamePrefix }-storage-area-pills disabled` }\n                >\n                    No storage area assigned\n                </div>\n            );\n        }\n\n        const pills : Array<JSX.Element> = [];\n        sortedStorageAreaIds.forEach((storageAreaId : StorageAreaId, index : number) => {\n            if (assignedStorageAreaIds.has(storageAreaId)) {\n                const storageArea : StorageArea | undefined = storageAreasById.getRequired(storageAreaId);\n                const onClick = () => onRemoveStorageAreaClick(storageAreaId);\n\n                pills.push(\n                    <Pill\n                        key={ storageAreaId.getValue() }\n                        onRemoveClick={ onClick }\n                    >\n                        { storageArea.getName() }\n                    </Pill>\n                );\n            }\n        });\n\n        return (\n            <div\n                className={ `${ this.classNamePrefix }-storage-area-pills` }\n            >\n                { pills }\n            </div>\n        );\n    }\n\n    private readonly handleOnSelect = (event : React.MouseEvent<HTMLElement>) => {\n        event.stopPropagation();\n        this.props.setIsSelected(!this.props.isSelected);\n    }\n\n    private readonly getContextMenu = () : JSX.Element => {\n        const {\n            isActive,\n            isDeleted,\n            menuIsShown,\n            setMenuIsShown,\n            onSetProductAsInactiveClick,\n            onDeleteProductClick,\n            allowItemDeletion,\n        } = this.props;\n\n        const contextItems = [{\n            label: 'Archive Item',\n            iconClass: 'bevicon bevico-archive',\n            handler: onSetProductAsInactiveClick,\n            isDisabled: !isActive,\n        }];\n\n        if (allowItemDeletion) {\n            contextItems.push({\n                label: 'Delete Item',\n                iconClass: 'bevicon bevico-delete',\n                handler: onDeleteProductClick,\n                isDisabled: isDeleted,\n            });\n        }\n\n        return (\n            <ContextMenu\n                items={ contextItems }\n                menuIsShown={ menuIsShown }\n                setMenuIsShown={ setMenuIsShown }\n            />\n        );\n    }\n}\n","import React from 'react';\n\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\n\nimport { CheckBox } from 'shared/components/CheckBox';\nimport { IColumnSorting, SortableColumnHeader } from 'shared/components/SortableColumnHeader';\n\nexport interface IUnassignedItemsTableHeaderProps {\n    selectAllState : CheckBoxTriState;\n    onToggleSelect : (isSelected : boolean) => void;\n    onSortChange : (sortBy : string) => void;\n    sorting : IColumnSorting;\n}\n\nexport class UnassignedItemsTableHeader extends React.Component<IUnassignedItemsTableHeaderProps, object> {\n\n    public render() {\n        const {\n            sorting,\n            onSortChange\n        } = this.props;\n\n        return (\n            <div className=\"unassigned-items-table-header light-table-header\">\n                <div className=\"col-row cell-plr-sm\">\n                    <div className=\"cell col-xs-8 col-sm-4\">\n                        <div className=\"col-row\">\n                            <div className=\"cell col-xs-1 cell-ptb\">\n                                <CheckBox\n                                    checkBoxTriState={ this.props.selectAllState }\n                                    isDisabled={ false }\n                                    onClick={ this.handleOnChange }\n                                    label={ null }\n                                />\n                            </div>\n                            <SortableColumnHeader\n                                classes=\"col-sm-11 cell-ptb cell-plr ellipsis-out\"\n                                columnId=\"ITEM_NAME\"\n                                sorting={ sorting }\n                                onSortChange={ onSortChange }\n                            >\n                                Item\n                            </SortableColumnHeader>\n                        </div>\n                    </div>\n                    <SortableColumnHeader\n                        classes=\"col-xs-12 col-sm-5 col-lg-6 cell-plr-sm\"\n                        columnId=\"STORAGE_AREAS\"\n                        sorting={ sorting }\n                        onSortChange={ onSortChange }\n                    >\n                        Storage Areas\n                    </SortableColumnHeader>\n                    <div className=\"col-xs-4 col-sm-3 col-lg-2 hidden-xs\"/>\n                </div>\n            </div>\n        );\n    }\n\n    private readonly handleOnChange = () => {\n        this.props.onToggleSelect(this.props.selectAllState === CheckBoxTriState.Unchecked);\n    }\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\nimport { GroupByOption } from 'shared/models/GroupByOption';\n\nimport { GroupByDropdown } from 'shared/components/GroupByDropdown';\nimport { AddToStorageAreasDropdown, IAddToStorageAreasDropdownProps } from '../AddToStorageAreasDropdown';\nimport { UnassignedItemRow } from './UnassignedItemRow';\nimport { UnassignedItemsTableHeader } from './UnassignedItemsTableHeader';\n\nimport { UnassignedItemsActions, UnassignedItemsDispatch } from 'apps/InventoryCount/actions/UnassignedItemsActions';\nimport { ComponentName, IUnassignedItemsState } from 'apps/InventoryCount/reducers/UnassignedItemsReducers';\n\nimport { RowGroupHeader } from 'shared/components/LightTable/RowGroupHeader';\nimport { RowOptimizationWrapper } from 'shared/components/RowOptimizationWrapper/RowOptimizationWrapper';\nimport { StickyHeaderWrapper } from 'shared/components/StickyHeaderWrapper/StickyHeaderWrapper';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { TableControls } from 'shared/components/LightTable/TableControls';\nimport '../../css/UnassignedItemsView.scss';\nimport {\n    getClickWillCollapseAll\n} from '../../utils/StorageAreaSortingUtil';\nimport { CollapseAllButton } from 'shared/components/CollapseAllButton';\nimport { ContextMenu } from 'shared/components/ContextMenu';\n\nexport type DropdownRow = ProductId | 'ALL';\n\nexport interface IUnassignedItemsViewProps {\n    readonly productIdsToDisplay : StringValueSet<ProductId>;\n    readonly productsById : StringValueMap<ProductId, Product>;\n    readonly activeProductIds : StringValueSet<ProductId>;\n    readonly deletedProductIds : StringValueSet<ProductId>;\n    readonly sortedStorageAreaIds : ReadonlyArray<StorageAreaId>;\n    readonly storageAreasById : StringValueMap<StorageAreaId, StorageArea>;\n    readonly storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>;\n\n    // search bar state (always null if no search bar on the page)\n    readonly searchTerm : string | null;\n\n    readonly header : string | null;\n    readonly initialSelectedProductIds : StringValueSet<ProductId>;\n    readonly isOffline : boolean;\n\n    readonly addProductsToStorageAreas : (productIds : Array<ProductId>, storageAreaIds : StringValueSet<StorageAreaId>) => void;\n    readonly removeProductsFromStorageAreas : (productIds : StringValueSet<ProductId>, storageAreaIds : StringValueSet<StorageAreaId>) => void;\n    readonly createNewStorageArea : (storageAreaName : string) => Promise<StorageAreaId | void>;\n    readonly onSetProductsAsInactiveClick : (productIds : StringValueSet<ProductId>) => void;\n    readonly onDeleteProductsClick : (productIds : StringValueSet<ProductId>) => void;\n    readonly shownMoreOptionsProductIds : StringValueSet<ProductId>;\n    readonly visibleDropdownRow : DropdownRow | null;\n    readonly isShownByComponentName : { [componentName in ComponentName] : boolean };\n    readonly selectedProductIds : StringValueSet<ProductId>;\n    readonly sorting : IColumnSorting;\n    readonly activeGroupByOption : GroupByOption;\n    readonly sortedGroupNamesToDisplay : Array<string>;\n    readonly sortedProductIdsToDisplayByGroupName : {[groupName : string] : Array<ProductId>};\n    readonly panelIsOpenByGroupNameFromUserInput : {[groupName : string] : boolean};\n    readonly panelIsOpenByGroupNameFromFiltering : {[groupName : string] : boolean};\n    readonly showGroupByDropdown : boolean; // unfortunate hack because <ConnectedUnassignedItemsView/> is being used for different things in different places. bad.\n    readonly defaultPanelIsOpen : boolean;\n    readonly showExpandedMobileCountSummary : () => void;\n    readonly allowItemDeletion : boolean;\n}\n\nexport interface IBoundUnassignedItemsViewProps extends IUnassignedItemsViewProps {\n    readonly dispatch : UnassignedItemsDispatch;\n    readonly children? : React.ReactNode;\n}\n\nexport class UnassignedItemsView extends React.Component<IBoundUnassignedItemsViewProps, object> {\n\n    constructor(props : IBoundUnassignedItemsViewProps) {\n        super(props);\n\n        const {\n            dispatch,\n            productIdsToDisplay,\n            productsById,\n            storageAreaIdSetByProductId,\n            storageAreasById,\n            initialSelectedProductIds,\n            searchTerm,\n        } = this.props;\n\n        // do intitial sort, group, filter\n        dispatch(UnassignedItemsActions.setSortingFilteringAndGroupingOnPropsChange(productIdsToDisplay, productsById, storageAreaIdSetByProductId, storageAreasById, searchTerm));\n\n        // set selected\n        dispatch(UnassignedItemsActions.setSelectedProductIds(initialSelectedProductIds));\n    }\n\n    public UNSAFE_componentWillReceiveProps(nextProps : IBoundUnassignedItemsViewProps) {\n        if (this.props.productsById !== nextProps.productsById ||\n            this.props.storageAreaIdSetByProductId !== nextProps.storageAreaIdSetByProductId ||\n            this.props.storageAreasById !== nextProps.storageAreasById ||\n            this.props.productIdsToDisplay !== nextProps.productIdsToDisplay) {\n                this.props.dispatch(UnassignedItemsActions.setSortingFilteringAndGroupingOnPropsChange(\n                    nextProps.productIdsToDisplay,\n                    nextProps.productsById,\n                    nextProps.storageAreaIdSetByProductId,\n                    nextProps.storageAreasById,\n                    nextProps.searchTerm));\n        }else if (this.props.searchTerm !== nextProps.searchTerm) { // previous case handles setting search term\n            this.props.dispatch(UnassignedItemsActions.onSearchTermChange(nextProps.searchTerm));\n        }\n        return true;\n    }\n\n    public render() {\n        const {\n            sortedProductIdsToDisplayByGroupName,\n            sortedStorageAreaIds,\n            storageAreasById,\n            isShownByComponentName,\n            storageAreaIdSetByProductId,\n            visibleDropdownRow,\n            header,\n            selectedProductIds,\n            sorting,\n            sortedGroupNamesToDisplay,\n            activeGroupByOption,\n            productIdsToDisplay,\n            panelIsOpenByGroupNameFromUserInput,\n            panelIsOpenByGroupNameFromFiltering,\n            createNewStorageArea,\n            isOffline,\n            searchTerm,\n            showGroupByDropdown,\n            defaultPanelIsOpen,\n            activeProductIds,\n            deletedProductIds,\n            productsById,\n            allowItemDeletion,\n        } = this.props;\n\n        const selectedProductCountByStorageAreaId : StringValueMap<StorageAreaId, number> = this.getSelectedProductCountByStorageAreaId();\n\n        const checkBoxStatesByStorageAreaId = new StringValueMap<StorageAreaId, CheckBoxTriState>();\n        if (visibleDropdownRow === null) {\n            sortedStorageAreaIds.forEach((storageAreaId) => {\n                checkBoxStatesByStorageAreaId.set(storageAreaId, CheckBoxTriState.Unchecked);\n            });\n        } else {\n            if (visibleDropdownRow instanceof ProductId) {\n                const storageAreaIdSet : StringValueSet<StorageAreaId> | undefined = storageAreaIdSetByProductId.getRequired(visibleDropdownRow);\n\n                sortedStorageAreaIds.forEach((storageAreaId : StorageAreaId) => {\n                    const checkBoxState : CheckBoxTriState = storageAreaIdSet.has(storageAreaId) ?\n                        CheckBoxTriState.Checked :\n                        CheckBoxTriState.Unchecked;\n\n                    checkBoxStatesByStorageAreaId.set(\n                        storageAreaId,\n                        checkBoxState);\n                });\n            } else { // All\n                sortedStorageAreaIds.forEach((storageAreaId : StorageAreaId) => {\n                    const productCount : number = selectedProductCountByStorageAreaId.getRequired(storageAreaId);\n\n                    let checkBoxState : CheckBoxTriState;\n                    if (productCount > 0 && productCount === selectedProductIds.size) {\n                        checkBoxState = CheckBoxTriState.Checked;\n                    } else if (productCount === 0) {\n                        checkBoxState = CheckBoxTriState.Unchecked;\n                    } else {\n                        checkBoxState = CheckBoxTriState.Indeterminate;\n                    }\n\n                    checkBoxStatesByStorageAreaId.set(\n                        storageAreaId,\n                        checkBoxState);\n                });\n            }\n        }\n\n        const setShowDropdown = (showDropdownForRow : boolean) => {\n            return this.setShowDropdownForRow(showDropdownForRow, 'ALL');\n        };\n\n        const onDropdownCancelClick = () => {\n            return this.onDropdownCancelClickForRow('ALL');\n        };\n\n        const onDropdownSaveClick = (addStorageAreaIds : StringValueSet<StorageAreaId>, removeStorageAreaIds : StringValueSet<StorageAreaId>) => {\n            return this.onDropdownSaveClickForRow(addStorageAreaIds, removeStorageAreaIds, 'ALL');\n        };\n\n        const onDropdownBlur = (addStorageAreaIds : StringValueSet<StorageAreaId>, removeStorageAreaIds : StringValueSet<StorageAreaId>) => {\n            return this.onDropdownSaveClickForRow(addStorageAreaIds, removeStorageAreaIds, 'ALL');\n        };\n\n        const checkBoxStateCanBeIndeterminateByStorageAreaId = new StringValueMap<StorageAreaId, boolean>();\n        sortedStorageAreaIds.forEach((storageAreaId) => {\n            const productCount : number = selectedProductCountByStorageAreaId.getRequired(storageAreaId);\n            const canProductBeIndeterminate = (productCount > 0) && (productCount < selectedProductIds.size);\n\n            checkBoxStateCanBeIndeterminateByStorageAreaId.set(storageAreaId, canProductBeIndeterminate);\n        });\n\n        let selectAllState : CheckBoxTriState;\n        if (selectedProductIds.size === 0) {\n            selectAllState = CheckBoxTriState.Unchecked;\n        } else if (selectedProductIds.size === productIdsToDisplay.size) {\n            selectAllState = CheckBoxTriState.Checked;\n        } else {\n            selectAllState = CheckBoxTriState.Indeterminate;\n        }\n\n        const isOpenByGroupName : {[groupName : string] : boolean} = {};\n        sortedGroupNamesToDisplay.forEach((groupName : string) => {\n            let panelIsOpenFromUserInput = panelIsOpenByGroupNameFromUserInput[groupName];\n            if (typeof panelIsOpenFromUserInput === 'undefined') {\n                panelIsOpenFromUserInput = defaultPanelIsOpen;\n            }\n            const isOpen = panelIsOpenByGroupNameFromFiltering[groupName] || panelIsOpenFromUserInput;\n\n            isOpenByGroupName[groupName] = isOpen;\n        });\n\n        const onSelectAllClick = () => {\n            if (selectAllState === CheckBoxTriState.Unchecked) {\n                this.props.dispatch(UnassignedItemsActions.setSelectedProductIds(productIdsToDisplay));\n            } else {\n                this.props.dispatch(UnassignedItemsActions.setSelectedProductIds(new StringValueSet<ProductId>()));\n            }\n        };\n\n        const totalVisibleItems = Object.keys(sortedProductIdsToDisplayByGroupName).reduce(\n            (previous, productId) => {\n                const value = sortedProductIdsToDisplayByGroupName[productId].length;\n                return value + previous;\n            },\n            0.0\n        );\n\n        const nextClickWillCollapseAll = getClickWillCollapseAll(isOpenByGroupName);\n\n        return (\n            <div\n                className=\"unassigned-items-view light-table\"\n            >\n                <div className=\"unassigned-items-view-header-container\">\n                    <div className=\"unassigned-items-view-header row\">\n                        <div className=\"inventory-count-header no-pad\">\n                            <TableControls>\n                                <Flex direction=\"row\" wrap=\"wrap\" inline={ true } align=\"end\" className=\"flex-px-1\">\n                                    <h3>{ header }</h3>\n                                </Flex>\n                                <Flex direction=\"row\" inline={ true } justify=\"end\" align=\"center\" className=\"table-controls-secondary\">\n                                        <AddToStorageAreasDropdown\n                                            sortedStorageAreaIds={ sortedStorageAreaIds }\n                                            storageAreasById={ storageAreasById }\n                                            savedCheckBoxStatesByStorageAreaId={ checkBoxStatesByStorageAreaId }\n                                            toggleDropdownButtonText=\"Assign Selected\"\n                                            showDropdown={ visibleDropdownRow === 'ALL' }\n                                            setShowDropdown={ setShowDropdown }\n                                            onDropdownCancelClick={ onDropdownCancelClick }\n                                            onDropdownSaveClick={ onDropdownSaveClick }\n                                            onDropdownBlur={ onDropdownBlur }\n                                            onCreateNewStorageArea={ createNewStorageArea }\n                                            isOffline={ isOffline }\n                                        />\n                                        <ContextMenu\n                                            items={ [\n                                                {\n                                                    label: 'Archive Selected Items',\n                                                    iconClass: 'bevicon bevico-archive',\n                                                    handler: this.onSetSelectedProductsAsInactiveClick,\n                                                    isDisabled: (activeProductIds.size === 0),\n                                                },\n                                                ...(allowItemDeletion ? [{\n                                                    label: 'Delete Selected Items',\n                                                    iconClass: 'bevicon bevico-delete',\n                                                    handler: this.onDeleteSelectedProductsClick,\n                                                    isDisabled: (deletedProductIds.size === productsById.size),\n                                                }] : []),\n                                            ] }\n                                            menuIsShown={ isShownByComponentName.allProductsMoreOptions }\n                                            setMenuIsShown={ this.setAllProductsMoreOptionsIsShown }\n                                        />\n                                    </Flex>\n                            </TableControls>\n                        </div>\n                        <div className=\"table-controls-header\">\n                            <TableControls>\n                                <Flex direction=\"row\" wrap=\"wrap\" inline={ true } align=\"end\" className=\"flex-px-1\">\n                                    { showGroupByDropdown &&\n                                        <GroupByDropdown\n                                            dropdownOptionsShown={ isShownByComponentName.groupByOptionsDropdown }\n                                            selectedOption={ activeGroupByOption }\n                                            setDropdownOptionsShown={ this.setGroupByDropdownOptionsShown }\n                                            setSelectedOption={ this.setGroupBySelectedOption }\n                                            availableGroupByOptions={ [GroupByOption.ALL_ITEMS, GroupByOption.CATEGORY, GroupByOption.ITEM_TYPE, GroupByOption.LAST_EDITED] }\n                                        />\n                                    }\n                                </Flex>\n                                <Flex direction=\"row\" wrap=\"wrap\" inline={ true } justify=\"end\" align=\"center\" className=\"table-controls-secondary\">\n                                    <CollapseAllButton\n                                        nextClickWillCollapseAll={ nextClickWillCollapseAll }\n                                        onClick={ this.onCollapseAllButtonClick(nextClickWillCollapseAll) }\n                                    />\n                                </Flex>\n                            </TableControls>\n                        </div>\n                    </div>\n                </div>\n                { this.props.children }\n                <StickyHeaderWrapper>\n                    <UnassignedItemsTableHeader\n                        selectAllState={ selectAllState }\n                        onToggleSelect={ onSelectAllClick }\n                        onSortChange={ this.onSortChange }\n                        sorting={ sorting }\n                    />\n                </StickyHeaderWrapper>\n                { this.createGroupPanels(visibleDropdownRow, checkBoxStatesByStorageAreaId, sortedGroupNamesToDisplay, sortedProductIdsToDisplayByGroupName, isOpenByGroupName) }\n                { (totalVisibleItems === 0) && searchTerm !== null && searchTerm.length > 0 &&\n                    <div className=\"empty-state\">\n                        <h4>No items match your search</h4>\n                        <p>Clear your search or try a different term</p>\n                    </div>\n                }\n            </div>\n        );\n    }\n\n    private readonly onCollapseAllButtonClick = (nextClickWillCollapseAll : boolean) => {\n        return () => {\n            this.props.dispatch(UnassignedItemsActions.onCollapseAllClick(nextClickWillCollapseAll));\n        };\n    }\n\n    private readonly createGroupPanels = (\n        currentDropdownRow : DropdownRow | null,\n        savedCheckBoxStatesByStorageAreaId : StringValueMap<StorageAreaId, CheckBoxTriState>,\n        orderedGroupNames : Array<string>,\n        sortedProductIdsToDisplayByGroupName : {[groupName : string] : Array<ProductId>},\n        isOpenByGroupName : {[groupName : string] : boolean},\n    ) => {\n        return orderedGroupNames.map((groupName : string, index : number) => {\n\n            const productIdsForGroup = sortedProductIdsToDisplayByGroupName[groupName];\n\n            const rowFactory = this.createUnassignedItemsRowFactoryForGroup(\n                currentDropdownRow,\n                savedCheckBoxStatesByStorageAreaId,\n                productIdsForGroup\n            );\n            let rowContainer : HTMLDivElement;\n            const containerBodyRefFunction = (containerBody : HTMLDivElement) => {\n                rowContainer = containerBody;\n            };\n\n            const getRowContainer = () => {\n                return rowContainer;\n            };\n\n            const groupIsOpen = isOpenByGroupName[groupName];\n\n            return (\n                <div className=\"storage-area-manager-group-container light-table-group-container\" key={ groupName }>\n                    <StickyHeaderWrapper>\n                        { this.getRowGroupHeader(groupName, productIdsForGroup, this.props.selectedProductIds, productIdsForGroup.length, groupIsOpen) }\n                    </StickyHeaderWrapper>\n                    <div ref={ containerBodyRefFunction }>\n                        <RowOptimizationWrapper\n                            numRows={ productIdsForGroup.length }\n                            rowFactory={ rowFactory }\n                            getRowContainer={ getRowContainer }\n                            isOpen={ groupIsOpen }\n                        />\n                    </div>\n                </div>\n            );\n        });\n    }\n\n    private readonly createUnassignedItemsRowFactoryForGroup = (\n        currentDropdownRow : DropdownRow | null,\n        savedCheckBoxStatesByStorageAreaId : StringValueMap<StorageAreaId, CheckBoxTriState>,\n        sortedProductIds : Array<ProductId>,\n    ) => {\n        const {\n            productsById,\n            activeProductIds,\n            deletedProductIds,\n            sortedStorageAreaIds,\n            storageAreasById,\n            storageAreaIdSetByProductId,\n            onSetProductsAsInactiveClick,\n            onDeleteProductsClick,\n            shownMoreOptionsProductIds,\n            selectedProductIds,\n            createNewStorageArea,\n            isOffline,\n            allowItemDeletion,\n        } = this.props;\n\n        return (i : number) => {\n            const productId = sortedProductIds[i];\n\n            const product : Product = productsById.getRequired(productId);\n\n            const assignedStorageAreaIds : StringValueSet<StorageAreaId> = storageAreaIdSetByProductId.getRequired(productId);\n            const onRemoveStorageAreaClick = (storageAreaId : StorageAreaId) => {\n                return this.onRemoveStorageAreaClickForPill(storageAreaId, productId);\n            };\n\n            const showDropdown : boolean = (currentDropdownRow instanceof ProductId) ? productId.equals(currentDropdownRow) : false;\n\n            const setShowDropdown = (showDropdownForRow : boolean) => {\n                return this.setShowDropdownForRow(showDropdownForRow, productId);\n            };\n\n            const onDropdownCancelClick = () => {\n                return this.onDropdownCancelClickForRow(productId);\n            };\n\n            const onDropdownSaveClick = (addStorageAreaIds : StringValueSet<StorageAreaId>, removeStorageAreaIds : StringValueSet<StorageAreaId>) => {\n                return this.onDropdownSaveClickForRow(addStorageAreaIds, removeStorageAreaIds, productId);\n            };\n\n            const onDropdownBlur = (addStorageAreaIds : StringValueSet<StorageAreaId>, removeStorageAreaIds : StringValueSet<StorageAreaId>) => {\n                return this.onDropdownSaveClickForRow(addStorageAreaIds, removeStorageAreaIds, productId);\n            };\n\n            const addToStorageAreasDropdownProps : IAddToStorageAreasDropdownProps = {\n                sortedStorageAreaIds,\n                storageAreasById,\n                savedCheckBoxStatesByStorageAreaId,\n                toggleDropdownButtonText: 'Assign Area',\n                showDropdown,\n                setShowDropdown,\n                onDropdownCancelClick,\n                onDropdownSaveClick,\n                onDropdownBlur,\n                onCreateNewStorageArea: createNewStorageArea,\n                isOffline,\n            };\n\n            const isActive = activeProductIds.has(productId);\n            const isDeleted = deletedProductIds.has(productId);\n            const menuIsShown = shownMoreOptionsProductIds.has(productId);\n            const rowIsSelected = selectedProductIds.has(productId);\n\n            const setUnassignedItemRowMenuIsShown = (isShown : boolean) : void => {\n                return this.setMenuIsShownForRow(productId, isShown);\n            };\n\n            const onSetAsInactiveClick = () : void => { // TODO handle select thing when on this?\n                return onSetProductsAsInactiveClick(new StringValueSet([productId]));\n            };\n\n            const onDeleteClick = () : void => { // TODO handle select thing when on this?\n                return onDeleteProductsClick(new StringValueSet([productId]));\n            };\n\n            const setIsSelected = (isSelected : boolean) : void => {\n                return this.setProductRowIsSelected(productId, isSelected);\n            };\n\n            return (\n                <UnassignedItemRow\n                    key={ productId.getValue() }\n                    product={ product }\n                    isActive={ isActive }\n                    isDeleted={ isDeleted }\n                    assignedStorageAreaIds={ assignedStorageAreaIds }\n                    onRemoveStorageAreaClick={ onRemoveStorageAreaClick }\n                    addToStorageAreasDropdownProps={ addToStorageAreasDropdownProps }\n                    menuIsShown={ menuIsShown }\n                    setMenuIsShown={ setUnassignedItemRowMenuIsShown }\n                    onSetProductAsInactiveClick={ onSetAsInactiveClick }\n                    onDeleteProductClick={ onDeleteClick }\n                    isSelected={ rowIsSelected }\n                    setIsSelected={ setIsSelected }\n                    allowItemDeletion={ allowItemDeletion }\n                />\n            );\n        };\n    }\n\n    private readonly getRowGroupHeader = (\n        groupName : string,\n        productIds : Array<ProductId>,\n        selectedProductIds : StringValueSet<ProductId>,\n        unfilteredGroupSize : number,\n        isOpen : boolean,\n    ) : JSX.Element => {\n\n        let selectAllState : CheckBoxTriState;\n        let selectedCount = 0;\n        productIds.forEach((productId : ProductId) => {\n            if (selectedProductIds.has(productId)) {\n                selectedCount += 1;\n            }\n        });\n\n        if (selectedCount === 0) {\n            selectAllState = CheckBoxTriState.Unchecked;\n        } else if (selectedCount === productIds.length) {\n            selectAllState = CheckBoxTriState.Checked;\n        } else {\n            selectAllState = CheckBoxTriState.Indeterminate;\n        }\n\n        const onSelectAllClick = () => {\n            if (selectAllState === CheckBoxTriState.Unchecked) {\n                const newSelectedProductIds = new StringValueSet(Array.from(selectedProductIds.values()).concat(productIds));\n                this.props.dispatch(UnassignedItemsActions.setSelectedProductIds(newSelectedProductIds));\n            } else {\n                const newSelectedProductIdsArray = Array.from(selectedProductIds.values()).filter((productId) => productIds.indexOf(productId) === -1);\n                const newSelectedProductIds = new StringValueSet(newSelectedProductIdsArray);\n                this.props.dispatch(UnassignedItemsActions.setSelectedProductIds(newSelectedProductIds));\n            }\n        };\n\n        const onClick = () => {\n            this.props.dispatch(UnassignedItemsActions.setPanelIsOpenFromUserInputForGroupNames(new Set([groupName]), !isOpen));\n        };\n\n        return (\n            <RowGroupHeader\n                selectAllState={ selectAllState }\n                onSelectAllClick={ onSelectAllClick }\n                groupName={ groupName }\n                isOpen={ isOpen }\n                visibleItemCount={ productIds.length }\n                totalItemCount={ unfilteredGroupSize }\n                onClick={ onClick }\n                showExpandArrow={ true }\n            />\n        );\n    }\n\n    private readonly setShowDropdownForRow = (showDropdown : boolean, dropdownRow : DropdownRow) => {\n        const {\n            storageAreaIdSetByProductId,\n            dispatch,\n        } = this.props;\n\n        if (storageAreaIdSetByProductId === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        if (showDropdown) {\n            if (!this.isEqualToCurrentDropdownRow(dropdownRow)) {\n                dispatch(UnassignedItemsActions.setVisibleDropdownRow(dropdownRow));\n            }\n        } else if (this.isEqualToCurrentDropdownRow(dropdownRow)) {\n            dispatch(UnassignedItemsActions.setVisibleDropdownRow(null));\n        }\n    }\n\n    private readonly onSetSelectedProductsAsInactiveClick = () => {\n        this.props.onSetProductsAsInactiveClick(this.props.selectedProductIds);\n        this.props.dispatch(UnassignedItemsActions.setSelectedProductIds(new StringValueSet())); // unselect all // TODO this is bad if they hit cancel...\n    }\n\n    private readonly onDeleteSelectedProductsClick = () => {\n        this.props.onDeleteProductsClick(this.props.selectedProductIds);\n        this.props.dispatch(UnassignedItemsActions.setSelectedProductIds(new StringValueSet())); // unselect all // TODO this is bad if they hit cancel...\n    }\n\n    private readonly onRemoveStorageAreaClickForPill = (storageAreaId : StorageAreaId, productId : ProductId) => {\n        const {\n            removeProductsFromStorageAreas,\n        } = this.props;\n        removeProductsFromStorageAreas(new StringValueSet([productId]), new StringValueSet([storageAreaId]));\n    }\n\n    private readonly setMenuIsShownForRow = (productId : ProductId, isShown : boolean) => {\n        this.props.dispatch(UnassignedItemsActions.setMoreOptionsIsShownForProductIds(new StringValueSet([productId]), isShown));\n    }\n\n    private readonly onDropdownCancelClickForRow = (dropdownRow : DropdownRow) => {\n        const {\n            dispatch,\n        } = this.props;\n\n        dispatch(UnassignedItemsActions.setVisibleDropdownRow(null));\n    }\n\n    private readonly onDropdownSaveClickForRow = (addStorageAreaIds : StringValueSet<StorageAreaId>, removeStorageAreaIds : StringValueSet<StorageAreaId>, dropdownRow : DropdownRow) => {\n        const {\n            activeProductIds,\n            deletedProductIds,\n            storageAreaIdSetByProductId,\n            addProductsToStorageAreas,\n            removeProductsFromStorageAreas,\n            visibleDropdownRow,\n            selectedProductIds,\n            dispatch,\n        } = this.props;\n\n        if ((visibleDropdownRow === null) || (storageAreaIdSetByProductId === null)) {\n            throw new RuntimeException('unexpected');\n        }\n\n        if (!this.isEqualToCurrentDropdownRow(dropdownRow)) {\n            throw new RuntimeException('unexpected: can only operate on currentDropdownRow');\n        }\n\n        if (dropdownRow instanceof ProductId) {\n            if (addStorageAreaIds.size > 0) {\n                addProductsToStorageAreas([dropdownRow], addStorageAreaIds);\n            }\n\n            if (removeStorageAreaIds.size > 0) {\n                removeProductsFromStorageAreas(new StringValueSet([dropdownRow]), removeStorageAreaIds);\n            }\n        } else { // All\n            const activeSelectedProductIds = Array.from(selectedProductIds.values()).filter((productId) => {\n                return !deletedProductIds.has(productId) && activeProductIds.has(productId);\n            });\n\n            if (removeStorageAreaIds.size > 0) {\n                removeProductsFromStorageAreas(new StringValueSet(activeSelectedProductIds), removeStorageAreaIds);\n            }\n\n            if (addStorageAreaIds.size > 0) {\n                addProductsToStorageAreas(activeSelectedProductIds, addStorageAreaIds);\n            }\n\n        }\n\n        dispatch(UnassignedItemsActions.setVisibleDropdownRow(null));\n    }\n\n    private readonly isEqualToCurrentDropdownRow = (dropdownRow : DropdownRow) => {\n        const {\n            visibleDropdownRow,\n        } = this.props;\n\n        if (visibleDropdownRow === null) {\n            return false;\n        }\n\n        if (visibleDropdownRow instanceof ProductId && dropdownRow instanceof ProductId) {\n            return visibleDropdownRow.equals(dropdownRow);\n        }\n\n        return visibleDropdownRow === dropdownRow;\n    }\n\n    private readonly setAllProductsMoreOptionsIsShown = (isShown : boolean) => {\n        this.props.dispatch(UnassignedItemsActions.setComponentIsShown('allProductsMoreOptions', isShown));\n    }\n\n    private readonly getSelectedProductCountByStorageAreaId = () : StringValueMap<StorageAreaId, number> => {\n        const {\n            sortedStorageAreaIds,\n            storageAreaIdSetByProductId,\n            selectedProductIds,\n        } = this.props;\n\n        if (storageAreaIdSetByProductId === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        const productCountByStorageAreaId : StringValueMap<StorageAreaId, number> = new StringValueMap();\n        sortedStorageAreaIds.forEach((storageAreaId : StorageAreaId) => {\n            productCountByStorageAreaId.set(storageAreaId, 0);\n        });\n\n        storageAreaIdSetByProductId.forEach(\n            (storageAreaIdSet : StringValueSet<StorageAreaId>, productId : ProductId) => {\n                if (selectedProductIds.has(productId)) {\n                    storageAreaIdSet.forEach((storageAreaId : StorageAreaId) => {\n                        const productCount : number | undefined = productCountByStorageAreaId.get(storageAreaId);\n                        if (typeof productCount === 'undefined') {\n                            throw new RuntimeException('unexpected');\n                        }\n\n                        productCountByStorageAreaId.set(\n                            storageAreaId,\n                            productCount + 1);\n                    });\n                }\n            }\n        );\n\n        return productCountByStorageAreaId;\n    }\n\n    private readonly setProductRowIsSelected = (productId : ProductId, isSelected : boolean) => {\n        const {\n            selectedProductIds\n        } = this.props;\n\n        const newSelectedProductIds : StringValueSet<ProductId> = new StringValueSet(selectedProductIds);\n        if (isSelected) {\n            newSelectedProductIds.add(productId);\n        } else {\n            newSelectedProductIds.delete(productId);\n        }\n\n        this.props.dispatch(UnassignedItemsActions.setSelectedProductIds(newSelectedProductIds));\n    }\n\n    private readonly setGroupByDropdownOptionsShown = (isShown : boolean) => {\n        this.props.dispatch(UnassignedItemsActions.setComponentIsShown('groupByOptionsDropdown', isShown));\n    }\n\n    private readonly setGroupBySelectedOption = (groupByOption : GroupByOption) => {\n        this.props.dispatch(UnassignedItemsActions.onSelectActiveGroupByOption(groupByOption, this.props.productsById, this.props.storageAreaIdSetByProductId)); // TODO need a thunk action for grouping !\n    }\n\n    private readonly onSortChange = (sortBy : string) => {\n        const {\n            sorting\n        } = this.props;\n\n        this.props.dispatch(UnassignedItemsActions.onSelectActiveColumnSort({\n            sortedBy: sortBy,\n            direction: (sortBy === sorting.sortedBy) ? sorting.direction * -1 : sorting.direction,\n        }));\n    }\n}\n\nexport interface IConnectedUnassignedItemsViewProps {\n    readonly productIdsToDisplay : StringValueSet<ProductId>;\n    readonly productsById : StringValueMap<ProductId, Product>;\n    readonly activeProductIds : StringValueSet<ProductId>;\n    readonly deletedProductIds : StringValueSet<ProductId>;\n    readonly sortedStorageAreaIds : ReadonlyArray<StorageAreaId>;\n    readonly storageAreasById : StringValueMap<StorageAreaId, StorageArea>;\n    readonly storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>;\n    readonly searchTerm : string | null;\n\n    readonly header : string | null;\n    readonly initialSelectedProductIds : StringValueSet<ProductId>;\n    readonly isOffline : boolean;\n\n    readonly addProductsToStorageAreas : (productIds : Array<ProductId>, storageAreaIds : StringValueSet<StorageAreaId>) => void;\n    readonly removeProductsFromStorageAreas : (productId : StringValueSet<ProductId>, storageAreaIds : StringValueSet<StorageAreaId>) => void;\n    readonly onSetProductsAsInactiveClick : (productIds : StringValueSet<ProductId>) => void;\n    readonly onDeleteProductsClick : (productId : StringValueSet<ProductId>) => void;\n    readonly createNewStorageArea : (newStorageAreaName : string) => Promise<StorageAreaId | void>;\n    readonly showGroupByDropdown : boolean; // unfortunate hack because <ConnectedUnassignedItemsView/> is being used for different things in different places. bad.\n    readonly showExpandedMobileCountSummary : () => void;\n    readonly allowItemDeletion : boolean;\n}\n\ninterface IState {\n    unassignedItemsState : IUnassignedItemsState;\n}\n\nconst mapStateToProps = (\n    state : IState,\n    props : IConnectedUnassignedItemsViewProps,\n) : IUnassignedItemsViewProps => {\n    return {\n        productIdsToDisplay: props.productIdsToDisplay,\n        productsById: props.productsById,\n        activeProductIds: props.activeProductIds,\n        deletedProductIds: props.deletedProductIds,\n        sortedStorageAreaIds: props.sortedStorageAreaIds,\n        storageAreasById: props.storageAreasById,\n        storageAreaIdSetByProductId: props.storageAreaIdSetByProductId,\n        header: props.header,\n        initialSelectedProductIds: props.initialSelectedProductIds,\n        searchTerm: props.searchTerm,\n        addProductsToStorageAreas: props.addProductsToStorageAreas,\n        removeProductsFromStorageAreas: props.removeProductsFromStorageAreas,\n        createNewStorageArea: props.createNewStorageArea,\n        onSetProductsAsInactiveClick: props.onSetProductsAsInactiveClick,\n        onDeleteProductsClick: props.onDeleteProductsClick,\n        isOffline : props.isOffline,\n        showExpandedMobileCountSummary : props.showExpandedMobileCountSummary,\n\n        visibleDropdownRow: state.unassignedItemsState.visibleDropdownRow,\n        shownMoreOptionsProductIds: state.unassignedItemsState.shownMoreOptionsProductIds,\n        isShownByComponentName: state.unassignedItemsState.isShownByComponentName,\n        selectedProductIds: state.unassignedItemsState.selectedProductIds,\n        sorting: state.unassignedItemsState.tableSorting,\n        sortedGroupNamesToDisplay: state.unassignedItemsState.sortedGroupNamesToDisplay,\n        sortedProductIdsToDisplayByGroupName: state.unassignedItemsState.sortedProductIdsToDisplayByGroupName,\n        activeGroupByOption: state.unassignedItemsState.activeGroupByOption,\n        panelIsOpenByGroupNameFromUserInput: state.unassignedItemsState.panelIsOpenByGroupNameFromUserInput,\n        panelIsOpenByGroupNameFromFiltering: state.unassignedItemsState.panelIsOpenByGroupNameFromFiltering,\n        showGroupByDropdown: props.showGroupByDropdown,\n        defaultPanelIsOpen: state.unassignedItemsState.defaultPanelIsOpen,\n        allowItemDeletion: props.allowItemDeletion,\n    };\n};\n\nexport const ConnectedUnassignedItemsView = connect<IUnassignedItemsViewProps, object, IConnectedUnassignedItemsViewProps, IState>(mapStateToProps)(UnassignedItemsView);\n","import { Action } from '@reduxjs/toolkit';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { SortDirection } from 'shared/models/SortDirection';\n\nimport { ActionTypes, UnassignedItemsActionInterfaces } from 'apps/InventoryCount/actions/UnassignedItemsActions';\nimport { DropdownRow } from 'apps/InventoryCount/components/UnassignedItems/UnassignedItemsView';\n\nexport type ComponentName = 'allProductsMoreOptions' | 'groupByOptionsDropdown';\n\nexport interface IUnassignedItemsState {\n    readonly visibleDropdownRow : DropdownRow | null;\n    readonly isShownByComponentName : { [componentName in ComponentName] : boolean };\n    readonly shownMoreOptionsProductIds : StringValueSet<ProductId>;\n    readonly selectedProductIds : StringValueSet<ProductId>;\n\n    // data based on props (putting here for sorting/grouping/filtering purposes)\n    readonly productIdsForDisplay : StringValueSet<ProductId>;\n    readonly productsById : StringValueMap<ProductId, Product>;\n    readonly storageAreaIdSetByProductId : StringValueMap<ProductId, StringValueSet<StorageAreaId>>;\n    readonly storageAreasById : StringValueMap<StorageAreaId, StorageArea>;\n    readonly searchTerm : string | null;\n\n    // Table UI\n    readonly tableSorting : IColumnSorting;\n    readonly activeGroupByOption : GroupByOption;\n    readonly sortedGroupNamesToDisplay : Array<string>;\n    readonly sortedProductIdsToDisplayByGroupName : {[groupName : string] : Array<ProductId>};\n    readonly panelIsOpenByGroupNameFromUserInput : {[groupName : string] : boolean};\n    readonly panelIsOpenByGroupNameFromFiltering : {[groupName : string] : boolean};\n    readonly defaultPanelIsOpen : boolean;\n}\n\nconst unassignedItemsInitialState : IUnassignedItemsState = {\n    isShownByComponentName: {\n        allProductsMoreOptions: false,\n        groupByOptionsDropdown: false,\n    },\n    visibleDropdownRow: null,\n    shownMoreOptionsProductIds: new StringValueSet<ProductId>(),\n    selectedProductIds: new StringValueSet<ProductId>(),\n\n    productIdsForDisplay: new StringValueSet<ProductId>(),\n    productsById: new StringValueMap(),\n    storageAreaIdSetByProductId: new StringValueMap(),\n    storageAreasById: new StringValueMap(),\n    searchTerm: null,\n\n    tableSorting: {\n        sortedBy: 'ITEM_NAME',\n        direction: SortDirection.ASCENDING,\n    },\n    activeGroupByOption: GroupByOption.LAST_EDITED,\n    sortedGroupNamesToDisplay: [],\n    sortedProductIdsToDisplayByGroupName: {},\n    panelIsOpenByGroupNameFromUserInput: {},\n    panelIsOpenByGroupNameFromFiltering: {},\n    defaultPanelIsOpen: true,\n};\n\nconst reduceSetDefaultPanelIsOpen = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetDefaultPanelIsOpen\n) : IUnassignedItemsState => {\n    return {\n        ...state,\n        defaultPanelIsOpen: action.payload.defaultPanelIsOpen,\n        panelIsOpenByGroupNameFromUserInput: {},\n        panelIsOpenByGroupNameFromFiltering: {},\n    };\n};\n\nconst reduceSetVisibleDropdownRow = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetVisibleDropdownRow,\n) : IUnassignedItemsState => {\n    const {\n        visibleDropdownRow,\n    } = action.payload;\n\n    return {\n        ...state,\n        visibleDropdownRow,\n    };\n};\n\nconst reduceSetMoreOptionsIsShownForProductIds = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetMoreOptionsIsShownForProductIds\n) : IUnassignedItemsState => {\n    // Enforces constraint that only one can be open at a time\n    let newShownMoreOptionsProductIds : StringValueSet<ProductId>;\n    if (action.payload.isShown) {\n        newShownMoreOptionsProductIds = new StringValueSet<ProductId>(action.payload.productIds);\n    } else {\n        newShownMoreOptionsProductIds = new StringValueSet();\n    }\n\n    return {\n        ...state,\n        shownMoreOptionsProductIds: newShownMoreOptionsProductIds,\n    };\n};\n\nconst reduceSetComponentIsShown = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetComponentIsShown\n) : IUnassignedItemsState => {\n    return {\n        ...state,\n        isShownByComponentName: {\n            ...state.isShownByComponentName,\n            [action.payload.componentName]: action.payload.isShown,\n        },\n    };\n};\n\nconst reduceSetSelectedProductIds = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetSelectedProductIds\n) : IUnassignedItemsState => {\n    return {\n        ...state,\n        selectedProductIds: action.payload.productIds,\n    };\n};\n\nconst reduceSetActiveGroupByOption = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetActiveGroupByOption\n) : IUnassignedItemsState => {\n    return {\n        ...state,\n        activeGroupByOption: action.payload.groupByOption,\n    };\n};\n\nconst reduceSetSortedGroupNamesAndSortedProductIdsToDisplayByGroupName = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetSortedGroupNamesAndSortedProductIdsToDisplayByGroupName\n) : IUnassignedItemsState => {\n    return {\n        ...state,\n        sortedProductIdsToDisplayByGroupName: action.payload.sortedProductIdsToDisplayByGroupName,\n        sortedGroupNamesToDisplay: action.payload.sortedGroupNamesToDisplay,\n        panelIsOpenByGroupNameFromFiltering: action.payload.panelIsOpenByGroupNameFromFiltering,\n    };\n};\n\nconst reduceSetProductsByIdAndStorageAreaIdSetByProductId = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetProductsByIdAndStorageAreaIdSetByProductId\n) : IUnassignedItemsState => {\n    return {\n        ...state,\n        productIdsForDisplay: action.payload.productIdsForDisplay,\n        productsById: action.payload.productsById,\n        storageAreaIdSetByProductId: action.payload.storageAreaIdSetByProductId,\n        storageAreasById: action.payload.storageAreasById,\n    };\n};\n\nconst reduceSetTableSorting = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetTableSorting\n) : IUnassignedItemsState => {\n    return {\n        ...state,\n        tableSorting: action.payload.columnSort,\n    };\n};\n\nconst reduceSetSearchTerm = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetSearchTerm\n) : IUnassignedItemsState => {\n    return {\n        ...state,\n        searchTerm: action.payload.searchTerm,\n    };\n};\n\nconst reduceSetPanelIsOpenFromUserInputForGroupNames = (\n    state : IUnassignedItemsState,\n    action : UnassignedItemsActionInterfaces.ISetPanelIsOpenFromUserInputForGroupNames\n) : IUnassignedItemsState => {\n    const newPanelIsOpenByGroupNameFromUserInput = { ...state.panelIsOpenByGroupNameFromUserInput };\n    const newPanelIsOpenByGroupNameFromFiltering = { ...state.panelIsOpenByGroupNameFromFiltering };\n\n    action.payload.groupNames.forEach((groupName) => {\n        newPanelIsOpenByGroupNameFromUserInput[groupName] = action.payload.panelIsOpen;\n        delete newPanelIsOpenByGroupNameFromFiltering[groupName];\n    });\n\n    return {\n        ...state,\n        panelIsOpenByGroupNameFromUserInput: newPanelIsOpenByGroupNameFromUserInput,\n        panelIsOpenByGroupNameFromFiltering: newPanelIsOpenByGroupNameFromFiltering,\n    };\n};\n\nexport const UnassignedItemsReducers = (\n    state : IUnassignedItemsState = unassignedItemsInitialState,\n    action : Action,\n) : IUnassignedItemsState => {\n    switch (action.type) {\n        case ActionTypes.SET_COMPONENT_IS_SHOWN:\n            return reduceSetComponentIsShown(state, action as UnassignedItemsActionInterfaces.ISetComponentIsShown);\n        case ActionTypes.SET_VISIBLE_DROPDOWN_ROW:\n            return reduceSetVisibleDropdownRow(state, action as UnassignedItemsActionInterfaces.ISetVisibleDropdownRow);\n        case ActionTypes.SET_MORE_OPTIONS_IS_SHOWN_FOR_PRODUCT_IDS:\n            return reduceSetMoreOptionsIsShownForProductIds(state, action as UnassignedItemsActionInterfaces.ISetMoreOptionsIsShownForProductIds);\n        case ActionTypes.SET_PRODUCT_ROWS_SELECTED:\n            return reduceSetSelectedProductIds(state, action as UnassignedItemsActionInterfaces.ISetSelectedProductIds);\n        case ActionTypes.SET_ACTIVE_GROUP_BY_OPTION:\n            return reduceSetActiveGroupByOption(state, action as UnassignedItemsActionInterfaces.ISetActiveGroupByOption);\n        case ActionTypes.SET_SORTED_GROUP_NAMES_AND_SORTED_PRODUCT_IDS_TO_DISPLAY_BY_GROUP_NAME:\n            return reduceSetSortedGroupNamesAndSortedProductIdsToDisplayByGroupName(state, action as UnassignedItemsActionInterfaces.ISetSortedGroupNamesAndSortedProductIdsToDisplayByGroupName);\n        case ActionTypes.SET_PRODUCTS_BY_ID_AND_STORAGE_AREA_ID_SET_BY_PRODUCT_ID:\n            return reduceSetProductsByIdAndStorageAreaIdSetByProductId(state, action as UnassignedItemsActionInterfaces.ISetProductsByIdAndStorageAreaIdSetByProductId);\n        case ActionTypes.SET_TABLE_SORTING:\n            return reduceSetTableSorting(state, action as UnassignedItemsActionInterfaces.ISetTableSorting);\n        case ActionTypes.SET_SEARCH_TERM:\n            return reduceSetSearchTerm(state, action as UnassignedItemsActionInterfaces.ISetSearchTerm);\n        case ActionTypes.SET_PANEL_IS_OPEN_FROM_USER_INPUT_FOR_GROUP_NAMES:\n            return reduceSetPanelIsOpenFromUserInputForGroupNames(state, action as UnassignedItemsActionInterfaces.ISetPanelIsOpenFromUserInputForGroupNames);\n        case ActionTypes.SET_DEFAULT_PANEL_IS_OPEN:\n            return reduceSetDefaultPanelIsOpen(state, action as UnassignedItemsActionInterfaces.ISetDefaultPanelIsOpen);\n        default:\n            return state;\n    }\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { SortDirection } from 'shared/models/SortDirection';\nimport { IInventoryCountData } from '../reducers/InventoryCountReducers';\n\nimport { defaultGroupNameComparator, defaultProductRowFilter, getBrandAndNameStringForSort, getCleanCountFromCountEvent, getDefaultGroupNameForProductRow } from 'shared/utils/productSortingFilteringAndGroupingUtils';\nimport { compareNumbers, SortingFilteringAndGroupingUtil } from 'shared/utils/sortingFilteringAndGroupingUtils';\n\ninterface IStorageAreaSortingUtilExtraArgs {\n    inventoryCountData : IInventoryCountData;\n    storageAreaId : StorageAreaId;\n}\n\nconst rowIdComparator = (productId1 : ProductId, productId2 : ProductId, columnSort : IColumnSorting, extraArgs : IStorageAreaSortingUtilExtraArgs) : number => {\n    const {\n        storageAreaId,\n        inventoryCountData,\n    } = extraArgs;\n\n    const direction = columnSort.direction;\n    const sortedBy = columnSort.sortedBy;\n    const product1 = inventoryCountData.productsById.getRequired(productId1);\n    const product2 = inventoryCountData.productsById.getRequired(productId2);\n\n    let comparisonResult : number;\n    switch (sortedBy) {\n        case 'ITEM_NAME':\n            const nameString1 = getBrandAndNameStringForSort(product1);\n            const nameString2 = getBrandAndNameStringForSort(product2);\n            comparisonResult = nameString1.localeCompare(nameString2);\n            break;\n        case 'STORAGE_AREA_INDEX':\n            const sortedProductIdList = inventoryCountData.inventoryCount.getInventoryConfiguration().getSortedProductIdListsByStorageAreaId().getRequired(storageAreaId);\n            const storageAreaIndex1 = sortedProductIdList.findIndex((p) => p.equals(productId1));\n            const storageAreaIndex2 = sortedProductIdList.findIndex((p) => p.equals(productId2));\n            comparisonResult = compareNumbers(storageAreaIndex1, storageAreaIndex2);\n            break;\n        case 'LAST_COUNT':\n            if (inventoryCountData.usageStartInventoryCount === null) {\n                comparisonResult = 0;\n            } else {\n                const lastProductCountEventsByProductId = inventoryCountData.usageStartInventoryCount.getProductCountEventsByProductIdByStorageAreaId().getRequired(storageAreaId);\n                const lastCount1 = getCleanCountFromCountEvent(lastProductCountEventsByProductId.get(productId1), product1, productId1);\n                const lastCount2 = getCleanCountFromCountEvent(lastProductCountEventsByProductId.get(productId2), product2, productId2);\n                comparisonResult = compareNumbers(lastCount1, lastCount2);\n            }\n            break;\n        case 'CURRENT_COUNT':\n            const productCountEventsByProductId = inventoryCountData.inventoryCount.getProductCountEventsByProductIdByStorageAreaId().getRequired(storageAreaId);\n            const currentCount1 = getCleanCountFromCountEvent(productCountEventsByProductId.get(productId1), product1, productId1);\n            const currentCount2 = getCleanCountFromCountEvent(productCountEventsByProductId.get(productId2), product2, productId2);\n            comparisonResult = compareNumbers(currentCount1, currentCount2);\n            break;\n        default:\n            throw new RuntimeException('unhandled sort field');\n    }\n\n    if (direction === SortDirection.DESCENDING) {\n        return comparisonResult * -1;\n    }\n\n    return comparisonResult;\n};\n\nconst rowFilter = (productId : ProductId, filterTerm : string | null, extraArgs : IStorageAreaSortingUtilExtraArgs) => {\n    return defaultProductRowFilter(productId, filterTerm, extraArgs.inventoryCountData.productsById, extraArgs.inventoryCountData.distributorIdsByProductId, extraArgs.inventoryCountData.distributorsById, new StringValueMap());\n};\n\nconst groupNameGetter = (productId : ProductId, groupByOption : GroupByOption, extraArgs : IStorageAreaSortingUtilExtraArgs) => {\n    return getDefaultGroupNameForProductRow(productId, groupByOption, extraArgs.inventoryCountData.productsById, extraArgs.inventoryCountData.distributorIdsByProductId, extraArgs.inventoryCountData.distributorsById);\n};\n\nconst groupNameComparator = (groupName1 : string, groupName2 : string, groupByOption : GroupByOption, extraArgs : IStorageAreaSortingUtilExtraArgs) => {\n    return defaultGroupNameComparator(groupName1, groupName2, groupByOption);\n};\n\nconst intermediateResultCacheIsValid = (rowIds : Array<ProductId>, lastRowIds : Array<ProductId>, extraArgs : IStorageAreaSortingUtilExtraArgs, lastExtraArgs : IStorageAreaSortingUtilExtraArgs) : boolean => {\n    return (rowIds === lastRowIds) && (extraArgs.inventoryCountData === lastExtraArgs.inventoryCountData) && extraArgs.storageAreaId.equals(lastExtraArgs.storageAreaId);\n};\n\nexport const getClickWillCollapseAll = (isOpenByGroupName : {[groupName : string] : boolean}) => {\n    return Object.keys(isOpenByGroupName).reduce((nextClickWillCollapseAll : boolean, groupName : string) => nextClickWillCollapseAll || isOpenByGroupName[groupName], false);\n};\n\nexport const storageAreaSortingUtil = new SortingFilteringAndGroupingUtil(\n    rowIdComparator,\n    rowFilter,\n    groupNameGetter,\n    groupNameComparator,\n    intermediateResultCacheIsValid,\n);\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\n\n// TODO Think about how this can be better\nexport const getInventoryCountIdValueFromUrlString = (urlString : string) => {\n    const urlStringStartingWithInventoryCountId = urlString.split('inventory/detail/view/')[1];\n    return urlStringStartingWithInventoryCountId.split('/')[0];\n};\n\n// TODO Cheezy move to shared util\nexport const getNotificationMessageProductIdentifier = (productIds : StringValueSet<ProductId>, productsById : StringValueMap<ProductId, Product>) : string => {\n    let notificationMessageProductIdentifier : string;\n    if (productIds.size === 1) {\n        const productId = Array.from(productIds.values())[0];\n        const product = productsById.getRequired(productId);\n\n        notificationMessageProductIdentifier = `${ product.getBrand() } ${ product.getName() } has`.trim();\n    } else {\n        notificationMessageProductIdentifier = `${ productIds.size } items have`;\n    }\n\n    return notificationMessageProductIdentifier;\n};\n\ninterface IParCountAndParProductCountUnit {\n    parCount : number | null;\n    parProductQuantityUnit : ProductQuantityUnit;\n}\n\nexport const getParCountAndParProductQuantityUnit = (\n    product: Product,\n    productPar?: QuantityInUnit<ProductQuantityUnit> | null\n) : IParCountAndParProductCountUnit => {\n    let parCount : number | null;\n    let parProductQuantityUnit : ProductQuantityUnit;\n\n    if ((typeof productPar === 'undefined') || (productPar === null)) {\n        parCount = null;\n        parProductQuantityUnit = product.getPreferredReportingUnit();\n    } else {\n        parCount = productPar.getQuantity();\n        parProductQuantityUnit = productPar.getUnit();\n    }\n\n    return {\n        parCount,\n        parProductQuantityUnit\n    }\n};\n","import { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\n\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { HexColor } from 'shared/models/HexColor';\nimport { SortDirection } from 'shared/models/SortDirection';\n\n// TotalCountSummary\nexport const PROGRESS_BAR_COLOR = new HexColor('#F49C57');\nexport const PROGRESS_BAR_BACKGROUND_COLOR = new HexColor('#dddddd');\n\nexport const PROGRESS_BAR_HEIGHT_IN_PIXELS : number = 5;\n\nexport const STORAGE_AREA_ID_FOR_COUNT_SUMMARY = new StorageAreaId('count_summary');\n\nexport const DEFAULT_STORAGE_AREA_GROUP_BY_OPTION = GroupByOption.ALL_ITEMS;\nexport const DEFAULT_COUNT_SUMMARY_COLUMN_SORT : IColumnSorting = {\n    sortedBy: 'ITEM_NAME',\n    direction: SortDirection.ASCENDING,\n};\nexport const DEFAULT_STORAGE_AREA_COLUMN_SORT : IColumnSorting = {\n    sortedBy: 'STORAGE_AREA_INDEX',\n    direction: SortDirection.ASCENDING,\n};\n\nexport enum InventoryCountQuickFilterOption {\n    COST_FLAGGED = 'COST_FLAGGED',\n}\n","import { ICategoryService } from 'api/Product/interfaces/ICategoryService';\nimport { IProductCostService } from 'api/Product/interfaces/IProductCostService';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { productUtils } from 'api/Product/utils/productUtils';\nimport AccountsExceptions from 'gen-thrift/accounts_Exceptions_types';\nimport moment from 'moment/moment';\nimport { ThunkAction, IAction, IActionCreatorsMapObject, IEmptyAction, IFailureAction, ISetShownAction } from 'shared/models/IAction';\n\nimport LocationModel from 'gen-thrift/location_Model_types';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { IProductDistributorService } from 'api/Product/interfaces/IProductDistributorService';\nimport { IProductService } from 'api/Product/interfaces/IProductService';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { transferReportProductDataUtils } from 'apps/InventoryTransfer/utils/transferReportProductDataUtils';\nimport { UserSessionManagerImpl } from 'shared/lib/account/impl/UserSessionManagerImpl';\n\nimport { DjangoApiManager } from 'shared/api/DjangoApiManager';\nimport { momentObjectToThriftSerializer } from 'shared/lib/manager';\n\nimport { IUnmappedProductState } from '../reducers/unmatchedProductModalReducers';\n\nimport ProductExceptions from 'gen-thrift/product_Exceptions_types';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ILocationProductService } from 'api/Location/interfaces/ILocationProductService';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { InterLocationProductMapping } from 'api/Transfer/model/InterLocationProductMapping';\nimport { IProductMappingService } from 'api/Transfer/interfaces/IProductMappingService';\nimport { BevSpotDispatch } from 'shared/components/Provider';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { DateTime } from 'shared/models/DateTime';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\n\nexport interface IUnmappedProductStore {\n    unmappedProductState : IUnmappedProductState;\n}\n\nexport const ActionTypes = {\n    ADD_PRODUCT_MAPPING: 'UNMAPPED_PRODUCT_MODAL/ADD_PRODUCT_MAPPING',\n    ADD_PRODUCT_TO_LOCATION_FAILURE: 'UNMAPPED_PRODUCT_MODAL/ADD_PRODUCT_TO_LOCATION_FAILURE',\n    ADD_PRODUCT_TO_LOCATION_REQUEST: 'UNMAPPED_PRODUCT_MODAL/ADD_PRODUCT_TO_LOCATION_REQUEST',\n    ADD_PRODUCT_TO_LOCATION_SUCCESS: 'UNMAPPED_PRODUCT_MODAL/ADD_PRODUCT_TO_LOCATION_SUCCESS',\n    SET_ADDED_MAPPINGS: 'UNMAPPED_PRODUCT_MODAL/SET_ADDED_MAPPINGS',\n    SET_EXISTING_MAPPINGS: 'UNMAPPED_PRODUCT_MODAL/SET_EXISTING_MAPPINGS',\n    SET_MODAL_STEP_STATE: 'UNMAPPED_PRODUCT_MODAL/SET_MODAL_STEP_STATE',\n    CLEAR_WAS_PRODUCT_ADDED_TO_LOCATION_BY_STEP: 'UNMAPPED_PRODUCT_MODAL/CLEAR_WAS_PRODUCT_ADDED_TO_LOCATION_BY_STEP',\n    SET_SELECTED_PRODUCT_FORM: 'UNMAPPED_PRODUCT_MODAL/SET_SELECTED_PRODUCT_FORM',\n    SET_UNMAPPED_PRODUCT_IDS: 'UNMAPPED_PRODUCT_MODAL/SET_UNMAPPED_PRODUCT_IDS',\n    UPDATE_SEARCH_TERM: 'UNMAPPED_PRODUCT_MODAL/UPDATE_SEARCH_TERM',\n    UPDATE_DISPLAYED_SEARCH_RESULTS: 'UNMAPPED_PRODUCT_MODAL/UPDATE_DISPLAYED_SEARCH_RESULTS',\n    FETCH_LOCATION_PRODUCTS_FAILURE: 'UNMAPPED_PRODUCT_MODAL/FETCH_LOCATION_PRODUCTS_FAILURE',\n    FETCH_LOCATION_PRODUCTS_REQUEST: 'UNMAPPED_PRODUCT_MODAL/FETCH_LOCATION_PRODUCTS_REQUEST',\n    FETCH_LOCATION_PRODUCTS_SUCCESS: 'UNMAPPED_PRODUCT_MODAL/FETCH_LOCATION_PRODUCTS_SUCCESS',\n    SET_SEARCH_RESULTS: 'UNMAPPED_PRODUCT_MODAL/SET_SEARCH_RESULTS',\n    SHOW_DELETED_MAPPED_PRODUCTS_DIALOG: 'UNMAPPED_PRODUCT_MODAL/SHOW_DELETED_MAPPED_PRODUCTS_DIALOG',\n    SET_INVALIDATED_MAPPINGS: 'UNMAPPED_PRODUCT_MODAL/SET_INVALIDATED_MAPPINGS',\n    SET_DELETED_TARGET_PRODUCTS_BY_ID: 'UNMAPPED_PRODUCT_MODAL/SET_DELETED_TARGET_PRODUCTS_BY_ID',\n    SET_INVALIDATED_MAPPING_ACTION: 'UNMAPPED_PRODUCT_MODAL/SET_INVALIDATED_MAPPING_ACTION',\n};\n\nexport namespace ActionInterfaces {\n    export interface ISetProductIdsAction extends IAction {\n        payload : {\n            productIds : Array<ProductId>;\n        };\n    }\n    export interface ISetSelectedProductFormAction extends IAction {\n        payload : {\n            productId : ProductId | null;\n            quantity : {\n                value : string;\n                isValid : boolean;\n                errorMessage : string;\n            };\n            productQuantityUnit : ProductQuantityUnit;\n        };\n    }\n    export interface ISetExistingMappingsAction extends IAction {\n        payload : {\n            productMappings : Array<InterLocationProductMapping>;\n        };\n    }\n    export interface ISetModalStepStateAction extends IAction {\n        payload : {\n            itemNumber : number;\n            productsById : StringValueMap<ProductId, Product>;\n        };\n    }\n    export interface IAddProductMappingAction extends IAction {\n        payload : {\n            productMapping : InterLocationProductMapping;\n        };\n    }\n    export interface ISetAddedMappingsAction extends IAction {\n        payload : {\n            addedMappings : Array<InterLocationProductMapping>;\n        };\n    }\n    export interface IUpdateSearchTermAction extends IAction {\n        payload : {\n            searchTerm : string;\n        };\n    }\n    export interface IUpdateDisplayedSearchResultsAction extends IAction {\n        payload : {\n            products : Array<ProductId>,\n        };\n    }\n    export interface IAddProductToLocationRequestAction extends IAction {\n        payload : {\n            product : Product;\n            locationId : LocationModel.LocationIdentifier;\n        };\n    }\n    export interface IAddProductToLocationSuccessAction extends IAction {\n        payload : {\n            productId : ProductId;\n            product : Product;\n        };\n    }\n    export interface IFetchLocationProductsRequestAction extends IAction {\n        payload : {\n            locationId : LocationModel.LocationIdentifier;\n        };\n    }\n    export interface ISetSearchResults extends IAction {\n        payload : {\n            products : Array<ProductId>;\n        };\n    }\n\n    export interface IFetchLocationProductsSuccessAction extends IAction {\n        payload : {\n            productsById : StringValueMap<ProductId, Product>;\n        };\n    }\n\n    export interface ISetInvalidatedMappingsAction extends IAction {\n        payload : {\n            invalidatedMappings : Array<{ sourceProductId : ProductId; deletedTargetProductId : ProductId }>;\n        };\n    }\n\n    export interface ISetDeletedTargetProductsByIdAction extends IAction {\n        payload : {\n            productsById : StringValueMap<ProductId, Product>;\n        };\n    }\n\n    export interface ISetInvalidatedMappingActionAction extends IAction {\n        payload : {\n            sourceProductId : ProductId;\n            action : 'restore' | 'remap';\n        };\n    }\n\n    export interface IUnmatchedProductModalActionCreatorsMapObject extends IActionCreatorsMapObject {\n        setUnmappedProductIds(\n            productIds : Array<ProductId>\n        ) : ActionInterfaces.ISetProductIdsAction;\n        setExistingMappings(\n            productMappings : Array<InterLocationProductMapping>\n        ) : ActionInterfaces.ISetExistingMappingsAction;\n        setSelectedProductForm(\n            productId : ProductId | null,\n            quantity : {\n                value : string;\n                isValid : boolean;\n                errorMessage : string;\n            },\n            productQuantityUnit : ProductQuantityUnit\n        ) : ActionInterfaces.ISetSelectedProductFormAction;\n        setModalStepState(itemNumber : number, productsById : StringValueMap<ProductId, Product>) : ActionInterfaces.ISetModalStepStateAction;\n        clearWasProductAddedToLocationByStep() : IEmptyAction;\n        addProductMapping(productMapping : InterLocationProductMapping) : ActionInterfaces.IAddProductMappingAction;\n        setAddedMappings(\n            addedMappings : Array<InterLocationProductMapping>\n        ) : ActionInterfaces.ISetAddedMappingsAction;\n        setSearchResults(\n            products : Array<ProductId>\n        ) : ActionInterfaces.ISetSearchResults;\n        updateSearchTerm(\n            searchTerm : string\n        ) : ActionInterfaces.IUpdateSearchTermAction;\n        updateDisplayedSearchResults(\n            products : Array<ProductId>\n        ) : ActionInterfaces.IUpdateDisplayedSearchResultsAction;\n        saveMappings(\n            productMappings : Array<InterLocationProductMapping>\n        ) : ThunkAction<Promise<void>, IUnmappedProductStore, {services : ActionInterfaces.IServices}>;\n        addProductToLocation(\n            productId : ProductId,\n            product : Product,\n            locationId : LocationModel.LocationIdentifier,\n        ) : ThunkAction<Promise<{ productId : ProductId, product : Product}>, IUnmappedProductStore, {services : ActionInterfaces.IServices}>;\n        fetchLocationProducts(\n            locationId : LocationModel.LocationIdentifier\n        ) : ThunkAction<Promise<StringValueMap<ProductId, Product>>, IUnmappedProductStore, {services : ActionInterfaces.IServices}>;\n        addProductToLocationSuccess(\n            productId : ProductId,\n            product : Product\n        ) : ActionInterfaces.IAddProductToLocationSuccessAction;\n        showDeletedMappedProductsDialog(\n            isShown : boolean\n        ) : ISetShownAction;\n        setInvalidatedMappings(\n            invalidatedMappings : Array<{ sourceProductId : ProductId; deletedTargetProductId : ProductId }>\n        ) : ActionInterfaces.ISetInvalidatedMappingsAction;\n        setDeletedTargetProductsById(\n            productsById : StringValueMap<ProductId, Product>\n        ) : ActionInterfaces.ISetDeletedTargetProductsByIdAction;\n        setInvalidatedMappingAction(\n            sourceProductId : ProductId,\n            action : 'restore' | 'remap'\n        ) : ActionInterfaces.ISetInvalidatedMappingActionAction;\n        fetchDeletedTargetProducts(\n            locationId : LocationModel.LocationIdentifier,\n            productIds : Array<ProductId>\n        ) : ThunkAction<Promise<StringValueMap<ProductId, Product>>, IUnmappedProductStore, {services : ActionInterfaces.IServices}>;\n    }\n\n    export interface IUnmatchedProductModalAsynchronousActionCreators extends IActionCreatorsMapObject {\n        addProductToLocationRequest(\n            product : Product,\n            locationId : LocationModel.LocationIdentifier,\n        ) : ActionInterfaces.IAddProductToLocationRequestAction;\n        addProductToLocationSuccess(\n            productId : ProductId,\n            product : Product\n        ) : ActionInterfaces.IAddProductToLocationSuccessAction;\n        addProductToLocationFailure(\n            error : Error\n        ) : IFailureAction;\n        fetchLocationProductsSuccess(\n            productsById : StringValueMap<ProductId, Product>\n        ) : ActionInterfaces.IFetchLocationProductsSuccessAction;\n        fetchLocationProductsRequest(\n            locationId : LocationModel.LocationIdentifier\n        ) : ActionInterfaces.IFetchLocationProductsRequestAction;\n        fetchLocationProductsFailure(\n            error : Error\n        ) : IFailureAction;\n    }\n\n    export interface IServices {\n        djangoApiManager : DjangoApiManager;\n        productService : IProductService;\n        productDistributorService : IProductDistributorService;\n        locationProductService : ILocationProductService;\n        userSessionManager : UserSessionManagerImpl;\n        productMappingService : IProductMappingService;\n        categoryService : ICategoryService;\n        productCostService : IProductCostService;\n    }\n}\n\nexport type UnmappedProductDispatch = BevSpotDispatch<IUnmappedProductStore, { services: ActionInterfaces.IServices }>\n\nconst setUnmappedProductIds = (\n    productIds : Array<ProductId>,\n) : ActionInterfaces.ISetProductIdsAction => ({\n    payload: {\n        productIds,\n    },\n    type: ActionTypes.SET_UNMAPPED_PRODUCT_IDS,\n});\n\nconst setSelectedProductForm = (\n    productId : ProductId | null,\n    quantity : {\n        value : string,\n        isValid : boolean,\n        errorMessage : string,\n    },\n    productQuantityUnit : ProductQuantityUnit,\n) : ActionInterfaces.ISetSelectedProductFormAction => ({\n    payload: {\n        productId,\n        quantity,\n        productQuantityUnit,\n    },\n    type: ActionTypes.SET_SELECTED_PRODUCT_FORM,\n});\n\nconst setExistingMappings = (\n    productMappings : Array<InterLocationProductMapping>\n) : ActionInterfaces.ISetExistingMappingsAction => ({\n    payload: {\n        productMappings,\n    },\n    type: ActionTypes.SET_EXISTING_MAPPINGS,\n});\n\nconst setModalStepState = (itemNumber : number, productsById : StringValueMap<ProductId, Product>) : ActionInterfaces.ISetModalStepStateAction => ({\n    payload: {\n        itemNumber,\n        productsById,\n    },\n    type: ActionTypes.SET_MODAL_STEP_STATE,\n});\n\nconst addProductMapping = (\n    productMapping : InterLocationProductMapping\n) : ActionInterfaces.IAddProductMappingAction => ({\n    payload: {\n        productMapping,\n    },\n    type: ActionTypes.ADD_PRODUCT_MAPPING,\n});\n\nconst setAddedMappings = (\n    addedMappings : Array<InterLocationProductMapping>\n) : ActionInterfaces.ISetAddedMappingsAction => ({\n    payload: {\n        addedMappings,\n    },\n    type: ActionTypes.SET_ADDED_MAPPINGS,\n});\n\nconst setSearchResults = (\n    products : Array<ProductId>\n) : ActionInterfaces.ISetSearchResults => ({\n    payload: {\n        products,\n    },\n    type: ActionTypes.SET_SEARCH_RESULTS,\n});\n\nconst updateSearchTerm = (\n    searchTerm : string\n) : ActionInterfaces.IUpdateSearchTermAction => ({\n    payload: {\n        searchTerm,\n    },\n    type: ActionTypes.UPDATE_SEARCH_TERM,\n});\n\nconst updateDisplayedSearchResults = (\n    products : Array<ProductId>\n) : ActionInterfaces.IUpdateDisplayedSearchResultsAction => ({\n    payload: {\n        products,\n    },\n    type: ActionTypes.UPDATE_DISPLAYED_SEARCH_RESULTS,\n});\n\nconst clearWasProductAddedToLocationByStep = () : IEmptyAction => ({\n    payload: {},\n    type: ActionTypes.CLEAR_WAS_PRODUCT_ADDED_TO_LOCATION_BY_STEP,\n});\n\nconst showDeletedMappedProductsDialog = (\n    isShown : boolean\n) : ISetShownAction => ({\n    payload: {\n        isShown,\n    },\n    type: ActionTypes.SHOW_DELETED_MAPPED_PRODUCTS_DIALOG,\n});\n\nconst setInvalidatedMappings = (\n    invalidatedMappings : Array<{ sourceProductId : ProductId; deletedTargetProductId : ProductId }>\n) : ActionInterfaces.ISetInvalidatedMappingsAction => ({\n    payload: {\n        invalidatedMappings,\n    },\n    type: ActionTypes.SET_INVALIDATED_MAPPINGS,\n});\n\nconst setDeletedTargetProductsById = (\n    productsById : StringValueMap<ProductId, Product>\n) : ActionInterfaces.ISetDeletedTargetProductsByIdAction => ({\n    payload: {\n        productsById,\n    },\n    type: ActionTypes.SET_DELETED_TARGET_PRODUCTS_BY_ID,\n});\n\nconst setInvalidatedMappingAction = (\n    sourceProductId : ProductId,\n    action : 'restore' | 'remap'\n) : ActionInterfaces.ISetInvalidatedMappingActionAction => ({\n    payload: {\n        sourceProductId,\n        action,\n    },\n    type: ActionTypes.SET_INVALIDATED_MAPPING_ACTION,\n});\n\n/**\n * Asynchronous Actions\n */\n\nconst saveMappings = (\n    productMappings : Array<InterLocationProductMapping>,\n) : ThunkAction<Promise<void>, IUnmappedProductStore, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const userSessionId = extraArguments.services.userSessionManager.getSessionId();\n\n        return extraArguments.services.productMappingService.setProductQuantityUnitMappings(userSessionId, productMappings)\n        .then(() => {\n            return Promise.resolve();\n        })\n        .catch((error : Error) => {\n            if (error instanceof AccountsExceptions.UnknownActorException) {\n                throw error;\n            }\n\n            return Promise.reject(error);\n        });\n    };\n};\n\nconst resolvePartnerProductCategoryId = (\n    sourceCategoryId : CategoryId | null,\n    sourceLocationId : LocationId,\n    destinationLocationId : LocationId,\n) : ThunkAction<Promise<CategoryId | null>, IUnmappedProductStore, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<CategoryId | null> => {\n        const sessionId = extraArguments.services.userSessionManager.getSessionId();\n        const categoryIdSet = sourceCategoryId ? new StringValueSet([sourceCategoryId]) : new StringValueSet<CategoryId>();\n        const userAccountId = new UserAccountId(window.GLOBAL_USER_ID);\n        return Promise.all([\n            extraArguments.services.categoryService.getCategoriesForRetailer(sessionId, destinationLocationId),\n            extraArguments.services.categoryService.getCategoriesById(sessionId, sourceLocationId, categoryIdSet)\n        ]).then((results) => {\n            const destinationCategories = results[0];\n            const sourceCategories = results[1];\n            let categoryIdPromise: Promise<null | CategoryId> = Promise.resolve(null);\n            if (sourceCategoryId) {\n                let newProductCategoryId = null;\n                let newCategory : Category | null = null;\n                const sourceCategory = sourceCategories.getRequired(sourceCategoryId);\n                destinationCategories.forEach((category, categoryId) => {\n                    // Find matching category in destination retailer, prefer categories that aren't deleted\n                    if (newCategory === null && !category.getIsDeleted() && category.getName().trim().toLowerCase() === sourceCategory.getName().trim().toLowerCase()) {\n                        newProductCategoryId = categoryId;\n                        newCategory = category;\n                    }\n                });\n\n                if (!newProductCategoryId) {\n                    categoryIdPromise = Promise.resolve(\n                        extraArguments.services.categoryService.createCategory(\n                            sessionId,\n                            destinationLocationId,\n                            new Category(\n                                sourceCategory.getName(),\n                                sourceCategory.getGlCode(),\n                                false,\n                                '',\n                                new UserAccountIdAndTimestamp(userAccountId, DateTime.now().toTimestampWithMillisecondPrecision()),\n                                new UserAccountIdAndTimestamp(userAccountId, DateTime.now().toTimestampWithMillisecondPrecision()),\n                                undefined\n                            )\n                        ).then((categoryInformation) => {\n                            return Promise.resolve(categoryInformation.category_id);\n                        })\n                    );\n                } else {\n                    categoryIdPromise = Promise.resolve(newProductCategoryId);\n                }\n            }\n            return Promise.resolve(categoryIdPromise);\n        });\n    };\n};\n\nconst addProductToLocationRequest = (\n    product : Product,\n    locationId : LocationModel.LocationIdentifier,\n) : ActionInterfaces.IAddProductToLocationRequestAction => ({\n    payload: {\n        product,\n        locationId,\n    },\n    type: ActionTypes.ADD_PRODUCT_TO_LOCATION_REQUEST,\n});\n\nconst addProductToLocationSuccess = (\n    productId : ProductId,\n    product : Product\n) : ActionInterfaces.IAddProductToLocationSuccessAction => ({\n    payload: {\n        productId,\n        product,\n    },\n    type: ActionTypes.ADD_PRODUCT_TO_LOCATION_SUCCESS,\n});\n\nconst addProductToLocationFailure = (\n    error : Error\n) : IFailureAction => ({\n    payload: {\n        error,\n    },\n    type: ActionTypes.ADD_PRODUCT_TO_LOCATION_FAILURE,\n});\n\n// TODO maybe just pass product id? and have the call return product as well.\nconst addProductToLocation = (\n    productId : ProductId,\n    product : Product,\n    locationIdentifier : LocationModel.LocationIdentifier,\n) : ThunkAction<Promise<{ productId : ProductId, product : Product}>, IUnmappedProductStore, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<{productId : ProductId, product : Product}> => {\n        dispatch(addProductToLocationRequest(product, locationIdentifier));\n        const sessionId = extraArguments.services.userSessionManager.getSessionId();\n        const sourceLocationId = new LocationId(window.GLOBAL_RETAILER_ID);\n        const destinationLocationId = new LocationId(locationIdentifier.value);\n        const categoryIdSet = new StringValueSet<CategoryId>();\n        const sourceCategoryId = product.getNewProductCategoryId();\n        if (sourceCategoryId) {\n            categoryIdSet.add(sourceCategoryId);\n        }\n\n        return Promise.resolve(dispatch(resolvePartnerProductCategoryId(\n            sourceCategoryId,\n            sourceLocationId,\n            destinationLocationId,\n        ))).then((categoryId) => {\n            product = productUtils.getProductWithNewCategory(product, categoryId, product.getProductCategoryId());\n            const metaFetch : [Promise<ProductId>, Promise<StringValueMap<ProductId, DistributorId | null>>, Promise<StringValueMap<ProductId, ProductCost>>] = [\n                extraArguments.services.productService.createProduct(sessionId, destinationLocationId, product)\n                .then((newProductId) => {\n                    return extraArguments.services.locationProductService.setProductAsActive(sessionId, destinationLocationId, newProductId)\n                    .then(() => {\n                        return newProductId;\n                    });\n                }),\n                extraArguments.services.productDistributorService.retrieveDistributorIdsByProductIdForProductIds(sessionId, [productId]),\n                extraArguments.services.productCostService.getCurrentProductCostsByProductId(sessionId, new StringValueSet([productId]), sourceLocationId)\n            ];\n\n            return Promise.all(metaFetch)\n            .then((data : [ProductId, StringValueMap<ProductId, DistributorId | null>, StringValueMap<ProductId, ProductCost>]) => {\n                const addedProductId : ProductId = data[0];\n                const distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null> = data[1];\n                const productCostsByProductId = data[2];\n\n                const distributorId = distributorIdsByProductId.get(productId);\n                if ((typeof distributorId !== 'undefined') && distributorId !== null) {\n                    extraArguments.services.productDistributorService.associateDistributorIdWithProductId(sessionId, addedProductId, distributorId)\n                    .catch((error : Error) => {\n                        if (error instanceof AccountsExceptions.UnknownActorException) {\n                            throw error;\n                        }\n\n                        if (error instanceof ProductExceptions.LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException) {\n                            return Promise.resolve();\n                        }\n                        /**\n                         * Ben Leichter (March 8, 2017)\n                         * At this point, all of the actions necessary for adding a product\n                         * to a location have been taken. If this promise fails, the newly\n                         * created product just won't have a distributor associated with it.\n                         * Showing the something went wrong dialog here would probably be more\n                         * confusing than helpful for the user.\n                         *\n                         * Should start logging these errors at some point.\n                         */\n                    });\n                }\n\n                const productCost = productCostsByProductId.getRequired(productId);\n                const clientTimestamp = momentObjectToThriftSerializer.getThriftTimestampFromMoment(moment());\n\n                const resolvedProductCostUnit = PackagingUtils.resolveProductQuantityUnit(\n                    new QuantityInUnit(1, productCost.getUnit()),\n                    product.getPackagingsAndMappings().getMappings()\n                ).getUnit();\n                const resolvedProductCost = productCostUtils.getProductCostInUnit(\n                    product.getPackagingsAndMappings(),\n                    productCost,\n                    resolvedProductCostUnit,\n                    productId\n                )\n                extraArguments.services.productCostService.setCurrentProductCost(sessionId, addedProductId, resolvedProductCost, clientTimestamp).catch((error : Error) => {\n                    throw error;\n                });\n\n                return extraArguments.services.productService.getProductsById(sessionId, destinationLocationId, new StringValueSet([addedProductId]))\n                .then((productsByIdResult) => {\n                    const newProduct = productsByIdResult.productsById.getRequired(addedProductId);\n\n                    // this gets the state out of date with productsById... so call it later :(\n                    // dispatch(addProductToLocationSuccess(addedProductId, newProduct));\n                    return { product: newProduct, productId: addedProductId };\n                });\n            })\n            .catch((error : Error) => {\n                if (error instanceof AccountsExceptions.UnknownActorException) {\n                    throw error;\n                }\n\n                dispatch(addProductToLocationFailure(error));\n                return Promise.reject(error);\n            });\n        });\n    };\n};\n\nconst fetchLocationProductsRequest = (\n    locationId : LocationModel.LocationIdentifier\n) : ActionInterfaces.IFetchLocationProductsRequestAction => ({\n    payload: {\n        locationId,\n    },\n    type: ActionTypes.FETCH_LOCATION_PRODUCTS_REQUEST,\n});\n\nconst fetchLocationProductsSuccess = (\n    productsById : StringValueMap<ProductId, Product>\n) : ActionInterfaces.IFetchLocationProductsSuccessAction => ({\n    payload: {\n        productsById,\n    },\n    type: ActionTypes.FETCH_LOCATION_PRODUCTS_SUCCESS,\n});\n\nconst fetchLocationProductsFailure = (\n    error : Error\n) : IFailureAction => ({\n    payload: {\n        error,\n    },\n    type: ActionTypes.FETCH_LOCATION_PRODUCTS_FAILURE,\n});\n\nconst fetchLocationProducts = (\n    locationIdentifier : LocationModel.LocationIdentifier\n) : ThunkAction<Promise<StringValueMap<ProductId, Product>>, IUnmappedProductStore, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<StringValueMap<ProductId, Product>> => {\n        dispatch(fetchLocationProductsRequest(locationIdentifier));\n\n        const locationId = new LocationId(locationIdentifier.value);\n        const userSessionId = extraArguments.services.userSessionManager.getSessionId();\n\n        return extraArguments.services.locationProductService.getProductIds(userSessionId, locationId)\n        .then((resultProductIds) => {\n            return extraArguments.services.productService.getProductsById(userSessionId, locationId, resultProductIds)\n            .then((result) => {\n                const productsById = result.productsById;\n                transferReportProductDataUtils.sortProducts(Array.from(productsById.keys()), productsById);\n                dispatch(fetchLocationProductsSuccess(productsById));\n                return Promise.resolve(productsById);\n            });\n        })\n        .catch((error : Error) => {\n            dispatch(fetchLocationProductsFailure(error));\n            return Promise.reject(error);\n        });\n    };\n};\n\nconst fetchDeletedTargetProducts = (\n    locationIdentifier : LocationModel.LocationIdentifier,\n    productIds : Array<ProductId>\n) : ThunkAction<Promise<StringValueMap<ProductId, Product>>, IUnmappedProductStore, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<StringValueMap<ProductId, Product>> => {\n        const userSessionId = extraArguments.services.userSessionManager.getSessionId();\n        const locationId = new LocationId(locationIdentifier.value);\n\n        return extraArguments.services.productService.getProductsById(userSessionId, locationId, new StringValueSet(productIds))\n        .then((result) => {\n            dispatch(setDeletedTargetProductsById(result.productsById));\n            return Promise.resolve(result.productsById);\n        });\n    };\n};\n\nexport const UnmatchedProductModalAsyncActions : ActionInterfaces.IUnmatchedProductModalAsynchronousActionCreators = {\n    addProductToLocationRequest,\n    addProductToLocationSuccess,\n    addProductToLocationFailure,\n    fetchLocationProductsRequest,\n    fetchLocationProductsSuccess,\n    fetchLocationProductsFailure,\n};\n\nexport const UnmatchedProductModalActions : ActionInterfaces.IUnmatchedProductModalActionCreatorsMapObject = {\n    setUnmappedProductIds,\n    setSelectedProductForm,\n    setExistingMappings,\n    setModalStepState,\n    addProductMapping,\n    setAddedMappings,\n    setSearchResults,\n    updateSearchTerm,\n    updateDisplayedSearchResults,\n    saveMappings,\n    addProductToLocation,\n    fetchLocationProducts,\n    clearWasProductAddedToLocationByStep,\n    addProductToLocationSuccess,\n    showDeletedMappedProductsDialog,\n    setInvalidatedMappings,\n    setDeletedTargetProductsById,\n    setInvalidatedMappingAction,\n    fetchDeletedTargetProducts,\n};\n","import React from 'react';\n\nimport { Dialog } from 'shared/components/Dialog';\n\nexport interface IDiscardProgressDialog {\n    isCreatingNewReport : boolean;\n    handleDiscardProgress : () => void;\n    handleReturnToTransfer : () => void;\n}\n\nexport class DiscardProgressDialog extends React.PureComponent<IDiscardProgressDialog, object> {\n    public render() {\n        const {\n            isCreatingNewReport,\n            handleDiscardProgress,\n            handleReturnToTransfer,\n        } = this.props;\n\n        let information : JSX.Element | null = null;\n        if (isCreatingNewReport) {\n            information = (<p>Click <b>Cancel</b> to continue creating this report or <b>Discard Progress</b> to return to your inventory history and discard this report.</p>);\n        } else {\n            information = (<p>Click <b>Cancel</b> to continue modifying this report or <b>Discard Progress</b> to return to your report summary and discard your changes.</p>);\n        }\n\n        return (\n            <Dialog\n                className=\"disacrd-progress-dialog\"\n                buttons={\n                    [\n                        {\n                            classes: '',\n                            children: 'Cancel',\n                            isDisabled: false,\n                            isLoading: false,\n                            onClick: handleReturnToTransfer,\n                        },\n                        {\n                            classes: '',\n                            children: 'Discard Progress',\n                            isDisabled: false,\n                            isLoading: false,\n                            onClick: handleDiscardProgress,\n                        },\n                    ]\n                }\n                headerText=\"Discard Progress?\"\n            >\n                <p>By continuing you will discard your progress on this report.</p>\n                { information }\n            </Dialog>\n        );\n    }\n}\n","import React from 'react';\n\nimport { Dialog } from 'shared/components/Dialog';\n\nexport interface IEmptyTransferListDialog {\n    continueTransfer : () => void;\n}\n\nexport class EmptyTransferListDialog extends React.PureComponent<IEmptyTransferListDialog, object> {\n    public render() {\n        const {\n            continueTransfer,\n        } = this.props;\n\n        return (\n            <Dialog\n                className=\"empty-transfer-list-dialog\"\n                buttons={\n                    [\n                        {\n                            classes: '',\n                            children: 'Continue',\n                            isDisabled: false,\n                            isLoading: false,\n                            onClick: continueTransfer,\n                        },\n                    ]\n                }\n                headerText=\"Empty Report List\"\n            >\n                <p>To complete a report you need to have <b>at least one item</b> in your list.</p>\n                <p>\n                    To add an item to your list, start by searching for an item on the left.\n                    Once you’ve found what you are looking for, select the item by clicking on it, enter a quantity, and click <b>Add to List</b>.\n                </p>\n            </Dialog>\n        );\n    }\n}\n","import React from 'react';\n\nimport { Dialog } from 'shared/components/Dialog';\n\nexport interface IItemInProgressDialog {\n    handleContinue : () => void;\n    handleReturnToTransfer : () => void;\n}\nexport class ItemInProgressDialog extends React.Component<IItemInProgressDialog, object> {\n    public render() {\n        const {\n            handleContinue,\n            handleReturnToTransfer,\n        } = this.props;\n\n        return (\n            <Dialog\n                className=\"item-in-progress-dialog\"\n                buttons={\n                    [\n                        {\n                            classes: '',\n                            children: 'Cancel',\n                            isDisabled: false,\n                            isLoading: false,\n                            onClick: handleReturnToTransfer,\n                        },\n                        {\n                            classes: '',\n                            children: 'Continue',\n                            isDisabled: false,\n                            isLoading: false,\n                            onClick: handleContinue,\n                        },\n                    ]\n                }\n                headerText=\"Item in Progress\"\n            >\n                <p>There is currently an item in progress that hasn’t been added to your transfer list, are you sure you want to continue?</p>\n                <p>Click <b>Cancel</b> to finish adding the item to your list or <b>Continue</b> to proceed without adding the item to your transfer.</p>\n            </Dialog>\n        );\n    }\n}\n","import React from 'react';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductStatus } from 'api/Product/model/ProductStatus';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductName } from 'shared/components/ProductName/ProductName';\n\ninterface ISearchResultListRow {\n    productId : ProductId;\n    product : Product;\n    productStatus? : ProductStatus;\n    errorMessage : string | null;\n    selected : boolean;\n    setSelectedProduct(productId : ProductId | null) : void;\n}\n\nexport class SearchResultListRow extends React.Component<ISearchResultListRow, object> {\n\n    constructor(props : ISearchResultListRow) {\n        super(props);\n\n        this.isProductSelected = this.isProductSelected.bind(this);\n        this.setSelectedProduct = this.setSelectedProduct.bind(this);\n    }\n\n    public shouldComponentUpdate(nextProps : ISearchResultListRow) {\n        return nextProps.selected !== this.props.selected;\n    }\n\n    public render() {\n        const {\n            product,\n            productStatus,\n            errorMessage,\n        } = this.props;\n\n        const rowStateClass = this.isProductSelected() ? ' selected' : '';\n\n        let errorMessageElement : JSX.Element | null = null;\n        if (errorMessage !== null) {\n            errorMessageElement = (\n                <span>{ errorMessage }</span>\n            );\n        }\n\n        return (\n            <div\n                className={ 'search-result-list-row' + rowStateClass }\n                onClick={ this.setSelectedProduct }\n            >\n                <div className=\"col-row\">\n                    <div className=\"cell cell-ptb-md cell-plr col-xs-8\">\n                        <ProductName\n                            product={ product }\n                            productStatus={ productStatus }\n                        />\n                        <span className=\"item-information-error-message\">{ errorMessageElement }</span>\n                    </div>\n                    <div className=\"cell col-xs-4 cell-plr\">\n                        <button className=\"pull-right\">\n                            <div className=\"search-result-add-item\">\n                                <span className=\"bevicon bevico-add\" />\n                                <span className=\"bevicon bevico-check\" />\n                            </div>\n                        </button>\n                        <span className=\"search-result-list-row-add-message text-right\">Select Product</span>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    private isProductSelected() {\n        return this.props.errorMessage === null && this.props.selected;\n    }\n\n    private setSelectedProduct() {\n        // if `disabled` is true, override `selected` option\n        const productToSetSelected = this.isProductSelected() ?\n            null :\n            this.props.productId;\n\n        this.props.setSelectedProduct(productToSetSelected);\n    }\n}\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { OrderedProductAmountList } from '../models/OrderedProductAmountList';\n\nimport { Button } from 'shared/components/Button';\nimport { SearchResultListRow } from './SearchResultListRow';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { BrandAndName } from 'shared/components/Product/BrandAndName';\nimport { getProductStatus } from 'api/Product/utils/productUtils';\n\ninterface IAddedProductAmountsByProductId {\n    [productId : string] : boolean;\n}\nexport interface ISearchResultListTable {\n    shouldUpdate : boolean;\n    sortedProductIds : Array<ProductId>;\n    productsById : StringValueMap<ProductId, Product>;\n    selectedProduct : ProductId | null; // TODO can this be changed to product id????\n    selectedProductInvalidMessage : string | null;\n    addedProductAmounts : OrderedProductAmountList | null;\n    matchingProduct : ProductId | null;\n    addProductToPartnerLocation : (() => Promise<ProductId | Error>) | null;\n    searchTerm : string | null;\n    setSelectedProduct(productId : ProductId | null) : void;\n    deletedProductIds? : StringValueSet<ProductId>; // for flagging deleted products when necessary\n    activeProductIds? : StringValueSet<ProductId>;\n}\nexport class SearchResultListTable extends React.Component<ISearchResultListTable, object> {\n    public shouldComponentUpdate(nextProps : ISearchResultListTable) {\n        return nextProps.shouldUpdate;\n    }\n\n    public render() {\n        const {\n            sortedProductIds,\n            selectedProduct,\n            selectedProductInvalidMessage,\n            addedProductAmounts,\n            matchingProduct,\n            setSelectedProduct,\n            addProductToPartnerLocation,\n            searchTerm,\n            productsById,\n            deletedProductIds,\n            activeProductIds,\n        } = this.props;\n\n        // build key map for already added Products to be used for disabled row detection\n        const addedProductAmountsByProductId : IAddedProductAmountsByProductId = {};\n        if (addedProductAmounts !== null) {\n            addedProductAmounts.getListElementIds().forEach((elementId) => {\n                const addedPCA = addedProductAmounts.getListElementById(elementId);\n                if (addedPCA !== null) {\n                    addedProductAmountsByProductId[addedPCA.getProductId().getValue()] = true;\n                }\n            });\n        }\n\n        const tableRows = sortedProductIds.map((productId, index) => {\n            // if a IProductAmount has already been added for a Product, disallow adding another one\n            // TODO alb: what does the above comment mean? we don't do that?\n            const product = productsById.get(productId);\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const isSelected = selectedProduct !== null && selectedProduct.equals(productId);\n            const errorMessage = isSelected ? selectedProductInvalidMessage : null;\n            return (\n                <SearchResultListRow\n                    key={ `${index}-${productId.getValue()}` }\n                    productId={ productId }\n                    product={ product }\n                    productStatus={ getProductStatus(productId, deletedProductIds, activeProductIds) }\n                    selected={ isSelected }\n                    errorMessage={ errorMessage }\n                    setSelectedProduct={ setSelectedProduct }\n                />\n            );\n        });\n        const noSearchResultsElement = (searchTerm !== null && searchTerm.length > 0 && addProductToPartnerLocation === null)  ? (\n            <div className=\"no-search-results-message\">\n                <b>Don't see the item?</b>\n                <br />\n                <b>Please add it to your inventory before transferring it.</b>\n            </div>\n        ) : null;\n\n        const matchingProductObj = matchingProduct !== null ? productsById.get(matchingProduct) || null : null;\n        const matchingProductDescription = matchingProductObj !== null ? (\n             <BrandAndName \n                brand={ matchingProductObj.getBrand() }\n                name={ matchingProductObj.getName() }\n                category={ matchingProductObj.getProductCategoryId() }\n                subcategory={ matchingProductObj.getProductType() }\n             />\n        ) : (\n            <span>your product</span>\n        );\n        const addToPartnerLocationElement = addProductToPartnerLocation !== null ? (\n            <div className=\"search-result-list-empty\">\n                <p className=\"text-center\">Don't see</p>\n                { matchingProductDescription }\n                <p className=\"text-center\">at this location?</p>\n                <div className=\"cell-ptb\">\n                    <Button\n                        buttonClassName=\"primary-action\"\n                        isDisabled={ false }\n                        isLoading={ false }\n                        onClick={ addProductToPartnerLocation }\n                    >\n                        ADD ITEM\n                    </Button>\n                </div>\n            </div>\n        ) : null;\n        const tableBodyElement = tableRows.length > 0 ? tableRows : noSearchResultsElement;\n        return (\n            <div className=\"ctable search-result-list-table\">\n                <div className=\"search-result-list-scroll\">\n                    { tableBodyElement }\n                    { addToPartnerLocationElement }\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ModalWithHeaderAndFooter } from 'shared/components/ModalWithHeaderAndFooter';\nimport { InterLocationProductMapping } from 'api/Transfer/model/InterLocationProductMapping';\nimport { BrandAndName } from 'shared/components/Product/BrandAndName';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nexport interface ISummaryItemsModal {\n    headerText : string;\n    partnerLocationName : string;\n    unmappedProductIds : Array<ProductId>;\n    addedMappings : Array<InterLocationProductMapping>;\n    productsById : StringValueMap<ProductId, Product>;\n    modalActions : {\n        handleBackButton() : void;\n        handleContinueButton() : Promise<void> | void;\n    };\n}\n\nexport class SummaryItemsModal extends React.Component<ISummaryItemsModal, object> {\n    public render() {\n        const {\n            headerText,\n            partnerLocationName,\n            unmappedProductIds,\n            addedMappings,\n            productsById,\n            modalActions,\n        } = this.props;\n\n        const summaryComplete = unmappedProductIds.length === 0 || (addedMappings.length === unmappedProductIds.length);\n\n        let countSummary : JSX.Element;\n        const tableRows : Array<JSX.Element> = [];\n        if (summaryComplete) {\n            countSummary = (\n                <div>\n                    <span className=\"bevicon bevico-check\"/>\n                    <div className=\"summary-items-ready-count\">\n                        <p>Items are ready to be transferred.</p>\n                    </div>\n                    \n                    { (addedMappings.length > 0) &&\n                        <div>New transfer mappings to create:</div>\n                    }\n                </div>\n            );\n\n            addedMappings.forEach((interLocationProductMapping, index) => {\n                const sourceProductId = interLocationProductMapping.getSourceProductId();\n                const targetProductId = interLocationProductMapping.getTargetProductId();\n                const sourceProduct = productsById.getRequired(sourceProductId);\n                const targetProduct = productsById.getRequired(targetProductId);\n\n                const sourceQoP = interLocationProductMapping.getSourceQuantityOfProduct();\n                const targetQoP = interLocationProductMapping.getTargetQuantityOfProduct();\n                const sourceProductQuantityUnit = PackagingUtils.getDisplayTextForProductQuantityUnit(sourceProduct.getPackagingsAndMappings(), sourceQoP.getUnit(), false);\n                const targetProductQuantityUnit = PackagingUtils.getDisplayTextForProductQuantityUnit(targetProduct.getPackagingsAndMappings(), targetQoP.getUnit(), false);\n                const sourceProductQuantity = sourceQoP.getQuantity();\n                const targetProductQuantity = targetQoP.getQuantity();\n\n                tableRows.push(\n                    <div className=\"summary-item-row col-row cell-ptb-md\"  key={ `${index}-${sourceProductId.getValue()}-${targetProductId.getValue()}` }>\n                        <div className=\"cell cell-ptb-md col-xs-5 cell-plr\">\n                            <BrandAndName\n                                brand={ sourceProduct.getBrand() }\n                                name={ sourceProduct.getName() }\n                                category={ sourceProduct.getProductCategoryId() }\n                                subcategory={ sourceProduct.getProductType() }\n                            />\n                            <span>Base Unit: { sourceProductQuantity }{ sourceProductQuantityUnit }</span>\n                        </div>\n                        <div className=\"cell cell-ptb-md col-xs-2 cell-plr\">\n                            <span className=\"bevicon bevico-arrow-forward\"/>\n                        </div>\n                        <div className=\"cell cell-ptb-md col-xs-5 cell-plr\">\n                            <BrandAndName\n                                brand={ targetProduct.getBrand() }\n                                name={ targetProduct.getName() }\n                                category={ targetProduct.getProductCategoryId() }\n                                subcategory={ targetProduct.getProductType() }\n                            />\n                            <span>Base Unit: { targetProductQuantity }{ targetProductQuantityUnit }</span>\n                        </div>\n                        { (sourceProductQuantityUnit !== targetProductQuantityUnit || sourceProductQuantity !== targetProductQuantity) && <span className=\"unmatched-unit-warning\">Unit size does not match, this may cause errors in reporting.</span> }\n                    </div>\n                );\n            });\n        } else {\n            countSummary = (\n                <div>\n                    <span className=\"bevicon bevico-error\"/>\n                    <div className=\"summary-items-ready-count\">\n                        <p>Some items are not ready to be transferred.</p>\n                    </div>\n                </div>\n            );\n\n            unmappedProductIds.forEach((productId, index) => {\n                const product = productsById.getRequired(productId);\n\n                tableRows.push(\n                    <div className=\"summary-item-row cell-ptb-md\"  key={ `${index}-${productId.getValue()}` }>\n                        <BrandAndName\n                            brand={ product.getBrand() }\n                            name={ product.getName() }\n                            category={ product.getProductCategoryId() }\n                            subcategory={ product.getProductType() }\n                        />\n                    </div>\n                );\n            });\n        }\n\n        return (\n            <ModalWithHeaderAndFooter\n                className=\"\"\n                closeButtonShown={ false }\n                onClose={ null }\n                buttons={ [{\n                    classes: 'flat',\n                    children: summaryComplete ? 'Finish Transfer' : 'Match Items',\n                    isDisabled: false,\n                    isLoading: false,\n                    onClick: () => modalActions.handleContinueButton(),\n                }] }\n                footerLeftButton={ {\n                    classes: 'flat',\n                    children: 'Back',\n                    isDisabled: false,\n                    isLoading: false,\n                    onClick: () => modalActions.handleBackButton(),\n                } }\n                footerLabel={ null }\n                headerText={ headerText }\n                modalClasses={ {\n                    headerClasses: null,\n                    bodyClasses: 'content-body-scroll',\n                    footerClasses: null,\n                } }\n            >\n                <div className=\"summary-items-panel\">\n                    <div className=\"summary-items-ready\">\n                        { countSummary }\n                    </div>\n                    { !summaryComplete &&\n                        <div className=\"summary-items-waiting\">\n                            <span className=\"bevicon bevico-warning\"/>\n                            <div className=\"summary-items-waiting-count\">\n                                <p><strong>{ unmappedProductIds.length } items</strong> need to be matched.</p>\n                            </div>\n                            <div className=\"summary-items-waiting-instructions\">\n                                <p>Please take a quick look through the <strong>{ partnerLocationName }</strong> inventory to help us find matching items so that we can complete your transfer.</p>\n                            </div>\n                        </div>\n                    }\n                    { tableRows }\n                </div>\n            </ModalWithHeaderAndFooter>\n        );\n    }\n}\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { BevSpotDateTimePickerType } from 'shared/components/BevSpotDateTimePicker/BevSpotDateTimePicker';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { PopupDateTimePicker } from 'shared/components/PopupDateTimePicker';\nimport { Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { DateTime } from 'shared/models/DateTime';\nimport { IFormValue } from 'shared/models/FormValue';\nimport { OrderedProductAmountList } from '../models/OrderedProductAmountList';\nimport { TransferListTable } from './TransferListTable';\n\ninterface ITransferListPanel {\n    shouldUpdate : boolean;\n    title : string;\n    orderedProductAmountList : OrderedProductAmountList;\n    productsById : StringValueMap<ProductId, Product>;\n    note : string | null;\n    typeInput : null | {\n        sortedOptions : Array<IOption>;\n        currentOption : IOption;\n        onOptionSelect : (optionValue : string) => void;\n        onCreateCustomOption : ((optionText : string) => void) | null;\n    };\n    dateTimePicker : {\n        dateTimePickerShown : boolean;\n        setDateTimePickerShown : (isShown : boolean) => void;\n        initialDateTime : DateTime;\n        setDateTime : (dateTime : DateTime) => void;\n    };\n    orderedProductAmountQuantityByListElementIdForm : { [listElementId : string] : IFormValue<string> };\n    setQuantity(addedItemId : string, quantity : string) : void;\n    validateQuantity(addedItemId : string, quantity : string) : void;\n    removeRow(addedItemId : string, productId : ProductId) : void;\n    setNote(note : string) : void;\n}\nexport class TransferListPanel extends React.Component<ITransferListPanel, object> {\n    constructor(props : ITransferListPanel) {\n        super(props);\n\n        this.handleNoteChange = this.handleNoteChange.bind(this);\n    }\n\n    public shouldComponentUpdate(nextProps : ITransferListPanel) {\n        return nextProps.shouldUpdate;\n    }\n\n    public render() {\n        const {\n            title,\n            productsById,\n            orderedProductAmountList,\n            orderedProductAmountQuantityByListElementIdForm,\n            validateQuantity,\n            note,\n            dateTimePicker,\n            typeInput,\n            setQuantity,\n            removeRow,\n        } = this.props;\n\n        return (\n            <div className=\"col-intable transfer-list-panel search-result-list-table\">\n                <h4>{ title }</h4>\n                <TransferListTable\n                    productsById={ productsById }\n                    orderedProductAmountList={ orderedProductAmountList }\n                    orderedProductAmountQuantityByListElementIdForm={ orderedProductAmountQuantityByListElementIdForm }\n                    validateQuantity={ validateQuantity }\n                    setQuantity={ setQuantity }\n                    removeRow={ removeRow }\n                />\n                <div className=\"note-row ctable-row\">\n                    <div className=\"col-row\">\n                        <div className=\"cell col-xs-2 cell-ptb-md\"><span>Date</span></div>\n                        <div className=\"cell col-xs-10 cell-ptb-md\">\n                            <PopupDateTimePicker\n                                preferredPositionArray={ ['left', 'above'] }\n                                dateTimePickerIsShown={ dateTimePicker.dateTimePickerShown }\n                                setDateTimePickerIsShown={ dateTimePicker.setDateTimePickerShown }\n                                dateTimePickerProps={ {\n                                    buttons: [],\n                                    initialDateTime: dateTimePicker.initialDateTime,\n                                    setDateTime: dateTimePicker.setDateTime,\n                                    type: BevSpotDateTimePickerType.POPUP,\n                                    uniqueId: 'create-transfer-report',\n                                    shouldShowTime: true,\n                                } }\n                            />\n                        </div>\n                    </div>\n                    { typeInput &&\n                        <div className=\"col-row\">\n                            <div className=\"cell col-xs-2 cell-ptb-md\">\n                                <span>Type</span>\n                            </div>\n                            <div className=\"cell col-xs-10 cell-ptb-md\">\n                                <Select2DropdownMenu\n                                    openDirection=\"up\"\n                                    isSearchable={ true }\n                                    selectedOptionHeaderShown={ true }\n                                    sortedOptionsAndLabelName={ [[null, typeInput.sortedOptions]] }\n                                    onOptionSelect={ typeInput.onOptionSelect }\n                                    selectedOption={ typeInput.currentOption }\n                                    placeholderText=\"\"\n                                    hasCreateCustomOption={ true }\n                                    createCustomOption={ typeInput.onCreateCustomOption }\n                                    customOptionGroupLabel={ null }\n                                    buttonShouldDisplaySelectedLabel={ true }\n                                    emptyState={ null }\n                                    createCustomOptionButtonLabel={ null }\n                                />\n                            </div>\n                        </div>\n                    }\n                    <div className=\"col-row\">\n                        <div className=\"cell col-xs-2 cell-ptb-md\">\n                            <span>Note</span>\n                        </div>\n                        <div className=\"cell col-xs-10 cell-ptb-md\">\n                            <textarea\n                                defaultValue={ note === null ? '' : note }\n                                onBlur={ this.handleNoteChange }\n                            />\n                        </div>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    private handleNoteChange(event : React.FocusEvent<HTMLTextAreaElement>) : void {\n        const input = event.currentTarget;\n        return this.props.setNote(input.value);\n    }\n}\n","import React from 'react';\n\ninterface ITransferListPanelMobileHeaderProps {\n    title : string;\n    count : number;\n    panelIsOpen : boolean;\n    setPanelIsOpen(open : boolean) : void;\n}\nexport class TransferListPanelMobileHeader extends React.Component<ITransferListPanelMobileHeaderProps, object> {\n\n    constructor(props : ITransferListPanelMobileHeaderProps) {\n        super(props);\n\n        this.handleExpandPanel = this.handleExpandPanel.bind(this);\n    }\n\n    public render() {\n        const {\n            title,\n            count,\n            panelIsOpen,\n        } = this.props;\n\n        const arrowDirection : string = panelIsOpen ? 'bevico-arrow_drop_up' : 'bevico-arrow_drop_down' ;\n        const panelClasses : Array<string> = ['current-transfer-list-mobile'];\n        if (panelIsOpen) {\n            panelClasses.push('panel-expanded');\n        } else {\n            panelClasses.push('panel-collapsed');\n        }\n        if (count > 0) {\n            panelClasses.push('at-least-one-item');\n        }\n\n        return (\n            <div\n                className={ panelClasses.join(' ') }\n                onClick={ this.handleExpandPanel }\n            >\n                <h1>{ title } <strong className=\"transfer-list-count\">{ count }</strong>\n                    <span className={ `bevicon ${ arrowDirection }` } />\n                </h1>\n            </div>\n        );\n    }\n\n    private handleExpandPanel() : void {\n        return this.props.setPanelIsOpen(!this.props.panelIsOpen);\n    }\n}\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { BevSpotDateTimePickerType } from 'shared/components/BevSpotDateTimePicker/BevSpotDateTimePicker';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { PopupDateTimePicker } from 'shared/components/PopupDateTimePicker';\nimport { Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { DateTime } from 'shared/models/DateTime';\nimport { IFormValue } from 'shared/models/FormValue';\nimport { OrderedProductAmountList } from '../models/OrderedProductAmountList';\nimport { TransferListPanelMobileHeader } from './TransferListPanelMobileHeader';\nimport { TransferListTable } from './TransferListTable';\n\ninterface ITransferListPanelMobile {\n    shouldUpdate : boolean;\n    title : string;\n    orderedProductAmountList : OrderedProductAmountList;\n    productsById : StringValueMap<ProductId, Product>;\n    note : string | null;\n    typeInput : null | {\n        sortedOptions : Array<IOption>;\n        currentOption : IOption;\n        onOptionSelect : (optionValue : string) => void;\n        onCreateCustomOption : ((optionText : string) => void) | null;\n    };\n    dateTimePicker : {\n        dateTimePickerShown : boolean;\n        setDateTimePickerShown : (isShown : boolean) => void;\n        initialDateTime : DateTime;\n        setDateTime : (dateTime : DateTime) => void;\n    };\n    orderedProductAmountQuantityByListElementIdForm : { [listElementId : string] : IFormValue<string> };\n    panelIsOpen : boolean;\n    setQuantity(addedItemId : string, quantity : string) : void;\n    validateQuantity(addedItemId : string, quantity : string) : void;\n    removeRow(addedItemId : string, productId : ProductId) : void;\n    setNote(note : string) : void;\n    setPanelIsOpen(open : boolean) : void;\n}\nexport class TransferListPanelMobile extends React.Component<ITransferListPanelMobile, object> {\n    constructor(props : ITransferListPanelMobile) {\n        super(props);\n\n        this.handleNoteChange = this.handleNoteChange.bind(this);\n    }\n\n    public shouldComponentUpdate(nextProps : ITransferListPanelMobile) {\n        return nextProps.shouldUpdate;\n    }\n\n    public render() {\n        const {\n            title,\n            productsById,\n            orderedProductAmountList,\n            orderedProductAmountQuantityByListElementIdForm,\n            panelIsOpen,\n            validateQuantity,\n            note,\n            typeInput,\n            setQuantity,\n            removeRow,\n            setPanelIsOpen,\n            dateTimePicker,\n        } = this.props;\n\n        const productAmountIds = orderedProductAmountList.getListElementIds();\n        const productAmountCount = productAmountIds.length; // TODO verify no quantity = null anymore...\n        return (\n            <div className={ panelIsOpen ? ' transfer-list-panel-mobile transfer-list-panel-mobile-open' : 'transfer-list-panel-mobile' }>\n                <TransferListPanelMobileHeader\n                    title={ title }\n                    count={ productAmountCount }\n                    panelIsOpen={ panelIsOpen }\n                    setPanelIsOpen={ setPanelIsOpen }\n                />\n                {\n                    panelIsOpen &&\n                    <div className=\"col-intable transfer-list-panel search-result-list-table panel-expanded\">\n                        <TransferListTable\n                            productsById={ productsById }\n                            orderedProductAmountList={ orderedProductAmountList }\n                            orderedProductAmountQuantityByListElementIdForm={ orderedProductAmountQuantityByListElementIdForm }\n                            validateQuantity={ validateQuantity }\n                            setQuantity={ setQuantity }\n                            removeRow={ removeRow }\n                        />\n                        <div className=\"note-row ctable-row\">\n                            <div className=\"col-row\">\n                                <div className=\"cell col-xs-2 cell-ptb-md\">\n                                    <span className=\"note-row-label\">Date</span>\n                                </div>\n                                <div className=\"cell col-xs-10 cell-ptb-md\">\n                                    <PopupDateTimePicker\n                                        dateTimePickerIsShown={ dateTimePicker.dateTimePickerShown }\n                                        setDateTimePickerIsShown={ dateTimePicker.setDateTimePickerShown }\n                                        dateTimePickerProps={ {\n                                            buttons: [],\n                                            initialDateTime: dateTimePicker.initialDateTime,\n                                            setDateTime: dateTimePicker.setDateTime,\n                                            type: BevSpotDateTimePickerType.POPUP,\n                                            uniqueId: 'create-transfer-report',\n                                            shouldShowTime: true,\n                                        } }\n                                    />\n                                </div>\n                            </div>\n                            { typeInput &&\n                                <div className=\"col-row\">\n                                    <div className=\"cell col-xs-2 cell-ptb-md\">\n                                        <span className=\"note-row-label\">Type</span>\n                                    </div>\n                                    <div className=\"cell col-xs-10 cell-ptb-md\">\n                                        <Select2DropdownMenu\n                                            isSearchable={ true }\n                                            selectedOptionHeaderShown={ true }\n                                            sortedOptionsAndLabelName={ [[null, typeInput.sortedOptions]] }\n                                            onOptionSelect={ typeInput.onOptionSelect }\n                                            selectedOption={ typeInput.currentOption }\n                                            placeholderText=\"\"\n                                            hasCreateCustomOption={ true }\n                                            createCustomOption={ typeInput.onCreateCustomOption }\n                                            customOptionGroupLabel={ null }\n                                            buttonShouldDisplaySelectedLabel={ true }\n                                            emptyState={ null }\n                                            createCustomOptionButtonLabel={ null }\n                                        />\n                                    </div>\n                                </div>\n                            }\n                            <div className=\"col-row\">\n                                <div className=\"cell col-xs-2 cell-ptb-md\">\n                                    <span className=\"note-row-label\">Note</span>\n                                </div>\n                                <div className=\"cell col-xs-10 cell-ptb-md\">\n                                    <textarea\n                                        defaultValue={ note === null ? '' : note }\n                                        onBlur={ this.handleNoteChange }\n                                    />\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                }\n            </div>\n        );\n    }\n\n    private handleNoteChange(event : React.FocusEvent<HTMLTextAreaElement>) : void {\n        const input = event.currentTarget;\n        return this.props.setNote(input.value);\n    }\n}\n","import React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { ValidationInput } from 'shared/components/ValidationInput';\n\ninterface IUnitQuantityWithEditableQuantityProps {\n    product : Product;\n    quantity : string | null;\n    unit : ProductQuantityUnit;\n    isValid : boolean;\n    errorMessage : string | null;\n    setQuantity(quantity : string) : void;\n    validateQuantity(quantity : string) : void;\n}\n\nexport class UnitQuantityWithEditableQuantity extends React.Component<IUnitQuantityWithEditableQuantityProps, object> {\n\n    constructor(props : IUnitQuantityWithEditableQuantityProps) {\n        super(props);\n\n        this.handleChange = this.handleChange.bind(this);\n        this.handleBlur = this.handleBlur.bind(this);\n    }\n\n    public render() {\n        const {\n          quantity,\n          unit,\n          isValid,\n          errorMessage,\n          product,\n        } = this.props;\n\n        const invalidMessageElement = !isValid && (\n            <span className=\"invalid\">{ errorMessage }</span>\n        );\n\n        return (\n            <div className=\"unit-quantity-with-editable-quantity\">\n                { invalidMessageElement }\n                <div className=\"cell col-xs-3 text-right\">\n                    <ValidationInput\n                        type=\"text\"\n                        label={ null }\n                        hintText={ null }\n                        value={ (quantity !== null) ? quantity : '' }\n                        autoFocus={ false }\n                        autoComplete={ null }\n                        isValid={ isValid }\n                        errorMessage=\"\"\n                        inputClassName=\"\"\n                        handleBlur={ this.handleBlur }\n                        handleFocus={ null }\n                        handleChange={ this.handleChange }\n                        handleEnterClick={ this.returnUndefined }\n                        isDisabled={ false }\n                    />\n                </div>\n                <div className=\"cell unit-cell col-xs-9 text-left\">\n                    <span className=\"unit-text\">{ PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), unit, false) }</span>\n                </div>\n            </div>\n        );\n    }\n\n    private returnUndefined = () => undefined;\n\n    private handleChange(event : React.ChangeEvent<HTMLInputElement>) : void {\n        const input = event.currentTarget;\n        const value = input.value;\n        this.props.setQuantity(value);\n    }\n\n    private handleBlur(event : React.FocusEvent<HTMLInputElement>) : void {\n        const input = event.currentTarget;\n        const value = input.value;\n        this.props.validateQuantity(value);\n    }\n}\n","import React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\n\nimport { UnitQuantityWithEditableQuantity } from 'apps/InventoryTransfer/components/UnitQuantityWithEditableQuantity';\nimport { BrandAndName } from 'shared/components/Product/BrandAndName';\n\ninterface ITransferListRowProps {\n    product : Product;\n    unit : ProductQuantityUnit;\n    quantity : string | null;\n    isValid : boolean;\n    errorMessage : string | null;\n    setQuantity(quantity : string) : void;\n    validateQuantity(quantity : string) : void;\n    removeRow() : void;\n}\nexport class TransferListRow extends React.Component<ITransferListRowProps, object> {\n\n    public render() {\n        const {\n            product,\n            unit,\n            quantity,\n            isValid,\n            errorMessage,\n            setQuantity,\n            validateQuantity,\n            removeRow,\n        } = this.props;\n\n        return (\n            <div className=\"transfer-list-row ctable-row\">\n                <div className=\"col-row\">\n                    <div className=\"cell col-xs-7\">\n                        <UnitQuantityWithEditableQuantity\n                            quantity={ quantity }\n                            unit={ unit }\n                            validateQuantity={ validateQuantity }\n                            errorMessage={ errorMessage }\n                            isValid={ isValid }\n                            setQuantity={ setQuantity }\n                            product={ product }\n                        />\n                    </div>\n                    <div className=\"cell cell-ptb-md col-xs-5\">\n                        <BrandAndName \n                            brand={ product.getBrand() }\n                            name={ product.getName() }\n                            category={ product.getProductCategoryId() }\n                            subcategory={ product.getProductType() }\n                        />\n                    </div>\n                    <div className=\"cell col-xs-1\">\n                        <button\n                            className=\"transfer-list-row-delete\"\n                            onClick={ removeRow }\n                        >\n                            <span className=\"bevicon bevico-remove-inverse\"/>\n                        </button>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { IFormValue } from 'shared/models/FormValue';\nimport { OrderedProductAmountList } from '../models/OrderedProductAmountList';\nimport { TransferListRow } from './TransferListRow';\n\ninterface ITransferListTable {\n    orderedProductAmountList : OrderedProductAmountList;\n    productsById : StringValueMap<ProductId, Product>;\n    orderedProductAmountQuantityByListElementIdForm : { [listElementId : string] : IFormValue<string> };\n    validateQuantity(addedItemId : string, quantity : string) : void;\n    setQuantity(addedItemId : string, quantity : string) : void;\n    removeRow(addedItemId : string, productId : ProductId) : void;\n}\nexport class TransferListTable extends React.Component<ITransferListTable, object> {\n    public render() {\n        const {\n            productsById,\n            orderedProductAmountList,\n            orderedProductAmountQuantityByListElementIdForm,\n        } = this.props;\n\n        const listElementIds = orderedProductAmountList ? orderedProductAmountList.getListElementIds() : [];\n        const productAmountsByListElementId = orderedProductAmountList ? orderedProductAmountList.getItemByListElementId() : {};\n\n        const tableRows : Array<JSX.Element> = [];\n        listElementIds.forEach((listElementId : string) => {\n            const productAmount : ProductAmount = productAmountsByListElementId[listElementId];\n\n            // TODO alb verify that backend changes mean we don't need to do this.\n            // // skip any product amounts with a null quantity\n            // // this just means we're deleting a PCA that was originally in a report\n            // if (productAmount.quantity === null || orderedProductAmountQuantityByListElementIdForm[listElementId] === null) {\n            //     return;\n            // }\n\n            const product = productsById.get(productAmount.getProductId());\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('product not found: ' + productAmount.getProductId());\n            }\n            if (typeof orderedProductAmountQuantityByListElementIdForm[listElementId] === 'undefined') {\n                throw new RuntimeException('orderedProductAmountQuantityByListElementIdForm unexpectedly missing ' + listElementId);\n            }\n\n            const resolvedQuantityInUnit = PackagingUtils.resolveProductQuantityUnit(productAmount.getQuantityInUnit(), product.getPackagingsAndMappings().getMappings());\n\n            tableRows.push(\n                <TransferListRow\n                    key={ listElementId }\n                    product={ product }\n                    unit={ resolvedQuantityInUnit.getUnit() }\n                    quantity={ orderedProductAmountQuantityByListElementIdForm[listElementId].value } // TODO alb verify ok???\n                    isValid={ orderedProductAmountQuantityByListElementIdForm[listElementId].isValid }\n                    errorMessage={ orderedProductAmountQuantityByListElementIdForm[listElementId].errorMessage }\n                    validateQuantity={ this.handleValidateQuantity(listElementId) }\n                    setQuantity={ this.handleSetQuantity(listElementId) }\n                    removeRow={ this.handleRemoveRow(listElementId, productAmount.getProductId()) }\n                />\n            );\n        });\n\n        return (\n            <div className=\"transfer-list-table\">\n                <div className=\"ctable\">\n                    <div className=\"ctable-head col-row cell-ptb-md\">\n                        <div className=\"cell col-xs-2\">Qty</div>\n                        <div className=\"cell col-xs-8\">Item</div>\n                    </div>\n                    <div className=\"transfer-list-rows\">\n                        <div className=\"transfer-list-scroll\">\n                            { tableRows }\n                        </div>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n    private handleValidateQuantity = (listElementId : string) => (quantity : string) => this.props.validateQuantity(listElementId, quantity);\n    private handleSetQuantity = (listElementId : string) => (quantity : string) => this.props.setQuantity(listElementId, quantity);\n    private handleRemoveRow = (listElementId : string, productId : ProductId) => () => this.props.removeRow(listElementId, productId);\n}\n","import React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { BrandAndName } from 'shared/components/Product/BrandAndName';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\ninterface IUnmatchedProductPanelProps {\n    readonly currentIndex : number;\n    readonly totalProductCount : number;\n    readonly product : Product;\n    readonly selectedProductFormIsValid : boolean;\n    readonly partnerLocationName : string;\n    readonly currentProductForm : {\n        productId : ProductId;\n        productQuantityUnit : ProductQuantityUnit;\n    };\n}\n\nexport class UnmatchedProductPanel extends React.Component<IUnmatchedProductPanelProps, object> {\n\n    public render() {\n        const {\n            currentIndex,\n            totalProductCount,\n            product,\n            currentProductForm,\n            partnerLocationName,\n            selectedProductFormIsValid,\n        } = this.props;\n\n        if (currentIndex <= 0) {\n            throw new Error('itemNumber must be greater than 0');\n        }\n        if (totalProductCount <= 0) {\n            throw new Error('count must be greater than 0');\n        }\n        if (currentIndex > totalProductCount) {\n            throw new Error('count must be greater than itemNumber');\n        }\n        if (product === null) {\n            throw new Error('product must be set');\n        }\n\n        let warning : JSX.Element | null = null;\n        if (!selectedProductFormIsValid) {\n            warning = (\n                <span>Please match to an item right. Unit packaging quantities should match between two products.</span>\n            );\n        }\n\n        const packagingsAndMappings = product.getPackagingsAndMappings();\n        const baseUnitDisplayText = PackagingUtils.getDisplayTextForProductQuantityUnit(packagingsAndMappings, currentProductForm.productQuantityUnit, false);\n\n        return (\n            <div className=\"unmatched-product-panel cell col-xs-12 col-sm-12 col-md-6 cell-plr\">\n                <p>Item { currentIndex } of { totalProductCount }</p>\n                <div className=\"unmatched-instructions cell-ptb\">\n                    <p>Search the { partnerLocationName }'s inventory list on the right to find the matching inventory item.</p>\n                    <br/>\n                    <p>If no match is found, a new item can be created and added to { partnerLocationName }'s with the same packaging and pricing information.</p>\n                </div>\n                \n                <span className=\"unmatched-warning\">{ warning }</span>\n                <div className=\"unmatched-product-information\">\n                    <BrandAndName\n                        brand={ product.getBrand() }\n                        name={ product.getName() }\n                        category={ product.getProductCategoryId() }\n                        subcategory={ product.getProductType() }\n                    />\n                    <br/>\n                    <div className=\"col-row unit-display\">\n                        Base Unit: 1 { baseUnitDisplayText }\n                    </div>\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { SearchBar, SearchBarTheme } from 'shared/components/SearchBar/SearchBar';\nimport { SearchResultListTable } from './SearchResultListTable';\nimport { UnmatchedProductPanel } from './UnmatchedProductPanel';\n\nimport { productJSONToObjectSerializer, productObjectToJSONSerializer } from 'shared/lib/manager';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput } from 'shared/components/ValidationInput';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { Validation } from 'shared/validators/validators';\n\ninterface IUnmatchedProductMapperProps {\n    readonly locationName : string;\n    readonly partnerLocationName : string;\n    readonly itemNumber : number;\n    readonly count : number;\n    readonly currentProductForm : {\n        productId : ProductId;\n        productQuantityUnit : ProductQuantityUnit;\n    };\n    readonly productsById : StringValueMap<ProductId, Product>;\n    readonly deletedProductIds? : StringValueSet<ProductId>;\n    readonly activeProductIds? : StringValueSet<ProductId>;\n    readonly searchBar : ISearchBarState;\n    readonly searchBarActions : {\n        handleOnChange(searchTerm : string) : void,\n        handleBlur(searchTerm : string) : void,\n        handleEnterClick(searchTerm : string) : void,\n    };\n    readonly searchResults : Array<ProductId>;\n    readonly selectedProductForm : {\n        productId : ProductId | null;\n        quantity : {\n            value : string;\n            isValid : boolean;\n            errorMessage : string;\n        };\n        productQuantityUnit : ProductQuantityUnit;\n    };\n    readonly addProductToPartnerLocation : ((productId : ProductId) => Promise<ProductId | Error>) | null;\n    readonly clearSearchBar : () => void;\n    readonly setSelectedProductForm : (productId : ProductId | null, quantity : string, productQuantityUnit : ProductQuantityUnit) => void;\n}\n\nexport class UnmatchedProductMapper extends React.Component<IUnmatchedProductMapperProps, object> {\n\n    public render() {\n        const {\n            locationName,\n            partnerLocationName,\n            itemNumber,\n            count,\n            clearSearchBar,\n            searchBar,\n            searchBarActions,\n            searchResults,\n            currentProductForm,\n            selectedProductForm,\n            addProductToPartnerLocation,\n            productsById,\n            deletedProductIds,\n            activeProductIds,\n        } = this.props;\n\n        let selectedProductFormIsValid = false; // TODO Maybe write a validator\n        let selectedProduct : Product | null = null;\n        const currentProduct = productsById.getRequired(currentProductForm.productId);\n\n        if (selectedProductForm.productId !== null) {\n            selectedProduct = productsById.getRequired(selectedProductForm.productId);\n            const selectedProductPackaingText = PackagingUtils.getDisplayTextForProductQuantityUnit(selectedProduct.getPackagingsAndMappings(), selectedProductForm.productQuantityUnit, false);\n            const currentProductPackagingText = PackagingUtils.getDisplayTextForProductQuantityUnit(currentProduct.getPackagingsAndMappings(), currentProductForm.productQuantityUnit, false);\n            \n            if (Validation.validateNonNegativeNumber(selectedProductForm.quantity.value) && (parseFloat(selectedProductForm.quantity.value) > 0)) {\n                if (PackagingUtils.isProductQuantityUnitCompatibleWithPackagings(selectedProduct.getPackagingsAndMappings(), currentProductForm.productQuantityUnit)) {\n                    selectedProductFormIsValid = true;\n                }  else if (selectedProductPackaingText === currentProductPackagingText) {\n                    selectedProductFormIsValid = true;\n                }\n            }\n        }\n\n        let onProductToPartnerLocationClick : (() => Promise<ProductId | Error>) | null = null;\n        if (addProductToPartnerLocation !== null) {\n            onProductToPartnerLocationClick = () => {\n                return addProductToPartnerLocation(currentProductForm.productId);\n            };\n        }\n\n        let selectedProductFormUnitSortedOptionsAndLabelName : OptionsAndLabelNameTuples = [];\n        let selectedProductFormUnitSelectedIOption : IOption | null = null;\n\n        if (selectedProduct) {\n            selectedProductFormUnitSortedOptionsAndLabelName = PackagingUtils.getAvailableUnitOptionsAndLabelNames(selectedProduct.getPackagingsAndMappings(), true);\n\n            const selectedUnit = selectedProductForm.productQuantityUnit;\n            if (selectedUnit) {\n                selectedProductFormUnitSortedOptionsAndLabelName.forEach((unitOptionsAndLabelName) => {\n                    unitOptionsAndLabelName[1].forEach((unitOption : IOption) => {\n                        if (unitOption.value === productObjectToJSONSerializer.getProductQuantityUnit(selectedUnit)) {\n                            selectedProductFormUnitSelectedIOption = unitOption;\n                        }\n                    });\n                });\n            }\n        }\n\n        return (\n            <div className=\"ctable unmatched-product-mapper\">\n                <div>\n                    <div className=\"unmatched-product-mapper-location-bar cell col-xs-6 ellipsis-out\"><span><strong>{ locationName }</strong></span></div>\n                    <div className=\"unmatched-product-mapper-location-bar cell col-xs-6 mapper-location-bar-right\"><span>{ partnerLocationName }</span></div>\n                </div>\n                <div className=\"col-row\">\n                    <UnmatchedProductPanel\n                        currentIndex={ itemNumber }\n                        totalProductCount={ count }\n                        product={ currentProduct }\n                        partnerLocationName={ partnerLocationName }\n                        selectedProductFormIsValid={ selectedProductFormIsValid }\n                        currentProductForm={ currentProductForm }\n                    />\n                    <div className=\"unmatched-product-search cell col-xs-12 col-sm-12 col-md-6\">\n                        <SearchBar\n                            theme={ SearchBarTheme.Default }\n                            clearSearchBar={ clearSearchBar }\n                            placeholderText={`Search ${partnerLocationName}'s inventory`}\n                            value={ searchBar.searchTerm }\n                            isDisabled={ searchBar.isDisabled }\n                            isFocused={ searchBar.isFocused }\n                            handleOnChange={ searchBarActions.handleOnChange }\n                            handleBlur={ searchBarActions.handleBlur }\n                            handleFocus={ null }\n                            handleEnterClick={ searchBarActions.handleEnterClick }\n                        />\n                        <SearchResultListTable\n                            shouldUpdate={ true }\n                            matchingProduct={ currentProductForm.productId }\n                            addProductToPartnerLocation={ onProductToPartnerLocationClick }\n                            addedProductAmounts={ null }\n                            sortedProductIds={ searchResults }\n                            selectedProduct={ selectedProductForm.productId }\n                            selectedProductInvalidMessage={ null }\n                            setSelectedProduct={ this.onSetSelectedProduct }\n                            searchTerm={ searchBar.searchTerm }\n                            productsById={ productsById }\n                            deletedProductIds={ deletedProductIds }\n                            activeProductIds={ activeProductIds }\n                        />\n                        { selectedProduct && !selectedProductFormIsValid &&\n                        <>\n                            <div className=\"add-to-list-bar\">\n                            <p className=\"warning-message\">Mismatched packaging unit types. Please provide a unit.</p>\n                                <div className=\"add-to-list-bar-wrapper\">\n                                    <div className=\"col-row\">\n                                        <div className=\"cell col-xs-2 cell-pr-sm\">\n                                            <ValidationInput\n                                                key=\"quantity\"\n                                                inputClassName=\"\"\n                                                type=\"text\"\n                                                autoFocus={ false }\n                                                autoComplete={ null }\n                                                errorMessage={ selectedProductForm.quantity.errorMessage || '' }\n                                                isValid={ selectedProductForm.quantity.isValid }\n                                                handleBlur={ this.onSelectedProductFormQuantityBlur }\n                                                handleFocus={ null }\n                                                handleChange={ this.onSelectedProductFormQuantityChange }\n                                                handleEnterClick={ this.doNothing }\n                                                label=\"Qty\"\n                                                hintText={ null }\n                                                value={ selectedProductForm.quantity.value }\n                                                isDisabled={ selectedProductForm.productId === null }\n                                            />\n                                        </div>\n                                        <div className=\"cell col-xs-7\">\n                                            <Select2DropdownMenu\n                                                isSearchable={ false }\n                                                buttonShouldDisplaySelectedLabel={ true }\n                                                selectedOptionHeaderShown={ false }\n                                                sortedOptionsAndLabelName={ selectedProductFormUnitSortedOptionsAndLabelName }\n                                                selectedOption={ selectedProductFormUnitSelectedIOption }\n                                                onOptionSelect={ this.onSelectedProductFormUnitSelect }\n                                                placeholderText=\"Select Unit\"\n                                                emptyState={ null }\n                                                hasCreateCustomOption={ false }\n                                                createCustomOption={ this.doNothing }\n                                                customOptionGroupLabel={ null }\n                                                isDisabled={ selectedProductForm.productId === null }\n                                                openDirection=\"up\"\n                                                createCustomOptionButtonLabel={ null }\n                                            />\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </>\n                        }\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    private readonly onSetSelectedProduct = (productId : ProductId | null) => {\n        const {\n            productsById,\n            currentProductForm,\n            setSelectedProductForm\n        } = this.props;\n\n        let newProductQuantityUnit = currentProductForm.productQuantityUnit;\n\n        if (productId) {\n            const product = productsById.getRequired(productId);\n            if (!PackagingUtils.isProductQuantityUnitCompatibleWithPackagings(product.getPackagingsAndMappings(), newProductQuantityUnit)) {\n                newProductQuantityUnit = product.getPackagingsAndMappings().getConversions().getBaseUnit();\n            }\n        }\n\n        setSelectedProductForm(productId, \"1\", newProductQuantityUnit);\n    }\n\n    private readonly onSelectedProductFormQuantityChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        const {\n            selectedProductForm,\n            setSelectedProductForm\n        } = this.props;\n\n        setSelectedProductForm(selectedProductForm.productId, event.currentTarget.value, selectedProductForm.productQuantityUnit);\n    }\n\n    private readonly onSelectedProductFormQuantityBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        const {\n            selectedProductForm,\n            setSelectedProductForm\n        } = this.props;\n\n        setSelectedProductForm(selectedProductForm.productId, event.currentTarget.value, selectedProductForm.productQuantityUnit);\n    }\n\n    private readonly onSelectedProductFormUnitSelect = (optionValue : string) => {\n        const {\n            selectedProductForm,\n            setSelectedProductForm\n        } = this.props;\n\n        const productQuantityUnit = productJSONToObjectSerializer.getProductQuantityUnit(optionValue);\n        setSelectedProductForm(selectedProductForm.productId, selectedProductForm.quantity.value, productQuantityUnit);\n    }\n\n    private readonly doNothing = () => {\n        // Do Nothing\n    }\n}\n","import React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\nimport { IModalButton, IModalClasses } from 'shared/models/Modal';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ModalWithHeaderAndFooter } from 'shared/components/ModalWithHeaderAndFooter';\nimport { UnmatchedProductMapper } from './UnmatchedProductMapper';\n\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { Validation } from 'shared/validators/validators';\n\nexport interface IUnmatchedProductModal {\n    readonly isLoading : boolean;\n    readonly locationName : string;\n    readonly partnerLocationName : string;\n    readonly itemNumber : number;\n    readonly count : number;\n    readonly currentUnmappedProductForm : {\n        productId : ProductId;\n        productQuantityUnit : ProductQuantityUnit;\n    };\n    readonly searchBar : ISearchBarState;\n    readonly searchBarActions : {\n        handleBlur(searchTerm : string) : void;\n        handleEnterClick(searchTerm : string) : void;\n        handleOnChange(searchTerm : string) : void;\n    };\n    readonly modalActions : {\n        handleFooterLeftButton() : void;\n        handleNextButton() : void;\n        handlePreviousButton() : void;\n    };\n    readonly searchResults : Array<ProductId>;\n    readonly selectedProductForm : {\n        productId : ProductId | null;\n        quantity : {\n            value : string;\n            isValid : boolean;\n            errorMessage : string;\n        };\n        productQuantityUnit : ProductQuantityUnit;\n    };\n    readonly productsById : StringValueMap<ProductId, Product>;\n    readonly deletedProductIds? : StringValueSet<ProductId>;        // flag deleted products if necessary\n    readonly activeProductIds? : StringValueSet<ProductId>;\n    readonly addProductToPartnerLocation : ((productId : ProductId) => Promise<ProductId | Error>) | null;\n    readonly clearSearchBar : () => void;\n    readonly setSelectedProductForm : (productId : ProductId | null, quantity : string, productQuantityUnit : ProductQuantityUnit) => void;\n}\n\nexport class UnmatchedProductModal extends React.Component<IUnmatchedProductModal, object> {\n\n    public render() {\n        const {\n            isLoading,\n            locationName,\n            partnerLocationName,\n            itemNumber,\n            count,\n            clearSearchBar,\n            searchBar,\n            searchBarActions,\n            modalActions,\n            searchResults,\n            selectedProductForm,\n            currentUnmappedProductForm,\n            addProductToPartnerLocation,\n            setSelectedProductForm,\n            productsById,\n            deletedProductIds,\n            activeProductIds,\n        } = this.props;\n\n        const modalClasses : IModalClasses = {\n            bodyClasses: null,\n            footerClasses: null,\n            headerClasses: 'red',\n        };\n        const footerLeftButton : IModalButton = {\n            onClick: modalActions.handleFooterLeftButton,\n            classes: 'flat',\n            isDisabled: false,\n            isLoading: false,\n            children: 'Back',\n        };\n        const footerLabel = (\n            <span><strong>{ itemNumber }</strong> of { count }</span>\n        );\n\n        const buttons : Array<IModalButton> = [{\n            onClick: modalActions.handlePreviousButton,\n            classes: 'primary-action',\n            isDisabled: itemNumber === 1,\n            isLoading: false,\n            children: 'Prev',\n        }];\n\n        let selectedProductFormIsValid = false;\n        let selectedProduct : Product | null = null;\n        if (selectedProductForm.productId !== null) {\n            selectedProduct = productsById.getRequired(selectedProductForm.productId);\n\n            if (Validation.validateNonNegativeNumber(selectedProductForm.quantity.value) && (parseFloat(selectedProductForm.quantity.value) > 0)) {\n                if (PackagingUtils.isProductQuantityUnitCompatibleWithPackagings(selectedProduct.getPackagingsAndMappings(), selectedProductForm.productQuantityUnit)) {\n                    selectedProductFormIsValid = true;\n                }\n            }\n        }\n\n        const currentUnmappedProduct = productsById.getRequired(currentUnmappedProductForm.productId);\n        const currentUnmappedProductFormIsValid = PackagingUtils.isProductQuantityUnitCompatibleWithPackagings(currentUnmappedProduct.getPackagingsAndMappings(), currentUnmappedProductForm.productQuantityUnit);\n\n        const isNextReady = selectedProductFormIsValid && currentUnmappedProductFormIsValid;\n        const rightButtonClasses = isNextReady ? 'success-action' : 'primary-action';\n\n        buttons.push({\n            onClick: () => modalActions.handleNextButton(),\n            classes: rightButtonClasses,\n            isDisabled: !isNextReady,\n            isLoading: false,\n            children: (itemNumber === count) ? 'Finish' : 'Next',\n        });\n\n        return (\n            <ModalWithHeaderAndFooter\n                className=\"\"\n                closeButtonShown={ false }\n                onClose={ null }\n                buttons={ buttons }\n                footerLeftButton={ footerLeftButton }\n                footerLabel={ footerLabel }\n                headerText={ `${count} Unmatched Transfer Items` }\n                modalClasses={ modalClasses }\n            >\n                { isLoading &&\n                    <div className=\"product-mapper-overlay\">\n                        <div className=\"loading-icon-wrapper\">\n                            <span className=\"bevicon bevico-spinner2 make-it-spin\"/>\n                        </div>\n                    </div>\n                }\n                <p className=\"unmatched-product-caption\">Find matching inventory items in the location that you're <strong>transferring with</strong> below.</p>\n                <UnmatchedProductMapper\n                    locationName={ locationName }\n                    partnerLocationName={ partnerLocationName }\n                    itemNumber={ itemNumber }\n                    count={ count }\n                    currentProductForm={ currentUnmappedProductForm }\n                    productsById={ productsById }\n                    deletedProductIds={ deletedProductIds }\n                    activeProductIds={ activeProductIds }\n                    searchBar={ searchBar }\n                    searchBarActions={ searchBarActions }\n                    searchResults={ searchResults }\n                    selectedProductForm={ selectedProductForm }\n                    addProductToPartnerLocation={ addProductToPartnerLocation }\n                    clearSearchBar={ clearSearchBar }\n                    setSelectedProductForm={ setSelectedProductForm }\n                />\n            </ModalWithHeaderAndFooter>\n        );\n    }\n}\n","import LocationModel from 'gen-thrift/location_Model_types';\n\nexport class BevSpotLocation {\n    public id : LocationModel.LocationIdentifier;\n    public displayName : string;\n\n    constructor(args : {\n        id : LocationModel.LocationIdentifier;\n        displayName : string\n    }) {\n        this.id = args.id;\n        this.displayName = args.displayName;\n    }\n}\n\nexport const OtherLocation = () => new BevSpotLocation({\n    displayName: 'Other',\n    id: new LocationModel.LocationIdentifier({\n        value: '_other_',\n    }),\n});\n","export enum InventoryReportType {\n    'breakage_report' = 0,\n    'transfer_report' = 1,\n}\n","import cloneDeep from 'lodash/cloneDeep';\n\nexport interface IItemByListElementId<T> {\n    [listElementId : string] : T;\n}\n\nlet nextListElementId = 0;\n\nexport class OrderedItemList<T> {\n    public listElementIds : Array<string>;\n    public itemByListElementId : IItemByListElementId<T>;\n\n    constructor(args : {\n        listElementIds : Array<string>;\n        itemByListElementId : IItemByListElementId<T>;\n    }) {\n        this.listElementIds = args.listElementIds;\n        this.itemByListElementId = args.itemByListElementId;\n    }\n\n    public length() : number {\n        return this.listElementIds.length;\n    }\n\n    public clone() : OrderedItemList<T> {\n        return new OrderedItemList<T>({\n            itemByListElementId: cloneDeep(this.itemByListElementId),\n            listElementIds: this.listElementIds.slice(0),\n        });\n    }\n\n    public getListElementIds() : Array<string> {\n        return this.listElementIds;\n    }\n\n    public getItemByListElementId() : IItemByListElementId<T> {\n        return this.itemByListElementId;\n    }\n\n    public getOrderedElements() : Array<T> {\n        return this.listElementIds.map((id) => {\n            return this.itemByListElementId[id];\n        });\n    }\n\n    public getListElementById(listElementId : string) : T | null {\n        return this.itemByListElementId[listElementId] || null;\n    }\n\n    public removeListElement(listElementIdToRemove : string) : void {\n        const listElementIds = this.listElementIds;\n        const elementIndex = listElementIds.indexOf(listElementIdToRemove);\n        if (elementIndex === -1) {\n            throw new Error('listElementId does not exist in listElementIds');\n        }\n\n        this.listElementIds = [\n            ...listElementIds.slice(0, elementIndex),\n            ...listElementIds.slice(elementIndex + 1, listElementIds.length),\n        ];\n        delete this.itemByListElementId[listElementIdToRemove];\n    }\n\n    public addListElement(item : T) : string {\n        const newListElementId = String(++nextListElementId);\n        this.listElementIds.push(newListElementId);\n        this.itemByListElementId[newListElementId] = item;\n        return newListElementId;\n    }\n}\n","import cloneDeep from 'lodash/cloneDeep';\n\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { OrderedItemList } from 'shared/models/OrderedItemList';\n\nexport interface IProductAmountByListElementId {\n    [listElementId : string] : ProductAmount;\n}\nexport class OrderedProductAmountList extends OrderedItemList<ProductAmount> {\n\n    constructor(args : {\n        listElementIds : Array<string>;\n        itemByListElementId : IProductAmountByListElementId;\n    }) {\n        super(args);\n    }\n\n    public clone() : OrderedProductAmountList {\n        return new OrderedProductAmountList({\n            itemByListElementId: cloneDeep(this.itemByListElementId),\n            listElementIds: this.listElementIds.slice(0),\n        });\n    }\n\n    public getOrderedElements() : Array<ProductAmount> {\n        return super.getOrderedElements() as Array<ProductAmount>;\n    }\n\n    public getListElementById(listElementId : string) : ProductAmount | null {\n        return super.getListElementById(listElementId) as ProductAmount;\n    }\n\n    public getItemByListElementId() : IProductAmountByListElementId {\n        return super.getItemByListElementId();\n    }\n\n    public addListElement(item : ProductAmount) : string {\n        return super.addListElement(item);\n    }\n\n    public editListElementQuantity(listElementId : string, quantity : number) : void {\n        if (this.listElementIds.indexOf(listElementId) === -1) {\n            throw new Error('listElementId does not exist in listElementIds');\n        }\n        const productAmountToUpdate = this.itemByListElementId[listElementId];\n        const item : ProductAmount = new ProductAmount(\n            productAmountToUpdate.getProductId(),\n            new QuantityInUnit(quantity, productAmountToUpdate.getQuantityInUnit().getUnit())\n        );\n        this.itemByListElementId[listElementId] = item;\n    }\n\n    public removeProductAmount(listElementIdToRemove : string, setToNull : boolean) : void {\n        const listElementIds = this.listElementIds;\n        const elementIndex = listElementIds.indexOf(listElementIdToRemove);\n        if (elementIndex === -1) {\n            throw new Error('listElementId does not exist in listElementIds');\n        }\n        super.removeListElement(listElementIdToRemove);\n    }\n}\n","import { Action } from '@reduxjs/toolkit';\n\nimport { ProductId } from 'api/Product/model/ProductId';\n\nimport { ActionInterfaces, ActionTypes } from '../actions/unmatchedProductModalActions';\n\nimport { transferReportProductDataUtils } from 'apps/InventoryTransfer/utils/transferReportProductDataUtils';\n\nimport { IAction, IEmptyAction, IFailureAction, ISetShownAction } from 'shared/models/IAction';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { InterLocationProductMapping } from 'api/Transfer/model/InterLocationProductMapping';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Product } from 'api/Product/model/Product';\n\nconst itemNumberLongerThanUnmapedProductIdsArrayError =\n    new Error('reduceSetModalStepState itemNumber longer than unmappedProductIds');\nconst itemNumberLessThanOneError =\n    new Error('reduceSetModalStepState itemNumber less than 0');\nconst addProductMappingWithoutSelectedProductError =\n    new Error('reduceAddProductMapping selectedProduct is null');\nconst unexpectedSourceProductIdInMappingError = new Error('SourceProductId has an unexpected value');\n\nexport interface IProductMappingComponentForm {\n    productId : ProductId | null;\n    quantity : {\n        value : string;\n        isValid : boolean;\n        errorMessage : string;\n    };\n    productQuantityUnit : ProductQuantityUnit;\n}\n\nexport interface IUnmappedProductState {\n    unmappedProductIds : Array<ProductId>;\n    itemNumber : number;\n    currentUnmappedProductForm : {\n        productId : ProductId | null;\n        productQuantityUnit : ProductQuantityUnit;\n    };\n    searchBar : ISearchBarState;\n    searchResults : Array<ProductId>;\n    displayedSearchResults : Array<ProductId>;\n    selectedProductForm : {\n        productId : ProductId | null;\n        quantity : {\n            value : string;\n            isValid : boolean;\n            errorMessage : string;\n        };\n        productQuantityUnit : ProductQuantityUnit;\n    };\n    existingMappings : Array<InterLocationProductMapping>;\n    addedMappings : Array<InterLocationProductMapping>;\n    isLoading : boolean;\n    wasProductAddedToLocationByStep : Array<boolean>;\n    deletedMappedProductsDialogShown : boolean;\n    invalidatedMappings : Array<{ sourceProductId : ProductId; deletedTargetProductId : ProductId }>;\n    deletedTargetProductsById : StringValueMap<ProductId, Product>;\n    invalidatedMappingActions : StringValueMap<ProductId, 'restore' | 'remap'>;\n}\n\nconst initialState : IUnmappedProductState = {\n    isLoading: false,\n    itemNumber: 0,\n    unmappedProductIds: [],\n    searchBar: {\n        searchTerm: null,\n        isDisabled: false,\n        isFocused: false,\n    },\n    searchResults: [],\n    displayedSearchResults: [],\n    selectedProductForm: {\n        productId: null,\n        quantity: {\n            value: '',\n            isValid: true,\n            errorMessage: '',\n        },\n        productQuantityUnit: VolumeUnit.MILLILITER,\n    },\n    existingMappings: [],\n    currentUnmappedProductForm: {\n        productId: null,\n        productQuantityUnit: VolumeUnit.MILLILITER,\n    },\n    addedMappings: [],\n    wasProductAddedToLocationByStep: [],\n    deletedMappedProductsDialogShown: false,\n    invalidatedMappings: [],\n    deletedTargetProductsById: new StringValueMap<ProductId, Product>(),\n    invalidatedMappingActions: new StringValueMap<ProductId, 'restore' | 'remap'>(),\n};\n\nconst reduceSetUnmappedProductIds = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetProductIdsAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        unmappedProductIds: action.payload.productIds\n    };\n};\n\nconst reduceSetSelectedProductForm = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetSelectedProductFormAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        selectedProductForm: {\n            productId: action.payload.productId,\n            quantity: action.payload.quantity,\n            productQuantityUnit: action.payload.productQuantityUnit,\n        },\n    };\n};\n\nconst reduceSetExistingMappings = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetExistingMappingsAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        existingMappings: action.payload.productMappings\n    };\n};\n\nconst reduceSetModalStepState = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetModalStepStateAction\n) : IUnmappedProductState => {\n    const itemNumber = action.payload.itemNumber;\n    const productsById = action.payload.productsById;\n\n    if (itemNumber < 0) {\n        throw itemNumberLessThanOneError;\n    }\n\n    const currentUnmappedProductId = itemNumber > 0 ? state.unmappedProductIds[itemNumber - 1] : null;\n\n    let addedMapping = itemNumber > 0 ? state.addedMappings[itemNumber - 1] : null;\n    addedMapping = addedMapping ? addedMapping : null;\n\n    let currentUnmappedProductForm : { productId : ProductId | null; productQuantityUnit : ProductQuantityUnit } = {\n        productId: currentUnmappedProductId,\n        productQuantityUnit: VolumeUnit.MILLILITER,\n    };\n\n    if (currentUnmappedProductId) {\n        const currentUnmappedProduct = productsById.getRequired(currentUnmappedProductId);\n\n        currentUnmappedProductForm = {\n            productId: currentUnmappedProductId,\n            productQuantityUnit: currentUnmappedProduct.getPackagingsAndMappings().getConversions().getBaseUnit(),\n        };\n    }\n\n    let selectedProductForm : IProductMappingComponentForm = {\n        productId: null,\n        quantity: {\n            value: '',\n            isValid: true,\n            errorMessage: '',\n        },\n        productQuantityUnit: VolumeUnit.MILLILITER,\n    };\n\n    if (addedMapping) {\n        if (!addedMapping.getSourceProductId().equals(currentUnmappedProductId)) {\n            throw unexpectedSourceProductIdInMappingError;\n        }\n\n        currentUnmappedProductForm = {\n            productId: addedMapping.getSourceProductId(),\n            productQuantityUnit: addedMapping.getSourceQuantityOfProduct().getUnit(),\n        };\n    \n        selectedProductForm = {\n            productId: addedMapping.getTargetProductId(),\n            quantity: {\n                value: addedMapping.getTargetQuantityOfProduct().getQuantity().toString(),\n                isValid: true,\n                errorMessage: '',\n            },\n            productQuantityUnit: addedMapping.getTargetQuantityOfProduct().getUnit(),\n        };\n    }\n\n    if (typeof currentUnmappedProductId === 'undefined') {\n        throw itemNumberLongerThanUnmapedProductIdsArrayError;\n    }\n\n    const searchTerm = '';\n\n    // TODO alb: have the component re-filter. do not do the filtering and search bar update here.\n    return {\n        ...state,\n        searchBar: {\n            ...state.searchBar,\n            searchTerm,\n        },\n        displayedSearchResults: transferReportProductDataUtils.filterProducts(searchTerm, state.searchResults, productsById, selectedProductForm.productId), // TODO alb: don't want to have to pass products by id, why are we re-filtering\n        itemNumber,\n        currentUnmappedProductForm,\n        selectedProductForm,\n    };\n};\n\nconst reduceClearWasProductAddedToLocationByStep = (\n    state : IUnmappedProductState,\n    action : IEmptyAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        wasProductAddedToLocationByStep: [],\n    };\n};\n\nconst reduceSetAddedMappings = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetAddedMappingsAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        addedMappings: action.payload.addedMappings,\n    };\n};\n\nconst reduceAddProductMapping = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.IAddProductMappingAction\n) : IUnmappedProductState => {\n    if (state.currentUnmappedProductForm.productId === null) {\n        throw addProductMappingWithoutSelectedProductError;\n    }\n\n    const newAddedMappings = [ ...state.addedMappings ];\n    newAddedMappings[state.itemNumber - 1] = action.payload.productMapping;\n\n    return {\n        ...state,\n        addedMappings: newAddedMappings,\n    };\n};\n\nconst reduceSetSearchResults = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetSearchResults\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        searchResults: action.payload.products,\n    };\n};\n\nconst reduceUpdateSearchTerm = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.IUpdateSearchTermAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        searchBar: {\n            ...state.searchBar,\n            searchTerm: action.payload.searchTerm,\n        },\n    };\n};\n\nconst reduceUpdateDisplayedSearchResults = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.IUpdateDisplayedSearchResultsAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        displayedSearchResults: action.payload.products,\n    };\n};\n\nconst reduceAddProductToLocationSuccess = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.IAddProductToLocationSuccessAction\n) : IUnmappedProductState => {\n    const searchResults = [...state.searchResults];\n    searchResults.push(action.payload.productId);\n\n    const wasProductAddedToLocationByStep = state.wasProductAddedToLocationByStep.slice(0);\n    wasProductAddedToLocationByStep[state.itemNumber - 1] = true;\n\n    return {\n        ...state,\n        isLoading: false,\n        searchResults,\n        selectedProductForm: {\n            productId: action.payload.productId,\n            quantity: {\n                value : '1',\n                isValid : true,\n                errorMessage : ''\n            },\n            productQuantityUnit: action.payload.product.getPackagingsAndMappings().getConversions().getBaseUnit()\n        },\n        wasProductAddedToLocationByStep,\n    };\n};\n\nconst reduceRequest = (\n    state : IUnmappedProductState,\n    action : IAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        isLoading: true,\n    };\n};\n\nconst reduceFailure = (\n    state : IUnmappedProductState,\n    action : IFailureAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        isLoading: false,\n    };\n};\n\nconst reduceFetchLocationProductsRequest = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.IFetchLocationProductsRequestAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        isLoading: true\n    };\n};\n\nconst reduceFetchLocationProductsSuccess = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.IFetchLocationProductsSuccessAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        isLoading: false,\n        searchResults: Array.from(action.payload.productsById.keys()),\n    };\n};\n\nconst reduceFetchLocationProductsFailure = (\n    state : IUnmappedProductState,\n    action : IFailureAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        isLoading: false\n    };\n};\n\nconst reduceShowDeletedMappedProductsDialog = (\n    state : IUnmappedProductState,\n    action : ISetShownAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        deletedMappedProductsDialogShown: action.payload.isShown,\n    };\n};\n\nconst reduceSetInvalidatedMappings = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetInvalidatedMappingsAction\n) : IUnmappedProductState => {\n    return {\n        ...state,\n        invalidatedMappings: action.payload.invalidatedMappings,\n    };\n};\n\nconst reduceSetDeletedTargetProductsById = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetDeletedTargetProductsByIdAction\n) : IUnmappedProductState => {\n    // Initialize all mapping actions to 'restore' by default\n    const invalidatedMappingActions = new StringValueMap<ProductId, 'restore' | 'remap'>();\n    state.invalidatedMappings.forEach((mapping) => {\n        invalidatedMappingActions.set(mapping.sourceProductId, 'restore');\n    });\n\n    return {\n        ...state,\n        deletedTargetProductsById: action.payload.productsById,\n        invalidatedMappingActions,\n    };\n};\n\nconst reduceSetInvalidatedMappingAction = (\n    state : IUnmappedProductState,\n    action : ActionInterfaces.ISetInvalidatedMappingActionAction\n) : IUnmappedProductState => {\n    const newActions = new StringValueMap(state.invalidatedMappingActions);\n    newActions.set(action.payload.sourceProductId, action.payload.action);\n    return {\n        ...state,\n        invalidatedMappingActions: newActions,\n    };\n};\n\nexport const UnmappedProductModalReducers = (\n    state : IUnmappedProductState = initialState,\n    action : Action\n) : IUnmappedProductState => {\n    switch (action.type) {\n        case ActionTypes.SET_EXISTING_MAPPINGS:\n            return reduceSetExistingMappings(state, action as ActionInterfaces.ISetExistingMappingsAction);\n        case ActionTypes.SET_SELECTED_PRODUCT_FORM:\n            return reduceSetSelectedProductForm(state, action as ActionInterfaces.ISetSelectedProductFormAction);\n        case ActionTypes.SET_UNMAPPED_PRODUCT_IDS:\n            return reduceSetUnmappedProductIds(state, action as ActionInterfaces.ISetProductIdsAction);\n        case ActionTypes.SET_MODAL_STEP_STATE:\n            return reduceSetModalStepState(state, action as ActionInterfaces.ISetModalStepStateAction);\n        case ActionTypes.CLEAR_WAS_PRODUCT_ADDED_TO_LOCATION_BY_STEP:\n            return reduceClearWasProductAddedToLocationByStep(state, action as IEmptyAction);\n        case ActionTypes.ADD_PRODUCT_MAPPING:\n            return reduceAddProductMapping(state, action as ActionInterfaces.IAddProductMappingAction);\n        case ActionTypes.SET_ADDED_MAPPINGS:\n            return reduceSetAddedMappings(state, action as ActionInterfaces.ISetAddedMappingsAction);\n        case ActionTypes.SET_SEARCH_RESULTS:\n            return reduceSetSearchResults(state, action as ActionInterfaces.ISetSearchResults);\n        case ActionTypes.UPDATE_SEARCH_TERM:\n            return reduceUpdateSearchTerm(state, action as ActionInterfaces.IUpdateSearchTermAction);\n        case ActionTypes.UPDATE_DISPLAYED_SEARCH_RESULTS:\n            return reduceUpdateDisplayedSearchResults(state, action as ActionInterfaces.IUpdateDisplayedSearchResultsAction);\n        case ActionTypes.ADD_PRODUCT_TO_LOCATION_REQUEST:\n            return reduceRequest(\n                state,\n                action as IAction\n            );\n        case ActionTypes.ADD_PRODUCT_TO_LOCATION_SUCCESS:\n            return reduceAddProductToLocationSuccess(state, action as ActionInterfaces.IAddProductToLocationSuccessAction);\n        case ActionTypes.ADD_PRODUCT_TO_LOCATION_FAILURE:\n            reduceFailure(\n                state,\n                action as IFailureAction\n            );\n        case ActionTypes.FETCH_LOCATION_PRODUCTS_REQUEST:\n            return reduceFetchLocationProductsRequest(state, action as ActionInterfaces.IFetchLocationProductsRequestAction);\n        case ActionTypes.FETCH_LOCATION_PRODUCTS_SUCCESS:\n            return reduceFetchLocationProductsSuccess(state, action as ActionInterfaces.IFetchLocationProductsSuccessAction);\n        case ActionTypes.FETCH_LOCATION_PRODUCTS_FAILURE:\n            return reduceFetchLocationProductsFailure(\n                state,\n                action as IFailureAction\n            );\n        case ActionTypes.SHOW_DELETED_MAPPED_PRODUCTS_DIALOG:\n            return reduceShowDeletedMappedProductsDialog(state, action as ISetShownAction);\n        case ActionTypes.SET_INVALIDATED_MAPPINGS:\n            return reduceSetInvalidatedMappings(state, action as ActionInterfaces.ISetInvalidatedMappingsAction);\n        case ActionTypes.SET_DELETED_TARGET_PRODUCTS_BY_ID:\n            return reduceSetDeletedTargetProductsById(state, action as ActionInterfaces.ISetDeletedTargetProductsByIdAction);\n        case ActionTypes.SET_INVALIDATED_MAPPING_ACTION:\n            return reduceSetInvalidatedMappingAction(state, action as ActionInterfaces.ISetInvalidatedMappingActionAction);\n        default:\n            return state;\n    }\n};\n","import { InventoryReportType } from '../models/InventoryReportType';\n\nexport const getInventoryTransferOrBreakageReportIdFromURL = (reportType : InventoryReportType) : string => {\n    const path : Array<string> = window.location.pathname.split('/');\n    const reportId : string = path[path.indexOf(InventoryReportType[reportType]) + 1];\n    if (!reportId) {\n        throw new Error('Report Id not found in URL');\n    }\n    return reportId;\n};\n","import { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ITransferReportProductDataById } from '../models/ITransferReportProductDataById';\n\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { InterLocationProductMapping } from 'api/Transfer/model/InterLocationProductMapping';\n\n// TODO Cheezy check if any of these utils are still relevant\n\n// uses new models, should use for transfer function when transfers are in new packaging\nexport const getTotalCostFromBreakageReportProductDataById =\n    (transferReportProductDataById : ITransferReportProductDataById, productAmountsInReport : Array<ProductAmount>) : number | null => {\n\n    let totalReportValue : number = 0;\n\n    try {\n        productAmountsInReport.forEach((item, index) => {\n            const productAmount : ProductAmount = productAmountsInReport[index];\n            if (productAmount.getProductId() !== null) {\n                const productId = productAmount.getProductId();\n                const productData = transferReportProductDataById.get(productId);\n                if (typeof productData === 'undefined') {\n                    throw new RuntimeException('productData unexpectedly not in productDataById');\n                }\n\n                const productPrice = productData.getPrice();\n\n                try {\n                    const bottleCount = PackagingUtils.convertProductQuantityToUnit(\n                        productData.getProduct().getPackagingsAndMappings(),\n                        productAmount.getQuantityInUnit(),\n                        PackagingUtils.getContainerPackagingId(productData.getProduct().getPackagingsAndMappings().getPackaging()),\n                        productId\n                    ).getQuantity();\n\n                    totalReportValue += (productPrice * bottleCount);\n                } catch (error) {\n                    throw new RuntimeException('productAmountsInReport contains product with bad packaging');\n                }\n            }\n        });\n    } catch (error) {\n        return null;\n    }\n\n    return totalReportValue;\n};\n\nexport const getTotalCostFromTransferReportProductDataById =\n    (transferReportProductDataById : ITransferReportProductDataById, productAmountsInReport : Array<ProductAmount>) : number | null => {\n\n    let totalReportValue : number = 0;\n\n    try {\n        productAmountsInReport.forEach((item, index) => {\n            const productAmount : ProductAmount = productAmountsInReport[index];\n            const productId = productAmount.getProductId();\n            const productData = transferReportProductDataById.get(productId);\n            if (typeof productData === 'undefined') {\n                throw new RuntimeException('productData unexpectedly not in productDataById');\n            }\n\n            const product = productData.getProduct();\n            const productPrice = productData.getPrice(); // TODO Cheezy what is this price?\n\n            try {\n                const bottleCount = PackagingUtils.convertProductQuantityToUnit(\n                    product.getPackagingsAndMappings(),\n                    productAmount.getQuantityInUnit(),\n                    PackagingUtils.getContainerPackagingId(productData.getProduct().getPackagingsAndMappings().getPackaging()),\n                    productId\n                ).getQuantity();\n                totalReportValue += (productPrice * bottleCount);\n            } catch (error) {\n                throw new RuntimeException('productAmountsInReport contains product with bad packaging');\n            }\n        });\n    } catch (error) {\n        return null;\n    }\n\n    return totalReportValue;\n};\n\n// could move this to PackagingUtils, but specific to transfer for now\nconst isPackagingEquivalentForTransfer = (packagingA : Packaging, packagingB : Packaging) => {\n    let currentLevelA : Packaging | null = packagingA;\n    let currentLevelB : Packaging | null = packagingB;\n\n    while (currentLevelA !== null && currentLevelB !== null) {\n        // for each level: ensure unit + quantity of content is the same\n\n        // PTODO: when allowing naming packages + editing of transfer products, do not need to check name (TODO: should we just remove this check now?)\n        const unitValueA = currentLevelA.getName() || currentLevelA.getUnit();\n        const unitValueB = currentLevelB.getName() || currentLevelB.getUnit();\n\n        const quantityA = currentLevelA.getQuantityOfContent();\n        const quantityB = currentLevelB.getQuantityOfContent();\n\n        if (quantityA !== quantityB) {\n            return false;\n        }\n\n        if (unitValueA !== unitValueB) {\n            return false;\n        }\n\n        currentLevelA = currentLevelA.getContent();\n        currentLevelB = currentLevelB.getContent();\n    }\n\n    if (currentLevelA !== null || currentLevelB !== null) {\n        return false; // both should be at base layer, otherwise not equal.\n    }\n\n    return true;\n};\n\n// sort and filter adapted from sort/filter on the old inventory transfer product model.\n// TODO: refactor to use normal sorting utils\nconst sortProducts = (productIds : Array<ProductId>, productsById : StringValueMap<ProductId, Product>) : void => {\n    productIds.sort((a, b) => {\n        const productA = productsById.get(a);\n        const productB = productsById.get(b);\n        if (typeof productA === 'undefined' || typeof productB === 'undefined') {\n            throw new RuntimeException('unexpected product not found: ' + a + ' ' + b);\n        }\n\n        const nameA = (productA.getBrand() + productA.getName()).toUpperCase();\n        const nameB = (productB.getBrand() + productB.getName()).toUpperCase();\n        if (nameA < nameB) {\n            return -1;\n        }\n        if (nameA > nameB) {\n            return 1;\n        }\n\n        // names must be equal\n        return 0;\n    });\n};\n\n// TODO replace with sortingFilteringGroupingUtil (bigger refactor though)\nconst filterProducts = (\n    searchTerm : string | null,\n    productIds : Array<ProductId>,\n    productsById : StringValueMap<ProductId, Product>,\n    selectedProduct : ProductId | null\n) : Array<ProductId> => {\n    const normalSearchTerm = searchTerm === null ? '' : searchTerm.toUpperCase();\n    const searchLimit = 20;\n    let results : Array<ProductId> = [];\n    let selectedProductAdded = false;\n\n    if (searchTerm === null || searchTerm === \"\") {\n        results = productIds; // no search = all products\n    } else if (searchTerm.length < 3) {\n        results = productIds.slice(0, searchLimit);\n    } else {\n        productIds.some((productId) => {\n            const product = productsById.get(productId);\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('unexpected product not found');\n            }\n\n            const brand = product.getBrand().toUpperCase();\n            const name = product.getName().toUpperCase();\n            if (brand.indexOf(normalSearchTerm) !== -1 ||\n                    name.indexOf(normalSearchTerm) !== -1 ||\n                    (brand + ' ' + name).indexOf(normalSearchTerm) !== -1) {\n\n                results.push(productId);\n            }\n            return results.length === searchLimit;\n        });\n    }\n\n    // if search is active and the selected product isn't in the batch, add it\n    if (searchTerm && selectedProduct !== null) {\n        selectedProductAdded = results.some((productId) => {\n            return selectedProduct.equals(productId);\n            // TODO alb: I think that this is only called when we allow at most one line per product... but should verify :(\n        });\n        if (!selectedProductAdded) {\n            if (results.length >= searchLimit) {\n                results.pop();\n            }\n            results.unshift(selectedProduct);\n        }\n    }\n\n    sortProducts(results, productsById);\n\n    return results;\n};\n\nexport interface ITransferLinePair {\n    productAmount : ProductAmount;\n    originatorProductAmount : ProductAmount;\n}\n\n// The partner's lines are grouped by partner product, so their order can differ from the originator's.\n// Pair by mapped product rather than by position, relying only on each product's lines keeping their relative order.\nconst pairLinesWithOriginatorLinesInOriginatorOrder = (\n    productAmounts : Array<ProductAmount>,\n    originatorProductAmounts : Array<ProductAmount>,\n    originatorProductMappings : StringValueMap<ProductId, InterLocationProductMapping> | null,\n) : Array<ITransferLinePair> => {\n    if (productAmounts.length !== originatorProductAmounts.length) {\n        throw new RuntimeException('transfer line counts differ between perspectives');\n    }\n\n    // Null mappings mean the originator report is our own, so lines already pair by position.\n    if (originatorProductMappings === null) {\n        return productAmounts.map((productAmount, lineIndex) => ({ productAmount, originatorProductAmount: originatorProductAmounts[lineIndex] }));\n    }\n\n    const partnerLinesByPartnerProductId = new StringValueMap<ProductId, Array<ProductAmount>>();\n    productAmounts.forEach((partnerProductAmount) => {\n        const partnerProductLines = partnerLinesByPartnerProductId.get(partnerProductAmount.getProductId());\n        if (partnerProductLines) {\n            partnerProductLines.push(partnerProductAmount);\n        } else {\n            partnerLinesByPartnerProductId.set(partnerProductAmount.getProductId(), [partnerProductAmount]);\n        }\n    });\n\n    return originatorProductAmounts.map((originatorProductAmount) => {\n        const partnerProductId = originatorProductMappings.getRequired(originatorProductAmount.getProductId()).getTargetProductId();\n        const partnerProductAmount = partnerLinesByPartnerProductId.get(partnerProductId)?.shift();\n        if (!partnerProductAmount) {\n            throw new RuntimeException(`no transfer line for mapped product: ${partnerProductId.getValue()}`);\n        }\n        return { productAmount: partnerProductAmount, originatorProductAmount };\n    });\n};\n\n// TODO: maybe rename this file\nexport const transferReportProductDataUtils = {\n    getTotalCostFromTransferReportProductDataById,\n    isPackagingEquivalentForTransfer,\n    filterProducts,\n    sortProducts,\n    pairLinesWithOriginatorLinesInOriginatorOrder,\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\nimport React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\n\nimport '../css/ItemCardHeader.scss';\n\nexport interface IItemCardHeaderProps {\n    product : Product;\n    namesByUserAccountId : StringValueMap<UserAccountId, IUserName>;\n}\n\nexport class ItemCardHeader extends React.Component<IItemCardHeaderProps, object> {\n    public render() {\n        const {\n            product,\n            namesByUserAccountId\n        } = this.props;\n\n        return (\n            <div className=\"item-card-header dark\">\n                <div className=\"header-top-row\">\n                    <div className=\"header-name\">\n                        <div className=\"header-brand\">{ product.getBrand() }</div>\n                        <div className=\"header-item-name\">{ product.getName() }</div>\n                    </div>\n                </div>\n                <div className=\"header-bottom-row\">\n                    <div className=\"header-item-type\">\n                        <span>{ product.getProductCategoryId() }</span>\n                        { product.getProductType() && <span className=\"chevron\">»</span> }\n                        <span>{ product.getProductType() }</span>\n                    </div>\n                </div>\n                <div className=\"header-bottom-row\">\n                    <div className=\"contents\">\n                        <span>{ `Last Edited ${ UserAccountUtils.getUserAccountIdAndTimestampString(product.getLastUpdateEvent(), new UserAccountId(window.GLOBAL_USER_ID), namesByUserAccountId) }` }</span>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n}\n","import { DeliveryUtils } from 'api/Ordering/utils/DeliveryUtils';\nimport { Product } from \"api/Product/model/Product\";\n\ninterface IItemCardHistoryCreationProps {\n    product : Product;\n}\n\nexport function ItemCardHistoryCreation({product} : IItemCardHistoryCreationProps) {\n    const contextId = product.getCreationEvent().getContextId();\n    const orderLink = contextId && DeliveryUtils.getOrderDetailLink(contextId);\n    const isAutoCreated = product.getCreationEvent().getContext() === 'order';\n\n    return (\n        <div className=\"activity-item item-history-creation\">\n            <div className=\"top-row\">\n                <span className={`bevicon ${ isAutoCreated ? 'bevico-lightning' : 'bevico-add-circle'}`} />\n                <div className=\"title\">\n                    Created\n                    { isAutoCreated &&\n                        <span className=\"activity-item-detail\">\n                            <a\n                                className=\"link\"\n                                href={ orderLink }\n                                target=\"_blank\"\n                                rel=\"noopener noreferrer\"\n                            >from order</a>\n                        </span>\n                    }\n                </div>\n            </div>\n        </div>\n    );\n}","\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IItemCardHistoryMergeFromProps {\n    product : Product;\n    productId : ProductId;\n    mergedFromProductIds : StringValueSet<ProductId>;\n    productsById : StringValueMap<ProductId, Product>;\n}\n\nexport class ItemCardHistoryMergeFrom extends React.Component<IItemCardHistoryMergeFromProps, object> {\n\n    public render() {\n        const {\n            mergedFromProductIds,\n            productsById,\n        } = this.props;\n\n        if (mergedFromProductIds.size < 1) {\n            throw new RuntimeException(\"unexpected merge event found with no products merged from.\");\n        }\n\n        const mergedFromProductIdsValues = Array.from(mergedFromProductIds.values());\n\n        return (\n            <div className=\"activity-item item-history-merge-from\">\n                <div className=\"top-row\">\n                    <span className=\"bevicon bevico-swap-vert\" />\n                    <div className=\"title\">\n                        { mergedFromProductIdsValues.map((removedProductId, index) => {\n                            const removedProduct = productsById.getRequired(removedProductId);\n                            const removedProductClick = () => this.showProductItemCard(removedProductId);\n                            return (\n                                <React.Fragment key={ removedProductId.getValue() }>\n                                    { index > 0 && ', ' }\n                                    <a className=\"link\" onClick={ removedProductClick }>{ removedProduct.getName() }</a>\n                                </React.Fragment>\n                            );\n                        }) }\n                        &nbsp;{ mergedFromProductIdsValues.length === 1 ? 'was' : 'were' } merged into this product.\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    public showProductItemCard = (productId : ProductId) => {\n        $(document).trigger('loadEditItemModal', {\n            detail: {\n                productId: productId.getValue(),\n            }\n        });\n    }\n}\n","\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface ItemCardHistoryMergeToProps {\n    product : Product;\n    productId : ProductId;\n    mergedToProductId : StringValueSet<ProductId>;\n    productsById : StringValueMap<ProductId, Product>;\n}\n\nexport class ItemCardHistoryMergeTo extends React.Component<ItemCardHistoryMergeToProps, object> {\n\n    public render() {\n        const {\n            mergedToProductId,\n            productsById,\n        } = this.props;\n\n        if (mergedToProductId.size === 0) {\n            throw new RuntimeException(\"unexpected merge event found with no products merged to.\");\n        }\n\n        const mergedToProductIdValues = Array.from(mergedToProductId.values());\n        const productId = mergedToProductIdValues[0];\n        const product = productsById.getRequired(productId);\n\n        return (\n            <div className=\"activity-item item-history-merge-from\">\n                <div className=\"top-row\">\n                    <span className=\"bevicon bevico-swap-vert\" />\n                    <div className=\"title\">\n                        This product was merged into&nbsp;<a className=\"link\" onClick={this.showProductItemCard}>{product.getName()}</a>.\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    public showProductItemCard = () => {\n        const mergedToProductIdsValues = Array.from(this.props.mergedToProductId.values());\n        $(document).trigger('loadEditItemModal', {\n            detail: {\n                productId: mergedToProductIdsValues[0].getValue(),\n            }\n        });\n    }\n}\n","import { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { BreakageReport } from 'api/Breakage/model/BreakageReport';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { DeliveryLineItem } from 'api/Ordering/model/DeliveryLineItem';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { TransferReport } from 'api/Transfer/model/TransferReport';\n\nimport moment from 'moment-timezone';\n\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { IProductHistoryData } from 'apps/ItemCard/reducers/ItemCardReducers';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport class ProductActivityOnDay {\n    constructor(\n        public deliveryIds = new StringValueSet<DeliveryId>(),\n        public inventoryCountIds = new StringValueSet<InventoryCountId>(),\n        public transferIds = new StringValueSet<TransferId>(),\n        public breakageIds = new StringValueSet<BreakageId>(),\n        public prepEventIds = new StringValueSet<PrepEventId>(),\n        public mergeTo = new StringValueSet<ProductId>(),\n        public mergeFrom = new StringValueSet<ProductId>(),\n        public creation = false,\n    ) {}\n}\n\nexport type ProductActivityByDayByMonth = Map<string, Map<number, ProductActivityOnDay>>;\n\nlet lastSeenProductHistoryData : IProductHistoryData;\nconst activityDataByProductId = new StringValueMap<ProductId, ProductActivityByDayByMonth>();\n\nexport function getActivityDataForProduct(productHistoryData : IProductHistoryData, productId : ProductId, product : Product) : ProductActivityByDayByMonth {\n\n    if (typeof lastSeenProductHistoryData !== 'undefined' && lastSeenProductHistoryData === productHistoryData) {\n        const cachedActivityData = activityDataByProductId.get(productId);\n        if (typeof cachedActivityData !== 'undefined') {\n            return cachedActivityData;\n        }\n    } else {\n        activityDataByProductId.clear();\n    }\n\n    lastSeenProductHistoryData = productHistoryData;\n\n    const activityByDayByMonth = new Map<string, Map<number, ProductActivityOnDay>>();\n\n    // Buckets cover whole calendar months, but records are only fetched back to a mid-month date, so the oldest\n    // bucket always holds a partial month. If desired we could switch to always pulling the full month\n    const thisMonthStartDate = new Date();\n    thisMonthStartDate.setDate(1);\n    activityByDayByMonth.set(getDateString(thisMonthStartDate), new Map<number, ProductActivityOnDay>());\n    for (let monthIndex = 1; monthIndex <= productHistoryData.numMonthsOfData; monthIndex++) {\n        const monthStartDate = new Date();\n        monthStartDate.setDate(1);\n        monthStartDate.setMonth(thisMonthStartDate.getMonth() - monthIndex);\n        activityByDayByMonth.set(getDateString(monthStartDate), new Map<number, ProductActivityOnDay>());\n    }\n\n    productHistoryData.inventoryCountsByInventoryId.forEach((inventoryCount, inventoryCountId) => {\n        let productExistsInInventoryCount = false;\n        const productIdListsByStorageAreaId = inventoryCount.getInventoryConfiguration().getSortedProductIdListsByStorageAreaId();\n        for (const productIdList of Array.from(productIdListsByStorageAreaId.values())) {\n            if (productIdList.find((productIdInStorageArea) => productIdInStorageArea.equals(productId))) {\n                productExistsInInventoryCount = true;\n                break;\n            }\n        }\n        if (productExistsInInventoryCount) {\n            const inventoryMetadata = productHistoryData.inventoryMetadataByInventoryId.get(inventoryCountId);\n            if (typeof inventoryMetadata === 'undefined') {\n                throw new RuntimeException('Inventory not found: ' + inventoryCountId.getValue());\n            }\n            recordActivityOnDay(activityByDayByMonth, inventoryMetadata.getInventoryCountTime(), (activityOnDay) => activityOnDay.inventoryCountIds.add(inventoryCountId));\n        }\n    });\n\n    productHistoryData.deliveriesByDeliveryId.forEach((delivery : Delivery, deliveryId : DeliveryId) => {\n        let deliveryHasProduct = false;\n        for (const deliveryLineItem of delivery.getDeliveryLineItems()) {\n            if (deliveryLineItem.getProductId().equals(productId)) {\n                deliveryHasProduct = true;\n                break;\n            }\n        }\n\n        if (deliveryHasProduct) {\n            recordActivityOnDay(activityByDayByMonth, delivery.getDateDeliveredUTC().toDate(), (activityOnDay) => activityOnDay.deliveryIds.add(deliveryId));\n        }\n    });\n\n    productHistoryData.transferReportsByTransferId.forEach((transfer : TransferReport, transferId : TransferId) => {\n        let transferHasProduct = false;\n        for (const productAmount of transfer.getTransferReportData().getProductAmounts()) {\n            if (productAmount.getProductId().equals(productId)) {\n                transferHasProduct = true;\n            }\n        }\n\n        if (transferHasProduct) {\n            recordActivityOnDay(activityByDayByMonth, transfer.getTransferReportData().getTime(), (activityOnDay) => activityOnDay.transferIds.add(transferId));\n        }\n    });\n\n    productHistoryData.breakageReportsByBreakageId.forEach((breakage : BreakageReport, breakageId : BreakageId) => {\n        let breakageHasProduct = false;\n        for (const productAmount of breakage.getBreakageReportData().getProductAmounts()) {\n            if (productAmount.getProductId().equals(productId)) {\n                breakageHasProduct = true;\n            }\n        }\n\n        if (breakageHasProduct) {\n            recordActivityOnDay(activityByDayByMonth, breakage.getBreakageReportData().getTime(), (activityOnDay) => activityOnDay.breakageIds.add(breakageId));\n        }\n    });\n\n    productHistoryData.prepEventsByPrepEventId.forEach((prepEvent : PrepEvent, prepEventId : PrepEventId) => {\n        const prepEventHasProduct = prepEvent.getOutputQuantityOfProductByProductId().has(productId) || prepEvent.getInputQuantityOfProductByProductId().has(productId);\n        if (prepEventHasProduct) {\n            recordActivityOnDay(activityByDayByMonth, prepEvent.getPrepEventTime().toDate(), (activityOnDay) => activityOnDay.prepEventIds.add(prepEventId));\n        }\n    });\n    const mergeEvents = productHistoryData.productMergeEventsByProductId.get(productId);\n    if (mergeEvents) {\n        mergeEvents.forEach((mergeEvent) => {\n            recordActivityOnDay(activityByDayByMonth, mergeEvent.getUserAccountIdAndTimestamp().getTimestamp(), (activityOnDay) => {\n                if (mergeEvent.getMergedToProductId().equals(productId)) {\n                    const mergedFromProductIds = mergeEvent.getMergedFromProductIds();\n                    if (!mergedFromProductIds) {\n                        throw new RuntimeException('merge product IDs not found: ' + mergeEvent.getMergedToProductId());\n                    }\n\n                    mergedFromProductIds.forEach((mergedFromProductId) => {\n                        activityOnDay.mergeFrom.add(mergedFromProductId);\n                    });\n                } else {\n                    activityOnDay.mergeTo.add(mergeEvent.getMergedToProductId());\n                }\n            });\n        });\n    }\n\n    // Add product creation to history data\n    let {\n        activityInMonth,\n        date: creationDate,\n        month: creationDateMonth\n    } = getActivityInMonthByDate(\n        activityByDayByMonth,\n        product.getCreationEvent().getTimestamp()\n    );\n\n    if (!activityInMonth) {\n        // Creation month is outside of history data range and needs to be added\n        activityInMonth = new Map<number, ProductActivityOnDay>();\n        activityByDayByMonth.set(getDateString(creationDateMonth), activityInMonth);\n    }\n\n    let activityInDay = activityInMonth.get(creationDate.getDate());\n    if (typeof activityInDay === 'undefined') {\n        activityInDay = new ProductActivityOnDay();\n    }\n    activityInDay.creation = true;\n    activityInMonth.set(creationDate.getDate(), activityInDay);\n\n    activityDataByProductId.set(productId, activityByDayByMonth);\n\n    return activityByDayByMonth;\n}\n\nfunction getDateString(date : Date) : string {\n    return (date.getMonth() + 1) + '/' + date.getDate() + '/' +  date.getFullYear();\n}\n\ninterface ActivityInMonthData {\n    activityInMonth : Map<number, ProductActivityOnDay> | undefined;\n    date : Date;\n    month : Date;\n}\n\n// Files one record into the day bucket for its date, creating that day's bucket on first use. The records held can\n// cover more months than the view is showing, in which case there is no month bucket and the record is left out.\nfunction recordActivityOnDay(\n    activityByDayByMonth : ProductActivityByDayByMonth,\n    recordTime : Date | CoreTimeModel.TimestampWithMillisecondPrecision,\n    addToActivityOnDay : (activityOnDay : ProductActivityOnDay) => void,\n) : void {\n    const { activityInMonth, date } = getActivityInMonthByDate(activityByDayByMonth, recordTime);\n    if (typeof activityInMonth === 'undefined') {\n        return;\n    }\n\n    const activityOnDay = activityInMonth.get(date.getDate()) || new ProductActivityOnDay();\n    addToActivityOnDay(activityOnDay);\n    activityInMonth.set(date.getDate(), activityOnDay);\n}\n\nfunction getActivityInMonthByDate(\n    activityByDayByMonth : Map<string, Map<number, ProductActivityOnDay>>,\n    date : Date | CoreTimeModel.TimestampWithMillisecondPrecision\n) : ActivityInMonthData {\n    const convertedDate = date instanceof Date ? date : new Date(numberUtils.ThriftInt64ToNumber(date.timeSinceUnixEpoch.value));\n\n    const monthDate = new Date(convertedDate);\n    monthDate.setDate(1);\n\n    return {\n        activityInMonth : activityByDayByMonth.get(getDateString(monthDate)),\n        date : convertedDate,\n        month : monthDate\n    };\n}\n\nexport interface IDeliveryAndProductLineItem {\n    delivery : Delivery;\n    productLineItem : DeliveryLineItem;\n}\n\n// The records held can cover more months than the view is showing, so the price summary has to re-scope them to the\n// displayed window instead of using every delivery in state. Newest first.\nexport function getDeliveriesWithProductInDisplayedWindow(\n    deliveriesByDeliveryId : StringValueMap<DeliveryId, Delivery>,\n    productId : ProductId,\n    numMonthsOfData : number,\n) : Array<IDeliveryAndProductLineItem> {\n    const displayedWindowStart = moment().startOf('month').subtract(numMonthsOfData, 'months');\n\n    const deliveriesWithProduct = new Array<IDeliveryAndProductLineItem>();\n    deliveriesByDeliveryId.forEach((delivery : Delivery) => {\n        if (delivery.getDateDeliveredUTC().isBefore(displayedWindowStart)) {\n            return;\n        }\n        delivery.getDeliveryLineItems().forEach((productLineItem) => {\n            if (productLineItem.getProductId().equals(productId)) {\n                deliveriesWithProduct.push({\n                    delivery,\n                    productLineItem\n                });\n            }\n        });\n    });\n\n    deliveriesWithProduct.sort((deliveryAndProductLineItem1, deliveryAndProductLineItem2) => {\n        const date1 = deliveryAndProductLineItem1.delivery.getDateDeliveredUTC().toDate();\n        const date2 = deliveryAndProductLineItem2.delivery.getDateDeliveredUTC().toDate();\n        if (date1.getTime() < date2.getTime()) {\n            return 1;\n        } else if (date1.getTime() === date2.getTime()) {\n            return 0;\n        } else {\n            return -1;\n        }\n    });\n\n    return deliveriesWithProduct;\n}\n","\nimport React from 'react';\n\nimport { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { BreakageReport } from 'api/Breakage/model/BreakageReport';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nexport interface IItemCardHistoryBreakageProps {\n    product : Product;\n    productId : ProductId;\n    breakage : BreakageReport;\n    breakageId : BreakageId;\n}\n\nexport class ItemCardHistoryBreakage extends React.Component<IItemCardHistoryBreakageProps, object> {\n\n    public render() {\n        const {\n            breakage,\n            breakageId,\n            productId,\n            product,\n        } = this.props;\n\n        const productAmounts = breakage.getBreakageReportData().getProductAmounts().filter((productAmount : ProductAmount) => {\n            return productAmount.getProductId().equals(productId);\n        });\n\n        const breakageLink = `/inventory/breakage_report/${ breakageId.getValue() }/r/${ window.GLOBAL_RETAILER_ID }`;\n\n        return (\n            <div className=\"activity-item item-history-breakage\" key={ breakageId.getValue() }>\n                <div className=\"top-row\">\n                    <span className=\"bevicon bevico-breakage\" />\n                    <div className=\"title\"><a className=\"link\" href={ breakageLink } target=\"_blank\" rel=\"noopener noreferrer\">Loss</a></div>\n                </div>\n                <div className=\"line-item-row line-item-row-header\">\n                    <div className=\"qty\">Qty</div>\n                    <div className=\"spacer\"/>\n                </div>\n                { productAmounts.map((productAmount, index, array) => {\n                    const quantityString = PackagingUtils.getDisplayTextForProductQuantityInUnit(product.getPackagingsAndMappings(), productAmount.getQuantityInUnit());\n\n                    return (\n                        <div key={ index } className={ 'line-item-row' + (array.length > 1 ? ' multiple' : '') }>\n                            <div className=\"qty\">{ quantityString }</div>\n                            <div className=\"spacer\"/>\n                        </div>\n                    );\n                }) }\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { InventoryCount } from 'api/InventoryCount/model/InventoryCount';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { InventoryCountMetadata } from 'api/InventoryCount/model/InventoryCountMetadata';\nimport { ProductCount } from 'api/InventoryCount/model/ProductCount';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { productCountUtils } from 'api/Product/utils/productCountUtils';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport interface IItemCardHistoryInventory {\n    productId : ProductId;\n    product : Product;\n    inventoryCountId : InventoryCountId;\n    inventoryCount : InventoryCount;\n    inventoryCountMetadata : InventoryCountMetadata;\n}\n\ninterface IStorageAreaRowData {\n    storageAreaId : StorageAreaId;\n    productCount : ProductCount | null;\n}\n\nexport class ItemCardHistoryInventory extends React.Component<IItemCardHistoryInventory, object> {\n    public render() {\n        const {\n            productId,\n            product,\n            inventoryCountId,\n            inventoryCount,\n            inventoryCountMetadata,\n        } = this.props;\n\n        const storageAreaRowData = new Array<IStorageAreaRowData>();\n        const inventoryConfiguration = inventoryCount.getInventoryConfiguration();\n        const sortedStorageAreaIds = inventoryConfiguration.getSortedStorageAreaIds();\n        const productIdListsByStorageAreaId = inventoryConfiguration.getSortedProductIdListsByStorageAreaId();\n        const allProductCounts = new Array<ProductCount>();\n        sortedStorageAreaIds.forEach((storageAreaId : StorageAreaId) => {\n            const productIdListForStorageAreaId = productIdListsByStorageAreaId.getRequired(storageAreaId);\n            const productCountEventsByProductId = inventoryCount.getProductCountEventsByProductIdByStorageAreaId().getRequired(storageAreaId);\n\n            const productCountEvent = productCountEventsByProductId.get(productId);\n\n            if (typeof productCountEvent === 'undefined' || productCountUtils.isProductCountEventEmpty(productCountEvent)) {\n                const productIsInStorageArea = productIdListForStorageAreaId.find((productIdInStorageArea) : boolean => {\n                    return productIdInStorageArea.equals(productId);\n                });\n\n                if (productIsInStorageArea) {\n                    storageAreaRowData.push({\n                        storageAreaId,\n                        productCount: null,\n                    });\n                }\n            } else {\n                productCountEvent.getProductCounts().forEach((productCount) => {\n                    if (productCount.getCount() !== null) {\n                        const resolvedProductCount = productCountUtils.resolveProductCountUnit(productCount, product.getPackagingsAndMappings().getMappings());\n                        allProductCounts.push(resolvedProductCount);\n                        storageAreaRowData.push({\n                            storageAreaId,\n                            productCount: resolvedProductCount\n                        });\n                    }\n                });\n            }\n        });\n\n        const packagingsAndMappings = product.getPackagingsAndMappings();\n        let totalProductCount = productCountUtils.sumProductCounts(allProductCounts, packagingsAndMappings);\n        totalProductCount = productCountUtils.convertProductCountUnit(totalProductCount, product.getPreferredReportingUnit(), product.getPackagingsAndMappings());\n        const totalCountDecimal = totalProductCount.getCount();\n        const totalCount = totalCountDecimal ? decimalToNumber(totalCountDecimal) : 0;\n        let totalProductCountUnit = totalProductCount.getProductQuantityUnit();\n        // If there are no product counts at all, the above value will default to CASE.  Instead we want a default of CONTAINER so as to stay consistent with rows below.\n        if (allProductCounts.length === 0) {\n            totalProductCountUnit = PackagingUtils.getContainerPackagingId(packagingsAndMappings.getPackaging());\n        }\n        const totalPackagingString = PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(packagingsAndMappings, totalProductCountUnit, numberUtils.isPlural(totalCount));\n\n        const finalizedStatus = inventoryCountMetadata.getFinalizationMetadata() ? 'Finalized' : 'Draft';\n        const isPartial = inventoryCountMetadata.getInventoryCountType().getValue() === 'partial';\n\n        const inventoryLink = `/inventory/detail/view/${ inventoryCountId.getValue() }/r/${ window.GLOBAL_RETAILER_ID }`;\n\n        return (\n            <div className=\"activity-item item-history-inventory\" key={ inventoryCountId.getValue() }>\n                <div className=\"top-row\">\n                    <span className=\"bevicon bevico-assignment\" />\n                    <div className=\"title\">\n                        <a className=\"link\" href={ inventoryLink } target=\"_blank\" rel=\"noopener noreferrer\">Inventory</a>\n                    </div>\n                    { isPartial &&\n                        <div className=\"activity-status partial\">Partial</div>\n                    }\n                    <div className=\"activity-status\">{ finalizedStatus }</div>\n                </div>\n                <div className=\"storage-area-row total-row\">\n                    <div className=\"item-quantity\">\n                        { numberUtils.ToFixed(totalCount, 2) } { totalPackagingString }\n                    </div>\n                    <div className=\"storage-area-name\">\n                        Total Count\n                    </div>\n                </div>\n                { storageAreaRowData.map((rowData : IStorageAreaRowData) => {\n\n                    let productCount = 0;\n                    if (rowData.productCount) {\n                        const productCountDecimal = rowData.productCount.getCount();\n                        if (productCountDecimal) {\n                            productCount = decimalToNumber(productCountDecimal);\n                        }\n                    }\n\n                    let packagingUnit : ProductQuantityUnit = PackagingUtils.getContainerPackagingId(packagingsAndMappings.getPackaging());\n                    if (rowData.productCount) {\n                        packagingUnit = rowData.productCount.getProductQuantityUnit();\n                    }\n                    const packagingString = PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(packagingsAndMappings, packagingUnit, numberUtils.isPlural(productCount));\n\n                    const storageArea = inventoryConfiguration.getStorageAreasById().getRequired(rowData.storageAreaId);\n\n                    return (\n                        <div key={ rowData.storageAreaId.getValue() } className=\"storage-area-row\">\n                            <div className=\"item-quantity\">\n                                { numberUtils.ToFixed(productCount, 2) } { packagingString }\n                            </div>\n                            <div className=\"storage-area-name\">\n                                { storageArea.getName() }\n                            </div>\n                        </div>\n                    );\n                }) }\n            </div>\n        );\n    }\n}\n","\nimport React from 'react';\n\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { DeliveryLineItem } from 'api/Ordering/model/DeliveryLineItem';\nimport { DeliveryUtils } from 'api/Ordering/utils/DeliveryUtils';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nexport interface IItemCardHistoryOrder {\n    productId : ProductId;\n    product : Product;\n    deliveryId : DeliveryId;\n    delivery : Delivery;\n    distributorName : string | null;\n}\n\nexport class ItemCardHistoryOrder extends React.Component<IItemCardHistoryOrder, object> {\n    public render() {\n        const {\n            delivery,\n            deliveryId,\n            productId,\n            product,\n            distributorName,\n        } = this.props;\n\n        const orderStatus = 'Placed';\n        const orderLink = `/ordering/record/detail/r/${ window.GLOBAL_RETAILER_ID }/#/order/${ deliveryId.getValue() }`;\n\n        const productLineItems = new Array<DeliveryLineItem>();\n        for (const lineItem of delivery.getDeliveryLineItems()) {\n            if (lineItem.getProductId().equals(productId)) {\n                productLineItems.push(lineItem);\n            }\n        }\n\n        const distributorNameOrOther = distributorName ? distributorName : 'Other';\n        const invoiceNumber = delivery.getInvoiceNumber();\n\n        return (\n            <div className=\"activity-item item-history-order\" key={ deliveryId.getValue() }>\n                <div className=\"top-row\">\n                    <span className=\"bevicon bevico-shopping-cart\" />\n                    <div className=\"title ellipsis\">\n                        <a className=\"link\" href={ orderLink } target=\"_blank\" rel=\"noopener noreferrer\">\n                            Order\n                        </a>\n                        <span className=\"activity-item-detail\"> from { distributorNameOrOther }</span>\n                    </div>\n                    <div className=\"activity-status\">{ orderStatus }</div>\n                </div>\n                { invoiceNumber &&\n                    <div>\n                        <span className=\"invoice-number-label\">Invoice #:</span> { invoiceNumber }\n                    </div>\n                }\n                <div className=\"line-item-row line-item-row-header\">\n                    <div className=\"qty\">Qty</div>\n                    <div className=\"unit-price\">Unit Price</div>\n                    <div className=\"spacer\"/>\n                    <div className=\"total\">Total</div>\n                </div>\n                { productLineItems.map((lineItem, index, array) => {\n                    const quantityInUnit = new QuantityInUnit(lineItem.getQuantityInUnits(), lineItem.getProductQuantityUnit());\n                    const resolvedQuantityInUnit = PackagingUtils.resolveProductQuantityUnit(quantityInUnit, product.getPackagingsAndMappings().getMappings());\n                    const resolvedUnitPrice = (quantityInUnit.getQuantity() / resolvedQuantityInUnit.getQuantity()) * lineItem.getPricePerUnit();\n                    const resolvedUnitPriceInMonetaryValue = FormatMonetaryValueWithCents(resolvedUnitPrice);\n                    const quantityString = PackagingUtils.getDisplayTextForProductQuantityInUnit(product.getPackagingsAndMappings(), resolvedQuantityInUnit);\n\n                    const totalPrice = DeliveryUtils.getTotalCostOfDeliveryLineItem(lineItem);\n                    const totalPriceInMonetaryValue = FormatMonetaryValueWithCents(totalPrice);\n\n                    return (\n                        <div key={ index } className={ 'line-item-row' + (array.length > 1 ? ' multiple' : '') }>\n                            <div className=\"qty\">{ quantityString }</div>\n                            <div className=\"unit-price\">{ resolvedUnitPriceInMonetaryValue }</div>\n                            <div className=\"spacer\"/>\n                            <div className=\"total\">{ totalPriceInMonetaryValue }</div>\n                        </div>\n                    );\n                }) }\n            </div>\n        );\n    }\n}\n","\nimport React from 'react';\n\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { PrepEventUtils } from 'api/PrepEvent/utils/prepEventUtils';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nexport interface IItemCardHistoryPrepEventProps {\n    product : Product;\n    productId : ProductId;\n    prepEvent : PrepEvent;\n    prepEventId : PrepEventId;\n    prepEventLabel : string;\n}\n\nexport class ItemCardHistoryPrepEvent extends React.Component<IItemCardHistoryPrepEventProps, object> {\n\n    public render() {\n        const {\n            prepEvent,\n            prepEventId,\n            productId,\n            product,\n            prepEventLabel,\n        } = this.props;\n\n        const productAmountInInput = prepEvent.getInputQuantityOfProductByProductId().get(productId);\n        const productAmountInOutput = prepEvent.getOutputQuantityOfProductByProductId().get(productId);\n\n        const packagingsAndMappings = product.getPackagingsAndMappings();\n\n        let inputQuantityString : string = '';\n        let outputQuantityString : string = '';\n        let outputPriceString : string = '';\n\n        if (productAmountInInput) {\n            inputQuantityString = PackagingUtils.getDisplayTextForProductQuantityInUnit(packagingsAndMappings, productAmountInInput);\n        }\n\n        if (productAmountInOutput) {\n            const outputTotalCostOfProduct = PrepEventUtils.getTotalCostOfProductInOutput(prepEvent, productId, product);\n            outputPriceString = FormatMonetaryValueWithCents(outputTotalCostOfProduct);\n\n            outputQuantityString = PackagingUtils.getDisplayTextForProductQuantityInUnit(packagingsAndMappings, productAmountInOutput);\n        }\n\n        const prepEventLink = `/inventory/prep_record/${ prepEventId.getValue() }/r/${ window.GLOBAL_RETAILER_ID }`;\n\n        return (\n            <div className=\"activity-item item-history-prep-event\" key={ prepEventId.getValue() }>\n                <div className=\"top-row\">\n                    <span className=\"bevicon bevico-prep-item\" />\n                    <div className=\"title\">\n                        <a className=\"link\" href={ prepEventLink } target=\"_blank\" rel=\"noreferrer\">Prep</a>\n                        <span className=\"activity-item-detail\"> { prepEventLabel }</span>\n                    </div>\n                </div>\n                { productAmountInInput &&\n                    <div className=\"line-item-row line-item-row-header\">\n                        <div className=\"qty\">Qty</div>\n                        <div className=\"spacer\"/>\n                    </div>\n                }\n                { productAmountInInput &&\n                    <div className=\"line-item-row\">\n                        <div className=\"qty\">{ inputQuantityString }</div>\n                        <div className=\"spacer\"/>\n                    </div>\n                }\n                { productAmountInOutput &&\n                    <div className=\"line-item-row line-item-row-header\">\n                        <div className=\"qty\">Yield</div>\n                        <div className=\"spacer\"/>\n                        <div className=\"est-cost\">Est. Cost</div>\n                    </div>\n                }\n                { productAmountInOutput &&\n                    <div className=\"line-item-row\">\n                        <div className=\"qty\">{ outputQuantityString }</div>\n                        <div className=\"spacer\"/>\n                        <div className=\"est-cost\">{ outputPriceString }</div>\n                    </div>\n                }\n            </div>\n        );\n    }\n}\n","\nimport moment from 'moment-timezone';\nimport React from 'react';\n\nimport { DeliveryUtils } from 'api/Ordering/utils/DeliveryUtils';\nimport { BaseUnit } from 'api/Product/model/BaseUnit';\nimport { PackagingUnit } from 'api/Product/model/PackagingUnit';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { IProductHistoryData } from '../reducers/ItemCardReducers';\nimport { getDeliveriesWithProductInDisplayedWindow } from '../utils/ItemCardHistoryUtils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\nimport { StringUtils } from 'shared/utils/stringUtils';\n\nexport interface IItemCardHistoryPriceProps {\n    productId : ProductId;\n    product : Product | null;\n    productHistoryData : IProductHistoryData;\n}\n\nexport class ItemCardHistoryPrice extends React.Component<IItemCardHistoryPriceProps, object> {\n    public render() {\n        const {\n            productId,\n            product,\n            productHistoryData\n        } = this.props;\n\n        if (!product) {\n            return <div className=\"item-price-history\"/>;\n        }\n\n        const deliveriesWithProduct = getDeliveriesWithProductInDisplayedWindow(\n            productHistoryData.deliveriesByDeliveryId,\n            productId,\n            productHistoryData.numMonthsOfData,\n        );\n\n        let percentChangeSinceLastOrderStr = 'N/A';\n        let percentChangePositive : boolean | null = null;\n        let timeIntervalSinceLastOrderStr = '';\n        let mostRecentPriceStr = '';\n        let avgPriceStr = '';\n        if (deliveriesWithProduct.length > 0) {\n            let totalPaidInPricePerUnit = 0;\n            let totalUnits = 0;\n            let mostRecentPrice = 0;\n            let mostRecentPricePerLineItemUnit = 0;\n            let productQuantityUnitDisplayText;\n            let priceProductQuantityUnitText;\n            let mostRecentUnit : ProductQuantityUnit;\n            let secondMostRecentPrice = 0;\n            deliveriesWithProduct.forEach((deliveryAndProductLineItem, index) => {\n                const packagingsAndMappings = product.getPackagingsAndMappings();\n                const lineItem = deliveryAndProductLineItem.productLineItem;\n\n                let priceProductQuantityUnit : ProductQuantityUnit;\n                const productPricingUnit = product.getUnitPrice().getUnit();\n                if (PackagingUnit.isPackagingUnit(productPricingUnit) || BaseUnit.isBaseUnit(productPricingUnit)) {\n                    const packagingForContainedPackagingName = PackagingUtils.getPackagingByNameInPackaging(packagingsAndMappings.getPackaging(), productPricingUnit);\n\n                    if (packagingForContainedPackagingName === null) {\n                        throw new RuntimeException(`unexpected unable to get packaging for contained packaging name ${productPricingUnit} ${packagingsAndMappings.getPackaging()}`);\n                    }\n\n                    const packagingId = packagingForContainedPackagingName.getPackagingId();\n                    if (packagingId === null) {\n                        throw new RuntimeException('unexpected contained packaging has no packagingId');\n                    }\n\n                    priceProductQuantityUnit = packagingId;\n                } else {\n                    priceProductQuantityUnit = product.getPreferredReportingUnit();\n                }\n\n                const quantityOfPackageInUnit = PackagingUtils.convertProductQuantityToUnit(\n                    packagingsAndMappings,\n                    new QuantityInUnit(lineItem.getQuantityInUnits(), lineItem.getProductQuantityUnit()),\n                    priceProductQuantityUnit,\n                    productId\n                );\n\n                // get average price based on preferred reporting unit\n                const quantityOfAvgPackageInUnit = PackagingUtils.convertProductQuantityToUnit(\n                    packagingsAndMappings,\n                    new QuantityInUnit(lineItem.getQuantityInUnits(), lineItem.getProductQuantityUnit()),\n                    product.getPreferredReportingUnit(),\n                    productId\n                );\n\n                const lineItemTotal = DeliveryUtils.getTotalCostOfDeliveryLineItem(lineItem);\n                totalUnits += quantityOfAvgPackageInUnit.getQuantity();\n                totalPaidInPricePerUnit += lineItemTotal;\n\n                let quantityOfPackageInUnitQuantity = quantityOfPackageInUnit.getQuantity();\n                let lineItemQuantityInUnits = lineItem.getQuantityInUnits();\n                if (quantityOfPackageInUnitQuantity === 0) {\n                    quantityOfPackageInUnitQuantity = 1;\n                }\n                if (lineItemQuantityInUnits === 0) {\n                    lineItemQuantityInUnits = 1;\n                }\n                if (index === 0) {\n                    mostRecentPrice = lineItemTotal / quantityOfPackageInUnitQuantity;\n                    mostRecentUnit = lineItem.getProductQuantityUnit();\n                    mostRecentPricePerLineItemUnit = lineItemTotal / lineItemQuantityInUnits;\n                }\n                if (index === 1) {\n                    secondMostRecentPrice = lineItemTotal / quantityOfPackageInUnitQuantity;\n                }\n                productQuantityUnitDisplayText = PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), mostRecentUnit, false);\n                priceProductQuantityUnitText = PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), quantityOfAvgPackageInUnit.getUnit(), false);\n            });\n\n            mostRecentPriceStr = `${ FormatMonetaryValueWithCents(mostRecentPricePerLineItemUnit) } / ${ productQuantityUnitDisplayText }`;\n\n            avgPriceStr = `${ FormatMonetaryValueWithCents((totalPaidInPricePerUnit / (totalUnits === 0 ? 1 : totalUnits))) } / ${ priceProductQuantityUnitText }`            ;\n\n            const timeIntervalBetweenOrders = moment(deliveriesWithProduct[0].delivery.getDateDeliveredUTC()).toNow(true);\n            timeIntervalSinceLastOrderStr = '(' + timeIntervalBetweenOrders + ' ago)';\n\n            if (deliveriesWithProduct.length > 1) {\n                const percentChange = Math.round(((mostRecentPrice / secondMostRecentPrice) - 1.0) * 1000) / 10;\n                percentChangeSinceLastOrderStr = percentChange.toFixed(1) + '%';\n                if (percentChange !== 0.0) {\n                    percentChangePositive = percentChange > 0;\n                }\n            }\n        }\n\n        return (\n            <div className=\"item-price-history\">\n                <div className=\"item-price-history-label\">History</div>\n                <div className=\"item-price-history-lower-row\">\n                    <div className=\"most-recent\">\n                        <div className=\"label\">\n                            Most recent price <span className=\"detail-label\">{ timeIntervalSinceLastOrderStr }</span>\n                        </div>\n                        <div className=\"most-recent-price-hbox\">\n                            { mostRecentPriceStr.length > 0 &&\n                                <div className=\"price ellipsis-out\">\n                                    { mostRecentPriceStr }\n                                </div>\n                            }\n                            { mostRecentPriceStr.length === 0 &&\n                                <div className=\"price ellipsis-out\">\n                                    N/A\n                                </div>\n                            }\n                            { percentChangeSinceLastOrderStr !== 'N/A' &&\n                                <div className=\"percentage-change\">\n                                    { percentChangePositive !== null &&\n                                        <span className={ 'bevicon bevico-arrow-forward percentage-change-arrow ' + (percentChangePositive ? 'positive' : 'negative') }/>\n                                    }\n                                    <div className=\"percentage-change-vbox\">\n                                        { percentChangeSinceLastOrderStr }\n                                        <div className=\"since-last-order\">between last two orders</div>\n                                    </div>\n                                </div>\n                            }\n                        </div>\n                    </div>\n                    <div className=\"average-price text-right\">\n                        <div className=\"label\">\n                            Avg. price <span className=\"detail-label\">{ `(Last ${ StringUtils.pluralizeNumber('mo', productHistoryData.numMonthsOfData) }.)` }</span>\n                        </div>\n                            { avgPriceStr.length > 0 &&\n                                <div className=\"price ellipsis-out\">\n                                    { avgPriceStr }\n                                </div>\n                            }\n                            { avgPriceStr.length === 0 &&\n                                <div className=\"price ellipsis-out\">\n                                    N/A\n                                </div>\n                            }\n                    </div>\n                </div>\n                { deliveriesWithProduct.length === 0 &&\n                    <div className=\"no-orders\">\n                        <span className=\"bevicon bevico-new-releases\"/>\n                        <span>\n                            This item hasn't been ordered in the last { StringUtils.pluralizeNumber('month', productHistoryData.numMonthsOfData) }.  Once this item has been ordered, pricing data will show here.\n                        </span>\n                    </div>\n                }\n            </div>\n        );\n    }\n}\n","\nimport { TransferDirection } from 'api/Transfer/model/TransferDirection';\nimport React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { TransferReport } from 'api/Transfer/model/TransferReport';\n\nexport interface IItemCardHistoryTransfer {\n    product : Product;\n    productId : ProductId;\n    transfer : TransferReport;\n    transferId : TransferId;\n    locationNamesByLocationId : StringValueMap<LocationId, string>;\n}\n\nexport class ItemCardHistoryTransfer extends React.Component<IItemCardHistoryTransfer, object> {\n    public render() {\n        const {\n            transfer,\n            transferId,\n            productId,\n            product,\n            locationNamesByLocationId,\n        } = this.props;\n\n        const transferReportData = transfer.getTransferReportData();\n        const isOutbound = transferReportData.getDirection() === TransferDirection.FROM_PERSPECTIVE_TO_PARTNER_LOCATION;\n        const perspectiveIsOriginator = transfer.getReportMetaData().getPerspectiveIsOriginator();\n        const productAmounts = transferReportData.getProductAmounts().filter((productAmount : ProductAmount) => {\n            return productAmount.getProductId().equals(productId);\n        });\n        const partnerLocation = transferReportData.getPartnerLocation();\n        let partnerLocationName;\n        if (partnerLocation instanceof LocationId) {\n            partnerLocationName = locationNamesByLocationId.getRequired(partnerLocation);\n        } else {\n            partnerLocationName = partnerLocation === '' ? 'Other' : partnerLocation;\n        }\n\n        const transferLink = `/inventory/transfer_report/${ transferId.getValue() }/r/${ window.GLOBAL_RETAILER_ID }`;\n\n        const iconClassName = isOutbound ? 'bevico-transfer-out' : 'bevico-transfer-in';\n\n        return (\n            <div className=\"activity-item item-history-transfer\" key={ transferId.getValue() }>\n                <div className=\"top-row\">\n                    <span className={ 'bevicon ' + iconClassName } />\n                    <div className=\"title\">\n                        <a className=\"link\" href={ transferLink } target=\"_blank\" rel=\"noopener noreferrer\">Transfer { isOutbound ? 'Out' : 'In' }</a>\n                        <span className=\"to-from-label ellipsis\">{ isOutbound ? ' to ' : ' from ' }{ partnerLocationName }</span>\n                    </div>\n                </div>\n                <div className=\"line-item-row line-item-row-header\">\n                    <div className=\"qty\">Qty</div>\n                    <div className=\"spacer\"/>\n                </div>\n                { productAmounts.map((productAmount, index, array) => {\n                    // unit display mirrors InventoryTransferReport (keep the two in sync): the originator shows the\n                    // mapping-resolved stored unit, any non-originator perspective converts to its preferred reporting unit\n                    const displayQuantityInUnit = perspectiveIsOriginator ?\n                        productAmount.getQuantityInUnit() :\n                        PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), productAmount.getQuantityInUnit(), product.getPreferredReportingUnit(), productAmount.getProductId());\n                    const quantityString = PackagingUtils.getDisplayTextForProductQuantityInUnit(product.getPackagingsAndMappings(), displayQuantityInUnit);\n\n                    return (\n                        <div key={ index } className={ 'line-item-row' + (array.length > 1 ? ' multiple' : '') }>\n                            <div className=\"qty\">{ quantityString }</div>\n                            <div className=\"spacer\"/>\n                        </div>\n                    );\n                }) }\n\n            </div>\n        );\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { ItemCardHistoryCreation } from 'apps/ItemCard/components/ItemCardHistoryCreation';\nimport { ItemCardHistoryMergeFrom } from 'apps/ItemCard/components/ItemCardHistoryMergeFrom';\nimport { ItemCardHistoryMergeTo } from 'apps/ItemCard/components/ItemCardHistoryMergeTo';\nimport React from 'react';\n\nimport { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { PrepEventDisplayUtils } from 'apps/CreateOrEditPrepEvent/utils/PrepEventDisplayUtils';\n\nimport { IItemCardData, IProductHistoryData } from '../reducers/ItemCardReducers';\nimport { getActivityDataForProduct, ProductActivityByDayByMonth, ProductActivityOnDay } from '../utils/ItemCardHistoryUtils';\nimport { ItemCardHistoryBreakage } from './ItemCardHistoryBreakage';\nimport { ItemCardHistoryInventory } from './ItemCardHistoryInventory';\nimport { ItemCardHistoryOrder } from './ItemCardHistoryOrder';\nimport { ItemCardHistoryPrepEvent } from './ItemCardHistoryPrepEvent';\nimport { ItemCardHistoryPrice } from './ItemCardHistoryPrice';\nimport { ItemCardHistoryTransfer } from './ItemCardHistoryTransfer';\n\nimport { Button } from 'shared/components/Button';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW } from '../constants';\n\nimport '../css/ItemCardHistory.scss';\n\nexport interface IItemCardHistory {\n    productId : ProductId;\n    product : Product;\n    itemCardData : IItemCardData;\n    productHistoryData : IProductHistoryData;\n    productsById : StringValueMap<ProductId, Product>;\n    onShowMoreHistoryClick : () => void;\n}\n\nexport class ItemCardHistory extends React.Component<IItemCardHistory, object> {\n    public render() {\n        const {\n            productId,\n            product,\n            productHistoryData,\n        } = this.props;\n\n        const productActivityByDayByMonth = getActivityDataForProduct(productHistoryData, productId, product);\n        const sortedMonthDateStrings = Array.from(productActivityByDayByMonth.keys()).sort((dateStr1 : string, dateStr2 : string) : number => {\n            const date1 = new Date(dateStr1);\n            const date2 = new Date(dateStr2);\n            if (date1.getTime() < date2.getTime()) {\n                return 1;\n            } else if (date1.getTime() === date2.getTime()) {\n                return 0;\n            } else {\n                return -1;\n            }\n        });\n\n        let hasAtLeastOneEntry = false;\n        let hasMonthWithNoEntries = false;\n        Array.from(productActivityByDayByMonth.values()).forEach((activityByDay : Map<number, ProductActivityOnDay>) => {\n            if (activityByDay.size > 0) {\n                hasAtLeastOneEntry = true;\n            }\n            if (activityByDay.size === 0) {\n                hasMonthWithNoEntries = true;\n            }\n        });\n\n        return (\n            <div className=\"item-card-history\">\n                <ItemCardHistoryPrice\n                    productHistoryData={ productHistoryData }\n                    productId={ productId }\n                    product={ product }\n                />\n                { /* NOTE: 011619 MOU - removed sticky header component because of buggy behavior coexisting with the other header, also in IE */ }\n                <div className=\"sticky-header-wrapper sticky-header\">\n                    <div className=\"item-activity-header\">\n                        <div className=\"item-activity-label\">Item Activity</div>\n                        { !hasMonthWithNoEntries &&\n                            <div className=\"showing-activity-label\">\n                                <span className=\"bevicon bevico-history\"/>\n                                Showing last { productHistoryData.numMonthsOfData } month{ productHistoryData.numMonthsOfData > 1 ? 's' : '' } of activity\n                            </div>\n                        }\n                    </div>\n                </div>\n                { product && hasAtLeastOneEntry && sortedMonthDateStrings.map((dateString) => {\n                    return this.renderMonth(dateString, productActivityByDayByMonth);\n                }) }\n                { /* TODO: unreachable. getActivityDataForProduct always records the product's creation, adding a month\n                     bucket for it when it falls outside the window, so some month always has an entry and\n                     hasAtLeastOneEntry is never false. Needs a product decision on what a brand new item with no\n                     activity should show before this is either fixed or deleted. */ }\n                { !hasAtLeastOneEntry &&\n                    <div className=\"no-activity\">\n                        <div className=\"icons\">\n                            <span className=\"bevicon bevico-shopping-cart\"/>\n                            <span className=\"bevicon bevico-assignment\"/>\n                            <span className=\"bevicon bevico-transfer-in\"/>\n                            <span className=\"bevicon bevico-breakage\"/>\n                        </div>\n                        Any time you inventory, order, transfer or report a spill for this item, it will appear here.\n                    </div>\n                }\n                { hasMonthWithNoEntries && hasAtLeastOneEntry &&\n                    <div className=\"entry-with-no-months\">\n                        <div className=\"showing-activity-label\">\n                            <span className=\"bevicon bevico-history\"/>\n                            Showing last { productHistoryData.numMonthsOfData } month{ productHistoryData.numMonthsOfData > 1 ? 's' : '' } of activity\n                        </div>\n                    </div>\n                }\n                <div className=\"show-more-history\">\n                    <Button\n                        buttonClassName=\"flat primary\"\n                        isDisabled={ productHistoryData.isFetchingMoreHistory || !productHistoryData.hasMoreHistory }\n                        isLoading={ productHistoryData.isFetchingMoreHistory }\n                        onClick={ this.props.onShowMoreHistoryClick }\n                    >\n                        Show { ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW } more months\n                    </Button>\n                </div>\n            </div>\n        );\n    }\n\n    private renderMonth(monthString : string, productActivityByDayByMonth : ProductActivityByDayByMonth) {\n        const activityInMonth = productActivityByDayByMonth.get(monthString);\n        if (typeof activityInMonth === 'undefined') {\n            throw new RuntimeException(`unexpected no activity in month for ${monthString}`);\n        }\n\n        const sortedDays = Array.from(activityInMonth.keys()).sort((day1 : number, day2 : number) => {\n            if (day1 < day2) {\n                return 1;\n            } else if (day1 === day2) {\n                return 0;\n            } else {\n                return -1;\n            }\n        });\n\n        const monthDate = new Date(monthString);\n        const monthTitleText = monthDate.toLocaleString('en-US', { month: 'long', year: 'numeric' });\n\n        return (\n            <div className=\"item-history-month\" key={ monthString }>\n                { /* NOTE: 011619 MOU - removed sticky header component because of buggy behavior coexisting with the other header, also in IE */ }\n                <div className=\"sticky-header-wrapper sticky-item\">\n                    <div className=\"month-header\">\n                        <div className=\"month-title\">{ monthTitleText }</div>\n                    </div>\n                </div>\n                { sortedDays.length > 0 && sortedDays.map((dayNumber : number) => {\n                    return this.renderDay(dayNumber, monthString, productActivityByDayByMonth);\n                }) }\n                { sortedDays.length === 0 &&\n                    <div className=\"no-days-container\">\n                        <div className=\"no-days\">No activity for this month</div>\n                    </div>\n                }\n            </div>\n        );\n    }\n\n    private renderDay(dayNumber : number, monthString : string, productActivityByDayByMonth : ProductActivityByDayByMonth) {\n        const {\n            itemCardData,\n            productId,\n            product,\n            productHistoryData,\n            productsById,\n        } = this.props;\n\n        const activityByDay = productActivityByDayByMonth.get(monthString);\n        if (typeof activityByDay === 'undefined') {\n            throw new RuntimeException(`unexpected no activity for month ${monthString}`);\n        }\n        const activityOnDay = activityByDay.get(dayNumber);\n        if (typeof activityOnDay === 'undefined') {\n            throw new RuntimeException(`unexpected no activity for day ${dayNumber} in month ${monthString}`);\n        }\n\n        if (!itemCardData) {\n            throw new RuntimeException('unexpected itemCardData in null');\n        }\n        if (!product) {\n            throw new RuntimeException('unexpected product is null');\n        }\n        if (!productId) {\n            throw new RuntimeException('unexpected productId is null');\n        }\n\n        const monthDate = new Date(monthString);\n        const monthShortForm = monthDate.toLocaleString('en-US', { month: 'short' });\n\n        const prepEventLabelsById = PrepEventDisplayUtils.getLabelsForPrepEventIds(activityOnDay.prepEventIds, productHistoryData.prepEventsByPrepEventId, itemCardData.productsById);\n\n        return (\n            <div className=\"item-history-day\" key={ dayNumber }>\n                <div className=\"day-label\">\n                    <div className=\"month\">{ monthShortForm }</div>\n                    <div className=\"day-number\">{ dayNumber }</div>\n                </div>\n                <div className=\"activity-container\">\n                    { Array.from(activityOnDay.deliveryIds.values()).map((deliveryId : DeliveryId) => {\n                        const delivery = productHistoryData.deliveriesByDeliveryId.getRequired(deliveryId);\n                        const distributorId = delivery.getDistributorId();\n                        let distributorName : string | null = null;\n                        if (distributorId) {\n                            const distributor = itemCardData.distributorsByDistributorId.get(distributorId);\n                            if (typeof distributor !== 'undefined') {\n                                distributorName = distributor.getName();\n                            }\n                        }\n                        return (\n                            <ItemCardHistoryOrder\n                                key={ deliveryId.getValue() }\n                                productId={ productId }\n                                product={ product }\n                                deliveryId={ deliveryId }\n                                delivery={ delivery }\n                                distributorName={ distributorName }\n                            />\n                        );\n                    }) }\n                    { Array.from(activityOnDay.inventoryCountIds.values()).map((inventoryCountId : InventoryCountId) => {\n                        const inventoryCount = productHistoryData.inventoryCountsByInventoryId.getRequired(inventoryCountId);\n                        const inventoryCountMetadata = productHistoryData.inventoryMetadataByInventoryId.getRequired(inventoryCountId);\n                        return (\n                            <ItemCardHistoryInventory\n                                key={ inventoryCountId.getValue() }\n                                productId={ productId }\n                                product={ product }\n                                inventoryCountId={ inventoryCountId }\n                                inventoryCount={ inventoryCount }\n                                inventoryCountMetadata={ inventoryCountMetadata }\n                            />\n                        );\n                    }) }\n                    { Array.from(activityOnDay.prepEventIds.values()).map((prepEventId : PrepEventId) => {\n                        const prepEvent = productHistoryData.prepEventsByPrepEventId.getRequired(prepEventId);\n                        const prepEventLabel = prepEventLabelsById.getRequired(prepEventId);\n\n                        return (\n                            <ItemCardHistoryPrepEvent\n                                key={ prepEventId.getValue() }\n                                productId={ productId }\n                                product={ product }\n                                prepEventId={ prepEventId }\n                                prepEvent={ prepEvent }\n                                prepEventLabel={ prepEventLabel.preparedItems }\n                            />\n                        );\n                    }) }\n                    { Array.from(activityOnDay.transferIds.values()).map((transferId : TransferId) => {\n                        const transfer = productHistoryData.transferReportsByTransferId.getRequired(transferId);\n                        return (\n                            <ItemCardHistoryTransfer\n                                key={ transferId.getValue() }\n                                productId={ productId }\n                                product={ product }\n                                transferId={ transferId }\n                                transfer={ transfer }\n                                locationNamesByLocationId={ productHistoryData.locationNamesByLocationId }\n                            />\n                        );\n                    }) }\n                    { Array.from(activityOnDay.breakageIds.values()).map((breakageId : BreakageId) => {\n                        const breakage = productHistoryData.breakageReportsByBreakageId.getRequired(breakageId);\n                        return (\n                            <ItemCardHistoryBreakage\n                                key={ breakageId.getValue() }\n                                productId={ productId }\n                                product={ product }\n                                breakageId={ breakageId }\n                                breakage={ breakage }\n                            />\n                        );\n                    }) }\n\n                    {\n                        activityOnDay.mergeTo.size > 0 &&\n                        <ItemCardHistoryMergeTo\n                            product={product}\n                            productId={productId}\n                            mergedToProductId={activityOnDay.mergeTo}\n                            productsById={productsById}\n                        />\n                    }\n\n                    {\n                        activityOnDay.mergeFrom.size > 0 &&\n                        <ItemCardHistoryMergeFrom\n                            product={product}\n                            productId={productId}\n                            mergedFromProductIds={activityOnDay.mergeFrom}\n                            productsById={productsById}\n                        />\n                    }\n\n                    { activityOnDay.creation &&\n                        <ItemCardHistoryCreation\n                            product={ product }\n                        />\n                    }\n                </div>\n            </div>\n        );\n    }\n}\n","import { apiBase, thriftQueryFn, transformLegacyError } from 'api/Core/apiQueryBase';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { ExpectedInventory } from 'api/InventoryCount/model/ExpectedInventory';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { InventoryCountMetadata } from 'api/InventoryCount/model/InventoryCountMetadata';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { expectedInventoryService, inventoryCountService, userSessionManager } from 'shared/lib/manager';\n\ninterface IGetFinalizedInventoryCountMetadatasRequest {\n    readonly locationId : LocationId;\n    readonly startIndexInclusive : number;\n    readonly maxResultSize : number;\n}\n\ninterface IGetExpectedInventoryDataRequest {\n    readonly locationId : LocationId;\n    readonly referenceInventoryId : InventoryCountId;\n}\n\nexport const inventoryCountReduxApi = apiBase.injectEndpoints({ overrideExisting: false, endpoints: (build) => ({\n    // Newest first\n    getFinalizedInventoryCountMetadatasForLocation: build.query<\n        { inventoryCountIds : Array<InventoryCountId>; inventoryCountMetadatasById : StringValueMap<InventoryCountId, InventoryCountMetadata> },\n        IGetFinalizedInventoryCountMetadatasRequest\n    >({\n        queryFn: thriftQueryFn(({ locationId, startIndexInclusive, maxResultSize }) =>\n            inventoryCountService.getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate(\n                userSessionManager.getSessionId(), locationId, startIndexInclusive, maxResultSize)),\n    }),\n\n    // Every product at the location, projected forward from the reference count\n    getExpectedInventoryData: build.query<ExpectedInventory, IGetExpectedInventoryDataRequest>({\n        async queryFn({ locationId, referenceInventoryId }) {\n            try {\n                return { data: await expectedInventoryService.getExpectedInventoryData(locationId, referenceInventoryId) };\n            } catch (thrownError) {\n                return transformLegacyError(thrownError);\n            }\n        },\n    }),\n}) });\n","import { apiBase, PRODUCT_INSIGHTS_TAG, thriftQueryFn, transformLegacyError } from 'api/Core/apiQueryBase';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { UsageData } from 'api/UsageData/model/UsageData';\nimport { ISalesItemUsageCostInputs } from 'apps/ItemCard/insights/models/types';\nimport {\n    productCostService,\n    productService,\n    salesItemService,\n    usageDataService,\n    userSessionManager,\n} from 'shared/lib/manager';\n\n// Reads specific to the Insights tab. The counts, expected inventory and deliveries it also uses live in the\n// shared api/*ReduxApis files.\nexport const insightsApi = apiBase.injectEndpoints({\n    overrideExisting: false,\n    endpoints: (build) => ({\n        // Location-wide, keyed by the count pair so every product the card opens reuses it.\n        // TODO: possibly move to a shared UsageData RTKQ file. Left here because usage reads as an insight and\n        // there are no sibling usage endpoints to put it beside yet.\n        getUsageDataForCountPair: build.query<UsageData, { locationId : LocationId; startInventoryCountId : InventoryCountId; endInventoryCountId : InventoryCountId }>({\n            async queryFn({ locationId, startInventoryCountId, endInventoryCountId }) {\n                try {\n                    return { data: await usageDataService.getUsageData(userSessionManager.getSessionId(), locationId, startInventoryCountId, endInventoryCountId) };\n                } catch (thrownError) {\n                    return transformLegacyError(thrownError);\n                }\n            },\n        }),\n        // null when the product is in no active sales item\n        getProductSalesItemUsage: build.query<ISalesItemUsageCostInputs | null, ProductId>({\n            queryFn: thriftQueryFn(async (productId) => {\n                const userSessionId = userSessionManager.getSessionId();\n                const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n                const activeSalesItemIds = await salesItemService.getActiveSalesItemIdsUsingProduct(userSessionId, locationId, productId);\n                if (activeSalesItemIds.size === 0) {\n                    return null;\n                }\n\n                const salesItemsById = await salesItemService.getRelevantSalesItemsForIds(userSessionId, activeSalesItemIds);\n                const productIdsInRecipes = new StringValueSet<ProductId>();\n                salesItemsById.forEach((salesItemWithMetadata) => {\n                    salesItemWithMetadata.getSalesItem().getComponentQuantityOfProductByProductId().forEach((_quantity, recipeProductId) => {\n                        productIdsInRecipes.add(recipeProductId);\n                    });\n                });\n                const [productsResult, productCostsByProductId] = await Promise.all([\n                    productService.getProductsById(userSessionId, locationId, productIdsInRecipes),\n                    productCostService.getCurrentProductCostsByProductId(userSessionId, productIdsInRecipes),\n                ]);\n\n                return {\n                    activeSalesItemIds,\n                    salesItemsById,\n                    productsById: productsResult.productsById,\n                    productCostsByProductId,\n                };\n            }),\n            serializeQueryArgs: ({ endpointName, queryArgs }) => `${ endpointName }_${ queryArgs.getValue() }`,\n            providesTags: (_result, _error, productId) => [{ type: PRODUCT_INSIGHTS_TAG, id: productId.getValue() }],\n        }),\n    }),\n});\n\nexport const {\n    useGetUsageDataForCountPairQuery,\n    useGetProductSalesItemUsageQuery,\n} = insightsApi;\n","import React from 'react';\n\nimport { Button } from 'shared/components/Button';\n\nexport type StatTileStatus = 'loading' | 'error' | 'ready';\n\ninterface IStatTileProps {\n    title : string;\n    status : StatTileStatus;\n    value? : React.ReactNode;\n    unit? : string;\n    // Below the value; still shown in the error state for the parts that did load\n    sub? : React.ReactNode;\n    onRetry? : () => void;\n    isAlert? : boolean;\n}\n\n// One stock figure with its own loading and error state, so a failed read only blanks this tile.\nexport const StatTile : React.FC<IStatTileProps> = ({ title, status, value, unit, sub, onRetry, isAlert }) => (\n    <div className={ `stat-tile ${ status } ${ isAlert ? 'stat-tile-alert' : '' }` }>\n        <div className=\"card-title\">{ title }</div>\n        { status === 'loading' &&\n            <div className=\"card-detail\"><span className=\"bevicon bevico-spinner2 make-it-spin\" /> Loading</div>\n        }\n        { status === 'error' &&\n            <div className=\"card-detail\">Couldn't load</div>\n        }\n        { status === 'ready' &&\n            <div className=\"card-detail\">{ value }{ unit && <span className=\"unit\">{ unit }</span> }</div>\n        }\n        <div className=\"card-sub\">\n            { status !== 'loading' && sub }\n            { status === 'error' && onRetry &&\n                <>{ sub ? ' · ' : '' }<Button buttonClassName=\"flat link primary\" isDisabled={ false } isLoading={ false } onClick={ onRetry }>Retry</Button></>\n            }\n        </div>\n    </div>\n);\n","import moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { ExpectedInventory } from 'api/InventoryCount/model/ExpectedInventory';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { InventoryCountMetadata } from 'api/InventoryCount/model/InventoryCountMetadata';\nimport { InventoryCountType } from 'api/InventoryCount/model/InventoryCountType';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { DeliveryUtils } from 'api/Ordering/utils/DeliveryUtils';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { UsageData } from 'api/UsageData/model/UsageData';\nimport { UsageDataUtils } from 'api/UsageData/utils/usageDataUtils';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nimport {\n    IProductDeliveryStock,\n    IProductStockCounts,\n    IProductWeeklyUsage,\n    IStockCountReference,\n    ProductOnHand,\n} from '../models/types';\n\n// ExcessInventoryCalculator._suggested_par_factor in Python. No route sends it to the browser, so keep the two in sync.\nexport const SUGGESTED_PAR_WEEKS_OF_USAGE = 3;\n\nconst getCountTime = (metadata : InventoryCountMetadata) : moment.Moment =>\n    moment(numberUtils.ThriftInt64ToNumber(metadata.getInventoryCountTime().timeSinceUnixEpoch.value));\n\nconst getUnitLabel = (product : Product, quantity : number) : string =>\n    PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), product.getPreferredReportingUnit(), quantity !== 1);\n\nconst toReference = (inventoryCountId : InventoryCountId, metadata : InventoryCountMetadata) : IStockCountReference => ({\n    inventoryCountId: inventoryCountId.getValue(),\n    date: getCountTime(metadata).toISOString(),\n});\n\nexport const getStockCounts = (\n    product : Product,\n    inventoryCountIdsNewestFirst : Array<InventoryCountId>,\n    inventoryCountMetadatasById : StringValueMap<InventoryCountId, InventoryCountMetadata>,\n    setPar : QuantityInUnit<ProductQuantityUnit> | null,\n) : IProductStockCounts => {\n    const completeCounts = inventoryCountIdsNewestFirst\n        .map((inventoryCountId) => ({ inventoryCountId, metadata: inventoryCountMetadatasById.getRequired(inventoryCountId) }))\n        .filter(({ metadata }) => metadata.getInventoryCountType() === InventoryCountType.COMPLETE);\n\n    const parQuantity = setPar === null\n        ? null\n        : PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), setPar, product.getPreferredReportingUnit()).getQuantity();\n\n    return {\n        latest: completeCounts.length > 0 ? toReference(completeCounts[0].inventoryCountId, completeCounts[0].metadata) : null,\n        previous: completeCounts.length > 1 ? toReference(completeCounts[1].inventoryCountId, completeCounts[1].metadata) : null,\n        setPar: parQuantity === null ? null : { quantity: parQuantity, unitLabel: getUnitLabel(product, parQuantity) },\n    };\n};\n\n// The route returns \"bottle\" counts (the innermost packaging) with no unit; convert to the preferred reporting unit here\nexport const getOnHandFromExpectedInventory = (\n    productId : ProductId,\n    product : Product,\n    expectedInventory : ExpectedInventory,\n) : ProductOnHand => {\n    const bottleCount = expectedInventory.getBottleCountByProductId().get(productId);\n    const breakdown = expectedInventory.getBottleBreakdownByProductId().get(productId);\n    if (typeof bottleCount === 'undefined' || typeof breakdown === 'undefined') {\n        return { status: 'no_estimate' };\n    }\n\n    const unitsPerBottle = PackagingUtils.getBottlesInPreferredReportingUnit(product);\n    const toUnits = (bottles : number) : number => bottles * unitsPerBottle;\n    const quantity = toUnits(bottleCount);\n\n    return {\n        status: 'estimate',\n        estimate: {\n            quantity,\n            unitLabel: getUnitLabel(product, quantity),\n            countedQuantity: toUnits(breakdown.getStartCount()),\n            receivedQuantity: toUnits(breakdown.getDeliveries() + breakdown.getTransfers() + breakdown.getPrepOutputs()),\n            usedQuantity: toUnits(breakdown.getBreakages() + breakdown.getPrepInputs()),\n            soldQuantity: toUnits(breakdown.getSales()),\n            salesDataEffectiveTime: expectedInventory.getSalesDataEffectiveTime()?.toISOString() ?? null,\n        },\n    };\n};\n\nexport const getWeeklyUsage = (\n    productId : ProductId,\n    product : Product,\n    previousCountMetadata : InventoryCountMetadata,\n    latestCountMetadata : InventoryCountMetadata,\n    usageData : UsageData,\n) : IProductWeeklyUsage | null => {\n    const productUsage = usageData.getUsageByProductId().get(productId);\n    const weeklyUnitUsage = UsageDataUtils.getAverageWeeklyUnitUsageByProductId(previousCountMetadata, latestCountMetadata, usageData).get(productId);\n    if (typeof productUsage === 'undefined' || typeof weeklyUnitUsage === 'undefined') {\n        return null;\n    }\n\n    const quantity = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), weeklyUnitUsage, product.getPreferredReportingUnit(), productId).getQuantity();\n    const periodStart = getCountTime(previousCountMetadata);\n    const periodEnd = getCountTime(latestCountMetadata);\n    // Round like the unit figure so dollars and units scale together\n    const periodDays = Math.max(Math.round(periodEnd.diff(periodStart) / (24 * 60 * 60 * 1000)), 1);\n    const suggestedParQuantity = quantity * SUGGESTED_PAR_WEEKS_OF_USAGE;\n\n    return {\n        quantity,\n        unitLabel: getUnitLabel(product, quantity),\n        dollarAmount: productUsage.dollarUsage * 7 / periodDays,\n        periodStart: periodStart.toISOString(),\n        periodEnd: periodEnd.toISOString(),\n        suggestedPar: { quantity: suggestedParQuantity, unitLabel: getUnitLabel(product, suggestedParQuantity) },\n    };\n};\n\ninterface IProductDelivery {\n    delivery : Delivery;\n    quantity : number;\n    amount : number;\n}\n\n// Totals and the latest delivery over deliveriesById, which the caller has read since the last count\nexport const getDeliveryStock = (\n    productId : ProductId,\n    product : Product,\n    deliveriesById : StringValueMap<DeliveryId, Delivery>,\n    distributorNamesById : StringValueMap<DistributorId, string>,\n) : IProductDeliveryStock => {\n    const packagingsAndMappings = product.getPackagingsAndMappings();\n    const productDeliveries : Array<IProductDelivery> = [];\n    deliveriesById.forEach((delivery) => {\n        // A delivery can hold several lines for one product (a case plus singles, a credit), so sum them\n        let quantity = 0;\n        let amount = 0;\n        let hasProductLine = false;\n        delivery.getDeliveryLineItems().forEach((lineItem) => {\n            if (!lineItem.getProductId().equals(productId)) {\n                return;\n            }\n            const quantityInUnit = new QuantityInUnit(lineItem.getQuantityInUnits(), lineItem.getProductQuantityUnit());\n            quantity += PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, quantityInUnit, product.getPreferredReportingUnit(), productId).getQuantity();\n            amount += DeliveryUtils.getTotalCostOfDeliveryLineItem(lineItem);\n            hasProductLine = true;\n        });\n        if (hasProductLine) {\n            productDeliveries.push({ delivery, quantity, amount });\n        }\n    });\n    productDeliveries.sort((first, second) => second.delivery.getDateDeliveredUTC().valueOf() - first.delivery.getDateDeliveredUTC().valueOf());\n\n    const mostRecent = productDeliveries.length > 0 ? productDeliveries[0] : null;\n    let lastDelivery : IProductDeliveryStock['lastDelivery'] = null;\n    if (mostRecent !== null) {\n        const distributorId = mostRecent.delivery.getDistributorId();\n        const distributorName = distributorId === null ? null : distributorNamesById.get(distributorId) ?? null;\n        lastDelivery = {\n            date: mostRecent.delivery.getDateDeliveredUTC().toISOString(),\n            quantity: mostRecent.quantity,\n            pricePerUnit: mostRecent.quantity === 0 ? mostRecent.amount : mostRecent.amount / mostRecent.quantity,\n            distributorName,\n        };\n    }\n\n    return {\n        unitLabel: getUnitLabel(product, 2),\n        singularUnitLabel: getUnitLabel(product, 1),\n        totals: {\n            amount: productDeliveries.reduce((total, { amount }) => total + amount, 0),\n            quantity: productDeliveries.reduce((total, { quantity }) => total + quantity, 0),\n        },\n        lastDelivery,\n    };\n};\n","import { useEffect } from 'react';\n\nimport { logJsError } from 'shared/global/datadogLogger';\n\n// The Insights UI shows a banner or tile error state for a failed read and never throws, so nothing else reports it.\n// Pass the RTK Query error (undefined when there is none); logs once per distinct error.\nexport const useLogInsightsError = (what : string, error : unknown) : void => {\n    useEffect(() => {\n        if (error === undefined) {\n            return;\n        }\n        const message = `Item Card Insights: failed to load ${ what }`;\n        // eslint-disable-next-line no-console\n        console.error(message, error);\n        logJsError(message, { isHandled: true, what }, error);\n    }, [what, error]);\n};\n","import React from 'react';\n\nimport { useLogInsightsError } from 'apps/ItemCard/insights/hooks/useLogInsightsError';\nimport { AlertBanner } from 'shared/components/AlertBanner/AlertBanner';\nimport { Button } from 'shared/components/Button';\nimport { LoadingCover } from 'shared/components/LoadingCover';\n\ninterface IInsightsSectionProps {\n    label : string;\n    detailLabel? : React.ReactNode;\n    isLoading : boolean;\n    // Any RTK Query error; omit for a section with no read of its own.\n    error? : unknown;\n    errorMessage? : string;\n    onRetry? : () => void;\n    className? : string;\n    children : React.ReactNode;\n}\n\n// Every section on the Insights tab owns its own loading and error state, because the reads behind\n// them are independent and some are slow. This is the one place that renders those states.\nexport const InsightsSection : React.FC<IInsightsSectionProps> = ({ label, detailLabel, isLoading, error, errorMessage, onRetry, className, children }) => {\n    const hasError = error !== undefined;\n\n    useLogInsightsError(label, error);\n\n    return (\n        <section className={ `insights-section ${ className ?? '' }` }>\n            <h3 className=\"insights-section-label\">\n                { label }\n                { detailLabel && <span className=\"detail-label\">{ detailLabel }</span> }\n            </h3>\n            { isLoading &&\n                <div className=\"insights-section-loading\">\n                    <LoadingCover className=\"inline overlay-light\" hasLoadingIcon={ true } />\n                </div>\n            }\n            { !isLoading && hasError &&\n                <AlertBanner\n                    type=\"error\"\n                    actionButtons={ onRetry ? [\n                        <Button key=\"retry\" buttonClassName=\"flat primary\" isDisabled={ false } isLoading={ false } onClick={ onRetry }>Retry</Button>\n                    ] : undefined }\n                >\n                    { errorMessage }\n                </AlertBanner>\n            }\n            { !isLoading && !hasError && children }\n        </section>\n    );\n};\n","import moment from 'moment-timezone';\nimport React, { useMemo } from 'react';\nimport { skipToken } from '@reduxjs/toolkit/query';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { distributorReduxApi } from 'api/Distributor/distributorReduxApis';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { inventoryCountReduxApi } from 'api/InventoryCount/inventoryCountReduxApis';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { OrderDateQueryType } from 'api/Ordering/model/OrderDateQueryType';\nimport { ordersApi } from 'api/Ordering/orderingReduxApis';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ItemCardActions } from 'apps/ItemCard/actions/ItemCardActions';\nimport { useGetUsageDataForCountPairQuery } from 'apps/ItemCard/insights/api/insightsApi';\nimport { ProductOnHand } from 'apps/ItemCard/insights/models/types';\nimport { StatTile, StatTileStatus } from 'apps/ItemCard/insights/components/StatTile';\nimport {\n    getDeliveryStock,\n    getOnHandFromExpectedInventory,\n    getStockCounts,\n    getWeeklyUsage,\n} from 'apps/ItemCard/insights/utils/stockUtils';\nimport { useLogInsightsError } from 'apps/ItemCard/insights/hooks/useLogInsightsError';\nimport { useItemCardDispatch, useItemCardSelector } from 'apps/ItemCard/redux/redux-types';\nimport { Button } from 'shared/components/Button';\nimport { userSessionManager } from 'shared/lib/manager';\nimport { AppUrls } from 'shared/utils/appUrls';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nimport { InsightsSection } from './InsightsSection';\n\ninterface IStockSectionProps {\n    productId : ProductId;\n    product : Product;\n}\n\nconst DATE_FORMAT = 'MMM D';\n\n// Footnote facts render with this while their read is in flight, so the line doesn't reflow as each one arrives\nconst LOADING_PLACEHOLDER = '…';\n\n// Partial counts are interleaved and not filterable server-side, so read a large page of metadata and filter here\nconst COUNT_METADATA_PAGE_SIZE = 1000;\n\nconst formatQuantity = (quantity : number) : string => numberUtils.FormatToMaximumDecimalPlaces(quantity, 1);\nconst formatMoney = (amount : number) : string => FormatMonetaryValueWithCents(amount, undefined, 0);\nconst formatDate = (isoDate : string) : string => moment(isoDate).format(DATE_FORMAT);\n\nconst tileStatus = (query : { isFetching : boolean; error? : unknown }) : StatTileStatus => {\n    if (query.isFetching) {\n        return 'loading';\n    }\n    return query.error !== undefined ? 'error' : 'ready';\n};\n\nconst DELIVERY_DATE_QUERY_TYPES = new Set<OrderDateQueryType>(['DELIVERY']);\n\n// Deliveries since the last count. Mount callers only once the count is known: the metadata endpoint's\n// serializeQueryArgs throws on skipToken.\nconst useDeliveryStock = (productId : ProductId, product : Product, lastCountDate : string) => {\n    const locationId = useMemo(() => new LocationId(window.GLOBAL_RETAILER_ID), []);\n    const periodStart = useMemo(() => moment(lastCountDate), [lastCountDate]);\n    // Day-aligned so repeat opens hit the same cache entry instead of a new one per second\n    const periodEnd = useMemo(() => moment().endOf('day'), []);\n    const metadataQuery = ordersApi.useGetDeliveryMetadataForLocationInPeriodQuery(\n        [userSessionManager.getSessionId(), locationId, DELIVERY_DATE_QUERY_TYPES, periodStart, periodEnd]);\n    const deliveryIds = useMemo(\n        () => (metadataQuery.data ? new StringValueSet<DeliveryId>(Array.from(metadataQuery.data.keys())) : null),\n        [metadataQuery.data]);\n    // getDeliveriesById ignores its arg in serializeQueryArgs, so skipToken is safe here\n    const deliveriesQuery = ordersApi.useGetDeliveriesByIdQuery((deliveryIds && deliveryIds.size > 0) ? deliveryIds : skipToken);\n    const distributorsQuery = distributorReduxApi.useGetDistributorsForRetailerQuery({ locationId });\n\n    const deliveryStock = useMemo(() => {\n        if (deliveryIds === null || !distributorsQuery.data || (deliveryIds.size > 0 && !deliveriesQuery.data)) {\n            return undefined;\n        }\n        // The by-id cache accumulates every delivery any caller has read, so keep only this window's\n        const deliveriesInWindow = new StringValueMap<DeliveryId, Delivery>();\n        deliveryIds.forEach((deliveryId) => {\n            const delivery = deliveriesQuery.data?.get(deliveryId);\n            if (delivery) {\n                deliveriesInWindow.set(deliveryId, delivery);\n            }\n        });\n        const distributorNamesById = new StringValueMap<DistributorId, string>();\n        distributorsQuery.data.forEach((distributor, distributorId) => distributorNamesById.set(distributorId, distributor.getName()));\n        return getDeliveryStock(productId, product, deliveriesInWindow, distributorNamesById);\n    }, [productId, product, deliveryIds, deliveriesQuery.data, distributorsQuery.data]);\n\n    const error = metadataQuery.error ?? deliveriesQuery.error ?? distributorsQuery.error;\n    const status = tileStatus({\n        isFetching: metadataQuery.isFetching || deliveriesQuery.isFetching || distributorsQuery.isFetching,\n        error,\n    });\n    const onRetry = () => {\n        void metadataQuery.refetch();\n        if (deliveryIds && deliveryIds.size > 0) {\n            void deliveriesQuery.refetch();\n        }\n        void distributorsQuery.refetch();\n    };\n    return { deliveryStock, status, error, onRetry };\n};\n\ninterface IDeliveryStockProps {\n    productId : ProductId;\n    product : Product;\n    lastCountDate : string;\n}\n\n// Spend over the same window the on-hand estimate sums deliveries over\nconst SpendTile : React.FC<IDeliveryStockProps> = ({ productId, product, lastCountDate }) => {\n    const { deliveryStock, status, error, onRetry } = useDeliveryStock(productId, product, lastCountDate);\n    useLogInsightsError('deliveries since the last count', error);\n    return (\n        <StatTile\n            title=\"Spent since count\"\n            status={ status }\n            value={ deliveryStock ? formatMoney(deliveryStock.totals.amount) : undefined }\n            sub={ deliveryStock ? `Since ${ formatDate(lastCountDate) } · ${ formatQuantity(deliveryStock.totals.quantity) } ${ deliveryStock.unitLabel }` : undefined }\n            onRetry={ onRetry }\n        />\n    );\n};\n\nconst LastReceived : React.FC<IDeliveryStockProps> = ({ productId, product, lastCountDate }) => {\n    const { deliveryStock, error } = useDeliveryStock(productId, product, lastCountDate);\n    if (!deliveryStock) {\n        return <span className=\"stat-footnote-fact\"><span className=\"muted-label\">Received</span> { error === undefined ? LOADING_PLACEHOLDER : 'unavailable' }</span>;\n    }\n    const { lastDelivery } = deliveryStock;\n    return (\n        <span className=\"stat-footnote-fact\">\n            <span className=\"muted-label\">Received</span> { lastDelivery === null\n                ? `none since ${ formatDate(lastCountDate) }`\n                : `${ formatDate(lastDelivery.date) }, ${ formatQuantity(lastDelivery.quantity) } ${ deliveryStock.unitLabel } at ${ FormatMonetaryValueWithCents(lastDelivery.pricePerUnit) } / ${ deliveryStock.singularUnitLabel }${ lastDelivery.distributorName ? ` from ${ lastDelivery.distributorName }` : '' }` }\n        </span>\n    );\n};\n\nexport const StockSection : React.FC<IStockSectionProps> = ({ productId, product }) => {\n    const dispatch = useItemCardDispatch();\n    const locationId = useMemo(() => new LocationId(window.GLOBAL_RETAILER_ID), []);\n\n    // Location-wide reads are keyed by location and count, not product, so every product the card opens reuses them\n    const countMetadatasQuery = inventoryCountReduxApi.useGetFinalizedInventoryCountMetadatasForLocationQuery(\n        { locationId, startIndexInclusive: 0, maxResultSize: COUNT_METADATA_PAGE_SIZE });\n    // ItemCard only renders this tab once itemCardData has loaded\n    const { parsByProductId } = useItemCardSelector((state) => state.itemCardState.itemCardData!);\n    const savedPar = parsByProductId.get(productId) ?? null;\n    const counts = useMemo(() => {\n        if (!countMetadatasQuery.data) {\n            return undefined;\n        }\n        const { inventoryCountIds, inventoryCountMetadatasById } = countMetadatasQuery.data;\n        return getStockCounts(product, inventoryCountIds, inventoryCountMetadatasById, savedPar);\n    }, [product, countMetadatasQuery.data, savedPar]);\n    const latestCount = counts?.latest ?? null;\n    const previousCount = counts?.previous ?? null;\n\n    const hasExpectedInventoryFeature = window.GLOBAL_FEATURE_ACCESS.expected_inventory;\n    const expectedInventoryQuery = inventoryCountReduxApi.useGetExpectedInventoryDataQuery(\n        (latestCount && hasExpectedInventoryFeature) ? { locationId, referenceInventoryId: new InventoryCountId(latestCount.inventoryCountId) } : skipToken);\n    const onHand = useMemo(() : ProductOnHand | undefined => {\n        if (!hasExpectedInventoryFeature) {\n            return { status: 'feature_unavailable' };\n        }\n        return expectedInventoryQuery.data ? getOnHandFromExpectedInventory(productId, product, expectedInventoryQuery.data) : undefined;\n    }, [hasExpectedInventoryFeature, productId, product, expectedInventoryQuery.data]);\n\n    // The latest two complete counts, the pair the Excess Inventory report defaults to\n    const latestCountPair = (latestCount && previousCount) ?\n        { locationId, startInventoryCountId: new InventoryCountId(previousCount.inventoryCountId), endInventoryCountId: new InventoryCountId(latestCount.inventoryCountId) } :\n        null;\n    const usageDataQuery = useGetUsageDataForCountPairQuery(latestCountPair ?? skipToken);\n    const usage = useMemo(() => {\n        if (!latestCount || !previousCount || !countMetadatasQuery.data || !usageDataQuery.data) {\n            return null;\n        }\n        const { inventoryCountMetadatasById } = countMetadatasQuery.data;\n        return getWeeklyUsage(\n            productId,\n            product,\n            inventoryCountMetadatasById.getRequired(new InventoryCountId(previousCount.inventoryCountId)),\n            inventoryCountMetadatasById.getRequired(new InventoryCountId(latestCount.inventoryCountId)),\n            usageDataQuery.data);\n    }, [productId, product, latestCount, previousCount, countMetadatasQuery.data, usageDataQuery.data]);\n    const suggestedPar = usage?.suggestedPar ?? null;\n\n    const usageTileStatus = tileStatus(usageDataQuery);\n    useLogInsightsError('on hand estimate', expectedInventoryQuery.error);\n    useLogInsightsError('weekly usage', usageDataQuery.error);\n\n    const onEditParClick = () => dispatch(ItemCardActions.onSetSelectedItemCardView('editProduct'));\n\n    const estimate = onHand?.status === 'estimate' ? onHand.estimate : null;\n    const setPar = counts?.setPar ?? null;\n\n    let posLabel : React.ReactNode = null;\n    if (estimate) {\n        posLabel = estimate.salesDataEffectiveTime === null\n            ? <>No POS connected · <a href={ AppUrls.retailerPath('integrations', window.GLOBAL_RETAILER_ID) } target=\"_blank\" rel=\"noreferrer\">Connect POS</a></>\n            : <>Sales through { formatDate(estimate.salesDataEffectiveTime) }</>;\n    }\n    // Counts, usage and the estimate all skip partial inventories; nothing to qualify until there are tiles\n    const detailLabel = latestCount === null ? null : <>Excludes partial inventories{ posLabel && <> · { posLabel }</> }</>;\n\n    let onHandValue : string | undefined;\n    let onHandSub : React.ReactNode;\n    if (estimate) {\n        onHandValue = formatQuantity(estimate.quantity);\n        const soldPart = estimate.salesDataEffectiveTime === null ? '' : ` − ${ formatQuantity(estimate.soldQuantity) } sold`;\n        onHandSub = `${ formatQuantity(estimate.countedQuantity) } counted + ${ formatQuantity(estimate.receivedQuantity) } received − ${ formatQuantity(estimate.usedQuantity) } used${ soldPart }`;\n    } else if (onHand?.status === 'feature_unavailable') {\n        onHandValue = '—';\n        onHandSub = 'Expected inventory is not included in this plan';\n    } else if (onHand?.status === 'no_estimate') {\n        onHandValue = '—';\n        onHandSub = 'No estimate: the last count is too old or did not include this item';\n    }\n\n    return (\n        <InsightsSection\n            label=\"Stock\"\n            detailLabel={ detailLabel }\n            isLoading={ countMetadatasQuery.isLoading }\n            error={ countMetadatasQuery.error }\n            errorMessage=\"We couldn't load stock for this item.\"\n            onRetry={ countMetadatasQuery.refetch }\n            className=\"compact\"\n        >\n            { latestCount === null\n                ? <div className=\"empty-state\">Stock estimates appear after this item has been counted.</div>\n                : <>\n                    <div className=\"stat-tiles three\">\n                        <StatTile\n                            title=\"On hand (est.)\"\n                            status={ tileStatus(expectedInventoryQuery) }\n                            value={ onHandValue }\n                            unit={ estimate ? estimate.unitLabel : undefined }\n                            sub={ onHandSub }\n                            onRetry={ expectedInventoryQuery.refetch }\n                            // Zero is out of stock; below zero means bad data (missing delivery, mis-mapped sales, miscount)\n                            isAlert={ estimate !== null && estimate.quantity <= 0 }\n                        />\n                        <StatTile\n                            title=\"Weekly usage\"\n                            status={ previousCount === null ? 'ready' : usageTileStatus }\n                            value={ usage ? formatQuantity(usage.quantity) : '—' }\n                            unit={ usage ? `${ usage.unitLabel } / wk` : undefined }\n                            sub={ (usage && latestCountPair)\n                                ? <>\n                                    <a\n                                        href={ AppUrls.usageReport(window.GLOBAL_RETAILER_ID, latestCountPair.startInventoryCountId.getValue(), latestCountPair.endInventoryCountId.getValue()) }\n                                        target=\"_blank\"\n                                        rel=\"noreferrer\"\n                                    >\n                                        { formatDate(usage.periodStart) } → { formatDate(usage.periodEnd) }\n                                    </a>\n                                    { ` · ${ formatMoney(usage.dollarAmount) } / wk` }\n                                </>\n                                : 'Usage appears after a second count' }\n                            onRetry={ usageDataQuery.refetch }\n                        />\n                        <SpendTile productId={ productId } product={ product } lastCountDate={ latestCount.date } />\n                    </div>\n                    <div className=\"stat-footnote\">\n                        <span className=\"stat-footnote-fact\">\n                            <span className=\"muted-label\">Counted</span> { formatDate(latestCount.date) }\n                            { expectedInventoryQuery.isFetching && `, ${ LOADING_PLACEHOLDER }` }\n                            { estimate && `, ${ formatQuantity(estimate.countedQuantity) } ${ estimate.unitLabel }` }\n                        </span>\n                        <LastReceived productId={ productId } product={ product } lastCountDate={ latestCount.date } />\n                        <span className=\"stat-footnote-fact\">\n                            <span className=\"muted-label\">Par</span> { setPar ? `${ formatQuantity(setPar.quantity) } ${ setPar.unitLabel }` : 'not set' }\n                            { usageDataQuery.isFetching && ` (suggested par ${ LOADING_PLACEHOLDER })` }\n                            { suggestedPar && ` (suggested par ${ formatQuantity(suggestedPar.quantity) } ${ suggestedPar.unitLabel })` }\n                            { ' · ' }<Button buttonClassName=\"flat link primary\" isDisabled={ false } isLoading={ false } onClick={ onEditParClick }>Edit</Button>\n                        </span>\n                    </div>\n                </>\n            }\n        </InsightsSection>\n    );\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\nimport {\n    ISalesItemUsageCostInputs,\n    ISalesItemUsageRow,\n} from 'apps/ItemCard/insights/models/types';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { decimalUtils } from 'shared/utils/decimalUtils';\n\nconst compareByCostPercentDescending = (firstRow : ISalesItemUsageRow, secondRow : ISalesItemUsageRow) : number => {\n    if (firstRow.costPercent === secondRow.costPercent) {\n        return firstRow.name.localeCompare(secondRow.name);\n    }\n    if (firstRow.costPercent === null) {\n        return 1;\n    }\n    if (secondRow.costPercent === null) {\n        return -1;\n    }\n    return secondRow.costPercent - firstRow.costPercent;\n};\n\n// Highest cost % first; rows without a cost % last\nexport const buildSalesItemUsageRows = (\n    productId : ProductId,\n    costInputs : ISalesItemUsageCostInputs,\n) : Array<ISalesItemUsageRow> => {\n    const { activeSalesItemIds, salesItemsById, productsById, productCostsByProductId } = costInputs;\n    const costsBySalesItemId = SalesItemUtils.getCostsBySalesItemId(salesItemsById, productsById, productCostsByProductId);\n    const productsPerServingBySalesItemId = SalesItemUtils.flattenSalesItemsIntoProductPerServingComponents(salesItemsById, productsById);\n    const rowSalesItemIds = Array.from(activeSalesItemIds.values());\n\n    const rows = rowSalesItemIds.map((salesItemId) : ISalesItemUsageRow => {\n        const salesItem = salesItemsById.getRequired(salesItemId).getSalesItem();\n        const isDirect = salesItem.getComponentQuantityOfProductByProductId().has(productId);\n        const viaNames = isDirect ? [] : Array.from(salesItem.getComponentServingsBySalesItemId().keys())\n            .filter((componentSalesItemId) => productsPerServingBySalesItemId.getRequired(componentSalesItemId).has(productId))\n            .map((componentSalesItemId) => salesItemsById.getRequired(componentSalesItemId).getSalesItem().getName());\n        const cost = costsBySalesItemId.getRequired(salesItemId);\n\n        return {\n            salesItemId: salesItemId.getValue(),\n            name: salesItem.getName(),\n            viaNames,\n            uses: productsPerServingBySalesItemId.getRequired(salesItemId).get(productId) ?? null,\n            price: salesItem.getSalesPrice(),\n            cost,\n            costPercent: SalesItemUtils.getCostPercentageOfSalesItem(salesItem.getSalesPrice(), cost),\n        };\n    });\n\n    return rows.sort(compareByCostPercentDescending);\n};\n\n// Target cost % by account type\nexport const getDefaultThresholdPercent = (accountType : 'food' | 'beverage') : number =>\n    (accountType === 'beverage' ? 20 : 25);\n\n// Strictly above: an item exactly at the threshold is not flagged\nexport const isAboveThreshold = (costPercent : number | null, thresholdPercent : number) : boolean =>\n    costPercent !== null && costPercent > thresholdPercent;\n\nexport const getRowsAboveThreshold = (rows : Array<ISalesItemUsageRow>, thresholdPercent : number) : Array<ISalesItemUsageRow> =>\n    rows.filter((row) => isAboveThreshold(row.costPercent, thresholdPercent));\n\n// Change in cost % at the what-if cost; null when there is nothing to show (no what-if, a missing cost %, or no change)\nexport const getCostPercentDelta = (row : ISalesItemUsageRow, whatIfRow : ISalesItemUsageRow | null) : number | null => {\n    if (whatIfRow === null || whatIfRow.costPercent === null || row.costPercent === null) {\n        return null;\n    }\n    const delta = whatIfRow.costPercent - row.costPercent;\n    return delta === 0 ? null : delta;\n};\n\n// Re-costs every row with only this product's cost swapped, in the same unit as its current cost, aligned to\n// currentRows' order. hypotheticalCostAmount must already pass Validation.validateNonNegativeNumber.\nexport const getWhatIfRows = (\n    productId : ProductId,\n    currentRows : Array<ISalesItemUsageRow>,\n    costInputs : ISalesItemUsageCostInputs,\n    hypotheticalCostAmount : string,\n) : Array<ISalesItemUsageRow> => {\n    const currentProductCost = costInputs.productCostsByProductId.getRequired(productId);\n    const whatIfProductCostsByProductId = new StringValueMap(costInputs.productCostsByProductId);\n    whatIfProductCostsByProductId.set(productId, new ProductCost(decimalUtils.numberStringToDecimal(hypotheticalCostAmount), currentProductCost.getUnit()));\n\n    const whatIfRows = buildSalesItemUsageRows(productId, { ...costInputs, productCostsByProductId: whatIfProductCostsByProductId });\n    const whatIfRowsBySalesItemId = new Map(whatIfRows.map((whatIfRow) => [whatIfRow.salesItemId, whatIfRow]));\n\n    return currentRows.map((currentRow) => {\n        const whatIfRow = whatIfRowsBySalesItemId.get(currentRow.salesItemId);\n        if (typeof whatIfRow === 'undefined') {\n            throw new RuntimeException(`unexpected: no what-if row for sales item ${ currentRow.salesItemId }`);\n        }\n        return whatIfRow;\n    });\n};\n","import React, { useMemo, useState } from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { SalesItemDisplayUtils } from 'api/SalesItem/utils/SalesItemDisplayUtils';\nimport { useGetProductSalesItemUsageQuery } from 'apps/ItemCard/insights/api/insightsApi';\nimport { ISalesItemUsageRow } from 'apps/ItemCard/insights/models/types';\nimport {\n    buildSalesItemUsageRows,\n    getCostPercentDelta,\n    getDefaultThresholdPercent,\n    getRowsAboveThreshold,\n    getWhatIfRows,\n    isAboveThreshold,\n} from 'apps/ItemCard/insights/utils/salesItemUsageUtils';\nimport { Button } from 'shared/components/Button';\nimport { Pill } from 'shared/components/Pill/Pill';\nimport { ValidationInput } from 'shared/components/ValidationInput';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\nimport { numberUtils } from 'shared/utils/numberUtils';\nimport { AppUrls } from 'shared/utils/appUrls';\nimport { StringUtils } from 'shared/utils/stringUtils';\nimport { Validation } from 'shared/validators/validators';\n\nimport { InsightsSection } from './InsightsSection';\n\ninterface IUsedInSectionProps {\n    productId : ProductId;\n    product : Product;\n}\n\nconst formatPercent = (percent : number) => `${ numberUtils.FormatToMaximumTwoDecimalPlaces(percent) }%`;\n\ninterface IUsedInRowProps {\n    row : ISalesItemUsageRow;\n    // The row re-costed at the what-if cost; null when no what-if cost is entered\n    whatIfRow : ISalesItemUsageRow | null;\n    thresholdPercent : number | null;\n    product : Product;\n}\n\nconst UsedInRow : React.FC<IUsedInRowProps> = ({ row, whatIfRow, thresholdPercent, product }) => {\n    const displayedRow = whatIfRow ?? row;\n    const costPercentDelta = getCostPercentDelta(row, whatIfRow);\n    const isOverThreshold = thresholdPercent !== null && isAboveThreshold(displayedRow.costPercent, thresholdPercent);\n\n    return (\n        <div className=\"light-table-row col-row\">\n            <div className=\"col-intable\">\n                <div className=\"cell\">\n                    <a href={ AppUrls.salesItemDetail(window.GLOBAL_RETAILER_ID, row.salesItemId) } target=\"_blank\" rel=\"noreferrer\">{ row.name }</a>\n                    { row.viaNames.length > 0 &&\n                        <div>\n                            <small className=\"muted-label\">\n                                { `via sub-recipe${ row.viaNames.length === 1 ? '' : 's' } ${ row.viaNames.map((viaName) => `\"${ viaName }\"`).join(', ') }` }\n                            </small>\n                        </div>\n                    }\n                </div>\n                <div className=\"cell numeric text-right\">\n                    { row.uses === null ? '-' : SalesItemDisplayUtils.getServingSizeDisplay(product, row.uses, row.uses.getQuantity() !== 1) }\n                </div>\n                <div className=\"cell numeric hidden-xs text-right\">{ FormatMonetaryValueWithCents(row.price) }</div>\n                <div className=\"cell numeric hidden-xs text-right\">{ FormatMonetaryValueWithCents(displayedRow.cost) }</div>\n                <div className={ `cell cost-percent text-right${ isOverThreshold ? ' over' : '' }` }>\n                    { displayedRow.costPercent === null ? '-' : formatPercent(displayedRow.costPercent) }\n                    { costPercentDelta !== null &&\n                        <span className={ `delta${ costPercentDelta < 0 ? ' down' : '' }` }>\n                            { `${ costPercentDelta > 0 ? '+' : '' }${ numberUtils.FormatToMaximumTwoDecimalPlaces(costPercentDelta) }` }\n                        </span>\n                    }\n                </div>\n            </div>\n        </div>\n    );\n};\n\ninterface IWhatIfPanelProps {\n    product : Product;\n    currentProductCost : ProductCost;\n    hypotheticalCostInput : string;\n    isHypotheticalCostValid : boolean;\n    thresholdPercentInput : string;\n    thresholdPercent : number | null;\n    // Rows above the threshold at the what-if cost; null until both are valid\n    aboveThresholdNames : Array<string> | null;\n    onHypotheticalCostInputChange : (value : string) => void;\n    onThresholdPercentInputChange : (value : string) => void;\n    onReset : () => void;\n}\n\nconst WhatIfPanel : React.FC<IWhatIfPanelProps> = ({\n    product,\n    currentProductCost,\n    hypotheticalCostInput,\n    isHypotheticalCostValid,\n    thresholdPercentInput,\n    thresholdPercent,\n    aboveThresholdNames,\n    onHypotheticalCostInputChange,\n    onThresholdPercentInputChange,\n    onReset,\n}) => {\n    const costUnitLabel = PackagingUtils.getDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), currentProductCost.getUnit(), false);\n\n    // Names only: the table already shows each item's what-if cost % and its change\n    let result : React.ReactNode = <span className=\"prompt\">Enter a new cost to see which items go above the threshold.</span>;\n    if (aboveThresholdNames !== null && thresholdPercent !== null) {\n        result = aboveThresholdNames.length === 0 ?\n            `No items above ${ formatPercent(thresholdPercent) } at ${ FormatMonetaryValueWithCents(parseFloat(hypotheticalCostInput)) }.` :\n            (\n                <>\n                    <Pill variant=\"error-light\">{ `${ aboveThresholdNames.length } above ${ formatPercent(thresholdPercent) }` }</Pill>\n                    { aboveThresholdNames.join(', ') }\n                </>\n            );\n    }\n\n    return (\n        <div className=\"what-if\">\n            <div className=\"what-if-inputs\">\n                <span className=\"what-if-label\">What if cost changes?</span>\n                <span className=\"what-if-cost\">\n                    <ValidationInput\n                        type=\"text\"\n                        label={ null }\n                        hintText={ numberUtils.FormatToMinumumTwoAndMaximumThreeDecimalPlaces(decimalToNumber(currentProductCost.getCost())) }\n                        value={ hypotheticalCostInput }\n                        autoFocus={ false }\n                        autoComplete={ null }\n                        isValid={ isHypotheticalCostValid }\n                        errorMessage=\"Invalid value\"\n                        inputClassName=\"\"\n                        handleEnterClick={ null }\n                        handleChange={ (event) => onHypotheticalCostInputChange(event.target.value) }\n                        handleBlur={ null }\n                        handleFocus={ null }\n                        isCurrencyInput={ true }\n                    />\n                </span>\n                <span>{ `/ ${ costUnitLabel }` }</span>\n                <span className=\"what-if-threshold\">\n                    flag above\n                    <ValidationInput\n                        type=\"text\"\n                        label={ null }\n                        hintText={ null }\n                        value={ thresholdPercentInput }\n                        autoFocus={ false }\n                        autoComplete={ null }\n                        isValid={ thresholdPercent !== null }\n                        errorMessage=\"Invalid value\"\n                        inputClassName=\"\"\n                        handleEnterClick={ null }\n                        handleChange={ (event) => onThresholdPercentInputChange(event.target.value) }\n                        handleBlur={ null }\n                        handleFocus={ null }\n                        isPercentInput={ true }\n                    />\n                </span>\n                { hypotheticalCostInput !== '' &&\n                    <span className=\"what-if-reset\">\n                        <Button buttonClassName=\"flat link primary\" isDisabled={ false } isLoading={ false } onClick={ onReset }>Reset</Button>\n                    </span>\n                }\n            </div>\n            <div className=\"what-if-result\">{ result }</div>\n        </div>\n    );\n};\n\n// Keyed by product in ItemCardInsights, so the what-if inputs reset when the card switches product.\n// Inputs are kept as the typed strings so a field can be cleared while editing; parse at use.\nexport const UsedInSection : React.FC<IUsedInSectionProps> = ({ productId, product }) => {\n    const { data, isLoading, error, refetch } = useGetProductSalesItemUsageQuery(productId);\n    // '' means \"use the product's current cost\"\n    const [hypotheticalCostInput, setHypotheticalCostInput] = useState('');\n    // Cost % above which a sales item is flagged. Per-open input, not persisted.\n    const defaultThresholdPercentInput = String(getDefaultThresholdPercent(window.GLOBAL_RETAILER_ACCOUNT_TYPE));\n    const [thresholdPercentInput, setThresholdPercentInput] = useState(defaultThresholdPercentInput);\n    const onResetWhatIf = () => {\n        setHypotheticalCostInput('');\n        setThresholdPercentInput(defaultThresholdPercentInput);\n    };\n\n    const costInputs = data ?? null;\n    const rows = useMemo(() => (costInputs === null ? [] : buildSalesItemUsageRows(productId, costInputs)), [productId, costInputs]);\n    const currentProductCost = costInputs?.productCostsByProductId.get(productId) ?? null;\n\n    const hypotheticalCostAmount = hypotheticalCostInput.trim();\n    const isHypotheticalCostValid = hypotheticalCostAmount === '' || Validation.validateNonNegativeNumber(hypotheticalCostAmount);\n    const thresholdPercentAmount = thresholdPercentInput.trim();\n    const thresholdPercent = Validation.validateNonNegativeNumber(thresholdPercentAmount) ? parseFloat(thresholdPercentAmount) : null;\n\n    const whatIfRows = useMemo(\n        () => ((costInputs !== null && hypotheticalCostAmount !== '' && isHypotheticalCostValid) ?\n            getWhatIfRows(productId, rows, costInputs, hypotheticalCostAmount) :\n            null),\n        [productId, rows, costInputs, hypotheticalCostAmount, isHypotheticalCostValid],\n    );\n    const displayedRows = whatIfRows ?? rows;\n    const aboveThresholdRows = thresholdPercent === null ? null : getRowsAboveThreshold(displayedRows, thresholdPercent);\n    const viaSubRecipeCount = rows.filter((row) => row.viaNames.length > 0).length;\n    const salesItemCountLabel = StringUtils.pluralizeNumber('sales item', rows.length);\n\n    return (\n        <InsightsSection\n            label={ rows.length > 0 ? `Used in ${ salesItemCountLabel }` : 'Used in' }\n            detailLabel={ rows.length > 0 ? 'Current cost · sorted by cost %' : undefined }\n            isLoading={ isLoading }\n            error={ error }\n            errorMessage=\"We couldn't load the sales items that use this item.\"\n            onRetry={ refetch }\n        >\n            { rows.length === 0 &&\n                <div className=\"empty-state\">Not used in any sales items.</div>\n            }\n            { rows.length > 0 &&\n                <div className=\"light-table used-in-table\">\n                    <div className=\"used-in-table-scroll\">\n                        <div className=\"light-table-header\">\n                            <div className=\"col-intable\">\n                                <div className=\"cell\">Sales item</div>\n                                <div className=\"cell numeric text-right\">Uses</div>\n                                <div className=\"cell numeric hidden-xs text-right\">Price</div>\n                                <div className=\"cell numeric hidden-xs text-right\">Cost</div>\n                                <div className=\"cell cost-percent text-right\">Cost %</div>\n                            </div>\n                        </div>\n                        { rows.map((row, index) => (\n                            <UsedInRow\n                                key={ row.salesItemId }\n                                row={ row }\n                                whatIfRow={ whatIfRows === null ? null : whatIfRows[index] }\n                                thresholdPercent={ thresholdPercent }\n                                product={ product }\n                            />\n                        )) }\n                    </div>\n                    <div className=\"used-in-footer\">\n                        <span>\n                            { salesItemCountLabel }\n                            { viaSubRecipeCount > 0 && ` · ${ viaSubRecipeCount } via sub-recipe` }\n                        </span>\n                        { aboveThresholdRows !== null && thresholdPercent !== null &&\n                            <span>{ `${ aboveThresholdRows.length } above ${ formatPercent(thresholdPercent) }` }</span>\n                        }\n                    </div>\n                </div>\n            }\n            { rows.length > 0 && currentProductCost !== null &&\n                <WhatIfPanel\n                    product={ product }\n                    currentProductCost={ currentProductCost }\n                    hypotheticalCostInput={ hypotheticalCostInput }\n                    isHypotheticalCostValid={ isHypotheticalCostValid }\n                    thresholdPercentInput={ thresholdPercentInput }\n                    thresholdPercent={ thresholdPercent }\n                    aboveThresholdNames={ (whatIfRows !== null && aboveThresholdRows !== null) ? aboveThresholdRows.map((row) => row.name) : null }\n                    onHypotheticalCostInputChange={ setHypotheticalCostInput }\n                    onThresholdPercentInputChange={ setThresholdPercentInput }\n                    onReset={ onResetWhatIf }\n                />\n            }\n        </InsightsSection>\n    );\n};\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { ItemCardHeader } from 'apps/ItemCard/components/ItemCardHeader';\n\nimport { StockSection } from './sections/StockSection';\nimport { UsedInSection } from './sections/UsedInSection';\n\nimport '../css/ItemCardInsights.scss';\n\nexport interface IItemCardInsightsProps {\n    productId : ProductId;\n    product : Product;\n    namesByUserAccountId : StringValueMap<UserAccountId, IUserName>;\n}\n\nexport const ItemCardInsights : React.FC<IItemCardInsightsProps> = ({ productId, product, namesByUserAccountId }) => (\n    <div className=\"item-card-insights\">\n        <ItemCardHeader product={ product } namesByUserAccountId={ namesByUserAccountId } />\n        <div className=\"item-card-insights-body\">\n            <StockSection productId={ productId } product={ product } />\n            { /* TODO: this only hides the section. The sales item Thrift reads check location access, not sales reporting access;\n                   consider enforcing it server-side (needs a sales reporting RetailerPermission in Java). */ }\n            { window.GLOBAL_RETAILER_PERMISSIONS.can_access_sales_reporting &&\n                <UsedInSection key={ productId.getValue() } productId={ productId } product={ product } />\n            }\n        </div>\n    </div>\n);\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { getProductStatus } from 'api/Product/utils/productUtils';\nimport { DuplicateMatch, MatchReason } from 'apps/ItemManager/utils/duplicateDetectionUtils';\nimport { Dialog } from 'shared/components/Dialog';\nimport { ProductName } from 'shared/components/ProductName/ProductName';\nimport { IModalButton } from 'shared/models/Modal';\nimport { Button } from 'shared/components/Button';\n\nimport '../css/PotentialDuplicateDialog.scss';\n\nexport interface IPotentialDuplicateDialogProps {\n    readonly duplicateMatches : Array<DuplicateMatch>;\n    readonly productsById : StringValueMap<ProductId, Product>;\n    readonly activeProductIds : StringValueSet<ProductId>;\n    readonly deletedProductIds : StringValueSet<ProductId>;\n    readonly onSaveAnywayClick : () => void;\n    readonly onCancelClick : () => void;\n    readonly onGoToItemClick : (productId : ProductId) => void;\n}\n\nconst getMatchReasonLabel = (reason : MatchReason) : string => {\n    switch (reason) {\n        case 'both':\n            return 'Matching name and SKU';\n        case 'sku':\n            return 'Matching SKU';\n        case 'name':\n            return 'Matching name';\n    }\n};\n\nexport const PotentialDuplicateDialog : React.FC<IPotentialDuplicateDialogProps> = ({\n    duplicateMatches,\n    productsById,\n    activeProductIds,\n    deletedProductIds,\n    onSaveAnywayClick,\n    onCancelClick,\n    onGoToItemClick,\n}) => {\n    const buttons : Array<IModalButton> = [\n        {\n            onClick: onCancelClick,\n            classes: 'flat close-dialog-action-button',\n            isDisabled: false,\n            isLoading: false,\n            children: 'Cancel',\n        },\n        {\n            onClick: onSaveAnywayClick,\n            classes: 'primary flat',\n            isDisabled: false,\n            isLoading: false,\n            children: 'Save Anyway',\n        },\n    ];\n\n    return (\n        <Dialog\n            className=\"potential-duplicate-dialog\"\n            buttons={ buttons }\n            headerText=\"Potential Duplicate Found\"\n        >\n            <p className=\"potential-duplicate-dialog-message\">\n                The item you are creating may already exist. The following items were found with a matching name/brand or SKU:\n            </p>\n            <div className=\"potential-duplicate-dialog-matches\">\n                { duplicateMatches.map((match, index) => {\n                    const product = productsById.get(match.productId);\n                    if (!product) {\n                        return null;\n                    }\n\n                    const sku = product.getSku().trim();\n                    const productStatus = getProductStatus(match.productId, deletedProductIds, activeProductIds);\n\n                    return (\n                        <div key={ index } className=\"potential-duplicate-dialog-match-row\">\n                            <div className=\"potential-duplicate-dialog-match-info\">\n                                <ProductName\n                                    product={ product }\n                                    sku={ sku || null }\n                                    productStatus={ productStatus }\n                                />\n                                <span className=\"potential-duplicate-dialog-match-reason\">{ getMatchReasonLabel(match.reason) }</span>\n                            </div>\n                            <Button\n                                buttonClassName=\"flat primary link\"\n                                onClick={ () => onGoToItemClick(match.productId) }\n                                isDisabled={false}\n                                isLoading={false}\n                            >\n                                Go to Item\n                            </Button>\n                        </div>\n                    );\n                }) }\n            </div>\n            <p className=\"potential-duplicate-dialog-prompt\">\n                Would you like to go back and review, or save this item anyway?\n            </p>\n        </Dialog>\n    );\n};\n","import React from 'react';\nimport * as ReactDOM from 'react-dom';\n\nimport { Dialog } from 'shared/components/Dialog';\nimport { IModalButton } from 'shared/models/Modal';\n\nimport '../css/ProductModificationConfirmationDialog.scss';\n\nexport interface IProductModificationConfirmationDialogProps {\n    readonly onCreateNewClick : () => void;\n    readonly onModifyExistingClick : () => void;\n    readonly onCancelClick : () => void;\n}\n\nexport class ProductModificationConfirmationDialog extends React.Component<IProductModificationConfirmationDialogProps, object> {\n\n    public render() {\n        const {\n            onCreateNewClick,\n            onModifyExistingClick,\n            onCancelClick,\n        } = this.props;\n\n        const buttons : Array<IModalButton> = [\n            {\n                onClick: onCancelClick,\n                classes: 'primary flat large close-dialog-action-button',\n                isDisabled: false,\n                isLoading: false,\n                children: 'Cancel',\n            },\n            {\n                onClick: onModifyExistingClick,\n                classes: 'primary flat large',\n                isDisabled: false,\n                isLoading: false,\n                children: 'Modify Existing',\n            },\n            {\n                onClick: onCreateNewClick,\n                classes: 'primary flat large',\n                isDisabled: false,\n                isLoading: false,\n                children: 'Create new',\n            },\n        ];\n\n        return ReactDOM.createPortal(\n            <Dialog\n                className=\"product-modification-confirmation-dialog\"\n                buttons={ buttons }\n                headerText=\"Item Package Modified\"\n            >\n                Modifying an existing item’s package will affect historical records. Are you sure you want to modify the existing item?\n            </Dialog>,\n            document.body\n        );\n    }\n}\n","import React from 'react';\n\nimport { ProductDistributorAssociationFormId } from '../model/ProductDistributorAssociationFormId';\nimport { IProductDistributorAssociationForm, ProductDistributorAssociationFormFieldName } from '../reducers/ItemCardReducers';\n\nimport { Button } from 'shared/components/Button';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput } from 'shared/components/ValidationInput';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { StringValueSet } from 'api/Core/StringValueSet';\n\ninterface IProductDistributorAssociationRowProps {\n    readonly productDistributorAssociationFormId : ProductDistributorAssociationFormId;\n    readonly productDistributorAssociationForm : IProductDistributorAssociationForm;\n    readonly distributorSortedOptionsAndLabelNames : OptionsAndLabelNameTuples;\n    readonly unitSortedOptionsAndLabelNames : OptionsAndLabelNameTuples;\n    readonly onFormFieldChange : (formId : ProductDistributorAssociationFormId, fieldName : ProductDistributorAssociationFormFieldName, value : string) => void;\n    readonly onFormFieldBlur : (formId : ProductDistributorAssociationFormId, fieldName : ProductDistributorAssociationFormFieldName, value : string) => void;\n    readonly onRemoveProductDistributorAssociationForms : (formIds : StringValueSet<ProductDistributorAssociationFormId>) => void;\n    readonly onCreateCustomDistributorClick : (distributorName : string) => void;\n}\n\nexport class ProductDistributorAssociationRow extends React.Component<IProductDistributorAssociationRowProps, object> {\n    public render() {\n        const {\n            productDistributorAssociationForm,\n            distributorSortedOptionsAndLabelNames,\n            unitSortedOptionsAndLabelNames,\n            onCreateCustomDistributorClick\n        } = this.props;\n\n        const {\n            validationInputDataByFieldName,\n        } = productDistributorAssociationForm;\n\n        let distributorSelectedIOption : IOption | null = null;\n        distributorSortedOptionsAndLabelNames.forEach(([labelName, iOptions]) => {\n            iOptions.forEach((iOption) => {\n                if (iOption.value === validationInputDataByFieldName.distributorId.value) {\n                    distributorSelectedIOption = iOption;\n                }\n            });\n        });\n\n        let unitSelectedIOption : IOption | null = null;\n        let priceUnitSelectedIOption : IOption | null = null;\n        let depositUnitLabelString = '';\n        if (unitSortedOptionsAndLabelNames.length > 0) {\n            unitSortedOptionsAndLabelNames[0][1].forEach((packagingUnitOption) => {\n                if (validationInputDataByFieldName.unit.value && (packagingUnitOption.value === validationInputDataByFieldName.unit.value)) {\n                    unitSelectedIOption = packagingUnitOption;\n                }\n\n                if (validationInputDataByFieldName.priceUnit.value && (packagingUnitOption.value === validationInputDataByFieldName.priceUnit.value)) {\n                    priceUnitSelectedIOption = packagingUnitOption;\n                }\n\n                if (validationInputDataByFieldName.depositUnit.value && (packagingUnitOption.value === validationInputDataByFieldName.depositUnit.value)) {\n                    depositUnitLabelString = packagingUnitOption.label;\n                }\n            });\n        }\n\n        return (\n            <div className=\"product-distributor-association-row card\">\n                <div className=\"packaging-section\">\n                    <div className=\"packaging-section-subsection\">\n                        <label className=\"input-label reset-dark-styles\">\n                            Vendor\n                        </label>\n                        <div className=\"floating-dropdown-menu\">\n                            <Select2DropdownMenu\n                                isSearchable={ true }\n                                buttonShouldDisplaySelectedLabel={ true }\n                                selectedOptionHeaderShown={ true }\n                                sortedOptionsAndLabelName={ distributorSortedOptionsAndLabelNames }\n                                selectedOption={ distributorSelectedIOption }\n                                onOptionSelect={ this.onDistributorSelect }\n                                placeholderText=\"Select Vendor\"\n                                emptyState={ null }\n                                hasCreateCustomOption={ true }\n                                createCustomOption={ onCreateCustomDistributorClick }\n                                customOptionGroupLabel=\"My Vendors\"\n                                createCustomOptionButtonLabel={ null }\n                            />\n                        </div>\n                        { validationInputDataByFieldName.distributorId.errorMessage &&\n                            <span className=\"error-text\">{ validationInputDataByFieldName.distributorId.errorMessage }</span>\n                        }\n                    </div>\n                    <div className=\"packaging-section-subsection\">\n                        <label className=\"input-label reset-dark-styles\">\n                            SKU\n                        </label>\n                        <div className=\"packaging-input-group\">\n                            <ValidationInput\n                                key=\"sku\"\n                                inputClassName=\"\"\n                                type=\"text\"\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                value={ validationInputDataByFieldName.sku.value }\n                                errorMessage={ validationInputDataByFieldName.sku.errorMessage }\n                                isValid={ validationInputDataByFieldName.sku.isValid }\n                                handleBlur={ this.onSkuChangeOrBlur }\n                                handleFocus={ null }\n                                handleChange={ this.onSkuChangeOrBlur }\n                                handleEnterClick={ this.doNothing }\n                                label=\"\"\n                                hintText=\"\"\n                                isDisabled={ false }\n                            />\n                        </div>\n                    </div>\n                </div>\n                <div className=\"packaging-section\">\n                    <div className=\"packaging-section-subsection\">\n                        <label className=\"input-label reset-dark-styles\">\n                            Purchasing Unit\n                        </label>\n                        <div className=\"floating-dropdown-menu\">\n                            <Select2DropdownMenu\n                                isSearchable={ false }\n                                buttonShouldDisplaySelectedLabel={ true }\n                                selectedOptionHeaderShown={ false }\n                                sortedOptionsAndLabelName={ unitSortedOptionsAndLabelNames }\n                                selectedOption={ unitSelectedIOption }\n                                onOptionSelect={ this.onUnitSelect }\n                                placeholderText=\"Select Unit\"\n                                emptyState={ null }\n                                hasCreateCustomOption={ false }\n                                createCustomOption={ this.doNothing }\n                                customOptionGroupLabel={ null }\n                                createCustomOptionButtonLabel={ null }\n                            />\n                        </div>\n                        { validationInputDataByFieldName.unit.errorMessage &&\n                            <span className=\"error-text\">{ validationInputDataByFieldName.unit.errorMessage }</span>\n                        }\n                    </div>\n                    <div className=\"packaging-section-subsection\">\n                        <label className=\"input-label reset-dark-styles\">\n                            Price\n                        </label>\n                        <div className=\"packaging-input-group\">\n                            <ValidationInput\n                                key=\"priceAmount\"\n                                inputClassName=\"\"\n                                type=\"text\"\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                errorMessage={ validationInputDataByFieldName.priceAmount.errorMessage }\n                                isValid={ validationInputDataByFieldName.priceAmount.isValid }\n                                handleBlur={ this.onPriceAmountBlur }\n                                handleFocus={ null }\n                                handleChange={ this.onPriceAmountChange }\n                                handleEnterClick={ this.doNothing }\n                                label={ null }\n                                hintText={ null }\n                                value={ validationInputDataByFieldName.priceAmount.value }\n                                isDisabled={ false }\n                                isCurrencyInput={ true }\n                            />\n                            <div className=\"floating-dropdown-menu\">\n                                <Select2DropdownMenu\n                                    isSearchable={ false }\n                                    buttonShouldDisplaySelectedLabel={ true }\n                                    selectedOptionHeaderShown={ false }\n                                    sortedOptionsAndLabelName={ unitSortedOptionsAndLabelNames }\n                                    selectedOption={ priceUnitSelectedIOption }\n                                    onOptionSelect={ this.onPriceUnitSelect }\n                                    placeholderText=\"Select Unit\"\n                                    emptyState={ null }\n                                    hasCreateCustomOption={ false }\n                                    createCustomOption={ this.doNothing }\n                                    customOptionGroupLabel={ null }\n                                    createCustomOptionButtonLabel={ null }\n                                />\n                                { validationInputDataByFieldName.priceUnit.errorMessage &&\n                                    <span className=\"error-text\">{ validationInputDataByFieldName.priceUnit.errorMessage }</span>\n                                }\n                            </div>\n                        </div>\n                    </div>\n                    <div className=\"packaging-section-subsection\">\n                        <label className=\"input-label reset-dark-styles\">\n                            Deposit/ { depositUnitLabelString }\n                        </label>\n                        <div className=\"packaging-input-group\">\n                            <ValidationInput\n                                key=\"depositAmount\"\n                                inputClassName=\"\"\n                                type=\"text\"\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                errorMessage={ validationInputDataByFieldName.depositAmount.errorMessage }\n                                isValid={ validationInputDataByFieldName.depositAmount.isValid }\n                                handleBlur={ this.onDepositAmountBlur }\n                                handleFocus={ null }\n                                handleChange={ this.onDepositAmountChange }\n                                handleEnterClick={ this.doNothing }\n                                label=\"\"\n                                hintText={ null }\n                                value={ validationInputDataByFieldName.depositAmount.value }\n                                isDisabled={ false }\n                                isCurrencyInput={ true }\n                            />\n                        </div>\n                    </div>\n                </div>\n                <Button\n                    buttonClassName=\"remove-btn with-icon flat\"\n                    isDisabled={ false }\n                    isLoading={ false }\n                    onClick={ this.onRemoveProductDistributorAssociationForm }\n                >\n                    <span className=\"bevicon bevico-remove\"/>\n                </Button>\n            </div>\n        );\n    }\n\n    private readonly onDistributorSelect = (distributorIdValue : string) => {\n        this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'distributorId', distributorIdValue);\n    }\n\n    private readonly onUnitSelect = (productQuantityUnitValue : string) => {\n        this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'unit', productQuantityUnitValue);\n\n        if (this.props.productDistributorAssociationForm.validationInputDataByFieldName.priceUnit.value === '') {\n            this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'priceUnit', productQuantityUnitValue);\n            this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'depositUnit', productQuantityUnitValue);\n        }\n    }\n\n    private readonly onSkuChangeOrBlur = (event : React.ChangeEvent<HTMLInputElement> | React.FocusEvent<HTMLInputElement>) => {\n        return this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'sku', event.currentTarget.value);\n    }\n\n    private readonly onPriceAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'priceAmount', event.currentTarget.value);\n    }\n\n    private readonly onPriceAmountBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        this.props.onFormFieldBlur(this.props.productDistributorAssociationFormId, 'priceAmount', event.currentTarget.value);\n    }\n\n    private readonly onPriceUnitSelect = (priceUnitValue : string) => {\n        this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'priceUnit', priceUnitValue);\n        this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'depositUnit', priceUnitValue);\n\n        if (this.props.productDistributorAssociationForm.validationInputDataByFieldName.unit.value === '') {\n            this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'unit', priceUnitValue);\n        }\n    }\n\n    private readonly onDepositAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onFormFieldChange(this.props.productDistributorAssociationFormId, 'depositAmount', event.currentTarget.value);\n    }\n\n    private readonly onDepositAmountBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        this.props.onFormFieldBlur(this.props.productDistributorAssociationFormId, 'depositAmount', event.currentTarget.value);\n    }\n\n    private readonly onRemoveProductDistributorAssociationForm = () => {\n        this.props.onRemoveProductDistributorAssociationForms(new StringValueSet([this.props.productDistributorAssociationFormId]));\n    }\n\n    private readonly doNothing = () => {\n        // Do Nothing\n    }\n}\n","import { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { Unit } from 'api/Product/model/Unit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { UnitUtils } from 'api/Product/utils/UnitUtils';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { packagingWeightUtils } from 'api/Product/utils/packagingWeightUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { CategoryUtils } from 'api/Product/utils/categoryUtils';\n\nimport { IProductFormData, ProductFormFieldName, ProductFormValidationInputDataByFieldName, PackagingWeightFormFieldName, ProductDistributorAssociationFormFieldName } from '../reducers/ItemCardReducers';\nimport { ProductFormUtils } from '../utils/ProductFormUtils';\nimport { DuplicateMatch } from 'apps/ItemManager/utils/duplicateDetectionUtils';\nimport { PotentialDuplicateDialog } from './PotentialDuplicateDialog';\nimport { ProductModificationConfirmationDialog } from './ProductModificationConfirmationDialog';\nimport { ProductDistributorAssociationRow } from './ProductDistributorAssociationRow';\nimport { ProductDistributorAssociationFormId } from '../model/ProductDistributorAssociationFormId';\n\nimport { PriceEstimates } from 'apps/ItemCard/components/PriceEstimates';\nimport { Button } from 'shared/components/Button';\nimport { CheckBox } from 'shared/components/CheckBox';\nimport { DeleteProductsConfirmationDialog } from 'shared/components/DeleteProductsConfirmationDialog';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { ExpandingNote, ExpandingNoteTheme } from 'shared/components/ExpandingNote';\nimport { PackagingForm, PackagingFormValidationInputDataByFieldName } from 'shared/components/Product/PackagingForm';\nimport { PackagingFormUtils } from 'shared/components/Product/PackagingFormUtils';\nimport {\n    addToSortedLabelOptionList,\n    addToSortedOptionList,\n    makeOptionFromValue,\n    OptionsAndLabelNameTuples,\n    Select2DropdownMenu\n} from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput } from 'shared/components/ValidationInput';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\nimport { getCurrencySymbol } from 'shared/models/Currency';\nimport { LabelOrientation } from 'shared/models/InputLabel';\n\nimport '../css/ProductForm.scss';\nimport { logJsWarning } from 'shared/global/datadogLogger';\n\nexport interface IProductFormProps {\n    readonly productId : ProductId | null;\n    readonly categoriesById : StringValueMap<CategoryId, Category>;\n    readonly validationInputDataByFieldName : ProductFormValidationInputDataByFieldName;\n    readonly isValid : boolean;\n    readonly errorMessage : string;\n    readonly isSubmitting : boolean;\n    readonly productFormData : IProductFormData;\n    readonly initialPackagings : Array<Packaging | PackagingFormValidationInputDataByFieldName | null>;\n    readonly onFormFieldChange : (fieldName : ProductFormFieldName, value : string) => void;\n    readonly onFormFieldBlur : (fieldName : ProductFormFieldName, value : string) => void;\n    readonly onPriceFieldChange : (costUnitFormValue : string | null) => void;\n    readonly setUnitsWithConversionForms : (units : Array<string>) => void;\n    readonly onConversionFieldChange : (unit : string, value : string) => void;\n    readonly onConversionFieldBlur : (unit : string, value : string) => void;\n    readonly onPackagingWeightFormFieldChange : (packagingIdValue : string, fieldName : PackagingWeightFormFieldName, value : string) => void;\n    readonly onPackagingWeightFormFieldBlur : (packagingIdValue : string, fieldName : PackagingWeightFormFieldName, value : string) => void;\n    readonly onSetPackagingIdHasPackagingWeightForm : (packagingIdValue : string, hasPackagingWeightForm : boolean) => void;\n    readonly onSetPackagingWeightFormPackagingIdValue : (oldPackagingIdValue : string, newPackagingIdValue : string) => void;\n    readonly onAddProductDistributorAssociationForm : (packagingIndex : number) => void;\n    readonly onProductDistributorAssociationFormFieldChange : (formId : ProductDistributorAssociationFormId, fieldName : ProductDistributorAssociationFormFieldName, value : string, packagingIndex : number | null | undefined) => void;\n    readonly onProductDistributorAssociationFormFieldBlur : (formId : ProductDistributorAssociationFormId, fieldName : ProductDistributorAssociationFormFieldName, value : string, packagingIndex : number | null | undefined) => void;\n    readonly onRemoveProductDistributorAssociationForms : (formIds : StringValueSet<ProductDistributorAssociationFormId>) => void;\n    readonly onSaveProductForm : (productId : ProductId | null, packagings : Array<Packaging | null>, replacedPackagingIds : Array<PackagingId | null>, shouldCheckIfPackagingHasBeenModified : boolean, shouldCheckForDuplicates : boolean) => void;\n    readonly onCreateCustomDistributorClick : (distributorName : string) => void;\n    readonly onProductFormCancelClick : () => void;\n    readonly productModificationConfirmationDialogIsShown : boolean;\n    readonly onProductModificationConfirmationDialogCancelClick : () => void;\n    readonly deleteProductConfirmationDialogIsShown : boolean;\n    readonly setDeleteProductConfirmationDialogIsShown : (isShown : boolean) => void;\n    readonly onConfirmDeleteProduct : (productId : ProductId) => void;\n    readonly onSetProductActiveState : (productId : ProductId, setAsActive : boolean) => void;\n    readonly onSetFocusedField : (fieldName : ProductFormFieldName | PackagingWeightFormFieldName | null) => void;\n    readonly focusedField : ProductFormFieldName | PackagingWeightFormFieldName | null;\n    readonly potentialDuplicateMatches : Array<DuplicateMatch> | null;\n    readonly productsById : StringValueMap<ProductId, Product> | undefined;\n    readonly activeProductIds : StringValueSet<ProductId> | undefined;\n    readonly deletedProductIds : StringValueSet<ProductId> | undefined;\n    readonly onPotentialDuplicateDialogDismiss : () => void;\n    readonly onGoToItem : (productId : ProductId) => void;\n}\n\ninterface IProductFormState {\n    categorySearchBarValue : string | null;\n}\n\nexport class ProductForm extends React.Component<IProductFormProps, IProductFormState> {\n    private readonly currencySymbol = getCurrencySymbol();\n    private packagingFormData : Array<{\n        packagingForm : PackagingForm | null,\n        initialPackaging : Packaging | PackagingFormValidationInputDataByFieldName | null,\n        ref : (packagingForm : PackagingForm) => void,\n        isShown : boolean\n    }>;\n\n    private displayedEmptyWeightValue : string = \"\";\n    private displayedFullWeightValue : string = \"\";\n    private displayedEmptyWeightUnitValue : string = \"\";\n    private displayedFullWeightUnitValue : string = \"\";\n    private productDistributorAssociationFormPackagingIndexByFormId = new StringValueMap<ProductDistributorAssociationFormId, number>();\n\n    public constructor(props : IProductFormProps) {\n        super(props);\n\n        this.packagingFormData = this.getInitialPackagingFormData(props.initialPackagings);\n        this.state = {\n            categorySearchBarValue : null,\n        };\n    }\n\n    public UNSAFE_componentWillReceiveProps(nextProps : IProductFormProps) {\n        if (((nextProps.productId === null) && (nextProps.initialPackagings !== this.props.initialPackagings)) || (nextProps.productId !== this.props.productId)) {\n            this.productDistributorAssociationFormPackagingIndexByFormId = new StringValueMap();\n            this.packagingFormData = this.getInitialPackagingFormData(nextProps.initialPackagings);\n        }\n    }\n\n    public render() {\n        const {\n            validationInputDataByFieldName,\n            isValid,\n            errorMessage,\n            isSubmitting,\n            productFormData,\n            onRemoveProductDistributorAssociationForms,\n            onProductFormCancelClick,\n            productModificationConfirmationDialogIsShown,\n            deleteProductConfirmationDialogIsShown,\n            productId,\n            categoriesById,\n            potentialDuplicateMatches,\n            productsById,\n            activeProductIds,\n            deletedProductIds,\n        } = this.props;\n\n        const productIsActive = (activeProductIds && productId) ? activeProductIds.has(productId) : true;\n        const productIsDeleted = (deletedProductIds && productId) ? deletedProductIds.has(productId) : false;\n        const weightUnitOptions = ProductFormUtils.getWeightUnitOptions();\n\n        let categoryIdSortedOptionsAndLabelNames : OptionsAndLabelNameTuples =\n            productFormData.categorySortedOptionsAndLabelNames;\n        let categorySelectedIOption : IOption | null = null;\n\n        const categoryIdValue : string | null = validationInputDataByFieldName.categoryId.value;\n        if (categoryIdValue) {\n            const categoryId = new CategoryId(categoryIdValue);\n            if (categoriesById.has(categoryId)) {\n                categorySelectedIOption =\n                    ProductFormUtils.makeCategoryOption(categoryId, categoriesById.getRequired(categoryId));\n                categoryIdSortedOptionsAndLabelNames =\n                    addToSortedLabelOptionList(\n                        categoryIdSortedOptionsAndLabelNames,\n                        categoryIdValue,\n                        null,\n                        CategoryUtils.categoryCompareFunction);\n            } else {\n                categorySelectedIOption =\n                    makeOptionFromValue(categoryIdValue);\n                categoryIdSortedOptionsAndLabelNames =\n                    addToSortedLabelOptionList(\n                        categoryIdSortedOptionsAndLabelNames,\n                        categoryIdValue,\n                        null,\n                        CategoryUtils.categoryCompareFunction);\n            }\n        }\n\n        let distributorSelectedIOption : IOption | null = null;\n        productFormData.distributorSortedOptionsAndLabelNames.forEach(([labelName, iOptions]) => {\n            iOptions.forEach((iOption) => {\n                if (iOption.value === validationInputDataByFieldName.distributorId.value) {\n                    distributorSelectedIOption = iOption;\n                }\n            });\n        });\n\n        const shownPackagingFormsValidationInputDataByFieldName = this.getShownPackagingFormsValidationInputDataByFieldName();\n\n        let priceUnitSortedOptionsAndLabelName : OptionsAndLabelNameTuples = [];\n\n        if (shownPackagingFormsValidationInputDataByFieldName.length > 0) { // TODO Cheezy\n            const packagingFormValidationInputDataByFieldName = shownPackagingFormsValidationInputDataByFieldName[0];\n\n            priceUnitSortedOptionsAndLabelName = ProductFormUtils.getPriceUnitIOptions(packagingFormValidationInputDataByFieldName);\n        }\n\n        let productTypeSortedOptionsAndLabelNames : OptionsAndLabelNameTuples =\n            productFormData.productTypeSortedOptionsAndLabelNames;\n        let productTypeSelectedIOption : IOption | null = null;\n\n        const productTypeValue : string | null = validationInputDataByFieldName.type.value;\n        if (productTypeValue) {\n            productTypeSelectedIOption =\n                makeOptionFromValue(productTypeValue);\n            productTypeSortedOptionsAndLabelNames =\n                addToSortedOptionList(productTypeSortedOptionsAndLabelNames, productTypeValue, null);\n        }\n\n        // Deep copy so modifications below don't change saved options\n        const glCodeSortedOptionsAndLabelNames : OptionsAndLabelNameTuples = JSON.parse(JSON.stringify(productFormData.glCodeSortedOptionsAndLabelNames));\n        let glCodeSelectedIOption = null;\n        let glCodeIsCustom = true;\n        const glCodeValue = validationInputDataByFieldName.glCode.value;\n        const selectedCategory = categoryIdValue ? categoriesById.get(new CategoryId(categoryIdValue)) : undefined;\n\n        if (glCodeValue) {\n            glCodeSelectedIOption = {\n                value: validationInputDataByFieldName.glCode.value,\n                label: validationInputDataByFieldName.glCode.value,\n                icon: null,\n            };\n\n            let selectedValueIsIncludedInOptions = false;\n            glCodeSortedOptionsAndLabelNames.forEach(([labelName, iOptions], i) => {\n                iOptions.forEach((iOption, j) => {\n                    if (typeof selectedCategory !== 'undefined' && selectedCategory.getGlCode().trim() === iOption.value) {\n                        iOption = {\n                            value: iOption.value,\n                            label: `Default to Category GL Code (${iOption.value})`,\n                            icon: null,\n                        };\n                        glCodeSortedOptionsAndLabelNames[0][1].splice(j, 1);\n                        glCodeSortedOptionsAndLabelNames[0][1].splice(0, 0, iOption);\n                    }\n                    if (iOption.value === glCodeValue) {\n                        selectedValueIsIncludedInOptions = true;\n                        glCodeSelectedIOption = iOption;\n                        glCodeIsCustom = labelName  === 'Custom GL Codes';\n                    }\n                });\n            });\n\n            if (!selectedValueIsIncludedInOptions) {\n                glCodeSortedOptionsAndLabelNames[0][1].splice(0, 0, glCodeSelectedIOption);\n            }\n        }\n\n        const allPackagingUnitSortedOptionsAndLabelName = ProductFormUtils.getAllPackagingUnitIOptions(shownPackagingFormsValidationInputDataByFieldName, true);\n        let preferredReportingUnitSelectedIOption : IOption | null = null;\n        let parUnitSelectedIOption : IOption | null = null;\n        let costUnitSelectedIOption : IOption | null = null;\n        if (shownPackagingFormsValidationInputDataByFieldName.length > 0) {\n            allPackagingUnitSortedOptionsAndLabelName[0][1].forEach((packagingUnitOption) => {\n                if (validationInputDataByFieldName.preferredReportingUnit.value && (packagingUnitOption.value === validationInputDataByFieldName.preferredReportingUnit.value)) {\n                    preferredReportingUnitSelectedIOption = packagingUnitOption;\n                }\n\n                if (validationInputDataByFieldName.parUnit.value && (packagingUnitOption.value === validationInputDataByFieldName.parUnit.value)) {\n                    parUnitSelectedIOption = packagingUnitOption;\n                }\n\n                if (validationInputDataByFieldName.costUnit.value && (packagingUnitOption.value === validationInputDataByFieldName.costUnit.value)) {\n                    costUnitSelectedIOption = packagingUnitOption;\n                }\n            });\n        }\n\n        const baseUnitSortedOptionsAndLabelName = ProductFormUtils.getBaseUnitIOptions(shownPackagingFormsValidationInputDataByFieldName);\n        let baseUnitSelectedIOption : IOption | null = null;\n        if ((shownPackagingFormsValidationInputDataByFieldName.length > 0) && validationInputDataByFieldName.baseUnit.value) {\n            baseUnitSortedOptionsAndLabelName[0][1].forEach((baseUnitOption) => {\n                if (baseUnitOption.value === validationInputDataByFieldName.baseUnit.value) {\n                    baseUnitSelectedIOption = baseUnitOption;\n                }\n            });\n        }\n\n        const priceUnitSelectedIOption = validationInputDataByFieldName.priceUnit.value ? {\n            value: validationInputDataByFieldName.priceUnit.value,\n            label: validationInputDataByFieldName.priceUnit.value ? oldPackagingUtils.getDisplayTextForUnit(validationInputDataByFieldName.priceUnit.value as Unit) : '',\n            icon: null,\n        } : null;\n\n        const shownPackagingFormDataIndexByFormPackagingIdValue = ProductFormUtils.getPackagingFormDataIndexByFormProductQuantityUnitValue(this.packagingFormData);\n        const resolvedPackagingIndexByFormId = this.getResolvedPackagingIndexByFormId(shownPackagingFormDataIndexByFormPackagingIdValue);\n\n        const distributorSortedOptionsAndLabelNamesWithoutNullVendor : OptionsAndLabelNameTuples = []; // TODO Cheezy clean up when other list of vendors is no longer needed\n        const myVendorsIOptions : Array<IOption> = [];\n        productFormData.distributorSortedOptionsAndLabelNames[0][1].forEach((option) => {\n            if (option.value) {\n                myVendorsIOptions.push(option);\n            }\n        });\n        distributorSortedOptionsAndLabelNamesWithoutNullVendor.push([productFormData.distributorSortedOptionsAndLabelNames[0][0], myVendorsIOptions]);\n\n        const packagingFormRows : Array<JSX.Element> = [];\n        this.packagingFormData.forEach((data, index) => {\n            if (data.isShown) {\n                const productDistributorAssociationFormIds = new StringValueSet<ProductDistributorAssociationFormId>();\n                const productDistributorAssociationRows : Array<JSX.Element> = [];\n\n                if (window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n                    let unitSortedOptionsAndLabelNames : OptionsAndLabelNameTuples = [];\n                    if (data.packagingForm) {\n                        unitSortedOptionsAndLabelNames = ProductFormUtils.getAllPackagingUnitIOptions([data.packagingForm.getValidationInputDataByFieldName()], false);\n                    }\n\n                    validationInputDataByFieldName.productDistributorAssociations.forEach((form, formId) => {\n                        if (resolvedPackagingIndexByFormId.has(formId) && (resolvedPackagingIndexByFormId.getRequired(formId) === index)) {\n                            productDistributorAssociationFormIds.add(formId);\n                            productDistributorAssociationRows.push(\n                                <ProductDistributorAssociationRow\n                                    key={ formId.getValue() }\n                                    productDistributorAssociationFormId={ formId }\n                                    productDistributorAssociationForm={ form }\n                                    distributorSortedOptionsAndLabelNames={ distributorSortedOptionsAndLabelNamesWithoutNullVendor }\n                                    unitSortedOptionsAndLabelNames={ unitSortedOptionsAndLabelNames }\n                                    onFormFieldChange={ this.onProductDistributorAssociationRowFormFieldChange }\n                                    onFormFieldBlur={ this.onProductDistributorAssociationRowFormFieldBlur }\n                                    onRemoveProductDistributorAssociationForms={ onRemoveProductDistributorAssociationForms }\n                                    onCreateCustomDistributorClick={ this.onCreateCustomDistributorClick }\n                                />\n                            );\n                        }\n                    });\n                }\n\n                const onPackagingFormFieldChange = (packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName) => {\n                    this.onPackagingFormFieldChange({\n                        index,\n                        packagingFormValidationInputDataByFieldName\n                    });\n                };\n\n                packagingFormRows.push(\n                    <div key={ index } className=\"product-form-row\">\n                        <div className={ `product-form-row-content product-form-row-content-fill ${ window.GLOBAL_FEATURE_ACCESS.multi_packaging ? 'card' : '' }` }>\n                            { (window.GLOBAL_FEATURE_ACCESS.multi_packaging || (shownPackagingFormsValidationInputDataByFieldName.length > 1)) &&\n                                <Button\n                                    buttonClassName=\"flat right\"\n                                    isDisabled={ shownPackagingFormsValidationInputDataByFieldName.length <= 1 }\n                                    isLoading={ false }\n                                    onClick={ this.onRemovePackagingFormClick(index, productDistributorAssociationFormIds) }\n                                >\n                                    X\n                                </Button>\n                            }\n                            <PackagingForm\n                                ref={ data.ref }\n                                initialPackaging={ data.initialPackaging }\n                                onFormFieldChange={ onPackagingFormFieldChange }\n                            />\n\n                            { window.GLOBAL_FEATURE_ACCESS.multi_vendor &&\n                                <div className=\"product-distributor-associations\">\n                                    { productDistributorAssociationRows.length > 0 &&\n                                        <h6>Purchasing Options</h6>\n                                    }\n                                    { productDistributorAssociationRows }\n\n                                    <Button\n                                        buttonClassName=\"flat primary with-icon no-pad\"\n                                        isDisabled={ false }\n                                        isLoading={ false }\n                                        onClick={ this.onAddProductDistributorAssociationForm(index) }\n                                    >\n                                        <span className=\"main-icon-left bevicon bevico-add\"/>\n                                        Add Purchasing Option\n                                    </Button>\n                                </div>\n                            }\n                        </div>\n                    </div>\n                );\n            }\n        });\n\n        const packagingIdValuesWithPackagingWeightForms = new Set(Object.keys(validationInputDataByFieldName.packagingWeights));\n        const packagingWeightFormPackagingIdIOptions = ProductFormUtils.getPackagingWeightFormPackagingIdIOptions(shownPackagingFormsValidationInputDataByFieldName, packagingIdValuesWithPackagingWeightForms);\n\n        let availablePackagingIdOptionsCount = 0;\n        packagingWeightFormPackagingIdIOptions.forEach((iOption) => {\n            if (!iOption.disabled) {\n                availablePackagingIdOptionsCount += 1;\n            }\n        });\n        const canAddPackagingWeightForm = validationInputDataByFieldName.useCustomWeights.value && (availablePackagingIdOptionsCount > 0);\n\n        const packagingWeightFormRows : Array<JSX.Element> = [];\n        if (validationInputDataByFieldName.useCustomWeights.value) {\n            Object.keys(validationInputDataByFieldName.packagingWeights).map((packagingIdValue) => {\n                const packagingWeightFormValidationInputDataByFieldName = validationInputDataByFieldName.packagingWeights[packagingIdValue];\n\n                let packagingIdSelectedIOption : IOption | null = null;\n                allPackagingUnitSortedOptionsAndLabelName[0][1].forEach((packagingUnitOption) => {\n                    if (packagingUnitOption.value === packagingIdValue) {\n                        packagingIdSelectedIOption = packagingUnitOption;\n                    }\n                });\n\n                let packagingWeightFormIsValid = true;\n                Object.keys(packagingWeightFormValidationInputDataByFieldName).forEach((packagingWeightKey) => {\n                    const fieldName = packagingWeightKey as PackagingWeightFormFieldName;\n                    const value = (packagingWeightFormValidationInputDataByFieldName)[fieldName].value;\n\n                    const validationResult = ProductFormUtils.validatePackagingWeightValueByFieldName(fieldName, value);\n                    packagingWeightFormIsValid = packagingWeightFormIsValid && validationResult.isValid;\n                });\n\n                let defaultEmptyWeightValue : null | string = null;\n                let defaultFullWeightValue : null | string = null;\n                let defaultEmptyWeightUnit : null | MassUnit = null;\n                let defaultFullWeightUnit : null | MassUnit = null;\n                const shownPackagingFormDataIndex = shownPackagingFormDataIndexByFormPackagingIdValue.get(packagingIdValue);\n                if (packagingWeightFormIsValid && (typeof shownPackagingFormDataIndex !== 'undefined')) {\n                    const packagingFormData = this.packagingFormData[shownPackagingFormDataIndex.index];\n\n                    if (packagingFormData.packagingForm && (shownPackagingFormDataIndex.productQuantityUnit instanceof PackagingId)) {\n                        const packaging = packagingFormData.packagingForm.getPackaging(false);\n\n                        if (packaging) {\n                            const containedPackaging = PackagingUtils.getPackagingForContainedPackagingId(packaging, shownPackagingFormDataIndex.productQuantityUnit);\n                            const formPackagingWeight = ProductFormUtils.getPackagingWeight(packagingWeightFormValidationInputDataByFieldName);\n\n                            const defaultPackagingWeight = packagingWeightUtils.getPackagingWeightWithDefaultsApplied(containedPackaging, formPackagingWeight);\n                            const defaultFullWeight = defaultPackagingWeight.getFullWeight();\n                            const defaultEmptyWeight = defaultPackagingWeight.getEmptyWeight();\n\n                            if (defaultEmptyWeight) {\n                                defaultEmptyWeightValue = defaultEmptyWeight.getQuantity().toFixed(1);\n                                defaultEmptyWeightUnit = defaultEmptyWeight.getUnit();\n                            }\n\n                            if (defaultFullWeight) {\n                                defaultFullWeightValue = defaultFullWeight.getQuantity().toFixed(1);\n                                defaultFullWeightUnit = defaultFullWeight.getUnit();\n                            }\n                        }\n                    }\n                }\n\n                let emptyWeightUnitSelectedIOption = null;\n                if (!packagingWeightFormValidationInputDataByFieldName.emptyWeightQuantity.value && defaultEmptyWeightValue && defaultEmptyWeightUnit) {\n                    emptyWeightUnitSelectedIOption = {\n                        value: defaultEmptyWeightUnit,\n                        label: oldPackagingUtils.getDisplayTextForUnit(defaultEmptyWeightUnit),\n                        icon: null,\n                    };\n                } else if (packagingWeightFormValidationInputDataByFieldName.emptyWeightUnit.value) {\n                    emptyWeightUnitSelectedIOption = {\n                        value: packagingWeightFormValidationInputDataByFieldName.emptyWeightUnit.value,\n                        label: oldPackagingUtils.getDisplayTextForUnit(packagingWeightFormValidationInputDataByFieldName.emptyWeightUnit.value as MassUnit),\n                        icon: null,\n                    };\n                }\n\n                let fullWeightUnitSelectedIOption = null;\n                if (!packagingWeightFormValidationInputDataByFieldName.fullWeightQuantity.value && defaultFullWeightValue && defaultFullWeightUnit) {\n                    fullWeightUnitSelectedIOption = {\n                        value: defaultFullWeightUnit,\n                        label: oldPackagingUtils.getDisplayTextForUnit(defaultFullWeightUnit),\n                        icon: null,\n                    };\n                } else if (packagingWeightFormValidationInputDataByFieldName.fullWeightUnit.value) {\n                    fullWeightUnitSelectedIOption = {\n                        value: packagingWeightFormValidationInputDataByFieldName.fullWeightUnit.value,\n                        label: oldPackagingUtils.getDisplayTextForUnit(packagingWeightFormValidationInputDataByFieldName.fullWeightUnit.value as MassUnit),\n                        icon: null,\n                    };\n                }\n\n                this.displayedEmptyWeightValue = packagingWeightFormValidationInputDataByFieldName.emptyWeightQuantity.value || defaultEmptyWeightValue || '';\n                this.displayedFullWeightValue = packagingWeightFormValidationInputDataByFieldName.fullWeightQuantity.value || defaultFullWeightValue || '';\n                this.displayedEmptyWeightUnitValue = emptyWeightUnitSelectedIOption ? emptyWeightUnitSelectedIOption.value : '';\n                this.displayedFullWeightUnitValue = fullWeightUnitSelectedIOption ? fullWeightUnitSelectedIOption.value : '';\n\n                packagingWeightFormRows.push(\n                    <div key={ packagingIdValue } className=\"packaging-weight-row\">\n                        <Button\n                            buttonClassName=\"remove-btn with-icon flat\"\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ this.onRemovePackagingWeightFormClick(packagingIdValue) }\n                        >\n                            <span className=\"bevicon bevico-remove\"/>\n                        </Button>\n                        <div className=\"product-form-row-content product-form-row-content-fill\">\n                            <div className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                <div className=\"product-form-row-flex-block packaging-id-dropdown floating-dropdown-menu\">\n                                    <Select2DropdownMenu\n                                        isSearchable={ false }\n                                        buttonShouldDisplaySelectedLabel={ true }\n                                        selectedOptionHeaderShown={ false }\n                                        sortedOptionsAndLabelName={ [[null, packagingWeightFormPackagingIdIOptions]] }\n                                        selectedOption={ packagingIdSelectedIOption }\n                                        onOptionSelect={ this.onPackagingWeightFormPackagingIdValueSelect(packagingIdValue) }\n                                        placeholderText=\"Select Unit\"\n                                        emptyState={ null }\n                                        hasCreateCustomOption={ false }\n                                        createCustomOption={ this.doNothing }\n                                        customOptionGroupLabel={ null }\n                                        createCustomOptionButtonLabel={ null }\n                                    />\n                                </div>\n                                <div className=\"product-form-row-flex-block empty-and-full-weight-section floating-dropdown-menu\">\n                                    <div className=\"product-form-weight-cell\">\n                                        <div className=\"product-form-weight-cell-input-wrap\">\n                                            <ValidationInput\n                                                key=\"emptyWeightQuantity\"\n                                                inputClassName=\"\"\n                                                type=\"text\"\n                                                autoFocus={ false }\n                                                autoComplete={ null }\n                                                value={ packagingWeightFormValidationInputDataByFieldName.emptyWeightQuantity.value }\n                                                errorMessage={ packagingWeightFormValidationInputDataByFieldName.emptyWeightQuantity.errorMessage }\n                                                isValid={ packagingWeightFormValidationInputDataByFieldName.emptyWeightQuantity.isValid }\n                                                handleBlur={ this.onEmptyWeightQuantityBlur(packagingIdValue) }\n                                                handleFocus={ null }\n                                                handleChange={ this.onEmptyWeightQuantityChange(packagingIdValue) }\n                                                handleEnterClick={ this.doNothing }\n                                                label=\"Tare\"\n                                                hintText={ defaultEmptyWeightValue }\n                                                isDisabled={ false }\n                                            />\n                                        </div>\n                                        <div className=\"floating-dropdown-menu\">\n                                            <Select2DropdownMenu\n                                                isSearchable={ false }\n                                                buttonShouldDisplaySelectedLabel={ true }\n                                                selectedOptionHeaderShown={ false }\n                                                sortedOptionsAndLabelName={ weightUnitOptions }\n                                                selectedOption={ emptyWeightUnitSelectedIOption }\n                                                onOptionSelect={ this.onEmptyWeightUnitSelect(packagingIdValue) }\n                                                placeholderText={ null }\n                                                emptyState={ null }\n                                                hasCreateCustomOption={ false }\n                                                createCustomOption={ this.doNothing }\n                                                customOptionGroupLabel={ null }\n                                                isDisabled={ false }\n                                                createCustomOptionButtonLabel={ null }\n                                            />\n                                        </div>\n                                    </div>\n                                    <div className=\"product-form-weight-cell\">\n                                        <div className=\"product-form-weight-cell-input-wrap\">\n                                            <ValidationInput\n                                                key=\"fullWeightQuantity\"\n                                                inputClassName=\"\"\n                                                type=\"text\"\n                                                autoFocus={ false }\n                                                autoComplete={ null }\n                                                value={ packagingWeightFormValidationInputDataByFieldName.fullWeightQuantity.value }\n                                                errorMessage={ packagingWeightFormValidationInputDataByFieldName.fullWeightQuantity.errorMessage }\n                                                isValid={ packagingWeightFormValidationInputDataByFieldName.fullWeightQuantity.isValid }\n                                                handleBlur={ this.onFullWeightQuantityBlur(packagingIdValue) }\n                                                handleFocus={ null }\n                                                handleChange={ this.onFullWeightQuantityChange(packagingIdValue) }\n                                                handleEnterClick={ this.doNothing }\n                                                label=\"Full\"\n                                                hintText={ defaultFullWeightValue }\n                                                isDisabled={ false }\n                                            />\n                                        </div>\n                                        <div className=\"floating-dropdown-menu\">\n                                            <Select2DropdownMenu\n                                                isSearchable={ false }\n                                                buttonShouldDisplaySelectedLabel={ true }\n                                                selectedOptionHeaderShown={ false }\n                                                sortedOptionsAndLabelName={ weightUnitOptions }\n                                                selectedOption={ fullWeightUnitSelectedIOption }\n                                                onOptionSelect={ this.onFullWeightUnitSelect(packagingIdValue) }\n                                                placeholderText={ null }\n                                                emptyState={ null }\n                                                hasCreateCustomOption={ false }\n                                                createCustomOption={ this.doNothing }\n                                                customOptionGroupLabel={ null }\n                                                isDisabled={ false }\n                                                createCustomOptionButtonLabel={ null }\n                                            />\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                );\n            });\n        }\n\n        const sortedPriceEstimates : Array<{ unit : string, priceEstimateString : string}> = []; // TODO Cheezy\n        const categorySearchBarValue = this.state.categorySearchBarValue;\n        const isDuplicateCategoryName = categorySearchBarValue ? CategoryUtils.isDuplicateCategoryName(categorySearchBarValue, null, categoriesById) : false;\n        return (\n            <div className=\"product-form\">\n                <div className=\"product-form-container\">\n                    <div className=\"item-card-header dark\">\n                        <ValidationInput\n                            key=\"brand\"\n                            inputClassName=\"product-form-brand-input\"\n                            type=\"text\"\n                            autoFocus={ false }\n                            autoComplete={ null }\n                            value={ validationInputDataByFieldName.brand.value }\n                            errorMessage={ validationInputDataByFieldName.brand.errorMessage }\n                            isValid={ validationInputDataByFieldName.brand.isValid }\n                            handleBlur={ this.onBrandChangeOrBlur }\n                            handleFocus={ null }\n                            handleChange={ this.onBrandChangeOrBlur }\n                            handleEnterClick={ this.doNothing }\n                            label=\"Item Brand\"\n                            hintText={ null }\n                            isDisabled={ false }\n                        />\n\n                        <ValidationInput\n                            key=\"name\"\n                            inputClassName=\"product-form-name-input\"\n                            type=\"text\"\n                            autoFocus={ false }\n                            autoComplete={ null }\n                            value={ validationInputDataByFieldName.name.value }\n                            errorMessage={ validationInputDataByFieldName.name.errorMessage }\n                            isValid={ validationInputDataByFieldName.name.isValid }\n                            handleBlur={ this.onNameChangeOrBlur }\n                            handleFocus={ null }\n                            handleChange={ this.onNameChangeOrBlur }\n                            handleEnterClick={ this.doNothing }\n                            label=\"Item Name\"\n                            hintText={ null }\n                            isDisabled={ false }\n                        />\n                        <div className=\"product-form-dropdown-row\">\n                            <div className={ `floating-dropdown-menu ${ !validationInputDataByFieldName.categoryId.isValid ? 'validation-error' : ''}` }>\n                                { !validationInputDataByFieldName.categoryId.isValid &&\n                                    <span className=\"error-text\">{ validationInputDataByFieldName.categoryId.errorMessage }</span>\n                                }\n                                <label>Category</label>\n                                <Select2DropdownMenu\n                                    isSearchable={ true }\n                                    buttonShouldDisplaySelectedLabel={ true }\n                                    selectedOptionHeaderShown={ true }\n                                    sortedOptionsAndLabelName={ categoryIdSortedOptionsAndLabelNames }\n                                    selectedOption={ categorySelectedIOption }\n                                    onOptionSelect={ this.onCategoryIdSelect }\n                                    placeholderText=\"Select Category\"\n                                    emptyState={ null }\n                                    hasCreateCustomOption={ !isDuplicateCategoryName }\n                                    createCustomOption={ isDuplicateCategoryName ? null : this.onCreateCustomCategoryId }\n                                    onSearchValueChanged={ this.onCategorySearchValueChanged }\n                                    customOptionGroupLabel={ null }\n                                    isTitleCase={ true }\n                                    createCustomOptionButtonLabel={ null }\n                                />\n                            </div>\n                            <div className=\"floating-dropdown-menu\">\n                                <label>Subcategory (optional)</label>\n                                <Select2DropdownMenu\n                                    isSearchable={ true }\n                                    buttonShouldDisplaySelectedLabel={ true }\n                                    selectedOptionHeaderShown={ true }\n                                    sortedOptionsAndLabelName={ productTypeSortedOptionsAndLabelNames }\n                                    selectedOption={ productTypeSelectedIOption }\n                                    onOptionSelect={ this.onTypeSelect }\n                                    placeholderText=\"Select Subcategory\"\n                                    emptyState={ null }\n                                    hasCreateCustomOption={ true }\n                                    createCustomOption={ this.onCreateCustomType }\n                                    customOptionGroupLabel={ null }\n                                    isTitleCase={ true }\n                                    createCustomOptionButtonLabel={ null }\n                                />\n                            </div>\n                        </div>\n                    </div>\n\n                    <div className=\"form-columns\">\n                        <div className=\"col-left\">\n                            <section className=\"product-form-section\">\n                                <header className=\"product-form-section-header col-row\">\n                                    <div className=\"col-xs-6 no-pad\">\n                                        <h4>Packaging</h4>\n                                    </div>\n                                    <div className=\"col-xs-6 text-right no-pad\">\n                                        { window.GLOBAL_FEATURE_ACCESS.multi_packaging &&\n                                            <Button\n                                                buttonClassName=\"flat with-icon primary right\"\n                                                isDisabled={ false }\n                                                isLoading={ false }\n                                                onClick={ this.onAddPackagingFormClick }\n                                            >\n                                                <span className=\"main-icon-left bevicon bevico-add\"/>\n                                                <span>Add Packaging</span>\n                                            </Button>\n                                        }\n                                    </div>\n                                </header>\n\n                                <div className=\"product-form-content\">\n                                    <div>\n                                        { packagingFormRows }\n                                    </div>\n                                        {/* vendor and vendor sku */}\n                                        { !window.GLOBAL_FEATURE_ACCESS.multi_vendor &&\n                                            <div className=\"product-form-block\">\n                                                <div className=\"product-form-row vendor-form-row\">\n                                                    <div className=\"product-form-row-content\">\n                                                        <h5>Vendor</h5>\n                                                    </div>\n                                                    <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                        <div className=\"product-form-row-flex-block-wrap\">\n                                                            <div className=\"floating-dropdown-menu\">\n                                                                <div className=\"vendor-flex-box floating-dropdown-menu\">\n                                                                    <Select2DropdownMenu\n                                                                        isSearchable={ true }\n                                                                        buttonShouldDisplaySelectedLabel={ true }\n                                                                        selectedOptionHeaderShown={ true }\n                                                                        sortedOptionsAndLabelName={ productFormData.distributorSortedOptionsAndLabelNames }\n                                                                        selectedOption={ distributorSelectedIOption }\n                                                                        onOptionSelect={ this.onDistributorSelect }\n                                                                        placeholderText=\"Select Vendor\"\n                                                                        emptyState={ null }\n                                                                        hasCreateCustomOption={ true }\n                                                                        createCustomOption={ this.onCreateCustomDistributorClick }\n                                                                        customOptionGroupLabel=\"My Vendors\"\n                                                                        createCustomOptionButtonLabel={ null }\n                                                                    />\n                                                                </div>\n                                                            </div>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                                <div className=\"product-form-row base-unit-row\">\n                                                    <div className=\"product-form-row-content\">\n                                                        <h5>SKU</h5>\n                                                    </div>\n                                                    <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                        <div className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                                            <div className=\"product-form-row-flex-block\">\n                                                                <ValidationInput\n                                                                    key=\"sku\"\n                                                                    inputClassName=\"\"\n                                                                    type=\"text\"\n                                                                    autoFocus={ false }\n                                                                    autoComplete={ null }\n                                                                    value={ validationInputDataByFieldName.sku.value }\n                                                                    errorMessage={ validationInputDataByFieldName.sku.errorMessage }\n                                                                    isValid={ validationInputDataByFieldName.sku.isValid }\n                                                                    handleBlur={ this.onSkuChangeOrBlur }\n                                                                    handleFocus={ null }\n                                                                    handleChange={ this.onSkuChangeOrBlur }\n                                                                    handleEnterClick={ this.doNothing }\n                                                                    label={ null }\n                                                                    hintText=\"SKU from invoice\"\n                                                                    isDisabled={ false }\n                                                                />\n                                                            </div>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                            </div>\n                                        }\n\n                                        {/* price and deposit */}\n                                        { !window.GLOBAL_FEATURE_ACCESS.multi_vendor &&\n                                            <div className=\"product-form-block\">\n                                                <div className=\"product-form-row price-form-row\">\n                                                    <div className=\"product-form-row-content\">\n                                                        <h5>Price</h5>\n                                                    </div>\n                                                    <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                        <div className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                                            <div className=\"product-form-row-flex-block floating-dropdown-menu\">\n                                                                <ValidationInput\n                                                                    key=\"priceAmount\"\n                                                                    inputClassName=\"\"\n                                                                    type=\"text\"\n                                                                    autoFocus={ false }\n                                                                    autoComplete={ null }\n                                                                    errorMessage={ validationInputDataByFieldName.priceAmount.errorMessage }\n                                                                    isValid={ validationInputDataByFieldName.priceAmount.isValid }\n                                                                    handleBlur={ this.onPriceAmountBlur }\n                                                                    handleFocus={ null }\n                                                                    handleChange={ this.onPriceAmountChange }\n                                                                    handleEnterClick={ this.doNothing }\n                                                                    label={ null }\n                                                                    hintText={ null }\n                                                                    value={ validationInputDataByFieldName.priceAmount.value }\n                                                                    isDisabled={ false }\n                                                                    isCurrencyInput={ true }\n                                                                />\n                                                                <span>/</span>\n                                                                <div className={ `floating-dropdown-menu ${ !validationInputDataByFieldName.priceUnit.isValid ? 'validation-error' : '' }` }>\n                                                                    { !validationInputDataByFieldName.priceUnit.isValid &&\n                                                                        <span className=\"error-text\">{ validationInputDataByFieldName.priceUnit.errorMessage }</span>\n                                                                    }\n                                                                    <Select2DropdownMenu\n                                                                        isSearchable={ false }\n                                                                        buttonShouldDisplaySelectedLabel={ true }\n                                                                        selectedOptionHeaderShown={ false }\n                                                                        sortedOptionsAndLabelName={ priceUnitSortedOptionsAndLabelName }\n                                                                        selectedOption={ priceUnitSelectedIOption }\n                                                                        onOptionSelect={ this.onPriceUnitSelect }\n                                                                        placeholderText=\"Select Unit\"\n                                                                        emptyState={ null }\n                                                                        hasCreateCustomOption={ false }\n                                                                        createCustomOption={ this.doNothing }\n                                                                        customOptionGroupLabel={ null }\n                                                                        createCustomOptionButtonLabel={ null }\n                                                                    />\n                                                                </div>\n                                                            </div>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                                <div className=\"product-form-row base-unit-row\">\n                                                    <div className=\"product-form-row-content\">\n                                                        <h5>Deposit / { priceUnitSelectedIOption ? priceUnitSelectedIOption.label : '?' }</h5>\n                                                    </div>\n                                                    <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                        <div className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                                            <div className=\"product-form-row-flex-block\">\n                                                                <ValidationInput\n                                                                    key=\"unitDeposit\"\n                                                                    inputClassName=\"\"\n                                                                    type=\"text\"\n                                                                    autoFocus={ false }\n                                                                    autoComplete={ null }\n                                                                    errorMessage={ validationInputDataByFieldName.unitDeposit.errorMessage }\n                                                                    isValid={ validationInputDataByFieldName.unitDeposit.isValid }\n                                                                    value={ validationInputDataByFieldName.unitDeposit.value }\n                                                                    handleBlur={ this.onUnitDepositBlur }\n                                                                    handleFocus={ null }\n                                                                    handleChange={ this.onUnitDepositChange }\n                                                                    handleEnterClick={ this.doNothing }\n                                                                    label={ null }\n                                                                    hintText={ null }\n                                                                    isDisabled={ false }\n                                                                    isCurrencyInput={ true }\n                                                                />\n                                                            </div>\n                                                        </div>\n                                                        <div className=\"product-form-row-flex-block-wrap\">\n                                                            <PriceEstimates\n                                                                currencySymbol={ this.currencySymbol }\n                                                                sortedPriceEstimates={ sortedPriceEstimates }\n                                                            />\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                            </div>\n                                        }\n                                </div>\n                            </section>\n                        </div>\n                        <div className=\"col-right\">\n                            <section className=\"product-form-section product-form-section-reporting\">\n                                <header className=\"product-form-section-header col-row\">\n                                    <div className=\"col-xs-6 no-pad\">\n                                        <h4>Reporting</h4>\n                                    </div>\n                                </header>\n                                    <div className=\"product-form-content\">\n\n                                        {/* preferred reporting unit */}\n                                        <div className=\"product-form-block\">\n                                            <div className=\"product-form-row preferred-reporting-unit-row\">\n                                                <div className=\"product-form-row-content\">\n                                                    <h5>Reporting Unit</h5>\n                                                </div>\n                                                <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                    <div className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                                        <div className=\"product-form-row-flex-block\">\n                                                            <div className={ `floating-dropdown-menu ${ !validationInputDataByFieldName.preferredReportingUnit.isValid ? 'validation-error' : '' }` }>\n                                                                { !validationInputDataByFieldName.preferredReportingUnit.isValid &&\n                                                                    <span className=\"error-text\">{ validationInputDataByFieldName.preferredReportingUnit.errorMessage }</span>\n                                                                }\n                                                                <Select2DropdownMenu\n                                                                    isSearchable={ false }\n                                                                    buttonShouldDisplaySelectedLabel={ true }\n                                                                    selectedOptionHeaderShown={ false }\n                                                                    sortedOptionsAndLabelName={ allPackagingUnitSortedOptionsAndLabelName }\n                                                                    selectedOption={ preferredReportingUnitSelectedIOption }\n                                                                    onOptionSelect={ this.onPreferredReportingUnitSelect }\n                                                                    placeholderText=\"Select Unit\"\n                                                                    emptyState={ null }\n                                                                    hasCreateCustomOption={ false }\n                                                                    createCustomOption={ this.doNothing }\n                                                                    customOptionGroupLabel={ null }\n                                                                    createCustomOptionButtonLabel={ null }\n                                                                />\n                                                            </div>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                            </div>\n\n                                            { (window.GLOBAL_FEATURE_ACCESS.multi_packaging || (shownPackagingFormsValidationInputDataByFieldName.length > 1)) &&\n                                                <div className=\"product-form-row base-unit-row\">\n                                                    <div className=\"product-form-row-content\">\n                                                        <h5>Base Unit</h5>\n                                                    </div>\n                                                    <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                        <div className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                                            <div className=\"product-form-row-flex-block\">\n                                                                <div className={ `floating-dropdown-menu ${ !validationInputDataByFieldName.baseUnit.isValid ? 'validation-error' : '' }` }>\n                                                                    { !validationInputDataByFieldName.baseUnit.isValid &&\n                                                                        <span className=\"error-text\">{ validationInputDataByFieldName.baseUnit.errorMessage }</span>\n                                                                    }\n                                                                    <Select2DropdownMenu\n                                                                        isSearchable={ false }\n                                                                        buttonShouldDisplaySelectedLabel={ true }\n                                                                        selectedOptionHeaderShown={ false }\n                                                                        sortedOptionsAndLabelName={ baseUnitSortedOptionsAndLabelName }\n                                                                        selectedOption={ baseUnitSelectedIOption }\n                                                                        onOptionSelect={ this.onBaseUnitSelect }\n                                                                        placeholderText=\"Select Unit\"\n                                                                        emptyState={ null }\n                                                                        hasCreateCustomOption={ false }\n                                                                        createCustomOption={ this.doNothing }\n                                                                        customOptionGroupLabel={ null }\n                                                                        createCustomOptionButtonLabel={ null }\n                                                                    />\n                                                                </div>\n                                                            </div>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                            }\n                                        </div>\n\n                                        <div className=\"product-form-block\">\n                                            <div className=\"product-form-row cost-form-row\">\n                                                <div className=\"product-form-row-content\">\n                                                    <h5>Cost</h5>\n                                                </div>\n                                                <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                    <div className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                                        <div className=\"product-form-row-flex-block cost-form-row floating-dropdown-menu\">\n                                                            <ValidationInput\n                                                                key=\"costAmount\"\n                                                                inputClassName=\"\"\n                                                                type=\"text\"\n                                                                autoFocus={ false }\n                                                                autoComplete={ null }\n                                                                errorMessage={ validationInputDataByFieldName.costAmount.errorMessage }\n                                                                isValid={ validationInputDataByFieldName.costAmount.isValid }\n                                                                handleBlur={ this.onCostAmountBlur }\n                                                                handleFocus={ null }\n                                                                handleChange={ this.onCostAmountChange }\n                                                                handleEnterClick={ this.doNothing }\n                                                                label={ null }\n                                                                hintText={ null }\n                                                                value={ validationInputDataByFieldName.costAmount.value }\n                                                                isDisabled={ false }\n                                                                isCurrencyInput={ true }\n                                                            />\n                                                            <span>/</span>\n                                                            <div className={ `floating-dropdown-menu ${ !validationInputDataByFieldName.costUnit.isValid ? 'validation-error' : '' }` }>\n                                                                { !validationInputDataByFieldName.costUnit.isValid &&\n                                                                    <span className=\"error-text\">{ validationInputDataByFieldName.costUnit.errorMessage }</span>\n                                                                }\n                                                                <Select2DropdownMenu\n                                                                    isSearchable={ false }\n                                                                    buttonShouldDisplaySelectedLabel={ true }\n                                                                    selectedOptionHeaderShown={ false }\n                                                                    sortedOptionsAndLabelName={ allPackagingUnitSortedOptionsAndLabelName }\n                                                                    selectedOption={ costUnitSelectedIOption }\n                                                                    onOptionSelect={ this.onCostUnitSelect }\n                                                                    placeholderText=\"Select Unit\"\n                                                                    emptyState={ null }\n                                                                    hasCreateCustomOption={ false }\n                                                                    createCustomOption={ this.doNothing }\n                                                                    customOptionGroupLabel={ null }\n                                                                    createCustomOptionButtonLabel={ null }\n                                                                />\n                                                            </div>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                            </div>\n                                            <div className=\"product-form-row par-form-row\">\n                                                <div className=\"product-form-row-content\">\n                                                    <h5>Par</h5>\n                                                </div>\n                                                <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                    <div className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                                        <div className=\"product-form-row-flex-block par-form-row floating-dropdown-menu\">\n                                                            <ValidationInput\n                                                                key=\"parCount\"\n                                                                inputClassName=\"\"\n                                                                type=\"text\"\n                                                                autoFocus={ false }\n                                                                autoComplete={ null }\n                                                                errorMessage={ validationInputDataByFieldName.parCount.errorMessage }\n                                                                isValid={ validationInputDataByFieldName.parCount.isValid }\n                                                                handleBlur={ this.onParCountBlur }\n                                                                handleFocus={ null }\n                                                                handleChange={ this.onParCountChange }\n                                                                handleEnterClick={ this.doNothing }\n                                                                label={ null }\n                                                                hintText={ null }\n                                                                value={ validationInputDataByFieldName.parCount.value }\n                                                                isDisabled={ false }\n                                                            />\n                                                            <div className={ `floating-dropdown-menu ${ !validationInputDataByFieldName.parUnit.isValid ? 'validation-error' : '' }` }>\n                                                                { !validationInputDataByFieldName.parUnit.isValid &&\n                                                                    <span className=\"error-text\">{ validationInputDataByFieldName.parUnit.errorMessage }</span>\n                                                                }\n                                                                <Select2DropdownMenu\n                                                                    isSearchable={ false }\n                                                                    buttonShouldDisplaySelectedLabel={ true }\n                                                                    selectedOptionHeaderShown={ false }\n                                                                    sortedOptionsAndLabelName={ allPackagingUnitSortedOptionsAndLabelName }\n                                                                    selectedOption={ parUnitSelectedIOption }\n                                                                    onOptionSelect={ this.onParUnitSelect }\n                                                                    placeholderText=\"Select Unit\"\n                                                                    emptyState={ null }\n                                                                    hasCreateCustomOption={ false }\n                                                                    createCustomOption={ this.doNothing }\n                                                                    customOptionGroupLabel={ null }\n                                                                    createCustomOptionButtonLabel={ null }\n                                                                />\n                                                            </div>\n                                                        </div>\n                                                    </div>\n                                                </div>\n                                            </div>\n                                        </div>\n\n                                        {/* conversions */}\n                                        { (window.GLOBAL_FEATURE_ACCESS.multi_packaging || (shownPackagingFormsValidationInputDataByFieldName.length > 1)) &&\n                                            <div className=\"product-form-block\">\n                                                <div className=\"product-form-row conversions-row\">\n                                                    <div className=\"product-form-row-content\">\n                                                        <h5>Conversions</h5>\n                                                    </div>\n                                                    <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                        {\n                                                            Object.keys(validationInputDataByFieldName.conversions).map((unit) => {\n                                                                const onConversionFieldChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n                                                                    return this.props.onConversionFieldChange(unit, event.currentTarget.value);\n                                                                };\n\n                                                                const onConversionFieldBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n                                                                    return this.props.onConversionFieldBlur(unit, event.currentTarget.value);\n                                                                };\n\n                                                                const validationInputData = validationInputDataByFieldName.conversions[unit];\n\n                                                                return (\n                                                                    <div key={ unit } className=\"product-form-row-flex-block-wrap flex-block-wrap-row-desktop\">\n                                                                        <div className=\"product-form-row-flex-block\">\n                                                                            <span className=\"unit-label\">{ oldPackagingUtils.getDisplayTextForUnit(unit as Unit) }</span>\n                                                                            <span className=\"cell-pr-sm\">{'->'}</span>\n                                                                            <ValidationInput\n                                                                                inputClassName=\"\"\n                                                                                type=\"text\"\n                                                                                autoFocus={ false }\n                                                                                autoComplete={ null }\n                                                                                value={ validationInputData.value }\n                                                                                errorMessage={ validationInputData.errorMessage }\n                                                                                isValid={ validationInputData.isValid }\n                                                                                handleBlur={ onConversionFieldBlur }\n                                                                                handleFocus={ null }\n                                                                                handleChange={ onConversionFieldChange }\n                                                                                handleEnterClick={ this.doNothing }\n                                                                                label={ null }\n                                                                                hintText={ null }\n                                                                                isDisabled={ false }\n                                                                            />\n                                                                            <span className=\"base-unit-label\">{ baseUnitSelectedIOption ? baseUnitSelectedIOption.label : '?' }</span>\n                                                                        </div>\n                                                                    </div>\n                                                                );\n                                                            })\n                                                        }\n                                                    </div>\n                                                </div>\n                                            </div>\n                                        }\n                                    </div>\n                            </section>\n\n                            { window.GLOBAL_FEATURE_ACCESS.bottle_weighing &&\n                                <section className=\"product-form-section\">\n                                    <header className=\"product-form-section-header\">\n                                        <h4>Inventory Weight</h4>\n                                    </header>\n\n                                    <div className=\"product-form-content\">\n                                        <div className=\"product-form-block\">\n                                            <div className={ `product-form-row ${!validationInputDataByFieldName.useCustomWeights.value ? 'disabled' : ''}` }>\n                                                <div className=\"product-form-row-content\">\n                                                    <div className=\"row\">\n                                                        <div className=\"col-xs-12\">\n                                                            <CheckBox\n                                                                checkBoxTriState={ validationInputDataByFieldName.useCustomWeights.value ? CheckBoxTriState.Checked : CheckBoxTriState.Unchecked }\n                                                                isDisabled={ false }\n                                                                label={ {\n                                                                    labelOrientation: LabelOrientation.LEFT,\n                                                                    value: 'Set custom tare/full weights for this item',\n                                                                } }\n                                                                onClick={ this.onUseCustomWeightsClick }\n                                                            />\n                                                        </div>\n                                                    </div>\n\n                                                    { canAddPackagingWeightForm &&\n                                                        <Button\n                                                            buttonClassName=\"flat\"\n                                                            isDisabled={ false }\n                                                            isLoading={ false }\n                                                            onClick={ this.onAddPackagingWeightFormClick }\n                                                        >\n                                                            <span>Add Packaging Weight</span>\n                                                        </Button>\n                                                    }\n\n                                                    { packagingWeightFormRows }\n\n                                                    <div className=\"product-form-fine-print\">\n                                                        <p>\n                                                            <small>Used for weighing items with a standard mass scale. Set custom weights for the most accurate results.</small>\n                                                        </p>\n                                                    </div>\n                                                </div>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </section>\n                            }\n\n                            <section className=\"product-form-section\">\n                                <header className=\"product-form-section-header\">\n                                    <h4>For your records</h4>\n                                </header>\n\n                                <div className=\"product-form-content\">\n                                    <div className=\"product-form-block\">\n                                        <div className=\"product-form-row\">\n                                            <div className=\"product-form-row-content\">\n                                                <h5>\n                                                    GL Code&nbsp;\n                                                    {\n                                                        glCodeIsCustom &&\n                                                        <span\n                                                            title=\"Custom GL Code added. If integrating with an accounting system through BevSpot, item will inherit category GL code for the integration.\"\n                                                            className=\"bevicon bevico-warning gl-code-warning\"\n                                                        />\n                                                    }\n                                                </h5>\n                                            </div>\n                                            <div className=\"product-form-row-content product-form-row-content-fill\">\n                                                <div className=\"product-form-row-flex-block-wrap\">\n                                                    <div className=\"product-form-row-flex-block floating-dropdown-menu\">\n                                                        <Select2DropdownMenu\n                                                            isSearchable={ true }\n                                                            buttonShouldDisplaySelectedLabel={ true }\n                                                            selectedOptionHeaderShown={ true }\n                                                            sortedOptionsAndLabelName={ glCodeSortedOptionsAndLabelNames }\n                                                            selectedOption={ glCodeSelectedIOption }\n                                                            onOptionSelect={ this.onGLCodeSelect }\n                                                            placeholderText=\"Select GL Code\"\n                                                            emptyState={ null }\n                                                            hasCreateCustomOption={ true }\n                                                            createCustomOption={ this.onGLCodeSelect }\n                                                            customOptionGroupLabel={ \"Custom GL Codes\" }\n                                                            isTitleCase={ false }\n                                                            createCustomOptionButtonLabel={ null }\n                                                        />\n                                                    </div>\n                                                </div>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n\n                                <div className=\"product-form-content\">\n                                    <div className=\"product-form-block\">\n                                        <div className=\"product-form-row\">\n                                            <div className=\"product-form-row-content\">\n                                                <h5>Your notes</h5>\n                                            </div>\n                                            <div className=\"product-form-row-content\">\n                                                <ExpandingNote\n                                                    theme={ ExpandingNoteTheme.Underline }\n                                                    onChange={ this.onNoteChange }\n                                                    onBlur={ this.doNothing }\n                                                    noteContent={ validationInputDataByFieldName.note.value }\n                                                    placeholder=\"Add anything you want to keep track of: ordering info, tasting notes, etc.\"\n                                                    isDisabled={ false }\n                                                />\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                            </section>\n                        </div>\n                    </div>\n                </div>\n\n                <div className=\"item-card-controls\">\n                    { productId !== null && // archive/unarchive + delete for edit products view\n                        <div className=\"left-buttons\">\n                            { productIsActive &&\n                                <Button\n                                    buttonClassName=\"flat with-icon\"\n                                    isDisabled={ isSubmitting }\n                                    isLoading={ false }\n                                    onClick={ this.onSetProductAsInactive }\n                                >\n                                    <span className=\"bevicon bevico-archive main-icon-left\"/>\n                                    <span>Archive</span>\n                                </Button>\n                            }\n                            { !productIsActive && !productIsDeleted &&\n                                <Button\n                                    buttonClassName=\"flat with-icon\"\n                                    isDisabled={ isSubmitting }\n                                    isLoading={ false }\n                                    onClick={ this.onSetProductAsActive }\n                                >\n                                    <span className=\"bevicon bevico-unarchive main-icon-left\"/>\n                                    <span>Unarchive</span>\n                                </Button>\n                            }\n                            { !productIsDeleted &&\n                                <Button\n                                    buttonClassName=\"flat with-icon danger\"\n                                    isDisabled={ isSubmitting }\n                                    isLoading={ false }\n                                    onClick={ this.onShowDeleteProductConfirmationDialog }\n                                >\n                                    <span className=\"bevicon bevico-delete main-icon-left\"/>\n                                    <span>Delete</span>\n                                </Button>\n                            }\n                        </div>\n                    }\n\n                    { !isValid &&\n                        <div className=\"product-form-error-message\">{ errorMessage }</div>\n                    }\n\n                    <div className=\"right-buttons\">\n                        <Button\n                            buttonClassName=\"flat\"\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ onProductFormCancelClick }\n                        >\n                            Cancel\n                        </Button>\n                        <Button\n                            buttonClassName=\"flat primary\"\n                            isDisabled={ isSubmitting || productIsDeleted }\n                            isLoading={ isSubmitting }\n                            onClick={ this.onProductFormSaveClick }\n                        >\n                            Save\n                        </Button>\n                    </div>\n                </div>\n\n                { productModificationConfirmationDialogIsShown &&\n                    <ProductModificationConfirmationDialog\n                        onCreateNewClick={ this.onProductModificationConfirmationDialogCreateNewClick }\n                        onModifyExistingClick={ this.onProductModificationConfirmationDialogModifyExistingClick }\n                        onCancelClick={ this.onProductModificationConfirmationDialogCancelClick }\n                    />\n                }\n                { deleteProductConfirmationDialogIsShown &&\n                    <DeleteProductsConfirmationDialog\n                        onCancelClick={ this.onCloseDeleteProductConfirmationDialog }\n                        onDeleteItemsClick={ this.handleConfirmDeleteProduct }\n                        productIds={ new StringValueSet() }\n                        productsById={ new StringValueMap() }\n                        productIdentificationString={ (validationInputDataByFieldName.brand.value + ' ' + validationInputDataByFieldName.name.value) }\n                        deleteActionInformationText={ null }\n                    />\n                }\n                { potentialDuplicateMatches !== null && productsById && activeProductIds && deletedProductIds &&\n                    <PotentialDuplicateDialog\n                        duplicateMatches={ potentialDuplicateMatches }\n                        productsById={ productsById }\n                        activeProductIds={ activeProductIds }\n                        deletedProductIds={ deletedProductIds }\n                        onSaveAnywayClick={ this.onPotentialDuplicateDialogSaveAnywayClick }\n                        onCancelClick={ this.props.onPotentialDuplicateDialogDismiss }\n                        onGoToItemClick={ this.onPotentialDuplicateDialogViewItemClick }\n                    />\n                }\n            </div>\n        );\n    }\n\n    private readonly getInitialPackagingFormData = (initialPackagings : Array<Packaging | PackagingFormValidationInputDataByFieldName | null>) => {\n        return initialPackagings.map((initialPackaging, index) => {\n            return {\n                packagingForm: null,\n                initialPackaging,\n                ref: this.createPackagingFormRef(index),\n                isShown: true,\n            };\n        });\n    }\n\n    private readonly createPackagingFormRef = (index : number) => {\n        return (packagingForm : PackagingForm) => {\n            if (this.packagingFormData[index]) {\n                this.packagingFormData[index].packagingForm = packagingForm;\n            }\n        };\n    }\n\n    private readonly onBrandChangeOrBlur = (event : React.ChangeEvent<HTMLInputElement> | React.FocusEvent<HTMLInputElement>) => {\n        this.props.onFormFieldChange('brand', event.currentTarget.value);\n    }\n\n    private readonly onNameChangeOrBlur = (event : React.ChangeEvent<HTMLInputElement> | React.FocusEvent<HTMLInputElement>) => {\n        this.props.onFormFieldChange('name', event.currentTarget.value);\n    }\n\n    private readonly onCategoryIdSelect = (categoryIdValue : string) => {\n        this.props.onFormFieldChange('categoryId', categoryIdValue);\n    }\n\n    private readonly onCreateCustomCategoryId = (categoryIdValue : string) => {\n        this.props.onFormFieldChange('categoryId', categoryIdValue);\n    }\n\n    private readonly onTypeSelect = (productType : string) => {\n        this.props.onFormFieldChange('type', productType);\n    }\n\n    private readonly onCreateCustomType = (productType : string) => {\n        this.props.onFormFieldChange('type', productType);\n    }\n\n    // todo: this contains a bunch of defaulting logic that probs should move to ProductFormUtils\n    private readonly onPackagingFormFieldChange = (changeData : {index: number, packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName} | null) => {\n        const shownPackagingFormsValidationInputDataByFieldName = this.getShownPackagingFormsValidationInputDataByFieldName();\n\n        // TODO Cheezy can be smarter with replacement in case where user simply wants to rename package by comparing old and new values\n        if (changeData) {\n            shownPackagingFormsValidationInputDataByFieldName.push(changeData.packagingFormValidationInputDataByFieldName);\n\n            const changeDataPackagingUnitSortedOptionsAndLabelName = ProductFormUtils.getAllPackagingUnitIOptions([changeData.packagingFormValidationInputDataByFieldName], true);\n            const changeDataPackagingUnitSortedOptionsAndLabelNameValueSet = new Set<string>();\n            changeDataPackagingUnitSortedOptionsAndLabelName.forEach((labelNameAndOptions) => {\n                labelNameAndOptions[1].forEach((iOption) => {\n                    changeDataPackagingUnitSortedOptionsAndLabelNameValueSet.add(iOption.value);\n                });\n            });\n\n            this.productDistributorAssociationFormPackagingIndexByFormId.forEach((productDistributorAssociationFormPackagingIndex, formId) => {\n                if (productDistributorAssociationFormPackagingIndex === changeData.index) {\n                    const productDistributorAssociationForm = this.props.validationInputDataByFieldName.productDistributorAssociations.getRequired(formId);\n                    const unitValue = productDistributorAssociationForm.validationInputDataByFieldName.unit.value;\n                    const priceUnitValue = productDistributorAssociationForm.validationInputDataByFieldName.priceUnit.value;\n                    const depositUnitValue = productDistributorAssociationForm.validationInputDataByFieldName.depositUnit.value;\n\n                    if (!changeDataPackagingUnitSortedOptionsAndLabelNameValueSet.has(unitValue)) {\n                        this.props.onProductDistributorAssociationFormFieldBlur(formId, 'unit', '', changeData.index);\n                    }\n\n                    if (!changeDataPackagingUnitSortedOptionsAndLabelNameValueSet.has(priceUnitValue)) {\n                        this.props.onProductDistributorAssociationFormFieldBlur(formId, 'priceUnit', '', changeData.index);\n                    }\n\n                    if (!changeDataPackagingUnitSortedOptionsAndLabelNameValueSet.has(depositUnitValue)) {\n                        this.props.onProductDistributorAssociationFormFieldBlur(formId, 'depositUnit', '', changeData.index);\n                    }\n                }\n            });\n        }\n\n        if (shownPackagingFormsValidationInputDataByFieldName.length > 0) {\n            const allPackagingUnitSortedOptionsAndLabelName = ProductFormUtils.getAllPackagingUnitIOptions(shownPackagingFormsValidationInputDataByFieldName, false);\n\n            const allPackagingUnitSortedOptionsAndLabelNameValueSet = new Set<string>();\n            allPackagingUnitSortedOptionsAndLabelName.forEach((labelNameAndOptions) => {\n                labelNameAndOptions[1].forEach((iOption) => {\n                    allPackagingUnitSortedOptionsAndLabelNameValueSet.add(iOption.value);\n                });\n            });\n\n            this.props.validationInputDataByFieldName.productDistributorAssociations.forEach((productDistributorAssociationForm, formId) => {\n                const unitValue = productDistributorAssociationForm.validationInputDataByFieldName.unit.value;\n                const priceUnitValue = productDistributorAssociationForm.validationInputDataByFieldName.priceUnit.value;\n                const depositUnitValue = productDistributorAssociationForm.validationInputDataByFieldName.depositUnit.value;\n                const packagingIndex = this.productDistributorAssociationFormPackagingIndexByFormId.has(formId)\n                    ? this.productDistributorAssociationFormPackagingIndexByFormId.getRequired(formId)\n                    : undefined;\n\n                if (unitValue && !allPackagingUnitSortedOptionsAndLabelNameValueSet.has(unitValue)) {\n                    this.props.onProductDistributorAssociationFormFieldBlur(formId, 'unit', '', packagingIndex);\n                }\n\n                if (priceUnitValue && !allPackagingUnitSortedOptionsAndLabelNameValueSet.has(priceUnitValue)) {\n                    this.props.onProductDistributorAssociationFormFieldBlur(formId, 'priceUnit', '', packagingIndex);\n                }\n\n                if (depositUnitValue && !allPackagingUnitSortedOptionsAndLabelNameValueSet.has(depositUnitValue)) {\n                    this.props.onProductDistributorAssociationFormFieldBlur(formId, 'depositUnit', '', packagingIndex);\n                }\n            });\n\n            const costUnitValue = this.props.validationInputDataByFieldName.costUnit.value;\n            if (!allPackagingUnitSortedOptionsAndLabelNameValueSet.has(costUnitValue)) {\n                this.props.onFormFieldBlur('costUnit', allPackagingUnitSortedOptionsAndLabelName[0][1][0].value || '');\n            }\n\n            const parUnitValue = this.props.validationInputDataByFieldName.parUnit.value;\n            if (!allPackagingUnitSortedOptionsAndLabelNameValueSet.has(parUnitValue)) {\n                this.props.onFormFieldBlur('parUnit', allPackagingUnitSortedOptionsAndLabelName[0][1][0].value || '');\n            }\n\n            const preferredReportingUnitValue = this.props.validationInputDataByFieldName.preferredReportingUnit.value;\n            if (!allPackagingUnitSortedOptionsAndLabelNameValueSet.has(preferredReportingUnitValue)) {\n                if (shownPackagingFormsValidationInputDataByFieldName[0].comesAsCase.value) {\n                    this.props.onFormFieldBlur('preferredReportingUnit', allPackagingUnitSortedOptionsAndLabelName[0][1][1].value || '');\n                } else {\n                    this.props.onFormFieldBlur('preferredReportingUnit', allPackagingUnitSortedOptionsAndLabelName[0][1][0].value || '');\n                }\n            }\n\n            const baseUnitSortedOptionsAndLabelName = ProductFormUtils.getBaseUnitIOptions(shownPackagingFormsValidationInputDataByFieldName);\n            let baseUnitValue = this.props.validationInputDataByFieldName.baseUnit.value;\n\n            const baseUnitIndex = baseUnitSortedOptionsAndLabelName[0][1].findIndex((iOption) => {\n                return iOption.value === baseUnitValue;\n            });\n\n            if (baseUnitIndex === -1) {\n                baseUnitValue = baseUnitSortedOptionsAndLabelName[0][1][0].value || '';\n                this.props.onFormFieldBlur('baseUnit', baseUnitValue);\n            }\n\n            this.handleBaseUnitChange(baseUnitValue, changeData);\n\n            const priceAmountValue = this.props.validationInputDataByFieldName.priceAmount.value;\n            const priceFormValues = ProductFormUtils.getPriceFormValuesForFirstPackaging(\n                shownPackagingFormsValidationInputDataByFieldName[0],\n                this.props.validationInputDataByFieldName.priceUnit.value,\n                priceAmountValue,\n                !window.GLOBAL_FEATURE_ACCESS.multi_vendor,\n            );\n\n            this.props.onFormFieldBlur('priceUnit', priceFormValues.priceUnitValue);\n            if (priceFormValues.priceAmountValue !== priceAmountValue) {\n                this.props.onFormFieldChange('priceAmount', priceFormValues.priceAmountValue);\n            }\n        } else {\n            this.props.onFormFieldBlur('priceUnit', '');\n            this.props.onFormFieldBlur('costUnit', '');\n            this.props.onFormFieldBlur('parUnit', '');\n            this.props.onFormFieldBlur('preferredReportingUnit', '');\n            this.props.onFormFieldBlur('baseUnit', '');\n            this.props.setUnitsWithConversionForms([]);\n        }\n\n        const packagingIdValuesWithPackagingWeightForms = new Set(Object.keys(this.props.validationInputDataByFieldName.packagingWeights));\n        const packagingWeightFormPackagingIdIOptions = ProductFormUtils.getPackagingWeightFormPackagingIdIOptions(shownPackagingFormsValidationInputDataByFieldName, packagingIdValuesWithPackagingWeightForms);\n\n        const availablePackagingIdValues = new Set();\n        packagingWeightFormPackagingIdIOptions.forEach((iOption) => {\n            availablePackagingIdValues.add(iOption.value);\n        });\n\n        Object.keys(this.props.validationInputDataByFieldName.packagingWeights).map((packagingIdValue) => {\n            if (!availablePackagingIdValues.has(packagingIdValue)) {\n                this.props.onSetPackagingIdHasPackagingWeightForm(packagingIdValue, false);\n            }\n        });\n    }\n\n    private readonly handleBaseUnitChange = (baseUnitValue : string, changeData : {index: number, packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName} | null) => {\n        const shownPackagingFormsValidationInputDataByFieldName = this.getShownPackagingFormsValidationInputDataByFieldName();\n        if (changeData) {\n            shownPackagingFormsValidationInputDataByFieldName.push(changeData.packagingFormValidationInputDataByFieldName);\n        }\n\n        if (shownPackagingFormsValidationInputDataByFieldName.length > 0) {\n            const oldConversions = this.props.validationInputDataByFieldName.conversions;\n            const oldSelectedBaseUnitValue = this.props.validationInputDataByFieldName.baseUnit.value;\n\n            const conversionUnits = ProductFormUtils.getUnitsWithConversionForms(shownPackagingFormsValidationInputDataByFieldName, baseUnitValue);\n            this.props.setUnitsWithConversionForms(conversionUnits);\n\n            if (oldSelectedBaseUnitValue === baseUnitValue) {\n                conversionUnits.forEach((unit) => {\n                    if (oldConversions[unit]) {\n                        this.props.onConversionFieldChange(unit, oldConversions[unit].value);\n                    }\n                });\n            } else if ((MassUnit.isMassUnitValue(baseUnitValue) && MassUnit.isMassUnitValue(oldSelectedBaseUnitValue)) || (VolumeUnit.isVolumeUnitValue(baseUnitValue) && VolumeUnit.isVolumeUnitValue(oldSelectedBaseUnitValue))) {\n                const convertedUnitQuantity = UnitUtils.convertUnitQuantity(new QuantityInUnit(1, oldSelectedBaseUnitValue as MassUnit | VolumeUnit), baseUnitValue as MassUnit | VolumeUnit).getQuantity();\n\n                conversionUnits.forEach((unit) => {\n                    if (oldConversions[unit]) {\n                        if (oldConversions[unit].isValid && oldConversions[unit].value) {\n                            this.props.onConversionFieldChange(unit, (parseFloat(oldConversions[unit].value) * convertedUnitQuantity).toString());\n                        } else {\n                            this.props.onConversionFieldChange(unit, oldConversions[unit].value);\n                        }\n                    }\n                });\n            } else if (oldConversions[baseUnitValue]) {\n                const convertedUnitQuantity = (oldConversions[baseUnitValue].isValid && oldConversions[baseUnitValue].value) ? (1.0 / parseFloat(oldConversions[baseUnitValue].value)) : null;\n\n                conversionUnits.forEach((unit) => {\n                    if (oldConversions[unit]) {\n                        if (oldConversions[unit].isValid && oldConversions[unit].value && (convertedUnitQuantity !== null)) {\n                            this.props.onConversionFieldChange(unit, (parseFloat(oldConversions[unit].value) * convertedUnitQuantity).toString());\n                        } else {\n                            this.props.onConversionFieldChange(unit, oldConversions[unit].value);\n                        }\n                    } else if ((unit === oldSelectedBaseUnitValue) && (convertedUnitQuantity !== null)) {\n                        this.props.onConversionFieldChange(unit, convertedUnitQuantity.toString());\n                    }\n                });\n            }\n\n            // TODO Cheezy more conversion cases?\n            // Like handling same unit of measure\n        } else {\n            this.props.setUnitsWithConversionForms([]);\n        }\n    }\n\n    private readonly onPriceAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onFormFieldChange('priceAmount', event.currentTarget.value);\n    }\n\n    private readonly onPriceAmountBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        this.props.onFormFieldBlur('priceAmount', event.currentTarget.value);\n        // A price-amount change does not change the unit, so re-sync cost against the current price unit.\n        this.props.onPriceFieldChange(this.getCostUnitFormValueForPriceUnit(this.props.validationInputDataByFieldName.priceUnit.value));\n        this.props.onSetFocusedField(null);\n    }\n\n    // Resolve the compound cost-unit form value (e.g. \"other (1lbs)\") matching a price-unit short\n    // name (e.g. \"other\") against the live packaging form data, so cost can mirror price even when\n    // the packaging has been edited but not yet saved.\n    private readonly getCostUnitFormValueForPriceUnit = (priceUnitValue : string) : string | null => {\n        return ProductFormUtils.getFormProductQuantityUnitValueForPriceUnit(\n            priceUnitValue,\n            this.getShownPackagingFormsValidationInputDataByFieldName(),\n        );\n    }\n\n    private readonly onPreferredReportingUnitSelect = (preferredReportingUnitValue : string) => {\n        this.props.onFormFieldChange('preferredReportingUnit', preferredReportingUnitValue);\n    }\n\n    private readonly onBaseUnitSelect = (baseUnitValue : string) => {\n        this.props.onFormFieldChange('baseUnit', baseUnitValue);\n        this.handleBaseUnitChange(baseUnitValue, null);\n    }\n\n    private readonly onPriceUnitSelect = (priceUnitValue : string) => {\n        this.props.onFormFieldChange('priceUnit', priceUnitValue);\n        // The price unit changed, so re-point cost at the matching packaging level.\n        this.props.onPriceFieldChange(this.getCostUnitFormValueForPriceUnit(priceUnitValue));\n    }\n\n    private readonly onUnitDepositChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onFormFieldChange('unitDeposit', event.currentTarget.value);\n    }\n\n    private readonly onUnitDepositBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        this.props.onFormFieldBlur('unitDeposit', event.currentTarget.value);\n        this.props.onSetFocusedField(null);\n    }\n\n    private readonly onDistributorSelect = (distributorIdValue : string) => {\n        this.props.onFormFieldChange('distributorId', distributorIdValue);\n    }\n\n    private readonly onCreateCustomDistributorClick = (distributorName : string) => {\n        this.props.onCreateCustomDistributorClick(distributorName);\n    }\n\n    private readonly onUseCustomWeightsClick = () => {\n        const validationInputDataByFieldName = this.props.validationInputDataByFieldName;\n        const newUseCustomWeights = validationInputDataByFieldName.useCustomWeights.value ? '' : 'true';\n        return this.props.onFormFieldChange('useCustomWeights', newUseCustomWeights);\n    }\n\n    private readonly onAddPackagingFormClick = () => {\n        this.packagingFormData.push({\n            packagingForm: null,\n            initialPackaging: null,\n            ref: this.createPackagingFormRef(this.packagingFormData.length),\n            isShown: true,\n        });\n        this.onPackagingFormFieldChange(null);\n        // Deferred until React has rendered the new form, otherwise the scroll targets the previous one\n        window.setTimeout(this.onScrollToNewPackaging);\n    }\n\n    private readonly onScrollToNewPackaging = () => {\n        const container = $(document).find('.product-form-container');\n        // Scroll to the new form itself; the section after Packaging isn't reliably below it\n        const newPackagingForm = container.find('.packaging-form').last();\n        if (newPackagingForm.length && container.length) {\n            container.animate({\n                scrollTop: newPackagingForm.offset().top - container.offset().top + container.scrollTop() - 100\n            }, 500);\n        }\n    }\n\n    // Resolves each purchasing option (product distributor association) to the index of the packaging it belongs\n    // to. The index comes from the form's own packagingIndex, a previously-resolved cached value, or by matching\n    // the form's unit against a shown packaging's units. Forms that resolve to no index (or whose index points at\n    // a packaging that is no longer shown) are \"orphans\": they render nowhere but still count against form\n    // validation, so they must be surfaced or cleaned up to avoid an invisible save blocker.\n    private readonly getResolvedPackagingIndexByFormId = (\n        shownPackagingFormDataIndexByFormPackagingIdValue : ReturnType<typeof ProductFormUtils.getPackagingFormDataIndexByFormProductQuantityUnitValue>,\n    ) : StringValueMap<ProductDistributorAssociationFormId, number> => {\n        const resolvedPackagingIndexByFormId = new StringValueMap<ProductDistributorAssociationFormId, number>();\n\n        this.props.validationInputDataByFieldName.productDistributorAssociations.forEach((form, formId) => {\n            let resolvedPackagingIndex = form.packagingIndex;\n\n            if (resolvedPackagingIndex === null) {\n                if (this.productDistributorAssociationFormPackagingIndexByFormId.has(formId)) {\n                    resolvedPackagingIndex = this.productDistributorAssociationFormPackagingIndexByFormId.getRequired(formId);\n                } else {\n                    const unitValueIndex = shownPackagingFormDataIndexByFormPackagingIdValue.get(form.validationInputDataByFieldName.unit.value);\n\n                    if (unitValueIndex) {\n                        resolvedPackagingIndex = unitValueIndex.index;\n                    }\n                }\n\n                if (resolvedPackagingIndex !== null) {\n                    this.productDistributorAssociationFormPackagingIndexByFormId.set(formId, resolvedPackagingIndex);\n                }\n            }\n\n            if (resolvedPackagingIndex !== null) {\n                resolvedPackagingIndexByFormId.set(formId, resolvedPackagingIndex);\n            }\n        });\n\n        return resolvedPackagingIndexByFormId;\n    }\n\n    // A purchasing option is orphaned when it resolves to no currently-shown packaging. Such a form renders\n    // nowhere but is still validated on save, so callers must either surface it (render) or remove it.\n    private readonly getOrphanedProductDistributorAssociationFormIds = (\n        resolvedPackagingIndexByFormId : StringValueMap<ProductDistributorAssociationFormId, number>,\n    ) : StringValueSet<ProductDistributorAssociationFormId> => {\n        const shownPackagingIndices = new Set<number>();\n        this.packagingFormData.forEach((data, index) => {\n            if (data.isShown) {\n                shownPackagingIndices.add(index);\n            }\n        });\n\n        const orphanedFormIds = new StringValueSet<ProductDistributorAssociationFormId>();\n        this.props.validationInputDataByFieldName.productDistributorAssociations.forEach((_form, formId) => {\n            const isOrphan = !resolvedPackagingIndexByFormId.has(formId)\n                || !shownPackagingIndices.has(resolvedPackagingIndexByFormId.getRequired(formId));\n            if (isOrphan) {\n                orphanedFormIds.add(formId);\n            }\n        });\n\n        return orphanedFormIds;\n    }\n\n    // A purchasing option that resolves to no shown packaging (its unit was cleared, or the packaging it belonged\n    // to was removed) renders nowhere yet still fails form validation, silently blocking save with no field to\n    // fix. Its unit no longer maps to any current packaging, so it can't be saved as-is and its original mapping\n    // is unrecoverable. Heal it by dropping it before saving. The option was never visible to the user, so this\n    // is silent; we log it so we can trace how often the upstream data corruption happens.\n    private readonly removeOrphanedProductDistributorAssociationForms = () => {\n        const shownPackagingFormDataIndexByFormPackagingIdValue = ProductFormUtils.getPackagingFormDataIndexByFormProductQuantityUnitValue(this.packagingFormData);\n        const resolvedPackagingIndexByFormId = this.getResolvedPackagingIndexByFormId(shownPackagingFormDataIndexByFormPackagingIdValue);\n        const orphanedFormIds = this.getOrphanedProductDistributorAssociationFormIds(resolvedPackagingIndexByFormId);\n\n        if (orphanedFormIds.size > 0) {\n            const orphanedFormIdValues : Array<string> = [];\n            orphanedFormIds.forEach((formId) => {\n                orphanedFormIdValues.push(formId.getValue());\n            });\n            logJsWarning(`ItemCard: removing ${ orphanedFormIds.size } orphaned purchasing option(s) that could not be matched to a packaging`, {\n                productIdValue: this.props.productId ? this.props.productId.getValue() : null,\n                orphanedFormIdValues,\n            }, undefined);\n\n            this.props.onRemoveProductDistributorAssociationForms(orphanedFormIds);\n        }\n    }\n\n    private readonly onRemovePackagingFormClick = (index : number, productDistributorAssociationFormIdsToRemove: StringValueSet<ProductDistributorAssociationFormId>) => {\n        return () => {\n            this.packagingFormData[index].isShown = false;\n            this.onPackagingFormFieldChange(null);\n            this.props.onRemoveProductDistributorAssociationForms(productDistributorAssociationFormIdsToRemove);\n        };\n    }\n\n    private readonly onAddProductDistributorAssociationForm = (packagingIndex : number) => {\n        return () => {\n            this.props.onAddProductDistributorAssociationForm(packagingIndex);\n        };\n    }\n\n    private readonly onAddPackagingWeightFormClick = () => {\n        const packagingIdValuesWithPackagingWeightForms = new Set(Object.keys(this.props.validationInputDataByFieldName.packagingWeights));\n        const packagingWeightFormPackagingIdIOptions = ProductFormUtils.getPackagingWeightFormPackagingIdIOptions(this.getShownPackagingFormsValidationInputDataByFieldName(), packagingIdValuesWithPackagingWeightForms);\n\n        const iOptionIndex = packagingWeightFormPackagingIdIOptions.findIndex((iOption) => {\n            return iOption.disabled === false;\n        });\n\n        if (iOptionIndex !== -1) {\n            const packagingIdValue = packagingWeightFormPackagingIdIOptions[iOptionIndex].value;\n            this.props.onSetPackagingIdHasPackagingWeightForm(packagingIdValue, true);\n        }\n    }\n\n    private readonly onPackagingWeightFormPackagingIdValueSelect = (oldPackagingIdValue : string) => {\n        return (newPackagingIdValue : string) => {\n            this.props.onSetPackagingWeightFormPackagingIdValue(oldPackagingIdValue, newPackagingIdValue);\n        };\n    }\n\n    private readonly onEmptyWeightQuantityChange = (packagingIdValue : string) => {\n        return (event : React.ChangeEvent<HTMLInputElement>) => {\n            this.props.onPackagingWeightFormFieldChange(packagingIdValue, 'emptyWeightQuantity', event.currentTarget.value);\n            this.props.onPackagingWeightFormFieldChange(packagingIdValue, 'emptyWeightUnit', this.displayedEmptyWeightUnitValue);\n        };\n    }\n\n    private readonly onEmptyWeightQuantityBlur = (packagingIdValue : string) => {\n        return (event : React.FocusEvent<HTMLInputElement>) => {\n            this.props.onPackagingWeightFormFieldBlur(packagingIdValue, 'emptyWeightQuantity', event.currentTarget.value);\n            this.props.onPackagingWeightFormFieldChange(packagingIdValue, 'emptyWeightUnit', this.displayedEmptyWeightUnitValue);\n        };\n    }\n\n    private readonly onEmptyWeightUnitSelect = (packagingIdValue : string) => {\n        return (unitValue : string) => {\n            this.props.onPackagingWeightFormFieldBlur(packagingIdValue, 'emptyWeightUnit', unitValue);\n            this.props.onPackagingWeightFormFieldBlur(packagingIdValue, 'emptyWeightQuantity', this.displayedEmptyWeightValue);\n        };\n    }\n\n    private readonly onFullWeightQuantityChange = (packagingIdValue : string) => {\n        return (event : React.ChangeEvent<HTMLInputElement>) => {\n            this.props.onPackagingWeightFormFieldChange(packagingIdValue, 'fullWeightQuantity', event.currentTarget.value);\n            this.props.onPackagingWeightFormFieldChange(packagingIdValue, 'fullWeightUnit', this.displayedFullWeightUnitValue);\n        };\n    }\n\n    private readonly onFullWeightQuantityBlur = (packagingIdValue : string) => {\n        return (event : React.FocusEvent<HTMLInputElement>) => {\n            this.props.onPackagingWeightFormFieldBlur(packagingIdValue, 'fullWeightQuantity', event.currentTarget.value);\n            this.props.onPackagingWeightFormFieldChange(packagingIdValue, 'fullWeightUnit', this.displayedFullWeightUnitValue);\n        };\n    }\n\n    private readonly onFullWeightUnitSelect = (packagingIdValue : string) => {\n        return (unitValue : string) => {\n            this.props.onPackagingWeightFormFieldBlur(packagingIdValue, 'fullWeightUnit', unitValue);\n            this.props.onPackagingWeightFormFieldBlur(packagingIdValue, 'fullWeightQuantity', this.displayedFullWeightValue);\n        };\n    }\n\n    private readonly onRemovePackagingWeightFormClick = (packagingIdValue : string) => {\n        return () => {\n            this.props.onSetPackagingIdHasPackagingWeightForm(packagingIdValue, false);\n        };\n    }\n\n    private readonly onSkuChangeOrBlur = (event : React.ChangeEvent<HTMLInputElement> | React.FocusEvent<HTMLInputElement>) => {\n        return this.props.onFormFieldChange('sku', event.currentTarget.value);\n    }\n\n    private readonly onGLCodeSelect = (glCode : string) => {\n        return this.props.onFormFieldChange('glCode', glCode);\n    }\n\n    private readonly onNoteChange = (event : React.ChangeEvent<HTMLTextAreaElement>) => {\n        return this.props.onFormFieldChange('note', event.currentTarget.value);\n    }\n\n    private readonly onCostAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onFormFieldChange('costAmount', event.currentTarget.value);\n    }\n\n    private readonly onCostAmountBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        this.props.onFormFieldBlur('costAmount', event.currentTarget.value);\n    }\n\n    private readonly onCostUnitSelect = (costUnitValue : string) => {\n        this.props.onFormFieldChange('costUnit', costUnitValue);\n    }\n\n    private readonly onParCountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.onFormFieldChange('parCount', event.currentTarget.value);\n    }\n\n    private readonly onParCountBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        this.props.onFormFieldBlur('parCount', event.currentTarget.value);\n    }\n\n    private readonly onParUnitSelect = (parUnitValue : string) => {\n        this.props.onFormFieldChange('parUnit', parUnitValue);\n    }\n\n    private readonly onProductDistributorAssociationRowFormFieldChange = (formId : ProductDistributorAssociationFormId, fieldName : ProductDistributorAssociationFormFieldName, value : string) => {\n        this.props.onProductDistributorAssociationFormFieldChange(formId, fieldName, value, undefined);\n    }\n\n    private readonly onProductDistributorAssociationRowFormFieldBlur = (formId : ProductDistributorAssociationFormId, fieldName : ProductDistributorAssociationFormFieldName, value : string) => {\n        this.props.onProductDistributorAssociationFormFieldBlur(formId, fieldName, value, undefined);\n    }\n\n    private readonly onProductFormSaveClick = () => {\n        // Check for duplicates only when creating a new product\n        const shouldCheckForDuplicates = this.props.productId === null;\n        this.onSaveClick(this.props.productId, true, shouldCheckForDuplicates);\n    }\n\n    private readonly onProductModificationConfirmationDialogModifyExistingClick = () => {\n        this.onSaveClick(this.props.productId, false, false);\n    }\n\n    private readonly onProductModificationConfirmationDialogCreateNewClick = () => {\n        this.onSaveClick(null, false, false);\n    }\n\n    private readonly onPotentialDuplicateDialogSaveAnywayClick = () => {\n        this.props.onPotentialDuplicateDialogDismiss();\n        this.onSaveClick(this.props.productId, true, false);\n    }\n\n    private readonly onPotentialDuplicateDialogViewItemClick = (productId : ProductId) => {\n        this.props.onPotentialDuplicateDialogDismiss();\n        this.props.onGoToItem(productId);\n    }\n\n    private readonly onSaveClick = (productId : ProductId | null, shouldCheckIfPackagingHasBeenModified : boolean, shouldCheckForDuplicates : boolean) => {\n        if (window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n            this.removeOrphanedProductDistributorAssociationForms();\n        }\n\n        const packagings : Array<Packaging | null> = [];\n        const replacedPackagingIds : Array<PackagingId | null> = [];\n        this.packagingFormData.forEach((data) => {\n            if (data.isShown && data.packagingForm) {\n                packagings.push(data.packagingForm.getPackaging(true));\n                replacedPackagingIds.push((data.initialPackaging instanceof Packaging) ? data.initialPackaging.getPackagingId() : null);\n            }\n        });\n\n        this.props.onSaveProductForm(productId, packagings, replacedPackagingIds, shouldCheckIfPackagingHasBeenModified, shouldCheckForDuplicates);\n    }\n\n    private readonly onProductModificationConfirmationDialogCancelClick = () => {\n        this.props.onProductModificationConfirmationDialogCancelClick();\n    }\n\n    private readonly onCloseDeleteProductConfirmationDialog = () => {\n        this.props.setDeleteProductConfirmationDialogIsShown(false);\n    }\n\n    private readonly onShowDeleteProductConfirmationDialog = () => {\n        this.props.setDeleteProductConfirmationDialogIsShown(true);\n    }\n\n    private readonly onSetProductAsActive = () => {\n        if (this.props.productId) {\n            this.props.onSetProductActiveState(this.props.productId, true);\n        }\n    }\n\n    private readonly onSetProductAsInactive = () => {\n        if (this.props.productId) {\n            this.props.onSetProductActiveState(this.props.productId, false);\n        }\n    }\n\n    private readonly handleConfirmDeleteProduct = () => {\n        if (this.props.productId) {\n            this.props.onConfirmDeleteProduct(this.props.productId);\n        }\n    }\n\n    private readonly getShownPackagingFormsValidationInputDataByFieldName = () => {\n        const shownPackagingFormsValidationInputDataByFieldName : Array<PackagingFormValidationInputDataByFieldName> = [];\n        this.packagingFormData.forEach((data) => {\n            if (data.isShown) {\n                let packagingFormValidationInputDataByFieldName;\n                if (data.packagingForm) {\n                    packagingFormValidationInputDataByFieldName = data.packagingForm.getValidationInputDataByFieldName();\n                } else if (data.initialPackaging) {\n                    packagingFormValidationInputDataByFieldName = PackagingFormUtils.getValidationInputDataByFieldNameFromInitialPackaging(data.initialPackaging);\n                }\n\n                if (packagingFormValidationInputDataByFieldName) {\n                    shownPackagingFormsValidationInputDataByFieldName.push(packagingFormValidationInputDataByFieldName);\n                }\n            }\n        });\n\n        return shownPackagingFormsValidationInputDataByFieldName;\n    }\n\n    private readonly onCategorySearchValueChanged = (newValue : string | null) => {\n        this.setState({\n            ...this.state,\n            categorySearchBarValue : newValue,\n        });\n    }\n\n    private readonly doNothing = () => {\n        // Do Nothing\n    }\n}\n","import { apiBase, transformLegacyError } from 'api/Core/apiQueryBase';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductMergeEvent } from 'api/Product/model/ProductMergeEvent';\nimport { productMergeService } from 'shared/lib/manager';\n\nexport const productMergeApi = apiBase.injectEndpoints({\n    overrideExisting: false,\n    endpoints: (build) => ({\n        getMergeEventsForProductIds: build.query<Array<ProductMergeEvent>, Array<ProductId>>({\n            async queryFn(productIds) {\n                try {\n                    const mergeEvents = await productMergeService.getMergeEventsForProductIds(productIds);\n                    return { data: mergeEvents };\n                } catch (e) {\n                    return transformLegacyError(e);\n                }\n            },\n\n            // ProductId instances are not serializable, so key the cache entry by their values\n            serializeQueryArgs: ({ endpointName, queryArgs }) => {\n                const sortedProductIdValues = queryArgs.map((productId) => productId.getValue()).sort();\n                return `${ endpointName }(${ sortedProductIdValues.join(',') })`;\n            },\n        }),\n    }),\n});\n\nexport const { useGetMergeEventsForProductIdsQuery } = productMergeApi;\n","import React from 'react';\n\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { useGetMergeEventsForProductIdsQuery } from 'api/Product/productMergeReduxApis';\nimport { AlertBanner } from 'shared/components/AlertBanner/AlertBanner';\n\n// The background historical merge job's runtime varies (it may retry), so while an\n// in-progress merge is showing we re-poll until it settles. Polling runs only while this\n// component is mounted, and the card modal unmounts its content on close, so closing the\n// card or switching products stops the polling with it.\nconst HISTORICAL_MERGE_POLLING_INTERVAL_IN_MS = 30 * 1000;\n\n// When the merge finishes while the banner is showing, the banner fades out instead of\n// vanishing. Keep in sync with the 0.3s default-transition on .historical-merge-banner.\nconst BANNER_FADE_OUT_DURATION_IN_MS = 300;\n\nexport interface IHistoricalMergeBannerProps {\n    productId : ProductId;\n}\n\nexport const HistoricalMergeBanner : React.FC<IHistoricalMergeBannerProps> = ({ productId }) => {\n    const [pollingInterval, setPollingInterval] = React.useState(0);\n    const [isFadingOut, setIsFadingOut] = React.useState(false);\n    const wasInProgressRef = React.useRef(false);\n\n    const { data: mergeEvents } = useGetMergeEventsForProductIdsQuery([productId], {\n        refetchOnMountOrArgChange: true,\n        pollingInterval,\n    });\n\n    const historicalMergeInProgress = Boolean(mergeEvents && mergeEvents.some((mergeEvent) => mergeEvent.isHistoricalMergeInProgress()));\n\n    React.useEffect(() => {\n        setPollingInterval(historicalMergeInProgress ? HISTORICAL_MERGE_POLLING_INTERVAL_IN_MS : 0);\n\n        const wasInProgress = wasInProgressRef.current;\n        wasInProgressRef.current = historicalMergeInProgress;\n\n        if (wasInProgress && !historicalMergeInProgress) {\n            setIsFadingOut(true);\n            const fadeOutTimeoutId = window.setTimeout(() => {\n                setIsFadingOut(false);\n            }, BANNER_FADE_OUT_DURATION_IN_MS);\n\n            return () => window.clearTimeout(fadeOutTimeoutId);\n        }\n    }, [historicalMergeInProgress]);\n\n    if (!historicalMergeInProgress && !isFadingOut) {\n        return null;\n    }\n\n    return (\n        <div className={ 'historical-merge-banner' + (historicalMergeInProgress ? '' : ' historical-merge-banner-hidden') }>\n            <AlertBanner type=\"info\" title=\"Merge in progress\">\n                <p>This item was recently merged. Its history is still being updated in the background, so some records may not reflect the merge yet.</p>\n            </AlertBanner>\n        </div>\n    );\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\nimport React from 'react';\nimport { connect } from 'react-redux';\n\nimport { apiBase, PRODUCT_INSIGHTS_TAG } from 'api/Core/apiQueryBase';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { getDateTimeFromTimestamp, getTimezoneFromString } from 'shared/utils/dateTimeUtils';\nimport { URLStringUtils } from 'shared/utils/urlStringUtils';\n\nimport { IItemCardStore, ItemCardActions, ActionInterfaces } from './actions/ItemCardActions';\nimport { ItemCardHeader } from './components/ItemCardHeader';\nimport { ItemCardHistory } from './components/ItemCardHistory';\nimport { ItemCardInsights } from './insights/ItemCardInsights';\nimport { ProductForm } from './components/ProductForm';\nimport { ProductDistributorAssociationFormId } from './model/ProductDistributorAssociationFormId';\nimport { IItemCardState, ProductFormFieldName, PackagingWeightFormFieldName, ProductDistributorAssociationFormFieldName, ProductDistributorAssociationFormValidationInputDataByFieldName } from './reducers/ItemCardReducers';\n\nimport { PackagingFormValidationInputDataByFieldName } from 'shared/components/Product/PackagingForm';\nimport {\n    PackagingFormUtils\n} from 'shared/components/Product/PackagingFormUtils';\nimport {  DEFAULT_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME, ProductFormUtils } from './utils/ProductFormUtils';\nimport { HistoricalMergeBanner } from './components/HistoricalMergeBanner';\nimport { SlideInModal } from 'shared/components/SlideInModal/SlideInModal';\nimport { batchActions, IAction } from 'shared/models/IAction';\nimport { BevSpotDispatch } from 'shared/components/Provider';\n\nimport { ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW, ITEM_ID_URL_PARAM } from './constants';\n\nimport './css/ItemCard.scss';\n\n// This is just the base packaging form when loading external packaging data into item card,\n// which is not the same as the default packaging form (what user actually sees when opening an empty item card) defined in PackagingFormUtils\nconst DEFAULT_PACKAGING_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME : PackagingFormValidationInputDataByFieldName = {\n    unitName: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    contentQuantity: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    contentUnit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    caseName: {\n        value: 'case',\n        isValid: true,\n        errorMessage: '',\n    },\n    caseQuantity: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    comesAsCase: {\n        value: false,\n        isValid: true,\n        errorMessage: '',\n    }\n};\n\nexport interface IItemCardProps {\n    itemCardState : IItemCardState;\n}\n\nexport interface IConnectedItemCardProps extends IItemCardProps {\n    dispatch : BevSpotDispatch<IItemCardStore, ActionInterfaces.IItemCardExtraArguments>;\n}\n\nexport interface IItemCardPackagingPrefill {\n    caseContentQuantity: string;\n    containerContentQuantity: string;\n    containerContentUnit: string;\n    containerType: string;\n    comesAsCase: boolean;\n}\n\nexport interface IItemCardProductDistributorAssociationPrefill {\n    distributorId: string;\n    sku: string;\n    priceAmount: string;\n    depositAmount: string;\n    unit: string;\n    priceUnit: string;\n    depositUnit: string;\n}\n\ninterface ICreateItemModalEventData {\n    name?: string;\n    brand?: string;\n    categoryValue?: string;\n    sku?: string; // TODO Remove when everything is multivendor\n    distributorIdValue?: string | null; // TODO Remove when everything is multivendor\n    priceAmount?: string; // TODO Remove when everything is multivendor\n    priceUnit?: string; // TODO Remove when everything is multivendor\n    packaging?: IItemCardPackagingPrefill | null;\n    productDistributorAssociation?: IItemCardProductDistributorAssociationPrefill | null;\n}\n\nexport interface IEditItemModalEventData {\n    detail: { productId: string };\n    shouldCreateNewPackaging?: boolean;\n    // with shouldCreateNewPackaging, fills in the new packaging and a purchasing option for it\n    newPackaging?: IItemCardPackagingPrefill | null;\n    newProductDistributorAssociation?: IItemCardProductDistributorAssociationPrefill | null;\n}\n\nexport const ItemCardEvents = {\n    loadCreateItemModal: (loadCreateItemModalEventData : ICreateItemModalEventData) => {\n        $(document).trigger('loadCreateItemModal', loadCreateItemModalEventData);\n    }\n};\n\nconst getPackagingFormFromPrefill = (packaging : IItemCardPackagingPrefill) : PackagingFormValidationInputDataByFieldName => {\n    const packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName = JSON.parse(JSON.stringify(DEFAULT_PACKAGING_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME));\n\n    // TODO Feels like there should be some kind of UI form validation on a few of these fields\n\n    if (packaging.comesAsCase && packaging.caseContentQuantity) {\n        packagingFormValidationInputDataByFieldName.caseQuantity.value = packaging.caseContentQuantity;\n    }\n\n    packagingFormValidationInputDataByFieldName.contentUnit.value = packaging.containerContentUnit;\n    packagingFormValidationInputDataByFieldName.contentQuantity.value = packaging.containerContentQuantity;\n    packagingFormValidationInputDataByFieldName.unitName.value = packaging.containerType;\n    packagingFormValidationInputDataByFieldName.comesAsCase.value = packaging.comesAsCase;\n\n    return packagingFormValidationInputDataByFieldName;\n};\n\nconst getProductDistributorAssociationFormFromPrefill = (\n    productDistributorAssociation : IItemCardProductDistributorAssociationPrefill,\n    packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName,\n) : ProductDistributorAssociationFormValidationInputDataByFieldName => {\n    // determine all valid unit options\n    const formProductQuantityUnitValueByUnitValue = new StringValueMap<string, string>();\n    const sortedFormProductQuantityUnitValuesAndLabels = ProductFormUtils.getSortedFormProductQuantityUnitValuesAndLabels(packagingFormValidationInputDataByFieldName);\n    sortedFormProductQuantityUnitValuesAndLabels.forEach((s) => {\n        formProductQuantityUnitValueByUnitValue.set(s.shortLabel, s.value);\n    });\n\n    const productDistributorAssociationFormValidationInputDataByFieldName = JSON.parse(JSON.stringify(DEFAULT_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME));\n\n    productDistributorAssociationFormValidationInputDataByFieldName.distributorId.value = productDistributorAssociation.distributorId;\n    productDistributorAssociationFormValidationInputDataByFieldName.sku.value = productDistributorAssociation.sku;\n    productDistributorAssociationFormValidationInputDataByFieldName.priceAmount.value = productDistributorAssociation.priceAmount;\n    productDistributorAssociationFormValidationInputDataByFieldName.depositAmount.value = productDistributorAssociation.depositAmount;\n\n    if (formProductQuantityUnitValueByUnitValue.size > 0) {\n        // set unit only if is compatible with packaging\n        // the '' fallback here technically overwrites default field value, which is currently '' itself, but if the default value changes to something more meaningful, that will be overwritten\n        productDistributorAssociationFormValidationInputDataByFieldName.unit.value = formProductQuantityUnitValueByUnitValue.get(productDistributorAssociation.unit) || '';\n        productDistributorAssociationFormValidationInputDataByFieldName.priceUnit.value = formProductQuantityUnitValueByUnitValue.get(productDistributorAssociation.priceUnit) || '';\n        productDistributorAssociationFormValidationInputDataByFieldName.depositUnit.value = formProductQuantityUnitValueByUnitValue.get(productDistributorAssociation.depositUnit) || '';\n    }\n\n    return productDistributorAssociationFormValidationInputDataByFieldName;\n};\n\ninterface IItemCardComponentState {\n    isExpanded : boolean;\n}\n\nexport class ItemCard extends React.Component<IConnectedItemCardProps, IItemCardComponentState> {\n    public state : IItemCardComponentState = { isExpanded: false };\n\n    private packagingFormsValidationInputDataByFieldName : Array<PackagingFormValidationInputDataByFieldName | null> = [null];\n\n    public componentDidMount() {\n        const {\n            dispatch,\n        } = this.props;\n\n        void dispatch(ItemCardActions.fetchItemCardData())\n        .then(() => {\n            if (window.GLOBAL_FEATURE_ACCESS.item_card) {\n                $(document).on('loadProductHistory', (event, eventData) => {\n                    dispatch(ItemCardActions.onSetSelectedItemCardView('productHistory'));\n                    void dispatch(ItemCardActions.onShowItemCardForProductId(new ProductId(eventData.detail.productId)));\n                });\n\n                $(document).on('reloadItemCard', () => {\n                    void dispatch(ItemCardActions.fetchItemCardData());\n                    dispatch(apiBase.util.invalidateTags([PRODUCT_INSIGHTS_TAG]));\n                });\n            }\n\n            $(document).on('loadEditItemModal', (event, eventData : IEditItemModalEventData) => {\n                this.packagingFormsValidationInputDataByFieldName = [];\n                const newPackagingForm = (eventData && eventData.newPackaging) ? getPackagingFormFromPrefill(eventData.newPackaging) : null;\n                if (eventData) {\n                    if (eventData.shouldCreateNewPackaging) {\n                        this.packagingFormsValidationInputDataByFieldName = [newPackagingForm];\n                    }\n                }\n\n                this.updateURLWithProductId(eventData.detail.productId);\n\n                void dispatch(ItemCardActions.onShowItemCardForProductId(new ProductId(eventData.detail.productId)))\n                .then((isShown) => {\n                    if (!isShown) {\n                        return;\n                    }\n                    dispatch(ItemCardActions.onSetSelectedItemCardView('editProduct'));\n                    if (eventData.shouldCreateNewPackaging) {\n                        if (newPackagingForm === null) {\n                            // no prefill: open the packaging unit dropdown for the user\n                            const container = $(document).find('.product-form-container');\n                            const packagingUnitDropdown = container.find('div.packaging-form div.packaging-section-subsection:last-child div.dropdown-menu-component-button').last();\n                            if (packagingUnitDropdown.length && container.length) {\n                                packagingUnitDropdown.click();\n                                container.animate({\n                                    scrollTop: packagingUnitDropdown.offset().top - container.offset().top + container.scrollTop() - 100\n                                }, 500);\n                            }\n                        } else if (eventData.newProductDistributorAssociation && window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n                            // no packaging index: the form attaches the option to the shown packaging that has its unit\n                            dispatch(ItemCardActions.onAddProductDistributorAssociationForm(\n                                null,\n                                getProductDistributorAssociationFormFromPrefill(eventData.newProductDistributorAssociation, newPackagingForm),\n                            ));\n                        }\n                    }\n                });\n            });\n\n            $(document).on('loadCreateItemModal', (event, eventData : ICreateItemModalEventData) => {\n                this.packagingFormsValidationInputDataByFieldName = [null];\n\n                void dispatch(ItemCardActions.onShowItemCardForProductId(null))\n                .then(() => {\n                    const actions : Array<IAction> = [];\n\n                    if (eventData) {\n                        if (eventData.brand) {\n                            actions.push(ItemCardActions.setFormFieldValidationData('brand', eventData.brand, true, ''));\n                        }\n\n                        if (eventData.name) {\n                            actions.push(ItemCardActions.setFormFieldValidationData('name', eventData.name, true, ''));\n                        }\n\n                        if (eventData.sku) {\n                            actions.push(ItemCardActions.setFormFieldValidationData('sku', eventData.sku, true, ''));\n                        }\n\n                        if (eventData.distributorIdValue) {\n                            actions.push(ItemCardActions.setFormFieldValidationData('distributorId', eventData.distributorIdValue, true, ''));\n                        }\n\n                        if (eventData.categoryValue) {\n                            actions.push(ItemCardActions.setFormFieldValidationData('categoryId', eventData.categoryValue, true, ''));\n                        }\n\n                        if (eventData.priceAmount) {\n                            actions.push(ItemCardActions.setFormFieldValidationData('priceAmount', eventData.priceAmount, true, ''));\n                        }\n\n                        // determine packaging form to load\n                        let packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName;\n                        if (eventData.packaging) {\n                            packagingFormValidationInputDataByFieldName = getPackagingFormFromPrefill(eventData.packaging);\n                            this.packagingFormsValidationInputDataByFieldName = [packagingFormValidationInputDataByFieldName];\n                        } else {\n                            packagingFormValidationInputDataByFieldName = PackagingFormUtils.getValidationInputDataByFieldNameFromInitialPackaging(PackagingFormUtils.getDefaultPackaging())\n                        }\n\n                        if (eventData.productDistributorAssociation && window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n                            dispatch(ItemCardActions.onAddProductDistributorAssociationForm(\n                                0,\n                                getProductDistributorAssociationFormFromPrefill(eventData.productDistributorAssociation, packagingFormValidationInputDataByFieldName),\n                            ));\n                        }\n\n                        if (eventData.priceUnit && !window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n                            // set only if it's a valid option, otherwise do not overwrite the default which is set via ProductForm.onPackagingFormFieldChange|PackagingForm at *load* time\n                            // ideally should re-use formProductQuantityUnitValueByUnitValue, but that's not compatible with how price unit options is currently generated\n                            const validOptions = ProductFormUtils.getPriceUnitIOptions(packagingFormValidationInputDataByFieldName)[0][1];\n                            const foundOption = validOptions.find((option) => option.value === eventData.priceUnit);\n                            if (foundOption) {\n                                actions.push(ItemCardActions.setFormFieldValidationData('priceUnit', foundOption.value, true, ''));\n                            }\n                        }\n\n                    }\n\n                    dispatch(batchActions(actions));\n                    dispatch(ItemCardActions.onSetSelectedItemCardView('createProduct'));\n                });\n            });\n\n            $(document).on('customVendorCreated', (event, createVendorResult, distributor) => {\n                const distributorIdValue = createVendorResult.distributor_id;\n                const distributorId = new DistributorId(distributorIdValue);\n                void dispatch(ItemCardActions.onUpdateDistributor(new StringValueSet([distributorId])))\n                .then(() => {\n                    dispatch(ItemCardActions.setFormFieldValidationData('distributorId', distributorIdValue, true, ''));\n                });\n            });\n\n            const itemIdValue = URLStringUtils.getQueryParameterFromUrl(ITEM_ID_URL_PARAM);\n            if (itemIdValue) {\n                $(document).trigger('loadEditItemModal', {\n                    detail: {\n                        productId: itemIdValue,\n                    }\n                });\n            }\n        });\n    }\n\n    public render() {\n        const {\n            itemCardState\n        } = this.props;\n\n        const {\n            itemCardData,\n            productHistoryData,\n            productFormData,\n            productId,\n            selectedItemCardView,\n            productForm,\n        } = itemCardState;\n        const { isExpanded } = this.state;\n\n        const isOverlayView = selectedItemCardView === 'productHistory' || selectedItemCardView === 'productInsights';\n\n        let product : Product | undefined;\n        let initialPackagings : Array<Packaging | PackagingFormValidationInputDataByFieldName | null> = this.packagingFormsValidationInputDataByFieldName;\n        let lastEditedDateString;\n        let lastEditedByString;\n        if (itemCardData && productId) {\n            product = itemCardData.productsById.get(productId);\n            if (product) {\n                const relevantProductPackagings : Array<Packaging | PackagingFormValidationInputDataByFieldName | null> = [];\n                product.getPackagingsAndMappings().getPackagingData().forEach((packagingData) => {\n                    if (!packagingData.deleted) {\n                        relevantProductPackagings.push(packagingData.packaging);\n                    }\n                });\n\n                this.packagingFormsValidationInputDataByFieldName.forEach((packaging) => {\n                    relevantProductPackagings.push(packaging);\n                });\n                initialPackagings = relevantProductPackagings;\n\n                const timestampDateTime = getDateTimeFromTimestamp(product.getLastUpdateEvent().getTimestamp(), getTimezoneFromString(window.GLOBAL_RETAILER_TIME_ZONE));\n\n                lastEditedDateString = `Last Edited ${ timestampDateTime.getValue('ddd, MMM. DD YYYY, h:mm a') }`;\n                lastEditedByString = `by ${ UserAccountUtils.getUserAccountNameString(product.getLastUpdateEvent().getUserAccountId(), new UserAccountId(window.GLOBAL_USER_ID), itemCardData.namesByUserAccountId) }`;\n            }\n        }\n\n        return (\n            <SlideInModal isOpen={ itemCardState.isShownByComponentName.itemCardModal } onDismiss={ this.doNothing }>\n                <div className={ 'item-card' + (isExpanded ? ' expanded' : '') }>\n\n                    <nav className=\"item-card-nav\">\n                        <ul className=\"item-card-nav-list\">\n                            { (selectedItemCardView === 'createProduct') &&\n                                <li className=\"item-card-nav-item\">\n                                    Create\n                                </li>\n                            }\n                            { (selectedItemCardView !== 'createProduct') &&\n                                 <li className={ 'item-card-nav-item ' + (selectedItemCardView === 'editProduct' ? 'active' : '') } onClick={ this.onEditProductViewOptionClick }>\n                                    Details\n                                </li>\n                            }\n\n                            { (window.GLOBAL_FEATURE_ACCESS.item_card) && (selectedItemCardView !== 'createProduct') &&\n                                <li className={ 'item-card-nav-item ' + (selectedItemCardView === 'productHistory' ? 'active' : '') } onClick={ this.onProductHistoryViewOptionClick }>\n                                    History\n                                </li>\n                            }\n                            { /* TODO: may ship admin-only first; remove the admin check a few days after release (no dedicated feature flag needed) */ }\n                            { (window.GLOBAL_FEATURE_ACCESS.item_card) && window.GLOBAL_USER_IS_ADMIN && (selectedItemCardView !== 'createProduct') &&\n                                <li className={ 'item-card-nav-item ' + (selectedItemCardView === 'productInsights' ? 'active' : '') } onClick={ this.onProductInsightsViewOptionClick }>\n                                    Insights\n                                </li>\n                            }\n                        </ul>\n\n                        <div className=\"item-card-nav-actions\">\n                            { !isOverlayView &&\n                                <div className={'item-card-last-edited'}>\n                                    <span>{lastEditedDateString}</span>\n                                    <span>{lastEditedByString}</span>\n                                </div>\n                            }\n                            {/* Plain icon button to match the close button beside it */}\n                            <button\n                                onClick={ this.onExpandToggleClick }\n                                className={ `bevicon expand-toggle ${ isExpanded ? 'bevico-close-fullscreen' : 'bevico-open-in-full' }` }\n                            />\n                            { isOverlayView &&\n                                <button onClick={ this.onCloseClick } className=\"bevicon bevico-close close-button\" />\n                            }\n                        </div>\n                    </nav>\n\n                    <div className=\"item-card-container\">\n                        { productId &&\n                            <HistoricalMergeBanner key={ productId.getValue() } productId={ productId } />\n                        }\n                        { (selectedItemCardView === 'createProduct' || selectedItemCardView === 'editProduct') &&\n                            <ProductForm\n                                productId={ productId }\n                                categoriesById={ itemCardData ? itemCardData.categoriesById : new StringValueMap() }\n                                validationInputDataByFieldName={ productForm.validationInputDataByFieldName }\n                                isValid={ productForm.isSubmitting }\n                                errorMessage={ productForm.errorMessage }\n                                isSubmitting={ productForm.isSubmitting }\n                                productFormData={ productFormData }\n                                initialPackagings={ initialPackagings }\n                                onFormFieldChange={ this.onProductFormFieldChange }\n                                onFormFieldBlur={ this.onProductFormFieldBlur }\n                                onPriceFieldChange={ this.onProductFormPriceFieldChange }\n                                setUnitsWithConversionForms={ this.setUnitsWithConversionForms }\n                                onConversionFieldChange={ this.onConversionFieldChange }\n                                onConversionFieldBlur={ this.onConversionFieldBlur }\n                                onPackagingWeightFormFieldChange={ this.onPackagingWeightFormFieldChange }\n                                onPackagingWeightFormFieldBlur={ this.onPackagingWeightFormFieldBlur }\n                                onSetPackagingIdHasPackagingWeightForm={ this.onSetPackagingIdHasPackagingWeightForm }\n                                onSetPackagingWeightFormPackagingIdValue={ this.onSetPackagingWeightFormPackagingIdValue }\n                                onAddProductDistributorAssociationForm={ this.onAddProductDistributorAssociationForm }\n                                onProductDistributorAssociationFormFieldChange={ this.onProductDistributorAssociationFormFieldChange }\n                                onProductDistributorAssociationFormFieldBlur={ this.onProductDistributorAssociationFormFieldBlur }\n                                onRemoveProductDistributorAssociationForms={ this.onRemoveProductDistributorAssociationForms }\n                                onSaveProductForm={ this.onSaveProductForm }\n                                onCreateCustomDistributorClick={ this.onCreateCustomDistributorClick }\n                                onProductFormCancelClick={ this.onCloseClick }\n                                productModificationConfirmationDialogIsShown={ itemCardState.isShownByComponentName.productModificationConfirmationDialog }\n                                onProductModificationConfirmationDialogCancelClick={ this.onProductModificationConfirmationDialogCancelClick }\n                                deleteProductConfirmationDialogIsShown={ itemCardState.isShownByComponentName.deleteProductConfirmationDialog }\n                                setDeleteProductConfirmationDialogIsShown={ this.onSetDeleteProductConfirmationDialogIsShown }\n                                onSetProductActiveState={ this.onSetProductActiveState }\n                                onConfirmDeleteProduct={ this.onDeleteProduct }\n                                onSetFocusedField={ this.onSetFocusedField }\n                                focusedField={ itemCardState.focusedField }\n                                potentialDuplicateMatches={ itemCardState.potentialDuplicateMatches }\n                                productsById={ itemCardData?.productsById }\n                                activeProductIds={ itemCardData?.activeProductIds }\n                                deletedProductIds={ itemCardData?.deletedProductIds }\n                                onPotentialDuplicateDialogDismiss={ this.onPotentialDuplicateDialogDismiss }\n                                onGoToItem={ this.onGoToItem }\n                            />\n                        }\n\n                        { (selectedItemCardView === 'productHistory') && productId && typeof product !== 'undefined' && (itemCardData != null) &&\n                            <ItemCardHeader\n                                product={ product }\n                                namesByUserAccountId={ itemCardData.namesByUserAccountId }\n                            />\n                        }\n\n                        { (selectedItemCardView === 'productHistory') && productId && typeof product !== 'undefined' && (itemCardData != null) && (productHistoryData != null) &&\n                            <ItemCardHistory\n                                product={ product }\n                                productId={ productId }\n                                itemCardData={ itemCardData }\n                                productHistoryData={ productHistoryData }\n                                productsById={ itemCardData.productsById }\n                                onShowMoreHistoryClick={ this.onShowMoreHistoryClick }\n                            />\n                        }\n\n                        { (selectedItemCardView === 'productInsights') && productId && typeof product !== 'undefined' && (itemCardData != null) &&\n                            <ItemCardInsights\n                                productId={ productId }\n                                product={ product }\n                                namesByUserAccountId={ itemCardData.namesByUserAccountId }\n                            />\n                        }\n\n                        { ((productId && typeof product === 'undefined') || ((selectedItemCardView === 'productHistory') && (productHistoryData === null))) &&\n                            <div className=\"loading-overlay\">\n                                <span className=\"bevicon bevico-spinner2 make-it-spin loading-spinner\"/>\n                            </div>\n                        }\n                    </div>\n                </div>\n            </SlideInModal>\n        );\n    }\n\n    private readonly onEditProductViewOptionClick = () => {\n        this.props.dispatch(ItemCardActions.onSetSelectedItemCardView('editProduct'));\n    }\n\n    private readonly onProductHistoryViewOptionClick = () => {\n        this.props.dispatch(ItemCardActions.onSetSelectedItemCardView('productHistory'));\n    }\n\n    private readonly onProductInsightsViewOptionClick = () => {\n        this.props.dispatch(ItemCardActions.onSetSelectedItemCardView('productInsights'));\n    }\n\n    private readonly onExpandToggleClick = () => {\n        this.setState((previousState) => ({ isExpanded: !previousState.isExpanded }));\n    }\n\n    private readonly onShowMoreHistoryClick = () => {\n        void this.props.dispatch(ItemCardActions.fetchProductHistoryData(ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW));\n    }\n\n    private readonly onCloseClick = () => {\n        this.updateURLWithProductId(null);\n        this.props.dispatch(ItemCardActions.setComponentIsShown('itemCardModal', false));\n    }\n\n    private readonly onProductFormFieldChange = (fieldName : ProductFormFieldName, value : string) => {\n        this.props.dispatch(ItemCardActions.onFormFieldChange(fieldName, value));\n    }\n\n    private readonly onProductFormFieldBlur = (fieldName : ProductFormFieldName, value : string) => {\n        this.props.dispatch(ItemCardActions.onFormFieldBlur(fieldName, value));\n    }\n\n    private readonly onProductFormPriceFieldChange = (costUnitFormValue : string | null) => {\n        this.props.dispatch(ItemCardActions.onPriceFieldChange(costUnitFormValue));\n    }\n\n    private readonly onPackagingWeightFormFieldChange = (packagingIdValue : string, fieldName : PackagingWeightFormFieldName, value : string) => {\n        this.props.dispatch(ItemCardActions.onPackagingWeightFormFieldChange(packagingIdValue, fieldName, value));\n    }\n\n    private readonly onPackagingWeightFormFieldBlur = (packagingIdValue : string, fieldName : PackagingWeightFormFieldName, value : string) => {\n        this.props.dispatch(ItemCardActions.onPackagingWeightFormFieldBlur(packagingIdValue, fieldName, value));\n    }\n\n    private readonly onSetPackagingIdHasPackagingWeightForm = (packagingIdValue : string, hasPackagingWeightForm : boolean) => {\n        this.props.dispatch(ItemCardActions.setPackagingIdHasPackagingWeightForm(packagingIdValue, hasPackagingWeightForm));\n    }\n\n    private readonly onSetPackagingWeightFormPackagingIdValue = (oldPackagingIdValue : string, newPackagingIdValue : string) => {\n        this.props.dispatch(ItemCardActions.setPackagingWeightFormPackagingIdValue(oldPackagingIdValue, newPackagingIdValue));\n    }\n\n    private readonly setUnitsWithConversionForms = (units : Array<string>) => {\n        this.props.dispatch(ItemCardActions.setUnitsWithConversionForms(units));\n    }\n\n    private readonly onConversionFieldChange = (unit : string, value : string) => {\n        this.props.dispatch(ItemCardActions.onConversionFieldChange(unit, value));\n    }\n\n    private readonly onConversionFieldBlur = (unit : string, value : string) => {\n        this.props.dispatch(ItemCardActions.onConversionFieldBlur(unit, value));\n    }\n\n    private readonly onAddProductDistributorAssociationForm = (packagingIndex : number) => {\n        this.props.dispatch(ItemCardActions.onAddProductDistributorAssociationForm(packagingIndex, null));\n    }\n\n    private readonly onProductDistributorAssociationFormFieldChange = (formId : ProductDistributorAssociationFormId, fieldName : ProductDistributorAssociationFormFieldName, value : string, packagingIndex : number | null | undefined) => {\n        this.props.dispatch(ItemCardActions.onProductDistributorAssociationFormFieldChange(formId, fieldName, value, packagingIndex));\n    }\n\n    private readonly onProductDistributorAssociationFormFieldBlur = (formId : ProductDistributorAssociationFormId, fieldName : ProductDistributorAssociationFormFieldName, value : string, packagingIndex : number | null | undefined) => {\n        this.props.dispatch(ItemCardActions.onProductDistributorAssociationFormFieldBlur(formId, fieldName, value, packagingIndex));\n    }\n\n    private readonly onRemoveProductDistributorAssociationForms = (formIds : StringValueSet<ProductDistributorAssociationFormId>) => {\n        this.props.dispatch(ItemCardActions.removeProductDistributorAssociationForms(formIds));\n    }\n\n    private readonly onSaveProductForm = (productId : ProductId | null, packagings : Array<Packaging | null>, replacedPackagingIds : Array<PackagingId | null>, shouldCheckIfPackagingHasBeenModified : boolean, shouldCheckForDuplicates : boolean) => {\n        const {\n            dispatch,\n        } = this.props;\n\n        void dispatch(ItemCardActions.onSaveProductForm(productId, packagings, replacedPackagingIds, shouldCheckIfPackagingHasBeenModified, shouldCheckForDuplicates))\n        .then((resultProductId) => {\n            if (resultProductId) {\n                if (productId) {\n                    $(document).trigger('customItemSuccessfullyEdited', [{ productId: productId.getValue() }]);\n                } else {\n                    $(document).trigger('customItemSuccessfullyCreated', [resultProductId.getValue()]);\n                }\n\n                this.updateURLWithProductId(null);\n                dispatch(ItemCardActions.setComponentIsShown('itemCardModal', false));\n            }\n        });\n    }\n\n    private readonly onPotentialDuplicateDialogDismiss = () => {\n        this.props.dispatch(ItemCardActions.setPotentialDuplicateMatches(null));\n    }\n\n    private readonly onGoToItem = (productId : ProductId) => {\n        this.packagingFormsValidationInputDataByFieldName = [];\n        this.updateURLWithProductId(productId.getValue());\n        void this.props.dispatch(ItemCardActions.onShowItemCardForProductId(productId))\n        .then((isShown) => {\n            if (!isShown) {\n                return;\n            }\n            this.props.dispatch(ItemCardActions.onSetSelectedItemCardView('editProduct'));\n        });\n    }\n\n    private readonly onProductModificationConfirmationDialogCancelClick = () => {\n        this.props.dispatch(ItemCardActions.setComponentIsShown('productModificationConfirmationDialog', false));\n    }\n\n    private readonly onCreateCustomDistributorClick = (distributorName : string) => {\n        $(document).trigger('openCreateVendorModal', { name: distributorName });\n    }\n\n    private readonly onSetDeleteProductConfirmationDialogIsShown = (isShown : boolean) => {\n        this.props.dispatch(ItemCardActions.setComponentIsShown('deleteProductConfirmationDialog', isShown));\n    }\n\n    // for consideration: is there something we can do to ensure that pages with the edit item modal\n    // implement functions to handle delete/archive/edit custom events (or hide the delete/archive buttons where appropriate)?\n    private readonly onDeleteProduct = (productId : ProductId) => {\n        void this.props.dispatch(ItemCardActions.onDeleteProduct(productId))\n        .then(() => {\n            $(document).trigger('customItemDeleted', [{ productIds: [productId.getValue()] }]);\n        });\n    }\n\n    private readonly onSetProductActiveState = (productId : ProductId, setAsActive : boolean) => {\n        void this.props.dispatch(ItemCardActions.onSetProductActiveState(productId, setAsActive))\n        .then(() => {\n            $(document).trigger('customItemActiveStateChanged', [{ productId: productId.getValue(), isActive: setAsActive }]);\n        });\n    }\n\n    private readonly doNothing = () => {\n        // Do Nothing\n    }\n\n    private readonly onSetFocusedField = (fieldName : ProductFormFieldName | PackagingWeightFormFieldName | null) => {\n        this.props.dispatch(ItemCardActions.setFocusedField(fieldName));\n    }\n\n    private readonly updateURLWithProductId = (productId : string | null) => {\n        const newURL = URLStringUtils.replaceOrRemoveURLParameter(window.location.href, ITEM_ID_URL_PARAM, productId);\n        window.history.replaceState(null, '', newURL);\n    }\n}\n\nconst mapStateToProps = (state : IItemCardProps) : IItemCardProps => {\n    return {\n        itemCardState: state.itemCardState,\n    };\n};\n\nexport const ConnectedItemCard = connect<IItemCardProps, object, object, IConnectedItemCardProps>(mapStateToProps)(ItemCard);\n","import { apiBase, PRODUCT_INSIGHTS_TAG } from 'api/Core/apiQueryBase';\nimport { ILocationSettingsService } from 'api/Location/interfaces/ILocationSettingsService';\nimport { IProductCostSettings } from 'api/Location/model/IProductCostSettings';\nimport { ICategoryService } from 'api/Product/interfaces/ICategoryService';\nimport { IProductMergeService } from 'api/Product/interfaces/IProductMergeService';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { CategoryUtils } from 'api/Product/utils/categoryUtils';\nimport { productUtils } from 'api/Product/utils/productUtils';\nimport { DuplicateMatch, findDuplicatesForProduct } from 'apps/ItemManager/utils/duplicateDetectionUtils';\nimport { IUserAccountInfoReader } from 'api/UserAccount/interfaces/IUserAccountInfoReader';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport moment from 'moment-timezone';\nimport { ThunkAction, batchActions, IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\nimport ProductExceptions from 'gen-thrift/product_Exceptions_types';\n\nimport { IBreakageService } from 'api/Breakage/interfaces/IBreakageService';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { IDistributorService } from 'api/Distributor/interfaces/IDistributorService';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { RetailerDistributorRelationship } from 'api/Distributor/model/RetailerDistributorRelationship';\nimport { IInventoryCountService } from 'api/InventoryCount/interfaces/IInventoryCountService';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { ILocationProductService } from 'api/Location/interfaces/ILocationProductService';\nimport { ILocationService } from 'api/Location/interfaces/ILocationService';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IOrderingService } from 'api/Ordering/interfaces/IOrderingService';\nimport { IPrepEventService } from 'api/PrepEvent/interfaces/IPrepEventService';\nimport { IProductDistributorService } from 'api/Product/interfaces/IProductDistributorService';\nimport { IProductService } from 'api/Product/interfaces/IProductService';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IProductCostService } from 'api/Product/interfaces/IProductCostService';\nimport { IProductParService } from 'api/ProductPar/interfaces/IProductParService';\nimport { ITransferService } from 'api/Transfer/interfaces/ITransferService';\nimport { TransferReport } from 'api/Transfer/model/TransferReport';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { ITEM_CARD_HISTORY_FETCH_CHUNK_MONTHS, ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW, ITEM_ID_URL_PARAM } from '../constants';\nimport { ComponentName, CREATE_PRODUCT_FORM_INITIAL_VALIDATION_INPUT_DATA_BY_FIELD_NAME, DEFAULT_PRICE_VALUE, IItemCardData, IItemCardState,\n    IProductDistributorAssociationForm,\n    IProductFormData, IProductHistoryData, IProductHistoryRecords, ItemCardView, PackagingWeightFormFieldName, ProductDistributorAssociationFormFieldName, ProductDistributorAssociationFormValidationInputDataByFieldName, ProductFormFieldName, ProductFormValidationInputDataByFieldName } from '../reducers/ItemCardReducers';\nimport { DEFAULT_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME, ProductFormUtils } from '../utils/ProductFormUtils';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport {\n    addToSortedOptionList,\n    createSortedOptionsAndLablNameTuplesFromOptionArray\n} from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { locationService, momentObjectToThriftSerializer } from 'shared/lib/manager';\nimport { Validation } from 'shared/validators/validators';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { DateTime } from 'shared/models/DateTime';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { ProductDistributorAssociationFormId } from '../model/ProductDistributorAssociationFormId';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { IProductDistributorAssociationService } from 'api/Product/interfaces/IProductDistributorAssociationService';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { DataHistoryLimitUtils } from 'shared/utils/dataHistoryLimitUtils';\nimport { IRestApiRejection } from 'shared/utils/ajaxUtils';\nimport { URLStringUtils } from 'shared/utils/urlStringUtils';\nimport { numberUtils } from 'shared/utils/numberUtils';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\n\nexport interface IItemCardStore {\n    itemCardState : IItemCardState;\n}\n\nexport const ActionTypes = {\n    SET_PRODUCT_ID : 'ITEM_CARD/SET_PRODUCT_ID',\n    SET_SELECTED_ITEM_CARD_VIEW : 'ITEM_CARD/SET_SELECTED_ITEM_CARD_VIEW',\n    SET_ITEM_CARD_DATA : 'ITEM_CARD/SET_ITEM_CARD_DATA',\n    SET_PRODUCT_HISTORY_DATA : 'ITEM_CARD/SET_PRODUCT_HISTORY_DATA',\n    SET_FORM_FIELD_VALIDATION_DATA : 'ITEM_CARD/SET_FORM_FIELD_VALIDATION_DATA',\n    SET_FORM_VALIDATION_DATA : 'ITEM_CARD/SET_FORM_VALIDATION_DATA',\n    SET_IS_SUBMITTING : 'ITEM_CARD/SET_IS_SUBMITTING',\n    SET_COMPONENT_IS_SHOWN : 'ITEM_CARD/SET_COMPONENT_IS_SHOWN',\n    UPDATE_PRODUCT_INFO : 'ITEM_CARD/UPDATE_PRODUCT_INFO',\n    SET_PRODUCT_FORM_DATA : 'ITEM_CARD/SET_PRODUCT_FORM_DATA',\n    SET_PRODUCT_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME : 'ITEM_CARD/SET_PRODUCT_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME',\n    SET_UNITS_WITH_CONVERSION_FORMS : 'ITEM_CARD/SET_UNITS_WITH_CONVERSION_FORMS',\n    SET_CONVERSION_FIELD_VALIDATION_DATA : 'ITEM_CARD/SET_CONVERSION_FIELD_VALIDATION_DATA',\n    SET_PACKAGING_ID_HAS_PACKAGING_WEIGHT_FORM : 'ITEM_CARD/SET_PACKAGING_ID_HAS_PACKAGING_WEIGHT_FORM',\n    SET_PACKAGING_WEIGHT_FIELD_VALIDATION_DATA : 'ITEM_CARD/SET_PACKAGING_WEIGHT_FIELD_VALIDATION_DATA',\n    SET_PACKAGING_WEIGHT_FORM_PACKAGING_ID_VALUE : 'ITEM_CARD/SET_PACKAGING_WEIGHT_FORM_PACKAGING_ID_VALUE',\n    SET_PRODUCT_DISTRIBUTOR_ASSOCIATION_FIELD_VALIDATION_DATA : 'ITEM_CARD/SET_PRODUCT_DISTRIBUTOR_ASSOCIATION_FIELD_VALIDATION_DATA',\n    ADD_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM : 'ITEM_CARD/ADD_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM',\n    REMOVE_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORMS : 'ITEM_CARD/REMOVE_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORMS',\n    UPDATE_DISTRIBUTORS_BY_DISTRIBUTOR_ID : 'ITEM_CARD/UPDATE_DISTRIBUTORS_BY_DISTRIBUTOR_ID',\n    UPDATE_NAMES_BY_USER_ACCOUNT_ID : 'ITEM_CARD/UPDATE_NAMES_BY_USER_ACCOUNT_ID',\n    UPDATE_PRODUCT_CATEGORIES_BY_ID : 'ITEM_CARD/UPDATE_PRODUCT_CATEGORIES_BY_ID',\n    SET_PRICE_AMOUNT_FIELD_FOCUSED : 'ITEM_CARD/PRICE_AMOUNT_FIELD_FOCUSED',\n    SET_FOCUSED_FIELD : 'ITEM_CARD/SET_FOCUSED_FIELD',\n    SET_POTENTIAL_DUPLICATE_MATCHES : 'ITEM_CARD/SET_POTENTIAL_DUPLICATE_MATCHES',\n};\n\nexport namespace ActionInterfaces {\n    export interface ISetProductId extends IAction {\n        payload : {\n            productId : ProductId | null,\n            productHash : string | null,\n        };\n    }\n\n    export interface ISetSelectedItemCardView extends IAction {\n        payload : {\n            selectedItemCardView : ItemCardView\n        };\n    }\n\n    export interface ISetItemCardData extends IAction {\n        payload : {\n            itemCardData : IItemCardData\n        };\n    }\n\n    export interface ISetProductHistoryData extends IAction {\n        payload : {\n            productHistoryData : IProductHistoryData\n        };\n    }\n\n    export interface IUpdateProductInfo extends IAction {\n        payload : {\n            productsById : StringValueMap<ProductId, Product>;\n            distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>;\n            productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>;\n            parsByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit> | null>;\n        };\n    }\n\n    export interface IUpdateDistributorsByDistributorId extends IAction {\n        payload : {\n            distributorsByDistributorId : StringValueMap<DistributorId, Distributor>;\n        };\n    }\n\n    export interface IUpdateNamesByUserAccountId extends IAction {\n        payload : {\n            namesByUserAccountId : StringValueMap<UserAccountId, IUserName>\n        };\n    }\n\n    export interface IUpdateCategoriesById extends IAction {\n        payload : {\n            categoriesById : StringValueMap<CategoryId, Category>\n        };\n    }\n\n    export interface ISetFormFieldValidationData extends IAction {\n        payload : {\n            field : ProductFormFieldName;\n            value : string;\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetFormValidationData extends IAction {\n        payload : {\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetIsSubmitting extends IAction {\n        payload : {\n            isSubmitting : boolean;\n        };\n    }\n\n    export interface ISetComponentIsShown extends IAction {\n        payload : {\n            componentName : ComponentName;\n            isShown : boolean;\n        };\n    }\n\n    export interface ISetProductFormData extends IAction {\n        payload : {\n            productFormData : IProductFormData,\n        };\n    }\n\n    export interface ISetProductFormValidationInputDataByFieldName extends IAction {\n        payload : {\n            validationInputDataByFieldName : ProductFormValidationInputDataByFieldName;\n        };\n    }\n\n    export interface ISetUnitsWithConversionForms extends IAction {\n        payload : {\n            conversionUnits : Array<string>;\n        };\n    }\n\n    export interface ISetConversionFieldValidationData extends IAction {\n        payload : {\n            unit : string;\n            value : string;\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetPackagingIdHasPackagingWeightForm extends IAction {\n        payload : {\n            packagingIdValue : string;\n            hasPackagingWeightForm : boolean;\n        };\n    }\n\n    export interface ISetPackagingWeightFieldValidationData extends IAction {\n        payload : {\n            packagingIdValue : string;\n            field : PackagingWeightFormFieldName;\n            value : string;\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetPackagingWeightFormPackagingIdValue extends IAction {\n        payload : {\n            oldPackagingIdValue : string;\n            newPackagingIdValue : string;\n        };\n    }\n\n    export interface ISetProductDistributorAssociationFieldValidationData extends IAction {\n        payload : {\n            formId : ProductDistributorAssociationFormId;\n            field : ProductDistributorAssociationFormFieldName;\n            value : string;\n            isValid : boolean;\n            errorMessage : string;\n            packagingIndex : number | null | undefined;\n        };\n    }\n\n    export interface IAddProductDistributorAssociationForm extends IAction {\n        payload : {\n            formId : ProductDistributorAssociationFormId;\n            productDistributorAssociationForm : IProductDistributorAssociationForm;\n        };\n    }\n\n    export interface IRemoveProductDistributorAssociationForms extends IAction {\n        payload : {\n            formIds : StringValueSet<ProductDistributorAssociationFormId>;\n        };\n    }\n\n    export interface ISetPriceAmountFieldFocused extends IAction {\n        payload : {\n            priceAmountFieldFocused : boolean;\n        };\n    }\n\n    export interface ISetFocusedField extends IAction {\n        payload : {\n            focusedField : ProductFormFieldName | PackagingWeightFormFieldName | null;\n        };\n    }\n\n    export interface ISetPotentialDuplicateMatches extends IAction {\n        payload : {\n            potentialDuplicateMatches : Array<DuplicateMatch> | null;\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        locationProductService : ILocationProductService;\n        productDistributorService : IProductDistributorService;\n        locationService : ILocationService;\n        productService : IProductService;\n        transferService : ITransferService;\n        inventoryCountService : IInventoryCountService;\n        orderingService : IOrderingService;\n        breakageService : IBreakageService;\n        distributorService : IDistributorService;\n        productDistributorAssociationService : IProductDistributorAssociationService;\n        prepEventService : IPrepEventService;\n        productCostService : IProductCostService;\n        productParService : IProductParService;\n        productMergeService : IProductMergeService;\n        categoryService : ICategoryService;\n        locationSettingsService : ILocationSettingsService;\n        userAccountInfoReader : IUserAccountInfoReader;\n    }\n\n    export interface IItemCardExtraArguments extends IExtraArguments {\n        services : IServices;\n    }\n\n    export interface IItemCardActionCreatorsMapObject extends IActionCreatorsMapObject {\n        fetchItemCardData : () => ThunkAction<Promise<void>, IItemCardStore, IItemCardExtraArguments>;\n        onShowItemCardForProductId : (\n            productId : ProductId | null,\n        ) => ThunkAction<Promise<boolean>, IItemCardStore, IItemCardExtraArguments>;\n        onUpdateDistributor : (\n            distributorIds : StringValueSet<DistributorId>\n        ) => ThunkAction<Promise<void>, IItemCardStore, IItemCardExtraArguments>;\n        onSetSelectedItemCardView : (\n            selectedItemCardView : ItemCardView\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        fetchProductHistoryData : (\n            numMonthsToLoad : number,\n        ) => ThunkAction<Promise<void>, IItemCardStore, IItemCardExtraArguments>;\n        setComponentIsShown : ISetComponentIsShownActionCreator;\n        onFormFieldChange : (\n            field : ProductFormFieldName,\n            value : string,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        onFormFieldBlur : (\n            field : ProductFormFieldName,\n            value : string,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        onPriceFieldChange : (\n            costUnitFormValue : string | null,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        setFormFieldValidationData : ISetFormFieldValidationDataActionCreator;\n        setUnitsWithConversionForms : ISetUnitsWithConversionFormsActionCreator;\n        onConversionFieldChange : (\n            unit : string,\n            value : string,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        onConversionFieldBlur : (\n            unit : string,\n            value : string,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        setPackagingIdHasPackagingWeightForm : ISetPackagingIdHasPackagingWeightFormActionCreator;\n        setPackagingWeightFormPackagingIdValue : ISetPackagingWeightFormPackagingIdValueActionCreator;\n        onPackagingWeightFormFieldChange : (\n            packagingIdValue : string,\n            field : PackagingWeightFormFieldName,\n            value : string,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        onPackagingWeightFormFieldBlur : (\n            packagingIdValue : string,\n            field : PackagingWeightFormFieldName,\n            value : string,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        onAddProductDistributorAssociationForm : (\n            packagingIndex : number | null,\n            productDistributorAssociationFormValidationInputDataByFieldName : ProductDistributorAssociationFormValidationInputDataByFieldName | null,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        onProductDistributorAssociationFormFieldChange : (\n            formId : ProductDistributorAssociationFormId,\n            field : ProductDistributorAssociationFormFieldName,\n            value : string,\n            packagingIndex : number | null | undefined,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        onProductDistributorAssociationFormFieldBlur : (\n            formId : ProductDistributorAssociationFormId,\n            field : ProductDistributorAssociationFormFieldName,\n            value : string,\n            packagingIndex : number | null | undefined,\n        ) => ThunkAction<void, IItemCardStore, IItemCardExtraArguments>;\n        removeProductDistributorAssociationForms : IRemoveProductDistributorAssociationFormsActionCreator;\n        onSaveProductForm : (\n            productId : ProductId | null,\n            packagings : Array<Packaging | null>,\n            replacedPackagingIds : Array<PackagingId | null>,\n            shouldCheckIfPackagingHasBeenModified : boolean,\n            shouldCheckForDuplicates : boolean,\n        ) => ThunkAction<Promise<ProductId | void>, IItemCardStore, IItemCardExtraArguments>;\n        onSetProductActiveState : (productId : ProductId, setAsActive : boolean) => ThunkAction<Promise<void>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments>;\n        onDeleteProduct : (productId : ProductId) => ThunkAction<Promise<void>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments>;\n        setPotentialDuplicateMatches : ISetPotentialDuplicateMatchesActionCreator;\n        setFocusedField : ISetFocusedFieldActionCreator;\n    }\n}\n\ntype ISetProductIdActionCreator = (productId : ProductId | null, productHash : string | null) => ActionInterfaces.ISetProductId;\ntype ISetIsSelectedItemCardViewActionCreator = (selectedItemCardView : ItemCardView) => ActionInterfaces.ISetSelectedItemCardView;\ntype ISetItemCardDataActionCreator = (itemCardData : IItemCardData) => ActionInterfaces.ISetItemCardData;\ntype ISetProductHistoryDataActionCreator = (productHistoryData : IProductHistoryData) => ActionInterfaces.ISetProductHistoryData;\ntype ISetFormFieldValidationDataActionCreator = (field : ProductFormFieldName, value : string, isValid : boolean, errorMessage : string) => ActionInterfaces.ISetFormFieldValidationData;\ntype ISetFormValidationDataActionCreator = (isValid : boolean, errorMessage : string) => ActionInterfaces.ISetFormValidationData;\ntype ISetIsSubmittingActionCreator = (isSubmitting : boolean) => ActionInterfaces.ISetIsSubmitting;\ntype ISetComponentIsShownActionCreator = (componentName : ComponentName, isShown : boolean) => ActionInterfaces.ISetComponentIsShown;\ntype IUpdateProductInfoActionCreator = (\n    productsById : StringValueMap<ProductId, Product>,\n    distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>,\n    productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>,\n    parsByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit> | null>,\n) => ActionInterfaces.IUpdateProductInfo;\ntype IUpdateDistributorsByDistributorIdActionCreator = (\n    distributorsByDistributorId : StringValueMap<DistributorId, Distributor>,\n) => ActionInterfaces.IUpdateDistributorsByDistributorId;\ntype IUpdateNamesByUserAccountIdCreator = (\n    namesByUserAccountId : StringValueMap<UserAccountId, IUserName>\n) => ActionInterfaces.IUpdateNamesByUserAccountId;\ntype IUpdateCategoriesByIdCreator = (\n    categoriesById : StringValueMap<CategoryId, Category>\n) => ActionInterfaces.IUpdateCategoriesById;\ntype ISetProductFormDataActionCreator = (productFormData : IProductFormData) => ActionInterfaces.ISetProductFormData;\ntype ISetProductFormValidationInputDataByFieldNameActionCreator = (validationInputDataByFieldName : ProductFormValidationInputDataByFieldName) => ActionInterfaces.ISetProductFormValidationInputDataByFieldName;\ntype ISetUnitsWithConversionFormsActionCreator = (conversionUnits : Array<string>) => ActionInterfaces.ISetUnitsWithConversionForms;\ntype ISetConversionFieldValidationDataActionCreator = (unit : string, value : string, isValid : boolean, errorMessage : string) => ActionInterfaces.ISetConversionFieldValidationData;\ntype ISetPackagingIdHasPackagingWeightFormActionCreator = (packagingIdValue : string, hasPackagingWeightForm : boolean) => ActionInterfaces.ISetPackagingIdHasPackagingWeightForm;\ntype ISetPackagingWeightFieldValidationDataActionCreator = (packagingIdValue : string, field : PackagingWeightFormFieldName, value : string, isValid : boolean, errorMessage : string) => ActionInterfaces.ISetPackagingWeightFieldValidationData;\ntype ISetPackagingWeightFormPackagingIdValueActionCreator = (packagingIdValue : string, oldPackagingIdValue : string) => ActionInterfaces.ISetPackagingWeightFormPackagingIdValue;\ntype ISetProductDistributorAssociationFieldValidationDataActionCreator = (formId : ProductDistributorAssociationFormId, field : ProductDistributorAssociationFormFieldName, value : string, isValid : boolean, errorMessage : string, packagingIndex : number | null | undefined) => ActionInterfaces.ISetProductDistributorAssociationFieldValidationData;\ntype IAddProductDistributorAssociationFormActionCreator = (formId : ProductDistributorAssociationFormId, productDistributorAssociationForm : IProductDistributorAssociationForm) => ActionInterfaces.IAddProductDistributorAssociationForm;\ntype IRemoveProductDistributorAssociationFormsActionCreator = (formIds : StringValueSet<ProductDistributorAssociationFormId>) => ActionInterfaces.IRemoveProductDistributorAssociationForms;\ntype ISetFocusedFieldActionCreator = (fieldName: ProductFormFieldName | PackagingWeightFormFieldName | null) => ActionInterfaces.ISetFocusedField;\ntype ISetPotentialDuplicateMatchesActionCreator = (potentialDuplicateMatches: Array<DuplicateMatch> | null) => ActionInterfaces.ISetPotentialDuplicateMatches;\n\nconst setProductId : ISetProductIdActionCreator = (\n    productId : ProductId | null,\n    productHash : string | null,\n) : ActionInterfaces.ISetProductId => ({\n    payload: {\n        productId,\n        productHash\n    },\n    type: ActionTypes.SET_PRODUCT_ID\n});\n\nconst setSelectedItemCardView : ISetIsSelectedItemCardViewActionCreator = (\n    selectedItemCardView : ItemCardView\n) : ActionInterfaces.ISetSelectedItemCardView => ({\n    payload: {\n        selectedItemCardView\n    },\n    type: ActionTypes.SET_SELECTED_ITEM_CARD_VIEW\n});\n\nconst setItemCardData : ISetItemCardDataActionCreator = (\n    itemCardData : IItemCardData\n) : ActionInterfaces.ISetItemCardData => ({\n    payload: {\n        itemCardData\n    },\n    type: ActionTypes.SET_ITEM_CARD_DATA\n});\n\nconst setProductHistoryData : ISetProductHistoryDataActionCreator = (\n    productHistoryData : IProductHistoryData\n) : ActionInterfaces.ISetProductHistoryData => ({\n    payload: {\n        productHistoryData\n    },\n    type: ActionTypes.SET_PRODUCT_HISTORY_DATA\n});\n\nconst updateProductInfo : IUpdateProductInfoActionCreator = (\n    productsById : StringValueMap<ProductId, Product>,\n    distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>,\n    productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>,\n    parsByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit> | null>,\n) : ActionInterfaces.IUpdateProductInfo => ({\n    payload: {\n        productsById,\n        distributorIdsByProductId,\n        productDistributorAssociationsByProductId,\n        parsByProductId,\n    },\n    type: ActionTypes.UPDATE_PRODUCT_INFO\n});\n\nconst updateDistributorsByDistributorId : IUpdateDistributorsByDistributorIdActionCreator = (\n    distributorsByDistributorId : StringValueMap<DistributorId, Distributor>,\n) : ActionInterfaces.IUpdateDistributorsByDistributorId => ({\n    payload: {\n        distributorsByDistributorId,\n    },\n    type: ActionTypes.UPDATE_DISTRIBUTORS_BY_DISTRIBUTOR_ID\n});\n\nconst updateNamesByUserAccountId : IUpdateNamesByUserAccountIdCreator = (\n    namesByUserAccountId : StringValueMap<UserAccountId, IUserName>\n) : ActionInterfaces.IUpdateNamesByUserAccountId => ({\n    payload: {\n        namesByUserAccountId\n    },\n    type: ActionTypes.UPDATE_NAMES_BY_USER_ACCOUNT_ID\n});\n\nconst updateCategoriesById : IUpdateCategoriesByIdCreator = (\n    categoriesById : StringValueMap<CategoryId, Category>\n) : ActionInterfaces.IUpdateCategoriesById => ({\n    payload: {\n        categoriesById\n    },\n    type: ActionTypes.UPDATE_PRODUCT_CATEGORIES_BY_ID\n});\n\nconst setFormFieldValidationData : ISetFormFieldValidationDataActionCreator = (\n    field : ProductFormFieldName,\n    value : string,\n    isValid : boolean,\n    errorMessage : string\n) : ActionInterfaces.ISetFormFieldValidationData => ({\n    payload : {\n        field,\n        value,\n        isValid,\n        errorMessage,\n    },\n    type : ActionTypes.SET_FORM_FIELD_VALIDATION_DATA,\n});\n\nconst setFormValidationData : ISetFormValidationDataActionCreator = (\n    isValid : boolean,\n    errorMessage : string\n) : ActionInterfaces.ISetFormValidationData => ({\n    payload : {\n        isValid,\n        errorMessage,\n    },\n    type : ActionTypes.SET_FORM_VALIDATION_DATA,\n});\n\nconst setIsSubmitting : ISetIsSubmittingActionCreator = (\n    isSubmitting : boolean\n) : ActionInterfaces.ISetIsSubmitting => ({\n    payload : {\n        isSubmitting,\n    },\n    type : ActionTypes.SET_IS_SUBMITTING,\n});\n\nconst setComponentIsShown : ISetComponentIsShownActionCreator = (\n    componentName : ComponentName,\n    isShown : boolean,\n) : ActionInterfaces.ISetComponentIsShown => ({\n    payload: {\n        isShown,\n        componentName,\n    },\n    type: ActionTypes.SET_COMPONENT_IS_SHOWN\n});\n\nconst setProductFormData : ISetProductFormDataActionCreator = (\n    productFormData : IProductFormData,\n) : ActionInterfaces.ISetProductFormData => ({\n    payload: {\n        productFormData,\n    },\n    type: ActionTypes.SET_PRODUCT_FORM_DATA\n});\n\nconst setProductFormValidationInputDataByFieldName : ISetProductFormValidationInputDataByFieldNameActionCreator = (\n    validationInputDataByFieldName : ProductFormValidationInputDataByFieldName\n) : ActionInterfaces.ISetProductFormValidationInputDataByFieldName => ({\n    payload: {\n        validationInputDataByFieldName\n    },\n    type: ActionTypes.SET_PRODUCT_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME\n});\n\nconst setUnitsWithConversionForms : ISetUnitsWithConversionFormsActionCreator = (\n    conversionUnits : Array<string>,\n) : ActionInterfaces.ISetUnitsWithConversionForms => ({\n    payload: {\n        conversionUnits,\n    },\n    type: ActionTypes.SET_UNITS_WITH_CONVERSION_FORMS\n});\n\nconst setConversionFieldValidationData : ISetConversionFieldValidationDataActionCreator = (\n    unit : string,\n    value : string,\n    isValid : boolean,\n    errorMessage : string,\n) : ActionInterfaces.ISetConversionFieldValidationData => ({\n    payload: {\n        unit,\n        value,\n        isValid,\n        errorMessage,\n    },\n    type: ActionTypes.SET_CONVERSION_FIELD_VALIDATION_DATA\n});\n\nconst setPackagingIdHasPackagingWeightForm : ISetPackagingIdHasPackagingWeightFormActionCreator = (\n    packagingIdValue : string,\n    hasPackagingWeightForm : boolean,\n) : ActionInterfaces.ISetPackagingIdHasPackagingWeightForm => ({\n    payload: {\n        packagingIdValue,\n        hasPackagingWeightForm,\n    },\n    type: ActionTypes.SET_PACKAGING_ID_HAS_PACKAGING_WEIGHT_FORM\n});\n\nconst setPackagingWeightFieldValidationData : ISetPackagingWeightFieldValidationDataActionCreator = (\n    packagingIdValue : string,\n    field : PackagingWeightFormFieldName,\n    value : string,\n    isValid : boolean,\n    errorMessage : string\n) : ActionInterfaces.ISetPackagingWeightFieldValidationData => ({\n    payload: {\n        packagingIdValue,\n        field,\n        value,\n        isValid,\n        errorMessage,\n    },\n    type: ActionTypes.SET_PACKAGING_WEIGHT_FIELD_VALIDATION_DATA\n});\n\nconst setPackagingWeightFormPackagingIdValue : ISetPackagingWeightFormPackagingIdValueActionCreator = (\n    oldPackagingIdValue : string,\n    newPackagingIdValue : string\n) : ActionInterfaces.ISetPackagingWeightFormPackagingIdValue => ({\n    payload: {\n        oldPackagingIdValue,\n        newPackagingIdValue,\n    },\n    type: ActionTypes.SET_PACKAGING_WEIGHT_FORM_PACKAGING_ID_VALUE\n});\n\nconst setProductDistributorAssociationFieldValidationData : ISetProductDistributorAssociationFieldValidationDataActionCreator = (\n    formId : ProductDistributorAssociationFormId,\n    field : ProductDistributorAssociationFormFieldName,\n    value : string,\n    isValid : boolean,\n    errorMessage : string,\n    packagingIndex : number | null | undefined,\n) : ActionInterfaces.ISetProductDistributorAssociationFieldValidationData => ({\n    payload: {\n        formId,\n        field,\n        value,\n        isValid,\n        errorMessage,\n        packagingIndex,\n    },\n    type: ActionTypes.SET_PRODUCT_DISTRIBUTOR_ASSOCIATION_FIELD_VALIDATION_DATA\n});\n\nconst addProductDistributorAssociationForm : IAddProductDistributorAssociationFormActionCreator = (\n    formId : ProductDistributorAssociationFormId,\n    productDistributorAssociationForm : IProductDistributorAssociationForm,\n) : ActionInterfaces.IAddProductDistributorAssociationForm => ({\n    payload: {\n        formId,\n        productDistributorAssociationForm,\n    },\n    type: ActionTypes.ADD_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM\n});\n\nconst removeProductDistributorAssociationForms : IRemoveProductDistributorAssociationFormsActionCreator = (\n    formIds : StringValueSet<ProductDistributorAssociationFormId>,\n) : ActionInterfaces.IRemoveProductDistributorAssociationForms => ({\n    payload: {\n        formIds,\n    },\n    type: ActionTypes.REMOVE_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORMS\n});\n\nconst setFocusedField : ISetFocusedFieldActionCreator = (\n    focusedField : ProductFormFieldName | PackagingWeightFormFieldName | null,\n) : ActionInterfaces.ISetFocusedField => ({\n    payload: {\n        focusedField,\n    },\n    type: ActionTypes.SET_FOCUSED_FIELD\n});\n\nconst setPotentialDuplicateMatches : ISetPotentialDuplicateMatchesActionCreator = (\n    potentialDuplicateMatches : Array<DuplicateMatch> | null,\n) : ActionInterfaces.ISetPotentialDuplicateMatches => ({\n    payload: {\n        potentialDuplicateMatches,\n    },\n    type: ActionTypes.SET_POTENTIAL_DUPLICATE_MATCHES\n});\n\nconst fetchItemCardData = (\n) : ThunkAction<Promise<void>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n        const currentUserAccountId = window.GLOBAL_USER_ID;\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n        // TODO this could really use some clean up for performance reasons\n        // do we need to be doing all of this up front? this gets for every product, instead of just the one I want to look at\n        // and then we end up refetching a lot of data when this card is opened for specific product\n\n        const nonDeletedProductIds = new StringValueSet<ProductId>();\n        const deletedProductIds = new StringValueSet<ProductId>();\n        const allProductIds = new StringValueSet<ProductId>();\n        let activeProductIds : StringValueSet<ProductId>;\n        let allProductsById : StringValueMap<ProductId, Product>;\n        let availableDistributorsByIdForLocation : StringValueMap<DistributorId, Distributor>;\n        let retailerDistributorRelationships : StringValueMap<DistributorId, RetailerDistributorRelationship>;\n        let distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>;\n        let categoriesById : StringValueMap<CategoryId, Category>;\n        let productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>;\n        let productCostSettings : IProductCostSettings;\n\n        return Promise.all([\n            extraArguments.services.locationProductService.getActiveProductIds(userSessionId, locationId)\n            .then((productIds) => {\n                activeProductIds = productIds;\n            }),\n            extraArguments.services.locationProductService.getProductIds(userSessionId, locationId)\n            .then((productIds) => {\n                productIds.forEach((productId) => {\n                    nonDeletedProductIds.add(productId);\n                    allProductIds.add(productId);\n                });\n            }),\n            extraArguments.services.locationProductService.getDeletionEventsByProductId(userSessionId, locationId)\n            .then((resultDeletionEventsByProductId) => {\n                Array.from(resultDeletionEventsByProductId.keys()).forEach((productId) => {\n                    allProductIds.add(productId);\n                    deletedProductIds.add(productId);\n                });\n            }),\n            extraArguments.services.categoryService.getCategoriesForRetailer(userSessionId, locationId)\n            .then((resultCategoriesById) => {\n                categoriesById = resultCategoriesById;\n            }),\n            extraArguments.services.locationSettingsService.getRetailerSettingsInformation(locationId.getValue())\n            .then((result) => { productCostSettings = {\n                includeDeposits : result.product_cost.include_deposits,\n                includeTaxes : result.product_cost.include_taxes,\n                includeDiscounts : result.product_cost.include_discounts};\n            })\n        ])\n        .then(() => {\n            return Promise.all([\n                extraArguments.services.productService.getProductsById(userSessionId, locationId, allProductIds)\n                .then((resultProductsById) => {\n                    allProductsById = resultProductsById.productsById;\n                }),\n                extraArguments.services.distributorService.getAvailableDistributorsByIdForLocation(userSessionId, locationId)\n                .then((resultAvailableDistributorsByIdForLocation) => {\n                    availableDistributorsByIdForLocation = resultAvailableDistributorsByIdForLocation;\n                }),\n                extraArguments.services.distributorService.getRetailerDistributorRelationships(locationId)\n                .then((resultRetailerDistributorRelationships) => {\n                    retailerDistributorRelationships = resultRetailerDistributorRelationships;\n                }),\n                extraArguments.services.productDistributorService.retrieveDistributorIdsByProductIdForProductIds(userSessionId, Array.from(nonDeletedProductIds.values()))\n                .then((resultDistributorIdsByProductId) => {\n                    distributorIdsByProductId = resultDistributorIdsByProductId;\n                }),\n                extraArguments.services.productDistributorAssociationService.getProductDistributorAssociationsForProductIds(userSessionId, new StringValueSet(nonDeletedProductIds.values()))\n                .then((resultProductDistributorAssociationsByProductId) => {\n                    productDistributorAssociationsByProductId = resultProductDistributorAssociationsByProductId;\n                }),\n            ]);\n        })\n        .then(() => {\n            const glCodes = new Set<string>();\n            const productTypes = new Set<string>();\n            const glCodeIOptions : Array<IOption> = [];\n            const customGlCodeIOptions : Array<IOption> = [];\n            const productTypeIOptions : Array<IOption> = [];\n            const relevantUserAccountIds = new StringValueSet<UserAccountId>();\n\n            const nonDeletedProducts = new Set<Product>();\n\n            relevantUserAccountIds.add(new UserAccountId(currentUserAccountId));\n            nonDeletedProductIds.forEach((productId) => {\n                const product = allProductsById.get(productId);\n                if (typeof product !== 'undefined') {\n                    nonDeletedProducts.add(product);\n                }\n            });\n\n            categoriesById.forEach((category) => {\n                if (!category.getIsDeleted()) {\n                    const glCode = category.getGlCode().trim();\n\n                    if (glCode && !glCodes.has(glCode)) {\n                        glCodes.add(glCode);\n                        glCodeIOptions.push({\n                            value: glCode,\n                            label: CategoryUtils.createCategoryLabelName(category),\n                            icon: null,\n                        });\n                    }\n                }\n            });\n\n            nonDeletedProducts.forEach((product) => {\n                const productType = product.getProductType().trim();\n                const productGLCode = product.getGLCode().trim();\n\n                if (productType && !productTypes.has(productType)) {\n                    productTypes.add(productType);\n                    productTypeIOptions.push({\n                        value: productType,\n                        label: productType,\n                        icon: null,\n                    });\n                }\n\n                if (productGLCode && !glCodes.has(productGLCode)) {\n                    glCodes.add(productGLCode);\n                    customGlCodeIOptions.push({\n                        value: productGLCode,\n                        label: productGLCode,\n                        icon: null,\n                    });\n                }\n\n                relevantUserAccountIds.add(product.getLastUpdateEvent().getUserAccountId());\n            });\n\n            let userAccountPromise : Promise<StringValueMap<UserAccountId, IUserName>>;\n            if (relevantUserAccountIds.size > 0) {\n                userAccountPromise = extraArguments.services.userAccountInfoReader.getNamesForAccountIds(relevantUserAccountIds);\n            } else {\n                userAccountPromise = Promise.resolve(new StringValueMap());\n            }\n\n            return Promise.resolve(userAccountPromise.then((namesByUserAccountId) => {\n                const categorySortedOptionsAndLabelNames = CategoryUtils.getCategorySortedOptionsAndLabelNames(categoriesById, null);\n                const productTypeSortedOptionsAndLabelNames =\n                    createSortedOptionsAndLablNameTuplesFromOptionArray(productTypeIOptions, null);\n                const connectedGlCodeSortedOptionsAndLabelNames =\n                    createSortedOptionsAndLablNameTuplesFromOptionArray(glCodeIOptions, 'Connected GL Codes');\n                const customGlCodeSortedOptionsAndLabelNames =\n                    createSortedOptionsAndLablNameTuplesFromOptionArray(customGlCodeIOptions, 'Custom GL Codes');\n                const glCodeSortedOptionsAndLabelNames = [\n                    connectedGlCodeSortedOptionsAndLabelNames[0],\n                    customGlCodeSortedOptionsAndLabelNames[0],\n                ];\n\n                const distributorIdsWithRelationship = new StringValueSet(Array.from(retailerDistributorRelationships.keys()));\n                const distributorSortedOptionsAndLabelNames = ProductFormUtils.getDistributorSortedOptionsAndLabelNames(availableDistributorsByIdForLocation, distributorIdsWithRelationship, true);\n\n                dispatch(batchActions([\n                    setItemCardData({\n                        activeProductIds,\n                        deletedProductIds,\n                        productsById: allProductsById,\n                        namesByUserAccountId,\n                        distributorsByDistributorId: availableDistributorsByIdForLocation,\n                        distributorIdsByProductId,\n                        distributorIdsWithRelationship,\n                        productDistributorAssociationsByProductId,\n                        categoriesById,\n                        productCostSettings,\n                        // Pars load per product when the card opens, not here, so a reload keeps the ones already loaded\n                        parsByProductId: getState().itemCardState.itemCardData?.parsByProductId ?? new StringValueMap(),\n                    }),\n                    setProductFormData({\n                        distributorSortedOptionsAndLabelNames,\n                        glCodeSortedOptionsAndLabelNames,\n                        categorySortedOptionsAndLabelNames,\n                        productTypeSortedOptionsAndLabelNames,\n                    }),\n                ]));\n            }));\n        });\n    };\n};\n\ninterface IProductHistoryWindowData extends IProductHistoryRecords {\n    distributorsByDistributorId : StringValueMap<DistributorId, Distributor>;\n}\n\n// Resolves a requested number of months back into the window the activity view can actually show, clamped to the\n// retailer's data history limit.\nconst getHistoryDisplayWindow = (\n    numMonthsRequested : number,\n) : { periodStartTimeMoment : moment.Moment, numMonthsOfData : number, hasMoreHistory : boolean } => {\n    const oldestAllowedDate = DataHistoryLimitUtils.getOldestAllowedDateForDataHistoryLimit();\n    let periodStartTimeMoment = moment().subtract(numMonthsRequested, 'months');\n    let hasMoreHistory = true;\n    if (oldestAllowedDate !== null && !periodStartTimeMoment.isAfter(oldestAllowedDate)) {\n        // Shared util returns a UTC moment; local() makes its month boundary match the local buckets below, or a\n        // start date near the UTC/local boundary lands one month short.\n        periodStartTimeMoment = oldestAllowedDate.local();\n        hasMoreHistory = false;\n    }\n\n    return {\n        periodStartTimeMoment,\n        // Number of whole calendar months before the current one that the activity view needs buckets for.\n        numMonthsOfData: moment().startOf('month').diff(periodStartTimeMoment.clone().startOf('month'), 'months'),\n        hasMoreHistory,\n    };\n};\n\nconst fetchProductHistoryWindow = (\n    userSessionId : UserSessionId,\n    locationId : LocationId,\n    periodStartTimeMoment : moment.Moment,\n    periodEndTimeMoment : moment.Moment,\n    extraArguments : ActionInterfaces.IItemCardExtraArguments,\n) : Promise<IProductHistoryWindowData> => {\n    const periodStartTime = new CoreTimeModel.TimestampWithMillisecondPrecision({\n        timeSinceUnixEpoch: new CoreTimeModel.Milliseconds({ value: periodStartTimeMoment.valueOf() })\n    });\n    const periodEndTime = new CoreTimeModel.TimestampWithMillisecondPrecision({\n        timeSinceUnixEpoch: new CoreTimeModel.Milliseconds({ value: periodEndTimeMoment.valueOf() })\n    });\n\n    return Promise.all([\n        extraArguments.services.inventoryCountService.getFinalizedInventoryCountMetadatasByIdForLocationInPeriod(userSessionId, locationId, periodStartTime, periodEndTime),\n        extraArguments.services.orderingService.getDeliveriesForLocationInPeriod(userSessionId, locationId, periodStartTimeMoment, periodEndTimeMoment),\n        extraArguments.services.transferService.getTransferReportsForLocationInPeriod(userSessionId, locationId, periodStartTimeMoment, periodEndTimeMoment),\n        extraArguments.services.breakageService.getBreakageReportsForLocationInPeriod(userSessionId, locationId, periodStartTimeMoment, periodEndTimeMoment),\n        extraArguments.services.prepEventService.getPrepEventIdsForLocationInPeriod(userSessionId, locationId, periodStartTimeMoment, periodEndTimeMoment),\n    ])\n    .then(([inventoryMetadataByInventoryId, deliveriesByDeliveryId, transferIdSet, breakageIdSet, prepEventIdSet]) => {\n        const deliveryDistributorIds = new StringValueSet<DistributorId>();\n        deliveriesByDeliveryId.forEach((delivery) => {\n            const distributorId = delivery.getDistributorId();\n            if (distributorId) {\n                deliveryDistributorIds.add(distributorId);\n            }\n        });\n        const inventoryCountIds = new StringValueSet<InventoryCountId>(Array.from(inventoryMetadataByInventoryId.keys()));\n\n        return Promise.all([\n            extraArguments.services.transferService.getTransferReportsById(userSessionId, transferIdSet, locationId),\n            extraArguments.services.distributorService.getDistributorsById(deliveryDistributorIds),\n            extraArguments.services.breakageService.getBreakageReportsById(userSessionId, breakageIdSet),\n            extraArguments.services.inventoryCountService.getInventoryCountsById(userSessionId, inventoryCountIds),\n            extraArguments.services.prepEventService.getPrepEventsById(userSessionId, prepEventIdSet),\n        ])\n        .then(([transferReportsByTransferId, distributorsByDistributorId, breakageReportsByBreakageId, inventoryCountsByInventoryId, prepEventsByPrepEventId]) => {\n            const partnerLocationIds = new StringValueSet<LocationId>();\n            transferReportsByTransferId.forEach((transferReport : TransferReport) => {\n                const partnerLocation = transferReport.getTransferReportData().getPartnerLocation();\n                if (partnerLocation instanceof LocationId) {\n                    partnerLocationIds.add(partnerLocation);\n                }\n            });\n\n            return locationService.getLocationNamesById(partnerLocationIds)\n            .then((locationNamesByLocationId) => ({\n                inventoryMetadataByInventoryId,\n                inventoryCountsByInventoryId,\n                deliveriesByDeliveryId,\n                transferReportsByTransferId,\n                breakageReportsByBreakageId,\n                prepEventsByPrepEventId,\n                locationNamesByLocationId,\n                distributorsByDistributorId,\n            }));\n        });\n    });\n};\n\n// Loads numMonthsToLoad more months, older than whatever is already in state, and appends them to it. The months are\n// fetched as parallel ITEM_CARD_HISTORY_FETCH_CHUNK_MONTHS-wide windows rather than one wide request.\nconst fetchProductHistoryData = (\n    numMonthsToLoad : number,\n) : ThunkAction<Promise<void>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n        const loadedProductHistoryData = getState().itemCardState.productHistoryData;\n        const numMonthsDisplayed = loadedProductHistoryData === null ? 0 : loadedProductHistoryData.numMonthsOfData;\n        const numMonthsLoaded = loadedProductHistoryData === null ? 0 : loadedProductHistoryData.numMonthsOfDataLoaded;\n        const numMonthsToLoadThrough = numMonthsDisplayed + numMonthsToLoad;\n\n        const { periodStartTimeMoment, numMonthsOfData, hasMoreHistory } = getHistoryDisplayWindow(numMonthsToLoadThrough);\n\n        // Another item card may already have loaded past the requested window, so widen what is shown without fetching.\n        if (loadedProductHistoryData !== null && numMonthsOfData <= numMonthsLoaded) {\n            dispatch(setProductHistoryData({ ...loadedProductHistoryData, numMonthsOfData, hasMoreHistory }));\n            return Promise.resolve();\n        }\n\n        if (loadedProductHistoryData !== null) {\n            dispatch(setProductHistoryData({ ...loadedProductHistoryData, isFetchingMoreHistory: true }));\n        }\n\n        const chunkPromises : Array<Promise<IProductHistoryWindowData>> = [];\n        for (let chunkStartMonthsAgo = numMonthsLoaded; chunkStartMonthsAgo < numMonthsToLoadThrough; chunkStartMonthsAgo += ITEM_CARD_HISTORY_FETCH_CHUNK_MONTHS) {\n            const chunkEndTimeMoment = moment().subtract(chunkStartMonthsAgo, 'months');\n            const chunkStartTimeMoment = moment.max(moment().subtract(chunkStartMonthsAgo + ITEM_CARD_HISTORY_FETCH_CHUNK_MONTHS, 'months'), periodStartTimeMoment);\n            if (chunkStartTimeMoment.isBefore(chunkEndTimeMoment)) {\n                chunkPromises.push(fetchProductHistoryWindow(userSessionId, locationId, chunkStartTimeMoment, chunkEndTimeMoment, extraArguments));\n            }\n        }\n\n        const mergeEventsPromise = loadedProductHistoryData === null\n            ? extraArguments.services.productMergeService.getMergeEventsForRetailer(userSessionId, locationId)\n            : Promise.resolve(loadedProductHistoryData.productMergeEventsByProductId);\n\n        return Promise.all([Promise.all(chunkPromises), mergeEventsPromise])\n        .then(([chunkResults, productMergeEventsByProductId]) => {\n            const recordsToMerge : Array<IProductHistoryRecords> = loadedProductHistoryData === null ? chunkResults : [loadedProductHistoryData, ...chunkResults];\n            const productHistoryData : IProductHistoryData = {\n                inventoryMetadataByInventoryId: StringValueMap.merge(...recordsToMerge.map((records) => records.inventoryMetadataByInventoryId)),\n                inventoryCountsByInventoryId: StringValueMap.merge(...recordsToMerge.map((records) => records.inventoryCountsByInventoryId)),\n                deliveriesByDeliveryId: StringValueMap.merge(...recordsToMerge.map((records) => records.deliveriesByDeliveryId)),\n                transferReportsByTransferId: StringValueMap.merge(...recordsToMerge.map((records) => records.transferReportsByTransferId)),\n                breakageReportsByBreakageId: StringValueMap.merge(...recordsToMerge.map((records) => records.breakageReportsByBreakageId)),\n                prepEventsByPrepEventId: StringValueMap.merge(...recordsToMerge.map((records) => records.prepEventsByPrepEventId)),\n                locationNamesByLocationId: StringValueMap.merge(...recordsToMerge.map((records) => records.locationNamesByLocationId)),\n                productMergeEventsByProductId,\n                numMonthsOfData,\n                numMonthsOfDataLoaded: Math.max(numMonthsLoaded, numMonthsOfData),\n                hasMoreHistory,\n                isFetchingMoreHistory: false,\n            };\n\n            dispatch(batchActions([\n                updateDistributorsByDistributorId(StringValueMap.merge(...chunkResults.map((windowData) => windowData.distributorsByDistributorId))),\n                setProductHistoryData(productHistoryData),\n            ]));\n        })\n        .catch((error) => {\n            // Rethrow so the global error handler still sees it\n            if (loadedProductHistoryData !== null) {\n                dispatch(setProductHistoryData({ ...loadedProductHistoryData, isFetchingMoreHistory: false }));\n            }\n            throw error;\n        });\n    };\n};\n\n// Resolves to whether the card was shown; false when the product can't be found for this account.\nconst onShowItemCardForProductId = ( // TODO if the page this is mounted on has shared context, could share API data if this is slow\n    productId : ProductId | null,\n) : ThunkAction<Promise<boolean>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return async (dispatch, getState, extraArguments) : Promise<boolean> => {\n        const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n        const itemCardData = getState().itemCardState.itemCardData;\n\n        // Every card opens on the default window. The records themselves are kept, so this costs no refetch and a card\n        // opened after another expanded the window still shows the default.\n        const loadedProductHistoryData = getState().itemCardState.productHistoryData;\n        const resetDisplayedWindowActions : Array<IAction> = [];\n        if ((loadedProductHistoryData !== null) && (loadedProductHistoryData.numMonthsOfData > ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW)) {\n            const defaultWindow = getHistoryDisplayWindow(ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW);\n            resetDisplayedWindowActions.push(setProductHistoryData({\n                ...loadedProductHistoryData,\n                numMonthsOfData: defaultWindow.numMonthsOfData,\n                hasMoreHistory: defaultWindow.hasMoreHistory,\n            }));\n        }\n\n        dispatch(batchActions([\n            setComponentIsShown('productModificationConfirmationDialog', false),\n            setIsSubmitting(false),\n            setFormValidationData(true, ''),\n            ...resetDisplayedWindowActions,\n        ]));\n\n        if (productId) {\n            // Fetch the product alone first: the other lookups reject on permissions when it belongs to a location the\n            // user can't access, which would mask the 404 handled here.\n            const productAndProductHash = await extraArguments.services.productService.getProductAndProductHash(userSessionId, locationId, productId)\n            .catch((error : IRestApiRejection) : null => {\n                if (error.status !== 404) {\n                    throw error;\n                }\n\n                return null;\n            });\n            if (productAndProductHash === null) {\n                // The product isn't at this location. Leave the user on the page with no item open, and drop the\n                // dead id so a refresh doesn't retry it.\n                const urlWithoutItemId = URLStringUtils.replaceOrRemoveURLParameter(window.location.href, ITEM_ID_URL_PARAM, null);\n                window.history.replaceState(null, '', urlWithoutItemId);\n                return false;\n            }\n\n            const { product, productHash } = productAndProductHash;\n            const [\n                distributorIdsByProductId,\n                currentProductCostsByProductId,\n                parByProductId,\n                productDistributorAssociationsByProductId,\n            ] = await Promise.all([\n                extraArguments.services.productDistributorService.retrieveDistributorIdsByProductIdForProductIds(userSessionId, [productId]),\n                extraArguments.services.productCostService.getCurrentProductCostsByProductId(userSessionId, new StringValueSet([productId]), locationId),\n                extraArguments.services.productParService.getParsByProductId(userSessionId, new StringValueSet([productId])),\n                extraArguments.services.productDistributorAssociationService.getProductDistributorAssociationsForProductIds(userSessionId, new StringValueSet([productId])),\n            ]);\n\n            const productsById = new StringValueMap<ProductId, Product>();\n            productsById.set(productId, product);\n\n            const distributorId = distributorIdsByProductId.get(productId);\n            const productCost = currentProductCostsByProductId.get(productId);\n            const par = parByProductId.get(productId);\n            const userAccountId = product.getLastUpdateEvent().getUserAccountId();\n\n            if ((typeof distributorId === 'undefined') || (typeof productCost === 'undefined') || (typeof par === 'undefined')) {\n                throw new RuntimeException(`lookup for productId: ${ productId.getValue() } unexpectedly was undefined`);\n            }\n\n            const categoryIdSet = new StringValueSet<CategoryId>();\n            const categoryId = product.getNewProductCategoryId();\n            if (categoryId) {\n                categoryIdSet.add(categoryId);\n            }\n\n            const newCategoriesById = categoryId ?\n                await extraArguments.services.categoryService.getCategoriesById(userSessionId, locationId, categoryIdSet) :\n                new StringValueMap<CategoryId, Category>();\n\n            const relevantDistributorIds = new StringValueSet<DistributorId>();\n            if (distributorId) {\n                relevantDistributorIds.add(distributorId);\n            }\n            productDistributorAssociationsByProductId.forEach((productDistributorAssociations) => {\n                productDistributorAssociations.forEach((productDistributorAssociation) => {\n                    relevantDistributorIds.add(productDistributorAssociation.getDistributorId());\n                });\n            });\n            if (relevantDistributorIds.size > 0) {\n                await dispatch(onUpdateDistributor(relevantDistributorIds));\n            }\n\n            const name : IUserName = (itemCardData != null && itemCardData.namesByUserAccountId.has(userAccountId)) ?\n                itemCardData.namesByUserAccountId.getRequired(userAccountId) :\n                await extraArguments.services.userAccountInfoReader.getNameForAccountId(userAccountId);\n            const namesByUserAccountId = new StringValueMap<UserAccountId, IUserName>();\n            namesByUserAccountId.set(userAccountId, name);\n\n            const productDistributorAssociations = Array.from(productDistributorAssociationsByProductId.getRequired(productId).values());\n\n            dispatch(batchActions([\n                setProductId(productId, productHash),\n                updateNamesByUserAccountId(namesByUserAccountId),\n                updateProductInfo(productsById, distributorIdsByProductId, productDistributorAssociationsByProductId, parByProductId),\n                setProductFormValidationInputDataByFieldName(ProductFormUtils.getValidationInputDataByFieldName(product, distributorId, productCost, par, productDistributorAssociations)),\n                updateCategoriesById(newCategoriesById),\n                setComponentIsShown('itemCardModal', true),\n            ]));\n            return true;\n        } else {\n            dispatch(batchActions([\n                setProductId(productId, null),\n                setProductFormValidationInputDataByFieldName(CREATE_PRODUCT_FORM_INITIAL_VALIDATION_INPUT_DATA_BY_FIELD_NAME),\n                setComponentIsShown('itemCardModal', true),\n            ]));\n\n            return Promise.resolve(true);\n        }\n    };\n};\n\nconst onFormFieldChange = (\n    field : ProductFormFieldName,\n    value : string,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const itemCardState = getState().itemCardState;\n        const itemCardData = itemCardState.itemCardData;\n        // If changing category and the product GL code is defaulted to the category, match gl code with new category\n        if (itemCardData && field === 'categoryId') {\n            const oldCategoryId = new CategoryId(itemCardState.productForm.validationInputDataByFieldName.categoryId.value);\n            const oldGlCode = itemCardState.productForm.validationInputDataByFieldName.glCode.value;\n            const categoryId = new CategoryId(value);\n            const categoriesById = itemCardData.categoriesById;\n            if (categoriesById.has(categoryId) && categoriesById.has(oldCategoryId) && categoriesById.getRequired(oldCategoryId).getGlCode() === oldGlCode) {\n                dispatch(onFormFieldChange('glCode', itemCardData.categoriesById.getRequired(categoryId).getGlCode()));\n            }\n        }\n\n        const { isValid, errorMessage } = ProductFormUtils.validateValueByFieldName(field, value);\n        dispatch(setFormFieldValidationData(field, value, isValid, errorMessage));\n    };\n};\n\nconst onFormFieldBlur = (\n    field : ProductFormFieldName,\n    value : string,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        let blurValue = value.trim();\n        if ((field === 'priceAmount') || (field === 'unitDeposit')) {\n            if (blurValue === '') {\n                blurValue = DEFAULT_PRICE_VALUE;\n            }\n        }\n\n        const { isValid, errorMessage } = ProductFormUtils.validateValueByFieldName(field, blurValue);\n\n        if (isValid) {\n            if ((field === 'priceAmount') || (field === 'unitDeposit') || (field === 'costAmount')) {\n                blurValue = numberUtils.FormatToMinumumTwoAndMaximumThreeDecimalPlaces(parseFloat(blurValue));\n            }\n        }\n\n        dispatch(setFormFieldValidationData(field, blurValue, isValid, errorMessage));\n\n        if (isValid) {\n            dispatch(setFormValidationData(true, ''));\n        }\n    };\n};\n\n// Syncs cost from price after a price field changes. costUnitFormValue is the compound\n// form-product-quantity-unit value (e.g. \"other (1lbs)\") matching the current price unit,\n// resolved by the caller against the CURRENT packaging form data via\n// ProductFormUtils.getFormProductQuantityUnitValueForPriceUnit. It is null when no packaging\n// level matches, in which case costUnit is left untouched — we never write a price-unit short\n// name (e.g. \"other\") into costUnit, which expects compound form values.\nconst onPriceFieldChange = (\n    costUnitFormValue : string | null,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        // set/confirm cost\n        const {\n            productForm,\n            itemCardData,\n        } = getState().itemCardState;\n        if (!itemCardData) {\n            throw new RuntimeException(\"item card data not fully loaded\");\n        }\n        // Don't sync cost off an invalid price. Mirrors the old priceAmount-blur gating, and\n        // additionally skips the sync when the price unit changes while the amount is invalid.\n        if (!productForm.validationInputDataByFieldName.priceAmount.isValid) {\n            return;\n        }\n        const {\n            includeDeposits,\n            includeDiscounts,\n            includeTaxes\n        } = itemCardData.productCostSettings;\n        // sync price to cost ONLY IF account is not configured to account for cost inputs beyond price\n        if (includeDeposits || includeDiscounts || includeTaxes) {\n            dispatch(setFormFieldValidationData('costAmount', productForm.validationInputDataByFieldName.costAmount.value, false, 'Please verify this value.'));\n            dispatch(setFormValidationData(false, 'Please verify the Cost field.'));\n        } else {\n            if (costUnitFormValue !== null) {\n                dispatch(setFormFieldValidationData('costUnit', costUnitFormValue, true, ''));\n            }\n            dispatch(setFormFieldValidationData('costAmount', productForm.validationInputDataByFieldName.priceAmount.value, false, 'This is updated to match the Price field.'));\n            dispatch(setFormValidationData(true, ''));\n        }\n    };\n};\n\nconst onConversionFieldChange = (\n    unit : string,\n    value : string,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const isValid = Validation.validateRequired(value) && Validation.validateNumber(value) && Validation.validateGreaterThanZero(value);\n        let errorMessage = '';\n        if (!isValid) {\n            errorMessage = 'Invalid value';\n        }\n\n        dispatch(setConversionFieldValidationData(unit, value, isValid, errorMessage));\n    };\n};\n\nconst onConversionFieldBlur = (\n    unit : string,\n    value : string,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        let blurValue = value.trim();\n        if (blurValue === '') {\n            blurValue = '1';\n        }\n\n        const isValid = Validation.validateRequired(blurValue) && Validation.validateNumber(blurValue);\n\n        let errorMessage = '';\n        if (!isValid) {\n            errorMessage = 'Invalid value';\n        }\n\n        dispatch(setConversionFieldValidationData(unit, blurValue, isValid, errorMessage));\n\n        if (isValid) {\n            dispatch(setFormValidationData(true, ''));\n        }\n    };\n};\n\nconst onPackagingWeightFormFieldChange = (\n    packagingIdValue : string,\n    field : PackagingWeightFormFieldName,\n    value : string,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const { isValid, errorMessage } = ProductFormUtils.validatePackagingWeightValueByFieldName(field, value);\n        dispatch(setPackagingWeightFieldValidationData(packagingIdValue, field, value, isValid, errorMessage));\n    };\n};\n\nconst onPackagingWeightFormFieldBlur = (\n    packagingIdValue : string,\n    field : PackagingWeightFormFieldName,\n    value : string,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const blurValue = value.trim();\n        const { isValid, errorMessage } = ProductFormUtils.validatePackagingWeightValueByFieldName(field, blurValue);\n        dispatch(setPackagingWeightFieldValidationData(packagingIdValue, field, blurValue, isValid, errorMessage));\n\n        if (isValid) {\n            dispatch(setFormValidationData(true, ''));\n        }\n    };\n};\n\nconst onAddProductDistributorAssociationForm = (\n    packagingIndex : number | null,\n    productDistributorAssociationFormValidationInputDataByFieldName : ProductDistributorAssociationFormValidationInputDataByFieldName | null,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        let validationInputDataByFieldName = { ...DEFAULT_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME };\n        if (productDistributorAssociationFormValidationInputDataByFieldName !== null) {\n            validationInputDataByFieldName = productDistributorAssociationFormValidationInputDataByFieldName;\n        }\n\n        dispatch(addProductDistributorAssociationForm(\n            ProductDistributorAssociationFormId.generateUniqueProductDistributorAssociationFormId(),\n            {\n                validationInputDataByFieldName,\n                isValid: true,\n                errorMessage: '',\n                packagingIndex,\n            }\n        ));\n    };\n};\n\nconst onProductDistributorAssociationFormFieldChange = (\n    formId : ProductDistributorAssociationFormId,\n    field : ProductDistributorAssociationFormFieldName,\n    value : string,\n    packagingIndex : number | null | undefined,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const { isValid, errorMessage } = ProductFormUtils.validateProductDistributorAssociationValueByFieldName(field, value);\n        dispatch(setProductDistributorAssociationFieldValidationData(formId, field, value, isValid, errorMessage, packagingIndex));\n    };\n};\n\nconst onProductDistributorAssociationFormFieldBlur = (\n    formId : ProductDistributorAssociationFormId,\n    field : ProductDistributorAssociationFormFieldName,\n    value : string,\n    packagingIndex : number | null | undefined,\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        let blurValue = value.trim();\n        if ((field === 'priceAmount') || (field === 'depositAmount')) {\n            if (blurValue === '') {\n                blurValue = DEFAULT_PRICE_VALUE;\n            }\n        }\n\n        const { isValid, errorMessage } = ProductFormUtils.validateProductDistributorAssociationValueByFieldName(field, blurValue);\n\n        if (isValid) {\n            if ((field === 'priceAmount') || (field === 'depositAmount')) {\n                blurValue = numberUtils.FormatToMinumumTwoAndMaximumThreeDecimalPlaces(parseFloat(blurValue));\n            }\n        }\n\n        dispatch(setProductDistributorAssociationFieldValidationData(formId, field, blurValue, isValid, errorMessage, packagingIndex));\n\n        if (isValid) {\n            dispatch(setFormValidationData(true, ''));\n        }\n    };\n};\n\nconst onUpdateDistributor = (\n    distributorIds : StringValueSet<DistributorId>,\n) : ThunkAction<Promise<void>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        return extraArguments.services.distributorService.getDistributorsById(distributorIds, true)\n        .then((distributorsByDistributorId) => {\n            dispatch(updateDistributorsByDistributorId(distributorsByDistributorId));\n        });\n    };\n};\n\nconst onSetSelectedItemCardView = (\n    selectedItemCardView : ItemCardView\n) : ThunkAction<void, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        if (selectedItemCardView === 'productHistory') {\n            const productHistoryData = getState().itemCardState.productHistoryData;\n            if (productHistoryData === null) {\n                void dispatch(fetchProductHistoryData(ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW));\n            }\n        }\n\n        dispatch(setSelectedItemCardView(selectedItemCardView));\n    };\n};\n\nconst validateProductForm = () : ThunkAction<boolean, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : boolean => {\n        let formIsValid = true;\n\n        const validationInputDataByFieldName = getState().itemCardState.productForm.validationInputDataByFieldName;\n        Object.keys(validationInputDataByFieldName).forEach((key) => {\n            let isValid : boolean;\n\n            if (key === 'conversions') {\n                const conversions = validationInputDataByFieldName.conversions;\n                let allConversionsAreValid = true;\n\n                Object.keys(conversions).forEach((productQuantityUnitValue) => {\n                    const value = conversions[productQuantityUnitValue].value;\n                    const conversionIsValid = Validation.validateRequired(value) && Validation.validateNumber(value) && Validation.validateGreaterThanZero(value);\n                    let errorMessage = '';\n                    if (!conversionIsValid) {\n                        errorMessage = 'Invalid value';\n                    }\n\n                    dispatch(setConversionFieldValidationData(productQuantityUnitValue, value, conversionIsValid, errorMessage));\n                    allConversionsAreValid = allConversionsAreValid && conversionIsValid;\n                });\n\n                isValid = allConversionsAreValid;\n            } else if (key === 'packagingWeights') {\n                const packagingWeights = validationInputDataByFieldName.packagingWeights;\n                let allPackagingWeightsAreValid = true;\n\n                Object.keys(packagingWeights).forEach((packagingIdValue) => {\n                    const packagingWeightFormValidationInputDataByFieldName = packagingWeights[packagingIdValue];\n                    Object.keys(packagingWeightFormValidationInputDataByFieldName).forEach((packagingWeightKey) => {\n                        const fieldName = packagingWeightKey as PackagingWeightFormFieldName;\n                        const value = (packagingWeightFormValidationInputDataByFieldName)[fieldName].value;\n\n                        const validationResult = ProductFormUtils.validatePackagingWeightValueByFieldName(fieldName, value);\n                        allPackagingWeightsAreValid = allPackagingWeightsAreValid && validationResult.isValid;\n\n                        dispatch(setPackagingWeightFieldValidationData(packagingIdValue, fieldName, value, validationResult.isValid, validationResult.errorMessage));\n                    });\n                });\n\n                isValid = allPackagingWeightsAreValid;\n            } else if (key === 'productDistributorAssociations') {\n                if (window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n                    const productDistributorAssociations = validationInputDataByFieldName.productDistributorAssociations;\n                    let allProductDistributorAssociations = true;\n\n                    productDistributorAssociations.forEach((productDistributorAssociationForm, productDistributorAssociationFormId) => {\n                        const productDistributorAssociationFormValidationInputDataByFieldName = productDistributorAssociationForm.validationInputDataByFieldName;\n                        Object.keys(productDistributorAssociationFormValidationInputDataByFieldName).forEach((productDistributorAssociationFormFieldName) => {\n                            const fieldName = productDistributorAssociationFormFieldName as ProductDistributorAssociationFormFieldName;\n                            const value = productDistributorAssociationFormValidationInputDataByFieldName[fieldName].value;\n\n                            const validationResult = ProductFormUtils.validateProductDistributorAssociationValueByFieldName(fieldName, value);\n                            allProductDistributorAssociations = allProductDistributorAssociations && validationResult.isValid;\n\n                            dispatch(setProductDistributorAssociationFieldValidationData(productDistributorAssociationFormId, fieldName, value, validationResult.isValid, validationResult.errorMessage, productDistributorAssociationForm.packagingIndex));\n                        });\n                    });\n\n                    isValid = allProductDistributorAssociations;\n                } else {\n                    isValid = true;\n                    // We shouldn't do anything with this field unless the retailer has the multi_vendor featur flag on\n                }\n            } else {\n                const fieldName = key as ProductFormFieldName;\n                const value = (validationInputDataByFieldName)[fieldName].value;\n\n                const validationResult = ProductFormUtils.validateValueByFieldName(fieldName, value);\n                isValid = validationResult.isValid;\n\n                dispatch(setFormFieldValidationData(fieldName, value, isValid, validationResult.errorMessage));\n            }\n\n            formIsValid = formIsValid && isValid;\n        });\n        return formIsValid;\n    }\n}\n\nconst onSaveProductForm = (\n    productId : ProductId | null,\n    packagings : Array<Packaging | null>,\n    replacedPackagingIds : Array<PackagingId | null>,\n    shouldCheckIfPackagingHasBeenModified : boolean,\n    shouldCheckForDuplicates: boolean,\n) : ThunkAction<Promise<ProductId | void>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : Promise<ProductId | void> => {\n        dispatch(setIsSubmitting(true));\n\n        const formIsValid = dispatch(validateProductForm());\n\n        const validPackagings : Array<Packaging> = [];\n        packagings.forEach((packaging) => {\n            if (packaging !== null) {\n                validPackagings.push(packaging);\n            }\n        });\n\n        const allPackagingsAreValid = (validPackagings.length > 0) && (packagings.length === validPackagings.length);\n\n        if (formIsValid && allPackagingsAreValid) {\n            dispatch(setFormValidationData(formIsValid, ''));\n\n            const itemCardState = getState().itemCardState;\n            const {\n                itemCardData,\n                productForm,\n                productHash,\n                productFormData,\n            } = itemCardState;\n\n            if (!itemCardData) {\n                throw new RuntimeException('itemCardData is unexpectedly null');\n            }\n\n            let savedProduct : Product | null = null;\n            let savedProductDistributorAssociations = new StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>();\n            if (productId) {\n                savedProduct = itemCardData.productsById.getRequired(productId);\n                savedProductDistributorAssociations = itemCardData.productDistributorAssociationsByProductId.getRequired(productId);\n            }\n\n            const productSaveData = ProductFormUtils.getProductSaveData(\n                productForm.validationInputDataByFieldName,\n                validPackagings,\n                replacedPackagingIds,\n                savedProduct,\n                new UserAccountIdAndTimestamp(new UserAccountId(window.GLOBAL_USER_ID), DateTime.now().toTimestampWithMillisecondPrecision()),\n                PackagingUtils.generatePackagingId);\n            let product = productSaveData.product;\n            const distributorId = productSaveData.distributorId;\n            const par = productSaveData.par;\n            const productCost = productSaveData.productCost;\n            const getProductDistributorAssociations = productSaveData.getProductDistributorAssociations;\n            const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n            const userAccountId = new UserAccountId(window.GLOBAL_USER_ID);\n            const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n            if (shouldCheckForDuplicates) {\n                // Check against all non-deleted products (active + archived)\n                const nonDeletedProductIds = Array.from(itemCardData.productsById.keys())\n                    .filter((pId) => !itemCardData.deletedProductIds.has(pId));\n\n                const duplicateMatches = findDuplicatesForProduct(\n                    product,\n                    nonDeletedProductIds,\n                    itemCardData.productsById,\n                    itemCardData.productDistributorAssociationsByProductId,\n                    itemCardData.distributorIdsByProductId,\n                    distributorId,\n                    getProductDistributorAssociations,\n                );\n                if (duplicateMatches.length > 0) {\n                    dispatch(setPotentialDuplicateMatches(duplicateMatches));\n                    dispatch(setIsSubmitting(false));\n                    return Promise.resolve();\n                }\n            } else {\n                setPotentialDuplicateMatches(null);\n            }\n\n            const newCategoryId = product.getNewProductCategoryId();\n            const newCategoriesById = new StringValueMap(itemCardData.categoriesById);\n            let newCategoryPromise : Promise<CategoryId | null>;\n            let newCategoryName = product.getProductCategoryId();\n            if (newCategoryId && !itemCardData.categoriesById.has(newCategoryId)) {\n                // Need to create a new category\n                const newCategory = new Category(\n                    newCategoryId.getValue(),\n                    '',\n                    false,\n                    '',\n                    new UserAccountIdAndTimestamp(userAccountId, DateTime.now().toTimestampWithMillisecondPrecision()),\n                    new UserAccountIdAndTimestamp(userAccountId, DateTime.now().toTimestampWithMillisecondPrecision()),\n                    undefined\n                );\n                newCategoryName = newCategoryId.getValue();\n                newCategoryPromise = extraArguments.services.categoryService.createCategory(userSessionId, locationId, newCategory)\n                    .then((categoryInformation) => {\n                        newCategoriesById.set(categoryInformation.category_id, new Category(\n                            newCategoryId.getValue(),\n                            '',\n                            false,\n                            categoryInformation.category_hash,\n                            new UserAccountIdAndTimestamp(userAccountId, DateTime.now().toTimestampWithMillisecondPrecision()),\n                            new UserAccountIdAndTimestamp(userAccountId, DateTime.now().toTimestampWithMillisecondPrecision()),\n                            undefined\n                        ));\n                        dispatch(setItemCardData({\n                            ...itemCardData,\n                            categoriesById: newCategoriesById,\n                        }));\n                        return Promise.resolve(categoryInformation.category_id);\n                    });\n            } else if (newCategoryId) {\n                newCategoryName = itemCardData.categoriesById.getRequired(newCategoryId).getName();\n                newCategoryPromise = Promise.resolve(newCategoryId);\n            } else {\n                newCategoryPromise = Promise.resolve(newCategoryId);\n            }\n            return newCategoryPromise.then((categoryId) => {\n                let productIdPromise : Promise<ProductId>;\n                product = productUtils.getProductWithNewCategory(product, categoryId, newCategoryName);\n\n                if (categoryId) {\n                    // If the product GL code matches its category's gl code, remove gl code from the product mongo object(inherit from category)\n                    const category = itemCardData.categoriesById.get(categoryId);\n                    if (typeof category !== 'undefined' && category.getGlCode().trim() === product.getGLCode().trim()) {\n                        product = productUtils.getProductWithNewGLCode(product, '');\n                    }\n                }\n\n                if (productId) {\n                    if (!savedProduct || !productHash) {\n                        throw new RuntimeException(`expected product and productHash for productId`);\n                    }\n\n                    if (shouldCheckIfPackagingHasBeenModified) {\n                        const packagingsAndMappings = product.getPackagingsAndMappings();\n                        const savedPackagingsAndMappings = savedProduct.getPackagingsAndMappings();\n\n                        let packagingsAreEqual = packagingsAndMappings.getConversions().equals(savedPackagingsAndMappings.getConversions());\n                        packagingsAreEqual = packagingsAreEqual && (packagingsAndMappings.getPackagingData().length === savedPackagingsAndMappings.getPackagingData().length);\n\n                        if (packagingsAreEqual) {\n                            packagingsAndMappings.getPackagingData().forEach((data, index) => {\n                                const otherData = savedPackagingsAndMappings.getPackagingData()[index];\n                                packagingsAreEqual = packagingsAreEqual && data.packaging.equals(otherData.packaging);\n                            });\n                        }\n\n                        if (!packagingsAreEqual) {\n                            let allPackagingsAreContained = true;\n                            Array.from(savedPackagingsAndMappings.getAvailablePackagingByPackagingId().keys()).forEach((packagingId) => {\n                                allPackagingsAreContained = allPackagingsAreContained && packagingsAndMappings.getAvailablePackagingByPackagingId().has(packagingId);\n                            });\n\n                            if (!allPackagingsAreContained) {\n                                dispatch(setIsSubmitting(false));\n                                dispatch(setComponentIsShown('productModificationConfirmationDialog', true));\n                                return Promise.resolve();\n                            }\n                        }\n                    } else {\n                        dispatch(setComponentIsShown('productModificationConfirmationDialog', false));\n                    }\n\n                    productIdPromise = extraArguments.services.productService.editProduct(userSessionId, locationId, productId, product, productHash)\n                    .then(() => Promise.resolve(productId));\n                } else {\n                    productIdPromise = extraArguments.services.productService.createProduct(userSessionId, locationId, product);\n                }\n\n                return productIdPromise\n                .then((resultProductId) => {\n                    if (!productId) {\n                        void extraArguments.services.locationProductService.setProductAsActive(userSessionId, locationId, resultProductId);\n                    }\n\n                    // If there were any product categories or product types added, add them to the form data.\n                    dispatch(setProductFormData({\n                        ...productFormData,\n                        categorySortedOptionsAndLabelNames: CategoryUtils.getCategorySortedOptionsAndLabelNames(newCategoriesById, null),\n                        productTypeSortedOptionsAndLabelNames:\n                            addToSortedOptionList(\n                                productFormData.productTypeSortedOptionsAndLabelNames,\n                                product.getProductType(),\n                                null),\n                    }));\n\n                    let newProductCost: ProductCost | null = productCost;\n\n                    let distributorAssociationPromise;\n                    if (window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n                        const updatedProductDistributorAssociations = getProductDistributorAssociations(resultProductId);\n                        const productDistributorAssociationsToRemove: Array<ProductDistributorAssociation> = [];\n\n                        const updatedProductDistributorAssociationsByIdentifier = new StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>();\n                        updatedProductDistributorAssociations.forEach((productDistributorAssociation) => {\n                            updatedProductDistributorAssociationsByIdentifier.set(\n                                ProductDistributorAssociationIdentifier.fromProductDistributorAssociation(productDistributorAssociation),\n                                productDistributorAssociation\n                            );\n\n                            // We want to set the productCost to one of the ProductDistributorAssociation prices if the user hasn't selected any value\n                            // We also want to set the productCost if the cost is set to 0\n                            if (!newProductCost || (productCost && decimalToNumber(productCost.getCost()) === 0)) {\n                                const productDistributorAssociationPrice = productDistributorAssociation.getPrice();\n                                if (productDistributorAssociationPrice) {\n                                    newProductCost = productDistributorAssociationPrice;\n                                }\n                            }\n                        });\n\n                        savedProductDistributorAssociations.forEach((productDistributorAssociation, productDistributorAssociationIdentifier) => {\n                            // TODO Maybe also check for cases when updates are not actually needed\n                            if (!updatedProductDistributorAssociationsByIdentifier.has(productDistributorAssociationIdentifier)) {\n                                productDistributorAssociationsToRemove.push(productDistributorAssociation);\n                            }\n                        });\n\n                        distributorAssociationPromise = Promise.all([\n                            (updatedProductDistributorAssociations.length > 0) ? extraArguments.services.productDistributorAssociationService.createOrUpdateProductDistributorAssociations(userSessionId, updatedProductDistributorAssociations) : Promise.resolve(),\n                            (productDistributorAssociationsToRemove.length > 0) ? extraArguments.services.productDistributorAssociationService.disassociateProductDistributorAssociations(userSessionId, productDistributorAssociationsToRemove) : Promise.resolve(),\n                        ])\n                        .then(() => {\n                            return Promise.resolve();\n                        });\n                    } else {\n                        if (distributorId) {\n                            distributorAssociationPromise = extraArguments.services.productDistributorService.associateDistributorIdWithProductId(userSessionId, resultProductId, distributorId)\n                            .catch((error) => {\n                                if (!(error instanceof ProductExceptions.ProductIdAlreadyHasAssociationWithThisDistributorIdException)) {\n                                    throw error;\n                                }\n                            });\n                        } else {\n                            distributorAssociationPromise = extraArguments.services.productDistributorService.disassociateDistributorIdFromProductIds(userSessionId, [resultProductId]);\n                        }\n                    }\n\n                    const clientTimestamp = momentObjectToThriftSerializer.getThriftTimestampFromMoment(moment());\n                    let setParPromise: Promise<void>;\n                    if (par) { // TODO Maybe check if this actually needs to be updated\n                        const parsByProductId = new StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>();\n                        parsByProductId.set(resultProductId, par);\n\n                        setParPromise = extraArguments.services.productParService.setParsForProductId(userSessionId, parsByProductId, clientTimestamp);\n                    } else {\n                        setParPromise = extraArguments.services.productParService.unsetParForProductId(userSessionId, resultProductId, clientTimestamp);\n                    }\n\n                    let setProductCostPromise: Promise<void> = Promise.resolve();\n                    if (newProductCost) { // TODO Cheezy do we want an exception if this isn't set\n                        setProductCostPromise = extraArguments.services.productCostService.setCurrentProductCost(userSessionId, resultProductId, newProductCost, clientTimestamp);\n                    }\n\n                    return Promise.all([\n                        distributorAssociationPromise,\n                        setParPromise,\n                        setProductCostPromise,\n                    ])\n                    .then(() => {\n                        void Promise.all([\n                            extraArguments.services.productService.getProductAndProductHash(userSessionId, locationId, resultProductId),\n                            extraArguments.services.productDistributorAssociationService.getProductDistributorAssociationsForProductIds(userSessionId, new StringValueSet([resultProductId])),\n                        ])\n                        .then((results) => {\n                            const resultProduct = results[0].product;\n                            const productDistributorAssociationsByProductId = results[1];\n\n                            const productsById = new StringValueMap<ProductId, Product>();\n                            productsById.set(resultProductId, resultProduct);\n\n                            const distributorIdsByProductId = new StringValueMap<ProductId, DistributorId | null>();\n                            distributorIdsByProductId.set(resultProductId, distributorId);\n                            const currentItemCardData = getState().itemCardState.itemCardData;\n                            if (currentItemCardData === null) {\n                                throw new RuntimeException(\"currentItemCardData is unexpectedly null\")\n                            }\n                            const newActiveProductIds = new StringValueSet(currentItemCardData.activeProductIds);\n                            newActiveProductIds.add(resultProductId);\n                            dispatch(setItemCardData({\n                                ...currentItemCardData,\n                                activeProductIds: newActiveProductIds,\n                            }));\n                            const savedParsByProductId = new StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit> | null>();\n                            savedParsByProductId.set(resultProductId, par);\n                            dispatch(updateProductInfo(productsById, distributorIdsByProductId, productDistributorAssociationsByProductId, savedParsByProductId));\n                            // Cost feeds the Insights tab's cached sales item reads, for every product whose recipes include this one\n                            dispatch(apiBase.util.invalidateTags([PRODUCT_INSIGHTS_TAG]));\n                        });\n\n                        return resultProductId;\n                    });\n                });\n            });\n        } else {\n            dispatch(setFormValidationData(false, allPackagingsAreValid ? 'Invalid Form Field' : 'Item packaging has missing or invalid information'));\n            dispatch(setIsSubmitting(false));\n            return Promise.resolve();\n        }\n    };\n};\n\nconst onDeleteProduct = (productId : ProductId) : ThunkAction<Promise<void>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n        const currentItemCardData = getState().itemCardState.itemCardData;\n        if (currentItemCardData === null) {\n            throw new RuntimeException('unexpected currentItemCardData is null'); // should not be possible to get into this state...\n        }\n\n        const productIdSet = new StringValueSet<ProductId>();\n        productIdSet.add(productId);\n        return extraArguments.services.locationProductService.deleteProducts(userSessionId, locationId, productIdSet)\n        .then(() => {\n            dispatch(setComponentIsShown('deleteProductConfirmationDialog', false));\n            const newActiveProductIds = new StringValueSet(currentItemCardData.activeProductIds);\n            newActiveProductIds.delete(productId);\n            const newDeletedProductIds = new StringValueSet(currentItemCardData.deletedProductIds);\n            newDeletedProductIds.add(productId);\n            dispatch(setItemCardData({\n                ...currentItemCardData,\n                activeProductIds: newActiveProductIds,\n                deletedProductIds: newDeletedProductIds,\n            }));\n            dispatch(setComponentIsShown('itemCardModal', false));\n        });\n    };\n};\n\nconst onSetProductActiveState = (productId : ProductId, setAsActive : boolean) : ThunkAction<Promise<void>, IItemCardStore, ActionInterfaces.IItemCardExtraArguments> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n        const currentItemCardData = getState().itemCardState.itemCardData;\n        if (currentItemCardData === null) {\n            throw new RuntimeException('unexpected currentItemCardData is null'); // should not be possible to get into this state...\n        }\n\n        const setActiveStatePromise = setAsActive ?\n            extraArguments.services.locationProductService.setProductAsActive(userSessionId, locationId, productId) :\n            extraArguments.services.locationProductService.setProductAsInactive(userSessionId, locationId, productId);\n\n        // TODO do we want to disable buttons or something?\n        return setActiveStatePromise\n        .then(() => {\n            const newActiveProductIds = new StringValueSet(currentItemCardData.activeProductIds);\n            if (setAsActive) {\n                newActiveProductIds.add(productId);\n            } else {\n                newActiveProductIds.delete(productId);\n            }\n            dispatch(setItemCardData({\n                ...currentItemCardData,\n                activeProductIds: newActiveProductIds,\n            }));\n\n            dispatch(setComponentIsShown('itemCardModal', false));\n        });\n    };\n};\n\nexport const ItemCardActions : ActionInterfaces.IItemCardActionCreatorsMapObject = {\n    fetchItemCardData,\n    onShowItemCardForProductId,\n    onSetSelectedItemCardView,\n    fetchProductHistoryData,\n    setComponentIsShown,\n    onFormFieldChange,\n    onFormFieldBlur,\n    onPriceFieldChange,\n    setUnitsWithConversionForms,\n    onConversionFieldChange,\n    onConversionFieldBlur,\n    setFormFieldValidationData,\n    setPackagingIdHasPackagingWeightForm,\n    setPackagingWeightFormPackagingIdValue,\n    onPackagingWeightFormFieldChange,\n    onPackagingWeightFormFieldBlur,\n    onAddProductDistributorAssociationForm,\n    onProductDistributorAssociationFormFieldChange,\n    onProductDistributorAssociationFormFieldBlur,\n    removeProductDistributorAssociationForms,\n    onSaveProductForm,\n    onUpdateDistributor,\n    onDeleteProduct,\n    onSetProductActiveState,\n    setPotentialDuplicateMatches,\n    setFocusedField\n};\n","import React from 'react';\n\ninterface IPriceEstimatesProps {\n    readonly currencySymbol : string;\n    readonly sortedPriceEstimates : Array<{ unit : string, priceEstimateString : string}>;\n}\n\nexport class PriceEstimates extends React.Component<IPriceEstimatesProps, object> {\n    public render() {\n        const {\n            currencySymbol,\n            sortedPriceEstimates,\n        } = this.props;\n\n        const priceEstimateElements : Array<JSX.Element> = [];\n\n        sortedPriceEstimates.forEach((priceEstimate) => {\n            priceEstimateElements.push(\n                <div key={ priceEstimate.unit } className=\"product-form-price-estimate-cell\">\n                    <div className=\"product-form-row-content-label\">\n                        { currencySymbol }\n                    </div>\n                    <span>\n                        { `${ priceEstimate.priceEstimateString } / ${ priceEstimate.unit }` }\n                    </span>\n                </div>\n            );\n        });\n\n        return priceEstimateElements;\n    }\n}\n","export const ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW = 6;\n// Each page of history is fetched as parallel windows this many months wide.\nexport const ITEM_CARD_HISTORY_FETCH_CHUNK_MONTHS = 3;\nexport const ITEM_ID_URL_PARAM = 'item_card_id';\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class ProductDistributorAssociationFormId implements IStringValue {\n\n    public static generateUniqueProductDistributorAssociationFormId() : ProductDistributorAssociationFormId {\n        ProductDistributorAssociationFormId.counter += 1;\n        return new ProductDistributorAssociationFormId(`productDistributorAssociationFormId_${ ProductDistributorAssociationFormId.counter }`);\n    }\n\n    private static counter : number = 0;\n\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof ProductDistributorAssociationFormId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{ProductDistributorAssociationFormId: ${this.value}}`;\n    }\n}\n","import { IProductCostSettings } from 'api/Location/model/IProductCostSettings';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { ProductMergeEvent } from 'api/Product/model/ProductMergeEvent';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { CategoryUtils } from 'api/Product/utils/categoryUtils';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { Action } from '@reduxjs/toolkit';\n\nimport { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { BreakageReport } from 'api/Breakage/model/BreakageReport';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { InventoryCount } from 'api/InventoryCount/model/InventoryCount';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { InventoryCountMetadata } from 'api/InventoryCount/model/InventoryCountMetadata';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { TransferReport } from 'api/Transfer/model/TransferReport';\n\nimport { DuplicateMatch } from 'apps/ItemManager/utils/duplicateDetectionUtils';\nimport { ActionInterfaces, ActionTypes } from '../actions/ItemCardActions';\nimport { ProductDistributorAssociationFormId } from '../model/ProductDistributorAssociationFormId';\nimport { ProductFormUtils } from '../utils/ProductFormUtils';\n\nimport { makeOptionFromValue, OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\n\nexport type ItemCardView = 'editProduct' | 'productHistory' | 'productInsights' | 'createProduct';\nexport type ComponentName = 'itemCardModal' | 'productModificationConfirmationDialog' | 'deleteProductConfirmationDialog';\n\nexport const DEFAULT_PRICE_VALUE = '0.00';\n\nexport type ProductFormFieldName = 'name' | 'brand' | 'distributorId' | 'baseUnit' | 'preferredReportingUnit' | 'priceAmount' | 'priceUnit' | 'categoryId' | 'type' | 'sku' | 'unitDeposit' | 'note' | 'glCode' | 'useCustomWeights' | 'costAmount' | 'costUnit' | 'parCount' | 'parUnit';\nexport type PackagingWeightFormFieldName = 'emptyWeightQuantity' | 'emptyWeightUnit' | 'fullWeightQuantity' | 'fullWeightUnit';\nexport type PackagingWeightFormValidationInputDataByFieldName = { [fieldName in PackagingWeightFormFieldName] : IValidationInputData };\nexport type ProductDistributorAssociationFormFieldName = 'unit' | 'distributorId' | 'sku' | 'priceAmount' | 'priceUnit' | 'depositAmount' | 'depositUnit';\nexport type ProductDistributorAssociationFormValidationInputDataByFieldName = { [fieldName in ProductDistributorAssociationFormFieldName] : IValidationInputData };\nexport interface IProductDistributorAssociationForm {\n    validationInputDataByFieldName : ProductDistributorAssociationFormValidationInputDataByFieldName;\n    isValid : boolean;\n    errorMessage : string;\n    packagingIndex : number | null; // Null means we should decide the index based on the unit in the validationInputDataByFieldName. Gets updated to a value when edited\n}\n\nexport type ProductFormValidationInputDataByFieldName = { [fieldName in ProductFormFieldName] : IValidationInputData } & {\n    conversions : { [productQuantityUnitValue : string] : IValidationInputData },\n    packagingWeights : { [productQuantityUnitValue : string] : PackagingWeightFormValidationInputDataByFieldName },\n    productDistributorAssociations : StringValueMap<ProductDistributorAssociationFormId, IProductDistributorAssociationForm>\n};\n// TODO Dirty use custom weights is a boolean but is treated as string where '' is false and 'true' is true\n\nexport interface IItemCardData {\n    productsById : StringValueMap<ProductId, Product>;\n    categoriesById : StringValueMap<CategoryId, Category>;\n    activeProductIds : StringValueSet<ProductId>;\n    deletedProductIds : StringValueSet<ProductId>;\n    namesByUserAccountId : StringValueMap<UserAccountId, IUserName>;\n    distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>;\n    productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>;\n    distributorsByDistributorId : StringValueMap<DistributorId, Distributor>;\n    distributorIdsWithRelationship : StringValueSet<DistributorId>;\n    productCostSettings : IProductCostSettings;\n    // Saved pars of the products the card has opened; the product form holds unsaved edits\n    parsByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit> | null>;\n}\n\n// The records of each activity type, for whatever period has been loaded. Split out from IProductHistoryData so that a\n// newly fetched period and the already-loaded data can be merged field by field.\nexport interface IProductHistoryRecords {\n    inventoryMetadataByInventoryId : StringValueMap<InventoryCountId, InventoryCountMetadata>;\n    inventoryCountsByInventoryId : StringValueMap<InventoryCountId, InventoryCount>;\n    deliveriesByDeliveryId : StringValueMap<DeliveryId, Delivery>;\n    transferReportsByTransferId : StringValueMap<TransferId, TransferReport>;\n    breakageReportsByBreakageId : StringValueMap<BreakageId, BreakageReport>;\n    prepEventsByPrepEventId : StringValueMap<PrepEventId, PrepEvent>;\n    locationNamesByLocationId : StringValueMap<LocationId, string>;\n}\n\nexport interface IProductHistoryData extends IProductHistoryRecords {\n    productMergeEventsByProductId : StringValueMap<ProductId, Array<ProductMergeEvent>>;\n    // Months the activity view is currently showing. Always <= numMonthsOfDataLoaded.\n    numMonthsOfData : number;\n    // Months of records actually loaded; records are location-wide, so they are kept and reused across item cards.\n    numMonthsOfDataLoaded : number;\n    hasMoreHistory : boolean;\n    isFetchingMoreHistory : boolean;\n}\n\nexport interface IProductFormData {\n    distributorSortedOptionsAndLabelNames : OptionsAndLabelNameTuples; // TODO Cleanup after everyone is using multiVendor\n    glCodeSortedOptionsAndLabelNames : OptionsAndLabelNameTuples;\n    categorySortedOptionsAndLabelNames : OptionsAndLabelNameTuples;\n    productTypeSortedOptionsAndLabelNames : OptionsAndLabelNameTuples;\n}\n\nexport interface IItemCardState {\n    productId : ProductId | null;\n    productHash : string | null;\n    selectedItemCardView : ItemCardView;\n    itemCardData : IItemCardData | null;\n    productHistoryData : IProductHistoryData | null;\n    productFormData : IProductFormData;\n    productForm : {\n        validationInputDataByFieldName : ProductFormValidationInputDataByFieldName;\n        isValid : boolean;\n        errorMessage : string;\n        isSubmitting : boolean;\n    };\n    lastEditedAccountInfo : IUserName;\n    isShownByComponentName : { [componentName in ComponentName] : boolean };\n    potentialDuplicateMatches : Array<DuplicateMatch> | null;\n    focusedField : ProductFormFieldName | PackagingWeightFormFieldName | null;\n}\n\nexport const CREATE_PRODUCT_FORM_INITIAL_VALIDATION_INPUT_DATA_BY_FIELD_NAME : ProductFormValidationInputDataByFieldName = {\n    name: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    brand: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    distributorId: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    baseUnit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    preferredReportingUnit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    priceAmount: {\n        value: DEFAULT_PRICE_VALUE,\n        isValid: true,\n        errorMessage: '',\n    },\n    priceUnit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    categoryId: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    type: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    sku: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    unitDeposit: {\n        value: DEFAULT_PRICE_VALUE,\n        isValid: true,\n        errorMessage: '',\n    },\n    note: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    glCode: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    useCustomWeights: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    costAmount: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    costUnit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    parCount: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    parUnit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    conversions: {},\n    packagingWeights: {},\n    productDistributorAssociations: new StringValueMap(),\n};\n\nexport const PACKAGING_WEIGHT_FORM_INITIAL_VALIDATION_INPUT_DATA_BY_FIELD_NAME : PackagingWeightFormValidationInputDataByFieldName = {\n    emptyWeightQuantity: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    emptyWeightUnit: {\n        value: MassUnit.DRY_OUNCE,\n        isValid: true,\n        errorMessage: '',\n    },\n    fullWeightQuantity: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    fullWeightUnit: {\n        value: MassUnit.DRY_OUNCE,\n        isValid: true,\n        errorMessage: '',\n    },\n};\n\nexport const initialState : IItemCardState = {\n    productId: null,\n    productHash: null,\n    selectedItemCardView: 'createProduct',\n    itemCardData: null,\n    productHistoryData: null,\n    productFormData: {\n        distributorSortedOptionsAndLabelNames: [],\n        glCodeSortedOptionsAndLabelNames: [],\n        categorySortedOptionsAndLabelNames:\n            [[null, CategoryUtils.getDefaultCategories().map(makeOptionFromValue)]],\n        productTypeSortedOptionsAndLabelNames: [],\n    },\n    productForm: {\n        validationInputDataByFieldName: CREATE_PRODUCT_FORM_INITIAL_VALIDATION_INPUT_DATA_BY_FIELD_NAME,\n        isValid: true,\n        errorMessage: '',\n        isSubmitting: false,\n    },\n    isShownByComponentName: {\n        itemCardModal: false,\n        productModificationConfirmationDialog: false,\n        deleteProductConfirmationDialog: false,\n    },\n    lastEditedAccountInfo: {\n        firstName: '',\n        lastName: ''\n    },\n    potentialDuplicateMatches: null,\n    focusedField : null\n};\n\nconst reduceSetProductId = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetProductId\n) : IItemCardState => {\n    return {\n        ...state,\n        productId: action.payload.productId,\n        productHash: action.payload.productHash,\n    };\n};\n\nconst reduceSetSelectedItemCardView = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetSelectedItemCardView\n) : IItemCardState => {\n    return {\n        ...state,\n        selectedItemCardView: action.payload.selectedItemCardView,\n    };\n};\n\nconst reduceSetItemCardData = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetItemCardData\n) : IItemCardState => {\n    return {\n        ...state,\n        itemCardData: action.payload.itemCardData,\n    };\n};\n\nconst reduceSetProductHistoryData = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetProductHistoryData\n) : IItemCardState => {\n    return {\n        ...state,\n        productHistoryData: action.payload.productHistoryData,\n    };\n};\n\nconst reduceUpdateProductInfo = (\n    state : IItemCardState,\n    action : ActionInterfaces.IUpdateProductInfo\n) : IItemCardState => {\n    const itemCardData = state.itemCardData;\n    if (itemCardData === null) {\n        throw new RuntimeException('unexpected itemCardData is null');\n    }\n\n    const {\n        productsById,\n        distributorIdsByProductId,\n        productDistributorAssociationsByProductId,\n        parsByProductId,\n    } = action.payload;\n\n    const newProductsById = new StringValueMap(itemCardData.productsById);\n    productsById.forEach((product, productId) => {\n        newProductsById.set(productId, product);\n    });\n\n    const newDistributorIdsByProductId = new StringValueMap<ProductId, DistributorId | null>(itemCardData.distributorIdsByProductId);\n    distributorIdsByProductId.forEach((distributorId, productId) => {\n        newDistributorIdsByProductId.set(productId, distributorId);\n    });\n\n    const newProductDistributorAssociationsByProductId = new StringValueMap(itemCardData.productDistributorAssociationsByProductId);\n    productDistributorAssociationsByProductId.forEach((productDistributorAssociations, productId) => {\n        newProductDistributorAssociationsByProductId.set(productId, productDistributorAssociations);\n    });\n\n    const newParsByProductId = new StringValueMap(itemCardData.parsByProductId);\n    parsByProductId.forEach((par, productId) => {\n        newParsByProductId.set(productId, par);\n    });\n\n    // Maybe update productFormData\n\n    return {\n        ...state,\n        itemCardData: {\n            ...itemCardData,\n            productsById: newProductsById,\n            distributorIdsByProductId: newDistributorIdsByProductId,\n            productDistributorAssociationsByProductId: newProductDistributorAssociationsByProductId,\n            parsByProductId: newParsByProductId,\n        },\n    };\n};\n\nconst reduceUpdateDistributorsByDistributorId = (\n    state : IItemCardState,\n    action : ActionInterfaces.IUpdateDistributorsByDistributorId\n) : IItemCardState => {\n    const itemCardData = state.itemCardData;\n    if (itemCardData === null) {\n        throw new RuntimeException('unexpected itemCardData is null');\n    }\n\n    const newDistributorsByDistributorId = new StringValueMap(itemCardData.distributorsByDistributorId);\n    const newDistributorIdsWithRelationship  = new StringValueSet(itemCardData.distributorIdsWithRelationship);\n    action.payload.distributorsByDistributorId.forEach((distributor, distributorId) => {\n        newDistributorsByDistributorId.set(distributorId, distributor);\n        newDistributorIdsWithRelationship.add(distributorId); // Should maybe not do it with every distributor\n    });\n\n    const newDistributorSortedOptionsAndLabelNames = ProductFormUtils.getDistributorSortedOptionsAndLabelNames(newDistributorsByDistributorId, newDistributorIdsWithRelationship, true);\n\n    return {\n        ...state,\n        itemCardData: {\n            ...itemCardData,\n            distributorsByDistributorId: newDistributorsByDistributorId,\n            distributorIdsWithRelationship: newDistributorIdsWithRelationship\n        },\n        productFormData: {\n            ...state.productFormData,\n            distributorSortedOptionsAndLabelNames: newDistributorSortedOptionsAndLabelNames,\n        }\n    };\n};\n\nconst reduceUpdateNamesByUserAccountId = (\n    state : IItemCardState,\n    action : ActionInterfaces.IUpdateNamesByUserAccountId\n) : IItemCardState => {\n    const itemCardData = state.itemCardData;\n    if (itemCardData === null) {\n        throw new RuntimeException('unexpected itemCardData is null');\n    }\n\n    const {\n        namesByUserAccountId\n    } = action.payload;\n\n    const newNamesByUserAccountId = new StringValueMap(itemCardData.namesByUserAccountId);\n    namesByUserAccountId.forEach((name, userAccountId) => {\n        newNamesByUserAccountId.set(userAccountId, name);\n    });\n\n    return {\n        ...state,\n        itemCardData: {\n            ...itemCardData,\n            namesByUserAccountId: newNamesByUserAccountId\n        },\n    };\n};\n\nconst reduceUpdateCategoriesById = (\n    state : IItemCardState,\n    action : ActionInterfaces.IUpdateCategoriesById\n) : IItemCardState => {\n    const itemCardData = state.itemCardData;\n    if (itemCardData === null) {\n        throw new RuntimeException('unexpected itemCardData is null');\n    }\n\n    const {\n        categoriesById\n    } = action.payload;\n\n    const newCategoriesById = new StringValueMap(itemCardData.categoriesById);\n    categoriesById.forEach((category, categoryId) => {\n        newCategoriesById.set(categoryId, category);\n    });\n\n    return {\n        ...state,\n        itemCardData: {\n            ...itemCardData,\n            categoriesById: newCategoriesById\n        },\n    };\n};\n\nconst reduceSetFormFieldValidationData = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetFormFieldValidationData\n) : IItemCardState => {\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                [action.payload.field]: {\n                    value : action.payload.value,\n                    errorMessage : action.payload.errorMessage,\n                    isValid : action.payload.isValid,\n                },\n            },\n        }\n    };\n};\n\nconst reduceSetFormValidationData = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetFormValidationData\n) : IItemCardState => {\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            isValid: action.payload.isValid,\n            errorMessage: action.payload.errorMessage,\n        }\n    };\n};\n\nconst reduceSetIsSubmitting = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetIsSubmitting\n) : IItemCardState => {\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            isSubmitting: action.payload.isSubmitting,\n        }\n    };\n};\n\nconst reduceSetComponentIsShown = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetComponentIsShown\n) : IItemCardState => {\n    return {\n        ...state,\n        isShownByComponentName: {\n            ...state.isShownByComponentName,\n            [action.payload.componentName]: action.payload.isShown,\n        },\n    };\n};\n\nconst reduceSetProductFormData = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetProductFormData\n) : IItemCardState => {\n    return {\n        ...state,\n        productFormData: action.payload.productFormData,\n    };\n};\n\nconst reduceSetProductFormValidationInputDataByFieldName = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetProductFormValidationInputDataByFieldName\n) : IItemCardState => {\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: action.payload.validationInputDataByFieldName,\n        },\n    };\n};\n\nconst reduceSetUnitsWithConversionForms = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetUnitsWithConversionForms\n) : IItemCardState => {\n    const newConversions : { [productQuantityUnit : string] : IValidationInputData } = {};\n    const conversions = state.productForm.validationInputDataByFieldName.conversions;\n\n    action.payload.conversionUnits.forEach((unit) => {\n        newConversions[unit] = conversions[unit] || {\n            value: '',\n            isValid: true,\n            errorMessage: '',\n        };\n    });\n\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                conversions: newConversions,\n            },\n        }\n    };\n};\n\nconst reduceSetConversionFieldValidationData = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetConversionFieldValidationData\n) : IItemCardState => {\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                conversions: {\n                    ...state.productForm.validationInputDataByFieldName.conversions,\n                    [action.payload.unit]: {\n                        value : action.payload.value,\n                        errorMessage : action.payload.errorMessage,\n                        isValid : action.payload.isValid,\n                    },\n                }\n            },\n        }\n    };\n};\n\nconst reduceSetPackagingIdHasPackagingWeightForm = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetPackagingIdHasPackagingWeightForm\n) : IItemCardState => {\n    const newPackagingWeights = { ...state.productForm.validationInputDataByFieldName.packagingWeights };\n\n    const packagingIdValue = action.payload.packagingIdValue;\n    if (action.payload.hasPackagingWeightForm) {\n        if (!newPackagingWeights[packagingIdValue]) {\n            newPackagingWeights[packagingIdValue] = { ...PACKAGING_WEIGHT_FORM_INITIAL_VALIDATION_INPUT_DATA_BY_FIELD_NAME };\n        }\n    } else {\n        delete newPackagingWeights[packagingIdValue];\n    }\n\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                packagingWeights: newPackagingWeights\n            },\n        }\n    };\n};\n\nconst reduceSetPackagingWeightFieldValidationData = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetPackagingWeightFieldValidationData\n) : IItemCardState => {\n    const newPackagingWeights = { ...state.productForm.validationInputDataByFieldName.packagingWeights };\n\n    newPackagingWeights[action.payload.packagingIdValue][action.payload.field] = {\n        value : action.payload.value,\n        errorMessage : action.payload.errorMessage,\n        isValid : action.payload.isValid,\n    };\n\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                packagingWeights: newPackagingWeights,\n            },\n        }\n    };\n};\n\nconst reduceSetPackagingWeightFormPackagingIdValue = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetPackagingWeightFormPackagingIdValue\n) : IItemCardState => {\n    const {\n        oldPackagingIdValue,\n        newPackagingIdValue\n    } = action.payload;\n\n    const newPackagingWeights : { [productQuantityUnitValue : string] : PackagingWeightFormValidationInputDataByFieldName } = {};\n    Object.keys(state.productForm.validationInputDataByFieldName.packagingWeights).forEach((packagingIdValue) => {\n        if (packagingIdValue === oldPackagingIdValue) {\n            newPackagingWeights[newPackagingIdValue] = state.productForm.validationInputDataByFieldName.packagingWeights[oldPackagingIdValue];\n        } else {\n            newPackagingWeights[packagingIdValue] = state.productForm.validationInputDataByFieldName.packagingWeights[packagingIdValue];\n        }\n    });\n\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                packagingWeights: newPackagingWeights,\n            },\n        }\n    };\n};\n\nconst reduceSetProductDistributorAssociationFieldValidationData = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetProductDistributorAssociationFieldValidationData\n) : IItemCardState => {\n    const newProductDistributorAssociations = new StringValueMap(state.productForm.validationInputDataByFieldName.productDistributorAssociations);\n\n    const productDistributorAssociationForm = newProductDistributorAssociations.getRequired(action.payload.formId);\n    newProductDistributorAssociations.set(action.payload.formId, {\n        ...productDistributorAssociationForm,\n        validationInputDataByFieldName: {\n            ...productDistributorAssociationForm.validationInputDataByFieldName,\n            [action.payload.field]: {\n                value : action.payload.value,\n                errorMessage : action.payload.errorMessage,\n                isValid : action.payload.isValid,\n            }\n        },\n        packagingIndex: (typeof action.payload.packagingIndex !== 'undefined') ? action.payload.packagingIndex : productDistributorAssociationForm.packagingIndex,\n    });\n\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                productDistributorAssociations: newProductDistributorAssociations\n            },\n        }\n    };\n};\n\nconst reduceAddProductDistributorAssociationForm = (\n    state : IItemCardState,\n    action : ActionInterfaces.IAddProductDistributorAssociationForm\n) : IItemCardState => {\n    const newProductDistributorAssociations = new StringValueMap(state.productForm.validationInputDataByFieldName.productDistributorAssociations);\n    newProductDistributorAssociations.set(action.payload.formId, action.payload.productDistributorAssociationForm);\n\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                productDistributorAssociations: newProductDistributorAssociations\n            },\n        }\n    };\n};\n\nconst reduceRemoveProductDistributorAssociationForms = (\n    state : IItemCardState,\n    action : ActionInterfaces.IRemoveProductDistributorAssociationForms\n) : IItemCardState => {\n    const newProductDistributorAssociations = new StringValueMap(state.productForm.validationInputDataByFieldName.productDistributorAssociations);\n\n    action.payload.formIds.forEach((formId) => {\n        newProductDistributorAssociations.delete(formId);\n    });\n\n    return {\n        ...state,\n        productForm: {\n            ...state.productForm,\n            validationInputDataByFieldName: {\n                ...state.productForm.validationInputDataByFieldName,\n                productDistributorAssociations: newProductDistributorAssociations\n            },\n        }\n    };\n};\n\nconst reduceSetFocusedField = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetFocusedField\n) : IItemCardState => {\n    return {\n        ...state,\n        focusedField: action.payload.focusedField\n    };\n};\n\nconst reduceSetPotentialDuplicateMatches = (\n    state : IItemCardState,\n    action : ActionInterfaces.ISetPotentialDuplicateMatches\n) : IItemCardState => {\n    return {\n        ...state,\n        potentialDuplicateMatches: action.payload.potentialDuplicateMatches,\n    };\n};\n\nexport const ItemCardReducers = (\n    state : IItemCardState = initialState,\n    action : Action,\n) : IItemCardState => {\n    switch (action.type) {\n        case ActionTypes.SET_PRODUCT_ID:\n            return reduceSetProductId(state, action as ActionInterfaces.ISetProductId);\n        case ActionTypes.SET_FORM_FIELD_VALIDATION_DATA:\n            return reduceSetFormFieldValidationData(state, action as ActionInterfaces.ISetFormFieldValidationData);\n        case ActionTypes.SET_FORM_VALIDATION_DATA:\n            return reduceSetFormValidationData(state, action as ActionInterfaces.ISetFormValidationData);\n        case ActionTypes.SET_IS_SUBMITTING:\n            return reduceSetIsSubmitting(state, action as ActionInterfaces.ISetIsSubmitting);\n        case ActionTypes.SET_COMPONENT_IS_SHOWN:\n            return reduceSetComponentIsShown(state, action as ActionInterfaces.ISetComponentIsShown);\n        case ActionTypes.SET_SELECTED_ITEM_CARD_VIEW:\n            return reduceSetSelectedItemCardView(state, action as ActionInterfaces.ISetSelectedItemCardView);\n        case ActionTypes.SET_ITEM_CARD_DATA:\n            return reduceSetItemCardData(state, action as ActionInterfaces.ISetItemCardData);\n        case ActionTypes.SET_PRODUCT_HISTORY_DATA:\n            return reduceSetProductHistoryData(state, action as ActionInterfaces.ISetProductHistoryData);\n        case ActionTypes.UPDATE_PRODUCT_INFO:\n            return reduceUpdateProductInfo(state, action as ActionInterfaces.IUpdateProductInfo);\n        case ActionTypes.UPDATE_DISTRIBUTORS_BY_DISTRIBUTOR_ID:\n            return reduceUpdateDistributorsByDistributorId(state, action as ActionInterfaces.IUpdateDistributorsByDistributorId);\n        case ActionTypes.UPDATE_NAMES_BY_USER_ACCOUNT_ID:\n            return reduceUpdateNamesByUserAccountId(state, action as ActionInterfaces.IUpdateNamesByUserAccountId);\n        case ActionTypes.UPDATE_PRODUCT_CATEGORIES_BY_ID:\n            return reduceUpdateCategoriesById(state, action as ActionInterfaces.IUpdateCategoriesById);\n        case ActionTypes.SET_PRODUCT_FORM_DATA:\n            return reduceSetProductFormData(state, action as ActionInterfaces.ISetProductFormData);\n        case ActionTypes.SET_PRODUCT_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME:\n            return reduceSetProductFormValidationInputDataByFieldName(state, action as ActionInterfaces.ISetProductFormValidationInputDataByFieldName);\n        case ActionTypes.SET_UNITS_WITH_CONVERSION_FORMS:\n            return reduceSetUnitsWithConversionForms(state, action as ActionInterfaces.ISetUnitsWithConversionForms);\n        case ActionTypes.SET_CONVERSION_FIELD_VALIDATION_DATA:\n            return reduceSetConversionFieldValidationData(state, action as ActionInterfaces.ISetConversionFieldValidationData);\n        case ActionTypes.SET_PACKAGING_ID_HAS_PACKAGING_WEIGHT_FORM:\n            return reduceSetPackagingIdHasPackagingWeightForm(state, action as ActionInterfaces.ISetPackagingIdHasPackagingWeightForm);\n        case ActionTypes.SET_PACKAGING_WEIGHT_FIELD_VALIDATION_DATA:\n            return reduceSetPackagingWeightFieldValidationData(state, action as ActionInterfaces.ISetPackagingWeightFieldValidationData);\n        case ActionTypes.SET_PACKAGING_WEIGHT_FORM_PACKAGING_ID_VALUE:\n            return reduceSetPackagingWeightFormPackagingIdValue(state, action as ActionInterfaces.ISetPackagingWeightFormPackagingIdValue);\n        case ActionTypes.SET_PRODUCT_DISTRIBUTOR_ASSOCIATION_FIELD_VALIDATION_DATA:\n            return reduceSetProductDistributorAssociationFieldValidationData(state, action as ActionInterfaces.ISetProductDistributorAssociationFieldValidationData);\n        case ActionTypes.ADD_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM:\n            return reduceAddProductDistributorAssociationForm(state, action as ActionInterfaces.IAddProductDistributorAssociationForm);\n        case ActionTypes.REMOVE_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORMS:\n            return reduceRemoveProductDistributorAssociationForms(state, action as ActionInterfaces.IRemoveProductDistributorAssociationForms);\n        case ActionTypes.SET_FOCUSED_FIELD:\n            return reduceSetFocusedField(state, action as ActionInterfaces.ISetFocusedField);\n        case ActionTypes.SET_POTENTIAL_DUPLICATE_MATCHES:\n            return reduceSetPotentialDuplicateMatches(state, action as ActionInterfaces.ISetPotentialDuplicateMatches);\n        default:\n            return state;\n    }\n};\n","import { AnyAction, combineReducers, ThunkDispatch } from '@reduxjs/toolkit';\nimport { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux';\n\nimport { apiBase } from 'api/Core/apiQueryBase';\nimport { ItemCardReducers } from 'apps/ItemCard/reducers/ItemCardReducers';\nimport { ActionInterfaces } from 'apps/ItemCard/actions/ItemCardActions';\nimport { ITypedExtraArguments } from 'shared/components/Provider';\n\nexport const itemCardReducers = combineReducers({\n    itemCardState: ItemCardReducers,\n    [apiBase.reducerPath]: apiBase.reducer,\n});\n\nexport type ItemCardRootState = ReturnType<typeof itemCardReducers>;\nexport type ItemCardDispatchType = ThunkDispatch<ItemCardRootState, ITypedExtraArguments<ActionInterfaces.IServices>, AnyAction>;\nexport const useItemCardDispatch = () => useDispatch<ItemCardDispatchType>();\nexport const useItemCardSelector : TypedUseSelectorHook<ItemCardRootState> = useSelector;\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { Conversions } from 'api/Product/model/Conversions';\nimport { Mappings } from 'api/Product/model/Mappings';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { CategoryUtils } from 'api/Product/utils/categoryUtils';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { PackagingFormUtils } from 'shared/components/Product/PackagingFormUtils';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { PackagingWeight } from 'api/Product/model/PackagingWeight';\nimport { Price } from 'api/Product/model/Price';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { DateTime } from 'shared/models/DateTime';\n\nimport { ProductDistributorAssociationFormId } from '../model/ProductDistributorAssociationFormId';\nimport { IProductDistributorAssociationForm, PackagingWeightFormFieldName, PackagingWeightFormValidationInputDataByFieldName, ProductDistributorAssociationFormFieldName, ProductDistributorAssociationFormValidationInputDataByFieldName, ProductFormFieldName, ProductFormValidationInputDataByFieldName } from '../reducers/ItemCardReducers';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { PackagingForm, PackagingFormValidationInputDataByFieldName } from 'shared/components/Product/PackagingForm';\nimport { OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { productJSONToObjectSerializer } from 'shared/lib/manager';\nimport { IValidationResult, Validation } from 'shared/validators/validators';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { decimalToNumberString, decimalUtils } from 'shared/utils/decimalUtils';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { Unit } from 'api/Product/model/Unit';\n\nexport const DEFAULT_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME : ProductDistributorAssociationFormValidationInputDataByFieldName = {\n    unit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    distributorId: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    sku: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    priceAmount: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    priceUnit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    depositAmount: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    depositUnit: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n};\n\nconst getWeightUnitOptions = () : OptionsAndLabelNameTuples => {\n    return [\n        [ null, [\n            {\n                icon: null,\n                label: oldPackagingUtils.getDisplayTextForUnit(MassUnit.GRAM),\n                value: MassUnit.GRAM,\n            },\n            {\n                icon: null,\n                label: oldPackagingUtils.getDisplayTextForUnit(MassUnit.DRY_OUNCE),\n                value: MassUnit.DRY_OUNCE,\n            },\n            {\n                icon: null,\n                label: oldPackagingUtils.getDisplayTextForUnit(MassUnit.KILOGRAM),\n                value: MassUnit.KILOGRAM,\n            },\n            {\n                icon: null,\n                label: oldPackagingUtils.getDisplayTextForUnit(MassUnit.POUND),\n                value: MassUnit.POUND,\n            }\n        ]]\n    ];\n};\n\nconst getSortedFormProductQuantityUnitValuesAndLabels = (\n    packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName\n) : Array<{\n    value : string;     // contains content description e.g. \"bottle (750ml)\n    label: string;\n    shortLabel: string;     // legacy unit option value e.g. \"bottle\"\n    productQuantityUnit: ProductQuantityUnit\n}> => {\n    // Returns values and labels sorted from largest available packaging to smallest\n    // value is used as a compound idenfier for packagings in form dropdowns since this is needed before real PackagingIds are created and they might have the same names\n    // productQuantityUnit is for looking up the specific level of packaging in the packaging object that is returned by PackagingForm.getPackaging()\n\n    const sortedUnitValues : Array<{value : string; label: string; shortLabel: string; productQuantityUnit: ProductQuantityUnit}> = [];\n\n    const caseNameValue = packagingFormValidationInputDataByFieldName.caseName.value;\n    const comesAsCaseValue = packagingFormValidationInputDataByFieldName.comesAsCase.value;\n    const unitNameValue = packagingFormValidationInputDataByFieldName.unitName.value;\n    const caseQuantityValue = packagingFormValidationInputDataByFieldName.caseQuantity.value || '?';\n    const contentQuantityValue = packagingFormValidationInputDataByFieldName.contentQuantity.value || '?';\n\n    const contentUnitValue = packagingFormValidationInputDataByFieldName.contentUnit.value;\n    const contentUnitLabel = oldPackagingUtils.getDisplayTextForUnit(contentUnitValue as Unit);\n\n    const unitProductQuantityUnitValue = `${ unitNameValue } (${ contentQuantityValue }${ contentUnitValue })`;\n    const unitProductQuantityUnitLabel = `${ unitNameValue } (${ contentQuantityValue }${ contentUnitLabel })`;\n\n    const caseProductQuantityUnitValue = `${ caseNameValue } (${ caseQuantityValue } x ${ contentQuantityValue }${ contentUnitValue } (${ unitNameValue }))`;\n    const caseProductQuantityUnitLabel = `${ caseNameValue } (${ caseQuantityValue } x ${ contentQuantityValue }${ contentUnitLabel } (${ unitNameValue }))`;\n\n    if (comesAsCaseValue && caseNameValue) {\n        sortedUnitValues.push({\n            value: caseProductQuantityUnitValue,\n            label: caseProductQuantityUnitLabel,\n            shortLabel: caseNameValue,\n            productQuantityUnit: new PackagingId(caseNameValue),\n        });\n    }\n\n    sortedUnitValues.push({\n        value: unitProductQuantityUnitValue,\n        label: unitProductQuantityUnitLabel,\n        shortLabel: unitNameValue,\n        productQuantityUnit: new PackagingId(unitNameValue),\n    });\n\n    sortedUnitValues.push({\n        value: contentUnitValue,\n        label: contentUnitLabel,\n        shortLabel: contentUnitValue,\n        productQuantityUnit: productJSONToObjectSerializer.getProductQuantityUnit(contentUnitValue),\n    });\n\n    return sortedUnitValues;\n};\n\nconst getFormProductQuantityUnitValuesByPackagingId = (packagings : Array<Packaging>) : StringValueMap<PackagingId, string> => {\n    const formProductQuantityUnitValuesByPackagingId = new StringValueMap<PackagingId, string>();\n\n    packagings.forEach((packaging) => {\n        const packagingFormValidationInputDataByFieldName = PackagingFormUtils.getValidationInputDataByFieldNameFromInitialPackaging(packaging);\n        const sortedUnitValuesAndLabels = getSortedFormProductQuantityUnitValuesAndLabels(packagingFormValidationInputDataByFieldName);\n\n        let currentPackaging : Packaging | null = packaging;\n        let currentSortedUnitValuesIndex = 0;\n\n        while (currentPackaging) {\n            const currentPackagingId = currentPackaging.getPackagingId();\n\n            if (currentPackagingId) {\n                formProductQuantityUnitValuesByPackagingId.set(currentPackagingId, sortedUnitValuesAndLabels[currentSortedUnitValuesIndex].value);\n            }\n\n            currentSortedUnitValuesIndex += 1;\n            currentPackaging = currentPackaging.getContent();\n        }\n    });\n\n    return formProductQuantityUnitValuesByPackagingId;\n};\n\nconst getAllPackagingUnitIOptions = (packagingFormsValidationInputDataByFieldName : Array<PackagingFormValidationInputDataByFieldName>, useDefaultLabels : boolean) : OptionsAndLabelNameTuples => {\n    const sortedUnitIOptions : Array<IOption> = [];\n    const unitValues = new Set<string>();\n\n    packagingFormsValidationInputDataByFieldName.forEach((packagingFormValidationInputDataByFieldName) => {\n        const sortedUnitValuesAndLabels = getSortedFormProductQuantityUnitValuesAndLabels(packagingFormValidationInputDataByFieldName);\n\n        sortedUnitValuesAndLabels.forEach((unitValueAndLabel) => {\n            const {\n                value,\n                label,\n                shortLabel\n            } = unitValueAndLabel;\n\n            if (!unitValues.has(value)) {\n                sortedUnitIOptions.push({\n                    icon: null,\n                    label: useDefaultLabels ? label : shortLabel,\n                    value,\n                });\n\n                unitValues.add(value);\n            }\n        });\n    });\n\n    return [[null, sortedUnitIOptions]];\n};\n\nconst getSortedBaseUnitValues = (packagingFormsValidationInputDataByFieldName : Array<PackagingFormValidationInputDataByFieldName>) : Array<string> => {\n    const sortedBaseUnitValues : Array<string> = [];\n    const baseUnitValues = new Set<string>();\n\n    packagingFormsValidationInputDataByFieldName.forEach((packagingFormValidationInputDataByFieldName) => {\n        const contentUnitValue = packagingFormValidationInputDataByFieldName.contentUnit.value;\n\n        if (contentUnitValue && !baseUnitValues.has(contentUnitValue)) {\n            sortedBaseUnitValues.push(contentUnitValue);\n            baseUnitValues.add(contentUnitValue);\n        }\n    });\n\n    return sortedBaseUnitValues;\n};\n\nconst getBaseUnitIOptions = (packagingFormsValidationInputDataByFieldName : Array<PackagingFormValidationInputDataByFieldName>) : OptionsAndLabelNameTuples => {\n    const sortedBaseUnitValues = getSortedBaseUnitValues(packagingFormsValidationInputDataByFieldName);\n\n    return [[\n        null,\n        sortedBaseUnitValues.map((value) => {\n            return {\n                icon: null,\n                label: oldPackagingUtils.getDisplayTextForUnit(value as Unit),\n                value,\n            };\n        })\n    ]];\n};\n\nconst getUnitsWithConversionForms = (packagingFormsValidationInputDataByFieldName : Array<PackagingFormValidationInputDataByFieldName>, selectedBaseUnitValue : string) : Array<string> => {\n    const sortedBaseUnitValues = getSortedBaseUnitValues(packagingFormsValidationInputDataByFieldName);\n\n    let massUnitIsAccountedFor = MassUnit.isMassUnitValue(selectedBaseUnitValue);\n    let volumeUnitIsAccountedFor = VolumeUnit.isVolumeUnitValue(selectedBaseUnitValue);\n    const conversionUnits : Array<string> = [];\n    sortedBaseUnitValues.forEach((unitValue) => {\n        if (unitValue === selectedBaseUnitValue) {\n            return;\n        }\n\n        const isMassUnitValue = MassUnit.isMassUnitValue(unitValue);\n        const isVolumeUnitValue = VolumeUnit.isVolumeUnitValue(unitValue);\n        if ((isMassUnitValue && massUnitIsAccountedFor) || (isVolumeUnitValue && volumeUnitIsAccountedFor)) {\n            return;\n        }\n\n        conversionUnits.push(unitValue);\n        massUnitIsAccountedFor = massUnitIsAccountedFor || isMassUnitValue;\n        volumeUnitIsAccountedFor = volumeUnitIsAccountedFor || isVolumeUnitValue;\n    });\n\n    return conversionUnits;\n};\n\n// generate options for new packaging weight form from available packagingIds\nconst getPackagingWeightFormPackagingIdIOptions = (packagingFormsValidationInputDataByFieldName : Array<PackagingFormValidationInputDataByFieldName>, packagingIdValuesWithPackagingWeightForms : Set<string>) : Array<IOption> => {\n    const sortedUnitIOptions : Array<IOption> = [];\n    const unitValues = new Set<string>();\n\n    packagingFormsValidationInputDataByFieldName.forEach((packagingFormValidationInputDataByFieldName) => {\n        const sortedUnitValuesAndLabels = getSortedFormProductQuantityUnitValuesAndLabels(packagingFormValidationInputDataByFieldName);\n\n        sortedUnitValuesAndLabels.forEach((unitValueAndLabel) => {\n            const {\n                value,\n                label\n            } = unitValueAndLabel;\n\n            if (!unitValues.has(value) && !MassUnit.isMassUnitValue(value) && !VolumeUnit.isVolumeUnitValue(value)) {\n                sortedUnitIOptions.push({\n                    icon: null,\n                    label,\n                    value,\n                    disabled: packagingIdValuesWithPackagingWeightForms.has(value)\n                });\n\n                unitValues.add(value);\n            }\n        });\n    });\n\n    return sortedUnitIOptions;\n};\n\n// For looking up the package data of a layer inside a package among multiple packages from the packaging form state, e.g. for generating default bottle weight.\n// Return what's basically a nested/compound key that identifies the (top-level) package data (with the index) and the layer (with the PackagingId).\n// We do this because a package may not yet have had a valid PackagingId generated but we still need to refer to it somehow in forms and this is how we do the lookup in the opposite direction\nconst getPackagingFormDataIndexByFormProductQuantityUnitValue = (packagingFormData : Array<{packagingForm : PackagingForm | null, isShown : boolean}>) => {\n    const packagingFormDataIndexByFormProductQuantityUnitValue = new Map<string, {index: number, productQuantityUnit: ProductQuantityUnit}>();\n\n    packagingFormData.forEach((packagingFormDataEntry, index) => {\n        const packagingForm = packagingFormDataEntry.packagingForm;\n\n        if (packagingFormDataEntry.isShown && packagingForm) {\n            const packagingFormValidationInputDataByFieldName = packagingForm.getValidationInputDataByFieldName();\n            const sortedUnitValuesAndLabels = getSortedFormProductQuantityUnitValuesAndLabels(packagingFormValidationInputDataByFieldName);\n\n            sortedUnitValuesAndLabels.forEach((unitValueAndLabel) => {\n                packagingFormDataIndexByFormProductQuantityUnitValue.set(unitValueAndLabel.value, {index, productQuantityUnit: unitValueAndLabel.productQuantityUnit});\n            });\n        }\n    });\n\n    return packagingFormDataIndexByFormProductQuantityUnitValue;\n};\n\n// this is inconsistent with/outdated by getSortedFormProductQuantityUnitValuesAndLabels which produces options (value AND label) that contains content description e.g. \"bottle (750ml)\" instead of \"bottle\"\nconst getPriceUnitIOptions = (packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName) : OptionsAndLabelNameTuples => {\n    const sortedPriceUnitValues = [];\n\n    const caseNameValue = packagingFormValidationInputDataByFieldName.caseName.value;\n    const comesAsCaseValue = packagingFormValidationInputDataByFieldName.comesAsCase.value;\n    const unitNameValue = packagingFormValidationInputDataByFieldName.unitName.value;\n    const contentUnitValue = packagingFormValidationInputDataByFieldName.contentUnit.value;\n\n    if (comesAsCaseValue && caseNameValue) {\n        sortedPriceUnitValues.push(caseNameValue);\n    }\n\n    if (unitNameValue) {\n        sortedPriceUnitValues.push(unitNameValue);\n    }\n\n    if (contentUnitValue) {\n        sortedPriceUnitValues.push(contentUnitValue);\n    }\n\n    return [[\n        null,\n        sortedPriceUnitValues.map((priceUnitValue) => {\n            return {\n                icon: null,\n                label: oldPackagingUtils.getDisplayTextForUnit(priceUnitValue as Unit),     // todo: update with getSortedFormProductQuantityUnitValuesAndLabels\n                value: priceUnitValue,\n            };\n        })\n    ]];\n};\n\n// The price amount is per its unit, so when the first packaging stops offering that unit the amount\n// is cleared rather than carried over to a different unit (e.g. $48/case silently becoming $48/bottle).\n// A hidden amount (multi-vendor prices live on the vendor rows) is kept: clearing it fails validation\n// with nothing on screen for the user to fix.\nconst getPriceFormValuesForFirstPackaging = (\n    firstPackagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName,\n    priceUnitValue : string,\n    priceAmountValue : string,\n    priceAmountIsShown : boolean,\n) : { priceUnitValue : string, priceAmountValue : string } => {\n    const priceUnitOptions = getPriceUnitIOptions(firstPackagingFormValidationInputDataByFieldName)[0][1];\n    if (priceUnitOptions.some((iOption) => iOption.value === priceUnitValue)) {\n        return { priceUnitValue, priceAmountValue };\n    }\n\n    return {\n        priceUnitValue: priceUnitOptions[0].value || '',\n        priceAmountValue: (priceUnitValue === '' || !priceAmountIsShown) ? priceAmountValue : '',\n    };\n};\n\n// Translate a price-unit short name (e.g. \"other\", \"case\", \"lbs\"), which getPriceUnitIOptions\n// produces, into the compound form-product-quantity-unit value (e.g. \"other (1lbs)\") used by\n// costUnit/parUnit/preferredReportingUnit/etc. The translation is resolved against the CURRENT\n// packaging form data, so it stays correct even when the packaging has been edited but not yet\n// saved. Returns null if no packaging level matches the short name.\nconst getFormProductQuantityUnitValueForPriceUnit = (\n    priceUnitValue : string,\n    shownPackagingFormsValidationInputDataByFieldName : Array<PackagingFormValidationInputDataByFieldName>,\n) : string | null => {\n    if (MassUnit.isMassUnitValue(priceUnitValue) || VolumeUnit.isVolumeUnitValue(priceUnitValue)) {\n        return priceUnitValue;      // mass/volume units are their own compound form value\n    }\n\n    for (const packagingFormValidationInputDataByFieldName of shownPackagingFormsValidationInputDataByFieldName) {\n        const matchingUnitValueAndLabel = getSortedFormProductQuantityUnitValuesAndLabels(packagingFormValidationInputDataByFieldName)\n            .find((unitValueAndLabel) => unitValueAndLabel.shortLabel === priceUnitValue);\n        if (matchingUnitValueAndLabel) {\n            return matchingUnitValueAndLabel.value;\n        }\n    }\n\n    return null;\n};\n\nconst validateProductDistributorAssociationValueByFieldName = (\n    fieldName : ProductDistributorAssociationFormFieldName,\n    value : string,\n) : IValidationResult => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    // required\n    let fieldNameText = '';\n    switch (fieldName) {\n        case 'unit':\n            fieldNameText = 'Unit';\n            break;\n        case 'distributorId':\n            fieldNameText = 'Vendor';\n            break;\n        case 'priceAmount':\n            fieldNameText = 'Price';\n            break;\n        case 'priceUnit':\n            fieldNameText = 'Price Unit';\n            break;\n        case 'sku':\n        case 'depositAmount':\n        case 'depositUnit':\n            break;\n    }\n\n    if (fieldNameText) {\n        isValid = Validation.validateRequired(value);\n        if (!isValid) {\n            errorMessage = `${ fieldNameText } is required`;\n            return {\n                errorMessage,\n                isValid,\n            };\n        }\n    }\n\n    // input type specific\n    switch (fieldName) {\n        case 'priceUnit':\n        case 'depositUnit':\n            isValid = true;\n            errorMessage = '';\n            break;\n        case 'sku':\n            isValid = Validation.validateLongText(value);\n            if (!isValid) {\n                errorMessage = 'Text too long';\n            }\n            break;\n        case 'priceAmount':\n            isValid = Validation.validateNonNegativeNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        case 'depositAmount':\n            if (value === '') {\n                isValid = true;\n                errorMessage = '';\n                break;\n            }\n            isValid = Validation.validateNonNegativeNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        case 'unit':\n        case 'distributorId':\n        default:\n            if (isValid === null) {\n                throw new Error('no validation implemented for fieldname ' + fieldName);\n            }\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n\nconst validatePackagingWeightValueByFieldName = (\n    fieldName : PackagingWeightFormFieldName,\n    value : string,\n) : IValidationResult => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    // input type specific\n    switch (fieldName) {\n        case 'emptyWeightUnit':\n        case 'fullWeightUnit':\n            isValid = MassUnit.isMassUnitValue(value);\n            if (!isValid) {\n                errorMessage = 'Invalid weight unit';\n            }\n            break;\n        case 'emptyWeightQuantity':\n        case 'fullWeightQuantity':\n            isValid = (value === '') || Validation.validateNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        default:\n            if (isValid === null) {\n                throw new Error('no validation implemented for fieldname ' + fieldName);\n            }\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n\nconst validateValueByFieldName = (\n    fieldName : ProductFormFieldName,\n    value : string,\n) : IValidationResult => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    // required\n    let fieldNameText = '';\n    switch (fieldName) {\n        case 'name':\n            fieldNameText = 'Item name';\n            break;\n        case 'priceAmount':\n            fieldNameText = 'Price amount';\n            break;\n        case 'priceUnit':\n            fieldNameText = 'Price unit';\n            break;\n        case 'baseUnit':\n            fieldNameText = 'Base unit';\n            break;\n        case 'preferredReportingUnit':\n            fieldNameText = 'Preferred reporting unit';\n            break;\n        case 'categoryId':\n            fieldNameText = 'Category';\n            break;\n        case 'unitDeposit':\n            fieldNameText = 'Unit deposit';\n            break;\n        case 'costUnit':\n            fieldNameText = 'Cost unit';\n            break;\n        case 'parUnit':\n            fieldNameText = 'Par unit';\n            break;\n        case 'type':\n        case 'glCode':\n        case 'note':\n        case 'distributorId':\n        case 'sku':\n        case 'brand':\n        case 'useCustomWeights':\n        case 'costAmount':\n        case 'parCount':\n            break;\n    }\n\n    if (fieldNameText) {\n        isValid = Validation.validateRequired(value);\n        if (!isValid) {\n            errorMessage = `${ fieldNameText } is required`;\n            return {\n                errorMessage,\n                isValid,\n            };\n        }\n    }\n\n    // input type specific\n    switch (fieldName) {\n        case 'useCustomWeights':\n        case 'distributorId':\n            isValid = true;\n            errorMessage = '';\n            break;\n        case 'note':\n        case 'type':\n        case 'sku':\n        case 'glCode':\n        case 'categoryId':\n            isValid = Validation.validateLongText(value);\n            if (!isValid) {\n                errorMessage = 'Text too long';\n            }\n            break;\n        case 'name':\n        case 'brand':\n            isValid = Validation.validateShortText(value);\n            if (!isValid) {\n                errorMessage = 'Text too long';\n            }\n            break;\n        case 'priceAmount':\n            isValid = Validation.validateNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        case 'costAmount':\n            if (value === '') {\n                isValid = true;\n                errorMessage = '';\n                break;\n            }\n            isValid = Validation.validateNonNegativeNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        case 'unitDeposit':\n            isValid = Validation.validateNonNegativeNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        case 'parCount':\n            if (value === '') {\n                isValid = true;\n                errorMessage = '';\n                break;\n            }\n            isValid = Validation.validateNonNegativeNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n            }\n            break;\n        case 'priceUnit':\n        case 'baseUnit':\n        case 'preferredReportingUnit':\n        case 'costUnit':\n        case 'parUnit':\n        default:\n            if (isValid === null) {\n                throw new Error('no validation implemented for fieldname ' + fieldName);\n            }\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n\nconst getPackagingWithValidPackagingId = (packaging : Packaging, sortedUnitValuesIndex : number, sortedUnitValues : Array<string>, packagingIdsByformProductQuantityUnit : Map<string, PackagingId>, generatePackagingId : () => PackagingId) : Packaging => {\n    const unit = packaging.getUnit();\n\n    if (unit) {\n        return new Packaging(null, null, null, null, unit);\n    } else {\n        const unitValue = sortedUnitValues[sortedUnitValuesIndex];\n\n        let packagingId = packagingIdsByformProductQuantityUnit.get(unitValue);\n        if (typeof packagingId === 'undefined') {\n            packagingId = generatePackagingId(); // TODO fill in packaging here?\n            packagingIdsByformProductQuantityUnit.set(unitValue, packagingId);\n        }\n\n        const content = packaging.getContent();\n\n        return new Packaging(\n            packagingId,\n            packaging.getName(),\n            (content === null) ? null : getPackagingWithValidPackagingId(content, sortedUnitValuesIndex + 1, sortedUnitValues, packagingIdsByformProductQuantityUnit, generatePackagingId),\n            packaging.getQuantityOfContent(),\n            unit\n        );\n    }\n};\n\nconst getProductQuantityUnitFromFormValue = (formProductQuantityUnitValue : string, packagingIdsByformProductQuantityUnit : Map<string, PackagingId>) : ProductQuantityUnit => {\n    if (MassUnit.isMassUnitValue(formProductQuantityUnitValue)) {\n        return MassUnit.getByMassUnitValue(formProductQuantityUnitValue);\n    } else if (VolumeUnit.isVolumeUnitValue(formProductQuantityUnitValue)) {\n        return VolumeUnit.getByVolumeUnitValue(formProductQuantityUnitValue);\n    }\n\n    const packagingId = packagingIdsByformProductQuantityUnit.get(formProductQuantityUnitValue);\n    if (typeof packagingId === 'undefined') {\n        throw new RuntimeException(`unexpected packagingId not found for form product quantity unit ${formProductQuantityUnitValue}`);\n    }\n\n    return packagingId;\n};\n\ninterface IProductSaveData {\n    product : Product,\n    distributorId : DistributorId | null,\n    par : QuantityInUnit<ProductQuantityUnit> | null,\n    productCost : ProductCost | null,\n    getProductDistributorAssociations : (productId : ProductId) => Array<ProductDistributorAssociation>\n}\n\nconst getProductSaveData = (\n    productFormValidationInputDataByFieldName : ProductFormValidationInputDataByFieldName,\n    packagingsWithDummyPackagingIds : Array<Packaging>,\n    replacedPackagingIds : Array<PackagingId | null>,\n    savedProduct : Product | null,\n    updateEventUserAccountIdAndTimestamp : UserAccountIdAndTimestamp,\n    generatePackagingId : () => PackagingId\n) : IProductSaveData => {\n\n    const distributorIdValue = productFormValidationInputDataByFieldName.distributorId.value;\n\n    const brand = productFormValidationInputDataByFieldName.brand.value;\n    const name = productFormValidationInputDataByFieldName.name.value;\n    const productType = productFormValidationInputDataByFieldName.type.value;\n    const sku = productFormValidationInputDataByFieldName.sku.value;\n    const glCode = productFormValidationInputDataByFieldName.glCode.value;\n    const note = productFormValidationInputDataByFieldName.note.value;\n    const baseUnitValue = productFormValidationInputDataByFieldName.baseUnit.value;\n    const preferredReportingUnitValue = productFormValidationInputDataByFieldName.preferredReportingUnit.value;\n\n    const packagingIdsByformProductQuantityUnit = new Map<string, PackagingId>();\n\n    if (savedProduct) {\n        const nonDeletedPackagings : Array<Packaging> = [];\n        savedProduct.getPackagingsAndMappings().getPackagingData().forEach((packagingData) => {\n            if (!packagingData.deleted) {\n                nonDeletedPackagings.push(packagingData.packaging);\n            }\n        });\n\n        const formProductQuantityUnitValuesByPackagingId = getFormProductQuantityUnitValuesByPackagingId(nonDeletedPackagings);\n\n        formProductQuantityUnitValuesByPackagingId.forEach((formProductQuantityUnitValue, packagingId) => {\n            packagingIdsByformProductQuantityUnit.set(formProductQuantityUnitValue, packagingId);\n        });\n    }\n\n    const packagings : Array<Packaging> = [];\n    packagingsWithDummyPackagingIds.forEach((packaging) => {\n        const packagingFormValidationInputDataByFieldName = PackagingFormUtils.getValidationInputDataByFieldNameFromInitialPackaging(packaging);\n        const sortedUnitValuesAndLabels = getSortedFormProductQuantityUnitValuesAndLabels(packagingFormValidationInputDataByFieldName);\n        const sortedUnitValues = sortedUnitValuesAndLabels.map((unitAndValue) => {\n            return unitAndValue.value;\n        });\n\n        packagings.push(getPackagingWithValidPackagingId(packaging, 0, sortedUnitValues, packagingIdsByformProductQuantityUnit, generatePackagingId));\n    });\n\n    const topLevelPackagingIdsToSave = new StringValueSet<PackagingId>();\n    const packagingDataToSave = packagings.map((packaging) => {\n        const packagingId = packaging.getPackagingId();\n        if (packagingId === null) {\n            throw new RuntimeException(`unexpected packaging has no packagingId ${packaging}`);\n        }\n\n        topLevelPackagingIdsToSave.add(packagingId);\n\n        return {\n            isActive: true,\n            deleted: false,\n            packaging\n        };\n    });\n\n    if (savedProduct) {\n        savedProduct.getPackagingsAndMappings().getPackagingData().forEach((packagingData) => {\n            if (packagingData.deleted) {\n                packagingDataToSave.push(packagingData);\n            } else {\n                const packagingId = packagingData.packaging.getPackagingId();\n                if (packagingId === null) {\n                    throw new RuntimeException(`unexpected packaging has no packagingId ${packagingData.packaging}`);\n                }\n\n                if (!topLevelPackagingIdsToSave.has(packagingId)) {\n                    packagingDataToSave.push({\n                        isActive: false,\n                        deleted: true,\n                        packaging: packagingData.packaging\n                    });\n                }\n            }\n        });\n    }\n\n    const preferredReportingUnit = getProductQuantityUnitFromFormValue(preferredReportingUnitValue, packagingIdsByformProductQuantityUnit);\n    const baseUnit = getProductQuantityUnitFromFormValue(baseUnitValue, packagingIdsByformProductQuantityUnit);\n\n    const packagingIdConversions = new StringValueMap<PackagingId, number>();\n    const unitOfMeasureConversions = new Map<MassUnit | VolumeUnit, number>();\n    Object.keys(productFormValidationInputDataByFieldName.conversions).map((unit) => {\n        const productQuantityUnit = getProductQuantityUnitFromFormValue(unit, packagingIdsByformProductQuantityUnit);\n        const conversionQuantity = parseFloat(productFormValidationInputDataByFieldName.conversions[unit].value);\n\n        if (productQuantityUnit instanceof PackagingId) {\n            packagingIdConversions.set(productQuantityUnit, conversionQuantity);\n        } else {\n            unitOfMeasureConversions.set(productQuantityUnit, conversionQuantity);\n        }\n    });\n\n    // Tells the backend which saved packaging each edited form replaced, so historical counts are\n    // remapped packaging to packaging instead of all through the first packaging.\n    // A replaced id can still be in use when another form describes the same packaging; that packaging is kept, so it isn't remapped.\n    const replacementPackagingIdMappings = new StringValueMap<PackagingId, QuantityInUnit<PackagingId>>();\n    if (savedProduct) {\n        const packagingIdsToSave = new StringValueSet<PackagingId>();\n        packagings.forEach((packaging) => {\n            let currentPackaging : Packaging | null = packaging;\n            while (currentPackaging) {\n                const currentPackagingId = currentPackaging.getPackagingId();\n                if (currentPackagingId) {\n                    packagingIdsToSave.add(currentPackagingId);\n                }\n                currentPackaging = currentPackaging.getContent();\n            }\n        });\n\n        packagings.forEach((packaging, index) => {\n            const replacedPackagingId = replacedPackagingIds[index];\n            const packagingId = packaging.getPackagingId();\n            if (replacedPackagingId && packagingId && !packagingIdsToSave.has(replacedPackagingId)) {\n                replacementPackagingIdMappings.set(replacedPackagingId, new QuantityInUnit(1, packagingId));\n            }\n        });\n    }\n\n    const packagingsAndMappings = new PackagingsAndMappings(\n        packagingDataToSave,\n        new Mappings(replacementPackagingIdMappings, new Map()),\n        new Conversions(baseUnit, packagingIdConversions, unitOfMeasureConversions)\n    );\n    const productCategoryId = productFormValidationInputDataByFieldName.categoryId.value;\n    const depositInDollars = parseFloat(productFormValidationInputDataByFieldName.unitDeposit.value);\n\n    const weightsByPackagingId = new StringValueMap<PackagingId, PackagingWeight>();\n    if (productFormValidationInputDataByFieldName.useCustomWeights.value) {\n        Object.keys(productFormValidationInputDataByFieldName.packagingWeights).map((packagingIdValue) => {\n            const productQuantityUnit = getProductQuantityUnitFromFormValue(packagingIdValue, packagingIdsByformProductQuantityUnit);\n            const packagingWeight = getPackagingWeight(productFormValidationInputDataByFieldName.packagingWeights[packagingIdValue]);\n\n            if (productQuantityUnit instanceof PackagingId) {\n                weightsByPackagingId.set(productQuantityUnit, packagingWeight);\n            } else {\n                throw new RuntimeException(`productQuantityUnit: \"${ productQuantityUnit }\" is unexpectedly not a PackagingId`);\n            }\n        });\n    }\n\n    const unitPrice = new Price(\n        parseFloat(productFormValidationInputDataByFieldName.priceAmount.value),\n        oldPackagingUtils.getUnitFromValue(productFormValidationInputDataByFieldName.priceUnit.value)\n    );\n\n    let par : QuantityInUnit<ProductQuantityUnit> | null = null;\n    if (productFormValidationInputDataByFieldName.parCount.value) {\n        par = new QuantityInUnit(\n            parseFloat(productFormValidationInputDataByFieldName.parCount.value),\n            getProductQuantityUnitFromFormValue(productFormValidationInputDataByFieldName.parUnit.value, packagingIdsByformProductQuantityUnit)\n        );\n    }\n\n    let productCost : ProductCost | null = null;\n    if (productFormValidationInputDataByFieldName.costAmount.value) {\n        productCost = new ProductCost(\n            decimalUtils.numberStringToDecimal(productFormValidationInputDataByFieldName.costAmount.value),\n            getProductQuantityUnitFromFormValue(productFormValidationInputDataByFieldName.costUnit.value, packagingIdsByformProductQuantityUnit)\n        );\n    }\n\n    const getProductDistributorAssociations = (productId : ProductId) : Array<ProductDistributorAssociation> => {\n        const productDistributorAssociations : Array<ProductDistributorAssociation> = [];\n\n        productFormValidationInputDataByFieldName.productDistributorAssociations.forEach((productDistributorAssociationForm) => {\n            let price : ProductCost | null = null;\n            if (productDistributorAssociationForm.validationInputDataByFieldName.priceAmount.value) {\n                price = new ProductCost(\n                    decimalUtils.numberStringToDecimal(productDistributorAssociationForm.validationInputDataByFieldName.priceAmount.value),\n                    getProductQuantityUnitFromFormValue(productDistributorAssociationForm.validationInputDataByFieldName.priceUnit.value, packagingIdsByformProductQuantityUnit)\n                );\n            }\n\n            let deposit : ProductCost | null = null;\n            if (productDistributorAssociationForm.validationInputDataByFieldName.depositAmount.value) {\n                deposit = new ProductCost(\n                    decimalUtils.numberStringToDecimal(productDistributorAssociationForm.validationInputDataByFieldName.depositAmount.value),\n                    getProductQuantityUnitFromFormValue(productDistributorAssociationForm.validationInputDataByFieldName.depositUnit.value, packagingIdsByformProductQuantityUnit)\n                );\n            }\n\n            productDistributorAssociations.push(new ProductDistributorAssociation(\n                productId,\n                getProductQuantityUnitFromFormValue(productDistributorAssociationForm.validationInputDataByFieldName.unit.value, packagingIdsByformProductQuantityUnit),\n                new DistributorId(productDistributorAssociationForm.validationInputDataByFieldName.distributorId.value),\n                productDistributorAssociationForm.validationInputDataByFieldName.sku.value ? productDistributorAssociationForm.validationInputDataByFieldName.sku.value : null,\n                price,\n                deposit\n            ));\n        });\n\n        return productDistributorAssociations;\n    };\n\n    return {\n        product: new Product(\n            brand,\n            name,\n            packagingsAndMappings,\n            preferredReportingUnit,\n            weightsByPackagingId,\n            productCategoryId,\n            productCategoryId.length > 0 ? new CategoryId(productCategoryId) : null,\n            productType,\n            unitPrice,\n            depositInDollars,\n            sku,\n            glCode,\n            note,\n            savedProduct ? savedProduct.getCreationEvent() : updateEventUserAccountIdAndTimestamp,\n            updateEventUserAccountIdAndTimestamp,\n            savedProduct ? savedProduct.getConfirmationEvent() : undefined,\n        ),\n        distributorId: distributorIdValue ? new DistributorId(distributorIdValue) : null,\n        par,\n        productCost,\n        getProductDistributorAssociations\n    };\n};\n\n// TODO Cheezy where should this live?\nconst getProductDistributorAndParForEditOrCreate = (\n    productWithDummyPackaging : Product,\n    savedProduct : Product | null,\n    distributorId : DistributorId | null,\n    productCost : ProductCost | null,\n    par : QuantityInUnit<ProductQuantityUnit> | null,\n) : { product : Product, distributorId : DistributorId | null, par : QuantityInUnit<ProductQuantityUnit> | null } => {\n    const packagingsWithDummyPackagingIds : Array<Packaging> = [];\n    productWithDummyPackaging.getPackagingsAndMappings().getPackagingData().forEach((packagingData) => {\n        if (!packagingData.deleted) {\n            packagingsWithDummyPackagingIds.push(packagingData.packaging);\n        }\n    });\n\n    // TODO Cheezy\n    return getProductSaveData(\n        getValidationInputDataByFieldName(productWithDummyPackaging, distributorId, productCost, par, []),\n        packagingsWithDummyPackagingIds,\n        packagingsWithDummyPackagingIds.map(() => null),\n        savedProduct,\n        new UserAccountIdAndTimestamp(new UserAccountId(window.GLOBAL_USER_ID), DateTime.now().toTimestampWithMillisecondPrecision()),\n        PackagingUtils.generatePackagingId,\n    );\n};\n\nconst getValidationInputDataByFieldName = (\n    product : Product,\n    distributorId : DistributorId | null,\n    productCost : ProductCost | null,\n    par : QuantityInUnit<ProductQuantityUnit> | null,\n    productDistributorAssociations : Array<ProductDistributorAssociation>,\n) : ProductFormValidationInputDataByFieldName => {\n    const defaultFormFieldValidation = {\n        isValid: true,\n        errorMessage: '',\n    };\n\n    const nonDeletedPackagings : Array<Packaging> = [];\n    product.getPackagingsAndMappings().getPackagingData().forEach((packagingData) => {\n        if (!packagingData.deleted) {\n            nonDeletedPackagings.push(packagingData.packaging);\n        }\n    });\n    const formProductQuantityUnitValuesByPackagingId = getFormProductQuantityUnitValuesByPackagingId(nonDeletedPackagings);\n\n    const conversions : { [productQuantityUnitValue : string] : IValidationInputData } = {};\n    product.getPackagingsAndMappings().getConversions().getUnitOfMeasureConversions().forEach((value, unitOfMeasure) => {\n        conversions[unitOfMeasure] = {\n            value: value.toString(),\n            ...defaultFormFieldValidation,\n        };\n    });\n\n    product.getPackagingsAndMappings().getConversions().getPackagingIdConversions().forEach((value, packagingId) => {\n        const formProductQuantityUnitValue = formProductQuantityUnitValuesByPackagingId.getRequired(packagingId);\n        conversions[formProductQuantityUnitValue] = {\n            value: value.toString(),\n            ...defaultFormFieldValidation,\n        };\n    });\n\n    const preferredReportingUnit = product.getPreferredReportingUnit();\n    const baseUnit = product.getPackagingsAndMappings().getConversions().getBaseUnit();\n\n    const resolvedPar = par ? PackagingUtils.resolveProductQuantityUnit(par, product.getPackagingsAndMappings().getMappings()) : null;\n    const parUnit = resolvedPar ? resolvedPar.getUnit() : null;\n\n    const resolvedCostUnit = productCost ? PackagingUtils.resolveProductQuantityUnit(new QuantityInUnit(1, productCost.getUnit()), product.getPackagingsAndMappings().getMappings()).getUnit() : null;\n    const resolvedProductCostAmount = (productCost && resolvedCostUnit) ? productCostUtils.getCostInUnit(productCost, resolvedCostUnit, product.getPackagingsAndMappings()) : null;\n\n    const packagingWeights : { [productQuantityUnitValue : string] : PackagingWeightFormValidationInputDataByFieldName } = {};\n    product.getWeightsByPackagingId().forEach((packagingWeight, packagingId) => {\n        const formProductQuantityUnitValue = formProductQuantityUnitValuesByPackagingId.get(packagingId);\n\n        const emptyWeight = packagingWeight.getEmptyWeight();\n        const fullWeight = packagingWeight.getFullWeight();\n\n        if (formProductQuantityUnitValue) {\n            packagingWeights[formProductQuantityUnitValue] = {\n                emptyWeightQuantity: {\n                    value: emptyWeight ? emptyWeight.getQuantity().toString() : '',\n                    ...defaultFormFieldValidation,\n                },\n                emptyWeightUnit: {\n                    value: emptyWeight ? emptyWeight.getUnit() : MassUnit.DRY_OUNCE,\n                    ...defaultFormFieldValidation,\n                },\n                fullWeightQuantity: {\n                    value: fullWeight ? fullWeight.getQuantity().toString() : '',\n                    ...defaultFormFieldValidation,\n                },\n                fullWeightUnit: {\n                    value: fullWeight ? fullWeight.getUnit() : MassUnit.DRY_OUNCE,\n                    ...defaultFormFieldValidation,\n                },\n            };\n        }\n    });\n\n    const categoryId = product.getNewProductCategoryId();\n\n    const productDistributorAssociationsByFormId = new StringValueMap<ProductDistributorAssociationFormId, IProductDistributorAssociationForm>();\n    productDistributorAssociations.forEach((productDistributorAssociation) => {\n        const resolvedProductQuantityUnit = PackagingUtils.resolveProductQuantityUnit(\n            new QuantityInUnit(1, productDistributorAssociation.getProductQuantityUnit()),\n            product.getPackagingsAndMappings().getMappings()\n        ).getUnit(); // TODO Cheezy do we need to resolve?\n\n        const unitValue = (resolvedProductQuantityUnit instanceof PackagingId) ? formProductQuantityUnitValuesByPackagingId.getRequired(resolvedProductQuantityUnit) : resolvedProductQuantityUnit;\n\n        const price = productDistributorAssociation.getPrice();\n        const deposit = productDistributorAssociation.getDeposit();\n\n        let priceUnitValue = unitValue;\n        if (price) {\n            const priceUnit = price.getUnit();\n            const resolvedPriceUnit = PackagingUtils.resolveProductQuantityUnit(new QuantityInUnit(1, priceUnit), product.getPackagingsAndMappings().getMappings()).getUnit();\n            priceUnitValue = (resolvedPriceUnit instanceof PackagingId) ? formProductQuantityUnitValuesByPackagingId.getRequired(resolvedPriceUnit) : resolvedPriceUnit;\n        }\n\n        let depositUnitValue = priceUnitValue;\n        if (deposit) {\n            const depositUnit = deposit.getUnit();\n            const resolvedDepositUnit = PackagingUtils.resolveProductQuantityUnit(new QuantityInUnit(1, depositUnit), product.getPackagingsAndMappings().getMappings()).getUnit();\n            depositUnitValue = (resolvedDepositUnit instanceof PackagingId) ? formProductQuantityUnitValuesByPackagingId.getRequired(resolvedDepositUnit) : resolvedDepositUnit;\n        }\n\n        productDistributorAssociationsByFormId.set(\n            ProductDistributorAssociationFormId.generateUniqueProductDistributorAssociationFormId(),\n            {\n                validationInputDataByFieldName: {\n                    unit: {\n                        value: unitValue,\n                        isValid: true,\n                        errorMessage: '',\n                    },\n                    distributorId: {\n                        value: productDistributorAssociation.getDistributorId().getValue(),\n                        isValid: true,\n                        errorMessage: '',\n                    },\n                    sku: {\n                        value: productDistributorAssociation.getSku() || '',\n                        isValid: true,\n                        errorMessage: '',\n                    },\n                    priceAmount: {\n                        value: price ? decimalToNumberString(price.getCost()) : '0.00',\n                        isValid: true,\n                        errorMessage: '',\n                    },\n                    priceUnit: {\n                        value: priceUnitValue,\n                        isValid: true,\n                        errorMessage: '',\n                    },\n                    depositAmount: {\n                        value: deposit ? decimalToNumberString(deposit.getCost()) : '',\n                        isValid: true,\n                        errorMessage: '',\n                    },\n                    depositUnit: {\n                        value: depositUnitValue,\n                        isValid: true,\n                        errorMessage: '',\n                    },\n                },\n                isValid: true,\n                errorMessage: '',\n                packagingIndex: null,\n            }\n        );\n    });\n\n    return {\n        name: {\n            value: product.getName(),\n            ...defaultFormFieldValidation,\n        },\n        brand: {\n            value: product.getBrand(),\n            ...defaultFormFieldValidation,\n        },\n        distributorId: {\n            value: distributorId ? distributorId.getValue() : '',\n            ...defaultFormFieldValidation,\n        },\n        useCustomWeights: {\n            value: (product.getWeightsByPackagingId().size === 0) ? '' : 'true',\n            ...defaultFormFieldValidation,\n        },\n        packagingWeights,\n        baseUnit: {\n            value: (baseUnit instanceof PackagingId) ? formProductQuantityUnitValuesByPackagingId.getRequired(baseUnit) : baseUnit,\n            ...defaultFormFieldValidation,\n        },\n        preferredReportingUnit: {\n            value: (preferredReportingUnit instanceof PackagingId) ? formProductQuantityUnitValuesByPackagingId.getRequired(preferredReportingUnit) : preferredReportingUnit,\n            ...defaultFormFieldValidation,\n        },\n        priceAmount: {\n            value: product.getUnitPrice().getDollarValue().toString(),\n            ...defaultFormFieldValidation,\n        },\n        priceUnit: {\n            value: product.getUnitPrice().getUnit(),\n            ...defaultFormFieldValidation,\n        },\n        categoryId: {\n            value: categoryId ? categoryId.getValue() : '',\n            ...defaultFormFieldValidation,\n        },\n        type: {\n            value: product.getProductType(),\n            ...defaultFormFieldValidation,\n        },\n        sku: {\n            value: product.getSku(),\n            ...defaultFormFieldValidation,\n        },\n        unitDeposit: {\n            value: product.getDepositInDollars().toString(),\n            ...defaultFormFieldValidation,\n        },\n        note: {\n            value: product.getNote(),\n            ...defaultFormFieldValidation,\n        },\n        glCode: {\n            value: product.getGLCode(),\n            ...defaultFormFieldValidation,\n        },\n        costAmount: {\n            value: (resolvedProductCostAmount !== null) ? resolvedProductCostAmount.toString() : '',\n            ...defaultFormFieldValidation,\n        },\n        costUnit: {\n            value: resolvedCostUnit ? ((resolvedCostUnit instanceof PackagingId) ? formProductQuantityUnitValuesByPackagingId.getRequired(resolvedCostUnit) : resolvedCostUnit) : '',\n            ...defaultFormFieldValidation,\n        },\n        parCount: {\n            value: resolvedPar ? resolvedPar.getQuantity().toString() : '',\n            ...defaultFormFieldValidation,\n        },\n        parUnit: {\n            value: parUnit ? ((parUnit instanceof PackagingId) ? formProductQuantityUnitValuesByPackagingId.getRequired(parUnit) : parUnit) : '',\n            ...defaultFormFieldValidation,\n        },\n        conversions,\n        productDistributorAssociations: productDistributorAssociationsByFormId,\n    };\n};\n\nconst getPackagingWeight = (packagingWeightFormValidationInputDataByFieldName : PackagingWeightFormValidationInputDataByFieldName) : PackagingWeight => {\n    let emptyWeight : QuantityInUnit<MassUnit> | null = null;\n    let fullWeight : QuantityInUnit<MassUnit> | null = null;\n\n    const emptyWeightQuantityValue = packagingWeightFormValidationInputDataByFieldName.emptyWeightQuantity.value;\n    const emptyWeightUnitValue = packagingWeightFormValidationInputDataByFieldName.emptyWeightUnit.value;\n    if (emptyWeightQuantityValue && emptyWeightUnitValue) {\n        if (MassUnit.isMassUnitValue(emptyWeightUnitValue)) {\n            emptyWeight = new QuantityInUnit(\n                parseFloat(emptyWeightQuantityValue),\n                MassUnit.getByMassUnitValue(emptyWeightUnitValue)\n            );\n        } else {\n            throw new RuntimeException(`emptyWeightUnitValue: \"${ emptyWeightUnitValue }\" is unexpectedly not a massUnit`);\n        }\n    }\n\n    const fullWeightQuantityValue = packagingWeightFormValidationInputDataByFieldName.fullWeightQuantity.value;\n    const fullWeightUnitValue = packagingWeightFormValidationInputDataByFieldName.fullWeightUnit.value;\n    if (fullWeightQuantityValue && fullWeightUnitValue) {\n        if (MassUnit.isMassUnitValue(fullWeightUnitValue)) {\n            fullWeight = new QuantityInUnit(\n                parseFloat(fullWeightQuantityValue),\n                MassUnit.getByMassUnitValue(fullWeightUnitValue)\n            );\n        } else {\n            throw new RuntimeException(`fullWeightUnitValue: \"${ fullWeightUnitValue }\" is unexpectedly not a massUnit`);\n        }\n    }\n\n    return new PackagingWeight(emptyWeight, fullWeight);\n};\n\nconst getDistributorSortedOptionsAndLabelNames = (\n    distributorsByDistributorId : StringValueMap<DistributorId, Distributor>,\n    distributorIdsWithRelationship : StringValueSet<DistributorId>,\n    includeNullVendorOption : boolean,\n) : OptionsAndLabelNameTuples => {\n    const myVendorIOptions : Array<IOption> = [];\n    if (includeNullVendorOption) {\n        myVendorIOptions.push({\n            label: 'Other',\n            value: '',\n            icon: null,\n        });\n    }\n\n    const otherVendorIOptions : Array<IOption> = [];\n\n    distributorsByDistributorId.forEach((distributor, distributorId) => {\n        distributorsByDistributorId.set(distributorId, distributor);\n\n        const iOption = {\n            value: distributorId.getValue(),\n            label: distributor.getName(),\n            icon: null,\n        };\n\n        if (distributorIdsWithRelationship.has(distributorId)) {\n            myVendorIOptions.push(iOption);\n        } else {\n            otherVendorIOptions.push(iOption);\n        }\n    });\n\n    myVendorIOptions.sort((a : IOption, b : IOption) => (a.label.toLowerCase() > b.label.toLowerCase()) ? 1 : -1);\n    otherVendorIOptions.sort((a : IOption, b : IOption) => (a.label.toLowerCase() > b.label.toLowerCase()) ? 1 : -1);\n\n    const distributorSortedOptionsAndLabelNames : OptionsAndLabelNameTuples = [];\n    if (myVendorIOptions.length > 0) {\n        distributorSortedOptionsAndLabelNames.push(['My Vendors', myVendorIOptions]);\n    }\n\n    if (otherVendorIOptions.length > 0) {\n        distributorSortedOptionsAndLabelNames.push(['Other Vendors', otherVendorIOptions]);\n    }\n\n    return distributorSortedOptionsAndLabelNames;\n};\n\nconst makeCategoryOption = (categoryId : CategoryId, category : Category) : IOption => {\n    return {\n        value: categoryId.getValue(),\n        label: CategoryUtils.createCategoryLabelName(category),\n        icon: null,\n    };\n};\n\nexport const ProductFormUtils = {\n    validateValueByFieldName,\n    validatePackagingWeightValueByFieldName,\n    getSortedFormProductQuantityUnitValuesAndLabels,\n    getWeightUnitOptions,\n    getAllPackagingUnitIOptions,\n    getBaseUnitIOptions,\n    getUnitsWithConversionForms,\n    getPriceUnitIOptions,\n    getPriceFormValuesForFirstPackaging,\n    getFormProductQuantityUnitValueForPriceUnit,\n    validateProductDistributorAssociationValueByFieldName,\n    getPackagingWeightFormPackagingIdIOptions,\n    getValidationInputDataByFieldName,\n    getProductSaveData,\n    getDistributorSortedOptionsAndLabelNames,\n    getPackagingFormDataIndexByFormProductQuantityUnitValue,\n    getFormProductQuantityUnitValuesByPackagingId,\n    getPackagingWeight,\n    getProductDistributorAndParForEditOrCreate,\n    makeCategoryOption,\n};\n","/**\n * Duplicate Detection Utilities for Item Manager\n *\n * Identify potential duplicate items using matching on names and SKUs,\n * then groups them by finding connected sets of matching items.\n *\n * Logic:\n * 1. Compare all products pairwise:\n *    - Name matching: Jaro-Winkler distance >= NAME_MATCH_THRESHOLD\n *    - SKU matching: Exact string equality for SKU AND same vendor (distributorId)\n * 2. Products match if EITHER name >= NAME_MATCH_THRESHOLD OR exact SKU match with same vendor exists\n * 3. Group matching products by finding connected sets (if A matches B and B matches C, they're all grouped)\n */\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { cleanPhrase } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { getStringSimilarityScore, getProductNameString } from 'shared/utils/matchingUtils';\n\nexport interface DuplicateMatch {\n    productId : ProductId;\n    reason : MatchReason;\n}\n\nexport interface DuplicateGroup {\n    groupId: string;\n    productIds: Array<string>;\n    similarityReason: string;\n}\n\ninterface SKUWithVendor {\n    sku: string;\n    distributorId: string | null;\n}\n\nexport type MatchReason = 'name' | 'sku' | 'both';\n\nconst NAME_MATCH_THRESHOLD = 0.90;\n\nconst getMatchReason = (nameScore: number, hasExactSkuMatch: boolean): MatchReason => {\n    const nameMatch = nameScore >= NAME_MATCH_THRESHOLD;\n    if (nameMatch && hasExactSkuMatch) {\n        return 'both';\n    } else if (hasExactSkuMatch) {\n        return 'sku';\n    } else {\n        return 'name';\n    }\n};\n\n/**\n * Get all SKUs for a product with their associated vendors\n */\nconst getAllProductSKUsWithVendors = (\n    productId: string,\n    product: Product,\n    productDistributorAssociationsByProductId: StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>> | null,\n    distributorIdsByProductId: StringValueMap<ProductId, DistributorId | null> | null\n): Array<SKUWithVendor> => {\n    const skusWithVendors: Array<SKUWithVendor> = [];\n    const productSku = cleanPhrase(product.getSku() || '');\n\n    const associations = productDistributorAssociationsByProductId?.get(new ProductId(productId));\n\n    if (associations && associations.size > 0) {\n        associations.forEach((association) => {\n            const distributorSku = cleanPhrase(association.getSku() || '');\n            if (distributorSku.length > 0) {\n                skusWithVendors.push({\n                    sku: distributorSku,\n                    distributorId: association.getDistributorId().getValue()\n                });\n            }\n        });\n\n        if (productSku.length > 0) {\n            associations.forEach((association) => {\n                skusWithVendors.push({\n                    sku: productSku,\n                    distributorId: association.getDistributorId().getValue()\n                });\n            });\n        }\n    } else {\n        const primaryDistributorId = distributorIdsByProductId?.get(new ProductId(productId));\n\n        if (productSku.length > 0) {\n            skusWithVendors.push({\n                sku: productSku,\n                distributorId: primaryDistributorId ? primaryDistributorId.getValue() : null\n            });\n        }\n    }\n\n    return skusWithVendors;\n};\n\n/**\n * Check if two products are potential duplicates based on name and SKU similarity\n * For SKU matching: requires both same SKU AND same vendor (distributorId)\n */\nconst arePotentialDuplicates = (\n    product1Id: string,\n    product1: Product,\n    product2Id: string,\n    product2: Product,\n    productDistributorAssociationsByProductId: StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>> | null,\n    distributorIdsByProductId: StringValueMap<ProductId, DistributorId | null> | null\n): { isDuplicate: boolean, nameScore: number, hasExactSkuMatch: boolean } => {\n    const name1 = getProductNameString(product1);\n    const name2 = getProductNameString(product2);\n\n    const skusWithVendors1 = getAllProductSKUsWithVendors(\n        product1Id, product1, productDistributorAssociationsByProductId, distributorIdsByProductId\n    );\n    const skusWithVendors2 = getAllProductSKUsWithVendors(\n        product2Id, product2, productDistributorAssociationsByProductId, distributorIdsByProductId\n    );\n\n    const nameScore = getStringSimilarityScore(name1, name2);\n\n    const hasExactSkuMatch = skusWithVendors1.some(skuVendor1 =>\n        skusWithVendors2.some(skuVendor2 =>\n            skuVendor1.sku === skuVendor2.sku &&\n            skuVendor1.distributorId === skuVendor2.distributorId\n        )\n    );\n\n    // Consider duplicates if:\n    // 1. Name similarity >= NAME_MATCH_THRESHOLD, OR\n    // 2. Exact SKU match with same vendor exists\n    const isDuplicate = (nameScore >= NAME_MATCH_THRESHOLD) || hasExactSkuMatch;\n\n    return { isDuplicate, nameScore, hasExactSkuMatch };\n};\n\n/**\n * Build map of matching products by Comparing all products pairwise and tracks:\n * - Which products match each other\n * - Why they match (name, SKU, or both)\n */\nconst buildMatchingProductsMap = (\n    productsByIdMap: { [productId: string]: Product },\n    productDistributorAssociationsByProductId: StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>> | null,\n    distributorIdsByProductId: StringValueMap<ProductId, DistributorId | null> | null\n): {\n    matches: Map<string, Set<string>>,\n    matchReasons: Map<string, MatchReason>\n} => {\n    const matches = new Map<string, Set<string>>();\n    const matchReasons = new Map<string, MatchReason>();\n    const productIds = Object.keys(productsByIdMap);\n\n    productIds.forEach(id => matches.set(id, new Set<string>()));\n\n    // Compare all pairs of products\n    for (let i = 0; i < productIds.length; i++) {\n        const product1Id = productIds[i];\n        const product1 = productsByIdMap[product1Id];\n\n        for (let j = i + 1; j < productIds.length; j++) {\n            const product2Id = productIds[j];\n            const product2 = productsByIdMap[product2Id];\n\n            const { isDuplicate, nameScore, hasExactSkuMatch } = arePotentialDuplicates(\n                product1Id,\n                product1,\n                product2Id,\n                product2,\n                productDistributorAssociationsByProductId,\n                distributorIdsByProductId\n            );\n\n            if (isDuplicate) {\n                matches.get(product1Id)!.add(product2Id);\n                matches.get(product2Id)!.add(product1Id);\n\n                const reason = getMatchReason(nameScore, hasExactSkuMatch);\n\n                // Store reason\n                const pairKey = [product1Id, product2Id].sort().join('-');\n                matchReasons.set(pairKey, reason);\n            }\n        }\n    }\n\n    return { matches, matchReasons };\n};\n\n/**\n * Find connected set of matching products starting from a given product\n * I.e If A matches B and B matches C, all three are grouped together.\n */\nconst findConnectedComponent = (\n    matches: Map<string, Set<string>>,\n    startNode: string,\n    visited: Set<string>\n): Set<string> => {\n    const component = new Set<string>();\n    const stack = [startNode];\n\n    while (stack.length > 0) {\n        const node = stack.pop()!;\n\n        if (visited.has(node)) continue;\n\n        visited.add(node);\n        component.add(node);\n\n        // Add all unvisited matching products to stack\n        const matchingProducts = matches.get(node) || new Set();\n        matchingProducts.forEach(matchingProduct => {\n            if (!visited.has(matchingProduct)) {\n                stack.push(matchingProduct);\n            }\n        });\n    }\n\n    return component;\n};\n\n/**\n * Calculate similarity reason for a group by checking why products match\n * i.e if they match/duplicated by name, SKU, or both\n */\nconst calculateSimilarityReason = (\n    productIds: Array<string>,\n    matchReasons: Map<string, MatchReason>\n): string => {\n    let hasNameMatch = false;\n    let hasSkuMatch = false;\n\n    // Check a sample of pairs to determine overall reason\n    // (no need to check all pairs in large groups)\n    for (let i = 0; i < productIds.length && i < 3; i++) {\n        for (let j = i + 1; j < productIds.length && j < 3; j++) {\n            const pairKey = [productIds[i], productIds[j]].sort().join('-');\n            const reason = matchReasons.get(pairKey);\n\n            if (reason === 'name' || reason === 'both') hasNameMatch = true;\n            if (reason === 'sku' || reason === 'both') hasSkuMatch = true;\n\n            if (hasNameMatch && hasSkuMatch) break;\n        }\n        if (hasNameMatch && hasSkuMatch) break;\n    }\n\n    if (hasNameMatch && hasSkuMatch) {\n        return 'Matching name and SKU';\n    } else if (hasSkuMatch) {\n        return 'Matching SKU';\n    } else if (hasNameMatch) {\n        return 'Matching name';\n    } else {\n        return 'Potential duplicates';\n    }\n};\n\nconst generateGroupId = (\n    productIds: Array<string>,\n    productsByIdMap: { [productId: string]: Product }\n): string => {\n    const products = productIds.map(id => productsByIdMap[id]);\n    const names = products.map(p => cleanPhrase(p.getBrand() + ' ' + p.getName())).sort();\n    const skus = products.map(p => cleanPhrase(p.getSku() || '')).filter(s => s.length > 0).sort();\n\n    const baseName = names[0] || '';\n    const baseSku = skus.length > 0 ? skus[0] : '';\n\n    const parts = [baseName, baseSku, productIds.length.toString()].filter(p => p.length > 0);\n    return parts.join('-');\n};\n\n/**\n * Find existing products that are potential duplicates of a given product.\n * Used to warn before creating a new product that may already exist.\n * Compares by name similarity (Jaro-Winkler >= NAME_MATCH_THRESHOLD) and exact SKU match.\n */\nexport const findDuplicatesForProduct = (\n    newProduct : Product,\n    productIdsToCompare : Array<ProductId>,\n    productsById : StringValueMap<ProductId, Product>,\n    productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>> | null,\n    distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null> | null,\n    newProductDistributorId : DistributorId | null,\n    getNewProductDistributorAssociations : (productId : ProductId) => Array<ProductDistributorAssociation>,\n) : Array<DuplicateMatch> => {\n    const newProductIdPlaceholder = '__new_product__';\n    const newProductPlaceholderProductId = new ProductId(newProductIdPlaceholder);\n\n    // Build augmented maps that include the new product's distributor info\n    // so that getAllProductSKUsWithVendors can find it under the placeholder ID\n    let augmentedDistributorIdsByProductId = distributorIdsByProductId;\n    if (newProductDistributorId) {\n        augmentedDistributorIdsByProductId = new StringValueMap<ProductId, DistributorId | null>(\n            distributorIdsByProductId || undefined\n        );\n        augmentedDistributorIdsByProductId.set(newProductPlaceholderProductId, newProductDistributorId);\n    }\n\n    let augmentedAssociationsByProductId = productDistributorAssociationsByProductId;\n    const newProductDistributorAssociations = getNewProductDistributorAssociations(newProductPlaceholderProductId);\n    if (newProductDistributorAssociations.length > 0) {\n        augmentedAssociationsByProductId = new StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>(\n            productDistributorAssociationsByProductId || undefined\n        );\n        const newAssociationsMap = new StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>();\n        newProductDistributorAssociations.forEach((association) => {\n            newAssociationsMap.set(\n                ProductDistributorAssociationIdentifier.fromProductDistributorAssociation(association),\n                association\n            );\n        });\n        augmentedAssociationsByProductId.set(newProductPlaceholderProductId, newAssociationsMap);\n    }\n\n    const duplicateMatches : Array<DuplicateMatch> = [];\n\n    for (const existingProductId of productIdsToCompare) {\n        const existingProduct = productsById.get(existingProductId);\n        if (typeof existingProduct === 'undefined') {\n            continue;\n        }\n\n        const { isDuplicate, nameScore, hasExactSkuMatch } = arePotentialDuplicates(\n            newProductIdPlaceholder,\n            newProduct,\n            existingProductId.getValue(),\n            existingProduct,\n            augmentedAssociationsByProductId,\n            augmentedDistributorIdsByProductId,\n        );\n\n        if (isDuplicate) {\n            const reason = getMatchReason(nameScore, hasExactSkuMatch);\n            duplicateMatches.push({ productId: existingProductId, reason });\n        }\n    }\n\n    return duplicateMatches;\n};\n\n/**\n * Find all duplicate groups (clusters of 2+ similar items)\n */\nexport const findDuplicateGroups = (\n    productsByIdMap: { [productId: string]: Product },\n    productDistributorAssociationsByProductId: StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>> | null = null,\n    distributorIdsByProductId: StringValueMap<ProductId, DistributorId | null> | null = null\n): Array<DuplicateGroup> => {\n    const { matches, matchReasons } = buildMatchingProductsMap(\n        productsByIdMap,\n        productDistributorAssociationsByProductId,\n        distributorIdsByProductId\n    );\n    const groups: Array<DuplicateGroup> = [];\n    const visited = new Set<string>();\n\n    const allProductIds = Array.from(matches.keys());\n\n    for (const productId of allProductIds) {\n        if (visited.has(productId)) continue;\n\n        const component = findConnectedComponent(matches, productId, visited);\n\n        if (component.size >= 2) {\n            const productIds = Array.from(component);\n            const similarityReason = calculateSimilarityReason(productIds, matchReasons);\n\n            groups.push({\n                groupId: generateGroupId(productIds, productsByIdMap),\n                productIds,\n                similarityReason,\n            });\n        }\n    }\n\n    // Sort by size (largest first)\n    return groups.sort((a, b) => {\n        if (a.productIds.length !== b.productIds.length) {\n            return b.productIds.length - a.productIds.length;\n        }\n        return a.groupId.localeCompare(b.groupId);\n    });\n};\n","import { Cart } from 'api/Cart/model/Cart';\nimport { CartItem } from 'api/Cart/model/CartItem';\nimport { CartUtils } from 'api/Cart/utils/CartUtils';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Price } from 'api/Product/model/Price';\nimport { ProductMergeEvent } from 'api/Product/model/ProductMergeEvent';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { PackagingWeight } from 'api/Product/model/PackagingWeight';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { IMergeEventJsonObject, IMergeRequestData, IQuantityInUnitJSONObject } from 'api/Product/serializer/IProductJSONObject';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { DateTime } from 'shared/models/DateTime';\nimport { Conversions } from 'api/Product/model/Conversions';\nimport { Mappings } from 'api/Product/model/Mappings';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductObjectToJSONSerializer } from 'api/Product/serializer/ProductObjectToJSONSerializer';\n\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport type { IMergedProductInformation, IMergeItemCardData, ProductConflictFormValidationInputDataByFieldName } from '../reducers/MergeItemCardReducers';\nimport moment from 'moment-timezone';\n\nexport const AUTO_MERGE_DELIVERY_START = moment().utc().subtract(60, 'days');\n\n// sometimes we need this fn in a context where we only have oldPackagingIdToNewPackagingId and not the full merge info\nconst resolveOldUnitToMergedProductUnit = (productQuantityUnit: ProductQuantityUnit, mergedProductInformation: Pick<IMergedProductInformation, \"oldPackagingIdToNewPackagingId\">) => {\n    // we are trusting here that if there's a PQU of mass/volume associated with one of the previous products, there's a conversion\n    // in the merged product that can handle it. (could add an explicit check here if we're worried about it though)\n    return productQuantityUnit instanceof PackagingId ?\n        mergedProductInformation.oldPackagingIdToNewPackagingId.getRequired(productQuantityUnit) :\n        productQuantityUnit;\n}\n\nconst getQuantityInUnitResolutionOptionsOnMergedProduct = (\n    product1 : Product,\n    product2 : Product,\n    mergedProduct : Product,\n    product1QuantityInUnit : QuantityInUnit<ProductQuantityUnit>,\n    product2QuantityInUnit : QuantityInUnit<ProductQuantityUnit>,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n) : Array<QuantityInUnit<ProductQuantityUnit>> => {\n    product1QuantityInUnit = PackagingUtils.resolveProductQuantityUnit(product1QuantityInUnit, product1.getPackagingsAndMappings().getMappings());\n    product2QuantityInUnit = PackagingUtils.resolveProductQuantityUnit(product2QuantityInUnit, product2.getPackagingsAndMappings().getMappings());\n    const product1Unit = product1QuantityInUnit.getUnit();\n    let product2Unit = product2QuantityInUnit.getUnit();\n    if (product2Unit instanceof PackagingId) {\n        product2Unit = oldPackagingIdToNewPackagingId.getRequired(product2Unit);\n        product2QuantityInUnit = new QuantityInUnit<ProductQuantityUnit>(\n            product2QuantityInUnit.getQuantity(),\n            product2Unit,\n        );\n    }\n\n    const resolutionOptions : Array<QuantityInUnit<ProductQuantityUnit>> = [ product1QuantityInUnit, product2QuantityInUnit ];\n    const product2ToProduct1QuantityOfProductConversion = PackagingUtils.convertProductQuantityToUnit(mergedProduct.getPackagingsAndMappings(), product2QuantityInUnit, product1Unit);\n\n    if (product1Unit === product2Unit) {\n        resolutionOptions.push(\n            new QuantityInUnit(\n                product2ToProduct1QuantityOfProductConversion.getQuantity() + product1QuantityInUnit.getQuantity(),\n                product1Unit,\n            )\n        );\n    } else {\n        resolutionOptions.push(\n            new QuantityInUnit(\n                product2ToProduct1QuantityOfProductConversion.getQuantity() + product1QuantityInUnit.getQuantity(),\n                product1Unit,\n            )\n        );\n    }\n    return resolutionOptions;\n};\n\nconst needsUnitOfMeasureConversion = (newBaseUnit: ProductQuantityUnit, originalBaseUnit: VolumeUnit | MassUnit): boolean => {\n    // if base is EA, any UoM needs a conversion by definition\n    if (newBaseUnit instanceof PackagingId) {\n        return true;\n    }\n\n    // otherwise, only need a conversion if the units are mass/volume mismatch\n    if (VolumeUnit.isVolumeUnit(newBaseUnit)) {\n        return !VolumeUnit.isVolumeUnit(originalBaseUnit);\n    } else if (MassUnit.isMassUnit(newBaseUnit)) {\n        return !MassUnit.isMassUnit(originalBaseUnit);\n    } else {\n        // typescript-ese to make sure we've covered all possible values\n        const _exhaustiveCheck: never = newBaseUnit;\n        throw new RuntimeException(`unexpected unit: ${newBaseUnit}`);\n    }\n}\n\nconst getMergedPackagingConversions = (\n    baseUnitConversionMultiplier: number,\n    newBaseUnit: ProductQuantityUnit,\n    product1: { conversions: Conversions, baseUnit: ProductQuantityUnit },\n    product2:  { conversions: Conversions, baseUnit: ProductQuantityUnit },\n    selectedBaseUnit: string,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n) => {\n    const packagingIdConversions : StringValueMap<PackagingId, number> = new StringValueMap();\n    const unitOfMeasureConversions : Map<MassUnit | VolumeUnit, number> = new Map();\n    let hasUnitOfVolumeConversion = false;\n    let hasUnitOfMassConversion = false;\n\n    const { conversions: product1Conversions, baseUnit: product1BaseUnit } = product1;\n    const { conversions: product2Conversions, baseUnit: product2BaseUnit } = product2;\n\n    if (selectedBaseUnit === '2') {\n        if (product1BaseUnit instanceof PackagingId) {\n            packagingIdConversions.set(product1BaseUnit, baseUnitConversionMultiplier);\n        } else if (needsUnitOfMeasureConversion(newBaseUnit, product1BaseUnit)) {\n            unitOfMeasureConversions.set(product1BaseUnit, baseUnitConversionMultiplier);\n            if (MassUnit.isMassUnit(product1BaseUnit)) {\n                hasUnitOfMassConversion = true;\n            } else {\n                hasUnitOfVolumeConversion = true;\n            }\n        }\n    } else if (selectedBaseUnit === '1') {\n        if (product2BaseUnit instanceof PackagingId) {\n            packagingIdConversions.set(oldPackagingIdToNewPackagingId.getRequired(product2BaseUnit), baseUnitConversionMultiplier);\n        } else if (needsUnitOfMeasureConversion(newBaseUnit, product2BaseUnit)) {\n            unitOfMeasureConversions.set(product2BaseUnit, baseUnitConversionMultiplier);\n            if (MassUnit.isMassUnit(product2BaseUnit)) {\n                hasUnitOfMassConversion = true;\n            } else {\n                hasUnitOfVolumeConversion = true;\n            }\n        }\n    }\n\n    product1Conversions.getPackagingIdConversions().forEach((number, packagingId) => {\n        packagingIdConversions.set(packagingId, number * (selectedBaseUnit === '1' ? 1 : baseUnitConversionMultiplier));\n    });\n    product2Conversions.getPackagingIdConversions().forEach((number, packagingId) => {\n        packagingIdConversions.set(oldPackagingIdToNewPackagingId.getRequired(packagingId), number * (selectedBaseUnit === '2' ? 1 : baseUnitConversionMultiplier));\n    });\n\n    // only apply unit of measure conversions that make sense: no resolving lbs -> lbs, or ml -> L\n    // if the base is a mass unit, it has a mass conversion by definition\n    if (!(newBaseUnit instanceof PackagingId)) {\n        hasUnitOfMassConversion = hasUnitOfMassConversion || MassUnit.isMassUnit(newBaseUnit);\n        hasUnitOfVolumeConversion = hasUnitOfVolumeConversion || VolumeUnit.isVolumeUnit(newBaseUnit);\n    }\n    // TODO: if there was an existing UoM conversion it will get skipped: should this be a hard error?\n    // Could cause conversion changes on historical data if the baseUnitMultiplier is not equal to 1\n    product1Conversions.getUnitOfMeasureConversions().forEach((number, unit) => {\n        if (MassUnit.isMassUnit(unit)) {\n            if (!hasUnitOfMassConversion) {\n                unitOfMeasureConversions.set(unit, number * (selectedBaseUnit === '1' ? 1 : baseUnitConversionMultiplier));\n                hasUnitOfMassConversion = true;\n            }\n        } else if (!hasUnitOfVolumeConversion) {\n            unitOfMeasureConversions.set(unit, number * (selectedBaseUnit === '1' ? 1 : baseUnitConversionMultiplier));\n            hasUnitOfVolumeConversion = true;\n        }\n    });\n    product2Conversions.getUnitOfMeasureConversions().forEach((number, unit) => {\n        if ((MassUnit.isMassUnit(unit) && !hasUnitOfMassConversion) || (VolumeUnit.isVolumeUnit(unit) && !hasUnitOfVolumeConversion)) {\n            unitOfMeasureConversions.set(unit, number * (selectedBaseUnit === '2' ? 1 : baseUnitConversionMultiplier));\n        }\n    });\n\n    return { unitOfMeasureConversions, packagingIdConversions };\n}\n\nconst getMergedPackagings = (\n    product1: Product,\n    product2: Product,\n    validationInputDataByFieldName : ProductConflictFormValidationInputDataByFieldName,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n    packagingDataToSave: Array<{ deleted : boolean, isActive : boolean, packaging : Packaging}>,\n): PackagingsAndMappings => {\n    const baseUnitConversionMultiplier = parseFloat(validationInputDataByFieldName.baseUnitConversion.value);\n\n    const product1Conversions = product1.getPackagingsAndMappings().getConversions();\n    const product2Conversions = product2.getPackagingsAndMappings().getConversions();\n    const product1BaseUnit = PackagingUtils.resolveProductQuantityUnit(\n        new QuantityInUnit<ProductQuantityUnit>(1, product1Conversions.getBaseUnit()),\n        product1.getPackagingsAndMappings().getMappings(),\n    ).getUnit();\n    const product2BaseUnit = PackagingUtils.resolveProductQuantityUnit(\n        new QuantityInUnit<ProductQuantityUnit>(1, product2Conversions.getBaseUnit()),\n        product2.getPackagingsAndMappings().getMappings(),\n    ).getUnit();\n    const selectedBaseUnit = validationInputDataByFieldName.baseUnit.value;\n\n    let newBaseUnit: ProductQuantityUnit;\n    if (selectedBaseUnit === '2') {\n        newBaseUnit = resolveOldUnitToMergedProductUnit(product2BaseUnit, { oldPackagingIdToNewPackagingId });\n    } else if (selectedBaseUnit === '1') {\n        newBaseUnit = product1BaseUnit;\n    } else {\n        // default to 1 if it's not set on the form\n        newBaseUnit = product1BaseUnit;\n    }\n\n    const { packagingIdConversions, unitOfMeasureConversions } = getMergedPackagingConversions(\n        baseUnitConversionMultiplier, newBaseUnit,\n        { conversions: product1Conversions, baseUnit: product1BaseUnit },\n        { conversions: product2Conversions, baseUnit: product2BaseUnit },\n        selectedBaseUnit, oldPackagingIdToNewPackagingId);\n\n    const packagingsAndMappings = new PackagingsAndMappings(\n        packagingDataToSave,\n        new Mappings(\n            new StringValueMap(),\n            new Map(),\n        ),\n        new Conversions(\n            newBaseUnit,\n            packagingIdConversions,\n            unitOfMeasureConversions,\n        ),\n    );\n    return packagingsAndMappings;\n}\n\nconst getMergedReportingUnit = (\n    product1: Product,\n    product2: Product,\n    validationInputDataByFieldName : ProductConflictFormValidationInputDataByFieldName,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n) => {\n    const product1ReportingUnit = PackagingUtils.resolveProductQuantityUnit(\n        new QuantityInUnit<ProductQuantityUnit>(1, product1.getPreferredReportingUnit()),\n        product1.getPackagingsAndMappings().getMappings(),\n    ).getUnit();\n    const product2ReportingUnit = PackagingUtils.resolveProductQuantityUnit(\n        new QuantityInUnit<ProductQuantityUnit>(1, product2.getPreferredReportingUnit()),\n        product2.getPackagingsAndMappings().getMappings(),\n    ).getUnit();\n    const selectedReportingUnit = validationInputDataByFieldName.preferredReportingUnit.value;\n    let newReportingUnit : ProductQuantityUnit;\n    if (selectedReportingUnit === '2') {\n        newReportingUnit = resolveOldUnitToMergedProductUnit(product2ReportingUnit, { oldPackagingIdToNewPackagingId })\n    } else {\n        newReportingUnit = product1ReportingUnit;\n    }\n\n    return newReportingUnit;\n}\n\nconst carryOverDeletedPackagings = (\n    product1 : Product,\n    product2 : Product,\n    packagingDataToSave : Array<{ deleted : boolean, isActive : boolean, packaging : Packaging }>,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n) : void => {\n    // Append both originals' deleted packagings, deduped by top-level package_id (product1 wins on collision).\n    const seenPackagingIds = new Set<string>();\n    packagingDataToSave.forEach((entry) => {\n        const packagingId = entry.packaging.getPackagingId();\n        if (packagingId !== null) {\n            seenPackagingIds.add(packagingId.getValue());\n        }\n    });\n    [product1, product2].forEach((product) => {\n        product.getPackagingsAndMappings().getPackagingData().forEach((data) => {\n            if (!data.deleted) {\n                return;\n            }\n            const packagingId = data.packaging.getPackagingId();\n            if (packagingId === null || seenPackagingIds.has(packagingId.getValue())) {\n                return;\n            }\n            seenPackagingIds.add(packagingId.getValue());\n            packagingDataToSave.push(data);\n        });\n    });\n\n    // Resolve each deleted product2 packaging id through product2's own Mappings; if the resolved\n    // id is already in oldPackagingIdToNewPackagingId, add the deleted id under the same merged\n    // packaging id so cart/sales references resolve correctly\n    const product2Mappings = product2.getPackagingsAndMappings().getMappings();\n    product2.getPackagingsAndMappings().getPackagingData().forEach((data) => {\n        if (!data.deleted) {\n            return;\n        }\n        let currentPackaging : Packaging | null = data.packaging;\n        while (currentPackaging !== null) {\n            const deletedPackagingId = currentPackaging.getPackagingId();\n            if (deletedPackagingId !== null && !oldPackagingIdToNewPackagingId.has(deletedPackagingId)) {\n                const resolvedUnit = PackagingUtils.resolveProductQuantityUnit(\n                    new QuantityInUnit<ProductQuantityUnit>(1, deletedPackagingId),\n                    product2Mappings,\n                ).getUnit();\n                if (resolvedUnit instanceof PackagingId) {\n                    const mergedPackagingId = oldPackagingIdToNewPackagingId.get(resolvedUnit);\n                    if (mergedPackagingId !== undefined) {\n                        oldPackagingIdToNewPackagingId.set(deletedPackagingId, mergedPackagingId);\n                    }\n                }\n            }\n            currentPackaging = currentPackaging.getContent();\n        }\n    });\n};\n\nconst getMergedProductAndPackageMappings = (\n    product1 : Product,\n    product2 : Product,\n    validationInputDataByFieldName : ProductConflictFormValidationInputDataByFieldName,\n    generatePackagingId : () => PackagingId,\n    autoMerge? : undefined | boolean,\n) : {\n    mergedProduct: Product,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n} => {\n    const oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId> = new StringValueMap();\n\n    const packaging1DataToSave : Array<{ deleted : boolean, isActive : boolean, packaging : Packaging}> = [];\n    const packaging2DataToSave : Array<{ deleted : boolean, isActive : boolean, packaging : Packaging}> = [];\n    let packagingDataToSave : Array<{ deleted : boolean, isActive : boolean, packaging : Packaging}> = [];\n\n    product1.getPackagingsAndMappings().getPackagingData().forEach((data) => {\n        if (!data.deleted) {\n            packaging1DataToSave.push(data);\n        }\n    });\n\n    /*\n        IMPORTANT NOTE ON CONSTRUCTING NEW PACKAGE IDS\n        we cannot construct oldPackagingIdToNewPackagingId in a loop if we find a duplicate package because this changes what\n        the underlying id mappings might be, and we need to ensure ALL packages use the same ID for a base EA/unit\n        so instead, let's find all the duplicate packages and handle them first, then we can loop through and add the new ones\n\n        To illustrate:\n        Item 1: Packagings: [3EA package]\n        Item 2: Packagings: [10EA package, 1EA package, 3EA package]\n        We start with item 1's EA id (call this idA). All of item 2 have the same EA id (call this idB).\n        For duplicates, we set up a map idB -> idA. This means all other packages from item2 that use idB must map back to idA.\n    */\n\n    const new2Packages : Array<{ deleted : boolean, isActive : boolean, packaging : Packaging}> = [];\n    product2.getPackagingsAndMappings().getPackagingData().forEach((data) => {\n        if (!data.deleted) {\n            const duplicatePackaging = getDuplicatePackaging(data.packaging, packaging1DataToSave);\n            if (duplicatePackaging !== null) {\n                let currentPackaging : Packaging | null = data.packaging;\n                let currentDuplicatePackaging : Packaging | null = duplicatePackaging;\n\n                while (currentPackaging !== null && currentDuplicatePackaging !== null) {\n                    const currentPackagingId = currentPackaging.getPackagingId();\n                    const duplicatePackagingId = currentDuplicatePackaging.getPackagingId();\n\n                    if (currentPackagingId !== null && duplicatePackagingId !== null) {\n                        oldPackagingIdToNewPackagingId.set(currentPackagingId, duplicatePackagingId);\n                    }\n\n                    currentPackaging = currentPackaging.getContent();\n                    currentDuplicatePackaging = currentDuplicatePackaging.getContent();\n                }\n            } else {\n                new2Packages.push(data);\n            }\n        }\n    });\n    // now that we've successfully constructed the oldPackagingIdToNewPackagingId for all duplicates, let's add the new packages to our list\n    new2Packages.forEach((data) => {\n        const newPackaging = PackagingUtils.getPackagingWithNewPackagingId(data.packaging, oldPackagingIdToNewPackagingId, generatePackagingId);\n        packaging2DataToSave.push({\n            ...data,\n            packaging: newPackaging,\n        });\n    });\n\n    if (validationInputDataByFieldName.price.value === '2') {\n        packagingDataToSave = packagingDataToSave.concat(packaging2DataToSave);\n        packagingDataToSave = packagingDataToSave.concat(packaging1DataToSave);\n    } else {\n        packagingDataToSave = packagingDataToSave.concat(packaging1DataToSave);\n        packagingDataToSave = packagingDataToSave.concat(packaging2DataToSave);\n    }\n\n    carryOverDeletedPackagings(product1, product2, packagingDataToSave, oldPackagingIdToNewPackagingId);\n\n    const packagingsAndMappings = getMergedPackagings(product1, product2, validationInputDataByFieldName, oldPackagingIdToNewPackagingId, packagingDataToSave);\n\n    const newReportingUnit = getMergedReportingUnit(product1, product2, validationInputDataByFieldName, oldPackagingIdToNewPackagingId);\n\n    const weightsByPackagingId = new StringValueMap<PackagingId, PackagingWeight>();\n    product1.getWeightsByPackagingId().forEach((packagingWeight, packagingId) => {\n        // TODO Think about not having to resolve these\n        const resolvedProductQuantityUnit = PackagingUtils.resolveProductQuantityUnit(new QuantityInUnit<ProductQuantityUnit>(1, packagingId), product2.getPackagingsAndMappings().getMappings());\n        const newPackagingUnit = resolvedProductQuantityUnit.getUnit();\n        if (!(newPackagingUnit instanceof PackagingId)) {\n            throw new RuntimeException(`unexpected newPackagingUnit is not a PackagingId ${newPackagingUnit}`);\n        }\n        weightsByPackagingId.set(newPackagingUnit, packagingWeight);\n    });\n    product2.getWeightsByPackagingId().forEach((packagingWeight, packagingId) => {\n        const resolvedProductQuantityUnit = PackagingUtils.resolveProductQuantityUnit(new QuantityInUnit<ProductQuantityUnit>(1, packagingId), product2.getPackagingsAndMappings().getMappings());\n        const newPackagingUnit = resolvedProductQuantityUnit.getUnit();\n        if (!(newPackagingUnit instanceof PackagingId)) {\n            throw new RuntimeException(`unexpected newPackagingUnit is not a PackagingId ${newPackagingUnit}`);\n        }\n        const newPackagingId = oldPackagingIdToNewPackagingId.getRequired(newPackagingUnit);\n        weightsByPackagingId.set(newPackagingId ? newPackagingId : packagingId, packagingWeight);\n    });\n    const multiVendorFeatureIsOn = window.GLOBAL_FEATURE_ACCESS.multi_vendor;\n    let unitPrice = validationInputDataByFieldName.price.value === '2' ? product2.getUnitPrice() : product1.getUnitPrice();\n    if (multiVendorFeatureIsOn) {\n        unitPrice = new Price(\n            unitPrice.getDollarValue(),\n            oldPackagingUtils.getOldPackagingFromPackaging(packagingsAndMappings.getPackaging()).getUnit(),\n        );\n    }\n\n    return {\n        mergedProduct: new Product(\n            validationInputDataByFieldName.brand.value === '2' ? product2.getBrand() : product1.getBrand(),\n            validationInputDataByFieldName.name.value === '2' ? product2.getName() : product1.getName(),\n            packagingsAndMappings,\n            newReportingUnit,\n            weightsByPackagingId,\n            validationInputDataByFieldName.categoryId.value === '2' ? product2.getProductCategoryId() : product1.getProductCategoryId(),\n            validationInputDataByFieldName.categoryId.value === '2' ? product2.getNewProductCategoryId() : product1.getNewProductCategoryId(),\n            validationInputDataByFieldName.type.value === '2' ? product2.getProductType() : product1.getProductType(),\n            unitPrice,\n            validationInputDataByFieldName.unitDeposit.value === '2' ? product2.getDepositInDollars() : product1.getDepositInDollars(),\n            validationInputDataByFieldName.sku.value === '2' ? product2.getSku() : product1.getSku(),\n            validationInputDataByFieldName.glCode.value === '2' ? product2.getGLCode() : product1.getGLCode(),\n            validationInputDataByFieldName.note.value === '2' ? product2.getNote() : product1.getNote(),\n            autoMerge ? product1.getCreationEvent() : new UserAccountIdAndTimestamp(new UserAccountId(window.GLOBAL_USER_ID), DateTime.now().toTimestampWithMillisecondPrecision()),\n            new UserAccountIdAndTimestamp(new UserAccountId(window.GLOBAL_USER_ID), DateTime.now().toTimestampWithMillisecondPrecision()),\n            undefined,\n        ),\n        oldPackagingIdToNewPackagingId\n    };\n};\n\nconst getMergedProductDistributorAssociations = (\n    productId1 : ProductId,\n    productId2 : ProductId,\n    mergedProductId : ProductId,\n    productsById : StringValueMap<ProductId, Product>,\n    productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n) : Array<ProductDistributorAssociation> => {\n    const mergedProductDistributorAssociations : Array<ProductDistributorAssociation> = [];\n\n    const product1 = productsById.getRequired(productId1);\n    const product2 = productsById.getRequired(productId2);\n\n    // TODO Cheezy what do we want to do with the quantities from resolving?\n    const product1DistributorAssociations = productDistributorAssociationsByProductId.get(productId1) || new StringValueMap();\n    product1DistributorAssociations.forEach((productDistributorAssociation) => {\n        const productDistributorAssociationPrice = productDistributorAssociation.getPrice();\n        const productDistributorAssociationDeposit = productDistributorAssociation.getDeposit();\n\n        let resolvedProductDistributorAssociationPrice : ProductCost | null = null;\n        if (productDistributorAssociationPrice) {\n            resolvedProductDistributorAssociationPrice = new ProductCost(\n                productDistributorAssociationPrice.getCost(),\n                PackagingUtils.resolveProductQuantityUnit(\n                    new QuantityInUnit(1, productDistributorAssociationPrice.getUnit()), product1.getPackagingsAndMappings().getMappings()\n                ).getUnit(),\n            );\n        }\n\n        let resolvedProductDistributorAssociationDeposit : ProductCost | null = null;\n        if (productDistributorAssociationDeposit) {\n            resolvedProductDistributorAssociationDeposit = new ProductCost(\n                productDistributorAssociationDeposit.getCost(),\n                PackagingUtils.resolveProductQuantityUnit(\n                    new QuantityInUnit(1, productDistributorAssociationDeposit.getUnit()), product1.getPackagingsAndMappings().getMappings()\n                ).getUnit(),\n            );\n        }\n\n        mergedProductDistributorAssociations.push(\n            new ProductDistributorAssociation(\n                mergedProductId,\n                PackagingUtils.resolveProductQuantityUnit(\n                    new QuantityInUnit(1, productDistributorAssociation.getProductQuantityUnit()), product1.getPackagingsAndMappings().getMappings()\n                ).getUnit(),\n                productDistributorAssociation.getDistributorId(),\n                productDistributorAssociation.getSku(),\n                resolvedProductDistributorAssociationPrice,\n                resolvedProductDistributorAssociationDeposit\n            )\n        );\n    });\n\n    const product2DistributorAssociations = productDistributorAssociationsByProductId.get(productId2) || new StringValueMap();\n    product2DistributorAssociations.forEach((productDistributorAssociation) => {\n        const productDistributorAssociationPrice = productDistributorAssociation.getPrice();\n        const productDistributorAssociationDeposit = productDistributorAssociation.getDeposit();\n\n        let resolvedProductDistributorAssociationPrice : ProductCost | null = null;\n        if (productDistributorAssociationPrice) {\n            const resolvedOldPriceUnit = PackagingUtils.resolveProductQuantityUnit(\n                new QuantityInUnit(1, productDistributorAssociationPrice.getUnit()), product2.getPackagingsAndMappings().getMappings()\n            ).getUnit();\n\n            resolvedProductDistributorAssociationPrice = new ProductCost(\n                productDistributorAssociationPrice.getCost(),\n                resolveOldUnitToMergedProductUnit(resolvedOldPriceUnit, { oldPackagingIdToNewPackagingId })\n            );\n        }\n\n        let resolvedProductDistributorAssociationDeposit : ProductCost | null = null;\n        if (productDistributorAssociationDeposit) {\n            const resolvedOldDepositUnit = PackagingUtils.resolveProductQuantityUnit(\n                new QuantityInUnit(1, productDistributorAssociationDeposit.getUnit()), product2.getPackagingsAndMappings().getMappings()\n            ).getUnit();\n\n            resolvedProductDistributorAssociationDeposit = new ProductCost(\n                productDistributorAssociationDeposit.getCost(),\n                resolveOldUnitToMergedProductUnit(resolvedOldDepositUnit, { oldPackagingIdToNewPackagingId })\n            );\n        }\n\n        const resolvedOldUnit = PackagingUtils.resolveProductQuantityUnit(\n            new QuantityInUnit(1, productDistributorAssociation.getProductQuantityUnit()), product2.getPackagingsAndMappings().getMappings()\n        ).getUnit();\n\n        mergedProductDistributorAssociations.push(\n            new ProductDistributorAssociation(\n                mergedProductId,\n                resolveOldUnitToMergedProductUnit(resolvedOldUnit, { oldPackagingIdToNewPackagingId }),\n                productDistributorAssociation.getDistributorId(),\n                productDistributorAssociation.getSku(),\n                resolvedProductDistributorAssociationPrice,\n                resolvedProductDistributorAssociationDeposit\n            )\n        );\n    });\n\n    return mergedProductDistributorAssociations;\n};\n\nconst getSalesItemWithConflictsResolved = (\n    productId1 : ProductId,\n    productId2 : ProductId,\n    mergedProductId : ProductId,\n    oldPackagingIdToNewPackagingId : StringValueMap<PackagingId, PackagingId>,\n    oldSalesItem: SalesItem,\n    salesItemConflictResolution : QuantityInUnit<ProductQuantityUnit> | undefined | null,\n    productsById : StringValueMap<ProductId, Product>,\n) : SalesItem => {\n    const componentQuantityByProductId = oldSalesItem.getComponentQuantityOfProductByProductId();\n    const newComponentQuantityByProductId = new StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>();\n    if (salesItemConflictResolution) {\n        componentQuantityByProductId.forEach((quantityInUnit, productId) => {\n            if (!productId.equals(productId1) && !productId.equals(productId2)) {\n                newComponentQuantityByProductId.set(productId, quantityInUnit);\n            }\n        });\n        newComponentQuantityByProductId.set(mergedProductId, salesItemConflictResolution);\n    } else {\n        componentQuantityByProductId.forEach((quantityInUnit, productId) => {\n            if (productId.equals(productId1)) {\n                const product = productsById.getRequired(productId1);\n                newComponentQuantityByProductId.set(mergedProductId, PackagingUtils.resolveProductQuantityUnit(quantityInUnit, product.getPackagingsAndMappings().getMappings()));\n            } else if (productId.equals(productId2)) {\n                const product = productsById.getRequired(productId2);\n                const resolvedQuantityInUnit = PackagingUtils.resolveProductQuantityUnit(quantityInUnit, product.getPackagingsAndMappings().getMappings());\n                const oldProductQuantityUnit = resolvedQuantityInUnit.getUnit();\n                const newProductQuantityUnit = resolveOldUnitToMergedProductUnit(oldProductQuantityUnit, { oldPackagingIdToNewPackagingId });\n                newComponentQuantityByProductId.set(\n                    mergedProductId,\n                    new QuantityInUnit<ProductQuantityUnit>(\n                        resolvedQuantityInUnit.getQuantity(),\n                        newProductQuantityUnit,\n                    )\n                );\n            } else {\n                newComponentQuantityByProductId.set(productId, quantityInUnit);\n            }\n        });\n    }\n    return new SalesItem(\n        oldSalesItem.getName(),\n        oldSalesItem.getLocationId(),\n        oldSalesItem.getMenuGroup(),\n        oldSalesItem.getPOSId(),\n        oldSalesItem.getNote(),\n        oldSalesItem.getNeedsAttentionCategory(),\n        oldSalesItem.getSalesPrice(),\n        oldSalesItem.getMiscellaneousCost(),\n        newComponentQuantityByProductId,\n        oldSalesItem.getComponentServingsBySalesItemId(),\n        oldSalesItem.getItemYield(),\n        oldSalesItem.getServingSize(),\n        oldSalesItem.getSalesItemCustomUnitName(),\n    );\n};\n\nconst getProductMergeEventsByProductId = (\n    productMergeEvents : Array<IMergeEventJsonObject>,\n    productJSONToObjectSerializer : ProductJSONToObjectSerializer\n) : StringValueMap<ProductId, Array<ProductMergeEvent>> => {\n    const mergeEventsByProductId : StringValueMap<ProductId, Array<ProductMergeEvent>> = new StringValueMap();\n    productMergeEvents.forEach((eventJson: IMergeEventJsonObject) => {\n        const mergeEvent = productJSONToObjectSerializer.getMergeEvent(eventJson);\n        if (!mergeEvent) {\n            throw new RuntimeException('unexpected mergeEvent is null');\n        }\n        const mergedProducts : StringValueSet<ProductId> = new StringValueSet();\n        mergedProducts.add(mergeEvent.getMergedToProductId());\n        mergeEvent.getMergedFromProductIds().forEach((productId) => mergedProducts.add(productId));\n\n        mergedProducts.forEach((productId) => {\n            const mergeEventsForProductId = mergeEventsByProductId.get(productId) || [];\n            mergeEventsForProductId.push(mergeEvent);\n            mergeEventsByProductId.set(productId, mergeEventsForProductId);\n        });\n    });\n    return mergeEventsByProductId;\n};\n\nconst getAffectedSalesItemsById = (\n    product1Id : ProductId,\n    product2Id : ProductId,\n    mergedProductId : ProductId,\n    oldPackagingIdToNewPackagingIds : StringValueMap<PackagingId, PackagingId>,\n    salesItemsWithMetadataById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    salesItemResolutionById : StringValueMap<SalesItemId, QuantityInUnit<ProductQuantityUnit> | null>,\n    productsById : StringValueMap<ProductId, Product>,\n) : StringValueMap<SalesItemId, SalesItem> => {\n    const newSalesItemsById = new StringValueMap<SalesItemId, SalesItem>();\n    salesItemsWithMetadataById.forEach((salesItemWithMetadata, salesItemId) => {\n        const components = salesItemWithMetadata.getSalesItem().getComponentQuantityOfProductByProductId();\n        if (components.has(product1Id) || components.has(product2Id)) {\n            newSalesItemsById.set(\n                salesItemId,\n                getSalesItemWithConflictsResolved(\n                    product1Id,\n                    product2Id,\n                    mergedProductId,\n                    oldPackagingIdToNewPackagingIds,\n                    salesItemWithMetadata.getSalesItem(),\n                    salesItemResolutionById.get(salesItemId),\n                    productsById\n                )\n            );\n        }\n    });\n    return newSalesItemsById;\n};\n\nconst getAffectedStorageAreaProductsById = (\n    product1Id : ProductId,\n    product2Id : ProductId,\n    sortedProductIdListsByStorageAreaId : StringValueMap<StorageAreaId, Array<ProductId>>\n) : StringValueMap<StorageAreaId, Array<ProductId>> => {\n    const affectedStorageAreaProductsById = new StringValueMap<StorageAreaId, Array<ProductId>>();\n    sortedProductIdListsByStorageAreaId.forEach((productIdList, storageAreaId) => {\n        const affectedProducts : Array<ProductId> = [];\n        if (productIdList.some((productIdInList) => product1Id.equals(productIdInList))) {\n            affectedProducts.push(product1Id);\n        }\n        if (productIdList.some((productIdInList) => product2Id.equals(productIdInList))) {\n            affectedProducts.push(product2Id);\n        }\n        if (affectedProducts.length > 0) {\n            affectedStorageAreaProductsById.set(storageAreaId, affectedProducts);\n        }\n    });\n    return affectedStorageAreaProductsById;\n};\n\nconst getCartConflicts = (\n    cart : Cart,\n    productId1 : ProductId,\n    productId2 : ProductId\n) : Map<CartItem, CartItem> => {\n    const product1CartItems = CartUtils.getCartItemsForProductId(cart, productId1);\n    const product2CartItems = CartUtils.getCartItemsForProductId(cart, productId2);\n    const conflictingCartItems : Map<CartItem, CartItem> = new Map();\n    if (product1CartItems.length === 0 || product2CartItems.length === 0) {\n        return conflictingCartItems;\n    }\n\n    if (window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n        const conflictingProduct2CartItems : Array<CartItem> = [];\n        product1CartItems.forEach((cartItem1) => {\n            const cartItem1Distributor = cartItem1.getDistributorId();\n            product2CartItems.forEach((cartItem2) => {\n                const cartItem2Distributor = cartItem2.getDistributorId();\n                if (\n                    !conflictingProduct2CartItems.includes(cartItem2) &&\n                    (cartItem1Distributor && cartItem2Distributor && cartItem1Distributor.equals(cartItem2Distributor)) ||\n                    (cartItem1Distributor == null && cartItem2Distributor == null)\n                ) {\n                    conflictingCartItems.set(cartItem1, cartItem2);\n                    conflictingProduct2CartItems.push(cartItem2);\n                }\n            });\n        });\n    } else {\n        // multi-vendor is off, only one of each product can be in the cart\n        conflictingCartItems.set(product1CartItems[0], product2CartItems[0]);\n    }\n    return conflictingCartItems;\n};\n\nconst getDuplicatePackaging = (\n    packaging : Packaging,\n    packagingDataArray : Array<{ deleted : boolean, isActive : boolean, packaging : Packaging}>\n) : Packaging | null => {\n    for (const packagingData of packagingDataArray) {\n        if (!packagingData.deleted && packagingData.isActive && PackagingUtils.arePackagingsEqualWithName(packagingData.packaging, packaging)) {\n            return packagingData.packaging;\n        }\n    }\n    return null;\n};\n\nconst needsNewConversion = (product1Conversions: Conversions, product2Conversions: Conversions) => {\n    const baseUnit1 = product1Conversions.getBaseUnit();\n    const baseUnit2 = product2Conversions.getBaseUnit();\n\n    // if we have packaging ids anywhere, ask for a specific conversion\n    // TODO: should we check to see if there's an existing conversion that might apply instead\n    if (baseUnit1 instanceof PackagingId || baseUnit2 instanceof PackagingId ) {\n        return true;\n    }\n\n    // if we have a mass and a volume, need a conversion\n    // TODO: unless there already is one! then we could use that\n    const baseUnitsDoNotMatch = needsUnitOfMeasureConversion(baseUnit1, baseUnit2);\n\n    return baseUnitsDoNotMatch;\n}\n\nconst buildMergeRequestData = (\n    productId: ProductId,\n    productId2: ProductId,\n    mergedProductInformation: IMergedProductInformation,\n    mergeItemCardData: IMergeItemCardData,\n    productObjectToJSONSerializer: ProductObjectToJSONSerializer,\n    locationId: LocationId,\n): IMergeRequestData => {\n    if (mergedProductInformation.mergedProduct === null) {\n        throw new Error('mergedProduct must be defined before building merge request data');\n    }\n\n    // Resolved product\n    const resolvedProductJSON = productObjectToJSONSerializer.getJSONProductFromProduct(\n        mergedProductInformation.mergedProduct, locationId);\n\n    // Packaging ID mapping\n    const oldPackagingIdToNewPackagingId: Record<string, string> = {};\n    mergedProductInformation.oldPackagingIdToNewPackagingId.forEach((newId, oldId) => {\n        oldPackagingIdToNewPackagingId[ oldId.getValue() ] = newId.getValue();\n    });\n\n    // Sales item conflict resolutions\n    const salesItemConflictResolutions: Record<string, IQuantityInUnitJSONObject> = {};\n    mergedProductInformation.salesItemResolutionBySalesItemId.forEach((resolution, salesItemId) => {\n        if (resolution) {\n            salesItemConflictResolutions[ salesItemId.getValue() ] = {\n                quantity: resolution.getQuantity(),\n                product_quantity_unit: PackagingUtils.getStringForProductQuantityUnit(resolution.getUnit()),\n            };\n        }\n    });\n\n    // Cart conflict resolutions: keyed by distributor_id, value is the resolved quantity + unit\n    const cartConflictResolutions: Record<string, { product_quantity_unit: string; quantity: number }> = {};\n    const cartConflicts = MergeItemUtils.getCartConflicts(mergeItemCardData.currentCart, productId, productId2);\n    mergedProductInformation.resolvedCartQuantityUnitByCartItem.forEach((cartResolution, cartItem) => {\n        const conflictingCartItem = cartConflicts.get(cartItem);\n        if (conflictingCartItem && cartResolution) {\n            const distributorId = conflictingCartItem.getDistributorId();\n            const distIdStr = distributorId ? distributorId.getValue() : '';\n            cartConflictResolutions[ distIdStr ] = {\n                product_quantity_unit: PackagingUtils.getStringForProductQuantityUnit(cartResolution.getUnit()),\n                quantity: cartResolution.getQuantity(),\n            };\n        }\n    });\n\n    // Inventory count user resolutions (only conflicts resolved by the user; BE fetches actual counts)\n    const inventoryCountUserResolutions: Record<string, Array<{\n        count: number | null;\n        product_quantity_unit: string\n    }>> = {};\n    mergedProductInformation.currentInventoryProductCountResolutionsByStorageAreaId.forEach((pc, saId) => {\n        if (pc !== null) {\n            inventoryCountUserResolutions[ saId.getValue() ] = [{\n                count: pc.getCount() !== null ? decimalToNumber(pc.getCount()!) : null,\n                product_quantity_unit: PackagingUtils.getStringForProductQuantityUnit(pc.getProductQuantityUnit()),\n            }];\n        }\n    });\n\n    return {\n        retailer_id: locationId.getValue(),\n        // We take the first product id as the one to keep and be merged into by default\n        product_id_to_keep: productId.getValue(),\n        // Righ now we only support merging two products at a time,\n        // but this is an array in case we want to support merging more than two in the future\n        product_ids_to_remove: [productId2.getValue()],\n        resolved_product: resolvedProductJSON,\n        old_packaging_id_to_new_packaging_id: oldPackagingIdToNewPackagingId,\n        sales_item_conflict_resolutions: salesItemConflictResolutions,\n        cart_conflict_resolutions: cartConflictResolutions,\n        inventory_count_user_resolutions: inventoryCountUserResolutions,\n        par_resolution: productObjectToJSONSerializer.getQuantityInUnitJSON(mergedProductInformation.parResolution),\n        cost_resolution: productObjectToJSONSerializer.getProductCostJSON(mergedProductInformation.costResolution),\n        distributor_resolution: mergedProductInformation.distributorResolution ? mergedProductInformation.distributorResolution.getValue() : null,\n    };\n};\n\nexport const MergeItemUtils = {\n    getMergedProductAndPackageMappings,\n    getMergedProductDistributorAssociations,\n    getSalesItemWithConflictsResolved,\n    getQuantityInUnitResolutionOptionsOnMergedProduct,\n    getProductMergeEventsByProductId,\n    getAffectedSalesItemsById,\n    getAffectedStorageAreaProductsById,\n    getCartConflicts,\n    getMergedPackagingConversions, // for tests\n    needsNewConversion,\n    resolveOldUnitToMergedProductUnit,\n    buildMergeRequestData,\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\n// This felt weird to put in the API Utils, so it's living here for now -- this is just an optimization since\n// calculating cost for sales items can be complex and we don't want to have to do it more times than necessary\n// in the future we'd ideally have a more robust caching strategy for things like this\n// (particularly because we might want something like this for sales items on many different pages)\nlet lastSalesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata> | undefined;\nlet lastProductsById : StringValueMap<ProductId, Product> | undefined;\nlet lastProductCostsById : StringValueMap<ProductId, ProductCost> | undefined;\nconst costBySalesItemId = new StringValueMap<SalesItemId, number | null>();\nexport const getCachedSalesItemCostsForIds = (\n    salesItemIds : StringValueSet<SalesItemId>,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsById : StringValueMap<ProductId, ProductCost>\n) : StringValueMap<SalesItemId, number | null> => {\n\n    // future optimization: can just compare relevant sales item info in sales items by id to see if we need to recalculate (ingredients, yield, serving size)\n    if (productCostsById !== lastProductCostsById || productsById !== lastProductsById || salesItemsById !== lastSalesItemsById) {\n        costBySalesItemId.clear();\n        lastProductCostsById = productCostsById;\n        lastProductsById = productsById;\n        lastSalesItemsById = salesItemsById;\n    }\n\n    const costsBySalesItemIdForIds = new StringValueMap<SalesItemId, number | null>();\n    salesItemIds.forEach((salesItemId) => {\n        const cachedValue = costBySalesItemId.get(salesItemId);\n        if (cachedValue) {\n            costsBySalesItemIdForIds.set(salesItemId, cachedValue);\n        } else {\n            const salesItemWithMetadata = salesItemsById.get(salesItemId);\n            if (typeof salesItemWithMetadata === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const salesItemCost = SalesItemUtils.calculateCostOfSalesItem(\n                salesItemId, salesItemWithMetadata.getSalesItem(),\n                salesItemsById, productsById, productCostsById,\n                costBySalesItemId, new StringValueSet());\n\n            costsBySalesItemIdForIds.set(salesItemId, salesItemCost);\n        }\n    });\n\n    return costsBySalesItemIdForIds;\n};\n","import moment from 'moment-timezone';\nimport type * as XLSX from 'xlsx';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesItemDisplayUtils } from 'api/SalesItem/utils/SalesItemDisplayUtils';\nimport { SalesItemUtils } from 'api/SalesItem/utils/SalesItemUtils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { CellFormat, exportUtils, loadXlsx } from 'shared/utils/exportUtils';\nimport { ISortedFilteredAndGroupedResult } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { IValidationResult, Validation } from 'shared/validators/validators';\nimport { getCachedSalesItemCostsForIds } from './CachedSalesItemCostUtils';\n\nimport {\n    DEFAULT_SERVING_AND_YIELD_UNIT,\n} from 'apps/CreateOrEditSalesItem/reducers/reducers';\n\n// for now just matches old export\nconst exportSalesItemsListToExcel = async (\n    retailerName : string,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsById : StringValueMap<ProductId, ProductCost>,\n    sortedFilteredGroupedRowData : ISortedFilteredAndGroupedResult<SalesItemId>,\n) => {\n    const xlsx = await loadXlsx();\n    const currentDateInRetailerTimeZone = moment.utc().tz(window.GLOBAL_RETAILER_TIME_ZONE);\n    const fileName = exportUtils.getStandardReportFileName(retailerName, 'sales_items', currentDateInRetailerTimeZone, null);\n\n    const headersRow = ['Name', 'POS ID', 'Recipe', 'Sales Price', 'Cost', 'Cost %', 'Category', 'Subcategory', 'Menu Group', 'Note'];\n    const itemsNeedingAttentionHeaderRow = ['Name', 'POS ID', 'Recipe', 'Sales Price', 'Cost', 'Cost %', 'Category', 'Subcategory', 'Menu Group', 'Note', 'Needs Attention Category'];\n\n    const arrayOfArraysForSalesItemsSheet : Array<Array<string | number>> = [];\n    const arrayOfArraysForItemsNeedingAttentionSheet : Array<Array<string | number>> = [ // this sheet does not have groupings, just list of items needing attention\n        itemsNeedingAttentionHeaderRow\n    ]; // TODO do we still want this as an export? feels like no...\n\n    const costOfSalesItemsById = getCachedSalesItemCostsForIds(\n        new StringValueSet(Array.from(salesItemsById.keys())),\n        salesItemsById,\n        productsById,\n        productCostsById\n    );\n\n    const flattenedMapOfProductsInSalesItems = SalesItemUtils.flattenSalesItemsIntoProductPerServingComponents(salesItemsById, productsById);\n\n    sortedFilteredGroupedRowData.sortedGroupNamesToDisplay.forEach((groupName : string) => {\n        const groupNameRow = [groupName];\n\n        arrayOfArraysForSalesItemsSheet.push(groupNameRow);\n        arrayOfArraysForSalesItemsSheet.push(headersRow);\n\n        const sortedRowIds = sortedFilteredGroupedRowData.sortedRowIdsToDisplayByGroupName[groupName];\n        sortedRowIds.forEach((salesItemId) => {\n            const salesItemWithMetdata = salesItemsById.get(salesItemId);\n            const salesItemCost = costOfSalesItemsById.get(salesItemId);\n\n            if (typeof salesItemWithMetdata === 'undefined' || typeof salesItemCost === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const salesItem = salesItemWithMetdata.getSalesItem();\n            const ingredientsInformation = SalesItemDisplayUtils.getIngredientsDisplayInformationForSalesItem(salesItem, salesItemsById, productsById, productCostsById, costOfSalesItemsById);\n            const ingredientsString = SalesItemDisplayUtils.getIngredientsDisplayStringForSalesItem(ingredientsInformation);\n\n            const costPercent = SalesItemUtils.getCostPercentageOfSalesItem(salesItem.getSalesPrice(), salesItemCost);\n\n            const flattenedMapOfProductIngredients = flattenedMapOfProductsInSalesItems.getRequired(salesItemId);\n            const categoryAndSubcategory = SalesItemUtils.getCategoryAndSubCategoryForSalesItem(flattenedMapOfProductIngredients, productsById);\n\n            const row = [\n                salesItem.getName(),\n                salesItem.getPOSId(),\n                ingredientsString,\n                salesItem.getSalesPrice(),\n                salesItemCost !== null ? salesItemCost : 'N/A',\n                costPercent !== null ? (costPercent / 100) : 'N/A', // excel percent formatting expects percent as fraction of 100\n                categoryAndSubcategory.category,\n                categoryAndSubcategory.subcategory,\n                salesItem.getMenuGroup(),\n                salesItem.getNote()\n            ];\n\n            arrayOfArraysForSalesItemsSheet.push(row);\n\n            const needsAttentionCategory = salesItem.getNeedsAttentionCategory();\n            if (needsAttentionCategory && needsAttentionCategory.length > 0) {\n                const needsAttentionRow = [...row];\n                needsAttentionRow.push(needsAttentionCategory);\n                arrayOfArraysForItemsNeedingAttentionSheet.push(needsAttentionRow);\n            }\n        });\n        arrayOfArraysForSalesItemsSheet.push([]); // empty row between groups\n    });\n\n    const workSheetSalesItems = xlsx.utils.aoa_to_sheet(arrayOfArraysForSalesItemsSheet);\n    await exportUtils.formatNumberCellsInColumn(workSheetSalesItems, 3, CellFormat.MONETARY_VALUE);\n    await exportUtils.formatNumberCellsInColumn(workSheetSalesItems, 4, CellFormat.MONETARY_VALUE);\n    await exportUtils.formatNumberCellsInColumn(workSheetSalesItems, 5, CellFormat.PERCENT);\n\n    const worksheetItemsNeedingAttention = xlsx.utils.aoa_to_sheet(arrayOfArraysForItemsNeedingAttentionSheet);\n    await exportUtils.formatNumberCellsInColumn(worksheetItemsNeedingAttention, 3, CellFormat.MONETARY_VALUE);\n    await exportUtils.formatNumberCellsInColumn(worksheetItemsNeedingAttention, 4, CellFormat.MONETARY_VALUE);\n    await exportUtils.formatNumberCellsInColumn(worksheetItemsNeedingAttention, 5, CellFormat.PERCENT);\n\n    const workBook = xlsx.utils.book_new();\n    xlsx.utils.book_append_sheet(workBook, workSheetSalesItems, 'Sales Items');\n    xlsx.utils.book_append_sheet(workBook, worksheetItemsNeedingAttention, 'Items Needing Attention');\n\n    await exportUtils.writeWorkBookToFile(workBook, fileName, 'xlsx');\n};\n\nconst getSalesItemWorkSheet = async (\n    salesItemId : SalesItemId,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsById : StringValueMap<ProductId, ProductCost>,\n    costOfSalesItemsById : StringValueMap<SalesItemId, number | null>\n) : Promise<XLSX.WorkSheet> => {\n    const xlsx = await loadXlsx();\n    const salesItemWithMetdata = salesItemsById.get(salesItemId);\n    const salesItemCost = costOfSalesItemsById.get(salesItemId);\n\n    if (typeof salesItemWithMetdata === 'undefined' || typeof salesItemCost === 'undefined') {\n        throw new RuntimeException('unexpected');\n    }\n\n    const salesItem = salesItemWithMetdata.getSalesItem();\n    const ingredientsInformation = SalesItemDisplayUtils.getIngredientsDisplayInformationForSalesItem(salesItem, salesItemsById, productsById, productCostsById, costOfSalesItemsById);\n    const costPercent = SalesItemUtils.getCostPercentageOfSalesItem(salesItem.getSalesPrice(), salesItemCost);\n\n    const itemYieldUnit = salesItem.getItemYield().getUnit();\n    const servingSizeUnit = salesItem.getServingSize().getUnit();\n\n    const salesItemSheet : Array<Array<string | number>> = [\n        ['Name', salesItem.getName()],\n        [],\n        ['POS ID', salesItem.getPOSId()],\n        ['Menu Group', salesItem.getMenuGroup()],\n        ['Sales Price', salesItem.getSalesPrice()],\n        ['Yield', salesItem.getItemYield().getQuantity(), (itemYieldUnit === null) ? DEFAULT_SERVING_AND_YIELD_UNIT : itemYieldUnit],\n        ['Serving Size', salesItem.getServingSize().getQuantity(), (servingSizeUnit === null) ? DEFAULT_SERVING_AND_YIELD_UNIT : servingSizeUnit],\n        ['Cost %', (costPercent !== null) ? (costPercent / 100) : 'N/A'],\n        [],\n        ['Ingredient Category', 'Ingredients', 'Amount', 'Unit', 'Cost'],\n    ];\n\n    ingredientsInformation.forEach((ingredientInformation) => {\n        salesItemSheet.push([\n            ingredientInformation.category,\n            ingredientInformation.ingredientLabel,\n            ingredientInformation.quantityAmount,\n            ingredientInformation.quantityUnitLabel,\n            ingredientInformation.costOfIngredient ? ingredientInformation.costOfIngredient : '',\n        ]);\n    });\n\n    salesItemSheet.push([]);\n\n    salesItemSheet.push(['Notes']);\n    salesItem.getNote().split(/\\r?\\n/).forEach((line) => {\n        salesItemSheet.push(['', line]);\n    });\n\n    const salesItemWorkSheet = xlsx.utils.aoa_to_sheet(salesItemSheet);\n    await exportUtils.formatNumberCellsInColumn(salesItemWorkSheet, 4, CellFormat.MONETARY_VALUE);\n    await exportUtils.formatNumberCell(salesItemWorkSheet, 1, 7, CellFormat.PERCENT);\n\n    return salesItemWorkSheet;\n};\n\nconst exportSalesItemToExcel = async (\n    retailerName : string,\n    salesItemId : SalesItemId,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsById : StringValueMap<ProductId, ProductCost>\n) => {\n    const xlsx = await loadXlsx();\n    const costOfSalesItemsById = getCachedSalesItemCostsForIds(\n        new StringValueSet(Array.from(salesItemsById.keys())),\n        salesItemsById,\n        productsById,\n        productCostsById\n    );\n\n    const salesItemWorkSheet = await getSalesItemWorkSheet(\n        salesItemId,\n        salesItemsById,\n        productsById,\n        productCostsById,\n        costOfSalesItemsById,\n    );\n\n    const salesItemWithMetadata = salesItemsById.get(salesItemId);\n    if (typeof salesItemWithMetadata === 'undefined') {\n        throw new RuntimeException('unexpected');\n    }\n    const salesItem = salesItemWithMetadata.getSalesItem();\n\n    const workBook = xlsx.utils.book_new();\n\n    const salesItemWorkSheetName = exportUtils.cleanWorksheetName(\n        salesItem.getName().substring(0, exportUtils.MAX_SHEET_NAME_LENGTH)\n    );\n\n    xlsx.utils.book_append_sheet(workBook, salesItemWorkSheet, salesItemWorkSheetName);\n\n    const currentDateInRetailerTimeZone = moment.utc().tz(window.GLOBAL_RETAILER_TIME_ZONE);\n    const fileName = exportUtils.getStandardReportFileName(retailerName, salesItem.getName(), currentDateInRetailerTimeZone, null);\n\n    await exportUtils.writeWorkBookToFile(workBook, fileName, 'xlsx');\n};\n\nconst exportRecipeBookToExcel = async (\n    retailerName : string,\n    salesItemIds : StringValueSet<SalesItemId>,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsById : StringValueMap<ProductId, ProductCost>\n) => {\n    const xlsx = await loadXlsx();\n    const costOfSalesItemsById = getCachedSalesItemCostsForIds(\n        new StringValueSet(Array.from(salesItemsById.keys())),\n        salesItemsById,\n        productsById,\n        productCostsById\n    );\n\n    const currentDateInRetailerTimeZone = moment.utc().tz(window.GLOBAL_RETAILER_TIME_ZONE);\n    const fileName = exportUtils.getStandardReportFileName(retailerName, 'recipe_book', currentDateInRetailerTimeZone, null);\n\n    const workBook = xlsx.utils.book_new();\n\n    (await generateWorkSheetsWithUniqueNames(\n        retailerName,\n        salesItemIds,\n        salesItemsById,\n        productsById,\n        productCostsById,\n        costOfSalesItemsById\n    )).forEach((value : XLSX.WorkSheet, key : string) => {\n        xlsx.utils.book_append_sheet(workBook, value, key);\n    });\n\n    await exportUtils.writeWorkBookToFile(workBook, fileName, 'xlsx');\n};\n\nconst generateWorkSheetsWithUniqueNames = async (\n    retailerName : string,\n    salesItemIds : StringValueSet<SalesItemId>,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    productCostsById : StringValueMap<ProductId, ProductCost>,\n    costOfSalesItemsById : StringValueMap<SalesItemId, number | null>\n) : Promise<Map<string, XLSX.WorkSheet>> => {\n    const worksheets = new Map<string, XLSX.WorkSheet>();\n    const seenCleanedUpSalesItemNames = new Map<string, number>();\n\n    for (const salesItemId of salesItemIds.values()) {\n        const salesItemWithMetadata = salesItemsById.get(salesItemId);\n        if (typeof salesItemWithMetadata === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        const salesItem = salesItemWithMetadata.getSalesItem();\n\n        const salesItemWorkSheet = await getSalesItemWorkSheet(\n            salesItemId,\n            salesItemsById,\n            productsById,\n            productCostsById,\n            costOfSalesItemsById,\n        );\n\n        // Truncate the sales item name to use as the sheet name\n        const truncatedSalesItemName = salesItem.getName().substring(0, exportUtils.MAX_SHEET_NAME_LENGTH);\n\n        // Clean up the sales item name to not break any of Excel's rules around them.\n        const cleanedSalesItemWorkSheetName = exportUtils.cleanWorksheetName(truncatedSalesItemName);\n\n        const timesCleanedUpSalesItemNameHasBeenSeen = (seenCleanedUpSalesItemNames.get(cleanedSalesItemWorkSheetName) || 0) + 1;\n\n        // Establish this cleaned-up name as the baseline name we're going to use when creating the sheet. This could\n        // get modified as we make our way down the code path.\n        let actualSalesItemWorkSheetName = cleanedSalesItemWorkSheetName;\n\n        if (timesCleanedUpSalesItemNameHasBeenSeen > 1) {\n\n            // If our sales item name is close enough to exportUtils.MAX_SHEET_NAME_LENGTH, we may have to drop some\n            // characters from the end in order to fit the number we want to append and stay under that limit.\n\n            // First, let's find out how many characters we'd need to drop if we had to, based on the number we want to append.\n            const numberOfCharactersToTrimFromEndOfName = Math.trunc(timesCleanedUpSalesItemNameHasBeenSeen / 10) + 1;\n\n            // Then, do some math to see if we even need to worry about it.\n            if (numberOfCharactersToTrimFromEndOfName + cleanedSalesItemWorkSheetName.length > exportUtils.MAX_SHEET_NAME_LENGTH) {\n                // Turns out, we need to worry about it - so let's drop some characters from the end.\n                actualSalesItemWorkSheetName = cleanedSalesItemWorkSheetName.substring(0, exportUtils.MAX_SHEET_NAME_LENGTH - numberOfCharactersToTrimFromEndOfName);\n            }\n\n            // Regardless of whether we had to drop characters, now we compose our final worksheet name.\n            actualSalesItemWorkSheetName += timesCleanedUpSalesItemNameHasBeenSeen;\n        }\n\n        // Append the sheet to the workbook.\n        worksheets.set(actualSalesItemWorkSheetName, salesItemWorkSheet);\n        seenCleanedUpSalesItemNames.set(cleanedSalesItemWorkSheetName, timesCleanedUpSalesItemNameHasBeenSeen);\n    }\n\n    return worksheets;\n};\n\n// TODO this should be in some other util...\nconst formatPercent = (value : number | null | undefined) => {\n    if (value === null || value === undefined) {\n        return '-';\n    }\n\n    const numberString = Number.isInteger(value) ? value.toString() : value.toFixed(2);\n    return numberString + '%';\n};\n\nconst getNotificationMessageSalesItemIdentifier = (salesItemIds : StringValueSet<SalesItemId>, salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>) : string => {\n    let notificationMessageIdentifier : string;\n    if (salesItemIds.size === 1) {\n        const salesItemId = Array.from(salesItemIds.values())[0];\n        const salesItemWithMetdata = salesItemsById.get(salesItemId);\n        if (typeof salesItemWithMetdata === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        notificationMessageIdentifier = `${ salesItemWithMetdata.getSalesItem().getName() } has`.trim();\n    } else {\n        notificationMessageIdentifier = `${ salesItemIds.size } items have`;\n    }\n\n    return notificationMessageIdentifier;\n};\n\nconst validateValueByFieldName = (\n    fieldName : 'salesItemName' | 'posId' | 'taxPercentage', // two from resolve duplicates, one from tax percent modal\n    value : string,\n) : IValidationResult => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    // required\n    let fieldNameText = '';\n    switch (fieldName) {\n        case 'salesItemName':\n            fieldNameText = 'Item name';\n            break;\n        case 'posId':\n        case 'taxPercentage':\n            break;\n    }\n\n    if (fieldNameText) {\n        isValid = Validation.validateRequired(value);\n        if (!isValid) {\n            errorMessage = `${ fieldNameText } is required`;\n            return {\n                errorMessage,\n                isValid,\n            };\n        }\n    }\n\n    // input type specific\n    switch (fieldName) {\n        case 'salesItemName':\n            isValid = true; // if exists, is valid\n            break;\n        case 'posId':\n            isValid = true;\n            break;\n        case 'taxPercentage':\n            isValid = Validation.validateNonNegativeNumber(value);\n            if (!isValid) {\n                errorMessage = 'Must be a number greater than or equal to 0';\n            }\n            break;\n        default:\n            if (isValid === null) {\n                throw new Error('no validation implemented for fieldname ' + fieldName);\n            }\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n\nconst replaceNeedsAttentionCategoryInSalesItem = (salesItemWithMetadata : SalesItemWithMetadata, newNeedsAttentionCategory : string | null) => {\n    const oldSalesItem = salesItemWithMetadata.getSalesItem();\n    const newSalesItem = new SalesItem(\n        oldSalesItem.getName(),\n        oldSalesItem.getLocationId(),\n        oldSalesItem.getMenuGroup(),\n        oldSalesItem.getPOSId(),\n        oldSalesItem.getNote(),\n        newNeedsAttentionCategory,\n        oldSalesItem.getSalesPrice(),\n        oldSalesItem.getMiscellaneousCost(),\n        oldSalesItem.getComponentQuantityOfProductByProductId(),\n        oldSalesItem.getComponentServingsBySalesItemId(),\n        oldSalesItem.getItemYield(),\n        oldSalesItem.getServingSize(),\n        oldSalesItem.getSalesItemCustomUnitName()\n    );\n    return new SalesItemWithMetadata(\n        newSalesItem,\n        salesItemWithMetadata.getCreationMetadata(),\n        salesItemWithMetadata.getLastEditedMetadata(),\n        salesItemWithMetadata.getDeletionMetadata(),\n        salesItemWithMetadata.getIsArchived()\n    );\n};\n\nexport const SalesItemManagerUtils = {\n    exportSalesItemsListToExcel,\n    exportSalesItemToExcel,\n    exportRecipeBookToExcel,\n    formatPercent,\n    getNotificationMessageSalesItemIdentifier,\n    validateValueByFieldName,\n    replaceNeedsAttentionCategoryInSalesItem,\n    generateWorkSheetsWithUniqueNames\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { DefaultPour } from 'api/Location/interfaces/ILocationSettingsService';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\nimport { SortDirection } from 'shared/models/SortDirection';\nimport { ISortedFilteredAndGroupedResult } from 'shared/utils/sortingFilteringAndGroupingUtils';\n\nexport type ComponentName = 'defaultPourDialog' | 'contextMenu';\n\nexport enum MappedStatus {\n    UNMAPPED = 'UNMAPPED',\n    MAPPED = 'MAPPED',\n    DELETED = 'DELETED'\n}\nexport type SalesItemMapperGroupByOptionValue = 'Mapping Status' | 'All Items' | 'Menu Group';\nexport type SalesItemMapperColumnSortId = 'name' | 'sales_price';\n\nexport interface ISalesItemMapperData {\n    contextSalesItemIds : StringValueSet<SalesItemId>;\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    productsById : StringValueMap<ProductId, Product>;\n    retailerDefaultPour : DefaultPour | null;\n    // currentUserAccountId : UserAccountId;\n    // namesByUserAccountId : StringValueMap<UserAccountId, { firstName : string, lastName : string }>;\n}\nexport interface ISalesItemMapperState {\n    salesItemMapperData : ISalesItemMapperData | null;\n\n    activeSalesItemEditing : SalesItemId | null;\n\n    // UI\n    isShownByComponentName : { [componentName in ComponentName] : boolean };\n    selectedSalesItemIds : StringValueSet<SalesItemId>;\n\n    // table controls\n    sortDirection : SortDirection;\n    sortByColumnId : SalesItemMapperColumnSortId;\n    groupByOption : SalesItemMapperGroupByOptionValue;\n    searchBar : ISearchBarState;\n\n    // grouping/sorting/filter/collapse state\n    sortedFilteredGroupedResult : ISortedFilteredAndGroupedResult<SalesItemId>;\n    panelIsOpenByGroupNameFromUserInput : {[groupName : string] : boolean};\n    defaultPanelIsOpen : boolean;\n}\n\nexport const initialState : ISalesItemMapperState = {\n    salesItemMapperData: null,\n    activeSalesItemEditing: null,\n    selectedSalesItemIds: new StringValueSet(),\n\n    sortedFilteredGroupedResult: {\n        sortedRowIdsToDisplayByGroupName: {},\n        sortedGroupNamesToDisplay: [],\n        panelIsOpenByGroupNameFromFiltering : {},\n        unfilteredSortedRowIdsByGroupName : {},\n    },\n    panelIsOpenByGroupNameFromUserInput: {},\n    defaultPanelIsOpen: true,\n\n    sortDirection: SortDirection.ASCENDING,\n    sortByColumnId: 'name',\n    groupByOption: 'Mapping Status',\n    searchBar: {\n        searchTerm: null,\n        isDisabled: false,\n        isFocused: false,\n    },\n\n    isShownByComponentName: {\n        defaultPourDialog: false,\n        contextMenu: false,\n    }\n};\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { Button } from 'shared/components/Button';\n\nimport { MAX_TABLET_WIDTH, MIN_DESKTOP_WIDTH } from 'shared/constants';\n\nimport { IActionButton } from 'apps/ItemManager/components/BulkActionsPageHeader';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\n\n// Based on `BulkActionsToolbar` from MyItems\nexport interface IBulkActionsHeaderProps {\n    numberSelected : number;\n    bulkActionButtons : Array<IActionButton>;\n    onLeaveBulkActions : () => void;\n}\n\nexport class BulkActionsHeader extends React.Component<IBulkActionsHeaderProps, object> {\n    public render() {\n        const {\n            numberSelected,\n            onLeaveBulkActions,\n            bulkActionButtons\n        } = this.props;\n\n        const buttonElements = bulkActionButtons.map((button, index) => {\n            const buttonClass = `bulk-action-button medium ${button.buttonClass}${button.withIcon ? ' with-icon' : '' }`;\n            return (\n                <React.Fragment key={ index }>\n                    <MediaQuery minWidth={ MIN_DESKTOP_WIDTH }>\n                        <Button\n                            key={ index }\n                            buttonClassName={ buttonClass }\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ button.onClick }\n                        >\n                            { button.withIcon &&\n                                <span className={ `bevicon ${button.iconClass}` } />\n                            }\n                            <span>{ button.text }</span>\n                        </Button>\n                    </MediaQuery>\n                    <MediaQuery maxWidth={ MAX_TABLET_WIDTH }>\n                        <Button\n                            key={ index }\n                            buttonClassName=\"bulk-action-button flat with-icon\"\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ button.onClick }\n                        >\n                            <span className={ `bevicon ${button.iconClass}` } />\n                        </Button>\n                    </MediaQuery>\n                </React.Fragment>\n            );\n        });\n\n        const closeBulkActionsButton = (\n            <Button\n                buttonClassName=\"flat icon bevicon bevico-close bulk-exit\"\n                isDisabled={ false }\n                isLoading={ false }\n                onClick={ onLeaveBulkActions }\n            />\n        );\n\n        return (\n            <div className={ `page-header mapping-tool-header ${ numberSelected > 0 ? 'bulk-actions dark' : 'main-view'}` }>\n                <Flex direction=\"row\" inline={ true } className=\"flex-px-2 mobile-table-controls\" align=\"center\" grow={ 2 }>\n                    <div className=\"number-selected\">\n                        <span className=\"number\">{ numberSelected }</span>\n                        <span>&nbsp; items selected</span>\n                    </div>\n                    <div className=\"bulk-actions-buttons\">\n                        { buttonElements }\n                    </div>\n                </Flex>\n                { closeBulkActionsButton }\n            </div>\n        );\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\nimport { getSalesItemReportUnitPrice } from 'api/Reports/salesReportingUtils';\nimport { PosItem } from 'api/SalesData/model/PosItem';\nimport { PosItemId } from 'api/SalesData/model/PosItemId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { getNumberForUndefinedOrNullValue } from 'apps/ExpectedInventoryReport/utils/ExpectedInventoryReportUtils';\nimport { MappedStatus, SalesItemMapperGroupByOptionValue } from 'apps/SalesItemMapper/appTypes';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { SalesInputRowId } from 'shared/components/SalesInputTable/SalesInputRow';\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ALL_ITEMS_GROUP_NAME } from 'shared/models/GroupByOption';\nimport { SortDirection } from 'shared/models/SortDirection';\nimport { DEFAULT_UNASSIGNED_MENU_GROUP, defaultSalesItemRowFilter } from 'shared/utils/salesItemSortingFilteringAndGroupingUtils';\nimport { cleanPhrase, compareNumbers, SortingFilteringAndGroupingUtil } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { salesItemFlagUtils } from 'shared/utils/salesItemFlagUtils';\n\nconst UNMAPPED_STATUS_GROUP_NAME = 'Unmapped';\nconst MAPPED_STATUS_GROUP_NAME = 'Mapped';\nconst DELETED_STATUS_GROUP_NAME = 'Deleted (ignored in future uploads)';\nconst mappedStatusGroupSortOrder = [\n    UNMAPPED_STATUS_GROUP_NAME,\n    MAPPED_STATUS_GROUP_NAME,\n    DELETED_STATUS_GROUP_NAME\n];\n\ninterface ISalesItemMapperSortingUtilExtraArgs {\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    salesBySalesItemId : StringValueMap<SalesItemId, SalesEntry>;\n    unmappedSalesByPosItemId : StringValueMap<PosItemId, SalesEntry>;\n    posItemsByPosItemId : StringValueMap<PosItemId, PosItem>;\n    productsById : StringValueMap<ProductId, Product>;\n    isCustomerSuccessTool : boolean; // deleted items are separated out here\n}\n\n// these filter functions should ideally behave almost exactly like sales items\n// TODOfuture: can we enforce this with code?\nexport const createPosItemStringForFilter = (posItem : PosItem, posItemId : PosItemId) : string => {\n    const name = cleanPhrase(posItem.getName());\n    const posId = cleanPhrase(posItemId.getValue());\n\n    const filterStrings : Array<string> = [name, posId];\n    return filterStrings.join(' ');\n};\n\nconst posItemFilterStringCache = new StringValueMap<PosItemId, string>();\nlet lastPosItemsById = new StringValueMap<PosItemId, PosItem>();\n\nconst cachedCreatePosItemStringForFilter = (\n    posItemId : PosItemId,\n    posItemsById : StringValueMap<PosItemId, PosItem>,\n) : string => {\n\n    if (posItemsById !== lastPosItemsById) {\n        lastPosItemsById = posItemsById;\n        posItemFilterStringCache.clear();\n    }\n\n    if (posItemFilterStringCache.has(posItemId)) {\n        return posItemFilterStringCache.getRequired(posItemId);\n    }\n\n    const posItem = posItemsById.getRequired(posItemId);\n\n    const posItemStringForFilter =  createPosItemStringForFilter(posItem, posItemId);\n    posItemFilterStringCache.set(posItemId, posItemStringForFilter);\n\n    return posItemStringForFilter;\n};\n\nconst defaultPosItemRowFilter = (\n    posItemId : PosItemId,\n    cleanedFilterTerm : string | null,\n    posItemsById : StringValueMap<PosItemId, PosItem>,\n) : boolean => {\n    if (cleanedFilterTerm === null || cleanedFilterTerm === '') {\n        return true;\n    }\n\n    const salesItemStringForSearch = cachedCreatePosItemStringForFilter(posItemId, posItemsById);\n    const filterTokens = cleanedFilterTerm.split(' ');\n\n    for (let i = 0; i < filterTokens.length; i++) {\n        if (salesItemStringForSearch.indexOf(filterTokens[i]) < 0) {\n            return false;\n        }\n    }\n\n    return true;\n};\n\nexport const salesItemRowFilter = (rowId : SalesInputRowId, filterTerm : string | null, extraArgs : ISalesItemMapperSortingUtilExtraArgs) => {\n    if (rowId instanceof SalesItemId) {\n        return defaultSalesItemRowFilter(rowId, filterTerm, extraArgs.salesItemsById, extraArgs.productsById);\n    } else {\n        return defaultPosItemRowFilter(rowId, filterTerm, extraArgs.posItemsByPosItemId);\n    }\n};\n\nexport const salesItemGroupNameComparator = (groupName1 : string, groupName2 : string, groupByOption : SalesItemMapperGroupByOptionValue, extraArgs : ISalesItemMapperSortingUtilExtraArgs) => {\n    switch (groupByOption) {\n        case 'All Items':\n            // should not matter\n            return 0;\n        case 'Menu Group':\n            return cleanPhrase(groupName1).localeCompare(cleanPhrase(groupName2));\n        case 'Mapping Status':\n            const sortOrder1 = mappedStatusGroupSortOrder.indexOf(groupName1);\n            const sortOrder2 = mappedStatusGroupSortOrder.indexOf(groupName2);\n            return sortOrder1 - sortOrder2;\n        default:\n            throw new RuntimeException('unexpected groupByOption');\n    }\n};\n\nexport const salesItemGroupNameGetter = (rowId : SalesInputRowId, groupByOption : SalesItemMapperGroupByOptionValue, extraArgs : ISalesItemMapperSortingUtilExtraArgs) => {\n    switch (groupByOption) {\n        case 'All Items':\n            return ALL_ITEMS_GROUP_NAME;\n        case 'Menu Group':\n            const menuGroup = getInfoFromSalesInputRowId(\n                rowId,\n                extraArgs.salesItemsById,\n                extraArgs.salesBySalesItemId,\n                extraArgs.unmappedSalesByPosItemId,\n                extraArgs.posItemsByPosItemId).menuGroup;\n            return menuGroup === '' ? DEFAULT_UNASSIGNED_MENU_GROUP : menuGroup;\n        case 'Mapping Status':\n            const mappedStatus = getInfoFromSalesInputRowId(\n                rowId,\n                extraArgs.salesItemsById,\n                extraArgs.salesBySalesItemId,\n                extraArgs.unmappedSalesByPosItemId,\n                extraArgs.posItemsByPosItemId,\n                extraArgs.isCustomerSuccessTool).mappedStatus;\n            switch (mappedStatus) {\n                case MappedStatus.MAPPED:\n                    return MAPPED_STATUS_GROUP_NAME;\n                case MappedStatus.UNMAPPED:\n                    return UNMAPPED_STATUS_GROUP_NAME;\n                case MappedStatus.DELETED:\n                    return DELETED_STATUS_GROUP_NAME;\n            }\n        default:\n            throw new RuntimeException('unexpected groupByOption');\n    }\n};\n\nexport const salesItemRowIdComparator = (rowId1 : SalesInputRowId, rowId2 : SalesInputRowId, columnSort : IColumnSorting, extraArgs : ISalesItemMapperSortingUtilExtraArgs) : number => {\n    const item1 = getInfoFromSalesInputRowId(\n        rowId1,\n        extraArgs.salesItemsById,\n        extraArgs.salesBySalesItemId,\n        extraArgs.unmappedSalesByPosItemId,\n        extraArgs.posItemsByPosItemId);\n\n    const item2 = getInfoFromSalesInputRowId(\n        rowId2,\n        extraArgs.salesItemsById,\n        extraArgs.salesBySalesItemId,\n        extraArgs.unmappedSalesByPosItemId,\n        extraArgs.posItemsByPosItemId);\n\n    const direction = columnSort.direction;\n    const sortedBy = columnSort.sortedBy;\n\n    let comparisonResult : number;\n    switch (sortedBy) {\n        case 'name':\n            // use POS id if two of same name\n            const nameString1 = item1.name + ' ' + item1.posId;\n            const nameString2 = item2.name + ' ' + item2.posId;\n            // comparisonResult = cleanPhrase(nameString1).localeCompare(cleanPhrase(nameString2));\n            comparisonResult = nameString1.localeCompare(nameString2); // not using clean phrase speeds this up noticeably...\n            break;\n        case 'sales_price':\n            comparisonResult = compareNumbers(item1.salesPrice, item2.salesPrice);\n            break;\n        case 'quantity_sold':\n            comparisonResult = compareNumbers(\n                getNumberForUndefinedOrNullValue(item1.salesEntry ? item1.salesEntry.getQuantity() : null),\n                getNumberForUndefinedOrNullValue(item2.salesEntry ? item2.salesEntry.getQuantity() : null),\n            );\n            break;\n        case 'quantity_adjustment':\n            comparisonResult = compareNumbers(\n                getNumberForUndefinedOrNullValue(item1.salesEntry ? item1.salesEntry.getQuantityAdjustment() : null),\n                getNumberForUndefinedOrNullValue(item2.salesEntry ? item2.salesEntry.getQuantityAdjustment() : null),\n            );\n            break;\n        case 'total_sold':\n            const totalSold1 = item1.salesEntry ? (item1.salesEntry.getQuantity() || 0) + (item1.salesEntry.getQuantityAdjustment() || 0) : 0;\n            const totalSold2 = item2.salesEntry ? (item2.salesEntry.getQuantity() || 0) + (item2.salesEntry.getQuantityAdjustment() || 0) : 0;\n            comparisonResult = compareNumbers(totalSold1, totalSold2);\n            break;\n        case 'dollar_adjustment':\n            comparisonResult = compareNumbers(\n                getNumberForUndefinedOrNullValue(item1.salesEntry ? item1.salesEntry.getSalesAdjustment() : null),\n                getNumberForUndefinedOrNullValue(item2.salesEntry ? item2.salesEntry.getSalesAdjustment() : null),\n            );\n            break;\n        default:\n            throw new RuntimeException('unhandled sort field');\n    }\n\n    if (direction === SortDirection.DESCENDING) {\n        return comparisonResult * -1;\n    }\n\n    return comparisonResult;\n};\n\nconst intermediateResultCacheIsValid = (rowIds : Array<SalesInputRowId>, lastRowIds : Array<SalesInputRowId>, extraArgs : ISalesItemMapperSortingUtilExtraArgs, lastExtraArgs : ISalesItemMapperSortingUtilExtraArgs) : boolean => {\n    return (extraArgs.salesItemsById === lastExtraArgs.salesItemsById) &&\n            (extraArgs.productsById === lastExtraArgs.productsById) &&\n            (extraArgs.salesBySalesItemId === lastExtraArgs.salesBySalesItemId);\n};\nexport const salesItemMapperSortingUtil = new SortingFilteringAndGroupingUtil(\n    salesItemRowIdComparator,\n    salesItemRowFilter,\n    salesItemGroupNameGetter,\n    salesItemGroupNameComparator,\n    intermediateResultCacheIsValid\n);\n\nconst getSalesItemMapperGroupByOption = (\n    value : SalesItemMapperGroupByOptionValue\n) : IOption => ({ value, label: value, icon: null });\n\nconst getMappedStatusForSalesItem = (salesItemWithMetadata : SalesItemWithMetadata, separateDeletedItems? : boolean) => {\n    if (separateDeletedItems && salesItemWithMetadata.getDeletionMetadata() !== null) {\n       return MappedStatus.DELETED; // TODO when omit is implemented: get rid of this from enum\n    }\n\n    if (salesItemWithMetadata.getSalesItem().getComponentQuantityOfProductByProductId().size > 0 || salesItemWithMetadata.getSalesItem().getComponentServingsBySalesItemId().size > 0) {\n        // any recipe = \"mapped\"\n        return MappedStatus.MAPPED;\n    } else {\n        return MappedStatus.UNMAPPED;\n    }\n};\n\nconst getInfoFromSalesInputRowId = (\n    rowId : SalesInputRowId,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    salesBySalesItemId : StringValueMap<SalesItemId, SalesEntry>,\n    unmappedSalesByPosItemId : StringValueMap<PosItemId, SalesEntry>,\n    posItemsByPosItemId : StringValueMap<PosItemId, PosItem>,\n    separateDeletedItems? : boolean, // ONLY FOR CS TOOL - separate deleted from mapped/unmapped\n    activeProductIds? : StringValueSet<ProductId>,\n    deletedProductIds? : StringValueSet<ProductId>,\n) => {\n    let salesEntry : SalesEntry | undefined;\n    let name : string;\n    let posId : string;\n    let isFlagged : boolean;\n    let mappedStatus : MappedStatus;\n    let salesPrice : number;\n    let menuGroup : string;\n    if (rowId instanceof SalesItemId) {\n        const salesItemInfo = salesItemsById.getRequired(rowId);\n        const salesItem = salesItemInfo.getSalesItem();\n        name = salesItem.getName();\n        posId = salesItem.getPOSId();\n        menuGroup = salesItem.getMenuGroup();\n        const displayedFlag = activeProductIds && deletedProductIds\n            ? salesItemFlagUtils.getDisplayedFlag(salesItem, activeProductIds, deletedProductIds)\n            : salesItem.getNeedsAttentionCategory();\n        isFlagged = displayedFlag ? true : false;\n        mappedStatus = SalesItemMapperUtils.getMappedStatusForSalesItem(salesItemInfo, separateDeletedItems);\n\n        salesEntry = salesBySalesItemId.get(rowId);\n        salesPrice = getSalesItemReportUnitPrice(salesItem, salesEntry);\n    } else {\n        const posItem = posItemsByPosItemId.getRequired(rowId);\n        name = posItem.getName();\n        posId = rowId.getValue();\n        menuGroup = posItem.getMenuGroup();\n        isFlagged = false;\n        mappedStatus = MappedStatus.UNMAPPED;\n\n        salesEntry = unmappedSalesByPosItemId.get(rowId);\n        const salesEntryPrice = salesEntry ? salesEntry.getPrice() : null;\n        salesPrice = salesEntryPrice === null ? 0 : salesEntryPrice;\n    }\n\n    return {\n        salesEntry,\n        name,\n        posId,\n        isFlagged,\n        mappedStatus,\n        salesPrice,\n        menuGroup\n    };\n};\n\nexport type SalesRowInfo = ReturnType<typeof getInfoFromSalesInputRowId>;\n\nexport const SalesItemMapperUtils = {\n    getMappedStatusForSalesItem,\n    getSalesItemMapperGroupByOption,\n    getInfoFromSalesInputRowId,\n};\n","import { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { UsageData } from 'api/UsageData/model/UsageData';\nimport { UsageDataUtils } from 'api/UsageData/utils/usageDataUtils';\n\nimport { getCurrencySymbol } from 'shared/models/Currency';\nimport { CellFormat, exportUtils, loadXlsx } from 'shared/utils/exportUtils';\n\nexport const getInventoryUnitCount = (product : Product, unitCountByStorageAreaIdForInventory : StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>> | undefined) => {\n    const preferredReportingUnit = product.getPreferredReportingUnit();\n    if (unitCountByStorageAreaIdForInventory) {\n        let sum = 0;\n        unitCountByStorageAreaIdForInventory.forEach((quantityInUnit, storageAreaId) => {\n            if (!PackagingUtils.productQuantityUnitsAreEqual(preferredReportingUnit, quantityInUnit.getUnit())) {\n                quantityInUnit = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), quantityInUnit, preferredReportingUnit);\n            }\n            sum += quantityInUnit.getQuantity();\n        });\n        return new QuantityInUnit<ProductQuantityUnit>(sum, preferredReportingUnit);\n    }\n};\n\nexport const getBreakagesTotalUnitCount = (product : Product, unitCountByBreakageId : StringValueMap<BreakageId, QuantityInUnit<ProductQuantityUnit>> | undefined) => {\n    let breakageUnitCount = 0;\n    const preferredReportingUnit = product.getPreferredReportingUnit();\n\n    if (typeof unitCountByBreakageId !== 'undefined') {\n        unitCountByBreakageId.forEach((count : QuantityInUnit<ProductQuantityUnit>, breakageId : BreakageId) => {\n            if (!PackagingUtils.productQuantityUnitsAreEqual(preferredReportingUnit, count.getUnit())) {\n                count = PackagingUtils.convertProductQuantityToUnit(product.getPackagingsAndMappings(), count, preferredReportingUnit);\n            }\n            breakageUnitCount += count.getQuantity();\n        });\n        return new QuantityInUnit<ProductQuantityUnit>(breakageUnitCount, preferredReportingUnit);\n    }\n};\n\nexport const exportReportToExcel = async (\n    retailerName : string,\n    productsById : StringValueMap<ProductId, Product>,\n    sortedGroupNamesToDisplay : Array<string>,\n    unfilteredSortedProductIdsByGroupName : {[groupName : string] : Array<ProductId>},\n    usageData : UsageData,\n    unitCountsByProductIdByBreakageId : StringValueMap<ProductId, StringValueMap<BreakageId, QuantityInUnit<ProductQuantityUnit>>>,\n    unitCostsByProductId : StringValueMap<ProductId, ProductCost>,\n) => {\n    const xlsx = await loadXlsx();\n    const fileName = `${ retailerName.replace(/\\s/g, '_') }_cost_of_goods.xlsx`;\n\n    const currencySymbol = getCurrencySymbol();\n\n    const headers = [\n        { headerText: 'Brand' },\n        { headerText: 'Name' },\n        { headerText: 'Reporting Unit' },\n        { headerText: 'Starting Count' },\n        { headerText: 'Deliveries' },\n        { headerText: 'Transfers In' },\n        { headerText: 'Transfers Out' },\n        { headerText: 'Prep Events Input' },\n        { headerText: 'Prep Events Output' },\n        { headerText: 'Ending Count' },\n        { headerText: 'Unit Usage' },\n        { headerText: `Unit Cost (${ currencySymbol })`, formatting: CellFormat.MONETARY_VALUE },\n        { headerText: `COGS (${ currencySymbol })`, formatting: CellFormat.MONETARY_VALUE },\n        { headerText: 'Reported Losses' },\n        { headerText: `Reported Loss Cost (${ currencySymbol })`, formatting: CellFormat.MONETARY_VALUE },\n    ];\n\n    const usageCalculationParameters = usageData.getUsageCalculationParameters();\n\n    const createRow = (productId : ProductId) => {\n        const product = productsById.getRequired(productId);\n        const preferredReportingUnit = product.getPreferredReportingUnit();\n        const packagingsAndMappings = product.getPackagingsAndMappings();\n        const unitCountByStorageAreaIdForStartingInventory = usageCalculationParameters.getUnitCountsByProductIdByStorageAreaIdForStartingInventory().get(productId);\n        const unitCountByStorageAreaIdForEndingInventory = usageCalculationParameters.getUnitCountsByProductIdByStorageAreaIdForEndingInventory().get(productId);\n        const unitCountByDeliveryId = usageCalculationParameters.getUnitCountsByProductIdByDeliveryId().get(productId);\n        const unitCountByTransferId = usageCalculationParameters.getUnitCountsByProductIdByTransferId().get(productId);\n        const inputUnitCountByPrepEventId = usageCalculationParameters.getInputUnitCountsByProductIdByPrepEventId().get(productId);\n        const outputUnitCountByPrepEventId = usageCalculationParameters.getOutputUnitCountsByProductIdByPrepEventId().get(productId);\n        const unitCountByBreakageId = unitCountsByProductIdByBreakageId.get(productId);\n        const usage = usageData.getUsageByProductId().get(productId);\n\n        const startingInventoryUnitCount : QuantityInUnit<ProductQuantityUnit> | undefined = getInventoryUnitCount(product, unitCountByStorageAreaIdForStartingInventory);\n        const endingInventoryUnitCount : QuantityInUnit<ProductQuantityUnit> | undefined = getInventoryUnitCount(product, unitCountByStorageAreaIdForEndingInventory);\n\n        const deliveriesAndTransfersAndPrepsCount = UsageDataUtils.getDeliveriesAndTransfersAndPrepsCounts(\n            product,\n            unitCountByDeliveryId,\n            unitCountByTransferId || undefined,\n            inputUnitCountByPrepEventId,\n            outputUnitCountByPrepEventId,\n        );\n\n        let unitCost = usageCalculationParameters.getUnitCostsByProductId().get(productId);\n        if (unitCost === undefined) {\n            unitCost = unitCostsByProductId.getRequired(productId);\n        }\n        const unitCostInPreferredReportingUnit = productCostUtils.getProductCostInUnit(packagingsAndMappings, unitCost, preferredReportingUnit);\n\n        const breakagesTotalUnitCount = getBreakagesTotalUnitCount(product, unitCountByBreakageId);\n        const breakageUnitCount = breakagesTotalUnitCount ? PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, breakagesTotalUnitCount, preferredReportingUnit).getQuantity() : undefined;\n        const unitUsage = usage ? PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, usage.unitUsage, preferredReportingUnit) : undefined;\n\n        const deliveriesUnitCountInPreferredReportingUnit = deliveriesAndTransfersAndPrepsCount.deliveriesUnitCount ?\n            PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, deliveriesAndTransfersAndPrepsCount.deliveriesUnitCount, preferredReportingUnit).getQuantity() :\n            undefined;\n        const transfersInUnitCountInPreferredReportingUnit = deliveriesAndTransfersAndPrepsCount.transfersInUnitCount ?\n            PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, deliveriesAndTransfersAndPrepsCount.transfersInUnitCount, preferredReportingUnit).getQuantity() :\n            undefined;\n        const transfersOutUnitCountInPreferredReportingUnit = deliveriesAndTransfersAndPrepsCount.transfersOutUnitCount ?\n            PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, deliveriesAndTransfersAndPrepsCount.transfersOutUnitCount, preferredReportingUnit).getQuantity() :\n            undefined;\n        const prepEventsInputUnitCountInPreferredReportingUnit = deliveriesAndTransfersAndPrepsCount.prepEventsInputUnitCount ?\n            PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, deliveriesAndTransfersAndPrepsCount.prepEventsInputUnitCount, preferredReportingUnit).getQuantity() :\n            undefined;\n        const prepEventsOutputUnitCountInPreferredReportingUnit = deliveriesAndTransfersAndPrepsCount.prepEventsOutputUnitCount ?\n            PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, deliveriesAndTransfersAndPrepsCount.prepEventsOutputUnitCount, preferredReportingUnit).getQuantity() :\n            undefined;\n        const unitUsageCount = unitUsage ? unitUsage.getQuantity() : undefined;\n        const dollarUsage = usage ? usage.dollarUsage : undefined;\n\n        return [\n            product.getBrand(),\n            product.getName(),\n            PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), product.getPreferredReportingUnit(), false),\n            exportUtils.getNumberOrUndefinedDisplay(startingInventoryUnitCount ? startingInventoryUnitCount.getQuantity() : undefined),\n            exportUtils.getNumberOrUndefinedDisplay(deliveriesUnitCountInPreferredReportingUnit),\n            exportUtils.getNumberOrUndefinedDisplay(transfersInUnitCountInPreferredReportingUnit),\n            exportUtils.getNumberOrUndefinedDisplay(transfersOutUnitCountInPreferredReportingUnit),\n            exportUtils.getNumberOrUndefinedDisplay(prepEventsInputUnitCountInPreferredReportingUnit),\n            exportUtils.getNumberOrUndefinedDisplay(prepEventsOutputUnitCountInPreferredReportingUnit),\n            exportUtils.getNumberOrUndefinedDisplay(endingInventoryUnitCount ? endingInventoryUnitCount.getQuantity() : undefined),\n            exportUtils.getNumberOrUndefinedDisplay(unitUsageCount),\n            exportUtils.getNumberOrUndefinedDisplay(dollarUsage),\n            exportUtils.getNumberOrUndefinedDisplay(breakageUnitCount),\n            exportUtils.getNumberOrUndefinedDisplay((typeof breakageUnitCount === 'undefined' ? 0 : breakageUnitCount) * decimalToNumber(unitCostInPreferredReportingUnit.getCost())),\n        ];\n    };\n\n    const worksheet = await exportUtils.constructSheetFromSortedFilteredGroupedResult(\n        headers,\n        sortedGroupNamesToDisplay,\n        unfilteredSortedProductIdsByGroupName,\n        createRow,\n        () => true,\n    );\n\n    const workBook = xlsx.utils.book_new();\n    xlsx.utils.book_append_sheet(workBook, worksheet, 'Cost of Goods Report');\n\n    await exportUtils.writeWorkBookToFile(workBook, fileName, 'xlsx');\n};\n\nexport enum UsageReportQuickFilterOption {\n    COST_FLAGGED = 'COST_FLAGGED',\n}\n","export enum ContextTab {\n    'HOME',\n    'HELP',\n    'TUTORIAL',\n    'VIDEOS'\n}\n","import React from 'react';\nimport { TransitionGroup, CSSTransition } from 'react-transition-group';\n\nimport 'shared/css/UserIcon.scss';\n\nexport interface IUserIconProps {\n    onClick : () => void;\n    showCloseIcon : boolean;\n    firstName : string;\n    lastName : string;\n}\n\nexport class UserIcon extends React.Component<IUserIconProps, object> {\n    public render() {\n        const {\n            onClick,\n            showCloseIcon,\n            firstName,\n            lastName,\n        } = this.props;\n\n        let initials : string;\n        if (firstName.length > 0 && lastName.length > 0) {\n            initials = (firstName.trim()[0] + lastName.trim()[0]).toUpperCase();\n        } else {\n            initials = '';\n        }\n        const closeElement = <span className=\"bevicon bevico-close react-user-icon-bevicon\" key={ 1 } />;\n        const initialsElement = <span className=\"react-user-icon-initials\" key={ 2 }>{ initials }</span>;\n\n        return (\n            <span\n                className={ `react-user-icon ${showCloseIcon ? 'react-user-icon-close' : ''}` }\n                onClick={ onClick }\n            >\n                <TransitionGroup\n                    className=\"scale-user-icon-transition\"\n                >\n                    <CSSTransition\n                        appear={true}\n                        exit={false}\n                        classNames=\"scale-user-icon\"\n                        timeout={{enter: 0, exit: 0}}\n                    >\n                        { showCloseIcon ? closeElement : initialsElement }\n                    </CSSTransition>\n                </TransitionGroup>\n            </span>\n        );\n    }\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { TransitionGroup, CSSTransition } from 'react-transition-group';\nimport { HubspotChatUtils } from 'shared/utils/hubspotChatUtils';\n\nimport { PathUtils } from 'shared/utils/pathUtils';\n\nimport { UserSessionActions, ActionInterfaces } from './actions';\nimport { ISignUpOptionsState } from './types';\nimport { IUserAccountRetailer, IUserAccountRetailersByGroup } from './reducers';\n\nimport { LocationId } from 'api/Location/model/LocationId';\n\nimport { Button } from 'shared/components/Button';\nimport { UserIcon } from 'shared/components/UserIcon';\nimport { HubSpotChat } from 'shared/components/HubSpotChat/HubSpotChat';\nimport { BevSpotDispatch } from 'shared/components/Provider';\n\nimport './UserButtonApp.scss';\n\ninterface IUserButtonAppProps {\n    firstName : string | null;\n    lastName : string | null;\n    userPopdownOpen : boolean;\n    userRetailers : IUserAccountRetailersByGroup | null;\n}\n\ninterface IConnectedUserButtonAppProps extends IUserButtonAppProps {\n    dispatch : BevSpotDispatch<ISignUpOptionsState, {services : ActionInterfaces.IServices}>;\n}\n\nexport class UserButtonApp extends React.Component<IConnectedUserButtonAppProps, object> {\n    private thisElement : HTMLDivElement | null = null;\n    private retailerId : LocationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n    public UNSAFE_componentWillMount() {\n        const {\n            dispatch,\n        } = this.props;\n\n        window.hsConversationsSettings = {\n            loadImmediately: false,\n            inlineEmbedSelector: '#bevspot-hs-chat'\n        };\n\n        dispatch(UserSessionActions.fetchUserInfo());\n        void dispatch(UserSessionActions.determinePageContext());\n    }\n\n    public render() {\n        const {\n            firstName,\n            lastName,\n            userPopdownOpen,\n        } = this.props;\n\n        if (firstName === null || lastName === null) {\n            return <div />;\n        }\n\n        return (\n            <div\n                className=\"user-button-app react-user-icon-with-popover\"\n                onBlur={ this.handleOnBlur }\n                tabIndex={ 0 }\n                ref={ this.getRef }\n            >\n                <span className=\"help-chat-nav-icon\">\n                    <span onClick={ this.onOpenLiveChatClick } className=\"bevicon bevico-chat\"/>\n                    <span onClick={ this.onGoToHelpCenter } className=\"bevicon bevico-help\"/>\n                </span>\n                <UserIcon\n                    onClick={ this.handleOnIconClick }\n                    showCloseIcon={ userPopdownOpen }\n                    firstName={ firstName }\n                    lastName={ lastName }\n                />\n                { userPopdownOpen &&\n                    <div className=\"react-user-icon-popover-arrow\" />\n                }\n                <TransitionGroup>\n                    { userPopdownOpen &&\n                        <CSSTransition\n                            classNames=\"react-user-icon-popover\"\n                            appear={true}\n                            exit={true}\n                            timeout={{enter: 0, exit: 0}}\n                        >\n                            <div key=\"popover\" className=\"react-user-icon-popover\">\n                                <div className=\"react-user-icon-popover-context-menu\">\n                                    { this.showHome() }\n                                </div>\n                            </div>\n                        </CSSTransition>\n                    }\n                </TransitionGroup>\n                <HubSpotChat/>\n            </div>\n        );\n    }\n\n    private showHome() {\n        const {\n            firstName,\n            lastName,\n            userRetailers,\n        } = this.props;\n\n        return (\n            <React.Fragment>\n                <div className=\"user-name cell-p-lg\">\n                    <h5 className=\"secondary-bold\">{ `${firstName} ${lastName}` }</h5>\n                </div>\n                <div className={ `context-tab-home divider-line context-tab-body cell-p-lg` }>\n                    { userRetailers !== null &&\n                        <ul className=\"context-tab-user-retailers\">\n                            {\n                                userRetailers.groups.map((group) => {\n                                    return (\n                                        <li key={ group.id } className=\"group\">\n                                            <a href={ `/group/dashboard/g/${group.id}/` } className=\"group-name\">{ group.name }</a>\n                                            { group.orderedRetailerIds.length > 0 &&\n                                                <ul className=\"group-list\">\n                                                    { group.orderedRetailerIds.map((retailer) => this.generateRetailerRow(retailer)) }\n                                                </ul>\n                                            }\n                                        </li>\n                                    );\n                                })\n                            }\n                            { userRetailers.ungrouped.map((retailer) => this.generateRetailerRow(retailer)) }\n                        </ul>\n                    }\n                </div>\n                { userRetailers !== null && userRetailers.sandboxes.length !== 0 &&\n                    <div className=\"sandbox-container context-tab-body cell-p-lg divider-line\">\n                        <ul className=\"context-tab-user-retailers\">\n                            { userRetailers.sandboxes.map((retailer) => this.generateRetailerRow(retailer)) }\n                        </ul>\n                    </div>\n                }\n                <div className=\"context-tab-footer divider-line cell-p-lg\">\n                    <ul>\n                        <li>\n                            <a className=\"flex-text-with-icon middle tools-and-articles\" href={ PathUtils.getAbsolutePathForRequest('/user') }>\n                                <span className=\"icon-left bevicon bevico-user\" />\n                                <span>User Home</span>\n                            </a>\n                            <a className=\"flex-text-with-icon middle\" href={ PathUtils.getAbsolutePathForRequest('/user/edit') }>\n                                <span className=\"icon-left bevicon bevico-ic_settings_black_24px\" />\n                                <span>User Settings</span>\n                            </a>\n                        </li>\n                    </ul>\n                    <Button\n                        buttonClassName=\"medium logout-btn\"\n                        isDisabled={ false }\n                        isLoading={ false }\n                        onClick={ this.handleOnLogoutButtonClick }\n                    >\n                        Log Out\n                    </Button>\n                </div>\n            </React.Fragment>\n        );\n    }\n\n    private readonly generateRetailerRow = (retailer : IUserAccountRetailer) => {\n        const highlightUnselected = this.retailerId.getValue() !== retailer.id ? 'not-selected' : '';\n        return (\n            <li key={ retailer.id } className={ `${highlightUnselected} retailer${ retailer.isSandbox ? ' sandbox' : '' }` }>\n                <div className=\"retailer-container flex-text-with-icon top\">\n                    { this.retailerId.getValue() === retailer.id &&\n                        <span className=\"bevicon bevico-keyboard-arrow-right main-icon-left\" />\n                    }\n                    <span className={ `${this.retailerId.getValue() !== retailer.id ? 'retailer-align' : ''} icon-left bevicon bevico-${ retailer.accountType }` } />\n                    <div>\n                        <a href={ `/account/dashboard/r/${retailer.id}/` }>\n                            <span className={ `retailer-name ${highlightUnselected}` }>{ retailer.name }</span>\n                        </a>\n                        { retailer.isSandbox &&\n                            <p className=\"cell-ptb-sm\">\n                                <i>\n                                    Don't spoil your data — here’s a sample account to play with.\n                                </i>\n                            </p>\n                        }\n                    </div>\n                </div>\n            </li>\n        );\n    }\n\n    private readonly getRef = (element : HTMLDivElement) => {\n        this.thisElement = element;\n    }\n\n    private readonly handleOnBlur = (event : React.FocusEvent<HTMLDivElement>) => {\n        // `relatedTarget` doesn't work with IE11, so we had to get creative here to work for all browsers\n        const target = (event.relatedTarget as Element) || document.activeElement;\n        if (this.thisElement !== null && !this.thisElement.contains(target)) {\n            return this.props.dispatch(UserSessionActions.setUserPopdownOpen(false));\n        }\n    }\n\n    private readonly handleOnIconClick = () => {\n        const {\n            userPopdownOpen,\n            dispatch,\n        } = this.props;\n\n        return dispatch(UserSessionActions.setUserPopdownOpen(!userPopdownOpen));\n    }\n\n    private readonly handleOnLogoutButtonClick = () => {\n        const {\n            dispatch,\n        } = this.props;\n\n        return dispatch(UserSessionActions.logoutUser());\n    }\n\n    private readonly onOpenLiveChatClick = () => {\n        if (window.HubSpotConversations) {\n            void HubspotChatUtils.openChatWidget();\n        }\n    }\n\n    private readonly onGoToHelpCenter = () => {\n        if (window._elev) {\n            window._elev.open();\n        }\n    }\n}\n\nconst mapStateToProps = (state : ISignUpOptionsState) : IUserButtonAppProps => ({\n    firstName: state.userSession.firstName,\n    lastName: state.userSession.lastName,\n    userPopdownOpen: state.userSession.userPopdownOpen,\n    userRetailers: state.userSession.userRetailers,\n});\n\nexport const ConnectedUserButtonApp = connect<IUserButtonAppProps, object, object, ISignUpOptionsState>(mapStateToProps)(UserButtonApp);\n","import React from 'react';\n\nimport { MAX_TABLET_WIDTH } from 'shared/constants';\n\nimport { ContextTab } from './ContextTab';\n\nexport type PageContext = 'DEFAULT' | '/account/dashboard' | '/inventory/price_change_report' | '/inventory/usage_report' |\n                            '/inventory/excess_inventory' | '/inventory/unused_inventory' |\n                            '/inventory/aggregated_transfer_report' | '/inventory/aggregated_breakage_report' |\n                            '/inventory/aggregated_prep_report' | '/inventory/history' | '/inventory/detail/view' |\n                            '/ordering/record' | '/ordering/record/detail' |\n                            '/ordering/cart' | '/ordering/cart/builder' | '/ordering/cart/review' | '/sales/history' |\n                            '/sales/items/overview' | '/sales/reports/category_level' | '/sales/reports/item_level/creation_options' |\n                            '/sales/reports/item_level/summary' | '/sales/reports/item_level/sales_input' |\n                            '/sales/reports/item_level/sales_performance' | '/sales/reports/item_level/product_variance' |\n                            '/account/item_manager' | '/account/relationships' | '/account/settings' | '/account/users' |\n                            '/account/billing' | '/account/integrations';\n\nconst contextTabsByPageContext : { [key in PageContext] : Array<ContextTab> } = {\n    DEFAULT : [ ContextTab.HOME ],\n    '/account/dashboard': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/price_change_report': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/usage_report': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/excess_inventory': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/unused_inventory': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/aggregated_transfer_report': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/aggregated_breakage_report': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/aggregated_prep_report': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/history': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/inventory/detail/view': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/ordering/record': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/ordering/cart': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/ordering/cart/builder': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/ordering/cart/review': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/ordering/record/detail': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/sales/history': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/sales/items/overview': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/sales/reports/category_level': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/sales/reports/item_level/creation_options': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/sales/reports/item_level/summary': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/sales/reports/item_level/sales_input': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/sales/reports/item_level/sales_performance': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/sales/reports/item_level/product_variance': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/account/item_manager': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ], // NOTE: shared with \"my storage areas\"!\n    '/account/relationships': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/account/settings': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/account/users': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/account/billing': [ ContextTab.HOME, ContextTab.HELP, ContextTab.TUTORIAL, ContextTab.VIDEOS ],\n    '/account/integrations': [ ContextTab.HOME, ContextTab.HELP ],\n};\n\nconst noContentDefault = <p>No content available</p>;\n\nexport const validatePath = (path : string) => {\n    return typeof contextTabsByPageContext[path as PageContext] !== 'undefined';\n};\n\nexport const UserSessionUtils = {\n    contextTabsByPageContext,\n    getContextTabContent: (pageContext : PageContext, tab : ContextTab) => {\n        switch (pageContext) {\n            case '/account/dashboard':\n                return getContentAccountDashboard(tab);\n            case '/inventory/price_change_report':\n                return getContentPriceChangeReport(tab);\n            case '/inventory/usage_report':\n                return getContentUsageReport(tab);\n            case '/inventory/excess_inventory':\n                return getContentExcessInventoryReport(tab);\n            case '/inventory/unused_inventory':\n                return getContentUnusedInventoryReport(tab);\n            case '/inventory/aggregated_transfer_report':\n                return getContentTransferReport(tab);\n            case '/inventory/aggregated_breakage_report':\n                return getContentLossReport(tab);\n            case '/inventory/aggregated_prep_report':\n                return getContentPrepReport(tab);\n            case '/inventory/history':\n                return getContentInventoryHistory(tab);\n            case '/inventory/detail/view':\n                return getContentInventoryDraft(tab);\n            case '/ordering/record':\n                return getContentOrderHistory(tab);\n            case '/ordering/record/detail':\n                return getContentOrderDetail(tab);\n            case '/ordering/cart':\n            case '/ordering/cart/builder':\n            case '/ordering/cart/review':\n                return getContentCartBuilder(tab);\n            case '/sales/history':\n                return getContentSalesHistory(tab);\n            case '/sales/items/overview':\n                return getContentMySalesItem(tab);\n            case '/sales/reports/category_level':\n                return getContentCategorySalesReport(tab);\n            case '/sales/reports/item_level/creation_options':\n            case '/sales/reports/item_level/summary':\n                return getContentItemLevelSalesReportSummary(tab);\n            case '/sales/reports/item_level/sales_input':\n                return getContentItemLevelSalesReportInput(tab);\n            case '/sales/reports/item_level/sales_performance':\n                return getContentItemLevelSalesReportPerformance(tab);\n            case '/sales/reports/item_level/product_variance':\n                return getContentItemLevelSalesReportVariance(tab);\n            case '/account/item_manager':\n                if (window.location.search.indexOf('view=storage_areas') > -1) {\n                    return getContentMyStorageAreas(tab);\n                } else {\n                    return getContentMyItems(tab);\n                }\n            case '/account/relationships':\n                return getContentMyVendors(tab);\n            case '/account/settings':\n                return getContentAccountSettings(tab);\n            case '/account/users':\n                return getContentUsersSettings(tab);\n            case '/account/billing':\n                return getContentPlansAndBilling(tab);\n            case '/account/integrations':\n                return getContentIntegrations(tab);\n            case 'DEFAULT':\n            default:\n                return noContentDefault;\n        }\n    },\n};\n\n/** Begin Workaround for WalkMe on Mobile */\n\ntype HelpLinkId =\n    'walkme-context-help-dashboard-getting-around-bevspot-trial' |\n    'walkme-context-help-dashboard-getting-around-bevspot-customer' |\n    'walkme-context-help-dashboard-insights' |\n    'walkme-context-help-dashboard-taking-inventory' |\n    'walkme-context-help-dashboard-video-dashboard-free-trial' |\n    'walkme-context-help-dashboard-video-dashboard' |\n    'walkme-context-help-dashboard-video-group-adding-items' |\n    'walkme-context-help-dashboard-video-group-first-inventory' |\n    'walkme-context-help-dashboard-video-group-first-order' |\n    'walkme-context-help-price-tracker-report-run' |\n    'walkme-context-help-price-tracker-video-overview' |\n    'walkme-context-help-usage-report-run' |\n    'walkme-context-help-usage-report-video-overview' |\n    'walkme-context-help-usage-report-video-negative-usage' |\n    'walkme-context-help-excess-inventory-report-run' |\n    'walkme-context-help-excess-inventory-report-video-overview' |\n    'walkme-context-help-unused-inventory-report-run' |\n    'walkme-context-help-unused-inventory-report-video-overview' |\n    'walkme-context-help-transfer-report-run' |\n    'walkme-context-help-transfer-report-video-overview' |\n    'walkme-context-help-loss-report-run' |\n    'walkme-context-help-loss-report-video-overview' |\n    'walkme-context-help-prep-report-run' |\n    'walkme-context-help-prep-report-video-overview' |\n    'walkme-context-help-inventory-history-first-count' |\n    'walkme-context-help-inventory-history-recording-loss' |\n    'walkme-context-help-inventory-history-adding-transfers' |\n    'walkme-context-help-inventory-history-recording-prep-item' |\n    'walkme-context-help-inventory-history-video-overview' |\n    'walkme-context-help-inventory-history-video-first-inventory' |\n    'walkme-context-help-inventory-history-video-recording-loss' |\n    'walkme-context-help-inventory-history-video-adding-transfers' |\n    'walkme-context-help-inventory-history-video-recording-prep-item' |\n    'walkme-context-help-inventory-draft-counting-items' |\n    'walkme-context-help-inventory-draft-storage-areas' |\n    'walkme-context-help-inventory-draft-custom-sorting' |\n    'walkme-context-help-inventory-draft-exporting-records' |\n    'walkme-context-help-inventory-draft-video-counting-items-beverage' |\n    'walkme-context-help-inventory-draft-video-counting-items-food' |\n    'walkme-context-help-inventory-draft-video-storage-areas-desktop' |\n    'walkme-context-help-inventory-draft-video-custom-sorting' |\n    'walkme-context-help-inventory-draft-video-offline-mode' |\n    'walkme-context-help-inventory-draft-video-negative-usage' |\n    'walkme-context-help-inventory-draft-video-exporting-records' |\n    'walkme-context-help-order-history-record-past-invoice' |\n    'walkme-context-help-order-history-balancing-invoices-confirming-deliveries' |\n    'walkme-context-help-order-history-exporting-records' |\n    'walkme-context-help-order-history-video-overview' |\n    'walkme-context-help-order-history-video-first-order' |\n    'walkme-context-help-order-history-video-record-past-invoice' |\n    'walkme-context-help-order-history-video-confirming-deliveries' |\n    'walkme-context-help-order-history-video-exporting-records' |\n    'walkme-context-help-order-detail-invoices-deliveries' |\n    'walkme-context-help-order-detail-reviewing-processed-invoices' |\n    'walkme-context-help-order-detail-video-confirming-deliveries' |\n    'walkme-context-help-order-detail-video-reviewing-invoices' |\n    'walkme-context-help-cart-builder-placing-orders' |\n    'walkme-context-help-cart-builder-using-smart-cart' |\n    'walkme-context-help-cart-builder-video-placing-orders' |\n    'walkme-context-help-cart-builder-video-smart-cart' |\n    'walkme-context-help-invoice-processing-submitting' |\n    'walkme-context-help-invoice-processing-reviewing' |\n    'walkme-context-help-invoice-processing-video-overview' |\n    'walkme-context-help-invoice-processing-video-processing' |\n    'walkme-context-help-invoice-processing-video-reviewing' |\n    'walkme-context-help-invoice-processing-video-errors' |\n    'walkme-context-help-sales-history-understanding' |\n    'walkme-context-help-sales-history-starting-new-report' |\n    'walkme-context-help-sales-history-starting-new-category-report' |\n    'walkme-context-help-sales-history-video-overview' |\n    'walkme-context-help-sales-history-video-first-report-setup' |\n    'walkme-context-help-sales-history-video-submitting-data' |\n    'walkme-context-help-sales-history-video-understanding-variance' |\n    'walkme-context-help-sales-items-creating' |\n    'walkme-context-help-sales-items-need-attention' |\n    'walkme-context-help-sales-items-exporting' |\n    'walkme-context-help-sales-items-video-creating' |\n    'walkme-context-help-sales-items-video-tax-percent' |\n    'walkme-context-help-sales-items-video-need-attention' |\n    'walkme-context-help-sales-category-report-creating' |\n    'walkme-context-help-sales-category-report-understanding' |\n    'walkme-context-help-sales-category-report-exporting' |\n    'walkme-context-help-sales-category-report-video-overview' |\n    'walkme-context-help-sales-item-level-report-summary-creating' |\n    'walkme-context-help-sales-item-level-report-summary-understanding' |\n    'walkme-context-help-sales-item-level-report-summary-exporting' |\n    'walkme-context-help-sales-item-level-report-summary-video-overview' |\n    'walkme-context-help-sales-item-level-report-summary-video-variance' |\n    'walkme-context-help-sales-item-level-report-input-understanding' |\n    'walkme-context-help-sales-item-level-report-input-editing' |\n    'walkme-context-help-sales-item-level-report-input-exporting' |\n    'walkme-context-help-sales-item-level-report-input-video-overview' |\n    'walkme-context-help-sales-item-level-report-performance-understanding' |\n    'walkme-context-help-sales-item-level-report-performance-editing' |\n    'walkme-context-help-sales-item-level-report-performance-exporting' |\n    'walkme-context-help-sales-item-level-report-performance-video-overview' |\n    'walkme-context-help-sales-item-level-report-variance-understanding' |\n    'walkme-context-help-sales-item-level-report-variance-exporting' |\n    'walkme-context-help-sales-item-level-report-variance-video-understanding' |\n    'walkme-context-help-my-items' |\n    'walkme-context-help-my-items-catalog' |\n    'walkme-context-help-my-items-creating' |\n    'walkme-context-help-my-items-video-overview' |\n    'walkme-context-help-my-items-video-bulk-edit' |\n    'walkme-context-help-my-items-video-adding-items' |\n    'walkme-context-help-my-items-video-importing-items-from-invoices' |\n    'walkme-context-help-my-items-video-creating-items' |\n    'walkme-context-help-my-storage-areas' |\n    'walkme-context-help-my-torage-areas-catalog' |\n    'walkme-context-help-my-torage-areas-creating' |\n    'walkme-context-help-my-storage-areas-video-overview' |\n    'walkme-context-help-my-vendors' |\n    'walkme-context-help-my-vendors-video-overview' |\n    'walkme-context-help-account-settings' |\n    'walkme-context-help-account-settings-video-overview' |\n    'walkme-context-help-users-settings' |\n    'walkme-context-help-users-settings-video-overview' |\n    'walkme-context-help-plans-billing-setup-cc' |\n    'walkme-context-help-plans-billing-setup-ach' |\n    'walkme-context-help-plans-billing-video-overview';\n\ninterface IHelpLinkInfo {\n    label : string;\n    walkMe : {\n        id : number;\n        nodeId : number;\n    };\n}\n\nconst HELP_LINK_INFO : { [key in HelpLinkId] : IHelpLinkInfo } = {\n    'walkme-context-help-dashboard-getting-around-bevspot-trial': {\n        label: 'Getting Around BevSpot',\n        walkMe: {\n            id: 294551,\n            nodeId: 2413641,\n        }\n    },\n    'walkme-context-help-dashboard-getting-around-bevspot-customer': {\n        label: 'Getting Around BevSpot',\n        walkMe: {\n            id: 294551,\n            nodeId: 2413641,\n        }\n    },\n    'walkme-context-help-dashboard-insights': {\n        label: 'Dashboard Insights',\n        walkMe: {\n            id: 364607,\n            nodeId: 3211304,\n        }\n    },\n    'walkme-context-help-dashboard-taking-inventory': {\n        label: 'Taking Your First Inventory',\n        walkMe: {\n            id: 318305,\n            nodeId: 2698279,\n        }\n    },\n    'walkme-context-help-dashboard-video-dashboard-free-trial': {\n        label: 'Understanding Your BevSpot Dashboard',\n        walkMe: {\n            id: 364468,\n            nodeId: 3210279,\n        }\n    },\n    'walkme-context-help-dashboard-video-dashboard': {\n        label: 'Understanding Your BevSpot Dashboard',\n        walkMe: {\n            id: 364466,\n            nodeId: 3210262,\n        }\n    },\n    'walkme-context-help-dashboard-video-group-adding-items': {\n        label: 'Adding Items to Your Account',\n        walkMe: {\n            id: 364472,\n            nodeId: 3210296,\n        }\n    },\n    'walkme-context-help-dashboard-video-group-first-inventory': {\n        label: 'Taking Your First Inventory',\n        walkMe: {\n            id: 364474,\n            nodeId: 3210303,\n        }\n    },\n    'walkme-context-help-dashboard-video-group-first-order': {\n        label: 'Placing Your First Orders',\n        walkMe: {\n            id: 364476,\n            nodeId: 3210319,\n        }\n    },\n    'walkme-context-help-price-tracker-report-run': {\n        label: 'Price Tracker Report Run',\n        walkMe: {\n            id: 315662,\n            nodeId: 2670435,\n        }\n    },\n    'walkme-context-help-price-tracker-video-overview': {\n        label: 'Tracking Price Changes',\n        walkMe: {\n            id: 364477,\n            nodeId: 3210323,\n        }\n    },\n    'walkme-context-help-usage-report-run': {\n        label: 'Usage Report Run',\n        walkMe: {\n            id: 232824,\n            nodeId: 1807683,\n        }\n    },\n    'walkme-context-help-usage-report-video-overview': {\n        label: 'Tracking Your Product Usage',\n        walkMe: {\n            id: 364478,\n            nodeId: 3210331,\n        }\n    },\n    'walkme-context-help-usage-report-video-negative-usage': {\n        label: 'Understanding Negative Usage',\n        walkMe: {\n            id: 364479,\n            nodeId: 3210336,\n        }\n    },\n    'walkme-context-help-excess-inventory-report-run': {\n        label: 'Excess Inventory Report Run',\n        walkMe: {\n            id: 232856,\n            nodeId: 1807967,\n        }\n    },\n    'walkme-context-help-excess-inventory-report-video-overview': {\n        label: 'Finding Your Excess Inventory Items',\n        walkMe: {\n            id: 364480,\n            nodeId: 3210346,\n        }\n    },\n    'walkme-context-help-unused-inventory-report-run': {\n        label: 'Unused Inventory Report Run',\n        walkMe: {\n            id: 232870,\n            nodeId: 1808224,\n        }\n    },\n    'walkme-context-help-unused-inventory-report-video-overview': {\n        label: 'Finding Your Unused Inventory Items',\n        walkMe: {\n            id: 364481,\n            nodeId: 3210348,\n        }\n    },\n    'walkme-context-help-transfer-report-run': {\n        label: 'Transfer Report Run',\n        walkMe: {\n            id: 233067,\n            nodeId: 1810136,\n        }\n    },\n    'walkme-context-help-transfer-report-video-overview': {\n        label: 'Tracking Your Transfer History',\n        walkMe: {\n            id: 364482,\n            nodeId: 3210351,\n        }\n    },\n    'walkme-context-help-loss-report-run': {\n        label: 'Loss Report Run',\n        walkMe: {\n            id: 233087,\n            nodeId: 1810368,\n        }\n    },\n    'walkme-context-help-loss-report-video-overview': {\n        label: 'Tracking Loss in Your Restaurant',\n        walkMe: {\n            id: 364483,\n            nodeId: 3210356,\n        }\n    },\n    'walkme-context-help-prep-report-run': {\n        label: 'Prep Report Run',\n        walkMe: {\n            id: 299952,\n            nodeId: 2483428,\n        }\n    },\n    'walkme-context-help-prep-report-video-overview': {\n        label: 'Reporting on Prepared Items',\n        walkMe: {\n            id: 364484,\n            nodeId: 3210359,\n        }\n    },\n    'walkme-context-help-inventory-history-first-count': {\n        label: 'First Inventory Count',\n        walkMe: {\n            id: 318305,\n            nodeId: 2698279,\n        }\n    },\n    'walkme-context-help-inventory-history-recording-loss': {\n        label: 'Recording Loss',\n        walkMe: {\n            id: 320045,\n            nodeId: 2714944,\n        }\n    },\n    'walkme-context-help-inventory-history-adding-transfers': {\n        label: 'Adding Transfers',\n        walkMe: {\n            id: 320080,\n            nodeId: 2715263,\n        }\n    },\n    'walkme-context-help-inventory-history-recording-prep-item': {\n        label: 'Recording a Prepared Item',\n        walkMe: {\n            id: 321290,\n            nodeId: 2727861,\n        }\n    },\n    'walkme-context-help-inventory-history-video-overview': {\n        label: 'Inventory Overview',\n        walkMe: {\n            id: 241767,\n            nodeId: 1895999,\n        }\n    },\n    'walkme-context-help-inventory-history-video-first-inventory': {\n        label: 'Taking Your First Inventory',\n        walkMe: {\n            id: 364474,\n            nodeId: 3210303,\n        }\n    },\n    'walkme-context-help-inventory-history-video-recording-loss': {\n        label: 'How to Record Loss for Your Restaurant',\n        walkMe: {\n            id: 364485,\n            nodeId: 3210361,\n        }\n    },\n    'walkme-context-help-inventory-history-video-adding-transfers': {\n        label: 'How to Transfer Items',\n        walkMe: {\n            id: 364487,\n            nodeId: 3210394,\n        }\n    },\n    'walkme-context-help-inventory-history-video-recording-prep-item': {\n        label: 'Recording Your Prepared Items',\n        walkMe: {\n            id: 364492,\n            nodeId: 3210403,\n        }\n    },\n    'walkme-context-help-inventory-draft-counting-items': {\n        label: 'Counting Items',\n        walkMe: {\n            id: 318368,\n            nodeId: 2698702,\n        }\n    },\n    'walkme-context-help-inventory-draft-storage-areas': {\n        label: 'Storage Areas in Draft',\n        walkMe: {\n            id: 318413,\n            nodeId: 2699361,\n        }\n    },\n    'walkme-context-help-inventory-draft-custom-sorting': {\n        label: 'Custom Sorting',\n        walkMe: {\n            id: 318481,\n            nodeId: 2700185,\n        }\n    },\n    'walkme-context-help-inventory-draft-exporting-records': {\n        label: 'Exporting Inventory Records',\n        walkMe: {\n            id: 319794,\n            nodeId: 2712109,\n        }\n    },\n    'walkme-context-help-inventory-draft-video-counting-items-beverage': {\n        label: 'How to Count Your Beverage Items',\n        walkMe: {\n            id: 364495,\n            nodeId: 3210433,\n        }\n    },\n    'walkme-context-help-inventory-draft-video-counting-items-food': {\n        label: 'How to Count Your Food Items',\n        walkMe: {\n            id: 364496,\n            nodeId: 3210438,\n        }\n    },\n    'walkme-context-help-inventory-draft-video-storage-areas-desktop': {\n        label: 'Keep Your Storage Areas Organized',\n        walkMe: {\n            id: 364498,\n            nodeId: 3210448,\n        }\n    },\n    'walkme-context-help-inventory-draft-video-custom-sorting': {\n        label: 'Set Up Custom Sorting for Fast Counting',\n        walkMe: {\n            id: 364500,\n            nodeId: 3210532,\n        }\n    },\n    'walkme-context-help-inventory-draft-video-offline-mode': {\n        label: 'Counting with Offline Mode',\n        walkMe: {\n            id: 364501,\n            nodeId: 3210534,\n        }\n    },\n    'walkme-context-help-inventory-draft-video-negative-usage': {\n        label: 'Understanding Negative Usage',\n        walkMe: {\n            id: 364479,\n            nodeId: 3210336,\n        }\n    },\n    'walkme-context-help-inventory-draft-video-exporting-records': {\n        label: 'Exporting Your Inventory Counts',\n        walkMe: {\n            id: 364502,\n            nodeId: 3210538,\n        }\n    },\n    'walkme-context-help-order-history-record-past-invoice': {\n        label: 'Record a Past Invoice',\n        walkMe: {\n            id: 320714,\n            nodeId: 2721711,\n        }\n    },\n    'walkme-context-help-order-history-balancing-invoices-confirming-deliveries': {\n        label: 'Balancing Invoices/Confirming Deliveries',\n        walkMe: {\n            id: 320886,\n            nodeId: 2723299,\n        }\n    },\n    'walkme-context-help-order-history-exporting-records': {\n        label: 'Exporting Order Records',\n        walkMe: {\n            id: 319838,\n            nodeId: 2712964,\n        }\n    },\n    'walkme-context-help-order-history-video-overview': {\n        label: 'Ordering Overview',\n        walkMe: {\n            id: 241769,\n            nodeId: 1896004,\n        }\n    },\n    'walkme-context-help-order-history-video-first-order': {\n        label: 'Placing Your First Orders',\n        walkMe: {\n            id: 364476,\n            nodeId: 3210319,\n        }\n    },\n    'walkme-context-help-order-history-video-record-past-invoice': {\n        label: 'How to Record a Past Invoice',\n        walkMe: {\n            id: 364512,\n            nodeId: 3210644,\n        }\n    },\n    'walkme-context-help-order-history-video-confirming-deliveries': {\n        label: 'Confirming Your Deliveries',\n        walkMe: {\n            id: 364513,\n            nodeId: 3210645,\n        }\n    },\n    'walkme-context-help-order-history-video-exporting-records': {\n        label: 'Export Your Order Records',\n        walkMe: {\n            id: 364516,\n            nodeId: 3210662,\n        }\n    },\n    'walkme-context-help-order-detail-invoices-deliveries': {\n        label: 'Balancing Invoices/Confirming Deliveries',\n        walkMe: {\n            id: 320886,\n            nodeId: 2723299,\n        }\n    },\n    'walkme-context-help-order-detail-reviewing-processed-invoices': {\n        label: 'Reviewing Processed Invoices',\n        walkMe: {\n            id: 394458,\n            nodeId: 3562718,\n        }\n    },\n    'walkme-context-help-order-detail-video-confirming-deliveries': {\n        label: 'Confirming Your Deliveries',\n        walkMe: {\n            id: 364513,\n            nodeId: 3210645,\n        }\n    },\n    'walkme-context-help-order-detail-video-reviewing-invoices': {\n        label: 'Reviewing Invoices for Accurate Delivery Data',\n        walkMe: {\n            id: 393989,\n            nodeId: 3557468,\n        }\n    },\n    'walkme-context-help-cart-builder-placing-orders': {\n        label: 'Placing/Recording Orders',\n        walkMe: {\n            id: 320941,\n            nodeId: 2724030,\n        }\n    },\n    'walkme-context-help-cart-builder-using-smart-cart': {\n        label: 'Using Smart Cart',\n        walkMe: {\n            id: 320004,\n            nodeId: 2714591,\n        }\n    },\n    'walkme-context-help-cart-builder-video-placing-orders': {\n        label: 'Placing Your First Orders',\n        walkMe: {\n            id: 364476,\n            nodeId: 3210319,\n        }\n    },\n    'walkme-context-help-cart-builder-video-smart-cart': {\n        label: 'Using Smart Cart for Easy Ordering',\n        walkMe: {\n            id: 364517,\n            nodeId: 3210684,\n        }\n    },\n    'walkme-context-help-invoice-processing-submitting': {\n        label: 'Submitting Invoices for Processing',\n        walkMe: {\n            id: 392309,\n            nodeId: 3536916,\n        }\n    },\n    'walkme-context-help-invoice-processing-reviewing': {\n        label: 'Reviewing Processed Invoices',\n        walkMe: {\n            id: 394458,\n            nodeId: 3562718,\n        }\n    },\n    'walkme-context-help-invoice-processing-video-overview': {\n        label: 'Invoice Processing Overview',\n        walkMe: {\n            id: 380178,\n            nodeId: 3379201,\n        }\n    },\n    'walkme-context-help-invoice-processing-video-processing': {\n        label: 'Processing Your Vendor Invoices',\n        walkMe: {\n            id: 393985,\n            nodeId: 3557450,\n        }\n    },\n    'walkme-context-help-invoice-processing-video-reviewing': {\n        label: 'Reviewing Invoices for Accurate Delivery Data',\n        walkMe: {\n            id: 393989,\n            nodeId: 3557468,\n        }\n    },\n    'walkme-context-help-invoice-processing-video-errors': {\n        label: 'Why Do I Have Submission Errors',\n        walkMe: {\n            id: 393992,\n            nodeId: 3557508,\n        }\n    },\n    'walkme-context-help-sales-history-understanding': {\n        label: 'Understanding Sales History',\n        walkMe: {\n            id: 320114,\n            nodeId: 2715533,\n        }\n    },\n    'walkme-context-help-sales-history-starting-new-report': {\n        label: 'Starting a New Sales Report',\n        walkMe: {\n            id: 320391,\n            nodeId: 2718730,\n        }\n    },\n    'walkme-context-help-sales-history-starting-new-category-report': {\n        label: 'Creating a Category Sales Report',\n        walkMe: {\n            id: 320859,\n            nodeId: 2723091,\n        }\n    },\n    'walkme-context-help-sales-history-video-overview': {\n        label: 'Sales Overview',\n        walkMe: {\n            id: 241770,\n            nodeId: 1896006,\n        }\n    },\n    'walkme-context-help-sales-history-video-first-report-setup': {\n        label: 'Setting Up Your First POS Sales Report',\n        walkMe: {\n            id: 364522,\n            nodeId: 3210716,\n        }\n    },\n    'walkme-context-help-sales-history-video-submitting-data': {\n        label: 'Submitting Your Sales Data for Processing',\n        walkMe: {\n            id: 364525,\n            nodeId: 3210741,\n        }\n    },\n    'walkme-context-help-sales-history-video-understanding-variance': {\n        label: 'What is Variance',\n        walkMe: {\n            id: 364527,\n            nodeId: 3210791,\n        }\n    },\n    'walkme-context-help-sales-items-creating': {\n        label: 'Creating Sales Items',\n        walkMe: {\n            id: 365845,\n            nodeId: 3226145,\n        }\n    },\n    'walkme-context-help-sales-items-need-attention': {\n        label: 'Sales Items Needing Attention',\n        walkMe: {\n            id: 364629,\n            nodeId: 3211642,\n        }\n    },\n    'walkme-context-help-sales-items-exporting': {\n        label: 'Exporting Sales Items',\n        walkMe: {\n            id: 319897,\n            nodeId: 2713724,\n        }\n    },\n    'walkme-context-help-sales-items-video-creating': {\n        label: 'Creating Your Sales Items',\n        walkMe: {\n            id: 364529,\n            nodeId: 3210793,\n        }\n    },\n    'walkme-context-help-sales-items-video-tax-percent': {\n        label: 'Editing Your Tax Percentage',\n        walkMe: {\n            id: 364530,\n            nodeId: 3210798,\n        }\n    },\n    'walkme-context-help-sales-items-video-need-attention': {\n        label: 'Addressing Sales Items Needing Attention',\n        walkMe: {\n            id: 364534,\n            nodeId: 3210815,\n        }\n    },\n    'walkme-context-help-sales-category-report-creating': {\n        label: 'Creating a Category Sales Report',\n        walkMe: {\n            id: 320859,\n            nodeId: 2723091,\n        }\n    },\n    'walkme-context-help-sales-category-report-understanding': {\n        label: 'Understanding Your Category Sales Report',\n        walkMe: {\n            id: 320844,\n            nodeId: 2722966,\n        }\n    },\n    'walkme-context-help-sales-category-report-exporting': {\n        label: 'Exporting a Category Sales Report',\n        walkMe: {\n            id: 364617,\n            nodeId: 3211508,\n        }\n    },\n    'walkme-context-help-sales-category-report-video-overview': {\n        label: 'Creating and Reading Category Sales Reports',\n        walkMe: {\n            id: 364535,\n            nodeId: 3210820,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-summary-creating': {\n        label: 'Submitting POS Sales Numbers',\n        walkMe: {\n            id: 320391,\n            nodeId: 2718730,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-summary-understanding': {\n        label: 'Understanding Your Report Summary',\n        walkMe: {\n            id: 371018,\n            nodeId: 3279430,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-summary-exporting': {\n        label: 'Exporting an Item Level Report',\n        walkMe: {\n            id: 371026,\n            nodeId: 3279537,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-summary-video-overview': {\n        label: 'Understanding Your Sales Summary',\n        walkMe: {\n            id: 364539,\n            nodeId: 3210823,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-summary-video-variance': {\n        label: 'What is Variance',\n        walkMe: {\n            id: 364527,\n            nodeId: 3210791,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-input-understanding': {\n        label: 'Understanding Your Sales Input',\n        walkMe: {\n            id: 371032,\n            nodeId: 3279572,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-input-editing': {\n        label: 'Editing Sales Items',\n        walkMe: {\n            id: 320556,\n            nodeId: 2720252,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-input-exporting': {\n        label: 'Exporting an Item Level Report',\n        walkMe: {\n            id: 371026,\n            nodeId: 3279537,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-input-video-overview': {\n        label: 'Understanding Your Sales Input',\n        walkMe: {\n            id: 364541,\n            nodeId: 3210824,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-performance-understanding': {\n        label: 'Understanding Your Sales Performance',\n        walkMe: {\n            id: 371043,\n            nodeId: 3279712,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-performance-editing': {\n        label: 'Editing Sales Items',\n        walkMe: {\n            id: 320556,\n            nodeId: 2720252,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-performance-exporting': {\n        label: 'Exporting an Item Level Report',\n        walkMe: {\n            id: 371026,\n            nodeId: 3279537,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-performance-video-overview': {\n        label: 'Understanding Your Sales Performance',\n        walkMe: {\n            id: 364545,\n            nodeId: 3210841,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-variance-understanding': {\n        label: 'Understanding Your Product Variance',\n        walkMe: {\n            id: 371050,\n            nodeId: 3279741,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-variance-exporting': {\n        label: 'Exporting an Item Level Report',\n        walkMe: {\n            id: 371026,\n            nodeId: 3279537,\n        }\n    },\n    'walkme-context-help-sales-item-level-report-variance-video-understanding': {\n        label: 'What is Variance',\n        walkMe: {\n            id: 364527,\n            nodeId: 3210791,\n        }\n    },\n    'walkme-context-help-my-items': {\n        label: 'Items',\n        walkMe: {\n            id: 412743,\n            nodeId: 3765967,\n        }\n    },\n    'walkme-context-help-my-items-catalog': {\n        label: 'Using the Catalog',\n        walkMe: {\n            id: 412766,\n            nodeId: 3766149,\n        }\n    },\n    'walkme-context-help-my-items-creating': {\n        label: 'Creating Items',\n        walkMe: {\n            id: 412768,\n            nodeId: 3766165,\n        }\n    },\n    'walkme-context-help-my-items-video-overview': {\n        label: 'Items Overview',\n        walkMe: {\n            id: 364548,\n            nodeId: 3210854,\n        }\n    },\n    'walkme-context-help-my-items-video-bulk-edit': {\n        label: 'Saving Time by Bulk Editing',\n        walkMe: {\n            id: 364549,\n            nodeId: 3210871,\n        }\n    },\n    'walkme-context-help-my-items-video-adding-items': {\n        label: 'Adding Items to Your Account',\n        walkMe: {\n            id: 364472,\n            nodeId: 3210296,\n        }\n    },\n    'walkme-context-help-my-items-video-importing-items-from-invoices': {\n        label: 'Importing Items from Invoices',\n        walkMe: {\n            id: 415873,\n            nodeId: 3799821,\n        }\n    },\n    'walkme-context-help-my-items-video-creating-items': {\n        label: 'How to Create Custom Items',\n        walkMe: {\n            id: 365321,\n            nodeId: 3220301,\n        }\n    },\n    'walkme-context-help-my-storage-areas': {\n        label: 'Storage Areas',\n        walkMe: {\n            id: 230296,\n            nodeId: 1781955,\n        }\n    },\n    'walkme-context-help-my-torage-areas-catalog': {\n        label: 'Using the Catalog',\n        walkMe: {\n            id: 412766,\n            nodeId: 3766149,\n        }\n    },\n    'walkme-context-help-my-torage-areas-creating': {\n        label: 'Creating Items',\n        walkMe: {\n            id: 412768,\n            nodeId: 3766165,\n        }\n    },\n    'walkme-context-help-my-storage-areas-video-overview': {\n        label: 'Staying Organized with Storage Areas',\n        walkMe: {\n            id: 364551,\n            nodeId: 3210872,\n        }\n    },\n    'walkme-context-help-my-vendors': {\n        label: 'Vendors',\n        walkMe: {\n            id: 232328,\n            nodeId: 1802257,\n        }\n    },\n    'walkme-context-help-my-vendors-video-overview': {\n        label: 'Managing Your Vendor Relationships',\n        walkMe: {\n            id: 364553,\n            nodeId: 3210874,\n        }\n    },\n    'walkme-context-help-account-settings': {\n        label: 'Updating Account Settings',\n        walkMe: {\n            id: 315851,\n            nodeId: 2672244,\n        }\n    },\n    'walkme-context-help-account-settings-video-overview': {\n        label: 'Keeping Your Account Settings Updated',\n        walkMe: {\n            id: 364554,\n            nodeId: 3210875,\n        }\n    },\n    'walkme-context-help-users-settings': {\n        label: 'Inviting and Managing Users',\n        walkMe: {\n            id: 236300,\n            nodeId: 2671752,\n        }\n    },\n    'walkme-context-help-users-settings-video-overview': {\n        label: 'Invite Your Team to Help in BevSpot',\n        walkMe: {\n            id: 364556,\n            nodeId: 3210891,\n        }\n    },\n    'walkme-context-help-plans-billing-setup-cc': {\n        label: 'Setting Up Credit Card Payments',\n        walkMe: {\n            id: 315831,\n            nodeId: 2672098,\n        }\n    },\n    'walkme-context-help-plans-billing-setup-ach': {\n        label: 'Setting Up ACH Bank Payments',\n        walkMe: {\n            id: 315814,\n            nodeId: 2671949,\n        }\n    },\n    'walkme-context-help-plans-billing-video-overview': {\n        label: 'Keeping Your Payments Updated',\n        walkMe: {\n            id: 364560,\n            nodeId: 3210958,\n        }\n    },\n};\n\nconst buildWalkMeLink = (linkId : HelpLinkId) => {\n    const linkInfo = HELP_LINK_INFO[linkId];\n    const isMobile = window.matchMedia('(max-width: ' + MAX_TABLET_WIDTH + 'px)').matches;\n    const handleClick = !isMobile ? undefined : (event : React.MouseEvent<HTMLAnchorElement>) => {\n        if (isMobile && typeof window.WalkMeAPI !== 'undefined') {\n            window.WalkMeAPI.startFlowById(linkInfo.walkMe.id, linkInfo.walkMe.nodeId);\n        }\n    };\n\n    return <li><a id={ linkId } onClick={ handleClick }>{ linkInfo.label }</a></li>;\n};\n\n/** End Workaround for WalkMe on Mobile */\n\nconst getContentAccountDashboard = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Dashboard Overview</h5>\n                    <p>\n                        Your BevSpot Dashboard is the first place you will land every time you log into your BevSpot account.\n                        It shows you high-level insights about your restaurant program such as sitting inventory, product\n                        usage trends over time, and it’s a great place to check in with the overall efficiency of your bar or\n                        kitchen.\n                    </p>\n                    <h5>Why is my Account History graph showing I haven’t taken an inventory yet?</h5>\n                    <p>Your account dashboard will not populate your inventory data in real-time. If you want more real-time data on your inventory, go to the Usage Report or the Inventory History page.</p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink(window.GLOBAL_RETAILER_IS_IN_FREE_TRIAL ? 'walkme-context-help-dashboard-getting-around-bevspot-trial' : 'walkme-context-help-dashboard-getting-around-bevspot-customer') }\n                    { buildWalkMeLink('walkme-context-help-dashboard-insights') }\n                    { buildWalkMeLink('walkme-context-help-dashboard-taking-inventory') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            let dashboardVideo : JSX.Element;\n            if (window.GLOBAL_RETAILER_IS_IN_FREE_TRIAL) {\n                dashboardVideo = buildWalkMeLink('walkme-context-help-dashboard-video-dashboard-free-trial');\n            } else {\n                dashboardVideo = buildWalkMeLink('walkme-context-help-dashboard-video-dashboard');\n            }\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { dashboardVideo }\n                    { buildWalkMeLink('walkme-context-help-dashboard-video-group-adding-items') }\n                    { buildWalkMeLink('walkme-context-help-dashboard-video-group-first-inventory') }\n                    { buildWalkMeLink('walkme-context-help-dashboard-video-group-first-order') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentPriceChangeReport = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>How can I find the history of an item?</h5>\n                    <p>Click on the blue dotted line under ‘Total Spent’ to see any item’s historical breakdown.</p>\n                    <h5>What are the benefits of this report?</h5>\n                    <p>\n                        Tracking price changes over time from your vendors will allow you to make better buying decisions,\n                        work out contract pricing with your reps, and make sure you are always charging your guests the\n                        right amount to maximize your profits.\n                    </p>\n                    <h5>How can I customize the view?</h5>\n                    <p>\n                        Organize this page by All Items, Category, Subcategory, or Vendor. Stack the columns to view the\n                        report in several different ways. A good place to start is with the Total Spent Change and\n                        Price Change % columns.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-price-tracker-report-run') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-price-tracker-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentUsageReport = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Usage Report Overview</h5>\n                    <p>\n                        Usage is the amount of every/all products you deplete from stock between two inventory counts.\n                        Usage in BevSpot is calculated by taking your past inventory, adding your received inventory,\n                        and subtracting your ending inventory\n                        <img />\n                    </p>\n                    <p>\n                        The Usage Report will allow you to properly track your product usage. You’ll be able to see\n                        exactly how much stock you are going through to ensure responsible ordering, and to know how\n                        much of your usage was lost product.\n                    </p>\n                    <h5>What is negative usage and what does it mean?</h5>\n                    <p>\n                        Negative usage means unexplained growth for any item. You have more in this count than\n                        you did in your last count without enough deliveries or transfers in between explaining\n                        why. Since this isn’t actually possible, errors in usage should be addressed ASAP so you\n                        can make edits to correct them. Inaccurate usage data can lead to incorrect and misleading\n                        sales reports.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-usage-report-run') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-usage-report-video-overview') }\n                    { buildWalkMeLink('walkme-context-help-usage-report-video-negative-usage') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentExcessInventoryReport = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Excess Inventory Overview</h5>\n                    <p>\n                        The Excess Inventory report will show you which items you may have too much of in-house based\n                        on your average usage. This will allow you to visualize the issue, slow down spending on these\n                        items, and even start to feature them more to get them moving out of the storage room. Products\n                        that are just sitting on your shelves are not bringing in any profits, and do no good for your\n                        business.\n                    </p>\n                    <h5>How can I reduce my Excess Inventory?</h5>\n                    <ul>\n                        <li>\n                            Utilize the Smart Cart ordering feature in your account to make sure you aren’t ordering\n                            more than you will actually need to get through the next 2-3 weeks. This will help free\n                            up some cash that you can put towards other business costs.\n                        </li>\n                        <li>\n                            Educate your staff on how to better sell these items and/or work them into daily specials\n                            that feature them more prominently.\n                        </li>\n                    </ul>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-excess-inventory-report-run') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-excess-inventory-report-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentUnusedInventoryReport = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Unused Inventory Overview</h5>\n                    <p>\n                        The Unused Inventory report will show you all the items that have not been used between two\n                        finished inventory counts. Knowing this information can help you push certain items to increase\n                        your profits and cash flow.\n                    </p>\n                    <h5>How can I reduce my Unused Inventory?</h5>\n                    <p>\n                        Stop purchasing these items and put an increased focus on moving them out of your storage\n                        room. Educate your staff on how to better sell these items and/or work them into daily\n                        specials that feature them more prominently.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-unused-inventory-report-run') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-unused-inventory-report-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentTransferReport = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Transfer Report Overview</h5>\n                    <p>\n                        The Transfer Report will allow you to properly track the transfers in or out of your account\n                        over a specific date range. Being able to see this will show how much product you send\n                        to/receive from other parts of your business (kitchen, marketing, etc), or with any other\n                        bars/restaurants you are associated with in BevSpot.\n                    </p>\n                    <p>\n                        Exporting this report to Excel will allow you to share this data with owners, co-workers,\n                        or accountants in order to help run a more efficient business.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-transfer-report-run') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-transfer-report-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentLossReport = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Loss Report Overview</h5>\n                    <p>\n                        The Loss Report will allow you to track and report on all the recorded loss in your BevSpot\n                        account over a specific date range. Being able to categorize and view your loss over time will\n                        give you more transparency into how efficient you are being with your products, and allow you\n                        to make changes before loss becomes detrimental to your business.\n                    </p>\n                    <p>\n                        Exporting this report to Excel will allow you to share this data with owners, co-workers, or\n                        accountants in order to help run a more efficient business.\n                    </p>\n                    <h5>What does a loss record do?</h5>\n                    <p>\n                        A loss record can be used to record events like spills. A loss does not affect your usage, but\n                        you can see how much of your usage is due to loss in the Usage Report.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-loss-report-run') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-loss-report-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentPrepReport = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Prep Report Overview</h5>\n                    <p>\n                        The Prep Report will allow you to track and report on your prepared items to see over time when\n                        certain items were made, the cost, and how much of each ingredient went into each item. This will\n                        help you make good decisions about your prep habits so you don’t end up with excess prep.\n                    </p>\n                    <p>\n                        Exporting this report to Excel will allow you to share this data with owners, co-workers,\n                        or accountants in order to help run a more efficient business.\n                    </p>\n                    <h5>What is a prepared item?</h5>\n                    <p>\n                        A Prepared Item in BevSpot is something that you create from pre-existing inventory items\n                        like a pre-made batch of cocktails or a homemade sauce.\n                    </p>\n                    <h5>How do I record a prepared item?</h5>\n                    <p>\n                        Prepared Items can be made from the Inventory History page.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-prep-report-run') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-prep-report-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentInventoryHistory = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Inventory Overview</h5>\n                    <p>\n                        Your Inventory History will allow you to view and access any inventory, order, transfer, loss,\n                        or prepared item that you’ve recorded in your account. Once you’ve finished some inventory counts,\n                        the top of this page will show you some helpful data that relates to your most recent inventory,\n                        and can help you maintain healthy inventory levels at your restaurant.\n                    </p>\n                    <h5>What is represented in the graphs?</h5>\n                    <p>\n                        The graph on the left shows your top stocked products by dollar value, and represents where most of\n                        your inventory dollars are currently tied up. The graph to the right shows your top stocked products\n                        by number of units, and generally will be an indicator of where most of your storage space is\n                        currently tied up.\n                    </p>\n                    <h5>How do I export my inventory counts and my list of items?</h5>\n                    <p>\n                        Open up any finished inventory count. From the Count Summary page, click the more actions\n                        button at the top of the screen (three vertical dots), and select the Export to Excel option.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-inventory-history-first-count') }\n                    { buildWalkMeLink('walkme-context-help-inventory-history-recording-loss') }\n                    { buildWalkMeLink('walkme-context-help-inventory-history-adding-transfers') }\n                    { buildWalkMeLink('walkme-context-help-inventory-history-recording-prep-item') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-inventory-history-video-overview') }\n                    { buildWalkMeLink('walkme-context-help-inventory-history-video-first-inventory') }\n                    { buildWalkMeLink('walkme-context-help-inventory-history-video-recording-loss') }\n                    { buildWalkMeLink('walkme-context-help-inventory-history-video-adding-transfers') }\n                    { buildWalkMeLink('walkme-context-help-inventory-history-video-recording-prep-item') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentInventoryDraft = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <p>\n                        With our inventory calculator, you’ll have the flexibility to count your inventory items in a\n                        number of different ways. You can use the calculator to add individual units to cases, the slider\n                        tool to match the level in partial bottles, and even by weight for bottles, kegs and food items.\n                    </p>\n                    <div>\n                        <h5>How do I get my items to match the order they sit on the shelves in my restaurant?</h5>\n                        <ul>\n                            <li>\n                                Custom Sorting in BevSpot represents a \"sheet-to-shelf\" organization of your items.\n                                You can set it up by dragging and dropping items into the correct order that items sit\n                                on yours shelves, or while you are taking an inventory count. Count an entire storage area\n                                in the proper order, and then select ‘Arrange by Last Edit’ in the more actions (three dots)\n                                menu at the top of the screen.\n                            </li>\n                        </ul>\n                    </div>\n                    <p>\n                        If you lose your internet connection anywhere in your restaurant while taking an inventory count,\n                        BevSpot will allow you to take inventory with our Offline Mode. Continue to count as normal,\n                        but before you finish your inventory, or leave this count for another page in BevSpot, make sure\n                        you have reconnected to your WiFi to save the work you have done.\n                    </p>\n                    <div>\n                        <h5>What is negative usage and what does it mean?</h5>\n                        <ul>\n                            <li>\n                                Negative usage means unexplained growth for any item. You have more in this count than you\n                                did in your last count without enough deliveries or transfers in between explaining why.\n                                Since this isn’t actually possible, errors in usage should be addressed ASAP so you can\n                                make edits to correct them. Inaccurate usage data can lead to incorrect and misleading sales\n                                reports.\n                            </li>\n                        </ul>\n                    </div>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-counting-items') }\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-storage-areas') }\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-custom-sorting') }\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-exporting-records') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { window.GLOBAL_RETAILER_ACCOUNT_TYPE === 'beverage' &&\n                        buildWalkMeLink('walkme-context-help-inventory-draft-video-counting-items-beverage')\n                    }\n                    { window.GLOBAL_RETAILER_ACCOUNT_TYPE === 'food' &&\n                        buildWalkMeLink('walkme-context-help-inventory-draft-video-counting-items-food')\n                    }\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-video-storage-areas-desktop') }\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-video-custom-sorting') }\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-video-offline-mode') }\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-video-negative-usage') }\n                    { buildWalkMeLink('walkme-context-help-inventory-draft-video-exporting-records') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentOrderHistory = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Order History Overview</h5>\n                    <p>\n                        This page hosts all of your order records, and it will show you some helpful graphs that relate\n                        to your ordering history. These are going to display useful info around your top ordered products,\n                        and historical value of products ordered from your vendors.This is also where your weekly invoicing\n                        of deliveries will take place, and where you will be able to download your order history via excel\n                        to send off to your accountant for more accurate record keeping.\n                    </p>\n                    <h5>What does each record status indicate?</h5>\n                    <ul>\n                        <li>Communicated - this order was sent to your vendor rep via BevSpot.</li>\n                        <li>Recorded - this order was recorded by not sent to your vendor rep via BevSpot.</li>\n                        <li>Delivered - this order has been balanced with the delivery invoice and confirmed as delivered.</li>\n                    </ul>\n                    <h5>What is represented in the graphs?</h5>\n                    <p>\n                        The data in these graphs shows you total spend over time per vendor, and by brand. These numbers can\n                        help you work out deals and contract pricing with your vendors to help lower costs and drive profits\n                        over time.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-order-history-record-past-invoice') }\n                    { buildWalkMeLink('walkme-context-help-order-history-balancing-invoices-confirming-deliveries') }\n                    { buildWalkMeLink('walkme-context-help-order-history-exporting-records') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-order-history-video-overview') }\n                    { buildWalkMeLink('walkme-context-help-order-history-video-first-order') }\n                    { window.GLOBAL_FEATURE_ACCESS.invoice_processing &&\n                        buildWalkMeLink('walkme-context-help-order-history-video-record-past-invoice')\n                    }\n                    { buildWalkMeLink('walkme-context-help-order-history-video-confirming-deliveries') }\n                    { buildWalkMeLink('walkme-context-help-order-history-video-exporting-records') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentOrderDetail = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Order Detail</h5>\n                    <p>\n                        This page represents a single order from one of your vendors in BevSpot. On your order detail you can\n                        upload the corresponding invoice, and reconcile your BevSpot order to match what was delivered on the\n                        invoice. This is also where you’ll be reviewing any invoices that were processed for you.\n                    </p>\n                    <h5>Why do I have to \"Find a Match\" for so many items?</h5>\n                    <p>\n                        As you begin getting your invoices processed by BevSpot, you’ll need to match some items from your\n                        account to the items on the invoice. The primary way we automatically match items for you is based\n                        on the SKU number that you attach in your account. The more items you add SKUs for, the less you will\n                        need to manually match going forward.\n                    </p>\n                    <h5>Why are there duplicate items here?</h5>\n                    <p>\n                        The second table only represents what was not successfully matched. Once you match the items in the top\n                        table to the items in your account these \"duplicates\" will go away. Any remaining items are items that\n                        were ordered but did not come through on the invoice.\n                    </p>\n                    <h5>Jump to Another Order</h5>\n                    <p>\n                        This will allow you to quickly navigate from order to order without having to leave this screen,\n                        allowing for faster delivery confirmation every week.\n                    </p>\n                    <h5>Additional Adjustments</h5>\n                    <p>\n                        This section is where you can account for line items on your invoice such as charges, credits, or\n                        taxes that you don’t want to track against your COGS.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-order-detail-invoices-deliveries') }\n                    { buildWalkMeLink('walkme-context-help-order-detail-reviewing-processed-invoices') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-order-detail-video-confirming-deliveries') }\n                    { buildWalkMeLink('walkme-context-help-order-detail-video-reviewing-invoices') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentCartBuilder = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Smart Cart Overview</h5>\n                    <p>\n                        On this page you’ll be able to see how much of any item you have in-stock (based on your most recent\n                        inventory), what your average weekly usage is, or what your pars are. This will help you fill your\n                        shopping cart with only what you need.\n                    </p>\n                    <h5>How does Smart Cart work?</h5>\n                    <p>\n                        Smart Cart will fill your shopping cart for you based on your pars or a variable of your average\n                        weekly usage. If you are taking regular, accurate inventories in BevSpot, Smart Cart can help you\n                        cut back on over-ordering, lower your sitting inventory levels, and save you hours of ordering time\n                        every week.\n                    </p>\n                    <h5>What’s the difference between placing and recording orders?</h5>\n                    <p>\n                        Placing an order in BevSpot will send it to your vendor rep and log it on your\n                        Order History page. Recording an order will just log it on your Order History page.\n                        This will allow you to log orders that you may have communicated to your vendors outside\n                        of BevSpot.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-cart-builder-placing-orders') }\n                    { buildWalkMeLink('walkme-context-help-cart-builder-using-smart-cart') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-cart-builder-video-placing-orders') }\n                    { buildWalkMeLink('walkme-context-help-cart-builder-video-smart-cart') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentSalesHistory = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Sales History Overview</h5>\n                    <p>\n                        This page shows you can the total sales for your most recent sales period, usage from inventory,\n                        pour cost, and your variance for this period. Having this information at a glance will make sure\n                        you always know how profitable your bar or kitchen program is. You’ll also be able to click into\n                        any previously run report, or start a new sales report from this page as well.\n                    </p>\n                    <h5>How can I get the correct data from my POS to submit to BevSpot for processing?</h5>\n                    <p>\n                        Since every POS system is different,\n                        use the <a data-elevio-article=\"165\">linked instructions</a> for\n                        your POS to make sure you are submitting exactly the right information to our team for\n                        prompt processing. If you don’t see your POS listed below, please reach out to our support\n                        team with the chat feature in your account to see how we can get these reports to you in BevSpot.\n                    </p>\n                    <h5>What is variance and how is it calculated?</h5>\n                    <p>\n                        Variance is the difference between your sales and inventory usage data listed as a percentage\n                        of your actual use from inventory. To calculate variance, take the cost of goods from what you\n                        sold, and subtract your inventory usage for this sales period. Take this new number, divide it\n                        by your inventory usage and that will give you your percentage of variance for this sales period.\n                    </p>\n                    <p>\n                        Cost percentage represents what percentage of each drink or dish you sell is raw cost of goods. If it\n                        costs $2 to make a drink and you sell it for $10, your cost percent is 20%. The lower your cost\n                        percentage, the higher your profit margins are.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-history-understanding') }\n                    { buildWalkMeLink('walkme-context-help-sales-history-starting-new-report') }\n                    { buildWalkMeLink('walkme-context-help-sales-history-starting-new-category-report') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-history-video-overview') }\n                    { buildWalkMeLink('walkme-context-help-sales-history-video-first-report-setup') }\n                    { buildWalkMeLink('walkme-context-help-sales-history-video-submitting-data') }\n                    { buildWalkMeLink('walkme-context-help-sales-history-video-understanding-variance') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentMySalesItem = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>My Sales Items History</h5>\n                    <p>\n                        My Sales Items is where you store all the items you sell through your kitchen or bar program.\n                        These are built by adding ingredients, POS ID, menu cost, etc, and these are the items that our\n                        team will use to run your Item Level Sales reports. Having all of your sales items stored like\n                        this in one place will allow you to monitor cost, and make any edits needed to always be maximizing\n                        profits.\n                    </p>\n                    <h5>How do I edit my sales items?</h5>\n                    <p>\n                        To make edits on your sales items, click into an item and update any necessary fields. You’ll have\n                        the ability to save these changes for all future reports, or change historical reports with these\n                        edits. Being able to update your sales info easily will make sure you always have the most accurate\n                        info about your business at all times.\n                    </p>\n                    <h5>What are items needing attention?</h5>\n                    <p>\n                        Items Needing Attention are sales items that our team here at BevSpot has flagged for you to edit.\n                        This is usually because they don’t have enough information to accurately run sales reports for this\n                        sales item. Some reasons for this are a missing recipe, ingredients not in inventory, duplicate\n                        products, and more. You’ll be able to remove the flag for this item once you have made the necessary\n                        updates, and your reporting data will become more valuable to you.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-items-creating') }\n                    { buildWalkMeLink('walkme-context-help-sales-items-need-attention') }\n                    { buildWalkMeLink('walkme-context-help-sales-items-exporting') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-items-video-creating') }\n                    { buildWalkMeLink('walkme-context-help-sales-items-video-tax-percent') }\n                    { buildWalkMeLink('walkme-context-help-sales-items-video-need-attention') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentCategorySalesReport = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <p>\n                        On the Category Sales Report, you’ll see the total sales, cost and profit by category displayed on\n                        pie graphs for the specified sales period. Each graph shows the proportional amounts with the actual\n                        values available when you hover. You can also see the values in the table, for reference.\n                    </p>\n                    <p>\n                        If you notice that a certain category is running at a higher cost percent than you’d like, you can\n                        take a look at your Sales Items page to see if you can make some pricing changes. You can also use\n                        other categories like spirits to make up for more expensive categories like draught beer.\n                    </p>\n                    <p>\n                        If you make a mistake, or need to change the underlying sales data, you can click the button at the\n                        top of the screen to go back to the configuration page to make those edits and rerun the report to\n                        make it more accurate.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-category-report-creating') }\n                    { buildWalkMeLink('walkme-context-help-sales-category-report-understanding') }\n                    { buildWalkMeLink('walkme-context-help-sales-category-report-exporting') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-category-report-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentItemLevelSalesReportSummary = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <p>\n                        This is the summary page of your report, and it will show you some high-level info about your most\n                        recent sales period. You’ll see the total sales, cost percentage, usage from inventory, product\n                        variance, item sales performance, and sales by category.\n                    </p>\n                    <p>\n                        With the Item Sales Performance Graph, you can filter the graph by your top/bottom 20, 50, or 100\n                        performing sales items by dollar sales or unit sales. Hovering over each plot point will show some\n                        underlying sales info each sales item. You want to see these sitting in the upper-right corner of\n                        this graph as this will indicate you are maximizing profits for these sales items.\n                    </p>\n                    <p>\n                        Variance is the difference between your sales and inventory usage data listed as a percentage of\n                        your actual use from inventory. To calculate variance, take the cost of goods from what you sold,\n                        and subtract your inventory usage for this sales period. Take this new number, divide it by your\n                        inventory usage and that will give you your percentage of variance for this sales period.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-summary-creating') }\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-summary-understanding') }\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-summary-exporting') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-summary-video-overview') }\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-summary-video-variance') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentItemLevelSalesReportInput = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <p>\n                        This page is a ramped up version of your POS Sales Data that you submitted to our Support team here\n                        at BevSpot. Unlike your POS Data, this includes your pour cost and percentage for each of the sales\n                        items you track in BevSpot. One great way to sort this page is by clicking on the \"Net Sales by $\n                        Amount\" column to show the items that brought the most revenue during this sales period.\n                    </p>\n                    <p>\n                        Click into any sales item and update any necessary fields. When saving these changes a the pop-up\n                        will appear that asks how you want to save these changes. \"Only Future Reports\" will update this\n                        sales item in all future reports, but \"This and Future Reports\" will update this sales item in\n                        all past AND future reports.\n                    </p>\n                    <p>\n                        There are a few valuable ways to view this data. Group by All Items, Category, Menu Group, or Item\n                        Type. You can also stack the columns in different ways to create different views within each of\n                        those group by options.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-input-understanding') }\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-input-editing') }\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-input-exporting') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-input-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentItemLevelSalesReportPerformance = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <p>\n                        The Sales Performance page is where you’ll really be able to dig deep and see which of your sales\n                        items are your top performers and which are your bottom performers for this sales period by Sales,\n                        Cost, and Profitability.\n                    </p>\n                    <p>\n                        Keep an eye on your top sellers on this page. If you notice that the items you sell the most of tend\n                        to be lower on the list in profitability, consider adjusting pricing or re-working the recipe a bit\n                        to boost your profit margins.\n                    </p>\n                    <p>\n                        There are a few valuable ways to view this data. Group by All Items, Category, Menu Group, or Item\n                        Type. You can also stack the columns in different ways to create different views within each of\n                        those group by options.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-performance-understanding') }\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-performance-editing') }\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-performance-exporting') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-performance-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentItemLevelSalesReportVariance = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <p>\n                        Your variance is showing you what percentage of your inventory usage can’t be accounted for in your\n                        sales. In other words, your variance is showing how much of your raw cost of goods was used, but\n                        didn't bring in any sales or profits during this period.\n                    </p>\n                    <div>\n                        <p><strong>How do I modify the items included in the variance calculation?</strong></p>\n                        <ul>\n                            <li>\n                                You can use the eyeball icon to change the inclusion status of any of your products.\n                                Excluded inventory items will not affect your overall calculated pour cost or variance.\n                                This is useful for items like paper goods, add-ons, and garnishes that may not be easily\n                                attached to a specific recipe.\n                            </li>\n                        </ul>\n                    </div>\n                    <p>\n                        There are a few valuable ways to view this data. Group by All Items, Category, Menu Group, or Item\n                        Type. You can also stack the columns in different ways to create different views within each of those\n                        group by options.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-variance-understanding') }\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-variance-exporting') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-sales-item-level-report-variance-video-understanding') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentMyItems = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Items Overview</h5>\n                    <p>\n                        The Items page is your control hub for all the items you track in BevSpot. By clicking the\n                        check-boxes next to multiple items, you will bring up the bulk-editing options at the top of\n                        the screen. You’ll be able to edit Category, Subcategory, Case Size, Unit Packaging, Vendor,\n                        and GL Code for multiple items at the same time. You can also Archive or Delete items in bulk.\n                        This will save you lots of time when maintaining your account.\n                    </p>\n                    <h5>How can I add more items to my account?</h5>\n                    <p>\n                        Use the options at the top of this page to add new items in bulk by uploading product lists or\n                        invoices. You can also search through our catalog (beverage only) to find new items, or quickly\n                        create custom items to keep your account up to date.\n                    </p>\n                    <p>\n                        <em>\n                            <strong>Note:</strong> Keep an eye out to delete any duplicates added through bulk or invoice\n                            upload to keep a clean account.\n                        </em>\n                    </p>\n                    <h5>How do archived items work?</h5>\n                    <p>\n                        Archive seasonal items to keep your account organized and clutter-free. To view Archived items,\n                        select to view by All or Archived items with the View By options. You’ll be able to re-activate any\n                        item from this list at any time.\n                    </p>\n                    <h5>How do deleted items work?</h5>\n                    <p>\n                        Delete anything from your account that may be discontinued at your restaurant. To view Deleted items,\n                        click the link under the View By and Group By options list. You’ll be able to restore any deleted item\n                        from this list at any time.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-my-items') }\n                    { window.GLOBAL_RETAILER_ACCOUNT_TYPE === 'beverage' &&\n                        buildWalkMeLink('walkme-context-help-my-items-catalog')\n                    }\n                    { buildWalkMeLink('walkme-context-help-my-items-creating') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-my-items-video-overview') }\n                    { buildWalkMeLink('walkme-context-help-my-items-video-bulk-edit') }\n                    { buildWalkMeLink('walkme-context-help-my-items-video-adding-items') }\n                    { buildWalkMeLink('walkme-context-help-my-items-video-importing-items-from-invoices') }\n                    { buildWalkMeLink('walkme-context-help-my-items-video-creating-items') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentMyStorageAreas = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Storage Areas Overview</h5>\n                    <p>\n                        By clicking the check-boxes next to multiple items, you will bring up the bulk-assign them to storage\n                        areas. Use the Assign Selected drop-down list to select which storage areas to assign these item to\n                        before clicking Save. This will save you time when maintaining your account, and allow you to keep\n                        your inventory items organized for accurate inventory counts.\n                    </p>\n                    <h5>How many storage areas should I have?</h5>\n                    <p>\n                        We recommend making your storage areas as granular as possible to make your counts more accurate.\n                        General rule of thumb is to have every item appear in each storage area only once, so if any aspects\n                        of your kitchen or bar mirror themselves (left well, right well, etc) it is best to make separate\n                        storage areas for each.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-my-storage-areas') }\n                    { window.GLOBAL_RETAILER_ACCOUNT_TYPE === 'beverage' &&\n                        buildWalkMeLink('walkme-context-help-my-torage-areas-catalog')\n                    }\n                    { buildWalkMeLink('walkme-context-help-my-torage-areas-creating') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-my-storage-areas-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentMyVendors = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Vendors Overview</h5>\n                    <p>\n                        This is where you store your vendor’s and sales rep contact info. To add a new vendor, use the search\n                        bar at the top of the screen and select the vendor you are looking to add. If you can’t find your\n                        vendor on this list, you’ll see the option to create a vendor in your account.\n                    </p>\n                    <h5>How does my vendor receive my order?</h5>\n                    <p>\n                        By saving your sales rep’s email and/or cell phone number, BevSpot will email or text your orders to\n                        your sales reps. You’ll be able to send all your orders out at the same time to all your vendors. This\n                        will save you hours every week in contacting each of your vendors one at a time.\n                    </p>\n                    <h5>What does the red “i” mean next to a vendor?</h5>\n                    <p>\n                        Your vendors will be called out with the red “i” when you don’t have a sales rep’s contact info saved to\n                        the vendor. We highly recommend adding the email and the cell phone number when available for each\n                        of your vendor sales reps.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-my-vendors') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-my-vendors-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentAccountSettings = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Who should be added to my account?</h5>\n                    <p>\n                        You should CC any/all co-workers who need to know about orders going out or deliveries coming in.\n                        This will help make your internal operations more efficient and give everybody the information they\n                        need to do their job effectively.\n                    </p>\n                    <h5>What do the accounting preferences affect?</h5>\n                    <p>\n                        Since some bars and restaurants don’t run on a typical fiscal schedule, you’ll be able to customize\n                        your accounting preferences to align with how you run your business. Changing this here will\n                        reorganize your Order History page to reflect these updates.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-account-settings') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-account-settings-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentUsersSettings = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Users Overview</h5>\n                    <p>\n                        We’ve found that our customers who invite their co-workers to join them in BevSpot run faster,\n                        more efficient inventories, and see increased profits over time. Just like at your restaurant,\n                        you shouldn’t be expected to do everything yourself.\n                    </p>\n                    <h5>Is there a user limit to my account?</h5>\n                    <p>\n                        Regardless of your plan, BevSpot offers <strong>unlimited users</strong> so we recommend inviting the entire team to\n                        join you in your account. This will help make sure you never miss a count, delivery, or report while\n                        running the business.\n                    </p>\n                    <h5>What options do I have if I’m the account admin?</h5>\n                    <p>\n                        If you’re an admin on your account, the permissions on the Users page will allow you to manage who\n                        can access/utilize certain parts of your BevSpot account. By being able to streamline your team's\n                        responsibilities in BevSpot, you’ll make sure nobody loses focus of the task at hand.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-users-settings') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-users-settings-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentPlansAndBilling = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg context-tab-body-help-tab\">\n                    <h5>Plans and Billing Overview</h5>\n                    <p>\n                        BevSpot is an online software solution, so there's no need to download an native app and you're\n                        always automatically up-to-date. BevSpot will work the same across smartphone, tablet, and desktop.\n                    </p>\n                    <h5>How long is the BevSpot Free Trial?</h5>\n                    <p>\n                        There is no time limit to a BevSpot free trial. You will be able to use all the core\n                        functions of a BevSpot Pro account up until you finish your third inventory count and your\n                        fifth order.\n                    </p>\n                    <h5>How many users do I get based on the plan I choose?</h5>\n                    <p>\n                        Regardless of your plan, BevSpot offers unlimited users so we recommend inviting the entire\n                        team to join you in your account. This will help make sure you never miss a count, delivery,\n                        or report while running the business.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-plans-billing-setup-cc') }\n                    { buildWalkMeLink('walkme-context-help-plans-billing-setup-ach') }\n                </ul>\n            );\n        case ContextTab.VIDEOS:\n            return (\n                <ul className=\"context-tab-body cell-p-lg\">\n                    { buildWalkMeLink('walkme-context-help-plans-billing-video-overview') }\n                </ul>\n            );\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n\nconst getContentIntegrations = (tab : ContextTab) => {\n    switch (tab) {\n        case ContextTab.HELP:\n            return (\n                <div className=\"context-tab-body cell-p-lg\">\n                    <h5>Does BevSpot work with my POS?</h5>\n                    <p>\n                        BevSpot works with any POS system including, but not limited to, Aloha, Micros, POSitouch, Clover,\n                        Square, and more. We have direct integrations with Breadcrumb and Toast.\n                    </p>\n                    <p>\n                        We’ve been able to work with over 30 different POS systems in the food and beverage industry.\n                        Chat with our team to make sure this setup goes as smoothly as possible.\n                    </p>\n                </div>\n            );\n        case ContextTab.TUTORIAL:\n        case ContextTab.VIDEOS:\n        case ContextTab.HOME:\n        default:\n            return noContentDefault;\n    }\n};\n","import { ThunkAction, IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport UnauthenticatedUserSessionModel from 'gen-thrift/unauthenticated_user_session_Model_types';\n\nimport { IUserAccountInfoReader } from 'api/UserAccount/interfaces/IUserAccountInfoReader';\nimport { IAccountRetailerData } from 'api/UserAccount/model/AccountInfo';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { IUserAccountRetailersIdsByGroup } from 'api/UserAccount/model/UserAccountRetailersByGroup';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { DjangoApiManager } from 'shared/api/DjangoApiManager';\n\nimport { ContextTab } from './ContextTab';\nimport {\n    IUserAccountGroupInfo,\n    IUserAccountRetailer,\n    IUserAccountRetailersByGroup,\n } from './reducers';\n import { ISignUpOptionsState } from './types';\n\nimport { IAccountSessionCreator } from 'shared/lib/account/interfaces/IAccountSessionCreator';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { IAccountSessionTerminator } from 'shared/lib/account/interfaces/IAccountSessionTerminator';\nimport { ICookieDeleter } from 'shared/lib/cookie/interfaces/ICookieDeleter';\nimport { ICookieReader } from 'shared/lib/cookie/interfaces/ICookieReader';\nimport { IQueryStringReader } from 'shared/lib/url/interfaces/IQueryStringReader';\n\nimport { ISignUpData } from 'shared/components/SignUpOrSignIn/ISignUpData';\n\nimport { UnknownCookieException } from 'shared/lib/cookie/exceptions/UnknownCookieException';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { QueryStringNameNotFoundException } from 'shared/lib/url/exceptions/QueryStringNameNotFoundException';\n\nimport { PageContext, UserSessionUtils, validatePath } from './userSessionUtils';\n\nimport { Auth } from 'aws-amplify';\nimport { Observer } from 'shared/utils/observer';\nimport { UserPasswordManagerImpl } from 'shared/lib/account/impl/UserPasswordManagerImpl';\nimport { UserAccountManagerImpl } from 'shared/lib/account/impl/UserAccountManagerImpl';\nimport { UserSessionManagerImpl } from 'shared/lib/account/impl/UserSessionManagerImpl';\nimport { UnauthenticatedUserSessionManagerImpl } from 'shared/lib/unauthenticated_user_session/impl/UnauthenticatedUserSessionManagerImpl';\nimport { USER_SESSION_COOKIE_NAME } from 'shared/lib/cookie/impl/CookieManagerImpl';\n\nexport const ActionTypes = {\n    FETCH_USER_INFO: 'USER_SESSION/FETCH_USER_INFO',\n    SET_USER_INFO: 'USER_SESSION/SET_USER_INFO',\n    SET_ACTIVE_TAB: 'USER_SESSION/SET_ACTIVE_TAB',\n    SET_AVAILABLE_TABS: 'USER_SESSION/SET_AVAILABLE_TABS',\n    SET_USER_POPDOWN_OPEN: 'USER_SESSION/SET_USER_POPDOWN_OPEN',\n    SET_USER_RETAILERS: 'USER_SESSION/SET_USER_RETAILERS',\n    SET_PAGE_CONTEXT: 'USER_SESSION/SET_PAGE_CONTEXT',\n};\n\nexport namespace ActionInterfaces {\n    export interface ISetUserRetailers extends IAction {\n        payload : {\n            userRetailers : IUserAccountRetailersByGroup\n        };\n    }\n\n    export interface ISetUserPopdownOpen extends IAction {\n        payload : {\n            open : boolean\n        };\n    }\n\n    export interface ISetAvailableTabs extends IAction {\n        payload : {\n            availabelTabs : Array<ContextTab>\n        };\n    }\n\n    export interface ISetActiveTab extends IAction {\n        payload : {\n            activeTab : ContextTab\n        };\n    }\n\n    export interface ISetUserInfo extends IAction {\n        payload : {\n            firstName : string,\n            lastName : string\n        };\n    }\n\n    export interface ISetPageContext extends IAction {\n        payload : {\n            pageContext : PageContext,\n        };\n    }\n\n    export interface IUserSessionActionCreatorsMapObject extends IActionCreatorsMapObject {\n        onSuccessfulSignIn : () => ThunkAction<Promise<void>, ISignUpOptionsState, {services : ActionInterfaces.IServices}>;\n        onSuccessfulSignUp : (\n            userAccountIdentifier : UserAccountId,\n            signUpData : ISignUpData,\n            retailerId : string | null,\n            isActionByAdmin : boolean,\n        ) => ThunkAction<Promise<UserAccountId>, ISignUpOptionsState, {services : ActionInterfaces.IServices}>;\n        logoutUser : () => ThunkAction<void, ISignUpOptionsState, { services : ActionInterfaces.IServices }>;\n        fetchUserInfo : () => ThunkAction<void, ISignUpOptionsState, {services : ActionInterfaces.IServices}>;\n        setUserPopdownOpen : (open : boolean) => ActionInterfaces.ISetUserPopdownOpen;\n        setUserRetailers : (userRetailers : IUserAccountRetailersByGroup) => ActionInterfaces.ISetUserRetailers;\n        setPageContext : (pageContext : PageContext) => ActionInterfaces.ISetPageContext;\n        setActiveTab : (activeTab : ContextTab) => ActionInterfaces.ISetActiveTab;\n        setAvailableTabs : (availableTabs : Array<ContextTab>) => ActionInterfaces.ISetAvailableTabs;\n        determinePageContext : () => ThunkAction<Promise<string>, ISignUpOptionsState, {services : ActionInterfaces.IServices}>;\n    }\n\n    export interface IServices {\n        userSessionCreator : IAccountSessionCreator<UserAccountId>;\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        userSessionTerminator : IAccountSessionTerminator;\n        userAccountInfoReader : IUserAccountInfoReader;\n        queryStringReader : IQueryStringReader;\n        cookieDeleter : ICookieDeleter;\n        cookieReader : ICookieReader;\n        userPasswordManager : UserPasswordManagerImpl;\n        userSessionManager : UserSessionManagerImpl;\n        userAccountManager : UserAccountManagerImpl;\n        unauthenticatedUserSessionManager : UnauthenticatedUserSessionManagerImpl;\n        djangoApiManager : DjangoApiManager;\n    }\n}\n\nconst setUserRetailers = (\n    userRetailers : IUserAccountRetailersByGroup\n) : ActionInterfaces.ISetUserRetailers => ({\n    payload: {\n        userRetailers,\n    },\n    type: ActionTypes.SET_USER_RETAILERS,\n});\n\nconst setUserPopdownOpen = (\n    open : boolean\n) : ActionInterfaces.ISetUserPopdownOpen => ({\n    payload: {\n        open,\n    },\n    type: ActionTypes.SET_USER_POPDOWN_OPEN,\n});\n\nconst setAvailableTabs = (\n    availabelTabs : Array<ContextTab>\n) : ActionInterfaces.ISetAvailableTabs => ({\n    payload: {\n        availabelTabs,\n    },\n    type: ActionTypes.SET_AVAILABLE_TABS,\n});\n\nconst setActiveTab = (\n    activeTab : ContextTab\n) : ActionInterfaces.ISetActiveTab => ({\n    payload: {\n        activeTab,\n    },\n    type: ActionTypes.SET_ACTIVE_TAB,\n});\n\nconst setUserInfo = (\n    firstName : string,\n    lastName : string\n) : ActionInterfaces.ISetUserInfo => ({\n    payload: {\n        firstName,\n        lastName,\n    },\n    type: ActionTypes.SET_USER_INFO,\n});\n\nconst setPageContext = (\n    pageContext : PageContext\n) : ActionInterfaces.ISetPageContext => ({\n    payload: {\n        pageContext\n    },\n    type: ActionTypes.SET_PAGE_CONTEXT,\n});\n\nconst fetchUserInfo = () : ThunkAction<void, ISignUpOptionsState, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        void extraArguments.services.userSessionReader.getAccountId()\n        .then((userAccountId : UserAccountId) => {\n            return Promise.all([\n                extraArguments.services.userAccountInfoReader.getAccountRetailers(userAccountId),\n                extraArguments.services.userAccountInfoReader.getAccountRetailersByGroup(userAccountId),\n                extraArguments.services.userAccountInfoReader.getAccountInfo(userAccountId),\n            ]).then((result : [ IAccountRetailerData, IUserAccountRetailersIdsByGroup, { firstName : string, lastName : string } ]) => {\n                const accountRetailerData = result[0];\n                const userAccountRetailersByGroup = result[1];\n                const groups : Array<IUserAccountGroupInfo> = [];\n                const ungrouped : Array<IUserAccountRetailer> = [];\n                const sandboxes : Array<IUserAccountRetailer> = [];\n\n                userAccountRetailersByGroup.groups.forEach((group) => {\n                    const groupLength = groups.push({\n                        id: group.id,\n                        name: group.name,\n                        orderedRetailerIds: []\n                    });\n                    const newGroup = groups[groupLength - 1];\n                    group.orderedRetailerIds.forEach((retailerId, index) => {\n                        const retailer = {\n                            id: retailerId,\n                            name: accountRetailerData.retailerNameByRetailerId[retailerId],\n                            accountType: accountRetailerData.retailerAccountTypeByRetailerId[retailerId],\n                            isSandbox: accountRetailerData.isSandboxByRetailerId[retailerId],\n                        };\n                        if (accountRetailerData.isSandboxByRetailerId[retailerId]) {\n                            sandboxes.push(retailer);\n                        } else {\n                            newGroup.orderedRetailerIds.push(retailer);\n                        }\n                    });\n                });\n\n                userAccountRetailersByGroup.ungrouped.forEach((retailerId, index) => {\n                    const retailer = {\n                        id: retailerId,\n                        name: accountRetailerData.retailerNameByRetailerId[retailerId],\n                        accountType: accountRetailerData.retailerAccountTypeByRetailerId[retailerId],\n                        isSandbox: accountRetailerData.isSandboxByRetailerId[retailerId],\n                    };\n                    if (accountRetailerData.isSandboxByRetailerId[retailerId]) {\n                        sandboxes.push(retailer);\n                    } else {\n                        ungrouped.push(retailer);\n                    }\n                });\n\n                dispatch(setUserRetailers({\n                    groups,\n                    ungrouped,\n                    sandboxes\n                }));\n                dispatch(setUserInfo(\n                    result[2].firstName,\n                    result[2].lastName\n                ));\n            });\n        });\n    };\n};\n\nconst onSuccessfulSignIn = () : ThunkAction<Promise<void>, ISignUpOptionsState, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const authenticatedUserSessionId : UserSessionId = extraArguments.services.userSessionManager.getSessionId();\n        if (authenticatedUserSessionId !== null) {\n            void extraArguments.services.userSessionManager.getAccountId()\n            .then((userAccountIdentifier : UserAccountId) => {\n                Observer.identifyAuthenticated(userAccountIdentifier, null, null, null);\n                void Observer.observeAction('Logged into account', {});\n            });\n        }\n\n        return new Promise((resolve) => {\n            const defaultNextUrl = '/';\n            let nextUrl : string;\n\n            try {\n                const nextUrlValues : Array<string> = extraArguments.services.queryStringReader.getValuesForName('next');\n\n                if (1 === nextUrlValues.length) {\n                    nextUrl = decodeURIComponent(nextUrlValues[0]);\n                } else {\n                    nextUrl = defaultNextUrl;\n                }\n            } catch (e) {\n                if (e instanceof QueryStringNameNotFoundException) {\n                    nextUrl = defaultNextUrl;\n                } else {\n                    throw new RuntimeException(`unexpected ${e}`);\n                }\n            }\n\n            window.location.href = nextUrl;\n            resolve();\n        });\n    };\n};\n\nconst onSuccessfulSignUp = (\n    userAccountIdentifier : UserAccountId,\n    signUpData : ISignUpData,\n    retailerId : string | null,\n    isActionByAdmin : boolean,\n) : ThunkAction<Promise<UserAccountId>, ISignUpOptionsState, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<UserAccountId> => {\n        let hubspotCookie : string | null = null;\n        try {\n            hubspotCookie = extraArguments.services.cookieReader.getCookie('hubspotutk');\n        } catch (error) {\n            if (!(error instanceof UnknownCookieException)) {\n                throw error;\n            }\n        }\n\n        return Promise.all([\n            extraArguments.services.unauthenticatedUserSessionManager.getOrCreateUnauthenticatedUserSessionId(),\n            Observer.trackConversion.userCreated({\n                email: signUpData.emailAddress,\n                phone: signUpData.phone,\n                bar_name: signUpData.barName,\n                first_name: signUpData.firstName,\n                last_name: signUpData.lastName,\n                zip_code: signUpData.optionalZipCode,\n                subscribe_to_blog: signUpData.subscribeToBlog,\n                hubspot_cookie : hubspotCookie,\n                is_admin_created: isActionByAdmin,\n                should_receive_marketing: true,\n                source_url: window.location.href,\n                creator_user_id: isActionByAdmin ? window.GLOBAL_USER_ID : null,\n                retailer_id: retailerId\n            })\n        ])\n        .then((result) => {\n            const unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId = result[0];\n            const userAccountId = userAccountIdentifier;\n            const userFullName = signUpData.firstName + ' ' + signUpData.lastName;\n            Observer.identifyAuthenticated(userAccountIdentifier, userFullName, signUpData.emailAddress, null);\n            void Observer.observeAction('New User Account Created', {\n                referrer: document.referrer,\n                page: window.location.pathname,\n                unauthenticatedUserSessionId: unauthenticatedUserSessionId.value,\n            });\n\n            Observer.identifyUnauthenticated(unauthenticatedUserSessionId);\n            void Observer.observeAction('Clicked button to submit sign up form', {});\n            void Observer.observeAction('Successfully Submitted Sign Up Form', {\n                userAccountId: userAccountId.getValue(),\n            });\n\n            return userAccountId;\n        });\n    };\n};\n\nconst logoutUser = () : ThunkAction<void, ISignUpOptionsState, { services : ActionInterfaces.IServices }> => {\n  return (dispatch, getState, extraArguments) : void => {\n    void Auth.signOut()\n      .then(() => {\n        extraArguments.services.cookieDeleter.deleteCookie(USER_SESSION_COOKIE_NAME);\n        extraArguments.services.cookieDeleter.deleteCookie('refreshToken');\n        extraArguments.services.cookieDeleter.deleteCookie('nextRefresh');\n        localStorage.clear();\n\n        // duplicates src/main/web/user_auth/src/ui/lib/Utils.js getUrlForPublicSite\n        let host = '';\n        if (window.location.hostname.slice(-12) === '.bevspot.com') {\n            host = 'https://app.bevspot.com';\n        } else if (window.location.hostname.slice(-12) === '.bevspot.net') {\n            host = 'https://app-staging.bevspot.net';\n        }\n        window.location.href = host + '/auth';\n      });\n  };\n};\n\nconst determinePageContext = () : ThunkAction<Promise<string>, ISignUpOptionsState, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<string> => {\n        return new Promise((resolve, reject) => {\n            let path = window.location.pathname;\n            const retailerIdIndex = Math.max(path.indexOf('/r/'), path.indexOf('/g/'));\n            if (retailerIdIndex > -1) {\n                path = path.substr(0, retailerIdIndex);\n            }\n            // if no retailer/group id, remove the trailing slash\n            if (path.lastIndexOf('/') === path.length - 1) {\n                path = path.substr(0, path.length - 1) ;\n            }\n            if (!validatePath(path)) {\n                // remove any inventory ids from the path\n                if (/\\w+(-\\w+){4}/.test(path)) {\n                    path = path.substr(0, path.lastIndexOf('/'));\n                // remove any sales report ids from the path\n                } else if (/\\w{24}/.test(path)) {\n                    path = path.substr(0, path.lastIndexOf('/'));\n                }\n            }\n            const pageContext: PageContext = path as PageContext; // type cast alert! ensure all use of this pageContext is validated!\n            dispatch(setPageContext(pageContext));\n            /** @NOTE user menu page context now defaulted to home, all help now being provided through elev.io */\n            // if (typeof UserSessionUtils.contextTabsByPageContext[pageContext] === 'undefined') {\n            //     dispatch(setAvailableTabs(UserSessionUtils.contextTabsByPageContext.DEFAULT));\n            // } else {\n            //     const availableTabs = UserSessionUtils.contextTabsByPageContext[pageContext];\n            //     dispatch(setAvailableTabs(availableTabs));\n            //     if (availableTabs.includes(ContextTab.VIDEOS)) {\n            //         dispatch(setActiveTab(ContextTab.VIDEOS));\n            //     }\n            // }\n            dispatch(setAvailableTabs(UserSessionUtils.contextTabsByPageContext.DEFAULT));\n\n            resolve(pageContext);\n        });\n    };\n};\n\nexport const UserSessionActions : ActionInterfaces.IUserSessionActionCreatorsMapObject = {\n    onSuccessfulSignIn,\n    onSuccessfulSignUp,\n    logoutUser,\n    fetchUserInfo,\n    setPageContext,\n    setActiveTab,\n    setAvailableTabs,\n    setUserPopdownOpen,\n    setUserRetailers,\n    determinePageContext,\n};\n","import { Action } from '@reduxjs/toolkit';\n\nimport { IUserAccountGroup } from 'api/UserAccount/model/UserAccountRetailersByGroup';\n\nimport { ActionInterfaces, ActionTypes } from './actions';\nimport { PageContext } from './userSessionUtils';\n\nimport { ContextTab } from './ContextTab';\n\nexport interface IUserAccountRetailer {\n    id : string;\n    name : string;\n    accountType : 'food' | 'beverage';\n    isSandbox : boolean;\n}\n\nexport interface IUserAccountGroupInfo extends IUserAccountGroup {\n    orderedRetailerIds : Array<IUserAccountRetailer>;\n}\n\nexport interface IUserAccountRetailersByGroup {\n    groups : Array<IUserAccountGroupInfo>;\n    ungrouped : Array<IUserAccountRetailer>;\n    sandboxes : Array<IUserAccountRetailer>;\n}\n\nexport interface IUserSessionAppState {\n    firstName : string | null;\n    lastName : string | null;\n    pageContext : PageContext;\n    activeTab : ContextTab;\n    availableTabs : Array<ContextTab>;\n    userPopdownOpen : boolean;\n    userRetailers : IUserAccountRetailersByGroup | null;\n}\n\nconst initialState : IUserSessionAppState = {\n    firstName: null,\n    lastName: null,\n    pageContext: 'DEFAULT',\n    activeTab: ContextTab.HOME,\n    availableTabs: [ ContextTab.HOME ],\n    userPopdownOpen: false,\n    userRetailers: null,\n};\n\nconst reduceSetUserInfo = (\n    state : IUserSessionAppState,\n    action : ActionInterfaces.ISetUserInfo\n) : IUserSessionAppState => {\n    return {\n        ...state,\n        firstName: action.payload.firstName,\n        lastName: action.payload.lastName,\n    };\n};\n\nconst reduceSetPageContext = (\n    state : IUserSessionAppState,\n    action : ActionInterfaces.ISetPageContext\n) : IUserSessionAppState => {\n    return {\n        ...state,\n        pageContext: action.payload.pageContext,\n    };\n};\n\nconst reduceSetActiveTab = (\n    state : IUserSessionAppState,\n    action : ActionInterfaces.ISetActiveTab\n) : IUserSessionAppState => {\n    return {\n        ...state,\n        activeTab: action.payload.activeTab,\n    };\n};\n\nconst reduceSetAvailableTabs = (\n    state : IUserSessionAppState,\n    action : ActionInterfaces.ISetAvailableTabs\n) : IUserSessionAppState => {\n    return {\n        ...state,\n        availableTabs: action.payload.availabelTabs,\n    };\n};\n\nconst reduceSetUserPopdownOpen = (\n    state : IUserSessionAppState,\n    action : ActionInterfaces.ISetUserPopdownOpen\n) : IUserSessionAppState => {\n    return {\n        ...state,\n        userPopdownOpen: action.payload.open,\n    };\n};\n\nconst reduceSetUserRetailers = (\n    state : IUserSessionAppState,\n    action : ActionInterfaces.ISetUserRetailers\n) : IUserSessionAppState => {\n    return {\n        ...state,\n        userRetailers: action.payload.userRetailers,\n    };\n};\n\nexport const UserSessionReducers = (\n    state : IUserSessionAppState = initialState,\n    action : Action\n) : IUserSessionAppState => {\n    switch (action.type) {\n        case ActionTypes.SET_USER_INFO:\n            return reduceSetUserInfo(\n                state,\n                action as ActionInterfaces.ISetUserInfo\n            );\n        case ActionTypes.SET_PAGE_CONTEXT:\n            return reduceSetPageContext(\n                state,\n                action as ActionInterfaces.ISetPageContext\n            );\n        case ActionTypes.SET_ACTIVE_TAB:\n            return reduceSetActiveTab(\n                state,\n                action as ActionInterfaces.ISetActiveTab\n            );\n        case ActionTypes.SET_AVAILABLE_TABS:\n            return reduceSetAvailableTabs(\n                state,\n                action as ActionInterfaces.ISetAvailableTabs\n            );\n        case ActionTypes.SET_USER_POPDOWN_OPEN:\n            return reduceSetUserPopdownOpen(\n                state,\n                action as ActionInterfaces.ISetUserPopdownOpen\n            );\n        case ActionTypes.SET_USER_RETAILERS:\n            return reduceSetUserRetailers(\n                state,\n                action as ActionInterfaces.ISetUserRetailers\n            );\n        default:\n            return state;\n    }\n};\n","export class FieldSpec<FieldNameTypes, InputTypeTypes, FieldTypes> {\n    constructor(\n        readonly name : FieldNameTypes,\n        readonly type : InputTypeTypes,\n        readonly displayName : string,\n        readonly errorMessage : string,\n        readonly subField : boolean,\n        readonly onChangeVerifyFunction : ((value : FieldTypes) => boolean) | null,\n        readonly onBlurVerifyFunction : ((value : FieldTypes) => boolean) | null,\n    ) { }\n\n    public onChangeVerify = (value : FieldTypes) : boolean =>\n        (this.onChangeVerifyFunction === null || this.onChangeVerifyFunction(value))\n\n    public onBlurVerify = (value : FieldTypes) : boolean =>\n        (this.onBlurVerifyFunction === null || this.onBlurVerifyFunction(value))\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Address } from 'api/Distributor/model/Address';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorAdjustment } from 'api/Distributor/model/DistributorAdjustment';\nimport { DistributorAdjustmentId } from 'api/Distributor/model/DistributorAdjustmentId';\nimport { DistributorDependentObjectSet } from 'api/Distributor/model/DistributorDependentObjectSet';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DistributorRep } from 'api/Distributor/model/DistributorRep';\nimport { ExtraDistributorProperties } from 'api/Distributor/model/ExtraDistributorProperties';\nimport { DefaultPaymentTermOptions, PaymentTerm } from 'api/Distributor/model/PaymentTerm';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Scope } from 'api/Location/model/Scope';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { Validation } from 'shared/validators/validators';\nimport { FieldSpec as FieldSpec } from './models/FormFieldSpec';\nimport { VendorInfo } from './models/VendorInfo';\n\n// This form page is a typescript tragedy. if you are making real changes in here, consider doing a better\n// job of typing - each form field has a specific type (probably text, but sometimes boolean),\n// and then we must turn it into the type we expect (also probably string, but sometimes number)\nexport type IFormData = { [fieldName in FieldName]: string | boolean };\nexport type IRepFormData = { [fieldName in RepFieldName]: string | boolean };\nexport type IAdjustmentFormData = { [fieldName in AdjustmentFieldName]: string };\nexport interface IVendorData {\n    distributor: Distributor;\n    distributorId: DistributorId;\n    needsConfirmation: boolean;\n}\n\nexport interface IState {\n    // Entire App\n    vendorInfo : VendorInfo | null;\n    // Sidebar\n    selectedVendorId : DistributorId | null;\n    // Details\n    formData : IFormData;\n    deliveryDays : Array<boolean> | null;\n    reps : Map<string, IRepFormData>;\n    newReps : Array<IRepFormData>;\n    adjustments : Map<string, IAdjustmentFormData>;\n    newAdjustments : Array<IAdjustmentFormData>;\n    nameModify : boolean;\n    sortedVendors : Array<IVendorData>;\n    categories : StringValueMap<CategoryId, Category>;\n    paymentTerm : PaymentTerm;\n    vendorDependenciesObject : DistributorDependentObjectSet | null;\n}\n\nexport type FieldType = 'text' | 'boolean';\n\nexport type FieldName =\n    'name' |\n    'accountNumber' |\n    'officePhone' |\n    'website' |\n    'accountingId' |\n    'addressLine1' |\n    'addressLine2' |\n    'city' |\n    'state' |\n    'zipcode' |\n    'caseMinimum' |\n    'dollarMinimum' |\n    'notes';\n\nexport type RepFieldName =\n    'name' |\n    'email' |\n    'emailNotifications' |\n    'attachCsv' |\n    'cell' |\n    'smsNotifications';\n\nexport type AdjustmentFieldName =\n    'name' |\n    'category_id';\n\nconst caseMinimumValidation = Validation.or(Validation.empty,\n    Validation.and(Validation.short, Validation.validateNonNegativeNumber));\n\nconst dollarMinimumValidation = Validation.or(Validation.empty,\n    Validation.and(Validation.short, Validation.validateUSD));\n\nconst nameValidation = Validation.or(Validation.empty, Validation.short);\n\nconst emailValidation = Validation.or(Validation.empty, Validation.validateEmailAddress);\n\nconst cellValidation = Validation.or(Validation.empty, Validation.validateUSPhoneNumber);\n\nexport type FormFieldSpec = FieldSpec<FieldName, FieldType, string>;\nexport const FormFieldSpecs : Record<FieldName, FormFieldSpec> = {\n    name: new FieldSpec('name', 'text', 'New Vendor Name', '', true, nameValidation, null),\n    accountNumber: new FieldSpec('accountNumber', 'text', 'Account Number', '', false, Validation.short, null),\n    officePhone: new FieldSpec('officePhone', 'text', 'Office Phone', '', false, Validation.short, null),\n    website: new FieldSpec('website', 'text', 'Website', '', false, Validation.long, null),\n    accountingId: new FieldSpec('accountingId', 'text', 'Accounting Id', '', false, Validation.short, null),\n    addressLine1: new FieldSpec('addressLine1', 'text', 'Address Line 1', '', true, Validation.short, null),\n    addressLine2: new FieldSpec('addressLine2', 'text', 'Address Line 2', '', true, Validation.short, null),\n    city: new FieldSpec('city', 'text', 'City', '', true, Validation.short, null),\n    state: new FieldSpec('state', 'text', 'State/Province/Region', '', true, Validation.short, null),\n    zipcode: new FieldSpec('zipcode', 'text', 'Zip/Postal Code', '', true, Validation.short, null),\n    caseMinimum: new FieldSpec('caseMinimum', 'text', 'Case Minimum', '', false, caseMinimumValidation, null),\n    dollarMinimum: new FieldSpec('dollarMinimum', 'text', 'Dollar Minimum', '', false, dollarMinimumValidation, null),\n    notes: new FieldSpec('notes', 'text', 'Notes', '', false, Validation.long, null),\n};\n\nexport type RepFormFieldSpec = FieldSpec<RepFieldName, FieldType, string>;\nexport const RepFormFieldSpecs : Record<RepFieldName, RepFormFieldSpec> = {\n    name: new FieldSpec('name', 'text', 'Name', '', false, Validation.short, null),\n    email: new FieldSpec('email', 'text', 'Email', 'Invalid email', false, null, emailValidation),\n    emailNotifications: new FieldSpec('emailNotifications', 'boolean', 'Send orders via email', '', false, null, null),\n    attachCsv: new FieldSpec('attachCsv', 'boolean', 'Attach order CSV to email', '', false, null, null),\n    cell: new FieldSpec('cell', 'text', 'Cell', 'Invalid phone number', false, null, cellValidation),\n    smsNotifications: new FieldSpec('smsNotifications', 'boolean', 'Send orders via text', '', false, null, null),\n};\n\nexport type AdjustmentFormFieldSpec = FieldSpec<AdjustmentFieldName, FieldType, string>;\nexport const AdjustmentFormFieldSpecs : Record<AdjustmentFieldName, AdjustmentFormFieldSpec> = {\n    name: new FieldSpec('name', 'text', 'Name', '', false, Validation.short, null),\n    category_id: new FieldSpec('category_id', 'text', 'Category ID', '', false, Validation.short, null),\n};\n\n// Auto-fill `true` for days Monday through Friday\nexport const createDefaultDeliveryDays = () => (new Array<boolean>(8).fill(false).fill(true, 1, 6));\n\nexport const createBlankFormFields = () => ({\n    name: '',\n    accountNumber: '',\n    officePhone: '',\n    website: '',\n    accountingId: '',\n    addressLine1: '',\n    addressLine2: '',\n    city: '',\n    state: '',\n    zipcode: '',\n    caseMinimum: '',\n    dollarMinimum: '',\n    notes: '',\n});\n\nexport const createFormFieldsFromVendorInfo = (\n    vendorInfo : VendorInfo | null,\n    vendorId : DistributorId | null\n) : IFormData => {\n\n    if (vendorInfo === null) {\n        return createBlankFormFields();\n    }\n\n    const vendor : Distributor | null = vendorInfo.getVendorById(vendorId);\n    if (vendor === null) {\n        return createBlankFormFields();\n    }\n\n    const extra : ExtraDistributorProperties = vendor.getExtraDistributorProperties();\n    return {\n        name: vendor.getName(),\n        accountNumber: extra.accountNumber,\n        officePhone: extra.officePhone,\n        website: extra.website,\n        accountingId: extra.accountingId,\n        addressLine1: extra.address.line1,\n        addressLine2: extra.address.line2,\n        city: extra.address.city,\n        state: extra.address.state,\n        zipcode: extra.address.zipcode,\n        caseMinimum: extra.caseMinimum.toString(),\n        dollarMinimum: extra.dollarMinimum.toString(),\n        notes: extra.notes,\n    };\n};\n\nexport const createDeliveryDaysFromVendorInfo = (\n    vendorInfo : VendorInfo | null,\n    vendorId : DistributorId | null,\n) : Array<boolean> => {\n\n    if (vendorInfo === null) {\n        return createDefaultDeliveryDays();\n    }\n\n    const vendor : Distributor | null = vendorInfo.getVendorById(vendorId);\n    if (vendor === null) {\n        return createDefaultDeliveryDays();\n    }\n\n    return vendor.getExtraDistributorProperties().deliveryDays;\n};\n\nexport const createRepFormDataFromVendorInfo = (\n    vendorInfo : VendorInfo | null,\n    vendorId : DistributorId | null,\n) : Map<string, IRepFormData> => {\n\n    if (vendorInfo === null) {\n        return new Map();\n    }\n\n    const vendor : Distributor | null = vendorInfo.getVendorById(vendorId);\n    if (vendor === null) {\n        return new Map();\n    }\n\n    const extraDistributorProperties = vendor.getExtraDistributorProperties();\n    if (extraDistributorProperties === null) {\n        return new Map();\n    }\n\n    const result = new Map<string, IRepFormData>();\n    extraDistributorProperties.reps.forEach((rep, key) =>\n        result.set(key, {\n            name: rep.name,\n            email: rep.email,\n            emailNotifications: true,\n            attachCsv: rep.attachCsv,\n            cell: rep.cell,\n            smsNotifications: rep.smsNotifications,\n        })\n    );\n\n    return result;\n};\n\nexport const getPaymentTermFromVendorInfo = (\n    vendorInfo : VendorInfo | null,\n    vendorId : DistributorId | null,\n) : PaymentTerm => {\n    if (vendorInfo === null) {\n        return new PaymentTerm(DefaultPaymentTermOptions.NONE);\n    }\n\n    const vendor : Distributor | null = vendorInfo.getVendorById(vendorId);\n    if (vendor === null) {\n        return new PaymentTerm(DefaultPaymentTermOptions.NONE);\n    }\n\n    return vendor.getExtraDistributorProperties().paymentTerm;\n};\n\nexport const createAdjustmentFormDataFromVendorInfo = (\n    vendorInfo : VendorInfo | null,\n    vendorId : DistributorId | null,\n) : Map<string, IAdjustmentFormData> => {\n\n    if (vendorInfo === null) {\n        return new Map();\n    }\n\n    const vendor : Distributor | null = vendorInfo.getVendorById(vendorId);\n    if (vendor === null) {\n        return new Map();\n    }\n\n    const extraDistributorProperties = vendor.getExtraDistributorProperties();\n    if (extraDistributorProperties === null) {\n        return new Map();\n    }\n\n    const result = new Map<string, IAdjustmentFormData>();\n    extraDistributorProperties.adjustments.forEach((adjustment, key) =>\n        result.set(key.getValue(), {\n            name: adjustment.name,\n            category_id: adjustment.categoryId,\n        })\n    );\n\n    return result;\n};\n\nexport const createVendorInfoFromFormFields = (\n    formData : IFormData,\n    repFormData : Map<string, IRepFormData>,\n    adjustmentFormData : Map<string, IAdjustmentFormData>,\n    deliveryDays : Array<boolean> | null,\n    paymentTerm : PaymentTerm\n) : Distributor | null => {\n    if (formData === null || deliveryDays === null) {\n        return null;\n    }\n\n    const reps : Map<string, DistributorRep> = new Map();\n    if (repFormData !== null) {\n        repFormData.forEach((rep, key) => reps.set(\n            key, createRepVendorInfoFromRepFormFields(rep)));\n    }\n\n    const adjustments : StringValueMap<DistributorAdjustmentId, DistributorAdjustment> = new StringValueMap();\n    if (adjustmentFormData !== null) {\n        adjustmentFormData.forEach((adjustment, key) => adjustments.set(\n            new DistributorAdjustmentId(key), createAdjustmentVendorInfoFromAdjustmentFormFields(adjustment)));\n    }\n\n    const cleanedCaseMin = (formData.caseMinimum as string).replace(/[$,]/g, \"\"); // no commas, no dollar signs\n    const caseMinNumber: number = Number.isNaN(cleanedCaseMin) ? 0 : parseFloat(cleanedCaseMin);\n    const cleanedDollarMin = (formData.dollarMinimum as string).replace(/[$,]/g, \"\"); // no commas, no dollar signs\n    const dollarMinNumber: number  = Number.isNaN(cleanedDollarMin) ? 0 : parseFloat(cleanedDollarMin);\n\n    return new Distributor(\n        Scope.createRetailerScope(new LocationId(window.GLOBAL_RETAILER_ID)),\n        formData.name as string,\n        formData.name as string,\n        new ExtraDistributorProperties(\n            formData.accountNumber as string,\n            formData.officePhone as string,\n            formData.website as string,\n            formData.accountingId as string,\n            new Address(\n                formData.addressLine1 as string,\n                formData.addressLine2 as string,\n                formData.city as string,\n                formData.state as string,\n                formData.zipcode as string),\n            deliveryDays,\n            caseMinNumber,\n            dollarMinNumber,\n            formData.notes as string,\n            reps,\n            adjustments,\n            paymentTerm,\n            undefined,\n            undefined,\n            undefined\n        )\n    );\n};\n\nexport const createRepVendorInfoFromRepFormFields = (repFormData : IRepFormData) : DistributorRep =>\n    new DistributorRep(\n        repFormData.name as string,\n        repFormData.email as string,\n        true,\n        repFormData.attachCsv as boolean,\n        (repFormData.cell as string).replace(/\\D/g, ''),\n        repFormData.smsNotifications as boolean,\n    );\n\nexport const createAdjustmentVendorInfoFromAdjustmentFormFields = (adjustmentFormData : IAdjustmentFormData) : DistributorAdjustment =>\n    new DistributorAdjustment(\n        adjustmentFormData.name,\n        adjustmentFormData.category_id,\n    );\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { IProductService } from 'api/Product/interfaces/IProductService';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport moment from 'moment-timezone';\n\nimport { FreeTrialStatus } from 'api/Location/model/FreeTrialStatus';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationJSONToObjectSerializer } from 'api/Location/serializer/LocationJSONToObjectSerializer';\nimport { IDeliveryJSONObject } from 'api/Ordering/serializer/IDeliveryJSONObject';\n\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport {\n    ITransferTotalByProductIdByPartnerLocation,\n    TransferTotalByProductId\n} from 'apps/AggregatedTransferReport/reducers';\nimport { IExcessInventoryRowData } from 'apps/ExcessInventory/models/IExcessInventoryRowData';\nimport { IInventoryChartData } from 'apps/InventoryHistory/models/IInventoryChartData';\nimport { BevSpotLocation } from 'apps/InventoryTransfer/models/BevSpotLocation';\nimport { ISalesOnboardingData } from 'apps/NewSalesEntry/reducers/NewSalesEntryOptionReducers';\nimport { IBreadcrumbCredentialData } from 'shared/components/BreadcrumbIntegrationModal/models';\nimport { IValuesByCategoryName } from 'shared/models/Charts/IValuesByCategoryName';\nimport { IValuesByDataIdAndCategoryName } from 'shared/models/Charts/IValuesByDataIdAndCategoryName';\nimport { DateTime, Timezone } from 'shared/models/DateTime';\nimport { IUserEmailSubscriptionDisplayDataByRetailerId, IUserRetailerEmailSubscriptionData } from 'shared/models/EmailSubscription';\nimport {\n    MongoDataInterfaces\n} from 'shared/models/LegacyDataInterfaces';\nimport { IUserAccountInfo, IUserAccountName } from '../models/UserAccountName';\n\nimport LocationModel from 'gen-thrift/location_Model_types';\n\nimport { AjaxUtils, IRestApiRejection } from 'shared/utils/ajaxUtils';\nimport { getEmailSubscriptionDataFromLegacy, getLegacyEmailSubscriptionData } from 'shared/utils/emailSubscriptionUtils';\nimport { PathUtils } from 'shared/utils/pathUtils';\nimport { StringValueSet } from 'api/Core/StringValueSet';\n\n/**\n * Anna Lee Barber 2/27/17\n * When we can absolutely guarantee the structure of the product data returned by the back end, we should make the product data type more explicit than 'any'\n */\n/**\n * Anna Lee Barber 2/19/25\n * oh come on, past anna lee\n */\ninterface DjangoProductInfo {\n    brand: string;\n    name: string;\n    package: {\n        unit: unknown;\n        quantity_of_content: unknown;\n        content: {\n            unit: unknown;\n            quantity_of_content: unknown;\n            content: null;\n        } | null;\n    };\n}\n\ninterface ExcessInventoryJSON {\n    product_brand: string | null;\n    product_name: string;\n    product_id: string;\n    bottle_cost: number;\n    sitting_bottle_count: number;\n    sitting_dollar_value: number;\n    average_weekly_bottle_usage: number,\n    suggested_par: number,\n    excess_bottle_count: number,\n    excess_dollar_value: number,\n}\n\nexport class DjangoApiManager {\n    private locationJSONToObjectSerializer = new LocationJSONToObjectSerializer();\n\n    public getUniqueDisplayNamesForTwoSimilarProducts(duplicateDisplayName : string, product1Package : DjangoProductInfo[\"package\"], product2Package :  DjangoProductInfo[\"package\"], badDisplayNames : Array<string>, counter : number) : [string, string] {\n        let product1DisplayName = duplicateDisplayName;\n        let product2DisplayName = duplicateDisplayName;\n\n        let prod1Package = product1Package;\n        let prod2Package = product2Package;\n\n        do {\n            badDisplayNames.push(product1DisplayName);\n\n            if (prod1Package.content !== null && prod1Package.content.unit !== null && prod2Package.content !== null && prod2Package.content.unit !== null) {\n\n                if (prod1Package.content.unit === 'ml' ||\n                    prod1Package.content.unit === 'l' ||\n                    prod1Package.content.unit === 'oz' ||\n                    prod1Package.content.unit === 'gal' ||\n                    prod1Package.content.unit === 'kg' ||\n                    prod1Package.content.unit === 'g' || prod1Package.unit === 'lbs') {\n                    product1DisplayName = product1DisplayName + ' - ' + prod1Package.quantity_of_content + prod1Package.content.unit;\n                    product2DisplayName = product2DisplayName + ' - ' + prod2Package.quantity_of_content + prod2Package.content.unit;\n                } else {\n                    product1DisplayName = product1DisplayName + ' - ' + prod1Package.content.unit;\n                    product2DisplayName = product2DisplayName + ' - ' + prod2Package.content.unit;\n                }\n\n                prod1Package = prod1Package.content;\n                prod2Package = prod2Package.content;\n\n            } else {\n                product2DisplayName = product2DisplayName + ' - ' + counter;\n                product1DisplayName = product1DisplayName + ' - ' + (counter + 1);\n                counter += 2;\n                break;\n            }\n        } while (product1DisplayName === product2DisplayName);\n\n        return [product1DisplayName, product2DisplayName];\n\n    }\n\n    public getUniqueDisplayNamesForSetOfProducts(productDataById : {[key : string] : DjangoProductInfo }) {\n        const productNamesByProductId : {[key : string] : string} = {};\n\n        const indexOfProductIdByDisplayName : {[key : string] : number} = {};\n\n        const productIdKeys = Object.keys(productDataById);\n\n        let counter = 0;\n        const badDisplayNames : Array<string> = []; // maybe should be a set???\n        productIdKeys.forEach((productId : string, index : number) => {\n            let productDisplayName = productDataById[productId].brand + ' ' + productDataById[productId].name;\n\n            /**\n             * Handle the case of duplicate display names\n             * Charts assume that Y-Axis Labels (here, the DataId part of IValuesByDataIdAndCategoryName, are unique. Products, however, are not guaranteed to have unique brand + name strings.\n             * To make unique display names: first, add unit to the display names. If there are still duplicate displayNames, add a counter to the end of the string.\n             * This needs to be done before initializing the IValuesByDataIdAndCategoryName object, so that we can go back and change names that later have a duplicate found without changing\n             * the initialization order of the return object.\n             */\n            if (Object.prototype.hasOwnProperty.call(indexOfProductIdByDisplayName, productDisplayName)) {\n                badDisplayNames.push(productDisplayName);\n\n                const indexOfDuplicateName : number = indexOfProductIdByDisplayName[productDisplayName];\n                const duplicateDisplayNameProductId = productIdKeys[indexOfDuplicateName];\n\n                delete indexOfProductIdByDisplayName[productDisplayName];\n\n                productDisplayName = productDisplayName + ' (' + productDataById[productId].package.unit + ')';\n\n                let newProductDisplayNameForDuplicate = productNamesByProductId[duplicateDisplayNameProductId] + ' (' + productDataById[duplicateDisplayNameProductId].package.unit + ')';\n                if (newProductDisplayNameForDuplicate === productDisplayName) {\n                    const displayNameData : [string, string] = this.getUniqueDisplayNamesForTwoSimilarProducts(\n                        productDisplayName,\n                        productDataById[productId].package,\n                        productDataById[duplicateDisplayNameProductId].package,\n                        badDisplayNames,\n                        counter);\n                    productDisplayName = displayNameData[0];\n                    newProductDisplayNameForDuplicate = displayNameData[1];\n                }\n\n                productNamesByProductId[productId] = productDisplayName;\n                productNamesByProductId[duplicateDisplayNameProductId] = newProductDisplayNameForDuplicate;\n\n                indexOfProductIdByDisplayName[productDisplayName] = index;\n                indexOfProductIdByDisplayName[newProductDisplayNameForDuplicate] = indexOfDuplicateName;\n\n            } else if (badDisplayNames.indexOf(productDisplayName) > -1) {\n                productDisplayName = productDisplayName + ' (' + productDataById[productId].package.unit + ')';\n\n                let prodPackage = productDataById[productId].package;\n                while (Object.prototype.hasOwnProperty.call(indexOfProductIdByDisplayName, productDisplayName) || (badDisplayNames.indexOf(productDisplayName) > -1)) {\n\n                    if (Object.prototype.hasOwnProperty.call(indexOfProductIdByDisplayName, productDisplayName)) {\n                        const duplicateIndex = indexOfProductIdByDisplayName[productDisplayName];\n                        const duplicateProduct = productDataById[productIdKeys[duplicateIndex]];\n\n                        delete indexOfProductIdByDisplayName[productDisplayName];\n\n                        const displayNameData : [string, string] = this.getUniqueDisplayNamesForTwoSimilarProducts(productDisplayName, prodPackage, duplicateProduct.package, badDisplayNames, counter);\n\n                        productDisplayName = displayNameData[0];\n                        const newProductDisplayNameForDuplicate = displayNameData[1];\n\n                        productNamesByProductId[productIdKeys[duplicateIndex]] = newProductDisplayNameForDuplicate;\n                        indexOfProductIdByDisplayName[newProductDisplayNameForDuplicate] = duplicateIndex;\n                    } else {\n                        if (prodPackage.content !== null && prodPackage.content.unit !== null) {\n                            if (prodPackage.content.unit === 'ml' ||\n                                prodPackage.content.unit === 'l' ||\n                                prodPackage.content.unit === 'oz' ||\n                                prodPackage.content.unit === 'gal' ||\n                                prodPackage.content.unit === 'kg' ||\n                                prodPackage.content.unit === 'g' || prodPackage.unit === 'lbs') {\n                                productDisplayName = productDisplayName + ' - ' + prodPackage.quantity_of_content + prodPackage.content.unit;\n                            } else {\n                                productDisplayName = productDisplayName + ' - ' + prodPackage.content.unit;\n                            }\n\n                            prodPackage = prodPackage.content;\n                        } else {\n                            productDisplayName = productDisplayName + ' - ' + counter;\n                            counter += 1;\n                            break;\n                        }\n                    }\n                }\n            }\n\n            indexOfProductIdByDisplayName[productDisplayName] = index;\n            productNamesByProductId[productId] = productDisplayName;\n\n        });\n\n        return productNamesByProductId;\n    }\n\n    // ProductData is in the form that django passes it back in. Don't use the deserializer because for the inventory charts we have to support products with \"bad\" packaging\n    // as long as the the inventory item would still how up on an inventory detail page\n    // public so it can be tested\n    public djangoInventoryChartDataToSortedDataValuesByDataId(valueByProductId : Array<[string, number]>, productDataById : {[key : string] : DjangoProductInfo}, categoryName : string) {\n        const productNamesByProductId : {[key : string] : string} = this.getUniqueDisplayNamesForSetOfProducts(productDataById);\n\n        const valuesByDataIdAndCategoryName : IValuesByDataIdAndCategoryName = {};\n        valueByProductId.forEach((idAndValue : [string, number], index : number) => {\n            const productId : string = idAndValue[0];\n\n            const productDisplayName = productNamesByProductId[productId];\n\n            const categoryDict : IValuesByCategoryName = {};\n\n            /**\n             * this ensures that on the inventory graphs, where there is only one category per bar, negative or zero values are not displayed as part of the chart.\n             * this should not be done for any charts with > 1 category per bar\n             */\n            if (idAndValue[1] > 0) {\n                categoryDict[categoryName] = idAndValue[1];\n                valuesByDataIdAndCategoryName[productDisplayName] = categoryDict;\n            }\n        });\n\n        return valuesByDataIdAndCategoryName;\n    }\n\n    public getAccessibleRetailers() : Promise<Array<BevSpotLocation>> {\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:list_of_retailers_where_user_can_inventory_transfer'))\n            .then((response) => {\n                const retailers : Array<BevSpotLocation> = [];\n                response.forEach((responseRetailer: { _id: string, name: string }) => {\n                    retailers.push(new BevSpotLocation({\n                        displayName: responseRetailer.name,\n                        id: new LocationModel.LocationIdentifier({\n                            value: responseRetailer._id,\n                        }),\n                    }));\n                });\n                retailers.sort((a, b) => {\n                    const nameA = a.displayName.toUpperCase(); // ignore upper and lowercase\n                    const nameB = b.displayName.toUpperCase(); // ignore upper and lowercase\n                    if (nameA < nameB) {\n                        return -1;\n                    }\n                    if (nameA > nameB) {\n                        return 1;\n                    }\n\n                    // names must be equal\n                    return 0;\n                });\n                return Promise.resolve(retailers);\n            });\n    }\n\n    public getUserNameById(\n        userId : UserAccountId\n    ) : Promise<IUserAccountName> {\n        const queryParameters = {\n            user_id: userId.getValue(),\n            fields: 'first_name,last_name',\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:user'), queryParameters)\n            .then((response) => {\n                const name : IUserAccountName = {\n                    firstName : response.first_name,\n                    lastName : response.last_name,\n                };\n                return Promise.resolve(name);\n            });\n    }\n\n    public getUserInfoById(\n        userId : UserAccountId\n    ) {\n        const queryParameters = {\n            user_id: userId.getValue(),\n            fields: 'first_name,last_name,email_address',\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:user'), queryParameters)\n            .then((response) => {\n                const info : IUserAccountInfo = {\n                    firstName: response.first_name,\n                    lastName: response.last_name,\n                    email: response.email,\n                };\n                return Promise.resolve(info);\n            });\n    }\n\n    public getRetailerNameById(\n        retailerId : LocationModel.LocationIdentifier\n    ) : Promise<string> {\n        const queryParameters = {\n            retailer_id: retailerId.value,\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:retailer'), queryParameters)\n            .then((response) => {\n                let name = 'Unknown Retailer';\n                if (response.name) {\n                    name = response.name;\n                }\n                return Promise.resolve(name);\n            });\n    }\n\n    public getRetailersById(\n        retailerIds : Array<LocationModel.LocationIdentifier>\n    ) : Promise<{ [key : string] : { name : string } }> {\n        const postBody = {\n            retailer_ids: retailerIds.map((retailerId) => retailerId.value),\n        };\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:retailer'), postBody)\n            .then((response) => {\n                return Promise.resolve(response);\n            });\n    }\n\n    public getDistributorsByRetailerId(\n        retailerId : LocationModel.LocationIdentifier\n    ) {\n        const queryParameters = {\n            has_associated_order: true,\n            retailer_id: retailerId.value,\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:distributor'), queryParameters)\n            .then((response : { [key : string] : { name : string } }) => Promise.resolve(response));\n    }\n\n    public getInventoriesWithSittingValueSortedByDate(\n        retailerId : LocationModel.LocationIdentifier,\n        startIndexInclusive : number,\n        maxResultCount : number,\n    ) {\n        const queryParameters = {\n            retailer_id: retailerId.value,\n            start_index_inclusive: startIndexInclusive,\n            max_result_count: maxResultCount,\n            get_sitting_value: true\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:inventory_history'), queryParameters)\n            .then((response : Array<MongoDataInterfaces.IInventoryWithReportingData>) => Promise.resolve(response));\n    }\n\n    public getInventoriesWithSittingValueInDateRangeSortedByDate(\n        retailerId : LocationModel.LocationIdentifier,\n        startTimeInclusive : DateTime,\n        endTimeExclusive : DateTime,\n    ) {\n        const queryParameters = {\n            retailer_id: retailerId.value,\n            start_time_inclusive: startTimeInclusive.getValueInTimezone(Timezone.UTC),\n            end_time_exclusive: endTimeExclusive.getValueInTimezone(Timezone.UTC),\n            get_sitting_value: true\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:inventory_history'), queryParameters)\n            .then((response : Array<MongoDataInterfaces.IInventoryWithReportingData>) => Promise.resolve(response));\n    }\n\n    public getInventoriesSortedByDate(\n        retailerId : string,\n        startIndexInclusive : number,\n        maxResultCount : number,\n    ) {\n        const queryParameters = {\n            retailer_id: retailerId,\n            start_index_inclusive: startIndexInclusive,\n            max_result_count: maxResultCount,\n            get_sitting_value: false\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:inventory_history'), queryParameters)\n            .then((response : Array<MongoDataInterfaces.IInventory>) => {\n                return Promise.resolve(response);\n            });\n    }\n\n    public getNumberOfFinalizedInventoriesForRetailer(\n        retailerId : LocationModel.LocationIdentifier,\n    ) {\n        const queryParameters = {\n            retailer_id: retailerId.value,\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:number_of_inventories_for_retailer'), queryParameters)\n        .then((response : { number_of_inventories : number }) => {\n            return Promise.resolve(response.number_of_inventories);\n        });\n    }\n\n    public getOrdersInDateRange(\n        retailerId : LocationModel.LocationIdentifier,\n        startTimeInclusive : DateTime,\n        endTimeExclusive : DateTime,\n    ) : Promise<{ [idValue : string] : IDeliveryJSONObject }> {\n        const queryParameters = {\n            retailer_id: retailerId.value,\n            start_time_inclusive: startTimeInclusive.getValueInTimezone(Timezone.UTC),\n            end_time_exclusive: endTimeExclusive.getValueInTimezone(Timezone.UTC),\n            process_uploads: false,\n            date_range_types: ['DELIVERY', 'PLACED', 'APPROVAL'].join('+'),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:retrieve_orders_in_date_range_request'), queryParameters)\n        .then((response : { [idValue : string] : IDeliveryJSONObject }) => {\n            return Promise.resolve(response);\n        });\n    }\n\n    public getInventoryReportingDataForMostRecentInventory(\n        retailerId : LocationModel.LocationIdentifier,\n    ) : Promise<IInventoryChartData> {\n        const queryParameters = {\n            retailer_id: retailerId.value,\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:inventory_reporting_data'), queryParameters)\n            .then((response) => {\n                const productDataById : {[key : string] : DjangoProductInfo} = response.product_data_by_id;\n\n                const chartData : IInventoryChartData = {\n                    topProductsByDollarValue: this.djangoInventoryChartDataToSortedDataValuesByDataId(response.top_dollar_value_products_product_id_dollar_value_tuples, productDataById, 'dollarValue'),\n                    topProductsByUnit: this.djangoInventoryChartDataToSortedDataValuesByDataId(response.top_number_unit_products_by_product_id_unit_value_tuples, productDataById, 'numUnits')\n                };\n\n                return Promise.resolve(chartData);\n            })\n            .catch((rejection : IRestApiRejection) => {\n                if (rejection.status === 404) {\n                    const chartData : IInventoryChartData = {\n                        topProductsByDollarValue: {},\n                        topProductsByUnit: {},\n                    };\n                    return Promise.resolve(chartData);\n                }\n                return Promise.reject(rejection);\n            });\n    }\n\n    public getExcessInventoryReportData(\n        retailerId : string,\n        startInventoryId : string,\n        endInventoryId : string\n    ) {\n        const queryParameters = {\n            retailer_id: retailerId,\n            start_inventory_id: startInventoryId,\n            end_inventory_id: endInventoryId\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:excess_inventory_report_data'), queryParameters)\n            .then((response : Array<ExcessInventoryJSON>) => {\n                const deserializedData : Array<IExcessInventoryRowData> = response.map(\n                    (row) => {\n                        let productName;\n                        if (row.product_brand !== null && row.product_brand.length > 0) {\n                            productName = row.product_brand + ' ' + row.product_name;\n                        } else {\n                            productName = row.product_name;\n                        }\n                        const data: IExcessInventoryRowData = {\n                            productId : row.product_id,\n                            productName,\n                            unitPrice: row.bottle_cost,\n                            sittingUnits: row.sitting_bottle_count,\n                            sittingDollars: row.sitting_dollar_value,\n                            averageWeeklyUnitUsage: row.average_weekly_bottle_usage,\n                            suggestedPar: row.suggested_par,\n                            excessUnits: row.excess_bottle_count,\n                            excessDollars: row.excess_dollar_value,\n                        };\n                        return data;\n                    });\n                return Promise.resolve(deserializedData);\n            });\n    }\n\n    public validateZipCode (\n        value : string,\n    ) {\n        return AjaxUtils.ajaxGet(PathUtils.getAbsolutePathForRequest('/user/validate_zipcode/'), { value });\n    }\n\n    // todo: move to api/Integration\n    public getBreadcrumbCredential(\n        locationId : LocationId\n    ) {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:breadcrumb_credential'), queryParameters)\n        .then((data : MongoDataInterfaces.IBreadcrumbCredentialData) => {\n            const deserializedData : IBreadcrumbCredentialData = {\n                username : data.breadcrumb_credential.username,\n                password : data.breadcrumb_credential.password,\n                isValid : data.credential_is_authenticated,\n            };\n            return Promise.resolve(deserializedData);\n        })\n        .catch((rejection : IRestApiRejection) => {\n            if (rejection.status === 404) {\n                return Promise.resolve(null);\n            }\n            return Promise.reject(rejection);\n        });\n    }\n\n    public updateBreadcrumbCredential(\n        locationId : LocationId,\n        username : string,\n        password : string,\n    ) {\n        const body = {\n            username,\n            password,\n        };\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n\n        };\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:breadcrumb_credential'), body, queryParameters);\n    }\n\n    public deleteBreadcrumbCredential(\n        locationId : LocationId\n    ) {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n\n        };\n        return AjaxUtils.ajaxDelete(urlWithoutRetailerId('api:breadcrumb_credential'), queryParameters);\n    }\n\n    public createItemLevelSalesReportConfiguration(\n        locationId : LocationId,\n        boundingInventoryId0 : string,\n        boundingInventoryId1 : string,\n        pmixFiles : Array<File> | null,\n        salesOnboardingData : ISalesOnboardingData,\n    ) {\n        const {\n            pourSizeByCategory,\n            wellList,\n            recipeFiles,\n        } = salesOnboardingData;\n\n        const formData : FormData = new FormData();\n        formData.append('reference_id', boundingInventoryId0);\n        formData.append('finalized_id', boundingInventoryId1);\n        formData.append('well_list', wellList);\n\n        // form does not support nested data nicely\n        formData.append('pour_size_beer', pourSizeByCategory.beer);\n        formData.append('pour_size_wine', pourSizeByCategory.wine);\n        formData.append('pour_size_shot', pourSizeByCategory.shot);\n        formData.append('pour_size_other', pourSizeByCategory.other);\n\n        recipeFiles.forEach((file : File) => {\n            formData.append(file.name, file, '(recipe) ' + file.name);\n        });\n\n        if (pmixFiles !== null) {\n            pmixFiles.forEach((file : File) => {\n                formData.append(file.name, file, '(pmix) ' + file.name);\n            });\n        }\n\n        return AjaxUtils.ajaxPostForm(\n            url('sales:reports:item_level:create_report_configuration', null, locationId.getValue(), null), formData);\n    }\n\n    public getRetailerFreeTrialStatus(\n        retailerId : string,\n    ) : Promise<FreeTrialStatus> {\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:retailer_free_trial_status'), { retailer_id: retailerId })\n        .then((data) => {\n            return this.locationJSONToObjectSerializer.getFreeTrialStatus(data);\n        });\n    }\n\n    public getEmailSubscriptionsForUser(\n    ) : Promise<IUserEmailSubscriptionDisplayDataByRetailerId> {\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:user_email_subscription'), {})\n            .then((response : MongoDataInterfaces.IUserEmailSubscriptionDisplayData) => {\n                const data : IUserEmailSubscriptionDisplayDataByRetailerId = {};\n                // Arguably display-only data like this should be retrieved separately from the core data, but there is no consistent pattern for this at this point yet and we'll leave it here for now:\n                const legacySubscribableRetailerNamesById = response.subscribable_retailer_name_by_id;\n\n                const legacySubscriptionDataDyRetailerId = response.subscription_data_by_retailer_id;\n                Object.keys(legacySubscriptionDataDyRetailerId).forEach((retailerId : string) => {\n                    data[retailerId] = {\n                        retailerName: legacySubscribableRetailerNamesById[retailerId],\n                        subscriptionData: getEmailSubscriptionDataFromLegacy(legacySubscriptionDataDyRetailerId[retailerId]),\n                    };\n                });\n                return Promise.resolve(data);\n            });\n    }\n\n    public updateRetailerEmailSubscriptions(\n        retailerId : string,\n        subscriptions : IUserRetailerEmailSubscriptionData\n    ) : Promise<void> {\n        const body = getLegacyEmailSubscriptionData(subscriptions);\n        const queryParameters = {\n            retailer_id: retailerId,\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:user_email_subscription'), body, queryParameters);\n    }\n\n    public getAggregatedTransferData(\n        userSessionId : UserSessionId,\n        retailerId : string,\n        startDate : moment.Moment,\n        endDate : moment.Moment,\n        productService : IProductService,\n    ) : Promise<ITransferTotalByProductIdByPartnerLocation> {\n        const queryParameters = {\n            retailer_id: retailerId,\n            start_date_inclusive: startDate.format('YYYY-MM-DD HH:mm:ss'),\n            end_date_exclusive: endDate.format('YYYY-MM-DD HH:mm:ss'),\n        };\n        const deserializeTransferTotalByProductId = (transferTotalByProductId : MongoDataInterfaces.IAggregatedTransferDataByProductId, productsById : StringValueMap<ProductId, Product>) => {\n            const result : TransferTotalByProductId = new StringValueMap();\n            Object.keys(transferTotalByProductId).forEach((productId) => {\n                const productIdObject = new ProductId(productId);\n                const product = productsById.getRequired(productIdObject);\n                const bottlePackaging = PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging());\n                result.set(\n                    productIdObject,\n                    {\n                        unitsIn :  new QuantityInUnit(transferTotalByProductId[productId].FROM_PARTNER_TO_PERSPECTIVE_LOCATION.bottle_count, bottlePackaging),\n                        dollarsIn :  transferTotalByProductId[productId].FROM_PARTNER_TO_PERSPECTIVE_LOCATION.dollar_value,\n                        unitsOut : new QuantityInUnit(transferTotalByProductId[productId].FROM_PERSPECTIVE_TO_PARTNER_LOCATION.bottle_count, bottlePackaging),\n                        dollarsOut : transferTotalByProductId[productId].FROM_PERSPECTIVE_TO_PARTNER_LOCATION.dollar_value,\n                    }\n                );\n            });\n            return result;\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:aggregated_transfer_data'), queryParameters)\n        .then((data : MongoDataInterfaces.IAggregatedTransferData) => {\n            const allRelevantProductIds = new StringValueSet<ProductId>();\n            Object.keys(data.transfer_data_by_retailer_id).forEach((retailerIdValue) => {\n                Object.keys(data.transfer_data_by_retailer_id[retailerIdValue]).forEach((productId) => {\n                    allRelevantProductIds.add(new ProductId(productId));\n                });\n            });\n            Object.keys(data.transfer_data_by_custom_location_name).forEach((customPartnerLocationName) => {\n                Object.keys(data.transfer_data_by_custom_location_name[customPartnerLocationName]).forEach((productId) => {\n                    allRelevantProductIds.add(new ProductId(productId));\n                });\n            });\n\n            return productService.getProductsById(userSessionId, new LocationId(retailerId), allRelevantProductIds).then((productInformation) => {\n                const transferDataByLocationId = new StringValueMap<LocationId, TransferTotalByProductId>();\n                Object.keys(data.transfer_data_by_retailer_id).forEach((retailerIdValue) => {\n                    transferDataByLocationId.set(new LocationId(retailerIdValue), deserializeTransferTotalByProductId(data.transfer_data_by_retailer_id[retailerIdValue], productInformation.productsById));\n                });\n                const transferDataByCustomLocationName = new Map<string, TransferTotalByProductId>();\n                Object.keys(data.transfer_data_by_custom_location_name).forEach((customPartnerLocationName) => {\n                    transferDataByCustomLocationName.set(customPartnerLocationName, deserializeTransferTotalByProductId(data.transfer_data_by_custom_location_name[customPartnerLocationName], productInformation.productsById));\n                });\n\n                return {\n                    transferDataByLocationId,\n                    transferDataByCustomLocationName,\n                };\n            });\n        });\n    }\n}\n","import { IAction, IActionCreatorsMapObject } from '../../../models/IAction';\n\nimport { ErrorNotificationTypeEnum } from '../models/ErrorNotificationTypeEnum';\n\nexport const ActionTypes = {\n    SET_ERROR_NOTIFICATION_TYPE : 'ERROR_NOTIFICATION_MODAL/SET_ERROR_NOTIFICATION_TYPE',\n};\n\nexport namespace ActionInterfaces {\n    export interface ISetErrorNotificationType extends IAction {\n        payload : {\n            errorNotificationType : ErrorNotificationTypeEnum,\n        };\n    }\n\n    export interface IErrorNotificationDialogActionCreatorsMapObject extends IActionCreatorsMapObject {\n        setErrorNotificationType : (errorNotificationType : ErrorNotificationTypeEnum) => ISetErrorNotificationType;\n    }\n}\n\nconst setErrorNotificationType = (\n    errorNotificationType : ErrorNotificationTypeEnum\n) : ActionInterfaces.ISetErrorNotificationType => ({\n    payload : {\n        errorNotificationType,\n    },\n    type : ActionTypes.SET_ERROR_NOTIFICATION_TYPE,\n});\n\nexport const ErrorNotificationDialogActions : ActionInterfaces.IErrorNotificationDialogActionCreatorsMapObject = {\n    setErrorNotificationType,\n};\n","export enum ErrorNotificationTypeEnum {\n    NONE,\n    NO_INTERNET_CONNECTION,\n    OTHER_UNHANDLED_EXCEPTION,\n}\n","import merge from 'lodash/merge';\nimport { Action } from '@reduxjs/toolkit';\n\nimport { ActionInterfaces, ActionTypes } from '../actions/actions';\nimport { IErrorNotificationDialogState } from '../models/ErrorNotificationDialogState';\nimport { ErrorNotificationTypeEnum } from '../models/ErrorNotificationTypeEnum';\n\nconst errorNotificationDialogInitialState : IErrorNotificationDialogState = {\n    errorNotificationType: ErrorNotificationTypeEnum.NONE,\n};\n\nconst reduceSetErrorNotificationType = (\n    state : IErrorNotificationDialogState,\n    action : ActionInterfaces.ISetErrorNotificationType\n) : IErrorNotificationDialogState => {\n    const updates = {\n        errorNotificationType : action.payload.errorNotificationType,\n    };\n    return merge({}, state, updates);\n};\n\nexport const ErrorNotificationDialogReducers = (\n    state : IErrorNotificationDialogState = errorNotificationDialogInitialState,\n    action : Action\n) : IErrorNotificationDialogState => {\n    switch (action.type) {\n        case ActionTypes.SET_ERROR_NOTIFICATION_TYPE:\n            return reduceSetErrorNotificationType(\n                state,\n                action as ActionInterfaces.ISetErrorNotificationType\n            );\n        default:\n            return state;\n    }\n};\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { BevSpotDispatch as Dispatch } from \"shared/components/Provider\";\n\nimport { AddressFormActionInterfaces, AddressFormActions } from './actions';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { autoCompleteValue, IValidationInputData, ValidationInput } from 'shared/components/ValidationInput';\nimport { CountryNameByCode, getCountryOptionsForSelect2Dropdown } from 'shared/models/CountryList';\n\nimport './AddressForm.scss';\n\nexport type AddressFormFieldName = 'streetAddressLine1' | 'streetAddressLine2' | 'city' | 'state' | 'zipCode' | 'country';\n\nexport interface IAddressFormProps {\n    rowClassName : string;\n    addressLine1Label : string;\n    addressLine2Label : string;\n    countryIsDisabled : boolean; // controls whether country field is editable\n    validationInputDataByFieldName : {[fieldName in AddressFormFieldName] : IValidationInputData };\n    setValidationInputForField : (fieldName : AddressFormFieldName, validationInputData : IValidationInputData) => void;\n    onEnterClick : () => void;\n}\n\nexport interface IBoundAddressFormProps extends IAddressFormProps {\n    dispatch : Dispatch<object, AddressFormActionInterfaces.IAddressFormExtraArguments>;\n}\n\n// this component captures special case behavior for US-based accounts\nclass AddressForm extends React.Component<IBoundAddressFormProps, object> {\n\n    public render() {\n        const {\n            rowClassName,\n            addressLine1Label,\n            addressLine2Label,\n            countryIsDisabled,\n            validationInputDataByFieldName\n        } = this.props;\n\n        const countryOptionsAndLabelName : OptionsAndLabelNameTuples = getCountryOptionsForSelect2Dropdown();\n        const selectedCountryOptionValue = validationInputDataByFieldName.country.value;\n\n        const selectedCountryOption : IOption = {\n            icon: null,\n            value: selectedCountryOptionValue,\n            label: CountryNameByCode[selectedCountryOptionValue]\n        };\n\n        const unitedStatesCityAndStateAreSetAndValid = (validationInputDataByFieldName.city.isValid &&\n                                            validationInputDataByFieldName.state.isValid &&\n                                            validationInputDataByFieldName.city.value !== '' &&\n                                            validationInputDataByFieldName.state.value !== '');\n\n        return (\n            <div className=\"address-form\">\n                <div className={ rowClassName }>\n                    <div className=\"input-container\">\n                        { this.makeValidationInput('streetAddressLine1', validationInputDataByFieldName.streetAddressLine1, addressLine1Label) }\n                    </div>\n                    <div className=\"input-container\">\n                        { this.makeValidationInput('streetAddressLine2', validationInputDataByFieldName.streetAddressLine2, addressLine2Label) }\n                    </div>\n                </div>\n\n                <div className={ rowClassName }>\n                    { !countryIsDisabled &&\n                        <div className=\"input-container\">\n                            <label>Country</label>\n                            <Select2DropdownMenu\n                                isSearchable={ true }\n                                buttonShouldDisplaySelectedLabel={ true }\n                                selectedOptionHeaderShown={ true }\n                                sortedOptionsAndLabelName={ countryOptionsAndLabelName }\n                                selectedOption={ selectedCountryOption }\n                                onOptionSelect={ this.onSelectCountryOption }\n                                placeholderText=\"Select Country\"\n                                emptyState={ null }\n                                hasCreateCustomOption={ false }\n                                createCustomOption={ this.doNothingFunction }\n                                customOptionGroupLabel={ null }\n                                createCustomOptionButtonLabel={ null }\n                            />\n                            { !validationInputDataByFieldName.country.isValid &&\n                                <div className=\"validation-input-wrapper\">\n                                    <div className=\"error-text\">\n                                        { validationInputDataByFieldName.country.errorMessage }\n                                    </div>\n                                </div>\n                            }\n                        </div>\n\n                    }\n                    { countryIsDisabled &&\n                        <div className=\"input-container\">\n                            { this.makeValidationInput('country', validationInputDataByFieldName.country, 'Country', true) }\n                        </div>\n                    }\n                </div>\n                { selectedCountryOptionValue === 'US' && // for US-based accounts, infer city/state from zip code\n                    <div className={ rowClassName }>\n                        <div className=\"input-container\">\n                            { this.makeValidationInput('zipCode', validationInputDataByFieldName.zipCode, 'ZIP Code') }\n                        </div>\n                        <div className=\"input-container\">\n                            <div>\n                                { unitedStatesCityAndStateAreSetAndValid ? `${ validationInputDataByFieldName.city.value }, ${ validationInputDataByFieldName.state.value }` : '' }\n                            </div>\n                        </div>\n                    </div>\n                }\n                { selectedCountryOptionValue !== 'US' && // for all non-US accounts, have input fields for city and state\n                    <div className={ rowClassName }>\n                        <div className=\"input-container\">\n                            { this.makeValidationInput('city', validationInputDataByFieldName.city, 'City') }\n                        </div>\n                        <div className=\"input-container\">\n                            { this.makeValidationInput('state', validationInputDataByFieldName.state, 'State/Province/Region') }\n                        </div>\n                        <div className=\"input-container\">\n                            { this.makeValidationInput('zipCode', validationInputDataByFieldName.zipCode, 'ZIP Code') }\n                        </div>\n                    </div>\n                }\n            </div>\n        );\n\n    }\n\n    private makeValidationInput = (fieldName : AddressFormFieldName, fieldData : IValidationInputData, label : string, isDisabled? : boolean) : JSX.Element => {\n        const onChange = (event : React.ChangeEvent<HTMLInputElement>) => this.onFormFieldChange(fieldName, event.currentTarget.value);\n        const onEnterClick = (event : React.FormEvent<HTMLInputElement>) => this.props.onEnterClick();\n\n        let autoComplete : autoCompleteValue | null = null;\n        switch (fieldName) {\n            case 'streetAddressLine1':\n                autoComplete = 'address-line1';\n                break;\n            case 'streetAddressLine2':\n                autoComplete = 'address-line2';\n                break;\n            case 'zipCode':\n                autoComplete = 'postal-code';\n                break;\n            case 'city':\n            case 'state':\n            case 'country':\n                break;\n        }\n\n        let fieldValue : string = fieldData.value;\n\n        if (fieldName === 'country') {\n            const countryName = CountryNameByCode[fieldData.value];\n            fieldValue = countryName;\n        }\n\n        return (\n            <ValidationInput\n                key={ fieldName }\n                inputClassName=\"\"\n                type=\"text\"\n                autoFocus={ false }\n                autoComplete={ autoComplete }\n                errorMessage={ fieldData.errorMessage }\n                isValid={ fieldData.isValid }\n                handleBlur={ null }\n                handleFocus={ null }\n                handleChange={ onChange }\n                handleEnterClick={ onEnterClick }\n                label={ label }\n                hintText={ null }\n                value={ fieldValue }\n                isDisabled={ isDisabled }\n            />\n        );\n    }\n\n    private readonly onFormFieldChange = (field : AddressFormFieldName, value : string) => {\n        const {\n            dispatch,\n            validationInputDataByFieldName,\n            setValidationInputForField,\n        } = this.props;\n\n        void dispatch(AddressFormActions.onFormFieldChange(field, value, validationInputDataByFieldName.country.value))\n        .then((updatedFieldsAndValidationInputs) => {\n            updatedFieldsAndValidationInputs.forEach((fieldAndValidationInputTuple) => {\n                setValidationInputForField(fieldAndValidationInputTuple[0], fieldAndValidationInputTuple[1]);\n            });\n        });\n    }\n\n    private readonly doNothingFunction = () => undefined;\n\n    private readonly onSelectCountryOption = (optionValue : string) => {\n        this.onFormFieldChange('country', optionValue);\n    }\n}\n\ntype IStateProps = object;\n\nconst mapStateToProps = (state : IStateProps) : IStateProps => {\n    return {};\n};\n\nexport const ConnectedAddressForm = connect<IStateProps, object, object, IStateProps>(mapStateToProps)(AddressForm);\n","import { ThunkAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport { AddressFormFieldName } from './AddressForm';\nimport { validateAddressValueByFieldName } from './utils';\n\nimport { DjangoApiManager } from 'shared/api/DjangoApiManager';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\n\ntype ValidationInputDataAndFieldNameTuples = Array<[AddressFormFieldName, IValidationInputData]>;\n\nexport namespace AddressFormActionInterfaces {\n    export interface IAddressFormActionCreatorsMapObject extends IActionCreatorsMapObject {\n        onFormFieldChange : (\n            field : AddressFormFieldName,\n            value : string,\n            countryCode : string,\n        ) => ThunkAction<Promise<ValidationInputDataAndFieldNameTuples>, object, IAddressFormExtraArguments>;\n    }\n\n    export interface IServices {\n        djangoApiManager : DjangoApiManager;\n    }\n\n    export interface IAddressFormExtraArguments extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nconst onFormFieldChange = (\n    field : AddressFormFieldName,\n    value : string,\n    countryCode : string,\n) : ThunkAction<Promise<ValidationInputDataAndFieldNameTuples>, object, AddressFormActionInterfaces.IAddressFormExtraArguments> => {\n    return (dispatch, getState, extraArguments) : Promise<ValidationInputDataAndFieldNameTuples> => {\n        const validationResult = validateAddressValueByFieldName(field, value, countryCode);\n\n        const updatedValidationInputAndFieldNameTuples : ValidationInputDataAndFieldNameTuples = [];\n        if (field === 'zipCode') {\n            if (validationResult.isValid) {\n\n                // for US accounts: check that zip code is valid US zip code, set the city and state based off of that\n                if (countryCode === 'US') {\n                    return extraArguments.services.djangoApiManager.validateZipCode(value)\n                    .then((response) => {\n                        if (!response.valid) {\n                            updatedValidationInputAndFieldNameTuples.push([field, { value, isValid: false, errorMessage: 'ZIP code not recognized' }]);\n                            updatedValidationInputAndFieldNameTuples.push(['city', { value: '', isValid: false, errorMessage: '' }]);\n                            updatedValidationInputAndFieldNameTuples.push(['state', { value: '', isValid: false, errorMessage: '' }]);\n                        } else {\n                            const cityAndState = response.extra_message.split(', ');\n                            updatedValidationInputAndFieldNameTuples.push([field, { value, isValid: true, errorMessage: '' }]);\n                            updatedValidationInputAndFieldNameTuples.push(['city', { value: cityAndState[0], isValid: true, errorMessage: '' }]);\n                            updatedValidationInputAndFieldNameTuples.push(['state', { value: cityAndState[1], isValid: true, errorMessage: '' }]);\n                        }\n                        return Promise.resolve(updatedValidationInputAndFieldNameTuples);\n                    });\n                } else { // for non-US accounts: just set the zipcode value (with no additional validation)\n                    updatedValidationInputAndFieldNameTuples.push([field, { value, isValid: true, errorMessage: '' }]);\n                }\n\n            } else {\n                updatedValidationInputAndFieldNameTuples.push([field, { value, isValid: validationResult.isValid, errorMessage: validationResult.errorMessage }]);\n                updatedValidationInputAndFieldNameTuples.push(['city', { value: '', isValid: false, errorMessage: '' }]);\n                updatedValidationInputAndFieldNameTuples.push(['state', { value: '', isValid: false, errorMessage: '' }]);\n            }\n        } else {\n            updatedValidationInputAndFieldNameTuples.push([field, { value, isValid: validationResult.isValid, errorMessage: validationResult.errorMessage }]);\n\n            if (field === 'country') { // if the country changes, reset zip, city, state (otherwise could get weird data)\n                updatedValidationInputAndFieldNameTuples.push(['zipCode', { value: '', isValid: true, errorMessage: '' }]);\n                updatedValidationInputAndFieldNameTuples.push(['city', { value: '', isValid: true, errorMessage: '' }]);\n                updatedValidationInputAndFieldNameTuples.push(['state', { value: '', isValid: true, errorMessage: '' }]);\n            }\n        }\n\n        return Promise.resolve(updatedValidationInputAndFieldNameTuples);\n    };\n};\n\nexport const AddressFormActions : AddressFormActionInterfaces.IAddressFormActionCreatorsMapObject = {\n    onFormFieldChange,\n};\n","import { AddressFormFieldName } from './AddressForm';\n\nimport { IValidationResult, Validation } from 'shared/validators/validators';\n\nexport const validateAddressValueByFieldName = (\n    fieldName : AddressFormFieldName,\n    value : string,\n    selectedCountryCode : string\n) : IValidationResult => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    // required\n    switch (fieldName) {\n        case 'streetAddressLine1':\n        case 'city':\n        case 'state':\n        case 'country':\n            isValid = Validation.validateRequired(value);\n            if (!isValid) {\n                return {\n                    errorMessage,\n                    isValid,\n                };\n            }\n        case 'streetAddressLine2':\n        case 'zipCode':\n        default:\n            break;\n    }\n\n    // input type specific\n    switch (fieldName) {\n        case 'zipCode':\n            isValid = Validation.validateZipCode(value, selectedCountryCode);\n            if (!isValid) {\n                errorMessage = 'Invalid ZIP code.';\n            }\n            break;\n        case 'streetAddressLine2':\n            isValid = true;\n            errorMessage = '';\n            break;\n        case 'streetAddressLine1':\n        case 'city':\n        case 'state':\n        case 'country':\n        default:\n            if (isValid === null) {\n                throw new Error('no validation implemented for fieldname ' + fieldName);\n            }\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n","import React from 'react';\n\nimport './AlertBanner.scss';\n\ninterface IAlertBannerProps {\n    readonly title? : string;\n    readonly type : 'success' | 'error' | 'warning' | 'info' | 'announce' | 'needs-attention';\n    readonly actionButtons? : Array<JSX.Element>;\n    children : React.ReactNode;\n}\n\nexport class AlertBanner extends React.Component<IAlertBannerProps, object> {\n    public render() {\n        const {\n            title,\n            type,\n            actionButtons,\n        } = this.props;\n\n        return (\n            <div className={ `alert-banner alert-banner-${ type }` }>\n                <div className=\"alert-banner-indicator\">\n                    <span className=\"bevicon\" />\n                </div>\n                <div className=\"alert-banner-content\">\n                    { title && title.length > 0 && <h5>{ title }</h5> }\n                    <div className=\"alert-banner-message\">\n                        { this.props.children }\n                    </div>\n                    { actionButtons && actionButtons.length > 0 &&\n                        <div className=\"alert-banner-actions\">\n                            { actionButtons }\n                        </div>\n                    }\n                </div>\n            </div>\n        );\n    }\n}\n","import { useState } from 'react';\nimport { Button } from 'shared/components/Button';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { IModalButton } from 'shared/models/Modal';\n\nimport './AutoCreatedIcon.scss';\n\ninterface IAutoCreatedIconProps {\n    popoverText: React.ReactNode;\n    popoverButtons: Array<IModalButton> | null;\n}\n\nexport function AutoCreatedIcon({popoverText, popoverButtons}: IAutoCreatedIconProps) {\n    const [popoverContentIsShown, setPopoverContentIsShown] = useState(false);\n\n    const buttonElements = popoverButtons?.map((button, index) => {\n        const onButtonClick = () => {\n            button.onClick();\n            setPopoverContentIsShown(false);\n        }\n\n        return (\n            <Button\n                key={index}\n                buttonClassName={ button.classes }\n                onClick={ onButtonClick }\n                isDisabled={ button.isDisabled }\n                isLoading={ button.isLoading }\n            >{ button.children }</Button>\n        );\n    });\n\n    return (\n        <div className=\"automated-icon\">\n            <Popover\n                preferredPositionArray={['right', 'below', 'left', 'above']}\n                anchorContent={(\n                    <span className=\"bevicon bevico-lightning success-text\" />\n                )}\n                popoverContent={(\n                    <div className=\"automated-icon-popover-content\">\n                        <div className=\"automated-icon-popover-text\">\n                            {popoverText}\n                        </div>\n\n                        <div className=\"automated-icon-popover-buttons text-right\">\n                            {buttonElements}\n                        </div>\n                    </div>\n                )}\n                className=\"automated-icon-popover\"\n                showOnHover={true}\n                popoverContentIsShown={popoverContentIsShown}\n                setPopoverContentIsShown={setPopoverContentIsShown}\n            />\n        </div>\n    );\n}","export enum MonthOfYear {\n    'JANUARY' = 0,\n    'FEBRUARY' = 1,\n    'MARCH' = 2,\n    'APRIL' = 3,\n    'MAY' = 4,\n    'JUNE' = 5,\n    'JULY' = 6,\n    'AUGUST' = 7,\n    'SEPTEMBER' = 8,\n    'OCTOBER' = 9,\n    'NOVEMBER' = 10,\n    'DECEMBER' = 11,\n}\n","import moment from 'moment-timezone';\n\nimport { DateTime, Timezone } from '../../models/DateTime';\nimport { DayOfWeekName } from '../../models/DayOfWeekName';\nimport { MonthOfYear } from '../../models/MonthOfYear';\n\nexport const BevSpotDatePickerUtils = {\n    convertDateTimeToMoment: (dateTime : DateTime) : moment.Moment => {\n        const dateTimeAsMoment = BevSpotDatePickerUtils.convertDateTimeToUTCMoment(dateTime);\n        return dateTimeAsMoment.tz(Timezone[dateTime.timezone]);\n    },\n    convertDateTimeToUTCMoment: (dateTime : DateTime) : moment.Moment => {\n        return moment.tz(dateTime.utcTime, dateTime.format, Timezone[Timezone.UTC]);\n    },\n    decrementMonth: (monthOfYear : MonthOfYear) : MonthOfYear => {\n        // it's either a month number or we've subtracted from 0 and need to roll it back to December\n        let newMonthOfYear : MonthOfYear | -1 = (monthOfYear - 1) as MonthOfYear | -1;\n        if (newMonthOfYear === -1) {\n            newMonthOfYear = MonthOfYear.DECEMBER;\n        }\n        return newMonthOfYear;\n    },\n    getDayOfWeekNameOfFirstDayInMonthForGivenYear: (month : MonthOfYear, year : number) : DayOfWeekName => {\n        const monthAndYearAsString : string = `${ year }-${ month + 1 }-01`;\n        const monthAsMoment = moment(monthAndYearAsString, 'YYYY-M-DD');\n        const dayOfWeekName : DayOfWeekName = parseInt(monthAsMoment.format('d'), 10) as DayOfWeekName;\n        return dayOfWeekName;\n    },\n    getDayOfWeekNames: () : Array<DayOfWeekName> => {\n        return [\n            DayOfWeekName.SUNDAY,\n            DayOfWeekName.MONDAY,\n            DayOfWeekName.TUESDAY,\n            DayOfWeekName.WEDNESDAY,\n            DayOfWeekName.THURSDAY,\n            DayOfWeekName.FRIDAY,\n            DayOfWeekName.SATURDAY,\n        ];\n    },\n    getMonthAsNumberFromDateTime: (dateTime : DateTime) : number => {\n        const dateTimeAsMoment = BevSpotDatePickerUtils.convertDateTimeToMoment(dateTime);\n        return dateTimeAsMoment.month();\n    },\n    getMonthAsStringFromMonthOfYear: (monthOfYear : MonthOfYear) : string => {\n        const momentFromMonthOfYear : moment.Moment = moment().month(monthOfYear);\n        return momentFromMonthOfYear.format('MMMM');\n    },\n    getNumberOfDaysInMonthForGivenYear: (month : MonthOfYear, year : number) : number => {\n        /**\n         * Ben Leichter (December 16, 2016)\n         * We have to add 1 to the month because the MonthOfYear enum starts at 0.\n         * It's written that way because when getting and setting the month on a moment\n         * with the '.month()' function, the month is zero-indexed.\n         * However, when creating a moment from a datetime string, the month starts at one.\n         *\n         * TLDR: shoot me\n         */\n        const monthAndYearAsString : string = `${ year }-${ month + 1 }`;\n        const monthAsMoment = moment(monthAndYearAsString, 'YYYY-M');\n\n        return monthAsMoment.daysInMonth();\n    },\n    getNumberOfWeeksInMonth: (firstDayOfMonthDayOfWeekName : DayOfWeekName, numberOfDaysInMonth : number) : number => {\n        return Math.ceil((numberOfDaysInMonth + firstDayOfMonthDayOfWeekName) / 7);\n    },\n    getNumericalDayOfMonthForDateTime: (dateTime : DateTime) : number => {\n        const dateTimeAsMoment = BevSpotDatePickerUtils.convertDateTimeToMoment(dateTime);\n        return dateTimeAsMoment.date();\n    },\n    getYearAsNumberFromDateTime: (dateTime : DateTime) : number => {\n        const dateTimeAsMoment = BevSpotDatePickerUtils.convertDateTimeToMoment(dateTime);\n        return dateTimeAsMoment.year();\n    },\n    getYearAsStringFromDateTime: (dateTime : DateTime) : string => {\n        const dateTimeAsMoment = BevSpotDatePickerUtils.convertDateTimeToMoment(dateTime);\n        return dateTimeAsMoment.format('YYYY');\n    },\n    incrementMonth: (monthOfYear : MonthOfYear) : MonthOfYear => {\n        // it's either a month or we've gone past the end of the year and need to set it to January\n        let newMonthOfYear : MonthOfYear | 12 = (monthOfYear + 1) as MonthOfYear | 12;\n        if (newMonthOfYear === 12) {\n            newMonthOfYear = MonthOfYear.JANUARY;\n        }\n        return newMonthOfYear;\n    },\n    updateDateTimeWithYearMonthAndDay: (dateTime : DateTime, newNumericalDayOfMonth : number, newMonthAsNumber : number, newYear : number) : DateTime => {\n        const dateTimeAsMoment = BevSpotDatePickerUtils.convertDateTimeToMoment(dateTime);\n        dateTimeAsMoment.year(newYear);\n        dateTimeAsMoment.month(newMonthAsNumber);\n        dateTimeAsMoment.date(newNumericalDayOfMonth);\n        const updatedDateTime : DateTime = new DateTime({\n            format: dateTime.format,\n            timezone: dateTime.timezone,\n            utcTime: dateTimeAsMoment.utc().format(dateTime.format),\n        });\n        return updatedDateTime;\n    },\n};\n","import React from 'react';\n\nimport { CalendarWeek } from '../../models/CalendarWeek';\nimport { DateTime } from '../../models/DateTime';\nimport { DayOfWeekName } from '../../models/DayOfWeekName';\nimport { MonthOfYear } from '../../models/MonthOfYear';\n\nimport { BevSpotDatePickerUtils } from './utils';\n\nexport interface IBevSpotDatePickerCalendarInputRow {\n    calendarWeek : CalendarWeek;\n    selectedDateTime : DateTime;\n    setSelectedDateTime : (dateTime : DateTime) => void;\n    visibleMonth : MonthOfYear;\n    visibleYear : number;\n}\n\nexport class BevSpotDatePickerCalendarInputRow extends React.Component<IBevSpotDatePickerCalendarInputRow, object> {\n    public render() {\n        const selectedDateTimeYear : number = BevSpotDatePickerUtils.getYearAsNumberFromDateTime(this.props.selectedDateTime);\n        const selectedDateTimeNumericalDayOfMonth : number = BevSpotDatePickerUtils.getNumericalDayOfMonthForDateTime(this.props.selectedDateTime);\n        const selectedDateTimeMonthAsNumber : number = BevSpotDatePickerUtils.getMonthAsNumberFromDateTime(this.props.selectedDateTime);\n        const selectedDateTimeIsVisible : boolean = (selectedDateTimeYear === this.props.visibleYear) && (selectedDateTimeMonthAsNumber === this.props.visibleMonth);\n        const dayOfWeekNames : Array<DayOfWeekName> = BevSpotDatePickerUtils.getDayOfWeekNames();\n        const dayOfWeekElements = dayOfWeekNames.map((dayOfWeekName : DayOfWeekName, index : number) => {\n            const numericalDayOfMonth : number | null = this.props.calendarWeek.getNumericalDayOfMonthFromDayOfWeekName(dayOfWeekName);\n            if (numericalDayOfMonth !== null) {\n                const isSelected = selectedDateTimeIsVisible && selectedDateTimeNumericalDayOfMonth === numericalDayOfMonth;\n                return (\n                    <div\n                        key={ index }\n                        className={ isSelected ? 'day-of-month selected' : 'day-of-month' }\n                        onClick={ this.handleSetSelectedDateTime(numericalDayOfMonth, isSelected) }\n                    >\n                        <span className=\"day-of-month-number\">{ numericalDayOfMonth }</span>\n                    </div>\n                );\n            }\n            return (\n                <div key={ index } className=\"day-of-month empty\">\n                    <span />\n                </div>\n            );\n        });\n        return (\n            <div className=\"bevspot-datepicker-calendar-input-row\">\n                { dayOfWeekElements }\n            </div>\n        );\n    }\n    private handleSetSelectedDateTime = (day : number, isSelected : boolean) => {\n        if (!isSelected) {\n            return () => {\n                const updatedDateTime : DateTime = BevSpotDatePickerUtils.updateDateTimeWithYearMonthAndDay(\n                    this.props.selectedDateTime,\n                    day,\n                    this.props.visibleMonth,\n                    this.props.visibleYear);\n                this.props.setSelectedDateTime(updatedDateTime);\n            };\n        }\n    }\n}\n","import React from 'react';\n\nimport { BevSpotDatePickerCalendarInputRow } from './BevSpotDatePickerCalendarInputRow';\n\nimport { CalendarMonth } from '../../models/CalendarMonth';\nimport { CalendarWeek } from '../../models/CalendarWeek';\nimport { DateTime } from '../../models/DateTime';\nimport { MonthOfYear } from '../../models/MonthOfYear';\n\nexport interface IBevSpotDatePickerCalendarInput {\n    calendarMonth : CalendarMonth;\n    selectedDateTime : DateTime;\n    setSelectedDateTime : (dateTime : DateTime) => void;\n    visibleMonth : MonthOfYear;\n    visibleYear : number;\n}\nexport class BevSpotDatePickerCalendarInput extends React.Component<IBevSpotDatePickerCalendarInput, object> {\n    public render() {\n        const {\n            calendarMonth,\n            selectedDateTime,\n            setSelectedDateTime,\n            visibleMonth,\n            visibleYear,\n        } = this.props;\n        const calendarWeeks : Array<CalendarWeek> = calendarMonth.getCalendarWeeks();\n        const calendarWeekElements : Array<JSX.Element> = calendarWeeks.map((calendarWeek : CalendarWeek, index : number) => (\n            <BevSpotDatePickerCalendarInputRow\n                key={ index }\n                calendarWeek={ calendarWeek }\n                selectedDateTime={ selectedDateTime }\n                setSelectedDateTime={ setSelectedDateTime }\n                visibleMonth={ visibleMonth }\n                visibleYear={ visibleYear }\n            />\n        ));\n        return (\n            <div className=\"bevspot-datepicker-calendar-input\">\n                <div className=\"days-of-week\">\n                    <div className=\"day-of-week\">\n                        <span className=\"day-of-week-letter\">S</span>\n                    </div>\n                    <div className=\"day-of-week\">\n                        <span className=\"day-of-week-letter\">M</span>\n                    </div>\n                    <div className=\"day-of-week\">\n                        <span className=\"day-of-week-letter\">T</span>\n                    </div>\n                    <div className=\"day-of-week\">\n                        <span className=\"day-of-week-letter\">W</span>\n                    </div>\n                    <div className=\"day-of-week\">\n                        <span className=\"day-of-week-letter\">T</span>\n                    </div>\n                    <div className=\"day-of-week\">\n                        <span className=\"day-of-week-letter\">F</span>\n                    </div>\n                    <div className=\"day-of-week\">\n                        <span className=\"day-of-week-letter\">S</span>\n                    </div>\n                </div>\n                <div className=\"calendar-weeks\">\n                    { calendarWeekElements }\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { DateTime } from '../../models/DateTime';\nimport { MonthOfYear } from '../../models/MonthOfYear';\n\nimport { BevSpotDatePickerUtils } from './utils';\nexport interface IBevSpotDatePickerMonthSelector {\n    dateTime : DateTime;\n    setVisibleMonth : (visibleMonth : MonthOfYear) => void;\n    setVisibleYear : (visibleYear : number) => void;\n    visibleMonth : MonthOfYear;\n    visibleYear : number;\n}\nexport class BevSpotDatePickerMonthSelector extends React.Component<IBevSpotDatePickerMonthSelector, object> {\n    public render() {\n        const monthOfYear : string = BevSpotDatePickerUtils.getMonthAsStringFromMonthOfYear(this.props.visibleMonth);\n        return (\n            <div className=\"bevspot-datepicker-month-selector\">\n                <div className=\"pull-left decrement-month\" onClick={ this.decrementMonth }>\n                    <span className=\"bevicon bevico-keyboard-arrow-left\" />\n                </div>\n                <div className=\"month-and-year\">\n                    { `${ monthOfYear } ${ this.props.visibleYear }` }\n                </div>\n                <div className=\"pull-right increment-month\" onClick={ this.incrementMonth }>\n                    <span className=\"bevicon bevico-keyboard-arrow-right\" />\n                </div>\n            </div>\n        );\n    }\n    private decrementMonth = () : void => {\n        const {\n            setVisibleMonth,\n            setVisibleYear,\n            visibleMonth,\n            visibleYear,\n        } = this.props;\n        const decrementedMonth : MonthOfYear = BevSpotDatePickerUtils.decrementMonth(visibleMonth);\n        setVisibleMonth(decrementedMonth);\n        if (decrementedMonth === MonthOfYear.DECEMBER) {\n            setVisibleYear(visibleYear - 1);\n        }\n    }\n    private incrementMonth = () : void => {\n        const {\n            setVisibleMonth,\n            setVisibleYear,\n            visibleMonth,\n            visibleYear,\n        } = this.props;\n        const incrementedMonth : MonthOfYear = BevSpotDatePickerUtils.incrementMonth(visibleMonth);\n        setVisibleMonth(incrementedMonth);\n        if (incrementedMonth === MonthOfYear.JANUARY) {\n            setVisibleYear(visibleYear + 1);\n        }\n    }\n}\n","import { DayOfWeekName } from './DayOfWeekName';\n\nexport interface ICalendarDay {\n    numericalDayOfMonth : number;\n    dayOfWeekName : DayOfWeekName;\n}\n\nexport class CalendarDay {\n    private numericalDayOfMonth : number;\n    private dayOfWeekName : DayOfWeekName;\n    constructor(args : ICalendarDay) {\n        this.numericalDayOfMonth = args.numericalDayOfMonth;\n        this.dayOfWeekName = args.dayOfWeekName;\n    }\n    public getNumericalDayOfMonth = () : number => {\n        return this.numericalDayOfMonth;\n    }\n    public getDayOfWeekName = () : DayOfWeekName => {\n        return this.dayOfWeekName;\n    }\n}\n","import { CalendarDay } from './CalendarDay';\nimport { DayOfWeekName } from './DayOfWeekName';\n\nexport interface ICalendarWeek {\n    firstDayInWeek : CalendarDay;\n    numberOfDaysInMonth : number;\n}\nexport class CalendarWeek {\n    private firstDayInWeek : CalendarDay;\n    private numberOfDaysInMonth : number;\n    constructor(args : { firstDayInWeek : CalendarDay; numberOfDaysInMonth : number }) {\n        this.firstDayInWeek = args.firstDayInWeek;\n        this.numberOfDaysInMonth = args.numberOfDaysInMonth;\n    }\n    public getNumericalDayOfMonthFromDayOfWeekName = (dayOfWeekName : DayOfWeekName) : number | null => {\n        const firstDayInWeekDayName = this.firstDayInWeek.getDayOfWeekName();\n        const firstDayInWeekDayOfMonth = this.firstDayInWeek.getNumericalDayOfMonth();\n        if (firstDayInWeekDayName === dayOfWeekName) {\n            return firstDayInWeekDayOfMonth;\n        }\n        const differenceBetweenDays : number = dayOfWeekName - firstDayInWeekDayName;\n        if (differenceBetweenDays < 0 || (firstDayInWeekDayOfMonth + differenceBetweenDays) > this.numberOfDaysInMonth) {\n            return null;\n        }\n        return firstDayInWeekDayOfMonth + differenceBetweenDays;\n    }\n    public getFirstDayInWeek = () : CalendarDay => this.firstDayInWeek;\n    public getNumberOfDaysInMonth = () : number => this.numberOfDaysInMonth;\n}\n","import { CalendarDay } from './CalendarDay';\nimport { CalendarWeek } from './CalendarWeek';\nimport { DayOfWeekName } from './DayOfWeekName';\n\nimport { BevSpotDatePickerUtils } from '../components/BevSpotDatePicker/utils';\n\nexport interface ICalendarMonth {\n    firstDayOfMonth : CalendarDay;\n    numberOfDaysInMonth : number;\n}\nexport class CalendarMonth {\n    private firstDayOfMonth : CalendarDay;\n    private numberOfDaysInMonth : number;\n    constructor(args : ICalendarMonth) {\n        this.firstDayOfMonth = args.firstDayOfMonth;\n        this.numberOfDaysInMonth = args.numberOfDaysInMonth;\n    }\n    public getCalendarWeeks = () : Array<CalendarWeek> => {\n        const firstWeekOfMonth : CalendarWeek = new CalendarWeek({\n            firstDayInWeek: this.firstDayOfMonth,\n            numberOfDaysInMonth: this.numberOfDaysInMonth,\n        });\n        const calendarWeeks : Array<CalendarWeek> = [];\n        const numberOfDaysInMonth = firstWeekOfMonth.getNumberOfDaysInMonth();\n        const numberOfWeeksInMonth = BevSpotDatePickerUtils.getNumberOfWeeksInMonth(firstWeekOfMonth.getFirstDayInWeek().getDayOfWeekName(), numberOfDaysInMonth);\n        let previousSaturdayNumericalDayOfMonth : number = firstWeekOfMonth.getNumericalDayOfMonthFromDayOfWeekName(DayOfWeekName.SATURDAY) || 0;\n        calendarWeeks.push(firstWeekOfMonth);\n        for (let i = 1; i < numberOfWeeksInMonth; i++) {\n            const calendarWeek : CalendarWeek = new CalendarWeek({\n                firstDayInWeek: new CalendarDay({\n                    dayOfWeekName: DayOfWeekName.SUNDAY,\n                    numericalDayOfMonth: previousSaturdayNumericalDayOfMonth + 1,\n                }),\n                numberOfDaysInMonth,\n            });\n            calendarWeeks.push(calendarWeek);\n            previousSaturdayNumericalDayOfMonth = calendarWeek.getNumericalDayOfMonthFromDayOfWeekName(DayOfWeekName.SATURDAY) || 0;\n        }\n        return calendarWeeks;\n    }\n}\n","import React from 'react';\n\nimport { BevSpotDatePickerCalendarInput } from './BevSpotDatePickerCalendarInput';\nimport { BevSpotDatePickerMonthSelector } from './BevSpotDatePickerMonthSelector';\n\nimport { CalendarDay } from '../../models/CalendarDay';\nimport { CalendarMonth } from '../../models/CalendarMonth';\nimport { DateTime } from '../../models/DateTime';\nimport { DayOfWeekName } from '../../models/DayOfWeekName';\nimport { MonthOfYear } from '../../models/MonthOfYear';\n\nimport { BevSpotDatePickerUtils } from './utils';\n\nexport interface IBevSpotDatePicker {\n    selectedDateTime : DateTime;\n    setSelectedDateTime : (dateTime : DateTime) => void;\n    setVisibleMonth : (visibleMonth : MonthOfYear) => void;\n    setVisibleYear : (visibleYear : number) => void;\n    visibleMonth : MonthOfYear;\n    visibleYear : number;\n}\nexport class BevSpotDatePicker extends React.Component<IBevSpotDatePicker, object> {\n    public render() {\n        const {\n            selectedDateTime,\n            setSelectedDateTime,\n            setVisibleMonth,\n            setVisibleYear,\n            visibleMonth,\n            visibleYear,\n        } = this.props;\n\n        const numberOfDaysInMonthForGivenYear : number = BevSpotDatePickerUtils.getNumberOfDaysInMonthForGivenYear(visibleMonth, visibleYear);\n        const dayOfWeekNameOfFirstDayOfMonthForGivenYear : DayOfWeekName = BevSpotDatePickerUtils.getDayOfWeekNameOfFirstDayInMonthForGivenYear(visibleMonth, visibleYear);\n        const firstDayOfMonth : CalendarDay = new CalendarDay({\n            dayOfWeekName: dayOfWeekNameOfFirstDayOfMonthForGivenYear,\n            numericalDayOfMonth: 1,\n        });\n        const visibleCalendarMonth : CalendarMonth = new CalendarMonth({\n            firstDayOfMonth,\n            numberOfDaysInMonth: numberOfDaysInMonthForGivenYear,\n        });\n        return (\n            <div className=\"bevspot-date-picker\">\n                <BevSpotDatePickerMonthSelector\n                    dateTime={ selectedDateTime }\n                    setVisibleMonth={ setVisibleMonth }\n                    setVisibleYear={ setVisibleYear }\n                    visibleMonth={ visibleMonth }\n                    visibleYear={ visibleYear }\n                />\n                <BevSpotDatePickerCalendarInput\n                    calendarMonth={ visibleCalendarMonth }\n                    selectedDateTime={ selectedDateTime }\n                    setSelectedDateTime={ setSelectedDateTime }\n                    visibleMonth={ visibleMonth }\n                    visibleYear={ visibleYear }\n                />\n            </div>\n        );\n    }\n}\n","export enum PeriodOfDay {\n    'AM' = 0,\n    'PM' = 1\n}\n","export class InvalidHourException extends Error {\n    constructor(message? : string) {\n        super(message || 'Hour must be between 1 and 12');\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, InvalidHourException.prototype);\n    }\n}\n","export class InvalidMinuteException extends Error {\n    constructor(message? : string) {\n        super(message || 'Minute must be between 0 and 59');\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, InvalidMinuteException.prototype);\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { InvalidHourException } from './exceptions/InvalidHourException';\nimport { InvalidMinuteException } from './exceptions/InvalidMinuteException';\n\nimport { DateTime, Timezone } from '../../models/DateTime';\nimport { PeriodOfDay } from '../../models/PeriodOfDay';\n\nimport { IHourInputValidatorArgs, IMinuteInputValidatorArgs, InputValidators, IValidationResult } from '../../validators/InputValidators';\n\nexport const BevSpotTimePickerUtils = {\n    addTwelveHours: (dateTime : DateTime) : DateTime => {\n        const dateTimeAsUTCMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToUTCMoment(dateTime);\n        const momentWithNewHour : moment.Moment = dateTimeAsUTCMoment.add({ hours: 12 });\n        const dateTimeWithNewHour : DateTime = new DateTime({\n            format: dateTime.format,\n            timezone: dateTime.timezone,\n            utcTime: momentWithNewHour.format(dateTime.format),\n        });\n        return dateTimeWithNewHour;\n    },\n    convertDateTimeToMoment: (dateTime : DateTime) : moment.Moment => {\n        const dateTimeAsMoment = BevSpotTimePickerUtils.convertDateTimeToUTCMoment(dateTime);\n        return dateTimeAsMoment.tz(Timezone[dateTime.timezone]);\n    },\n    convertDateTimeToUTCMoment: (dateTime : DateTime) : moment.Moment => {\n        return moment.tz(dateTime.utcTime, dateTime.format, Timezone[Timezone.UTC]);\n    },\n    decrementHour: (dateTime : DateTime) : DateTime => {\n        const dateTimeAsUTCMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToUTCMoment(dateTime);\n        const momentWithDecrementedHour : moment.Moment = dateTimeAsUTCMoment.subtract({ hours: 1 });\n        const dateTimeWithDecrementedHour : DateTime = new DateTime({\n            format: dateTime.format,\n            timezone: dateTime.timezone,\n            utcTime: momentWithDecrementedHour.format(dateTime.format),\n        });\n        return dateTimeWithDecrementedHour;\n    },\n    decrementMinute: (dateTime : DateTime) : DateTime => {\n        const dateTimeAsUTCMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToUTCMoment(dateTime);\n        const momentWithDecrementedMinute : moment.Moment = dateTimeAsUTCMoment.subtract({ minutes: 1 });\n        const dateTimeWithDecrementedMinute : DateTime = new DateTime({\n            format: dateTime.format,\n            timezone: dateTime.timezone,\n            utcTime: momentWithDecrementedMinute.format(dateTime.format),\n        });\n        return dateTimeWithDecrementedMinute;\n    },\n    getPeriodOfDayFromDateTime: (dateTime : DateTime) : PeriodOfDay => {\n        const dateTimeAsMoment = BevSpotTimePickerUtils.convertDateTimeToMoment(dateTime);\n        return PeriodOfDay[dateTimeAsMoment.format('A') as keyof typeof PeriodOfDay] as PeriodOfDay\n    },\n    getHourAsStringFromDateTime: (dateTime : DateTime) : string => {\n        const dateTimeAsMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToMoment(dateTime);\n        return dateTimeAsMoment.format('h');\n    },\n    getMinuteAsStringFromDatetime: (dateTime : DateTime) : string => {\n        const dateTimeAsMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToMoment(dateTime);\n        return dateTimeAsMoment.format('mm');\n    },\n    incrementHour: (dateTime : DateTime) : DateTime => {\n        const dateTimeAsUTCMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToUTCMoment(dateTime);\n        const momentWithIncrementedHour : moment.Moment = dateTimeAsUTCMoment.add({ hours: 1 });\n        const dateTimeWithIncrementedHour : DateTime = new DateTime({\n            format: dateTime.format,\n            timezone: dateTime.timezone,\n            utcTime: momentWithIncrementedHour.format(dateTime.format),\n        });\n        return dateTimeWithIncrementedHour;\n    },\n    incrementMinute: (dateTime : DateTime) : DateTime => {\n        const dateTimeAsUTCMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToUTCMoment(dateTime);\n        const momentWithIncrementedMinute : moment.Moment = dateTimeAsUTCMoment.add({ minutes: 1 });\n        const dateTimeWithIncrementedMinute : DateTime = new DateTime({\n            format: dateTime.format,\n            timezone: dateTime.timezone,\n            utcTime: momentWithIncrementedMinute.format(dateTime.format),\n        });\n        return dateTimeWithIncrementedMinute;\n    },\n    setHour: (dateTime : DateTime, newHour : number) : DateTime => {\n        if (newHour > 12 || newHour < 1) {\n            throw new InvalidHourException();\n        }\n        const periodOfDay : PeriodOfDay = BevSpotTimePickerUtils.getPeriodOfDayFromDateTime(dateTime);\n        const dateTimeAsMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToMoment(dateTime);\n        let momentWithNewHour : moment.Moment = dateTimeAsMoment.hour(newHour);\n        if (periodOfDay === PeriodOfDay.PM && newHour < 12) {\n            momentWithNewHour = dateTimeAsMoment.hour(newHour + 12);\n        }\n        if (periodOfDay === PeriodOfDay.AM && newHour === 12) {\n            momentWithNewHour = dateTimeAsMoment.hour(0);\n        }\n        const dateTimeWithNewHour : DateTime = new DateTime({\n            format: dateTime.format,\n            timezone: dateTime.timezone,\n            utcTime: momentWithNewHour.tz(Timezone[Timezone.UTC]).format(dateTime.format),\n        });\n        return dateTimeWithNewHour;\n    },\n    setMinute: (dateTime : DateTime, newMinute : number) => {\n            if (newMinute > 59 || newMinute < 0) {\n                throw new InvalidMinuteException();\n            }\n            const dateTimeAsUTCMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToUTCMoment(dateTime);\n            const momentWithNewMinute : moment.Moment = dateTimeAsUTCMoment.minute(newMinute);\n            const dateTimeWithNewMinute : DateTime = new DateTime({\n                format: dateTime.format,\n                timezone: dateTime.timezone,\n                utcTime: momentWithNewMinute.format(dateTime.format),\n            });\n            return dateTimeWithNewMinute;\n    },\n    subtractTwelveHours: (dateTime : DateTime) => {\n        const dateTimeAsUTCMoment : moment.Moment = BevSpotTimePickerUtils.convertDateTimeToUTCMoment(dateTime);\n        const momentWithNewHour : moment.Moment = dateTimeAsUTCMoment.subtract({ hours: 12 });\n        const dateTimeWithNewHour : DateTime = new DateTime({\n            format: dateTime.format,\n            timezone: dateTime.timezone,\n            utcTime: momentWithNewHour.format(dateTime.format),\n        });\n        return dateTimeWithNewHour;\n    },\n    validateHour: (hourValue : string) : IValidationResult => {\n        const validationArgs : IHourInputValidatorArgs = { value: hourValue };\n        const validationResult : IValidationResult = InputValidators.hourInputValidator(validationArgs);\n        return validationResult;\n    },\n    validateMinute: (minuteValue : string) : IValidationResult => {\n        const validationArgs : IMinuteInputValidatorArgs = { value: minuteValue };\n        const validationResult : IValidationResult = InputValidators.minuteInputValidator(validationArgs);\n        return validationResult;\n    },\n};\n","import React from 'react';\n\nimport { ValidationInput } from 'shared/components/ValidationInput';\n\nimport { DateTime } from '../../models/DateTime';\nimport { IFormValue } from '../../models/FormValue';\n\nimport { IValidationResult } from '../../validators/InputValidators';\n\nimport { BevSpotTimePickerUtils } from './utils';\n\nexport interface IBevSpotTimePickerHourInput {\n    dateTime : DateTime;\n    formValue : IFormValue<string>;\n    setErrorMessage : (errorMessage : string | null) => void;\n    setFormValue : (formValue : string) => void;\n    setIsValid : (isValid : boolean) => void;\n    setSelectedDateTime : (selectedDateTime : DateTime) => void;\n}\n\nexport class BevSpotTimePickerHourInput extends React.Component<IBevSpotTimePickerHourInput, object> {\n    public render() {\n        const {\n            formValue,\n        } = this.props;\n        const disabled = formValue.isValid ? null : ' disabled';\n        return (\n            <div className=\"bevspot-time-picker-hour-input\">\n                <div className={ 'time-picker-button increment-hour ' + disabled }  onClick={ this.incrementHour }>\n                    <span className=\"bevicon bevico-keyboard-arrow-up\"/>\n                </div>\n                <ValidationInput\n                    type=\"number\"\n                    step={ 1 }\n                    label={ null }\n                    hintText={ null }\n                    value={ (formValue.value !== null) ? formValue.value : '' }\n                    autoFocus={ false }\n                    autoComplete={ null }\n                    isValid={ formValue.isValid }\n                    errorMessage=\"\"\n                    inputClassName=\"\"\n                    handleBlur={ this.validateHour }\n                    handleFocus={ null }\n                    handleChange={ this.setHour }\n                    handleEnterClick={ this.returnUndefined }\n                    isDisabled={ false }\n                />\n                <div className={ 'time-picker-button decrement-hour ' + disabled } onClick={ this.decrementHour }>\n                    <span className=\"bevicon bevico-keyboard-arrow-down\" />\n                </div>\n            </div>\n        );\n    }\n    private returnUndefined = () => undefined;\n    private setHour = (event : React.ChangeEvent<HTMLInputElement>) : void => {\n        const {\n            formValue,\n            setErrorMessage,\n            setIsValid,\n            setFormValue,\n        } = this.props;\n\n        const input = event.currentTarget;\n        if (!formValue.isValid) {\n            setErrorMessage(null);\n            setIsValid(true);\n        }\n        setFormValue(input.value);\n    }\n    private incrementHour = () : void => {\n        if (this.props.formValue.isValid) {\n            const dateTimeWithIncrementedHour : DateTime = BevSpotTimePickerUtils.incrementHour(this.props.dateTime);\n            this.props.setFormValue(dateTimeWithIncrementedHour.getValue('h'));\n            this.props.setSelectedDateTime(dateTimeWithIncrementedHour);\n        }\n    }\n    private decrementHour = () : void => {\n        if (this.props.formValue.isValid) {\n            const dateTimeWithDecrementedHour : DateTime = BevSpotTimePickerUtils.decrementHour(this.props.dateTime);\n            this.props.setFormValue(dateTimeWithDecrementedHour.getValue('h'));\n            this.props.setSelectedDateTime(dateTimeWithDecrementedHour);\n        }\n    }\n    private validateHour = (event : React.FocusEvent<HTMLInputElement>) : void => {\n        const {\n            dateTime,\n            setFormValue,\n            setErrorMessage,\n            setIsValid,\n            setSelectedDateTime,\n        } = this.props;\n        const input = event.currentTarget;\n        const newHour = parseInt(input.value, 10);\n        const inputValue : string = input.value.length === 2 && newHour < 10 ? newHour.toString() : input.value;\n        const validationResult : IValidationResult = BevSpotTimePickerUtils.validateHour(inputValue);\n        setFormValue(inputValue);\n        if (validationResult.isValid) {\n            const dateTimeWithNewHour : DateTime = BevSpotTimePickerUtils.setHour(dateTime, newHour);\n            setSelectedDateTime(dateTimeWithNewHour);\n        } else {\n            setErrorMessage(validationResult.errorMessage);\n            setIsValid(false);\n        }\n    }\n}\n","import React from 'react';\n\nimport { ValidationInput } from 'shared/components/ValidationInput';\n\nimport { DateTime } from '../../models/DateTime';\nimport { IFormValue } from '../../models/FormValue';\n\nimport { IValidationResult } from '../../validators/InputValidators';\n\nimport { BevSpotTimePickerUtils } from './utils';\n\nexport interface IBevSpotTimePickerMinuteInput {\n    dateTime : DateTime;\n    formValue : IFormValue<string>;\n    setErrorMessage : (errorMessage : string | null) => void;\n    setFormValue : (formValue : string, shouldUpdateHourFormValue : boolean) => void;\n    setIsValid : (isValid : boolean) => void;\n    setSelectedDateTime : (selectedDateTime : DateTime) => void;\n}\nexport class BevSpotTimePickerMinuteInput extends React.Component<IBevSpotTimePickerMinuteInput, object> {\n    public render() {\n        const {\n            formValue,\n        } = this.props;\n        const disabled = formValue.isValid ? null : ' disabled';\n        return (\n            <div className=\"bevspot-time-picker-minute-input\">\n                <div className={ 'time-picker-button increment-minute ' + disabled } onClick={ this.incrementMinute }>\n                    <span className=\"bevicon bevico-keyboard-arrow-up\"/>\n                </div>\n                <ValidationInput\n                    type=\"number\"\n                    step={ 1 }\n                    label={ null }\n                    hintText={ null }\n                    value={ (formValue.value !== null) ? formValue.value : '' }\n                    autoFocus={ false }\n                    autoComplete={ null }\n                    isValid={ formValue.isValid }\n                    errorMessage=\"\"\n                    inputClassName=\"\"\n                    handleBlur={ this.validateMinute }\n                    handleFocus={ null }\n                    handleChange={ this.setMinute }\n                    handleEnterClick={ this.returnUndefined }\n                    isDisabled={ false }\n                />\n                <div className={ 'time-picker-button decrement-minute ' + disabled } onClick={ this.decrementMinute }>\n                    <span className=\"bevicon bevico-keyboard-arrow-down\" />\n                </div>\n            </div>\n        );\n    }\n    private returnUndefined = () => undefined;\n    private setMinute = (event : React.ChangeEvent<HTMLInputElement>) : void => {\n        const {\n            formValue,\n            setErrorMessage,\n            setIsValid,\n            setFormValue,\n        } = this.props;\n        const input = event.currentTarget;\n        if (!formValue.isValid) {\n            setErrorMessage(null);\n            setIsValid(true);\n        }\n        setFormValue(input.value, false);\n    }\n    private incrementMinute = () : void => {\n        const {\n            dateTime,\n            formValue,\n            setFormValue,\n            setSelectedDateTime,\n        } = this.props;\n        if (formValue.isValid) {\n            const dateTimeWithIncrementedMinute : DateTime = BevSpotTimePickerUtils.incrementMinute(dateTime);\n            setFormValue(dateTimeWithIncrementedMinute.getValue('mm'), true);\n            setSelectedDateTime(dateTimeWithIncrementedMinute);\n        }\n    }\n    private decrementMinute = () : void => {\n        const {\n            dateTime,\n            formValue,\n            setFormValue,\n            setSelectedDateTime,\n        } = this.props;\n        if (formValue.isValid) {\n            const dateTimeWithDecrementedMinute : DateTime = BevSpotTimePickerUtils.decrementMinute(dateTime);\n            setFormValue(dateTimeWithDecrementedMinute.getValue('mm'), true);\n            setSelectedDateTime(dateTimeWithDecrementedMinute);\n        }\n    }\n    private validateMinute = (event : React.FocusEvent<HTMLInputElement>) : void => {\n        const {\n            dateTime,\n            setFormValue,\n            setErrorMessage,\n            setIsValid,\n            setSelectedDateTime,\n        } = this.props;\n        const input = event.currentTarget;\n        const inputValue : string = input.value.length === 1 ? '0' + input.value : input.value;\n        const validationResult : IValidationResult = BevSpotTimePickerUtils.validateMinute(inputValue);\n        setFormValue(inputValue, false);\n        if (validationResult.isValid) {\n            const newMinute = parseInt(inputValue, 10);\n            const dateTimeWithNewMinute : DateTime = BevSpotTimePickerUtils.setMinute(dateTime, newMinute);\n            setSelectedDateTime(dateTimeWithNewMinute);\n        } else {\n            setErrorMessage(validationResult.errorMessage);\n            setIsValid(false);\n        }\n    }\n}\n","import React from 'react';\n\nimport { DateTime } from '../../models/DateTime';\nimport { PeriodOfDay } from '../../models/PeriodOfDay';\n\nimport { BevSpotTimePickerUtils } from './utils';\n\nexport interface IBevSpotTimePickerPeriodOfDaySelector {\n    dateTime : DateTime;\n    setSelectedDateTime : (selectedDateTime : DateTime) => void;\n}\nexport class BevSpotTimePickerPeriodOfDaySelector extends React.Component<IBevSpotTimePickerPeriodOfDaySelector, object> {\n    public render() {\n        const selectedPeriodOfDay : PeriodOfDay = BevSpotTimePickerUtils.getPeriodOfDayFromDateTime(this.props.dateTime);\n        return (\n            <div className=\"bevspot-time-picker-period-of-day-selector col-row\">\n                <div className=\"cell col-xs-6 text-center\">\n                    <div className={ selectedPeriodOfDay === PeriodOfDay.AM ? 'period-of-day selected' : 'period-of-day' } onClick={ this.subtractTwelveHours }>AM</div>\n                </div>\n                <div className=\"cell col-xs-6 text-center\">\n                    <div className={ selectedPeriodOfDay === PeriodOfDay.PM ? 'period-of-day selected' : 'period-of-day' } onClick={ this.addTwelveHours }>PM</div>\n                </div>\n            </div>\n        );\n    }\n    private addTwelveHours = () : void => {\n        const selectedPeriodOfDay : PeriodOfDay = BevSpotTimePickerUtils.getPeriodOfDayFromDateTime(this.props.dateTime);\n        if (selectedPeriodOfDay === PeriodOfDay.AM) {\n            const dateTimeWithNewHour : DateTime = BevSpotTimePickerUtils.addTwelveHours(this.props.dateTime);\n            this.props.setSelectedDateTime(dateTimeWithNewHour);\n        }\n    }\n    private subtractTwelveHours = () : void => {\n        const selectedPeriodOfDay : PeriodOfDay = BevSpotTimePickerUtils.getPeriodOfDayFromDateTime(this.props.dateTime);\n        if (selectedPeriodOfDay === PeriodOfDay.PM) {\n            const dateTimeWithNewHour : DateTime = BevSpotTimePickerUtils.subtractTwelveHours(this.props.dateTime);\n            this.props.setSelectedDateTime(dateTimeWithNewHour);\n        }\n    }\n}\n","import React from 'react';\n\nimport { DateTime } from '../../models/DateTime';\nimport { IFormValue } from '../../models/FormValue';\nimport { IFormActions } from '../../models/IFormActions';\n\nimport { BevSpotTimePickerHourInput } from './BevSpotTimePickerHourInput';\nimport { BevSpotTimePickerMinuteInput } from './BevSpotTimePickerMinuteInput';\nimport { BevSpotTimePickerPeriodOfDaySelector } from './BevSpotTimePickerPeriodOfDaySelector';\n\nexport interface IBevSpotTimePickerFormActions {\n    hour : IFormActions;\n    minute : IFormActions;\n}\nexport interface IBevSpotTimePickerFormValues {\n    hour : IFormValue<string>;\n    minute : IFormValue<string>;\n}\nexport interface IBevSpotTimePicker {\n    selectedDateTime : DateTime;\n    setSelectedDateTime : (selectedDateTime : DateTime) => void;\n    formActions : IBevSpotTimePickerFormActions;\n    formValues : IBevSpotTimePickerFormValues;\n}\nexport class BevSpotTimePicker extends React.Component<IBevSpotTimePicker, object> {\n    public render() {\n        const {\n            selectedDateTime,\n            formActions,\n            formValues,\n            setSelectedDateTime,\n        } = this.props;\n        let errorElement : JSX.Element | null = null;\n        if (!formValues.hour.isValid) {\n            errorElement = <span className=\"error-message\">{ formValues.hour.errorMessage }</span>;\n        }\n        if (formValues.hour.isValid && !formValues.minute.isValid) {\n            errorElement = <span className=\"error-message\">{ formValues.minute.errorMessage }</span>;\n        }\n        return (\n            <div className=\"bevspot-time-picker\">\n                <div className=\"col-row\">\n                    <div className=\"col-xs-7 col-sm-10 text-center no-pad\">\n                        <div className=\"col-row\">\n                            <div className=\"cell col-xs-5\">\n                                <BevSpotTimePickerHourInput\n                                    dateTime={ selectedDateTime }\n                                    formValue={ formValues.hour }\n                                    setErrorMessage={ formActions.hour.setErrorMessage }\n                                    setFormValue={ formActions.hour.setFormValue }\n                                    setIsValid={ formActions.hour.setIsValid }\n                                    setSelectedDateTime={ setSelectedDateTime }\n                                />\n                            </div>\n                            <div className=\"cell col-xs-1 time-picker-colon-wrapper\">\n                                <span className=\"time-picker-colon\">:</span>\n                            </div>\n                            <div className=\"cell col-xs-5\">\n                                <BevSpotTimePickerMinuteInput\n                                    dateTime={ selectedDateTime }\n                                    formValue={ formValues.minute }\n                                    setErrorMessage={ formActions.minute.setErrorMessage }\n                                    setFormValue={ this.handleSetMinuteFormValue }\n                                    setIsValid={ formActions.minute.setIsValid }\n                                    setSelectedDateTime={ setSelectedDateTime }\n                                />\n                            </div>\n                        </div>\n                    </div>\n                    <div className=\"col-xs-5 col-sm-10 cell-ptb-xl\">\n                        <BevSpotTimePickerPeriodOfDaySelector\n                            dateTime={ selectedDateTime }\n                            setSelectedDateTime={ setSelectedDateTime }\n                        />\n                        { errorElement }\n                    </div>\n                </div>\n            </div>\n        );\n    }\n    private handleSetMinuteFormValue = (minuteFormValue : string, shouldUpdateHourFormValue : boolean) : void => {\n        const {\n            formActions,\n            formValues,\n        } = this.props;\n        if (formValues.hour.value === null) {\n            throw new Error('Hour form value unexpectedly null');\n        }\n        if (formValues.minute.value === null) {\n            throw new Error('Minute form value unexpectedly null');\n        }\n        if (shouldUpdateHourFormValue) {\n            let newHourFormValue : number;\n            const currentHourFormValueAsNumber = parseInt(formValues.hour.value, 10);\n            const currentMinuteValueAsNumber = parseInt(formValues.minute.value, 10);\n            const minuteFormValueAsNumber = parseInt(minuteFormValue, 10);\n            if (minuteFormValueAsNumber === 0 && currentMinuteValueAsNumber === 59) {\n                newHourFormValue = currentHourFormValueAsNumber + 1;\n                if (newHourFormValue === 13) {\n                    newHourFormValue = 1;\n                }\n                formActions.hour.setFormValue(newHourFormValue.toString());\n            }\n            if (minuteFormValueAsNumber === 59 && currentMinuteValueAsNumber === 0) {\n                newHourFormValue = currentHourFormValueAsNumber - 1;\n                if (newHourFormValue === 0) {\n                    newHourFormValue = 12;\n                }\n                formActions.hour.setFormValue(newHourFormValue.toString());\n            }\n        }\n        formActions.minute.setFormValue(minuteFormValue);\n    }\n}\n","import moment from 'moment-timezone';\nimport React from 'react';\n\nimport { DateTime } from '../../models/DateTime';\n\nexport interface IBevspotDateTimePickerHeader {\n    selectedDateTime : DateTime;\n}\nexport class BevspotDateTimePickerHeader extends React.Component<IBevspotDateTimePickerHeader, object> {\n    public render() {\n        const {\n            selectedDateTime,\n        } = this.props;\n\n        const dateTimeAsMoment : moment.Moment = selectedDateTime.toMoment();\n        const dayOfWeek : string = dateTimeAsMoment.format('dddd'); // ex: 'Monday'\n        const timeOfDay : string = dateTimeAsMoment.format('h:mm A'); // ex: '2:10 AM'\n        const calendarDate : string = dateTimeAsMoment.format('MMMM D, YYYY'); // ex: 'December 5, 2016'\n        const timezone : string = dateTimeAsMoment.format(' (z)');\n        return (\n            <div className=\"bevspot-datetime-picker-header dark\">\n                <div className=\"datetime-row\">\n                    <div className=\"calendar-date\">{ calendarDate }</div>\n                    <div className=\"time\">\n                        { timeOfDay }\n                        <span className=\"timezone\">\n                            { timezone }\n                        </span>\n                    </div>\n                </div>\n                <div className=\"day\">{ dayOfWeek }</div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { AnyAction, Dispatch } from '@reduxjs/toolkit';\n\nimport { IModalButton } from 'shared/models/Modal';\n\nimport { BevSpotDatePicker } from '../BevSpotDatePicker/BevSpotDatePicker';\nimport { BevSpotTimePicker, IBevSpotTimePickerFormValues } from '../BevSpotTimePicker/BevSpotTimePicker';\nimport { Button } from '../Button';\nimport { BevspotDateTimePickerHeader } from './BevSpotDateTimePickerHeader';\n\nimport { IBevSpotDateTimePickerState } from '../../components/BevSpotDateTimePicker/IBevSpotDateTimePickerState';\nimport { IDateTimePickerStateById } from '../../components/BevSpotDateTimePicker/reducers';\n\nimport { DateTimePickerActions } from './actions';\n\nimport { DateTime, Timezone, timezoneFromWindow } from '../../models/DateTime';\nimport { IFormActions } from '../../models/IFormActions';\nimport { MonthOfYear } from '../../models/MonthOfYear';\n\nimport { BevSpotDatePickerUtils } from '../BevSpotDatePicker/utils';\nimport { BevSpotTimePickerUtils } from '../BevSpotTimePicker/utils';\nimport { getDateTimeFromMoment } from 'shared/utils/dateTimeUtils';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { PositionablePopupSide } from 'shared/components/PositionablePopup/PositionablePopup';\nimport moment from 'moment-timezone';\n\nimport 'shared/css/BevSpotDateTimePicker.scss';\n\nexport enum BevSpotDateTimePickerType {\n    EMBEDDED = 0,\n    POPUP = 1,\n}\n\nexport interface IConnectedBevSpotDateTimePicker {\n    buttons : Array<IModalButton>;\n    initialDateTime : DateTime;\n    setDateTime : (dateTime : DateTime) => void;\n    type : BevSpotDateTimePickerType;\n    uniqueId : string;\n    shouldShowTime : boolean;\n    popUpPicker? : {\n        dateTimePickerIsShown : boolean;\n        setDateTimePickerIsShown : (value : boolean) => void;\n        preferredPositionArray : Array<PositionablePopupSide> | undefined;\n    }\n}\n\nexport interface IBevSpotDateTimePicker extends IConnectedBevSpotDateTimePicker {\n    formValues : IBevSpotTimePickerFormValues;\n    selectedDateTime : DateTime | undefined;\n    visibleMonth : MonthOfYear;\n    visibleYear : number;\n}\n\nexport interface IBoundBevSpotDateTimePicker extends IBevSpotDateTimePicker {\n    // TODO would be better to only allow this to dispatch DateTimePickerActions but this is fine for now.\n    dispatch : Dispatch<AnyAction>;\n}\n\nexport class BevSpotDateTimePicker extends React.Component<IBoundBevSpotDateTimePicker, object> {\n    private inputRef : React.RefObject<HTMLInputElement> = React.createRef();\n    private dateTimeFormat = this.props.shouldShowTime ? 'YYYY-MM-DDTHH:mm' : 'YYYY-MM-DD';\n    public UNSAFE_componentWillMount() {\n        const {\n            dispatch,\n            initialDateTime,\n            uniqueId,\n        } = this.props;\n\n        const defaultDateTimePickerState : IBevSpotDateTimePickerState = {\n            formValues: {\n                hour: {\n                    errorMessage: null,\n                    isValid: true,\n                    value: BevSpotTimePickerUtils.getHourAsStringFromDateTime(initialDateTime),\n                },\n                minute: {\n                    errorMessage: null,\n                    isValid: true,\n                    value: BevSpotTimePickerUtils.getMinuteAsStringFromDatetime(initialDateTime),\n                },\n            },\n            selectedDateTime: initialDateTime,\n            visibleMonth: BevSpotDatePickerUtils.getMonthAsNumberFromDateTime(initialDateTime),\n            visibleYear: BevSpotDatePickerUtils.getYearAsNumberFromDateTime(initialDateTime),\n        };\n        dispatch(DateTimePickerActions.initializeDatetimePickerState(uniqueId, defaultDateTimePickerState));\n    }\n\n    public componentDidUpdate(nextProps : IBoundBevSpotDateTimePicker) {\n        const input = this.inputRef.current;\n        if (nextProps.initialDateTime !== this.props.initialDateTime && input !== null) {\n            input.value = nextProps.initialDateTime.getValue(this.dateTimeFormat);\n        }\n    }\n\n    public render() {\n        const {\n            dispatch,\n            buttons,\n            formValues,\n            selectedDateTime,\n            initialDateTime,\n            setDateTime,\n            type,\n            visibleMonth,\n            visibleYear,\n            uniqueId,\n            shouldShowTime,\n            popUpPicker,\n        } = this.props;\n        const formActions : { hour : IFormActions; minute : IFormActions } = {\n            hour: {\n                setErrorMessage: (errorMessage : string | null) => {\n                    dispatch(DateTimePickerActions.setHourErrorMessage(uniqueId, errorMessage));\n                },\n                setIsValid: (isValid : boolean) => {\n                    dispatch(DateTimePickerActions.setHourIsValid(uniqueId, isValid));\n                },\n                setFormValue: (value : string | null) => {\n                    dispatch(DateTimePickerActions.setHourFormValue(uniqueId, value));\n                },\n            },\n            minute: {\n                setErrorMessage: (errorMessage : string | null) => {\n                    dispatch(DateTimePickerActions.setMinuteErrorMessage(uniqueId, errorMessage));\n                },\n                setIsValid: (isValid : boolean) => {\n                    dispatch(DateTimePickerActions.setMinuteIsValid(uniqueId, isValid));\n                },\n                setFormValue: (value : string | null) => {\n                    dispatch(DateTimePickerActions.setMinuteFormValue(uniqueId, value));\n                },\n            },\n        };\n        const handleSetSelectedDateTime = (newDateTime : DateTime) => {\n            setDateTime(newDateTime);\n            dispatch(DateTimePickerActions.setSelectedDateTime(uniqueId, newDateTime));\n            const input = this.inputRef.current;\n            if (input !== null) {\n                input.value = newDateTime.getValue(this.dateTimeFormat);\n            }\n        };\n        const handleSetVisibleMonth = (newVisibleMonth : MonthOfYear) => {\n            dispatch(DateTimePickerActions.setVisibleMonth(uniqueId, newVisibleMonth));\n        };\n        const handleSetVisibleYear = (newVisibleYear : number) => {\n            dispatch(DateTimePickerActions.setVisibleYear(uniqueId, newVisibleYear));\n        };\n        const buttonElements : Array<JSX.Element> = buttons.map((button : IModalButton, index : number) => (\n            <Button\n                key={ index }\n\n                buttonClassName={ button.classes }\n                isDisabled={ button.isDisabled }\n                isLoading={ button.isLoading }\n                onClick={ button.onClick }\n            >\n                { button.children }\n            </Button>\n        ));\n\n        const dateTimePickerType = type === BevSpotDateTimePickerType.POPUP ? 'pop-up' : 'embedded';\n\n        const onInputChange = (dateTime : string) => {\n            const dateTimeAsMoment = moment.tz(dateTime, this.dateTimeFormat, Timezone[timezoneFromWindow()]);\n            if (dateTime) {\n                const hour = dateTimeAsMoment.hour() % 12;\n                handleSetSelectedDateTime(getDateTimeFromMoment(dateTimeAsMoment, timezoneFromWindow()));\n                dispatch(DateTimePickerActions.setVisibleMonth(uniqueId, dateTimeAsMoment.month()));\n                dispatch(DateTimePickerActions.setVisibleYear(uniqueId, dateTimeAsMoment.year()));\n                dispatch(DateTimePickerActions.setHourFormValue(uniqueId, (hour === 0 ? 12 : hour).toString()));\n                dispatch(DateTimePickerActions.setMinuteFormValue(uniqueId, dateTimeAsMoment.minute().toString().padStart(2, '0')));\n            }\n        }\n\n        const popover = selectedDateTime !== undefined ? (\n            <div className={ `bevspot-datetime-picker ${ dateTimePickerType }` }>\n                <BevspotDateTimePickerHeader selectedDateTime={ selectedDateTime } />\n                <div className=\"bevspot-datetime-picker-caret\"/>\n                <div className=\"bevspot-datetime-picker-body\">\n                    <div className=\"col-row\">\n                        <div className=\"cell-plr-sm col-xs-12 col-sm-8 text-center date-picker-side\">\n                            <BevSpotDatePicker\n                                selectedDateTime={ selectedDateTime }\n                                setSelectedDateTime={ handleSetSelectedDateTime }\n                                setVisibleMonth={ handleSetVisibleMonth }\n                                setVisibleYear={ handleSetVisibleYear }\n                                visibleMonth={ visibleMonth }\n                                visibleYear={ visibleYear }\n                            />\n                        </div>\n                        { shouldShowTime &&\n                            <div className=\"cell-plr-sm col-xs-12 col-sm-4 text-center\">\n                                <BevSpotTimePicker\n                                    selectedDateTime={ selectedDateTime }\n                                    formActions={ formActions }\n                                    formValues={ formValues }\n                                    setSelectedDateTime={ handleSetSelectedDateTime }\n                                />\n                            </div>\n                        }\n                    </div>\n                </div>\n                <div className=\"bevspot-datetime-picker-footer\">\n                    <div className=\"col-row text-right\">\n                        <div className=\"col-xs-12\">\n                            { buttonElements }\n                        </div>\n                    </div>\n                </div>\n            </div>\n        ) : null;\n\n        if (popUpPicker !== undefined && selectedDateTime !== undefined) {\n            const dateTimeValue = initialDateTime.getValue(this.dateTimeFormat);\n            const {\n                preferredPositionArray,\n                dateTimePickerIsShown,\n                setDateTimePickerIsShown,\n            } = popUpPicker;\n\n            const handleSetDateTimePickerIsShown = (isShown : boolean) => {\n                setDateTimePickerIsShown(isShown);\n                if (!isShown) {\n                    // Reset calendar to show selected day\n                    onInputChange(dateTimeValue);\n                }\n            };\n            return (<Popover\n                preferredPositionArray={ preferredPositionArray ? preferredPositionArray : ['below', 'above', 'center',] }\n                className={ 'popover-datetime-picker' + (dateTimePickerIsShown ? ' popup-target-shown' : ' popup-target-hidden ') }\n                showOnHover={ false }\n                popoverContentIsShown={ dateTimePickerIsShown }\n                setPopoverContentIsShown={ handleSetDateTimePickerIsShown }\n                anchorContent={ (\n                    <div className=\"popup-control\">\n                        <div className=\"col-row\">\n                            <div className=\"cell col-xs-12 ellipsis-out\">\n                                <input\n                                    type={ shouldShowTime ? \"datetime-local\" : \"date\" }\n                                    ref={ this.inputRef }\n                                    className=\"popup-datetime-picker-input\"\n                                    defaultValue={ dateTimeValue }\n                                    onBlur={ (event : React.FocusEvent<HTMLInputElement>) => {\n                                        onInputChange(event.target.value);\n                                    } }\n                                    onKeyUp={ (event : React.KeyboardEvent<HTMLInputElement>) => {\n                                        if (event.key === 'Enter') {\n                                            onInputChange(event.currentTarget.value);\n                                        }\n                                    }}\n                                />\n                            </div>\n                            <div className=\"calendar-icon\">\n                                <span className=\"bevicon bevico-event\" />\n                            </div>\n                        </div>\n                    </div>\n                ) }\n                popoverContent={ (\n                    <div className=\"popup-target\">\n                        { popover }\n                    </div>\n                ) }\n                anchorClickBehavior=\"pin\"\n            /> )\n        }\n        return popover;\n    }\n}\n\ninterface IState {\n    dateTimePickerStateById : IDateTimePickerStateById;\n}\n\nconst mapStateToProps = (state : IState, ownProps : IConnectedBevSpotDateTimePicker) : IBevSpotDateTimePicker => {\n    const stateProps = state.dateTimePickerStateById[ownProps.uniqueId] || {};\n    /**\n     * @todo clean up to make sure no overwriting\n     */\n    const dateTimePickerInstance : IBevSpotDateTimePicker = {\n        ...ownProps,\n        ...stateProps\n    };\n\n    return dateTimePickerInstance;\n};\n\nexport const ConnectedBevSpotDateTimePicker = connect<IBevSpotDateTimePicker, object, IConnectedBevSpotDateTimePicker, IState>(mapStateToProps)(BevSpotDateTimePicker);\n","import { DateTime } from 'shared/models/DateTime';\nimport { IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\nimport { MonthOfYear } from 'shared/models/MonthOfYear';\nimport { IBevSpotDateTimePickerState } from './IBevSpotDateTimePickerState';\n\nexport const ActionTypes = {\n    INITIALIZE_DATE_TIME_PICKER: 'DATE_TIME_PICKER/INITIALIZE_DATE_TIME_PICKER',\n    SET_HOUR_ERROR_MESSAGE: 'DATE_TIME_PICKER/SET_HOUR_ERROR_MESSAGE',\n    SET_HOUR_IS_VALID: 'DATE_TIME_PICKER/SET_HOUR_IS_VALID',\n    SET_HOUR_FORM_VALUE: 'DATE_TIME_PICKER/SET_HOUR_FORM_VALUE',\n    SET_MINUTE_ERROR_MESSAGE: 'DATE_TIME_PICKER/SET_MINUTE_ERROR_MESSAGE',\n    SET_MINUTE_IS_VALID: 'DATE_TIME_PICKER/SET_MINUTE_IS_VALID',\n    SET_MINUTE_FORM_VALUE: 'DATE_TIME_PICKER/SET_MINUTE_FORM_VALUE',\n    SET_SELECTED_DATE_TIME: 'DATE_TIME_PICKER/SET_SELECTED_DATE_TIME',\n    SET_VISIBLE_MONTH: 'DATE_TIME_PICKER/SET_VISIBLE_MONTH',\n    SET_VISIBLE_YEAR: 'DATE_TIME_PICKER/SET_VISIBLE_YEAR',\n};\nexport namespace ActionInterfaces {\n    export interface IInitializeDatetimePickerState extends IAction {\n        payload : {\n            dateTimePickerId : string\n            initialState : IBevSpotDateTimePickerState\n        };\n    }\n    export interface ISetErrorMessage extends IAction {\n        payload : {\n            dateTimePickerId : string\n            errorMessage : string | null\n        };\n    }\n    export interface ISetIsValid extends IAction {\n        payload : {\n            dateTimePickerId : string\n            isValid : boolean\n        };\n    }\n    export interface ISetFormValue extends IAction {\n        payload : {\n            dateTimePickerId : string\n            value : string | null\n        };\n    }\n    export interface ISetSelectedDateTime extends IAction {\n        payload : {\n            dateTimePickerId : string\n            selectedDateTime : DateTime\n        };\n    }\n    export interface ISetVisibleMonth extends IAction {\n        payload : {\n            dateTimePickerId : string\n            visibleMonth : MonthOfYear\n        };\n    }\n    export interface ISetVisibleYear extends IAction {\n        payload : {\n            dateTimePickerId : string\n            visibleYear : number\n        };\n    }\n    export interface IDateTimePickerActionCreators extends IActionCreatorsMapObject {\n        initializeDatetimePickerState(dateTimePickerId : string, initialState : IBevSpotDateTimePickerState) : IInitializeDatetimePickerState;\n        setHourErrorMessage(dateTimePickerId : string, errorMessage : string | null) : ISetErrorMessage;\n        setHourIsValid(dateTimePickerId : string, isValid : boolean) : ISetIsValid;\n        setHourFormValue(dateTimePickerId : string, value : string | null) : ISetFormValue;\n        setMinuteErrorMessage(dateTimePickerId : string, errorMessage : string | null) : ISetErrorMessage;\n        setMinuteIsValid(dateTimePickerId : string, isValid : boolean) : ISetIsValid;\n        setMinuteFormValue(dateTimePickerId : string, value : string | null) : ISetFormValue;\n        setSelectedDateTime(dateTimePickerId : string, selectedDateTime : DateTime) : ISetSelectedDateTime;\n        setVisibleMonth(dateTimePickerId : string, visibleMonth : MonthOfYear) : ISetVisibleMonth;\n        setVisibleYear(dateTimePickerId : string, visibleYear : number) : ISetVisibleYear;\n    }\n}\nconst initializeDatetimePickerState = (dateTimePickerId : string, initialState : IBevSpotDateTimePickerState) => ({\n    payload: {\n        dateTimePickerId,\n        initialState,\n    },\n    type: ActionTypes.INITIALIZE_DATE_TIME_PICKER,\n});\nconst setHourErrorMessage = (dateTimePickerId : string, errorMessage : string | null) : ActionInterfaces.ISetErrorMessage => ({\n    payload: {\n        dateTimePickerId,\n        errorMessage,\n    },\n    type: ActionTypes.SET_HOUR_ERROR_MESSAGE,\n});\nconst setHourIsValid = (dateTimePickerId : string, isValid : boolean) : ActionInterfaces.ISetIsValid => ({\n    payload: {\n        dateTimePickerId,\n        isValid,\n    },\n    type: ActionTypes.SET_HOUR_IS_VALID,\n});\nconst setHourFormValue = (dateTimePickerId : string, value : string | null) : ActionInterfaces.ISetFormValue => ({\n    payload: {\n        dateTimePickerId,\n        value,\n    },\n    type: ActionTypes.SET_HOUR_FORM_VALUE,\n});\nconst setMinuteErrorMessage = (dateTimePickerId : string, errorMessage : string | null) : ActionInterfaces.ISetErrorMessage => ({\n    payload: {\n        dateTimePickerId,\n        errorMessage,\n    },\n    type: ActionTypes.SET_MINUTE_ERROR_MESSAGE,\n});\nconst setMinuteIsValid = (dateTimePickerId : string, isValid : boolean) : ActionInterfaces.ISetIsValid => ({\n    payload: {\n        dateTimePickerId,\n        isValid,\n    },\n    type: ActionTypes.SET_MINUTE_IS_VALID,\n});\nconst setMinuteFormValue = (dateTimePickerId : string, value : string | null) : ActionInterfaces.ISetFormValue => ({\n    payload: {\n        dateTimePickerId,\n        value,\n    },\n    type: ActionTypes.SET_MINUTE_FORM_VALUE,\n});\nconst setSelectedDateTime = (dateTimePickerId : string, selectedDateTime : DateTime) : ActionInterfaces.ISetSelectedDateTime => ({\n    payload: {\n        dateTimePickerId,\n        selectedDateTime,\n    },\n    type: ActionTypes.SET_SELECTED_DATE_TIME,\n});\nconst setVisibleMonth = (dateTimePickerId : string, visibleMonth : MonthOfYear) => ({\n    payload: {\n        dateTimePickerId,\n        visibleMonth,\n    },\n    type: ActionTypes.SET_VISIBLE_MONTH,\n});\nconst setVisibleYear = (dateTimePickerId : string, visibleYear : number) => ({\n    payload: {\n        dateTimePickerId,\n        visibleYear,\n    },\n    type: ActionTypes.SET_VISIBLE_YEAR,\n});\nexport const DateTimePickerActions : ActionInterfaces.IDateTimePickerActionCreators = {\n    initializeDatetimePickerState,\n    setHourErrorMessage,\n    setHourIsValid,\n    setHourFormValue,\n    setMinuteErrorMessage,\n    setMinuteIsValid,\n    setMinuteFormValue,\n    setSelectedDateTime,\n    setVisibleMonth,\n    setVisibleYear,\n};\n","import { Action } from '@reduxjs/toolkit';\n\nimport { ActionInterfaces, ActionTypes } from './actions';\n\nimport { IBevSpotDateTimePickerState } from './IBevSpotDateTimePickerState';\n\nexport interface IDateTimePickerStateById { [dateTimePickerId : string] : IBevSpotDateTimePickerState; }\nconst initialState : IDateTimePickerStateById = {};\n\nconst reduceInitializeDateTimePickerState = (state : IDateTimePickerStateById, action : ActionInterfaces.IInitializeDatetimePickerState) => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = action.payload.initialState;\n    return newState;\n};\n\nconst reduceSetHourErrorMessage = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetErrorMessage) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n\n    const dateTimePicker = newState[action.payload.dateTimePickerId];\n    dateTimePicker.formValues = { ...newState[action.payload.dateTimePickerId].formValues };\n    dateTimePicker.formValues.hour = { ...newState[action.payload.dateTimePickerId].formValues.hour };\n    dateTimePicker.formValues.hour.errorMessage = action.payload.errorMessage;\n\n    return newState;\n};\n\nconst reduceSetHourIsValid = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetIsValid) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n\n    const dateTimePicker = newState[action.payload.dateTimePickerId];\n    dateTimePicker.formValues = { ...newState[action.payload.dateTimePickerId].formValues };\n    dateTimePicker.formValues.hour = { ...newState[action.payload.dateTimePickerId].formValues.hour };\n    dateTimePicker.formValues.hour.isValid = action.payload.isValid;\n\n    return newState;\n};\n\nconst reduceSetHourFormValue = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetFormValue) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n\n    const dateTimePicker = newState[action.payload.dateTimePickerId];\n    dateTimePicker.formValues = { ...newState[action.payload.dateTimePickerId].formValues };\n    dateTimePicker.formValues.hour = { ...newState[action.payload.dateTimePickerId].formValues.hour };\n    dateTimePicker.formValues.hour.value = action.payload.value;\n\n    return newState;\n};\n\nconst reduceSetMinuteErrorMessage = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetErrorMessage) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n\n    const dateTimePicker = newState[action.payload.dateTimePickerId];\n    dateTimePicker.formValues = { ...newState[action.payload.dateTimePickerId].formValues };\n    dateTimePicker.formValues.minute = { ...newState[action.payload.dateTimePickerId].formValues.minute };\n    dateTimePicker.formValues.minute.errorMessage = action.payload.errorMessage;\n\n    return newState;\n};\n\nconst reduceSetMinuteIsValid = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetIsValid) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n\n    const dateTimePicker = newState[action.payload.dateTimePickerId];\n    dateTimePicker.formValues = { ...newState[action.payload.dateTimePickerId].formValues };\n    dateTimePicker.formValues.minute = { ...newState[action.payload.dateTimePickerId].formValues.minute };\n    dateTimePicker.formValues.minute.isValid = action.payload.isValid;\n\n    return newState;\n};\n\nconst reduceSetMinuteFormValue = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetFormValue) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n\n    const dateTimePicker = newState[action.payload.dateTimePickerId];\n    dateTimePicker.formValues = { ...newState[action.payload.dateTimePickerId].formValues };\n    dateTimePicker.formValues.minute = { ...newState[action.payload.dateTimePickerId].formValues.minute };\n    dateTimePicker.formValues.minute.value = action.payload.value;\n\n    return newState;\n};\n\nconst reduceSetSelectedDateTime = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetSelectedDateTime) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n    newState[action.payload.dateTimePickerId].selectedDateTime = action.payload.selectedDateTime;\n    return newState;\n};\n\nconst reduceSetVisibleMonth = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetVisibleMonth) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n    newState[action.payload.dateTimePickerId].visibleMonth = action.payload.visibleMonth;\n    return newState;\n};\n\nconst reduceSetVisibleYear = (state : IDateTimePickerStateById, action : ActionInterfaces.ISetVisibleYear) : IDateTimePickerStateById => {\n    const newState = { ...state };\n    newState[action.payload.dateTimePickerId] = { ...newState[action.payload.dateTimePickerId] };\n    newState[action.payload.dateTimePickerId].visibleYear = action.payload.visibleYear;\n    return newState;\n};\n\nexport const BevSpotDateTimePickerReducers = (\n    state : IDateTimePickerStateById = initialState,\n    action : Action\n) : IDateTimePickerStateById => {\n    switch (action.type) {\n        case ActionTypes.INITIALIZE_DATE_TIME_PICKER:\n            return reduceInitializeDateTimePickerState(state, action as ActionInterfaces.IInitializeDatetimePickerState);\n        case ActionTypes.SET_HOUR_ERROR_MESSAGE:\n            return reduceSetHourErrorMessage(state, action as ActionInterfaces.ISetErrorMessage);\n        case ActionTypes.SET_HOUR_IS_VALID:\n            return reduceSetHourIsValid(state, action as ActionInterfaces.ISetIsValid);\n        case ActionTypes.SET_HOUR_FORM_VALUE:\n            return reduceSetHourFormValue(state, action as ActionInterfaces.ISetFormValue);\n        case ActionTypes.SET_MINUTE_ERROR_MESSAGE:\n            return reduceSetMinuteErrorMessage(state, action as ActionInterfaces.ISetErrorMessage);\n        case ActionTypes.SET_MINUTE_IS_VALID:\n            return reduceSetMinuteIsValid(state, action as ActionInterfaces.ISetIsValid);\n        case ActionTypes.SET_MINUTE_FORM_VALUE:\n            return reduceSetMinuteFormValue(state, action as ActionInterfaces.ISetFormValue);\n        case ActionTypes.SET_SELECTED_DATE_TIME:\n            return reduceSetSelectedDateTime(state, action as ActionInterfaces.ISetSelectedDateTime);\n        case ActionTypes.SET_VISIBLE_MONTH:\n            return reduceSetVisibleMonth(state, action as ActionInterfaces.ISetVisibleMonth);\n        case ActionTypes.SET_VISIBLE_YEAR:\n            return reduceSetVisibleYear(state, action as ActionInterfaces.ISetVisibleYear);\n        default:\n            return state;\n    }\n};\n","import { ThunkAction, IAction, IActionCreatorsMapObject, IEmptyAction, ISetShownAction } from 'shared/models/IAction';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IBreadcrumbCredentialData, IBreadcrumbIntegrationState } from './models';\n\nimport { DjangoApiManager } from 'shared/api/DjangoApiManager';\n\nexport interface IBreadcrumbIntegrationStore {\n    breadcrumbIntegrationState : IBreadcrumbIntegrationState;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'BREADCRUMB_INTEGRATION_MODAL/SET_MODAL_SHOWN',\n    SET_EXISTING_CREDENTIAL_STATE: 'BREADCRUMB_INTEGRATION_MODAL/SET_EXISTING_CREDENTIAL_STATE',\n    RESET_CREDENTIAL_FORM_ACCORDING_TO_EXISTING_CREDENTIAL: 'BREADCRUMB_INTEGRATION_MODAL/RESET_CREDENTIAL_FORM_ACCORDING_TO_EXISTING_CREDENTIAL',\n    FETCH_EXISTING_CREDENTIAL_REQUEST: 'BREADCRUMB_INTEGRATION_MODAL/FETCH_EXISTING_CREDENTIAL_REQUEST',\n    FETCH_EXISTING_CREDENTIAL_SUCCESS: 'BREADCRUMB_INTEGRATION_MODAL/FETCH_EXISTING_CREDENTIAL_SUCCESS',\n    FETCH_EXISTING_CREDENTIAL_FAILURE: 'BREADCRUMB_INTEGRATION_MODAL/FETCH_EXISTING_CREDENTIAL_FAILURE',\n    UPDATE_CREDENTIAL_REQUEST: 'BREADCRUMB_INTEGRATION_MODAL/UPDATE_CREDENTIAL_REQUEST',\n    UPDATE_CREDENTIAL_SUCCESS: 'BREADCRUMB_INTEGRATION_MODAL/UPDATE_CREDENTIAL_SUCCESS',\n    UPDATE_CREDENTIAL_FAILURE: 'BREADCRUMB_INTEGRATION_MODAL/UPDATE_CREDENTIAL_FAILURE',\n    SET_USERNAME_FIELD_VALUE: 'BREADCRUMB_INTEGRATION_MODAL/SET_USERNAME_FIELD_VALUE',\n    SET_PASSWORD_FIELD_VALUE: 'BREADCRUMB_INTEGRATION_MODAL/SET_PASSWORD_FIELD_VALUE',\n    SET_USERNAME_FIELD_ERROR: 'BREADCRUMB_INTEGRATION_MODAL/SET_USERNAME_FIELD_ERROR',\n    SET_PASSWORD_FIELD_ERROR: 'BREADCRUMB_INTEGRATION_MODAL/SET_PASSWORD_FIELD_ERROR',\n    DELETE_CREDENTIAL_REQUEST: 'BREADCRUMB_INTEGRATION_MODAL/DELETE_CREDENTIAL_REQUEST',\n    DELETE_CREDENTIAL_SUCCESS: 'BREADCRUMB_INTEGRATION_MODAL/DELETE_CREDENTIAL_SUCCESS',\n    DELETE_CREDENTIAL_FAILURE: 'BREADCRUMB_INTEGRATION_MODAL/DELETE_CREDENTIAL_FAILURE',\n};\n\nexport namespace BreadcrumbIntegrationActionInterfaces {\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface IResetCredentialFormAccordingToExistingCredential extends IAction {\n    }\n\n    export interface ISetExistingCredentialState extends IAction {\n        payload : {\n            credentialData : IBreadcrumbCredentialData | null\n        };\n    }\n\n    export interface IFetchExistingCredentialRequest extends IAction {\n        payload : {\n            locationId : LocationId;\n        };\n    }\n    export interface IFetchExistingCredentialSuccess extends IAction {\n    }\n    export interface IFetchExistingCredentialFailure extends IEmptyAction {\n    }\n\n    export interface IUpdateCredentialRequest extends IAction {\n        payload : {\n            locationId : LocationId;\n        };\n    }\n    export interface IUpdateCredentialSuccess extends IAction {\n    }\n    export interface IUpdateCredentialFailure extends IEmptyAction {\n    }\n\n    export interface IDeleteCredentialRequest extends IAction {\n        payload : {\n            locationId : LocationId;\n        };\n    }\n    export interface IDeleteCredentialSuccess extends IAction {\n    }\n    export interface IDeleteCredentialFailure extends IEmptyAction {\n    }\n\n    export interface ISetUsernameFieldValue extends IAction {\n        payload : {\n            value : string;\n        };\n    }\n    export interface ISetPasswordFieldValue extends IAction {\n        payload : {\n            value : string;\n        };\n    }\n    export interface ISetUsernameFieldError extends IAction {\n        payload : {\n            message : string;\n        };\n    }\n    export interface ISetPasswordFieldError extends IAction {\n        payload : {\n            message : string;\n        };\n    }\n\n    export interface IActionCreators extends IActionCreatorsMapObject {\n        setModalShown(isShown : boolean) : ISetModalShown;\n        resetCredentialFormAccordingToExistingCredential() : IResetCredentialFormAccordingToExistingCredential;\n        setUsernameFieldValue(value : string) : ISetUsernameFieldValue;\n        setPasswordFieldValue(value : string) : ISetPasswordFieldValue;\n        fetchExistingCredential(\n            locationId : LocationId\n        ) : ThunkAction<Promise<IBreadcrumbCredentialData | null>, IBreadcrumbIntegrationStore, {services : BreadcrumbIntegrationActionInterfaces.IServices}>;\n        updateCredential(\n            locationId : LocationId,\n            username : string,\n            password : string\n        ) : ThunkAction<Promise<void>, IBreadcrumbIntegrationStore, {services : BreadcrumbIntegrationActionInterfaces.IServices}>;\n        deleteCredential(\n            locationId : LocationId\n        ) : ThunkAction<Promise<void>, IBreadcrumbIntegrationStore, {services : BreadcrumbIntegrationActionInterfaces.IServices}>;\n    }\n\n    export interface IServices {\n        djangoApiManager : DjangoApiManager;\n    }\n}\n\nexport const setModalShown = (\n    isShown : boolean\n) : BreadcrumbIntegrationActionInterfaces.ISetModalShown => ({\n    payload : {\n        isShown\n    },\n    type : ActionTypes.SET_MODAL_SHOWN\n});\n\nexport const resetCredentialFormAccordingToExistingCredential = (\n) : BreadcrumbIntegrationActionInterfaces.IResetCredentialFormAccordingToExistingCredential => ({\n    payload : {},\n    type : ActionTypes.RESET_CREDENTIAL_FORM_ACCORDING_TO_EXISTING_CREDENTIAL\n});\n\nexport const setExistingCredentialState = (\n    credentialData : IBreadcrumbCredentialData | null\n) : BreadcrumbIntegrationActionInterfaces.ISetExistingCredentialState => ({\n    payload : {\n        credentialData\n    },\n    type : ActionTypes.SET_EXISTING_CREDENTIAL_STATE\n});\n\nexport const fetchExistingCredentialRequest = (\n    locationId : LocationId\n) : BreadcrumbIntegrationActionInterfaces.IFetchExistingCredentialRequest => ({\n    payload : {\n        locationId\n    },\n    type : ActionTypes.FETCH_EXISTING_CREDENTIAL_REQUEST\n});\n\nexport const fetchExistingCredentialSuccess = (\n) : BreadcrumbIntegrationActionInterfaces.IFetchExistingCredentialSuccess => ({\n    payload : {},\n    type : ActionTypes.FETCH_EXISTING_CREDENTIAL_SUCCESS\n});\n\nexport const fetchExistingCredentialFailure = (\n) : BreadcrumbIntegrationActionInterfaces.IFetchExistingCredentialFailure => ({\n    payload : {},\n    type : ActionTypes.FETCH_EXISTING_CREDENTIAL_FAILURE\n});\n\nexport const updateCredentialRequest = (\n    locationId : LocationId\n) : BreadcrumbIntegrationActionInterfaces.IUpdateCredentialRequest => ({\n    payload : {\n        locationId\n    },\n    type : ActionTypes.UPDATE_CREDENTIAL_REQUEST\n});\n\nexport const updateCredentialSuccess = (\n) : BreadcrumbIntegrationActionInterfaces.IUpdateCredentialSuccess => ({\n    payload : {},\n    type : ActionTypes.UPDATE_CREDENTIAL_SUCCESS\n});\n\nexport const updateCredentialFailure = (\n) : BreadcrumbIntegrationActionInterfaces.IUpdateCredentialFailure => ({\n    payload : {},\n    type : ActionTypes.UPDATE_CREDENTIAL_FAILURE\n});\n\nexport const deleteCredentialRequest = (\n    locationId : LocationId\n) : BreadcrumbIntegrationActionInterfaces.IDeleteCredentialRequest => ({\n    payload : {\n        locationId\n    },\n    type : ActionTypes.DELETE_CREDENTIAL_REQUEST\n});\n\nexport const deleteCredentialSuccess = (\n) : BreadcrumbIntegrationActionInterfaces.IDeleteCredentialSuccess => ({\n    payload : {},\n    type : ActionTypes.DELETE_CREDENTIAL_SUCCESS\n});\n\nexport const deleteCredentialFailure = (\n) : BreadcrumbIntegrationActionInterfaces.IDeleteCredentialFailure => ({\n    payload : {},\n    type : ActionTypes.DELETE_CREDENTIAL_FAILURE\n});\n\nexport const setUsernameFieldValue = (\n    value : string\n) : BreadcrumbIntegrationActionInterfaces.ISetUsernameFieldValue => ({\n    payload : {\n        value\n    },\n    type : ActionTypes.SET_USERNAME_FIELD_VALUE\n});\n\nexport const setPasswordFieldValue = (\n    value : string\n) : BreadcrumbIntegrationActionInterfaces.ISetPasswordFieldValue => ({\n    payload : {\n        value\n    },\n    type : ActionTypes.SET_PASSWORD_FIELD_VALUE\n});\n\nexport const setUsernameFieldError = (\n    message : string\n) : BreadcrumbIntegrationActionInterfaces.ISetUsernameFieldError => ({\n    payload : {\n        message\n    },\n    type : ActionTypes.SET_USERNAME_FIELD_ERROR\n});\n\nexport const setPasswordFieldError = (\n    message : string\n) : BreadcrumbIntegrationActionInterfaces.ISetPasswordFieldError => ({\n    payload : {\n        message\n    },\n    type : ActionTypes.SET_PASSWORD_FIELD_ERROR\n});\n\nconst fetchExistingCredential = (\n    locationId : LocationId\n) : ThunkAction<Promise<IBreadcrumbCredentialData | null>, IBreadcrumbIntegrationStore, {services : BreadcrumbIntegrationActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<IBreadcrumbCredentialData | null> => {\n        dispatch(fetchExistingCredentialRequest(locationId));\n        return extraArguments.services.djangoApiManager.getBreadcrumbCredential(locationId)\n        .then((data : IBreadcrumbCredentialData | null) => {\n            dispatch(fetchExistingCredentialSuccess());\n            dispatch(setExistingCredentialState(data));\n            dispatch(resetCredentialFormAccordingToExistingCredential());\n            return Promise.resolve(data);\n        })\n        .catch((error : Error) => {\n            throw new RuntimeException();\n        });\n    };\n};\n\nconst updateCredential = (\n    locationId : LocationId,\n    username : string,\n    password : string,\n) : ThunkAction<Promise<void>, IBreadcrumbIntegrationStore, {services : BreadcrumbIntegrationActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        dispatch(updateCredentialRequest(locationId));\n        return extraArguments.services.djangoApiManager.updateBreadcrumbCredential(locationId, username, password)\n        .then(() => {\n            dispatch(updateCredentialSuccess());\n            const credentialData : IBreadcrumbCredentialData = {\n                username,\n                password,\n                isValid : true,\n            };\n            dispatch(setExistingCredentialState(credentialData));\n        })\n        .catch((rejection) => {\n            // FIXME: Type of rejection is in fact IRestApiRejection and not exposed. We need a better way of handling recoverable errors.\n            if (rejection.message !== 'BreadcrumbCredentialRejectedException') {\n                throw new RuntimeException(rejection.message);\n            }\n            dispatch(updateCredentialFailure());\n            dispatch(setUsernameFieldError(''));\n            dispatch(setPasswordFieldError(''));\n        });\n    };\n};\n\nconst deleteCredential = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, IBreadcrumbIntegrationStore, {services : BreadcrumbIntegrationActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        dispatch(deleteCredentialRequest(locationId));\n        return extraArguments.services.djangoApiManager.deleteBreadcrumbCredential(locationId)\n        .then(() => {\n            dispatch(deleteCredentialSuccess());\n            dispatch(setExistingCredentialState(null));\n            dispatch(resetCredentialFormAccordingToExistingCredential());\n        })\n        .catch(() => {\n            throw new RuntimeException();\n        });\n    };\n};\n\nexport const BreadcrumbIntegrationModalActions = {\n    setModalShown,\n    resetCredentialFormAccordingToExistingCredential,\n    setUsernameFieldValue,\n    setPasswordFieldValue,\n    fetchExistingCredential,\n    updateCredential,\n    deleteCredential,\n};\n","import cloneDeep from 'lodash/cloneDeep';\nimport merge from 'lodash/merge';\nimport { Action } from '@reduxjs/toolkit';\n\nimport { ActionTypes, BreadcrumbIntegrationActionInterfaces } from './BreadcrumbIntegrationModalActions';\nimport { IBreadcrumbCredentialFormState, IBreadcrumbIntegrationState } from './models';\n\nconst credentialFormEmptyState : IBreadcrumbCredentialFormState = {\n    usernameField : {\n        value : '',\n        isValid : true,\n        errorMessage : ''\n    },\n    passwordField : {\n        value : '',\n        isValid : true,\n        errorMessage : ''\n    },\n    credentialIsValid : true,\n    isSubmittingUpdate : false,\n    isDeleting : false,\n    updateSubmitted : false,\n};\n\nconst initialState : IBreadcrumbIntegrationState = {\n    existingIntegration : null,\n    modalIsShown : false,\n    isLoadingExistingCredential : false,\n    credentialFormState : credentialFormEmptyState,\n};\n\nconst reduceSetModalShown = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.ISetModalShown\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        modalIsShown : action.payload.isShown,\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceResetCredentialFormAccordingToExistingCredential = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.IResetCredentialFormAccordingToExistingCredential\n) : IBreadcrumbIntegrationState => {\n    let credentialFormState : IBreadcrumbCredentialFormState;\n\n    const existingCredentialState = state.existingIntegration;\n\n    if (existingCredentialState === null) {\n        credentialFormState =  cloneDeep(credentialFormEmptyState);\n    } else {\n        const {\n            username,\n            password,\n            isValid,\n        } = existingCredentialState;\n        credentialFormState = {\n            usernameField : {\n                value : username,\n                isValid : true,\n                errorMessage : '',\n            },\n            passwordField : {\n                value : password,\n                isValid : true,\n                errorMessage : '',\n            },\n            credentialIsValid : isValid,\n            isSubmittingUpdate : false,\n            isDeleting : false,\n            updateSubmitted : false,\n        };\n    }\n\n    return {\n        ...state,\n        credentialFormState,\n    };\n};\n\nconst reduceFetchExistingCredentialRequest = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.IFetchExistingCredentialRequest\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        isLoadingExistingCredential : true,\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceFetchExistingCredentialSuccess = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.IFetchExistingCredentialSuccess\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        isLoadingExistingCredential : false,\n    };\n    return Object.assign({}, state, updates);\n};\n\nconst reduceSetExistingCredentialState = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.ISetExistingCredentialState\n) : IBreadcrumbIntegrationState => {\n    return {\n        ...state,\n        existingIntegration : action.payload.credentialData,\n        isLoadingExistingCredential : false,\n    };\n};\n\nconst reduceUpdateCredentialRequest = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.IUpdateCredentialRequest\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        credentialFormState : {\n            isSubmittingUpdate : true\n        },\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceUpdateCredentialSuccess = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.IUpdateCredentialSuccess\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        credentialFormState : {\n            isSubmittingUpdate : false,\n            updateSubmitted : true,\n        },\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceUpdateCredentialFailure = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.IUpdateCredentialFailure\n) : IBreadcrumbIntegrationState => {\n    // \"invalid credential\" is the only expected (recoverable) failure\n    const updates = {\n        credentialFormState : {\n            isSubmittingUpdate : false,\n            credentialIsValid : false,\n        },\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceDeleteCredentialRequest = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.IDeleteCredentialRequest\n) : IBreadcrumbIntegrationState => {\n    return {\n        ...state,\n        credentialFormState : {\n            ...state.credentialFormState,\n            isDeleting : true,\n        }\n    };\n};\n\nconst reduceDeleteCredentialSuccess = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.IDeleteCredentialSuccess\n) : IBreadcrumbIntegrationState => {\n    return {\n        ...state,\n        credentialFormState : {\n            ...state.credentialFormState,\n            isDeleting : false,\n        }\n    };\n};\n\nconst reduceSetUsernameFieldValue = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.ISetUsernameFieldValue\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        credentialFormState : {\n            usernameField : {\n                value : action.payload.value,\n                isValid : true,\n                errorMessage : '',\n            },\n        },\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceSetPasswordFieldValue = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.ISetPasswordFieldValue\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        credentialFormState : {\n            passwordField : {\n                value : action.payload.value,\n                isValid : true,\n                errorMessage : '',\n            },\n        },\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceSetUsernameFieldError = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.ISetUsernameFieldError\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        credentialFormState : {\n            usernameField : {\n                isValid : false,\n                errorMessage : action.payload.message,\n            },\n        },\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceSetPasswordFieldError = (\n    state : IBreadcrumbIntegrationState,\n    action : BreadcrumbIntegrationActionInterfaces.ISetPasswordFieldError\n) : IBreadcrumbIntegrationState => {\n    const updates = {\n        credentialFormState : {\n            passwordField : {\n                isValid : false,\n                errorMessage : action.payload.message,\n            },\n        },\n    };\n    return merge({}, state, updates);\n};\n\nexport const BreadcrumbIntegrationModalReducers = (\n    state : IBreadcrumbIntegrationState = initialState,\n    action : Action\n) : IBreadcrumbIntegrationState => {\n    switch (action.type) {\n        case ActionTypes.SET_MODAL_SHOWN:\n            return reduceSetModalShown(state, action as BreadcrumbIntegrationActionInterfaces.ISetModalShown);\n        case ActionTypes.RESET_CREDENTIAL_FORM_ACCORDING_TO_EXISTING_CREDENTIAL:\n            return reduceResetCredentialFormAccordingToExistingCredential(state, action as BreadcrumbIntegrationActionInterfaces.IResetCredentialFormAccordingToExistingCredential);\n        case ActionTypes.FETCH_EXISTING_CREDENTIAL_REQUEST:\n            return reduceFetchExistingCredentialRequest(state, action as BreadcrumbIntegrationActionInterfaces.IFetchExistingCredentialRequest);\n        case ActionTypes.FETCH_EXISTING_CREDENTIAL_SUCCESS:\n            return reduceFetchExistingCredentialSuccess(state, action as BreadcrumbIntegrationActionInterfaces.IFetchExistingCredentialSuccess);\n        case ActionTypes.SET_EXISTING_CREDENTIAL_STATE:\n            return reduceSetExistingCredentialState(state, action as BreadcrumbIntegrationActionInterfaces.ISetExistingCredentialState);\n        case ActionTypes.UPDATE_CREDENTIAL_REQUEST:\n            return reduceUpdateCredentialRequest(state, action as BreadcrumbIntegrationActionInterfaces.IUpdateCredentialRequest);\n        case ActionTypes.UPDATE_CREDENTIAL_SUCCESS:\n            return reduceUpdateCredentialSuccess(state, action as BreadcrumbIntegrationActionInterfaces.IUpdateCredentialSuccess);\n        case ActionTypes.UPDATE_CREDENTIAL_FAILURE:\n            return reduceUpdateCredentialFailure(state, action as BreadcrumbIntegrationActionInterfaces.IUpdateCredentialFailure);\n        case ActionTypes.DELETE_CREDENTIAL_REQUEST:\n            return reduceDeleteCredentialRequest(state, action as BreadcrumbIntegrationActionInterfaces.IDeleteCredentialRequest);\n        case ActionTypes.DELETE_CREDENTIAL_SUCCESS:\n            return reduceDeleteCredentialSuccess(state, action as BreadcrumbIntegrationActionInterfaces.IDeleteCredentialSuccess);\n        case ActionTypes.SET_USERNAME_FIELD_VALUE:\n            return reduceSetUsernameFieldValue(state, action as BreadcrumbIntegrationActionInterfaces.ISetUsernameFieldValue);\n        case ActionTypes.SET_PASSWORD_FIELD_VALUE:\n            return reduceSetPasswordFieldValue(state, action as BreadcrumbIntegrationActionInterfaces.ISetPasswordFieldValue);\n        case ActionTypes.SET_USERNAME_FIELD_ERROR:\n            return reduceSetUsernameFieldError(state, action as BreadcrumbIntegrationActionInterfaces.ISetUsernameFieldError);\n        case ActionTypes.SET_PASSWORD_FIELD_ERROR:\n            return reduceSetPasswordFieldError(state, action as BreadcrumbIntegrationActionInterfaces.ISetPasswordFieldError);\n        default:\n            return state;\n    }\n};\n","import React from 'react';\n\nimport 'shared/css/Button.scss';\n\nexport interface IButtonProps {\n    readonly buttonClassName : string;\n    readonly isDisabled : boolean;\n    readonly isLoading : boolean;\n    readonly onClick : (event : React.MouseEvent<HTMLButtonElement>) => void;\n    readonly children? : React.ReactNode;\n}\n\nexport class Button extends React.Component<IButtonProps, object> {\n\n    public shouldComponentUpdate(nextProps : IButtonProps) {\n        return (\n            (this.props.buttonClassName !== nextProps.buttonClassName) ||\n            (this.props.isDisabled !== nextProps.isDisabled) ||\n            (this.props.isLoading !== nextProps.isLoading) ||\n            (this.props.onClick !== nextProps.onClick) ||\n            (this.props.children !== nextProps.children)\n        );\n    }\n\n    public render() {\n        const {\n            buttonClassName,\n            isDisabled,\n            isLoading,\n            onClick,\n            children,\n        } = this.props;\n\n        let className = `btn bevspot-button ${ buttonClassName }`;\n        {\n            if (isDisabled) {\n                className += ' disabled';\n            }\n\n            if (isLoading) {\n                className += ' loading';\n            }\n        }\n\n        return (\n            <button\n                className={ className }\n                disabled={ isDisabled || isLoading }\n                onClick={ onClick }\n            >\n                <span className=\"button-text-container\">\n                    { children }\n                </span>\n                { isLoading &&\n                    <div className=\"loading-spinner-container\">\n                        <span className=\"bevicon bevico-spinner2 make-it-spin loading-spinner\" />\n                    </div>\n                }\n            </button>\n        );\n    }\n}\n","import React from 'react';\n\nimport { AxisPosition } from 'shared/models/Charts/Axes/AxisPosition';\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { TextPosition } from 'shared/models/Charts/TextPosition';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport {\n    axisTickLabelDistanceFromLineInPixels,\n    axisTickLabelHeightInPixels,\n    axisTickLineColor,\n    axisTickLineLengthInPixels,\n} from 'shared/components/Charts/Axes/constants';\n\nexport interface IAxisTickProps {\n    readonly axisPosition : AxisPosition;\n    readonly showTickLine : boolean;\n    readonly labelValue : string;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class AxisTick extends React.Component<IAxisTickProps, object> {\n    private classNamePrefix : string = '';\n\n    public render() {\n        const {\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n        this.determineClassNamePrefix();\n\n        const className : string = this.classNamePrefix + '-tick';\n\n        return (\n            <g\n                className={ className }\n            >\n                { this.createTickLine() }\n                { this.createLabel() }\n            </g>\n        );\n    }\n\n    private determineClassNamePrefix = () : void => {\n        const {\n            axisPosition,\n        } = this.props;\n\n        const className = '-axis';\n        switch (axisPosition) {\n            case AxisPosition.TOP:\n            case AxisPosition.BOTTOM: {\n                this.classNamePrefix = 'x' + className;\n                break;\n            }\n            case AxisPosition.LEFT:\n            case AxisPosition.RIGHT: {\n                this.classNamePrefix = 'y' + className;\n                break;\n            }\n            default: {\n                throw new RuntimeException('axisPosition is unexpected value');\n            }\n        }\n    }\n\n    private createTickLine = () : JSX.Element | null => {\n        const {\n            axisPosition,\n            showTickLine,\n            boundingBox,\n        } = this.props;\n\n        if (!showTickLine) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-tick-line';\n\n        let x1 : number;\n        let y1 : number;\n        let x2 : number;\n        let y2 : number;\n        switch (axisPosition) {\n            case AxisPosition.TOP: {\n                x1 = x2 = boundingBox.widthInPixels / 2;\n\n                y1 = boundingBox.heightInPixels;\n                y2 = boundingBox.heightInPixels - axisTickLineLengthInPixels;\n\n                break;\n            }\n            case AxisPosition.BOTTOM: {\n                x1 = x2 = boundingBox.widthInPixels / 2;\n\n                y1 = 0;\n                y2 = axisTickLineLengthInPixels;\n\n                break;\n            }\n            case AxisPosition.LEFT: {\n                x1 = boundingBox.widthInPixels;\n                x2 = boundingBox.widthInPixels - axisTickLineLengthInPixels;\n\n                y1 = y2 = boundingBox.heightInPixels / 2;\n\n                break;\n            }\n            case AxisPosition.RIGHT: {\n                x1 = 0;\n                x2 = axisTickLineLengthInPixels;\n\n                y1 = y2 = boundingBox.heightInPixels / 2;\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('axisPosition is unexpected value');\n            }\n        }\n\n        return (\n            <line\n                className={ className }\n                stroke={ axisTickLineColor.getValue() }\n\n                x1={ x1 }\n                y1={ y1 }\n                x2={ x2 }\n                y2={ y2 }\n            />\n        );\n    }\n\n    private createLabel = () : JSX.Element | null => {\n        const {\n            axisPosition,\n            labelValue,\n            boundingBox,\n        } = this.props;\n\n        if (labelValue.length === 0) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-tick-label';\n        const totalLabelPaddingInPixels : number = axisTickLineLengthInPixels + axisTickLabelDistanceFromLineInPixels;\n\n        let x : number;\n        let y : number;\n        let textPosition : TextPosition;\n        switch (axisPosition) {\n            case AxisPosition.TOP: {\n                x = boundingBox.widthInPixels / 2;\n                y = boundingBox.heightInPixels - totalLabelPaddingInPixels;\n                textPosition = 'middle';\n\n                break;\n            }\n            case AxisPosition.BOTTOM: {\n                x = boundingBox.widthInPixels / 2;\n                y = totalLabelPaddingInPixels + axisTickLabelHeightInPixels;\n                textPosition = 'middle';\n\n                break;\n            }\n            case AxisPosition.LEFT: {\n                x = boundingBox.widthInPixels - totalLabelPaddingInPixels;\n                y = (boundingBox.heightInPixels + axisTickLabelHeightInPixels) / 2;\n                textPosition = 'end';\n\n                break;\n\n            }\n            case AxisPosition.RIGHT: {\n                x = totalLabelPaddingInPixels;\n                y = (boundingBox.heightInPixels + axisTickLabelHeightInPixels) / 2;\n                textPosition = 'start';\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('axisPosition is unexpected value');\n            }\n        }\n        return (\n            <text\n                className={ className }\n                x={ x }\n                y={ y }\n                textAnchor={ textPosition }\n            >\n                { labelValue }\n            </text>\n        );\n    }\n}\n","import React from 'react';\n\nimport { AxisPosition } from 'shared/models/Charts/Axes/AxisPosition';\nimport { IAxisLine } from 'shared/models/Charts/Axes/IAxisLine';\nimport { IAxisTick } from 'shared/models/Charts/Axes/IAxisTick';\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { TextPosition } from 'shared/models/Charts/TextPosition';\n\nimport { AxisTick } from 'shared/components/Charts/Axes/AxisTick';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport {\n    axisLabelDistanceFromEdgeInPixels,\n    axisLineColor,\n    axisLineWidthInPixels,\n    axisTickLabelHeightInPixels,\n} from 'shared/components/Charts/Axes/constants';\n\nexport interface IAxisProps {\n    readonly axisPosition : AxisPosition;\n    readonly axisTicks : ReadonlyArray<IAxisTick>;\n    readonly labelValue : string;\n    readonly axisLine : IAxisLine | null;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class Axis extends React.Component<IAxisProps, object> {\n    private classNamePrefix : string = '';\n    private halfAxisTickLength : number = 0;\n\n    public render() {\n        const {\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        this.determineClassNamePrefix();\n        this.determineHalfAxisTickLength();\n\n        return (\n            <g\n                className={ this.classNamePrefix }\n            >\n                { this.createLine() }\n                { this.createTicks() }\n                { this.createLabel() }\n            </g>\n        );\n    }\n\n    private determineClassNamePrefix = () : void => {\n        const {\n            axisPosition,\n        } = this.props;\n\n        switch (axisPosition) {\n            case AxisPosition.TOP:\n            case AxisPosition.BOTTOM: {\n                this.classNamePrefix = 'x-axis';\n                break;\n            }\n            case AxisPosition.LEFT:\n            case AxisPosition.RIGHT: {\n                this.classNamePrefix = 'y-axis';\n                break;\n            }\n            default: {\n                throw new RuntimeException('axisPosition is unexpected value');\n            }\n        }\n    }\n\n    private determineHalfAxisTickLength = () : void => {\n        const {\n            axisPosition,\n            axisTicks,\n            boundingBox,\n        } = this.props;\n\n        const numberOfAxisTicks = axisTicks.length;\n\n        switch (axisPosition) {\n            case AxisPosition.TOP:\n            case AxisPosition.BOTTOM: {\n                this.halfAxisTickLength = boundingBox.widthInPixels / numberOfAxisTicks / 2;\n                break;\n            }\n            case AxisPosition.LEFT:\n            case AxisPosition.RIGHT: {\n                this.halfAxisTickLength = boundingBox.heightInPixels / numberOfAxisTicks / 2;\n                break;\n            }\n            default: {\n                throw new RuntimeException('axisPosition is unexpected value');\n            }\n        }\n    }\n\n    private createLine = () : JSX.Element | null => {\n        const {\n            axisPosition,\n            axisLine,\n            boundingBox,\n        } = this.props;\n\n        if (axisLine === null) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-line';\n\n        let x1 : number;\n        let x2 : number;\n        let y1 : number;\n        let y2 : number;\n        switch (axisPosition) {\n            case AxisPosition.BOTTOM: {\n                x1 = axisLine.startsAtTick ? this.halfAxisTickLength : 0;\n                x2 = boundingBox.widthInPixels - (axisLine.endsAtTick ? this.halfAxisTickLength : 0);\n\n                y1 = y2 = 0;\n\n                break;\n            }\n            case AxisPosition.TOP: {\n                x1 = axisLine.startsAtTick ? this.halfAxisTickLength : 0;\n                x2 = boundingBox.widthInPixels - (axisLine.endsAtTick ? this.halfAxisTickLength : 0);\n\n                y1 = y2 = boundingBox.heightInPixels;\n\n                break;\n            }\n            case AxisPosition.LEFT: {\n                x1 = x2 = boundingBox.widthInPixels;\n\n                y1 = axisLine.endsAtTick ? this.halfAxisTickLength : 0;\n                y2 = boundingBox.heightInPixels - (axisLine.startsAtTick ? this.halfAxisTickLength : 0);\n\n                break;\n            }\n            case AxisPosition.RIGHT: {\n                x1 = x2 = 0;\n\n                y1 = axisLine.endsAtTick ? this.halfAxisTickLength : 0;\n                y2 = boundingBox.heightInPixels - (axisLine.startsAtTick ? this.halfAxisTickLength : 0);\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('axisPosition is unexpected value');\n            }\n        }\n\n        return (\n            <line\n                className={ className }\n                stroke={ axisLineColor.getValue() }\n                strokeWidth={ axisLineWidthInPixels }\n\n                x1={ x1 }\n                y1={ y1 }\n                x2={ x2 }\n                y2={ y2 }\n            />\n        );\n    }\n\n    private createTicks = () : ReadonlyArray<JSX.Element> | null => {\n        const {\n            axisPosition,\n            axisTicks,\n            boundingBox,\n        } = this.props;\n\n        const numberOfAxisTicks = axisTicks.length;\n\n        if (numberOfAxisTicks === 0) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-tick-container';\n\n        let axisTickComponentHeightInPixels : number;\n        let axisTickComponentWidthInPixels : number;\n        switch (axisPosition) {\n            case AxisPosition.TOP:\n            case AxisPosition.BOTTOM: {\n                axisTickComponentHeightInPixels = boundingBox.heightInPixels;\n                axisTickComponentWidthInPixels = boundingBox.widthInPixels / numberOfAxisTicks;\n\n                break;\n            }\n            case AxisPosition.LEFT:\n            case AxisPosition.RIGHT: {\n                axisTickComponentHeightInPixels = boundingBox.heightInPixels / numberOfAxisTicks;\n                axisTickComponentWidthInPixels = boundingBox.widthInPixels;\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('axisPosition is unexpected value');\n            }\n        }\n\n        return axisTicks.map((axisTick : IAxisTick, index : number) => {\n            let x : number;\n            let y : number;\n            switch (axisPosition) {\n                case AxisPosition.TOP:\n                case AxisPosition.BOTTOM: {\n                    x = index * axisTickComponentWidthInPixels;\n                    y = 0;\n\n                    break;\n                }\n                case AxisPosition.LEFT:\n                case AxisPosition.RIGHT: {\n                    x = 0;\n                    y = boundingBox.heightInPixels - ((index + 1) * axisTickComponentHeightInPixels);\n\n                    break;\n                }\n                default: {\n                    throw new RuntimeException('axisPosition is unexpected value');\n                }\n            }\n\n            return (\n                <svg\n                    key={ index }\n                    className={ className }\n\n                    height={ axisTickComponentHeightInPixels }\n                    width={ axisTickComponentWidthInPixels }\n                    x={ x }\n                    y={ y }\n                >\n                    <AxisTick\n                        axisPosition={ axisPosition }\n                        showTickLine={ axisTick.showTickLine }\n                        labelValue={ axisTick.labelValue }\n                        boundingBox={ {\n                            heightInPixels: axisTickComponentHeightInPixels,\n                            widthInPixels: axisTickComponentWidthInPixels,\n                        } }\n                    />\n                </svg>\n            );\n        });\n    }\n\n    private createLabel = () : JSX.Element | null => {\n        const {\n            axisPosition,\n            labelValue,\n            boundingBox,\n        } = this.props;\n\n        if (labelValue.length === 0) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-label';\n        const textPosition : TextPosition = 'middle';\n\n        let x : number;\n        let y : number;\n        let degreesToRotate : number;\n        switch (axisPosition) {\n            case AxisPosition.BOTTOM: {\n                x = boundingBox.widthInPixels / 2;\n                y = boundingBox.heightInPixels - axisLabelDistanceFromEdgeInPixels;\n                degreesToRotate = 0;\n\n                break;\n            }\n            case AxisPosition.TOP: {\n                x = boundingBox.widthInPixels / 2;\n                y = axisLabelDistanceFromEdgeInPixels + axisTickLabelHeightInPixels;\n                degreesToRotate = 0;\n\n                break;\n            }\n            case AxisPosition.LEFT: {\n                x = axisLabelDistanceFromEdgeInPixels + axisTickLabelHeightInPixels;\n                y = boundingBox.heightInPixels / 2;\n                degreesToRotate = -90;\n\n                break;\n            }\n            case AxisPosition.RIGHT: {\n                x = boundingBox.widthInPixels - axisLabelDistanceFromEdgeInPixels;\n                y = boundingBox.heightInPixels / 2;\n                degreesToRotate = -90;\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('axisPosition is unexpected value');\n            }\n        }\n\n        let transform : string = utils.getTranslationTransformation(x, y);\n        if (degreesToRotate !== 0) {\n            transform += 'rotate(' + degreesToRotate + ', 0, 0)';\n        }\n\n        return (\n            <text\n                className={ className }\n                textAnchor={ textPosition }\n                transform={ transform }\n            >\n                { labelValue }\n            </text>\n        );\n    }\n}\n","import React from 'react';\n\nimport { AxisPosition } from 'shared/models/Charts/Axes/AxisPosition';\nimport { IAxis } from 'shared/models/Charts/Axes/IAxis';\nimport { IAxisLine } from 'shared/models/Charts/Axes/IAxisLine';\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\n\nimport { Axis } from 'shared/components/Charts/Axes/Axis';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IXAxisProps {\n    readonly xAxis : IAxis;\n    readonly yAxisWidthInPixels : number;\n    readonly hasAxisTickOnLeftEdge : boolean;\n    readonly hasAxisTickOnRightEdge : boolean;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class XAxis extends React.Component<IXAxisProps, object> {\n    public render() {\n        const {\n            xAxis,\n            yAxisWidthInPixels,\n            hasAxisTickOnLeftEdge,\n            hasAxisTickOnRightEdge,\n            boundingBox,\n        } = this.props;\n\n        // This assumes the yAxis is on the left\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        if (xAxis.axisPosition !== AxisPosition.BOTTOM && xAxis.axisPosition !== AxisPosition.TOP) {\n            throw new RuntimeException('unexpected xAxis.axisPosition value');\n        }\n\n        if (xAxis.axisPosition === AxisPosition.TOP) {\n            throw new RuntimeException('not implemented');\n        }\n\n        const numberOfAxisTicks = xAxis.axisTicks.length;\n\n        const y : number = boundingBox.heightInPixels - xAxis.axisLength;\n        const heightInPixels : number = xAxis.axisLength;\n\n        let x : number = yAxisWidthInPixels;\n        let widthInPixels : number = boundingBox.widthInPixels - yAxisWidthInPixels;\n        if (numberOfAxisTicks > 1) {\n            const numberOfAxisTicksOutsideOfWidth = (hasAxisTickOnLeftEdge ? .5 : 0) + (hasAxisTickOnRightEdge ? .5 : 0);\n\n            if (numberOfAxisTicksOutsideOfWidth > 0) {\n                const widthOfAxisTick : number = widthInPixels / (numberOfAxisTicks - numberOfAxisTicksOutsideOfWidth);\n\n                if (hasAxisTickOnLeftEdge) {\n                    x = yAxisWidthInPixels - (widthOfAxisTick / 2);\n                }\n\n                widthInPixels = widthOfAxisTick * numberOfAxisTicks;\n            }\n        }\n\n        let axisLine : IAxisLine | null;\n        if (xAxis.showAxisLine) {\n            axisLine = {\n                startsAtTick: hasAxisTickOnLeftEdge,\n                endsAtTick: hasAxisTickOnRightEdge,\n            };\n        } else {\n            axisLine = null;\n        }\n\n        return (\n            <svg\n                x={ x }\n                y={ y }\n                height={ heightInPixels }\n                width={ widthInPixels }\n            >\n                <Axis\n                    axisPosition={ xAxis.axisPosition }\n                    axisTicks={ xAxis.axisTicks }\n                    labelValue={ xAxis.labelValue }\n                    axisLine={ axisLine }\n                    boundingBox={ {\n                        heightInPixels,\n                        widthInPixels,\n                    } }\n                />\n            </svg>\n        );\n    }\n}\n","import React from 'react';\n\nimport { AxisPosition } from 'shared/models/Charts/Axes/AxisPosition';\nimport { IAxis } from 'shared/models/Charts/Axes/IAxis';\nimport { IAxisLine } from 'shared/models/Charts/Axes/IAxisLine';\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\n\nimport { Axis } from 'shared/components/Charts/Axes/Axis';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IYAxisProps {\n    readonly yAxis : IAxis;\n    readonly xAxisHeightInPixels : number;\n    readonly hasAxisTickOnBottomEdge : boolean;\n    readonly hasAxisTickOnTopEdge : boolean;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class YAxis extends React.Component<IYAxisProps, object> {\n    public render() {\n        const {\n            yAxis,\n            xAxisHeightInPixels,\n            hasAxisTickOnBottomEdge,\n            hasAxisTickOnTopEdge,\n            boundingBox,\n        } = this.props;\n\n        // This assumes the xAxis is on the bottom\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        if (yAxis.axisPosition !== AxisPosition.LEFT && yAxis.axisPosition !== AxisPosition.RIGHT) {\n            throw new RuntimeException('unexpected yAxis.axisPosition value');\n        }\n\n        if (yAxis.axisPosition === AxisPosition.RIGHT) {\n            throw new RuntimeException('not implemented');\n        }\n\n        const numberOfAxisTicks = yAxis.axisTicks.length;\n        const widthInPixels : number = yAxis.axisLength;\n\n        let y : number = 0;\n        let heightInPixels : number = boundingBox.heightInPixels - xAxisHeightInPixels;\n        if (numberOfAxisTicks > 1) {\n            const numberOfAxisTicksOutsideOfHeight = (hasAxisTickOnBottomEdge ? .5 : 0) + (hasAxisTickOnTopEdge ? .5 : 0);\n\n            if (numberOfAxisTicksOutsideOfHeight > 0) {\n                const heightOfAxisTick : number = heightInPixels / (numberOfAxisTicks - numberOfAxisTicksOutsideOfHeight);\n\n                if (hasAxisTickOnTopEdge) {\n                    y = -(heightOfAxisTick / 2);\n                }\n\n                heightInPixels = heightOfAxisTick * numberOfAxisTicks;\n            }\n        }\n\n        let axisLine : IAxisLine | null;\n        if (yAxis.showAxisLine) {\n            axisLine = {\n                startsAtTick: hasAxisTickOnBottomEdge,\n                endsAtTick: hasAxisTickOnTopEdge,\n            };\n        } else {\n            axisLine = null;\n        }\n\n        return (\n            <svg\n                y={ y }\n                height={ heightInPixels }\n                width={ widthInPixels }\n            >\n                <Axis\n                    axisPosition={ yAxis.axisPosition }\n                    axisTicks={ yAxis.axisTicks }\n                    labelValue={ yAxis.labelValue }\n                    axisLine={ axisLine }\n                    boundingBox={ {\n                        heightInPixels,\n                        widthInPixels,\n                    } }\n                />\n            </svg>\n        );\n    }\n}\n","import { HexColor } from 'shared/models/HexColor';\n\n// AxisTick\nexport const axisTickLineLengthInPixels = 15;\nexport const axisTickLineColor = new HexColor('#000000');\n\nexport const axisTickLabelDistanceFromLineInPixels = 10;\nexport const axisTickLabelHeightInPixels = 10;\n\n// Axis\nexport const axisLabelDistanceFromEdgeInPixels = 15;\nexport const axisLineColor = new HexColor('#555555');\nexport const axisLineWidthInPixels = 2;\n\n// utils\nexport const axisLabelLengthInPixels = 50;\nexport const maxAxisLengthInPixels = 150;\n","import moment from 'moment-timezone';\n\nimport { AxisPosition } from 'shared/models/Charts/Axes/AxisPosition';\nimport { DataAxisType } from 'shared/models/Charts/Axes/DataAxisType';\nimport { IAxisTick } from 'shared/models/Charts/Axes/IAxisTick';\nimport { IValuesByCategoryNameWithAdditionalData } from 'shared/models/Charts/IValuesByCategoryNameWithAdditionalData';\nimport { IValueWithAdditionalData } from 'shared/models/Charts/IValueWithAdditionalData';\n\nimport { IGridLineData, utils as chartUtils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport {\n    axisLabelLengthInPixels,\n    axisTickLabelDistanceFromLineInPixels,\n    axisTickLabelHeightInPixels,\n    axisTickLineLengthInPixels,\n    maxAxisLengthInPixels,\n} from 'shared/components/Charts/Axes/constants';\n\nconst calculateDataAxisTicksForValuesWithAdditionalData = (\n    dataAxisType : DataAxisType,\n    valuesWithAdditionalData : ReadonlyArray<IValueWithAdditionalData>,\n    axisWidthInPixels : number,\n) : ReadonlyArray<IAxisTick> => {\n    const dataArray : ReadonlyArray<string> = valuesWithAdditionalData.map(\n        (valueWithAdditionalData : IValueWithAdditionalData) => {\n            return valueWithAdditionalData.data;\n        }\n    );\n\n    return calculateDataAxisTicks(\n        dataAxisType,\n        dataArray,\n        axisWidthInPixels);\n};\n\nconst calculateDataAxisTicksForValuesByCategoryNameWithAdditionalData = (\n    dataAxisType : DataAxisType,\n    arrayOfValuesByCategoryNameWithAdditionalData : ReadonlyArray<IValuesByCategoryNameWithAdditionalData>,\n    axisWidthInPixels : number,\n) : ReadonlyArray<IAxisTick> => {\n    const dataArray : ReadonlyArray<string> = arrayOfValuesByCategoryNameWithAdditionalData.map(\n        (valuesByCategoryNameWithAdditionalData : IValuesByCategoryNameWithAdditionalData) => {\n            return valuesByCategoryNameWithAdditionalData.data;\n        }\n    );\n\n    return calculateDataAxisTicks(\n        dataAxisType,\n        dataArray,\n        axisWidthInPixels);\n};\n\nconst calculateValueAxisTicks = (\n    gridLineData : IGridLineData,\n    valueAxisTickLabelFormatter : (value : number) => string,\n) : ReadonlyArray<IAxisTick> => {\n    const {\n        numberOfGridLines,\n        valueOfGapBetweenGridLines,\n        numberOfGapsBelowZero,\n    } = gridLineData;\n\n    const axisTicks : Array<IAxisTick> = [];\n    const minValue : number = gridLineData.gridStartValue !== undefined\n        ? gridLineData.gridStartValue\n        : -valueOfGapBetweenGridLines * numberOfGapsBelowZero;\n\n    for (let index = 0; index < numberOfGridLines + 1; index++) {\n        const labelValue : string = valueAxisTickLabelFormatter(minValue + (valueOfGapBetweenGridLines * index));\n        const showTickLine = false;\n\n        axisTicks.push({\n            labelValue,\n            showTickLine,\n        });\n    }\n\n    return axisTicks;\n};\n\nconst calculateAxisLength = (\n    axisPosition : AxisPosition,\n    axisTicks : ReadonlyArray<IAxisTick>,\n    axisLabelValue : string,\n) : number => {\n\n    let axisLength : number;\n    switch (axisPosition) {\n        case AxisPosition.LEFT:\n        case AxisPosition.RIGHT: {\n            const maxLabelValueWidth : number = calculateMaxLabelValueWidth(axisTicks);\n            axisLength = maxLabelValueWidth + axisTickLabelDistanceFromLineInPixels + axisTickLineLengthInPixels;\n            break;\n        }\n        case AxisPosition.TOP:\n        case AxisPosition.BOTTOM: {\n            axisLength = axisTickLabelDistanceFromLineInPixels + axisTickLabelHeightInPixels + axisTickLineLengthInPixels;\n\n            break;\n        }\n        default: {\n            throw new RuntimeException('orientation is unexpected value');\n        }\n    }\n\n    if (axisLabelValue.length > 0) {\n        axisLength += axisLabelLengthInPixels;\n    }\n\n    return Math.min(axisLength, maxAxisLengthInPixels);\n};\n\n////////////////////////////////\n// Private\n////////////////////////////////\nconst calculateDataAxisTicks = (\n    dataAxisType : DataAxisType,\n    dataArray : ReadonlyArray<string>,\n    axisWidthInPixels : number,\n) : ReadonlyArray<IAxisTick> => {\n    switch (dataAxisType) {\n        case DataAxisType.DATE:\n            return calculateDataAxisTicksForDateType(\n                dataArray,\n                axisWidthInPixels);\n        default:\n            throw new RuntimeException('unexpected value for dataAxisType');\n    }\n};\n\nconst calculateDataAxisTicksForDateType = (\n    dataArray : ReadonlyArray<string>,\n    axisWidthInPixels : number,\n) : ReadonlyArray<IAxisTick> => {\n    const maxNumberOfLabelsToDisplayForMonthAndDayFormat = Math.floor(axisWidthInPixels / getWidthOfLabelWithPaddingInPixels(4));\n    const maxNumberOfLabelsToDisplayForMondayFormat = Math.floor(axisWidthInPixels / getWidthOfLabelWithPaddingInPixels(6));\n\n    const numberOfDays = dataArray.length;\n\n    let labelFunction : (date : moment.Moment) => string;\n    let numberOfTicksBetweenShownLabels : number;\n    let showAllTicks : boolean;\n\n    if (numberOfDays < maxNumberOfLabelsToDisplayForMonthAndDayFormat) { // day\n        labelFunction = getLabelForEveryDay;\n        numberOfTicksBetweenShownLabels = 0;\n        showAllTicks = true;\n\n    } else if (numberOfDays / 2 < maxNumberOfLabelsToDisplayForMonthAndDayFormat) { // day + skip every other\n        labelFunction = getLabelForEveryDay;\n        numberOfTicksBetweenShownLabels = 1;\n        showAllTicks = true;\n\n    } else if (numberOfDays / 3 < maxNumberOfLabelsToDisplayForMonthAndDayFormat) { // day + skip 2 between labels\n        labelFunction = getLabelForEveryDay;\n        numberOfTicksBetweenShownLabels = 2;\n        showAllTicks = true;\n\n    } else if (numberOfDays / 7 < maxNumberOfLabelsToDisplayForMondayFormat) { // week\n        labelFunction = getLabelForEveryMonday;\n        numberOfTicksBetweenShownLabels = 0;\n        showAllTicks = false;\n\n    } else if (numberOfDays / 30 < maxNumberOfLabelsToDisplayForMonthAndDayFormat) { // month\n        labelFunction = getLabelForFirstDayOfEveryMonth;\n        numberOfTicksBetweenShownLabels = 0;\n        showAllTicks = false;\n\n    } else { // quarter\n        labelFunction = getLabelForFirstDayOfEveryQuarter;\n        numberOfTicksBetweenShownLabels = 0;\n        showAllTicks = false;\n    }\n\n    let numberOfTicksSinceLastLabel = numberOfTicksBetweenShownLabels;\n    return dataArray.map((dateValue : string) => {\n        let labelValue : string;\n        if (numberOfTicksSinceLastLabel === numberOfTicksBetweenShownLabels) {\n            labelValue = labelFunction(moment(dateValue));\n            numberOfTicksSinceLastLabel = 0;\n        } else {\n            labelValue = '';\n            numberOfTicksSinceLastLabel++;\n        }\n\n        let showTickLine : boolean;\n        if (showAllTicks) {\n            showTickLine = true;\n        } else {\n            showTickLine = labelValue.length > 0;\n        }\n\n        return {\n            labelValue,\n            showTickLine,\n        };\n    });\n};\n\nconst getWidthOfLabelWithPaddingInPixels = (labelLength : number) : number => {\n    const approximateWidthOfCharacterInPixels = 9;\n    const labelPaddingInPixels = 15;\n\n    return labelLength * approximateWidthOfCharacterInPixels + (labelPaddingInPixels * 2);\n};\n\nconst calculateMaxLabelValueWidth = (\n    axisTicks : ReadonlyArray<IAxisTick>,\n) : number => {\n    if (axisTicks.length === 0) {\n        return 0;\n    }\n\n    return Math.max.apply(Number,\n        axisTicks.map((axisTick : IAxisTick) => {\n            return chartUtils.estimateTextWidth(axisTick.labelValue);\n        })\n    );\n};\n\n////////////////////////////////\n// Date Formatters\n////////////////////////////////\nconst getLabelForEveryDay = (\n    date : moment.Moment,\n) : string => {\n    return date.format('M/D');\n};\n\nconst getLabelForEveryMonday = (\n    date : moment.Moment,\n) : string => {\n    const dayOfWeek : number = date.day();\n\n    if (dayOfWeek === 1) {\n        return date.format('[M] M/D');\n    }\n\n    return '';\n};\n\nconst getLabelForFirstDayOfEveryMonth = (\n    date : moment.Moment,\n) : string => {\n    const dayOfMonth : number = date.date();\n\n    if (dayOfMonth === 1) {\n        return date.format('M/D');\n    }\n\n    return '';\n};\n\nconst getLabelForFirstDayOfEveryQuarter = (\n    date : moment.Moment,\n) : string => {\n    const dayOfMonth : number = date.date();\n    const monthOfYear : number = date.month();\n\n    if (dayOfMonth === 1 && monthOfYear % 3 === 0) {\n        return date.format('M/D');\n    }\n\n    return '';\n};\n\n////////////////////////////////\nexport const utils = {\n    calculateDataAxisTicksForValuesWithAdditionalData,\n    calculateDataAxisTicksForValuesByCategoryNameWithAdditionalData,\n    calculateValueAxisTicks,\n    calculateAxisLength,\n};\n","import React from 'react';\n\nimport { GridLineType } from 'shared/models/Charts/GridLineType';\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { Orientation } from 'shared/models/Charts/Orientation';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { gridLineColor, gridLineOpacity } from 'shared/components/Charts/constants';\n\nexport interface IGridLineProps {\n    readonly orientation : Orientation;\n    readonly fillColor : HexColor | null;\n    readonly lineType : GridLineType | null;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class GridLine extends React.Component<IGridLineProps, object> {\n    private classNamePrefix : string = '';\n\n    public render() {\n        const {\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n        this.determineClassNamePrefix();\n\n        const className : string = this.classNamePrefix + '-container';\n\n        return (\n            <g\n                className={ className }\n            >\n                { this.createFill() }\n                { this.createLine() }\n            </g>\n        );\n    }\n\n    private determineClassNamePrefix = () : void => {\n        const {\n            orientation,\n        } = this.props;\n\n        const className = '-grid-line';\n        switch (orientation) {\n            case Orientation.HORIZONTAL: {\n                this.classNamePrefix = 'horizontal' + className;\n                break;\n            }\n            case Orientation.VERTICAL: {\n                this.classNamePrefix = 'vertical' + className;\n                break;\n            }\n            default: {\n                throw new RuntimeException('orientation is unexpected value');\n            }\n        }\n    }\n\n    private createFill = () : JSX.Element | null => {\n        const {\n            fillColor,\n            boundingBox,\n        } = this.props;\n\n        if (fillColor === null) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-fill';\n\n        return (\n            <rect\n                className={ className }\n                height={ boundingBox.heightInPixels }\n                width={ boundingBox.widthInPixels }\n                fill={ fillColor.getValue() }\n            />\n        );\n    }\n\n    private createLine = () : JSX.Element | null => {\n        const {\n            orientation,\n            lineType,\n            boundingBox,\n        } = this.props;\n\n        if (lineType === null) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-line';\n\n        let x1 : number;\n        let x2 : number;\n        let y1 : number;\n        let y2 : number;\n        switch (orientation) {\n            case Orientation.HORIZONTAL: {\n                x1 = 0;\n                x2 = boundingBox.widthInPixels;\n                y1 = y2 = boundingBox.heightInPixels / 2;\n\n                break;\n            }\n            case Orientation.VERTICAL: {\n                x1 = x2 = boundingBox.widthInPixels / 2;\n                y1 = 0;\n                y2 = boundingBox.heightInPixels;\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('orientation is unexpected value');\n            }\n        }\n\n        let strokeWidthInPixels : number;\n        switch (lineType) {\n            case GridLineType.THIN_LINE: {\n                strokeWidthInPixels = 1;\n                break;\n            }\n            case GridLineType.THICK_LINE: {\n                strokeWidthInPixels = 3;\n                break;\n            }\n            default: {\n                throw new RuntimeException('unexpected lineType value');\n            }\n        }\n\n        return (\n            <line\n                className={ className }\n\n                x1={ x1 }\n                y1={ y1 }\n                x2={ x2 }\n                y2={ y2 }\n\n                stroke={ gridLineColor.getValue() }\n                strokeWidth={ strokeWidthInPixels }\n                opacity={ gridLineOpacity }\n            />\n        );\n    }\n}\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { IGridLine } from 'shared/models/Charts/IGridLine';\nimport { Orientation } from 'shared/models/Charts/Orientation';\n\nimport { GridLine } from 'shared/components/Charts/GridLine';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IGridProps {\n    readonly horizontalGridLines : ReadonlyArray<IGridLine>;\n    readonly verticalGridLines : ReadonlyArray<IGridLine>;\n    readonly gapOrientation : Orientation | null;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class Grid extends React.Component<IGridProps, object> {\n    public render() {\n        const {\n            horizontalGridLines,\n            verticalGridLines,\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        const horizontalLinesMustBeDrawnFirst : boolean = horizontalGridLines.some(\n            (gridLine : IGridLine) => {\n                return gridLine.fillColor !== null;\n            }\n        );\n\n        const verticalLinesMustBeDrawnFirst : boolean = verticalGridLines.some(\n            (gridLine : IGridLine) => {\n                return gridLine.fillColor !== null;\n            }\n        );\n\n        if (horizontalLinesMustBeDrawnFirst && verticalLinesMustBeDrawnFirst) {\n            throw new RuntimeException('the fillColor from one direction will overlay the gridlines for the other direction');\n        }\n\n        return (\n            <g\n                className=\"grid-container\"\n                style={ {\n                    pointerEvents: 'none',\n                } }\n            >\n                { this.createGridLines(verticalLinesMustBeDrawnFirst) }\n            </g>\n        );\n    }\n\n    private createGridLines = (\n        verticalLinesMustBeDrawnFirst : boolean,\n    ) : ReadonlyArray<JSX.Element> | undefined => {\n        const {\n            horizontalGridLines,\n            verticalGridLines,\n        } = this.props;\n\n        if (horizontalGridLines.length === 0 && verticalGridLines.length === 0) {\n            return;\n        }\n\n        let verticalGridLineElements : Array<JSX.Element>;\n        if (verticalGridLines.length === 0) {\n            verticalGridLineElements = [];\n        } else {\n            verticalGridLineElements = this.createGridLinesForOrientation(\n                verticalGridLines,\n                Orientation.VERTICAL);\n        }\n\n        let horizontalGridLineElements : Array<JSX.Element>;\n        if (horizontalGridLines.length === 0) {\n            horizontalGridLineElements = [];\n        } else {\n            horizontalGridLineElements = this.createGridLinesForOrientation(\n                horizontalGridLines,\n                Orientation.HORIZONTAL);\n        }\n\n        let result : Array<JSX.Element>;\n        if (verticalLinesMustBeDrawnFirst) {\n            result = verticalGridLineElements.concat(horizontalGridLineElements);\n        } else {\n            result = horizontalGridLineElements.concat(verticalGridLineElements);\n        }\n\n        return result;\n    }\n\n    private createGridLinesForOrientation = (\n        gridLines : ReadonlyArray<IGridLine>,\n        orientation : Orientation,\n    ) : Array<JSX.Element> => {\n        const {\n            gapOrientation,\n            boundingBox,\n        } = this.props;\n\n        const numberOfGridLines = gridLines.length;\n\n        if (numberOfGridLines === 0) {\n            return [];\n        }\n\n        const divisor : number = (2 * numberOfGridLines) + 1;\n\n        let heightAdjusmentInPixels : number;\n        let widthAdjustmentInPixels : number;\n        switch (gapOrientation) {\n            case Orientation.HORIZONTAL: {\n                heightAdjusmentInPixels = boundingBox.heightInPixels / divisor;\n                widthAdjustmentInPixels = 0;\n\n                break;\n            }\n            case Orientation.VERTICAL: {\n                heightAdjusmentInPixels = 0;\n                widthAdjustmentInPixels = boundingBox.widthInPixels / divisor;\n\n                break;\n            }\n            case null: {\n                heightAdjusmentInPixels = 0;\n                widthAdjustmentInPixels = 0;\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('gapOrientation is unexpected value');\n            }\n        }\n\n        const keyPrefix = (orientation === Orientation.HORIZONTAL) ? 'horizontal-' : 'vertical-';\n\n        return gridLines.map((gridLine : IGridLine, index : number) => {\n            let heightInPixels : number;\n            let widthInPixels : number;\n            let x : number;\n            let y : number;\n            switch (orientation) {\n                case Orientation.HORIZONTAL: {\n                    heightInPixels = (boundingBox.heightInPixels - heightAdjusmentInPixels) / numberOfGridLines;\n                    widthInPixels = boundingBox.widthInPixels;\n                    x = 0;\n                    y = (boundingBox.heightInPixels - heightAdjusmentInPixels) - (heightInPixels * (index + 1));\n\n                    if (index - 1 >= 0) {\n                        const previousGridLine : IGridLine = gridLines[index - 1];\n\n                        if (gridLine.fillColor !== null && previousGridLine.fillColor !== null) {\n                            if (gridLine.fillColor.getValue() === previousGridLine.fillColor.getValue()) {\n                                heightInPixels += 2;\n                            }\n                        }\n                    }\n\n                    break;\n                }\n                case Orientation.VERTICAL: {\n                    heightInPixels = boundingBox.heightInPixels;\n                    widthInPixels = (boundingBox.widthInPixels - widthAdjustmentInPixels) / numberOfGridLines;\n                    x = (widthInPixels * index) + widthAdjustmentInPixels;\n                    y = 0;\n\n                    if (index + 1 < gridLines.length) {\n                        const nextGridLine : IGridLine = gridLines[index + 1];\n\n                        if (gridLine.fillColor !== null && nextGridLine.fillColor !== null) {\n                            if (gridLine.fillColor.getValue() === nextGridLine.fillColor.getValue()) {\n                                widthInPixels += 2;\n                            }\n                        }\n                    }\n\n                    break;\n                }\n                default: {\n                    throw new RuntimeException('orientation is unexpected value');\n                }\n            }\n\n            return (\n                <svg\n                    key={ keyPrefix + index }\n\n                    x={ x }\n                    y={ y }\n                    height={ heightInPixels }\n                    width={ widthInPixels }\n                >\n                    <GridLine\n                        orientation={ orientation }\n                        fillColor={ gridLine.fillColor }\n                        lineType={ gridLine.lineType }\n                        boundingBox={ {\n                            heightInPixels,\n                            widthInPixels,\n                        } }\n                    />\n                </svg>\n            );\n        });\n    }\n}\n","import React from 'react';\n\nimport { Shape as ShapeModel } from 'shared/models/Charts/Shape';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { Shape } from 'shared/components/Charts/Shape';\n\nimport { legendItemSquareLengthInPixels } from 'shared/components/Charts/constants';\n\nexport interface ILegendItemProps {\n    readonly name : string;\n    readonly shape : ShapeModel;\n    readonly color : HexColor;\n}\n\nexport class LegendItem extends React.Component<ILegendItemProps, object> {\n    private readonly classNamePrefix = 'chart-legend-item';\n\n    public render() {\n        const className : string = this.classNamePrefix + '-container cell chart-legend-cell';\n\n        return (\n            <div\n                className={ className }\n            >\n                { this.createShape() }\n                { this.createName() }\n            </div>\n        );\n    }\n\n    private createShape = () : JSX.Element => {\n        const {\n            shape,\n            color,\n        } = this.props;\n\n        const className : string = this.classNamePrefix + '-shape';\n\n        return (\n            <div className={ className }>\n                <Shape\n                    shape={ shape }\n                    color={ color }\n                    boundingBox={ {\n                        heightInPixels: legendItemSquareLengthInPixels,\n                        widthInPixels: legendItemSquareLengthInPixels,\n                    } }\n                />\n            </div>\n        );\n    }\n\n    private createName = () : JSX.Element => {\n        const {\n            name,\n        } = this.props;\n\n        const className : string = this.classNamePrefix + '-name';\n\n        return (\n            <div className={ className }>\n                { name }\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { LegendItem } from 'shared/components/Charts/LegendItem';\nimport { ILegendItem } from 'shared/models/Charts/ILegendItem';\n\nexport interface ILegendProps {\n    readonly legendItems : ReadonlyArray<ILegendItem>;\n}\n\nexport class Legend extends React.Component<ILegendProps, object> {\n    private readonly classNamePrefix = 'chart-legend';\n\n    public render() {\n        const className = this.classNamePrefix + '-container';\n\n        return (\n            <div\n                className={ className }\n            >\n                { this.createItems() }\n            </div>\n        );\n    }\n\n    private createItems = () : ReadonlyArray<JSX.Element> | undefined => {\n        const {\n            legendItems,\n        } = this.props;\n\n        if (legendItems.length === 0) {\n            return;\n        }\n\n        return legendItems.map(\n            (legendItem : ILegendItem, index : number) => {\n                return (\n                    <LegendItem\n                        key={ index }\n\n                        name={ legendItem.name }\n                        shape={ legendItem.shape }\n                        color={ legendItem.color }\n                    />\n                );\n            }\n        );\n    }\n}\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { IRange } from 'shared/models/Charts/IRange';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { lineWidthInPixels } from 'shared/components/Charts/Line/constants';\n\nexport interface ILineSegmentProps {\n    readonly startValue : number;\n    readonly endValue : number;\n    readonly valueRange : IRange;\n    readonly lineColor : HexColor;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class LineSegment extends React.Component<ILineSegmentProps, object> {\n    private readonly classNamePrefix : string = 'chart-line-segment';\n\n    public render() {\n        const {\n            startValue,\n            endValue,\n            valueRange,\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n        utils.ensureValueIsWithinRange(startValue, valueRange);\n        utils.ensureValueIsWithinRange(endValue, valueRange);\n\n        const className : string = this.classNamePrefix + '-container';\n\n        return (\n            <g\n                className={ className }\n            >\n                { this.createLineSegment() }\n            </g>\n        );\n    }\n\n    private createLineSegment = () : JSX.Element => {\n        const {\n            startValue,\n            endValue,\n            valueRange,\n            lineColor,\n            boundingBox,\n        } = this.props;\n\n        const x1 = 0;\n        const x2 = boundingBox.widthInPixels;\n\n        let y1 : number;\n        let y2 : number;\n        {\n            const rangeValue : number = valueRange.maxValue - valueRange.minValue;\n\n            const startValuePercent = (startValue - valueRange.minValue) / rangeValue;\n            const endValuePercent = (endValue - valueRange.minValue) / rangeValue;\n\n            y1 = (1 - startValuePercent) * boundingBox.heightInPixels;\n            y2 = (1 - endValuePercent) * boundingBox.heightInPixels;\n        }\n\n        return (\n            <line\n                x1={ x1 }\n                y1={ y1 }\n                x2={ x2 }\n                y2={ y2 }\n\n                stroke={ lineColor.getValue() }\n                strokeWidth={ lineWidthInPixels }\n            />\n        );\n    }\n}\n","// Point\nexport const radiusOfOuterCircleInPixels = 5;\nexport const radiusOfInnerCircleInPixels = 2;\n\n// LineSegment\nexport const lineWidthInPixels = 2;\n","import React from 'react';\n\nimport { ICoordinate } from 'shared/models/Charts/ICoordinate';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { radiusOfInnerCircleInPixels, radiusOfOuterCircleInPixels } from 'shared/components/Charts/Line/constants';\n\nexport interface IPointProps {\n    readonly position : ICoordinate;\n    readonly outerColor : HexColor;\n    readonly innerColor : HexColor;\n}\n\nexport class Point extends React.Component<IPointProps, object> {\n    private readonly classNamePrefix : string = 'chart-point';\n\n    public render() {\n        const className : string = this.classNamePrefix + '-container';\n\n        return (\n            <g\n                className={ className }\n                style={ { pointerEvents: 'none' } }\n            >\n                { this.createOuterCircle() }\n                { this.createInnerCircle() }\n            </g>\n        );\n    }\n\n    private createOuterCircle = () : JSX.Element => {\n        const {\n            position,\n            outerColor,\n        } = this.props;\n\n        return (\n            <circle\n                cx={ position.x }\n                cy={ position.y }\n                r={ radiusOfOuterCircleInPixels }\n                fill={ outerColor.getValue() }\n            />\n        );\n    }\n\n    private createInnerCircle = () : JSX.Element => {\n        const {\n            position,\n            innerColor,\n        } = this.props;\n\n        return (\n            <circle\n                cx={ position.x }\n                cy={ position.y }\n                r={ radiusOfInnerCircleInPixels }\n                fill={ innerColor.getValue() }\n            />\n        );\n    }\n}\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { IPoint } from 'shared/models/Charts/Line/IPoint';\n\nimport { Point } from 'shared/components/Charts/Line/Point';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IMulitplePointsProps {\n    readonly points : ReadonlyArray<IPoint>;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class MultiplePoints extends React.Component<IMulitplePointsProps, object> {\n    private readonly classNamePrefix : string = 'chart-multiple-points';\n\n    public render() {\n        const {\n            points,\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        points.forEach((point : IPoint) => {\n            const {\n                x,\n                y,\n            } = point.position;\n\n            if (x > boundingBox.widthInPixels) {\n                throw new RuntimeException('x must be within boundingBox');\n            }\n\n            if (x < 0) {\n                throw new RuntimeException('x must not be negative');\n            }\n\n            if (y > boundingBox.heightInPixels) {\n                throw new RuntimeException('y must be within boundingBox');\n            }\n\n            if (y < 0) {\n                throw new RuntimeException('y must not be negative');\n            }\n        });\n\n        const className : string = this.classNamePrefix + '-container';\n\n        return (\n            <g\n                className={ className }\n            >\n                { this.createPoints() }\n            </g>\n        );\n    }\n\n    private createPoints = () : ReadonlyArray<JSX.Element> => {\n        const {\n            points,\n        } = this.props;\n\n        return points.map((point : IPoint, index : number) => {\n            return (\n                <Point\n                    key={ index }\n\n                    position={ point.position }\n                    outerColor={ point.outerColor }\n                    innerColor={ point.innerColor }\n                />\n            );\n        });\n    }\n}\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { IRange } from 'shared/models/Charts/IRange';\nimport { ILinePoint } from 'shared/models/Charts/Line/ILinePoint';\nimport { IPoint } from 'shared/models/Charts/Line/IPoint';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { LineSegment } from 'shared/components/Charts/Line/LineSegment';\nimport { MultiplePoints } from 'shared/components/Charts/Line/MultiplePoints';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface ILineProps {\n    readonly linePoints : ReadonlyArray<ILinePoint>;\n    readonly valueRange : IRange;\n    readonly lineColor : HexColor;\n    readonly pointOuterColor : HexColor;\n    readonly pointInnerColor : HexColor;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class Line extends React.Component<ILineProps, object> {\n    private readonly classNamePrefix : string = 'chart-line';\n\n    public render() {\n        const {\n            linePoints,\n            valueRange,\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        if (linePoints.length < 2) {\n            throw new RuntimeException('linePoints must be at least length 2');\n        }\n\n        linePoints.forEach((linePoint : ILinePoint) => {\n            if (linePoint.value !== null) {\n                utils.ensureValueIsWithinRange(linePoint.value, valueRange);\n            }\n        });\n\n        const className : string = this.classNamePrefix + '-container';\n\n        return (\n            <g\n                className={ className }\n            >\n                { this.createLineSegments() }\n                { this.createMultiplePoints() }\n            </g>\n        );\n    }\n\n    private createLineSegments = () : ReadonlyArray<JSX.Element> => {\n        const {\n            linePoints,\n            valueRange,\n            lineColor,\n            boundingBox,\n        } = this.props;\n\n        const firstIndexWithNonNullValue : number = linePoints.findIndex(\n            (linePoint : ILinePoint) => {\n                return (linePoint.value !== null);\n            }\n        );\n\n        if (firstIndexWithNonNullValue < 0) {\n            return [];\n        }\n\n        const lineSegments : Array<JSX.Element> = [];\n        {\n            const widthInPixels = boundingBox.widthInPixels / (linePoints.length - 1);\n\n            let lastValueIndex : number = firstIndexWithNonNullValue;\n            let lastValue : number;\n            {\n                const lastNullableValue : number | null = linePoints[firstIndexWithNonNullValue].value;\n\n                if (lastNullableValue === null) {\n                    throw new RuntimeException('unexpected');\n                }\n\n                lastValue = lastNullableValue;\n            }\n\n            for (let index = lastValueIndex + 1; index < linePoints.length; index++) {\n                const value : number | null = linePoints[index].value;\n\n                if (value === null) {\n                    continue;\n                }\n\n                lineSegments.push(\n                    <svg\n                        key={ index }\n                        x={ lastValueIndex * widthInPixels }\n                        style={ {\n                            overflow: 'visible',\n                            pointerEvents: 'none',\n                        } }\n                    >\n                        <LineSegment\n                            startValue={ lastValue }\n                            endValue={ value }\n                            valueRange={ valueRange }\n                            lineColor={ lineColor }\n                            boundingBox={ {\n                                heightInPixels: boundingBox.heightInPixels,\n                                widthInPixels: widthInPixels * (index - lastValueIndex),\n                            } }\n                        />\n                    </svg>\n                );\n\n                lastValueIndex = index;\n                lastValue = value;\n            }\n        }\n\n        return lineSegments;\n    }\n\n    private createMultiplePoints = () : JSX.Element => {\n        const {\n            linePoints,\n            valueRange,\n            pointOuterColor,\n            pointInnerColor,\n            boundingBox,\n        } = this.props;\n\n        let hasMultiplePoints = false;\n        let count = 0;\n        for (let i = 0; i < linePoints.length ; i++) {\n            if (hasMultiplePoints) {\n                break;\n            }\n            count += linePoints[i].value !== null ? 1 : 0;\n            hasMultiplePoints = count > 1;\n        }\n\n        const points : Array<IPoint> = [];\n        {\n            const rangeValue : number = valueRange.maxValue - valueRange.minValue;\n\n            linePoints.forEach((linePoint : ILinePoint, index : number) => {\n                if (hasMultiplePoints && !linePoint.showPoint) {\n                    return;\n                }\n\n                if (linePoint.value === null) {\n                    return;\n                }\n\n                const yPositionPercent = (linePoint.value - valueRange.minValue) / rangeValue;\n\n                points.push({\n                    position: {\n                        x: index / (linePoints.length - 1) * boundingBox.widthInPixels,\n                        y: (1 - yPositionPercent) * boundingBox.heightInPixels,\n                    },\n                    outerColor: pointOuterColor,\n                    innerColor: pointInnerColor,\n                });\n            });\n        }\n\n        return (\n            <MultiplePoints\n                points={ points }\n                boundingBox={ boundingBox }\n            />\n        );\n    }\n}\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { IRange } from 'shared/models/Charts/IRange';\nimport { ILine } from 'shared/models/Charts/Line/ILine';\nimport { ILineColors } from 'shared/models/Charts/Line/ILineColors';\nimport { ILinePoint } from 'shared/models/Charts/Line/ILinePoint';\n\nimport { Line } from 'shared/components/Charts/Line/Line';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IMultipleLinesProps {\n    readonly lines : ReadonlyArray<ILine>;\n    readonly valueRange : IRange;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class MultipleLines extends React.Component<IMultipleLinesProps, object> {\n    private readonly classNamePrefix : string = 'chart-multiple-lines';\n\n    public render() {\n        const {\n            lines,\n            valueRange,\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        lines.reduce((previousValue : ILine, currentValue : ILine) => {\n            if (previousValue.linePoints.length !== currentValue.linePoints.length) {\n                throw new RuntimeException('lines must have same number of linePoints');\n            }\n\n            return currentValue;\n        });\n\n        lines.forEach((line : ILine) => {\n            line.linePoints.forEach((linePoint : ILinePoint) => {\n                if (linePoint.value !== null) {\n                    utils.ensureValueIsWithinRange(linePoint.value, valueRange);\n                }\n            });\n        });\n\n        const className : string = this.classNamePrefix + '-container';\n\n        return (\n            <g\n                className={ className }\n            >\n                { this.createLines() }\n            </g>\n        );\n    }\n\n    private createLines = () : ReadonlyArray<JSX.Element> => {\n        const {\n            lines,\n            valueRange,\n            boundingBox,\n        } = this.props;\n\n        return lines.map((line : ILine, index : number) => {\n            const lineColors : ILineColors = line.lineColors;\n\n            return (\n                <Line\n                    key={ index }\n\n                    linePoints={ line.linePoints }\n                    valueRange={ valueRange }\n                    lineColor={ lineColors.lineColor }\n                    pointOuterColor={ lineColors.pointOuterColor }\n                    pointInnerColor={ lineColors.pointInnerColor }\n                    boundingBox={ boundingBox }\n                />\n            );\n        });\n    }\n}\n","import React from 'react';\n\nimport { IAxis } from 'shared/models/Charts/Axes/IAxis';\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { IClickHandler } from 'shared/models/Charts/IClickHandler';\nimport { IGrid } from 'shared/models/Charts/IGrid';\nimport { IHoverHandler } from 'shared/models/Charts/IHoverHandler';\nimport { IMultipleLines } from 'shared/models/Charts/Line/IMultipleLines';\nimport { Orientation } from 'shared/models/Charts/Orientation';\n\nimport { XAxis } from 'shared/components/Charts/Axes/XAxis';\nimport { YAxis } from 'shared/components/Charts/Axes/YAxis';\nimport { Grid } from 'shared/components/Charts/Grid';\nimport { MultipleLines } from 'shared/components/Charts/Line/MultipleLines';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface ILineChartViewProps {\n    readonly xAxis : IAxis | null;\n    readonly yAxis : IAxis | null;\n    readonly grid : IGrid | null;\n    readonly multipleLines : IMultipleLines;\n    readonly backgroundHoverHandler : IHoverHandler | null;\n    readonly backgroundClickHandler : IClickHandler | null;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class LineChartView extends React.Component<ILineChartViewProps, object> {\n    private readonly classNamePrefix = 'line-chart-view';\n\n    private xAxisHeightInPixels : number = 0;\n    private yAxisWidthInPixels : number = 0;\n    private gridBoundingBox : IBoundingBox = {\n        heightInPixels: 0,\n        widthInPixels: 0,\n    };\n\n    public render() {\n        const {\n            xAxis,\n            yAxis,\n            multipleLines,\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        if (multipleLines.lines.length === 0) {\n            throw new RuntimeException('lines must not be an empty array');\n        }\n\n        const numberOfLinePoints = multipleLines.lines[0].linePoints.length;\n\n        if (xAxis !== null) {\n            if (xAxis.axisTicks.length !== numberOfLinePoints) {\n                throw new RuntimeException('number of xAxisTicks and linePoints must be equal');\n            }\n        }\n\n        const className : string = this.classNamePrefix + '-container';\n\n        this.xAxisHeightInPixels = (xAxis === null) ? 0 : xAxis.axisLength;\n        this.yAxisWidthInPixels = (yAxis === null) ? 0 : yAxis.axisLength;\n\n        this.gridBoundingBox = {\n            heightInPixels: boundingBox.heightInPixels - this.xAxisHeightInPixels,\n            widthInPixels: boundingBox.widthInPixels - this.yAxisWidthInPixels,\n        };\n\n        if (this.xAxisHeightInPixels >= boundingBox.heightInPixels) {\n            throw new RuntimeException('xAxisHeightInPixels must be less than height of bounding box');\n        }\n\n        if (this.yAxisWidthInPixels >= boundingBox.widthInPixels) {\n            throw new RuntimeException('yAxisWidthInPixels must be less than width of bounding box');\n        }\n\n        return (\n            <g\n                className={ className }\n            >\n                { this.createXAxis() }\n                { this.createYAxis() }\n                { this.createBackground() }\n                { this.createGrid() }\n                { this.createMultipleLines() }\n            </g>\n        );\n    }\n\n    private createXAxis = () : JSX.Element | undefined => {\n        const {\n            xAxis,\n            boundingBox,\n        } = this.props;\n\n        if (xAxis === null) {\n            return;\n        }\n\n        return (\n            <XAxis\n                xAxis={ xAxis }\n                yAxisWidthInPixels={ this.yAxisWidthInPixels }\n                hasAxisTickOnLeftEdge={ true }\n                hasAxisTickOnRightEdge={ true }\n                boundingBox={ boundingBox }\n            />\n        );\n    }\n\n    private createYAxis = () : JSX.Element | undefined => {\n        const {\n            yAxis,\n            boundingBox,\n        } = this.props;\n\n        if (yAxis === null) {\n            return;\n        }\n\n        return (\n            <YAxis\n                yAxis={ yAxis }\n                xAxisHeightInPixels={ this.xAxisHeightInPixels }\n                hasAxisTickOnBottomEdge={ true }\n                hasAxisTickOnTopEdge={ false }\n                boundingBox={ boundingBox }\n            />\n        );\n    }\n\n    private createBackground = () : JSX.Element | null => {\n        const {\n            backgroundHoverHandler,\n            backgroundClickHandler,\n            boundingBox,\n        } = this.props;\n\n        if (backgroundClickHandler === null && backgroundHoverHandler === null) {\n            return null;\n        }\n\n        let heightInPixels : number;\n        let onClick : (event : React.MouseEvent<SVGElement>) => void;\n        let onHover : (event : React.MouseEvent<SVGElement>) => void;\n        let offHover : (event : React.MouseEvent<SVGElement>) => void;\n        {\n            const doNothing = () => null;\n\n            if (backgroundClickHandler === null) {\n                heightInPixels = this.gridBoundingBox.heightInPixels;\n                onClick = doNothing;\n            } else {\n                heightInPixels = boundingBox.heightInPixels;\n                onClick = backgroundClickHandler.onClick;\n            }\n\n            if (backgroundHoverHandler === null) {\n                onHover = offHover = doNothing;\n            } else {\n                onHover = backgroundHoverHandler.onHover;\n                offHover = backgroundHoverHandler.offHover;\n            }\n        }\n\n        return (\n            <rect\n                x={ this.yAxisWidthInPixels }\n                height={ heightInPixels }\n                width={ this.gridBoundingBox.widthInPixels }\n                fillOpacity={ 0 }\n\n                onClick={ onClick }\n                onMouseOver={ onHover }\n                onMouseEnter={ onHover }\n                onMouseMove={ onHover }\n                onMouseOut={ offHover }\n                onMouseLeave={ offHover }\n            />\n        );\n    }\n\n    private createGrid = () : JSX.Element | undefined => {\n        const {\n            grid,\n        } = this.props;\n\n        if (grid === null) {\n            return;\n        }\n\n        return (\n            <svg\n                x={ this.yAxisWidthInPixels }\n                height={ this.gridBoundingBox.heightInPixels }\n                width={ this.gridBoundingBox.widthInPixels }\n            >\n                <Grid\n                    horizontalGridLines={ grid.horizontalGridLines }\n                    verticalGridLines={ grid.verticalGridLines }\n                    gapOrientation={ Orientation.HORIZONTAL }\n                    boundingBox={ this.gridBoundingBox }\n                />\n            </svg>\n        );\n    }\n\n    private createMultipleLines = () : JSX.Element => {\n        const {\n            multipleLines,\n        } = this.props;\n\n        return (\n            <svg\n                x={ this.yAxisWidthInPixels }\n                height={ this.gridBoundingBox.heightInPixels }\n                width={ this.gridBoundingBox.widthInPixels }\n                style={ { overflow: 'visible' } }\n            >\n                <MultipleLines\n                    lines={ multipleLines.lines }\n                    valueRange={ multipleLines.valueRange }\n                    boundingBox={ this.gridBoundingBox }\n                />\n            </svg>\n        );\n    }\n}\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { ILine } from 'shared/models/Charts/Line/ILine';\nimport { IMultipleLines } from 'shared/models/Charts/Line/IMultipleLines';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { LineChartView } from 'shared/components/Charts/Line/LineChartView';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nexport interface INullDataLineChartProps {\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class NullDataLineChart extends React.Component<INullDataLineChartProps, object> {\n    private readonly classNamePrefix = 'null-data-line-chart';\n\n    public render() {\n        const {\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n        const className : string = this.classNamePrefix + '-container';\n\n        return (\n            <g\n                className={ className }\n            >\n                { this.createLineChartView() }\n            </g>\n        );\n    }\n\n    private readonly createLineChartView = () : JSX.Element => {\n        const {\n            boundingBox,\n        } = this.props;\n\n        const linePointValues : ReadonlyArray<ReadonlyArray<number>> = [\n            [50, 60, 100, 10, 84, 27],\n            [0, 10, 10, 30, 9, 14],\n            [76, 30, 85, 65, 94, 82],\n            [92, 82, 63, 27, 97, 95],\n        ];\n\n        const multipleLines : IMultipleLines = {\n            lines: this.calculateLines(linePointValues),\n            valueRange: {\n                minValue: 0,\n                maxValue: 100,\n            },\n        };\n\n        return (\n            <LineChartView\n                xAxis={ null }\n                yAxis={ null }\n                grid={ null }\n                multipleLines={ multipleLines }\n                backgroundHoverHandler={ null }\n                backgroundClickHandler={ null }\n                boundingBox={ boundingBox }\n            />\n        );\n    }\n\n    private readonly calculateLines = (linePointValues : ReadonlyArray<ReadonlyArray<number>>) : ReadonlyArray<ILine> => {\n        const gray = new HexColor('#999999');\n        const white = new HexColor('#ffffff');\n\n        return linePointValues.map((values : ReadonlyArray<number>) => {\n            return {\n                linePoints: values.map((value : number) => {\n                    return {\n                        value,\n                        showPoint: true,\n                    };\n                }),\n                lineColors: {\n                    lineColor: gray,\n                    pointOuterColor: gray,\n                    pointInnerColor: white,\n                },\n            };\n        });\n    }\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\n\nimport { IAxis } from 'shared/models/Charts/Axes/IAxis';\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { IClickHandler } from 'shared/models/Charts/IClickHandler';\nimport { ICoordinate } from 'shared/models/Charts/ICoordinate';\nimport { IGrid } from 'shared/models/Charts/IGrid';\nimport { IHoverHandler } from 'shared/models/Charts/IHoverHandler';\nimport { ILegendItem } from 'shared/models/Charts/ILegendItem';\nimport { ILine } from 'shared/models/Charts/Line/ILine';\nimport { ILineColors } from 'shared/models/Charts/Line/ILineColors';\nimport { ILinePoint } from 'shared/models/Charts/Line/ILinePoint';\nimport { IMultipleLines } from 'shared/models/Charts/Line/IMultipleLines';\nimport { IPoint } from 'shared/models/Charts/Line/IPoint';\nimport { Orientation } from 'shared/models/Charts/Orientation';\nimport { Shape } from 'shared/models/Charts/Shape';\nimport { ITooltip } from 'shared/models/Charts/Tooltip/ITooltip';\nimport { ITooltipItem } from 'shared/models/Charts/Tooltip/ITooltipItem';\n\nimport { AbstractLineChartActions } from 'shared/components/Charts/Line/actions';\n\nimport { Legend } from 'shared/components/Charts/Legend';\nimport { LineChartView } from 'shared/components/Charts/Line/LineChartView';\nimport { MultiplePoints } from 'shared/components/Charts/Line/MultiplePoints';\nimport { NullDataLineChart } from 'shared/components/Charts/Line/NullDataLineChart';\nimport { MouseLine } from 'shared/components/Charts/MouseLine';\nimport { Tooltip } from 'shared/components/Charts/Tooltip/Tooltip';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { BevSpotDispatch } from 'shared/components/Provider';\n\nexport interface IAbstractLineChartState {\n    readonly activeLinePointIndex : number | null;\n    readonly tooltipPosition : ICoordinate | null;\n}\n\nexport interface IAbstractLineChartStateById {\n    [uniqueId : string] : IAbstractLineChartState;\n}\n\nexport interface IAbstractLineChartProps {\n    // props\n    readonly xAxis : IAxis | null;\n    readonly yAxis : IAxis | null;\n    readonly grid : IGrid | null;\n    readonly multipleLines : IMultipleLines;\n    readonly tooltips : ReadonlyArray<ITooltip>;\n    readonly legendItems : ReadonlyArray<ILegendItem>;\n    readonly mouseLineLabelFormatter : (index : number) => string;\n\n    readonly heightInPixels : number;\n    readonly uniqueId : string;\n    readonly referenceFunction : (element : HTMLDivElement) => void;\n    readonly maxTooltipBodyItems? : number;\n\n    // state\n    readonly activeLinePointIndex : number | null;\n    readonly tooltipPosition : ICoordinate | null;\n}\n\nexport type LineChartDispatch = BevSpotDispatch<IAbstractLineChartProps, { services: object }>\n\nexport interface IBoundAbstractLineChartProps extends IAbstractLineChartProps {\n    readonly dispatch : LineChartDispatch;\n}\n\nexport interface IConnectedAbstractLineChartProps {\n    readonly xAxis : IAxis | null;\n    readonly yAxis : IAxis | null;\n    readonly grid : IGrid | null;\n    readonly multipleLines : IMultipleLines;\n    readonly tooltips : ReadonlyArray<ITooltip>;\n    readonly legendItems : ReadonlyArray<ILegendItem>;\n    readonly mouseLineLabelFormatter : (index : number) => string;\n\n    readonly heightInPixels : number;\n    readonly uniqueId : string;\n    readonly referenceFunction : (element : HTMLDivElement) => void;\n    readonly maxTooltipBodyItems? : number;\n}\n\nexport class AbstractLineChart extends React.Component<IBoundAbstractLineChartProps, object> {\n    private readonly classNamePrefix = 'abstract-line-chart';\n\n    private currentMousePosition : ICoordinate = {\n        x: 0,\n        y: 0,\n    };\n\n    private containerElement : HTMLDivElement | null = null;\n    private tooltipElement : HTMLDivElement | null = null;\n\n    private backgroundHoverHandler : IHoverHandler | null = null;\n    private backgroundClickHandler : IClickHandler | null = null;\n\n    public UNSAFE_componentWillMount() {\n        {\n            const {\n                uniqueId,\n                dispatch,\n            } = this.props;\n\n            const initialState : IAbstractLineChartState = {\n                activeLinePointIndex: null,\n                tooltipPosition: null,\n            };\n\n            dispatch(AbstractLineChartActions.initializeState(uniqueId, initialState));\n        }\n\n        this.backgroundHoverHandler = this.generateBackgroundHoverHandler();\n        this.backgroundClickHandler = this.generateBackgroundClickHandler();\n    }\n\n    public componentDidMount() {\n        window.addEventListener('resize', this.onWindowResize);\n        this.forceUpdate();\n    }\n\n    public componentWillUnmount() {\n        window.removeEventListener('resize', this.onWindowResize);\n    }\n\n    public componentDidUpdate() {\n        const {\n            tooltipPosition,\n        } = this.props;\n\n        if (tooltipPosition !== null) {\n            if (tooltipPosition.x === -1000) {\n                this.handleMousePosition(this.currentMousePosition);\n            }\n        }\n    }\n\n    public render() {\n        const {\n            multipleLines,\n            tooltips,\n        } = this.props;\n\n        if (multipleLines.lines.length > 0) {\n            if (this.getNumberOfLinePoints() !== tooltips.length) {\n                // TODO probs no longer true\n                throw new RuntimeException('number of linePoints and tooltips must be equal');\n            }\n        }\n\n        return (\n            <div\n                className={ this.classNamePrefix + '-container' }\n                ref={ this.containerReferenceFunction }\n            >\n                { this.createLineChart() }\n            </div>\n        );\n    }\n\n    ////////////////////////////////\n    // Event Handlers\n    ////////////////////////////////\n    private readonly onWindowResize = () : void => {\n        this.resetToInitialState();\n    }\n\n    private readonly onTooltipDismissal = () : void => {\n        this.resetToInitialState();\n    }\n\n    private readonly resetToInitialState = () : void => {\n        const {\n            uniqueId,\n            dispatch,\n        } = this.props;\n\n        dispatch(AbstractLineChartActions.setActiveLinePointIndex(uniqueId, null));\n        dispatch(AbstractLineChartActions.setTooltipPosition(uniqueId, null));\n    }\n\n    private readonly onMouseEvent = (event : React.MouseEvent<SVGElement>) : void => {\n        this.currentMousePosition = {\n            x: event.pageX,\n            y: event.pageY,\n        };\n\n        this.handleMousePosition(this.currentMousePosition);\n    }\n\n    private readonly handleMousePosition = (currentMousePosition : ICoordinate) : void => {\n        const {\n            uniqueId,\n            dispatch,\n        } = this.props;\n\n        const boundingRectangle : ClientRect = this.calculateBoundingRecatangle();\n        const linePointIndex : number = this.calculateLinePointIndex(currentMousePosition, boundingRectangle);\n        const tooltipPosition : ICoordinate = this.calculateTooltipPosition(currentMousePosition, boundingRectangle, linePointIndex);\n\n        dispatch(AbstractLineChartActions.setActiveLinePointIndex(uniqueId, linePointIndex));\n        dispatch(AbstractLineChartActions.setTooltipPosition(uniqueId, tooltipPosition));\n    }\n\n    private readonly generateBackgroundHoverHandler = () : IHoverHandler => {\n        return {\n            onHover: this.onMouseEvent,\n            offHover: (event : React.MouseEvent<SVGElement>) => {\n                const {\n                    uniqueId,\n                    dispatch,\n                } = this.props;\n\n                dispatch(AbstractLineChartActions.setActiveLinePointIndex(uniqueId, null));\n                dispatch(AbstractLineChartActions.setTooltipPosition(uniqueId, null));\n            },\n        };\n    }\n\n    private readonly generateBackgroundClickHandler = () : IClickHandler => {\n        return {\n            onClick: this.onMouseEvent,\n        };\n    }\n\n    ////////////////////////////////\n    // JSX Element Creators\n    ////////////////////////////////\n    private readonly createLineChart = () : JSX.Element | undefined => {\n        const {\n            multipleLines,\n        } = this.props;\n\n        if (this.containerElement === null) {\n            return;\n        }\n\n        if (multipleLines.lines.length === 0) {\n            return this.createNullDataLineChart();\n        }\n\n        const boundingBox : IBoundingBox = this.getBoundingBox();\n\n        return (\n            <div>\n                { this.createLegend() }\n\n                <svg\n                    className={ this.classNamePrefix + '-view-container' }\n                    height={ boundingBox.heightInPixels }\n                    width={ boundingBox.widthInPixels }\n                    style={ { overflow: 'visible' } }\n                >\n                    { this.createLineChartView() }\n                    { this.createMouseLine() }\n                    { this.createPointsOverMouseLine() }\n                </svg>\n\n                { this.createTooltip() }\n            </div>\n        );\n    }\n\n    private readonly createNullDataLineChart = () : JSX.Element => {\n        return (\n            <NullDataLineChart\n                boundingBox={ this.getBoundingBox() }\n            />\n        );\n    }\n\n    private readonly createLegend = () : JSX.Element => {\n        const {\n            legendItems,\n        } = this.props;\n\n        return (\n            <div\n                className={ this.classNamePrefix + '-legend' }\n            >\n                <Legend\n                    legendItems={ legendItems }\n                />\n            </div>\n        );\n    }\n\n    private readonly createLineChartView = () : JSX.Element => {\n        const {\n            xAxis,\n            yAxis,\n            grid,\n            multipleLines,\n        } = this.props;\n\n        let backgroundHoverHandler : IHoverHandler | null;\n        let backgroundClickHandler : IClickHandler | null;\n        if (utils.screenHasDesktopWidth()) {\n            backgroundHoverHandler = this.backgroundHoverHandler;\n            backgroundClickHandler = null;\n        } else {\n            backgroundHoverHandler = null;\n            backgroundClickHandler = this.backgroundClickHandler;\n        }\n\n        return (\n            <LineChartView\n                xAxis={ xAxis }\n                yAxis={ yAxis }\n                grid={ grid }\n                multipleLines={ multipleLines }\n                backgroundHoverHandler={ backgroundHoverHandler }\n                backgroundClickHandler={ backgroundClickHandler }\n                boundingBox={ this.getBoundingBox() }\n            />\n        );\n    }\n\n    private readonly createMouseLine = () : JSX.Element | null => {\n        const {\n            mouseLineLabelFormatter,\n            activeLinePointIndex,\n        } = this.props;\n\n        if (activeLinePointIndex === null) {\n            return null;\n        }\n\n        const orientation = Orientation.VERTICAL;\n        const axisLength : number = this.getXAxisHeight();\n\n        let x : number;\n        {\n            const newGridPercent = activeLinePointIndex / (this.getNumberOfLinePoints() - 1);\n            const gridWidth = this.getGridWidth();\n\n            x = newGridPercent * gridWidth;\n        }\n\n        const position : ICoordinate = {\n            x,\n            y: 0,\n        };\n\n        const labelValue : string = mouseLineLabelFormatter(activeLinePointIndex);\n\n        return (\n            <svg\n                x={ this.getYAxisWidth() }\n                style={ { overflow: 'visible' } }\n            >\n                <MouseLine\n                    orientation={ orientation }\n                    labelValue={ labelValue }\n                    mousePosition={ position }\n                    axisLength={ axisLength }\n                    boundingBox={ this.getBoundingBox() }\n                />\n            </svg>\n        );\n    }\n\n    private readonly createPointsOverMouseLine = () : JSX.Element | null => {\n        const {\n            multipleLines,\n            heightInPixels,\n            activeLinePointIndex,\n        } = this.props;\n\n        if (activeLinePointIndex === null) {\n            return null;\n        }\n\n        const boundingBox : IBoundingBox = {\n            heightInPixels: heightInPixels - this.getXAxisHeight(),\n            widthInPixels: this.getGridWidth(),\n        };\n\n        const rangeValue : number = multipleLines.valueRange.maxValue - multipleLines.valueRange.minValue;\n        const points : Array<IPoint> = [];\n\n        multipleLines.lines.forEach((line : ILine) => {\n            const linePoint : ILinePoint = line.linePoints[activeLinePointIndex];\n            const lineColors : ILineColors = line.lineColors;\n\n            if (linePoint.value !== null) {\n                const yPositionPercent = (linePoint.value - multipleLines.valueRange.minValue) / rangeValue;\n\n                points.push({\n                    position: {\n                        x: activeLinePointIndex / (this.getNumberOfLinePoints() - 1) * boundingBox.widthInPixels,\n                        y: (1 - yPositionPercent) * boundingBox.heightInPixels,\n                    },\n                    outerColor: lineColors.pointOuterColor,\n                    innerColor: lineColors.pointInnerColor,\n                });\n            }\n        });\n\n        return (\n            <svg\n                x={ this.getYAxisWidth() }\n                style={ { overflow: 'visible' } }\n            >\n                <MultiplePoints\n                    points={ points }\n                    boundingBox={ boundingBox }\n                />\n            </svg>\n        );\n    }\n\n    private readonly createTooltip = () : JSX.Element | null => {\n        const {\n            tooltips,\n            activeLinePointIndex,\n            tooltipPosition,\n            maxTooltipBodyItems,\n            multipleLines,\n        } = this.props;\n\n        if (tooltipPosition === null) {\n            return null;\n        }\n\n        let orientation : Orientation;\n        let onDismissal : (() => void) | null;\n        if (utils.screenHasDesktopWidth()) {\n            orientation = Orientation.VERTICAL;\n            onDismissal = null;\n        } else {\n            orientation = Orientation.HORIZONTAL;\n            onDismissal = this.onTooltipDismissal;\n        }\n\n        let linePointIndex : number;\n        if (activeLinePointIndex === null) {\n            linePointIndex = this.getNumberOfLinePoints() - 1;\n        } else {\n            linePointIndex = activeLinePointIndex;\n        }\n\n        const tooltip : ITooltip = tooltips[linePointIndex];\n        let body = tooltip.body;\n\n        if (maxTooltipBodyItems !== undefined && body.length > maxTooltipBodyItems) {\n            body = this.filterTooltipBodyToNearestItems(body, linePointIndex, multipleLines, maxTooltipBodyItems);\n        }\n\n        return (\n            <Tooltip\n                position={ tooltipPosition }\n                orientation={ orientation }\n                onDismissal={ onDismissal }\n                headerValue={ tooltip.headerValue }\n                body={ body }\n                footer={ tooltip.footer }\n                shape={ Shape.LINE }\n                referenceFunction={ this.tooltipReferenceFunction }\n            />\n        );\n    }\n\n    private readonly filterTooltipBodyToNearestItems = (\n        body : ReadonlyArray<ITooltipItem>,\n        linePointIndex : number,\n        multipleLines : IMultipleLines,\n        maxItems : number,\n    ) : ReadonlyArray<ITooltipItem> => {\n        const { heightInPixels } = this.props;\n        const { valueRange } = multipleLines;\n        const range = valueRange.maxValue - valueRange.minValue;\n\n        if (range === 0 || this.containerElement === null) {\n            return body.slice(0, maxItems);\n        }\n\n        // Get mouse Y relative to the SVG element directly from the container,\n        // avoiding the global querySelector which can find the wrong element.\n        // Use class specificity to avoid matching icon SVGs or other nested SVGs\n        const svgElement = this.containerElement.querySelector(`svg.${ this.classNamePrefix }-view-container`);\n        if (svgElement === null) {\n            return body.slice(0, maxItems);\n        }\n        // getBoundingClientRect() forces a layout read on each mouse move. This is\n        // acceptable because the chart already does layout reads in handleMousePosition.\n        const svgRect = svgElement.getBoundingClientRect();\n        const mousePixelY = this.currentMousePosition.y - (svgRect.top + window.pageYOffset);\n\n        // Compute each line's pixel Y at the active point using the same formula\n        // as createPointsOverMouseLine / Line.tsx:\n        //   pixelY = (1 - (value - min) / range) * gridHeight\n        // IMPORTANT: tooltip body items are matched to lines by iteration order.\n        // Both are built from orderedCategoryNames in LineChart, skipping null values\n        // in the same order. Do NOT match by color — colors repeat when there are\n        // more lines than the 10-color palette. If tooltip ordering ever changes\n        // (e.g. sorted by value), this pairing will need to be updated.\n        const gridHeight = heightInPixels - this.getXAxisHeight();\n        const pixelYByBodyIndex : Array<number> = [];\n        let bodyIdx = 0;\n        for (const line of multipleLines.lines) {\n            const linePoint = line.linePoints[linePointIndex];\n            if (linePoint.value !== null) {\n                const yPercent = (linePoint.value - valueRange.minValue) / range;\n                pixelYByBodyIndex[bodyIdx] = (1 - yPercent) * gridHeight;\n                bodyIdx++;\n            }\n        }\n\n        // Score each tooltip item by pixel distance from the mouse\n        const scored = body.map((item, i) => {\n            const pixelY = pixelYByBodyIndex[i];\n            const distance = pixelY !== undefined ? Math.abs(pixelY - mousePixelY) : Infinity;\n            return { item, distance };\n        });\n\n        scored.sort((a, b) => a.distance - b.distance);\n\n        // Always include the nearest, then include others within 20px, up to maxItems\n        const PROXIMITY_THRESHOLD_PX = 20;\n        const result = scored.filter((s, i) => i === 0 || s.distance <= PROXIMITY_THRESHOLD_PX);\n        return result.slice(0, maxItems).map(s => s.item);\n    }\n\n    ////////////////////////////////\n    // Reference Functions\n    ////////////////////////////////\n    private readonly containerReferenceFunction = (element : HTMLDivElement) : void => {\n        const {\n            referenceFunction,\n        } = this.props;\n\n        this.containerElement = element;\n        referenceFunction(element);\n    }\n\n    private readonly tooltipReferenceFunction = (element : HTMLDivElement) : void => {\n        this.tooltipElement = element;\n    }\n\n    ////////////////////////////////\n    // Misc\n    ////////////////////////////////\n    private readonly getXAxisHeight = () : number => {\n        const {\n            xAxis,\n        } = this.props;\n\n        return (xAxis === null) ? 0 : xAxis.axisLength;\n    }\n\n    private readonly getYAxisWidth = () : number => {\n        const {\n            yAxis,\n        } = this.props;\n\n        return (yAxis === null) ? 0 : yAxis.axisLength;\n    }\n\n    private readonly getGridWidth = () : number => {\n        return this.containerElement !== null ? this.containerElement.clientWidth - this.getYAxisWidth() : 0;\n    }\n\n    private readonly getNumberOfLinePoints = () : number => {\n        const {\n            multipleLines,\n        } = this.props;\n\n        return multipleLines.lines[0].linePoints.length;\n    }\n\n    private readonly getLinePointIndexesWithValues = () : ReadonlyArray<number> => {\n        const {\n            multipleLines,\n        } = this.props;\n\n        const linePointIndexesWithValues : Array<number> = [];\n\n        multipleLines.lines.forEach((line : ILine) => {\n            line.linePoints.forEach((linePoint : ILinePoint, index : number) => {\n                if (linePoint.value !== null) {\n                    if (linePointIndexesWithValues.indexOf(index) < 0) {\n                        linePointIndexesWithValues.push(index);\n                    }\n                }\n            });\n        });\n\n        return linePointIndexesWithValues.sort((a : number, b : number) => {\n            return a - b;\n        });\n    }\n\n    private readonly getBoundingBox = () : IBoundingBox => {\n        const {\n            heightInPixels,\n        } = this.props;\n\n        return {\n            heightInPixels,\n            widthInPixels: this.containerElement !== null ? this.containerElement.clientWidth : 0,\n        };\n    }\n\n    private readonly calculateBoundingRecatangle = () : ClientRect => {\n        const chartViewContainer : Element | null = document.querySelector(`.${ this.classNamePrefix }-view-container`);\n\n        if (chartViewContainer === null) {\n            throw new RuntimeException('unexpected: container not found');\n        }\n\n        return chartViewContainer.getBoundingClientRect();\n    }\n\n    private readonly calculateLinePointIndex = (\n        currentMousePosition : ICoordinate,\n        boundingRectangle : ClientRect,\n    ) : number => {\n        const mousePosition : ICoordinate = utils.calculateMousePositionRelativeToChartOrigin(currentMousePosition, boundingRectangle);\n        const gridPercent = (mousePosition.x - this.getYAxisWidth()) / this.getGridWidth();\n\n        const linePointIndexesWithValues : ReadonlyArray<number> = this.getLinePointIndexesWithValues();\n        const linePointGridPercentages : ReadonlyArray<number> = linePointIndexesWithValues.map(\n            (linePointIndex : number) => {\n                return linePointIndex / (this.getNumberOfLinePoints() - 1);\n            }\n        );\n\n        let closestIndex : number | null = null;\n        let smallestDifference = 2;\n\n        for (let index = 0; index < linePointGridPercentages.length; index++) {\n            const linePointGridPercent = linePointGridPercentages[index];\n            const currentDifference = Math.abs(linePointGridPercent - gridPercent);\n\n            if (currentDifference > smallestDifference) {\n                break;\n            }\n\n            smallestDifference = currentDifference;\n            closestIndex = index;\n        }\n\n        if (closestIndex === null) {\n            throw new RuntimeException('unexpected');\n        }\n\n        return linePointIndexesWithValues[closestIndex];\n    }\n\n    private readonly calculateTooltipPosition = (\n        currentMousePosition : ICoordinate,\n        boundingRectangle : ClientRect,\n        linePointIndex : number,\n    ) : ICoordinate => {\n        if (this.tooltipElement === null) {\n            // atmiguel (6/9/17)\n            // tooltipElement becomes null every time the tooltip re-renders.\n            // it seemed simplest to just place the tooltip far offscreen when this occurs.\n            // not sure if there is any downside to doing it this way.\n            return {\n                x: -1000,\n                y: -1000,\n            };\n        }\n\n        let x : number;\n        let y : number;\n        if (utils.screenHasDesktopWidth()) {\n            let xPosition : number;\n            {\n                const gridPercent = linePointIndex / (this.getNumberOfLinePoints() - 1);\n                xPosition = boundingRectangle.left + (gridPercent * this.getGridWidth()) + this.getYAxisWidth();\n            }\n\n            const offset = utils.getOffsetParentOffset(this.tooltipElement);\n\n            x = utils.getTooltipPositionOnEitherSideOfHoveredObject(\n                xPosition,\n                xPosition,\n                offset.left,\n                this.tooltipElement.clientWidth,\n                utils.getRightScreenEdgeInPixels(),\n                window.pageXOffset);\n\n            y = utils.getTooltipPositionBasedOnMousePosition(\n                currentMousePosition.y + 5, // TODO constantize\n                offset.top,\n                this.tooltipElement.clientHeight,\n                utils.getBottomScreenEdgeInPixels());\n        } else {\n            x = boundingRectangle.left + window.pageXOffset;\n            y = boundingRectangle.top + window.pageYOffset;\n        }\n\n        return {\n            x,\n            y,\n        };\n    }\n}\n\ninterface IState {\n    abstractLineChartStateById : IAbstractLineChartStateById;\n}\n\nconst mapStateToProps = (\n    state : IState,\n    props : IConnectedAbstractLineChartProps,\n) : IAbstractLineChartProps => {\n    const stateProps = state.abstractLineChartStateById[props.uniqueId] || {};\n\n    return {\n        ...props,\n        ...stateProps,\n    };\n};\n\nexport const ConnectedAbstractLineChart = connect<IAbstractLineChartProps, object, IConnectedAbstractLineChartProps, IState>(mapStateToProps)(AbstractLineChart);\n","import React from 'react';\nimport { connect } from 'react-redux';\n\nimport { AxisPosition } from 'shared/models/Charts/Axes/AxisPosition';\nimport { DataAxisType } from 'shared/models/Charts/Axes/DataAxisType';\nimport { IAxis } from 'shared/models/Charts/Axes/IAxis';\nimport { IAxisTick } from 'shared/models/Charts/Axes/IAxisTick';\nimport { IGrid } from 'shared/models/Charts/IGrid';\nimport { IGridLine } from 'shared/models/Charts/IGridLine';\nimport { ILegendItem } from 'shared/models/Charts/ILegendItem';\nimport { IRange } from 'shared/models/Charts/IRange';\nimport { IValuesByCategoryNameWithAdditionalData } from 'shared/models/Charts/IValuesByCategoryNameWithAdditionalData';\nimport { ILine } from 'shared/models/Charts/Line/ILine';\nimport { ILineColors } from 'shared/models/Charts/Line/ILineColors';\nimport { ILineColorsByCategoryName } from 'shared/models/Charts/Line/ILineColorsByCategoryName';\nimport { ILinePoint } from 'shared/models/Charts/Line/ILinePoint';\nimport { IMultipleLines } from 'shared/models/Charts/Line/IMultipleLines';\nimport { Shape } from 'shared/models/Charts/Shape';\nimport { ITooltip } from 'shared/models/Charts/Tooltip/ITooltip';\nimport { ITooltipItem } from 'shared/models/Charts/Tooltip/ITooltipItem';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { ConnectedAbstractLineChart, LineChartDispatch } from 'shared/components/Charts/Line/AbstractLineChart';\n\nimport { utils as axesUtils } from 'shared/components/Charts/Axes/utils';\nimport { IGridLineData, utils as chartUtils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { MIN_DESKTOP_WIDTH } from 'shared/constants';\n\nexport type ILineChartState = object;\n\nexport interface ILineChartProps {\n    readonly orderedCategoryNames : ReadonlyArray<string>;\n    readonly sortedArrayOfValuesByCategoryNameWithAdditionalData : ReadonlyArray<IValuesByCategoryNameWithAdditionalData>;\n    readonly lineColorsByCategoryName : ILineColorsByCategoryName;\n    readonly showAllPoints : boolean;\n    readonly heightInPixels : number;\n    readonly lineChartUniqueId : string;\n\n    readonly dataAxisLabelValue : string;\n    readonly dataAxisType : DataAxisType;\n    readonly valueAxisLabelValue : string;\n    readonly valueAxisTickLabelFormatter : (value : number) => string;\n    readonly gridFillColorCalculator : (data : string) => HexColor | null;\n    readonly additionalLegendItems : ReadonlyArray<ILegendItem>;\n\n    readonly legendItemFormatter : (data : string) => string;\n    readonly tooltipHeaderFormatter : (data : string) => string;\n    readonly tooltipItemNameFormatter : (name : string) => string;\n    readonly tooltipItemValueFormatter : (value : number) => string;\n    readonly mouseLineLabelFormatter : (value : number) => string;\n    readonly hideLegend? : boolean;\n    readonly maxTooltipBodyItems? : number;\n}\n\nexport interface IBoundLineChartProps extends ILineChartProps {\n    readonly dispatch : LineChartDispatch;\n}\n\nexport class LineChart extends React.Component<IBoundLineChartProps, object> {\n    private abstractLineChart : HTMLDivElement | null = null;\n\n    public componentDidMount() {\n        window.addEventListener('resize', this.onWindowResize);\n        this.forceUpdate();\n    }\n\n    public componentWillUnmount() {\n        window.removeEventListener('resize', this.onWindowResize);\n    }\n\n    public render() {\n        const {\n            orderedCategoryNames,\n            sortedArrayOfValuesByCategoryNameWithAdditionalData,\n            lineColorsByCategoryName,\n        } = this.props;\n\n        let lineChartElement : JSX.Element;\n        if (sortedArrayOfValuesByCategoryNameWithAdditionalData.length < 2) { // can't implement line chart with less than 2 points...\n            // if we want a different default empty state, consider replacing this with the one from AccountHistoryChart.tsx\n            lineChartElement = this.implementNullDataAbstractLineChart();\n        } else {\n            {\n                sortedArrayOfValuesByCategoryNameWithAdditionalData.forEach(\n                    (valuesByCategoryNameWithAdditionalData : IValuesByCategoryNameWithAdditionalData) => {\n                        const valuesByCategoryName = valuesByCategoryNameWithAdditionalData.valuesByCategoryName;\n                        const categoryNames = Object.keys(valuesByCategoryName);\n\n                        if (orderedCategoryNames.length !== categoryNames.length) {\n                            throw new RuntimeException('sortedArrayOfValuesByCategoryNameWithAdditionalData must be the same length as orderedCategoryNames');\n                        }\n\n                        categoryNames.forEach((categoryName : string) => {\n                            if (orderedCategoryNames.indexOf(categoryName) < 0) {\n                                throw new RuntimeException('sortedArrayOfValuesByCategoryNameWithAdditionalData must have orderedCategoryNames as keys');\n                            }\n                        });\n                    }\n                );\n            }\n\n            {\n                const categoryNames =  Object.keys(lineColorsByCategoryName);\n\n                if (orderedCategoryNames.length !== categoryNames.length) {\n                    throw new RuntimeException('lineColorsByCategoryName must be the same length as orderedCategoryNames');\n                }\n\n                categoryNames.forEach((categoryName : string) => {\n                    if (orderedCategoryNames.indexOf(categoryName) < 0) {\n                        throw new RuntimeException('lineColorsByCategoryName must have orderedCategoryNames as keys');\n                    }\n                });\n            }\n\n            lineChartElement = this.implementAbstractLineChart();\n        }\n\n        return (\n            <div\n                className=\"line-chart-container\"\n            >\n                { lineChartElement }\n            </div>\n        );\n    }\n\n    private readonly implementNullDataAbstractLineChart = () : JSX.Element => {\n        const {\n            heightInPixels,\n            mouseLineLabelFormatter,\n            lineChartUniqueId\n        } = this.props;\n\n        const multipleLines : IMultipleLines = {\n            lines: [],\n            valueRange: { // doesn't matter\n                minValue: 0,\n                maxValue: 100,\n            },\n        };\n\n        return (\n            <ConnectedAbstractLineChart\n                xAxis={ null }\n                yAxis={ null }\n                grid={ null }\n                multipleLines={ multipleLines }\n                tooltips={ [] }\n                legendItems={ [] }\n                mouseLineLabelFormatter={ mouseLineLabelFormatter }\n                heightInPixels={ heightInPixels }\n                uniqueId={ lineChartUniqueId }\n                referenceFunction={ this.containerReferenceFunction }\n            />\n        );\n    }\n\n    private readonly implementAbstractLineChart = () : JSX.Element => {\n        const {\n            sortedArrayOfValuesByCategoryNameWithAdditionalData,\n            heightInPixels,\n            lineChartUniqueId,\n            mouseLineLabelFormatter,\n        } = this.props;\n\n        const valueRange : IRange = chartUtils.calculateValueRangeForArrayOfValuesByCategoryNameWithAdditionalData(sortedArrayOfValuesByCategoryNameWithAdditionalData);\n        const gridLineData : IGridLineData = chartUtils.calculateGridLineData(valueRange);\n        const newValueRange : IRange = chartUtils.calculateValueRange(gridLineData, valueRange);\n\n        const valueAxis : IAxis = this.calculateValueAxis(gridLineData);\n        const dataAxis : IAxis = this.calculateDataAxis(valueAxis);\n\n        const grid : IGrid = this.calculateGrid(gridLineData);\n        const multipleLines : IMultipleLines = this.calculateMultipleLines(newValueRange);\n\n        const tooltips : ReadonlyArray<ITooltip> = this.calculateTooltips();\n        const legendItems : ReadonlyArray<ILegendItem> = this.props.hideLegend ? [] : this.calculateLegendItems();\n\n        return (\n            <ConnectedAbstractLineChart\n                xAxis={ dataAxis }\n                yAxis={ valueAxis }\n                grid={ grid }\n                multipleLines={ multipleLines }\n                tooltips={ tooltips }\n                legendItems={ legendItems }\n                mouseLineLabelFormatter={ mouseLineLabelFormatter }\n\n                heightInPixels={ heightInPixels }\n                uniqueId={ lineChartUniqueId }\n                referenceFunction={ this.containerReferenceFunction }\n                maxTooltipBodyItems={ this.props.maxTooltipBodyItems }\n            />\n        );\n    }\n\n    ////////////////////////////////\n    // Component Calculations\n    ////////////////////////////////\n    private readonly calculateValueAxis = (gridLineData : IGridLineData) : IAxis => {\n        const {\n            valueAxisLabelValue,\n            valueAxisTickLabelFormatter,\n        } = this.props;\n\n        const axisPosition = AxisPosition.LEFT;\n\n        const axisTicks : ReadonlyArray<IAxisTick> = axesUtils.calculateValueAxisTicks(\n            gridLineData,\n            valueAxisTickLabelFormatter);\n\n        const axisLength : number = axesUtils.calculateAxisLength(\n            axisPosition,\n            axisTicks,\n            valueAxisLabelValue);\n\n        return {\n            axisPosition,\n            axisLength,\n            axisTicks,\n            showAxisLine: false,\n            labelValue: valueAxisLabelValue,\n        };\n    }\n\n    private readonly calculateDataAxis = (valueAxis : IAxis) : IAxis => {\n        const {\n            sortedArrayOfValuesByCategoryNameWithAdditionalData,\n            dataAxisLabelValue,\n            dataAxisType,\n        } = this.props;\n\n        const axisPosition = AxisPosition.BOTTOM;\n\n        let axisTicks : ReadonlyArray<IAxisTick>;\n        {\n            let axisWidthInPixels : number;\n            if (this.abstractLineChart !== null) {\n                axisWidthInPixels = this.abstractLineChart.clientWidth - valueAxis.axisLength;\n            } else {\n                axisWidthInPixels = MIN_DESKTOP_WIDTH;\n            }\n\n            axisTicks = axesUtils.calculateDataAxisTicksForValuesByCategoryNameWithAdditionalData(\n                dataAxisType,\n                sortedArrayOfValuesByCategoryNameWithAdditionalData,\n                axisWidthInPixels);\n        }\n\n        const axisLength : number = axesUtils.calculateAxisLength(\n            axisPosition,\n            axisTicks,\n            dataAxisLabelValue);\n\n        return {\n            axisPosition,\n            axisLength,\n            axisTicks,\n            showAxisLine: true,\n            labelValue: dataAxisLabelValue,\n        };\n    }\n\n    private readonly calculateGrid = (gridLineData : IGridLineData) : IGrid => {\n        const {\n            sortedArrayOfValuesByCategoryNameWithAdditionalData,\n            gridFillColorCalculator,\n        } = this.props;\n\n        const gridLines : ReadonlyArray<IGridLine> = chartUtils.calculateGridLines(gridLineData);\n\n        const fillLines : ReadonlyArray<IGridLine> = chartUtils.calculateFillLinesForValuesByCategoryNameWithAdditionalData(\n            sortedArrayOfValuesByCategoryNameWithAdditionalData,\n            gridFillColorCalculator);\n\n        return {\n            horizontalGridLines: gridLines,\n            verticalGridLines: fillLines,\n        };\n    }\n\n    private readonly calculateMultipleLines = (valueRange : IRange) : IMultipleLines => {\n        const {\n            orderedCategoryNames,\n            sortedArrayOfValuesByCategoryNameWithAdditionalData,\n            lineColorsByCategoryName,\n            showAllPoints,\n        } = this.props;\n\n        let lines : ReadonlyArray<ILine>;\n        {\n            const linePointsByCategoryName : {[categoryName : string] : Array<ILinePoint>} = {};\n            sortedArrayOfValuesByCategoryNameWithAdditionalData.forEach(\n                (valuesByCategoryNameWithAdditionalData : IValuesByCategoryNameWithAdditionalData, index : number) => {\n                    const valuesByCategoryName = valuesByCategoryNameWithAdditionalData.valuesByCategoryName;\n\n                    orderedCategoryNames.forEach((categoryName : string) => {\n                        const value : number | null = valuesByCategoryName[categoryName];\n\n                        if (index === 0) {\n                            linePointsByCategoryName[categoryName] = [];\n                        } else if (!(categoryName in linePointsByCategoryName)) {\n                            throw new RuntimeException('unexpected: categoryNames should be consistent across sortedArrayOfValuesByCategoryNameWithAdditionalData');\n                        }\n\n                        linePointsByCategoryName[categoryName].push({\n                            value,\n                            showPoint: showAllPoints,\n                        });\n                    });\n                }\n            );\n\n            lines = orderedCategoryNames.map(\n                (categoryName : string) => {\n                    const linePoints = linePointsByCategoryName[categoryName];\n                    const lineColors = lineColorsByCategoryName[categoryName];\n\n                    return {\n                        linePoints,\n                        lineColors,\n                    };\n                }\n            );\n        }\n\n        return {\n            lines,\n            valueRange,\n        };\n    }\n\n    private readonly calculateTooltips = () : ReadonlyArray<ITooltip> => {\n        const {\n            orderedCategoryNames,\n            sortedArrayOfValuesByCategoryNameWithAdditionalData,\n            lineColorsByCategoryName,\n            tooltipHeaderFormatter,\n            tooltipItemNameFormatter,\n            tooltipItemValueFormatter,\n        } = this.props;\n\n        return sortedArrayOfValuesByCategoryNameWithAdditionalData.map(\n            (valuesByCategoryNameWithAdditionalData : IValuesByCategoryNameWithAdditionalData) => {\n                const valuesByCategoryName = valuesByCategoryNameWithAdditionalData.valuesByCategoryName;\n\n                let headerValue : string;\n                {\n                    const data : string = valuesByCategoryNameWithAdditionalData.data;\n                    headerValue = tooltipHeaderFormatter(data);\n                }\n\n                const body : Array<ITooltipItem> = [];\n\n                orderedCategoryNames.forEach(\n                    (categoryName : string) => {\n                        const value : number | null = valuesByCategoryName[categoryName];\n                        const lineColors : ILineColors = lineColorsByCategoryName[categoryName];\n\n                        if (value !== null) {\n                            body.push({\n                                name: tooltipItemNameFormatter(categoryName),\n                                value: tooltipItemValueFormatter(value),\n                                hasFocus: false,\n                                color: lineColors.lineColor,\n                            });\n                        }\n                    }\n                );\n\n                return {\n                    headerValue,\n                    body,\n                    footer: null,\n                };\n            }\n        );\n    }\n\n    private readonly calculateLegendItems = () : ReadonlyArray<ILegendItem> => {\n        const {\n            orderedCategoryNames,\n            lineColorsByCategoryName,\n            additionalLegendItems,\n            legendItemFormatter,\n        } = this.props;\n\n        const legendItems : ReadonlyArray<ILegendItem> = orderedCategoryNames.map(\n            (categoryName : string) => {\n                const lineColors : ILineColors = lineColorsByCategoryName[categoryName];\n\n                return {\n                    name: legendItemFormatter(categoryName),\n                    color: lineColors.lineColor,\n                    shape: Shape.LINE,\n                };\n            }\n        );\n\n        return [\n            ...legendItems,\n            ...additionalLegendItems,\n        ];\n    }\n\n    private readonly onWindowResize = () : void => {\n        this.forceUpdate();\n    }\n\n    private readonly containerReferenceFunction = (element : HTMLDivElement) : void => {\n        this.abstractLineChart = element;\n    }\n}\n\ninterface IState {\n    lineChartState : ILineChartState;\n}\n\nconst mapStateToProps = (\n    state : IState,\n    props : ILineChartProps,\n) : ILineChartProps => {\n    return {\n        ...state.lineChartState,\n        ...props,\n    };\n};\n\nexport const ConnectedLineChart = connect<ILineChartProps, object, ILineChartProps, IState>(mapStateToProps)(LineChart);\n","import { IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport { IAbstractLineChartState } from 'shared/components/Charts/Line/AbstractLineChart';\nimport { ICoordinate } from 'shared/models/Charts/ICoordinate';\n\nexport const ActionTypes = {\n    INITIALIZE_STATE: 'LINE_CHART/INITIALIZE_STATE',\n    SET_ACTIVE_LINE_POINT_INDEX: 'LINE_CHART/SET_ACTIVE_LINE_POINT_INDEX',\n    SET_TOOLTIP_POSITION: 'LINE_CHART/SET_TOOLTIP_POSITION',\n};\n\nexport namespace ActionInterfaces {\n    export interface IInitializeState extends IAction {\n        payload : {\n            uniqueId : string;\n            initialState : IAbstractLineChartState;\n        };\n    }\n\n    export interface ISetActiveLinePointIndex extends IAction {\n        payload : {\n            uniqueId : string;\n            activeLinePointIndex : number | null;\n        };\n    }\n\n    export interface ISetTooltipPosition extends IAction {\n        payload : {\n            uniqueId : string;\n            tooltipPosition : ICoordinate | null;\n        };\n    }\n\n    export interface IAbstractLineChartActionCreators extends IActionCreatorsMapObject {\n        initializeState(\n            uniqueId : string,\n            initialState : IAbstractLineChartState,\n        ) : IInitializeState;\n\n        setActiveLinePointIndex(\n            uniqueId : string,\n            activeLinePointIndex : number | null,\n        ) : ISetActiveLinePointIndex;\n\n        setTooltipPosition(\n            uniqueId : string,\n            tooltipPosition : ICoordinate | null,\n        ) : ISetTooltipPosition;\n    }\n}\n\nexport const initializeState = (\n    uniqueId : string,\n    initialState : IAbstractLineChartState,\n) : ActionInterfaces.IInitializeState => ({\n    payload : {\n        uniqueId,\n        initialState,\n    },\n    type: ActionTypes.INITIALIZE_STATE,\n});\n\nexport const setActiveLinePointIndex = (\n    uniqueId : string,\n    activeLinePointIndex : number | null,\n) : ActionInterfaces.ISetActiveLinePointIndex => ({\n    payload : {\n        uniqueId,\n        activeLinePointIndex,\n    },\n    type: ActionTypes.SET_ACTIVE_LINE_POINT_INDEX,\n});\n\nexport const setTooltipPosition = (\n    uniqueId : string,\n    tooltipPosition : ICoordinate | null,\n) : ActionInterfaces.ISetTooltipPosition => ({\n    payload : {\n        uniqueId,\n        tooltipPosition,\n    },\n    type: ActionTypes.SET_TOOLTIP_POSITION,\n});\n\nexport const AbstractLineChartActions : ActionInterfaces.IAbstractLineChartActionCreators = {\n    initializeState,\n    setActiveLinePointIndex,\n    setTooltipPosition,\n};\n","import { Action } from '@reduxjs/toolkit';\n\nimport { ActionInterfaces, ActionTypes } from 'shared/components/Charts/Line/actions';\n\nimport { IAbstractLineChartStateById } from 'shared/components/Charts/Line/AbstractLineChart';\n\nconst initialStateById : IAbstractLineChartStateById = {};\n\nconst reduceInitializeState = (\n    state : IAbstractLineChartStateById,\n    action : ActionInterfaces.IInitializeState,\n) : IAbstractLineChartStateById => {\n    const {\n        uniqueId,\n        initialState,\n    } = action.payload;\n\n    const newState = { ...state };\n    newState[uniqueId] = initialState;\n\n    return newState;\n};\n\nconst reduceSetActiveLinePointIndex = (\n    state : IAbstractLineChartStateById,\n    action : ActionInterfaces.ISetActiveLinePointIndex,\n) : IAbstractLineChartStateById => {\n    const {\n        uniqueId,\n        activeLinePointIndex,\n    } = action.payload;\n\n    const newState = { ...state };\n\n    newState[uniqueId] = {\n        ...newState[uniqueId],\n        activeLinePointIndex,\n    };\n\n    return newState;\n};\n\nconst reduceSetTooltipPosition = (\n    state : IAbstractLineChartStateById,\n    action : ActionInterfaces.ISetTooltipPosition,\n) : IAbstractLineChartStateById => {\n    const {\n        uniqueId,\n        tooltipPosition,\n    } = action.payload;\n\n    const newState = { ...state };\n\n    newState[uniqueId] = {\n        ...newState[uniqueId],\n        tooltipPosition,\n    };\n\n    return newState;\n};\n\nexport const AbstractLineChartReducers = (\n    state : IAbstractLineChartStateById = initialStateById,\n    action : Action,\n) : IAbstractLineChartStateById => {\n    switch (action.type) {\n        case ActionTypes.INITIALIZE_STATE:\n            return reduceInitializeState(\n                state,\n                action as ActionInterfaces.IInitializeState\n            );\n        case ActionTypes.SET_ACTIVE_LINE_POINT_INDEX:\n            return reduceSetActiveLinePointIndex(\n                state,\n                action as ActionInterfaces.ISetActiveLinePointIndex\n            );\n        case ActionTypes.SET_TOOLTIP_POSITION:\n            return reduceSetTooltipPosition(\n                state,\n                action as ActionInterfaces.ISetTooltipPosition\n            );\n        default:\n            return state;\n    }\n};\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { ICoordinate } from 'shared/models/Charts/ICoordinate';\nimport { Orientation } from 'shared/models/Charts/Orientation';\nimport { TextPosition } from 'shared/models/Charts/TextPosition';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport {\n    axisTickLabelDistanceFromLineInPixels,\n    axisTickLabelHeightInPixels,\n    axisTickLineLengthInPixels,\n} from 'shared/components/Charts/Axes/constants';\n\nimport {\n    mouseLineColor,\n    mouseLineLabelBackgroundColor,\n    mouseLineLabelPaddingInPixels,\n    mouseLineOpacity,\n    mouseLineStrokeDasharray,\n} from 'shared/components/Charts/constants';\n\nexport interface IMouseLineProps {\n    readonly orientation : Orientation;\n    readonly labelValue : string;\n    readonly mousePosition : ICoordinate;\n    readonly axisLength : number;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class MouseLine extends React.Component<IMouseLineProps, object> {\n    private classNamePrefix : string = '';\n\n    public render() {\n        const {\n            labelValue,\n            axisLength,\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n        this.determineClassNamePrefix();\n\n        if (axisLength === 0 && labelValue.length > 0) {\n            throw new RuntimeException('labelValue is non-empty string, but will not show');\n        }\n\n        const className : string = this.classNamePrefix + '-container';\n\n        return (\n            <g\n                className={ className }\n                style={ {\n                    pointerEvents: 'none',\n                } }\n            >\n                { this.createLine() }\n                { this.createLabel() }\n            </g>\n        );\n    }\n\n    private determineClassNamePrefix = () : void => {\n        const {\n            orientation,\n        } = this.props;\n\n        const className = '-mouse-line';\n        switch (orientation) {\n            case Orientation.HORIZONTAL: {\n                this.classNamePrefix = 'horizontal' + className;\n                break;\n            }\n            case Orientation.VERTICAL: {\n                this.classNamePrefix = 'vertical' + className;\n                break;\n            }\n            default: {\n                throw new RuntimeException('orientation is unexpected value');\n            }\n        }\n    }\n\n    private createLine = () : JSX.Element => {\n        const {\n            orientation,\n            mousePosition,\n            axisLength,\n            boundingBox,\n        } = this.props;\n\n        const className : string = this.classNamePrefix + '-line';\n\n        let x1 : number;\n        let y1 : number;\n        let x2 : number;\n        let y2 : number;\n        switch (orientation) {\n            case Orientation.HORIZONTAL: {\n                x1 = axisLength;\n                x2 = boundingBox.widthInPixels;\n\n                y1 = y2 = mousePosition.y;\n\n                break;\n            }\n            case Orientation.VERTICAL: {\n                x1 = x2 = mousePosition.x;\n\n                y1 = 0;\n                y2 = boundingBox.heightInPixels - axisLength;\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('orientation is unexpected value');\n            }\n        }\n\n        return (\n            <line\n                className={ className }\n\n                x1={ x1 }\n                y1={ y1 }\n                x2={ x2 }\n                y2={ y2 }\n\n                stroke={ mouseLineColor.getValue() }\n                strokeDasharray={ mouseLineStrokeDasharray }\n                opacity={ mouseLineOpacity }\n            />\n        );\n    }\n\n    private createLabel = () : JSX.Element | null => {\n        const {\n            orientation,\n            labelValue,\n            mousePosition,\n            axisLength,\n            boundingBox,\n        } = this.props;\n\n        if (axisLength === 0) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-label';\n\n        const textWidth = utils.estimateTextWidth(labelValue) + (mouseLineLabelPaddingInPixels * 2);\n        const textHeight = axisTickLabelHeightInPixels + (mouseLineLabelPaddingInPixels * 2);\n\n        let x : number;\n        let y : number;\n        let textPosition : TextPosition;\n        let transform : string;\n        switch (orientation) {\n            case Orientation.HORIZONTAL: {\n                x = axisLength - (axisTickLineLengthInPixels + axisTickLabelDistanceFromLineInPixels);\n                y = mousePosition.y + (axisTickLabelHeightInPixels / 2);\n                textPosition = 'end';\n\n                transform = utils.getTranslationTransformation(\n                    x + mouseLineLabelPaddingInPixels,\n                    y + mouseLineLabelPaddingInPixels);\n\n                transform += 'rotate(180, 0, 0)';\n\n                break;\n            }\n            case Orientation.VERTICAL: {\n                x = mousePosition.x;\n                y = (boundingBox.heightInPixels - axisLength) + (axisTickLineLengthInPixels + axisTickLabelDistanceFromLineInPixels + axisTickLabelHeightInPixels);\n                textPosition = 'middle';\n\n                transform = utils.getTranslationTransformation(\n                    x - (textWidth / 2),\n                    y - axisTickLabelHeightInPixels - mouseLineLabelPaddingInPixels);\n\n                break;\n            }\n            default: {\n                throw new RuntimeException('orientation is unexpected value');\n            }\n        }\n\n        return (\n            <g\n                className={ className }\n            >\n                <rect\n                    width={ textWidth }\n                    height={ textHeight }\n                    transform={ transform }\n\n                    fill={ mouseLineLabelBackgroundColor.getValue() }\n                />\n\n                <text\n                    x={ x }\n                    y={ y }\n                    textAnchor={ textPosition }\n                >\n                    { labelValue }\n                </text>\n            </g>\n        );\n    }\n}\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { Shape as ShapeModel } from 'shared/models/Charts/Shape';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IShapeProps {\n    readonly shape : ShapeModel;\n    readonly color : HexColor;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class Shape extends React.Component<IShapeProps, object> {\n    private readonly classNamePrefix = 'chart-shape';\n\n    public render() {\n        const className : string = `${ this.classNamePrefix }-container`;\n\n        return (\n            <div\n                className={ className }\n            >\n                { this.createShape() }\n            </div>\n        );\n    }\n\n    private createShape = () : JSX.Element => {\n        const {\n            shape,\n        } = this.props;\n\n        switch (shape) {\n            case ShapeModel.SQUARE: {\n                return this.createSquare();\n            }\n            case ShapeModel.LINE: {\n                return this.createLine();\n            }\n            default: {\n                throw new RuntimeException('unexpected value for shape');\n            }\n        }\n    }\n\n    private createSquare = () : JSX.Element => {\n        const {\n            color,\n            boundingBox,\n        } = this.props;\n\n        const className : string = this.classNamePrefix + '-square';\n\n        return (\n            <svg\n                className={ className }\n                height={ boundingBox.heightInPixels }\n                width={ boundingBox.widthInPixels }\n            >\n                <rect\n                    height={ boundingBox.heightInPixels }\n                    width={ boundingBox.widthInPixels }\n                    fill={ color.getValue() }\n                />\n            </svg>\n        );\n    }\n\n    private createLine = () : JSX.Element => {\n        const {\n            color,\n            boundingBox,\n        } = this.props;\n\n        const className : string = this.classNamePrefix + '-line';\n\n        const x1 = 0;\n        const x2 = boundingBox.widthInPixels;\n\n        const y1 = boundingBox.heightInPixels / 2;\n        const y2 = y1;\n\n        return (\n            <svg\n                className={ className }\n                height={ boundingBox.heightInPixels }\n                width={ boundingBox.widthInPixels }\n            >\n                <line\n                    x1={ x1 }\n                    x2={ x2 }\n                    y1={ y1 }\n                    y2={ y2 }\n\n                    stroke={ color.getValue() }\n                    strokeWidth={ 2 }\n                />\n            </svg>\n        );\n    }\n}\n","import React from 'react';\n\nimport { tooltipItemSquareLengthInPixels } from 'shared/components/Charts/constants';\nimport { Shape } from 'shared/components/Charts/Shape';\nimport { ITooltipItemShape } from 'shared/models/Charts/Tooltip/ITooltipItemShape';\n\nexport interface ITooltipItemProps {\n    readonly name : string;\n    readonly value : string;\n    readonly hasFocus : boolean;\n    readonly tooltipItemShape : ITooltipItemShape | null;\n}\n\nexport class TooltipItem extends React.Component<ITooltipItemProps, object> {\n    private readonly classNamePrefix = 'chart-tooltip-item';\n\n    public render() {\n        const {\n            hasFocus,\n        } = this.props;\n\n        let className : string = `${ this.classNamePrefix } col-row`;\n        if (hasFocus) {\n            className += ` ${ this.classNamePrefix }-has-focus`;\n        }\n\n        return (\n            <div\n                className={ className }\n            >\n                { this.createShape() }\n                { this.createName() }\n                { this.createValue() }\n            </div>\n        );\n    }\n\n    private createShape = () : JSX.Element | null => {\n        const {\n            tooltipItemShape,\n        } = this.props;\n\n        if (tooltipItemShape === null) {\n            return null;\n        }\n\n        const className : string = `${ this.classNamePrefix }-shape cell col-xs-1`;\n\n        return (\n            <div className={ className }>\n                <Shape\n                    shape={ tooltipItemShape.shape }\n                    color={ tooltipItemShape.color }\n                    boundingBox={ {\n                        heightInPixels: tooltipItemSquareLengthInPixels,\n                        widthInPixels: tooltipItemSquareLengthInPixels,\n                    } }\n                />\n            </div>\n        );\n    }\n\n    private createName = () : JSX.Element => {\n        const {\n            name,\n        } = this.props;\n\n        const className : string = this.classNamePrefix + '-name cell col-xs-6 cell-plr-xs';\n\n        return (\n            <div className={ className }>\n                { name }\n            </div>\n        );\n    }\n\n    private createValue = () : JSX.Element => {\n        const {\n            value,\n        } = this.props;\n\n        const className : string = this.classNamePrefix + '-value cell text-right col-xs-5 cell-ptb-sm';\n\n        return (\n            <div className={ className }>\n                { value }\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { ICoordinate } from 'shared/models/Charts/ICoordinate';\nimport { Orientation } from 'shared/models/Charts/Orientation';\nimport { Shape } from 'shared/models/Charts/Shape';\nimport { ITooltipItem } from 'shared/models/Charts/Tooltip/ITooltipItem';\nimport { ITooltipItemShape } from 'shared/models/Charts/Tooltip/ITooltipItemShape';\n\nimport { TooltipItem } from 'shared/components/Charts/Tooltip/TooltipItem';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface ITooltipProps {\n    readonly position : ICoordinate;\n    readonly orientation : Orientation;\n    readonly onDismissal : (() => void) | null;\n    readonly headerValue : string;\n    readonly body : ReadonlyArray<ITooltipItem>;\n    readonly footer : ITooltipItem | null;\n    readonly shape : Shape;\n    readonly referenceFunction : (element : HTMLDivElement) => void;\n}\n\nexport class Tooltip extends React.Component<ITooltipProps, object> {\n    private readonly classNamePrefix = 'chart-tooltip';\n\n    public render() {\n        const {\n            position,\n            orientation,\n            onDismissal,\n            referenceFunction,\n        } = this.props;\n\n        let className = this.classNamePrefix;\n        switch (orientation) {\n            case Orientation.HORIZONTAL: {\n                className += ` horizontal-${ this.classNamePrefix }`;\n                break;\n            }\n            case Orientation.VERTICAL: {\n                className += ` vertical-${ this.classNamePrefix }`;\n                break;\n            }\n            default: {\n                throw new RuntimeException('unexpected orientation value');\n            }\n        }\n\n        const style : React.CSSProperties = {\n            left: `${ position.x }px`,\n            top: `${ position.y }px`,\n            pointerEvents: 'none',\n        };\n\n        if (onDismissal !== null) {\n            style.pointerEvents = 'auto';\n        }\n\n        return (\n            <div\n                className={ className }\n                style={ style }\n                ref={ referenceFunction }\n            >\n                { this.createDismissButton() }\n                { this.createHeader() }\n                { this.createBody() }\n                { this.createFooter() }\n            </div>\n        );\n    }\n\n    private readonly createDismissButton = () : JSX.Element | null => {\n        const {\n            onDismissal,\n        } = this.props;\n\n        if (onDismissal === null) {\n            return null;\n        }\n\n        const className : string = `${ this.classNamePrefix }-dismiss-button`;\n\n        return (\n            <span onClick={ onDismissal } className={ className + ' bevicon bevico-close' } />\n        );\n    }\n\n    private readonly createHeader = () : JSX.Element | null => {\n        const {\n            headerValue,\n        } = this.props;\n\n        if (headerValue.length === 0) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-header';\n\n        return (\n            <div className={ className }>\n                { headerValue }\n            </div>\n        );\n    }\n\n    private readonly createBody = () : JSX.Element | null => {\n        const {\n            body,\n            shape,\n        } = this.props;\n\n        if (body.length === 0) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-body';\n\n        const tooltipItems : ReadonlyArray<JSX.Element> = body.map(\n            (tooltipItem : ITooltipItem, index : number) => {\n                let tooltipItemShape : ITooltipItemShape | null;\n                if (tooltipItem.color === null) {\n                    tooltipItemShape = null;\n                } else {\n                    tooltipItemShape = {\n                        shape,\n                        color: tooltipItem.color,\n                    };\n                }\n\n                return (\n                    <TooltipItem\n                        key={ index }\n\n                        name={ tooltipItem.name }\n                        value={ tooltipItem.value }\n                        hasFocus={ tooltipItem.hasFocus }\n                        tooltipItemShape={ tooltipItemShape }\n                    />\n                );\n            }\n        );\n\n        return (\n            <div className={ className }>\n                { tooltipItems }\n            </div>\n        );\n    }\n\n    private readonly createFooter = () : JSX.Element | null => {\n        const {\n            footer,\n            shape,\n        } = this.props;\n\n        if (footer === null) {\n            return null;\n        }\n\n        const className : string = this.classNamePrefix + '-footer';\n\n        let tooltipItemShape : ITooltipItemShape | null;\n        if (footer.color === null) {\n            tooltipItemShape = null;\n        } else {\n            tooltipItemShape = {\n                shape,\n                color: footer.color,\n            };\n        }\n\n        return (\n            <div className={ className }>\n                <TooltipItem\n                    name={ footer.name }\n                    value={ footer.value }\n                    hasFocus={ footer.hasFocus }\n                    tooltipItemShape={ tooltipItemShape }\n                />\n            </div>\n        );\n    }\n}\n","import { HexColor } from 'shared/models/HexColor';\n\n// GridLine\nexport const gridLineColor = new HexColor('#000000');\nexport const gridLineOpacity = 0.3;\n\n// LegendItem\nexport const legendItemSquareLengthInPixels = 16;\n\n// MouseLine\nexport const mouseLineLabelBackgroundColor = new HexColor('#eeeeee');\nexport const mouseLineLabelPaddingInPixels = 5;\n\nexport const mouseLineColor = new HexColor('#000000');\nexport const mouseLineOpacity = 1;\nexport const mouseLineStrokeDasharray = '8, 5';\n\n// TooltipItem\nexport const tooltipItemSquareLengthInPixels = 16;\n\n// utils\nexport const idealNumberOfGridLines = 10;\nexport const minTooltipDistanceFromScreenEdgeInPixels = 10;\n","import { GridLineType } from 'shared/models/Charts/GridLineType';\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { ICoordinate } from 'shared/models/Charts/ICoordinate';\nimport { IGridLine } from 'shared/models/Charts/IGridLine';\nimport { IRange } from 'shared/models/Charts/IRange';\nimport { IValuesByCategoryNameWithAdditionalData } from 'shared/models/Charts/IValuesByCategoryNameWithAdditionalData';\nimport { IValueWithAdditionalData } from 'shared/models/Charts/IValueWithAdditionalData';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { MIN_DESKTOP_WIDTH } from 'shared/constants';\n\nimport {\n    idealNumberOfGridLines,\n    minTooltipDistanceFromScreenEdgeInPixels,\n} from 'shared/components/Charts/constants';\n\nexport interface IGridLineData {\n    readonly numberOfGridLines : number;\n    readonly valueOfGapBetweenGridLines : number;\n    readonly numberOfGapsBelowZero : number;\n    readonly gridStartValue : number;\n}\n\nconst ensureBoundingBoxIsValid = (\n    boundingBox : IBoundingBox,\n) : void => {\n    if (boundingBox.heightInPixels <= 0) {\n        throw new RuntimeException('heightInPixels must be positive');\n    }\n\n    if (boundingBox.widthInPixels <= 0) {\n        throw new RuntimeException('widthInPixels must be positive');\n    }\n};\n\nconst ensureValueIsWithinRange = (\n    value : number,\n    range : IRange,\n) : void => {\n    if (value < range.minValue) {\n        throw new RuntimeException('value must not be less than minValue');\n    }\n\n    if (value > range.maxValue) {\n        throw new RuntimeException('value must not be greater than maxValue');\n    }\n};\n\n////////////////////////////////\n// SVG\n////////////////////////////////\nconst getParent = (\n    svgElement : SVGElement | HTMLElement,\n) : HTMLElement => {\n    const parentElement : HTMLElement = svgElement.parentElement || (svgElement.parentNode as HTMLElement);\n\n    if (!parentElement) {\n        throw new RuntimeException('no parentElement found');\n    }\n\n    return parentElement;\n};\n\nconst getTranslationTransformation = (\n    x : number,\n    y : number,\n) : string => {\n    return 'translate(' + x + ', ' + y + ')';\n};\n\n////////////////////////////////\n// DOM\n////////////////////////////////\nconst getRightScreenEdgeInPixels = () : number => {\n    return window.pageXOffset + window.innerWidth;\n};\n\nconst getBottomScreenEdgeInPixels = () : number => {\n    return window.pageYOffset + window.innerHeight;\n};\n\nconst screenHasDesktopWidth = () : boolean => {\n    return !(window.matchMedia('(max-width: ' + MIN_DESKTOP_WIDTH + 'px)').matches);\n};\n\nconst estimateTextWidth = (\n    text : string,\n) : number => {\n    const canvasContext = document.createElement('canvas').getContext('2d');\n\n    if (canvasContext === null) {\n        return 4 * text.length;\n    }\n\n    canvasContext.font = '16px Arial'; // TODO: what should go here?\n    return Math.round(canvasContext.measureText(text).width);\n};\n\nconst getOffsetParentOffset = (\n    element : HTMLElement,\n) => {\n    const offset = {\n        top: 0,\n        left: 0,\n    };\n\n    let parent : HTMLElement = element.offsetParent as HTMLElement;\n    while (parent !== null) {\n        offset.top += parent.offsetTop;\n        offset.left += parent.offsetLeft;\n\n        parent = parent.offsetParent as HTMLElement;\n    }\n\n    return offset;\n};\n\n////////////////////////////////\n// Chart\n////////////////////////////////\nconst calculateMaxValueForArrayOfValuesWithAdditionalData = (\n    valuesWithAdditionalData : ReadonlyArray<IValueWithAdditionalData>,\n) : number => {\n    return Math.max.apply(Number,\n        valuesWithAdditionalData.map(\n            (valueWithAdditionalData : IValueWithAdditionalData) => {\n                return valueWithAdditionalData.value;\n            }\n        )\n    );\n};\n\nconst calculateValueRangeForArrayOfValuesByCategoryNameWithAdditionalData = (\n    arrayOfValuesByCategoryNameWithAdditionalData : ReadonlyArray<IValuesByCategoryNameWithAdditionalData>,\n) : IRange => {\n    const minValue : number = calculateMinValueForArrayOfValuesByCategoryNameWithAdditionalData(arrayOfValuesByCategoryNameWithAdditionalData);\n    const maxValue : number = calculateMaxValueForArrayOfValuesByCategoryNameWithAdditionalData(arrayOfValuesByCategoryNameWithAdditionalData);\n\n    return {\n        minValue,\n        maxValue,\n    };\n};\n\nconst calculateGridLineData = (\n    valueRange : IRange,\n) : IGridLineData => {\n    const rangeValue : number = valueRange.maxValue - valueRange.minValue;\n    const possibleGapBetweenGridLines = rangeValue / idealNumberOfGridLines;\n\n    let possibleGapValues : ReadonlyArray<number>;\n    {\n        const powerOfTen : number = calculatePowerOfTen(possibleGapBetweenGridLines);\n\n        possibleGapValues = [1, 2, 5, 10].map((value : number) => {\n            return value * Math.pow(10, powerOfTen);\n        });\n    }\n\n    const possibleNumbersOfGridLines : ReadonlyArray<number> = possibleGapValues.map(\n        (value : number) => {\n            return Math.ceil(rangeValue / value);\n        }\n    );\n\n    // Find the gap size whose grid-line count is closest to the ideal.\n    let bestGapIndex : number = 0;\n    possibleNumbersOfGridLines.reduce(\n        (previousValue : number, currentValue : number, indexOfCurrentValue : number) => {\n            const differenceBetweenCurrentAndIdealValue = Math.abs(currentValue - idealNumberOfGridLines);\n            const differenceBetweenPreviousAndIdealValue = Math.abs(previousValue - idealNumberOfGridLines);\n\n            if (differenceBetweenCurrentAndIdealValue < differenceBetweenPreviousAndIdealValue) {\n                bestGapIndex = indexOfCurrentValue;\n                return currentValue;\n            }\n\n            return previousValue;\n        }\n    );\n\n    const valueOfGapBetweenGridLines : number = possibleGapValues[bestGapIndex];\n\n    // Start the grid at a \"nice\" number at or below the data minimum.\n    // Previously the grid always started at 0, which produced wrong axis\n    // labels when data had a high minimum (e.g. $18K–$27K showed $0–$10K).\n    const gridStartValue : number = Math.floor(valueRange.minValue / valueOfGapBetweenGridLines) * valueOfGapBetweenGridLines;\n\n    // Grid lines needed to cover from gridStartValue to the data max\n    const numberOfGridLines : number = Math.ceil((valueRange.maxValue - gridStartValue) / valueOfGapBetweenGridLines);\n\n    // How many gaps from gridStartValue to reach 0\n    // (used to render a thick line at the zero crossing)\n    let numberOfGapsBelowZero : number;\n    if (gridStartValue < 0) {\n        numberOfGapsBelowZero = Math.ceil(Math.abs(gridStartValue / valueOfGapBetweenGridLines));\n    } else {\n        numberOfGapsBelowZero = 0;\n    }\n\n    return {\n        numberOfGridLines,\n        valueOfGapBetweenGridLines,\n        numberOfGapsBelowZero,\n        gridStartValue,\n    };\n};\n\nconst calculateGridLines = (\n    gridLineData : IGridLineData,\n) : ReadonlyArray<IGridLine> => {\n    const {\n        numberOfGridLines,\n        numberOfGapsBelowZero,\n    } = gridLineData;\n\n    const gridLines : Array<IGridLine> = [];\n\n    for (let i = 0; i < numberOfGridLines; i++) {\n        let lineType : GridLineType;\n        if (i === numberOfGapsBelowZero - 1) {\n            lineType = GridLineType.THICK_LINE;\n        } else {\n            lineType = GridLineType.THIN_LINE;\n        }\n\n        gridLines.push({\n            fillColor: null,\n            lineType,\n        });\n    }\n\n    return gridLines;\n};\n\nconst calculateFillLinesForValuesWithAdditionalData = (\n    valuesWithAdditionalData : ReadonlyArray<IValueWithAdditionalData>,\n    gridFillColorCalculator : (data : string) => HexColor | null,\n) : ReadonlyArray<IGridLine> => {\n    const dataArray : ReadonlyArray<string> = valuesWithAdditionalData.map(\n        (valueWithAdditionalData : IValueWithAdditionalData) => {\n            return valueWithAdditionalData.data;\n        }\n    );\n\n    return calculateFillLines(dataArray, gridFillColorCalculator);\n};\n\nconst calculateFillLinesForValuesByCategoryNameWithAdditionalData = (\n    arrayOfValuesByCategoryNameWithAdditionalData : ReadonlyArray<IValuesByCategoryNameWithAdditionalData>,\n    gridFillColorCalculator : (data : string) => HexColor | null,\n) : ReadonlyArray<IGridLine> => {\n    // TODO test\n    const dataArray : ReadonlyArray<string> = arrayOfValuesByCategoryNameWithAdditionalData.map(\n        (valuesByCategoryNameWithAdditionalData : IValuesByCategoryNameWithAdditionalData) => {\n            return valuesByCategoryNameWithAdditionalData.data;\n        }\n    );\n\n    return calculateFillLines(dataArray, gridFillColorCalculator);\n};\n\nconst calculateValueRange = (gridLineData : IGridLineData, valueRange : IRange) : IRange => {\n    const {\n        numberOfGridLines,\n        valueOfGapBetweenGridLines,\n        numberOfGapsBelowZero,\n    } = gridLineData;\n\n    let minValue : number = gridLineData.gridStartValue !== undefined\n        ? gridLineData.gridStartValue\n        : -valueOfGapBetweenGridLines * numberOfGapsBelowZero;\n    let maxValue : number = minValue + (valueOfGapBetweenGridLines * (numberOfGridLines + .5));\n\n    // failsafe in case the range calculation isn't accounting for ranges offset into negatives\n    if (maxValue < valueRange.maxValue) {\n        const offset = Math.ceil(valueRange.maxValue - maxValue);\n        maxValue += offset;\n        minValue += offset;\n    }\n    if (minValue > valueRange.minValue) {\n        minValue -= Math.ceil(minValue - valueRange.minValue);\n    }\n\n    return {\n        minValue,\n        maxValue,\n    };\n};\n\nconst calculateMousePositionRelativeToChartOrigin = (\n    mousePosition : ICoordinate,\n    boundingRectangle : ClientRect,\n) : ICoordinate => {\n    return {\n        x: mousePosition.x - (boundingRectangle.left + window.pageXOffset),\n        y: mousePosition.y - (boundingRectangle.top + window.pageYOffset),\n    };\n};\n\nconst getTooltipPositionBasedOnMousePosition = (\n    mousePosition : number,\n    offset : number,\n    tooltipLength : number,\n    screenEdge : number,\n) : number => {\n    let tooltipPosition : number = mousePosition - offset;\n\n    let numberOfPixelsOffscreen : number;\n    {\n        const tooltipEdge : number = mousePosition + tooltipLength;\n        const adjustedScreenEdge : number = screenEdge - minTooltipDistanceFromScreenEdgeInPixels;\n\n        numberOfPixelsOffscreen = tooltipEdge - adjustedScreenEdge;\n    }\n\n    if (numberOfPixelsOffscreen > 0) {\n        tooltipPosition -= numberOfPixelsOffscreen;\n    }\n\n    return tooltipPosition;\n};\n\nconst getTooltipPositionOnEitherSideOfHoveredObject = (\n    defaultSideOfHoveredObjectPosition : number,\n    otherSideOfHoveredObjectPosition : number,\n    offset : number,\n    tooltipLength : number,\n    screenEdge : number,\n    scrollOffset : number,\n) : number => {\n    const adjustedDefaultSideOfHoveredObjectPosition : number = defaultSideOfHoveredObjectPosition + minTooltipDistanceFromScreenEdgeInPixels + scrollOffset;\n    const adjustedOtherSideOfHoveredObjectPosition : number = otherSideOfHoveredObjectPosition - (tooltipLength + minTooltipDistanceFromScreenEdgeInPixels) + scrollOffset;\n\n    let numberOfPixelsOffscreen : number;\n    {\n        const tooltipEdge : number = adjustedDefaultSideOfHoveredObjectPosition + tooltipLength;\n        const adjustedScreenEdge : number = screenEdge - minTooltipDistanceFromScreenEdgeInPixels;\n\n        numberOfPixelsOffscreen = tooltipEdge - adjustedScreenEdge;\n    }\n\n    if (numberOfPixelsOffscreen > 0) {\n        return adjustedOtherSideOfHoveredObjectPosition - offset;\n    }\n\n    return adjustedDefaultSideOfHoveredObjectPosition - offset;\n};\n\n////////////////////////////////\n// Private\n////////////////////////////////\nconst calculatePowerOfTen = (\n    value : number,\n) : number => {\n    return Math.floor(Math.log(value) * Math.LOG10E);\n};\n\nconst calculateFillLines = (\n    dataArray : ReadonlyArray<string>,\n    gridFillColorCalculator : (data : string) => HexColor | null,\n) : ReadonlyArray<IGridLine> => {\n    return dataArray.map(\n        (data : string) => {\n            const fillColor : HexColor | null = gridFillColorCalculator(data);\n\n            return {\n                fillColor,\n                lineType: null,\n            };\n        }\n    );\n};\n\nconst calculateMinValueForArrayOfValuesByCategoryNameWithAdditionalData = (\n    arrayOfValuesByCategoryNameWithAdditionalData : ReadonlyArray<IValuesByCategoryNameWithAdditionalData>,\n) : number => {\n    return Math.min.apply(Number,\n        arrayOfValuesByCategoryNameWithAdditionalData.map(\n            (valuesByCategoryNameWithAdditionalData : IValuesByCategoryNameWithAdditionalData) => {\n                const valuesByCategoryName = valuesByCategoryNameWithAdditionalData.valuesByCategoryName;\n\n                return Math.min.apply(Number,\n                    Object.keys(valuesByCategoryName).map(\n                        (categoryName : string) => {\n                            return valuesByCategoryName[categoryName];\n                        }\n                    )\n                    .filter((value) : value is number => value !== null)\n                );\n            }\n        )\n    );\n};\n\nconst calculateMaxValueForArrayOfValuesByCategoryNameWithAdditionalData = (\n    arrayOfValuesByCategoryNameWithAdditionalData : ReadonlyArray<IValuesByCategoryNameWithAdditionalData>,\n) : number => {\n    return Math.max.apply(Number,\n        arrayOfValuesByCategoryNameWithAdditionalData.map(\n            (valuesByCategoryNameWithAdditionalData : IValuesByCategoryNameWithAdditionalData) => {\n                const valuesByCategoryName = valuesByCategoryNameWithAdditionalData.valuesByCategoryName;\n\n                return Math.max.apply(Number,\n                    Object.keys(valuesByCategoryName).map(\n                        (categoryName : string) => {\n                            return valuesByCategoryName[categoryName];\n                        }\n                    )\n                    .filter((value) : value is number => value !== null)\n                );\n            }\n        )\n    );\n};\n\nexport const utils = {\n    ensureBoundingBoxIsValid,\n    ensureValueIsWithinRange,\n\n    // svg\n    getParent,\n    getTranslationTransformation,\n\n    // dom\n    getRightScreenEdgeInPixels,\n    getBottomScreenEdgeInPixels,\n    screenHasDesktopWidth,\n    estimateTextWidth,\n    getOffsetParentOffset,\n\n    // chart\n    calculateMaxValueForArrayOfValuesWithAdditionalData,\n    calculateValueRangeForArrayOfValuesByCategoryNameWithAdditionalData,\n    calculateGridLineData,\n    calculateGridLines,\n    calculateFillLinesForValuesWithAdditionalData,\n    calculateFillLinesForValuesByCategoryNameWithAdditionalData,\n    calculateValueRange,\n    calculateMousePositionRelativeToChartOrigin,\n    getTooltipPositionBasedOnMousePosition,\n    getTooltipPositionOnEitherSideOfHoveredObject,\n};\n","import React from 'react';\n\nimport { CheckBoxTriState } from '../models/CheckBoxTriState';\nimport { IInputLabel, LabelOrientation } from '../models/InputLabel';\n\nimport '../css/CheckBox.scss';\n\nexport interface ICheckBoxProps {\n    checkBoxTriState : CheckBoxTriState;\n    isDisabled : boolean;\n    label : IInputLabel | null;\n    onClick : (event : React.MouseEvent<HTMLElement>) => void;\n    isLoading? : boolean;\n}\n\nexport class CheckBox extends React.Component<ICheckBoxProps, object> {\n    private handleOnClick : (event : React.MouseEvent<HTMLElement>) => void;\n\n    constructor(props : ICheckBoxProps) {\n        super(props);\n\n        this.handleOnClick = this.handleOnClickGenerator();\n    }\n    public render() {\n        const {\n            checkBoxTriState,\n            isDisabled,\n            label,\n            isLoading,\n        } = this.props;\n\n        const disabledClass = isDisabled || isLoading ? 'disabled' : '';\n        let checkBoxClass : string;\n\n        let labelElement : JSX.Element | null = null;\n        if (label !== null) {\n            const labelOrientationClass = label.labelOrientation === LabelOrientation.LEFT ? 'left' : 'right';\n            labelElement = (\n                <p\n                    className={ `label ${ labelOrientationClass } ${ disabledClass }` }\n                    onClick={ this.handleOnClick }\n                >\n                    { label.value }\n                </p>\n            );\n        }\n\n        switch (checkBoxTriState) {\n            case CheckBoxTriState.Checked:\n                checkBoxClass = 'bevico-check-box';\n                break;\n            case CheckBoxTriState.Unchecked:\n                checkBoxClass = 'bevico-check-box-outline-blank';\n                break;\n            case CheckBoxTriState.Indeterminate:\n            default:\n                checkBoxClass = 'bevico-check-box-indeterminate-fill';\n                break;\n        }\n\n        return (\n            <span className=\"check-box\" tabIndex={ 0 } role=\"checkbox\">\n                { labelElement }\n                {isLoading ?\n                    <div className=\"loading-spinner-container\">\n                        <span className=\"bevicon bevico-spinner2 make-it-spin loading-spinner\"/>\n                    </div>\n                :\n                <span\n                    className={ `bevicon ${ checkBoxClass } ${ disabledClass }` }\n                    onClick={ this.handleOnClick }\n                />\n                }\n            </span>\n        );\n    }\n    private handleOnClickGenerator() {\n        return (event : React.MouseEvent<HTMLElement>) => {\n            if (!this.props.isDisabled) {\n                this.props.onClick(event);\n            }\n        };\n    }\n}\n","import './ChipButtonGroup.scss';\nimport { Button } from 'shared/components/Button';\n\ninterface IChipButtonGroupOption<T extends string> {\n    readonly value : T;\n    readonly label : string;\n    readonly count? : number;\n}\n\ninterface IChipButtonGroupProps<T extends string> {\n    readonly options : ReadonlyArray<IChipButtonGroupOption<T>>;\n    readonly selected : T;\n    readonly onSelect : (value: T) => void;\n    readonly label? : string;\n    readonly ariaLabel? : string;\n}\n\nexport function ChipButtonGroup<T extends string>({\n    options,\n    selected,\n    onSelect,\n    label,\n    ariaLabel,\n}: IChipButtonGroupProps<T>) {\n    return (\n        <div className='chip-button-group'>\n            {label && <span className='chip-button-group-label'>{label}</span>}\n            <div className='chip-button-group-chips' role='group' aria-label={ariaLabel}>\n                {options.map((option) => {\n                    const text = option.count !== undefined ? `${option.label} (${option.count})` : option.label;\n                    return (\n                        <Button\n                            key={ option.label }\n                            buttonClassName={ `chip-button-group-chip${selected === option.value ? ' active' : ''}` }\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ () => onSelect(option.value) }\n                        >\n                            { text }\n                        </Button>\n                    );\n                })}\n            </div>\n        </div>\n    );\n}\n","import React from 'react';\n\nimport 'shared/css/CollapseAllButton.scss';\n\nexport interface ICollapseAllButtonProps {\n    nextClickWillCollapseAll : boolean;\n    onClick : () => void;\n    collapseLabel? : string;\n    expandLabel? : string;\n}\n\nexport class CollapseAllButton extends React.PureComponent<ICollapseAllButtonProps, object> {\n    public render() {\n        const {\n            nextClickWillCollapseAll,\n            onClick,\n        } = this.props;\n\n        const collapseLabel = this.props.collapseLabel || 'Collapse All';\n        const expandLabel = this.props.expandLabel || 'Expand All';\n\n        return (\n            <div className=\"btn flat collapse-all-button medium capitalize with-icon\" onClick={ onClick } >\n                <span className=\"button-text-container\">\n                    <span>{ nextClickWillCollapseAll ? collapseLabel : expandLabel }</span>\n                    <span className={ `main-icon-right bevicon bevico-unfold-${ nextClickWillCollapseAll ? 'less' : 'more' }` } />\n                </span>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport 'shared/css/CollapseContainer.scss';\n\n// TODO: This should be named CollapsiblePanel and replace current CollapsiblePanel at some point.\nexport interface ICollapseContainer {\n    handleClick : () => void;\n    collapseIsOpen : boolean;\n    headerIconClass : string | null;\n    /** A node rather than a string, so a header can carry counts, pills or change markers. */\n    headerText : string | JSX.Element;\n    className : string;\n    children : React.ReactNode;\n}\nexport class CollapseContainer extends React.Component<ICollapseContainer, object> {\n    public render() {\n        const {\n            handleClick,\n            collapseIsOpen,\n            headerIconClass,\n            headerText,\n            className,\n        } = this.props;\n\n        return (\n            <div className={ className + ' collapse-container ' + (collapseIsOpen ? '' : ' content-hidden') }>\n                <div className=\"collapse-container-header\" onClick={ handleClick }>\n                    { headerIconClass &&\n                        <span className={ 'bevicon ' + headerIconClass }/>\n                    }\n                    { headerText }\n                    <span className={ collapseIsOpen ? 'panel-toggle-symbol' : 'panel-toggle-symbol collapsed' } />\n                </div>\n                <div className=\"content\">\n                    { this.props.children }\n                </div>\n            </div>\n        );\n    }\n}\n","import React, { useEffect, useLayoutEffect, useRef, useState } from 'react';\nimport { createPortal } from 'react-dom';\n\nimport { Button } from './Button';\nimport { IAnchorMeasurement, useAnchorMeasurement } from 'shared/hooks/useAnchorMeasurement';\n\nimport 'shared/css/ContextMenu.scss';\n\nexport interface IContextMenuItem {\n    label : string;\n    iconClass : string | null;\n    iconIsAfterLabel? : boolean;\n    handler : () => void;\n    isDisabled : boolean;\n}\n\nexport interface IContextMenuProps {\n    items : Array<IContextMenuItem>;\n    menuIsShown : boolean;\n    menuButtonIconClass? : string;\n    menuButtonChildren? : Array<JSX.Element>;\n    setMenuIsShown : (isShown : boolean) => void;\n    className? : string;\n    useFixedPositioning? : boolean;\n}\n\nexport interface IPortaledListPosition {\n    readonly top : number | null;\n    readonly bottom : number | null;\n    readonly right : number;\n    readonly maxHeight : number | null;\n}\n\n/** Opens downward unless the list would run past the bottom of the viewport and there is more room above. */\nexport function computePortaledListPosition(anchorMeasurement : IAnchorMeasurement, listHeight : number) : IPortaledListPosition {\n    const right = anchorMeasurement.viewportWidth - anchorMeasurement.right;\n    const roomAbove = anchorMeasurement.top;\n    const roomBelow = anchorMeasurement.viewportHeight - anchorMeasurement.bottom;\n    if (listHeight > roomBelow && roomAbove > roomBelow) {\n        return {\n            top: null,\n            bottom: anchorMeasurement.viewportHeight - roomAbove,\n            right,\n            maxHeight: listHeight > roomAbove ? roomAbove : null,\n        };\n    }\n    return { top: anchorMeasurement.bottom, bottom: null, right, maxHeight: listHeight > roomBelow ? roomBelow : null };\n}\n\nexport function ContextMenu(props : IContextMenuProps) {\n    const {\n        items,\n        menuIsShown,\n        menuButtonIconClass,\n        menuButtonChildren,\n        setMenuIsShown,\n        className,\n        useFixedPositioning,\n    } = props;\n\n    const contextMenuDivRef = useRef<HTMLDivElement | null>(null);\n    const portaledListRef = useRef<HTMLUListElement | null>(null);\n    const [portaledListHeight, setPortaledListHeight] = useState<number | null>(null);\n    const portalIsShown = !!useFixedPositioning && menuIsShown;\n    const anchorMeasurement = useAnchorMeasurement(contextMenuDivRef, portalIsShown, () => setMenuIsShown(false));\n\n    useEffect(() => {\n        const handleOnOutsideComponentClick = (event : MouseEvent) => {\n            const clickTarget = event.target as Node;\n            const clickIsInsideMenu = [contextMenuDivRef.current, portaledListRef.current].some((menuElement) => menuElement?.contains(clickTarget));\n            if (menuIsShown && !clickIsInsideMenu) {\n                setMenuIsShown(false);\n                event.stopPropagation();\n            }\n        };\n\n        window.addEventListener('click', handleOnOutsideComponentClick);\n        return () => window.removeEventListener('click', handleOnOutsideComponentClick);\n    }, [menuIsShown, setMenuIsShown]);\n\n    useLayoutEffect(() => {\n        setPortaledListHeight(portalIsShown ? portaledListRef.current?.offsetHeight ?? 0 : null);\n    }, [portalIsShown, items]);\n\n    const menuRows = items.map((item, index) => (\n        <li\n            key={ `${ index }-${ item.label }` }\n            className={ `list-item ${ item.isDisabled ? 'disabled' : '' }` }\n        >\n            <a\n                onClick={ item.isDisabled ? undefined : item.handler }\n            >\n                { !item.iconIsAfterLabel &&\n                    <span className={ 'context-menu-row-icon ' + (item.iconClass === null ? '' : item.iconClass) }/>\n                }\n                <span className=\"context-menu-row-label\">\n                    { item.label }\n                </span>\n                { item.iconIsAfterLabel &&\n                    <span className={ 'context-menu-row-icon ' + (item.iconClass === null ? '' : item.iconClass) }/>\n                }\n            </a>\n        </li>\n    ));\n\n    let portaledList : React.ReactNode = null;\n    if (portalIsShown) {\n        const portaledListPosition = anchorMeasurement === null || portaledListHeight === null\n            ? null\n            : computePortaledListPosition(anchorMeasurement, portaledListHeight);\n        const listStyle : React.CSSProperties = portaledListPosition === null\n            ? { position: 'fixed', visibility: 'hidden' }\n            : {\n                position: 'fixed',\n                top: portaledListPosition.top ?? undefined,\n                bottom: portaledListPosition.bottom ?? undefined,\n                right: portaledListPosition.right,\n                maxHeight: portaledListPosition.maxHeight ?? undefined,\n            };\n        portaledList = createPortal(\n            <div className={ `context-menu context-menu-portal ${ className ?? '' } ${ anchorMeasurement?.isInDialog ? 'portaled-in-dialog' : '' }` }>\n                <ul\n                    className=\"list\"\n                    ref={ portaledListRef }\n                    style={ listStyle }\n                >\n                    { menuRows }\n                </ul>\n            </div>,\n            document.body,\n        );\n    }\n\n    return (\n        <div className={ `context-menu ${ className ?? '' } ${ menuIsShown ? 'active' : '' }` } ref={ contextMenuDivRef }>\n            <Button\n                buttonClassName={ `${ menuButtonIconClass ? menuButtonIconClass : 'icon no-pad flat menu-trigger bevicon bevico-more-vert' }` }\n                isDisabled={ false }\n                isLoading={ false }\n                onClick={ () => setMenuIsShown(!menuIsShown) }\n            >\n                { menuButtonChildren }\n            </Button>\n            { !useFixedPositioning && menuIsShown &&\n                <ul className=\"list\">\n                    { menuRows }\n                </ul>\n            }\n            { portaledList }\n        </div>\n    );\n}\n","import React from 'react';\n\nimport { Button } from 'shared/components/Button';\nimport { Observer } from 'shared/utils/observer';\n\nimport './DataHistoryLimitReached.scss';\n\nexport interface IDataHistoryLimitReachedProps {\n    readonly className : string;\n    // consider being able to pass in custom message?\n}\n\nexport class DataHistoryLimitReached extends React.Component<IDataHistoryLimitReachedProps, object> {\n    public render() {\n        const {\n            className,\n        } = this.props;\n\n        return (\n            <div className={ `data-history-limit-reached ${ className }` }>\n                <div className=\"data-history-limit-reached-content\">\n                    <div className=\"bevicon bevico-lock\"/>\n                    <div className=\"text-body\">\n                        <p>\n                            <strong>There's more to see. <span>Upgrade to unlock your full history and get the full story.</span></strong>\n                        </p>\n                        <Button\n                            buttonClassName=\"\"\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ this.onGoToPlansAndBilling }\n                        >\n                            Learn More\n                        </Button>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    private readonly onGoToPlansAndBilling = () =>  {\n        void Observer.observeAction('data_history_limit_learn_more_clicked', {});\n\n        const linkToPlansAndBilling = '/account/billing/r/' + window.GLOBAL_RETAILER_ID;\n        window.open(linkToPlansAndBilling, '_self');\n    }\n}\n","import moment from 'moment-timezone';\nimport React from 'react';\n\nimport { BevSpotDateTimePickerType } from 'shared/components/BevSpotDateTimePicker/BevSpotDateTimePicker';\nimport { Button } from 'shared/components/Button';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { OutsideEventListenerContainer } from 'shared/components/OutsideEventListenerContainer';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { timezoneFromWindow } from 'shared/models/DateTime';\nimport { getDateTimeFromMoment } from 'shared/utils/dateTimeUtils';\nimport {\n    getEndOfDayForRetailerInUTC,\n    getStartDateFromDateRangeOptionForRetailerInUTC,\n    getStartOfDayForRetailerInUTC\n} from './DateRangeDropdownUtils';\nimport { ConnectedDateRangePicker } from './DateRangePicker';\n\nimport './DateRangeDropdown.scss';\n\nexport enum DateRangeDropdownOption {\n    LAST_7_DAYS = 'LAST_7_DAYS',\n    LAST_4_WEEKS = 'LAST_4_WEEKS',\n    LAST_8_WEEKS = 'LAST_8_WEEKS',\n    LAST_MONTH = 'LAST_MONTH',\n    LAST_3_MONTHS = 'LAST_3_MONTHS',\n    LAST_6_MONTHS = 'LAST_6_MONTHS',\n    LAST_YEAR = 'LAST_YEAR',\n    CUSTOM = 'CUSTOM',\n}\n\nexport type ReportDefaultDateRangeOption = Extract<DateRangeDropdownOption, DateRangeDropdownOption.LAST_7_DAYS | DateRangeDropdownOption.LAST_4_WEEKS | DateRangeDropdownOption.LAST_8_WEEKS | DateRangeDropdownOption.CUSTOM>;\n\nexport const DefaultDateRangeOptionsForReports : Array<ReportDefaultDateRangeOption> = [\n    DateRangeDropdownOption.LAST_7_DAYS,\n    DateRangeDropdownOption.LAST_4_WEEKS,\n    DateRangeDropdownOption.LAST_8_WEEKS,\n    DateRangeDropdownOption.CUSTOM,\n];\n\nconst defaultDropdownOptionsByValue : { [key in DateRangeDropdownOption] : IOption } = {\n    LAST_7_DAYS: {\n        icon : null,\n        label : 'Last 7 days',\n        value : DateRangeDropdownOption.LAST_7_DAYS,\n    },\n    LAST_4_WEEKS: {\n        icon : null,\n        label : 'Last 4 weeks',\n        value : DateRangeDropdownOption.LAST_4_WEEKS,\n    },\n    LAST_8_WEEKS: {\n        icon : null,\n        label : 'Last 8 weeks',\n        value : DateRangeDropdownOption.LAST_8_WEEKS,\n    },\n    LAST_MONTH: {\n        icon : null,\n        label : 'Last Month',\n        value : DateRangeDropdownOption.LAST_MONTH,\n    },\n    LAST_3_MONTHS: {\n        icon : null,\n        label : 'Last 3 Months',\n        value : DateRangeDropdownOption.LAST_3_MONTHS,\n    },\n    LAST_6_MONTHS: {\n        icon : null,\n        label : 'Last 6 Months',\n        value : DateRangeDropdownOption.LAST_6_MONTHS,\n    },\n    LAST_YEAR: {\n        icon : null,\n        label : 'Last Year',\n        value : DateRangeDropdownOption.LAST_YEAR,\n    },\n    CUSTOM: {\n        icon : 'bevico-arrow-forward',\n        label : 'Choose Dates',\n        value : DateRangeDropdownOption.CUSTOM,\n    }\n};\n\nconst CURRENT_CUSTOM_OPTION = 'CURRENT_CUSTOM_OPTION';\n\nexport interface IDateRangeDropdownProps<T extends DateRangeDropdownOption = DateRangeDropdownOption> {\n    options : Array<T>;   // can be a sub-set of all possible options\n    setDropdownOptionsShown : (isShown : boolean) => void;\n    setSelectedOption : (groupByOption : T, startDate : moment.Moment, endDate : moment.Moment) => void;\n    dropdownOptionsShown : boolean;\n    selectedOptionValue : T;\n    onSetDateRangePickerShown : (isShown : boolean) => void;\n    dateRangeUpperBoundForNonCustomOption : moment.Moment;\n\n    // date range picker\n    dateRangePickerIsOpen : boolean;\n    shouldShowTime : boolean;\n    initialStartDate : moment.Moment;\n    startDatePickerId : string;\n    initialEndDate : moment.Moment;\n    endDatePickerId : string;\n    dropdownStyle : string;\n}\n\nexport class DateRangeDropdown<T extends DateRangeDropdownOption = DateRangeDropdownOption> extends React.Component<IDateRangeDropdownProps<T>, object> {\n    private readonly timezone = timezoneFromWindow();\n\n    public render() {\n        const {\n            options,\n            selectedOptionValue,\n            dateRangePickerIsOpen,\n            startDatePickerId,\n            endDatePickerId,\n            initialStartDate,\n            initialEndDate,\n            shouldShowTime,\n            dropdownStyle\n        } = this.props;\n\n        const dropdownOptions : Array<IOption> = [];\n        let selectedOption : IOption | undefined;\n        options.forEach((optionValue) => {\n            let optionToAdd : IOption;\n            if (optionValue === DateRangeDropdownOption.CUSTOM && selectedOptionValue === DateRangeDropdownOption.CUSTOM) {\n                const currentOptionLabel = `${ initialStartDate.tz(window.GLOBAL_RETAILER_TIME_ZONE).format('MM/DD/YYYY') }-${ initialEndDate.tz(window.GLOBAL_RETAILER_TIME_ZONE).format('MM/DD/YYYY') }`;\n                const extraOptionForCurrentRange = {\n                    icon : null,\n                    label : currentOptionLabel,\n                    value : CURRENT_CUSTOM_OPTION,\n                };\n                dropdownOptions.push(extraOptionForCurrentRange);\n                selectedOption = extraOptionForCurrentRange;\n                dropdownOptions.push(defaultDropdownOptionsByValue[DateRangeDropdownOption.CUSTOM]);\n            } else {\n                optionToAdd = defaultDropdownOptionsByValue[optionValue];\n                if (optionValue === selectedOptionValue) {\n                    selectedOption = optionToAdd;\n                }\n                dropdownOptions.push(optionToAdd);\n            }\n        });\n        if (typeof selectedOption === 'undefined') {\n            throw new RuntimeException('unexpected dropdown option: ' + selectedOptionValue);\n        }\n\n        const sortedOptionsAndLabelName : OptionsAndLabelNameTuples = [[null, dropdownOptions]];\n\n        const dateRangePickerHeader = (\n            <div className=\"date-range-picker-header\">\n                <Button\n                    onClick={ this.handleOnExitDateRangeSelector }\n                    buttonClassName=\"flat with-icon\"\n                    isDisabled={ false }\n                    isLoading={ false }\n                >\n                    <span className=\"main-icon-left bevicon bevico-arrow-back\"/>\n                    <span>Close date range</span>\n                </Button>\n            </div>\n        );\n\n        return (\n            <div className={ `${ dropdownStyle } date-range-dropdown` }>\n                <Select2DropdownMenu\n                    onOptionSelect={ this.onOptionClick }\n                    selectedOption={ selectedOption }\n                    isSearchable={ false }\n                    selectedOptionHeaderShown={ false }\n                    sortedOptionsAndLabelName={ sortedOptionsAndLabelName }\n                    placeholderText={ null }\n                    emptyState={ null }\n                    buttonShouldDisplaySelectedLabel={ true }\n                    hasCreateCustomOption={ false }\n                    createCustomOption={ this.doNothingFunction }\n                    customOptionGroupLabel={ null }\n                    createCustomOptionButtonLabel={ null }\n                />\n                { dateRangePickerIsOpen &&\n                    <OutsideEventListenerContainer\n                        onOutsideClick={ this.handleOnExitDateRangeSelector }\n                    >\n                        <ConnectedDateRangePicker\n                            startDatePickerProps={ {\n                                buttons: [],\n                                initialDateTime: getDateTimeFromMoment(initialStartDate, this.timezone),\n                                setDateTime: this.doNothingFunction,\n                                type: BevSpotDateTimePickerType.EMBEDDED,\n                                uniqueId: startDatePickerId,\n                                shouldShowTime,\n                            } }\n                            endDatePickerProps={ {\n                                buttons: [],\n                                initialDateTime: getDateTimeFromMoment(initialEndDate, this.timezone),\n                                setDateTime: this.doNothingFunction,\n                                type: BevSpotDateTimePickerType.EMBEDDED,\n                                uniqueId: endDatePickerId,\n                                shouldShowTime,\n                            } }\n                            onConfirmDateRange={ this.handleOnConfirmDateRange }\n                            onExitDateRangeSelector={ this.handleOnExitDateRangeSelector }\n                            headerElement={ dateRangePickerHeader }\n                            bodyElement={ null }\n                            confirmButtonText=\"Confirm\"\n                        />\n                    </OutsideEventListenerContainer>\n                }\n            </div>\n        );\n    }\n\n    private readonly doNothingFunction = () => undefined;\n\n    private readonly onOptionClick = (optionValue : string) => {\n        const {\n            setDropdownOptionsShown,\n            setSelectedOption,\n            onSetDateRangePickerShown,\n            dateRangeUpperBoundForNonCustomOption,\n        } = this.props;\n        if (optionValue === CURRENT_CUSTOM_OPTION) {\n            return; // this is not a valid option (so don't want to select it) but we want it on a different line from \"choose dates\"\n        }\n\n        const selectedGroupByOption = optionValue as T;\n\n        if (selectedGroupByOption === DateRangeDropdownOption.CUSTOM) {\n            onSetDateRangePickerShown(true);\n        } else {\n            const startDate = getStartDateFromDateRangeOptionForRetailerInUTC(selectedGroupByOption, moment.utc(), window.GLOBAL_RETAILER_TIME_ZONE);\n            setSelectedOption(selectedGroupByOption, startDate, dateRangeUpperBoundForNonCustomOption);\n        }\n\n        setDropdownOptionsShown(false);\n    }\n\n    private readonly handleOnConfirmDateRange = (startDate : moment.Moment, endDate : moment.Moment) => {\n        const {\n            shouldShowTime,\n            onSetDateRangePickerShown,\n            setSelectedOption,\n        } = this.props;\n        onSetDateRangePickerShown(false);\n        if (shouldShowTime) {\n            setSelectedOption(DateRangeDropdownOption.CUSTOM as T, startDate, endDate);\n        } else {\n            setSelectedOption(DateRangeDropdownOption.CUSTOM as T, getStartOfDayForRetailerInUTC(startDate, window.GLOBAL_RETAILER_TIME_ZONE), getEndOfDayForRetailerInUTC(endDate, window.GLOBAL_RETAILER_TIME_ZONE)\n            );\n        }\n    }\n\n    private readonly handleOnExitDateRangeSelector = () => {\n        this.props.setDropdownOptionsShown(true);\n        this.props.onSetDateRangePickerShown(false);\n    }\n}\n","import { unitOfTime } from 'moment';\nimport moment from 'moment-timezone';\n\nimport { DateRangeDropdownOption } from './DateRangeDropdown';\n\n/*\nGet correct start time in retailer time zone, translated to UTC\n */\nexport const getStartDateFromDateRangeOptionForRetailerInUTC = (dateRangeDropdownOption : DateRangeDropdownOption, now : moment.Moment, retailerTimezone : string) => {\n    let subtractAmount : number;\n    let subtractUnit : unitOfTime.DurationConstructor;\n    switch (dateRangeDropdownOption) {\n        case DateRangeDropdownOption.LAST_7_DAYS:\n            subtractAmount = 7;\n            subtractUnit = 'days';\n            break;\n        case DateRangeDropdownOption.LAST_4_WEEKS:\n            // must perform subtraction in retailer timezone to correctly deal with day light saving, etc.\n            subtractAmount = 4;\n            subtractUnit = 'weeks';\n            break;\n        case DateRangeDropdownOption.LAST_8_WEEKS:\n            subtractAmount = 8;\n            subtractUnit = 'weeks';\n            break;\n        case DateRangeDropdownOption.LAST_6_MONTHS:\n            subtractAmount = 6;\n            subtractUnit = 'months';\n            break;\n        case DateRangeDropdownOption.LAST_3_MONTHS:\n            subtractAmount = 3;\n            subtractUnit = 'months';\n            break;\n        case DateRangeDropdownOption.LAST_MONTH:\n            subtractAmount = 1;\n            subtractUnit = 'month';\n            break;\n        case DateRangeDropdownOption.LAST_YEAR:\n            subtractAmount = 1;\n            subtractUnit = 'year';\n            break;\n        case DateRangeDropdownOption.CUSTOM:\n        default:\n            throw new Error('unhandled date range option: ' + dateRangeDropdownOption);\n    }\n    return now.clone().tz(retailerTimezone).startOf('day').subtract(subtractAmount, subtractUnit).utc();\n};\n\nexport const getStartOfDayForRetailerInUTC = (date : moment.Moment, retailerTimezone : string) : moment.Moment => {\n    return date.clone().tz(retailerTimezone).startOf('day').utc();\n};\n\nexport const getEndOfDayForRetailerInUTC = (date : moment.Moment, retailerTimezone : string) : moment.Moment => {\n    return date.clone().tz(retailerTimezone).endOf('day').utc();\n};\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { AnyAction, Dispatch } from '@reduxjs/toolkit';\n\nimport moment from 'moment-timezone';\n\nimport { DateTimePickerActions } from 'shared/components/BevSpotDateTimePicker/actions';\nimport { ConnectedBevSpotDateTimePicker, IConnectedBevSpotDateTimePicker } from 'shared/components/BevSpotDateTimePicker/BevSpotDateTimePicker';\nimport { IDateTimePickerStateById } from 'shared/components/BevSpotDateTimePicker/reducers';\nimport { Button } from 'shared/components/Button';\n\nimport './DateRangePicker.scss';\n\nexport interface IConnectedDateRangePickerProps {\n    headerElement : JSX.Element | null;\n    bodyElement : JSX.Element | null;\n    onExitDateRangeSelector : () => void;\n    onConfirmDateRange : (startDate : moment.Moment, endDate : moment.Moment) => void;\n    startDatePickerProps : IConnectedBevSpotDateTimePicker;\n    endDatePickerProps : IConnectedBevSpotDateTimePicker;\n    confirmButtonText : string;\n}\n\ninterface IDateRangePickerProps extends IConnectedDateRangePickerProps {\n    // TODO don't use AnyAction\n    dispatch : Dispatch<AnyAction>;\n    dateTimePickerStateById : IDateTimePickerStateById;\n}\n\nexport class DateRangePicker extends React.Component<IDateRangePickerProps, object> {\n    public render() {\n        const {\n            headerElement,\n            bodyElement,\n            startDatePickerProps,\n            endDatePickerProps,\n            confirmButtonText,\n        } = this.props;\n\n        const invalidRangeElement = this.getInvalidRangeElement();\n\n        return (\n            <div className=\"date-range-picker mobile-date-range-overlay\">\n                <div className=\"date-range-picker-inner-container\">\n                    { headerElement &&\n                        <div className=\"date-range-picker-header-container\">\n                            { headerElement }\n                        </div>\n                    }\n                    <div className=\"date-range-picker-content-container\">\n                        <div className=\"date-range-picker-body\">{ bodyElement }</div>\n                        <div className=\"date-range-picker-embedded-component-container\">\n                            <div className=\"date-range-picker-embedded-component\">\n                                <div className=\"date-range-picker-label\">Start Date</div>\n                                <ConnectedBevSpotDateTimePicker\n                                    initialDateTime={ startDatePickerProps.initialDateTime }\n                                    setDateTime={ startDatePickerProps.setDateTime }\n                                    shouldShowTime={ startDatePickerProps.shouldShowTime }\n                                    buttons={ startDatePickerProps.buttons }\n                                    type={ startDatePickerProps.type }\n                                    uniqueId={ startDatePickerProps.uniqueId }\n                                />\n                            </div>\n                            <div className=\"date-range-picker-arrow\">\n                                <span className=\"bevicon bevico-arrow-forward\"/>\n                            </div>\n                            <div className=\"date-range-picker-embedded-component\">\n                                <div className=\"date-range-picker-label\">End Date</div>\n                                <ConnectedBevSpotDateTimePicker\n                                    initialDateTime={ endDatePickerProps.initialDateTime }\n                                    setDateTime={ endDatePickerProps.setDateTime }\n                                    shouldShowTime={ endDatePickerProps.shouldShowTime }\n                                    buttons={ endDatePickerProps.buttons }\n                                    type={ endDatePickerProps.type }\n                                    uniqueId={ endDatePickerProps.uniqueId }\n                                />\n                            </div>\n                        </div>\n                        { invalidRangeElement }\n                    </div>\n                    <div className=\"date-range-picker-footer\">\n                        <Button\n                            buttonClassName=\"flat\"\n                            isDisabled={ false }\n                            isLoading={ false }\n                            onClick={ this.onExitClick }\n                        >\n                            <span>Cancel</span>\n                        </Button>\n                        <Button\n                            buttonClassName=\"primary\"\n                            isDisabled={ (invalidRangeElement !== null) }\n                            isLoading={ false }\n                            onClick={ this.onConfirmDateRangeClick }\n                        >\n                            <span>{ confirmButtonText }</span>\n                        </Button>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    private getInvalidRangeElement = () : JSX.Element | null => {\n        const {\n            startDatePickerProps,\n            endDatePickerProps,\n            dateTimePickerStateById,\n        } = this.props;\n        if (typeof dateTimePickerStateById[startDatePickerProps.uniqueId] !== 'undefined' && typeof dateTimePickerStateById[endDatePickerProps.uniqueId] !== 'undefined') { // on initial load may not be set yet\n            const selectedStart = dateTimePickerStateById[startDatePickerProps.uniqueId].selectedDateTime.toMoment();\n            const selectedEnd =  dateTimePickerStateById[endDatePickerProps.uniqueId].selectedDateTime.toMoment();\n\n            if (selectedEnd.diff(selectedStart) < 0) {\n                return (\n                    <div className=\"error-text\">\n                        Start date must be before end date\n                    </div>\n                );\n            }\n        }\n\n        return null;\n    }\n\n    private readonly onConfirmDateRangeClick = () => {\n        const {\n            startDatePickerProps,\n            endDatePickerProps,\n            dateTimePickerStateById,\n            onConfirmDateRange,\n        } = this.props;\n\n        const selectedStart = dateTimePickerStateById[startDatePickerProps.uniqueId].selectedDateTime.toMoment();\n        const selectedEnd =  dateTimePickerStateById[endDatePickerProps.uniqueId].selectedDateTime.toMoment();\n\n        onConfirmDateRange(selectedStart, selectedEnd);\n    }\n\n    // reset dates on exit\n    private readonly onExitClick = () => {\n        const {\n            startDatePickerProps,\n            endDatePickerProps,\n            onExitDateRangeSelector,\n            dispatch\n        } = this.props;\n        dispatch(DateTimePickerActions.setSelectedDateTime(startDatePickerProps.uniqueId, startDatePickerProps.initialDateTime));\n        dispatch(DateTimePickerActions.setSelectedDateTime(endDatePickerProps.uniqueId, endDatePickerProps.initialDateTime));\n        onExitDateRangeSelector();\n    }\n}\n\ninterface IStateProps {\n    dateTimePickerStateById : IDateTimePickerStateById;\n}\n\nconst mapStateToProps = (state : IStateProps) : IStateProps => {\n    return {\n        dateTimePickerStateById : state.dateTimePickerStateById\n    };\n};\n\nexport const ConnectedDateRangePicker = connect<IStateProps, object, IConnectedDateRangePickerProps, IStateProps>(mapStateToProps)(DateRangePicker);\n","import React from 'react';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nimport { Dialog } from 'shared/components/Dialog';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IDeleteProductsConfirmationDialogProps {\n    readonly productIds : StringValueSet<ProductId>;\n    readonly productsById : StringValueMap<ProductId, Product>;\n    readonly productIdentificationString? : string; // for situations that do not have products by id\n    readonly deleteActionInformationText : string | null;\n    readonly onDeleteItemsClick : () => void;\n    readonly onCancelClick : () => void;\n}\n\nexport class DeleteProductsConfirmationDialog extends React.Component<IDeleteProductsConfirmationDialogProps, object> {\n    public render() {\n        const {\n            productIds,\n            productsById,\n            onDeleteItemsClick,\n            onCancelClick,\n            deleteActionInformationText,\n            productIdentificationString\n        } = this.props;\n\n        let identificationString : string;\n\n        if (productIdentificationString) {\n            identificationString = productIdentificationString;\n        } else if (productIds.size === 1) {\n            const productId = Array.from(productIds.values())[0];\n            const product = productsById.get(productId);\n            if (typeof product === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            identificationString = `${ product.getBrand() } ${ product.getName() }`.trim();\n        } else {\n            identificationString = `${ productIds.size } items`;\n        }\n\n        return (\n            <Dialog\n                className=\"delete-items-confirmation-dialog\"\n                buttons={ [\n                    {\n                        onClick: onCancelClick,\n                        classes: 'flat',\n                        isDisabled: false,\n                        isLoading: false,\n                        children: 'Cancel',\n                    },\n                    {\n                        onClick: onDeleteItemsClick,\n                        classes: 'flat danger',\n                        isDisabled: false,\n                        isLoading: false,\n                        children: `Delete Item${ (productIds.size > 1) ? 's' : ''}`,\n                    },\n                ] }\n                headerText={ `Delete Item${ (productIds.size > 1) ? 's' : ''}` } // TODO Copy\n            >\n                <p>\n                    { `Are you sure you want to delete \"${ identificationString }?\"` }\n                </p>\n                <p className=\"danger dark\">\n                    <strong>{ `${ deleteActionInformationText ? deleteActionInformationText : 'Deleted items will be removed across your account.' }` }</strong><br/>\n                    Historical counts and orders will not be affected. You can restore accidentally deleted items\n                    from the Deleted Items page.\n                </p>\n            </Dialog>\n        );\n    }\n}\n","import React from 'react';\n\nimport { IModalButton } from '../models/Modal';\n\nimport { PreventPageScrolling } from 'shared/components/PreventPageScrolling';\nimport { Button } from './Button';\n\nimport 'shared/css/Dialog.scss';\n\nexport interface IDialogProps {\n    className : string;\n    buttons : Array<IModalButton> | null;\n    headerText : JSX.Element | string | null;\n    children? : React.ReactNode;\n}\n\nexport class Dialog extends React.Component<IDialogProps, object> {\n    public render() {\n        const {\n            className,\n            buttons,\n            headerText,\n        } = this.props;\n\n        const buttonElements = buttons !== null ? buttons.map((button, index) => (\n            <Button\n                key={ index }\n                buttonClassName={ button.classes }\n                isDisabled={ button.isDisabled }\n                isLoading={ button.isLoading }\n                onClick={ button.onClick }\n            >\n                { button.children }\n            </Button>\n        )) : null;\n\n        return (\n            <div className={ `bevspot-dialog ${ className }` }>\n                <PreventPageScrolling\n                    preventWindowTouchMove={ true }\n                    addModalOpenClass={ true }\n                />\n                <div className=\"content\">\n                    <div className={ `header cell-pt-xl cell-plr` }>\n                        <h5 className=\"title\">{ headerText }</h5>\n                    </div>\n                    <div className={ `body cell-ptb-sm cell-plr` }>\n                        { this.props.children }\n                    </div>\n                    <div className={ `footer cell-ptb cell-plr clearfix text-right` }>\n                        { buttonElements }\n                    </div>\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport 'shared/components/Dropdown/DropdownMenu.scss';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport type OptionValue = string;\nexport interface IOption {\n    icon : string | null;\n    label : string;\n    value : OptionValue;\n    disabled? : boolean;\n    categoryInfo? : string;\n}\n\ntype DropdownMenuStyleTypes = 'outline' | 'floating' | 'underline' | 'drink-price-tool';\n\nexport interface IDropdownMenuProps {\n    styleType : DropdownMenuStyleTypes;\n    options : Array<IOption>;\n\n    dropdownOptionsShown : boolean;\n    selectedOptionValue : OptionValue | null;\n    placeholderText : string | null;\n\n    onOptionClick : (option : IOption) => void;\n    onClick : () => void;\n    onBlur : () => void;\n}\n\nexport interface IDropdownMenuState {\n    isHovered : boolean;\n}\n\nexport class DropdownMenu extends React.Component<IDropdownMenuProps, IDropdownMenuState> {\n    private dropdownMenuComponentDiv : unknown | null;\n\n    public constructor(props : IDropdownMenuProps) {\n        super(props);\n        this.state = {\n            isHovered : false\n        };\n    }\n\n    public render() {\n        const {\n            styleType,\n            onClick,\n            onOptionClick,\n            options,\n            dropdownOptionsShown,\n            selectedOptionValue,\n            onBlur,\n        } = this.props;\n\n        const placeholderText = this.props.placeholderText ? this.props.placeholderText : 'Select an option';\n\n        const optionValuesMap = new Map<OptionValue, IOption>(\n            options.map((option : IOption) : [OptionValue, IOption] => [option.value, option] as [OptionValue, IOption])\n        );\n\n        if (optionValuesMap.size !== options.length) {\n            throw new RuntimeException('you can only have unique option values');\n        }\n\n        let selectedOption : IOption | undefined;\n        if (selectedOptionValue !== null) {\n            selectedOption = optionValuesMap.get(selectedOptionValue);\n            if (selectedOption === undefined || !optionValuesMap.has(selectedOption.value)) {\n                throw new RuntimeException(`the selected option value, \"${ selectedOptionValue }\", is not in the set of options`);\n            }\n        }\n\n        const dropdownMenuComponentRef = (div : unknown) => {\n            this.dropdownMenuComponentDiv = div;\n        };\n\n        const onDropdownMenuComponentBlur = () => {\n            if (!this.state.isHovered) {\n                onBlur();\n            }\n        };\n\n        const optionElements : Array<JSX.Element> = options.map((option : IOption, index : number) => {\n            const selectOption = () => {\n                if (!option.disabled) {\n                    onOptionClick(option);\n                }\n            };\n\n            const optionClasses = ['dropdown-menu-component-option'];\n            if (option.disabled) {\n                optionClasses.push('disabled-option');\n            }\n            if (selectedOption && option.value === selectedOption.value) {\n                optionClasses.push('selected-option');\n            }\n\n            return (\n                <div\n                    className={ optionClasses.join(' ') }\n                    onClick={ selectOption }\n                    onMouseEnter={ this.onMouseEnter }\n                    onMouseLeave={ this.onMouseLeave }\n                    key={ index }\n                >\n                    { option.icon &&\n                        <span className={ `bevicon ${option.icon}` } />\n                    }\n                    { option.label }\n                </div>\n            );\n        });\n\n        return (\n            <div\n                className={ 'dropdown-menu-component ' + styleType }\n                tabIndex={ 0 }\n                ref={ dropdownMenuComponentRef }\n                onBlur={ onDropdownMenuComponentBlur }\n            >\n                <div className=\"dropdown-menu-component-button ellipsis-out\" onClick={ onClick }>\n                    { selectedOption && selectedOption.icon &&\n                        <span className={ `bevicon ${selectedOption.icon}` } />\n                    }\n                    { selectedOption ? selectedOption.label : placeholderText }\n                    <span className=\"dropdown-menu-component-arrow bevicon bevico-arrow_drop_down\"/>\n                    <hr/>\n                </div>\n                <div className={ 'dropdown-menu-component-options ' + (dropdownOptionsShown ? '' : 'dropdown-menu-component-options-hidden') }>\n                    { optionElements }\n                </div>\n            </div>\n        );\n    }\n\n    private readonly onMouseEnter = () => {\n        this.setState({\n            isHovered: true,\n        });\n    }\n\n    private readonly onMouseLeave = () => {\n        this.setState({\n            isHovered: false,\n        });\n    }\n}\n","import React from 'react';\n\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\n\nimport { CheckBox } from 'shared/components/CheckBox';\nimport { IInputLabel, LabelOrientation } from 'shared/models/InputLabel';\n\nexport interface IDropdownModalOptionProps {\n    readonly value : string;\n    readonly checkBoxState : CheckBoxTriState;\n    readonly isDisabled : boolean;\n    readonly onOptionClick : () => void;\n}\n\nexport class DropdownModalOption extends React.Component<IDropdownModalOptionProps, object> {\n    private readonly classNamePrefix = 'dropdown-modal-option';\n\n    public render() {\n        const className = `${ this.classNamePrefix }-container`;\n\n        return (\n            <div\n                className={ className }\n            >\n                { this.createCheckBox() }\n            </div>\n        );\n    }\n\n    private readonly createCheckBox = () : JSX.Element => {\n        const {\n            value,\n            checkBoxState,\n            isDisabled,\n        } = this.props;\n\n        const label : IInputLabel = {\n            value,\n            labelOrientation: LabelOrientation.RIGHT,\n        };\n\n        return (\n            <CheckBox\n                checkBoxTriState={ checkBoxState }\n                isDisabled={ isDisabled }\n                label={ label }\n                onClick={ this.onCheckBoxClick }\n            />\n        );\n    }\n\n    // TODO is this necessary?\n    private readonly onCheckBoxClick = (event : React.MouseEvent<HTMLElement>) : void => {\n        const {\n            onOptionClick,\n        } = this.props;\n\n        event.stopPropagation();\n        onOptionClick();\n    }\n}\n","import { useState } from 'react';\nimport { Permission } from 'api/Permissions/model/Permission';\nimport { Button } from 'shared/components/Button';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { DropdownModalOption } from 'shared/components/Dropdown/DropdownModalOption';\nimport { GenericSelect2DropdownMenu, Select2DropdownMenuTheme } from 'shared/components/Select2Dropdown/GenericSelect2DropdownMenu';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\nimport './MultiSelectCheckboxDropdown.scss';\n\ninterface IPermissionDropdownProps {\n    onConfirmDropdownChanges: (selectedOptionsValues : Set<string>) => Promise<void>;\n    hasPermissionToEdit: boolean;\n    initialSelectedOptionsValues: Set<string>;\n    availablePermissions: Array<Permission>;\n    currentUserPermissions: Record<string, boolean>;\n    theme: Select2DropdownMenuTheme;\n    placeholderTextWhenEmpty: string;\n    lockedPermissions?: Set<string>; // permissions that are always checked and cannot be unchecked\n    immediateMode?: boolean; // when true, each click fires onConfirmDropdownChanges immediately (no Apply/Cancel footer)\n}\n\nexport const PermissionDropdown = ({\n    onConfirmDropdownChanges,\n    hasPermissionToEdit,\n    initialSelectedOptionsValues,\n    availablePermissions,\n    currentUserPermissions,\n    theme,\n    placeholderTextWhenEmpty,\n    lockedPermissions,\n    immediateMode,\n}: IPermissionDropdownProps) => {\n    const displayedRoles = new Set<string>();\n\n    const withDerivedPermissions = (selected : Set<string>) : Set<string> => {\n        const result = new Set(selected);\n        for (const perm of availablePermissions) {\n            if (perm.getDerivationRules().some((rule) => result.has(rule))) {\n                result.add(perm.getName());\n            }\n        }\n        return result;\n    };\n\n    // Store the user's direct selections; derived permissions are computed for display only.\n    const [baseSelections, setBaseSelections] = useState<Set<string>>(initialSelectedOptionsValues);\n    const selectedOptionsValues = withDerivedPermissions(baseSelections);\n\n    const [showDropdown, setShowDropdown] = useState(false);\n    const [isLoading, setIsLoading] = useState(false);\n\n    const onOptionClick = (optionValue : string) : void => {\n        const newBase = new Set(baseSelections);\n\n        if (selectedOptionsValues.has(optionValue)) {\n            if (lockedPermissions?.has(optionValue)) {\n                return; // locked permissions cannot be unchecked\n            }\n            newBase.delete(optionValue);\n        } else {\n            newBase.add(optionValue);\n        }\n\n        setBaseSelections(newBase);\n\n        if (immediateMode) {\n            void onConfirmDropdownChanges(newBase); // not setting derived options, just the ones explicitly selected\n        }\n    }\n\n    const createOptions = (filteredOptions : Array<IOption>, selectedOption : IOption | null) : Array<JSX.Element> => {\n        const options : Array<JSX.Element> = filteredOptions.map(\n            (option : IOption, index : number) => {\n                const checkBoxState = selectedOptionsValues.has(option.value) ? CheckBoxTriState.Checked : CheckBoxTriState.Unchecked;\n                const onClick = () => onOptionClick(option.value);\n\n                return (\n                    <DropdownModalOption\n                        key={ index }\n                        value={ option.label }\n                        checkBoxState={ checkBoxState }\n                        isDisabled={ option.disabled || false }\n                        onOptionClick={ onClick }\n                    />\n                );\n            }\n        );\n\n        return options;\n    }\n\n    const onDropdownApplyClick = async () => {\n        setIsLoading(true);\n        await onConfirmDropdownChanges(selectedOptionsValues);\n        setShowDropdown(false);\n        setIsLoading(false);\n    }\n\n    const onDropdownCancel = () => {\n        setBaseSelections(initialSelectedOptionsValues);\n        setShowDropdown(false);\n    }\n\n    const options : Array<IOption> = availablePermissions.map((permission) => {\n        const userHasPermission = selectedOptionsValues.has(permission.getName()) ?? false;\n\n        const isLocked = lockedPermissions?.has(permission.getName()) ?? false;\n        const isDisabled = isLocked || (userHasPermission && permission.getDerivationRules().some(\n            (derivationRule) => selectedOptionsValues.has(derivationRule)\n        ));\n\n        if (userHasPermission && (!isDisabled || isLocked)) {\n            displayedRoles.add(permission.getDisplayName());\n        }\n\n        return {\n            icon: null,\n            label: permission.getDisplayName(),\n            value: permission.getName(),\n            disabled: !hasPermissionToEdit || isDisabled || !currentUserPermissions[permission.getName()],\n        }\n    })\n\n    return (\n        <div className=\"multi-select-checkbox-dropdown\">\n            <GenericSelect2DropdownMenu\n                isSearchable={ false }\n                selectedOptionHeaderShown={ false }\n                selectedOption={ null } // selected always null bc this is multi-select\n                emptyState={ null }\n                placeholderText={ Array.from(displayedRoles).join(', ') || placeholderTextWhenEmpty }\n                hasCreateCustomOption={ false }\n                buttonShouldDisplaySelectedLabel={ false }\n                sortedOptionsAndLabelName={ [[null, options]] }\n                getOptionElementsForGroup={ createOptions }\n                createCustomOption={ null }\n                getSelectedOptionElementForHeader={ () => undefined }\n                footerElement={ immediateMode ? null : (\n                    <div className='dropdown-modal-footer'>\n                        <Button\n                            buttonClassName='flat secondary'\n                            isDisabled={ !hasPermissionToEdit }\n                            isLoading={ isLoading }\n                            onClick={ onDropdownApplyClick }\n                        >\n                            Apply\n                        </Button>\n                        <Button\n                            buttonClassName='flat secondary'\n                            isDisabled={ isLoading }\n                            isLoading={ false }\n                            onClick={ onDropdownCancel }\n                        >\n                            Cancel\n                        </Button>\n                    </div>\n                )}\n                onDropdownBlur={ onDropdownCancel }\n                isOpen={ showDropdown }\n                handleDropdownOpenClose={ setShowDropdown }\n                createCustomOptionIsLoading={ false }\n                createCustomOptionButtonLabel={ null }\n                customOptionGroupLabel={ null }\n                theme={ theme }\n            />\n        </div>\n    );\n}\n","import React, { Fragment } from 'react';\nimport { connect } from 'react-redux';\nimport MediaQuery from 'react-responsive';\n\n// Components\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { Button } from 'shared/components/Button';\nimport { Dialog } from 'shared/components/Dialog';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { ModalFlex } from 'shared/components/ModalFlex/ModalFlex';\nimport { Select2DropdownMenuTheme } from 'shared/components/Select2Dropdown/GenericSelect2DropdownMenu';\nimport { OptionsAndLabelNameTuples, Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput, ValidationInputTheme } from 'shared/components/ValidationInput';\n\nimport { DefaultPourFormFieldName, DefaultPourInfoByFormFieldName, IEditDefaultPourFormState } from './reducers';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { DefaultPour } from 'api/Location/interfaces/ILocationSettingsService';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { EditDefaultPourFormActions, IEditDefaultPourFormStore, ActionInterfaces } from './actions';\n\nimport './EditDefaultPourForm.scss';\n\n// Constants\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH } from 'shared/constants';\nimport { BevSpotDispatch } from '../Provider';\n\nexport interface IConnectedEditDefaultPourFormProps {\n    initialDefaultPour : DefaultPour | null;\n    productsById : StringValueMap<ProductId, Product>; // will need for when this is customizable: all of their product categories\n    onSave : (defaultPour : DefaultPour) => void;\n    onClose : () => void;\n    formDirectlyOnPage? : boolean; //  poorly named but eventually we want this form to always be put on a page, not just via dialog... so living in both worlds right now\n    isPopup : boolean; // defaults to true\n}\n\ninterface IEditDefaultPourFormProps extends IConnectedEditDefaultPourFormProps {\n    dispatch : BevSpotDispatch<IEditDefaultPourFormStore, ActionInterfaces.IEditDefaultPourFormExtraArguments>;\n    editDefaultPourFormState : IEditDefaultPourFormState;\n}\n\n// TODO future: this should probably move to wherever sales settings will live\n// This component handles form state itself but doesn't make any server calls - in the future, if this lives on many pages\n// we may want to have it call the server itself. As it stands right now, it will probably only be on 2 pages so keeping it\n// relatively simple by only having it control form state. Another future piece of work could be just having this use local state\n// instead of actions/reducers but that would prevent the server calls if we ever wanted to change that.\nexport class EditDefaultPourForm extends React.Component<IEditDefaultPourFormProps, object> {\n    private unitOptions : OptionsAndLabelNameTuples;\n\n    constructor(props : IEditDefaultPourFormProps) {\n        super(props);\n        this.unitOptions = [[null, this.getDefaultPourDropdownOptions()]];\n    }\n\n    public componentDidMount() {\n        const {\n            dispatch,\n            initialDefaultPour,\n            productsById,\n        } = this.props;\n        dispatch(EditDefaultPourFormActions.initializeForm(initialDefaultPour, productsById));\n    }\n\n    public UNSAFE_componentWillUpdate(nextProps : Readonly<IEditDefaultPourFormProps>, nextState : Readonly<object>, nextContext : unknown) : void {\n        if (nextProps.initialDefaultPour !== this.props.initialDefaultPour || nextProps.productsById !== this.props.productsById) {\n            const {\n                dispatch,\n                initialDefaultPour,\n                productsById,\n            } = nextProps;\n\n            dispatch(EditDefaultPourFormActions.initializeForm(initialDefaultPour, productsById));\n        }\n    }\n\n    public render() {\n        const {\n            onClose,\n            formDirectlyOnPage,\n            editDefaultPourFormState,\n            isPopup\n        } = this.props;\n\n        const { defaultPourForm } = editDefaultPourFormState;\n\n        const addCategoryDropdownOptions = this.getDefaultCategoryDropdownOptions();\n\n        const zeroSelectedDisplay = (\n            <Fragment>\n                { defaultPourForm.length === 0 && (\n                    <div>\n                        <span>\n                            Select a category from the dropdown to add a standard pour size and make costing recipes faster.\n                        </span>\n                    </div>\n                ) }\n            </Fragment>\n        );\n\n        const addCategoryDropdownContainer = (\n            <Fragment>\n                { addCategoryDropdownOptions[0][1].length > 0 && (\n                    <div className=\"add-category-dropdown-container\">\n                        <Select2DropdownMenu\n                            theme={ Select2DropdownMenuTheme.Basic }\n                            isSearchable={ false }\n                            buttonShouldDisplaySelectedLabel={ true }\n                            selectedOptionHeaderShown={ false }\n                            sortedOptionsAndLabelName={ addCategoryDropdownOptions }\n                            selectedOption={ null }\n                            onOptionSelect={ this.handleCreate }\n                            placeholderText=\"Add a pour size\"\n                            emptyState={ null }\n                            hasCreateCustomOption={ false }\n                            createCustomOption={ this.doNothing }\n                            customOptionGroupLabel={ null }\n                            createCustomOptionButtonLabel={ null }\n                        />\n                    </div>\n                ) }\n            </Fragment>\n        );\n        const isMobile = window.matchMedia('(max-width: ' + MAX_MOBILE_WIDTH + 'px)').matches;\n\n        if (formDirectlyOnPage) {\n            return (\n                <div className=\"edit-pour-form-container\">\n                    <label className=\"form-label input-label static reset-dark-styles\">Set your standard pour sizes:</label>\n                    { zeroSelectedDisplay }\n                    <Flex direction=\"column\" grow={ 1 } className=\"content-container\">\n                        { this.createFormList(isMobile) }\n                        { addCategoryDropdownContainer }\n                    </Flex>\n                </div>\n            );\n        }\n\n        if (isPopup) {\n            return (\n                <Fragment>\n                    <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                        <ModalFlex\n                            className=\"edit-pour-modal-container\"\n                            buttons={ [\n                                {\n                                    classes: 'flat',\n                                    isDisabled: false,\n                                    isLoading: false,\n                                    onClick: onClose,\n                                    children: 'Cancel'\n                                },\n                                {\n                                    classes: 'flat primary',\n                                    isDisabled: false,\n                                    isLoading: false,\n                                    onClick: this.handleSave,\n                                    children: 'Save'\n                                }\n                            ] }\n                            closeButtonShown={ false }\n                            footerLabel={ null }\n                            footerLeftButton={ null }\n                            headerText=\"Set your standard pour sizes:\"\n                            modalClasses={ {\n                                headerClasses: 'modal-header-container',\n                                bodyClasses: 'modal-body-container',\n                                footerClasses: 'modal-footer-container'\n                            } }\n                            onClose={ null }\n                        >\n                            { zeroSelectedDisplay }\n                            <Flex direction=\"column\" grow={ 1 } className=\"content-container\">\n                                { this.createFormList(true) }\n                                { addCategoryDropdownContainer }\n                            </Flex>\n                        </ModalFlex>\n                    </MediaQuery>\n                    <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                        <Dialog\n                            className=\"edit-pour-dialog-container\"\n                            buttons={\n                                [\n                                    {\n                                        classes: 'large flat',\n                                        children: 'Cancel',\n                                        isDisabled: false,\n                                        isLoading: false,\n                                        onClick: onClose,\n                                    },\n                                    {\n                                        classes: 'large primary',\n                                        children: 'Save',\n                                        isDisabled: false,\n                                        isLoading: false,\n                                        onClick: this.handleSave,\n                                    },\n                                ]\n                            }\n                            headerText=\"Set your standard pour sizes:\"\n                        >\n                            { zeroSelectedDisplay }\n                            <Flex direction=\"column\" className=\"content-container\">\n                                { this.createFormList(false) }\n                                { addCategoryDropdownContainer }\n                            </Flex>\n                        </Dialog>\n                    </MediaQuery>\n                </Fragment>\n            );\n        } else {\n            return (\n                <div className=\"edit-pour-form-container\">\n                    { zeroSelectedDisplay }\n                    <Flex direction=\"column\" className=\"content-container\">\n                        { this.createFormList(isMobile) }\n                        { addCategoryDropdownContainer }\n                    </Flex>\n                    <Flex direction=\"row\" justify=\"end\">\n                        <div style={ { paddingRight: '36px' } }>\n                            <Button buttonClassName=\"primary pull-left\" isDisabled={ false } isLoading={ false } onClick={ this.handleSave }>\n                                Save\n                            </Button>\n                        </div>\n                    </Flex>\n                </div>\n            );\n        }\n    }\n\n    public readonly getDefaultPour = () => {\n        const defaultPour : DefaultPour | null = this.props.dispatch(EditDefaultPourFormActions.getDefaultPourByCategoryFromForm());\n        return defaultPour;\n    }\n\n    private readonly doNothing = () => undefined;\n\n    private readonly handleCreate = (categoryName : string) => {\n        this.props.dispatch(EditDefaultPourFormActions.addCategoryOption(categoryName));\n    }\n\n    private readonly handleDeleteGenerator = (index : number) => () => {\n        this.props.dispatch(EditDefaultPourFormActions.removeCategoryOption(index));\n    }\n\n    private readonly handleSave = () => {\n        const {\n            onSave,\n            onClose,\n        } = this.props;\n\n        const defaultPourToSave = this.getDefaultPour();\n        if (defaultPourToSave !== null) {\n            onSave(defaultPourToSave);\n            onClose();\n        }\n    }\n\n    private readonly getDefaultPourDropdownOptions = () => {\n        const defaultPourDropdownOptions : Array<IOption> = [];\n        VolumeUnit.getUnits().forEach((volumeUnit) => defaultPourDropdownOptions.push({\n            label: oldPackagingUtils.getDisplayTextForUnit(volumeUnit),\n            icon: null,\n            value: volumeUnit,\n        }));\n        MassUnit.getUnits().forEach((massUnit) => defaultPourDropdownOptions.push({\n            label: oldPackagingUtils.getDisplayTextForUnit(massUnit),\n            icon: null,\n            value: massUnit,\n        }));\n        defaultPourDropdownOptions.push({\n            label: 'EA',\n            icon: null,\n            value: 'EA' // each...\n        });\n        defaultPourDropdownOptions.push({\n            label: 'bottle',\n            icon: null,\n            value: 'unit' // legacy behavior: we called container \"unit\" - changing the label but keeping the actual value the same\n        });\n        return defaultPourDropdownOptions;\n    }\n\n    private readonly getCategoryOptions = () => {\n        const { categoryOptions } = this.props.editDefaultPourFormState;\n        if (categoryOptions.length > 0) {\n            return new Set(categoryOptions[0][1].map((category) => category.value));\n        }\n        return new Set();\n    }\n\n    private readonly getDefaultCategoryDropdownOptions = () : OptionsAndLabelNameTuples => {\n        const { defaultPourForm } = this.props.editDefaultPourFormState;\n        const categoriesLeft = new Set(this.getCategoryOptions());\n        defaultPourForm.forEach((form : DefaultPourInfoByFormFieldName) => {\n            const categoryName = form.category.value;\n            // checking if a form already exists for the corresponding category name\n            if (categoriesLeft.has(categoryName)) {\n                categoriesLeft.delete(categoryName); // if a form for a category exists, remove it from possible dropdown choices\n            }\n        });\n        const dropDownOptions: Array<IOption> = [];\n        categoriesLeft.forEach((category) => {\n            dropDownOptions.push({\n                label: category as string,\n                value: category as string,\n                icon: null,\n            });\n        });\n\n        return [[null, dropDownOptions]];\n    }\n\n    private readonly onChangeGenerator = (index : number, fieldName : DefaultPourFormFieldName) => (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.props.dispatch(EditDefaultPourFormActions.onFormFieldChange(index, fieldName, event.target.value));\n    }\n\n    private readonly onSelectGenerator = (index : number, fieldName : DefaultPourFormFieldName) => (selectedOptionValue : string) => {\n        this.props.dispatch(EditDefaultPourFormActions.onFormFieldChange(index, fieldName, selectedOptionValue));\n    }\n\n    // JSX Rendering\n\n    private readonly createFormList = (isMobile : boolean) => {\n        // Logic allows for addition of more categories down the road - not just the default 5\n        const formList : Array<[JSX.Element, JSX.Element] | [JSX.Element]> = [];\n        // Mobile devices only have 1 column whereas other devices have 2 columns\n        if (isMobile) {\n            this.props.editDefaultPourFormState.defaultPourForm.forEach((rowInfo, index) => {\n                formList.push([this.createForm(rowInfo, index)]);\n            });\n        } else {\n            this.props.editDefaultPourFormState.defaultPourForm.forEach((rowInfo, index) => {\n                if (index % 2 === 0) {\n                    formList.push([this.createForm(rowInfo, index)]);\n                } else {\n                    formList[Math.floor(index / 2)].push(\n                        this.createForm(rowInfo, index));\n                }\n            });\n\n        }\n\n        if (isMobile) {\n            return formList.map((form, index) => (\n                <div className=\"row-double-form-container\" key={ `row-container-${index}` }>\n                    <Flex direction=\"row\" align=\"center\">\n                        { form }\n                    </Flex>\n                </div>\n            ));\n        } else {\n            return formList.map((form, index) => {\n                if (form.length === 2) {\n                    return (\n                        <div className=\"row-double-form-container\" key={ `row-container-${index}` }>\n                            <Flex direction=\"row\" align=\"center\">\n                                { form }\n                            </Flex>\n                        </div>\n                    );\n                }\n                return (\n                    <div className=\"row-single-form-container\" key={ `row-container-${index}` }>\n                        <Flex direction=\"row\" align=\"center\">\n                            { form }\n                        </Flex>\n                    </div>\n                );\n            });\n        }\n    }\n\n    private readonly createForm = (rowInfo : DefaultPourInfoByFormFieldName, index : number) => {\n        const unitSelectedOption = this.unitOptions[0][1].find((unitOption) => {\n            return unitOption.value === rowInfo.unit.value;\n        });\n        // specific left-column spacing styling applied to <Button/> component\n        const isLeftColumn = index % 2 === 0 ? 'left-column' : '';\n        return (\n            <Flex direction=\"row\" className=\"form-container\" align=\"center\" key={ `input-container-${index}` }>\n                <div className=\"input-container category\">\n                    <ValidationInput\n                        theme={ ValidationInputTheme.Basic }\n                        inputClassName=\"\"\n                        type=\"text\"\n                        autoFocus={ false }\n                        autoComplete={ null }\n                        errorMessage={ rowInfo.category.errorMessage }\n                        isValid={ rowInfo.category.isValid }\n                        handleBlur={ this.doNothing }\n                        handleFocus={ null }\n                        handleChange={ this.onChangeGenerator(index, 'category') }\n                        handleEnterClick={ this.doNothing }\n                        label={ null }\n                        hintText={ null }\n                        value={ rowInfo.category.value }\n                        isDisabled={ true } // JUST FOR NOW: disable category (until test backend with legacy nonsense to see if custom categories works ok)\n                    />\n                </div>\n                <div className=\"input-container quantity\">\n                    <ValidationInput\n                        theme={ ValidationInputTheme.Basic }\n                        inputClassName=\"\"\n                        type=\"text\"\n                        autoFocus={ false }\n                        autoComplete={ null }\n                        errorMessage={ rowInfo.quantity.errorMessage }\n                        isValid={ rowInfo.quantity.isValid }\n                        handleBlur={ this.doNothing }\n                        handleFocus={ null }\n                        handleChange={ this.onChangeGenerator(index, 'quantity') }\n                        handleEnterClick={ this.doNothing }\n                        label={ null }\n                        hintText=\"e.g. 1\"\n                        value={ rowInfo.quantity.value }\n                        isDisabled={ false }\n                    />\n                </div>\n                <div className=\"input-container unit\">\n                    <Select2DropdownMenu\n                        theme={ Select2DropdownMenuTheme.Basic }\n                        isSearchable={ false }\n                        buttonShouldDisplaySelectedLabel={ true }\n                        selectedOptionHeaderShown={ false }\n                        sortedOptionsAndLabelName={ this.unitOptions }\n                        selectedOption={ unitSelectedOption || null }\n                        onOptionSelect={ this.onSelectGenerator(index, 'unit') }\n                        placeholderText=\"Select Unit\"\n                        emptyState={ null }\n                        hasCreateCustomOption={ false }\n                        createCustomOption={ this.doNothing }\n                        customOptionGroupLabel={ null }\n                        createCustomOptionButtonLabel={ null }\n                    />\n                </div>\n                <Button\n                    buttonClassName={ `flat bevicon bevico-remove-inverse ${isLeftColumn}` }\n                    isDisabled={ false }\n                    isLoading={ false }\n                    onClick={ this.handleDeleteGenerator(index) }\n                />\n            </Flex>\n        );\n    }\n}\n\ninterface IStateProps {\n    editDefaultPourFormState : IEditDefaultPourFormState;\n}\n\nconst mapStateToProps = (state : IStateProps) : IStateProps => {\n    return {\n        editDefaultPourFormState: state.editDefaultPourFormState,\n    };\n};\n\nexport const ConnectedEditDefaultPourForm = connect<IStateProps, object, IConnectedEditDefaultPourFormProps, IStateProps>(mapStateToProps, null, null, { forwardRef: true })(EditDefaultPourForm);\n","// Types\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { DefaultPourInfoByFormFieldName } from '../reducers';\n\n// Utilities\nimport { SortingFilteringAndGroupingUtil } from 'shared/utils/sortingFilteringAndGroupingUtils';\n\nconst rowComparator = (rowId1 : DefaultPourInfoByFormFieldName, rowId2 : DefaultPourInfoByFormFieldName, columnSort : IColumnSorting) : number => {\n    // \"Other\" category is always going to be last\n    if (rowId1.category.value === 'Other') {\n        return 1;\n    }\n    if (rowId2.category.value === 'Other') {\n        return -1;\n    }\n    return rowId1.category.value.localeCompare(rowId2.category.value);\n};\n\nconst rowFilter = (rowId : DefaultPourInfoByFormFieldName, filterTerm : string | null) : boolean => {\n    return true;\n};\n\nconst groupNameGetter = () : string => {\n    return 'sortedDefaultPourCategories';\n};\n\nconst groupNameComparator = () : number => {\n    return 0;\n};\n\nconst intermediateResultCacheIsValid = (rowIds : Array<DefaultPourInfoByFormFieldName>, lastRowIds : Array<DefaultPourInfoByFormFieldName>) => {\n    return (rowIds === lastRowIds);\n};\n\nexport const defaultPourCategoriesSortingGroupingFilteringUtil = new SortingFilteringAndGroupingUtil<DefaultPourInfoByFormFieldName, null, string>(\n    rowComparator,\n    rowFilter,\n    groupNameGetter,\n    groupNameComparator,\n    intermediateResultCacheIsValid\n);\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { DefaultPour } from 'api/Location/interfaces/ILocationSettingsService';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { CategoryUtils } from 'api/Product/utils/categoryUtils';\nimport { ThunkAction, IAction } from 'shared/models/IAction';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport { createOptionsAndLabelNameTuplesFromValueArray, OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { productJSONToObjectSerializer } from 'shared/lib/manager';\nimport { ISortedFilteredAndGroupedResult } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { Validation } from 'shared/validators/validators';\nimport { DefaultPourFormFieldName, DefaultPourInfoByFormFieldName, IEditDefaultPourFormState } from './reducers';\nimport { defaultPourCategoriesSortingGroupingFilteringUtil } from './utils/defaultPourSizeSortingUtil';\n\nexport interface IEditDefaultPourFormStore {\n    editDefaultPourFormState : IEditDefaultPourFormState;\n}\n\nexport const ActionTypes = {\n    SET_FORM: 'EDIT_DEFAULT_POUR/SET_FORM',\n    SET_DEFAULT_POUR_FORM_FOR_INDEX: 'EDIT_DEFAULT_POUR/SET_DEFAULT_POUR_FORM_FOR_INDEX',\n    REMOVE_DEFAULT_POUR_CATEGORY: 'EDIT_DEFAULT_POUR/REMOVE_DEFAULT_POUR_CATEGORY',\n    ADD_DEFAULT_POUR_CATEGORY: 'EDIT_DEFAULT_POUR/ADD_DEFAULT_POUR_CATEGORY',\n    SET_CATEGORY_OPTIONS: 'EDIT_DEFAULT_POUR/SET_CATEGORY_OPTIONS',\n};\n\nexport namespace ActionInterfaces {\n    export interface ISetForm extends IAction {\n        payload : {\n            defaultPourForm : Array<DefaultPourInfoByFormFieldName>;\n        };\n    }\n\n    export interface ISetDefaultPourFormForIndex extends IAction {\n        payload : {\n            index : number,\n            field : DefaultPourFormFieldName,\n            validationInput : IValidationInputData\n        };\n    }\n\n    export interface IRemoveDefaultPourCategoryByIndex extends IAction { // not used right now because need to fully backend test this with legacy nonsense\n        payload : {\n            index : number\n        };\n    }\n\n    export interface ISetCategoryOptions extends IAction {\n        payload : {\n            categoryOptions : OptionsAndLabelNameTuples;\n        };\n    }\n\n    export interface IAddDefaultPourCategory extends IAction { // not used right now because need to fully backend test this with legacy nonsense\n        payload : { defaultPourForm : Array<DefaultPourInfoByFormFieldName> };\n    }\n\n    export type IServices = object;\n\n    export interface IEditDefaultPourFormExtraArguments extends IExtraArguments {\n        services : IServices;\n    }\n}\n\n// These are unique, default categories that are given specific quantity/unit amounts\nconst DEFAULT_CATEGORY_INFO : DefaultPour = {\n    Beer: {\n        quantity: 1,\n        unit: 'unit'\n    },\n    'Draught Beer': {\n        quantity: 16,\n        unit: VolumeUnit.OUNCE\n    },\n    Spirit: {\n        quantity: 1.5,\n        unit: VolumeUnit.OUNCE\n    },\n    Wine: {\n        quantity: 6,\n        unit: VolumeUnit.OUNCE\n    },\n    Other: {\n        quantity: 1,\n        unit: VolumeUnit.OUNCE\n    }\n};\n\nconst setDefaultPourFormForIndex = (\n    index : number,\n    field : DefaultPourFormFieldName,\n    validationInput : IValidationInputData\n) : ActionInterfaces.ISetDefaultPourFormForIndex => ({\n    payload: {\n        index,\n        field,\n        validationInput\n    },\n    type: ActionTypes.SET_DEFAULT_POUR_FORM_FOR_INDEX\n});\n\nconst setForm = (\n    defaultPourForm : Array<DefaultPourInfoByFormFieldName>\n) : ActionInterfaces.ISetForm => ({\n    payload: {\n        defaultPourForm\n    },\n    type: ActionTypes.SET_FORM\n});\n\nconst setCategoryOptions = (\n    categoryOptions : OptionsAndLabelNameTuples\n) : ActionInterfaces.ISetCategoryOptions => ({\n    payload: {\n        categoryOptions\n    },\n    type: ActionTypes.SET_CATEGORY_OPTIONS\n});\n\nconst addCategory = (defaultPourForm : Array<DefaultPourInfoByFormFieldName>) : ActionInterfaces.IAddDefaultPourCategory =>\n    ({ payload: { defaultPourForm }, type: ActionTypes.ADD_DEFAULT_POUR_CATEGORY });\n\nconst removeCategoryOption = (index : number) : ActionInterfaces.IRemoveDefaultPourCategoryByIndex =>\n    ({ payload: { index }, type: ActionTypes.REMOVE_DEFAULT_POUR_CATEGORY });\n\nconst onFormFieldChange = (\n    index : number,\n    field : DefaultPourFormFieldName,\n    value : string,\n) : ThunkAction<void, IEditDefaultPourFormStore, ActionInterfaces.IEditDefaultPourFormExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const validationResult = validateValueByFieldName(field, value);\n        dispatch(setDefaultPourFormForIndex(index, field, { value, isValid: validationResult.isValid, errorMessage: validationResult.errorMessage }));\n    };\n};\n\n// this should probably be in a util file\nconst validateValueByFieldName = (fieldName : DefaultPourFormFieldName, value : string) => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    switch (fieldName) {\n        case 'quantity':\n            isValid = Validation.validateNonNegativeNumber(value) || value === '';\n            if (!isValid) {\n                errorMessage = 'Value must be a non-negative number';\n            }\n            break;\n        case 'unit':\n            isValid = true; // trusting that dropdown is correct\n            break;\n        case 'category':\n            isValid = Validation.validateRequired(value);\n            if (!isValid) {\n                errorMessage = 'Value is required';\n            }\n            break;\n        default:\n            break;\n    }\n\n    if (isValid === null) {\n        throw new RuntimeException('unhandled field');\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n\nconst getDefaultPourByCategoryFromForm = () : ThunkAction<DefaultPour | null, IEditDefaultPourFormStore, ActionInterfaces.IEditDefaultPourFormExtraArguments> => {\n    return (dispatch, getState, extraArguments) : DefaultPour | null => {\n        const defaultPour : DefaultPour = {};\n        let allFieldsAreValid : boolean = true;\n\n        const form = getState().editDefaultPourFormState.defaultPourForm;\n        form.forEach((rowInfo, index) => {\n            let rowIsValid : boolean = true;\n            Object.keys(rowInfo).forEach((formFieldNameValue) => {\n                const field = formFieldNameValue as DefaultPourFormFieldName;\n                const fieldValue = rowInfo[field].value;\n                const validationResult = validateValueByFieldName(field, fieldValue);\n                allFieldsAreValid = allFieldsAreValid && validationResult.isValid;\n\n                rowIsValid = rowIsValid && validationResult.isValid;\n\n                if (!validationResult.isValid) {\n                    dispatch(setDefaultPourFormForIndex(index, field, { value: fieldValue, isValid: validationResult.isValid, errorMessage: validationResult.errorMessage }));\n                }\n            });\n            if (rowIsValid) {\n                let unit : VolumeUnit | MassUnit | 'EA' | 'unit';\n                if (rowInfo.unit.value === 'unit' || rowInfo.unit.value === 'EA') {\n                    unit = rowInfo.unit.value;\n                } else {\n                    const productQuantityUnit = productJSONToObjectSerializer.getProductQuantityUnit(rowInfo.unit.value);\n                    if (productQuantityUnit instanceof PackagingId) {\n                        throw new RuntimeException('unexpected');\n                    }\n                    unit = productQuantityUnit;\n                }\n                // Only save the form if the value is populated (this is due to blank values being technically \"valid\" without error)\n                const isQuantityNotBlank = rowInfo.quantity.value !== '';\n                if (isQuantityNotBlank) {\n                    defaultPour[rowInfo.category.value] = {\n                        quantity: parseFloat(rowInfo.quantity.value),\n                        unit,\n                    };\n                }\n            }\n        });\n\n        if (allFieldsAreValid) {\n            return defaultPour;\n        } else {\n            return null;\n        }\n    };\n};\n\nconst addCategoryOption = (categoryName : string) :\n    ThunkAction<void, IEditDefaultPourFormStore, ActionInterfaces.IEditDefaultPourFormExtraArguments> => {\n    return async (dispatch, getState, extraArguments) => {\n        const newForm = [...getState().editDefaultPourFormState.defaultPourForm];\n        // When adding a category form, check if they are one of the few unique categories with specific defaults (DEFAULT_CATEGORY_INFO object)\n        newForm.push({\n            category: {\n                value: categoryName,\n                isValid: true,\n                errorMessage: ''\n            },\n            quantity: {\n                value: DEFAULT_CATEGORY_INFO[categoryName] ? DEFAULT_CATEGORY_INFO[categoryName].quantity.toString() : '',\n                isValid: true,\n                errorMessage: ''\n            },\n            unit: {\n                value: DEFAULT_CATEGORY_INFO[categoryName] ? DEFAULT_CATEGORY_INFO[categoryName].unit : VolumeUnit.OUNCE,\n                isValid: true,\n                errorMessage: ''\n            },\n        });\n\n        const columnSorting = { sortedBy: '', direction: 1 };\n        const sortedProductCategoryOptions : ISortedFilteredAndGroupedResult<DefaultPourInfoByFormFieldName> =\n            await defaultPourCategoriesSortingGroupingFilteringUtil.getSortedFilteredAndGroupedResult(newForm, columnSorting, '', '', null);\n\n        dispatch(addCategory(sortedProductCategoryOptions.sortedRowIdsToDisplayByGroupName.sortedDefaultPourCategories));\n    };\n};\n\nconst initializeForm = (initialDefaultPour : DefaultPour | null, productsById : StringValueMap<ProductId, Product>) :\n    ThunkAction<void, IEditDefaultPourFormStore, ActionInterfaces.IEditDefaultPourFormExtraArguments> => {\n    return async (dispatch, getState, extraArguments) => {\n        const form : Array<DefaultPourInfoByFormFieldName> = [];\n\n        const productCategoryOptions = createOptionsAndLabelNameTuplesFromValueArray(CategoryUtils.getCategoriesFromProductsAndDefaults(productsById.values()), null);\n\n        // convert Array<IOption> to Array<DefaultPourInfoByFormFieldName> for sorting\n        const flattenedProductCategoryOptions : Array<DefaultPourInfoByFormFieldName> = productCategoryOptions[0][1].map((category : IOption) => ({\n            category: {\n                value: category.value,\n                isValid: true,\n                errorMessage: ''\n            },\n            quantity: {\n                value: '',\n                isValid: true,\n                errorMessage: ''\n            },\n            unit: {\n                value: '',\n                isValid: true,\n                errorMessage: ''\n            },\n        }));\n\n        const columnSorting = { sortedBy: '', direction: 1 };\n\n        const sortedProductCategoryOptions : ISortedFilteredAndGroupedResult<DefaultPourInfoByFormFieldName> =\n            await defaultPourCategoriesSortingGroupingFilteringUtil.getSortedFilteredAndGroupedResult(flattenedProductCategoryOptions, columnSorting, '', '', null);\n\n        const { sortedDefaultPourCategories } = sortedProductCategoryOptions.sortedRowIdsToDisplayByGroupName;\n\n        // convert sorted Array<DefaultPourInfoByFormFieldName> back to Array<IOption>\n        const dropdownSortedDefaultPourCategories : Array<IOption> =  sortedDefaultPourCategories.map((category : DefaultPourInfoByFormFieldName) => ({\n            icon: null,\n            label: category.category.value,\n            value: category.category.value\n        }));\n\n        const sortedCategoryOptions : OptionsAndLabelNameTuples = [[null, dropdownSortedDefaultPourCategories]];\n        if (initialDefaultPour === null) {\n            // Remove specific \"non-beverage\" default categories from the initial form load for first time users\n            const cleanedProductCategoryOptions : Array<IOption> = dropdownSortedDefaultPourCategories.filter((category : IOption) => {\n                return category.value !== 'Accessory' && category.value !== 'Kitchen' && category.value !== 'Bar Goods' && category.value !== 'Food';\n            });\n            cleanedProductCategoryOptions.map((category) => {\n                form.push({\n                    category: {\n                        value: category.value,\n                        isValid: true,\n                        errorMessage: ''\n                    },\n                    unit: {\n                        value: DEFAULT_CATEGORY_INFO[category.value] ? DEFAULT_CATEGORY_INFO[category.value].unit : VolumeUnit.OUNCE,\n                        isValid: true,\n                        errorMessage: ''\n                    },\n                    quantity: {\n                        value: DEFAULT_CATEGORY_INFO[category.value] ? DEFAULT_CATEGORY_INFO[category.value].quantity.toString() : '',\n                        isValid: true,\n                        errorMessage: ''\n                    },\n                });\n            });\n\n        } else {\n            Object.keys(initialDefaultPour).forEach((category) => {\n                form.push({\n                    category: {\n                        value: category,\n                        isValid: true,\n                        errorMessage: ''\n                    },\n                    unit: {\n                        value: initialDefaultPour[category].unit,\n                        isValid: true,\n                        errorMessage: ''\n                    },\n                    quantity: {\n                        value: initialDefaultPour[category].quantity.toString(),\n                        isValid: true,\n                        errorMessage: ''\n                    },\n                });\n            });\n\n        }\n        dispatch(setForm(form));\n        dispatch(setCategoryOptions(sortedCategoryOptions));\n    };\n};\n\nexport const EditDefaultPourFormActions = {\n    onFormFieldChange,\n    initializeForm,\n    getDefaultPourByCategoryFromForm,\n    removeCategoryOption,\n    addCategoryOption\n};\n","import { Action } from '@reduxjs/toolkit';\n\n// Components\nimport { OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\n\n// Actions\nimport { ActionInterfaces, ActionTypes } from './actions';\n\nexport type DefaultPourFormFieldName = 'category' | 'quantity' | 'unit';\nexport type DefaultPourInfoByFormFieldName = { [formFieldName in DefaultPourFormFieldName]: IValidationInputData };\n\nexport interface IEditDefaultPourFormState {\n    defaultPourForm : Array<DefaultPourInfoByFormFieldName>;\n    categoryOptions : OptionsAndLabelNameTuples;\n}\n\nexport const initialState : IEditDefaultPourFormState = {\n    defaultPourForm: [],\n    categoryOptions: [],\n};\n\nconst reduceSetDefaultPourFormForIndex = (\n    state : IEditDefaultPourFormState,\n    action : ActionInterfaces.ISetDefaultPourFormForIndex\n) : IEditDefaultPourFormState => {\n\n    const newForm = [...state.defaultPourForm];\n\n    const oldRowInfo = { ...newForm[action.payload.index] };\n    newForm[action.payload.index] = {\n        ...oldRowInfo,\n        [action.payload.field]: action.payload.validationInput\n    };\n\n    return {\n        ...state,\n        defaultPourForm: newForm\n    };\n};\n\n// needs to be updated when this code is used\nconst reduceAddDefaultPourCategory = (\n    state : IEditDefaultPourFormState,\n    action : ActionInterfaces.IAddDefaultPourCategory\n) : IEditDefaultPourFormState => {\n\n    return {\n        ...state,\n        defaultPourForm: action.payload.defaultPourForm\n    };\n};\n\n// needs to be updated when this code is used.\nconst reduceRemoveDefaultPourCategoryByIndex = (\n    state : IEditDefaultPourFormState,\n    action : ActionInterfaces.IRemoveDefaultPourCategoryByIndex\n) : IEditDefaultPourFormState => {\n\n    const newForm = [...state.defaultPourForm];\n\n    newForm.splice(action.payload.index, 1);\n\n    return {\n        ...state,\n        defaultPourForm: newForm\n    };\n};\n\nconst reduceSetForm = (\n    state : IEditDefaultPourFormState,\n    action : ActionInterfaces.ISetForm\n) : IEditDefaultPourFormState => {\n\n    return {\n        ...state,\n        defaultPourForm: action.payload.defaultPourForm\n    };\n};\n\nconst reduceSetCategoryOptions = (\n    state : IEditDefaultPourFormState,\n    action : ActionInterfaces.ISetCategoryOptions\n) : IEditDefaultPourFormState => {\n    return {\n        ...state,\n        categoryOptions: action.payload.categoryOptions\n    };\n};\n\nexport const EditDefaultPourFormReducers = (\n    state : IEditDefaultPourFormState = initialState,\n    action : Action,\n) : IEditDefaultPourFormState => {\n    switch (action.type) {\n        case ActionTypes.SET_DEFAULT_POUR_FORM_FOR_INDEX:\n            return reduceSetDefaultPourFormForIndex(state, action as ActionInterfaces.ISetDefaultPourFormForIndex);\n        case ActionTypes.ADD_DEFAULT_POUR_CATEGORY:\n            return reduceAddDefaultPourCategory(state, action as ActionInterfaces.IAddDefaultPourCategory);\n        case ActionTypes.REMOVE_DEFAULT_POUR_CATEGORY:\n            return reduceRemoveDefaultPourCategoryByIndex(state, action as ActionInterfaces.IRemoveDefaultPourCategoryByIndex);\n        case ActionTypes.SET_FORM:\n            return reduceSetForm(state, action as ActionInterfaces.ISetForm);\n        case ActionTypes.SET_CATEGORY_OPTIONS:\n            return reduceSetCategoryOptions(state, action as ActionInterfaces.ISetCategoryOptions);\n        default:\n            return state;\n    }\n};\n","import React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { ValidationInput } from 'shared/components/ValidationInput';\nimport { productJSONToObjectSerializer, productObjectToJSONSerializer } from 'shared/lib/manager';\n\nimport './ParInput.scss';\n\nexport interface IParInputProps {\n    readonly product : Product;\n    readonly productId : ProductId; \n    readonly parCount : number | null;\n    readonly parProductQuantityUnit : ProductQuantityUnit;\n    readonly onProductQuantityUnitSelect : (productQuantityUnit : ProductQuantityUnit) => void;\n    readonly handleValueChange : (parCount : number | null) => void;\n}\n\nexport class ParInput extends React.Component<IParInputProps, object> {\n    private readonly classNamePrefix = 'total-count-par-input';\n\n    public render() {\n        const {\n            product,\n            parCount,\n            parProductQuantityUnit,\n        } = this.props;\n\n        const unitSortedOptionsAndLabelName = PackagingUtils.getAvailableUnitOptionsAndLabelNames(product.getPackagingsAndMappings(), false);\n        let unitSelectedIOption : IOption | null = null;\n        unitSortedOptionsAndLabelName.forEach((unitOptionsAndLabelName) => {\n            unitOptionsAndLabelName[1].forEach((unitOption : IOption) => {\n                if (unitOption.value === productObjectToJSONSerializer.getProductQuantityUnit(parProductQuantityUnit)) {\n                    unitSelectedIOption = unitOption;\n                }\n            });\n        });\n        \n        const value : string = (parCount === null) ? '' : parCount.toString();\n\n        return (\n            <div\n                className={ `${ this.classNamePrefix }-container` }\n            >\n                <ValidationInput\n                    type=\"number\"\n                    step=\"any\"\n                    min={ 0 }\n                    label={ null }\n                    hintText={ null }\n                    value={ value }\n                    autoFocus={ false }\n                    autoComplete={ null }\n                    isValid={ true }\n                    isDisabled={ false }\n                    errorMessage=\"\"\n                    inputClassName=\"\"\n                    handleEnterClick={ this.doNothing }\n                    handleChange={ this.handleChange }\n                    handleBlur={ this.doNothing }\n                    handleFocus={ null }\n                />\n                <Select2DropdownMenu\n                    isSearchable={ false }\n                    buttonShouldDisplaySelectedLabel={ true }\n                    selectedOptionHeaderShown={ false }\n                    sortedOptionsAndLabelName={ unitSortedOptionsAndLabelName }\n                    selectedOption={ unitSelectedIOption }\n                    onOptionSelect={ this.onUnitSelect }\n                    placeholderText=\"Select Unit\"\n                    emptyState={ null }\n                    hasCreateCustomOption={ false }\n                    createCustomOption={ this.doNothing }\n                    customOptionGroupLabel={ null }\n                    createCustomOptionButtonLabel={ null }\n                />\n            </div>\n        );\n    }\n\n    private readonly handleChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        const {\n            handleValueChange,\n        } = this.props;\n\n        const value : string = event.currentTarget.value;\n        if (value) {\n            handleValueChange(parseFloat(value));\n        } else {\n            handleValueChange(null);\n        }\n    }\n\n    private readonly onUnitSelect = (optionValue : string) => {\n        const productQuantityUnit = productJSONToObjectSerializer.getProductQuantityUnit(optionValue);\n\n        this.props.onProductQuantityUnitSelect(productQuantityUnit);\n    }\n\n    private readonly doNothing = () => null;\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport MediaQuery from 'react-responsive';\nimport { Dispatch } from '@reduxjs/toolkit';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\n\nimport { Dialog } from 'shared/components/Dialog';\nimport { ParInput } from 'shared/components/Product/ParInput';\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH } from 'shared/constants';\n\nimport { EditParDialogActions, ActionInterfaces } from './actions';\nimport { IEditParDialogState } from './reducers';\n\nimport './EditParDialog.scss';\n\nexport interface IConnectedEditParDialogProps {\n    product : Product;\n    productId : ProductId;\n    initialCount : number | null;\n    initialUnit : ProductQuantityUnit;\n    onSave : (par : QuantityInUnit<ProductQuantityUnit> | null) => void;\n    onClose : () => void;\n}\n\ninterface IEditParDialogProps extends IConnectedEditParDialogProps {\n    dispatch : Dispatch<ActionInterfaces.ISetCount | ActionInterfaces.ISetProductQuantityUnit>;\n    editParDialogState : IEditParDialogState;\n}\n\nexport class EditParDialog extends React.Component<IEditParDialogProps, object> {\n    public UNSAFE_componentWillMount() {\n        const {\n            dispatch,\n            initialCount,\n            initialUnit,\n        } = this.props;\n\n        dispatch(EditParDialogActions.setCount(initialCount));\n        dispatch(EditParDialogActions.setProductQuantityUnit(initialUnit));\n    }\n\n    public render() {\n        const {\n            editParDialogState,\n            product,\n            productId,\n            onClose\n        } = this.props;\n\n        const {\n            count,\n            productQuantityUnit,\n        } = editParDialogState;\n\n        return (\n            <Dialog\n                className=\"edit-par-dialog\"\n                buttons={\n                    [\n                        {\n                            classes: 'large flat',\n                            children: 'Cancel',\n                            isDisabled: false,\n                            isLoading: false,\n                            onClick: onClose,\n                        },\n                        {\n                            classes: 'large flat primary',\n                            children: 'Save',\n                            isDisabled: false,\n                            isLoading: false,\n                            onClick: this.handleSave,\n                        },\n                    ]\n                }\n                headerText=\"Edit Par\"\n            >\n                <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                    <div className=\"light-table\">\n                        <div className=\"light-table-header\">\n                            <div className=\"col-row\">\n                                <div className=\"cell col-xs-4 cell-ptb\">\n                                    Item\n                                </div>\n                                <div className=\"cell col-xs-4 cell-ptb\">\n                                    Size\n                                </div>\n                                <div className=\"cell col-xs-4 cell-ptb\">\n                                    Edit Par\n                                </div>\n                            </div>\n                        </div>\n                        <div className=\"col-row light-table-row\">\n                            <div className=\"cell col-xs-4 cell-ptb cell-plr-sm\">\n                                <div className=\"item-name\">\n                                    <span className=\"product-brand\">{ product.getBrand() }</span>\n                                    <span className=\"product-name\">{ product.getName() }</span>\n                                </div>\n                            </div>\n                            <div className=\"cell col-xs-4 cell-ptb cell-plr-sm\">\n                                <span className=\"container-label\">\n                                    { oldPackagingUtils.getDisplayTextForPackaging(product.getOldPackaging(), true) + ' ' }\n                                </span>\n                            </div>\n                            <div className=\"cell col-xs-4\">\n                                <ParInput\n                                    product={ product }\n                                    productId={ productId }\n                                    parCount={ count }\n                                    parProductQuantityUnit={ productQuantityUnit }\n                                    onProductQuantityUnitSelect={ this.onProductQuantityUnitSelect }\n                                    handleValueChange={ this.handleValueChange }\n                                />\n                            </div>\n                        </div>\n                    </div>\n                </MediaQuery>\n\n                <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                    <div className=\"light-table-header col-row\">\n                        <div className=\"cell col-xs-7 cell-ptb\">\n                            Item\n                        </div>\n                        <div className=\"cell col-xs-5 cell-ptb text-right\">\n                            Size\n                        </div>\n                    </div>\n                    <div className=\"col-row light-table-row cell-ptb-sm\">\n                        <div className=\"cell col-xs-7\">\n                            <div className=\"item-name\">\n                                <span className=\"product-brand\">{ product.getBrand() }</span>\n                                <span className=\"product-name\">{ product.getName() }</span>\n                            </div>\n                        </div>\n                        <div className=\"cell col-xs-5 cell-ptb text-right\">\n                            <span className=\"container-label\">\n                                { oldPackagingUtils.getDisplayTextForPackaging(product.getOldPackaging(), true) + ' ' }\n                            </span>\n                        </div>\n                    </div>\n                    <div className=\"col-row light-table-row cell-ptb-sm\">\n                        <div className=\"cell col-xs-12\">\n                            <label>Edit Par</label>\n                            <ParInput\n                                product={ product }\n                                productId={ productId }\n                                parCount={ count }\n                                parProductQuantityUnit={ productQuantityUnit }\n                                onProductQuantityUnitSelect={ this.onProductQuantityUnitSelect }\n                                handleValueChange={ this.handleValueChange }\n                            />\n                        </div>\n                    </div>\n                </MediaQuery>\n            </Dialog>\n        );\n    }\n\n    private readonly handleSave = () => {\n        const {\n            onSave,\n            onClose,\n            editParDialogState,\n        } = this.props;\n\n        const {\n            count,\n            productQuantityUnit,\n        } = editParDialogState;\n\n        let par;\n        if (count === null) {\n            par = null;\n        } else {\n            par = new QuantityInUnit(count, productQuantityUnit);\n        }\n\n        onSave(par);\n        onClose();\n    }\n\n    private readonly onProductQuantityUnitSelect = (newUnit : ProductQuantityUnit) => {\n        this.props.dispatch(EditParDialogActions.setProductQuantityUnit(newUnit));\n    }\n\n    private readonly handleValueChange = (newCount : number | null) => {\n        this.props.dispatch(EditParDialogActions.setCount(newCount));\n    }\n}\n\ninterface IStateProps {\n    editParDialogState : IEditParDialogState;\n}\n\nconst mapStateToProps = (state : IStateProps) : IStateProps => {\n    return {\n        editParDialogState: state.editParDialogState,\n    };\n};\n\nexport const ConnectedEditParDialog = connect<IStateProps, object, IConnectedEditParDialogProps, IStateProps>(mapStateToProps)(EditParDialog);\n","import { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\n\nimport { IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nexport const ActionTypes = {\n    SET_COUNT : 'EDIT_PAR_DIALOG/SET_COUNT',\n    SET_PRODUCT_QUANTITY_UNIT : 'EDIT_PAR_DIALOG/SET_PRODUCT_QUANTITY_UNIT',\n};\n\nexport namespace ActionInterfaces {\n    export interface ISetCount extends IAction {\n        payload : {\n            count : number | null\n        };\n    }\n\n    export interface ISetProductQuantityUnit extends IAction {\n        payload : {\n            productQuantityUnit : ProductQuantityUnit\n        };\n    }\n\n    export interface IInventoryCountActionCreatorsMapObject extends IActionCreatorsMapObject {\n        setCount : (\n            count : number | null,\n        ) => ISetCount;\n        setProductQuantityUnit : (\n            productQuantityUnit : ProductQuantityUnit,\n        ) => ISetProductQuantityUnit;\n    }\n}\n\nexport type ISetCountActionCreator = (count : number | null) => ActionInterfaces.ISetCount;\nexport type ISetProductQuantityUnitActionCreator = (unit : ProductQuantityUnit) => ActionInterfaces.ISetProductQuantityUnit;\n\nconst setCount : ISetCountActionCreator = (\n    count : number | null\n) : ActionInterfaces.ISetCount => ({\n    payload: {\n        count\n    },\n    type: ActionTypes.SET_COUNT\n});\n\nconst setProductQuantityUnit : ISetProductQuantityUnitActionCreator = (\n    productQuantityUnit : ProductQuantityUnit\n) : ActionInterfaces.ISetProductQuantityUnit => ({\n    payload: {\n        productQuantityUnit\n    },\n    type: ActionTypes.SET_PRODUCT_QUANTITY_UNIT\n});\n\nexport const EditParDialogActions = {\n    setCount,\n    setProductQuantityUnit,\n};\n","import { Action } from '@reduxjs/toolkit';\n\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\n\nimport { ActionInterfaces, ActionTypes } from './actions';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\n\nexport interface IEditParDialogState {\n    count : number | null;\n    productQuantityUnit : ProductQuantityUnit;\n}\n\nexport const initialState : IEditParDialogState = {\n    count: null,\n    productQuantityUnit: VolumeUnit.MILLILITER,\n};\n\nconst reduceSetCount = (\n    state : IEditParDialogState,\n    action : ActionInterfaces.ISetCount\n) : IEditParDialogState => {\n    return {\n        ...state,\n        count: action.payload.count,\n    };\n};\n\nconst reduceSetProductQuantityUnit = (\n    state : IEditParDialogState,\n    action : ActionInterfaces.ISetProductQuantityUnit\n) : IEditParDialogState => {\n    return {\n        ...state,\n        productQuantityUnit: action.payload.productQuantityUnit,\n    };\n};\n\nexport const EditParDialogReducers = (\n    state : IEditParDialogState = initialState,\n    action : Action,\n) : IEditParDialogState => {\n    switch (action.type) {\n        case ActionTypes.SET_COUNT:\n            return reduceSetCount(state, action as ActionInterfaces.ISetCount);\n        case ActionTypes.SET_PRODUCT_QUANTITY_UNIT:\n            return reduceSetProductQuantityUnit(state, action as ActionInterfaces.ISetProductQuantityUnit);\n        default:\n            return state;\n    }\n};\n","import React from 'react';\n\nimport { IModalButton } from '../models/Modal';\nimport { Dialog } from './Dialog';\n\nexport interface IErrorDialog {\n    isRecoverable : boolean;\n    detailMessage : string | null;\n    handleRecoveryButton() : void;\n}\n\nexport class ErrorDialog extends React.Component<IErrorDialog, object> {\n    public render() {\n        const {\n            isRecoverable,\n            detailMessage,\n            handleRecoveryButton,\n        } = this.props;\n\n        const buttons : Array<IModalButton> = [{\n            classes: '',\n            children: 'Back',\n            isDisabled: false,\n            isLoading: false,\n            onClick: handleRecoveryButton,\n        }];\n        let errorMessage : JSX.Element;\n\n        if (isRecoverable) {\n            errorMessage = <p>BevSpot encountered a temporary issue and could not continue. Please try again later.</p>;\n        } else {\n            buttons.push({\n                classes: '',\n                children: 'Reload Page',\n                isDisabled: false,\n                isLoading: false,\n                onClick: () => window.location.reload(),\n            });\n            errorMessage = <p>BevSpot encountered a problem and must reload. We are sorry for the inconvenience.</p>;\n        }\n\n        return (\n            <Dialog\n                className=\"error-dialog\"\n                buttons={ buttons }\n                headerText=\"Something Went Wrong\"\n            >\n                <div className=\"cell-ptb-xl\">\n                    { errorMessage }\n                    { detailMessage !== null &&\n                        <p>{ detailMessage }</p>\n                    }\n                </div>\n            </Dialog>\n        );\n    }\n}\n","import React from 'react';\n\nimport '../css/ExpandingNote.scss';\n\nexport enum ExpandingNoteTheme {\n    Underline = 1,\n    Boxed = 2,\n    Basic = 5,\n}\n\nexport interface IExpandingNoteProps {\n    readonly theme : ExpandingNoteTheme;\n    readonly onChange : (event : React.ChangeEvent<HTMLTextAreaElement>) => void;\n    readonly onBlur : (event : React.FocusEvent<HTMLTextAreaElement>) => void;\n    readonly noteContent : string;\n    readonly placeholder : string;\n    readonly isDisabled : boolean;\n}\n\nexport class ExpandingNote extends React.Component<IExpandingNoteProps, object> {\n    private wrapperElement : Element | undefined;\n\n    public render() {\n\n        const {\n            onChange,\n            noteContent,\n            placeholder,\n            theme,\n            isDisabled\n        } = this.props;\n\n        const themeClasses = this.generateThemeClasses();\n\n        return (\n            <div\n                className={ themeClasses }\n                ref={ this.wrapperRef }\n            >\n                <textarea\n                    className=\"expanding-note-textarea\"\n                    placeholder={ placeholder }\n                    onChange={ onChange }\n                    onFocus={ this.onFocus }\n                    onBlur={ this.onBlur }\n                    value={ noteContent }\n                    disabled={ isDisabled }\n                />\n                { theme !== ExpandingNoteTheme.Boxed && <hr className=\"active-border\" /> }\n                { theme !== ExpandingNoteTheme.Boxed && <hr className=\"bottom-border\" /> }\n                <div className=\"expanding-note-size\">\n                    { noteContent }\n                </div>\n            </div>\n        );\n    }\n\n    private readonly generateThemeClasses = () : string => {\n        let themeClasses : string = 'expanding-note-container';\n\n        if (this.props.theme === ExpandingNoteTheme.Underline) {\n            themeClasses += ' underline';\n        } else if (this.props.theme === ExpandingNoteTheme.Boxed) {\n            themeClasses += ' boxed';\n        } else if (this.props.theme === ExpandingNoteTheme.Basic) {\n            themeClasses += ' theme-basic';\n        }\n\n        return themeClasses;\n    }\n\n    private onFocus = (event : React.FocusEvent<HTMLTextAreaElement>) => {\n        window.requestAnimationFrame(() => {\n            // inputElement.setSelectionRange(0, 9999);\n            if (this.wrapperElement) {\n                this.wrapperElement.className = this.generateThemeClasses() + ' active';\n            }\n        });\n    }\n\n    private onBlur = (event : React.FocusEvent<HTMLTextAreaElement>) => {\n        if (this.wrapperElement) {\n            this.wrapperElement.className = this.generateThemeClasses();\n        }\n\n        if (this.props.onBlur !== null) {\n            this.props.onBlur(event);\n        }\n    }\n\n    private wrapperRef = (wrapperElement : HTMLDivElement) : void => {\n        this.wrapperElement = wrapperElement;\n    }\n}\n","import React from 'react';\n\nimport { IFileUploadInstance } from './reducers';\n\nimport './FileUpload.scss';\n\nexport interface IFileUploadProps {\n    id : string; // for distinguishing file events from different FileUpload components\n    onFileInputChange : (id : string, index : number, file : File | null) => void;\n    fileUploadState : IFileUploadInstance;\n    maxFileUploadCount : number;\n    buttonText : string | JSX.Element | null;\n    buttonClassName? : string;\n    acceptMultipleFiles? : boolean;\n}\n\nexport class FileUpload extends React.Component<IFileUploadProps, object> {\n    private tagIdentifier : string;\n\n    constructor(props : IFileUploadProps) {\n        super(props);\n\n        this.tagIdentifier = 'FileUpload-' + (+new Date()) + '-' + Math.floor(Math.random() * 999999);\n    }\n\n    public render() {\n        const {\n            id,\n            buttonText,\n            onFileInputChange,\n            fileUploadState,\n            buttonClassName,\n            acceptMultipleFiles,\n            maxFileUploadCount,\n        } = this.props;\n\n        const getOnChangeHandlerAtIndex = (i : number) => {\n            return (event : React.FormEvent<HTMLInputElement>) => {\n                const selectedFiles = event.currentTarget.files;\n                if (selectedFiles !== null) {\n                    for (let j = 0; j < selectedFiles.length; j++) {\n                        onFileInputChange(id, i + j, selectedFiles[j]);\n                    }\n                }\n            };\n        };\n\n        const fileInputs : Array<JSX.Element> = [];\n\n        for (let i = 0; i < fileUploadState.length; i++) {\n            const file = fileUploadState[i];\n            if (file !== null) {\n                const onRemove = () => {\n                    onFileInputChange(id, i, null);\n                };\n\n                // The file input here does is not currently shown due to styling.\n                fileInputs.push(\n                    <span key={ i } className=\"file-upload-name\">\n                        <span className=\"file-name ellipsis-out\">{ file.name }</span>\n                        <input multiple={ acceptMultipleFiles ? true : false } type=\"file\" onChange={ getOnChangeHandlerAtIndex(i) } />\n                        <button onClick={ onRemove } className=\"btn bevspot-button right flat\">\n                            <span className=\"button-text-container\">remove</span>\n                        </button>\n                    </span>\n                );\n            }\n        }\n\n        const chooseFileButtonClasses = `btn bevspot-button upload-file ${ (typeof buttonClassName !== 'undefined') ? buttonClassName : 'primary' }`;\n\n        const addFileIndex = fileUploadState.length;\n        if (fileInputs.length < maxFileUploadCount) {\n            fileInputs.push(\n                <div key={ addFileIndex } className=\"add-file\" >\n                    <input multiple={ acceptMultipleFiles ? true : false } type=\"file\" name=\"file\" id={ this.tagIdentifier } onChange={ getOnChangeHandlerAtIndex(addFileIndex) } />\n                    { fileInputs.length ?\n                        <label htmlFor={ this.tagIdentifier } className=\"btn bevspot-button flat another\"><span className=\"bevicon bevico-add\"/> Add another</label> :\n                        <label htmlFor={ this.tagIdentifier } className={ chooseFileButtonClasses }>{ buttonText !== null ? buttonText : 'Choose a file...' }</label>\n                    }\n                </div>\n            );\n        }\n\n        return (\n            <div className=\"file-upload\">\n                { fileInputs }\n            </div>\n        );\n    }\n}\n","import { IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nexport const ActionTypes = {\n    SET_FILE : 'FILE_UPLOAD/SET_FILE',\n    RESET_FILE_LIST : 'FILE_UPLOAD/RESET_FILE_LIST',\n};\n\nexport namespace FileUploadActionInterfaces {\n    export interface ISetFile extends IAction {\n        payload : {\n            id : string,\n            index : number,\n            file : File | null;\n        };\n    }\n\n    export interface IResetFileList extends IAction {\n        payload : {\n            id : string,\n        };\n    }\n\n    export interface IFileUploadActionCreators extends IActionCreatorsMapObject {\n        setFile : (id : string, index : number, file : File | null) => ISetFile;\n        resetFileList : (id : string) => IResetFileList; // TODO: this name is misleading. it's really delete file list by id\n    }\n\n    export type IServices = object;\n}\n\nconst setFile = (\n    id : string,\n    index : number,\n    file : File | null,\n) : FileUploadActionInterfaces.ISetFile => ({\n    payload : {\n        id,\n        index,\n        file,\n    },\n    type : ActionTypes.SET_FILE,\n});\n\nconst resetFileList = (\n    id : string,\n) : FileUploadActionInterfaces.IResetFileList => ({\n    payload : {\n        id,\n    },\n    type : ActionTypes.RESET_FILE_LIST,\n});\n\nexport const FileUploadActions : FileUploadActionInterfaces.IFileUploadActionCreators = {\n    setFile,\n    resetFileList,\n};\n","import { Action } from '@reduxjs/toolkit';\n\nimport { ActionTypes, FileUploadActionInterfaces } from './actions';\n\nexport type IFileUploadInstance = Array<File | null>; // null means deleted file\nexport interface IFileUploadState {\n    [key : string] : IFileUploadInstance;\n}\n\nconst fileUploadInitialState : IFileUploadState = {\n};\n\nconst reduceSetFile = (\n    state : IFileUploadState,\n    action : FileUploadActionInterfaces.ISetFile\n) : IFileUploadState => {\n    const fileUploadInstance = state[action.payload.id] || [];\n    return {\n        ...state,\n        [action.payload.id]: [\n            ...fileUploadInstance.slice(0, action.payload.index),\n            action.payload.file,\n            ...fileUploadInstance.slice(action.payload.index + 1),\n        ],\n    };\n};\n\nconst reduceResetFileList = (\n    state : IFileUploadState,\n    action : FileUploadActionInterfaces.IResetFileList\n) : IFileUploadState => {\n    const newState = {\n        ...state\n    };\n    delete newState[action.payload.id];\n    return newState;\n};\n\nexport const FileUploadReducers = (\n    state : IFileUploadState = fileUploadInitialState,\n    action : Action,\n) : IFileUploadState => {\n    switch (action.type) {\n        case ActionTypes.SET_FILE:\n            return reduceSetFile(state, action as FileUploadActionInterfaces.ISetFile);\n        case ActionTypes.RESET_FILE_LIST:\n            return reduceResetFileList(state, action as FileUploadActionInterfaces.IResetFileList);\n        default:\n            return state;\n    }\n};\n","import React from 'react';\nimport './Flex.scss';\n\nexport type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';\nexport type FlexAlign = 'start' | 'end' | 'center' | 'baseline' | 'stretch';\nexport type FlexJustify = 'start' | 'end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\nexport type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';\n\nexport interface IFlexProps {\n    readonly className ? : string;\n    readonly ariaLabel ? : string;\n    readonly direction : FlexDirection;\n    readonly grow ? : number;\n    readonly shrink ? : number;\n    readonly basis ? : number | 'auto';\n    readonly align ? : FlexAlign;\n    readonly justify ? : FlexJustify;\n    readonly inline ? : boolean;\n    readonly wrap ? : FlexWrap;\n    readonly bg ? : string | null;\n    readonly onClick ? : (event : React.MouseEvent<HTMLElement>) => void;\n    readonly children? : React.ReactNode;\n}\n\n// Generic props and state to allow abstractions of this Class\nexport class Flex extends React.Component<IFlexProps, object> {\n    public render() : JSX.Element {\n        const {\n            children,\n            className,\n            ariaLabel,\n            direction,\n            grow,\n            shrink,\n            basis,\n            align,\n            justify,\n            inline,\n            wrap,\n            bg,\n            onClick\n        } = this.props;\n\n        let classNames : string = `flex-ui`;\n\n        if (className !== undefined) {\n            classNames += ` ${className}`;\n        }\n        if (direction) {\n            classNames += ` flex-direction-${direction}`;\n        }\n        if (inline) {\n            classNames += ` flex-inline`;\n        }\n        if (typeof grow === 'number') {\n            classNames += ` flex-grow-${grow}`;\n        }\n        if (typeof shrink === 'number') {\n            classNames += ` flex-shrink-${shrink}`;\n        }\n        if (typeof basis === 'number') {\n            classNames += ` flex-basis-${basis}`;\n        }\n        if (align) {\n            classNames += ` flex-align-${align}`;\n        }\n        if (justify) {\n            classNames += ` flex-justify-${justify}`;\n        }\n        if (bg) {\n            classNames += ` flex-bg-${bg}`;\n        }\n        if (wrap) {\n            classNames += ` flex-wrap-${wrap}`;\n        }\n\n        return (\n            <div className={ classNames } aria-label={ ariaLabel } onClick={ onClick }>\n                { children }\n            </div>\n        );\n    }\n}\n","import moment from 'moment-timezone';\nimport React from 'react';\n\nimport { FreeTrialStatus } from 'api/Location/model/FreeTrialStatus';\nimport { FreeTrialType } from 'api/Location/model/FreeTrialType';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport './FreeTrialStatusIndicator.scss';\n\ninterface IFreeTrialStatusIndicatorProps {\n    readonly currentDateTime : moment.Moment;\n    readonly freeTrialStatus : FreeTrialStatus;\n    readonly size? : 'small' | 'medium' | 'large' | null;\n    readonly shouldIncludeLinks : boolean; // consider a better name\n}\n\nexport class FreeTrialStatusIndicator extends React.Component<IFreeTrialStatusIndicatorProps, object> {\n    public render() {\n        const {\n            currentDateTime,\n            freeTrialStatus,\n            size,\n            shouldIncludeLinks\n        } = this.props;\n\n        const freeTrialStatusText = this.getTrialRemainingText(freeTrialStatus, currentDateTime, shouldIncludeLinks);\n\n        let statusClass : string = '';\n        if (freeTrialStatus.getFreeTrialType() === FreeTrialType.TIME) {\n            statusClass = 'time-based-trial';\n        } else if (freeTrialStatus.getIsFreeTrialExpired()) {\n            statusClass = 'expired-trial';\n        } else {\n            const numberActionItemsRemaining = freeTrialStatus.getNumberOfTrialActionsRemaining();\n            if (((numberActionItemsRemaining.orders !== null) && (numberActionItemsRemaining.orders <= 1)) ||\n                ((numberActionItemsRemaining.inventories !== null) && (numberActionItemsRemaining.inventories <= 1))) {\n                statusClass = 'trial-expiring-soon';\n            } else {\n                statusClass = 'trial-beginning';\n            }\n        }\n\n        const classNames = `free-trial-status-chip free-trial-status-chip-${ size || 'medium' } ${ statusClass }`;\n\n        return (\n            <span className={ classNames }>\n                <span className=\"status dark\">{ freeTrialStatusText }</span>\n            </span>\n        );\n    }\n\n    private readonly getTrialRemainingText = (freeTrialStatus : FreeTrialStatus, currentDateTime : moment.Moment, shouldIncludeLinks : boolean) : JSX.Element => {\n        let freeTrialStatusText : string | JSX.Element = '';\n\n        const linksForLongText = (\n            <span> See <a href={ `/account/billing/r/${ window.GLOBAL_RETAILER_ID }` }>our plans</a>, or <a className=\"schedulue-a-chat hubspot-meeting-scheduler-modal-show-trigger\">schedule a call</a>.</span>\n        );\n\n        if (freeTrialStatus.getIsFreeTrialExpired()) {\n            freeTrialStatusText = `Expired${ shouldIncludeLinks ? '.' : '' }`;\n        } else {\n            switch (freeTrialStatus.getFreeTrialType()) {\n                case FreeTrialType.TIME:\n                    const endDateTime = freeTrialStatus.getEndDate();\n                    if (endDateTime === null) {\n                        throw new RuntimeException('unexpected');\n                    }\n                    freeTrialStatusText = `${ currentDateTime.to(endDateTime, true) } left!`;\n                    break;\n                case FreeTrialType.ACTION:\n                    const actionItemsRemaining = freeTrialStatus.getNumberOfTrialActionsRemaining();\n                    const {\n                        inventories,\n                        orders,\n                        salesItems,\n                    } = actionItemsRemaining;\n\n                    if (shouldIncludeLinks) {\n                        freeTrialStatusText = (\n                            <span>\n                                <a href={ `/inventory/history/r/${ window.GLOBAL_RETAILER_ID }` }>{ `${ (inventories === null) ? 'Unlimited' : inventories } inventor${ inventories === 1 ? 'y' : 'ies' }` }</a>{ ', ' }\n                                <a href={ `/ordering/record/r/${ window.GLOBAL_RETAILER_ID }` }>{ `${ (orders === null) ? 'Unlimited' : orders } order${ orders === 1 ? '' : 's' }` }</a>{ ', and ' }\n                                <a href={ `/sales/items/overview/r/${ window.GLOBAL_RETAILER_ID }` }>{ `${ (salesItems === null) ? 'Unlimited' : salesItems } recipe${ salesItems === 1 ? '' : 's' }` }</a> left!\n                            </span>\n                        );\n                    } else {\n                        freeTrialStatusText = `\\\n                            ${ (actionItemsRemaining.inventories === null) ? 'Unlimited' : inventories } inventor${ inventories === 1 ? 'y' : 'ies' }, \\\n                            ${ (actionItemsRemaining.orders === null) ? 'Unlimited' : orders } order${ orders === 1 ? '' : 's' }, and \\\n                            ${ (actionItemsRemaining.salesItems === null) ? 'Unlimited' : salesItems } recipe${ salesItems === 1 ? '' : 's' } left!`;\n                    }\n                    break;\n            }\n        }\n\n        return (\n            <span>\n                BevSpot Pro Trial: { freeTrialStatusText }\n                { shouldIncludeLinks && linksForLongText }\n            </span>\n        );\n    }\n}\n","// This component might not be generalized enough to be used everywhere. Feel free to update when using.\nimport React from 'react';\n\nimport { GroupByOption } from 'shared/models/GroupByOption';\n\nimport { DropdownMenu, IOption } from 'shared/components/Dropdown/DropdownMenu';\n\nconst defaultGroupByOptions : Array<GroupByOption> = [GroupByOption.ALL_ITEMS, GroupByOption.CATEGORY, GroupByOption.DISTRIBUTOR, GroupByOption.ITEM_TYPE];\n\nconst iOptionByGroupByOption = {\n    [GroupByOption.ALL_ITEMS]: {\n        icon : null,\n        label : 'Group by All Items',\n        value : GroupByOption[GroupByOption.ALL_ITEMS],\n    },\n    [GroupByOption.CATEGORY]: {\n        icon : null,\n        label : 'Group by Category',\n        value : GroupByOption[GroupByOption.CATEGORY],\n    },\n    [GroupByOption.DISTRIBUTOR]: {\n        icon : null,\n        label : 'Group by Vendor',\n        value : GroupByOption[GroupByOption.DISTRIBUTOR],\n    },\n    [GroupByOption.ITEM_TYPE]: {\n        icon : null,\n        label : 'Group by Subcategory',\n        value : GroupByOption[GroupByOption.ITEM_TYPE],\n    },\n    [GroupByOption.LAST_EDITED]: {\n        icon : null,\n        label : 'Group by Last Edited',\n        value : GroupByOption[GroupByOption.LAST_EDITED],\n    },\n    [GroupByOption.GL_CODE] : {\n        icon : null,\n        label : 'Group by GL Code',\n        value : GroupByOption[GroupByOption.GL_CODE],\n    },\n    [GroupByOption.MENU_GROUP] : {\n        icon : null,\n        label : 'Group by Menu Group',\n        value : GroupByOption[GroupByOption.MENU_GROUP],\n    }\n};\n\nexport interface IGroupByDropdown<T extends GroupByOption = GroupByOption> {\n    setDropdownOptionsShown : (isShown : boolean) => void;\n    setSelectedOption : (groupByOption : T) => void;\n    dropdownOptionsShown : boolean;\n    selectedOption : T;\n    availableGroupByOptions? : Array<T>;\n}\n\nexport class GroupByDropdown<T extends GroupByOption = GroupByOption> extends React.Component<IGroupByDropdown<T>, object> {\n    public render() {\n        const {\n            selectedOption,\n            dropdownOptionsShown,\n            availableGroupByOptions,\n        } = this.props;\n\n        let optionsForDropdownMenu : Array<IOption>;\n        if (typeof availableGroupByOptions === 'undefined') {\n            optionsForDropdownMenu = defaultGroupByOptions.map((groupByOption) => iOptionByGroupByOption[groupByOption]);\n        } else {\n            optionsForDropdownMenu = availableGroupByOptions.map((groupByOption) => iOptionByGroupByOption[groupByOption]);\n        }\n\n        const selectedOptionValue = selectedOption;\n        return (\n            <DropdownMenu\n                styleType=\"outline\"\n                options={ optionsForDropdownMenu }\n                placeholderText=\"\"\n                onOptionClick={ this.onOptionClick }\n                onClick={ this.onClick }\n                onBlur={ this.onBlur }\n                dropdownOptionsShown={ dropdownOptionsShown }\n                selectedOptionValue={ selectedOptionValue }\n            />\n        );\n    }\n\n    private readonly onClick = () => {\n        const {\n            dropdownOptionsShown,\n        } = this.props;\n        this.props.setDropdownOptionsShown(!dropdownOptionsShown);\n    }\n\n    private readonly onOptionClick = (option : IOption) => {\n        const {\n            setDropdownOptionsShown,\n            setSelectedOption,\n        } = this.props;\n        const selectedGroupByOption = option.value as T;\n        setDropdownOptionsShown(false);\n        setSelectedOption(selectedGroupByOption);\n    }\n\n    private readonly onBlur = () => {\n        this.props.setDropdownOptionsShown(false);\n    }\n\n}\n","import React from 'react';\n\nimport './HubSpotChat.scss';\n\nexport class HubSpotChat extends React.Component<object, object> {\n    public render() {\n\n        window.hsConversationsSettings = {\n            loadImmediately: false,\n            inlineEmbedSelector: '#bevspot-hs-chat'\n        };\n\n        if (window._elev) {\n            window._elev.events = {\n                moduleOpened: (id: number) => {\n                    if (id === 27 && window.HubSpotConversations) {\n                        window.HubSpotConversations.widget.load({ widgetOpen: true });\n                    }\n                },\n            };\n        }\n\n        return (\n            <div id=\"bevspot-hs-chat\">\n                <span className=\"close-chat bevicon bevico-close\" onClick={ this.onCloseLiveChatClick }/>\n            </div>\n        );\n        \n    }\n\n    private readonly onCloseLiveChatClick = () => {\n        if (window.HubSpotConversations) {\n            window.HubSpotConversations.widget.remove();\n        }\n    }\n}\n","import React, { Fragment } from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { IIngredientInformation } from 'api/SalesItem/utils/SalesItemDisplayUtils';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH } from 'shared/constants';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\nimport { numberUtils } from 'shared/utils/numberUtils';\nimport { Flex } from '../FlexLayout/Flex';\nimport { PositionablePopupSide } from '../PositionablePopup/PositionablePopup';\n\nimport './IngredientsBreakdownPopover.scss';\n\nexport interface IIngredientsBreakdownPopoverProps {\n    anchorContent : JSX.Element;\n    ingredientsInformation : Array<IIngredientInformation>;\n    popoverIsShown : boolean;\n    setPopoverShown : (isShown : boolean) => void;\n    preferredPositionArray? : Array<PositionablePopupSide>;\n}\n\nexport class IngredientsBreakdownPopover extends React.Component<IIngredientsBreakdownPopoverProps, object> {\n\n    public render() {\n        const {\n            anchorContent,\n            popoverIsShown,\n            setPopoverShown,\n            preferredPositionArray,\n            ingredientsInformation\n        } = this.props;\n\n        return (\n            <Popover\n                className=\"ingredients-popover\"\n                showOnHover={ true }\n                preferredPositionArray={ preferredPositionArray || ['below'] }\n                popoverContentIsShown={ popoverIsShown }\n                setPopoverContentIsShown={ setPopoverShown }\n                anchorContent={ anchorContent }\n                popoverContent={ (\n                    <Flex direction=\"column\" className=\"flex-p-1 ingredients-table\" justify=\"center\">\n                        <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                            <Flex direction=\"row\" className=\"row-item-container\">\n                                <Flex direction=\"row\" grow={ 4 }>\n                                    <span className=\"popover-header-text\">Ingredient</span>\n                                </Flex>\n                                <Flex direction=\"row\" grow={ 3 } justify=\"center\">\n                                    <span className=\"popover-header-text\">Qty/Serving</span>\n                                </Flex>\n                                <Flex direction=\"row\" grow={ 3 } justify=\"center\">\n                                    <span className=\"popover-header-text\">Cost/Serving</span>\n                                </Flex>\n                            </Flex>\n                        </MediaQuery>\n                        { ingredientsInformation.map((ingredientInformation : IIngredientInformation) => {\n                            const rowClassName = ingredientInformation.isInactive\n                                ? 'row-item-container inactive-ingredient'\n                                : 'row-item-container';\n\n                            return (\n                                <Fragment key={ ingredientInformation.ingredientLabel }>\n                                    <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                                        <Flex direction=\"row\" className={ rowClassName }>\n                                            <Flex direction=\"row\" grow={ 4 }>\n                                                <span className=\"ingredient-label\">{ ingredientInformation.ingredientLabel }</span>\n                                            </Flex>\n                                            <Flex direction=\"row\" grow={ 3 } justify=\"center\">\n                                                <span>{ numberUtils.FormatToMaximumTwoDecimalPlaces(ingredientInformation.quantityAmount) } { ingredientInformation.quantityUnitLabel }</span>\n                                            </Flex>\n                                            <Flex direction=\"row\" grow={ 3 } justify=\"center\">\n                                                <span>{ ingredientInformation.costOfIngredient !== null ? FormatMonetaryValueWithCents(ingredientInformation.costOfIngredient) : 'N/A' }</span>\n                                            </Flex>\n                                        </Flex>\n                                    </MediaQuery>\n                                    <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                                        <Flex direction=\"column\" justify=\"space-between\" className={ `item-container ${ingredientInformation.isInactive ? 'inactive-ingredient' : ''}` }>\n                                            <Flex direction=\"row\" justify=\"space-between\" className=\"row-item-container\">\n                                                <span className=\"ingredient-label\">{ ingredientInformation.ingredientLabel }</span>\n                                            </Flex>\n                                            <Flex direction=\"row\" justify=\"space-between\" className=\"row-item-container\">\n                                                <span className=\"popover-header-text\">Qty/Serving</span>\n                                                <span>{ numberUtils.FormatToMaximumTwoDecimalPlaces(ingredientInformation.quantityAmount) } { ingredientInformation.quantityUnitLabel }</span>\n                                            </Flex>\n                                            <Flex direction=\"row\" justify=\"space-between\" className=\"row-item-container\">\n                                            <span className=\"popover-header-text\">Cost/Serving</span>\n                                                <span>{ ingredientInformation.costOfIngredient !== null ? FormatMonetaryValueWithCents(ingredientInformation.costOfIngredient) : 'N/A' }</span>\n                                            </Flex>\n                                        </Flex>\n                                    </MediaQuery>\n                                </Fragment>\n                            );\n                        }) }\n                    </Flex>\n                ) }\n            />\n        );\n    }\n}\n","import React from 'react';\nimport './InlineEditWrapper.scss';\n\nexport enum InlineEditComponentSaveState { // TODO could have a \"queued\" state to keep track of things that haven't started saving?\n    SAVE_IN_PROGRESS = 'SAVE_IN_PROGRESS',\n    FINISHED_SAVING = 'FINISHED_SAVING'\n}\n\ninterface IInlineEditWrapperProps<T> {\n    className : string;\n    inlineEditComponentName : T;\n\n    inlineEditSaveState : InlineEditComponentSaveState | null | undefined;\n    inlineEditingComponentIsShown : boolean | undefined;\n\n    handleOnEditClick : (event : React.MouseEvent<HTMLElement> | React.FocusEvent<HTMLElement>, field : T) => void;\n    children : React.ReactNode;\n}\n\n// TODO if this is ever used in more places than just MyItemRow and RecentUploadItemRow, it should also wrap the inline edit components.\nexport class InlineEditWrapper<T> extends React.PureComponent<IInlineEditWrapperProps<T>, object> {\n    public render() {\n        const {\n            inlineEditingComponentIsShown,\n            inlineEditSaveState,\n            children,\n            className\n        } = this.props;\n\n        // note: ellipsis-out messes with our dropdown components, so cannot use if inline edit component is open...\n        let classes = className + ' inline-edit-wrapper';\n        if (inlineEditingComponentIsShown) {\n            classes += ' inline-edit-shown';\n        }\n\n        return (\n            <div className={ classes } tabIndex={ 0 } onClick={ this.handleOnClick } onFocusCapture={ this.handleOnClick }>\n                { children }\n                <div className=\"save-state-icon-wrapper\">\n                    { !inlineEditingComponentIsShown && inlineEditSaveState === InlineEditComponentSaveState.SAVE_IN_PROGRESS &&\n                        <span className=\"save-state-icon bevicon bevico-spinner8\" />\n                    }\n                    { !inlineEditingComponentIsShown && inlineEditSaveState === InlineEditComponentSaveState.FINISHED_SAVING &&\n                        <span className=\"save-state-icon bevicon bevico-check\" />\n                    }\n                </div>\n            </div>\n        );\n    }\n\n    private readonly handleOnClick = (event : React.MouseEvent<HTMLElement> | React.FocusEvent<HTMLElement>) => {\n        if (!this.props.inlineEditingComponentIsShown) {\n            this.props.handleOnEditClick(event, this.props.inlineEditComponentName);\n        }\n    }\n}\n","import React from 'react';\n\nimport { LoadingCover } from 'shared/components/LoadingCover';\n\nimport 'shared/css/IntegrationStatusBlock.scss';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { IntegrationStatus } from 'shared/models/IntegrationStatus';\n\nexport interface IIntegrationStatusLabel {\n    isLoading : boolean;\n    integrationStatus : IntegrationStatus;\n}\n\nexport class IntegrationStatusLabel extends React.Component<IIntegrationStatusLabel, object> {\n    public render() {\n        const {\n            integrationStatus,\n            isLoading,\n        } = this.props;\n\n        let statusString : string;\n        let statusClass : string;\n        let tooltipText : string | null;\n\n        switch (integrationStatus) {\n            case IntegrationStatus.CONNECTED:\n                statusString = 'Connected';\n                statusClass = 'connected';\n                tooltipText = null;\n                break;\n            case IntegrationStatus.NEEDS_ATTENTION:\n                statusString = 'Needs Attention';\n                statusClass = 'needs-attention';\n                tooltipText = 'We cannot access your POS with the information you have provided.';\n                break;\n            case IntegrationStatus.UNCONNECTED:\n            default:\n                throw new RuntimeException('unexpected integration status: ' + integrationStatus);\n        }\n\n        return (\n        <button className={ 'integration-status cell ' + statusClass } >\n            { isLoading &&\n                <LoadingCover\n                    className=\"overlay-light\"\n                    hasLoadingIcon={ true }\n                />\n            }\n            { tooltipText &&\n                <div className=\"tip-contain\">\n                    <span className=\"btn-tooltip top\">\n                        { tooltipText }\n                    </span>\n                </div>\n            }\n            <div className=\"cell status-string\">\n                { statusString }\n            </div>\n        </button>\n        );\n    }\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\n\nimport { Button } from 'shared/components/Button';\n\nimport { DropdownMenu, IDropdownMenuProps, IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { IInventoryPeriodSelectorState } from 'shared/components/InventoryPeriodSelector/InventoryPeriodSelectorState';\nimport { IFullInventory } from 'shared/models/Inventory';\n\nimport { InventoryPeriodSelectorActions, TypedDispatch } from 'shared/components/InventoryPeriodSelector/InventoryPeriodSelectorActions';\n\nimport './InventoryPeriodSelector.scss';\n\nexport interface IInventoryPeriodSelectorProps {\n    startInventorySelectProps : IDropdownMenuProps;\n    endInventorySelectProps : IDropdownMenuProps;\n    onSubmit : () => Promise<void>;\n    shouldShowPeriodStartIsNotEarlierThanEndError : boolean;\n    submitButtonText? : string;\n}\n\nexport class InventoryPeriodSelector extends React.Component<IInventoryPeriodSelectorProps, object> {\n    public render() {\n        const {\n            startInventorySelectProps,\n            endInventorySelectProps,\n            shouldShowPeriodStartIsNotEarlierThanEndError,\n            onSubmit,\n            submitButtonText\n        } = this.props;\n\n        const submitButtonChildren : JSX.Element = submitButtonText ? (<div>{ submitButtonText }</div>) : (<div>Run <span className=\"hidden-xs\">Report</span></div>);\n\n        return (\n            <div className=\"inventory-period-selector\">\n                <DropdownMenu\n                    styleType={ startInventorySelectProps.styleType }\n                    onClick={ startInventorySelectProps.onClick }\n                    onBlur={ startInventorySelectProps.onBlur }\n                    dropdownOptionsShown={ startInventorySelectProps.dropdownOptionsShown }\n                    onOptionClick={ startInventorySelectProps.onOptionClick }\n                    selectedOptionValue={ startInventorySelectProps.selectedOptionValue }\n                    options={ startInventorySelectProps.options }\n                    placeholderText={ null }\n                />\n                <span className=\"bevicon bevico-arrow-forward\"/>\n                <DropdownMenu\n                    styleType={ endInventorySelectProps.styleType }\n                    onClick={ endInventorySelectProps.onClick }\n                    onBlur={ endInventorySelectProps.onBlur }\n                    dropdownOptionsShown={ endInventorySelectProps.dropdownOptionsShown }\n                    onOptionClick={ endInventorySelectProps.onOptionClick }\n                    selectedOptionValue={ endInventorySelectProps.selectedOptionValue }\n                    options={ endInventorySelectProps.options }\n                    placeholderText={ null }\n                />\n                <Button\n                    buttonClassName=\"submit-inventory-period\"\n                    isDisabled={ shouldShowPeriodStartIsNotEarlierThanEndError }\n                    isLoading={ false }\n                    onClick={ onSubmit }\n                >\n                    { submitButtonChildren }\n                </Button>\n                { shouldShowPeriodStartIsNotEarlierThanEndError &&\n                    <div className=\"error-text\">\n                        Starting inventory must be earlier than ending inventory.\n                    </div>\n                }\n            </div>\n        );\n    }\n}\n\nexport interface IConnectedInventoryPeriodSelectorProps {\n    onSubmitInventoryPeriod : (startInventoryId : string, endInventoryId : string) => Promise<void>;\n}\n\ninterface IMapStateToProps {\n    inventoryPeriodSelectorState : IInventoryPeriodSelectorState;\n}\nconst mapStateToProps = (state : IMapStateToProps, ownProps : IConnectedInventoryPeriodSelectorProps) : IMapStateToProps => {\n    return {\n        inventoryPeriodSelectorState : state.inventoryPeriodSelectorState,\n    };\n};\n\ninterface IMapDispatchToProps {\n    dispatch : TypedDispatch;\n}\nconst mapDispatchToProps = (dispatch : TypedDispatch, ownProps : IConnectedInventoryPeriodSelectorProps) : IMapDispatchToProps => {\n    return {\n        dispatch\n    };\n};\n\nconst mergeProps = (stateProps : IMapStateToProps, dispatchProps : IMapDispatchToProps, ownProps : IConnectedInventoryPeriodSelectorProps) : IInventoryPeriodSelectorProps => {\n    const {\n        dispatch,\n    } = dispatchProps;\n\n    const {\n        inventoryPeriodSelectorState\n    } = stateProps;\n\n    const options : Array<IOption> = [];\n    inventoryPeriodSelectorState.sortedInventories.forEach((inventory : IFullInventory) => {\n        options.push({\n            label: inventory.date.getValue('MMM. DD YYYY') + ' ' + inventory.name,\n            value: inventory.id,\n            icon: null\n        });\n    });\n\n    let shouldShowPeriodStartIsNotEarlierThanEndError : boolean;\n    if (inventoryPeriodSelectorState.selectedStartInventoryId === null || inventoryPeriodSelectorState.selectedEndInventoryId === null) {\n        shouldShowPeriodStartIsNotEarlierThanEndError = false;\n    } else {\n        const datesByInventoryId = inventoryPeriodSelectorState.datesByInventoryId;\n        shouldShowPeriodStartIsNotEarlierThanEndError = datesByInventoryId[inventoryPeriodSelectorState.selectedStartInventoryId].toMilliseconds() >= datesByInventoryId[inventoryPeriodSelectorState.selectedEndInventoryId].toMilliseconds();\n    }\n\n    const startInventorySelectProps : IDropdownMenuProps =  {\n        styleType: 'outline',\n        placeholderText: '',\n        onClick: () => dispatch(InventoryPeriodSelectorActions.setStartInventoryOptionsShown(!inventoryPeriodSelectorState.startInventoryOptionsShown)),\n        onOptionClick: (option : IOption) => {\n            dispatch(InventoryPeriodSelectorActions.setStartInventoryId(option.value));\n            dispatch(InventoryPeriodSelectorActions.setStartInventoryOptionsShown(false));\n        },\n        options,\n        dropdownOptionsShown: inventoryPeriodSelectorState.startInventoryOptionsShown,\n        selectedOptionValue: inventoryPeriodSelectorState.selectedStartInventoryId,\n        onBlur: () => dispatch(InventoryPeriodSelectorActions.setStartInventoryOptionsShown(false)),\n    };\n\n    const endInventorySelectProps : IDropdownMenuProps = {\n        styleType: 'outline',\n        placeholderText: '',\n        onClick: () => dispatch(InventoryPeriodSelectorActions.setEndInventoryOptionsShown(!inventoryPeriodSelectorState.endInventoryOptionsShown)),\n        onOptionClick: (option : IOption) => {\n            dispatch(InventoryPeriodSelectorActions.setEndInventoryId(option.value));\n            dispatch(InventoryPeriodSelectorActions.setEndInventoryOptionsShown(false));\n        },\n        options,\n        dropdownOptionsShown: inventoryPeriodSelectorState.endInventoryOptionsShown,\n        selectedOptionValue: inventoryPeriodSelectorState.selectedEndInventoryId,\n        onBlur: () => dispatch(InventoryPeriodSelectorActions.setEndInventoryOptionsShown(false))\n    };\n\n    return {\n        startInventorySelectProps,\n        endInventorySelectProps,\n        onSubmit : () => {\n            if (inventoryPeriodSelectorState.selectedStartInventoryId !== null && inventoryPeriodSelectorState.selectedEndInventoryId !== null) {\n                return ownProps.onSubmitInventoryPeriod(inventoryPeriodSelectorState.selectedStartInventoryId, inventoryPeriodSelectorState.selectedEndInventoryId);\n            }\n            return Promise.resolve();\n        },\n        shouldShowPeriodStartIsNotEarlierThanEndError,\n    };\n};\n\nexport const ConnectedInventoryPeriodSelector =\n    connect<IMapStateToProps, IMapDispatchToProps, IConnectedInventoryPeriodSelectorProps, IInventoryPeriodSelectorProps, IMapStateToProps>(mapStateToProps, mapDispatchToProps, mergeProps)(InventoryPeriodSelector);\n","import { BevSpotDispatch } from \"shared/components/Provider\";\nimport { ThunkAction, IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport { IInventoryPeriodSelectorState } from './InventoryPeriodSelectorState';\n\nimport { DjangoApiManager } from 'shared/api/DjangoApiManager';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { DateTime, Timezone } from 'shared/models/DateTime';\nimport { IFullInventory } from 'shared/models/Inventory';\nimport { MongoDataInterfaces } from 'shared/models/LegacyDataInterfaces';\n\nexport interface IInventoryPeriodSelectorStore {\n    inventoryPeriodSelectorState : IInventoryPeriodSelectorState;\n}\n\nexport const ActionTypes = {\n    SET_START_INVENTORY_OPTIONS_SHOWN: 'INVENTORY_PERIOD_SELECTOR/SET_START_INVENTORY_OPTIONS_SHOWN',\n    SET_START_INVENTORY_ID: 'INVENTORY_PERIOD_SELECTOR/SET_START_INVENTORY_ID',\n    SET_END_INVENTORY_OPTIONS_SHOWN: 'INVENTORY_PERIOD_SELECTOR/SET_END_INVENTORY_OPTIONS_SHOWN',\n    SET_END_INVENTORY_ID: 'INVENTORY_PERIOD_SELECTOR/SET_END_INVENTORY_ID',\n    FETCH_INVENTORIES_REQUEST : 'INVENTORY_PERIOD_SELECTOR/FETCH_INVENTORIES_REQUEST',\n    FETCH_INVENTORIES_SUCCESS : 'INVENTORY_PERIOD_SELECTOR/FETCH_INVENTORIES_SUCCESS',\n    FETCH_INVENTORIES_FAILURE : 'INVENTORY_PERIOD_SELECTOR/FETCH_INVENTORIES_FAILURE',\n};\n\nexport namespace ActionInterfaces {\n    export interface IFetchInventoriesRequest extends IAction {\n        payload : {\n            retailerId : string\n        };\n    }\n    export interface IFetchInventoriesSuccess extends IAction {\n        payload : {\n            inventories : Array<IFullInventory>\n        };\n    }\n    export interface IFetchInventoriesFailure extends IAction {\n    }\n\n    export interface ISetStartInventoryOptionsShown extends IAction {\n        payload : {\n            showOptions : boolean\n        };\n    }\n    export interface ISetStartInventoryId extends IAction {\n        payload : {\n            inventoryId : string\n        };\n    }\n\n    export interface ISetEndInventoryOptionsShown extends IAction {\n        payload : {\n            showOptions : boolean\n        };\n    }\n    export interface ISetEndInventoryId extends IAction {\n        payload : {\n            inventoryId : string\n        };\n    }\n\n    export interface IInventoryPeriodSelectorActionCreators extends IActionCreatorsMapObject {\n        setStartInventoryOptionsShown(shown : boolean) : ISetStartInventoryOptionsShown;\n        setStartInventoryId(inventoryId : string) : ISetStartInventoryId;    // where to handle null?\n        setEndInventoryOptionsShown(shown : boolean) : ISetEndInventoryOptionsShown;\n        setEndInventoryId(inventoryId : string) : ISetEndInventoryId;\n        fetchInventoriesForRetailer(\n            retailerId : string,\n            timezone : Timezone\n        ) : ThunkAction<Promise<Array<IFullInventory>>, IInventoryPeriodSelectorStore, {services : ActionInterfaces.IServices}>;\n    }\n\n    export interface IServices {\n        djangoApiManager : DjangoApiManager;\n    }\n}\n\nexport type TypedDispatch = BevSpotDispatch<IInventoryPeriodSelectorStore, {services : ActionInterfaces.IServices}>\n\n// These action creators are exported only for test purposes.\nexport const fetchInventoriesRequest = (\n    retailerId : string\n) : ActionInterfaces.IFetchInventoriesRequest => ({\n    payload: {\n        retailerId\n    },\n    type: ActionTypes.FETCH_INVENTORIES_REQUEST\n});\n\nexport const fetchInventoriesSuccess = (\n    inventories : Array<IFullInventory>\n) : ActionInterfaces.IFetchInventoriesSuccess => ({\n    payload: {\n        inventories\n    },\n    type: ActionTypes.FETCH_INVENTORIES_SUCCESS,\n});\n\nexport const fetchInventoriesFailure = (\n    error : Error\n) : ActionInterfaces.IFetchInventoriesFailure => ({\n    payload: {\n        error\n    },\n    type: ActionTypes.FETCH_INVENTORIES_FAILURE,\n});\n\nexport const setStartInventoryOptionsShown = (\n    showOptions : boolean\n) : ActionInterfaces.ISetStartInventoryOptionsShown => ({\n    payload: {\n        showOptions\n    },\n    type: ActionTypes.SET_START_INVENTORY_OPTIONS_SHOWN\n});\n\nexport const setStartInventoryId = (\n    inventoryId : string\n) : ActionInterfaces.ISetStartInventoryId => ({\n    payload : {\n        inventoryId\n    },\n    type: ActionTypes.SET_START_INVENTORY_ID\n});\n\nexport const setEndInventoryOptionsShown = (\n    showOptions : boolean\n) : ActionInterfaces.ISetEndInventoryOptionsShown => ({\n    payload: {\n        showOptions\n    },\n    type: ActionTypes.SET_END_INVENTORY_OPTIONS_SHOWN\n});\n\nexport const setEndInventoryId = (\n    inventoryId : string\n) : ActionInterfaces.ISetEndInventoryId => ({\n    payload : {\n        inventoryId\n    },\n    type: ActionTypes.SET_END_INVENTORY_ID\n});\n\nconst fetchInventoriesForRetailer = (\n    retailerId : string,\n    timezone : Timezone\n) : ThunkAction<Promise<Array<IFullInventory>>, IInventoryPeriodSelectorStore, {services : ActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<Array<IFullInventory>> => {\n        dispatch(fetchInventoriesRequest(retailerId));\n        return extraArguments.services.djangoApiManager.getInventoriesSortedByDate(retailerId, 0, 10000)\n        .then((data : Array<MongoDataInterfaces.IInventory>) => {\n            const serializedData : Array<IFullInventory> = data\n            .filter((inventory : MongoDataInterfaces.IInventory) => !inventory.is_partial)\n            .map((inventory : MongoDataInterfaces.IInventory) => {\n                return {\n                    id: inventory.id,\n                    date: new DateTime({\n                        format: 'YYYY-MM-DD HH:mm:ss',\n                        timezone,\n                        utcTime: inventory.date,\n                    }),\n                    name: inventory.name,\n                };\n            });\n            dispatch(fetchInventoriesSuccess(serializedData));\n            return Promise.resolve(serializedData);\n        })\n        .catch((error : Error) => {\n            dispatch(fetchInventoriesFailure(error));\n            // redirect to error page\n            throw new RuntimeException(error.stack);\n        });\n    };\n};\n\nexport const InventoryPeriodSelectorActions : ActionInterfaces.IInventoryPeriodSelectorActionCreators = {\n    setStartInventoryOptionsShown,\n    setStartInventoryId,\n    setEndInventoryOptionsShown,\n    setEndInventoryId,\n    fetchInventoriesForRetailer,\n};\n","import merge from 'lodash/merge';\nimport { Action } from '@reduxjs/toolkit';\n\nimport { IDatesByInventoryId } from 'shared/models/IDatesByInventoryId';\nimport { IFullInventory } from 'shared/models/Inventory';\nimport { IInventoryPeriodSelectorState } from './InventoryPeriodSelectorState';\n\nimport { ActionInterfaces, ActionTypes } from './InventoryPeriodSelectorActions';\n\n/*\nThis is NOT a true shared component - only one instance of inventory period selector can be maintained in a connected app using these reducers.\n*/\nconst initialState : IInventoryPeriodSelectorState = {\n    isLoading : false,\n    datesByInventoryId : {},\n    sortedInventories : [],\n    selectedStartInventoryId : null,\n    selectedEndInventoryId : null,\n    startInventoryOptionsShown : false,\n    endInventoryOptionsShown : false,\n};\n\nconst setStartInventoryOptionsShown = (\n    state : IInventoryPeriodSelectorState,\n    action : ActionInterfaces.ISetStartInventoryOptionsShown\n) : IInventoryPeriodSelectorState => {\n    const updates = {\n        startInventoryOptionsShown : action.payload.showOptions\n    };\n    return merge({}, state, updates);\n};\n\nconst setStartInventory = (\n    state : IInventoryPeriodSelectorState,\n    action : ActionInterfaces.ISetStartInventoryId\n) : IInventoryPeriodSelectorState => {\n    const updates = {\n        selectedStartInventoryId : action.payload.inventoryId\n    };\n    return merge({}, state, updates);\n};\n\nconst setEndInventoryOptionsShown = (\n    state : IInventoryPeriodSelectorState,\n    action : ActionInterfaces.ISetEndInventoryOptionsShown\n) : IInventoryPeriodSelectorState => {\n    const updates = {\n        endInventoryOptionsShown : action.payload.showOptions\n    };\n    return merge({}, state, updates);\n};\n\nconst setEndInventory = (\n    state : IInventoryPeriodSelectorState,\n    action : ActionInterfaces.ISetEndInventoryId\n) : IInventoryPeriodSelectorState => {\n    const updates = {\n        selectedEndInventoryId : action.payload.inventoryId\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceFetchInventoriesRequest = (\n    state : IInventoryPeriodSelectorState,\n    action : ActionInterfaces.IFetchInventoriesRequest,\n) : IInventoryPeriodSelectorState => {\n    const updates = {\n        isLoading : true\n    };\n    return merge({}, state, updates);\n};\n\nconst reduceFetchInventoriesSuccess = (\n    state : IInventoryPeriodSelectorState,\n    action : ActionInterfaces.IFetchInventoriesSuccess,\n) : IInventoryPeriodSelectorState => {\n    const sortedInventories = action.payload.inventories;\n    // TODO: move this to thunk/utils?\n    const datesByInventoryId : IDatesByInventoryId = {};\n    sortedInventories.forEach((inventory : IFullInventory) => {\n        datesByInventoryId[inventory.id] = inventory.date;\n    });\n    const updates : IInventoryPeriodSelectorState = {\n        isLoading : false,\n        startInventoryOptionsShown : false,\n        endInventoryOptionsShown : false,\n        selectedStartInventoryId : null,\n        selectedEndInventoryId : null,\n        sortedInventories,\n        datesByInventoryId,\n    };\n    return Object.assign({}, state, updates);\n};\n\nconst reduceFetchInventoriesFailure = (\n    state : IInventoryPeriodSelectorState,\n    action : ActionInterfaces.IFetchInventoriesFailure,\n) : IInventoryPeriodSelectorState => {\n    const updates = {\n        isLoading : false\n    };\n    return merge({}, state, updates);\n};\n\nexport const InventoryPeriodSelectorReducers = (\n    state : IInventoryPeriodSelectorState = initialState,\n    action : Action\n) : IInventoryPeriodSelectorState => {\n    switch (action.type) {\n        case ActionTypes.SET_START_INVENTORY_OPTIONS_SHOWN:\n            return setStartInventoryOptionsShown(\n                state,\n                action as ActionInterfaces.ISetStartInventoryOptionsShown\n            );\n        case ActionTypes.SET_START_INVENTORY_ID:\n            return setStartInventory(\n                state,\n                action as ActionInterfaces.ISetStartInventoryId\n            );\n        case ActionTypes.SET_END_INVENTORY_OPTIONS_SHOWN:\n            return setEndInventoryOptionsShown(\n                state,\n                action as ActionInterfaces.ISetEndInventoryOptionsShown\n            );\n        case ActionTypes.SET_END_INVENTORY_ID:\n            return setEndInventory(\n                state,\n                action as ActionInterfaces.ISetEndInventoryId\n            );\n        case ActionTypes.FETCH_INVENTORIES_REQUEST:\n            return reduceFetchInventoriesRequest(\n                state,\n                action as ActionInterfaces.IFetchInventoriesRequest\n            );\n        case ActionTypes.FETCH_INVENTORIES_SUCCESS:\n            return reduceFetchInventoriesSuccess(\n                state,\n                action as ActionInterfaces.IFetchInventoriesSuccess\n            );\n        case ActionTypes.FETCH_INVENTORIES_FAILURE:\n            return reduceFetchInventoriesFailure(\n                state,\n                action as ActionInterfaces.IFetchInventoriesFailure\n            );\n        default:\n            return state;\n    }\n};\n","import './LeftRightSwitch.scss';\n\nexport enum LeftRightSwitchSize {\n    Default = 'default',\n    /** For rows where the switch is the primary control: a bigger track, knob and hit target. */\n    Large = 'large',\n}\n\nexport interface ILeftRightSwitchProps {\n    handleClick : () => void;\n    // TODO future: this is counter-intuitive per most standard UX - \"on\" is typically RIGHT\n    status : boolean; // true = button LEFT, false = button RIGHT\n    switchLeftText : string;\n    switchRightText : string;\n    isDisabled? : boolean;\n    size? : LeftRightSwitchSize;\n}\nexport const LeftRightSwitch = (props : ILeftRightSwitchProps) => {\n    const {\n        handleClick,\n        status,\n        switchLeftText,\n        switchRightText,\n        isDisabled,\n        size = LeftRightSwitchSize.Default,\n    } = props;\n\n    return (\n        <div className={ `switch-container switch-${ size } ${ isDisabled === true ? 'switch-disabled' : '' }` }>\n            <div className=\"switch-content\">\n                <span className={ `text ${status ? 'dark' : ''}` }>{ switchLeftText }</span>\n                <div\n                    onClick={ () => { if (isDisabled !== true) { handleClick(); } } }\n                    className={ `switch ${status ? 'switch-left' : 'switch-right'}` }\n                >\n                    <div className=\"inner-background\" />\n                    <div className=\"button\" />\n                </div>\n                <span className={ `text ${status ? '' : 'dark'}` }>{ switchRightText }</span>\n            </div>\n        </div>\n    );\n};\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { CheckBox } from 'shared/components/CheckBox';\nimport { MAX_TABLET_WIDTH, MIN_DESKTOP_WIDTH } from 'shared/constants';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\n\nimport './RowGroupHeader.scss';\n\nexport interface IRowGroupHeaderProps {\n    selectAllState : CheckBoxTriState | null;\n    onSelectAllClick : () => void;\n    groupName : string;\n    isOpen : boolean;\n    visibleItemCount : number;\n    totalItemCount : number;\n    onClick : () => void;\n    showExpandArrow : boolean;\n    children? : React.ReactNode;\n}\n\nexport class RowGroupHeader extends React.Component<IRowGroupHeaderProps, object> {\n\n    public render() {\n        const {\n            selectAllState,\n            onSelectAllClick,\n            groupName,\n            isOpen,\n            visibleItemCount,\n            totalItemCount,\n            onClick,\n            showExpandArrow,\n        } = this.props;\n\n        const itemCountStringVerbose = ((visibleItemCount === totalItemCount) ? '' : `${ visibleItemCount } match${ (visibleItemCount === 1) ? '' : 'es'} of `) + `${ totalItemCount } item${ (totalItemCount === 1) ? '' : 's'}`;\n        const itemCountStringMinimal = '(' + ((visibleItemCount === totalItemCount) ? '' : `${ visibleItemCount } of `) + `${ totalItemCount })`;\n\n        return (\n            <div className=\"light-table-group-header group-header-toggle\">\n                <div className=\"col-row\">\n                    { (selectAllState !== null) &&\n                        <div className=\"cell row-start checkbox-container\">\n                            <CheckBox\n                                checkBoxTriState={ selectAllState }\n                                isDisabled={ false }\n                                onClick={ onSelectAllClick }\n                                label={ null }\n                            />\n                        </div>\n                    }\n                    <div className=\"row-content cursor-pointer\"  onClick={ onClick }>\n                        <div className=\"cell col-xs-5 col-lg-4\">\n                            <span className=\"group-header-title ellipsis-out\">{ groupName }</span>\n                            <span className=\"group-header-item-count\">\n                                <MediaQuery minWidth={ MIN_DESKTOP_WIDTH }>\n                                    <span>{ itemCountStringVerbose }</span>\n                                </MediaQuery>\n                                <MediaQuery maxWidth={ MAX_TABLET_WIDTH }>\n                                    <span>{ itemCountStringMinimal }</span>\n                                </MediaQuery>\n                            </span>\n                        </div>\n                        <div className=\"cell cell-plr-sm col-xs-7 col-lg-8 text-right\">\n                            <span className=\"group-header-children\">{ this.props.children }</span>\n                            { showExpandArrow &&\n                                <div className=\"flex-text-with-icon middle expand-collapse-group\">\n                                    <strong>{ isOpen ? 'Collapse' : 'Expand' }</strong>\n                                    <div className={ `bevicon ${ isOpen ? 'bevico-unfold-less' : 'bevico-unfold-more' }` } />\n                                </div>\n                            }\n                        </div>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport './TableControls.scss';\n\nexport interface ITableControlsProps {\n    // silence is golden.\n    children : React.ReactNode;\n}\n\nexport class TableControls extends React.Component<ITableControlsProps, object> {\n    public render() {\n        return (\n            <div className=\"table-controls\">\n                { this.props.children }\n            </div>\n        );\n    }\n}\n","import { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { ThunkAction ,IAction, ISetShownAction} from 'shared/models/IAction';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\n\nimport { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ILightspeedIntegrationBlockState } from './LightspeedIntegrationBlockReducers';\nimport {integrationService} from \"shared/lib/manager\";\nimport { action } from \"typesafe-actions\";\nimport { oauthUtils } from \"shared/components/PosIntegration/OAuthUtils\";\nimport {RuntimeException} from \"shared/lib/general/exceptions/RuntimeException\";\nimport Thrift from \"thrift\";\n\nexport interface ILightspeedIntegrationBlockStore {\n    lightspeedIntegrationBlockState : ILightspeedIntegrationBlockState;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'LIGHTSPEED_INTEGRATION/SET_MODAL_SHOWN',\n    SET_EXISTING_INTEGRATION_STATE: 'LIGHTSPEED_INTEGRATION/SET_EXISTING_INTEGRATION_STATE',\n    SET_IS_LOADING: 'LIGHTSPEED_INTEGRATION/SET_IS_LOADING',\n    SET_MODAL_ERROR: 'LIGHTSPEED_INTEGRATION/SET_MODAL_ERROR',\n    SET_MODAL_ACCESS_TOKEN: 'LIGHTSPEED_INTEGRATION/SET_MODAL_ACCESS_TOKEN',\n};\n\nexport namespace LightspeedIntegrationActionInterfaces {\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface ISetIsLoading extends IAction {\n        payload : {\n            isLoading : boolean\n        };\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload : {\n            accessToken : string | null\n        };\n    }\n\n    export interface ISetExistingIntegrationState extends IAction {\n        payload : {\n            integrationState : IntegrationState\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        integrationService : IPOSIntegrationService;\n    }\n    export interface IThunkServices extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nconst setModalShown = (\n    isShown : boolean\n) : LightspeedIntegrationActionInterfaces.ISetModalShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_MODAL_SHOWN\n});\n\nconst setModalAccessToken = (\n    accessToken : string | null\n) : LightspeedIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload : {\n        accessToken,\n    },\n    type : ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nconst setIsLoading = (\n    isLoading : boolean\n) : LightspeedIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_IS_LOADING,\n});\n\nconst setExistingCredentialState = (\n    integrationState : IntegrationState\n) : LightspeedIntegrationActionInterfaces.ISetExistingIntegrationState => ({\n    payload : {\n        integrationState,\n    },\n    type: ActionTypes.SET_EXISTING_INTEGRATION_STATE,\n});\n\nconst setError = (error : null | string) => action(ActionTypes.SET_MODAL_ERROR, { error });\n\nconst fetchExistingIntegration = (\n    locationId: LocationId\n): ThunkAction<Promise<IntegrationState>, ILightspeedIntegrationBlockStore, LightspeedIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments): Promise<IntegrationState> => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return extraArguments.services.integrationService.getIntegrationState('lightspeed', session, locationId)\n        .then((data: Set<IntegrationState>) => {\n            // Does not support Multi-connection\n            const integrationState: IntegrationState = data.values().next().value!;\n            dispatch(setExistingCredentialState(integrationState));\n            dispatch(setIsLoading(false));\n            return integrationState;\n        })\n        .catch((e: Error) => {\n            dispatch(setIsLoading(false));\n            throw e;\n        });\n    };\n};\n\nconst completeOAuthFlow = (\n    locationId : LocationId,\n    authorizationCode : string\n) : ThunkAction<Promise<void>, ILightspeedIntegrationBlockStore, LightspeedIntegrationActionInterfaces.IThunkServices> => {\n    return async (dispatch, getState, extraArguments) => {\n        dispatch(setIsLoading(true));\n        dispatch(setModalShown(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        await integrationService.addIntegrationThroughOAuthFlow(\n            \"lightspeed\",\n            session,\n            locationId,\n            authorizationCode,\n            oauthUtils.getPKCEVerifier() || undefined\n        ).catch((e : Error) => {\n            if (e instanceof Thrift.TException) {\n                throw new RuntimeException(e.name);\n            }\n            throw e;\n        });\n\n        await dispatch(fetchExistingIntegration(locationId));\n        dispatch(setIsLoading(false));\n    };\n};\n\nconst disconnect = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, ILightspeedIntegrationBlockStore, LightspeedIntegrationActionInterfaces.IThunkServices> => {\n    return async (dispatch, getState, extraArguments) => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        await integrationService.removeIntegration(\n            \"lightspeed\",\n            session,\n            locationId\n        );\n        await dispatch(fetchExistingIntegration(locationId));\n    };\n};\n\nconst retrieveAccessToken = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, ILightspeedIntegrationBlockStore, LightspeedIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return integrationService.retrieveAccessToken(\n            session,\n            locationId,\n            \"lightspeed\"\n        ).then((accessToken : string | null) => {\n            if (accessToken == null || accessToken === \"\") {\n                accessToken = \"Access token not found.\";\n            }\n\n            dispatch(setModalAccessToken(accessToken));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nexport const LightspeedIntegrationBlockActions = {\n    setModalShown,\n    fetchExistingIntegration,\n    completeOAuthFlow,\n    disconnect,\n    setError,\n    setModalAccessToken,\n    retrieveAccessToken\n};\n","import { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { Action } from '@reduxjs/toolkit';\nimport {\n    ActionTypes,\n    LightspeedIntegrationActionInterfaces,\n    LightspeedIntegrationBlockActions\n} from './LightspeedIntegrationBlockActions';\n\nexport interface ILightspeedIntegrationBlockState {\n    isLoading : boolean;\n    existingIntegration : null | IntegrationState;\n    modalIsShown : boolean;\n    error : null | string;\n    modalState : ILightspeedIntegrationModalState | null;\n}\n\nexport interface ILightspeedIntegrationModalState {\n    accessToken: string | null;\n}\n\nconst initialState : ILightspeedIntegrationBlockState = {\n    isLoading : false,\n    existingIntegration : null,\n    modalIsShown : false,\n    error : null,\n    modalState : null,\n};\n\nconst reduceSetIsLoading = (\n    state : ILightspeedIntegrationBlockState,\n    action : LightspeedIntegrationActionInterfaces.ISetIsLoading\n) : ILightspeedIntegrationBlockState => {\n    return {\n        ...state,\n        isLoading : action.payload.isLoading,\n    };\n};\n\nconst reduceSetModalShown = (\n    state : ILightspeedIntegrationBlockState,\n    action : LightspeedIntegrationActionInterfaces.ISetModalShown\n) : ILightspeedIntegrationBlockState => {\n    return {\n        ...state,\n        modalIsShown : action.payload.isShown,\n    };\n};\n\nconst reduceSetModalAccessToken = (\n    state : ILightspeedIntegrationBlockState,\n    action : LightspeedIntegrationActionInterfaces.ISetModalAccessToken\n) : ILightspeedIntegrationBlockState => {\n    return {\n        ...state,\n        modalState: {\n            ...state.modalState,\n            accessToken: action.payload.accessToken\n        }\n    };\n};\n\nconst reduceSetExistingIntegrationState = (\n    state : ILightspeedIntegrationBlockState,\n    action : LightspeedIntegrationActionInterfaces.ISetExistingIntegrationState\n) : ILightspeedIntegrationBlockState => {\n    return {\n        ...state,\n        existingIntegration : action.payload.integrationState,\n    };\n};\n\nexport const LightspeedIntegrationBlockReducers = (\n    state : ILightspeedIntegrationBlockState = initialState,\n    action : Action,\n) : ILightspeedIntegrationBlockState => {\n    switch (action.type) {\n        case ActionTypes.SET_IS_LOADING:\n            return reduceSetIsLoading(state, action as LightspeedIntegrationActionInterfaces.ISetIsLoading);\n        case ActionTypes.SET_EXISTING_INTEGRATION_STATE:\n            return reduceSetExistingIntegrationState(state, action as LightspeedIntegrationActionInterfaces.ISetExistingIntegrationState);\n        case ActionTypes.SET_MODAL_ERROR:\n            return {...state, error : (action as ReturnType<typeof LightspeedIntegrationBlockActions.setError>).payload.error};\n        case ActionTypes.SET_MODAL_SHOWN:\n            return reduceSetModalShown(state, action as LightspeedIntegrationActionInterfaces.ISetModalShown);\n        case ActionTypes.SET_MODAL_ACCESS_TOKEN:\n            return reduceSetModalAccessToken(state, action as LightspeedIntegrationActionInterfaces.ISetModalAccessToken);\n        default:\n            return state;\n    }\n};\n","import React from 'react';\n\nimport 'shared/css/LoadingCover.scss';\nimport 'shared/css/MakeItSpin.scss';\n\nexport interface ILoadingCoverProps {\n    className : string;\n    hasLoadingIcon : boolean;\n}\nexport class LoadingCover extends React.Component<ILoadingCoverProps, object> {\n    public render() {\n        const {\n            className,\n            hasLoadingIcon\n        } = this.props;\n\n        return (\n            <div className={ 'loading-cover ' + className }>\n                { hasLoadingIcon &&\n                    <span className=\"bevicon bevico-spinner8 make-it-spin loading-cover-icon\" />\n                }\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { ISearchBarBaseProps } from 'shared/components/SearchBar/SearchBar';\nimport { ValidationInput } from 'shared/components/ValidationInput';\n\nimport './MobileSearchBar.scss';\n\nexport interface IMobileSearchBarProps extends ISearchBarBaseProps {\n    handleOnHideSearchBar() : void;\n}\n\n/**\n * Anna Lee Barber 6/5/17\n * this component shares a lot of code with the SearchBar component, but not extending for now because we can't\n * extend SearchBar while also extending the props unless SearchBar is a generic.\n */\nexport class MobileSearchBar extends React.Component<IMobileSearchBarProps, object> {\n    private handleOnHideAndClearSearchBar : (event : React.MouseEvent<HTMLElement>) => void;\n    private handleOnEnterClick : (event : React.KeyboardEvent<HTMLInputElement>) => void;\n    private handleOnBlur : (event : React.FocusEvent<HTMLInputElement>) => void;\n    private handleOnChange : (event : React.ChangeEvent<HTMLInputElement>) => void;\n\n    constructor(props : IMobileSearchBarProps) {\n        super(props);\n\n        this.handleOnHideAndClearSearchBar = this.handleOnHideAndClearSearchBarGenerator();\n        this.handleOnBlur = this.handleOnBlurGenerator();\n        this.handleOnEnterClick = this.handleOnEnterClickGenerator();\n        this.handleOnChange = this.handleOnChangeGenerator();\n    }\n    public render() {\n        const {\n            placeholderText,\n            value,\n            clearSearchBar,\n            isDisabled,\n            isFocused,\n        } = this.props;\n\n        return (\n            <div className=\"search-bar search-bar-mobile\">\n                <div className=\"search-bar-container\">\n                    <span className=\"bevicon bevico-search\"/>\n                    <ValidationInput\n                        type=\"text'\"\n                        label={ null }\n                        hintText={ placeholderText }\n                        value={ (value !== null) ? value : '' }\n                        autoFocus={ isFocused }\n                        autoComplete={ null }\n                        isValid={ true } // TODO: Would this ever be false?\n                        errorMessage=\"\"\n                        inputClassName=\"\"\n                        handleChange={ this.handleOnChange }\n                        handleBlur={ this.handleOnBlur }\n                        handleFocus={ this.onFocus }\n                        handleEnterClick={ this.handleOnEnterClick }\n                        isDisabled={ isDisabled }\n                    />\n                    { (value !== null) &&\n                        <span\n                            className=\"bevicon bevico-remove-inverse\"\n                            onClick={ clearSearchBar }\n                        />\n                    }\n                    { /* { (value === null) && */ }\n                        <span\n                            className=\"bevicon bevico-arrow-back\"\n                            onClick={ this.handleOnHideAndClearSearchBar }\n                        />\n                    { /* } */ }\n                </div>\n            </div>\n        );\n    }\n\n    private handleOnHideAndClearSearchBarGenerator() {\n        return (event : React.MouseEvent<HTMLElement>) => {\n            this.props.handleOnHideSearchBar();\n            this.props.clearSearchBar();\n        };\n    }\n\n    private handleOnChangeGenerator() {\n        return (event : React.ChangeEvent<HTMLInputElement>) => {\n            const input = event.currentTarget;\n            this.props.handleOnChange(input.value);\n        };\n    }\n\n    private handleOnBlurGenerator() {\n        return (event : React.FocusEvent<HTMLInputElement>) => {\n            const input = event.currentTarget;\n            this.props.handleBlur(input.value);\n        };\n    }\n\n    private handleOnEnterClickGenerator() {\n        return (event : React.KeyboardEvent<HTMLInputElement>) => {\n            const input = event.currentTarget;\n            this.props.handleEnterClick(input.value);\n        };\n    }\n\n    private readonly onFocus = (event : React.FocusEvent<HTMLInputElement>) => {\n        const inputElement = event.currentTarget;\n        window.requestAnimationFrame(() => {\n            inputElement.setSelectionRange(0, 9999);\n        });\n    }\n}\n","import React from 'react';\n\nimport { PreventPageScrolling } from 'shared/components/PreventPageScrolling';\n\nimport 'shared/css/Modal.scss';\n\nexport interface IModalProps {\n    className : string;\n    children : React.ReactNode;\n}\n\n/**\n * DEPRECATED. Use ModalFlex or Dialog\n */\nexport class Modal extends React.Component<IModalProps, object> {\n\n    public render() {\n        return (\n            <div className={ this.props.className }>\n                <PreventPageScrolling\n                    preventWindowTouchMove={ false }\n                    addModalOpenClass={ true }\n                />\n                <div className=\"bevspot-modal\">\n                    <div className=\"content modal-content\">\n                        { this.props.children }\n                    </div>\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { IModalButton, IModalClasses } from '../../models/Modal';\n\nimport { Button } from '../Button';\nimport { Modal } from '../Modal';\n\nimport './ModalFlex.scss';\n\nexport interface IModalFlexProps {\n    className : string;\n    shouldComponentUpdate? : boolean;\n    buttons : Array<IModalButton> | null;\n    closeButtonShown : boolean;\n    footerLabel : JSX.Element | null;\n    footerLeftButton : IModalButton | null;\n    headerText : JSX.Element | string | null;\n    modalClasses : IModalClasses;\n    onClose : (() => void) | null;\n    containerBodyRefFunction? : (containerBody : HTMLDivElement) => void; // necessary if you put performance rows inside this modal :(\n    children : React.ReactNode;\n}\n\nexport class ModalFlex extends React.Component<IModalFlexProps, object> {\n\n    public shouldComponentUpdate(nextProps : IModalFlexProps) {\n        return typeof nextProps.shouldComponentUpdate === 'undefined' ? true : !!nextProps.shouldComponentUpdate;\n    }\n\n    public render() {\n        const {\n            className,\n            closeButtonShown,\n            buttons,\n            footerLeftButton,\n            footerLabel,\n            headerText,\n            modalClasses,\n            onClose,\n            containerBodyRefFunction\n        } = this.props;\n\n        if (closeButtonShown && !onClose) {\n            throw new Error('Modal showing close button but missing onClose handler');\n        }\n\n        const actionElements = buttons !== null ? buttons.map((button, index) => (\n            <Button\n                key={ index }\n\n                buttonClassName={ button.classes }\n                isDisabled={ button.isDisabled }\n                isLoading={ button.isLoading }\n                onClick={ button.onClick }\n            >\n                { button.children }\n            </Button>\n        )) : null;\n\n        const headerClasses = modalClasses.headerClasses;\n        const bodyClasses = modalClasses.bodyClasses;\n        const footerClasses = modalClasses.footerClasses;\n\n        const handleCloseClick : React.EventHandler<React.MouseEvent<HTMLDivElement>> | undefined = onClose !== null ? () => onClose() : undefined;\n\n        let closeButtonElement : JSX.Element | null = null;\n        if (closeButtonShown) {\n            closeButtonElement = (\n                <div className=\"close-modal\" onClick={ handleCloseClick }>\n                    <span className=\"bevicon bevico-close\" />\n                </div>\n            );\n        }\n\n        const footerLeftButtonElement = (\n            footerLeftButton !== null && (\n                <Button\n                    buttonClassName={ footerLeftButton.classes }\n                    isDisabled={ footerLeftButton.isDisabled }\n                    isLoading={ footerLeftButton.isLoading }\n                    onClick={ footerLeftButton.onClick }\n                >\n                    { footerLeftButton.children }\n                </Button>\n            )\n        );\n\n        return (\n            <Modal className={ 'modal-flex ' + className }>\n                <div className={ `header ${ headerClasses }` }>\n                    <h4 className=\"title\">{ headerText }</h4>\n                    { closeButtonElement }\n                </div>\n                <div className={ `body ${ bodyClasses }` } ref={ containerBodyRefFunction }>\n                    { this.props.children }\n                </div>\n                { (footerLeftButtonElement || footerLabel || actionElements) &&\n                    <div className={ `footer ${ footerClasses }` }>\n                        { footerLeftButtonElement }\n                        { footerLabel }\n                        <div className=\"footer-primary-actions\">\n                            { actionElements }\n                        </div>\n                    </div>\n                }\n            </Modal>\n        );\n    }\n}\n","import React from 'react';\n\nimport { IModalButton, IModalClasses } from '../models/Modal';\n\nimport { Button } from './Button';\nimport { Modal } from './Modal';\n\nexport interface IModalWithHeaderAndFooterProps {\n    className : string;\n    shouldComponentUpdate? : boolean;\n    buttons : Array<IModalButton> | null;\n    closeButtonShown : boolean;\n    footerLabel : JSX.Element | null;\n    footerLeftButton : IModalButton | null;\n    headerText : string | null;\n    modalClasses : IModalClasses;\n    onClose : (() => void) | null;\n    children : React.ReactNode;\n}\n\n/**\n * DEPRECATED. Use ModalFlex or Dialog\n */\nexport class ModalWithHeaderAndFooter extends React.Component<IModalWithHeaderAndFooterProps, object> {\n\n    public shouldComponentUpdate(nextProps : IModalWithHeaderAndFooterProps) {\n        return typeof nextProps.shouldComponentUpdate === 'undefined' ? true : !!nextProps.shouldComponentUpdate;\n    }\n\n    public render() {\n        const {\n            className,\n            closeButtonShown,\n            buttons,\n            footerLeftButton,\n            footerLabel,\n            headerText,\n            modalClasses,\n            onClose,\n        } = this.props;\n\n        if (closeButtonShown && !onClose) {\n            throw new Error('Modal showing close button but missing onClose handler');\n        }\n\n        const actionElements = buttons !== null ? buttons.map((button, index) => (\n            <Button\n                key={ index }\n\n                buttonClassName={ button.classes }\n                isDisabled={ button.isDisabled }\n                isLoading={ button.isLoading }\n                onClick={ button.onClick }\n            >\n                { button.children }\n            </Button>\n        )) : null;\n\n        const headerClasses = modalClasses.headerClasses;\n        const bodyClasses = modalClasses.bodyClasses;\n        const footerClasses = modalClasses.footerClasses;\n\n        const handleCloseClick : React.EventHandler<React.MouseEvent<HTMLDivElement>> | undefined = onClose !== null ? () => onClose() : undefined;\n\n        let closeButtonElement : JSX.Element | null = null;\n        if (closeButtonShown) {\n            closeButtonElement = (\n                <div className=\"close-modal\" onClick={ handleCloseClick }>\n                    <span className=\"bevicon bevico-close\" />\n                </div>\n            );\n        }\n\n        const footerLeftButtonElement = (\n            footerLeftButton !== null && (\n                <Button\n                    buttonClassName={ footerLeftButton.classes }\n                    isDisabled={ footerLeftButton.isDisabled }\n                    isLoading={ footerLeftButton.isLoading }\n                    onClick={ footerLeftButton.onClick }\n                >\n                    { footerLeftButton.children }\n                </Button>\n            )\n        );\n\n        return (\n            <Modal className={ className }>\n                <div className={ `header cell-ptb-md cell-plr-md ${ headerClasses }` }>\n                    <h4 className=\"title\">{ headerText }</h4>\n                    { closeButtonElement }\n                </div>\n                <div className={ `body ${ bodyClasses }` }>\n                    { this.props.children }\n                </div>\n                <div className={ `footer cell-ptb-md cell-plr-md ${ footerClasses }` }>\n                    <div className=\"col-intable\">\n                        <div className=\"cell col-xs-5 footer-left-button\">\n                            { footerLeftButtonElement }\n                        </div>\n                        <div className=\"cell col-xs-2 footer-label\">\n                            { footerLabel }\n                        </div>\n                        <div className=\"cell col-xs-5 text-right footer-right-buttons\">\n                            { actionElements }\n                        </div>\n                    </div>\n                </div>\n            </Modal>\n        );\n    }\n}\n","import React from 'react';\n\nimport { PosItemId } from 'api/SalesData/model/PosItemId';\nimport { Button } from 'shared/components/Button';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\n\ninterface IOmittedItemRowProps {\n    className : string;\n    rowId : PosItemId;\n    name : string;\n    posId : string;\n    restoreDisabled : boolean;\n\n    onRestore : () => void;\n}\n\nexport class OmittedItemRow extends React.Component<IOmittedItemRowProps, object> {\n\n    public render() {\n        const {\n            name,\n            posId,\n            className,\n            restoreDisabled,\n            onRestore\n        } = this.props;\n\n        return (\n            <Flex direction=\"row\" className={ `omitted-item-row light-table-row ${ className } flex-pl-1` }>\n                <Flex direction=\"row\" align=\"stretch\">\n                    <Flex direction=\"column\" className=\"flex-py-1 flex-px-2\" grow={ 4 } justify=\"center\">\n                        <Flex direction=\"row\" className=\"ellipsis-out\" align=\"center\"><span className=\"sub-label\">POS ID:</span>&nbsp;{ posId }</Flex>\n                    </Flex>\n                    <Flex direction=\"column\" grow={ 4 } justify=\"center\" className=\"flex-px-2\">\n                        { name }\n                    </Flex>\n                    <Flex direction=\"column\" grow={ 4 } justify=\"center\" align=\"center\" className=\"flex-px-2\">\n                        <Button\n                            buttonClassName=\"flat primary\"\n                            isDisabled={ restoreDisabled }\n                            isLoading={ false }\n                            onClick={ onRestore }\n                        >\n                            Restore\n                        </Button>\n                    </Flex>\n                </Flex>\n            </Flex>\n        );\n    }\n}\n","import { PosItem } from 'api/SalesData/model/PosItem';\nimport { createPosItemStringForFilter } from 'apps/SalesItemMapper/utils/SalesItemMapperUtils';\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ALL_ITEMS_GROUP_NAME } from 'shared/models/GroupByOption';\nimport { SortDirection } from 'shared/models/SortDirection';\nimport { SortingFilteringAndGroupingUtil } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { OmittedItemRowId } from './OmittedItemsView';\n\ninterface IOmittedItemsExtraArgs {\n    unsortedRowIds : Set<OmittedItemRowId>;\n}\n\nconst posItemFilterStringCache = new Map<OmittedItemRowId, string>();\nconst cachedCreateOmittedItemStringForFilter = (\n    rowId : OmittedItemRowId\n) : string => {\n\n    if (posItemFilterStringCache.has(rowId)) {\n        const cachedValue = posItemFilterStringCache.get(rowId);\n        if (typeof cachedValue === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n        return cachedValue;\n    }\n\n    const fakePosItem = new PosItem(rowId[0], rowId[1], '');\n    const posItemStringForFilter = createPosItemStringForFilter(fakePosItem, rowId[0]);\n    posItemFilterStringCache.set(rowId, posItemStringForFilter);\n\n    return posItemStringForFilter;\n};\n\nconst defaultOmittedItemRowFilter = (\n    rowId : OmittedItemRowId,\n    cleanedFilterTerm : string | null,\n) : boolean => {\n    if (cleanedFilterTerm === null || cleanedFilterTerm === '') {\n        return true;\n    }\n\n    const stringForSearch = cachedCreateOmittedItemStringForFilter(rowId);\n    const filterTokens = cleanedFilterTerm.split(' ');\n\n    for (let i = 0; i < filterTokens.length; i++) {\n        if (stringForSearch.indexOf(filterTokens[i]) < 0) {\n            return false;\n        }\n    }\n\n    return true;\n};\n\nconst rowFilter = (rowId : OmittedItemRowId, filterTerm : string | null) => {\n    return defaultOmittedItemRowFilter(rowId, filterTerm);\n};\n\nconst groupNameComparator = () => {\n    return 0; // no group by\n};\n\nconst groupNameGetter = () => {\n    return ALL_ITEMS_GROUP_NAME;\n};\n\nconst rowIdComparator = (rowId1 : OmittedItemRowId, rowId2 : OmittedItemRowId, columnSort : IColumnSorting) : number => {\n    const direction = columnSort.direction;\n    const sortedBy = columnSort.sortedBy;\n\n    let comparisonResult : number;\n    switch (sortedBy) {\n        case 'name':\n            // sort by name then pos id (or should we do the opposite?)\n            const nameString1 = rowId1[1] + ' ' + rowId1[0];\n            const nameString2 = rowId2[1] + ' ' + rowId2[0];\n            // comparisonResult = cleanPhrase(nameString1).localeCompare(cleanPhrase(nameString2));\n            comparisonResult = nameString1.localeCompare(nameString2); // not using clean phrase speeds this up noticeably...\n            break;\n        default:\n            throw new RuntimeException('unhandled sort field');\n    }\n\n    if (direction === SortDirection.DESCENDING) {\n        return comparisonResult * -1;\n    }\n\n    return comparisonResult;\n};\n\nconst intermediateResultCacheIsValid = (rowIds : Array<OmittedItemRowId>, lastRowIds : Array<OmittedItemRowId>, extraArgs : IOmittedItemsExtraArgs, lastExtraArgs : IOmittedItemsExtraArgs) : boolean => {\n    return extraArgs.unsortedRowIds === lastExtraArgs.unsortedRowIds;\n};\n\nexport const OmittedItemsSortingUtil = new SortingFilteringAndGroupingUtil(\n    rowIdComparator,\n    rowFilter,\n    groupNameGetter,\n    groupNameComparator,\n    intermediateResultCacheIsValid\n);\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport throttle from 'lodash/throttle';\n\nimport { PosItemId } from 'api/SalesData/model/PosItemId';\nimport { Button } from 'shared/components/Button';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { RowGroupHeader } from 'shared/components/LightTable/RowGroupHeader';\nimport { PageHeader, PageHeaderTheme } from 'shared/components/PageHeader/PageHeader';\nimport { PageTitle } from 'shared/components/PageTitle/PageTitle';\nimport { RowOptimizationWrapper } from 'shared/components/RowOptimizationWrapper/RowOptimizationWrapper';\nimport { StickyHeaderWrapper } from 'shared/components/StickyHeaderWrapper/StickyHeaderWrapper';\nimport { MIN_TABLET_WIDTH } from 'shared/constants';\nimport { ISortedFilteredAndGroupedResult } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { TableControls } from '../LightTable/TableControls';\nimport { SearchBar, SearchBarTheme } from '../SearchBar/SearchBar';\nimport { OmittedItemRow } from './OmittedItemRow';\nimport { OmittedItemsSortingUtil } from './OmittedItemsSortingUtil';\n\nimport './OmittedItemsView.scss';\n\nexport type OmittedItemRowId = [PosItemId, string]; // rowid = pos id + name\ninterface IOmittedItemsViewProps {\n    readonly unsortedRowIds : Set<OmittedItemRowId>;\n\n    readonly onRestoreItems : (items : Set<OmittedItemRowId>) => void;\n    readonly onLeaveView : () => void;\n}\n\ninterface IOmittedItemsViewState {\n    sortedFilteredGroupedResult : ISortedFilteredAndGroupedResult<OmittedItemRowId>;\n    currentlyRestoringIds : Set<OmittedItemRowId>;\n    searchTerm : string | null;\n}\n\n// this is used on report creation & expected inventory to show which items are not going to be pulled into the report\n// it will also be used on the sales settings page to show the global list\nexport class OmittedItemsView extends React.Component<IOmittedItemsViewProps, IOmittedItemsViewState> {\n\n    // normally we would put throttled sorting, etc in an actions file. however, in the interest of time and because\n    // this is not a main view and because it is used on different pages, just putting this in the view for now. if this\n    // ever becomes more complex or we start to have performance issues, we should consider moving this to a redux store\n    private readonly throttledUpdateSortedFilteredGroupedResult = throttle(\n        () => {\n            void OmittedItemsSortingUtil.getSortedFilteredAndGroupedResult(\n                Array.from(this.props.unsortedRowIds.keys()),\n                {\n                    sortedBy: 'name',\n                    direction: 1\n                },\n                this.state.searchTerm,\n                'All Items',\n                {\n                    unsortedRowIds: this.props.unsortedRowIds,\n                }\n            )\n            .then((result : ISortedFilteredAndGroupedResult<OmittedItemRowId>) => {\n                this.setState({\n                    sortedFilteredGroupedResult: result\n                });\n            });\n        },\n        200, { leading : false }\n    );\n\n    constructor(props : IOmittedItemsViewProps) {\n        super(props);\n\n        this.state = {\n            sortedFilteredGroupedResult: {\n                sortedGroupNamesToDisplay: [],\n                sortedRowIdsToDisplayByGroupName: {},\n                unfilteredSortedRowIdsByGroupName: {},\n                panelIsOpenByGroupNameFromFiltering: {},\n            },\n            currentlyRestoringIds: new Set(),\n            searchTerm: null,\n        };\n    }\n\n    public componentDidMount() {\n        this.updateSortedFilteredGroupedResult();\n    }\n\n    public UNSAFE_componentWillReceiveProps(nextProps : IOmittedItemsViewProps) {\n        if (nextProps.unsortedRowIds !== this.props.unsortedRowIds) {\n            const newCurrentlyRestoringIds = new Set(this.state.currentlyRestoringIds);\n            newCurrentlyRestoringIds.forEach((posId) => {\n                if (!nextProps.unsortedRowIds.has(posId)) {\n                    newCurrentlyRestoringIds.delete(posId);\n                }\n            });\n\n            this.setState({\n                currentlyRestoringIds: newCurrentlyRestoringIds\n            });\n            this.updateSortedFilteredGroupedResult();\n        }\n    }\n\n    public render() {\n        const {\n            onLeaveView,\n            unsortedRowIds\n        } = this.props;\n\n        const {\n            searchTerm\n        } = this.state;\n\n        return (\n            <div className=\"omitted-items-view\">\n                <PageHeader\n                    theme={ PageHeaderTheme.Default }\n                >\n                    <Button\n                        buttonClassName=\"icon flat bevicon bevico-arrow-back exit-view\"\n                        isDisabled={ false }\n                        isLoading={ false }\n                        onClick={ onLeaveView }\n                    />\n                    <PageTitle\n                        darkTheme={ false }\n                        heading=\"Omitted Items\"\n                        secondaryHeading={ `${ unsortedRowIds.size } ${ 'item' }${ unsortedRowIds.size === 1 ? '' : 's'}` }\n                    />\n                </PageHeader>\n                <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                    <Flex direction=\"row\" className=\"page-about-banner\" justify=\"space-between\">\n                        <Flex direction=\"column\" grow={ 3 } justify=\"center\">\n                            <h4 className=\"normal\">\n                                This is a list of all of the items from your POS system that will not be included in sales reports.<br/>\n                                Click “Restore” on an item and it will be included in future reports.\n                            </h4>\n                        </Flex>\n                    </Flex>\n                </MediaQuery>\n                <StickyHeaderWrapper>\n                    <TableControls>\n                        <Flex direction=\"row\" grow={ 1 } shrink={ 0 } basis=\"auto\" inline={ true } className=\"flex-px-3\" align=\"center\" justify=\"space-between\">\n                            <div className=\"flex-child\">\n                                <SearchBar\n                                    theme={ SearchBarTheme.Basic }\n                                    isDisabled={ false }\n                                    placeholderText=\"Search by name or pos ID\"\n                                    value={ searchTerm }\n                                    isFocused={ false }\n                                    handleBlur={ this.doNothing }\n                                    handleFocus={ null }\n                                    handleEnterClick={ this.doNothing }\n                                    handleOnChange={ this.onSearchTermChange }\n                                    clearSearchBar={ this.onClearSearchTerm }\n                                />\n                            </div>\n                        </Flex>\n                    </TableControls>\n                </StickyHeaderWrapper>\n                <div className=\"omitted-items-table\">\n                    <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                        <StickyHeaderWrapper>\n                            <Flex className=\"omitted-items-table-header light-table-header\" direction=\"row\">\n                                <Flex direction=\"column\" className=\"flex-px-2 static-table-header\" grow={ 4 } justify=\"center\">\n                                    <div className=\"flex-child cell cell-ptb\">\n                                        POS ID\n                                    </div>\n                                </Flex>\n                                <Flex direction=\"column\" className=\"flex-px-2 static-table-header\" grow={ 4 } justify=\"center\">\n                                    <div className=\"flex-child cell cell-ptb\">\n                                        Name\n                                    </div>\n                                </Flex>\n                                <Flex direction=\"column\" className=\"flex-px-2 static-table-header\" grow={ 4 }/>\n                            </Flex>\n                        </StickyHeaderWrapper>\n                    </MediaQuery>\n                    { this.getGroupPanels() }\n                </div>\n            </div>\n        );\n    }\n\n    private readonly getGroupPanels = () : Array<JSX.Element> => {\n        const {\n            sortedFilteredGroupedResult,\n            currentlyRestoringIds\n        } = this.state;\n\n        const groupPanels : Array<JSX.Element> = [];\n        sortedFilteredGroupedResult.sortedGroupNamesToDisplay.forEach((groupName : string) => {\n            const rowIds = sortedFilteredGroupedResult.sortedRowIdsToDisplayByGroupName[groupName];\n            const rowFactory = (index : number) => {\n                const rowId = rowIds[index];\n\n                const posId = rowId[0];\n                const name = rowId[1];\n\n                const restoreDisabled = currentlyRestoringIds.has(rowId);\n\n                const onRestoreItem = () => this.onRestoreItem(rowId);\n\n                return (\n                    <OmittedItemRow\n                        className={ `${ index % 2 ? '' : 'omitted-item-row-odd' }` }\n                        key={ posId.getValue() + name }\n                        rowId={ posId }\n                        name={ name }\n                        posId={ posId.getValue() }\n                        onRestore={ onRestoreItem }\n                        restoreDisabled={ restoreDisabled }\n                    />\n                );\n            };\n\n            let rowContainer : HTMLDivElement;\n            const containerBodyRefFunction = (containerBody : HTMLDivElement) => {\n                rowContainer = containerBody;\n            };\n\n            const getRowContainer = () => {\n                return rowContainer;\n            };\n\n            const isOpen = true; // isOpenByGroupName[groupName];\n            const numRows = rowIds.length;\n\n            const onRestoreGroup = () => {\n                this.handleOnRestoreItems(new Set(rowIds));\n            };\n\n            groupPanels.push(\n                <div className=\"light-table-group-container\" key={ groupName }>\n                    <StickyHeaderWrapper>\n                        <div className=\"group-header\">\n                            <RowGroupHeader\n                                selectAllState={ null }\n                                onSelectAllClick={ this.doNothing }\n                                groupName={ groupName }\n                                isOpen={ isOpen }\n                                visibleItemCount={ rowIds.length }\n                                totalItemCount={ rowIds.length } // totalUnfilteredItemCount\n                                onClick={ this.doNothing }\n                                showExpandArrow={ false }\n                            >\n                                <Button\n                                    buttonClassName=\"flat primary\"\n                                    onClick={ onRestoreGroup }\n                                    isDisabled={ false }\n                                    isLoading={ false }\n                                >\n                                    { `Restore \"${ groupName }\"` }\n                                </Button>\n                            </RowGroupHeader>\n                        </div>\n                    </StickyHeaderWrapper>\n                    <div className=\"group-container-body\" ref={ containerBodyRefFunction }>\n                        <RowOptimizationWrapper\n                            numRows={ numRows }\n                            rowFactory={ rowFactory }\n                            getRowContainer={ getRowContainer }\n                            isOpen={ isOpen }\n                        />\n                    </div>\n                </div>\n            );\n        });\n\n        return groupPanels;\n    }\n\n    private readonly handleOnRestoreItems = (items : Set<OmittedItemRowId>) => {\n        const newIdSet = new Set(this.state.currentlyRestoringIds);\n        items.forEach((item) => newIdSet.add(item));\n        this.setState({\n            currentlyRestoringIds: newIdSet\n        });\n\n        this.props.onRestoreItems(items);\n    }\n\n    private readonly onRestoreItem = (itemId : OmittedItemRowId) => {\n        this.handleOnRestoreItems(new Set([itemId]));\n    }\n\n    private readonly doNothing = () => undefined;\n\n    private readonly updateSortedFilteredGroupedResult = () => {\n        this.throttledUpdateSortedFilteredGroupedResult();\n    }\n\n    private readonly onSearchTermChange = (searchTerm : string | null) => {\n        this.setState({ searchTerm });\n        this.throttledUpdateSortedFilteredGroupedResult();\n    }\n\n    private readonly onClearSearchTerm = () => this.onSearchTermChange(null);\n}\n","import React from 'react';\n\nexport interface IOutsideEventListenerContainerProps {\n    onOutsideClick : () => void;\n    className? : string;\n    children : React.ReactNode;\n}\n\n// This is intended to be generic, and props should be added as seen fit\n// later improvements: add optional hover listener\nexport class OutsideEventListenerContainer extends React.Component<IOutsideEventListenerContainerProps, object> {\n    private containerDiv : HTMLDivElement | undefined;\n\n    public componentDidMount() {\n        // 6/20/17 can't test that this properly triggers the function with karma/sinon\n        window.addEventListener('click', this.handleOnOutsideComponentClick);\n    }\n\n    public componentWillUnmount() {\n        window.removeEventListener('click', this.handleOnOutsideComponentClick);\n    }\n\n    public render() {\n        const {\n            children,\n            className\n        } = this.props;\n\n        return (\n            <div className={ className }ref={ this.getContainerRef }>\n                { children }\n            </div>\n        );\n    }\n\n    private readonly getContainerRef = (element : HTMLDivElement) => {\n        this.containerDiv = element;\n    }\n\n    private readonly handleOnOutsideComponentClick = (event : Event) : void => {\n        if (typeof this.containerDiv === 'undefined' || !this.containerDiv.contains(event.target as Element)) {\n            this.props.onOutsideClick();\n            event.stopPropagation();\n        }\n    }\n}\n","import React from 'react';\n\nimport './PageHeader.scss';\n\nexport enum PageHeaderTheme {\n    Default = 1,\n    Dark = 2,\n    BulkActions = 3,\n    Announce = 4,\n    Transparent = 5,\n}\n\ninterface IPageHeaderProps {\n    theme : PageHeaderTheme;\n    children : React.ReactNode;\n}\n\nexport class PageHeader extends React.Component<IPageHeaderProps, object> {\n    public render() {\n        const {\n            theme,\n        } = this.props;\n\n        let themeClasses : string = 'page-header';\n\n        if (theme === PageHeaderTheme.Dark) {\n            themeClasses += ' dark';\n        } else if (theme === PageHeaderTheme.BulkActions) {\n            themeClasses += ' dark bulk-actions';\n        } else if (theme === PageHeaderTheme.Announce) {\n            themeClasses += ' dark announce';\n        } else if (theme === PageHeaderTheme.Transparent) {\n            themeClasses += ' dark transparent';\n        }\n\n        // CAS TODO: once we get to a point where our page headers are more consistent or are broken down by page type (report, action, table etc.), we should move the PageTitle component content to this one\n        return (\n            <div className={ themeClasses }>\n                { this.props.children }\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport './PageTitle.scss';\n\ninterface IPageTitleProps {\n    heading : string;\n    secondaryHeading? : string | JSX.Element;\n    darkTheme : boolean;\n    children? : React.ReactNode;\n}\n\nexport class PageTitle extends React.Component<IPageTitleProps, object> {\n    public render() {\n        const {\n            heading,\n            secondaryHeading,\n            darkTheme,\n        } = this.props;\n\n        const darkThemeClass = darkTheme ? 'dark' : '';\n\n        return (\n            <div className=\"page-title\">\n                <div className=\"page-title-wrapper\">\n                    <div className={ `${ darkThemeClass } account-title secondary-regular` }>\n                        { window.GLOBAL_RETAILER_NAME }\n                    </div>\n                    <div className=\"page-name\">\n                        <strong className={ darkThemeClass }>{ heading }</strong>\n                        { secondaryHeading &&\n                            <small className={ `${ darkThemeClass } page-details` }>\n                                { secondaryHeading }\n                            </small>\n                        }\n                    </div>\n                </div>\n                { /* Needs to accept children until all of the page headers have the date range dropdowns/searchbars next to the page title removed */ }\n                <div className=\"page-title-children\">\n                    { this.props.children }\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\nimport type { MouseEvent } from 'react';\n\nimport 'shared/components/Pill/Pill.scss';\n\nexport type PillVariant =\n    | 'default'\n    | 'success'\n    | 'error'\n    | 'error-light'\n    | 'warning'\n    | 'info'\n    | 'info-light'\n    | 'accent'\n    | 'neutral';\n\ninterface PillBaseProps {\n    readonly children : React.ReactNode;\n    readonly variant? : PillVariant;\n    readonly className? : string;\n    readonly title? : string;\n    readonly dataTooltip? : string | null;\n    readonly color? : string;\n}\n\n// A pill is either clickable as a whole or removable, never both — two click targets on such a\n// small surface would compete and lead to bad outcomes.\ninterface ClickablePillProps extends PillBaseProps {\n    readonly onClick? : (event : MouseEvent<HTMLElement>) => void;\n    readonly isDisabled? : boolean;\n    readonly onRemoveClick? : never;\n}\n\ninterface RemovablePillProps extends PillBaseProps {\n    readonly onRemoveClick? : () => void;\n    readonly onClick? : never;\n    readonly isDisabled? : never;\n}\n\nexport type PillProps = ClickablePillProps | RemovablePillProps;\n\nexport function Pill({ children, variant = 'default', className, title, dataTooltip, color, onClick, onRemoveClick, isDisabled } : PillProps) {\n    const classes = `pill pill-${variant}${className ? ` ${className}` : ''}`;\n    const colorSwatch = color !== undefined && (\n        <span\n            className='pill-color-swatch'\n            style={{ backgroundColor: color }}\n        />\n    );\n\n    // A pill with an action renders as a real button so it is keyboard- and screen-reader-operable.\n    if (onClick !== undefined) {\n        return (\n            <button\n                type='button'\n                className={`${classes} pill-button`}\n                title={title}\n                data-tooltip={dataTooltip ?? undefined}\n                disabled={isDisabled}\n                onClick={onClick}\n            >\n                {colorSwatch}\n                {children}\n            </button>\n        );\n    }\n\n    return (\n        <span className={classes} title={title} data-tooltip={dataTooltip ?? undefined}>\n            {colorSwatch}\n            {children}\n            {onRemoveClick !== undefined && (\n                <a\n                    className='pill-remove-button bevicon bevico-remove-inverse'\n                    onClick={onRemoveClick}\n                />\n            )}\n        </span>\n    );\n}\n","import { Product } from 'api/Product/model/Product';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport React from 'react';\n\nimport moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { TransferReportWithoutCost } from 'api/Transfer/model/TransferReportWithoutCost';\n\nimport { Popover } from 'shared/components/Popover/Popover';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport './DeliveriesAndTransfersPopover.scss';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nconst DATE_RANGE_DATE_FORMAT = 'MMM. DD YYYY';\n\nexport interface IDeliveriesAndTransfersAndPrepsPopoverProps {\n    product : Product;\n    unitCountByDeliveryId : StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>> | undefined | null;\n    deliveriesByDeliveryId : StringValueMap<DeliveryId, Delivery>;\n    unitCountByTransferId : StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>> | undefined | null;\n    transferReportWithoutCostsByTransferId : StringValueMap<TransferId, TransferReportWithoutCost>;\n    inputUnitCountByPrepEventId : StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>> | undefined;\n    outputUnitCountByPrepEventId : StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>> | undefined;\n    prepEventsByPrepEventId : StringValueMap<PrepEventId, PrepEvent>;\n    deliveriesAndTransfersAndPrepsCount : QuantityInUnit<ProductQuantityUnit>;\n    deliveriesAndTransfersPopoverIsShown : boolean;\n    setDeliveriesAndTransfersPopoverIsShown : (isShown : boolean) => void;\n}\n\nexport class DeliveriesAndTransfersAndPrepsPopover extends React.Component<IDeliveriesAndTransfersAndPrepsPopoverProps, object> {\n\n    constructor(props : IDeliveriesAndTransfersAndPrepsPopoverProps) {\n        super(props);\n    }\n\n    public render() {\n        const {\n            product,\n            unitCountByDeliveryId,\n            deliveriesByDeliveryId,\n            unitCountByTransferId,\n            transferReportWithoutCostsByTransferId,\n            deliveriesAndTransfersAndPrepsCount,\n            deliveriesAndTransfersPopoverIsShown,\n            setDeliveriesAndTransfersPopoverIsShown,\n            inputUnitCountByPrepEventId,\n            outputUnitCountByPrepEventId,\n            prepEventsByPrepEventId,\n        } = this.props;\n\n        const deliveries : Array<JSX.Element> = [];\n        const preferredReportingUnit = product.getPreferredReportingUnit();\n        const packagingsAndMappings = product.getPackagingsAndMappings();\n\n        if (unitCountByDeliveryId) {\n            const sortedDeliveryIds = Array.from(unitCountByDeliveryId.keys()).sort((deliveryIdA, deliveryIdB) => {\n                const deliveryA = deliveriesByDeliveryId.get(deliveryIdA);\n                const deliveryB = deliveriesByDeliveryId.get(deliveryIdB);\n                if (typeof deliveryA === 'undefined' || typeof deliveryB === 'undefined') {\n                    throw new RuntimeException('unexpected');\n                }\n                return deliveryA.getDateDeliveredUTC().diff(deliveryB.getDateDeliveredUTC());\n            });\n\n            sortedDeliveryIds.forEach((deliveryId : DeliveryId) => {\n                const count = unitCountByDeliveryId.get(deliveryId);\n                const delivery = deliveriesByDeliveryId.get(deliveryId);\n                if (typeof delivery !== 'undefined') {\n                    const linkToOrderDetail = '/ordering/record/detail/r/' + window.GLOBAL_RETAILER_ID + '/#/order/' + deliveryId.getValue();\n                    const countDisplay = count ? PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, count, preferredReportingUnit).getQuantity().toFixed(2) : undefined;\n                    deliveries.push((\n                        <div className=\"row-container\" key={ deliveryId.getValue() }>\n                            <a href={ linkToOrderDetail }><small className=\"row-date\">{ delivery.getDateDeliveredUTC().tz(window.GLOBAL_RETAILER_TIME_ZONE).format(DATE_RANGE_DATE_FORMAT) }</small></a>\n                            <span className=\"text-right\">\n                                <span className=\"unit-count cell-plr-xs\">{ countDisplay }</span>\n                            </span>\n                        </div>\n                    ));\n                }\n            });\n        }\n\n        const transfersIn : Array<JSX.Element> = [];\n        const transfersOut : Array<JSX.Element> = [];\n\n        if (unitCountByTransferId) {\n            const sortedTransferIds = Array.from(unitCountByTransferId.keys()).sort((transferIdA, transferIdB) => {\n                const transferA = transferReportWithoutCostsByTransferId.get(transferIdA);\n                const transferB = transferReportWithoutCostsByTransferId.get(transferIdB);\n                if (typeof transferA === 'undefined' || typeof transferB === 'undefined') {\n                    throw new RuntimeException('unexpected');\n                }\n                return numberUtils.ThriftInt64ToNumber(transferA.getTransferReportData().getTime().timeSinceUnixEpoch.value) - numberUtils.ThriftInt64ToNumber(transferB.getTransferReportData().getTime().timeSinceUnixEpoch.value);\n            });\n\n            sortedTransferIds.forEach((transferId : TransferId) => {\n                const count = unitCountByTransferId.get(transferId);\n                const linkToTransferReport = `/inventory/transfer_report/${ transferId.getValue() }/r/${ window.GLOBAL_RETAILER_ID }/`;\n                if (transferReportWithoutCostsByTransferId) {\n                    const transferReport = transferReportWithoutCostsByTransferId.get(transferId);\n\n                    if (typeof transferReport !== 'undefined') {\n                        const transferReportData = transferReport.getTransferReportData();\n\n                        if (typeof transferReportData !== 'undefined') {\n                            const transferDate = moment.utc(numberUtils.ThriftInt64ToNumber(transferReportData.getTime().timeSinceUnixEpoch.value));\n                            const countDisplay = count ? PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, count, preferredReportingUnit).getQuantity().toFixed(2) : undefined;\n                            if (transferReportData.getDirection() === 0) {\n                                transfersIn.push((\n                                    <div className=\"row-container\">\n                                        <a href={ linkToTransferReport } ><small className=\"row-date\">{ transferDate.tz(window.GLOBAL_RETAILER_TIME_ZONE).format(DATE_RANGE_DATE_FORMAT) }</small></a>\n                                        <span className=\"text-right\">\n                                            <span className=\"unit-count cell-plr-xs\">{ countDisplay }</span>\n                                        </span>\n                                    </div>\n                                ));\n                            } else {\n                                transfersOut.push((\n                                    <div className=\"row-container\">\n                                        <a href={ linkToTransferReport } ><small className=\"row-date\">{ transferDate.tz(window.GLOBAL_RETAILER_TIME_ZONE).format(DATE_RANGE_DATE_FORMAT) }</small></a>\n                                        <span className=\"text-right\">\n                                            <span className=\"unit-count cell-plr-xs\">{ countDisplay }</span>\n                                        </span>\n                                    </div>\n                                ));\n                            }\n                        }\n                    }\n                }\n            });\n        }\n\n        const prepEventInputs : Array<JSX.Element> = [];\n        const prepEventOutputs : Array<JSX.Element> = [];\n        if (inputUnitCountByPrepEventId || outputUnitCountByPrepEventId) {\n            const sortedPrepEventIds = Array.from(prepEventsByPrepEventId.keys()).sort((prepEventIdA, prepEventIdB) => {\n                const prepEventA = prepEventsByPrepEventId.get(prepEventIdA);\n                const prepEventB = prepEventsByPrepEventId.get(prepEventIdB);\n                if (typeof prepEventA === 'undefined' || typeof prepEventB === 'undefined') {\n                    throw new RuntimeException('unexpected');\n                }\n                return prepEventA.getPrepEventTime().diff(prepEventB.getPrepEventTime());\n            });\n            sortedPrepEventIds.forEach((prepEventId) => {\n                const inputUnitCount = inputUnitCountByPrepEventId ? inputUnitCountByPrepEventId.get(prepEventId) : undefined;\n                const outputUnitCount = outputUnitCountByPrepEventId ? outputUnitCountByPrepEventId.get(prepEventId) : undefined;\n                const prepEvent = prepEventsByPrepEventId.get(prepEventId);\n\n                if (typeof prepEvent !== 'undefined') {\n                    const linkToPrepEvent = `/inventory/prep_record/${ prepEventId.getValue() }/r/${ window.GLOBAL_RETAILER_ID }`;\n\n                    const prepEventDate = prepEvent.getPrepEventTime().clone();\n                    const prepEventDateString = prepEventDate.tz(window.GLOBAL_RETAILER_TIME_ZONE).format(DATE_RANGE_DATE_FORMAT);\n\n                    if (inputUnitCount) {\n                        const inputUnitCountInPreferredReportingUnit = PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, inputUnitCount, preferredReportingUnit);\n                        const inputForDisplay = inputUnitCountInPreferredReportingUnit.getQuantity() * -1;\n\n                        prepEventInputs.push((\n                            <div className=\"row-container\" key={ prepEventId.getValue() + '_input' }>\n                                <a href={ linkToPrepEvent } ><small className=\"row-date\">{ prepEventDateString }</small></a>\n                                <span className=\"text-right\">\n                                    <span className=\"unit-count cell-plr-xs\">{ inputForDisplay.toFixed(2) }</span>\n                                </span>\n                            </div>\n                        ));\n                    }\n\n                    if (outputUnitCount) {\n                        const outputUnitCountInPreferredReportingUnit = PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, outputUnitCount, preferredReportingUnit);\n                        prepEventOutputs.push((\n                            <div className=\"row-container\" key={ prepEventId.getValue() + '_output' }>\n                                <a href={ linkToPrepEvent }><small className=\"row-date\">{ prepEventDateString }</small></a>\n                                <span className=\"text-right\">\n                                    <span className=\"unit-count cell-plr-xs\">{ outputUnitCountInPreferredReportingUnit.getQuantity().toFixed(2) }</span>\n                                </span>\n                            </div>\n                        ));\n                    }\n                }\n            });\n        }\n        const deliveriesAndTransfersAndPrepsCountInPreferredReportingUnit = PackagingUtils.convertProductQuantityToUnit(packagingsAndMappings, deliveriesAndTransfersAndPrepsCount, preferredReportingUnit).getQuantity();\n        return (\n            <Popover\n                className=\"deliveries-and-transfers-popover\"\n                preferredPositionArray={ ['below', 'above', 'left', 'right'] }\n                showOnHover={ true }\n                popoverContentIsShown={ deliveriesAndTransfersPopoverIsShown }\n                setPopoverContentIsShown={ setDeliveriesAndTransfersPopoverIsShown }\n                anchorContent={ (\n                    <span className=\"deliveries-and-transfers-amount\">\n                        { deliveriesAndTransfersAndPrepsCountInPreferredReportingUnit.toFixed(2) }\n                    </span>\n                ) }\n                popoverContent={ (\n                    <div className=\"popover-breakdown-container\">\n                        <div className=\"popover-title\">\n                            <strong>Deliveries, Transfers, and Preps</strong>\n                        </div>\n                        <hr className=\"rule-light\"/>\n                        <ul className=\"price-breakdown-list\">\n                            { deliveries.length > 0 &&\n                                <li>\n                                    <strong>Deliveries</strong>\n                                    { deliveries }\n                                </li>\n                            }\n                            { transfersIn.length > 0 &&\n                                <li>\n                                    <strong>Transfers In</strong>\n                                    { transfersIn }\n                                </li>\n                            }\n                            { transfersOut.length > 0 &&\n                                <li>\n                                    <strong>Transfers Out</strong>\n                                    { transfersOut }\n                                </li>\n                            }\n                            { prepEventInputs.length > 0 &&\n                                <li>\n                                    <strong>Prep Inputs</strong>\n                                    { prepEventInputs }\n                                </li>\n                            }\n                            { prepEventOutputs.length > 0 &&\n                                <li>\n                                    <strong>Prep Outputs</strong>\n                                    { prepEventOutputs }\n                                </li>\n                            }\n                        </ul>\n                        <hr className=\"dark-rule\"/>\n                        <div className=\"price-breakdown-total-line\">\n                            <strong>Total</strong>\n                            <span>\n                                { deliveriesAndTransfersAndPrepsCount && deliveriesAndTransfersAndPrepsCountInPreferredReportingUnit.toFixed(2) }\n                            </span>\n                        </div>\n                    </div>\n                ) }\n            />\n        );\n    }\n}\n","import React from 'react';\n\nimport './PositionablePopup.scss';\n\nconst POPUP_EDGE_PADDING = 10;\n\nconst POSITIONABLE_POPUP_SIDES = ['above', 'below', 'left', 'right', 'center'] as const;\n\nexport type PositionablePopupSide = typeof POSITIONABLE_POPUP_SIDES[number];\n\nconst POSITION_CLASSES = POSITIONABLE_POPUP_SIDES.map((side) => `position-${side}`);\n\nexport interface IPopupProps {\n    preferredPositionArray : Array<PositionablePopupSide>;\n    className : string;\n    caretScaleFactor? : number;\n    children : React.ReactNode;\n}\n\nexport class PositionablePopup extends React.Component<IPopupProps, object> {\n\n    private popupDiv : HTMLDivElement | undefined;\n    private caretDiv : HTMLDivElement | undefined;\n\n    public render() {\n        return (\n            <div className={ 'positionable-popup ' + this.props.className } ref={ this.onPopupDivRef }>\n                <div className=\"positionable-popup-body\">\n                    { this.props.children }\n                </div>\n                <div className=\"positionable-popup-caret\" ref={ this.onCaretDivRef }/>\n            </div>\n        );\n    }\n\n    public componentDidUpdate() {\n        this.positionPopup();\n    }\n\n    public componentDidMount() {\n        this.positionPopup();\n    }\n\n    private positionPopup = () => {\n        const {\n            preferredPositionArray,\n            caretScaleFactor,\n        } = this.props;\n\n        // If we don't have our two local element variables defined, then do nothing by returning early.\n        const popupDiv = this.popupDiv;\n        const caretDiv = this.caretDiv;\n        if (typeof popupDiv === 'undefined' || typeof caretDiv === 'undefined') {\n            return;\n        }\n\n        const anchorDiv = popupDiv.parentElement;\n        if (anchorDiv === null) {\n            return;\n        }\n\n        // Clear any positioning state from a previous call so we measure the popup at its natural size\n        // and don't accumulate conflicting position-* classes or stale transforms across re-positions.\n        for (const cls of POSITION_CLASSES) {\n            popupDiv.classList.remove(cls);\n        }\n        popupDiv.style.transform = '';\n        caretDiv.style.transform = '';\n\n        // First we figure out how much space we have on each side of the anchor, and how much space the popup needs.\n\n        const anchorRect = anchorDiv.getBoundingClientRect();\n\n        // Include header height in top calculation so popup doesn't get cut off\n        const headerElement = document.querySelector(\".page-header\");\n        const headerHeight = headerElement instanceof HTMLElement ? headerElement.offsetHeight : 0;\n\n        const spaceToLeftEdge = anchorRect.left;\n        const spaceToRightEdge = window.innerWidth - anchorRect.right;\n        const spaceToTop = anchorRect.top - headerHeight;\n        const spaceToBottom = window.innerHeight - anchorRect.bottom;\n\n        const popupHeightNeeded = popupDiv.offsetHeight + POPUP_EDGE_PADDING;\n        const popupWidthNeeded = popupDiv.offsetWidth + POPUP_EDGE_PADDING;\n\n        let positioningClass : string | null = null;\n\n        // Next setup test functions based upon current spacing.\n\n        const positionTestFunctions : { [p : string] : () => string | null } = {\n            above: () => {\n                return spaceToTop > popupHeightNeeded ? 'position-above' : null;\n            },\n            below: () => {\n                return spaceToBottom > popupHeightNeeded ? 'position-below' : null;\n            },\n            left: () => {\n                return spaceToLeftEdge > popupWidthNeeded ? 'position-left' : null;\n            },\n            right: () => {\n                return spaceToRightEdge > popupWidthNeeded ? 'position-right' : null;\n            },\n            center: () => {\n                return 'position-center';\n            }\n        };\n\n        // Check each positioning option in the preferred array, the first one that has space wins.\n\n        for (const position of preferredPositionArray) {\n            positioningClass = positionTestFunctions[position]();\n            if (positioningClass) {\n                break;\n            }\n        }\n\n        // If we can't find a viable position, default to below.\n        let noViablePosition = false;\n        if (!positioningClass) {\n            positioningClass = 'position-below';\n            noViablePosition = true;\n        }\n\n        // Adding the positioning class will move the popup to the correct side of the anchor.\n\n        popupDiv.classList.add(positioningClass);\n\n        if (positioningClass === 'position-center' || noViablePosition) {\n            return;\n        }\n\n        // Next we get the new bounding rect of the popup and calculate any needed adjustments in X & Y for the popup & caret.\n\n        const popupRectAfterPositioning = popupDiv.getBoundingClientRect();\n\n        let offsetX = 0;\n        const distanceFromRightEdge = window.innerWidth  - popupRectAfterPositioning.right;\n        if (distanceFromRightEdge < 0) {\n            offsetX = distanceFromRightEdge - POPUP_EDGE_PADDING;\n        }\n        const distanceFromLeftEdge = popupRectAfterPositioning.left;\n        if (distanceFromLeftEdge < 0) {\n            offsetX = -1 * distanceFromLeftEdge + POPUP_EDGE_PADDING;\n        }\n\n        let offsetY = 0;\n        const distanceFromBottom = window.innerHeight - popupRectAfterPositioning.bottom;\n        if (distanceFromBottom < 0) {\n            offsetY = distanceFromBottom - POPUP_EDGE_PADDING;\n        }\n        const distanceFromTop = popupRectAfterPositioning.top;\n        if (distanceFromTop < 0) {\n            offsetY = POPUP_EDGE_PADDING - distanceFromTop;\n        }\n\n        // Last we apply adjustments.\n\n        if (offsetX !== 0) {\n            popupDiv.style.transform = `translateX(calc(-50% + ${ offsetX }px))`;\n            caretDiv.style.transform = `translateX(calc(-50% + ${ offsetX * -1 }px)) rotate(45deg)`;\n        } else if (offsetY !== 0) {\n            popupDiv.style.transform = `translateY(calc(-50% + ${ offsetY }px))`;\n            caretDiv.style.transform = `translateY(calc(-50% + ${ offsetY * -1 }px)) rotate(45deg)`;\n        }\n\n        if (typeof caretScaleFactor !== 'undefined') {\n            const caretDivStyleTransform = caretDiv.style.transform;\n            if (!caretDivStyleTransform || (caretDivStyleTransform.indexOf('scale(') === -1)) {\n                caretDiv.style.transform += ` scale(${caretScaleFactor})`; // Does not handle cases where the caretScaleFactor changes between renders\n            }\n        }\n    }\n\n    private onPopupDivRef = (div : HTMLDivElement) => {\n        this.popupDiv = div;\n    }\n\n    private onCaretDivRef = (div : HTMLDivElement) => {\n        this.caretDiv = div;\n    }\n}\n","import React, { useEffect, useRef } from 'react';\nimport { createPortal } from 'react-dom';\n\nimport { PositionablePopup, PositionablePopupSide } from 'shared/components/PositionablePopup/PositionablePopup';\nimport { useAnchorMeasurement } from 'shared/hooks/useAnchorMeasurement';\nimport './Popover.scss';\n\nconst ANCHOR_MOUSE_ENTER_DELAY_TIME = 400;\n\nexport interface IPopoverProps {\n    preferredPositionArray : Array<PositionablePopupSide>;\n    anchorContent : React.ReactNode;\n    popoverContent : React.ReactNode;\n    className : string;\n    showOnHover : boolean;\n    popoverContentIsShown : boolean;\n    setPopoverContentIsShown : (isShown : boolean) => void;\n    /** 'toggle' (default) shows or hides the popover; 'pin' keeps it shown; 'hide' cancels a pending hover show and hides it. */\n    anchorClickBehavior? : 'toggle' | 'pin' | 'hide';\n    usePortal? : boolean;\n}\n\nexport const Popover = (props : IPopoverProps) => {\n    const {\n        preferredPositionArray,\n        anchorContent,\n        popoverContent,\n        className,\n        showOnHover,\n        popoverContentIsShown,\n        setPopoverContentIsShown,\n        anchorClickBehavior = 'toggle',\n        usePortal,\n    } = props;\n\n    const showTimerHandleRef = useRef<number>(-1);\n    const shownViaClickRef = useRef<boolean>(false);\n    const outerDivRef = useRef<HTMLDivElement | null>(null);\n    const portalWrapperRef = useRef<HTMLDivElement | null>(null);\n\n    const cancelShowTimer = () => {\n        if (showTimerHandleRef.current) {\n            window.clearTimeout(showTimerHandleRef.current);\n            showTimerHandleRef.current = -1;\n        }\n    };\n\n    const showPopup = () => {\n        setPopoverContentIsShown(true);\n    };\n\n    const hidePopup = () => {\n        setPopoverContentIsShown(false);\n        shownViaClickRef.current = false;\n    };\n\n    const anchorMeasurement = useAnchorMeasurement(outerDivRef, !!usePortal && popoverContentIsShown, hidePopup);\n\n    useEffect(() => {\n        if (!popoverContentIsShown) {\n            return;\n        }\n\n        const onWindowClick = (event : MouseEvent) => {\n            if (showTimerHandleRef.current) {\n                window.clearTimeout(showTimerHandleRef.current);\n                showTimerHandleRef.current = -1;\n            }\n            const target = event.target as Node;\n            const outerDiv = outerDivRef.current;\n            const portalWrapper = portalWrapperRef.current;\n            const insideAnchor = !!(outerDiv && outerDiv.contains(target));\n            const insidePortal = !!(portalWrapper && portalWrapper.contains(target));\n            if (!insideAnchor && !insidePortal) {\n                setPopoverContentIsShown(false);\n                shownViaClickRef.current = false;\n            }\n        };\n\n        window.addEventListener('click', onWindowClick, true);\n        return () => {\n            window.removeEventListener('click', onWindowClick, true);\n        };\n    }, [popoverContentIsShown, setPopoverContentIsShown]);\n\n    const onOuterDivMouseEnter = () => {\n        showTimerHandleRef.current = window.setTimeout(() => {\n            showPopup();\n            showTimerHandleRef.current = -1;\n        }, ANCHOR_MOUSE_ENTER_DELAY_TIME);\n    };\n\n    const onOuterDivMouseLeave = () => {\n        if (!shownViaClickRef.current) {\n            cancelShowTimer();\n            hidePopup();\n        }\n    };\n\n    const onAnchorClick = () => {\n        cancelShowTimer();\n\n        if (anchorClickBehavior === 'hide') {\n            hidePopup();\n            return;\n        }\n\n        if (popoverContentIsShown) {\n            if (shownViaClickRef.current && anchorClickBehavior !== 'pin') {\n                hidePopup();\n            } else {\n                shownViaClickRef.current = true;\n            }\n        } else {\n            shownViaClickRef.current = true;\n            showPopup();\n        }\n    };\n\n    const onPopoverClick = () => {\n        shownViaClickRef.current = true;\n    };\n\n    const popoverContentsNode = (\n        <div\n            className=\"popover-contents\"\n            onClick={ onPopoverClick }\n            style={ usePortal ? { height: '100%' } : undefined }\n        >\n            <PositionablePopup\n                className=\"\"\n                preferredPositionArray={ preferredPositionArray }\n            >\n                { popoverContent }\n            </PositionablePopup>\n        </div>\n    );\n\n    let portaledPopover : React.ReactNode = null;\n    if (usePortal && popoverContentIsShown && anchorMeasurement) {\n        const wrapperStyle : React.CSSProperties = {\n            position: 'fixed',\n            top: anchorMeasurement.top,\n            left: anchorMeasurement.left,\n            width: anchorMeasurement.width,\n            height: anchorMeasurement.height,\n            pointerEvents: 'auto',\n        };\n        portaledPopover = createPortal(\n            <div className={ `bev-popover-portal ${ anchorMeasurement.isInDialog ? 'portaled-in-dialog' : '' }` } style={ wrapperStyle } ref={ portalWrapperRef }>\n                { popoverContentsNode }\n            </div>,\n            document.body,\n        );\n    }\n\n    return (\n        <div\n            className={ 'bev-popover ' + className }\n            ref={ outerDivRef }\n            onMouseEnter={ showOnHover ? onOuterDivMouseEnter : undefined }\n            onMouseLeave={ showOnHover ? onOuterDivMouseLeave : undefined }\n        >\n            <div onClick={ onAnchorClick } className=\"anchor-container\">\n                { anchorContent }\n            </div>\n            { !usePortal && popoverContentIsShown && popoverContentsNode }\n            { portaledPopover }\n        </div>\n    );\n};\n","import { ConnectedBevSpotDateTimePicker, IConnectedBevSpotDateTimePicker } from 'shared/components/BevSpotDateTimePicker/BevSpotDateTimePicker';\nimport { PositionablePopupSide } from 'shared/components/PositionablePopup/PositionablePopup';\n\nexport interface IPopupDateTimePicker {\n    dateTimePickerIsShown : boolean;\n    setDateTimePickerIsShown : (value : boolean) => void;\n    dateTimePickerProps : IConnectedBevSpotDateTimePicker;\n    preferredPositionArray? : Array<PositionablePopupSide>;\n    dateTimeFormat? : string;\n}\n\nexport function PopupDateTimePicker(props : IPopupDateTimePicker) {\n    const {\n        preferredPositionArray,\n        dateTimePickerIsShown,\n        dateTimePickerProps,\n        setDateTimePickerIsShown,\n    } = props;\n\n    const popupProps = {\n        preferredPositionArray,\n        dateTimePickerIsShown,\n        setDateTimePickerIsShown,\n    }\n\n    return (\n        <ConnectedBevSpotDateTimePicker\n            uniqueId={ dateTimePickerProps.uniqueId }\n            buttons={ dateTimePickerProps.buttons }\n            initialDateTime={ dateTimePickerProps.initialDateTime }\n            setDateTime={ dateTimePickerProps.setDateTime }\n            type={ dateTimePickerProps.type }\n            shouldShowTime={ dateTimePickerProps.shouldShowTime }\n            popUpPicker={\n                popupProps\n            }\n        />\n    );\n}\n","import { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport IntegrationExceptions from 'gen-thrift/integration_Exception_types';\nimport { ThunkAction, IAction, ISetShownAction } from 'shared/models/IAction';\nimport { ICloverIntegrationRowState } from 'shared/components/PosIntegration/CloverIntegrationRowReducers';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { integrationService } from 'shared/lib/manager';\n\nexport interface ICloverIntegrationModalStore {\n    cloverIntegrationRowState : ICloverIntegrationRowState;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'CLOVER_INTEGRATION/SET_MODAL_SHOWN',\n    SET_EXISTING_INTEGRATION_STATE: 'CLOVER_INTEGRATION/SET_EXISTING_INTEGRATION_STATE',\n    SET_IS_LOADING: 'CLOVER_INTEGRATION/SET_IS_LOADING',\n\n    SET_MODAL_IS_LOADING: 'CLOVER_INTEGRATION/SET_MODAL_IS_LOADING',\n    SET_MODAL_ERROR: 'CLOVER_INTEGRATION/SET_MODAL_ERROR',\n    SET_MODAL_ACCESS_TOKEN: 'CLOVER_INTEGRATION/SET_MODAL_ACCESS_TOKEN',\n};\n\nexport namespace CloverIntegrationActionInterfaces {\n    export interface ISetLocationSelectorShown extends IAction {\n        payload : {\n            isShown : boolean\n        };\n    }\n\n    export interface ISetModalError extends IAction {\n        payload : {\n            message : string | null\n        };\n    }\n\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload : {\n            accessToken : string | null\n        };\n    }\n\n    export interface ISetIsLoading extends IAction {\n        payload : {\n            isLoading : boolean\n        };\n    }\n\n    export interface ISetExistingIntegrationState extends IAction {\n        payload : {\n            integrationState : IntegrationState\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        integrationService : IPOSIntegrationService;\n    }\n\n    export interface IThunkServices extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nconst setModalIsLoading = (\n    isLoading : boolean\n) : CloverIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_MODAL_IS_LOADING,\n});\n\nconst setModalError = (\n    message : string | null\n) : CloverIntegrationActionInterfaces.ISetModalError => ({\n    payload : {\n        message,\n    },\n    type : ActionTypes.SET_MODAL_ERROR\n});\n\nconst setModalShown = (\n    isShown : boolean\n) : CloverIntegrationActionInterfaces.ISetModalShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_MODAL_SHOWN\n});\n\nconst setModalAccessToken = (\n    accessToken : string | null\n) : CloverIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload : {\n        accessToken,\n    },\n    type : ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nconst setIsLoading = (\n    isLoading : boolean\n) : CloverIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_IS_LOADING,\n});\n\nconst setExistingCredentialState = (\n    integrationState : IntegrationState\n) : CloverIntegrationActionInterfaces.ISetExistingIntegrationState => ({\n    payload : {\n        integrationState,\n    },\n    type: ActionTypes.SET_EXISTING_INTEGRATION_STATE,\n});\n\nconst fetchExistingIntegration = (\n    locationId : LocationId\n) : ThunkAction<Promise<IntegrationState>, ICloverIntegrationModalStore, CloverIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<IntegrationState> => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return extraArguments.services.integrationService.getIntegrationState('clover', session, locationId)\n        .then((data: Set<IntegrationState>) => {\n            // Does not support Multi-connection\n            const integrationState: IntegrationState = data.values().next().value!;\n            dispatch(setExistingCredentialState(integrationState));\n            dispatch(setIsLoading(false));\n            return integrationState;\n        })\n        .catch((e : Error) => {\n            dispatch(setIsLoading(false));\n            throw e;\n        });\n    };\n};\n\nconst authorizeCloverIntegration = (\n    locationId : LocationId,\n    cloverMerchantId : string,\n    authorizationCode : string\n) : ThunkAction<Promise<void>, ICloverIntegrationModalStore, CloverIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.addCloverIntegration(\n            session,\n            locationId,\n            cloverMerchantId,\n            authorizationCode\n        ).then((response) => {\n            // get updated integration state from backend\n            return extraArguments.services.integrationService.getIntegrationState('clover', session, locationId)\n            .then((data: Set<IntegrationState>) => {\n                // Does not support Multi-connection\n                const integrationState: IntegrationState = data.values().next().value!;\n                dispatch(setExistingCredentialState(integrationState));\n                dispatch(setModalIsLoading(false));\n            });\n        }).catch((error) => {\n            if (error instanceof IntegrationExceptions.InvalidAuthorizationCodeException) {\n                throw new RuntimeException('Failed to connect with Clover: access denied.');\n            }\n            dispatch(setModalIsLoading(false));\n            throw error;\n        });\n    };\n};\n\nconst disassociateLocationWithCloverMerchant = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, ICloverIntegrationModalStore, CloverIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        dispatch(setModalIsLoading(true));\n\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return integrationService.removeIntegration(\n            'clover',\n            session,\n            locationId,\n        ).then(() => {\n            return extraArguments.services.integrationService.getIntegrationState('clover', session, locationId)\n            .then((data: Set<IntegrationState>) => {\n                // Does not support Multi-connection\n                const integrationState: IntegrationState = data.values().next().value!;\n                dispatch(setExistingCredentialState(integrationState));\n                dispatch(setModalIsLoading(false));\n            });\n        })\n        .catch((error) => {\n            dispatch(setModalIsLoading(false));\n            throw error;\n        });\n    };\n};\n\nconst retrieveAccessToken = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, ICloverIntegrationModalStore, CloverIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.retrieveAccessToken(\n            session,\n            locationId,\n            \"clover\"\n        ).then((accessToken : string | null) => {\n            if (accessToken == null || accessToken === \"\") {\n                accessToken = \"Access token not found.\";\n            }\n\n            dispatch(setModalAccessToken(accessToken));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nexport const CloverIntegrationRowActions = {\n    authorizeCloverIntegration,\n    disassociateLocationWithCloverMerchant,\n    setModalError,\n    setModalShown,\n    fetchExistingIntegration,\n    setModalAccessToken,\n    retrieveAccessToken,\n};\n","import { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { Action } from '@reduxjs/toolkit';\nimport {\n    ActionTypes,\n    CloverIntegrationActionInterfaces,\n} from 'shared/components/PosIntegration/CloverIntegrationRowActions';\n\nexport interface ICloverIntegrationModalState {\n    isLoading : boolean;\n    error : string | null;\n    accessToken : string | null;\n}\n\nexport interface ICloverIntegrationRowState {\n    isLoading : boolean;\n    modalIsShown : boolean;\n    existingIntegration : IntegrationState | null;\n    modal : ICloverIntegrationModalState;\n}\n\nconst initialState : ICloverIntegrationRowState = {\n    isLoading : false,\n    existingIntegration : null,\n    modalIsShown : false,\n    modal : {\n        isLoading : false,\n        error: null,\n        accessToken: null,\n    }\n};\n\nconst reduceSetModalIsLoading = (\n    state : ICloverIntegrationRowState,\n    action : CloverIntegrationActionInterfaces.ISetIsLoading\n) : ICloverIntegrationRowState => {\n    return {\n        ...state,\n        modal : {\n            ...state.modal,\n            isLoading : action.payload.isLoading,\n        }\n    };\n};\n\nconst reduceSetModalShown = (\n    state : ICloverIntegrationRowState,\n    action : CloverIntegrationActionInterfaces.ISetModalShown\n) : ICloverIntegrationRowState => {\n    return {\n        ...state,\n        modalIsShown : action.payload.isShown,\n    };\n};\n\nconst reduceSetIsLoading = (\n    state : ICloverIntegrationRowState,\n    action : CloverIntegrationActionInterfaces.ISetIsLoading\n) : ICloverIntegrationRowState => {\n    return {\n        ...state,\n        isLoading : action.payload.isLoading,\n    };\n};\n\nconst reduceSetModalError = (\n    state : ICloverIntegrationRowState,\n    action : CloverIntegrationActionInterfaces.ISetModalError\n) : ICloverIntegrationRowState => {\n    return {\n        ...state,\n        modal: {\n            ...state.modal,\n            error: action.payload.message\n        }\n    };\n};\n\nconst reduceSetModalAccessToken = (\n    state : ICloverIntegrationRowState,\n    action : CloverIntegrationActionInterfaces.ISetModalAccessToken\n) : ICloverIntegrationRowState => {\n    return {\n        ...state,\n        modal: {\n            ...state.modal,\n            accessToken: action.payload.accessToken\n        }\n    };\n};\n\nconst reduceSetExistingIntegrationState = (\n    state : ICloverIntegrationRowState,\n    action : CloverIntegrationActionInterfaces.ISetExistingIntegrationState\n) : ICloverIntegrationRowState => {\n    return {\n        ...state,\n        existingIntegration: action.payload.integrationState,\n    };\n};\n\nexport const CloverIntegrationRowReducers = (\n    state : ICloverIntegrationRowState = initialState,\n    action : Action,\n) : ICloverIntegrationRowState => {\n    switch (action.type) {\n        case ActionTypes.SET_IS_LOADING:\n            return reduceSetIsLoading(state, action as CloverIntegrationActionInterfaces.ISetIsLoading);\n        case ActionTypes.SET_EXISTING_INTEGRATION_STATE:\n            return reduceSetExistingIntegrationState(state, action as CloverIntegrationActionInterfaces.ISetExistingIntegrationState);\n        case ActionTypes.SET_MODAL_SHOWN:\n            return reduceSetModalShown(state, action as CloverIntegrationActionInterfaces.ISetModalShown);\n        case ActionTypes.SET_MODAL_IS_LOADING:\n            return reduceSetModalIsLoading(state, action as CloverIntegrationActionInterfaces.ISetIsLoading);\n        case ActionTypes.SET_MODAL_ERROR:\n            return reduceSetModalError(state, action as CloverIntegrationActionInterfaces.ISetModalError);\n        case ActionTypes.SET_MODAL_ACCESS_TOKEN:\n            return reduceSetModalAccessToken(state, action as CloverIntegrationActionInterfaces.ISetModalAccessToken);\n        default:\n            return state;\n    }\n};\n","import { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { IPosLocation } from 'api/Integration/model/PosLocation';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { ThunkAction, IAction, ISetShownAction } from 'shared/models/IAction';\nimport { IHeartlandIntegrationRowState } from 'shared/components/PosIntegration/HeartlandIntegrationRowReducers';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { integrationService } from 'shared/lib/manager';\n\nexport interface IHeartlandIntegrationModalStore {\n    heartlandIntegrationRowState : IHeartlandIntegrationRowState;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'HEARTLAND_INTEGRATION/SET_MODAL_SHOWN',\n    SET_IS_LOADING: 'HEARTLAND_INTEGRATION/SET_IS_LOADING',\n    SET_INTEGRATION_STATE: 'HEARTLAND_INTEGRATION/SET_INTEGRATION_STATE',\n    SET_MODAL_IS_LOADING: 'HEARTLAND_INTEGRATION/SET_MODAL_IS_LOADING',\n    SET_MODAL_ERROR: 'HEARTLAND_INTEGRATION/SET_MODAL_ERROR',\n    SET_MODAL_ACCESS_TOKEN: 'HEARTLAND_INTEGRATION/SET_MODAL_ACCESS_TOKEN'\n};\n\nexport namespace HeartlandIntegrationActionInterfaces {\n    export interface ISetHeartlandLocations extends IAction {\n        payload : {\n            heartlandLocations : Array<IPosLocation>\n        };\n    }\n\n    export interface ISetLocationSelectorShown extends IAction {\n        payload : {\n            isShown : boolean\n        };\n    }\n\n    export interface ISetModalError extends IAction {\n        payload : {\n            message : string | null\n        };\n    }\n\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface ISetIsLoading extends IAction {\n        payload : {\n            isLoading : boolean\n        };\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload : {\n            accessToken : string | null\n        };\n    }\n\n    export interface ISetIntegrationState extends IAction {\n        payload : {\n            integrationState : IntegrationState\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        integrationService : IPOSIntegrationService;\n    }\n\n    export interface IThunkServices extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nconst setIntegrationState = (\n    integrationState : IntegrationState\n) : HeartlandIntegrationActionInterfaces.ISetIntegrationState => ({\n    payload : {\n        integrationState,\n    },\n    type: ActionTypes.SET_INTEGRATION_STATE,\n});\n\nconst fetchExistingIntegration = (\n    locationId : LocationId\n) : ThunkAction<Promise<IntegrationState>, IHeartlandIntegrationModalStore, HeartlandIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<IntegrationState> => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return extraArguments.services.integrationService.getIntegrationState('heartland', session, locationId)\n        .then((data: Set<IntegrationState>) => {\n            // Does not support Multi-connection\n            const integrationState: IntegrationState = data.values().next().value!;\n            dispatch(setIntegrationState(integrationState));\n            dispatch(setIsLoading(false));\n            return integrationState;\n        })\n        .catch((e : Error) => {\n            dispatch(setIsLoading(false));\n            throw e;\n        });\n    };\n};\n\nconst associateWithLocation = (\n    locationId : LocationId,\n    heartlandApiKey : string,\n) : ThunkAction<Promise<void>, IHeartlandIntegrationModalStore, HeartlandIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.addHeartlandIntegration(\n            session,\n            locationId,\n            heartlandApiKey\n        ).then(async () => {\n            await dispatch(fetchExistingIntegration(locationId));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nconst disassociateWithLocation = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, IHeartlandIntegrationModalStore, HeartlandIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.removeIntegration(\n            'heartland',\n            session,\n            locationId,\n        ).then(async () => {\n            await dispatch(fetchExistingIntegration(locationId));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nconst retrieveAccessToken = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, IHeartlandIntegrationModalStore, HeartlandIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.retrieveAccessToken(\n            session,\n            locationId,\n            \"heartland\"\n        ).then((accessToken) => {\n            if (accessToken == null || accessToken === \"\") {\n                accessToken = \"Access token not found.\";\n            }\n\n            dispatch(setModalAccessToken(accessToken));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nconst setIsLoading = (\n    isLoading : boolean\n) : HeartlandIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_IS_LOADING,\n});\n\nconst setModalShown = (\n    isShown : boolean\n) : HeartlandIntegrationActionInterfaces.ISetModalShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_MODAL_SHOWN\n});\n\nconst setModalError = (\n    message : string | null\n) : HeartlandIntegrationActionInterfaces.ISetModalError => ({\n    payload : {\n        message,\n    },\n    type : ActionTypes.SET_MODAL_ERROR\n});\n\nconst setModalAccessToken = (\n    accessToken : string | null\n) : HeartlandIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload : {\n        accessToken,\n    },\n    type : ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nexport const HeartlandIntegrationRowActions = {\n    fetchExistingIntegration,\n    setModalShown,\n    setModalError,\n    setModalAccessToken,\n    retrieveAccessToken,\n    associateWithLocation,\n    disassociateWithLocation\n};\n","import { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { OmnivoreSupportedPosType } from 'api/Integration/model/IntegrationType';\nimport { OmnivoreIntegrationState } from 'api/Integration/model/OmnivoreIntegrationState';\nimport { IBreadcrumbCredentialData } from 'shared/components/BreadcrumbIntegrationModal/models';\nimport { getBreadcrumbIntegrationStatus } from 'shared/components/BreadcrumbIntegrationModal/utils';\nimport { REPORT_DATETIME_FORMAT } from 'shared/constants';\nimport { IntegrationStatus, IntegrationType, PosIntegrationType } from 'shared/models/IntegrationStatus';\nimport moment from 'moment-timezone';\n\nexport const getIntegrationStatus = (integrationState : null | IntegrationState) : IntegrationStatus => {\n    if (integrationState === null) {\n        return IntegrationStatus.UNCONNECTED;\n    }\n    if (!integrationState.getExternalMerchantId()) {\n        return IntegrationStatus.UNCONNECTED;\n    } else {\n        if (!integrationState.getIsAccessible()) {\n            return IntegrationStatus.NEEDS_ATTENTION;\n        } else {\n            return IntegrationStatus.CONNECTED;\n        }\n    }\n};\n\n// reinforces getIntegrationStatus to be implemented and used when new integration types are added\nexport const getIntegrationStatusByType = (\n    breadcrumbIntegrationState : IBreadcrumbCredentialData | null,\n    toastIntegrationState : Set<IntegrationState> | null,\n    lightspeedIntegrationState : IntegrationState | null,\n    squareIntegrationState : Set<IntegrationState> | null,\n    omnivoreIntegrationState : OmnivoreIntegrationState | null,\n    cloverIntegrationState : IntegrationState | null,\n    kSeriesIntegrationState : IntegrationState | null,\n    spotOnIntegrationState : IntegrationState | null,\n    heartlandIntegrationState : IntegrationState | null,\n    rSeriesIntegrationState : Set<IntegrationState> | null,\n    jonasIntegrationState : IntegrationState | null,\n) : { [type in PosIntegrationType | OmnivoreSupportedPosType]: IntegrationStatus } => {\n    const omnivoreSupportedPosIntegrationStatus : { [k in OmnivoreSupportedPosType] : IntegrationStatus } = {\n        aloha: IntegrationStatus.UNCONNECTED,\n        brink: IntegrationStatus.UNCONNECTED,\n        dinerware: IntegrationStatus.UNCONNECTED,\n        micros: IntegrationStatus.UNCONNECTED,\n        positouch: IntegrationStatus.UNCONNECTED,\n        squirrel: IntegrationStatus.UNCONNECTED,\n        xpient: IntegrationStatus.UNCONNECTED,\n        lavu: IntegrationStatus.UNCONNECTED,\n        maitreD: IntegrationStatus.UNCONNECTED\n    };\n    if (omnivoreIntegrationState !== null && omnivoreIntegrationState.posType) {\n        omnivoreSupportedPosIntegrationStatus[omnivoreIntegrationState.posType] = getIntegrationStatus(omnivoreIntegrationState);\n    }\n\n    return {\n        breadcrumb: getBreadcrumbIntegrationStatus(breadcrumbIntegrationState),\n        toast: getMultiMerchantIntegrationStatus(toastIntegrationState),\n        lightspeed: getIntegrationStatus(lightspeedIntegrationState),\n        square: getMultiMerchantIntegrationStatus(squareIntegrationState),\n        omnivore: getIntegrationStatus(omnivoreIntegrationState),   // not used (but not wrong...)\n        clover: getIntegrationStatus(cloverIntegrationState),\n        kSeries: getIntegrationStatus(kSeriesIntegrationState),\n        spotOn: getIntegrationStatus(spotOnIntegrationState),\n        heartland: getIntegrationStatus(heartlandIntegrationState),\n        rSeries: getMultiMerchantIntegrationStatus(rSeriesIntegrationState),\n        jonas: getIntegrationStatus(jonasIntegrationState),\n        ...omnivoreSupportedPosIntegrationStatus,\n    };\n};\n\nexport const getMultiMerchantIntegrationStatus = (\n    integrationStates: Set<IntegrationState> | null,\n    prioritizeNeedsAttention: boolean = true // When true, prioritize showing NEEDS_ATTENTION if any merchant has issues\n): IntegrationStatus => {\n    if (!integrationStates || integrationStates.size === 0) {\n        return IntegrationStatus.UNCONNECTED;\n    }\n\n    // if it doesnt have a merchant id, its unconnected\n    const connectedStates = Array.from(integrationStates)\n    .filter(state => state.getExternalMerchantId() !== null);\n\n    // If there are no states with merchant IDs, we're unconnected\n    if (connectedStates.length === 0) {\n        return IntegrationStatus.UNCONNECTED;\n    }\n\n    const hasAccessibleState = connectedStates.some(state => state.getIsAccessible());\n    const hasInaccessibleState = connectedStates.some(state => !state.getIsAccessible());\n\n    if (prioritizeNeedsAttention && hasInaccessibleState) {\n        return IntegrationStatus.NEEDS_ATTENTION;\n    }\n    if (hasAccessibleState) {\n        return IntegrationStatus.CONNECTED;\n    }\n    // If we have connections but none are accessible\n    return IntegrationStatus.NEEDS_ATTENTION;\n};\n\nexport const getMultiMerchantSpecificStatus = (\n    integrationStates: Set<IntegrationState> | null,\n    merchantId: string\n): IntegrationStatus => {\n    if (!integrationStates || integrationStates.size === 0) {\n        return IntegrationStatus.UNCONNECTED;\n    }\n\n    let result = IntegrationStatus.UNCONNECTED;\n\n    integrationStates.forEach(state => {\n        if (state.getExternalMerchantId() === merchantId) {\n            result = state.getIsAccessible() ?\n                IntegrationStatus.CONNECTED :\n                IntegrationStatus.NEEDS_ATTENTION;\n        }\n    });\n\n    return result;\n}\n\nexport const getMultiMerchantSpecificState = (\n    integrationStates: Set<IntegrationState> | null,\n    merchantId: string\n): IntegrationState | null => {\n    if (!integrationStates || integrationStates.size === 0) {\n        return null;\n    }\n\n    let result: IntegrationState | null = null;\n    integrationStates.forEach(state => {\n        if (state.getExternalMerchantId() === merchantId) {\n            result = state;\n        }\n    });\n    return result;\n}\n\n// This is more strict than backend which currently allows 1 year's worth of POS history for most POS (some have less due to API constraints).\n// See PosHistoryCacheUtils.java, MongoToastCacheService.py, BreadcrumbCacheService.py\nexport const getPosHistoryLimitDays = (\n    integrationType : PosIntegrationType | OmnivoreSupportedPosType\n) : number => {\n    if (integrationType === 'breadcrumb') {\n        return 45;\n    }\n    return 365;\n};\n\nexport const getIntegrationIconImagePath = (integrationType : IntegrationType | OmnivoreSupportedPosType) : string => {\n    let integrationIconImagePath : string;\n    switch (integrationType) {\n        case 'fintech':\n            integrationIconImagePath = '/static/img/integrations/Fintech-Logo.svg';\n            break;\n        case 'lightspeed':\n        case 'rSeries':\n        case 'kSeries': {\n            integrationIconImagePath = '/static/img/integrations/Lightspeed_logo.svg';\n            break;\n        }\n        case 'sysco':\n            integrationIconImagePath = '/static/img/integrations/' + integrationType + '.svg';\n            break;\n        default: {\n            integrationIconImagePath = '/static/img/integrations/' + integrationType + '.png';\n        }\n    }\n\n    return integrationIconImagePath;\n};\n\nexport const getPosCacheLastUpdatedMessage = (lastSalesCacheUpdateTime : moment.Moment | null) : string =>  {\n    return `POS Data last updated at ${lastSalesCacheUpdateTime ? lastSalesCacheUpdateTime.tz(window.GLOBAL_RETAILER_TIME_ZONE).format(REPORT_DATETIME_FORMAT) : '--' }`;\n};\n","import {\n    IBreadcrumbCredentialData,\n} from 'shared/components/BreadcrumbIntegrationModal/models';\n\nimport { IntegrationStatus } from 'shared/models/IntegrationStatus';\n\nexport const getBreadcrumbIntegrationStatus = (credentialData : IBreadcrumbCredentialData | null) : IntegrationStatus => {\n    if (credentialData === null) {\n        return IntegrationStatus.UNCONNECTED;\n    }\n    return credentialData.isValid ? IntegrationStatus.CONNECTED : IntegrationStatus.NEEDS_ATTENTION;\n};\n","import { createAsyncThunk, createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nimport { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\n\nexport interface IJonasIntegrationRowState {\n    isLoading : boolean;\n    modalIsShown : boolean;\n    existingIntegration : IntegrationState | null;\n}\n\nexport interface IJonasIntegrationModalStore {\n    jonasIntegrationRowState : IJonasIntegrationRowState;\n}\n\ninterface IJonasIntegrationServices {\n    userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n    integrationService : IPOSIntegrationService;\n}\n\nconst jonasIntegrationAsyncThunk = createAsyncThunk.withTypes<{\n    extra: { services : IJonasIntegrationServices },\n}>();\n\n// the connection itself is made from inside jonas, so reading the state is the only call this row makes\nexport const fetchJonasIntegration = jonasIntegrationAsyncThunk(\n    'jonasIntegration/fetch',\n    async (locationId : LocationId, { extra }) => {\n        const session = extra.services.userSessionReader.getSessionId();\n        const integrationStates = await extra.services.integrationService.getIntegrationState('jonas', session, locationId);\n        // one jonas property per retailer, so the set holds a single state\n        return integrationStates.values().next().value!;\n    }\n);\n\nconst initialState : IJonasIntegrationRowState = {\n    isLoading : false,\n    modalIsShown : false,\n    existingIntegration : null,\n};\n\nconst jonasIntegrationSlice = createSlice({\n    name: 'jonasIntegration',\n    initialState,\n    reducers: {\n        setJonasModalShown: (state, action : PayloadAction<boolean>) => {\n            state.modalIsShown = action.payload;\n        },\n    },\n    extraReducers: (builder) => {\n        builder\n            .addCase(fetchJonasIntegration.pending, (state) => {\n                state.isLoading = true;\n            })\n            .addCase(fetchJonasIntegration.fulfilled, (state, action) => {\n                state.isLoading = false;\n                state.existingIntegration = action.payload;\n            })\n            .addCase(fetchJonasIntegration.rejected, (state) => {\n                state.isLoading = false;\n            });\n    },\n});\n\nexport const { setJonasModalShown } = jonasIntegrationSlice.actions;\nexport const JonasIntegrationRowReducers = jonasIntegrationSlice.reducer;\n","import { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { IPosLocation } from 'api/Integration/model/PosLocation';\nimport { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport IntegrationExceptions from 'gen-thrift/integration_Exception_types';\nimport { ThunkAction, IAction, ISetShownAction } from 'shared/models/IAction';\nimport { IKSeriesIntegrationRowState } from 'shared/components/PosIntegration/KSeriesIntegrationRowReducers';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { integrationService } from 'shared/lib/manager';\n\nexport interface IKSeriesIntegrationModalStore {\n    kSeriesIntegrationRowState : IKSeriesIntegrationRowState;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'K_SERIES_INTEGRATION/SET_MODAL_SHOWN',\n    SET_EXISTING_INTEGRATION_STATE: 'K_SERIES_INTEGRATION/SET_EXISTING_INTEGRATION_STATE',\n    SET_IS_LOADING: 'K_SERIES_INTEGRATION/SET_IS_LOADING',\n\n    SET_MODAL_IS_LOADING: 'K_SERIES_INTEGRATION/SET_MODAL_IS_LOADING',\n    SET_K_SERIES_LOCATIONS: 'K_SERIES_INTEGRATION/SET_K_SERIES_LOCATIONS',\n    SET_K_SERIES_LOCATION_SELECTOR_SHOWN: 'K_SERIES_INTEGRATION/SET_K_SERIES_LOCATION_SELECTOR_SHOWN',\n    SET_MODAL_ERROR: 'K_SERIES_INTEGRATION/SET_MODAL_ERROR',\n    SET_MODAL_ACCESS_TOKEN: 'K_SERIES_INTEGRATION/SET_MODAL_ACCESS_TOKEN',\n};\n\nexport namespace KSeriesIntegrationActionInterfaces {\n    export interface ISetKSeriesLocations extends IAction {\n        payload : {\n            kSeriesLocations : Array<IPosLocation>\n        };\n    }\n\n    export interface ISetLocationSelectorShown extends IAction {\n        payload : {\n            isShown : boolean\n        };\n    }\n\n    export interface ISetModalError extends IAction {\n        payload : {\n            message : string | null\n        };\n    }\n\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload : {\n            accessToken : string | null\n        };\n    }\n\n    export interface ISetIsLoading extends IAction {\n        payload : {\n            isLoading : boolean\n        };\n    }\n\n    export interface ISetExistingIntegrationState extends IAction {\n        payload : {\n            integrationState : IntegrationState\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        integrationService : IPOSIntegrationService;\n    }\n\n    export interface IThunkServices extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nconst setModalIsLoading = (\n    isLoading : boolean\n) : KSeriesIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_MODAL_IS_LOADING,\n});\n\nconst setKSeriesLocations = (\n    kSeriesLocations : Array<IPosLocation>\n) : KSeriesIntegrationActionInterfaces.ISetKSeriesLocations => ({\n    payload : { kSeriesLocations },\n    type : ActionTypes.SET_K_SERIES_LOCATIONS,\n});\n\nconst setLocationSelectorIsShown = (\n    isShown : boolean\n) : KSeriesIntegrationActionInterfaces.ISetLocationSelectorShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_K_SERIES_LOCATION_SELECTOR_SHOWN\n});\n\nconst setModalError = (\n    message : string | null\n) : KSeriesIntegrationActionInterfaces.ISetModalError => ({\n    payload : {\n        message,\n    },\n    type : ActionTypes.SET_MODAL_ERROR\n});\n\nconst setModalShown = (\n    isShown : boolean\n) : KSeriesIntegrationActionInterfaces.ISetModalShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_MODAL_SHOWN\n});\n\nconst setModalAccessToken = (\n    accessToken : string | null\n) : KSeriesIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload : {\n        accessToken,\n    },\n    type : ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nconst setIsLoading = (\n    isLoading : boolean\n) : KSeriesIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_IS_LOADING,\n});\n\nconst setExistingCredentialState = (\n    integrationState : IntegrationState\n) : KSeriesIntegrationActionInterfaces.ISetExistingIntegrationState => ({\n    payload : {\n        integrationState,\n    },\n    type: ActionTypes.SET_EXISTING_INTEGRATION_STATE,\n});\n\nconst fetchExistingIntegration = (\n    locationId : LocationId\n) : ThunkAction<Promise<IntegrationState>, IKSeriesIntegrationModalStore, KSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<IntegrationState> => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return extraArguments.services.integrationService.getIntegrationState('kSeries', session, locationId)\n        .then((data: Set<IntegrationState>) => {\n            // Does not support Multi-connection\n            const integrationState: IntegrationState = data.values().next().value!;\n            dispatch(setExistingCredentialState(integrationState));\n            dispatch(setIsLoading(false));\n            return integrationState;\n        })\n        .catch((e : Error) => {\n            dispatch(setIsLoading(false));\n            throw e;\n        });\n    };\n};\n\nconst processAuthorization = (\n    locationId : LocationId,\n    authorizationCode : string\n) : ThunkAction<Promise<void>, IKSeriesIntegrationModalStore, KSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.authorizeAndListAccessiblePosLocations(\n            session,\n            locationId,\n            'kSeries',\n            authorizationCode\n        ).then((response) => {\n            if (response.length > 1) {\n                dispatch(setKSeriesLocations(response));\n                dispatch(setLocationSelectorIsShown(true));\n            } else if (response.length === 1) {\n                return dispatch(associateLocationWithKSeriesLocation(locationId, response[0].id));\n            } else {\n                dispatch(setModalError('You have no locations in your Lightspeed (K Series) account. Please create one and come back to complete the setup.'));\n            }\n\n            dispatch(setModalShown(true));\n        }).catch((error) => {\n            if (error instanceof IntegrationExceptions.FailedToExchangeOAuthToken) {\n                throw new RuntimeException('Failed to connect with Lightspeed (K Series): access denied.');\n            }\n\n            throw error;\n        });\n    };\n};\n\nconst associateLocationWithKSeriesLocation = (\n    locationId : LocationId,\n    kSeriesLocationId : string\n) : ThunkAction<Promise<void>, IKSeriesIntegrationModalStore, KSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        dispatch(setModalIsLoading(true));\n\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return integrationService.associateAuthorizedLocationWithMerchant(\n            session,\n            locationId,\n            'kSeries',\n            kSeriesLocationId\n        ).then(() => {\n            // get updated integration state from backend\n            return extraArguments.services.integrationService.getIntegrationState('kSeries', session, locationId)\n            .then((data: Set<IntegrationState>) => {\n                // Does not support Multi-connection\n                const integrationState: IntegrationState = data.values().next().value!;\n                dispatch(setExistingCredentialState(integrationState));\n                dispatch(setLocationSelectorIsShown(false));\n                dispatch(setModalIsLoading(false));\n            });\n        }).catch((error) => {\n            if (error instanceof IntegrationExceptions.IntegrationNotAccessibleException) {\n                // this is theoretically possible if user revoked authorization from a different page right after attempting to connect...\n                throw new RuntimeException('Failed to connect with Lightspeed (K Series): access denied.');\n            }\n            if (error instanceof IntegrationExceptions.LocationAlreadyHasIntegrationException) {\n                throw new RuntimeException('Account is already connected with a Lightspeed (K Series) location.');\n            }\n            dispatch(setModalIsLoading(false));\n            throw error;\n        });\n    };\n};\n\nconst disassociateLocationWithKSeriesMerchant = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, IKSeriesIntegrationModalStore, KSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        dispatch(setModalIsLoading(true));\n\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return integrationService.removeIntegration(\n            'kSeries',\n            session,\n            locationId,\n        ).then(() => {\n            return extraArguments.services.integrationService.getIntegrationState('kSeries', session, locationId)\n            .then((data: Set<IntegrationState>) => {\n                // Extract the first integration state from the set\n                const integrationState: IntegrationState = data.values().next().value!;\n                dispatch(setExistingCredentialState(integrationState));\n                dispatch(setModalIsLoading(false));\n            });\n        })\n        .catch((error) => {\n            dispatch(setModalIsLoading(false));\n            throw error;\n        });\n    };\n};\n\nconst retrieveAccessToken = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, IKSeriesIntegrationModalStore, KSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.retrieveAccessToken(\n            session,\n            locationId,\n            \"kSeries\"\n        ).then((accessToken : string | null) => {\n            if (accessToken == null || accessToken === \"\") {\n                accessToken = \"Access token not found.\";\n            }\n\n            dispatch(setModalAccessToken(accessToken));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nexport const KSeriesIntegrationRowActions = {\n    processAuthorization,\n    associateLocationWithKSeriesLocation,\n    disassociateLocationWithKSeriesMerchant,\n    setModalError,\n    setModalShown,\n    fetchExistingIntegration,\n    retrieveAccessToken,\n    setModalAccessToken\n};\n","import { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { IPosLocation } from 'api/Integration/model/PosLocation';\nimport { Action } from '@reduxjs/toolkit';\nimport {\n    ActionTypes,\n    KSeriesIntegrationActionInterfaces,\n} from 'shared/components/PosIntegration/KSeriesIntegrationRowActions';\n\nexport interface IKSeriesIntegrationModalState {\n    isLoading : boolean;\n    locationSelectorIsShown : boolean;\n    kSeriesLocations : Array<IPosLocation>;\n    error : string | null;\n    accessToken : string | null;\n}\n\nexport interface IKSeriesIntegrationRowState {\n    isLoading : boolean;\n    modalIsShown : boolean;\n    existingIntegration : IntegrationState | null;\n    modal : IKSeriesIntegrationModalState;\n}\n\nconst initialState : IKSeriesIntegrationRowState = {\n    isLoading : false,\n    existingIntegration : null,\n    modalIsShown : false,\n    modal : {\n        isLoading : false,\n        locationSelectorIsShown: false,\n        kSeriesLocations: [],\n        error: null,\n        accessToken: null,\n    }\n};\n\nconst reduceSetModalIsLoading = (\n    state : IKSeriesIntegrationRowState,\n    action : KSeriesIntegrationActionInterfaces.ISetIsLoading\n) : IKSeriesIntegrationRowState => {\n    return {\n        ...state,\n        modal : {\n            ...state.modal,\n            isLoading : action.payload.isLoading,\n        }\n    };\n};\n\nconst reduceSetModalShown = (\n    state : IKSeriesIntegrationRowState,\n    action : KSeriesIntegrationActionInterfaces.ISetModalShown\n) : IKSeriesIntegrationRowState => {\n    return {\n        ...state,\n        modalIsShown : action.payload.isShown,\n    };\n};\n\nconst reduceSetIsLoading = (\n    state : IKSeriesIntegrationRowState,\n    action : KSeriesIntegrationActionInterfaces.ISetIsLoading\n) : IKSeriesIntegrationRowState => {\n    return {\n        ...state,\n        isLoading : action.payload.isLoading,\n    };\n};\n\nconst reduceSetLocationSelectorShown = (\n    state : IKSeriesIntegrationRowState,\n    action : KSeriesIntegrationActionInterfaces.ISetLocationSelectorShown\n) : IKSeriesIntegrationRowState => {\n    return { ...state, modal: { ...state.modal, locationSelectorIsShown : action.payload.isShown } };\n};\n\nconst reduceSetModalError = (\n    state : IKSeriesIntegrationRowState,\n    action : KSeriesIntegrationActionInterfaces.ISetModalError\n) : IKSeriesIntegrationRowState => {\n    return {\n        ...state,\n        modal: {\n            ...state.modal,\n            error: action.payload.message\n        }\n    };\n};\n\nconst reduceSetKSeriesLocations = (\n    state : IKSeriesIntegrationRowState,\n    action : KSeriesIntegrationActionInterfaces.ISetKSeriesLocations\n) : IKSeriesIntegrationRowState => {\n    return { ...state, modal: { ...state.modal, kSeriesLocations : action.payload.kSeriesLocations } };\n};\n\nconst reduceSetExistingIntegrationState = (\n    state : IKSeriesIntegrationRowState,\n    action : KSeriesIntegrationActionInterfaces.ISetExistingIntegrationState\n) : IKSeriesIntegrationRowState => {\n    return {\n        ...state,\n        existingIntegration: action.payload.integrationState,\n    };\n};\n\nconst reduceSetModalAccessToken = (\n    state : IKSeriesIntegrationRowState,\n    action : KSeriesIntegrationActionInterfaces.ISetModalAccessToken\n) : IKSeriesIntegrationRowState => {\n    return {\n        ...state,\n        modal: {\n            ...state.modal,\n            accessToken: action.payload.accessToken\n        }\n    };\n};\n\nexport const KSeriesIntegrationRowReducers = (\n    state : IKSeriesIntegrationRowState = initialState,\n    action : Action,\n) : IKSeriesIntegrationRowState => {\n    switch (action.type) {\n        case ActionTypes.SET_IS_LOADING: {\n            return reduceSetIsLoading(state, action as KSeriesIntegrationActionInterfaces.ISetIsLoading);\n        }\n        case ActionTypes.SET_EXISTING_INTEGRATION_STATE: {\n            return reduceSetExistingIntegrationState(state, action as KSeriesIntegrationActionInterfaces.ISetExistingIntegrationState);\n        }\n        case ActionTypes.SET_MODAL_SHOWN: {\n            return reduceSetModalShown(state, action as KSeriesIntegrationActionInterfaces.ISetModalShown);\n        }\n        case ActionTypes.SET_MODAL_IS_LOADING: {\n            return reduceSetModalIsLoading(state, action as KSeriesIntegrationActionInterfaces.ISetIsLoading);\n        }\n        case ActionTypes.SET_K_SERIES_LOCATION_SELECTOR_SHOWN: {\n            return reduceSetLocationSelectorShown(state, action as KSeriesIntegrationActionInterfaces.ISetLocationSelectorShown);\n        }\n        case ActionTypes.SET_K_SERIES_LOCATIONS: {\n            return reduceSetKSeriesLocations(state, action as KSeriesIntegrationActionInterfaces.ISetKSeriesLocations);\n        }\n        case ActionTypes.SET_MODAL_ERROR: {\n            return reduceSetModalError(state, action as KSeriesIntegrationActionInterfaces.ISetModalError);\n        }\n        case ActionTypes.SET_MODAL_ACCESS_TOKEN: {\n            return reduceSetModalAccessToken(state, action as KSeriesIntegrationActionInterfaces.ISetModalAccessToken);\n        }\n        default: {\n            return state;\n        }\n    }\n};\n","import $fU9C9$cryptojslibtypedarrays from \"crypto-js/lib-typedarrays\";\nimport $fU9C9$cryptojssha256 from \"crypto-js/sha256\";\nimport $fU9C9$cryptojsencbase64url from \"crypto-js/enc-base64url\";\n\n\n\n\n/**\n * Thanks to @SEIAROTg on stackoverflow:\n * \"Convert a 32bit integer into 4 bytes of data in javascript\"\n * @param num The 32bit integer\n * @returns An ArrayBuffer representing 4 bytes of binary data\n */ function $d415641d0cfd8c85$var$toBytesInt32(num) {\n    const arr = new ArrayBuffer(4); // an Int32 takes 4 bytes\n    const view = new DataView(arr);\n    view.setUint32(0, num, false); // byteOffset = 0; litteEndian = false\n    return arr;\n}\n/**\n * Creates an array of length `size` of random bytes\n * @param size\n * @returns Array of random ints (0 to 255)\n */ function $d415641d0cfd8c85$var$getRandomValues(size) {\n    const randoms = $fU9C9$cryptojslibtypedarrays.random(size);\n    const randoms1byte = [];\n    randoms.words.forEach((word)=>{\n        const arr = $d415641d0cfd8c85$var$toBytesInt32(word);\n        const fourByteWord = new Uint8Array(arr);\n        for(let i = 0; i < 4; i++)randoms1byte.push(fourByteWord[i]);\n    });\n    return randoms1byte;\n}\n/** Generate cryptographically strong random string\n * @param size The desired length of the string\n * @returns The random string\n */ function $d415641d0cfd8c85$var$random(size) {\n    const mask = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~\";\n    let result = \"\";\n    const randomUints = $d415641d0cfd8c85$var$getRandomValues(size);\n    for(let i = 0; i < size; i++){\n        // cap the value of the randomIndex to mask.length - 1\n        const randomIndex = randomUints[i] % mask.length;\n        result += mask[randomIndex];\n    }\n    return result;\n}\n/** Generate a PKCE challenge verifier\n * @param length Length of the verifier\n * @returns A random verifier `length` characters long\n */ function $d415641d0cfd8c85$var$generateVerifier(length) {\n    return $d415641d0cfd8c85$var$random(length);\n}\nfunction $d415641d0cfd8c85$export$6a61b14641fe7480(code_verifier) {\n    return $fU9C9$cryptojssha256(code_verifier).toString($fU9C9$cryptojsencbase64url);\n}\nfunction $d415641d0cfd8c85$export$2e2bcd8739ae039(length) {\n    if (!length) length = 43;\n    if (length < 43 || length > 128) throw `Expected a length between 43 and 128. Received ${length}.`;\n    const verifier = $d415641d0cfd8c85$var$generateVerifier(length);\n    const challenge = $d415641d0cfd8c85$export$6a61b14641fe7480(verifier);\n    return {\n        code_verifier: verifier,\n        code_challenge: challenge\n    };\n}\nfunction $d415641d0cfd8c85$export$4faf58fdf1185e54(code_verifier, expectedChallenge) {\n    const actualChallenge = $d415641d0cfd8c85$export$6a61b14641fe7480(code_verifier);\n    return actualChallenge === expectedChallenge;\n}\n\n\nexport {$d415641d0cfd8c85$export$6a61b14641fe7480 as generateChallenge, $d415641d0cfd8c85$export$2e2bcd8739ae039 as default, $d415641d0cfd8c85$export$4faf58fdf1185e54 as verifyChallenge};\n","import pkceChallenge from \"pkce-challenge\";\nimport {userSessionManager} from \"shared/lib/manager\";\n\n// PKCE for Authorization Code Grant Flow: https://developer.okta.com/blog/2018/12/13/oauth-2-for-native-and-mobile-apps\n// Conceptually, “verifier” = some random value X you generate, “challenge” = the hash of X. You request authorization code with hash\n// (which comes as a *redirect*), and then request access (and refresh) token with X and the returned auth code.\n// Purpose of this is that other apps/scripts on the user’s device can’t intercept the redirect and get the access token for themselves.\n// Currently we store client ID on the server side, so this is less essential.\nconst generatePKCEChallenge = (length?: number) => {\n    const {\n        code_challenge,\n        code_verifier,\n    } = pkceChallenge(length);\n\n    // technically not the most secure storage, but sufficient for the current setup (client secret is stored on server side)\n    // other examples: https://github.com/auth0/spa-pkce\n    sessionStorage.setItem('pkce_code_verifier', code_verifier);\n    sessionStorage.setItem('pkce_code_challenge', code_challenge);  // for debugging\n    return code_challenge;\n};\n\nconst getPKCEVerifier = () : string | null => {\n    return sessionStorage.getItem('pkce_code_verifier');\n};\n\n// \"state\" parameter in Oauth flows - must be unique and unguessable\n// Guards against CSRF and (more likely) redirect url configuration mistakes i.e. if an Oauth flow is initiated on staging\n// but the client redirect url is configured to production, this ensure the flow does not \"pollute\" production.\n// WILL NOT WORK if session token refreshed during OAuth flow.\nconst getOauthRedirectState = () => userSessionManager.getSessionId().getValue();\n\nexport const oauthUtils = {\n    generatePKCEChallenge,\n    getPKCEVerifier,\n    getOauthRedirectState,\n};\n","import { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { OmnivoreSupportedPosType } from 'api/Integration/model/IntegrationType';\nimport { OmnivoreIntegrationState } from 'api/Integration/model/OmnivoreIntegrationState';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { ThunkAction, IAction } from 'shared/models/IAction';\nimport { IOmnivoreIntegrationState } from 'shared/components/PosIntegration/OmnivoreIntegrationReducers';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { integrationService } from 'shared/lib/manager';\n\nexport interface IOmnivoreIntegrationStore {\n    omnivoreIntegrationState : IOmnivoreIntegrationState;\n}\n\nexport const ActionTypes = {\n    SET_INTEGRATION_STATE: 'OMNIVORE_INTEGRATION/SET_INTEGRATION_STATE',\n    SET_MODAL_ACCESS_TOKEN: 'OMNIVORE_INTEGRATION/SET_MODAL_ACCESS_TOKEN',\n};\n\nexport namespace OmnivoreIntegrationActionInterfaces {\n    export interface ISetIntegrationState extends IAction {\n        payload : {\n            integrationState : OmnivoreIntegrationState;\n        };\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload : {\n            accessToken : string | null\n        };\n    }\n\n    export interface IExtraArgs {\n        services : IServices;\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        integrationService : IPOSIntegrationService;\n    }}\n\nconst setIntegrationState = (\n    integrationState : OmnivoreIntegrationState\n) : OmnivoreIntegrationActionInterfaces.ISetIntegrationState => ({\n    payload : {\n        integrationState,\n    },\n    type: ActionTypes.SET_INTEGRATION_STATE,\n});\n\nconst setModalAccessToken = (\n    accessToken : string | null\n) : OmnivoreIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload : {\n        accessToken,\n    },\n    type : ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nconst loadOmnivoreIntegrationState = (\n    locationId : LocationId,\n) : ThunkAction<Promise<OmnivoreIntegrationState>, IOmnivoreIntegrationStore, OmnivoreIntegrationActionInterfaces.IExtraArgs> => {\n    return ((dispatch, getState, extraArgument) => {\n        return extraArgument.services.integrationService.getOmnivoreIntegrationState(\n            extraArgument.services.userSessionReader.getSessionId(),\n            locationId\n        ).then((integrationState) => {\n            dispatch(setIntegrationState(integrationState));\n            return integrationState;\n        });\n    });\n};\n\nconst addIntegration = (\n    locationId : LocationId,\n    omnivoreLocationId : string,\n    posType : OmnivoreSupportedPosType,\n) : ThunkAction<Promise<void | Error>, IOmnivoreIntegrationStore, OmnivoreIntegrationActionInterfaces.IExtraArgs> => {\n    return ((dispatch, getState, extraArgument) => {\n        return extraArgument.services.integrationService.addOmnivoreIntegration(\n            extraArgument.services.userSessionReader.getSessionId(),\n            locationId,\n            omnivoreLocationId,\n            posType\n        ).then(async () => {\n            await dispatch(loadOmnivoreIntegrationState(locationId));\n        });\n    });\n};\n\nconst removeIntegration = (\n    locationId : LocationId\n) : ThunkAction<Promise<void>, IOmnivoreIntegrationStore, OmnivoreIntegrationActionInterfaces.IExtraArgs> => {\n    return ((dispatch, getState, extraArgument) => {\n        return extraArgument.services.integrationService.removeIntegration(\n            'omnivore',\n            extraArgument.services.userSessionReader.getSessionId(),\n            locationId,\n        )\n        .then(async () => {\n            await dispatch(loadOmnivoreIntegrationState(locationId));\n        });\n    });\n};\n\nconst retrieveAccessToken = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, IOmnivoreIntegrationStore, OmnivoreIntegrationActionInterfaces.IExtraArgs> => {\n    return ((dispatch, getState, extraArguments) => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.retrieveAccessToken(\n            session,\n            locationId,\n            \"omnivore\"\n        ).then((accessToken : string | null) => {\n            if (accessToken == null || accessToken === \"\") {\n                accessToken = \"Access token not found.\";\n            }\n\n            dispatch(setModalAccessToken(accessToken));\n        }).catch((error) => {\n            throw error;\n        });\n    });\n};\n\nexport const OmnivoreIntegrationActions = {\n    loadOmnivoreIntegrationState,\n    addIntegration,\n    removeIntegration,\n    retrieveAccessToken,\n    setModalAccessToken,\n};\n","import { OmnivoreIntegrationState } from 'api/Integration/model/OmnivoreIntegrationState';\nimport { Action } from '@reduxjs/toolkit';\nimport {\n    ActionTypes,\n    OmnivoreIntegrationActionInterfaces\n} from 'shared/components/PosIntegration/OmnivoreIntegrationActions';\n\nexport interface IOmnivoreIntegrationState {\n    existingIntegration : OmnivoreIntegrationState | null;\n    modal: IOmnivoreIntegrationModalState | null;\n}\n\nexport interface IOmnivoreIntegrationModalState {\n    accessToken: string | null;\n}\n\nconst initialState : IOmnivoreIntegrationState = {\n    existingIntegration : null,\n    modal: null\n};\n\nconst reduceSetIntegrationState = (\n    state : IOmnivoreIntegrationState,\n    action : OmnivoreIntegrationActionInterfaces.ISetIntegrationState\n) : IOmnivoreIntegrationState => {\n    return {\n        ...state,\n        existingIntegration : action.payload.integrationState\n    };\n};\n\nconst reduceSetModalAccessToken = (\n    state : IOmnivoreIntegrationState,\n    action : OmnivoreIntegrationActionInterfaces.ISetModalAccessToken\n) : IOmnivoreIntegrationState => {\n    return {\n        ...state,\n        modal: {\n            ...state.modal,\n            accessToken: action.payload.accessToken\n        }\n    };\n};\n\nexport const OmnivoreIntegrationReducers = (\n    state : IOmnivoreIntegrationState = initialState,\n    action : Action,\n) : IOmnivoreIntegrationState  => {\n    switch (action.type) {\n        case ActionTypes.SET_INTEGRATION_STATE:\n            return reduceSetIntegrationState(state, (action as OmnivoreIntegrationActionInterfaces.ISetIntegrationState));\n        case ActionTypes.SET_MODAL_ACCESS_TOKEN:\n            return reduceSetModalAccessToken(state, (action as OmnivoreIntegrationActionInterfaces.ISetModalAccessToken));\n        default:\n            return state;\n    }\n};\n","import { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { oauthUtils } from 'shared/components/PosIntegration/OAuthUtils';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { integrationService } from 'shared/lib/manager';\nimport { IAction, ISetShownAction , ThunkAction } from 'shared/models/IAction';\nimport { IExtraArguments } from 'shared/components/Provider';\n\nexport interface IRSeriesIntegrationModalStore {\n    rSeriesIntegrationRowState: IRSeriesIntegrationRowState;\n}\n\nexport interface IRSeriesIntegrationRowState {\n    isLoading: boolean;\n    modalIsShown: boolean;\n    existingIntegration: Set<IntegrationState> | null;\n    selectedMerchantId: string | null;\n    modal: IRSeriesIntegrationModalState;\n}\n\nexport interface IRSeriesIntegrationModalState {\n    error: string | null;\n    accessToken: string | null;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'R_SERIES_INTEGRATION/SET_MODAL_SHOWN',\n    SET_EXISTING_INTEGRATION_STATE: 'R_SERIES_INTEGRATION/SET_EXISTING_INTEGRATION_STATE',\n    SET_IS_LOADING: 'R_SERIES_INTEGRATION/SET_IS_LOADING',\n    SET_MODAL_ERROR: 'R_SERIES_INTEGRATION/SET_MODAL_ERROR',\n    SET_MODAL_ACCESS_TOKEN: 'R_SERIES_INTEGRATION/SET_MODAL_ACCESS_TOKEN',\n    SET_SELECTED_MERCHANT: 'R_SERIES_INTEGRATION/SET_SELECTED_MERCHANT',\n};\n\nexport namespace RSeriesIntegrationActionInterfaces {\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface ISetModalError extends IAction {\n        payload: {\n            message: string | null;\n        };\n    }\n\n    export interface ISetIsLoading extends IAction {\n        payload: {\n            isLoading: boolean\n        };\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload: {\n            accessToken: string | null\n        };\n    }\n\n    export interface ISetExistingIntegrationState extends IAction {\n        payload: {\n            integrationState: Set<IntegrationState>\n        };\n    }\n\n    export interface ISetSelectedMerchant extends IAction {\n        payload: {\n            merchantId: string | null\n        };\n    }\n\n    export interface IServices {\n        userSessionReader: IAccountSessionReader<UserSessionId, UserAccountId>;\n        integrationService: IPOSIntegrationService;\n    }\n\n    export interface IThunkServices extends IExtraArguments {\n        services: IServices;\n    }\n}\n\nconst setModalShown = (\n    isShown: boolean\n): RSeriesIntegrationActionInterfaces.ISetModalShown => ({\n    payload: {\n        isShown,\n    },\n    type: ActionTypes.SET_MODAL_SHOWN\n});\n\nconst setModalAccessToken = (\n    accessToken: string | null\n): RSeriesIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload: {\n        accessToken,\n    },\n    type: ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nconst setIsLoading = (\n    isLoading: boolean\n): RSeriesIntegrationActionInterfaces.ISetIsLoading => ({\n    payload: {\n        isLoading\n    },\n    type: ActionTypes.SET_IS_LOADING,\n});\n\nconst setExistingIntegrationState = (\n    integrationState: Set<IntegrationState>\n): RSeriesIntegrationActionInterfaces.ISetExistingIntegrationState => ({\n    payload: {\n        integrationState,\n    },\n    type: ActionTypes.SET_EXISTING_INTEGRATION_STATE,\n});\n\nconst setSelectedMerchant = (\n    merchantId: string | null\n): RSeriesIntegrationActionInterfaces.ISetSelectedMerchant => ({\n    payload: {\n        merchantId,\n    },\n    type: ActionTypes.SET_SELECTED_MERCHANT\n});\n\nconst setModalError = (\n    message: string | null\n): RSeriesIntegrationActionInterfaces.ISetModalError => ({\n    payload: {\n        message,\n    },\n    type: ActionTypes.SET_MODAL_ERROR\n});\n\nconst fetchExistingIntegration = (\n    locationId: LocationId\n): ThunkAction<Promise<Set<IntegrationState>>, IRSeriesIntegrationModalStore, RSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments): Promise<Set<IntegrationState>> => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return extraArguments.services.integrationService.getIntegrationState('rSeries', session, locationId)\n        .then((data: Set<IntegrationState>) => {\n            dispatch(setExistingIntegrationState(data));\n            dispatch(setIsLoading(false));\n            return data;\n        })\n        .catch((e: Error) => {\n            dispatch(setIsLoading(false));\n            throw e;\n        });\n    };\n};\n\nconst processAuthorization = (\n    locationId: LocationId,\n    authorizationCode: string\n): ThunkAction<Promise<void>, IRSeriesIntegrationModalStore, RSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return extraArguments.services.integrationService.addIntegrationThroughOAuthFlow(\n            'rSeries',\n            session,\n            locationId,\n            authorizationCode,\n            oauthUtils.getPKCEVerifier() || undefined\n        )\n        .then(() => {\n            void dispatch(fetchExistingIntegration(locationId));\n        })\n        .catch((error) => {\n            dispatch(setIsLoading(false));\n            throw error;\n        });\n    };\n};\n\nconst disconnect = (\n    locationId: LocationId,\n    merchantId: string,\n): ThunkAction<Promise<void>, IRSeriesIntegrationModalStore, RSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return integrationService.removeIntegrationForMultiConnectionType(\n            'rSeries',\n            session,\n            locationId,\n            merchantId,\n        ).then(async () => {\n            await dispatch(fetchExistingIntegration(locationId));\n        }).catch((error) => {\n            dispatch(setIsLoading(false));\n            throw error;\n        });\n    };\n};\n\nconst retrieveAccessToken = (\n    locationId: LocationId,\n    merchantId: string,\n): ThunkAction<Promise<void>, IRSeriesIntegrationModalStore, RSeriesIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments): Promise<void> => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return extraArguments.services.integrationService.retrieveAccessTokenForMultiConnectionType(\n            session,\n            locationId,\n            merchantId,\n            'rSeries'\n        ).then((accessToken: string | null) => {\n            if (accessToken == null || accessToken === \"\") {\n                accessToken = \"Access token not found.\";\n            }\n            dispatch(setModalAccessToken(accessToken));\n        });\n    };\n};\n\nexport const RSeriesIntegrationRowActions = {\n    setModalShown,\n    fetchExistingIntegration,\n    processAuthorization,\n    disconnect,\n    setModalError,\n    setModalAccessToken,\n    retrieveAccessToken,\n    setSelectedMerchant,\n};\n","import { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { IPosLocation } from 'api/Integration/model/PosLocation';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { ThunkAction, IAction, ISetShownAction } from 'shared/models/IAction';\nimport { ISpotOnIntegrationRowState } from 'shared/components/PosIntegration/SpotOnIntegrationRowReducers';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { integrationService } from 'shared/lib/manager';\n\nexport interface ISpotOnIntegrationModalStore {\n    spotOnIntegrationRowState : ISpotOnIntegrationRowState;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'SPOTON_INTEGRATION/SET_MODAL_SHOWN',\n    SET_IS_LOADING: 'SPOTON_INTEGRATION/SET_IS_LOADING',\n    SET_INTEGRATION_STATE: 'SPOTON_INTEGRATION/SET_INTEGRATION_STATE',\n    SET_MODAL_IS_LOADING: 'SPOTON_INTEGRATION/SET_MODAL_IS_LOADING',\n    SET_MODAL_ERROR: 'SPOTON_INTEGRATION/SET_MODAL_ERROR',\n    SET_MODAL_ACCESS_TOKEN: 'SPOTON_INTEGRATION/SET_MODAL_ACCESS_TOKEN'\n};\n\nexport namespace SpotOnIntegrationActionInterfaces {\n    export interface ISetSpotOnLocations extends IAction {\n        payload : {\n            spotOnLocations : Array<IPosLocation>\n        };\n    }\n\n    export interface ISetLocationSelectorShown extends IAction {\n        payload : {\n            isShown : boolean\n        };\n    }\n\n    export interface ISetModalError extends IAction {\n        payload : {\n            message : string | null\n        };\n    }\n\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload : {\n            accessToken : string | null\n        };\n    }\n\n    export interface ISetIsLoading extends IAction {\n        payload : {\n            isLoading : boolean\n        };\n    }\n\n    export interface ISetIntegrationState extends IAction {\n        payload : {\n            integrationState : IntegrationState\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        integrationService : IPOSIntegrationService;\n    }\n\n    export interface IThunkServices extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nconst setIntegrationState = (\n    integrationState : IntegrationState\n) : SpotOnIntegrationActionInterfaces.ISetIntegrationState => ({\n    payload : {\n        integrationState,\n    },\n    type: ActionTypes.SET_INTEGRATION_STATE,\n});\n\nconst fetchExistingIntegration = (\n    locationId: LocationId\n): ThunkAction<Promise<IntegrationState>, ISpotOnIntegrationModalStore, SpotOnIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments): Promise<IntegrationState> => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return extraArguments.services.integrationService.getIntegrationState('spotOn', session, locationId)\n        .then((data: Set<IntegrationState>) => {\n            // Does not support Multi-connection\n            const integrationState: IntegrationState = data.values().next().value!;\n            dispatch(setIntegrationState(integrationState));\n            dispatch(setIsLoading(false));\n            return integrationState;\n        })\n        .catch((e: Error) => {\n            dispatch(setIsLoading(false));\n            throw e;\n        });\n    };\n};\n\nconst associateWithLocation = (\n    locationId : LocationId,\n    spotOnLocationId : string\n) : ThunkAction<Promise<void>, ISpotOnIntegrationModalStore, SpotOnIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.addSpotOnIntegration(\n            session,\n            locationId,\n            spotOnLocationId\n        ).then(async () => {\n            await dispatch(fetchExistingIntegration(locationId));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nconst disassociateWithLocation = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, ISpotOnIntegrationModalStore, SpotOnIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.removeIntegration(\n            'spotOn',\n            session,\n            locationId,\n        ).then(async () => {\n            await dispatch(fetchExistingIntegration(locationId));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nconst setIsLoading = (\n    isLoading : boolean\n) : SpotOnIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_IS_LOADING,\n});\n\nconst setModalShown = (\n    isShown : boolean\n) : SpotOnIntegrationActionInterfaces.ISetModalShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_MODAL_SHOWN\n});\n\nconst setModalError = (\n    message : string | null\n) : SpotOnIntegrationActionInterfaces.ISetModalError => ({\n    payload : {\n        message,\n    },\n    type : ActionTypes.SET_MODAL_ERROR\n});\n\nconst setModalAccessToken = (\n    accessToken : string | null\n) : SpotOnIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload : {\n        accessToken,\n    },\n    type : ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nconst retrieveLocationId = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, ISpotOnIntegrationModalStore, SpotOnIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.retrieveAccessToken(\n            session,\n            locationId,\n            'spotOn'\n        ).then((accessToken : string | null) => {\n            dispatch(setModalAccessToken(accessToken));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nexport const SpotOnIntegrationRowActions = {\n    fetchExistingIntegration,\n    setModalShown,\n    setModalError,\n    associateWithLocation,\n    disassociateWithLocation,\n    setModalAccessToken,\n    retrieveLocationId\n};\n","import { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { IPosLocation } from 'api/Integration/model/PosLocation';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport IntegrationExceptions from 'gen-thrift/integration_Exception_types';\nimport { ThunkAction, IAction, ISetShownAction } from 'shared/models/IAction';\nimport { ISquareIntegrationRowState } from 'shared/components/PosIntegration/SquareIntegrationRowReducers';\nimport { IExtraArguments } from 'shared/components/Provider';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { integrationService } from 'shared/lib/manager';\n\nexport interface ISquareIntegrationModalStore {\n    squareIntegrationRowState : ISquareIntegrationRowState;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'SQUARE_INTEGRATION/SET_MODAL_SHOWN',\n    SET_EXISTING_INTEGRATION_STATE: 'SQUARE_INTEGRATION/SET_EXISTING_INTEGRATION_STATE',\n    SET_IS_LOADING: 'SQUARE_INTEGRATION/SET_IS_LOADING',\n\n    SET_MODAL_IS_LOADING: 'SQUARE_INTEGRATION/SET_MODAL_IS_LOADING',\n    SET_SQUARE_LOCATIONS: 'SQUARE_INTEGRATION/SET_SQUARE_LOCATIONS',\n    SET_SQUARE_LOCATION_SELECTOR_SHOWN: 'SQUARE_INTEGRATION/SET_SQUARE_LOCATION_SELECTOR_SHOWN',\n    SET_SELECTED_MERCHANT: 'SQUARE_INTEGRATION/SET_SELECTED_MERCHANT',\n    SET_MODAL_ERROR: 'SQUARE_INTEGRATION/SET_MODAL_ERROR',\n    SET_MODAL_ACCESS_TOKEN: 'SQUARE_INTEGRATION/SET_MODAL_ACCESS_TOKEN'\n};\n\nexport namespace SquareIntegrationActionInterfaces {\n    export interface ISetSquareLocations extends IAction {\n        payload : {\n            squareLocations : Array<IPosLocation>\n        };\n    }\n    export interface ISetLocationSelectorShown extends IAction {\n        payload : {\n            isShown : boolean\n        };\n    }\n\n    export interface ISetModalError extends IAction {\n        payload : {\n            message : string | null\n        };\n    }\n\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload : {\n            accessToken : string | null\n        };\n    }\n\n    export interface ISetIsLoading extends IAction {\n        payload : {\n            isLoading : boolean\n        };\n    }\n\n    export interface ISetExistingIntegrationState extends IAction {\n        payload : {\n            integrationState: Set<IntegrationState>\n        };\n    }\n\n    export interface ISetSelectedMerchant extends IAction {\n        payload: {\n            merchantId: string | null\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        integrationService : IPOSIntegrationService;\n    }\n    export interface IThunkServices extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nconst setModalIsLoading = (\n    isLoading : boolean\n) : SquareIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_MODAL_IS_LOADING,\n});\n\nconst setSquareLocations = (\n    squareLocations : Array<IPosLocation>\n) : SquareIntegrationActionInterfaces.ISetSquareLocations => ({\n    payload : { squareLocations },\n    type : ActionTypes.SET_SQUARE_LOCATIONS,\n});\n\nconst setLocationSelectorIsShown = (\n    isShown : boolean\n) : SquareIntegrationActionInterfaces.ISetLocationSelectorShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_SQUARE_LOCATION_SELECTOR_SHOWN\n});\n\nconst setModalError = (\n    message : string | null\n) : SquareIntegrationActionInterfaces.ISetModalError => ({\n    payload : {\n        message,\n    },\n    type : ActionTypes.SET_MODAL_ERROR\n});\n\nconst setModalShown = (\n    isShown : boolean\n) : SquareIntegrationActionInterfaces.ISetModalShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_MODAL_SHOWN\n});\n\nconst setIsLoading = (\n    isLoading : boolean\n) : SquareIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_IS_LOADING,\n});\n\nconst setExistingCredentialState = (\n    integrationState : Set<IntegrationState>\n) : SquareIntegrationActionInterfaces.ISetExistingIntegrationState => ({\n    payload : {\n        integrationState,\n    },\n    type: ActionTypes.SET_EXISTING_INTEGRATION_STATE,\n});\n\nconst setSelectedMerchant = (\n    merchantId: string | null\n): SquareIntegrationActionInterfaces.ISetSelectedMerchant => ({\n    payload: {\n        merchantId,\n    },\n    type: ActionTypes.SET_SELECTED_MERCHANT\n});\n\nconst setModalAccessToken = (\n    accessToken : string | null\n) : SquareIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload : {\n        accessToken,\n    },\n    type : ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nconst fetchExistingIntegration = (\n    locationId: LocationId\n): ThunkAction<Promise<Set<IntegrationState>>, ISquareIntegrationModalStore, SquareIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments): Promise<Set<IntegrationState>> => {\n        dispatch(setIsLoading(true));\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return extraArguments.services.integrationService.getIntegrationState('square', session, locationId)\n        .then((data: Set<IntegrationState>) => {\n            dispatch(setExistingCredentialState(data));\n            dispatch(setIsLoading(false));\n            return data;\n        })\n        .catch((e: Error) => {\n            dispatch(setIsLoading(false));\n            throw e;\n        });\n    };\n};\n\nconst processAuthorization = (\n    locationId : LocationId,\n    authorizationCode : string\n) : ThunkAction<Promise<void>, ISquareIntegrationModalStore, SquareIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return integrationService.authorizeAndListAccessiblePosLocations(\n            session,\n            locationId,\n            'square',\n            authorizationCode\n        ).then((response) => {\n            if (response.length > 1) {\n                dispatch(setSquareLocations(response));\n                dispatch(setLocationSelectorIsShown(true));\n            } else if (response.length === 1) {\n                return dispatch(associateLocationWithSquareLocation(locationId, response[0].id));\n            } else {\n                dispatch(setModalError('You have no locations in your Square account. Please create one and come back to complete the setup.'));\n            }\n            dispatch(setModalShown(true));\n        });\n    };\n};\n\nconst associateLocationWithSquareLocation = (\n    locationId : LocationId,\n    squareLocationId : string\n) : ThunkAction<Promise<void>, ISquareIntegrationModalStore, SquareIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        dispatch(setModalIsLoading(true));\n\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return integrationService.associateAuthorizedLocationWithMerchant(\n            session,\n            locationId,\n            'square',\n            squareLocationId\n        ).then(() => {\n            // get updated integration state from backend\n            return extraArguments.services.integrationService.getIntegrationState('square', session, locationId)\n            .then((data: Set<IntegrationState>) => {\n                dispatch(setExistingCredentialState(data));\n                dispatch(setLocationSelectorIsShown(false));\n                dispatch(setModalIsLoading(false));\n            });\n        }).catch((error) => {\n            dispatch(setModalIsLoading(false));\n            if (error instanceof IntegrationExceptions.IntegrationNotAccessibleException) {\n                // this is theoretically possible if user revoked authorization from a different page right after attempting to connect...\n                throw new RuntimeException('Failed to connect with Square: access denied.');\n            }\n            if (error instanceof IntegrationExceptions.LocationAlreadyHasIntegrationException) {\n                dispatch(setModalError('This Square merchant is already connected with your BevSpot location. Please select a different Square merchant.'));\n                return;\n            }\n            throw error;\n        });\n    };\n};\n\nconst disassociateLocationWithSquareLocation = (\n    locationId : LocationId,\n    merchantId: string,\n) : ThunkAction<Promise<void>, ISquareIntegrationModalStore, SquareIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) => {\n        dispatch(setModalIsLoading(true));\n\n        const session = extraArguments.services.userSessionReader.getSessionId();\n        return integrationService.removeIntegrationForMultiConnectionType(\n            'square',\n            session,\n            locationId,\n            merchantId,\n        ).then(() => {\n            return extraArguments.services.integrationService.getIntegrationState('square', session, locationId)\n            .then((data: Set<IntegrationState>) => {\n                dispatch(setExistingCredentialState(data));\n                dispatch(setModalIsLoading(false));\n                dispatch(setSelectedMerchant(null));\n            });\n        })\n        .catch((error) => {\n            dispatch(setModalIsLoading(false));\n            throw error;\n        });\n    };\n};\n\nconst retrieveAccessToken = (\n    locationId : LocationId,\n    merchantId: string,\n) : ThunkAction<Promise<void>, ISquareIntegrationModalStore, SquareIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        const session = extraArguments.services.userSessionReader.getSessionId();\n\n        return integrationService.retrieveAccessTokenForMultiConnectionType(\n            session,\n            locationId,\n            merchantId,\n            \"square\",\n        ).then((accessToken : string | null) => {\n            if (accessToken == null || accessToken === \"\") {\n                accessToken = \"Access token not found.\";\n            }\n            dispatch(setModalAccessToken(accessToken));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nexport const SquareIntegrationRowActions = {\n    processAuthorization,\n    associateLocationWithSquareLocation,\n    disassociateLocationWithSquareLocation,\n    setModalError,\n    setModalShown,\n    setModalAccessToken,\n    retrieveAccessToken,\n    fetchExistingIntegration,\n    setSelectedMerchant,\n};\n","import { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { IPosLocation } from 'api/Integration/model/PosLocation';\nimport { Action } from '@reduxjs/toolkit';\nimport {\n    ActionTypes,\n    SquareIntegrationActionInterfaces\n} from 'shared/components/PosIntegration/SquareIntegrationRowActions';\n\nexport interface ISquareIntegrationModalState {\n    isLoading : boolean;\n    locationSelectorIsShown : boolean;\n    squareLocations : Array<IPosLocation>;\n    error : string | null;\n    accessToken : string | null;\n}\n\nexport interface ISquareIntegrationRowState {\n    isLoading : boolean;\n    modalIsShown : boolean;\n    existingIntegration: Set<IntegrationState> | null;\n    selectedMerchantId: string | null;\n    modal : ISquareIntegrationModalState;\n}\n\nconst initialState : ISquareIntegrationRowState = {\n    isLoading : false,\n    existingIntegration: null,\n    selectedMerchantId: null,\n    modalIsShown : false,\n    modal : {\n        isLoading : false,\n        locationSelectorIsShown: false,\n        squareLocations: [],\n        error: null,\n        accessToken: null\n    }\n};\n\nconst reduceSetModalIsLoading = (\n    state : ISquareIntegrationRowState,\n    action : SquareIntegrationActionInterfaces.ISetIsLoading\n) : ISquareIntegrationRowState => {\n    return {\n        ...state,\n        modal : {\n            ...state.modal,\n            isLoading : action.payload.isLoading,\n        }\n    };\n};\n\nconst reduceSetModalShown = (\n    state : ISquareIntegrationRowState,\n    action : SquareIntegrationActionInterfaces.ISetModalShown\n) : ISquareIntegrationRowState => {\n    return {\n        ...state,\n        modalIsShown : action.payload.isShown,\n    };\n};\n\nconst reduceSetIsLoading = (\n    state : ISquareIntegrationRowState,\n    action : SquareIntegrationActionInterfaces.ISetIsLoading\n) : ISquareIntegrationRowState => {\n    return {\n        ...state,\n        isLoading : action.payload.isLoading,\n    };\n};\n\nconst reduceSetLocationSelectorShown = (\n    state : ISquareIntegrationRowState,\n    action : SquareIntegrationActionInterfaces.ISetLocationSelectorShown\n) : ISquareIntegrationRowState => {\n    return { ...state, modal: { ...state.modal, locationSelectorIsShown : action.payload.isShown } };\n};\n\nconst reduceSetModalError = (\n    state : ISquareIntegrationRowState,\n    action : SquareIntegrationActionInterfaces.ISetModalError\n) : ISquareIntegrationRowState => {\n    return { ...state, modal: { ...state.modal, error : action.payload.message } };\n};\n\nconst reduceSetSquareLocations = (\n    state : ISquareIntegrationRowState,\n    action : SquareIntegrationActionInterfaces.ISetSquareLocations\n) : ISquareIntegrationRowState => {\n    return { ...state, modal: { ...state.modal, squareLocations : action.payload.squareLocations } };\n};\n\nconst reduceSetExistingIntegrationState = (\n    state : ISquareIntegrationRowState,\n    action : SquareIntegrationActionInterfaces.ISetExistingIntegrationState\n) : ISquareIntegrationRowState => {\n    return {\n        ...state,\n        existingIntegration : action.payload.integrationState,\n    };\n};\n\nconst reduceSetSelectedMerchant = (\n    state: ISquareIntegrationRowState,\n    action: SquareIntegrationActionInterfaces.ISetSelectedMerchant\n): ISquareIntegrationRowState => {\n    return {\n        ...state,\n        selectedMerchantId: action.payload.merchantId,\n    };\n};\n\nconst reduceSetModalAccessToken = (\n    state : ISquareIntegrationRowState,\n    action : SquareIntegrationActionInterfaces.ISetModalAccessToken\n) : ISquareIntegrationRowState => {\n    return {\n        ...state,\n        modal: {\n            ...state.modal,\n            accessToken: action.payload.accessToken\n        }\n    };\n};\n\nexport const SquareIntegrationRowReducers = (\n    state : ISquareIntegrationRowState = initialState,\n    action : Action,\n) : ISquareIntegrationRowState => {\n    switch (action.type) {\n        case ActionTypes.SET_IS_LOADING:\n            return reduceSetIsLoading(state, action as SquareIntegrationActionInterfaces.ISetIsLoading);\n        case ActionTypes.SET_EXISTING_INTEGRATION_STATE:\n            return reduceSetExistingIntegrationState(state, action as SquareIntegrationActionInterfaces.ISetExistingIntegrationState);\n        case ActionTypes.SET_SELECTED_MERCHANT:\n            return reduceSetSelectedMerchant(state, action as SquareIntegrationActionInterfaces.ISetSelectedMerchant);\n        case ActionTypes.SET_MODAL_SHOWN:\n            return reduceSetModalShown(state, action as SquareIntegrationActionInterfaces.ISetModalShown);\n        case ActionTypes.SET_MODAL_IS_LOADING:\n            return reduceSetModalIsLoading(state, action as SquareIntegrationActionInterfaces.ISetIsLoading);\n        case ActionTypes.SET_SQUARE_LOCATION_SELECTOR_SHOWN:\n            return reduceSetLocationSelectorShown(state, action as SquareIntegrationActionInterfaces.ISetLocationSelectorShown);\n        case ActionTypes.SET_SQUARE_LOCATIONS:\n            return reduceSetSquareLocations(state, action as SquareIntegrationActionInterfaces.ISetSquareLocations);\n        case ActionTypes.SET_MODAL_ERROR:\n            return reduceSetModalError(state, action as SquareIntegrationActionInterfaces.ISetModalError);\n        case ActionTypes.SET_MODAL_ACCESS_TOKEN: {\n            return reduceSetModalAccessToken(state, action as SquareIntegrationActionInterfaces.ISetModalAccessToken);\n        }\n        default:\n            return state;\n    }\n};\n","import { clearAllBodyScrollLocks, disableBodyScroll, enableBodyScroll } from 'body-scroll-lock';\nimport React from 'react';\n\nexport interface IPreventPageScrollingProps {\n    preventWindowTouchMove : boolean;\n    addModalOpenClass : boolean;\n    focusedElementRef? : HTMLElement;\n}\n\nconst MODAL_OPEN_CLASS_NAME_WITH_PRECEDING_SPACE = ' modal-open';\n\n// We can add css to this and have it also add color to all our backdrops\nexport class PreventPageScrolling extends React.Component<IPreventPageScrollingProps, object> {\n    private scrollPosition : [number, number] | undefined;\n\n    public UNSAFE_componentWillMount() {\n        this.scrollPosition = [\n            window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft,\n            window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop\n        ];\n\n        if (this.props.addModalOpenClass) {\n            const bodyClasses = window.document.body.className;\n            window.document.body.className = bodyClasses + MODAL_OPEN_CLASS_NAME_WITH_PRECEDING_SPACE;\n            document.body.scrollTop = this.scrollPosition[1];\n        }\n\n        if (this.props.preventWindowTouchMove) {\n            window.addEventListener('touchmove', this.preventDefault);\n        }\n    }\n\n    public UNSAFE_componentWillReceiveProps(nextProps : IPreventPageScrollingProps) {\n        if (typeof nextProps.focusedElementRef !== 'undefined' && typeof this.props.focusedElementRef === 'undefined') {\n            disableBodyScroll(nextProps.focusedElementRef);\n        } else if (typeof nextProps.focusedElementRef === 'undefined' && typeof this.props.focusedElementRef !== 'undefined') {\n            enableBodyScroll(this.props.focusedElementRef);\n        }\n    }\n\n    public componentWillUnmount() {\n        if (this.props.addModalOpenClass) {\n            const bodyClasses = window.document.body.className;\n            window.document.body.className = bodyClasses.replace(MODAL_OPEN_CLASS_NAME_WITH_PRECEDING_SPACE, '');\n\n            window.requestAnimationFrame(() => {\n                if (typeof this.scrollPosition !== 'undefined') {\n                    window.scrollTo(this.scrollPosition[0], this.scrollPosition[1]);\n                }\n            });\n        }\n\n        if (this.props.preventWindowTouchMove) {\n            window.removeEventListener('touchmove', this.preventDefault);\n        }\n\n        clearAllBodyScrollLocks();\n    }\n\n    public render() {\n        return (\n            <div className=\"backdrop\" />\n        );\n    }\n\n    private readonly preventDefault = (event : TouchEvent) => {\n        event = event || window.event;\n\n        if (event.preventDefault) {\n            event.preventDefault();\n        }\n\n        event.returnValue = false;\n    }\n}\n","import { ProductStatus } from 'api/Product/model/ProductStatus';\nimport React from 'react';\n\nimport './BrandAndName.scss';\n\nexport interface IBrandAndNameProps {\n    readonly brand : string;\n    readonly name : string;\n    readonly category? : string;\n    readonly subcategory? : string;\n    readonly productStatus? : ProductStatus;\n}\n\nexport class BrandAndName extends React.Component<IBrandAndNameProps, object> {\n    public render() {\n        const {\n            brand,\n            name,\n            category,\n            subcategory,\n            productStatus,\n        } = this.props;\n\n        return (\n            <div\n                className={ `product-brand-and-name ellipsis-out ${(brand ? '' : ' empty-brand')}` }\n                title={ name || undefined }\n            >\n                { this.getStatusIcon(productStatus) }\n                <span>\n                    <div className=\"product-brand\">{ brand || '--' }</div>\n                    <div className=\"product-name\">{ name || '--' }</div>\n                        { category &&\n                            <small className=\"product-details\">{ category }{ subcategory ? '  |  ' + subcategory : '' }</small>\n                        }\n                </span>\n            </div>\n        );\n    }\n\n    private readonly getStatusIcon = (status?: ProductStatus) => {\n        if (status === undefined) {\n            return undefined;\n        }\n\n        switch (status) {\n            case 'deleted':\n                return <span className=\"bevicon bevico-delete\"/>;\n            case 'archived':\n                return <span className=\"bevicon bevico-archived-item\"/>;\n            case 'active':\n            case 'unknown':\n            default:\n                return undefined;\n        }\n    }\n}\n","import React from 'react';\n\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { Product } from 'api/Product/model/Product';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { BrandAndName } from 'shared/components/Product/BrandAndName';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport './InfoPopover.scss';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { PositionablePopupSide } from '../PositionablePopup/PositionablePopup';\n\nexport interface IInfoPopoverProps {\n    product : Product;\n    distributor : Distributor | null;\n    productInfoIsShown : boolean;\n    setProductInfoIsShown : (isShown : boolean) => void;\n    onFullDetailsClick : (() => void) | null;\n    vendorIsHidden? : boolean; // not using this as a future pattern. Only being used as a temporary solution for hiding vendor.\n    productCost : ProductCost | undefined;\n    productId : ProductId;\n    children : React.ReactNode;\n    preferredPositionArray?: Array<PositionablePopupSide>;\n}\n\nexport class InfoPopover extends React.Component<IInfoPopoverProps, object> {\n\n    public render() {\n        const {\n            vendorIsHidden,\n            setProductInfoIsShown,\n            productInfoIsShown,\n            product,\n            distributor,\n            children,\n            onFullDetailsClick,\n            productCost,\n            preferredPositionArray\n        } = this.props;\n\n        const hasNote = product.getNote() !== null && product.getNote().length > 0;\n        const noteText = product.getNote();\n        const vendorText = distributor !== null ? distributor.getName() : 'Other'; // TO DO need to add purchasing option vendors and if multiple then needs to say 'Multiple Vendors'\n        const packagingData = product.getPackagingsAndMappings().getNonDeletedPackagingData();\n        const hasNoteClass = hasNote ? 'product-has-note' : '';\n\n        let productCostString : string = '';\n        if (productCost) {\n            const unit = product.getPreferredReportingUnit();\n            const productQuantityUnitDisplayText = PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), unit, false);\n            const costDisplayInfo = productCostUtils.getCostInUnit(productCost, unit, product.getPackagingsAndMappings());\n            productCostString = `${ FormatMonetaryValueWithCents(costDisplayInfo) } / ${ productQuantityUnitDisplayText }`;\n        }\n\n        return (\n            <Popover\n                className=\"product-info-popover\"\n                preferredPositionArray={ preferredPositionArray ?? ['below', 'above', 'left', 'right'] }\n                showOnHover={ true }\n                popoverContentIsShown={ productInfoIsShown }\n                setPopoverContentIsShown={ setProductInfoIsShown }\n                anchorContent={ (\n                    <div className={ `product-info-anchor ellipsis-out cursor-pointer ${ hasNoteClass }` }>\n                        { children }\n                    </div>\n                ) }\n                popoverContent={ (\n                    <React.Fragment>\n                        <Flex direction=\"row\" className=\"product-info-header dark\" align=\"end\">\n                            <Flex direction=\"column\" grow={ 1 }>\n                                <BrandAndName\n                                    brand={ product.getBrand() }\n                                    name={ product.getName() }\n                                />\n                            </Flex>\n                        </Flex>\n                        <div className=\"product-info-container\">\n                            <div className=\"product-info-row\">\n                                <div className=\"product-info-label\">\n                                        Packagings\n                                    </div>\n                                <div className=\"product-info-value ellipsis-out\">\n                                    {\n                                        packagingData.map((data, index) => {\n                                            return (\n                                                <div key={ `${ index } ${ data.packaging.getPackagingId() } ` }>\n                                                    { PackagingUtils.getDisplayTextForPackaging(data.packaging, true) }\n                                                </div>\n                                            );\n                                        })\n                                    }\n                                </div>\n                            </div>\n                            <div className=\"divider-line\"/>\n                            { !vendorIsHidden && !window.GLOBAL_FEATURE_ACCESS.multi_vendor &&\n                                <div className=\"product-info-row\">\n                                    <div className=\"product-info-label\">\n                                        Vendor\n                                    </div>\n                                    <div className=\"product-info-value ellipsis-out\">\n                                        { vendorText }\n                                    </div>\n                                </div>\n                            }\n                            <div className=\"product-info-row\">\n                                <div className=\"product-info-label\">\n                                    Category\n                                </div>\n                                <div className=\"product-info-value ellipsis-out\">\n                                    { product.getProductCategoryId() }\n                                </div>\n                            </div>\n                            <div className=\"product-info-row\">\n                                <div className=\"product-info-label\">\n                                    Subcategory\n                                </div>\n                                <div className=\"product-info-value ellipsis-out\">\n                                    { product.getProductType() }\n                                </div>\n                            </div>\n                            <div className=\"product-info-row\">\n                                <div className=\"product-info-label\">\n                                    Reporting Unit\n                                </div>\n                                <div className=\"product-info-value ellipsis-out\">\n                                    { PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), product.getPreferredReportingUnit(), false) }\n                                </div>\n                            </div>\n                            { productCost &&\n                                <div className=\"product-info-row\">\n                                    <div className=\"product-info-label\">\n                                        Cost\n                                    </div>\n                                    <div className=\"product-info-value ellipsis-out\">\n                                        { productCostString }\n                                    </div>\n                                </div>\n                            }\n                            { hasNote &&\n                                <div className=\"prodict-info-row\">\n                                    <div className=\"divider-line\"/>\n                                    <div className=\"product-info-label\">\n                                        Note\n                                    </div>\n                                    <div className=\"product-info-value product-info-note\">\n                                        { noteText }\n                                    </div>\n                                </div>\n                            }\n                            { onFullDetailsClick !== null &&\n                                <div className=\"full-details-link-container\">\n                                    <a onClick={ onFullDetailsClick }>\n                                        See full details\n                                    </a>\n                                </div>\n                            }\n                        </div>\n                    </React.Fragment>\n                ) }\n            />\n        );\n    }\n}\n","import React from 'react';\n\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { Popover } from 'shared/components/Popover/Popover';\n\nexport interface IPackagingProps {\n    readonly packagingAndMappings : PackagingsAndMappings;\n    readonly hasPackagingPopover : boolean;\n}\n\ninterface IPackagingState {\n    popoverIsShown : boolean;\n}\n\nexport class Packaging extends React.Component<IPackagingProps, IPackagingState> {\n\n    public constructor(props : IPackagingProps) {\n        super(props);\n\n        this.state = {\n            popoverIsShown: false,\n        };\n    }\n\n    public shouldComponentUpdate(nextProps : IPackagingProps, nextState : IPackagingState) {\n        return (this.props.packagingAndMappings !== nextProps.packagingAndMappings) || (this.state.popoverIsShown !== nextState.popoverIsShown);\n    }\n\n    public render() {\n        const {\n            hasPackagingPopover,\n            packagingAndMappings,\n        } = this.props;\n\n        const packagingData = packagingAndMappings.getNonDeletedPackagingData();\n\n        const hasMultiplePackagings = (packagingData.length > 1);\n        const packagingsElement = (\n            <div className=\"ellipsis-out\">\n                { PackagingUtils.getDisplayTextForPackaging(packagingData[0].packaging, true) }{hasMultiplePackagings && <span> +{ packagingData.length - 1 }</span>}\n            </div>\n        );\n\n        return (\n            <div className=\"product-packaging\">\n                { (!hasPackagingPopover || !hasMultiplePackagings) && \n                    packagingsElement\n                }\n                { hasPackagingPopover && hasMultiplePackagings && \n                    <Popover\n                        className=\"product-packaging-popover\"\n                        preferredPositionArray={ ['below', 'above', 'left', 'right'] }\n                        showOnHover={ true }\n                        popoverContentIsShown={ this.state.popoverIsShown }\n                        setPopoverContentIsShown={ this.setPopoverContentIsShown }\n                        anchorContent={ packagingsElement }\n                        popoverContent={ (\n                            <div className=\"flex-child\">\n                                {\n                                    packagingData.map((data, index) => {\n                                        return (\n                                            <div key={ `${ index } ${ data.packaging.getPackagingId() } ` }>\n                                                { PackagingUtils.getDisplayTextForPackaging(data.packaging, true) }\n                                            </div>\n                                        );\n                                    })\n                                }\n                            </div>\n                        ) }\n                    />\n                }\n            </div>\n        );\n    }\n\n    private setPopoverContentIsShown = (isShown : boolean) => {\n        this.setState({ popoverIsShown: isShown });\n    }\n}\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { OldPackaging } from 'api/Product/model/OldPackaging';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\n\nimport { PackagingFormUtils } from './PackagingFormUtils';\n\nimport { Select2DropdownMenu } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { IValidationInputData, ValidationInput } from 'shared/components/ValidationInput';\nimport { MAX_MOBILE_WIDTH } from 'shared/constants';\n\nimport './PackagingForm.scss';\n\nconst COMES_AS_CASE_QUANTITY_ERROR_MESSAGE = 'Quantity per case must be greater than 1 to be a case';\n\nexport type PackagingFormFieldName = 'unitName' | 'contentQuantity' | 'contentUnit' | 'caseName' | 'caseQuantity';\ntype ComponentName = 'infoPopover';\n\ninterface IPackagingFormValidationInputDataByFieldName {\n    unitName : IValidationInputData;\n    contentQuantity : IValidationInputData;\n    contentUnit : IValidationInputData;\n    caseName : IValidationInputData;\n    caseQuantity : IValidationInputData;\n    comesAsCase : {\n        value : boolean;\n        isValid : boolean;\n        errorMessage : string;\n    };\n}\nexport type PackagingFormValidationInputDataByFieldName = IPackagingFormValidationInputDataByFieldName;\n\ninterface IPackagingFormState {\n    validationInputDataByFieldName : PackagingFormValidationInputDataByFieldName;\n    isValid : boolean;\n    errorMessage : string;\n    isShownByComponentName : { [componentName in ComponentName] : boolean };\n}\n\nexport interface IPackagingFormProps {\n    readonly initialPackaging : Packaging | PackagingFormValidationInputDataByFieldName | null;\n    readonly onFormFieldChange : ((packagingFormValidationInputDataByFieldName : IPackagingFormValidationInputDataByFieldName) => void) | null; // this is called on load too!! which auto-set/corrects field values\n}\n\nexport class PackagingForm extends React.Component<IPackagingFormProps, IPackagingFormState> {\n    private defaultPackaging = PackagingFormUtils.getDefaultPackaging();\n\n    public constructor(props : IPackagingFormProps) {\n        super(props);\n        const validationInputDataByFieldName = PackagingFormUtils.getValidationInputDataByFieldNameFromInitialPackaging(this.props.initialPackaging || this.defaultPackaging);\n\n        this.state = {\n            validationInputDataByFieldName,\n            isValid: true,\n            errorMessage: '',\n            isShownByComponentName: {\n                infoPopover: false,\n            }\n        };\n\n        if (this.props.onFormFieldChange) {\n            this.props.onFormFieldChange(this.state.validationInputDataByFieldName);\n        }\n    }\n\n    public UNSAFE_componentWillReceiveProps(nextProps : IPackagingFormProps) {\n        if (nextProps.initialPackaging !== this.props.initialPackaging) {\n            const validationInputDataByFieldName = PackagingFormUtils.getValidationInputDataByFieldNameFromInitialPackaging(nextProps.initialPackaging || this.defaultPackaging);\n\n            this.setState((state) => {\n                return {\n                    ...state,\n                    validationInputDataByFieldName,\n                };\n            }, this.onSetState);\n        }\n    }\n\n    public render() {\n        const validationInputDataByFieldName = this.state.validationInputDataByFieldName;\n\n        const unitNameSortedOptionsAndLabelName = PackagingFormUtils.getUnitNameSortedOptionsAndLabelName();\n        const unitNameSelectedOption = PackagingFormUtils.getIOptionForUnitValue(validationInputDataByFieldName.unitName.value);\n\n        const contentUnitSortedOptionsAndLabelName = PackagingFormUtils.getContentUnitSortedOptionsAndLabelName(validationInputDataByFieldName.unitName.value);\n        const contentUnitSelectedOption = PackagingFormUtils.getIOptionForUnitValue(validationInputDataByFieldName.contentUnit.value);\n\n        const isKeg = (validationInputDataByFieldName.unitName.value === 'keg');\n\n        return (\n            <div className=\"packaging-form\">\n                <div className=\"packaging-preview\">\n                    <span className=\"packaging-preview-string\">Appears as:</span>\n                    <span className=\"packaging-preview-string-data\">&nbsp;<strong>{ PackagingFormUtils.getAppearsAsText(validationInputDataByFieldName) }</strong></span>\n                </div>\n                <MediaQuery minWidth={ MAX_MOBILE_WIDTH }>\n                    <div className=\"packaging-headers\">\n                        <h6>Case Information</h6>\n                        <h6>Unit Information</h6>\n                        <h6/>\n                        <h6/>\n                    </div>\n                </MediaQuery>\n                <div className=\"packaging-section units-layer\">\n                    <div className=\"packaging-section-subsection\">\n                        <div className=\"packaging-case-section\">\n                            <label className=\"input-label static reset-dark-styles\">\n                                Case Size\n                            </label>\n                            <ValidationInput\n                                type=\"text\"\n                                label={ null }\n                                hintText=\"Optional\"\n                                value={ validationInputDataByFieldName.caseQuantity.value }\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                isValid={ validationInputDataByFieldName.caseQuantity.isValid }\n                                isDisabled={ isKeg ? true : false }\n                                errorMessage={ validationInputDataByFieldName.caseQuantity.errorMessage }\n                                inputClassName=\"text-right reset-dark-styles\"\n                                handleEnterClick={ this.doNothing }\n                                handleChange={ this.onCaseQuantityChange }\n                                handleBlur={ this.onCaseQuantityBlur }\n                                handleFocus={ this.doNothing }\n                            />\n                        </div>\n                    </div>\n                    <div className=\"packaging-section-subsection\">\n                        <label className=\"input-label static reset-dark-styles\">\n                            Unit Size\n                        </label>\n                        <div className=\"packaging-input-group\">\n                            <ValidationInput\n                                type=\"text\"\n                                label={ null }\n                                hintText=\"?\"\n                                value={ validationInputDataByFieldName.contentQuantity.value }\n                                autoFocus={ false }\n                                autoComplete={ null }\n                                isValid={ validationInputDataByFieldName.contentQuantity.isValid }\n                                isDisabled={ false }\n                                errorMessage={ validationInputDataByFieldName.contentQuantity.errorMessage }\n                                inputClassName=\"text-right reset-dark-styles\"\n                                handleEnterClick={ this.doNothing }\n                                handleChange={ this.onContentQuantityChange }\n                                handleBlur={ this.onContentQuantityBlur }\n                                handleFocus={ this.doNothing }\n                            />\n                        </div>\n                    </div>\n                    <div className=\"packaging-section-subsection\">\n                        <label className=\"input-label static reset-dark-styles\">\n                            Unit of Measure\n                        </label>\n                        <div className=\"floating-dropdown-menu\">\n                            <Select2DropdownMenu\n                                isSearchable={ false }\n                                buttonShouldDisplaySelectedLabel={ true }\n                                selectedOptionHeaderShown={ false }\n                                sortedOptionsAndLabelName={ contentUnitSortedOptionsAndLabelName }\n                                selectedOption={ contentUnitSelectedOption }\n                                onOptionSelect={ this.onContentUnitSelect }\n                                placeholderText=\"?\"\n                                emptyState={ null }\n                                hasCreateCustomOption={ false }\n                                createCustomOption={ this.doNothing }\n                                customOptionGroupLabel={ null }\n                                createCustomOptionButtonLabel={ null }\n                            />\n                        </div>\n                    </div>\n                    <div className=\"packaging-section-subsection\">\n                        <label className=\"input-label reset-dark-styles\">\n                            Unit Name\n                        </label>\n                        <div className=\"floating-dropdown-menu\">\n                            <Select2DropdownMenu\n                                isSearchable={ false }\n                                buttonShouldDisplaySelectedLabel={ true }\n                                selectedOptionHeaderShown={ false }\n                                sortedOptionsAndLabelName={ unitNameSortedOptionsAndLabelName }\n                                selectedOption={ unitNameSelectedOption }\n                                onOptionSelect={ this.onUnitNameSelect }\n                                placeholderText=\"Select Unit\"\n                                emptyState={ null }\n                                hasCreateCustomOption={ false }\n                                createCustomOption={ this.doNothing }\n                                customOptionGroupLabel={ null }\n                                createCustomOptionButtonLabel={ null }\n                            />\n                        </div>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    public readonly getValidationInputDataByFieldName = () : PackagingFormValidationInputDataByFieldName => {\n        return this.state.validationInputDataByFieldName;\n    }\n\n    public readonly getPackaging = (shouldSetFormFieldValidationData : boolean) : Packaging | null => {\n        const oldPackaging = this.getOldPackaging(shouldSetFormFieldValidationData);\n        if (oldPackaging) {\n            return oldPackagingUtils.getPackagingWithDummyPackagingIdsFromOldPackaging(oldPackaging);\n        }\n\n        return null;\n    }\n\n    public readonly getOldPackaging = (shouldSetFormFieldValidationData : boolean) : OldPackaging | null => {\n        const formIsValid = this.validateForm(shouldSetFormFieldValidationData);\n        const validationInputDataByFieldName = this.state.validationInputDataByFieldName;\n\n        if (formIsValid) {\n            const contentUnitPackaging = new OldPackaging(null, null, oldPackagingUtils.getUnitFromValue(validationInputDataByFieldName.contentUnit.value));\n            const containerPackaging = new OldPackaging(contentUnitPackaging, parseFloat(validationInputDataByFieldName.contentQuantity.value), oldPackagingUtils.getUnitFromValue(validationInputDataByFieldName.unitName.value));\n\n            if (validationInputDataByFieldName.caseQuantity.value) {\n                return new OldPackaging(containerPackaging, parseFloat(validationInputDataByFieldName.caseQuantity.value), oldPackagingUtils.getUnitFromValue(validationInputDataByFieldName.caseName.value));\n            }\n\n            return containerPackaging;\n        }\n\n        return null;\n    }\n\n    private readonly onUnitNameSelect = (unitName : string) => {\n        this.onFormFieldChange('unitName', unitName);\n\n        if (unitName === 'keg') {\n            this.setState((state) => {\n                return {\n                    ...state,\n                    validationInputDataByFieldName: {\n                        ...state.validationInputDataByFieldName,\n                        comesAsCase: {\n                            value: false,\n                            isValid: true,\n                            errorMessage: '',\n                        },\n                        caseQuantity: {\n                            value: '',\n                            isValid: true,\n                            errorMessage: '',\n                        }\n                    }\n                };\n            }, this.onSetState);\n        }\n    }\n\n    private readonly onContentQuantityChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.onFormFieldChange('contentQuantity', event.currentTarget.value);\n    }\n\n    private readonly onContentQuantityBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        let blurValue = event.currentTarget.value.trim();\n\n        if (PackagingFormUtils.validateValueByFieldName('contentQuantity', blurValue).isValid) {\n            blurValue = parseFloat(blurValue).toString();\n        }\n\n        this.onFormFieldChange('contentQuantity', blurValue);\n    }\n\n    private readonly onContentUnitSelect = (contentUnit : string) => {\n        this.onFormFieldChange('contentUnit', contentUnit);\n    }\n\n    private readonly onCaseQuantityChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        this.onFormFieldChange('caseQuantity', event.currentTarget.value);\n    }\n\n    private readonly onCaseQuantityBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        let blurValue = event.currentTarget.value;\n        if (PackagingFormUtils.validateValueByFieldName('caseQuantity', blurValue).isValid && blurValue !== '') {\n            blurValue = parseFloat(blurValue).toString();\n        }\n\n        this.onFormFieldChange('caseQuantity', blurValue);\n    }\n\n    private readonly validateForm = (shouldSetFormFieldValidationData : boolean) : boolean => {\n        let formIsValid = true;\n        let formChanges : { [f in PackagingFormFieldName]? : IValidationInputData } = {};\n\n        const validationInputDataByFieldName = this.state.validationInputDataByFieldName;\n        Object.keys(validationInputDataByFieldName).forEach((key) => {\n            if (key !== 'comesAsCase') {\n                const fieldName = key as PackagingFormFieldName;\n                const value = (validationInputDataByFieldName)[fieldName].value;\n\n                const validationResult = PackagingFormUtils.validateValueByFieldName(fieldName, value);\n\n                const { isValid, errorMessage } = validationResult;\n                formIsValid = formIsValid && isValid;\n\n                if (shouldSetFormFieldValidationData) {\n                    formChanges = {\n                        ...formChanges,\n                        [fieldName]: {\n                            value,\n                            isValid,\n                            errorMessage,\n                        }\n                    };\n                }\n            }\n        });\n\n        if (validationInputDataByFieldName.comesAsCase.value && !validationInputDataByFieldName.caseQuantity.value) {\n            if (shouldSetFormFieldValidationData) {\n                formChanges = {\n                    ...formChanges,\n                    caseQuantity: {\n                        value: validationInputDataByFieldName.caseQuantity.value,\n                        isValid: false,\n                        errorMessage: COMES_AS_CASE_QUANTITY_ERROR_MESSAGE,\n                    }\n                };\n            }\n            formIsValid = false;\n        }\n\n        if (shouldSetFormFieldValidationData) {\n            this.setState((state) => {\n                return {\n                    ...state,\n                    validationInputDataByFieldName: {\n                        ...validationInputDataByFieldName,\n                        ...formChanges\n                    }\n                };\n            });\n        }\n\n        return formIsValid;\n    }\n\n    private readonly onFormFieldChange = (fieldName : PackagingFormFieldName, value : string) => {\n        this.setState((state) => {\n            const {\n                isValid,\n                errorMessage,\n            } = PackagingFormUtils.validateValueByFieldName(fieldName, value);\n\n            let formChanges : { [f in PackagingFormFieldName]? : IValidationInputData } = {\n                [fieldName]: {\n                    value,\n                    isValid,\n                    errorMessage,\n                }\n            };\n\n            let caseFormChange = {};\n\n            const validationInputDataByFieldName = state.validationInputDataByFieldName;\n\n            if (fieldName === 'unitName') {\n                const contentUnitValue = validationInputDataByFieldName.contentUnit.value;\n                if (contentUnitValue && !PackagingFormUtils.contentUnitIsCompatibleWithUnitName(value, contentUnitValue)) {\n                    formChanges = {\n                        ...formChanges,\n                        contentUnit: {\n                            value: PackagingFormUtils.getContentUnitOptions(value)[0],\n                            isValid: true,\n                            errorMessage: '',\n                        }\n                    };\n                }\n            } else if (fieldName === 'caseQuantity') {\n                const caseIsValid = value !== '';\n                caseFormChange = {\n                    ...caseFormChange,\n                    comesAsCase: {\n                        value: caseIsValid,\n                        isValid: true,\n                        errorMessage: '',\n                    },\n                };\n            }\n\n            return {\n                ...state,\n                validationInputDataByFieldName: {\n                    ...validationInputDataByFieldName,\n                    ...formChanges,\n                    ...caseFormChange\n                },\n            };\n        }, this.onSetState);\n    }\n\n    private readonly onSetState = () => {\n        if (this.props.onFormFieldChange) {\n            this.props.onFormFieldChange(this.state.validationInputDataByFieldName);\n        }\n    }\n\n    private readonly doNothing = () => {\n        // Do Nothing\n    }\n}\n","import { BaseUnit } from 'api/Product/model/BaseUnit';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingUnit } from 'api/Product/model/PackagingUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { UNIT_DROPDOWN_LABEL, VOLUME_DROPDOWN_LABEL, WEIGHT_DROPDOWN_LABEL } from 'api/Product/utils/PackagingUtils';\n\nimport { PackagingFormFieldName, PackagingFormValidationInputDataByFieldName } from './PackagingForm';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { IValidationResult, Validation } from 'shared/validators/validators';\nimport { Unit } from 'api/Product/model/Unit';\n\nconst MAX_PACKAGING_QUANTITY = 1000000;\nconst QUANTITY_TOO_LARGE_ERROR_MESSAGE = 'Value is too large';\n\nconst DEFAULT_FOOD_PACKAGING = new Packaging(\n    new PackagingId('defaultFoodPackagingId'),\n    'other',\n    new Packaging(new PackagingId('EA'), 'EA', null, null, null),\n    1,\n    null\n);\n\nconst DEFAULT_BEVERAGE_PACKAGING = new Packaging(\n    new PackagingId('defaultBeveragePackagingId'),\n    'bottle',\n    new Packaging(null, null, null, null, VolumeUnit.MILLILITER),\n    750,\n    null\n);\nconst getDefaultPackaging = () : Packaging => {\n    return (window.GLOBAL_RETAILER_ACCOUNT_TYPE === 'beverage') ? DEFAULT_BEVERAGE_PACKAGING : DEFAULT_FOOD_PACKAGING\n};\n\nconst getUnitNameSortedOptionsAndLabelName = () : OptionsAndLabelNameTuples => {\n    // case cannot be inner package\n    const unitNameOptions = PackagingUnit.getUnits().filter(u => PackagingUnit.CASE !== u);\n    return [[null, unitNameOptions.map((unitNameOption) => {\n        return {\n            icon: null,\n            label: oldPackagingUtils.getDisplayTextForUnit(unitNameOption),\n            value: unitNameOption,\n        };\n    })]];\n};\n\nconst getContentUnitOptions = (unitNameValue : string) : Array<VolumeUnit | MassUnit | BaseUnit> => {\n    // this really should be a known PackgingUnit already... if not, ok to return all possible units as long as keg is handled\n    return oldPackagingUtils.getValidContentUnitsForContainerType(unitNameValue as PackagingUnit);\n};\n\nconst getContentUnitSortedOptionsAndLabelName = (unitNameValue : string) : OptionsAndLabelNameTuples => {\n    const contentUnitOptions = getContentUnitOptions(unitNameValue);\n\n    const allContentUnitSortedOptionsAndLabelName : OptionsAndLabelNameTuples = [[UNIT_DROPDOWN_LABEL, []], [VOLUME_DROPDOWN_LABEL, []], [WEIGHT_DROPDOWN_LABEL, []]];\n    contentUnitOptions.forEach((contentUnitOption) => {\n        const contentUnitIOption = {\n            icon: null,\n            label: oldPackagingUtils.getDisplayTextForUnit(contentUnitOption),\n            value: contentUnitOption,\n        };\n\n        if (VolumeUnit.isVolumeUnitValue(contentUnitOption)) {\n            allContentUnitSortedOptionsAndLabelName[1][1].push(contentUnitIOption);\n        } else if (MassUnit.isMassUnitValue(contentUnitOption)) {\n            allContentUnitSortedOptionsAndLabelName[2][1].push(contentUnitIOption);\n        } else {\n            allContentUnitSortedOptionsAndLabelName[0][1].push(contentUnitIOption);\n        }\n    });\n\n    const contentUnitSortedOptionsAndLabelName : OptionsAndLabelNameTuples = [];\n    allContentUnitSortedOptionsAndLabelName.forEach((labelNameAndOptions) => {\n        const options = labelNameAndOptions[1];\n        if (options.length > 0) {\n            contentUnitSortedOptionsAndLabelName.push(labelNameAndOptions);\n        }\n    });\n\n    return contentUnitSortedOptionsAndLabelName;\n};\n\nconst getIOptionForUnitValue = (unitValue : string) : IOption | null => {\n    if (unitValue) {\n        return {\n            icon: null,\n            label: oldPackagingUtils.getDisplayTextForUnit(oldPackagingUtils.getUnitFromValue(unitValue)),\n            value: unitValue,\n        };\n    }\n\n    return null;\n};\n\nconst contentUnitIsCompatibleWithUnitName = (unitNameValue : string, contentUnitValue : string) : boolean => {\n    return ((getContentUnitOptions(unitNameValue) as Array<string>).indexOf(contentUnitValue) !== -1);\n};\n\nconst validateValueByFieldName = (\n    fieldName : PackagingFormFieldName,\n    value : string,\n) : IValidationResult => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    // required\n    switch (fieldName) {\n        case 'unitName':\n            isValid = Validation.validateRequired(value);\n            if (!isValid) {\n                errorMessage = `Unit type is required`;\n                return {\n                    errorMessage,\n                    isValid,\n                };\n            }\n            break;\n        case 'contentQuantity':\n            isValid = Validation.validateRequired(value);\n            if (!isValid) {\n                errorMessage = `Unit quantity is required`;\n                return {\n                    errorMessage,\n                    isValid,\n                };\n            }\n            break;\n        case 'contentUnit':\n            isValid = Validation.validateRequired(value);\n            if (!isValid) {\n                errorMessage = `Unit of measure is required`;\n                return {\n                    errorMessage,\n                    isValid,\n                };\n            }\n            break;\n        case 'caseName':\n            isValid = Validation.validateRequired(value);\n            if (!isValid) {\n                errorMessage = `Case name is required`;\n                return {\n                    errorMessage,\n                    isValid,\n                };\n            }\n            break;\n        case 'caseQuantity':\n            break;\n    }\n\n    // input type specific\n    switch (fieldName) {\n        case 'caseQuantity': {\n            if (value === '') {\n                isValid = true;\n                errorMessage = '';\n                break;\n            }\n            const caseQuantityNumber = Number(value);\n            isValid = Validation.validateNumber(value) && (caseQuantityNumber > 0);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n                break;\n            }\n            isValid = (Math.floor(caseQuantityNumber) === caseQuantityNumber);\n            if (!isValid) {\n                errorMessage = 'Must be a whole number';\n                break;\n            }\n            isValid = (caseQuantityNumber <= MAX_PACKAGING_QUANTITY);\n            if (!isValid) {\n                errorMessage = QUANTITY_TOO_LARGE_ERROR_MESSAGE;\n            }\n            break;\n        }\n        case 'contentQuantity': {\n            const contentQuantityNumber = Number(value);\n            isValid = Validation.validateNumber(value) && (contentQuantityNumber > 0);\n            if (!isValid) {\n                errorMessage = 'Invalid value';\n                break;\n            }\n            isValid = (contentQuantityNumber <= MAX_PACKAGING_QUANTITY);\n            if (!isValid) {\n                errorMessage = QUANTITY_TOO_LARGE_ERROR_MESSAGE;\n            }\n            break;\n        }\n        case 'unitName':\n        case 'contentUnit':\n        case 'caseName':\n        default:\n            if (isValid === null) {\n                throw new Error('no validation implemented for fieldname ' + fieldName);\n            }\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n\nconst getValidationInputDataByFieldNameFromInitialPackaging = (initialPackaging : Packaging | PackagingFormValidationInputDataByFieldName) : PackagingFormValidationInputDataByFieldName => {\n\n    let validationInputDataByFieldName : PackagingFormValidationInputDataByFieldName;\n\n    if (initialPackaging instanceof Packaging) {\n        const oldPackaging = oldPackagingUtils.getOldPackagingFromPackaging(initialPackaging);\n\n        let caseQuantityValue = '';\n        if (oldPackagingUtils.hasCase(oldPackaging)) {\n            const caseQuantityOfContent = oldPackaging.getQuantityOfContent();\n            if (!caseQuantityOfContent) {\n                throw new RuntimeException('unexpected in parsing initialPackaging');\n            }\n\n            caseQuantityValue = caseQuantityOfContent.toString();\n        }\n\n        const container = oldPackagingUtils.getContainer(oldPackaging);\n\n        const unitNameValue = container.getUnit();\n        const contentQuantity = container.getQuantityOfContent();\n        const containerContent = container.getContent();\n        if (!contentQuantity || !containerContent) {\n            throw new RuntimeException('unexpected in parsing initialPackaging');\n        }\n\n        const contentUnitValue = containerContent.getUnit();\n        const contentQuantityValue = contentQuantity.toString();\n\n        validationInputDataByFieldName = {\n            caseName: {\n                value: 'case',\n                isValid: true,\n                errorMessage: '',\n            },\n            caseQuantity: {\n                value: caseQuantityValue,\n                isValid: true,\n                errorMessage: '',\n            },\n            unitName: {\n                value: unitNameValue,\n                isValid: true,\n                errorMessage: '',\n            },\n            contentQuantity: {\n                value: contentQuantityValue,\n                isValid: true,\n                errorMessage: '',\n            },\n            contentUnit: {\n                value: contentUnitValue,\n                isValid: true,\n                errorMessage: '',\n            },\n            comesAsCase: {\n                value: caseQuantityValue !== '',\n                isValid: true,\n                errorMessage: '',\n            }\n        };\n    } else {\n        validationInputDataByFieldName = initialPackaging;\n    }\n\n    return validationInputDataByFieldName;\n};\n\nconst getAppearsAsText = (validationInputDataByFieldName : PackagingFormValidationInputDataByFieldName) : string => {\n    let caseQuantityText = '';\n    if (validationInputDataByFieldName.comesAsCase.value) {\n        caseQuantityText = `${ (validationInputDataByFieldName.caseQuantity.isValid && validationInputDataByFieldName.caseQuantity.value) ? validationInputDataByFieldName.caseQuantity.value : '?' } x`;\n    }\n\n    const contentQuantityText = (validationInputDataByFieldName.contentQuantity.isValid && validationInputDataByFieldName.contentQuantity.value) ? validationInputDataByFieldName.contentQuantity.value : '?';\n\n    const contentUnitValue = validationInputDataByFieldName.contentUnit.value;\n    const contentUnitText = (validationInputDataByFieldName.contentUnit.isValid && contentUnitValue) ? oldPackagingUtils.getDisplayTextForUnit(contentUnitValue as Unit) : '?';\n\n    const unitNameValue = validationInputDataByFieldName.unitName.value;\n    const unitNameText = (validationInputDataByFieldName.unitName.isValid && unitNameValue) ? oldPackagingUtils.getDisplayTextForUnit(unitNameValue as Unit) : '?';\n\n    return `${ caseQuantityText } ${ contentQuantityText }${ contentUnitText } (${ unitNameText })`.trim();\n};\n\nexport const PackagingFormUtils = {\n    getDefaultPackaging,\n    getUnitNameSortedOptionsAndLabelName,\n    getContentUnitOptions,\n    getContentUnitSortedOptionsAndLabelName,\n    getIOptionForUnitValue,\n    contentUnitIsCompatibleWithUnitName,\n    validateValueByFieldName,\n    getValidationInputDataByFieldNameFromInitialPackaging,\n    getAppearsAsText,\n};\n","import React from 'react';\n\nimport { Product } from 'api/Product/model/Product';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport './ProductOptionRow.scss';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductName } from '../ProductName/ProductName';\n\nexport interface IProductOptionRowProps {\n    readonly product : Product;\n    readonly isAdded : boolean;\n    readonly isActive : boolean;\n    readonly isHighlighted : boolean;\n    readonly showPricePerLowestUnit : boolean;\n    readonly productCost? : ProductCost;\n    // brand and name on one line, for dropdowns that list rows under each product\n    readonly isCompact? : boolean;\n}\n\nexport class ProductOptionRow extends React.Component<IProductOptionRowProps, object> {\n\n    public render() {\n        const {\n            product,\n            isAdded,\n            isActive,\n            isHighlighted,\n            productCost,\n            showPricePerLowestUnit,\n            isCompact,\n        } = this.props;\n\n        let ingredientCost : string | undefined;\n\n        if (showPricePerLowestUnit && productCost) {\n            const baseUnit = product.getPackagingsAndMappings().getConversions().getBaseUnit();\n        \n            const productQuantityUnitDisplayText = PackagingUtils.getPackagingDisplayTextForProductQuantityUnit(product.getPackagingsAndMappings(), baseUnit, false);\n            const costDisplayInfo = productCostUtils.getCostInUnit(productCost, baseUnit, product.getPackagingsAndMappings());\n    \n            ingredientCost = `${ FormatMonetaryValueWithCents(costDisplayInfo) } / ${ productQuantityUnitDisplayText }`;\n        }\n\n        return (\n            <div\n                className={ `product-option-row ${ isHighlighted ? 'highlighted' : '' } ${ isAdded ? 'added' : '' } ${ isActive ? '' : 'archived' } ${ isCompact ? 'compact' : '' }` }\n            >\n                <div className=\"row-content\">\n                    <div className=\"product-option-row-brand-and-name cell col-xs-9\">\n                        <ProductName \n                            product={ product } \n                            sku={ !window.GLOBAL_FEATURE_ACCESS.multi_vendor ? product.getSku() : null }\n                        />\n                    </div>\n                    <div  className=\"product-option-row-packaging cell col-xs-3 text-right\">\n                        { showPricePerLowestUnit &&\n                            <div className=\"ellipsis-out\">\n                                { `${ ingredientCost }` }\n                            </div>\n                        }\n                    </div>\n                </div>\n            </div>\n        );\n    }\n}\n","import { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { productCostUtils } from 'api/Product/utils/productCostUtils';\nimport React from 'react';\nimport { Button } from 'shared/components/Button';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\n\nimport './ProductCostWarningPopover.scss';\n\nexport interface IProductCostWarningData {\n    warnedCostDescription : string;\n    currentCost : ProductCost;\n    packageAndMappings : PackagingsAndMappings;\n}\n\ninterface IProductCostWarningPopoverProps {\n    anchor : React.ReactNode;\n    data : IProductCostWarningData;\n    onEditClick? : () => void;\n}\n\ninterface IProductCostWarningState {\n    readonly popoverIsShown : boolean;\n}\n\nexport class ProductCostWarningPopover extends React.Component<IProductCostWarningPopoverProps, IProductCostWarningState> {\n    constructor(props: IProductCostWarningPopoverProps) {\n        super(props);\n\n        this.state = {\n            popoverIsShown : false\n        };\n    }\n\n    public render() {\n        const {\n            anchor,\n            data,\n            onEditClick,\n        } = this.props;\n        const {\n            packageAndMappings,\n            currentCost,\n            warnedCostDescription,\n        } = data;\n        const costDisplay = productCostUtils.getDisplayInfoForProductCost(packageAndMappings, currentCost);\n        const editButton = onEditClick && (\n            <Button buttonClassName=\"primary flat\" isDisabled={ false } isLoading={ false } onClick={ onEditClick }>Edit</Button>\n        );\n        return (\n            <Popover\n                preferredPositionArray={ [] }\n                anchorContent={ anchor }\n                popoverContent={\n                    <div className=\"cost-warning-popover-content\">\n                        { warnedCostDescription } differs significantly from this item's current price of { FormatMonetaryValueWithCents(costDisplay.resolvedCostAmount) } / { costDisplay.displayTextForCostUnit }.\n                        { editButton }\n                    </div>}\n                className=\"cost-warning-popover\"\n                showOnHover={ true }\n                popoverContentIsShown={ this.state.popoverIsShown }\n                setPopoverContentIsShown={ this.setPopoverShown }\n            />\n        );\n    }\n\n    private readonly setPopoverShown = (isShown : boolean) => {\n        this.setState({\n            ...this.state,\n            popoverIsShown: isShown,\n        });\n    }\n}\n","import { ProductStatus } from 'api/Product/model/ProductStatus';\nimport React from 'react';\n\nimport './ProductName.scss';\nimport { Product } from 'api/Product/model/Product';\n\nexport interface IProductNameProps {\n    readonly product : Product;\n    readonly sku? : string | null;\n    readonly productStatus? : ProductStatus;\n}\n\nexport class ProductName extends React.Component<IProductNameProps, object> {\n    public render() {\n        const {\n            product,\n            sku,\n            productStatus,\n        } = this.props;\n\n        const productCategoryId = product.getProductCategoryId();\n        const productType = product.getProductType();\n\n        return (\n            <span className=\"item-name\">\n                { this.getStatusIcon(productStatus) }\n                <span className=\"product-text\">\n                    <span className=\"product-brand\">{product.getBrand()}</span>\n                    <span className=\"product-name\">{product.getName()}</span>\n                    <small className=\"product-details\">{productCategoryId ? productCategoryId : ''}{productType ? '  |  ' + productType : ''}{sku && sku !== null ? '  |  SKU: ' + sku : ''}</small>\n                </span>\n            </span>\n        );\n    }\n\n    private readonly getStatusIcon = (status?: ProductStatus) => {\n        if (status === undefined) {\n            return undefined;\n        }\n\n        switch (status) {\n            case 'deleted':\n                return <span className=\"bevicon bevico-delete\"/>;\n            case 'archived':\n                return <span className=\"bevicon bevico-archived-item\"/>;\n            case 'active':\n            case 'unknown':\n            default:\n                return undefined;\n        }\n    }\n}\n","import React from 'react';\n\nimport './ProgressBar.scss';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { HexColor } from 'shared/models/HexColor';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IProgressBarProps {\n    readonly barColor : HexColor;\n    readonly backgroundColor : HexColor;\n    readonly barPercent : number;\n    readonly boundingBox : IBoundingBox;\n}\n\nexport class ProgressBar extends React.Component<IProgressBarProps, object> {\n    private readonly classNamePrefix = 'progress-bar';\n\n    public render() {\n        const {\n            barPercent,\n            boundingBox,\n        } = this.props;\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        if (barPercent < 0 || barPercent > 1) {\n            throw new RuntimeException('barPercent must be a valid percent value');\n        }\n\n        const className : string = `${ this.classNamePrefix }-container`;\n\n        return (\n            <svg\n                className={ className }\n                height={ boundingBox.heightInPixels }\n                width={ boundingBox.widthInPixels }\n            >\n                { this.createBackground() }\n                { this.createBar() }\n            </svg>\n        );\n    }\n\n    private readonly createBackground = () : JSX.Element => {\n        const {\n            backgroundColor,\n            boundingBox,\n        } = this.props;\n\n        const className : string = `${ this.classNamePrefix }-background`;\n\n        return (\n            <rect\n                className={ className }\n                height={ boundingBox.heightInPixels }\n                width={ boundingBox.widthInPixels }\n                fill={ backgroundColor.getValue() }\n            />\n        );\n    }\n\n    private createBar = () : JSX.Element => {\n        const {\n            barColor,\n            barPercent,\n            boundingBox,\n        } = this.props;\n\n        const className : string = `${ this.classNamePrefix }-bar`;\n        const widthInPixels : number = boundingBox.widthInPixels * barPercent;\n\n        return (\n            <rect\n                className={ className }\n                height={ boundingBox.heightInPixels }\n                width={ widthInPixels }\n                fill={ barColor.getValue() }\n            />\n        );\n    }\n}\n","import React from 'react';\n\nimport { IBoundingBox } from 'shared/models/Charts/IBoundingBox';\nimport { HexColor } from 'shared/models/HexColor';\nimport { ProgressBar } from './ProgressBar';\n\nimport { utils } from 'shared/components/Charts/utils';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport interface IAutoSizingProgressBarProps {\n    readonly barColor : HexColor;\n    readonly backgroundColor : HexColor;\n    readonly barPercent : number;\n    readonly heightInPixels : number;\n}\n\nexport class AutoSizingProgressBar extends React.Component<IAutoSizingProgressBarProps, object> {\n    private readonly classNamePrefix = 'auto-sizing-progress-bar';\n\n    private resizeTimeoutId : number = -1;\n    private containerElement : HTMLDivElement | undefined;\n\n    public componentDidMount() {\n        window.addEventListener('resize', this.onWindowResize);\n        this.onWindowResize();\n    }\n\n    public componentWillUnmount() {\n        window.removeEventListener('resize', this.onWindowResize);\n        window.clearTimeout(this.resizeTimeoutId);\n    }\n\n    public render() {\n        const {\n            barPercent,\n        } = this.props;\n\n        if (barPercent < 0 || barPercent > 1) {\n            throw new RuntimeException('barPercent must be a valid percent value');\n        }\n\n        return (\n            <div\n                className={ `${ this.classNamePrefix }-container` }\n                ref={ this.containerElementRefFunction }\n            >\n                { this.createProgressBar() }\n            </div>\n        );\n    }\n\n    private readonly containerElementRefFunction = (containerElement : HTMLDivElement) : void => {\n        this.containerElement = containerElement;\n    }\n\n    private readonly onWindowResize = () : void => {\n        // This causes a rerender on resize\n        window.clearTimeout(this.resizeTimeoutId);\n        this.resizeTimeoutId = window.setTimeout(() => {\n            this.setState({});\n        }, 250);\n    }\n\n    private readonly createProgressBar = () : JSX.Element | undefined  => {\n        const {\n            barColor,\n            backgroundColor,\n            barPercent,\n            heightInPixels,\n        } = this.props;\n\n        if (!this.containerElement) {\n            return (\n                  <div style={ { height: heightInPixels, width : '100%', backgroundColor : backgroundColor.getValue() } }/>\n            );\n        }\n\n        const boundingBox : IBoundingBox = {\n            heightInPixels,\n            widthInPixels: (this.containerElement.clientWidth !== 0) ? this.containerElement.clientWidth : 1,\n        };\n\n        utils.ensureBoundingBoxIsValid(boundingBox);\n\n        return (\n            <ProgressBar\n                barColor={ barColor }\n                backgroundColor={ backgroundColor }\n                barPercent={ barPercent }\n                boundingBox={ boundingBox }\n            />\n        );\n    }\n}\n","// Must go first, before any other imports\nimport { enableMapSet } from \"immer\";\nenableMapSet();\n\nimport { legacy_createStore, Reducer, Store, applyMiddleware, ThunkDispatch, AnyAction, configureStore, Middleware, isPlain } from '@reduxjs/toolkit';\nimport { object } from 'prop-types';\nimport React from 'react';\nimport thunk from 'redux-thunk';\nimport moment from 'moment-timezone';\nimport { Provider as ReduxProvider } from 'react-redux';\n\nimport { enableBatching } from 'shared/models/IAction';\n\n// Based on http://www.mattgreer.org/articles/typescript-react-and-redux/\n\ninterface IProvider<P> {\n    appReducers? : Reducer<P>;\n    store? : Store<P>;\n    services : object;\n    children : React.ReactNode;\n}\n\nexport interface IExtraArguments {\n    services : object;\n}\n\nexport interface ITypedExtraArguments<T> {\n    services : T;\n}\n\n// TODO future: we could improve this now that we're on redux-toolkit, but as the initial\n// migration, just make something that works in the way we expect our old typings to work\n// the old typings only provide the state type, so copy that here.\nexport type BevSpotDispatch<S, E extends IExtraArguments> = ThunkDispatch<S, E, AnyAction>\n\nexport class Provider<P> extends React.Component<IProvider<P>, object> {\n    public static childContextTypes = {\n        store: object.isRequired,\n    };\n\n    // Default middleware only includes thunk in prod\n    // https://redux-toolkit.js.org/api/getDefaultMiddleware#included-default-middleware\n    public static createNewStore<T, T2>(appReducers : Reducer<T>, services : T2, extraMiddleware: Array<Middleware> = []) {\n        const typedExtraArguments : ITypedExtraArguments<T2> = {\n            services,\n        };\n        const batchedReducers = enableBatching(appReducers);\n        return configureStore(\n            {\n                reducer: batchedReducers,\n                middleware: (getDefaultMiddleware) => {\n                    return getDefaultMiddleware({\n                        thunk: {\n                            extraArgument: typedExtraArguments,\n                        },\n                        /*\n                        We store a lot of data in the redux store that isn't serializable\n                        Redux recommends against this for a couple of reasons and, by default, yells at you if you\n                        store any non-serializable data.\n                        https://github.com/reduxjs/redux-toolkit/discussions/1654\n                        */\n                        serializableCheck: false,\n\n                        /*\n                        Redux says not to store moments on state (use string/number representations instead),\n                        but unfortunately we do this everywhere. Moments are mutable by design and in fact can mutate\n                        themselves under the hood. Just ignore these errors _for now_ - best approach would be to properly\n                        ensure these uses are immutable going forward\n                         */\n                        immutableCheck: {\n                            isImmutable: (value: unknown) =>\n                                moment.isMoment(value) ||\n                                isPlain(value) ||\n                                value === null ||\n                                typeof value !== \"object\",\n                        // eslint-disable-next-line @typescript-eslint/no-explicit-any\n                        } as any, //  old RTK is dumb, have to trick it into accepting a function (which it does). need to update RTK\n                    }).concat(...extraMiddleware);\n                }\n            }\n        );\n    }\n\n    public static createStore<T>(appReducers : Reducer<T>, services : object) : Store<T> {\n        const extraArguments : IExtraArguments = {\n            services,\n        };\n\n        // TODO migrate this to redux toolkit's configureStore for better behavior/modern style\n        const store = legacy_createStore(\n            enableBatching(appReducers),\n            applyMiddleware(\n                thunk.withExtraArgument(extraArguments)\n            )\n        );\n        return store;\n    }\n\n    public store : Store<P>;\n    public target : React.ReactNode;\n\n    constructor(props : IProvider<P>) {\n        super(props);\n\n        if (typeof this.props.store !== 'undefined') {\n            this.store = this.props.store;\n        } else if (typeof this.props.appReducers !== 'undefined') {\n            this.store = Provider.createStore(this.props.appReducers, this.props.services);\n        } else {\n            throw new Error('Provider requires appReducers or store');\n        }\n        this.target = this.props.children;\n    }\n\n    public getChildContext() {\n        return {\n            store: this.store,\n        };\n    }\n\n    public render() {\n        return (<ReduxProvider store={this.store}>{this.target}</ReduxProvider>)\n    }\n}\n","import React, { useState } from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { Button } from 'shared/components/Button';\nimport { Popover } from 'shared/components/Popover/Popover';\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH } from 'shared/constants';\n\nimport './QuickFilterChips.scss';\n\nexport interface IQuickFilterChip {\n    readonly label : string;\n    readonly isActive : boolean;\n    readonly onClick : () => void;\n    readonly description? : React.ReactNode;\n}\n\ninterface IQuickFilterChipsProps {\n    readonly chips : Array<IQuickFilterChip>;\n    readonly className? : string;\n}\n\nconst QuickFilterChipButton : React.FC<{ readonly chip : IQuickFilterChip }> = ({ chip }) => {\n    const [descriptionIsShown, setDescriptionIsShown] = useState(false);\n\n    const button = (\n        <Button\n            buttonClassName={ `medium quick-filter-chip ${ chip.isActive ? 'secondary' : 'flat border-dark' }` }\n            isDisabled={ false }\n            isLoading={ false }\n            onClick={ chip.onClick }\n        >\n            { chip.label }\n        </Button>\n    );\n\n    if (typeof chip.description === 'undefined') {\n        return button;\n    }\n\n    return (\n        <Popover\n            className=\"quick-filter-chip-popover\"\n            preferredPositionArray={ [] }\n            showOnHover={ true }\n            anchorClickBehavior=\"hide\"\n            popoverContentIsShown={ descriptionIsShown }\n            setPopoverContentIsShown={ setDescriptionIsShown }\n            anchorContent={ button }\n            popoverContent={ chip.description }\n        />\n    );\n};\n\nexport const QuickFilterChips : React.FC<IQuickFilterChipsProps> = ({ chips, className }) => (\n    <div className={ className ? `quick-filter-chips ${ className }` : 'quick-filter-chips' }>\n        <div className=\"quick-filter-divider\" />\n        <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n            <span className=\"quick-filter-label\">Filter:</span>\n        </MediaQuery>\n        <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n            <span className=\"quick-filter-label\"><span className=\"bevicon bevico-filter\" /></span>\n        </MediaQuery>\n        { chips.map((chip) => <QuickFilterChipButton key={ chip.label } chip={ chip } />) }\n    </div>\n);\n","import React from 'react';\n\nimport '../css/RadioButton.scss';\nimport { IInputLabel, LabelOrientation } from '../models/InputLabel';\n\nexport enum RadioButtonTheme {\n    Default = 1,\n    Muted = 2,\n}\n\nexport interface IRadioButtonProps {\n    isDisabled : boolean;\n    isChecked : boolean;\n    label : IInputLabel | null;\n    onClick : (event : React.MouseEvent<HTMLElement>) => void;\n    theme : RadioButtonTheme;\n}\n\n// modeled after CheckBox component\nexport class RadioButton extends React.Component<IRadioButtonProps, object> {\n    private handleOnClick : (event : React.MouseEvent<HTMLElement>) => void;\n\n    constructor(props : IRadioButtonProps) {\n        super(props);\n\n        this.handleOnClick = this.handleOnClickGenerator();\n    }\n    public render() {\n        const {\n            isDisabled,\n            isChecked,\n            label,\n        } = this.props;\n\n        let labelElement : JSX.Element | null = null;\n        if (label !== null) {\n            const labelOrientationClass = label.labelOrientation === LabelOrientation.LEFT ? 'left' : 'right';\n            labelElement = (\n                <p\n                    className={ `label ${ labelOrientationClass }` }\n                    onClick={ this.handleOnClick }\n                >\n                    { label.value }\n                </p>\n            );\n        }\n\n        const disabledClass = isDisabled ? 'disabled' : '';\n        const radioButtonClass = isChecked ? 'bevico-radio-button-on' : 'bevico-radio-button-off'; // TODO @design change if necessary\n        const themeClasses = this.generateThemeClasses();\n\n        return (\n            <span className={ themeClasses } tabIndex={0} role=\"radio\">\n                { labelElement }\n                <span\n                    className={ `bevicon ${ radioButtonClass } ${ disabledClass }` }\n                    onClick={ this.handleOnClick }\n                />\n            </span>\n        );\n    }\n    private handleOnClickGenerator() {\n        return (event : React.MouseEvent<HTMLElement>) => {\n            if (!this.props.isDisabled) {\n                this.props.onClick(event);\n            }\n        };\n    }\n    private generateThemeClasses() {\n        let themeClasses : string = 'radio-button';\n\n        if (this.props.theme === RadioButtonTheme.Muted) {\n            themeClasses += ' muted';\n        }\n        return themeClasses;\n    }\n}\n","import React from 'react';\n\nexport interface IRenderOnlyFirstChildProps {\n    children : React.ReactNode;\n}\n\nexport class RenderOnlyFirstChild extends React.Component<IRenderOnlyFirstChildProps, object> {\n    public render() {\n        const childrenArray = React.Children.toArray(this.props.children);\n        const firstChild : React.ReactNode = childrenArray[0];\n\n        if ((typeof firstChild === 'string') || (typeof firstChild === 'number') || (typeof firstChild === 'undefined')) {\n            return null;\n        }\n\n        return firstChild;\n    }\n}\n","import React from 'react';\n\n// Talk to Cheezy before trying to use this component\n// This isn't quite a general animation component. It specifically takes props required by the RowOptimizationWrapper.\ninterface IHeightTransitionGroupAnimationDivProps {\n    divWrapperRef : (divWrapper : HTMLDivElement) => void;\n    style : {height : string, paddingTop : string};\n    children : React.ReactNode;\n}\n\nconst ANIMATION_LENGTH_IN_SECONDS = 0.2;\n\nexport class HeightTransitionGroupAnimationDiv extends React.Component<IHeightTransitionGroupAnimationDivProps, object> {\n\n    private animationDiv : HTMLDivElement | null;\n\n    constructor(props : IHeightTransitionGroupAnimationDivProps) {\n        super(props);\n\n        this.animationDiv = null;\n    }\n\n    // TODO Handle animationDiv getting yanked from the page\n    public componentWillEnter(doneCallback : () => void) {\n        if (this.animationDiv === null) {\n            return;\n        }\n        this.animationDiv.style.display = 'none';\n        window.requestAnimationFrame(() => {\n            if (this.animationDiv === null) {\n                return;\n            }\n            this.animationDiv.style.overflow = 'hidden';\n            this.animationDiv.style.transition = `all ${ ANIMATION_LENGTH_IN_SECONDS.toFixed(1) }s ease-in`;\n            this.animationDiv.style.paddingTop = '0px';\n            this.animationDiv.style.height = '0px';\n            window.requestAnimationFrame(() => {\n                if (this.animationDiv === null) {\n                    return;\n                }\n                this.animationDiv.style.display = 'block';\n                window.requestAnimationFrame(() => {\n                    if (this.animationDiv === null) {\n                        return;\n                    }\n                    this.animationDiv.style.height = this.props.style.height;\n                    this.animationDiv.style.paddingTop = this.props.style.paddingTop;\n                    setTimeout(doneCallback, ANIMATION_LENGTH_IN_SECONDS * 1000);\n                });\n            });\n        });\n    }\n\n    // TODO Handle animationDiv getting yanked from the page\n    public componentDidEnter() {\n        window.requestAnimationFrame(() => {\n            if (this.animationDiv === null) {\n                return;\n            }\n            this.animationDiv.style.transition = 'none';\n            this.animationDiv.style.overflow = 'visible';\n        });\n    }\n\n    // TODO Handle animationDiv getting yanked from the page\n    public componentWillLeave(doneCallback : () => void) {\n        window.requestAnimationFrame(() => {\n            if (this.animationDiv === null) {\n                return;\n            }\n            this.animationDiv.style.overflow = 'hidden';\n            this.animationDiv.style.transition = `all ${ ANIMATION_LENGTH_IN_SECONDS.toFixed(1) }s ease-out`;\n            window.requestAnimationFrame(() => {\n                if (this.animationDiv === null) {\n                    return;\n                }\n                this.animationDiv.style.height = '0px';\n                this.animationDiv.style.paddingTop = `0px`;\n                setTimeout(doneCallback, ANIMATION_LENGTH_IN_SECONDS * 1000);\n            });\n        });\n    }\n\n    public render() {\n        // TODO Figure out why \"transform: translateZ(0);\" hardware acceleration isn't working on Edge\n        return (\n            <div\n                ref={ this.animationDivRef }\n                style={ this.props.style }\n            >\n                { this.props.children }\n            </div>\n        );\n    }\n\n    private animationDivRef = (animationDiv : HTMLDivElement) => {\n        this.animationDiv = animationDiv;\n        this.props.divWrapperRef(animationDiv);\n    }\n}\n","import React, { ReactNode } from 'react';\nimport Transition, { TransitionProps } from 'react-transition-group/Transition';\nimport TransitionGroup from 'react-transition-group/TransitionGroup';\n\nimport { RenderOnlyFirstChild } from 'shared/components/RenderUtils/RenderOnlyFirstChild';\nimport { HeightTransitionGroupAnimationDiv } from 'shared/components/RowOptimizationWrapper/HeightTransitionGroupAnimationDiv';\n\n// Note: Expects all rows within the wrapper to be the same height at any given time\n// Might cause weird page jumping if this cosntraint is not followed\ninterface IRowOptimizationWrapperProps {\n    numRows : number;\n    rowFactory : (i : number) => ReactNode;\n    getRowContainer : () => (HTMLDivElement | undefined); // whichever element that's scrollable - if unsure, see windowScrollEventListener event.target\n    isOpen : boolean;\n}\n\nexport class RowOptimizationWrapper extends React.Component<IRowOptimizationWrapperProps, object> {\n\n    private hasPendingRender : boolean;\n    private watchForContainerHeightChanges : boolean;\n    private computeParametersOnNextRender : boolean;\n    private forceRerender : boolean;\n    private rowHeight : null | number; // Expects all rows within the wrapper to be the same height at any given time\n    private maxVisibleScreenSize : number;\n    private maxNumToShow : number;\n    private bufferSizeInPx : number;\n    private boundingRectScrollOffset : number;\n    private mostRecentlyCalculatedStartOffset : number;\n    private renderedStartOffset : number;\n    private startIndex : number;\n    private endIndex : number;\n    private divWrapper : HTMLDivElement | undefined;\n    private currentRowContainerHeight : number;\n    private currentDocumentBodyHeight : number;\n    private heightCheckTimeoutId : number;\n\n    public constructor(props : IRowOptimizationWrapperProps) {\n        super(props);\n\n        const defaultRowIndexesToRender = this.getDefaultRowIndexesToRender(props.isOpen, props.numRows);\n        this.startIndex = defaultRowIndexesToRender.startIndex;\n        this.endIndex = defaultRowIndexesToRender.endIndex;\n\n        this.hasPendingRender = false;\n\n        this.watchForContainerHeightChanges = true;\n        this.computeParametersOnNextRender = true;\n        this.forceRerender = false;\n        this.rowHeight = null;\n        this.maxVisibleScreenSize = document.documentElement.clientHeight;\n        this.mostRecentlyCalculatedStartOffset = window.pageYOffset;\n        this.renderedStartOffset = window.pageYOffset;\n        this.maxNumToShow = 25;\n        this.bufferSizeInPx = 50;\n        this.boundingRectScrollOffset = 0;\n        this.currentRowContainerHeight = 0;\n        this.currentDocumentBodyHeight = document.body.clientHeight;\n        this.heightCheckTimeoutId = -1;\n    }\n\n    public componentDidMount() {\n        window.addEventListener('scroll', this.windowScrollEventListener, true);\n        window.addEventListener('resize', this.windowResizeEventListener);\n\n        const checkContainerHeights = () => {\n            if (this.watchForContainerHeightChanges && !this.hasPendingRender) {\n                try {\n                    const rowContainer = this.props.getRowContainer();\n                    if (rowContainer) {\n                        const newRowContainerHeight = rowContainer.scrollHeight;\n                        const newDocumentBodyHeight = document.body.clientHeight;\n\n                        if ((newRowContainerHeight !== this.currentRowContainerHeight) || (newDocumentBodyHeight !== this.currentDocumentBodyHeight)) {\n                            this.currentRowContainerHeight = newRowContainerHeight;\n                            this.currentDocumentBodyHeight = newDocumentBodyHeight;\n\n                            this.computeParametersOnNextRender = true;\n                            this.forceRerender = true;\n\n                            // Preventing component from rendering multiple times during animation of height changes\n                            window.clearTimeout(this.heightCheckTimeoutId);\n                            this.heightCheckTimeoutId = window.setTimeout(() => {\n                                window.requestAnimationFrame(() => {\n                                    if (this.watchForContainerHeightChanges) {\n                                        this.rerenderIfNeeded();\n                                    }\n                                });\n                            }, 200);\n                        }\n                    }\n                } catch (error) {\n                    // Do nothing. The parent has just not mounted yet\n                }\n            }\n\n            if (this.watchForContainerHeightChanges) {\n                window.setTimeout(() => {\n                    window.requestAnimationFrame(checkContainerHeights);\n                }, 300);\n            }\n        };\n\n        checkContainerHeights();\n    }\n\n    public componentWillUnmount() {\n        window.clearTimeout(this.heightCheckTimeoutId);\n        window.removeEventListener('scroll', this.windowScrollEventListener, true);\n        window.removeEventListener('resize', this.windowResizeEventListener);\n        this.watchForContainerHeightChanges = false;\n    }\n\n    public UNSAFE_componentWillReceiveProps(nextProps : IRowOptimizationWrapperProps) {\n        if (nextProps.isOpen && (\n                (nextProps.numRows !== this.props.numRows) ||\n                (nextProps.rowFactory !== this.props.rowFactory) ||\n                (nextProps.getRowContainer !== this.props.getRowContainer) ||\n                !this.props.isOpen\n            )\n        ) {\n            this.forceRerender = true;\n            this.computeParametersOnNextRender = true;\n        }\n\n        if (nextProps.isOpen !== this.props.isOpen) {\n            this.forceRerender = true;\n        }\n    }\n\n    public shouldComponentUpdate(nextProps : IRowOptimizationWrapperProps) {\n        if (this.computeParametersOnNextRender || (!this.rowHeight && this.props.isOpen)) {\n            if (this.divWrapper && this.divWrapper.children.length) {\n                const heightCount = new Map<number, number>();\n                let maxCount = 0;\n\n                for (let i = 0; i < this.divWrapper.children.length; i++) {\n                    const childElement = this.divWrapper.children.item(i);\n\n                    if (childElement) {\n                        const childHeight = Math.max((childElement as HTMLElement).offsetHeight, 1);\n\n                        const heightNewCount = (heightCount.get(childHeight) || 0) + 1;\n                        heightCount.set(childHeight, heightNewCount);\n\n                        if (heightNewCount > maxCount) {\n                            maxCount = heightNewCount;\n                        }\n                    }\n                }\n\n                const modeHeights : Array<number> = [];\n                heightCount.forEach((count, height) => {\n                    if (count === maxCount) {\n                        modeHeights.push(height);\n                    }\n                });\n\n                this.rowHeight = Math.max(...modeHeights);\n                this.maxVisibleScreenSize = document.documentElement.clientHeight;\n            }\n        }\n\n        const rowContainer = nextProps.getRowContainer();\n        if (rowContainer && this.rowHeight && this.divWrapper) {\n            const windowPageYOffset = window.pageYOffset;\n\n            if (this.computeParametersOnNextRender) {\n                this.boundingRectScrollOffset = rowContainer.getBoundingClientRect().top + windowPageYOffset;\n                this.bufferSizeInPx = this.rowHeight * 2;\n                this.maxNumToShow = Math.ceil((this.maxVisibleScreenSize + (2 * this.bufferSizeInPx)) / this.rowHeight) + 1;\n\n                const divWrapperTopOffset = this.divWrapper.getBoundingClientRect().top + rowContainer.scrollTop - rowContainer.getBoundingClientRect().top;\n                this.bufferSizeInPx = this.bufferSizeInPx + divWrapperTopOffset;\n\n                this.computeParametersOnNextRender = false;\n            }\n\n            const boundingClientRectTop = this.boundingRectScrollOffset - windowPageYOffset;\n            this.mostRecentlyCalculatedStartOffset = rowContainer.scrollTop - this.bufferSizeInPx - boundingClientRectTop;\n\n            if (!this.forceRerender) {\n                const offsetDifference = this.mostRecentlyCalculatedStartOffset - this.renderedStartOffset;\n                const rowIndexesToRender = this.getRowIndexesToRender(this.mostRecentlyCalculatedStartOffset, nextProps.numRows, nextProps.isOpen);\n                if ((Math.abs(offsetDifference) <= this.rowHeight) || ((rowIndexesToRender.startIndex === this.startIndex) && (rowIndexesToRender.endIndex === this.endIndex))) {\n                    this.hasPendingRender = false;\n                    return false;\n                }\n            }\n        }\n\n        return true;\n    }\n\n    public render() {\n        const {\n            numRows,\n            rowFactory,\n            isOpen,\n        } = this.props;\n\n        this.renderedStartOffset = this.mostRecentlyCalculatedStartOffset;\n        const rowIndexesToRender = this.getRowIndexesToRender(this.mostRecentlyCalculatedStartOffset, numRows, isOpen);\n        this.startIndex = rowIndexesToRender.startIndex;\n        this.endIndex = rowIndexesToRender.endIndex;\n\n        const renderedRows : Array<ReactNode> = [];\n        for (let i = this.startIndex; i < this.endIndex; i++) {\n            renderedRows.push(rowFactory(i));\n        }\n\n        this.forceRerender = false;\n\n        if (!this.rowHeight) {\n            if (isOpen) {\n                this.forceRerender = true;\n            }\n\n            return (\n                <div\n                    ref={ this.divWrapperRef }\n                    style={ isOpen ? undefined : { overflow : 'hidden' } }\n                >\n                    { renderedRows }\n                </div>\n            );\n        }\n\n        // TODO Cheezy : Removed scroll speed estimate logic\n        // TODO Cheezy : Figure out why \"transform: translateZ(0);\" hardware acceleration isn't working on Edge\n        return (\n            <TransitionGroup component={ RenderOnlyFirstChild }>\n                { isOpen ?\n                    ( <TransitionWrapper timeout={0}>\n                        <HeightTransitionGroupAnimationDiv\n                            divWrapperRef={ this.divWrapperRef }\n                            style={ { height : `${this.rowHeight * numRows}px`, paddingTop : `${this.rowHeight * this.startIndex}px` } }\n                        >\n                            { renderedRows }\n                        </HeightTransitionGroupAnimationDiv>\n                    </TransitionWrapper> )\n                    : undefined\n                }\n            </TransitionGroup>\n        );\n    }\n\n    public componentDidUpdate() {\n        if (this.forceRerender) {\n            this.rerenderIfNeeded();\n        } else {\n            this.hasPendingRender = false;\n        }\n    }\n\n    private rerenderIfNeeded = () => {\n        if (!this.divWrapper) {\n            return;\n        }\n\n        if (!this.hasPendingRender || this.forceRerender) {\n            window.requestAnimationFrame(() => {\n                if (!this.divWrapper) {\n                    return;\n                }\n\n                this.setState({});\n            });\n            this.hasPendingRender = true;\n        }\n    }\n\n    private windowScrollEventListener = (event : Event) => {\n        if ((event.target === document) || (event.target === document.body) || (event.target === this.props.getRowContainer())) {\n            this.rerenderIfNeeded();\n        }\n    }\n\n    private windowResizeEventListener = () => {\n        this.forceRerender = true;\n        this.computeParametersOnNextRender = true;\n        this.rerenderIfNeeded();\n    }\n\n    private divWrapperRef = (divWrapper : HTMLDivElement) => {\n        this.divWrapper = divWrapper;\n    }\n\n    private getRowIndexesToRender = (startOffset : number, numRows : number, isOpen : boolean) : { startIndex : number, endIndex : number } => {\n        if (!isOpen) {\n            return {\n                startIndex: 0,\n                endIndex: 0,\n            };\n        }\n\n        if (this.rowHeight) {\n            const baseIndex = Math.min(Math.floor((startOffset * 1.0) / this.rowHeight), numRows);\n\n            return {\n                startIndex: Math.max(baseIndex, 0),\n                endIndex: Math.min(Math.max(baseIndex + this.maxNumToShow, 0), numRows),\n            };\n        }\n\n        return this.getDefaultRowIndexesToRender(isOpen, numRows);\n    }\n\n    private getDefaultRowIndexesToRender = (isOpen : boolean, numRows : number) : { startIndex : number, endIndex : number } => {\n        return {\n            startIndex: 0,\n            endIndex: isOpen ? Math.min(25, numRows) : 0,\n        };\n    }\n}\n\n// required wrapper for children if using <TransitionGroup />\nconst TransitionWrapper = ({ children: child, ...props }: TransitionProps) => (\n    // NOTICE THE SPREAD! THIS IS REQUIRED!\n    <Transition {...props}>\n      { child }\n    </Transition>\n);","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\nimport { PosItemId } from 'api/SalesData/model/PosItemId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { MappedStatus } from 'apps/SalesItemMapper/appTypes';\nimport { Button } from 'shared/components/Button';\nimport { CheckBox } from 'shared/components/CheckBox';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH, NOTIFICATION_TIMEOUT_IN_MILLISECONDS } from 'shared/constants';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\nimport { getCurrencySymbol } from 'shared/models/Currency';\nimport { FormatMonetaryValueWithCents } from 'shared/utils/FormatMonetaryValue';\nimport { Validation } from 'shared/validators/validators';\nimport { InlineEditComponentSaveState, InlineEditWrapper } from '../InlineEditWrapper/InlineEditWrapper';\nimport { IValidationInputData, ValidationInput, ValidationInputTheme } from '../ValidationInput';\n\nexport type SalesEntryKey = 'price' | 'quantity' | 'quantityAdjustment' | 'salesAdjustment';\nexport type SalesInputRowId = SalesItemId | PosItemId;\ninterface ISalesInputRowProps {\n    className : string;\n    rowId : SalesInputRowId;\n    name : string;\n    posId : string;\n    salesPrice : number; // note: separate from entry because sometimes these are different, and this is always required here\n    mappedStatus : MappedStatus;\n    isFlagged : boolean;\n\n    hasBulkSelect : boolean;\n    salesEntry : SalesEntry | undefined; // for consideration: what to do if no entry yet?\n    isSelected : boolean;\n\n    onSetRowCheckboxSelected : (rowId : SalesInputRowId, isSelected : boolean) => void;\n    onEditItemClick : (rowId : SalesInputRowId) => void;\n    onUpdateSalesEntryForRowId : ((rowId : SalesInputRowId, key : SalesEntryKey, value : number | null) => Promise<void>) | null; // only for non-readonly\n}\n\ninterface ISalesInputRowState {\n    validationInputByEntryKey : {[key in SalesEntryKey]: IValidationInputData | null };\n    saveStateByEntryKey : {[key in SalesEntryKey] : InlineEditComponentSaveState | null };\n}\n\nexport class SalesInputRow extends React.Component<ISalesInputRowProps, ISalesInputRowState> {\n    private readonly currencySymbol = getCurrencySymbol();\n    constructor(props : ISalesInputRowProps) {\n        super(props);\n\n        // TODO performance? can we be better about only initializing when we need it?\n        this.state = {\n            validationInputByEntryKey: {\n                quantity: null,\n                quantityAdjustment: null,\n                salesAdjustment: null,\n                price: null\n            },\n            saveStateByEntryKey: {\n                quantity: null,\n                quantityAdjustment: null,\n                salesAdjustment: null,\n                price: null\n            },\n        };\n    }\n\n    public render() {\n        const {\n            mappedStatus,\n            name,\n            posId,\n            salesPrice,\n            isSelected,\n            isFlagged,\n            className,\n            hasBulkSelect,\n            onUpdateSalesEntryForRowId,\n            salesEntry,\n        } = this.props;\n\n        let iconClassName : string = '';\n        let editButtonText : string = '';\n        let statusClassName : string = 'mapping-status';\n        switch (mappedStatus) {\n            case MappedStatus.DELETED:\n                iconClassName = 'bevico-delete';\n                editButtonText = 'Edit';\n                statusClassName += ' danger-action-text';\n                break;\n            case MappedStatus.UNMAPPED:\n                iconClassName = 'bevico-unmapped';\n                editButtonText = 'Unmapped';\n                statusClassName += ' danger-action-text';\n                break;\n            case MappedStatus.MAPPED:\n                iconClassName = 'bevico-check_circle';\n                editButtonText = 'Mapped';\n                statusClassName += ' success-action-text';\n                break;\n        }\n\n        const checkbox = (\n            <CheckBox\n                checkBoxTriState={ isSelected ? CheckBoxTriState.Checked : CheckBoxTriState.Unchecked }\n                isDisabled={ false }\n                label={ null }\n                onClick={ this.onCheckboxClick }\n            />\n        );\n\n        let totalSold : number | null = null;\n        if (salesEntry && (salesEntry.getQuantity() !== null || salesEntry.getQuantityAdjustment() !== null)) {\n            totalSold = (salesEntry.getQuantity() || 0) + (salesEntry.getQuantityAdjustment() || 0);\n        }\n\n        const salesDataIsReadonly = (onUpdateSalesEntryForRowId === null);\n\n        return (\n            <Flex direction=\"row\" className={ `sales-input-row light-table-row ${ className }` }>\n                <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                    <Flex direction=\"row\" align=\"stretch\">\n                        <Flex direction=\"row\" grow={ 1 } align=\"center\">\n                            <Flex direction=\"column\" grow={ 1 } align=\"end\">\n                                { isFlagged && <span className=\"bevicon bevico-flag error-text\"/> }\n                            </Flex>\n                            <Flex direction=\"column\" grow={ 1 } align=\"center\">\n                                { hasBulkSelect && checkbox }\n                            </Flex>\n                        </Flex>\n                        <Flex direction=\"column\" className=\"flex-py-1 flex-px-2\" grow={ 6 } justify=\"center\">\n                            <Flex direction=\"row\" className=\"flex-pb-1 sales-input-item-name ellipsis-out\">\n                                { name }\n                            </Flex>\n                            <Flex direction=\"row\" className=\"row-subsection sales-input-item-name ellipsis-out\">\n                                <span className=\"sub-label\">POS ID:</span> { posId }\n                            </Flex>\n                        </Flex>\n                        <Flex direction=\"column\" grow={ 2 } justify=\"center\" align=\"center\" className=\"flex-px-2\">\n                            { salesDataIsReadonly && this.getSalesEntryNumberDisplayForKey('price', true) }\n                            { !salesDataIsReadonly && this.makeInlineEditWrapper('price', false) }\n                        </Flex>\n                        <Flex direction=\"column\" grow={ 2 } justify=\"center\" align=\"center\" className=\"flex-px-2 section-start\">\n                            { salesDataIsReadonly && this.getSalesEntryNumberDisplayForKey('quantity') }\n                            { !salesDataIsReadonly && this.makeInlineEditWrapper('quantity', false) }\n                        </Flex>\n                        <Flex direction=\"column\" grow={ 2 } justify=\"center\" align=\"center\" className=\"flex-px-2\">\n                            { salesDataIsReadonly && this.getSalesEntryNumberDisplayForKey('quantityAdjustment') }\n                            { !salesDataIsReadonly && this.makeInlineEditWrapper('quantityAdjustment', false) }\n                        </Flex>\n                        <Flex direction=\"column\" grow={ 2 } justify=\"center\" align=\"center\" className=\"flex-px-2 section-end\">\n                            { this.getNumberDisplay(totalSold) }\n                        </Flex>\n                        <Flex direction=\"column\" grow={ 2 } justify=\"center\" align=\"center\" className=\"flex-px-2\">\n                            { salesDataIsReadonly && this.getSalesEntryNumberDisplayForKey('salesAdjustment') }\n                            { !salesDataIsReadonly && this.makeInlineEditWrapper('salesAdjustment', false) }\n                        </Flex>\n                        <Flex direction=\"column\" grow={ 4 } justify=\"center\" align=\"center\" className=\"flex-px-2\">\n                            <Button\n                                buttonClassName={ `flat normal ${ statusClassName }` }\n                                isDisabled={ false }\n                                isLoading={ false }\n                                onClick={ this.handleOnEditClick }\n                            >\n                                <span className={ `bevicon ${ iconClassName }` }/>&nbsp;{ `${ editButtonText } ` }<span className=\"forward-arrow\">&nbsp;&rsaquo;</span>\n                            </Button>\n                        </Flex>\n                    </Flex>\n                </MediaQuery>\n                <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                    <Flex direction=\"column\" className={ `flex-py-2` } justify=\"center\">\n                        <Flex direction=\"row\">\n                            <Flex direction=\"column\" className=\"row-start-container\" grow={ 1 } align=\"center\" justify=\"center\">\n                                { isFlagged && <span className=\"bevicon bevico-flag error-text\"/> }\n                                { hasBulkSelect && checkbox }\n                            </Flex>\n                            <Flex direction=\"column\" className=\"flex-pr-2\" grow={ 5 } justify=\"center\">\n                                <Flex direction=\"row\" className=\"ellipsis-out\" align=\"center\">\n                                    { name }\n                                </Flex>\n                            </Flex>\n                            <Flex direction=\"column\" grow={ 2 } justify=\"center\" align=\"end\">\n                                <Button\n                                    buttonClassName={ `flat normal row-subsection ${ statusClassName }` }\n                                    isDisabled={ false }\n                                    isLoading={ false }\n                                    onClick={ this.handleOnEditClick }\n                                >\n                                    <span className={ `bevicon ${ iconClassName }` }/><span className=\"forward-arrow\">&nbsp;&rsaquo;</span>\n                                </Button>\n                            </Flex>\n                        </Flex>\n                        <Flex direction=\"row\" className=\"row-subsection indented-row\" justify=\"center\">\n                            <Flex direction=\"column\">\n                                <Flex direction=\"row\" className=\"ellipsis-out\"><span className=\"sub-label\">{ `POS ID: ` }</span>{ posId }</Flex>\n                            </Flex>\n                            <Flex direction=\"row\" className=\"row-subsection flex-pb-1 flex-pl-1\"><span className=\"sub-label\">{ `Sales Price: ` }</span>{ FormatMonetaryValueWithCents(salesPrice) }</Flex>\n                        </Flex>\n                        <Flex direction=\"row\" className=\"indented-row mobile-value-headers flex-pr-5\">\n                            <Flex direction=\"column\" align=\"start\">Total Sold</Flex>\n                            <Flex direction=\"column\" align=\"center\">Base Sold</Flex>\n                            <Flex direction=\"column\" align=\"center\">Unit Adj.</Flex>\n                            <Flex direction=\"column\" align=\"center\">{ this.currencySymbol } Adj.</Flex>\n                        </Flex>\n                        <Flex direction=\"row\" className={ `indented-row flex-pr-5${ salesDataIsReadonly ? '' : ' flex-pt-1'}` } align=\"center\">\n                            <Flex direction=\"column\" className={ `flex-px-1${ salesDataIsReadonly ? '' : ' total-sold-value-display'}` } align=\"start\">\n                                { this.getNumberDisplay(totalSold) }\n                            </Flex>\n                            <Flex direction=\"column\" className=\"flex-px-1\" align=\"center\">\n                                { salesDataIsReadonly && this.getSalesEntryNumberDisplayForKey('quantity') }\n                                { !salesDataIsReadonly && this.makeInlineEditWrapper('quantity', true) }\n                            </Flex>\n                            <Flex direction=\"column\" className=\"flex-px-1\" align=\"center\">\n                                { salesDataIsReadonly && this.getSalesEntryNumberDisplayForKey('quantityAdjustment') }\n                                { !salesDataIsReadonly && this.makeInlineEditWrapper('quantityAdjustment', true) }\n                            </Flex>\n                            <Flex direction=\"column\" className=\"flex-px-1\" align=\"center\">\n                                { salesDataIsReadonly && this.getSalesEntryNumberDisplayForKey('salesAdjustment') }\n                                { !salesDataIsReadonly && this.makeInlineEditWrapper('salesAdjustment', true) }\n                            </Flex>\n                        </Flex>\n                    </Flex>\n                </MediaQuery>\n            </Flex>\n        );\n    }\n\n    private readonly onCheckboxClick = () => {\n        this.props.onSetRowCheckboxSelected(this.props.rowId, !this.props.isSelected);\n    }\n\n    private readonly handleOnEditClick = () => {\n        this.props.onEditItemClick(this.props.rowId);\n    }\n\n    private readonly getNumberDisplay = (numberValue : number | null) : string => {\n        if (numberValue === null) {\n            return '';\n        }\n\n        return Number.isInteger(numberValue) ? numberValue.toString() : numberValue.toFixed(2);\n    }\n\n    /*\n    *  INLINE EDITING\n    */\n    private readonly makeInlineEditWrapper = (entryKey : SalesEntryKey, isMobile : boolean) => {\n        const {\n            saveStateByEntryKey,\n            validationInputByEntryKey\n        } = this.state;\n\n        const handleOpenEditor = () => this.onOpenEditor(entryKey);\n        const handleCloseEdtior = () => this.onCloseEditor(entryKey);\n        const handleChange = (event : React.ChangeEvent<HTMLInputElement>) => this.onEditorFieldChange(entryKey, event.target.value);\n\n        let validationForEntryKey = validationInputByEntryKey[entryKey];\n        if (validationForEntryKey === null && isMobile) {\n            // on mobile for now always display the validation input.\n            // we could change this in the future to behave more like desktop (input opens when you click on it)\n            validationForEntryKey = {\n                isValid: true,\n                errorMessage: '',\n                value: this.getSalesEntryNumberDisplayForKey(entryKey)\n            };\n        }\n\n        return (\n            <InlineEditWrapper\n                className=\"flex-child\"\n                inlineEditComponentName={ entryKey }\n                inlineEditSaveState={ saveStateByEntryKey[entryKey] }\n                inlineEditingComponentIsShown={ validationInputByEntryKey[entryKey] !== null } // note: not the variable but use what's actually on the state\n                handleOnEditClick={ handleOpenEditor }\n            >\n                { validationForEntryKey !== null &&\n                    <ValidationInput\n                        key={ entryKey }\n                        inputClassName=\"\"\n                        type=\"text\"\n                        autoFocus={ !isMobile } // on mobile since we always show validation input, don't auto focus\n                        autoComplete={ null }\n                        value={ validationForEntryKey.value }\n                        errorMessage={ validationForEntryKey.errorMessage }\n                        isValid={ validationForEntryKey.isValid }\n                        handleBlur={ handleCloseEdtior }\n                        handleFocus={ null }\n                        handleChange={ handleChange }\n                        handleEnterClick={ handleCloseEdtior }\n                        label={ null }\n                        hintText={ null }\n                        isDisabled={ false }\n                        isCurrencyInput={ entryKey === 'price' }\n                        theme={ isMobile ? ValidationInputTheme.Basic : ValidationInputTheme.Default }\n                    />\n                }\n                { validationForEntryKey === null &&\n                    <Flex direction=\"column\" justify=\"center\" align=\"center\" className=\"static-view\">\n                        { this.getSalesEntryNumberDisplayForKey(entryKey, true) }\n                    </Flex>\n                }\n            </InlineEditWrapper>\n        );\n    }\n\n    private readonly onOpenEditor = (entryKey : SalesEntryKey) => {\n        this.setState({\n            validationInputByEntryKey: {\n                ...this.state.validationInputByEntryKey,\n                [entryKey]: {\n                    value: this.getSalesEntryNumberDisplayForKey(entryKey),\n                    isValid: true,\n                    errorMessage: '',\n                }\n            }\n        });\n    }\n\n    private readonly onCloseEditor = (entryKey : SalesEntryKey) => {\n        const {\n            validationInputByEntryKey\n        } = this.state;\n\n        const {\n            rowId,\n            onUpdateSalesEntryForRowId\n        } = this.props;\n\n        if (onUpdateSalesEntryForRowId === null) {\n            throw new RuntimeException('Editor should not be available if no update is defined');\n        }\n\n        const currentValidationInput = validationInputByEntryKey[entryKey];\n        if (currentValidationInput === null) {\n            return; // nothing to do if no validation input info\n        }\n\n        if (!currentValidationInput.isValid) {\n            // close editor without saving - this will revert to the old value in the SalesEntry object\n            this.setState({\n                validationInputByEntryKey: {\n                    ...this.state.validationInputByEntryKey,\n                    [entryKey]: null,\n                },\n            });\n        } else {\n            const numberOrNullValue = currentValidationInput.value === '' ? null : parseFloat(currentValidationInput.value);\n            if (numberOrNullValue === this.getSalesEntryValueForKey(entryKey)) {\n                // no changes = just close the editor\n                this.setState({\n                    validationInputByEntryKey: {\n                        ...this.state.validationInputByEntryKey,\n                        [entryKey]: null, // close editor\n                    },\n                });\n            } else {\n                this.setState({\n                    validationInputByEntryKey: {\n                        ...this.state.validationInputByEntryKey,\n                        [entryKey]: null, // close editor\n                    },\n                    saveStateByEntryKey: {\n                        ...this.state.saveStateByEntryKey,\n                        [entryKey]: InlineEditComponentSaveState.SAVE_IN_PROGRESS\n                    }\n                });\n\n                void onUpdateSalesEntryForRowId(rowId, entryKey, numberOrNullValue)\n                .then(() => {\n                    this.onSaveSuccessful(entryKey);\n                }); // promise resolution = success\n            }\n        }\n    }\n\n    // NOTE: if validation changes (e.g. allowing floats for quantity) MUST change api endpoint/form validation\n    private readonly validateField = (entryKey : SalesEntryKey, value : string) => {\n        let isValid : boolean;\n        let errorMessage : string = '';\n        if (entryKey === 'price') {\n            isValid = Validation.validateNonNegativeNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid price';\n            }\n        } else if (entryKey === 'salesAdjustment') { // sales adjustment = any number\n            isValid = value === '' ? true : Validation.validateNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid number';\n            }\n        } else if (entryKey === 'quantity') { // quantity = non-negative integer\n            isValid = value === '' ? true : Validation.validateNonNegativeNumber(value) && Number.isInteger(parseFloat(value));\n            if (!isValid) {\n                errorMessage = 'Must be integer >= 0';\n            }\n        } else { // quantity adjustment = any integer\n            isValid = value === '' ? true : Validation.validateNumber(value) && Number.isInteger(parseFloat(value));\n            if (!isValid) {\n                errorMessage = 'Must be an integer';\n            }\n        }\n\n        return {\n            value,\n            isValid,\n            errorMessage\n        };\n    }\n\n    private readonly onEditorFieldChange = (entryKey : SalesEntryKey, value : string) => {\n        this.setState({\n            validationInputByEntryKey: {\n                ...this.state.validationInputByEntryKey,\n                [entryKey]: this.validateField(entryKey, value),\n            }\n        });\n    }\n\n    private readonly getSalesEntryValueForKey = (entryKey : SalesEntryKey) => {\n        const salesEntry = this.props.salesEntry;\n        if (!salesEntry) {\n            return null;\n        }\n\n        switch (entryKey) {\n            case 'quantity':\n                return salesEntry.getQuantity();\n            case 'quantityAdjustment':\n                return salesEntry.getQuantityAdjustment();\n            case 'salesAdjustment':\n                return salesEntry.getSalesAdjustment();\n            case 'price':\n                return this.props.salesPrice;\n            default:\n                throw new RuntimeException('unexpected key value');\n        }\n    }\n\n    private readonly getSalesEntryNumberDisplayForKey = (entryKey : SalesEntryKey, monetaryFormatForPrice? : boolean) => {\n        const numberOrNullValue = this.getSalesEntryValueForKey(entryKey);\n\n        switch (entryKey) {\n            case 'quantity':\n            case 'quantityAdjustment':\n            case 'salesAdjustment':\n                return this.getNumberDisplay(numberOrNullValue);\n            case 'price':\n                if (monetaryFormatForPrice) {\n                    return FormatMonetaryValueWithCents(numberOrNullValue);\n                }\n                return this.getNumberDisplay(numberOrNullValue);\n            default:\n                throw new RuntimeException('unexpected key value');\n        }\n    }\n\n    private readonly onSaveSuccessful = (entryKey : SalesEntryKey) => {\n        this.setState({\n            saveStateByEntryKey: {\n                ...this.state.saveStateByEntryKey,\n                [entryKey]: InlineEditComponentSaveState.FINISHED_SAVING\n            }\n        });\n        setTimeout(() => {\n            this.setState({\n                saveStateByEntryKey: {\n                    ...this.state.saveStateByEntryKey,\n                    [entryKey]: null\n                }\n            });\n        }, NOTIFICATION_TIMEOUT_IN_MILLISECONDS);\n    }\n}\n","import React from 'react';\n\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\n\nimport { CheckBox } from 'shared/components/CheckBox';\nimport { Flex } from 'shared/components/FlexLayout/Flex';\nimport { IColumnSorting, SortableColumnHeader } from 'shared/components/SortableColumnHeader';\nimport { getCurrencySymbol } from 'shared/models/Currency';\n\nexport interface ISalesInputTableHeaderProps {\n    hasCheckbox : boolean;\n    selectAllState : CheckBoxTriState;\n    onToggleSelect : (isSelected : boolean) => void;\n    onSortChange : (sortBy : string) => void;\n    sorting : IColumnSorting;\n}\n\nexport class SalesInputTableHeader extends React.Component<ISalesInputTableHeaderProps, object> {\n    private readonly currencySymbol = getCurrencySymbol();\n\n    public render() {\n        const {\n            sorting,\n            onSortChange,\n            selectAllState,\n            hasCheckbox\n        } = this.props;\n\n        return (\n            <Flex direction=\"row\" className=\"sales-input-table-header light-table-header\">\n                <Flex direction=\"column\" className=\"checkbox-container\" grow={ 1 } justify=\"center\" align=\"center\">\n                    { hasCheckbox &&\n                        <CheckBox\n                            checkBoxTriState={ selectAllState }\n                            isDisabled={ false }\n                            onClick={ this.handleOnChange }\n                            label={ null }\n                        />\n                    }\n                </Flex>\n                <Flex direction=\"column\" className=\"flex-px-2\" grow={ 6 } justify=\"center\">\n                    <SortableColumnHeader\n                        classes=\"cell-ptb-sm ellipsis-out flex-child\"\n                        columnId=\"name\"\n                        sorting={ sorting }\n                        onSortChange={ onSortChange }\n                    >\n                        POS Item Name\n                    </SortableColumnHeader>\n                </Flex>\n                <Flex direction=\"column\" className=\"flex-px-2\" grow={ 2 } justify=\"center\" align=\"center\">\n                    <SortableColumnHeader\n                        classes=\"cell-ptb-sm ellipsis-out flex-child text-center\"\n                        columnId=\"sales_price\"\n                        sorting={ sorting }\n                        onSortChange={ onSortChange }\n                    >\n                        Sales Price\n                    </SortableColumnHeader>\n                </Flex>\n                <Flex direction=\"column\" className=\"flex-px-2 section-start base-sold-header\" grow={ 2 } justify=\"center\" align=\"center\">\n                    <SortableColumnHeader\n                        classes=\"cell-ptb-sm ellipsis-out flex-child text-center\"\n                        columnId=\"quantity_sold\"\n                        sorting={ sorting }\n                        onSortChange={ onSortChange }\n                    >\n                        Base Sold\n                    </SortableColumnHeader>\n                </Flex>\n                <Flex direction=\"row\" className=\"flex-px-2 unit-adj-header\" grow={ 2 } justify=\"center\" align=\"center\">\n                    <SortableColumnHeader\n                        classes=\"cell-ptb-sm ellipsis-out flex-child text-center\"\n                        columnId=\"quantity_adjustment\"\n                        sorting={ sorting }\n                        onSortChange={ onSortChange }\n                    >\n                        Unit Adj.\n                    </SortableColumnHeader>\n                </Flex>\n                <Flex direction=\"row\" className=\"flex-px-2 section-end total-sold-header\" grow={ 2 } justify=\"center\" align=\"center\">\n                    <SortableColumnHeader\n                        classes=\"cell-ptb-sm ellipsis-out flex-child text-center\"\n                        columnId=\"total_sold\"\n                        sorting={ sorting }\n                        onSortChange={ onSortChange }\n                    >\n                        Total Sold\n                    </SortableColumnHeader>\n                </Flex>\n                <Flex direction=\"column\" className=\"flex-px-2\" grow={ 2 } justify=\"center\" align=\"center\">\n                    <SortableColumnHeader\n                        classes=\"cell-ptb-sm ellipsis-out flex-child text-center\"\n                        columnId=\"dollar_adjustment\"\n                        sorting={ sorting }\n                        onSortChange={ onSortChange }\n                    >\n                        { this.currencySymbol } Adj.\n                    </SortableColumnHeader>\n                </Flex>\n                <Flex direction=\"column\" className=\"flex-px-2 static-table-header\" grow={ 4 } justify=\"center\" align=\"center\">\n                    <div className=\"flex-child text-center\">\n                        Map Item\n                    </div>\n                </Flex>\n            </Flex>\n        );\n    }\n\n    private readonly handleOnChange = () => {\n        this.props.onToggleSelect(this.props.selectAllState === CheckBoxTriState.Unchecked);\n    }\n}\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\nimport { PosItem } from 'api/SalesData/model/PosItem';\nimport { PosItemId } from 'api/SalesData/model/PosItemId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesItemMapperGroupByOptionValue } from 'apps/SalesItemMapper/appTypes';\nimport { SalesItemMapperUtils } from 'apps/SalesItemMapper/utils/SalesItemMapperUtils';\nimport { MAX_MOBILE_WIDTH, MIN_TABLET_WIDTH } from 'shared/constants';\nimport { CheckBoxTriState } from 'shared/models/CheckBoxTriState';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\nimport { SortDirection } from 'shared/models/SortDirection';\nimport { getClickWillCollapseAll, getIsOpenByGroupName, ISortedFilteredAndGroupedResult } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { CollapseAllButton } from '../CollapseAllButton';\nimport { IOption } from '../Dropdown/DropdownMenu';\nimport { Flex } from '../FlexLayout/Flex';\nimport { RowGroupHeader } from '../LightTable/RowGroupHeader';\nimport { TableControls } from '../LightTable/TableControls';\nimport { RowOptimizationWrapper } from '../RowOptimizationWrapper/RowOptimizationWrapper';\nimport { SearchBar, SearchBarTheme } from '../SearchBar/SearchBar';\nimport { Select2DropdownMenuTheme } from '../Select2Dropdown/GenericSelect2DropdownMenu';\nimport { Select2DropdownMenu } from '../Select2Dropdown/Select2DropdownMenu';\nimport { StickyHeaderWrapper } from '../StickyHeaderWrapper/StickyHeaderWrapper';\nimport { SalesEntryKey, SalesInputRow, SalesInputRowId } from './SalesInputRow';\nimport { SalesInputTableHeader } from './SalesInputTableHeader';\n\nimport { Button } from '../Button';\nimport { OutsideEventListenerContainer } from '../OutsideEventListenerContainer';\nimport './SalesInputTable.scss';\n\ninterface ISalesInputTable {\n    readonly hasBulkSelect : boolean;\n    readonly sortedFilteredGroupedResult : ISortedFilteredAndGroupedResult<SalesInputRowId>;\n    readonly panelIsOpenByGroupNameFromUserInput : {[groupName : string] : boolean};\n    readonly defaultPanelIsOpen : boolean;\n\n    readonly salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>;\n    readonly salesBySalesItemId : StringValueMap<SalesItemId, SalesEntry>;\n    readonly unmappedSalesByPosItemId : StringValueMap<PosItemId, SalesEntry>;\n    readonly posItemsByPosItemId : StringValueMap<PosItemId, PosItem>;\n    readonly activeProductIds? : StringValueSet<ProductId>;\n    readonly deletedProductIds? : StringValueSet<ProductId>;\n\n    readonly selectedRowIds : StringValueSet<SalesInputRowId>;\n    readonly sortDirection : SortDirection;\n    readonly sortByColumnId : string; // should probably move/rename\n    readonly groupByOption : SalesItemMapperGroupByOptionValue;\n    readonly searchBar : ISearchBarState;\n\n    readonly mobileActionButtons? : JSX.Element; // undefined = use default\n\n    readonly onOpenMappingTool : (rowId : SalesInputRowId) => void;\n    readonly onSortChange : (sortBy : string) => void;\n    readonly setSearchTerm : (searchTerm : string | null) => void;\n    readonly setGroupByOption : (groupByOption : SalesItemMapperGroupByOptionValue) => void;\n    readonly onCollapseAllClick : (nextClickWillCollapseAll : boolean) => void;\n    readonly setIsSelectedForRowIds : (rowIds : StringValueSet<SalesInputRowId>, isSelected : boolean) => void;\n    readonly setPanelIsOpenFromUserInputForGroupNames : (groupNames : Set<string>, isOpen : boolean) => void;\n    readonly onUpdateSalesEntryForRowId : ((rowId : SalesInputRowId, key : SalesEntryKey, value : number | null) => Promise<void>) | null; // null for readonly\n}\n\ninterface IState {\n    dropdownIsOpen : boolean;\n}\n\nexport class SalesInputTable extends React.Component<ISalesInputTable, IState> {\n    private salesItemMapperGroupByOptions : Array<IOption>;\n\n    constructor(props : ISalesInputTable) {\n        super(props);\n        this.state = {\n            dropdownIsOpen: false,\n        };\n\n        this.salesItemMapperGroupByOptions = [\n            SalesItemMapperUtils.getSalesItemMapperGroupByOption('All Items'),\n            SalesItemMapperUtils.getSalesItemMapperGroupByOption('Mapping Status'),\n            SalesItemMapperUtils.getSalesItemMapperGroupByOption('Menu Group'),\n        ];\n    }\n\n    public render() {\n        const {\n            sortedFilteredGroupedResult,\n            panelIsOpenByGroupNameFromUserInput,\n            defaultPanelIsOpen,\n            selectedRowIds,\n            sortByColumnId,\n            sortDirection,\n            onSortChange,\n            searchBar,\n            setIsSelectedForRowIds,\n            hasBulkSelect,\n            mobileActionButtons\n        } = this.props;\n\n        let concatenatedRowIds : Array<SalesInputRowId> = [];\n        sortedFilteredGroupedResult.sortedGroupNamesToDisplay.forEach((groupName : string) => {\n            concatenatedRowIds = concatenatedRowIds.concat(sortedFilteredGroupedResult.sortedRowIdsToDisplayByGroupName[groupName]);\n        });\n\n        const isOpenByGroupName = getIsOpenByGroupName(\n            sortedFilteredGroupedResult.sortedGroupNamesToDisplay,\n            sortedFilteredGroupedResult.panelIsOpenByGroupNameFromFiltering,\n            panelIsOpenByGroupNameFromUserInput,\n            defaultPanelIsOpen);\n\n        const nextClickWillCollapseAll = getClickWillCollapseAll(isOpenByGroupName);\n\n        let selectAllState : CheckBoxTriState;\n        const selectedCount = selectedRowIds.size;\n        if (selectedCount === 0) {\n            selectAllState = CheckBoxTriState.Unchecked;\n        } else if (selectedCount === concatenatedRowIds.length) {\n            selectAllState = CheckBoxTriState.Checked;\n        } else {\n            selectAllState = CheckBoxTriState.Indeterminate;\n        }\n\n        const onSelectAllClick = (isSelected : boolean) => {\n            setIsSelectedForRowIds(new StringValueSet(concatenatedRowIds), isSelected);\n        };\n\n        const searchBarComponent = (\n            <SearchBar\n                theme={ SearchBarTheme.Basic }\n                isDisabled={ searchBar.isDisabled }\n                placeholderText=\"Search by name, pos ID, etc.\"\n                value={ searchBar.searchTerm }\n                isFocused={ searchBar.isFocused }\n                handleBlur={ this.doNothing }\n                handleFocus={ null }\n                handleEnterClick={ this.doNothing }\n                handleOnChange={ this.onSearchTermChange }\n                clearSearchBar={ this.onClearSearchTerm }\n            />\n        );\n\n        const onCollapseAllButtonClick = () => {\n            this.props.onCollapseAllClick(nextClickWillCollapseAll);\n        };\n        return (\n            <div className=\"sales-input-table-container\">\n                <StickyHeaderWrapper headerContainerClassName=\"table-control-headers-sticky\">\n                    <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                        <div className={ `table-controls-header` }>\n                            <TableControls>\n                                <Flex direction=\"row\" grow={ 1 } shrink={ 0 } basis=\"auto\" inline={ true } className=\"flex-px-3\" align=\"center\" justify=\"space-between\">\n                                    <label className=\"group-by-label\">Group by:</label>\n                                    { this.getGroupByDropdownMenu(false) }\n                                    <div className=\"flex-child\">\n                                        { searchBarComponent }\n                                    </div>\n                                </Flex>\n                                <Flex direction=\"row\" grow={ 1 } shrink={ 1 } basis=\"auto\" inline={ true } justify=\"end\" className=\"table-controls-secondary flex-px-2\">\n                                    <CollapseAllButton\n                                        nextClickWillCollapseAll={ nextClickWillCollapseAll }\n                                        onClick={ onCollapseAllButtonClick }\n                                    />\n                                </Flex>\n                            </TableControls>\n                        </div>\n                    </MediaQuery>\n                    <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                        <Flex direction=\"row\" grow={ 1 } className=\"flex-px-2 flex-pt-1 mobile-header\" align=\"center\">\n                            <div className=\"flex-child\">\n                                { searchBarComponent }\n                            </div>\n                        </Flex>\n                    </MediaQuery>\n                </StickyHeaderWrapper>\n                <MediaQuery maxWidth={ MAX_MOBILE_WIDTH }>\n                    <Flex direction=\"row\" className=\"flex-px-2 flex-pb-1 mobile-header\">\n                        <Flex direction=\"row\" inline={ true }>\n                            { this.state.dropdownIsOpen &&\n                                <OutsideEventListenerContainer onOutsideClick={ this.onCloseMobileDropdown }>\n                                    { this.getGroupByDropdownMenu(true) }\n                                </OutsideEventListenerContainer>\n                            }\n                            <Button\n                                buttonClassName=\"flat primary icon\"\n                                isDisabled={ false }\n                                isLoading={ false }\n                                onClick={ this.onOpenMobileDropdown }\n                            >\n                                <span className=\"bevicon bevico-filter main-icon-left\"/>\n                            </Button>\n                            { mobileActionButtons }\n                        </Flex>\n                        <Flex direction=\"row\" inline={ true } justify=\"end\" className=\"table-controls-secondary\">\n                            <CollapseAllButton\n                                nextClickWillCollapseAll={ nextClickWillCollapseAll }\n                                onClick={ onCollapseAllButtonClick }\n                            />\n                        </Flex>\n                    </Flex>\n                </MediaQuery>\n                <div className=\"sales-input-table\">\n                    <MediaQuery minWidth={ MIN_TABLET_WIDTH }>\n                        <StickyHeaderWrapper>\n                            <SalesInputTableHeader\n                                selectAllState={ selectAllState }\n                                onToggleSelect={ onSelectAllClick }\n                                onSortChange={ onSortChange }\n                                sorting={ {\n                                    sortedBy: sortByColumnId,\n                                    direction: sortDirection\n                                } }\n                                hasCheckbox={ hasBulkSelect }\n                            />\n                        </StickyHeaderWrapper>\n                    </MediaQuery>\n                    { this.getGroupPanels(isOpenByGroupName) }\n                </div>\n            </div>\n        );\n    }\n\n    private readonly getGroupPanels = (\n        isOpenByGroupName : {[groupName : string] : boolean},\n    ) : Array<JSX.Element> => {\n        const {\n            sortedFilteredGroupedResult,\n            salesBySalesItemId,\n            hasBulkSelect,\n            salesItemsById,\n            selectedRowIds,\n            onOpenMappingTool,\n            setIsSelectedForRowIds,\n            setPanelIsOpenFromUserInputForGroupNames,\n            posItemsByPosItemId,\n            unmappedSalesByPosItemId,\n            onUpdateSalesEntryForRowId,\n            activeProductIds,\n            deletedProductIds\n        } = this.props;\n\n        const visibleRowCount = Object.keys(sortedFilteredGroupedResult.sortedRowIdsToDisplayByGroupName)\n        .reduce((count : number, groupName : string) => sortedFilteredGroupedResult.sortedRowIdsToDisplayByGroupName[groupName].length + count, 0);\n        if (visibleRowCount === 0) {\n            return [\n                (\n                    <div key={ 0 } className=\"empty-table transition\">\n                        <h4>All items filtered from view</h4>\n                        <p>Clear your search or try a different term.</p>\n                    </div>\n                )\n            ];\n        }\n\n        const groupPanels : Array<JSX.Element> = [];\n        sortedFilteredGroupedResult.sortedGroupNamesToDisplay.forEach((groupName : string) => {\n            const rowIds = sortedFilteredGroupedResult.sortedRowIdsToDisplayByGroupName[groupName];\n            const rowFactory = (index : number) => {\n                if (rowIds.length === 0) {\n                    return <div/>; // for this table, we want to show empty groups\n                }\n\n                const rowId = rowIds[index];\n\n                const rowInfo = SalesItemMapperUtils.getInfoFromSalesInputRowId(\n                    rowId,\n                    salesItemsById,\n                    salesBySalesItemId,\n                    unmappedSalesByPosItemId,\n                    posItemsByPosItemId,\n                    undefined,\n                    activeProductIds,\n                    deletedProductIds\n                );\n\n                const isSelected = selectedRowIds.has(rowId);\n\n                return (\n                    <SalesInputRow\n                        className={ `${ index % 2 ? '' : 'sales-input-row-odd' }` }\n                        key={ rowId.getValue() }\n                        rowId={ rowId }\n                        name={ rowInfo.name }\n                        posId={ rowInfo.posId }\n                        salesPrice={ rowInfo.salesPrice }\n                        isFlagged={ rowInfo.isFlagged }\n                        mappedStatus={ rowInfo.mappedStatus }\n                        hasBulkSelect={ hasBulkSelect }\n                        salesEntry={ rowInfo.salesEntry }\n                        isSelected={ isSelected }\n                        onSetRowCheckboxSelected={ this.onSetRowCheckboxSelected }\n                        onEditItemClick={ onOpenMappingTool }\n                        onUpdateSalesEntryForRowId={ onUpdateSalesEntryForRowId }\n                    />\n                );\n            };\n\n            let rowContainer : HTMLDivElement;\n            const containerBodyRefFunction = (containerBody : HTMLDivElement) => {\n                rowContainer = containerBody;\n            };\n\n            const getRowContainer = () => {\n                return rowContainer;\n            };\n\n            const onGroupHeaderClick = () => {\n                setPanelIsOpenFromUserInputForGroupNames(new Set([groupName]), !isOpen);\n            };\n\n            const onSelectGroupClick = () => {\n                setIsSelectedForRowIds(new StringValueSet(rowIds), selectAllState !== CheckBoxTriState.Checked);\n            };\n\n            const isOpen = isOpenByGroupName[groupName];\n            const numRows = rowIds.length;\n            const totalUnfilteredCount = sortedFilteredGroupedResult.unfilteredSortedRowIdsByGroupName[groupName].length;\n\n            let selectedCount = 0;\n            rowIds.forEach((rowId) => {\n                if (selectedRowIds.has(rowId)) {\n                    selectedCount += 1;\n                }\n            });\n\n            let selectAllState : CheckBoxTriState;\n            if (selectedCount === 0) {\n                selectAllState = CheckBoxTriState.Unchecked;\n            } else if (selectedCount === rowIds.length) {\n                selectAllState = CheckBoxTriState.Checked;\n            } else {\n                selectAllState = CheckBoxTriState.Indeterminate;\n            }\n\n            groupPanels.push(\n                <div className=\"light-table-group-container\" key={ groupName }>\n                    <StickyHeaderWrapper>\n                        <div className=\"group-header\">\n                            <RowGroupHeader\n                                selectAllState={ hasBulkSelect ? selectAllState : null }\n                                onSelectAllClick={ onSelectGroupClick }\n                                groupName={ groupName }\n                                isOpen={ isOpen }\n                                visibleItemCount={ rowIds.length }\n                                totalItemCount={ totalUnfilteredCount }\n                                onClick={ onGroupHeaderClick }\n                                showExpandArrow={ true }\n                            />\n                        </div>\n                    </StickyHeaderWrapper>\n                    <div className=\"group-container-body\" ref={ containerBodyRefFunction }>\n                        <RowOptimizationWrapper\n                            numRows={ numRows }\n                            rowFactory={ rowFactory }\n                            getRowContainer={ getRowContainer }\n                            isOpen={ isOpen }\n                        />\n                    </div>\n                </div>\n            );\n        });\n\n        return groupPanels;\n    }\n\n    private readonly getGroupByDropdownMenu = (isOpenDefault : boolean) => {\n        return (\n            <Select2DropdownMenu\n                onOptionSelect={ this.setGroupByOption }\n                sortedOptionsAndLabelName={ [[null, this.salesItemMapperGroupByOptions]] }\n                selectedOption={ SalesItemMapperUtils.getSalesItemMapperGroupByOption(this.props.groupByOption) }\n                placeholderText={ null }\n                hasCreateCustomOption={ false }\n                createCustomOption={ this.doNothing }\n                buttonShouldDisplaySelectedLabel={ true }\n                emptyState={ null }\n                isSearchable={ false }\n                selectedOptionHeaderShown={ true }\n                customOptionGroupLabel={ null }\n                theme={ Select2DropdownMenuTheme.Basic }\n                isOpenDefault={ isOpenDefault }\n                createCustomOptionButtonLabel={ null }\n            />\n        );\n    }\n\n    private readonly onSearchTermChange = (searchTerm : string) => {\n        this.props.setSearchTerm(searchTerm);\n    }\n    private readonly onClearSearchTerm = () => {\n        this.props.setSearchTerm(null);\n    }\n\n    private readonly setGroupByOption = (groupByOption : string) => {\n        this.props.setGroupByOption(groupByOption as SalesItemMapperGroupByOptionValue);\n        this.onCloseMobileDropdown();\n    }\n\n    private readonly doNothing = () => undefined;\n\n    private readonly onSetRowCheckboxSelected = (rowId : SalesInputRowId, isSelected : boolean) => {\n        this.props.setIsSelectedForRowIds(new StringValueSet([rowId]), isSelected);\n    }\n\n    private readonly onOpenMobileDropdown = (event : React.MouseEvent) => {\n        this.setState({ dropdownIsOpen: true });\n        event.stopPropagation();\n    }\n\n    private readonly onCloseMobileDropdown = () => {\n        this.setState({ dropdownIsOpen: false });\n    }\n}\n","import React from 'react';\n\nimport { ValidationInput, ValidationInputTheme } from 'shared/components/ValidationInput';\n\nimport './SearchBar.scss';\n\nexport enum SearchBarTheme {\n    Default = ValidationInputTheme.Default,\n    Boxed = 2,\n    PreparedItemProductSearch = 3, // TODO: this will eventually be generic-ified, but for now is only used in one place\n    Transparent = 4,\n    Basic = ValidationInputTheme.Basic,\n    BasicInverted = ValidationInputTheme.BasicInverted,\n}\n\nexport interface ISearchBarBaseProps {\n    placeholderText : string | null;\n    value : string | null;\n    isDisabled : boolean;\n    isFocused : boolean;\n    clearSearchBar : () => void;\n    handleOnChange : (searchTerm : string) => void;\n    handleEnterClick : (searchTerm : string) => void;\n    handleFocus : ((searchTerm : string) => void) | null;\n    handleBlur : (searchTerm : string) => void;\n}\n\nexport interface ISearchBarProps extends ISearchBarBaseProps {\n    theme : SearchBarTheme;\n}\n\nexport class SearchBar extends React.Component<ISearchBarProps, object> {\n    private searchBarElement : Element | undefined;\n\n    constructor(props : ISearchBarProps) {\n        super(props);\n        this.generateThemeClasses = this.generateThemeClasses.bind(this);\n        this.onChange = this.onChange.bind(this);\n        this.onBlur = this.onBlur.bind(this);\n        this.onFocus = this.onFocus.bind(this);\n        this.enterClick = this.enterClick.bind(this);\n        this.searchBarRef = this.searchBarRef.bind(this);\n    }\n\n    public render() {\n        const {\n            placeholderText,\n            value,\n            isDisabled,\n            isFocused,\n        } = this.props;\n\n        const themeClasses = this.generateThemeClasses();\n\n        return (\n            <div\n                className={ themeClasses }\n                ref={ this.searchBarRef }\n            >\n                <div className=\"search-bar-container\">\n                    <span className=\"bevicon bevico-search\" />\n                    <ValidationInput\n                        theme={ this.getInputTheme() }\n                        type=\"text\"\n                        label={ null }\n                        hintText={ placeholderText }\n                        value={ (value !== null) ? value : '' }\n                        autoFocus={ isFocused }\n                        autoComplete={ null }\n                        autoCorrect=\"off\"\n                        isValid={ true } // TODO: Would this ever be false?\n                        errorMessage=\"\"\n                        inputClassName=\"\"\n                        handleChange={ this.onChange }\n                        handleFocus={ this.onFocus }\n                        handleBlur={ this.onBlur }\n                        handleEnterClick={ this.enterClick }\n                        isDisabled={ isDisabled }\n                    />\n                    { (value) &&\n                        <span\n                            className=\"bevicon bevico-remove-inverse\"\n                            onClick={ this.handleClearSearchBar }\n                        />\n                    }\n                </div>\n            </div>\n        );\n    }\n\n    private getInputTheme() {\n        if (this.props.theme === SearchBarTheme.Basic) {\n            return ValidationInputTheme.Basic;\n        }\n        return ValidationInputTheme.Default;\n    }\n\n    private generateThemeClasses() {\n        let themeClasses : string = 'search-bar';\n\n        if (this.props.theme === SearchBarTheme.Boxed) {\n            themeClasses += ' boxed';\n        } else if (this.props.theme === SearchBarTheme.PreparedItemProductSearch) {\n            themeClasses += ' prepared-item-product-search';\n        } else if (this.props.theme === SearchBarTheme.Transparent) {\n            themeClasses += ' boxed transparent';\n        } else if (this.props.theme === SearchBarTheme.Basic) {\n            themeClasses += ' theme-basic';\n        }\n\n        return themeClasses;\n    }\n\n    private onChange(event : React.ChangeEvent<HTMLInputElement>) {\n        const input = event.currentTarget;\n        this.props.handleOnChange(input.value);\n    }\n\n    private onFocus(event : React.FocusEvent<HTMLInputElement>) {\n        const inputElement = event.currentTarget;\n        window.requestAnimationFrame(() => {\n            inputElement.setSelectionRange(0, 9999);\n            if (this.searchBarElement) {\n                this.searchBarElement.className = this.generateThemeClasses() + ' active';\n            }\n        });\n\n        if (this.props.handleFocus) {\n            this.props.handleFocus(inputElement.value);\n        }\n    }\n\n    private onBlur(event : React.FocusEvent<HTMLInputElement>) {\n        const input = event.currentTarget;\n        if (this.searchBarElement) {\n            this.searchBarElement.className = this.generateThemeClasses();\n        }\n\n        this.props.handleBlur(input.value);\n    }\n\n    private enterClick(event : React.KeyboardEvent<HTMLInputElement>) {\n        const input = event.currentTarget;\n        this.props.handleEnterClick(input.value);\n    }\n\n    private searchBarRef = (searchBarElement : HTMLDivElement) : void => {\n        this.searchBarElement = searchBarElement;\n    }\n\n    private readonly handleClearSearchBar = (event : React.MouseEvent<HTMLElement>) => {\n        this.props.clearSearchBar();\n        event.stopPropagation();\n    }\n}\n","import React from 'react';\n\nimport { MobileSearchBar } from 'shared/components/MobileSearchBar/MobileSearchBar';\nimport { RowOptimizationWrapper } from 'shared/components/RowOptimizationWrapper/RowOptimizationWrapper';\nimport { SearchBar, SearchBarTheme } from 'shared/components/SearchBar/SearchBar';\nimport { ISearchBarState } from 'shared/models/ISearchBarState';\n\n// TODO: refactor the css on add item header + order detail so that this component has some shared css\n\nexport interface ISearchBarWithSuggestedOptionsProps<T> {\n    searchBar : ISearchBarState;\n    searchBarTheme : SearchBarTheme;\n    searchBarPlaceholderText : string | null;\n    searchSuggestionListIsShown : boolean;\n\n    labelNamesAndSearchSuggestions : Array<[string | null, Array<T>]>;\n    highlightedSearchSuggestion : T | null;\n\n    dropdownRowClassName : string;\n    dropdownContainerClassName : string | null;\n\n    moreOptionsHeader : JSX.Element | null;\n\n    // pinned above the scrolling options, unlike moreOptionsHeader which sits above the search bar\n    dropdownHeader? : JSX.Element | null;\n\n    // which suggestions a group header's count includes, when some rows belong to another row (all by default)\n    isCountedInGroupSize? : (suggestion : T) => boolean;\n\n    moreOptionsFooter : JSX.Element | null;\n\n    searchBarIsMobileComponent : boolean; // this is normally handled through media queries, but in this case we want the parent to determine this\n\n    setSearchSuggestionListIsShown : (isShown : boolean) => void;\n    createSuggestionOptionElement : (suggestedOptionValue : T) => JSX.Element;\n\n    onSearchBarEnterClick : (searchTerm : string) => void;\n    onClearSearchTerm : () => void;\n    onSearchTermValueChange : (searchTerm : string) => void;\n\n    onOptionClick : (suggestedOptionValue : T) => void;\n\n    setHighlightedSearchSuggestionMouse : (suggestedOptionValue : T | null) => void;\n    setHighlightedSearchSuggestionKeyboard : (suggestedOptionValue : T | null) => void;\n\n    closeMobileSearchBar : () => void;\n}\n\nexport class SearchBarWithSuggestedOptions<T> extends React.Component<ISearchBarWithSuggestedOptionsProps<T>, object> {\n    private dropdownMenuComponentDiv : HTMLDivElement | undefined;\n    private dropdownOptionsDiv : HTMLDivElement | undefined;\n    private lastClientMouseX : number | null = null;\n    private lastClientMouseY : number | null = null;\n\n    public componentDidMount() {\n        window.addEventListener('click', this.onWindowClick);\n        document.addEventListener('keydown', this.onDocumentKeyDown);\n    }\n\n    public componentWillUnmount() {\n        window.removeEventListener('click', this.onWindowClick);\n        document.removeEventListener('keydown', this.onDocumentKeyDown);\n    }\n\n    public render() {\n        const {\n            searchBar,\n            searchBarIsMobileComponent,\n            closeMobileSearchBar,\n            labelNamesAndSearchSuggestions,\n            setHighlightedSearchSuggestionMouse,\n            searchSuggestionListIsShown,\n            highlightedSearchSuggestion,\n            createSuggestionOptionElement,\n            moreOptionsFooter,\n            moreOptionsHeader,\n            dropdownHeader,\n            isCountedInGroupSize,\n            searchBarPlaceholderText,\n            onSearchBarEnterClick,\n            onClearSearchTerm,\n            onOptionClick,\n            onSearchTermValueChange,\n            dropdownRowClassName,\n            searchBarTheme\n        } = this.props;\n\n        let searchSuggestionOptions : Array<JSX.Element | null> = [];\n        let numberOfSuggestions : number = 0;\n        labelNamesAndSearchSuggestions.forEach((labelNameAndSuggestions, labelNameAndSuggestionsIndex) => {\n            const labelName = labelNameAndSuggestions[0];\n            const suggestions = labelNameAndSuggestions[1];\n\n            numberOfSuggestions += suggestions.length;\n\n            const labelNameElement = labelName === null ? null : (\n                <div\n                    key={ labelName }\n                    className=\"product-select-dropdown-label\"\n                >\n                    { `${ labelName } (${ isCountedInGroupSize ? suggestions.filter(isCountedInGroupSize).length : suggestions.length })` }\n                </div>\n            );\n\n            const rowFactory = (index : number) => {\n                const suggestion = suggestions[index];\n\n                const onClick = () => {\n                    onOptionClick(suggestion);\n                };\n\n                const onMouseMove = (event : React.MouseEvent<HTMLDivElement>) => {\n                    if (highlightedSearchSuggestion !== suggestion && (this.lastClientMouseX !== event.clientX || this.lastClientMouseY !== event.clientY)) {\n                        setHighlightedSearchSuggestionMouse(suggestion);\n                        this.lastClientMouseX = event.clientX;\n                        this.lastClientMouseY = event.clientY;\n                    }\n                };\n\n                const onMouseLeave = (event : React.MouseEvent<HTMLDivElement>) => {\n                    if (this.lastClientMouseX !== event.clientX || this.lastClientMouseY !== event.clientY) {\n                        setHighlightedSearchSuggestionMouse(null);\n                    }\n                };\n\n                return (\n                    <div\n                        key={ `${ labelName }_${ index }` }\n                        className={ `suggested-option-row ${ dropdownRowClassName } ${ highlightedSearchSuggestion === suggestion ? 'highlighted' : '' }` }\n                        onClick={ onClick }\n                        onMouseMove={ onMouseMove }\n                        onMouseLeave={ onMouseLeave }\n                    >\n                        { createSuggestionOptionElement(suggestion) }\n                    </div>\n                );\n            };\n\n            const suggestionsForGroup = (\n                <RowOptimizationWrapper\n                    key={ `${ labelName }_${ labelNameAndSuggestionsIndex }` }\n                    numRows={ suggestions.length }\n                    rowFactory={ rowFactory }\n                    getRowContainer={ this.getDropdownOptionsDiv }\n                    isOpen={ true }\n                />\n            );\n\n            searchSuggestionOptions = searchSuggestionOptions.concat(labelNameElement, suggestionsForGroup);\n        });\n\n        const searchSuggestionDropdown = (\n            <div className={ this.generateThemeClasses() }>\n                { dropdownHeader }\n                <div className=\"dropdown-menu-component-options\" ref={ this.dropdownOptionsRef }>\n                    { searchSuggestionOptions }\n                    { moreOptionsFooter !== null &&\n                        <hr/>\n                    }\n                    { moreOptionsFooter !== null &&\n                        <div className=\"more-options\">\n                            { moreOptionsFooter }\n                        </div>\n                    }\n                </div>\n            </div>\n        );\n\n        return (\n            <div>\n            { moreOptionsHeader !== null &&\n                (\n                <div className=\"header-button\">\n                    { moreOptionsHeader }\n                </div>\n                )\n            }\n            <div className=\"search-bar-with-suggested-options\">\n                <div ref={ this.dropdownMenuRef }>\n                    { !searchBarIsMobileComponent &&\n                        <SearchBar\n                            theme={ searchBarTheme }\n                            placeholderText={ searchBarPlaceholderText }\n                            value={ searchBar.searchTerm }\n                            isDisabled={ searchBar.isDisabled }\n                            isFocused={ searchBar.isFocused }\n                            clearSearchBar={ onClearSearchTerm }\n                            handleOnChange={ onSearchTermValueChange }\n                            handleEnterClick={ onSearchBarEnterClick }\n                            handleBlur={ this.onSearchBarBlur }\n                            handleFocus={ this.onSearchBarFocus }\n                        />\n                    }\n                    { searchBarIsMobileComponent &&\n                        <MobileSearchBar\n                            placeholderText={ searchBarPlaceholderText }\n                            value={ searchBar.searchTerm }\n                            isDisabled={ searchBar.isDisabled }\n                            isFocused={ searchBar.isFocused }\n                            clearSearchBar={ onClearSearchTerm }\n                            handleOnChange={ onSearchTermValueChange }\n                            handleEnterClick={ onSearchBarEnterClick }\n                            handleBlur={ this.onSearchBarBlur }\n                            handleFocus={ this.onSearchBarFocus }\n                            handleOnHideSearchBar={ closeMobileSearchBar }\n                        />\n                    }\n\n                    { searchSuggestionListIsShown && (numberOfSuggestions > 0 || moreOptionsFooter) &&\n                        searchSuggestionDropdown\n                    }\n                </div>\n            </div>\n            </div>\n        );\n    }\n\n    private readonly dropdownMenuRef = (element : HTMLDivElement) => {\n        this.dropdownMenuComponentDiv = element;\n    }\n\n    private readonly dropdownOptionsRef = (element : HTMLDivElement) => {\n        this.dropdownOptionsDiv = element;\n    }\n\n    private getDropdownOptionsDiv = () => {\n        return this.dropdownOptionsDiv;\n    }\n\n    private readonly onWindowClick = (event : Event) : void => {\n        if (!this.dropdownMenuComponentDiv || !this.dropdownMenuComponentDiv.contains((event.target as Element))) {\n            this.props.setSearchSuggestionListIsShown(false);\n            event.stopPropagation();\n        }\n    }\n\n    private readonly onSearchBarFocus = () => {\n        this.props.setSearchSuggestionListIsShown(true);\n    }\n\n    private readonly onSearchBarBlur = () => undefined; // do nothing for now\n\n    private readonly onDocumentKeyDown = (event : KeyboardEvent) => {\n        const {\n            labelNamesAndSearchSuggestions,\n            highlightedSearchSuggestion,\n            setHighlightedSearchSuggestionKeyboard,\n            searchSuggestionListIsShown,\n        } = this.props;\n\n        let sortedSearchSuggestions : Array<T> = [];\n        labelNamesAndSearchSuggestions.forEach((labelNameAndSortedSuggestions) => {\n            sortedSearchSuggestions = sortedSearchSuggestions.concat(labelNameAndSortedSuggestions[1]);\n        });\n\n        if (searchSuggestionListIsShown && (sortedSearchSuggestions.length > 0)) {\n            const keyCode = event.which;\n            let pressedUp : boolean;\n            if (keyCode === 38) { // up key\n                event.preventDefault();\n                event.stopPropagation();\n                pressedUp = true;\n            } else if (keyCode === 40) { // down key\n                event.preventDefault();\n                event.stopPropagation();\n                pressedUp = false;\n            } else {\n                return;\n            }\n\n            let newHighlightedSearchSuggestion : T | null;\n            if (highlightedSearchSuggestion === null) {\n                if (pressedUp) {\n                    newHighlightedSearchSuggestion = sortedSearchSuggestions[sortedSearchSuggestions.length - 1];\n                } else {\n                    newHighlightedSearchSuggestion = sortedSearchSuggestions[0];\n                }\n            } else {\n                const highlightedOptionIndex = sortedSearchSuggestions.indexOf(highlightedSearchSuggestion);\n                if (pressedUp) {\n                    if (highlightedOptionIndex === 0) {\n                        newHighlightedSearchSuggestion = null;\n                    } else {\n                        newHighlightedSearchSuggestion = sortedSearchSuggestions[highlightedOptionIndex - 1];\n                    }\n                } else {\n                    if (highlightedOptionIndex === sortedSearchSuggestions.length - 1) {\n                        newHighlightedSearchSuggestion = null;\n                    } else {\n                        newHighlightedSearchSuggestion = sortedSearchSuggestions[highlightedOptionIndex + 1];\n                    }\n                }\n            }\n\n            setHighlightedSearchSuggestionKeyboard(newHighlightedSearchSuggestion);\n        }\n    }\n\n    private generateThemeClasses() {\n        const {\n            dropdownContainerClassName,\n            searchBarTheme,\n        } = this.props;\n\n        let themeClasses : string = dropdownContainerClassName !== null ? dropdownContainerClassName : 'dropdown-menu-component';\n\n        if (searchBarTheme === SearchBarTheme.Basic) {\n            themeClasses += ' theme-basic';\n        }\n\n        return themeClasses;\n    }\n}\n","import React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { StringUtils } from 'shared/utils/stringUtils';\n\nimport { IOption } from '../Dropdown/DropdownMenu';\nimport { SearchBar, SearchBarTheme } from '../SearchBar/SearchBar';\n\nimport { Button } from 'shared/components/Button';\nimport { anchorMeasurementsAreEqual, IAnchorMeasurement, measureAnchor } from 'shared/hooks/useAnchorMeasurement';\n\nimport { cleanPhrase } from 'shared/utils/sortingFilteringAndGroupingUtils';\n\nimport { OptionsAndLabelNameTuples } from './Select2DropdownMenu';\n\nimport './Select2DropdownMenu.scss'; // this is basically copied from BulkEditDropdownMenu.scss\n\nexport enum Select2DropdownMenuTheme {\n    Default = SearchBarTheme.Default,\n    Basic = SearchBarTheme.Basic,\n    BasicInverted = SearchBarTheme.BasicInverted,\n}\n\nexport interface IGenericSelect2DropdownMenuProps {\n    isOpen : boolean;\n    handleDropdownOpenClose : (dropdownIsOpen : boolean) => void;\n\n    theme? : Select2DropdownMenuTheme;\n    classes? : string;\n\n    isSearchable : boolean;\n    selectedOptionHeaderShown : boolean;\n    sortedOptionsAndLabelName : OptionsAndLabelNameTuples;\n    selectedOption : IOption | null; // should be null always if you can select multiple options\n    placeholderText : string | null;\n    buttonShouldDisplaySelectedLabel : boolean;\n    emptyState : JSX.Element | null;\n    footerElement : JSX.Element | null;\n    maxOptionsDisplayedPerGroup? : number;\n    openDirection? : 'up' | 'down' | 'auto';\n    useFixedPositioning? : boolean;\n    isTitleCase? : boolean;\n    createCustomOptionIsLoading : boolean; // necessary for support when create custom hits backend (storage areas)\n    buttonElement? : JSX.Element; // to replace header button with BevSpot button\n\n    getSelectedOptionElementForHeader : (selectedOption : IOption) => JSX.Element | undefined;\n    getOptionElementsForGroup : (filteredOptions : Array<IOption>, selectedOption : IOption | null) => Array<JSX.Element | null>; // TODO consider something besides this selectedOption thing\n    hasCreateCustomOption : boolean;\n    createCustomOption : ((optionText : string) => void) | null;\n    createCustomOptionButtonLabel : string | null;\n    customOptionGroupLabel : string | null;  // specifies which group the create button should be in - assumes only one such group exists but WILL render the button wherever the group label is found in sortedOptionsAndLabelName!!\n    onDropdownBlur? : () => void;\n    onSearchValueChanged? : (newValue : string | null) => void;\n}\n\nexport interface IGenericSelect2DropdownMenuState {\n    searchBarState : {\n        value : string | null;\n        filteredValue : string | null;\n        isDisabled : boolean;\n        isFocused : boolean;\n    };\n    filteredOptionsAndLabelName : OptionsAndLabelNameTuples;\n    triggerRect : IAnchorMeasurement | null;\n    autoDirection : 'up' | 'down';\n}\n\nconst AUTO_DIRECTION_FALLBACK_PANEL_HEIGHT_PX = 320;\n\nexport class GenericSelect2DropdownMenu extends React.Component<IGenericSelect2DropdownMenuProps, IGenericSelect2DropdownMenuState> {\n    private dropdownMenuOverlayDiv : HTMLDivElement | null;\n    private componentIsOpening : boolean;\n    private triggerRef = React.createRef<HTMLDivElement>();\n    private lastMeasuredPanelHeight : number | null = null;\n\n    constructor(props : IGenericSelect2DropdownMenuProps) {\n        super(props);\n\n        this.state = {\n            searchBarState: {\n                value: null,\n                filteredValue : null,\n                isDisabled: false,\n                isFocused: false,\n            },\n            filteredOptionsAndLabelName: this.props.sortedOptionsAndLabelName,\n            triggerRect: null,\n            autoDirection: 'down',\n            // isOpen: false, // in the future, could pass in isOpen default as a prop and set this to that\n        };\n        this.dropdownMenuOverlayDiv = null;\n        this.componentIsOpening = this.props.isOpen;\n    }\n\n    private readonly computeAutoDirection = () : 'up' | 'down' => {\n        const el = this.triggerRef.current;\n        if (!el) return 'down';\n        const rect = el.getBoundingClientRect();\n        const spaceBelow = window.innerHeight - rect.bottom;\n        const spaceAbove = rect.top;\n        const panelHeight = this.lastMeasuredPanelHeight ?? AUTO_DIRECTION_FALLBACK_PANEL_HEIGHT_PX;\n        if (spaceBelow >= panelHeight) return 'down';\n        if (spaceAbove >= panelHeight) return 'up';\n        return spaceBelow >= spaceAbove ? 'down' : 'up';\n    }\n\n    public componentDidMount() {\n        // 6/20/17 can't test that this properly triggers the function with karma/sinon\n        window.addEventListener('click', this.handleOnOutsideComponentClick);\n        window.addEventListener('scroll', this.updateTriggerRect, true);\n        window.addEventListener('resize', this.updateTriggerRect);\n    }\n\n    public componentWillUnmount() {\n        window.removeEventListener('click', this.handleOnOutsideComponentClick);\n        window.removeEventListener('scroll', this.updateTriggerRect, true);\n        window.removeEventListener('resize', this.updateTriggerRect);\n    }\n\n    public componentDidUpdate(prevProps : IGenericSelect2DropdownMenuProps) {\n        if (this.props.useFixedPositioning && this.props.isOpen && !prevProps.isOpen) {\n            this.updateTriggerRect();\n        }\n    }\n\n    public UNSAFE_componentWillReceiveProps(nextProps : IGenericSelect2DropdownMenuProps) {\n        if (nextProps.sortedOptionsAndLabelName !== this.props.sortedOptionsAndLabelName) { // if options have changed, reset the state\n            const newFilteredOptions : Array<[string | null, Array<IOption>]> = this.filterOptionsBasedOnSearchTerm(this.state.searchBarState.value, nextProps.sortedOptionsAndLabelName);\n            this.setState({\n                filteredOptionsAndLabelName: newFilteredOptions,\n            });\n        }\n    }\n\n    private readonly updateTriggerRect = () => {\n        if (!this.props.useFixedPositioning || !this.props.isOpen) return;\n        const el = this.triggerRef.current;\n        if (!el) return;\n        const measuredTrigger = measureAnchor(el);\n        if (measuredTrigger === null) {\n            this.closeDropdown();\n            return;\n        }\n        if (anchorMeasurementsAreEqual(this.state.triggerRect, measuredTrigger)) return;\n        this.setState({ triggerRect: measuredTrigger });\n    }\n\n    public render() {\n        const {\n            isSearchable,\n            selectedOptionHeaderShown,\n            openDirection,\n            selectedOption,\n            emptyState,\n            placeholderText,\n            hasCreateCustomOption,\n            customOptionGroupLabel,\n            buttonShouldDisplaySelectedLabel,\n            getSelectedOptionElementForHeader,\n            footerElement,\n            maxOptionsDisplayedPerGroup,\n            isOpen,\n            buttonElement,\n            theme,\n            useFixedPositioning,\n        } = this.props;\n\n        const arrowDirection = isOpen ? 'up' : 'down';\n        const effectiveOpenDirection : 'up' | 'down' | undefined =\n            openDirection === 'auto' ? this.state.autoDirection : openDirection;\n\n        const emptyStateValue = emptyState === null ? 'No results found' : emptyState;\n        const emptyStateElement = (\n            <div className=\"dropdown-menu-empty-state-message dropdown-menu-component-option\">\n                { emptyStateValue }\n            </div>\n        );\n\n        // We'll probably re-evaluate this behavior, but currently we want the custom option to be nested under a group (including the \"un-grouped\" case i.e. the button is in the \"null\" group)\n        // and all groups should display even if empty in this case.\n        const shouldShowEmptyStateInGroup = hasCreateCustomOption;\n        // Potentially each group should have its own empty state. For now just use one.\n        const groupEmptyState = shouldShowEmptyStateInGroup ? emptyStateElement : null;\n\n        let dropdownPlaceholderText : string | null = placeholderText;\n        if (buttonShouldDisplaySelectedLabel && selectedOption !== null) {\n            dropdownPlaceholderText = selectedOption.label;\n        }\n\n        const hasCustomOptionClassName = hasCreateCustomOption ? ' dropdown-with-custom-option' : '';\n\n        const totalOptionsShown = this.state.filteredOptionsAndLabelName.reduce((accumulator : number, filteredOptionsAndLabel : [string | null, Array<IOption>]) => {\n            return accumulator + filteredOptionsAndLabel[1].length;\n        }, 0);\n\n        let dropdownOverlay : JSX.Element | null = null;\n\n        if (isOpen) {\n            let searchBarTheme = SearchBarTheme.Boxed;\n            if (theme === Select2DropdownMenuTheme.Basic) {\n                searchBarTheme = SearchBarTheme.Basic;\n            } else if (theme === Select2DropdownMenuTheme.BasicInverted) {\n                searchBarTheme = SearchBarTheme.BasicInverted;\n            }\n\n            const excludedOptionCount = this.getExcludedOptionCount(\n                this.state.filteredOptionsAndLabelName,\n                maxOptionsDisplayedPerGroup\n            );\n\n            dropdownOverlay = (\n                <div className=\"select-2-dropdown-menu mobile-dropdown-overlay\">\n                    <div\n                        id=\"generic-dropdown-searchbar\"\n                        className={ 'select-2-dropdown-inner-container' + (effectiveOpenDirection === 'up' ? ' dropdown-menu-open-up' : '') }\n                        ref={ this.getOverlayRef }\n                    >\n                        { isSearchable &&\n                            <SearchBar\n                                theme={ searchBarTheme }\n                                placeholderText={ placeholderText }\n                                value={ this.state.searchBarState.filteredValue }\n                                isDisabled={ this.state.searchBarState.isDisabled }\n                                isFocused={ this.state.searchBarState.isFocused }\n                                clearSearchBar={ this.handleOnClearSearchBar }\n                                handleOnChange={ this.handleOnSearchBarValueChange }\n                                handleEnterClick={ this.handleOnSearchBarEnterClick }\n                                handleBlur={ this.handleOnSearchBarBlur }\n                                handleFocus={ this.handleOnSearchBarFocus }\n                            />\n                        }\n                        <div className={ 'dropdown-menu-component-options' + hasCustomOptionClassName }>\n                            <div className=\"dropdown-menu-component-options-scroll\">\n                                { selectedOption !== null && selectedOptionHeaderShown &&\n                                    <div className=\"current-dropdown-value\">\n                                        { getSelectedOptionElementForHeader(selectedOption) }\n                                    </div>\n                                }\n                                { this.getGroupLists(\n                                    this.state.filteredOptionsAndLabelName,\n                                    selectedOption,\n                                    hasCreateCustomOption,\n                                    customOptionGroupLabel,\n                                    groupEmptyState,\n                                    maxOptionsDisplayedPerGroup\n                                ) }\n                                { (excludedOptionCount > 0) &&\n                                    <div className=\"dropdown-menu-component-option-list\">\n                                        <div className=\"dropdown-group-label\">Filter to see { excludedOptionCount } more option{ excludedOptionCount === 1 ? '' : 's' }...</div>\n                                    </div>\n                                }\n                            </div>\n                            {\n                                (totalOptionsShown === 0 && !shouldShowEmptyStateInGroup) &&\n                                emptyStateElement\n                            }\n                        </div>\n                        { footerElement }\n                    </div>\n                </div>\n            );\n        }\n\n        const triggerButton = (\n            <div\n                ref={ this.triggerRef }\n                className={ `${ buttonElement ? '' : 'dropdown-menu-component-button btn' }` } // want to be able to use normal button styles if buttonElement passed in\n                onClick={ this.handleSetDropdownIsOpen }\n            >\n                { buttonElement &&\n                    <div className=\"dropdown-placeholder-bevspot-button\">{ buttonElement }</div>\n                }\n                { !buttonElement &&\n                    <div>\n                        <div className=\"dropdown-placeholder-string ellipsis-out\">\n                            { dropdownPlaceholderText }\n                        </div>\n                        <span className={ `dropdown-menu-component-arrow bevicon bevico-arrow_drop_${ arrowDirection }` }/>\n                    </div>\n                }\n                { (theme === Select2DropdownMenuTheme.Basic || theme === Select2DropdownMenuTheme.BasicInverted) &&\n                    <React.Fragment>\n                        <hr className=\"active-border\"/>\n                        <hr className=\"bottom-border\"/>\n                    </React.Fragment>\n                }\n            </div>\n        );\n\n        const wrapperClassNames = this.generateClassNames();\n\n        let portaledOverlay : React.ReactNode = null;\n        if (useFixedPositioning && dropdownOverlay && this.state.triggerRect) {\n            const r = this.state.triggerRect;\n            const isInDialog = r.isInDialog;\n            const wrapperStyle : React.CSSProperties = {\n                position: 'fixed',\n                top: r.top,\n                left: r.left,\n                width: r.width,\n                height: r.height,\n                // inside a modal the portaled-in-dialog class sets it from $dialog-z instead\n                zIndex: isInDialog ? undefined : 11,\n            };\n            portaledOverlay = ReactDOM.createPortal(\n                <div className={ `${ wrapperClassNames } ${ isInDialog ? 'portaled-in-dialog' : '' }` } style={ wrapperStyle }>\n                    { dropdownOverlay }\n                </div>,\n                document.body,\n            );\n        }\n\n        return (\n            <React.Fragment>\n                <div className={ wrapperClassNames }>\n                    { triggerButton }\n                    { !useFixedPositioning && dropdownOverlay }\n                </div>\n                { portaledOverlay }\n            </React.Fragment>\n        );\n    }\n\n    private generateClassNames() {\n        const {\n            theme,\n            classes,\n        } = this.props;\n\n        const themeClasses = (classes || '') + ' select-2-dropdown select-2-dropdown-field dropdown-menu-component';\n\n        switch (theme) {\n            case Select2DropdownMenuTheme.Basic:\n                return themeClasses + ' theme-basic';\n            case Select2DropdownMenuTheme.BasicInverted:\n                return themeClasses + ' theme-basic-inverted';\n            case undefined:\n            case Select2DropdownMenuTheme.Default:\n            default:\n                return themeClasses;\n        }\n    }\n\n    private readonly handleSetDropdownIsOpen = (event : React.MouseEvent<HTMLElement>) => {\n        const opening = !this.props.isOpen;\n        this.props.handleDropdownOpenClose(opening);\n        this.componentIsOpening = true;\n        let nextTriggerRect = this.state.triggerRect;\n        let nextAutoDirection = this.state.autoDirection;\n        if (opening) {\n            if (this.props.openDirection === 'auto') {\n                nextAutoDirection = this.computeAutoDirection();\n            }\n            if (this.props.useFixedPositioning && this.triggerRef.current) {\n                nextTriggerRect = measureAnchor(this.triggerRef.current);\n            }\n        }\n\n        // Each opening starts from an empty search. A leftover one would still filter the list, and new\n        // typing would append to it -- with a create option, that offers to create the joined text.\n        const hadSearch = this.state.searchBarState.value !== null;\n        const nextSearchBarState = opening\n            ? { ...this.state.searchBarState, value: null, filteredValue: null, isFocused: true }\n            : { ...this.state.searchBarState, isFocused: true };\n        const nextFilteredOptionsAndLabelName = opening\n            ? this.filterOptionsBasedOnSearchTerm(null, this.props.sortedOptionsAndLabelName)\n            : this.state.filteredOptionsAndLabelName;\n        this.setState({\n            searchBarState: nextSearchBarState,\n            filteredOptionsAndLabelName: nextFilteredOptionsAndLabelName,\n            triggerRect: nextTriggerRect,\n            autoDirection: nextAutoDirection,\n        });\n\n        if (opening && hadSearch && this.props.onSearchValueChanged) {\n            this.props.onSearchValueChanged(null);\n        }\n    }\n\n    private readonly handleOnOutsideComponentClick = (event : Event) : void => {\n        if (!this.componentIsOpening && (this.dropdownMenuOverlayDiv === null || !this.dropdownMenuOverlayDiv.contains(event.target as Element))) {\n            this.closeDropdown();\n            event.stopPropagation();\n        }\n        this.componentIsOpening = false;\n    }\n\n    private readonly closeDropdown = () : void => {\n        if (this.props.isOpen) {\n            if (this.props.onDropdownBlur) { // rename this\n                this.props.onDropdownBlur();\n            }\n            this.props.handleDropdownOpenClose(false);\n        }\n        this.componentIsOpening = false;\n    }\n\n    private readonly getExcludedOptionCount = (\n        filteredOptionsAndLabelName : OptionsAndLabelNameTuples,\n        maxOptionsDisplayedPerGroup? : number,\n    ) : number => {\n        if (undefined === maxOptionsDisplayedPerGroup) {\n            return 0;\n        }\n\n        return filteredOptionsAndLabelName.map((value : [string | null, Array<IOption>]) => {\n            const filteredOptions = value[1];\n            return Math.max(0, filteredOptions.length - maxOptionsDisplayedPerGroup);\n        })\n        .reduce((sum, current) => sum + current, 0);\n    }\n\n    private readonly getGroupLists = (\n        filteredOptionsAndLabelName : OptionsAndLabelNameTuples,\n        selectedOption : IOption | null,\n        hasCreateCustomOption : boolean,\n        customOptionGroupLabel : string | null,\n        groupEmptyState : JSX.Element | null,\n        maxOptionsDisplayedPerGroup? : number,\n    ) : Array<JSX.Element | null> => {\n        const groupedOptions = filteredOptionsAndLabelName.map((value : [string | null, Array<IOption>], index : number) => {\n            const [labelName, filteredOptions] = value;\n\n            let limitedFilteredOptions : Array<IOption>;\n            if (undefined === maxOptionsDisplayedPerGroup) {\n                limitedFilteredOptions = filteredOptions;\n            } else {\n                limitedFilteredOptions = filteredOptions.slice(0, maxOptionsDisplayedPerGroup);\n            }\n\n            const groupHasCreateCustomOption = hasCreateCustomOption && customOptionGroupLabel === labelName;\n            const groupIsEmpty = limitedFilteredOptions.length === 0;\n            const searchBarStateValid = this.state.searchBarState.value !== null && this.state.searchBarState.value.length !== 0;\n            let buttonText = this.state.searchBarState.value ? `Add \"${ this.state.searchBarState.value }\"` : 'Type to create new';\n            if (this.props.createCustomOptionButtonLabel) {\n                buttonText = this.props.createCustomOptionButtonLabel;\n            }\n\n            return groupIsEmpty && !groupEmptyState ? null : (\n                <div className=\"dropdown-menu-component-option-list\" key={ index }>\n                    { labelName !== null &&\n                        <div className=\"dropdown-group-label\">{ labelName }</div>\n                    }\n\n                    { this.props.getOptionElementsForGroup(limitedFilteredOptions, selectedOption) }\n\n                    { groupIsEmpty && groupEmptyState }\n\n                    { groupHasCreateCustomOption && !searchBarStateValid && !this.props.createCustomOptionButtonLabel &&\n                        <div onClick={ this.setSearchBarInFocus } className=\"create-new-button\">{ buttonText }</div>\n                    }\n\n                    { ((groupHasCreateCustomOption && searchBarStateValid) || (this.props.createCustomOptionButtonLabel && this.props.hasCreateCustomOption))  &&\n                        <Button\n                            buttonClassName=\"add-custom-dropdown-option-button reset-dark-styles primary flat with-icon\"\n                            isDisabled={ (this.state.searchBarState.value === null && this.props.isSearchable) }\n                            isLoading={ false }\n                            onClick={ this.handleOnCreateCustomOption }\n                        >\n                            <span className=\"button-text-container\">\n                                <span className=\"bevicon bevico-add\" />\n                                <span className=\"button-text\">{ buttonText }</span>\n                            </span>\n                        </Button>\n                    }\n                </div>\n            );\n        });\n        return groupedOptions;\n    }\n\n    private readonly handleOnCreateCustomOption = () => {\n        if ((this.state.searchBarState.value !== null || !this.props.isSearchable) && this.props.createCustomOption !== null) {\n            this.props.createCustomOption(this.state.searchBarState.value ? this.state.searchBarState.value : '');\n            this.closeDropdown();\n        }\n    }\n\n    private readonly getOverlayRef = (element : HTMLDivElement | null) => {\n        this.dropdownMenuOverlayDiv = element;\n        if (element) {\n            const optionsList = element.querySelector<HTMLElement>('.dropdown-menu-component-options');\n            if (optionsList && optionsList.offsetHeight > 0) {\n                this.lastMeasuredPanelHeight = optionsList.offsetHeight;\n            }\n        }\n    }\n\n    private readonly handleOnSearchBarValueChange = (searchTerm : string) => {\n\n        let modifiedSearchTerm = searchTerm;\n        if (this.props.isTitleCase) {\n            modifiedSearchTerm = StringUtils.normalizeToTitleCase(searchTerm);\n        }\n\n        const newOptions = this.filterOptionsBasedOnSearchTerm(searchTerm, this.props.sortedOptionsAndLabelName);\n        this.setState({\n            searchBarState: {\n                ...this.state.searchBarState,\n                value: modifiedSearchTerm,\n                filteredValue: searchTerm,\n            },\n            filteredOptionsAndLabelName: newOptions,\n        });\n        if (this.props.onSearchValueChanged) {\n            this.props.onSearchValueChanged(modifiedSearchTerm);\n        }\n    }\n\n    private readonly handleOnClearSearchBar = () => {\n        const newOptions = this.filterOptionsBasedOnSearchTerm(null, this.props.sortedOptionsAndLabelName);\n        this.setState({\n            searchBarState: {\n                ...this.state.searchBarState,\n                value: null,\n                filteredValue: null,\n                isFocused: true\n            },\n            filteredOptionsAndLabelName: newOptions,\n        });\n\n        if (this.props.onSearchValueChanged) {\n            this.props.onSearchValueChanged(null);\n        }\n    }\n\n    private readonly handleOnSearchBarBlur = () => {\n        // TODO do nothing? ???????\n    }\n\n    private readonly handleOnSearchBarFocus = () => {\n        // TODO do nothing? ???????\n    }\n\n    private readonly handleOnSearchBarEnterClick = (searchTerm : string) => {\n        // TODO do nothing??\n    }\n\n    private readonly setSearchBarInFocus = () => {\n        const searchBarId = document.getElementById(\"generic-dropdown-searchbar\");\n        if (searchBarId) {\n            const searchBarInput = searchBarId.getElementsByTagName('input')[0];\n            searchBarInput.focus();\n        }\n    }\n\n    // TODO future: could pass in optional filter function to use instead of this\n    // it'd be nice if this matched the in-page filtering\n    private readonly filterOptionsBasedOnSearchTerm = (searchTerm : string | null, sortedOptionsAndLabelName : Array<[string | null, Array<IOption>]>) : Array<[string | null, Array<IOption>]> => {\n        if (searchTerm === null) {\n            return sortedOptionsAndLabelName;\n        }\n\n        const cleanedSearchTerm = cleanPhrase(searchTerm);\n\n        const newFilteredOptions : OptionsAndLabelNameTuples = [];\n\n        sortedOptionsAndLabelName.forEach((value : [string | null, Array<IOption>], index : number) => {\n            const newFilteredOptionsForLabel = value[1].filter((option : IOption) => {\n                const cleanedLabel = cleanPhrase(option.label);\n                const cleanedValue = cleanPhrase(option.value);\n\n                if (cleanedLabel.indexOf(cleanedSearchTerm) > -1 || cleanedValue.indexOf(cleanedSearchTerm) > -1) {\n                    return true;\n                }\n                return false;\n            });\n            newFilteredOptions[index] = [value[0], newFilteredOptionsForLabel];\n        });\n        return newFilteredOptions;\n\n    }\n}\n","import React from 'react';\n\nimport { IOption, OptionValue } from '../Dropdown/DropdownMenu';\n\nexport interface ISelect2DropdownOptionProps {\n    onOptionSelect : (optionValue : OptionValue) => void;\n    option : IOption;\n    isSelected : boolean;\n}\n\nexport class Select2DropdownOption extends React.Component<ISelect2DropdownOptionProps, object> {\n    public render() {\n        const {\n            option,\n            isSelected,\n        } = this.props;\n\n        const selectedOptionCheckmark = isSelected ? 'bevicon bevico-check' : '';\n\n        const optionClasses = ['select-2-dropdown-menu-option'];\n        if (option.disabled) {\n            optionClasses.push('disabled-option');\n        }\n        if (isSelected) {\n            optionClasses.push('selected-option');\n        }\n\n        return (\n            <div\n                className={ optionClasses.join(' ') }\n                onClick={ this.handleOnOptionSelect }\n            >\n                <span className={ selectedOptionCheckmark } />\n                { option.icon &&\n                    <span className={ `bevicon ${option.icon}` } />\n                }\n                <label className=\"reset-dark-styles\">{ option.label }</label>\n            </div>\n        );\n    }\n\n    private readonly handleOnOptionSelect = (event : React.SyntheticEvent<HTMLElement>) => {\n        event.stopPropagation();\n        if (!this.props.option.disabled) {\n            this.props.onOptionSelect(this.props.option.value);\n        }\n    }\n}\n","import React from 'react';\n\nimport { IOption } from '../Dropdown/DropdownMenu';\nimport { Select2DropdownOption } from './Select2DropdownOption';\n\nimport './Select2DropdownMenu.scss'; // this is basically copied from BulkEditDropdownMenu.scss\n\nimport { GenericSelect2DropdownMenu, Select2DropdownMenuTheme } from 'shared/components/Select2Dropdown/GenericSelect2DropdownMenu';\n\nexport type OptionsAndLabelNameTuples = Array<[string | null, Array<IOption>]>; // null means no label\n\nexport const makeOptionFromValue = (value : string) : IOption => {\n    return {\n        value,\n        label: value,\n        icon: null,\n    };\n};\n\ntype IOptionComparator = (a : IOption, b : IOption) => number;\ntype OptionalComparatorFunction = undefined | null | ((a : string, b : string) => number);\n\nconst defaultComparator = (comparator : OptionalComparatorFunction) : IOptionComparator => {\n    if (typeof comparator === 'undefined' || comparator === null) {\n        return (a : IOption, b : IOption) : number => (a.value.toLocaleLowerCase() > b.value.toLocaleLowerCase()) ? 1 : -1;\n    }\n\n    return (a : IOption, b : IOption) : number => comparator(a.value, b.value);\n};\n\nconst labelComparator = (comparator : OptionalComparatorFunction) : IOptionComparator => {\n    if (typeof comparator === 'undefined' || comparator === null) {\n        return (a : IOption, b : IOption) : number => (a.label.toLocaleLowerCase() > b.label.toLocaleLowerCase()) ? 1 : -1;\n    }\n\n    return (a : IOption, b : IOption) : number => comparator(a.label, b.label);\n};\n\nexport const createOptionsAndLabelNameTuplesFromValueArray = (\n    valueList : Array<string>,\n    group : string | null\n) : OptionsAndLabelNameTuples => {\n    return [\n        [group, valueList.map(makeOptionFromValue)],\n    ];\n};\n\nexport const createSortedOptionsAndLablNameTuplesFromOptionArray = (\n    unsortedList : Array<IOption>,\n    group : string | null,\n    compareFct? : (a : string, b : string) => number,\n) : OptionsAndLabelNameTuples => {\n    return [[\n        group,\n        unsortedList.sort(defaultComparator(compareFct)),\n    ]];\n};\n\nexport const addToSortedOptionList = (\n    prevList : OptionsAndLabelNameTuples,\n    newOption : string,\n    group : string | null,\n    compareFct? : (a : string, b : string) => number\n) : OptionsAndLabelNameTuples => {\n\n    // Do deep copy of structure Array<[string | null, Array<IOption>]>\n    const newList : OptionsAndLabelNameTuples = [];\n    prevList.forEach((tuple : [string | null, Array<IOption>]) => newList.push([tuple[0], [...tuple[1]]]));\n\n    let newOptionList : Array<IOption>;\n\n    // See if the group is present in the current list, if so use it.\n    const groupIndex = newList.findIndex((tuple) => tuple[0] === group);\n    if (groupIndex !== -1) {\n        newOptionList = newList[groupIndex][1];\n    } else {\n        newOptionList = new Array<IOption>();\n        newList.push([group, newOptionList]);\n    }\n\n    // Make sure that option is not already in the list. If so, then just return the old list.\n    if (newOptionList.filter((option) => option.value === newOption).length > 0) {\n        return prevList;\n    }\n\n    // Otherwise copy the old list add, the new option, and re-sort it.\n    newOptionList.push(makeOptionFromValue(newOption));\n    newOptionList.sort(defaultComparator(compareFct));\n\n    return newList;\n};\n\nexport const addToSortedLabelOptionList = (\n    prevList : OptionsAndLabelNameTuples,\n    newOption : string,\n    group : string | null,\n    compareFct? : (a : string, b : string) => number\n) : OptionsAndLabelNameTuples => {\n\n    // Do deep copy of structure Array<[string | null, Array<IOption>]>\n    const newList : OptionsAndLabelNameTuples = [];\n    prevList.forEach((tuple : [string | null, Array<IOption>]) => newList.push([tuple[0], [...tuple[1]]]));\n\n    let newOptionList : Array<IOption>;\n\n    // See if the group is present in the current list, if so use it.\n    const groupIndex = newList.findIndex((tuple) => tuple[0] === group);\n    if (groupIndex !== -1) {\n        newOptionList = newList[groupIndex][1];\n    } else {\n        newOptionList = new Array<IOption>();\n        newList.push([group, newOptionList]);\n    }\n\n    // Make sure that option is not already in the list. If so, then just return the old list.\n    if (newOptionList.filter((option) => option.value === newOption).length > 0) {\n        return prevList;\n    }\n\n    // Otherwise copy the old list add, the new option, and re-sort it.\n    newOptionList.push(makeOptionFromValue(newOption));\n    newOptionList.sort(labelComparator(compareFct));\n\n    return newList;\n};\n\nexport interface ISelect2DropdownMenuProps {\n    theme? : Select2DropdownMenuTheme;\n    classes? : string;\n    isSearchable : boolean;\n    selectedOptionHeaderShown : boolean;\n    sortedOptionsAndLabelName : OptionsAndLabelNameTuples;\n    selectedOption : IOption | null;\n    onOptionSelect : (optionValue : string) => void;\n    placeholderText : string | null;\n    buttonShouldDisplaySelectedLabel : boolean;\n    emptyState : JSX.Element | null;\n    maxOptionsDisplayedPerGroup? : number;\n    openDirection? : 'up' | 'down' | 'auto';\n    useFixedPositioning? : boolean;\n    isDisabled? : boolean;\n    isTitleCase? : boolean;\n    isOpenDefault? : boolean;\n    // isOpen : boolean;\n    // handleDropdownOpenClose : (dropdownIsOpen : boolean) => void;\n    onSearchValueChanged? : (newValue : string | null) => void;\n    isValid? : boolean;\n    errorMessage? : string;\n\n    hasCreateCustomOption : boolean;\n    createCustomOption : ((optionText : string) => void) | null;\n    createCustomOptionButtonLabel : string | null;\n    customOptionGroupLabel : string | null;  // specifies which group the create button should be in - assumes only one such group exists but WILL render the button wherever the group label is found in sortedOptionsAndLabelName!!\n}\n\nexport interface ISelect2DropdownMenuState {\n    isOpen : boolean;\n}\n\nexport class Select2DropdownMenu extends React.Component<ISelect2DropdownMenuProps, ISelect2DropdownMenuState> {\n\n    constructor(props : ISelect2DropdownMenuProps) {\n        super(props);\n\n        this.state = {\n            isOpen: this.props.isOpenDefault || false,\n        };\n    }\n\n    public render() {\n        const {\n            theme,\n            classes,\n            isSearchable,\n            selectedOptionHeaderShown,\n            openDirection,\n            useFixedPositioning,\n            selectedOption,\n            emptyState,\n            placeholderText,\n            isTitleCase,\n            hasCreateCustomOption,\n            customOptionGroupLabel,\n            buttonShouldDisplaySelectedLabel,\n            sortedOptionsAndLabelName,\n            createCustomOption,\n            createCustomOptionButtonLabel,\n            maxOptionsDisplayedPerGroup,\n            onSearchValueChanged,\n            isValid,\n            errorMessage,\n        } = this.props;\n\n        const validationClasses = isValid === false ? ' invalid-input' : '';\n\n        return (\n            <>\n                <GenericSelect2DropdownMenu\n                    theme={ theme }\n                    classes={ classes + validationClasses }\n                    isSearchable={ isSearchable }\n                    selectedOptionHeaderShown={ selectedOptionHeaderShown }\n                    openDirection={ openDirection }\n                    useFixedPositioning={ useFixedPositioning }\n                    selectedOption={ selectedOption }\n                    emptyState={ emptyState }\n                    placeholderText={ placeholderText }\n                    isTitleCase={ isTitleCase }\n                    hasCreateCustomOption={ hasCreateCustomOption }\n                    buttonShouldDisplaySelectedLabel={ buttonShouldDisplaySelectedLabel }\n                    sortedOptionsAndLabelName={ sortedOptionsAndLabelName }\n                    getOptionElementsForGroup={ this.getOptionElementsForGroup }\n                    createCustomOption={ createCustomOption }\n                    getSelectedOptionElementForHeader={ this.getSelectedOptionForHeader }\n                    footerElement={ null } // TODOfuture: could pass in as prop\n                    isOpen={ this.state.isOpen }\n                    handleDropdownOpenClose={ this.handleSetDropdownIsOpen }\n                    createCustomOptionIsLoading={ false } // no use case for this being true right now, TODOfuture: can pass in as prop\n                    customOptionGroupLabel={ customOptionGroupLabel }\n                    createCustomOptionButtonLabel={ createCustomOptionButtonLabel }\n                    maxOptionsDisplayedPerGroup={ maxOptionsDisplayedPerGroup }\n                    onSearchValueChanged={ onSearchValueChanged }\n                />\n                { isValid === false &&\n                    <div className=\"error-text\">\n                        { errorMessage }\n                    </div>\n                }\n            </>\n        );\n\n    }\n\n    private readonly handleSetDropdownIsOpen = (isOpen : boolean) => {\n        if (!this.props.isDisabled) {\n            this.setState({\n                isOpen,\n            });\n        }\n    }\n\n    private readonly getSelectedOptionForHeader = (selectedOption : IOption) => {\n        return (\n            <Select2DropdownOption // put the selected option at the top\n                option={ selectedOption }\n                onOptionSelect={ this.handleOnSelectOption }\n                isSelected={ true }\n            />\n        );\n    }\n\n    private readonly getOptionElementsForGroup = (filteredOptions : Array<IOption>, selectedOption : IOption | null) : Array<JSX.Element | null> => {\n        const {\n            selectedOptionHeaderShown,\n        } = this.props;\n\n        const optionElements : Array<JSX.Element | null> = filteredOptions.map((option : IOption, index : number) => {\n            const isSelectedOption = selectedOption !== null && option.value === selectedOption.value;\n\n            // omit the currently selected option from option list if `selectedOptionHeaderShown`\n            return selectedOptionHeaderShown && isSelectedOption ? null : (\n               <Select2DropdownOption\n                    option={ option }\n                    onOptionSelect={ this.handleOnSelectOption }\n                    isSelected={ isSelectedOption }\n                    key={ index }\n               />\n            );\n        });\n        return optionElements;\n    }\n\n    // so dirty.... but bc the components that call this come from here, must do this\n    private readonly handleOnSelectOption = (optionValue : string) => {\n        // leave open if you re-select current value\n        // in the future we might want to make this behavior dependant on a prop\n        if (this.props.selectedOption === null || optionValue !== this.props.selectedOption.value) {\n            this.setState({\n                isOpen: false\n            });\n\n            this.props.onOptionSelect(optionValue);\n        }\n    }\n}\n","import { ReactNode, useState } from 'react';\nimport { NavLink } from 'react-router';\n\nimport { Flex } from 'shared/components/FlexLayout/Flex';\n\nimport 'shared/components/SideNav/SideNav.scss';\n\ninterface SideNavBaseItem {\n    key: string;\n    content: ReactNode;\n}\n\nexport interface SideNavRouterItem extends SideNavBaseItem {\n    to: string;\n}\n\nexport type SideNavAnchorItem = SideNavBaseItem;\n\ninterface SideNavBaseProps {\n    className?: string;\n    headerText: string;\n    headerSubtext?: string;\n    footer?: ReactNode;\n}\n\n// The two modes are mutually exclusive: router items own their active state, anchor items are told\n// theirs. `never` on the unused props keeps callers from mixing the two.\ninterface SideNavRouterProps extends SideNavBaseProps {\n    linkType: \"router\"\n    items: ReadonlyArray<SideNavRouterItem>;\n}\n\ninterface SideNavAnchorProps extends SideNavBaseProps {\n    linkType: \"anchor\"\n    items: ReadonlyArray<SideNavAnchorItem>;\n    activeItemKey: string;\n    onItemClick: (key: string) => void;\n}\n\ntype SideNavProps = SideNavRouterProps | SideNavAnchorProps;\n\nexport function SideNav(props: SideNavProps) {\n    const { className, headerText, headerSubtext, footer, items, linkType } = props;\n    const [isMobileExpanded, setIsMobileExpanded] = useState(false);\n\n    return (\n        <nav className={`side-nav${isMobileExpanded ? ' side-nav-mobile-expanded' : ''}${className ? ` ${className}` : ''}`}>\n            <Flex\n                direction=\"row\"\n                align=\"center\"\n                justify=\"space-between\"\n                grow={0}\n                basis=\"auto\"\n                className=\"side-nav-header\"\n                onClick={() => setIsMobileExpanded(!isMobileExpanded)}\n            >\n                <div>\n                    <h4>{headerText}</h4>\n                    {headerSubtext && <p className=\"side-nav-header-subtext\">{headerSubtext}</p>}\n                </div>\n                <span className={`side-nav-mobile-toggle bevicon ${isMobileExpanded ? 'bevico-keyboard-arrow-up' : 'bevico-keyboard-arrow-down'}`} />\n            </Flex>\n            <Flex direction=\"column\" grow={1} className=\"side-nav-content\">\n                <Flex direction=\"column\" grow={1} className=\"side-nav-body\">\n\n                    { linkType === \"router\" ? items.map((item) => (\n                        <NavLink\n                            key={item.key}\n                            to={item.to}\n                            className={({ isActive }) =>\n                                `side-nav-item${isActive ? ' active' : ''}`\n                            }\n                        >\n                            {item.content}\n                        </NavLink>\n                    )) : items.map((item) => {\n                        const isActive = item.key === props.activeItemKey;\n\n                        return (\n                            <a\n                                key={item.key}\n                                href={`#${item.key}`}\n                                className={`side-nav-item${isActive ? ' active' : ''}`}\n                                aria-current={isActive ? 'page' : undefined}\n                                onClick={(event) => {\n                                    // The consumer scrolls, so don't let the browser also jump there.\n                                    event.preventDefault();\n                                    props.onItemClick(item.key);\n                                }}\n                            >\n                                {item.content}\n                            </a>\n                        );\n                    })}\n                </Flex>\n                {footer && (\n                    <div className=\"side-nav-footer\">\n                        {footer}\n                    </div>\n                )}\n            </Flex>\n        </nav>\n    );\n}","import { ThunkAction } from 'shared/models/IAction';\n\nimport { IAction, IActionCreatorsMapObject } from '../../../models/IAction';\nimport { validateValueByFieldName } from '../utils';\n\nimport { ISignInFormState, signInFormFieldName } from './reducers';\n\nimport { UserSessionManagerImpl } from '../../../lib/account/impl/UserSessionManagerImpl';\nimport { BevSpotDispatch } from 'shared/components/Provider';\n\nexport interface ISignInFormStore {\n    signInFormState : ISignInFormState;\n}\n\nexport const ActionTypes = {\n    SET_FORM_FIELD_VALIDATION_DATA : 'SIGN_IN_FORM/SET_FORM_FIELD_VALIDATION_DATA',\n    SET_FORM_VALIDATION_DATA : 'SIGN_IN_FORM/SET_FORM_VALIDATION_DATA',\n    SET_IS_SUBMITTING : 'SIGN_IN_FORM/SET_IS_SUBMITTING',\n};\n\nexport namespace SignInFormActionInterfaces {\n    export interface ISetFormFieldValidationData extends IAction {\n        payload : {\n            field : signInFormFieldName;\n            value : string;\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetFormValidationData extends IAction {\n        payload : {\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetIsSubmitting extends IAction {\n        payload : {\n            isSubmitting : boolean;\n        };\n    }\n\n    export interface ISignInFormActionCreatorsMapObject extends IActionCreatorsMapObject {\n        onFormFieldChange : (\n            field : signInFormFieldName,\n            value : string\n        ) => ThunkAction<void, ISignInFormStore, {services : SignInFormActionInterfaces.IServices}>;\n        onSubmit : (\n            formState : ISignInFormState,\n        ) => ThunkAction<Promise<boolean | void>, ISignInFormStore, {services : SignInFormActionInterfaces.IServices}>;\n        onResetForm : () => ThunkAction<void, ISignInFormStore, {services : SignInFormActionInterfaces.IServices}>;\n    }\n\n    export interface IServices {\n        userSessionManager : UserSessionManagerImpl;\n    }\n}\n\nexport type SignInFormDispatch = BevSpotDispatch<ISignInFormStore, { services: SignInFormActionInterfaces.IServices }>;\n\nconst setFormFieldValidationData = (\n    field : signInFormFieldName,\n    value : string,\n    isValid : boolean,\n    errorMessage : string\n) : SignInFormActionInterfaces.ISetFormFieldValidationData => ({\n    payload : {\n        field,\n        value,\n        isValid,\n        errorMessage,\n    },\n    type : ActionTypes.SET_FORM_FIELD_VALIDATION_DATA,\n});\n\nconst setFormValidationData = (\n    isValid : boolean,\n    errorMessage : string\n) : SignInFormActionInterfaces.ISetFormValidationData => ({\n    payload : {\n        isValid,\n        errorMessage,\n    },\n    type : ActionTypes.SET_FORM_VALIDATION_DATA,\n});\n\nconst setIsSubmitting = (\n    isSubmitting : boolean\n) : SignInFormActionInterfaces.ISetIsSubmitting => ({\n    payload : {\n        isSubmitting,\n    },\n    type : ActionTypes.SET_IS_SUBMITTING,\n});\n\nconst onFormFieldChange = (\n    field : signInFormFieldName,\n    value : string,\n) : ThunkAction<void, ISignInFormStore, {services : SignInFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const validationResult = validateValueByFieldName(field, value, null);\n        dispatch(setFormFieldValidationData(field, value, validationResult.isValid, validationResult.errorMessage));\n    };\n};\n\nconst onSubmit = (\n    formState : ISignInFormState,\n) : ThunkAction<Promise<boolean | void>, ISignInFormStore, {services : SignInFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<boolean | void> => {\n        const validationInputDataByFieldName = formState.validationInputDataByFieldName;\n        let formIsValid = true;\n        Object.keys(validationInputDataByFieldName).forEach((key) => {\n            const fieldName = key as signInFormFieldName;\n            const fieldValue = (validationInputDataByFieldName)[fieldName].value;\n            const validationResult = validateValueByFieldName(fieldName, fieldValue, null);\n\n            const { isValid, errorMessage } = validationResult;\n            formIsValid = formIsValid && isValid;\n\n            dispatch(setFormFieldValidationData(fieldName, fieldValue, isValid, errorMessage));\n        });\n\n        if (formIsValid) {\n            return Promise.resolve(false);\n        } else {\n            dispatch(setFormValidationData(false, 'Please correctly fill in the form fields.'));\n        }\n\n        return Promise.resolve(false);\n    };\n};\n\nconst onResetForm = (\n) : ThunkAction<void, ISignInFormStore, {services : SignInFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        const formFields : Array<signInFormFieldName> = ['emailAddressOrAccountId', 'password']; // This could be more robust\n\n        for (let i = 0; i < formFields.length; i++) {\n            dispatch(setFormFieldValidationData(formFields[i], '', true, ''));\n        }\n\n        dispatch(setIsSubmitting(false));\n    };\n};\n\nexport const SignInFormActions : SignInFormActionInterfaces.ISignInFormActionCreatorsMapObject = {\n    onFormFieldChange,\n    onSubmit,\n    onResetForm,\n};\n","import React from 'react';\n\nimport { ISignUpFormState, signUpFormFieldName } from './reducers';\n\nimport { AddressFormFieldName, ConnectedAddressForm } from 'shared/components/AddressForm/AddressForm';\nimport { Button } from '../../Button';\nimport { IValidationInputData, ValidationInput } from '../../ValidationInput';\n\nexport interface ISignUpFormProps {\n    headerTitle : string | null;\n    headerMessage : string | null;\n    signUpFormState : ISignUpFormState;\n    onFormFieldChange : (field : signUpFormFieldName, value : string | boolean) => void;\n    onFormFieldBlur : (field : signUpFormFieldName, value : string | boolean) => void;\n    additionalUserFieldsAreShown : boolean;\n    additionalRetailerFieldsAreShown : boolean;\n    additionalRetailerFieldsAreRequired : boolean;\n    submitButtonContents : string | JSX.Element;\n    onSubmit : () => void;\n    setAddressFormField : (fieldName : AddressFormFieldName, validationInputData : IValidationInputData) => void;\n}\n\nexport class SignUpForm extends React.Component<ISignUpFormProps, object> {\n    public render() {\n        const {\n            headerTitle,\n            headerMessage,\n            signUpFormState,\n            onFormFieldChange,\n            onFormFieldBlur,\n            additionalUserFieldsAreShown,\n            additionalRetailerFieldsAreShown,\n            additionalRetailerFieldsAreRequired,\n            submitButtonContents,\n            onSubmit,\n            setAddressFormField,\n        } = this.props;\n\n        const makeValidationInput = (fieldName : signUpFormFieldName, fieldData : IValidationInputData, label : string) : JSX.Element => {\n            const onChange = (event : React.ChangeEvent<HTMLInputElement>) => onFormFieldChange(fieldName, event.currentTarget.value);\n            const onBlur = (event : React.FocusEvent<HTMLInputElement>) => onFormFieldBlur(fieldName, event.currentTarget.value);\n\n            return (\n                <ValidationInput\n                    key={ fieldName }\n                    inputClassName=\"\"\n                    type=\"text\"\n                    autoFocus={ false }\n                    autoComplete={ null }\n                    errorMessage={ fieldData.errorMessage }\n                    isValid={ fieldData.isValid }\n                    handleBlur={ onBlur }\n                    handleFocus={ null }\n                    handleChange={ onChange }\n                    handleEnterClick={ onSubmit }\n                    label={ label }\n                    hintText={ null }\n                    value={ fieldData.value }\n                />\n            );\n        };\n\n        /* tslint:disable:max-line-length */\n        return (\n            <div className=\"sign-up-form\">\n                { (headerMessage !== null) &&\n                    <div>\n                        <h5>{ headerTitle }</h5>\n                        <p>{ headerMessage }</p>\n                    </div>\n                }\n                <div className=\"row\">\n                    <div className=\"col-xs-12 col-sm-6\">\n                        { makeValidationInput('firstName', signUpFormState.validationInputDataByFieldName.firstName, 'First Name') }\n                    </div>\n                    <div className=\"col-xs-12 col-sm-6\">\n                        { makeValidationInput('lastName', signUpFormState.validationInputDataByFieldName.lastName, 'Last Name') }\n                    </div>\n                </div>\n\n                <div className=\"row\">\n                    <div className=\"col-xs-12\">\n                        { makeValidationInput('emailAddress', signUpFormState.validationInputDataByFieldName.emailAddress, 'Email') }\n                    </div>\n                </div>\n\n                { additionalUserFieldsAreShown &&\n                    <div className=\"row\">\n                        <div className=\"col-xs-12\">\n                            { makeValidationInput('phone', signUpFormState.validationInputDataByFieldName.phone, 'Mobile Phone') }\n                        </div>\n                    </div>\n                }\n\n                { additionalRetailerFieldsAreShown &&\n                    <div className=\"row\">\n                        <div className=\"col-xs-12\">\n                            { makeValidationInput('barName', signUpFormState.validationInputDataByFieldName.barName, `Bar Name${ additionalRetailerFieldsAreRequired ? '' : ' (Optional)' }`) }\n                        </div>\n                    </div>\n                }\n\n                { additionalRetailerFieldsAreShown && additionalRetailerFieldsAreRequired &&\n                    <div className=\"row\">\n                        <ConnectedAddressForm // for right now, need full address to create a retailer\n                            validationInputDataByFieldName={ signUpFormState.validationInputDataByFieldName }\n                            rowClassName=\"col-xs-12\"\n                            addressLine1Label=\"Street Address Line 1\"\n                            addressLine2Label=\"Street Address Line 2 (Optional)\"\n                            countryIsDisabled={ false }\n                            setValidationInputForField={ setAddressFormField }\n                            onEnterClick={ this.doNothingFunction }\n                        />\n                    </div>\n                }\n\n                { additionalRetailerFieldsAreShown && !additionalRetailerFieldsAreRequired &&\n                    <div className=\"row\">\n                        <div className=\"col-xs-12\">\n                            { makeValidationInput('optionalZipCode', signUpFormState.validationInputDataByFieldName.optionalZipCode, 'Zip Code (Optional)') }\n                        </div>\n                    </div>\n                }\n\n                { /*<span className=\"subscribe-to-blog-checkbox-container\">\n                    <input\n                        id=\"subscribe-to-blog\"\n                        type=\"checkbox\"\n                        checked={ signUpFormState.validationInputDataByFieldName.subscribeToBlog.value }\n                        onChange={ onFormFieldChange.bind(null, 'subscribeToBlog', !signUpFormState.validationInputDataByFieldName.subscribeToBlog.value) }\n                    />\n                    <label\n                        className=\"bar-profit-subscribe-label\"\n                        onClick={ onFormFieldChange.bind(null, 'subscribeToBlog', !signUpFormState.validationInputDataByFieldName.subscribeToBlog.value) }\n                    >\n                        Keep me up-to-date with industry news and resources\n                    </label>\n                </span>*/ }\n\n                <Button\n                    buttonClassName=\"modal-sign-up-button primary\"\n                    isDisabled={ signUpFormState.isSubmitting }\n                    isLoading={ signUpFormState.isSubmitting }\n                    onClick={ onSubmit }\n                >\n                    { submitButtonContents }\n                </Button>\n\n                { !signUpFormState.isValid && signUpFormState.errorMessage &&\n                    <p className=\"form-error-message\">{ signUpFormState.errorMessage }</p>\n                }\n\n            </div>\n        );\n    }\n\n    private readonly doNothingFunction = () => undefined;\n}\n","import { ThunkAction, IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport AccountsExceptions from 'gen-thrift/accounts_Exceptions_types';\nimport CorePrimitivesModel from 'gen-thrift/core_primitives_Model_types';\nimport UserInfoExceptions from 'gen-thrift/user_info_Exceptions_types';\n\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { validateValueByFieldName } from '../utils';\n\nimport { ISignUpFormState, signUpFormFieldName, signUpFormInitialValidationInputDataByFieldName } from './reducers';\n\nimport { AddressFormFieldName } from 'shared/components/AddressForm/AddressForm';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\nimport { UserAccountManagerImpl } from 'shared/lib/account/impl/UserAccountManagerImpl';\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { BevSpotDispatch } from 'shared/components/Provider';\n\nexport type ISignUpFormStore = object;\n\nexport const ActionTypes = {\n    SET_FORM_FIELD_VALIDATION_DATA : 'SIGN_UP_FORM/SET_FORM_FIELD_VALIDATION_DATA',\n    SET_FORM_VALIDATION_DATA : 'SIGN_UP_FORM/SET_FORM_VALIDATION_DATA',\n    SET_IS_SUBMITTING : 'SIGN_UP_FORM/SET_IS_SUBMITTING',\n    SET_HAS_SUCCESSFULLY_SUBMITTED : 'SIGN_UP_FORM/SET_HAS_SUCCESSFULLY_SUBMITTED',\n};\n\nexport namespace SignUpFormActionInterfaces {\n    export interface ISetFormFieldValidationData extends IAction {\n        payload : {\n            field : signUpFormFieldName;\n            value : string | boolean;\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetFormValidationData extends IAction {\n        payload : {\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetIsSubmitting extends IAction {\n        payload : {\n            isSubmitting : boolean;\n        };\n    }\n\n    export interface ISetHasSuccessfullySubmitted extends IAction {\n        payload : {\n            hasSuccessfullySubmitted : boolean;\n        };\n    }\n\n    export interface ISignUpFormActionCreatorsMapObject extends IActionCreatorsMapObject {\n        onFormFieldChange : (\n            field : signUpFormFieldName,\n            value : string | boolean\n        ) => ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}>;\n        onFormFieldBlur : (\n            field : signUpFormFieldName,\n            value : string | boolean,\n        ) => ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}>;\n        onSetHasSuccessfullySubmitted : (\n            hasSuccessfullySubmitted : boolean,\n        ) => ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}>;\n        onResetForm : () => ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}>;\n        onSubmit : (\n            formState : ISignUpFormState,\n            additionalFieldsAreShown : boolean,\n            additionalRetailerFieldsAreRequired : boolean,\n            shouldCreateSession : boolean,\n        ) => ThunkAction<Promise<UserAccountId | void>, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}>;\n        onSetAddressFormField : (\n            fieldName : AddressFormFieldName,\n            validationInputData : IValidationInputData\n        ) => ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}>;\n    }\n\n    export interface IServices {\n        userAccountManager : UserAccountManagerImpl;\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n    }\n}\n\nexport type SignUpFormDispatch = BevSpotDispatch<ISignUpFormState, { services: SignUpFormActionInterfaces.IServices }>\n\nconst setFormFieldValidationData = (\n    field : signUpFormFieldName,\n    value : string | boolean,\n    isValid : boolean,\n    errorMessage : string\n) : SignUpFormActionInterfaces.ISetFormFieldValidationData => ({\n    payload : {\n        field,\n        value,\n        isValid,\n        errorMessage,\n    },\n    type : ActionTypes.SET_FORM_FIELD_VALIDATION_DATA,\n});\n\nconst setFormValidationData = (\n    isValid : boolean,\n    errorMessage : string\n) : SignUpFormActionInterfaces.ISetFormValidationData => ({\n    payload : {\n        isValid,\n        errorMessage,\n    },\n    type : ActionTypes.SET_FORM_VALIDATION_DATA,\n});\n\nconst setIsSubmitting = (\n    isSubmitting : boolean\n) : SignUpFormActionInterfaces.ISetIsSubmitting => ({\n    payload : {\n        isSubmitting,\n    },\n    type : ActionTypes.SET_IS_SUBMITTING,\n});\n\nconst setHasSuccessfullySubmitted = (\n    hasSuccessfullySubmitted : boolean\n) : SignUpFormActionInterfaces.ISetHasSuccessfullySubmitted => ({\n    payload : {\n        hasSuccessfullySubmitted,\n    },\n    type : ActionTypes.SET_HAS_SUCCESSFULLY_SUBMITTED,\n});\n\nconst onFormFieldChange = (\n    field : signUpFormFieldName,\n    value : string | boolean,\n) : ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        if (field === 'subscribeToBlog') {\n            dispatch(setFormFieldValidationData(field, value, true, ''));\n        } else {\n            const validationResult = validateValueByFieldName(field, value as string, null);\n            dispatch(setFormFieldValidationData(field, value, validationResult.isValid, validationResult.errorMessage));\n        }\n    };\n};\n\nconst onFormFieldBlur = (\n    field : signUpFormFieldName,\n    value : string | boolean,\n) : ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        if (field === 'subscribeToBlog') {\n            dispatch(setFormFieldValidationData(field, value, true, ''));\n        } else {\n            const validationResult = validateValueByFieldName(field, value as string, null);\n            dispatch(setFormFieldValidationData(field, value, validationResult.isValid, validationResult.errorMessage));\n        }\n    };\n};\n\nconst onSubmit = (\n    formState : ISignUpFormState,\n    additionalFieldsAreShown : boolean,\n    additionalRetailerFieldsAreRequired : boolean,\n    shouldCreateSession : boolean,\n) : ThunkAction<Promise<UserAccountId | void>, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : Promise<UserAccountId | void> => {\n        const validationInputDataByFieldName = formState.validationInputDataByFieldName;\n        let formIsValid = true;\n\n        Object.keys(validationInputDataByFieldName).forEach((key) => {\n            const fieldName = key as signUpFormFieldName;\n            if ((fieldName !== 'subscribeToBlog') && (additionalFieldsAreShown || (fieldName !== 'phone'))) {\n                const fieldValue = (validationInputDataByFieldName)[fieldName].value;\n\n                let validationResult;\n                if (additionalRetailerFieldsAreRequired && fieldName === 'zipCode') {\n                    validationResult = validateValueByFieldName('zipCode', fieldValue, validationInputDataByFieldName.country.value); // need to use the required validation\n                } else if (additionalRetailerFieldsAreRequired && fieldName === 'barName') {\n                    validationResult = validateValueByFieldName('retailerName', fieldValue, null); // need to use the required validation\n                } else if (!additionalRetailerFieldsAreRequired && (fieldName === 'city' || fieldName === 'state' || fieldName === 'streetAddressLine1' || fieldName === 'streetAddressLine2' || fieldName === 'zipCode')) {\n                    validationResult = { isValid: true, errorMessage: '' }; // ignore address form if those aren't required\n                } else {\n                    const countryFieldIsShown = additionalFieldsAreShown && additionalRetailerFieldsAreRequired;\n                    validationResult = validateValueByFieldName(fieldName, fieldValue, countryFieldIsShown ? validationInputDataByFieldName.country.value : null);\n                }\n\n                const { isValid, errorMessage } = validationResult;\n                formIsValid = formIsValid && isValid;\n\n                dispatch(setFormFieldValidationData(fieldName, fieldValue, isValid, errorMessage));\n            }\n        });\n\n        if (formIsValid) {\n            dispatch(setFormValidationData(true, ''));\n            dispatch(setIsSubmitting(true));\n\n            let createAccountPromise : Promise<UserAccountId>;\n            if (shouldCreateSession) {\n                createAccountPromise = extraArguments.services.userAccountManager.createAccountAndAssociateEmailAddressAndSendPasswordSettingEmailAndCreateSession(\n                    validationInputDataByFieldName.firstName.value,\n                    validationInputDataByFieldName.lastName.value,\n                    new CorePrimitivesModel.EmailAddress({ value : validationInputDataByFieldName.emailAddress.value as string }),\n                    (validationInputDataByFieldName.phone.value) ? validationInputDataByFieldName.phone.value : null,\n                )\n                .then(() => {\n                    return extraArguments.services.userSessionReader.getAccountId();\n                });\n            } else {\n                createAccountPromise = extraArguments.services.userAccountManager.createAccountAndAssociateEmailAddressAndSendPasswordSettingEmail(\n                    validationInputDataByFieldName.firstName.value,\n                    validationInputDataByFieldName.lastName.value,\n                    new CorePrimitivesModel.EmailAddress({ value : validationInputDataByFieldName.emailAddress.value as string }),\n                    (validationInputDataByFieldName.phone.value) ? validationInputDataByFieldName.phone.value : null,\n                );\n            }\n\n            return createAccountPromise\n            .then((userAccountIdentifier) =>  {\n                if (typeof window.fbq !== 'undefined') {\n                    window.fbq('trackCustom', 'UserSignUp', {\n                        page: window.location.href,\n                    });\n                }\n\n                return userAccountIdentifier;\n            }).catch((error) => {\n                dispatch(setIsSubmitting(false));\n                if (error instanceof AccountsExceptions.EmailAddressAlreadyAssociatedWithAnAccountException) {\n                    dispatch(setFormFieldValidationData('emailAddress', validationInputDataByFieldName.emailAddress.value, false, 'Currently associated with another user'));\n                } else if (error instanceof UserInfoExceptions.FirstNameInvalidStringLengthException) {\n                    dispatch(setFormFieldValidationData('firstName', validationInputDataByFieldName.firstName.value, false, 'Invalid last name'));\n                } else if (error instanceof UserInfoExceptions.LastNameInvalidStringLengthException) {\n                    dispatch(setFormFieldValidationData('lastName', validationInputDataByFieldName.lastName.value, false, 'Invalid first name'));\n                } else if (error instanceof AccountsExceptions.UnknownEmailAddressException) {\n                    dispatch(setFormFieldValidationData('emailAddress', validationInputDataByFieldName.emailAddress.value, false, 'Invalid email address'));\n                } else if (error instanceof UserInfoExceptions.PhoneNumberInvalidStringLengthException) {\n                    dispatch(setFormFieldValidationData('phone', validationInputDataByFieldName.phone.value, false, 'Invalid phone number'));\n                } else {\n                    dispatch(setFormValidationData(false, 'Something went wrong with the sign up attempt'));\n                    throw error;\n                }\n            });\n        } else {\n            dispatch(setFormValidationData(false, 'Please correctly fill in the form fields.'));\n        }\n\n        return Promise.resolve();\n    };\n};\n\nconst onSetHasSuccessfullySubmitted = (\n    hasSuccessfullySubmitted : boolean,\n) : ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setHasSuccessfullySubmitted(hasSuccessfullySubmitted));\n    };\n};\n\nconst onSetAddressFormField = (\n    fieldName : AddressFormFieldName, validationInputData : IValidationInputData\n): ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setFormFieldValidationData(fieldName, validationInputData.value, validationInputData.isValid, validationInputData.errorMessage));\n    };\n};\n\nconst onResetForm = () : ThunkAction<void, ISignUpFormStore, {services : SignUpFormActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        Object.keys(signUpFormInitialValidationInputDataByFieldName).forEach((fieldNameValue) => {\n            const fieldName = fieldNameValue as signUpFormFieldName;\n            const {\n                value,\n                isValid,\n                errorMessage,\n            } = signUpFormInitialValidationInputDataByFieldName[fieldName];\n\n            dispatch(setFormFieldValidationData(fieldName, value, isValid, errorMessage));\n        });\n\n        dispatch(setIsSubmitting(false));\n    };\n};\n\nexport const SignUpFormActions : SignUpFormActionInterfaces.ISignUpFormActionCreatorsMapObject = {\n    onFormFieldChange,\n    onFormFieldBlur,\n    onSetAddressFormField,\n    onResetForm,\n    onSetHasSuccessfullySubmitted,\n    onSubmit,\n};\n","import merge from 'lodash/merge';\nimport { Action } from '@reduxjs/toolkit';\n\nimport { ActionTypes, SignUpFormActionInterfaces } from './actions';\n\nimport { AddressFormFieldName } from 'shared/components/AddressForm/AddressForm';\nimport { IValidationInputData } from '../../ValidationInput';\n\nexport type signUpFormFieldName = 'firstName' | 'lastName' | 'emailAddress' | 'phone' | 'barName' | AddressFormFieldName | 'optionalZipCode' | 'subscribeToBlog';\n\nexport interface ISignUpFormState {\n    validationInputDataByFieldName : {\n        firstName : IValidationInputData;\n        lastName : IValidationInputData;\n        emailAddress : IValidationInputData;\n        phone : IValidationInputData;\n        barName : IValidationInputData;\n        country : IValidationInputData;\n        city : IValidationInputData;\n        state : IValidationInputData;\n        streetAddressLine1 : IValidationInputData;\n        streetAddressLine2 : IValidationInputData;\n        zipCode : IValidationInputData;\n        optionalZipCode : IValidationInputData;\n        subscribeToBlog : {\n            value : boolean;\n            isValid : boolean;\n            errorMessage : string;\n        };\n    };\n    isValid : boolean;\n    errorMessage : string;\n    isSubmitting : boolean;\n    hasSuccessfullySubmitted : boolean;\n}\n\nexport const signUpFormInitialValidationInputDataByFieldName = {\n    firstName : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    lastName : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    emailAddress : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    phone : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    barName : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    country : {\n        value: 'US', // is it ok if this is default?\n        isValid: true,\n        errorMessage: '',\n    },\n    city : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    state : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    streetAddressLine1 : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    streetAddressLine2 : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    zipCode : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    optionalZipCode : {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    subscribeToBlog : {\n        value : true,\n        isValid : true,\n        errorMessage : '',\n    },\n};\n\nconst SignUpFormInitialState : ISignUpFormState = {\n    validationInputDataByFieldName: signUpFormInitialValidationInputDataByFieldName,\n    isValid: true,\n    errorMessage: '',\n    isSubmitting: false,\n    hasSuccessfullySubmitted: false,\n};\n\nconst reduceSetFormFieldValidationData = (\n    state : ISignUpFormState,\n    action : SignUpFormActionInterfaces.ISetFormFieldValidationData\n) : ISignUpFormState => {\n    const updates = {\n        validationInputDataByFieldName: {\n            [action.payload.field]: {\n                value : action.payload.value,\n                errorMessage : action.payload.errorMessage,\n                isValid : action.payload.isValid,\n            },\n        },\n    };\n\n    return merge({}, state, updates);\n};\n\nconst reduceSetFormValidationData = (\n    state : ISignUpFormState,\n    action : SignUpFormActionInterfaces.ISetFormValidationData\n) : ISignUpFormState => {\n    const updates = {\n        isValid: action.payload.isValid,\n        errorMessage: action.payload.errorMessage,\n    };\n\n    return merge({}, state, updates);\n};\n\nconst reduceSetIsSubmitting = (\n    state : ISignUpFormState,\n    action : SignUpFormActionInterfaces.ISetIsSubmitting\n) : ISignUpFormState => {\n    const updates = {\n        isSubmitting: action.payload.isSubmitting,\n    };\n\n    return merge({}, state, updates);\n};\n\nconst reduceSetHasSuccessfullySubmitted = (\n    state : ISignUpFormState,\n    action : SignUpFormActionInterfaces.ISetHasSuccessfullySubmitted\n) : ISignUpFormState => {\n    const updates = {\n        hasSuccessfullySubmitted: action.payload.hasSuccessfullySubmitted\n    };\n\n    return merge({}, state, updates);\n};\n\nexport const SignUpFormReducers = (\n    state : ISignUpFormState = SignUpFormInitialState,\n    action : Action,\n) : ISignUpFormState => {\n    switch (action.type) {\n        case ActionTypes.SET_FORM_FIELD_VALIDATION_DATA:\n            return reduceSetFormFieldValidationData(state, action as SignUpFormActionInterfaces.ISetFormFieldValidationData);\n        case ActionTypes.SET_FORM_VALIDATION_DATA:\n            return reduceSetFormValidationData(state, action as SignUpFormActionInterfaces.ISetFormValidationData);\n        case ActionTypes.SET_IS_SUBMITTING:\n            return reduceSetIsSubmitting(state, action as SignUpFormActionInterfaces.ISetIsSubmitting);\n        case ActionTypes.SET_HAS_SUCCESSFULLY_SUBMITTED:\n            return reduceSetHasSuccessfullySubmitted(state, action as SignUpFormActionInterfaces.ISetHasSuccessfullySubmitted);\n        default:\n            return state;\n    }\n};\n","import React from 'react';\n\nimport { ISignInFormState, signInFormFieldName } from './reducers';\n\nimport { Button } from '../../Button';\nimport { IValidationInputData, ValidationInput } from '../../ValidationInput';\n\nimport { PathUtils } from 'shared/utils/pathUtils';\n\nexport interface ISignInFormProps {\n    signInFormState : ISignInFormState;\n    onFormFieldChange : (field : signInFormFieldName, value : string) => void;\n    onFormFieldBlur : (field : signInFormFieldName, value : string) => void;\n    onSubmit : () => void;\n}\n\nexport class SignInForm extends React.Component<ISignInFormProps, object> {\n    public render() {\n        const {\n            signInFormState,\n            onFormFieldChange,\n            onFormFieldBlur,\n            onSubmit,\n        } = this.props;\n\n        const makeValidationInput = (fieldName : signInFormFieldName, fieldData : IValidationInputData, label : string) : JSX.Element => {\n            const onChange = (event : React.ChangeEvent<HTMLInputElement>) => onFormFieldChange(fieldName, event.currentTarget.value);\n            const onBlur = (event : React.FocusEvent<HTMLInputElement>) => onFormFieldBlur(fieldName, event.currentTarget.value);\n\n            return (\n                <ValidationInput\n                    key={ fieldName }\n                    inputClassName=\"\"\n                    type={ fieldName === 'password' ? 'password' : 'text' }\n                    autoFocus={ false }\n                    autoComplete={ null }\n                    errorMessage={ fieldData.errorMessage }\n                    isValid={ fieldData.isValid }\n                    handleBlur={ onBlur }\n                    handleFocus={ null }\n                    handleChange={ onChange }\n                    handleEnterClick={ onSubmit }\n                    label={ label }\n                    hintText={ null }\n                    value={ fieldData.value }\n                />\n            );\n        };\n\n        return (\n            <div className=\"sign-in-form\">\n                <h5>Already have an account?</h5>\n                <p>Sign in to your personal account or Bar &amp; Restaurant Dashboard here.</p>\n\n                { makeValidationInput('emailAddressOrAccountId', signInFormState.validationInputDataByFieldName.emailAddressOrAccountId, 'Email Address (or Username)') }\n\n                { makeValidationInput('password', signInFormState.validationInputDataByFieldName.password, 'Password') }\n\n                <Button\n                    buttonClassName=\"modal-sign-in-button primary\"\n                    isDisabled={ signInFormState.isSubmitting }\n                    isLoading={ signInFormState.isSubmitting }\n                    onClick={ onSubmit }\n                >\n                    Log In\n                </Button>\n                { !signInFormState.isValid && signInFormState.errorMessage &&\n                    <p className=\"sign-in-error\">{ signInFormState.errorMessage }</p>\n                }\n\n                <a className=\"inline\" href={ PathUtils.getAbsolutePathForRequest('/forgotten_password/') }>\n                    Forgot your password?\n                </a>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { connect } from 'react-redux';\n\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\n\nimport { SignInForm } from '../SignInForm/SignInForm';\nimport { SignUpForm } from '../SignUpForm/SignUpForm';\nimport { ThanksForRegistering } from '../ThanksForRegistering/ThanksForRegistering';\n\nimport { signInFormFieldName } from '../SignInForm/reducers';\nimport { signUpFormFieldName } from '../SignUpForm/reducers';\n\nimport { ISignUpData } from '../ISignUpData';\nimport { SignInFormActions, SignInFormDispatch } from '../SignInForm/actions';\nimport { SignUpFormDispatch, SignUpFormActions } from '../SignUpForm/actions';\nimport { ThanksForRegisteringActions, ThanksForRegisteringDispatch } from '../ThanksForRegistering/actions';\nimport { SignUpOptionsFormActions } from './actions';\nimport { IActiveFormState, ISignUpOptionsState } from './reducers';\n\nimport { AddressFormFieldName } from 'shared/components/AddressForm/AddressForm';\nimport { ModalFlex } from 'shared/components/ModalFlex/ModalFlex';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { PathUtils } from 'shared/utils/pathUtils';\n\nimport '../../../css/SignUpOptionsForm.scss';\n\nexport interface ISignUpOptionsProps {\n    signUpOptionsState : ISignUpOptionsState;\n    availableFormOptions : Array<IActiveFormState>;\n    isEmbeddedInModal : boolean;\n    isDismissible : boolean;\n    formIsVisibleOnLoad : boolean;\n    additionalUserFieldsAreShown : boolean;\n    additionalRetailerFieldsAreShown : boolean;\n    additionalRetailerFieldsAreRequired : boolean;\n    onSuccessfulSignIn : () => Promise<void>;\n    onSuccessfulSignUp : (userAccountIdentifier : UserAccountId, signUpData : ISignUpData) => Promise<void>;\n}\n\nexport interface IBoundSignUpOptionsProps extends ISignUpOptionsProps {\n    dispatch : SignUpFormDispatch & ThanksForRegisteringDispatch & SignInFormDispatch;\n}\n\nexport class SignUpOptions extends React.Component<IBoundSignUpOptionsProps, object> {\n\n    public UNSAFE_componentWillMount() {\n        const {\n            dispatch,\n            formIsVisibleOnLoad,\n        } = this.props;\n\n        dispatch(SignUpOptionsFormActions.onSetFormIsShown(formIsVisibleOnLoad));\n    }\n\n    public render() {\n        const {\n            dispatch,\n            availableFormOptions,\n            isEmbeddedInModal,\n            isDismissible,\n            additionalUserFieldsAreShown,\n            additionalRetailerFieldsAreShown,\n            additionalRetailerFieldsAreRequired,\n            signUpOptionsState,\n            onSuccessfulSignIn,\n            onSuccessfulSignUp,\n        } = this.props;\n\n        const activeForm = signUpOptionsState.signUpOptionsForm.activeForm;\n\n        const handleModalCloseButtonClick = () => {\n            return dispatch(SignUpOptionsFormActions.onSetFormIsShown(false));\n        };\n        // const descriptionsByActiveForm : { [activeFormKey in IActiveFormState] : string } = {\n        //     signUpForm : 'Gain access to all of our premium content, including ebooks, trends, and the Drink Price Tool, free!',\n        //     signInForm : 'Already have an account? Log in here.',\n        //     signUpAndCreateRetailerForm : 'Try out our full suite of inventory, ordering and reporting software at your bar or restaurant.',\n        // };\n        const getSignUpOptionsForm = () : JSX.Element => {\n            const signUpOptionsFormTabs = (\n                <div className=\"sign-up-or-sign-in-form-tabs\">\n                    { availableFormOptions.map((formOption) => this.getTabElement(formOption, formOption === activeForm)) }\n                </div>\n            );\n\n            const getActiveForm = () : JSX.Element => {\n                let renderedForm;\n\n                const onSignUpFormFieldChange = (field : signUpFormFieldName, value : string | boolean) => {\n                    return dispatch(SignUpFormActions.onFormFieldChange(field, value));\n                };\n\n                const onSignUpFormFieldBlur = (field : signUpFormFieldName, value : string | boolean) => {\n                    return dispatch(SignUpFormActions.onFormFieldBlur(field, value));\n                };\n\n                const setAddressFormField = (fieldName : AddressFormFieldName, validationInputData : IValidationInputData) => {\n                    return dispatch(SignUpFormActions.onSetAddressFormField(fieldName, validationInputData));\n                };\n\n                switch (activeForm) {\n                    case 'signUpForm':\n                        const onSignUpFormSubmit = () => {\n                            void dispatch(SignUpFormActions.onSubmit(signUpOptionsState.signUpOptionsForm.signUpForm, additionalRetailerFieldsAreShown, additionalRetailerFieldsAreRequired, additionalRetailerFieldsAreRequired))\n                            .then((userAccountIdentifier : UserAccountId | void) => {\n                                if (userAccountIdentifier) {\n                                    const validationInputDataByFieldName = signUpOptionsState.signUpOptionsForm.signUpForm.validationInputDataByFieldName;\n                                    void onSuccessfulSignUp(\n                                        userAccountIdentifier,\n                                        {\n                                            firstName : validationInputDataByFieldName.firstName.value,\n                                            lastName : validationInputDataByFieldName.lastName.value,\n                                            emailAddress : validationInputDataByFieldName.emailAddress.value,\n                                            phone : validationInputDataByFieldName.phone.value,\n                                            barName : validationInputDataByFieldName.barName.value,\n                                            country : validationInputDataByFieldName.country.value,\n                                            city : validationInputDataByFieldName.city.value,\n                                            state : validationInputDataByFieldName.state.value,\n                                            streetAddressLine1 : validationInputDataByFieldName.streetAddressLine1.value,\n                                            streetAddressLine2 : validationInputDataByFieldName.streetAddressLine2.value,\n                                            zipCode : validationInputDataByFieldName.zipCode.value,\n                                            optionalZipCode : validationInputDataByFieldName.optionalZipCode.value,\n                                            subscribeToBlog : validationInputDataByFieldName.subscribeToBlog.value,\n                                        }\n                                    )\n                                    .then(() => {\n                                        dispatch(SignUpFormActions.onSetHasSuccessfullySubmitted(true));\n                                    });\n                                }\n                            });\n                        };\n\n                        renderedForm = (\n                            <SignUpForm\n                                headerTitle=\"Create your BevSpot account now!\"\n                                headerMessage=\"Get unlimited access to free tools, premium content, and join thousands of other Food & Beverage professionals who are changing the way they run their operations.\"\n                                signUpFormState={ signUpOptionsState.signUpOptionsForm.signUpForm }\n                                onFormFieldChange={ onSignUpFormFieldChange }\n                                onFormFieldBlur={ onSignUpFormFieldBlur }\n                                additionalUserFieldsAreShown={ additionalUserFieldsAreShown }\n                                additionalRetailerFieldsAreShown={ additionalRetailerFieldsAreShown }\n                                additionalRetailerFieldsAreRequired={ additionalRetailerFieldsAreRequired }\n                                submitButtonContents=\"JOIN BEVSPOT\"\n                                onSubmit={ onSignUpFormSubmit }\n                                setAddressFormField={ setAddressFormField }\n                            />\n                        );\n                        break;\n\n                    case 'signUpAndCreateRetailerForm':\n                        const startFreeTrialUrl = PathUtils.getAbsolutePathForRequest(`/start_free_trial${ window.location.search }`);\n\n                        const onSignUpAndCreateRetailerFormSubmit = () => {\n                            void dispatch(SignUpFormActions.onSubmit(signUpOptionsState.signUpOptionsForm.signUpForm, false, false, true))\n                            .then((userAccountIdentifier : UserAccountId | void) => {\n                                if (userAccountIdentifier) {\n                                    const validationInputDataByFieldName = signUpOptionsState.signUpOptionsForm.signUpForm.validationInputDataByFieldName;\n                                    void onSuccessfulSignUp(\n                                        userAccountIdentifier,\n                                        {\n                                            firstName : validationInputDataByFieldName.firstName.value,\n                                            lastName : validationInputDataByFieldName.lastName.value,\n                                            emailAddress : validationInputDataByFieldName.emailAddress.value,\n                                            phone : validationInputDataByFieldName.phone.value,\n                                            barName : validationInputDataByFieldName.barName.value,\n                                            country : validationInputDataByFieldName.country.value,\n                                            city : validationInputDataByFieldName.city.value,\n                                            state : validationInputDataByFieldName.state.value,\n                                            streetAddressLine1 : validationInputDataByFieldName.streetAddressLine1.value,\n                                            streetAddressLine2 : validationInputDataByFieldName.streetAddressLine2.value,\n                                            zipCode : validationInputDataByFieldName.zipCode.value,\n                                            optionalZipCode : validationInputDataByFieldName.optionalZipCode.value,\n                                            subscribeToBlog : validationInputDataByFieldName.subscribeToBlog.value,\n                                        }\n                                    )\n                                    .then(() => {\n                                        window.location.href = startFreeTrialUrl;\n                                    });\n                                }\n                            });\n                        };\n\n                        renderedForm = (\n                            <div>\n                                <SignUpForm\n                                    headerTitle=\"Try BevSpot Food & Beverage for free\"\n                                    headerMessage=\"No credit card required. Get started in less than 5 minutes.\"\n                                    signUpFormState={ signUpOptionsState.signUpOptionsForm.signUpForm }\n                                    onFormFieldChange={ onSignUpFormFieldChange }\n                                    onFormFieldBlur={ onSignUpFormFieldBlur }\n                                    additionalUserFieldsAreShown={ false }\n                                    additionalRetailerFieldsAreShown={ false }\n                                    additionalRetailerFieldsAreRequired={ false }\n                                    submitButtonContents=\"START FREE TRIAL\"\n                                    onSubmit={ onSignUpAndCreateRetailerFormSubmit }\n                                    setAddressFormField={ this.doNothing }\n                                />\n                                <small>\n                                    Already have a user account? <a href={ startFreeTrialUrl }>Log In</a>\n                                </small>\n                            </div>\n                        );\n                        break;\n\n                    case 'signInForm':\n                        const onSignInFormFieldChange = (field : signInFormFieldName, value : string) => {\n                            return dispatch(SignInFormActions.onFormFieldChange(field, value));\n                        };\n\n                        const onSignInFormFieldBlur = (field : signInFormFieldName, value : string) => {\n                            return;\n                        };\n\n                        const onSignInFormSubmit = () => {\n                            void dispatch(SignInFormActions.onSubmit(signUpOptionsState.signUpOptionsForm.signInForm))\n                            .then((success : boolean | void) => {\n                                if (success) {\n                                    void onSuccessfulSignIn()\n                                    .then(() => {\n                                        if (isEmbeddedInModal) {\n                                            dispatch(SignInFormActions.onResetForm());\n                                            dispatch(SignUpOptionsFormActions.onSetFormIsShown(false));\n                                        }\n                                    });\n                                }\n                            });\n                        };\n\n                        renderedForm = (\n                            <SignInForm\n                                signInFormState={ signUpOptionsState.signUpOptionsForm.signInForm }\n                                onFormFieldChange={ onSignInFormFieldChange }\n                                onFormFieldBlur={ onSignInFormFieldBlur }\n                                onSubmit={ onSignInFormSubmit }\n                            />\n                        );\n                        break;\n\n                    default:\n                        throw new RuntimeException('unimplemented for activeForm: ' + activeForm);\n                }\n\n                return (\n                    <div className=\"form-section\">\n                        { renderedForm }\n                    </div>\n                );\n            };\n\n            if (isEmbeddedInModal) {\n                return (\n                    <ModalFlex\n                        className=\"sign-up-or-sign-in-modal\"\n                        buttons={ null }\n                        closeButtonShown={ false }\n                        footerLabel={ null }\n                        footerLeftButton={ null }\n                        headerText={\n                            <div>\n                                { isDismissible &&\n                                    <div className=\"sign-up-or-sign-in-modal-close-button\" onClick={ handleModalCloseButtonClick }>\n                                        <div className=\"bevicon bevico-close\" />\n                                    </div>\n                                }\n                                { signUpOptionsFormTabs }\n                            </div>\n                        }\n                        modalClasses={ {\n                            headerClasses: null,\n                            bodyClasses: null,\n                            footerClasses: null,\n                        } }\n                        onClose={ null }\n                    >\n                        <div className=\"sign-up-or-sign-in-form\">\n                            { getActiveForm() }\n                        </div>\n                    </ModalFlex>\n                );\n            } else {\n                return (\n                    <div className=\"sign-up-or-sign-in-form\">\n                        { signUpOptionsFormTabs }\n                        { getActiveForm() }\n                    </div>\n                );\n            }\n        };\n\n        const getThanksForRegistering = () : JSX.Element => {\n            return (\n                <ThanksForRegistering\n                    isEmbeddedInModal={ false }\n                    onSendEmailAgainClick={ this.onSendEmailAgainClick }\n                    onCloseButtonClick={ this.onCloseButtonClick }\n                    isResendingEmail={ signUpOptionsState.thanksForRegistering.isResendingEmail }\n                    isEmailResent={ signUpOptionsState.thanksForRegistering.isEmailResent }\n                />\n            );\n        };\n\n        const getRenderedComponent = () : JSX.Element | null => {\n            if (signUpOptionsState.signUpOptionsForm.formIsShown || !isEmbeddedInModal) {\n                if (signUpOptionsState.signUpOptionsForm.signUpForm.hasSuccessfullySubmitted) {\n                    return getThanksForRegistering();\n                } else {\n                    return getSignUpOptionsForm();\n                }\n            }\n\n            return null;\n        };\n\n        return getRenderedComponent();\n    }\n\n    private readonly onSendEmailAgainClick = () => {\n        this.props.dispatch(ThanksForRegisteringActions.onResendEmail(this.props.signUpOptionsState.signUpOptionsForm.signUpForm.validationInputDataByFieldName.emailAddress.value));\n    }\n\n    private readonly onCloseButtonClick = () => {\n        this.props.dispatch(SignUpOptionsFormActions.onSetFormIsShown(false));\n        this.props.dispatch(SignUpFormActions.onResetForm());\n    }\n\n    private getTabElement = (key : IActiveFormState, isActive : boolean) => {\n        let tabText : string | null = null;\n        switch (key) {\n            case 'signUpAndCreateRetailerForm':\n                tabText = 'Start Trial';\n                break;\n            case 'signUpForm':\n                tabText = 'Create Account';\n                break;\n            case 'signInForm':\n                tabText = 'Log In';\n                break;\n            default:\n                break;\n        }\n        const onClick = () => {\n            return this.props.dispatch(SignUpOptionsFormActions.onSetActiveForm(key));\n        };\n        return (\n            <a key={ key } className={ isActive ? 'active-tab' : '' } onClick={ onClick }>\n                <p className=\"tab-head\">{ tabText }</p>\n            </a>\n        );\n    }\n\n    private readonly doNothing = () => undefined;\n}\n\nexport interface IConnectedSignUpOptionsProps {\n    availableFormOptions : Array<IActiveFormState>;\n    isEmbeddedInModal : boolean;\n    isDismissible : boolean;\n    formIsVisibleOnLoad : boolean;\n    additionalUserFieldsAreShown : boolean;\n    additionalRetailerFieldsAreShown : boolean;\n    additionalRetailerFieldsAreRequired : boolean;\n    onSuccessfulSignIn : () => Promise<void>;\n    onSuccessfulSignUp : (userAccountIdentifier : UserAccountId, signUpData : ISignUpData) => Promise<void>;\n}\n\ninterface IState {\n    signUpOptionsState : ISignUpOptionsState;\n}\n\nconst mapStateToProps = (state : IState, ownProps : IConnectedSignUpOptionsProps) : ISignUpOptionsProps => {\n    return {\n        signUpOptionsState : state.signUpOptionsState,\n        availableFormOptions : ownProps.availableFormOptions,\n        isEmbeddedInModal : ownProps.isEmbeddedInModal,\n        isDismissible : ownProps.isDismissible,\n        formIsVisibleOnLoad : ownProps.formIsVisibleOnLoad,\n        additionalUserFieldsAreShown : ownProps.additionalUserFieldsAreShown,\n        additionalRetailerFieldsAreShown: ownProps.additionalRetailerFieldsAreShown,\n        additionalRetailerFieldsAreRequired : ownProps.additionalRetailerFieldsAreRequired,\n        onSuccessfulSignIn : ownProps.onSuccessfulSignIn,\n        onSuccessfulSignUp : ownProps.onSuccessfulSignUp,\n    };\n};\n\nexport const ConnectedSignUpOptions = connect<ISignUpOptionsProps, object, IConnectedSignUpOptionsProps, IState>(mapStateToProps)(SignUpOptions);\n","import { ThunkAction, IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport { PathUtils } from 'shared/utils/pathUtils';\nimport { IActiveFormState } from './reducers';\n\nexport const ActionTypes = {\n    SET_ACTIVE_FORM : 'SIGN_UP_OR_SIGN_IN/SET_ACTIVE_FORM',\n    SET_FORM_IS_SHOWN : 'SIGN_UP_OR_SIGN_IN/SET_FORM_IS_SHOWN',\n};\n\nexport namespace SignUpOptionsFormActionInterfaces {\n    export interface ISetActiveForm extends IAction {\n        payload : {\n            form : IActiveFormState;\n        };\n    }\n\n    export interface ISetFormIsShown extends IAction {\n        payload : {\n            formIsShown : boolean;\n        };\n    }\n\n    export interface ISignUpOptionsFormActionCreatorsMapObject extends IActionCreatorsMapObject {\n        onSetActiveForm : (\n            form : IActiveFormState,\n        ) => ThunkAction<void, unknown, object>;\n\n        onSetFormIsShown : (\n            formIsShown : boolean\n        ) => ThunkAction<void, unknown, object>;\n    }\n}\n\n// const setActiveForm = (\n//     form : IActiveFormState\n// ) : SignUpOptionsFormActionInterfaces.ISetActiveForm => ({\n//     payload : {\n//         form,\n//     },\n//     type : ActionTypes.SET_ACTIVE_FORM,\n// });\n//\n// const setIsShown = (\n//     formIsShown : boolean\n// ) : SignUpOptionsFormActionInterfaces.ISetFormIsShown => ({\n//     payload : {\n//         formIsShown,\n//     },\n//     type : ActionTypes.SET_FORM_IS_SHOWN,\n// });\n\nconst onSetActiveForm = (\n    form : IActiveFormState,\n) : ThunkAction<void, unknown, object> => {\n    return (dispatch, getState, extraArguments) : void => {\n        switch (form) {\n            case \"signInForm\":\n                window.open(PathUtils.getAbsolutePathForRequest(`/auth/${ window.location.search }`), '_blank');\n                return;\n            case 'signUpForm':\n            case 'signUpAndCreateRetailerForm':\n                window.open(PathUtils.getAbsolutePathForRequest(`/auth/signup/${ window.location.search }`), '_blank');\n                return;\n        }\n        // form BE is gone\n        // dispatch(setActiveForm(form));\n    };\n};\n\nconst onSetFormIsShown = (\n    formIsShown : boolean,\n) : ThunkAction<void, unknown, object> => {\n    return (dispatch, getState, extraArguments) : void => {\n        // form BE is gone\n        // dispatch(setIsShown(formIsShown));\n    };\n};\n\nexport const SignUpOptionsFormActions : SignUpOptionsFormActionInterfaces.ISignUpOptionsFormActionCreatorsMapObject = {\n    onSetActiveForm,\n    onSetFormIsShown,\n};\n","import merge from 'lodash/merge';\nimport { Action } from '@reduxjs/toolkit';\n\nimport { ActionTypes, SignInFormActionInterfaces } from './actions';\n\nimport { IValidationInputData } from '../../ValidationInput';\n\nexport type signInFormFieldName = 'emailAddressOrAccountId' | 'password';\n\nexport interface ISignInFormState {\n    validationInputDataByFieldName : {\n        emailAddressOrAccountId : IValidationInputData;\n        password : IValidationInputData;\n    };\n    isValid : boolean;\n    errorMessage : string;\n    isSubmitting : boolean;\n}\n\nconst signInFormInitialState : ISignInFormState = {\n    validationInputDataByFieldName : {\n        emailAddressOrAccountId: {\n            value: '',\n            isValid: true,\n            errorMessage: '',\n        },\n        password: {\n            value: '',\n            isValid: true,\n            errorMessage: '',\n        },\n    },\n    isValid: true,\n    errorMessage: '',\n    isSubmitting: false,\n};\n\nconst reduceSetFormFieldValidationData = (\n    state : ISignInFormState,\n    action : SignInFormActionInterfaces.ISetFormFieldValidationData\n) : ISignInFormState => {\n    const updates = {\n        validationInputDataByFieldName: {\n            [action.payload.field]: {\n                value : action.payload.value,\n                errorMessage : action.payload.errorMessage,\n                isValid : action.payload.isValid,\n            },\n        },\n    };\n\n    return merge({}, state, updates);\n};\n\nconst reduceSetFormValidationData = (\n    state : ISignInFormState,\n    action : SignInFormActionInterfaces.ISetFormValidationData\n) : ISignInFormState => {\n    const updates = {\n        isValid: action.payload.isValid,\n        errorMessage: action.payload.errorMessage,\n    };\n\n    return merge({}, state, updates);\n};\n\nconst reduceSetIsSubmitting = (\n    state : ISignInFormState,\n    action : SignInFormActionInterfaces.ISetIsSubmitting\n) : ISignInFormState => {\n    const updates = {\n        isSubmitting: action.payload.isSubmitting,\n    };\n\n    return merge({}, state, updates);\n};\n\nexport const SignInFormReducers = (\n    state : ISignInFormState = signInFormInitialState,\n    action : Action,\n) : ISignInFormState => {\n    switch (action.type) {\n        case ActionTypes.SET_FORM_FIELD_VALIDATION_DATA:\n            return reduceSetFormFieldValidationData(state, action as SignInFormActionInterfaces.ISetFormFieldValidationData);\n        case ActionTypes.SET_FORM_VALIDATION_DATA:\n            return reduceSetFormValidationData(state, action as SignInFormActionInterfaces.ISetFormValidationData);\n        case ActionTypes.SET_IS_SUBMITTING:\n            return reduceSetIsSubmitting(state, action as SignInFormActionInterfaces.ISetIsSubmitting);\n        default:\n            return state;\n    }\n};\n","import { Action, combineReducers } from '@reduxjs/toolkit';\n\nimport { ActionTypes, SignUpOptionsFormActionInterfaces } from './actions';\n\nimport { ISignInFormState, SignInFormReducers } from '../SignInForm/reducers';\nimport { ISignUpFormState, SignUpFormReducers } from '../SignUpForm/reducers';\nimport { IThanksForRegisteringState, ThanksForRegisteringReducers } from '../ThanksForRegistering/reducers';\n\nexport type ISignUpOptionsFormIsShownState = boolean;\nexport type IActiveFormState = 'signUpForm' | 'signUpAndCreateRetailerForm' | 'signInForm';\n\nconst signUpOptionsFormIsShownInitialState : ISignUpOptionsFormIsShownState = false;\nconst activeFormInitialState : IActiveFormState = 'signUpAndCreateRetailerForm';\n\nexport const formIsShownReducer = (\n    state : ISignUpOptionsFormIsShownState = signUpOptionsFormIsShownInitialState,\n    action : Action,\n) : ISignUpOptionsFormIsShownState => {\n    switch (action.type) {\n        case ActionTypes.SET_FORM_IS_SHOWN:\n            return (action as SignUpOptionsFormActionInterfaces.ISetFormIsShown).payload.formIsShown;\n        default:\n            return state;\n    }\n};\n\nexport const activeFormReducer = (\n    state : IActiveFormState = activeFormInitialState,\n    action : Action,\n) : IActiveFormState => {\n    switch (action.type) {\n        case ActionTypes.SET_ACTIVE_FORM:\n            return (action as SignUpOptionsFormActionInterfaces.ISetActiveForm).payload.form;\n        default:\n            return state;\n    }\n};\n\nexport interface ISignUpOptionsFormState { // Should mirror SignUpOptionsFormReducers\n    formIsShown : ISignUpOptionsFormIsShownState;\n    activeForm : IActiveFormState;\n    signUpForm : ISignUpFormState;\n    signInForm : ISignInFormState;\n}\n\nexport const SignUpOptionsFormReducers = combineReducers({\n    formIsShown: formIsShownReducer,\n    activeForm: activeFormReducer,\n    signUpForm: SignUpFormReducers,\n    signInForm: SignInFormReducers,\n});\n\nexport interface ISignUpOptionsState { // Should mirror SignUpOptionsReducers\n    signUpOptionsForm : ISignUpOptionsFormState;\n    thanksForRegistering : IThanksForRegisteringState;\n}\n\nexport const SignUpOptionsReducers = combineReducers({\n    signUpOptionsForm: SignUpOptionsFormReducers,\n    thanksForRegistering: ThanksForRegisteringReducers,\n});\n","import React from 'react';\n\nimport { IModalButton } from '../../../models/Modal';\nimport { Dialog } from '../../Dialog';\n\nimport './ThanksForRegistering.scss';\n\nexport interface IThanksForRegisteringProps {\n    onSendEmailAgainClick : () => void;\n    onCloseButtonClick : () => void;\n    isResendingEmail : boolean;\n    isEmailResent : boolean;\n    isEmbeddedInModal : boolean;\n}\n\nexport class ThanksForRegistering extends React.Component<IThanksForRegisteringProps, object> {\n    public render() {\n        const {\n            onSendEmailAgainClick,\n            onCloseButtonClick,\n            isResendingEmail,\n            isEmailResent,\n            isEmbeddedInModal,\n        } = this.props;\n\n        const getThanksForRegistering = () : JSX.Element => {\n\n            const headerText = 'Thanks for registering!';\n            const thanksForRegisteringBody = (\n                <div className=\"thanks-for-registering-body\">\n                    <p>\n                        We just sent a confirmation link to the email you used to sign up. Follow the link in that email to set your password.\n                    </p>\n                    <p className=\"didnt-get-the-email-text\">\n                        <em>Didn't get the email?</em>\n                    </p>\n                    <p>\n                        Maybe check your spam folder, or&nbsp;\n                        <span className=\"send-it-again-button\" onClick={ onSendEmailAgainClick }>\n                            <a><b>send it again.</b></a>\n                        </span>\n                    </p>\n                    <div>\n                        { isResendingEmail ?\n                            <span className=\"bevicon bevico-spinner2 make-it-spin sending-spinner\" />\n                        :\n                        isEmailResent &&\n                        <span className=\"sent-confirmation\">\n                            <b><span className=\"bevicon bevico-check\" />Sent.</b>\n                        </span>\n                        }\n                    </div>\n                </div>\n            );\n\n            if (isEmbeddedInModal) {\n                const buttons : Array<IModalButton> = [{\n                    classes: 'close-button flat thanks-for-registering-modal-close-button',\n                    children: 'DISMISS',\n                    isDisabled: false,\n                    isLoading: false,\n                    onClick: onCloseButtonClick,\n                }];\n\n                return (\n                    <Dialog\n                        className=\"thanks-for-registering-dialog thanks-for-registering\"\n                        buttons={ buttons }\n                        headerText={ headerText }\n                    >\n                        { thanksForRegisteringBody }\n                    </Dialog>\n                );\n            }\n\n            return (\n                <div className=\"thanks-for-registering-not-modal\">\n                    <div className=\"header\">\n                        <h5>{ headerText }</h5>\n                    </div>\n                    <div className=\"body\">\n                        { thanksForRegisteringBody }\n                    </div>\n                </div>\n            );\n        };\n\n        return getThanksForRegistering();\n    }\n}\n","import { ThunkAction } from 'shared/models/IAction';\n\nimport CorePrimitivesModel from 'gen-thrift/core_primitives_Model_types';\n\nimport { IAction, IActionCreatorsMapObject } from '../../../models/IAction';\n\nimport { UserPasswordManagerImpl } from '../../../lib/account/impl/UserPasswordManagerImpl';\n\nimport { IThanksForRegisteringState } from './reducers';\nimport { BevSpotDispatch } from 'shared/components/Provider';\n\nexport interface IThanksForRegisteringStore {\n    thanksForRegisteringState : IThanksForRegisteringState;\n}\n\nexport const ActionTypes = {\n    SET_IS_RESENDING_EMAIL : 'THANKS_FOR_REGISTERING_MODAL/SET_IS_RESENDING_EMAIL',\n    SET_IS_EMAIL_RESENT : 'THANKS_FOR_REGISTERING_MODAL/SET_IS_EMAIL_RESENT',\n};\n\nexport namespace ThanksForRegisteringActionInterfaces {\n    export interface ISetIsResendingEmail extends IAction {\n        payload : {\n            isResendingEmail : boolean;\n        };\n    }\n\n    export interface ISetIsEmailResent extends IAction {\n        payload : {\n            isEmailResent : boolean;\n        };\n    }\n\n    export interface IThanksForRegisteringActionCreatorsMapObject extends IActionCreatorsMapObject {\n        onResendEmail : (\n            emailAddress : string,\n        ) => ThunkAction<void, IThanksForRegisteringStore, {services : ThanksForRegisteringActionInterfaces.IServices}>;\n    }\n\n    export interface IServices {\n        userPasswordManager : UserPasswordManagerImpl;\n    }\n}\n\nexport type ThanksForRegisteringDispatch = BevSpotDispatch<IThanksForRegisteringStore, { services: ThanksForRegisteringActionInterfaces.IServices }>;\n\nconst setIsResendingEmail = (\n    isResendingEmail : boolean\n) : ThanksForRegisteringActionInterfaces.ISetIsResendingEmail => ({\n    payload : {\n        isResendingEmail,\n    },\n    type : ActionTypes.SET_IS_RESENDING_EMAIL,\n});\n\nconst setIsEmailResent = (\n    isEmailResent : boolean\n) : ThanksForRegisteringActionInterfaces.ISetIsEmailResent => ({\n    payload : {\n        isEmailResent,\n    },\n    type : ActionTypes.SET_IS_EMAIL_RESENT,\n});\n\nconst onResendEmail = (\n    emailAddress : string,\n) : ThunkAction<void, IThanksForRegisteringStore, {services : ThanksForRegisteringActionInterfaces.IServices}> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setIsResendingEmail(true));\n        extraArguments.services.userPasswordManager.sendPasswordSettingEmail(new CorePrimitivesModel.EmailAddress({ value : emailAddress }))\n        .then(() => {\n            dispatch(setIsResendingEmail(false));\n            dispatch(setIsEmailResent(true));\n        })\n        .catch((error) => {\n            dispatch(setIsResendingEmail(false));\n            throw error;\n        });\n    };\n};\n\nexport const ThanksForRegisteringActions : ThanksForRegisteringActionInterfaces.IThanksForRegisteringActionCreatorsMapObject = {\n    onResendEmail,\n};\n","import merge from 'lodash/merge';\nimport { Action } from '@reduxjs/toolkit';\n\nimport { ActionTypes, ThanksForRegisteringActionInterfaces } from './actions';\n\nexport interface IThanksForRegisteringState {\n    isResendingEmail : boolean;\n    isEmailResent : boolean;\n}\n\nconst initialThanksForRegisteringState : IThanksForRegisteringState = {\n    isResendingEmail : false,\n    isEmailResent : false,\n};\n\nconst reduceSetIsResendingEmail = (\n    state : IThanksForRegisteringState,\n    action : ThanksForRegisteringActionInterfaces.ISetIsResendingEmail\n) : IThanksForRegisteringState => {\n    const updates = {\n        isResendingEmail : action.payload.isResendingEmail,\n    };\n\n    return merge({}, state, updates);\n};\n\nconst reduceSetIsEmailResent = (\n    state : IThanksForRegisteringState,\n    action : ThanksForRegisteringActionInterfaces.ISetIsEmailResent\n) : IThanksForRegisteringState => {\n    const updates = {\n        isEmailResent: action.payload.isEmailResent,\n    };\n\n    return merge({}, state, updates);\n};\n\nexport const ThanksForRegisteringReducers = (\n    state : IThanksForRegisteringState = initialThanksForRegisteringState,\n    action : Action,\n) : IThanksForRegisteringState => {\n    switch (action.type) {\n        case ActionTypes.SET_IS_RESENDING_EMAIL:\n            return reduceSetIsResendingEmail(\n                state,\n                action as ThanksForRegisteringActionInterfaces.ISetIsResendingEmail\n            );\n        case ActionTypes.SET_IS_EMAIL_RESENT:\n            return reduceSetIsEmailResent(\n                state,\n                action as ThanksForRegisteringActionInterfaces.ISetIsEmailResent\n            );\n        default:\n            return state;\n    }\n};\n","import { CreateRetailerFormFieldName } from 'shared/components/SignUpOrSignIn/CreateRetailerForm/reducers/CreateRetailerFormReducers';\nimport { IValidationResult, Validation } from '../../validators/validators';\n\nimport { AdminCreateRetailerFormFieldName } from './AdminCreateRetailerForm/reducers';\nimport { signInFormFieldName } from './SignInForm/reducers';\nimport { signUpFormFieldName } from './SignUpForm/reducers';\n\nexport const validateValueByFieldName = (\n    fieldName : signInFormFieldName | signUpFormFieldName | CreateRetailerFormFieldName | AdminCreateRetailerFormFieldName,\n    value : string | boolean,\n    countryCode : string | null,\n) : IValidationResult => {\n    let isValid : null | boolean = null;\n    let errorMessage = '';\n\n    // required\n    switch (fieldName) {\n        case 'firstName':\n        case 'lastName':\n        case 'emailAddress':\n        case 'emailAddressOrAccountId':\n        case 'password':\n        case 'phone':\n        case 'retailerName':\n        case 'accountType':\n        case 'userIdValue':\n        case 'streetAddressLine1':\n        case 'city':\n        case 'state':\n        case 'country':\n        case 'locationCount':\n            isValid = Validation.validateRequired(value);\n            if (!isValid) {\n                return {\n                    errorMessage,\n                    isValid,\n                };\n            }\n        case 'barName':\n        case 'streetAddressLine2':\n        case 'zipCode':\n        case 'optionalZipCode':\n        case 'subscribeToBlog':\n        case 'beverageRetailerName':\n        case 'foodRetailerName':\n        case 'introduction':\n        case 'introductionDrillDown':\n        case 'introductionAnswer':\n        default:\n            break;\n    }\n\n    // input type specific\n    switch (fieldName) {\n        case 'zipCode':\n            isValid = typeof value !== 'boolean' && Validation.validateZipCode(value, countryCode);\n            if (!isValid) {\n                errorMessage = 'Invalid ZIP code.';\n            }\n            break;\n        case 'emailAddress':\n            isValid = typeof value !== 'boolean' && Validation.validateEmailAddress(value);\n            if (!isValid) {\n                errorMessage = 'Invalid email address.';\n            }\n            break;\n        case 'phone':\n            if (value === '') {\n                isValid = true;\n                errorMessage = '';\n                break;\n            }\n            isValid = typeof value !== 'boolean' && Validation.validatePhoneNumber(value, countryCode);\n            if (!isValid) {\n                errorMessage = 'Invalid phone number.';\n            }\n            break;\n        case 'barName':\n        case 'beverageRetailerName':\n        case 'foodRetailerName':\n        case 'streetAddressLine2':\n        case 'introduction':\n        case 'introductionDrillDown':\n        case 'introductionAnswer':\n        case 'optionalZipCode':\n            isValid = true;\n            errorMessage = '';\n            break;\n        case 'locationCount':\n            isValid = typeof value !== 'boolean' && Validation.validateNonNegativeNumber(value);\n            if (!isValid) {\n                errorMessage = 'Invalid location count.';\n            }\n            break;\n        case 'emailAddressOrAccountId':\n        case 'password':\n        case 'firstName':\n        case 'lastName':\n        case 'retailerName':\n        case 'accountType':\n        case 'userIdValue':\n        case 'streetAddressLine1':\n        case 'city':\n        case 'state':\n        case 'country':\n        case 'subscribeToBlog':\n        default:\n            if (isValid === null) {\n                throw new Error('no validation implemented for fieldname ' + fieldName);\n            }\n    }\n\n    return {\n        isValid,\n        errorMessage,\n    };\n};\n","\nimport React from 'react';\n\nimport { PreventPageScrolling } from 'shared/components/PreventPageScrolling';\n\nimport './SlideInModal.scss';\n\nexport interface ISlideInModalProps {\n    isOpen : boolean;\n    onDismiss : () => void;\n    children : React.ReactNode;\n}\n\nconst ANIMATION_DURATION = .5;\n\nexport class SlideInModal extends React.Component<ISlideInModalProps, object> {\n\n    private isOpen = false;\n    private nextIsOpen : boolean | undefined;\n    private isInTransition = false;\n\n    public render() {\n        const {\n            isOpen,\n            onDismiss,\n        } = this.props;\n\n        const isOpenOrInTransition = isOpen || this.isInTransition;\n\n        const innerDivStyles : React.CSSProperties = {\n            transform: (this.isOpen ? 'translateX(0%)' : 'translateX(100%)'),\n            transitionDuration: ANIMATION_DURATION + 's'\n        };\n\n        const dimissUnderlayStyles : React.CSSProperties = {\n            opacity: (this.isOpen ? 1.0 : 0.0),\n            transitionDuration: ANIMATION_DURATION + 's',\n        };\n\n        return (\n            <div className={ 'slide-in-modal' + (isOpenOrInTransition ? ' open' : '') }>\n                { isOpenOrInTransition && [\n                    <PreventPageScrolling\n                        key=\"0\"\n                        preventWindowTouchMove={ false }\n                        addModalOpenClass={ true }\n                    />,\n                    <div key=\"1\" className=\"dismiss-underlay\" onClick={ onDismiss } style={ dimissUnderlayStyles }/>,\n                    <div key=\"2\" className=\"inner-div\" style={ innerDivStyles }>\n                        { this.props.children }\n                    </div>\n                ] }\n            </div>\n        );\n    }\n\n    public UNSAFE_componentWillReceiveProps(newProps : ISlideInModalProps) {\n        if (newProps.isOpen !== this.isOpen) {\n            this.isInTransition = true;\n            this.nextIsOpen = newProps.isOpen;\n            setTimeout(() => {\n                this.isInTransition = false;\n                this.forceUpdate();\n            }, ANIMATION_DURATION * 1000);\n        }\n    }\n\n    public componentDidUpdate() {\n        if (typeof this.nextIsOpen !== 'undefined') {\n            this.isOpen = this.nextIsOpen;\n            this.nextIsOpen = undefined;\n            setTimeout(() => {\n                this.forceUpdate();\n            });\n        }\n    }\n}\n","import React from 'react';\n\nimport { Button } from 'shared/components/Button';\n\nimport './SlimCreate.scss';\n\nexport interface ISlimCreateProps {\n    header : string;\n    content : React.ReactNode;\n    hasMoreOptionsButton : boolean;\n    saveInProgress : boolean;\n    handleSaveButton : () => void;\n    handleCancelButton : () => void;\n    handleMoreOptionsButton : () => void;\n}\n\nexport class SlimCreate extends React.Component<ISlimCreateProps, object> {\n\n    public render() {\n        const {\n            header,\n            content,\n            handleSaveButton,\n            handleCancelButton,\n            handleMoreOptionsButton,\n            hasMoreOptionsButton,\n            saveInProgress,\n        } = this.props;\n\n        return (\n            <div\n                className=\"slim-create\"\n            >\n                <div className=\"slim-create-scroll-container\">\n                    <h5 className=\"reset-dark-styles slim-create-header\">{ header }</h5>\n                    <div className=\"slim-create-body\">{ content }</div>\n                </div>\n                <div className=\"slim-create-footer\">\n                    <div className=\"slim-create-footer-right\">\n                        { hasMoreOptionsButton &&\n                            <Button\n                                buttonClassName=\"reset-dark-styles flat primary\"\n                                isDisabled={ saveInProgress }\n                                isLoading={ false }\n                                onClick={ handleMoreOptionsButton }\n                            >\n                                    More Options...\n                            </Button>\n                        }\n                    </div>\n                    <div className=\"slim-create-footer-left\">\n                        <Button\n                            buttonClassName=\"reset-dark-styles flat\"\n                            isDisabled={ saveInProgress }\n                            isLoading={ false }\n                            onClick={ handleCancelButton }\n                        >\n                                Cancel\n                        </Button>\n                        <Button\n                            buttonClassName=\"reset-dark-styles primary\"\n                            isDisabled={ false }\n                            isLoading={ saveInProgress }\n                            onClick={ handleSaveButton }\n                        >\n                            Save\n                        </Button>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\n\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { Unit } from 'api/Product/model/Unit';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\n\nimport { ProductFormUtils } from 'apps/ItemCard/utils/ProductFormUtils';\nimport { IProductSlimCreateFormStore, TypedDispatch, ProductSlimCreateFormActions } from './ProductSlimCreateFormActions';\nimport {\n    IProductSlimCreateFormState,\n    ProductSlimCreateFormFieldName\n} from './ProductSlimCreateFormReducers';\n\nimport { IOption } from 'shared/components/Dropdown/DropdownMenu';\nimport { PackagingForm, PackagingFormValidationInputDataByFieldName } from 'shared/components/Product/PackagingForm';\nimport {\n    OptionsAndLabelNameTuples,\n    Select2DropdownMenu\n} from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { SlimCreate } from 'shared/components/SlimCreate/SlimCreate';\nimport { IValidationInputData, ValidationInput } from 'shared/components/ValidationInput';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport './ProductSlimCreateForm.scss';\n\n// note on shouldShowPriceField -- this is not really a desired pattern if we are constantly hiding/showing parts\n// of the form based on the context this is in. potentially this should take a list of components or isShownByComponentName\n// and styling should handle any combination of elements shown. however until we need to do this, just using this one variable\nexport interface IConnectedProductSlimCreateFormProps {\n    formState : IProductSlimCreateFormState;\n    dispatch : TypedDispatch;\n    shouldShowPriceField : boolean;\n    shouldShowDistributorAndSkuFields : boolean;\n    hasMoreOptionsButton : boolean;\n    onCancel : () => void;\n    onMoreOptions : (\n        packagingValidationInputByFieldName : PackagingFormValidationInputDataByFieldName,\n        slimCreateValidationInputDataByFieldName : { [fieldName in ProductSlimCreateFormFieldName] : IValidationInputData }\n    ) => void;\n    onSave : (productId : ProductId) => void;\n}\n\nexport class ProductSlimCreateForm extends React.Component<IConnectedProductSlimCreateFormProps, object> {\n    private packagingForm : PackagingForm | null = null;\n\n    public UNSAFE_componentWillMount() {\n        const {\n            dispatch,\n        } = this.props;\n\n        if (this.props.formState.formData === null) {\n            void dispatch(ProductSlimCreateFormActions.fetchProductSlimCreateFormData());\n        }\n    }\n\n    public render() {\n        const {\n            formState,\n            hasMoreOptionsButton,\n            shouldShowPriceField,\n            shouldShowDistributorAndSkuFields,\n        } = this.props;\n\n        const formData = formState.formData;\n\n        const validatedItemName = formState.validationInputDataByFieldName.name;\n\n        const itemCategoryEmptyState : JSX.Element = (\n            <div className=\"item-category-dropdown-no-options\">No Available Categories</div>\n        );\n\n        let categories : OptionsAndLabelNameTuples = [];\n        let categorySelectedIOption : IOption | null = null;\n        if (formData) {\n            categories = formData.categorySortedOptionsAndLabelNames;\n            categories.forEach(([labelName, iOptions]) => {\n                iOptions.forEach((iOption) => {\n                    if (iOption.value === formState.validationInputDataByFieldName.categoryId.value) {\n                        categorySelectedIOption = iOption;\n                    }\n                });\n            });\n        }\n\n        // Price -- copied from ProductForm.tsx\n        let priceUnitSortedOptionsAndLabelName : OptionsAndLabelNameTuples = [];\n        if (this.packagingForm) {\n            const packagingFormValidationInputDataByFieldName = this.packagingForm.getValidationInputDataByFieldName();\n            priceUnitSortedOptionsAndLabelName = ProductFormUtils.getPriceUnitIOptions(packagingFormValidationInputDataByFieldName);\n        }\n\n        const priceUnitSelectedIOption = formState.validationInputDataByFieldName.priceUnit.value ? {\n            value: formState.validationInputDataByFieldName.priceUnit.value,\n            label: formState.validationInputDataByFieldName.priceUnit.value ? oldPackagingUtils.getDisplayTextForUnit(formState.validationInputDataByFieldName.priceUnit.value as Unit) : '',\n            icon: null,\n        } : null;\n\n        let distributorSelectedIOption : IOption | null = null;\n        if (formData) {\n            formData.distributorSortedOptionsAndLabelNames.forEach(([labelName, iOptions]) => {\n                iOptions.forEach((iOption) => {\n                    if (iOption.value === formState.validationInputDataByFieldName.distributorId.value) {\n                        distributorSelectedIOption = iOption;\n                    }\n                });\n            });\n        }\n\n        return (\n            <SlimCreate\n                header=\"Creating New Item...\"\n                content={ (\n                    <div className=\"slim-create-form\">\n                        <div className=\"slim-create-form-section\">\n                            <div className=\"item-name-input\">\n                                <ValidationInput\n                                    inputClassName=\"item-name reset-dark-styles\"\n                                    type=\"text\"\n                                    autoFocus={ false }\n                                    errorMessage={ validatedItemName.errorMessage }\n                                    isValid={ validatedItemName.isValid }\n                                    handleBlur={ this.onItemNameBlur }\n                                    handleFocus={ null }\n                                    handleChange={ this.onItemNameChange }\n                                    handleEnterClick={ null }\n                                    label=\"Item name\"\n                                    hintText={ null }\n                                    value={ validatedItemName.value }\n                                    isDisabled={ false }\n                                    autoComplete={ null }\n                                />\n                            </div>\n                            { !shouldShowPriceField &&\n                                <div className=\"item-category-input\">\n                                    <label className=\"input-label static reset-dark-styles\">Category</label>\n                                    <Select2DropdownMenu\n                                        isSearchable={ true }\n                                        selectedOptionHeaderShown={ true }\n                                        onOptionSelect={ this.onItemCategorySelect }\n                                        sortedOptionsAndLabelName={ categories }\n                                        selectedOption={ categorySelectedIOption }\n                                        placeholderText=\"-\"\n                                        hasCreateCustomOption={ true }\n                                        createCustomOption={ this.onCreateCustomCategory }\n                                        customOptionGroupLabel={ null }\n                                        buttonShouldDisplaySelectedLabel={ true }\n                                        emptyState={ itemCategoryEmptyState }\n                                        isTitleCase={ true }\n                                        createCustomOptionButtonLabel={ null }\n                                    />\n\n                                    { !formState.validationInputDataByFieldName.categoryId.isValid &&\n                                        <div className=\"slim-create-form-category-validation-error\">\n                                            { formState.validationInputDataByFieldName.categoryId.errorMessage }\n                                        </div>\n                                    }\n                                </div>\n                            }\n                        </div>\n\n                        <div className=\"slim-create-form-section\">\n                            <PackagingForm\n                                ref={ this.packagingFormRef }\n                                initialPackaging={ null }\n                                onFormFieldChange={ this.onPackagingChange }\n                            />\n                        </div>\n\n                        { shouldShowPriceField &&\n                            <div className=\"slim-create-form-section\">\n                                <div className=\"item-category-input\">\n                                    <label className=\"input-label static reset-dark-styles\">Category</label>\n                                    <Select2DropdownMenu\n                                        isSearchable={ true }\n                                        selectedOptionHeaderShown={ true }\n                                        onOptionSelect={ this.onItemCategorySelect }\n                                        sortedOptionsAndLabelName={ categories }\n                                        selectedOption={ categorySelectedIOption }\n                                        placeholderText=\"Other\"\n                                        hasCreateCustomOption={ true }\n                                        createCustomOption={ this.onCreateCustomCategory }\n                                        customOptionGroupLabel={ null }\n                                        buttonShouldDisplaySelectedLabel={ true }\n                                        emptyState={ itemCategoryEmptyState }\n                                        isTitleCase={ true }\n                                        createCustomOptionButtonLabel={ null }\n                                    />\n                                </div>\n                                <div className=\"item-price-input\">\n                                    <label className=\"input-label static reset-dark-styles\">Cost</label>\n                                    <div className=\"item-price-input-group\">\n                                        <ValidationInput\n                                            key=\"priceAmount\"\n                                            inputClassName=\"reset-dark-styles no-label\"\n                                            type=\"text\"\n                                            autoFocus={ false }\n                                            autoComplete={ null }\n                                            errorMessage={ formState.validationInputDataByFieldName.priceAmount.errorMessage }\n                                            isValid={ formState.validationInputDataByFieldName.priceAmount.isValid }\n                                            handleBlur={ this.onPriceAmountBlur }\n                                            handleFocus={ null }\n                                            handleChange={ this.onPriceAmountChange }\n                                            handleEnterClick={ this.doNothingFunction }\n                                            label={ null }\n                                            hintText={ null }\n                                            value={ formState.validationInputDataByFieldName.priceAmount.value }\n                                            isDisabled={ false }\n                                            isCurrencyInput={ true }\n                                        />\n                                        <span>&nbsp;/&nbsp;</span>\n                                        <div className=\"floating-dropdown-menu\">\n                                            <Select2DropdownMenu\n                                                isSearchable={ false }\n                                                buttonShouldDisplaySelectedLabel={ true }\n                                                selectedOptionHeaderShown={ false }\n                                                sortedOptionsAndLabelName={ priceUnitSortedOptionsAndLabelName }\n                                                selectedOption={ priceUnitSelectedIOption }\n                                                onOptionSelect={ this.onPriceUnitSelect }\n                                                placeholderText=\"Select Unit\"\n                                                emptyState={ null }\n                                                hasCreateCustomOption={ false }\n                                                createCustomOption={ this.doNothingFunction }\n                                                customOptionGroupLabel={ null }\n                                                createCustomOptionButtonLabel={ null }\n                                            />\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        }\n\n                        { shouldShowDistributorAndSkuFields && formState.formData &&\n                            <div className=\"slim-create-form-section\">\n                                <div className=\"item-distributor-input\">\n                                    <label className=\"input-label static reset-dark-styles\">Vendor</label>\n                                    <Select2DropdownMenu\n                                        isSearchable={ true }\n                                        buttonShouldDisplaySelectedLabel={ true }\n                                        selectedOptionHeaderShown={ true }\n                                        sortedOptionsAndLabelName={ formState.formData.distributorSortedOptionsAndLabelNames }\n                                        selectedOption={ distributorSelectedIOption }\n                                        onOptionSelect={ this.onDistributorSelect }\n                                        placeholderText=\"Select Vendor\"\n                                        emptyState={ null }\n                                        hasCreateCustomOption={ false }\n                                        createCustomOption={ this.doNothingFunction }\n                                        customOptionGroupLabel=\"My Vendors\"\n                                        createCustomOptionButtonLabel={ null }\n                                    />\n                                </div>\n                                <div className=\"item-sku-input\">\n                                    <ValidationInput\n                                        key=\"sku\"\n                                        inputClassName=\"reset-dark-styles\"\n                                        type=\"text\"\n                                        autoFocus={ false }\n                                        autoComplete={ null }\n                                        value={ formState.validationInputDataByFieldName.sku.value }\n                                        errorMessage={ formState.validationInputDataByFieldName.sku.errorMessage }\n                                        isValid={ formState.validationInputDataByFieldName.sku.isValid }\n                                        handleBlur={ this.onSkuBlur }\n                                        handleFocus={ null }\n                                        handleChange={ this.onSkuChange }\n                                        handleEnterClick={ this.doNothingFunction }\n                                        label=\"Vendor SKU\"\n                                        hintText=\"from invoice\"\n                                        isDisabled={ false }\n                                    />\n                                </div>\n                            </div>\n                        }\n\n                        { !formState.isValid &&\n                            <div className=\"slim-create-form-validation-error\">\n                                { formState.errorMessage }\n                            </div>\n                        }\n                    </div>\n                ) }\n                handleSaveButton={ this.onSlimCreateSaveButtonClick }\n                handleCancelButton={ this.onCancel }\n                handleMoreOptionsButton={ this.onMoreOptionsClick }\n                hasMoreOptionsButton={ hasMoreOptionsButton }\n                saveInProgress={ formState.isSubmitting }\n            />\n        );\n    }\n\n    private readonly onDistributorSelect = (optionValue : string) => {\n        return this.onFormFieldChange('distributorId', optionValue);\n    }\n\n    private readonly onPriceUnitSelect = (optionValue : string) => {\n        return this.onFormFieldChange('priceUnit', optionValue);\n    }\n\n    private readonly onPriceAmountBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        return this.onFormFieldBlur('priceAmount', event.currentTarget.value);\n    }\n\n    private readonly onPriceAmountChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        return this.onFormFieldChange('priceAmount', event.currentTarget.value);\n    }\n\n    private readonly onItemCategorySelect = (optionValue : string) => {\n        return this.onFormFieldChange('categoryId', optionValue);\n    }\n\n    private readonly onCreateCustomCategory = (optionValue : string) => {\n        this.props.dispatch(ProductSlimCreateFormActions.createCustomCategory(optionValue));\n        return this.onFormFieldChange('categoryId', optionValue);\n    }\n\n    private readonly onItemNameBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        return this.onFormFieldBlur('name', event.currentTarget.value);\n    }\n\n    private readonly onItemNameChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        return this.onFormFieldChange('name', event.currentTarget.value);\n    }\n\n    private readonly onSkuBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        return this.onFormFieldBlur('sku', event.currentTarget.value);\n    }\n\n    private readonly onSkuChange = (event : React.ChangeEvent<HTMLInputElement>) => {\n        return this.onFormFieldChange('sku', event.currentTarget.value);\n    }\n\n    private readonly onPackagingChange = (packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName) => {\n        this.props.dispatch(ProductSlimCreateFormActions.onPackagingChange(packagingFormValidationInputDataByFieldName));\n    }\n\n    private readonly packagingFormRef = (packagingForm : PackagingForm) => {\n        this.packagingForm = packagingForm;\n    }\n\n    private readonly onSlimCreateSaveButtonClick = () => {\n        const {\n            dispatch,\n            onSave,\n            shouldShowPriceField,\n            shouldShowDistributorAndSkuFields,\n        } = this.props;\n\n        if (this.packagingForm) {\n            const packaging = this.packagingForm.getPackaging(true);\n            void dispatch(ProductSlimCreateFormActions.onSubmit(packaging, shouldShowPriceField, shouldShowDistributorAndSkuFields, onSave));\n        } else {\n            throw new RuntimeException('Unexpected: packagingForm is null');\n        }\n    }\n\n    private readonly onCancel = () => {\n        this.props.dispatch(ProductSlimCreateFormActions.resetForm());\n        this.props.onCancel();\n    }\n\n    private readonly onMoreOptionsClick = () => {\n        if (this.packagingForm) {\n            this.props.onMoreOptions(this.packagingForm.getValidationInputDataByFieldName(), this.props.formState.validationInputDataByFieldName);\n        } else {\n            throw new RuntimeException('Unexpected: packagingForm is null');\n        }\n    }\n\n    private readonly doNothingFunction = () => undefined;\n\n    private readonly onFormFieldChange = (field : ProductSlimCreateFormFieldName, value : string) => {\n        return this.props.dispatch(ProductSlimCreateFormActions.onFormFieldChange(field, value));\n    }\n\n    private readonly onFormFieldBlur = (field : ProductSlimCreateFormFieldName, value : string) => {\n        return this.props.dispatch(ProductSlimCreateFormActions.onFormFieldBlur(field, value));\n    }\n}\n\nexport interface IOwnProps {\n    hasMoreOptionsButton : boolean;\n    shouldShowPriceField : boolean;\n    shouldShowDistributorAndSkuFields : boolean;\n    onCancel : () => void;\n    onMoreOptions : (\n        packagingValidationInputByFieldName : PackagingFormValidationInputDataByFieldName,\n        slimCreateValidationInputDataByFieldName : { [fieldName in ProductSlimCreateFormFieldName] : IValidationInputData }\n    ) => void;\n    onSave : (productId : ProductId) => void;\n}\n\ninterface IDispatchProps {\n    dispatch : TypedDispatch;\n}\n\nconst mapStateToProps = (state : IProductSlimCreateFormStore) : IProductSlimCreateFormStore => {\n    return state;\n};\n\nconst mapDispatchToProps = (dispatch : TypedDispatch) : { dispatch : TypedDispatch } => {\n    return {\n        dispatch\n    };\n};\n\nconst mergeProps = (state : IProductSlimCreateFormStore, dispatchProps : IDispatchProps, ownProps : IOwnProps) : IConnectedProductSlimCreateFormProps => {\n    return {\n        formState: state.productSlimCreateFormState,\n        dispatch: dispatchProps.dispatch,\n        onCancel: ownProps.onCancel,\n        onMoreOptions: ownProps.onMoreOptions,\n        onSave: ownProps.onSave,\n        hasMoreOptionsButton: ownProps.hasMoreOptionsButton,\n        shouldShowPriceField: ownProps.shouldShowPriceField,\n        shouldShowDistributorAndSkuFields : ownProps.shouldShowDistributorAndSkuFields,\n    };\n};\n\nexport const ConnectedProductSlimCreateForm =\n    connect<IProductSlimCreateFormStore, IDispatchProps, IOwnProps, IConnectedProductSlimCreateFormProps, IProductSlimCreateFormStore>(mapStateToProps, mapDispatchToProps, mergeProps)(ProductSlimCreateForm);\n","import { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { ICategoryService } from 'api/Product/interfaces/ICategoryService';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { productUtils } from 'api/Product/utils/productUtils';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { ThunkAction, batchActions, IAction, IActionCreatorsMapObject } from 'shared/models/IAction';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { IDistributorService } from 'api/Distributor/interfaces/IDistributorService';\nimport { ILocationProductService } from 'api/Location/interfaces/ILocationProductService';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IProductDistributorService } from 'api/Product/interfaces/IProductDistributorService';\nimport { IProductService } from 'api/Product/interfaces/IProductService';\nimport { Mappings } from 'api/Product/model/Mappings';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { Price } from 'api/Product/model/Price';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { CategoryUtils } from 'api/Product/utils/categoryUtils';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { PackagingFormValidationInputDataByFieldName } from 'shared/components/Product/PackagingForm';\n\nimport { BevSpotDispatch, IExtraArguments } from 'shared/components/Provider';\nimport {\n    OptionsAndLabelNameTuples\n} from 'shared/components/Select2Dropdown/Select2DropdownMenu';\n\nimport { IAccountSessionReader } from 'shared/lib/account/interfaces/IAccountSessionReader';\nimport { DateTime } from 'shared/models/DateTime';\n\nimport { IProductSlimCreateFormData, IProductSlimCreateFormState, ProductSlimCreateFormComponentName, ProductSlimCreateFormFieldName } from './ProductSlimCreateFormReducers';\n\n// TODO should move the ProductForm to shared\nimport { DEFAULT_PRICE_VALUE } from 'apps/ItemCard/reducers/ItemCardReducers';\nimport { ProductFormUtils } from 'apps/ItemCard/utils/ProductFormUtils';\nimport { Conversions } from 'api/Product/model/Conversions';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nexport interface IProductSlimCreateFormStore {\n    productSlimCreateFormState : IProductSlimCreateFormState;\n}\n\nexport const ActionTypes = {\n    SET_FORM_DATA : 'PRODUCT_SLIM_CREATE_FORM/SET_PRODUCT_FORM_DATA',\n    SET_FORM_FIELD_VALIDATION_DATA : 'PRODUCT_SLIM_CREATE_FORM/SET_FORM_FIELD_VALIDATION_DATA',\n    SET_FORM_VALIDATION_DATA : 'PRODUCT_SLIM_CREATE_FORM/SET_FORM_VALIDATION_DATA',\n    SET_IS_SUBMITTING : 'PRODUCT_SLIM_CREATE_FORM/SET_IS_SUBMITTING',\n    RESET_FORM : 'PRODUCT_SLIM_CREATE_FORM/RESET_FORM',\n    SET_COMPONENT_IS_SHOWN: 'PRODUCT_SLIM_CREATE_FORM/SET_COMPONENT_IS_SHOWN',\n    SET_CATEGORIES_BY_ID: 'PRODUCT_SLIM_CREATE_FORM/SET_CATEGORIES_BY_ID',\n    CREATE_CUSTOM_CATEGORY : 'PRODUCT_SLIM_CREATE_FORM/CREATE_CUSTOM_CATEGORY',\n};\n\nexport namespace ProductSlimCreateFormActionInterfaces {\n\n    export interface ISetFormData extends IAction {\n        payload : {\n            formData : IProductSlimCreateFormData;\n        };\n    }\n\n    export interface ISetFormFieldValidationData extends IAction {\n        payload : {\n            field : ProductSlimCreateFormFieldName;\n            value : string | boolean;\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetFormValidationData extends IAction {\n        payload : {\n            isValid : boolean;\n            errorMessage : string;\n        };\n    }\n\n    export interface ISetIsSubmitting extends IAction {\n        payload : {\n            isSubmitting : boolean;\n        };\n    }\n\n    export interface IResetForm extends IAction {\n        payload : object;\n    }\n\n    export interface ISetComponentIsShown extends IAction {\n        payload : {\n            componentName : ProductSlimCreateFormComponentName\n            isShown : boolean,\n        };\n    }\n\n    export interface ISetCategoriesById extends IAction {\n        payload : {\n            categoriesById : StringValueMap<CategoryId, Category>;\n        };\n    }\n\n    export interface ICreateCustomCategory extends IAction {\n        payload : {\n            category : string;\n        };\n    }\n\n    export interface IServices {\n        userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n        productService : IProductService;\n        locationProductService : ILocationProductService;\n        distributorService : IDistributorService;\n        productDistributorService : IProductDistributorService;\n        categoryService : ICategoryService;\n    }\n\n    export interface IProductSlimCreateFormExtraArguments extends IExtraArguments {\n        services : IServices;\n    }\n\n    export interface IProductSlimCreateFormActionCreatorsMapObject extends IActionCreatorsMapObject {\n        onFormFieldChange : (\n            field : ProductSlimCreateFormFieldName,\n            value : string\n        ) => ThunkAction<void, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments>;\n        onFormFieldBlur : (\n            field : ProductSlimCreateFormFieldName,\n            value : string\n        ) => ThunkAction<void, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments>;\n        setFormFieldValidationData : (\n            field : ProductSlimCreateFormFieldName,\n            value : string,\n            isValid : boolean,\n            errorMessage : string,\n        ) => ProductSlimCreateFormActionInterfaces.ISetFormValidationData;\n        setFormValidationData : (\n            isValid : boolean,\n            errorMessage : string,\n        ) => ProductSlimCreateFormActionInterfaces.ISetFormValidationData;\n        resetForm : () => ProductSlimCreateFormActionInterfaces.IResetForm;\n        createCustomCategory : (\n            category : string,\n        ) => ProductSlimCreateFormActionInterfaces.ICreateCustomCategory;\n        onSubmit : (\n            packaging : Packaging | null,\n            shouldIncludePrice : boolean,\n            shouldShowDistributorAndSkuFields : boolean,\n            onSaveCallback : (productId : ProductId) => void,\n        ) => ThunkAction<Promise<ProductId | void>, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments>;\n        onValidateFields : (\n            shouldSetFormFieldValidationData : boolean,\n        ) => ThunkAction<boolean, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments>;\n        setComponentIsShown : (\n            componentName : ProductSlimCreateFormComponentName,\n            isShown : boolean,\n        ) => ISetComponentIsShown;\n        setCategoriesById : (\n            categoriesById : StringValueMap<CategoryId, Category>,\n        ) => ISetCategoriesById;\n        onPackagingChange : (\n            packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName,\n        ) => ThunkAction<void, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments>;\n        fetchProductSlimCreateFormData : (\n        ) => ThunkAction<Promise<void>, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments>;\n    }\n}\n\nexport type TypedDispatch = BevSpotDispatch<IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments>;\n\nconst setFormData = (\n    formData : IProductSlimCreateFormData,\n) : ProductSlimCreateFormActionInterfaces.ISetFormData => ({\n    payload : {\n        formData,\n    },\n    type : ActionTypes.SET_FORM_DATA,\n});\n\nconst setFormFieldValidationData = (\n    field : ProductSlimCreateFormFieldName,\n    value : string,\n    isValid : boolean,\n    errorMessage : string\n) : ProductSlimCreateFormActionInterfaces.ISetFormFieldValidationData => ({\n    payload : {\n        field,\n        value,\n        isValid,\n        errorMessage\n    },\n    type : ActionTypes.SET_FORM_FIELD_VALIDATION_DATA,\n});\n\nconst setFormValidationData = (\n    isValid : boolean,\n    errorMessage : string,\n) : ProductSlimCreateFormActionInterfaces.ISetFormValidationData => ({\n    payload : {\n        isValid,\n        errorMessage\n    },\n    type : ActionTypes.SET_FORM_VALIDATION_DATA,\n});\n\nconst setIsSubmitting = (\n    isSubmitting : boolean\n) : ProductSlimCreateFormActionInterfaces.ISetIsSubmitting => ({\n    payload : {\n        isSubmitting,\n    },\n    type : ActionTypes.SET_IS_SUBMITTING,\n});\n\nconst resetForm = () : ProductSlimCreateFormActionInterfaces.IResetForm => ({\n    payload : {},\n    type: ActionTypes.RESET_FORM,\n});\n\nconst setComponentIsShown = (\n    componentName : ProductSlimCreateFormComponentName,\n    isShown : boolean,\n) : ProductSlimCreateFormActionInterfaces.ISetComponentIsShown => ({\n    payload: {\n        isShown,\n        componentName,\n    },\n    type: ActionTypes.SET_COMPONENT_IS_SHOWN\n});\n\nconst setCategoriesById = (\n    categoriesById : StringValueMap<CategoryId, Category>,\n) : ProductSlimCreateFormActionInterfaces.ISetCategoriesById => ({\n    payload: {\n        categoriesById\n    },\n    type: ActionTypes.SET_CATEGORIES_BY_ID\n});\n\nconst createCustomCategory = (\n    category : string,\n) : ProductSlimCreateFormActionInterfaces.ICreateCustomCategory => ({\n    payload : {\n        category,\n    },\n    type: ActionTypes.CREATE_CUSTOM_CATEGORY,\n});\n\nconst fetchProductSlimCreateFormData = (\n) : ThunkAction<Promise<void>, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments > => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n\n        const {\n            userSessionReader,\n            locationProductService,\n            productService,\n            distributorService,\n            categoryService,\n        } = extraArguments.services;\n\n        const userSessionId = userSessionReader.getSessionId();\n        const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n\n        return Promise.all([\n            distributorService.getAvailableDistributorsByIdForLocation(userSessionId, locationId),\n            distributorService.getRetailerDistributorRelationships(locationId),\n            locationProductService.getProductIds(userSessionId, locationId).then((products) =>\n                productService.getProductsById(userSessionId, locationId, products)),\n            categoryService.getCategoriesForRetailer(userSessionId, locationId),\n        ])\n        .then(([distributorsById, retailerDistributorRelationships, { productsById }, categoriesById]) => {\n\n            const distributorIdsWithRelationship =\n                new StringValueSet(Array.from(retailerDistributorRelationships.keys()));\n            const distributorSortedOptionsAndLabelNames =\n                ProductFormUtils.getDistributorSortedOptionsAndLabelNames(\n                    distributorsById, distributorIdsWithRelationship, true);\n\n            const categorySortedOptionsAndLabelNames : OptionsAndLabelNameTuples =\n                CategoryUtils.getCategorySortedOptionsAndLabelNames(categoriesById, null);\n\n            dispatch(batchActions([\n                setFormData({\n                    distributorSortedOptionsAndLabelNames,\n                    categorySortedOptionsAndLabelNames,\n                }),\n                setCategoriesById(categoriesById),\n            ]));\n        });\n    };\n};\n\nconst onValidateFields = (\n    shouldSetFormFieldValidationData : boolean,\n) : ThunkAction<boolean, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments > => {\n    return (dispatch, getState, extraArguments) : boolean => {\n        const validationInputDataByFieldName = getState().productSlimCreateFormState.validationInputDataByFieldName;\n\n        let formIsValid = true;\n\n        Object.keys(validationInputDataByFieldName).forEach((key) => {\n            const fieldName = key as ProductSlimCreateFormFieldName;\n\n            const fieldValue = validationInputDataByFieldName[fieldName].value;\n\n            const validationResult = ProductFormUtils.validateValueByFieldName(fieldName, fieldValue);\n\n            const { isValid, errorMessage } = validationResult;\n\n            formIsValid = formIsValid && isValid;\n\n            if (shouldSetFormFieldValidationData) {\n                dispatch(setFormFieldValidationData(fieldName, fieldValue, isValid, errorMessage));\n            }\n        });\n\n        return formIsValid;\n    };\n};\n\nconst onFormFieldChange = (\n    field : ProductSlimCreateFormFieldName,\n    value : string,\n) : ThunkAction<\n    void,\n    IProductSlimCreateFormStore,\n    ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments\n    > => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setFormValidationData(true, ''));\n        const validationResult = ProductFormUtils.validateValueByFieldName(field, value);\n        dispatch(setFormFieldValidationData(field, value, validationResult.isValid, validationResult.errorMessage));\n    };\n};\n\nconst onFormFieldBlur = (\n    field : ProductSlimCreateFormFieldName,\n    value : string,\n) : ThunkAction<\n    void,\n    IProductSlimCreateFormStore,\n    ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments\n    > => {\n    return (dispatch, getState, extraArguments) : void => {\n        let blurValue = value;\n        if (field === 'priceAmount') {\n            if (blurValue.trim() === '') {\n                blurValue = DEFAULT_PRICE_VALUE;\n            }\n        }\n\n        const validationResult = ProductFormUtils.validateValueByFieldName(field, blurValue);\n        dispatch(setFormFieldValidationData(field, blurValue, validationResult.isValid, validationResult.errorMessage));\n    };\n};\n\nconst onSubmit = (\n    packaging : Packaging | null,\n    shouldIncludePrice : boolean,\n    shouldShowDistributorAndSkuFields : boolean,\n    onSaveCallback : (productId : ProductId) => void\n) : ThunkAction<\n        Promise<ProductId | void>,\n        IProductSlimCreateFormStore,\n        ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments\n    > => {\n    return (dispatch, getState, extraArguments) => {\n        const formIsValid = dispatch(onValidateFields(true));\n        if (!packaging) {\n            dispatch(ProductSlimCreateFormActions.setFormValidationData(false, 'Item packaging has missing or invalid information'));\n            return Promise.resolve();\n        } else if (!formIsValid) {\n            dispatch(ProductSlimCreateFormActions.setFormValidationData(false, 'Invalid product information'));\n            return Promise.resolve();\n        }\n\n        dispatch(setIsSubmitting(true));\n        const validationInputDataByFieldName = getState().productSlimCreateFormState.validationInputDataByFieldName;\n        const userAccountIdAndTimestamp = new UserAccountIdAndTimestamp(new UserAccountId('bevspot_system'), DateTime.now().toTimestampWithMillisecondPrecision());\n        const formData = getState().productSlimCreateFormState.formData;\n        if (formIsValid && formData) {\n            let price : Price;\n            if (shouldIncludePrice) {\n                price = new Price(\n                    parseFloat(validationInputDataByFieldName.priceAmount.value),\n                    oldPackagingUtils.getUnitFromValue(validationInputDataByFieldName.priceUnit.value)\n                );\n            } else {\n                price = new Price(0, oldPackagingUtils.getOldPackagingFromPackaging(packaging).getUnit());\n            }\n            const categoriesById = getState().productSlimCreateFormState.categoriesById;\n            const categoryId = new CategoryId(validationInputDataByFieldName.categoryId.value);\n            const productWithDummyPackaging = new Product(\n                '',\n                validationInputDataByFieldName.name.value,\n                new PackagingsAndMappings(\n                    oldPackagingUtils.getPackagingDataFromPackagingArray([packaging]),\n                    new Mappings(new StringValueMap(), new Map()),\n                    new Conversions(PackagingUtils.getBaseUnitOfPackaging(packaging), new StringValueMap(), new Map())\n                ),\n                PackagingUtils.getContainerPackagingId(packaging), // PTODO\n                new StringValueMap(),\n                validationInputDataByFieldName.categoryId.value,\n                categoryId,\n                '',\n                price,\n                0,\n                shouldShowDistributorAndSkuFields ? validationInputDataByFieldName.sku.value : '',\n                '',\n                '',\n                userAccountIdAndTimestamp,\n                userAccountIdAndTimestamp,\n                undefined\n            );\n\n            const userSessionId = extraArguments.services.userSessionReader.getSessionId();\n            const locationId = new LocationId(window.GLOBAL_RETAILER_ID);\n            const categoryPromise = categoriesById.has(categoryId) ?\n                Promise.resolve(categoryId) :\n                extraArguments.services.categoryService.createCategory(\n                    userSessionId,\n                    locationId,\n                    new Category(\n                        validationInputDataByFieldName.categoryId.value,\n                        '',\n                        false,\n                        '',\n                        userAccountIdAndTimestamp,\n                        userAccountIdAndTimestamp,\n                        undefined\n                    )\n                ).then((result) => {\n                    const newCategoriesById = new StringValueMap(categoriesById);\n                    newCategoriesById.set(\n                        result.category_id,\n                        new Category(\n                            validationInputDataByFieldName.categoryId.value,\n                            '',\n                            false,\n                            result.category_hash,\n                            userAccountIdAndTimestamp,\n                            userAccountIdAndTimestamp,\n                            undefined\n                        )\n                    );\n                    dispatch(setFormData({\n                        ...formData,\n                        categorySortedOptionsAndLabelNames: CategoryUtils.getCategorySortedOptionsAndLabelNames(newCategoriesById, null)\n                    }));\n                    dispatch(setCategoriesById(newCategoriesById));\n                    return Promise.resolve(result.category_id);\n                });\n            return Promise.resolve(categoryPromise).then((newCategoryId) => {\n                const product = productUtils.getProductWithNewCategory(\n                    ProductFormUtils.getProductDistributorAndParForEditOrCreate(productWithDummyPackaging, null, null, null, null).product,\n                    newCategoryId,\n                    categoriesById.has(newCategoryId) ? categoriesById.getRequired(newCategoryId).getName() : validationInputDataByFieldName.categoryId.value\n                );\n                return extraArguments.services.productService.createProduct(userSessionId, locationId, product)\n                .then((productId : ProductId) => {\n                    let distributorAssociationPromise = Promise.resolve();\n                    if (shouldShowDistributorAndSkuFields && validationInputDataByFieldName.distributorId.value) {\n                        const distributorId = new DistributorId(validationInputDataByFieldName.distributorId.value);\n                        distributorAssociationPromise = extraArguments.services.productDistributorService.associateDistributorIdWithProductId(userSessionId, productId, distributorId);\n                    }\n\n                    return Promise.all([\n                        extraArguments.services.locationProductService.setProductAsActive(userSessionId, locationId, productId),\n                        distributorAssociationPromise,\n                    ])\n                    .then(() => {\n                        onSaveCallback(productId);\n                        return Promise.resolve(productId);\n                    });\n                });\n            }).catch((error) => {\n                dispatch(setIsSubmitting(false));\n                throw error;\n            });\n        } else {\n            dispatch(setFormValidationData(false, 'Invalid product information'));\n            dispatch(setIsSubmitting(false));\n            return Promise.resolve();\n        }\n    };\n};\n\nconst onPackagingChange = (\n    packagingFormValidationInputDataByFieldName : PackagingFormValidationInputDataByFieldName,\n) : ThunkAction<void, IProductSlimCreateFormStore, ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormExtraArguments> => {\n    return (dispatch, getState, extraArguments) : void => {\n        dispatch(setFormValidationData(true, ''));\n        const priceUnitSortedOptionsAndLabelName = ProductFormUtils.getPriceUnitIOptions(packagingFormValidationInputDataByFieldName);\n        const priceUnitValue = getState().productSlimCreateFormState.validationInputDataByFieldName.priceUnit.value;\n\n        const index = priceUnitSortedOptionsAndLabelName[0][1].findIndex((iOption) => {\n            return iOption.value === priceUnitValue;\n        });\n\n        if (index === -1) {\n            dispatch(onFormFieldChange('priceUnit', priceUnitSortedOptionsAndLabelName[0][1][0].value || ''));\n        } else {\n            dispatch(onFormFieldChange('priceUnit', priceUnitValue)); // To cause rerender\n        }\n    };\n};\n\nexport const ProductSlimCreateFormActions : ProductSlimCreateFormActionInterfaces.IProductSlimCreateFormActionCreatorsMapObject = {\n    fetchProductSlimCreateFormData,\n    onFormFieldChange,\n    onFormFieldBlur,\n    setFormFieldValidationData,\n    setFormValidationData,\n    onSubmit,\n    resetForm,\n    createCustomCategory,\n    onValidateFields,\n    onPackagingChange,\n    setComponentIsShown,\n    setCategoriesById,\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { CategoryUtils } from 'api/Product/utils/categoryUtils';\nimport { Action } from '@reduxjs/toolkit';\n\nimport {\n    addToSortedOptionList,\n    OptionsAndLabelNameTuples\n} from 'shared/components/Select2Dropdown/Select2DropdownMenu';\nimport { IValidationInputData } from 'shared/components/ValidationInput';\nimport {\n    ActionTypes,\n    ProductSlimCreateFormActionInterfaces,\n} from './ProductSlimCreateFormActions';\n\nimport { DEFAULT_PRICE_VALUE } from 'apps/ItemCard/reducers/ItemCardReducers';\n\nexport type ProductSlimCreateFormFieldName = 'name' | 'categoryId' | 'priceAmount' | 'priceUnit' | 'distributorId' | 'sku';\nexport type ProductSlimCreateFormComponentName = 'packagingDefaultText' | 'priceDefaultText' | 'categoryDefaultText' | 'packagingDisplayText';\n\nexport interface IProductSlimCreateFormData {\n    distributorSortedOptionsAndLabelNames : OptionsAndLabelNameTuples;\n    categorySortedOptionsAndLabelNames : OptionsAndLabelNameTuples;\n}\n\nexport interface IProductSlimCreateFormState {\n    validationInputDataByFieldName : { [fieldName in ProductSlimCreateFormFieldName] : IValidationInputData };\n    isValid : boolean;\n    isSubmitting : boolean;\n    errorMessage : string;\n    formData : IProductSlimCreateFormData | null;\n    isShownByComponentName : {[componentName in ProductSlimCreateFormComponentName] : boolean};\n    categoriesById : StringValueMap<CategoryId, Category>;\n}\n\nconst productSlimCreateFormInitialValidationInputDataByFieldName = {\n    name: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    categoryId: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    priceAmount: {\n        value: DEFAULT_PRICE_VALUE,\n        isValid: true,\n        errorMessage: '',\n    },\n    priceUnit: {\n        value: 'other', // will pass validation even if not available on form\n        isValid: true,\n        errorMessage: '',\n    },\n    distributorId: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n    sku: {\n        value: '',\n        isValid: true,\n        errorMessage: '',\n    },\n};\n\nconst formInitialState : IProductSlimCreateFormState = {\n    validationInputDataByFieldName: { ...productSlimCreateFormInitialValidationInputDataByFieldName },\n    isValid: true,\n    isSubmitting: false,\n    errorMessage: '',\n    isShownByComponentName: { // defaults for single row layout - show defaults on load\n        packagingDefaultText: true,\n        priceDefaultText: true,\n        categoryDefaultText: true,\n        packagingDisplayText: false,\n    },\n    formData: null,\n    categoriesById: new StringValueMap()\n};\n\nconst reduceSetFormData = (\n    state : IProductSlimCreateFormState,\n    action : ProductSlimCreateFormActionInterfaces.ISetFormData\n) : IProductSlimCreateFormState => {\n    return {\n        ...state,\n        formData: { ...action.payload.formData },\n    };\n};\n\nconst reduceSetFormFieldValidationData = (\n    state : IProductSlimCreateFormState,\n    action : ProductSlimCreateFormActionInterfaces.ISetFormFieldValidationData\n) : IProductSlimCreateFormState => {\n    return {\n        ...state,\n        validationInputDataByFieldName: {\n            ...state.validationInputDataByFieldName,\n            [action.payload.field]: {\n                value: action.payload.value,\n                errorMessage: action.payload.errorMessage,\n                isValid: action.payload.isValid,\n            },\n        },\n    };\n};\n\nconst reduceSetFormValidationData = (\n    state : IProductSlimCreateFormState,\n    action : ProductSlimCreateFormActionInterfaces.ISetFormFieldValidationData\n) : IProductSlimCreateFormState => {\n    return {\n        ...state,\n        isValid: action.payload.isValid,\n        errorMessage: action.payload.errorMessage,\n    };\n};\n\nconst reduceSetIsSubmitting = (\n    state : IProductSlimCreateFormState,\n    action : ProductSlimCreateFormActionInterfaces.ISetIsSubmitting\n) : IProductSlimCreateFormState => {\n    return {\n        ...state,\n        isSubmitting: action.payload.isSubmitting,\n    };\n};\n\nconst reduceResetForm = (\n    state : IProductSlimCreateFormState,\n    action : ProductSlimCreateFormActionInterfaces.IResetForm\n) : IProductSlimCreateFormState => {\n    return {\n        ...state,\n        validationInputDataByFieldName: { ...productSlimCreateFormInitialValidationInputDataByFieldName },\n        isValid: true,\n        isSubmitting: false,\n        errorMessage: '',\n        isShownByComponentName: { ...formInitialState.isShownByComponentName }\n    };\n};\n\nconst reduceSetComponentIsShown = (\n    state : IProductSlimCreateFormState,\n    action : ProductSlimCreateFormActionInterfaces.ISetComponentIsShown\n) : IProductSlimCreateFormState  => {\n    return {\n        ...state,\n        isShownByComponentName: {\n            ...state.isShownByComponentName,\n            [action.payload.componentName]: action.payload.isShown,\n        },\n    };\n};\n\nconst reduceCategoriesById = (\n    state : IProductSlimCreateFormState,\n    action : ProductSlimCreateFormActionInterfaces.ISetCategoriesById\n) : IProductSlimCreateFormState  => {\n    return {\n        ...state,\n        categoriesById : action.payload.categoriesById\n    };\n};\n\nconst reduceCreateCustomCategory = (\n    state : IProductSlimCreateFormState,\n    action : ProductSlimCreateFormActionInterfaces.ICreateCustomCategory,\n) : IProductSlimCreateFormState => {\n\n    if (state.formData === null) {\n        return state;\n    }\n\n    return {\n        ...state,\n        formData: {\n            ...state.formData,\n            categorySortedOptionsAndLabelNames:\n                addToSortedOptionList(\n                    state.formData.categorySortedOptionsAndLabelNames,\n                    action.payload.category,\n                    null,\n                    CategoryUtils.categoryCompareFunction,\n                ),\n    }};\n};\n\nexport const ProductSlimCreateFormReducers = (\n    state : IProductSlimCreateFormState = formInitialState,\n    action : Action,\n) : IProductSlimCreateFormState => {\n    switch (action.type) {\n        case ActionTypes.SET_FORM_DATA:\n            return reduceSetFormData(state, action as ProductSlimCreateFormActionInterfaces.ISetFormData);\n        case ActionTypes.SET_FORM_FIELD_VALIDATION_DATA:\n            return reduceSetFormFieldValidationData(state, action as ProductSlimCreateFormActionInterfaces.ISetFormFieldValidationData);\n        case ActionTypes.SET_FORM_VALIDATION_DATA:\n            return reduceSetFormValidationData(state, action as ProductSlimCreateFormActionInterfaces.ISetFormFieldValidationData);\n        case ActionTypes.SET_IS_SUBMITTING:\n            return reduceSetIsSubmitting(state, action as ProductSlimCreateFormActionInterfaces.ISetIsSubmitting);\n        case ActionTypes.RESET_FORM:\n            return reduceResetForm(state, action as ProductSlimCreateFormActionInterfaces.IResetForm);\n        case ActionTypes.SET_COMPONENT_IS_SHOWN:\n            return reduceSetComponentIsShown(state, action as ProductSlimCreateFormActionInterfaces.ISetComponentIsShown);\n        case ActionTypes.SET_CATEGORIES_BY_ID:\n            return reduceCategoriesById(state, action as ProductSlimCreateFormActionInterfaces.ISetCategoriesById);\n        case ActionTypes.CREATE_CUSTOM_CATEGORY:\n            return reduceCreateCustomCategory(state, action as ProductSlimCreateFormActionInterfaces.ICreateCustomCategory);\n        default:\n            return state;\n    }\n};\n","import React from 'react';\n\nimport '../css/SnackBar.scss';\n\nexport interface ISnackBar {\n    /** Whether or not the SnackBar is visible on the page */\n    isShown : boolean;\n    /** The message to appear in the SnackBar */\n    message : string;\n    /** The text to show on the close button */\n    callToActionLabel : string | null;\n    /** Callback used on click of the dismiss button */\n    handleCloseButton() : void;\n}\n\n/**\n * @example ../../docs/SnackBar.example.md\n */\nexport class SnackBar extends React.Component<ISnackBar, object> {\n    public render() {\n        const {\n            isShown,\n            message,\n            callToActionLabel,\n            handleCloseButton,\n        } = this.props;\n\n        let className = 'snack-bar';\n        if (!isShown) {\n            className += ' snack-bar-hidden';\n        }\n        if (callToActionLabel !== null) {\n            className += ' snack-bar-close-button-text';\n        }\n\n        return (\n            <div className={ className }>\n                <a className=\"snack-bar-close\" onClick={ handleCloseButton }>\n                    { callToActionLabel === null &&\n                        <span className=\"bevicon bevico-close\"/>\n                    }\n                    { callToActionLabel !== null &&\n                        <span className=\"snack-bar-close-text\">{ callToActionLabel }</span>\n                    }\n                </a>\n                <p>{ message }</p>\n            </div>\n        );\n    }\n}\n","import React from 'react';\n\nimport { SortDirection } from 'shared/models/SortDirection';\n\nimport 'shared/css/SortableColumnHeader.scss';\n\nexport interface IColumnSorting {\n    sortedBy : string;\n    direction : SortDirection;\n}\n\n// TODO Cheezy: Rename onSortChange to onClick\nexport interface ISortableColumnHeaderProps {\n    classes : string | null;\n    columnId : string;\n    sorting : IColumnSorting;\n    onSortChange : (columnId : string) => void;\n    children : React.ReactNode;\n}\n\n// Adapted from OrderHistory ColumnHeader component\nexport class SortableColumnHeader extends React.Component<ISortableColumnHeaderProps, object> {\n    public render() {\n        const {\n            classes,\n            columnId,\n            sorting,\n        } = this.props;\n\n        let active : string = '';\n        let sortDirection : string = 'sorted-down ';\n        if (columnId === sorting.sortedBy) {\n            active = 'active-sort';\n        }\n        if (sorting.direction === SortDirection.DESCENDING) {\n            sortDirection = 'sorted-up ';\n        }\n\n        const extraClasses = classes === null ? '' : classes + ' ';\n\n        return (\n            <div\n                className={ 'cell cell-ptb sort-table-trigger ' + extraClasses + sortDirection + active }\n                onClick={ this.handleOnClick }\n            >\n                { this.props.children }\n            </div>\n        );\n    }\n\n    private handleOnClick = (mouseClickEvent : React.MouseEvent<HTMLDivElement>) => {\n        mouseClickEvent.preventDefault();\n        this.props.onSortChange(this.props.columnId);\n    }\n}\n","import React from 'react';\n\nimport { SvgPattern } from 'shared/models/StackedBarChart/SvgPattern';\n\n/**\n * SVG defs should take a pattern enum, and if it is there return the pattern and the mask\n * (mask should be set for an element via css)\n */\n\nexport interface ISvgDefs {\n    svgPattern : SvgPattern;\n}\n\nexport class SvgPatternDefinitions extends React.Component<ISvgDefs, object> {\n\n    public render() {\n        const {\n            svgPattern,\n        } = this.props;\n\n        switch (svgPattern) {\n\n            case SvgPattern.DIAGONAL_STRIPE_TOP_RIGHT_BOTTOM_LEFT_SMALL:\n                return (\n                    <defs>\n                        <pattern\n                            id=\"pattern-stripe\"\n                            width={ 4 }\n                            height={ 4 }\n                            patternUnits=\"userSpaceOnUse\"\n                        >\n                            <path\n                                d=\"M-1,1 l2,-2 M0,4 l4,-4 M3,5 l2,-2\"\n                                style={ { stroke: 'white',  strokeWidth: 2 } }\n                            />\n                        </pattern>\n                        <mask id=\"mask-stripe\">\n                            { /* TODO (Anna Lee Barber 3/2/17): apparently Microsoft Edge treats \"100%\" as 100% of the pattern box, not 100% of the parent, so may need to reconsider how to do this */ }\n                            <rect x=\"0\" y=\"0\" width={ 1000 } height={ 1000 } fill=\"url(#pattern-stripe)\" />\n                        </mask>\n                    </defs>\n                );\n\n            case SvgPattern.SOLID:\n            default:\n                return (\n                    <defs/>\n                );\n        }\n    }\n\n}\n","import React from 'react';\n\nimport { IHexColorsByCategoryName } from 'shared/models/Charts/IHexColorsByCategoryName';\nimport { SvgPattern } from 'shared/models/StackedBarChart/SvgPattern';\n\nimport { SvgPatternDefinitions } from './SvgPatternDefinitions';\n\n/**\n * ChartLegend properties\n */\nexport interface IChartLegend {\n    /** colors for each category possible within a stacked bar */\n    categoryColorsByCategoryName : IHexColorsByCategoryName;\n    /** height of square for the legend in pixels */\n    legendSquareSize : number;\n    /** possible pattern for legend square */\n    svgPattern : SvgPattern;\n\n    // Future work: give option for vertical layout (and necessary spacing?)\n}\n\n/**\n * Form ChartLegend\n */\nexport class ChartLegend extends React.Component<IChartLegend, object> {\n    public render() {\n        const {\n            categoryColorsByCategoryName,\n            legendSquareSize,\n            svgPattern,\n        } = this.props;\n\n        const legendLabels = Object.keys(categoryColorsByCategoryName).map((keyName : string, index : number) => {\n            const keyClassName = keyName.split(' ').join('-').toLowerCase() + '-block';\n            return (\n                <div\n                    className=\"cell chart-legend-cell\"\n                    key={ index }\n                >\n                        <svg\n                            className=\"chart-legend-square\"\n                            height={ legendSquareSize }\n                            width={ legendSquareSize }\n                        >\n                            <SvgPatternDefinitions\n                                svgPattern={ svgPattern }\n                            />\n\n                            <rect\n                                className={ keyClassName }\n                                fill={ categoryColorsByCategoryName[keyName].getValue() }\n                                height={ legendSquareSize }\n                                width={ legendSquareSize }\n                            />\n                        </svg>\n\n                        <span className=\"chart-legend-text\">{ keyName }</span>\n                </div>\n            );\n        });\n\n        return (\n            <div className=\"col-row\">\n                { legendLabels }\n            </div>\n        );\n\n    }\n}\n","import React from 'react';\n\nimport { HexColor } from 'shared/models/HexColor';\n\n/**\n * StackedBarCategoryStack properties\n */\nexport interface IStackedBarCategoryStack {\n    /** color of the rectangle/stack */\n    fillColor : HexColor;\n    /** key for the component (needs to be unique within the <g> group) */\n    componentKey : number;\n    /** id for the component (should be unique in the document) */\n    componentId : string;\n    /** starting x position for the stack in the svg element */\n    xValue : number;\n    /** starting y postition for the stack in the svg element */\n    yValue : number;\n    /** width of the stack */\n    width : number;\n    /** height of the stack */\n    height : number;\n    /** name of the category of the stack */\n    categoryName : string;\n}\n\n/**\n * Form StackedBarCategoryStack\n */\nexport class StackedBarCategoryStack extends React.Component<IStackedBarCategoryStack, object> {\n\n    public render() {\n        const {\n            fillColor,\n            componentKey,\n            componentId,\n            xValue,\n            yValue,\n            width,\n            height,\n            categoryName,\n        } = this.props;\n\n        const categoryClassName = categoryName.split(' ').join('-').toLowerCase() + '-block';\n\n        return (\n            <rect\n                className={ 'bar-chart-category-stack ' + categoryClassName }\n                fill={ fillColor.getValue() }\n                key={ componentKey }\n                id={ componentId + '-' + componentKey }\n                x={ xValue }\n                y={ yValue }\n                height={ height }\n                width={ width }\n                data-category={ categoryName }\n            />\n        );\n\n    }\n\n}\n","import * as d3 from 'd3';\n\ninterface IDomainRange {\n    minimum : number;\n    maximum : number;\n}\n\nexport class LinearScale {\n    public scaleLinear : d3.ScaleLinear<number, number>;\n\n    constructor(\n        scaleLinear : d3.ScaleLinear<number, number>\n    ) {\n        this.scaleLinear = scaleLinear;\n    }\n\n    /* d3 linear.ticks() defaults to 10 tick marks, and returns \"approximately\" the number of ticks when given a count.\n        This accounts for breaking ranges into reasonable tick marks, with clean numbers, so d3 will not\n        always give the exact number of tick marks passed in as 'count'\n    */\n    public getTicks(count : number | null) : Array<number> {\n        if (count) {\n            return this.scaleLinear.ticks(count);\n        }\n        return this.scaleLinear.ticks();\n    }\n\n    public getDomainValues() : IDomainRange {\n        const domainValues : Array<number> = this.scaleLinear.domain();\n\n        if (domainValues.length !== 2) {\n            throw Error('domain returned invalid result');\n        }\n        const domainRange : IDomainRange = {\n            minimum: domainValues[0],\n            maximum: domainValues[1],\n        };\n\n        return domainRange;\n    }\n\n}\n","import * as d3 from 'd3';\n\nexport class OrdinalBandScale {\n    public scaleOrdinal : d3.ScaleBand<string>;\n\n    constructor(\n        scaleOrdinal : d3.ScaleBand<string>\n    ) {\n        this.scaleOrdinal = scaleOrdinal;\n    }\n\n    public getValueFromKey(keyName : string) : number | undefined {\n        return this.scaleOrdinal(keyName);\n    }\n\n    public getKeys() : Array<string> {\n        return this.scaleOrdinal.domain();\n    }\n\n    public getBandwidth() : number {\n        return this.scaleOrdinal.bandwidth();\n    }\n}\n","import * as d3 from 'd3';\n\nimport { IValuesByCategoryName } from 'shared/models/Charts/IValuesByCategoryName';\nimport { IValuesByDataIdAndCategoryName } from 'shared/models/Charts/IValuesByDataIdAndCategoryName';\n\nimport { LinearScale } from 'shared/models/StackedBarChart/LinearScale';\nimport { OrdinalBandScale } from 'shared/models/StackedBarChart/OrdinalBandScale';\n\ninterface ICategoryStackSeriesDatum {\n    [key : string] : number;\n}\n\n//////////////////////////////////////\n// Linear Scale\n//////////////////////////////////////\nconst getLinearScale = (\n    minValue : number,\n    maxValue : number,\n    chartWidthOrHeight : number,\n) : LinearScale => {\n    const scale : d3.ScaleLinear<number, number> = d3.scaleLinear()\n        .rangeRound([0, chartWidthOrHeight])\n        .domain([minValue, maxValue]);\n\n    return new LinearScale(scale);\n};\n\nconst scaleValueLinear = (\n    value : number,\n    scaleLinear : LinearScale,\n) : number => {\n    const scaleDomainValues : {minimum : number, maximum : number} = scaleLinear.getDomainValues();\n\n    if (value < scaleDomainValues.minimum || value > scaleDomainValues.maximum) {\n        /**\n         * @todo Anna Lee Barber (January 31, 2017)\n         * Would be good to be able to communicate this happening to engineering (probably a case of an unexpected negative value)\n         */\n        // eslint-disable-next-line no-console\n        console.warn('chart value not in specified domain (' + value + ' < ' + scaleDomainValues.minimum + ' || ' + value + ' > ' + scaleDomainValues.maximum + ')');\n\n        // djangoApiManager.logJsError(\n        //     'chart value not in specified domain (' + value + ' < ' + scaleDomainValues.minimum + ' || ' + value + ' > ' + scaleDomainValues.maximum + ')',\n        //     null,\n        //     new RuntimeException('chart value not in specified domain'),\n        //     true\n        // );\n\n        return scaleDomainValues.minimum;\n    }\n\n    return scaleLinear.scaleLinear(value);\n};\n\n//////////////////////////////////////\n// Ordinal Scale\n//////////////////////////////////////\n/**\n * Notes on d3.scaleBand\n * -- align() tells d3 how leftover unused space in the range is distributed.\n *      0 on a Y-axis means \"to the bottom\", 1 means all extra at the top, 0.5 splits the two evenly.\n *      here, 0 is specified on the assumption that bars in a bar chart should start at the top of the chart's svg with no padding\n * -- rangeRound() ensures integers are given for y-values, to avoid antialiasing\n */\nconst getOrdinalScale = (\n    keys : Array<string>,\n    minValue : number,\n    maxValue : number,\n) : OrdinalBandScale => {\n    const scale : d3.ScaleBand<string> = d3.scaleBand()\n        .domain(keys)\n        .rangeRound([minValue, maxValue])\n        .align(0);\n\n    return new OrdinalBandScale(scale);\n};\n\nconst scaleValueOrdinal = (\n    keyName : string,\n    scale : OrdinalBandScale,\n) : number | null => {\n    const value = scale.scaleOrdinal(keyName);\n\n    if (typeof value === 'undefined') {\n        return null;\n    }\n\n    return value;\n};\n\n//////////////////////////////////////\n// Invert Scale\n//////////////////////////////////////\nconst invertScaledValue = (\n    scaledValue : number,\n    scaleLinear : LinearScale,\n) : number => {\n    // TODO test function\n    return scaleLinear.scaleLinear.invert(scaledValue);\n};\n\n//////////////////////////////////////\n// Chart Data\n//////////////////////////////////////\nconst getMaximumTotalCategoryValueFromDataValuesObject = (\n    valuesByDataIdAndCategoryName : IValuesByDataIdAndCategoryName,\n) : number => {\n    const dataIds = Object.keys(valuesByDataIdAndCategoryName);\n\n    const maxValue = dataIds.reduce(\n        (previousMaxValue : number, currentDataId : string) => {\n            const valuesByCategoryName : IValuesByCategoryName = valuesByDataIdAndCategoryName[currentDataId];\n\n            const totalForId : number = Object.keys(valuesByCategoryName).reduce(\n                (previousCategoryTotal : number, currentCategoryName : string) => {\n                    const nullableValue : number | null = valuesByCategoryName[currentCategoryName];\n                    const value : number = (nullableValue === null) ? 0 : nullableValue;\n\n                    if (value >= 0) {\n                        // if negative, do not calculate for max X-val display\n                        return previousCategoryTotal + value;\n                    }\n\n                    return previousCategoryTotal;\n                },\n                0);\n\n            return Math.max(previousMaxValue, totalForId);\n        },\n        0);\n\n    return maxValue;\n};\n\nconst getBarStackDataFromCategoryData = (\n    valuesByCategoryName : IValuesByCategoryName,\n    valuesAreNegative : boolean,\n) : Array<d3.Series<ICategoryStackSeriesDatum, string>> => {\n    const categoryNames : Array<string> = Object.keys(valuesByCategoryName);\n\n    // for display purposes, values need to either be all positive or all negative -- if there is a negative value in positive set, set that value to 0 (or vice versa)\n    const stack = d3.stack()\n        .keys(categoryNames)\n        .value((object, key) => {\n            if (valuesAreNegative) {\n                return Math.min(object[key], 0);\n            }\n\n            return Math.max(object[key], 0);\n        })\n        .order(d3.stackOrderNone)\n        .offset(d3.stackOffsetNone);\n\n    const nonNullableValuesByCategoryName: Record<string, number> = {};\n    Object.keys(valuesByCategoryName).forEach(\n        (categoryName : string) => {\n            const nullableValue : number | null = valuesByCategoryName[categoryName];\n            const value : number = (nullableValue === null) ? 0 : nullableValue;\n\n            nonNullableValuesByCategoryName[categoryName] = value;\n        }\n    );\n\n    return stack([nonNullableValuesByCategoryName]); // wrap as array neccessary for d3.stack()\n};\n\nexport const utils = {\n    getLinearScale,\n    scaleValueLinear,\n    getOrdinalScale,\n    scaleValueOrdinal,\n    invertScaledValue,\n    getMaximumTotalCategoryValueFromDataValuesObject,\n    getBarStackDataFromCategoryData,\n};\n","import React from 'react';\n\nimport { IHexColorsByCategoryName } from 'shared/models/Charts/IHexColorsByCategoryName';\nimport { IValuesByCategoryName } from 'shared/models/Charts/IValuesByCategoryName';\nimport { HexColor } from 'shared/models/HexColor';\nimport { LinearScale } from 'shared/models/StackedBarChart/LinearScale';\n\nimport { StackedBarCategoryStack } from './StackedBarCategoryStack';\n\nimport { utils } from 'shared/components/StackedBarGraph/utils';\n\n/**\n * HorizontalStackedBar properties\n */\nexport interface IHorizontalStackedBar {\n    /** numerical values by category for a stacked bar */\n    valuesByCategoryName : IValuesByCategoryName;\n    /** colors for each category possible within a stacked bar */\n    categoryColorsByCategoryName : IHexColorsByCategoryName;\n    /** starting y-value within an svg element for the stacked bar */\n    yValue : number;\n    /** scaling function to get the x-value of a given element */\n    xScale : LinearScale;\n    /** height for the stacked bar */\n    barHeight : number;\n    /** defaultColor for stacks */\n    defaultColor : HexColor;\n    /** mouse event for hovering over the bar */\n    handleMouseOver : ((groupName : string) => void) | null;\n    /** mouse event for leaving hover over bar */\n    handleMouseOut : ((groupName : string) => void) | null;\n    /** indicates whether per-category colors should be shown, or just the default */\n    showColors : boolean;\n    /** name of the stacked bar's parent label (the y-axis label) */\n    groupName : string;\n}\n\n/**\n * Form HorizontalStackedBar\n */\nexport class HorizontalStackedBar extends React.Component<IHorizontalStackedBar, object> {\n    public render() {\n        const {\n            valuesByCategoryName,\n            categoryColorsByCategoryName,\n            yValue,\n            xScale,\n            barHeight,\n            defaultColor,\n            handleMouseOut,\n            handleMouseOver,\n            showColors,\n            groupName,\n        } = this.props;\n\n        const onMouseOut = () => {\n            if (handleMouseOut !== null) {\n                handleMouseOut(groupName);\n            }\n        };\n        const onMouseOver = () => {\n            if (handleMouseOver !== null) {\n                handleMouseOver(groupName);\n            }\n        };\n\n        const series = utils.getBarStackDataFromCategoryData(valuesByCategoryName, false); // if want a stacked bar in the negative direction, need to pass in this boolean or calculate\n\n        const stackedRectangles = (series).map((seriesData, index) => {\n            const keyName : string = seriesData.key;\n            const rectangleColor : HexColor = categoryColorsByCategoryName[keyName] || defaultColor;\n\n            // scaling sometimes creates a gap between stack components because of rounding to nearest pixel -- add 1 to stackWidth (except for last stack) to handle this\n            const xValue : number = utils.scaleValueLinear(seriesData[0][0], xScale);\n            let stackWidth : number;\n            if ((seriesData[0][1] - seriesData[0][0]) === 0) {\n                stackWidth = 0;\n            } else {\n                stackWidth = utils.scaleValueLinear((seriesData[0][1] - seriesData[0][0]), xScale) + 1;\n                if (index === (series.length - 1) && stackWidth > 1) {\n                    stackWidth = stackWidth - 1;\n                }\n            }\n\n            return (\n                <StackedBarCategoryStack\n                    fillColor={ (showColors ? rectangleColor : defaultColor) }\n                    componentKey={ index }\n                    componentId={ groupName }\n                    xValue={ xValue }\n                    yValue={ yValue }\n                    height={ barHeight }\n                    width={ stackWidth }\n                    key={ index }\n                    categoryName={ keyName }\n                />\n            );\n        });\n\n        return(\n            <g\n                className=\"bar-chart-stacked-bar stacked-bar-group\"\n                onMouseOut={ onMouseOut }\n                onMouseOver={ onMouseOver }\n                onMouseLeave={ onMouseOut }\n                onMouseEnter={ onMouseOver }\n                id={ 'stacked-bar-group-' + groupName }\n                key={ groupName }\n                data-group-name={ groupName }\n            >\n                { stackedRectangles }\n            </g>\n        );\n    }\n\n}\n","import React from 'react';\n\nimport { IHexColorsByCategoryName } from 'shared/models/Charts/IHexColorsByCategoryName';\nimport { IValuesByCategoryName } from 'shared/models/Charts/IValuesByCategoryName';\nimport { IValuesByDataIdAndCategoryName } from 'shared/models/Charts/IValuesByDataIdAndCategoryName';\nimport { HexColor } from 'shared/models/HexColor';\nimport { LinearScale } from 'shared/models/StackedBarChart/LinearScale';\nimport { OrdinalBandScale } from 'shared/models/StackedBarChart/OrdinalBandScale';\n\nimport { HorizontalStackedBar } from './HorizontalStackedBar';\n\nimport { utils } from 'shared/components/StackedBarGraph/utils';\n\n/**\n * HorizontalBarChartGrid Properties\n */\nexport interface IBarChartGrid {\n    /** values for each data group (y-axis label), broken down by category */\n    chartValuesByDataIdAndCategoryName : IValuesByDataIdAndCategoryName;\n    /** colors for each category possible within a stacked bar */\n    perCategoryColorsByCategoryId : IHexColorsByCategoryName;\n    /** scaling function to get y value for a bar given a y axis key name */\n    yScale : OrdinalBandScale;\n    /** scaling function to get the x value of a given stack in a bar */\n    xScale : LinearScale;\n    /** height of each bar in the grid */\n    barHeight : number;\n    /** default color for bars on the chart */\n    barDefaultColor : HexColor;\n    /** mouse event for hovering over the bar */\n    handleMouseOver : ((groupName : string) => void) | null;\n    /** mouse event for leaving hover over bar */\n    handleMouseOut : ((groupName : string) => void) | null;\n\n    // For future work, if only showing colors on hover:\n    showCategoryColorsByGroupName : { [key : string] : boolean } | null;\n}\n\n/**\n * Form HorizontalBarChartGrid\n */\nexport class HorizontalBarChartGrid extends React.Component<IBarChartGrid, object> {\n\n    public render() {\n\n        const {\n            chartValuesByDataIdAndCategoryName,\n            perCategoryColorsByCategoryId,\n            yScale,\n            xScale,\n            barHeight,\n            barDefaultColor,\n            handleMouseOut,\n            handleMouseOver,\n            showCategoryColorsByGroupName,\n        } = this.props;\n\n        const dataKeys : Array<string> = Object.keys(chartValuesByDataIdAndCategoryName);\n\n        const bars = dataKeys.map((keyName : string, index : number) => {\n            const valuesByCategoryName : IValuesByCategoryName = chartValuesByDataIdAndCategoryName[keyName];\n\n            const yValue = utils.scaleValueOrdinal(keyName, yScale);\n            if (yValue === null) {\n                throw Error('invalid y-axis key for bar chart');\n            }\n\n            let shouldShowColors : boolean;\n            if (showCategoryColorsByGroupName && showCategoryColorsByGroupName[keyName]) {\n                shouldShowColors = showCategoryColorsByGroupName[keyName];\n            } else {\n                shouldShowColors = true;\n            }\n\n            return (\n                <HorizontalStackedBar\n                    valuesByCategoryName={ valuesByCategoryName }\n                    categoryColorsByCategoryName={ perCategoryColorsByCategoryId }\n                    xScale={ xScale }\n                    yValue={ yValue }\n                    barHeight={ barHeight }\n                    defaultColor={ barDefaultColor }\n                    handleMouseOut={ handleMouseOut }\n                    handleMouseOver={ handleMouseOver }\n                    showColors={ shouldShowColors }\n                    groupName={ keyName }\n                    key={ index }\n                />\n            );\n        });\n\n        return (\n            <g>\n                { bars }\n            </g>\n        );\n\n    }\n}\n","import React from 'react';\n\nimport { IHexColorsByCategoryName } from 'shared/models/Charts/IHexColorsByCategoryName';\n\n/**\n * YAxisLabel properties\n */\nexport interface IPrintStyleYAxisHeader {\n    /** category values for expanded label view (on print styles) */\n    categoryColorsByCategoryName : IHexColorsByCategoryName;\n}\n\nexport class PrintStyleYAxisHeader extends React.Component<IPrintStyleYAxisHeader, object> {\n\n    public render() {\n        const {\n            categoryColorsByCategoryName,\n        } = this.props;\n\n        const categoryKeys = Object.keys(categoryColorsByCategoryName);\n        const categoryNames = categoryKeys.map((categoryName : string) => {\n            return (\n                <div className=\"y-axis-print-style-category-header\" key={ categoryName }>{ categoryName }</div>\n            );\n        });\n\n        return (\n            <div className=\"y-axis-print-style-category-header-wrapper\">\n                <div className=\"y-axis-print-style-label-placeholder\"/>\n                { categoryNames }\n                <div className=\"y-axis-print-style-category-header\"> total </div>\n            </div>\n        );\n\n    }\n}\n","import React from 'react';\n\nimport { HexColor } from 'shared/models/HexColor';\nimport { LinearScale } from 'shared/models/StackedBarChart/LinearScale';\n\nimport { utils } from 'shared/components/StackedBarGraph/utils';\n\nexport interface IXAxis {\n    /** Linear scale used on the chart for the x-values */\n    xScale : LinearScale;\n    /** boolean indicating whether or not to show labels */\n    showTickLabels : boolean;\n    /** boolean indicating whether or not to show vertical grid lines */\n    showGridLines : boolean;\n    /** function to format the number value of a label (for $ or %) */\n    formatTicks : ((value : number) => string | number) | null;\n    /** approximate number of ticks to show */\n    tickCount : number | null;\n    /** height of the grid of the chart this x-axis is associated with */\n    chartGridHeight : number;\n\n    /* Possible future work:\n     * orientation: either \"top\" or \"bottom\", determines if the x axis is on top of the chart or bottom (can handle this by setting y-vals differently and/or using a transform)\n     * show x axis line & tick lines: show a line running across the x-axis with tick lines (structure: x-axis-line is parent of tick-line and tick-label)\n     * mouse events for the x-axis\n     */\n}\n\nexport const verticalLinePadding : number = 15;\nexport const additionalTextPadding : number = 15;\n\n/**\n * Form XAxis\n */\nexport class XAxis extends React.Component<IXAxis, object> {\n\n    public render() {\n        const {\n            xScale,\n            showTickLabels,\n            showGridLines,\n            formatTicks,\n            tickCount,\n            chartGridHeight,\n        } = this.props;\n\n        const xTicks : Array<number> = xScale.getTicks(tickCount);\n\n        const defaultColor = new HexColor('#000000');\n\n        const gridLine = (xPosition : number) => {\n            if (showGridLines) {\n                return (\n                    <line\n                        className=\"x-axis-grid-line\"\n                        x1={ xPosition }\n                        x2={ xPosition }\n                        y2={ chartGridHeight + verticalLinePadding }\n                        stroke={ defaultColor.getValue() }\n                        opacity={ 0.3 }\n                    />\n                );\n            }\n        };\n\n        const drawTicks = xTicks.map((tick, index) => {\n            const scaledXValue = utils.scaleValueLinear(tick, xScale);\n\n            const formattedTickValue : string | number = formatTicks ? formatTicks(tick) : tick;\n\n            return (\n                <g key={ index } className=\"x-axis-tick\" >\n\n                    { showGridLines &&\n                        gridLine(scaledXValue)\n                    }\n\n                    { showTickLabels &&\n                        <text\n                            className=\"x-axis-tick-label\"\n                            x={ scaledXValue }\n                            y={ chartGridHeight + verticalLinePadding + additionalTextPadding }\n                            textAnchor={ (index === 0) ? 'start' : 'middle' } // in order to have the first label display in full, need to have the text-anchor at start (assumes axis at 0)\n                        >\n                            { formattedTickValue }\n                        </text>\n                    }\n                </g>\n            );\n        });\n\n        return (\n            <g\n                className=\"x-axis\"\n            >\n                { drawTicks }\n            </g>\n        );\n    }\n\n}\n","import React from 'react';\n\nimport { IHexColorsByCategoryName } from 'shared/models/Charts/IHexColorsByCategoryName';\nimport { IValuesByCategoryName } from 'shared/models/Charts/IValuesByCategoryName';\nimport { HexColor } from 'shared/models/HexColor';\nimport { SvgPattern } from 'shared/models/StackedBarChart/SvgPattern';\n\nimport { SvgPatternDefinitions } from './SvgPatternDefinitions';\n\n/**\n * StackedBarChartTooltip properties\n */\nexport interface IStackedBarChartTooltipProps {\n    /** title for the tooltip */\n    displayTitle : string;\n    /** numerical values by category for display on the tooltip */\n    valuesByCategoryName : IValuesByCategoryName;\n    /** colors for each category possible within a tooltip */\n    perCategoryColorsByCategoryId : IHexColorsByCategoryName;\n    /** x value of the tooltip position */\n    xValue : number;\n    /** y value of the tooltip position */\n    yValue : number;\n    /** category of the tooltip that is being hovered over on the stacked bar */\n    categoryFocus : string;\n    /** possible pattern for tooltip square(s) */\n    svgPattern : SvgPattern;\n    /** size of tooltip square */\n    squareSize : number;\n    /** Either 'top' or 'bottom', denoting if the tooltip should be placed below the horizontal stacked bar or above it */\n    alignment : AlignmentEnum;\n    /** function to format the numeric value of a label */\n    formatNumbers : ((value : number) => string | number) | null;\n    /** defaultColor for categories */\n    defaultColor : HexColor;\n}\n\nexport enum AlignmentEnum {\n    'TOP' = 0,\n    'BOTTOM' = 1,\n}\n\n/**\n * Form StackedBarChartTooltip\n */\nexport class StackedBarChartTooltip extends React.Component<IStackedBarChartTooltipProps, object> {\n\n    public render() {\n        const {\n            displayTitle,\n            valuesByCategoryName,\n            perCategoryColorsByCategoryId,\n            xValue,\n            yValue,\n            categoryFocus,\n            svgPattern,\n            squareSize,\n            alignment,\n            formatNumbers,\n            defaultColor,\n        } = this.props;\n\n        const totalForDisplayName = this.totalForAllCategories(valuesByCategoryName);\n\n        const categoryKeys = Object.keys(valuesByCategoryName);\n        const shouldTooltipBeVertical : boolean = (Object.keys(perCategoryColorsByCategoryId).length > 2);\n\n        const categoriesAndValues = (shouldTooltipBeVertical || categoryKeys.length > 1) ? categoryKeys.map((categoryName : string, index : number) => {\n            const categoryColor : HexColor = perCategoryColorsByCategoryId[categoryName] || defaultColor;\n            const nullableValue : number | null = valuesByCategoryName[categoryName];\n            const categoryValue : number = (nullableValue === null) ? 0 : nullableValue;\n\n            const svgClassName = categoryName.split(' ').join('-').toLowerCase() + '-block';\n\n            return (\n                <div\n                    className={ 'bar-tooltip-category-name col-xs-12 col-sm-4 cell-ptb-sm ' + (categoryFocus === categoryName ? 'bar-chart-tooltip-category-focused' : '') }\n                    key={ index }\n                >\n                    { !(shouldTooltipBeVertical) &&\n                        <div\n                            className=\"bar-tooltip-category\"\n                        >\n                            { categoryName }\n                        </div>\n                    }\n                    { !(shouldTooltipBeVertical) &&\n\n                    <div className=\"bar-tooltip-category-value\">\n                        <text className=\"cell-plr-xs\">\n                            { formatNumbers ? formatNumbers(categoryValue) : categoryValue }\n                        </text>\n                        <svg\n                            height={ squareSize }\n                            width={ squareSize }\n                        >\n                            <SvgPatternDefinitions\n                                svgPattern={ svgPattern }\n                            />\n                            <rect\n                                className={ svgClassName }\n                                x={ 0 }\n                                y={ 0 }\n                                height={ squareSize }\n                                width={ squareSize }\n                                fill={ categoryColor.getValue() }\n                            />\n                        </svg>\n                    </div>\n                    }\n                    { (shouldTooltipBeVertical) &&\n                        <div\n                            className=\"col-intable bar-tooltip-category-value\"\n                        >\n                            <div\n                                className=\"col-row\"\n                            >\n                                <div\n                                    className=\"cell col-xs-5\"\n                                >\n                                    <text className=\"cell-plr-xs\">\n                                        { formatNumbers ? formatNumbers(categoryValue) : categoryValue }\n                                    </text>\n                                </div>\n                                <div\n                                    className=\"cell col-xs-2 text-center\"\n                                >\n                                    <svg\n                                        className={ svgClassName }\n                                        height={ squareSize }\n                                        width={ squareSize }\n                                    >\n                                        <SvgPatternDefinitions\n                                            svgPattern={ svgPattern }\n                                        />\n                                        <rect\n                                            x={ 0 }\n                                            y={ 0 }\n                                            height={ squareSize }\n                                            width={ squareSize }\n                                            fill={ categoryColor.getValue() }\n                                        />\n                                    </svg>\n                                </div>\n                                <div\n                                    className=\"cell col-xs-5 text-left\"\n                                >\n                                    <div\n                                        className=\"bar-tooltip-category\"\n                                    >\n                                        { categoryName }\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                        }\n                </div>\n            );\n        }) : null;\n\n        const tooltipStyle = {\n            left: xValue + 'px',\n\n            bottom: (alignment === AlignmentEnum.BOTTOM ? yValue + 'px' : ''),\n            top: (alignment === AlignmentEnum.TOP ? yValue + 'px' : ''),\n        };\n\n        return (\n            <div\n                className={ 'stacked-bar-chart-tooltip tooltip-' + displayTitle + (!categoriesAndValues ? ' stacked-bar-chart-single-tooltip' : '') + (shouldTooltipBeVertical ? ' stacked-bar-chart-tooltip-vertical-display' : '') }\n                style={ tooltipStyle }\n            >\n                <div className=\"bar-chart-tooltip-display-name text-left\">\n                    { displayTitle }\n                </div>\n                <div\n                    className=\"bar-chart-tooltip-data text-right col-row\"\n                >\n                    { categoriesAndValues }\n                    <div\n                        className={ 'col-xs-12 cell-ptb-sm bar-chart-tooltip-total-row '\n                            + (categoryFocus === 'Total' ? ' bar-chart-tooltip-category-focused' : '')\n                            + (!categoriesAndValues ? ' bar-chart-tooltip-one-category-chart' : '')\n                            + (!shouldTooltipBeVertical ? ' col-sm-4' : '') }\n                    >\n                        { !(shouldTooltipBeVertical) &&\n                            <div\n                                className=\"bar-tooltip-category bar-tooltip-category-total\"\n                            >\n                                Total\n                            </div>\n                        }\n                        { !(shouldTooltipBeVertical) &&\n                            <div\n                                className=\"bar-tooltip-category-value\"\n                            >\n                                { formatNumbers ? formatNumbers(totalForDisplayName) : totalForDisplayName }\n                            </div>\n                        }\n                        { (shouldTooltipBeVertical) &&\n                            <div\n                                className=\"col-intable\"\n                            >\n                                <div\n                                    className=\"col-row\"\n                                >\n                                    <div\n                                        className=\"cell col-xs-5\"\n                                    >\n                                        <div\n                                            className=\"bar-tooltip-category-value\"\n                                        >\n                                            { formatNumbers ? formatNumbers(totalForDisplayName) : totalForDisplayName }\n                                        </div>\n                                    </div>\n                                    <div\n                                        className=\"cell col-xs-2\"\n                                    />\n                                    <div\n                                        className=\"cell col-xs-5\"\n                                    >\n                                        <div\n                                            className=\"bar-tooltip-category bar-tooltip-category-total\"\n                                        >\n                                            Total\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        }\n                    </div>\n                </div>\n            </div>\n        );\n    }\n    private totalForAllCategories = (valuesByCategoryName : IValuesByCategoryName) : number => {\n\n        const total : number = Object.keys(valuesByCategoryName).reduce((prev : number, current : string) => {\n            const value : number | null = valuesByCategoryName[current];\n\n            if (value === null) {\n                return prev;\n            }\n\n            return prev + value;\n        }, 0);\n\n        return total;\n\n    }\n}\n","import React from 'react';\n\nimport { IValuesByCategoryName } from 'shared/models/Charts/IValuesByCategoryName';\n\nimport { MIN_DESKTOP_WIDTH } from 'shared/constants';\n\n/**\n * YAxisLabel properties\n */\nexport interface IYAxisLabel {\n    /** function for mouse event moving over component */\n    handleMouseOver : ((keyName : string) => void) | null;\n    /** function for mouse event moving off of component */\n    handleMouseOut : ((keyName : string) => void) | null;\n    /** text for the label */\n    labelText : string;\n    /** height of the label in pixels. Note: this does not necessarily === height of the actual bar, but should always be >= height of bar */\n    labelHeight : number;\n    /** category values for expanded label view (on print styles) */\n    valuesByCategoryName : IValuesByCategoryName;\n    /** function to format the numbers (shown on print styles) */\n    formatNumbers : ((value : number) => string | number) | null;\n}\n\nexport class YAxisLabel extends React.Component<IYAxisLabel, object> {\n\n    public render() {\n        const {\n            handleMouseOut,\n            handleMouseOver,\n            labelText,\n            labelHeight,\n            valuesByCategoryName,\n            formatNumbers,\n        } = this.props;\n\n        const onMouseOut = () => {\n            if (handleMouseOut !== null) {\n                handleMouseOut(labelText);\n            }\n        };\n        const onMouseOver = () => {\n            if (handleMouseOver !== null) {\n                handleMouseOver(labelText);\n            }\n        };\n\n        const onMobileClick = (event : React.MouseEvent<HTMLElement>) => {\n            if (window.matchMedia('(max-width: ' + MIN_DESKTOP_WIDTH + 'px)').matches) {\n                if (handleMouseOver !== null) {\n                    handleMouseOver(labelText);\n                }\n            }\n        };\n\n        const categoryKeys = Object.keys(valuesByCategoryName);\n        let totalValue = 0;\n        const categoryBreakdown = categoryKeys.map((categoryName : string, index : number) => {\n            const nullableValue : number | null = valuesByCategoryName[categoryName];\n            const value : number = (nullableValue === null) ? 0 : nullableValue;\n\n            totalValue += value;\n\n            if (categoryKeys.length > 1) {\n                return (\n                    <div className=\"category-value-y-axis-label\" key={ categoryName }>\n                        { (formatNumbers ? formatNumbers(value) : valuesByCategoryName[categoryName]) }\n                    </div>\n                );\n            } else {\n                return;\n            }\n        });\n        const totalValueDiv = (\n            <div className=\"category-value-y-axis-label total-value-y-axis-label\">\n                { (formatNumbers ? formatNumbers(totalValue) : totalValue) }\n            </div>\n        );\n\n        return (\n            <div\n                className=\"cell text-left bar-chart-y-axis-label-name\"\n                onMouseOver={ onMouseOver || undefined }\n                onMouseOut={ onMouseOut || undefined }\n                style={ { height: labelHeight + 'px' } }\n                id={ 'y-axis-label-' + labelText }\n                onClick={ onMobileClick }\n                key={ labelText }\n            >\n                <div className=\"label-fade-out\"/>\n                <div className=\"y-axis-label-wrapper\">\n                    <div className=\"y-axis-label-text\">\n                        { labelText }\n                        <div className=\"y-axis-label-ellipsis\" />\n                    </div>\n                </div>\n                <div className=\"y-axis-label-per-category-breakdown\">\n                    <div className=\"y-axis-label-category-breakdown\">\n                        { categoryBreakdown }\n                        { totalValueDiv }\n                    </div>\n                </div>\n            </div>\n        );\n\n    }\n}\n","import React from 'react';\n\nimport { IValuesByDataIdAndCategoryName } from 'shared/models/Charts/IValuesByDataIdAndCategoryName';\nimport { YAxisLabel } from './YAxisLabel';\n\n/**\n * IYAxisLabelContainer properties\n */\nexport interface IYAxisLabelContainer {\n    /** function to handle mouse over events */\n    mouseOverEvent : ((keyName : string) => void) | null;\n    /** function to handle mouse out events  */\n    mouseOutEvent : ((keyName : string) => void) | null;\n    /** values for each data group (y-axis label), broken down by category */\n    valuesByDataIdAndCategoryName : IValuesByDataIdAndCategoryName;\n    /** pixel height for rows. Note: this does not necessarily === height of the actual bars, but should always be >= height of bar */\n    rowHeight : number;\n    /** padding between bars. used for centering label text on the actual bar, not just the row. Should always be Row Height - Bar Height */\n    paddingBetweenBars : number | null;\n    /** function to format the numbers (shown on print styles) */\n    formatNumbers : ((value : number) => string | number) | null;\n}\n\n/**\n * Form YAxisLabelContainer\n */\nexport class YAxisLabelContainer extends React.Component<IYAxisLabelContainer, object> {\n\n    public render() {\n        const {\n            mouseOverEvent,\n            mouseOutEvent,\n            valuesByDataIdAndCategoryName,\n            rowHeight,\n            paddingBetweenBars,\n            formatNumbers,\n        } = this.props;\n\n        const yLabels = Object.keys(valuesByDataIdAndCategoryName).map((keyName : string, index : number) => {\n            return (\n                <div\n                    className=\"bar-chart-y-axis-label-row\"\n                    key={ index }\n                >\n                    <YAxisLabel\n                        labelText={ keyName }\n                        handleMouseOut={ mouseOutEvent }\n                        handleMouseOver={ mouseOverEvent }\n                        labelHeight={ paddingBetweenBars ? (rowHeight - paddingBetweenBars) : rowHeight }\n                        valuesByCategoryName={ valuesByDataIdAndCategoryName[keyName] }\n                        formatNumbers={ formatNumbers }\n                    />\n                    { paddingBetweenBars &&\n                        <div\n                            className=\"bar-chart-y-axis-label-padding\"\n                            style={ { height: paddingBetweenBars + 'px' } }\n                        />\n                    }\n                </div>\n            );\n        });\n\n        return (\n            <div className=\"col-xs-12 y-axis-labels\">\n                { yLabels }\n            </div>\n        );\n\n    }\n\n}\n","import React from 'react';\nimport * as ReactDOM from 'react-dom';\n\nimport { IHexColorsByCategoryName } from 'shared/models/Charts/IHexColorsByCategoryName';\nimport { IValuesByDataIdAndCategoryName } from 'shared/models/Charts/IValuesByDataIdAndCategoryName';\nimport { HexColor } from 'shared/models/HexColor';\nimport { LinearScale } from 'shared/models/StackedBarChart/LinearScale';\nimport { OrdinalBandScale } from 'shared/models/StackedBarChart/OrdinalBandScale';\nimport { SvgPattern } from 'shared/models/StackedBarChart/SvgPattern';\n\nimport { ChartLegend } from './ChartLegend';\nimport { HorizontalBarChartGrid } from './HorizontalBarChartGrid';\nimport { PrintStyleYAxisHeader } from './PrintStyleYAxisHeader';\nimport { SvgPatternDefinitions } from './SvgPatternDefinitions';\nimport { additionalTextPadding, verticalLinePadding, XAxis } from './XAxis';\nimport { YAxisLabelContainer } from './YAxisLabelContainer';\n\nimport { AlignmentEnum, StackedBarChartTooltip } from './StackedBarChartTooltip'; // this should probably not be here?\n\nimport { utils } from 'shared/components/StackedBarGraph/utils';\n\nimport { MIN_DESKTOP_WIDTH } from 'shared/constants';\n\n/**\n * HorizontalBarChart properties\n */\nexport interface IHorizontalBarChart {\n    /** boolean indicating whether or not legend on top of chart should be displayed */\n    showLegend : boolean;\n    /** boolean indicating if the chart has a tooltip  */\n    hasTooltip : boolean;\n    /** boolean indicating if the chart has a vertical line following the mouse */\n    hasMouseVerticalLine : boolean;\n\n    /** colors for each category possible within a stacked bar */\n    categoryColorsByCategoryName : IHexColorsByCategoryName;\n    /** values for each data group (y-axis label), broken down by category */\n    valuesByDataIdAndCategoryName : IValuesByDataIdAndCategoryName;\n\n    /** function for event on mouse hover/on focus of the y-axis  */\n    yAxisOnMoveOver : ((keyName : string) => void) | null;\n    /** function for event on mouse leave/on blur of the y-axis  */\n    yAxisOnMoveOut : ((keyName : string) => void) | null;\n\n    /** function for event on mouse hover/on focus of a stacked bar  */\n    barChartOnMoveOver : ((keyName : string) => void) | null;\n    /** function for event on mouse leave/on blur of a stacked bar  */\n    barChartOnMoveOut : ((keyName : string) => void) | null;\n\n    /** pattern to use on fills for categories of bars, must be defined on the svg level */\n    svgPattern : SvgPattern;\n\n    /** boolean indicating if tick labels on the XAxis should be shown. If this and showVerticalGridLines are both false, no x-axis will be shown */\n    showXAxisTicks : boolean;\n    /** boolean indicating if vertial grid lines should be shown. If this and showXAxisTicks are both false, no x-axis will be shown */\n    showVerticalGridLines : boolean;\n\n    /** function for formatting labels on the x-axis (also used on the tooltip, if applicable) */\n    formatTicks : ((value : number) => string | number) | null;\n\n    /**\n     * color to be shown if 1) the bar chart only shows category colors on hover/focus, and needs a default display\n     * or 2) if a category does not have a set color\n     */\n    barColorToOverwriteCategoryColors : HexColor;\n\n    /**\n     * height of an individual bar on the chart, in pixels. Together with paddingBetweenBars used to calculate the overall height of the chart's svg\n     * (note: if bar height < text size, there will be display issues)\n     */\n    barHeight : number;\n    /** padding between bars on the chart, in pixels. Together with barHeight used to calculate the overall height of the chart's svg */\n    paddingBetweenBars : number;\n\n    /** boolean indicating if the chart's page is currently loading data, and therefore should show a default view */\n    isLoading : boolean;\n}\n\ninterface IHorizontalBarChartState {\n    showCategoryColors : {[key : string] : boolean};\n    width : number;\n    legendTextElement : Element | null;\n    tooltipElement : JSX.Element | null;\n    verticalMouseLine : JSX.Element | null;\n    isPrintView : boolean;\n}\n\nconst loadingState = {\n    showLegend: false,\n    hasTooltip: false,\n    hasMouseVerticalLine: false,\n    categoryColorsByCategoryName: { test: new HexColor('#e9e9e6') },\n    valuesByDataIdAndCategoryName: {\n        '----------------------------------'    : { test: 15 },\n        '-----------------------------------'   : { test: 13 },\n        '------------------------------------'  : { test: 9 },\n        '-------------------------------------' : { test: 7 },\n        '--------------------------------------': { test: 3 },\n    },\n    yAxisOnMoveOver: null,\n    yAxisOnMoveOut: null,\n    barChartOnMoveOver: null,\n    barChartOnMoveOut: null,\n    svgPattern: SvgPattern.SOLID,\n    showXAxisTicks: false,\n    showVerticalGridLines: false,\n    formatTicks: null,\n    barColorToOverwriteCategoryColors: new HexColor('#e9e9e6'),\n    barHeight: 20,\n    paddingBetweenBars: 5,\n};\n\n/**\n * Form HorizontalBarChart\n */\nexport class HorizontalBarChart extends React.Component<IHorizontalBarChart, IHorizontalBarChartState> {\n    private xScale : LinearScale | null = null;\n    private yScale : OrdinalBandScale | null = null;\n    private chartGridHeight : number = 0;\n    private chartGridWidth : number = 0;\n    private barChartComponentSvg : SVGElement | null = null;\n    private isMobile : boolean = false;\n\n    constructor(props : IHorizontalBarChart) {\n        super(props);\n        this.state = {\n            showCategoryColors: {},\n            width: 0,\n            tooltipElement: null,\n            legendTextElement: null,\n            verticalMouseLine: null,\n            isPrintView: false,\n        };\n    }\n\n    // This functionality is to handle window resizing -- if a parent generic component is created for HorizontalBarChart, the resize should live there\n    public handleResize = () => {\n        // This has been deprecated and is not guaranteed to work going forward. If you need to touch this code, please replace it.\n        // eslint-disable-next-line react/no-find-dom-node\n        const thisNode = ReactDOM.findDOMNode(this);\n\n        if (thisNode) {\n            const container = thisNode.parentNode as HTMLDivElement;\n\n            setTimeout(() => {\n                if (container) {\n                    const containerWidth = container.clientWidth || container.offsetWidth;\n    \n                    // NOTE: `this` can be used because of the arrow function\n                    this.setState({\n                        ...this.state,\n                        width: containerWidth,\n                    });\n                }\n            }, 350);\n        }\n    }\n\n    public hasClass = (elementClassName : string, classString : string) => {\n        return (' ' + elementClassName + ' ').indexOf(' ' + classString + ' ') > -1;\n    }\n\n    public handleTooltipEnter = (displayName : string, categoryFocus : string, xValueMouse : number | null, isMobile : boolean) : JSX.Element => {\n        const {\n            categoryColorsByCategoryName,\n            valuesByDataIdAndCategoryName,\n            svgPattern,\n            barHeight,\n            formatTicks,\n            barColorToOverwriteCategoryColors,\n        } = this.props;\n\n        if (categoryFocus !== 'Total' && !(categoryFocus in valuesByDataIdAndCategoryName[displayName])) {\n            throw Error('invalid focus for tooltip');\n        }\n\n        // TODO should just check if there are two categories instead of checking if one? depends on what sizing is\n        const isSingleCategoryTooltip : boolean = (Object.keys(categoryColorsByCategoryName).length === 1);\n        const isVerticalTooltip : boolean = (Object.keys(categoryColorsByCategoryName).length > 2);\n        const tooltipScale : number = isMobile ? 0.75 : 0.45;\n\n        let tooltipWidth : number;\n        if (isSingleCategoryTooltip) {\n            tooltipWidth = Math.min(Math.max(this.chartGridWidth * tooltipScale, 210), 224);\n        } else if (isVerticalTooltip) {\n            tooltipWidth = Math.min(Math.max(this.chartGridWidth * tooltipScale, 210), 224);\n        }  else if (isMobile) {\n            tooltipWidth = this.chartGridWidth * tooltipScale;\n        } else {\n            tooltipWidth = Math.min(Math.max(this.chartGridWidth * tooltipScale, 308), 420);\n        }\n\n        let yValue : number = 0;\n        let xValueTooltip : number = xValueMouse ? (xValueMouse + 20) : 0;\n        if (this.xScale) {\n            if (categoryFocus === 'Total') {\n                xValueTooltip = this.chartGridWidth;\n            }\n\n            if ((xValueTooltip + tooltipWidth) > this.chartGridWidth) {\n                xValueTooltip = this.chartGridWidth - tooltipWidth;\n            }\n        }\n\n        let alignment : AlignmentEnum = AlignmentEnum.TOP;\n        if (this.yScale) {\n\n            const chartHeightWithXAxis : number =  this.chartGridHeight + verticalLinePadding + additionalTextPadding;\n\n            const rowYValue : number = this.yScale.getValueFromKey(displayName) || 0;\n\n            let barHeightAdjustment : number = barHeight;\n            if (categoryFocus === 'Total' && this.xScale) { // if hover on yAxis and there is space to put the tooltip to the right of the bar, put tooltip at the height of the bar\n                // get total X value of the specific bar\n                const xValueForEndOfBar : number = utils.getMaximumTotalCategoryValueFromDataValuesObject({ displayName: valuesByDataIdAndCategoryName[displayName] });\n\n                if ((utils.scaleValueLinear(xValueForEndOfBar, this.xScale) + tooltipWidth) <= this.chartGridWidth) {\n                    barHeightAdjustment = 0;\n                }\n\n            }\n\n            if (rowYValue > (chartHeightWithXAxis / 2)) {\n                yValue = chartHeightWithXAxis - (rowYValue - barHeightAdjustment) + 5; // 5 px of padding\n                alignment = AlignmentEnum.BOTTOM;\n            } else {\n                yValue = rowYValue + barHeightAdjustment + 5;\n            }\n\n        }\n\n        return (\n            <StackedBarChartTooltip\n                displayTitle={ displayName }\n                valuesByCategoryName={ valuesByDataIdAndCategoryName[displayName] }\n                perCategoryColorsByCategoryId={ categoryColorsByCategoryName }\n                yValue={ yValue }\n                xValue={ xValueTooltip }\n                categoryFocus={ categoryFocus }\n                svgPattern={ svgPattern }\n                squareSize={ 13 } // This is the best course of action for now, given that the tooltip is not statically set on the page\n                alignment={ alignment }\n                formatNumbers={ formatTicks }\n                defaultColor={ barColorToOverwriteCategoryColors }\n            />\n        );\n    }\n\n    public handleYAxisTooltipEnter = (displayName : string) => {\n\n        const {\n            yAxisOnMoveOver,\n        } = this.props;\n\n        const newTooltipElement = this.handleTooltipEnter(displayName, 'Total', null, this.isMobile);\n        this.setState({\n            ...this.state,\n            tooltipElement: newTooltipElement,\n        });\n\n        if (yAxisOnMoveOver) {\n            yAxisOnMoveOver(displayName);\n        }\n    }\n\n    public handleTooltipLeave = (displayName : string) => {\n        const {\n            yAxisOnMoveOut,\n        } = this.props;\n\n        this.setState({\n            ...this.state,\n            tooltipElement: null,\n        });\n\n        // call additional mouse events for y-axis if necessary\n        if (yAxisOnMoveOut) {\n            yAxisOnMoveOut(displayName);\n        }\n\n    }\n\n    public handleTooltipClickSvg = (event : React.MouseEvent<SVGElement>) => {\n        const {\n            hasTooltip,\n        } = this.props;\n\n        // only have click events on mobile devices\n        if (this.isMobile) {\n            if (hasTooltip) {\n                const target = event.target as SVGElement;\n                if (this.hasClass(target.className.baseVal, 'bar-chart-category-stack')) {\n\n                    // use parentNode as a fallback because IE does not support parentElement\n                    const stackParent = target.parentElement || target.parentNode as HTMLElement;\n                    if (!stackParent) {\n                        throw Error('no HorizontalStackedBar found for StackedBarCategoryStack');\n                    }\n\n                    const rect = target.getBoundingClientRect();\n                    const offsetX = rect.left + document.body.scrollLeft;\n\n                    let x = (event.pageX - offsetX); // x value of mouse relative to the object it's on\n\n                    const parentOffsetX = stackParent.getBoundingClientRect().left; // need scrolling?\n\n                    // if the mouse is on a stacked bar, the mouse value relative to the chart is the page mouse value - stackedBar (event.target parent) offset,\n                    // instead of page mouse value - event.target offset\n                    x = x + (offsetX - parentOffsetX);\n\n                    const groupName : string | null = stackParent.getAttribute('data-group-name');\n\n                    if (groupName === null) {\n                        throw Error('group name not set on HorizontalStackedBar');\n                    }\n\n                    const categoryFocus : string | null = target.getAttribute('data-category');\n                    if (categoryFocus === null) {\n                        throw Error('StackedBarCategoryStack has no category attribute');\n                    }\n\n                    const newTooltipElement = this.handleTooltipEnter(groupName, categoryFocus, x, true);\n\n                    this.setState({\n                        ...this.state,\n                        tooltipElement: newTooltipElement,\n                    });\n\n                } else {\n                    this.setState({\n                        ...this.state,\n                        tooltipElement: null,\n                    });\n                }\n            }\n        }\n\n    }\n\n    /**\n     * In order to have mouse move events for both the tooltip and vertical mouse line, they must be done\n     * on the same level. The vertical line needs to happen on the level of the svg, so they are both done in\n     * this component, and information about specific bar stacks is derived from the event target.\n     */\n    public handleMouseMoveSvg = (event : React.MouseEvent<SVGElement>) => {\n        const {\n            hasMouseVerticalLine,\n            hasTooltip,\n            formatTicks,\n        } = this.props;\n\n        if (this.xScale) {\n            const parentSVG = event.currentTarget;\n            const target = event.target as SVGElement;\n\n            const rect = parentSVG.getBoundingClientRect();\n            const offsetX = rect.left + document.body.scrollLeft;\n\n            let x = (event.pageX - offsetX); // x value of mouse relative to the object it's on\n\n            // Need to check if x is past actual chart width (may still be on svg)\n            if (x > this.chartGridWidth) {\n                this.setState({\n                    ...this.state,\n                    verticalMouseLine: null,\n                });\n            } else {\n\n                let newTooltipElement = this.state.tooltipElement;\n                let newMouseVertical = this.state.verticalMouseLine;\n\n                if (hasTooltip) {\n                    if (this.hasClass(target.className.baseVal, 'bar-chart-category-stack')) {\n                        // use parentNode as a fallback because IE does not support parentElement\n                        const stackParent = target.parentElement || target.parentNode as HTMLElement;\n\n                        if (!stackParent) {\n                            throw Error('no HorizontalStackedBar found for StackedBarCategoryStack');\n                        }\n\n                        const parentOffsetX = stackParent.getBoundingClientRect().left; // need scrolling?\n\n                        // if the mouse is on a stacked bar, the mouse value relative to the chart is the page mouse value - stackedBar (event.currentTarget parent) offset,\n                        // instead of page mouse value - event.currentTarget offset\n                        x = x + (offsetX - parentOffsetX);\n\n                        const groupName : string | null = stackParent.getAttribute('data-group-name');\n\n                        if (groupName === null) {\n                            throw Error('group name not set on HorizontalStackedBar');\n                        }\n\n                        const categoryFocus : string | null = target.getAttribute('data-category');\n                        if (categoryFocus === null) {\n                            throw Error('StackedBarCategoryStack has no category attribute');\n                        }\n\n                        newTooltipElement = this.handleTooltipEnter(groupName, categoryFocus, x, false);\n                    }\n                }\n\n                if (hasMouseVerticalLine) {\n                    const chartHeightWithXAxis : number = this.chartGridHeight + verticalLinePadding + additionalTextPadding;\n                    const invertedXValue = utils.invertScaledValue(x, this.xScale);\n\n                    newMouseVertical = (\n                        <svg\n                            className=\"bar-chart-vertical-hover\"\n                        >\n                            <g\n                                style={ { overflow: 'hidden', textAnchor: 'middle', fontWeight: 'bold', textShadow: '1px 1px 1px #FFFFFF' } }\n                            >\n                                <line\n                                    x1={ x }\n                                    x2={ x }\n                                    y1={ 0 }\n                                    y2={ this.chartGridHeight + verticalLinePadding } // matches XAxis styling\n                                    stroke=\"black\"\n                                    strokeDasharray=\"5,5\"\n                                />\n                                <rect\n                                    x={ x - 20 }\n                                    y={ chartHeightWithXAxis - 15 }\n                                    fill=\"#ffffff\"\n                                    height=\"20\"\n                                    width=\"40\"\n                                />\n                                <text\n                                    x={ x }\n                                    y={ chartHeightWithXAxis }\n                                    textAnchor=\"middle\"\n                                    fill=\"black\"\n                                >\n                                    { formatTicks ? formatTicks(invertedXValue) : invertedXValue.toFixed(1) }\n                                </text>\n                            </g>\n                        </svg>\n                    );\n                }\n\n                this.setState({\n                    ...this.state,\n                    verticalMouseLine: newMouseVertical,\n                    tooltipElement: newTooltipElement,\n                });\n            }\n\n        }\n    }\n\n    public handleMouseLeaveSvg = () => {\n        this.setState({\n            ...this.state,\n            verticalMouseLine: null,\n            tooltipElement: null,\n        });\n    }\n\n    public barChartSvgRef = (instance : SVGElement | null) => {\n        this.barChartComponentSvg = instance;\n    }\n\n    // TODO: event as `any` here is weak\n    public onBarChartPageClick = (event : MouseEvent) => {\n        // ie11 doesn't support `contains` on <svg/>'s\n        if (this.barChartComponentSvg !== null && typeof this.barChartComponentSvg.contains === 'undefined') {\n            return;\n        }\n        if (this.barChartComponentSvg === null || !this.barChartComponentSvg.contains(event.target as Element)) {\n            this.setState({\n                ...this.state,\n                verticalMouseLine: null,\n                tooltipElement: null,\n            });\n        }\n    }\n\n    public handleChartPrint = (printSelected : boolean) => {\n        this.setState({\n            ...this.state,\n            isPrintView: printSelected,\n        });\n    }\n\n    public componentDidMount() {\n        this.handleResize();\n        window.addEventListener('resize', this.handleResize);\n\n        if (this.isMobile) {\n            // handle on capture phase so that clicks on y-axis labels display tooltips\n            window.addEventListener('click', this.onBarChartPageClick, true);\n        }\n\n        const mediaQueryList = window.matchMedia('print');\n        mediaQueryList.addListener((mql : MediaQueryListEvent) => {\n            if (mql.matches) {\n                this.handleChartPrint(true);\n            } else {\n                this.handleChartPrint(false);\n            }\n        });\n    }\n\n    public componentWillUnmount() {\n        window.removeEventListener('resize', this.handleResize);\n        window.removeEventListener('click', this.onBarChartPageClick);\n    }\n\n    public render() {\n        const {\n            showLegend,\n            hasTooltip,\n            hasMouseVerticalLine,\n            categoryColorsByCategoryName,\n            valuesByDataIdAndCategoryName,\n            yAxisOnMoveOver,\n            yAxisOnMoveOut,\n            barChartOnMoveOver,\n            barChartOnMoveOut,\n            svgPattern,\n            showXAxisTicks,\n            showVerticalGridLines,\n            formatTicks,\n            barColorToOverwriteCategoryColors,\n            barHeight,\n            paddingBetweenBars,\n        } = (this.props.isLoading) ? loadingState : this.props;\n\n        const isLoading = this.props.isLoading;\n\n        this.isMobile = window.matchMedia('(max-width: ' + MIN_DESKTOP_WIDTH + 'px)').matches;\n\n        /**\n         * On print, the y-axis labels take up 2 lines instead of 1 -- total height right now being 30px. In order to properly set the labels and bars,\n         * calculate correctBarPadding and then set the label padding based on that and labelSizeOnPrint\n         */\n        let correctBarPadding = paddingBetweenBars;\n        const labelSizeOnPrint = 30;\n        if (this.state.isPrintView) {\n            correctBarPadding = Math.max(41 - barHeight, paddingBetweenBars);\n        }\n\n        /**\n         * Anna Lee Barber 2/8/17\n         * Note on looping over valuesByDataIdAndCategoryName and its sub-categories:\n         * Browsers generally enumerate object keys by insertion order, though there are two important exceptions:\n         *  1: If some keys are strings and some are numbers or strings of numbers (both 1 and '1'), some browsers will enumerate\n         *      all of the number keys, then all of the string keys, while others keep insertion order\n         *  2: If a key is deleted and then redefined, some browsers treat that key as being in its original order, and some browsers put it at the end of the order\n         * If either of these are a concern, refactor to use arrays instead\n         */\n        const dataKeys : Array<string> = Object.keys(valuesByDataIdAndCategoryName);\n\n        const maxXValue : number = utils.getMaximumTotalCategoryValueFromDataValuesObject(valuesByDataIdAndCategoryName);\n\n        const scaledWidth = (this.state.width === 0 && isLoading) ? 300 : this.state.width;\n\n        /** if one of these changes, the other needs to change so that the total = 100%, and svgChartWidth corresponds to barChartGridWidthPercentage */\n        const yAxisWidthPercentage : string = '22%';\n        const barChartGridWidthPercentage : string = '78%';\n        const svgChartWidth = scaledWidth * 0.78;\n\n        const svgChartHeight : number = dataKeys.length * (barHeight + correctBarPadding) + 50;\n\n        // Chart grid must be slightly smaller than the parent svg so that labels on the x-axis will not be cut off\n        this.chartGridHeight = svgChartHeight - 50;\n        this.chartGridWidth = svgChartWidth - 50;\n\n        // if we want a negative (left) bar chart, need to calculate minXValue while maxXValue is 0\n        this.xScale = utils.getLinearScale(0, maxXValue, this.chartGridWidth);\n        this.yScale = utils.getOrdinalScale(dataKeys, 0, this.chartGridHeight);\n\n        // TODO: what rule should we use for this?\n        const tickCount = Math.round(this.chartGridWidth / 100);\n\n        let containerLegendTextSize : number = 14;\n        if (this.state.legendTextElement) {\n            containerLegendTextSize = parseInt(window.getComputedStyle(this.state.legendTextElement).getPropertyValue('font-size'), 10);\n        }\n        const legendSquareSize = containerLegendTextSize;\n\n        return (\n            <div\n                style={ {\n                    width: '100%',\n                    position: 'relative',\n                } }\n                className={ isLoading ? 'bar-chart-loading-state' : '' }\n            >\n                { (scaledWidth > 0 || isLoading) && // without this, rectangles will be calculated with negative heights & widths, which throws warnings\n                    <div>\n                        { showLegend &&\n                            <div className=\"col-row cell-ptb\">\n                                <div\n                                    className={ (Object.keys(categoryColorsByCategoryName).length > 1) ? 'col-xs-1 chart-with-y-axis-categories chart-legend-y-axis-placeholder' : 'col-xs-1 chart-legend-y-axis-placeholder' }\n                                    style={ { width: yAxisWidthPercentage } }\n                                >\n                                    { (Object.keys(categoryColorsByCategoryName).length > 1) &&\n                                        <PrintStyleYAxisHeader\n                                            categoryColorsByCategoryName={ categoryColorsByCategoryName }\n                                        />\n                                    }\n                                </div>\n                                <div\n                                    className={ (Object.keys(categoryColorsByCategoryName).length > 1) ? 'col-xs-11 text-right chart-with-y-axis-categories bar-chart-legend-wrapper' : 'col-xs-11 text-right bar-chart-legend-wrapper' }\n                                    style={ { width: barChartGridWidthPercentage } }\n                                >\n                                    <div\n                                        style={ { width: this.chartGridWidth } }\n                                    >\n                                        <ChartLegend\n                                            categoryColorsByCategoryName={ categoryColorsByCategoryName }\n                                            legendSquareSize={ legendSquareSize }\n                                            svgPattern={ svgPattern }\n                                        />\n                                    </div>\n                                </div>\n                            </div>\n                        }\n                        <div className=\"col-row\">\n                            <div\n                                className=\"chart-loading-text\"\n                            >\n                                <h4>\n                                    Not enough data yet.\n                                </h4>\n                                <p>\n                                    Start taking some actions so you can see the good stuff.\n                                </p>\n                            </div>\n                            <div\n                                className={ (Object.keys(categoryColorsByCategoryName).length > 1) ? 'col-xs-1 chart-with-y-axis-categories y-axis-wrapper' : 'col-xs-1 y-axis-wrapper' }\n                                style={ { width: yAxisWidthPercentage, padding: 0 } }\n                            >\n                                <YAxisLabelContainer\n                                    valuesByDataIdAndCategoryName={ valuesByDataIdAndCategoryName }\n                                    mouseOutEvent={ (hasTooltip ? this.handleTooltipLeave : yAxisOnMoveOut) }\n                                    mouseOverEvent={ (hasTooltip ? this.handleYAxisTooltipEnter : yAxisOnMoveOver) }\n                                    rowHeight={ this.yScale.getBandwidth() }\n                                    paddingBetweenBars={ (this.state.isPrintView ? (barHeight + correctBarPadding - labelSizeOnPrint) : paddingBetweenBars) }\n                                    formatNumbers={ formatTicks }\n                                />\n                            </div>\n                            <div\n                                className={ (Object.keys(categoryColorsByCategoryName).length > 1) ? 'col-xs-11 chart-with-y-axis-categories bar-chart-wrapper' : 'col-xs-11 bar-chart-wrapper' }\n                                style={ { width: barChartGridWidthPercentage, padding: 0 } }\n                            >\n                                <svg\n                                    className=\"bar-chart-svg\"\n                                    height={ svgChartHeight }\n                                    width={ svgChartWidth }\n                                    onMouseMove={ (hasTooltip || hasMouseVerticalLine) ? this.handleMouseMoveSvg : undefined }\n                                    onMouseOut={ (hasTooltip || hasMouseVerticalLine) ? this.handleMouseLeaveSvg : undefined }\n                                    onClick={ hasTooltip ? this.handleTooltipClickSvg : undefined }\n                                    ref={ this.barChartSvgRef }\n                                >\n                                    <SvgPatternDefinitions\n                                        svgPattern={ svgPattern }\n                                    />\n\n                                    <g>\n                                        { (showXAxisTicks || showVerticalGridLines) &&\n                                            <XAxis\n                                                xScale={ this.xScale }\n                                                showTickLabels={ showXAxisTicks }\n                                                showGridLines={ showVerticalGridLines }\n                                                formatTicks={ formatTicks }\n                                                tickCount={ tickCount }\n                                                chartGridHeight={ this.chartGridHeight }\n                                            />\n                                        }\n                                        <HorizontalBarChartGrid\n                                            chartValuesByDataIdAndCategoryName={ valuesByDataIdAndCategoryName }\n                                            perCategoryColorsByCategoryId={ categoryColorsByCategoryName }\n                                            barHeight={ this.yScale.getBandwidth() - correctBarPadding }\n                                            xScale={ this.xScale }\n                                            yScale={ this.yScale }\n                                            barDefaultColor={ barColorToOverwriteCategoryColors }\n                                            handleMouseOut={ barChartOnMoveOut }\n                                            handleMouseOver={ barChartOnMoveOver }\n                                            showCategoryColorsByGroupName={ this.state.showCategoryColors }\n                                        />\n                                    </g>\n                                    { hasMouseVerticalLine &&\n                                        this.state.verticalMouseLine\n                                    }\n                                </svg>\n                                { hasTooltip &&\n                                    this.state.tooltipElement\n                                    // TODO: revisit having this not live on the state\n                                }\n                            </div>\n                        </div>\n                    </div>\n                }\n            </div>\n        );\n    }\n\n}\n","import React from 'react';\n\nimport './StickyHeaderWrapper.scss';\n\ninterface IStickyHeaderWrapperProps {\n    onIsStuckChange? : (newIsStuck : boolean) => void;\n    getTopInset? : () => number;\n    headerContainerClassName? : string;\n    shouldStickLeft? : boolean;\n    children : React.ReactNode;\n}\n\ninterface IStickyHeaderWrapperStyleState {\n    top? : number;\n    left? : number;\n    width? : number;\n    position? : 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';\n}\n\ninterface IStickyHeaderWrapperState {\n    isStuck : boolean;\n    style : IStickyHeaderWrapperStyleState;\n}\n\nexport const PAGE_SIDEBAR_TOGGLE_EVENT_NAME = 'pageSidebarToggle';\nexport const NAV_BAR_COMPRESS_TOGGLE_EVENT_NAME = 'navBarCompressToggle';\n\nexport class StickyHeaderWrapper extends React.Component<IStickyHeaderWrapperProps, IStickyHeaderWrapperState> {\n\n    private framePending : boolean;\n    private stickyHeaderWrapper : HTMLDivElement | null;\n    private stickyHeaderWrapperRefFunction : (stickyHeaderWrapper : HTMLDivElement) => void;\n\n    public constructor(props : IStickyHeaderWrapperProps) {\n        super(props);\n\n        this.framePending = false;\n        this.stickyHeaderWrapper = null;\n        this.stickyHeaderWrapperRefFunction = this.stickyHeaderWrapperRefFunctionFactory();\n        this.state = {\n            isStuck: false,\n            style: { }\n        };\n\n        setTimeout(() => {\n            return this.handleContainer();\n        }, 1000);\n    }\n\n    public componentDidMount() {\n        window.addEventListener('scroll', this.handleContainerEvent, true);\n        // window.addEventListener('touchstart', this.handleContainerEvent, true);\n        // window.addEventListener('touchmove', this.handleContainerEvent, true);\n        // window.addEventListener('touchend', this.handleContainerEvent, true);\n        window.addEventListener('resize', this.handlePageResize);\n        window.addEventListener('pageshow', this.handleContainerEvent);\n\n        document.addEventListener(NAV_BAR_COMPRESS_TOGGLE_EVENT_NAME, this.handleNavBarResize);\n        document.addEventListener(PAGE_SIDEBAR_TOGGLE_EVENT_NAME, this.handlePageSidebarResize);\n    }\n\n    public componentWillUnmount() {\n        window.removeEventListener('scroll', this.handleContainerEvent, true);\n        // window.removeEventListener('touchstart', this.handleContainerEvent, true);\n        // window.removeEventListener('touchmove', this.handleContainerEvent, true);\n        // window.removeEventListener('touchend', this.handleContainerEvent, true);\n        window.removeEventListener('resize', this.handlePageResize);\n        window.removeEventListener('pageshow', this.handleContainerEvent);\n\n        document.removeEventListener(NAV_BAR_COMPRESS_TOGGLE_EVENT_NAME, this.handleNavBarResize);\n        document.removeEventListener(PAGE_SIDEBAR_TOGGLE_EVENT_NAME, this.handlePageSidebarResize);\n    }\n\n    public shouldComponentUpdate(nextProps : IStickyHeaderWrapperProps, nextState : IStickyHeaderWrapperState) {\n        return (\n            (this.state.isStuck !== nextState.isStuck) ||\n            (this.state.style.top !== nextState.style.top) ||\n            (this.state.style.left !== nextState.style.left) ||\n            (this.state.style.width !== nextState.style.width) ||\n            (this.state.style.position !== nextState.style.position) ||\n            (this.props.getTopInset !== nextProps.getTopInset) ||\n            (this.props.headerContainerClassName !== nextProps.headerContainerClassName) ||\n            (this.props.children !== nextProps.children)\n        );\n    }\n\n    public render() {\n        let stickyHeaderWrapperHeight : number | undefined;\n        if (this.stickyHeaderWrapper != null) {\n            stickyHeaderWrapperHeight = (this.stickyHeaderWrapper.lastElementChild as HTMLElement).offsetHeight;\n        }\n\n        return (\n            <div\n                className={ 'sticky-header-wrapper' + (this.state.isStuck ? ' stuck' : '') }\n                ref={ this.stickyHeaderWrapperRefFunction }\n                style={ this.state.isStuck ? { height: stickyHeaderWrapperHeight } : {} }\n            >\n                <div/>\n                <div\n                    className={ `header-wrapper-container ` + (this.props.headerContainerClassName ? this.props.headerContainerClassName : '') }\n                    style={ this.state.style }\n                >\n                    { this.props.children }\n                </div>\n            </div>\n        );\n    }\n\n    private handleNavBarResize = (event : Event) => {\n        this.handleResizeEvent(event, 280);\n    }\n\n    private handlePageResize = (event : Event) => {\n        this.handleResizeEvent(event, 200);\n    }\n\n    private handlePageSidebarResize = (event : Event) => {\n        this.handleResizeEvent(event, 0);\n    }\n\n    private handleResizeEvent = (event : Event, timeout : number) => { // timeout to wait for any applicable animations to finish\n        setTimeout(() => {\n            return this.handleContainerEvent(event);\n        }, timeout);\n    }\n\n    private handleContainerEvent = (event : Event) => {\n        if (!this.stickyHeaderWrapper) {\n            return;\n        }\n\n        if ((event.target === document) || (event.target === window) || ((event.target as Node).contains && (event.target as Node).contains(this.stickyHeaderWrapper))) {\n            this.handleContainer();\n        }\n    }\n\n    private handleContainer = () => {\n        if (!this.stickyHeaderWrapper) {\n            return;\n        }\n\n        const parentElement = this.stickyHeaderWrapper.parentElement;\n        if (parentElement) {\n            if (!this.framePending) {\n                window.requestAnimationFrame(() => {\n                    if (!this.stickyHeaderWrapper) {\n                        return;\n                    }\n\n                    this.framePending = false;\n\n                    let heightOffset = 0;\n\n                    const getTopInset = this.props.getTopInset;\n                    if (typeof getTopInset === 'undefined') {\n                        const contentHeaderElements = document.getElementsByClassName('page-header');\n                        if (contentHeaderElements.length) {\n                            heightOffset = contentHeaderElements[0].clientHeight;\n                        }\n                    } else {\n                        heightOffset = getTopInset();\n                    }\n\n                    const stuckElements = document.querySelectorAll('.sticky-header-wrapper.stuck');\n                    for (let i = 0; i < stuckElements.length; i++) {\n                        const stuckElement = stuckElements[i];\n                        if (stuckElement === this.stickyHeaderWrapper) {\n                            break;\n                        }\n\n                        if ((stuckElement.parentNode && stuckElement.parentNode.contains(this.stickyHeaderWrapper))) {\n                            heightOffset += stuckElement.clientHeight;\n                        }\n                    }\n\n                    const parentBoundingClientRect = parentElement.getBoundingClientRect();\n                    const childBoundingClientRect = (this.stickyHeaderWrapper.firstElementChild as HTMLElement).getBoundingClientRect();\n\n                    const boundingRectTopDifference = childBoundingClientRect.top - parentBoundingClientRect.top;\n\n                    const isStuck = ((parentBoundingClientRect.top <= (heightOffset - boundingRectTopDifference)) || (boundingRectTopDifference < 0)) && (parentBoundingClientRect.bottom > heightOffset);\n\n                    let style : IStickyHeaderWrapperStyleState = {};\n                    if (isStuck) {\n                        const diff = (parentBoundingClientRect.bottom - heightOffset) - this.stickyHeaderWrapper.clientHeight;\n                        style = {\n                            top: ((boundingRectTopDifference < 0) && (parentBoundingClientRect.top > heightOffset)) ? parentBoundingClientRect.top : (diff < 0 ? (heightOffset + diff) : heightOffset),\n                            width: childBoundingClientRect.width,\n                            position: 'fixed',\n                        };\n\n                        if (this.props.shouldStickLeft) {\n                            style.left = childBoundingClientRect.left;\n                        }\n                    }\n\n                    this.setState((state : IStickyHeaderWrapperState) => {\n                        if (state.isStuck !== isStuck && this.props.onIsStuckChange) {\n                            this.props.onIsStuckChange(isStuck);\n                        }\n\n                        return {\n                            isStuck,\n                            style,\n                        };\n                    });\n                });\n                this.framePending = true;\n            }\n        }\n    }\n\n    private stickyHeaderWrapperRefFunctionFactory() {\n        return (stickyHeaderWrapper : HTMLDivElement) => {\n            this.stickyHeaderWrapper = stickyHeaderWrapper;\n        };\n    }\n}\n","import React from 'react';\nimport MediaQuery from 'react-responsive';\n\nimport { MAX_TABLET_WIDTH, MIN_DESKTOP_WIDTH } from 'shared/constants';\nimport './TabButton.scss';\n\ninterface ITabButtonProps {\n    label : string;\n    shortLabel? : string;\n    icon? : string | JSX.Element;\n    onClick : (event? : React.MouseEvent) => void;\n    isSelected : boolean;\n    isDisabled? : boolean;\n}\n\nexport class TabButton extends React.Component<ITabButtonProps, object> {\n    public render() {\n        const classList = `tab-button${ this.props.isSelected ? ' selected' : '' }${ this.props.isDisabled ? ' disabled' : ''}`;\n        return (\n            <div className={ classList } onClick={ this.props.onClick }>\n                { this.renderIcon() }\n                { this.renderLabel() }\n            </div>\n        );\n    }\n\n    private renderIcon() {\n        if (this.props.icon) {\n            const iconClassList = `bevicon ${this.props.icon}`;\n            return (<div className=\"icon-container\"><span className={ iconClassList }/></div>);\n        }\n    }\n\n    private renderLabel() {\n        const { label, shortLabel } = this.props;\n\n        if (label) {\n            return (\n                <div className=\"label-container\">\n                     <MediaQuery minWidth={ MIN_DESKTOP_WIDTH }>\n                        <span className=\"label\">{ label }</span>\n                     </MediaQuery>\n                    <MediaQuery maxWidth={ MAX_TABLET_WIDTH }>\n                        <span className=\"label\">{ shortLabel ? shortLabel : label }</span>\n                    </MediaQuery>\n                </div>\n            );\n        }\n    }\n}\n","import { ThunkAction, IAction, ISetShownAction } from 'shared/models/IAction';\nimport { IExtraArguments } from 'shared/components/Provider';\n\nimport { IToastIntegrationService } from 'api/Integration/interfaces/IToastIntegrationService';\nimport { ToastIntegrationState } from 'api/Integration/model/ToastIntegrationState';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IToastIntegrationBlockState } from './ToastIntegrationBlockReducers';\n\nexport interface IToastIntegrationBlockStore {\n    toastIntegrationBlockState : IToastIntegrationBlockState;\n}\n\nexport const ActionTypes = {\n    SET_MODAL_SHOWN: 'TOAST_INTEGRATION_BLOCK/SET_MODAL_SHOWN',\n    SET_EXISTING_INTEGRATION_STATE: 'TOAST_INTEGRATION_BLOCK/SET_EXISTING_INTEGRATION_STATE',\n    SET_IS_LOADING: 'TOAST_INTEGRATION_BLOCK/SET_IS_LOADING',\n    SET_MODAL_ACCESS_TOKEN: 'TOAST_INTEGRATION_BLOCK/SET_MODAL_ACCESS_TOKEN',\n    SET_SELECTED_MERCHANT_ID: 'TOAST_INTEGRATION_BLOCK/SET_SELECTED_MERCHANT_ID',\n};\n\nexport namespace ToastIntegrationActionInterfaces {\n    export interface ISetModalShown extends ISetShownAction {\n    }\n\n    export interface ISetIsLoading extends IAction {\n        payload : {\n            isLoading : boolean\n        };\n    }\n\n    export interface ISetModalAccessToken extends IAction {\n        payload : {\n            accessToken : string | null\n        };\n    }\n\n    export interface ISetExistingIntegrationState extends IAction {\n        payload : {\n            toastIntegrationStates : Set<ToastIntegrationState>\n        };\n    }\n\n    export interface ISetSelectedMerchantId extends IAction {\n        payload : {\n            merchantId : string | null\n        };\n    }\n\n    export interface IServices {\n        toastIntegrationService : IToastIntegrationService;\n    }\n    export interface IThunkServices extends IExtraArguments {\n        services : IServices;\n    }\n}\n\nconst setModalShown = (\n    isShown : boolean\n) : ToastIntegrationActionInterfaces.ISetModalShown => ({\n    payload : {\n        isShown,\n    },\n    type : ActionTypes.SET_MODAL_SHOWN\n});\n\nconst setIsLoading = (\n    isLoading : boolean\n) : ToastIntegrationActionInterfaces.ISetIsLoading => ({\n    payload : {\n        isLoading\n    },\n    type: ActionTypes.SET_IS_LOADING,\n});\n\nconst setModalAccessToken = (\n    accessToken : string | null\n) : ToastIntegrationActionInterfaces.ISetModalAccessToken => ({\n    payload : {\n        accessToken,\n    },\n    type : ActionTypes.SET_MODAL_ACCESS_TOKEN\n});\n\nconst setExistingIntegrationStates = (\n    toastIntegrationStates : Set<ToastIntegrationState>\n) : ToastIntegrationActionInterfaces.ISetExistingIntegrationState => ({\n    payload : {\n        toastIntegrationStates,\n    },\n    type: ActionTypes.SET_EXISTING_INTEGRATION_STATE,\n});\n\nconst setSelectedMerchantId = (\n    merchantId : string | null\n) : ToastIntegrationActionInterfaces.ISetSelectedMerchantId => ({\n    payload : {\n        merchantId,\n    },\n    type: ActionTypes.SET_SELECTED_MERCHANT_ID,\n});\n\nconst fetchExistingIntegration = (\n    locationId : LocationId\n) : ThunkAction<Promise<Set<ToastIntegrationState>>, IToastIntegrationBlockStore, ToastIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<Set<ToastIntegrationState>> => {\n        dispatch(setIsLoading(true));\n        return extraArguments.services.toastIntegrationService.getToastIntegrationState(locationId)\n        .then((data : Set<ToastIntegrationState>) => {\n            dispatch(setExistingIntegrationStates(data));\n            dispatch(setIsLoading(false));\n            return data;\n        }).catch((e) => {\n            dispatch(setIsLoading(false));\n            throw e;\n        });\n    };\n};\n\nconst retrieveAccessToken = (\n    locationId : LocationId,\n) : ThunkAction<Promise<void>, IToastIntegrationBlockStore, ToastIntegrationActionInterfaces.IThunkServices> => {\n    return (dispatch, getState, extraArguments) : Promise<void> => {\n        return extraArguments.services.toastIntegrationService.getToastAccessToken(\n            locationId,\n        ).then((response) => {\n            const key = 'accessToken';\n            // TODO need to test this flow and verify that the new types are correct\n            let accessToken = response === null ? null : response[key];\n\n            if (accessToken == null || accessToken === \"\") {\n                accessToken = \"Access token not found.\";\n            }\n\n            dispatch(setModalAccessToken(accessToken));\n        }).catch((error) => {\n            throw error;\n        });\n    };\n};\n\nexport const ToastIntegrationBlockActions = {\n    setModalShown,\n    setSelectedMerchantId,\n    fetchExistingIntegration,\n    setModalAccessToken,\n    retrieveAccessToken\n};\n","import { Action } from '@reduxjs/toolkit';\nimport { ActionTypes, ToastIntegrationActionInterfaces } from './ToastIntegrationBlockActions';\n\nimport { ToastIntegrationState } from 'api/Integration/model/ToastIntegrationState';\n\nexport interface IToastIntegrationBlockState {\n    isLoading : boolean;\n    existingIntegration : Set<ToastIntegrationState> | null;\n    modalIsShown : boolean;\n    selectedMerchantId : string | null;\n    modalState: IToastIntegrationModalState | null;\n}\n\nexport interface IToastIntegrationModalState {\n    accessToken: string | null;\n}\n\nconst initialState : IToastIntegrationBlockState = {\n    isLoading : false,\n    existingIntegration : null,\n    modalIsShown : false,\n    selectedMerchantId : null,\n    modalState: null,\n};\n\nconst reduceSetIsLoading = (\n    state : IToastIntegrationBlockState,\n    action : ToastIntegrationActionInterfaces.ISetIsLoading\n) : IToastIntegrationBlockState => {\n    return {\n        ...state,\n        isLoading : action.payload.isLoading,\n    };\n};\n\nconst reduceSetModalShown = (\n    state : IToastIntegrationBlockState,\n    action : ToastIntegrationActionInterfaces.ISetModalShown\n) : IToastIntegrationBlockState => {\n    return {\n        ...state,\n        modalIsShown : action.payload.isShown,\n    };\n};\n\nconst reduceSetModalAccessToken = (\n    state : IToastIntegrationBlockState,\n    action : ToastIntegrationActionInterfaces.ISetModalAccessToken\n) : IToastIntegrationBlockState => {\n    return {\n        ...state,\n        modalState: {\n            ...state.modalState,\n            accessToken: action.payload.accessToken\n        }\n    };\n};\n\nconst reduceSetExistingIntegrationState = (\n    state : IToastIntegrationBlockState,\n    action : ToastIntegrationActionInterfaces.ISetExistingIntegrationState\n) : IToastIntegrationBlockState => {\n    return {\n        ...state,\n        existingIntegration : action.payload.toastIntegrationStates,\n    };\n};\n\nconst reduceSetSelectedMerchantId = (\n    state : IToastIntegrationBlockState,\n    action : ToastIntegrationActionInterfaces.ISetSelectedMerchantId\n) : IToastIntegrationBlockState => {\n    return {\n        ...state,\n        selectedMerchantId : action.payload.merchantId,\n    };\n};\n\nexport const ToastIntegrationBlockReducers = (\n    state : IToastIntegrationBlockState = initialState,\n    action : Action,\n) : IToastIntegrationBlockState => {\n    switch (action.type) {\n        case ActionTypes.SET_IS_LOADING:\n            return reduceSetIsLoading(state, action as ToastIntegrationActionInterfaces.ISetIsLoading);\n        case ActionTypes.SET_EXISTING_INTEGRATION_STATE:\n            return reduceSetExistingIntegrationState(state, action as ToastIntegrationActionInterfaces.ISetExistingIntegrationState);\n        case ActionTypes.SET_MODAL_SHOWN:\n            return reduceSetModalShown(state, action as ToastIntegrationActionInterfaces.ISetModalShown);\n        case ActionTypes.SET_MODAL_ACCESS_TOKEN:\n            return reduceSetModalAccessToken(state, action as ToastIntegrationActionInterfaces.ISetModalAccessToken);\n        case ActionTypes.SET_SELECTED_MERCHANT_ID:\n            return reduceSetSelectedMerchantId(state, action as ToastIntegrationActionInterfaces.ISetSelectedMerchantId);\n        default:\n            return state;\n    }\n};\n","import React from 'react';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { CurrencyCode, getCurrencySymbol } from 'shared/models/Currency';\n\nimport 'shared/css/ValidationInput.scss';\n\nexport enum ValidationInputTheme {\n    Default = 1,\n    Basic = 5,\n    BasicInverted = 6,\n    SearchBarLegacy = 7,\n}\n\n// Some browswers ignore autocomplete=off so using this instead\n// See https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion\nconst NOT_A_VALID_AUTOCOMPLETE_VALUE = '_NOT_A_VALID_AUTOCOMPLETE_VALUE_';\n\nexport type autoCompleteValue = 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'address-line1' | 'address-line2' | 'postal-code';\n\nexport interface IValidationInputData {\n    value : string;\n    isValid : boolean;\n    errorMessage : string;\n}\n\n/**\n * Important if type=\"number\":\n * decimal inputs are considered invalid if step is not set (default is step=1). decimal places in step represent the number of valid decimal places for that input\n * If step is \"any\", any decimal or integer is considered valid\n * Firefox is now putting red boxes around invalid number inputs, so this is worse than it used to be.\n * Also microsoft edge has an existing bug with number inputs and does not correctly validate strings, so we should refactor to not use number inputs\n */\nexport interface IValidationInputProps extends IValidationInputData {\n    type : string;\n    label : string | null;\n    hintText : string | null;\n    value : string;\n    step? : number | 'any';\n    min? : number;\n    maxLength? : number;\n    autoFocus : boolean; // https://github.com/facebook/react/issues/5534 (only works on initial render, not updates)\n    autoComplete : autoCompleteValue | null;\n    autoCorrect? : string;\n    isValid : boolean;\n    errorMessage : string;\n    inputClassName : string;\n    isDisabled? : boolean;\n    handleEnterClick : ((event : React.KeyboardEvent<HTMLInputElement>) => void) | null;\n    handleChange : (event : React.ChangeEvent<HTMLInputElement>) => void;\n    handleBlur : ((event : React.FocusEvent<HTMLInputElement>) => void) | null;\n    handleFocus : ((event : React.FocusEvent<HTMLInputElement>) => void) | null;\n    isCurrencyInput? : boolean; // CAS NOTE: this isn't our favorite way to accomplish this but it would require a significant refactor to implement a better solution. Made APP-3502 in Jira to account for it\n    /** Overrides the retailer's currency, for amounts charged in a fixed one. */\n    currencyCode? : CurrencyCode;\n    isPercentInput? : boolean; // CAS NOTE: this isn't our favorite way to accomplish this but it would require a significant refactor to implement a better solution. Made APP-3502 in Jira to account for it\n    theme? : ValidationInputTheme;\n}\n\nexport class ValidationInput extends React.Component<IValidationInputProps, object> {\n    private wrapperElement : Element | undefined;\n\n    public shouldComponentUpdate(nextProps : IValidationInputProps, nextState : object) {\n        return (this.props.label !== nextProps.label) ||\n               (this.props.value !== nextProps.value) ||\n               (this.props.autoFocus !== nextProps.autoFocus) ||\n               (this.props.autoComplete !== nextProps.autoComplete) ||\n               (this.props.isValid !== nextProps.isValid) ||\n               (this.props.errorMessage !== nextProps.errorMessage) ||\n               (this.props.inputClassName !== nextProps.inputClassName) ||\n               (this.props.hintText !== nextProps.hintText) ||\n               (this.props.isDisabled !== nextProps.isDisabled) ||\n               (this.props.isCurrencyInput !== nextProps.isCurrencyInput) ||\n               (this.props.currencyCode !== nextProps.currencyCode) ||\n               (this.props.isPercentInput !== nextProps.isPercentInput);\n    }\n\n    public render() {\n        const {\n            type,\n            step,\n            label,\n            hintText,\n            isValid,\n            handleEnterClick,\n            handleChange,\n            value,\n            min,\n            maxLength,\n            autoFocus,\n            autoCorrect,\n            autoComplete,\n            inputClassName,\n            errorMessage,\n            isDisabled,\n            isCurrencyInput,\n            isPercentInput,\n        } = this.props;\n\n        const labelActiveClasses = ((hintText !== null && hintText.length > 0) || value.length > 0)  ? 'input-label-active ' : '';\n\n        const onKeyUp = handleEnterClick === null ? this.noop : (event : React.KeyboardEvent<HTMLInputElement>) => {\n            if (event.key === 'Enter') {\n                handleEnterClick(event);\n            }\n        };\n\n        if (type === 'number' && typeof step === 'undefined') {\n            throw new RuntimeException('step must be set for a number input');\n        }\n\n        const validationClass = isValid ? '' : ' invalid-input';\n\n        return (\n            <span\n                className={ this.generateClassNames() }\n                ref={ this.wrapperRef }\n            >\n                <input\n                    type={ type }\n                    step={ type  === 'number' ? step : undefined }\n                    min={ min }\n                    maxLength={ maxLength }\n                    className={ 'validation-input ' + inputClassName + validationClass + (isCurrencyInput ? ' currency-input ' : '') + (isPercentInput ? ' percent-input ' : '') }\n                    onKeyUp={ onKeyUp }\n                    onChange={ handleChange }\n                    onBlur={ this.onBlur }\n                    onFocus={ this.onFocus }\n                    value={ value }\n                    autoFocus={ autoFocus }\n                    autoComplete={ autoComplete || NOT_A_VALID_AUTOCOMPLETE_VALUE }\n                    autoCorrect={ autoCorrect || '' }\n                    disabled={ isDisabled }\n                    placeholder={ hintText !== null ? hintText : '' }\n                />\n                <hr className=\"active-border\"/> { /* note: due to some legacy css, this must come before the currency/percent */ }\n                <hr className=\"bottom-border\"/>\n                { isCurrencyInput &&\n                    // getCurrencySymbol defaults to retailer symbol if you don't pass in an override\n                    <span className=\"validation-input-symbol validation-input-pre-symbol currency-symbol\">{ getCurrencySymbol(this.props.currencyCode) }</span>\n                }\n                { isPercentInput &&\n                    <span className=\"validation-input-symbol validation-input-post-symbol percent-symbol\">%</span>\n                }\n                { label &&\n                    <label className={ 'input-label ' + labelActiveClasses }>\n                        { label }\n                    </label>\n                }\n                { !isValid &&\n                    <div className=\"error-text\">\n                        { errorMessage }\n                    </div>\n                }\n            </span>\n        );\n    }\n\n    private noop() {\n        return;\n    }\n\n    private generateClassNames() {\n        const {\n            isCurrencyInput,\n            isPercentInput,\n            isDisabled,\n            theme\n        } = this.props;\n\n        let themeClasses = 'validation-input-wrapper' + (isDisabled ? ' disabled' : ' ');\n\n        if (isCurrencyInput) {\n            themeClasses += ' input-pre-symbol';\n        }\n\n        if (isPercentInput) {\n            themeClasses += ' input-post-symbol';\n        }\n\n        switch (theme) {\n            case ValidationInputTheme.Basic:\n                return themeClasses + ' theme-basic';\n            case ValidationInputTheme.BasicInverted:\n                return themeClasses + ' theme-basic-inverted';\n            case ValidationInputTheme.SearchBarLegacy:\n                return themeClasses + ' theme-search-bar--legacy';\n            case undefined:\n            case ValidationInputTheme.Default:\n            default:\n                return themeClasses;\n        }\n    }\n\n    private onFocus = (event : React.FocusEvent<HTMLInputElement>) => {\n        window.requestAnimationFrame(() => {\n            // inputElement.setSelectionRange(0, 9999);\n            if (this.wrapperElement) {\n                this.wrapperElement.className = this.generateClassNames() + ' active';\n            }\n        });\n\n        if (this.props.handleFocus) {\n            this.props.handleFocus(event);\n        }\n    }\n\n    private onBlur = (event : React.FocusEvent<HTMLInputElement>) => {\n        if (this.wrapperElement) {\n            this.wrapperElement.className = this.generateClassNames();\n        }\n\n        if (this.props.handleBlur !== null) {\n            this.props.handleBlur(event);\n        }\n    }\n\n    private wrapperRef = (wrapperElement : HTMLDivElement) : void => {\n        this.wrapperElement = wrapperElement;\n    }\n}\n","import moment from 'moment-timezone';\n\n/* Screen Sizes */\n// This should be kept equal to Screen Sizes in python/assets/constants\nexport const MIN_LARGE_DESKTOP_WIDTH : number = 1200;\nexport const MAX_DESKTOP_WIDTH : number = 1199;\nexport const MIN_DESKTOP_WIDTH : number = 993;\nexport const MAX_TABLET_WIDTH : number = 992;\nexport const MIN_TABLET_WIDTH : number = 768;\nexport const MAX_MOBILE_WIDTH : number = 767;\nexport const MIN_MOBILE_WIDTH : number = 500;\n\nexport const NULL_DISTRIBUTOR_ID : string = '_null_distributor_id';\nexport const DISTRIBUTOR_ID_FOR_OTHER : string = '_distributor_id_for_other';\nexport const NULL_DISTRIBUTOR_DISPLAY_NAME = 'Other';\nexport const NULL_RETAILER_ID : string = '_null_retailer_id';\n\nexport const NOTIFICATION_TIMEOUT_IN_MILLISECONDS : number = 5000;\n\nexport const SLIDE_IN_MODAL_WIDTH : number = 540;\n\nexport const EARLIEST_LOWER_BOUND_DATE = moment(0).tz('UTC');\n\n// This should be kept equal to FARTHEST_UPPER_BOUND_DATE in python/assets/constants\nexport const FARTHEST_UPPER_BOUND_DATE = moment('2500-01-01T00:00:00').tz('UTC');\n\n// This should be kept equal to python/utils/api_utils UrlParameters._get_datetime\n// (would be great to be replaced by a shared time serializer once we are confident that date format is standardized across different APIs)\nexport const DJANGO_API_UTC_TIMESTAMP_FORMAT = 'YYYY-MM-DD HH:mm:ss';\n\n// This is the date format defined for DateTimeField in main/forms.py\n// Should eventually be deleted when the whole backend is refactored to use the same date format\nexport const DJANGO_DATE_TIME_FIELD_FORMAT = 'YYYY MM DD HH mm ZZ';\n\nexport const MAX_VALID_UNIX_TIME_MILLIS : number = 8640000000000000;\n\n// We use many date formats across the app. These are not exhaustive.\nexport const REPORT_DATETIME_FORMAT = 'MM/DD/YY hh:mma z';\nexport const INVENTORY_DATE_FORMAT = 'MMM. DD YYYY';\nexport const POPUP_DATETIME_PICKER_DATETIME_FORMAT = 'MMM. DD YYYY, h:mm a';\nexport const INVENTORY_DROPDOWN_DATE_FORMAT = 'ddd, MMM. DD YYYY';\n\nexport const SUPPORT_EMAIL = 'support@bevspot.com';\nexport const SUPPORT_PHONE = '1 (508) 570-9407';\nexport const SUPPORT_PHONE_LINK = 'tel:15085709407';\n\n// This should be kept in sync with supported_invoice_upload_file_extensions in\n// handle_record_invoice_upload_post_request() in InvoiceUploadRequestHandler.py\nexport const SUPPORTED_INVOICE_UPLOAD_FILE_EXTENSIONS = ['3fr', 'arw', 'avif', 'bmp', 'cr2', 'cr3', 'crw', 'dcr', 'dng',\n    'eps', 'erf', 'gif', 'heic', 'heif', 'icns', 'ico', 'jfif', 'jpeg', 'jpg', 'mos', 'mrw', 'nef', 'odd', 'odg', 'orf',\n    'pdf', 'pef', 'png', 'ppm', 'ps', 'psd', 'raf', 'raw', 'rw2', 'tif', 'tiff', 'webp', 'x3f', 'xcf', 'xps'];\n","/* eslint-disable local-rules/disallow-side-effects */\n/**\n * Keep references on console methods to avoid triggering patched behaviors\n *\n * NB: in some setup, console could already be patched by another SDK.\n * In this case, some display messages can be sent by the other SDK\n * but we should be safe from infinite loop nonetheless.\n */\nexport const ConsoleApiName = {\n    log: 'log',\n    debug: 'debug',\n    info: 'info',\n    warn: 'warn',\n    error: 'error',\n};\n/**\n * When building JS bundles, some users might use a plugin[1] or configuration[2] to remove\n * \"console.*\" references. This causes some issue as we expect `console.*` to be defined.\n * As a workaround, let's use a variable alias, so those expressions won't be taken into account by\n * simple static analysis.\n *\n * [1]: https://babeljs.io/docs/babel-plugin-transform-remove-console/\n * [2]: https://github.com/terser/terser#compress-options (look for drop_console)\n */\nexport const globalConsole = console;\nexport const originalConsoleMethods = {};\nObject.keys(ConsoleApiName).forEach((name) => {\n    originalConsoleMethods[name] = globalConsole[name];\n});\nconst PREFIX = 'Datadog Browser SDK:';\nexport const display = {\n    debug: originalConsoleMethods.debug.bind(globalConsole, PREFIX),\n    log: originalConsoleMethods.log.bind(globalConsole, PREFIX),\n    info: originalConsoleMethods.info.bind(globalConsole, PREFIX),\n    warn: originalConsoleMethods.warn.bind(globalConsole, PREFIX),\n    error: originalConsoleMethods.error.bind(globalConsole, PREFIX),\n};\nexport const DOCS_ORIGIN = 'https://docs.datadoghq.com';\nexport const DOCS_TROUBLESHOOTING = `${DOCS_ORIGIN}/real_user_monitoring/browser/troubleshooting`;\nexport const MORE_DETAILS = 'More details:';\n//# sourceMappingURL=display.js.map","import { display } from './display';\nexport function catchUserErrors(fn, errorMsg) {\n    return (...args) => {\n        try {\n            return fn(...args);\n        }\n        catch (err) {\n            display.error(errorMsg, err);\n        }\n    };\n}\n//# sourceMappingURL=catchUserErrors.js.map","import { display } from './display';\nlet onMonitorErrorCollected;\nlet debugMode = false;\nexport function startMonitorErrorCollection(newOnMonitorErrorCollected) {\n    onMonitorErrorCollected = newOnMonitorErrorCollected;\n}\nexport function setDebugMode(newDebugMode) {\n    debugMode = newDebugMode;\n}\nexport function resetMonitor() {\n    onMonitorErrorCollected = undefined;\n    debugMode = false;\n}\nexport function monitored(_, __, descriptor) {\n    const originalMethod = descriptor.value;\n    descriptor.value = function (...args) {\n        const decorated = onMonitorErrorCollected ? monitor(originalMethod) : originalMethod;\n        return decorated.apply(this, args);\n    };\n}\nexport function monitor(fn) {\n    return function (...args) {\n        return callMonitored(fn, this, args);\n    }; // consider output type has input type\n}\nexport function callMonitored(fn, context, args) {\n    try {\n        return fn.apply(context, args);\n    }\n    catch (e) {\n        monitorError(e);\n    }\n}\nexport function monitorError(e) {\n    displayIfDebugEnabled(e);\n    if (onMonitorErrorCollected) {\n        try {\n            onMonitorErrorCollected(e);\n        }\n        catch (e) {\n            displayIfDebugEnabled(e);\n        }\n    }\n}\nexport function displayIfDebugEnabled(...args) {\n    if (debugMode) {\n        display.error('[MONITOR]', ...args);\n    }\n}\n//# sourceMappingURL=monitor.js.map","/**\n * inspired by https://mathiasbynens.be/notes/globalthis\n */\nexport function getGlobalObject() {\n    if (typeof globalThis === 'object') {\n        return globalThis;\n    }\n    Object.defineProperty(Object.prototype, '_dd_temp_', {\n        get() {\n            return this;\n        },\n        configurable: true,\n    });\n    // @ts-ignore _dd_temp is defined using defineProperty\n    let globalObject = _dd_temp_;\n    // @ts-ignore _dd_temp is defined using defineProperty\n    delete Object.prototype._dd_temp_;\n    if (typeof globalObject !== 'object') {\n        // on safari _dd_temp_ is available on window but not globally\n        // fallback on other browser globals check\n        if (typeof self === 'object') {\n            globalObject = self;\n        }\n        else if (typeof window === 'object') {\n            globalObject = window;\n        }\n        else {\n            globalObject = {};\n        }\n    }\n    return globalObject;\n}\n/**\n * Cached reference to the global object so it can be imported and re-used without\n * re-evaluating the heavyweight fallback logic in `getGlobalObject()`.\n */\n// eslint-disable-next-line local-rules/disallow-side-effects\nexport const globalObject = getGlobalObject();\nexport const isWorkerEnvironment = 'WorkerGlobalScope' in globalObject;\n//# sourceMappingURL=globalObject.js.map","import { monitor } from './monitor';\nimport { globalObject } from './globalObject';\nexport function queueMicrotask(callback) {\n    // Intentionally avoid .bind(globalObject): in some environments (e.g. Selenium GeckoDriver's\n    // executeScript), globalThis is not a proper global object, so calling the bound function throws\n    // 'queueMicrotask called on an object that does not implement interface Window'. Calling it as an\n    // unbound method is fine, as the proper global object will be used implicitly.\n    // See https://github.com/mozilla/geckodriver/issues/1798\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    const nativeImplementation = globalObject.queueMicrotask;\n    if (typeof nativeImplementation === 'function') {\n        nativeImplementation(monitor(callback));\n    }\n    else {\n        // eslint-disable-next-line @typescript-eslint/no-floating-promises -- the callback is monitored, so it'll never throw\n        Promise.resolve().then(monitor(callback));\n    }\n}\n//# sourceMappingURL=queueMicrotask.js.map","import { queueMicrotask } from './queueMicrotask';\n// eslint-disable-next-line no-restricted-syntax\nexport class Observable {\n    constructor(onFirstSubscribe) {\n        this.onFirstSubscribe = onFirstSubscribe;\n        this.observers = [];\n    }\n    subscribe(observer) {\n        this.addObserver(observer);\n        return {\n            unsubscribe: () => this.removeObserver(observer),\n        };\n    }\n    notify(data) {\n        this.observers.forEach((observer) => observer(data));\n    }\n    addObserver(observer) {\n        this.observers.push(observer);\n        if (this.observers.length === 1 && this.onFirstSubscribe) {\n            this.onLastUnsubscribe = this.onFirstSubscribe(this) || undefined;\n        }\n    }\n    removeObserver(observer) {\n        this.observers = this.observers.filter((other) => observer !== other);\n        if (!this.observers.length && this.onLastUnsubscribe) {\n            this.onLastUnsubscribe();\n        }\n    }\n}\nexport function mergeObservables(...observables) {\n    return new Observable((globalObservable) => {\n        const subscriptions = observables.map((observable) => observable.subscribe((data) => globalObservable.notify(data)));\n        return () => subscriptions.forEach((subscription) => subscription.unsubscribe());\n    });\n}\n// eslint-disable-next-line no-restricted-syntax\nexport class BufferedObservable extends Observable {\n    constructor(maxBufferSize) {\n        super();\n        this.maxBufferSize = maxBufferSize;\n        this.buffer = [];\n    }\n    notify(data) {\n        this.buffer.push(data);\n        if (this.buffer.length > this.maxBufferSize) {\n            this.buffer.shift();\n        }\n        super.notify(data);\n    }\n    subscribe(observer) {\n        let closed = false;\n        const subscription = {\n            unsubscribe: () => {\n                closed = true;\n                this.removeObserver(observer);\n            },\n        };\n        queueMicrotask(() => {\n            for (const data of this.buffer) {\n                if (closed) {\n                    return;\n                }\n                observer(data);\n            }\n            if (!closed) {\n                this.addObserver(observer);\n            }\n        });\n        return subscription;\n    }\n    /**\n     * Drop buffered data and don't buffer future data. This is to avoid leaking memory when it's not\n     * needed anymore. This can be seen as a performance optimization, and things will work probably\n     * even if this method isn't called, but still useful to clarify our intent and lowering our\n     * memory impact.\n     */\n    unbuffer() {\n        queueMicrotask(() => {\n            this.maxBufferSize = this.buffer.length = 0;\n        });\n    }\n}\n//# sourceMappingURL=observable.js.map","import { Observable } from '../tools/observable';\nexport const TrackingConsent = {\n    GRANTED: 'granted',\n    NOT_GRANTED: 'not-granted',\n};\nexport function createTrackingConsentState(currentConsent) {\n    const observable = new Observable();\n    return {\n        tryToInit(trackingConsent) {\n            if (!currentConsent) {\n                currentConsent = trackingConsent;\n            }\n        },\n        update(trackingConsent) {\n            currentConsent = trackingConsent;\n            observable.notify();\n        },\n        isGranted() {\n            return currentConsent === TrackingConsent.GRANTED;\n        },\n        observable,\n    };\n}\n//# sourceMappingURL=trackingConsent.js.map","import { getGlobalObject } from './globalObject';\n/**\n * Gets the original value for a DOM API that was potentially patched by Zone.js.\n *\n * Zone.js[1] is a library that patches a bunch of JS and DOM APIs. It usually stores the original\n * value of the patched functions/constructors/methods in a hidden property prefixed by\n * __zone_symbol__.\n *\n * In multiple occasions, we observed that Zone.js is the culprit of important issues leading to\n * browser resource exhaustion (memory leak, high CPU usage). This method is used as a workaround to\n * use the original DOM API instead of the one patched by Zone.js.\n *\n * [1]: https://github.com/angular/angular/tree/main/packages/zone.js\n */\nexport function getZoneJsOriginalValue(target, name) {\n    const browserWindow = getGlobalObject();\n    let original;\n    if (browserWindow.Zone && typeof browserWindow.Zone.__symbol__ === 'function') {\n        original = target[browserWindow.Zone.__symbol__(name)];\n    }\n    if (!original) {\n        original = target[name];\n    }\n    return original;\n}\n//# sourceMappingURL=getZoneJsOriginalValue.js.map","import { getZoneJsOriginalValue } from './getZoneJsOriginalValue';\nimport { monitor } from './monitor';\nimport { getGlobalObject } from './globalObject';\nexport function setTimeout(callback, delay) {\n    return getZoneJsOriginalValue(getGlobalObject(), 'setTimeout')(monitor(callback), delay);\n}\nexport function clearTimeout(timeoutId) {\n    getZoneJsOriginalValue(getGlobalObject(), 'clearTimeout')(timeoutId);\n}\nexport function setInterval(callback, delay) {\n    return getZoneJsOriginalValue(getGlobalObject(), 'setInterval')(monitor(callback), delay);\n}\nexport function clearInterval(timeoutId) {\n    getZoneJsOriginalValue(getGlobalObject(), 'clearInterval')(timeoutId);\n}\n//# sourceMappingURL=timer.js.map","import { setTimeout, clearTimeout } from '../timer';\n// use lodash API\nexport function throttle(fn, wait, options) {\n    const needLeadingExecution = options && options.leading !== undefined ? options.leading : true;\n    const needTrailingExecution = options && options.trailing !== undefined ? options.trailing : true;\n    let inWaitPeriod = false;\n    let pendingExecutionWithParameters;\n    let pendingTimeoutId;\n    return {\n        throttled: (...parameters) => {\n            if (inWaitPeriod) {\n                pendingExecutionWithParameters = parameters;\n                return;\n            }\n            if (needLeadingExecution) {\n                fn(...parameters);\n            }\n            else {\n                pendingExecutionWithParameters = parameters;\n            }\n            inWaitPeriod = true;\n            pendingTimeoutId = setTimeout(() => {\n                if (needTrailingExecution && pendingExecutionWithParameters) {\n                    fn(...pendingExecutionWithParameters);\n                }\n                inWaitPeriod = false;\n                pendingExecutionWithParameters = undefined;\n            }, wait);\n        },\n        cancel: () => {\n            clearTimeout(pendingTimeoutId);\n            inWaitPeriod = false;\n            pendingExecutionWithParameters = undefined;\n        },\n    };\n}\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nexport function noop() { }\n//# sourceMappingURL=functionUtils.js.map","/**\n * Similar to `typeof`, but distinguish plain objects from `null` and arrays\n */\nexport function getType(value) {\n    if (value === null) {\n        return 'null';\n    }\n    if (Array.isArray(value)) {\n        return 'array';\n    }\n    return typeof value;\n}\n/**\n * Checks whether a value can have properties. Use this when you have an unknown value and you want\n * to access its properties as unknown. This is a friendly solution for dealing with unknown objects\n * in TypeScript.\n *\n * This function is intended to be used on values that will be used as \"plain objects\", i.e. not\n * Array, Date, RegExp or other class instances. But it's safe to use on any value.\n *\n * @example\n * ```\n * // Before:\n * if (typeof value === 'object' && value !== null && 'property' in value && typeof value.property === 'string') {\n *   // use value.property\n * }\n * // After:\n * if (isIndexableObject(value) && typeof value.property === 'string') {\n *   // use value.property\n * }\n * ```\n */\nexport function isIndexableObject(value) {\n    return getType(value) === 'object';\n}\n//# sourceMappingURL=typeUtils.js.map","export const mockableReplacements = new Map();\n/**\n * Wraps a value to make it mockable in tests. In production builds, this is a no-op\n * that returns the value as-is. In test builds, it checks if a mock replacement has\n * been registered and returns that instead.\n *\n * @example\n * // In source file:\n * import { mockable } from '../tools/mockable'\n * export function formatNavigationEntry(): string {\n *   const navigationEntry = mockable(getNavigationEntry)()\n *   ...\n * }\n *\n * // In test file:\n * import { replaceMockable } from '@datadog/browser-core/test'\n * it('...', () => {\n *   replaceMockable(getNavigationEntry, () => FAKE_NAVIGATION_ENTRY)\n *   expect(formatNavigationEntry()).toEqual(...)\n * })\n */\nexport function mockable(value) {\n    // In test builds, return a wrapper that checks for mocks at call time\n    if (\"6.31.0\" === 'test' && mockableReplacements.has(value)) {\n        return mockableReplacements.get(value);\n    }\n    // In production, return the value as-is\n    return value;\n}\n//# sourceMappingURL=mockable.js.map","/**\n * Cross-browser stack trace computation.\n *\n * Reference implementation: https://github.com/csnover/TraceKit/blob/04530298073c3823de72deb0b97e7b38ca7bcb59/tracekit.js\n */\nimport { isIndexableObject } from '../utils/typeUtils';\nconst UNKNOWN_FUNCTION = '?';\nexport function computeStackTrace(ex) {\n    var _a, _b;\n    const stack = [];\n    let stackProperty = tryToGetString(ex, 'stack');\n    const exString = String(ex);\n    if (stackProperty && stackProperty.startsWith(exString)) {\n        stackProperty = stackProperty.slice(exString.length);\n    }\n    if (stackProperty) {\n        stackProperty.split('\\n').forEach((line) => {\n            const stackFrame = parseChromeLine(line) || parseChromeAnonymousLine(line) || parseWinLine(line) || parseGeckoLine(line);\n            if (stackFrame) {\n                if (!stackFrame.func && stackFrame.line) {\n                    stackFrame.func = UNKNOWN_FUNCTION;\n                }\n                stack.push(stackFrame);\n            }\n        });\n    }\n    if (stack.length > 0 && isWronglyReportingCustomErrors() && ex instanceof Error) {\n        // if we are wrongly reporting custom errors\n        const constructors = [];\n        // go through each inherited constructor\n        let currentPrototype = ex;\n        while ((currentPrototype = Object.getPrototypeOf(currentPrototype)) &&\n            isNonNativeClassPrototype(currentPrototype)) {\n            const constructorName = ((_a = currentPrototype.constructor) === null || _a === void 0 ? void 0 : _a.name) || UNKNOWN_FUNCTION;\n            constructors.push(constructorName);\n        }\n        // traverse the stacktrace in reverse order because the stacktrace starts with the last inherited constructor\n        // we check constructor names to ensure we remove the correct frame (and there isn't a weird unsupported environment behavior)\n        for (let i = constructors.length - 1; i >= 0 && ((_b = stack[0]) === null || _b === void 0 ? void 0 : _b.func) === constructors[i]; i--) {\n            // if the first stack frame is the custom error constructor\n            // null stack frames may represent frames that failed to be parsed because the error class did not have a constructor\n            stack.shift(); // remove it\n        }\n    }\n    return {\n        message: tryToGetString(ex, 'message'),\n        name: tryToGetString(ex, 'name'),\n        stack,\n    };\n}\nconst fileUrl = '((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\\\w+\\\\.|\\\\/).*?)';\nconst filePosition = '(?::(\\\\d+))';\nconst CHROME_LINE_RE = new RegExp(`^\\\\s*at (.*?) ?\\\\(${fileUrl}${filePosition}?${filePosition}?\\\\)?\\\\s*$`, 'i');\nconst CHROME_EVAL_RE = new RegExp(`\\\\((\\\\S*)${filePosition}${filePosition}\\\\)`);\nfunction parseChromeLine(line) {\n    const parts = CHROME_LINE_RE.exec(line);\n    if (!parts) {\n        return;\n    }\n    const isNative = parts[2] && parts[2].indexOf('native') === 0; // start of line\n    const isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n    const submatch = CHROME_EVAL_RE.exec(parts[2]);\n    if (isEval && submatch) {\n        // throw out eval line/column and use top-most line/column number\n        parts[2] = submatch[1]; // url\n        parts[3] = submatch[2]; // line\n        parts[4] = submatch[3]; // column\n    }\n    return {\n        args: isNative ? [parts[2]] : [],\n        column: parts[4] ? +parts[4] : undefined,\n        func: parts[1] || UNKNOWN_FUNCTION,\n        line: parts[3] ? +parts[3] : undefined,\n        url: !isNative ? parts[2] : undefined,\n    };\n}\nconst htmlAnonymousPart = '(?:(.*)?(?: @))';\nconst CHROME_ANONYMOUS_FUNCTION_RE = new RegExp(`^\\\\s*at\\\\s*${htmlAnonymousPart}?\\\\s*${fileUrl}${filePosition}?${filePosition}??\\\\s*$`, 'i');\nfunction parseChromeAnonymousLine(line) {\n    const parts = CHROME_ANONYMOUS_FUNCTION_RE.exec(line);\n    if (!parts) {\n        return;\n    }\n    return {\n        args: [],\n        column: parts[4] ? +parts[4] : undefined,\n        func: parts[1] || UNKNOWN_FUNCTION,\n        line: parts[3] ? +parts[3] : undefined,\n        url: parts[2],\n    };\n}\nconst WINJS_LINE_RE = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\nfunction parseWinLine(line) {\n    const parts = WINJS_LINE_RE.exec(line);\n    if (!parts) {\n        return;\n    }\n    return {\n        args: [],\n        column: parts[4] ? +parts[4] : undefined,\n        func: parts[1] || UNKNOWN_FUNCTION,\n        line: +parts[3],\n        url: parts[2],\n    };\n}\nconst GECKO_LINE_RE = /^\\s*(.*?)(?:\\((.*?)\\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\\[native).*?|[^@]*bundle|\\[wasm code\\])(?::(\\d+))?(?::(\\d+))?)|@)\\s*$/i;\nconst GECKO_EVAL_RE = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\nfunction parseGeckoLine(line) {\n    const parts = GECKO_LINE_RE.exec(line);\n    if (!parts) {\n        return;\n    }\n    const isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n    const submatch = GECKO_EVAL_RE.exec(parts[3]);\n    if (isEval && submatch) {\n        // throw out eval line/column and use top-most line number\n        parts[3] = submatch[1];\n        parts[4] = submatch[2];\n        parts[5] = undefined; // no column when eval\n    }\n    return {\n        args: parts[2] ? parts[2].split(',') : [],\n        column: parts[5] ? +parts[5] : undefined,\n        func: parts[1] || UNKNOWN_FUNCTION,\n        line: parts[4] ? +parts[4] : undefined,\n        url: parts[3],\n    };\n}\nfunction tryToGetString(candidate, property) {\n    return isIndexableObject(candidate) && typeof candidate[property] === 'string' ? candidate[property] : undefined;\n}\nexport function computeStackTraceFromOnErrorMessage(messageObj, url, line, column) {\n    if (url === undefined) {\n        return;\n    }\n    const { name, message } = tryToParseMessage(messageObj);\n    return {\n        name,\n        message,\n        stack: [{ url, column, line }],\n    };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error#Error_types\nconst ERROR_TYPES_RE = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\\s\\S]*)$/;\nfunction tryToParseMessage(messageObj) {\n    let name;\n    let message;\n    if ({}.toString.call(messageObj) === '[object String]') {\n        ;\n        [, name, message] = ERROR_TYPES_RE.exec(messageObj);\n    }\n    return { name, message };\n}\n// Custom error stacktrace fix\n// Some browsers (safari/firefox) add the error constructor as a frame in the stacktrace\n// In order to normalize the stacktrace, we need to remove it\nfunction isNonNativeClassPrototype(prototype) {\n    return String(prototype.constructor).startsWith('class ');\n}\nlet isWronglyReportingCustomErrorsCache;\nfunction isWronglyReportingCustomErrors() {\n    if (isWronglyReportingCustomErrorsCache !== undefined) {\n        return isWronglyReportingCustomErrorsCache;\n    }\n    /* eslint-disable no-restricted-syntax */\n    class DatadogTestCustomError extends Error {\n        constructor() {\n            super();\n            this.name = 'Error'; // set name to Error so that no browser would default to the constructor name\n        }\n    }\n    const [customError, nativeError] = [DatadogTestCustomError, Error].map((errConstructor) => new errConstructor()); // so that both errors should exactly have the same stacktrace\n    isWronglyReportingCustomErrorsCache =\n        // If customError is not a class, it means that this was built with ES5 as target, converting the class to a normal object.\n        // Thus, error constructors will be reported on all browsers, which is the expected behavior.\n        isNonNativeClassPrototype(Object.getPrototypeOf(customError)) &&\n            // If the browser is correctly reporting the stacktrace, the normal error stacktrace should be the same as the custom error stacktrace\n            nativeError.stack !== customError.stack;\n    return isWronglyReportingCustomErrorsCache;\n}\n//# sourceMappingURL=computeStackTrace.js.map","import { callMonitored } from '../monitor';\nimport { computeStackTrace } from './computeStackTrace';\n/**\n * Creates a stacktrace without SDK internal frames.\n * Constraints:\n * - Has to be called at the utmost position of the call stack.\n * - No monitored function should encapsulate it, that is why we need to use callMonitored inside it.\n */\nexport function createHandlingStack(type) {\n    /**\n     * Skip the two internal frames:\n     * - SDK API (console.error, ...)\n     * - this function\n     * in order to keep only the user calls\n     */\n    const internalFramesToSkip = 2;\n    const error = new Error(type);\n    error.name = 'HandlingStack';\n    let formattedStack;\n    callMonitored(() => {\n        const stackTrace = computeStackTrace(error);\n        stackTrace.stack = stackTrace.stack.slice(internalFramesToSkip);\n        formattedStack = toStackTraceString(stackTrace);\n    });\n    return formattedStack;\n}\nexport function toStackTraceString(stack) {\n    let result = formatErrorMessage(stack);\n    stack.stack.forEach((frame) => {\n        const func = frame.func === '?' ? '<anonymous>' : frame.func;\n        const args = frame.args && frame.args.length > 0 ? `(${frame.args.join(', ')})` : '';\n        const line = frame.line ? `:${frame.line}` : '';\n        const column = frame.line && frame.column ? `:${frame.column}` : '';\n        result += `\\n  at ${func}${args} @ ${frame.url}${line}${column}`;\n    });\n    return result;\n}\nexport function formatErrorMessage(stack) {\n    return `${stack.name || 'Error'}: ${stack.message}`;\n}\n//# sourceMappingURL=handlingStack.js.map","import { setTimeout } from './timer';\nimport { callMonitored } from './monitor';\nimport { noop } from './utils/functionUtils';\nimport { createHandlingStack } from './stackTrace/handlingStack';\n/**\n * Instruments a method on a object, calling the given callback before the original method is\n * invoked. The callback receives an object with information about the method call.\n *\n * This function makes sure that we are \"good citizens\" regarding third party instrumentations: when\n * removing the instrumentation, the original method is usually restored, but if a third party\n * instrumentation was set after ours, we keep it in place and just replace our instrumentation with\n * a noop.\n *\n * Note: it is generally better to instrument methods that are \"owned\" by the object instead of ones\n * that are inherited from the prototype chain. Example:\n * * do:    `instrumentMethod(Array.prototype, 'push', ...)`\n * * don't: `instrumentMethod([], 'push', ...)`\n *\n * This method is also used to set event handler properties (ex: window.onerror = ...), as it has\n * the same requirements as instrumenting a method:\n * * if the event handler is already set by a third party, we need to call it and not just blindly\n * override it.\n * * if the event handler is set by a third party after us, we need to keep it in place when\n * removing ours.\n *\n * @example\n *\n *  instrumentMethod(window, 'fetch', ({ target, parameters, onPostCall }) => {\n *    console.log('Before calling fetch on', target, 'with parameters', parameters)\n *\n *    onPostCall((result) => {\n *      console.log('After fetch calling on', target, 'with parameters', parameters, 'and result', result)\n *    })\n *  })\n */\nexport function instrumentMethod(targetPrototype, method, onPreCall, { computeHandlingStack } = {}) {\n    let original = targetPrototype[method];\n    if (typeof original !== 'function') {\n        if (method in targetPrototype && typeof method === 'string' && method.startsWith('on')) {\n            original = noop;\n        }\n        else {\n            return { stop: noop };\n        }\n    }\n    let stopped = false;\n    const instrumentation = function () {\n        if (stopped) {\n            // eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-call\n            return original.apply(this, arguments);\n        }\n        const parameters = Array.from(arguments);\n        let postCallCallback;\n        callMonitored(onPreCall, null, [\n            {\n                target: this,\n                parameters,\n                onPostCall: (callback) => {\n                    postCallCallback = callback;\n                },\n                handlingStack: computeHandlingStack ? createHandlingStack('instrumented method') : undefined,\n            },\n        ]);\n        // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n        const result = original.apply(this, parameters);\n        if (postCallCallback) {\n            callMonitored(postCallCallback, null, [result]);\n        }\n        // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n        return result;\n    };\n    targetPrototype[method] = instrumentation;\n    return {\n        stop: () => {\n            stopped = true;\n            // If the instrumentation has been removed by a third party, keep the last one\n            if (targetPrototype[method] === instrumentation) {\n                targetPrototype[method] = original;\n            }\n        },\n    };\n}\nexport function instrumentSetter(targetPrototype, property, after) {\n    const originalDescriptor = Object.getOwnPropertyDescriptor(targetPrototype, property);\n    if (!originalDescriptor || !originalDescriptor.set || !originalDescriptor.configurable) {\n        return { stop: noop };\n    }\n    const stoppedInstrumentation = noop;\n    let instrumentation = (target, value) => {\n        // put hooked setter into event loop to avoid of set latency\n        setTimeout(() => {\n            if (instrumentation !== stoppedInstrumentation) {\n                after(target, value);\n            }\n        }, 0);\n    };\n    const instrumentationWrapper = function (value) {\n        originalDescriptor.set.call(this, value);\n        instrumentation(this, value);\n    };\n    Object.defineProperty(targetPrototype, property, {\n        set: instrumentationWrapper,\n    });\n    return {\n        stop: () => {\n            var _a;\n            if (((_a = Object.getOwnPropertyDescriptor(targetPrototype, property)) === null || _a === void 0 ? void 0 : _a.set) === instrumentationWrapper) {\n                Object.defineProperty(targetPrototype, property, originalDescriptor);\n            }\n            instrumentation = stoppedInstrumentation;\n        },\n    };\n}\n//# sourceMappingURL=instrumentMethod.js.map","import { isNumber, round } from './numberUtils';\nexport const ONE_SECOND = 1000;\nexport const ONE_MINUTE = 60 * ONE_SECOND;\nexport const ONE_HOUR = 60 * ONE_MINUTE;\nexport const ONE_DAY = 24 * ONE_HOUR;\nexport const ONE_YEAR = 365 * ONE_DAY;\nexport function relativeToClocks(relative) {\n    return { relative, timeStamp: getCorrectedTimeStamp(relative) };\n}\nexport function timeStampToClocks(timeStamp) {\n    return { relative: getRelativeTime(timeStamp), timeStamp };\n}\nfunction getCorrectedTimeStamp(relativeTime) {\n    const correctedOrigin = (dateNow() - performance.now());\n    // apply correction only for positive drift\n    if (correctedOrigin > getNavigationStart()) {\n        return Math.round(addDuration(correctedOrigin, relativeTime));\n    }\n    return getTimeStamp(relativeTime);\n}\nexport function currentDrift() {\n    return Math.round(dateNow() - addDuration(getNavigationStart(), performance.now()));\n}\nexport function toServerDuration(duration) {\n    if (!isNumber(duration)) {\n        return duration;\n    }\n    return round(duration * 1e6, 0);\n}\nexport function dateNow() {\n    // Do not use `Date.now` because sometimes websites are wrongly \"polyfilling\" it. For example, we\n    // had some users using a very old version of `datejs`, which patched `Date.now` to return a Date\n    // instance instead of a timestamp[1]. Those users are unlikely to fix this, so let's handle this\n    // case ourselves.\n    // [1]: https://github.com/datejs/Datejs/blob/97f5c7c58c5bc5accdab8aa7602b6ac56462d778/src/core-debug.js#L14-L16\n    return new Date().getTime();\n}\nexport function timeStampNow() {\n    return dateNow();\n}\nexport function relativeNow() {\n    return performance.now();\n}\nexport function clocksNow() {\n    return { relative: relativeNow(), timeStamp: timeStampNow() };\n}\nexport function clocksOrigin() {\n    return { relative: 0, timeStamp: getNavigationStart() };\n}\nexport function elapsed(start, end) {\n    return (end - start);\n}\nexport function addDuration(a, b) {\n    return a + b;\n}\n// Get the time since the navigation was started.\nexport function getRelativeTime(timestamp) {\n    return (timestamp - getNavigationStart());\n}\nexport function getTimeStamp(relativeTime) {\n    return Math.round(addDuration(getNavigationStart(), relativeTime));\n}\nexport function looksLikeRelativeTime(time) {\n    return time < ONE_YEAR;\n}\n/**\n * Navigation start slightly change on some rare cases\n */\nlet navigationStart;\n/**\n * Notes: this does not use `performance.timeOrigin` because:\n * - It doesn't seem to reflect the actual time on which the navigation has started: it may be much farther in the past,\n * at least in Firefox 71. (see: https://bugzilla.mozilla.org/show_bug.cgi?id=1429926)\n * - It is not supported in Safari <15\n */\nfunction getNavigationStart() {\n    var _a, _b;\n    if (navigationStart === undefined) {\n        // ServiceWorkers do not support navigationStart (it's deprecated), so we fallback to timeOrigin\n        navigationStart = ((_b = (_a = performance.timing) === null || _a === void 0 ? void 0 : _a.navigationStart) !== null && _b !== void 0 ? _b : performance.timeOrigin);\n    }\n    return navigationStart;\n}\n//# sourceMappingURL=timeUtils.js.map","export const ONE_KIBI_BYTE = 1024;\nexport const ONE_MEBI_BYTE = 1024 * ONE_KIBI_BYTE;\n// eslint-disable-next-line no-control-regex\nconst HAS_MULTI_BYTES_CHARACTERS = /[^\\u0000-\\u007F]/;\nexport function computeBytesCount(candidate) {\n    // Accurate bytes count computations can degrade performances when there is a lot of events to process\n    if (!HAS_MULTI_BYTES_CHARACTERS.test(candidate)) {\n        return candidate.length;\n    }\n    if (window.TextEncoder !== undefined) {\n        return new TextEncoder().encode(candidate).length;\n    }\n    return new Blob([candidate]).size;\n}\nexport function concatBuffers(buffers) {\n    // Optimization: if there is a single buffer, no need to copy it\n    if (buffers.length === 1) {\n        return buffers[0];\n    }\n    const length = buffers.reduce((total, buffer) => total + buffer.length, 0);\n    const result = new Uint8Array(length);\n    let offset = 0;\n    for (const buffer of buffers) {\n        result.set(buffer, offset);\n        offset += buffer.length;\n    }\n    return result;\n}\n//# sourceMappingURL=byteUtils.js.map","import { noop } from '../utils/functionUtils';\n/**\n * Custom implementation of JSON.stringify that ignores some toJSON methods. We need to do that\n * because some sites badly override toJSON on certain objects. Removing all toJSON methods from\n * nested values would be too costly, so we just detach them from the root value, and native classes\n * used to build JSON values (Array and Object).\n *\n * Note: this still assumes that JSON.stringify is correct.\n */\nexport function jsonStringify(value, replacer, space) {\n    if (typeof value !== 'object' || value === null) {\n        return JSON.stringify(value);\n    }\n    // Note: The order matter here. We need to detach toJSON methods on parent classes before their\n    // subclasses.\n    const restoreObjectPrototypeToJson = detachToJsonMethod(Object.prototype);\n    const restoreArrayPrototypeToJson = detachToJsonMethod(Array.prototype);\n    const restoreValuePrototypeToJson = detachToJsonMethod(Object.getPrototypeOf(value));\n    const restoreValueToJson = detachToJsonMethod(value);\n    try {\n        return JSON.stringify(value, replacer, space);\n    }\n    catch (_a) {\n        return '<error: unable to serialize object>';\n    }\n    finally {\n        restoreObjectPrototypeToJson();\n        restoreArrayPrototypeToJson();\n        restoreValuePrototypeToJson();\n        restoreValueToJson();\n    }\n}\nexport function detachToJsonMethod(value) {\n    const object = value;\n    const objectToJson = object.toJSON;\n    if (objectToJson) {\n        delete object.toJSON;\n        return () => {\n            object.toJSON = objectToJson;\n        };\n    }\n    return noop;\n}\n//# sourceMappingURL=jsonStringify.js.map","import { display } from '../display';\nimport { ONE_KIBI_BYTE } from '../utils/byteUtils';\nimport { detachToJsonMethod } from './jsonStringify';\n// The maximum size of a single event is 256KiB. By default, we ensure that user-provided data\n// going through sanitize fits inside our events, while leaving room for other contexts, metadata, ...\nexport const SANITIZE_DEFAULT_MAX_CHARACTER_COUNT = 220 * ONE_KIBI_BYTE;\n// Symbol for the root element of the JSONPath used for visited objects\nconst JSON_PATH_ROOT_ELEMENT = '$';\n// When serializing (using JSON.stringify) a key of an object, { key: 42 } gets wrapped in quotes as \"key\".\n// With the separator (:), we need to add 3 characters to the count.\nconst KEY_DECORATION_LENGTH = 3;\nexport function sanitize(source, maxCharacterCount = SANITIZE_DEFAULT_MAX_CHARACTER_COUNT) {\n    // Unbind any toJSON function we may have on [] or {} prototypes\n    const restoreObjectPrototypeToJson = detachToJsonMethod(Object.prototype);\n    const restoreArrayPrototypeToJson = detachToJsonMethod(Array.prototype);\n    // Initial call to sanitizeProcessor - will populate containerQueue if source is an Array or a plain Object\n    const containerQueue = [];\n    const visitedObjectsWithPath = new WeakMap();\n    const sanitizedData = sanitizeProcessor(source, JSON_PATH_ROOT_ELEMENT, undefined, containerQueue, visitedObjectsWithPath);\n    const serializedSanitizedData = JSON.stringify(sanitizedData);\n    let accumulatedCharacterCount = serializedSanitizedData ? serializedSanitizedData.length : 0;\n    if (accumulatedCharacterCount > maxCharacterCount) {\n        warnOverCharacterLimit(maxCharacterCount, 'discarded', source);\n        return undefined;\n    }\n    while (containerQueue.length > 0 && accumulatedCharacterCount < maxCharacterCount) {\n        const containerToProcess = containerQueue.shift();\n        let separatorLength = 0; // 0 for the first element, 1 for subsequent elements\n        // Arrays and Objects have to be handled distinctly to ensure\n        // we do not pick up non-numerical properties from Arrays\n        if (Array.isArray(containerToProcess.source)) {\n            for (let key = 0; key < containerToProcess.source.length; key++) {\n                const targetData = sanitizeProcessor(containerToProcess.source[key], containerToProcess.path, key, containerQueue, visitedObjectsWithPath);\n                if (targetData !== undefined) {\n                    accumulatedCharacterCount += JSON.stringify(targetData).length;\n                }\n                else {\n                    // When an element of an Array (targetData) is undefined, it is serialized as null:\n                    // JSON.stringify([undefined]) => '[null]' - This accounts for 4 characters\n                    accumulatedCharacterCount += 4;\n                }\n                accumulatedCharacterCount += separatorLength;\n                separatorLength = 1;\n                if (accumulatedCharacterCount > maxCharacterCount) {\n                    warnOverCharacterLimit(maxCharacterCount, 'truncated', source);\n                    break;\n                }\n                ;\n                containerToProcess.target[key] = targetData;\n            }\n        }\n        else {\n            for (const key in containerToProcess.source) {\n                if (Object.prototype.hasOwnProperty.call(containerToProcess.source, key)) {\n                    const targetData = sanitizeProcessor(containerToProcess.source[key], containerToProcess.path, key, containerQueue, visitedObjectsWithPath);\n                    // When a property of an object has an undefined value, it will be dropped during serialization:\n                    // JSON.stringify({a:undefined}) => '{}'\n                    if (targetData !== undefined) {\n                        accumulatedCharacterCount +=\n                            JSON.stringify(targetData).length + separatorLength + key.length + KEY_DECORATION_LENGTH;\n                        separatorLength = 1;\n                    }\n                    if (accumulatedCharacterCount > maxCharacterCount) {\n                        warnOverCharacterLimit(maxCharacterCount, 'truncated', source);\n                        break;\n                    }\n                    ;\n                    containerToProcess.target[key] = targetData;\n                }\n            }\n        }\n    }\n    // Rebind detached toJSON functions\n    restoreObjectPrototypeToJson();\n    restoreArrayPrototypeToJson();\n    return sanitizedData;\n}\n/**\n * Internal function to factorize the process common to the\n * initial call to sanitize, and iterations for Arrays and Objects\n *\n */\nfunction sanitizeProcessor(source, parentPath, key, queue, visitedObjectsWithPath) {\n    // Start by handling toJSON, as we want to sanitize its output\n    const sourceToSanitize = tryToApplyToJSON(source);\n    if (!sourceToSanitize || typeof sourceToSanitize !== 'object') {\n        return sanitizePrimitivesAndFunctions(sourceToSanitize);\n    }\n    const sanitizedSource = sanitizeObjects(sourceToSanitize);\n    if (sanitizedSource !== '[Object]' && sanitizedSource !== '[Array]' && sanitizedSource !== '[Error]') {\n        return sanitizedSource;\n    }\n    // Handle potential cyclic references\n    // We need to use source as sourceToSanitize could be a reference to a new object\n    // At this stage, we know the source is an object type\n    const sourceAsObject = source;\n    if (visitedObjectsWithPath.has(sourceAsObject)) {\n        return `[Reference seen at ${visitedObjectsWithPath.get(sourceAsObject)}]`;\n    }\n    // Add processed source to queue\n    const currentPath = key !== undefined ? `${parentPath}.${key}` : parentPath;\n    const target = Array.isArray(sourceToSanitize) ? [] : {};\n    visitedObjectsWithPath.set(sourceAsObject, currentPath);\n    queue.push({ source: sourceToSanitize, target, path: currentPath });\n    return target;\n}\n/**\n * Handles sanitization of simple, non-object types\n *\n */\nfunction sanitizePrimitivesAndFunctions(value) {\n    // BigInt cannot be serialized by JSON.stringify(), convert it to a string representation\n    if (typeof value === 'bigint') {\n        return `[BigInt] ${value.toString()}`;\n    }\n    // Functions cannot be serialized by JSON.stringify(). Moreover, if a faulty toJSON is present, it needs to be converted\n    // so it won't prevent stringify from serializing later\n    if (typeof value === 'function') {\n        return `[Function] ${value.name || 'unknown'}`;\n    }\n    // JSON.stringify() does not serialize symbols.\n    if (typeof value === 'symbol') {\n        return `[Symbol] ${value.description || value.toString()}`;\n    }\n    return value;\n}\n/**\n * Handles sanitization of object types\n *\n * LIMITATIONS\n * - If a class defines a toStringTag Symbol, it will fall in the catch-all method and prevent enumeration of properties.\n * To avoid this, a toJSON method can be defined.\n */\nfunction sanitizeObjects(value) {\n    try {\n        if (value instanceof Event) {\n            return sanitizeEvent(value);\n        }\n        if (value instanceof RegExp) {\n            return `[RegExp] ${value.toString()}`;\n        }\n        // Handle all remaining object types in a generic way\n        const result = Object.prototype.toString.call(value);\n        const match = result.match(/\\[object (.*)\\]/);\n        if (match && match[1]) {\n            return `[${match[1]}]`;\n        }\n    }\n    catch (_a) {\n        // If the previous serialization attempts failed, and we cannot convert using\n        // Object.prototype.toString, declare the value unserializable\n    }\n    return '[Unserializable]';\n}\nfunction sanitizeEvent(event) {\n    return {\n        type: event.type,\n        isTrusted: event.isTrusted,\n        currentTarget: event.currentTarget ? sanitizeObjects(event.currentTarget) : null,\n        target: event.target ? sanitizeObjects(event.target) : null,\n    };\n}\n/**\n * Checks if a toJSON function exists and tries to execute it\n *\n */\nfunction tryToApplyToJSON(value) {\n    const object = value;\n    if (object && typeof object.toJSON === 'function') {\n        try {\n            return object.toJSON();\n        }\n        catch (_a) {\n            // If toJSON fails, we continue by trying to serialize the value manually\n        }\n    }\n    return value;\n}\n/**\n * Helper function to display the warning when the accumulated character count is over the limit\n */\nfunction warnOverCharacterLimit(maxCharacterCount, changeType, source) {\n    display.warn(`The data provided has been ${changeType} as it is over the limit of ${maxCharacterCount} characters:`, source);\n}\n//# sourceMappingURL=sanitize.js.map","import { sanitize } from '../../tools/serialisation/sanitize';\nimport { jsonStringify } from '../../tools/serialisation/jsonStringify';\nimport { computeStackTrace } from '../../tools/stackTrace/computeStackTrace';\nimport { toStackTraceString } from '../../tools/stackTrace/handlingStack';\nimport { isIndexableObject } from '../../tools/utils/typeUtils';\nexport const NO_ERROR_STACK_PRESENT_MESSAGE = 'No stack, consider using an instance of Error';\nfunction computeErrorBase({ originalError, stackTrace, source, useFallbackStack = true, nonErrorPrefix, }) {\n    const isErrorInstance = isError(originalError);\n    if (!stackTrace && isErrorInstance) {\n        stackTrace = computeStackTrace(originalError);\n    }\n    return {\n        source,\n        type: stackTrace ? stackTrace.name : undefined,\n        message: computeMessage(stackTrace, isErrorInstance, nonErrorPrefix, originalError),\n        stack: stackTrace ? toStackTraceString(stackTrace) : useFallbackStack ? NO_ERROR_STACK_PRESENT_MESSAGE : undefined,\n    };\n}\nexport function computeRawError({ stackTrace, originalError, handlingStack, componentStack, startClocks, nonErrorPrefix, useFallbackStack = true, source, handling, }) {\n    const errorBase = computeErrorBase({ originalError, stackTrace, source, useFallbackStack, nonErrorPrefix });\n    return {\n        startClocks,\n        handling,\n        handlingStack,\n        componentStack,\n        originalError,\n        ...errorBase,\n        causes: isError(originalError) ? flattenErrorCauses(originalError, source) : undefined,\n        fingerprint: tryToGetFingerprint(originalError),\n        context: tryToGetErrorContext(originalError),\n    };\n}\nfunction computeMessage(stackTrace, isErrorInstance, nonErrorPrefix, originalError) {\n    // Favor stackTrace message only if tracekit has really been able to extract something meaningful (message + name)\n    // TODO rework tracekit integration to avoid scattering error building logic\n    return (stackTrace === null || stackTrace === void 0 ? void 0 : stackTrace.message) && (stackTrace === null || stackTrace === void 0 ? void 0 : stackTrace.name)\n        ? stackTrace.message\n        : !isErrorInstance\n            ? nonErrorPrefix\n                ? `${nonErrorPrefix} ${jsonStringify(sanitize(originalError))}`\n                : jsonStringify(sanitize(originalError))\n            : 'Empty message';\n}\nexport function tryToGetFingerprint(originalError) {\n    return isError(originalError) && 'dd_fingerprint' in originalError ? String(originalError.dd_fingerprint) : undefined;\n}\nexport function tryToGetErrorContext(originalError) {\n    if (isIndexableObject(originalError)) {\n        return originalError.dd_context;\n    }\n}\nexport function getFileFromStackTraceString(stack) {\n    var _a;\n    return (_a = /@ (.+)/.exec(stack)) === null || _a === void 0 ? void 0 : _a[1];\n}\nexport function isError(error) {\n    return error instanceof Error || Object.prototype.toString.call(error) === '[object Error]';\n}\nexport function flattenErrorCauses(error, parentSource) {\n    const causes = [];\n    let currentCause = error.cause;\n    while (currentCause !== undefined && currentCause !== null && causes.length < 10) {\n        const causeBase = computeErrorBase({\n            originalError: currentCause,\n            source: parentSource,\n            useFallbackStack: false,\n        });\n        causes.push(causeBase);\n        currentCause = isError(currentCause) ? currentCause.cause : undefined;\n    }\n    return causes.length ? causes : undefined;\n}\n//# sourceMappingURL=error.js.map","export const ErrorSource = {\n    AGENT: 'agent',\n    CONSOLE: 'console',\n    CUSTOM: 'custom',\n    LOGGER: 'logger',\n    NETWORK: 'network',\n    SOURCE: 'source',\n    REPORT: 'report',\n};\n//# sourceMappingURL=error.types.js.map","import { instrumentMethod } from '../../tools/instrumentMethod';\nimport { Observable } from '../../tools/observable';\nimport { clocksNow } from '../../tools/utils/timeUtils';\nimport { computeStackTraceFromOnErrorMessage } from '../../tools/stackTrace/computeStackTrace';\nimport { getGlobalObject } from '../../tools/globalObject';\nimport { computeRawError, isError } from './error';\nimport { ErrorSource } from './error.types';\nexport function trackRuntimeError() {\n    return new Observable((observer) => {\n        const handleRuntimeError = (originalError, stackTrace) => {\n            const rawError = computeRawError({\n                stackTrace,\n                originalError,\n                startClocks: clocksNow(),\n                nonErrorPrefix: \"Uncaught\" /* NonErrorPrefix.UNCAUGHT */,\n                source: ErrorSource.SOURCE,\n                handling: \"unhandled\" /* ErrorHandling.UNHANDLED */,\n            });\n            observer.notify(rawError);\n        };\n        const { stop: stopInstrumentingOnError } = instrumentOnError(handleRuntimeError);\n        const { stop: stopInstrumentingOnUnhandledRejection } = instrumentUnhandledRejection(handleRuntimeError);\n        return () => {\n            stopInstrumentingOnError();\n            stopInstrumentingOnUnhandledRejection();\n        };\n    });\n}\nexport function instrumentOnError(callback) {\n    return instrumentMethod(getGlobalObject(), 'onerror', ({ parameters: [messageObj, url, line, column, errorObj] }) => {\n        let stackTrace;\n        if (!isError(errorObj)) {\n            stackTrace = computeStackTraceFromOnErrorMessage(messageObj, url, line, column);\n        }\n        callback(errorObj !== null && errorObj !== void 0 ? errorObj : messageObj, stackTrace);\n    });\n}\nexport function instrumentUnhandledRejection(callback) {\n    return instrumentMethod(getGlobalObject(), 'onunhandledrejection', ({ parameters: [e] }) => {\n        callback(e.reason || 'Empty reason');\n    });\n}\n//# sourceMappingURL=trackRuntimeError.js.map","export function tryJsonParse(text) {\n    try {\n        return JSON.parse(text);\n    }\n    catch (_a) {\n        // ignore\n    }\n}\nexport function shallowClone(object) {\n    return { ...object };\n}\nexport function objectHasValue(object, value) {\n    return Object.keys(object).some((key) => object[key] === value);\n}\nexport function isEmptyObject(object) {\n    return Object.keys(object).length === 0;\n}\nexport function mapValues(object, fn) {\n    const newObject = {};\n    for (const key of Object.keys(object)) {\n        newObject[key] = fn(object[key]);\n    }\n    return newObject;\n}\n//# sourceMappingURL=objectUtils.js.map","/**\n * LIMITATION:\n * For NPM setup, this feature flag singleton is shared between RUM and Logs product.\n * This means that an experimental flag set on the RUM product will be set on the Logs product.\n * So keep in mind that in certain configurations, your experimental feature flag may affect other products.\n *\n * FORMAT:\n * All feature flags should be snake_cased\n */\n// We want to use a real enum (i.e. not a const enum) here, to be able to check whether an arbitrary\n// string is an expected feature flag\nimport { objectHasValue } from './utils/objectUtils';\n// eslint-disable-next-line no-restricted-syntax\nexport var ExperimentalFeature;\n(function (ExperimentalFeature) {\n    ExperimentalFeature[\"TRACK_INTAKE_REQUESTS\"] = \"track_intake_requests\";\n    ExperimentalFeature[\"USE_TREE_WALKER_FOR_ACTION_NAME\"] = \"use_tree_walker_for_action_name\";\n    ExperimentalFeature[\"FEATURE_OPERATION_VITAL\"] = \"feature_operation_vital\";\n    ExperimentalFeature[\"SHORT_SESSION_INVESTIGATION\"] = \"short_session_investigation\";\n    ExperimentalFeature[\"START_STOP_ACTION\"] = \"start_stop_action\";\n    ExperimentalFeature[\"START_STOP_RESOURCE\"] = \"start_stop_resource\";\n    ExperimentalFeature[\"USE_CHANGE_RECORDS\"] = \"use_change_records\";\n    ExperimentalFeature[\"USE_INCREMENTAL_CHANGE_RECORDS\"] = \"use_incremental_change_records\";\n    ExperimentalFeature[\"LCP_SUBPARTS\"] = \"lcp_subparts\";\n    ExperimentalFeature[\"INP_SUBPARTS\"] = \"inp_subparts\";\n    ExperimentalFeature[\"TOO_MANY_REQUESTS_INVESTIGATION\"] = \"too_many_requests_investigation\";\n})(ExperimentalFeature || (ExperimentalFeature = {}));\nconst enabledExperimentalFeatures = new Set();\nexport function initFeatureFlags(enableExperimentalFeatures) {\n    if (Array.isArray(enableExperimentalFeatures)) {\n        addExperimentalFeatures(enableExperimentalFeatures.filter((flag) => objectHasValue(ExperimentalFeature, flag)));\n    }\n}\nexport function addExperimentalFeatures(enabledFeatures) {\n    enabledFeatures.forEach((flag) => {\n        enabledExperimentalFeatures.add(flag);\n    });\n}\nexport function isExperimentalFeatureEnabled(featureName) {\n    return enabledExperimentalFeatures.has(featureName);\n}\nexport function resetExperimentalFeatures() {\n    enabledExperimentalFeatures.clear();\n}\nexport function getExperimentalFeatures() {\n    return enabledExperimentalFeatures;\n}\n//# sourceMappingURL=experimentalFeatures.js.map","import { DOCS_ORIGIN, MORE_DETAILS, display } from '../tools/display';\nexport const TAG_SIZE_LIMIT = 200;\nexport function buildTags(configuration) {\n    const { env, service, version, datacenter, sdkVersion, variant } = configuration;\n    const tags = [buildTag('sdk_version', sdkVersion !== null && sdkVersion !== void 0 ? sdkVersion : \"6.31.0\")];\n    if (env) {\n        tags.push(buildTag('env', env));\n    }\n    if (service) {\n        tags.push(buildTag('service', service));\n    }\n    if (version) {\n        tags.push(buildTag('version', version));\n    }\n    if (datacenter) {\n        tags.push(buildTag('datacenter', datacenter));\n    }\n    if (variant) {\n        tags.push(buildTag('variant', variant));\n    }\n    return tags;\n}\nexport function buildTag(key, rawValue) {\n    // See https://docs.datadoghq.com/getting_started/tagging/#defining-tags for tags syntax. Note\n    // that the backend may not follow the exact same rules, so we only want to display an informal\n    // warning.\n    const tag = rawValue ? `${key}:${rawValue}` : key;\n    if (tag.length > TAG_SIZE_LIMIT || hasForbiddenCharacters(tag)) {\n        display.warn(`Tag ${tag} doesn't meet tag requirements and will be sanitized. ${MORE_DETAILS} ${DOCS_ORIGIN}/getting_started/tagging/#defining-tags`);\n    }\n    // Let the backend do most of the sanitization, but still make sure multiple tags can't be crafted\n    // by forging a value containing commas.\n    return sanitizeTag(tag);\n}\nexport function sanitizeTag(tag) {\n    return tag.replace(/,/g, '_');\n}\nfunction hasForbiddenCharacters(rawValue) {\n    // Unicode property escapes is not supported in all browsers, so we use a try/catch.\n    // Todo: Remove the try/catch when dropping support for Chrome 63 and Firefox 67\n    // see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape#browser_compatibility\n    if (!supportUnicodePropertyEscapes()) {\n        return false;\n    }\n    // We use the Unicode property escapes to match any character that is a letter including other languages like Chinese, Japanese, etc.\n    // p{Ll} matches a lowercase letter.\n    // p{Lo} matches a letter that is neither uppercase nor lowercase (ex: Japanese characters).\n    // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape#unicode_property_escapes_vs._character_classes\n    return new RegExp('[^\\\\p{Ll}\\\\p{Lo}0-9_:./-]', 'u').test(rawValue);\n}\nexport function supportUnicodePropertyEscapes() {\n    try {\n        new RegExp('[\\\\p{Ll}]', 'u');\n        return true;\n    }\n    catch (_a) {\n        return false;\n    }\n}\n//# sourceMappingURL=tags.js.map","export const INTAKE_SITE_STAGING = 'datad0g.com';\nexport const INTAKE_SITE_FED_STAGING = 'dd0g-gov.com';\nexport const INTAKE_SITE_US1 = 'datadoghq.com';\nexport const INTAKE_SITE_EU1 = 'datadoghq.eu';\nexport const INTAKE_SITE_US1_FED = 'ddog-gov.com';\nexport const PCI_INTAKE_HOST_US1 = 'pci.browser-intake-datadoghq.com';\nexport const INTAKE_URL_PARAMETERS = ['ddsource', 'dd-api-key', 'dd-request-id'];\n//# sourceMappingURL=intakeSites.js.map","import { globalObject } from './globalObject';\nexport function sendToExtension(type, payload) {\n    const callback = globalObject.__ddBrowserSdkExtensionCallback;\n    if (callback) {\n        callback({ type, payload });\n    }\n}\n//# sourceMappingURL=sendToExtension.js.map","/**\n * Return true if the draw is successful\n *\n * @param threshold - Threshold between 0 and 100\n */\nexport function performDraw(threshold) {\n    return threshold !== 0 && Math.random() * 100 <= threshold;\n}\nexport function round(num, decimals) {\n    return +num.toFixed(decimals);\n}\nexport function isPercentage(value) {\n    return isNumber(value) && value >= 0 && value <= 100;\n}\nexport function isNumber(value) {\n    return typeof value === 'number';\n}\n//# sourceMappingURL=numberUtils.js.map","import { getType } from './utils/typeUtils';\n/**\n * Iterate over source and affect its sub values into destination, recursively.\n * If the source and destination can't be merged, return source.\n */\nexport function mergeInto(destination, source, circularReferenceChecker = createCircularReferenceChecker()) {\n    // ignore the source if it is undefined\n    if (source === undefined) {\n        return destination;\n    }\n    if (typeof source !== 'object' || source === null) {\n        // primitive values - just return source\n        return source;\n    }\n    else if (source instanceof Date) {\n        return new Date(source.getTime());\n    }\n    else if (source instanceof RegExp) {\n        const flags = source.flags ||\n            // old browsers compatibility\n            [\n                source.global ? 'g' : '',\n                source.ignoreCase ? 'i' : '',\n                source.multiline ? 'm' : '',\n                source.sticky ? 'y' : '',\n                source.unicode ? 'u' : '',\n            ].join('');\n        return new RegExp(source.source, flags);\n    }\n    if (circularReferenceChecker.hasAlreadyBeenSeen(source)) {\n        // remove circular references\n        return undefined;\n    }\n    else if (Array.isArray(source)) {\n        const merged = Array.isArray(destination) ? destination : [];\n        for (let i = 0; i < source.length; ++i) {\n            merged[i] = mergeInto(merged[i], source[i], circularReferenceChecker);\n        }\n        return merged;\n    }\n    const merged = getType(destination) === 'object' ? destination : {};\n    for (const key in source) {\n        if (Object.prototype.hasOwnProperty.call(source, key)) {\n            merged[key] = mergeInto(merged[key], source[key], circularReferenceChecker);\n        }\n    }\n    return merged;\n}\n/**\n * A simplistic implementation of a deep clone algorithm.\n * Caveats:\n * - It doesn't maintain prototype chains - don't use with instances of custom classes.\n * - It doesn't handle Map and Set\n */\nexport function deepClone(value) {\n    return mergeInto(undefined, value);\n}\nexport function combine(...sources) {\n    let destination;\n    for (const source of sources) {\n        // Ignore any undefined or null sources.\n        if (source === undefined || source === null) {\n            continue;\n        }\n        destination = mergeInto(destination, source);\n    }\n    return destination;\n}\nfunction createCircularReferenceChecker() {\n    if (typeof WeakSet !== 'undefined') {\n        const set = new WeakSet();\n        return {\n            hasAlreadyBeenSeen(value) {\n                const has = set.has(value);\n                if (!has) {\n                    set.add(value);\n                }\n                return has;\n            },\n        };\n    }\n    const array = [];\n    return {\n        hasAlreadyBeenSeen(value) {\n            const has = array.indexOf(value) >= 0;\n            if (!has) {\n                array.push(value);\n            }\n            return has;\n        },\n    };\n}\n//# sourceMappingURL=mergeInto.js.map","import { globalObject } from '../../tools/globalObject';\nexport function getConnectivity() {\n    var _a;\n    const navigator = globalObject.navigator;\n    return {\n        status: navigator.onLine ? 'connected' : 'not_connected',\n        interfaces: navigator.connection && navigator.connection.type ? [navigator.connection.type] : undefined,\n        effective_type: (_a = navigator.connection) === null || _a === void 0 ? void 0 : _a.effectiveType,\n    };\n}\n//# sourceMappingURL=connectivity.js.map","import { getGlobalObject } from '../tools/globalObject';\nexport function getEventBridge() {\n    const eventBridgeGlobal = getEventBridgeGlobal();\n    if (!eventBridgeGlobal) {\n        return;\n    }\n    return {\n        getCapabilities() {\n            var _a;\n            return JSON.parse(((_a = eventBridgeGlobal.getCapabilities) === null || _a === void 0 ? void 0 : _a.call(eventBridgeGlobal)) || '[]');\n        },\n        getPrivacyLevel() {\n            var _a;\n            return (_a = eventBridgeGlobal.getPrivacyLevel) === null || _a === void 0 ? void 0 : _a.call(eventBridgeGlobal);\n        },\n        getAllowedWebViewHosts() {\n            return JSON.parse(eventBridgeGlobal.getAllowedWebViewHosts());\n        },\n        send(eventType, event, viewId) {\n            const view = viewId ? { id: viewId } : undefined;\n            eventBridgeGlobal.send(JSON.stringify({ eventType, event, view }));\n        },\n    };\n}\nexport function bridgeSupports(capability) {\n    const bridge = getEventBridge();\n    return !!bridge && bridge.getCapabilities().includes(capability);\n}\nexport function canUseEventBridge(currentHost) {\n    var _a;\n    if (currentHost === void 0) { currentHost = (_a = getGlobalObject().location) === null || _a === void 0 ? void 0 : _a.hostname; }\n    const bridge = getEventBridge();\n    return (!!bridge &&\n        bridge\n            .getAllowedWebViewHosts()\n            .some((allowedHost) => currentHost === allowedHost || currentHost.endsWith(`.${allowedHost}`)));\n}\nfunction getEventBridgeGlobal() {\n    return getGlobalObject().DatadogEventBridge;\n}\n//# sourceMappingURL=eventBridge.js.map","export function findLast(array, predicate) {\n    for (let i = array.length - 1; i >= 0; i -= 1) {\n        const item = array[i];\n        if (predicate(item, i, array)) {\n            return item;\n        }\n    }\n    return undefined;\n}\n// Keep the following wrapper functions as it can be mangled and will result in smaller bundle size that using\n// the native Object.values and Object.entries directly\nexport function objectValues(object) {\n    return Object.values(object);\n}\nexport function objectEntries(object) {\n    return Object.entries(object);\n}\n//# sourceMappingURL=polyfills.js.map","import { monitor } from '../tools/monitor';\nimport { getZoneJsOriginalValue } from '../tools/getZoneJsOriginalValue';\n/**\n * Add an event listener to an event target object (Window, Element, mock object...).  This provides\n * a few conveniences compared to using `element.addEventListener` directly:\n *\n * * supports IE11 by: using an option object only if needed and emulating the `once` option\n *\n * * wraps the listener with a `monitor` function\n *\n * * returns a `stop` function to remove the listener\n */\nexport function addEventListener(configuration, eventTarget, eventName, listener, options) {\n    return addEventListeners(configuration, eventTarget, [eventName], listener, options);\n}\n/**\n * Add event listeners to an event target object (Window, Element, mock object...).  This provides\n * a few conveniences compared to using `element.addEventListener` directly:\n *\n * * supports IE11 by: using an option object only if needed and emulating the `once` option\n *\n * * wraps the listener with a `monitor` function\n *\n * * returns a `stop` function to remove the listener\n *\n * * with `once: true`, the listener will be called at most once, even if different events are listened\n */\nexport function addEventListeners(configuration, eventTarget, eventNames, listener, { once, capture, passive } = {}) {\n    const listenerWithMonitor = monitor((event) => {\n        if (!event.isTrusted && !event.__ddIsTrusted && !configuration.allowUntrustedEvents) {\n            return;\n        }\n        if (once) {\n            stop();\n        }\n        listener(event);\n    });\n    const options = passive ? { capture, passive } : capture;\n    // Use the window.EventTarget.prototype when possible to avoid wrong overrides (e.g: https://github.com/salesforce/lwc/issues/1824)\n    const listenerTarget = window.EventTarget && eventTarget instanceof EventTarget ? window.EventTarget.prototype : eventTarget;\n    const add = getZoneJsOriginalValue(listenerTarget, 'addEventListener');\n    eventNames.forEach((eventName) => add.call(eventTarget, eventName, listenerWithMonitor, options));\n    function stop() {\n        const remove = getZoneJsOriginalValue(listenerTarget, 'removeEventListener');\n        eventNames.forEach((eventName) => remove.call(eventTarget, eventName, listenerWithMonitor, options));\n    }\n    return {\n        stop,\n    };\n}\n//# sourceMappingURL=addEventListener.js.map","import { Observable } from '../tools/observable';\nimport { objectValues } from '../tools/utils/polyfills';\nimport { isWorkerEnvironment } from '../tools/globalObject';\nimport { addEventListeners, addEventListener } from './addEventListener';\nexport const PageExitReason = {\n    HIDDEN: 'visibility_hidden',\n    UNLOADING: 'before_unload',\n    PAGEHIDE: 'page_hide',\n    FROZEN: 'page_frozen',\n};\nexport function createPageMayExitObservable(configuration) {\n    return new Observable((observable) => {\n        if (isWorkerEnvironment) {\n            // Page exit is not observable in worker environments (no window/document events)\n            return;\n        }\n        const { stop: stopListeners } = addEventListeners(configuration, window, [\"visibilitychange\" /* DOM_EVENT.VISIBILITY_CHANGE */, \"freeze\" /* DOM_EVENT.FREEZE */], (event) => {\n            if (event.type === \"visibilitychange\" /* DOM_EVENT.VISIBILITY_CHANGE */ && document.visibilityState === 'hidden') {\n                /**\n                 * Only event that guarantee to fire on mobile devices when the page transitions to background state\n                 * (e.g. when user switches to a different application, goes to homescreen, etc), or is being unloaded.\n                 */\n                observable.notify({ reason: PageExitReason.HIDDEN });\n            }\n            else if (event.type === \"freeze\" /* DOM_EVENT.FREEZE */) {\n                /**\n                 * After transitioning in background a tab can be freezed to preserve resources. (cf: https://developer.chrome.com/blog/page-lifecycle-api)\n                 * Allow to collect events happening between hidden and frozen state.\n                 */\n                observable.notify({ reason: PageExitReason.FROZEN });\n            }\n        }, { capture: true });\n        const stopBeforeUnloadListener = addEventListener(configuration, window, \"beforeunload\" /* DOM_EVENT.BEFORE_UNLOAD */, () => {\n            observable.notify({ reason: PageExitReason.UNLOADING });\n        }).stop;\n        return () => {\n            stopListeners();\n            stopBeforeUnloadListener();\n        };\n    });\n}\nexport function isPageExitReason(reason) {\n    return objectValues(PageExitReason).includes(reason);\n}\n//# sourceMappingURL=pageMayExitObservable.js.map","import { DOCS_TROUBLESHOOTING, MORE_DETAILS, display } from '../tools/display';\nimport { objectValues } from '../tools/utils/polyfills';\nimport { isPageExitReason } from '../browser/pageMayExitObservable';\nimport { jsonStringify } from '../tools/serialisation/jsonStringify';\nimport { computeBytesCount, ONE_KIBI_BYTE } from '../tools/utils/byteUtils';\nexport const MESSAGE_BYTES_LIMIT = 256 * ONE_KIBI_BYTE;\nexport function createBatch({ encoder, request, flushController, }) {\n    let upsertBuffer = {};\n    const flushSubscription = flushController.flushObservable.subscribe((event) => flush(event));\n    function push(serializedMessage, estimatedMessageBytesCount, key) {\n        flushController.notifyBeforeAddMessage(estimatedMessageBytesCount);\n        if (key !== undefined) {\n            upsertBuffer[key] = serializedMessage;\n            flushController.notifyAfterAddMessage();\n        }\n        else {\n            encoder.write(encoder.isEmpty ? serializedMessage : `\\n${serializedMessage}`, (realMessageBytesCount) => {\n                flushController.notifyAfterAddMessage(realMessageBytesCount - estimatedMessageBytesCount);\n            });\n        }\n    }\n    function hasMessageFor(key) {\n        return key !== undefined && upsertBuffer[key] !== undefined;\n    }\n    function remove(key) {\n        const removedMessage = upsertBuffer[key];\n        delete upsertBuffer[key];\n        const messageBytesCount = encoder.estimateEncodedBytesCount(removedMessage);\n        flushController.notifyAfterRemoveMessage(messageBytesCount);\n    }\n    function addOrUpdate(message, key) {\n        const serializedMessage = jsonStringify(message);\n        const estimatedMessageBytesCount = encoder.estimateEncodedBytesCount(serializedMessage);\n        if (estimatedMessageBytesCount >= MESSAGE_BYTES_LIMIT) {\n            display.warn(`Discarded a message whose size was bigger than the maximum allowed size ${MESSAGE_BYTES_LIMIT / ONE_KIBI_BYTE}KiB. ${MORE_DETAILS} ${DOCS_TROUBLESHOOTING}/#technical-limitations`);\n            return;\n        }\n        if (hasMessageFor(key)) {\n            remove(key);\n        }\n        push(serializedMessage, estimatedMessageBytesCount, key);\n    }\n    function flush(event) {\n        const upsertMessages = objectValues(upsertBuffer).join('\\n');\n        upsertBuffer = {};\n        const pageMightExit = isPageExitReason(event.reason);\n        const send = pageMightExit ? request.sendOnExit : request.send;\n        if (pageMightExit &&\n            // Note: checking that the encoder is async is not strictly needed, but it's an optimization:\n            // if the encoder is async we need to send two requests in some cases (one for encoded data\n            // and the other for non-encoded data). But if it's not async, we don't have to worry about\n            // it and always send a single request.\n            encoder.isAsync) {\n            const encoderResult = encoder.finishSync();\n            // Send encoded messages\n            if (encoderResult.outputBytesCount) {\n                send(formatPayloadFromEncoder(encoderResult));\n            }\n            // Send messages that are not yet encoded at this point\n            const pendingMessages = [encoderResult.pendingData, upsertMessages].filter(Boolean).join('\\n');\n            if (pendingMessages) {\n                send({\n                    data: pendingMessages,\n                    bytesCount: computeBytesCount(pendingMessages),\n                });\n            }\n        }\n        else {\n            if (upsertMessages) {\n                encoder.write(encoder.isEmpty ? upsertMessages : `\\n${upsertMessages}`);\n            }\n            encoder.finish((encoderResult) => {\n                send(formatPayloadFromEncoder(encoderResult));\n            });\n        }\n    }\n    return {\n        flushController,\n        add: addOrUpdate,\n        upsert: addOrUpdate,\n        stop: flushSubscription.unsubscribe,\n    };\n}\nfunction formatPayloadFromEncoder(encoderResult) {\n    let data;\n    if (typeof encoderResult.output === 'string') {\n        data = encoderResult.output;\n    }\n    else {\n        data = new Blob([encoderResult.output], {\n            // This will set the 'Content-Type: text/plain' header. Reasoning:\n            // * The intake rejects the request if there is no content type.\n            // * The browser will issue CORS preflight requests if we set it to 'application/json', which\n            // could induce higher intake load (and maybe has other impacts).\n            // * Also it's not quite JSON, since we are concatenating multiple JSON objects separated by\n            // new lines.\n            type: 'text/plain',\n        });\n    }\n    return {\n        data,\n        bytesCount: encoderResult.outputBytesCount,\n        encoding: encoderResult.encoding,\n    };\n}\n//# sourceMappingURL=batch.js.map","export function isServerError(status) {\n    return status >= 500;\n}\nexport function tryToClone(response) {\n    try {\n        return response.clone();\n    }\n    catch (_a) {\n        // clone can throw if the response has already been used by another instrumentation or is disturbed\n        return;\n    }\n}\n//# sourceMappingURL=responseUtils.js.map","import { setTimeout } from '../tools/timer';\nimport { clocksNow, ONE_MINUTE, ONE_SECOND } from '../tools/utils/timeUtils';\nimport { ONE_MEBI_BYTE, ONE_KIBI_BYTE } from '../tools/utils/byteUtils';\nimport { isServerError } from '../tools/utils/responseUtils';\nimport { ErrorSource } from '../domain/error/error.types';\nexport const MAX_ONGOING_BYTES_COUNT = 80 * ONE_KIBI_BYTE;\nexport const MAX_ONGOING_REQUESTS = 32;\nexport const MAX_QUEUE_BYTES_COUNT = 20 * ONE_MEBI_BYTE;\nexport const MAX_BACKOFF_TIME = ONE_MINUTE;\nexport const INITIAL_BACKOFF_TIME = ONE_SECOND;\nexport function sendWithRetryStrategy(payload, state, sendStrategy, trackType, reportError, requestObservable) {\n    if (state.transportStatus === 0 /* TransportStatus.UP */ &&\n        state.queuedPayloads.size() === 0 &&\n        state.bandwidthMonitor.canHandle(payload)) {\n        send(payload, state, sendStrategy, requestObservable, {\n            onSuccess: () => retryQueuedPayloads(0 /* RetryReason.AFTER_SUCCESS */, state, sendStrategy, trackType, reportError, requestObservable),\n            onFailure: () => {\n                if (!state.queuedPayloads.enqueue(payload)) {\n                    requestObservable.notify({ type: 'queue-full', bandwidth: state.bandwidthMonitor.stats(), payload });\n                }\n                scheduleRetry(state, sendStrategy, trackType, reportError, requestObservable);\n            },\n        });\n    }\n    else {\n        if (!state.queuedPayloads.enqueue(payload)) {\n            requestObservable.notify({ type: 'queue-full', bandwidth: state.bandwidthMonitor.stats(), payload });\n        }\n    }\n}\nfunction scheduleRetry(state, sendStrategy, trackType, reportError, requestObservable) {\n    if (state.transportStatus !== 2 /* TransportStatus.DOWN */) {\n        return;\n    }\n    setTimeout(() => {\n        const payload = state.queuedPayloads.first();\n        send(payload, state, sendStrategy, requestObservable, {\n            onSuccess: () => {\n                state.queuedPayloads.dequeue();\n                state.currentBackoffTime = INITIAL_BACKOFF_TIME;\n                retryQueuedPayloads(1 /* RetryReason.AFTER_RESUME */, state, sendStrategy, trackType, reportError, requestObservable);\n            },\n            onFailure: () => {\n                state.currentBackoffTime = Math.min(MAX_BACKOFF_TIME, state.currentBackoffTime * 2);\n                scheduleRetry(state, sendStrategy, trackType, reportError, requestObservable);\n            },\n        });\n    }, state.currentBackoffTime);\n}\nfunction send(payload, state, sendStrategy, requestObservable, { onSuccess, onFailure }) {\n    state.bandwidthMonitor.add(payload);\n    sendStrategy(payload, (response) => {\n        state.bandwidthMonitor.remove(payload);\n        if (!shouldRetryRequest(response)) {\n            state.transportStatus = 0 /* TransportStatus.UP */;\n            requestObservable.notify({ type: 'success', bandwidth: state.bandwidthMonitor.stats(), payload });\n            onSuccess();\n        }\n        else {\n            // do not consider transport down if another ongoing request could succeed\n            state.transportStatus =\n                state.bandwidthMonitor.ongoingRequestCount > 0 ? 1 /* TransportStatus.FAILURE_DETECTED */ : 2 /* TransportStatus.DOWN */;\n            payload.retry = {\n                count: payload.retry ? payload.retry.count + 1 : 1,\n                lastFailureStatus: response.status,\n            };\n            requestObservable.notify({ type: 'failure', bandwidth: state.bandwidthMonitor.stats(), payload });\n            onFailure();\n        }\n    });\n}\nfunction retryQueuedPayloads(reason, state, sendStrategy, trackType, reportError, requestObservable) {\n    if (reason === 0 /* RetryReason.AFTER_SUCCESS */ && state.queuedPayloads.isFull() && !state.queueFullReported) {\n        reportError({\n            message: `Reached max ${trackType} events size queued for upload: ${MAX_QUEUE_BYTES_COUNT / ONE_MEBI_BYTE}MiB`,\n            source: ErrorSource.AGENT,\n            startClocks: clocksNow(),\n        });\n        state.queueFullReported = true;\n    }\n    const previousQueue = state.queuedPayloads;\n    state.queuedPayloads = newPayloadQueue();\n    while (previousQueue.size() > 0) {\n        sendWithRetryStrategy(previousQueue.dequeue(), state, sendStrategy, trackType, reportError, requestObservable);\n    }\n}\nfunction shouldRetryRequest(response) {\n    return (response.type !== 'opaque' &&\n        ((response.status === 0 && !navigator.onLine) ||\n            response.status === 408 ||\n            response.status === 429 ||\n            isServerError(response.status)));\n}\nexport function newRetryState() {\n    return {\n        transportStatus: 0 /* TransportStatus.UP */,\n        currentBackoffTime: INITIAL_BACKOFF_TIME,\n        bandwidthMonitor: newBandwidthMonitor(),\n        queuedPayloads: newPayloadQueue(),\n        queueFullReported: false,\n    };\n}\nfunction newPayloadQueue() {\n    const queue = [];\n    return {\n        bytesCount: 0,\n        enqueue(payload) {\n            if (this.isFull()) {\n                return false;\n            }\n            queue.push(payload);\n            this.bytesCount += payload.bytesCount;\n            return true;\n        },\n        first() {\n            return queue[0];\n        },\n        dequeue() {\n            const payload = queue.shift();\n            if (payload) {\n                this.bytesCount -= payload.bytesCount;\n            }\n            return payload;\n        },\n        size() {\n            return queue.length;\n        },\n        isFull() {\n            return this.bytesCount >= MAX_QUEUE_BYTES_COUNT;\n        },\n    };\n}\nfunction newBandwidthMonitor() {\n    return {\n        ongoingRequestCount: 0,\n        ongoingByteCount: 0,\n        canHandle(payload) {\n            return (this.ongoingRequestCount === 0 ||\n                (this.ongoingByteCount + payload.bytesCount <= MAX_ONGOING_BYTES_COUNT &&\n                    this.ongoingRequestCount < MAX_ONGOING_REQUESTS));\n        },\n        add(payload) {\n            this.ongoingRequestCount += 1;\n            this.ongoingByteCount += payload.bytesCount;\n        },\n        remove(payload) {\n            this.ongoingRequestCount -= 1;\n            this.ongoingByteCount -= payload.bytesCount;\n        },\n        stats() {\n            return {\n                ongoingByteCount: this.ongoingByteCount,\n                ongoingRequestCount: this.ongoingRequestCount,\n            };\n        },\n    };\n}\n//# sourceMappingURL=sendWithRetryStrategy.js.map","import { fetch } from '../browser/fetch';\nimport { monitor, monitorError } from '../tools/monitor';\nimport { Observable } from '../tools/observable';\nimport { ONE_KIBI_BYTE } from '../tools/utils/byteUtils';\nimport { newRetryState, sendWithRetryStrategy } from './sendWithRetryStrategy';\n/**\n * beacon payload max queue size implementation is 64kb\n * ensure that we leave room for logs, rum and potential other users\n */\nexport const RECOMMENDED_REQUEST_BYTES_LIMIT = 16 * ONE_KIBI_BYTE;\nexport function createHttpRequest(endpointBuilders, reportError, bytesLimit = RECOMMENDED_REQUEST_BYTES_LIMIT) {\n    const observable = new Observable();\n    const retryState = newRetryState();\n    return {\n        observable,\n        send: (payload) => {\n            for (const endpointBuilder of endpointBuilders) {\n                sendWithRetryStrategy(payload, retryState, (payload, onResponse) => {\n                    fetchStrategy(endpointBuilder, payload, onResponse);\n                }, endpointBuilder.trackType, reportError, observable);\n            }\n        },\n        /**\n         * Since fetch keepalive behaves like regular fetch on Firefox,\n         * keep using sendBeaconStrategy on exit\n         */\n        sendOnExit: (payload) => {\n            for (const endpointBuilder of endpointBuilders) {\n                sendBeaconStrategy(endpointBuilder, bytesLimit, payload);\n            }\n        },\n    };\n}\nfunction sendBeaconStrategy(endpointBuilder, bytesLimit, payload) {\n    const canUseBeacon = !!navigator.sendBeacon && payload.bytesCount < bytesLimit;\n    if (canUseBeacon) {\n        try {\n            const beaconUrl = endpointBuilder.build('beacon', payload);\n            const isQueued = navigator.sendBeacon(beaconUrl, payload.data);\n            if (isQueued) {\n                return;\n            }\n        }\n        catch (e) {\n            reportBeaconError(e);\n        }\n    }\n    fetchStrategy(endpointBuilder, payload);\n}\nlet hasReportedBeaconError = false;\nfunction reportBeaconError(e) {\n    if (!hasReportedBeaconError) {\n        hasReportedBeaconError = true;\n        monitorError(e);\n    }\n}\nexport function fetchStrategy(endpointBuilder, payload, onResponse) {\n    const fetchUrl = endpointBuilder.build('fetch', payload);\n    fetch(fetchUrl, { method: 'POST', body: payload.data, mode: 'cors' })\n        .then(monitor((response) => onResponse === null || onResponse === void 0 ? void 0 : onResponse({ status: response.status, type: response.type })))\n        .catch(monitor(() => onResponse === null || onResponse === void 0 ? void 0 : onResponse({ status: 0 })));\n}\n//# sourceMappingURL=httpRequest.js.map","import { getZoneJsOriginalValue } from '../tools/getZoneJsOriginalValue';\nimport { getGlobalObject } from '../tools/globalObject';\n/**\n * Make a fetch request using the native implementation, bypassing Zone.js patching.\n * This prevents unnecessary Angular change detection cycles.\n *\n * @param input - The resource to fetch (URL or Request object)\n * @param init - Optional fetch options\n * @returns A Promise that resolves to the Response\n */\nexport function fetch(input, init) {\n    return getZoneJsOriginalValue(getGlobalObject(), 'fetch')(input, init);\n}\n//# sourceMappingURL=fetch.js.map","import { isWorkerEnvironment } from '../tools/globalObject';\nimport { Observable } from '../tools/observable';\nimport { clearTimeout, setTimeout } from '../tools/timer';\nimport { ONE_SECOND } from '../tools/utils/timeUtils';\nimport { RECOMMENDED_REQUEST_BYTES_LIMIT } from './httpRequest';\n/**\n * flush automatically, aim to be lower than ALB connection timeout\n * to maximize connection reuse.\n */\nexport const FLUSH_DURATION_LIMIT = (30 * ONE_SECOND);\n/**\n * When using the SDK in a Worker Environment, we limit the batch size to 1 to ensure it can be sent\n * in a single event.\n */\nexport const MESSAGES_LIMIT = isWorkerEnvironment ? 1 : 50;\n/**\n * Returns a \"flush controller\", responsible of notifying when flushing a pool of pending data needs\n * to happen. The implementation is designed to support both synchronous and asynchronous usages,\n * but relies on invariants described in each method documentation to keep a coherent state.\n */\nexport function createFlushController({ pageMayExitObservable, sessionExpireObservable }) {\n    const pageMayExitSubscription = pageMayExitObservable.subscribe((event) => flush(event.reason));\n    const sessionExpireSubscription = sessionExpireObservable.subscribe(() => flush('session_expire'));\n    const flushObservable = new Observable(() => () => {\n        pageMayExitSubscription.unsubscribe();\n        sessionExpireSubscription.unsubscribe();\n    });\n    let currentBytesCount = 0;\n    let currentMessagesCount = 0;\n    function flush(flushReason) {\n        if (currentMessagesCount === 0) {\n            return;\n        }\n        const messagesCount = currentMessagesCount;\n        const bytesCount = currentBytesCount;\n        currentMessagesCount = 0;\n        currentBytesCount = 0;\n        cancelDurationLimitTimeout();\n        flushObservable.notify({\n            reason: flushReason,\n            messagesCount,\n            bytesCount,\n        });\n    }\n    let durationLimitTimeoutId;\n    function scheduleDurationLimitTimeout() {\n        if (durationLimitTimeoutId === undefined) {\n            durationLimitTimeoutId = setTimeout(() => {\n                flush('duration_limit');\n            }, FLUSH_DURATION_LIMIT);\n        }\n    }\n    function cancelDurationLimitTimeout() {\n        clearTimeout(durationLimitTimeoutId);\n        durationLimitTimeoutId = undefined;\n    }\n    return {\n        flushObservable,\n        get messagesCount() {\n            return currentMessagesCount;\n        },\n        /**\n         * Notifies that a message will be added to a pool of pending messages waiting to be flushed.\n         *\n         * This function needs to be called synchronously, right before adding the message, so no flush\n         * event can happen after `notifyBeforeAddMessage` and before adding the message.\n         *\n         * @param estimatedMessageBytesCount - an estimation of the message bytes count once it is\n         * actually added.\n         */\n        notifyBeforeAddMessage(estimatedMessageBytesCount) {\n            if (currentBytesCount + estimatedMessageBytesCount >= RECOMMENDED_REQUEST_BYTES_LIMIT) {\n                flush('bytes_limit');\n            }\n            // Consider the message to be added now rather than in `notifyAfterAddMessage`, because if no\n            // message was added yet and `notifyAfterAddMessage` is called asynchronously, we still want\n            // to notify when a flush is needed (for example on page exit).\n            currentMessagesCount += 1;\n            currentBytesCount += estimatedMessageBytesCount;\n            scheduleDurationLimitTimeout();\n        },\n        /**\n         * Notifies that a message *was* added to a pool of pending messages waiting to be flushed.\n         *\n         * This function can be called asynchronously after the message was added, but in this case it\n         * should not be called if a flush event occurred in between.\n         *\n         * @param messageBytesCountDiff - the difference between the estimated message bytes count and\n         * its actual bytes count once added to the pool.\n         */\n        notifyAfterAddMessage(messageBytesCountDiff = 0) {\n            currentBytesCount += messageBytesCountDiff;\n            if (currentMessagesCount >= MESSAGES_LIMIT) {\n                flush('messages_limit');\n            }\n            else if (currentBytesCount >= RECOMMENDED_REQUEST_BYTES_LIMIT) {\n                flush('bytes_limit');\n            }\n        },\n        /**\n         * Notifies that a message was removed from a pool of pending messages waiting to be flushed.\n         *\n         * This function needs to be called synchronously, right after removing the message, so no flush\n         * event can happen after removing the message and before `notifyAfterRemoveMessage`.\n         *\n         * @param messageBytesCount - the message bytes count that was added to the pool. Should\n         * correspond to the sum of bytes counts passed to `notifyBeforeAddMessage` and\n         * `notifyAfterAddMessage`.\n         */\n        notifyAfterRemoveMessage(messageBytesCount) {\n            currentBytesCount -= messageBytesCount;\n            currentMessagesCount -= 1;\n            if (currentMessagesCount === 0) {\n                cancelDurationLimitTimeout();\n            }\n        },\n    };\n}\n//# sourceMappingURL=flushController.js.map","import { computeBytesCount } from './utils/byteUtils';\nexport function createIdentityEncoder() {\n    let output = '';\n    let outputBytesCount = 0;\n    return {\n        isAsync: false,\n        get isEmpty() {\n            return !output;\n        },\n        write(data, callback) {\n            const additionalEncodedBytesCount = computeBytesCount(data);\n            outputBytesCount += additionalEncodedBytesCount;\n            output += data;\n            if (callback) {\n                callback(additionalEncodedBytesCount);\n            }\n        },\n        finish(callback) {\n            callback(this.finishSync());\n        },\n        finishSync() {\n            const result = {\n                output,\n                outputBytesCount,\n                rawBytesCount: outputBytesCount,\n                pendingData: '',\n            };\n            output = '';\n            outputBytesCount = 0;\n            return result;\n        },\n        estimateEncodedBytesCount(data) {\n            return data.length;\n        },\n    };\n}\n//# sourceMappingURL=encoder.js.map","import { combine } from './mergeInto';\n// Discards the event from being sent\nexport const DISCARDED = 'DISCARDED';\n// Skips from the assembly of the event\nexport const SKIPPED = 'SKIPPED';\nexport function abstractHooks() {\n    const callbacks = {};\n    return {\n        register(hookName, callback) {\n            if (!callbacks[hookName]) {\n                callbacks[hookName] = [];\n            }\n            callbacks[hookName].push(callback);\n            return {\n                unregister: () => {\n                    callbacks[hookName] = callbacks[hookName].filter((cb) => cb !== callback);\n                },\n            };\n        },\n        triggerHook(hookName, param) {\n            const hookCallbacks = callbacks[hookName] || [];\n            const results = [];\n            for (const callback of hookCallbacks) {\n                const result = callback(param);\n                if (result === DISCARDED) {\n                    return DISCARDED;\n                }\n                if (result === SKIPPED) {\n                    continue;\n                }\n                results.push(result);\n            }\n            return combine(...results);\n        },\n    };\n}\n//# sourceMappingURL=abstractHooks.js.map","export const TelemetryType = {\n    LOG: 'log',\n    CONFIGURATION: 'configuration',\n    USAGE: 'usage',\n};\n//# sourceMappingURL=rawTelemetryEvent.types.js.map","import { ConsoleApiName } from '../../tools/display';\nimport { NO_ERROR_STACK_PRESENT_MESSAGE, isError } from '../error/error';\nimport { toStackTraceString } from '../../tools/stackTrace/handlingStack';\nimport { getExperimentalFeatures } from '../../tools/experimentalFeatures';\nimport { buildTags } from '../tags';\nimport { INTAKE_SITE_STAGING, INTAKE_SITE_US1_FED } from '../intakeSites';\nimport { BufferedObservable, Observable } from '../../tools/observable';\nimport { clocksNow } from '../../tools/utils/timeUtils';\nimport { displayIfDebugEnabled, startMonitorErrorCollection } from '../../tools/monitor';\nimport { sendToExtension } from '../../tools/sendToExtension';\nimport { performDraw } from '../../tools/utils/numberUtils';\nimport { jsonStringify } from '../../tools/serialisation/jsonStringify';\nimport { combine } from '../../tools/mergeInto';\nimport { computeStackTrace } from '../../tools/stackTrace/computeStackTrace';\nimport { getConnectivity } from '../connectivity';\nimport { canUseEventBridge, createFlushController, createHttpRequest, getEventBridge, createBatch, } from '../../transport';\nimport { createIdentityEncoder } from '../../tools/encoder';\nimport { createPageMayExitObservable } from '../../browser/pageMayExitObservable';\nimport { DISCARDED } from '../../tools/abstractHooks';\nimport { globalObject, isWorkerEnvironment } from '../../tools/globalObject';\nimport { noop } from '../../tools/utils/functionUtils';\nimport { TelemetryType } from './rawTelemetryEvent.types';\nconst ALLOWED_FRAME_URLS = [\n    'https://www.datadoghq-browser-agent.com',\n    'https://www.datad0g-browser-agent.com',\n    'https://d3uc069fcn7uxw.cloudfront.net',\n    'https://d20xtzwzcl0ceb.cloudfront.net',\n    'http://localhost',\n    '<anonymous>',\n];\nconst METRIC_SAMPLE_RATE = 1;\nconst TELEMETRY_EXCLUDED_SITES = [INTAKE_SITE_US1_FED];\nconst MAX_TELEMETRY_EVENTS_PER_PAGE = 15;\nlet telemetryObservable;\nexport function getTelemetryObservable() {\n    if (!telemetryObservable) {\n        telemetryObservable = new BufferedObservable(100);\n    }\n    return telemetryObservable;\n}\nexport function startTelemetry(telemetryService, configuration, hooks) {\n    const observable = new Observable();\n    const { enabled, metricsEnabled } = startTelemetryCollection(telemetryService, configuration, hooks, observable);\n    const { stop } = startTelemetryTransport(configuration, observable);\n    return {\n        stop,\n        enabled,\n        metricsEnabled,\n    };\n}\nexport function startTelemetryCollection(telemetryService, configuration, hooks, observable, metricSampleRate = METRIC_SAMPLE_RATE, maxTelemetryEventsPerPage = MAX_TELEMETRY_EVENTS_PER_PAGE) {\n    const alreadySentEventsByKind = {};\n    const telemetryEnabled = !TELEMETRY_EXCLUDED_SITES.includes(configuration.site) && performDraw(configuration.telemetrySampleRate);\n    const telemetryEnabledPerType = {\n        [TelemetryType.LOG]: telemetryEnabled,\n        [TelemetryType.CONFIGURATION]: telemetryEnabled && performDraw(configuration.telemetryConfigurationSampleRate),\n        [TelemetryType.USAGE]: telemetryEnabled && performDraw(configuration.telemetryUsageSampleRate),\n        // not an actual \"type\" but using a single draw for all metrics\n        metric: telemetryEnabled && performDraw(metricSampleRate),\n    };\n    const runtimeEnvInfo = getRuntimeEnvInfo();\n    const telemetryObservable = getTelemetryObservable();\n    telemetryObservable.subscribe(({ rawEvent, metricName }) => {\n        if ((metricName && !telemetryEnabledPerType['metric']) || !telemetryEnabledPerType[rawEvent.type]) {\n            return;\n        }\n        const kind = metricName || rawEvent.status || rawEvent.type;\n        let alreadySentEvents = alreadySentEventsByKind[kind];\n        if (!alreadySentEvents) {\n            alreadySentEvents = alreadySentEventsByKind[kind] = new Set();\n        }\n        if (alreadySentEvents.size >= maxTelemetryEventsPerPage) {\n            return;\n        }\n        const stringifiedEvent = jsonStringify(rawEvent);\n        if (alreadySentEvents.has(stringifiedEvent)) {\n            return;\n        }\n        const defaultTelemetryEventAttributes = hooks.triggerHook(1 /* HookNames.AssembleTelemetry */, {\n            startTime: clocksNow().relative,\n        });\n        if (defaultTelemetryEventAttributes === DISCARDED) {\n            return;\n        }\n        const event = toTelemetryEvent(defaultTelemetryEventAttributes, telemetryService, rawEvent, runtimeEnvInfo);\n        observable.notify(event);\n        sendToExtension('telemetry', event);\n        alreadySentEvents.add(stringifiedEvent);\n    });\n    telemetryObservable.unbuffer();\n    startMonitorErrorCollection(addTelemetryError);\n    return {\n        enabled: telemetryEnabled,\n        metricsEnabled: telemetryEnabledPerType['metric'],\n    };\n    function toTelemetryEvent(defaultTelemetryEventAttributes, telemetryService, rawEvent, runtimeEnvInfo) {\n        const clockNow = clocksNow();\n        const event = {\n            type: 'telemetry',\n            date: clockNow.timeStamp,\n            service: telemetryService,\n            version: \"6.31.0\",\n            source: 'browser',\n            _dd: {\n                format_version: 2,\n            },\n            telemetry: combine(rawEvent, {\n                runtime_env: runtimeEnvInfo,\n                connectivity: getConnectivity(),\n                sdk_setup: \"npm\",\n            }),\n            ddtags: buildTags(configuration).join(','),\n            experimental_features: Array.from(getExperimentalFeatures()),\n        };\n        return combine(event, defaultTelemetryEventAttributes);\n    }\n}\nexport function startTelemetryTransport(configuration, telemetryObservable) {\n    const cleanupTasks = [];\n    if (canUseEventBridge()) {\n        const bridge = getEventBridge();\n        const telemetrySubscription = telemetryObservable.subscribe((event) => bridge.send('internal_telemetry', event));\n        cleanupTasks.push(telemetrySubscription.unsubscribe);\n    }\n    else {\n        const endpoints = [configuration.rumEndpointBuilder];\n        if (configuration.replica && isTelemetryReplicationAllowed(configuration)) {\n            endpoints.push(configuration.replica.rumEndpointBuilder);\n        }\n        const telemetryBatch = createBatch({\n            encoder: createIdentityEncoder(),\n            request: createHttpRequest(endpoints, \n            // Ignore transport errors for telemetry\n            noop),\n            flushController: createFlushController({\n                pageMayExitObservable: createPageMayExitObservable(configuration),\n                // We don't use an actual session expire observable here, to make telemetry collection\n                // independent of the session. This allows to start and send telemetry events earlier.\n                sessionExpireObservable: new Observable(),\n            }),\n        });\n        cleanupTasks.push(telemetryBatch.stop);\n        const telemetrySubscription = telemetryObservable.subscribe(telemetryBatch.add);\n        cleanupTasks.push(telemetrySubscription.unsubscribe);\n    }\n    return {\n        stop: () => cleanupTasks.forEach((task) => task()),\n    };\n}\nfunction getRuntimeEnvInfo() {\n    var _a;\n    return {\n        is_local_file: ((_a = globalObject.location) === null || _a === void 0 ? void 0 : _a.protocol) === 'file:',\n        is_worker: isWorkerEnvironment,\n    };\n}\nexport function resetTelemetry() {\n    telemetryObservable = undefined;\n}\n/**\n * Avoid mixing telemetry events from different data centers\n * but keep replicating staging events for reliability\n */\nfunction isTelemetryReplicationAllowed(configuration) {\n    return configuration.site === INTAKE_SITE_STAGING;\n}\nexport function addTelemetryDebug(message, context) {\n    displayIfDebugEnabled(ConsoleApiName.debug, message, context);\n    getTelemetryObservable().notify({\n        rawEvent: {\n            type: TelemetryType.LOG,\n            message,\n            status: \"debug\" /* StatusType.debug */,\n            ...context,\n        },\n    });\n}\nexport function addTelemetryError(e, context) {\n    getTelemetryObservable().notify({\n        rawEvent: {\n            type: TelemetryType.LOG,\n            status: \"error\" /* StatusType.error */,\n            ...formatError(e),\n            ...context,\n        },\n    });\n}\nexport function addTelemetryConfiguration(configuration) {\n    getTelemetryObservable().notify({\n        rawEvent: {\n            type: TelemetryType.CONFIGURATION,\n            configuration,\n        },\n    });\n}\nexport function addTelemetryMetrics(metricName, context) {\n    getTelemetryObservable().notify({\n        rawEvent: {\n            type: TelemetryType.LOG,\n            message: metricName,\n            status: \"debug\" /* StatusType.debug */,\n            ...context,\n        },\n        metricName,\n    });\n}\nexport function addTelemetryUsage(usage) {\n    getTelemetryObservable().notify({\n        rawEvent: {\n            type: TelemetryType.USAGE,\n            usage,\n        },\n    });\n}\nexport function formatError(e) {\n    if (isError(e)) {\n        const stackTrace = computeStackTrace(e);\n        return {\n            error: {\n                kind: stackTrace.name,\n                stack: toStackTraceString(scrubCustomerFrames(stackTrace)),\n            },\n            message: stackTrace.message,\n        };\n    }\n    return {\n        error: {\n            stack: NO_ERROR_STACK_PRESENT_MESSAGE,\n        },\n        message: `${\"Uncaught\" /* NonErrorPrefix.UNCAUGHT */} ${jsonStringify(e)}`,\n    };\n}\nexport function scrubCustomerFrames(stackTrace) {\n    stackTrace.stack = stackTrace.stack.filter((frame) => !frame.url || ALLOWED_FRAME_URLS.some((allowedFrameUrl) => frame.url.startsWith(allowedFrameUrl)));\n    return stackTrace;\n}\n//# sourceMappingURL=telemetry.js.map","import { addTelemetryUsage } from '../telemetry';\nimport { monitor } from '../../tools/monitor';\nexport function defineContextMethod(getStrategy, contextName, methodName, usage) {\n    return monitor((...args) => {\n        if (usage) {\n            addTelemetryUsage({ feature: usage });\n        }\n        return getStrategy()[contextName][methodName](...args);\n    });\n}\nexport function bufferContextCalls(preStartContextManager, name, bufferApiCalls) {\n    preStartContextManager.changeObservable.subscribe(() => {\n        const context = preStartContextManager.getContext();\n        bufferApiCalls.add((startResult) => startResult[name].setContext(context));\n    });\n}\n//# sourceMappingURL=defineContextMethod.js.map","// Use a const instead of const enum to avoid inlining the enum values in the bundle and save bytes\nexport const CustomerContextKey = {\n    userContext: 'userContext',\n    globalContext: 'globalContext',\n    accountContext: 'accountContext',\n};\n// Use a const instead of const enum to avoid inlining the enum values in the bundle and save bytes\nexport const ContextManagerMethod = {\n    getContext: 'getContext',\n    setContext: 'setContext',\n    setContextProperty: 'setContextProperty',\n    removeContextProperty: 'removeContextProperty',\n    clearContext: 'clearContext',\n};\n//# sourceMappingURL=contextConstants.js.map","import { display } from '../tools/display';\nexport function displayAlreadyInitializedError(sdkName, initConfiguration) {\n    if (!initConfiguration.silentMultipleInit) {\n        display.error(`${sdkName} is already initialized.`);\n    }\n}\n//# sourceMappingURL=displayAlreadyInitializedError.js.map","import { deepClone } from '../../tools/mergeInto';\nimport { sanitize } from '../../tools/serialisation/sanitize';\nimport { Observable } from '../../tools/observable';\nimport { display } from '../../tools/display';\nimport { checkContext } from './contextUtils';\nfunction ensureProperties(context, propertiesConfig, name) {\n    const newContext = { ...context };\n    for (const [key, { required, type }] of Object.entries(propertiesConfig)) {\n        /**\n         * Ensure specified properties are strings as defined here:\n         * https://docs.datadoghq.com/logs/log_configuration/attributes_naming_convention/#user-related-attributes\n         */\n        if (type === 'string' && !isDefined(newContext[key])) {\n            /* eslint-disable @typescript-eslint/no-base-to-string */\n            newContext[key] = String(newContext[key]);\n        }\n        if (required && isDefined(newContext[key])) {\n            display.warn(`The property ${key} of ${name} is required; context will not be sent to the intake.`);\n        }\n    }\n    return newContext;\n}\nfunction isDefined(value) {\n    return value === undefined || value === null || value === '';\n}\nexport function createContextManager(name = '', { propertiesConfig = {}, } = {}) {\n    let context = {};\n    const changeObservable = new Observable();\n    const contextManager = {\n        getContext: () => deepClone(context),\n        setContext: (newContext) => {\n            if (checkContext(newContext)) {\n                context = sanitize(ensureProperties(newContext, propertiesConfig, name));\n            }\n            else {\n                contextManager.clearContext();\n            }\n            changeObservable.notify();\n        },\n        setContextProperty: (key, property) => {\n            context = sanitize(ensureProperties({ ...context, [key]: property }, propertiesConfig, name));\n            changeObservable.notify();\n        },\n        removeContextProperty: (key) => {\n            delete context[key];\n            ensureProperties(context, propertiesConfig, name);\n            changeObservable.notify();\n        },\n        clearContext: () => {\n            context = {};\n            changeObservable.notify();\n        },\n        changeObservable,\n    };\n    return contextManager;\n}\n//# sourceMappingURL=contextManager.js.map","import { display } from '../../tools/display';\nimport { getType } from '../../tools/utils/typeUtils';\n/**\n * Simple check to ensure an object is a valid context\n */\nexport function checkContext(maybeContext) {\n    const isValid = getType(maybeContext) === 'object';\n    if (!isValid) {\n        display.error('Unsupported context:', maybeContext);\n    }\n    return isValid;\n}\n//# sourceMappingURL=contextUtils.js.map","export function isAuthorized(status, handlerType, logger) {\n    const loggerHandler = logger.getHandler();\n    const sanitizedHandlerType = Array.isArray(loggerHandler) ? loggerHandler : [loggerHandler];\n    return STATUS_PRIORITIES[status] >= STATUS_PRIORITIES[logger.getLevel()] && sanitizedHandlerType.includes(handlerType);\n}\nexport const StatusType = {\n    ok: 'ok',\n    debug: 'debug',\n    info: 'info',\n    notice: 'notice',\n    warn: 'warn',\n    error: 'error',\n    critical: 'critical',\n    alert: 'alert',\n    emerg: 'emerg',\n};\nexport const STATUS_PRIORITIES = {\n    [StatusType.ok]: 0,\n    [StatusType.debug]: 1,\n    [StatusType.info]: 2,\n    [StatusType.notice]: 4,\n    [StatusType.warn]: 5,\n    [StatusType.error]: 6,\n    [StatusType.critical]: 7,\n    [StatusType.alert]: 8,\n    [StatusType.emerg]: 9,\n};\n//# sourceMappingURL=isAuthorized.js.map","export function createErrorFieldFromRawError(rawError, { \n/**\n * Set this to `true` to include the error message in the error field. In most cases, the error\n * message is already included in the log message, so we don't need to include it again.\n */\nincludeMessage = false, } = {}) {\n    return {\n        stack: rawError.stack,\n        kind: rawError.type,\n        message: includeMessage ? rawError.message : undefined,\n        causes: rawError.causes,\n        fingerprint: rawError.fingerprint,\n        handling: rawError.handling,\n    };\n}\n//# sourceMappingURL=createErrorFieldFromRawError.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { clocksNow, computeRawError, combine, createContextManager, ErrorSource, monitored, sanitize, createHandlingStack, buildTag, sanitizeTag, } from '@datadog/browser-core';\nimport { isAuthorized, StatusType } from './logger/isAuthorized';\nimport { createErrorFieldFromRawError } from './createErrorFieldFromRawError';\nexport const HandlerType = {\n    console: 'console',\n    http: 'http',\n    silent: 'silent',\n};\nexport const STATUSES = Object.keys(StatusType);\n// note: it is safe to merge declarations as long as the methods are actually defined on the prototype\n// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging, no-restricted-syntax\nexport class Logger {\n    constructor(handleLogStrategy, name, handlerType = HandlerType.http, level = StatusType.debug, loggerContext = {}) {\n        this.handleLogStrategy = handleLogStrategy;\n        this.handlerType = handlerType;\n        this.level = level;\n        this.contextManager = createContextManager('logger');\n        this.tags = [];\n        this.contextManager.setContext(loggerContext);\n        if (name) {\n            this.contextManager.setContextProperty('logger', { name });\n        }\n    }\n    logImplementation(message, messageContext, status = StatusType.info, error, handlingStack) {\n        const sanitizedMessageContext = sanitize(messageContext);\n        let context;\n        if (error !== undefined && error !== null) {\n            const rawError = computeRawError({\n                originalError: error,\n                nonErrorPrefix: \"Provided\" /* NonErrorPrefix.PROVIDED */,\n                source: ErrorSource.LOGGER,\n                handling: \"handled\" /* ErrorHandling.HANDLED */,\n                startClocks: clocksNow(),\n            });\n            context = combine({\n                error: createErrorFieldFromRawError(rawError, { includeMessage: true }),\n            }, rawError.context, sanitizedMessageContext);\n        }\n        else {\n            context = sanitizedMessageContext;\n        }\n        this.handleLogStrategy({\n            message: sanitize(message),\n            context,\n            status,\n        }, this, handlingStack);\n    }\n    log(message, messageContext, status = StatusType.info, error) {\n        let handlingStack;\n        if (isAuthorized(status, HandlerType.http, this)) {\n            handlingStack = createHandlingStack('log');\n        }\n        this.logImplementation(message, messageContext, status, error, handlingStack);\n    }\n    setContext(context) {\n        this.contextManager.setContext(context);\n    }\n    getContext() {\n        return this.contextManager.getContext();\n    }\n    setContextProperty(key, value) {\n        this.contextManager.setContextProperty(key, value);\n    }\n    removeContextProperty(key) {\n        this.contextManager.removeContextProperty(key);\n    }\n    clearContext() {\n        this.contextManager.clearContext();\n    }\n    addTag(key, value) {\n        this.tags.push(buildTag(key, value));\n    }\n    removeTagsWithKey(key) {\n        const sanitizedKey = sanitizeTag(key);\n        this.tags = this.tags.filter((tag) => tag !== sanitizedKey && !tag.startsWith(`${sanitizedKey}:`));\n    }\n    getTags() {\n        return this.tags.slice();\n    }\n    setHandler(handler) {\n        this.handlerType = handler;\n    }\n    getHandler() {\n        return this.handlerType;\n    }\n    setLevel(level) {\n        this.level = level;\n    }\n    getLevel() {\n        return this.level;\n    }\n}\n__decorate([\n    monitored\n], Logger.prototype, \"logImplementation\", null);\n/* eslint-disable local-rules/disallow-side-effects */\nLogger.prototype.ok = createLoggerMethod(StatusType.ok);\nLogger.prototype.debug = createLoggerMethod(StatusType.debug);\nLogger.prototype.info = createLoggerMethod(StatusType.info);\nLogger.prototype.notice = createLoggerMethod(StatusType.notice);\nLogger.prototype.warn = createLoggerMethod(StatusType.warn);\nLogger.prototype.error = createLoggerMethod(StatusType.error);\nLogger.prototype.critical = createLoggerMethod(StatusType.critical);\nLogger.prototype.alert = createLoggerMethod(StatusType.alert);\nLogger.prototype.emerg = createLoggerMethod(StatusType.emerg);\nfunction createLoggerMethod(status) {\n    return function (message, messageContext, error) {\n        let handlingStack;\n        if (isAuthorized(status, HandlerType.http, this)) {\n            handlingStack = createHandlingStack('log');\n        }\n        this.logImplementation(message, messageContext, status, error, handlingStack);\n    };\n}\n//# sourceMappingURL=logger.js.map","import { isWorkerEnvironment } from '@datadog/browser-core';\nexport function buildCommonContext() {\n    if (isWorkerEnvironment) {\n        return {};\n    }\n    return {\n        view: {\n            referrer: document.referrer,\n            url: window.location.href,\n        },\n    };\n}\n//# sourceMappingURL=commonContext.js.map","/**\n * UUID v4\n * from https://gist.github.com/jed/982883\n */\nexport function generateUUID(placeholder) {\n    return placeholder\n        ? // eslint-disable-next-line  no-bitwise\n            (parseInt(placeholder, 10) ^ ((Math.random() * 16) >> (parseInt(placeholder, 10) / 4))).toString(16)\n        : `${1e7}-${1e3}-${4e3}-${8e3}-${1e11}`.replace(/[018]/g, generateUUID);\n}\n// Assuming input string is following the HTTP Cookie format defined in\n// https://www.ietf.org/rfc/rfc2616.txt and https://www.ietf.org/rfc/rfc6265.txt, we don't need to\n// be too strict with this regex.\nconst COMMA_SEPARATED_KEY_VALUE = /(\\S+?)\\s*=\\s*(.+?)(?:;|$)/g;\n/**\n * Returns the value of the key with the given name\n * If there are multiple values with the same key, returns the first one\n */\nexport function findCommaSeparatedValue(rawString, name) {\n    COMMA_SEPARATED_KEY_VALUE.lastIndex = 0;\n    while (true) {\n        const match = COMMA_SEPARATED_KEY_VALUE.exec(rawString);\n        if (match) {\n            if (match[1] === name) {\n                return match[2];\n            }\n        }\n        else {\n            break;\n        }\n    }\n}\n/**\n * Returns a map of all the values with the given key\n * If there are multiple values with the same key, returns all the values\n */\nexport function findAllCommaSeparatedValues(rawString) {\n    const result = new Map();\n    COMMA_SEPARATED_KEY_VALUE.lastIndex = 0;\n    while (true) {\n        const match = COMMA_SEPARATED_KEY_VALUE.exec(rawString);\n        if (match) {\n            const key = match[1];\n            const value = match[2];\n            if (result.has(key)) {\n                result.get(key).push(value);\n            }\n            else {\n                result.set(key, [value]);\n            }\n        }\n        else {\n            break;\n        }\n    }\n    return result;\n}\n/**\n * Returns a map of the values with the given key\n * ⚠️ If there are multiple values with the same key, returns the LAST one\n *\n * @deprecated use `findAllCommaSeparatedValues()` instead\n */\nexport function findCommaSeparatedValues(rawString) {\n    const result = new Map();\n    COMMA_SEPARATED_KEY_VALUE.lastIndex = 0;\n    while (true) {\n        const match = COMMA_SEPARATED_KEY_VALUE.exec(rawString);\n        if (match) {\n            result.set(match[1], match[2]);\n        }\n        else {\n            break;\n        }\n    }\n    return result;\n}\nexport function safeTruncate(candidate, length, suffix = '') {\n    const lastChar = candidate.charCodeAt(length - 1);\n    const isLastCharSurrogatePair = lastChar >= 0xd800 && lastChar <= 0xdbff;\n    const correctedLength = isLastCharSurrogatePair ? length + 1 : length;\n    if (candidate.length <= correctedLength) {\n        return candidate;\n    }\n    return `${candidate.slice(0, correctedLength)}${suffix}`;\n}\n//# sourceMappingURL=stringUtils.js.map","import { globalObject } from '../globalObject';\nexport function normalizeUrl(url) {\n    return buildUrl(url, location.href).href;\n}\nexport function isValidUrl(url) {\n    try {\n        return !!buildUrl(url);\n    }\n    catch (_a) {\n        return false;\n    }\n}\nexport function getPathName(url) {\n    const pathname = buildUrl(url).pathname;\n    return pathname[0] === '/' ? pathname : `/${pathname}`;\n}\nexport function buildUrl(url, base) {\n    const { URL } = getPristineWindow();\n    try {\n        return base !== undefined ? new URL(url, base) : new URL(url);\n    }\n    catch (error) {\n        throw new Error(`Failed to construct URL: ${String(error)}`);\n    }\n}\n/**\n * Get native URL constructor from a clean iframe\n * This avoids polyfill issues by getting the native implementation from a fresh iframe context\n * Falls back to the original URL constructor if iframe approach fails\n */\nlet getPristineGlobalObjectCache;\nexport function getPristineWindow() {\n    if (!getPristineGlobalObjectCache) {\n        let iframe;\n        let pristineWindow;\n        try {\n            iframe = document.createElement('iframe');\n            iframe.style.display = 'none';\n            document.body.appendChild(iframe);\n            pristineWindow = iframe.contentWindow;\n        }\n        catch (_a) {\n            pristineWindow = globalObject;\n        }\n        getPristineGlobalObjectCache = {\n            URL: pristineWindow.URL,\n        };\n        iframe === null || iframe === void 0 ? void 0 : iframe.remove();\n    }\n    return getPristineGlobalObjectCache;\n}\n//# sourceMappingURL=urlPolyfill.js.map","import { display } from '../tools/display';\nimport { ONE_MINUTE, ONE_SECOND } from '../tools/utils/timeUtils';\nimport { findAllCommaSeparatedValues, findCommaSeparatedValue, findCommaSeparatedValues, generateUUID, } from '../tools/utils/stringUtils';\nimport { buildUrl } from '../tools/utils/urlPolyfill';\nexport function setCookie(name, value, expireDelay = 0, options) {\n    const date = new Date();\n    date.setTime(date.getTime() + expireDelay);\n    const expires = `expires=${date.toUTCString()}`;\n    const sameSite = options && options.crossSite ? 'none' : 'strict';\n    const domain = options && options.domain ? `;domain=${options.domain}` : '';\n    const secure = options && options.secure ? ';secure' : '';\n    const partitioned = options && options.partitioned ? ';partitioned' : '';\n    document.cookie = `${name}=${value};${expires};path=/;samesite=${sameSite}${domain}${secure}${partitioned}`;\n}\n/**\n * Returns the value of the cookie with the given name\n * If there are multiple cookies with the same name, returns the first one\n */\nexport function getCookie(name) {\n    return findCommaSeparatedValue(document.cookie, name);\n}\n/**\n * Returns all the values of the cookies with the given name\n */\nexport function getCookies(name) {\n    return findAllCommaSeparatedValues(document.cookie).get(name) || [];\n}\nlet initCookieParsed;\n/**\n * Returns a cached value of the cookie. Use this during SDK initialization (and whenever possible)\n * to avoid accessing document.cookie multiple times.\n *\n * ⚠️ If there are multiple cookies with the same name, returns the LAST one (unlike `getCookie()`)\n */\nexport function getInitCookie(name) {\n    if (!initCookieParsed) {\n        initCookieParsed = findCommaSeparatedValues(document.cookie);\n    }\n    return initCookieParsed.get(name);\n}\nexport function resetInitCookies() {\n    initCookieParsed = undefined;\n}\nexport function deleteCookie(name, options) {\n    setCookie(name, '', 0, options);\n}\nexport function areCookiesAuthorized(options) {\n    if (document.cookie === undefined || document.cookie === null) {\n        return false;\n    }\n    try {\n        // Use a unique cookie name to avoid issues when the SDK is initialized multiple times during\n        // the test cookie lifetime\n        const testCookieName = `dd_cookie_test_${generateUUID()}`;\n        const testCookieValue = 'test';\n        setCookie(testCookieName, testCookieValue, ONE_MINUTE, options);\n        const isCookieCorrectlySet = getCookie(testCookieName) === testCookieValue;\n        deleteCookie(testCookieName, options);\n        return isCookieCorrectlySet;\n    }\n    catch (error) {\n        display.error(error);\n        return false;\n    }\n}\n/**\n * No API to retrieve it, number of levels for subdomain and suffix are unknown\n * strategy: find the minimal domain on which cookies are allowed to be set\n * https://web.dev/same-site-same-origin/#site\n */\nlet getCurrentSiteCache;\nexport function getCurrentSite(hostname = location.hostname, referrer = document.referrer) {\n    if (getCurrentSiteCache === undefined) {\n        const defaultHostName = getCookieDefaultHostName(hostname, referrer);\n        if (defaultHostName) {\n            // Use a unique cookie name to avoid issues when the SDK is initialized multiple times during\n            // the test cookie lifetime\n            const testCookieName = `dd_site_test_${generateUUID()}`;\n            const testCookieValue = 'test';\n            const domainLevels = defaultHostName.split('.');\n            let candidateDomain = domainLevels.pop();\n            while (domainLevels.length && !getCookie(testCookieName)) {\n                candidateDomain = `${domainLevels.pop()}.${candidateDomain}`;\n                setCookie(testCookieName, testCookieValue, ONE_SECOND, { domain: candidateDomain });\n            }\n            deleteCookie(testCookieName, { domain: candidateDomain });\n            getCurrentSiteCache = candidateDomain;\n        }\n    }\n    return getCurrentSiteCache;\n}\nfunction getCookieDefaultHostName(hostname, referrer) {\n    try {\n        return hostname || buildUrl(referrer).hostname;\n    }\n    catch (_a) {\n        // Ignore\n    }\n}\nexport function resetGetCurrentSite() {\n    getCurrentSiteCache = undefined;\n}\n//# sourceMappingURL=cookie.js.map","import { getInitCookie } from '../../browser/cookie';\nimport { globalObject, isWorkerEnvironment } from '../../tools/globalObject';\nimport { tryJsonParse } from '../../tools/utils/objectUtils';\nconst cookieNamePrefix = 'datadog-synthetics-';\nexport const SYNTHETICS_TEST_ID_COOKIE_NAME = `${cookieNamePrefix}public-id`;\nexport const SYNTHETICS_RESULT_ID_COOKIE_NAME = `${cookieNamePrefix}result-id`;\nexport const SYNTHETICS_INJECTS_RUM_COOKIE_NAME = `${cookieNamePrefix}injects-rum`;\nexport const SYNTHETICS_CONTEXT_COOKIE_NAME = `${cookieNamePrefix}rum-context`;\nexport function willSyntheticsInjectRum() {\n    if (isWorkerEnvironment) {\n        // We don't expect to run synthetics tests in a worker environment\n        return false;\n    }\n    return Boolean(globalObject._DATADOG_SYNTHETICS_INJECTS_RUM || getInitCookie(SYNTHETICS_INJECTS_RUM_COOKIE_NAME));\n}\nexport function getSyntheticsContext() {\n    const raw = getRawSyntheticsContext();\n    return isValidSyntheticsContext(raw) ? raw : undefined;\n}\nexport function isSyntheticsTest() {\n    return Boolean(getSyntheticsContext());\n}\nfunction getRawSyntheticsContext() {\n    const rawGlobal = globalObject._DATADOG_SYNTHETICS_RUM_CONTEXT;\n    if (rawGlobal) {\n        return rawGlobal;\n    }\n    const rawCookie = getInitCookie(SYNTHETICS_CONTEXT_COOKIE_NAME);\n    if (rawCookie) {\n        return tryJsonParse(decodeURIComponent(rawCookie));\n    }\n    return {\n        test_id: window._DATADOG_SYNTHETICS_PUBLIC_ID || getInitCookie(SYNTHETICS_TEST_ID_COOKIE_NAME),\n        result_id: window._DATADOG_SYNTHETICS_RESULT_ID || getInitCookie(SYNTHETICS_RESULT_ID_COOKIE_NAME),\n    };\n}\nfunction isValidSyntheticsContext(value) {\n    return (typeof value === 'object' &&\n        value !== null &&\n        typeof value.test_id === 'string' &&\n        typeof value.result_id === 'string');\n}\n//# sourceMappingURL=syntheticsWorkerValues.js.map","import { addEventListener } from '../../browser/addEventListener';\nimport { combine } from '../../tools/mergeInto';\nimport { isEmptyObject } from '../../tools/utils/objectUtils';\nconst CONTEXT_STORE_KEY_PREFIX = '_dd_c';\nconst storageListeners = [];\nexport function storeContextManager(configuration, contextManager, productKey, customerDataType) {\n    const storageKey = buildStorageKey(productKey, customerDataType);\n    storageListeners.push(addEventListener(configuration, window, \"storage\" /* DOM_EVENT.STORAGE */, ({ key }) => {\n        if (storageKey === key) {\n            synchronizeWithStorage();\n        }\n    }));\n    contextManager.changeObservable.subscribe(dumpToStorage);\n    const contextFromStorage = combine(getFromStorage(), contextManager.getContext());\n    if (!isEmptyObject(contextFromStorage)) {\n        contextManager.setContext(contextFromStorage);\n    }\n    function synchronizeWithStorage() {\n        contextManager.setContext(getFromStorage());\n    }\n    function dumpToStorage() {\n        localStorage.setItem(storageKey, JSON.stringify(contextManager.getContext()));\n    }\n    function getFromStorage() {\n        const rawContext = localStorage.getItem(storageKey);\n        return rawContext ? JSON.parse(rawContext) : {};\n    }\n}\nexport function buildStorageKey(productKey, customerDataType) {\n    return `${CONTEXT_STORE_KEY_PREFIX}_${productKey}_${customerDataType}`;\n}\nexport function removeStorageListeners() {\n    storageListeners.map((listener) => listener.stop());\n}\n//# sourceMappingURL=storeContextManager.js.map","import { storeContextManager } from '../context/storeContextManager';\nimport { SKIPPED } from '../../tools/abstractHooks';\nimport { isEmptyObject } from '../../tools/utils/objectUtils';\nimport { createContextManager } from '../context/contextManager';\nexport function startAccountContext(hooks, configuration, productKey) {\n    const accountContextManager = buildAccountContextManager();\n    if (configuration.storeContextsAcrossPages) {\n        storeContextManager(configuration, accountContextManager, productKey, 4 /* CustomerDataType.Account */);\n    }\n    hooks.register(0 /* HookNames.Assemble */, () => {\n        const account = accountContextManager.getContext();\n        if (isEmptyObject(account) || !account.id) {\n            return SKIPPED;\n        }\n        return {\n            account,\n        };\n    });\n    return accountContextManager;\n}\nexport function buildAccountContextManager() {\n    return createContextManager('account', {\n        propertiesConfig: {\n            id: { type: 'string', required: true },\n            name: { type: 'string' },\n        },\n    });\n}\n//# sourceMappingURL=accountContext.js.map","import { storeContextManager } from '../context/storeContextManager';\nimport { SKIPPED } from '../../tools/abstractHooks';\nimport { createContextManager } from '../context/contextManager';\nimport { isEmptyObject } from '../../tools/utils/objectUtils';\nexport function startUserContext(hooks, configuration, sessionManager, productKey) {\n    const userContextManager = buildUserContextManager();\n    if (configuration.storeContextsAcrossPages) {\n        storeContextManager(configuration, userContextManager, productKey, 1 /* CustomerDataType.User */);\n    }\n    hooks.register(0 /* HookNames.Assemble */, ({ eventType, startTime }) => {\n        const user = userContextManager.getContext();\n        const session = sessionManager.findTrackedSession(startTime);\n        if (session && session.anonymousId && !user.anonymous_id && !!configuration.trackAnonymousUser) {\n            user.anonymous_id = session.anonymousId;\n        }\n        if (isEmptyObject(user)) {\n            return SKIPPED;\n        }\n        return {\n            type: eventType,\n            usr: user,\n        };\n    });\n    hooks.register(1 /* HookNames.AssembleTelemetry */, ({ startTime }) => {\n        var _a;\n        return ({\n            anonymous_id: (_a = sessionManager.findTrackedSession(startTime)) === null || _a === void 0 ? void 0 : _a.anonymousId,\n        });\n    });\n    return userContextManager;\n}\nexport function buildUserContextManager() {\n    return createContextManager('user', {\n        propertiesConfig: {\n            id: { type: 'string' },\n            name: { type: 'string' },\n            email: { type: 'string' },\n        },\n    });\n}\n//# sourceMappingURL=userContext.js.map","import { storeContextManager } from '../context/storeContextManager';\nimport { createContextManager } from '../context/contextManager';\nexport function startGlobalContext(hooks, configuration, productKey, useContextNamespace) {\n    const globalContextManager = buildGlobalContextManager();\n    if (configuration.storeContextsAcrossPages) {\n        storeContextManager(configuration, globalContextManager, productKey, 2 /* CustomerDataType.GlobalContext */);\n    }\n    hooks.register(0 /* HookNames.Assemble */, () => {\n        const context = globalContextManager.getContext();\n        return useContextNamespace ? { context } : context;\n    });\n    return globalContextManager;\n}\nexport function buildGlobalContextManager() {\n    return createContextManager('global context');\n}\n//# sourceMappingURL=globalContext.js.map","export function removeDuplicates(array) {\n    const set = new Set();\n    array.forEach((item) => set.add(item));\n    return Array.from(set);\n}\nexport function removeItem(array, item) {\n    const index = array.indexOf(item);\n    if (index >= 0) {\n        array.splice(index, 1);\n    }\n}\nexport function isNonEmptyArray(value) {\n    return Array.isArray(value) && value.length > 0;\n}\n//# sourceMappingURL=arrayUtils.js.map","import { setInterval, clearInterval } from './timer';\nimport { removeItem } from './utils/arrayUtils';\nimport { addDuration, relativeNow, ONE_MINUTE } from './utils/timeUtils';\nconst END_OF_TIMES = Infinity;\nexport const CLEAR_OLD_VALUES_INTERVAL = ONE_MINUTE;\nlet cleanupHistoriesInterval;\nconst cleanupTasks = new Set();\nfunction cleanupHistories() {\n    cleanupTasks.forEach((task) => task());\n}\nexport function createValueHistory({ expireDelay, maxEntries, }) {\n    let entries = [];\n    if (!cleanupHistoriesInterval) {\n        cleanupHistoriesInterval = setInterval(() => cleanupHistories(), CLEAR_OLD_VALUES_INTERVAL);\n    }\n    const clearExpiredValues = () => {\n        const oldTimeThreshold = relativeNow() - expireDelay;\n        while (entries.length > 0 && entries[entries.length - 1].endTime < oldTimeThreshold) {\n            entries.pop();\n        }\n    };\n    cleanupTasks.add(clearExpiredValues);\n    /**\n     * Add a value to the history associated with a start time. Returns a reference to this newly\n     * added entry that can be removed or closed.\n     */\n    function add(value, startTime) {\n        const entry = {\n            value,\n            startTime,\n            endTime: END_OF_TIMES,\n            remove: () => {\n                removeItem(entries, entry);\n            },\n            close: (endTime) => {\n                entry.endTime = endTime;\n            },\n        };\n        if (maxEntries && entries.length >= maxEntries) {\n            entries.pop();\n        }\n        entries.unshift(entry);\n        return entry;\n    }\n    /**\n     * Return the latest value that was active during `startTime`, or the currently active value\n     * if no `startTime` is provided. This method assumes that entries are not overlapping.\n     *\n     * If `option.returnInactive` is true, returns the value at `startTime` (active or not).\n     */\n    function find(startTime = END_OF_TIMES, options = { returnInactive: false }) {\n        for (const entry of entries) {\n            if (entry.startTime <= startTime) {\n                if (options.returnInactive || startTime <= entry.endTime) {\n                    return entry.value;\n                }\n                break;\n            }\n        }\n    }\n    /**\n     * Helper function to close the currently active value, if any. This method assumes that entries\n     * are not overlapping.\n     */\n    function closeActive(endTime) {\n        const latestEntry = entries[0];\n        if (latestEntry && latestEntry.endTime === END_OF_TIMES) {\n            latestEntry.close(endTime);\n        }\n    }\n    /**\n     * Return all values with an active period overlapping with the duration,\n     * or all values that were active during `startTime` if no duration is provided,\n     * or all currently active values if no `startTime` is provided.\n     */\n    function findAll(startTime = END_OF_TIMES, duration = 0) {\n        const endTime = addDuration(startTime, duration);\n        return entries\n            .filter((entry) => entry.startTime <= endTime && startTime <= entry.endTime)\n            .map((entry) => entry.value);\n    }\n    /**\n     * Return all the entries whose start time is equal to the given startTime.\n     */\n    function getEntries(startTime) {\n        return entries.filter((entry) => entry.startTime === startTime);\n    }\n    /**\n     * Remove all entries from this collection.\n     */\n    function reset() {\n        entries = [];\n    }\n    /**\n     * Stop internal garbage collection of past entries.\n     */\n    function stop() {\n        cleanupTasks.delete(clearExpiredValues);\n        if (cleanupTasks.size === 0 && cleanupHistoriesInterval) {\n            clearInterval(cleanupHistoriesInterval);\n            cleanupHistoriesInterval = undefined;\n        }\n    }\n    return { add, find, closeActive, findAll, getEntries, reset, stop };\n}\n/**\n * Reset all global state. This is useful for testing to ensure clean state between tests.\n *\n * @internal\n */\nexport function resetValueHistoryGlobals() {\n    cleanupTasks.clear();\n    clearInterval(cleanupHistoriesInterval);\n    cleanupHistoriesInterval = undefined;\n}\n//# sourceMappingURL=valueHistory.js.map","import { ONE_HOUR, ONE_MINUTE, ONE_YEAR } from '../../tools/utils/timeUtils';\nexport const SESSION_TIME_OUT_DELAY = 4 * ONE_HOUR;\nexport const SESSION_EXPIRATION_DELAY = 15 * ONE_MINUTE;\nexport const SESSION_COOKIE_EXPIRATION_DELAY = ONE_YEAR;\nexport const SESSION_NOT_TRACKED = '0';\n/**\n * @internal\n */\nexport const SessionPersistence = {\n    COOKIE: 'cookie',\n    MEMORY: 'memory',\n    LOCAL_STORAGE: 'local-storage',\n};\n//# sourceMappingURL=sessionConstants.js.map","export function isChromium() {\n    return detectBrowserCached() === 0 /* Browser.CHROMIUM */;\n}\nexport function isSafari() {\n    return detectBrowserCached() === 1 /* Browser.SAFARI */;\n}\nlet browserCache;\nfunction detectBrowserCached() {\n    return browserCache !== null && browserCache !== void 0 ? browserCache : (browserCache = detectBrowser());\n}\n// Exported only for tests\nexport function detectBrowser(browserWindow = window) {\n    var _a;\n    const userAgent = browserWindow.navigator.userAgent;\n    if (browserWindow.chrome || /HeadlessChrome/.test(userAgent)) {\n        return 0 /* Browser.CHROMIUM */;\n    }\n    if (\n    // navigator.vendor is deprecated, but it is the most resilient way we found to detect\n    // \"Apple maintained browsers\" (AKA Safari). If one day it gets removed, we still have the\n    // useragent test as a semi-working fallback.\n    ((_a = browserWindow.navigator.vendor) === null || _a === void 0 ? void 0 : _a.indexOf('Apple')) === 0 ||\n        (/safari/i.test(userAgent) && !/chrome|android/i.test(userAgent))) {\n        return 1 /* Browser.SAFARI */;\n    }\n    return 2 /* Browser.OTHER */;\n}\n//# sourceMappingURL=browserDetection.js.map","export const SESSION_STORE_KEY = '_dd_s';\n//# sourceMappingURL=sessionStoreStrategy.js.map","export const SESSION_ENTRY_REGEXP = /^([a-zA-Z]+)=([a-z0-9-]+)$/;\nexport const SESSION_ENTRY_SEPARATOR = '&';\nexport function isValidSessionString(sessionString) {\n    return (!!sessionString &&\n        (sessionString.indexOf(SESSION_ENTRY_SEPARATOR) !== -1 || SESSION_ENTRY_REGEXP.test(sessionString)));\n}\n//# sourceMappingURL=sessionStateValidation.js.map","import { isEmptyObject } from '../../tools/utils/objectUtils';\nimport { objectEntries } from '../../tools/utils/polyfills';\nimport { dateNow } from '../../tools/utils/timeUtils';\nimport { SESSION_EXPIRATION_DELAY, SESSION_TIME_OUT_DELAY } from './sessionConstants';\nimport { isValidSessionString, SESSION_ENTRY_REGEXP, SESSION_ENTRY_SEPARATOR } from './sessionStateValidation';\nexport const EXPIRED = '1';\nexport function getExpiredSessionState(previousSessionState, configuration) {\n    const expiredSessionState = {\n        isExpired: EXPIRED,\n    };\n    if (configuration.trackAnonymousUser && (previousSessionState === null || previousSessionState === void 0 ? void 0 : previousSessionState.anonymousId)) {\n        expiredSessionState.anonymousId = previousSessionState === null || previousSessionState === void 0 ? void 0 : previousSessionState.anonymousId;\n    }\n    return expiredSessionState;\n}\nexport function isSessionInNotStartedState(session) {\n    return isEmptyObject(session);\n}\nexport function isSessionStarted(session) {\n    return !isSessionInNotStartedState(session);\n}\nexport function isSessionInExpiredState(session) {\n    return session.isExpired !== undefined || !isActiveSession(session);\n}\n// An active session is a session in either `Tracked` or `NotTracked` state\nfunction isActiveSession(sessionState) {\n    // created and expire can be undefined for versions which was not storing them\n    // these checks could be removed when older versions will not be available/live anymore\n    return ((sessionState.created === undefined || dateNow() - Number(sessionState.created) < SESSION_TIME_OUT_DELAY) &&\n        (sessionState.expire === undefined || dateNow() < Number(sessionState.expire)));\n}\nexport function expandSessionState(session) {\n    session.expire = String(dateNow() + SESSION_EXPIRATION_DELAY);\n}\nexport function toSessionString(session) {\n    return (objectEntries(session)\n        // we use `aid` as a key for anonymousId\n        .map(([key, value]) => (key === 'anonymousId' ? `aid=${value}` : `${key}=${value}`))\n        .join(SESSION_ENTRY_SEPARATOR));\n}\nexport function toSessionState(sessionString) {\n    const session = {};\n    if (isValidSessionString(sessionString)) {\n        sessionString.split(SESSION_ENTRY_SEPARATOR).forEach((entry) => {\n            const matches = SESSION_ENTRY_REGEXP.exec(entry);\n            if (matches !== null) {\n                const [, key, value] = matches;\n                if (key === 'aid') {\n                    // we use `aid` as a key for anonymousId\n                    session.anonymousId = value;\n                }\n                else {\n                    session[key] = value;\n                }\n            }\n        });\n    }\n    return session;\n}\n//# sourceMappingURL=sessionState.js.map","import { isEmptyObject } from '../../../tools/utils/objectUtils';\nimport { isChromium } from '../../../tools/utils/browserDetection';\nimport { getCurrentSite, areCookiesAuthorized, getCookies, setCookie, getCookie } from '../../../browser/cookie';\nimport { tryOldCookiesMigration } from '../oldCookiesMigration';\nimport { SESSION_COOKIE_EXPIRATION_DELAY, SESSION_EXPIRATION_DELAY, SESSION_TIME_OUT_DELAY, SessionPersistence, } from '../sessionConstants';\nimport { toSessionString, toSessionState, getExpiredSessionState } from '../sessionState';\nimport { SESSION_STORE_KEY } from './sessionStoreStrategy';\nconst SESSION_COOKIE_VERSION = 0;\nexport function selectCookieStrategy(initConfiguration) {\n    const cookieOptions = buildCookieOptions(initConfiguration);\n    return cookieOptions && areCookiesAuthorized(cookieOptions)\n        ? { type: SessionPersistence.COOKIE, cookieOptions }\n        : undefined;\n}\nexport function initCookieStrategy(configuration, cookieOptions) {\n    const cookieStore = {\n        /**\n         * Lock strategy allows mitigating issues due to concurrent access to cookie.\n         * This issue concerns only chromium browsers and enabling this on firefox increases cookie write failures.\n         */\n        isLockEnabled: isChromium(),\n        persistSession: (sessionState) => storeSessionCookie(cookieOptions, configuration, sessionState, SESSION_EXPIRATION_DELAY),\n        retrieveSession: () => retrieveSessionCookie(cookieOptions, configuration),\n        expireSession: (sessionState) => storeSessionCookie(cookieOptions, configuration, getExpiredSessionState(sessionState, configuration), SESSION_TIME_OUT_DELAY),\n    };\n    tryOldCookiesMigration(cookieStore);\n    return cookieStore;\n}\nfunction storeSessionCookie(options, configuration, sessionState, defaultTimeout) {\n    let sessionStateString = toSessionString(sessionState);\n    if (configuration.betaEncodeCookieOptions) {\n        sessionStateString = toSessionString({\n            ...sessionState,\n            // deleting a cookie is writing a new cookie with an empty value\n            // we don't want to store the cookie options in this case otherwise the cookie will not be deleted\n            ...(!isEmptyObject(sessionState) ? { c: encodeCookieOptions(options) } : {}),\n        });\n    }\n    setCookie(SESSION_STORE_KEY, sessionStateString, configuration.trackAnonymousUser ? SESSION_COOKIE_EXPIRATION_DELAY : defaultTimeout, options);\n}\n/**\n * Retrieve the session state from the cookie that was set with the same cookie options\n * If there is no match, return the first cookie, because that's how `getCookie()` works\n */\nexport function retrieveSessionCookie(cookieOptions, configuration) {\n    if (configuration.betaEncodeCookieOptions) {\n        return retrieveSessionCookieFromEncodedCookie(cookieOptions);\n    }\n    const sessionString = getCookie(SESSION_STORE_KEY);\n    const sessionState = toSessionState(sessionString);\n    return sessionState;\n}\nexport function buildCookieOptions(initConfiguration) {\n    const cookieOptions = {};\n    cookieOptions.secure =\n        !!initConfiguration.useSecureSessionCookie || !!initConfiguration.usePartitionedCrossSiteSessionCookie;\n    cookieOptions.crossSite = !!initConfiguration.usePartitionedCrossSiteSessionCookie;\n    cookieOptions.partitioned = !!initConfiguration.usePartitionedCrossSiteSessionCookie;\n    if (initConfiguration.trackSessionAcrossSubdomains) {\n        const currentSite = getCurrentSite();\n        if (!currentSite) {\n            return;\n        }\n        cookieOptions.domain = currentSite;\n    }\n    return cookieOptions;\n}\nfunction encodeCookieOptions(cookieOptions) {\n    const domainCount = cookieOptions.domain ? cookieOptions.domain.split('.').length - 1 : 0;\n    /* eslint-disable no-bitwise */\n    let byte = 0;\n    byte |= SESSION_COOKIE_VERSION << 5; // Store version in upper 3 bits\n    byte |= domainCount << 1; // Store domain count in next 4 bits\n    byte |= cookieOptions.crossSite ? 1 : 0; // Store useCrossSiteScripting in next bit\n    /* eslint-enable no-bitwise */\n    return byte.toString(16); // Convert to hex string\n}\n/**\n * Retrieve the session state from the cookie that was set with the same cookie options.\n * If there is no match, fallback to the first cookie, (because that's how `getCookie()` works)\n * and this allows to keep the current session id when we release this feature.\n */\nfunction retrieveSessionCookieFromEncodedCookie(cookieOptions) {\n    const cookies = getCookies(SESSION_STORE_KEY);\n    const opts = encodeCookieOptions(cookieOptions);\n    let sessionState;\n    // reverse the cookies so that if there is no match, the cookie returned is the first one\n    for (const cookie of cookies.reverse()) {\n        sessionState = toSessionState(cookie);\n        if (sessionState.c === opts) {\n            break;\n        }\n    }\n    // remove the cookie options from the session state as this is not part of the session state\n    sessionState === null || sessionState === void 0 ? true : delete sessionState.c;\n    return sessionState !== null && sessionState !== void 0 ? sessionState : {};\n}\n//# sourceMappingURL=sessionInCookie.js.map","import { generateUUID } from '../../../tools/utils/stringUtils';\nimport { SessionPersistence } from '../sessionConstants';\nimport { toSessionString, toSessionState, getExpiredSessionState } from '../sessionState';\nimport { SESSION_STORE_KEY } from './sessionStoreStrategy';\nconst LOCAL_STORAGE_TEST_KEY = '_dd_test_';\nexport function selectLocalStorageStrategy() {\n    try {\n        const id = generateUUID();\n        const testKey = `${LOCAL_STORAGE_TEST_KEY}${id}`;\n        localStorage.setItem(testKey, id);\n        const retrievedId = localStorage.getItem(testKey);\n        localStorage.removeItem(testKey);\n        return id === retrievedId ? { type: SessionPersistence.LOCAL_STORAGE } : undefined;\n    }\n    catch (_a) {\n        return undefined;\n    }\n}\nexport function initLocalStorageStrategy(configuration) {\n    return {\n        isLockEnabled: false,\n        persistSession: persistInLocalStorage,\n        retrieveSession: retrieveSessionFromLocalStorage,\n        expireSession: (sessionState) => expireSessionFromLocalStorage(sessionState, configuration),\n    };\n}\nfunction persistInLocalStorage(sessionState) {\n    localStorage.setItem(SESSION_STORE_KEY, toSessionString(sessionState));\n}\nexport function retrieveSessionFromLocalStorage() {\n    const sessionString = localStorage.getItem(SESSION_STORE_KEY);\n    return toSessionState(sessionString);\n}\nfunction expireSessionFromLocalStorage(previousSessionState, configuration) {\n    persistInLocalStorage(getExpiredSessionState(previousSessionState, configuration));\n}\n//# sourceMappingURL=sessionInLocalStorage.js.map","import { setTimeout } from '../../tools/timer';\nimport { generateUUID } from '../../tools/utils/stringUtils';\nimport { elapsed, ONE_SECOND, timeStampNow } from '../../tools/utils/timeUtils';\nimport { expandSessionState, isSessionInExpiredState } from './sessionState';\nexport const LOCK_RETRY_DELAY = 10;\nexport const LOCK_MAX_TRIES = 100;\n// Locks should be hold for a few milliseconds top, just the time it takes to read and write a\n// cookie. Using one second should be enough in most situations.\nexport const LOCK_EXPIRATION_DELAY = ONE_SECOND;\nconst LOCK_SEPARATOR = '--';\nconst bufferedOperations = [];\nlet ongoingOperations;\nexport function processSessionStoreOperations(operations, sessionStoreStrategy, numberOfRetries = 0) {\n    var _a;\n    const { isLockEnabled, persistSession, expireSession } = sessionStoreStrategy;\n    const persistWithLock = (session) => persistSession({ ...session, lock: currentLock });\n    const retrieveStore = () => {\n        const { lock, ...session } = sessionStoreStrategy.retrieveSession();\n        return {\n            session,\n            lock: lock && !isLockExpired(lock) ? lock : undefined,\n        };\n    };\n    if (!ongoingOperations) {\n        ongoingOperations = operations;\n    }\n    if (operations !== ongoingOperations) {\n        bufferedOperations.push(operations);\n        return;\n    }\n    if (isLockEnabled && numberOfRetries >= LOCK_MAX_TRIES) {\n        next(sessionStoreStrategy);\n        return;\n    }\n    let currentLock;\n    let currentStore = retrieveStore();\n    if (isLockEnabled) {\n        // if someone has lock, retry later\n        if (currentStore.lock) {\n            retryLater(operations, sessionStoreStrategy, numberOfRetries);\n            return;\n        }\n        // acquire lock\n        currentLock = createLock();\n        persistWithLock(currentStore.session);\n        // if lock is not acquired, retry later\n        currentStore = retrieveStore();\n        if (currentStore.lock !== currentLock) {\n            retryLater(operations, sessionStoreStrategy, numberOfRetries);\n            return;\n        }\n    }\n    let processedSession = operations.process(currentStore.session);\n    if (isLockEnabled) {\n        // if lock corrupted after process, retry later\n        currentStore = retrieveStore();\n        if (currentStore.lock !== currentLock) {\n            retryLater(operations, sessionStoreStrategy, numberOfRetries);\n            return;\n        }\n    }\n    if (processedSession) {\n        if (isSessionInExpiredState(processedSession)) {\n            expireSession(processedSession);\n        }\n        else {\n            expandSessionState(processedSession);\n            if (isLockEnabled) {\n                persistWithLock(processedSession);\n            }\n            else {\n                persistSession(processedSession);\n            }\n        }\n    }\n    if (isLockEnabled) {\n        // correctly handle lock around expiration would require to handle this case properly at several levels\n        // since we don't have evidence of lock issues around expiration, let's just not do the corruption check for it\n        if (!(processedSession && isSessionInExpiredState(processedSession))) {\n            // if lock corrupted after persist, retry later\n            currentStore = retrieveStore();\n            if (currentStore.lock !== currentLock) {\n                retryLater(operations, sessionStoreStrategy, numberOfRetries);\n                return;\n            }\n            persistSession(currentStore.session);\n            processedSession = currentStore.session;\n        }\n    }\n    // call after even if session is not persisted in order to perform operations on\n    // up-to-date session state value => the value could have been modified by another tab\n    (_a = operations.after) === null || _a === void 0 ? void 0 : _a.call(operations, processedSession || currentStore.session);\n    next(sessionStoreStrategy);\n}\nfunction retryLater(operations, sessionStore, currentNumberOfRetries) {\n    setTimeout(() => {\n        processSessionStoreOperations(operations, sessionStore, currentNumberOfRetries + 1);\n    }, LOCK_RETRY_DELAY);\n}\nfunction next(sessionStore) {\n    ongoingOperations = undefined;\n    const nextOperations = bufferedOperations.shift();\n    if (nextOperations) {\n        processSessionStoreOperations(nextOperations, sessionStore);\n    }\n}\nexport function createLock() {\n    return generateUUID() + LOCK_SEPARATOR + timeStampNow();\n}\nfunction isLockExpired(lock) {\n    const [, timeStamp] = lock.split(LOCK_SEPARATOR);\n    return !timeStamp || elapsed(Number(timeStamp), timeStampNow()) > LOCK_EXPIRATION_DELAY;\n}\n//# sourceMappingURL=sessionStoreOperations.js.map","import { getGlobalObject } from '../../../tools/globalObject';\nimport { SessionPersistence } from '../sessionConstants';\nimport { getExpiredSessionState } from '../sessionState';\nimport { shallowClone } from '../../../tools/utils/objectUtils';\n/**\n * Key used to store session state in the global object.\n * This allows RUM and Logs SDKs to share the same session when using memory storage.\n */\nexport const MEMORY_SESSION_STORE_KEY = '_DD_SESSION';\nexport function selectMemorySessionStoreStrategy() {\n    return { type: SessionPersistence.MEMORY };\n}\nexport function initMemorySessionStoreStrategy(configuration) {\n    return {\n        expireSession: (sessionState) => expireSessionFromMemory(sessionState, configuration),\n        isLockEnabled: false,\n        persistSession: persistInMemory,\n        retrieveSession: retrieveFromMemory,\n    };\n}\nfunction retrieveFromMemory() {\n    const globalObject = getGlobalObject();\n    if (!globalObject[MEMORY_SESSION_STORE_KEY]) {\n        globalObject[MEMORY_SESSION_STORE_KEY] = {};\n    }\n    return shallowClone(globalObject[MEMORY_SESSION_STORE_KEY]);\n}\nfunction persistInMemory(state) {\n    const globalObject = getGlobalObject();\n    globalObject[MEMORY_SESSION_STORE_KEY] = shallowClone(state);\n}\nfunction expireSessionFromMemory(previousSessionState, configuration) {\n    persistInMemory(getExpiredSessionState(previousSessionState, configuration));\n}\n//# sourceMappingURL=sessionInMemory.js.map","import { clearInterval, setInterval } from '../../tools/timer';\nimport { Observable } from '../../tools/observable';\nimport { ONE_SECOND, dateNow } from '../../tools/utils/timeUtils';\nimport { throttle } from '../../tools/utils/functionUtils';\nimport { generateUUID } from '../../tools/utils/stringUtils';\nimport { display } from '../../tools/display';\nimport { selectCookieStrategy, initCookieStrategy } from './storeStrategies/sessionInCookie';\nimport { getExpiredSessionState, isSessionInExpiredState, isSessionInNotStartedState, isSessionStarted, } from './sessionState';\nimport { initLocalStorageStrategy, selectLocalStorageStrategy } from './storeStrategies/sessionInLocalStorage';\nimport { processSessionStoreOperations } from './sessionStoreOperations';\nimport { SESSION_NOT_TRACKED, SessionPersistence } from './sessionConstants';\nimport { initMemorySessionStoreStrategy, selectMemorySessionStoreStrategy } from './storeStrategies/sessionInMemory';\n/**\n * Every second, the storage will be polled to check for any change that can occur\n * to the session state in another browser tab, or another window.\n * This value has been determined from our previous cookie-only implementation.\n */\nexport const STORAGE_POLL_DELAY = ONE_SECOND;\n/**\n * Selects the correct session store strategy type based on the configuration and storage\n * availability. When an array is provided, tries each persistence type in order until one\n * successfully initializes.\n */\nexport function selectSessionStoreStrategyType(initConfiguration) {\n    const { sessionPersistence } = initConfiguration;\n    const persistenceList = normalizePersistenceList(sessionPersistence, initConfiguration);\n    for (const persistence of persistenceList) {\n        const strategyType = selectStrategyForPersistence(persistence, initConfiguration);\n        if (strategyType !== undefined) {\n            return strategyType;\n        }\n    }\n    return undefined;\n}\nfunction normalizePersistenceList(sessionPersistence, initConfiguration) {\n    if (Array.isArray(sessionPersistence)) {\n        return sessionPersistence;\n    }\n    if (sessionPersistence !== undefined) {\n        return [sessionPersistence];\n    }\n    // Legacy default behavior: cookie first, with optional localStorage fallback\n    return initConfiguration.allowFallbackToLocalStorage\n        ? [SessionPersistence.COOKIE, SessionPersistence.LOCAL_STORAGE]\n        : [SessionPersistence.COOKIE];\n}\nfunction selectStrategyForPersistence(persistence, initConfiguration) {\n    switch (persistence) {\n        case SessionPersistence.COOKIE:\n            return selectCookieStrategy(initConfiguration);\n        case SessionPersistence.LOCAL_STORAGE:\n            return selectLocalStorageStrategy();\n        case SessionPersistence.MEMORY:\n            return selectMemorySessionStoreStrategy();\n        default:\n            display.error(`Invalid session persistence '${String(persistence)}'`);\n            return undefined;\n    }\n}\nexport function getSessionStoreStrategy(sessionStoreStrategyType, configuration) {\n    return sessionStoreStrategyType.type === SessionPersistence.COOKIE\n        ? initCookieStrategy(configuration, sessionStoreStrategyType.cookieOptions)\n        : sessionStoreStrategyType.type === SessionPersistence.LOCAL_STORAGE\n            ? initLocalStorageStrategy(configuration)\n            : initMemorySessionStoreStrategy(configuration);\n}\n/**\n * Different session concepts:\n * - tracked, the session has an id and is updated along the user navigation\n * - not tracked, the session does not have an id but it is updated along the user navigation\n * - inactive, no session in store or session expired, waiting for a renew session\n */\nexport function startSessionStore(sessionStoreStrategyType, configuration, productKey, computeTrackingType, sessionStoreStrategy = getSessionStoreStrategy(sessionStoreStrategyType, configuration)) {\n    const renewObservable = new Observable();\n    const expireObservable = new Observable();\n    const sessionStateUpdateObservable = new Observable();\n    const watchSessionTimeoutId = setInterval(watchSession, STORAGE_POLL_DELAY);\n    let sessionCache;\n    startSession();\n    const { throttled: throttledExpandOrRenewSession, cancel: cancelExpandOrRenewSession } = throttle(() => {\n        processSessionStoreOperations({\n            process: (sessionState) => {\n                if (isSessionInNotStartedState(sessionState)) {\n                    return;\n                }\n                const synchronizedSession = synchronizeSession(sessionState);\n                expandOrRenewSessionState(synchronizedSession);\n                return synchronizedSession;\n            },\n            after: (sessionState) => {\n                if (isSessionStarted(sessionState) && !hasSessionInCache()) {\n                    renewSessionInCache(sessionState);\n                }\n                sessionCache = sessionState;\n            },\n        }, sessionStoreStrategy);\n    }, STORAGE_POLL_DELAY);\n    function expandSession() {\n        processSessionStoreOperations({\n            process: (sessionState) => (hasSessionInCache() ? synchronizeSession(sessionState) : undefined),\n        }, sessionStoreStrategy);\n    }\n    /**\n     * allows two behaviors:\n     * - if the session is active, synchronize the session cache without updating the session store\n     * - if the session is not active, clear the session store and expire the session cache\n     */\n    function watchSession() {\n        const sessionState = sessionStoreStrategy.retrieveSession();\n        if (isSessionInExpiredState(sessionState)) {\n            processSessionStoreOperations({\n                process: (sessionState) => isSessionInExpiredState(sessionState) ? getExpiredSessionState(sessionState, configuration) : undefined,\n                after: synchronizeSession,\n            }, sessionStoreStrategy);\n        }\n        else {\n            synchronizeSession(sessionState);\n        }\n    }\n    function synchronizeSession(sessionState) {\n        if (isSessionInExpiredState(sessionState)) {\n            sessionState = getExpiredSessionState(sessionState, configuration);\n        }\n        if (hasSessionInCache()) {\n            if (isSessionInCacheOutdated(sessionState)) {\n                expireSessionInCache();\n            }\n            else {\n                sessionStateUpdateObservable.notify({ previousState: sessionCache, newState: sessionState });\n                sessionCache = sessionState;\n            }\n        }\n        return sessionState;\n    }\n    function startSession() {\n        processSessionStoreOperations({\n            process: (sessionState) => {\n                if (isSessionInNotStartedState(sessionState)) {\n                    sessionState.anonymousId = generateUUID();\n                    return getExpiredSessionState(sessionState, configuration);\n                }\n            },\n            after: (sessionState) => {\n                sessionCache = sessionState;\n            },\n        }, sessionStoreStrategy);\n    }\n    function expandOrRenewSessionState(sessionState) {\n        if (isSessionInNotStartedState(sessionState)) {\n            return false;\n        }\n        const trackingType = computeTrackingType(sessionState[productKey]);\n        sessionState[productKey] = trackingType;\n        delete sessionState.isExpired;\n        if (trackingType !== SESSION_NOT_TRACKED && !sessionState.id) {\n            sessionState.id = generateUUID();\n            sessionState.created = String(dateNow());\n        }\n        if (configuration.trackAnonymousUser && !sessionState.anonymousId) {\n            sessionState.anonymousId = generateUUID();\n        }\n    }\n    function hasSessionInCache() {\n        return (sessionCache === null || sessionCache === void 0 ? void 0 : sessionCache[productKey]) !== undefined;\n    }\n    function isSessionInCacheOutdated(sessionState) {\n        return sessionCache.id !== sessionState.id || sessionCache[productKey] !== sessionState[productKey];\n    }\n    function expireSessionInCache() {\n        sessionCache = getExpiredSessionState(sessionCache, configuration);\n        expireObservable.notify();\n    }\n    function renewSessionInCache(sessionState) {\n        sessionCache = sessionState;\n        renewObservable.notify();\n    }\n    function updateSessionState(partialSessionState) {\n        processSessionStoreOperations({\n            process: (sessionState) => ({ ...sessionState, ...partialSessionState }),\n            after: synchronizeSession,\n        }, sessionStoreStrategy);\n    }\n    return {\n        expandOrRenewSession: throttledExpandOrRenewSession,\n        expandSession,\n        getSession: () => sessionCache,\n        renewObservable,\n        expireObservable,\n        sessionStateUpdateObservable,\n        restartSession: startSession,\n        expire: (hasConsent) => {\n            cancelExpandOrRenewSession();\n            if (hasConsent === false && sessionCache) {\n                delete sessionCache.anonymousId;\n            }\n            sessionStoreStrategy.expireSession(sessionCache);\n            synchronizeSession(getExpiredSessionState(sessionCache, configuration));\n        },\n        stop: () => {\n            clearInterval(watchSessionTimeoutId);\n        },\n        updateSessionState,\n    };\n}\n//# sourceMappingURL=sessionStore.js.map","import { getInitCookie } from '../../browser/cookie';\nimport { SESSION_STORE_KEY } from './storeStrategies/sessionStoreStrategy';\nimport { expandSessionState, isSessionStarted } from './sessionState';\nexport const OLD_SESSION_COOKIE_NAME = '_dd';\nexport const OLD_RUM_COOKIE_NAME = '_dd_r';\nexport const OLD_LOGS_COOKIE_NAME = '_dd_l';\n// duplicate values to avoid dependency issues\nexport const RUM_SESSION_KEY = 'rum';\nexport const LOGS_SESSION_KEY = 'logs';\n/**\n * This migration should remain in the codebase as long as older versions are available/live\n * to allow older sdk versions to be upgraded to newer versions without compatibility issues.\n */\nexport function tryOldCookiesMigration(cookieStoreStrategy) {\n    const sessionString = getInitCookie(SESSION_STORE_KEY);\n    if (!sessionString) {\n        const oldSessionId = getInitCookie(OLD_SESSION_COOKIE_NAME);\n        const oldRumType = getInitCookie(OLD_RUM_COOKIE_NAME);\n        const oldLogsType = getInitCookie(OLD_LOGS_COOKIE_NAME);\n        const session = {};\n        if (oldSessionId) {\n            session.id = oldSessionId;\n        }\n        if (oldLogsType && /^[01]$/.test(oldLogsType)) {\n            session[LOGS_SESSION_KEY] = oldLogsType;\n        }\n        if (oldRumType && /^[012]$/.test(oldRumType)) {\n            session[RUM_SESSION_KEY] = oldRumType;\n        }\n        if (isSessionStarted(session)) {\n            expandSessionState(session);\n            cookieStoreStrategy.persistSession(session);\n        }\n    }\n}\n//# sourceMappingURL=oldCookiesMigration.js.map","import { Observable } from '../../tools/observable';\nimport { createValueHistory } from '../../tools/valueHistory';\nimport { clocksOrigin, dateNow, ONE_MINUTE, relativeNow } from '../../tools/utils/timeUtils';\nimport { addEventListener, addEventListeners } from '../../browser/addEventListener';\nimport { clearInterval, setInterval } from '../../tools/timer';\nimport { addTelemetryDebug } from '../telemetry';\nimport { isSyntheticsTest } from '../synthetics/syntheticsWorkerValues';\nimport { getCurrentSite } from '../../browser/cookie';\nimport { ExperimentalFeature, isExperimentalFeatureEnabled } from '../../tools/experimentalFeatures';\nimport { findLast } from '../../tools/utils/polyfills';\nimport { monitorError } from '../../tools/monitor';\nimport { SESSION_NOT_TRACKED, SESSION_TIME_OUT_DELAY, SessionPersistence } from './sessionConstants';\nimport { startSessionStore } from './sessionStore';\nimport { toSessionState } from './sessionState';\nimport { retrieveSessionCookie } from './storeStrategies/sessionInCookie';\nimport { SESSION_STORE_KEY } from './storeStrategies/sessionStoreStrategy';\nimport { retrieveSessionFromLocalStorage } from './storeStrategies/sessionInLocalStorage';\nexport const VISIBILITY_CHECK_DELAY = ONE_MINUTE;\nconst SESSION_CONTEXT_TIMEOUT_DELAY = SESSION_TIME_OUT_DELAY;\nlet stopCallbacks = [];\nexport function startSessionManager(configuration, productKey, computeTrackingType, trackingConsentState) {\n    const renewObservable = new Observable();\n    const expireObservable = new Observable();\n    // TODO - Improve configuration type and remove assertion\n    const sessionStore = startSessionStore(configuration.sessionStoreStrategyType, configuration, productKey, computeTrackingType);\n    stopCallbacks.push(() => sessionStore.stop());\n    const sessionContextHistory = createValueHistory({\n        expireDelay: SESSION_CONTEXT_TIMEOUT_DELAY,\n    });\n    stopCallbacks.push(() => sessionContextHistory.stop());\n    sessionStore.renewObservable.subscribe(() => {\n        sessionContextHistory.add(buildSessionContext(), relativeNow());\n        renewObservable.notify();\n    });\n    sessionStore.expireObservable.subscribe(() => {\n        expireObservable.notify();\n        sessionContextHistory.closeActive(relativeNow());\n    });\n    // We expand/renew session unconditionally as tracking consent is always granted when the session\n    // manager is started.\n    sessionStore.expandOrRenewSession();\n    sessionContextHistory.add(buildSessionContext(), clocksOrigin().relative);\n    if (isExperimentalFeatureEnabled(ExperimentalFeature.SHORT_SESSION_INVESTIGATION)) {\n        const session = sessionStore.getSession();\n        if (session) {\n            detectSessionIdChange(configuration, session);\n        }\n    }\n    trackingConsentState.observable.subscribe(() => {\n        if (trackingConsentState.isGranted()) {\n            sessionStore.expandOrRenewSession();\n        }\n        else {\n            sessionStore.expire(false);\n        }\n    });\n    trackActivity(configuration, () => {\n        if (trackingConsentState.isGranted()) {\n            sessionStore.expandOrRenewSession();\n        }\n    });\n    trackVisibility(configuration, () => sessionStore.expandSession());\n    trackResume(configuration, () => sessionStore.restartSession());\n    function buildSessionContext() {\n        const session = sessionStore.getSession();\n        if (!session) {\n            reportUnexpectedSessionState(configuration).catch(() => void 0); // Ignore errors\n            return {\n                id: 'invalid',\n                trackingType: SESSION_NOT_TRACKED,\n                isReplayForced: false,\n                anonymousId: undefined,\n            };\n        }\n        return {\n            id: session.id,\n            trackingType: session[productKey],\n            isReplayForced: !!session.forcedReplay,\n            anonymousId: session.anonymousId,\n        };\n    }\n    return {\n        findSession: (startTime, options) => sessionContextHistory.find(startTime, options),\n        renewObservable,\n        expireObservable,\n        sessionStateUpdateObservable: sessionStore.sessionStateUpdateObservable,\n        expire: sessionStore.expire,\n        updateSessionState: sessionStore.updateSessionState,\n    };\n}\nexport function stopSessionManager() {\n    stopCallbacks.forEach((e) => e());\n    stopCallbacks = [];\n}\nfunction trackActivity(configuration, expandOrRenewSession) {\n    const { stop } = addEventListeners(configuration, window, [\"click\" /* DOM_EVENT.CLICK */, \"touchstart\" /* DOM_EVENT.TOUCH_START */, \"keydown\" /* DOM_EVENT.KEY_DOWN */, \"scroll\" /* DOM_EVENT.SCROLL */], expandOrRenewSession, { capture: true, passive: true });\n    stopCallbacks.push(stop);\n}\nfunction trackVisibility(configuration, expandSession) {\n    const expandSessionWhenVisible = () => {\n        if (document.visibilityState === 'visible') {\n            expandSession();\n        }\n    };\n    const { stop } = addEventListener(configuration, document, \"visibilitychange\" /* DOM_EVENT.VISIBILITY_CHANGE */, expandSessionWhenVisible);\n    stopCallbacks.push(stop);\n    const visibilityCheckInterval = setInterval(expandSessionWhenVisible, VISIBILITY_CHECK_DELAY);\n    stopCallbacks.push(() => {\n        clearInterval(visibilityCheckInterval);\n    });\n}\nfunction trackResume(configuration, cb) {\n    const { stop } = addEventListener(configuration, window, \"resume\" /* DOM_EVENT.RESUME */, cb, { capture: true });\n    stopCallbacks.push(stop);\n}\nasync function reportUnexpectedSessionState(configuration) {\n    const sessionStoreStrategyType = configuration.sessionStoreStrategyType;\n    if (!sessionStoreStrategyType) {\n        return;\n    }\n    let rawSession;\n    let cookieContext;\n    if (sessionStoreStrategyType.type === SessionPersistence.COOKIE) {\n        rawSession = retrieveSessionCookie(sessionStoreStrategyType.cookieOptions, configuration);\n        cookieContext = {\n            cookie: await getSessionCookies(),\n            currentDomain: `${window.location.protocol}//${window.location.hostname}`,\n        };\n    }\n    else {\n        rawSession = retrieveSessionFromLocalStorage();\n    }\n    // monitor-until: forever, could be handy to troubleshoot issues until session manager rework\n    addTelemetryDebug('Unexpected session state', {\n        sessionStoreStrategyType: sessionStoreStrategyType.type,\n        session: rawSession,\n        isSyntheticsTest: isSyntheticsTest(),\n        createdTimestamp: rawSession === null || rawSession === void 0 ? void 0 : rawSession.created,\n        expireTimestamp: rawSession === null || rawSession === void 0 ? void 0 : rawSession.expire,\n        ...cookieContext,\n    });\n}\nfunction detectSessionIdChange(configuration, initialSessionState) {\n    if (!window.cookieStore || !initialSessionState.created) {\n        return;\n    }\n    const sessionCreatedTime = Number(initialSessionState.created);\n    const sdkInitTime = dateNow();\n    const { stop } = addEventListener(configuration, cookieStore, \"change\" /* DOM_EVENT.CHANGE */, listener);\n    stopCallbacks.push(stop);\n    function listener(event) {\n        const changed = findLast(event.changed, (change) => change.name === SESSION_STORE_KEY);\n        if (!changed) {\n            return;\n        }\n        const sessionAge = dateNow() - sessionCreatedTime;\n        if (sessionAge > 14 * ONE_MINUTE) {\n            // The session might have expired just because it's too old or lack activity\n            stop();\n        }\n        else {\n            const newSessionState = toSessionState(changed.value);\n            if (newSessionState.id && newSessionState.id !== initialSessionState.id) {\n                stop();\n                const time = dateNow() - sdkInitTime;\n                getSessionCookies()\n                    .then((cookie) => {\n                    // monitor-until: 2026-04-01, after RUM-10845 investigation done\n                    addTelemetryDebug('Session cookie changed', {\n                        time,\n                        session_age: sessionAge,\n                        old: initialSessionState,\n                        new: newSessionState,\n                        cookie,\n                    });\n                })\n                    .catch(monitorError);\n            }\n        }\n    }\n}\nasync function getSessionCookies() {\n    let sessionCookies;\n    if ('cookieStore' in window) {\n        sessionCookies = await window.cookieStore.getAll(SESSION_STORE_KEY);\n    }\n    else {\n        sessionCookies = document.cookie.split(/\\s*;\\s*/).filter((cookie) => cookie.startsWith(SESSION_STORE_KEY));\n    }\n    return {\n        count: sessionCookies.length,\n        domain: getCurrentSite() || 'undefined',\n        ...sessionCookies,\n    };\n}\n//# sourceMappingURL=sessionManager.js.map","import { Observable, performDraw, SESSION_NOT_TRACKED, startSessionManager } from '@datadog/browser-core';\nexport const LOGS_SESSION_KEY = 'logs';\nexport function startLogsSessionManager(configuration, trackingConsentState) {\n    const sessionManager = startSessionManager(configuration, LOGS_SESSION_KEY, (rawTrackingType) => computeTrackingType(configuration, rawTrackingType), trackingConsentState);\n    return {\n        findTrackedSession: (startTime, options = { returnInactive: false }) => {\n            const session = sessionManager.findSession(startTime, options);\n            return session && session.trackingType === \"1\" /* LoggerTrackingType.TRACKED */\n                ? {\n                    id: session.id,\n                    anonymousId: session.anonymousId,\n                }\n                : undefined;\n        },\n        expireObservable: sessionManager.expireObservable,\n    };\n}\nexport function startLogsSessionManagerStub(configuration) {\n    const isTracked = computeTrackingType(configuration) === \"1\" /* LoggerTrackingType.TRACKED */;\n    const session = isTracked ? {} : undefined;\n    return {\n        findTrackedSession: () => session,\n        expireObservable: new Observable(),\n    };\n}\nfunction computeTrackingType(configuration, rawTrackingType) {\n    if (hasValidLoggerSession(rawTrackingType)) {\n        return rawTrackingType;\n    }\n    if (!performDraw(configuration.sessionSampleRate)) {\n        return \"0\" /* LoggerTrackingType.NOT_TRACKED */;\n    }\n    return \"1\" /* LoggerTrackingType.TRACKED */;\n}\nfunction hasValidLoggerSession(trackingType) {\n    return trackingType === \"0\" /* LoggerTrackingType.NOT_TRACKED */ || trackingType === \"1\" /* LoggerTrackingType.TRACKED */;\n}\n//# sourceMappingURL=logsSessionManager.js.map","import { DISCARDED, ErrorSource, buildTags, combine, createEventRateLimiter, getRelativeTime, } from '@datadog/browser-core';\nimport { STATUSES } from './logger';\nexport function startLogsAssembly(configuration, lifeCycle, hooks, getCommonContext, reportError, eventRateLimit) {\n    const statusWithCustom = STATUSES.concat(['custom']);\n    const logRateLimiters = {};\n    statusWithCustom.forEach((status) => {\n        logRateLimiters[status] = createEventRateLimiter(status, reportError, eventRateLimit);\n    });\n    lifeCycle.subscribe(0 /* LifeCycleEventType.RAW_LOG_COLLECTED */, ({ rawLogsEvent, messageContext = undefined, savedCommonContext = undefined, domainContext, ddtags = [] }) => {\n        var _a, _b;\n        const startTime = getRelativeTime(rawLogsEvent.date);\n        const commonContext = savedCommonContext || getCommonContext();\n        const defaultLogsEventAttributes = hooks.triggerHook(0 /* HookNames.Assemble */, {\n            startTime,\n        });\n        if (defaultLogsEventAttributes === DISCARDED) {\n            return;\n        }\n        const defaultDdtags = buildTags(configuration);\n        const log = combine({\n            view: commonContext.view,\n        }, defaultLogsEventAttributes, rawLogsEvent, messageContext, {\n            ddtags: defaultDdtags.concat(ddtags).join(','),\n        });\n        if (((_a = configuration.beforeSend) === null || _a === void 0 ? void 0 : _a.call(configuration, log, domainContext)) === false ||\n            (log.origin !== ErrorSource.AGENT &&\n                ((_b = logRateLimiters[log.status]) !== null && _b !== void 0 ? _b : logRateLimiters['custom']).isLimitReached())) {\n            return;\n        }\n        lifeCycle.notify(1 /* LifeCycleEventType.LOG_COLLECTED */, log);\n    });\n}\n//# sourceMappingURL=assembly.js.map","import { setTimeout } from '../../tools/timer';\nimport { clocksNow, ONE_MINUTE } from '../../tools/utils/timeUtils';\nimport { ErrorSource } from '../error/error.types';\n// Limit the maximum number of actions, errors and logs per minutes\nconst EVENT_RATE_LIMIT = 3000;\nexport function createEventRateLimiter(eventType, onLimitReached, limit = EVENT_RATE_LIMIT) {\n    let eventCount = 0;\n    let allowNextEvent = false;\n    return {\n        isLimitReached() {\n            if (eventCount === 0) {\n                setTimeout(() => {\n                    eventCount = 0;\n                }, ONE_MINUTE);\n            }\n            eventCount += 1;\n            if (eventCount <= limit || allowNextEvent) {\n                allowNextEvent = false;\n                return false;\n            }\n            if (eventCount === limit + 1) {\n                allowNextEvent = true;\n                try {\n                    onLimitReached({\n                        message: `Reached max number of ${eventType}s by minute: ${limit}`,\n                        source: ErrorSource.AGENT,\n                        startClocks: clocksNow(),\n                    });\n                }\n                finally {\n                    allowNextEvent = false;\n                }\n            }\n            return true;\n        },\n    };\n}\n//# sourceMappingURL=createEventRateLimiter.js.map","import { isError, computeRawError } from '../error/error';\nimport { mergeObservables, Observable } from '../../tools/observable';\nimport { ConsoleApiName, globalConsole } from '../../tools/display';\nimport { callMonitored } from '../../tools/monitor';\nimport { sanitize } from '../../tools/serialisation/sanitize';\nimport { jsonStringify } from '../../tools/serialisation/jsonStringify';\nimport { ErrorSource } from '../error/error.types';\nimport { computeStackTrace } from '../../tools/stackTrace/computeStackTrace';\nimport { createHandlingStack, formatErrorMessage } from '../../tools/stackTrace/handlingStack';\nimport { clocksNow } from '../../tools/utils/timeUtils';\nlet consoleObservablesByApi = {};\nexport function initConsoleObservable(apis) {\n    const consoleObservables = apis.map((api) => {\n        if (!consoleObservablesByApi[api]) {\n            consoleObservablesByApi[api] = createConsoleObservable(api); // we are sure that the observable created for this api will yield the expected ConsoleLog type\n        }\n        return consoleObservablesByApi[api];\n    });\n    return mergeObservables(...consoleObservables);\n}\nexport function resetConsoleObservable() {\n    consoleObservablesByApi = {};\n}\nfunction createConsoleObservable(api) {\n    return new Observable((observable) => {\n        const originalConsoleApi = globalConsole[api];\n        globalConsole[api] = (...params) => {\n            originalConsoleApi.apply(console, params);\n            const handlingStack = createHandlingStack('console error');\n            callMonitored(() => {\n                observable.notify(buildConsoleLog(params, api, handlingStack));\n            });\n        };\n        return () => {\n            globalConsole[api] = originalConsoleApi;\n        };\n    });\n}\nfunction buildConsoleLog(params, api, handlingStack) {\n    const message = params.map((param) => formatConsoleParameters(param)).join(' ');\n    if (api === ConsoleApiName.error) {\n        const firstErrorParam = params.find(isError);\n        const rawError = computeRawError({\n            originalError: firstErrorParam,\n            handlingStack,\n            startClocks: clocksNow(),\n            source: ErrorSource.CONSOLE,\n            handling: \"handled\" /* ErrorHandling.HANDLED */,\n            nonErrorPrefix: \"Provided\" /* NonErrorPrefix.PROVIDED */,\n            // if no good stack is computed from the error, let's not use the fallback stack message\n            // advising the user to use an instance of Error, as console.error is commonly used without an\n            // Error instance.\n            useFallbackStack: false,\n        });\n        // Use the full log message as the error message instead of just the error instance message.\n        rawError.message = message;\n        return {\n            api,\n            message,\n            handlingStack,\n            error: rawError,\n        };\n    }\n    return {\n        api,\n        message,\n        error: undefined,\n        handlingStack,\n    };\n}\nfunction formatConsoleParameters(param) {\n    if (typeof param === 'string') {\n        return sanitize(param);\n    }\n    if (isError(param)) {\n        return formatErrorMessage(computeStackTrace(param));\n    }\n    return jsonStringify(sanitize(param), undefined, 2);\n}\n//# sourceMappingURL=consoleObservable.js.map","import { timeStampNow, ConsoleApiName, ErrorSource, initConsoleObservable } from '@datadog/browser-core';\nimport { StatusType } from '../logger/isAuthorized';\nimport { createErrorFieldFromRawError } from '../createErrorFieldFromRawError';\nexport const LogStatusForApi = {\n    [ConsoleApiName.log]: StatusType.info,\n    [ConsoleApiName.debug]: StatusType.debug,\n    [ConsoleApiName.info]: StatusType.info,\n    [ConsoleApiName.warn]: StatusType.warn,\n    [ConsoleApiName.error]: StatusType.error,\n};\nexport function startConsoleCollection(configuration, lifeCycle) {\n    const consoleSubscription = initConsoleObservable(configuration.forwardConsoleLogs).subscribe((log) => {\n        var _a;\n        const collectedData = {\n            rawLogsEvent: {\n                date: timeStampNow(),\n                message: log.message,\n                origin: ErrorSource.CONSOLE,\n                error: log.error && createErrorFieldFromRawError(log.error),\n                status: LogStatusForApi[log.api],\n            },\n            messageContext: (_a = log.error) === null || _a === void 0 ? void 0 : _a.context,\n            domainContext: {\n                handlingStack: log.handlingStack,\n            },\n        };\n        lifeCycle.notify(0 /* LifeCycleEventType.RAW_LOG_COLLECTED */, collectedData);\n    });\n    return {\n        stop: () => {\n            consoleSubscription.unsubscribe();\n        },\n    };\n}\n//# sourceMappingURL=consoleCollection.js.map","import { toStackTraceString } from '../../tools/stackTrace/handlingStack';\nimport { monitor } from '../../tools/monitor';\nimport { mergeObservables, Observable } from '../../tools/observable';\nimport { addEventListener } from '../../browser/addEventListener';\nimport { safeTruncate } from '../../tools/utils/stringUtils';\nimport { ErrorSource } from '../error/error.types';\nimport { clocksNow } from '../../tools/utils/timeUtils';\nexport const RawReportType = {\n    intervention: 'intervention',\n    deprecation: 'deprecation',\n    cspViolation: 'csp_violation',\n};\nexport function initReportObservable(configuration, apis) {\n    const observables = [];\n    if (apis.includes(RawReportType.cspViolation)) {\n        observables.push(createCspViolationReportObservable(configuration));\n    }\n    const reportTypes = apis.filter((api) => api !== RawReportType.cspViolation);\n    if (reportTypes.length) {\n        observables.push(createReportObservable(reportTypes));\n    }\n    return mergeObservables(...observables);\n}\nfunction createReportObservable(reportTypes) {\n    return new Observable((observable) => {\n        if (!window.ReportingObserver) {\n            return;\n        }\n        const handleReports = monitor((reports, _) => reports.forEach((report) => observable.notify(buildRawReportErrorFromReport(report))));\n        const observer = new window.ReportingObserver(handleReports, {\n            types: reportTypes,\n            buffered: true,\n        });\n        observer.observe();\n        return () => {\n            observer.disconnect();\n        };\n    });\n}\nfunction createCspViolationReportObservable(configuration) {\n    return new Observable((observable) => {\n        const { stop } = addEventListener(configuration, document, \"securitypolicyviolation\" /* DOM_EVENT.SECURITY_POLICY_VIOLATION */, (event) => {\n            observable.notify(buildRawReportErrorFromCspViolation(event));\n        });\n        return stop;\n    });\n}\nfunction buildRawReportErrorFromReport(report) {\n    const { type, body } = report;\n    return buildRawReportError({\n        type: body.id,\n        message: `${type}: ${body.message}`,\n        originalError: report,\n        stack: buildStack(body.id, body.message, body.sourceFile, body.lineNumber, body.columnNumber),\n    });\n}\nfunction buildRawReportErrorFromCspViolation(event) {\n    const message = `'${event.blockedURI}' blocked by '${event.effectiveDirective}' directive`;\n    return buildRawReportError({\n        type: event.effectiveDirective,\n        message: `${RawReportType.cspViolation}: ${message}`,\n        originalError: event,\n        csp: {\n            disposition: event.disposition,\n        },\n        stack: buildStack(event.effectiveDirective, event.originalPolicy\n            ? `${message} of the policy \"${safeTruncate(event.originalPolicy, 100, '...')}\"`\n            : 'no policy', event.sourceFile, event.lineNumber, event.columnNumber),\n    });\n}\nfunction buildRawReportError(partial) {\n    return {\n        startClocks: clocksNow(),\n        source: ErrorSource.REPORT,\n        handling: \"unhandled\" /* ErrorHandling.UNHANDLED */,\n        ...partial,\n    };\n}\nfunction buildStack(name, message, sourceFile, lineNumber, columnNumber) {\n    return sourceFile\n        ? toStackTraceString({\n            name,\n            message,\n            stack: [\n                {\n                    func: '?',\n                    url: sourceFile,\n                    line: lineNumber !== null && lineNumber !== void 0 ? lineNumber : undefined,\n                    column: columnNumber !== null && columnNumber !== void 0 ? columnNumber : undefined,\n                },\n            ],\n        })\n        : undefined;\n}\n//# sourceMappingURL=reportObservable.js.map","import { instrumentMethod } from '../tools/instrumentMethod';\nimport { Observable } from '../tools/observable';\nimport { elapsed, clocksNow, timeStampNow } from '../tools/utils/timeUtils';\nimport { normalizeUrl } from '../tools/utils/urlPolyfill';\nimport { shallowClone } from '../tools/utils/objectUtils';\nimport { addEventListener } from './addEventListener';\nlet xhrObservable;\nconst xhrContexts = new WeakMap();\nexport function initXhrObservable(configuration) {\n    if (!xhrObservable) {\n        xhrObservable = createXhrObservable(configuration);\n    }\n    return xhrObservable;\n}\nfunction createXhrObservable(configuration) {\n    return new Observable((observable) => {\n        const { stop: stopInstrumentingStart } = instrumentMethod(XMLHttpRequest.prototype, 'open', openXhr);\n        const { stop: stopInstrumentingSend } = instrumentMethod(XMLHttpRequest.prototype, 'send', (call) => {\n            sendXhr(call, configuration, observable);\n        }, { computeHandlingStack: true });\n        const { stop: stopInstrumentingAbort } = instrumentMethod(XMLHttpRequest.prototype, 'abort', abortXhr);\n        return () => {\n            stopInstrumentingStart();\n            stopInstrumentingSend();\n            stopInstrumentingAbort();\n        };\n    });\n}\nfunction openXhr({ target: xhr, parameters: [method, url] }) {\n    xhrContexts.set(xhr, {\n        state: 'open',\n        method: String(method).toUpperCase(),\n        url: normalizeUrl(String(url)),\n    });\n}\nfunction sendXhr({ target: xhr, parameters: [body], handlingStack }, configuration, observable) {\n    const context = xhrContexts.get(xhr);\n    if (!context) {\n        return;\n    }\n    const startContext = context;\n    startContext.state = 'start';\n    startContext.startClocks = clocksNow();\n    startContext.isAborted = false;\n    startContext.xhr = xhr;\n    startContext.handlingStack = handlingStack;\n    startContext.requestBody = body;\n    let hasBeenReported = false;\n    const { stop: stopInstrumentingOnReadyStateChange } = instrumentMethod(xhr, 'onreadystatechange', () => {\n        if (xhr.readyState === XMLHttpRequest.DONE) {\n            // Try to report the XHR as soon as possible, because the XHR may be mutated by the\n            // application during a future event. For example, Angular is calling .abort() on\n            // completed requests during an onreadystatechange event, so the status becomes '0'\n            // before the request is collected.\n            onEnd();\n        }\n    });\n    const onEnd = () => {\n        unsubscribeLoadEndListener();\n        stopInstrumentingOnReadyStateChange();\n        if (hasBeenReported) {\n            return;\n        }\n        hasBeenReported = true;\n        const completeContext = context;\n        completeContext.state = 'complete';\n        completeContext.duration = elapsed(startContext.startClocks.timeStamp, timeStampNow());\n        completeContext.status = xhr.status;\n        if (typeof xhr.response === 'string') {\n            completeContext.responseBody = xhr.response;\n        }\n        observable.notify(shallowClone(completeContext));\n    };\n    const { stop: unsubscribeLoadEndListener } = addEventListener(configuration, xhr, 'loadend', onEnd);\n    observable.notify(startContext);\n}\nfunction abortXhr({ target: xhr }) {\n    const context = xhrContexts.get(xhr);\n    if (context) {\n        context.isAborted = true;\n    }\n}\n/**\n * Reset the XHR observable global state. This is useful for testing to ensure clean state between tests.\n *\n * @internal\n */\nexport function resetXhrObservable() {\n    xhrObservable = undefined;\n}\n//# sourceMappingURL=xhrObservable.js.map","export const ResourceType = {\n    DOCUMENT: 'document',\n    XHR: 'xhr',\n    BEACON: 'beacon',\n    FETCH: 'fetch',\n    CSS: 'css',\n    JS: 'js',\n    IMAGE: 'image',\n    FONT: 'font',\n    MEDIA: 'media',\n    OTHER: 'other',\n};\nexport const RequestType = {\n    FETCH: ResourceType.FETCH,\n    XHR: ResourceType.XHR,\n};\n//# sourceMappingURL=resourceUtils.js.map","import { instrumentMethod } from '../tools/instrumentMethod';\nimport { monitorError } from '../tools/monitor';\nimport { Observable } from '../tools/observable';\nimport { clocksNow } from '../tools/utils/timeUtils';\nimport { normalizeUrl } from '../tools/utils/urlPolyfill';\nimport { globalObject } from '../tools/globalObject';\nimport { readBytesFromStream } from '../tools/readBytesFromStream';\nimport { tryToClone } from '../tools/utils/responseUtils';\nlet fetchObservable;\nconst responseBodyActionGetters = [];\nexport function initFetchObservable({ responseBodyAction } = {}) {\n    if (responseBodyAction) {\n        responseBodyActionGetters.push(responseBodyAction);\n    }\n    if (!fetchObservable) {\n        fetchObservable = createFetchObservable();\n    }\n    return fetchObservable;\n}\nexport function resetFetchObservable() {\n    fetchObservable = undefined;\n    responseBodyActionGetters.length = 0;\n}\nfunction createFetchObservable() {\n    return new Observable((observable) => {\n        // eslint-disable-next-line local-rules/disallow-zone-js-patched-values\n        if (!globalObject.fetch) {\n            return;\n        }\n        const { stop } = instrumentMethod(globalObject, 'fetch', (call) => beforeSend(call, observable), {\n            computeHandlingStack: true,\n        });\n        return stop;\n    });\n}\nfunction beforeSend({ parameters, onPostCall, handlingStack }, observable) {\n    var _a, _b;\n    const [input, init] = parameters;\n    let methodFromParams = init && init.method;\n    if (methodFromParams === undefined && input instanceof Request) {\n        methodFromParams = input.method;\n    }\n    const method = methodFromParams !== undefined ? String(methodFromParams).toUpperCase() : 'GET';\n    const url = input instanceof Request ? input.url : normalizeUrl(String(input));\n    const startClocks = clocksNow();\n    const context = {\n        state: 'start',\n        init,\n        input,\n        method,\n        startClocks,\n        url,\n        handlingStack,\n        isAbortedOnStart: (input instanceof Request && ((_a = input.signal) === null || _a === void 0 ? void 0 : _a.aborted)) || ((_b = init === null || init === void 0 ? void 0 : init.signal) === null || _b === void 0 ? void 0 : _b.aborted) || false,\n    };\n    observable.notify(context);\n    // Those properties can be changed by observable subscribers\n    parameters[0] = context.input;\n    parameters[1] = context.init;\n    onPostCall((responsePromise) => {\n        afterSend(observable, responsePromise, context).catch(monitorError);\n    });\n}\nasync function afterSend(observable, responsePromise, startContext) {\n    var _a, _b;\n    const context = startContext;\n    context.state = 'resolve';\n    let response;\n    try {\n        response = await responsePromise;\n    }\n    catch (error) {\n        context.status = 0;\n        context.isAborted =\n            ((_b = (_a = context.init) === null || _a === void 0 ? void 0 : _a.signal) === null || _b === void 0 ? void 0 : _b.aborted) || (error instanceof DOMException && error.code === DOMException.ABORT_ERR);\n        context.error = error;\n        observable.notify(context);\n        return;\n    }\n    context.response = response;\n    context.status = response.status;\n    context.responseType = response.type;\n    context.isAborted = false;\n    const responseBodyCondition = responseBodyActionGetters.reduce((action, getter) => Math.max(action, getter(context)), 0 /* ResponseBodyAction.IGNORE */);\n    if (responseBodyCondition !== 0 /* ResponseBodyAction.IGNORE */) {\n        const clonedResponse = tryToClone(response);\n        if (clonedResponse && clonedResponse.body) {\n            try {\n                const bytes = await readBytesFromStream(clonedResponse.body, {\n                    collectStreamBody: responseBodyCondition === 2 /* ResponseBodyAction.COLLECT */,\n                });\n                context.responseBody = bytes && new TextDecoder().decode(bytes);\n            }\n            catch (_c) {\n                // Ignore errors when reading the response body (e.g., stream aborted, network errors)\n                // This is not critical and should not be reported as an SDK error\n            }\n        }\n    }\n    observable.notify(context);\n}\n//# sourceMappingURL=fetchObservable.js.map","import { concatBuffers } from './utils/byteUtils';\nimport { noop } from './utils/functionUtils';\n/**\n * Read bytes from a ReadableStream until the end of the stream.\n * Returns the bytes if collectStreamBody is true, otherwise returns undefined.\n */\nexport async function readBytesFromStream(stream, options) {\n    const reader = stream.getReader();\n    const chunks = [];\n    while (true) {\n        const result = await reader.read();\n        if (result.done) {\n            break;\n        }\n        if (options.collectStreamBody) {\n            chunks.push(result.value);\n        }\n    }\n    reader.cancel().catch(\n    // we don't care if cancel fails, but we still need to catch the error to avoid reporting it\n    // as an unhandled rejection\n    noop);\n    return options.collectStreamBody ? concatBuffers(chunks) : undefined;\n}\n//# sourceMappingURL=readBytesFromStream.js.map","import { timeStampNow } from '../../tools/utils/timeUtils';\nimport { normalizeUrl } from '../../tools/utils/urlPolyfill';\nimport { generateUUID } from '../../tools/utils/stringUtils';\nimport { INTAKE_SITE_FED_STAGING, INTAKE_SITE_US1, PCI_INTAKE_HOST_US1 } from '../intakeSites';\nexport function createEndpointBuilder(initConfiguration, trackType, extraParameters) {\n    const buildUrlWithParameters = createEndpointUrlWithParametersBuilder(initConfiguration, trackType);\n    return {\n        build(api, payload) {\n            const parameters = buildEndpointParameters(initConfiguration, trackType, api, payload, extraParameters);\n            return buildUrlWithParameters(parameters);\n        },\n        trackType,\n    };\n}\n/**\n * Create a function used to build a full endpoint url from provided parameters. The goal of this\n * function is to pre-compute some parts of the URL to avoid re-computing everything on every\n * request, as only parameters are changing.\n */\nfunction createEndpointUrlWithParametersBuilder(initConfiguration, trackType) {\n    const path = `/api/v2/${trackType}`;\n    const proxy = initConfiguration.proxy;\n    if (typeof proxy === 'string') {\n        const normalizedProxyUrl = normalizeUrl(proxy);\n        return (parameters) => `${normalizedProxyUrl}?ddforward=${encodeURIComponent(`${path}?${parameters}`)}`;\n    }\n    if (typeof proxy === 'function') {\n        return (parameters) => proxy({ path, parameters });\n    }\n    const host = buildEndpointHost(trackType, initConfiguration);\n    return (parameters) => `https://${host}${path}?${parameters}`;\n}\nexport function buildEndpointHost(trackType, initConfiguration) {\n    const { site = INTAKE_SITE_US1, internalAnalyticsSubdomain } = initConfiguration;\n    if (trackType === 'logs' && initConfiguration.usePciIntake && site === INTAKE_SITE_US1) {\n        return PCI_INTAKE_HOST_US1;\n    }\n    if (internalAnalyticsSubdomain && site === INTAKE_SITE_US1) {\n        return `${internalAnalyticsSubdomain}.${INTAKE_SITE_US1}`;\n    }\n    if (site === INTAKE_SITE_FED_STAGING) {\n        return `http-intake.logs.${site}`;\n    }\n    const domainParts = site.split('.');\n    const extension = domainParts.pop();\n    return `browser-intake-${domainParts.join('-')}.${extension}`;\n}\n/**\n * Build parameters to be used for an intake request. Parameters should be re-built for each\n * request, as they change randomly.\n */\nfunction buildEndpointParameters({ clientToken, internalAnalyticsSubdomain, source = 'browser' }, trackType, api, { retry, encoding }, extraParameters = []) {\n    const parameters = [\n        `ddsource=${source}`,\n        `dd-api-key=${clientToken}`,\n        `dd-evp-origin-version=${encodeURIComponent(\"6.31.0\")}`,\n        'dd-evp-origin=browser',\n        `dd-request-id=${generateUUID()}`,\n    ].concat(extraParameters);\n    if (encoding) {\n        parameters.push(`dd-evp-encoding=${encoding}`);\n    }\n    if (trackType === 'rum') {\n        parameters.push(`batch_time=${timeStampNow()}`, `_dd.api=${api}`);\n        if (retry) {\n            parameters.push(`_dd.retry_count=${retry.count}`, `_dd.retry_after=${retry.lastFailureStatus}`);\n        }\n    }\n    if (internalAnalyticsSubdomain) {\n        parameters.reverse();\n    }\n    return parameters.join('&');\n}\n//# sourceMappingURL=endpointBuilder.js.map","import { INTAKE_SITE_US1, INTAKE_URL_PARAMETERS } from '../intakeSites';\nimport { createEndpointBuilder } from './endpointBuilder';\nexport function computeTransportConfiguration(initConfiguration) {\n    const site = initConfiguration.site || INTAKE_SITE_US1;\n    const source = validateSource(initConfiguration.source);\n    const endpointBuilders = computeEndpointBuilders({ ...initConfiguration, site, source });\n    const replicaConfiguration = computeReplicaConfiguration({ ...initConfiguration, site, source });\n    return {\n        replica: replicaConfiguration,\n        site,\n        source,\n        ...endpointBuilders,\n    };\n}\nfunction validateSource(source) {\n    if (source === 'flutter' || source === 'unity') {\n        return source;\n    }\n    return 'browser';\n}\nfunction computeEndpointBuilders(initConfiguration) {\n    return {\n        logsEndpointBuilder: createEndpointBuilder(initConfiguration, 'logs'),\n        rumEndpointBuilder: createEndpointBuilder(initConfiguration, 'rum'),\n        profilingEndpointBuilder: createEndpointBuilder(initConfiguration, 'profile'),\n        sessionReplayEndpointBuilder: createEndpointBuilder(initConfiguration, 'replay'),\n        exposuresEndpointBuilder: createEndpointBuilder(initConfiguration, 'exposures'),\n        flagEvaluationEndpointBuilder: createEndpointBuilder(initConfiguration, 'flagevaluation'),\n    };\n}\nfunction computeReplicaConfiguration(initConfiguration) {\n    if (!initConfiguration.replica) {\n        return;\n    }\n    const replicaConfiguration = {\n        ...initConfiguration,\n        site: INTAKE_SITE_US1,\n        clientToken: initConfiguration.replica.clientToken,\n    };\n    return {\n        logsEndpointBuilder: createEndpointBuilder(replicaConfiguration, 'logs'),\n        rumEndpointBuilder: createEndpointBuilder(replicaConfiguration, 'rum', [\n            `application.id=${initConfiguration.replica.applicationId}`,\n        ]),\n    };\n}\nexport function isIntakeUrl(url) {\n    // check if tags is present in the query string\n    return INTAKE_URL_PARAMETERS.every((param) => url.includes(param));\n}\n//# sourceMappingURL=transportConfiguration.js.map","import { isWorkerEnvironment, Observable, ErrorSource, initXhrObservable, RequestType, initFetchObservable, computeStackTrace, toStackTraceString, noop, isServerError, isIntakeUrl, safeTruncate, } from '@datadog/browser-core';\nimport { StatusType } from '../logger/isAuthorized';\nexport function startNetworkErrorCollection(configuration, lifeCycle) {\n    if (!configuration.forwardErrorsToLogs) {\n        return { stop: noop };\n    }\n    // XHR is not available in web workers, so we use an empty observable that never emits\n    const xhrSubscription = (isWorkerEnvironment ? new Observable() : initXhrObservable(configuration)).subscribe((context) => {\n        if (context.state === 'complete') {\n            handleResponse(RequestType.XHR, context);\n        }\n    });\n    const fetchSubscription = initFetchObservable({\n        responseBodyAction: (context) => (isNetworkError(context) ? 2 /* ResponseBodyAction.COLLECT */ : 0 /* ResponseBodyAction.IGNORE */),\n    }).subscribe((context) => {\n        if (context.state === 'resolve') {\n            handleResponse(RequestType.FETCH, context);\n        }\n    });\n    function isNetworkError(request) {\n        return !isIntakeUrl(request.url) && (isRejected(request) || isServerError(request.status));\n    }\n    function handleResponse(type, request) {\n        if (!isNetworkError(request)) {\n            return;\n        }\n        const stack = 'error' in request && request.error\n            ? toStackTraceString(computeStackTrace(request.error))\n            : request.responseBody || 'Failed to load';\n        const domainContext = {\n            isAborted: request.isAborted,\n            handlingStack: request.handlingStack,\n        };\n        lifeCycle.notify(0 /* LifeCycleEventType.RAW_LOG_COLLECTED */, {\n            rawLogsEvent: {\n                message: `${format(type)} error ${request.method} ${request.url}`,\n                date: request.startClocks.timeStamp,\n                error: {\n                    stack: safeTruncate(stack, configuration.requestErrorResponseLengthLimit, '...'),\n                    // We don't know if the error was handled or not, so we set it to undefined\n                    handling: undefined,\n                },\n                http: {\n                    method: request.method, // Cast resource method because of case mismatch cf issue RUMF-1152\n                    status_code: request.status,\n                    url: request.url,\n                },\n                status: StatusType.error,\n                origin: ErrorSource.NETWORK,\n            },\n            domainContext,\n        });\n    }\n    return {\n        stop: () => {\n            xhrSubscription.unsubscribe();\n            fetchSubscription.unsubscribe();\n        },\n    };\n}\nfunction isRejected(request) {\n    return request.status === 0 && request.responseType !== 'opaque';\n}\nfunction format(type) {\n    if (RequestType.XHR === type) {\n        return 'XHR';\n    }\n    return 'Fetch';\n}\n//# sourceMappingURL=networkErrorCollection.js.map","import { AbstractLifeCycle } from '@datadog/browser-core';\nexport const LifeCycle = (AbstractLifeCycle);\n//# sourceMappingURL=lifeCycle.js.map","// eslint-disable-next-line no-restricted-syntax\nexport class AbstractLifeCycle {\n    constructor() {\n        this.callbacks = {};\n    }\n    notify(eventType, data) {\n        const eventCallbacks = this.callbacks[eventType];\n        if (eventCallbacks) {\n            eventCallbacks.forEach((callback) => callback(data));\n        }\n    }\n    subscribe(eventType, callback) {\n        if (!this.callbacks[eventType]) {\n            this.callbacks[eventType] = [];\n        }\n        this.callbacks[eventType].push(callback);\n        return {\n            unsubscribe: () => {\n                this.callbacks[eventType] = this.callbacks[eventType].filter((other) => callback !== other);\n            },\n        };\n    }\n}\n//# sourceMappingURL=abstractLifeCycle.js.map","import { combine, ErrorSource, timeStampNow, originalConsoleMethods, globalConsole, ConsoleApiName, } from '@datadog/browser-core';\nimport { HandlerType } from '../logger';\nimport { isAuthorized, StatusType } from './isAuthorized';\nexport function startLoggerCollection(lifeCycle) {\n    function handleLog(logsMessage, logger, handlingStack, savedCommonContext, savedDate) {\n        const messageContext = combine(logger.getContext(), logsMessage.context);\n        if (isAuthorized(logsMessage.status, HandlerType.console, logger)) {\n            displayInConsole(logsMessage, messageContext);\n        }\n        if (isAuthorized(logsMessage.status, HandlerType.http, logger)) {\n            const rawLogEventData = {\n                rawLogsEvent: {\n                    date: savedDate || timeStampNow(),\n                    message: logsMessage.message,\n                    status: logsMessage.status,\n                    origin: ErrorSource.LOGGER,\n                },\n                messageContext,\n                savedCommonContext,\n                ddtags: logger.getTags(),\n            };\n            if (handlingStack) {\n                rawLogEventData.domainContext = { handlingStack };\n            }\n            lifeCycle.notify(0 /* LifeCycleEventType.RAW_LOG_COLLECTED */, rawLogEventData);\n        }\n    }\n    return {\n        handleLog,\n    };\n}\nconst loggerToConsoleApiName = {\n    [StatusType.ok]: ConsoleApiName.debug,\n    [StatusType.debug]: ConsoleApiName.debug,\n    [StatusType.info]: ConsoleApiName.info,\n    [StatusType.notice]: ConsoleApiName.info,\n    [StatusType.warn]: ConsoleApiName.warn,\n    [StatusType.error]: ConsoleApiName.error,\n    [StatusType.critical]: ConsoleApiName.error,\n    [StatusType.alert]: ConsoleApiName.error,\n    [StatusType.emerg]: ConsoleApiName.error,\n};\nfunction displayInConsole({ status, message }, messageContext) {\n    originalConsoleMethods[loggerToConsoleApiName[status]].call(globalConsole, message, messageContext);\n}\n//# sourceMappingURL=loggerCollection.js.map","import { sendToExtension, createPageMayExitObservable, willSyntheticsInjectRum, canUseEventBridge, startAccountContext, startGlobalContext, startUserContext, } from '@datadog/browser-core';\nimport { startLogsSessionManager, startLogsSessionManagerStub } from '../domain/logsSessionManager';\nimport { startLogsAssembly } from '../domain/assembly';\nimport { startConsoleCollection } from '../domain/console/consoleCollection';\nimport { startReportCollection } from '../domain/report/reportCollection';\nimport { startNetworkErrorCollection } from '../domain/networkError/networkErrorCollection';\nimport { startRuntimeErrorCollection } from '../domain/runtimeError/runtimeErrorCollection';\nimport { LifeCycle } from '../domain/lifeCycle';\nimport { startLoggerCollection } from '../domain/logger/loggerCollection';\nimport { startLogsBatch } from '../transport/startLogsBatch';\nimport { startLogsBridge } from '../transport/startLogsBridge';\nimport { startInternalContext } from '../domain/contexts/internalContext';\nimport { startReportError } from '../domain/reportError';\nimport { startRUMInternalContext } from '../domain/contexts/rumInternalContext';\nimport { startSessionContext } from '../domain/contexts/sessionContext';\nimport { startTrackingConsentContext } from '../domain/contexts/trackingConsentContext';\nconst LOGS_STORAGE_KEY = 'logs';\nexport function startLogs(configuration, getCommonContext, \n// `startLogs` and its subcomponents assume tracking consent is granted initially and starts\n// collecting logs unconditionally. As such, `startLogs` should be called with a\n// `trackingConsentState` set to \"granted\".\ntrackingConsentState, bufferedDataObservable, hooks) {\n    const lifeCycle = new LifeCycle();\n    const cleanupTasks = [];\n    lifeCycle.subscribe(1 /* LifeCycleEventType.LOG_COLLECTED */, (log) => sendToExtension('logs', log));\n    const reportError = startReportError(lifeCycle);\n    const pageMayExitObservable = createPageMayExitObservable(configuration);\n    const session = configuration.sessionStoreStrategyType && !canUseEventBridge() && !willSyntheticsInjectRum()\n        ? startLogsSessionManager(configuration, trackingConsentState)\n        : startLogsSessionManagerStub(configuration);\n    startTrackingConsentContext(hooks, trackingConsentState);\n    // Start user and account context first to allow overrides from global context\n    startSessionContext(hooks, configuration, session);\n    const accountContext = startAccountContext(hooks, configuration, LOGS_STORAGE_KEY);\n    const userContext = startUserContext(hooks, configuration, session, LOGS_STORAGE_KEY);\n    const globalContext = startGlobalContext(hooks, configuration, LOGS_STORAGE_KEY, false);\n    startRUMInternalContext(hooks);\n    startNetworkErrorCollection(configuration, lifeCycle);\n    startRuntimeErrorCollection(configuration, lifeCycle, bufferedDataObservable);\n    bufferedDataObservable.unbuffer();\n    startConsoleCollection(configuration, lifeCycle);\n    startReportCollection(configuration, lifeCycle);\n    const { handleLog } = startLoggerCollection(lifeCycle);\n    startLogsAssembly(configuration, lifeCycle, hooks, getCommonContext, reportError);\n    if (!canUseEventBridge()) {\n        const { stop: stopLogsBatch } = startLogsBatch(configuration, lifeCycle, reportError, pageMayExitObservable, session);\n        cleanupTasks.push(() => stopLogsBatch());\n    }\n    else {\n        startLogsBridge(lifeCycle);\n    }\n    const internalContext = startInternalContext(session);\n    return {\n        handleLog,\n        getInternalContext: internalContext.get,\n        accountContext,\n        globalContext,\n        userContext,\n        stop: () => {\n            cleanupTasks.forEach((task) => task());\n        },\n    };\n}\n//# sourceMappingURL=startLogs.js.map","import { ErrorSource, addTelemetryDebug } from '@datadog/browser-core';\nimport { StatusType } from './logger/isAuthorized';\nexport function startReportError(lifeCycle) {\n    return (error) => {\n        lifeCycle.notify(0 /* LifeCycleEventType.RAW_LOG_COLLECTED */, {\n            rawLogsEvent: {\n                message: error.message,\n                date: error.startClocks.timeStamp,\n                origin: ErrorSource.AGENT,\n                status: StatusType.error,\n            },\n        });\n        // monitor-until: forever, to keep an eye on the errors reported to customers\n        addTelemetryDebug('Error reported to customer', { 'error.message': error.message });\n    };\n}\n//# sourceMappingURL=reportError.js.map","import { DISCARDED, SKIPPED } from '@datadog/browser-core';\nexport function startTrackingConsentContext(hooks, trackingConsentState) {\n    function isConsented() {\n        const wasConsented = trackingConsentState.isGranted();\n        if (!wasConsented) {\n            return DISCARDED;\n        }\n        return SKIPPED;\n    }\n    hooks.register(0 /* HookNames.Assemble */, isConsented);\n    hooks.register(1 /* HookNames.AssembleTelemetry */, isConsented);\n}\n//# sourceMappingURL=trackingConsentContext.js.map","import { DISCARDED, SKIPPED } from '@datadog/browser-core';\nexport function startSessionContext(hooks, configuration, sessionManager) {\n    hooks.register(0 /* HookNames.Assemble */, ({ startTime }) => {\n        const session = sessionManager.findTrackedSession(startTime);\n        const isSessionTracked = sessionManager.findTrackedSession(startTime, { returnInactive: true });\n        if (!isSessionTracked) {\n            return DISCARDED;\n        }\n        return {\n            service: configuration.service,\n            session_id: session ? session.id : undefined,\n            session: session ? { id: session.id } : undefined,\n        };\n    });\n    hooks.register(1 /* HookNames.AssembleTelemetry */, ({ startTime }) => {\n        const session = sessionManager.findTrackedSession(startTime);\n        if (!session || !session.id) {\n            return SKIPPED;\n        }\n        return {\n            session: { id: session.id },\n        };\n    });\n}\n//# sourceMappingURL=sessionContext.js.map","import { globalObject, willSyntheticsInjectRum, SKIPPED } from '@datadog/browser-core';\nexport function startRUMInternalContext(hooks) {\n    const browserWindow = globalObject;\n    hooks.register(0 /* HookNames.Assemble */, ({ startTime }) => {\n        const internalContext = getRUMInternalContext(startTime);\n        if (!internalContext) {\n            return SKIPPED;\n        }\n        return internalContext;\n    });\n    hooks.register(1 /* HookNames.AssembleTelemetry */, ({ startTime }) => {\n        var _a, _b;\n        const internalContext = getRUMInternalContext(startTime);\n        if (!internalContext) {\n            return SKIPPED;\n        }\n        return {\n            application: { id: internalContext.application_id },\n            view: { id: (_a = internalContext.view) === null || _a === void 0 ? void 0 : _a.id },\n            action: { id: (_b = internalContext.user_action) === null || _b === void 0 ? void 0 : _b.id },\n        };\n    });\n    function getRUMInternalContext(startTime) {\n        const willSyntheticsInjectRumResult = willSyntheticsInjectRum();\n        const rumSource = willSyntheticsInjectRumResult ? browserWindow.DD_RUM_SYNTHETICS : browserWindow.DD_RUM;\n        const rumContext = getInternalContextFromRumGlobal(startTime, rumSource);\n        if (rumContext) {\n            return rumContext;\n        }\n    }\n    function getInternalContextFromRumGlobal(startTime, rumGlobal) {\n        if (rumGlobal && rumGlobal.getInternalContext) {\n            return rumGlobal.getInternalContext(startTime);\n        }\n    }\n}\n//# sourceMappingURL=rumInternalContext.js.map","import { noop, ErrorSource } from '@datadog/browser-core';\nimport { StatusType } from '../logger/isAuthorized';\nimport { createErrorFieldFromRawError } from '../createErrorFieldFromRawError';\nexport function startRuntimeErrorCollection(configuration, lifeCycle, bufferedDataObservable) {\n    if (!configuration.forwardErrorsToLogs) {\n        return { stop: noop };\n    }\n    const rawErrorSubscription = bufferedDataObservable.subscribe((bufferedData) => {\n        if (bufferedData.type === 0 /* BufferedDataType.RUNTIME_ERROR */) {\n            const error = bufferedData.error;\n            lifeCycle.notify(0 /* LifeCycleEventType.RAW_LOG_COLLECTED */, {\n                rawLogsEvent: {\n                    message: error.message,\n                    date: error.startClocks.timeStamp,\n                    error: createErrorFieldFromRawError(error),\n                    origin: ErrorSource.SOURCE,\n                    status: StatusType.error,\n                },\n                messageContext: error.context,\n            });\n        }\n    });\n    return {\n        stop: () => {\n            rawErrorSubscription.unsubscribe();\n        },\n    };\n}\n//# sourceMappingURL=runtimeErrorCollection.js.map","import { timeStampNow, ErrorSource, getFileFromStackTraceString, initReportObservable } from '@datadog/browser-core';\nimport { StatusType } from '../logger/isAuthorized';\nimport { createErrorFieldFromRawError } from '../createErrorFieldFromRawError';\nexport function startReportCollection(configuration, lifeCycle) {\n    const reportSubscription = initReportObservable(configuration, configuration.forwardReports).subscribe((rawError) => {\n        let message = rawError.message;\n        let error;\n        const status = rawError.originalError.type === 'deprecation' ? StatusType.warn : StatusType.error;\n        if (status === StatusType.error) {\n            error = createErrorFieldFromRawError(rawError);\n        }\n        else if (rawError.stack) {\n            message += ` Found in ${getFileFromStackTraceString(rawError.stack)}`;\n        }\n        lifeCycle.notify(0 /* LifeCycleEventType.RAW_LOG_COLLECTED */, {\n            rawLogsEvent: {\n                date: timeStampNow(),\n                message,\n                origin: ErrorSource.REPORT,\n                error,\n                status,\n            },\n        });\n    });\n    return {\n        stop: () => {\n            reportSubscription.unsubscribe();\n        },\n    };\n}\n//# sourceMappingURL=reportCollection.js.map","import { getEventBridge } from '@datadog/browser-core';\nexport function startLogsBridge(lifeCycle) {\n    const bridge = getEventBridge();\n    lifeCycle.subscribe(1 /* LifeCycleEventType.LOG_COLLECTED */, (serverLogsEvent) => {\n        bridge.send('log', serverLogsEvent);\n    });\n}\n//# sourceMappingURL=startLogsBridge.js.map","import { createBatch, createFlushController, createHttpRequest, createIdentityEncoder } from '@datadog/browser-core';\nexport function startLogsBatch(configuration, lifeCycle, reportError, pageMayExitObservable, session) {\n    const endpoints = [configuration.logsEndpointBuilder];\n    if (configuration.replica) {\n        endpoints.push(configuration.replica.logsEndpointBuilder);\n    }\n    const batch = createBatch({\n        encoder: createIdentityEncoder(),\n        request: createHttpRequest(endpoints, reportError),\n        flushController: createFlushController({\n            pageMayExitObservable,\n            sessionExpireObservable: session.expireObservable,\n        }),\n    });\n    lifeCycle.subscribe(1 /* LifeCycleEventType.LOG_COLLECTED */, (serverLogsEvent) => {\n        batch.add(serverLogsEvent);\n    });\n    return batch;\n}\n//# sourceMappingURL=startLogsBatch.js.map","export function startInternalContext(sessionManager) {\n    return {\n        get: (startTime) => {\n            const trackedSession = sessionManager.findTrackedSession(startTime);\n            if (trackedSession) {\n                return {\n                    session_id: trackedSession.id,\n                };\n            }\n        },\n    };\n}\n//# sourceMappingURL=internalContext.js.map","import { abstractHooks } from '@datadog/browser-core';\nexport const createHooks = (abstractHooks);\n//# sourceMappingURL=hooks.js.map","export const EXTENSION_PREFIXES = ['chrome-extension://', 'moz-extension://'];\nexport function containsExtensionUrl(str) {\n    return EXTENSION_PREFIXES.some((prefix) => str.includes(prefix));\n}\n/**\n * Utility function to detect if the SDK is being initialized in an unsupported browser extension environment.\n *\n * @param windowLocation - The current window location to check\n * @param stack - The error stack to check for extension URLs\n * @returns true if running in an unsupported browser extension environment\n */\nexport function isUnsupportedExtensionEnvironment(windowLocation, stack = '') {\n    // If the page itself is an extension page.\n    if (containsExtensionUrl(windowLocation)) {\n        return false;\n    }\n    // Since we generate the error on the init, we check the 2nd frame line.\n    const frameLines = stack.split('\\n').filter((line) => {\n        const trimmedLine = line.trim();\n        return trimmedLine.length && /^at\\s+|@/.test(trimmedLine);\n    });\n    const target = frameLines[1] || '';\n    return containsExtensionUrl(target);\n}\n//# sourceMappingURL=extensionUtils.js.map","import { catchUserErrors } from '../../tools/catchUserErrors';\nimport { DOCS_ORIGIN, MORE_DETAILS, display } from '../../tools/display';\nimport { isPercentage } from '../../tools/utils/numberUtils';\nimport { objectHasValue } from '../../tools/utils/objectUtils';\nimport { selectSessionStoreStrategyType } from '../session/sessionStore';\nimport { TrackingConsent } from '../trackingConsent';\nimport { isAllowedTrackingOrigins } from '../allowedTrackingOrigins';\nimport { isWorkerEnvironment } from '../../tools/globalObject';\nimport { computeTransportConfiguration } from './transportConfiguration';\n/**\n * Default privacy level for the browser SDK.\n *\n * [Replay Privacy Options](https://docs.datadoghq.com/real_user_monitoring/session_replay/browser/privacy_options) for further information.\n */\nexport const DefaultPrivacyLevel = {\n    ALLOW: 'allow',\n    MASK: 'mask',\n    MASK_USER_INPUT: 'mask-user-input',\n    MASK_UNLESS_ALLOWLISTED: 'mask-unless-allowlisted',\n};\n/**\n * Trace context injection option.\n *\n * See [Connect RUM and Traces](https://docs.datadoghq.com/real_user_monitoring/platform/connect_rum_and_traces/?tab=browserrum) for further information.\n */\nexport const TraceContextInjection = {\n    ALL: 'all',\n    SAMPLED: 'sampled',\n};\nfunction isString(tag, tagName) {\n    if (tag !== undefined && tag !== null && typeof tag !== 'string') {\n        display.error(`${tagName} must be defined as a string`);\n        return false;\n    }\n    return true;\n}\nfunction isDatadogSite(site) {\n    if (site && typeof site === 'string' && !/(datadog|ddog|datad0g|dd0g)/.test(site)) {\n        display.error(`Site should be a valid Datadog site. ${MORE_DETAILS} ${DOCS_ORIGIN}/getting_started/site/.`);\n        return false;\n    }\n    return true;\n}\nexport function isSampleRate(sampleRate, name) {\n    if (sampleRate !== undefined && !isPercentage(sampleRate)) {\n        display.error(`${name} Sample Rate should be a number between 0 and 100`);\n        return false;\n    }\n    return true;\n}\nexport function validateAndBuildConfiguration(initConfiguration, errorStack) {\n    var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;\n    if (!initConfiguration || !initConfiguration.clientToken) {\n        display.error('Client Token is not configured, we will not send any data.');\n        return;\n    }\n    if (initConfiguration.allowedTrackingOrigins !== undefined &&\n        !Array.isArray(initConfiguration.allowedTrackingOrigins)) {\n        display.error('Allowed Tracking Origins must be an array');\n        return;\n    }\n    if (!isDatadogSite(initConfiguration.site) ||\n        !isSampleRate(initConfiguration.sessionSampleRate, 'Session') ||\n        !isSampleRate(initConfiguration.telemetrySampleRate, 'Telemetry') ||\n        !isSampleRate(initConfiguration.telemetryConfigurationSampleRate, 'Telemetry Configuration') ||\n        !isSampleRate(initConfiguration.telemetryUsageSampleRate, 'Telemetry Usage') ||\n        !isString(initConfiguration.version, 'Version') ||\n        !isString(initConfiguration.env, 'Env') ||\n        !isString(initConfiguration.service, 'Service') ||\n        !isAllowedTrackingOrigins(initConfiguration, errorStack !== null && errorStack !== void 0 ? errorStack : '')) {\n        return;\n    }\n    if (initConfiguration.trackingConsent !== undefined &&\n        !objectHasValue(TrackingConsent, initConfiguration.trackingConsent)) {\n        display.error('Tracking Consent should be either \"granted\" or \"not-granted\"');\n        return;\n    }\n    return {\n        beforeSend: initConfiguration.beforeSend && catchUserErrors(initConfiguration.beforeSend, 'beforeSend threw an error:'),\n        sessionStoreStrategyType: isWorkerEnvironment ? undefined : selectSessionStoreStrategyType(initConfiguration),\n        sessionSampleRate: (_a = initConfiguration.sessionSampleRate) !== null && _a !== void 0 ? _a : 100,\n        telemetrySampleRate: (_b = initConfiguration.telemetrySampleRate) !== null && _b !== void 0 ? _b : 20,\n        telemetryConfigurationSampleRate: (_c = initConfiguration.telemetryConfigurationSampleRate) !== null && _c !== void 0 ? _c : 5,\n        telemetryUsageSampleRate: (_d = initConfiguration.telemetryUsageSampleRate) !== null && _d !== void 0 ? _d : 5,\n        service: (_e = initConfiguration.service) !== null && _e !== void 0 ? _e : undefined,\n        env: (_f = initConfiguration.env) !== null && _f !== void 0 ? _f : undefined,\n        version: (_g = initConfiguration.version) !== null && _g !== void 0 ? _g : undefined,\n        datacenter: (_h = initConfiguration.datacenter) !== null && _h !== void 0 ? _h : undefined,\n        silentMultipleInit: !!initConfiguration.silentMultipleInit,\n        allowUntrustedEvents: !!initConfiguration.allowUntrustedEvents,\n        trackingConsent: (_j = initConfiguration.trackingConsent) !== null && _j !== void 0 ? _j : TrackingConsent.GRANTED,\n        trackAnonymousUser: (_k = initConfiguration.trackAnonymousUser) !== null && _k !== void 0 ? _k : true,\n        storeContextsAcrossPages: !!initConfiguration.storeContextsAcrossPages,\n        betaEncodeCookieOptions: !!initConfiguration.betaEncodeCookieOptions,\n        /**\n         * The source of the SDK, used for support plugins purposes.\n         */\n        variant: initConfiguration.variant,\n        sdkVersion: initConfiguration.sdkVersion,\n        ...computeTransportConfiguration(initConfiguration),\n    };\n}\nexport function serializeConfiguration(initConfiguration) {\n    return {\n        session_sample_rate: initConfiguration.sessionSampleRate,\n        telemetry_sample_rate: initConfiguration.telemetrySampleRate,\n        telemetry_configuration_sample_rate: initConfiguration.telemetryConfigurationSampleRate,\n        telemetry_usage_sample_rate: initConfiguration.telemetryUsageSampleRate,\n        use_before_send: !!initConfiguration.beforeSend,\n        use_partitioned_cross_site_session_cookie: initConfiguration.usePartitionedCrossSiteSessionCookie,\n        use_secure_session_cookie: initConfiguration.useSecureSessionCookie,\n        use_proxy: !!initConfiguration.proxy,\n        silent_multiple_init: initConfiguration.silentMultipleInit,\n        track_session_across_subdomains: initConfiguration.trackSessionAcrossSubdomains,\n        track_anonymous_user: initConfiguration.trackAnonymousUser,\n        session_persistence: Array.isArray(initConfiguration.sessionPersistence)\n            ? initConfiguration.sessionPersistence[0]\n            : initConfiguration.sessionPersistence,\n        allow_fallback_to_local_storage: !!initConfiguration.allowFallbackToLocalStorage,\n        store_contexts_across_pages: !!initConfiguration.storeContextsAcrossPages,\n        allow_untrusted_events: !!initConfiguration.allowUntrustedEvents,\n        tracking_consent: initConfiguration.trackingConsent,\n        use_allowed_tracking_origins: Array.isArray(initConfiguration.allowedTrackingOrigins),\n        beta_encode_cookie_options: initConfiguration.betaEncodeCookieOptions,\n        source: initConfiguration.source,\n        sdk_version: initConfiguration.sdkVersion,\n        variant: initConfiguration.variant,\n    };\n}\n//# sourceMappingURL=configuration.js.map","import { display } from '../tools/display';\nimport { getGlobalObject } from '../tools/globalObject';\nimport { matchList } from '../tools/matchOption';\nimport { mockable } from '../tools/mockable';\nimport { isUnsupportedExtensionEnvironment } from './extension/extensionUtils';\nexport const ERROR_DOES_NOT_HAVE_ALLOWED_TRACKING_ORIGIN = 'Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided.';\nexport const ERROR_NOT_ALLOWED_TRACKING_ORIGIN = 'SDK initialized on a non-allowed domain.';\nexport function isAllowedTrackingOrigins(configuration, errorStack) {\n    const location = mockable(getGlobalObject().location);\n    const windowOrigin = location ? location.origin : '';\n    const allowedTrackingOrigins = configuration.allowedTrackingOrigins;\n    if (!allowedTrackingOrigins) {\n        if (isUnsupportedExtensionEnvironment(windowOrigin, errorStack)) {\n            display.error(ERROR_DOES_NOT_HAVE_ALLOWED_TRACKING_ORIGIN);\n            return false;\n        }\n        return true;\n    }\n    const isAllowed = matchList(allowedTrackingOrigins, windowOrigin);\n    if (!isAllowed) {\n        display.error(ERROR_NOT_ALLOWED_TRACKING_ORIGIN);\n    }\n    return isAllowed;\n}\n//# sourceMappingURL=allowedTrackingOrigins.js.map","import { display } from './display';\nimport { getType } from './utils/typeUtils';\nexport function isMatchOption(item) {\n    const itemType = getType(item);\n    return itemType === 'string' || itemType === 'function' || item instanceof RegExp;\n}\n/**\n * Returns true if value can be matched by at least one of the provided MatchOptions.\n * When comparing strings, setting useStartsWith to true will compare the value with the start of\n * the option, instead of requiring an exact match.\n */\nexport function matchList(list, value, useStartsWith = false) {\n    return list.some((item) => {\n        try {\n            if (typeof item === 'function') {\n                return item(value);\n            }\n            else if (item instanceof RegExp) {\n                return item.test(value);\n            }\n            else if (typeof item === 'string') {\n                return useStartsWith ? value.startsWith(item) : item === value;\n            }\n        }\n        catch (e) {\n            display.error(e);\n        }\n        return false;\n    });\n}\n//# sourceMappingURL=matchOption.js.map","import { serializeConfiguration, ONE_KIBI_BYTE, validateAndBuildConfiguration, display, removeDuplicates, ConsoleApiName, RawReportType, objectValues, } from '@datadog/browser-core';\n/**\n * arbitrary value, byte precision not needed\n */\nexport const DEFAULT_REQUEST_ERROR_RESPONSE_LENGTH_LIMIT = 32 * ONE_KIBI_BYTE;\nexport function validateAndBuildLogsConfiguration(initConfiguration, errorStack) {\n    if (initConfiguration.usePciIntake === true && initConfiguration.site && initConfiguration.site !== 'datadoghq.com') {\n        display.warn('PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.');\n    }\n    const baseConfiguration = validateAndBuildConfiguration(initConfiguration, errorStack);\n    const forwardConsoleLogs = validateAndBuildForwardOption(initConfiguration.forwardConsoleLogs, objectValues(ConsoleApiName), 'Forward Console Logs');\n    const forwardReports = validateAndBuildForwardOption(initConfiguration.forwardReports, objectValues(RawReportType), 'Forward Reports');\n    if (!baseConfiguration || !forwardConsoleLogs || !forwardReports) {\n        return;\n    }\n    if (initConfiguration.forwardErrorsToLogs && !forwardConsoleLogs.includes(ConsoleApiName.error)) {\n        forwardConsoleLogs.push(ConsoleApiName.error);\n    }\n    return {\n        forwardErrorsToLogs: initConfiguration.forwardErrorsToLogs !== false,\n        forwardConsoleLogs,\n        forwardReports,\n        requestErrorResponseLengthLimit: DEFAULT_REQUEST_ERROR_RESPONSE_LENGTH_LIMIT,\n        ...baseConfiguration,\n    };\n}\nexport function validateAndBuildForwardOption(option, allowedValues, label) {\n    if (option === undefined) {\n        return [];\n    }\n    if (!(option === 'all' || (Array.isArray(option) && option.every((api) => allowedValues.includes(api))))) {\n        display.error(`${label} should be \"all\" or an array with allowed values \"${allowedValues.join('\", \"')}\"`);\n        return;\n    }\n    return option === 'all' ? allowedValues : removeDuplicates(option);\n}\nexport function serializeLogsConfiguration(configuration) {\n    const baseSerializedInitConfiguration = serializeConfiguration(configuration);\n    return {\n        forward_errors_to_logs: configuration.forwardErrorsToLogs,\n        forward_console_logs: configuration.forwardConsoleLogs,\n        forward_reports: configuration.forwardReports,\n        use_pci_intake: configuration.usePciIntake,\n        ...baseSerializedInitConfiguration,\n    };\n}\n//# sourceMappingURL=configuration.js.map","import { createBoundedBuffer, canUseEventBridge, display, displayAlreadyInitializedError, initFeatureFlags, initFetchObservable, noop, timeStampNow, buildAccountContextManager, CustomerContextKey, bufferContextCalls, addTelemetryConfiguration, buildGlobalContextManager, buildUserContextManager, startTelemetry, mockable, } from '@datadog/browser-core';\nimport { createHooks } from '../domain/hooks';\nimport { serializeLogsConfiguration, validateAndBuildLogsConfiguration } from '../domain/configuration';\nexport function createPreStartStrategy(getCommonContext, trackingConsentState, doStartLogs) {\n    const bufferApiCalls = createBoundedBuffer();\n    // TODO next major: remove the globalContext, accountContextManager, userContext from preStartStrategy and use an empty context instead\n    const globalContext = buildGlobalContextManager();\n    bufferContextCalls(globalContext, CustomerContextKey.globalContext, bufferApiCalls);\n    const accountContext = buildAccountContextManager();\n    bufferContextCalls(accountContext, CustomerContextKey.accountContext, bufferApiCalls);\n    const userContext = buildUserContextManager();\n    bufferContextCalls(userContext, CustomerContextKey.userContext, bufferApiCalls);\n    let cachedInitConfiguration;\n    let cachedConfiguration;\n    const hooks = createHooks();\n    const trackingConsentStateSubscription = trackingConsentState.observable.subscribe(tryStartLogs);\n    function tryStartLogs() {\n        if (!cachedConfiguration || !cachedInitConfiguration || !trackingConsentState.isGranted()) {\n            return;\n        }\n        mockable(startTelemetry)(\"browser-logs-sdk\" /* TelemetryService.LOGS */, cachedConfiguration, hooks);\n        trackingConsentStateSubscription.unsubscribe();\n        const startLogsResult = doStartLogs(cachedInitConfiguration, cachedConfiguration, hooks);\n        bufferApiCalls.drain(startLogsResult);\n    }\n    return {\n        init(initConfiguration, errorStack) {\n            if (!initConfiguration) {\n                display.error('Missing configuration');\n                return;\n            }\n            // Set the experimental feature flags as early as possible, so we can use them in most places\n            initFeatureFlags(initConfiguration.enableExperimentalFeatures);\n            if (canUseEventBridge()) {\n                initConfiguration = overrideInitConfigurationForBridge(initConfiguration);\n            }\n            // Expose the initial configuration regardless of initialization success.\n            cachedInitConfiguration = initConfiguration;\n            addTelemetryConfiguration(serializeLogsConfiguration(initConfiguration));\n            if (cachedConfiguration) {\n                displayAlreadyInitializedError('DD_LOGS', initConfiguration);\n                return;\n            }\n            const configuration = validateAndBuildLogsConfiguration(initConfiguration, errorStack);\n            if (!configuration) {\n                return;\n            }\n            cachedConfiguration = configuration;\n            // Instrument fetch to track network requests\n            // This is needed in case the consent is not granted and some customer\n            // library (Apollo Client) is storing uninstrumented fetch to be used later\n            // The subscrption is needed so that the instrumentation process is completed\n            initFetchObservable().subscribe(noop);\n            trackingConsentState.tryToInit(configuration.trackingConsent);\n            tryStartLogs();\n        },\n        get initConfiguration() {\n            return cachedInitConfiguration;\n        },\n        globalContext,\n        accountContext,\n        userContext,\n        getInternalContext: noop,\n        handleLog(message, statusType, handlingStack, context = getCommonContext(), date = timeStampNow()) {\n            bufferApiCalls.add((startLogsResult) => startLogsResult.handleLog(message, statusType, handlingStack, context, date));\n        },\n    };\n}\nfunction overrideInitConfigurationForBridge(initConfiguration) {\n    return { ...initConfiguration, clientToken: 'empty' };\n}\n//# sourceMappingURL=preStartLogs.js.map","import { removeItem } from './utils/arrayUtils';\nconst BUFFER_LIMIT = 500;\n/**\n * createBoundedBuffer creates a BoundedBuffer.\n *\n * @deprecated Use `BufferedObservable` instead.\n */\nexport function createBoundedBuffer() {\n    const buffer = [];\n    const add = (callback) => {\n        const length = buffer.push(callback);\n        if (length > BUFFER_LIMIT) {\n            buffer.splice(0, 1);\n        }\n    };\n    const remove = (callback) => {\n        removeItem(buffer, callback);\n    };\n    const drain = (arg) => {\n        buffer.forEach((callback) => callback(arg));\n        buffer.length = 0;\n    };\n    return {\n        add,\n        remove,\n        drain,\n    };\n}\n//# sourceMappingURL=boundedBuffer.js.map","/**\n *\n * Datadog Browser Logs SDK for collecting and forwarding browser logs to Datadog.\n * Provides comprehensive logging capabilities with automatic error tracking and custom log collection.\n *\n * @packageDocumentation\n * @see [Browser Log Collection](https://docs.datadoghq.com/logs/log_collection/javascript/)\n */\nimport { defineGlobal, getGlobalObject } from '@datadog/browser-core';\nimport { makeLogsPublicApi } from '../boot/logsPublicApi';\nexport { Logger, HandlerType } from '../domain/logger';\nexport { StatusType } from '../domain/logger/isAuthorized';\n/**\n * The global Logs instance. Use this to call Logs methods.\n *\n * @category Main\n * @see {@link DatadogLogs}\n * @see [Browser Log Collection](https://docs.datadoghq.com/logs/log_collection/javascript/)\n */\nexport const datadogLogs = makeLogsPublicApi();\ndefineGlobal(getGlobalObject(), 'DD_LOGS', datadogLogs);\n//# sourceMappingURL=main.js.map","import { ContextManagerMethod, CustomerContextKey, addTelemetryUsage, makePublicApi, monitor, sanitize, displayAlreadyInitializedError, deepClone, createTrackingConsentState, defineContextMethod, startBufferingData, callMonitored, mockable, } from '@datadog/browser-core';\nimport { Logger } from '../domain/logger';\nimport { buildCommonContext } from '../domain/contexts/commonContext';\nimport { startLogs } from './startLogs';\nimport { createPreStartStrategy } from './preStartLogs';\nexport function makeLogsPublicApi() {\n    const trackingConsentState = createTrackingConsentState();\n    const bufferedDataObservable = startBufferingData().observable;\n    let strategy = createPreStartStrategy(buildCommonContext, trackingConsentState, (initConfiguration, configuration, hooks) => {\n        const startLogsResult = mockable(startLogs)(configuration, buildCommonContext, trackingConsentState, bufferedDataObservable, hooks);\n        strategy = createPostStartStrategy(initConfiguration, startLogsResult);\n        return startLogsResult;\n    });\n    const getStrategy = () => strategy;\n    const customLoggers = {};\n    const mainLogger = new Logger((...params) => strategy.handleLog(...params));\n    return makePublicApi({\n        logger: mainLogger,\n        init: (initConfiguration) => {\n            const errorStack = new Error().stack;\n            callMonitored(() => strategy.init(initConfiguration, errorStack));\n        },\n        setTrackingConsent: monitor((trackingConsent) => {\n            trackingConsentState.update(trackingConsent);\n            addTelemetryUsage({ feature: 'set-tracking-consent', tracking_consent: trackingConsent });\n        }),\n        getGlobalContext: defineContextMethod(getStrategy, CustomerContextKey.globalContext, ContextManagerMethod.getContext),\n        setGlobalContext: defineContextMethod(getStrategy, CustomerContextKey.globalContext, ContextManagerMethod.setContext),\n        setGlobalContextProperty: defineContextMethod(getStrategy, CustomerContextKey.globalContext, ContextManagerMethod.setContextProperty),\n        removeGlobalContextProperty: defineContextMethod(getStrategy, CustomerContextKey.globalContext, ContextManagerMethod.removeContextProperty),\n        clearGlobalContext: defineContextMethod(getStrategy, CustomerContextKey.globalContext, ContextManagerMethod.clearContext),\n        createLogger: monitor((name, conf = {}) => {\n            customLoggers[name] = new Logger((...params) => strategy.handleLog(...params), sanitize(name), conf.handler, conf.level, sanitize(conf.context));\n            return customLoggers[name];\n        }),\n        getLogger: monitor((name) => customLoggers[name]),\n        getInitConfiguration: monitor(() => deepClone(strategy.initConfiguration)),\n        getInternalContext: monitor((startTime) => strategy.getInternalContext(startTime)),\n        setUser: defineContextMethod(getStrategy, CustomerContextKey.userContext, ContextManagerMethod.setContext),\n        getUser: defineContextMethod(getStrategy, CustomerContextKey.userContext, ContextManagerMethod.getContext),\n        setUserProperty: defineContextMethod(getStrategy, CustomerContextKey.userContext, ContextManagerMethod.setContextProperty),\n        removeUserProperty: defineContextMethod(getStrategy, CustomerContextKey.userContext, ContextManagerMethod.removeContextProperty),\n        clearUser: defineContextMethod(getStrategy, CustomerContextKey.userContext, ContextManagerMethod.clearContext),\n        setAccount: defineContextMethod(getStrategy, CustomerContextKey.accountContext, ContextManagerMethod.setContext),\n        getAccount: defineContextMethod(getStrategy, CustomerContextKey.accountContext, ContextManagerMethod.getContext),\n        setAccountProperty: defineContextMethod(getStrategy, CustomerContextKey.accountContext, ContextManagerMethod.setContextProperty),\n        removeAccountProperty: defineContextMethod(getStrategy, CustomerContextKey.accountContext, ContextManagerMethod.removeContextProperty),\n        clearAccount: defineContextMethod(getStrategy, CustomerContextKey.accountContext, ContextManagerMethod.clearContext),\n    });\n}\nfunction createPostStartStrategy(initConfiguration, startLogsResult) {\n    return {\n        init: (initConfiguration) => {\n            displayAlreadyInitializedError('DD_LOGS', initConfiguration);\n        },\n        initConfiguration,\n        ...startLogsResult,\n    };\n}\n//# sourceMappingURL=logsPublicApi.js.map","import { BufferedObservable } from '../tools/observable';\nimport { mockable } from '../tools/mockable';\nimport { trackRuntimeError } from './error/trackRuntimeError';\nconst BUFFER_LIMIT = 500;\nexport function startBufferingData() {\n    const observable = new BufferedObservable(BUFFER_LIMIT);\n    const runtimeErrorSubscription = mockable(trackRuntimeError)().subscribe((error) => {\n        observable.notify({\n            type: 0 /* BufferedDataType.RUNTIME_ERROR */,\n            error,\n        });\n    });\n    return {\n        observable,\n        stop: () => {\n            runtimeErrorSubscription.unsubscribe();\n        },\n    };\n}\n//# sourceMappingURL=bufferedData.js.map","import { catchUserErrors } from '../tools/catchUserErrors';\nimport { setDebugMode } from '../tools/monitor';\nimport { display } from '../tools/display';\nexport function makePublicApi(stub) {\n    const publicApi = {\n        version: \"6.31.0\",\n        // This API method is intentionally not monitored, since the only thing executed is the\n        // user-provided 'callback'.  All SDK usages executed in the callback should be monitored, and\n        // we don't want to interfere with the user uncaught exceptions.\n        onReady(callback) {\n            callback();\n        },\n        ...stub,\n    };\n    // Add a \"hidden\" property to set debug mode. We define it that way to hide it\n    // as much as possible but of course it's not a real protection.\n    Object.defineProperty(publicApi, '_setDebug', {\n        get() {\n            return setDebugMode;\n        },\n        enumerable: false,\n    });\n    return publicApi;\n}\nexport function defineGlobal(global, name, api) {\n    const existingGlobalVariable = global[name];\n    if (existingGlobalVariable && !existingGlobalVariable.q && existingGlobalVariable.version) {\n        display.warn('SDK is loaded more than once. This is unsupported and might have unexpected behavior.');\n    }\n    global[name] = api;\n    if (existingGlobalVariable && existingGlobalVariable.q) {\n        existingGlobalVariable.q.forEach((fn) => catchUserErrors(fn, 'onReady callback threw an error:')());\n    }\n}\n//# sourceMappingURL=init.js.map","import { datadogLogs } from '@datadog/browser-logs';\nimport { FullStory } from '@fullstory/browser';\n\ndatadogLogs.init({\n    clientToken: 'proxied', // Required for init\n    site: 'datadoghq.com',\n    forwardErrorsToLogs: false,\n    sessionSampleRate: 100,\n    service: 'bevspotapp_fe',\n    proxy: '/api/datadog/proxy'\n});\n\ndatadogLogs.setGlobalContext({\n    url: window.location.href,\n    isAdBlockActive: !!window.isAdBlockActive,\n    retailerId: window.GLOBAL_RETAILER_ID || null,\n});\n\nlet callCount = 0;\nlet callCountLastResetTime = Date.now();\n\nfunction toError(error: unknown): Error | undefined {\n    if (error === undefined) {\n        return undefined;\n    }\n    if (error instanceof Error) {\n        return error;\n    }\n    return new Error(\"Non-Error value thrown\", { cause: error });\n}\n\nexport function logJsInfo(message: string, logContext : Record<string, unknown>, error: unknown) {\n    log(message, logContext, error, 'INFO');\n}\n\nexport function logJsWarning(message: string, logContext : Record<string, unknown>, error: unknown) {\n    log(message, logContext, error, 'WARN');\n}\n\nexport function logJsError(message: string, logContext : { isHandled: boolean } & Record<string, unknown>, error: unknown) {\n    log(message, logContext, error, 'ERROR');\n}\n\nfunction log (message: string, logContext : Record<string, unknown>, rawError: unknown, logType: 'INFO' | 'WARN' | 'ERROR') {\n    const error = toError(rawError);\n    // rate limit: some FE code causes error infinite loops and spamming\n    callCount += 1;\n    const now = Date.now();\n    if (now - callCountLastResetTime < 1000) {\n        // current limit: 5/s per client\n        if (callCount >= 5) {\n            return;\n        }\n    } else {\n        callCount = 0;\n        callCountLastResetTime = now;\n    }\n\n    // Add fullstory link to the log\n    try {\n        logContext.fullstory_link = FullStory('getSession', { format: 'url.now' })\n    } catch (e) {\n        // In case of fullstory issues; adblock etc\n    }\n\n    // Validate that datadog logging has been initialized\n    try {\n        if (datadogLogs && datadogLogs.logger) {\n            if (logType === 'INFO') {\n                datadogLogs.logger.info(\n                    message,\n                    logContext,\n                    error\n                );\n            } else if (logType === 'WARN') {\n                datadogLogs.logger.warn(\n                    message,\n                    logContext,\n                    error\n                );\n            } else if (logType === 'ERROR') {\n                datadogLogs.logger.error(\n                    message,\n                    logContext,\n                    error\n                );\n            }\n            return;\n        }\n    } catch (e) {\n        // In case of datadog SDK issues, don't present a user-facing error\n    }\n    // eslint-disable-next-line no-console\n    console.error(\"DataDog SDK not loaded or initialized when an error occurred\");\n    if (error) {\n        // eslint-disable-next-line no-console\n        console.error(error);\n    }\n}","/* eslint-disable no-prototype-builtins */\nvar g =\n  (typeof globalThis !== 'undefined' && globalThis) ||\n  (typeof self !== 'undefined' && self) ||\n  // eslint-disable-next-line no-undef\n  (typeof global !== 'undefined' && global) ||\n  {}\n\nvar support = {\n  searchParams: 'URLSearchParams' in g,\n  iterable: 'Symbol' in g && 'iterator' in Symbol,\n  blob:\n    'FileReader' in g &&\n    'Blob' in g &&\n    (function() {\n      try {\n        new Blob()\n        return true\n      } catch (e) {\n        return false\n      }\n    })(),\n  formData: 'FormData' in g,\n  arrayBuffer: 'ArrayBuffer' in g\n}\n\nfunction isDataView(obj) {\n  return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n  var viewClasses = [\n    '[object Int8Array]',\n    '[object Uint8Array]',\n    '[object Uint8ClampedArray]',\n    '[object Int16Array]',\n    '[object Uint16Array]',\n    '[object Int32Array]',\n    '[object Uint32Array]',\n    '[object Float32Array]',\n    '[object Float64Array]'\n  ]\n\n  var isArrayBufferView =\n    ArrayBuffer.isView ||\n    function(obj) {\n      return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n    }\n}\n\nfunction normalizeName(name) {\n  if (typeof name !== 'string') {\n    name = String(name)\n  }\n  if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n    throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n  }\n  return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n  if (typeof value !== 'string') {\n    value = String(value)\n  }\n  return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n  var iterator = {\n    next: function() {\n      var value = items.shift()\n      return {done: value === undefined, value: value}\n    }\n  }\n\n  if (support.iterable) {\n    iterator[Symbol.iterator] = function() {\n      return iterator\n    }\n  }\n\n  return iterator\n}\n\nexport function Headers(headers) {\n  this.map = {}\n\n  if (headers instanceof Headers) {\n    headers.forEach(function(value, name) {\n      this.append(name, value)\n    }, this)\n  } else if (Array.isArray(headers)) {\n    headers.forEach(function(header) {\n      if (header.length != 2) {\n        throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length)\n      }\n      this.append(header[0], header[1])\n    }, this)\n  } else if (headers) {\n    Object.getOwnPropertyNames(headers).forEach(function(name) {\n      this.append(name, headers[name])\n    }, this)\n  }\n}\n\nHeaders.prototype.append = function(name, value) {\n  name = normalizeName(name)\n  value = normalizeValue(value)\n  var oldValue = this.map[name]\n  this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n  delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n  name = normalizeName(name)\n  return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n  return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n  this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n  for (var name in this.map) {\n    if (this.map.hasOwnProperty(name)) {\n      callback.call(thisArg, this.map[name], name, this)\n    }\n  }\n}\n\nHeaders.prototype.keys = function() {\n  var items = []\n  this.forEach(function(value, name) {\n    items.push(name)\n  })\n  return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n  var items = []\n  this.forEach(function(value) {\n    items.push(value)\n  })\n  return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n  var items = []\n  this.forEach(function(value, name) {\n    items.push([name, value])\n  })\n  return iteratorFor(items)\n}\n\nif (support.iterable) {\n  Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n  if (body._noBody) return\n  if (body.bodyUsed) {\n    return Promise.reject(new TypeError('Already read'))\n  }\n  body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n  return new Promise(function(resolve, reject) {\n    reader.onload = function() {\n      resolve(reader.result)\n    }\n    reader.onerror = function() {\n      reject(reader.error)\n    }\n  })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n  var reader = new FileReader()\n  var promise = fileReaderReady(reader)\n  reader.readAsArrayBuffer(blob)\n  return promise\n}\n\nfunction readBlobAsText(blob) {\n  var reader = new FileReader()\n  var promise = fileReaderReady(reader)\n  var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type)\n  var encoding = match ? match[1] : 'utf-8'\n  reader.readAsText(blob, encoding)\n  return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n  var view = new Uint8Array(buf)\n  var chars = new Array(view.length)\n\n  for (var i = 0; i < view.length; i++) {\n    chars[i] = String.fromCharCode(view[i])\n  }\n  return chars.join('')\n}\n\nfunction bufferClone(buf) {\n  if (buf.slice) {\n    return buf.slice(0)\n  } else {\n    var view = new Uint8Array(buf.byteLength)\n    view.set(new Uint8Array(buf))\n    return view.buffer\n  }\n}\n\nfunction Body() {\n  this.bodyUsed = false\n\n  this._initBody = function(body) {\n    /*\n      fetch-mock wraps the Response object in an ES6 Proxy to\n      provide useful test harness features such as flush. However, on\n      ES5 browsers without fetch or Proxy support pollyfills must be used;\n      the proxy-pollyfill is unable to proxy an attribute unless it exists\n      on the object before the Proxy is created. This change ensures\n      Response.bodyUsed exists on the instance, while maintaining the\n      semantic of setting Request.bodyUsed in the constructor before\n      _initBody is called.\n    */\n    // eslint-disable-next-line no-self-assign\n    this.bodyUsed = this.bodyUsed\n    this._bodyInit = body\n    if (!body) {\n      this._noBody = true;\n      this._bodyText = ''\n    } else if (typeof body === 'string') {\n      this._bodyText = body\n    } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n      this._bodyBlob = body\n    } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n      this._bodyFormData = body\n    } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n      this._bodyText = body.toString()\n    } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n      this._bodyArrayBuffer = bufferClone(body.buffer)\n      // IE 10-11 can't handle a DataView body.\n      this._bodyInit = new Blob([this._bodyArrayBuffer])\n    } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n      this._bodyArrayBuffer = bufferClone(body)\n    } else {\n      this._bodyText = body = Object.prototype.toString.call(body)\n    }\n\n    if (!this.headers.get('content-type')) {\n      if (typeof body === 'string') {\n        this.headers.set('content-type', 'text/plain;charset=UTF-8')\n      } else if (this._bodyBlob && this._bodyBlob.type) {\n        this.headers.set('content-type', this._bodyBlob.type)\n      } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n        this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n      }\n    }\n  }\n\n  if (support.blob) {\n    this.blob = function() {\n      var rejected = consumed(this)\n      if (rejected) {\n        return rejected\n      }\n\n      if (this._bodyBlob) {\n        return Promise.resolve(this._bodyBlob)\n      } else if (this._bodyArrayBuffer) {\n        return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n      } else if (this._bodyFormData) {\n        throw new Error('could not read FormData body as blob')\n      } else {\n        return Promise.resolve(new Blob([this._bodyText]))\n      }\n    }\n  }\n\n  this.arrayBuffer = function() {\n    if (this._bodyArrayBuffer) {\n      var isConsumed = consumed(this)\n      if (isConsumed) {\n        return isConsumed\n      } else if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n        return Promise.resolve(\n          this._bodyArrayBuffer.buffer.slice(\n            this._bodyArrayBuffer.byteOffset,\n            this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n          )\n        )\n      } else {\n        return Promise.resolve(this._bodyArrayBuffer)\n      }\n    } else if (support.blob) {\n      return this.blob().then(readBlobAsArrayBuffer)\n    } else {\n      throw new Error('could not read as ArrayBuffer')\n    }\n  }\n\n  this.text = function() {\n    var rejected = consumed(this)\n    if (rejected) {\n      return rejected\n    }\n\n    if (this._bodyBlob) {\n      return readBlobAsText(this._bodyBlob)\n    } else if (this._bodyArrayBuffer) {\n      return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n    } else if (this._bodyFormData) {\n      throw new Error('could not read FormData body as text')\n    } else {\n      return Promise.resolve(this._bodyText)\n    }\n  }\n\n  if (support.formData) {\n    this.formData = function() {\n      return this.text().then(decode)\n    }\n  }\n\n  this.json = function() {\n    return this.text().then(JSON.parse)\n  }\n\n  return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE']\n\nfunction normalizeMethod(method) {\n  var upcased = method.toUpperCase()\n  return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n  if (!(this instanceof Request)) {\n    throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n  }\n\n  options = options || {}\n  var body = options.body\n\n  if (input instanceof Request) {\n    if (input.bodyUsed) {\n      throw new TypeError('Already read')\n    }\n    this.url = input.url\n    this.credentials = input.credentials\n    if (!options.headers) {\n      this.headers = new Headers(input.headers)\n    }\n    this.method = input.method\n    this.mode = input.mode\n    this.signal = input.signal\n    if (!body && input._bodyInit != null) {\n      body = input._bodyInit\n      input.bodyUsed = true\n    }\n  } else {\n    this.url = String(input)\n  }\n\n  this.credentials = options.credentials || this.credentials || 'same-origin'\n  if (options.headers || !this.headers) {\n    this.headers = new Headers(options.headers)\n  }\n  this.method = normalizeMethod(options.method || this.method || 'GET')\n  this.mode = options.mode || this.mode || null\n  this.signal = options.signal || this.signal || (function () {\n    if ('AbortController' in g) {\n      var ctrl = new AbortController();\n      return ctrl.signal;\n    }\n  }());\n  this.referrer = null\n\n  if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n    throw new TypeError('Body not allowed for GET or HEAD requests')\n  }\n  this._initBody(body)\n\n  if (this.method === 'GET' || this.method === 'HEAD') {\n    if (options.cache === 'no-store' || options.cache === 'no-cache') {\n      // Search for a '_' parameter in the query string\n      var reParamSearch = /([?&])_=[^&]*/\n      if (reParamSearch.test(this.url)) {\n        // If it already exists then set the value with the current time\n        this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime())\n      } else {\n        // Otherwise add a new '_' parameter to the end with the current time\n        var reQueryString = /\\?/\n        this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()\n      }\n    }\n  }\n}\n\nRequest.prototype.clone = function() {\n  return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n  var form = new FormData()\n  body\n    .trim()\n    .split('&')\n    .forEach(function(bytes) {\n      if (bytes) {\n        var split = bytes.split('=')\n        var name = split.shift().replace(/\\+/g, ' ')\n        var value = split.join('=').replace(/\\+/g, ' ')\n        form.append(decodeURIComponent(name), decodeURIComponent(value))\n      }\n    })\n  return form\n}\n\nfunction parseHeaders(rawHeaders) {\n  var headers = new Headers()\n  // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n  // https://tools.ietf.org/html/rfc7230#section-3.2\n  var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n  // https://github.com/github/fetch/issues/748\n  // https://github.com/zloirock/core-js/issues/751\n  preProcessedHeaders\n    .split('\\r')\n    .map(function(header) {\n      return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n    })\n    .forEach(function(line) {\n      var parts = line.split(':')\n      var key = parts.shift().trim()\n      if (key) {\n        var value = parts.join(':').trim()\n        try {\n          headers.append(key, value)\n        } catch (error) {\n          console.warn('Response ' + error.message)\n        }\n      }\n    })\n  return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n  if (!(this instanceof Response)) {\n    throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n  }\n  if (!options) {\n    options = {}\n  }\n\n  this.type = 'default'\n  this.status = options.status === undefined ? 200 : options.status\n  if (this.status < 200 || this.status > 599) {\n    throw new RangeError(\"Failed to construct 'Response': The status provided (0) is outside the range [200, 599].\")\n  }\n  this.ok = this.status >= 200 && this.status < 300\n  this.statusText = options.statusText === undefined ? '' : '' + options.statusText\n  this.headers = new Headers(options.headers)\n  this.url = options.url || ''\n  this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n  return new Response(this._bodyInit, {\n    status: this.status,\n    statusText: this.statusText,\n    headers: new Headers(this.headers),\n    url: this.url\n  })\n}\n\nResponse.error = function() {\n  var response = new Response(null, {status: 200, statusText: ''})\n  response.ok = false\n  response.status = 0\n  response.type = 'error'\n  return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n  if (redirectStatuses.indexOf(status) === -1) {\n    throw new RangeError('Invalid status code')\n  }\n\n  return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = g.DOMException\ntry {\n  new DOMException()\n} catch (err) {\n  DOMException = function(message, name) {\n    this.message = message\n    this.name = name\n    var error = Error(message)\n    this.stack = error.stack\n  }\n  DOMException.prototype = Object.create(Error.prototype)\n  DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n  return new Promise(function(resolve, reject) {\n    var request = new Request(input, init)\n\n    if (request.signal && request.signal.aborted) {\n      return reject(new DOMException('Aborted', 'AbortError'))\n    }\n\n    var xhr = new XMLHttpRequest()\n\n    function abortXhr() {\n      xhr.abort()\n    }\n\n    xhr.onload = function() {\n      var options = {\n        statusText: xhr.statusText,\n        headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n      }\n      // This check if specifically for when a user fetches a file locally from the file system\n      // Only if the status is out of a normal range\n      if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {\n        options.status = 200;\n      } else {\n        options.status = xhr.status;\n      }\n      options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n      var body = 'response' in xhr ? xhr.response : xhr.responseText\n      setTimeout(function() {\n        resolve(new Response(body, options))\n      }, 0)\n    }\n\n    xhr.onerror = function() {\n      setTimeout(function() {\n        reject(new TypeError('Network request failed'))\n      }, 0)\n    }\n\n    xhr.ontimeout = function() {\n      setTimeout(function() {\n        reject(new TypeError('Network request timed out'))\n      }, 0)\n    }\n\n    xhr.onabort = function() {\n      setTimeout(function() {\n        reject(new DOMException('Aborted', 'AbortError'))\n      }, 0)\n    }\n\n    function fixUrl(url) {\n      try {\n        return url === '' && g.location.href ? g.location.href : url\n      } catch (e) {\n        return url\n      }\n    }\n\n    xhr.open(request.method, fixUrl(request.url), true)\n\n    if (request.credentials === 'include') {\n      xhr.withCredentials = true\n    } else if (request.credentials === 'omit') {\n      xhr.withCredentials = false\n    }\n\n    if ('responseType' in xhr) {\n      if (support.blob) {\n        xhr.responseType = 'blob'\n      } else if (\n        support.arrayBuffer\n      ) {\n        xhr.responseType = 'arraybuffer'\n      }\n    }\n\n    if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || (g.Headers && init.headers instanceof g.Headers))) {\n      var names = [];\n      Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n        names.push(normalizeName(name))\n        xhr.setRequestHeader(name, normalizeValue(init.headers[name]))\n      })\n      request.headers.forEach(function(value, name) {\n        if (names.indexOf(name) === -1) {\n          xhr.setRequestHeader(name, value)\n        }\n      })\n    } else {\n      request.headers.forEach(function(value, name) {\n        xhr.setRequestHeader(name, value)\n      })\n    }\n\n    if (request.signal) {\n      request.signal.addEventListener('abort', abortXhr)\n\n      xhr.onreadystatechange = function() {\n        // DONE (success or failure)\n        if (xhr.readyState === 4) {\n          request.signal.removeEventListener('abort', abortXhr)\n        }\n      }\n    }\n\n    xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n  })\n}\n\nfetch.polyfill = true\n\nif (!g.fetch) {\n  g.fetch = fetch\n  g.Headers = Headers\n  g.Request = Request\n  g.Response = Response\n}\n","import { CognitoUser, CognitoUserSession } from 'amazon-cognito-identity-js';\nimport { Auth } from 'aws-amplify';\nimport Cookies from 'js-cookie';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { cookieManager } from 'shared/lib/manager';\n\nimport 'url-search-params-polyfill';\nimport 'whatwg-fetch';\nimport { logJsError } from 'shared/global/datadogLogger';\nimport { USER_SESSION_COOKIE_NAME } from 'shared/lib/cookie/impl/CookieManagerImpl';\n\nexport const refreshToken = (callback = () => null, forceRefresh? : boolean) : Promise<void> => {\n  const nextRefreshTime = Cookies.get('nextRefresh');\n  const hasUserSessionCookie = !!Cookies.get(USER_SESSION_COOKIE_NAME);\n\n  // If the user is offline, ignore refreshing the JWT\n  // Users do not need a valid session for drink_price_tool\n  const isOffline = !window.navigator.onLine;\n  const isOnDrinkPriceTool = window.location.href.indexOf('drink_price_tool') !== -1;\n  if (isOffline || isOnDrinkPriceTool) {\n    return Promise.resolve();\n  }\n  const needsRefreshSoon = nextRefreshTime <= Date.now();\n  if (!forceRefresh && !needsRefreshSoon && hasUserSessionCookie) {\n    // Refresh once inside buffer period\n    setTimeout(() => refreshToken(), nextRefreshTime - Date.now() + 1000);\n    return Promise.resolve();\n  }\n\n  // Grab current JWT\n  return Auth.currentAuthenticatedUser().then((cognitoUser : CognitoUser) => {\n    return Auth.currentSession()\n    .then((cognitoSession : CognitoUserSession) => {\n\n      // Refresh the token\n      const refreshPromise : Promise<CognitoUserSession> = new Promise((resolve, reject) => {\n        cognitoUser.refreshSession(cognitoSession.getRefreshToken(), (err : unknown, newSession : CognitoUserSession) => {\n          resolve(newSession);\n        });\n      });\n\n      return Promise.resolve(refreshPromise).then((newSession) => {\n         return Promise.resolve(onNewCognitoSession(newSession));\n      });\n    });\n  }).catch((e) => {\n    logJsError(\n        'Error while trying to refresh token',\n        { isHandled: true },\n        e\n    );\n    window.location.href = window.AMPLIFY_CONFIG.urls.authBaseUrl;\n  });\n};\n\nexport const onNewCognitoSession = (userSession : CognitoUserSession | null) => {\n  const SESSION_REFRESH_BUFFER_PERCENT = 0.1;\n  if (userSession) {\n    // Refresh time given 10% buffer, will force refresh 10% early\n    const userSessionId = userSession.getIdToken();\n    const newTokenDurationSeconds = userSessionId.getExpiration() - userSessionId.getIssuedAt();\n    const tokenBuffer = (newTokenDurationSeconds * SESSION_REFRESH_BUFFER_PERCENT);\n    const newTokenRefreshTime = newTokenDurationSeconds - tokenBuffer;\n    const newToken = userSessionId.getJwtToken();\n\n    const currentCookie = Cookies.get(USER_SESSION_COOKIE_NAME);\n    // Session ID was not updated, safe to ignore\n    if (newToken === currentCookie) {\n      return Promise.resolve();\n    }\n\n    // Update JWT token in Lambda, thrift writes fail without this\n    return window.fetch(`${window.AMPLIFY_CONFIG.urls.lambdaApiBase}/session`, {\n      headers: {\n        'Content-Type': 'application/json',\n        Authorization: `Bearer ${newToken}`,\n      },\n      method: 'POST'\n    })\n    // Make response from fetch readable\n    .then((res) => res.json())\n    // Handle response from Lambda\n    .then((data) => {\n      if (data.error) {\n        throw new RuntimeException('Error refreshing token');\n      }\n      if (data.success) {\n        // Reset the JWT using AWS Session Lambda\n        setTimeout(() => refreshToken(() => null, false), newTokenRefreshTime * 1000 + 1000);\n\n        cookieManager.setCookie(USER_SESSION_COOKIE_NAME, newToken, newTokenDurationSeconds);\n        cookieManager.setCookie('nextRefresh', ((userSessionId.getExpiration() - tokenBuffer) * 1000).toString());\n\n        // Send use to a next screen if there's a next\n        const urlParams = new URLSearchParams(window.location.search);\n        if (urlParams.has('next')) {\n          window.location.href = decodeURIComponent(urlParams.get('next') ?? \"\");\n        }\n      }\n    });\n  }\n};\n\n// Find a better solution for this in the future, any file including this will attempt to refresh tokens\n// Retool API doesn't have BevspotPlatformClient, so checking this for now\nif (window.BevspotPlatformClient) {\n  setTimeout(() => {\n    void refreshToken(() => null, false);\n  }, 0);\n\n  window.addEventListener('online', () => {\n    void refreshToken(() => null, false);\n  });\n}\n","import React, { useLayoutEffect, useRef, useState } from 'react';\n\n/** Where a portaled element's anchor sits in the viewport, plus what's needed to place and stack the portaled element. */\nexport interface IAnchorMeasurement {\n    readonly top : number;\n    readonly bottom : number;\n    readonly left : number;\n    readonly right : number;\n    readonly width : number;\n    readonly height : number;\n    readonly viewportWidth : number;\n    readonly viewportHeight : number;\n    /** A portal on document.body escapes the dialog's stacking context, so it has to clear $dialog-z itself. */\n    readonly isInDialog : boolean;\n}\n\nexport function findScrollableAncestor(element : HTMLElement) : HTMLElement | null {\n    let ancestor = element.parentElement;\n    while (ancestor !== null) {\n        const overflowY = window.getComputedStyle(ancestor).overflowY;\n        if (overflowY === 'auto' || overflowY === 'scroll') {\n            return ancestor;\n        }\n        ancestor = ancestor.parentElement;\n    }\n    return null;\n}\n\n/**\n * null when the anchor has scrolled out of its scrollable ancestor, where a fixed portaled element would float over the page.\n */\nexport function measureAnchor(anchor : HTMLElement) : IAnchorMeasurement | null {\n    const anchorRect = anchor.getBoundingClientRect();\n    const scrollableAncestor = findScrollableAncestor(anchor);\n    if (scrollableAncestor !== null) {\n        const ancestorRect = scrollableAncestor.getBoundingClientRect();\n        if (anchorRect.bottom <= ancestorRect.top || anchorRect.top >= ancestorRect.bottom) {\n            return null;\n        }\n    }\n    return {\n        top: anchorRect.top,\n        bottom: anchorRect.bottom,\n        left: anchorRect.left,\n        right: anchorRect.right,\n        width: anchorRect.width,\n        height: anchorRect.height,\n        viewportWidth: document.documentElement.clientWidth,\n        viewportHeight: document.documentElement.clientHeight,\n        isInDialog: anchor.closest('.bevspot-dialog') !== null,\n    };\n}\n\nexport function anchorMeasurementsAreEqual(first : IAnchorMeasurement | null, second : IAnchorMeasurement | null) : boolean {\n    if (first === null || second === null) {\n        return first === second;\n    }\n    return (Object.keys(first) as Array<keyof IAnchorMeasurement>).every((key) => first[key] === second[key]);\n}\n\n/**\n * Tracks the anchor of an element portaled to document.body while `isTracking`, re-measuring on any scroll or resize.\n * Calls `onAnchorHidden` when the anchor scrolls out of its scrollable ancestor; the caller is expected to close.\n */\nexport function useAnchorMeasurement(\n    anchorRef : React.RefObject<HTMLElement | null>,\n    isTracking : boolean,\n    onAnchorHidden : () => void,\n) : IAnchorMeasurement | null {\n    const [anchorMeasurement, setAnchorMeasurement] = useState<IAnchorMeasurement | null>(null);\n\n    // read through a ref so a caller's inline callback doesn't re-subscribe the listeners every render\n    const onAnchorHiddenRef = useRef(onAnchorHidden);\n    useLayoutEffect(() => {\n        onAnchorHiddenRef.current = onAnchorHidden;\n    });\n\n    useLayoutEffect(() => {\n        const anchor = anchorRef.current;\n        if (!isTracking || !anchor) {\n            return undefined;\n        }\n\n        const updateAnchorMeasurement = () => {\n            const measuredAnchor = measureAnchor(anchor);\n            if (measuredAnchor === null) {\n                onAnchorHiddenRef.current();\n                return;\n            }\n            setAnchorMeasurement((currentMeasurement) => (\n                anchorMeasurementsAreEqual(currentMeasurement, measuredAnchor) ? currentMeasurement : measuredAnchor\n            ));\n        };\n\n        updateAnchorMeasurement();\n        window.addEventListener('scroll', updateAnchorMeasurement, true);\n        window.addEventListener('resize', updateAnchorMeasurement);\n        return () => {\n            window.removeEventListener('scroll', updateAnchorMeasurement, true);\n            window.removeEventListener('resize', updateAnchorMeasurement);\n            setAnchorMeasurement(null);\n        };\n    }, [anchorRef, isTracking]);\n\n    return anchorMeasurement;\n}\n","export class AccountSessionNotFoundException extends Error {\n    constructor(message? : string) {\n        super(message);\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, AccountSessionNotFoundException.prototype);\n    }\n}\n","export class InvalidCookieNameException extends Error {\n    constructor(message? : string) {\n        super(message);\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, InvalidCookieNameException.prototype);\n    }\n}\n","export class UnknownCookieException extends Error {\n    constructor(message? : string) {\n        super(message);\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, UnknownCookieException.prototype);\n    }\n}\n","import { InvalidCookieNameException } from '../exceptions/InvalidCookieNameException';\nimport { UnknownCookieException } from '../exceptions/UnknownCookieException';\n\nimport { ICookieDeleter } from '../interfaces/ICookieDeleter';\nimport { ICookieReader } from '../interfaces/ICookieReader';\nimport { ICookieSetter } from '../interfaces/ICookieSetter';\n\nexport const USER_SESSION_COOKIE_NAME = 'userSessionIdentifier';\n\nexport class CookieManagerImpl implements\n        ICookieDeleter, ICookieReader, ICookieSetter {\n\n    constructor() {\n        // TODO Do we need this\n    }\n\n    public getCookie(name : string) : string {\n        if (!name.length) {\n            throw new InvalidCookieNameException();\n        }\n\n        // Retool API will set window.userSessionIdentifier for use in Python API calls\n        if (\n            name === USER_SESSION_COOKIE_NAME &&\n            typeof window.userSessionIdentifier !== 'undefined' &&\n            window.userSessionIdentifier\n        ) {\n            return window.userSessionIdentifier;\n        }\n\n        const token = name + '=';\n        const cookieList = document.cookie.split(';');\n\n        for (let i = 0; i < cookieList.length; i++) {\n            let cookie = cookieList[i];\n\n            while (cookie.charAt(0) === ' ') {\n                cookie = cookie.substring(1);\n            }\n            if (cookie.indexOf(token) === 0) {\n                const value = cookie.substring(token.length, cookie.length);\n\n                if (value === 'undefined' || value === 'null') {\n                    throw new UnknownCookieException(value + ' cookie value');\n                }\n\n                // Part of migration\n                if ((document.domain === 'app.bevspot.com') || (document.domain === 'usertest.bevspot.net')) {\n                    this.setCookie(name, value);\n                }\n\n                return value;\n            }\n        }\n\n        throw new UnknownCookieException('no cookies found');\n    }\n\n    public setCookie(name : string, value : string, expiresInSeconds? : number) : void {\n        if (!name.length) {\n            throw new InvalidCookieNameException();\n        }\n        const date = new Date();\n        date.setTime(date.getTime() + ((expiresInSeconds || 100 * 365 * 24 * 60 * 60) * 1000)); // default to 100 years in milliseconds\n\n        this.documentCookieSetter(name, value, date);\n    }\n\n    public deleteCookie(name : string) : void {\n        if (!name.length) {\n            throw new InvalidCookieNameException();\n        }\n\n        this.documentCookieSetter(name, '', new Date(1970, 1, 1, 0, 0, 1));\n    }\n\n    // duplicates logic from src/main/web/user_auth/src/ui/lib/Utils.js setCookie\n    private documentCookieSetter(name : string, value : string , expirationDate : Date) : void {\n        const firstSecondOfEpoch : Date = new Date(1970, 1, 1, 0, 0, 1); // Part of migration\n\n        let cookieDomain = document.domain;\n        if (cookieDomain.slice(-12) === '.bevspot.com') {\n            document.cookie = name + '=; Path=/; Domain=' + cookieDomain + '; expires=' + firstSecondOfEpoch.toUTCString(); // Part of migration\n            cookieDomain = '.bevspot.com';\n        } else if (cookieDomain.slice(-12) === '.bevspot.net') {\n            document.cookie = name + '=; Path=/; Domain=' + cookieDomain + '; expires=' + firstSecondOfEpoch.toUTCString(); // Part of migration\n            cookieDomain = '.bevspot.net';\n        }\n\n        const expires = 'expires=' + expirationDate.toUTCString();\n        document.cookie = name + '=' + value + '; Path=/; Domain=' + cookieDomain + '; ' + expires;\n    }\n}\n","export class RuntimeException extends Error {\n    constructor(message? : string) {\n        super(message);\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, RuntimeException.prototype);\n    }\n}\n","import { FintechLocationId } from 'api/Integration/model/FintechLocationId';\nimport { FtpCredentials } from 'api/Integration/model/FtpCredentials';\nimport { Moment } from 'moment-timezone';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class FintechIntegrationState {\n    constructor(\n        private readonly fintechLocationId : null | FintechLocationId,\n        private readonly customFtpCredentials : null | FtpCredentials,\n        private readonly lastAttemptTime : null | Moment,\n        private readonly lastImportedFileDateUTC : null | Moment,\n    ) {\n        if (!!lastImportedFileDateUTC && !lastImportedFileDateUTC.isUTC()) {\n            throw new RuntimeException('lastImportedFileDateUTC is not in UTC: ' + lastImportedFileDateUTC);\n        }\n    }\n\n    public getFintechLocationId() : FintechLocationId | null {\n        return this.fintechLocationId;\n    }\n\n    public getCustomFtpCredentials() : FtpCredentials | null {\n        return this.customFtpCredentials;\n    }\n\n    public getLastAttemptTime() : Moment | null {\n        return this.lastAttemptTime;\n    }\n\n    public getLastImportedFileDateUTC() : Moment | null {\n        return this.lastImportedFileDateUTC;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class FintechLocationId implements IStringValue {\n    constructor(\n        private readonly accountId : string,\n        private readonly storeNumber : string\n    ) {\n    }\n\n    public getAccountId() : string {\n        return this.accountId;\n    }\n\n    public getStoreNumber() : string {\n        return this.storeNumber;\n    }\n\n    public equals(other : IStringValue) : boolean {\n        if (other instanceof FintechLocationId) {\n            return this.accountId === other.accountId && this.storeNumber === other.storeNumber;\n        }\n        return false;\n    }\n\n    public getValue() : string {\n        return `FintechLocationId(${ this.accountId },${ this.storeNumber })`;\n    }\n\n    public toString() : string {\n        return `{FintechLocationId: ${ this.accountId },${ this.storeNumber }}`;\n    }\n}\n","export class FtpCredentials {\n    constructor(\n        private readonly username : string,\n        private readonly password : string\n    ) {\n    }\n\n    public getUsername() : string {\n        return this.username;\n    }\n\n    public getPassword() : string {\n        return this.password;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class StediIntegrationId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : StediIntegrationId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{StediIntegrationId: ${this.value}}`;\n    }\n}\n","import { StediLocationReference } from 'api/Integration/model/StediLocationReference';\nimport { InvoiceUploadId } from 'api/Ordering/model/InvoiceUploadId';\nimport { StediTradingPartner } from 'shared/models/IntegrationStatus';\nimport moment from 'moment-timezone';\n\n// This should stay in with python/order_service/model/StediIntegration.py\nexport class StediIntegrationState {\n    constructor(\n        private readonly integrationType : StediTradingPartner,\n        private readonly stediLocationReference : StediLocationReference | null,\n        private readonly lastInvoiceInfo: null | {\n            dateReceived: moment.Moment | null,\n            invoiceDate: moment.Moment | null,\n            invoiceUploadId: InvoiceUploadId | null\n        }\n    ) {\n    }\n\n    public getIntegrationType() : StediTradingPartner {\n        return this.integrationType;\n    }\n\n    public getStediLocationReference() : StediLocationReference | null {\n        return this.stediLocationReference;\n    }\n\n    public getLastInvoiceInfo() {\n        return this.lastInvoiceInfo;\n    }\n}\n","export class StediLocationReference {\n    constructor(\n        private readonly locationId : string | null,\n        private readonly vendorId : string | null,\n        private readonly groupId : string | null\n    ) {\n    }\n\n    public getLocationId() : string | null {\n        return this.locationId;\n    }\n\n    public getVendorId() : string | null {\n        return this.vendorId;\n    }\n\n    public getGroupId() : string | null {\n        return this.groupId;\n    }\n\n}\n","export class BottleBreakdown {\n    constructor (\n        private readonly startCount : number,\n        private readonly deliveries : number,\n        private readonly transfers : number,\n        private readonly prepInputs : number,\n        private readonly prepOutputs : number,\n        private readonly breakages : number,\n        private readonly sales : number,\n    ) { }\n\n    public getStartCount() : number {\n        return this.startCount;\n    }\n\n    public getDeliveries() : number {\n        return this.deliveries;\n    }\n\n    public getTransfers() : number {\n        return this.transfers;\n    }\n\n    public getPrepInputs() : number {\n        return this.prepInputs;\n    }\n\n    public getPrepOutputs() : number {\n        return this.prepOutputs;\n    }\n\n    public getBreakages() : number {\n        return this.breakages;\n    }\n\n    public getSales() : number {\n        return this.sales;\n    }\n\n}\n","import moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { BottleBreakdown } from 'api/InventoryCount/model/BottleBreakdown';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nexport class ExpectedInventory {\n    constructor (\n        private readonly bottleCountByProductId : StringValueMap<ProductId, number>,\n        private readonly bottleBreakdownByProductId : StringValueMap<ProductId, BottleBreakdown>,\n        // null when the location has no POS integration, so sales were not subtracted\n        private readonly salesDataEffectiveTime : moment.Moment | null,\n    ) { }\n\n    public getBottleCountByProductId() : StringValueMap<ProductId, number> {\n        return this.bottleCountByProductId;\n    }\n\n    public getBottleBreakdownByProductId() : StringValueMap<ProductId, BottleBreakdown> {\n        return this.bottleBreakdownByProductId;\n    }\n\n    public getSalesDataEffectiveTime() : moment.Moment | null {\n        return this.salesDataEffectiveTime;\n    }\n}\n","export type IncidentBannerLevel = 'info' | 'warning' | 'error';\n\nexport class IncidentBannerData {\n\n    constructor (\n        private readonly message : string | null,\n        private readonly isShown : boolean,\n        private readonly level : IncidentBannerLevel = 'info'\n    ) {\n    }\n\n    public getMessage() : string | null {\n        return this.message;\n    }\n\n    public getIsShown() : boolean {\n        return this.isShown;\n    }\n\n    public getLevel() : IncidentBannerLevel {\n        return this.level;\n    }\n}\n","export class BillingRetailer {\n    constructor(\n        readonly _stripeId: string,\n        readonly _isInFreeTrial: boolean,\n        readonly _isDelinquent: boolean,    // differs slightly from the BE model\n        readonly _isLocked: boolean) {\n    }\n\n    get stripeId(): string {\n        return this._stripeId;\n    }\n\n    get isInFreeTrial(): boolean {\n        return this._isInFreeTrial;\n    }\n\n    get isDelinquent(): boolean {\n        return this._isDelinquent;\n    }\n\n    get isLocked(): boolean {\n        return this._isLocked;\n    }\n}\n","import { BreakageReportData } from 'api/Breakage/model/BreakageReportData';\nimport { ReportMetadata } from 'api/Breakage/model/ReportMetadata';\n\nexport class BreakageReport {\n\n    constructor (\n        private readonly breakageReportData : BreakageReportData,\n        private readonly reportMetaData : ReportMetadata,\n    ) {}\n\n    public getBreakageReportData() : BreakageReportData {\n        return this.breakageReportData;\n    }\n\n    public getReportMetaData() : ReportMetadata {\n        return this.reportMetaData;\n    }\n}\n","import CoreTimeModel from 'gen-thrift/core_time_Model_types';\n// TODO Use different time model\n\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\n\nexport class BreakageReportData {\n\n    constructor (\n        private readonly perspectiveLocation : LocationId,\n        private readonly productAmounts : Array<ProductAmount>,\n        private readonly time : CoreTimeModel.TimestampWithMillisecondPrecision,\n        private readonly note : string,\n        private readonly type : string | null,\n    ) {}\n\n    public getPerspectiveLocation() : LocationId {\n        return this.perspectiveLocation;\n    }\n\n    public getProductAmounts() : Array<ProductAmount> {\n        return this.productAmounts;\n    }\n\n    public getTime() : CoreTimeModel.TimestampWithMillisecondPrecision {\n        return this.time;\n    }\n\n    public getNote() : string {\n        return this.note;\n    }\n\n    public getType() : string | null {\n        return this.type;\n    }\n}\n","import { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nexport class ReportMetadata {\n\n    constructor (\n        private readonly creationMetadata : UserAccountIdAndTimestamp,\n        private readonly updateMetadata : UserAccountIdAndTimestamp | null,\n        private readonly perspectiveIsOriginator : boolean,\n    ) {}\n\n    public getCreationMetadata() : UserAccountIdAndTimestamp {\n        return this.creationMetadata;\n    }\n\n    public getUpdateMetadata() : UserAccountIdAndTimestamp | null {\n        return this.updateMetadata;\n    }\n\n    public getPerspectiveIsOriginator() : boolean {\n        return this.perspectiveIsOriginator;\n    }\n}\n","import { CartItemId } from 'api/Cart/model/CartItemId';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nexport class CartItem {\n    private productDistributorAssociationIdentifier : ProductDistributorAssociationIdentifier;\n\n    constructor (\n        private readonly cartItemId : CartItemId,\n        private readonly productId : ProductId,\n        private readonly distributorId : DistributorId | null,\n        private readonly productQuantityUnit : ProductQuantityUnit,\n        private readonly quantityInUnits : number,\n    ) {\n        this.productDistributorAssociationIdentifier = new ProductDistributorAssociationIdentifier(productId, productQuantityUnit, distributorId);\n    }\n\n    public getCartItemId() : CartItemId {\n        return this.cartItemId;\n    }\n\n    public getProductId() : ProductId {\n        return this.productId;\n    }\n\n    public getDistributorId() : DistributorId | null {\n        return this.distributorId;\n    }\n\n    public getProductQuantityUnit() : ProductQuantityUnit {\n        return this.productQuantityUnit;\n    }\n\n    public getQuantityInUnits() : number {\n        return this.quantityInUnits;\n    }\n\n    public getProductDistributorAssociationIdentifier() : ProductDistributorAssociationIdentifier {\n        return this.productDistributorAssociationIdentifier;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof CartItem)) {\n            return false;\n        }\n        const thisDistributor = this.getDistributorId();\n        const otherDistributor = other.getDistributorId();\n\n        if ((thisDistributor !== null && !thisDistributor.equals(otherDistributor)) ||\n            (otherDistributor !== null && !otherDistributor.equals(thisDistributor))\n        ) {\n            return false;\n        }\n\n        return this.getProductId().equals(other.getProductId()) &&\n            this.getCartItemId().equals(other.getCartItemId()) &&\n            this.getQuantityInUnits() === other.getQuantityInUnits() &&\n            PackagingUtils.productQuantityUnitsAreEqual(this.getProductQuantityUnit(), other.getProductQuantityUnit());\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class CartItemId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof CartItemId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{CartItemId: ${this.value}}`;\n    }\n}\n","import {\n    ArgsOf,\n    IOfflineQueueManager,\n    IStoredServiceCall,\n    QueueApi,\n} from 'api/Core/OfflineQueueManager/interfaces/IOfflineQueueManager';\nimport { OfflineQueueState } from 'api/Core/OfflineQueueManager/model/OfflineQueueState';\nimport { refreshToken } from 'shared/global/refreshJWT';\n\nimport { IRestApiRejection } from 'shared/utils/ajaxUtils';\nimport { logJsError, logJsInfo } from 'shared/global/datadogLogger';\nimport { PathUtils } from 'shared/utils/pathUtils';\n\nconst STORAGE_KEY = 'offline_service_queue_' + PathUtils.getAppPath();\nconst TIMEOUT_ERROR_MESSAGE = 'timeout';\nconst MINIMUM_OFFLINE_QUEUE_RETRY_TIMEOUT_IN_MILLISECONDS = 5000;\nconst MAXIMUM_OFFLINE_QUEUE_RETRY_TIMEOUT_IN_MILLISECONDS = 120000;\nconst CONNECTION_TIMEOUT_IN_MILLISECONDS = 5000;\nconst MAX_QUEUE_LENGTH = 3000;\n\nexport class OfflineQueueManagerImpl<Api extends QueueApi> implements IOfflineQueueManager<Api> {\n    private api!: Api;\n    private retryTimeout : number;\n    private retryTimeoutId : number | null;\n    // If you're ever changing this double-check that the change won't cause concurrent requests\n    private isProcessingRequest = false;\n    private queueState : OfflineQueueState = OfflineQueueState.ONLINE_WITH_EMPTY_QUEUE;\n    private stateCallback : ((offlineState : OfflineQueueState) => void) | null;\n    private lengthCallback : ((queueLength : number) => void) | null;\n\n    constructor() {\n        this.retryTimeout = MINIMUM_OFFLINE_QUEUE_RETRY_TIMEOUT_IN_MILLISECONDS;\n        this.retryTimeoutId = null;\n        this.stateCallback = null;\n        this.lengthCallback = null;\n        window.addEventListener('online', (event) => {\n            this.onOnline();\n        });\n\n        window.addEventListener('offline', (event) => {\n            if (this.getQueueLength() > 0) {\n                this.setQueueState(OfflineQueueState.OFFLINE_WITH_ENQUEUED_ITEMS);\n            } else {\n                this.setQueueState(OfflineQueueState.OFFLINE_WITH_EMPTY_QUEUE);\n            }\n        });\n    }\n\n    public setApi(api: Api): void {\n        this.api = api;\n    }\n\n    public registerOfflineStateCallback = (callback : (offlineState : OfflineQueueState) => void) => {\n        this.stateCallback = callback;\n    }\n\n    public registerQueueLengthCallback = (callback : (queueLength : number) => void | null) => {\n        this.lengthCallback = callback;\n    }\n\n    public enqueueServiceCall = <\n        S extends keyof Api & string,\n        M extends keyof Api[S] & string\n    >(\n        serviceName: S,\n        methodName: M,\n        args: ArgsOf<Api[S][M]>\n    ): Promise<void> => {\n        this.addToQueue({ serviceName, methodName, args });\n\n        if (this.queueState === OfflineQueueState.ONLINE_WITH_EMPTY_QUEUE) {\n            this.setQueueState(OfflineQueueState.ONLINE_WITH_ENQUEUED_ITEMS);\n        } else if (this.queueState === OfflineQueueState.OFFLINE_WITH_EMPTY_QUEUE) {\n            this.setQueueState(OfflineQueueState.OFFLINE_WITH_ENQUEUED_ITEMS);\n        }\n\n        return this.processServiceCallQueue();\n    }\n\n    public getQueueLength = () : number => {\n        return this.getStoredQueue().length;\n    }\n\n    public isQueueFull = () : boolean => {\n        return this.getQueueLength() >= MAX_QUEUE_LENGTH;\n    }\n\n    public processServiceCallQueue = (): Promise<void> => {\n        const queue = this.getStoredQueue();\n\n        if (this.retryTimeoutId) {\n            window.clearTimeout(this.retryTimeoutId);\n            this.retryTimeoutId = null;\n        }\n\n        if (queue.length === 0 || this.isProcessingRequest) return Promise.resolve();\n\n        if (this.queueState === OfflineQueueState.OFFLINE_WITH_ENQUEUED_ITEMS ||\n            this.queueState === OfflineQueueState.OFFLINE_WITH_EMPTY_QUEUE) {\n            return Promise.resolve();\n        }\n\n        this.isProcessingRequest = true;\n        const callInfo = queue[0];\n\n        const service = this.api[callInfo.serviceName];\n        const serviceFunction = service?.[callInfo.methodName];\n\n        if (!service || !serviceFunction || typeof serviceFunction !== 'function') {\n            this.popQueue(); // Remove invalid call to prevent blocking\n            logJsError(\n                \"Invalid API call in offline queue: \" + callInfo.serviceName + \".\" + callInfo.methodName + \"(\" + callInfo.args.join(',') + \")\",\n                { isHandled: true },\n                undefined\n            );\n            this.isProcessingRequest = false;\n            return this.processServiceCallQueue();\n        }\n\n        return Promise.race(\n            [\n                serviceFunction(...callInfo.args),\n                new Promise((_, reject) =>\n                    setTimeout(() => reject(new Error(TIMEOUT_ERROR_MESSAGE)), CONNECTION_TIMEOUT_IN_MILLISECONDS)\n                )\n            ]\n        ).then(() => {\n            this.isProcessingRequest = false;\n            this.popQueue();\n            this.retryTimeout = MINIMUM_OFFLINE_QUEUE_RETRY_TIMEOUT_IN_MILLISECONDS;\n\n            if (this.getQueueLength() === 0) {\n                this.setQueueState(OfflineQueueState.ONLINE_WITH_EMPTY_QUEUE);\n            } else {\n                void this.processServiceCallQueue();\n            }\n        }).catch((result: IRestApiRejection | Error) => {\n            this.isProcessingRequest = false;\n            this.handleError(result);\n        });\n    }\n\n    public clearQueue() {\n        if (this.queueState === OfflineQueueState.OFFLINE_WITH_ENQUEUED_ITEMS) {\n            this.setQueueState(OfflineQueueState.OFFLINE_WITH_EMPTY_QUEUE);\n        }else {\n            this.setQueueState(OfflineQueueState.ONLINE_WITH_EMPTY_QUEUE);\n        }\n        localStorage.removeItem(STORAGE_KEY);\n        if (this.lengthCallback !== null) {\n            this.lengthCallback(0);\n        }\n    }\n\n    private handleError(result : Error | IRestApiRejection) {\n        if (result instanceof Error && result.message === TIMEOUT_ERROR_MESSAGE) {\n            void this.processServiceCallQueue();\n            return;\n        }\n\n        if (result instanceof Error && result.name === 'AccountDoesNotHavePermissionException') {\n            this.clearQueue();\n            logJsInfo(\n                \"Clearing Offline Queue due to a permission exception\",\n                {'offlineQueue': JSON.stringify(this.getStoredQueue()) },\n                undefined\n            );\n            window.showGlobalErrorDialog('You do not have the permission to perform this operation. Please refresh the page.');\n            return;\n        }\n\n        const xhr = result instanceof Error ? undefined : result.xhr;\n        // TODO We probably need to rethink how we define offline errors\n        const isOfflineError = (xhr && (xhr.status === 0) && (xhr.readyState === 4)) || (result.message === 'Unexpected status: 0');\n\n        if (isOfflineError) {\n            this.setQueueState(OfflineQueueState.OFFLINE_WITH_ENQUEUED_ITEMS);\n        } else {\n            const callInfo = this.getStoredQueue()[0];\n\n            if (this.getQueueLength() > 0) {\n                this.setQueueState(OfflineQueueState.ONLINE_WITH_ENQUEUED_ITEMS);\n            } else {\n                this.setQueueState(OfflineQueueState.ONLINE_WITH_EMPTY_QUEUE);\n            }\n            logJsError(\n                `Encountered an error processing queue call: ${callInfo.serviceName}.${callInfo.methodName} ( ${callInfo.args.map((arg) => JSON.stringify(arg)).join(',')} ) - Error: ${result?.constructor?.name ?? 'Unknown'}${result instanceof Error ? ': ' + result.message : ` (status: ${result.status}, message: ${result.message})`}`,\n                { isHandled: true },\n                result\n            );\n        }\n\n        this.retryTimeout = Math.min(this.retryTimeout * 2, MAXIMUM_OFFLINE_QUEUE_RETRY_TIMEOUT_IN_MILLISECONDS); // Reducing the rate of retry with each subsequent failure\n\n        this.retryTimeoutId = window.setTimeout(() => {\n            this.retryTimeoutId = null;\n            void this.processServiceCallQueue();\n        }, this.retryTimeout);\n    }\n\n    private onOnline = () => {\n        if (this.getQueueLength() > 0) {\n            if (this.retryTimeoutId) {\n                window.clearTimeout(this.retryTimeoutId);\n                this.retryTimeoutId = null;\n            }\n\n            this.setQueueState(OfflineQueueState.ONLINE_AFTER_BEING_OFFLINE_WITH_ENQUEUED_ITEMS);\n            // Attempt refresh of JWT token when coming back online\n            void Promise.resolve(refreshToken()).then(() => {\n                void this.processServiceCallQueue();\n            });\n        } else {\n            this.setQueueState(OfflineQueueState.ONLINE_WITH_EMPTY_QUEUE);\n        }\n    }\n\n    private setQueueState = (newState: OfflineQueueState) => {\n        this.queueState = newState;\n\n        if (!window.navigator.onLine) {\n            window.onbeforeunload = () => {\n                return true;\n            };\n        } else {\n            window.onbeforeunload = null;\n        }\n\n        if (this.stateCallback !== null) {\n            this.stateCallback(newState);\n        }\n    }\n\n    public getStoredQueue(): Array<IStoredServiceCall<Api>> {\n        const data = localStorage.getItem(STORAGE_KEY);\n        return data ? JSON.parse(data) : [];\n    }\n\n    private saveQueue(queue: Array<IStoredServiceCall<Api>>) {\n        localStorage.setItem(STORAGE_KEY, JSON.stringify(queue));\n    }\n\n    private addToQueue(item: IStoredServiceCall<Api>) {\n        const queue = this.getStoredQueue();\n        if (this.isQueueFull()) {\n            if (this.lengthCallback !== null) {\n                this.lengthCallback(queue.length);\n            }\n            return;\n        }\n        queue.push(item);\n        this.saveQueue(queue);\n        if (this.lengthCallback !== null) {\n            this.lengthCallback(queue.length);\n        }\n    }\n\n    private popQueue() {\n        const queue = this.getStoredQueue();\n        queue.shift();\n        this.saveQueue(queue);\n        if (this.lengthCallback !== null) {\n            this.lengthCallback(queue.length);\n        }\n    }\n}\n","import { IDistributorRepresentative } from 'api/Distributor/interfaces/IDistributorRepresentative';\n\nexport class RetailerDistributorRelationship {\n    constructor (\n        private readonly accountId : string,\n        private readonly reps : Array<IDistributorRepresentative>\n    ) {}\n\n    public getAccountId() {\n        return this.accountId;\n    }\n\n    public getReps() {\n        return this.reps;\n    }\n}\n","import { DistributorAdjustment } from 'api/Distributor/model/DistributorAdjustment';\nimport { DistributorDependentObjectSet } from 'api/Distributor/model/DistributorDependentObjectSet';\nimport { ExtraDistributorProperties, IJSONExtraDistributorProperties } from 'api/Distributor/model/ExtraDistributorProperties';\nimport DistributorExceptions from 'gen-thrift/distributor_Exceptions_types';\nimport { Client as DistributorServiceClient } from 'gen-thrift/DistributorService';\n\nimport { DistributorObjectToThriftSerializer } from 'api/Distributor/serializer/DistributorObjectToThriftSerializer';\nimport { DistributorThriftToObjectSerializer } from 'api/Distributor/serializer/DistributorThriftToObjectSerializer';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { IDistributorService } from 'api/Distributor/interfaces/IDistributorService';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DistributorNameCollisionException } from 'api/Distributor/model/DistributorNameCollisionException';\nimport { DistributorRegionId } from 'api/Distributor/model/DistributorRegionId';\nimport { RetailerDistributorRelationship } from 'api/Distributor/model/RetailerDistributorRelationship';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { DistributorRep } from '../model/DistributorRep';\nimport { DistributorRepId } from '../model/DistributorRepId';\nimport { IDistributorRepresentative } from '../interfaces/IDistributorRepresentative';\nimport { ReplaceDistributorRequest } from 'gen-thrift/distributor_Model_types';\n\nexport class DistributorService implements IDistributorService {\n\n    private static buildUrl(name : string, retailerId? : string) : string {\n        return url(name, null, retailerId ?? window.GLOBAL_RETAILER_ID, null);\n    }\n\n    private static buildFormData(formData : Record<string, unknown>) : FormData {\n        const result = new FormData();\n        Object.keys(formData).forEach((key) =>\n            result.append(key, JSON.stringify(formData[key]))\n         );\n        return result;\n    }\n\n    private static getDistributorFormData(\n        distributorId : DistributorId,\n        distributor? : Distributor\n    ) : FormData {\n        let formData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        if (typeof distributor !== 'undefined') {\n            formData = distributor.getRestFormData(formData);\n        }\n        return formData;\n    }\n\n    private static async getAjaxDistributorData(\n        thriftPromise : Promise<StringValueMap<DistributorId, Distributor>>,\n        formData : FormData,\n        includeDistributorsWithNoRelationship : boolean,\n        retailerId? : string,\n    ) : Promise<StringValueMap<DistributorId, Distributor>> {\n        return Promise.all([\n            thriftPromise,\n            AjaxUtils.ajaxGet(DistributorService.buildUrl('account:relationships:get', retailerId), formData),\n        ])\n        .then((responses) => {\n            const [ thriftResponse, retailerDistributorRelationshipResponse ] = responses;\n\n            const distributorsById = new StringValueMap<DistributorId, Distributor>();\n            thriftResponse.forEach((distributor : Distributor, key : DistributorId) => {\n                const relationshipEntry : IJSONExtraDistributorProperties = retailerDistributorRelationshipResponse[key.getValue()];\n                if (typeof relationshipEntry !== 'undefined') {\n                    distributor.setExtraDistributorProperties(ExtraDistributorProperties.createFromJSONObject(distributor.getName(), relationshipEntry));\n                    distributorsById.set(key, distributor);\n                } else if (includeDistributorsWithNoRelationship) {\n                    distributorsById.set(key, distributor);\n                }\n            });\n\n            return Promise.resolve(distributorsById);\n        });\n    }\n\n    constructor(\n        private readonly thriftDistributorClient : DistributorServiceClient,\n        private readonly distributorObjectToThriftSerializer : DistributorObjectToThriftSerializer,\n        private readonly distributorThriftToObjectSerializer : DistributorThriftToObjectSerializer,\n        private readonly userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private readonly locationObjectToThriftSerializer : LocationObjectToThriftSerializer\n    ) { }\n\n    public async createDistributor(\n        userSessionId : UserSessionId,\n        distributor : Distributor,\n    ) : Promise<DistributorId> {\n        const distributorId : DistributorId = await new Promise<DistributorId>((resolve, reject) => {\n            this.thriftDistributorClient.createDistributor(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.distributorObjectToThriftSerializer.getThriftDistributor(distributor)\n            ).then((result) => {\n                return resolve(this.distributorThriftToObjectSerializer.getDistributorId(result));\n            }).catch((error) => {\n                if (error instanceof DistributorExceptions.DistributorNameCollisionException) {\n                    return resolve(\n                        this.distributorThriftToObjectSerializer.getDistributorId(\n                            error.collidedDistributorsById[0].distributorId));\n                }\n                return reject(error);\n            });\n        });\n\n        await this.addDistributorRelationshipForCurrentRetailer(distributorId, distributor);\n\n        return distributorId;\n    }\n\n    public async updateDistributorRetailerRelationshipData(\n        userSessionId : UserSessionId,\n        distributorId : DistributorId,\n        distributor : Distributor,\n    ) : Promise<void> {\n        await this.setRetailerSpecificData(distributorId, distributor);\n    }\n\n    public async deleteDistributor(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        distributorId : DistributorId,\n        replacementDistributorId?: DistributorId | null,\n        ) : Promise<void> {\n        await this.thriftDistributorClient.replaceDistributor(\n            new ReplaceDistributorRequest({\n                sessionId: this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                locationId: this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                distributorId: this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId),\n                replacementDistributorId : replacementDistributorId ?\n                    this.distributorObjectToThriftSerializer.getThriftDistributorId(replacementDistributorId) :\n                    undefined\n            })\n        );\n    }\n\n    public renameDistributor(\n        userSessionId : UserSessionId,\n        distributorId : DistributorId,\n        name : string,\n        shortName : string,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftDistributorClient.updateDistributorName(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId),\n                name,\n                shortName\n            ).then(() => {\n                return resolve();\n            }).catch((error) => {\n                if (error instanceof DistributorExceptions.DistributorNameCollisionException) {\n                    return reject(new DistributorNameCollisionException(this.distributorThriftToObjectSerializer.getDistributorsById(error.collidedDistributorsById)));\n                }\n                return reject(error);\n            });\n        });\n    }\n\n    public setDistributorRegion(\n        userSessionId : UserSessionId,\n        distributorId : DistributorId,\n        regionId : DistributorRegionId\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftDistributorClient.setDistributorRegion(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId),\n                this.distributorObjectToThriftSerializer.getThriftDistributorRegionId(regionId)\n            ).then(() => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public async getDistributorsById(\n        distributorIds : StringValueSet<DistributorId>,\n        includeDistributorsWithNoRelationship? : boolean,\n    ) : Promise<StringValueMap<DistributorId, Distributor>> {\n        if (distributorIds.size === 0) {\n            return Promise.resolve(new StringValueMap());\n        }\n\n        return DistributorService.getAjaxDistributorData(\n            new Promise<StringValueMap<DistributorId, Distributor>>((resolve, reject) => {\n                this.thriftDistributorClient.retrieveDistributorIdsAndDistributorsForIdSet(\n                    this.distributorObjectToThriftSerializer.getThriftDistributorIds(distributorIds)\n                ).then((result) => {\n                    return resolve(this.distributorThriftToObjectSerializer.getDistributorsById(result));\n                }).catch((error) => {\n                    return reject(error);\n                });\n            }),\n            DistributorService.buildFormData({ distributorIds }),\n            (typeof includeDistributorsWithNoRelationship === 'undefined') ? false : includeDistributorsWithNoRelationship\n        );\n    }\n\n    public getAvailableDistributorsByIdForLocation(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<StringValueMap<DistributorId, Distributor>> {\n        return DistributorService.getAjaxDistributorData(\n            new Promise<StringValueMap<DistributorId, Distributor>>((resolve, reject) =>\n                this.thriftDistributorClient.retrieveDistributorIdsAndDistributorsAvailableToRetailer(\n                    this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                    this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n                ).then((result) => {\n                    return resolve(this.distributorThriftToObjectSerializer.getDistributorsById(result))\n                }).catch((error) => {\n                    return reject(error);\n                })\n            ),\n            DistributorService.buildFormData({\n                userSessionId: userSessionId.getValue(),\n                locationId: locationId.getValue()\n            }),\n            false,\n            locationId.getValue(),\n        );\n    }\n\n    public getRetailerDistributorRelationships(\n        locationId : LocationId\n    ) : Promise<StringValueMap<DistributorId, RetailerDistributorRelationship>> {\n        return AjaxUtils.ajaxGet('/api/retailer/' + locationId.getValue() + '/distributors/', {})\n            .then((response : {[key : string] : { account_id: string; reps: Array<IDistributorRepresentative> }}) => {\n                const result = new StringValueMap<DistributorId, RetailerDistributorRelationship>();\n                const distributorIds = Object.keys(response);\n\n                distributorIds.forEach((distId : string) => {\n                    const distributorId = new DistributorId(distId);\n                    const relationship = new RetailerDistributorRelationship(\n                        response[distId].account_id,\n                        response[distId].reps);\n                    result.set(distributorId, relationship);\n                });\n\n                return Promise.resolve(result);\n            });\n    }\n\n    public getAllDistributorsById(\n        userSessionId : UserSessionId,\n    ) : Promise<StringValueMap<DistributorId, Distributor>> {\n        return DistributorService.getAjaxDistributorData(\n            new Promise<StringValueMap<DistributorId, Distributor>>((resolve, reject) =>\n                this.thriftDistributorClient.retrieveAllDistributorIdsAndDistributors(\n                    this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId)\n                ).then((result) => {\n                    return resolve(this.distributorThriftToObjectSerializer.getDistributorsById(result))\n                }).catch((error) => {\n                    return reject(error)\n                })\n            ),\n            DistributorService.buildFormData({ userSessionId: userSessionId.getValue() }),\n            false,\n        );\n    }\n\n    public getAllRegionIdsByDistributorId(\n        userSessionId : UserSessionId\n    ) : Promise<StringValueMap<DistributorId, DistributorRegionId | null>> {\n        return new Promise<StringValueMap<DistributorId, DistributorRegionId | null>>((resolve, reject) => {\n            this.thriftDistributorClient.retrieveAllDistributorIdsAndRegions(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId)\n            ).then((result) => {\n                return resolve(this.distributorThriftToObjectSerializer.getRegionIdsByDistributorId(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getAllDistributorRegionIds (\n        userSessionId : UserSessionId\n    ) : Promise<StringValueSet<DistributorRegionId>> {\n        return new Promise<StringValueSet<DistributorRegionId>>((resolve, reject) => {\n            this.thriftDistributorClient.retrieveAllDistributorRegionIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId)\n            ).then((result) => {\n                return resolve(this.distributorThriftToObjectSerializer.getDistributorRegionIds(result))\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public getDistributorDependencies (\n        distributorId : DistributorId,\n        locationId : LocationId\n    ) : Promise<DistributorDependentObjectSet> {\n        return new Promise<DistributorDependentObjectSet>((resolve, reject) => {\n            this.thriftDistributorClient.retrieveDistributorDependencies(\n                this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                return resolve(this.distributorThriftToObjectSerializer.getDistributorDependentObjectSet(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public addDistributorRelationshipForCurrentRetailer (\n        distributorId : DistributorId,\n        distributor? : Distributor\n    ) : Promise<void> {\n        return AjaxUtils.ajaxPostForm(\n            DistributorService.buildUrl('account:relationships:add'),\n            DistributorService.getDistributorFormData(distributorId, distributor)\n        );\n    }\n\n    public setRetailerSpecificData(\n        distributorId : DistributorId,\n        distributor? : Distributor\n    ) : Promise<void> {\n        return AjaxUtils.ajaxPostForm(\n            DistributorService.buildUrl('account:relationships:update'),\n            DistributorService.getDistributorFormData(distributorId, distributor)\n        );\n    }\n\n    public async addRepsToDistributor(\n        distributorId : DistributorId,\n        reps : Array<DistributorRep>,\n    ) : Promise<void> {\n\n        const addRep = async (rep : DistributorRep) : Promise<void> => {\n            let repFormData = new FormData();\n            repFormData.append('distributor_id', distributorId.getValue());\n            repFormData = rep.getRestFormData(repFormData);\n            await AjaxUtils.ajaxPostForm(\n                DistributorService.buildUrl('account:relationships:add_rep'),\n                repFormData,\n            );\n        };\n\n        const addRepPromises = new Array<Promise<void>>(reps.length);\n        reps.forEach((rep) => addRepPromises.push(addRep(rep)));\n\n        await Promise.all(addRepPromises);\n    }\n\n    public removeDistributorRep(\n        userSessionId : UserSessionId,\n        distributorId : DistributorId,\n        distributorRepId : DistributorRepId,\n    ) : Promise<void> {\n        const urlValue = url('account:relationships:remove_rep', null, null, null);\n\n        const formData : FormData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        formData.append('rep_id', distributorRepId.getValue());\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData);\n    }\n\n    public updateDistributorRepField(\n        userSessionId : UserSessionId,\n        distributorId : DistributorId,\n        distributorRepId : DistributorRepId,\n        field : 'name' | 'email' | 'phone',\n        value : string,\n    ) : Promise<void> {\n        const urlValue = url('account:relationships:update_sms', null, null, null);\n\n        const formData : FormData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        formData.append('rep_id', distributorRepId.getValue());\n        formData.append('field', field);\n        formData.append(field, value);\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData);\n    }\n\n    public async addAdjustmentsToDistributor(\n        distributorId : DistributorId,\n        adjustments : Array<DistributorAdjustment>,\n    ) : Promise<void> {\n\n        const addAdjustment = async (adjustment : DistributorAdjustment) : Promise<void> => {\n            let adjustmentFormData = new FormData();\n            adjustmentFormData.append('distributor_id', distributorId.getValue());\n            adjustmentFormData = adjustment.getRestFormData(adjustmentFormData);\n            await AjaxUtils.ajaxPostForm(\n                DistributorService.buildUrl('account:relationships:add_adjustment'),\n                adjustmentFormData,\n            );\n        };\n\n        const addAdjustmentPromises = new Array<Promise<void>>(adjustments.length);\n        adjustments.forEach((adjustment) => addAdjustmentPromises.push(addAdjustment(adjustment)));\n\n        await Promise.all(addAdjustmentPromises);\n    }\n\n    public setShouldSendSMSForDistributorRep(\n        userSessionId : UserSessionId,\n        distributorId : DistributorId,\n        distributorRepId : DistributorRepId,\n        shouldSendSMS : boolean,\n    ) : Promise<void> {\n        const urlValue = url('account:relationships:update_sms', null, null, null);\n\n        const formData : FormData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        formData.append('rep_id', distributorRepId.getValue());\n        formData.append('to_sms', shouldSendSMS.toString());\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData);\n    }\n\n    public setShouldAttachCSVForDistributorRep(\n        userSessionId : UserSessionId,\n        distributorId : DistributorId,\n        distributorRepId : DistributorRepId,\n        shouldAttachCSV : boolean,\n    ) : Promise<void> {\n        const urlValue = url('account:relationships:update_attach_csv', null, null, null);\n\n        const formData : FormData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        formData.append('rep_id', distributorRepId.getValue());\n        formData.append('attach_csv', shouldAttachCSV.toString());\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData);\n    }\n\n}\n","import { CartItem } from 'api/Cart/model/CartItem';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nexport class DistributorDependentObjectSet {\n    constructor (\n        private readonly deliveryIds : Array<DeliveryId>,\n        private readonly productIds : Array<ProductId>,\n        private readonly retailerIds : Array<LocationId>,\n        private readonly cartIds : Array<LocationId>,\n        private readonly cartItemsByCartId : StringValueMap<LocationId, Array<CartItem>>\n    ) {}\n\n    public getDeliveryIds() : Array<DeliveryId> {\n        return this.deliveryIds;\n    }\n\n    public getProductIds() : Array<ProductId> {\n        return this.productIds;\n    }\n\n    public getRetailerIds() : Array<LocationId> {\n        return this.retailerIds;\n    }\n\n    public getCartIds() : Array<LocationId> {\n        return this.cartIds;\n    }\n\n    public getCartItemsByCartId() : StringValueMap<LocationId, Array<CartItem>> {\n        return this.cartItemsByCartId;\n    }\n\n    public equals(other : DistributorDependentObjectSet) : boolean {\n        return this.getDeliveryIds() === other.getDeliveryIds() &&\n            this.getProductIds() === other.getProductIds() &&\n            this.getRetailerIds() === other.getRetailerIds() &&\n            this.getDeliveryIds() === other.getDeliveryIds() &&\n            this.getCartItemsByCartId() === other.getCartItemsByCartId();\n    }\n}\n","import moment from 'moment-timezone';\n\nexport class IntegrationState {\n    constructor (\n        public readonly externalMerchantId : string | null,\n        public readonly isAccessible : boolean,\n        public readonly cacheDataEffectiveDate : moment.Moment | null,\n    ) { }\n\n    public getExternalMerchantId() : string | null {\n        return this.externalMerchantId;\n    }\n\n    public getIsAccessible() : boolean {\n        return this.isAccessible;\n    }\n\n    public getCacheDataEffectiveDate() : moment.Moment | null {\n        return this.cacheDataEffectiveDate;\n    }\n}\n","import { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { OmnivoreSupportedPosType } from 'api/Integration/model/IntegrationType';\nimport moment from 'moment-timezone';\n\n/***\n * Omnivore is not a POS system itself. It provides cloud API for various non-cloud POS such as Micros.\n * The actual underlying POS type doesn't affect any reporting functionality, but is important for user\n * and business to know and is part of the connection data.\n * Missing posType means no connection data exists.\n */\nexport class OmnivoreIntegrationState extends IntegrationState {\n    constructor(\n        public readonly posType : OmnivoreSupportedPosType | null,\n        externalMerchantId : string | null,\n        isAccessible : boolean,\n        cacheDataEffectiveDate : moment.Moment | null\n    ) {\n        super(externalMerchantId, isAccessible, cacheDataEffectiveDate);\n    }\n}\n","import { UserSessionId } from \"api/UserAccount/model/UserSessionId\";\n\nimport { userSessionManager } from \"shared/lib/manager\";\n\n// IGNORES the original session argument passed to the api call, which is acquired through userSessionManager anyway\nfunction handleSessionExpiration<T>(apiCall : (sessionId : UserSessionId) => Promise<T>) : Promise<T> {\n    return apiCall(userSessionManager.getSessionId())\n    .catch((error : Error) => {\n        throw error;\n    });\n}\n\nexport const ThriftApiUtils = {\n    sessionSafe: handleSessionExpiration,\n};\n","import { LocationId } from 'api/Location/model/LocationId';\nimport LocationModel from 'gen-thrift/location_Model_types';\n\nexport class LocationObjectToThriftSerializer {\n\n    ////////////////////////////////////\n    // CORE MODELS\n    ////////////////////////////////////\n    public getThriftLocationId(\n        locationId : LocationId,\n    ) : LocationModel.LocationIdentifier {\n        return new LocationModel.LocationIdentifier({\n            value: locationId.getValue(),\n        });\n    }\n\n    ////////////////////////////////////\n    // MISC SERIALIZERS\n    ////////////////////////////////////\n}\n","import { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\n\nexport class ProductMatch {\n    constructor (\n        private readonly productId : ProductId,\n        private readonly productQuantityUnit : ProductQuantityUnit | null,\n        private readonly productQuantityUnitErrorType : string | null,\n    ) {}\n\n    public getProductId() : ProductId {\n        return this.productId;\n    }\n\n    public getProductQuantityUnit() : ProductQuantityUnit | null {\n        return this.productQuantityUnit;\n    }\n\n    public getProductQuantityUnitErrorType() : string | null {\n        return this.productQuantityUnitErrorType;\n    }\n}\n","import { ProductMatch } from 'api/Ordering/model/ProductMatch';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { productJSONToObjectSerializer } from 'shared/lib/manager';\n\nexport interface IInvoiceProcessingResultLineItemMatch {\n    primary_match : null | {\n        'product_id' : string,\n        'product_quantity_unit' : null | string,\n        'product_quantity_unit_error_type' : null | string,\n    },\n    suggestions : Array<string> | null,\n    match_type : string\n}\n\nexport class LineItemMatch {\n    constructor (\n        private readonly primaryMatch : null | ProductMatch,\n        private readonly match_type : string,\n        private readonly suggestions : Array<ProductId>,\n    ) {}\n\n    public getPrimaryMatch() : null | ProductMatch {\n        return this.primaryMatch;\n    }\n\n    public getMatchType() : string {\n        return this.match_type;\n    }\n\n    public getSuggestions() : Array<ProductId> {\n        return this.suggestions;\n    }\n\n    public static fromDict(lineItemMatchDict : IInvoiceProcessingResultLineItemMatch) {\n        const lineItemSuggestions = lineItemMatchDict.suggestions;\n        const lineItemPrimaryMatch = lineItemMatchDict.primary_match;\n        const suggestions = lineItemSuggestions?.map((p) => new ProductId(p)) ?? [];\n        let primaryMatch = null;\n        if (lineItemPrimaryMatch) {\n            const productQuantityUnit = lineItemPrimaryMatch.product_quantity_unit;\n            primaryMatch = new ProductMatch(\n                new ProductId(lineItemPrimaryMatch.product_id),\n                productQuantityUnit !== null ? productJSONToObjectSerializer.getProductQuantityUnit(\n                    productQuantityUnit\n                ) : null,\n                null\n            );\n        }\n        return new LineItemMatch(\n            primaryMatch,\n            lineItemMatchDict.match_type,\n            suggestions\n        );\n    }\n}\n","import { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DeliveryRepInfo } from 'api/Ordering/model/DeliveryRepInfo';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport moment from 'moment-timezone';\n\nexport class DeliveryMetadata {\n    constructor (\n        private readonly datePlacedUTC : moment.Moment,\n        private readonly dateDeliveredUTC : moment.Moment,\n        private readonly distributorId : DistributorId | null,\n        private readonly invoiceNumber : string | null,\n        private readonly noteToSelf : string | null,\n        private readonly recordedBy : UserAccountId | null,\n        private readonly dateRecordedUTC : moment.Moment,\n        private readonly deliveryConfirmationEventTimeUTC : moment.Moment | null,\n        private readonly deliveryConfirmationUserId : UserAccountId | null,\n        private readonly noteToRep : string | null,\n        private readonly distributorReps : Array<DeliveryRepInfo>,\n        private readonly isDraft : boolean = false,\n    ) {}\n\n    public getDatePlacedUTC() : moment.Moment {\n        return this.datePlacedUTC;\n    }\n\n    public getDateDeliveredUTC() : moment.Moment {\n        return this.dateDeliveredUTC;\n    }\n\n    public getDistributorId() : DistributorId | null {\n        return this.distributorId;\n    }\n\n    public getInvoiceNumber() : string | null {\n        return this.invoiceNumber;\n    }\n\n    public getNoteToSelf() : string | null {\n        return this.noteToSelf;\n    }\n\n    public getDateRecordedUTC() : moment.Moment {\n        return this.dateRecordedUTC;\n    }\n\n    public getRecordedBy() : UserAccountId | null {\n        return this.recordedBy;\n    }\n\n    public getDeliveryConfirmationEventTimeUTC() : moment.Moment | null {\n        return this.deliveryConfirmationEventTimeUTC;\n    }\n\n    public getDeliveryConfirmationUserId() : UserAccountId | null {\n        return this.deliveryConfirmationUserId;\n    }\n\n    public getNoteToRep() : string | null {\n        return this.noteToRep;\n    }\n\n    public getDistributorReps() : Array<DeliveryRepInfo> {\n        return this.distributorReps;\n    }\n\n    public getIsDraft() : boolean {\n        return this.isDraft;\n    }\n\n}\n","export class DeliveryRepInfo {\n\n    constructor (\n        private readonly name : string,\n        private readonly emailAddress : string,\n        private readonly phoneNumber : string,\n        private readonly emailWasSentForOrder : boolean,\n        private readonly smsWasSentForOrder : boolean,\n        private readonly csvWasAttachedToOrder : boolean,\n    ) {}\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getEmailAddress() : string {\n        return this.emailAddress;\n    }\n\n    public getPhoneNumber() : string {\n        return this.phoneNumber;\n    }\n\n    public getEmailWasSentForOrder() : boolean {\n        return this.emailWasSentForOrder;\n    }\n\n    public getSmsWasSentForOrder() : boolean {\n        return this.smsWasSentForOrder;\n    }\n\n    public getCsvWasAttachedToOrder() : boolean {\n        return this.csvWasAttachedToOrder;\n    }\n}\n","import { InvoiceProcessingResultAdjustment } from 'api/Ordering/model/InvoiceProcessingResultAdjustment';\nimport * as moment from 'moment-timezone';\n\nimport { InvoiceProcessingResultLineItem } from 'api/Ordering/model/InvoiceProcessingResultLineItem';\nimport { InvoiceProcessingResultSource } from 'api/Ordering/model/InvoiceProcessingResultSource';\nimport { ValidationResult } from 'api/Ordering/model/ValidationResult';\nimport { InvoiceProcessingResultTax } from 'api/Ordering/model/InvoiceProcessingResultTax';\n\nexport class InvoiceProcessingResult {\n    constructor (\n        private readonly invoiceNumber : string | null,\n        private readonly date : moment.Moment | null,\n        private readonly distributorName : string | null,\n        private readonly lineItems : Array<InvoiceProcessingResultLineItem>,\n        private readonly adjustments : Array<InvoiceProcessingResultAdjustment>,\n        private readonly taxes : Array<InvoiceProcessingResultTax>,\n        private readonly totalAmount : number | null,\n        private readonly errorMessage : string | null,\n        private readonly source : InvoiceProcessingResultSource,\n        private readonly validationResults : Array<ValidationResult>,\n    ) {}\n\n    public getInvoiceNumber() : string | null {\n        return this.invoiceNumber;\n    }\n\n    public getDate() : moment.Moment | null {\n        return this.date;\n    }\n\n    public getDistributorName() : string | null {\n        return this.distributorName;\n    }\n\n    public getLineItems() : Array<InvoiceProcessingResultLineItem> {\n        return this.lineItems;\n    }\n\n    public getAdjustments(): Array<InvoiceProcessingResultAdjustment> {\n        return this.adjustments;\n    }\n\n    public getTaxes() : Array<InvoiceProcessingResultTax> {\n        return this.taxes;\n    }\n\n    public getTotalAmount() : number | null {\n        return this.totalAmount;\n    }\n\n    public getErrorMessage() : string | null {\n        return this.errorMessage;\n    }\n\n    public getSource() : InvoiceProcessingResultSource {\n        return this.source;\n    }\n\n    public getValidationResults() : Array<ValidationResult> {\n        return this.validationResults;\n    }\n}\n","export class NormalizedLineItem {\n    constructor (\n        private readonly id : string,\n        private readonly brand : string,\n        private readonly name : string,\n        private readonly sku : string,\n        private readonly category : string,\n        // private readonly tags : object, TODO not sure what this is so leaving it off for now\n    ) {}\n\n    public getId() : string {\n        return this.id;\n    }\n\n    public getBrand() : string {\n        return this.brand;\n    }\n\n    public getName() : string {\n        return this.name;\n    }\n\n    public getSku() : string {\n        return this.sku;\n    }\n\n    public getCategory() : string {\n        return this.category;\n    }\n}\n","import { RuntimeException } from \"shared/lib/general/exceptions/RuntimeException\";\n\nexport class NormalizedPackaging {\n    constructor (\n        private readonly name : string | null,\n        private readonly content : NormalizedPackaging | null,\n        private readonly quantityOfContent : number | null,\n        private readonly unit : string | null,\n    ) {\n        if (unit) {\n            if (name !== null) {\n                throw new RuntimeException('name must be null when unit exists');\n            }\n\n            if (content !== null) {\n                throw new RuntimeException('content must be null when unit exists');\n            }\n\n            if (quantityOfContent !== null) {\n                throw new RuntimeException('quantityOfContent must be null when unit exists');\n            }\n        } else {\n            if (name === null) { // PTODO\n                throw new RuntimeException('name must not be null when unit does not exist');\n            }\n\n            if ((content === null) !== (quantityOfContent === null)) {\n                throw new RuntimeException('content and quantityOfContent must either both exist or both be null when unit does not exist');\n            }\n        }\n    }\n\n    public getName() : string | null {\n        return this.name;\n    }\n\n    public getContent() : NormalizedPackaging | null {\n        return this.content;\n    }\n\n    public getQuantityOfContent() : number | null {\n        return this.quantityOfContent;\n    }\n\n    public getUnit() : string | null {\n        return this.unit;\n    }\n}\n","export type ValidationResultField = null | \"invoice_date\" | \"invoice_number\" | \"sku\" | \"price_unit\" | \"invoice_total\" | \"adjustment_total\" | \"invoice_tax_total\" | \"extended_total\" | \"discount\" | \"tax\" | \"quantity\";\n\nexport class ValidationResult {\n    constructor (\n        private readonly field : ValidationResultField,\n        private readonly message : string,\n    ) {}\n\n    public getField() : ValidationResultField {\n        return this.field;\n    }\n\n    public getMessage() : string {\n        return this.message;\n    }\n\n    public getFieldAsString() : string {\n        const field = this.getField();\n        if (field === null) {\n            return \"General\";\n        }\n        return field.split(\"_\").map(word => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()).join(\" \");\n    }\n}\n","import { InviteStatus } from 'api/UserAccount/model/InviteStatus';\nimport { UserAccountId } from \"api/UserAccount/model/UserAccountId\";\n\nexport class Invite {\n    constructor(\n        private readonly inviterId: UserAccountId,\n        private readonly inviteeEmail: string,\n        private readonly inviteStatus: InviteStatus\n    ) {}\n\n    public getInviterId(): UserAccountId {\n        return this.inviterId;\n    }\n\n    public getInviteeEmail(): string {\n        return this.inviteeEmail;\n    }\n\n    public getInviteStatus(): InviteStatus {\n        return this.inviteStatus;\n    }\n}","import { Invite } from \"api/UserAccount/model/Invite\";\nimport { InviteStatus } from 'api/UserAccount/model/InviteStatus';\nimport { IGroupInviteJSONObject } from 'api/UserAccount/serializer/IGroupInviteJSONObject';\nimport { GroupId } from 'api/Location/model/GroupId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\n\nexport class GroupInvite extends Invite {\n    constructor(\n        inviterId: UserAccountId,\n        inviteeEmail: string,\n        inviteStatus: InviteStatus,\n        private readonly groupId: GroupId,\n        private readonly groupPermissions: Array<string>,\n        private readonly retailerPermissions: Array<string>,\n    ) {\n        super(inviterId, inviteeEmail, inviteStatus);\n    }\n\n    public getGroupId(): GroupId {\n        return this.groupId;\n    }\n\n    public getGroupPermissions(): Array<string> {\n        return this.groupPermissions;\n    }\n\n    public getRetailerPermissions(): Array<string> {\n        return this.retailerPermissions;\n    }\n\n    static fromJson(data : IGroupInviteJSONObject): GroupInvite {\n        return new GroupInvite(\n            new UserAccountId(data.inviter_id),\n            data.invitee_email,\n            data.invite_status as InviteStatus,\n            new GroupId(data.group_id),\n            data.group_permissions,\n            data.retailer_permissions\n        );\n    }\n}","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class InviteId implements IStringValue {\n    constructor (private readonly value : string) {}\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof InviteId)) {\n            return false;\n        }\n\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{InviteId: ${this.value}}`;\n    }\n}","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { GroupInvite } from 'api/UserAccount/model/GroupInvite';\nimport { InviteId } from 'api/UserAccount/model/InviteId';\nimport { GroupId } from 'api/Location/model/GroupId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { GroupUserPermissionData } from 'api/Permissions/model/GroupUserPermissionData';\nimport { Permission } from 'api/Permissions/model/Permission';\nimport { IGroupPermissionDataJSONObject } from 'api/Permissions/serializer/IGroupPermissionDataJSONObject';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class GroupPermissionData {\n    constructor(\n        private readonly groupId : GroupId,\n        private readonly userPermissionsById : StringValueMap<UserAccountId, GroupUserPermissionData>,\n        private readonly groupPermissions : Array<Permission>,\n        private readonly retailerPermissions : Array<Permission>,\n        private readonly locationIds : Array<LocationId>,\n        private readonly outstandingInvitesById : StringValueMap<InviteId, GroupInvite>,\n        private readonly accountTypeByLocationId : StringValueMap<LocationId, string> = new StringValueMap<LocationId, string>(),\n    ) {}\n\n    public getGroupId() : GroupId {\n        return this.groupId;\n    }\n    public getUserPermissionsById() : StringValueMap<UserAccountId, GroupUserPermissionData> {\n        return this.userPermissionsById;\n    }\n    public getGroupPermissions() : Array<Permission> {\n        return this.groupPermissions;\n    }\n    public getRetailerPermissions() : Array<Permission> {\n        return this.retailerPermissions;\n    }\n\n    public getLocationIds() : Array<LocationId> {\n        return this.locationIds;\n    }\n\n    public getAccountTypeByLocationId() : StringValueMap<LocationId, string> {\n        return this.accountTypeByLocationId;\n    }\n\n    public getOutstandingInvitesById() : StringValueMap<InviteId, GroupInvite> {\n        return this.outstandingInvitesById;\n    }\n\n    static fromJson(data : IGroupPermissionDataJSONObject) : GroupPermissionData {\n        if (typeof data.group_id === 'undefined') {\n            throw new RuntimeException('group_id is unexpectedly undefined');\n        }\n\n        if (typeof data.users_by_id === 'undefined') {\n            throw new RuntimeException('users_by_id is unexpectedly undefined');\n        }\n\n        if (typeof data.group_permissions === 'undefined') {\n            throw new RuntimeException('group_permissions is unexpectedly undefined');\n        }\n\n        if (typeof data.retailer_permissions === 'undefined') {\n            throw new RuntimeException('retailer_permissions is unexpectedly undefined');\n        }\n\n        const groupPermissions = new Array<Permission>();\n        for (const permissionData of data.group_permissions) {\n            groupPermissions.push(Permission.fromJson(permissionData));\n        }\n\n        const retailerPermissions = new Array<Permission>();\n        for (const permissionData of data.retailer_permissions) {\n            retailerPermissions.push(Permission.fromJson(permissionData));\n        }\n\n        const userPermissionsById = new StringValueMap<UserAccountId, GroupUserPermissionData>();\n        for (const [userId, permissionData] of Object.entries(data.users_by_id)) {\n            userPermissionsById.set(new UserAccountId(userId), GroupUserPermissionData.fromJson(permissionData));\n        }\n\n        const locationIds = new Array<LocationId>();\n        const accountTypeByLocationId = new StringValueMap<LocationId, string>();\n        for (const retailer of data.retailers) {\n            const locationId = new LocationId(retailer._id);\n            locationIds.push(locationId);\n            if (retailer.account_type) {\n                accountTypeByLocationId.set(locationId, retailer.account_type);\n            }\n        }\n\n        const outstandingInvitesById = new StringValueMap<InviteId, GroupInvite>();\n        for (const [inviteId, invite] of Object.entries(data.outstanding_invites)) {\n            outstandingInvitesById.set(new InviteId(inviteId), GroupInvite.fromJson(invite));\n        }\n\n        return new GroupPermissionData(\n            new GroupId(data.group_id),\n            userPermissionsById,\n            groupPermissions,\n            retailerPermissions,\n            locationIds,\n            outstandingInvitesById,\n            accountTypeByLocationId,\n        );\n    }\n}","import { IStringValue } from 'api/Core/IStringValue';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\n\ntype KeyCache<T> = {\n    request_time : number;\n    promise : Promise<T>;\n}\n\nexport class StringValueResponseCache<ValueType extends IStringValue, KeyType> {\n    private cachedResponsesById : StringValueMap<ValueType, KeyCache<KeyType>>;\n    private readonly timeToLiveSeconds : number;\n     public constructor(timeToLiveSeconds : number = 5) {\n         this.cachedResponsesById = new StringValueMap();\n         this.timeToLiveSeconds = timeToLiveSeconds;\n     }\n\n     public request = (\n         requestId : ValueType,\n         requestConstructor : (requestId : ValueType) => Promise<KeyType>,\n         skipCache : boolean = false\n     ) => {\n         this.clean();\n         const cachedResponsesById = this.cachedResponsesById;\n         const cachedResponse = cachedResponsesById.get(requestId);\n         if (cachedResponse !== undefined && !skipCache) {\n             return cachedResponse.promise;\n         }\n\n         const newRequest = requestConstructor(requestId);\n         this.cachedResponsesById.set(requestId, {\n             request_time : Date.now(),\n             promise : newRequest\n         });\n         return newRequest;\n     };\n\n     public requestSet = (\n         requestIdSet : StringValueSet<ValueType>,\n         requestConstructor : (valueSet : StringValueSet<ValueType>) => Promise<KeyType>,\n         skipCache : boolean = false,\n     ) => {\n         this.clean();\n         const promiseSet : Set<Promise<KeyType>> = new Set();\n         const requestIdsToDispatch = new StringValueSet(requestIdSet);\n         const cachedResponsesById = this.cachedResponsesById;\n         if (!skipCache) {\n             requestIdSet.forEach((requestId) => {\n                 const request = cachedResponsesById.get(requestId);\n                 if (request !== undefined) {\n                     promiseSet.add(request.promise);\n                     requestIdsToDispatch.delete(requestId);\n                 }\n             });\n         }\n\n         if (requestIdsToDispatch.size > 0) {\n             const newRequest = requestConstructor(requestIdsToDispatch);\n             promiseSet.add(newRequest);\n             requestIdsToDispatch.forEach((requestId) => {\n                 this.cachedResponsesById.set(requestId, {\n                     promise : newRequest,\n                     request_time : Date.now(),\n                 });\n             });\n         }\n         // Probably not necessary now, but might be a good idea if/when we have a longer TTL to sort promises by request time\n\n         // Better way to do this? promiseSet can return more ids than requestIdSet if pulling from cache\n         // Maybe pass in a util func that converts response to raw objects for each id in cache?\n         // In CachedProductService, currently handled by reconstructing productsById, productHashesById\n         return Promise.all(promiseSet);\n     };\n\n     public delete = (id : ValueType) => {\n         const newCachedResponsesById =  new StringValueMap(this.cachedResponsesById);\n         newCachedResponsesById.delete(id);\n         this.cachedResponsesById = newCachedResponsesById;\n         return newCachedResponsesById;\n     }\n\n     public deleteAll = (ids : Array<ValueType>) => {\n         const newCachedResponsesById =  new StringValueMap(this.cachedResponsesById);\n         ids.forEach((id) => newCachedResponsesById.delete(id));\n         this.cachedResponsesById = newCachedResponsesById;\n         return newCachedResponsesById;\n     };\n\n     public clear = () => {\n         this.cachedResponsesById = new StringValueMap();\n     };\n\n     private clean = () => {\n         const newCachedResponsesById = new StringValueMap(this.cachedResponsesById);\n         newCachedResponsesById.forEach((value, key) => {\n             if (value.request_time + this.timeToLiveSeconds * 1000 < Date.now()) {\n                 newCachedResponsesById.delete(key);\n             }\n         });\n         this.cachedResponsesById = newCachedResponsesById;\n     };\n}","import { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nimport { ProductId } from './ProductId';\nimport { StringValueSet } from 'api/Core/StringValueSet';\n\nexport class ProductMergeEvent {\n    constructor(\n        private readonly userAccountIdAndTimestamp : UserAccountIdAndTimestamp,\n        private readonly mergedToProductId : ProductId,\n        private readonly mergedFromProductIds : StringValueSet<ProductId>,\n        private readonly storageAreasAffected : StringValueSet<StorageAreaId>,\n        private readonly salesItemsAffected : StringValueSet<SalesItemId>,\n        private readonly cartItemsAffected : StringValueSet<ProductId>,\n        private readonly historicalMergeInProgress : boolean = false,\n    ) {}\n\n    public getUserAccountIdAndTimestamp() {\n        return this.userAccountIdAndTimestamp;\n    }\n    public getMergedToProductId() {\n        return this.mergedToProductId;\n    }\n    public getMergedFromProductIds() {\n        return this.mergedFromProductIds;\n    }\n    public getAffectedStorageAreaIds() {\n        return this.storageAreasAffected;\n    }\n    public getAffectedSalesItemIds() {\n        return this.salesItemsAffected;\n    }\n    public getAffectedCartItems() {\n        return this.cartItemsAffected;\n    }\n    public isHistoricalMergeInProgress() : boolean {\n        return this.historicalMergeInProgress;\n    }\n    public equals(other: unknown) : boolean {\n        if (!(other instanceof ProductMergeEvent)) {\n            return false;\n        }\n\n        if (\n            !this.getUserAccountIdAndTimestamp().equals(other.getUserAccountIdAndTimestamp()) ||\n            !this.getMergedToProductId().equals(other.getMergedToProductId()) ||\n            !this.getMergedFromProductIds().equals(other.getMergedFromProductIds()) ||\n            !this.getAffectedStorageAreaIds().equals(other.getAffectedStorageAreaIds()) ||\n            !this.getAffectedSalesItemIds().equals(other.getAffectedSalesItemIds()) ||\n            !this.getAffectedCartItems().equals(other.getAffectedCartItems()) ||\n            this.isHistoricalMergeInProgress() !== other.isHistoricalMergeInProgress()\n        ) {\n            return false;\n        }\n\n        return true;\n    }\n}\n","import { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport moment from 'moment-timezone';\n\nexport class ProductCostSettingEvent {\n    constructor(\n        private readonly _productId: ProductId,\n        private readonly _productCost: ProductCost,\n        private readonly _time: moment.Moment,\n    ) {}\n\n    get productId(): ProductId {\n        return this._productId;\n    }\n\n    get productCost(): ProductCost {\n        return this._productCost;\n    }\n\n    get time(): moment.Moment {\n        return this._time;\n    }\n}\n\n","import CoreTimeModel from 'gen-thrift/core_time_Model_types';\n\nimport { PublicContentTypeEnum } from './PublicContentTypeEnum';\nimport { PublicContentUrl } from './PublicContentUrl';\n\nexport class PublicContent {\n    private publicContentUrl : PublicContentUrl;\n    private publicContentType : PublicContentTypeEnum;\n    private title : string;\n    private excerpt : string;\n    private thumbnailUrl : string;\n    private publicationDate : CoreTimeModel.TimestampWithSecondPrecision;\n\n    constructor(\n        publicContentUrl : PublicContentUrl,\n        publicContentType : PublicContentTypeEnum,\n        title : string,\n        excerpt : string,\n        thumbnailUrl : string,\n        publicationDate : CoreTimeModel.TimestampWithSecondPrecision,\n    ) {\n        this.publicContentUrl = publicContentUrl;\n        this.publicContentType = publicContentType;\n        this.title = title;\n        this.excerpt = excerpt;\n        this.thumbnailUrl = thumbnailUrl;\n        this.publicationDate = publicationDate;\n    }\n\n    public getPublicContentUrl() : PublicContentUrl {\n        return this.publicContentUrl;\n    }\n\n    public getPublicContentType() : PublicContentTypeEnum {\n        return this.publicContentType;\n    }\n\n    public getTitle() : string {\n        return this.title;\n    }\n\n    public getExcerpt() : string {\n        return this.excerpt;\n    }\n\n    public getThumbnailUrl() : string {\n        return this.thumbnailUrl;\n    }\n\n    public getPublicationDate() : CoreTimeModel.TimestampWithSecondPrecision {\n        return this.publicationDate;\n    }\n}\n","import { PublicContent } from './PublicContent';\nimport { PublicContentViewEvent } from './PublicContentViewEvent';\n\nexport class PublicContentAndPublicContentViewEvent {\n    private publicContent : PublicContent;\n    private publicContentViewEvent : PublicContentViewEvent | null;\n\n    constructor(\n        publicContent : PublicContent,\n        publicContentViewEvent : PublicContentViewEvent | null\n    ) {\n        this.publicContent = publicContent;\n        this.publicContentViewEvent = publicContentViewEvent;\n    }\n\n    public getPublicContent() : PublicContent {\n        return this.publicContent;\n    }\n\n    public getPublicContentViewEvent() : PublicContentViewEvent | null {\n        return this.publicContentViewEvent;\n    }\n}\n","import CoreTimeModel from 'gen-thrift/core_time_Model_types';\n// TODO Use different time model\n\nimport { PublicContentUrl } from './PublicContentUrl';\nimport { PublicContentViewEventTypeEnum } from './PublicContentViewEventTypeEnum';\n\nexport class PublicContentViewEvent {\n    private eventTime : CoreTimeModel.TimestampWithMillisecondPrecision;\n    private referrer : string;\n    private eventType : PublicContentViewEventTypeEnum;\n    private publicContentUrlParameters : { [k : string] : Array<string> };\n    private publicContentUrl : PublicContentUrl;\n\n    constructor(\n        eventTime : CoreTimeModel.TimestampWithMillisecondPrecision,\n        referrer : string,\n        eventType : PublicContentViewEventTypeEnum,\n        publicContentUrlParameters : { [k : string] : Array<string> },\n        publicContentUrl : PublicContentUrl,\n    ) {\n        this.eventTime = eventTime;\n        this.referrer = referrer;\n        this.eventType = eventType;\n        this.publicContentUrlParameters = publicContentUrlParameters;\n        this.publicContentUrl = publicContentUrl;\n    }\n\n    public getEventTime() : CoreTimeModel.TimestampWithMillisecondPrecision {\n        return this.eventTime;\n    }\n\n    public getReferrer() : string {\n        return this.referrer;\n    }\n\n    public getEventType() : PublicContentViewEventTypeEnum {\n        return this.eventType;\n    }\n\n    public getPublicContentUrlParameters() : { [k : string] : Array<string> } {\n        return this.publicContentUrlParameters;\n    }\n\n    public getPublicContentUrl() : PublicContentUrl {\n        return this.publicContentUrl;\n    }\n}\n","import { PublicContentAndPublicContentViewEvent } from './PublicContentAndPublicContentViewEvent';\n\nexport class UserPublicContent {\n    private recentlyViewed : Array<PublicContentAndPublicContentViewEvent>;\n    private recommended : Array<PublicContentAndPublicContentViewEvent>;\n\n    constructor(\n        recentlyViewed : Array<PublicContentAndPublicContentViewEvent>,\n        recommended : Array<PublicContentAndPublicContentViewEvent>,\n    ) {\n        this.recentlyViewed = recentlyViewed;\n        this.recommended = recommended;\n    }\n\n    public getRecentlyViewed() : Array<PublicContentAndPublicContentViewEvent> {\n        return this.recentlyViewed;\n    }\n\n    public getRecommended() : Array<PublicContentAndPublicContentViewEvent> {\n        return this.recommended;\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\n\nexport class CategoryLevelSalesReportConfiguration {\n    constructor(\n        private readonly creationTime : moment.Moment,\n        private readonly startingInventoryId : InventoryCountId,\n        private readonly endingInventoryId : InventoryCountId,\n    ) {}\n\n    public getCreationTime() : moment.Moment {\n        return this.creationTime;\n    }\n\n    public getStartingInventoryId() : InventoryCountId {\n        return this.startingInventoryId;\n    }\n\n    public getEndingInventoryId() : InventoryCountId {\n        return this.endingInventoryId;\n    }\n}\n","import { IStringValue } from 'api/Core/IStringValue';\n\nexport class CategoryLevelSalesReportConfigurationId implements IStringValue {\n    constructor (private readonly value : string) { }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : CategoryLevelSalesReportConfigurationId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n\n    public toString() : string {\n        return `{CategoryLevelSalesReportConfigurationId: ${this.value}}`;\n    }\n}\n","import { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nexport class ReportMetadata {\n\n    constructor (\n        private readonly creationMetadata : UserAccountIdAndTimestamp,\n        private readonly updateMetadata : UserAccountIdAndTimestamp | null,\n        private readonly perspectiveIsOriginator : boolean,\n    ) {}\n\n    public getCreationMetadata() : UserAccountIdAndTimestamp {\n        return this.creationMetadata;\n    }\n\n    public getUpdateMetadata() : UserAccountIdAndTimestamp | null {\n        return this.updateMetadata;\n    }\n\n    public getPerspectiveIsOriginator() : boolean {\n        return this.perspectiveIsOriginator;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ReportMetadata } from 'api/Transfer/model/ReportMetadata';\nimport { TransferReportData } from 'api/Transfer/model/TransferReportData';\n\nexport class TransferReport {\n\n    constructor (\n        private readonly transferReportData : TransferReportData,\n        private readonly reportMetaData : ReportMetadata,\n        private readonly productCostsByProductId : StringValueMap<ProductId, ProductCost>\n    ) {}\n\n    public getTransferReportData() : TransferReportData {\n        return this.transferReportData;\n    }\n\n    public getReportMetaData() : ReportMetadata {\n        return this.reportMetaData;\n    }\n\n    public getProductCostsByProductId() : StringValueMap<ProductId, ProductCost> {\n        return this.productCostsByProductId;\n    }\n}\n","import { ReportMetadata } from 'api/Transfer/model/ReportMetadata';\nimport { TransferReportData } from 'api/Transfer/model/TransferReportData';\n\nexport class TransferReportWithoutCost {\n\n    constructor (\n        private readonly transferReportData : TransferReportData,\n        private readonly reportMetaData : ReportMetadata,\n    ) {}\n\n    public getTransferReportData() : TransferReportData {\n        return this.transferReportData;\n    }\n\n    public getReportMetaData() : ReportMetadata {\n        return this.reportMetaData;\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\n\nexport type invitationType = 'retailer' | 'group';\n\nexport class InviteInfo {\n    private readonly userJoinedEstablishment : boolean;\n    private readonly invitedByUserName : string;\n    private readonly inviteType : invitationType;\n    private readonly invitedToId : LocationId;\n    private readonly invitedToName : string;\n\n    constructor(\n        userJoinedEstablishment : boolean,\n        invitedByUserName : string,\n        inviteType : invitationType,\n        invitedToId : string,\n        invitedToName : string\n    ) {\n        this.userJoinedEstablishment = userJoinedEstablishment;\n        this.invitedByUserName = invitedByUserName;\n        this.inviteType = inviteType;\n        this.invitedToId = new LocationId(invitedToId);\n        this.invitedToName = invitedToName;\n    }\n\n    public hasUserJoinedEstablishment = () : boolean => {\n        return this.userJoinedEstablishment;\n    }\n\n    public getInvitedByUserName = () : string => {\n        return this.invitedByUserName;\n    }\n\n    public getInvitationType = () : invitationType => {\n        return this.inviteType;\n    }\n\n    // this could be a reatiler id OR a group id (check inviteType!)\n    public getInvitedToId = () : LocationId => {\n        return this.invitedToId;\n    }\n\n    public getInvitedToName = () : string => {\n        return this.invitedToName;\n    }\n}\n","export class UserSessionId {\n    constructor(private readonly value : string) {\n    }\n\n    public getValue() : string {\n        return this.value;\n    }\n\n    public equals(other : UserSessionId) : boolean {\n        return this.getValue() === other.getValue();\n    }\n}\n","import { IntegrationState } from 'api/Integration/model/IntegrationState';\n\nexport class ToastIntegrationState extends IntegrationState {\n\n}\n","import moment from 'moment-timezone';\n\nexport class PlateIQIntegrationState {\n    constructor (\n        private readonly plateIQRestaurantId : number | null,\n        private readonly earliestInvoiceToSyncDate : moment.Moment | null,\n        private readonly glCodesToSync : Set<string> | null,\n        private readonly mostRecentSyncAttemptDate : moment.Moment | null,\n    ) { }\n\n    public getPlateIQRestaurantId() {\n        return this.plateIQRestaurantId;\n    }\n\n    public getEarliestInvoiceToSyncDate() {\n        return this.earliestInvoiceToSyncDate;\n    }\n\n    public getGlCodesToSync() {\n        return this.glCodesToSync;\n    }\n\n    public getMostRecentSyncAttemptDate() {\n        return this.mostRecentSyncAttemptDate;\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { ToastIntegrationState } from 'api/Integration/model/ToastIntegrationState';\nimport { PlateIQIntegrationState } from '../model/PlateIQIntegrationState';\n\ninterface IToastIntegrationStateJSONObject {\n    toast_restaurant_id : null | string;\n    is_accessible : boolean;\n    cache_data_effective_date : null | string;\n}\n\ninterface IPlateIQIntegrationStateJSONOObject {\n    plate_iq_restaurant_id : number | null;\n    earliest_invoice_to_sync_date : string | null;\n    gl_codes_to_sync : Array<string> | null;\n    most_recent_sync_attempt_date : string | null;\n}\n\nexport class IntegrationJSONToObjectSerializer {\n    public getToastIntegrationStates(jsonArray : Array<IToastIntegrationStateJSONObject>) : Set<ToastIntegrationState> {\n        const states = new Set<ToastIntegrationState>();\n        jsonArray.forEach((jsonObject) => {\n            if (jsonObject.toast_restaurant_id !== null) {\n                states.add(new ToastIntegrationState(jsonObject.toast_restaurant_id, jsonObject.is_accessible, jsonObject.cache_data_effective_date ? moment.utc(jsonObject.cache_data_effective_date) : null));\n            }\n        });\n        return states;\n    }\n\n    public getPlateIQIntegrationState(jsonObject : IPlateIQIntegrationStateJSONOObject) {\n        return new PlateIQIntegrationState(\n            jsonObject.plate_iq_restaurant_id,\n            jsonObject.earliest_invoice_to_sync_date ? moment.utc(jsonObject.earliest_invoice_to_sync_date) : null,\n            jsonObject.gl_codes_to_sync ? new Set(jsonObject.gl_codes_to_sync) : null,\n            jsonObject.most_recent_sync_attempt_date ? moment.utc(jsonObject.most_recent_sync_attempt_date) : null,\n        );\n    }\n}\n","export class UnauthenticatedUserSessionNotFoundException extends Error {\n    constructor(message? : string) {\n        super(message);\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, UnauthenticatedUserSessionNotFoundException.prototype);\n    }\n}\n","import { IUserInfoReader } from '../interfaces/IUserInfoReader';\nimport { UserInfo } from '../models/UserInfo';\n\nexport class UserInfoManagerImpl implements IUserInfoReader {\n    public getUserInfo() : UserInfo {\n        // Based on project @ amiunique.org\n\n        const getCanvasData = () => {\n            // Gets base64 encoded canvas pixel data\n            // Takes advantage of how rendering may be different on\n            // different machines / browsers\n            // text and backdrops are used to force use of\n            // anti-aliasing and font rendering -- which\n            // are expected to be especially decent candidates\n            // for difference in implementation / rounding on\n            // pixels.\n            let canvasData : string;\n            try {\n                const canvas = document.createElement('canvas');\n                canvas.height = 20;\n                canvas.width = 180;\n\n                const canvasContext = canvas.getContext('2d');\n\n                if (canvasContext !== null) {\n                    canvas.style.display = 'inline';\n                    canvasContext.textBaseline = 'alphabetic';\n                    canvasContext.fillStyle = '#f60';\n                    canvasContext.fillRect(125, 8, 42, 10);\n                    canvasContext.fillStyle = '#069';\n                    canvasContext.font = '11pt no-real-font-123';\n                    canvasContext.fillText('Cwm fjodbnkglphs vxtquiz,\\ud83d\\ude03', -10, 15);\n                    canvasContext.fillStyle = 'rgba(102, 204, 0, 0.7)';\n                    canvasContext.font = '18pt Arial';\n                    canvasContext.fillText('Cwm vext quiz, \\ud83d\\ude03', -4, 25);\n                    canvasData = canvas.toDataURL();\n                } else {\n                    canvasData = 'Not supported';\n                }\n            } catch (e) {\n                canvasData = 'Not supported';\n            }\n\n            return { canvasData };\n        };\n\n        const getWebGLData = () => {\n            // Gets information tied to webGL usage\n            // Outputs a vendor (manufacturer)\n            // and a renderer (cpu graphics or GPU) utilised\n            // by the browser\n            let webGLVendor : string;\n            let webGLRenderer : string;\n            try {\n                const canvas = document.createElement('canvas');\n                const ctx: WebGLRenderingContext | null = canvas.getContext('webgl') || canvas.getContext('experimental-webgl') as WebGLRenderingContext;\n                const supportedExtensions = ctx ? ctx.getSupportedExtensions() : null;\n                let extension: WEBGL_debug_renderer_info | null = null; \n                if (ctx && supportedExtensions && supportedExtensions.indexOf('WEBGL_debug_renderer_info') >= 0) {\n                    extension = ctx.getExtension('WEBGL_debug_renderer_info');\n                }\n                if (ctx && extension) {\n                    webGLVendor = ctx.getParameter(extension.UNMASKED_VENDOR_WEBGL);\n                    webGLRenderer = ctx.getParameter(extension.UNMASKED_RENDERER_WEBGL);\n                } else {\n                    webGLVendor = 'Not supported';\n                    webGLRenderer = 'Not supported';\n                }\n            } catch (e) {\n                webGLVendor = 'Not supported';\n                webGLRenderer = 'Not supported';\n            }\n\n            return {\n                webGLVendor,\n                webGLRenderer,\n            };\n        };\n\n        const getPluginData = () => {\n            // Gets a list of plugins made available to\n            // the browser. Ex: Adobe Acrobat.\n            // Doesn't work on seriously old versions of\n            // IE\n            let pluginStr = '';\n            try {\n                const plugins = window.navigator.plugins;\n                const pluginList = [];\n\n                for (let i = 0; i < plugins.length; i++) {\n                    pluginList[i] = plugins[i].name + '; ' +\n                        plugins[i].description + '; ' +\n                        plugins[i].filename + '. ';\n                }\n\n                pluginList.sort();\n\n                for (let i = 0; i < plugins.length; i++) {\n                    pluginStr += 'Plugin ' + i + ': ' + pluginList[i];\n                }\n\n                // Clip to reasonable length\n                // this is old code using a bunch of deprecated stuff; not gonna fix the lint error just leaving as-is for now (this file should probably undergo some updates)\n                // eslint-disable-next-line no-self-assign\n                pluginStr = pluginStr;\n\n            } catch (e) {\n                // do nothing\n            }\n\n            return { plugins: pluginStr };\n        };\n\n        const getStorageData = () => {\n            // Test if local / session storage\n            // is allowed by the browser\n\n            let localStorageAllowed : string;\n            let sessionStorageAllowed : string;\n\n            const localStorageAllowedCheck : string = 'localStorageAllowedCheck';\n\n            // Random garbage location is just to avoid possibility\n            // of collision with future storage attempts\n            try {\n                localStorage[localStorageAllowedCheck] = 'test';\n                sessionStorage[localStorageAllowedCheck] = 'test';\n            } catch (e) {\n                // do nothing\n            }\n\n            try {\n                if (localStorage[localStorageAllowedCheck] === 'test') {\n                    localStorageAllowed = 'yes';\n                } else {\n                    localStorageAllowed = 'no';\n                }\n            } catch (e) {\n                localStorageAllowed = 'no';\n            }\n\n            try {\n                if (sessionStorage[localStorageAllowedCheck] === 'test') {\n                    sessionStorageAllowed = 'yes';\n                } else {\n                    sessionStorageAllowed = 'no';\n                }\n            } catch (e) {\n                sessionStorageAllowed = 'no';\n            }\n\n            if (localStorageAllowed) {\n                localStorage.removeItem(localStorageAllowedCheck);\n            }\n\n            return {\n                localStorageAllowed,\n                sessionStorageAllowed,\n            };\n        };\n\n        const getCookieAllowed = () => {\n            // Test if cookies are enabled\n            const cookieAllowed = window.navigator.cookieEnabled ? 'yes' : 'no';\n            return { cookieAllowed };\n        };\n\n        const getPlatformData = () => {\n            // Find out the OS of the device\n            return { platform: String(window.navigator.platform) };\n        };\n\n        const getDoNotTrackData = () => {\n            // Get doNotTrack browser attribute\n            let doNotTrack : string;\n            const navigator = window.navigator;\n\n            if (navigator.doNotTrack !== null && navigator.doNotTrack !== 'unspecified') {\n                if (navigator.doNotTrack === '1' || navigator.doNotTrack === 'yes') {\n                    doNotTrack = 'yes';\n                } else {\n                    doNotTrack = 'no';\n                }\n            } else {\n                doNotTrack = 'NC';\n            }\n\n            return { doNotTrack };\n        };\n\n        const getTimezoneData = () => {\n            // Find out the timezone of the machine\n            return { timezone: String(new Date().getTimezoneOffset()) };\n        };\n\n        const getResolutionData = () => {\n            // Get screen resolution\n            return { resolution: window.screen.width + 'x' + window.screen.height + 'x' + window.screen.colorDepth };\n        };\n\n        const truncateString = (value : string) : string => {\n            return value.substring(0, 4096);\n        };\n\n        return {\n            canvasData: truncateString(getCanvasData().canvasData),\n            webGLVendor: truncateString(getWebGLData().webGLVendor),\n            webGLRenderer: truncateString(getWebGLData().webGLRenderer),\n            plugins: truncateString(getPluginData().plugins),\n            localStorageAllowed: truncateString(getStorageData().localStorageAllowed),\n            sessionStorageAllowed: truncateString(getStorageData().sessionStorageAllowed),\n            cookieAllowed: truncateString(getCookieAllowed().cookieAllowed),\n            platform: truncateString(getPlatformData().platform),\n            doNotTrack: truncateString(getDoNotTrackData().doNotTrack),\n            timezone: truncateString(getTimezoneData().timezone),\n            resolution: truncateString(getResolutionData().resolution),\n        };\n    }\n}\n","// Must go first, before any other imports (used for redux state things)\nimport { enableMapSet } from \"immer\";\nenableMapSet();\n\nimport { DistributorNameMappingServiceImpl } from 'api/Distributor/impl/DistributorNameMappingServiceImpl';\nimport { DistributorObjectToJSONSerializer } from 'api/Distributor/serializer/DistributorObjectToJSONSerializer';\nimport { AdjustmentNameMappingServiceImpl } from 'api/Ordering/impl/AdjustmentNameMappingServiceImpl';\nimport { AdjustmentToLineItemMappingServiceImpl } from 'api/Ordering/impl/AdjustmentToLineItemMappingServiceImpl';\nimport { LineItemToAdjustmentMappingServiceImpl } from 'api/Ordering/impl/LineItemToAdjustmentMappingServiceImpl';\nimport { TaxToAdjustmentMappingServiceImpl } from 'api/Ordering/impl/TaxToAdjustmentMappingServiceImpl';\nimport { EstablishmentServiceImpl } from 'api/Establishment/impl/EstablishmentServiceImpl';\nimport { VendorIntegrationServiceImpl } from 'api/Integration/impl/VendorIntegrationServiceImpl';\nimport { CategoryServiceImpl } from 'api/Product/impl/CategoryServiceImpl';\nimport { ExpectedInventoryServiceImpl } from 'api/InventoryCount/impl/ExpectedInventoryServiceImpl';\nimport { ExpectedInventoryDeserializer } from 'api/InventoryCount/serializer/ExpectedInventoryDeserializer';\nimport { ProductMergeServiceImpl } from 'api/Product/impl/ProductMergeServiceImpl';\nimport { IncidentBannerServiceImpl } from 'shared/components/IncidentBanner/impl/IncidentBannerServiceImpl';\nimport { init as initFullStory } from '@fullstory/browser';\nimport Thrift from 'thrift';\n\nimport { Client as AdminSalesItemServiceClient } from 'gen-thrift/AdminSalesItemService';\nimport { Client as BreakageReportServiceClient } from 'gen-thrift/BreakageReportService';\nimport { Client as ThriftDistributorServiceClient } from 'gen-thrift/DistributorService';\nimport { Client as DrinkPriceToolServiceClient } from 'gen-thrift/DrinkPriceToolService';\nimport { Client as IntegrationServiceClient } from 'gen-thrift/IntegrationService';\nimport { Client as InterLocationProductMappingServiceClient } from 'gen-thrift/InterLocationProductMappingService';\nimport { Client as InventoryCountServiceClient } from 'gen-thrift/InventoryCountService';\nimport { Client as InventoryCurrentConfigurationServiceClient } from 'gen-thrift/InventoryCurrentConfigurationService';\nimport { Client as InventoryTransferReportServiceClient } from 'gen-thrift/InventoryTransferReportService';\nimport { Client as MergeAccountingIntegrationServiceClient } from 'gen-thrift/MergeAccountingIntegrationService';\nimport { Client as MergeIntegrationObjectMappingServiceClient } from 'gen-thrift/MergeIntegrationObjectMappingService';\nimport { Client as PrepEventServiceClient } from 'gen-thrift/PrepEventService';\nimport { Client as ProductCostServiceClient } from 'gen-thrift/ProductCostService';\nimport { Client as ProductDistributorServiceClient } from 'gen-thrift/ProductDistributorService';\nimport { Client as ProductParServiceClient } from 'gen-thrift/ProductParService';\nimport { Client as ThriftProductServiceClient } from 'gen-thrift/ProductService';\nimport { Client as ThriftPublicContentViewEventServiceClient } from 'gen-thrift/PublicContentViewEventService';\nimport { Client as SalesItemServiceClient } from 'gen-thrift/SalesItemService';\nimport { Client as UnauthenticatedUserSessionServiceClient } from 'gen-thrift/UnauthenticatedUserSessionService';\nimport { Client as UserAccountServiceClient } from 'gen-thrift/UserAccountService';\nimport { Client as UserActionLogServiceClient } from 'gen-thrift/UserActionLogService';\nimport { Client as UserEmailAddressVerificationServiceClient } from 'gen-thrift/UserEmailAddressVerificationService';\nimport { Client as UserPasswordServiceClient } from 'gen-thrift/UserPasswordService';\nimport { Client as UserSessionServiceClient } from 'gen-thrift/UserSessionService';\n\nimport { AdminServiceImpl } from 'api/Admin/impl/AdminServiceImpl';\nimport { BillingAddOnServiceImpl } from 'api/Billing/impl/BillingAddOnServiceImpl';\nimport { BillingRetailerService } from 'api/Billing/impl/BillingRetailerService';\nimport { StripeCustomerServiceImpl } from 'api/Billing/impl/StripeCustomerServiceImpl';\nimport { BillingDataSerializer } from 'api/Billing/serializer/BillingDataSerializer';\nimport { BreakageServiceImpl } from 'api/Breakage/impl/BreakageServiceImpl';\nimport { BreakageObjectToThriftSerializer } from 'api/Breakage/serializer/BreakageObjectToThriftSerializer';\nimport { BreakageThriftToObjectSerializer } from 'api/Breakage/serializer/BreakageThriftToObjectSerializer';\nimport { CartServiceImpl } from 'api/Cart/impl/CartServiceImpl';\nimport { CartJSONToObjectSerializer } from 'api/Cart/serializer/CartJSONToObjectSerializer';\nimport { CartObjectToJSONSerializer } from 'api/Cart/serializer/CartObjectToJSONSerializer';\nimport { OfflineQueueManagerImpl } from 'api/Core/OfflineQueueManager/impl/OfflineQueueManagerImpl';\nimport { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { DistributorService } from 'api/Distributor/impl/DistributorService';\nimport { DistributorObjectToThriftSerializer } from 'api/Distributor/serializer/DistributorObjectToThriftSerializer';\nimport { DistributorThriftToObjectSerializer } from 'api/Distributor/serializer/DistributorThriftToObjectSerializer';\nimport { POSIntegrationServiceImpl } from 'api/Integration/impl/POSIntegrationServiceImpl';\nimport { PlateIQIntegrationServiceImpl } from 'api/Integration/impl/PlateIQIntegrationServiceImpl';\nimport { ToastIntegrationServiceImpl } from 'api/Integration/impl/ToastIntegrationServiceImpl';\nimport { CurrentInventoryConfigurationServiceImpl } from 'api/InventoryCount/impl/CurrentInventoryConfigurationServiceImpl';\nimport { InventoryCountServiceImpl } from 'api/InventoryCount/impl/InventoryCountServiceImpl';\nimport { InventoryCountViewPreferencesServiceImpl } from 'api/InventoryCount/impl/InventoryCountViewPreferencesServiceImpl';\nimport { InventoryCountObjectToThriftSerializer } from 'api/InventoryCount/serializer/InventoryCountObjectToThriftSerializer';\nimport { InventoryCountThriftToObjectSerializer } from 'api/InventoryCount/serializer/InventoryCountThriftToObjectSerializer';\nimport { GettingStartedGuideService } from 'api/Location/impl/GettingStartedGuideService';\nimport { LocationProductServiceImpl } from 'api/Location/impl/LocationProductServiceImpl';\nimport { LocationServiceImpl } from 'api/Location/impl/LocationServiceImpl';\nimport { LocationJSONToObjectSerializer } from 'api/Location/serializer/LocationJSONToObjectSerializer';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { LocationThriftToObjectSerializer } from 'api/Location/serializer/LocationThriftToObjectSerializer';\nimport { ScopeObjectToThriftSerializer } from 'api/Location/serializer/ScopeObjectToThriftSerializer';\nimport { ScopeThriftToObjectSerializer } from 'api/Location/serializer/ScopeThriftToObjectSerializer';\nimport { WelcomeQuestionnaireResponseObjectToJsonSerializer } from 'api/Location/serializer/WelcomeQuestionnaireResponseObjectToJsonSerializer';\nimport { UserActionLogCommentService } from 'api/Messaging/impl/UserActionLogCommentService';\nimport { InventorySheetsServiceImpl } from 'api/Onboarding/impl/InventorySheetsServiceImpl';\nimport { ProductUploadServiceImpl } from 'api/Onboarding/impl/ProductUploadServiceImpl';\nimport { ProductUploadJSONToObjectSerializer } from 'api/Onboarding/serializer/ProductUploadJSONToObjectSerializer';\nimport { InvoiceUploadServiceImpl } from 'api/Ordering/impl/InvoiceUploadServiceImpl';\nimport { OrderingServiceImpl } from 'api/Ordering/impl/OrderingServiceImpl';\nimport { OrderingJSONToObjectSerializer } from 'api/Ordering/serializer/OrderingJSONToObjectSerializer';\nimport { OrderingObjectToJSONSerializer } from 'api/Ordering/serializer/OrderingObjectToJSONSerializer';\nimport { GroupPermissionsServiceImpl } from 'api/Permissions/impl/GroupPermissionsServiceImpl';\nimport { PrepEventServiceImpl } from 'api/PrepEvent/impl/PrepEventServiceImpl';\nimport { PrepEventObjectToThriftSerializer } from 'api/PrepEvent/serializer/PrepEventObjectToThriftSerializer';\nimport { PrepEventThriftToObjectSerializer } from 'api/PrepEvent/serializer/PrepEventThriftToObjectSerilaizer';\nimport { PresentationCacheDataService } from 'api/PresentationCache/impl/PresentationCacheDataService';\nimport { CachedProductServiceImpl } from 'api/Product/impl/CachedProductServiceImpl';\nimport { ProductCostServiceImpl } from 'api/Product/impl/ProductCostServiceImpl';\nimport { ProductDistributorAssociationServiceImpl } from 'api/Product/impl/ProductDistributorAssociationServiceImpl';\nimport { ProductDistributorServiceImpl } from 'api/Product/impl/ProductDistributorServiceImpl';\nimport { ProductServiceImpl } from 'api/Product/impl/ProductServiceImpl';\nimport { ProductDistributorAssociationObjectToThriftSerializer } from 'api/Product/serializer/ProductDistributorAssociationObjectToThriftSerializer';\nimport { ProductDistributorAssociationThriftToObjectSerializer } from 'api/Product/serializer/ProductDistributorAssociationThriftToObjectSerializer';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\nimport { ProductObjectToJSONSerializer } from 'api/Product/serializer/ProductObjectToJSONSerializer';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { ProductParServiceImpl } from 'api/ProductPar/impl/ProductParServiceImpl';\nimport { PublicContentViewEventServiceImpl } from 'api/PublicContent/impl/PublicContentViewEventServiceImpl';\nimport { PublicContentObjectToThriftSerializer } from 'api/PublicContent/serializer/PublicContentObjectToThriftSerializer';\nimport { PublicContentThriftToObjectSerializer } from 'api/PublicContent/serializer/PublicContentThriftToObjectSerializer';\nimport { CategoryLevelSalesReportConfigurationServiceImpl } from 'api/Reports/impl/CategoryLevelSalesReportConfigurationServiceImpl';\nimport { ItemLevelSalesReportConfigurationServiceImpl } from 'api/Reports/impl/ItemLevelSalesReportConfigurationServiceImpl';\nimport { PmixUploadServiceImpl } from 'api/Reports/impl/PmixUploadServiceImpl';\nimport { CategoryLevelSalesReportConfigurationSerializer } from 'api/Reports/serializer/CategoryLevelSalesReportConfigurationSerializer';\nimport { ItemLevelSalesReportConfigurationSerializer } from 'api/Reports/serializer/ItemLevelSalesReportConfigurationSerializer';\nimport { SalesItemServiceImpl } from 'api/SalesItem/impl/SalesItemServiceImpl';\nimport { SalesItemObjectToThriftSerializer } from 'api/SalesItem/serializer/SalesItemObjectToThriftSerializer';\nimport { SalesItemThriftToObjectSerializer } from 'api/SalesItem/serializer/SalesItemThriftToObjectSerializer';\nimport { ProductMappingServiceImpl } from 'api/Transfer/impl/ProductMappingServiceImpl';\nimport { TransferServiceImpl } from 'api/Transfer/impl/TransferServiceImpl';\nimport { ProductMappingObjectToThriftSerializer } from 'api/Transfer/serializer/ProductMappingObjectToThriftSerializer';\nimport { ProductMappingThriftToObjectSerializer } from 'api/Transfer/serializer/ProductMappingThriftToObjectSerializer';\nimport { TransferObjectToJSONSerializer } from 'api/Transfer/serializer/TransferObjectToJSONSerializer';\nimport { TransferObjectToThriftSerializer } from 'api/Transfer/serializer/TransferObjectToThriftSerializer';\nimport { TransferThriftToObjectSerializer } from 'api/Transfer/serializer/TransferThriftToObjectSerializer';\nimport { UsageDataServiceImpl } from 'api/UsageData/impl/UsageDataServiceImpl';\nimport { UsageDataSerializer } from 'api/UsageData/serializer/UsageDataSerializer';\nimport { UserAccountInfoServiceImpl } from 'api/UserAccount/impl/UserAccountInfoServiceImpl';\nimport { UserInviteServiceImpl } from 'api/UserAccount/impl/UserInviteServiceImpl';\nimport { InviteInfoJSONToObjectSerializer } from 'api/UserAccount/serializer/InviteInfoJSONToObjectSerializer';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\n\nimport { DrinkPriceToolManager } from 'apps/DrinkPriceTool/api/DrinkPriceToolManager';\n\nimport { UserAccountManagerImpl } from './account/impl/UserAccountManagerImpl';\nimport { UserEmailAddressVerifierImpl } from './account/impl/UserEmailAddressVerifierImpl';\nimport { UserPasswordManagerImpl } from './account/impl/UserPasswordManagerImpl';\nimport { UserSessionManagerImpl } from './account/impl/UserSessionManagerImpl';\nimport { CookieManagerImpl } from './cookie/impl/CookieManagerImpl';\nimport { RuntimeException } from './general/exceptions/RuntimeException';\n\nimport { IntegrationJSONToObjectSerializer } from 'api/Integration/serializer/IntegrationJSONToObjectSerializer';\nimport { LocationSettingsServiceImpl } from 'api/Location/impl/LocationSettingsServiceImpl';\nimport { SalesImportServiceImpl } from 'api/SalesData/impl/SalesImportServiceImpl';\nimport { SalesSettingsServiceImpl } from 'api/SalesData/impl/SalesSettingsServiceImpl';\nimport { UnauthenticatedUserSessionManagerImpl } from './unauthenticated_user_session/impl/UnauthenticatedUserSessionManagerImpl';\nimport { QueryStringManagerImpl } from './url/impl/QueryStringManagerImpl';\nimport { UserInfoManagerImpl } from './user_info/impl/UserInfoManagerImpl';\nimport { TermsConditionsAgreementServiceImpl } from 'api/Billing/impl/TermsConditionsAgreementServiceImpl';\nimport {\n    CachedProductDistributorAssociationServiceImpl\n} from 'api/Product/impl/CachedProductDistributorAssociationServiceImpl';\nimport { AppQueueApi } from './serviceRegistryTypes';\nimport { initializeFullStoryIdentity } from 'shared/utils/observer';\n\n// PRIVATE\nconst getThriftConnection = (thriftServiceName : string) => {\n    if (thriftServiceName.length === 0) {\n        throw new RuntimeException('thriftServiceName must not be empty string');\n    }\n    const options = {\n        transport: Thrift.TBufferedTransport,\n        protocol: Thrift.TJSONProtocol,\n        path: '/t/' + thriftServiceName,\n        https: window.location.protocol === 'https:'\n    };\n    const host = window.hostname || window.location.hostname;\n    const port = window.location.port || (window.location.protocol === 'https:' ? 443 : 80);\n    return Thrift.createXHRConnection(host, port, options);\n};\n\ninitFullStory({ orgId: '3GQT7' }, () => {\n    initializeFullStoryIdentity(window.GLOBAL_USER_ID, window.GLOBAL_USER_NAME, window.GLOBAL_USER_EMAIL);\n});\n\n// IMPLS\nexport const cookieManager = new CookieManagerImpl();\n\nexport const userInfoManager = new UserInfoManagerImpl();\n\nexport const queryStringManager = new QueryStringManagerImpl();\n\nexport const offlineQueueManager = new OfflineQueueManagerImpl();\n\nconst unauthenticatedUserSessionClient = Thrift.createXHRClient(\n    UnauthenticatedUserSessionServiceClient,\n    getThriftConnection('UnauthenticatedUserSessionService')\n) as UnauthenticatedUserSessionServiceClient;\nexport const unauthenticatedUserSessionManager = new UnauthenticatedUserSessionManagerImpl(\n    unauthenticatedUserSessionClient,\n    new UserInfoManagerImpl(),\n    cookieManager,\n    cookieManager\n);\n\nexport const userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer = new UserAccountObjectToThriftSerializer();\nconst userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer = new UserAccountThriftToObjectSerializer();\n\nconst scopeObjectToThriftSerializer : ScopeObjectToThriftSerializer = new ScopeObjectToThriftSerializer();\nconst scopeThriftToObjectSerializer : ScopeThriftToObjectSerializer = new ScopeThriftToObjectSerializer();\n\nconst distributorObjectToThriftSerializer : DistributorObjectToThriftSerializer = new DistributorObjectToThriftSerializer(scopeObjectToThriftSerializer);\n\nconst distributorObjectToJsonSerializer = new DistributorObjectToJSONSerializer();\n\nconst locationJSONToObjectSerializer = new LocationJSONToObjectSerializer();\nconst locationObjectToThriftSerializer = new LocationObjectToThriftSerializer();\nconst locationThriftToObjectSerializer = new LocationThriftToObjectSerializer();\n\nexport const productThriftToObjectSerializer = new ProductThriftToObjectSerializer();   // currently some models/components still use thrift-gen models and need this serializer - remove the export when they are cleaned up\nexport const productObjectToThriftSerializer = new ProductObjectToThriftSerializer();\n\nconst distributorThriftToObjectSerializer : DistributorThriftToObjectSerializer = new DistributorThriftToObjectSerializer(scopeThriftToObjectSerializer, productThriftToObjectSerializer);\n\n// this should not be exported, but because we use the thrift time model in various models right now, this is to help conversion\nexport const momentObjectToThriftSerializer = new MomentObjectToThriftSerializer();\n\nconst userSessionClient = Thrift.createXHRClient(\n    UserSessionServiceClient,\n    getThriftConnection('UserSessionService')\n) as UserSessionServiceClient;\nexport const userSessionManager = new UserSessionManagerImpl(\n    userSessionClient,\n    cookieManager,\n    cookieManager,\n    cookieManager,\n    userAccountObjectToThriftSerializer,\n);\n\nconst userPasswordClient = Thrift.createXHRClient(\n    UserPasswordServiceClient,\n    getThriftConnection('UserPasswordService')\n) as UserPasswordServiceClient;\nexport const userPasswordManager = new UserPasswordManagerImpl(\n    userPasswordClient,\n    unauthenticatedUserSessionManager,\n    userSessionManager,\n    userAccountObjectToThriftSerializer,\n    userAccountThriftToObjectSerializer\n);\n\nconst userEmailAddressVerifierClient = Thrift.createXHRClient(\n    UserEmailAddressVerificationServiceClient,\n    getThriftConnection('UserEmailAddressVerificationService')\n) as UserEmailAddressVerificationServiceClient;\nexport const userEmailAddressVerifier = new UserEmailAddressVerifierImpl(\n    userEmailAddressVerifierClient,\n    userSessionManager,\n    userAccountObjectToThriftSerializer,\n);\n\nconst userAccountManagerClient = Thrift.createXHRClient(\n    UserAccountServiceClient,\n    getThriftConnection('UserAccountService')\n) as UserAccountServiceClient;\nexport const userAccountManager = new UserAccountManagerImpl(\n    userAccountManagerClient,\n    unauthenticatedUserSessionManager,\n    userSessionManager,\n    userAccountThriftToObjectSerializer\n);\n\nconst drinkPriceToolManagerClient = Thrift.createXHRClient(\n    DrinkPriceToolServiceClient,\n    getThriftConnection('DrinkPriceToolService')\n) as DrinkPriceToolServiceClient;\nexport const drinkPriceToolManager = new DrinkPriceToolManager(\n    drinkPriceToolManagerClient,\n    userAccountObjectToThriftSerializer,\n);\n\nconst distributorClient = Thrift.createXHRClient(\n    ThriftDistributorServiceClient,\n    getThriftConnection('DistributorService')\n) as ThriftDistributorServiceClient;\nexport const DistributorServiceInstance = new DistributorService(\n    distributorClient,\n    distributorObjectToThriftSerializer,\n    distributorThriftToObjectSerializer,\n    userAccountObjectToThriftSerializer,\n    new LocationObjectToThriftSerializer(),\n);\n\nexport const DistributorNameMappingServiceInstance = new DistributorNameMappingServiceImpl(distributorObjectToJsonSerializer);\n\nexport const AdjustmentNameMappingServiceInstance = new AdjustmentNameMappingServiceImpl();\n\nexport const AdjustmentToLineItemMappingServiceInstance = new AdjustmentToLineItemMappingServiceImpl();\n\nexport const LineItemToAdjustmentMappingServiceInstance = new LineItemToAdjustmentMappingServiceImpl();\n\nexport const TaxToAdjustmentMappingServiceInstance = new TaxToAdjustmentMappingServiceImpl();\n\nconst productClient = Thrift.createXHRClient(\n    ThriftProductServiceClient,\n    getThriftConnection('ProductService')\n) as ThriftProductServiceClient;\nexport const ProductDistributorServiceInstance = new ProductDistributorServiceImpl(\n    productClient,\n    productObjectToThriftSerializer,\n    productThriftToObjectSerializer,\n    distributorObjectToThriftSerializer,\n    distributorThriftToObjectSerializer,\n    userAccountObjectToThriftSerializer,\n    DistributorServiceInstance,\n);\n\nconst productDistributorAssociationObjectToThriftSerializer = new ProductDistributorAssociationObjectToThriftSerializer(productObjectToThriftSerializer, distributorObjectToThriftSerializer);\nconst productDistributorAssociationThriftToObjectSerializer = new ProductDistributorAssociationThriftToObjectSerializer(productThriftToObjectSerializer, distributorThriftToObjectSerializer);\n\nconst productDistributorClient = Thrift.createXHRClient(\n    ProductDistributorServiceClient,\n    getThriftConnection('ProductDistributorService')\n) as ProductDistributorServiceClient;\nexport const productDistributorAssociationService = new CachedProductDistributorAssociationServiceImpl(\n    new ProductDistributorAssociationServiceImpl(\n        productDistributorClient,\n        productObjectToThriftSerializer,\n        distributorObjectToThriftSerializer,\n        userAccountObjectToThriftSerializer,\n        productDistributorAssociationObjectToThriftSerializer,\n        productDistributorAssociationThriftToObjectSerializer\n    )\n);\n\nconst publicContentObjectToThriftSerializer : PublicContentObjectToThriftSerializer = new PublicContentObjectToThriftSerializer();\nconst publicContentThriftToObjectSerializer : PublicContentThriftToObjectSerializer = new PublicContentThriftToObjectSerializer();\n\nconst publicContentViewEventClient = Thrift.createXHRClient(\n    ThriftPublicContentViewEventServiceClient,\n    getThriftConnection('PublicContentViewEventService')\n) as ThriftPublicContentViewEventServiceClient;\nexport const publicContentViewEventService = new PublicContentViewEventServiceImpl(\n    publicContentViewEventClient,\n    userAccountObjectToThriftSerializer,\n    publicContentObjectToThriftSerializer,\n    publicContentThriftToObjectSerializer\n);\n\nconst inviteInfoJSONToObjectSerializer = new InviteInfoJSONToObjectSerializer();\nexport const userInviteService = new UserInviteServiceImpl(inviteInfoJSONToObjectSerializer);\n\nexport const usageDataJSONToObjectSerializer : UsageDataSerializer = new UsageDataSerializer();\n\nconst inventoryCountObjectToThriftSerializer = new InventoryCountObjectToThriftSerializer(userAccountObjectToThriftSerializer, productObjectToThriftSerializer);\nconst inventoryCountThriftToObjectSerializer = new InventoryCountThriftToObjectSerializer(userAccountThriftToObjectSerializer, productThriftToObjectSerializer);\n\nconst inventoryCountClient = Thrift.createXHRClient(\n    InventoryCountServiceClient,\n    getThriftConnection('InventoryCountService')\n) as InventoryCountServiceClient;\nexport const inventoryCountService = new InventoryCountServiceImpl(\n    inventoryCountClient,\n    offlineQueueManager,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    productObjectToThriftSerializer,\n    inventoryCountObjectToThriftSerializer,\n    inventoryCountThriftToObjectSerializer,\n    momentObjectToThriftSerializer\n);\n\nconst inventoryCurrentConfigurationClient = Thrift.createXHRClient(\n    InventoryCurrentConfigurationServiceClient,\n    getThriftConnection('InventoryCurrentConfigurationService')\n) as InventoryCurrentConfigurationServiceClient;\nexport const currentInventoryConfigurationService = new CurrentInventoryConfigurationServiceImpl(\n    inventoryCurrentConfigurationClient,\n    offlineQueueManager,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    productObjectToThriftSerializer,\n    inventoryCountObjectToThriftSerializer,\n    inventoryCountThriftToObjectSerializer\n);\n\nexport const productJSONToObjectSerializer = new ProductJSONToObjectSerializer();\nexport const productObjectToJSONSerializer = new ProductObjectToJSONSerializer();\n\nexport const productService = new CachedProductServiceImpl(new ProductServiceImpl(productJSONToObjectSerializer, productObjectToJSONSerializer));\nexport const categoryService = new CategoryServiceImpl(productJSONToObjectSerializer, productObjectToJSONSerializer);\n\nexport const inventorySheetsService = new InventorySheetsServiceImpl();\n\nexport const locationProductService = new LocationProductServiceImpl(productJSONToObjectSerializer);\nexport const locationService = new LocationServiceImpl();\n\nconst productUploadJSONToObjectSerializer = new ProductUploadJSONToObjectSerializer(productJSONToObjectSerializer);\nexport const productUploadService = new ProductUploadServiceImpl(productUploadJSONToObjectSerializer);\n\nconst productCostClient = Thrift.createXHRClient(\n    ProductCostServiceClient,\n    getThriftConnection('ProductCostService')\n) as ProductCostServiceClient;\nexport const productCostService = new ProductCostServiceImpl(\n    productCostClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    productObjectToThriftSerializer,\n    productThriftToObjectSerializer,\n    inventoryCountObjectToThriftSerializer,\n);\n\nconst productParClient = Thrift.createXHRClient(\n    ProductParServiceClient,\n    getThriftConnection('ProductParService')\n) as ProductParServiceClient;\nexport const productParService = new ProductParServiceImpl(\n    productParClient,\n    userAccountObjectToThriftSerializer,\n    productObjectToThriftSerializer,\n    productThriftToObjectSerializer,\n);\n\nexport const productMergeService = new ProductMergeServiceImpl(\n    productJSONToObjectSerializer,\n    productObjectToJSONSerializer,\n);\n\nexport const usageDataService = new UsageDataServiceImpl(usageDataJSONToObjectSerializer, productService);\n\nconst cartJSONToObjectSerializer = new CartJSONToObjectSerializer(productJSONToObjectSerializer);\nconst cartObjectToJSONSerializer = new CartObjectToJSONSerializer();\n\nexport const cartService = new CartServiceImpl(cartJSONToObjectSerializer, cartObjectToJSONSerializer, productObjectToJSONSerializer);\n\nconst orderingJSONToObjectSerializer = new OrderingJSONToObjectSerializer(productJSONToObjectSerializer);\nexport const orderingObjectToJSONSerializer = new OrderingObjectToJSONSerializer(productObjectToJSONSerializer);\n\nexport const orderingService = new OrderingServiceImpl(orderingJSONToObjectSerializer, orderingObjectToJSONSerializer);\nexport const invoiceUploadService = new InvoiceUploadServiceImpl(orderingJSONToObjectSerializer);\n\nconst transferObjectToThriftSerializer = new TransferObjectToThriftSerializer(locationObjectToThriftSerializer, productObjectToThriftSerializer);\nexport const transferObjectToJSONSerializer = new TransferObjectToJSONSerializer();\n\n// exported due to legacy transfer code which do not use the service\nexport const transferThriftToObjectSerializer = new TransferThriftToObjectSerializer(userAccountThriftToObjectSerializer, productThriftToObjectSerializer, locationThriftToObjectSerializer);\n\nconst transferClient = Thrift.createXHRClient(\n    InventoryTransferReportServiceClient,\n    getThriftConnection('InventoryTransferReportService')\n) as InventoryTransferReportServiceClient;\nexport const transferService = new TransferServiceImpl(\n    transferClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    transferObjectToThriftSerializer,\n    transferThriftToObjectSerializer,\n    momentObjectToThriftSerializer,\n);\n\nconst productMappingObjectToThriftSerializer = new ProductMappingObjectToThriftSerializer(locationObjectToThriftSerializer, productObjectToThriftSerializer);\nconst productMappingThriftToObjectSerializer = new ProductMappingThriftToObjectSerializer(locationThriftToObjectSerializer, productThriftToObjectSerializer);\n\nconst productMappingClient = Thrift.createXHRClient(\n    InterLocationProductMappingServiceClient,\n    getThriftConnection('InterLocationProductMappingService')\n) as InterLocationProductMappingServiceClient;\nexport const productMappingService = new ProductMappingServiceImpl(\n    productMappingClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    productMappingObjectToThriftSerializer,\n    productMappingThriftToObjectSerializer,\n);\n\nconst breakageObjectToThriftSerializer = new BreakageObjectToThriftSerializer(productObjectToThriftSerializer);\nconst breakageThriftToObjectSerializer = new BreakageThriftToObjectSerializer(userAccountThriftToObjectSerializer, productThriftToObjectSerializer, locationThriftToObjectSerializer);\n\nconst breakageClient = Thrift.createXHRClient(\n    BreakageReportServiceClient,\n    getThriftConnection('BreakageReportService')\n) as BreakageReportServiceClient;\nexport const breakageService = new BreakageServiceImpl(\n    breakageClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    breakageObjectToThriftSerializer,\n    breakageThriftToObjectSerializer,\n    momentObjectToThriftSerializer,\n);\n\nexport const inventoryCountViewPreferencesService = new InventoryCountViewPreferencesServiceImpl(offlineQueueManager);\n\nconst itemLevelSalesReportConfigurationSerializer = new ItemLevelSalesReportConfigurationSerializer();\nexport const itemLevelSalesReportConfigurationService = new ItemLevelSalesReportConfigurationServiceImpl(itemLevelSalesReportConfigurationSerializer);\n\nconst categoryLevelSalesReportConfigurationSerializer = new CategoryLevelSalesReportConfigurationSerializer();\nexport const categoryLevelSalesReportConfigurationService = new CategoryLevelSalesReportConfigurationServiceImpl(categoryLevelSalesReportConfigurationSerializer);\n\nexport const userAccountInfoService = new UserAccountInfoServiceImpl(locationJSONToObjectSerializer);\nexport const adminService = new AdminServiceImpl();\n\nexport const toastIntegrationService = new ToastIntegrationServiceImpl(new IntegrationJSONToObjectSerializer());\n\nexport const incidentBannerService = new IncidentBannerServiceImpl();\n\nexport const plateIQIntegrationService = new PlateIQIntegrationServiceImpl(new IntegrationJSONToObjectSerializer());\n\nconst integrationClient = Thrift.createXHRClient(\n    IntegrationServiceClient,\n    getThriftConnection('IntegrationService')\n) as IntegrationServiceClient;\nexport const integrationService = new POSIntegrationServiceImpl(\n    integrationClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    momentObjectToThriftSerializer\n);\n\nexport const vendorIntegrationService = new VendorIntegrationServiceImpl();\n\nexport const gettingStartedGuideService = new GettingStartedGuideService(new WelcomeQuestionnaireResponseObjectToJsonSerializer());\n\nconst prepEventObjectToThriftSerializer = new PrepEventObjectToThriftSerializer();\nconst prepEventThriftToObjectSerializer = new PrepEventThriftToObjectSerializer(userAccountThriftToObjectSerializer, productThriftToObjectSerializer);\nconst prepEventClient = Thrift.createXHRClient(\n    PrepEventServiceClient,\n    getThriftConnection('PrepEventService')\n) as PrepEventServiceClient;\nexport const prepEventService = new PrepEventServiceImpl(\n    prepEventClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    productThriftToObjectSerializer,\n    productObjectToThriftSerializer,\n    momentObjectToThriftSerializer,\n    prepEventObjectToThriftSerializer,\n    prepEventThriftToObjectSerializer\n);\n\nconst billingDataSerializer = new BillingDataSerializer();\nexport const stripeCustomerService = new StripeCustomerServiceImpl(billingDataSerializer);\n\nexport const billingAddOnService = new BillingAddOnServiceImpl();\n\nexport const termsConditionsAgreementService = new TermsConditionsAgreementServiceImpl(billingDataSerializer);\n\nexport const billingRetailerService = new BillingRetailerService();\n\nexport const presentationCacheDataService = new PresentationCacheDataService();\n\nconst userActionLogCommentClient = Thrift.createXHRClient(\n    UserActionLogServiceClient,\n    getThriftConnection('UserActionLogService')\n) as UserActionLogServiceClient;\nexport const userActionLogCommentService = new UserActionLogCommentService(\n    userActionLogCommentClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    userAccountThriftToObjectSerializer,\n    momentObjectToThriftSerializer,\n    );\n\nconst salesItemThriftToObjectSerializer = new SalesItemThriftToObjectSerializer(userAccountThriftToObjectSerializer, productThriftToObjectSerializer, locationThriftToObjectSerializer);\nconst salesItemObjectToThriftSerializer = new SalesItemObjectToThriftSerializer(locationObjectToThriftSerializer, productObjectToThriftSerializer);\n\nconst salesItemClient = Thrift.createXHRClient(\n    SalesItemServiceClient,\n    getThriftConnection('SalesItemService')\n) as SalesItemServiceClient;\nconst adminSalesItemClient = Thrift.createXHRClient(\n    AdminSalesItemServiceClient,\n    getThriftConnection('AdminSalesItemService')\n) as AdminSalesItemServiceClient;\nexport const salesItemService = new SalesItemServiceImpl(\n    salesItemClient,\n    adminSalesItemClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    momentObjectToThriftSerializer,\n    salesItemThriftToObjectSerializer,\n    salesItemObjectToThriftSerializer,\n    itemLevelSalesReportConfigurationSerializer,\n    productObjectToThriftSerializer\n);\n\nexport const locationSettingsService = new LocationSettingsServiceImpl(productJSONToObjectSerializer);\n\nconst salesIntegrationClient = Thrift.createXHRClient(\n    IntegrationServiceClient,\n    getThriftConnection('IntegrationService')\n) as IntegrationServiceClient;\nexport const salesImportService = new SalesImportServiceImpl(\n    salesIntegrationClient,\n    userAccountObjectToThriftSerializer,\n    locationObjectToThriftSerializer,\n    momentObjectToThriftSerializer,\n    salesItemThriftToObjectSerializer\n);\n\nexport const POSUploadService = new PmixUploadServiceImpl(itemLevelSalesReportConfigurationSerializer);\n\nexport const salesSettingsService = new SalesSettingsServiceImpl();\n\nexport const expectedInventoryService = new ExpectedInventoryServiceImpl(new ExpectedInventoryDeserializer());\n\nexport const establishmentService = new EstablishmentServiceImpl();\n\nexport const groupPermissionsService = new GroupPermissionsServiceImpl();\n\nexport const mergeAccountingIntegrationClient = Thrift.createXHRClient(\n    MergeAccountingIntegrationServiceClient,\n    getThriftConnection('MergeAccountingIntegrationService')\n) as MergeAccountingIntegrationServiceClient;\n\nexport const mergeIntegrationObjectMappingClient = Thrift.createXHRClient(\n    MergeIntegrationObjectMappingServiceClient,\n    getThriftConnection('MergeIntegrationObjectMappingService')\n) as MergeIntegrationObjectMappingServiceClient;\n\nconst serviceRegistry: AppQueueApi = {\n    currentInventoryConfigurationService: {\n        setProductAtStorageAreaIndexAfterFromQueue:\n            currentInventoryConfigurationService.setProductAtStorageAreaIndexAfterFromQueue.bind(currentInventoryConfigurationService),\n        setStorageAreaIndexAfterFromQueue:\n            currentInventoryConfigurationService.setStorageAreaIndexAfterFromQueue.bind(currentInventoryConfigurationService),\n    },\n    inventoryCountService: {\n        addProductToStorageAreaAtInventoryCountFromQueue: inventoryCountService.addProductToStorageAreaAtInventoryCountFromQueue.bind(inventoryCountService),\n        removeProductFromStorageAreaAtInventoryCountFromQueue: inventoryCountService.removeProductFromStorageAreaAtInventoryCountFromQueue.bind(inventoryCountService),\n        setProductCountAtStorageAreaFromQueue: inventoryCountService.setProductCountAtStorageAreaFromQueue.bind(inventoryCountService),\n        removeProductFromAllStorageAreasAtInventoryCountFromQueue: inventoryCountService.removeProductFromAllStorageAreasAtInventoryCountFromQueue.bind(inventoryCountService),\n    },\n    inventoryCountViewPreferencesService: {\n        setRetailerInventoryViewPreferencesForStorageAreaForLocationIdFromQueue: inventoryCountViewPreferencesService.setRetailerInventoryViewPreferencesForStorageAreaForLocationIdFromQueue.bind(inventoryCountViewPreferencesService),\n    },\n};\n\n// important that we set this here, so all callers have it instantiated\nofflineQueueManager.setApi(serviceRegistry);\n","import { QueryStringNameNotFoundException } from '../exceptions/QueryStringNameNotFoundException';\nimport { IQueryStringReader } from '../interfaces/IQueryStringReader';\n\nexport class QueryStringManagerImpl implements IQueryStringReader {\n    public getValuesForName(name : string) : Array<string> {\n        const token = name + '=';\n\n        const queryStringWithoutLeadingQuestionMark = window.location.search.substring(1);\n        const queryStringParameterList = queryStringWithoutLeadingQuestionMark.split('&');\n\n        const result : Array<string> = [];\n\n        for (let i = 0; i < queryStringParameterList.length; i++) {\n            const queryStringParameter = queryStringParameterList[i];\n\n            if (queryStringParameter.indexOf(token) === 0) {\n                const value = queryStringParameter.substring(token.length, queryStringParameter.length);\n                result.push(value);\n            }\n        }\n\n        if (result.length === 0) {\n            throw new QueryStringNameNotFoundException();\n        }\n\n        return result;\n    }\n}\n","import UnauthenticatedUserSessionModel from 'gen-thrift/unauthenticated_user_session_Model_types';\nimport { Client as UnauthenticatedUserSessionServiceClient } from 'gen-thrift/UnauthenticatedUserSessionService';\n\nimport { UserInfo } from '../../user_info/models/UserInfo';\nimport { UnauthenticatedUserSessionNotFoundException } from '../exceptions/UnauthenticatedUserSessionNotFoundException';\n\nimport { ICookieReader } from '../../cookie/interfaces/ICookieReader';\nimport { ICookieSetter } from '../../cookie/interfaces/ICookieSetter';\nimport { IUserInfoReader } from '../../user_info/interfaces/IUserInfoReader';\nimport { IUnauthenticatedUserSessionReader } from '../interfaces/IUnauthenticatedUserSessionReader';\n\nimport { UnknownCookieException } from '../../cookie/exceptions/UnknownCookieException';\nimport { RuntimeException } from '../../general/exceptions/RuntimeException';\n\nexport class UnauthenticatedUserSessionManagerImpl implements IUnauthenticatedUserSessionReader {\n    private unauthenticatedUserSessionServiceClient : UnauthenticatedUserSessionServiceClient;\n\n    private userAccountInfoReader : IUserInfoReader;\n    private cookieReader : ICookieReader;\n    private cookieSetter : ICookieSetter;\n\n    private cookieName : string;\n\n    constructor(\n            unauthenticatedUserSessionServiceClient : UnauthenticatedUserSessionServiceClient,\n            userAccountInfoReader : IUserInfoReader,\n            cookieReader : ICookieReader,\n            cookieSetter : ICookieSetter) {\n\n        this.unauthenticatedUserSessionServiceClient = unauthenticatedUserSessionServiceClient;\n        this.userAccountInfoReader = userAccountInfoReader;\n        this.cookieReader = cookieReader;\n        this.cookieSetter = cookieSetter;\n\n        this.cookieName = 'unauthenticatedUserSessionId';\n    }\n\n    public getOrCreateUnauthenticatedUserSessionId() : Promise<UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId> {\n        return new Promise<UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId>((resolve, reject) => {\n            try {\n                return resolve(this.getSession());\n            } catch (e) {\n                if (e instanceof UnauthenticatedUserSessionNotFoundException) {\n                    this.createSession()\n                    .then((sessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId) => {\n                        return resolve(sessionId);\n                    })\n                    .catch(() => {\n                        throw new RuntimeException('unexpected');\n                    });\n                } else {\n                    return reject(new RuntimeException('unexpected'));\n                }\n            }\n        });\n    }\n\n    private getSession() : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId {\n        let cookieValue : string | null;\n        try {\n            cookieValue = this.cookieReader.getCookie(this.cookieName);\n        } catch (e) {\n            if (e instanceof UnknownCookieException) {\n                throw new UnauthenticatedUserSessionNotFoundException();\n            }\n\n            throw new RuntimeException('unexpected');\n        }\n\n        if (null === cookieValue) {\n            throw new UnauthenticatedUserSessionNotFoundException();\n        }\n\n        return new UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId({\n            value: cookieValue.replace(/=/g, ''), // remove = padding\n        });\n    }\n\n    private createSession() : Promise<UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId> {\n        const userInfo : UserInfo = this.userAccountInfoReader.getUserInfo();\n\n        return new Promise<UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId>((resolve, reject) => {\n            this.unauthenticatedUserSessionServiceClient.createSession(\n                userInfo.canvasData ?? '',\n                userInfo.webGLVendor ?? '',\n                userInfo.webGLRenderer ?? '',\n                userInfo.plugins ?? '',\n                userInfo.localStorageAllowed ?? '',\n                userInfo.sessionStorageAllowed ?? '',\n                userInfo.cookieAllowed ?? '',\n                userInfo.platform ?? '',\n                userInfo.doNotTrack ?? '',\n                userInfo.timezone ?? '',\n                userInfo.resolution ?? '',\n                document.referrer\n            ).then((result) => {\n                this.cookieSetter.setCookie(this.cookieName, result.value);\n                return resolve(result);\n            }).catch((error => {\n                return reject(error);\n            }));\n        });\n    }\n}\n","import AccountsUserModel from 'gen-thrift/accounts_user_Model_types';\n\nimport { UserAccountId } from '../model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from '../model/UserAccountIdAndTimestamp';\nimport { UserEmailAddressVerificationCredential } from '../model/UserEmailAddressVerificationCredential';\nimport { UserPasswordSettingCredential } from '../model/UserPasswordSettingCredential';\nimport { UserSessionId } from '../model/UserSessionId';\n\nexport class UserAccountObjectToThriftSerializer {\n\n    public getThriftUserAccountId(\n        userAccountId : UserAccountId\n        ) : AccountsUserModel.UserAccountIdentifier {\n\n        return new AccountsUserModel.UserAccountIdentifier({\n            value: userAccountId.getValue(),\n        });\n    }\n\n    public getThriftUserEmailAddressVerificationCredential(\n        userEmailAddressVerificationCredential : UserEmailAddressVerificationCredential\n        ) : AccountsUserModel.UserEmailAddressVerificationCredential {\n\n        return new AccountsUserModel.UserEmailAddressVerificationCredential({\n            value: userEmailAddressVerificationCredential.getValue(),\n        });\n    }\n\n    public getThriftUserPasswordSettingCredential(\n        userPasswordSettingCredential : UserPasswordSettingCredential\n        ) : AccountsUserModel.UserPasswordSettingCredential {\n\n        return new AccountsUserModel.UserPasswordSettingCredential({\n            value: userPasswordSettingCredential.getValue(),\n        });\n    }\n\n    public getThriftUserSessionId(\n        userSessionId : UserSessionId\n        ) : AccountsUserModel.UserSessionIdentifier {\n\n        return new AccountsUserModel.UserSessionIdentifier({\n            value: userSessionId.getValue(),\n        });\n    }\n\n    public getThriftUserAccountIdentifierAndTimestamp(\n        userAccountIdAndTimestamp : UserAccountIdAndTimestamp\n    ) : AccountsUserModel.UserAccountIdentifierAndTimestamp {\n        return new AccountsUserModel.UserAccountIdentifierAndTimestamp({\n            userAccountIdentifier: this.getThriftUserAccountId(userAccountIdAndTimestamp.getUserAccountId()),\n            timestamp: userAccountIdAndTimestamp.getTimestamp()\n        });\n    }\n\n}\n","import AccountsUserModel from 'gen-thrift/accounts_user_Model_types';\n\nimport { UserAccountId } from '../model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from '../model/UserAccountIdAndTimestamp';\nimport { UserEmailAddressVerificationCredential } from '../model/UserEmailAddressVerificationCredential';\nimport { UserPasswordSettingCredential } from '../model/UserPasswordSettingCredential';\nimport { UserSessionId } from '../model/UserSessionId';\n\nexport class UserAccountThriftToObjectSerializer {\n\n    public getUserAccountId(\n        userAccountId : AccountsUserModel.UserAccountIdentifier\n    ) : UserAccountId {\n        return new UserAccountId(userAccountId.value);\n    }\n\n    public getUserEmailAddressVerificationCredential(\n        userEmailAddressVerificationCredential : AccountsUserModel.UserEmailAddressVerificationCredential\n    ) : UserEmailAddressVerificationCredential {\n        return new UserEmailAddressVerificationCredential(userEmailAddressVerificationCredential.value);\n    }\n\n    public getUserPasswordSettingCredential(\n        userPasswordSettingCredential : AccountsUserModel.UserPasswordSettingCredential\n    ) : UserPasswordSettingCredential {\n        return new UserPasswordSettingCredential(userPasswordSettingCredential.value);\n    }\n\n    public getUserSessionId(\n        userSessionId : AccountsUserModel.UserSessionIdentifier\n    ) : UserSessionId {\n        return new UserSessionId(userSessionId.value);\n    }\n\n    public getUserAccountIdentifierAndTimestamp(\n        userAccountIdAndTimestamp : AccountsUserModel.UserAccountIdentifierAndTimestamp\n    ) : UserAccountIdAndTimestamp {\n        return new UserAccountIdAndTimestamp(\n            this.getUserAccountId(userAccountIdAndTimestamp.userAccountIdentifier),\n            userAccountIdAndTimestamp.timestamp\n        );\n    }\n}\n","import DistributorModel from 'gen-thrift/distributor_Model_types';\n\nimport { Scope, ScopeType } from 'api/Location/model/Scope';\n\nexport class ScopeObjectToThriftSerializer {\n    public getThriftScope(\n        scope : Scope\n    ) : DistributorModel.Scope {\n        const id = scope.getId();\n        const type = scope.getType();\n        switch (type) {\n            case ScopeType.GLOBAL:\n                if (id !== null) {\n                    throw new Error('scope id unexpectedly not null');\n                }\n                return new DistributorModel.Scope({\n                    type : DistributorModel.ScopeType.GLOBAL,\n                    id : undefined\n                });\n            case ScopeType.GROUP:\n                if (id === null) {\n                    throw new Error('scope id unexpectedly null');\n                }\n                return new DistributorModel.Scope({\n                    type : DistributorModel.ScopeType.GROUP,\n                    id : id.getValue()\n                });\n            case ScopeType.RETAILER:\n                if (id === null) {\n                    throw new Error('scope id unexpectedly null');\n                }\n                return new DistributorModel.Scope({\n                    type : DistributorModel.ScopeType.RETAILER,\n                    id : id.getValue()\n                });\n            default:\n                throw new Error('unexpected scope type : ' + type);\n        }\n    }\n\n}\n","import DistributorModel from 'gen-thrift/distributor_Model_types';\n\nimport { GroupId } from 'api/Location/model/GroupId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Scope } from 'api/Location/model/Scope';\n\nexport class ScopeThriftToObjectSerializer {\n    public getScope(scope : DistributorModel.Scope) : Scope {\n        switch (scope.type) {\n            case DistributorModel.ScopeType.GLOBAL:\n                // Thrift 0.16.0 constructor initializes missing fields to null (not undefined).\n                // GLOBAL scope has no id, so scope.id is null at runtime.\n                if (scope.id !== null) {\n                    throw new Error('scope id unexpectedly not null');\n                }\n                return Scope.createGlobalScope();\n            case DistributorModel.ScopeType.GROUP:\n                // GROUP/RETAILER always have a real string id from the backend.\n                // === undefined guards against missing data and narrows the TS type to string.\n                if (scope.id === undefined) {\n                    throw new Error('scope id unexpectedly undefined');\n                }\n                return Scope.createGroupScope(new GroupId(scope.id));\n            case DistributorModel.ScopeType.RETAILER:\n                if (scope.id === undefined) {\n                    throw new Error('scope id unexpectedly undefined');\n                }\n                return Scope.createRetailerScope(new LocationId(scope.id));\n            default:\n                throw new Error('unexpected scope type : ' + scope.type);\n        }\n    }\n}\n","import DistributorModel from 'gen-thrift/distributor_Model_types';\n\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DistributorRegionId } from 'api/Distributor/model/DistributorRegionId';\nimport { ScopeObjectToThriftSerializer } from 'api/Location/serializer/ScopeObjectToThriftSerializer';\n\nexport class DistributorObjectToThriftSerializer {\n\n    constructor(\n        private readonly scopeSerializer : ScopeObjectToThriftSerializer\n    ) {}\n\n    ////////////////////////////////////\n    // CORE MODELS\n    ////////////////////////////////////\n\n    public getThriftDistributorId(\n        distributorId : DistributorId\n    ) : DistributorModel.DistributorId {\n        return new DistributorModel.DistributorId({\n            value: distributorId.getValue()\n        });\n    }\n\n    public getThriftDistributor(\n        distributor : Distributor\n    ) : DistributorModel.Distributor {\n        return new DistributorModel.Distributor({\n            name: distributor.getName(),\n            shortName: distributor.getShortName(),\n            owner : this.scopeSerializer.getThriftScope(distributor.getOwner())\n        });\n    }\n\n    public getThriftDistributorRegionId(\n        regionId : DistributorRegionId\n    ) : DistributorModel.DistributorRegionId {\n        return new DistributorModel.DistributorRegionId({\n            value: regionId.getValue()\n        });\n    }\n\n    ////////////////////////////////////\n    // MISC SERIALIZERS\n    ////////////////////////////////////\n\n    public getThriftDistributorIds(\n        distributorIds : StringValueSet<DistributorId>\n    ) : Array<DistributorModel.DistributorId> {\n        return Array.from(distributorIds.values()).map((distributorId : DistributorId) => {\n            return this.getThriftDistributorId(distributorId);\n        });\n    }\n}\n","import LocationModel from 'gen-thrift/location_Model_types';\n\nimport { LocationId } from 'api/Location/model/LocationId';\n\nexport class LocationThriftToObjectSerializer {\n\n    ////////////////////////////////////\n    // CORE MODELS\n    ////////////////////////////////////\n    public getLocationId(\n        locationId : LocationModel.LocationIdentifier,\n    ) : LocationId {\n        return new LocationId(locationId.value);\n    }\n}\n","import MoneyModel from 'gen-thrift/money_Model_types';\nimport ProductAmountModel from 'gen-thrift/product_amount_Model_types';\nimport ProductModel from 'gen-thrift/product_Model_types';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { BaseUnit } from 'api/Product/model/BaseUnit';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingUnit } from 'api/Product/model/PackagingUnit';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { Unit } from 'api/Product/model/Unit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\n\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport { ProductCostSettingEvent } from '../model/ProductCostSettingEvent';\n\nimport moment from 'moment-timezone';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport class ProductThriftToObjectSerializer {\n\n    ////////////////////////////////////\n    // CORE MODELS\n    ////////////////////////////////////\n    public getProductId (\n        productId : ProductModel.ProductId\n    ) : ProductId {\n        return new ProductId(productId.value);\n    }\n\n    public getThriftPackagingId(\n        packagingId : ProductModel.PackagingId,\n    ) : PackagingId {\n        return new PackagingId(packagingId.value);\n    }\n\n    public getProductIds (\n        productIds : Array<ProductModel.ProductId>\n    ) : Array<ProductId> {\n        return productIds.map((productId : ProductModel.ProductId) => {\n            return new ProductId(productId.value);\n        });\n    }\n\n    public getProductIdsAsSet (\n        productIds : Array<ProductModel.ProductId>\n    ) : StringValueSet<ProductId> {\n        const productIdSet = new StringValueSet<ProductId>();\n        productIds.forEach((productId : ProductModel.ProductId) => {\n            productIdSet.add(new ProductId(productId.value));\n        });\n        return productIdSet;\n    }\n\n    public getProductQuantityUnit (\n        productQuantityUnit : ProductModel.ProductQuantityUnit\n    ) : ProductQuantityUnit {\n        if (productQuantityUnit.packagingId != null) {\n            return new PackagingId(productQuantityUnit.packagingId.value);\n        } else if (productQuantityUnit.unitOfMass != null) {\n            return this.getMassUnit(productQuantityUnit.unitOfMass);\n        } else if (productQuantityUnit.unitOfVolume != null) {\n            return this.getVolumeUnit(productQuantityUnit.unitOfVolume);\n        }\n\n        throw new RuntimeException(`unexpected value for productQuantityUnit: ${ productQuantityUnit }`);\n    }\n\n    public getQuantityInUnit(\n        quantityOfProduct : ProductModel.QuantityOfProduct,\n    ) : QuantityInUnit<ProductQuantityUnit> {\n        return new QuantityInUnit(\n            decimalToNumber(quantityOfProduct.quantity),\n            this.getProductQuantityUnit(quantityOfProduct.productQuantityUnit),\n        );\n    }\n\n    public getProductAmount(\n        productAmount : ProductModel.ProductIdAndQuantityOfProduct,\n    ) : ProductAmount {\n        return new ProductAmount(\n            this.getProductId(productAmount.productId),\n            this.getQuantityInUnit(productAmount.quantityOfProduct),\n        );\n    }\n\n    public getMassUnit (\n        unit : ProductAmountModel.MassUnit\n    ) : MassUnit {\n        switch (unit) {\n            case ProductAmountModel.MassUnit.METRIC_KILOGRAM:\n                return MassUnit.KILOGRAM;\n            case ProductAmountModel.MassUnit.METRIC_GRAM:\n                return MassUnit.GRAM;\n            case ProductAmountModel.MassUnit.US_POUND:\n                return MassUnit.POUND;\n            case ProductAmountModel.MassUnit.US_DRY_OUNCE:\n                return MassUnit.DRY_OUNCE;\n            default:\n                throw new RuntimeException(`unexpected value for mass unit: ${ unit }`);\n        }\n    }\n\n    public getVolumeUnit (\n        unit : ProductAmountModel.VolumeUnit\n    ) : VolumeUnit {\n        switch (unit) {\n            case ProductAmountModel.VolumeUnit.METRIC_LITER:\n                return VolumeUnit.LITER;\n            case ProductAmountModel.VolumeUnit.METRIC_CENTILITER:\n                return VolumeUnit.CENTILITER;\n            case ProductAmountModel.VolumeUnit.METRIC_MILLILITER:\n                return VolumeUnit.MILLILITER;\n            case ProductAmountModel.VolumeUnit.US_FLUID_OUNCE:\n                return VolumeUnit.OUNCE;\n            case ProductAmountModel.VolumeUnit.US_FLUID_GALLON:\n                return VolumeUnit.GALLON;\n            case ProductAmountModel.VolumeUnit.US_FLUID_QUART:\n                return VolumeUnit.QUART;\n            case ProductAmountModel.VolumeUnit.US_FLUID_PINT:\n                return VolumeUnit.PINT;\n            case ProductAmountModel.VolumeUnit.BAR_SPOON:\n                return VolumeUnit.BAR_SPOON;\n            case ProductAmountModel.VolumeUnit.DASH:\n                return VolumeUnit.DASH;\n            default:\n                throw new RuntimeException(`unexpected value for volume unit: ${ unit }`);\n        }\n    }\n\n    public getMeasurableUnit(unit : ProductModel.UnitOfMeasure) : VolumeUnit | MassUnit {\n        if (unit.unitOfMass != null) {\n            return this.getMassUnit(unit.unitOfMass);\n        } else if (unit.unitOfVolume != null) {\n            return this.getVolumeUnit(unit.unitOfVolume);\n        } else {\n            throw new RuntimeException('unit of measure unexpectedly not set');\n        }\n    }\n\n    public getUnit (\n        unit : ProductAmountModel.Unit\n    ) : Unit {\n        switch (unit) {\n            case ProductAmountModel.Unit.CASE:\n                return PackagingUnit.CASE ;\n            case ProductAmountModel.Unit.KEG:\n                return PackagingUnit.KEG;\n            case ProductAmountModel.Unit.OTHER_CONTAINER:\n                return PackagingUnit.OTHER;\n            case ProductAmountModel.Unit.BAG:\n                return PackagingUnit.BAG;\n            case ProductAmountModel.Unit.BOX:\n                return PackagingUnit.BOX;\n            case ProductAmountModel.Unit.CAN_FOOD:\n                return PackagingUnit.CAN_FOOD;\n            case ProductAmountModel.Unit.CARTON:\n                return PackagingUnit.CARTON;\n            case ProductAmountModel.Unit.CONTAINER:\n                return PackagingUnit.CONTAINER;\n            case ProductAmountModel.Unit.PACKAGE:\n                return PackagingUnit.PACKAGE;\n            case ProductAmountModel.Unit.TUB:\n                return PackagingUnit.TUB;\n            case ProductAmountModel.Unit.CAN:\n                return PackagingUnit.CAN;\n            case ProductAmountModel.Unit.BOTTLE:\n                return PackagingUnit.BOTTLE;\n            case ProductAmountModel.Unit.METRIC_LITER:\n                return VolumeUnit.LITER;\n            case ProductAmountModel.Unit.METRIC_CENTILITER:\n                return VolumeUnit.CENTILITER;\n            case ProductAmountModel.Unit.METRIC_MILLILITER:\n                return VolumeUnit.MILLILITER;\n            case ProductAmountModel.Unit.US_FLUID_OUNCE:\n                return VolumeUnit.OUNCE;\n            case ProductAmountModel.Unit.US_FLUID_GALLON:\n                return VolumeUnit.GALLON;\n            case ProductAmountModel.Unit.US_FLUID_QUART:\n                return VolumeUnit.QUART;\n            case ProductAmountModel.Unit.US_FLUID_PINT:\n                return VolumeUnit.PINT;\n            case ProductAmountModel.Unit.BAR_SPOON:\n                return VolumeUnit.BAR_SPOON;\n            case ProductAmountModel.Unit.DASH:\n                return VolumeUnit.DASH;\n            case ProductAmountModel.Unit.METRIC_KILOGRAM:\n                return MassUnit.KILOGRAM;\n            case ProductAmountModel.Unit.METRIC_GRAM:\n                return MassUnit.GRAM;\n            case ProductAmountModel.Unit.US_POUND:\n                return MassUnit.POUND;\n            case ProductAmountModel.Unit.US_DRY_OUNCE:\n                return MassUnit.DRY_OUNCE;\n            case ProductAmountModel.Unit.EACH:\n                return BaseUnit.EACH;\n            case ProductAmountModel.Unit.UNIT:\n                return BaseUnit.UNIT;\n            default:\n                throw new RuntimeException(`unexpected value for unit: ${ unit }`);\n        }\n    }\n\n    public getDollarCost(\n        monetaryValue : MoneyModel.MonetaryValue\n    ) : number {\n        if (monetaryValue.currency !== MoneyModel.Currency.USD) {\n            throw new RuntimeException('getCollarCost encountered non-USD currency');\n        }\n\n        return decimalToNumber(monetaryValue.value);\n    }\n\n    public getProductCost(\n        productCost : ProductModel.ProductCost\n    ) : ProductCost {\n        return new ProductCost(\n            productCost.monetaryValue.value,\n            this.getProductQuantityUnit(productCost.productQuantityUnit)\n        );\n    }\n\n    public getProductCostSettingEvent(\n        event: ProductModel.ProductCostSettingEvent\n    ) : ProductCostSettingEvent {\n        return new ProductCostSettingEvent(\n            this.getProductId(event.productId),\n            this.getProductCost(event.productCost),\n            moment(numberUtils.ThriftInt64ToNumber(event.timestamp.timeSinceUnixEpoch.value))\n        );\n    }\n    public getCostByProductId(\n        productIdAndCosts : Array<ProductModel.ProductIdAndCost>\n    ) : StringValueMap<ProductId, ProductCost> {\n        const costByProductId = new StringValueMap<ProductId, ProductCost>();\n        productIdAndCosts.forEach((productIdAndCost) => {\n            costByProductId.set(\n                this.getProductId(productIdAndCost.productId),\n                this.getProductCost(productIdAndCost.productCost)\n            );\n        });\n        return costByProductId;\n    }\n\n    public getQuantityOfProductByProductId(\n        productIdAndQuantityOfProducts : Array<ProductModel.ProductIdAndQuantityOfProduct>\n    ) : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>> {\n        const quantityOfProductByProductId = new StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>();\n        productIdAndQuantityOfProducts.forEach((productIdAndQuantityOfProduct) => {\n            quantityOfProductByProductId.set(\n                this.getProductId(productIdAndQuantityOfProduct.productId),\n                this.getQuantityInUnit(productIdAndQuantityOfProduct.quantityOfProduct)\n            );\n        });\n        return quantityOfProductByProductId;\n    }\n\n    ////////////////////////////////////\n    // MISC SERIALIZERS\n    ////////////////////////////////////\n}\n","import { DistributorId } from 'api/Distributor/model/DistributorId';\nimport MoneyModel from 'gen-thrift/money_Model_types';\nimport ProductAmountModel from 'gen-thrift/product_amount_Model_types';\nimport ProductModel from 'gen-thrift/product_Model_types';\nimport DistributorModel from 'gen-thrift/distributor_Model_types';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { numberToDecimal } from 'shared/utils/decimalUtils';\n\nexport class ProductObjectToThriftSerializer {\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getThriftProductId(\n        productId : ProductId,\n    ) : ProductModel.ProductId {\n        return new ProductModel.ProductId({\n            value: productId.getValue(),\n        });\n    }\n\n    public getThriftDistributorId(\n        distributorId : DistributorId,\n    ) : DistributorModel.DistributorId {\n        return new DistributorModel.DistributorId({\n            value: distributorId.getValue(),\n        });\n    }\n\n    public getThriftPackagingId(\n        packagingId : PackagingId,\n    ) : ProductModel.PackagingId {\n        return new ProductModel.PackagingId({\n            value: packagingId.getValue(),\n        });\n    }\n\n    public getThriftProductIdAndQuantityOfProduct(\n        productAmount : ProductAmount\n    ) : ProductModel.ProductIdAndQuantityOfProduct {\n        if (productAmount.getProductId() === null || productAmount.getQuantityInUnit() === null) {\n            throw new Error('Product amount has unexpectedly null fields'); // TODO do we still have concerns about this? this is how old functions worked...\n        }\n\n        return new ProductModel.ProductIdAndQuantityOfProduct({\n            productId: this.getThriftProductId(productAmount.getProductId()),\n            quantityOfProduct: this.getThriftQuantityOfProduct(productAmount.getQuantityInUnit())\n            // TODO getThriftQuantityOfProduct sets precision to 4... this is different than old breakage behavior...\n        });\n    }\n\n    public getThriftMassUnit (\n        unit : MassUnit\n    ) : ProductAmountModel.MassUnit {\n        switch (unit) {\n            case MassUnit.KILOGRAM:\n                return ProductAmountModel.MassUnit.METRIC_KILOGRAM;\n            case MassUnit.GRAM:\n                return ProductAmountModel.MassUnit.METRIC_GRAM;\n            case MassUnit.POUND:\n                return ProductAmountModel.MassUnit.US_POUND;\n            case MassUnit.DRY_OUNCE:\n                return ProductAmountModel.MassUnit.US_DRY_OUNCE;\n            default:\n                throw new RuntimeException(`unexpected value for mass unit: ${ unit }`);\n        }\n    }\n\n    public getThriftVolumeUnit (\n        unit : VolumeUnit\n    ) : ProductAmountModel.VolumeUnit {\n        switch (unit) {\n            case VolumeUnit.LITER:\n                return ProductAmountModel.VolumeUnit.METRIC_LITER;\n            case VolumeUnit.CENTILITER:\n                return ProductAmountModel.VolumeUnit.METRIC_CENTILITER;\n            case VolumeUnit.MILLILITER:\n                return ProductAmountModel.VolumeUnit.METRIC_MILLILITER;\n            case VolumeUnit.OUNCE:\n                return ProductAmountModel.VolumeUnit.US_FLUID_OUNCE;\n            case VolumeUnit.GALLON:\n                return ProductAmountModel.VolumeUnit.US_FLUID_GALLON;\n            case VolumeUnit.QUART:\n                return ProductAmountModel.VolumeUnit.US_FLUID_QUART;\n            case VolumeUnit.PINT:\n                return ProductAmountModel.VolumeUnit.US_FLUID_PINT;\n            case VolumeUnit.BAR_SPOON:\n                return ProductAmountModel.VolumeUnit.BAR_SPOON;\n            case VolumeUnit.DASH:\n                return ProductAmountModel.VolumeUnit.DASH;\n            default:\n                throw new RuntimeException(`unexpected value for volume unit: ${ unit }`);\n        }\n    }\n\n    public getThriftUnitOfMeasure(\n        unit : VolumeUnit | MassUnit\n    ) : ProductModel.UnitOfMeasure {\n        if (VolumeUnit.isVolumeUnit(unit)) {\n            return new ProductModel.UnitOfMeasure({\n                unitOfMass: undefined,\n                unitOfVolume: this.getThriftVolumeUnit(unit)\n            });\n        } else {\n            return new ProductModel.UnitOfMeasure({\n                unitOfMass: this.getThriftMassUnit(unit),\n                unitOfVolume: undefined\n            });\n        }\n    }\n\n    public getThriftProductQuantityUnit(\n        productQuantityUnit : ProductQuantityUnit\n    ) : ProductModel.ProductQuantityUnit {\n        if (productQuantityUnit instanceof PackagingId) {\n            return new ProductModel.ProductQuantityUnit({\n                unitOfMass: undefined,\n                unitOfVolume: undefined,\n                packagingId: this.getThriftPackagingId(productQuantityUnit)\n            });\n        } else if (MassUnit.isMassUnit(productQuantityUnit)) {\n            return new ProductModel.ProductQuantityUnit({\n                unitOfMass: this.getThriftMassUnit(productQuantityUnit),\n                unitOfVolume: undefined,\n                packagingId: undefined\n            });\n        } else if (VolumeUnit.isVolumeUnit(productQuantityUnit)) {\n            return new ProductModel.ProductQuantityUnit({\n                unitOfMass: undefined,\n                unitOfVolume: this.getThriftVolumeUnit(productQuantityUnit),\n                packagingId: undefined\n            });\n        }\n\n        throw new RuntimeException('Unknown productQuantityUnit');\n    }\n\n    // TODO Move this function to a CORE serializers file\n    public getThriftMonetaryValueInDollars(\n        monetaryValue : number\n    ) : MoneyModel.MonetaryValue {\n        return new MoneyModel.MonetaryValue({\n            value: numberToDecimal(monetaryValue),\n            currency: MoneyModel.Currency.USD\n        });\n    }\n\n    public getThriftProductCost(\n        productCost : ProductCost,\n    ) : ProductModel.ProductCost {\n        return new ProductModel.ProductCost({\n            monetaryValue: new MoneyModel.MonetaryValue({\n                value: productCost.getCost(),\n                currency: MoneyModel.Currency.USD\n            }),\n            productQuantityUnit: this.getThriftProductQuantityUnit(productCost.getUnit())\n        });\n    }\n\n    public getThriftQuantityOfProduct(\n        quantityInUnit : QuantityInUnit<ProductQuantityUnit>\n    ) : ProductModel.QuantityOfProduct {\n        return new ProductModel.QuantityOfProduct({\n            quantity: numberToDecimal(quantityInUnit.getQuantity()),\n            productQuantityUnit: this.getThriftProductQuantityUnit(quantityInUnit.getUnit()),\n        });\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getThriftProductIdsFromArray(\n        productIds : Array<ProductId>\n    ) : Array<ProductModel.ProductId> {\n        return productIds.map((productId : ProductId) => {\n            return this.getThriftProductId(productId);\n        });\n    }\n\n    public getThriftProductIdsFromSet(\n        productIdSet : StringValueSet<ProductId>\n    ) : Array<ProductModel.ProductId> {\n        const productIds = new Array<ProductModel.ProductId>();\n        productIdSet.forEach((productId : ProductId) => {\n            productIds.push(this.getThriftProductId(productId));\n        });\n        return productIds;\n    }\n\n    public getThriftProductIdAndQuantityOfProducts(\n        quantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n    ) : Array<ProductModel.ProductIdAndQuantityOfProduct> {\n        const productIdAndQuantityOfProducts = new Array<ProductModel.ProductIdAndQuantityOfProduct>();\n        quantityOfProductByProductId.forEach((quantityInUnit, productId) => {\n            const productIdAndQuantityOfProduct = new ProductModel.ProductIdAndQuantityOfProduct({\n                productId: this.getThriftProductId(productId),\n                quantityOfProduct: this.getThriftQuantityOfProduct(quantityInUnit),\n            });\n            productIdAndQuantityOfProducts.push(productIdAndQuantityOfProduct);\n        });\n\n        return productIdAndQuantityOfProducts;\n    }\n\n    public getThriftProductIdAndCosts(\n        productCostByProductId : StringValueMap<ProductId, ProductCost>\n    ) : Array<ProductModel.ProductIdAndCost> {\n        const productIdAndCosts = new Array<ProductModel.ProductIdAndCost>();\n        productCostByProductId.forEach((productCost, productId) => {\n            const productIdAndCost = new ProductModel.ProductIdAndCost({\n                productId: this.getThriftProductId(productId),\n                productCost: this.getThriftProductCost(productCost),\n            });\n            productIdAndCosts.push(productIdAndCost);\n        });\n\n        return productIdAndCosts;\n    }\n\n    public getThriftDistributorIdsFromSet(\n        distributorIdSet : StringValueSet<DistributorId>\n    ) : Array<DistributorModel.DistributorId> {\n        const distributorIds = new Array<DistributorModel.DistributorId>();\n        distributorIdSet.forEach((distributorId : DistributorId) => {\n            distributorIds.push(this.getThriftDistributorId(distributorId));\n        });\n        return distributorIds;\n    }\n}\n","import { CartItem } from 'api/Cart/model/CartItem';\nimport { CartItemId } from 'api/Cart/model/CartItemId';\nimport { DistributorDependentObjectSet } from 'api/Distributor/model/DistributorDependentObjectSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport DistributorModel from 'gen-thrift/distributor_Model_types';\nimport CartModel from 'gen-thrift/cart_Model_types';\nimport DistributorDependencyModel from 'gen-thrift/distributor_dependency_Model_types';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DistributorRegionId } from 'api/Distributor/model/DistributorRegionId';\n\nimport { ProductThriftToObjectSerializer} from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { ScopeThriftToObjectSerializer } from 'api/Location/serializer/ScopeThriftToObjectSerializer';\n\nexport class DistributorThriftToObjectSerializer {\n    constructor(\n        private readonly scopeSerializer : ScopeThriftToObjectSerializer,\n        private readonly productThriftToObjectSerializer : ProductThriftToObjectSerializer\n    ) {}\n\n    ////////////////////////////////////\n    // CORE MODELS\n    ////////////////////////////////////\n\n    public getDistributorId(\n        distributorId : DistributorModel.DistributorId\n    ) : DistributorId {\n        return new DistributorId(distributorId.value);\n    }\n\n    public getDistributor(\n        distributor : DistributorModel.Distributor\n    ) : Distributor {\n        return new Distributor(\n            this.scopeSerializer.getScope(distributor.owner),\n            distributor.name,\n            distributor.shortName,\n        );\n    }\n\n    public getDistributorRegionId(\n        regionId : DistributorModel.DistributorRegionId\n    ) : DistributorRegionId {\n        return new DistributorRegionId(regionId.value);\n    }\n\n    ////////////////////////////////////\n    // MISC SERIALIZERS\n    ////////////////////////////////////\n\n    public getDistributorsById(\n        distributorAndIds : Array<DistributorModel.DistributorIdAndDistributor>\n    ) : StringValueMap<DistributorId, Distributor> {\n        const distributorsById : StringValueMap<DistributorId, Distributor> = new StringValueMap();\n        distributorAndIds.forEach((distributorAndId : DistributorModel.DistributorIdAndDistributor) => {\n            distributorsById.set(\n                this.getDistributorId(distributorAndId.distributorId),\n                this.getDistributor(distributorAndId.distributor)\n            );\n        });\n\n        return distributorsById;\n    }\n\n    public getRegionIdsByDistributorId(\n        distributorAndRegionIds : Array<DistributorModel.DistributorIdAndRegionId>\n    ) : StringValueMap<DistributorId, DistributorRegionId | null> {\n        const regionIdsByDistributorId : StringValueMap<DistributorId, DistributorRegionId | null> = new StringValueMap();\n        distributorAndRegionIds.forEach((regionIdAndDistributorId : DistributorModel.DistributorIdAndRegionId) => {\n            regionIdsByDistributorId.set(\n                this.getDistributorId(regionIdAndDistributorId.distributorId),\n                regionIdAndDistributorId.regionId == null ? null : this.getDistributorRegionId(regionIdAndDistributorId.regionId)\n            );\n        });\n\n        return regionIdsByDistributorId;\n    }\n\n    public getDistributorRegionIds(\n        thriftRegionIds : Array<DistributorModel.DistributorRegionId>\n    ) : StringValueSet<DistributorRegionId> {\n        const distributorRegionIds : StringValueSet<DistributorRegionId> = new StringValueSet();\n        thriftRegionIds.map((thriftRegionId : DistributorModel.DistributorRegionId) => {\n            distributorRegionIds.add(this.getDistributorRegionId(thriftRegionId));\n        });\n\n        return distributorRegionIds;\n    }\n\n    public getDistributorDependentObjectSet(\n        distributorDependentObjectSet : DistributorDependencyModel.DistributorDependentObjectSet\n    ) : DistributorDependentObjectSet {\n        const deliveryIds : Array<DeliveryId> = [];\n        distributorDependentObjectSet.deliveryIds.forEach((deliveryId) => deliveryIds.push(new DeliveryId(deliveryId.value)));\n\n        const productIds : Array<ProductId> = [];\n        distributorDependentObjectSet.productIds.forEach((productId) => productIds.push(new ProductId(productId.value)));\n\n        const retailerIds : Array<LocationId> = [];\n        distributorDependentObjectSet.retailerIds.forEach((retailerId) => retailerIds.push(new LocationId(retailerId.value)));\n\n        const cartIds : Array<LocationId> = [];\n        distributorDependentObjectSet.cartIds.forEach((cartId) => cartIds.push(new LocationId(cartId.value)));\n\n        const cartItemsByCartId : StringValueMap<LocationId, Array<CartItem>> = new StringValueMap<LocationId, Array<CartItem>>();\n        distributorDependentObjectSet.cartItemsByCartId.forEach((cartIdAndCartItems) => {\n            const locationId : LocationId = new LocationId(cartIdAndCartItems.cartId.value);\n            const cartItems : Array<CartItem> = [];\n\n            cartIdAndCartItems.cartItems.forEach((cartItem : CartModel.CartItem) => {\n                const distributorId : DistributorId | null = cartItem.distributorId != null ? new DistributorId(cartItem.distributorId.value) : null;\n\n                const productQuantityUnit = this.productThriftToObjectSerializer.getProductQuantityUnit(cartItem.productQuantityUnit);\n\n                cartItems.push(new CartItem(\n                    new CartItemId(cartItem.cartItemId),\n                    new ProductId(cartItem.productId.value),\n                    distributorId,\n                    productQuantityUnit,\n                    cartItem.quantityInUnits\n                ));\n            });\n\n            cartItemsByCartId.set(locationId, cartItems);\n        });\n\n        return new DistributorDependentObjectSet(\n            deliveryIds,\n            productIds,\n            retailerIds,\n            cartIds,\n            cartItemsByCartId\n        );\n    }\n}\n","import moment from 'moment-timezone';\n\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\n\nexport class MomentObjectToThriftSerializer {\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n    public getThriftTimestampFromMoment(date : moment.Moment) : CoreTimeModel.TimestampWithMillisecondPrecision {\n        return new CoreTimeModel.TimestampWithMillisecondPrecision({\n            timeSinceUnixEpoch : new CoreTimeModel.Milliseconds({ value : date.valueOf() })\n        });\n    }\n}\n","import { Client as UserSessionServiceClient } from 'gen-thrift/UserSessionService';\n\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { onNewCognitoSession } from 'shared/global/refreshJWT';\n\nimport { IAccountSessionCreator } from '../interfaces/IAccountSessionCreator';\nimport { IAccountSessionReader } from '../interfaces/IAccountSessionReader';\nimport { IAccountSessionTerminator } from '../interfaces/IAccountSessionTerminator';\nimport { IAccountSessionWriter } from '../interfaces/IAccountSessionWriter';\n\nimport { ICookieDeleter } from '../../cookie/interfaces/ICookieDeleter';\nimport { ICookieReader } from '../../cookie/interfaces/ICookieReader';\nimport { ICookieSetter } from '../../cookie/interfaces/ICookieSetter';\n\nimport { InvalidCookieNameException } from '../../cookie/exceptions/InvalidCookieNameException';\nimport { UnknownCookieException } from '../../cookie/exceptions/UnknownCookieException';\nimport { AccountSessionNotFoundException } from '../exceptions/AccountSessionNotFoundException';\n\nimport { Auth } from 'aws-amplify';\nimport { Observer } from 'shared/utils/observer';\n\nimport jwtDecode from 'jwt-decode';\nimport { RuntimeException } from '../../general/exceptions/RuntimeException';\nimport { USER_SESSION_COOKIE_NAME } from 'shared/lib/cookie/impl/CookieManagerImpl';\n\nexport class UserSessionManagerImpl\n    implements\n        IAccountSessionCreator<UserAccountId>,\n        IAccountSessionReader<UserSessionId, UserAccountId>,\n        IAccountSessionTerminator,\n        IAccountSessionWriter<UserSessionId> {\n\n    private userSessionServiceClient : UserSessionServiceClient;\n\n    private cookieReader : ICookieReader;\n    private cookieSetter : ICookieSetter;\n    private cookieDeleter : ICookieDeleter;\n    private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer;\n\n    private cookieName : string;\n\n    constructor(\n            userSessionServiceClient : UserSessionServiceClient,\n\n            cookieReader : ICookieReader,\n            cookieSetter : ICookieSetter,\n            cookieDeleter : ICookieDeleter,\n            userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer) {\n\n        this.userSessionServiceClient = userSessionServiceClient;\n\n        this.cookieReader = cookieReader;\n        this.cookieSetter = cookieSetter;\n        this.cookieDeleter = cookieDeleter;\n        this.userAccountObjectToThriftSerializer = userAccountObjectToThriftSerializer;\n\n        this.cookieName = USER_SESSION_COOKIE_NAME;\n    }\n    ////////////////////////////////\n    // IAccountSessionReader\n    ////////////////////////////////\n    public getSessionId() : UserSessionId {\n        let cookieValue : string | null;\n        try {\n            cookieValue = this.cookieReader.getCookie(this.cookieName);\n        } catch (e) {\n            if (e instanceof UnknownCookieException) {\n                throw new AccountSessionNotFoundException();\n            }\n\n            if (e instanceof InvalidCookieNameException) {\n                throw new RuntimeException('unexpected');\n            }\n\n            throw new RuntimeException('unexpected');\n        }\n\n        if (cookieValue === null) {\n            throw new AccountSessionNotFoundException();\n        }\n\n        return new UserSessionId(cookieValue); // remove = padding\n    }\n\n    public getAccountId() : Promise<UserAccountId> {\n      return new Promise((resolve, reject) => {\n        Auth.currentAuthenticatedUser()\n        .then((user) => {\n          void onNewCognitoSession(user.signInUserSession);\n          const userObject = jwtDecode<{'cognito:username': string}>(user.signInUserSession.idToken.jwtToken);\n          const userAccountId = new UserAccountId(userObject['cognito:username']);\n          return resolve(userAccountId);\n        })\n        .catch((err) => {\n            return reject(`No user found': ${err}`);\n        });\n      });\n    }\n\n    ////////////////////////////////\n    // IAccountSessionTerminator\n    ////////////////////////////////\n    public terminateSession() : Promise<void> {\n        let userSessionIdentifier : UserSessionId;\n\n        try {\n            userSessionIdentifier = this.getSessionId();\n        } catch (e) {\n            if (e instanceof AccountSessionNotFoundException) {\n                throw e;\n            }\n\n            throw new RuntimeException('unexpected');\n        }\n\n        return new Promise<void>((resolve, reject) => {\n            this.userSessionServiceClient.terminateSession(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionIdentifier)\n            ).then(() => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            }).finally(() => {\n                try {\n                    this.cookieDeleter.deleteCookie(this.cookieName);\n                    Observer.observeLogout();\n                } catch (e) {\n                    // do nothing\n                }\n            });\n        });\n    }\n\n    ////////////////////////////////\n    // IAccountSessionWriter\n    ////////////////////////////////\n    public setSessionId(sessionId : UserSessionId) : void {\n        try {\n            this.cookieSetter.setCookie(this.cookieName, sessionId.getValue());\n        } catch (e) {\n            throw new RuntimeException('unexpected');\n        }\n    }\n}\n","import CorePrimitivesModel from 'gen-thrift/core_primitives_Model_types';\nimport UnauthenticatedUserSessionModel from 'gen-thrift/unauthenticated_user_session_Model_types';\nimport { Client as UserPasswordServiceClient } from 'gen-thrift/UserPasswordService';\n\nimport { UserPasswordSettingCredential } from 'api/UserAccount/model/UserPasswordSettingCredential';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { IUnauthenticatedUserSessionReader } from '../../unauthenticated_user_session/interfaces/IUnauthenticatedUserSessionReader';\nimport { IAccountPasswordSetter } from '../interfaces/IAccountPasswordSetter';\nimport { IAccountSessionWriter } from '../interfaces/IAccountSessionWriter';\n\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\n\nexport class UserPasswordManagerImpl implements IAccountPasswordSetter<UserPasswordSettingCredential> {\n    private userPasswordServiceClient : UserPasswordServiceClient;\n    private unauthenticatedUserSessionReader : IUnauthenticatedUserSessionReader;\n    private accountSessionWriter : IAccountSessionWriter<UserSessionId>;\n    private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer;\n    private userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer;\n\n    constructor(\n            userPasswordServiceClient : UserPasswordServiceClient,\n            unauthenticatedUserSessionReader : IUnauthenticatedUserSessionReader,\n            accountSessionWriter : IAccountSessionWriter<UserSessionId>,\n            userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n            userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer) {\n\n        this.userPasswordServiceClient = userPasswordServiceClient;\n        this.unauthenticatedUserSessionReader = unauthenticatedUserSessionReader;\n        this.accountSessionWriter = accountSessionWriter;\n        this.userAccountObjectToThriftSerializer = userAccountObjectToThriftSerializer;\n        this.userAccountThriftToObjectSerializer = userAccountThriftToObjectSerializer;\n    }\n\n    ////////////////////////////////\n    // IAccountPasswordSetter\n    ////////////////////////////////\n    public sendPasswordSettingEmail(\n        emailAddress : CorePrimitivesModel.EmailAddress\n    ) : Promise<void> {\n        return new Promise<void> ((resolve, reject) => {\n            void this.unauthenticatedUserSessionReader.getOrCreateUnauthenticatedUserSessionId()\n            .then((sessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId) => {\n                this.userPasswordServiceClient.sendPasswordSettingCredentialToEmailAddress(\n                    emailAddress,\n                    sessionId\n                ).then(() => {\n                    return resolve();\n                }).catch((error) => {\n                    return reject(error);\n                });\n            });\n        });\n    }\n\n    public ensurePasswordSettingCredentialIsValid(\n        passwordSettingCredential : UserPasswordSettingCredential\n    ) : Promise<void> {\n        return new Promise<void> ((resolve, reject) => {\n            this.userPasswordServiceClient.ensurePasswordSettingCredentialIsValid(\n                this.userAccountObjectToThriftSerializer.getThriftUserPasswordSettingCredential(passwordSettingCredential)\n            ).then(() => {\n                return resolve();\n            }).catch((error) => {\n               return reject(error);\n            });\n        });\n    }\n\n    public setAccountPasswordAndCreateSession(\n        passwordSettingCredential : UserPasswordSettingCredential,\n        newPassword : CorePrimitivesModel.UnencryptedPassword\n    ) : Promise<UserSessionId> {\n        return new Promise<UserSessionId> ((resolve, reject) => {\n            void this.unauthenticatedUserSessionReader.getOrCreateUnauthenticatedUserSessionId()\n            .then((sessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId) => {\n                this.userPasswordServiceClient.setAccountPasswordAndCreateSession(\n                    this.userAccountObjectToThriftSerializer.getThriftUserPasswordSettingCredential(passwordSettingCredential),\n                    newPassword,\n                    sessionId\n                ).then((result) => {\n                    const userSessionId : UserSessionId = this.userAccountThriftToObjectSerializer.getUserSessionId(result);\n\n                    this.accountSessionWriter.setSessionId(userSessionId);\n                    return resolve(userSessionId);\n                }).catch((error) => {\n                    return reject(error);\n                })\n            });\n        });\n    }\n}\n","import CorePrimitivesModel from 'gen-thrift/core_primitives_Model_types';\nimport UnauthenticatedUserSessionModel from 'gen-thrift/unauthenticated_user_session_Model_types';\nimport { Client as UserEmailAddressVerificationServiceClient } from 'gen-thrift/UserEmailAddressVerificationService';\n\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserEmailAddressVerificationCredential } from 'api/UserAccount/model/UserEmailAddressVerificationCredential';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\n\nimport { IAccountEmailAddressVerifier } from '../interfaces/IAccountEmailAddressVerifier';\nimport { IAccountSessionReader } from '../interfaces/IAccountSessionReader';\n\nexport class UserEmailAddressVerifierImpl implements IAccountEmailAddressVerifier {\n    private userEmailAddressVerificationServiceClient : UserEmailAddressVerificationServiceClient;\n    private userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>;\n    private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer;\n\n    constructor(\n            userEmailAddressVerificationServiceClient : UserEmailAddressVerificationServiceClient,\n            userSessionReader : IAccountSessionReader<UserSessionId, UserAccountId>,\n            userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer\n        ) {\n\n        this.userEmailAddressVerificationServiceClient = userEmailAddressVerificationServiceClient;\n        this.userSessionReader = userSessionReader;\n        this.userAccountObjectToThriftSerializer = userAccountObjectToThriftSerializer;\n    }\n\n    public sendEmailAddressVerificationEmail(\n        emailAddress : CorePrimitivesModel.EmailAddress\n    ) : Promise<void> {\n        return new Promise<void> ((resolve, reject) => {\n            this.userEmailAddressVerificationServiceClient.sendEmailAddressVerificationEmail(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(this.userSessionReader.getSessionId()),\n                emailAddress\n            ).then(() => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public associateEmailAddressForEmailAddressVerificationCredential(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId,\n        emailAddressVerificationCredential : UserEmailAddressVerificationCredential\n    ) : Promise<void> {\n        return new Promise<void> ((resolve, reject) => {\n            this.userEmailAddressVerificationServiceClient.associateEmailAddressForEmailAddressVerificationCredential(\n                unauthenticatedUserSessionId,\n                this.userAccountObjectToThriftSerializer.getThriftUserEmailAddressVerificationCredential(emailAddressVerificationCredential)\n            ).then(() => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n}\n","import AccountsModel from 'gen-thrift/accounts_Model_types';\nimport CorePrimitivesModel from 'gen-thrift/core_primitives_Model_types';\nimport UnauthenticatedUserSessionModel from 'gen-thrift/unauthenticated_user_session_Model_types';\nimport { Client as UserAccountServiceClient } from 'gen-thrift/UserAccountService';\n\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\n\nimport { IUnauthenticatedUserSessionReader } from '../../unauthenticated_user_session/interfaces/IUnauthenticatedUserSessionReader';\nimport { IAccountCreator } from '../interfaces/IAccountCreator';\nimport { IAccountSessionWriter } from '../interfaces/IAccountSessionWriter';\n\n// BROKEN - ENTIRE BE IS GONE (replaced by Cognito)\nexport class UserAccountManagerImpl implements IAccountCreator {\n    private userAccountServiceClient : UserAccountServiceClient;\n    private unauthenticatedUserSessionReader : IUnauthenticatedUserSessionReader;\n    private accountSessionWriter : IAccountSessionWriter<UserSessionId>;\n    private userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer;\n\n    constructor(\n            userAccountServiceClient : UserAccountServiceClient,\n            unauthenticatedUserSessionReader : IUnauthenticatedUserSessionReader,\n            accountSessionWriter : IAccountSessionWriter<UserSessionId>,\n            userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer) {\n\n        this.userAccountServiceClient = userAccountServiceClient;\n        this.unauthenticatedUserSessionReader = unauthenticatedUserSessionReader;\n        this.accountSessionWriter = accountSessionWriter;\n        this.userAccountThriftToObjectSerializer = userAccountThriftToObjectSerializer;\n    }\n\n    // ServiceTemporarilyUnavailableException\n    // RateLimitExceededException\n    // UnknownUnauthenticatedUserSessionIdException\n    // FirstNameInvalidStringLengthException\n    // LastNameInvalidStringLengthException\n    // UnknownEmailAddressException\n    // InvalidEmailAddressException\n    // PhoneNumberInvalidStringLengthException\n    // EmailAddressAlreadyAssociatedWithAnAccountException\n    public createAccountAndAssociateEmailAddressAndSendPasswordSettingEmail(\n        firstName : string,\n        lastName : string,\n        emailAddress : CorePrimitivesModel.EmailAddress,\n        phoneNumber : string | null,\n    ) : Promise<UserAccountId> {\n        return this.unauthenticatedUserSessionReader.getOrCreateUnauthenticatedUserSessionId()\n        .then((unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId) => {\n            const optionalPhoneNumber : AccountsModel.OptionalPhoneNumber = new AccountsModel.OptionalPhoneNumber({\n                phoneNumber: phoneNumber ? phoneNumber : undefined,\n            });\n\n            return new Promise<UserAccountId> ((resolve, reject) => {\n                this.userAccountServiceClient.createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail(\n                    unauthenticatedUserSessionId,\n                    firstName,\n                    lastName,\n                    emailAddress,\n                    optionalPhoneNumber\n                ).then((result) => {\n                    const userAccountId : UserAccountId = this.userAccountThriftToObjectSerializer.getUserAccountId(result);\n                    return resolve(userAccountId);\n                }).catch((error) => {\n                    return reject(error);\n                })\n            });\n        });\n    }\n\n    // ServiceTemporarilyUnavailableException\n    // RateLimitExceededException\n    // UnknownUnauthenticatedUserSessionIdException\n    // FirstNameInvalidStringLengthException\n    // LastNameInvalidStringLengthException\n    // UnknownEmailAddressException\n    // InvalidEmailAddressException\n    // PhoneNumberInvalidStringLengthException\n    // EmailAddressAlreadyAssociatedWithAnAccountException\n    public createAccountAndAssociateEmailAddressAndSendPasswordSettingEmailAndCreateSession(\n        firstName : string,\n        lastName : string,\n        emailAddress : CorePrimitivesModel.EmailAddress,\n        phoneNumber : string | null,\n    ) : Promise<UserSessionId> {\n        return this.unauthenticatedUserSessionReader.getOrCreateUnauthenticatedUserSessionId()\n        .then((unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId) => {\n            const optionalPhoneNumber : AccountsModel.OptionalPhoneNumber = new AccountsModel.OptionalPhoneNumber({\n                phoneNumber: phoneNumber ? phoneNumber : undefined,\n            });\n\n            return new Promise<UserSessionId> ((resolve, reject) => {\n                this.userAccountServiceClient.createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession(\n                    unauthenticatedUserSessionId,\n                    firstName,\n                    lastName,\n                    emailAddress,\n                    optionalPhoneNumber\n                ).then((result) => {\n                    const userSessionId : UserSessionId = this.userAccountThriftToObjectSerializer.getUserSessionId(result);\n                    this.accountSessionWriter.setSessionId(userSessionId);\n                    return resolve(userSessionId);\n                }).catch((error) => {\n                    return reject(error);\n                })\n            });\n        });\n    }\n}\n","import DrinkPriceToolModel from 'gen-thrift/drink_price_tool_Model_types';\nimport { Client as DrinkPriceToolServiceClient } from 'gen-thrift/DrinkPriceToolService';\nimport UnauthenticatedUserSessionModel from 'gen-thrift/unauthenticated_user_session_Model_types';\n\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\n\nexport class DrinkPriceToolManager {\n\n    private drinkPriceToolServiceClient : DrinkPriceToolServiceClient;\n    private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer;\n\n    constructor(\n        drinkPriceToolServiceClient : DrinkPriceToolServiceClient,\n        userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer\n    ) {\n        this.drinkPriceToolServiceClient = drinkPriceToolServiceClient;\n        this.userAccountObjectToThriftSerializer = userAccountObjectToThriftSerializer;\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownUnauthenticatedUserSessionIdException\n    public recordPageViewAction(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId\n    ) {\n        return new Promise<void> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.recordPageViewAction(\n                unauthenticatedUserSessionId\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownUnauthenticatedUserSessionIdException\n    public recordShareAction(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId,\n        shareMedium : DrinkPriceToolModel.ShareMedium\n    ) {\n        return new Promise<void> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.recordShareAction(\n                unauthenticatedUserSessionId,\n                shareMedium\n            ).then(() => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownUnauthenticatedUserSessionIdException\n    public getDrinkIdsForUnauthenticatedUserSession(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId\n    ) {\n        return new Promise<Array<DrinkPriceToolModel.DrinkId>> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.getDrinkIdsForUnauthenticatedUserSession(\n                unauthenticatedUserSessionId\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownUnauthenticatedUserSessionIdException\n    // unknownDrinkIdException\n    // emptyArgumentException\n    public getDrinksByDrinkIdsForUnauthenticatedUserSession(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId,\n        drinkIds : Array<DrinkPriceToolModel.DrinkId>\n    ) {\n        return new Promise<Array<DrinkPriceToolModel.Drink>> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.getDrinksByDrinkIdsForUnauthenticatedUserSession(\n                unauthenticatedUserSessionId,\n                drinkIds\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownUnauthenticatedUserSessionIdException\n    // emptyArgumentException\n    public createDrinksForUnauthenticatedUserSession(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId,\n        drinks : Array<DrinkPriceToolModel.Drink>\n    ) {\n        return new Promise<Array<DrinkPriceToolModel.DrinkId>> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.createDrinksForUnauthenticatedUserSession(\n                unauthenticatedUserSessionId,\n                drinks\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownUnauthenticatedUserSessionIdException\n    // unknownDrinkIdException\n    // emptyArgumentException\n    // argumentArraysOfUnevenLengthException\n    public editDrinksByDrinkIdForUnauthenticatedUserSession(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId,\n        drinkIds : Array<DrinkPriceToolModel.DrinkId>,\n        drinks : Array<DrinkPriceToolModel.Drink>\n    ) {\n        return new Promise<void> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.editDrinksByDrinkIdForUnauthenticatedUserSession(\n                unauthenticatedUserSessionId,\n                drinkIds,\n                drinks\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownUnauthenticatedUserSessionIdException\n    // unknownDrinkIdException\n    // emptyArgumentException\n    public deleteDrinksByDrinkIdForUnauthenticatedUserSession(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId,\n        drinkIds : Array<DrinkPriceToolModel.DrinkId>\n    ) {\n        return new Promise<void> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.deleteDrinksByDrinkIdForUnauthenticatedUserSession(\n                unauthenticatedUserSessionId,\n                drinkIds\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // AuthenticatedUserSession Actions\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownActorException\n    public getDrinkIdsForAuthenticatedUserSession(\n        userSessionId : UserSessionId,\n    ) {\n        return new Promise<Array<DrinkPriceToolModel.DrinkId>> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.getDrinkIdsForAuthenticatedUserSession(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownActorException\n    // unknownDrinkIdException\n    // emptyArgumentException\n    public getDrinksByDrinkIdsForAuthenticatedUserSession(\n        authenticatedUserSessionId : UserSessionId,\n        drinkIds : Array<DrinkPriceToolModel.DrinkId>\n    ) {\n        return new Promise<Array<DrinkPriceToolModel.Drink>> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.getDrinksByDrinkIdsForAuthenticatedUserSession(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(authenticatedUserSessionId),\n                drinkIds\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownActorException\n    // emptyArgumentException\n    public createDrinksForAuthenticatedUserSession(\n        authenticatedUserSessionId : UserSessionId,\n        drinks : Array<DrinkPriceToolModel.Drink>\n    ) {\n        return new Promise<Array<DrinkPriceToolModel.DrinkId>> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.createDrinksForAuthenticatedUserSession(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(authenticatedUserSessionId),\n                drinks\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownActorException\n    // unknownDrinkIdException\n    // emptyArgumentException\n    // argumentArraysOfUnevenLengthException\n    public editDrinksByDrinkIdForAuthenticatedUserSession(\n        authenticatedUserSessionId : UserSessionId,\n        drinkIds : Array<DrinkPriceToolModel.DrinkId>,\n        drinks : Array<DrinkPriceToolModel.Drink>\n    ) {\n        return new Promise<void> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.editDrinksByDrinkIdForAuthenticatedUserSession(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(authenticatedUserSessionId),\n                drinkIds,\n                drinks\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownActorException\n    // unknownDrinkIdException\n    // emptyArgumentException\n    public deleteDrinksByDrinkIdForAuthenticatedUserSession(\n        authenticatedUserSessionId : UserSessionId,\n        drinkIds : Array<DrinkPriceToolModel.DrinkId>\n    ) {\n        return new Promise<void> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.deleteDrinksByDrinkIdForAuthenticatedUserSession(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(authenticatedUserSessionId),\n                drinkIds\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownActorException\n    public getDrinkIdsToImport(\n        authenticatedUserSessionId : UserSessionId,\n    ) {\n        return new Promise<Array<DrinkPriceToolModel.DrinkIdAndDrink>> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.getDrinkIdsToImport(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(authenticatedUserSessionId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // rateLimitExceededException\n    // serviceTemporarilyUnavailableException\n    // unknownActorException\n    // unknownDrinkIdException\n    // emptyArgumentException\n    public importDrinkIds(\n        authenticatedUserSessionId : UserSessionId,\n        drinkIds : Array<DrinkPriceToolModel.DrinkId>\n    ) {\n        return new Promise<void> ((resolve, reject) => {\n            this.drinkPriceToolServiceClient.importDrinkIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(authenticatedUserSessionId),\n                drinkIds\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import { IDistributorNameMappingService } from 'api/Distributor/interfaces/IDistributorNameMappingService';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DistributorObjectToJSONSerializer } from 'api/Distributor/serializer/DistributorObjectToJSONSerializer';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { DistributorNameMapping } from 'api/Ordering/model/DistributorNameMapping';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class DistributorNameMappingServiceImpl implements IDistributorNameMappingService {\n    constructor (\n        private readonly distributorObjectToJSONSerializer : DistributorObjectToJSONSerializer,\n    ) { }\n\n    public getMappedDistributorIdsByNameForRetailer (\n        userSessionId : UserSessionId,\n        locationId : LocationId\n    ) : Promise<Map<string, DistributorId>> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:distributor_name_mappings'), queryParameters)\n        .then((response) => {\n            const distributorNameMappings : Map<string, DistributorId> = new Map();\n            for (const distributorNameMapping of Object.keys(response)) {\n                distributorNameMappings.set(distributorNameMapping, new DistributorId(response[distributorNameMapping]));\n            }\n            return distributorNameMappings;\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public saveDistributorNameMapping (\n        userSessionId : UserSessionId,\n        distributorNameMapping : DistributorNameMapping\n    ) : Promise<void> {\n        const queryParameters = {\n            retailer_id: distributorNameMapping.getRetailerId().getValue(),\n        };\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:distributor_name_mappings'), this.distributorObjectToJSONSerializer.getMappingJSON(distributorNameMapping), queryParameters)\n        .then((response) => {\n            return Promise.resolve();\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n}\n","import { IAdjustmentNameMappingService } from 'api/Ordering/interfaces/IAdjustmentNameMappingService';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class AdjustmentNameMappingServiceImpl implements IAdjustmentNameMappingService {\n\n    public getMappedAdjustmentsByNameForRetailerAndDistributor(\n        userSessionId: UserSessionId,\n        retailerId: LocationId,\n        distributorId: DistributorId\n    ): Promise<{ [adjustmentName: string]: { categoryId: string; standardAdjustmentId: string } }> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n            distributor_id: distributorId.getValue()\n        };\n        \n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:adjustment_name_mappings'), queryParameters)\n            .then((response) => {\n                const mappings: { [adjustmentName: string]: { categoryId: string; standardAdjustmentId: string } } = {};\n                \n                if (response.adjustment_name_mappings) {\n                    for (const mapping of response.adjustment_name_mappings) {\n                        mappings[mapping.mapped_adjustment_name] = {\n                            categoryId: mapping.category_id,\n                            standardAdjustmentId: mapping.standard_adjustment_id\n                        };\n                    }\n                }\n                \n                return mappings;\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n\n    public saveAdjustmentNameMapping(\n        userSessionId: UserSessionId,\n        retailerId: LocationId,\n        distributorId: DistributorId,\n        mappedAdjustmentName: string,\n        standardAdjustmentId: string\n    ): Promise<void> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n            distributor_id: distributorId.getValue()\n        };\n        \n        const requestBody = {\n            mapped_adjustment_name: mappedAdjustmentName,\n            standard_adjustment_id: standardAdjustmentId\n        };\n        \n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:adjustment_name_mappings'), requestBody, queryParameters)\n            .then(() => {\n                return Promise.resolve();\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n}","import { IAdjustmentToLineItemMappingService, AdjustmentToLineItemMapping } from 'api/Ordering/interfaces/IAdjustmentToLineItemMappingService';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class AdjustmentToLineItemMappingServiceImpl implements IAdjustmentToLineItemMappingService {\n\n    public getAdjustmentToLineItemMappings(\n        retailerId: LocationId,\n        distributorId: DistributorId,\n    ): Promise<Array<AdjustmentToLineItemMapping>> {\n        const queryParameters: { [key: string]: string } = {\n            retailer_id: retailerId.getValue(),\n            distributor_id: distributorId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:adjustment_to_line_item_mappings'), queryParameters)\n            .then((response: { adjustment_to_line_item_mappings: Array<{ retailer_id: string; distributor_id: string; invoice_adjustment_name: string; product_id: string }> }) => {\n                return response.adjustment_to_line_item_mappings.map((raw) => ({\n                    retailerId: new LocationId(raw.retailer_id),\n                    distributorId: new DistributorId(raw.distributor_id),\n                    invoiceAdjustmentName: raw.invoice_adjustment_name,\n                    productId: new ProductId(raw.product_id),\n                }));\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n\n    public saveAdjustmentToLineItemMapping(\n        retailerId: LocationId,\n        mapping: AdjustmentToLineItemMapping,\n    ): Promise<void> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n        };\n\n        const requestBody = {\n            distributor_id: mapping.distributorId.getValue(),\n            invoice_adjustment_name: mapping.invoiceAdjustmentName,\n            product_id: mapping.productId.getValue(),\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:adjustment_to_line_item_mappings'), requestBody, queryParameters)\n            .then(() => {\n                return Promise.resolve();\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n\n    public deleteAdjustmentToLineItemMapping(\n        retailerId: LocationId,\n        distributorId: DistributorId,\n        invoiceAdjustmentName: string,\n    ): Promise<void> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n        };\n\n        const requestBody = {\n            distributor_id: distributorId.getValue(),\n            invoice_adjustment_name: invoiceAdjustmentName,\n        };\n\n        return AjaxUtils.ajaxDelete(urlWithoutRetailerId('api:adjustment_to_line_item_mappings'), queryParameters, requestBody)\n            .then(() => {\n                return Promise.resolve();\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n}\n","import { ILineItemToAdjustmentMappingService, LineItemToAdjustmentMapping } from 'api/Ordering/interfaces/ILineItemToAdjustmentMappingService';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class LineItemToAdjustmentMappingServiceImpl implements ILineItemToAdjustmentMappingService {\n\n    public getLineItemToAdjustmentMappings(\n        retailerId: LocationId,\n        distributorId: DistributorId,\n    ): Promise<Array<LineItemToAdjustmentMapping>> {\n        const queryParameters: { [key: string]: string } = {\n            retailer_id: retailerId.getValue(),\n            distributor_id: distributorId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:line_item_to_adjustment_mappings'), queryParameters)\n            .then((response: { line_item_to_adjustment_mappings: Array<{ retailer_id: string; distributor_id: string; invoice_line_item_name: string; invoice_line_item_sku: string; standard_adjustment_id: string }> }) => {\n                return response.line_item_to_adjustment_mappings.map((raw) => ({\n                    retailerId: new LocationId(raw.retailer_id),\n                    distributorId: new DistributorId(raw.distributor_id),\n                    invoiceLineItemName: raw.invoice_line_item_name,\n                    invoiceLineItemSku: raw.invoice_line_item_sku,\n                    standardAdjustmentId: raw.standard_adjustment_id,\n                }));\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n\n    public saveLineItemToAdjustmentMapping(\n        retailerId: LocationId,\n        mapping: LineItemToAdjustmentMapping,\n    ): Promise<void> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n        };\n\n        const requestBody = {\n            distributor_id: mapping.distributorId.getValue(),\n            invoice_line_item_name: mapping.invoiceLineItemName,\n            invoice_line_item_sku: mapping.invoiceLineItemSku,\n            standard_adjustment_id: mapping.standardAdjustmentId,\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:line_item_to_adjustment_mappings'), requestBody, queryParameters)\n            .then(() => {\n                return Promise.resolve();\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n\n    public deleteLineItemToAdjustmentMapping(\n        retailerId: LocationId,\n        distributorId: DistributorId,\n        invoiceLineItemName: string,\n        invoiceLineItemSku: string,\n    ): Promise<void> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n        };\n\n        const requestBody = {\n            distributor_id: distributorId.getValue(),\n            invoice_line_item_name: invoiceLineItemName,\n            invoice_line_item_sku: invoiceLineItemSku,\n        };\n\n        return AjaxUtils.ajaxDelete(urlWithoutRetailerId('api:line_item_to_adjustment_mappings'), queryParameters, requestBody)\n            .then(() => {\n                return Promise.resolve();\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n}\n","import { ITaxToAdjustmentMappingService, TaxToAdjustmentMapping } from 'api/Ordering/interfaces/ITaxToAdjustmentMappingService';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class TaxToAdjustmentMappingServiceImpl implements ITaxToAdjustmentMappingService {\n\n    public getTaxToAdjustmentMappings(\n        retailerId: LocationId,\n        distributorId: DistributorId,\n    ): Promise<Array<TaxToAdjustmentMapping>> {\n        const queryParameters: { [key: string]: string } = {\n            retailer_id: retailerId.getValue(),\n            distributor_id: distributorId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:tax_to_adjustment_mappings'), queryParameters)\n            .then((response: { tax_to_adjustment_mappings: Array<{ retailer_id: string; distributor_id: string; invoice_tax_name: string; standard_adjustment_id: string }> }) => {\n                return response.tax_to_adjustment_mappings.map((raw) => ({\n                    retailerId: new LocationId(raw.retailer_id),\n                    distributorId: new DistributorId(raw.distributor_id),\n                    invoiceTaxName: raw.invoice_tax_name,\n                    standardAdjustmentId: raw.standard_adjustment_id,\n                }));\n            })\n            .catch((error: Error) => {\n                return Promise.reject(error);\n            });\n    }\n\n    public saveTaxToAdjustmentMapping(\n        retailerId: LocationId,\n        mapping: TaxToAdjustmentMapping,\n    ): Promise<void> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n        };\n\n        const requestBody = {\n            distributor_id: mapping.distributorId.getValue(),\n            invoice_tax_name: mapping.invoiceTaxName,\n            standard_adjustment_id: mapping.standardAdjustmentId,\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:tax_to_adjustment_mappings'), requestBody, queryParameters)\n            .then(() => {});\n    }\n\n    public deleteTaxToAdjustmentMapping(\n        retailerId: LocationId,\n        distributorId: DistributorId,\n        invoiceTaxName: string,\n    ): Promise<void> {\n        const queryParameters = {\n            retailer_id: retailerId.getValue(),\n        };\n\n        const requestBody = {\n            distributor_id: distributorId.getValue(),\n            invoice_tax_name: invoiceTaxName,\n        };\n\n        return AjaxUtils.ajaxDelete(urlWithoutRetailerId('api:tax_to_adjustment_mappings'), queryParameters, requestBody)\n            .then(() => {});\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { IDistributorService } from 'api/Distributor/interfaces/IDistributorService';\nimport ProductModel from 'gen-thrift/product_Model_types';\nimport { Client as ProductServiceClient } from 'gen-thrift/ProductService';\n\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { ProductId } from '../model/ProductId';\n\nimport { DistributorObjectToThriftSerializer } from 'api/Distributor/serializer/DistributorObjectToThriftSerializer';\nimport { DistributorThriftToObjectSerializer } from 'api/Distributor/serializer/DistributorThriftToObjectSerializer';\nimport { IProductDistributorService } from 'api/Product/interfaces/IProductDistributorService';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\n\nexport class ProductDistributorServiceImpl implements IProductDistributorService {\n\n    constructor(\n        private readonly thriftProductClient : ProductServiceClient,\n        private readonly productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n        private readonly productThriftToObjectSerializer : ProductThriftToObjectSerializer,\n        private readonly distributorObjectToThriftSerializer : DistributorObjectToThriftSerializer,\n        private readonly distributorThriftToObjectSerializer : DistributorThriftToObjectSerializer,\n        private readonly userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private readonly distributorService : IDistributorService,\n    ) { }\n\n    public retrieveDistributorIdsByProductIdForProductIds (\n        userSessionId : UserSessionId,\n        productIds : Array<ProductId>\n    ) : Promise<StringValueMap<ProductId, DistributorId | null>> {\n        return new Promise<StringValueMap<ProductId, DistributorId | null>>((resolve, reject) => {\n            this.thriftProductClient.retrieveDistributorIdsAssociatedWithProductIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                productIds.map((productId : ProductId) => {\n                    return this.productObjectToThriftSerializer.getThriftProductId(productId);\n                })\n            ).then((result) => {\n                const distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null> = new StringValueMap();\n                result.forEach((distributorIdAndProductId : ProductModel.ProductIdAndDistributorId) => {\n                    let distributorId : DistributorId | null = null;\n                    if (distributorIdAndProductId.distributorId) {\n                        distributorId = this.distributorThriftToObjectSerializer.getDistributorId(distributorIdAndProductId.distributorId);\n                    }\n\n                    distributorIdsByProductId.set(\n                        this.productThriftToObjectSerializer.getProductId(distributorIdAndProductId.productId),\n                        distributorId,\n                    );\n                });\n\n                return resolve(distributorIdsByProductId);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public async associateDistributorIdWithProductId (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        distributorId : DistributorId\n    ) : Promise<void> {\n        await this.distributorService.addDistributorRelationshipForCurrentRetailer(distributorId);\n\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductClient.associateDistributorIdWithProductId(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductId(productId),\n                this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public disassociateDistributorIdFromProductId (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        distributorId : DistributorId\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductClient.disassociateDistributorIdFromProductId(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductId(productId),\n                this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public async associateDistributorIdWithProductIds (\n        userSessionId : UserSessionId,\n        productIds : Array<ProductId>,\n        distributorId : DistributorId\n    ) : Promise<void> {\n        await this.distributorService.addDistributorRelationshipForCurrentRetailer(distributorId);\n\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductClient.associateDistributorIdWithProductIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                productIds.map((productId : ProductId) => {\n                    return this.productObjectToThriftSerializer.getThriftProductId(productId);\n                }),\n                this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public disassociateDistributorIdFromProductIds (\n        userSessionId : UserSessionId,\n        productIds : Array<ProductId>,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductClient.disassociateDistributorIdFromProductIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                productIds.map((productId : ProductId) => {\n                    return this.productObjectToThriftSerializer.getThriftProductId(productId);\n                })\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import ProductDistributorModel from 'gen-thrift/product_distributor_Model_types';\n\nimport { DistributorObjectToThriftSerializer } from 'api/Distributor/serializer/DistributorObjectToThriftSerializer';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\n\nexport class ProductDistributorAssociationObjectToThriftSerializer {\n\n    constructor(\n        private readonly productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n        private readonly distributorObjectToThriftSerializer : DistributorObjectToThriftSerializer\n    ) {}\n\n    public getThriftProductDistributorAssociation(\n        productDistributorAssociation : ProductDistributorAssociation\n    ) : ProductDistributorModel.ProductPackagingDistributorAssoc {\n        const price = productDistributorAssociation.getPrice();\n        const deposit = productDistributorAssociation.getDeposit();\n\n        return new ProductDistributorModel.ProductPackagingDistributorAssoc({\n            productId: this.productObjectToThriftSerializer.getThriftProductId(productDistributorAssociation.getProductId()),\n            productQuantityUnit: this.productObjectToThriftSerializer.getThriftProductQuantityUnit(productDistributorAssociation.getProductQuantityUnit()),\n            distributorId: this.distributorObjectToThriftSerializer.getThriftDistributorId(productDistributorAssociation.getDistributorId()),\n            sku: productDistributorAssociation.getSku() ?? undefined,\n            price: price ? this.productObjectToThriftSerializer.getThriftProductCost(price) : undefined,\n            deposit: deposit ? this.productObjectToThriftSerializer.getThriftProductCost(deposit) : undefined,\n        });\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getThriftProductDistributorAssociationsFromArray(\n        productDistributorAssociations : Array<ProductDistributorAssociation>\n    ) : Array<ProductDistributorModel.ProductPackagingDistributorAssoc> {\n        return productDistributorAssociations.map((productDistributorAssociation) => {\n            return this.getThriftProductDistributorAssociation(productDistributorAssociation);\n        });\n    }\n}\n","import ProductDistributorModel from 'gen-thrift/product_distributor_Model_types';\n\nimport { DistributorThriftToObjectSerializer } from 'api/Distributor/serializer/DistributorThriftToObjectSerializer';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\n\nexport class ProductDistributorAssociationThriftToObjectSerializer {\n\n    constructor(\n        private readonly productThriftToObjectSerializer : ProductThriftToObjectSerializer,\n        private readonly distributorThriftToObjectSerializer : DistributorThriftToObjectSerializer\n    ) {}\n\n    public getProductDistributorAssociation(\n        productDistributorAssociation : ProductDistributorModel.ProductPackagingDistributorAssoc\n    ) : ProductDistributorAssociation {\n        return new ProductDistributorAssociation(\n            this.productThriftToObjectSerializer.getProductId(productDistributorAssociation.productId),\n            this.productThriftToObjectSerializer.getProductQuantityUnit(productDistributorAssociation.productQuantityUnit),\n            this.distributorThriftToObjectSerializer.getDistributorId(productDistributorAssociation.distributorId),\n            productDistributorAssociation.sku ?? null,\n            productDistributorAssociation.price ? this.productThriftToObjectSerializer.getProductCost(productDistributorAssociation.price) : null,\n            productDistributorAssociation.deposit ? this.productThriftToObjectSerializer.getProductCost(productDistributorAssociation.deposit) : null,\n        );\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getProductDistributorAssociationsFromArray(\n        productDistributorAssociations : Array<ProductDistributorModel.ProductPackagingDistributorAssoc>\n    ) : Array<ProductDistributorAssociation> {\n        return productDistributorAssociations.map((productDistributorAssociation) => {\n            return this.getProductDistributorAssociation(productDistributorAssociation);\n        });\n    }\n}\n","import { StringValueResponseCache } from 'api/StringValueReponseCache';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { IProductDistributorAssociationService } from 'api/Product/interfaces/IProductDistributorAssociationService';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\n\n// TODO future: can leverage RTKQ instead of managing our own caching\nconst MIN_GET_COUNT_TO_CACHE = 2;\nexport class CachedProductDistributorAssociationServiceImpl implements IProductDistributorAssociationService {\n    private productDistributorAssociationCache : StringValueResponseCache<ProductId, StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>>;\n\n    constructor (\n        private readonly productDistributorAssociationService : IProductDistributorAssociationService,\n    ) {\n        this.productDistributorAssociationCache = new StringValueResponseCache();\n    }\n\n    public getProductDistributorAssociationsForProductIds (\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>\n    ) : Promise<StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>> {\n\n        return this.productDistributorAssociationCache.requestSet(\n            productIds,\n            (requestedProductIds) => this.productDistributorAssociationService.getProductDistributorAssociationsForProductIds(userSessionId, requestedProductIds),\n            productIds.size < MIN_GET_COUNT_TO_CACHE\n        ).then((responses) => {\n            const productDistributorAssociationsByIdByProductId = new StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>();\n            responses.forEach((response) => {\n                response.forEach((productDistributorAssociations, productId) => {\n                    const productDistributorAssociationsByIdentifier = productDistributorAssociationsByIdByProductId.get(productId) || new StringValueMap();\n                    productDistributorAssociations.forEach((productDistributorAssociation, productDistributorAssociationId) => {\n                        productDistributorAssociationsByIdentifier.set(productDistributorAssociationId, productDistributorAssociation);\n                    });\n                    productDistributorAssociationsByIdByProductId.set(productId, productDistributorAssociationsByIdentifier);\n                });\n            });\n            return productDistributorAssociationsByIdByProductId;\n        });\n    }\n\n    public createOrUpdateProductDistributorAssociations(\n        userSessionId : UserSessionId,\n        productDistributorAssociations : Array<ProductDistributorAssociation>\n    ) : Promise<void> {\n        if (productDistributorAssociations.length === 0) {\n            return Promise.resolve();\n        }\n        this.productDistributorAssociationCache.deleteAll(productDistributorAssociations.map((pda) => pda.getProductId()));\n        return this.productDistributorAssociationService.createOrUpdateProductDistributorAssociations(userSessionId, productDistributorAssociations);\n    }\n\n    public disassociateProductDistributorAssociations(\n        userSessionId : UserSessionId,\n        productDistributorAssociations : Array<ProductDistributorAssociation>\n    ) : Promise<void> {\n        if (productDistributorAssociations.length === 0) {\n            return Promise.resolve();\n        }\n        this.productDistributorAssociationCache.deleteAll(productDistributorAssociations.map((pda) => pda.getProductId()));\n        return this.productDistributorAssociationService.disassociateProductDistributorAssociations(userSessionId, productDistributorAssociations);\n    }\n\n    public disassociateDistributorFromProductQuantityUnits(\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        productQuantityUnits : Array<ProductQuantityUnit>,\n        distributorId : DistributorId\n    ) : Promise<void> {\n        this.productDistributorAssociationCache.delete(productId);\n        return this.productDistributorAssociationService.disassociateDistributorFromProductQuantityUnits(userSessionId, productId, productQuantityUnits, distributorId);\n    }\n\n    public disassociateDistributorFromProducts(\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>,\n        distributorId : DistributorId\n    ) : Promise<void> {\n        this.productDistributorAssociationCache.deleteAll(Array.from(productIds.values()));\n        return this.productDistributorAssociationService.disassociateDistributorFromProducts(userSessionId, productIds, distributorId);\n    }\n\n    public disassociateAllDistributorsFromProducts(\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>\n    ) : Promise<void> {\n        this.productDistributorAssociationCache.deleteAll(Array.from(productIds.values()));\n        return this.productDistributorAssociationService.disassociateAllDistributorsFromProducts(userSessionId, productIds);\n    }\n}\n","import { Client as ProductDistributorServiceClient } from 'gen-thrift/ProductDistributorService';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { DistributorObjectToThriftSerializer } from 'api/Distributor/serializer/DistributorObjectToThriftSerializer';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { ProductDistributorAssociationObjectToThriftSerializer } from 'api/Product/serializer/ProductDistributorAssociationObjectToThriftSerializer';\nimport { ProductDistributorAssociationThriftToObjectSerializer } from 'api/Product/serializer/ProductDistributorAssociationThriftToObjectSerializer';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { IProductDistributorAssociationService } from '../interfaces/IProductDistributorAssociationService';\n\nexport class ProductDistributorAssociationServiceImpl implements IProductDistributorAssociationService {\n\n    constructor(\n        private readonly thriftProductDistributorServiceClient : ProductDistributorServiceClient,\n        private readonly productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n        private readonly distributorObjectToThriftSerializer : DistributorObjectToThriftSerializer,\n        private readonly userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private readonly productDistributorAssociationObjectToThriftSerializer : ProductDistributorAssociationObjectToThriftSerializer,\n        private readonly productDistributorAssociationThriftToObjectSerializer : ProductDistributorAssociationThriftToObjectSerializer,\n    ) { }\n\n    public getProductDistributorAssociationsForProductIds (\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>\n    ) : Promise<StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>> {\n        return new Promise<StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>>((resolve, reject) => {\n            this.thriftProductDistributorServiceClient.getProductPackagingDistributorAssociationsForProductIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductIdsFromSet(productIds)\n            ).then((result) => {\n                const distributorAssociationsByProductId = new StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>();\n                productIds.forEach((productId) => {\n                    distributorAssociationsByProductId.set(productId, new StringValueMap());\n                });\n\n                result.forEach((thriftProductDistributorAssociation) => {\n                    const productDistributorAssociation = this.productDistributorAssociationThriftToObjectSerializer.getProductDistributorAssociation(thriftProductDistributorAssociation);\n                    const productId = productDistributorAssociation.getProductId();\n\n                    const distributorAssociationsByIdentifier = distributorAssociationsByProductId.getRequired(productId);\n                    distributorAssociationsByIdentifier.set(ProductDistributorAssociationIdentifier.fromProductDistributorAssociation(productDistributorAssociation), productDistributorAssociation);\n\n                    distributorAssociationsByProductId.set(\n                        productId,\n                        distributorAssociationsByIdentifier,\n                    );\n                });\n\n                return resolve(distributorAssociationsByProductId);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public createOrUpdateProductDistributorAssociations(\n        userSessionId : UserSessionId,\n        productDistributorAssociations : Array<ProductDistributorAssociation>\n    ) : Promise<void> {\n        if (productDistributorAssociations.length === 0) {\n            return Promise.resolve();\n        }\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductDistributorServiceClient.createOrUpdateDistributorProductPackagingAssocs(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productDistributorAssociationObjectToThriftSerializer.getThriftProductDistributorAssociationsFromArray(productDistributorAssociations)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public disassociateProductDistributorAssociations(\n        userSessionId : UserSessionId,\n        productDistributorAssociations : Array<ProductDistributorAssociation>\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductDistributorServiceClient.disassociateDistributorProductPackagingAssocs(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productDistributorAssociationObjectToThriftSerializer.getThriftProductDistributorAssociationsFromArray(productDistributorAssociations)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public disassociateDistributorFromProductQuantityUnits(\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        productQuantityUnits : Array<ProductQuantityUnit>,\n        distributorId : DistributorId\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductDistributorServiceClient.disassociateDistributorFromProductPackagings(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductId(productId),\n                productQuantityUnits.map((productQuantityUnit : ProductQuantityUnit) => {\n                    return this.productObjectToThriftSerializer.getThriftProductQuantityUnit(productQuantityUnit);\n                }),\n                this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public disassociateDistributorFromProducts(\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>,\n        distributorId : DistributorId\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductDistributorServiceClient.disassociateDistributorFromProducts(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductIdsFromSet(productIds),\n                this.distributorObjectToThriftSerializer.getThriftDistributorId(distributorId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public disassociateAllDistributorsFromProducts(\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftProductDistributorServiceClient.disassociateAllDistributorsFromProducts(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductIdsFromSet(productIds)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import PublicContentModel from 'gen-thrift/public_content_Model_types';\n\nimport { PublicContent } from '../model/PublicContent';\nimport { PublicContentAndPublicContentViewEvent } from '../model/PublicContentAndPublicContentViewEvent';\nimport { PublicContentTypeEnum } from '../model/PublicContentTypeEnum';\nimport { PublicContentUrl } from '../model/PublicContentUrl';\nimport { PublicContentViewEvent } from '../model/PublicContentViewEvent';\nimport { PublicContentViewEventTypeEnum } from '../model/PublicContentViewEventTypeEnum';\nimport { UserPublicContent } from '../model/UserPublicContent';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class PublicContentObjectToThriftSerializer {\n\n    public getThriftPublicContent(\n        publicContent : PublicContent\n    ) : PublicContentModel.PublicContent {\n        return new PublicContentModel.PublicContent({\n            publicContentUrl: this.getThriftPublicContentUrl(publicContent.getPublicContentUrl()),\n            publicContentType: this.getThriftPublicContentType(publicContent.getPublicContentType()),\n            title: publicContent.getTitle(),\n            excerpt: publicContent.getExcerpt(),\n            thumbnailUrl: publicContent.getThumbnailUrl(),\n            publicationDate: publicContent.getPublicationDate(),\n        });\n    }\n\n    public getThriftPublicContentAndPublicContentViewEvent(\n        publicContentAndPublicContentViewEvent : PublicContentAndPublicContentViewEvent\n    ) : PublicContentModel.PublicContentAndPublicContentViewEvent {\n        const publicContentViewEvent = publicContentAndPublicContentViewEvent.getPublicContentViewEvent();\n        return new PublicContentModel.PublicContentAndPublicContentViewEvent({\n            publicContent: this.getThriftPublicContent(publicContentAndPublicContentViewEvent.getPublicContent()),\n            publicContentViewEvent: publicContentViewEvent ? this.getThriftPublicContentViewEvent(publicContentViewEvent) : undefined,\n        });\n    }\n\n    public getThriftPublicContentType(\n        publicContentTypeEnum : PublicContentTypeEnum\n    ) : PublicContentModel.PublicContentType {\n        switch (publicContentTypeEnum) {\n            case PublicContentTypeEnum.POST:\n                return PublicContentModel.PublicContentType.POST;\n            case PublicContentTypeEnum.RESOURCE:\n                return PublicContentModel.PublicContentType.RESOURCE;\n            default:\n                throw new RuntimeException('Not implemented for publicContentType: ' + publicContentTypeEnum);\n        }\n    }\n\n    public getThriftPublicContentUrl(\n        publicContentUrl : PublicContentUrl\n    ) : PublicContentModel.PublicContentUrl {\n        return new PublicContentModel.PublicContentUrl({\n            hostname: publicContentUrl.getHostname(),\n            path: publicContentUrl.getPath(),\n        });\n    }\n\n    public getThriftPublicContentViewEvent(\n        publicContentViewEvent : PublicContentViewEvent\n    ) : PublicContentModel.PublicContentViewEvent {\n        return new PublicContentModel.PublicContentViewEvent({\n            eventTimestamp: publicContentViewEvent.getEventTime(),\n            referrer: publicContentViewEvent.getReferrer(),\n            eventType: this.getThriftPublicContentViewEventType(publicContentViewEvent.getEventType()),\n            publicContentUrlParameters: publicContentViewEvent.getPublicContentUrlParameters(),\n            publicContentUrl: this.getThriftPublicContentUrl(publicContentViewEvent.getPublicContentUrl())\n        });\n    }\n\n    public getThriftPublicContentViewEventType(\n        publicContentViewEventTypeEnum : PublicContentViewEventTypeEnum\n    ) : PublicContentModel.PublicContentViewEventType {\n        switch (publicContentViewEventTypeEnum) {\n            case PublicContentViewEventTypeEnum.PAGE_VIEW:\n                return PublicContentModel.PublicContentViewEventType.PAGE_VIEW;\n            case PublicContentViewEventTypeEnum.DOWNLOAD:\n                return PublicContentModel.PublicContentViewEventType.DOWNLOAD;\n            default:\n                throw new RuntimeException('Not implemented for publicContentType: ' + publicContentViewEventTypeEnum);\n        }\n    }\n\n    public getThriftUserPublicContent(\n        userPublicContent : UserPublicContent\n    ) : PublicContentModel.UserPublicContent {\n\n        const recentlyViewed : Array<PublicContentModel.PublicContentAndPublicContentViewEvent> = [];\n        userPublicContent.getRecentlyViewed().forEach((publicContentAndPublicContentViewEvent : PublicContentAndPublicContentViewEvent) => {\n            recentlyViewed.push(this.getThriftPublicContentAndPublicContentViewEvent(publicContentAndPublicContentViewEvent));\n        });\n\n        const recommended : Array<PublicContentModel.PublicContentAndPublicContentViewEvent> = [];\n        userPublicContent.getRecommended().forEach((publicContentAndPublicContentViewEvent : PublicContentAndPublicContentViewEvent) => {\n            recommended.push(this.getThriftPublicContentAndPublicContentViewEvent(publicContentAndPublicContentViewEvent));\n        });\n\n        return new PublicContentModel.UserPublicContent({\n            recentlyViewed,\n            recommended,\n        });\n    }\n}\n","import PublicContentModel from 'gen-thrift/public_content_Model_types';\n\nimport { PublicContent } from '../model/PublicContent';\nimport { PublicContentAndPublicContentViewEvent } from '../model/PublicContentAndPublicContentViewEvent';\nimport { PublicContentTypeEnum } from '../model/PublicContentTypeEnum';\nimport { PublicContentUrl } from '../model/PublicContentUrl';\nimport { PublicContentViewEvent } from '../model/PublicContentViewEvent';\nimport { PublicContentViewEventTypeEnum } from '../model/PublicContentViewEventTypeEnum';\nimport { UserPublicContent } from '../model/UserPublicContent';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class PublicContentThriftToObjectSerializer {\n\n    public getPublicContent(\n        publicContent : PublicContentModel.PublicContent\n    ) : PublicContent {\n        return new PublicContent(\n            this.getPublicContentUrl(publicContent.publicContentUrl),\n            this.getPublicContentTypeEnum(publicContent.publicContentType),\n            publicContent.title,\n            publicContent.excerpt,\n            publicContent.thumbnailUrl,\n            publicContent.publicationDate\n        );\n    }\n\n    public getPublicContentAndPublicContentViewEvent(\n        publicContentAndPublicContentViewEvent : PublicContentModel.PublicContentAndPublicContentViewEvent\n    ) : PublicContentAndPublicContentViewEvent {\n        return new PublicContentAndPublicContentViewEvent(\n            this.getPublicContent(publicContentAndPublicContentViewEvent.publicContent),\n            publicContentAndPublicContentViewEvent.publicContentViewEvent ? this.getPublicContentViewEvent(publicContentAndPublicContentViewEvent.publicContentViewEvent) : null,\n        );\n    }\n\n    public getPublicContentTypeEnum(\n        publicContentType : PublicContentModel.PublicContentType\n    ) : PublicContentTypeEnum {\n        switch (publicContentType) {\n            case PublicContentModel.PublicContentType.POST:\n                return PublicContentTypeEnum.POST;\n            case PublicContentModel.PublicContentType.RESOURCE:\n                return PublicContentTypeEnum.RESOURCE;\n            default:\n                throw new RuntimeException('Not implemented for publicContentType: ' + publicContentType);\n        }\n    }\n\n    public getPublicContentUrl(\n        publicContentUrl : PublicContentModel.PublicContentUrl\n    ) : PublicContentUrl {\n        return new PublicContentUrl(\n            publicContentUrl.hostname,\n            publicContentUrl.path,\n        );\n    }\n\n    public getPublicContentViewEvent(\n        publicContentViewEvent : PublicContentModel.PublicContentViewEvent\n    ) : PublicContentViewEvent {\n        return new PublicContentViewEvent(\n            publicContentViewEvent.eventTimestamp,\n            publicContentViewEvent.referrer,\n            this.getPublicContentViewEventTypeEnum(publicContentViewEvent.eventType),\n            publicContentViewEvent.publicContentUrlParameters,\n            this.getPublicContentUrl(publicContentViewEvent.publicContentUrl)\n        );\n    }\n\n    public getPublicContentViewEventTypeEnum(\n        publicContentViewEventType : PublicContentModel.PublicContentViewEventType\n    ) : PublicContentViewEventTypeEnum {\n        switch (publicContentViewEventType) {\n            case PublicContentModel.PublicContentViewEventType.PAGE_VIEW:\n                return PublicContentViewEventTypeEnum.PAGE_VIEW;\n            case PublicContentModel.PublicContentViewEventType.DOWNLOAD:\n                return PublicContentViewEventTypeEnum.DOWNLOAD;\n            default:\n                throw new RuntimeException('Not implemented for publicContentType: ' + publicContentViewEventType);\n        }\n    }\n\n    public getUserPublicContent(\n        userPublicContent : PublicContentModel.UserPublicContent\n    ) : UserPublicContent {\n\n        const recentlyViewed : Array<PublicContentAndPublicContentViewEvent> = [];\n        userPublicContent.recentlyViewed.forEach((publicContentAndPublicContentViewEvent : PublicContentModel.PublicContentAndPublicContentViewEvent) => {\n            recentlyViewed.push(this.getPublicContentAndPublicContentViewEvent(publicContentAndPublicContentViewEvent));\n        });\n\n        const recommended : Array<PublicContentAndPublicContentViewEvent> = [];\n        userPublicContent.recommended.forEach((publicContentAndPublicContentViewEvent : PublicContentModel.PublicContentAndPublicContentViewEvent) => {\n            recommended.push(this.getPublicContentAndPublicContentViewEvent(publicContentAndPublicContentViewEvent));\n        });\n\n        return new UserPublicContent(\n            recentlyViewed,\n            recommended,\n        );\n    }\n}\n","import { Client as PublicContentViewEventServiceClient } from 'gen-thrift/PublicContentViewEventService';\nimport UnauthenticatedUserSessionModel from 'gen-thrift/unauthenticated_user_session_Model_types';\n\nimport { PublicContentTypeEnum } from 'api/PublicContent/model/PublicContentTypeEnum';\nimport { PublicContentUrl } from 'api/PublicContent/model/PublicContentUrl';\nimport { PublicContentViewEventTypeEnum } from 'api/PublicContent/model/PublicContentViewEventTypeEnum';\nimport { UserPublicContent } from 'api/PublicContent/model/UserPublicContent';\nimport { PublicContentObjectToThriftSerializer } from 'api/PublicContent/serializer/PublicContentObjectToThriftSerializer';\nimport { PublicContentThriftToObjectSerializer } from 'api/PublicContent/serializer/PublicContentThriftToObjectSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { IPublicContentViewEventService } from '../interfaces/IPublicContentViewEventService';\n\nexport class PublicContentViewEventServiceImpl implements IPublicContentViewEventService {\n\n    private publicContentViewEventServiceClient : PublicContentViewEventServiceClient;\n    private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer;\n    private publicContentObjectToThriftSerializer : PublicContentObjectToThriftSerializer;\n    private publicContentThriftToObjectSerializer : PublicContentThriftToObjectSerializer;\n\n    constructor(\n        publicContentViewEventServiceClient : PublicContentViewEventServiceClient,\n        userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        publicContentObjectToThriftSerializer : PublicContentObjectToThriftSerializer,\n        publicContentThriftToObjectSerializer : PublicContentThriftToObjectSerializer,\n    ) {\n        this.publicContentViewEventServiceClient = publicContentViewEventServiceClient;\n        this.userAccountObjectToThriftSerializer = userAccountObjectToThriftSerializer;\n        this.publicContentObjectToThriftSerializer = publicContentObjectToThriftSerializer;\n        this.publicContentThriftToObjectSerializer = publicContentThriftToObjectSerializer;\n    }\n\n    // core_api_Exceptions.RateLimitExceededException\n    // core_api_Exceptions.ServiceTemporarilyUnavailableException\n    // unauthenticated_user_session_Exceptions.UnknownUnauthenticatedUserSessionIdException\n    // public_content_Exceptions.InvalidArgumentsToCreateViewEventException\n    public createPublicContentViewEventForUnauthenticatedSession(\n        unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId,\n        eventType : PublicContentViewEventTypeEnum,\n        publicContentUrl : PublicContentUrl,\n        publicContentUrlParameters : { [k : string] : Array<string> },\n        referrer : string,\n    ) : Promise<void> {\n\n        return new Promise<void>((resolve, reject) => {\n            this.publicContentViewEventServiceClient.createPublicContentViewEventForUnauthenticatedSession(\n                unauthenticatedUserSessionId,\n                this.publicContentObjectToThriftSerializer.getThriftPublicContentViewEventType(eventType),\n                this.publicContentObjectToThriftSerializer.getThriftPublicContentUrl(publicContentUrl),\n                publicContentUrlParameters,\n                referrer\n            ).then((result) => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // core_api_Exceptions.RateLimitExceededException\n    // core_api_Exceptions.ServiceTemporarilyUnavailableException\n    // accounts_Exceptions.UnknownSessionIdentifierException\n    // public_content_Exceptions.InvalidArgumentsToCreateViewEventException\n    public createPublicContentViewEventForAuthenticatedSession(\n        userSessionId : UserSessionId,\n        eventType : PublicContentViewEventTypeEnum,\n        publicContentUrl : PublicContentUrl,\n        publicContentUrlParameters : { [k : string] : Array<string> },\n        referrer : string,\n    ) : Promise<void> {\n\n        return new Promise<void>((resolve, reject) => {\n            this.publicContentViewEventServiceClient.createPublicContentViewEventForAuthenticatedSession(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.publicContentObjectToThriftSerializer.getThriftPublicContentViewEventType(eventType),\n                this.publicContentObjectToThriftSerializer.getThriftPublicContentUrl(publicContentUrl),\n                publicContentUrlParameters,\n                referrer\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // core_api_Exceptions.RateLimitExceededException\n    // core_api_Exceptions.ServiceTemporarilyUnavailableException\n    // accounts_Exceptions.UnknownSessionIdentifierException\n    // public_content_Exceptions.InvalidArgumentAsPublicContentTypeException\n    public getUserPublicContentForAuthenticatedSession(\n        userSessionId : UserSessionId,\n        publicContentType : PublicContentTypeEnum\n    ) : Promise<UserPublicContent> {\n\n        return new Promise<UserPublicContent>((resolve, reject) => {\n            this.publicContentViewEventServiceClient.getUserPublicContentForAuthenticatedSession(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.publicContentObjectToThriftSerializer.getThriftPublicContentType(publicContentType)\n            ).then((result) => {\n                const userPublicContent : UserPublicContent = this.publicContentThriftToObjectSerializer.getUserPublicContent(result);\n                return resolve(userPublicContent);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import { invitationType, InviteInfo } from 'api/UserAccount/model/InviteInfo';\n\nexport interface IInviteInfoJSON {\n    success : boolean;\n    user_already_exists : boolean;\n    invited_by_user_name : string;\n    invite_type : invitationType;\n    invited_to_id : string;\n    invited_to_name : string;\n}\n\nexport class InviteInfoJSONToObjectSerializer {\n    public getInviteInfo(inviteInfo : IInviteInfoJSON) {\n        return new InviteInfo(\n            inviteInfo.user_already_exists,\n            inviteInfo.invited_by_user_name,\n            inviteInfo.invite_type,\n            inviteInfo.invited_to_id,\n            inviteInfo.invited_to_name,\n        );\n    }\n}\n","import { InviteId } from 'api/UserAccount/model/InviteId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IUserInviteService } from 'api/UserAccount/interfaces/IUserInviteService';\nimport { InviteInfo } from 'api/UserAccount/model/InviteInfo';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { IInviteInfoJSON, InviteInfoJSONToObjectSerializer } from 'api/UserAccount/serializer/InviteInfoJSONToObjectSerializer';\n\nimport { InvalidInviteException } from '../exceptions/InvalidInviteException';\n\ninterface IRedirectResponse {\n    redirect_to : string;\n    success : boolean;\n}\nexport class UserInviteServiceImpl implements IUserInviteService {\n    constructor(\n        private readonly inviteInfoJSONToObjectSerializer : InviteInfoJSONToObjectSerializer\n    ) { }\n\n    public addCustomerToRetailer(\n        userAccountIdentifier : UserAccountId,\n        inviteLink : string,\n    ) : Promise<string> {\n        const formData : FormData = new FormData();\n        formData.append('user_id', userAccountIdentifier.getValue());\n        formData.append('invite_link', inviteLink);\n\n        return AjaxUtils.ajaxPostForm(urlWithoutRetailerId('public:join_establishment'), formData)\n        .then((response : IRedirectResponse) => {\n            if (response.success) {\n                return response.redirect_to;\n            }\n            throw new Error('join_establishment failed');\n        });\n    }\n\n    public invalidateInvite(\n        inviteLink : string,\n    ) : Promise<string> {\n        const formData : FormData = new FormData();\n        formData.append('invite_link', inviteLink);\n\n        return AjaxUtils.ajaxPostForm(urlWithoutRetailerId('public:invalidate_invite'), formData)\n            .then((response : IRedirectResponse) => {\n                if (response.success) {\n                   return response.redirect_to;\n                }\n                throw new Error('invalidate_invite failed');\n            });\n    }\n\n    public getInvite(\n        inviteLink : string,\n    ) : Promise<InviteInfo> {\n        const query = {\n            invite_link: inviteLink\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('public:get_invite'), query)\n        .then((response : IInviteInfoJSON) => {\n            if (response.success) {\n                return this.inviteInfoJSONToObjectSerializer.getInviteInfo(response);\n            }\n            throw new InvalidInviteException('get_invite failed');\n        });\n    }\n\n    public inviteToRetailer(inviteeEmailAddress : string, retailerId : LocationId, inviteAsAdmin : boolean, permissions? : Set<string>) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('email', inviteeEmailAddress);\n\n        if (permissions && permissions.size > 0) {\n            // If explicit permissions provided, send them\n            formData.append('permissions', JSON.stringify(Array.from(permissions)));\n        } else {\n            // Backward compatibility: use invite_as_admin boolean\n            formData.append('invite_as_admin', inviteAsAdmin.toString());\n        }\n\n        return AjaxUtils.ajaxPostForm(\n            url('account:invite_user', null, retailerId.getValue(), null),\n            formData\n        ).then((response) => {\n            if (!response.success) {\n                throw new Error('failed to invite: ' + inviteeEmailAddress);\n            }\n        });\n    }\n\n    public cancelGroupInvite(inviteId: InviteId): Promise<void> {\n        const data = {\n            invite_id: inviteId.getValue()\n        };\n        return AjaxUtils.ajaxPost(url('group:cancel_invite', null, null, window.GLOBAL_GROUP_ID), data);\n    }\n}\n","import { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { IQuantityInUnitJSONObject } from 'api/Product/serializer/IProductJSONObject';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { IProductCostJsonObject, IUsageCalculationParametersObject, IUsageDataJSONObject, IUsageJsonObject } from 'api/UsageData/serializer/IUsageDataJSONObject';\nimport { decimalToNumber, decimalUtils } from 'shared/utils/decimalUtils';\n\nimport { UsageCalculationParameters } from '../model/UsageCalculationParameters';\nimport { UsageData } from '../model/UsageData';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\n// see /src/main/python/calculations/model/UsageCalculationParameters.py\nexport interface UsageDataObject {\n    usage_by_product_id : Record<string, {bottle_usage : number, dollar_usage : number}>;\n    usage_calculation_parameters : {\n        bottle_count_by_product_id_by_location_id_for_starting_inventory: Record<string, Record<string, number>>;\n        bottle_count_by_product_id_by_location_id_for_ending_inventory: Record<string, Record<string, number>>;\n        bottle_count_by_product_id_by_delivery_id: Record<string, Record<string, number>>;\n        input_bottle_count_by_product_id_by_prep_event_id: Record<string, Record<string, number>>;\n        output_bottle_count_by_product_id_by_prep_event_id: Record<string, Record<string, number>>;\n        bottle_cost_by_product_id: Record<string, number>;\n        bottle_count_by_product_id_by_transfer_id: Record<string, Record<string, number>>;\n    }\n}\n\nexport class UsageDataSerializer {\n\n    public getUsageData(\n        usageDataObject : UsageDataObject,\n        productsById : StringValueMap<ProductId, Product>\n    ) : UsageData {\n        const usageCalculationParametersObject = usageDataObject.usage_calculation_parameters;\n        const bottleCountByProductIdByStorageAreaIdForStartingInventory : StringValueMap<ProductId, StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>>> = new StringValueMap();\n        const bottleCountByProductIdByStorageAreaIdForEndingInventory : StringValueMap<ProductId, StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>>> = new StringValueMap();\n        const bottleCountByProductIdByDeliveryId : StringValueMap<ProductId, StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>>> = new StringValueMap();\n        const bottleCountByProductIdByTransferId : StringValueMap<ProductId, StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>>> = new StringValueMap();\n        const inputBottleCountByProductIdByPrepEventId : StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>> = new StringValueMap();\n        const outputBottleCountByProductIdByPrepEventId : StringValueMap<ProductId, StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>>> = new StringValueMap();\n        const bottleCostByProductId : StringValueMap<ProductId, ProductCost> = new StringValueMap();\n\n        Object.keys(usageCalculationParametersObject.bottle_count_by_product_id_by_location_id_for_starting_inventory).map((productIdString : string) => {\n            const productId = new ProductId(productIdString);\n            const product = productsById.getRequired(productId);\n            const bottleCountByStorageAreaIdData = usageCalculationParametersObject.bottle_count_by_product_id_by_location_id_for_starting_inventory[productIdString];\n            const bottleCountByStorageAreaId : StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>> = new StringValueMap();\n            Object.keys(bottleCountByStorageAreaIdData).map((StorageAreaIdString : string) => {\n                bottleCountByStorageAreaId.set(\n                    new StorageAreaId(StorageAreaIdString),\n                    new QuantityInUnit(\n                        bottleCountByStorageAreaIdData[StorageAreaIdString],\n                        PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging()), // TODO Change when backend changes\n                    )\n                );\n            });\n\n            bottleCountByProductIdByStorageAreaIdForStartingInventory.set(new ProductId(productIdString), bottleCountByStorageAreaId);\n        });\n\n        Object.keys(usageCalculationParametersObject.bottle_count_by_product_id_by_location_id_for_ending_inventory).map((productIdString : string) => {\n            const productId = new ProductId(productIdString);\n            const product = productsById.getRequired(productId);\n            const bottleCountByStorageAreaIdData = usageCalculationParametersObject.bottle_count_by_product_id_by_location_id_for_ending_inventory[productIdString];\n            const bottleCountByStorageAreaId : StringValueMap<StorageAreaId, QuantityInUnit<ProductQuantityUnit>> = new StringValueMap();\n            Object.keys(bottleCountByStorageAreaIdData).map((StorageAreaIdString : string) => {\n                bottleCountByStorageAreaId.set(\n                    new StorageAreaId(StorageAreaIdString),\n                    new QuantityInUnit(\n                        bottleCountByStorageAreaIdData[StorageAreaIdString],\n                        PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging()), // TODO Change when backend changes\n                    )\n                );\n            });\n\n            bottleCountByProductIdByStorageAreaIdForEndingInventory.set(new ProductId(productIdString), bottleCountByStorageAreaId);\n        });\n\n        Object.keys(usageCalculationParametersObject.bottle_count_by_product_id_by_delivery_id).map((productIdString : string) => {\n            const productId = new ProductId(productIdString);\n            const product = productsById.getRequired(productId);\n            const bottleCountByDeliveryIdData = usageCalculationParametersObject.bottle_count_by_product_id_by_delivery_id[productIdString];\n            const bottleCountByDeliveryId : StringValueMap<DeliveryId, QuantityInUnit<ProductQuantityUnit>> = new StringValueMap();\n            Object.keys(bottleCountByDeliveryIdData).map((DeliveryIdString : string) => {\n                bottleCountByDeliveryId.set(\n                    new DeliveryId(DeliveryIdString),\n                    new QuantityInUnit(\n                        bottleCountByDeliveryIdData[DeliveryIdString],\n                        PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging()), // TODO Change when backend changes\n                    )\n                );\n            });\n\n            bottleCountByProductIdByDeliveryId.set(new ProductId(productIdString), bottleCountByDeliveryId);\n        });\n\n        Object.keys(usageCalculationParametersObject.bottle_count_by_product_id_by_transfer_id).map((productIdString : string) => {\n            const productId = new ProductId(productIdString);\n            const product = productsById.getRequired(productId);\n            const bottleCountByTransferIdData = usageCalculationParametersObject.bottle_count_by_product_id_by_transfer_id[productIdString];\n            const bottleCountByTransferId : StringValueMap<TransferId, QuantityInUnit<ProductQuantityUnit>> = new StringValueMap();\n            Object.keys(bottleCountByTransferIdData).map((TransferIdString : string) => {\n                bottleCountByTransferId.set(\n                    new TransferId(TransferIdString),\n                    new QuantityInUnit(\n                        bottleCountByTransferIdData[TransferIdString],\n                        PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging()), // TODO Change when backend changes\n                    )\n                );\n            });\n\n            bottleCountByProductIdByTransferId.set(new ProductId(productIdString), bottleCountByTransferId);\n        });\n\n        Object.keys(usageCalculationParametersObject.input_bottle_count_by_product_id_by_prep_event_id).map((productIdString : string) => {\n            const productId = new ProductId(productIdString);\n            const product = productsById.getRequired(productId);\n            const inputBottleCountByPrepEventIdData = usageCalculationParametersObject.input_bottle_count_by_product_id_by_prep_event_id[productIdString];\n            const inputBottleCountByPrepEventId : StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>> = new StringValueMap();\n            Object.keys(inputBottleCountByPrepEventIdData).map((prepEventIdString : string) => {\n                inputBottleCountByPrepEventId.set(\n                    new PrepEventId(prepEventIdString),\n                    new QuantityInUnit(\n                        inputBottleCountByPrepEventIdData[prepEventIdString],\n                        PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging()), // TODO Change when backend changes\n                    )\n                );\n            });\n            inputBottleCountByProductIdByPrepEventId.set(new ProductId(productIdString), inputBottleCountByPrepEventId);\n        });\n\n        Object.keys(usageCalculationParametersObject.output_bottle_count_by_product_id_by_prep_event_id).map((productIdString : string) => {\n            const productId = new ProductId(productIdString);\n            const product = productsById.getRequired(productId);\n            const outputBottleCountByPrepEventIdData = usageCalculationParametersObject.output_bottle_count_by_product_id_by_prep_event_id[productIdString];\n            const outputBottleCountByPrepEventId : StringValueMap<PrepEventId, QuantityInUnit<ProductQuantityUnit>> = new StringValueMap();\n            Object.keys(outputBottleCountByPrepEventIdData).map((prepEventIdString : string) => {\n                const prepEventId = new PrepEventId(prepEventIdString);\n                outputBottleCountByPrepEventId.set(\n                    prepEventId,\n                    new QuantityInUnit(\n                        outputBottleCountByPrepEventIdData[prepEventIdString],\n                        PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging()), // TODO Change when backend changes\n                    )\n                );\n            });\n\n            outputBottleCountByProductIdByPrepEventId.set(productId, outputBottleCountByPrepEventId);\n        });\n\n        Object.keys(usageCalculationParametersObject.bottle_cost_by_product_id).map((productIdString : string) => {\n            const productId = new ProductId(productIdString);\n            const product = productsById.getRequired(productId);\n            bottleCostByProductId.set(\n                new ProductId(productIdString),\n                new ProductCost(\n                    decimalUtils.numberToDecimal(usageCalculationParametersObject.bottle_cost_by_product_id[productIdString]),\n                    PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging()), // TODO Change when backend changes\n                )\n            );\n        });\n\n        const usageCalculationParameters : UsageCalculationParameters = new UsageCalculationParameters(\n            bottleCountByProductIdByStorageAreaIdForStartingInventory,\n            bottleCountByProductIdByStorageAreaIdForEndingInventory,\n            bottleCountByProductIdByDeliveryId,\n            bottleCountByProductIdByTransferId,\n            inputBottleCountByProductIdByPrepEventId,\n            outputBottleCountByProductIdByPrepEventId,\n            bottleCostByProductId,\n        );\n\n        const usageByProductId : StringValueMap<ProductId, {unitUsage : QuantityInUnit<ProductQuantityUnit>, dollarUsage : number}> = new StringValueMap();\n        Object.keys(usageDataObject.usage_by_product_id).map((productIdString : string) => {\n            const productId = new ProductId(productIdString);\n            const product = productsById.getRequired(productId);\n            const usage = usageDataObject.usage_by_product_id[productIdString];\n            usageByProductId.set(\n                new ProductId(productIdString),\n                {\n                    unitUsage : new QuantityInUnit(\n                        usage.bottle_usage,\n                        PackagingUtils.getContainerPackagingId(product.getPackagingsAndMappings().getPackaging()), // TODO Change when backend changes\n                    ),\n                    dollarUsage : usage.dollar_usage }\n            );\n        });\n\n        return new UsageData(usageCalculationParameters, usageByProductId);\n    }\n\n    public getJson(\n        usageData : UsageData\n    ) : IUsageDataJSONObject {\n        const unitCountsByProductIdByStorageAreaIdForStartingInventory: { [productId : string] : { [storageAreaId : string] : IQuantityInUnitJSONObject } } = {};\n        const unitCountsByProductIdByStorageAreaIdForEndingInventory: { [productId : string] : { [storageAreaId : string] : IQuantityInUnitJSONObject } } = {};\n        const unitCountsByProductIdByDeliveryId: { [productId : string] : { [deliveryId : string] : IQuantityInUnitJSONObject } } = {};\n        const unitCountsByProductIdByTransferId: { [productId : string] : { [transferId : string] : IQuantityInUnitJSONObject } } = {};\n        const inputUnitCountsByProductIdByPrepEventId: { [productId : string] : { [prepEventId : string] : IQuantityInUnitJSONObject } } = {};\n        const outputUnitCountsByProductIdByPrepEventId: { [productId : string] : { [prepEventId : string] : IQuantityInUnitJSONObject } } = {};\n        const unitCostsByProductId: { [productId : string] : IProductCostJsonObject } = {};\n        const usageByProductId : { [productId : string] : IUsageJsonObject } = {};\n\n        usageData.getUsageCalculationParameters().getUnitCountsByProductIdByStorageAreaIdForStartingInventory().forEach((productCountForStorageAreaIds, productId) => {\n            const productCountByStorageAreaId : { [storageAreaId : string] : IQuantityInUnitJSONObject } = {};\n            productCountForStorageAreaIds.forEach((productCount, storageAreaId) => {\n                const unit = productCount.getUnit();\n                productCountByStorageAreaId[storageAreaId.getValue()] = {\n                    quantity: productCount.getQuantity(),\n                    product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n                };\n            });\n            unitCountsByProductIdByStorageAreaIdForStartingInventory[productId.getValue()] = productCountByStorageAreaId;\n        });\n        usageData.getUsageCalculationParameters().getUnitCountsByProductIdByStorageAreaIdForEndingInventory().forEach((productCountForStorageAreaIds, productId) => {\n            const productCountByStorageAreaId : { [storageAreaId : string] : IQuantityInUnitJSONObject } = {};\n            productCountForStorageAreaIds.forEach((productCount, storageAreaId) => {\n                const unit = productCount.getUnit();\n                productCountByStorageAreaId[storageAreaId.getValue()] = {\n                    quantity: productCount.getQuantity(),\n                    product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n                };\n            });\n            unitCountsByProductIdByStorageAreaIdForEndingInventory[productId.getValue()] = productCountByStorageAreaId;\n        });\n        usageData.getUsageCalculationParameters().getUnitCountsByProductIdByDeliveryId().forEach((productCountForDeliveryIds, productId) => {\n            const productCountByDeliveryId : { [deliveryId : string] : IQuantityInUnitJSONObject } = {};\n            productCountForDeliveryIds.forEach((productCount, deliveryId) => {\n                const unit = productCount.getUnit();\n                productCountByDeliveryId[deliveryId.getValue()] = {\n                    quantity: productCount.getQuantity(),\n                    product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n                };\n            });\n            unitCountsByProductIdByDeliveryId[productId.getValue()] = productCountByDeliveryId;\n        });\n        usageData.getUsageCalculationParameters().getUnitCountsByProductIdByTransferId().forEach((productCountForTransferIds, productId) => {\n            const productCountByTransferId : { [transferId : string] : IQuantityInUnitJSONObject } = {};\n            productCountForTransferIds.forEach((productCount, transferId) => {\n                const unit = productCount.getUnit();\n                productCountByTransferId[transferId.getValue()] = {\n                    quantity: productCount.getQuantity(),\n                    product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n                };\n            });\n            unitCountsByProductIdByTransferId[productId.getValue()] = productCountByTransferId;\n        });\n        usageData.getUsageCalculationParameters().getInputUnitCountsByProductIdByPrepEventId().forEach((productCountForPrepIds, productId) => {\n            const productCountByPrepId : { [prepEventId : string] : IQuantityInUnitJSONObject } = {};\n            productCountForPrepIds.forEach((productCount, prepId) => {\n                const unit = productCount.getUnit();\n                productCountByPrepId[prepId.getValue()] = {\n                    quantity: productCount.getQuantity(),\n                    product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n                };\n            });\n            inputUnitCountsByProductIdByPrepEventId[productId.getValue()] = productCountByPrepId;\n        });\n        usageData.getUsageCalculationParameters().getOutputUnitCountsByProductIdByPrepEventId().forEach((productCountForPrepIds, productId) => {\n            const productCountByPrepId : { [prepEventId : string] : IQuantityInUnitJSONObject } = {};\n            productCountForPrepIds.forEach((productCount, prepId) => {\n                const unit = productCount.getUnit();\n                productCountByPrepId[prepId.getValue()] = {\n                    quantity: productCount.getQuantity(),\n                    product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n                };\n            });\n            outputUnitCountsByProductIdByPrepEventId[productId.getValue()] = productCountByPrepId;\n        });\n        usageData.getUsageCalculationParameters().getUnitCostsByProductId().forEach((productCost, productId) => {\n            const unit = productCost.getUnit();\n            unitCostsByProductId[productId.getValue()] = {\n                cost: decimalToNumber(productCost.getCost()),\n                product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n            };\n        });\n\n        usageData.getUsageByProductId().forEach((usage, productId) => {\n            const unit = usage.unitUsage.unit;\n            usageByProductId[productId.getValue()] = {\n                unit_usage: {\n                    quantity: usage.unitUsage.getQuantity(),\n                    product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n                },\n                dollar_usage: usage.dollarUsage\n            };\n        });\n\n        const usageCalculationParameters : IUsageCalculationParametersObject = {\n            unit_counts_by_product_id_by_storage_area_id_for_starting_inventory: unitCountsByProductIdByStorageAreaIdForStartingInventory,\n            unit_counts_by_product_id_by_storage_area_id_for_ending_inventory: unitCountsByProductIdByStorageAreaIdForEndingInventory,\n            unit_counts_by_product_id_by_delivery_id: unitCountsByProductIdByDeliveryId,\n            unit_counts_by_product_id_by_transfer_id: unitCountsByProductIdByTransferId,\n            input_unit_counts_by_product_id_by_prep_event_id: inputUnitCountsByProductIdByPrepEventId,\n            output_unit_counts_by_product_id_by_prep_event_id: outputUnitCountsByProductIdByPrepEventId,\n            unit_costs_by_product_id: unitCostsByProductId\n        };\n\n        return {\n            usage_calculation_parameters: usageCalculationParameters,\n            usage_by_product_id: usageByProductId,\n        };\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { InventoryConfiguration } from 'api/InventoryCount/model/InventoryConfiguration';\nimport { InventoryCount } from 'api/InventoryCount/model/InventoryCount';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { InventoryCountType } from 'api/InventoryCount/model/InventoryCountType';\nimport { ProductCount } from 'api/InventoryCount/model/ProductCount';\nimport { ProductCountEvent } from 'api/InventoryCount/model/ProductCountEvent';\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport InventoryModel from 'gen-thrift/inventory_Model_types';\n\nexport class InventoryCountObjectToThriftSerializer {\n\n    constructor(\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getThriftInventoryCountId(\n        inventoryCountId : InventoryCountId\n    ) : InventoryModel.InventoryCountId {\n        return new InventoryModel.InventoryCountId({\n            value: inventoryCountId.getValue(),\n        });\n    }\n\n    public getThriftStorageAreaId(\n        storageAreaId : StorageAreaId\n    ) : InventoryModel.StorageAreaId {\n        return new InventoryModel.StorageAreaId({\n            value: storageAreaId.getValue(),\n        });\n    }\n\n    public getThriftStorageArea(\n        storageArea : StorageArea\n    ) : InventoryModel.StorageArea {\n        return new InventoryModel.StorageArea({\n            name: storageArea.getName(),\n            note: storageArea.getNote()\n        });\n    }\n\n    public getThriftInventoryCountType(\n        inventoryCountType : InventoryCountType\n    ) : InventoryModel.InventoryCountType {\n        switch (inventoryCountType) {\n            case InventoryCountType.PARTIAL:\n                return InventoryModel.InventoryCountType.PARTIAL;\n            case InventoryCountType.COMPLETE:\n            default:\n                return InventoryModel.InventoryCountType.COMPLETE;\n        }\n    }\n\n    public getThriftInventoryConfiguration(\n        inventoryConfiguration : InventoryConfiguration\n    ) : InventoryModel.InventoryConfiguration {\n        const storageAreaIds = this.getThriftStorageAreaIds(inventoryConfiguration.getSortedStorageAreaIds());\n        const storageAreaIdAndStorageAreas = this.getThriftStorageAreaIdAndStorageArea(inventoryConfiguration.getStorageAreasById());\n        const storageAreaIdAndSortedProductIdLists = this.getThriftStorageAreaIdAndSortedProductIdLists(inventoryConfiguration.getSortedProductIdListsByStorageAreaId());\n        return new InventoryModel.InventoryConfiguration({\n            sortedStorageAreaIds: storageAreaIds,\n            storageAreasById: storageAreaIdAndStorageAreas,\n            sortedProductIdListsByStorageAreaId: storageAreaIdAndSortedProductIdLists\n        });\n    }\n\n    public getThriftProductCount(\n        productCount : ProductCount\n    ) : InventoryModel.ProductCount {\n        return new InventoryModel.ProductCount({\n            productQuantityUnit: this.productObjectToThriftSerializer.getThriftProductQuantityUnit(productCount.getProductQuantityUnit()),\n            count: productCount.getCount() ?? undefined\n        });\n    }\n\n    public getThriftProductCounts(\n        productCounts : Array<ProductCount>\n    ) : Array<InventoryModel.ProductCount> {\n        const thriftProductCounts : Array<InventoryModel.ProductCount> = [];\n        productCounts.forEach((productCount) => {\n            thriftProductCounts.push(this.getThriftProductCount(productCount));\n        });\n        return thriftProductCounts;\n    }\n\n    public getThriftProductCountEvent(\n        productCountEvent : ProductCountEvent\n    ) : InventoryModel.ProductCountEvent {\n        return new InventoryModel.ProductCountEvent({\n            productCounts: this.getThriftProductCounts(productCountEvent.getProductCounts()),\n            metadata: this.userAccountObjectToThriftSerializer.getThriftUserAccountIdentifierAndTimestamp(productCountEvent.getUserAccountIdAndTimestamp())\n        });\n    }\n\n    public getThriftInventoryCount(\n        inventoryCount : InventoryCount\n    ) : InventoryModel.InventoryCount {\n        return new InventoryModel.InventoryCount({\n            inventoryConfiguration: this.getThriftInventoryConfiguration(inventoryCount.getInventoryConfiguration()),\n            productCountEventsByProductIdByStorageAreaId: this.getThriftProductCountEventsByProductIdByStorageAreaId(inventoryCount.getProductCountEventsByProductIdByStorageAreaId())\n        });\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getThriftInventoryCountIds(\n        inventoryCountIds : StringValueSet<InventoryCountId>\n    ) : Array<InventoryModel.InventoryCountId> {\n        return Array.from(inventoryCountIds.values()).map((inventoryCountId : InventoryCountId) => {\n            return this.getThriftInventoryCountId(inventoryCountId);\n        });\n    }\n\n    public getThriftStorageAreaIds(storageAreaIds : Array<StorageAreaId>) : Array<InventoryModel.StorageAreaId> {\n        return storageAreaIds.map((storageAreaId : StorageAreaId) => {\n            return this.getThriftStorageAreaId(storageAreaId);\n        });\n    }\n\n    public getThriftStorageAreaIdAndStorageArea(\n        storageAreasById : StringValueMap<StorageAreaId, StorageArea>\n    ) : Array<InventoryModel.StorageAreaIdAndStorageArea> {\n        const storageAreaIdAndStorageAreas = new Array<InventoryModel.StorageAreaIdAndStorageArea>();\n        storageAreasById.forEach((value : StorageArea, key : StorageAreaId) => {\n            storageAreaIdAndStorageAreas.push(\n                new InventoryModel.StorageAreaIdAndStorageArea({\n                    storageAreaId: this.getThriftStorageAreaId(key),\n                    storageArea: this.getThriftStorageArea(value)\n                })\n            );\n        });\n        return storageAreaIdAndStorageAreas;\n    }\n\n    public getThriftStorageAreaIdAndSortedProductIdLists(\n        sortedProductIdListByStorageAreaId : StringValueMap<StorageAreaId, Array<ProductId>>\n    ) : Array<InventoryModel.StorageAreaIdAndSortedProductIdList> {\n        const storageAreaIdAndSortedProductIdList = new Array<InventoryModel.StorageAreaIdAndSortedProductIdList>();\n        sortedProductIdListByStorageAreaId.forEach((value : Array<ProductId>, key : StorageAreaId) => {\n            storageAreaIdAndSortedProductIdList.push(new InventoryModel.StorageAreaIdAndSortedProductIdList({\n                storageAreaId: this.getThriftStorageAreaId(key),\n                sortedProductIdList: this.productObjectToThriftSerializer.getThriftProductIdsFromArray(value)\n            }));\n        });\n        return storageAreaIdAndSortedProductIdList;\n    }\n\n    public getThriftProductCountEventsByProductIdByStorageAreaId(\n        productCountEventByProductIdByStorageAreaId : StringValueMap<StorageAreaId, StringValueMap<ProductId, ProductCountEvent>>\n    ) : Array<InventoryModel.StorageAreaIdAndProductIdAndCountEvent> {\n        const storageAreaIdAndProductIdCountEvents = new Array<InventoryModel.StorageAreaIdAndProductIdAndCountEvent>();\n        productCountEventByProductIdByStorageAreaId.forEach((productCountEventsByProductId : StringValueMap<ProductId, ProductCountEvent>, storageAreaId : StorageAreaId) => {\n            productCountEventsByProductId.forEach((productCountEvent : ProductCountEvent, productId : ProductId) => {\n                storageAreaIdAndProductIdCountEvents.push({\n                    storageAreaId: this.getThriftStorageAreaId(storageAreaId),\n                    productId: this.productObjectToThriftSerializer.getThriftProductId(productId),\n                    productCountEvent: this.getThriftProductCountEvent(productCountEvent)\n                });\n            });\n        });\n        return storageAreaIdAndProductIdCountEvents;\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\nimport InventoryModel from 'gen-thrift/inventory_Model_types';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { InventoryConfiguration } from 'api/InventoryCount/model/InventoryConfiguration';\nimport { InventoryCount } from 'api/InventoryCount/model/InventoryCount';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { InventoryCountMetadata } from 'api/InventoryCount/model/InventoryCountMetadata';\nimport { InventoryCountType } from 'api/InventoryCount/model/InventoryCountType';\nimport { ProductCount } from 'api/InventoryCount/model/ProductCount';\nimport { ProductCountEvent } from 'api/InventoryCount/model/ProductCountEvent';\nimport { StorageArea } from 'api/InventoryCount/model/StorageArea';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class InventoryCountThriftToObjectSerializer {\n\n    constructor(\n        private userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer,\n        private productThriftToObjectSerializer : ProductThriftToObjectSerializer\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getStorageAreaId(\n        storageAreaId : InventoryModel.StorageAreaId\n    ) : StorageAreaId {\n        return new StorageAreaId(storageAreaId.value);\n    }\n\n    public getInventoryCountId(\n        inventoryCountId : InventoryModel.InventoryCountId\n    ) : InventoryCountId {\n        return new InventoryCountId(inventoryCountId.value);\n    }\n\n    public getInventoryCountType(\n        inventoryCountType : InventoryModel.InventoryCountType\n    ) : InventoryCountType {\n        switch (inventoryCountType) {\n            case InventoryModel.InventoryCountType.COMPLETE:\n                return InventoryCountType.COMPLETE;\n            case InventoryModel.InventoryCountType.PARTIAL:\n                return InventoryCountType.PARTIAL;\n            default:\n                throw new RuntimeException('Unknown inventory count type');\n        }\n    }\n\n    public getInventoryMetadata(\n        metadata : InventoryModel.InventoryCountMetadata\n    ) : InventoryCountMetadata {\n        const finalizationMetadata = metadata.finalizationMetadata ? this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(metadata.finalizationMetadata) : null;\n        const deletionMetadata = metadata.deletionMetadata ? this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(metadata.deletionMetadata) : null;\n        return new InventoryCountMetadata(\n            metadata.inventoryCountTime,\n            this.getInventoryCountType(metadata.inventoryCountType),\n            this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(metadata.creationMetadata),\n            finalizationMetadata,\n            deletionMetadata,\n            metadata.name,\n            metadata.note,\n            new LocationId(metadata.locationId.value),\n        );\n    }\n\n    public getStorageArea(\n        storageArea : InventoryModel.StorageArea\n    ) : StorageArea {\n        return new StorageArea(\n            storageArea.name,\n            storageArea.note\n        );\n    }\n\n    public getInventoryConfiguration(\n        inventoryConfiguration : InventoryModel.InventoryConfiguration\n    ) : InventoryConfiguration {\n        return new InventoryConfiguration(\n            this.getStorageAreaIds(inventoryConfiguration.sortedStorageAreaIds),\n            this.getMapFromStorageAreaIdAndStorageArea(inventoryConfiguration.storageAreasById),\n            this.getMapFromStorageAreaIdAndSortedProductIdList(inventoryConfiguration.sortedProductIdListsByStorageAreaId),\n        );\n    }\n\n    public getProductCount(\n        productCount : InventoryModel.ProductCount\n    ) : ProductCount {\n        return new ProductCount(\n            productCount.count ?? null,\n            this.productThriftToObjectSerializer.getProductQuantityUnit(productCount.productQuantityUnit)\n        );\n    }\n\n    public getProductCounts(\n        thriftProductCounts : Array<InventoryModel.ProductCount>\n    ) : Array<ProductCount> {\n        const productCounts : Array<ProductCount> = [];\n        thriftProductCounts.forEach((thriftProductCount) => {\n            productCounts.push(this.getProductCount(thriftProductCount));\n        });\n        return productCounts;\n    }\n\n    public getProductCountEvent(\n        productCountEvent : InventoryModel.ProductCountEvent\n    ) : ProductCountEvent {\n        return new ProductCountEvent(\n            this.getProductCounts(productCountEvent.productCounts),\n            this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(productCountEvent.metadata),\n        );\n    }\n\n    public getInventoryCount(\n        inventoryCount : InventoryModel.InventoryCount\n    ) : InventoryCount {\n        const inventoryConfiguration = this.getInventoryConfiguration(inventoryCount.inventoryConfiguration);\n        const productCountEventsByProductIdByStorageAreaId = this.getMapFromStorageAreaIdAndProductIdAndCountEvent(inventoryCount.productCountEventsByProductIdByStorageAreaId);\n\n        inventoryConfiguration.getSortedStorageAreaIds().forEach((storageAreaId) => {\n            const productCountEventsByProductId = productCountEventsByProductIdByStorageAreaId.get(storageAreaId);\n            if (typeof productCountEventsByProductId === 'undefined') {\n                productCountEventsByProductIdByStorageAreaId.set(storageAreaId, new StringValueMap());\n            }\n        });\n\n        return new InventoryCount(inventoryConfiguration, productCountEventsByProductIdByStorageAreaId);\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getMapFromInventoryCountIdsAndMetadata(\n        thriftInventoryCountIdsAndMetadata : Array<InventoryModel.InventoryCountIdAndMetadata>\n    ) : StringValueMap<InventoryCountId, InventoryCountMetadata> {\n        const iInventoryCountMetadatasByInventoryCountId : StringValueMap<InventoryCountId, InventoryCountMetadata> = new StringValueMap();\n        thriftInventoryCountIdsAndMetadata.map((countIdAndMetadata : InventoryModel.InventoryCountIdAndMetadata) => {\n            const inventoryCountId = this.getInventoryCountId(countIdAndMetadata.inventoryCountId);\n            const inventoryMetadata = this.getInventoryMetadata(countIdAndMetadata.inventoryMetadata);\n            iInventoryCountMetadatasByInventoryCountId.set(inventoryCountId, inventoryMetadata);\n        });\n        return iInventoryCountMetadatasByInventoryCountId;\n    }\n\n    public getStorageAreaIds(\n        storageAreaIds : Array<InventoryModel.StorageAreaId>\n    ) : Array<StorageAreaId> {\n        return storageAreaIds.map((storageAreaId) => {\n            return this.getStorageAreaId(storageAreaId);\n        });\n    }\n\n    public getInventoryCountIds(\n        inventoryCountIds : Array<InventoryModel.InventoryCountId>\n    ) : Array<InventoryCountId> {\n        return inventoryCountIds.map((inventoryCountId) => {\n            return this.getInventoryCountId(inventoryCountId);\n        });\n    }\n\n    public getMapFromStorageAreaIdAndStorageArea(\n        storageAreasById : Array<InventoryModel.StorageAreaIdAndStorageArea>\n    ) : StringValueMap<StorageAreaId, StorageArea> {\n        const iStorageAreasByStorageAreaId : StringValueMap<StorageAreaId, StorageArea> = new StringValueMap();\n        storageAreasById.map((storageAreaIdAndStorageArea : InventoryModel.StorageAreaIdAndStorageArea) => {\n            const storageAreaId = this.getStorageAreaId(storageAreaIdAndStorageArea.storageAreaId);\n            const storageArea = this.getStorageArea(storageAreaIdAndStorageArea.storageArea);\n            iStorageAreasByStorageAreaId.set(storageAreaId, storageArea);\n        });\n        return iStorageAreasByStorageAreaId;\n    }\n\n    public getMapFromStorageAreaIdAndSortedProductIdList(\n        storageAreaIdAndSortedProductIdLists : Array<InventoryModel.StorageAreaIdAndSortedProductIdList>\n    ) : StringValueMap<StorageAreaId, Array<ProductId>> {\n        const iProductIdArrayByStorageAreaId : StringValueMap<StorageAreaId, Array<ProductId>> = new StringValueMap();\n        storageAreaIdAndSortedProductIdLists.map((storageAreaIdAndStortedProductIdList : InventoryModel.StorageAreaIdAndSortedProductIdList) => {\n            const storageAreaId = this.getStorageAreaId(storageAreaIdAndStortedProductIdList.storageAreaId);\n            const sortedProductIdList = this.productThriftToObjectSerializer.getProductIds(storageAreaIdAndStortedProductIdList.sortedProductIdList);\n            iProductIdArrayByStorageAreaId.set(storageAreaId, sortedProductIdList);\n        });\n        return iProductIdArrayByStorageAreaId;\n    }\n\n    public getMapFromStorageAreaIdAndProductIdAndCountEvent(\n        storageAreaIdAndProductIdAndCountEvents : Array<InventoryModel.StorageAreaIdAndProductIdAndCountEvent>\n    ) : StringValueMap<StorageAreaId, StringValueMap<ProductId, ProductCountEvent>> {\n        const iProductCountEventByProductIdByStorageId : StringValueMap<StorageAreaId, StringValueMap<ProductId, ProductCountEvent>> = new StringValueMap();\n        storageAreaIdAndProductIdAndCountEvents.map((storageAreaIdAndProductIdAndCountEvent : InventoryModel.StorageAreaIdAndProductIdAndCountEvent) => {\n            const storageAreaId = this.getStorageAreaId(storageAreaIdAndProductIdAndCountEvent.storageAreaId);\n            let productCountEventById = iProductCountEventByProductIdByStorageId.get(storageAreaId);\n            if (!productCountEventById) {\n                productCountEventById = new StringValueMap();\n                iProductCountEventByProductIdByStorageId.set(storageAreaId, productCountEventById);\n            }\n            const productId = this.productThriftToObjectSerializer.getProductId(storageAreaIdAndProductIdAndCountEvent.productId);\n            const productCountEvent = this.getProductCountEvent(storageAreaIdAndProductIdAndCountEvent.productCountEvent);\n            productCountEventById.set(productId, productCountEvent);\n        });\n        return iProductCountEventByProductIdByStorageId;\n    }\n\n    public getMapFromInventoryCountIdsAndInventoryCount(\n        thriftInventoryCountIdsAndInventoryCount : Array<InventoryModel.InventoryCountIdAndInventoryCount>\n    ) : StringValueMap<InventoryCountId, InventoryCount> {\n        const iInventoryCountByInventoryCountId : StringValueMap<InventoryCountId, InventoryCount> = new StringValueMap();\n\n        thriftInventoryCountIdsAndInventoryCount.map((inventoryCountIdAndInventoryCount : InventoryModel.InventoryCountIdAndInventoryCount) => {\n            const inventoryCountId = this.getInventoryCountId(inventoryCountIdAndInventoryCount.inventoryCountId);\n            const inventoryMetadata = this.getInventoryCount(inventoryCountIdAndInventoryCount.inventoryCount);\n            iInventoryCountByInventoryCountId.set(inventoryCountId, inventoryMetadata);\n        });\n\n        return iInventoryCountByInventoryCountId;\n    }\n\n    public getMapFromInventoryCountIdAndMetadatas(\n        inventoryCountAndMetadatas : Array<InventoryModel.InventoryCountIdAndMetadata>\n    ) : StringValueMap<InventoryCountId, InventoryCountMetadata> {\n        const iInventoryCountMetadataByInventoryCountId : StringValueMap<InventoryCountId, InventoryCountMetadata> = new StringValueMap();\n        inventoryCountAndMetadatas.map((inventoryCountIdAndMetadata : InventoryModel.InventoryCountIdAndMetadata) => {\n            const inventoryCountId = this.getInventoryCountId(inventoryCountIdAndMetadata.inventoryCountId);\n            const inventoryMetadata = this.getInventoryMetadata(inventoryCountIdAndMetadata.inventoryMetadata);\n            iInventoryCountMetadataByInventoryCountId.set(inventoryCountId, inventoryMetadata);\n        });\n        return iInventoryCountMetadataByInventoryCountId;\n    }\n}\n","// yeah we prefer rest params for readability but I'm not refactoring this as part of linting updates. If you touch this code, please fix.\n/* eslint-disable prefer-rest-params */\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\nimport { Client as InventoryCountServiceClient } from 'gen-thrift/InventoryCountService';\nimport InventoryExceptions from 'gen-thrift/inventory_Exceptions_types';\n\nimport moment from 'moment-timezone';\n\nimport { IOfflineQueueManager } from 'api/Core/OfflineQueueManager/interfaces/IOfflineQueueManager';\nimport { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { IInventoryCountService } from 'api/InventoryCount/interfaces/IInventoryCountService';\nimport { InventoryCount } from 'api/InventoryCount/model/InventoryCount';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { InventoryCountMetadata } from 'api/InventoryCount/model/InventoryCountMetadata';\nimport { InventoryCountType } from 'api/InventoryCount/model/InventoryCountType';\nimport { ProductCount } from 'api/InventoryCount/model/ProductCount';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { InventoryCountObjectToThriftSerializer } from 'api/InventoryCount/serializer/InventoryCountObjectToThriftSerializer';\nimport { InventoryCountThriftToObjectSerializer } from 'api/InventoryCount/serializer/InventoryCountThriftToObjectSerializer';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport {ThriftApiUtils} from \"api/ApiUtils\";\nimport { numberUtils } from 'shared/utils/numberUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { decimalUtils } from 'shared/utils/decimalUtils';\nimport { AppQueueApi } from 'shared/lib/serviceRegistryTypes';\n\nexport class InventoryCountServiceImpl implements IInventoryCountService {\n\n    constructor (\n        private inventoryCountServiceClient : InventoryCountServiceClient,\n        private offlineQueueManager : IOfflineQueueManager<AppQueueApi>,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n        private inventoryCountObjectToThriftSerializer : InventoryCountObjectToThriftSerializer,\n        private inventoryCountThriftToObjectSerializer : InventoryCountThriftToObjectSerializer,\n        private momentObjectToThriftSerializer : MomentObjectToThriftSerializer\n    ) {}\n\n    ////////////////////////\n    // GETTERS\n    ////////////////////////\n    public getInventoryCountMetadatasById (\n        userSessionId : UserSessionId,\n        inventoryCountIds : StringValueSet<InventoryCountId>,\n    ) : Promise<StringValueMap<InventoryCountId, InventoryCountMetadata>> {\n        return new Promise<StringValueMap<InventoryCountId, InventoryCountMetadata>>((resolve, reject) => {\n            this.inventoryCountServiceClient.getInventoryCountMetadatasById(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountIds(inventoryCountIds)\n            ).then((result) => {\n                const inventoryCountMetadatasByInventoryCountId = this.inventoryCountThriftToObjectSerializer.getMapFromInventoryCountIdsAndMetadata(result);\n                return resolve(inventoryCountMetadatasByInventoryCountId);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getInventoryCountsById (\n        userSessionId : UserSessionId,\n        inventoryCountIds : StringValueSet<InventoryCountId>,\n    ) : Promise<StringValueMap<InventoryCountId, InventoryCount>> {\n        return new Promise<StringValueMap<InventoryCountId, InventoryCount>>((resolve, reject) => {\n            this.inventoryCountServiceClient.getInventoryCountsById(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountIds(inventoryCountIds)\n            ).then((result) => {\n                const inventoryCountsById = this.inventoryCountThriftToObjectSerializer.getMapFromInventoryCountIdsAndInventoryCount(result);\n                return resolve(inventoryCountsById);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getCurrentInventoryCountIdAndMetadataForLocation (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<{inventoryCountId : InventoryCountId, inventoryCountMetadata : InventoryCountMetadata}> {\n        return new Promise<{inventoryCountId : InventoryCountId, inventoryCountMetadata : InventoryCountMetadata}>((resolve, reject) => {\n            this.inventoryCountServiceClient.getCurrentInventoryCountIdAndMetadataForLocation(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                return resolve({\n                    inventoryCountId: this.inventoryCountThriftToObjectSerializer.getInventoryCountId(result.inventoryCountId),\n                    inventoryCountMetadata: this.inventoryCountThriftToObjectSerializer.getInventoryMetadata(result.inventoryMetadata)\n                });\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getFinalizedInventoryCountMetadatasByIdForLocationInPeriod (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        periodStartInclusive : CoreTimeModel.TimestampWithMillisecondPrecision,\n        periodEndExclusive : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<StringValueMap<InventoryCountId, InventoryCountMetadata>> {\n        return new Promise<StringValueMap<InventoryCountId, InventoryCountMetadata>>((resolve, reject) => {\n            this.inventoryCountServiceClient.getFinalizedInventoryCountMetadatasByIdForLocationInPeriod(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                periodStartInclusive,\n                periodEndExclusive\n            ).then((result) => {\n                const inventoryCountMetadataByInventoryCountId = this.inventoryCountThriftToObjectSerializer.getMapFromInventoryCountIdAndMetadatas(result);\n                return resolve(inventoryCountMetadataByInventoryCountId);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        startIndexInclusive : number,\n        maxResultSize : number,\n    ) : Promise<{inventoryCountIds : Array<InventoryCountId>, inventoryCountMetadatasById : StringValueMap<InventoryCountId, InventoryCountMetadata>}> {\n        return new Promise<{inventoryCountIds : Array<InventoryCountId>, inventoryCountMetadatasById : StringValueMap<InventoryCountId, InventoryCountMetadata>}>((resolve, reject) => {\n            this.inventoryCountServiceClient.getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                startIndexInclusive,\n                maxResultSize\n            ).then((result) => {\n                const sortedResult = result.sort((a, b) => {\n                    return numberUtils.ThriftInt64ToNumber(b.inventoryMetadata.inventoryCountTime.timeSinceUnixEpoch.value) - numberUtils.ThriftInt64ToNumber(a.inventoryMetadata.inventoryCountTime.timeSinceUnixEpoch.value);\n                });\n\n                const inventoryCountIds = this.inventoryCountThriftToObjectSerializer.getInventoryCountIds(\n                    sortedResult.map((thriftInventoryCountIdAndMetadata) => {\n                        return thriftInventoryCountIdAndMetadata.inventoryCountId;\n                    })\n                );\n\n                const inventoryCountMetadatasById = this.inventoryCountThriftToObjectSerializer.getMapFromInventoryCountIdAndMetadatas(sortedResult);\n\n                return resolve({\n                    inventoryCountIds,\n                    inventoryCountMetadatasById\n                });\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getMostRecentFinalizedInventoryCountIdAndMetadataForLocationBeforeTime (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        endTimeInclusive : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<{inventoryCountId : InventoryCountId, inventoryCountMetadata : InventoryCountMetadata}> {\n        return new Promise<{inventoryCountId : InventoryCountId, inventoryCountMetadata : InventoryCountMetadata}>((resolve, reject) => {\n            this.inventoryCountServiceClient.getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                endTimeInclusive\n            ).then((result) => {\n                return resolve({\n                    inventoryCountId: this.inventoryCountThriftToObjectSerializer.getInventoryCountId(result.inventoryCountId),\n                    inventoryCountMetadata: this.inventoryCountThriftToObjectSerializer.getInventoryMetadata(result.inventoryMetadata)\n                });\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        startTimeInclusive : moment.Moment,\n    ) : Promise<{inventoryCountId : InventoryCountId, inventoryCountMetadata : InventoryCountMetadata} | null> {\n        return new Promise<{inventoryCountId : InventoryCountId, inventoryCountMetadata : InventoryCountMetadata} | null>((resolve, reject) => {\n            this.inventoryCountServiceClient.getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(startTimeInclusive)\n            ).then((result) => {\n                return resolve({\n                    inventoryCountId: this.inventoryCountThriftToObjectSerializer.getInventoryCountId(result.inventoryCountId),\n                    inventoryCountMetadata: this.inventoryCountThriftToObjectSerializer.getInventoryMetadata(result.inventoryMetadata)\n                });\n            }).catch((error) => {\n                if (error instanceof InventoryExceptions.NoSuchInventoryCountException) {\n                    return resolve(null);\n                }\n                return reject(error);\n            });\n        });\n    }\n\n    ////////////////////////\n    // CONFIGURATION UPDATERS\n    ////////////////////////\n    // TODO Offline Queue?\n    public createAndAddStorageAreaAtInventoryCount (\n        userSessionId : UserSessionId,\n        storageAreaName : string,\n        storageAreaNote : string,\n        locationId : LocationId,\n        inventoryCountId : InventoryCountId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<StorageAreaId> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<StorageAreaId>((resolve, reject) => {\n                    this.inventoryCountServiceClient.createAndAddStorageAreaAtInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        storageAreaName,\n                        storageAreaNote,\n                        this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId),\n                        clientTimestamp\n                    ).then((result) => {\n                        const storageAreaId = this.inventoryCountThriftToObjectSerializer.getStorageAreaId(result);\n                        return resolve(storageAreaId);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    // TODO Offline Queue?\n    public removeStorageAreaAtInventoryCount (\n        userSessionId : UserSessionId,\n        storageAreaId : StorageAreaId,\n        inventoryCountId : InventoryCountId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCountServiceClient.removeStorageAreaAtInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId),\n                        clientTimestamp\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    public addProductToStorageAreaAtInventoryCount (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        storageAreaId : StorageAreaId,\n        inventoryCountId : InventoryCountId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return this.offlineQueueManager.enqueueServiceCall('inventoryCountService', 'addProductToStorageAreaAtInventoryCountFromQueue', [\n            productId.getValue(),\n            storageAreaId.getValue(),\n            inventoryCountId.getValue(),\n            numberUtils.ThriftInt64ToNumber(clientTimestamp.timeSinceUnixEpoch.value)\n        ]);\n    }\n\n    public addProductToStorageAreaAtInventoryCountFromQueue (\n        productId : string,\n        storageAreaId : string,\n        inventoryCountId : string,\n        clientTimestamp : number,\n    ) : Promise<void> {\n        const productIdObject = new ProductId(productId);\n        const storageAreaIdObject = new StorageAreaId(storageAreaId);\n        const inventoryCountIdObject = new InventoryCountId(inventoryCountId);\n        const clientTimestampObject = new CoreTimeModel.TimestampWithMillisecondPrecision({\n            timeSinceUnixEpoch: new CoreTimeModel.Milliseconds({ value: clientTimestamp })\n        });\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCountServiceClient.addProductToStorageAreaAtInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.productObjectToThriftSerializer.getThriftProductId(productIdObject),\n                        this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaIdObject),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountIdObject),\n                        clientTimestampObject\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    public removeProductFromStorageAreaAtInventoryCount (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        storageAreaId : StorageAreaId,\n        inventoryCountId : InventoryCountId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return this.offlineQueueManager.enqueueServiceCall('inventoryCountService', 'removeProductFromStorageAreaAtInventoryCountFromQueue', [\n            productId.getValue(),\n            storageAreaId.getValue(),\n            inventoryCountId.getValue(),\n            numberUtils.ThriftInt64ToNumber(clientTimestamp.timeSinceUnixEpoch.value)\n        ]);\n    }\n\n    public removeProductFromStorageAreaAtInventoryCountFromQueue (\n        productId : string,\n        storageAreaId : string,\n        inventoryCountId : string,\n        clientTimestamp : number,\n    ) : Promise<void> {\n        const productIdObject = new ProductId(productId);\n        const storageAreaIdObject = new StorageAreaId(storageAreaId);\n        const inventoryCountIdObject = new InventoryCountId(inventoryCountId);\n        const clientTimestampObject = new CoreTimeModel.TimestampWithMillisecondPrecision({\n            timeSinceUnixEpoch: new CoreTimeModel.Milliseconds({ value: clientTimestamp })\n        });\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCountServiceClient.removeProductFromStorageAreaAtInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.productObjectToThriftSerializer.getThriftProductId(productIdObject),\n                        this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaIdObject),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountIdObject),\n                        clientTimestampObject\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    public removeProductFromAllStorageAreasAtInventoryCount (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        inventoryCountId : InventoryCountId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return this.offlineQueueManager.enqueueServiceCall('inventoryCountService', 'removeProductFromAllStorageAreasAtInventoryCountFromQueue', [\n            productId.getValue(),\n            inventoryCountId.getValue(),\n            numberUtils.ThriftInt64ToNumber(clientTimestamp.timeSinceUnixEpoch.value)\n        ]);\n    }\n\n    public removeProductFromAllStorageAreasAtInventoryCountFromQueue (\n        productId : string,\n        inventoryCountId : string,\n        clientTimestamp : number,\n    ) : Promise<void> {\n        const productIdObject = new ProductId(productId);\n        const inventoryCountIdObject = new InventoryCountId(inventoryCountId);\n        const clientTimestampObject = new CoreTimeModel.TimestampWithMillisecondPrecision({\n            timeSinceUnixEpoch: new CoreTimeModel.Milliseconds({ value: clientTimestamp })\n        });\n\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCountServiceClient.removeProductFromAllStorageAreasAtInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.productObjectToThriftSerializer.getThriftProductId(productIdObject),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountIdObject),\n                        clientTimestampObject\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    ///////////////////////////\n    // INVENTORY COUNT UPDATERS\n    ///////////////////////////\n\n    public setProductCountAtStorageArea (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        storageAreaId : StorageAreaId,\n        inventoryCountId : InventoryCountId,\n        productCounts : Array<ProductCount>,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return this.offlineQueueManager.enqueueServiceCall('inventoryCountService', 'setProductCountAtStorageAreaFromQueue', [\n            productId.getValue(),\n            storageAreaId.getValue(),\n            inventoryCountId.getValue(),\n            productCounts.map((productCount) => {\n                const count = productCount.getCount();\n                return {\n                    'count': count ? decimalUtils.decimalToNumber(count) : null,\n                    'product_quantity_unit': PackagingUtils.getStringForProductQuantityUnit(productCount.getProductQuantityUnit())\n                }\n            }),\n            numberUtils.ThriftInt64ToNumber(clientTimestamp.timeSinceUnixEpoch.value)\n        ]);\n    }\n\n    // must be public so OfflineQueue's ExtractQueueMethods can see it\n    public setProductCountAtStorageAreaFromQueue (\n        productId : string,\n        storageAreaId : string,\n        inventoryCountId : string,\n        productCounts : Array<{ count : number | null, product_quantity_unit : string }>,\n        clientTimestamp : number,\n    ) : Promise<void> {\n        const productIdObject = new ProductId(productId);\n        const storageAreaIdObject = new StorageAreaId(storageAreaId);\n        const inventoryCountIdObject = new InventoryCountId(inventoryCountId);\n        const productCountsObject = productCounts.map((productCount) => {\n            const count = productCount.count;\n            return new ProductCount(\n                count !== null ? decimalUtils.numberToDecimal(count) : null,\n                PackagingUtils.getProductQuantityUnitForString(productCount.product_quantity_unit)\n            );\n        });\n        const clientTimestampObject = new CoreTimeModel.TimestampWithMillisecondPrecision({\n            timeSinceUnixEpoch: new CoreTimeModel.Milliseconds({ value: clientTimestamp })\n        });\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCountServiceClient.setProductCountAtStorageArea(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.productObjectToThriftSerializer.getThriftProductId(productIdObject),\n                        this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaIdObject),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountIdObject),\n                        this.inventoryCountObjectToThriftSerializer.getThriftProductCounts(productCountsObject),\n                        clientTimestampObject\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    public createInventoryCount (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        inventoryCountTime : CoreTimeModel.TimestampWithMillisecondPrecision,\n        inventoryCountType : InventoryCountType,\n        name : string,\n        note : string,\n    ) : Promise<InventoryCountId> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<InventoryCountId>((resolve, reject) => {\n                    this.inventoryCountServiceClient.createInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                        inventoryCountTime,\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountType(inventoryCountType),\n                        name,\n                        note\n                    ).then((result) => {\n                        return resolve(this.inventoryCountThriftToObjectSerializer.getInventoryCountId(result));\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    public createMergedInventoryCount (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        inventoryCountId0 : InventoryCountId,\n        inventoryCountId1 : InventoryCountId,\n        inventoryCountTime : moment.Moment,\n        inventoryCountType : InventoryCountType,\n        name : string,\n        note : string,\n    ) : Promise<InventoryCountId> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<InventoryCountId>((resolve, reject) => {\n                    this.inventoryCountServiceClient.createMergedInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId0),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId1),\n                        this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(inventoryCountTime),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountType(inventoryCountType),\n                        name,\n                        note\n                    ).then((result) => {\n                        return resolve(this.inventoryCountThriftToObjectSerializer.getInventoryCountId(result));\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    public finalizeInventoryCount (\n        userSessionId : UserSessionId,\n        inventoryCountId : InventoryCountId,\n    ) : Promise<void> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCountServiceClient.finalizeInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId)\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    public deleteInventoryCount (\n        userSessionId : UserSessionId,\n        inventoryCountId : InventoryCountId,\n    ) : Promise<void> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCountServiceClient.deleteInventoryCount(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId)\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n\n    public setInventoryCountMetadata (\n        userSessionId : UserSessionId,\n        inventoryCountId : InventoryCountId,\n        inventoryCountTime : CoreTimeModel.TimestampWithMillisecondPrecision,\n        inventoryCountType : InventoryCountType,\n        name : string,\n        note : string,\n    ) : Promise<void> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCountServiceClient.setInventoryCountMetadata(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId),\n                        inventoryCountTime,\n                        this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountType(inventoryCountType),\n                        name,\n                        note\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                })\n        );\n    }\n}\n","// yeah we prefer rest params for readability but I'm not refactoring this as part of linting updates. If you touch this code, please fix.\n/* eslint-disable prefer-rest-params */\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\nimport { Client as InventoryCurrentConfigurationServiceClient } from 'gen-thrift/InventoryCurrentConfigurationService';\nimport {\n    SetStorageAreaIndexAfterRequest,\n    SetProductAtStorageAreaIndexAfterRequest,\n    StorageAreaId as ThriftStorageAreaId\n} from 'gen-thrift/inventory_Model_types';\n\nimport { IOfflineQueueManager } from 'api/Core/OfflineQueueManager/interfaces/IOfflineQueueManager';\nimport { ICurrentInventoryConfigurationService } from 'api/InventoryCount/interfaces/ICurrentInventoryConfigurationService';\nimport { InventoryConfiguration } from 'api/InventoryCount/model/InventoryConfiguration';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { InventoryCountObjectToThriftSerializer } from 'api/InventoryCount/serializer/InventoryCountObjectToThriftSerializer';\nimport { InventoryCountThriftToObjectSerializer } from 'api/InventoryCount/serializer/InventoryCountThriftToObjectSerializer';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport {ThriftApiUtils} from \"api/ApiUtils\";\nimport { AppQueueApi } from 'shared/lib/serviceRegistryTypes';\n\nexport class CurrentInventoryConfigurationServiceImpl implements ICurrentInventoryConfigurationService {\n\n    constructor (\n        private inventoryCurrentCountServiceClient : InventoryCurrentConfigurationServiceClient,\n        private offlineQueueManager : IOfflineQueueManager<AppQueueApi>,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n        private inventoryCountObjectToThriftSerializer : InventoryCountObjectToThriftSerializer,\n        private inventoryCountThriftToObjectSerializer : InventoryCountThriftToObjectSerializer,\n    ) {}\n\n    public getCurrentInventoryConfigurationForLocation (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<InventoryConfiguration> {\n        return new Promise<InventoryConfiguration>((resolve, reject) => {\n            this.inventoryCurrentCountServiceClient.getCurrentInventoryConfigurationForLocation(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                if (!result) {\n                    return reject(new Error('No inventory configuration returned'));\n                }\n                return resolve(this.inventoryCountThriftToObjectSerializer.getInventoryConfiguration(result));\n            }).catch((err) => {\n                return reject(err);\n            });\n        });\n    }\n\n    public updateStorageArea (\n        userSessionId : UserSessionId,\n        storageAreaId : StorageAreaId,\n        storageAreaName : string,\n        storageAreaNote : string,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCurrentCountServiceClient.updateStorageArea(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaId),\n                        storageAreaName,\n                        storageAreaNote,\n                        clientTimestamp\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((err) => {\n                        return reject(err);\n                    })\n                })\n        );\n    }\n\n    public createAndAddStorageArea (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        storageAreaName : string,\n        storageAreaNote : string,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<StorageAreaId> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<StorageAreaId>((resolve, reject) => {\n                    this.inventoryCurrentCountServiceClient.createAndAddStorageArea(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        storageAreaName,\n                        storageAreaNote,\n                        this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                        clientTimestamp,\n                    ).then((result : ThriftStorageAreaId) => {\n                        return resolve(this.inventoryCountThriftToObjectSerializer.getStorageAreaId(result));\n                    }).catch((err : Error) => {\n                        return reject(err);\n                    });\n                })\n        );\n    }\n\n    public removeStorageArea (\n        userSessionId : UserSessionId,\n        storageAreaId : StorageAreaId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCurrentCountServiceClient.removeStorageArea(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaId),\n                        clientTimestamp\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((err) => {\n                        return reject(err);\n                    });\n                })\n\n        );\n    }\n\n    public addProductToStorageAreaAndSetAsLastForCustomSort (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        storageAreaId : StorageAreaId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCurrentCountServiceClient.addProductToStorageArea(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.productObjectToThriftSerializer.getThriftProductId(productId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaId),\n                        clientTimestamp\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((err) => {\n                        return reject(err);\n                    });\n                })\n        );\n    }\n\n    public removeProductFromStorageArea (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        storageAreaId : StorageAreaId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCurrentCountServiceClient.removeProductFromStorageArea(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                        this.productObjectToThriftSerializer.getThriftProductId(productId),\n                        this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaId),\n                        clientTimestamp\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((err) => {\n                        return reject(err);\n                    });\n                })\n\n        );\n    }\n\n    public setStorageAreaIndexAfter (\n        userSessionId : UserSessionId,\n        storageAreaId : StorageAreaId,\n        storageAreaIdPreceeding : StorageAreaId | null,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return this.offlineQueueManager.enqueueServiceCall('currentInventoryConfigurationService', 'setStorageAreaIndexAfterFromQueue', [\n            storageAreaId.getValue(),\n            storageAreaIdPreceeding ? storageAreaIdPreceeding.getValue() : null,\n        ]);\n    }\n\n    public setStorageAreaIndexAfterFromQueue (\n        storageAreaId : string,\n        storageAreaIdPreceeding : string | null,\n    ) : Promise<void> {\n        const storageAreaIdObject = new StorageAreaId(storageAreaId);\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCurrentCountServiceClient.setStorageAreaIndexAfter(\n                        new SetStorageAreaIndexAfterRequest({\n                            actor: this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                            storageAreaId: this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaIdObject),\n                            storageAreaIdPreceeding: (storageAreaIdPreceeding) ? this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(new StorageAreaId(storageAreaIdPreceeding)) : undefined\n                        })\n                    ).then((result : void) => {\n                        return resolve(result);\n                    }).catch((err : Error) => {\n                        return reject(err);\n                    });\n                })\n        );\n    }\n\n    public setProductAtStorageAreaIndexAfter (\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        productIdPreceeding : ProductId | null,\n        storageAreaId : StorageAreaId,\n        inventoryCountId : InventoryCountId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return this.offlineQueueManager.enqueueServiceCall('currentInventoryConfigurationService', 'setProductAtStorageAreaIndexAfterFromQueue', [\n            productId.getValue(),\n            productIdPreceeding ? productIdPreceeding.getValue() : null,\n            storageAreaId.getValue(),\n            inventoryCountId.getValue()\n        ]);\n    }\n\n    public setProductAtStorageAreaIndexAfterFromQueue (\n        productId : string,\n        productIdPreceeding : string | null,\n        storageAreaId : string,\n        inventoryCountId : string,\n    ) : Promise<void> {\n        const productIdObject = new ProductId(productId);\n        const storageAreaIdObject = new StorageAreaId(storageAreaId);\n        const inventoryCountIdObject = new InventoryCountId(inventoryCountId);\n        return ThriftApiUtils.sessionSafe(\n            (sessionId) =>\n                new Promise<void>((resolve, reject) => {\n                    this.inventoryCurrentCountServiceClient.setProductAtStorageAreaIndexAfter(\n                        new SetProductAtStorageAreaIndexAfterRequest({\n                            actor: this.userAccountObjectToThriftSerializer.getThriftUserSessionId(sessionId),\n                            productId: this.productObjectToThriftSerializer.getThriftProductId(productIdObject),\n                            productIdPreceeding: (productIdPreceeding) ? this.productObjectToThriftSerializer.getThriftProductId(new ProductId(productIdPreceeding)) : undefined,\n                            storageAreaId: this.inventoryCountObjectToThriftSerializer.getThriftStorageAreaId(storageAreaIdObject),\n                            inventoryCountId: this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountIdObject)\n                        })\n                    ).then((result : void) => {\n                        return resolve(result);\n                    }).catch((err : Error) => {\n                        return reject(err);\n                    });\n                })\n        );\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { Conversions } from 'api/Product/model/Conversions';\nimport { Mappings } from 'api/Product/model/Mappings';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { ProductMergeEvent } from 'api/Product/model/ProductMergeEvent';\nimport { OldPackaging } from 'api/Product/model/OldPackaging';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { PackagingsAndMappings } from 'api/Product/model/PackagingsAndMappings';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { PackagingWeight } from 'api/Product/model/PackagingWeight';\nimport { Price } from 'api/Product/model/Price';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport {\n    IConversionsJSONObject,\n    IMappingsJSONObject,\n    IMassJSON,\n    IMergeEventJsonObject,\n    IOldPackagingJSONObject,\n    IPackagingDataJSONObject,\n    IPackagingJSONObject,\n    ICategoryJsonObject,\n    IProductJSONObject,\n    IQuantityInUnitJSONObject,\n    IWeightsByPackagingIdJSONObject\n} from 'api/Product/serializer/IProductJSONObject';\nimport { oldPackagingUtils } from 'api/Product/utils/oldPackagingUtils';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\n\nexport class ProductJSONToObjectSerializer {\n\n    public getProduct(\n        productObject : IProductJSONObject\n    ) : Product {\n        if (typeof productObject.packages === 'undefined') { // PTODO Don't need this check when all is done\n            throw new RuntimeException('new_package is unexpectedly not defined');\n        }\n\n        if (typeof productObject.package_mappings === 'undefined') { // PTODO Don't need this check when all is done\n            throw new RuntimeException('package_mappings is unexpectedly not defined');\n        }\n\n        if (typeof productObject.conversions === 'undefined') { // PTODO Don't need this check when all is done\n            throw new RuntimeException('conversions is unexpectedly not defined');\n        }\n\n        if (typeof productObject.preferred_base_unit === 'undefined') { // PTODO Don't need this check when all is done\n            throw new RuntimeException('preferred_base_unit is unexpectedly not defined');\n        }\n\n        if (typeof productObject.preferred_reporting_unit === 'undefined') { // PTODO Don't need this check when all is done\n            throw new RuntimeException('preferred_reporting_unit is unexpectedly not defined');\n        }\n\n        if (typeof productObject.weights_by_package_id === 'undefined') { // PTODO Don't need this check when all is done\n            throw new RuntimeException('weights_by_package_id is unexpectedly not defined');\n        }\n\n        if (typeof productObject.last_update_event === 'undefined') {\n            throw new RuntimeException('last_update_event is unexpectedly not defined');\n        }\n\n        if (typeof productObject.new_product_category_id === 'undefined') {\n            throw new RuntimeException('new_product_category_id is unexpectedly not defined');\n        }\n\n        if (productObject.price.iso_4217_currency_code !== 'USD' || productObject.deposit.iso_4217_currency_code !== 'USD') {\n            throw new RuntimeException('unexpected currency code');\n        }\n\n        const categoryId = productObject.new_product_category_id;\n\n        // In Python we allow product_type, sku, and note to be None, but they are effectively empty strings + this helps with UI concerns\n        return new Product(\n            productObject.brand,\n            productObject.name,\n            this.getPackagingsAndMappings(productObject.packages, productObject.package_mappings, productObject.preferred_base_unit, productObject.conversions),\n            this.getProductQuantityUnit(productObject.preferred_reporting_unit),\n            this.getWeightsByPackagingId(productObject.weights_by_package_id),\n            productObject.product_category_id,\n            (categoryId && categoryId.length >= 0) ? new CategoryId(categoryId) : null,\n            productObject.product_type || '',\n            this.getPrice(productObject.price, productObject.price_unit),\n            productObject.deposit.value,\n            productObject.sku || '',\n            productObject.gl_code || '',\n            productObject.note || '',\n            UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(productObject.creation_event),\n            UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(productObject.last_update_event),\n            productObject.confirmation_event ? UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(productObject.confirmation_event) : undefined\n        );\n    }\n\n    public getProductsById(\n        productObjectsByIdValue : {[productIdValue : string] : IProductJSONObject}\n    ) : StringValueMap<ProductId, Product> {\n        const productsById = new StringValueMap<ProductId, Product>();\n        Object.keys(productObjectsByIdValue).forEach((productIdValue : string) => {\n            productsById.set(\n                this.getProductId(productIdValue),\n                this.getProduct(productObjectsByIdValue[productIdValue])\n            );\n        });\n\n        return productsById;\n    }\n\n    public getProductHashesById(\n        productHashesByIdValue : {[productIdValue : string] : string}\n    ) : StringValueMap<ProductId, string> {\n        const productHashesById = new StringValueMap<ProductId, string>();\n        Object.keys(productHashesByIdValue).forEach((productIdValue : string) => {\n            productHashesById.set(\n                this.getProductId(productIdValue),\n                productHashesByIdValue[productIdValue]\n            );\n        });\n\n        return productHashesById;\n    }\n\n    public getProductIsDeletedById(\n        productIdDeletedByIdValue : {[productIdValue : string] : boolean}\n    ) : StringValueMap<ProductId, boolean> {\n        const productIsDeletedById = new StringValueMap<ProductId, boolean>();\n        Object.keys(productIdDeletedByIdValue).forEach((productIdValue : string) => {\n            productIsDeletedById.set(\n                this.getProductId(productIdValue),\n                productIdDeletedByIdValue[productIdValue]\n            );\n        });\n\n        return productIsDeletedById;\n    }\n\n    public getOldPackaging(\n        packageObject : IOldPackagingJSONObject,\n    ) : OldPackaging {\n        return new OldPackaging(\n            (packageObject.content === null) ? null : this.getOldPackaging(packageObject.content),\n            packageObject.quantity_of_content,\n            oldPackagingUtils.getUnitFromValue(packageObject.unit)\n        );\n    }\n\n    public getPackaging(\n        packageObject : IPackagingJSONObject,\n    ) : Packaging {\n        const unit = (packageObject.unit === null) ? null : oldPackagingUtils.getUnitFromValue(packageObject.unit);\n        if (!(unit === null || MassUnit.isMassUnit(unit) || VolumeUnit.isVolumeUnit(unit))) {\n            throw new RuntimeException(`unit is unexpectedly PackagingUnit or BaseUnit ${ unit }`);\n        }\n\n        return new Packaging(\n            (packageObject.package_id === null) ? null : this.getPackagingId(packageObject.package_id),\n            packageObject.name,\n            (packageObject.content === null) ? null : this.getPackaging(packageObject.content),\n            packageObject.quantity_of_content,\n            unit\n        );\n    }\n\n    public getProductQuantityUnit (\n        productQuantityUnitValue : string\n    ) : ProductQuantityUnit {\n        return PackagingUtils.getProductQuantityUnitForString(productQuantityUnitValue);\n    }\n\n    public getQuantityInUnit(\n        quantityInUnitJSONObject : IQuantityInUnitJSONObject\n    ) : QuantityInUnit<ProductQuantityUnit> {\n        return new QuantityInUnit(\n            quantityInUnitJSONObject.quantity,\n            this.getProductQuantityUnit(quantityInUnitJSONObject.product_quantity_unit)\n        );\n    }\n\n    public getPackagingsAndMappings(\n        packagingDataObject : IPackagingDataJSONObject,\n        mappingsObject : IMappingsJSONObject,\n        baseUnitValue : string,\n        conversionsObject : IConversionsJSONObject,\n    ) : PackagingsAndMappings {\n        const packagingData = packagingDataObject.map((p) => {\n            return {\n                deleted: p.deleted,\n                isActive: p.is_active,\n                packaging: this.getPackaging(p.package)\n            };\n        });\n\n        return new PackagingsAndMappings(\n            packagingData,\n            this.getMappings(mappingsObject),\n            this.getConversions(baseUnitValue, conversionsObject),\n        );\n    }\n\n    public getMappings(\n        mappingsObject : IMappingsJSONObject,\n    ) : Mappings {\n        const {\n            package_id_mappings,\n            unit_of_measure_mappings,\n        } = mappingsObject;\n\n        const packagingIdMappings = new StringValueMap<PackagingId, QuantityInUnit<PackagingId>>();\n        Object.keys(package_id_mappings).forEach((packagingIdValue) => {\n            const productQuantityUnit = this.getProductQuantityUnit(packagingIdValue);\n            if (!(productQuantityUnit instanceof PackagingId)) {\n                throw new RuntimeException('productQuantityUnit unit is unexpectedly not a PackagingId');\n            }\n\n            const quantityInUnit = this.getQuantityInUnit(package_id_mappings[packagingIdValue]);\n            if (!(quantityInUnit.getUnit() instanceof PackagingId)) {\n                throw new RuntimeException('mapping unit is unexpectedly not PackagingId');\n            }\n\n            packagingIdMappings.set(productQuantityUnit, quantityInUnit as QuantityInUnit<PackagingId>);\n        });\n\n        const unitOfMeasureMappings = new Map<MassUnit | VolumeUnit, QuantityInUnit<PackagingId>>();\n        Object.keys(unit_of_measure_mappings).forEach((unitOfMeasureValue) => {\n            const productQuantityUnit = this.getProductQuantityUnit(unitOfMeasureValue);\n            if (productQuantityUnit instanceof PackagingId) {\n                throw new RuntimeException('productQuantityUnit unit is unexpectedly a PackagingId');\n            }\n\n            const quantityInUnit = this.getQuantityInUnit(unit_of_measure_mappings[unitOfMeasureValue]);\n            if (!(quantityInUnit.getUnit() instanceof PackagingId)) {\n                throw new RuntimeException('mapping unit is unexpectedly not PackagingId');\n            }\n\n            unitOfMeasureMappings.set(productQuantityUnit, quantityInUnit as QuantityInUnit<PackagingId>);\n        });\n\n        return new Mappings(\n            packagingIdMappings,\n            unitOfMeasureMappings\n        );\n    }\n\n    public getConversions(\n        baseUnitValue : string,\n        conversionsObject : IConversionsJSONObject,\n    ) : Conversions {\n        const packagingIdConversions = new StringValueMap<PackagingId, number>();\n        const unitOfMeasureConversions = new Map<MassUnit | VolumeUnit, number>();\n\n        Object.keys(conversionsObject).forEach((productQuantityUnitValue) => {\n            const productQuantityUnit = this.getProductQuantityUnit(productQuantityUnitValue);\n            const quantityInUnit = conversionsObject[productQuantityUnitValue];\n\n            if (productQuantityUnit instanceof PackagingId) {\n                packagingIdConversions.set(productQuantityUnit, quantityInUnit);\n            } else {\n                unitOfMeasureConversions.set(productQuantityUnit, quantityInUnit);\n            }\n        });\n\n        return new Conversions(\n            this.getProductQuantityUnit(baseUnitValue),\n            packagingIdConversions,\n            unitOfMeasureConversions\n        );\n    }\n\n    public getWeightsByPackagingId(\n        weightsByPackagingIdObject : IWeightsByPackagingIdJSONObject,\n    ) : StringValueMap<PackagingId, PackagingWeight> {\n        const weightsByPackagingId = new StringValueMap<PackagingId, PackagingWeight>();\n\n        Object.keys(weightsByPackagingIdObject).forEach((packagingIdValue) => {\n            const packagingId = this.getPackagingId(packagingIdValue);\n            const packagingWeightObject = weightsByPackagingIdObject[packagingIdValue];\n\n            weightsByPackagingId.set(\n                packagingId,\n                new PackagingWeight(\n                    packagingWeightObject.empty_weight === null ? null : this.getMass(packagingWeightObject.empty_weight),\n                    packagingWeightObject.full_weight === null ? null : this.getMass(packagingWeightObject.full_weight),\n                )\n            );\n        });\n\n        return weightsByPackagingId;\n    }\n\n    public getMergeEvent(\n        mergeEventObject : IMergeEventJsonObject | null\n    ) : ProductMergeEvent | null {\n        if (!mergeEventObject) {\n            return null;\n        }\n        const mergedFromProductIds = mergeEventObject.merged_from_product_ids;\n        const storageAreasAffected = mergeEventObject.storage_areas_affected;\n        const salesItemsAffected = mergeEventObject.sales_items_affected;\n        const cartItemsAffected = mergeEventObject.cart_items_affected;\n\n        const mergedFromProductIdSet = new StringValueSet<ProductId>();\n        const storageAreasAffectedSet = new StringValueSet<StorageAreaId>();\n        const salesItemsAffectedSet = new StringValueSet<SalesItemId>();\n        const cartItemsAffectedSet = new StringValueSet<ProductId>();\n        mergedFromProductIds.forEach((productId) => {\n            mergedFromProductIdSet.add(this.getProductId(productId));\n        });\n        storageAreasAffected.forEach((storageAreaId) => {\n            storageAreasAffectedSet.add(new StorageAreaId(storageAreaId));\n        });\n        salesItemsAffected.forEach((salesItemId) => {\n            salesItemsAffectedSet.add(new SalesItemId(salesItemId));\n        });\n        cartItemsAffected.forEach((cartItemId) => {\n            cartItemsAffectedSet.add(this.getProductId(cartItemId));\n        });\n        return new ProductMergeEvent(\n            UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(mergeEventObject.user_account_id_and_timestamp),\n            this.getProductId(mergeEventObject.merged_to_product_id),\n            mergedFromProductIdSet,\n            storageAreasAffectedSet,\n            salesItemsAffectedSet,\n            cartItemsAffectedSet,\n            mergeEventObject.historical_merge_in_progress ?? false,\n        );\n    }\n\n    public getCategory(\n        categoryJson : ICategoryJsonObject\n    ) : Category {\n        return new Category(\n            categoryJson.name,\n            categoryJson.gl_code,\n            categoryJson.is_deleted,\n            categoryJson.category_hash,\n            UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(categoryJson.creation_event),\n            UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(categoryJson.last_update_event),\n            categoryJson.confirmation_event ? UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(categoryJson.confirmation_event) : undefined\n        );\n    }\n\n    public getCategoriesById(\n        categoryObjectsByIdValue : {[categoryIdValue : string] : ICategoryJsonObject}\n    ) : StringValueMap<CategoryId, Category> {\n        const categoriesById = new StringValueMap<CategoryId, Category>();\n        Object.keys(categoryObjectsByIdValue).forEach((categoryIdValue : string) => {\n            categoriesById.set(\n                this.getCategoryId(categoryIdValue),\n                this.getCategory(categoryObjectsByIdValue[categoryIdValue])\n            );\n        });\n\n        return categoriesById;\n    }\n\n    public getMass(\n        mass : IMassJSON\n    ) : QuantityInUnit<MassUnit> {\n        return new QuantityInUnit(\n            mass.quantity,\n            MassUnit.getByMassUnitValue(mass.unit_of_mass)\n        );\n    }\n\n    public getPrice(\n        price : {iso_4217_currency_code : string, value : number},\n        priceUnitValue : string\n    ) : Price {\n        return new Price(\n            price.value,\n            oldPackagingUtils.getUnitFromValue(priceUnitValue)\n        );\n    }\n\n    public getProductId(\n        productIdValue : string\n    ) : ProductId {\n        return new ProductId(productIdValue);\n    }\n\n    public getCategoryId(\n        categoryIdValue : string\n    ) : CategoryId {\n        return new CategoryId(categoryIdValue);\n    }\n\n    private getPackagingId(\n        packagingIdValue : string\n    ) : PackagingId {\n        return new PackagingId(packagingIdValue);\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { Category } from 'api/Product/model/Category';\nimport { ProductMergeEvent } from 'api/Product/model/ProductMergeEvent';\nimport { OldPackaging } from 'api/Product/model/OldPackaging';\nimport { Packaging } from 'api/Product/model/Packaging';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport {\n    IConversionsJSONObject,\n    IMassJSON,\n    IMergeEventJsonObject,\n    IOldPackagingJSONObject,\n    IPackagingDataJSONObject,\n    IPackagingJSONObject, ICategoryJsonObject,\n    IProductJSONObject,\n    IWeightsByPackagingIdJSONObject, IQuantityInUnitJSONObject, IProductCostJSONObject\n} from 'api/Product/serializer/IProductJSONObject';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { PackagingUtils } from 'api/Product/utils/PackagingUtils';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\n\nexport class ProductObjectToJSONSerializer {\n\n    public getJSONProductFromProduct(\n        product : Product,\n        locationId : LocationId\n    ) : IProductJSONObject {\n        const packagingsAndMappings = product.getPackagingsAndMappings();        \n        const conversions = packagingsAndMappings.getConversions();\n\n        const conversionsJSONObject : IConversionsJSONObject = {};\n        conversions.getPackagingIdConversions().forEach((value, packagingId) => {\n            conversionsJSONObject[this.getProductQuantityUnit(packagingId)] = value;\n        });\n\n        conversions.getUnitOfMeasureConversions().forEach((value, unitOfMeasure) => {\n            conversionsJSONObject[this.getProductQuantityUnit(unitOfMeasure)] = value;\n        });\n\n        const packagingDataJSONObject : IPackagingDataJSONObject = packagingsAndMappings.getPackagingData().map((packagingData) => {\n            return {\n                deleted: packagingData.deleted,\n                is_active: packagingData.isActive,\n                package: this.getPackagingJSON(packagingData.packaging),\n            };\n        });\n\n        const weightsByPackagingIdJSONObject : IWeightsByPackagingIdJSONObject = {};\n        product.getWeightsByPackagingId().forEach((packagingWeight, packagingId) => {\n            weightsByPackagingIdJSONObject[packagingId.getValue()] = {\n                empty_weight: this.getMassJSON(packagingWeight.getEmptyWeight()),\n                full_weight: this.getMassJSON(packagingWeight.getFullWeight()),\n            };\n        });\n\n        const categoryId = product.getNewProductCategoryId();\n        const packageIdMappings : { [packagingIdValue : string] : IQuantityInUnitJSONObject } = {};\n        const unitOfMeasureMappings : { [unitOfMeasureValue : string] : IQuantityInUnitJSONObject } = {};\n\n        packagingsAndMappings.getMappings().getPackagingIdMappings().forEach((quantityInUnit, packagingId) => {\n            packageIdMappings[packagingId.getValue()] = {\n                quantity : quantityInUnit.getQuantity(),\n                product_quantity_unit : this.getProductQuantityUnit(quantityInUnit.getUnit()),\n            };\n        });\n\n        packagingsAndMappings.getMappings().getUnitOfMeasureMappings().forEach((quantityInUnit, unit) => {\n            unitOfMeasureMappings[unit] = {\n                quantity : quantityInUnit.getQuantity(),\n                product_quantity_unit : this.getProductQuantityUnit(quantityInUnit.getUnit()),\n            };\n        });\n\n        const confirmation = product.getConfirmationEvent();\n        return {\n            brand: product.getBrand(),\n            name: product.getName(),\n            conversions: conversionsJSONObject,\n            packages: packagingDataJSONObject,\n            package_mappings : {\n                package_id_mappings: packageIdMappings,\n                unit_of_measure_mappings: unitOfMeasureMappings\n            },\n            preferred_base_unit: this.getProductQuantityUnit(conversions.getBaseUnit()),\n            preferred_reporting_unit: this.getProductQuantityUnit(product.getPreferredReportingUnit()),\n            weights_by_package_id: weightsByPackagingIdJSONObject,\n            product_category_id: product.getProductCategoryId(),\n            new_product_category_id: categoryId ? categoryId.getValue() : null,\n            product_type: product.getProductType(),\n            price: {\n                iso_4217_currency_code : 'USD',\n                value : product.getUnitPrice().getDollarValue()\n            },\n            price_unit: product.getUnitPrice().getUnit(),\n            deposit: {\n                iso_4217_currency_code : 'USD',\n                value : product.getDepositInDollars()\n            },\n            sku: product.getSku(),\n            note: product.getNote(),\n            gl_code: product.getGLCode(),\n            retailer_id: locationId.getValue(),\n            creation_event: UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(product.getCreationEvent()),\n            last_update_event: UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(product.getLastUpdateEvent()),\n            confirmation_event: confirmation ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(confirmation) : null,\n        };\n    }\n\n    public getJSONPackagingFromPackaging(\n        packaging : OldPackaging\n    ) : IOldPackagingJSONObject {\n        const content = packaging.getContent();\n        return {\n            content: content === null ? null : this.getJSONPackagingFromPackaging(content),\n            quantity_of_content: packaging.getQuantityOfContent(),\n            unit: packaging.getUnit()\n        };\n    }\n\n    public getPackagingJSON(\n        packaging : Packaging\n    ) : IPackagingJSONObject {\n        const packageId = packaging.getPackagingId();\n        const content = packaging.getContent();\n        \n        return {\n            package_id: packageId === null ? null : this.getProductQuantityUnit(packageId),\n            name: packaging.getName(),\n            quantity_of_content: packaging.getQuantityOfContent(),\n            content: content === null ? null : this.getPackagingJSON(content),\n            unit: packaging.getUnit()\n        };\n    }\n\n    public getMassJSON(\n        mass : QuantityInUnit<MassUnit> | null\n    ) : IMassJSON | null {\n        if (mass === null) {\n            return null;\n        }\n\n        return {\n            unit_of_mass: mass.getUnit(),\n            quantity: mass.getQuantity(),\n        };\n    }\n\n    public getMergeEventJSON(\n        mergeEvent : ProductMergeEvent | null\n    ) : IMergeEventJsonObject | null {\n        if (mergeEvent === null) {\n            return null;\n        }\n\n        const mergeFromProductIds = mergeEvent.getMergedFromProductIds();\n        const storageAreasAffected = mergeEvent.getAffectedStorageAreaIds();\n        const salesItemsAffected = mergeEvent.getAffectedSalesItemIds();\n        const cartItemsAffected = mergeEvent.getAffectedCartItems();\n\n        const mergeFromProductIdsArray : Array<string> = [];\n        const storageAreasAffectedArray : Array<string> = [];\n        const salesItemAffectedArray : Array<string> = [];\n        const cartItemAffectedArray : Array<string> = [];\n        mergeFromProductIds.forEach((productId) => {\n            mergeFromProductIdsArray.push(productId.getValue());\n        });\n        storageAreasAffected.forEach((storageAreaId) => {\n            storageAreasAffectedArray.push(storageAreaId.getValue());\n        });\n        salesItemsAffected.forEach((salesItemId) => {\n            salesItemAffectedArray.push(salesItemId.getValue());\n        });\n        cartItemsAffected.forEach((productId) => {\n            cartItemAffectedArray.push(productId.getValue());\n        });\n\n        return {\n            user_account_id_and_timestamp: UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(mergeEvent.getUserAccountIdAndTimestamp()),\n            merged_to_product_id: mergeEvent.getMergedToProductId().getValue(),\n            merged_from_product_ids: mergeFromProductIdsArray,\n            sales_items_affected: salesItemAffectedArray,\n            storage_areas_affected: storageAreasAffectedArray,\n            cart_items_affected: cartItemAffectedArray,\n        };\n    }\n\n    public getCategoryJson(\n        category : Category | null\n    ) : ICategoryJsonObject | null {\n        if (category === null) {\n            return null;\n        }\n        const confirmation = category.getConfirmationEvent();\n        return {\n            name: category.getName(),\n            gl_code: category.getGlCode(),\n            category_hash: category.getHash(),\n            is_deleted: category.getIsDeleted(),\n            parent_id: null,\n            creation_event: UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(category.getCreationEvent()),\n            last_update_event: UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(category.getLastUpdateEvent()),\n            confirmation_event: confirmation ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(confirmation) : null,\n        };\n    }\n\n    public getProductQuantityUnit(\n        productQuantityUnit : ProductQuantityUnit\n    ) : string {\n        return PackagingUtils.getStringForProductQuantityUnit(productQuantityUnit);\n    }\n\n    public getQuantityInUnitJSON(\n        quantityInUnit : QuantityInUnit<ProductQuantityUnit> | null\n    ) : IQuantityInUnitJSONObject | null {\n        if (quantityInUnit === null) {\n            return null;\n        }\n        return {\n            quantity: quantityInUnit.getQuantity(),\n            product_quantity_unit: this.getProductQuantityUnit(quantityInUnit.getUnit()),\n        };\n    }\n\n    public getProductCostJSON(\n        productCost : ProductCost | null\n    ) : IProductCostJSONObject | null {\n        if (productCost === null) {\n            return null;\n        }\n        return {\n            monetary_value: decimalToNumber(productCost.getCost()),\n            product_quantity_unit: this.getProductQuantityUnit(productCost.getUnit()),\n        };\n    }\n}\n","import { StringValueResponseCache } from 'api/StringValueReponseCache';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { IProductBatchRequestResponse, IProductService } from '../interfaces/IProductService';\n\n// TODO future: can leverage RTKQ instead of implementing our own caching\nconst MIN_GET_COUNT_TO_CACHE = 2;\nexport class CachedProductServiceImpl implements IProductService {\n    private productCache : StringValueResponseCache<ProductId, IProductBatchRequestResponse>;\n\n    constructor (\n        private readonly productService : IProductService,\n    ) {\n        this.productCache = new StringValueResponseCache();\n    }\n\n    public getProductAndProductHash (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productId : ProductId,\n    ) : Promise<{ product : Product, productHash : string }> {\n        // TODO Cheezy probably safe to have this read from cache based on TTL and invalidation on writes\n        return this.productService.getProductAndProductHash(userSessionId, locationId, productId);\n    }\n\n    public createProduct (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        product : Product,\n    ) : Promise<ProductId> {\n        return this.productService.createProduct(userSessionId, locationId, product);\n    }\n\n    public createProducts (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        products : Array<Product>,\n    ) : Promise<Array<ProductId>> {\n        return this.productService.createProducts(userSessionId, locationId, products);\n    }\n\n    public editProduct (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productId : ProductId,\n        product : Product,\n        productHash : string\n    ) : Promise<string> {\n        this.productCache.delete(productId);\n        return this.productService.editProduct(userSessionId, locationId, productId, product, productHash);\n    }\n\n    public getProductsById (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productIds : StringValueSet<ProductId>,\n    ) : Promise<IProductBatchRequestResponse> {\n        return this.productCache.requestSet(\n            productIds,\n            (requestedProductIds) => this.productService.getProductsById(userSessionId, locationId, requestedProductIds),\n            productIds.size < MIN_GET_COUNT_TO_CACHE // Skip cache for single product fetches\n        ).then((responses) => {\n            const productsById = new StringValueMap<ProductId, Product>();\n            const productHashesById = new StringValueMap<ProductId, string>();\n            responses.forEach((response) => {\n                productIds.forEach((productId) => {\n                    if (response.productsById.has(productId)) {\n                        productsById.set(productId, response.productsById.getRequired(productId));\n                        productHashesById.set(productId, response.productHashesById.getRequired(productId));\n                    }\n                });\n            });\n            return Promise.resolve({\n                productsById,\n                productHashesById\n            });\n        });\n    }\n\n    public getProductsWithCategoryIds (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        categoryIds : StringValueSet<CategoryId>,\n    ) : Promise<{ productsById : StringValueMap<ProductId, Product>, productHashesById : StringValueMap<ProductId, string>, productIsDeletedById : StringValueMap<ProductId, boolean> }> {\n        return this.productService.getProductsWithCategoryIds(userSessionId, locationId, categoryIds);\n    }\n\n    public bulkUpdateProductsById (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productUpdateArgsById : StringValueMap<ProductId, { product : Product, productHash : string }>,\n    ) : Promise<{ productsById : StringValueMap<ProductId, Product>, productHashesById : StringValueMap<ProductId, string> }> {\n        this.productCache.deleteAll(Array.from(productUpdateArgsById.keys()));\n        return this.productService.bulkUpdateProductsById(userSessionId, locationId, productUpdateArgsById);\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IProductJSONObject } from 'api/Product/serializer/IProductJSONObject';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\nimport { ProductObjectToJSONSerializer } from 'api/Product/serializer/ProductObjectToJSONSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { IProductService } from '../interfaces/IProductService';\n\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class ProductServiceImpl implements IProductService {\n\n    constructor (\n        private readonly productJSONToObjectSerializer : ProductJSONToObjectSerializer,\n        private readonly productObjectToJSONSerializer : ProductObjectToJSONSerializer,\n    ) { }\n\n    public getProductAndProductHash (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productId : ProductId,\n    ) : Promise<{ product : Product, productHash : string }> {\n        const queryParameters = {\n            product_id: productId.getValue(),\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:product'), queryParameters)\n        .then((response) => {\n            return Promise.resolve({\n                product: this.productJSONToObjectSerializer.getProduct(response.product),\n                productHash: response.product_hash,\n            });\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public createProduct (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        product : Product,\n    ) : Promise<ProductId> {\n        const productJson = this.productObjectToJSONSerializer.getJSONProductFromProduct(product, locationId);\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:product'), productJson)\n        .then((response) => {\n            return Promise.resolve(new ProductId(response.product_id));\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public createProducts (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        products : Array<Product>,\n    ) : Promise<Array<ProductId>> {\n        if (products.length === 0) {\n            return Promise.resolve([]);\n        }\n        const json = products.map((product) => this.productObjectToJSONSerializer.getJSONProductFromProduct(product, locationId));\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:batch_product_create'), json)\n        .then((response : Array<string>) => {\n            return Promise.resolve(response.map((v) => new ProductId(v)));\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public editProduct (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productId : ProductId,\n        product : Product,\n        productHash : string\n    ) : Promise<string> {\n        return AjaxUtils.ajaxPut<{ product_hash: string }>(urlWithoutRetailerId('api:product') + '?product_id=' + productId.getValue(), {\n            product: this.productObjectToJSONSerializer.getJSONProductFromProduct(product, locationId),\n            product_hash: productHash,\n        })\n        .then((response) => {\n            return Promise.resolve(response.product_hash);\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getProductsById (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productIds : StringValueSet<ProductId>,\n    ) : Promise<{ productsById : StringValueMap<ProductId, Product>, productHashesById : StringValueMap<ProductId, string> }> {\n        if (productIds.size === 0) {\n            return Promise.resolve({ productsById: new StringValueMap<ProductId, Product>(), productHashesById : new StringValueMap<ProductId, string>() });\n        }\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        const productIdValues : Array<string> = [];\n        productIds.forEach((productId : ProductId) => {\n            productIdValues.push(productId.getValue());\n        });\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:batch_product_get'), productIdValues, queryParameters)\n        .then((response) => {\n            const productsByIdResponse = response.products_by_id;\n            const productHashesByIdResponse = response.product_hashes_by_id;\n            return Promise.resolve({\n                productsById: this.productJSONToObjectSerializer.getProductsById(productsByIdResponse),\n                productHashesById: this.productJSONToObjectSerializer.getProductHashesById(productHashesByIdResponse)\n            });\n        });\n    }\n\n    public getProductsWithCategoryIds (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        categoryIds : StringValueSet<CategoryId>,\n    ) : Promise<{ productsById : StringValueMap<ProductId, Product>, productHashesById : StringValueMap<ProductId, string>, productIsDeletedById : StringValueMap<ProductId, boolean> }> {\n        if (categoryIds.size === 0) {\n            return Promise.resolve({\n                productsById: new StringValueMap<ProductId, Product>(),\n                productHashesById : new StringValueMap<ProductId, string>(),\n                productIsDeletedById : new StringValueMap<ProductId, boolean>(),\n            });\n        }\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        const categoryIdValues : Array<string> = [];\n        categoryIds.forEach((categoryId : CategoryId) => {\n            categoryIdValues.push(categoryId.getValue());\n        });\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:batch_product_by_category'), categoryIdValues, queryParameters)\n        .then((response) => {\n            const productsByIdResponse = response.products_by_id;\n            const productHashesByIdResponse = response.product_hashes_by_id;\n            const isDeletedByProductIdResponse = response.product_is_deleted_by_id;\n            return Promise.resolve({\n                productsById: this.productJSONToObjectSerializer.getProductsById(productsByIdResponse),\n                productHashesById: this.productJSONToObjectSerializer.getProductHashesById(productHashesByIdResponse),\n                productIsDeletedById : this.productJSONToObjectSerializer.getProductIsDeletedById(isDeletedByProductIdResponse),\n            });\n        });\n    }\n\n    public bulkUpdateProductsById (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productUpdateArgsById : StringValueMap<ProductId, { product : Product, productHash : string }>,\n    ) : Promise<{ productsById : StringValueMap<ProductId, Product>, productHashesById : StringValueMap<ProductId, string> }> {\n        if (productUpdateArgsById.size === 0) {\n            return Promise.resolve({\n                productsById: new StringValueMap<ProductId, Product>(),\n                productHashesById: new StringValueMap<ProductId, string>(),\n            });\n        }\n\n        const requestBody : {[productIdValue : string] : { new_product : IProductJSONObject, old_product_hash : string }} = {};\n\n        productUpdateArgsById.forEach(({ product, productHash }, productId) => {\n            requestBody[productId.getValue()] = {\n                new_product: this.productObjectToJSONSerializer.getJSONProductFromProduct(product, locationId),\n                old_product_hash: productHash,\n            };\n        });\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:batch_product'), requestBody)\n        .then((response) => {\n            return Promise.resolve({\n                productsById: this.productJSONToObjectSerializer.getProductsById(response.products_by_id),\n                productHashesById: this.productJSONToObjectSerializer.getProductHashesById(response.product_hashes_by_id),\n            });\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ICategoryService } from 'api/Product/interfaces/ICategoryService';\nimport { Category } from 'api/Product/model/Category';\nimport { CategoryId } from 'api/Product/model/CategoryId';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\nimport { ProductObjectToJSONSerializer } from 'api/Product/serializer/ProductObjectToJSONSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class CategoryServiceImpl implements ICategoryService {\n    constructor (\n        private readonly productJSONToObjectSerializer : ProductJSONToObjectSerializer,\n        private readonly productObjectToJSONSerializer : ProductObjectToJSONSerializer,\n    ) { }\n\n    public createCategory(\n        userSessionId: UserSessionId,\n        locationId : LocationId,\n        category: Category\n    ): Promise<{category_id: CategoryId, category_hash: string}> {\n        const productCategoryJson = this.productObjectToJSONSerializer.getCategoryJson(category);\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:category'), productCategoryJson, queryParameters)\n        .then((response) => {\n            return Promise.resolve({\n                category_id : new CategoryId(response.category_id),\n                category_hash : response.category_hash\n            });\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public editCategoryById(\n        userSessionId: UserSessionId,\n        locationId : LocationId,\n        category: Category,\n        categoryId: CategoryId,\n    ): Promise<{category_id: CategoryId, category_hash: string}> {\n        const categoryJson = this.productObjectToJSONSerializer.getCategoryJson(category);\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            category_id: categoryId.getValue()\n        };\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:category'), categoryJson, queryParameters)\n        .then((response) => {\n            return Promise.resolve({\n                category_id : new CategoryId(response.category_id),\n                category_hash : response.category_hash\n            });\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getCategoriesById(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        categoryIds : StringValueSet<CategoryId>\n    ): Promise<StringValueMap<CategoryId, Category>> {\n        if (categoryIds.size === 0) {\n            return Promise.resolve(new StringValueMap());\n        }\n\n        const categoryIdValues : Array<string> = [];\n        categoryIds.forEach((categoryId : CategoryId) => {\n            categoryIdValues.push(categoryId.getValue());\n        });\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:batch_category'), categoryIdValues, queryParameters)\n        .then((response) => {\n            return Promise.resolve(this.productJSONToObjectSerializer.getCategoriesById(response));\n        });\n    }\n\n    public getCategoriesForRetailer(userSessionId: UserSessionId, locationId: LocationId): Promise<StringValueMap<CategoryId, Category>> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:category'), queryParameters)\n        .then((response) => {\n            return Promise.resolve(this.productJSONToObjectSerializer.getCategoriesById(response));\n        });\n    }\n\n    public deleteCategoryById(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        categoryId : CategoryId,\n        categoryHash : string\n    ): Promise<void> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n        const body  = {\n            category_hash : categoryHash,\n            category_id : categoryId.getValue(),\n        };\n        return AjaxUtils.ajaxDelete(urlWithoutRetailerId('api:category'), queryParameters, body)\n        .then((response) => {\n            return Promise.resolve();\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { IInventorySheetsService } from '../interfaces/IInventorySheetsService';\n\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class InventorySheetsServiceImpl implements IInventorySheetsService {\n\n    public uploadInventorySheets(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        files : Array<File>,\n        wasSuccessfullyParsedByProductUploader : boolean,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        files.forEach((file : File) => {\n            formData.append(file.name, file);\n        });\n        formData.append('successfully_parsed', wasSuccessfullyParsedByProductUploader.toString());\n\n        return AjaxUtils.ajaxPostForm(url('account:upload_inventory_sheets', null, locationId.getValue(), null), formData);\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ILocationProductService } from 'api/Location/interfaces/ILocationProductService';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\nimport { IUserAccountIdAndTimestampJSONObject, UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class LocationProductServiceImpl implements ILocationProductService {\n\n    constructor (\n        private readonly productJSONToObjectSerializer : ProductJSONToObjectSerializer,\n    ) { }\n\n    public getProductIds(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<StringValueSet<ProductId>> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:product'), queryParameters)\n        .then((response) => {\n            const productIds : Array<ProductId> = [];\n            response.forEach((productIdValue : string) => {\n                productIds.push(this.productJSONToObjectSerializer.getProductId(productIdValue));\n            });\n\n            return Promise.resolve(new StringValueSet<ProductId>(productIds));\n        });\n    }\n\n    public getProductsForLocationMatchingSearchParameters(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        maxResultCount : number,\n        inclusiveStartIndex : number,\n        searchTerm : string,\n        filterTermsById : { [filterId : string] : string }\n    ) : Promise<{ productIds: Array<ProductId>, productsById: StringValueMap<ProductId, Product>, matchCount: number }> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            max_result_count: maxResultCount,\n            inclusive_start_index: inclusiveStartIndex,\n            search_term: searchTerm,\n            filter_terms_by_id: JSON.stringify(filterTermsById),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:product'), queryParameters)\n        .then((response) => {\n            const productIdValues : Array<string> = response.product_ids;\n            const productsByIdJSON = response.products_by_id;\n            const matchCount = response.total_matched;\n            // const filterCountByFilterIdAndTermJSON = response.filter_count_by_filter_id_and_term;\n\n            if ((typeof productIdValues === 'undefined') || (typeof productsByIdJSON === 'undefined') || (typeof matchCount === 'undefined')) {\n                throw new RuntimeException('unexpected');\n            }\n\n            const productIds : Array<ProductId> = productIdValues.map((productIdValue : string) => {\n                return this.productJSONToObjectSerializer.getProductId(productIdValue);\n            });\n\n            return Promise.resolve({\n                productIds,\n                productsById: this.productJSONToObjectSerializer.getProductsById(productsByIdJSON),\n                matchCount\n            });\n        });\n    }\n\n    public getActiveProductIds(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<StringValueSet<ProductId>> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:inventory_list'), queryParameters)\n        .then((response) => {\n            const activeProductIdValues : Array<string> = response.inventory_list;\n\n            if (typeof activeProductIdValues === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const productIds : Array<ProductId> = activeProductIdValues.map((productIdValue : string) => {\n                return this.productJSONToObjectSerializer.getProductId(productIdValue);\n            });\n\n            return Promise.resolve(new StringValueSet<ProductId>(productIds));\n        });\n    }\n\n    public getDeletionEventsByProductId(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<StringValueMap<ProductId, UserAccountIdAndTimestamp>> {\n        const queryParameters = {\n            retailer_id: locationId.getValue()\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:product_deleted_from_search'), queryParameters)\n        .then((response) => {\n            const deletedFromSearchEventByProductId : {\n                [productIdValue : string] : { deleted_by : IUserAccountIdAndTimestampJSONObject }\n            } = response.deleted_from_search_event_by_product_id;\n            if (typeof deletedFromSearchEventByProductId === 'undefined') {\n                throw new RuntimeException('unexpected');\n            }\n\n            const deletionEventByProductId = new StringValueMap<ProductId, UserAccountIdAndTimestamp>();\n            Object.keys(deletedFromSearchEventByProductId).forEach((productIdValue : string) => {\n                const deletionEvent = deletedFromSearchEventByProductId[productIdValue];\n                deletionEventByProductId.set(\n                    this.productJSONToObjectSerializer.getProductId(productIdValue),\n                    UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(deletionEvent.deleted_by)\n                );\n            });\n\n            return Promise.resolve(deletionEventByProductId);\n        });\n    }\n\n    public setProductAsActive(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productId : ProductId\n    ) : Promise<void> {\n        const queryParameters = {\n            retailer_id: locationId.getValue()\n        };\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:inventory_list_item'), [productId.getValue()], queryParameters)\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public setProductAsInactive(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productId : ProductId\n    ) : Promise<void> {\n        const queryParameters = [productId.getValue()];\n\n        return AjaxUtils.ajaxDelete(urlWithoutRetailerId('api:inventory_list_item'), {}, queryParameters);\n    }\n\n    public setProductsAsActive(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productIds : StringValueSet<ProductId>\n    ) : Promise<void> {\n        const productIdList : Array<string> = [];\n        productIds.forEach((productId) => {\n            productIdList.push(productId.getValue());\n        });\n\n        const queryParameters = {\n            retailer_id: locationId.getValue()\n        };\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:inventory_list_item'), productIdList, queryParameters);\n    }\n\n    public setProductsAsInactive(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productIds : StringValueSet<ProductId>\n    ) : Promise<void> {\n        const queryParameters : Array<string> = [];\n        productIds.forEach((productId) => {\n            queryParameters.push(productId.getValue());\n        });\n\n        return AjaxUtils.ajaxDelete(urlWithoutRetailerId('api:inventory_list_item'), {}, queryParameters);\n    }\n\n    public deleteProducts(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productIds : StringValueSet<ProductId>\n    ) : Promise<void> {\n        const queryParameters = {\n            retailer_id: locationId.getValue()\n        };\n\n        const productIdValues : Array<string> = [];\n        productIds.forEach((productId : ProductId) => {\n            productIdValues.push(productId.getValue());\n        });\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:batch_product_delete'), productIdValues, queryParameters, 'text');\n    }\n\n    public restoreDeletedProduct(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productId : ProductId\n    ) : Promise<void> {\n        const queryParameters = {\n            product_id: productId.getValue()\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:restore_product_deleted_from_search'), null, queryParameters);\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ILocationService } from 'api/Location/interfaces/ILocationService';\nimport { AccountType } from 'api/Location/model/AccountType';\nimport { ILocationMetaData } from 'api/Location/model/ILocationMetaData';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { RetailerGettingStartedType } from 'api/Location/model/RetailerGettingStartedType';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { PathUtils } from 'shared/utils/pathUtils';\n\nexport class LocationServiceImpl implements ILocationService {\n\n    public getLocationNamesById(\n        locationIds : StringValueSet<LocationId>\n    ) : Promise<StringValueMap<LocationId, string>> {\n        const postBody = {\n            retailer_ids: Array.from(locationIds.values()).map((locationId) => locationId.getValue()),\n        };\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:retailer'), postBody)\n            .then((response : { [key : string] : { name : string } }) => {\n                const locationNamesByLocationId = new StringValueMap<LocationId, string>();\n                for (const locationIdStr of Object.keys(response)) {\n                    locationNamesByLocationId.set(new LocationId(locationIdStr), response[locationIdStr].name);\n                }\n                return Promise.resolve(locationNamesByLocationId);\n            });\n    }\n\n    public createLocations(\n        userFirstName : string,\n        userLastName : string,\n        userId : string,\n        userEmail : string,\n        userPhone : string,\n        beverageRetailerName : string | null,\n        foodRetailerName : string | null,\n        addressLine1 : string,\n        addressLine2 : string,\n        city : string,\n        state : string,\n        country : string,\n        zipcode : string,\n        timezone : string, // TODO type timezones if possible\n        isPayingByCard : boolean,\n        metaData : ILocationMetaData | null,\n        gettingStartedType : RetailerGettingStartedType | null,\n    ) {\n        if ((beverageRetailerName === null) && (foodRetailerName === null)) {\n            throw new RuntimeException('beverageRetailerName and foodRetailerName cannot both be null');\n        }\n\n        const formData : FormData = new FormData();\n        formData.append('user_first_name', userFirstName);\n        formData.append('user_last_name', userLastName);\n        formData.append('user_id', userId);\n        formData.append('user_email', userEmail);\n        formData.append('user_phone', userPhone);\n        formData.append('retailer_address_line1', addressLine1);\n        formData.append('retailer_address_line2', addressLine2);\n        formData.append('retailer_city', city);\n        formData.append('retailer_state', state);\n        formData.append('retailer_country', country);\n        formData.append('retailer_zipcode', zipcode);\n        formData.append('retailer_timezone', timezone);\n        formData.append('is_paying_by_card', '' + isPayingByCard); // NOTE: FormData turns booleans into strings, so `true` becomes `'true'` and false` becomes `'false'`\n\n        if (metaData && metaData.freeTrialSource) {\n            formData.append('free_trial_source', metaData.freeTrialSource);\n        }\n\n        if (beverageRetailerName) {\n            formData.append('beverage_retailer_name', beverageRetailerName);\n        }\n\n        if (foodRetailerName) {\n            formData.append('food_retailer_name', foodRetailerName);\n        }\n\n        if (gettingStartedType) {\n            formData.append('retailer_getting_started_type', gettingStartedType);\n        }\n\n        return AjaxUtils.ajaxPostForm(PathUtils.getAbsolutePathForRequest('/user/create_retailer/'), formData)\n        .then((response : { beverage_retailer_id : string | null, food_retailer_id : string | null }) => {\n            const {\n                beverage_retailer_id,\n                food_retailer_id,\n            } = response;\n\n            return {\n                beverageLocationId: beverage_retailer_id === null ? null : new LocationId(beverage_retailer_id),\n                foodLocationId: food_retailer_id === null ? null : new LocationId(food_retailer_id),\n            };\n        });\n    }\n\n    public createSandboxLocationForUser(userId : UserAccountId, accountType : AccountType) : Promise<LocationId> {\n        const queryParameters = {\n            user_id: userId.getValue(),\n            retailer_account_type: accountType.valueOf()\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:sandbox_retailer'), {}, queryParameters)\n        .then((response : { sandbox_retailer_id : string }) => {\n            return Promise.resolve(new LocationId(response.sandbox_retailer_id));\n        });\n    }\n\n    public getNumberOfUsersForLocation(locationId : LocationId) : Promise<number> {\n        return AjaxUtils.ajaxGet(url('account:get_number_of_users', null, locationId.getValue(), null))\n        .then((response) => {\n            return response.number_of_users;\n        });\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { IProductUploadDefaults } from 'api/Onboarding/model/IProductUploadDefaults';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IPackagingJSONObject } from 'api/Product/serializer/IProductJSONObject';\n\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\n\ntype DefaultObj<T> = {\n    original_value: string;\n    default: T;\n};\n\n// 4 keys right now: 'product_category_id', 'new_package', 'deposit', 'price'\nexport interface ProductJSON {\n    product_category_id: DefaultObj<string>;\n    new_package: DefaultObj<IPackagingJSONObject>;\n    deposit: DefaultObj<{ value: number }>;\n    price: DefaultObj<{\n        price : {iso_4217_currency_code : string, value : number};\n        price_unit : string;\n    }>;\n}\n\nexport class ProductUploadJSONToObjectSerializer {\n    constructor(\n        private readonly productJSONToObjectSerializer : ProductJSONToObjectSerializer,\n    ) {}\n\n    public getDefaultsByProductIdFromJSON(\n        defaultsByProductIdJSON : Record<string, ProductJSON>\n    ) : StringValueMap<ProductId, IProductUploadDefaults> {\n\n        const defaultsByProductId = new StringValueMap<ProductId, IProductUploadDefaults>();\n        Object.keys(defaultsByProductIdJSON).forEach((key : string) => {\n            const productId = new ProductId(key);\n            const defaultsObject = defaultsByProductIdJSON[key];\n\n            const uploadDefaults : IProductUploadDefaults = {};\n            Object.keys(defaultsObject).forEach((productFieldKey) => {\n                const fieldKey = productFieldKey as keyof ProductJSON;\n                const originalValue = defaultsObject[fieldKey].original_value;\n\n                switch (fieldKey) {\n                    case 'product_category_id':\n                        uploadDefaults.productCategory = {\n                            originalValue,\n                            default: defaultsObject[fieldKey].default,\n                        };\n                        break;\n                    case 'new_package':\n                        uploadDefaults.package = {\n                            originalValue,\n                            default: this.productJSONToObjectSerializer.getPackaging(defaultsObject[fieldKey].default)\n                        };\n                        break;\n                    case 'deposit':\n                        uploadDefaults.deposit = {\n                            originalValue,\n                            default: defaultsObject[fieldKey].default.value,\n                        };\n                        break;\n                    case 'price':\n                        const defaultValue = defaultsObject[fieldKey].default;\n                        uploadDefaults.price = {\n                            originalValue,\n                            default: this.productJSONToObjectSerializer.getPrice(defaultValue.price, defaultValue.price_unit),\n                        };\n                        break;\n                }\n            });\n\n            defaultsByProductId.set(productId, uploadDefaults);\n        });\n\n        return defaultsByProductId;\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IProductUploadService } from 'api/Onboarding/interfaces/IProductUploadService';\nimport { IProductUploadDefaults } from 'api/Onboarding/model/IProductUploadDefaults';\nimport { ProductUploadFields } from 'api/Onboarding/model/ProductUploadFields';\nimport { ProductUploadJSONToObjectSerializer } from 'api/Onboarding/serializer/ProductUploadJSONToObjectSerializer';\nimport { ProductId } from 'api/Product/model/ProductId';\n\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class ProductUploadServiceImpl implements IProductUploadService {\n    constructor (\n        private readonly productUploadJSONToObjectSerializer : ProductUploadJSONToObjectSerializer,\n    ) { }\n\n    public getMostRecentProductUploadDefaultsForLocation = (locationId : LocationId) : Promise<StringValueMap<ProductId, IProductUploadDefaults>> => {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:product_upload'), queryParameters)\n        .then((response) => {\n            const mostRecentUpload = Object.keys(response).length === 0 ? null : response.defaults_by_product_id;\n            if (mostRecentUpload === null) {\n                return new StringValueMap<ProductId, IProductUploadDefaults>(); // or throw error?\n            }\n\n            return this.productUploadJSONToObjectSerializer.getDefaultsByProductIdFromJSON(mostRecentUpload);\n        });\n    }\n\n    public createProductsFromUpload(\n        locationId : LocationId,\n        productObjects : Array<{ [bevspotColumn in ProductUploadFields] : string | null }>,\n        batchUploadId?: string,\n    ) : Promise<{ productIds: StringValueSet<ProductId>, uploadId?: string }> {\n\n        const requestBody = {\n            upload_items: productObjects,\n            upload_id: batchUploadId,\n        };\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxPost<{ product_id_set: Array<string>; upload_id?: string }>(\n            urlWithoutRetailerId('api:product_upload'), requestBody, queryParameters\n        )\n        .then((response) => {\n            const uploadId = response.upload_id;\n            const productIdValues = response.product_id_set;\n            const productIdSet = new StringValueSet<ProductId>();\n            productIdValues.forEach((value) => {\n                productIdSet.add(new ProductId(value));\n            });\n            return Promise.resolve({ productIds: productIdSet, uploadId });\n        });\n    }\n}\n","import { ProductCostSettingEvent } from 'api/Product/model/ProductCostSettingEvent';\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\nimport { Client as ProductCostServiceClient } from 'gen-thrift/ProductCostService';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { InventoryCountObjectToThriftSerializer } from 'api/InventoryCount/serializer/InventoryCountObjectToThriftSerializer';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { IProductCostService } from 'api/Product/interfaces/IProductCostService';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class ProductCostServiceImpl implements IProductCostService {\n\n    constructor(\n        private productCostServiceClient : ProductCostServiceClient,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n        private productThriftToObjectSerializer : ProductThriftToObjectSerializer,\n        private inventoryCountObjectToThriftSerializer : InventoryCountObjectToThriftSerializer,\n    ) {}\n\n    public setProductCostAtInventoryCount(\n        userSessionId : UserSessionId,\n        inventoryCountId : InventoryCountId,\n        productId : ProductId,\n        productCost : ProductCost,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        // see note below on this method\n        this.checkNonNegativeCost(productCost)\n\n        return new Promise<void>((resolve, reject) => {\n            this.productCostServiceClient.setProductCostAtInventoryCount(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductId(productId),\n                this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId),\n                this.productObjectToThriftSerializer.getThriftProductCost(productCost),\n                clientTimestamp\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public setCurrentProductCost(\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        productCost : ProductCost,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        // see note below on this method\n        this.checkNonNegativeCost(productCost)\n\n        return new Promise<void>((resolve, reject) => {\n            this.productCostServiceClient.setCurrentProductCost(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductId(productId),\n                this.productObjectToThriftSerializer.getThriftProductCost(productCost),\n                clientTimestamp\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getProductCostsByProductIdAtInventoryCount(\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>,\n        inventoryCountId : InventoryCountId,\n    ) : Promise<StringValueMap<ProductId, ProductCost>> {\n        return new Promise<StringValueMap<ProductId, ProductCost>>((resolve, reject) => {\n            this.productCostServiceClient.getProductCostsByProductIdAtInventoryCount(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductIdsFromSet(productIds),\n                this.inventoryCountObjectToThriftSerializer.getThriftInventoryCountId(inventoryCountId)\n            ).then((result) => {\n                return resolve(this.productThriftToObjectSerializer.getCostByProductId(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getCurrentProductCostsByProductId(\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>,\n    ) : Promise<StringValueMap<ProductId, ProductCost>> {\n        return new Promise<StringValueMap<ProductId, ProductCost>>((resolve, reject) => {\n            this.productCostServiceClient.getCurrentProductCostsByProductId(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductIdsFromSet(productIds)\n            ).then((result) => {\n                return resolve(this.productThriftToObjectSerializer.getCostByProductId(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getProductCostsByProductIdAtTime(\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>,\n        locationId : LocationId,\n        time : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<StringValueMap<ProductId, ProductCost>> {\n        if (productIds.size === 0) {\n            return Promise.resolve(new StringValueMap());\n        }\n        return new Promise<StringValueMap<ProductId, ProductCost>>((resolve, reject) => {\n            this.productCostServiceClient.getProductCostsByProductIdAtTime(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductIdsFromSet(productIds),\n                time,\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                return resolve(this.productThriftToObjectSerializer.getCostByProductId(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getInitialProductCosts(userSessionId: UserSessionId, locationId: LocationId, productIds: StringValueSet<ProductId>): Promise<Array<ProductCostSettingEvent>> {\n        return new Promise<Array<ProductCostSettingEvent>>((resolve, reject) => {\n            this.productCostServiceClient.getInitialProductCosts(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.productObjectToThriftSerializer.getThriftProductIdsFromSet(productIds)\n            ).then((result) => {\n                return resolve(result.map((v) => this.productThriftToObjectSerializer.getProductCostSettingEvent(v)));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // Negative costs are allowed on the backend but we have various UX pieces\n    // (namely: item card) that expect cost to be a positive value.\n    // As a last check, for safety, just error if we at any point try to save a negative cost via the frontend\n    private checkNonNegativeCost(productCost : ProductCost): void {\n        const value = decimalToNumber(productCost.getCost())\n        if (value < 0) {\n            throw new RuntimeException(`Cannot save negative cost: ${value}`)\n        }\n    }\n}\n","import CoreTimeModel from 'gen-thrift/core_time_Model_types';\n// TODO Don't use thrift time\n\nimport { Client as ProductParServiceClient } from 'gen-thrift/ProductParService';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\n\nimport { IProductParService } from '../interfaces/IProductParService';\n\nexport class ProductParServiceImpl implements IProductParService {\n    constructor(\n        private readonly  thriftClient : ProductParServiceClient,\n        private readonly userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private readonly productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n        private readonly productThriftToObjectSerializer : ProductThriftToObjectSerializer,\n    ) {\n    }\n\n    public setParsForProductId(\n        userSessionId : UserSessionId,\n        parsByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftClient.setParsByProductId(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductIdAndQuantityOfProducts(parsByProductId),\n                clientTimestamp\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getParsByProductId(\n        userSessionId : UserSessionId,\n        productIds : StringValueSet<ProductId>,\n    ) : Promise<StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit> | null>> {\n        return new Promise<StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit> | null>>((resolve, reject) => {\n            this.thriftClient.getParByProductId(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductIdsFromSet(productIds)\n            ).then((result) => {\n                const productParsByProductId = new StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit> | null>();\n                result.forEach((productIdAndQuantityOfProduct) => {\n                    if (productIdAndQuantityOfProduct.quantityOfProduct) {\n                        productParsByProductId.set(\n                            this.productThriftToObjectSerializer.getProductId(productIdAndQuantityOfProduct.productId),\n                            this.productThriftToObjectSerializer.getQuantityInUnit(productIdAndQuantityOfProduct.quantityOfProduct),\n                        );\n                    } else {\n                        productParsByProductId.set(\n                            this.productThriftToObjectSerializer.getProductId(productIdAndQuantityOfProduct.productId),\n                            null,\n                        );\n                    }\n                });\n\n                return resolve(productParsByProductId);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public unsetParForProductId(\n        userSessionId : UserSessionId,\n        productId : ProductId,\n        clientTimestamp : CoreTimeModel.TimestampWithMillisecondPrecision\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftClient.unsetParForProductId(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productObjectToThriftSerializer.getThriftProductId(productId),\n                clientTimestamp\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\nimport { ProductMergeEvent } from 'api/Product/model/ProductMergeEvent';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\nimport { ProductObjectToJSONSerializer } from 'api/Product/serializer/ProductObjectToJSONSerializer';\nimport { IMergeEventJsonObject, IMergeRequestData } from 'api/Product/serializer/IProductJSONObject';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { MergeItemUtils } from 'apps/MergeItemCard/utils/MergeItemUtils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nimport { IProductMergeService } from '../interfaces/IProductMergeService';\nimport { StringValueMap } from 'api/Core/StringValueMap';\n\nexport class ProductMergeServiceImpl implements IProductMergeService {\n\n    constructor (\n        private readonly productJSONToObjectSerializer : ProductJSONToObjectSerializer,\n        private readonly productObjectToJSONSerializer : ProductObjectToJSONSerializer,\n    ) { }\n\n    public getMergeEventsForRetailer (\n        userSessionId : UserSessionId,\n        locationId : LocationId\n    ) : Promise<StringValueMap<ProductId, Array<ProductMergeEvent>>> {\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:get_merged_products'))\n        .then((response) => {\n            return Promise.resolve(MergeItemUtils.getProductMergeEventsByProductId(response, this.productJSONToObjectSerializer));\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getMergeEventsForProductIds (\n        productIds : Array<ProductId>,\n    ) : Promise<Array<ProductMergeEvent>> {\n        const productIdValues = productIds.map((productId) => productId.getValue());\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:get_merged_products_by_id'), productIdValues)\n        .then((response : Array<IMergeEventJsonObject>) => {\n            return response.map((mergeEventJson) => {\n                const mergeEvent = this.productJSONToObjectSerializer.getMergeEvent(mergeEventJson);\n                if (!mergeEvent) {\n                    throw new RuntimeException('unexpected mergeEvent is null');\n                }\n                return mergeEvent;\n            });\n        });\n    }\n\n    public createProductMergeEvent (\n        userSessionId : UserSessionId,\n        mergeEvent : ProductMergeEvent,\n    ) : Promise<void> {\n        const mergeEventJson = this.productObjectToJSONSerializer.getMergeEventJSON(mergeEvent);\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:post_merged_products'), mergeEventJson)\n        .then((response) => {\n            return Promise.resolve();\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public executeMerge (\n        mergeRequestData : IMergeRequestData,\n    ) : Promise<{ merged_product_id: string }> {\n        return AjaxUtils.ajaxPost<{ merged_product_id: string }>(urlWithoutRetailerId('api:merge_products'), mergeRequestData)\n        .then((response) => {\n            return Promise.resolve(response);\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n}\n","import { StringValueSet } from 'api/Core/StringValueSet';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IProductService } from 'api/Product/interfaces/IProductService';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UsageData } from '../model/UsageData';\nimport { UsageDataObject, UsageDataSerializer } from '../serializer/UsageDataSerializer';\n\nimport { IUsageDataService } from '../interfaces/IUsageDataService';\n\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class UsageDataServiceImpl implements IUsageDataService {\n\n    private readonly usageDataSerializer : UsageDataSerializer;\n    private readonly productService : IProductService;\n\n    constructor (\n        usageDataSerializer : UsageDataSerializer,\n        productService : IProductService,\n    ) {\n        this.usageDataSerializer = usageDataSerializer;\n        this.productService = productService;\n    }\n\n    public getUsageData(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        startInventoryId : InventoryCountId,\n        endInventoryId : InventoryCountId,\n    ) : Promise<UsageData> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            start_inventory_id: startInventoryId.getValue(),\n            end_inventory_id: endInventoryId.getValue()\n        };\n        return AjaxUtils.ajaxGet<UsageDataObject>(urlWithoutRetailerId('api:usage_data'), queryParameters)\n        .then((response) => {\n            const productIds = new StringValueSet<ProductId>();\n            const usageCalculationParametersObject = response.usage_calculation_parameters;\n            Object.keys(response.usage_by_product_id).map((productIdString : string) => {\n                productIds.add(new ProductId(productIdString));\n            });\n            Object.keys(usageCalculationParametersObject.bottle_count_by_product_id_by_location_id_for_starting_inventory).map((productIdString : string) => {\n                productIds.add(new ProductId(productIdString));\n            });\n            Object.keys(usageCalculationParametersObject.bottle_count_by_product_id_by_location_id_for_ending_inventory).map((productIdString : string) => {\n                productIds.add(new ProductId(productIdString));\n            });\n            Object.keys(usageCalculationParametersObject.bottle_count_by_product_id_by_delivery_id).map((productIdString : string) => {\n                productIds.add(new ProductId(productIdString));\n            });\n            Object.keys(usageCalculationParametersObject.bottle_count_by_product_id_by_transfer_id).map((productIdString : string) => {\n                productIds.add(new ProductId(productIdString));\n            });\n            Object.keys(usageCalculationParametersObject.input_bottle_count_by_product_id_by_prep_event_id).map((productIdString : string) => {\n                productIds.add(new ProductId(productIdString));\n            });\n            Object.keys(usageCalculationParametersObject.output_bottle_count_by_product_id_by_prep_event_id).map((productIdString : string) => {\n                productIds.add(new ProductId(productIdString));\n            });\n            Object.keys(usageCalculationParametersObject.bottle_cost_by_product_id).map((productIdString : string) => {\n                productIds.add(new ProductId(productIdString));\n            });\n\n            return this.productService.getProductsById(userSessionId, locationId, productIds).then((productResponse) => {\n                return Promise.resolve(this.usageDataSerializer.getUsageData(response, productResponse.productsById));\n            });\n        });\n    }\n}\n","import { Cart } from 'api/Cart/model/Cart';\nimport { CartItem } from 'api/Cart/model/CartItem';\nimport { CartItemId } from 'api/Cart/model/CartItemId';\nimport { InventoryColumnOption } from 'api/Cart/model/InventoryColumnOption';\nimport { UsageColumnOption } from 'api/Cart/model/UsageColumnOption';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DistributorRepId } from 'api/Distributor/model/DistributorRepId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { CartDistributorInfo } from '../model/CartDistributorInfo';\n\ninterface ICartJSONObject {\n    cart_items : Array<{\n        cart_item_id : string;\n        product_id : string;\n        distributor_id : string | null;\n        product_quantity_unit : string;\n        unit_quantity : number;\n    }>;\n    cart_distributor_info_by_id : {\n        [distributorIdValue : string] : {\n            saved_for_later : boolean,\n            retailer_note : string,\n            reps : Array<string>,\n            purchase_order_number : string;\n        }\n    };\n    cart_hash : string;\n}\n\nexport type groupByOptionValue = 'no_grouping' | 'distributor' | 'product_category_id' | 'product_type';\nexport type usageColumnOptionValue = 'par' | 'weekly_usage' | 'actual_usage' | 'quantity_to_order';\nexport type referenceInventoryOptionValue = 'draft' | 'latest' | 'expected';\n\nexport interface IAdditionalCartBuilderDataJSONObject {\n    comparison_option : usageColumnOptionValue | null;\n    group_by_option :  groupByOptionValue | null;\n    reference_inventory_option: referenceInventoryOptionValue | null;\n    default_product_quantity_unit_by_id : { [productIdValue : string] : string };\n    expected_inventory_bottle_count_by_product_id : { [productIdValue : string] : number } | null;\n    // expected_inventory_breakdown: {}\n}\n\nexport class CartJSONToObjectSerializer {\n    constructor(\n        private readonly productJSONToObjectSerializer : ProductJSONToObjectSerializer,\n    ) {}\n\n    public getCart(\n        cartJSONObject : ICartJSONObject\n    ) : Cart {\n        const cartItems : Array<CartItem> = [];\n        cartJSONObject.cart_items.forEach((cartItem) => {\n            cartItems.push(\n                new CartItem(\n                    new CartItemId(cartItem.cart_item_id),\n                    this.productJSONToObjectSerializer.getProductId(cartItem.product_id),\n                    cartItem.distributor_id ? new DistributorId(cartItem.distributor_id) : null,\n                    this.productJSONToObjectSerializer.getProductQuantityUnit(cartItem.product_quantity_unit),\n                    cartItem.unit_quantity\n                )\n            );\n        });\n\n        const cartDistributorInfoById = new StringValueMap<DistributorId | null, CartDistributorInfo>();\n        Object.keys(cartJSONObject.cart_distributor_info_by_id).forEach((distributorIdValue) => {\n            const cartDistributorInfoJSON = cartJSONObject.cart_distributor_info_by_id[distributorIdValue];\n\n            const includedDistributorReps = new StringValueSet(cartDistributorInfoJSON.reps.map((repIdValue) => {\n                return new DistributorRepId(repIdValue);\n            }));\n\n            cartDistributorInfoById.set(\n                (distributorIdValue === 'null') ? null : new DistributorId(distributorIdValue),\n                new CartDistributorInfo(\n                    cartDistributorInfoJSON.saved_for_later,\n                    cartDistributorInfoJSON.retailer_note,\n                    includedDistributorReps,\n                    cartDistributorInfoJSON.purchase_order_number,\n                )\n            );\n        });\n\n        return new Cart(\n            cartItems,\n            cartDistributorInfoById,\n            cartJSONObject.cart_hash\n        );\n    }\n\n    public getAdditionalCartBuilderData(\n        additionalCartBuilderDataJSONObject : IAdditionalCartBuilderDataJSONObject\n    ) {\n        const {\n            comparison_option,\n            group_by_option,\n            reference_inventory_option,\n            default_product_quantity_unit_by_id,\n            expected_inventory_bottle_count_by_product_id,\n        } = additionalCartBuilderDataJSONObject;\n\n        const defaultProductQuantityUnitByProductId = new StringValueMap<ProductId, ProductQuantityUnit>();\n        Object.keys(default_product_quantity_unit_by_id).forEach((productIdValue : string) => {\n            defaultProductQuantityUnitByProductId.set(\n                this.productJSONToObjectSerializer.getProductId(productIdValue),\n                this.productJSONToObjectSerializer.getProductQuantityUnit(default_product_quantity_unit_by_id[productIdValue])\n            );\n        });\n\n        let expectedInventoryBottleCountByProductId : StringValueMap<ProductId, number> | null = null;\n        if (expected_inventory_bottle_count_by_product_id) {\n            const inventoryBottleCountByProductId = new StringValueMap<ProductId, number>();\n            Object.keys(expected_inventory_bottle_count_by_product_id).forEach((productIdValue : string) => {\n                inventoryBottleCountByProductId.set(\n                    this.productJSONToObjectSerializer.getProductId(productIdValue),\n                    expected_inventory_bottle_count_by_product_id[productIdValue]\n                );\n            });\n\n            expectedInventoryBottleCountByProductId = inventoryBottleCountByProductId;\n        }\n\n        let groupByOption : GroupByOption | null;\n        switch (group_by_option) {\n            case 'no_grouping':\n                groupByOption = GroupByOption.ALL_ITEMS;\n                break;\n            case 'distributor':\n                groupByOption = GroupByOption.DISTRIBUTOR;\n                break;\n            case 'product_category_id':\n                groupByOption = GroupByOption.CATEGORY;\n                break;\n            case 'product_type':\n                groupByOption = GroupByOption.ITEM_TYPE;\n                break;\n            case null:\n                groupByOption = null;\n                break;\n            default:\n                throw new RuntimeException(`unexpected groupByOption: ${ group_by_option }`);\n        }\n\n        let inventoryColumnOption : InventoryColumnOption | null;\n        switch (reference_inventory_option) {\n            case 'draft':\n                inventoryColumnOption = InventoryColumnOption.INVENTORY_DRAFT;\n                break;\n            case 'latest':\n                inventoryColumnOption = InventoryColumnOption.LATEST_FINALIZED_INVENTORY;\n                break;\n            case 'expected':\n                inventoryColumnOption = InventoryColumnOption.EXPECTED_INVENTORY;\n                break;\n            case null:\n                inventoryColumnOption = null;\n                break;\n            default:\n                throw new RuntimeException(`unexpected inventoryColumnOption: ${ reference_inventory_option }`);\n        }\n\n        let usageColumnOption;\n        switch (comparison_option) {\n            case 'weekly_usage':\n                usageColumnOption = UsageColumnOption.WEEKLY_USAGE;\n                break;\n            case 'actual_usage':\n                usageColumnOption = UsageColumnOption.ACTUAL_USAGE;\n                break;\n            case 'quantity_to_order':\n                usageColumnOption = UsageColumnOption.QUANTITY_TO_ORDER;\n                break;\n            case 'par':\n                usageColumnOption = UsageColumnOption.PRODUCT_PAR;\n                break;\n            case null:\n                usageColumnOption = null;\n                break;\n            default:\n                throw new RuntimeException(`unexpected usageColumnOption: ${ comparison_option }`);\n        }\n\n        return {\n            usageColumnOption,\n            groupByOption,\n            inventoryColumnOption,\n            defaultProductQuantityUnitByProductId,\n            expectedInventoryBottleCountByProductId,\n        };\n    }\n}\n","import { InventoryColumnOption } from 'api/Cart/model/InventoryColumnOption';\nimport { UsageColumnOption } from 'api/Cart/model/UsageColumnOption';\nimport { groupByOptionValue, referenceInventoryOptionValue, usageColumnOptionValue } from 'api/Cart/serializer/CartJSONToObjectSerializer';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { GroupByOption } from 'shared/models/GroupByOption';\n\nexport class CartObjectToJSONSerializer {\n    public getGroupByOption(\n        groupByOption : GroupByOption\n    ) : groupByOptionValue {\n        let value : groupByOptionValue;\n\n        switch (groupByOption) {\n            case GroupByOption.ALL_ITEMS:\n                value = 'no_grouping';\n                break;\n            case GroupByOption.DISTRIBUTOR:\n                value = 'distributor';\n                break;\n            case GroupByOption.CATEGORY:\n                value = 'product_category_id';\n                break;\n            case GroupByOption.ITEM_TYPE:\n                value = 'product_type';\n                break;\n            case GroupByOption.LAST_EDITED:\n            case GroupByOption.GL_CODE:\n            case GroupByOption.MENU_GROUP:\n            default:\n                throw new RuntimeException(`unexpected groupByOption: ${ groupByOption }`);\n        }\n\n        return value;\n    }\n\n    public getInventoryColumnOption(\n        inventoryColumnOption : InventoryColumnOption\n    ) : referenceInventoryOptionValue {\n        let value : referenceInventoryOptionValue;\n\n        switch (inventoryColumnOption) {\n            case InventoryColumnOption.INVENTORY_DRAFT:\n                value = 'draft';\n                break;\n            case InventoryColumnOption.LATEST_FINALIZED_INVENTORY:\n                value = 'latest';\n                break;\n            case InventoryColumnOption.EXPECTED_INVENTORY:\n                value = 'expected';\n                break;\n            default:\n                throw new RuntimeException(`unexpected inventoryColumnOption: ${ inventoryColumnOption }`);\n        }\n\n        return value;\n    }\n\n    public getUsageColumnOption(\n        usageColumnOption : UsageColumnOption\n    ) : usageColumnOptionValue {\n        switch (usageColumnOption) {\n            case UsageColumnOption.WEEKLY_USAGE:\n                return 'weekly_usage';\n            case UsageColumnOption.ACTUAL_USAGE:\n                return 'actual_usage';\n            case UsageColumnOption.QUANTITY_TO_ORDER:\n                return 'quantity_to_order';\n            case UsageColumnOption.PRODUCT_PAR:\n            default:\n                return 'par';\n        }\n    }\n}\n","import { CartItemId } from 'api/Cart/model/CartItemId';\nimport moment from 'moment-timezone';\n\nimport { ICartService } from 'api/Cart/interfaces/ICartService';\nimport { Cart } from 'api/Cart/model/Cart';\nimport { InventoryColumnOption } from 'api/Cart/model/InventoryColumnOption';\nimport { UsageColumnOption } from 'api/Cart/model/UsageColumnOption';\nimport { CartJSONToObjectSerializer } from 'api/Cart/serializer/CartJSONToObjectSerializer';\nimport { CartObjectToJSONSerializer } from 'api/Cart/serializer/CartObjectToJSONSerializer';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { DistributorRepId } from 'api/Distributor/model/DistributorRepId';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { ProductObjectToJSONSerializer } from 'api/Product/serializer/ProductObjectToJSONSerializer';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { DJANGO_DATE_TIME_FIELD_FORMAT } from 'shared/constants';\n\nexport class CartServiceImpl implements ICartService {\n\n    constructor (\n        private readonly cartJSONToObjectSerializer : CartJSONToObjectSerializer,\n        private readonly cartObjectToJSONSerializer : CartObjectToJSONSerializer,\n        private readonly productObjectToJSONSerializer : ProductObjectToJSONSerializer,\n    ) { }\n\n    public getCartForLocation(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<Cart> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:cart'), queryParameters)\n        .then((response) => {\n            return this.cartJSONToObjectSerializer.getCart(response);\n        });\n    }\n\n    public clearCart(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<void> {\n        return AjaxUtils.ajaxPost(url('ordering:cart:remove', null, locationId.getValue(), null), {})\n        .then((response) => {\n            return Promise.resolve();\n        });\n    }\n\n    public setNoteForDistributor(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        distributorId : DistributorId,\n        note : string\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:add_note', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        formData.append('note', note);\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public removeDistributorItems(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        distributorId : DistributorId | null,\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:remove_distributor_items', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n\n        if (distributorId) {\n            formData.append('distributor_id', distributorId.getValue());\n        }\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public setDistributorItemsIsSavedForLater(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        distributorId : DistributorId | null,\n        isSavedForLater : boolean\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:save_distributor_items_for_later', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n\n        if (distributorId) {\n            formData.append('distributor_id', distributorId.getValue());\n        }\n\n        formData.append('saved_for_later', isSavedForLater.toString());\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public setPurchaseOrderNumberForDistributor(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        distributorId : DistributorId,\n        purchaseOrderNumber : string\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:add_purchase_order_number', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        formData.append('purchase_order_number', purchaseOrderNumber);\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public addDistributorRep(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        distributorId : DistributorId,\n        distributorRepId : DistributorRepId,\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:add_rep', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        formData.append('rep_id', distributorRepId.getValue());\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public removeDistributorRep(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        distributorId : DistributorId,\n        distributorRepId : DistributorRepId,\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:remove_rep', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('distributor_id', distributorId.getValue());\n        formData.append('rep_id', distributorRepId.getValue());\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public smartCartFromPar(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        referenceInventoryId : InventoryCountId | null,\n        inventoryColumnOption : InventoryColumnOption,\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:smart_par', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('comparison_type', 'par');\n        formData.append('reference_inventory_id', referenceInventoryId ? referenceInventoryId.getValue() : '');\n        formData.append('reference_inventory_option', this.cartObjectToJSONSerializer.getInventoryColumnOption(inventoryColumnOption));\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public smartCartFromWeeklyUsage(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        referenceInventoryId : InventoryCountId,\n        inventoryColumnOption : InventoryColumnOption,\n        usageMultiple : number,\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:smart_par', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('comparison_type', 'weekly_usage');\n        formData.append('usage_multiple', usageMultiple.toString());\n        formData.append('reference_inventory_id', referenceInventoryId ? referenceInventoryId.getValue() : '');\n        formData.append('reference_inventory_option', this.cartObjectToJSONSerializer.getInventoryColumnOption(inventoryColumnOption));\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public setUserCartBuilderViewPreferences(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        groupByOption : GroupByOption,\n        usageColumnOption : UsageColumnOption,\n        inventoryColumnOption : InventoryColumnOption,\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:set_builder_view_preferences', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('group_by', this.cartObjectToJSONSerializer.getGroupByOption(groupByOption));\n        formData.append('comparison', this.cartObjectToJSONSerializer.getUsageColumnOption(usageColumnOption));\n        formData.append('shown', this.cartObjectToJSONSerializer.getInventoryColumnOption(inventoryColumnOption));\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public getAdditionalCartBuilderData(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) {\n        return AjaxUtils.ajaxGet(url('ordering:cart:get_additional_builder_data', null, locationId.getValue(), null))\n        .then((response) => {\n            return this.cartJSONToObjectSerializer.getAdditionalCartBuilderData(response);\n        });\n    }\n\n    public addCartItemToCart(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        productId : ProductId,\n        distributorId : DistributorId | null,\n        productQuantityUnit : ProductQuantityUnit,\n        quantity : number,\n    ) : Promise<Cart> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            product_id: productId.getValue(),\n            distributor_id: distributorId ? distributorId.getValue() : '',\n            product_quantity_unit: this.productObjectToJSONSerializer.getProductQuantityUnit(productQuantityUnit),\n            quantity\n        };\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:cart'), null, queryParameters)\n        .then((response) => {\n            return this.cartJSONToObjectSerializer.getCart(response);\n        });\n    }\n\n    public updateCartItemInCart(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        cartItemId : CartItemId,\n        productId : ProductId,\n        distributorId : DistributorId | null,\n        productQuantityUnit : ProductQuantityUnit,\n        quantity : number,\n    ) : Promise<Cart> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            product_id: productId.getValue(),\n            distributor_id: distributorId ? distributorId.getValue() : '',\n            cart_item_id: cartItemId.getValue(),\n            product_quantity_unit: this.productObjectToJSONSerializer.getProductQuantityUnit(productQuantityUnit),\n            quantity: quantity.toString()\n        };\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:cart'), null, queryParameters, 'json')\n        .then((response) => {\n            return this.cartJSONToObjectSerializer.getCart(response);\n        });\n    }\n\n    public placeOrder(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        cartHash: string,\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:place_order', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('cart_hash', cartHash);\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then((response) => {\n            return Promise.resolve();\n        })\n        .catch((error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public recordOrder(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        cartHash: string,\n        orderDate: moment.Moment\n    ) : Promise<void> {\n        const urlValue = url('ordering:cart:create_order', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('cart_hash', cartHash);\n        formData.append('date_time', orderDate.format(DJANGO_DATE_TIME_FIELD_FORMAT));\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then((response) => {\n            return Promise.resolve();\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public shareOrder(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        userAccountIds : StringValueSet<UserAccountId>,\n    ) : Promise<void> {\n        const userAccountIdValues : Array<string> = [];\n        userAccountIds.forEach((userAccountId) => {\n            userAccountIdValues.push(userAccountId.getValue());\n        });\n\n        const urlValue = url('ordering:cart:share_order', null, locationId.getValue(), null);\n\n        const formData : FormData = new FormData();\n        formData.append('user_ids', userAccountIdValues.join());\n\n        return AjaxUtils.ajaxPostForm(urlValue, formData)\n        .then((response) => {\n            return Promise.resolve();\n        });\n    }\n\n    public getUserOptionsForShareOrder(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<Array<{userAccountId : UserAccountId, firstName : string, lastName : string, emailAddress : string}>> {\n        return AjaxUtils.ajaxGet(url('ordering:cart:get_users_for_share_order', null, locationId.getValue(), null))\n        .then((response) => {\n            return response.users_by_id.map((userDict: Record<string, string>) => {\n                return {\n                    userAccountId: new UserAccountId(userDict.user_id),\n                    firstName: userDict.first_name,\n                    lastName: userDict.last_name,\n                    emailAddress: userDict.email_address\n                };\n            });\n        });\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { DistributorAdjustmentId } from 'api/Distributor/model/DistributorAdjustmentId';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { DeliveryLineItem } from 'api/Ordering/model/DeliveryLineItem';\nimport { DeliveryMetadata } from 'api/Ordering/model/DeliveryMetadata';\nimport { DeliveryRepInfo } from 'api/Ordering/model/DeliveryRepInfo';\nimport { InvoiceProcessingData } from 'api/Ordering/model/InvoiceProcessingData';\nimport { InvoiceProcessingResult } from 'api/Ordering/model/InvoiceProcessingResult';\nimport { InvoiceProcessingResultAdjustment } from 'api/Ordering/model/InvoiceProcessingResultAdjustment';\nimport { InvoiceProcessingResultLineItem } from 'api/Ordering/model/InvoiceProcessingResultLineItem';\nimport { InvoiceUpload } from 'api/Ordering/model/InvoiceUpload';\nimport { InvoiceUploadId } from 'api/Ordering/model/InvoiceUploadId';\nimport { PriceAdjustment } from 'api/Ordering/model/PriceAdjustment';\nimport { IDeliveryJSONObject, IDeliveryMetadataJSONObject } from 'api/Ordering/serializer/IDeliveryJSONObject';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport {\n    IUserAccountIdAndTimestampJSONObject,\n    UserAccountIdAndTimestamp\n} from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\nimport moment from 'moment-timezone';\n\nimport { NULL_DISTRIBUTOR_ID } from 'shared/constants';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { InvoiceProcessingResultSource } from '../model/InvoiceProcessingResultSource';\nimport { NormalizedLineItem } from '../model/NormalizedLineItem';\nimport { NormalizedPackaging } from '../model/NormalizedPackaging';\nimport { ValidationResult, ValidationResultField } from 'api/Ordering/model/ValidationResult';\nimport { InvoiceProcessingResultTax } from 'api/Ordering/model/InvoiceProcessingResultTax';\n\ninterface IInvoiceUploadJSON {\n    name : string;\n    url : string;\n    upload_time : string;\n    file_extension : string;\n    order_id : string | null;\n    invoice_processing_data : IInvoiceProcessingDataJSON | null;\n    is_onboarding : boolean;\n}\n\ninterface INormalizedPackagingJSON {\n    content: INormalizedPackagingJSON | null;\n    quantity_of_content: number;\n    name: string;\n    unit: string;\n}\n\ninterface IValidationResultJSON {\n    field : ValidationResultField | null;\n    message : string;\n}\n\ninterface IInvoiceProcessingResultTax {\n    name : string;\n    total : number | undefined;\n    validation_results : Array<IValidationResultJSON>;\n}\n\ninterface IInvoiceProcessingDataJSON {\n    request_user_id : string | null;\n    request_time : string | null;\n    child_invoice_result_count : number | null;\n    processed_invoice_upload_ids_by_child_invoice_external_id : { [key : string] : string | null };\n    result : {\n        invoice_number : string | null;\n        date : string | null;   // LOCAL date WITHOUT time\n        distributor_name : string | null;\n        total_amount : number | null;\n        line_items : Array<{\n            line_item_id : string,\n            name : string,\n            sku : string | null,\n            price : number | null,\n            quantity : number | null,\n            unit : string | null,\n            unit_deposit : number | null,\n            discount: number | null,\n            tax: number | null,\n            other_adjustments: number | null,\n            pack_size: string | null,\n            normalized_line_item: {\n                'id': string,\n                'brand': string,\n                'category': string,\n                'name': string,\n                'sku': string,\n                'tags': { [key : string] : string | null },\n            } | null,\n            normalized_packaging: INormalizedPackagingJSON,\n            validation_results : Array<IValidationResultJSON>,\n        }>;\n        adjustments : Array<{\n            name: string | null,\n            amount: number | null,\n            validation_results : Array<IValidationResultJSON>,\n        }>,\n        taxes : Array<IInvoiceProcessingResultTax>,\n        error_message : string | null;\n        source: string;\n        bevspot_distributor_id: string,\n        normalized_distributor_id: string,\n        normalized_distributor_name: string,\n        validation_results : Array<IValidationResultJSON>,\n    } | null;\n    result_time : string | null;\n    review_user_id : string | null;\n    review_time : string | null;\n    rejection_event : IUserAccountIdAndTimestampJSONObject | null;\n}\n\nexport class OrderingJSONToObjectSerializer {\n\n    constructor(\n        private readonly productJSONToObjectSerializer : ProductJSONToObjectSerializer,\n    ) {}\n\n    public getDeliveryId(\n        deliveryIdValue : string\n    ) : DeliveryId {\n        return new DeliveryId(deliveryIdValue);\n    }\n\n    public getInvoiceUploadId(\n        invoiceUploadIdValue : string\n    ) : InvoiceUploadId {\n        return new InvoiceUploadId(invoiceUploadIdValue);\n    }\n\n    public getInvoiceProcessingResultSource(\n        invoiceProcessingResultSourceValue : string\n    ) : InvoiceProcessingResultSource {\n        switch (invoiceProcessingResultSourceValue) {\n            case 'PLATE_IQ':\n                return InvoiceProcessingResultSource.PLATE_IQ;\n            case 'FINTECH':\n                return InvoiceProcessingResultSource.FINTECH;\n            case 'ROSSUM':\n                return InvoiceProcessingResultSource.ROSSUM;\n            case 'STEDI_SYSCO':\n                return InvoiceProcessingResultSource.STEDI_SYSCO;\n            case 'STEDI_USFOODS':\n                return InvoiceProcessingResultSource.STEDI_USFOODS;\n            case 'BEVSPOT_INTERNAL':\n                return InvoiceProcessingResultSource.BEVSPOT_INTERNAL;\n            default:\n                throw new RuntimeException(`unexpected invoiceProcessingResultSource: ${ invoiceProcessingResultSourceValue }`);\n        }\n    }\n\n    public getDeliveryMetadataById(\n        deliveryMetadataJSONObjects : { [idValue : string] : IDeliveryMetadataJSONObject }\n    ) : StringValueMap<DeliveryId, DeliveryMetadata> {\n        const deliveries = new StringValueMap<DeliveryId, DeliveryMetadata>();\n\n        Object.keys(deliveryMetadataJSONObjects).forEach((idValue) => {\n            const json = deliveryMetadataJSONObjects[idValue];\n            deliveries.set(\n                this.getDeliveryId(idValue),\n                this.getDeliveryMetadata(json)\n            );\n        });\n\n        return deliveries;\n    }\n\n    public getDeliveriesById(\n        deliveriesByIdJSONObject : { [idValue : string] : IDeliveryJSONObject }\n    ) : StringValueMap<DeliveryId, Delivery> {\n        const deliveries = new StringValueMap<DeliveryId, Delivery>();\n\n        Object.keys(deliveriesByIdJSONObject).forEach((idValue) => {\n            const deliveryJSONObject = deliveriesByIdJSONObject[idValue];\n            deliveries.set(\n                this.getDeliveryId(idValue),\n                this.getDelivery(deliveryJSONObject)\n            );\n        });\n\n        return deliveries;\n    }\n\n    public getInvoiceUploadsById(\n        invoiceUploadsByIdJSON : {[invoiceUploadIdValue : string] : IInvoiceUploadJSON},\n    ) : StringValueMap<InvoiceUploadId, InvoiceUpload> {\n        const invoiceUploadsById = new StringValueMap<InvoiceUploadId, InvoiceUpload>();\n        Object.keys(invoiceUploadsByIdJSON).forEach((invoiceUploadIdValue) => {\n            const invoiceUploadJSON = invoiceUploadsByIdJSON[invoiceUploadIdValue];\n            invoiceUploadsById.set(\n                this.getInvoiceUploadId(invoiceUploadIdValue),\n                this.getInvoiceUpload(invoiceUploadJSON)\n            );\n        });\n\n        return invoiceUploadsById;\n    }\n\n    public getInvoiceUploadsByDeliveryId(\n        invoiceUploadsByIdByDeliveryIdJSONData : {[deliveryIdValue : string] : {[invoiceUploadIdValue : string] : IInvoiceUploadJSON}},\n    ) : StringValueMap<DeliveryId, StringValueMap<InvoiceUploadId, InvoiceUpload>> {\n        const invoiceUploadsByDeliveryId = new StringValueMap<DeliveryId, StringValueMap<InvoiceUploadId, InvoiceUpload>>();\n\n        Object.keys(invoiceUploadsByIdByDeliveryIdJSONData).forEach((deliveryIdValue) => {\n            invoiceUploadsByDeliveryId.set(\n                this.getDeliveryId(deliveryIdValue),\n                this.getInvoiceUploadsById(invoiceUploadsByIdByDeliveryIdJSONData[deliveryIdValue])\n            );\n        });\n\n        return invoiceUploadsByDeliveryId;\n    }\n\n    public getInvoiceUpload(uploadJSON : IInvoiceUploadJSON) : InvoiceUpload {\n        const invoiceProcessingDataJSON = uploadJSON.invoice_processing_data;\n        return new InvoiceUpload(\n            uploadJSON.name,\n            uploadJSON.url,\n            moment.utc(uploadJSON.upload_time),\n            uploadJSON.file_extension,\n            uploadJSON.order_id ? this.getDeliveryId(uploadJSON.order_id) : null,\n            invoiceProcessingDataJSON ? this.getInvoiceProcessingData(invoiceProcessingDataJSON) : null,\n            uploadJSON.is_onboarding,\n        );\n    }\n\n    public getNormalizedPackaging(\n        packagingObject : INormalizedPackagingJSON,\n    ) : NormalizedPackaging {\n        return new NormalizedPackaging(\n            packagingObject.name,\n            (packagingObject.content === null) ? null : this.getNormalizedPackaging(packagingObject.content),\n            packagingObject.quantity_of_content,\n            packagingObject.unit\n        );\n    }\n\n    public getInvoiceProcessingData(invoiceProcessingDataJSON : IInvoiceProcessingDataJSON) : InvoiceProcessingData {\n        let invoiceProcessingResult : InvoiceProcessingResult | null = null;\n        if (invoiceProcessingDataJSON.result) {\n            const resultJSON = invoiceProcessingDataJSON.result;\n\n            invoiceProcessingResult = new InvoiceProcessingResult(\n                resultJSON.invoice_number,\n                resultJSON.date ? moment.utc(resultJSON.date) : null,\n                resultJSON.distributor_name,\n                resultJSON.line_items.map((lineItemJSON) => {\n                    let normalizedLineItem = null;\n                    if (lineItemJSON.normalized_line_item) {\n                        normalizedLineItem = new NormalizedLineItem(\n                            lineItemJSON.normalized_line_item.id,\n                            lineItemJSON.normalized_line_item.brand,\n                            lineItemJSON.normalized_line_item.name,\n                            lineItemJSON.normalized_line_item.sku,\n                            lineItemJSON.normalized_line_item.category,\n                        );\n                    }\n\n                    let normalizedPackaging = null;\n                    if (lineItemJSON.normalized_packaging) {\n                        normalizedPackaging = this.getNormalizedPackaging(lineItemJSON.normalized_packaging);\n                    }\n\n                    return new InvoiceProcessingResultLineItem(\n                        lineItemJSON.line_item_id,\n                        lineItemJSON.name,\n                        lineItemJSON.sku,\n                        lineItemJSON.price,\n                        lineItemJSON.quantity,\n                        lineItemJSON.unit,\n                        lineItemJSON.unit_deposit,\n                        lineItemJSON.discount,\n                        lineItemJSON.tax,\n                        lineItemJSON.other_adjustments,\n                        lineItemJSON.pack_size,\n                        normalizedLineItem,\n                        normalizedPackaging,\n                        lineItemJSON.validation_results.map((validationResult) => this.getValidationResult(validationResult)),\n                    );\n                }),\n                resultJSON.adjustments.map((adjustment) => {\n                    return new InvoiceProcessingResultAdjustment(\n                        adjustment.name,\n                        adjustment.amount,\n                        adjustment.validation_results.map((validationResult) => this.getValidationResult(validationResult)),\n                    );\n                }),\n                resultJSON.taxes.map((tax) => {\n                    return new InvoiceProcessingResultTax(\n                        tax.name,\n                        tax.total,\n                        tax.validation_results.map((validationResult) => this.getValidationResult(validationResult)),\n                    );\n                }),\n                resultJSON.total_amount,\n                resultJSON.error_message,\n                this.getInvoiceProcessingResultSource(resultJSON.source),\n                resultJSON.validation_results.map((validationResult) => this.getValidationResult(validationResult)),\n            );\n        }\n\n        let requestUserId : UserAccountId | null = null;\n        if (invoiceProcessingDataJSON.request_user_id) {\n            requestUserId = new UserAccountId(invoiceProcessingDataJSON.request_user_id);\n        }\n\n        let requestTime : moment.Moment | null = null;\n        if (invoiceProcessingDataJSON.request_time) {\n            requestTime = moment.utc(invoiceProcessingDataJSON.request_time);\n        }\n\n        const processedInvoiceUploadIdsByChildInvoiceExternalId : { [k: string] : null | InvoiceUploadId } = {};\n        Object.keys(invoiceProcessingDataJSON.processed_invoice_upload_ids_by_child_invoice_external_id).forEach((k : string) => {\n            const v = invoiceProcessingDataJSON.processed_invoice_upload_ids_by_child_invoice_external_id[k];\n            processedInvoiceUploadIdsByChildInvoiceExternalId[k] = v === null ? null : new InvoiceUploadId(v);\n        });\n\n        let resultTime : moment.Moment | null = null;\n        if (invoiceProcessingDataJSON.result_time) {\n            resultTime = moment.utc(invoiceProcessingDataJSON.result_time);\n        }\n\n        let reviewUserId : UserAccountId | null = null;\n        if (invoiceProcessingDataJSON.review_user_id) {\n            reviewUserId = new UserAccountId(invoiceProcessingDataJSON.review_user_id);\n        }\n\n        let reviewTime : moment.Moment | null = null;\n        if (invoiceProcessingDataJSON.review_time) {\n            reviewTime = moment.utc(invoiceProcessingDataJSON.review_time);\n        }\n\n        let rejectionEvent : UserAccountIdAndTimestamp | undefined;\n        if (invoiceProcessingDataJSON.rejection_event) {\n            rejectionEvent = UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(invoiceProcessingDataJSON.rejection_event);\n        }\n\n        return new InvoiceProcessingData(\n            requestUserId,\n            requestTime,\n            invoiceProcessingDataJSON.child_invoice_result_count,\n            processedInvoiceUploadIdsByChildInvoiceExternalId,\n            invoiceProcessingResult,\n            resultTime,\n            reviewUserId,\n            reviewTime,\n            rejectionEvent,\n        );\n    }\n\n    public getDeliveryMetadata(\n        deliveryJSONObject : IDeliveryMetadataJSONObject\n    ) : DeliveryMetadata {\n        let recordedByUserId : UserAccountId | null;\n        if (deliveryJSONObject.recorded_by === null) {\n            recordedByUserId = null;\n        } else {\n            recordedByUserId = new UserAccountId(deliveryJSONObject.recorded_by);\n        }\n        let dateDelivered : moment.Moment;\n        let deliveryConfirmationEventTimeUTC : moment.Moment | null = null;\n        let deliveryConfirmationUserId : UserAccountId | null = null;\n        if (deliveryJSONObject.delivery_report) {\n            dateDelivered = moment.utc(deliveryJSONObject.delivery_report.time_delivered);\n            deliveryConfirmationEventTimeUTC = moment.utc(deliveryJSONObject.delivery_report.time_reported);\n            deliveryConfirmationUserId = new UserAccountId(deliveryJSONObject.delivery_report.reporter_user_id);\n        } else if (deliveryJSONObject.predicted_delivery_time) {\n            dateDelivered = moment.utc(deliveryJSONObject.predicted_delivery_time);\n        } else {\n            throw new RuntimeException('unexpectedly able to parse \"dateDelivered\"');\n        }\n\n        const datePlaced = moment.utc(deliveryJSONObject.time_placed);\n        const dateRecorded = moment.utc(deliveryJSONObject.time_recorded);\n\n        const distributorId = deliveryJSONObject.distributor_id === NULL_DISTRIBUTOR_ID ? null : new DistributorId(deliveryJSONObject.distributor_id);\n\n        const distributorReps = deliveryJSONObject.distributor_reps.map((distributorRepJSON) => {\n            return new DeliveryRepInfo(\n                distributorRepJSON.name,\n                distributorRepJSON.email_address,\n                distributorRepJSON.phone_number,\n                distributorRepJSON.bevspot_sent_email_to_email_address,\n                distributorRepJSON.bevspot_sent_sms_to_phone_number,\n                distributorRepJSON.attach_csv,\n            );\n        });\n\n        return new DeliveryMetadata(\n            datePlaced,\n            dateDelivered,\n            distributorId,\n            deliveryJSONObject.invoice_number,\n            deliveryJSONObject.note_to_self,\n            recordedByUserId,\n            dateRecorded,\n            deliveryConfirmationEventTimeUTC,\n            deliveryConfirmationUserId,\n            deliveryJSONObject.note_to_rep,\n            distributorReps,\n            deliveryJSONObject.is_draft ?? false,\n        );\n    }\n\n    public getDelivery(\n        deliveryJSONObject : IDeliveryJSONObject\n    ) : Delivery {\n        const productLineItems = deliveryJSONObject.line_items.map((lineItem) => {\n\n            return new DeliveryLineItem(\n                new ProductId(lineItem.product_id),\n                this.productJSONToObjectSerializer.getProductQuantityUnit(lineItem.product_quantity_unit),\n                lineItem.unit_quantity,\n                lineItem.unit_price.value,\n                lineItem.unit_deposit.value,\n                lineItem.discount.value,\n                lineItem.tax.value,\n                lineItem.other_adjustments.value,\n                lineItem.invoice_upload_id ? this.getInvoiceUploadId(lineItem.invoice_upload_id) : null,\n                lineItem.invoice_upload_line_item_id ? lineItem.invoice_upload_line_item_id : null,\n            );\n        });\n\n        let dateDelivered : moment.Moment;\n        let deliveryConfirmationEventTimeUTC : moment.Moment | null = null;\n        let deliveryConfirmationUserId : UserAccountId | null = null;\n        if (deliveryJSONObject.delivery_report) {\n            dateDelivered = moment.utc(deliveryJSONObject.delivery_report.time_delivered);\n            deliveryConfirmationEventTimeUTC = moment.utc(deliveryJSONObject.delivery_report.time_reported);\n            deliveryConfirmationUserId = new UserAccountId(deliveryJSONObject.delivery_report.reporter_user_id);\n        } else if (deliveryJSONObject.predicted_delivery_time) {\n            dateDelivered = moment.utc(deliveryJSONObject.predicted_delivery_time);\n        } else {\n            throw new RuntimeException('unexpectedly able to parse \"dateDelivered\"');\n        }\n\n        const datePlaced = moment.utc(deliveryJSONObject.time_placed);\n        const dateRecorded = moment.utc(deliveryJSONObject.time_recorded);\n\n        const distributorId = deliveryJSONObject.distributor_id === NULL_DISTRIBUTOR_ID ? null : new DistributorId(deliveryJSONObject.distributor_id);\n\n        const priceAdjustmentsByProductCategoryId = new Map<string, Array<PriceAdjustment>>();\n        Object.keys(deliveryJSONObject.price_adjustments_by_product_category_id).forEach((productCategoryId : string) => {\n            const priceAdjustmentsForCategory = deliveryJSONObject.price_adjustments_by_product_category_id[productCategoryId].map((priceAdjustmentJSON) => {\n                return new PriceAdjustment(\n                    priceAdjustmentJSON.note ,\n                    priceAdjustmentJSON.price.value,\n                    priceAdjustmentJSON.standard_adjustment_id === null ? null : new DistributorAdjustmentId(priceAdjustmentJSON.standard_adjustment_id),\n                    priceAdjustmentJSON.gl_code);\n            });\n\n            priceAdjustmentsByProductCategoryId.set(productCategoryId, priceAdjustmentsForCategory);\n        });\n\n        const uncategorizedPriceAdjustments = deliveryJSONObject.uncategorized_price_adjustments.map((priceAdjustmentJSON) => {\n            return new PriceAdjustment(\n                priceAdjustmentJSON.note ,\n                priceAdjustmentJSON.price.value,\n                priceAdjustmentJSON.standard_adjustment_id === null ? null : new DistributorAdjustmentId(priceAdjustmentJSON.standard_adjustment_id),\n                priceAdjustmentJSON.gl_code);\n        });\n\n        const distributorReps = deliveryJSONObject.distributor_reps.map((distributorRepJSON) => {\n            return new DeliveryRepInfo(\n                distributorRepJSON.name,\n                distributorRepJSON.email_address,\n                distributorRepJSON.phone_number,\n                distributorRepJSON.bevspot_sent_email_to_email_address,\n                distributorRepJSON.bevspot_sent_sms_to_phone_number,\n                distributorRepJSON.attach_csv,\n            );\n        });\n\n        const hiddenInvoiceUploadLineItemIdsByInvoiceUploadId = new StringValueMap<InvoiceUploadId, Set<string>>();\n        Object.keys(deliveryJSONObject.hidden_invoice_upload_line_item_ids_by_invoice_upload_id).forEach((invoiceUploadIdValue : string) => {\n            hiddenInvoiceUploadLineItemIdsByInvoiceUploadId.set(\n                new InvoiceUploadId(invoiceUploadIdValue),\n                new Set(deliveryJSONObject.hidden_invoice_upload_line_item_ids_by_invoice_upload_id[invoiceUploadIdValue])\n            );\n        });\n\n        const processedInvoiceUploadAdjustmentIdsByInvoiceUploadId = new StringValueMap<InvoiceUploadId, Set<string>>();\n        const adjustmentData = deliveryJSONObject.processed_invoice_upload_adjustment_ids_by_invoice_upload_id || {};\n        Object.keys(adjustmentData).forEach((invoiceUploadIdValue : string) => {\n            processedInvoiceUploadAdjustmentIdsByInvoiceUploadId.set(\n                new InvoiceUploadId(invoiceUploadIdValue),\n                new Set(adjustmentData[invoiceUploadIdValue])\n            );\n        });\n\n        const processedInvoiceUploadTaxIdsByInvoiceUploadId = new StringValueMap<InvoiceUploadId, Set<string>>();\n        const taxData = deliveryJSONObject.processed_invoice_upload_tax_ids_by_invoice_upload_id || {};\n        Object.keys(taxData).forEach((invoiceUploadIdValue : string) => {\n            processedInvoiceUploadTaxIdsByInvoiceUploadId.set(\n                new InvoiceUploadId(invoiceUploadIdValue),\n                new Set(taxData[invoiceUploadIdValue])\n            );\n        });\n\n        const approvalEvent : UserAccountIdAndTimestamp | null = deliveryJSONObject.approval_event === null ?\n            null :\n            UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(deliveryJSONObject.approval_event);\n\n        const readyForApprovalEvent : UserAccountIdAndTimestamp | null = deliveryJSONObject.ready_for_approval_event === null ?\n            null :\n            UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(deliveryJSONObject.ready_for_approval_event);\n\n        const lastUpdateEvent : UserAccountIdAndTimestamp | null = deliveryJSONObject.last_update_event === null ?\n            null :\n            UserAccountUtils.getUserAccountIdAndTimestampObjectFromJSON(deliveryJSONObject.last_update_event);\n        const taxesByName = new Map<string, number>();\n        deliveryJSONObject.taxes.forEach((taxJSON) => {\n            taxesByName.set(taxJSON.name, taxJSON.price.value);\n        });\n        return new Delivery(\n            datePlaced,\n            dateDelivered,\n            distributorId,\n            productLineItems,\n            priceAdjustmentsByProductCategoryId,\n            uncategorizedPriceAdjustments,\n            taxesByName,\n            deliveryJSONObject.invoice_number,\n            deliveryJSONObject.user_defined_total,\n            deliveryJSONObject.note_to_rep,\n            deliveryJSONObject.note_to_self,\n            deliveryJSONObject.purchase_order_number,\n            distributorReps,\n            deliveryJSONObject.recorder_name,\n            dateRecorded,\n            deliveryConfirmationEventTimeUTC,\n            deliveryConfirmationUserId,\n            hiddenInvoiceUploadLineItemIdsByInvoiceUploadId,\n            processedInvoiceUploadAdjustmentIdsByInvoiceUploadId,\n            processedInvoiceUploadTaxIdsByInvoiceUploadId,\n            approvalEvent,\n            readyForApprovalEvent,\n            lastUpdateEvent,\n            deliveryJSONObject.is_draft ?? false,\n    );\n    }\n\n    public getValidationResult(validationResultJSONObject : IValidationResultJSON) {\n        return new ValidationResult(validationResultJSONObject.field, validationResultJSONObject.message);\n    }\n}\n","import { IUserAccountIdAndTimestampJSONObject } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\n\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { IDeliveryJSONObject, IPriceAdjustmentJSON, ITaxJSON } from 'api/Ordering/serializer/IDeliveryJSONObject';\nimport { ProductObjectToJSONSerializer } from 'api/Product/serializer/ProductObjectToJSONSerializer';\n\nimport { DJANGO_API_UTC_TIMESTAMP_FORMAT, NULL_DISTRIBUTOR_ID } from 'shared/constants';\n\nexport class OrderingObjectToJSONSerializer {\n\n    constructor(\n        private readonly productObjectToJSONSerializer : ProductObjectToJSONSerializer,\n    ) {}\n\n    public getJSONDeliveryFromDelivery(\n        locationId : LocationId,\n        delivery : Delivery,\n        deliveryHash : string,\n    ) : IDeliveryJSONObject {\n        const distributorId = delivery.getDistributorId();\n\n        const deliveryConfirmationUserId = delivery.getDeliveryConfirmationUserId();\n        const deliveryConfirmationEventTime = delivery.getDeliveryConfirmationEventTimeUTC();\n        const deliveryTime = delivery.getDateDeliveredUTC();\n\n        let deliveryReport = null;\n        let predictedDeliveryTime = null;\n        if (deliveryConfirmationUserId && deliveryConfirmationEventTime) {\n            deliveryReport = {\n                time_delivered: deliveryTime.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n                time_reported: deliveryConfirmationEventTime.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n                reporter_user_id: deliveryConfirmationUserId.getValue(),\n            };\n        } else {\n            predictedDeliveryTime = deliveryTime.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT);\n        }\n\n        const lineItems = delivery.getDeliveryLineItems().map((lineItem) => {\n            const invoiceUploadId = lineItem.getInvoiceUploadId();\n\n            return {\n                product_id: lineItem.getProductId().getValue(),\n                product_quantity_unit: this.productObjectToJSONSerializer.getProductQuantityUnit(lineItem.getProductQuantityUnit()),\n                unit_quantity: lineItem.getQuantityInUnits(),\n                unit_price: {\n                    value: lineItem.getPricePerUnit(),\n                    iso_4217_currency_code: 'USD',\n                },\n                unit_deposit: {\n                    value: lineItem.getDepositPerUnit(),\n                    iso_4217_currency_code: 'USD',\n                },\n                discount: {\n                    value: lineItem.getDiscount(),\n                    iso_4217_currency_code: 'USD',\n                },\n                tax: {\n                    value: lineItem.getTax(),\n                    iso_4217_currency_code: 'USD',\n                },\n                other_adjustments: {\n                    value: lineItem.getOtherAdjustments(),\n                    iso_4217_currency_code: 'USD',\n                },\n                invoice_upload_id: invoiceUploadId ? invoiceUploadId.getValue() : null,\n                invoice_upload_line_item_id: lineItem.getInvoiceUploadLineItemId(),\n            };\n        });\n\n        const priceAdjustmentJSONByProductCategoryIdValue: Record<string, Array<IPriceAdjustmentJSON>> = {};\n        delivery.getPriceAdjustmentsByProductCategoryId().forEach((priceAdjustments, productCategoryId) => {\n            priceAdjustmentJSONByProductCategoryIdValue[productCategoryId] = priceAdjustments.map((priceAdjustment) => {\n                const adjustmentId = priceAdjustment.getStandardAdjustmentId();\n                return {\n                    price: {\n                        value: priceAdjustment.getAmountInDollars(),\n                        iso_4217_currency_code: 'USD',\n                    },\n                    note: priceAdjustment.getNote(),\n                    standard_adjustment_id: adjustmentId === null ? null : adjustmentId.getValue(),\n                    gl_code: priceAdjustment.getGLCode(),\n                };\n            });\n        });\n\n        const uncategorizedPriceAdjustments = delivery.getUncategorizedPriceAdjustments().map((priceAdjustment) => {\n            const adjustmentId = priceAdjustment.getStandardAdjustmentId();\n            return {\n                price: {\n                    value: priceAdjustment.getAmountInDollars(),\n                    iso_4217_currency_code: 'USD',\n                },\n                note: priceAdjustment.getNote(),\n                standard_adjustment_id: adjustmentId === null ? null : adjustmentId.getValue(),\n                gl_code: priceAdjustment.getGLCode(),\n            };\n        });\n\n        const distributorReps = delivery.getDistributorReps().map((distributorRep) => {\n            return {\n                name: distributorRep.getName(),\n                email_address: distributorRep.getEmailAddress(),\n                phone_number: distributorRep.getPhoneNumber(),\n                bevspot_sent_email_to_email_address: distributorRep.getEmailWasSentForOrder(),\n                bevspot_sent_sms_to_phone_number: distributorRep.getSmsWasSentForOrder(),\n                attach_csv: distributorRep.getCsvWasAttachedToOrder(),\n            };\n        });\n\n        const taxes : Array<ITaxJSON> = [];\n        delivery.getTaxesByName().forEach((value, name) => {\n            taxes.push({\n                name,\n                price: {\n                    value,\n                    iso_4217_currency_code: 'USD',\n                },\n            });\n        });\n\n        const hiddenInvoiceUploadLineItemIdsByInvoiceUploadIdJSON : {[ invoiceUploadIdValue : string] : Array<string>} = {};\n        delivery.getHiddenInvoiceUploadLineItemIdsByInvoiceUploadId().forEach((hiddenInvoiceUploadLineItemIds, invoiceUploadId) => {\n            hiddenInvoiceUploadLineItemIdsByInvoiceUploadIdJSON[invoiceUploadId.getValue()] = Array.from(hiddenInvoiceUploadLineItemIds.values());\n        });\n\n        const processedInvoiceUploadAdjustmentIdsByInvoiceUploadIdJSON : {[ invoiceUploadIdValue : string] : Array<string>} = {};\n        delivery.getProcessedInvoiceUploadAdjustmentIdsByInvoiceUploadId().forEach((processedInvoiceUploadAdjustmentIds, invoiceUploadId) => {\n            processedInvoiceUploadAdjustmentIdsByInvoiceUploadIdJSON[invoiceUploadId.getValue()] = Array.from(processedInvoiceUploadAdjustmentIds.values());\n        });\n\n        const processedInvoiceUploadTaxIdsByInvoiceUploadIdJSON : {[ invoiceUploadIdValue : string] : Array<string>} = {};\n        delivery.getProcessedInvoiceUploadTaxIdsByInvoiceUploadId().forEach((processedInvoiceUploadTaxIds, invoiceUploadId) => {\n            processedInvoiceUploadTaxIdsByInvoiceUploadIdJSON[invoiceUploadId.getValue()] = Array.from(processedInvoiceUploadTaxIds.values());\n        });\n\n        const deliveryApprovalEvent = delivery.getApprovalEvent();\n\n        let approvalEvent : IUserAccountIdAndTimestampJSONObject | null;\n        if (deliveryApprovalEvent === null) {\n            approvalEvent = null;\n        } else {\n            approvalEvent = UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(deliveryApprovalEvent);\n        }\n\n        const deliveryReadyForApprovalEvent = delivery.getReadyForApprovalEvent();\n\n        let readyForApprovalEvent : IUserAccountIdAndTimestampJSONObject | null;\n        if (deliveryReadyForApprovalEvent === null) {\n            readyForApprovalEvent = null;\n        } else {\n            readyForApprovalEvent = UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(deliveryReadyForApprovalEvent);\n        }\n\n        const deliveryLastUpdateEvent = delivery.getLastUpdateEvent();\n\n        let lastUpdateEvent : IUserAccountIdAndTimestampJSONObject | null;\n        if (deliveryLastUpdateEvent === null) {\n            lastUpdateEvent = null;\n        } else {\n            lastUpdateEvent = UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(deliveryLastUpdateEvent);\n        }\n\n        return {\n            distributor_id: distributorId ? distributorId.getValue() : NULL_DISTRIBUTOR_ID,\n            retailer_id: locationId.getValue(),\n            time_placed: delivery.getDatePlacedUTC().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            time_recorded: delivery.getDateRecordedUTC().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            predicted_delivery_time: predictedDeliveryTime,\n            line_items: lineItems,\n            uncategorized_price_adjustments: uncategorizedPriceAdjustments,\n            price_adjustments_by_product_category_id: priceAdjustmentJSONByProductCategoryIdValue,\n            taxes,\n            note_to_self: delivery.getNoteToSelf(),\n            note_to_rep: delivery.getNoteToRep(),\n            purchase_order_number: delivery.getPurchaseOrderNumber(),\n            distributor_reps: distributorReps,\n            invoice_number: delivery.getInvoiceNumber(),\n            recorder_name: delivery.getRecordedByName(),\n            delivery_report: deliveryReport,\n            user_defined_total: delivery.getUserDefinedTotal(),\n            order_hash: deliveryHash,\n            hidden_invoice_upload_line_item_ids_by_invoice_upload_id: hiddenInvoiceUploadLineItemIdsByInvoiceUploadIdJSON,\n            processed_invoice_upload_adjustment_ids_by_invoice_upload_id: processedInvoiceUploadAdjustmentIdsByInvoiceUploadIdJSON,\n            processed_invoice_upload_tax_ids_by_invoice_upload_id: processedInvoiceUploadTaxIdsByInvoiceUploadIdJSON,\n            approval_event: approvalEvent,\n            ready_for_approval_event: readyForApprovalEvent,\n            last_update_event: lastUpdateEvent,\n            is_draft: delivery.getIsDraft(),\n        };\n    }\n}\n","import { StringValueSet } from 'api/Core/StringValueSet';\nimport { OrderDateQueryType } from 'api/Ordering/model/OrderDateQueryType';\nimport moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IDeliveryAndHashResponse, IDeliveryReport, IOrderingService } from 'api/Ordering/interfaces/IOrderingService';\nimport { Delivery } from 'api/Ordering/model/Delivery';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { OrderingJSONToObjectSerializer } from 'api/Ordering/serializer/OrderingJSONToObjectSerializer';\nimport { OrderingObjectToJSONSerializer } from 'api/Ordering/serializer/OrderingObjectToJSONSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { DJANGO_API_UTC_TIMESTAMP_FORMAT } from 'shared/constants';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport { AjaxUtils, QueryObject } from 'shared/utils/ajaxUtils';\n\nexport class OrderingServiceImpl implements IOrderingService {\n\n    constructor (\n        private readonly orderingJSONToObjectSerializer : OrderingJSONToObjectSerializer,\n        private readonly orderingObjectToJSONSerializer : OrderingObjectToJSONSerializer\n    ) { }\n\n    public getDeliveryCountForLocation(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<number> {\n        const queryParameters : QueryObject = {\n            retailer_id: locationId.getValue(),\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:get_delivery_count'), queryParameters)\n        .then((response: number) => {\n            return response;\n        });\n    }\n\n    public getDeliveriesForLocationInPeriod (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        periodStartInclusive : moment.Moment,\n        periodEndExclusive : moment.Moment,\n        dateQueryTypes : Set<OrderDateQueryType> = new Set(['DELIVERY']),\n    ) : Promise<StringValueMap<DeliveryId, Delivery>> {\n        if (dateQueryTypes.size === 0) {\n            throw new RuntimeException('at least 1 date query type is required');\n        }\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            start_time_inclusive: periodStartInclusive.clone().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            end_time_exclusive: periodEndExclusive.clone().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            date_range_types: Array.from(dateQueryTypes.values()).join('+'),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:retrieve_orders_in_date_range_request'), queryParameters)\n        .then((response) => {\n            return this.orderingJSONToObjectSerializer.getDeliveriesById(response);\n        });\n    }\n\n    public getDeliveryMetadataForLocationInPeriod(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        dateQueryTypes : Set<OrderDateQueryType>,\n        periodStartInclusive : moment.Moment,\n        periodEndExclusive : moment.Moment\n    ) {\n        if (dateQueryTypes.size === 0) {\n            throw new RuntimeException('at least 1 date query type is required');\n        }\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            start_time_inclusive: periodStartInclusive.clone().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            end_time_exclusive: periodEndExclusive.clone().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            include_metadata_only: true,\n            date_range_types: Array.from(dateQueryTypes.values()).join('+'),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:retrieve_orders_in_date_range_request'), queryParameters)\n        .then((response) => {\n            return this.orderingJSONToObjectSerializer.getDeliveryMetadataById(response);\n        });\n    }\n\n    public getDraftDeliveriesForLocationInPeriod(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        dateQueryTypes : Set<OrderDateQueryType>,\n        periodStartInclusive : moment.Moment,\n        periodEndExclusive : moment.Moment,\n    ) : Promise<StringValueMap<DeliveryId, Delivery>> {\n        if (dateQueryTypes.size === 0) {\n            throw new RuntimeException('at least 1 date query type is required');\n        }\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            start_time_inclusive: periodStartInclusive.clone().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            end_time_exclusive: periodEndExclusive.clone().utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            date_range_types: Array.from(dateQueryTypes.values()).join('+'),\n            draft: true,\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:retrieve_orders_in_date_range_request'), queryParameters)\n        .then((response) => {\n            return this.orderingJSONToObjectSerializer.getDeliveriesById(response);\n        });\n    }\n\n    public recordNewOrderForLocation (\n        locationId : LocationId,\n        distributorId : DistributorId,\n        datePlaced : moment.Moment,\n        dateDelivered : moment.Moment,\n        recorderName : string,\n        dateRecorded : moment.Moment,\n        userDefinedTotal : number | null,\n        invoiceNumber : string | null,\n        deliveryReport : IDeliveryReport | null,\n    ) : Promise<DeliveryId> {\n\n        const deliveryReportForRequest = deliveryReport === null ? null : {\n            time_delivered: deliveryReport.dateDelivered.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            time_reported: deliveryReport.dateReported.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            reporter_user_id: deliveryReport.reporterUserId.getValue(),\n        };\n\n        const requestBody = {\n            distributor_id: distributorId.getValue(),\n            retailer_id: locationId.getValue(),\n            distributor_reps: [],\n            invoice_number: invoiceNumber,\n            line_items: [],\n            note_to_rep: '',\n            note_to_self: '',\n            purchase_order_number: '',\n            order_hash: 'testhash',\n            predicted_delivery_time: dateDelivered.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            price_adjustments_by_product_category_id: {},\n            uncategorized_price_adjustments: [],\n            recorder_name: recorderName,\n            time_placed: datePlaced.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            time_recorded: dateRecorded.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT),\n            delivery_report: deliveryReportForRequest,\n            user_defined_total: userDefinedTotal,\n            approval_event: null,\n            ready_for_approval_event: null,\n            last_update_event: null,\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:order_detail'), requestBody)\n        .then((response) => {\n            return new DeliveryId(response.order_id);\n        });\n    }\n\n    public getDeliveryAndDeliveryHash(\n        deliveryId : DeliveryId,\n    ) : Promise<IDeliveryAndHashResponse> {\n        const queryParameters = {\n            order_id: deliveryId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:order_detail'), queryParameters)\n        .then((response) => {\n            return {\n                delivery: this.orderingJSONToObjectSerializer.getDelivery(response.order_detail),\n                deliveryHash: response.order_detail.order_hash,\n            };\n        });\n    }\n\n    public getDeliveriesById(\n        deliveryIds : StringValueSet<DeliveryId>\n    ) : Promise<StringValueMap<DeliveryId, Delivery>> {\n        if (deliveryIds.size === 0) {\n            return Promise.resolve(new StringValueMap<DeliveryId, Delivery>());\n        }\n\n        const deliveryIdValues : Array<string> = [];\n        deliveryIds.forEach((deliveryId : DeliveryId) => {\n            deliveryIdValues.push(deliveryId.getValue());\n        });\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:batch_order_detail'), deliveryIdValues)\n        .then((response) => {\n            return Promise.resolve(this.orderingJSONToObjectSerializer.getDeliveriesById(response));\n        });\n    }\n\n    public updateDelivery(\n        locationId : LocationId,\n        deliveryId : DeliveryId,\n        delivery : Delivery,\n        deliveryHash : string,\n    ) : Promise<string> {\n        const queryParameters = {\n            order_id: deliveryId.getValue(),\n        };\n\n        const postBody = this.orderingObjectToJSONSerializer.getJSONDeliveryFromDelivery(locationId, delivery, deliveryHash);\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:order_detail'), postBody, queryParameters)\n        .then((response) => {\n            return response.order_hash;\n        });\n    }\n\n    public deleteOrderRecord  (\n        deliveryId : DeliveryId,\n        deleteAttachedInvoices : boolean\n    ) : Promise<void> {\n        const queryParameters = {\n            order_id: deliveryId.getValue(),\n            delete_attached_invoices: deleteAttachedInvoices\n        };\n\n        return AjaxUtils.ajaxDelete(urlWithoutRetailerId('api:order_detail'), queryParameters);\n    }\n\n    public addOrderItemsToCart (\n        orderId: DeliveryId,\n        option: 'overwrite' | 'sum' | 'ignore'\n    ): Promise<void> {\n        const queryParameters = {\n            order_id: orderId.getValue(),\n            option\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:add_order_items_to_cart'), null, queryParameters, \"text\");\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IInvoiceUploadService, IBatchInvoiceUploadResult } from 'api/Ordering/interfaces/IInvoiceUploadService';\nimport { DeliveryId } from 'api/Ordering/model/DeliveryId';\nimport { InvoiceUpload } from 'api/Ordering/model/InvoiceUpload';\nimport { InvoiceUploadId } from 'api/Ordering/model/InvoiceUploadId';\nimport { OrderingJSONToObjectSerializer } from 'api/Ordering/serializer/OrderingJSONToObjectSerializer';\n\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { Observer } from 'shared/utils/observer';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { IInvoiceProcessingResultLineItemMatch, LineItemMatch } from 'api/Ordering/model/LineItemMatch';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { productJSONToObjectSerializer } from 'shared/lib/manager';\n\nexport interface IDuplicateInvoiceUploadData {\n    invoiceUploadName : string;\n    duplicateInvoiceUploadsById : StringValueMap<InvoiceUploadId, InvoiceUpload>;\n}\n\nconst INVOICE_UPLOAD_FILES_PER_REQUEST = 25;\n\nexport class InvoiceUploadServiceImpl implements IInvoiceUploadService {\n\n    constructor (\n        private readonly orderingJSONToObjectSerializer : OrderingJSONToObjectSerializer\n    ) { }\n\n    public getInvoiceUploadsByDeliveryId(\n        locationId : LocationId,\n        deliveryIds : StringValueSet<DeliveryId>,\n    ) : Promise<StringValueMap<DeliveryId, StringValueMap<InvoiceUploadId, InvoiceUpload>>> {\n        const deliveryIdValues = Array.from(deliveryIds.values()).map((deliveryId : DeliveryId) => {\n            return deliveryId.getValue();\n        });\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:invoice_upload'), deliveryIdValues, queryParameters)\n        .then((response) => {\n            return this.orderingJSONToObjectSerializer.getInvoiceUploadsByDeliveryId(response);\n        });\n    }\n\n    public getUnreviewedInvoiceUploadsById(\n        locationId : LocationId,\n    ) : Promise<StringValueMap<InvoiceUploadId, InvoiceUpload>> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:unreviewed_invoice_upload'), queryParameters)\n        .then((response) => {\n            return this.orderingJSONToObjectSerializer.getInvoiceUploadsById(response);\n        });\n    }\n\n    public createInvoiceUpload (\n        locationId : LocationId,\n        invoiceUploadFile : File,\n        deliveryId : DeliveryId | null,\n        isOnboarding : boolean,\n        checkDuplicates : boolean = true\n    ) : Promise<{invoiceUploadId : InvoiceUploadId, invoiceUpload : InvoiceUpload}> {\n        const formData = new FormData();\n        formData.append('invoice', invoiceUploadFile);\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            order_id: deliveryId ? deliveryId.getValue() : '',\n            is_onboarding: isOnboarding,\n            check_duplicates: checkDuplicates\n        };\n\n        return AjaxUtils.ajaxPostForm(urlWithoutRetailerId('api:invoice_upload'), formData, queryParameters)\n        .then((invoiceUploadResponse) => {\n            void Observer.observeAction('invoice_uploaded', {});\n\n            return Promise.resolve({\n                invoiceUploadId: new InvoiceUploadId(invoiceUploadResponse.invoice_upload_id),\n                invoiceUpload: this.orderingJSONToObjectSerializer.getInvoiceUpload(invoiceUploadResponse.invoice_upload)\n            });\n        })\n        .catch((error) => {\n            // Invoice upload already exists\n            if (error.status === 409) {\n                const errorResponse = JSON.parse(error.message);\n                error.content = {\n                    invoiceUploadName: errorResponse.invoice_upload_name,\n                    duplicateInvoiceUploadsById: this.orderingJSONToObjectSerializer.getInvoiceUploadsById(\n                        errorResponse.duplicate_invoice_uploads_by_id\n                    ),\n                };\n            }\n            return Promise.reject(error);\n        });\n    }\n\n    public createInvoiceUploads (\n        locationId : LocationId,\n        invoiceUploadFiles : Array<File>,\n        deliveryId : DeliveryId | null,\n        isOnboarding : boolean,\n        checkDuplicates : boolean = true\n    ) : Promise<IBatchInvoiceUploadResult> {\n        const resultsByRequest : Array<StringValueMap<InvoiceUploadId, InvoiceUpload>> = [];\n        const duplicates = new StringValueMap<string, StringValueMap<InvoiceUploadId, InvoiceUpload>>();\n\n        // Django rejects a request with more than DATA_UPLOAD_MAX_NUMBER_FILES (100) files; send one group at a time\n        let uploadsPromise = Promise.resolve();\n        for (let firstFileIndex = 0; firstFileIndex < invoiceUploadFiles.length; firstFileIndex += INVOICE_UPLOAD_FILES_PER_REQUEST) {\n            const invoiceUploadFilesForRequest = invoiceUploadFiles.slice(firstFileIndex, firstFileIndex + INVOICE_UPLOAD_FILES_PER_REQUEST);\n            uploadsPromise = uploadsPromise\n            .then(() => this.createInvoiceUploadsInOneRequest(locationId, invoiceUploadFilesForRequest, deliveryId, isOnboarding, checkDuplicates))\n            .then((requestResult) => {\n                resultsByRequest.push(requestResult.results);\n                requestResult.duplicates.forEach((duplicateInvoiceUploadsById, invoiceUploadName) => duplicates.set(invoiceUploadName, duplicateInvoiceUploadsById));\n            });\n        }\n\n        return uploadsPromise.then(() => ({ results: StringValueMap.merge(...resultsByRequest), duplicates }));\n    }\n\n    private createInvoiceUploadsInOneRequest (\n        locationId : LocationId,\n        invoiceUploadFiles : Array<File>,\n        deliveryId : DeliveryId | null,\n        isOnboarding : boolean,\n        checkDuplicates : boolean,\n    ) : Promise<IBatchInvoiceUploadResult> {\n        const formData = new FormData();\n        invoiceUploadFiles.forEach((file, index) => {\n            formData.append(`invoice_${index}`, file);\n        });\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            order_id: deliveryId ? deliveryId.getValue() : '',\n            is_onboarding: isOnboarding,\n            check_duplicates: checkDuplicates\n        };\n\n        return AjaxUtils.ajaxPostForm(urlWithoutRetailerId('api:batch_invoice_upload'), formData, queryParameters)\n        .then((invoiceUploadResponse) => {\n\n            const results = new StringValueMap<InvoiceUploadId, InvoiceUpload>();\n            const duplicates = new StringValueMap<string, StringValueMap<InvoiceUploadId, InvoiceUpload>>();\n\n            // Process successes\n            const successes = invoiceUploadResponse.successes || {};\n            Object.keys(successes).forEach((key) => {\n                void Observer.observeAction('invoice_uploaded', {});\n                const uploadData = successes[key];\n                const invoiceUploadId = new InvoiceUploadId(uploadData.invoice_upload_id);\n                const invoiceUpload = this.orderingJSONToObjectSerializer.getInvoiceUpload(uploadData.invoice_upload);\n\n                results.set(invoiceUploadId, invoiceUpload);\n\n            });\n\n            // Process duplicates\n            const duplicatesData = invoiceUploadResponse.duplicates || {};\n            Object.keys(duplicatesData).forEach((key) => {\n                const duplicateData = duplicatesData[key];\n                const invoiceUploadName = duplicateData.invoice_upload_name;\n                const duplicateInvoiceUploadsById = this.orderingJSONToObjectSerializer.getInvoiceUploadsById(\n                    duplicateData.duplicate_invoice_uploads_by_id\n                );\n\n                duplicates.set(invoiceUploadName, duplicateInvoiceUploadsById);\n            });\n\n            return Promise.resolve({\n                results,\n                duplicates\n            });\n        })\n        .catch((error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public reassignInvoiceLineItemsToRetailer(\n        locationId : LocationId,\n        invoiceUploadId : InvoiceUploadId,\n        targetLocationId : LocationId,\n        lineItemIdsToReassign : Set<string>,\n    ) : Promise<void> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            invoice_id: invoiceUploadId.getValue(),\n            target_retailer_id: targetLocationId.getValue()\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:invoice_upload_split'), Array.from(lineItemIdsToReassign), queryParameters, 'text')\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public reassignInvoicesToRetailer(\n        locationId : LocationId,\n        invoiceUploadIdSet : StringValueSet<InvoiceUploadId>,\n        targetLocationId : LocationId,\n    ) : Promise<void> {\n        if (invoiceUploadIdSet.size === 0) {\n            return Promise.resolve();\n        }\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            target_retailer_id: targetLocationId.getValue()\n        };\n\n        const invoiceUploadIdValues : Array<string> = [];\n        invoiceUploadIdSet.forEach((invoiceUploadId : InvoiceUploadId) => {\n            invoiceUploadIdValues.push(invoiceUploadId.getValue());\n        });\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:invoice_upload_reassign'), invoiceUploadIdValues, queryParameters, 'text')\n        .then(() => {\n            return Promise.resolve();\n        });\n    }\n\n    public setInvoiceUploadName(\n        locationId : LocationId,\n        invoiceUploadId : InvoiceUploadId,\n        name : string,\n    ) : Promise<void> {\n        const queryParameters = {\n            invoice_id: invoiceUploadId.getValue(),\n            new_name: name,\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:invoice_upload'), null, queryParameters, 'text');\n    }\n\n    public setInvoiceUploadDeliveryId(\n        locationId : LocationId,\n        invoiceUploadId : InvoiceUploadId,\n        deliveryId : DeliveryId | null,\n    ) : Promise<void> {\n        const queryParameters = {\n            invoice_id: invoiceUploadId.getValue(),\n            new_order_id: deliveryId ? deliveryId.getValue() : '',\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:invoice_upload'), null, queryParameters, 'text');\n    }\n\n    public deleteInvoiceUploads(\n        locationId : LocationId,\n        invoiceUploadIds : StringValueSet<InvoiceUploadId>\n    ) : Promise<void> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        const invoiceUploadIdValues : Array<string> = [];\n        invoiceUploadIds.forEach((invoiceUploadId : InvoiceUploadId) => {\n            invoiceUploadIdValues.push(invoiceUploadId.getValue());\n        });\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:invoice_upload_delete'), invoiceUploadIdValues, queryParameters, 'text');\n    }\n\n    public submitInvoiceUploadsForProcessing(\n        locationId : LocationId,\n        invoiceUploadIds : Array<InvoiceUploadId>,\n        mergeFiles : boolean\n    ) : Promise<void> {\n        const queryParameters = {\n            invoice_ids: invoiceUploadIds.map((invoiceUploadId) => invoiceUploadId.getValue()).join(\",\"),\n            merge_files: mergeFiles\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:invoice_upload'), null, queryParameters, 'text');\n    }\n\n    public setInvoiceProcessingResultIsConfirmed(\n        locationId : LocationId,\n        invoiceUploadId : InvoiceUploadId,\n        isConfirmed : boolean,\n    ) : Promise<void> {\n        const queryParameters = {\n            invoice_id: invoiceUploadId.getValue(),\n            is_confirmed: isConfirmed,\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:invoice_upload'), null, queryParameters);\n    }\n\n    public detachInvoiceUploadsFromOrder(\n        deliveryId : DeliveryId\n    ) : Promise<void> {\n        const queryParameters = {\n            delivery_id: deliveryId.getValue()\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:detach_invoice_upload'), null, queryParameters, 'text');\n    }\n\n    public rejectInvoiceProcessingResult(\n        invoiceUploadId : InvoiceUploadId,\n        rejectionReason : string,\n    ) : Promise<void> {\n        const queryParameters = {\n            invoice_id: invoiceUploadId.getValue(),\n            rejection_reason: rejectionReason,\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:invoice_upload'), null, queryParameters);\n    }\n\n    public getLineItemMatchesForInvoiceUpload(\n        invoiceUploadId : InvoiceUploadId,\n        distributorId : DistributorId | null,\n    ) : Promise<StringValueMap<string, LineItemMatch>> {\n        const queryParameters = {\n            invoice_upload_id: invoiceUploadId.getValue(),\n            distributor_id: distributorId ? distributorId.getValue() : '',\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:line_item_matching'), queryParameters).then((result: {[id: string] : IInvoiceProcessingResultLineItemMatch}) => {\n            const lineItemMatchByInvoiceUploadId = new StringValueMap<string, LineItemMatch>();\n            Object.keys(result).forEach((key) => {\n                lineItemMatchByInvoiceUploadId.set(key, LineItemMatch.fromDict(result[key]));\n            });\n            return Promise.resolve(lineItemMatchByInvoiceUploadId);\n        }).catch(() => {\n            // Remove after \"beta\" phase when any backend matching issues are worked out\n            // Backend is monitored https://app.datadoghq.com/monitors/244775888\n            return Promise.resolve(new StringValueMap());\n        });\n    }\n\n    public getLineItemMatchForInvoiceUploadProductId(\n        invoiceUploadId : InvoiceUploadId,\n        invoiceUploadLineItemId : string,\n        distributorId : DistributorId | null,\n        productId : ProductId,\n    ) : Promise<LineItemMatch> {\n        // If we need to mathc multiple products at once, either use getLineItemMatchesForInvoiceUpload or create a bulk API.\n        // This endpoint loads historical orders. Calling this multiple times will have bad performance\n        const queryParameters = {\n            invoice_upload_id: invoiceUploadId.getValue(),\n            invoice_upload_line_item_id: invoiceUploadLineItemId,\n            distributor_id: distributorId ? distributorId.getValue() : '',\n            product_id: productId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:line_item_matching'), queryParameters).then((lineItemMatch: IInvoiceProcessingResultLineItemMatch) => {\n            return Promise.resolve(LineItemMatch.fromDict(lineItemMatch));\n        }).catch(() => {\n            // Remove after \"beta\" phase when any backend matching issues are worked out\n            // Backend is monitored https://app.datadoghq.com/monitors/244775888\n            return Promise.resolve(new LineItemMatch(null, \"MANUAL\", []));\n        });\n    }\n\n    public createPurchasingOptionForLineItem(\n        invoiceUploadId : InvoiceUploadId,\n        invoiceUploadLineItemId : string,\n        deliveryId : DeliveryId,\n        productId : ProductId,\n    ) : Promise<ProductQuantityUnit> {\n        const postBody = {\n            invoice_upload_id: invoiceUploadId.getValue(),\n            invoice_upload_line_item_id: invoiceUploadLineItemId,\n            order_id: deliveryId.getValue(),\n            product_id: productId.getValue(),\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:line_item_matching'), postBody).then((response : { product_quantity_unit : string }) => {\n            return productJSONToObjectSerializer.getProductQuantityUnit(response.product_quantity_unit);\n        });\n    }\n}\n","import InventoryTransferReportModel from 'gen-thrift/inventory_transfer_report_Model_types';\nimport ProductModel from 'gen-thrift/product_Model_types';\nimport LocationModel from 'gen-thrift/location_Model_types';\n\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { TransferDirection } from 'api/Transfer/model/TransferDirection';\nimport { TransferReportData } from 'api/Transfer/model/TransferReportData';\nimport { TransferId } from 'api/Transfer/model/TransferId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { LocationId } from 'api/Location/model/LocationId';\n\nexport class TransferObjectToThriftSerializer {\n\n    constructor(\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getThriftTransferId(\n        transferId : TransferId,\n    ) : InventoryTransferReportModel.InventoryTransferReportIdentifier {\n        return new InventoryTransferReportModel.InventoryTransferReportIdentifier({ value : transferId.getValue() });\n    }\n\n    public getThriftTransferDirection(\n        transferDirection : TransferDirection,\n    ) : InventoryTransferReportModel.TransferDirection {\n        switch (transferDirection) {\n            case TransferDirection.FROM_PARTNER_TO_PERSPECTIVE_LOCATION:\n                return InventoryTransferReportModel.TransferDirection.FROM_PARTNER_TO_PERSPECTIVE_LOCATION;\n            case TransferDirection.FROM_PERSPECTIVE_TO_PARTNER_LOCATION:\n                return InventoryTransferReportModel.TransferDirection.FROM_PERSPECTIVE_TO_PARTNER_LOCATION;\n            default:\n                throw new RuntimeException('Unknown transfer direction');\n        }\n    }\n\n    public getThriftTransferReportInfo(\n        transferReportData : TransferReportData,\n    ) : InventoryTransferReportModel.InventoryTransferReportInfo {\n        const partnerLocation = transferReportData.getPartnerLocation();\n        const thriftProductIdsAndQuantityOfProducts = this.getThriftProductIdsAndQuantityOfProducts(transferReportData.getProductAmounts());\n\n        let thriftPartnerLocation : LocationModel.LocationIdentifier | undefined = undefined;\n        let customPartnerLocationName : string | undefined = undefined;\n        if (partnerLocation instanceof LocationId) {\n            thriftPartnerLocation = this.locationObjectToThriftSerializer.getThriftLocationId(partnerLocation);\n        } else {\n            customPartnerLocationName = partnerLocation;\n        }\n\n        return new InventoryTransferReportModel.InventoryTransferReportInfo({\n            perspectiveLocation: this.locationObjectToThriftSerializer.getThriftLocationId(transferReportData.getPerspectiveLocation()),\n            productAmounts: thriftProductIdsAndQuantityOfProducts,\n            partnerLocation: thriftPartnerLocation,\n            customPartnerLocationName,\n            direction: this.getThriftTransferDirection(transferReportData.getDirection()),\n            transferTime: transferReportData.getTime(),\n            note: transferReportData.getNote(),\n            requestedByUser: undefined,\n            requestedTime: undefined,\n            sentByUser: undefined,\n            sentTime: undefined,\n            receivedByUser: undefined,\n            receivedTime: undefined,\n            cancellationTime: undefined,\n            cancelledByUser: undefined,\n            cancellationReason: undefined,\n        });\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getThriftTransferIds(\n        transferIds : Array<TransferId>\n    ) : Array<InventoryTransferReportModel.InventoryTransferReportIdentifier> {\n        return transferIds.map((transferId) => {\n            return this.getThriftTransferId(transferId);\n        });\n    }\n\n    public getThriftProductIdsAndQuantityOfProducts(\n        productAmounts : Array<ProductAmount>\n    ) : Array<ProductModel.ProductIdAndQuantityOfProduct> {\n        return productAmounts.map((productAmount) => {\n            return this.productObjectToThriftSerializer.getThriftProductIdAndQuantityOfProduct(productAmount);\n        });\n    }\n}\n","import { PackagingId } from 'api/Product/model/PackagingId';\nimport { ReportMetadata } from 'api/Transfer/model/ReportMetadata';\nimport { TransferDirection } from 'api/Transfer/model/TransferDirection';\nimport { TransferReport } from 'api/Transfer/model/TransferReport';\nimport { TransferReportData } from 'api/Transfer/model/TransferReportData';\nimport {\n    IProductCostsByProductIdJSONObject, IProductIdAndAmountJSONObject,\n    IReportMetaDataJSONObject,\n    ITransferJSONObject,\n    ITransferReportDataJSONObject\n} from 'api/Transfer/serializer/ITransferJSONObject';\nimport { IProductCostJsonObject } from 'api/UsageData/serializer/IUsageDataJSONObject';\nimport { UserAccountUtils } from 'api/UserAccount/utils/UserAccountUtils';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport class TransferObjectToJSONSerializer {\n    public getTransferReportJSON(\n        transferReport: TransferReport\n    ) : ITransferJSONObject {\n        const transferReportData = this.getTransferReportDataJSON(transferReport.getTransferReportData());\n        const reportMetaData = this.getReportMetaDataJSON(transferReport.getReportMetaData());\n        const productCostsByProductId = this.getProductCostsByProductIdMapping(transferReport);\n\n        return {\n            transfer_report_data: transferReportData,\n            report_meta_data: reportMetaData,\n            product_costs_by_product_id: productCostsByProductId,\n        };\n    }\n\n    public getTransferReportDataJSON(\n        transferReportData: TransferReportData\n    ) : ITransferReportDataJSONObject {\n        const partnerLocation = transferReportData.getPartnerLocation();\n        const requestMetadata = transferReportData.getRequestMetadata();\n        const sentMetadata = transferReportData.getSentMetadata();\n        const receivedMetadata = transferReportData.getReceivedMetadata();\n        const cancellationMetadata = transferReportData.getCancellationMetadata();\n\n        const productIdAndAmounts : Array<IProductIdAndAmountJSONObject> = []\n        transferReportData.getProductAmounts().forEach((productAmount) => {\n            const quantityInUnit = productAmount.getQuantityInUnit();\n            const unit = quantityInUnit.getUnit();\n\n            productIdAndAmounts.push({\n                product_id: productAmount.getProductId().getValue(),\n                quantity: quantityInUnit.getQuantity(),\n                unit: unit instanceof PackagingId ? unit.getValue() : unit,\n            });\n        });\n\n        return {\n            perspective_location: transferReportData.getPerspectiveLocation().getValue(),\n            product_amounts: productIdAndAmounts,\n            partner_location: typeof partnerLocation === 'string' ? partnerLocation : partnerLocation.getValue(),\n            direction: TransferDirection[transferReportData.getDirection()],\n            time: numberUtils.ThriftInt64ToNumber(transferReportData.getTime().timeSinceUnixEpoch.value),\n            note: transferReportData.getNote(),\n            request_metadata: requestMetadata ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(requestMetadata) : null,\n            sent_metadata: sentMetadata ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(sentMetadata) : null,\n            received_metadata: receivedMetadata ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(receivedMetadata) : null,\n            cancellation_metadata: cancellationMetadata ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(cancellationMetadata) : null,\n            cancellation_note: transferReportData.getCancellationNote(),\n        };\n    }\n\n    public getReportMetaDataJSON(\n        reportMetaData: ReportMetadata\n    ) : IReportMetaDataJSONObject {\n        const creationMetadata = reportMetaData.getCreationMetadata();\n        const updateMetadata = reportMetaData.getUpdateMetadata();\n\n        return {\n            creation_metadata: UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(creationMetadata),\n            update_metadata: updateMetadata ? UserAccountUtils.getUserAccountIdAndTimestampJSONFromObject(updateMetadata) : null,\n            perspective_is_originator: reportMetaData.getPerspectiveIsOriginator()\n        };\n    }\n\n    public getProductCostsByProductIdMapping(\n        transferReport: TransferReport\n    ) : IProductCostsByProductIdJSONObject {\n        const productCostsJSON: { [productId : string] : IProductCostJsonObject } = {};\n        transferReport.getProductCostsByProductId().forEach((productCost, productId) => {\n            const unit = productCost.getUnit();\n            productCostsJSON[productId.getValue()] = {\n                cost: decimalToNumber(productCost.getCost()),\n                product_quantity_unit: (unit instanceof PackagingId ? unit.getValue() : unit)\n            };\n        });\n\n        return productCostsJSON;\n    }\n}\n","import InventoryTransferReportModel from 'gen-thrift/inventory_transfer_report_Model_types';\n\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationThriftToObjectSerializer } from 'api/Location/serializer/LocationThriftToObjectSerializer';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { ReportMetadata } from 'api/Transfer/model/ReportMetadata';\nimport { TransferDirection } from 'api/Transfer/model/TransferDirection';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { TransferReport } from 'api/Transfer/model/TransferReport';\nimport { TransferReportWithoutCost } from 'api/Transfer/model/TransferReportWithoutCost';\nimport { TransferReportData } from 'api/Transfer/model/TransferReportData';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class TransferThriftToObjectSerializer {\n\n    constructor(\n        private userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer,\n        private productThriftToObjectSerializer : ProductThriftToObjectSerializer,\n        private locationThriftToObjectSerializer : LocationThriftToObjectSerializer,\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getTransferId(\n        transferId : InventoryTransferReportModel.InventoryTransferReportIdentifier,\n    ) : TransferId {\n        return new TransferId(transferId.value);\n    }\n\n    public getTransferDirection(\n        transferDirection : InventoryTransferReportModel.TransferDirection,\n    ) : TransferDirection {\n        switch (transferDirection) {\n            case InventoryTransferReportModel.TransferDirection.FROM_PARTNER_TO_PERSPECTIVE_LOCATION:\n                return TransferDirection.FROM_PARTNER_TO_PERSPECTIVE_LOCATION;\n            case InventoryTransferReportModel.TransferDirection.FROM_PERSPECTIVE_TO_PARTNER_LOCATION:\n                return TransferDirection.FROM_PERSPECTIVE_TO_PARTNER_LOCATION;\n            default:\n                throw new RuntimeException('Unknown transfer direction');\n        }\n    }\n\n    public getReportMetadata(\n        reportMetadata : InventoryTransferReportModel.ReportMetaData,\n    ) : ReportMetadata {\n        const creationMetadata = new UserAccountIdAndTimestamp(this.userAccountThriftToObjectSerializer.getUserAccountId(reportMetadata.creator), reportMetadata.creationTime);\n\n        let updateMetadata : UserAccountIdAndTimestamp | null;\n        if ((reportMetadata.lastUpdater == null) || (reportMetadata.lastUpdateTime == null)) {\n            if (reportMetadata.lastUpdater !== reportMetadata.lastUpdateTime) {\n                throw new RuntimeException('unexpected report metadata with invalid last update metadata');\n            }\n\n            updateMetadata = null;\n        } else {\n            updateMetadata = new UserAccountIdAndTimestamp(this.userAccountThriftToObjectSerializer.getUserAccountId(reportMetadata.lastUpdater), reportMetadata.lastUpdateTime);\n        }\n\n        return new ReportMetadata(creationMetadata, updateMetadata, reportMetadata.perspectiveIsOriginator);\n    }\n\n    public getTransferReportData(\n        transferReportData : InventoryTransferReportModel.InventoryTransferReportInfo\n    ) : TransferReportData {\n        const productAmounts = transferReportData.productAmounts.map((productCountAmount) => {\n            return this.productThriftToObjectSerializer.getProductAmount(productCountAmount);\n        });\n\n        let requestMetadata : UserAccountIdAndTimestamp | null;\n        let sentMetadata : UserAccountIdAndTimestamp | null;\n        let receivedMetadata : UserAccountIdAndTimestamp | null;\n        let cancellationMetadata : UserAccountIdAndTimestamp | null;\n\n        if ((transferReportData.requestedByUser == null) || (transferReportData.requestedTime == null)) {\n            if (transferReportData.requestedByUser !== transferReportData.requestedTime) {\n                throw new RuntimeException('unexpected transfer report data with invalid requested by metadata');\n            }\n\n            requestMetadata = null;\n        } else {\n            requestMetadata = new UserAccountIdAndTimestamp(this.userAccountThriftToObjectSerializer.getUserAccountId(transferReportData.requestedByUser), transferReportData.requestedTime);\n        }\n\n        if ((transferReportData.sentByUser == null) || (transferReportData.sentTime == null)) {\n            if (transferReportData.sentByUser !== transferReportData.sentTime) {\n                throw new RuntimeException('unexpected transfer report data with invalid sent by metadata');\n            }\n\n            sentMetadata = null;\n        } else {\n            sentMetadata = new UserAccountIdAndTimestamp(this.userAccountThriftToObjectSerializer.getUserAccountId(transferReportData.sentByUser), transferReportData.sentTime);\n        }\n\n        if ((transferReportData.receivedTime == null) || (transferReportData.receivedByUser == null)) {\n            if (transferReportData.receivedByUser !== transferReportData.receivedTime) {\n                throw new RuntimeException('unexpected transfer report data with invalid received by metadata');\n            }\n\n            receivedMetadata = null;\n        } else {\n            receivedMetadata = new UserAccountIdAndTimestamp(this.userAccountThriftToObjectSerializer.getUserAccountId(transferReportData.receivedByUser), transferReportData.receivedTime);\n        }\n\n        if ((transferReportData.cancellationTime == null) || (transferReportData.cancelledByUser == null)) {\n            if (transferReportData.cancelledByUser !== transferReportData.cancellationTime) {\n                throw new RuntimeException('unexpected transfer report data with invalid cancelled by metadata');\n            }\n\n            cancellationMetadata = null;\n        } else {\n            cancellationMetadata = new UserAccountIdAndTimestamp(this.userAccountThriftToObjectSerializer.getUserAccountId(transferReportData.cancelledByUser), transferReportData.cancellationTime);\n        }\n\n        return new TransferReportData(\n            this.locationThriftToObjectSerializer.getLocationId(transferReportData.perspectiveLocation),\n            productAmounts,\n            this.getPartnerLocationFromTransferReportData(transferReportData),\n            this.getTransferDirection(transferReportData.direction),\n            transferReportData.transferTime,\n            transferReportData.note,\n            requestMetadata,\n            sentMetadata,\n            receivedMetadata,\n            cancellationMetadata,\n            transferReportData.cancellationReason ?? null\n        );\n    }\n\n    public getPartnerLocationFromTransferReportData(\n        reportData : InventoryTransferReportModel.InventoryTransferReportInfo\n    ) : LocationId | string {\n        const thriftPartnerLocation = reportData.partnerLocation;\n        const thriftCustomPartnerLocationName = reportData.customPartnerLocationName;\n\n        let partnerLocation : LocationId | string;\n        if (thriftPartnerLocation == null) {\n            if (thriftCustomPartnerLocationName == null) {\n                throw Error('unexpected: no partner found');\n            }\n            partnerLocation = thriftCustomPartnerLocationName;\n        } else {\n            if (thriftCustomPartnerLocationName) {\n                throw Error('unexpected: both retailer and custom partner found');\n            }\n            partnerLocation = new LocationId(thriftPartnerLocation.value);\n        }\n        return partnerLocation;\n    }\n\n    public getTransferReportWithoutCost(\n        transferReport : InventoryTransferReportModel.InventoryTransferReportAndMetadataWithoutCost\n    ) : TransferReportWithoutCost {\n        return new TransferReportWithoutCost(\n            this.getTransferReportData(transferReport.data),\n            this.getReportMetadata(transferReport.metaData),\n        );\n    }\n\n    public getTransferReport(\n        transferReport : InventoryTransferReportModel.InventoryTransferReportAndMetadata\n    ) : TransferReport {\n        return new TransferReport(\n            this.getTransferReportData(transferReport.data),\n            this.getReportMetadata(transferReport.metaData),\n            this.productThriftToObjectSerializer.getCostByProductId(transferReport.productCostsByProductId)\n        );\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getTransferIds(\n        transferIds : Array<InventoryTransferReportModel.InventoryTransferReportIdentifier>\n    ) : StringValueSet<TransferId> {\n        const transferIdSet = new StringValueSet<TransferId>();\n\n        transferIds.forEach((transferId) => {\n            transferIdSet.add(this.getTransferId(transferId));\n        });\n\n        return transferIdSet;\n    }\n\n    public getTransferReportWithoutCosts(\n        transferReports : Array<InventoryTransferReportModel.InventoryTransferReportAndMetadataWithoutCost>\n    ) : Array<TransferReportWithoutCost> {\n        return transferReports.map((transferReport) => {\n            return this.getTransferReportWithoutCost(transferReport);\n        });\n    }\n\n    public getTransferReports(\n        transferReports : Array<InventoryTransferReportModel.InventoryTransferReportAndMetadata>\n    ) : Array<TransferReport> {\n        return transferReports.map((transferReport) => {\n            return this.getTransferReport(transferReport);\n        });\n    }\n}\n","import { TransferRequisitionStepType } from 'api/Transfer/model/TransferRequisitionStep';\nimport moment from 'moment-timezone';\n\nimport InventoryTransferReportModel from 'gen-thrift/inventory_transfer_report_Model_types';\nimport { Client as InventoryTransferReportServiceClient } from 'gen-thrift/InventoryTransferReportService';\n\nimport { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { ITransferService } from 'api/Transfer/interfaces/ITransferService';\nimport { TransferId } from 'api/Transfer/model/TransferId';\nimport { TransferReportData } from 'api/Transfer/model/TransferReportData';\nimport { TransferReport } from 'api/Transfer/model/TransferReport';\nimport { TransferReportWithoutCost } from 'api/Transfer/model/TransferReportWithoutCost';\nimport { TransferObjectToThriftSerializer } from 'api/Transfer/serializer/TransferObjectToThriftSerializer';\nimport { TransferThriftToObjectSerializer } from 'api/Transfer/serializer/TransferThriftToObjectSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class TransferServiceImpl implements ITransferService {\n\n    constructor (\n        private inventoryTransferReportServiceClient : InventoryTransferReportServiceClient,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private transferObjectToThriftSerializer : TransferObjectToThriftSerializer,\n        private transferThriftToObjectSerializer : TransferThriftToObjectSerializer,\n        private momentObjectToThriftSerializer : MomentObjectToThriftSerializer,\n    ) { }\n\n    public getTransferReportsById(\n        userSessionId : UserSessionId,\n        transferIds : StringValueSet<TransferId>,\n        perspective : LocationId,\n    ) : Promise<StringValueMap<TransferId, TransferReport>> {\n        const transferIdsList = Array.from(transferIds.values());\n\n        return new Promise<StringValueMap<TransferId, TransferReport>>((resolve, reject) => {\n            this.inventoryTransferReportServiceClient.getTransferReportsByIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.transferObjectToThriftSerializer.getThriftTransferIds(transferIdsList),\n                this.locationObjectToThriftSerializer.getThriftLocationId(perspective)\n            ).then((result) => {\n                const transferReports = this.transferThriftToObjectSerializer.getTransferReports(result);\n\n                if (transferIdsList.length !== transferReports.length) {\n                    throw new RuntimeException('result length did not match number of transferIds');\n                }\n\n                const reportsById = new StringValueMap<TransferId, TransferReport>();\n                transferIdsList.forEach((transferId, index) => {\n                    reportsById.set(transferId, transferReports[index]);\n                });\n\n                return resolve(reportsById);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public getTransferReportsWithoutCostsById(\n        userSessionId : UserSessionId,\n        transferIds : StringValueSet<TransferId>,\n        perspective : LocationId,\n    ) : Promise<StringValueMap<TransferId, TransferReportWithoutCost>> {\n        const transferIdsList = Array.from(transferIds.values());\n\n        return new Promise<StringValueMap<TransferId, TransferReportWithoutCost>>((resolve, reject) => {\n            this.inventoryTransferReportServiceClient.getTransferReportsWithoutCostsById(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.transferObjectToThriftSerializer.getThriftTransferIds(transferIdsList),\n                this.locationObjectToThriftSerializer.getThriftLocationId(perspective)\n            ).then((result) => {\n                const transferReports = this.transferThriftToObjectSerializer.getTransferReportWithoutCosts(result);\n\n                if (transferIdsList.length !== transferReports.length) {\n                    throw new RuntimeException('result length did not match number of transferIds');\n                }\n\n                const reportsById = new StringValueMap<TransferId, TransferReportWithoutCost>();\n                transferIdsList.forEach((transferId, index) => {\n                    reportsById.set(transferId, transferReports[index]);\n                });\n\n                return resolve(reportsById);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getTransferReportsForLocationInPeriod(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        periodStartInclusive : moment.Moment,\n        periodEndExclusive : moment.Moment,\n    ) : Promise<StringValueSet<TransferId>> {\n        return new Promise<StringValueSet<TransferId>>((resolve, reject) => {\n            this.inventoryTransferReportServiceClient.getReportsForLocationInPeriod(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(periodStartInclusive),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(periodEndExclusive)\n            ).then((result) => {\n                return resolve(this.transferThriftToObjectSerializer.getTransferIds(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public createTransferReport(\n        userSessionId : UserSessionId,\n        transferReportData : TransferReportData\n    ) : Promise<TransferId> {\n        return new Promise<TransferId>((resolve, reject) => {\n            this.inventoryTransferReportServiceClient.createTransferReport(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.transferObjectToThriftSerializer.getThriftTransferReportInfo(transferReportData)\n            ).then((result) => {\n                return resolve(this.transferThriftToObjectSerializer.getTransferId(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public updateTransferReport(\n        userSessionId : UserSessionId,\n        transferId : TransferId,\n        productAmounts : Array<ProductAmount>,\n        newReportTime : moment.Moment,\n        newNote : string | null\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            const productAmountUpdates = this.transferObjectToThriftSerializer.getThriftProductIdsAndQuantityOfProducts(productAmounts);\n            const reportUpdate = new InventoryTransferReportModel.BreakageReportUpdate({\n                productAmountUpdates,\n                newNote: newNote || '',\n                newReportTime : this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(newReportTime),\n            });\n\n            this.inventoryTransferReportServiceClient.updateTransferReport(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.transferObjectToThriftSerializer.getThriftTransferId(transferId),\n                reportUpdate\n            ).then((result) => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n        \n    }\n\n    public updateTransferReportRequisitionStep(\n        userSessionId : UserSessionId,\n        transferId : TransferId,\n        newRequisitionStep : TransferRequisitionStepType,\n        cancellationReason : string | null\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.inventoryTransferReportServiceClient.updateTransferReportRequisitionStep(\n                new InventoryTransferReportModel.UpdateTransferReportRequisitionStepRequest(\n                    {\n                        actor: this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                        reportIdentifier: this.transferObjectToThriftSerializer.getThriftTransferId(transferId),\n                        requisitionStep: newRequisitionStep,\n                        cancellationReason: cancellationReason ?? undefined\n                    }\n                )\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n\n    }\n\n    public deleteTransferReport(\n        userSessionId : UserSessionId,\n        transferId : TransferId\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.inventoryTransferReportServiceClient.deleteReport(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.transferObjectToThriftSerializer.getThriftTransferId(transferId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getCustomPartnerLocationNames(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n    ) : Promise<Array<string>> {\n        return new Promise<Array<string>>((resolve, reject) => {\n            this.inventoryTransferReportServiceClient.getCustomTransferPartnerLocationNamesForLocation(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public updateCustomPartnerLocationNameForTransferReport(\n        userSessionId : UserSessionId,\n        transferId : TransferId,\n        value : string,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.inventoryTransferReportServiceClient.updateCustomPartnerLocationName(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.transferObjectToThriftSerializer.getThriftTransferId(transferId),\n                value\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import ProductMappingModel from 'gen-thrift/product_mapping_Model_types';\n\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { InterLocationProductMapping } from 'api/Transfer/model/InterLocationProductMapping';\n\nexport class ProductMappingObjectToThriftSerializer {\n\n    constructor(\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getThriftInterLocationProductMapping(\n        interLocationProductMapping : InterLocationProductMapping,\n    ) : ProductMappingModel.InterLocationProductQuantityUnitMapping {\n        return new ProductMappingModel.InterLocationProductQuantityUnitMapping({\n            sourceLocationIdentifier: this.locationObjectToThriftSerializer.getThriftLocationId(interLocationProductMapping.getSourceLocationId()),\n            sourceProductId: this.productObjectToThriftSerializer.getThriftProductId(interLocationProductMapping.getSourceProductId()),\n            sourceQuantityOfProduct: this.productObjectToThriftSerializer.getThriftQuantityOfProduct(interLocationProductMapping.getSourceQuantityOfProduct()),\n            targetLocationIdentifier: this.locationObjectToThriftSerializer.getThriftLocationId(interLocationProductMapping.getTargetLocationId()),\n            targetProductId: this.productObjectToThriftSerializer.getThriftProductId(interLocationProductMapping.getTargetProductId()),\n            targetQuantityOfProduct: this.productObjectToThriftSerializer.getThriftQuantityOfProduct(interLocationProductMapping.getTargetQuantityOfProduct()),\n        });\n    }\n}\n","import ProductMappingModel from 'gen-thrift/product_mapping_Model_types';\n\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationThriftToObjectSerializer } from 'api/Location/serializer/LocationThriftToObjectSerializer';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { InterLocationProductMapping } from 'api/Transfer/model/InterLocationProductMapping';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\n\nexport class ProductMappingThriftToObjectSerializer {\n\n    constructor(\n        private locationThriftToObjectSerializer : LocationThriftToObjectSerializer,\n        private productThriftToObjectSerializer : ProductThriftToObjectSerializer\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getInterLocationProductMapping(\n        thriftInterLocationProductMapping : ProductMappingModel.InterLocationProductQuantityUnitMapping\n    ) : InterLocationProductMapping {\n        return new InterLocationProductMapping(\n            this.locationThriftToObjectSerializer.getLocationId(thriftInterLocationProductMapping.sourceLocationIdentifier),\n            this.productThriftToObjectSerializer.getProductId(thriftInterLocationProductMapping.sourceProductId),\n            this.productThriftToObjectSerializer.getQuantityInUnit(thriftInterLocationProductMapping.sourceQuantityOfProduct),\n            this.locationThriftToObjectSerializer.getLocationId(thriftInterLocationProductMapping.targetLocationIdentifier),\n            this.productThriftToObjectSerializer.getProductId(thriftInterLocationProductMapping.targetProductId),\n            this.productThriftToObjectSerializer.getQuantityInUnit(thriftInterLocationProductMapping.targetQuantityOfProduct),\n        );\n    }\n\n    public getInterLocationProductMappingFromUpdateEvent(\n        sourceLocation : LocationId,\n        targetLocation : LocationId,\n        thriftInterLocationProductMappingUpdateEvent : ProductMappingModel.ProductQuantityUnitMappingUpdateEvent\n    ) : InterLocationProductMapping {\n        return new InterLocationProductMapping(\n            sourceLocation,\n            this.productThriftToObjectSerializer.getProductId(thriftInterLocationProductMappingUpdateEvent.sourceProductId),\n            this.productThriftToObjectSerializer.getQuantityInUnit(thriftInterLocationProductMappingUpdateEvent.sourceQuantityOfProduct),\n            targetLocation,\n            this.productThriftToObjectSerializer.getProductId(thriftInterLocationProductMappingUpdateEvent.targetProductId),\n            this.productThriftToObjectSerializer.getQuantityInUnit(thriftInterLocationProductMappingUpdateEvent.targetQuantityOfProduct),\n            thriftInterLocationProductMappingUpdateEvent.matchAlgorithm,\n            new UserAccountIdAndTimestamp(\n                new UserAccountId(thriftInterLocationProductMappingUpdateEvent.actor.value),\n                thriftInterLocationProductMappingUpdateEvent.updateTime,\n            ),\n        );\n    }\n}\n","import { Client as InterLocationProductMappingServiceClient } from 'gen-thrift/InterLocationProductMappingService';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { IProductMappingService } from 'api/Transfer/interfaces/IProductMappingService';\nimport { InterLocationProductMapping } from 'api/Transfer/model/InterLocationProductMapping';\nimport { ProductMappingObjectToThriftSerializer } from 'api/Transfer/serializer/ProductMappingObjectToThriftSerializer';\nimport { ProductMappingThriftToObjectSerializer } from 'api/Transfer/serializer/ProductMappingThriftToObjectSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class ProductMappingServiceImpl implements IProductMappingService {\n    constructor (\n        private thriftClient : InterLocationProductMappingServiceClient,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private productMappingObjectToThriftSerializer : ProductMappingObjectToThriftSerializer,\n        private productMappingThriftToObjectSerializer : ProductMappingThriftToObjectSerializer,\n    ) { }\n\n    public getMappingsBetweenLocations(\n        session : UserSessionId,\n        sourceLocation : LocationId,\n        targetLocation : LocationId\n    ) : Promise<StringValueMap<ProductId, ProductId>> {\n        return new Promise<StringValueMap<ProductId, ProductId>>(((resolve, reject) => {\n            this.thriftClient.getMappingsBetweenLocations(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(session),\n                this.locationObjectToThriftSerializer.getThriftLocationId(sourceLocation),\n                this.locationObjectToThriftSerializer.getThriftLocationId(targetLocation)\n            ).then((result) => {\n                const productIdMap = new StringValueMap<ProductId, ProductId>();\n\n                result.forEach((mappingUpdateEvent) => {\n                    const source = new ProductId(mappingUpdateEvent.sourceProductId.value);\n                    const target = new ProductId(mappingUpdateEvent.targetProductId.value);\n                    if (productIdMap.has(source)) {\n                        throw new RuntimeException(sourceLocation.getValue() + ' ' + source.getValue() + ' mapped to multiple products in ' + targetLocation.getValue());\n                    }\n                    productIdMap.set(source, target);\n                });\n\n                return resolve(productIdMap);\n            }).catch((error) => {\n                return reject(error);\n            })\n        }));\n    }\n\n    public getProductQuantityUnitMappingsBetweenLocations(\n        userSessionId : UserSessionId,\n        sourceLocation : LocationId,\n        targetLocation : LocationId\n    ) : Promise<StringValueMap<ProductId, InterLocationProductMapping>> {\n        return new Promise<StringValueMap<ProductId, InterLocationProductMapping>>((resolve, reject) => {\n            this.thriftClient.getProductQuantityUnitMappingsBetweenLocations(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(sourceLocation),\n                this.locationObjectToThriftSerializer.getThriftLocationId(targetLocation)\n            ).then((result) => {\n                const productQuantityUnitMappings = new StringValueMap<ProductId, InterLocationProductMapping>();\n\n                result.forEach((productQuantityUnitMappingUpdateEvent) => {\n                    const interLocationProductMapping = this.productMappingThriftToObjectSerializer.getInterLocationProductMappingFromUpdateEvent(\n                        sourceLocation, targetLocation, productQuantityUnitMappingUpdateEvent\n                    );\n\n                    const sourceProductId = interLocationProductMapping.getSourceProductId();\n\n                    if (productQuantityUnitMappings.has(sourceProductId)) {\n                        throw new RuntimeException(sourceLocation.getValue() + ' ' + sourceProductId.getValue() + ' mapped to multiple products in ' + targetLocation.getValue());\n                    }\n\n                    productQuantityUnitMappings.set(sourceProductId, interLocationProductMapping);\n                });\n\n                return resolve(productQuantityUnitMappings);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public setProductQuantityUnitMappings(\n        userSessionId : UserSessionId,\n        interLocationProductMappings : Array<InterLocationProductMapping>\n    ) : Promise<void> {\n        const thriftIinterLocationProductMappings = interLocationProductMappings.map((interLocationProductMapping) => {\n            return this.productMappingObjectToThriftSerializer.getThriftInterLocationProductMapping(interLocationProductMapping);\n        });\n\n        return new Promise<void>((resolve, reject) => {\n            this.thriftClient.setProductQuantityUnitMappings(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                thriftIinterLocationProductMappings\n            ).then((result) => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public deleteProductQuantityUnitMapping(\n        userSessionId : UserSessionId,\n        interLocationProductMapping : InterLocationProductMapping,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftClient.deleteProductQuantityUnitMapping(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.productMappingObjectToThriftSerializer.getThriftInterLocationProductMapping(interLocationProductMapping)\n            ).then((result) => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getMappingCountsByPartnerLocation(\n        userSessionId : UserSessionId,\n        location : LocationId,\n    ) : Promise<StringValueMap<LocationId, number>> {\n        return this.thriftClient.getMappingCountsByPartnerLocation(\n            this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n            this.locationObjectToThriftSerializer.getThriftLocationId(location),\n        ).then((partnerLocationMappingCounts) => {\n            const mappingCountByPartnerLocationId = new StringValueMap<LocationId, number>();\n            partnerLocationMappingCounts.forEach((partnerLocationMappingCount) => {\n                mappingCountByPartnerLocationId.set(\n                    new LocationId(partnerLocationMappingCount.partnerLocation.value),\n                    partnerLocationMappingCount.mappingCount,\n                );\n            });\n            return mappingCountByPartnerLocationId;\n        });\n    }\n}\n","import InventoryTransferReportModel from 'gen-thrift/inventory_transfer_report_Model_types';\nimport ProductModel from 'gen-thrift/product_Model_types';\n\nimport { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\n\nexport class BreakageObjectToThriftSerializer {\n\n    constructor(\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getThriftBreakageId(\n        breakageId : BreakageId,\n    ) : InventoryTransferReportModel.BreakageReportIdentifier {\n        return new InventoryTransferReportModel.BreakageReportIdentifier({ value : breakageId.getValue() });\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getThriftBreakageIds(\n        breakageIds : Array<BreakageId>\n    ) : Array<InventoryTransferReportModel.BreakageReportIdentifier> {\n        return breakageIds.map((breakageId) => {\n            return this.getThriftBreakageId(breakageId);\n        });\n    }\n\n    public getThriftProductIdsAndQuantityOfProducts(\n        productAmounts : Array<ProductAmount>\n    ) : Array<ProductModel.ProductIdAndQuantityOfProduct> {\n        return productAmounts.map((productAmount) => {\n            return this.productObjectToThriftSerializer.getThriftProductIdAndQuantityOfProduct(productAmount);\n        });\n    }\n}\n","import InventoryTransferReportModel from 'gen-thrift/inventory_transfer_report_Model_types';\n\nimport { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { BreakageReport } from 'api/Breakage/model/BreakageReport';\nimport { BreakageReportData } from 'api/Breakage/model/BreakageReportData';\nimport { ReportMetadata } from 'api/Breakage/model/ReportMetadata';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationThriftToObjectSerializer } from 'api/Location/serializer/LocationThriftToObjectSerializer';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { UserAccountIdAndTimestamp } from 'api/UserAccount/model/UserAccountIdAndTimestamp';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class BreakageThriftToObjectSerializer {\n\n    constructor(\n        private userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer,\n        private productThriftToObjectSerializer : ProductThriftToObjectSerializer,\n        private locationThriftToObjectSerializer : LocationThriftToObjectSerializer,\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getBreakageId(\n        breakageId : InventoryTransferReportModel.BreakageReportIdentifier,\n    ) : BreakageId {\n        return new BreakageId(breakageId.value);\n    }\n\n    public getReportMetadata(\n        reportMetadata : InventoryTransferReportModel.ReportMetaData,\n    ) : ReportMetadata {\n        const creationMetadata = new UserAccountIdAndTimestamp(this.userAccountThriftToObjectSerializer.getUserAccountId(reportMetadata.creator), reportMetadata.creationTime);\n\n        let updateMetadata : UserAccountIdAndTimestamp | null;\n        if ((reportMetadata.lastUpdater == null) || (reportMetadata.lastUpdateTime == null)) {\n            if (reportMetadata.lastUpdater !== reportMetadata.lastUpdateTime) {\n                throw new RuntimeException('unexpected report metadata with invalid last update metadata');\n            }\n\n            updateMetadata = null;\n        } else {\n            updateMetadata = new UserAccountIdAndTimestamp(this.userAccountThriftToObjectSerializer.getUserAccountId(reportMetadata.lastUpdater), reportMetadata.lastUpdateTime);\n        }\n\n        return new ReportMetadata(creationMetadata, updateMetadata, reportMetadata.perspectiveIsOriginator);\n    }\n\n    public getBreakageReportData(\n        breakageReportData : InventoryTransferReportModel.BreakageReportInfo\n    ) : BreakageReportData {\n        const productAmounts = breakageReportData.productAmounts.map((productCountAmount) => {\n            return this.productThriftToObjectSerializer.getProductAmount(productCountAmount);\n        });\n\n        return new BreakageReportData(\n            this.locationThriftToObjectSerializer.getLocationId(breakageReportData.perspectiveLocation),\n            productAmounts,\n            breakageReportData.breakageTime,\n            breakageReportData.note,\n            breakageReportData.type ?? null\n        );\n    }\n\n    public getBreakageReport(\n        breakageReport : InventoryTransferReportModel.BreakageReportAndMetadata\n    ) : BreakageReport {\n        return new BreakageReport(\n            this.getBreakageReportData(breakageReport.data),\n            this.getReportMetadata(breakageReport.metaData),\n        );\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getBreakageIds(\n        breakageIds : Array<InventoryTransferReportModel.BreakageReportIdentifier>\n    ) : StringValueSet<BreakageId> {\n        const breakageIdSet = new StringValueSet<BreakageId>();\n\n        breakageIds.forEach((breakageId) => {\n            breakageIdSet.add(this.getBreakageId(breakageId));\n        });\n\n        return breakageIdSet;\n    }\n\n    public getBreakageReports(\n        breakageReports : Array<InventoryTransferReportModel.BreakageReportAndMetadata>\n    ) : Array<BreakageReport> {\n        return breakageReports.map((breakageReport) => {\n            return this.getBreakageReport(breakageReport);\n        });\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { Client as BreakageReportServiceClient } from 'gen-thrift/BreakageReportService';\nimport InventoryTransferReportModel from 'gen-thrift/inventory_transfer_report_Model_types';\nimport ProductModel from 'gen-thrift/product_Model_types';\n\nimport { IBreakageService } from 'api/Breakage/interfaces/IBreakageService';\nimport { BreakageId } from 'api/Breakage/model/BreakageId';\nimport { BreakageReport } from 'api/Breakage/model/BreakageReport';\nimport { BreakageObjectToThriftSerializer } from 'api/Breakage/serializer/BreakageObjectToThriftSerializer';\nimport { BreakageThriftToObjectSerializer } from 'api/Breakage/serializer/BreakageThriftToObjectSerializer';\nimport { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductAmount } from 'api/Product/model/ProductAmount';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { DateTime } from 'shared/models/DateTime';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nexport class BreakageServiceImpl implements IBreakageService {\n\n    constructor (\n        private breakageReportServiceClient : BreakageReportServiceClient,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private breakageObjectToThriftSerializer : BreakageObjectToThriftSerializer,\n        private breakageThriftToObjectSerializer : BreakageThriftToObjectSerializer,\n        private momentObjectToThriftSerializer : MomentObjectToThriftSerializer,\n    ) { }\n\n    public getBreakageReportsById(\n        userSessionId : UserSessionId,\n        breakageIds : StringValueSet<BreakageId>,\n    ) : Promise<StringValueMap<BreakageId, BreakageReport>> {\n        const breakageIdsList = Array.from(breakageIds.values());\n\n        return new Promise<StringValueMap<BreakageId, BreakageReport>>((resolve, reject) => {\n            this.breakageReportServiceClient.getBreakageReportsByIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.breakageObjectToThriftSerializer.getThriftBreakageIds(breakageIdsList)\n            ).then((result) => {\n                const breakageReports = this.breakageThriftToObjectSerializer.getBreakageReports(result);\n\n                if (breakageIdsList.length !== breakageReports.length) {\n                    throw new RuntimeException('result length did not match number of breakageIds');\n                }\n\n                const reportsById = new StringValueMap<BreakageId, BreakageReport>();\n                breakageIdsList.forEach((breakageId, index) => {\n                    reportsById.set(breakageId, breakageReports[index]);\n                });\n\n                return resolve(reportsById);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public getBreakageReportsForLocationInPeriod(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        periodStartInclusive : moment.Moment,\n        periodEndExclusive : moment.Moment,\n    ) : Promise<StringValueSet<BreakageId>> {\n        return new Promise<StringValueSet<BreakageId>>((resolve, reject) => {\n            this.breakageReportServiceClient.getReportsForLocationInPeriod(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(periodStartInclusive),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(periodEndExclusive)\n            ).then((result) => {\n                return resolve(this.breakageThriftToObjectSerializer.getBreakageIds(result));\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public getBreakageTypesForLocation(\n        userSessionId : UserSessionId,\n        locationIdentifier : LocationId\n    ) : Promise<Array<string>> {\n        return new Promise<Array<string>>((resolve, reject) => {\n            this.breakageReportServiceClient.getBreakageTypesForLocation(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationIdentifier)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public createBreakageReport(\n        userSessionId : UserSessionId,\n        perspectiveLocation : LocationId,\n        productAmounts : Array<ProductAmount>,\n        breakageTime : DateTime,\n        note : string | null,\n        type : string | null,\n    ) : Promise<BreakageId> {\n        return new Promise<BreakageId>((resolve, reject) => {\n            const thriftProductIdsAndQuantityOfProducts : Array<ProductModel.ProductIdAndQuantityOfProduct> = this.breakageObjectToThriftSerializer.getThriftProductIdsAndQuantityOfProducts(productAmounts);\n            const report = new InventoryTransferReportModel.BreakageReportInfo({\n                perspectiveLocation: this.locationObjectToThriftSerializer.getThriftLocationId(perspectiveLocation),\n                productAmounts: thriftProductIdsAndQuantityOfProducts,\n                breakageTime: breakageTime.toTimestampWithMillisecondPrecision(),\n                note: note || '',\n                type: type || '', // TODO from thrift this appears to be allowed to be null... why do we make it a string?\n            });\n            this.breakageReportServiceClient.createBreakageReport(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                report\n            ).then((result) => {\n                return resolve(this.breakageThriftToObjectSerializer.getBreakageId(result));\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public updateBreakageReport(\n        userSessionId : UserSessionId,\n        reportIdentifier : BreakageId,\n        productAmounts : Array<ProductAmount>,\n        newReportTime : DateTime,\n        newNote : string | null,\n        newType : string | null\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            const productAmountUpdates = this.breakageObjectToThriftSerializer.getThriftProductIdsAndQuantityOfProducts(productAmounts);\n            const reportUpdate = new InventoryTransferReportModel.BreakageReportUpdate({\n                productAmountUpdates,\n                newNote: newNote || '',\n                newReportTime : newReportTime.toTimestampWithMillisecondPrecision(),\n            });\n            this.breakageReportServiceClient.updateBreakageReport(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.breakageObjectToThriftSerializer.getThriftBreakageId(reportIdentifier),\n                reportUpdate\n            ).then((result) => {\n                this.breakageReportServiceClient.updateType(\n                    this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                    this.breakageObjectToThriftSerializer.getThriftBreakageId(reportIdentifier),\n                    newType || ''\n                ).then((updateResult) => {\n                    return resolve();\n                }).catch((updateError) => {\n                    return reject(updateError);\n                })\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public deleteBreakageReport(\n        userSessionId : UserSessionId,\n        reportIdentifier : BreakageId\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.breakageReportServiceClient.deleteReport(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.breakageObjectToThriftSerializer.getThriftBreakageId(reportIdentifier)\n            ).then((result) => {\n               return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import { IOfflineQueueManager } from 'api/Core/OfflineQueueManager/interfaces/IOfflineQueueManager';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport {\n    IInventoryCountRetailerViewPreferences,\n    IInventoryCountViewPreferencesService\n} from 'api/InventoryCount/interfaces/IInventoryCountViewPreferencesService';\nimport { StorageAreaId } from 'api/InventoryCount/model/StorageAreaId';\nimport { LocationId } from 'api/Location/model/LocationId';\n\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { AppQueueApi } from 'shared/lib/serviceRegistryTypes';\nimport { GroupByOption } from 'shared/models/GroupByOption';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\ninterface IGetRetailerInventoryViewPreferencesResponse {\n    success : boolean;\n    view_preferences : { [storageAreaId : string] : {\n        activeColumnSort : IColumnSorting;\n        activeGroupByOption : string;\n    } };\n}\n\nexport class InventoryCountViewPreferencesServiceImpl implements IInventoryCountViewPreferencesService {\n\n    constructor (\n        private offlineQueueManager : IOfflineQueueManager<AppQueueApi>,\n    ) {}\n\n    public setRetailerInventoryViewPreferencesForStorageAreaForLocationId(\n        locationId : LocationId,\n        storageAreaId : StorageAreaId,\n        viewPreferences : IInventoryCountRetailerViewPreferences\n    ) : Promise<void> {\n        // yeah we prefer rest params for readability but I'm not refactoring this as part of linting updates. If you touch this code, please fix.\n        // eslint-disable-next-line prefer-rest-params\n        return this.offlineQueueManager.enqueueServiceCall('inventoryCountViewPreferencesService', 'setRetailerInventoryViewPreferencesForStorageAreaForLocationIdFromQueue', [\n            locationId.getValue(),\n            storageAreaId.getValue(),\n            JSON.stringify(viewPreferences)\n        ]);\n    }\n\n    public setRetailerInventoryViewPreferencesForStorageAreaForLocationIdFromQueue(\n        locationId : string,\n        storageAreaId : string,\n        viewPreferences : string\n    ) : Promise<void> {\n        // yeah we prefer rest params for readability but I'm not refactoring this as part of linting updates. If you touch this code, please fix.\n        // eslint-disable-next-line prefer-rest-params\n        return new Promise<void>((resolve, reject) => {\n            const urlValue = url('inventory:set_retailer_view_preferences_for_storage_area', null, locationId, null);\n            const formData : FormData = new FormData();\n            formData.append('storage_area_id', storageAreaId);\n            formData.append('view_preferences', viewPreferences);\n            return AjaxUtils.ajaxPostForm(urlValue, formData)\n                .then((response) => {\n                    resolve();\n                })\n                .catch((reason) => {\n                    reject(reason);\n                });\n        });\n    }\n\n    // TODO Offline Queue?\n    public getRetailerInventoryViewPreferencesForLocationId(\n        locationId : LocationId\n    ) : Promise<StringValueMap<StorageAreaId, IInventoryCountRetailerViewPreferences>> {\n        return AjaxUtils.ajaxGet(url('inventory:get_retailer_view_preferences_for_storage_area', null, locationId.getValue(), null))\n        .then((response : IGetRetailerInventoryViewPreferencesResponse) => {\n            const preferencesByStorageAreaId = new StringValueMap<StorageAreaId, IInventoryCountRetailerViewPreferences>();\n\n            const viewPreferences = response.view_preferences;\n            if (viewPreferences) {\n                for (const storageAreaIdStr of Object.keys(viewPreferences)) {\n                    const viewPreferencesForStorageArea = viewPreferences[storageAreaIdStr];\n\n                    let activeGroupByOption : GroupByOption;\n                    const activeGroupByOptionValue = viewPreferencesForStorageArea.activeGroupByOption;\n                    switch (activeGroupByOptionValue) {\n                        case 'ALL_ITEMS':\n                            activeGroupByOption = GroupByOption.ALL_ITEMS;\n                            break;\n                        case 'DISTRIBUTOR':\n                            activeGroupByOption = GroupByOption.DISTRIBUTOR;\n                            break;\n                        case 'CATEGORY':\n                            activeGroupByOption = GroupByOption.CATEGORY;\n                            break;\n                        case 'ITEM_TYPE':\n                            activeGroupByOption = GroupByOption.ITEM_TYPE;\n                            break;\n                        case 'LAST_EDITED':\n                            activeGroupByOption = GroupByOption.LAST_EDITED;\n                            break;\n                        default:\n                            throw new RuntimeException(`unexpected activeGroupByOptionValue: ${ activeGroupByOptionValue }`);\n                    }\n\n                    preferencesByStorageAreaId.set(new StorageAreaId(storageAreaIdStr), {\n                        activeColumnSort: viewPreferencesForStorageArea.activeColumnSort,\n                        activeGroupByOption,\n                    });\n                }\n            }\n\n            return Promise.resolve(preferencesByStorageAreaId);\n        });\n    }\n}\n","import moment from 'moment-timezone';\n\nimport SalesItemModel from 'gen-thrift/sales_item_Model_types';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\n\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { ItemLevelSalesReportConfiguration } from '../model/ItemLevelSalesReportConfiguration';\nimport { ItemLevelSalesReportConfigurationId } from '../model/ItemLevelSalesReportConfigurationId';\nimport { SalesEntry } from '../model/SalesEntry';\nimport { LocationId } from 'api/Location/model/LocationId';\n\nexport interface IItemLevelSalesReportConfigurationJSONObject {\n    usage_bottle_adjustments_by_product_id : {[productIdValue : string] : {quantity_adjustment : number | null}};\n    creation_time : string;\n    date_processed : string | null;\n    sales_by_sales_item_id : {[salesItemId : string] : ISalesEntryJSONObject};\n    creator_user_id : string;\n    bounding_inventory_id_0 : string;\n    bounding_inventory_id_1 : string;\n    is_processing : boolean;\n    retailer_id : string;\n    tracked_product_id_set : Array<string>;\n    track_sales_items_with_no_components : boolean;\n}\n\ninterface ISalesEntryJSONObject {\n    price : number | null;\n    quantity : number | null;\n    quantity_adjustment : number | null;\n    sales_adjustment : number | null;\n}\n\nexport class ItemLevelSalesReportConfigurationSerializer {\n    public getItemLevelSalesReportConfigurationsById(\n        reportConfigurationsByIdJSONData : {[reportConfigurationId : string] : IItemLevelSalesReportConfigurationJSONObject}\n    ) : StringValueMap<ItemLevelSalesReportConfigurationId, ItemLevelSalesReportConfiguration> {\n        const result = new StringValueMap<ItemLevelSalesReportConfigurationId, ItemLevelSalesReportConfiguration>();\n\n        Object.keys(reportConfigurationsByIdJSONData).forEach((idValue) => {\n            const reportConfigurationJSONObject = reportConfigurationsByIdJSONData[idValue];\n\n            result.set(\n                new ItemLevelSalesReportConfigurationId(idValue),\n                this.getItemLevelSalesReportConfiguration(reportConfigurationJSONObject)\n            );\n        });\n\n        return result;\n    }\n\n    public getItemLevelSalesReportConfiguration(\n        reportConfigurationJSONObject : IItemLevelSalesReportConfigurationJSONObject\n    ) : ItemLevelSalesReportConfiguration {\n\n        const creationTime = moment.utc(reportConfigurationJSONObject.creation_time);\n\n        const creatorUserId = new UserAccountId(reportConfigurationJSONObject.creator_user_id);\n\n        const dateProcessed = reportConfigurationJSONObject.date_processed !== null ? moment.utc(reportConfigurationJSONObject.date_processed) : null;\n\n        const startingInventoryId = new InventoryCountId(reportConfigurationJSONObject.bounding_inventory_id_0);\n\n        const endingInventoryId = new InventoryCountId(reportConfigurationJSONObject.bounding_inventory_id_1);\n\n        const salesBySalesItemId : StringValueMap<SalesItemId, SalesEntry> =\n            this.getSalesBySalesItemId(reportConfigurationJSONObject.sales_by_sales_item_id);\n\n        const isProcessing : boolean = reportConfigurationJSONObject.is_processing === true;\n\n        const trackedProductIdSet = new StringValueSet<ProductId>();\n        reportConfigurationJSONObject.tracked_product_id_set.forEach((productIdValue) => trackedProductIdSet.add(new ProductId(productIdValue)));\n\n        const trackSalesItemsWithNoComponents = reportConfigurationJSONObject.track_sales_items_with_no_components === true;\n\n        const usageBottleAdjustmentsByProductId = new StringValueMap<ProductId, number>();\n        Object.keys(reportConfigurationJSONObject.usage_bottle_adjustments_by_product_id).forEach((productIdValue) => {\n            const quantityAdjustment = reportConfigurationJSONObject.usage_bottle_adjustments_by_product_id[productIdValue].quantity_adjustment;\n            if (quantityAdjustment) {\n                usageBottleAdjustmentsByProductId.set(new ProductId(productIdValue), quantityAdjustment);\n            }\n        });\n\n        return new ItemLevelSalesReportConfiguration(\n            creationTime,\n            creatorUserId,\n            dateProcessed,\n            startingInventoryId,\n            endingInventoryId,\n            salesBySalesItemId,\n            isProcessing,\n            trackedProductIdSet,\n            trackSalesItemsWithNoComponents,\n            usageBottleAdjustmentsByProductId,\n            new LocationId(reportConfigurationJSONObject.retailer_id)\n        );\n    }\n\n    public getSalesBySalesItemId(\n        salesBySalesItemIdJSONObject : {[salesItemId : string] : ISalesEntryJSONObject}\n    ) : StringValueMap<SalesItemId, SalesEntry> {\n        const result = new StringValueMap<SalesItemId, SalesEntry>();\n\n        Object.keys(salesBySalesItemIdJSONObject).forEach((salesItemId) => {\n            const salesEntry = salesBySalesItemIdJSONObject[salesItemId];\n            result.set(\n                new SalesItemId(salesItemId),\n                new SalesEntry(\n                    salesEntry.price,\n                    salesEntry.quantity,\n                    salesEntry.quantity_adjustment,\n                    salesEntry.sales_adjustment\n                )\n            );\n        });\n\n        return result;\n    }\n\n    public getThriftItemLevelSalesReportConfigurationId(itemLevelSalesReportConfigurationId : ItemLevelSalesReportConfigurationId) : SalesItemModel.ItemLevelRevenueAndCostReportConfigurationId {\n        return new SalesItemModel.ItemLevelRevenueAndCostReportConfigurationId({ value: itemLevelSalesReportConfigurationId.getValue() });\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { DJANGO_API_UTC_TIMESTAMP_FORMAT } from 'shared/constants';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { IItemLevelSalesReportConfigurationService } from '../interfaces/IItemLevelSalesReportConfigurationService';\nimport { ItemLevelSalesReportConfiguration } from '../model/ItemLevelSalesReportConfiguration';\nimport { ItemLevelSalesReportConfigurationId } from '../model/ItemLevelSalesReportConfigurationId';\nimport { SalesEntry } from '../model/SalesEntry';\nimport {\n    IItemLevelSalesReportConfigurationJSONObject,\n    ItemLevelSalesReportConfigurationSerializer\n} from '../serializer/ItemLevelSalesReportConfigurationSerializer';\n\nexport class ItemLevelSalesReportConfigurationServiceImpl implements IItemLevelSalesReportConfigurationService {\n    private readonly serializer : ItemLevelSalesReportConfigurationSerializer;\n\n    constructor (\n        serializer : ItemLevelSalesReportConfigurationSerializer,\n    ) {\n        this.serializer = serializer;\n    }\n\n    public getItemLevelSalesReportConfigurationsByIdForInventoryCount(\n        inventoryCountId : InventoryCountId,\n    ) : Promise<StringValueMap<ItemLevelSalesReportConfigurationId, ItemLevelSalesReportConfiguration>> {\n        const queryParameters = {\n            inventory_id: inventoryCountId.getValue()\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:item_level_revenue_and_cost_report_configuration'), queryParameters)\n        .then((response : {report_configurations_by_id : {[reportConfigurationId : string] : IItemLevelSalesReportConfigurationJSONObject}}) => {\n            return Promise.resolve(this.serializer.getItemLevelSalesReportConfigurationsById(response.report_configurations_by_id));\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getItemLevelSalesReportConfigurationIdsForLocation(\n        locationId : LocationId,\n    ) : Promise<StringValueSet<ItemLevelSalesReportConfigurationId>> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:item_level_revenue_and_cost_report_configuration'), queryParameters)\n        .then((reportIds : Array<string>) => {\n            return Promise.resolve(new StringValueSet(reportIds.map((idValue) => new ItemLevelSalesReportConfigurationId(idValue))));\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getItemLevelSalesReportProcessedTimeByConfigurationIdInTimeRange(\n        locationId : LocationId,\n        startTimeInclusive : moment.Moment,\n        endTimeExclusive : moment.Moment\n    ) : Promise<StringValueMap<ItemLevelSalesReportConfigurationId, moment.Moment>> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            start_time_inclusive: this.serializeTimestamp(startTimeInclusive),\n            end_time_exclusive: this.serializeTimestamp(endTimeExclusive),\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:item_level_revenue_and_cost_report_configuration_processed_time'), queryParameters)\n        .then((response : {[key : string] : string}) => {\n            const result = new StringValueMap<ItemLevelSalesReportConfigurationId, moment.Moment>();\n            Object.keys(response).forEach((key) => {\n                result.set(new ItemLevelSalesReportConfigurationId(key), moment.utc(response[key]));\n            });\n            return Promise.resolve(result);\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getItemLevelSalesReportConfigurationForId(\n        reportId : ItemLevelSalesReportConfigurationId\n    ) : Promise<ItemLevelSalesReportConfiguration> {\n        const queryParameters = {\n            configuration_id: reportId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:item_level_revenue_and_cost_report_configuration'), queryParameters)\n        .then((response) => {\n            return Promise.resolve(this.serializer.getItemLevelSalesReportConfiguration(response.item_level_revenue_and_cost_report_configuration));\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public addOrUpdateSalesEntry(\n        reportId : ItemLevelSalesReportConfigurationId,\n        salesItemId : SalesItemId,\n        salesEntry : SalesEntry\n    ) : Promise<void> {\n\n        // CURRENT FORM IMPL IN PYTHON:\n        // price = FloatField(required=False)\n        // quantity = IntegerField(required=False)\n        // quantity_adjustment = IntegerField(required=False, allow_negatives=True)\n        // sales_adjustment = FloatField(required=False)\n\n        const formData : FormData = new FormData();\n        formData.append('item_level_revenue_and_cost_report_configuration_id', reportId.getValue());\n        formData.append('sales_item_id', salesItemId.getValue());\n\n        const price = salesEntry.getPrice();\n        if (price !== null) {\n            formData.append('price', price.toString());\n        }\n        const quantity = salesEntry.getQuantity();\n        if (quantity !== null) {\n            formData.append('quantity', quantity.toString());\n        }\n        const quantityAdjustment = salesEntry.getQuantityAdjustment();\n        if (quantityAdjustment !== null) {\n            formData.append('quantity_adjustment', quantityAdjustment.toString());\n        }\n        const salesAdjustment = salesEntry.getSalesAdjustment();\n        if (salesAdjustment !== null) {\n            formData.append('sales_adjustment',  salesAdjustment.toString());\n        }\n\n        return AjaxUtils.ajaxPostForm(\n            url('sales:reports:item_level:add_or_update_sales_entry', null, window.GLOBAL_RETAILER_ID, null),\n            formData\n        ).then((response) => {\n            if (!response.success) {\n                throw new Error('failed to update');\n            }\n        });\n    }\n\n    public addOrUpdateSalesEntries(\n        reportId: ItemLevelSalesReportConfigurationId,\n        salesEntryBySalesItemId: StringValueMap<SalesItemId, SalesEntry>\n    ): Promise<void> {\n        return AjaxUtils.ajaxPut(\n            url('sales:reports:item_level:add_or_update_sales_entries', null, window.GLOBAL_RETAILER_ID, null),\n            {\n                item_level_revenue_and_cost_report_configuration_id: reportId.getValue(),\n                sales_entries_by_sales_item_id: this.serializeSalesEntriesToJson(salesEntryBySalesItemId)\n            }\n        );\n    }\n\n    public removeSalesEntries(\n        reportId : ItemLevelSalesReportConfigurationId,\n        salesItemIds : StringValueSet<SalesItemId>,\n    ) : Promise<void> {\n        const idValues : Array<string> = [];\n        salesItemIds.forEach((salesItemId) => {\n            idValues.push(salesItemId.getValue());\n        });\n\n        const requestBody = {\n            sales_item_ids_to_remove: idValues,\n            item_level_revenue_and_cost_report_configuration_id: reportId.getValue()\n        };\n\n        return AjaxUtils.ajaxPut(\n            url('sales:reports:item_level:remove_sales_items', null, window.GLOBAL_RETAILER_ID, null),\n            requestBody\n        ).then((response) => {\n            if (!response.success) {\n                throw new Error('failed to update');\n            }\n        });\n    }\n\n    public updateTrackingStatesForProducts(\n        reportId : ItemLevelSalesReportConfigurationId,\n        isTrackedByProductId : StringValueMap<ProductId, boolean>\n    ) {\n        const formData : FormData = new FormData();\n        formData.append('item_level_revenue_and_cost_report_configuration_id', reportId.getValue());\n\n        const isTrackedByProductIdValue : Record<string, boolean> = {};\n        isTrackedByProductId.forEach((isTracked, productId) => {\n            isTrackedByProductIdValue[productId.getValue()] = isTracked;\n        });\n        formData.append('is_tracked_by_product_id', JSON.stringify(isTrackedByProductIdValue));\n\n        return AjaxUtils.ajaxPostForm(\n            url('sales:reports:item_level:update_tracking_states_for_products', null, window.GLOBAL_RETAILER_ID, null),\n            formData\n        ).then((response) => {\n            if (!response.success) {\n                throw new Error('failed to update');\n            }\n        });\n    }\n\n    public updateShouldTrackItemsWithNoComponents(reportId : ItemLevelSalesReportConfigurationId, shouldTrackItems : boolean) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('item_level_revenue_and_cost_report_configuration_id', reportId.getValue());\n        formData.append('should_track_items_with_no_components', JSON.stringify(shouldTrackItems));\n\n        return AjaxUtils.ajaxPostForm(\n            url('sales:reports:item_level:update_should_track_sales_items_with_no_components', null, window.GLOBAL_RETAILER_ID, null),\n            formData\n        ).then((response) => {\n            if (!response.success) {\n                throw new Error('failed to update');\n            }\n        });\n\n    }\n\n    public deleteReport(reportId : ItemLevelSalesReportConfigurationId) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('item_level_revenue_and_cost_report_configuration_id', reportId.getValue());\n\n        return AjaxUtils.ajaxPostForm(\n            url('sales:reports:item_level:delete_report_configuration', null, window.GLOBAL_RETAILER_ID, null),\n            formData\n        ).then((response) => {\n            if (!response.success) {\n                throw new Error('failed to update');\n            }\n        });\n    }\n\n    public createItemLevelSalesReportConfiguration(\n        startInventoryId : InventoryCountId,\n        endInventoryId : InventoryCountId,\n        salesEntries : StringValueMap<SalesItemId, SalesEntry>,\n        reportName : string,\n    ) : Promise<ItemLevelSalesReportConfigurationId> {\n        const formData : FormData = new FormData();\n        formData.append('start_inventory_id', startInventoryId.getValue());\n        formData.append('end_inventory_id', endInventoryId.getValue());\n        formData.append('sales_entries_by_sales_item_id', JSON.stringify(this.serializeSalesEntriesToJson(salesEntries)));\n        formData.append('report_name', reportName);\n\n        return AjaxUtils.ajaxPostForm(\n            url('sales:reports:item_level:create_report_configuration_new', null, window.GLOBAL_RETAILER_ID, null),\n            formData\n        ).then((response) => {\n            if (!response.success) {\n                throw new Error('failed to create');\n            }\n            return new ItemLevelSalesReportConfigurationId(response.id);\n        });\n\n    }\n\n    public notifySalesReportSubscribers(reportId : ItemLevelSalesReportConfigurationId) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('item_level_revenue_and_cost_report_configuration_id', reportId.getValue());\n\n        return AjaxUtils.ajaxPostForm(\n            url('sales:reports:item_level:notify_users', null, window.GLOBAL_RETAILER_ID, null),\n            formData\n        ).then((response) => {\n            if (!response.success) {\n                throw new Error('failed to notify');\n            }\n        });\n    }\n\n    private serializeSalesEntriesToJson(salesEntries : StringValueMap<SalesItemId, SalesEntry>) {\n        const result : {[key : string] : object} = {};\n        salesEntries.forEach(((value, key) => {\n            result[key.getValue()] = value.toJson();\n        }));\n        return result;\n    }\n\n    private serializeTimestamp(time : moment.Moment) : string {\n        return time.utc().format(DJANGO_API_UTC_TIMESTAMP_FORMAT);\n    }\n\n}\n","import moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\n\nimport { CategoryLevelSalesReportConfiguration } from '../model/CategoryLevelSalesReportConfiguration';\nimport { CategoryLevelSalesReportConfigurationId } from '../model/CategoryLevelSalesReportConfigurationId';\n\nexport interface ICategoryLevelSalesReportConfigurationJSONObject {\n    creation_time : string;\n    bounding_inventory_id_0 : string;\n    bounding_inventory_id_1 : string;\n    revenue_by_product_category_id_and_sales_category_name_and_iso_4217_currency_code : object; // Not serializing these for now -- Marina\n    revenue_without_product_category_by_sales_category_name_and_iso_4217_currency_code : object; // Not serializing these for now -- Marina\n}\n\nexport class CategoryLevelSalesReportConfigurationSerializer {\n    public getCategoryLevelSalesReportConfigurationsById(\n        reportConfigurationsByIdJSONData : {[reportConfigurationId : string] : ICategoryLevelSalesReportConfigurationJSONObject},\n    ) : StringValueMap<CategoryLevelSalesReportConfigurationId, CategoryLevelSalesReportConfiguration> {\n        const result = new StringValueMap<CategoryLevelSalesReportConfigurationId, CategoryLevelSalesReportConfiguration>();\n\n        Object.keys(reportConfigurationsByIdJSONData).forEach((idValue) => {\n            const reportConfigurationJSONObject = reportConfigurationsByIdJSONData[idValue];\n\n            result.set(\n                new CategoryLevelSalesReportConfigurationId(idValue),\n                this.getCategoryLevelSalesReportConfiguration(reportConfigurationJSONObject)\n            );\n        });\n\n        return result;\n    }\n\n    public getCategoryLevelSalesReportConfiguration(\n        reportConfigurationJSONObject : ICategoryLevelSalesReportConfigurationJSONObject\n    ) : CategoryLevelSalesReportConfiguration {\n        const creationTime = moment.utc(reportConfigurationJSONObject.creation_time);\n\n        const startingInventoryId = new InventoryCountId(reportConfigurationJSONObject.bounding_inventory_id_0);\n\n        const endingInventoryId = new InventoryCountId(reportConfigurationJSONObject.bounding_inventory_id_1);\n\n        return new CategoryLevelSalesReportConfiguration(\n            creationTime,\n            startingInventoryId,\n            endingInventoryId\n        );\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\n\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nimport { ICategoryLevelSalesReportConfigurationService } from '../interfaces/ICategoryLevelSalesReportConfigurationService';\nimport { CategoryLevelSalesReportConfiguration } from '../model/CategoryLevelSalesReportConfiguration';\nimport { CategoryLevelSalesReportConfigurationId } from '../model/CategoryLevelSalesReportConfigurationId';\nimport {\n    CategoryLevelSalesReportConfigurationSerializer,\n    ICategoryLevelSalesReportConfigurationJSONObject\n} from '../serializer/CategoryLevelSalesReportConfigurationSerializer';\n\nexport class CategoryLevelSalesReportConfigurationServiceImpl implements ICategoryLevelSalesReportConfigurationService {\n    private readonly serializer : CategoryLevelSalesReportConfigurationSerializer;\n\n    constructor(\n        serializer : CategoryLevelSalesReportConfigurationSerializer,\n    ) {\n        this.serializer = serializer;\n    }\n\n    public getCategoryLevelSalesReportConfigurationsByIdForInventoryCount(\n        inventoryCountId : InventoryCountId,\n    ) : Promise<StringValueMap<CategoryLevelSalesReportConfigurationId, CategoryLevelSalesReportConfiguration>> {\n        const queryParameters = {\n            inventory_id: inventoryCountId.getValue()\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:category_level_revenue_and_cost_report_configuration'), queryParameters)\n        .then((response : {category_level_revenue_and_cost_report_configurations_by_id : {[reportConfigurationId : string] : ICategoryLevelSalesReportConfigurationJSONObject}}) => {\n            return Promise.resolve(this.serializer.getCategoryLevelSalesReportConfigurationsById(response.category_level_revenue_and_cost_report_configurations_by_id));\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { IUserName } from 'api/UserAccount/model/IUserName';\nimport { UserEvent } from 'api/UserAccount/model/UserEvent';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { Auth } from 'aws-amplify';\nimport Cookies from 'js-cookie';\nimport jwtDecode from 'jwt-decode';\n\nimport { LocationJSONToObjectSerializer } from 'api/Location/serializer/LocationJSONToObjectSerializer';\nimport { IUserAccountInfoReader, UserAccountInfo } from 'api/UserAccount/interfaces/IUserAccountInfoReader';\nimport { IUserAccountInfoWriter } from 'api/UserAccount/interfaces/IUserAccountInfoWriter';\nimport { IAccountRetailerData } from 'api/UserAccount/model/AccountInfo';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { IUserAccountRetailersByGroupJson, IUserAccountRetailersIdsByGroup } from 'api/UserAccount/model/UserAccountRetailersByGroup';\nimport { onNewCognitoSession } from 'shared/global/refreshJWT';\n\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { PathUtils } from 'shared/utils/pathUtils';\nimport { USER_SESSION_COOKIE_NAME } from 'shared/lib/cookie/impl/CookieManagerImpl';\n\nexport class UserAccountInfoServiceImpl implements IUserAccountInfoReader, IUserAccountInfoWriter {\n    constructor(\n        private readonly locationJSONToObjectSerializer : LocationJSONToObjectSerializer\n    ) { }\n\n    ////////////////////////\n    // IUserAccountInfoReader\n    ////////////////////////\n    public getNamesForAccountIds(accountIds: StringValueSet<UserAccountId>): Promise<StringValueMap<UserAccountId, IUserName>> {\n        const requestBody : Array<string> = [];\n        accountIds.forEach((userId) => requestBody.push(userId.getValue()));\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:batch_user'), requestBody)\n        .then((response : { [userId : string] : {first_name: string, last_name: string} }) => {\n            const result = new StringValueMap<UserAccountId, IUserName>();\n            Object.keys(response).forEach((userIdValue) => {\n                const user = response[userIdValue];\n                result.set(new UserAccountId(userIdValue), {firstName: user.first_name, lastName: user.last_name});\n            });\n            return result;\n        });\n    }\n\n    public getNameForAccountId(accountId : UserAccountId) {\n        const userCookie = Cookies.get(USER_SESSION_COOKIE_NAME);\n        if (userCookie) {\n            const userObject : {given_name: string, family_name: string, 'cognito:username': string} = jwtDecode(userCookie);\n            if (userObject['cognito:username'] === accountId.getValue()) {\n                return Promise.resolve({\n                    firstName: userObject.given_name,\n                    lastName: userObject.family_name\n                });\n            }\n        }\n\n        const queryParameters = {\n            user_id: accountId.getValue(),\n            fields: 'first_name,last_name'\n        };\n        return AjaxUtils.ajaxGet<{ first_name: string; last_name: string }>(PathUtils.getAbsolutePathForRequest('/api/user/'), queryParameters)\n            .then((response) => {\n                return {\n                    firstName: response.first_name,\n                    lastName: response.last_name,\n                };\n            });\n    }\n\n    public getAccountInfo(accountId : UserAccountId) {\n        return new Promise<UserAccountInfo>((resolve, reject) => {\n            Auth.currentAuthenticatedUser()\n            .then((user) => {\n                if (user) {\n                    void onNewCognitoSession(user.signInUserSession);\n                    return resolve({\n                        firstName: user.attributes.given_name,\n                        lastName: user.attributes.family_name,\n                        phoneNumber: user.attributes.phone_number || '',\n                        emailAddress: user.attributes.email\n                    });\n                } else {\n                    return reject('No user found');\n                }\n            }).catch(() => {\n                return reject('No user found');\n            });\n        });\n    }\n\n    public getAccountRetailers(accountId : UserAccountId) : Promise<IAccountRetailerData> {\n        return AjaxUtils.ajaxGet<Array<{\n            id : string;\n            name : string;\n            features : { [featureKey : string] : boolean };\n            account_type : string;\n            is_is_free_trial : boolean;\n            is_sandbox : boolean;\n        }>>(PathUtils.getAbsolutePathForRequest('/api/accessible_retailers/'), {})\n        .then((response) => {\n            return Promise.resolve({\n                retailerIds: response.map((retailer) => retailer.id),\n                retailerNameByRetailerId: Object.fromEntries(response.map((retailer) => [ retailer.id, retailer.name ])),\n                retailerFeaturesByRetailerId: Object.fromEntries(response.map((retailer) => [ retailer.id, retailer.features ])),\n                retailerAccountTypeByRetailerId: Object.fromEntries(response.map((retailer) => [ retailer.id, this.locationJSONToObjectSerializer.getAccountType(retailer.account_type) ])),\n                isInFreeTrialByRetailerId: Object.fromEntries(response.map((retailer) => [ retailer.id, retailer.is_is_free_trial ])),\n                isSandboxByRetailerId: Object.fromEntries(response.map((retailer) => [ retailer.id, retailer.is_sandbox ])),\n            });\n        });\n    }\n\n    public getAccountRetailersByGroup(accountId : UserAccountId) : Promise<IUserAccountRetailersIdsByGroup> {\n        return AjaxUtils.ajaxGet(PathUtils.getAbsolutePathForRequest('/api/accessible_retailers_by_group/'), {})\n        .then((userAccountRetailersByGroup : IUserAccountRetailersByGroupJson) => {\n            const groups = userAccountRetailersByGroup.groups.map((group) => {\n                return {\n                    id: group.id,\n                    name: group.name,\n                    orderedRetailerIds: group.ordered_retailer_ids,\n                };\n            });\n            return {\n                groups,\n                ungrouped: userAccountRetailersByGroup.ungrouped,\n            };\n        });\n    }\n\n    public getEventHasOccurred(sessionId : UserSessionId, event : UserEvent) : Promise<boolean> {\n        const queryParameters = {\n            event,\n        };\n\n        return AjaxUtils.ajaxGet(PathUtils.getAbsolutePathForRequest('/user/get_event_has_occurred'), queryParameters)\n        .then((response) => {\n            return Promise.resolve(response[event]);\n        });\n    }\n\n    ////////////////////////\n    // IUserAccountInfoWriter\n    ////////////////////////\n\n    public setAccountInfo(firstName : string, lastName : string, phoneNumber : string | null, accountId : UserAccountId) : Promise<void> {\n        const postBody = {\n            first_name: firstName,\n            last_name: lastName,\n            phone_number: phoneNumber,\n        };\n\n        const queryParameters = {\n            user_id: accountId.getValue(),\n        };\n\n        return AjaxUtils.ajaxPut(PathUtils.getAbsolutePathForRequest('/api/user/'), postBody, queryParameters)\n        .then((response) => {\n            return Promise.resolve(response);\n        });\n    }\n\n    public setEventHasOccurred(sessionId : UserSessionId, event : UserEvent) : Promise<void> {\n        const queryParameters = {\n            event,\n        };\n\n        return AjaxUtils.ajaxPut(PathUtils.getAbsolutePathForRequest('/user/set_event_has_occurred'), {}, queryParameters)\n        .then((response) => {\n            return Promise.resolve(response);\n        });\n    }\n}\n","import { IAdminService } from 'api/Admin/interfaces/IAdminService';\nimport { LocationId } from 'api/Location/model/LocationId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\ntype ApiResponse = { beverage_retailer_id : string | null, food_retailer_id : string | null };\nexport class AdminServiceImpl implements IAdminService {\n    public createLocations(\n        userFirstName : string,\n        userLastName : string,\n        userId : string,\n        userEmail : string,\n        userPhone : string,\n        beverageRetailerName : string | null,\n        foodRetailerName : string | null,\n        addressLine1 : string,\n        addressLine2 : string,\n        city : string,\n        state : string,\n        country : string,\n        zipcode : string,\n        timezone : string, // TODO type timezones if possible\n    ) {\n        if ((beverageRetailerName === null) && (foodRetailerName === null)) {\n            throw new RuntimeException('beverageRetailerName and foodRetailerName cannot both be null');\n        }\n\n        const formData : FormData = new FormData();\n        formData.append('first', userFirstName);\n        formData.append('last', userLastName);\n        formData.append('creation_user_id', userId);\n        formData.append('email', userEmail);\n        formData.append('phone', userPhone);\n        formData.append('line1', addressLine1);\n        formData.append('line2', addressLine2);\n        formData.append('city', city);\n        formData.append('state', state);\n        formData.append('country', country);\n        formData.append('zipcode', zipcode);\n        formData.append('timezone', timezone);\n\n        if (beverageRetailerName) {\n            formData.append('beverage_retailer_name', beverageRetailerName);\n        }\n\n        if (foodRetailerName) {\n            formData.append('food_retailer_name', foodRetailerName);\n        }\n\n        return AjaxUtils.ajaxPostForm<ApiResponse>(urlWithoutRetailerId('admin_tools:manage:create_retailer_for_user'), formData)\n        .then((response) => {\n            const {\n                beverage_retailer_id,\n                food_retailer_id,\n            } = response;\n\n            return {\n                beverageLocationId: beverage_retailer_id === null ? null : new LocationId(beverage_retailer_id),\n                foodLocationId: food_retailer_id === null ? null : new LocationId(food_retailer_id),\n            };\n        });\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { ToastIntegrationState } from 'api/Integration/model/ToastIntegrationState';\nimport { IToastRestaurant } from 'api/Integration/model/ToastRestaurant';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils, IRestApiRejection } from 'shared/utils/ajaxUtils';\nimport { IToastIntegrationService } from '../interfaces/IToastIntegrationService';\nimport { IntegrationJSONToObjectSerializer } from '../serializer/IntegrationJSONToObjectSerializer';\n\nexport class ToastIntegrationServiceImpl implements IToastIntegrationService {\n    constructor(\n        private readonly integrationJSONToObjectSerializer : IntegrationJSONToObjectSerializer\n    ) { }\n\n    public getToastIntegrationState(\n        locationId : LocationId\n    ) {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:toast_integration'), queryParameters)\n        .then((data) => {\n            const deserializedData : Set<ToastIntegrationState> = this.integrationJSONToObjectSerializer.getToastIntegrationStates(data);\n            return Promise.resolve(deserializedData);\n        })\n        .catch((rejection : IRestApiRejection) => {\n            return Promise.reject(rejection);\n        });\n    }\n\n    public getToastAccessToken(\n        locationId : LocationId\n    ) : Promise<{ accessToken: string } | null> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(url('admin_tools:toast_access_token', null, queryParameters.retailer_id, null))\n        .then((accessToken) => {\n            return Promise.resolve(accessToken);\n        })\n        .catch((rejection : IRestApiRejection) => {\n            return Promise.reject(rejection);\n        });\n    }\n\n    public getAccessibleToastRestaurantsById() : Promise<{[toastRestaurantId : string] : IToastRestaurant}> {\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('customer_success:get_accessible_toast_restaurants_by_id'));\n    }\n\n    public getMappedToastRestaurantIdsByRetailerId() : Promise<StringValueMap<LocationId, Array<string>>> {\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('customer_success:get_mapped_toast_restaurant_id_by_retailer_id'))\n        .then((response) => {\n            const data = new StringValueMap<LocationId, Array<string>>();\n            Object.keys(response).forEach((retailerId) => {\n                data.set(new LocationId(retailerId), response[retailerId]);\n            });\n            return data;\n        });\n    }\n\n    public mapToastRestaurantId(toastRestaurantId : string, locationId : LocationId) : Promise<void> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            toast_restaurant_id: toastRestaurantId\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('customer_success:map_toast_restaurant_id'), null, queryParameters);\n    }\n\n    public disconnectToastRestaurant(toastRestaurantId : string, locationId : LocationId) : Promise<void> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            toast_restaurant_id: toastRestaurantId,\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('customer_success:disconnect_toast_restaurant_id'), null, queryParameters);\n    }\n\n}\n","import { IIncidentBannerService } from 'shared/components/IncidentBanner/interfaces/IIncidentBannerService';\nimport { IncidentBannerData } from 'shared/components/IncidentBanner/model/IncidentBannerData';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class IncidentBannerServiceImpl implements IIncidentBannerService {\n\n    public getIncidentBannerData(\n    ) : Promise<IncidentBannerData> {\n        interface IIncidentBannerDataJSON {\n            message : string | null;\n            isShown : boolean;\n            level?: 'info' | 'warning' | 'error';\n        }\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:incident_banner'))\n        .then((response : IIncidentBannerDataJSON) => {\n            return new IncidentBannerData(\n                response.message,\n                response.isShown,\n                response.level || 'info'\n            );\n        });\n    }\n}\n","import { IPlateIQIntegrationService } from 'api/Integration/interfaces/IPlateIQIntegrationService';\nimport { PlateIQIntegrationState } from 'api/Integration/model/PlateIQIntegrationState';\nimport { IntegrationJSONToObjectSerializer } from 'api/Integration/serializer/IntegrationJSONToObjectSerializer';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\n\nimport { AjaxUtils, IRestApiRejection} from 'shared/utils/ajaxUtils';\n\nexport class PlateIQIntegrationServiceImpl implements IPlateIQIntegrationService {\n    constructor(\n        private readonly integrationJSONToObjectSerializer : IntegrationJSONToObjectSerializer\n    ) {}\n\n    public getPlateIQIntegrationState(userSessionId : UserSessionId, locationId : LocationId) : Promise<PlateIQIntegrationState> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:plate_iq_integration'), queryParameters)\n        .then((response) => {\n            return this.integrationJSONToObjectSerializer.getPlateIQIntegrationState(response);\n        });\n    }\n\n    public updatePlateIQIntegration(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        plateIQRestuarantId : number,\n        shouldSyncInvoices : boolean,\n        glCodesToSync : Set<string> | null\n    ) : Promise<PlateIQIntegrationState> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            plate_iq_restaurant_id: plateIQRestuarantId,\n            should_sync_invoices: shouldSyncInvoices,\n        };\n\n        const postBody = glCodesToSync ? Array.from(glCodesToSync) : null;\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:plate_iq_integration'), postBody, queryParameters)\n        .then((response) => {\n            return this.integrationJSONToObjectSerializer.getPlateIQIntegrationState(response);\n        })\n        .catch((rejection: IRestApiRejection) => {\n            return Promise.reject(rejection);\n        });\n    }\n}\n","import { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { IPOSIntegrationService } from 'api/Integration/interfaces/IPOSIntegrationService';\nimport { IntegrationState } from 'api/Integration/model/IntegrationState';\nimport { isOmnivoreSupportedPos, OmnivoreSupportedPosType } from 'api/Integration/model/IntegrationType';\nimport { OmnivoreIntegrationState } from 'api/Integration/model/OmnivoreIntegrationState';\nimport { IPosLocation } from 'api/Integration/model/PosLocation';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport IntegrationModel, { AddIntegrationThroughOAuthFlowRequest } from 'gen-thrift/integration_Model_types';\nimport { Client as IntegrationServiceClient } from 'gen-thrift/IntegrationService';\nimport moment from 'moment-timezone';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { PosIntegrationType } from 'shared/models/IntegrationStatus';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport class POSIntegrationServiceImpl implements IPOSIntegrationService {\n    constructor(\n        private client : IntegrationServiceClient,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private momentObjectToThriftSerializer : MomentObjectToThriftSerializer,\n    ) {\n    }\n\n    public getIntegrationState(\n        type: PosIntegrationType,\n        userSessionId: UserSessionId,\n        locationId: LocationId\n    ): Promise<Set<IntegrationState>> {\n        return new Promise<Set<IntegrationState>>((resolve, reject) => {\n            this.client.getIntegrationState(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.getThriftIntegrationType(type)\n            ).then((result) => {\n                const integrationStates = new Set<IntegrationState>(\n                    result.map(state => this.serializeIntegrateStateFromThrift(state))\n                );\n                return resolve(integrationStates);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n\n    public addIntegrationThroughOAuthFlow(\n        type : PosIntegrationType,\n        session : UserSessionId,\n        locationId : LocationId,\n        authorizationCode : string,\n        codeVerifier? : string\n    ) : Promise<void> {\n        return new Promise((resolve, reject) => {\n            this.client.addIntegrationThroughOAuthFlow(\n                new AddIntegrationThroughOAuthFlowRequest({\n                    actor: this.userAccountObjectToThriftSerializer.getThriftUserSessionId(session),\n                    locationId: this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                    posIntegrationType: this.getThriftIntegrationType(type),\n                    authorizationCode,\n                    codeVerifier: codeVerifier ?? undefined\n                })\n            ).then((result : void) => {\n                return resolve(result);\n            }).catch((error : Error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public removeIntegration(type : PosIntegrationType, userSessionId : UserSessionId, locationId : LocationId) : Promise<void> {\n        switch (type) {\n            case 'toast':\n            case 'breadcrumb':\n            case 'jonas': {\n                throw new RuntimeException('not supported: ' + type);\n            }\n            case 'lightspeed':\n            case 'square':\n            case 'omnivore':\n            case 'clover':\n            case 'kSeries':\n            case 'spotOn':\n            case 'heartland':\n            case 'rSeries':\n                break;\n        }\n\n        return new Promise<void>((resolve, reject) => {\n            this.client.removeIntegration(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.getThriftIntegrationType(type)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public removeIntegrationForMultiConnectionType(\n        type: PosIntegrationType,\n        userSessionId: UserSessionId,\n        locationId: LocationId,\n        merchantId: string\n    ): Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.client.removeIntegrationForMultiConnectionType(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                merchantId,\n                this.getThriftIntegrationType(type)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getOmnivoreIntegrationState(userSessionId : UserSessionId, locationId : LocationId) : Promise<OmnivoreIntegrationState> {\n        return new Promise<OmnivoreIntegrationState>((resolve, reject) => {\n            this.client.getOmnivoreIntegrationState(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                let posType : null | OmnivoreSupportedPosType = null;\n                if (result.posType) {\n                    if (isOmnivoreSupportedPos(result.posType)) {\n                        posType = result.posType;\n                    } else {\n                        throw new RuntimeException('unknown Omnivore-supported pos type: ' + result.posType);\n                    }\n                }\n                return resolve(\n                    new OmnivoreIntegrationState(\n                        posType,\n                        result.externalMerchantId ? result.externalMerchantId.value : null,\n                        result.isAccessible,\n                        result.cacheDataEffectiveTime ? moment(numberUtils.ThriftInt64ToNumber(result.cacheDataEffectiveTime.timeSinceUnixEpoch.value)) : null\n                    )\n                );\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public addOmnivoreIntegration(userSessionId : UserSessionId, locationId : LocationId, omnivoreLocationId : string, posType : OmnivoreSupportedPosType) {\n        return new Promise<void>((resolve, reject) => {\n            this.client.addOmnivoreIntegration(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                omnivoreLocationId,\n                posType\n            ).then((result) => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n\n    }\n\n    public authorizeAndListAccessiblePosLocations(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        integrationType : PosIntegrationType,\n        authorizationCode : string,\n    ) : Promise<Array<IPosLocation>> {\n        return new Promise<Array<IPosLocation>>((resolve, reject) => {\n            this.client.authorizeAndListAccessiblePosLocations(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.getThriftIntegrationType(integrationType),\n                authorizationCode\n            ).then((result) => {\n                return resolve(result.map((v) => ({ id: v.id, name: v.name })));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public associateAuthorizedLocationWithMerchant(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        integrationType : PosIntegrationType,\n        merchantId : string,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.client.associateAuthorizedLocationWithMerchant(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.getThriftIntegrationType(integrationType),\n                merchantId\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public addCloverIntegration(\n        actor : UserSessionId,\n        locationId : LocationId,\n        cloverMerchantId : string,\n        authorizationCode : string,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.client.addCloverIntegration(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(actor),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                cloverMerchantId,\n                authorizationCode\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public addSpotOnIntegration(\n        actor : UserSessionId,\n        locationId : LocationId,\n        spotOnLocationId : string,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.client.addSpotOnIntegration(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(actor),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                spotOnLocationId\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public addHeartlandIntegration(\n        actor : UserSessionId,\n        locationId : LocationId,\n        heartlandApiKey : string,\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.client.addHeartlandIntegration(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(actor),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                heartlandApiKey\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public retrieveAccessToken(\n        actor : UserSessionId,\n        locationId : LocationId,\n        integrationType : PosIntegrationType\n    ) : Promise<string> {\n        return new Promise<string>((resolve, reject) => {\n            this.client.retrieveAccessToken(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(actor),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.getThriftIntegrationType(integrationType)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public retrieveAccessTokenForMultiConnectionType(\n        userSessionId: UserSessionId,\n        locationId: LocationId,\n        merchantId: string,\n        integrationType: PosIntegrationType\n    ): Promise<string> {\n        return new Promise<string>((resolve, reject) => {\n            this.client.retrieveAccessTokenForMultiConnectionType(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                merchantId,\n                this.getThriftIntegrationType(integrationType)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public refreshPosCacheSince(\n        type : PosIntegrationType,\n        actor : UserSessionId,\n        locationId : LocationId,\n        time : moment.Moment,\n    ) : Promise<void> {\n        switch (type) {\n            case 'lightspeed':\n            case 'kSeries':\n            case 'rSeries':\n            case 'heartland':\n                return new Promise<void>((resolve, reject) => {\n                    this.client.refreshPosCacheSince(\n                        this.userAccountObjectToThriftSerializer.getThriftUserSessionId(actor),\n                        this.getThriftIntegrationType(type),\n                        this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                        this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(time)\n                    ).then((result) => {\n                        return resolve(result);\n                    }).catch((error) => {\n                        return reject(error);\n                    });\n                });\n            case 'breadcrumb':\n            case 'toast':\n            case 'square':\n            case 'omnivore':\n            case 'clover':\n            case 'spotOn':\n            case 'jonas':\n            default:\n                throw new RuntimeException('Cache reset not supported: ' + type);\n        }\n    }\n\n    public triggerMenuSyncJob(\n        actor: UserSessionId,\n        locationId: LocationId,\n        integrationType: PosIntegrationType\n    ): Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.client.triggerMenuSyncJob(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(actor),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.getThriftIntegrationType(integrationType)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    private serializeIntegrateStateFromThrift(value : IntegrationModel.IntegrationState) : IntegrationState {\n        return new IntegrationState(\n            value.externalMerchantId ? value.externalMerchantId.value : null,\n            value.isAccessible,\n            value.cacheDataEffectiveTime ? moment(numberUtils.ThriftInt64ToNumber(value.cacheDataEffectiveTime.timeSinceUnixEpoch.value)) : null\n        );\n    }\n\n    private getThriftIntegrationType(type : PosIntegrationType) {\n        switch (type) {\n            case 'square': {\n                return IntegrationModel.PosIntegrationType.SQUARE;\n            }\n            case 'lightspeed': {\n                return IntegrationModel.PosIntegrationType.LIGHTSPEED;\n            }\n            case 'omnivore': {\n                return IntegrationModel.PosIntegrationType.OMNIVORE;\n            }\n            case 'toast': {\n                return IntegrationModel.PosIntegrationType.TOAST;\n            }\n            case 'breadcrumb': {\n                return IntegrationModel.PosIntegrationType.BREADCRUMB;\n            }\n            case 'clover': {\n                return IntegrationModel.PosIntegrationType.CLOVER;\n            }\n            case 'kSeries': {\n                return IntegrationModel.PosIntegrationType.K_SERIES;\n            }\n            case 'spotOn': {\n                return IntegrationModel.PosIntegrationType.SPOTON;\n            }\n            case 'heartland': {\n                return IntegrationModel.PosIntegrationType.HEARTLAND;\n            }\n            case 'rSeries': {\n                return IntegrationModel.PosIntegrationType.R_SERIES;\n            }\n            case 'jonas': {\n                return IntegrationModel.PosIntegrationType.JONAS;\n            }\n            default: {\n                throw new RuntimeException('unknown integration type: ' + type);\n            }\n        }\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { IVendorIntegrationService } from 'api/Integration/interfaces/IVendorIntegrationService';\nimport { FintechIntegrationState } from 'api/Integration/model/FintechIntegrationState';\nimport { FintechLocationId } from 'api/Integration/model/FintechLocationId';\nimport { FtpCredentials } from 'api/Integration/model/FtpCredentials';\nimport { IFintechIntegrationStateJson } from 'api/Integration/model/IFintechIntegrationStateJson';\nimport { IStediIntegrationStateJson } from 'api/Integration/model/IStediIntegrationStateJson';\nimport { StediIntegrationId } from 'api/Integration/model/StediIntegrationId';\nimport { StediIntegrationState } from 'api/Integration/model/StediIntegrationState';\nimport { StediLocationReference } from 'api/Integration/model/StediLocationReference';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { InvoiceUploadId } from 'api/Ordering/model/InvoiceUploadId';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport moment from 'moment-timezone';\nimport { StediTradingPartner } from 'shared/models/IntegrationStatus';\nimport { AjaxUtils, IRestApiRejection } from 'shared/utils/ajaxUtils';\n\nexport class VendorIntegrationServiceImpl implements IVendorIntegrationService {\n    public getFintechIntegrationState(userSessionId : UserSessionId, locationId : LocationId) : Promise<FintechIntegrationState> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:fintech_integration'), queryParameters)\n        .then((response : Array<IFintechIntegrationStateJson>) => {\n            if (response.length > 0) {\n                const data = response[0];   // should be at most 1\n                return Promise.resolve(\n                    new FintechIntegrationState(\n                        new FintechLocationId(data.fintech_location_id.account_id, data.fintech_location_id.store_number),\n                        !!data.custom_ftp_credentials ? new FtpCredentials(data.custom_ftp_credentials.username, data.custom_ftp_credentials.password) : null,\n                        !!data.last_import_attempt_time ? moment.utc(data.last_import_attempt_time) : null,\n                        !! data.last_imported_file_date ? moment.utc(data.last_imported_file_date) : null,\n                    )\n                );\n            }\n            return new FintechIntegrationState(null, null, null, null);\n        })\n        .catch((rejection : IRestApiRejection) => {\n            return Promise.reject(rejection);\n        });\n    }\n\n    public getStediIntegrationStates(userSessionId : UserSessionId, locationId : LocationId) {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:stedi_integrations'), queryParameters)\n        .then((data : {[stediIntegrationId: string]: IStediIntegrationStateJson}) => {\n            const result : StringValueMap<StediIntegrationId, StediIntegrationState> = new StringValueMap<StediIntegrationId, StediIntegrationState>();\n            Object.keys(data).forEach(((key) => {\n                const integrationStateJson = data[key];\n                result.set(\n                    new StediIntegrationId(key),\n                    new StediIntegrationState(\n                        integrationStateJson.stedi_trading_partner as StediTradingPartner,\n                        integrationStateJson.stedi_location_reference ? new StediLocationReference(\n                            integrationStateJson.stedi_location_reference.location_id,\n                            integrationStateJson.stedi_location_reference.vendor_id,\n                            integrationStateJson.stedi_location_reference.group_id\n                        ) : null,\n                        integrationStateJson.last_invoice_info ? {\n                            dateReceived: integrationStateJson.last_invoice_info.date_received ? moment.utc(integrationStateJson.last_invoice_info.date_received) : null,\n                            invoiceDate: integrationStateJson.last_invoice_info.invoice_date ? moment.utc(integrationStateJson.last_invoice_info.invoice_date) : null,\n                            invoiceUploadId: integrationStateJson.last_invoice_info.invoice_upload_id ? new InvoiceUploadId(integrationStateJson.last_invoice_info.invoice_upload_id) : null\n                        } : null\n                    )\n                );\n            }));\n            return result;\n        })\n        .catch((rejection : IRestApiRejection) => {\n            return Promise.reject(rejection);\n        });\n    }\n}\n","import { IGettingStartedGuideService } from 'api/Location/interfaces/IGettingStartedGuideService';\nimport { IWelcomeQuestionResponse } from 'api/Location/model/IWelcomeQuestionResponse';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { WelcomeQuestionnaireResponseObjectToJsonSerializer } from 'api/Location/serializer/WelcomeQuestionnaireResponseObjectToJsonSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { WelcomeQuestion } from 'api/Location/model/WelcomeQuestion';\n\nexport class GettingStartedGuideService implements IGettingStartedGuideService {\n    constructor (\n        private readonly welcomeQuestionnaireObjectToJsonSerializer : WelcomeQuestionnaireResponseObjectToJsonSerializer,\n    ) {}\n\n    public getGettingStartedTaskIsCompletedByTaskNameForAllTasks(userSessionId : UserSessionId, locationId : LocationId) : Promise<{[taskName : string] : boolean}> {\n        return AjaxUtils.ajaxGet(\n            url('account:getting_started_task_status', null, locationId.getValue(), null),\n        ).then((response : {[taskName : string] : boolean}) => {\n            return response;\n        });\n    }\n\n    public setGettingStartedTaskIsCompleted(userSessionId : UserSessionId, locationId : LocationId, taskName : string) : Promise<void> {\n        return AjaxUtils.ajaxPut(\n            url('account:getting_started_task_status', null, locationId.getValue(), null),\n            {},\n            { task_name : taskName },\n        );\n    }\n\n    public setWelcomeQuestionnaireResponse(userSessionId : UserSessionId, locationId : LocationId, responseData : {[question in WelcomeQuestion]: IWelcomeQuestionResponse}) : Promise<void> {\n        return AjaxUtils.ajaxPost(\n            url('account:set_welcome_questionnaire_response', null, locationId.getValue(), null),\n            this.welcomeQuestionnaireObjectToJsonSerializer.getWelcomeQuestionnaireResponseJson(responseData)\n        );\n    }\n}\n","import { IWelcomeQuestionResponse } from 'api/Location/model/IWelcomeQuestionResponse';\nimport { WelcomeQuestion } from 'api/Location/model/WelcomeQuestion';\n\nexport class WelcomeQuestionnaireResponseObjectToJsonSerializer {\n    public getWelcomeQuestionnaireResponseJson(\n        responseByWelcomeQuestion : {[question in WelcomeQuestion]: IWelcomeQuestionResponse}\n        ) : {[question in WelcomeQuestion]: {is_selected_by_option : {[optionValue : string] : boolean}, custom_option : string | null }} {\n        return {\n            user_role : {\n                is_selected_by_option : responseByWelcomeQuestion.user_role.isSelectedByOptionValue,\n                custom_option : responseByWelcomeQuestion.user_role.customOptionValue,\n            },\n            user_motivation : {\n                is_selected_by_option : responseByWelcomeQuestion.user_motivation.isSelectedByOptionValue,\n                custom_option : responseByWelcomeQuestion.user_motivation.customOptionValue,\n            },\n            user_inventory_day: {\n                is_selected_by_option : responseByWelcomeQuestion.user_inventory_day.isSelectedByOptionValue,\n                custom_option : responseByWelcomeQuestion.user_inventory_day.customOptionValue,\n            },\n            user_inventory_frequency: {\n                is_selected_by_option : responseByWelcomeQuestion.user_inventory_frequency.isSelectedByOptionValue,\n                custom_option : responseByWelcomeQuestion.user_inventory_frequency.customOptionValue,\n            },\n            user_inventory_taker: {\n                is_selected_by_option : responseByWelcomeQuestion.user_inventory_taker.isSelectedByOptionValue,\n                custom_option : responseByWelcomeQuestion.user_inventory_taker.customOptionValue,\n            }\n        };\n    }\n}\n","import PrepEventModel from 'gen-thrift/prep_event_Model_types';\n\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\n\nexport class PrepEventObjectToThriftSerializer {\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getThriftPrepEventId(\n        prepEventId : PrepEventId,\n    ) : PrepEventModel.PrepEventId {\n        return new PrepEventModel.PrepEventId({ value : prepEventId.getValue() });\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getThriftPrepEventIds(\n        prepEventIds : StringValueSet<PrepEventId>\n    ) : Array<PrepEventModel.PrepEventId> {\n        return Array.from(prepEventIds.values()).map((prepEventId) => {\n            return this.getThriftPrepEventId(prepEventId);\n        });\n    }\n}\n","import PrepEventModel from 'gen-thrift/prep_event_Model_types';\n\nimport moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport class PrepEventThriftToObjectSerializer {\n\n    constructor(\n        private userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer,\n        private productThriftToObjectSerializer : ProductThriftToObjectSerializer\n    ) {}\n\n    ////////////////////////////////////\n    // MODELS\n    ////////////////////////////////////\n\n    public getPrepEventId(\n        prepEventId : PrepEventModel.PrepEventId\n    ) : PrepEventId {\n        return new PrepEventId(prepEventId.value);\n    }\n\n    public getPrepEvent(\n        prepEvent : PrepEventModel.PrepEvent\n    ) : PrepEvent {\n        const creationMetadata = this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(prepEvent.creationMetadata);\n        const lastEditedMetadata = prepEvent.lastEditedMetadata ? this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(prepEvent.lastEditedMetadata) : null;\n        const deletionMetadata = prepEvent.deletionMetadata ? this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(prepEvent.deletionMetadata) : null;\n\n        return new PrepEvent(\n            moment(numberUtils.ThriftInt64ToNumber(prepEvent.prepEventTime.timeSinceUnixEpoch.value)),\n            creationMetadata,\n            lastEditedMetadata,\n            deletionMetadata,\n            prepEvent.note,\n            prepEvent.type,\n            this.productThriftToObjectSerializer.getQuantityOfProductByProductId(prepEvent.inputQuantityOfProductByProductId),\n            this.productThriftToObjectSerializer.getQuantityOfProductByProductId(prepEvent.outputQuantityOfProductByProductId),\n            this.productThriftToObjectSerializer.getCostByProductId(prepEvent.outputPriceByProductId),\n        );\n    }\n\n    ////////////////////////////////////\n    // COLLECTIONS\n    ////////////////////////////////////\n\n    public getMapFromPrepEventAndIds(\n        prepEventAndIds : Array<PrepEventModel.PrepEventAndId>\n    ) : StringValueMap<PrepEventId, PrepEvent> {\n        const prepEventsByPrepEventId = new StringValueMap<PrepEventId, PrepEvent>();\n        prepEventAndIds.map((prepEventAndId : PrepEventModel.PrepEventAndId) => {\n            const prepEventId = this.getPrepEventId(prepEventAndId.prepEventId);\n            const prepEvent = this.getPrepEvent(prepEventAndId.prepEvent);\n            prepEventsByPrepEventId.set(prepEventId, prepEvent);\n        });\n\n        return prepEventsByPrepEventId;\n    }\n\n}\n","import { Client as PrepEventServiceClient } from 'gen-thrift/PrepEventService';\n\nimport moment from 'moment-timezone';\n\nimport { IPrepEventService } from 'api/PrepEvent/interfaces/IPrepEventService';\n\nimport { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { PrepEvent } from 'api/PrepEvent/model/PrepEvent';\nimport { PrepEventId } from 'api/PrepEvent/model/PrepEventId';\nimport { PrepEventObjectToThriftSerializer } from 'api/PrepEvent/serializer/PrepEventObjectToThriftSerializer';\nimport { PrepEventThriftToObjectSerializer } from 'api/PrepEvent/serializer/PrepEventThriftToObjectSerilaizer';\nimport { ProductCost } from 'api/Product/model/ProductCost';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\n\nexport class PrepEventServiceImpl implements IPrepEventService {\n    constructor (\n        private prepEventServiceClient : PrepEventServiceClient,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private productThriftToObjectSerializer : ProductThriftToObjectSerializer,\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer,\n        private momentObjectToThriftSerializer : MomentObjectToThriftSerializer,\n        private prepEventObjectToThriftSerializer : PrepEventObjectToThriftSerializer,\n        private prepEventThriftToObjectSerializer : PrepEventThriftToObjectSerializer\n    ) {}\n\n    ///////////////////////////\n    // GETTERS\n    ///////////////////////////\n    public getPrepEventsById(\n        userSessionId : UserSessionId,\n        prepEventIds : StringValueSet<PrepEventId>\n    ) : Promise<StringValueMap<PrepEventId, PrepEvent>> {\n        return new Promise<StringValueMap<PrepEventId, PrepEvent>>((resolve, reject) => {\n            return this.prepEventServiceClient.getPrepEventsById(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.prepEventObjectToThriftSerializer.getThriftPrepEventIds(prepEventIds)\n            ).then((result) => {\n                const prepEventsById = this.prepEventThriftToObjectSerializer.getMapFromPrepEventAndIds(result);\n                return resolve(prepEventsById);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getPrepEventIdsForLocationInPeriod(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        periodStartInclusive : moment.Moment,\n        periodEndExclusive : moment.Moment\n    ) : Promise<StringValueSet<PrepEventId>> {\n        return new Promise<StringValueSet<PrepEventId>>((resolve, reject) => {\n            return this.prepEventServiceClient.getPrepEventIdsForLocationInPeriod(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(periodStartInclusive),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(periodEndExclusive)\n            ).then((result) => {\n                const prepEventIds = new StringValueSet<PrepEventId>();\n                result.forEach((prepEventId) => {\n                    prepEventIds.add(this.prepEventThriftToObjectSerializer.getPrepEventId(prepEventId));\n                });\n                return resolve(prepEventIds);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getPrepEventOutputProductIdsForLocation(\n        userSessionId : UserSessionId,\n        locationId : LocationId\n    ) : Promise<StringValueSet<ProductId>> {\n        return new Promise<StringValueSet<ProductId>>((resolve, reject) => {\n            return this.prepEventServiceClient.getPrepEventOutputProductIdsForLocation(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                const productIdSet = new StringValueSet(this.productThriftToObjectSerializer.getProductIds(result));\n                return resolve(productIdSet);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    ///////////////////////////\n    // UPDATERS\n    ///////////////////////////\n    public createPrepEvent(\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        prepEventTime : moment.Moment,\n        note : string,\n        type : string,\n        inputQuantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n        outputQuantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n        outputPriceByProductId : StringValueMap<ProductId, ProductCost>\n    ) : Promise<PrepEventId> {\n        return new Promise<PrepEventId>((resolve, reject) => {\n            return this.prepEventServiceClient.createPrepEvent(\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(prepEventTime),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                note,\n                type,\n                this.productObjectToThriftSerializer.getThriftProductIdAndQuantityOfProducts(inputQuantityOfProductByProductId),\n                this.productObjectToThriftSerializer.getThriftProductIdAndQuantityOfProducts(outputQuantityOfProductByProductId),\n                this.productObjectToThriftSerializer.getThriftProductIdAndCosts(outputPriceByProductId)\n            ).then((result) => {\n                const prepEventId = this.prepEventThriftToObjectSerializer.getPrepEventId(result);\n                return resolve(prepEventId);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public updatePrepEvent(\n        userSessionId : UserSessionId,\n        prepEventId : PrepEventId,\n        prepEventTime : moment.Moment,\n        note : string,\n        type : string,\n        inputQuantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n        outputQuantityOfProductByProductId : StringValueMap<ProductId, QuantityInUnit<ProductQuantityUnit>>,\n        outputPriceByProductId : StringValueMap<ProductId, ProductCost>\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            return this.prepEventServiceClient.updatePrepEvent(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.prepEventObjectToThriftSerializer.getThriftPrepEventId(prepEventId),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(prepEventTime),\n                note,\n                type,\n                this.productObjectToThriftSerializer.getThriftProductIdAndQuantityOfProducts(inputQuantityOfProductByProductId),\n                this.productObjectToThriftSerializer.getThriftProductIdAndQuantityOfProducts(outputQuantityOfProductByProductId),\n                this.productObjectToThriftSerializer.getThriftProductIdAndCosts(outputPriceByProductId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public deletePrepEvent(\n        userSessionId : UserSessionId,\n        prepEventId : PrepEventId\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            return this.prepEventServiceClient.deletePrepEvent(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.prepEventObjectToThriftSerializer.getThriftPrepEventId(prepEventId)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import { BillingAddOn, DEFAULT_PRICE_PER_INVOICE, IBillingAddOnService } from 'api/Billing/interfaces/IBillingAddOnService';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class BillingAddOnServiceImpl implements IBillingAddOnService {\n\n    public getPricePerInvoiceForInvoiceProcessingForRetailer(locationId : LocationId) : Promise<number> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            billing_info: 'price_per_invoice'\n        };\n\n        return AjaxUtils.ajaxGet<{ price_per_invoice : number | null }>(urlWithoutRetailerId('api:billing_add_ons'), queryParameters)\n        .then((response) => {\n            return response.price_per_invoice || DEFAULT_PRICE_PER_INVOICE;\n        });\n    }\n\n    public enableAddOnsForRetailer(\n        locationId : LocationId,\n        addOnsToEnable : Set<BillingAddOn>,\n        pricePerInvoice : number,\n    ) : Promise<void> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        const requestBody = {\n            item_level_sales: addOnsToEnable.has('itemLevelSales'),\n            invoice_processing: addOnsToEnable.has('invoiceProcessing'),\n            price_per_invoice: pricePerInvoice,\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:billing_add_ons'), requestBody, queryParameters);\n    }\n}\n","import { ITermsConditionsAgreementService } from 'api/Billing/interfaces/ITermsConditionsAgreementService';\nimport { TermsConditionsAgreement } from 'api/Billing/model/TermsConditionsAgreement';\nimport { TermsConditionsAgreementId } from 'api/Billing/model/TermsConditionsAgreementId';\nimport { BillingDataSerializer } from 'api/Billing/serializer/BillingDataSerializer';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class TermsConditionsAgreementServiceImpl implements ITermsConditionsAgreementService {\n    constructor (\n        private readonly billingDataSerializer : BillingDataSerializer,\n    ) {}\n\n    public getLatestTermsConditionsAgreementForLocation(\n        locationId : LocationId\n    ) : Promise<TermsConditionsAgreement | null> {\n        const queryParameters = {\n            retailer_id: locationId.getValue()\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:billing_terms_conditions_agreement'), queryParameters)\n        .then((response) => {\n            if (Object.keys(response).length === 0) {\n                // Retailer has not agreed to terms and conditions yet\n                return null;\n            }\n            return this.billingDataSerializer.getTermsConditionsAgreement(response);\n        });\n    }\n\n    public createTermsConditionsAgreement(\n        locationId: LocationId,\n        termsConditionsAgreement: TermsConditionsAgreement\n    ) : Promise<TermsConditionsAgreementId> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n        const termsConditionsAgreementJSON = this.billingDataSerializer.getTermsConditionsAgreementJSON(termsConditionsAgreement);\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:billing_terms_conditions_agreement'), termsConditionsAgreementJSON, queryParameters)\n        .then((response) => {\n            return response;\n        });\n    }\n}\n","import { IBillingRetailerService } from 'api/Billing/interfaces/IBillingRetailerService';\nimport { BillingRetailer } from 'api/Billing/model/BillingRetailer';\nimport { BillingRetailerJson } from 'api/Billing/serializer/BillingDataSerializer';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class BillingRetailerService implements IBillingRetailerService {\n    public getBillingRetailer(locationId : LocationId) : Promise<BillingRetailer> {\n        return AjaxUtils.ajaxGet(url('account:get_billing_retailer', null, locationId.getValue(), null))\n        .then((response: BillingRetailerJson) => {\n            return new BillingRetailer(\n                response.stripe_id,\n                response.is_in_free_trial,\n                response.delinquent_status?.has_delinquent_payment || false,    // not set = false\n                response.is_locked,\n            );\n        });\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { IPresentationCacheDataService } from '../interface/IPresentationCacheDataService';\n\nexport class PresentationCacheDataService implements IPresentationCacheDataService {\n    public getPresentationCacheData(locationId : LocationId) {\n        return AjaxUtils.ajaxGet(url('account:get_retailer_presentation_data', null, locationId.getValue(), null))\n        .then((response) => {\n            return response.retailer_presentation_data;\n        });\n    }\n}\n","import { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { IUserActionLogCommentService } from 'api/Messaging/interfaces/IUserActionLogCommentService';\nimport { IUserActionLogComment } from 'api/Messaging/model/IUserActionLogComment';\nimport { UserActionLogCommentId } from 'api/Messaging/model/UserActionLogCommentId';\nimport { UserActionLogCommentTimestampType } from 'api/Messaging/model/UserActionLogCommentTimestampType';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\nimport UserActionLogModel from 'gen-thrift/user_action_log_Model_types';\nimport { Client as UserActionLogServiceClient } from 'gen-thrift/UserActionLogService';\nimport moment from 'moment-timezone';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport class UserActionLogCommentService implements IUserActionLogCommentService {\n    constructor(\n        private client : UserActionLogServiceClient,\n        private userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer,\n        private readonly momentObjectToThriftSerializer : MomentObjectToThriftSerializer,\n    ) {}\n\n    public createComment(session : UserSessionId, locationId : LocationId, value : string, isAdmin : boolean) : Promise<[ UserActionLogCommentId, IUserActionLogComment ]> {\n        return new Promise((resolve, reject) => {\n            this.client.createComment(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(session),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                value,\n                isAdmin\n            ).then((result) => {\n                return resolve([\n                    new UserActionLogCommentId(result.id),\n                    this.serializeUserActionLogCommentFromThrift(result)\n                ]);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public deleteComment(session : UserSessionId, commentId : UserActionLogCommentId) : Promise<void> {\n        return new Promise((resolve, reject) => {\n            this.client.deleteComment(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(session),\n                commentId.getValue()\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public retrieveComments(\n        session : UserSessionId,\n        locationId : LocationId,\n        timeRange : [ moment.Moment, moment.Moment ],\n        timestampTypes : Set<UserActionLogCommentTimestampType>\n    ) : Promise<StringValueMap<UserActionLogCommentId, IUserActionLogComment>> {\n        return new Promise((resolve, reject) => {\n            this.client.getCommentsCreatedInTimeRange(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(session),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(timeRange[0]),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(timeRange[1])\n            ).then((result) => {\n                const commentsById : StringValueMap<UserActionLogCommentId, IUserActionLogComment> = new StringValueMap();\n                result.forEach((v) => {\n                    commentsById.set(new UserActionLogCommentId(v.id), this.serializeUserActionLogCommentFromThrift(v));\n                });\n                return resolve(commentsById);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    private serializeUserActionLogCommentFromThrift(value : UserActionLogModel.UserActionLogComment) : IUserActionLogComment {\n        return {\n            userId: this.userAccountThriftToObjectSerializer.getUserAccountId(value.creationMetadata.userAccountIdentifier),\n            isAdmin: value.isAdmin,\n            value: value.value,\n            timeCreated: moment.utc(numberUtils.ThriftInt64ToNumber(value.creationMetadata.timestamp.timeSinceUnixEpoch.value)),\n        };\n    }\n}\n","import SalesItemModel from 'gen-thrift/sales_item_Model_types';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationThriftToObjectSerializer } from 'api/Location/serializer/LocationThriftToObjectSerializer';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { ProductThriftToObjectSerializer } from 'api/Product/serializer/ProductThriftToObjectSerializer';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesQuantityAndUnit } from 'api/SalesItem/model/SalesQuantityAndUnit';\nimport { UserAccountThriftToObjectSerializer } from 'api/UserAccount/serializer/UserAccountThriftToObjectSerializer';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\n\nexport class SalesItemThriftToObjectSerializer {\n    constructor(\n        private userAccountThriftToObjectSerializer : UserAccountThriftToObjectSerializer,\n        private productThriftToObjectSerializer : ProductThriftToObjectSerializer,\n        private locationThriftToObjectSerializer : LocationThriftToObjectSerializer\n    ) {}\n\n    public getSalesItemIds(thriftIds : Array<SalesItemModel.SalesItemId>) : StringValueSet<SalesItemId> {\n        const salesItemIds = new StringValueSet<SalesItemId>();\n        thriftIds.forEach((thriftId) => {\n            salesItemIds.add(this.getSalesItemId(thriftId));\n        });\n        return salesItemIds;\n    }\n\n    public getSalesItemId(thriftId : SalesItemModel.SalesItemId) : SalesItemId {\n        return new SalesItemId(thriftId.value);\n    }\n\n    public getSalesItemWithMetadata(thriftSalesItemWithMetadata : SalesItemModel.SalesItemWithMetadata) {\n        return new SalesItemWithMetadata(\n            new SalesItem(\n                thriftSalesItemWithMetadata.salesItem.name,\n                this.locationThriftToObjectSerializer.getLocationId(thriftSalesItemWithMetadata.salesItem.locationId),\n                thriftSalesItemWithMetadata.salesItem.menuGroup,\n                thriftSalesItemWithMetadata.salesItem.posId,\n                thriftSalesItemWithMetadata.salesItem.note,\n                thriftSalesItemWithMetadata.salesItem.needsAttentionCategory ? thriftSalesItemWithMetadata.salesItem.needsAttentionCategory : null,\n                this.productThriftToObjectSerializer.getDollarCost(thriftSalesItemWithMetadata.salesItem.salesPrice),\n                this.productThriftToObjectSerializer.getDollarCost(thriftSalesItemWithMetadata.salesItem.miscellaneousCost),\n                this.productThriftToObjectSerializer.getQuantityOfProductByProductId(thriftSalesItemWithMetadata.salesItem.componentQuantityOfProductByProductId),\n                this.getSalesItemQuantityById(thriftSalesItemWithMetadata.salesItem.componentServingsBySalesItemId),\n                this.getSalesQuantityAndUnit(thriftSalesItemWithMetadata.salesItem.itemYield),\n                this.getSalesQuantityAndUnit(thriftSalesItemWithMetadata.salesItem.servingSize),\n                thriftSalesItemWithMetadata.salesItem.salesItemCustomUnitName ?? null\n            ),\n            this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(thriftSalesItemWithMetadata.creationMetadata),\n            thriftSalesItemWithMetadata.lastEditedMetadata ? this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(thriftSalesItemWithMetadata.lastEditedMetadata) : null,\n            thriftSalesItemWithMetadata.deletionMetadata ? this.userAccountThriftToObjectSerializer.getUserAccountIdentifierAndTimestamp(thriftSalesItemWithMetadata.deletionMetadata) : null,\n            thriftSalesItemWithMetadata.isArchived\n        );\n    }\n\n    public getSalesItemIdMap(thriftSalesItemIdMapping : Array<SalesItemModel.SalesItemIdMapping>) : StringValueMap<SalesItemId, SalesItemId> {\n        const newSalesItemIdByOldSalesItemId = new StringValueMap<SalesItemId, SalesItemId>();\n        thriftSalesItemIdMapping.forEach((thriftSalesItemIdMap) => {\n            newSalesItemIdByOldSalesItemId.set(\n                this.getSalesItemId(thriftSalesItemIdMap.oldSalesItemId),\n                this.getSalesItemId(thriftSalesItemIdMap.newSalesItemId));\n        });\n        return newSalesItemIdByOldSalesItemId;\n    }\n\n    private getSalesItemQuantityById(thriftSalesItemIdAndQuantityMap : Array<SalesItemModel.SalesItemIdAndQuantity>) : StringValueMap<SalesItemId, number> {\n        const salesItemQuantityById : StringValueMap<SalesItemId, number> = new StringValueMap();\n        thriftSalesItemIdAndQuantityMap.forEach((thriftSalesIdAndQuantity) => {\n            salesItemQuantityById.set(\n                this.getSalesItemId(thriftSalesIdAndQuantity.salesItemId),\n                decimalToNumber(thriftSalesIdAndQuantity.quantity));\n        });\n        return salesItemQuantityById;\n    }\n\n    private getSalesQuantityAndUnit(thriftSalesQuantityAndUnit : SalesItemModel.SalesQuantityAndUnit) : SalesQuantityAndUnit {\n        let unit : VolumeUnit | MassUnit | null;\n        if (thriftSalesQuantityAndUnit.unit == null) {\n            unit = null;\n        } else {\n            unit = this.productThriftToObjectSerializer.getMeasurableUnit(thriftSalesQuantityAndUnit.unit);\n        }\n\n        return new SalesQuantityAndUnit(\n            decimalToNumber(thriftSalesQuantityAndUnit.quantity),\n            unit\n        );\n    }\n\n}\n","import SalesItemModel from 'gen-thrift/sales_item_Model_types';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesQuantityAndUnit } from 'api/SalesItem/model/SalesQuantityAndUnit';\nimport { Integer } from 'shared/models/Integer';\nimport { numberToDecimalRoundingDown } from 'shared/utils/decimalUtils';\n\nexport class SalesItemObjectToThriftSerializer {\n    constructor(\n        private locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private productObjectToThriftSerializer : ProductObjectToThriftSerializer\n    ) {}\n\n    public getThriftSalesItemIdList(salesItemIds : StringValueSet<SalesItemId>) : Array<SalesItemModel.SalesItemId> {\n        return Array.from(salesItemIds.values()).map((id) => this.getThriftSalesItemId(id));\n    }\n\n    public getThriftSalesItemId(salesItemId : SalesItemId) : SalesItemModel.SalesItemId {\n        return new SalesItemModel.SalesItemId({ value: salesItemId.getValue() });\n    }\n\n    public getThriftSalesItem(salesItem : SalesItem) : SalesItemModel.SalesItem {\n        const needsAttentionCategoryFromObj = salesItem.getNeedsAttentionCategory();\n        return new SalesItemModel.SalesItem({\n            name: salesItem.getName(),\n            locationId: this.locationObjectToThriftSerializer.getThriftLocationId(salesItem.getLocationId()),\n            menuGroup: salesItem.getMenuGroup(),\n            posId: salesItem.getPOSId(),\n            note: salesItem.getNote(),\n            needsAttentionCategory: needsAttentionCategoryFromObj ? needsAttentionCategoryFromObj : '',\n            salesPrice: this.productObjectToThriftSerializer.getThriftMonetaryValueInDollars(salesItem.getSalesPrice()),\n            miscellaneousCost: this.productObjectToThriftSerializer.getThriftMonetaryValueInDollars(salesItem.getMiscellaneousCost()),\n            componentQuantityOfProductByProductId: this.productObjectToThriftSerializer.getThriftProductIdAndQuantityOfProducts(salesItem.getComponentQuantityOfProductByProductId()),\n            componentServingsBySalesItemId: this.getSalesItemIdAndQuantityArray(salesItem.getComponentServingsBySalesItemId()),\n            itemYield: this.getThriftSalesQuantityAndUnit(salesItem.getItemYield()),\n            servingSize: this.getThriftSalesQuantityAndUnit(salesItem.getServingSize()),\n            salesItemCustomUnitName: salesItem.getSalesItemCustomUnitName() ?? undefined,\n        });\n    }\n\n    private getSalesItemIdAndQuantityArray(salesItemQuantityById : StringValueMap<SalesItemId, number>) : Array<SalesItemModel.SalesItemIdAndQuantity> {\n        const thriftSalesItemIdAndQuantityArray : Array<SalesItemModel.SalesItemIdAndQuantity> = [];\n        salesItemQuantityById.forEach((quantity, salesItemId) => {\n            thriftSalesItemIdAndQuantityArray.push(new SalesItemModel.SalesItemIdAndQuantity({\n                salesItemId: this.getThriftSalesItemId(salesItemId),\n                quantity: numberToDecimalRoundingDown(quantity, new Integer(4)) // TODO scale?\n            }));\n        });\n        return thriftSalesItemIdAndQuantityArray;\n    }\n\n    private getThriftSalesQuantityAndUnit(salesQuantityAndUnit : SalesQuantityAndUnit) : SalesItemModel.SalesQuantityAndUnit {\n        const unit = salesQuantityAndUnit.getUnit();\n        return new SalesItemModel.SalesQuantityAndUnit({\n            quantity: numberToDecimalRoundingDown(salesQuantityAndUnit.getQuantity(), new Integer(4)), // TODO scale?\n            unit: !unit ? undefined : this.productObjectToThriftSerializer.getThriftUnitOfMeasure(unit)\n        });\n    }\n}\n","import { Client as AdminSalesItemServiceClient } from 'gen-thrift/AdminSalesItemService';\nimport SalesItemModel, {\n    AdminRemoveSalesItemsForLocationRequest,\n    AdminRemoveSalesItemsResponse,\n    SalesItemIdMapping,\n    UpdateSalesItemRequest\n} from 'gen-thrift/sales_item_Model_types';\nimport { Client as SalesItemServiceClient } from 'gen-thrift/SalesItemService';\n\nimport { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductObjectToThriftSerializer } from 'api/Product/serializer/ProductObjectToThriftSerializer';\nimport { ItemLevelSalesReportConfigurationId } from 'api/Reports/model/ItemLevelSalesReportConfigurationId';\nimport { ItemLevelSalesReportConfigurationSerializer } from 'api/Reports/serializer/ItemLevelSalesReportConfigurationSerializer';\nimport { IAdminSalesItemService } from 'api/SalesItem/interfaces/IAdminSalesItemService';\nimport { ISalesItemService } from 'api/SalesItem/interfaces/ISalesItemService';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { SalesItemObjectToThriftSerializer } from 'api/SalesItem/serializer/SalesItemObjectToThriftSerializer';\nimport { SalesItemThriftToObjectSerializer } from 'api/SalesItem/serializer/SalesItemThriftToObjectSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { IDeleteSalesItemsResult } from 'apps/SalesItemDeleter/models';\nimport { DateTime } from 'shared/models/DateTime';\nimport { fileReaderUtils } from 'shared/utils/fileReaderUtils';\n\nexport class SalesItemServiceImpl implements ISalesItemService, IAdminSalesItemService {\n    constructor(\n        private readonly thriftClient : SalesItemServiceClient,\n        private readonly thriftAdminClient : AdminSalesItemServiceClient,\n        private readonly userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private readonly locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private readonly momentObjectToThriftSerializer : MomentObjectToThriftSerializer,\n        private readonly salesItemThriftToObjectSerializer : SalesItemThriftToObjectSerializer,\n        private readonly salesItemObjectToThriftSerializer : SalesItemObjectToThriftSerializer,\n        private readonly itemLevelSalesReportConfigurationSerializer : ItemLevelSalesReportConfigurationSerializer,\n        private readonly productObjectToThriftSerializer : ProductObjectToThriftSerializer\n    ) {}\n\n    public getRelevantSalesItemsForIds(userSessionId : UserSessionId, salesItemIds : StringValueSet<SalesItemId>) : Promise<StringValueMap<SalesItemId, SalesItemWithMetadata>> {\n        return new Promise<StringValueMap<SalesItemId, SalesItemWithMetadata>>((resolve, reject) => {\n            this.thriftClient.getRelevantSalesItemsForIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItemIdList(salesItemIds)\n            ).then((result) => {\n                const salesItemsById = new StringValueMap<SalesItemId, SalesItemWithMetadata>();\n                result.forEach((thriftSalesItemAndId) => {\n                    salesItemsById.set(\n                        this.salesItemThriftToObjectSerializer.getSalesItemId(thriftSalesItemAndId.salesItemId),\n                        this.salesItemThriftToObjectSerializer.getSalesItemWithMetadata(thriftSalesItemAndId.salesItemWithMetadata)\n                    );\n                });\n                return resolve(salesItemsById);\n            }).catch((error) => {\n                return reject(error);\n            })\n        });\n    }\n    public getNonDeletedSalesItemIdsForLocation(userSessionId : UserSessionId, locationId : LocationId) : Promise<StringValueSet<SalesItemId>> {\n        return new Promise<StringValueSet<SalesItemId>>((resolve, reject) => {\n            this.thriftClient.getNonDeletedSalesItemIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                return resolve(this.salesItemThriftToObjectSerializer.getSalesItemIds(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getDeletedSalesItemIdsForLocation(userSessionId : UserSessionId, locationId : LocationId) : Promise<StringValueSet<SalesItemId>> {\n        return new Promise<StringValueSet<SalesItemId>>((resolve, reject) => {\n            this.thriftClient.getDeletedSalesItemIds(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId)\n            ).then((result) => {\n                return resolve(this.salesItemThriftToObjectSerializer.getSalesItemIds(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public getActiveSalesItemIdsUsingProduct(userSessionId : UserSessionId, locationId : LocationId, productId : ProductId) : Promise<StringValueSet<SalesItemId>> {\n        return new Promise<StringValueSet<SalesItemId>>((resolve, reject) => {\n            this.thriftClient.getActiveSalesItemIdsUsingProduct(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.productObjectToThriftSerializer.getThriftProductId(productId)\n            ).then((result) => {\n                return resolve(this.salesItemThriftToObjectSerializer.getSalesItemIds(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public createSalesItem(userSessionId : UserSessionId, salesItem : SalesItem) : Promise<SalesItemId> {\n        return new Promise<SalesItemId>((resolve, reject) => {\n            this.thriftClient.createSalesItem(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItem(salesItem)\n            ).then((result) => {\n                return resolve(this.salesItemThriftToObjectSerializer.getSalesItemId(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public setSalesItemActiveState(userSessionId : UserSessionId, salesItemIds : StringValueSet<SalesItemId>, isActive : boolean) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftClient.setSalesItemActiveState(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItemIdList(salesItemIds),\n                isActive\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public updateSalesItemForSingleReport(\n        userSessionId : UserSessionId,\n        salesItemId : SalesItemId,\n        salesItem : SalesItem,\n        itemLevelSalesReportConfigurationId : ItemLevelSalesReportConfigurationId\n    ) : Promise<StringValueMap<SalesItemId, SalesItemId>> {\n        return new Promise<StringValueMap<SalesItemId, SalesItemId>>((resolve, reject) => {\n            // TODO this is not properly rejecting errors - results with 500 internal errors are coming back as result = [] which appears to be\n            // successful but is actually a failure...\n            this.thriftClient.updateSalesItemForSingleReport(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItemId(salesItemId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItem(salesItem),\n                this.itemLevelSalesReportConfigurationSerializer.getThriftItemLevelSalesReportConfigurationId(itemLevelSalesReportConfigurationId)\n            ).then((result) => {\n                return resolve(this.salesItemThriftToObjectSerializer.getSalesItemIdMap(result));\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public updateSalesItemForCurrentAndFutureReports(\n        userSessionId : UserSessionId,\n        salesItemId : SalesItemId,\n        salesItem : SalesItem,\n        itemLevelSalesReportConfigurationId : ItemLevelSalesReportConfigurationId | null\n    ) : Promise<StringValueMap<SalesItemId, SalesItemId>> {\n        return new Promise<StringValueMap<SalesItemId, SalesItemId>>((resolve, reject) => {\n            this.thriftClient.updateSalesItemForCurrentAndFutureReports(\n                new UpdateSalesItemRequest({\n                    actor: this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                    salesItemId: this.salesItemObjectToThriftSerializer.getThriftSalesItemId(salesItemId),\n                    salesItem: this.salesItemObjectToThriftSerializer.getThriftSalesItem(salesItem),\n                    itemLevelRevenueAndCostReportConfigurationId: itemLevelSalesReportConfigurationId ? this.itemLevelSalesReportConfigurationSerializer.getThriftItemLevelSalesReportConfigurationId(itemLevelSalesReportConfigurationId) : undefined\n                })\n            ).then((result : Array<SalesItemIdMapping>) => {\n                return resolve(this.salesItemThriftToObjectSerializer.getSalesItemIdMap(result));\n            }).catch((error : Error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public updateSalesItemForAllTime(\n        userSessionId : UserSessionId,\n        salesItemId : SalesItemId,\n        salesItem : SalesItem\n    ) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftClient.updateSalesItemForAllTime(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItemId(salesItemId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItem(salesItem)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public deleteSalesItems(userSessionId : UserSessionId, salesItemIds : StringValueSet<SalesItemId>) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftClient.deleteSalesItems(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItemIdList(salesItemIds)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n    public undeleteSalesItems(userSessionId : UserSessionId, salesItemIds : StringValueSet<SalesItemId>) : Promise<void> {\n        return new Promise<void>((resolve, reject) => {\n            this.thriftClient.undeleteSalesItems(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItemIdList(salesItemIds)\n            ).then((result) => {\n                return resolve(result);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    // ADMIN SALES ITEM SERVICE -- this does not use real serialization, just want to be compatible with the admin SalesDeleter tool\n    // (could be refactored/removed at some point when POS becomes more self-service)\n    public adminRemoveSalesItemsForLocation(\n        userSessionId : UserSessionId,\n        retailerId : LocationId,\n        createdBeforeTime : DateTime | null,\n        createdAfterTime : DateTime | null,\n        createByMe : boolean,\n        checkOnly : boolean\n    ) : Promise<IDeleteSalesItemsResult> {\n        return new Promise<IDeleteSalesItemsResult>((resolve, reject) => {\n            this.thriftAdminClient.adminRemoveSalesItemsForLocation(\n                new AdminRemoveSalesItemsForLocationRequest({\n                    userSessionIdentifier: this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                    locationIdentifier: this.locationObjectToThriftSerializer.getThriftLocationId(retailerId),\n                    createdAfter: createdAfterTime ? this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(createdAfterTime.toMoment()) : undefined,\n                    createdBefore: createdBeforeTime ? this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(createdBeforeTime.toMoment()) : undefined,\n                    createdByRequesterOnly: createByMe,\n                    applyDeletion: !checkOnly\n                })\n            ).then((result : AdminRemoveSalesItemsResponse) => {\n                const matchedSalesItemsById : {[key : string] : string} = {};\n                result.matchedSalesItemInfoById.forEach((salesItemAndId) => {\n                    const salesItemInfo = salesItemAndId.salesItemWithMetadata.salesItem.name + ' (' + salesItemAndId.salesItemWithMetadata.salesItem.posId + ')';\n                    matchedSalesItemsById[salesItemAndId.salesItemId.value] = salesItemInfo;\n                });\n\n                const hasRecipeSalesItemIds : Array<string> = [];\n                result.hasComponentItemsIds.forEach((salesItemIdObj) => {\n                    hasRecipeSalesItemIds.push(salesItemIdObj.value);\n                });\n\n                const usedInAnotherSalesItemIds : Array<string> = [];\n                result.usedInOtherSalesItemsIds.forEach((salesItemIdObj) => {\n                    usedInAnotherSalesItemIds.push(salesItemIdObj.value);\n                });\n\n                const referencedSalesItemsByReportId : {[key : string] : Array<string>} = {};\n                result.referencedItemsByReportId.forEach((reportIdAndSalesItemIds) => {\n                    const salesIdValues : Array<string> = reportIdAndSalesItemIds.salesItemIds.map((salesItemIdObj) => salesItemIdObj.value);\n                    referencedSalesItemsByReportId[reportIdAndSalesItemIds.reportId.value] = salesIdValues;\n                });\n\n                return resolve({\n                    canDelete: result.canDelete,\n                    deleteSuccess: result.deleteSuccess,\n                    matchedSalesItemsById,\n                    hasRecipeSalesItemIds,\n                    referencedSalesItemsByReportId,\n                    usedInAnotherSalesItemIds\n                });\n            }).catch((error : Error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public uploadSalesItemImageAndGetUrl(userSessionId : UserSessionId, locationId: LocationId, salesItemId : SalesItemId, f: File) {\n        return new Promise<string>((resolve, reject) => {\n            return fileReaderUtils.getBinaryStringFromFile(f)\n            .then((binary: string) => {\n                this.thriftClient.uploadSalesItemImageAndGetUrl(\n                    this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                    this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                    this.salesItemObjectToThriftSerializer.getThriftSalesItemId(salesItemId),\n                    new Buffer(binary, 'binary')\n                ).then((result) => {\n                    return resolve(result);\n                }).catch((error) => {\n                    return reject(error);\n                });\n            });\n        });\n    }\n\n    public getSalesItemImageUploadUrls(userSessionId : UserSessionId, locationId: LocationId, salesItemIds : StringValueSet<SalesItemId>) : Promise<StringValueMap<SalesItemId, string>> {\n        return new Promise((resolve, reject) => {\n            this.thriftClient.getSalesItemImageUploadUrls(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItemIdList(salesItemIds)\n            ).then((result) => {\n                const map = new StringValueMap<SalesItemId, string>();\n                result.forEach((v : SalesItemModel.SalesItemImageUploadUrl) => {\n                    map.set(\n                        this.salesItemThriftToObjectSerializer.getSalesItemId(v.salesItemId),\n                        v.url\n                    );\n                });\n                return resolve(map);\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n\n    public deleteSalesItemImageUpload(userSessionId : UserSessionId, locationId : LocationId, salesItemId : SalesItemId) : Promise<void> {\n        return new Promise((resolve, reject) => {\n            this.thriftClient.deleteSalesItemImageUpload(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.salesItemObjectToThriftSerializer.getThriftSalesItemId(salesItemId)\n            ).then((result) => {\n                return resolve();\n            }).catch((error) => {\n                return reject(error);\n            });\n        });\n    }\n}\n","import { EstablishmentId } from 'api/Establishment/model/EstablishmentId';\nimport { MassUnit } from 'api/Product/model/MassUnit';\nimport { PackagingId } from 'api/Product/model/PackagingId';\nimport { VolumeUnit } from 'api/Product/model/VolumeUnit';\nimport { ProductJSONToObjectSerializer } from 'api/Product/serializer/ProductJSONToObjectSerializer';\nimport { CurrencyCode } from 'shared/models/Currency';\nimport { Timezone } from 'shared/models/DateTime';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { DefaultPour, ILocationSettingsService, IRetailerSettingsResponse } from '../interfaces/ILocationSettingsService';\n\nexport class LocationSettingsServiceImpl implements ILocationSettingsService {\n    constructor(\n        private readonly productJSONToObjectSerializer : ProductJSONToObjectSerializer,\n    ) {}\n\n    // This should probably live in a location service, but the back end is pretty wonky for all of this and should also be cleaned up into a real API at some point\n    public getRetailerSettingsInformation(\n        retailerId : string,\n    ) : Promise<IRetailerSettingsResponse> {\n        return AjaxUtils.ajaxGet(url('account:settings:retrieve_retailer_settings_info', null, retailerId, null))\n        .then((response : IRetailerSettingsResponse) => Promise.resolve(response))\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public updateRetailerAddressAndContactInformation(\n        retailerId : string,\n        retailerName : string,\n        addressLine1 : string,\n        addressLine2 : string,\n        city : string,\n        state : string,\n        zipCode : string,\n        country : string,\n        contactFirstName : string,\n        contactLastName : string,\n        contactEmail : string,\n        contactPhone : string,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('name', retailerName);\n        formData.append('line1', addressLine1);\n        formData.append('line2', addressLine2);\n        formData.append('city', city);\n        formData.append('state', state);\n        formData.append('zipcode', zipCode);\n        formData.append('country', country);\n        formData.append('first', contactFirstName);\n        formData.append('last', contactLastName);\n        formData.append('email', contactEmail);\n        formData.append('phone', contactPhone);\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:update_retailer', null, retailerId, null), formData)\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public setColleaguesForRetailer(\n        retailerId : string,\n        colleagueEmails : Array<string>,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('colleagues', JSON.stringify(colleagueEmails));\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:set_colleagues', null, retailerId, null), formData)\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public setTaxNamesForRetailer(\n        retailerId : string,\n        taxNames : Array<string>,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('tax_names', JSON.stringify(taxNames));\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:set_tax_names', null, retailerId, null), formData)\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public setProductCostSettingsForRetailer(\n        retailerId : string,\n        includeDiscountsInCost : boolean,\n        includeTaxesInCost : boolean,\n        includeDepositsInCost : boolean,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('include_deposits', JSON.stringify(includeDepositsInCost));\n        formData.append('include_taxes', JSON.stringify(includeTaxesInCost));\n        formData.append('include_discounts', JSON.stringify(includeDiscountsInCost));\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:set_product_cost_settings', null, retailerId, null), formData)\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public setUsageLookbackPeriodForRetailer(\n        retailerId : string,\n        usageLookbackPeriod : number,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('usage_lookback_period_days', JSON.stringify(usageLookbackPeriod));\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:set_usage_lookback_period_days', null, retailerId, null), formData)\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public setEstablishmentIdForRetailer(\n        retailerId : string,\n        establishmentId : EstablishmentId,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('establishment_id', establishmentId.getValue());\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:set_establishment_id', null, retailerId, null), formData)\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public clearEstablishmentIdForRetailer(\n        retailerId : string,\n    ) : Promise<void> {\n        return AjaxUtils.ajaxPostForm(url('account:settings:clear_establishment_id', null, retailerId, null), new FormData())\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public updateRetailerAccountingStartOfTheWeek(\n        retailerId : string,\n        startDay : string,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('day_of_week', startDay);\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:update_accounting_start_day_of_week', null, retailerId, null), formData)\n        .then(() => Promise.resolve())\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public updateRetailerTimezone(\n        retailerId : string,\n        timezone : Timezone,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('timezone', Timezone[timezone]);\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:update_retailer_timezone', null, retailerId, null), formData)\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public updateRetailerCurrency(\n        retailerId : string,\n        currencyCode : CurrencyCode,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('currency', currencyCode);\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:update_retailer_currency', null, retailerId, null), formData)\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public updateRetailerShouldIncludeSKUInOrderCommunications(\n        retailerId : string,\n        includeSKUInOrderCommunications : boolean,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('should_include_sku', includeSKUInOrderCommunications.toString());\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:update_include_sku_on_order_communications', null, retailerId, null), formData)\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public getRetailerTaxPercent(\n        retailerId : string,\n    ) : Promise<number | null> {\n        return AjaxUtils.ajaxGet(url('account:settings:get_tax_percent', null, retailerId, null))\n        .then((response : {tax_percent : number | null}) => Promise.resolve(response.tax_percent))\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public updateRetailerTaxPercent(\n        retailerId : string,\n        taxPercent : number,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('tax_percent', taxPercent.toString());\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:update_tax_percent', null, retailerId, null), formData)\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public getDefaultPourForRetailer(\n        retailerId : string,\n    ) : Promise<DefaultPour | null> {\n        return AjaxUtils.ajaxGet(url('account:settings:get_default_pour', null, retailerId, null))\n        .then((response : { default_pour : {[category : string] : { unit : string, qty : number} } | null }) => {\n            const responseDefaultPour = response.default_pour;\n            if (responseDefaultPour === null) {\n                return Promise.resolve(null);\n            }\n\n            const defaultPourByCategory : DefaultPour = {};\n            Object.keys(responseDefaultPour).forEach((category) => {\n                const defaultPourValue = responseDefaultPour[category];\n                let unit : VolumeUnit | MassUnit | 'unit' | 'EA';\n                if (defaultPourValue.unit === 'unit' || defaultPourValue.unit === 'EA') {\n                    unit = defaultPourValue.unit;\n                } else {\n                    const productQuantityUnit = this.productJSONToObjectSerializer.getProductQuantityUnit(defaultPourValue.unit);\n                    unit = (productQuantityUnit instanceof PackagingId) ? 'unit' : productQuantityUnit;\n                }\n\n                const defaultPour = {\n                    unit,\n                    quantity: defaultPourValue.qty\n                };\n\n                defaultPourByCategory[category] = defaultPour;\n            });\n            return Promise.resolve(defaultPourByCategory);\n        })\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public updateDefaultPourForRetailer(\n        retailerId : string,\n        defaultPour : DefaultPour\n    ) : Promise<void> {\n\n        const newDefaultPour : {[category : string] : { unit : string, qty : number} } = {};\n        Object.keys(defaultPour).forEach((categoryValue) => {\n            const unitAndQuantity = defaultPour[categoryValue];\n            newDefaultPour[categoryValue] = {\n                unit: unitAndQuantity.unit,\n                qty: unitAndQuantity.quantity\n            };\n        });\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:update_default_pour') + '?retailer_id=' + retailerId, newDefaultPour)\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public setMenuSyncState(\n        retailerId : string,\n        shouldSync: boolean\n    ): Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('should_sync_menu', shouldSync ? 'true' : 'false');\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:set_should_sync_menu', null, retailerId, null), formData)\n        .catch((error : Error) => Promise.reject(error));\n    }\n\n    public setMenuGroupSyncState(\n        retailerId : string,\n        shouldSync: boolean\n    ): Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('should_sync_menu_group', shouldSync ? 'true' : 'false');\n\n        return AjaxUtils.ajaxPostForm(url('account:settings:set_should_sync_menu_group', null, retailerId, null), formData)\n        .catch((error : Error) => Promise.reject(error));\n    }\n}\n","import CoreApiExceptions from 'gen-thrift/core_api_Exceptions_types';\nimport IntegrationExceptions from 'gen-thrift/integration_Exception_types';\nimport moment from 'moment-timezone';\n\nimport IntegrationModel from 'gen-thrift/integration_Model_types';\nimport { Client as IntegrationServiceClient } from 'gen-thrift/IntegrationService';\nimport SalesReportModel from 'gen-thrift/sales_report_model_types';\n\nimport { MomentObjectToThriftSerializer } from 'api/Core/serializer/MomentObjectToThriftSerializer';\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { LocationObjectToThriftSerializer } from 'api/Location/serializer/LocationObjectToThriftSerializer';\nimport { SalesEntry } from 'api/Reports/model/SalesEntry';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemThriftToObjectSerializer } from 'api/SalesItem/serializer/SalesItemThriftToObjectSerializer';\nimport { UserSessionId } from 'api/UserAccount/model/UserSessionId';\nimport { UserAccountObjectToThriftSerializer } from 'api/UserAccount/serializer/UserAccountObjectToThriftSerializer';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport { ISalesImportService } from '../interfaces/ISalesImportService';\nimport { PosItem } from '../model/PosItem';\nimport { PosItemId } from '../model/PosItemId';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport interface ISalesImportResult {\n    dataEffectiveTime : moment.Moment | null;\n    salesEntries : StringValueMap<SalesItemId, SalesEntry>;\n    posItemsByPosId : StringValueMap<PosItemId, PosItem>;\n    unmappedSalesEntries : StringValueMap<PosItemId, SalesEntry>;\n    ignoredSalesEntries : StringValueMap<PosItemId, SalesEntry>;\n}\n\nexport class SalesImportServiceImpl implements ISalesImportService {\n    constructor(\n        private readonly  thriftClient : IntegrationServiceClient,\n        private readonly userAccountObjectToThriftSerializer : UserAccountObjectToThriftSerializer,\n        private readonly locationObjectToThriftSerializer : LocationObjectToThriftSerializer,\n        private readonly momentObjectToThriftSerializer : MomentObjectToThriftSerializer,\n        private readonly salesItemThriftToObjectSerializer : SalesItemThriftToObjectSerializer,\n    ) {}\n\n    public getSalesDataInPeriod (\n        userSessionId : UserSessionId,\n        locationId : LocationId,\n        periodStartInclusive : moment.Moment,\n        periodEndExclusive : moment.Moment,\n        includePosMenuData : boolean,\n        requireRealtimePosData : boolean\n    ) : Promise<ISalesImportResult | IntegrationExceptions.LocationDoesNotHaveIntegrationException | IntegrationExceptions.PosHistoryLimitExceededException | CoreApiExceptions.ServiceTemporarilyUnavailableException> {\n\n        return new Promise((resolve, reject) => {\n            this.thriftClient.importSalesEntriesViaIntegration(\n                this.userAccountObjectToThriftSerializer.getThriftUserSessionId(userSessionId),\n                this.locationObjectToThriftSerializer.getThriftLocationId(locationId),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(periodStartInclusive),\n                this.momentObjectToThriftSerializer.getThriftTimestampFromMoment(periodEndExclusive),\n                includePosMenuData,\n                requireRealtimePosData\n            ).then((result) => {\n                const salesEntries = new StringValueMap<SalesItemId, SalesEntry>();\n                result.salesEntries.forEach((thriftSalesItemIdAndSalesEntry) => {\n                    const salesItemId = this.salesItemThriftToObjectSerializer.getSalesItemId(thriftSalesItemIdAndSalesEntry.salesItemId);\n                    const salesEntry = this.getSalesEntry(thriftSalesItemIdAndSalesEntry.salesEntry);\n                    salesEntries.set(salesItemId, salesEntry);\n                });\n\n                const posItemsByPosId = new StringValueMap<PosItemId, PosItem>();\n                const unmappedSalesEntries = new StringValueMap<PosItemId, SalesEntry>();\n                const ignoredSalesEntries = new StringValueMap<PosItemId, SalesEntry>();\n                result.unmappedPosItemAndSalesEntries.forEach((thriftPosItemAndSalesEntry) => {\n                    const salesEntry = this.getSalesEntry(thriftPosItemAndSalesEntry.salesEntry);\n                    const posItem = this.getPosItem(thriftPosItemAndSalesEntry.posItem);\n                    const posItemId = posItem.getPosItemId();\n\n                    posItemsByPosId.set(posItemId, posItem);\n                    unmappedSalesEntries.set(posItemId, salesEntry);\n                });\n                result.ignoredPosItemAndSalesEntries.forEach((thriftPosItemAndSalesEntry) => {\n                    const salesEntry = this.getSalesEntry(thriftPosItemAndSalesEntry.salesEntry);\n                    const posItem = this.getPosItem(thriftPosItemAndSalesEntry.posItem);\n                    const posItemId = posItem.getPosItemId();\n\n                    posItemsByPosId.set(posItemId, posItem);\n                    ignoredSalesEntries.set(posItemId, salesEntry);\n                });\n\n                const salesImportResult : ISalesImportResult = {\n                    dataEffectiveTime: result.dataEffectiveTime ? moment(numberUtils.ThriftInt64ToNumber(result.dataEffectiveTime.timeSinceUnixEpoch.value)) : null,\n                    salesEntries,\n                    unmappedSalesEntries,\n                    ignoredSalesEntries,\n                    posItemsByPosId,\n                };\n\n                return resolve(salesImportResult);\n            }).catch((error) => {\n                if (error instanceof IntegrationExceptions.LocationDoesNotHaveIntegrationException\n                    || error instanceof IntegrationExceptions.PosHistoryLimitExceededException\n                    || error instanceof CoreApiExceptions.ServiceTemporarilyUnavailableException\n                ) {\n                    return resolve(error);\n                }\n                return reject(error);\n            });\n        });\n    }\n\n    private getSalesEntry = (thriftSalesEntry : SalesReportModel.SalesEntry) => {\n        return new SalesEntry(\n            decimalToNumber(thriftSalesEntry.price), // java enforces that these are not nullable right now, which works for this context. may need to be adjusted in the future\n            decimalToNumber(thriftSalesEntry.quantity),\n            decimalToNumber(thriftSalesEntry.quantityAdjustment),\n            decimalToNumber(thriftSalesEntry.salesAdjustment),\n        );\n    }\n\n    private getPosItem = (thriftPosItem : IntegrationModel.PosItem) => {\n        return new PosItem(\n            new PosItemId(thriftPosItem.posItemId),\n            thriftPosItem.name,\n            thriftPosItem.menuGroup ? thriftPosItem.menuGroup : ''\n        );\n    }\n}\n","import { LocationId } from 'api/Location/model/LocationId';\n\nimport { IPmixUploadResponse, IPmixUploadService, PmixUploadFields } from '../interfaces/IPmixUploadService';\n\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { ItemLevelSalesReportConfigurationId } from '../model/ItemLevelSalesReportConfigurationId';\nimport { ItemLevelSalesReportConfigurationSerializer } from '../serializer/ItemLevelSalesReportConfigurationSerializer';\n\nexport class PmixUploadServiceImpl implements IPmixUploadService {\n\n    constructor (\n        private readonly itemLevelSalesSerializer : ItemLevelSalesReportConfigurationSerializer,\n    ) {}\n\n    public populateSalesReportFromUpload(\n        locationId : LocationId,\n        reportId : ItemLevelSalesReportConfigurationId,\n        pmixRows : Array<{ [bevspotColumn in PmixUploadFields] : string | null }>\n    ) : Promise<IPmixUploadResponse> {\n\n        const requestBody = {\n            upload_items: pmixRows,\n        };\n\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n            item_level_report_id: reportId.getValue()\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:pmix_upload'), requestBody, queryParameters)\n        .then((response) => {\n            const salesBySalesItemIdValues = response.sales_by_sales_item_id;\n            const issuesByRowNumber = response.issues_by_row_number;\n            const salesBySalesItemId = this.itemLevelSalesSerializer.getSalesBySalesItemId(salesBySalesItemIdValues);\n            return Promise.resolve({\n                salesBySalesItemId,\n                issuesByRowNumber,\n            });\n        });\n    }\n\n    public notifySupportPmixSheetUploaded(\n        locationId : LocationId,\n        reportId : ItemLevelSalesReportConfigurationId,\n        file : File | null,\n    ) : Promise<void> {\n        const formData : FormData = new FormData();\n        formData.append('item_level_revenue_and_cost_report_configuration_id', reportId.getValue());\n        if (file !== null) {\n            formData.append(file.name, file);\n        }\n\n        return AjaxUtils.ajaxPostForm(url('sales:reports:item_level:notify_support_upload_pmix_sheets', null, locationId.getValue(), null), formData);\n    }\n}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { ISalesSettingsService } from '../interfaces/ISalesSettingsService';\nimport { PosItemId } from '../model/PosItemId';\n\nexport class SalesSettingsServiceImpl implements ISalesSettingsService {\n    public getOmittedNamesByPosId(\n        locationId : LocationId,\n    ) : Promise<StringValueMap<PosItemId, Set<string>>> {\n        return AjaxUtils.ajaxGet(url('sales:reports:item_level:get_omitted_names_by_pos_id', null, locationId.getValue(), null))\n        .then((response : {data: {[key : string] : Array<string>}}) => {\n            const omittedNamesByPosId = new StringValueMap<PosItemId, Set<string>>();\n            Object.keys(response.data).forEach((posIdValue) =>  {\n                omittedNamesByPosId.set(new PosItemId(posIdValue), new Set(response.data[posIdValue]));\n            });\n\n            return omittedNamesByPosId;\n        });\n    }\n\n    public updateOmittedNamesByPosId(\n        locationId : LocationId,\n        newShouldOmitByNameAndPosId : StringValueMap<PosItemId, Record<string, boolean>>\n    ) : Promise<void> {\n\n        const shouldOmitDict : Record<string, Record<string, boolean>> = {};\n        newShouldOmitByNameAndPosId.forEach((shouldOmitByName, posId) => {\n            shouldOmitDict[posId.getValue()] = shouldOmitByName;\n        });\n\n        const requestBody = {\n            should_omit_by_name_and_pos_id: shouldOmitDict\n        };\n\n        return AjaxUtils.ajaxPut(\n            url('sales:reports:item_level:update_omitted_names_by_pos_id', null, locationId.getValue(), null),\n            requestBody\n        );\n    }\n\n    public getShouldIncludeLossInVariance(\n        locationId : LocationId,\n    ) : Promise<boolean> {\n        return AjaxUtils.ajaxGet(url('sales:reports:item_level:get_should_include_losses_in_variance', null, locationId.getValue(), null))\n        .then((response : {should_include_losses_in_variance : boolean}) => {\n            return response.should_include_losses_in_variance;\n        });\n    }\n\n    public updateShouldIncludeLossInVariance(\n        locationId : LocationId,\n        shouldIncludeLossInVariance : boolean\n    ) : Promise<void> {\n        const requestBody = {\n            should_include_losses_in_variance: shouldIncludeLossInVariance\n        };\n\n        return AjaxUtils.ajaxPut(\n            url('sales:reports:item_level:update_should_include_losses_in_variance', null, locationId.getValue(), null),\n            requestBody\n        );\n    }\n\n    public getShouldUseGrossSalesForTotalSales(\n        locationId : LocationId,\n    ) : Promise<boolean> {\n        return AjaxUtils.ajaxGet(url('sales:reports:item_level:get_should_use_gross_sales_for_total_sales', null, locationId.getValue(), null))\n        .then((response : {should_use_gross_sales_for_total_sales : boolean}) => {\n            return response.should_use_gross_sales_for_total_sales;\n        });\n    }\n\n    public updateShouldUseGrossSalesForTotalSales(\n        locationId : LocationId,\n        shouldUseGrossSalesForTotalSales : boolean\n    ) : Promise<void> {\n        const requestBody = {\n            should_use_gross_sales_for_total_sales: shouldUseGrossSalesForTotalSales\n        };\n\n        return AjaxUtils.ajaxPut(\n            url('sales:reports:item_level:update_should_use_gross_sales_for_total_sales', null, locationId.getValue(), null),\n            requestBody\n        );\n    }\n}\n","import { IExpectedInventoryService } from 'api/InventoryCount/interfaces/IExpectedInventoryService';\nimport { ExpectedInventory } from 'api/InventoryCount/model/ExpectedInventory';\nimport { InventoryCountId } from 'api/InventoryCount/model/InventoryCountId';\nimport { ExpectedInventoryDeserializer } from 'api/InventoryCount/serializer/ExpectedInventoryDeserializer';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class ExpectedInventoryServiceImpl implements IExpectedInventoryService {\n\n    private readonly exceptedInventoryDeserializer : ExpectedInventoryDeserializer;\n\n    constructor (\n        exceptedInventoryDeserializer : ExpectedInventoryDeserializer,\n    ) {\n        this.exceptedInventoryDeserializer = exceptedInventoryDeserializer;\n    }\n\n    public async getExpectedInventoryData(locationId: LocationId, referenceInventoryId : InventoryCountId) : Promise<ExpectedInventory> {\n        const queryParameters = {\n            retailer_id: locationId.getValue(),\n        };\n\n        const requestBody = {\n            reference_inventory_id: referenceInventoryId.getValue()\n        };\n\n        return AjaxUtils.ajaxPost(urlWithoutRetailerId('api:expected_inventory'), requestBody, queryParameters)\n            .then((response) => {\n                return Promise.resolve(this.exceptedInventoryDeserializer.getExpectedInventory(response));\n            });\n    }\n}\n","import moment from 'moment-timezone';\n\nimport { StringValueMap } from 'api/Core/StringValueMap';\nimport { BottleBreakdown } from 'api/InventoryCount/model/BottleBreakdown';\nimport { ExpectedInventory } from 'api/InventoryCount/model/ExpectedInventory';\nimport { ProductId } from 'api/Product/model/ProductId';\n\ninterface ExpectedInventoryResponse {\n    expected_inventory_bottle_count_by_id: Record<string, number>;\n    bottle_breakdown_by_product_id: Record<string, {\n        start_count: number;\n        deliveries: number;\n        transfers: number;\n        prep_inputs: number;\n        prep_outputs: number;\n        breakages: number;\n        sales: number;\n    }>;\n    // ISO time of the POS data; null without a POS integration. Optional: the admin-tool variant predates it.\n    sales_last_updated_time?: string | null;\n}\nexport class ExpectedInventoryDeserializer {\n\n    public getExpectedInventory(\n        response : ExpectedInventoryResponse\n    ) : ExpectedInventory {\n        const bottleCountByProductId = new StringValueMap<ProductId, number>();\n        const breakdownByProductId = new StringValueMap<ProductId, BottleBreakdown>();\n\n        Object.keys(response.expected_inventory_bottle_count_by_id).forEach((key) => {\n            bottleCountByProductId.set(new ProductId(key), response.expected_inventory_bottle_count_by_id[key]);\n        });\n\n        Object.keys(response.bottle_breakdown_by_product_id).forEach((key) => {\n            const bottleBreakdownJson = response.bottle_breakdown_by_product_id[key];\n            const bottleBreakdown = new BottleBreakdown(\n                bottleBreakdownJson.start_count,\n                bottleBreakdownJson.deliveries,\n                bottleBreakdownJson.transfers,\n                bottleBreakdownJson.prep_inputs,\n                bottleBreakdownJson.prep_outputs,\n                bottleBreakdownJson.breakages,\n                bottleBreakdownJson.sales,\n            );\n\n            breakdownByProductId.set(new ProductId(key), bottleBreakdown);\n        });\n\n        return new ExpectedInventory(\n            bottleCountByProductId,\n            breakdownByProductId,\n            // The server emits a naive UTC datetime with no offset, so it must be parsed as UTC\n            response.sales_last_updated_time == null ? null : moment.utc(response.sales_last_updated_time),\n        );\n    }}\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { StringValueSet } from 'api/Core/StringValueSet';\nimport { IEstablishment, IEstablishmentService } from 'api/Establishment/interfaces/IEstablishmentService';\nimport { EstablishmentId } from 'api/Establishment/model/EstablishmentId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class EstablishmentServiceImpl implements IEstablishmentService {\n    public createEstablishment(\n        name : string,\n    ) : Promise<EstablishmentId> {\n        const queryParameters = {\n            name,\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:establishment'), null, queryParameters)\n        .then((response) => {\n            return Promise.resolve(new EstablishmentId(response.establishment_id));\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public renameEstablishment(\n        establishmentId : EstablishmentId,\n        name : string,\n    ) : Promise<void> {\n        const queryParameters = {\n            establishment_id: establishmentId.getValue(),\n            name,\n        };\n\n        return AjaxUtils.ajaxPut(urlWithoutRetailerId('api:establishment'), null, queryParameters)\n        .then(() => undefined)\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getEstablishment(\n        establishmentId : EstablishmentId\n    ) : Promise<IEstablishment> {\n        const queryParameters = {\n            establishment_id: establishmentId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet<{\n            establishment : { establishment_id : string, name : string },\n            retailer_ids : Array<string>,\n        }>(urlWithoutRetailerId('api:establishment'), queryParameters)\n        .then((response) => {\n            const locationIds = new StringValueSet<LocationId>();\n            response.retailer_ids.forEach((retailerId) => {\n                locationIds.add(new LocationId(retailerId));\n            });\n            return Promise.resolve({ name: response.establishment.name, locationIds });\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getAllEstablishments() : Promise<StringValueMap<EstablishmentId, string>> {\n        return AjaxUtils.ajaxGet<{\n            establishments : Array<{ establishment_id : string, name : string }>,\n        }>(urlWithoutRetailerId('api:establishment'))\n        .then((response) => {\n            const namesByEstablishmentId = new StringValueMap<EstablishmentId, string>();\n            response.establishments.forEach((establishment) => {\n                namesByEstablishmentId.set(new EstablishmentId(establishment.establishment_id), establishment.name);\n            });\n            return Promise.resolve(namesByEstablishmentId);\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n\n    public getLocationIdsInEstablishment(\n        establishmentId : EstablishmentId\n    ) : Promise<StringValueSet<LocationId>> {\n        const queryParameters = {\n            establishment_id: establishmentId.getValue(),\n        };\n\n        return AjaxUtils.ajaxGet(urlWithoutRetailerId('api:retailers_by_establishment'), queryParameters)\n        .then((response) => {\n            const locationIds = new StringValueSet<LocationId>();\n            response.forEach((locationId : string) => {\n                locationIds.add(new LocationId(locationId));\n            });\n            return Promise.resolve(locationIds);\n        })\n        .catch((error : Error) => {\n            return Promise.reject(error);\n        });\n    }\n}\n","import { GroupId } from 'api/Location/model/GroupId';\nimport { LocationId } from 'api/Location/model/LocationId';\nimport { IGroupPermissionsService } from 'api/Permissions/interfaces/IGroupPermissionsService';\nimport { GroupPermissionData } from 'api/Permissions/model/GroupPermissionData';\nimport { GroupUserPermissionData } from 'api/Permissions/model/GroupUserPermissionData';\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport class GroupPermissionsServiceImpl implements IGroupPermissionsService {\n    public getUsersDataByGroupId(groupId: GroupId): Promise<GroupPermissionData> {\n        return AjaxUtils.ajaxGet(url('group:get_group_users_data', null, null, groupId.getValue()))\n        .then((response) => {\n            return GroupPermissionData.fromJson(response);\n        });\n    }\n\n    public inviteUserToGroup(groupId: GroupId, email: string, permissions: Array<string>): Promise<void> {\n        const data = {\n            email,\n            group_permissions: JSON.stringify(permissions),\n        }\n\n        return AjaxUtils.ajaxPost(url('group:invite_user', null, null, groupId.getValue()), data);\n    }\n\n    public removeUserFromGroup(userId: UserAccountId, groupId: GroupId): Promise<void> {\n        const data = {\n            user_id: userId.getValue(),\n            group_id: groupId.getValue(),\n        };\n\n        return AjaxUtils.ajaxPost(url('group:remove_user', null, null, groupId.getValue()), data);\n    }\n\n    public removeUserFromLocation(userId: UserAccountId, locationId: LocationId): Promise<void> {\n        const data = {\n            user_id: userId.getValue(),\n        };\n\n        // Not using existing endpoint ('account:remove_user_from_retailer') because it expects django form data\n        return AjaxUtils.ajaxPost(url('group:remove_user_from_retailer', null, locationId.getValue(), null), data);\n    }\n\n    public updateGroupPermissions(userData: GroupUserPermissionData, groupId: GroupId, permissions: Record<string, boolean>): Promise<GroupUserPermissionData> {\n        const data = {\n            user_id: userData.getUserId().getValue(),\n            retailer_permissions: JSON.stringify({}),\n            group_permissions : JSON.stringify(permissions)\n        }\n\n        return AjaxUtils.ajaxPost(url('group:update_user', null, null, groupId.getValue()), data)\n        .then((response) => {\n            return new GroupUserPermissionData(\n                userData.getUserId(),\n                userData.getUserName(),\n                userData.getEmailAddress(),\n                userData.getIsAdmin(),\n                userData.getLastLogin(),\n                userData.getRetailerPermissions(),\n                userData.getGroupRetailerPermissions(),\n                response.group_permissions,\n            );\n        });\n    }\n\n    public updateGroupRetailerPermissions(userData: GroupUserPermissionData, groupId: GroupId, permissions: Record<string, boolean>): Promise<GroupUserPermissionData> {\n        const data = {\n            user_id: userData.getUserId().getValue(),\n            retailer_permissions: JSON.stringify(permissions),\n            group_permissions : JSON.stringify({})\n        }\n\n        return AjaxUtils.ajaxPost(url('group:update_user', null, null, groupId.getValue()), data)\n        .then((response) => {\n            return new GroupUserPermissionData(\n                userData.getUserId(),\n                userData.getUserName(),\n                userData.getEmailAddress(),\n                userData.getIsAdmin(),\n                userData.getLastLogin(),\n                userData.getRetailerPermissions(),\n                response.retailer_permissions,\n                userData.getGroupPermissions(),\n            );\n        });\n    }\n\n    public updateRetailerPermissions(userData: GroupUserPermissionData, locationId: LocationId, permissions: Record<string, boolean>): Promise<GroupUserPermissionData> {\n        const data = {\n            user_id: userData.getUserId().getValue(),\n            perm_dict: JSON.stringify(permissions),\n        }\n\n        return AjaxUtils.ajaxPost(url('group:update_retailer_user_permissions', null, locationId.getValue(), null), data)\n        .then((response) => {\n            const updatedRetailerPermissions = userData.getRetailerPermissions();\n            updatedRetailerPermissions.set(locationId, response);\n\n            return new GroupUserPermissionData(\n                userData.getUserId(),\n                userData.getUserName(),\n                userData.getEmailAddress(),\n                userData.getIsAdmin(),\n                userData.getLastLogin(),\n                updatedRetailerPermissions,\n                userData.getGroupRetailerPermissions(),\n                userData.getGroupPermissions(),\n            );\n        });\n    }\n}\n","export class QueryStringNameNotFoundException extends Error {\n    constructor(message? : string) {\n        super(message);\n\n        // Set the prototype explicitly.\n        // https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work\n        Object.setPrototypeOf(this, QueryStringNameNotFoundException.prototype);\n    }\n}\n","export enum AxisPosition {\n    TOP,\n    BOTTOM,\n    LEFT,\n    RIGHT,\n}\n","export enum DataAxisType {\n    DATE,\n}\n","export enum GridLineType {\n    THIN_LINE = 0,\n    THICK_LINE = 1,\n}\n","export enum Orientation {\n    HORIZONTAL = 0,\n    VERTICAL = 1,\n}\n","export enum Shape {\n    SQUARE = 0,\n    LINE = 1,\n}\n","export enum CheckBoxTriState {\n    Unchecked = 0,\n    Checked = 1,\n    Indeterminate = 2,\n}\n","import { IOption } from 'shared/components/Dropdown//DropdownMenu';\nimport { OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\n\n/**\n * from https://gist.github.com/keeguon/2310008\n */\ninterface ICountryInfo {\n    name : string;\n    code : string;\n}\nexport const CountryList : Array<ICountryInfo> = [\n    { name: 'Afghanistan', code: 'AF' },\n    { name: 'Åland Islands', code: 'AX' },\n    { name: 'Albania', code: 'AL' },\n    { name: 'Algeria', code: 'DZ' },\n    { name: 'American Samoa', code: 'AS' },\n    { name: 'Andorra', code: 'AD' },\n    { name: 'Angola', code: 'AO' },\n    { name: 'Anguilla', code: 'AI' },\n    { name: 'Antarctica', code: 'AQ' },\n    { name: 'Antigua and Barbuda', code: 'AG' },\n    { name: 'Argentina', code: 'AR' },\n    { name: 'Armenia', code: 'AM' },\n    { name: 'Aruba', code: 'AW' },\n    { name: 'Australia', code: 'AU' },\n    { name: 'Austria', code: 'AT' },\n    { name: 'Azerbaijan', code: 'AZ' },\n    { name: 'Bahamas', code: 'BS' },\n    { name: 'Bahrain', code: 'BH' },\n    { name: 'Bangladesh', code: 'BD' },\n    { name: 'Barbados', code: 'BB' },\n    { name: 'Belarus', code: 'BY' },\n    { name: 'Belgium', code: 'BE' },\n    { name: 'Belize', code: 'BZ' },\n    { name: 'Benin', code: 'BJ' },\n    { name: 'Bermuda', code: 'BM' },\n    { name: 'Bhutan', code: 'BT' },\n    { name: 'Bolivia', code: 'BO' },\n    { name: 'Bosnia and Herzegovina', code: 'BA' },\n    { name: 'Botswana', code: 'BW' },\n    { name: 'Bouvet Island', code: 'BV' },\n    { name: 'Brazil', code: 'BR' },\n    { name: 'British Indian Ocean Territory', code: 'IO' },\n    { name: 'Brunei Darussalam', code: 'BN' },\n    { name: 'Bulgaria', code: 'BG' },\n    { name: 'Burkina Faso', code: 'BF' },\n    { name: 'Burundi', code: 'BI' },\n    { name: 'Cambodia', code: 'KH' },\n    { name: 'Cameroon', code: 'CM' },\n    { name: 'Canada', code: 'CA' },\n    { name: 'Cape Verde', code: 'CV' },\n    { name: 'Cayman Islands', code: 'KY' },\n    { name: 'Central African Republic', code: 'CF' },\n    { name: 'Chad', code: 'TD' },\n    { name: 'Chile', code: 'CL' },\n    { name: 'China', code: 'CN' },\n    { name: 'Christmas Island', code: 'CX' },\n    { name: 'Cocos (Keeling) Islands', code: 'CC' },\n    { name: 'Colombia', code: 'CO' },\n    { name: 'Comoros', code: 'KM' },\n    { name: 'Congo', code: 'CG' },\n    { name: 'Congo, The Democratic Republic of the', code: 'CD' },\n    { name: 'Cook Islands', code: 'CK' },\n    { name: 'Costa Rica', code: 'CR' },\n    { name: 'Cote D\\'Ivoire', code: 'CI' },\n    { name: 'Croatia', code: 'HR' },\n    { name: 'Cuba', code: 'CU' },\n    { name: 'Cyprus', code: 'CY' },\n    { name: 'Czech Republic', code: 'CZ' },\n    { name: 'Denmark', code: 'DK' },\n    { name: 'Djibouti', code: 'DJ' },\n    { name: 'Dominica', code: 'DM' },\n    { name: 'Dominican Republic', code: 'DO' },\n    { name: 'Ecuador', code: 'EC' },\n    { name: 'Egypt', code: 'EG' },\n    { name: 'El Salvador', code: 'SV' },\n    { name: 'Equatorial Guinea', code: 'GQ' },\n    { name: 'Eritrea', code: 'ER' },\n    { name: 'Estonia', code: 'EE' },\n    { name: 'Ethiopia', code: 'ET' },\n    { name: 'Falkland Islands (Malvinas)', code: 'FK' },\n    { name: 'Faroe Islands', code: 'FO' },\n    { name: 'Fiji', code: 'FJ' },\n    { name: 'Finland', code: 'FI' },\n    { name: 'France', code: 'FR' },\n    { name: 'French Guiana', code: 'GF' },\n    { name: 'French Polynesia', code: 'PF' },\n    { name: 'French Southern Territories', code: 'TF' },\n    { name: 'Gabon', code: 'GA' },\n    { name: 'Gambia', code: 'GM' },\n    { name: 'Georgia', code: 'GE' },\n    { name: 'Germany', code: 'DE' },\n    { name: 'Ghana', code: 'GH' },\n    { name: 'Gibraltar', code: 'GI' },\n    { name: 'Greece', code: 'GR' },\n    { name: 'Greenland', code: 'GL' },\n    { name: 'Grenada', code: 'GD' },\n    { name: 'Guadeloupe', code: 'GP' },\n    { name: 'Guam', code: 'GU' },\n    { name: 'Guatemala', code: 'GT' },\n    { name: 'Guernsey', code: 'GG' },\n    { name: 'Guinea', code: 'GN' },\n    { name: 'Guinea-Bissau', code: 'GW' },\n    { name: 'Guyana', code: 'GY' },\n    { name: 'Haiti', code: 'HT' },\n    { name: 'Heard Island and Mcdonald Islands', code: 'HM' },\n    { name: 'Holy See (Vatican City State)', code: 'VA' },\n    { name: 'Honduras', code: 'HN' },\n    { name: 'Hong Kong', code: 'HK' },\n    { name: 'Hungary', code: 'HU' },\n    { name: 'Iceland', code: 'IS' },\n    { name: 'India', code: 'IN' },\n    { name: 'Indonesia', code: 'ID' },\n    { name: 'Iran, Islamic Republic Of', code: 'IR' },\n    { name: 'Iraq', code: 'IQ' },\n    { name: 'Ireland', code: 'IE' },\n    { name: 'Isle of Man', code: 'IM' },\n    { name: 'Israel', code: 'IL' },\n    { name: 'Italy', code: 'IT' },\n    { name: 'Jamaica', code: 'JM' },\n    { name: 'Japan', code: 'JP' },\n    { name: 'Jersey', code: 'JE' },\n    { name: 'Jordan', code: 'JO' },\n    { name: 'Kazakhstan', code: 'KZ' },\n    { name: 'Kenya', code: 'KE' },\n    { name: 'Kiribati', code: 'KI' },\n    { name: 'Korea, Democratic People\\'s Republic of', code: 'KP' },\n    { name: 'Korea, Republic of', code: 'KR' },\n    { name: 'Kuwait', code: 'KW' },\n    { name: 'Kyrgyzstan', code: 'KG' },\n    { name: 'Lao People\\'s Democratic Republic', code: 'LA' },\n    { name: 'Latvia', code: 'LV' },\n    { name: 'Lebanon', code: 'LB' },\n    { name: 'Lesotho', code: 'LS' },\n    { name: 'Liberia', code: 'LR' },\n    { name: 'Libyan Arab Jamahiriya', code: 'LY' },\n    { name: 'Liechtenstein', code: 'LI' },\n    { name: 'Lithuania', code: 'LT' },\n    { name: 'Luxembourg', code: 'LU' },\n    { name: 'Macao', code: 'MO' },\n    { name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK' },\n    { name: 'Madagascar', code: 'MG' },\n    { name: 'Malawi', code: 'MW' },\n    { name: 'Malaysia', code: 'MY' },\n    { name: 'Maldives', code: 'MV' },\n    { name: 'Mali', code: 'ML' },\n    { name: 'Malta', code: 'MT' },\n    { name: 'Marshall Islands', code: 'MH' },\n    { name: 'Martinique', code: 'MQ' },\n    { name: 'Mauritania', code: 'MR' },\n    { name: 'Mauritius', code: 'MU' },\n    { name: 'Mayotte', code: 'YT' },\n    { name: 'Mexico', code: 'MX' },\n    { name: 'Micronesia, Federated States of', code: 'FM' },\n    { name: 'Moldova, Republic of', code: 'MD' },\n    { name: 'Monaco', code: 'MC' },\n    { name: 'Mongolia', code: 'MN' },\n    { name: 'Montserrat', code: 'MS' },\n    { name: 'Morocco', code: 'MA' },\n    { name: 'Mozambique', code: 'MZ' },\n    { name: 'Myanmar', code: 'MM' },\n    { name: 'Namibia', code: 'NA' },\n    { name: 'Nauru', code: 'NR' },\n    { name: 'Nepal', code: 'NP' },\n    { name: 'Netherlands', code: 'NL' },\n    { name: 'Netherlands Antilles', code: 'AN' },\n    { name: 'New Caledonia', code: 'NC' },\n    { name: 'New Zealand', code: 'NZ' },\n    { name: 'Nicaragua', code: 'NI' },\n    { name: 'Niger', code: 'NE' },\n    { name: 'Nigeria', code: 'NG' },\n    { name: 'Niue', code: 'NU' },\n    { name: 'Norfolk Island', code: 'NF' },\n    { name: 'Northern Mariana Islands', code: 'MP' },\n    { name: 'Norway', code: 'NO' },\n    { name: 'Oman', code: 'OM' },\n    { name: 'Pakistan', code: 'PK' },\n    { name: 'Palau', code: 'PW' },\n    { name: 'Palestinian Territory, Occupied', code: 'PS' },\n    { name: 'Panama', code: 'PA' },\n    { name: 'Papua New Guinea', code: 'PG' },\n    { name: 'Paraguay', code: 'PY' },\n    { name: 'Peru', code: 'PE' },\n    { name: 'Philippines', code: 'PH' },\n    { name: 'Pitcairn', code: 'PN' },\n    { name: 'Poland', code: 'PL' },\n    { name: 'Portugal', code: 'PT' },\n    { name: 'Puerto Rico', code: 'PR' },\n    { name: 'Qatar', code: 'QA' },\n    { name: 'Reunion', code: 'RE' },\n    { name: 'Romania', code: 'RO' },\n    { name: 'Russian Federation', code: 'RU' },\n    { name: 'Rwanda', code: 'RW' },\n    { name: 'Saint Helena', code: 'SH' },\n    { name: 'Saint Kitts and Nevis', code: 'KN' },\n    { name: 'Saint Lucia', code: 'LC' },\n    { name: 'Saint Pierre and Miquelon', code: 'PM' },\n    { name: 'Saint Vincent and the Grenadines', code: 'VC' },\n    { name: 'Samoa', code: 'WS' },\n    { name: 'San Marino', code: 'SM' },\n    { name: 'Sao Tome and Principe', code: 'ST' },\n    { name: 'Saudi Arabia', code: 'SA' },\n    { name: 'Senegal', code: 'SN' },\n    { name: 'Serbia and Montenegro', code: 'CS' },\n    { name: 'Seychelles', code: 'SC' },\n    { name: 'Sierra Leone', code: 'SL' },\n    { name: 'Singapore', code: 'SG' },\n    { name: 'Slovakia', code: 'SK' },\n    { name: 'Slovenia', code: 'SI' },\n    { name: 'Solomon Islands', code: 'SB' },\n    { name: 'Somalia', code: 'SO' },\n    { name: 'South Africa', code: 'ZA' },\n    { name: 'South Georgia and the South Sandwich Islands', code: 'GS' },\n    { name: 'Spain', code: 'ES' },\n    { name: 'Sri Lanka', code: 'LK' },\n    { name: 'Sudan', code: 'SD' },\n    { name: 'Suriname', code: 'SR' },\n    { name: 'Svalbard and Jan Mayen', code: 'SJ' },\n    { name: 'Swaziland', code: 'SZ' },\n    { name: 'Sweden', code: 'SE' },\n    { name: 'Switzerland', code: 'CH' },\n    { name: 'Syrian Arab Republic', code: 'SY' },\n    { name: 'Taiwan, Province of China', code: 'TW' },\n    { name: 'Tajikistan', code: 'TJ' },\n    { name: 'Tanzania, United Republic of', code: 'TZ' },\n    { name: 'Thailand', code: 'TH' },\n    { name: 'Timor-Leste', code: 'TL' },\n    { name: 'Togo', code: 'TG' },\n    { name: 'Tokelau', code: 'TK' },\n    { name: 'Tonga', code: 'TO' },\n    { name: 'Trinidad and Tobago', code: 'TT' },\n    { name: 'Tunisia', code: 'TN' },\n    { name: 'Turkey', code: 'TR' },\n    { name: 'Turkmenistan', code: 'TM' },\n    { name: 'Turks and Caicos Islands', code: 'TC' },\n    { name: 'Tuvalu', code: 'TV' },\n    { name: 'Uganda', code: 'UG' },\n    { name: 'Ukraine', code: 'UA' },\n    { name: 'United Arab Emirates', code: 'AE' },\n    { name: 'United Kingdom', code: 'GB' },\n    { name: 'United States', code: 'US' },\n    { name: 'United States Minor Outlying Islands', code: 'UM' },\n    { name: 'Uruguay', code: 'UY' },\n    { name: 'Uzbekistan', code: 'UZ' },\n    { name: 'Vanuatu', code: 'VU' },\n    { name: 'Venezuela', code: 'VE' },\n    { name: 'Viet Nam', code: 'VN' },\n    { name: 'Virgin Islands, British', code: 'VG' },\n    { name: 'Virgin Islands, U.S.', code: 'VI' },\n    { name: 'Wallis and Futuna', code: 'WF' },\n    { name: 'Western Sahara', code: 'EH' },\n    { name: 'Yemen', code: 'YE' },\n    { name: 'Zambia', code: 'ZM' },\n    { name: 'Zimbabwe', code: 'ZW' }\n];\n\nexport const CountryNameByCode : { [key : string] : string } = CountryList.reduce((mapObject : {[key : string] : string }, countryInfo : ICountryInfo) => {\n    mapObject[countryInfo.code] = countryInfo.name;\n    return mapObject;\n}, {});\n\nconst COUNTRY_DROPDOWN_OPTIONS : OptionsAndLabelNameTuples = [];\nexport const getCountryOptionsForSelect2Dropdown = () : OptionsAndLabelNameTuples => {\n    if (COUNTRY_DROPDOWN_OPTIONS.length > 0) {\n        return COUNTRY_DROPDOWN_OPTIONS;\n    }\n\n    const countryOptions : Array<IOption> = [];\n    CountryList.forEach((countryInfo) => {\n        countryOptions.push({\n            value: countryInfo.code,\n            label: countryInfo.name,\n            icon: null,\n        });\n    });\n    COUNTRY_DROPDOWN_OPTIONS[0] = [null, countryOptions];\n    return COUNTRY_DROPDOWN_OPTIONS;\n};\n","import { IOption } from 'shared/components/Dropdown/DropdownMenu';\n\ninterface ICurrency {\n    code : string;\n    name : string;\n    symbol : string;\n}\n\n// should be kept in sync with the CURRENCY_CODES in account/settings/views.py\nexport type CurrencyCode = 'ALL' | 'AFN' | 'ARS' | 'AWG' | 'AUD' | 'AZN' | 'BSD' | 'BBD' | 'BYN' | 'BZD' | 'BMD' | 'BOB' | 'BAM' |\n'BWP' | 'BGN' | 'BRL' | 'BND' | 'KHR' | 'CAD' | 'KYD' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'HRK' | 'CUP' | 'CZK' | 'DKK' |\n'DOP' | 'XCD' | 'EGP' | 'SVC' | 'EUR' | 'FKP' | 'FJD' | 'GHS' | 'GIP' | 'GTQ' | 'GGP' | 'GYD' | 'HNL' | 'HKD' | 'HUF' |\n'ISK' | 'INR' | 'IDR' | 'IRR' | 'IMP' | 'ILS' | 'JMD' | 'JPY' | 'JEP' | 'KES' | 'KZT' | 'KPW' | 'KRW' | 'KGS' | 'LAK' |\n'LBP' | 'LRD' | 'MKD' | 'MYR' | 'MUR' | 'MXN' | 'MNT' | 'MZN' | 'NAD' | 'NPR' | 'ANG' | 'NZD' | 'NIO' | 'NGN' | 'NOK' |\n'OMR' | 'PKR' | 'PAB' | 'PYG' | 'PEN' | 'PHP' | 'PLN' | 'QAR' | 'RON' | 'RUB' | 'SHP' | 'SAR' | 'RSD' | 'SCR' | 'SLL' | 'SGD' |\n'SBD' | 'SOS' | 'ZAR' | 'LKR' | 'SEK' | 'CHF' | 'SRD' | 'SYP' | 'TWD' | 'THB' | 'TTD' | 'TRY' | 'TVD' | 'UAH' | 'GBP' |\n'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'YER';\n\nexport const currencyByCode : { [key in CurrencyCode] : ICurrency } = {\n    ALL: {\n        code: 'ALL',\n        name: 'Albania Lek',\n        symbol: 'Lek',\n    },\n    AFN: {\n        code: 'AFN',\n        name: 'Afghanistan Afghani',\n        symbol: '؋',\n    },\n    ARS: {\n        code: 'ARS',\n        name: 'Argentina Peso',\n        symbol: '$',\n    },\n    AWG: {\n        code: 'AWG',\n        name: 'Aruba Guilder',\n        symbol: 'ƒ',\n    },\n    AUD: {\n        code: 'AUD',\n        name: 'Australia Dollar',\n        symbol: '$',\n    },\n    AZN: {\n        code: 'AZN',\n        name: 'Azerbaijan Manat',\n        symbol: '₼',\n    },\n    BSD: {\n        code: 'BSD',\n        name: 'Bahamas Dollar',\n        symbol: '$',\n    },\n    BBD: {\n        code: 'BBD',\n        name: 'Barbados Dollar',\n        symbol: '$',\n    },\n    BYN: {\n        code: 'BYN',\n        name: 'Belarus Ruble',\n        symbol: 'Br',\n    },\n    BZD: {\n        code: 'BZD',\n        name: 'Belize Dollar',\n        symbol: 'BZ$',\n    },\n    BMD: {\n        code: 'BMD',\n        name: 'Bermuda Dollar',\n        symbol: '$',\n    },\n    BOB: {\n        code: 'BOB',\n        name: 'Bolivia Bolíviano',\n        symbol: '$b',\n    },\n    BAM: {\n        code: 'BAM',\n        name: 'Bosnia and Herzegovina Convertible Marka',\n        symbol: 'KM',\n    },\n    BWP: {\n        code: 'BWP',\n        name: 'Botswana Pula',\n        symbol: 'P',\n    },\n    BGN: {\n        code: 'BGN',\n        name: 'Bulgaria Lev',\n        symbol: 'лв',\n    },\n    BRL: {\n        code: 'BRL',\n        name: 'Brazil Real',\n        symbol: 'R$',\n    },\n    BND: {\n        code: 'BND',\n        name: 'Brunei Darussalam Dollar',\n        symbol: '$',\n    },\n    KHR: {\n        code: 'KHR',\n        name: 'Cambodia Riel',\n        symbol: '៛',\n    },\n    CAD: {\n        code: 'CAD',\n        name: 'Canada Dollar',\n        symbol: '$',\n    },\n    KYD: {\n        code: 'KYD',\n        name: 'Cayman Islands Dollar',\n        symbol: '$',\n    },\n    CLP: {\n        code: 'CLP',\n        name: 'Chile Peso',\n        symbol: '$',\n    },\n    CNY: {\n        code: 'CNY',\n        name: 'China Yuan Renminbi',\n        symbol: '¥',\n    },\n    COP: {\n        code: 'COP',\n        name: 'Colombia Peso',\n        symbol: '$',\n    },\n    CRC: {\n        code: 'CRC',\n        name: 'Costa Rica Colon',\n        symbol: '₡',\n    },\n    HRK: {\n        code: 'HRK',\n        name: 'Croatia Kuna',\n        symbol: 'kn',\n    },\n    CUP: {\n        code: 'CUP',\n        name: 'Cuba Peso',\n        symbol: '₱',\n    },\n    CZK: {\n        code: 'CZK',\n        name: 'Czech Republic Koruna',\n        symbol: 'Kč',\n    },\n    DKK: {\n        code: 'DKK',\n        name: 'Denmark Krone',\n        symbol: 'kr',\n    },\n    DOP: {\n        code: 'DOP',\n        name: 'Dominican Republic Peso',\n        symbol: 'RD$',\n    },\n    XCD: {\n        code: 'XCD',\n        name: 'East Caribbean Dollar',\n        symbol: '$',\n    },\n    EGP: {\n        code: 'EGP',\n        name: 'Egypt Pound',\n        symbol: '£',\n    },\n    SVC: {\n        code: 'SVC',\n        name: 'El Salvador Colon',\n        symbol: '$',\n    },\n    EUR: {\n        code: 'EUR',\n        name: 'Euro Member Countries',\n        symbol: '€',\n    },\n    FKP: {\n        code: 'FKP',\n        name: 'Falkland Islands (Malvinas) Pound',\n        symbol: '£',\n    },\n    FJD: {\n        code: 'FJD',\n        name: 'Fiji Dollar',\n        symbol: '$',\n    },\n    GHS: {\n        code: 'GHS',\n        name: 'Ghana Cedi',\n        symbol: '¢',\n    },\n    GIP: {\n        code: 'GIP',\n        name: 'Gibraltar Pound',\n        symbol: '£',\n    },\n    GTQ: {\n        code: 'GTQ',\n        name: 'Guatemala Quetzal',\n        symbol: 'Q',\n    },\n    GGP: {\n        code: 'GGP',\n        name: 'Guernsey Pound',\n        symbol: '£',\n    },\n    GYD: {\n        code: 'GYD',\n        name: 'Guyana Dollar',\n        symbol: '$',\n    },\n    HNL: {\n        code: 'HNL',\n        name: 'Honduras Lempira',\n        symbol: 'L',\n    },\n    HKD: {\n        code: 'HKD',\n        name: 'Hong Kong Dollar',\n        symbol: '$',\n    },\n    HUF: {\n        code: 'HUF',\n        name: 'Hungary Forint',\n        symbol: 'Ft',\n    },\n    ISK: {\n        code: 'ISK',\n        name: 'Iceland Krona',\n        symbol: 'kr',\n    },\n    INR: {\n        code: 'INR',\n        name: 'India Rupee',\n        symbol: '₹',\n    },\n    IDR: {\n        code: 'IDR',\n        name: 'Indonesia Rupiah',\n        symbol: 'Rp',\n    },\n    IRR: {\n        code: 'IRR',\n        name: 'Iran Rial',\n        symbol: '﷼',\n    },\n    IMP: {\n        code: 'IMP',\n        name: 'Isle of Man Pound',\n        symbol: '£',\n    },\n    ILS: {\n        code: 'ILS',\n        name: 'Israel Shekel',\n        symbol: '₪',\n    },\n    JMD: {\n        code: 'JMD',\n        name: 'Jamaica Dollar',\n        symbol: 'J$',\n    },\n    JPY: {\n        code: 'JPY',\n        name: 'Japan Yen',\n        symbol: '¥',\n    },\n    JEP: {\n        code: 'JEP',\n        name: 'Jersey Pound',\n        symbol: '£',\n    },\n    KES: {\n        code: 'KES',\n        name: 'Kenyan Shilling',\n        symbol: 'KSh',\n    },\n    KZT: {\n        code: 'KZT',\n        name: 'Kazakhstan Tenge',\n        symbol: 'лв',\n    },\n    KPW: {\n        code: 'KPW',\n        name: 'Korea (North) Won',\n        symbol: '₩',\n    },\n    KRW: {\n        code: 'KRW',\n        name: 'Korea (South) Won',\n        symbol: '₩',\n    },\n    KGS: {\n        code: 'KGS',\n        name: 'Kyrgyzstan Som',\n        symbol: 'лв',\n    },\n    LAK: {\n        code: 'LAK',\n        name: 'Laos Kip',\n        symbol: '₭',\n    },\n    LBP: {\n        code: 'LBP',\n        name: 'Lebanon Pound',\n        symbol: '£',\n    },\n    LRD: {\n        code: 'LRD',\n        name: 'Liberia Dollar',\n        symbol: '$',\n    },\n    MKD: {\n        code: 'MKD',\n        name: 'Macedonia Denar',\n        symbol: 'ден',\n    },\n    MYR: {\n        code: 'MYR',\n        name: 'Malaysia Ringgit',\n        symbol: 'RM',\n    },\n    MUR: {\n        code: 'MUR',\n        name: 'Mauritius Rupee',\n        symbol: '₨',\n    },\n    MXN: {\n        code: 'MXN',\n        name: 'Mexico Peso',\n        symbol: '$',\n    },\n    MNT: {\n        code: 'MNT',\n        name: 'Mongolia Tughrik',\n        symbol: '₮',\n    },\n    MZN: {\n        code: 'MZN',\n        name: 'Mozambique Metical',\n        symbol: 'MT',\n    },\n    NAD: {\n        code: 'NAD',\n        name: 'Namibia Dollar',\n        symbol: '$',\n    },\n    NPR: {\n        code: 'NPR',\n        name: 'Nepal Rupee',\n        symbol: '₨',\n    },\n    ANG: {\n        code: 'ANG',\n        name: 'Netherlands Antilles Guilder',\n        symbol: 'ƒ',\n    },\n    NZD: {\n        code: 'NZD',\n        name: 'New Zealand Dollar',\n        symbol: '$',\n    },\n    NIO: {\n        code: 'NIO',\n        name: 'Nicaragua Cordoba',\n        symbol: 'C$',\n    },\n    NGN: {\n        code: 'NGN',\n        name: 'Nigeria Naira',\n        symbol: '₦',\n    },\n    NOK: {\n        code: 'NOK',\n        name: 'Norway Krone',\n        symbol: 'kr',\n    },\n    OMR: {\n        code: 'OMR',\n        name: 'Oman Rial',\n        symbol: '﷼',\n    },\n    PKR: {\n        code: 'PKR',\n        name: 'Pakistan Rupee',\n        symbol: '₨',\n    },\n    PAB: {\n        code: 'PAB',\n        name: 'Panama Balboa',\n        symbol: 'B/.',\n    },\n    PYG: {\n        code: 'PYG',\n        name: 'Paraguay Guarani',\n        symbol: 'Gs',\n    },\n    PEN: {\n        code: 'PEN',\n        name: 'Peru Sol',\n        symbol: 'S/.',\n    },\n    PHP: {\n        code: 'PHP',\n        name: 'Philippines Peso',\n        symbol: '₱',\n    },\n    PLN: {\n        code: 'PLN',\n        name: 'Poland Zloty',\n        symbol: 'zł',\n    },\n    QAR: {\n        code: 'QAR',\n        name: 'Qatar Riyal',\n        symbol: '﷼',\n    },\n    RON: {\n        code: 'RON',\n        name: 'Romania Leu',\n        symbol: 'lei',\n    },\n    RUB: {\n        code: 'RUB',\n        name: 'Russia Ruble',\n        symbol: '₽',\n    },\n    SHP: {\n        code: 'SHP',\n        name: 'Saint Helena Pound',\n        symbol: '£',\n    },\n    SAR: {\n        code: 'SAR',\n        name: 'Saudi Arabia Riyal',\n        symbol: '﷼',\n    },\n    RSD: {\n        code: 'RSD',\n        name: 'Serbia Dinar',\n        symbol: 'Дин.',\n    },\n    SCR: {\n        code: 'SCR',\n        name: 'Seychelles Rupee',\n        symbol: '₨',\n    },\n    SLL: {\n        code: 'SLL',\n        name: 'Sierra Leone',\n        symbol: 'SLE',\n    },\n    SGD: {\n        code: 'SGD',\n        name: 'Singapore Dollar',\n        symbol: '$',\n    },\n    SBD: {\n        code: 'SBD',\n        name: 'Solomon Islands Dollar',\n        symbol: '$',\n    },\n    SOS: {\n        code: 'SOS',\n        name: 'Somalia Shilling',\n        symbol: 'S',\n    },\n    ZAR: {\n        code: 'ZAR',\n        name: 'South Africa Rand',\n        symbol: 'R',\n    },\n    LKR: {\n        code: 'LKR',\n        name: 'Sri Lanka Rupee',\n        symbol: '₨',\n    },\n    SEK: {\n        code: 'SEK',\n        name: 'Sweden Krona',\n        symbol: 'kr',\n    },\n    CHF: {\n        code: 'CHF',\n        name: 'Switzerland Franc',\n        symbol: 'CHF',\n    },\n    SRD: {\n        code: 'SRD',\n        name: 'Suriname Dollar',\n        symbol: '$',\n    },\n    SYP: {\n        code: 'SYP',\n        name: 'Syria Pound',\n        symbol: '£',\n    },\n    TWD: {\n        code: 'TWD',\n        name: 'Taiwan New Dollar',\n        symbol: 'NT$',\n    },\n    THB: {\n        code: 'THB',\n        name: 'Thailand Baht',\n        symbol: '฿',\n    },\n    TTD: {\n        code: 'TTD',\n        name: 'Trinidad and Tobago Dollar',\n        symbol: 'TT$',\n    },\n    TRY: {\n        code: 'TRY',\n        name: 'Turkey Lira',\n        symbol: '₺',\n    },\n    TVD: {\n        code: 'TVD',\n        name: 'Tuvalu Dollar',\n        symbol: '$',\n    },\n    UAH: {\n        code: 'UAH',\n        name: 'Ukraine Hryvnia',\n        symbol: '₴',\n    },\n    GBP: {\n        code: 'GBP',\n        name: 'United Kingdom Pound',\n        symbol: '£',\n    },\n    USD: {\n        code: 'USD',\n        name: 'United States Dollar',\n        symbol: '$',\n    },\n    UYU: {\n        code: 'UYU',\n        name: 'Uruguay Peso',\n        symbol: '$U',\n    },\n    UZS: {\n        code: 'UZS',\n        name: 'Uzbekistan Som',\n        symbol: 'лв',\n    },\n    VEF: {\n        code: 'VEF',\n        name: 'Venezuela Bolívar',\n        symbol: 'Bs',\n    },\n    VND: {\n        code: 'VND',\n        name: 'Viet Nam Dong',\n        symbol: '₫',\n    },\n    YER: {\n        code: 'YER',\n        name: 'Yemen Rial',\n        symbol: '﷼',\n    }\n};\n\n// 'CAD' -> 'Canada Dollar ($)', or 'CAD ($)' when isShortLabel\nexport const getCurrencyLabel = (code : CurrencyCode, isShortLabel : boolean = false) : string => {\n    const currency = currencyByCode[code];\n\n    if (typeof currency === 'undefined') {\n        return code;\n    }\n\n    return `${isShortLabel ? currency.code : currency.name} (${currency.symbol})`;\n};\n\nexport const getCurrencySymbol = (code? : CurrencyCode) => {\n    const currencyCode = typeof code === 'undefined' ? window.GLOBAL_RETAILER_CURRENCY : code;\n    const currency = currencyByCode[currencyCode as CurrencyCode];\n    let symbol = '$';\n\n    // because window.GLOBAL_RETAILER_CURRENCY is type `string` and not `CurrencyCode`\n    if (typeof currency !== 'undefined') {\n        symbol = currency.symbol;\n    }\n\n    return symbol;\n};\n\n/** Every currency as a dropdown option, labeled like 'Canada Dollar ($)' and valued by its code. */\nexport const CURRENCY_OPTIONS : Array<IOption> = Object.keys(currencyByCode).map((currencyCode) => ({\n    icon: null,\n    label: getCurrencyLabel(currencyCode as CurrencyCode),\n    value: currencyCode,\n}));\n\nexport const isCurrencyCode = (value : string) : value is CurrencyCode => Object.prototype.hasOwnProperty.call(currencyByCode, value);\n","import moment from 'moment-timezone';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\n\nimport CoreTimeModel from 'gen-thrift/core_time_Model_types';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\n/** generated via `var tzs = {}; require('moment-timezone').tz.names().forEach(function (tz, i) { tzs[tz] = i; tzs[i] = tz; }); tzs;` */\nexport enum Timezone {\n    'Africa/Abidjan' = 0,\n    'Africa/Accra' = 1,\n    'Africa/Addis_Ababa' = 2,\n    'Africa/Algiers' = 3,\n    'Africa/Asmara' = 4,\n    'Africa/Asmera' = 5,\n    'Africa/Bamako' = 6,\n    'Africa/Bangui' = 7,\n    'Africa/Banjul' = 8,\n    'Africa/Bissau' = 9,\n    'Africa/Blantyre' = 10,\n    'Africa/Brazzaville' = 11,\n    'Africa/Bujumbura' = 12,\n    'Africa/Cairo' = 13,\n    'Africa/Casablanca' = 14,\n    'Africa/Ceuta' = 15,\n    'Africa/Conakry' = 16,\n    'Africa/Dakar' = 17,\n    'Africa/Dar_es_Salaam' = 18,\n    'Africa/Djibouti' = 19,\n    'Africa/Douala' = 20,\n    'Africa/El_Aaiun' = 21,\n    'Africa/Freetown' = 22,\n    'Africa/Gaborone' = 23,\n    'Africa/Harare' = 24,\n    'Africa/Johannesburg' = 25,\n    'Africa/Juba' = 26,\n    'Africa/Kampala' = 27,\n    'Africa/Khartoum' = 28,\n    'Africa/Kigali' = 29,\n    'Africa/Kinshasa' = 30,\n    'Africa/Lagos' = 31,\n    'Africa/Libreville' = 32,\n    'Africa/Lome' = 33,\n    'Africa/Luanda' = 34,\n    'Africa/Lubumbashi' = 35,\n    'Africa/Lusaka' = 36,\n    'Africa/Malabo' = 37,\n    'Africa/Maputo' = 38,\n    'Africa/Maseru' = 39,\n    'Africa/Mbabane' = 40,\n    'Africa/Mogadishu' = 41,\n    'Africa/Monrovia' = 42,\n    'Africa/Nairobi' = 43,\n    'Africa/Ndjamena' = 44,\n    'Africa/Niamey' = 45,\n    'Africa/Nouakchott' = 46,\n    'Africa/Ouagadougou' = 47,\n    'Africa/Porto-Novo' = 48,\n    'Africa/Sao_Tome' = 49,\n    'Africa/Timbuktu' = 50,\n    'Africa/Tripoli' = 51,\n    'Africa/Tunis' = 52,\n    'Africa/Windhoek' = 53,\n    'America/Adak' = 54,\n    'America/Anchorage' = 55,\n    'America/Anguilla' = 56,\n    'America/Antigua' = 57,\n    'America/Araguaina' = 58,\n    'America/Argentina/Buenos_Aires' = 59,\n    'America/Argentina/Catamarca' = 60,\n    'America/Argentina/ComodRivadavia' = 61,\n    'America/Argentina/Cordoba' = 62,\n    'America/Argentina/Jujuy' = 63,\n    'America/Argentina/La_Rioja' = 64,\n    'America/Argentina/Mendoza' = 65,\n    'America/Argentina/Rio_Gallegos' = 66,\n    'America/Argentina/Salta' = 67,\n    'America/Argentina/San_Juan' = 68,\n    'America/Argentina/San_Luis' = 69,\n    'America/Argentina/Tucuman' = 70,\n    'America/Argentina/Ushuaia' = 71,\n    'America/Aruba' = 72,\n    'America/Asuncion' = 73,\n    'America/Atikokan' = 74,\n    'America/Atka' = 75,\n    'America/Bahia' = 76,\n    'America/Bahia_Banderas' = 77,\n    'America/Barbados' = 78,\n    'America/Belem' = 79,\n    'America/Belize' = 80,\n    'America/Blanc-Sablon' = 81,\n    'America/Boa_Vista' = 82,\n    'America/Bogota' = 83,\n    'America/Boise' = 84,\n    'America/Buenos_Aires' = 85,\n    'America/Cambridge_Bay' = 86,\n    'America/Campo_Grande' = 87,\n    'America/Cancun' = 88,\n    'America/Caracas' = 89,\n    'America/Catamarca' = 90,\n    'America/Cayenne' = 91,\n    'America/Cayman' = 92,\n    'America/Chicago' = 93,\n    'America/Chihuahua' = 94,\n    'America/Coral_Harbour' = 95,\n    'America/Cordoba' = 96,\n    'America/Costa_Rica' = 97,\n    'America/Creston' = 98,\n    'America/Cuiaba' = 99,\n    'America/Curacao' = 100,\n    'America/Danmarkshavn' = 101,\n    'America/Dawson' = 102,\n    'America/Dawson_Creek' = 103,\n    'America/Denver' = 104,\n    'America/Detroit' = 105,\n    'America/Dominica' = 106,\n    'America/Edmonton' = 107,\n    'America/Eirunepe' = 108,\n    'America/El_Salvador' = 109,\n    'America/Ensenada' = 110,\n    'America/Fort_Nelson' = 111,\n    'America/Fort_Wayne' = 112,\n    'America/Fortaleza' = 113,\n    'America/Glace_Bay' = 114,\n    'America/Godthab' = 115,\n    'America/Goose_Bay' = 116,\n    'America/Grand_Turk' = 117,\n    'America/Grenada' = 118,\n    'America/Guadeloupe' = 119,\n    'America/Guatemala' = 120,\n    'America/Guayaquil' = 121,\n    'America/Guyana' = 122,\n    'America/Halifax' = 123,\n    'America/Havana' = 124,\n    'America/Hermosillo' = 125,\n    'America/Indiana/Indianapolis' = 126,\n    'America/Indiana/Knox' = 127,\n    'America/Indiana/Marengo' = 128,\n    'America/Indiana/Petersburg' = 129,\n    'America/Indiana/Tell_City' = 130,\n    'America/Indiana/Vevay' = 131,\n    'America/Indiana/Vincennes' = 132,\n    'America/Indiana/Winamac' = 133,\n    'America/Indianapolis' = 134,\n    'America/Inuvik' = 135,\n    'America/Iqaluit' = 136,\n    'America/Jamaica' = 137,\n    'America/Jujuy' = 138,\n    'America/Juneau' = 139,\n    'America/Kentucky/Louisville' = 140,\n    'America/Kentucky/Monticello' = 141,\n    'America/Knox_IN' = 142,\n    'America/Kralendijk' = 143,\n    'America/La_Paz' = 144,\n    'America/Lima' = 145,\n    'America/Los_Angeles' = 146,\n    'America/Louisville' = 147,\n    'America/Lower_Princes' = 148,\n    'America/Maceio' = 149,\n    'America/Managua' = 150,\n    'America/Manaus' = 151,\n    'America/Marigot' = 152,\n    'America/Martinique' = 153,\n    'America/Matamoros' = 154,\n    'America/Mazatlan' = 155,\n    'America/Mendoza' = 156,\n    'America/Menominee' = 157,\n    'America/Merida' = 158,\n    'America/Metlakatla' = 159,\n    'America/Mexico_City' = 160,\n    'America/Miquelon' = 161,\n    'America/Moncton' = 162,\n    'America/Monterrey' = 163,\n    'America/Montevideo' = 164,\n    'America/Montreal' = 165,\n    'America/Montserrat' = 166,\n    'America/Nassau' = 167,\n    'America/New_York' = 168,\n    'America/Nipigon' = 169,\n    'America/Nome' = 170,\n    'America/Noronha' = 171,\n    'America/North_Dakota/Beulah' = 172,\n    'America/North_Dakota/Center' = 173,\n    'America/North_Dakota/New_Salem' = 174,\n    'America/Ojinaga' = 175,\n    'America/Panama' = 176,\n    'America/Pangnirtung' = 177,\n    'America/Paramaribo' = 178,\n    'America/Phoenix' = 179,\n    'America/Port-au-Prince' = 180,\n    'America/Port_of_Spain' = 181,\n    'America/Porto_Acre' = 182,\n    'America/Porto_Velho' = 183,\n    'America/Puerto_Rico' = 184,\n    'America/Rainy_River' = 185,\n    'America/Rankin_Inlet' = 186,\n    'America/Recife' = 187,\n    'America/Regina' = 188,\n    'America/Resolute' = 189,\n    'America/Rio_Branco' = 190,\n    'America/Rosario' = 191,\n    'America/Santa_Isabel' = 192,\n    'America/Santarem' = 193,\n    'America/Santiago' = 194,\n    'America/Santo_Domingo' = 195,\n    'America/Sao_Paulo' = 196,\n    'America/Scoresbysund' = 197,\n    'America/Shiprock' = 198,\n    'America/Sitka' = 199,\n    'America/St_Barthelemy' = 200,\n    'America/St_Johns' = 201,\n    'America/St_Kitts' = 202,\n    'America/St_Lucia' = 203,\n    'America/St_Thomas' = 204,\n    'America/St_Vincent' = 205,\n    'America/Swift_Current' = 206,\n    'America/Tegucigalpa' = 207,\n    'America/Thule' = 208,\n    'America/Thunder_Bay' = 209,\n    'America/Tijuana' = 210,\n    'America/Toronto' = 211,\n    'America/Tortola' = 212,\n    'America/Vancouver' = 213,\n    'America/Virgin' = 214,\n    'America/Whitehorse' = 215,\n    'America/Winnipeg' = 216,\n    'America/Yakutat' = 217,\n    'America/Yellowknife' = 218,\n    'Antarctica/Casey' = 219,\n    'Antarctica/Davis' = 220,\n    'Antarctica/DumontDUrville' = 221,\n    'Antarctica/Macquarie' = 222,\n    'Antarctica/Mawson' = 223,\n    'Antarctica/McMurdo' = 224,\n    'Antarctica/Palmer' = 225,\n    'Antarctica/Rothera' = 226,\n    'Antarctica/South_Pole' = 227,\n    'Antarctica/Syowa' = 228,\n    'Antarctica/Troll' = 229,\n    'Antarctica/Vostok' = 230,\n    'Arctic/Longyearbyen' = 231,\n    'Asia/Aden' = 232,\n    'Asia/Almaty' = 233,\n    'Asia/Amman' = 234,\n    'Asia/Anadyr' = 235,\n    'Asia/Aqtau' = 236,\n    'Asia/Aqtobe' = 237,\n    'Asia/Ashgabat' = 238,\n    'Asia/Ashkhabad' = 239,\n    'Asia/Baghdad' = 240,\n    'Asia/Bahrain' = 241,\n    'Asia/Baku' = 242,\n    'Asia/Bangkok' = 243,\n    'Asia/Barnaul' = 244,\n    'Asia/Beirut' = 245,\n    'Asia/Bishkek' = 246,\n    'Asia/Brunei' = 247,\n    'Asia/Calcutta' = 248,\n    'Asia/Chita' = 249,\n    'Asia/Choibalsan' = 250,\n    'Asia/Chongqing' = 251,\n    'Asia/Chungking' = 252,\n    'Asia/Colombo' = 253,\n    'Asia/Dacca' = 254,\n    'Asia/Damascus' = 255,\n    'Asia/Dhaka' = 256,\n    'Asia/Dili' = 257,\n    'Asia/Dubai' = 258,\n    'Asia/Dushanbe' = 259,\n    'Asia/Gaza' = 260,\n    'Asia/Harbin' = 261,\n    'Asia/Hebron' = 262,\n    'Asia/Ho_Chi_Minh' = 263,\n    'Asia/Hong_Kong' = 264,\n    'Asia/Hovd' = 265,\n    'Asia/Irkutsk' = 266,\n    'Asia/Istanbul' = 267,\n    'Asia/Jakarta' = 268,\n    'Asia/Jayapura' = 269,\n    'Asia/Jerusalem' = 270,\n    'Asia/Kabul' = 271,\n    'Asia/Kamchatka' = 272,\n    'Asia/Karachi' = 273,\n    'Asia/Kashgar' = 274,\n    'Asia/Kathmandu' = 275,\n    'Asia/Katmandu' = 276,\n    'Asia/Khandyga' = 277,\n    'Asia/Kolkata' = 278,\n    'Asia/Krasnoyarsk' = 279,\n    'Asia/Kuala_Lumpur' = 280,\n    'Asia/Kuching' = 281,\n    'Asia/Kuwait' = 282,\n    'Asia/Macao' = 283,\n    'Asia/Macau' = 284,\n    'Asia/Magadan' = 285,\n    'Asia/Makassar' = 286,\n    'Asia/Manila' = 287,\n    'Asia/Muscat' = 288,\n    'Asia/Nicosia' = 289,\n    'Asia/Novokuznetsk' = 290,\n    'Asia/Novosibirsk' = 291,\n    'Asia/Omsk' = 292,\n    'Asia/Oral' = 293,\n    'Asia/Phnom_Penh' = 294,\n    'Asia/Pontianak' = 295,\n    'Asia/Pyongyang' = 296,\n    'Asia/Qatar' = 297,\n    'Asia/Qyzylorda' = 298,\n    'Asia/Rangoon' = 299,\n    'Asia/Riyadh' = 300,\n    'Asia/Saigon' = 301,\n    'Asia/Sakhalin' = 302,\n    'Asia/Samarkand' = 303,\n    'Asia/Seoul' = 304,\n    'Asia/Shanghai' = 305,\n    'Asia/Singapore' = 306,\n    'Asia/Srednekolymsk' = 307,\n    'Asia/Taipei' = 308,\n    'Asia/Tashkent' = 309,\n    'Asia/Tbilisi' = 310,\n    'Asia/Tehran' = 311,\n    'Asia/Tel_Aviv' = 312,\n    'Asia/Thimbu' = 313,\n    'Asia/Thimphu' = 314,\n    'Asia/Tokyo' = 315,\n    'Asia/Tomsk' = 316,\n    'Asia/Ujung_Pandang' = 317,\n    'Asia/Ulaanbaatar' = 318,\n    'Asia/Ulan_Bator' = 319,\n    'Asia/Urumqi' = 320,\n    'Asia/Ust-Nera' = 321,\n    'Asia/Vientiane' = 322,\n    'Asia/Vladivostok' = 323,\n    'Asia/Yakutsk' = 324,\n    'Asia/Yekaterinburg' = 325,\n    'Asia/Yerevan' = 326,\n    'Atlantic/Azores' = 327,\n    'Atlantic/Bermuda' = 328,\n    'Atlantic/Canary' = 329,\n    'Atlantic/Cape_Verde' = 330,\n    'Atlantic/Faeroe' = 331,\n    'Atlantic/Faroe' = 332,\n    'Atlantic/Jan_Mayen' = 333,\n    'Atlantic/Madeira' = 334,\n    'Atlantic/Reykjavik' = 335,\n    'Atlantic/South_Georgia' = 336,\n    'Atlantic/St_Helena' = 337,\n    'Atlantic/Stanley' = 338,\n    'Australia/ACT' = 339,\n    'Australia/Adelaide' = 340,\n    'Australia/Brisbane' = 341,\n    'Australia/Broken_Hill' = 342,\n    'Australia/Canberra' = 343,\n    'Australia/Currie' = 344,\n    'Australia/Darwin' = 345,\n    'Australia/Eucla' = 346,\n    'Australia/Hobart' = 347,\n    'Australia/LHI' = 348,\n    'Australia/Lindeman' = 349,\n    'Australia/Lord_Howe' = 350,\n    'Australia/Melbourne' = 351,\n    'Australia/NSW' = 352,\n    'Australia/North' = 353,\n    'Australia/Perth' = 354,\n    'Australia/Queensland' = 355,\n    'Australia/South' = 356,\n    'Australia/Sydney' = 357,\n    'Australia/Tasmania' = 358,\n    'Australia/Victoria' = 359,\n    'Australia/West' = 360,\n    'Australia/Yancowinna' = 361,\n    'Brazil/Acre' = 362,\n    'Brazil/DeNoronha' = 363,\n    'Brazil/East' = 364,\n    'Brazil/West' = 365,\n    CET = 366,\n    CST6CDT = 367,\n    'Canada/Atlantic' = 368,\n    'Canada/Central' = 369,\n    'Canada/East-Saskatchewan' = 370,\n    'Canada/Eastern' = 371,\n    'Canada/Mountain' = 372,\n    'Canada/Newfoundland' = 373,\n    'Canada/Pacific' = 374,\n    'Canada/Saskatchewan' = 375,\n    'Canada/Yukon' = 376,\n    'Chile/Continental' = 377,\n    'Chile/EasterIsland' = 378,\n    Cuba = 379,\n    EET = 380,\n    EST = 381,\n    EST5EDT = 382,\n    Egypt = 383,\n    Eire = 384,\n    'Etc/GMT' = 385,\n    'Etc/GMT+0' = 386,\n    'Etc/GMT+1' = 387,\n    'Etc/GMT+10' = 388,\n    'Etc/GMT+11' = 389,\n    'Etc/GMT+12' = 390,\n    'Etc/GMT+2' = 391,\n    'Etc/GMT+3' = 392,\n    'Etc/GMT+4' = 393,\n    'Etc/GMT+5' = 394,\n    'Etc/GMT+6' = 395,\n    'Etc/GMT+7' = 396,\n    'Etc/GMT+8' = 397,\n    'Etc/GMT+9' = 398,\n    'Etc/GMT-0' = 399,\n    'Etc/GMT-1' = 400,\n    'Etc/GMT-10' = 401,\n    'Etc/GMT-11' = 402,\n    'Etc/GMT-12' = 403,\n    'Etc/GMT-13' = 404,\n    'Etc/GMT-14' = 405,\n    'Etc/GMT-2' = 406,\n    'Etc/GMT-3' = 407,\n    'Etc/GMT-4' = 408,\n    'Etc/GMT-5' = 409,\n    'Etc/GMT-6' = 410,\n    'Etc/GMT-7' = 411,\n    'Etc/GMT-8' = 412,\n    'Etc/GMT-9' = 413,\n    'Etc/GMT0' = 414,\n    'Etc/Greenwich' = 415,\n    'Etc/UCT' = 416,\n    'Etc/UTC' = 417,\n    'Etc/Universal' = 418,\n    'Etc/Zulu' = 419,\n    'Europe/Amsterdam' = 420,\n    'Europe/Andorra' = 421,\n    'Europe/Astrakhan' = 422,\n    'Europe/Athens' = 423,\n    'Europe/Belfast' = 424,\n    'Europe/Belgrade' = 425,\n    'Europe/Berlin' = 426,\n    'Europe/Bratislava' = 427,\n    'Europe/Brussels' = 428,\n    'Europe/Bucharest' = 429,\n    'Europe/Budapest' = 430,\n    'Europe/Busingen' = 431,\n    'Europe/Chisinau' = 432,\n    'Europe/Copenhagen' = 433,\n    'Europe/Dublin' = 434,\n    'Europe/Gibraltar' = 435,\n    'Europe/Guernsey' = 436,\n    'Europe/Helsinki' = 437,\n    'Europe/Isle_of_Man' = 438,\n    'Europe/Istanbul' = 439,\n    'Europe/Jersey' = 440,\n    'Europe/Kaliningrad' = 441,\n    'Europe/Kiev' = 442,\n    'Europe/Kirov' = 443,\n    'Europe/Lisbon' = 444,\n    'Europe/Ljubljana' = 445,\n    'Europe/London' = 446,\n    'Europe/Luxembourg' = 447,\n    'Europe/Madrid' = 448,\n    'Europe/Malta' = 449,\n    'Europe/Mariehamn' = 450,\n    'Europe/Minsk' = 451,\n    'Europe/Monaco' = 452,\n    'Europe/Moscow' = 453,\n    'Europe/Nicosia' = 454,\n    'Europe/Oslo' = 455,\n    'Europe/Paris' = 456,\n    'Europe/Podgorica' = 457,\n    'Europe/Prague' = 458,\n    'Europe/Riga' = 459,\n    'Europe/Rome' = 460,\n    'Europe/Samara' = 461,\n    'Europe/San_Marino' = 462,\n    'Europe/Sarajevo' = 463,\n    'Europe/Simferopol' = 464,\n    'Europe/Skopje' = 465,\n    'Europe/Sofia' = 466,\n    'Europe/Stockholm' = 467,\n    'Europe/Tallinn' = 468,\n    'Europe/Tirane' = 469,\n    'Europe/Tiraspol' = 470,\n    'Europe/Ulyanovsk' = 471,\n    'Europe/Uzhgorod' = 472,\n    'Europe/Vaduz' = 473,\n    'Europe/Vatican' = 474,\n    'Europe/Vienna' = 475,\n    'Europe/Vilnius' = 476,\n    'Europe/Volgograd' = 477,\n    'Europe/Warsaw' = 478,\n    'Europe/Zagreb' = 479,\n    'Europe/Zaporozhye' = 480,\n    'Europe/Zurich' = 481,\n    GB = 482,\n    'GB-Eire' = 483,\n    GMT = 484,\n    'GMT+0' = 485,\n    'GMT-0' = 486,\n    GMT0 = 487,\n    Greenwich = 488,\n    HST = 489,\n    Hongkong = 490,\n    Iceland = 491,\n    'Indian/Antananarivo' = 492,\n    'Indian/Chagos' = 493,\n    'Indian/Christmas' = 494,\n    'Indian/Cocos' = 495,\n    'Indian/Comoro' = 496,\n    'Indian/Kerguelen' = 497,\n    'Indian/Mahe' = 498,\n    'Indian/Maldives' = 499,\n    'Indian/Mauritius' = 500,\n    'Indian/Mayotte' = 501,\n    'Indian/Reunion' = 502,\n    Iran = 503,\n    Israel = 504,\n    Jamaica = 505,\n    Japan = 506,\n    Kwajalein = 507,\n    Libya = 508,\n    MET = 509,\n    MST = 510,\n    MST7MDT = 511,\n    'Mexico/BajaNorte' = 512,\n    'Mexico/BajaSur' = 513,\n    'Mexico/General' = 514,\n    NZ = 515,\n    'NZ-CHAT' = 516,\n    Navajo = 517,\n    PRC = 518,\n    PST8PDT = 519,\n    'Pacific/Apia' = 520,\n    'Pacific/Auckland' = 521,\n    'Pacific/Bougainville' = 522,\n    'Pacific/Chatham' = 523,\n    'Pacific/Chuuk' = 524,\n    'Pacific/Easter' = 525,\n    'Pacific/Efate' = 526,\n    'Pacific/Enderbury' = 527,\n    'Pacific/Fakaofo' = 528,\n    'Pacific/Fiji' = 529,\n    'Pacific/Funafuti' = 530,\n    'Pacific/Galapagos' = 531,\n    'Pacific/Gambier' = 532,\n    'Pacific/Guadalcanal' = 533,\n    'Pacific/Guam' = 534,\n    'Pacific/Honolulu' = 535,\n    'Pacific/Johnston' = 536,\n    'Pacific/Kiritimati' = 537,\n    'Pacific/Kosrae' = 538,\n    'Pacific/Kwajalein' = 539,\n    'Pacific/Majuro' = 540,\n    'Pacific/Marquesas' = 541,\n    'Pacific/Midway' = 542,\n    'Pacific/Nauru' = 543,\n    'Pacific/Niue' = 544,\n    'Pacific/Norfolk' = 545,\n    'Pacific/Noumea' = 546,\n    'Pacific/Pago_Pago' = 547,\n    'Pacific/Palau' = 548,\n    'Pacific/Pitcairn' = 549,\n    'Pacific/Pohnpei' = 550,\n    'Pacific/Ponape' = 551,\n    'Pacific/Port_Moresby' = 552,\n    'Pacific/Rarotonga' = 553,\n    'Pacific/Saipan' = 554,\n    'Pacific/Samoa' = 555,\n    'Pacific/Tahiti' = 556,\n    'Pacific/Tarawa' = 557,\n    'Pacific/Tongatapu' = 558,\n    'Pacific/Truk' = 559,\n    'Pacific/Wake' = 560,\n    'Pacific/Wallis' = 561,\n    'Pacific/Yap' = 562,\n    Poland = 563,\n    Portugal = 564,\n    ROC = 565,\n    ROK = 566,\n    Singapore = 567,\n    Turkey = 568,\n    UCT = 569,\n    'US/Alaska' = 570,\n    'US/Aleutian' = 571,\n    'US/Arizona' = 572,\n    'US/Central' = 573,\n    'US/East-Indiana' = 574,\n    'US/Eastern' = 575,\n    'US/Hawaii' = 576,\n    'US/Indiana-Starke' = 577,\n    'US/Michigan' = 578,\n    'US/Mountain' = 579,\n    'US/Pacific' = 580,\n    'US/Pacific-New' = 581,\n    'US/Samoa' = 582,\n    UTC = 583,\n    Universal = 584,\n    'W-SU' = 585,\n    WET = 586,\n    Zulu = 587\n}\n\ntype TimezoneString = keyof typeof Timezone;\n\n// TODO just matching existing code but we actually do not need to do the parseInt piece of this - we already have it as a number. get rid of? needs QA though\nexport const timezoneFromWindow = (): Timezone => Timezone[window.GLOBAL_RETAILER_TIME_ZONE as TimezoneString];\n\nexport class DateTime {\n    public static now() : DateTime {\n        const dateTimeFormat = 'MM/DD/YYYY hh:mma z';   // MINUTE precision!!\n        let timezone : Timezone;\n        if (window.GLOBAL_RETAILER_TIME_ZONE) {\n            timezone = timezoneFromWindow();\n        } else {\n            timezone = Timezone.UTC;\n        }\n\n        return new DateTime({\n            format: dateTimeFormat,\n            timezone,\n            utcTime: moment().tz(Timezone[Timezone.UTC]).format(dateTimeFormat),\n        });\n    }\n\n    public utcTime : string;\n    public timezone : Timezone;\n    public format : string;\n\n    constructor(args : {\n        utcTime : string | CoreTimeModel.TimestampWithMillisecondPrecision;\n        timezone : Timezone;\n        format : string;\n    }) {\n        if (args.timezone === null || typeof Timezone[args.timezone] === 'undefined') {\n            throw new RuntimeException('Timezone does not exist');\n        }\n\n        this.timezone = args.timezone;\n        this.format = args.format;\n\n        if (args.utcTime instanceof CoreTimeModel.TimestampWithMillisecondPrecision) {\n            this.utcTime = moment.tz(numberUtils.ThriftInt64ToNumber(args.utcTime.timeSinceUnixEpoch.value), Timezone[Timezone.UTC]).format(this.format);\n        } else {\n            this.utcTime = args.utcTime;\n        }\n    }\n\n    public getValue(format? : string) : string {\n        // Moment.js is no longer in active development and so is no longer recommended to be used (https://momentjs.com/docs/#/-project-status/)\n        return moment.tz(this.utcTime, this.format, Timezone[Timezone.UTC]).tz(Timezone[this.timezone]).format(format || this.format);\n    }\n\n    public getValueInUTC(format? : string) : string {\n        return moment.tz(this.utcTime, this.format, Timezone[Timezone.UTC]).format(format || this.format);\n    }\n\n    public getValueInTimezone(timezone : Timezone, format? : string) : string {\n        return moment.tz(this.utcTime, this.format, Timezone[Timezone.UTC]).tz(Timezone[timezone]).format(format || this.format);\n    }\n\n    public toMilliseconds() : number {\n        return +moment.tz(this.utcTime, this.format, Timezone[Timezone.UTC]).tz(Timezone[this.timezone]);\n    }\n\n    public toTimestampWithMillisecondPrecision() : CoreTimeModel.TimestampWithMillisecondPrecision {\n        return new CoreTimeModel.TimestampWithMillisecondPrecision({\n            timeSinceUnixEpoch: new CoreTimeModel.Milliseconds({\n                value: this.toMilliseconds(),\n            }),\n        });\n    }\n\n    public toMoment() : moment.Moment {\n        return moment.tz(this.utcTime, this.format, Timezone[Timezone.UTC]).tz(Timezone[this.timezone]);\n    }\n}\n\nexport interface IDateRange {\n    startDateTime : DateTime;\n    endDateTime : DateTime;\n}\n","export enum DayOfWeekName {\n    'SUNDAY' = 0,\n    'MONDAY' = 1,\n    'TUESDAY' = 2,\n    'WEDNESDAY' = 3,\n    'THURSDAY' = 4,\n    'FRIDAY' = 5,\n    'SATURDAY' = 6,\n}\n","export enum EmailType {\n    ORDER_PLACED_NOTIFICATION,\n    SALES_REPORT_PROCESSED_NOTIFICATION,\n    STRIPE_CHARGE_NOTIFICATION,\n    RETAILER_DAILY_SUMMARY_EMAIL,\n    RETAILER_WEEKLY_SUMMARY_EMAIL,\n}\nexport type EmailTypeString = 'ORDER_PLACED_NOTIFICATION' | 'SALES_REPORT_PROCESSED_NOTIFICATION' | 'RETAILER_DAILY_SUMMARY_EMAIL' | 'STRIPE_CHARGE_NOTIFICATION' | 'RETAILER_WEEKLY_SUMMARY_EMAIL';\n\nexport enum SubscriptionState {\n    SUBSCRIPTION_NOT_PERMITTED,\n    SUBSCRIPTION_ON,\n    SUBSCRIPTION_OFF,\n}\nexport type SubscriptionStateString = 'SUBSCRIPTION_OFF' | 'SUBSCRIPTION_ON' | 'SUBSCRIPTION_NOT_PERMITTED';\n\nexport type ISubsriptionStateByEmailTypeString = {\n    [emailTypeString in EmailTypeString] : SubscriptionState;\n};\n\nexport enum DailySummaryEmailConfigurationOption {\n    INCLUDE_PRICE_SETTING,\n    INCLUDE_NEW_PRODUCT_ORDER,\n    INCLUDE_FINALIZED_INVENTORY_CHANGE,\n}\nexport type DailySummaryEmailConfigurationOptionString = 'INCLUDE_PRICE_SETTING' | 'INCLUDE_NEW_PRODUCT_ORDER' | 'INCLUDE_FINALIZED_INVENTORY_CHANGE';\nexport type IDailySummaryEmailConfiguration = {\n    [dailySummaryEmailConfigurationOptionString in DailySummaryEmailConfigurationOptionString] : boolean;\n};\n\nexport interface IUserRetailerEmailSubscriptionData {\n    subscriptionStateByEmailTypeString : ISubsriptionStateByEmailTypeString;\n    dailySummaryEmailConfiguration : IDailySummaryEmailConfiguration;    // Currently this is the only configurable subscription.\n}\n\nexport interface IUserRetailerEmailSubscriptionDisplayData {\n    retailerName : string;\n    subscriptionData : IUserRetailerEmailSubscriptionData;\n}\n\nexport interface IUserEmailSubscriptionDisplayDataByRetailerId {\n    [retailerId : string] : IUserRetailerEmailSubscriptionDisplayData;\n}\n","export enum GroupByOption {\n    ALL_ITEMS = 'ALL_ITEMS',\n    DISTRIBUTOR = 'DISTRIBUTOR',\n    CATEGORY = 'CATEGORY',\n    ITEM_TYPE = 'ITEM_TYPE',\n    LAST_EDITED = 'LAST_EDITED',\n    GL_CODE = 'GL_CODE',\n    MENU_GROUP = 'MENU_GROUP'\n}\n\nexport const ALL_ITEMS_GROUP_NAME = 'All Items';\n","export class HexColor {\n    public hexString : string;\n\n    constructor(hexString : string) {\n        // Hex Color must start with #, contain 6 following characters 0-9 or A-F\n        const regExp : RegExp = new RegExp('^#[0-9a-fA-F]{6}$');\n\n        const isValid : boolean = regExp.test(hexString);\n\n        if (!isValid) {\n            throw Error('invalid hex color code');\n        }\n\n        this.hexString = hexString;\n    }\n\n    public getValue() : string {\n        return this.hexString;\n    }\n}\n","import { Action, ActionCreator, ActionCreatorsMapObject, AnyAction, Reducer } from '@reduxjs/toolkit';\nimport { ThunkAction as ReduxThunkAction } from 'redux-thunk';\n\n// redux-thunk 2.4+ added a 4th type param (BasicAction). Default it to AnyAction\n// so existing code using ThunkAction<R, S, E> continues to work.\nexport type ThunkAction<R, S, E, A extends Action = AnyAction> = ReduxThunkAction<R, S, E, A>;\n\nimport { IErrorState } from './IErrorState';\nexport interface IAction extends AnyAction {\n    payload : {\n        // Not ideal but our legacy stuff depends on this payload being a black box that is the result of a reducer. \n        // we should really fix all the types in here (but also ideally just migrate to redux toolkit and stop using these at all)\n        // eslint-disable-next-line @typescript-eslint/no-explicit-any\n        [key : string] : any;\n    };\n}\n\nexport interface IEmptyAction extends IAction {\n    payload : object;\n}\n\nexport interface IEmptyActionCreator extends ActionCreator<IEmptyAction> {\n    () : IEmptyAction;\n}\n\nexport interface IFailureAction extends IAction {\n    payload : {\n        error : Error;\n    };\n}\n\nexport interface IFailureActionCreator extends ActionCreator<IFailureAction> {\n    (error : Error) : IFailureAction;\n}\n\nexport interface ISetErrorAction extends IAction {\n    payload : {\n        error : IErrorState | null;\n    };\n}\n\nexport interface ISetErrorActionCreator extends ActionCreator<ISetErrorAction> {\n    (error : IErrorState | null) : ISetErrorAction;\n}\n\nexport interface ISetShownAction extends IAction {\n    payload : {\n        isShown : boolean;\n    };\n}\n\nexport interface ISetShownActionCreator extends ActionCreator<ISetShownAction> {\n    (isShown : boolean) : ISetShownAction;\n}\n\nexport interface ISetStringAction extends IAction {\n    payload : {\n        value : string;\n    };\n}\n\nexport interface IActionCreatorsMapObject extends ActionCreatorsMapObject {\n  // not ideal but overloading the action creator map type when using thunks. newer versions of reduxjs/toolkit and redux-thunk do this better\n  // so when we upgrade that again can check if this doesn't need the any's anymore.\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  [key : string] : ActionCreator<IAction> | ActionCreator<ThunkAction<any, any, any, any>>;\n}\n\nconst BATCH_ACTION_TYPE = '_BATCHING_REDUCER_BATCH_ACTION_';\n\n// TODO Allow this to also take ThunkAction<any, any, any>\nexport function batchActions(actions : Array<IAction>) : IAction {\n        return {\n        type: BATCH_ACTION_TYPE,\n        payload: actions\n    };\n}\n\n// This is called in the Provider on all Reducers\nexport function enableBatching<T>(reducer : Reducer<T>) {\n    return function batchingReducer(state: T | undefined, action : Action) {\n        if (action && (action.type === BATCH_ACTION_TYPE)) {\n            const payload = (action as IAction).payload;\n            return payload.reduce(batchingReducer, state);\n        }\n\n        return reducer(state, action);\n    };\n}\n","export interface IInputLabel {\n    labelOrientation : LabelOrientation;\n    value : string | JSX.Element;\n}\n\nexport enum LabelOrientation {\n    LEFT,\n    RIGHT\n}\n","// import NumberGreaterThanMaxIntegerException from '../exceptions/NumberGreaterThanMaxIntegerException';\n// import NumberLessThanMinIntegerException from '../exceptions/NumberLessThanMinIntegerException';\n\nexport class Integer {\n    public readonly value : number;\n    constructor(value : number) {\n        const integerValue : number = Math.floor(value);\n\n        // if (integerValue > Number.MAX_SAFE_INTEGER) {\n        //     throw NumberGreaterThanMaxIntegerException;\n        // }\n\n        // if (integerValue < Number.MIN_SAFE_INTEGER) {\n        //     throw NumberLessThanMinIntegerException;\n        // }\n\n        this.value = integerValue;\n    }\n}\n","export enum IntegrationStatus {\n    UNCONNECTED,\n    CONNECTED,\n    NEEDS_ATTENTION,    // cannot access POS location with the saved connection information, either because the external pos location id is incorrect, or that user has not given (or has revoked) BevSpot's permission to access their POS\n}\n\n// should be kept in sync with integration_service/models/PosIntegrationType.py\n// and Integration/model/IntegrationType.ts\nexport type PosIntegrationType = 'breadcrumb' | 'toast' | 'lightspeed' | 'square' | 'omnivore' | 'clover' | 'kSeries' | 'spotOn' | 'heartland' | 'rSeries' | 'jonas';\n\nexport const stediTradingPartners = ['usfoods', 'sysco'];\nexport type StediTradingPartner = typeof stediTradingPartners[number];\nexport type VendorIntegrationType = 'fintech' | StediTradingPartner;\n\nexport type IntegrationType = PosIntegrationType | VendorIntegrationType;\n","import { IOption } from 'shared/components/Dropdown//DropdownMenu';\nimport { OptionsAndLabelNameTuples } from 'shared/components/Select2Dropdown/Select2DropdownMenu';\n\nimport { Timezone } from 'shared/models/DateTime';\n// TODO later: move Timezone from DateTime to here, and make it a string enum\n\n// Standard used by moment.isoWeekday()\n// https://en.wikipedia.org/wiki/ISO_week_date\nexport enum ISODayOfWeek {\n    MONDAY = 1,\n    TUESDAY = 2,\n    WEDNESDAY = 3,\n    THURSDAY = 4,\n    FRIDAY = 5,\n    SATURDAY = 6,\n    SUNDAY = 7,\n}\n\nconst TIMEZONE_DROPDOWN_OPTIONS : OptionsAndLabelNameTuples = [];\nexport const getSupportedTimezoneOptionsForSelect2Dropdown = () : OptionsAndLabelNameTuples => {\n    if (TIMEZONE_DROPDOWN_OPTIONS.length > 0) {\n        return TIMEZONE_DROPDOWN_OPTIONS;\n    }\n\n    const timezoneOptions : Array<IOption> = [];\n    Object.keys(Timezone).forEach((timezoneEnumValue : string) => {\n        const timezoneEnum = parseInt(timezoneEnumValue, 10);\n        if (!isNaN(timezoneEnum)) { // when doing object.keys with a number enum, TypeScript compiles enums to a JS object with the enum values being members of the object (so need to ignore those)\n            const timezoneLabel = Timezone[timezoneEnum].replace(/[_]/g, ' '); // moment uses underscores instead of spaces, make this more readable on the label\n            timezoneOptions.push({\n                value: Timezone[timezoneEnum],\n                label: timezoneLabel,\n                icon: null,\n            });\n        }\n    });\n    TIMEZONE_DROPDOWN_OPTIONS[0] = [null, timezoneOptions];\n    return TIMEZONE_DROPDOWN_OPTIONS;\n};\n","export enum SortDirection {\n    ASCENDING = 1,\n    DESCENDING = -1,\n}\n","export enum SvgPattern {\n    'SOLID' = 0,\n    'DIAGONAL_STRIPE_TOP_RIGHT_BOTTOM_LEFT_SMALL' = 1,\n}\n","import { getCurrencySymbol } from 'shared/models/Currency';\nimport { numberUtils } from './numberUtils';\n\nexport const FormatMonetaryValue = (value : number, currencySymbol? : string) : string => {\n    const absoluteValue = Math.abs(value);\n    const symbol = typeof currencySymbol === 'undefined' ? getCurrencySymbol() : currencySymbol;\n    return (value < 0 ? '-' : '') + (symbol + numberUtils.ToFixed(absoluteValue, 0).replace(/(\\d)(?=(\\d{3})+(\\.|$))/g, '$1,').toString());\n};\n\nexport const FormatMonetaryValueWithCents = (value : number | null, currencySymbol? : string, decimalRoundedTo? : number) : string => {\n    if (value === null) {\n        return '-';\n    }\n    const decimal = typeof decimalRoundedTo === 'undefined' ? 2 : decimalRoundedTo;\n\n    const absoluteValue = numberUtils.ToFixed(Math.abs(value), decimal);\n    const symbol = typeof currencySymbol === 'undefined' ? getCurrencySymbol() : currencySymbol;\n    return (value < 0 ? '-' : '') + (symbol + absoluteValue.replace(/(\\d)(?=(\\d{3})+(\\.|$))/g, '$1,').toString());\n};\n\nexport const FormatPrice = (value : number, currencySymbol? : string) : string => {\n    const symbol = typeof currencySymbol === 'undefined' ? getCurrencySymbol() : currencySymbol;\n    return value === null ? '-' : (symbol + numberUtils.ToFixed(value, 2));\n};\n\nexport const FormatDollarValue = (dollarValue : number, currencySymbol? : string) : string => {\n    const symbol = typeof currencySymbol === 'undefined' ? getCurrencySymbol() : currencySymbol;\n    if (dollarValue < 1) {\n        return symbol + numberUtils.ToFixed(dollarValue, 2);\n    }\n\n    return FormatMonetaryValue(dollarValue);\n};\n","import { cookieManager, userSessionManager } from 'shared/lib/manager';\nimport { USER_SESSION_COOKIE_NAME } from 'shared/lib/cookie/impl/CookieManagerImpl';\n\nexport interface IRestApiRejection<T = unknown> {\n    message : string;\n    status : number;\n    xhr : XMLHttpRequest;\n    error : Error | null;\n    type : string | null;\n    content : T | null;\n}\n\nexport type QueryObject =  Record<string, string | number | boolean>;\n\nconst buildQueryString = (queryObject : QueryObject | FormData | undefined) => {\n    const queryParameters : Array<string> = [];\n    let queryString = '';\n    if (queryObject) {\n        Object.entries(queryObject).forEach(([key, value]) => {\n            queryParameters.push(key + '=' + encodeURIComponent(value));\n        });\n    }\n\n    if (queryParameters.length > 0) {\n        queryString = '?' + queryParameters.join('&');\n    }\n    return queryString;\n};\n\n// the request succeeded but the body reports { success: false }\nconst handleUnsuccessfulResponse = (reject : (reason : unknown) => void, xhr : XMLHttpRequest, responseJSON : { error? : unknown }) : void => {\n    if (responseJSON.error === 'user_required') {\n        void userSessionManager.terminateSession();\n        window.location.reload();\n        return;\n    }\n    return reject({\n        message: 'Request failed',\n        status: xhr.status,\n        xhr,\n        error: responseJSON,\n        type: null,\n        content: null,\n    });\n};\n\nconst handleXhrOnLoad = <T>(resolve : (value : T) => void, reject : (reason : unknown) => void, xhr : XMLHttpRequest) : void => {\n    if (xhr.readyState === 4 && (xhr.status === 200 || xhr.status === 204)) {\n        if (xhr.responseType === '' && xhr.responseText === '') {\n            return resolve(undefined as T); // TODO should we be more type safe, and if undefined isn't valid to match T we error?\n        }\n        if (xhr.responseType === 'text') {\n            return resolve(xhr.response);\n        }\n        try {\n            const responseJSON = JSON.parse(xhr.response);\n\n            if (typeof(responseJSON.success) !== 'undefined' && !responseJSON.success) {\n                return handleUnsuccessfulResponse(reject, xhr, responseJSON);\n            }\n\n            return resolve(responseJSON);\n        } catch (err) {\n            const e = err as Error;\n            const rejection : IRestApiRejection = {\n                message: e.message,\n                status: xhr.status,\n                xhr,\n                error: e,\n                type: null,\n                content: null,\n            };\n            // eslint-disable-next-line no-console\n            console.error('Failed to parse response', xhr);\n            return reject(rejection);\n        }\n    } else {\n        return handleXhrOnLoadCaughtException(reject, xhr);\n    }\n};\n\nconst handleXhrOnLoadCaughtException = (reject : (reason : unknown) => void, xhr : XMLHttpRequest) : void => {\n    if (xhr.status === 401) {\n        void userSessionManager.terminateSession();\n        window.location.reload();\n    }\n\n    // Distinguish JSON error bodies from plain-text ones by the server's Content-Type header.\n    // Only JSON error bodies carry `exception_type`/`content`; plain-text bodies become the message.\n    const contentType = xhr.getResponseHeader('Content-Type') || '';\n    if (!contentType.includes('application/json')) {\n        const rejection : IRestApiRejection = {\n            message: xhr.responseText || xhr.statusText,\n            status: xhr.status,\n            xhr,\n            error: null,\n            type: null,\n            content: null,\n        };\n        return reject(rejection);\n    }\n    try {\n        const responseJSON = JSON.parse(xhr.response);\n\n        const rejection : IRestApiRejection = {\n            message: responseJSON.message || xhr.statusText,\n            status: xhr.status,\n            xhr,\n            error: null,\n            type: responseJSON.exception_type,\n            content: responseJSON.content,\n        };\n        return reject(rejection);\n    } catch (err) {\n        const e = err as Error;\n        const rejection : IRestApiRejection = {\n            message: e.message,\n            status: xhr.status,\n            xhr,\n            error: e,\n            type: null,\n            content: null,\n        };\n        // eslint-disable-next-line no-console\n        console.error('Failed to parse response', xhr);\n        return reject(rejection);\n    }\n};\n\n// TODO Feb 2025: should migrate all uses of AjaxUtils to put the expected response type in the call like\n// const response = await AjaxUtils.ajaxGet<{ productId: string }>();\n// until then, do T = any to default to very permissive (bad) typing behavior\nexport const AjaxUtils = {\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    ajaxGet<T = any>(url : string, queryObject? : QueryObject | FormData) : Promise<T> {\n        return new Promise<T>((resolve, reject) => {\n            const xhr = new XMLHttpRequest();\n            // TODO we no longer support IE11, can we remove the cache busting arg?\n            const cacheBustingQueryObject = (queryObject || {}); // IE 11 caches GET requests\n            if (!(cacheBustingQueryObject instanceof FormData)) {\n                cacheBustingQueryObject._cache_busting_arg_ = +new Date(); // this parameter name must be in the backend's excluded parameter set (see api_utils.py)\n            }\n\n            xhr.open('GET', url + buildQueryString(cacheBustingQueryObject));\n\n            const authToken = cookieManager.getCookie(USER_SESSION_COOKIE_NAME);\n            xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n\n            xhr.withCredentials = true;\n            xhr.onload = () => {\n                if (xhr.readyState === 4 && xhr.status === 200) {\n                    try {\n                        const responseJSON = JSON.parse(xhr.response);\n                        if (typeof(responseJSON.success) !== 'undefined' && !responseJSON.success) {\n                            return handleUnsuccessfulResponse(reject, xhr, responseJSON);\n                        }\n                        return resolve(responseJSON);\n                    } catch (err) {\n                        const e = err as Error;\n                        const rejection : IRestApiRejection = {\n                            message: e.message,\n                            status: xhr.status,\n                            xhr,\n                            error: e,\n                            type: null,\n                            content: null,\n                        };\n                        // eslint-disable-next-line no-console\n                        console.error('Failure to parse response', xhr);\n                        return reject(rejection);\n                    }\n                } else {\n                    return handleXhrOnLoadCaughtException(reject, xhr);\n                }\n            };\n            xhr.onerror = (e) => {\n                return handleXhrOnLoadCaughtException(reject, xhr);\n            };\n            xhr.send();\n        });\n    },\n\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    ajaxPost<T = any>(url : string, postBody : unknown, queryObject? : QueryObject, type? : 'text' | 'json') : Promise<T> {\n        return new Promise<T>((resolve, reject) => {\n            const xhr = new XMLHttpRequest();\n            xhr.open('POST', url + buildQueryString(queryObject));\n            xhr.withCredentials = true;\n            xhr.setRequestHeader('Content-Type', 'application/json');\n            xhr.setRequestHeader('X-CSRFToken', window.CSRF_TOKEN);\n\n            const authToken = cookieManager.getCookie(USER_SESSION_COOKIE_NAME);\n            xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n\n            xhr.onload = () => {\n                if (xhr.readyState === 4 && (xhr.status === 200 || xhr.status === 201)) {\n                    if (type === 'text') {\n                        return resolve(xhr.response);\n                    }\n\n                    try {\n                        const responseJSON = JSON.parse(xhr.response);\n                        if (typeof(responseJSON.success) !== 'undefined' && !responseJSON.success) {\n                            return handleUnsuccessfulResponse(reject, xhr, responseJSON);\n                        }\n                        return resolve(responseJSON);\n                    } catch (err) {\n                        const e = err as Error;\n                        const rejection : IRestApiRejection = {\n                            message: e.message,\n                            status: xhr.status,\n                            xhr,\n                            error: e,\n                            type: null,\n                            content: null,\n                        };\n                        // eslint-disable-next-line no-console\n                        console.error('Failure to parse response', xhr);\n                        return reject(rejection);\n                    }\n                } else {\n                    return handleXhrOnLoadCaughtException(reject, xhr);\n                }\n            };\n            xhr.onerror = (e) => {\n                return handleXhrOnLoadCaughtException(reject, xhr);\n            };\n            xhr.send(JSON.stringify(postBody || undefined));\n        });\n    },\n\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    ajaxPostForm<T = any>(url : string, formData? : FormData, queryObject? : QueryObject, isAuthenticated : boolean = true) : Promise<T> {\n        // Lesman 4/24/2017\n        // NOTE: you do not set the Content-Type on this request,\n        // the browser will automatically encode the form data and\n        // set the appropriate Content-Type. The encoding is browser\n        // specific so you MUST allow the browser to set the header\n        return new Promise<T>((resolve, reject) => {\n            const xhr = new XMLHttpRequest();\n            xhr.open('POST', url + buildQueryString(queryObject));\n            xhr.withCredentials = true;\n            xhr.setRequestHeader('X-CSRFToken', window.CSRF_TOKEN);\n\n            if (isAuthenticated) {\n                const authToken = cookieManager.getCookie(USER_SESSION_COOKIE_NAME);\n                xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n            }\n\n            xhr.onload = () => handleXhrOnLoad(resolve, reject, xhr); // TODO Cheezy why doesn't this check readyState and status??\n            xhr.onerror = (e) => {\n                return handleXhrOnLoadCaughtException(reject, xhr);\n            };\n            xhr.send(formData);\n        });\n    },\n\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    ajaxPut<T = any>(url : string, postBody : unknown, queryObject? : QueryObject) : Promise<T> {\n        return new Promise<T>((resolve, reject) => {\n            const xhr = new XMLHttpRequest();\n            xhr.open('PUT', url + buildQueryString(queryObject));\n            xhr.withCredentials = true;\n            xhr.setRequestHeader('Content-Type', 'application/json');\n            xhr.setRequestHeader('X-CSRFToken', window.CSRF_TOKEN);\n\n            const authToken = cookieManager.getCookie(USER_SESSION_COOKIE_NAME);\n            xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n\n            xhr.onload = () => handleXhrOnLoad(resolve, reject, xhr);\n            xhr.onerror = (e) => {\n                return handleXhrOnLoadCaughtException(reject, xhr);\n            };\n            xhr.send(JSON.stringify(postBody || undefined));\n        });\n    },\n\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    ajaxDelete<T = any>(url : string, queryObject? : QueryObject, body? : unknown) : Promise<T> {\n        return new Promise<T>((resolve, reject) => {\n            const xhr = new XMLHttpRequest();\n            xhr.open('DELETE', url + buildQueryString(queryObject));\n            xhr.withCredentials = true;\n            xhr.setRequestHeader('X-CSRFToken', window.CSRF_TOKEN);\n            const authToken = cookieManager.getCookie(USER_SESSION_COOKIE_NAME);\n            xhr.setRequestHeader('Authorization', 'Bearer ' + authToken);\n\n            xhr.onload = () => handleXhrOnLoad(resolve, reject, xhr);\n            xhr.onerror = (e) => {\n                return handleXhrOnLoadCaughtException(reject, xhr);\n            };\n            xhr.send(JSON.stringify(body || undefined));\n        });\n    },\n};\n","/**\n * Paths to pages elsewhere in the app.\n *\n * Retailer- and group-scoped Django views take their id as a trailing `/r/<id>/` or `/g/<id>/`\n * segment rather than a query parameter. RetailerMiddleware strips that segment off before routing,\n * so it never appears in the URLconf -- see middleware/retailer_middleware.py.\n */\n\n/** Pages that differ only in their path, and all take the retailer the same way. */\nconst RETAILER_SCOPED_PATHS = {\n    dashboard: '/account/dashboard/',\n    manageRetailer: '/admin_tools/manage/retailer/',\n    integrations: '/account/integrations/',\n} as const;\n\n/** The same, for pages scoped to a group instead. */\nconst GROUP_SCOPED_PATHS = {\n    manageGroup: '/admin_tools/manage/group/',\n} as const;\n\nexport const AppUrls = {\n    retailerPath: (page : keyof typeof RETAILER_SCOPED_PATHS, retailerId : string) : string =>\n        `${ RETAILER_SCOPED_PATHS[page] }r/${ retailerId }/`,\n\n    groupPath: (page : keyof typeof GROUP_SCOPED_PATHS, groupId : string) : string =>\n        `${ GROUP_SCOPED_PATHS[page] }g/${ groupId }/`,\n\n    adminManageUser: (userId : string) : string => `/admin_tools/manage/user/${ userId }/`,\n\n    adminInventoryItemsExport: (retailerId : string) : string =>\n        `/admin_tools/manage/inventory_items_export/?retailer_id=${ retailerId }`,\n\n    adminVendorsExport: (retailerId : string) : string =>\n        `/admin_tools/manage/distributor_export/?retailer_id=${ retailerId }`,\n\n    salesItemDetail: (retailerId : string, salesItemId : string) : string =>\n        `/sales/items/sales_item_manager/r/${ retailerId }/?sales_item_id=${ salesItemId }`,\n\n    inventoryDetail: (retailerId : string, inventoryId : string) : string =>\n        `/inventory/detail/view/${ inventoryId }/r/${ retailerId }/`,\n\n    usageReport: (retailerId : string, startInventoryId : string, endInventoryId : string) : string =>\n        `/inventory/usage_report/r/${ retailerId }/?start_inventory_id=${ startInventoryId }&end_inventory_id=${ endInventoryId }`,\n\n    /**\n     * OrderManager routes this client-side, and puts the retailer segment before the order rather\n     * than at the end. The `#/order/<id>` form most of the app still builds only lands on\n     * LegacyOrderDetailHashRedirect, which bounces to this -- see apps/OrderManager/index.tsx.\n     */\n    orderDetail: (retailerId : string, deliveryId : string) : string =>\n        `/ordering/record/detail/r/${ retailerId }/order/${ deliveryId }`,\n};\n","import moment from 'moment-timezone';\n\nconst getIsDateWithinDataHistoryLimit = (date : moment.Moment) : boolean => {\n    return window.GLOBAL_RETAILER_DATA_HISTORY_LIMIT_IN_DAYS === null ? true : moment.utc().diff(date, 'days') <= window.GLOBAL_RETAILER_DATA_HISTORY_LIMIT_IN_DAYS;\n};\n\nconst getOldestAllowedDateForDataHistoryLimit = () : moment.Moment | null => {\n    return window.GLOBAL_RETAILER_DATA_HISTORY_LIMIT_IN_DAYS === null ? null : moment.utc().subtract(window.GLOBAL_RETAILER_DATA_HISTORY_LIMIT_IN_DAYS, 'days');\n};\n\nexport const DataHistoryLimitUtils = {\n    getIsDateWithinDataHistoryLimit,\n    getOldestAllowedDateForDataHistoryLimit,\n};\n","import CoreTimeModel from 'gen-thrift/core_time_Model_types';\n\nimport moment from 'moment-timezone';\n\nimport { DateTime, IDateRange, Timezone } from 'shared/models/DateTime';\n\nexport const getDateTimeFromMoment = (momentValue : moment.Moment, timezone : Timezone) => {\n    const dateTimeFormat = 'MM/DD/YYYY hh:mma z';   // MINUTE precision!!\n    return new DateTime({\n        format: dateTimeFormat,\n        timezone,\n        utcTime: momentValue.clone().utc().format(dateTimeFormat),\n    });\n};\n\nexport const getDateTimeFromTimestamp = (timestamp : CoreTimeModel.TimestampWithMillisecondPrecision, timezone : Timezone) => {\n    return new DateTime({\n        format: 'YYYY-MM-DD HH:mm:ss',\n        timezone,\n        utcTime: timestamp,\n    });\n};\n\nexport const getDateTimeFromISOFormatDateTimeString = (isoformattedDateTimeString : string, timezone : Timezone) : DateTime => {\n    return new DateTime({\n        format : 'YYYY-MM-DDTHH:mm:ssZ',\n        timezone,\n        utcTime : isoformattedDateTimeString,\n    });\n};\n\nexport const getTimezoneFromString = (timezoneString : string) : Timezone => {\n    return Timezone[timezoneString as keyof typeof Timezone];\n};\n\nexport const compareDateTimes = (dateTime0 : DateTime, dateTime1 : DateTime) : number => {\n    return dateTime0.toMilliseconds() > dateTime1.toMilliseconds() ? 1 : dateTime0.toMilliseconds() < dateTime1.toMilliseconds() ? -1 : 0;\n};\n\nexport const startDateIsEarilierThanEndDate = (startDate : DateTime, endDate : DateTime) : boolean => {\n    return compareDateTimes(startDate, endDate) < 0;\n};\n\n// 2017/07/26 Minshu Zhan: When needed, generalize this method to take days/weeks as arguments as well.\n// TODO: use this in order history?\nexport const getInclusiveDateRangeForLastNMonths = (now : moment.Moment, timezoneString : string, months : number) : IDateRange => {\n    const timeZone = getTimezoneFromString(timezoneString);\n    return {\n        endDateTime : getDateTimeFromMoment(now.clone().tz(timezoneString).endOf('day'), timeZone),\n        startDateTime : getDateTimeFromMoment(now.clone().tz(timezoneString).subtract(months, 'month').startOf('day').add(1, 'day'), timeZone),\n    };\n};\n","import CoreMathModel from 'gen-thrift/core_math_Model_types';\n\nimport { Integer } from '../models/Integer';\n\nexport const decimalToNumber = (decimal : CoreMathModel.Decimal) : number => {\n    return numTimes10ToTheExponentExact(cleanThriftNumber(decimal.value), new Integer(-decimal.scale));\n};\n\n// It's questionable that we even attempt to convert a calculated value into a decimal.\n// This is highly likely result of inappropriate modeling where the value should be represented as a float to begin with.\nexport const numberToDecimal = (v : number) => {\n    return numberStringToDecimal(v.toString());\n};\n\n// Requires passing appropriate scale to avoid accidental rounding.\nexport const numberToDecimalRoundingDown = (num : number, scale : Integer) : CoreMathModel.Decimal => {\n    const value : number = new Integer(numTimes10ToTheExponentExact(num, scale)).value;\n    return new CoreMathModel.Decimal({\n        scale: scale.value,\n        value,\n    });\n};\n\nexport const decimalToNumberString = (decimal : CoreMathModel.Decimal) : string => {\n    return numTimes10ToTheExponentExact(cleanThriftNumber(decimal.value), new Integer(-decimal.scale)).toFixed(decimal.scale);\n};\n\nexport const numberStringToDecimal = (numberString : string) : CoreMathModel.Decimal => {\n    const decimalDigits = numberString.split('.')[1];\n    const decimalScale = new Integer(decimalDigits ? decimalDigits.length : 0);\n\n    return numberToDecimalRoundingDown(parseFloat(numberString), decimalScale);\n};\n\nconst isEqual = (decimal1 : CoreMathModel.Decimal, decimal2 : CoreMathModel.Decimal) : boolean => {\n    return decimalToNumberString(decimal1) === decimalToNumberString(decimal2);\n};\n\n// used to avoid floating point errors\nconst numTimes10ToTheExponentExact = (num : number, exponent : Integer) : number => {\n    const splitNum = num.toString().split('.');\n\n    const leftOfDecimalPoint = splitNum[0];\n    const rightOfDecimalPoint = splitNum[1] || '';\n    let result = '';\n\n    // Move decimal point to the right if positive and to the left if negative\n    if (exponent.value >= 0) {\n        const numberOfZerosToAppend = exponent.value - rightOfDecimalPoint.length;\n        if (numberOfZerosToAppend > 0) {\n            result = leftOfDecimalPoint + rightOfDecimalPoint + '0'.repeat(numberOfZerosToAppend);\n        } else {\n            result = leftOfDecimalPoint + rightOfDecimalPoint.substring(0, exponent.value) + '.' + rightOfDecimalPoint.substring(exponent.value, rightOfDecimalPoint.length);\n        }\n    } else {\n        const numberOfZerosAtFront = -exponent.value - leftOfDecimalPoint.length;\n        if (numberOfZerosAtFront > 0) {\n            result = '.' + '0'.repeat(numberOfZerosAtFront) + leftOfDecimalPoint + rightOfDecimalPoint;\n        } else {\n            result = leftOfDecimalPoint.substring(0, exponent.value + leftOfDecimalPoint.length) + '.' + leftOfDecimalPoint.substring(exponent.value + leftOfDecimalPoint.length, leftOfDecimalPoint.length) + rightOfDecimalPoint;\n        }\n    }\n\n    // If empty string after division, return 0.\n    return parseFloat(result) || 0;\n};\n\nconst cleanThriftNumber = (value : CoreMathModel.Decimal[\"value\"] | number) : number => {\n    // Thrift Decimal.value is sometimes number, sometimes Int64 from node-int64(probably when > Number.MAX_SAFE_INT)\n    if (typeof value === 'number') return value;\n    return value.toNumber(true)\n};\n\nexport const decimalUtils = {\n    isEqual,\n    decimalToNumber,\n    numberToDecimal,\n    numberToDecimalRoundingDown,\n    decimalToNumberString,\n    numberStringToDecimal\n};\n","import { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport {\n    IUserRetailerEmailSubscriptionData,\n    SubscriptionState,\n    SubscriptionStateString,\n} from 'shared/models/EmailSubscription';\nimport { MongoDataInterfaces } from 'shared/models/LegacyDataInterfaces';\n\n/** Mongo's key names to the model. The daily configuration is null when the user is not subscribed. */\nexport function getEmailSubscriptionDataFromLegacy(\n    legacyData : MongoDataInterfaces.IUserRetailerEmailSubscriptionData,\n) : IUserRetailerEmailSubscriptionData {\n    const {\n        retailer_daily_summary_email_configuration,\n        subscription_state_by_email_type,\n    } = legacyData;\n\n    let dailySummaryEmailConfiguration;\n    if (retailer_daily_summary_email_configuration === null) {\n        dailySummaryEmailConfiguration = {\n            INCLUDE_FINALIZED_INVENTORY_CHANGE: false,\n            INCLUDE_NEW_PRODUCT_ORDER: false,\n            INCLUDE_PRICE_SETTING: false,\n        };\n    } else {\n        dailySummaryEmailConfiguration = {\n            INCLUDE_FINALIZED_INVENTORY_CHANGE: retailer_daily_summary_email_configuration.finalized_inventory_adjustment,\n            INCLUDE_NEW_PRODUCT_ORDER: retailer_daily_summary_email_configuration.product_ordered_not_in_inventory,\n            INCLUDE_PRICE_SETTING: retailer_daily_summary_email_configuration.price_setting,\n        };\n    }\n\n    const {\n        daily_summary,\n        weekly_summary,\n        order_placed_notification,\n        sales_report_processed_notification,\n        stripe_charge,\n    } = subscription_state_by_email_type;\n\n    return {\n        subscriptionStateByEmailTypeString: {\n            RETAILER_DAILY_SUMMARY_EMAIL: SubscriptionState[daily_summary],\n            RETAILER_WEEKLY_SUMMARY_EMAIL: SubscriptionState[weekly_summary],\n            ORDER_PLACED_NOTIFICATION: SubscriptionState[order_placed_notification],\n            SALES_REPORT_PROCESSED_NOTIFICATION: SubscriptionState[sales_report_processed_notification],\n            STRIPE_CHARGE_NOTIFICATION: SubscriptionState[stripe_charge],\n        },\n        dailySummaryEmailConfiguration,\n    };\n}\n\n/** The model back to Mongo's key names, as both subscription endpoints take it. */\nexport function getLegacyEmailSubscriptionData(\n    subscriptions : IUserRetailerEmailSubscriptionData,\n) : MongoDataInterfaces.IUserRetailerEmailSubscriptionData {\n    const {\n        RETAILER_DAILY_SUMMARY_EMAIL,\n        RETAILER_WEEKLY_SUMMARY_EMAIL,\n        ORDER_PLACED_NOTIFICATION,\n        SALES_REPORT_PROCESSED_NOTIFICATION,\n        STRIPE_CHARGE_NOTIFICATION,\n    } = subscriptions.subscriptionStateByEmailTypeString;\n    const {\n        INCLUDE_FINALIZED_INVENTORY_CHANGE,\n        INCLUDE_NEW_PRODUCT_ORDER,\n        INCLUDE_PRICE_SETTING,\n    } = subscriptions.dailySummaryEmailConfiguration;\n\n    let legacyRetailerDailySummaryEmailConfiguration;\n    if (RETAILER_DAILY_SUMMARY_EMAIL !== SubscriptionState.SUBSCRIPTION_ON) {\n        // Fixed on extraction: this read INCLUDE_FINALIZED_INVENTORY_CHANGE twice and never checked\n        // INCLUDE_NEW_PRODUCT_ORDER, so that option alone could reach the endpoint, which rejects it.\n        if (INCLUDE_FINALIZED_INVENTORY_CHANGE || INCLUDE_NEW_PRODUCT_ORDER || INCLUDE_PRICE_SETTING) {\n            throw new RuntimeException('expected found checked configuration option on when not subscribing to retailer daily email');\n        }\n        legacyRetailerDailySummaryEmailConfiguration = null;\n    } else {\n        legacyRetailerDailySummaryEmailConfiguration = {\n            finalized_inventory_adjustment: INCLUDE_FINALIZED_INVENTORY_CHANGE,\n            product_ordered_not_in_inventory: INCLUDE_NEW_PRODUCT_ORDER,\n            price_setting: INCLUDE_PRICE_SETTING,\n        };\n    }\n\n    return {\n        subscription_state_by_email_type: {\n            daily_summary: SubscriptionState[RETAILER_DAILY_SUMMARY_EMAIL] as SubscriptionStateString,\n            weekly_summary: SubscriptionState[RETAILER_WEEKLY_SUMMARY_EMAIL] as SubscriptionStateString,\n            order_placed_notification: SubscriptionState[ORDER_PLACED_NOTIFICATION] as SubscriptionStateString,\n            sales_report_processed_notification: SubscriptionState[SALES_REPORT_PROCESSED_NOTIFICATION] as SubscriptionStateString,\n            stripe_charge: SubscriptionState[STRIPE_CHARGE_NOTIFICATION] as SubscriptionStateString,\n        },\n        retailer_daily_summary_email_configuration: legacyRetailerDailySummaryEmailConfiguration,\n    };\n}\n","import * as moment from 'moment-timezone';\nimport { getCurrencySymbol } from 'shared/models/Currency';\nimport type * as XLSX from 'xlsx';\nimport type { BookType, WorkBook } from 'xlsx/types';\n\n// xlsx is large enough to dominate the shared bundle, so it is fetched on demand instead of\n// being imported at module scope. Every helper that touches a workbook awaits it; the import\n// is cached, so only the first call pays for the fetch.\nlet loadedXlsx : typeof import('xlsx') | null = null;\n\nexport const loadXlsx = async () : Promise<typeof import('xlsx')> => {\n    if (loadedXlsx === null) {\n        loadedXlsx = await import('xlsx');\n    }\n    return loadedXlsx;\n};\n\nconst MAX_SHEET_NAME_LENGTH = 31;   // https://www.ibm.com/support/pages/max-length-sheet-name-31\n\n// future work: if mobile ios starts supporting a.download, we will not need to do this check\nconst canDownloadFile = () : boolean => {\n    // based off of implementation of write_dl() in xlsx.js -- these are the checks they use\n    // typescript no longer supports msSaveBlob on navigator but it is required in IE11 // TODO can we stop supporting IE11?\n    if (typeof navigator !== 'undefined' && (navigator as unknown as Record<string, unknown>).msSaveBlob) { // IE 11 does not support a.download, but does use msSaveBlob\n        return true;\n    } else if (typeof URL !== 'undefined' && typeof document !== 'undefined' && document.createElement) {\n        const a = document.createElement('a');\n        if (typeof a.download !== 'undefined' && a.download !== null) { // mobile ios has not implemented a.download which prevents the export from working correctly\n            return true;\n        }\n    }\n    return false;\n};\n\n// adapted from https://github.com/SheetJS/js-xlsx/blob/master/README.md\n// TODO can we just add this to the typings instead of re-defining? this is just what's in XLSX\nconst s2ab = (s : string) => { // string to array buffer\n    const buf = new ArrayBuffer(s.length);\n    const view = new Uint8Array(buf);\n    for (let i = 0; i !== s.length; ++i) {\n        // eslint-disable-next-line no-bitwise\n        view[i] = s.charCodeAt(i) & 0xFF;\n    }\n    return buf;\n};\n\n// iOS solution adapted in part from write_dl() in xlsx.js & many workarounds via the internet\nconst writeWorkBookToFile = async (workBook : WorkBook, fileName : string, bookType : BookType) => {\n    const xlsx = await loadXlsx();\n    const canDownloadFileNormally = canDownloadFile();\n\n    if (canDownloadFileNormally) {\n        xlsx.writeFile(workBook, fileName, { bookType });\n    } else { // iOS does not support a.download, so we need to create a plain link\n        const wbout = xlsx.write(workBook, { type: 'binary', bookType: 'xlsx' });\n\n        if (typeof Blob !== 'undefined') { // Blob is supported in iOS so this works\n            const blob = new Blob([s2ab(wbout)], {\n                type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' // if we wanted to support csv we can switch the type based on bookType\n            });\n\n            if (window.navigator.userAgent.match('CriOS')) { // Chrome iOS does not like opening an object URL for some reason. But Safari iOS does not like this solution\n                const reader = new FileReader();\n                reader.onloadend = () => {\n                    const result = reader.result;\n                    if (typeof result !== 'string') {\n                        throw new Error('data url result unexpectedly null in iOS chrome ');\n                    }\n                    window.open(result);\n                };\n                reader.readAsDataURL(blob);\n            } else {\n                const href = URL.createObjectURL(blob);\n                window.open(href, '_self'); // IMPORTANT: this does not work on iOS if you use target=_blank\n            }\n        }\n    }\n};\n\nexport class CellFormat {\n    public static MONETARY_VALUE = new CellFormat(`[$${getCurrencySymbol()}]#,##0.00;-[$${getCurrencySymbol()}]#,##0.00`);\n    public static PERCENT = new CellFormat(\"0.00%\");\n\n    private formatString: string;\n\n    private constructor(formatString : string) {\n        this.formatString = formatString;\n    }\n\n    public get format(): string {\n        return this.formatString;\n    }\n}\n\nconst formatNumberCellsInColumn = async (workSheet : XLSX.WorkSheet, columnIndex : number, format : CellFormat) => {\n    const xlsx = await loadXlsx();\n    const sheetRange = workSheet['!ref'];\n    if (typeof sheetRange === 'undefined') {\n        return;\n    }\n\n    /* get worksheet range */\n    const range = xlsx.utils.decode_range(sheetRange);\n    for (let i = range.s.r; i <= range.e.r; ++i) {\n        await formatNumberCell(workSheet, columnIndex, i, format);\n    }\n};\n\nconst formatNumberCell = async (workSheet : XLSX.WorkSheet, columnIndex : number, rowIndex : number, format : CellFormat) => {\n    const xlsx = await loadXlsx();\n    const ref = xlsx.utils.encode_cell({ r: rowIndex, c: columnIndex });\n\n    /* if the particular row did not contain data for the column, the cell will not be generated */\n    if (!workSheet[ref]) {\n        return;\n    }\n\n    if (workSheet[ref].v === '') {\n        return;\n    }\n\n    /* `.t == \"n\"` for number cells */\n    if ((workSheet[ref].t === 'n') || !isNaN(Number(workSheet[ref].v))) {\n        workSheet[ref].t = 'n';\n        workSheet[ref].z = format.format;\n    }\n};\n\n// retailer identifier could be a name (with spaces) or id...\nconst getStandardReportFileName = (retailerIdOrName : string, reportName : string, startDateInRetailerTZ : moment.Moment, endDateInRetailerTZ : moment.Moment | null) => {\n    // File name = [RETAILER]_[REPORT]_[DATE](Optional: _to_[DATE 2])\n    const fileName = `${ retailerIdOrName.replace(/\\s/g, '_') }_${ reportName.replace(/\\s/g, '_') }_${ startDateInRetailerTZ.format('Y-MM-DD') }${ endDateInRetailerTZ === null ? '' : `_to_${ endDateInRetailerTZ.format('Y-MM-DD') }` }.xlsx`;\n    return fileName;\n};\n\nexport interface IColumnInfo {\n    headerText : string;\n    formatting? : CellFormat | null;\n}\n\nasync function constructSheetFromSortedFilteredGroupedResult<T>(\n    headerInfo : Array<IColumnInfo>,\n    sortedGroupNamesToDisplay : Array<string>,\n    sortedRowIdsByGroupName : {[groupName : string] : Array<T>},\n    createRowFunction : (rowId : T) => Array<string | number>,\n    isRowIncluded : (rowId : T) => boolean\n) : Promise<XLSX.WorkSheet> {\n    const xlsx = await loadXlsx();\n    const headerRow = headerInfo.map((info) => info.headerText);\n    const arrayOfArraysForSheet : Array<Array<string | number>> = [headerRow];\n\n    sortedGroupNamesToDisplay.forEach((groupName : string) => {\n        const groupNameRow = [groupName];\n        arrayOfArraysForSheet.push(groupNameRow);\n\n        const includedItems : Array<Array<string | number>> = [];\n        const excludedItems : Array<Array<string | number>> = [];\n        const sortedRowIds = sortedRowIdsByGroupName[groupName];\n        sortedRowIds.forEach((rowId) => {\n            const row = createRowFunction(rowId);\n            if (isRowIncluded(rowId)) {\n                includedItems.push(row);\n            } else {\n                excludedItems.push(row);\n            }\n        });\n        arrayOfArraysForSheet.push(...includedItems);\n        if (excludedItems.length > 0) {\n            arrayOfArraysForSheet.push(['Excluded Items']);\n            arrayOfArraysForSheet.push(...excludedItems);\n        }\n        arrayOfArraysForSheet.push([]); // empty row between groups\n    });\n\n    const worksheet = xlsx.utils.aoa_to_sheet(arrayOfArraysForSheet);\n    // format number cells where applicable\n    for (const [index, columnInfo] of headerInfo.entries()) {\n        if (columnInfo.formatting) {\n            await exportUtils.formatNumberCellsInColumn(worksheet, index, columnInfo.formatting);\n        }\n    }\n    return worksheet;\n}\n\nconst getNumberOrUndefinedDisplay = (value : number | undefined | null) => {\n    if (typeof value === 'undefined' || value === null) {\n        return '';\n    }\n    return Number.isInteger(value) ? value : +value.toFixed(2);\n};\n\n// Mirrors the functionality of excel_utils.py:_clean_worksheet_name()\nconst cleanWorksheetName = (worksheetName : string) => {\n    let newWorksheetName = worksheetName;\n    // Excel doesn't like single-quotes at the start of a sheet name.\n\n    // This is a Javascript implementation of Python's strip() function, as used in _clean_worksheet_name().\n    // TODO: Put this somewhere more globally accessible?\n    let start = 0;\n    while (\"'\".indexOf(worksheetName[start]) >= 0) {\n        start += 1;\n    }\n\n    let end = worksheetName.length - 1;\n    while (\"'\".indexOf(worksheetName[end]) >= 0) {\n        end -= 1;\n    }\n\n    newWorksheetName = worksheetName.substring(start, end + 1);\n\n    const specialCharacters = [\":\", \"\\\\\", \"/\", \"?\", \"*\", \"[\", \"]\"];\n    specialCharacters.forEach((specialCharacter) => {\n        newWorksheetName = newWorksheetName.replace(specialCharacter, \"_\");\n    });\n\n    return newWorksheetName;\n};\n\nexport const exportUtils = {\n    MAX_SHEET_NAME_LENGTH,\n    constructSheetFromSortedFilteredGroupedResult,\n    writeWorkBookToFile,\n    formatNumberCellsInColumn,\n    formatNumberCell,\n    getNumberOrUndefinedDisplay,\n    getStandardReportFileName,\n    cleanWorksheetName\n};\n","import { IWorkSheetRowJSON } from 'shared/components/Spreadsheet/spreadsheetUtils';\nimport { loadXlsx } from 'shared/utils/exportUtils';\nimport type { WorkSheet } from 'xlsx';\n\n// DO NOT IMPORT XLSX (non-types) BY DEFAULT. Load it through loadXlsx(), which is the single\n// dynamic import site -- a second one makes webpack emit a second copy of the library.\n\nconst getParsedSpreadsheetDataFromFile = (file : File) : Promise<Array<IWorkSheetRowJSON>> => {\n    const reader = new FileReader();\n    const rABS = !!reader.readAsBinaryString; // cannot read as binary string in IE\n\n    return new Promise((resolve, reject) => {\n        reader.onload = (event) => {\n            try {\n                const dataFile = event.target;\n                const result = dataFile ? dataFile.result : null;\n                if (result === null) {\n                    // https://developer.mozilla.org/en-US/docs/Web/API/FileReader/result#Value\n                    throw new Error('reading file was unsuccessful');\n                }\n\n                const data = rABS || typeof result === \"string\" ? result : new Uint8Array(result);\n\n                return resolve(getParsedSpreadsheetData(data));\n            } catch (error) {\n                return reject(error);\n            }\n        };\n\n        if (rABS) {\n            reader.readAsBinaryString(file);\n        } else {\n            reader.readAsArrayBuffer(file);\n        }\n    });\n};\n\nconst getBinaryStringFromFile = (file: File) : Promise<string> => {\n    const fileReader = new FileReader();\n\n    if (!!fileReader.readAsBinaryString) {\n        return new Promise(((resolve, reject) => {\n            fileReader.onload = ((event : ProgressEvent) => {\n                const reader = event.target as FileReader;\n                if (!reader) {\n                    return reject();\n                }\n                return resolve(reader.result as string);\n            });\n            fileReader.readAsBinaryString(file);\n        }));\n    }\n\n    return new Promise<string>(((resolve, reject) => {\n        // IE treatment based on https://stackoverflow.com/questions/31391207/javascript-readasbinarystring-function-on-e11\n        fileReader.onload =  (e : ProgressEvent) => {\n            let result = \"\";\n            if (!!fileReader.result) {\n                const bytes = new Uint8Array(fileReader.result as ArrayBuffer);\n                bytes.forEach((b: number) => result += String.fromCharCode(b));\n            }\n            return resolve(result);\n        };\n        fileReader.readAsArrayBuffer(file);\n    }));\n};\n\nconst getParsedSpreadsheetData = async (data : string | ArrayBuffer | Uint8Array<ArrayBuffer>) => {\n    const XLSX = await loadXlsx();\n    const wb = XLSX.read(data, { type: typeof data === 'string' ? 'binary' : 'array' });\n\n    // SheetJS currently includes all hidden and very hidden sheets in the WB output, so should find the first non-hidden\n    // see: https://github.com/SheetJS/js-xlsx/issues/464 (hidden states: 0 = visible, 1 = hidden, 2 = very hidden)\n    // and: https://github.com/SheetJS/js-xlsx/issues/123 (including all hidden / very hidden)\n    let sheet: WorkSheet | null = null;\n    wb.SheetNames.forEach((sheetName : string, index : number) => {\n        if (sheet === null) {\n            const worksheet = wb.Sheets[sheetName];\n            if (wb.Workbook && wb.Workbook.Sheets) {\n                if (wb.Workbook.Sheets[index].Hidden === 0) {\n                    sheet = worksheet;\n                }\n            } else { // if there's no additional metadata stored in wb.Workbook (for example, if it's a csv), just take the first sheet\n                sheet = worksheet;\n            }\n        }\n    });\n\n    if (sheet === null) {\n        throw new Error('could not find a non-hidden sheet');\n    }\n\n    // header: 'A' creates a dict of column key: column value (represented by IWorksheetRowJSON),\n    // blankrows: false skips any blank rows\n    // defval: ''  ensures that for the range of the sheet, in each row each column has a value of empty string if no present value (rather than skipping columns that the row doesn't have)\n    return XLSX.utils.sheet_to_json<IWorkSheetRowJSON>(sheet, { header: 'A', blankrows: false, defval: '' });\n};\n\nconst getFileExtensionFromPath = (filePath : string) : null | string => {\n    const fileEnding = filePath ? filePath.split(\".\").pop() : null;\n    const fileExtension = !!fileEnding ? fileEnding.split(\"?\").shift() : null;\n    if (typeof fileExtension === 'undefined') {\n        return null;\n    }\n    return fileExtension;\n};\n\nexport const fileReaderUtils = {\n    getParsedSpreadsheetDataFromFile,\n    getParsedSpreadsheetData,\n    getBinaryStringFromFile,\n    getFileExtensionFromPath,\n};\n","import { AjaxUtils } from 'shared/utils/ajaxUtils';\n\nexport const HubspotChatUtils = {\n\n    async openChatWidget() {\n        const queryParameters = {\n            user_id: window.GLOBAL_USER_ID\n        };\n\n        try {\n            const response = await AjaxUtils.ajaxPost(urlWithoutRetailerId('api:hubspot_chat_token'), {}, queryParameters);\n            window.hsConversationsSettings = {\n                ...window.hsConversationsSettings,\n                identificationEmail: window.GLOBAL_USER_EMAIL,\n                identificationToken: response.token\n            };\n        } catch (error) {\n            // Do nothing. It's OK if there's an error. The worst that happens is we don't send HubSpot a chat token,\n            // which means that support doesn't automatically see who they're talking to.\n        }\n\n        window.HubSpotConversations.widget.load({ widgetOpen: true });\n    }\n};\n","import distance from 'jaro-winkler';\nimport { Product } from 'api/Product/model/Product';\nimport { cleanPhrase } from 'shared/utils/sortingFilteringAndGroupingUtils';\n\nexport const DEFAULT_JARO_WINKLER_THRESHOLD = 0.95;\n\n/**\n * Get cleaned brand + name string for a product\n */\nexport const getProductNameString = (product: Product): string => {\n    const brand = cleanPhrase(product.getBrand());\n    const name = cleanPhrase(product.getName());\n\n    return [brand, name].join(' ');\n};\n\n/**\n * Calculate Jaro-Winkler similarity between two strings\n */\nexport const getStringSimilarityScore = (string1: string, string2: string): number => {\n    if (string1.length === 0 || string2.length === 0) {\n        return 0;\n    }\n\n    const normalized1 = cleanPhrase(string1);\n    const normalized2 = cleanPhrase(string2);\n\n    return distance(normalized1, normalized2);\n};\n\n/**\n * returns the best matching value using exact match first, then Jaro-Winkler fuzzy match.\n */\nexport const findBestFuzzyMatchByName = (\n    cleanedName: string,\n    valueByCleanedName: Map<string, string>,\n    threshold: number = DEFAULT_JARO_WINKLER_THRESHOLD,\n): string | null => {\n    const exactMatch = valueByCleanedName.get(cleanedName);\n    if (exactMatch) {\n        return exactMatch;\n    }\n\n    let bestMatch: { value: string; score: number } | null = null;\n    for (const [savedCleanedName, value] of valueByCleanedName) {\n        const score = distance(cleanedName, savedCleanedName);\n        if (score >= threshold && (!bestMatch || score > bestMatch.score)) {\n            bestMatch = { value, score };\n        }\n    }\n\n    return bestMatch ? bestMatch.value : null;\n};\n","export const FormatToMaximumTwoDecimalPlaces = (value: number | null): string => {\n    return FormatToMaximumDecimalPlaces(value, 2);\n};\n\nconst FormatToMaximumDecimalPlaces = (value : number | null, decimalPlaces : number) : string => {\n    if (value === null) {\n        return '-';\n    }\n    const multiple = Math.pow(10, decimalPlaces);\n    return (Math.round(value * multiple) / multiple).toString(); // cap at n dp\n};\n\nconst isPlural = (value : number) : boolean => {\n    const abs = Math.abs(value);\n    return abs === 0 || abs > 1;\n};\n\nexport const FormatToMinumumTwoAndMaximumThreeDecimalPlaces = (value : number) : string => {\n    const currentDecimalCount = (value.toString().split('.')[1] || []).length;\n\n    if (currentDecimalCount <= 2) {\n        return value.toFixed(2);\n    }\n\n    return value.toFixed(3);\n};\n\nconst ToFixed = (value : number, decimalRoundedTo : number) : string => {\n    // Floating point rounding fix for x.xx5\n    // https://stackoverflow.com/a/43998255\n    const factor = Math.pow(10, decimalRoundedTo + 4);\n    if (value >= 0) {\n        return (value + (0.01 / factor)).toFixed(decimalRoundedTo);\n    } else {\n        return (value - (0.01 / factor)).toFixed(decimalRoundedTo);\n    }\n};\n\nconst ThriftInt64ToNumber = (thriftInt64 : number) : number => {\n    return parseInt(thriftInt64.toString());\n};\n\n// Number compare that treats nulls as greater than any value, so a plain ascending sort\n// lands them at the bottom.\nconst compareNullable = (a : number | null, b : number | null) : number => {\n    if (a === null && b === null) return 0;\n    if (a === null) return 1;\n    if (b === null) return -1;\n    return a - b;\n};\n\nexport const numberUtils = {\n    FormatToMaximumTwoDecimalPlaces,\n    FormatToMaximumDecimalPlaces,\n    isPlural,\n    FormatToMinumumTwoAndMaximumThreeDecimalPlaces,\n    ToFixed,\n    ThriftInt64ToNumber,\n    compareNullable,\n};\n","import UnauthenticatedUserSessionModel from 'gen-thrift/unauthenticated_user_session_Model_types';\n\nimport { UserAccountId } from 'api/UserAccount/model/UserAccountId';\n\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { AjaxUtils } from 'shared/utils/ajaxUtils';\nimport { PathUtils } from 'shared/utils/pathUtils';\nimport { URLStringUtils } from 'shared/utils/urlStringUtils';\nimport { FullStory } from '@fullstory/browser';\n\ninterface IHubSpotUser {\n    email : string;\n    phone : string;\n    bar_name : string;\n    first_name : string;\n    last_name : string;\n    zip_code : string;\n    subscribe_to_blog : boolean;\n    hubspot_cookie : string | null;\n    is_admin_created : boolean;\n    source_url : string;\n    should_receive_marketing : boolean;\n    creator_user_id : string | null;\n    retailer_id : string | null;\n}\n\ninterface IHubSpotRetailer {\n    user_first_name : string;\n    user_last_name : string;\n    user_email : string;\n    user_phone : string;\n    beverage_retailer_id : string | null;\n    food_retailer_id : string | null;\n    retailer_name : string;\n    retailer_address_line1 : string;\n    retailer_address_line2 : string;\n    retailer_country_code : string;\n    retailer_city : string;\n    retailer_zipcode : string;\n    group_location_count : string | null;\n    introduction_source : string | null;\n    introduction_drilldown : string | null;\n    introduction_free_text : string | null;\n    product_subscription : string | null;\n    source_url : string;\n    is_admin_created : boolean;\n    should_receive_marketing : boolean;\n    creator_user_id : string;\n    hubspot_cookie : string | null;\n    promo_code : string | null;\n    getting_started_source? : string | null;\n    beverage_free_trial_getting_started_type? : string | null;\n    food_free_trial_getting_started_type? : string | null;\n}\n\nexport const Observer = (() => {\n\n    const trackGoogleTagManager = (event : string, location? : string) => {\n        window.dataLayer = window.dataLayer || [];\n        window.dataLayer.push({\n            event,\n            location\n        });\n        return new Promise((resolve) => {\n            setTimeout(resolve, 500); // give the trackers the opportunity to complete\n        });\n    };\n\n    const trackGoogleAdwordsCreateUser = () => {\n        const conversionHandler = window.google_trackConversion;\n        if (typeof conversionHandler === 'function') {\n            window.google_conversion_id = 950936996;\n            window.google_conversion_label = 'tUuHCMbXlF8QpMu4xQM';\n            window.google_remarketing_only = false;\n            window.google_conversion_format = '3';\n            conversionHandler({});\n        }\n    };\n\n    const sendRetailerCreationToHubspot = (retailer : IHubSpotRetailer) : Promise<void> => {\n        if ((retailer.beverage_retailer_id === null) && (retailer.food_retailer_id === null)) {\n            throw new RuntimeException('beverageRetailerName and foodRetailerName cannot both be null');\n        }\n\n        const formData : FormData = new FormData();\n        formData.append('user_first_name', retailer.user_first_name);\n        formData.append('user_last_name', retailer.user_last_name);\n        formData.append('user_email', retailer.user_email);\n        formData.append('user_phone', retailer.user_phone);\n\n        if (retailer.beverage_retailer_id) {\n            formData.append('beverage_retailer_id', retailer.beverage_retailer_id);\n        }\n\n        if (retailer.food_retailer_id) {\n            formData.append('food_retailer_id', retailer.food_retailer_id);\n        }\n\n        formData.append('retailer_name', retailer.retailer_name);\n        formData.append('retailer_address_line1', retailer.retailer_address_line1);\n        formData.append('retailer_address_line2', retailer.retailer_address_line2);\n        formData.append('retailer_country_code', retailer.retailer_country_code);\n        formData.append('retailer_city', retailer.retailer_city);\n        formData.append('retailer_zipcode', retailer.retailer_zipcode);\n\n        if (retailer.group_location_count) {\n            formData.append('group_location_count', retailer.group_location_count);\n        } else {\n            formData.append('group_location_count', '1');\n        }\n\n        if (retailer.introduction_source) {\n            formData.append('introduction_source', retailer.introduction_source);\n        }\n\n        if (retailer.introduction_drilldown) {\n            formData.append('introduction_drilldown', retailer.introduction_drilldown);\n        }\n\n        if (retailer.introduction_free_text) {\n            formData.append('introduction_free_text', retailer.introduction_free_text);\n        }\n\n        if (retailer.product_subscription) {\n            formData.append('product_subscription', retailer.product_subscription);\n        }\n\n        formData.append('source_url', retailer.source_url);\n        formData.append('is_admin_created', '' + retailer.is_admin_created);\n        formData.append('should_receive_marketing', '' + retailer.should_receive_marketing);\n        formData.append('creator_user_id', retailer.creator_user_id);\n\n        if (retailer.hubspot_cookie) {\n            formData.append('hubspot_cookie', retailer.hubspot_cookie);\n        }\n\n        if (retailer.promo_code) {\n            formData.append('promo_code', retailer.promo_code);\n        }\n\n        if (retailer.getting_started_source) {\n            formData.append('getting_started_source', retailer.getting_started_source);\n        }\n        if (retailer.beverage_free_trial_getting_started_type) {\n            formData.append('beverage_free_trial_getting_started_type', retailer.beverage_free_trial_getting_started_type);\n        }\n        if (retailer.food_free_trial_getting_started_type) {\n            formData.append('food_free_trial_getting_started_type', retailer.food_free_trial_getting_started_type);\n        }\n\n        return AjaxUtils.ajaxPostForm(PathUtils.getAbsolutePathForRequest('/webhooks/hubspot/retailer_created_by_user/'), formData)\n        .then(() => {\n            // eslint-disable-next-line no-console\n            console.log('Hubspot retailer_created_by_user SUCCESSS', retailer);\n        })\n        .catch(() => {\n            // eslint-disable-next-line no-console\n            console.error('Hubspot retailer_created_by_user ERROR', retailer);\n        });\n    };\n\n    const sendUserSignUpToHubspot = (user : IHubSpotUser) : Promise<void> => {\n        const formData : FormData = new FormData();\n        formData.append('email', user.email);\n        formData.append('phone', user.phone);\n        formData.append('bar_name', user.bar_name);\n        formData.append('first_name', user.first_name);\n        formData.append('last_name', user.last_name);\n        formData.append('zip_code', user.zip_code);\n        formData.append('subscribe_to_blog', '' + user.subscribe_to_blog);\n\n        if (user.hubspot_cookie) {\n            formData.append('hubspot_cookie', user.hubspot_cookie);\n        }\n\n        formData.append('is_admin_created', '' + user.is_admin_created);\n        formData.append('source_url', user.source_url);\n        formData.append('should_receive_marketing', '' + user.should_receive_marketing);\n\n        if (user.creator_user_id) {\n            formData.append('creator_user_id', user.creator_user_id);\n        }\n\n        if (user.retailer_id) {\n            formData.append('retailer_id', user.retailer_id);\n        }\n\n        return AjaxUtils.ajaxPostForm(PathUtils.getAbsolutePathForRequest('/webhooks/hubspot/user_sign_up/'), formData)\n        .then(() => {\n            // eslint-disable-next-line no-console\n            console.log('Hubspot user_sign_up SUCCESSS', user);\n        })\n        .catch(() => {\n            // eslint-disable-next-line no-console\n            console.error('Hubspot user_sign_up ERROR', user);\n        });\n    };\n\n    const sendPartnerSignUpRetailerToHubspot = (retailer : IHubSpotRetailer) : Promise<void> => {\n        if ((retailer.beverage_retailer_id === null) && (retailer.food_retailer_id === null)) {\n            throw new RuntimeException('beverageRetailerName and foodRetailerName cannot both be null');\n        }\n\n        const formData : FormData = new FormData();\n        formData.append('user_first_name', retailer.user_first_name);\n        formData.append('user_last_name', retailer.user_last_name);\n        formData.append('user_email', retailer.user_email);\n        formData.append('user_phone', retailer.user_phone);\n\n        if (retailer.beverage_retailer_id) {\n            formData.append('beverage_retailer_id', retailer.beverage_retailer_id);\n        }\n\n        if (retailer.food_retailer_id) {\n            formData.append('food_retailer_id', retailer.food_retailer_id);\n        }\n\n        formData.append('retailer_name', retailer.retailer_name);\n        formData.append('retailer_address_line1', retailer.retailer_address_line1);\n        formData.append('retailer_address_line2', retailer.retailer_address_line2);\n        formData.append('retailer_country_code', retailer.retailer_country_code);\n        formData.append('retailer_city', retailer.retailer_city);\n        formData.append('retailer_zipcode', retailer.retailer_zipcode);\n\n        if (retailer.group_location_count) {\n            formData.append('group_location_count', retailer.group_location_count);\n        }\n\n        if (retailer.introduction_source) {\n            formData.append('introduction_source', retailer.introduction_source);\n        }\n\n        if (retailer.product_subscription) {\n            formData.append('product_subscription', retailer.product_subscription);\n        }\n\n        formData.append('source_url', retailer.source_url);\n        formData.append('is_admin_created', '' + retailer.is_admin_created);\n        formData.append('should_receive_marketing', '' + retailer.should_receive_marketing);\n        formData.append('creator_user_id', retailer.creator_user_id);\n\n        if (retailer.hubspot_cookie) {\n            formData.append('hubspot_cookie', retailer.hubspot_cookie);\n        }\n\n        if (retailer.promo_code) {\n            formData.append('promo_code', retailer.promo_code);\n        }\n\n        return AjaxUtils.ajaxPostForm(PathUtils.getAbsolutePathForRequest('/webhooks/hubspot/partner_sign_up/'), formData)\n        .then(() => {\n            // eslint-disable-next-line no-console\n            console.log('Hubspot retailer_created_by_user SUCCESSS', retailer);\n        })\n        .catch(() => {\n            // eslint-disable-next-line no-console\n            console.error('Hubspot retailer_created_by_user ERROR', retailer);\n        });\n    };\n\n    return {\n        identifyUnauthenticated: (unauthenticatedUserSessionId : UnauthenticatedUserSessionModel.UnauthenticatedUserSessionId) => {\n            if ((window.location.host === 'app.bevspot.com') || (window.location.host === 'usertest.bevspot.net')\n            || (window.location.host === 'www.bevspot.com') || (window.location.host === 'www.bevspot.net')) {\n                if (typeof window.FS !== 'undefined') {\n                    window.FS.identify(unauthenticatedUserSessionId.value);\n                }\n            }\n\n            if (typeof window.analytics !== 'undefined') {\n                window.analytics.reset();\n                window.analytics.identify(unauthenticatedUserSessionId.value, {\n                    isAuthenticatedUser: false,\n                    isAssociatedWithRetailer: false,\n                });\n            }\n        },\n\n        identifyAuthenticated: (userAccountId : UserAccountId, userName : string | null, userEmail : string | null, isAssociatedWithRetailer : boolean | null) => {\n            if ((window.location.host === 'app.bevspot.com') || (window.location.host === 'usertest.bevspot.net')\n            || (window.location.host === 'www.bevspot.com') || (window.location.host === 'www.bevspot.net')) {\n\n                let name = userName;\n                if (name === null) {\n                    name = window.GLOBAL_USER_NAME || null;\n                }\n\n                let email = userEmail;\n                if (email === null) {\n                    email = window.GLOBAL_USER_EMAIL || null;\n                }\n\n                if (typeof window.FS !== 'undefined') {\n                    initializeFullStoryIdentity(userAccountId.getValue(), name, email);\n                }\n            }\n\n            if (typeof window.analytics !== 'undefined') {\n                const userProperties: Record<string, boolean | string> = {\n                    isAuthenticatedUser: true,\n                };\n\n                if (userName) {\n                    userProperties.name = userName;\n                }\n\n                if (userEmail) {\n                    userProperties.email = userEmail;\n                }\n\n                if (isAssociatedWithRetailer !== null) {\n                    userProperties.isAssociatedWithRetailer = isAssociatedWithRetailer;\n                }\n\n                window.analytics.reset();\n                window.analytics.identify(userAccountId.getValue(), userProperties);\n            }\n        },\n\n        observeLogout: () => {\n            if (typeof window.analytics !== 'undefined') {\n                window.analytics.reset();\n            }\n        },\n\n        observePageView: () => {\n            if (typeof window.analytics !== 'undefined') {\n                window.analytics.page(); // may want to add retailer id if possible...\n            }\n        },\n\n        observeAction: (actionName : string, actionArgs? : Record<string, unknown>) => {\n            return new Promise((resolve) => {\n                if (typeof window.analytics !== 'undefined') {\n                    actionArgs = actionArgs || {};\n                    // prevent mutating the passed in argument\n                    const analyticsActionArgs = { ...actionArgs };\n                    const analyticsContextArgs: Record<string, string> = {};\n\n                    // this is for capturing retailer_id on legacy pages\n                    if (window.GLOBAL_RETAILER_ID) {\n                        analyticsActionArgs.retailer_id = window.GLOBAL_RETAILER_ID;\n                        analyticsContextArgs.retailer_id = window.GLOBAL_RETAILER_ID;\n                    }\n\n                    const appPath = PathUtils.getAppPath();\n                    analyticsContextArgs.app_path = appPath;\n                    analyticsContextArgs.hostname = window.location.hostname;\n\n                    window.analytics.track(actionName, analyticsActionArgs, { context : analyticsContextArgs });\n                }\n\n                setTimeout(resolve, 2000); // give the trackers the opportunity to complete\n            });\n        },\n\n        // TODO: can't use AjaxUtils.ajaxPostForm for HubSpot submissions due to `null` handling in FormData\n        trackConversion: {\n            sendRetailerCreationToHubspot,\n            sendUserSignUpToHubspot,\n            sendPartnerSignUpRetailerToHubspot,\n            retailerCreated: (retailer : IHubSpotRetailer) => {\n                void trackGoogleTagManager('CreateRetailer', retailer.beverage_retailer_id || retailer.food_retailer_id || 'UNKNOWN');\n\n                return sendRetailerCreationToHubspot(retailer);\n            },\n            userCreated: (user : IHubSpotUser) => {\n                trackGoogleAdwordsCreateUser();\n                void trackGoogleTagManager('UserSignup');\n                return sendUserSignUpToHubspot(user);\n            },\n            partnerSignUp: (signup : IHubSpotRetailer) => {\n                return sendPartnerSignUpRetailerToHubspot(signup);\n            },\n            drinkPriceToolSubmission: (user : IHubSpotUser) => {\n                void trackGoogleTagManager('DrinkPriceTool');\n\n                window.$.post(PathUtils.getAbsolutePathForRequest('/webhooks/hubspot/drink_price_tool/'), user);\n            },\n            downloadedContent: (href : string, downloadUrl : string | null) => {\n                void Observer.observeAction('Downloaded Content', {\n                    referrer: href,\n                    downloadUrl,\n                });\n\n                if (downloadUrl !== null) {\n                    const downloadLocation = URLStringUtils.getLocation(downloadUrl);\n                    if ((typeof window._hsq !== 'undefined') && (downloadLocation !== null)) {\n                        window._hsq.push(['setPath', downloadLocation.pathname]);\n                        window._hsq.push(['trackPageView']);\n                        window._hsq.push(['setPath', window.location.pathname]);\n                    }\n                }\n            },\n            inventoryStarted: () => {\n                return trackGoogleTagManager('InventoryStart');\n            },\n            inventoryFinalized: () => {\n                return trackGoogleTagManager('InventoryComplete');\n            },\n            inventoryStorageAreaCreated: (location? : string) => {\n                return trackGoogleTagManager('StorageAreaCreateNew', location);\n            },\n            orderItemCreated: () => {\n                return trackGoogleTagManager('OrderCreateItem');\n            },\n            orderRecorded: () => {\n                return trackGoogleTagManager('OrderComplete');\n            },\n            paymentSubmission: () => {\n                return trackGoogleTagManager('PaymentApp');\n            },\n        },\n    };\n})();\n\nexport const initializeFullStoryIdentity = (\n    userAccountId: string,\n    name: string | null,\n    email: string | null\n) => {\n    FullStory('setIdentity', {\n        uid: userAccountId,\n        properties: {\n            name,\n            email,\n            gettingStartedType: window.GLOBAL_RETAILER_GETTING_STARTED_TYPE,\n            accountType: window.GLOBAL_RETAILER_ACCOUNT_TYPE,\n            isInFreeTrial: window.GLOBAL_RETAILER_IS_IN_FREE_TRIAL,\n            retailerCreationDate_date: window.GLOBAL_RETAILER_CREATION_DATE,\n            userCreationDate_date: window.GLOBAL_USER_CREATION_DATE,\n            groupId: window.GLOBAL_GROUP_ID,\n        }\n    });\n}","export const PathUtils = {\n    getAbsolutePathForRequest: (relativePath : string) : string => {\n        if ((typeof(window.absolutePathPrefixWithoutTrailingSlash) !== 'undefined') && window.absolutePathPrefixWithoutTrailingSlash) {\n            return window.absolutePathPrefixWithoutTrailingSlash + relativePath;\n        }\n\n        return relativePath;\n    },\n    getAppPath: () : string => {\n        // get the path with /r/<retailer_id> /g/<groupid> and trailing / stripped out\n        return window.location.pathname.replace(/\\/[rg]\\/[a-zA-Z0-9_]+(?=\\/)|\\/$/g, '');\n    }\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Distributor } from 'api/Distributor/model/Distributor';\nimport { DistributorId } from 'api/Distributor/model/DistributorId';\nimport { ProductCount } from 'api/InventoryCount/model/ProductCount';\nimport { ProductCountEvent } from 'api/InventoryCount/model/ProductCountEvent';\n\nimport { Product } from 'api/Product/model/Product';\nimport { ProductDistributorAssociation } from 'api/Product/model/ProductDistributorAssociation';\nimport { ProductDistributorAssociationIdentifier } from 'api/Product/model/ProductDistributorAssociationIdentifier';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { ProductQuantityUnit } from 'api/Product/model/ProductQuantityUnit';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { productCountUtils } from 'api/Product/utils/productCountUtils';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ALL_ITEMS_GROUP_NAME, GroupByOption } from 'shared/models/GroupByOption';\nimport { decimalToNumber } from 'shared/utils/decimalUtils';\nimport { cleanPhrase, } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport {\n    getDefaultTimestampGroupName,\n    getTimestampGroupComparator\n} from 'shared/utils/timestampSortingFilteringAndGroupingUtils';\n\n/*\nCommonly used filtering/grouping/sorting logic for product tables.\n */\n\nexport const createProductStringForFilter = (product : Product, distributorForProduct : Distributor | null, productDistributorAssociationMap : StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>) : string => {\n    const brand = cleanPhrase(product.getBrand());\n    const name = cleanPhrase(product.getName());\n    const category = cleanPhrase(product.getProductCategoryId());\n    const type = cleanPhrase(product.getProductType());\n    const note = cleanPhrase(product.getNote()); // right now tokenizing all words in note -- may want to update behavior in the future to only search entire phrase\n\n    const distributorName = distributorForProduct === null ? '' : cleanPhrase(distributorForProduct.getName());\n\n    const skus = new Array<string>() ;\n\n    if (window.GLOBAL_FEATURE_ACCESS.multi_vendor) {\n        // We need to grab the SKU of each productDistributorAssociation so multi-vendor users can search for\n        // them in pages with product tables, such as the Item Manager.\n\n        // If the user ever goes back to single-vendor, these SKUs will still be added to the search string, so searching\n        // for these skus will still yield results. This shouldn't be a problem, since converting to multi-vendor is\n        // typically a one-way street.\n\n        productDistributorAssociationMap.forEach((productDistributorAssociation) => {\n            const sku = productDistributorAssociation.getSku();\n            if (sku) {\n                skus.push(cleanPhrase(sku));\n            }\n        });\n    } else {\n        skus.push(cleanPhrase(product.getSku()));\n    }\n\n    return [brand, name, category, type, skus.join(' '), note, distributorName].join(' ');\n};\n\nexport const createProductDistributorAssociationStringForFilter = (product : Product, productDistributorAssociation : ProductDistributorAssociation, distributor : Distributor) : string => {\n    const brand = cleanPhrase(product.getBrand());\n    const name = cleanPhrase(product.getName());\n    const category = cleanPhrase(product.getProductCategoryId());\n    const type = cleanPhrase(product.getProductType());\n\n    const productDistributorAssociationSku = productDistributorAssociation.getSku();\n    const sku = productDistributorAssociationSku ? cleanPhrase(productDistributorAssociationSku) : '';\n\n    const note = cleanPhrase(product.getNote()); // right now tokenizing all words in note -- may want to update behavior in the future to only search entire phrase\n\n    const distributorName = cleanPhrase(distributor.getName());\n\n    return [brand, name, category, type, sku, note, distributorName].join(' ');\n};\n\nconst productFilterStringCache = new StringValueMap<ProductId, string>(); // TODO Cheezy\nlet lastProductsById = new StringValueMap<ProductId, Product>();\nlet lastDistributorIdsByProductId = new StringValueMap<ProductId, DistributorId | null>();\nlet lastDistributorsById = new StringValueMap<DistributorId, Distributor>();\n\nconst cachedCreateProductStringForFilter = (\n    identifier : ProductId | ProductDistributorAssociation,\n    productsById : StringValueMap<ProductId, Product>,\n    distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>,\n    distributorsById : StringValueMap<DistributorId, Distributor>,\n    productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>\n) : string => {\n\n    if ((productsById !== lastProductsById) || (distributorIdsByProductId !== lastDistributorIdsByProductId) || (distributorsById !== lastDistributorsById)) {\n        lastProductsById = productsById;\n        lastDistributorIdsByProductId = distributorIdsByProductId;\n        lastDistributorsById = distributorsById;\n        productFilterStringCache.clear();\n    }\n\n    if ((identifier instanceof ProductId) && productFilterStringCache.has(identifier)) { // TODO Cheezy\n        const cacheValue  = productFilterStringCache.get(identifier);\n\n        if (typeof cacheValue === 'undefined') {\n            throw new RuntimeException('cache value not found: ' + identifier);\n        }\n\n        return cacheValue;\n    }\n\n    let productId : ProductId;\n    let distributorId : DistributorId | null | undefined;\n\n    if (identifier instanceof ProductId) {\n        productId = identifier;\n        distributorId = distributorIdsByProductId.get(productId);\n    } else {\n        productId = identifier.getProductId();\n        distributorId = identifier.getDistributorId();\n    }\n\n    const product = productsById.get(productId);\n\n    if ((typeof product === 'undefined') || (typeof distributorId === 'undefined')) {\n        throw new RuntimeException('product or distributor ID not found: ' + identifier);\n    }\n\n    let distributor : Distributor | null | undefined;\n    if (distributorId === null) {\n        distributor = null;\n    } else {\n        distributor = distributorsById.get(distributorId);\n\n        if (typeof distributor === 'undefined') {\n            throw new RuntimeException('distributor not found: ' + distributorId);\n        }\n    }\n\n    let productStringForFilter : string;\n    if (identifier instanceof ProductId) {\n        const productDistributorAssociationMap = productDistributorAssociationsByProductId.get(productId) || new StringValueMap();\n        productStringForFilter = createProductStringForFilter(product, distributor, productDistributorAssociationMap);\n    } else {\n        if (distributor === null) {\n            throw new RuntimeException('distributor not found: ' + identifier);\n        }\n\n        productStringForFilter = createProductDistributorAssociationStringForFilter(product, identifier, distributor);\n    }\n   \n    productFilterStringCache.set(productId, productStringForFilter);\n\n    return productStringForFilter;\n};\n\nexport const defaultProductRowFilter = (\n    identifier : ProductId | ProductDistributorAssociation,\n    cleanedFilterTerm : string | null,\n    productsById : StringValueMap<ProductId, Product>,\n    distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>,\n    distributorsById : StringValueMap<DistributorId, Distributor>,\n    productDistributorAssociationsByProductId : StringValueMap<ProductId, StringValueMap<ProductDistributorAssociationIdentifier, ProductDistributorAssociation>>\n) : boolean => {\n    if (cleanedFilterTerm === null || cleanedFilterTerm === '') {\n        return true;\n    }\n\n    const productStringForSearch = cachedCreateProductStringForFilter(identifier, productsById, distributorIdsByProductId, distributorsById, productDistributorAssociationsByProductId);\n    const filterTokens = cleanedFilterTerm.split(' ');\n\n    for (let i = 0; i < filterTokens.length; i++) {\n        if (productStringForSearch.indexOf(filterTokens[i]) < 0) {\n            return false;\n        }\n    }\n\n    return true;\n};\n\n// TODO Cheezy this should check feature flags for cart builder\n// group name based on GroupByOption\nexport const getDefaultGroupNameForProductRow = (\n    identifier : ProductId | ProductDistributorAssociation,\n    groupByOption : GroupByOption,\n    productsById : StringValueMap<ProductId, Product>,\n    distributorIdsByProductId : StringValueMap<ProductId, DistributorId | null>,\n    distributorsById : StringValueMap<DistributorId, Distributor>\n) : string => {\n    let productId : ProductId;\n    let distributorId : DistributorId | null | undefined;\n\n    if (identifier instanceof ProductId) {\n        productId = identifier;\n        distributorId = distributorIdsByProductId.get(productId);\n    } else {\n        productId = identifier.getProductId();\n        distributorId = identifier.getDistributorId();\n    }\n\n    const product = productsById.get(productId);\n\n    if ((typeof product === 'undefined') || (typeof distributorId === 'undefined')) {\n        throw new RuntimeException('product or distributor ID not found: ' + identifier);\n    }\n\n    switch (groupByOption) {\n        case GroupByOption.ALL_ITEMS:\n            return ALL_ITEMS_GROUP_NAME;\n        case GroupByOption.DISTRIBUTOR:\n            if (distributorId === null) {\n                return 'Other';\n            }\n\n            const distributor = distributorsById.get(distributorId);\n            if (typeof distributor === 'undefined') {\n                throw new RuntimeException('distributor not found: ' + distributorId);\n            }\n\n            return distributor.getName();\n        case GroupByOption.CATEGORY:\n            return product.getProductCategoryId();\n        case GroupByOption.ITEM_TYPE:\n            return product.getProductType();\n        case GroupByOption.LAST_EDITED:\n            return getDefaultTimestampGroupName(product.getLastUpdateEvent().getTimestamp());\n        case GroupByOption.GL_CODE:\n        case GroupByOption.MENU_GROUP:\n        default:\n            throw new RuntimeException('unexpected groupByOption: ' + groupByOption);\n    }\n};\n\n// group name comparator based on GroupByOption\nexport const defaultGroupNameComparator = (groupName1 : string, groupName2 : string, groupByOption : GroupByOption) : number => {\n    switch (groupByOption) {\n        case GroupByOption.ALL_ITEMS:\n            // should not matter\n            return 0;\n        case GroupByOption.GL_CODE:\n        case GroupByOption.DISTRIBUTOR:\n        case GroupByOption.CATEGORY:\n        case GroupByOption.ITEM_TYPE:\n            return cleanPhrase(groupName1).localeCompare(cleanPhrase(groupName2));\n        case GroupByOption.LAST_EDITED:\n            return getTimestampGroupComparator(groupName1, groupName2);\n        case GroupByOption.MENU_GROUP:\n        default:\n            throw new RuntimeException('unexpected groupByOption: ' + groupByOption);\n    }\n};\n\nexport const getCleanCountFromCountEvent = (productCountEvent : ProductCountEvent | undefined, product : Product, productId : ProductId) : number | undefined => {\n    if (typeof productCountEvent !== 'undefined') {\n        const productCount = productCountUtils.getTotalProductCountFromProductCountEvent(productCountEvent, product, productId);\n        if (productCount !== null) {\n            return getCountValueFromProductCount(productCount);\n        }\n    }\n\n    return;\n};\n\nexport const getCountValueFromProductCount = (productCount : ProductCount | undefined) : number | undefined => {\n    if (typeof productCount !== 'undefined') {\n        const count = productCount.getCount();\n        if (count !== null) {\n            return decimalToNumber(count);\n        }\n    }\n\n    return;\n};\n\nexport const getProductParValue = (productPar : QuantityInUnit<ProductQuantityUnit> | undefined | null) : number | undefined => {\n    if ((typeof productPar !== 'undefined') && (productPar !== null)) {\n        return productPar.getQuantity();\n    }\n\n    return;\n};\n\n// TODOfuture: can probably further improve performance but this seems a significant speed improvement over old code already\n// trying to avoid using cleanPhrase but want to have products with no brand get sorted ignoring whitespace\nexport const getBrandAndNameStringForSort = (product : Product) : string => {\n    return (product.getBrand() + ' ' + product.getName()).trim().toLowerCase();\n};\n","import throttle from 'lodash/throttle';\nimport { ThunkAction } from 'shared/models/IAction';\n\n// in the future this could take both a wait number and options. but 200 and { leading : false } is pretty much the only thing we use right now\nexport const makeThrottledThunk = <S, E>(callback : ThunkAction<void, S, E>) : ThunkAction<void, S, E> => {\n    return throttle(\n        callback, 200, { leading : false }\n    );\n};\n","import { StringValueSet } from 'api/Core/StringValueSet';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\n\n/**\n * Get the inactive ingredient flag for a sales item\n * Returns the appropriate flag if there are deleted or archived ingredients and the sales item is not already flagged\n */\nconst getInactiveIngredientFlag = (\n    salesItem : SalesItem,\n    activeProductIds : StringValueSet<ProductId>,\n    deletedProductIds : StringValueSet<ProductId>\n) : 'Ingredients Deleted' | 'Ingredients Archived' | null => {\n    let hasDeletedIngredients = false;\n    let hasArchivedIngredients = false;\n\n    const componentProducts = salesItem.getComponentQuantityOfProductByProductId();\n    componentProducts.forEach((quantity, productId) => {\n        if (deletedProductIds.has(productId)) {\n            hasDeletedIngredients = true;\n        } else if (!activeProductIds.has(productId)) {\n            hasArchivedIngredients = true;\n        }\n    });\n\n    if (hasDeletedIngredients) {\n        return 'Ingredients Deleted';\n    }\n\n    if (hasArchivedIngredients) {\n        return 'Ingredients Archived';\n    }\n\n    return null;\n};\n\n/**\n * Gets the displayed flag for a sales item, accounting for both persisted and derived flags.\n * Returns the derived flag if ingredients are deleted/archived, otherwise returns the persisted flag.\n * Derived flags take precedence over persisted flags.\n */\nconst getDisplayedFlag = (\n    salesItem : SalesItem,\n    activeProductIds : StringValueSet<ProductId>,\n    deletedProductIds : StringValueSet<ProductId>\n) : string | null => {\n    const derivedFlag = getInactiveIngredientFlag(\n        salesItem,\n        activeProductIds,\n        deletedProductIds\n    );\n\n    if (derivedFlag) {\n        return derivedFlag;\n    }\n\n    return salesItem.getNeedsAttentionCategory();\n};\n\nexport const salesItemFlagUtils = {\n    getDisplayedFlag\n};\n","import { StringValueMap } from 'api/Core/StringValueMap';\nimport { Product } from 'api/Product/model/Product';\nimport { ProductId } from 'api/Product/model/ProductId';\nimport { SalesItem } from 'api/SalesItem/model/SalesItem';\nimport { SalesItemId } from 'api/SalesItem/model/SalesItemId';\nimport { SalesItemWithMetadata } from 'api/SalesItem/model/SalesItemWithMetadata';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { ALL_ITEMS_GROUP_NAME, GroupByOption } from 'shared/models/GroupByOption';\nimport { cleanPhrase } from 'shared/utils/sortingFilteringAndGroupingUtils';\nimport { getDefaultTimestampGroupName, getTimestampGroupComparator } from 'shared/utils/timestampSortingFilteringAndGroupingUtils';\n\nexport enum SalesItemGroupByOption {\n    ALL_ITEMS = 'ALL_ITEMS',\n    MENU_GROUP = 'MENU_GROUP',\n    LAST_EDITED = 'LAST_EDITED'\n}\n\nexport const DEFAULT_UNASSIGNED_MENU_GROUP = 'Unassigned';\n\n/*\nCommonly used filtering/grouping/sorting logic for sales item tables. Has similarities to the product util.\n */\nexport const createSalesItemStringForFilter = (salesItem : SalesItem, salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>, productsById : StringValueMap<ProductId, Product>) : string => {\n    // TODO product decision: legacy filter is name, pos id, all ingredients -- do we want to change this?\n\n    const name = cleanPhrase(salesItem.getName());\n    const posId = cleanPhrase(salesItem.getPOSId());\n\n    const filterStrings : Array<string> = [name, posId];\n\n    salesItem.getComponentQuantityOfProductByProductId().forEach((quantityInUnit, productId) => {\n        const product = productsById.get(productId);\n        if (typeof product === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n        const productBrandAndName = cleanPhrase(product.getBrand() + ' ' + product.getName());\n        filterStrings.push(productBrandAndName);\n    });\n\n    salesItem.getComponentServingsBySalesItemId().forEach((quantity, salesItemId) => {\n        const salesItemIngredient = salesItemsById.get(salesItemId);\n        if (typeof salesItemIngredient === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n        const ingredientName = cleanPhrase(salesItemIngredient.getSalesItem().getName());\n        filterStrings.push(ingredientName);\n    });\n\n    return filterStrings.join(' ');\n};\n\nconst salesItemFilterStringCache = new StringValueMap<SalesItemId, string>();\nlet lastSalesItemsById = new StringValueMap<SalesItemId, SalesItemWithMetadata>();\nlet lastProductsById = new StringValueMap<ProductId, Product>();\n\nconst cachedCreateSalesItemStringForFilter = (\n    salesItemId : SalesItemId,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n) : string => {\n\n    if (productsById !== lastProductsById) {\n        lastProductsById = productsById;\n        salesItemFilterStringCache.clear();\n    }\n    if (salesItemsById !== lastSalesItemsById) {\n        // performance: only clear the cache of items that have changed. if a linked item has changed\n        // this may not quite update the search, but speeds up performance in a significant way.\n        salesItemsById.forEach((newSalesItemWithMetadata, newSalesItemId) => {\n            if (lastSalesItemsById.get(newSalesItemId) !== salesItemsById.get(newSalesItemId)) {\n                salesItemFilterStringCache.delete(newSalesItemId);\n            }\n        });\n        lastSalesItemsById = salesItemsById;\n    }\n\n    if (salesItemFilterStringCache.has(salesItemId)) {\n        const cacheValue  = salesItemFilterStringCache.get(salesItemId);\n\n        if (typeof cacheValue === 'undefined') {\n            throw new RuntimeException('unexpected');\n        }\n\n        return cacheValue;\n    }\n\n    const salesItemWithMetadata = salesItemsById.get(salesItemId);\n    if (typeof salesItemWithMetadata === 'undefined') {\n        throw new RuntimeException('unexpected');\n    }\n\n    const salesItemStringForFilter = createSalesItemStringForFilter(salesItemWithMetadata.getSalesItem(), salesItemsById, productsById);\n    salesItemFilterStringCache.set(salesItemId, salesItemStringForFilter);\n\n    return salesItemStringForFilter;\n};\n\nexport const defaultSalesItemRowFilter = (\n    salesItemId : SalesItemId,\n    cleanedFilterTerm : string | null,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n) : boolean => {\n    if (cleanedFilterTerm === null || cleanedFilterTerm === '') {\n        return true;\n    }\n\n    const salesItemStringForSearch = cachedCreateSalesItemStringForFilter(salesItemId, salesItemsById, productsById);\n    const filterTokens = cleanedFilterTerm.split(' ');\n\n    for (let i = 0; i < filterTokens.length; i++) {\n        if (salesItemStringForSearch.indexOf(filterTokens[i]) < 0) {\n            return false;\n        }\n    }\n\n    return true;\n};\n\n// group name based on SalesItemGroupByOption\nexport const getDefaultGroupNameForSalesItemRow = (\n    salesItemId : SalesItemId,\n    salesItemsById : StringValueMap<SalesItemId, SalesItemWithMetadata>,\n    productsById : StringValueMap<ProductId, Product>,\n    groupByOption : GroupByOption\n) : string => {\n    const salesItemWithMetadata = salesItemsById.get(salesItemId);\n    if (typeof salesItemWithMetadata === 'undefined') {\n        throw new RuntimeException('unexpected');\n    }\n\n    switch (groupByOption) {\n        case GroupByOption.ALL_ITEMS:\n            return ALL_ITEMS_GROUP_NAME;\n        case GroupByOption.MENU_GROUP:\n            const menuGroup = salesItemWithMetadata.getSalesItem().getMenuGroup();\n            return menuGroup === '' ? DEFAULT_UNASSIGNED_MENU_GROUP : menuGroup;\n        case GroupByOption.LAST_EDITED: // TODO think about caching category and subcategory...\n            const lastEditedMetadata = salesItemWithMetadata.getLastEditedMetadata();\n            const lastEditedTimestamp = lastEditedMetadata ? lastEditedMetadata.getTimestamp() : salesItemWithMetadata.getCreationMetadata().getTimestamp();\n\n            return getDefaultTimestampGroupName(lastEditedTimestamp);\n        case GroupByOption.DISTRIBUTOR:\n        case GroupByOption.CATEGORY:\n        case GroupByOption.ITEM_TYPE:\n        case GroupByOption.GL_CODE:\n        default:\n            throw new RuntimeException('unexpected groupByOption');\n    }\n};\n\n// group name comparator based on SalesItemGroupByOption\nexport const defaultGroupNameComparator = (groupName1 : string, groupName2 : string, groupByOption : GroupByOption) : number => {\n    switch (groupByOption) {\n        case GroupByOption.ALL_ITEMS:\n            // should not matter\n            return 0;\n        case GroupByOption.MENU_GROUP:\n            return cleanPhrase(groupName1).localeCompare(cleanPhrase(groupName2));\n        case GroupByOption.LAST_EDITED:\n            return getTimestampGroupComparator(groupName1, groupName2);\n        case GroupByOption.DISTRIBUTOR:\n        case GroupByOption.CATEGORY:\n        case GroupByOption.ITEM_TYPE:\n        case GroupByOption.GL_CODE:\n        default:\n            throw new RuntimeException('unexpected groupByOption');\n    }\n};\n","import { PackagingId } from 'api/Product/model/PackagingId';\nimport { QuantityInUnit } from 'api/Product/model/QuantityInUnit';\nimport { Unit } from 'api/Product/model/Unit';\nimport { IColumnSorting } from 'shared/components/SortableColumnHeader';\nimport { RuntimeException } from 'shared/lib/general/exceptions/RuntimeException';\nimport { StringUtils } from 'shared/utils/stringUtils';\n\nexport interface ISortedFilteredAndGroupedResult<T> {\n    sortedRowIdsToDisplayByGroupName : {[groupName : string] : Array<T>};\n    sortedGroupNamesToDisplay : Array<string>;\n    panelIsOpenByGroupNameFromFiltering : {[groupName : string] : boolean};\n    unfilteredSortedRowIdsByGroupName : {[groupName : string] : Array<T>};\n}\n\ninterface IGroupByResult<T> {\n    sortedGroupNames : Array<string>;\n    groupNamesByRowId : Map<T, string>;\n}\n\nexport class SortingFilteringAndGroupingUtil<T, E, G> {\n    private lastArgumentsAndResults : undefined | {\n        rowIds : Array<T>;\n        columnSort : IColumnSorting | null;\n        filterTerm : string | null;\n        groupByOption : G;\n        extraArgs : E;\n        sortResult : Array<T>;\n        filterResult : Set<T>;\n        groupByResult : IGroupByResult<T>;\n    };\n\n    constructor(\n        private readonly rowIdComparator : (rowId1 : T, rowId2 : T, columnSort : IColumnSorting, extraArgs : E)  => number,\n        private readonly rowIdFilterFunction : (rowId : T, filterTerm : string | null, extraArgs : E) => boolean,\n        private readonly getGroupNameForRowId : (rowId : T, groupByOption : G, extraArgs : E) => string,\n        private readonly groupNameComparator : (groupName1 : string, groupName2 : string, groupByOption : G, extraArgs : E) => number,\n        private readonly intermediateResultCacheIsValid : (rowIds : Array<T>, lastRowIds : Array<T>, extraArgs : E, lastExtraArgs : E) => boolean,\n    ) {}\n\n    public getSortedFilteredAndGroupedResult(\n        rowIds : Array<T>,\n        columnSort : IColumnSorting | null,\n        filterTerm : string | null,\n        groupByOption : G,\n        extraArgs : E,\n    ) : Promise<ISortedFilteredAndGroupedResult<T>> {\n        let sortPromise;\n        let filterPromise;\n        let groupByPromise;\n\n        const lastArgumentsAndResults = this.lastArgumentsAndResults;\n\n        if ((typeof lastArgumentsAndResults !== 'undefined') && this.intermediateResultCacheIsValid(rowIds, lastArgumentsAndResults.rowIds, extraArgs, lastArgumentsAndResults.extraArgs)) {\n            if (columnSort !== null && lastArgumentsAndResults.columnSort !== null && columnSort.sortedBy === lastArgumentsAndResults.columnSort.sortedBy) {\n                if (columnSort.direction === lastArgumentsAndResults.columnSort.direction) {\n                    sortPromise = Promise.resolve(lastArgumentsAndResults.sortResult);\n                } else if (columnSort.sortedBy === 'INVOICE_STATUS') {\n                    // INVOICE_STATUS requires custom sorting behavior: status groups must stay in the same\n                    // order regardless of direction (PROCESSING, IN_PROGRESS etc, according to the order), but\n                    // dates within each status group should toggle with direction (newest to oldest etc).\n                    // The array reversal optimization breaks this since it would reverse status groups too.\n                    // Set sortPromise = undefined to force a full re-sort using the comparator.\n                    sortPromise = undefined;\n                } else {\n                    sortPromise = Promise.resolve(lastArgumentsAndResults.sortResult.slice().reverse());\n                }\n            }\n\n            if (filterTerm === lastArgumentsAndResults.filterTerm) {\n                filterPromise = Promise.resolve(lastArgumentsAndResults.filterResult);\n            }\n\n            if (groupByOption === lastArgumentsAndResults.groupByOption) {\n                groupByPromise = Promise.resolve(lastArgumentsAndResults.groupByResult);\n            }\n        }\n\n        if (columnSort === null) {\n            sortPromise = Promise.resolve(rowIds);\n        } else if (typeof sortPromise === 'undefined') {\n            if ((typeof lastArgumentsAndResults !== 'undefined') && (rowIds === lastArgumentsAndResults.rowIds) && (extraArgs === lastArgumentsAndResults.extraArgs)) {\n                sortPromise = this.asyncSort(lastArgumentsAndResults.sortResult, (rowId1 : T, rowId2 : T) => this.rowIdComparator(rowId1, rowId2, columnSort, extraArgs));\n            } else {\n                sortPromise = this.asyncSort(rowIds, (rowId1 : T, rowId2 : T) => this.rowIdComparator(rowId1, rowId2, columnSort, extraArgs));\n            }\n        }\n\n        if (typeof filterPromise === 'undefined') {\n            // previously calling this cleanPhrase was up to the implementation of the rowId filter function - that makes it more flexible but\n            // in practice we always called cleanPhrase. And when called in the filter function, we did it for literally every row. more performant to\n            // do this one time, here.\n            const cleanedFilterTerm = (filterTerm === null || filterTerm === '') ? filterTerm : cleanPhrase(filterTerm);\n            filterPromise = this.asyncFilter(rowIds, (rowId : T) => this.rowIdFilterFunction(rowId, cleanedFilterTerm, extraArgs));\n        }\n\n        if (typeof groupByPromise === 'undefined') {\n            groupByPromise = this.asyncGroupBy(\n                rowIds,\n                (rowId : T) => this.getGroupNameForRowId(rowId, groupByOption, extraArgs),\n                (groupName1 : string, groupName2 : string) => this.groupNameComparator(groupName1, groupName2, groupByOption, extraArgs)\n            );\n        }\n\n        return Promise.all([sortPromise, filterPromise, groupByPromise])\n        .then((result : [Array<T>, Set<T>, IGroupByResult<T>]) => {\n            const sortResult = result[0];\n            const filterResult = result[1];\n            const groupByResult = result[2];\n\n            this.lastArgumentsAndResults = {\n                rowIds,\n                columnSort,\n                filterTerm,\n                groupByOption,\n                extraArgs,\n                sortResult,\n                filterResult,\n                groupByResult,\n            };\n\n            const sortedRowIdsToDisplayByGroupName : {[groupName : string] : Array<T>} = {};\n            const unfilteredSortedRowIdsByGroupName : {[groupName : string] : Array<T>} = {};\n            sortResult.forEach((rowId : T) => {\n                const groupName = groupByResult.groupNamesByRowId.get(rowId);\n\n                if (typeof groupName === 'undefined') {\n                    throw new RuntimeException('no group name for row ' + JSON.stringify(rowId));\n                }\n\n                const unfilteredSortedRowIds = unfilteredSortedRowIdsByGroupName[groupName] || [];\n                unfilteredSortedRowIds.push(rowId);\n                unfilteredSortedRowIdsByGroupName[groupName] = unfilteredSortedRowIds;\n\n                if (filterResult.has(rowId)) {\n                    const groupRowIds = sortedRowIdsToDisplayByGroupName[groupName];\n                    if (groupRowIds) {\n                        groupRowIds.push(rowId);\n                    } else {\n                        sortedRowIdsToDisplayByGroupName[groupName] = [rowId];\n                    }\n                }\n            });\n\n            const sortedGroupNamesToDisplay : Array<string> = [];\n            groupByResult.sortedGroupNames.forEach((groupName : string) => {\n                if (typeof sortedRowIdsToDisplayByGroupName[groupName] !== 'undefined') {\n                    sortedGroupNamesToDisplay.push(groupName);\n                }\n            });\n\n            const panelIsOpenByGroupNameFromFiltering : {[groupName : string] : boolean} = {};\n            if (filterTerm) {\n                if ((filterTerm.length >= 4) || (filterResult.size <= 15 && sortedGroupNamesToDisplay.length <= 6) || (filterResult.size <= 25 && sortedGroupNamesToDisplay.length <= 2)) {\n                    sortedGroupNamesToDisplay.forEach((groupName : string) => {\n                        panelIsOpenByGroupNameFromFiltering[groupName] = true;\n                    });\n                }\n            }\n\n            return Promise.resolve({\n                sortedRowIdsToDisplayByGroupName,\n                sortedGroupNamesToDisplay,\n                panelIsOpenByGroupNameFromFiltering,\n                unfilteredSortedRowIdsByGroupName\n            });\n        });\n    }\n\n    // Sorting\n    private asyncSort(rowIds : Array<T>, rowIdComparator : (rowId1 : T, rowId2 : T)  => number) : Promise<Array<T>> {\n        return Promise.resolve(rowIds.slice().sort(rowIdComparator));\n    }\n\n    // Filtering/Searching\n    private asyncFilter(rowIds : Array<T>, rowIdFilterFunction : (rowId : T) => boolean) : Promise<Set<T>> {\n        return Promise.resolve(new Set<T>(rowIds.slice().filter(rowIdFilterFunction)));\n    }\n\n    // Grouping\n    private asyncGroupBy(\n        rowIds : Array<T>,\n        getGroupNameForRowId : (rowId : T) => string,\n        groupNameComparator : (groupName1 : string, groupName2 : string) => number,\n    ) : Promise<{sortedGroupNames : Array<string>, groupNamesByRowId : Map<T, string>}> {\n\n        const groupNames = new Set<string>();\n        const groupNamesByRowId = new Map<T, string>();\n        rowIds.forEach((rowId) => {\n            const groupName : string = getGroupNameForRowId(rowId);\n            groupNames.add(groupName);\n            groupNamesByRowId.set(rowId, groupName);\n        });\n\n        // TODO maybe async sort this. Definitely overkill for the number of groups we currently expect\n        const sortedGroupNames : Array<string> = Array.from(groupNames.keys()).sort(groupNameComparator);\n\n        return Promise.resolve({\n            sortedGroupNames,\n            groupNamesByRowId\n        });\n    }\n}\n\nexport const cleanPhrase = (phrase : string) : string => {\n    return StringUtils.cleanPhrase(phrase)\n};\n\nexport const cleanToken = (token : string) : string => {\n    return StringUtils.cleanToken(token);\n};\n\nexport const compareNumbers = (number1 : number | undefined, number2 : number | undefined) : number => {\n    if (typeof number1 === 'undefined') {\n        return -1;\n    }\n\n    if (typeof number2 === 'undefined') {\n        return 1;\n    }\n\n    if (number1 === number2) {\n        return 0;\n    }\n\n    return (number1 > number2) ? 1 : -1;\n};\n\nexport const compareQuantityInUnitQuantities = (quantityInUnit1 : QuantityInUnit<Unit | PackagingId> | undefined, quantityInUnit2 : QuantityInUnit<Unit | PackagingId> | undefined) => {\n    return compareNumbers(quantityInUnit1 ? quantityInUnit1.getQuantity() : undefined, quantityInUnit2 ? quantityInUnit2.getQuantity() : undefined);\n};\n\nexport const getIsOpenByGroupName = (\n    displayedGroupNames : Array<string>,\n    panelIsOpenByGroupNameFromFiltering : {[groupName : string] : boolean},\n    panelIsOpenByGroupNameFromUserInput : {[groupName : string] : boolean},\n    defaultPanelIsOpen : boolean,\n) => {\n    const isOpenByGroupName : {[groupName : string] : boolean} = {};\n    displayedGroupNames.forEach((groupName : string) => {\n        let panelIsOpenFromUserInput = panelIsOpenByGroupNameFromUserInput[groupName];\n        if (typeof panelIsOpenFromUserInput === 'undefined') {\n            panelIsOpenFromUserInput = defaultPanelIsOpen;\n        }\n        isOpenByGroupName[groupName] = panelIsOpenByGroupNameFromFiltering[ groupName ] || panelIsOpenFromUserInput;\n    });\n    return isOpenByGroupName;\n};\n\nexport const getClickWillCollapseAll = (isOpenByGroupName : {[groupName : string] : boolean}) => {\n    return Object.keys(isOpenByGroupName).reduce((nextClickWillCollapseAll : boolean, groupName : string) => nextClickWillCollapseAll || isOpenByGroupName[groupName], false);\n};\n","export namespace StringUtils {\n\n    export const normalizeToTitleCase = (rawValue : string) : string => {\n\n        // NOTE THIS FUNCTION MUST MATCH THE LOGIC IN PYTHON: string_utils.ts!\n\n        return rawValue\n\n            // Normalize the whole string into lower case.\n            .toLowerCase()\n\n            // Join whitespace characters into single spaces.\n            .split(/\\s/).filter((word) => word !== '').join(' ')\n\n            // Replace each first letter of each word with an upper case.\n            // See anything not in [a-zA-Z0-9_'] as a seperator.\n            .replace(\n                /([^a-zA-Z0-9_']+|^)([a-zA-Z0-9_'])/g,\n                (match, separator, firstLetter) =>\n                    separator + firstLetter.toUpperCase());\n    };\n\n    // Future work: can take plural for ends in y\n    export const pluralizeNumber = (descriptor : string, valuesLength : number) : string => {\n        return `${ valuesLength } ${ descriptor }${ valuesLength === 1 ? '' : 's'}`;\n    };\n\n    // cleanPhrase noticeably slows down iteration through very large arrays. should be very deliberate about when to use it\n    export const cleanPhrase = (phrase : string | null) : string => {\n        if (!phrase) {\n            return '';\n        }\n        const trimmedPhrase = phrase.trim();\n        const cleanedTokens : Array<string> = trimmedPhrase.split(/\\s+/g).map(cleanToken);\n        return cleanedTokens.join(' ');\n    };\n\n    // Case-insensitive string compare that treats nulls as greater than any value,\n    // so a plain ascending sort lands them at the bottom.\n    export const compareNullable = (a : string | null, b : string | null) : number => {\n        if (a === null && b === null) return 0;\n        if (a === null) return 1;\n        if (b === null) return -1;\n        return a.localeCompare(b, undefined, { sensitivity: 'base' });\n    };\n\n    export const cleanToken = (token : string) : string => {\n        // token = token.replace(/^\\s+|\\s+$/g, ''); // strip whitespace\n        // token = token.replace(/[^\\w|\\.]/g, ''); // strip special characters\n\n        // note that period is not a special character here... this matches previous behavior\n        // change from previous behavior: this allows non ascii characters to remain, like ö or å\n        token = token.replace(/\\s+|[&\\/\\\\#,+()$~%'\":;*\\^?<>{}\\[\\]]/g, ''); // strip whitespace and special characters\n\n        return token.toLowerCase();\n    };\n\n}\n","import * as CoreTimeModel from 'gen-thrift/core_time_Model_types';\nimport moment from 'moment-timezone';\nimport { numberUtils } from 'shared/utils/numberUtils';\n\nexport enum TimestampGroups {\n    SEVEN_DAYS = 'Within 7 days',\n    THIRTY_DAYS = 'Within 30 days',\n    SIX_MONTHS = 'Within 6 months',\n    OLDER_THAN_TWELVE_MONTHS = 'More than 12 months'\n}\n\nconst TimestampSortOrder : Array<string> = [\n    TimestampGroups.SEVEN_DAYS,\n    TimestampGroups.THIRTY_DAYS,\n    TimestampGroups.SIX_MONTHS,\n    TimestampGroups.OLDER_THAN_TWELVE_MONTHS\n];\n\nexport const getDefaultTimestampGroupName = (timestamp : CoreTimeModel.TimestampWithMillisecondPrecision) : string => {\n    const daysFromCurrentDate = moment.utc().diff(moment.utc(numberUtils.ThriftInt64ToNumber(timestamp.timeSinceUnixEpoch.value)), 'day');\n    if (daysFromCurrentDate < 7) {\n        return TimestampGroups.SEVEN_DAYS;\n    } else if (daysFromCurrentDate < 30) {\n        return TimestampGroups.THIRTY_DAYS;\n    } else if (daysFromCurrentDate < (30 * 6)) {\n        return TimestampGroups.SIX_MONTHS;\n    } else {\n        return TimestampGroups.OLDER_THAN_TWELVE_MONTHS;\n    }\n};\n\nexport const getTimestampGroupComparator = (groupName1 : string, groupName2: string) => {\n    const sortOrder1 = TimestampSortOrder.indexOf(groupName1);\n    const sortOrder2 = TimestampSortOrder.indexOf(groupName2);\n    return sortOrder1 - sortOrder2;\n};\n","import { PublicContentUrl } from 'api/PublicContent/model/PublicContentUrl';\n\ninterface IQueryParametersMap {\n    [k : string] : Array<string>;\n}\n\nexport const URLStringUtils = {\n    // Cheezy 04/05/2017\n    // Adapted from http://stackoverflow.com/a/21553982\n    getLocation: (\n        urlString : string\n    ) => {\n        const match = urlString.match(/^(https?\\:)\\/\\/(([^:\\/?#]*)(?:\\:([0-9]+))?)([\\/]{0,1}[^?#]*)(\\?[^#]*|)(#.*|)$/);\n\n        return match && {\n            protocol: match[1],\n            host: match[2],\n            hostname: match[3],\n            port: match[4],\n            pathname: match[5],\n            search: match[6],\n            hash: match[7]\n        };\n    },\n\n    // Cheezy 04/05/2017\n    // Adapted from https://github.com/unshiftio/querystringify\n    parseQueryString: (\n        queryString : string\n    ) : IQueryParametersMap => {\n        const parser = /([^=?&]+)=?([^&]*)/g;\n        const result : { [k : string] : Array<string> } = {};\n\n        function decode(input : string) {\n            return decodeURIComponent(input.replace(/\\+/g, ' '));\n        }\n\n        let part = parser.exec(queryString);\n        while (part) {\n            const key = decode(part[1]);\n\n            if (result[key]) {\n                result[key] = result[key].concat([decode(part[2])]);\n            } else {\n                result[key] = [decode(part[2])];\n            }\n            part = parser.exec(queryString);\n        }\n\n        return result;\n    },\n\n    // https://stackoverflow.com/a/9870540/3100850\n    getQueryParameterFromUrl: (parameter : string) : string => {\n        return decodeURIComponent(\n            window.location.search.replace(\n                new RegExp(\n                    '^(?:.*[&\\\\?]' +\n                    encodeURIComponent(parameter).replace(/[\\.\\+\\*]/g, '\\\\$&') +\n                    '(?:\\\\=([^&]*))?)?.*$',\n                'i'), '$1'));\n    },\n\n    // Cheezy 04/05/2017\n    // Adapted from https://github.com/unshiftio/querystringify\n    queryStringify: (\n        queryParameters : IQueryParametersMap,\n        excludePrefix? : boolean,\n    ) : string => {\n        const pairs : Array<string> = [];\n\n        Object.keys(queryParameters).forEach((key : string) => {\n            queryParameters[key].forEach((value : string) => {\n                pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));\n            });\n        });\n\n        const prefix = '?';\n        return pairs.length ? (!!excludePrefix ? pairs.join('&') : prefix + pairs.join('&')) : '';\n    },\n\n    getUrlString: (\n        publicContentUrl : PublicContentUrl\n    ) : string => {\n        return 'https://' + publicContentUrl.getHostname() + publicContentUrl.getPath();\n    },\n\n    replaceOrRemoveURLParameter: (\n        urlString : string,\n        key : string,\n        value : string | null,\n    ) : string => {\n        const tempArray = urlString.split('?');\n        const paramString = tempArray[1];\n\n        let returnUrl = tempArray[0];\n        let delimiter = '?';\n        if (paramString) {\n            const params = paramString.split('&');\n            params.forEach((param, i) => {\n                if (param.split('=')[0].toLowerCase() !== key.toLowerCase()) {\n                    returnUrl += delimiter + param;\n                    delimiter = '&';\n                }\n            });\n        }\n\n        if (!(value === null)) {\n            returnUrl += delimiter + key + '=' + value;\n        }\n\n        return returnUrl;\n    },\n};\n","export interface IValidationResult {\n    isValid : boolean;\n    errorMessage : string | null;\n}\nexport interface IHourInputValidatorArgs {\n    value : string;\n}\nexport interface IMinuteInputValidatorArgs {\n    value : string;\n}\nexport interface INumberInputValidatorArgs {\n    max : number | null;\n    min : number | null;\n    precision : number | null;\n    value : string | null;\n}\nexport const InputValidators = {\n    hourInputValidator: (args : IHourInputValidatorArgs) : IValidationResult => {\n        const numberValidatorArgs : INumberInputValidatorArgs = {\n            max: null,\n            min: null,\n            precision: 0,\n            value: args.value,\n        };\n        const valueIsNumber : IValidationResult = InputValidators.numberInputValidator(numberValidatorArgs);\n        if (!valueIsNumber.isValid) {\n            return {\n                errorMessage: 'Invalid value',\n                isValid: false,\n            };\n        }\n        const valueAsNumber = parseInt(args.value, 10);\n        if (valueAsNumber > 12 || valueAsNumber < 1) {\n            return {\n                errorMessage: 'Invalid value',\n                isValid: false,\n            };\n        }\n        return {\n            errorMessage: null,\n            isValid: true,\n        };\n    },\n    minuteInputValidator: (args : IMinuteInputValidatorArgs) : IValidationResult => {\n        const numberValidatorArgs : INumberInputValidatorArgs = {\n            max: null,\n            min: null,\n            precision: 0,\n            value: args.value,\n        };\n        const valueIsNumber : IValidationResult = InputValidators.numberInputValidator(numberValidatorArgs);\n        if (!valueIsNumber.isValid) {\n            return {\n                errorMessage: 'Invalid value',\n                isValid: false,\n            };\n        }\n        const valueAsNumber = parseInt(args.value, 10);\n        if (valueAsNumber > 59 || valueAsNumber < 0) {\n            return {\n                errorMessage: 'Invalid value',\n                isValid: false,\n            };\n        }\n        return {\n            errorMessage: null,\n            isValid: true,\n        };\n    },\n    numberInputValidator: (args : INumberInputValidatorArgs) : IValidationResult => {\n        const {\n            value,\n            min,\n            max,\n            precision,\n        } = args;\n        if (value === null) {\n            throw new Error('Quantity cannot be null');\n        }\n        if (precision !== null && precision < 0) {\n            throw new Error('NumberInput precision must be greater than zero');\n        }\n\n        const valueAsNumber = parseFloat(value);\n        // Makes sure that only digits and a decimal point exist in value\n        const containsOnlyDigitsAndDecimal = /^\\d*\\.?\\d*$/.test(value);\n        if (isNaN(valueAsNumber) || !containsOnlyDigitsAndDecimal) {\n            return {\n                errorMessage: 'Quantity must be a number',\n                isValid: false,\n            };\n        }\n        if (min !== null && valueAsNumber < min) {\n            return {\n                errorMessage: 'Quantity cannot be less than ' + min + '',\n                isValid: false,\n            };\n        }\n        if (max !== null && valueAsNumber > max) {\n            return {\n                errorMessage: 'Quantity cannot be greater than ' + max + '',\n                isValid: false,\n            };\n        }\n        if (precision !== null) {\n            // TODO: better precision validation?\n            const splitValue = value.split('.');\n            if (splitValue.length === 2) {\n                if (splitValue[1].length > precision) {\n                    return {\n                        errorMessage: 'Quantity must be to the ' + precision + ' decimal place',\n                        isValid: false,\n                    };\n                }\n                if (splitValue[1] === '') {\n                    return {\n                        errorMessage: 'Quantity must be a number',\n                        isValid: false,\n                    };\n                }\n            }\n        }\n        return {\n            errorMessage: null,\n            isValid: true,\n        };\n    },\n};\n","import { Validation } from './validators';\n\n// can make this more robust in the future (check that name !== any other name?)\n// if this validation changes, need to make sure that select2 assign to storage areas dropdown works as expected\nexport const validateNewStorageAreaName = (name : string) : {isValid : boolean, errorMessage : string} => {\n    const isValid = Validation.validateRequired(name);\n    const errorMessage = isValid ? '' : 'Invalid storage area name';\n    return {\n        isValid,\n        errorMessage\n    };\n};\n","export type ValidationFunction = (value : string) => boolean;\n\nexport const Validation = {\n    validateRequired: (value : unknown) : boolean => {\n        return ((value !== null) && (value !== ''));\n    },\n\n    validateEmailAddress: (value : string) : boolean => {\n        // Lesman 6/13/2017\n        // adapted from and tested against the following\n        // http://www.regular-expressions.info/email.html\n        // https://support.google.com/a/answer/33386?hl=en\n        // https://blogs.msdn.microsoft.com/testing123/2009/02/06/email-address-test-cases/\n        return /^(?=.{4,255}$)(?=[^@]{1,63}@)[a-zA-Z0-9_\\\"\\'+-](\\.?[a-zA-Z0-9_\\\"\\'+-])*@((?=[a-zA-Z0-9-]{1,63}\\.)[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.){1,8}[a-zA-Z]{2,63}$/.test(value);\n    },\n\n    // future work: can grab regex for country based on country code, if we want to store/maintain this map\n    // https://stackoverflow.com/questions/578406/what-is-the-ultimate-postal-code-and-zip-regex\n    validateUSZipCode: (value : string) : boolean => {\n        return /^\\d{5}([\\- ]?\\d{4})?$/.test(value);\n    },\n\n    validateZipCode: (value : string, countryCode : string | null) : boolean => {\n        if (countryCode === 'US') {\n            return Validation.validateUSZipCode(value);\n        }\n        // TODO later: can specifically handle other countries if need be\n\n        return true;\n    },\n\n    validateUSPhoneNumber: (value : string) : boolean => {\n        return /^(\\+1)?([()/\\.\\-\\s]*\\d){10}\\s*((ext|x)\\s*\\d+)*$/.test(value);\n    },\n\n    // Allowing null for cases where you want some generic phone number validation without the context of a country (Like when we are creating user accounts)\n    validatePhoneNumber: (value : string, countryCode : string | null) : boolean => {\n        let isValid = Validation.validateUSPhoneNumber(value);\n\n        if (!isValid && countryCode !== 'US') {\n            // If it failed US validation and this is not US, then treat as a international number\n            isValid = ((value !== null) && (value !== '')) && /([+]\\d{1,2}[.-\\s]?)(\\d{3}[.-\\s]?){2}(\\d{4})/g.test(value);\n        }\n        return isValid;\n    },\n\n    validateUSD: (value : string) : boolean => {\n        return /^\\$?[0-9,]+\\.?[0-9]*$/.test(value) || /^\\$?[0-9,]*\\.?[0-9]+$/.test(value);\n    },\n\n    validatePercentage: (value : string) : boolean => {\n        return /^[0-9,]+\\.?[0-9]*%?$/.test(value) || /^[0-9,]*\\.?[0-9]+%?$/.test(value);\n    },\n\n    validateNonNegativeNumber: (value : string) : boolean => {\n        return /^[0-9]+\\.?[0-9]*$/.test(value) || /^[0-9]*\\.?[0-9]+$/.test(value);\n    },\n\n    validateNumber: (value : string) : boolean => {\n        return /^-?[0-9]+\\.?[0-9]*$/.test(value) || /^-?[0-9]*\\.?[0-9]+$/.test(value);\n    },\n\n    validateGreaterThanZero: (value: string): boolean => {\n        return /^(0*\\.0*[1-9]\\d*|[1-9]\\d*(\\.\\d+)?)$/.test(value); \n    },\n    \n    validateExpirationDate : (value : string) : boolean => {\n        return /^(0[1-9]|1[0-2])\\/([0-9]{2})$/.test(value);\n    },\n\n    validateShortText : (value : string) : boolean => {\n        return /^.{0,250}$/.test(value);\n    },\n\n    validateLongText : (value : string) : boolean => {\n        return /^.{0,4096}$/.test(value); // this number was picked arbitrarily as an upper limit, can be adjusted\n    },\n\n    makeMaxLen: (maxLen : number) : ValidationFunction => {\n        return (value : string) => value.length <= maxLen;\n    },\n\n    empty: (value : string) : boolean => value.length === 0,\n\n    short: (value : string) : boolean => value.length <= 250,\n\n    long: (value : string) : boolean => value.length <= 4096,\n\n    and: (a : ValidationFunction, b : ValidationFunction) : ValidationFunction =>\n        (value : string) => a(value) && b(value),\n\n    or: (a : ValidationFunction, b : ValidationFunction) : ValidationFunction =>\n        (value : string) => a(value) || b(value),\n\n    validateNoWhitepace: (value : string) : boolean => {\n        return !/\\s+/.test(value);\n    }\n};\n\nexport interface IValidationResult {\n    isValid : boolean;\n    errorMessage : string;\n}\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n  lookup[i] = code[i]\n  revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n  var len = b64.length\n\n  if (len % 4 > 0) {\n    throw new Error('Invalid string. Length must be a multiple of 4')\n  }\n\n  // Trim off extra bytes after placeholder bytes are found\n  // See: https://github.com/beatgammit/base64-js/issues/42\n  var validLen = b64.indexOf('=')\n  if (validLen === -1) validLen = len\n\n  var placeHoldersLen = validLen === len\n    ? 0\n    : 4 - (validLen % 4)\n\n  return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n  var lens = getLens(b64)\n  var validLen = lens[0]\n  var placeHoldersLen = lens[1]\n  return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n  return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n  var tmp\n  var lens = getLens(b64)\n  var validLen = lens[0]\n  var placeHoldersLen = lens[1]\n\n  var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n  var curByte = 0\n\n  // if there are placeholders, only get up to the last complete 4 chars\n  var len = placeHoldersLen > 0\n    ? validLen - 4\n    : validLen\n\n  var i\n  for (i = 0; i < len; i += 4) {\n    tmp =\n      (revLookup[b64.charCodeAt(i)] << 18) |\n      (revLookup[b64.charCodeAt(i + 1)] << 12) |\n      (revLookup[b64.charCodeAt(i + 2)] << 6) |\n      revLookup[b64.charCodeAt(i + 3)]\n    arr[curByte++] = (tmp >> 16) & 0xFF\n    arr[curByte++] = (tmp >> 8) & 0xFF\n    arr[curByte++] = tmp & 0xFF\n  }\n\n  if (placeHoldersLen === 2) {\n    tmp =\n      (revLookup[b64.charCodeAt(i)] << 2) |\n      (revLookup[b64.charCodeAt(i + 1)] >> 4)\n    arr[curByte++] = tmp & 0xFF\n  }\n\n  if (placeHoldersLen === 1) {\n    tmp =\n      (revLookup[b64.charCodeAt(i)] << 10) |\n      (revLookup[b64.charCodeAt(i + 1)] << 4) |\n      (revLookup[b64.charCodeAt(i + 2)] >> 2)\n    arr[curByte++] = (tmp >> 8) & 0xFF\n    arr[curByte++] = tmp & 0xFF\n  }\n\n  return arr\n}\n\nfunction tripletToBase64 (num) {\n  return lookup[num >> 18 & 0x3F] +\n    lookup[num >> 12 & 0x3F] +\n    lookup[num >> 6 & 0x3F] +\n    lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n  var tmp\n  var output = []\n  for (var i = start; i < end; i += 3) {\n    tmp =\n      ((uint8[i] << 16) & 0xFF0000) +\n      ((uint8[i + 1] << 8) & 0xFF00) +\n      (uint8[i + 2] & 0xFF)\n    output.push(tripletToBase64(tmp))\n  }\n  return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n  var tmp\n  var len = uint8.length\n  var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n  var parts = []\n  var maxChunkLength = 16383 // must be multiple of 3\n\n  // go through the array every three bytes, we'll deal with trailing stuff later\n  for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n    parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n  }\n\n  // pad the end with zeros, but make sure to not forget the extra bytes\n  if (extraBytes === 1) {\n    tmp = uint8[len - 1]\n    parts.push(\n      lookup[tmp >> 2] +\n      lookup[(tmp << 4) & 0x3F] +\n      '=='\n    )\n  } else if (extraBytes === 2) {\n    tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n    parts.push(\n      lookup[tmp >> 10] +\n      lookup[(tmp >> 4) & 0x3F] +\n      lookup[(tmp << 2) & 0x3F] +\n      '='\n    )\n  }\n\n  return parts.join('')\n}\n","!function(e,t){if(\"function\"==typeof define&&define.amd)define([\"exports\"],t);else if(\"undefined\"!=typeof exports)t(exports);else{var o={};t(o),e.bodyScrollLock=o}}(this,function(exports){\"use strict\";function r(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}Object.defineProperty(exports,\"__esModule\",{value:!0});var l=!1;if(\"undefined\"!=typeof window){var e={get passive(){l=!0}};window.addEventListener(\"testPassive\",null,e),window.removeEventListener(\"testPassive\",null,e)}var d=\"undefined\"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),c=[],u=!1,a=-1,s=void 0,v=void 0,f=function(t){return c.some(function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))})},m=function(e){var t=e||window.event;return!!f(t.target)||(1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1))},o=function(){setTimeout(function(){void 0!==v&&(document.body.style.paddingRight=v,v=void 0),void 0!==s&&(document.body.style.overflow=s,s=void 0)})};exports.disableBodyScroll=function(i,e){if(d){if(!i)return void console.error(\"disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.\");if(i&&!c.some(function(e){return e.targetElement===i})){var t={targetElement:i,options:e||{}};c=[].concat(r(c),[t]),i.ontouchstart=function(e){1===e.targetTouches.length&&(a=e.targetTouches[0].clientY)},i.ontouchmove=function(e){var t,o,n,r;1===e.targetTouches.length&&(o=i,r=(t=e).targetTouches[0].clientY-a,!f(t.target)&&(o&&0===o.scrollTop&&0<r?m(t):(n=o)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&r<0?m(t):t.stopPropagation()))},u||(document.addEventListener(\"touchmove\",m,l?{passive:!1}:void 0),u=!0)}}else{n=e,setTimeout(function(){if(void 0===v){var e=!!n&&!0===n.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(v=document.body.style.paddingRight,document.body.style.paddingRight=t+\"px\")}void 0===s&&(s=document.body.style.overflow,document.body.style.overflow=\"hidden\")});var o={targetElement:i,options:e||{}};c=[].concat(r(c),[o])}var n},exports.clearAllBodyScrollLocks=function(){d?(c.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),u&&(document.removeEventListener(\"touchmove\",m,l?{passive:!1}:void 0),u=!1),c=[],a=-1):(o(),c=[])},exports.enableBodyScroll=function(t){if(d){if(!t)return void console.error(\"enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.\");t.ontouchstart=null,t.ontouchmove=null,c=c.filter(function(e){return e.targetElement!==t}),u&&0===c.length&&(document.removeEventListener(\"touchmove\",m,l?{passive:!1}:void 0),u=!1)}else 1===c.length&&c[0].targetElement===t?(o(),c=[]):c=c.filter(function(e){return e.targetElement!==t})}});\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/* global window self */\n\nvar isBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined';\n\n/* eslint-disable no-restricted-globals */\nvar isWebWorker = (typeof self === 'undefined' ? 'undefined' : _typeof(self)) === 'object' && self.constructor && self.constructor.name === 'DedicatedWorkerGlobalScope';\n/* eslint-enable no-restricted-globals */\n\nvar isNode = typeof process !== 'undefined' && process.versions != null && process.versions.node != null;\n\n/**\n * @see https://github.com/jsdom/jsdom/releases/tag/12.0.0\n * @see https://github.com/jsdom/jsdom/issues/1537\n */\n/* eslint-disable no-undef */\nvar isJsDom = function isJsDom() {\n  return typeof window !== 'undefined' && window.name === 'nodejs' || navigator.userAgent.includes('Node.js') || navigator.userAgent.includes('jsdom');\n};\n\nexports.isBrowser = isBrowser;\nexports.isWebWorker = isWebWorker;\nexports.isNode = isNode;\nexports.isJsDom = isJsDom;","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author   Feross Aboukhadijeh <https://feross.org>\n * @license  MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nconst base64 = require('base64-js')\nconst ieee754 = require('ieee754')\nconst customInspectSymbol =\n  (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\n    ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\n    : null\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\nconst K_MAX_LENGTH = 0x7fffffff\nexports.kMaxLength = K_MAX_LENGTH\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n *   === true    Use Uint8Array implementation (fastest)\n *   === false   Print warning and recommend using `buffer` v4.x which has an Object\n *               implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * We report that the browser does not support typed arrays if the are not subclassable\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\n * for __proto__ and has a buggy typed array implementation.\n */\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\n\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\n    typeof console.error === 'function') {\n  console.error(\n    'This browser lacks typed array (Uint8Array) support which is required by ' +\n    '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\n  )\n}\n\nfunction typedArraySupport () {\n  // Can typed array instances can be augmented?\n  try {\n    const arr = new Uint8Array(1)\n    const proto = { foo: function () { return 42 } }\n    Object.setPrototypeOf(proto, Uint8Array.prototype)\n    Object.setPrototypeOf(arr, proto)\n    return arr.foo() === 42\n  } catch (e) {\n    return false\n  }\n}\n\nObject.defineProperty(Buffer.prototype, 'parent', {\n  enumerable: true,\n  get: function () {\n    if (!Buffer.isBuffer(this)) return undefined\n    return this.buffer\n  }\n})\n\nObject.defineProperty(Buffer.prototype, 'offset', {\n  enumerable: true,\n  get: function () {\n    if (!Buffer.isBuffer(this)) return undefined\n    return this.byteOffset\n  }\n})\n\nfunction createBuffer (length) {\n  if (length > K_MAX_LENGTH) {\n    throw new RangeError('The value \"' + length + '\" is invalid for option \"size\"')\n  }\n  // Return an augmented `Uint8Array` instance\n  const buf = new Uint8Array(length)\n  Object.setPrototypeOf(buf, Buffer.prototype)\n  return buf\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n  // Common case.\n  if (typeof arg === 'number') {\n    if (typeof encodingOrOffset === 'string') {\n      throw new TypeError(\n        'The \"string\" argument must be of type string. Received type number'\n      )\n    }\n    return allocUnsafe(arg)\n  }\n  return from(arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\nfunction from (value, encodingOrOffset, length) {\n  if (typeof value === 'string') {\n    return fromString(value, encodingOrOffset)\n  }\n\n  if (ArrayBuffer.isView(value)) {\n    return fromArrayView(value)\n  }\n\n  if (value == null) {\n    throw new TypeError(\n      'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n      'or Array-like Object. Received type ' + (typeof value)\n    )\n  }\n\n  if (isInstance(value, ArrayBuffer) ||\n      (value && isInstance(value.buffer, ArrayBuffer))) {\n    return fromArrayBuffer(value, encodingOrOffset, length)\n  }\n\n  if (typeof SharedArrayBuffer !== 'undefined' &&\n      (isInstance(value, SharedArrayBuffer) ||\n      (value && isInstance(value.buffer, SharedArrayBuffer)))) {\n    return fromArrayBuffer(value, encodingOrOffset, length)\n  }\n\n  if (typeof value === 'number') {\n    throw new TypeError(\n      'The \"value\" argument must not be of type number. Received type number'\n    )\n  }\n\n  const valueOf = value.valueOf && value.valueOf()\n  if (valueOf != null && valueOf !== value) {\n    return Buffer.from(valueOf, encodingOrOffset, length)\n  }\n\n  const b = fromObject(value)\n  if (b) return b\n\n  if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\n      typeof value[Symbol.toPrimitive] === 'function') {\n    return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)\n  }\n\n  throw new TypeError(\n    'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\n    'or Array-like Object. Received type ' + (typeof value)\n  )\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n  return from(value, encodingOrOffset, length)\n}\n\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\n// https://github.com/feross/buffer/pull/148\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\nObject.setPrototypeOf(Buffer, Uint8Array)\n\nfunction assertSize (size) {\n  if (typeof size !== 'number') {\n    throw new TypeError('\"size\" argument must be of type number')\n  } else if (size < 0) {\n    throw new RangeError('The value \"' + size + '\" is invalid for option \"size\"')\n  }\n}\n\nfunction alloc (size, fill, encoding) {\n  assertSize(size)\n  if (size <= 0) {\n    return createBuffer(size)\n  }\n  if (fill !== undefined) {\n    // Only pay attention to encoding if it's a string. This\n    // prevents accidentally sending in a number that would\n    // be interpreted as a start offset.\n    return typeof encoding === 'string'\n      ? createBuffer(size).fill(fill, encoding)\n      : createBuffer(size).fill(fill)\n  }\n  return createBuffer(size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n  return alloc(size, fill, encoding)\n}\n\nfunction allocUnsafe (size) {\n  assertSize(size)\n  return createBuffer(size < 0 ? 0 : checked(size) | 0)\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n  return allocUnsafe(size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n  return allocUnsafe(size)\n}\n\nfunction fromString (string, encoding) {\n  if (typeof encoding !== 'string' || encoding === '') {\n    encoding = 'utf8'\n  }\n\n  if (!Buffer.isEncoding(encoding)) {\n    throw new TypeError('Unknown encoding: ' + encoding)\n  }\n\n  const length = byteLength(string, encoding) | 0\n  let buf = createBuffer(length)\n\n  const actual = buf.write(string, encoding)\n\n  if (actual !== length) {\n    // Writing a hex string, for example, that contains invalid characters will\n    // cause everything after the first invalid character to be ignored. (e.g.\n    // 'abxxcd' will be treated as 'ab')\n    buf = buf.slice(0, actual)\n  }\n\n  return buf\n}\n\nfunction fromArrayLike (array) {\n  const length = array.length < 0 ? 0 : checked(array.length) | 0\n  const buf = createBuffer(length)\n  for (let i = 0; i < length; i += 1) {\n    buf[i] = array[i] & 255\n  }\n  return buf\n}\n\nfunction fromArrayView (arrayView) {\n  if (isInstance(arrayView, Uint8Array)) {\n    const copy = new Uint8Array(arrayView)\n    return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)\n  }\n  return fromArrayLike(arrayView)\n}\n\nfunction fromArrayBuffer (array, byteOffset, length) {\n  if (byteOffset < 0 || array.byteLength < byteOffset) {\n    throw new RangeError('\"offset\" is outside of buffer bounds')\n  }\n\n  if (array.byteLength < byteOffset + (length || 0)) {\n    throw new RangeError('\"length\" is outside of buffer bounds')\n  }\n\n  let buf\n  if (byteOffset === undefined && length === undefined) {\n    buf = new Uint8Array(array)\n  } else if (length === undefined) {\n    buf = new Uint8Array(array, byteOffset)\n  } else {\n    buf = new Uint8Array(array, byteOffset, length)\n  }\n\n  // Return an augmented `Uint8Array` instance\n  Object.setPrototypeOf(buf, Buffer.prototype)\n\n  return buf\n}\n\nfunction fromObject (obj) {\n  if (Buffer.isBuffer(obj)) {\n    const len = checked(obj.length) | 0\n    const buf = createBuffer(len)\n\n    if (buf.length === 0) {\n      return buf\n    }\n\n    obj.copy(buf, 0, 0, len)\n    return buf\n  }\n\n  if (obj.length !== undefined) {\n    if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\n      return createBuffer(0)\n    }\n    return fromArrayLike(obj)\n  }\n\n  if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\n    return fromArrayLike(obj.data)\n  }\n}\n\nfunction checked (length) {\n  // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\n  // length is NaN (which is otherwise coerced to zero.)\n  if (length >= K_MAX_LENGTH) {\n    throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n                         'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\n  }\n  return length | 0\n}\n\nfunction SlowBuffer (length) {\n  if (+length != length) { // eslint-disable-line eqeqeq\n    length = 0\n  }\n  return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n  return b != null && b._isBuffer === true &&\n    b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\n}\n\nBuffer.compare = function compare (a, b) {\n  if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\n  if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\n  if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n    throw new TypeError(\n      'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array'\n    )\n  }\n\n  if (a === b) return 0\n\n  let x = a.length\n  let y = b.length\n\n  for (let i = 0, len = Math.min(x, y); i < len; ++i) {\n    if (a[i] !== b[i]) {\n      x = a[i]\n      y = b[i]\n      break\n    }\n  }\n\n  if (x < y) return -1\n  if (y < x) return 1\n  return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n  switch (String(encoding).toLowerCase()) {\n    case 'hex':\n    case 'utf8':\n    case 'utf-8':\n    case 'ascii':\n    case 'latin1':\n    case 'binary':\n    case 'base64':\n    case 'ucs2':\n    case 'ucs-2':\n    case 'utf16le':\n    case 'utf-16le':\n      return true\n    default:\n      return false\n  }\n}\n\nBuffer.concat = function concat (list, length) {\n  if (!Array.isArray(list)) {\n    throw new TypeError('\"list\" argument must be an Array of Buffers')\n  }\n\n  if (list.length === 0) {\n    return Buffer.alloc(0)\n  }\n\n  let i\n  if (length === undefined) {\n    length = 0\n    for (i = 0; i < list.length; ++i) {\n      length += list[i].length\n    }\n  }\n\n  const buffer = Buffer.allocUnsafe(length)\n  let pos = 0\n  for (i = 0; i < list.length; ++i) {\n    let buf = list[i]\n    if (isInstance(buf, Uint8Array)) {\n      if (pos + buf.length > buffer.length) {\n        if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)\n        buf.copy(buffer, pos)\n      } else {\n        Uint8Array.prototype.set.call(\n          buffer,\n          buf,\n          pos\n        )\n      }\n    } else if (!Buffer.isBuffer(buf)) {\n      throw new TypeError('\"list\" argument must be an Array of Buffers')\n    } else {\n      buf.copy(buffer, pos)\n    }\n    pos += buf.length\n  }\n  return buffer\n}\n\nfunction byteLength (string, encoding) {\n  if (Buffer.isBuffer(string)) {\n    return string.length\n  }\n  if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\n    return string.byteLength\n  }\n  if (typeof string !== 'string') {\n    throw new TypeError(\n      'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\n      'Received type ' + typeof string\n    )\n  }\n\n  const len = string.length\n  const mustMatch = (arguments.length > 2 && arguments[2] === true)\n  if (!mustMatch && len === 0) return 0\n\n  // Use a for loop to avoid recursion\n  let loweredCase = false\n  for (;;) {\n    switch (encoding) {\n      case 'ascii':\n      case 'latin1':\n      case 'binary':\n        return len\n      case 'utf8':\n      case 'utf-8':\n        return utf8ToBytes(string).length\n      case 'ucs2':\n      case 'ucs-2':\n      case 'utf16le':\n      case 'utf-16le':\n        return len * 2\n      case 'hex':\n        return len >>> 1\n      case 'base64':\n        return base64ToBytes(string).length\n      default:\n        if (loweredCase) {\n          return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\n        }\n        encoding = ('' + encoding).toLowerCase()\n        loweredCase = true\n    }\n  }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n  let loweredCase = false\n\n  // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n  // property of a typed array.\n\n  // This behaves neither like String nor Uint8Array in that we set start/end\n  // to their upper/lower bounds if the value passed is out of range.\n  // undefined is handled specially as per ECMA-262 6th Edition,\n  // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n  if (start === undefined || start < 0) {\n    start = 0\n  }\n  // Return early if start > this.length. Done here to prevent potential uint32\n  // coercion fail below.\n  if (start > this.length) {\n    return ''\n  }\n\n  if (end === undefined || end > this.length) {\n    end = this.length\n  }\n\n  if (end <= 0) {\n    return ''\n  }\n\n  // Force coercion to uint32. This will also coerce falsey/NaN values to 0.\n  end >>>= 0\n  start >>>= 0\n\n  if (end <= start) {\n    return ''\n  }\n\n  if (!encoding) encoding = 'utf8'\n\n  while (true) {\n    switch (encoding) {\n      case 'hex':\n        return hexSlice(this, start, end)\n\n      case 'utf8':\n      case 'utf-8':\n        return utf8Slice(this, start, end)\n\n      case 'ascii':\n        return asciiSlice(this, start, end)\n\n      case 'latin1':\n      case 'binary':\n        return latin1Slice(this, start, end)\n\n      case 'base64':\n        return base64Slice(this, start, end)\n\n      case 'ucs2':\n      case 'ucs-2':\n      case 'utf16le':\n      case 'utf-16le':\n        return utf16leSlice(this, start, end)\n\n      default:\n        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n        encoding = (encoding + '').toLowerCase()\n        loweredCase = true\n    }\n  }\n}\n\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\n// reliably in a browserify context because there could be multiple different\n// copies of the 'buffer' package in use. This method works even for Buffer\n// instances that were created from another copy of the `buffer` package.\n// See: https://github.com/feross/buffer/issues/154\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n  const i = b[n]\n  b[n] = b[m]\n  b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n  const len = this.length\n  if (len % 2 !== 0) {\n    throw new RangeError('Buffer size must be a multiple of 16-bits')\n  }\n  for (let i = 0; i < len; i += 2) {\n    swap(this, i, i + 1)\n  }\n  return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n  const len = this.length\n  if (len % 4 !== 0) {\n    throw new RangeError('Buffer size must be a multiple of 32-bits')\n  }\n  for (let i = 0; i < len; i += 4) {\n    swap(this, i, i + 3)\n    swap(this, i + 1, i + 2)\n  }\n  return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n  const len = this.length\n  if (len % 8 !== 0) {\n    throw new RangeError('Buffer size must be a multiple of 64-bits')\n  }\n  for (let i = 0; i < len; i += 8) {\n    swap(this, i, i + 7)\n    swap(this, i + 1, i + 6)\n    swap(this, i + 2, i + 5)\n    swap(this, i + 3, i + 4)\n  }\n  return this\n}\n\nBuffer.prototype.toString = function toString () {\n  const length = this.length\n  if (length === 0) return ''\n  if (arguments.length === 0) return utf8Slice(this, 0, length)\n  return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\n\nBuffer.prototype.equals = function equals (b) {\n  if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n  if (this === b) return true\n  return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n  let str = ''\n  const max = exports.INSPECT_MAX_BYTES\n  str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\n  if (this.length > max) str += ' ... '\n  return '<Buffer ' + str + '>'\n}\nif (customInspectSymbol) {\n  Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n  if (isInstance(target, Uint8Array)) {\n    target = Buffer.from(target, target.offset, target.byteLength)\n  }\n  if (!Buffer.isBuffer(target)) {\n    throw new TypeError(\n      'The \"target\" argument must be one of type Buffer or Uint8Array. ' +\n      'Received type ' + (typeof target)\n    )\n  }\n\n  if (start === undefined) {\n    start = 0\n  }\n  if (end === undefined) {\n    end = target ? target.length : 0\n  }\n  if (thisStart === undefined) {\n    thisStart = 0\n  }\n  if (thisEnd === undefined) {\n    thisEnd = this.length\n  }\n\n  if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n    throw new RangeError('out of range index')\n  }\n\n  if (thisStart >= thisEnd && start >= end) {\n    return 0\n  }\n  if (thisStart >= thisEnd) {\n    return -1\n  }\n  if (start >= end) {\n    return 1\n  }\n\n  start >>>= 0\n  end >>>= 0\n  thisStart >>>= 0\n  thisEnd >>>= 0\n\n  if (this === target) return 0\n\n  let x = thisEnd - thisStart\n  let y = end - start\n  const len = Math.min(x, y)\n\n  const thisCopy = this.slice(thisStart, thisEnd)\n  const targetCopy = target.slice(start, end)\n\n  for (let i = 0; i < len; ++i) {\n    if (thisCopy[i] !== targetCopy[i]) {\n      x = thisCopy[i]\n      y = targetCopy[i]\n      break\n    }\n  }\n\n  if (x < y) return -1\n  if (y < x) return 1\n  return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n  // Empty buffer means no match\n  if (buffer.length === 0) return -1\n\n  // Normalize byteOffset\n  if (typeof byteOffset === 'string') {\n    encoding = byteOffset\n    byteOffset = 0\n  } else if (byteOffset > 0x7fffffff) {\n    byteOffset = 0x7fffffff\n  } else if (byteOffset < -0x80000000) {\n    byteOffset = -0x80000000\n  }\n  byteOffset = +byteOffset // Coerce to Number.\n  if (numberIsNaN(byteOffset)) {\n    // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n    byteOffset = dir ? 0 : (buffer.length - 1)\n  }\n\n  // Normalize byteOffset: negative offsets start from the end of the buffer\n  if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n  if (byteOffset >= buffer.length) {\n    if (dir) return -1\n    else byteOffset = buffer.length - 1\n  } else if (byteOffset < 0) {\n    if (dir) byteOffset = 0\n    else return -1\n  }\n\n  // Normalize val\n  if (typeof val === 'string') {\n    val = Buffer.from(val, encoding)\n  }\n\n  // Finally, search either indexOf (if dir is true) or lastIndexOf\n  if (Buffer.isBuffer(val)) {\n    // Special case: looking for empty string/buffer always fails\n    if (val.length === 0) {\n      return -1\n    }\n    return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n  } else if (typeof val === 'number') {\n    val = val & 0xFF // Search for a byte value [0-255]\n    if (typeof Uint8Array.prototype.indexOf === 'function') {\n      if (dir) {\n        return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n      } else {\n        return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n      }\n    }\n    return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\n  }\n\n  throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n  let indexSize = 1\n  let arrLength = arr.length\n  let valLength = val.length\n\n  if (encoding !== undefined) {\n    encoding = String(encoding).toLowerCase()\n    if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n        encoding === 'utf16le' || encoding === 'utf-16le') {\n      if (arr.length < 2 || val.length < 2) {\n        return -1\n      }\n      indexSize = 2\n      arrLength /= 2\n      valLength /= 2\n      byteOffset /= 2\n    }\n  }\n\n  function read (buf, i) {\n    if (indexSize === 1) {\n      return buf[i]\n    } else {\n      return buf.readUInt16BE(i * indexSize)\n    }\n  }\n\n  let i\n  if (dir) {\n    let foundIndex = -1\n    for (i = byteOffset; i < arrLength; i++) {\n      if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n        if (foundIndex === -1) foundIndex = i\n        if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n      } else {\n        if (foundIndex !== -1) i -= i - foundIndex\n        foundIndex = -1\n      }\n    }\n  } else {\n    if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n    for (i = byteOffset; i >= 0; i--) {\n      let found = true\n      for (let j = 0; j < valLength; j++) {\n        if (read(arr, i + j) !== read(val, j)) {\n          found = false\n          break\n        }\n      }\n      if (found) return i\n    }\n  }\n\n  return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n  return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n  return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n  return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n  offset = Number(offset) || 0\n  const remaining = buf.length - offset\n  if (!length) {\n    length = remaining\n  } else {\n    length = Number(length)\n    if (length > remaining) {\n      length = remaining\n    }\n  }\n\n  const strLen = string.length\n\n  if (length > strLen / 2) {\n    length = strLen / 2\n  }\n  let i\n  for (i = 0; i < length; ++i) {\n    const parsed = parseInt(string.substr(i * 2, 2), 16)\n    if (numberIsNaN(parsed)) return i\n    buf[offset + i] = parsed\n  }\n  return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n  return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n  return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n  return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n  return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n  // Buffer#write(string)\n  if (offset === undefined) {\n    encoding = 'utf8'\n    length = this.length\n    offset = 0\n  // Buffer#write(string, encoding)\n  } else if (length === undefined && typeof offset === 'string') {\n    encoding = offset\n    length = this.length\n    offset = 0\n  // Buffer#write(string, offset[, length][, encoding])\n  } else if (isFinite(offset)) {\n    offset = offset >>> 0\n    if (isFinite(length)) {\n      length = length >>> 0\n      if (encoding === undefined) encoding = 'utf8'\n    } else {\n      encoding = length\n      length = undefined\n    }\n  } else {\n    throw new Error(\n      'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n    )\n  }\n\n  const remaining = this.length - offset\n  if (length === undefined || length > remaining) length = remaining\n\n  if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n    throw new RangeError('Attempt to write outside buffer bounds')\n  }\n\n  if (!encoding) encoding = 'utf8'\n\n  let loweredCase = false\n  for (;;) {\n    switch (encoding) {\n      case 'hex':\n        return hexWrite(this, string, offset, length)\n\n      case 'utf8':\n      case 'utf-8':\n        return utf8Write(this, string, offset, length)\n\n      case 'ascii':\n      case 'latin1':\n      case 'binary':\n        return asciiWrite(this, string, offset, length)\n\n      case 'base64':\n        // Warning: maxLength not taken into account in base64Write\n        return base64Write(this, string, offset, length)\n\n      case 'ucs2':\n      case 'ucs-2':\n      case 'utf16le':\n      case 'utf-16le':\n        return ucs2Write(this, string, offset, length)\n\n      default:\n        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n        encoding = ('' + encoding).toLowerCase()\n        loweredCase = true\n    }\n  }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n  return {\n    type: 'Buffer',\n    data: Array.prototype.slice.call(this._arr || this, 0)\n  }\n}\n\nfunction base64Slice (buf, start, end) {\n  if (start === 0 && end === buf.length) {\n    return base64.fromByteArray(buf)\n  } else {\n    return base64.fromByteArray(buf.slice(start, end))\n  }\n}\n\nfunction utf8Slice (buf, start, end) {\n  end = Math.min(buf.length, end)\n  const res = []\n\n  let i = start\n  while (i < end) {\n    const firstByte = buf[i]\n    let codePoint = null\n    let bytesPerSequence = (firstByte > 0xEF)\n      ? 4\n      : (firstByte > 0xDF)\n          ? 3\n          : (firstByte > 0xBF)\n              ? 2\n              : 1\n\n    if (i + bytesPerSequence <= end) {\n      let secondByte, thirdByte, fourthByte, tempCodePoint\n\n      switch (bytesPerSequence) {\n        case 1:\n          if (firstByte < 0x80) {\n            codePoint = firstByte\n          }\n          break\n        case 2:\n          secondByte = buf[i + 1]\n          if ((secondByte & 0xC0) === 0x80) {\n            tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n            if (tempCodePoint > 0x7F) {\n              codePoint = tempCodePoint\n            }\n          }\n          break\n        case 3:\n          secondByte = buf[i + 1]\n          thirdByte = buf[i + 2]\n          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n            tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n            if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n              codePoint = tempCodePoint\n            }\n          }\n          break\n        case 4:\n          secondByte = buf[i + 1]\n          thirdByte = buf[i + 2]\n          fourthByte = buf[i + 3]\n          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n            tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n            if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n              codePoint = tempCodePoint\n            }\n          }\n      }\n    }\n\n    if (codePoint === null) {\n      // we did not generate a valid codePoint so insert a\n      // replacement char (U+FFFD) and advance only 1 byte\n      codePoint = 0xFFFD\n      bytesPerSequence = 1\n    } else if (codePoint > 0xFFFF) {\n      // encode to utf16 (surrogate pair dance)\n      codePoint -= 0x10000\n      res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n      codePoint = 0xDC00 | codePoint & 0x3FF\n    }\n\n    res.push(codePoint)\n    i += bytesPerSequence\n  }\n\n  return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nconst MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n  const len = codePoints.length\n  if (len <= MAX_ARGUMENTS_LENGTH) {\n    return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n  }\n\n  // Decode in chunks to avoid \"call stack size exceeded\".\n  let res = ''\n  let i = 0\n  while (i < len) {\n    res += String.fromCharCode.apply(\n      String,\n      codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n    )\n  }\n  return res\n}\n\nfunction asciiSlice (buf, start, end) {\n  let ret = ''\n  end = Math.min(buf.length, end)\n\n  for (let i = start; i < end; ++i) {\n    ret += String.fromCharCode(buf[i] & 0x7F)\n  }\n  return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n  let ret = ''\n  end = Math.min(buf.length, end)\n\n  for (let i = start; i < end; ++i) {\n    ret += String.fromCharCode(buf[i])\n  }\n  return ret\n}\n\nfunction hexSlice (buf, start, end) {\n  const len = buf.length\n\n  if (!start || start < 0) start = 0\n  if (!end || end < 0 || end > len) end = len\n\n  let out = ''\n  for (let i = start; i < end; ++i) {\n    out += hexSliceLookupTable[buf[i]]\n  }\n  return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n  const bytes = buf.slice(start, end)\n  let res = ''\n  // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)\n  for (let i = 0; i < bytes.length - 1; i += 2) {\n    res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\n  }\n  return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n  const len = this.length\n  start = ~~start\n  end = end === undefined ? len : ~~end\n\n  if (start < 0) {\n    start += len\n    if (start < 0) start = 0\n  } else if (start > len) {\n    start = len\n  }\n\n  if (end < 0) {\n    end += len\n    if (end < 0) end = 0\n  } else if (end > len) {\n    end = len\n  }\n\n  if (end < start) end = start\n\n  const newBuf = this.subarray(start, end)\n  // Return an augmented `Uint8Array` instance\n  Object.setPrototypeOf(newBuf, Buffer.prototype)\n\n  return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n  if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n  if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUintLE =\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n  offset = offset >>> 0\n  byteLength = byteLength >>> 0\n  if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n  let val = this[offset]\n  let mul = 1\n  let i = 0\n  while (++i < byteLength && (mul *= 0x100)) {\n    val += this[offset + i] * mul\n  }\n\n  return val\n}\n\nBuffer.prototype.readUintBE =\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n  offset = offset >>> 0\n  byteLength = byteLength >>> 0\n  if (!noAssert) {\n    checkOffset(offset, byteLength, this.length)\n  }\n\n  let val = this[offset + --byteLength]\n  let mul = 1\n  while (byteLength > 0 && (mul *= 0x100)) {\n    val += this[offset + --byteLength] * mul\n  }\n\n  return val\n}\n\nBuffer.prototype.readUint8 =\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 1, this.length)\n  return this[offset]\n}\n\nBuffer.prototype.readUint16LE =\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 2, this.length)\n  return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUint16BE =\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 2, this.length)\n  return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUint32LE =\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 4, this.length)\n\n  return ((this[offset]) |\n      (this[offset + 1] << 8) |\n      (this[offset + 2] << 16)) +\n      (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUint32BE =\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 4, this.length)\n\n  return (this[offset] * 0x1000000) +\n    ((this[offset + 1] << 16) |\n    (this[offset + 2] << 8) |\n    this[offset + 3])\n}\n\nBuffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {\n  offset = offset >>> 0\n  validateNumber(offset, 'offset')\n  const first = this[offset]\n  const last = this[offset + 7]\n  if (first === undefined || last === undefined) {\n    boundsError(offset, this.length - 8)\n  }\n\n  const lo = first +\n    this[++offset] * 2 ** 8 +\n    this[++offset] * 2 ** 16 +\n    this[++offset] * 2 ** 24\n\n  const hi = this[++offset] +\n    this[++offset] * 2 ** 8 +\n    this[++offset] * 2 ** 16 +\n    last * 2 ** 24\n\n  return BigInt(lo) + (BigInt(hi) << BigInt(32))\n})\n\nBuffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {\n  offset = offset >>> 0\n  validateNumber(offset, 'offset')\n  const first = this[offset]\n  const last = this[offset + 7]\n  if (first === undefined || last === undefined) {\n    boundsError(offset, this.length - 8)\n  }\n\n  const hi = first * 2 ** 24 +\n    this[++offset] * 2 ** 16 +\n    this[++offset] * 2 ** 8 +\n    this[++offset]\n\n  const lo = this[++offset] * 2 ** 24 +\n    this[++offset] * 2 ** 16 +\n    this[++offset] * 2 ** 8 +\n    last\n\n  return (BigInt(hi) << BigInt(32)) + BigInt(lo)\n})\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n  offset = offset >>> 0\n  byteLength = byteLength >>> 0\n  if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n  let val = this[offset]\n  let mul = 1\n  let i = 0\n  while (++i < byteLength && (mul *= 0x100)) {\n    val += this[offset + i] * mul\n  }\n  mul *= 0x80\n\n  if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n  return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n  offset = offset >>> 0\n  byteLength = byteLength >>> 0\n  if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n  let i = byteLength\n  let mul = 1\n  let val = this[offset + --i]\n  while (i > 0 && (mul *= 0x100)) {\n    val += this[offset + --i] * mul\n  }\n  mul *= 0x80\n\n  if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n  return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 1, this.length)\n  if (!(this[offset] & 0x80)) return (this[offset])\n  return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 2, this.length)\n  const val = this[offset] | (this[offset + 1] << 8)\n  return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 2, this.length)\n  const val = this[offset + 1] | (this[offset] << 8)\n  return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 4, this.length)\n\n  return (this[offset]) |\n    (this[offset + 1] << 8) |\n    (this[offset + 2] << 16) |\n    (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 4, this.length)\n\n  return (this[offset] << 24) |\n    (this[offset + 1] << 16) |\n    (this[offset + 2] << 8) |\n    (this[offset + 3])\n}\n\nBuffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {\n  offset = offset >>> 0\n  validateNumber(offset, 'offset')\n  const first = this[offset]\n  const last = this[offset + 7]\n  if (first === undefined || last === undefined) {\n    boundsError(offset, this.length - 8)\n  }\n\n  const val = this[offset + 4] +\n    this[offset + 5] * 2 ** 8 +\n    this[offset + 6] * 2 ** 16 +\n    (last << 24) // Overflow\n\n  return (BigInt(val) << BigInt(32)) +\n    BigInt(first +\n    this[++offset] * 2 ** 8 +\n    this[++offset] * 2 ** 16 +\n    this[++offset] * 2 ** 24)\n})\n\nBuffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {\n  offset = offset >>> 0\n  validateNumber(offset, 'offset')\n  const first = this[offset]\n  const last = this[offset + 7]\n  if (first === undefined || last === undefined) {\n    boundsError(offset, this.length - 8)\n  }\n\n  const val = (first << 24) + // Overflow\n    this[++offset] * 2 ** 16 +\n    this[++offset] * 2 ** 8 +\n    this[++offset]\n\n  return (BigInt(val) << BigInt(32)) +\n    BigInt(this[++offset] * 2 ** 24 +\n    this[++offset] * 2 ** 16 +\n    this[++offset] * 2 ** 8 +\n    last)\n})\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 4, this.length)\n  return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 4, this.length)\n  return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 8, this.length)\n  return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n  offset = offset >>> 0\n  if (!noAssert) checkOffset(offset, 8, this.length)\n  return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n  if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n  if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n  if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUintLE =\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  byteLength = byteLength >>> 0\n  if (!noAssert) {\n    const maxBytes = Math.pow(2, 8 * byteLength) - 1\n    checkInt(this, value, offset, byteLength, maxBytes, 0)\n  }\n\n  let mul = 1\n  let i = 0\n  this[offset] = value & 0xFF\n  while (++i < byteLength && (mul *= 0x100)) {\n    this[offset + i] = (value / mul) & 0xFF\n  }\n\n  return offset + byteLength\n}\n\nBuffer.prototype.writeUintBE =\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  byteLength = byteLength >>> 0\n  if (!noAssert) {\n    const maxBytes = Math.pow(2, 8 * byteLength) - 1\n    checkInt(this, value, offset, byteLength, maxBytes, 0)\n  }\n\n  let i = byteLength - 1\n  let mul = 1\n  this[offset + i] = value & 0xFF\n  while (--i >= 0 && (mul *= 0x100)) {\n    this[offset + i] = (value / mul) & 0xFF\n  }\n\n  return offset + byteLength\n}\n\nBuffer.prototype.writeUint8 =\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n  this[offset] = (value & 0xff)\n  return offset + 1\n}\n\nBuffer.prototype.writeUint16LE =\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n  this[offset] = (value & 0xff)\n  this[offset + 1] = (value >>> 8)\n  return offset + 2\n}\n\nBuffer.prototype.writeUint16BE =\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n  this[offset] = (value >>> 8)\n  this[offset + 1] = (value & 0xff)\n  return offset + 2\n}\n\nBuffer.prototype.writeUint32LE =\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n  this[offset + 3] = (value >>> 24)\n  this[offset + 2] = (value >>> 16)\n  this[offset + 1] = (value >>> 8)\n  this[offset] = (value & 0xff)\n  return offset + 4\n}\n\nBuffer.prototype.writeUint32BE =\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n  this[offset] = (value >>> 24)\n  this[offset + 1] = (value >>> 16)\n  this[offset + 2] = (value >>> 8)\n  this[offset + 3] = (value & 0xff)\n  return offset + 4\n}\n\nfunction wrtBigUInt64LE (buf, value, offset, min, max) {\n  checkIntBI(value, min, max, buf, offset, 7)\n\n  let lo = Number(value & BigInt(0xffffffff))\n  buf[offset++] = lo\n  lo = lo >> 8\n  buf[offset++] = lo\n  lo = lo >> 8\n  buf[offset++] = lo\n  lo = lo >> 8\n  buf[offset++] = lo\n  let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n  buf[offset++] = hi\n  hi = hi >> 8\n  buf[offset++] = hi\n  hi = hi >> 8\n  buf[offset++] = hi\n  hi = hi >> 8\n  buf[offset++] = hi\n  return offset\n}\n\nfunction wrtBigUInt64BE (buf, value, offset, min, max) {\n  checkIntBI(value, min, max, buf, offset, 7)\n\n  let lo = Number(value & BigInt(0xffffffff))\n  buf[offset + 7] = lo\n  lo = lo >> 8\n  buf[offset + 6] = lo\n  lo = lo >> 8\n  buf[offset + 5] = lo\n  lo = lo >> 8\n  buf[offset + 4] = lo\n  let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\n  buf[offset + 3] = hi\n  hi = hi >> 8\n  buf[offset + 2] = hi\n  hi = hi >> 8\n  buf[offset + 1] = hi\n  hi = hi >> 8\n  buf[offset] = hi\n  return offset + 8\n}\n\nBuffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {\n  return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {\n  return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\n})\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) {\n    const limit = Math.pow(2, (8 * byteLength) - 1)\n\n    checkInt(this, value, offset, byteLength, limit - 1, -limit)\n  }\n\n  let i = 0\n  let mul = 1\n  let sub = 0\n  this[offset] = value & 0xFF\n  while (++i < byteLength && (mul *= 0x100)) {\n    if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n      sub = 1\n    }\n    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n  }\n\n  return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) {\n    const limit = Math.pow(2, (8 * byteLength) - 1)\n\n    checkInt(this, value, offset, byteLength, limit - 1, -limit)\n  }\n\n  let i = byteLength - 1\n  let mul = 1\n  let sub = 0\n  this[offset + i] = value & 0xFF\n  while (--i >= 0 && (mul *= 0x100)) {\n    if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n      sub = 1\n    }\n    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n  }\n\n  return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n  if (value < 0) value = 0xff + value + 1\n  this[offset] = (value & 0xff)\n  return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n  this[offset] = (value & 0xff)\n  this[offset + 1] = (value >>> 8)\n  return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n  this[offset] = (value >>> 8)\n  this[offset + 1] = (value & 0xff)\n  return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n  this[offset] = (value & 0xff)\n  this[offset + 1] = (value >>> 8)\n  this[offset + 2] = (value >>> 16)\n  this[offset + 3] = (value >>> 24)\n  return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n  if (value < 0) value = 0xffffffff + value + 1\n  this[offset] = (value >>> 24)\n  this[offset + 1] = (value >>> 16)\n  this[offset + 2] = (value >>> 8)\n  this[offset + 3] = (value & 0xff)\n  return offset + 4\n}\n\nBuffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {\n  return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nBuffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {\n  return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\n})\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n  if (offset + ext > buf.length) throw new RangeError('Index out of range')\n  if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) {\n    checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n  }\n  ieee754.write(buf, value, offset, littleEndian, 23, 4)\n  return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n  return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n  return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n  value = +value\n  offset = offset >>> 0\n  if (!noAssert) {\n    checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n  }\n  ieee754.write(buf, value, offset, littleEndian, 52, 8)\n  return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n  return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n  return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n  if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\n  if (!start) start = 0\n  if (!end && end !== 0) end = this.length\n  if (targetStart >= target.length) targetStart = target.length\n  if (!targetStart) targetStart = 0\n  if (end > 0 && end < start) end = start\n\n  // Copy 0 bytes; we're done\n  if (end === start) return 0\n  if (target.length === 0 || this.length === 0) return 0\n\n  // Fatal error conditions\n  if (targetStart < 0) {\n    throw new RangeError('targetStart out of bounds')\n  }\n  if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\n  if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n  // Are we oob?\n  if (end > this.length) end = this.length\n  if (target.length - targetStart < end - start) {\n    end = target.length - targetStart + start\n  }\n\n  const len = end - start\n\n  if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\n    // Use built-in when available, missing from IE11\n    this.copyWithin(targetStart, start, end)\n  } else {\n    Uint8Array.prototype.set.call(\n      target,\n      this.subarray(start, end),\n      targetStart\n    )\n  }\n\n  return len\n}\n\n// Usage:\n//    buffer.fill(number[, offset[, end]])\n//    buffer.fill(buffer[, offset[, end]])\n//    buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n  // Handle string cases:\n  if (typeof val === 'string') {\n    if (typeof start === 'string') {\n      encoding = start\n      start = 0\n      end = this.length\n    } else if (typeof end === 'string') {\n      encoding = end\n      end = this.length\n    }\n    if (encoding !== undefined && typeof encoding !== 'string') {\n      throw new TypeError('encoding must be a string')\n    }\n    if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n      throw new TypeError('Unknown encoding: ' + encoding)\n    }\n    if (val.length === 1) {\n      const code = val.charCodeAt(0)\n      if ((encoding === 'utf8' && code < 128) ||\n          encoding === 'latin1') {\n        // Fast path: If `val` fits into a single byte, use that numeric value.\n        val = code\n      }\n    }\n  } else if (typeof val === 'number') {\n    val = val & 255\n  } else if (typeof val === 'boolean') {\n    val = Number(val)\n  }\n\n  // Invalid ranges are not set to a default, so can range check early.\n  if (start < 0 || this.length < start || this.length < end) {\n    throw new RangeError('Out of range index')\n  }\n\n  if (end <= start) {\n    return this\n  }\n\n  start = start >>> 0\n  end = end === undefined ? this.length : end >>> 0\n\n  if (!val) val = 0\n\n  let i\n  if (typeof val === 'number') {\n    for (i = start; i < end; ++i) {\n      this[i] = val\n    }\n  } else {\n    const bytes = Buffer.isBuffer(val)\n      ? val\n      : Buffer.from(val, encoding)\n    const len = bytes.length\n    if (len === 0) {\n      throw new TypeError('The value \"' + val +\n        '\" is invalid for argument \"value\"')\n    }\n    for (i = 0; i < end - start; ++i) {\n      this[i + start] = bytes[i % len]\n    }\n  }\n\n  return this\n}\n\n// CUSTOM ERRORS\n// =============\n\n// Simplified versions from Node, changed for Buffer-only usage\nconst errors = {}\nfunction E (sym, getMessage, Base) {\n  errors[sym] = class NodeError extends Base {\n    constructor () {\n      super()\n\n      Object.defineProperty(this, 'message', {\n        value: getMessage.apply(this, arguments),\n        writable: true,\n        configurable: true\n      })\n\n      // Add the error code to the name to include it in the stack trace.\n      this.name = `${this.name} [${sym}]`\n      // Access the stack to generate the error message including the error code\n      // from the name.\n      this.stack // eslint-disable-line no-unused-expressions\n      // Reset the name to the actual name.\n      delete this.name\n    }\n\n    get code () {\n      return sym\n    }\n\n    set code (value) {\n      Object.defineProperty(this, 'code', {\n        configurable: true,\n        enumerable: true,\n        value,\n        writable: true\n      })\n    }\n\n    toString () {\n      return `${this.name} [${sym}]: ${this.message}`\n    }\n  }\n}\n\nE('ERR_BUFFER_OUT_OF_BOUNDS',\n  function (name) {\n    if (name) {\n      return `${name} is outside of buffer bounds`\n    }\n\n    return 'Attempt to access memory outside buffer bounds'\n  }, RangeError)\nE('ERR_INVALID_ARG_TYPE',\n  function (name, actual) {\n    return `The \"${name}\" argument must be of type number. Received type ${typeof actual}`\n  }, TypeError)\nE('ERR_OUT_OF_RANGE',\n  function (str, range, input) {\n    let msg = `The value of \"${str}\" is out of range.`\n    let received = input\n    if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {\n      received = addNumericalSeparator(String(input))\n    } else if (typeof input === 'bigint') {\n      received = String(input)\n      if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {\n        received = addNumericalSeparator(received)\n      }\n      received += 'n'\n    }\n    msg += ` It must be ${range}. Received ${received}`\n    return msg\n  }, RangeError)\n\nfunction addNumericalSeparator (val) {\n  let res = ''\n  let i = val.length\n  const start = val[0] === '-' ? 1 : 0\n  for (; i >= start + 4; i -= 3) {\n    res = `_${val.slice(i - 3, i)}${res}`\n  }\n  return `${val.slice(0, i)}${res}`\n}\n\n// CHECK FUNCTIONS\n// ===============\n\nfunction checkBounds (buf, offset, byteLength) {\n  validateNumber(offset, 'offset')\n  if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {\n    boundsError(offset, buf.length - (byteLength + 1))\n  }\n}\n\nfunction checkIntBI (value, min, max, buf, offset, byteLength) {\n  if (value > max || value < min) {\n    const n = typeof min === 'bigint' ? 'n' : ''\n    let range\n    if (byteLength > 3) {\n      if (min === 0 || min === BigInt(0)) {\n        range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`\n      } else {\n        range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +\n                `${(byteLength + 1) * 8 - 1}${n}`\n      }\n    } else {\n      range = `>= ${min}${n} and <= ${max}${n}`\n    }\n    throw new errors.ERR_OUT_OF_RANGE('value', range, value)\n  }\n  checkBounds(buf, offset, byteLength)\n}\n\nfunction validateNumber (value, name) {\n  if (typeof value !== 'number') {\n    throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)\n  }\n}\n\nfunction boundsError (value, length, type) {\n  if (Math.floor(value) !== value) {\n    validateNumber(value, type)\n    throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)\n  }\n\n  if (length < 0) {\n    throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()\n  }\n\n  throw new errors.ERR_OUT_OF_RANGE(type || 'offset',\n                                    `>= ${type ? 1 : 0} and <= ${length}`,\n                                    value)\n}\n\n// HELPER FUNCTIONS\n// ================\n\nconst INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n  // Node takes equal signs as end of the Base64 encoding\n  str = str.split('=')[0]\n  // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n  str = str.trim().replace(INVALID_BASE64_RE, '')\n  // Node converts strings with length < 2 to ''\n  if (str.length < 2) return ''\n  // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n  while (str.length % 4 !== 0) {\n    str = str + '='\n  }\n  return str\n}\n\nfunction utf8ToBytes (string, units) {\n  units = units || Infinity\n  let codePoint\n  const length = string.length\n  let leadSurrogate = null\n  const bytes = []\n\n  for (let i = 0; i < length; ++i) {\n    codePoint = string.charCodeAt(i)\n\n    // is surrogate component\n    if (codePoint > 0xD7FF && codePoint < 0xE000) {\n      // last char was a lead\n      if (!leadSurrogate) {\n        // no lead yet\n        if (codePoint > 0xDBFF) {\n          // unexpected trail\n          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n          continue\n        } else if (i + 1 === length) {\n          // unpaired lead\n          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n          continue\n        }\n\n        // valid lead\n        leadSurrogate = codePoint\n\n        continue\n      }\n\n      // 2 leads in a row\n      if (codePoint < 0xDC00) {\n        if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n        leadSurrogate = codePoint\n        continue\n      }\n\n      // valid surrogate pair\n      codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n    } else if (leadSurrogate) {\n      // valid bmp char, but last char was a lead\n      if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n    }\n\n    leadSurrogate = null\n\n    // encode utf8\n    if (codePoint < 0x80) {\n      if ((units -= 1) < 0) break\n      bytes.push(codePoint)\n    } else if (codePoint < 0x800) {\n      if ((units -= 2) < 0) break\n      bytes.push(\n        codePoint >> 0x6 | 0xC0,\n        codePoint & 0x3F | 0x80\n      )\n    } else if (codePoint < 0x10000) {\n      if ((units -= 3) < 0) break\n      bytes.push(\n        codePoint >> 0xC | 0xE0,\n        codePoint >> 0x6 & 0x3F | 0x80,\n        codePoint & 0x3F | 0x80\n      )\n    } else if (codePoint < 0x110000) {\n      if ((units -= 4) < 0) break\n      bytes.push(\n        codePoint >> 0x12 | 0xF0,\n        codePoint >> 0xC & 0x3F | 0x80,\n        codePoint >> 0x6 & 0x3F | 0x80,\n        codePoint & 0x3F | 0x80\n      )\n    } else {\n      throw new Error('Invalid code point')\n    }\n  }\n\n  return bytes\n}\n\nfunction asciiToBytes (str) {\n  const byteArray = []\n  for (let i = 0; i < str.length; ++i) {\n    // Node's code seems to be doing this and not & 0x7F..\n    byteArray.push(str.charCodeAt(i) & 0xFF)\n  }\n  return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n  let c, hi, lo\n  const byteArray = []\n  for (let i = 0; i < str.length; ++i) {\n    if ((units -= 2) < 0) break\n\n    c = str.charCodeAt(i)\n    hi = c >> 8\n    lo = c % 256\n    byteArray.push(lo)\n    byteArray.push(hi)\n  }\n\n  return byteArray\n}\n\nfunction base64ToBytes (str) {\n  return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n  let i\n  for (i = 0; i < length; ++i) {\n    if ((i + offset >= dst.length) || (i >= src.length)) break\n    dst[i + offset] = src[i]\n  }\n  return i\n}\n\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\n// the `instanceof` check but they should be treated as of that type.\n// See: https://github.com/feross/buffer/issues/166\nfunction isInstance (obj, type) {\n  return obj instanceof type ||\n    (obj != null && obj.constructor != null && obj.constructor.name != null &&\n      obj.constructor.name === type.name)\n}\nfunction numberIsNaN (obj) {\n  // For IE11 support\n  return obj !== obj // eslint-disable-line no-self-compare\n}\n\n// Create lookup table for `toString('hex')`\n// See: https://github.com/feross/buffer/issues/219\nconst hexSliceLookupTable = (function () {\n  const alphabet = '0123456789abcdef'\n  const table = new Array(256)\n  for (let i = 0; i < 16; ++i) {\n    const i16 = i * 16\n    for (let j = 0; j < 16; ++j) {\n      table[i16 + j] = alphabet[i] + alphabet[j]\n    }\n  }\n  return table\n})()\n\n// Return not function with Error if BigInt not supported\nfunction defineBigIntMethod (fn) {\n  return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn\n}\n\nfunction BufferBigIntNotDefined () {\n  throw new Error('BigInt not supported')\n}\n","module.exports = function (it) {\n  if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n  return it;\n};\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n  ArrayProto[UNSCOPABLES][key] = true;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n  if (!isObject(it)) throw TypeError(it + ' is not an object!');\n  return it;\n};\n","// false -> Array#indexOf\n// true  -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIObject($this);\n    var length = toLength(O.length);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare\n    if (IS_INCLUDES && el != el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare\n      if (value != value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n      if (O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n  return toString.call(it).slice(8, -1);\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n  aFunction(fn);\n  if (that === undefined) return fn;\n  switch (length) {\n    case 1: return function (a) {\n      return fn.call(that, a);\n    };\n    case 2: return function (a, b) {\n      return fn.call(that, a, b);\n    };\n    case 3: return function (a, b, c) {\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n  if (it == undefined) throw TypeError(\"Can't call method on  \" + it);\n  return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n  return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n  var IS_FORCED = type & $export.F;\n  var IS_GLOBAL = type & $export.G;\n  var IS_STATIC = type & $export.S;\n  var IS_PROTO = type & $export.P;\n  var IS_BIND = type & $export.B;\n  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n  var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n  var key, own, out, exp;\n  if (IS_GLOBAL) source = name;\n  for (key in source) {\n    // contains in native\n    own = !IS_FORCED && target && target[key] !== undefined;\n    // export native or passed\n    out = (own ? target : source)[key];\n    // bind timers to global for call from export context\n    exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // extend global\n    if (target) redefine(target, key, out, type & $export.U);\n    // export\n    if (exports[key] != out) hide(exports, key, exp);\n    if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n  }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1;   // forced\n$export.G = 2;   // global\n$export.S = 4;   // static\n$export.P = 8;   // proto\n$export.B = 16;  // bind\n$export.W = 32;  // wrap\n$export.U = 64;  // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (e) {\n    return true;\n  }\n};\n","module.exports = require('./_shared')('native-function-to-string', Function.toString);\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n  ? window : typeof self != 'undefined' && self.Math == Math ? self\n  // eslint-disable-next-line no-new-func\n  : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n  return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n  return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n  return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n  return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","module.exports = function (it) {\n  return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n  setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n  $iterCreate(Constructor, NAME, next);\n  var getMethod = function (kind) {\n    if (!BUGGY && kind in proto) return proto[kind];\n    switch (kind) {\n      case KEYS: return function keys() { return new Constructor(this, kind); };\n      case VALUES: return function values() { return new Constructor(this, kind); };\n    } return function entries() { return new Constructor(this, kind); };\n  };\n  var TAG = NAME + ' Iterator';\n  var DEF_VALUES = DEFAULT == VALUES;\n  var VALUES_BUG = false;\n  var proto = Base.prototype;\n  var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n  var $default = $native || getMethod(DEFAULT);\n  var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n  var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n  var methods, key, IteratorPrototype;\n  // Fix native\n  if ($anyNative) {\n    IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n    if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n      // Set @@toStringTag to native iterators\n      setToStringTag(IteratorPrototype, TAG, true);\n      // fix for some old engines\n      if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n    }\n  }\n  // fix Array#{values, @@iterator}.name in V8 / FF\n  if (DEF_VALUES && $native && $native.name !== VALUES) {\n    VALUES_BUG = true;\n    $default = function values() { return $native.call(this); };\n  }\n  // Define iterator\n  if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n    hide(proto, ITERATOR, $default);\n  }\n  // Plug for library\n  Iterators[NAME] = $default;\n  Iterators[TAG] = returnThis;\n  if (DEFAULT) {\n    methods = {\n      values: DEF_VALUES ? $default : getMethod(VALUES),\n      keys: IS_SET ? $default : getMethod(KEYS),\n      entries: $entries\n    };\n    if (FORCED) for (key in methods) {\n      if (!(key in proto)) redefine(proto, key, methods[key]);\n    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n  }\n  return methods;\n};\n","module.exports = function (done, value) {\n  return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = false;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = require('./_dom-create')('iframe');\n  var i = enumBugKeys.length;\n  var lt = '<';\n  var gt = '>';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  require('./_html').appendChild(iframe);\n  iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n  // createDict = iframe.contentWindow.Object;\n  // html.removeChild(iframe);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n  iframeDocument.close();\n  createDict = iframeDocument.F;\n  while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n  return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    Empty[PROTOTYPE] = anObject(O);\n    result = new Empty();\n    Empty[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = createDict();\n  return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPrimitive(P, true);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return dP(O, P, Attributes);\n  } catch (e) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var keys = getKeys(Properties);\n  var length = keys.length;\n  var i = 0;\n  var P;\n  while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n  return O;\n};\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n  O = toObject(O);\n  if (has(O, IE_PROTO)) return O[IE_PROTO];\n  if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n    return O.constructor.prototype;\n  } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n  var O = toIObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (has(O, key = names[i++])) {\n    ~arrayIndexOf(result, key) || result.push(key);\n  }\n  return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n  return $keys(O, enumBugKeys);\n};\n","module.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar $toString = require('./_function-to-string');\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n  return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n  var isFunction = typeof val == 'function';\n  if (isFunction) has(val, 'name') || hide(val, 'name', key);\n  if (O[key] === val) return;\n  if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n  if (O === global) {\n    O[key] = val;\n  } else if (!safe) {\n    delete O[key];\n    hide(O, key, val);\n  } else if (O[key]) {\n    O[key] = val;\n  } else {\n    hide(O, key, val);\n  }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n  return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n  if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n  return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n  return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n  version: core.version,\n  mode: require('./_library') ? 'pure' : 'global',\n  copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n  index = toInteger(index);\n  return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n  return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n  return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n  if (!isObject(it)) return it;\n  var fn, val;\n  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n  return store[name] || (store[name] =\n    USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n  this._t = toIObject(iterated); // target\n  this._i = 0;                   // next index\n  this._k = kind;                // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var kind = this._k;\n  var index = this._i++;\n  if (!O || index >= O.length) {\n    this._t = undefined;\n    return step(1);\n  }\n  if (kind == 'keys') return step(0, index);\n  if (kind == 'values') return step(0, O[index]);\n  return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n  CSSRuleList: true, // TODO: Not spec compliant, should be false.\n  CSSStyleDeclaration: false,\n  CSSValueList: false,\n  ClientRectList: false,\n  DOMRectList: false,\n  DOMStringList: false,\n  DOMTokenList: true,\n  DataTransferItemList: false,\n  FileList: false,\n  HTMLAllCollection: false,\n  HTMLCollection: false,\n  HTMLFormElement: false,\n  HTMLSelectElement: false,\n  MediaList: true, // TODO: Not spec compliant, should be false.\n  MimeTypeArray: false,\n  NamedNodeMap: false,\n  NodeList: true,\n  PaintRequestList: false,\n  Plugin: false,\n  PluginArray: false,\n  SVGLengthList: false,\n  SVGNumberList: false,\n  SVGPathSegList: false,\n  SVGPointList: false,\n  SVGStringList: false,\n  SVGTransformList: false,\n  SourceBufferList: false,\n  StyleSheetList: true, // TODO: Not spec compliant, should be false.\n  TextTrackCueList: false,\n  TextTrackList: false,\n  TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n  var NAME = collections[i];\n  var explicit = DOMIterables[NAME];\n  var Collection = global[NAME];\n  var proto = Collection && Collection.prototype;\n  var key;\n  if (proto) {\n    if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n    if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n    Iterators[NAME] = ArrayValues;\n    if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n  }\n}\n","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\n'use strict';\n\nexports.match = matchQuery;\nexports.parse = parseQuery;\n\n// -----------------------------------------------------------------------------\n\nvar RE_MEDIA_QUERY     = /(?:(only|not)?\\s*([^\\s\\(\\)]+)(?:\\s*and)?\\s*)?(.+)?/i,\n    RE_MQ_EXPRESSION   = /\\(\\s*([^\\s\\:\\)]+)\\s*(?:\\:\\s*([^\\s\\)]+))?\\s*\\)/,\n    RE_MQ_FEATURE      = /^(?:(min|max)-)?(.+)/,\n    RE_LENGTH_UNIT     = /(em|rem|px|cm|mm|in|pt|pc)?$/,\n    RE_RESOLUTION_UNIT = /(dpi|dpcm|dppx)?$/;\n\nfunction matchQuery(mediaQuery, values) {\n    return parseQuery(mediaQuery).some(function (query) {\n        var inverse = query.inverse;\n\n        // Either the parsed or specified `type` is \"all\", or the types must be\n        // equal for a match.\n        var typeMatch = query.type === 'all' || values.type === query.type;\n\n        // Quit early when `type` doesn't match, but take \"not\" into account.\n        if ((typeMatch && inverse) || !(typeMatch || inverse)) {\n            return false;\n        }\n\n        var expressionsMatch = query.expressions.every(function (expression) {\n            var feature  = expression.feature,\n                modifier = expression.modifier,\n                expValue = expression.value,\n                value    = values[feature];\n\n            // Missing or falsy values don't match.\n            if (!value) { return false; }\n\n            switch (feature) {\n                case 'orientation':\n                case 'scan':\n                    return value.toLowerCase() === expValue.toLowerCase();\n\n                case 'width':\n                case 'height':\n                case 'device-width':\n                case 'device-height':\n                    expValue = toPx(expValue);\n                    value    = toPx(value);\n                    break;\n\n                case 'resolution':\n                    expValue = toDpi(expValue);\n                    value    = toDpi(value);\n                    break;\n\n                case 'aspect-ratio':\n                case 'device-aspect-ratio':\n                case /* Deprecated */ 'device-pixel-ratio':\n                    expValue = toDecimal(expValue);\n                    value    = toDecimal(value);\n                    break;\n\n                case 'grid':\n                case 'color':\n                case 'color-index':\n                case 'monochrome':\n                    expValue = parseInt(expValue, 10) || 1;\n                    value    = parseInt(value, 10) || 0;\n                    break;\n            }\n\n            switch (modifier) {\n                case 'min': return value >= expValue;\n                case 'max': return value <= expValue;\n                default   : return value === expValue;\n            }\n        });\n\n        return (expressionsMatch && !inverse) || (!expressionsMatch && inverse);\n    });\n}\n\nfunction parseQuery(mediaQuery) {\n    return mediaQuery.split(',').map(function (query) {\n        query = query.trim();\n\n        var captures    = query.match(RE_MEDIA_QUERY),\n            modifier    = captures[1],\n            type        = captures[2],\n            expressions = captures[3] || '',\n            parsed      = {};\n\n        parsed.inverse = !!modifier && modifier.toLowerCase() === 'not';\n        parsed.type    = type ? type.toLowerCase() : 'all';\n\n        // Split expressions into a list.\n        expressions = expressions.match(/\\([^\\)]+\\)/g) || [];\n\n        parsed.expressions = expressions.map(function (expression) {\n            var captures = expression.match(RE_MQ_EXPRESSION),\n                feature  = captures[1].toLowerCase().match(RE_MQ_FEATURE);\n\n            return {\n                modifier: feature[1],\n                feature : feature[2],\n                value   : captures[2]\n            };\n        });\n\n        return parsed;\n    });\n}\n\n// -- Utilities ----------------------------------------------------------------\n\nfunction toDecimal(ratio) {\n    var decimal = Number(ratio),\n        numbers;\n\n    if (!decimal) {\n        numbers = ratio.match(/^(\\d+)\\s*\\/\\s*(\\d+)$/);\n        decimal = numbers[1] / numbers[2];\n    }\n\n    return decimal;\n}\n\nfunction toDpi(resolution) {\n    var value = parseFloat(resolution),\n        units = String(resolution).match(RE_RESOLUTION_UNIT)[1];\n\n    switch (units) {\n        case 'dpcm': return value / 2.54;\n        case 'dppx': return value * 96;\n        default    : return value;\n    }\n}\n\nfunction toPx(length) {\n    var value = parseFloat(length),\n        units = String(length).match(RE_LENGTH_UNIT)[1];\n\n    switch (units) {\n        case 'em' : return value * 16;\n        case 'rem': return value * 16;\n        case 'cm' : return value * 96 / 2.54;\n        case 'mm' : return value * 96 / 2.54 / 10;\n        case 'in' : return value * 96;\n        case 'pt' : return value * 72;\n        case 'pc' : return value * 72 / 12;\n        default   : return value;\n    }\n}\n","// https://d3js.org Version 4.9.1. Copyright 2017 Mike Bostock.\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n\ttypeof define === 'function' && define.amd ? define(['exports'], factory) :\n\t(factory((global.d3 = global.d3 || {})));\n}(this, (function (exports) { 'use strict';\n\nvar version = \"4.9.1\";\n\nvar ascending = function(a, b) {\n  return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n};\n\nvar bisector = function(compare) {\n  if (compare.length === 1) compare = ascendingComparator(compare);\n  return {\n    left: function(a, x, lo, hi) {\n      if (lo == null) lo = 0;\n      if (hi == null) hi = a.length;\n      while (lo < hi) {\n        var mid = lo + hi >>> 1;\n        if (compare(a[mid], x) < 0) lo = mid + 1;\n        else hi = mid;\n      }\n      return lo;\n    },\n    right: function(a, x, lo, hi) {\n      if (lo == null) lo = 0;\n      if (hi == null) hi = a.length;\n      while (lo < hi) {\n        var mid = lo + hi >>> 1;\n        if (compare(a[mid], x) > 0) hi = mid;\n        else lo = mid + 1;\n      }\n      return lo;\n    }\n  };\n};\n\nfunction ascendingComparator(f) {\n  return function(d, x) {\n    return ascending(f(d), x);\n  };\n}\n\nvar ascendingBisect = bisector(ascending);\nvar bisectRight = ascendingBisect.right;\nvar bisectLeft = ascendingBisect.left;\n\nvar pairs = function(array, f) {\n  if (f == null) f = pair;\n  var i = 0, n = array.length - 1, p = array[0], pairs = new Array(n < 0 ? 0 : n);\n  while (i < n) pairs[i] = f(p, p = array[++i]);\n  return pairs;\n};\n\nfunction pair(a, b) {\n  return [a, b];\n}\n\nvar cross = function(values0, values1, reduce) {\n  var n0 = values0.length,\n      n1 = values1.length,\n      values = new Array(n0 * n1),\n      i0,\n      i1,\n      i,\n      value0;\n\n  if (reduce == null) reduce = pair;\n\n  for (i0 = i = 0; i0 < n0; ++i0) {\n    for (value0 = values0[i0], i1 = 0; i1 < n1; ++i1, ++i) {\n      values[i] = reduce(value0, values1[i1]);\n    }\n  }\n\n  return values;\n};\n\nvar descending = function(a, b) {\n  return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n};\n\nvar number = function(x) {\n  return x === null ? NaN : +x;\n};\n\nvar variance = function(values, valueof) {\n  var n = values.length,\n      m = 0,\n      i = -1,\n      mean = 0,\n      value,\n      delta,\n      sum = 0;\n\n  if (valueof == null) {\n    while (++i < n) {\n      if (!isNaN(value = number(values[i]))) {\n        delta = value - mean;\n        mean += delta / ++m;\n        sum += delta * (value - mean);\n      }\n    }\n  }\n\n  else {\n    while (++i < n) {\n      if (!isNaN(value = number(valueof(values[i], i, values)))) {\n        delta = value - mean;\n        mean += delta / ++m;\n        sum += delta * (value - mean);\n      }\n    }\n  }\n\n  if (m > 1) return sum / (m - 1);\n};\n\nvar deviation = function(array, f) {\n  var v = variance(array, f);\n  return v ? Math.sqrt(v) : v;\n};\n\nvar extent = function(values, valueof) {\n  var n = values.length,\n      i = -1,\n      value,\n      min,\n      max;\n\n  if (valueof == null) {\n    while (++i < n) { // Find the first comparable value.\n      if ((value = values[i]) != null && value >= value) {\n        min = max = value;\n        while (++i < n) { // Compare the remaining values.\n          if ((value = values[i]) != null) {\n            if (min > value) min = value;\n            if (max < value) max = value;\n          }\n        }\n      }\n    }\n  }\n\n  else {\n    while (++i < n) { // Find the first comparable value.\n      if ((value = valueof(values[i], i, values)) != null && value >= value) {\n        min = max = value;\n        while (++i < n) { // Compare the remaining values.\n          if ((value = valueof(values[i], i, values)) != null) {\n            if (min > value) min = value;\n            if (max < value) max = value;\n          }\n        }\n      }\n    }\n  }\n\n  return [min, max];\n};\n\nvar array = Array.prototype;\n\nvar slice = array.slice;\nvar map = array.map;\n\nvar constant = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nvar identity = function(x) {\n  return x;\n};\n\nvar sequence = function(start, stop, step) {\n  start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;\n\n  var i = -1,\n      n = Math.max(0, Math.ceil((stop - start) / step)) | 0,\n      range = new Array(n);\n\n  while (++i < n) {\n    range[i] = start + i * step;\n  }\n\n  return range;\n};\n\nvar e10 = Math.sqrt(50);\nvar e5 = Math.sqrt(10);\nvar e2 = Math.sqrt(2);\n\nvar ticks = function(start, stop, count) {\n  var reverse = stop < start,\n      i = -1,\n      n,\n      ticks,\n      step;\n\n  if (reverse) n = start, start = stop, stop = n;\n\n  if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];\n\n  if (step > 0) {\n    start = Math.ceil(start / step);\n    stop = Math.floor(stop / step);\n    ticks = new Array(n = Math.ceil(stop - start + 1));\n    while (++i < n) ticks[i] = (start + i) * step;\n  } else {\n    start = Math.floor(start * step);\n    stop = Math.ceil(stop * step);\n    ticks = new Array(n = Math.ceil(start - stop + 1));\n    while (++i < n) ticks[i] = (start - i) / step;\n  }\n\n  if (reverse) ticks.reverse();\n\n  return ticks;\n};\n\nfunction tickIncrement(start, stop, count) {\n  var step = (stop - start) / Math.max(0, count),\n      power = Math.floor(Math.log(step) / Math.LN10),\n      error = step / Math.pow(10, power);\n  return power >= 0\n      ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)\n      : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);\n}\n\nfunction tickStep(start, stop, count) {\n  var step0 = Math.abs(stop - start) / Math.max(0, count),\n      step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),\n      error = step0 / step1;\n  if (error >= e10) step1 *= 10;\n  else if (error >= e5) step1 *= 5;\n  else if (error >= e2) step1 *= 2;\n  return stop < start ? -step1 : step1;\n}\n\nvar sturges = function(values) {\n  return Math.ceil(Math.log(values.length) / Math.LN2) + 1;\n};\n\nvar histogram = function() {\n  var value = identity,\n      domain = extent,\n      threshold = sturges;\n\n  function histogram(data) {\n    var i,\n        n = data.length,\n        x,\n        values = new Array(n);\n\n    for (i = 0; i < n; ++i) {\n      values[i] = value(data[i], i, data);\n    }\n\n    var xz = domain(values),\n        x0 = xz[0],\n        x1 = xz[1],\n        tz = threshold(values, x0, x1);\n\n    // Convert number of thresholds into uniform thresholds.\n    if (!Array.isArray(tz)) {\n      tz = tickStep(x0, x1, tz);\n      tz = sequence(Math.ceil(x0 / tz) * tz, Math.floor(x1 / tz) * tz, tz); // exclusive\n    }\n\n    // Remove any thresholds outside the domain.\n    var m = tz.length;\n    while (tz[0] <= x0) tz.shift(), --m;\n    while (tz[m - 1] > x1) tz.pop(), --m;\n\n    var bins = new Array(m + 1),\n        bin;\n\n    // Initialize bins.\n    for (i = 0; i <= m; ++i) {\n      bin = bins[i] = [];\n      bin.x0 = i > 0 ? tz[i - 1] : x0;\n      bin.x1 = i < m ? tz[i] : x1;\n    }\n\n    // Assign data to bins by value, ignoring any outside the domain.\n    for (i = 0; i < n; ++i) {\n      x = values[i];\n      if (x0 <= x && x <= x1) {\n        bins[bisectRight(tz, x, 0, m)].push(data[i]);\n      }\n    }\n\n    return bins;\n  }\n\n  histogram.value = function(_) {\n    return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(_), histogram) : value;\n  };\n\n  histogram.domain = function(_) {\n    return arguments.length ? (domain = typeof _ === \"function\" ? _ : constant([_[0], _[1]]), histogram) : domain;\n  };\n\n  histogram.thresholds = function(_) {\n    return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), histogram) : threshold;\n  };\n\n  return histogram;\n};\n\nvar threshold = function(values, p, valueof) {\n  if (valueof == null) valueof = number;\n  if (!(n = values.length)) return;\n  if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);\n  if (p >= 1) return +valueof(values[n - 1], n - 1, values);\n  var n,\n      i = (n - 1) * p,\n      i0 = Math.floor(i),\n      value0 = +valueof(values[i0], i0, values),\n      value1 = +valueof(values[i0 + 1], i0 + 1, values);\n  return value0 + (value1 - value0) * (i - i0);\n};\n\nvar freedmanDiaconis = function(values, min, max) {\n  values = map.call(values, number).sort(ascending);\n  return Math.ceil((max - min) / (2 * (threshold(values, 0.75) - threshold(values, 0.25)) * Math.pow(values.length, -1 / 3)));\n};\n\nvar scott = function(values, min, max) {\n  return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(values.length, -1 / 3)));\n};\n\nvar max = function(values, valueof) {\n  var n = values.length,\n      i = -1,\n      value,\n      max;\n\n  if (valueof == null) {\n    while (++i < n) { // Find the first comparable value.\n      if ((value = values[i]) != null && value >= value) {\n        max = value;\n        while (++i < n) { // Compare the remaining values.\n          if ((value = values[i]) != null && value > max) {\n            max = value;\n          }\n        }\n      }\n    }\n  }\n\n  else {\n    while (++i < n) { // Find the first comparable value.\n      if ((value = valueof(values[i], i, values)) != null && value >= value) {\n        max = value;\n        while (++i < n) { // Compare the remaining values.\n          if ((value = valueof(values[i], i, values)) != null && value > max) {\n            max = value;\n          }\n        }\n      }\n    }\n  }\n\n  return max;\n};\n\nvar mean = function(values, valueof) {\n  var n = values.length,\n      m = n,\n      i = -1,\n      value,\n      sum = 0;\n\n  if (valueof == null) {\n    while (++i < n) {\n      if (!isNaN(value = number(values[i]))) sum += value;\n      else --m;\n    }\n  }\n\n  else {\n    while (++i < n) {\n      if (!isNaN(value = number(valueof(values[i], i, values)))) sum += value;\n      else --m;\n    }\n  }\n\n  if (m) return sum / m;\n};\n\nvar median = function(values, valueof) {\n  var n = values.length,\n      i = -1,\n      value,\n      numbers = [];\n\n  if (valueof == null) {\n    while (++i < n) {\n      if (!isNaN(value = number(values[i]))) {\n        numbers.push(value);\n      }\n    }\n  }\n\n  else {\n    while (++i < n) {\n      if (!isNaN(value = number(valueof(values[i], i, values)))) {\n        numbers.push(value);\n      }\n    }\n  }\n\n  return threshold(numbers.sort(ascending), 0.5);\n};\n\nvar merge = function(arrays) {\n  var n = arrays.length,\n      m,\n      i = -1,\n      j = 0,\n      merged,\n      array;\n\n  while (++i < n) j += arrays[i].length;\n  merged = new Array(j);\n\n  while (--n >= 0) {\n    array = arrays[n];\n    m = array.length;\n    while (--m >= 0) {\n      merged[--j] = array[m];\n    }\n  }\n\n  return merged;\n};\n\nvar min = function(values, valueof) {\n  var n = values.length,\n      i = -1,\n      value,\n      min;\n\n  if (valueof == null) {\n    while (++i < n) { // Find the first comparable value.\n      if ((value = values[i]) != null && value >= value) {\n        min = value;\n        while (++i < n) { // Compare the remaining values.\n          if ((value = values[i]) != null && min > value) {\n            min = value;\n          }\n        }\n      }\n    }\n  }\n\n  else {\n    while (++i < n) { // Find the first comparable value.\n      if ((value = valueof(values[i], i, values)) != null && value >= value) {\n        min = value;\n        while (++i < n) { // Compare the remaining values.\n          if ((value = valueof(values[i], i, values)) != null && min > value) {\n            min = value;\n          }\n        }\n      }\n    }\n  }\n\n  return min;\n};\n\nvar permute = function(array, indexes) {\n  var i = indexes.length, permutes = new Array(i);\n  while (i--) permutes[i] = array[indexes[i]];\n  return permutes;\n};\n\nvar scan = function(values, compare) {\n  if (!(n = values.length)) return;\n  var n,\n      i = 0,\n      j = 0,\n      xi,\n      xj = values[j];\n\n  if (compare == null) compare = ascending;\n\n  while (++i < n) {\n    if (compare(xi = values[i], xj) < 0 || compare(xj, xj) !== 0) {\n      xj = xi, j = i;\n    }\n  }\n\n  if (compare(xj, xj) === 0) return j;\n};\n\nvar shuffle = function(array, i0, i1) {\n  var m = (i1 == null ? array.length : i1) - (i0 = i0 == null ? 0 : +i0),\n      t,\n      i;\n\n  while (m) {\n    i = Math.random() * m-- | 0;\n    t = array[m + i0];\n    array[m + i0] = array[i + i0];\n    array[i + i0] = t;\n  }\n\n  return array;\n};\n\nvar sum = function(values, valueof) {\n  var n = values.length,\n      i = -1,\n      value,\n      sum = 0;\n\n  if (valueof == null) {\n    while (++i < n) {\n      if (value = +values[i]) sum += value; // Note: zero and null are equivalent.\n    }\n  }\n\n  else {\n    while (++i < n) {\n      if (value = +valueof(values[i], i, values)) sum += value;\n    }\n  }\n\n  return sum;\n};\n\nvar transpose = function(matrix) {\n  if (!(n = matrix.length)) return [];\n  for (var i = -1, m = min(matrix, length), transpose = new Array(m); ++i < m;) {\n    for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {\n      row[j] = matrix[j][i];\n    }\n  }\n  return transpose;\n};\n\nfunction length(d) {\n  return d.length;\n}\n\nvar zip = function() {\n  return transpose(arguments);\n};\n\nvar slice$1 = Array.prototype.slice;\n\nvar identity$1 = function(x) {\n  return x;\n};\n\nvar top = 1;\nvar right = 2;\nvar bottom = 3;\nvar left = 4;\nvar epsilon = 1e-6;\n\nfunction translateX(x) {\n  return \"translate(\" + (x + 0.5) + \",0)\";\n}\n\nfunction translateY(y) {\n  return \"translate(0,\" + (y + 0.5) + \")\";\n}\n\nfunction center(scale) {\n  var offset = Math.max(0, scale.bandwidth() - 1) / 2; // Adjust for 0.5px offset.\n  if (scale.round()) offset = Math.round(offset);\n  return function(d) {\n    return scale(d) + offset;\n  };\n}\n\nfunction entering() {\n  return !this.__axis;\n}\n\nfunction axis(orient, scale) {\n  var tickArguments = [],\n      tickValues = null,\n      tickFormat = null,\n      tickSizeInner = 6,\n      tickSizeOuter = 6,\n      tickPadding = 3,\n      k = orient === top || orient === left ? -1 : 1,\n      x = orient === left || orient === right ? \"x\" : \"y\",\n      transform = orient === top || orient === bottom ? translateX : translateY;\n\n  function axis(context) {\n    var values = tickValues == null ? (scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain()) : tickValues,\n        format = tickFormat == null ? (scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : identity$1) : tickFormat,\n        spacing = Math.max(tickSizeInner, 0) + tickPadding,\n        range = scale.range(),\n        range0 = range[0] + 0.5,\n        range1 = range[range.length - 1] + 0.5,\n        position = (scale.bandwidth ? center : identity$1)(scale.copy()),\n        selection = context.selection ? context.selection() : context,\n        path = selection.selectAll(\".domain\").data([null]),\n        tick = selection.selectAll(\".tick\").data(values, scale).order(),\n        tickExit = tick.exit(),\n        tickEnter = tick.enter().append(\"g\").attr(\"class\", \"tick\"),\n        line = tick.select(\"line\"),\n        text = tick.select(\"text\");\n\n    path = path.merge(path.enter().insert(\"path\", \".tick\")\n        .attr(\"class\", \"domain\")\n        .attr(\"stroke\", \"#000\"));\n\n    tick = tick.merge(tickEnter);\n\n    line = line.merge(tickEnter.append(\"line\")\n        .attr(\"stroke\", \"#000\")\n        .attr(x + \"2\", k * tickSizeInner));\n\n    text = text.merge(tickEnter.append(\"text\")\n        .attr(\"fill\", \"#000\")\n        .attr(x, k * spacing)\n        .attr(\"dy\", orient === top ? \"0em\" : orient === bottom ? \"0.71em\" : \"0.32em\"));\n\n    if (context !== selection) {\n      path = path.transition(context);\n      tick = tick.transition(context);\n      line = line.transition(context);\n      text = text.transition(context);\n\n      tickExit = tickExit.transition(context)\n          .attr(\"opacity\", epsilon)\n          .attr(\"transform\", function(d) { return isFinite(d = position(d)) ? transform(d) : this.getAttribute(\"transform\"); });\n\n      tickEnter\n          .attr(\"opacity\", epsilon)\n          .attr(\"transform\", function(d) { var p = this.parentNode.__axis; return transform(p && isFinite(p = p(d)) ? p : position(d)); });\n    }\n\n    tickExit.remove();\n\n    path\n        .attr(\"d\", orient === left || orient == right\n            ? \"M\" + k * tickSizeOuter + \",\" + range0 + \"H0.5V\" + range1 + \"H\" + k * tickSizeOuter\n            : \"M\" + range0 + \",\" + k * tickSizeOuter + \"V0.5H\" + range1 + \"V\" + k * tickSizeOuter);\n\n    tick\n        .attr(\"opacity\", 1)\n        .attr(\"transform\", function(d) { return transform(position(d)); });\n\n    line\n        .attr(x + \"2\", k * tickSizeInner);\n\n    text\n        .attr(x, k * spacing)\n        .text(format);\n\n    selection.filter(entering)\n        .attr(\"fill\", \"none\")\n        .attr(\"font-size\", 10)\n        .attr(\"font-family\", \"sans-serif\")\n        .attr(\"text-anchor\", orient === right ? \"start\" : orient === left ? \"end\" : \"middle\");\n\n    selection\n        .each(function() { this.__axis = position; });\n  }\n\n  axis.scale = function(_) {\n    return arguments.length ? (scale = _, axis) : scale;\n  };\n\n  axis.ticks = function() {\n    return tickArguments = slice$1.call(arguments), axis;\n  };\n\n  axis.tickArguments = function(_) {\n    return arguments.length ? (tickArguments = _ == null ? [] : slice$1.call(_), axis) : tickArguments.slice();\n  };\n\n  axis.tickValues = function(_) {\n    return arguments.length ? (tickValues = _ == null ? null : slice$1.call(_), axis) : tickValues && tickValues.slice();\n  };\n\n  axis.tickFormat = function(_) {\n    return arguments.length ? (tickFormat = _, axis) : tickFormat;\n  };\n\n  axis.tickSize = function(_) {\n    return arguments.length ? (tickSizeInner = tickSizeOuter = +_, axis) : tickSizeInner;\n  };\n\n  axis.tickSizeInner = function(_) {\n    return arguments.length ? (tickSizeInner = +_, axis) : tickSizeInner;\n  };\n\n  axis.tickSizeOuter = function(_) {\n    return arguments.length ? (tickSizeOuter = +_, axis) : tickSizeOuter;\n  };\n\n  axis.tickPadding = function(_) {\n    return arguments.length ? (tickPadding = +_, axis) : tickPadding;\n  };\n\n  return axis;\n}\n\nfunction axisTop(scale) {\n  return axis(top, scale);\n}\n\nfunction axisRight(scale) {\n  return axis(right, scale);\n}\n\nfunction axisBottom(scale) {\n  return axis(bottom, scale);\n}\n\nfunction axisLeft(scale) {\n  return axis(left, scale);\n}\n\nvar noop = {value: function() {}};\n\nfunction dispatch() {\n  for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {\n    if (!(t = arguments[i] + \"\") || (t in _)) throw new Error(\"illegal type: \" + t);\n    _[t] = [];\n  }\n  return new Dispatch(_);\n}\n\nfunction Dispatch(_) {\n  this._ = _;\n}\n\nfunction parseTypenames(typenames, types) {\n  return typenames.trim().split(/^|\\s+/).map(function(t) {\n    var name = \"\", i = t.indexOf(\".\");\n    if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n    if (t && !types.hasOwnProperty(t)) throw new Error(\"unknown type: \" + t);\n    return {type: t, name: name};\n  });\n}\n\nDispatch.prototype = dispatch.prototype = {\n  constructor: Dispatch,\n  on: function(typename, callback) {\n    var _ = this._,\n        T = parseTypenames(typename + \"\", _),\n        t,\n        i = -1,\n        n = T.length;\n\n    // If no callback was specified, return the callback of the given type and name.\n    if (arguments.length < 2) {\n      while (++i < n) if ((t = (typename = T[i]).type) && (t = get(_[t], typename.name))) return t;\n      return;\n    }\n\n    // If a type was specified, set the callback for the given type and name.\n    // Otherwise, if a null callback was specified, remove callbacks of the given name.\n    if (callback != null && typeof callback !== \"function\") throw new Error(\"invalid callback: \" + callback);\n    while (++i < n) {\n      if (t = (typename = T[i]).type) _[t] = set(_[t], typename.name, callback);\n      else if (callback == null) for (t in _) _[t] = set(_[t], typename.name, null);\n    }\n\n    return this;\n  },\n  copy: function() {\n    var copy = {}, _ = this._;\n    for (var t in _) copy[t] = _[t].slice();\n    return new Dispatch(copy);\n  },\n  call: function(type, that) {\n    if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2];\n    if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n    for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n  },\n  apply: function(type, that, args) {\n    if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n    for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n  }\n};\n\nfunction get(type, name) {\n  for (var i = 0, n = type.length, c; i < n; ++i) {\n    if ((c = type[i]).name === name) {\n      return c.value;\n    }\n  }\n}\n\nfunction set(type, name, callback) {\n  for (var i = 0, n = type.length; i < n; ++i) {\n    if (type[i].name === name) {\n      type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));\n      break;\n    }\n  }\n  if (callback != null) type.push({name: name, value: callback});\n  return type;\n}\n\nvar xhtml = \"http://www.w3.org/1999/xhtml\";\n\nvar namespaces = {\n  svg: \"http://www.w3.org/2000/svg\",\n  xhtml: xhtml,\n  xlink: \"http://www.w3.org/1999/xlink\",\n  xml: \"http://www.w3.org/XML/1998/namespace\",\n  xmlns: \"http://www.w3.org/2000/xmlns/\"\n};\n\nvar namespace = function(name) {\n  var prefix = name += \"\", i = prefix.indexOf(\":\");\n  if (i >= 0 && (prefix = name.slice(0, i)) !== \"xmlns\") name = name.slice(i + 1);\n  return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name;\n};\n\nfunction creatorInherit(name) {\n  return function() {\n    var document = this.ownerDocument,\n        uri = this.namespaceURI;\n    return uri === xhtml && document.documentElement.namespaceURI === xhtml\n        ? document.createElement(name)\n        : document.createElementNS(uri, name);\n  };\n}\n\nfunction creatorFixed(fullname) {\n  return function() {\n    return this.ownerDocument.createElementNS(fullname.space, fullname.local);\n  };\n}\n\nvar creator = function(name) {\n  var fullname = namespace(name);\n  return (fullname.local\n      ? creatorFixed\n      : creatorInherit)(fullname);\n};\n\nvar nextId = 0;\n\nfunction local$1() {\n  return new Local;\n}\n\nfunction Local() {\n  this._ = \"@\" + (++nextId).toString(36);\n}\n\nLocal.prototype = local$1.prototype = {\n  constructor: Local,\n  get: function(node) {\n    var id = this._;\n    while (!(id in node)) if (!(node = node.parentNode)) return;\n    return node[id];\n  },\n  set: function(node, value) {\n    return node[this._] = value;\n  },\n  remove: function(node) {\n    return this._ in node && delete node[this._];\n  },\n  toString: function() {\n    return this._;\n  }\n};\n\nvar matcher = function(selector) {\n  return function() {\n    return this.matches(selector);\n  };\n};\n\nif (typeof document !== \"undefined\") {\n  var element = document.documentElement;\n  if (!element.matches) {\n    var vendorMatches = element.webkitMatchesSelector\n        || element.msMatchesSelector\n        || element.mozMatchesSelector\n        || element.oMatchesSelector;\n    matcher = function(selector) {\n      return function() {\n        return vendorMatches.call(this, selector);\n      };\n    };\n  }\n}\n\nvar matcher$1 = matcher;\n\nvar filterEvents = {};\n\nexports.event = null;\n\nif (typeof document !== \"undefined\") {\n  var element$1 = document.documentElement;\n  if (!(\"onmouseenter\" in element$1)) {\n    filterEvents = {mouseenter: \"mouseover\", mouseleave: \"mouseout\"};\n  }\n}\n\nfunction filterContextListener(listener, index, group) {\n  listener = contextListener(listener, index, group);\n  return function(event) {\n    var related = event.relatedTarget;\n    if (!related || (related !== this && !(related.compareDocumentPosition(this) & 8))) {\n      listener.call(this, event);\n    }\n  };\n}\n\nfunction contextListener(listener, index, group) {\n  return function(event1) {\n    var event0 = exports.event; // Events can be reentrant (e.g., focus).\n    exports.event = event1;\n    try {\n      listener.call(this, this.__data__, index, group);\n    } finally {\n      exports.event = event0;\n    }\n  };\n}\n\nfunction parseTypenames$1(typenames) {\n  return typenames.trim().split(/^|\\s+/).map(function(t) {\n    var name = \"\", i = t.indexOf(\".\");\n    if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n    return {type: t, name: name};\n  });\n}\n\nfunction onRemove(typename) {\n  return function() {\n    var on = this.__on;\n    if (!on) return;\n    for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {\n      if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {\n        this.removeEventListener(o.type, o.listener, o.capture);\n      } else {\n        on[++i] = o;\n      }\n    }\n    if (++i) on.length = i;\n    else delete this.__on;\n  };\n}\n\nfunction onAdd(typename, value, capture) {\n  var wrap = filterEvents.hasOwnProperty(typename.type) ? filterContextListener : contextListener;\n  return function(d, i, group) {\n    var on = this.__on, o, listener = wrap(value, i, group);\n    if (on) for (var j = 0, m = on.length; j < m; ++j) {\n      if ((o = on[j]).type === typename.type && o.name === typename.name) {\n        this.removeEventListener(o.type, o.listener, o.capture);\n        this.addEventListener(o.type, o.listener = listener, o.capture = capture);\n        o.value = value;\n        return;\n      }\n    }\n    this.addEventListener(typename.type, listener, capture);\n    o = {type: typename.type, name: typename.name, value: value, listener: listener, capture: capture};\n    if (!on) this.__on = [o];\n    else on.push(o);\n  };\n}\n\nvar selection_on = function(typename, value, capture) {\n  var typenames = parseTypenames$1(typename + \"\"), i, n = typenames.length, t;\n\n  if (arguments.length < 2) {\n    var on = this.node().__on;\n    if (on) for (var j = 0, m = on.length, o; j < m; ++j) {\n      for (i = 0, o = on[j]; i < n; ++i) {\n        if ((t = typenames[i]).type === o.type && t.name === o.name) {\n          return o.value;\n        }\n      }\n    }\n    return;\n  }\n\n  on = value ? onAdd : onRemove;\n  if (capture == null) capture = false;\n  for (i = 0; i < n; ++i) this.each(on(typenames[i], value, capture));\n  return this;\n};\n\nfunction customEvent(event1, listener, that, args) {\n  var event0 = exports.event;\n  event1.sourceEvent = exports.event;\n  exports.event = event1;\n  try {\n    return listener.apply(that, args);\n  } finally {\n    exports.event = event0;\n  }\n}\n\nvar sourceEvent = function() {\n  var current = exports.event, source;\n  while (source = current.sourceEvent) current = source;\n  return current;\n};\n\nvar point = function(node, event) {\n  var svg = node.ownerSVGElement || node;\n\n  if (svg.createSVGPoint) {\n    var point = svg.createSVGPoint();\n    point.x = event.clientX, point.y = event.clientY;\n    point = point.matrixTransform(node.getScreenCTM().inverse());\n    return [point.x, point.y];\n  }\n\n  var rect = node.getBoundingClientRect();\n  return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];\n};\n\nvar mouse = function(node) {\n  var event = sourceEvent();\n  if (event.changedTouches) event = event.changedTouches[0];\n  return point(node, event);\n};\n\nfunction none() {}\n\nvar selector = function(selector) {\n  return selector == null ? none : function() {\n    return this.querySelector(selector);\n  };\n};\n\nvar selection_select = function(select) {\n  if (typeof select !== \"function\") select = selector(select);\n\n  for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n      if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n        if (\"__data__\" in node) subnode.__data__ = node.__data__;\n        subgroup[i] = subnode;\n      }\n    }\n  }\n\n  return new Selection(subgroups, this._parents);\n};\n\nfunction empty$1() {\n  return [];\n}\n\nvar selectorAll = function(selector) {\n  return selector == null ? empty$1 : function() {\n    return this.querySelectorAll(selector);\n  };\n};\n\nvar selection_selectAll = function(select) {\n  if (typeof select !== \"function\") select = selectorAll(select);\n\n  for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        subgroups.push(select.call(node, node.__data__, i, group));\n        parents.push(node);\n      }\n    }\n  }\n\n  return new Selection(subgroups, parents);\n};\n\nvar selection_filter = function(match) {\n  if (typeof match !== \"function\") match = matcher$1(match);\n\n  for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n      if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n        subgroup.push(node);\n      }\n    }\n  }\n\n  return new Selection(subgroups, this._parents);\n};\n\nvar sparse = function(update) {\n  return new Array(update.length);\n};\n\nvar selection_enter = function() {\n  return new Selection(this._enter || this._groups.map(sparse), this._parents);\n};\n\nfunction EnterNode(parent, datum) {\n  this.ownerDocument = parent.ownerDocument;\n  this.namespaceURI = parent.namespaceURI;\n  this._next = null;\n  this._parent = parent;\n  this.__data__ = datum;\n}\n\nEnterNode.prototype = {\n  constructor: EnterNode,\n  appendChild: function(child) { return this._parent.insertBefore(child, this._next); },\n  insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },\n  querySelector: function(selector) { return this._parent.querySelector(selector); },\n  querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }\n};\n\nvar constant$1 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nvar keyPrefix = \"$\"; // Protect against keys like “__proto__”.\n\nfunction bindIndex(parent, group, enter, update, exit, data) {\n  var i = 0,\n      node,\n      groupLength = group.length,\n      dataLength = data.length;\n\n  // Put any non-null nodes that fit into update.\n  // Put any null nodes into enter.\n  // Put any remaining data into enter.\n  for (; i < dataLength; ++i) {\n    if (node = group[i]) {\n      node.__data__ = data[i];\n      update[i] = node;\n    } else {\n      enter[i] = new EnterNode(parent, data[i]);\n    }\n  }\n\n  // Put any non-null nodes that don’t fit into exit.\n  for (; i < groupLength; ++i) {\n    if (node = group[i]) {\n      exit[i] = node;\n    }\n  }\n}\n\nfunction bindKey(parent, group, enter, update, exit, data, key) {\n  var i,\n      node,\n      nodeByKeyValue = {},\n      groupLength = group.length,\n      dataLength = data.length,\n      keyValues = new Array(groupLength),\n      keyValue;\n\n  // Compute the key for each node.\n  // If multiple nodes have the same key, the duplicates are added to exit.\n  for (i = 0; i < groupLength; ++i) {\n    if (node = group[i]) {\n      keyValues[i] = keyValue = keyPrefix + key.call(node, node.__data__, i, group);\n      if (keyValue in nodeByKeyValue) {\n        exit[i] = node;\n      } else {\n        nodeByKeyValue[keyValue] = node;\n      }\n    }\n  }\n\n  // Compute the key for each datum.\n  // If there a node associated with this key, join and add it to update.\n  // If there is not (or the key is a duplicate), add it to enter.\n  for (i = 0; i < dataLength; ++i) {\n    keyValue = keyPrefix + key.call(parent, data[i], i, data);\n    if (node = nodeByKeyValue[keyValue]) {\n      update[i] = node;\n      node.__data__ = data[i];\n      nodeByKeyValue[keyValue] = null;\n    } else {\n      enter[i] = new EnterNode(parent, data[i]);\n    }\n  }\n\n  // Add any remaining nodes that were not bound to data to exit.\n  for (i = 0; i < groupLength; ++i) {\n    if ((node = group[i]) && (nodeByKeyValue[keyValues[i]] === node)) {\n      exit[i] = node;\n    }\n  }\n}\n\nvar selection_data = function(value, key) {\n  if (!value) {\n    data = new Array(this.size()), j = -1;\n    this.each(function(d) { data[++j] = d; });\n    return data;\n  }\n\n  var bind = key ? bindKey : bindIndex,\n      parents = this._parents,\n      groups = this._groups;\n\n  if (typeof value !== \"function\") value = constant$1(value);\n\n  for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {\n    var parent = parents[j],\n        group = groups[j],\n        groupLength = group.length,\n        data = value.call(parent, parent && parent.__data__, j, parents),\n        dataLength = data.length,\n        enterGroup = enter[j] = new Array(dataLength),\n        updateGroup = update[j] = new Array(dataLength),\n        exitGroup = exit[j] = new Array(groupLength);\n\n    bind(parent, group, enterGroup, updateGroup, exitGroup, data, key);\n\n    // Now connect the enter nodes to their following update node, such that\n    // appendChild can insert the materialized enter node before this node,\n    // rather than at the end of the parent node.\n    for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {\n      if (previous = enterGroup[i0]) {\n        if (i0 >= i1) i1 = i0 + 1;\n        while (!(next = updateGroup[i1]) && ++i1 < dataLength);\n        previous._next = next || null;\n      }\n    }\n  }\n\n  update = new Selection(update, parents);\n  update._enter = enter;\n  update._exit = exit;\n  return update;\n};\n\nvar selection_exit = function() {\n  return new Selection(this._exit || this._groups.map(sparse), this._parents);\n};\n\nvar selection_merge = function(selection) {\n\n  for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n    for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n      if (node = group0[i] || group1[i]) {\n        merge[i] = node;\n      }\n    }\n  }\n\n  for (; j < m0; ++j) {\n    merges[j] = groups0[j];\n  }\n\n  return new Selection(merges, this._parents);\n};\n\nvar selection_order = function() {\n\n  for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {\n    for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {\n      if (node = group[i]) {\n        if (next && next !== node.nextSibling) next.parentNode.insertBefore(node, next);\n        next = node;\n      }\n    }\n  }\n\n  return this;\n};\n\nvar selection_sort = function(compare) {\n  if (!compare) compare = ascending$1;\n\n  function compareNode(a, b) {\n    return a && b ? compare(a.__data__, b.__data__) : !a - !b;\n  }\n\n  for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        sortgroup[i] = node;\n      }\n    }\n    sortgroup.sort(compareNode);\n  }\n\n  return new Selection(sortgroups, this._parents).order();\n};\n\nfunction ascending$1(a, b) {\n  return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n\nvar selection_call = function() {\n  var callback = arguments[0];\n  arguments[0] = this;\n  callback.apply(null, arguments);\n  return this;\n};\n\nvar selection_nodes = function() {\n  var nodes = new Array(this.size()), i = -1;\n  this.each(function() { nodes[++i] = this; });\n  return nodes;\n};\n\nvar selection_node = function() {\n\n  for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n    for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {\n      var node = group[i];\n      if (node) return node;\n    }\n  }\n\n  return null;\n};\n\nvar selection_size = function() {\n  var size = 0;\n  this.each(function() { ++size; });\n  return size;\n};\n\nvar selection_empty = function() {\n  return !this.node();\n};\n\nvar selection_each = function(callback) {\n\n  for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n    for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n      if (node = group[i]) callback.call(node, node.__data__, i, group);\n    }\n  }\n\n  return this;\n};\n\nfunction attrRemove(name) {\n  return function() {\n    this.removeAttribute(name);\n  };\n}\n\nfunction attrRemoveNS(fullname) {\n  return function() {\n    this.removeAttributeNS(fullname.space, fullname.local);\n  };\n}\n\nfunction attrConstant(name, value) {\n  return function() {\n    this.setAttribute(name, value);\n  };\n}\n\nfunction attrConstantNS(fullname, value) {\n  return function() {\n    this.setAttributeNS(fullname.space, fullname.local, value);\n  };\n}\n\nfunction attrFunction(name, value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (v == null) this.removeAttribute(name);\n    else this.setAttribute(name, v);\n  };\n}\n\nfunction attrFunctionNS(fullname, value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (v == null) this.removeAttributeNS(fullname.space, fullname.local);\n    else this.setAttributeNS(fullname.space, fullname.local, v);\n  };\n}\n\nvar selection_attr = function(name, value) {\n  var fullname = namespace(name);\n\n  if (arguments.length < 2) {\n    var node = this.node();\n    return fullname.local\n        ? node.getAttributeNS(fullname.space, fullname.local)\n        : node.getAttribute(fullname);\n  }\n\n  return this.each((value == null\n      ? (fullname.local ? attrRemoveNS : attrRemove) : (typeof value === \"function\"\n      ? (fullname.local ? attrFunctionNS : attrFunction)\n      : (fullname.local ? attrConstantNS : attrConstant)))(fullname, value));\n};\n\nvar defaultView = function(node) {\n  return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node\n      || (node.document && node) // node is a Window\n      || node.defaultView; // node is a Document\n};\n\nfunction styleRemove(name) {\n  return function() {\n    this.style.removeProperty(name);\n  };\n}\n\nfunction styleConstant(name, value, priority) {\n  return function() {\n    this.style.setProperty(name, value, priority);\n  };\n}\n\nfunction styleFunction(name, value, priority) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (v == null) this.style.removeProperty(name);\n    else this.style.setProperty(name, v, priority);\n  };\n}\n\nvar selection_style = function(name, value, priority) {\n  return arguments.length > 1\n      ? this.each((value == null\n            ? styleRemove : typeof value === \"function\"\n            ? styleFunction\n            : styleConstant)(name, value, priority == null ? \"\" : priority))\n      : styleValue(this.node(), name);\n};\n\nfunction styleValue(node, name) {\n  return node.style.getPropertyValue(name)\n      || defaultView(node).getComputedStyle(node, null).getPropertyValue(name);\n}\n\nfunction propertyRemove(name) {\n  return function() {\n    delete this[name];\n  };\n}\n\nfunction propertyConstant(name, value) {\n  return function() {\n    this[name] = value;\n  };\n}\n\nfunction propertyFunction(name, value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (v == null) delete this[name];\n    else this[name] = v;\n  };\n}\n\nvar selection_property = function(name, value) {\n  return arguments.length > 1\n      ? this.each((value == null\n          ? propertyRemove : typeof value === \"function\"\n          ? propertyFunction\n          : propertyConstant)(name, value))\n      : this.node()[name];\n};\n\nfunction classArray(string) {\n  return string.trim().split(/^|\\s+/);\n}\n\nfunction classList(node) {\n  return node.classList || new ClassList(node);\n}\n\nfunction ClassList(node) {\n  this._node = node;\n  this._names = classArray(node.getAttribute(\"class\") || \"\");\n}\n\nClassList.prototype = {\n  add: function(name) {\n    var i = this._names.indexOf(name);\n    if (i < 0) {\n      this._names.push(name);\n      this._node.setAttribute(\"class\", this._names.join(\" \"));\n    }\n  },\n  remove: function(name) {\n    var i = this._names.indexOf(name);\n    if (i >= 0) {\n      this._names.splice(i, 1);\n      this._node.setAttribute(\"class\", this._names.join(\" \"));\n    }\n  },\n  contains: function(name) {\n    return this._names.indexOf(name) >= 0;\n  }\n};\n\nfunction classedAdd(node, names) {\n  var list = classList(node), i = -1, n = names.length;\n  while (++i < n) list.add(names[i]);\n}\n\nfunction classedRemove(node, names) {\n  var list = classList(node), i = -1, n = names.length;\n  while (++i < n) list.remove(names[i]);\n}\n\nfunction classedTrue(names) {\n  return function() {\n    classedAdd(this, names);\n  };\n}\n\nfunction classedFalse(names) {\n  return function() {\n    classedRemove(this, names);\n  };\n}\n\nfunction classedFunction(names, value) {\n  return function() {\n    (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);\n  };\n}\n\nvar selection_classed = function(name, value) {\n  var names = classArray(name + \"\");\n\n  if (arguments.length < 2) {\n    var list = classList(this.node()), i = -1, n = names.length;\n    while (++i < n) if (!list.contains(names[i])) return false;\n    return true;\n  }\n\n  return this.each((typeof value === \"function\"\n      ? classedFunction : value\n      ? classedTrue\n      : classedFalse)(names, value));\n};\n\nfunction textRemove() {\n  this.textContent = \"\";\n}\n\nfunction textConstant(value) {\n  return function() {\n    this.textContent = value;\n  };\n}\n\nfunction textFunction(value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    this.textContent = v == null ? \"\" : v;\n  };\n}\n\nvar selection_text = function(value) {\n  return arguments.length\n      ? this.each(value == null\n          ? textRemove : (typeof value === \"function\"\n          ? textFunction\n          : textConstant)(value))\n      : this.node().textContent;\n};\n\nfunction htmlRemove() {\n  this.innerHTML = \"\";\n}\n\nfunction htmlConstant(value) {\n  return function() {\n    this.innerHTML = value;\n  };\n}\n\nfunction htmlFunction(value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    this.innerHTML = v == null ? \"\" : v;\n  };\n}\n\nvar selection_html = function(value) {\n  return arguments.length\n      ? this.each(value == null\n          ? htmlRemove : (typeof value === \"function\"\n          ? htmlFunction\n          : htmlConstant)(value))\n      : this.node().innerHTML;\n};\n\nfunction raise() {\n  if (this.nextSibling) this.parentNode.appendChild(this);\n}\n\nvar selection_raise = function() {\n  return this.each(raise);\n};\n\nfunction lower() {\n  if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);\n}\n\nvar selection_lower = function() {\n  return this.each(lower);\n};\n\nvar selection_append = function(name) {\n  var create = typeof name === \"function\" ? name : creator(name);\n  return this.select(function() {\n    return this.appendChild(create.apply(this, arguments));\n  });\n};\n\nfunction constantNull() {\n  return null;\n}\n\nvar selection_insert = function(name, before) {\n  var create = typeof name === \"function\" ? name : creator(name),\n      select = before == null ? constantNull : typeof before === \"function\" ? before : selector(before);\n  return this.select(function() {\n    return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);\n  });\n};\n\nfunction remove() {\n  var parent = this.parentNode;\n  if (parent) parent.removeChild(this);\n}\n\nvar selection_remove = function() {\n  return this.each(remove);\n};\n\nvar selection_datum = function(value) {\n  return arguments.length\n      ? this.property(\"__data__\", value)\n      : this.node().__data__;\n};\n\nfunction dispatchEvent(node, type, params) {\n  var window = defaultView(node),\n      event = window.CustomEvent;\n\n  if (typeof event === \"function\") {\n    event = new event(type, params);\n  } else {\n    event = window.document.createEvent(\"Event\");\n    if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;\n    else event.initEvent(type, false, false);\n  }\n\n  node.dispatchEvent(event);\n}\n\nfunction dispatchConstant(type, params) {\n  return function() {\n    return dispatchEvent(this, type, params);\n  };\n}\n\nfunction dispatchFunction(type, params) {\n  return function() {\n    return dispatchEvent(this, type, params.apply(this, arguments));\n  };\n}\n\nvar selection_dispatch = function(type, params) {\n  return this.each((typeof params === \"function\"\n      ? dispatchFunction\n      : dispatchConstant)(type, params));\n};\n\nvar root = [null];\n\nfunction Selection(groups, parents) {\n  this._groups = groups;\n  this._parents = parents;\n}\n\nfunction selection() {\n  return new Selection([[document.documentElement]], root);\n}\n\nSelection.prototype = selection.prototype = {\n  constructor: Selection,\n  select: selection_select,\n  selectAll: selection_selectAll,\n  filter: selection_filter,\n  data: selection_data,\n  enter: selection_enter,\n  exit: selection_exit,\n  merge: selection_merge,\n  order: selection_order,\n  sort: selection_sort,\n  call: selection_call,\n  nodes: selection_nodes,\n  node: selection_node,\n  size: selection_size,\n  empty: selection_empty,\n  each: selection_each,\n  attr: selection_attr,\n  style: selection_style,\n  property: selection_property,\n  classed: selection_classed,\n  text: selection_text,\n  html: selection_html,\n  raise: selection_raise,\n  lower: selection_lower,\n  append: selection_append,\n  insert: selection_insert,\n  remove: selection_remove,\n  datum: selection_datum,\n  on: selection_on,\n  dispatch: selection_dispatch\n};\n\nvar select = function(selector) {\n  return typeof selector === \"string\"\n      ? new Selection([[document.querySelector(selector)]], [document.documentElement])\n      : new Selection([[selector]], root);\n};\n\nvar selectAll = function(selector) {\n  return typeof selector === \"string\"\n      ? new Selection([document.querySelectorAll(selector)], [document.documentElement])\n      : new Selection([selector == null ? [] : selector], root);\n};\n\nvar touch = function(node, touches, identifier) {\n  if (arguments.length < 3) identifier = touches, touches = sourceEvent().changedTouches;\n\n  for (var i = 0, n = touches ? touches.length : 0, touch; i < n; ++i) {\n    if ((touch = touches[i]).identifier === identifier) {\n      return point(node, touch);\n    }\n  }\n\n  return null;\n};\n\nvar touches = function(node, touches) {\n  if (touches == null) touches = sourceEvent().touches;\n\n  for (var i = 0, n = touches ? touches.length : 0, points = new Array(n); i < n; ++i) {\n    points[i] = point(node, touches[i]);\n  }\n\n  return points;\n};\n\nfunction nopropagation() {\n  exports.event.stopImmediatePropagation();\n}\n\nvar noevent = function() {\n  exports.event.preventDefault();\n  exports.event.stopImmediatePropagation();\n};\n\nvar dragDisable = function(view) {\n  var root = view.document.documentElement,\n      selection$$1 = select(view).on(\"dragstart.drag\", noevent, true);\n  if (\"onselectstart\" in root) {\n    selection$$1.on(\"selectstart.drag\", noevent, true);\n  } else {\n    root.__noselect = root.style.MozUserSelect;\n    root.style.MozUserSelect = \"none\";\n  }\n};\n\nfunction yesdrag(view, noclick) {\n  var root = view.document.documentElement,\n      selection$$1 = select(view).on(\"dragstart.drag\", null);\n  if (noclick) {\n    selection$$1.on(\"click.drag\", noevent, true);\n    setTimeout(function() { selection$$1.on(\"click.drag\", null); }, 0);\n  }\n  if (\"onselectstart\" in root) {\n    selection$$1.on(\"selectstart.drag\", null);\n  } else {\n    root.style.MozUserSelect = root.__noselect;\n    delete root.__noselect;\n  }\n}\n\nvar constant$2 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nfunction DragEvent(target, type, subject, id, active, x, y, dx, dy, dispatch) {\n  this.target = target;\n  this.type = type;\n  this.subject = subject;\n  this.identifier = id;\n  this.active = active;\n  this.x = x;\n  this.y = y;\n  this.dx = dx;\n  this.dy = dy;\n  this._ = dispatch;\n}\n\nDragEvent.prototype.on = function() {\n  var value = this._.on.apply(this._, arguments);\n  return value === this._ ? this : value;\n};\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter$1() {\n  return !exports.event.button;\n}\n\nfunction defaultContainer() {\n  return this.parentNode;\n}\n\nfunction defaultSubject(d) {\n  return d == null ? {x: exports.event.x, y: exports.event.y} : d;\n}\n\nvar drag = function() {\n  var filter = defaultFilter$1,\n      container = defaultContainer,\n      subject = defaultSubject,\n      gestures = {},\n      listeners = dispatch(\"start\", \"drag\", \"end\"),\n      active = 0,\n      mousedownx,\n      mousedowny,\n      mousemoving,\n      touchending,\n      clickDistance2 = 0;\n\n  function drag(selection$$1) {\n    selection$$1\n        .on(\"mousedown.drag\", mousedowned)\n        .on(\"touchstart.drag\", touchstarted)\n        .on(\"touchmove.drag\", touchmoved)\n        .on(\"touchend.drag touchcancel.drag\", touchended)\n        .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\");\n  }\n\n  function mousedowned() {\n    if (touchending || !filter.apply(this, arguments)) return;\n    var gesture = beforestart(\"mouse\", container.apply(this, arguments), mouse, this, arguments);\n    if (!gesture) return;\n    select(exports.event.view).on(\"mousemove.drag\", mousemoved, true).on(\"mouseup.drag\", mouseupped, true);\n    dragDisable(exports.event.view);\n    nopropagation();\n    mousemoving = false;\n    mousedownx = exports.event.clientX;\n    mousedowny = exports.event.clientY;\n    gesture(\"start\");\n  }\n\n  function mousemoved() {\n    noevent();\n    if (!mousemoving) {\n      var dx = exports.event.clientX - mousedownx, dy = exports.event.clientY - mousedowny;\n      mousemoving = dx * dx + dy * dy > clickDistance2;\n    }\n    gestures.mouse(\"drag\");\n  }\n\n  function mouseupped() {\n    select(exports.event.view).on(\"mousemove.drag mouseup.drag\", null);\n    yesdrag(exports.event.view, mousemoving);\n    noevent();\n    gestures.mouse(\"end\");\n  }\n\n  function touchstarted() {\n    if (!filter.apply(this, arguments)) return;\n    var touches$$1 = exports.event.changedTouches,\n        c = container.apply(this, arguments),\n        n = touches$$1.length, i, gesture;\n\n    for (i = 0; i < n; ++i) {\n      if (gesture = beforestart(touches$$1[i].identifier, c, touch, this, arguments)) {\n        nopropagation();\n        gesture(\"start\");\n      }\n    }\n  }\n\n  function touchmoved() {\n    var touches$$1 = exports.event.changedTouches,\n        n = touches$$1.length, i, gesture;\n\n    for (i = 0; i < n; ++i) {\n      if (gesture = gestures[touches$$1[i].identifier]) {\n        noevent();\n        gesture(\"drag\");\n      }\n    }\n  }\n\n  function touchended() {\n    var touches$$1 = exports.event.changedTouches,\n        n = touches$$1.length, i, gesture;\n\n    if (touchending) clearTimeout(touchending);\n    touchending = setTimeout(function() { touchending = null; }, 500); // Ghost clicks are delayed!\n    for (i = 0; i < n; ++i) {\n      if (gesture = gestures[touches$$1[i].identifier]) {\n        nopropagation();\n        gesture(\"end\");\n      }\n    }\n  }\n\n  function beforestart(id, container, point, that, args) {\n    var p = point(container, id), s, dx, dy,\n        sublisteners = listeners.copy();\n\n    if (!customEvent(new DragEvent(drag, \"beforestart\", s, id, active, p[0], p[1], 0, 0, sublisteners), function() {\n      if ((exports.event.subject = s = subject.apply(that, args)) == null) return false;\n      dx = s.x - p[0] || 0;\n      dy = s.y - p[1] || 0;\n      return true;\n    })) return;\n\n    return function gesture(type) {\n      var p0 = p, n;\n      switch (type) {\n        case \"start\": gestures[id] = gesture, n = active++; break;\n        case \"end\": delete gestures[id], --active; // nobreak\n        case \"drag\": p = point(container, id), n = active; break;\n      }\n      customEvent(new DragEvent(drag, type, s, id, n, p[0] + dx, p[1] + dy, p[0] - p0[0], p[1] - p0[1], sublisteners), sublisteners.apply, sublisteners, [type, that, args]);\n    };\n  }\n\n  drag.filter = function(_) {\n    return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant$2(!!_), drag) : filter;\n  };\n\n  drag.container = function(_) {\n    return arguments.length ? (container = typeof _ === \"function\" ? _ : constant$2(_), drag) : container;\n  };\n\n  drag.subject = function(_) {\n    return arguments.length ? (subject = typeof _ === \"function\" ? _ : constant$2(_), drag) : subject;\n  };\n\n  drag.on = function() {\n    var value = listeners.on.apply(listeners, arguments);\n    return value === listeners ? drag : value;\n  };\n\n  drag.clickDistance = function(_) {\n    return arguments.length ? (clickDistance2 = (_ = +_) * _, drag) : Math.sqrt(clickDistance2);\n  };\n\n  return drag;\n};\n\nvar define = function(constructor, factory, prototype) {\n  constructor.prototype = factory.prototype = prototype;\n  prototype.constructor = constructor;\n};\n\nfunction extend(parent, definition) {\n  var prototype = Object.create(parent.prototype);\n  for (var key in definition) prototype[key] = definition[key];\n  return prototype;\n}\n\nfunction Color() {}\n\nvar darker = 0.7;\nvar brighter = 1 / darker;\n\nvar reI = \"\\\\s*([+-]?\\\\d+)\\\\s*\";\nvar reN = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\";\nvar reP = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\";\nvar reHex3 = /^#([0-9a-f]{3})$/;\nvar reHex6 = /^#([0-9a-f]{6})$/;\nvar reRgbInteger = new RegExp(\"^rgb\\\\(\" + [reI, reI, reI] + \"\\\\)$\");\nvar reRgbPercent = new RegExp(\"^rgb\\\\(\" + [reP, reP, reP] + \"\\\\)$\");\nvar reRgbaInteger = new RegExp(\"^rgba\\\\(\" + [reI, reI, reI, reN] + \"\\\\)$\");\nvar reRgbaPercent = new RegExp(\"^rgba\\\\(\" + [reP, reP, reP, reN] + \"\\\\)$\");\nvar reHslPercent = new RegExp(\"^hsl\\\\(\" + [reN, reP, reP] + \"\\\\)$\");\nvar reHslaPercent = new RegExp(\"^hsla\\\\(\" + [reN, reP, reP, reN] + \"\\\\)$\");\n\nvar named = {\n  aliceblue: 0xf0f8ff,\n  antiquewhite: 0xfaebd7,\n  aqua: 0x00ffff,\n  aquamarine: 0x7fffd4,\n  azure: 0xf0ffff,\n  beige: 0xf5f5dc,\n  bisque: 0xffe4c4,\n  black: 0x000000,\n  blanchedalmond: 0xffebcd,\n  blue: 0x0000ff,\n  blueviolet: 0x8a2be2,\n  brown: 0xa52a2a,\n  burlywood: 0xdeb887,\n  cadetblue: 0x5f9ea0,\n  chartreuse: 0x7fff00,\n  chocolate: 0xd2691e,\n  coral: 0xff7f50,\n  cornflowerblue: 0x6495ed,\n  cornsilk: 0xfff8dc,\n  crimson: 0xdc143c,\n  cyan: 0x00ffff,\n  darkblue: 0x00008b,\n  darkcyan: 0x008b8b,\n  darkgoldenrod: 0xb8860b,\n  darkgray: 0xa9a9a9,\n  darkgreen: 0x006400,\n  darkgrey: 0xa9a9a9,\n  darkkhaki: 0xbdb76b,\n  darkmagenta: 0x8b008b,\n  darkolivegreen: 0x556b2f,\n  darkorange: 0xff8c00,\n  darkorchid: 0x9932cc,\n  darkred: 0x8b0000,\n  darksalmon: 0xe9967a,\n  darkseagreen: 0x8fbc8f,\n  darkslateblue: 0x483d8b,\n  darkslategray: 0x2f4f4f,\n  darkslategrey: 0x2f4f4f,\n  darkturquoise: 0x00ced1,\n  darkviolet: 0x9400d3,\n  deeppink: 0xff1493,\n  deepskyblue: 0x00bfff,\n  dimgray: 0x696969,\n  dimgrey: 0x696969,\n  dodgerblue: 0x1e90ff,\n  firebrick: 0xb22222,\n  floralwhite: 0xfffaf0,\n  forestgreen: 0x228b22,\n  fuchsia: 0xff00ff,\n  gainsboro: 0xdcdcdc,\n  ghostwhite: 0xf8f8ff,\n  gold: 0xffd700,\n  goldenrod: 0xdaa520,\n  gray: 0x808080,\n  green: 0x008000,\n  greenyellow: 0xadff2f,\n  grey: 0x808080,\n  honeydew: 0xf0fff0,\n  hotpink: 0xff69b4,\n  indianred: 0xcd5c5c,\n  indigo: 0x4b0082,\n  ivory: 0xfffff0,\n  khaki: 0xf0e68c,\n  lavender: 0xe6e6fa,\n  lavenderblush: 0xfff0f5,\n  lawngreen: 0x7cfc00,\n  lemonchiffon: 0xfffacd,\n  lightblue: 0xadd8e6,\n  lightcoral: 0xf08080,\n  lightcyan: 0xe0ffff,\n  lightgoldenrodyellow: 0xfafad2,\n  lightgray: 0xd3d3d3,\n  lightgreen: 0x90ee90,\n  lightgrey: 0xd3d3d3,\n  lightpink: 0xffb6c1,\n  lightsalmon: 0xffa07a,\n  lightseagreen: 0x20b2aa,\n  lightskyblue: 0x87cefa,\n  lightslategray: 0x778899,\n  lightslategrey: 0x778899,\n  lightsteelblue: 0xb0c4de,\n  lightyellow: 0xffffe0,\n  lime: 0x00ff00,\n  limegreen: 0x32cd32,\n  linen: 0xfaf0e6,\n  magenta: 0xff00ff,\n  maroon: 0x800000,\n  mediumaquamarine: 0x66cdaa,\n  mediumblue: 0x0000cd,\n  mediumorchid: 0xba55d3,\n  mediumpurple: 0x9370db,\n  mediumseagreen: 0x3cb371,\n  mediumslateblue: 0x7b68ee,\n  mediumspringgreen: 0x00fa9a,\n  mediumturquoise: 0x48d1cc,\n  mediumvioletred: 0xc71585,\n  midnightblue: 0x191970,\n  mintcream: 0xf5fffa,\n  mistyrose: 0xffe4e1,\n  moccasin: 0xffe4b5,\n  navajowhite: 0xffdead,\n  navy: 0x000080,\n  oldlace: 0xfdf5e6,\n  olive: 0x808000,\n  olivedrab: 0x6b8e23,\n  orange: 0xffa500,\n  orangered: 0xff4500,\n  orchid: 0xda70d6,\n  palegoldenrod: 0xeee8aa,\n  palegreen: 0x98fb98,\n  paleturquoise: 0xafeeee,\n  palevioletred: 0xdb7093,\n  papayawhip: 0xffefd5,\n  peachpuff: 0xffdab9,\n  peru: 0xcd853f,\n  pink: 0xffc0cb,\n  plum: 0xdda0dd,\n  powderblue: 0xb0e0e6,\n  purple: 0x800080,\n  rebeccapurple: 0x663399,\n  red: 0xff0000,\n  rosybrown: 0xbc8f8f,\n  royalblue: 0x4169e1,\n  saddlebrown: 0x8b4513,\n  salmon: 0xfa8072,\n  sandybrown: 0xf4a460,\n  seagreen: 0x2e8b57,\n  seashell: 0xfff5ee,\n  sienna: 0xa0522d,\n  silver: 0xc0c0c0,\n  skyblue: 0x87ceeb,\n  slateblue: 0x6a5acd,\n  slategray: 0x708090,\n  slategrey: 0x708090,\n  snow: 0xfffafa,\n  springgreen: 0x00ff7f,\n  steelblue: 0x4682b4,\n  tan: 0xd2b48c,\n  teal: 0x008080,\n  thistle: 0xd8bfd8,\n  tomato: 0xff6347,\n  turquoise: 0x40e0d0,\n  violet: 0xee82ee,\n  wheat: 0xf5deb3,\n  white: 0xffffff,\n  whitesmoke: 0xf5f5f5,\n  yellow: 0xffff00,\n  yellowgreen: 0x9acd32\n};\n\ndefine(Color, color, {\n  displayable: function() {\n    return this.rgb().displayable();\n  },\n  toString: function() {\n    return this.rgb() + \"\";\n  }\n});\n\nfunction color(format) {\n  var m;\n  format = (format + \"\").trim().toLowerCase();\n  return (m = reHex3.exec(format)) ? (m = parseInt(m[1], 16), new Rgb((m >> 8 & 0xf) | (m >> 4 & 0x0f0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1)) // #f00\n      : (m = reHex6.exec(format)) ? rgbn(parseInt(m[1], 16)) // #ff0000\n      : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)\n      : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)\n      : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)\n      : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)\n      : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)\n      : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)\n      : named.hasOwnProperty(format) ? rgbn(named[format])\n      : format === \"transparent\" ? new Rgb(NaN, NaN, NaN, 0)\n      : null;\n}\n\nfunction rgbn(n) {\n  return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);\n}\n\nfunction rgba(r, g, b, a) {\n  if (a <= 0) r = g = b = NaN;\n  return new Rgb(r, g, b, a);\n}\n\nfunction rgbConvert(o) {\n  if (!(o instanceof Color)) o = color(o);\n  if (!o) return new Rgb;\n  o = o.rgb();\n  return new Rgb(o.r, o.g, o.b, o.opacity);\n}\n\nfunction rgb(r, g, b, opacity) {\n  return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);\n}\n\nfunction Rgb(r, g, b, opacity) {\n  this.r = +r;\n  this.g = +g;\n  this.b = +b;\n  this.opacity = +opacity;\n}\n\ndefine(Rgb, rgb, extend(Color, {\n  brighter: function(k) {\n    k = k == null ? brighter : Math.pow(brighter, k);\n    return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n  },\n  darker: function(k) {\n    k = k == null ? darker : Math.pow(darker, k);\n    return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n  },\n  rgb: function() {\n    return this;\n  },\n  displayable: function() {\n    return (0 <= this.r && this.r <= 255)\n        && (0 <= this.g && this.g <= 255)\n        && (0 <= this.b && this.b <= 255)\n        && (0 <= this.opacity && this.opacity <= 1);\n  },\n  toString: function() {\n    var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n    return (a === 1 ? \"rgb(\" : \"rgba(\")\n        + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + \", \"\n        + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + \", \"\n        + Math.max(0, Math.min(255, Math.round(this.b) || 0))\n        + (a === 1 ? \")\" : \", \" + a + \")\");\n  }\n}));\n\nfunction hsla(h, s, l, a) {\n  if (a <= 0) h = s = l = NaN;\n  else if (l <= 0 || l >= 1) h = s = NaN;\n  else if (s <= 0) h = NaN;\n  return new Hsl(h, s, l, a);\n}\n\nfunction hslConvert(o) {\n  if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);\n  if (!(o instanceof Color)) o = color(o);\n  if (!o) return new Hsl;\n  if (o instanceof Hsl) return o;\n  o = o.rgb();\n  var r = o.r / 255,\n      g = o.g / 255,\n      b = o.b / 255,\n      min = Math.min(r, g, b),\n      max = Math.max(r, g, b),\n      h = NaN,\n      s = max - min,\n      l = (max + min) / 2;\n  if (s) {\n    if (r === max) h = (g - b) / s + (g < b) * 6;\n    else if (g === max) h = (b - r) / s + 2;\n    else h = (r - g) / s + 4;\n    s /= l < 0.5 ? max + min : 2 - max - min;\n    h *= 60;\n  } else {\n    s = l > 0 && l < 1 ? 0 : h;\n  }\n  return new Hsl(h, s, l, o.opacity);\n}\n\nfunction hsl(h, s, l, opacity) {\n  return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hsl(h, s, l, opacity) {\n  this.h = +h;\n  this.s = +s;\n  this.l = +l;\n  this.opacity = +opacity;\n}\n\ndefine(Hsl, hsl, extend(Color, {\n  brighter: function(k) {\n    k = k == null ? brighter : Math.pow(brighter, k);\n    return new Hsl(this.h, this.s, this.l * k, this.opacity);\n  },\n  darker: function(k) {\n    k = k == null ? darker : Math.pow(darker, k);\n    return new Hsl(this.h, this.s, this.l * k, this.opacity);\n  },\n  rgb: function() {\n    var h = this.h % 360 + (this.h < 0) * 360,\n        s = isNaN(h) || isNaN(this.s) ? 0 : this.s,\n        l = this.l,\n        m2 = l + (l < 0.5 ? l : 1 - l) * s,\n        m1 = 2 * l - m2;\n    return new Rgb(\n      hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),\n      hsl2rgb(h, m1, m2),\n      hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),\n      this.opacity\n    );\n  },\n  displayable: function() {\n    return (0 <= this.s && this.s <= 1 || isNaN(this.s))\n        && (0 <= this.l && this.l <= 1)\n        && (0 <= this.opacity && this.opacity <= 1);\n  }\n}));\n\n/* From FvD 13.37, CSS Color Module Level 3 */\nfunction hsl2rgb(h, m1, m2) {\n  return (h < 60 ? m1 + (m2 - m1) * h / 60\n      : h < 180 ? m2\n      : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60\n      : m1) * 255;\n}\n\nvar deg2rad = Math.PI / 180;\nvar rad2deg = 180 / Math.PI;\n\nvar Kn = 18;\nvar Xn = 0.950470;\nvar Yn = 1;\nvar Zn = 1.088830;\nvar t0 = 4 / 29;\nvar t1 = 6 / 29;\nvar t2 = 3 * t1 * t1;\nvar t3 = t1 * t1 * t1;\n\nfunction labConvert(o) {\n  if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);\n  if (o instanceof Hcl) {\n    var h = o.h * deg2rad;\n    return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);\n  }\n  if (!(o instanceof Rgb)) o = rgbConvert(o);\n  var b = rgb2xyz(o.r),\n      a = rgb2xyz(o.g),\n      l = rgb2xyz(o.b),\n      x = xyz2lab((0.4124564 * b + 0.3575761 * a + 0.1804375 * l) / Xn),\n      y = xyz2lab((0.2126729 * b + 0.7151522 * a + 0.0721750 * l) / Yn),\n      z = xyz2lab((0.0193339 * b + 0.1191920 * a + 0.9503041 * l) / Zn);\n  return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);\n}\n\nfunction lab(l, a, b, opacity) {\n  return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);\n}\n\nfunction Lab(l, a, b, opacity) {\n  this.l = +l;\n  this.a = +a;\n  this.b = +b;\n  this.opacity = +opacity;\n}\n\ndefine(Lab, lab, extend(Color, {\n  brighter: function(k) {\n    return new Lab(this.l + Kn * (k == null ? 1 : k), this.a, this.b, this.opacity);\n  },\n  darker: function(k) {\n    return new Lab(this.l - Kn * (k == null ? 1 : k), this.a, this.b, this.opacity);\n  },\n  rgb: function() {\n    var y = (this.l + 16) / 116,\n        x = isNaN(this.a) ? y : y + this.a / 500,\n        z = isNaN(this.b) ? y : y - this.b / 200;\n    y = Yn * lab2xyz(y);\n    x = Xn * lab2xyz(x);\n    z = Zn * lab2xyz(z);\n    return new Rgb(\n      xyz2rgb( 3.2404542 * x - 1.5371385 * y - 0.4985314 * z), // D65 -> sRGB\n      xyz2rgb(-0.9692660 * x + 1.8760108 * y + 0.0415560 * z),\n      xyz2rgb( 0.0556434 * x - 0.2040259 * y + 1.0572252 * z),\n      this.opacity\n    );\n  }\n}));\n\nfunction xyz2lab(t) {\n  return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;\n}\n\nfunction lab2xyz(t) {\n  return t > t1 ? t * t * t : t2 * (t - t0);\n}\n\nfunction xyz2rgb(x) {\n  return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);\n}\n\nfunction rgb2xyz(x) {\n  return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);\n}\n\nfunction hclConvert(o) {\n  if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);\n  if (!(o instanceof Lab)) o = labConvert(o);\n  var h = Math.atan2(o.b, o.a) * rad2deg;\n  return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);\n}\n\nfunction hcl(h, c, l, opacity) {\n  return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hcl(h, c, l, opacity) {\n  this.h = +h;\n  this.c = +c;\n  this.l = +l;\n  this.opacity = +opacity;\n}\n\ndefine(Hcl, hcl, extend(Color, {\n  brighter: function(k) {\n    return new Hcl(this.h, this.c, this.l + Kn * (k == null ? 1 : k), this.opacity);\n  },\n  darker: function(k) {\n    return new Hcl(this.h, this.c, this.l - Kn * (k == null ? 1 : k), this.opacity);\n  },\n  rgb: function() {\n    return labConvert(this).rgb();\n  }\n}));\n\nvar A = -0.14861;\nvar B = +1.78277;\nvar C = -0.29227;\nvar D = -0.90649;\nvar E = +1.97294;\nvar ED = E * D;\nvar EB = E * B;\nvar BC_DA = B * C - D * A;\n\nfunction cubehelixConvert(o) {\n  if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);\n  if (!(o instanceof Rgb)) o = rgbConvert(o);\n  var r = o.r / 255,\n      g = o.g / 255,\n      b = o.b / 255,\n      l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),\n      bl = b - l,\n      k = (E * (g - l) - C * bl) / D,\n      s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1\n      h = s ? Math.atan2(k, bl) * rad2deg - 120 : NaN;\n  return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);\n}\n\nfunction cubehelix(h, s, l, opacity) {\n  return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Cubehelix(h, s, l, opacity) {\n  this.h = +h;\n  this.s = +s;\n  this.l = +l;\n  this.opacity = +opacity;\n}\n\ndefine(Cubehelix, cubehelix, extend(Color, {\n  brighter: function(k) {\n    k = k == null ? brighter : Math.pow(brighter, k);\n    return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n  },\n  darker: function(k) {\n    k = k == null ? darker : Math.pow(darker, k);\n    return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n  },\n  rgb: function() {\n    var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad,\n        l = +this.l,\n        a = isNaN(this.s) ? 0 : this.s * l * (1 - l),\n        cosh = Math.cos(h),\n        sinh = Math.sin(h);\n    return new Rgb(\n      255 * (l + a * (A * cosh + B * sinh)),\n      255 * (l + a * (C * cosh + D * sinh)),\n      255 * (l + a * (E * cosh)),\n      this.opacity\n    );\n  }\n}));\n\nfunction basis(t1, v0, v1, v2, v3) {\n  var t2 = t1 * t1, t3 = t2 * t1;\n  return ((1 - 3 * t1 + 3 * t2 - t3) * v0\n      + (4 - 6 * t2 + 3 * t3) * v1\n      + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2\n      + t3 * v3) / 6;\n}\n\nvar basis$1 = function(values) {\n  var n = values.length - 1;\n  return function(t) {\n    var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),\n        v1 = values[i],\n        v2 = values[i + 1],\n        v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,\n        v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;\n    return basis((t - i / n) * n, v0, v1, v2, v3);\n  };\n};\n\nvar basisClosed = function(values) {\n  var n = values.length;\n  return function(t) {\n    var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),\n        v0 = values[(i + n - 1) % n],\n        v1 = values[i % n],\n        v2 = values[(i + 1) % n],\n        v3 = values[(i + 2) % n];\n    return basis((t - i / n) * n, v0, v1, v2, v3);\n  };\n};\n\nvar constant$3 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nfunction linear(a, d) {\n  return function(t) {\n    return a + t * d;\n  };\n}\n\nfunction exponential(a, b, y) {\n  return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {\n    return Math.pow(a + t * b, y);\n  };\n}\n\nfunction hue(a, b) {\n  var d = b - a;\n  return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant$3(isNaN(a) ? b : a);\n}\n\nfunction gamma(y) {\n  return (y = +y) === 1 ? nogamma : function(a, b) {\n    return b - a ? exponential(a, b, y) : constant$3(isNaN(a) ? b : a);\n  };\n}\n\nfunction nogamma(a, b) {\n  var d = b - a;\n  return d ? linear(a, d) : constant$3(isNaN(a) ? b : a);\n}\n\nvar interpolateRgb = ((function rgbGamma(y) {\n  var color$$1 = gamma(y);\n\n  function rgb$$1(start, end) {\n    var r = color$$1((start = rgb(start)).r, (end = rgb(end)).r),\n        g = color$$1(start.g, end.g),\n        b = color$$1(start.b, end.b),\n        opacity = nogamma(start.opacity, end.opacity);\n    return function(t) {\n      start.r = r(t);\n      start.g = g(t);\n      start.b = b(t);\n      start.opacity = opacity(t);\n      return start + \"\";\n    };\n  }\n\n  rgb$$1.gamma = rgbGamma;\n\n  return rgb$$1;\n}))(1);\n\nfunction rgbSpline(spline) {\n  return function(colors) {\n    var n = colors.length,\n        r = new Array(n),\n        g = new Array(n),\n        b = new Array(n),\n        i, color$$1;\n    for (i = 0; i < n; ++i) {\n      color$$1 = rgb(colors[i]);\n      r[i] = color$$1.r || 0;\n      g[i] = color$$1.g || 0;\n      b[i] = color$$1.b || 0;\n    }\n    r = spline(r);\n    g = spline(g);\n    b = spline(b);\n    color$$1.opacity = 1;\n    return function(t) {\n      color$$1.r = r(t);\n      color$$1.g = g(t);\n      color$$1.b = b(t);\n      return color$$1 + \"\";\n    };\n  };\n}\n\nvar rgbBasis = rgbSpline(basis$1);\nvar rgbBasisClosed = rgbSpline(basisClosed);\n\nvar array$1 = function(a, b) {\n  var nb = b ? b.length : 0,\n      na = a ? Math.min(nb, a.length) : 0,\n      x = new Array(nb),\n      c = new Array(nb),\n      i;\n\n  for (i = 0; i < na; ++i) x[i] = interpolateValue(a[i], b[i]);\n  for (; i < nb; ++i) c[i] = b[i];\n\n  return function(t) {\n    for (i = 0; i < na; ++i) c[i] = x[i](t);\n    return c;\n  };\n};\n\nvar date = function(a, b) {\n  var d = new Date;\n  return a = +a, b -= a, function(t) {\n    return d.setTime(a + b * t), d;\n  };\n};\n\nvar reinterpolate = function(a, b) {\n  return a = +a, b -= a, function(t) {\n    return a + b * t;\n  };\n};\n\nvar object = function(a, b) {\n  var i = {},\n      c = {},\n      k;\n\n  if (a === null || typeof a !== \"object\") a = {};\n  if (b === null || typeof b !== \"object\") b = {};\n\n  for (k in b) {\n    if (k in a) {\n      i[k] = interpolateValue(a[k], b[k]);\n    } else {\n      c[k] = b[k];\n    }\n  }\n\n  return function(t) {\n    for (k in i) c[k] = i[k](t);\n    return c;\n  };\n};\n\nvar reA = /[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g;\nvar reB = new RegExp(reA.source, \"g\");\n\nfunction zero(b) {\n  return function() {\n    return b;\n  };\n}\n\nfunction one(b) {\n  return function(t) {\n    return b(t) + \"\";\n  };\n}\n\nvar interpolateString = function(a, b) {\n  var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b\n      am, // current match in a\n      bm, // current match in b\n      bs, // string preceding current number in b, if any\n      i = -1, // index in s\n      s = [], // string constants and placeholders\n      q = []; // number interpolators\n\n  // Coerce inputs to strings.\n  a = a + \"\", b = b + \"\";\n\n  // Interpolate pairs of numbers in a & b.\n  while ((am = reA.exec(a))\n      && (bm = reB.exec(b))) {\n    if ((bs = bm.index) > bi) { // a string precedes the next number in b\n      bs = b.slice(bi, bs);\n      if (s[i]) s[i] += bs; // coalesce with previous string\n      else s[++i] = bs;\n    }\n    if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match\n      if (s[i]) s[i] += bm; // coalesce with previous string\n      else s[++i] = bm;\n    } else { // interpolate non-matching numbers\n      s[++i] = null;\n      q.push({i: i, x: reinterpolate(am, bm)});\n    }\n    bi = reB.lastIndex;\n  }\n\n  // Add remains of b.\n  if (bi < b.length) {\n    bs = b.slice(bi);\n    if (s[i]) s[i] += bs; // coalesce with previous string\n    else s[++i] = bs;\n  }\n\n  // Special optimization for only a single match.\n  // Otherwise, interpolate each of the numbers and rejoin the string.\n  return s.length < 2 ? (q[0]\n      ? one(q[0].x)\n      : zero(b))\n      : (b = q.length, function(t) {\n          for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);\n          return s.join(\"\");\n        });\n};\n\nvar interpolateValue = function(a, b) {\n  var t = typeof b, c;\n  return b == null || t === \"boolean\" ? constant$3(b)\n      : (t === \"number\" ? reinterpolate\n      : t === \"string\" ? ((c = color(b)) ? (b = c, interpolateRgb) : interpolateString)\n      : b instanceof color ? interpolateRgb\n      : b instanceof Date ? date\n      : Array.isArray(b) ? array$1\n      : typeof b.valueOf !== \"function\" && typeof b.toString !== \"function\" || isNaN(b) ? object\n      : reinterpolate)(a, b);\n};\n\nvar interpolateRound = function(a, b) {\n  return a = +a, b -= a, function(t) {\n    return Math.round(a + b * t);\n  };\n};\n\nvar degrees = 180 / Math.PI;\n\nvar identity$2 = {\n  translateX: 0,\n  translateY: 0,\n  rotate: 0,\n  skewX: 0,\n  scaleX: 1,\n  scaleY: 1\n};\n\nvar decompose = function(a, b, c, d, e, f) {\n  var scaleX, scaleY, skewX;\n  if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;\n  if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;\n  if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;\n  if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;\n  return {\n    translateX: e,\n    translateY: f,\n    rotate: Math.atan2(b, a) * degrees,\n    skewX: Math.atan(skewX) * degrees,\n    scaleX: scaleX,\n    scaleY: scaleY\n  };\n};\n\nvar cssNode;\nvar cssRoot;\nvar cssView;\nvar svgNode;\n\nfunction parseCss(value) {\n  if (value === \"none\") return identity$2;\n  if (!cssNode) cssNode = document.createElement(\"DIV\"), cssRoot = document.documentElement, cssView = document.defaultView;\n  cssNode.style.transform = value;\n  value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue(\"transform\");\n  cssRoot.removeChild(cssNode);\n  value = value.slice(7, -1).split(\",\");\n  return decompose(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);\n}\n\nfunction parseSvg(value) {\n  if (value == null) return identity$2;\n  if (!svgNode) svgNode = document.createElementNS(\"http://www.w3.org/2000/svg\", \"g\");\n  svgNode.setAttribute(\"transform\", value);\n  if (!(value = svgNode.transform.baseVal.consolidate())) return identity$2;\n  value = value.matrix;\n  return decompose(value.a, value.b, value.c, value.d, value.e, value.f);\n}\n\nfunction interpolateTransform(parse, pxComma, pxParen, degParen) {\n\n  function pop(s) {\n    return s.length ? s.pop() + \" \" : \"\";\n  }\n\n  function translate(xa, ya, xb, yb, s, q) {\n    if (xa !== xb || ya !== yb) {\n      var i = s.push(\"translate(\", null, pxComma, null, pxParen);\n      q.push({i: i - 4, x: reinterpolate(xa, xb)}, {i: i - 2, x: reinterpolate(ya, yb)});\n    } else if (xb || yb) {\n      s.push(\"translate(\" + xb + pxComma + yb + pxParen);\n    }\n  }\n\n  function rotate(a, b, s, q) {\n    if (a !== b) {\n      if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path\n      q.push({i: s.push(pop(s) + \"rotate(\", null, degParen) - 2, x: reinterpolate(a, b)});\n    } else if (b) {\n      s.push(pop(s) + \"rotate(\" + b + degParen);\n    }\n  }\n\n  function skewX(a, b, s, q) {\n    if (a !== b) {\n      q.push({i: s.push(pop(s) + \"skewX(\", null, degParen) - 2, x: reinterpolate(a, b)});\n    } else if (b) {\n      s.push(pop(s) + \"skewX(\" + b + degParen);\n    }\n  }\n\n  function scale(xa, ya, xb, yb, s, q) {\n    if (xa !== xb || ya !== yb) {\n      var i = s.push(pop(s) + \"scale(\", null, \",\", null, \")\");\n      q.push({i: i - 4, x: reinterpolate(xa, xb)}, {i: i - 2, x: reinterpolate(ya, yb)});\n    } else if (xb !== 1 || yb !== 1) {\n      s.push(pop(s) + \"scale(\" + xb + \",\" + yb + \")\");\n    }\n  }\n\n  return function(a, b) {\n    var s = [], // string constants and placeholders\n        q = []; // number interpolators\n    a = parse(a), b = parse(b);\n    translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);\n    rotate(a.rotate, b.rotate, s, q);\n    skewX(a.skewX, b.skewX, s, q);\n    scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);\n    a = b = null; // gc\n    return function(t) {\n      var i = -1, n = q.length, o;\n      while (++i < n) s[(o = q[i]).i] = o.x(t);\n      return s.join(\"\");\n    };\n  };\n}\n\nvar interpolateTransformCss = interpolateTransform(parseCss, \"px, \", \"px)\", \"deg)\");\nvar interpolateTransformSvg = interpolateTransform(parseSvg, \", \", \")\", \")\");\n\nvar rho = Math.SQRT2;\nvar rho2 = 2;\nvar rho4 = 4;\nvar epsilon2 = 1e-12;\n\nfunction cosh(x) {\n  return ((x = Math.exp(x)) + 1 / x) / 2;\n}\n\nfunction sinh(x) {\n  return ((x = Math.exp(x)) - 1 / x) / 2;\n}\n\nfunction tanh(x) {\n  return ((x = Math.exp(2 * x)) - 1) / (x + 1);\n}\n\n// p0 = [ux0, uy0, w0]\n// p1 = [ux1, uy1, w1]\nvar interpolateZoom = function(p0, p1) {\n  var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],\n      ux1 = p1[0], uy1 = p1[1], w1 = p1[2],\n      dx = ux1 - ux0,\n      dy = uy1 - uy0,\n      d2 = dx * dx + dy * dy,\n      i,\n      S;\n\n  // Special case for u0 ≅ u1.\n  if (d2 < epsilon2) {\n    S = Math.log(w1 / w0) / rho;\n    i = function(t) {\n      return [\n        ux0 + t * dx,\n        uy0 + t * dy,\n        w0 * Math.exp(rho * t * S)\n      ];\n    };\n  }\n\n  // General case.\n  else {\n    var d1 = Math.sqrt(d2),\n        b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),\n        b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),\n        r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),\n        r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);\n    S = (r1 - r0) / rho;\n    i = function(t) {\n      var s = t * S,\n          coshr0 = cosh(r0),\n          u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));\n      return [\n        ux0 + u * dx,\n        uy0 + u * dy,\n        w0 * coshr0 / cosh(rho * s + r0)\n      ];\n    };\n  }\n\n  i.duration = S * 1000;\n\n  return i;\n};\n\nfunction hsl$1(hue$$1) {\n  return function(start, end) {\n    var h = hue$$1((start = hsl(start)).h, (end = hsl(end)).h),\n        s = nogamma(start.s, end.s),\n        l = nogamma(start.l, end.l),\n        opacity = nogamma(start.opacity, end.opacity);\n    return function(t) {\n      start.h = h(t);\n      start.s = s(t);\n      start.l = l(t);\n      start.opacity = opacity(t);\n      return start + \"\";\n    };\n  }\n}\n\nvar hsl$2 = hsl$1(hue);\nvar hslLong = hsl$1(nogamma);\n\nfunction lab$1(start, end) {\n  var l = nogamma((start = lab(start)).l, (end = lab(end)).l),\n      a = nogamma(start.a, end.a),\n      b = nogamma(start.b, end.b),\n      opacity = nogamma(start.opacity, end.opacity);\n  return function(t) {\n    start.l = l(t);\n    start.a = a(t);\n    start.b = b(t);\n    start.opacity = opacity(t);\n    return start + \"\";\n  };\n}\n\nfunction hcl$1(hue$$1) {\n  return function(start, end) {\n    var h = hue$$1((start = hcl(start)).h, (end = hcl(end)).h),\n        c = nogamma(start.c, end.c),\n        l = nogamma(start.l, end.l),\n        opacity = nogamma(start.opacity, end.opacity);\n    return function(t) {\n      start.h = h(t);\n      start.c = c(t);\n      start.l = l(t);\n      start.opacity = opacity(t);\n      return start + \"\";\n    };\n  }\n}\n\nvar hcl$2 = hcl$1(hue);\nvar hclLong = hcl$1(nogamma);\n\nfunction cubehelix$1(hue$$1) {\n  return (function cubehelixGamma(y) {\n    y = +y;\n\n    function cubehelix$$1(start, end) {\n      var h = hue$$1((start = cubehelix(start)).h, (end = cubehelix(end)).h),\n          s = nogamma(start.s, end.s),\n          l = nogamma(start.l, end.l),\n          opacity = nogamma(start.opacity, end.opacity);\n      return function(t) {\n        start.h = h(t);\n        start.s = s(t);\n        start.l = l(Math.pow(t, y));\n        start.opacity = opacity(t);\n        return start + \"\";\n      };\n    }\n\n    cubehelix$$1.gamma = cubehelixGamma;\n\n    return cubehelix$$1;\n  })(1);\n}\n\nvar cubehelix$2 = cubehelix$1(hue);\nvar cubehelixLong = cubehelix$1(nogamma);\n\nvar quantize = function(interpolator, n) {\n  var samples = new Array(n);\n  for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));\n  return samples;\n};\n\nvar frame = 0;\nvar timeout = 0;\nvar interval = 0;\nvar pokeDelay = 1000;\nvar taskHead;\nvar taskTail;\nvar clockLast = 0;\nvar clockNow = 0;\nvar clockSkew = 0;\nvar clock = typeof performance === \"object\" && performance.now ? performance : Date;\nvar setFrame = typeof requestAnimationFrame === \"function\" ? requestAnimationFrame : function(f) { setTimeout(f, 17); };\n\nfunction now() {\n  return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);\n}\n\nfunction clearNow() {\n  clockNow = 0;\n}\n\nfunction Timer() {\n  this._call =\n  this._time =\n  this._next = null;\n}\n\nTimer.prototype = timer.prototype = {\n  constructor: Timer,\n  restart: function(callback, delay, time) {\n    if (typeof callback !== \"function\") throw new TypeError(\"callback is not a function\");\n    time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);\n    if (!this._next && taskTail !== this) {\n      if (taskTail) taskTail._next = this;\n      else taskHead = this;\n      taskTail = this;\n    }\n    this._call = callback;\n    this._time = time;\n    sleep();\n  },\n  stop: function() {\n    if (this._call) {\n      this._call = null;\n      this._time = Infinity;\n      sleep();\n    }\n  }\n};\n\nfunction timer(callback, delay, time) {\n  var t = new Timer;\n  t.restart(callback, delay, time);\n  return t;\n}\n\nfunction timerFlush() {\n  now(); // Get the current time, if not already set.\n  ++frame; // Pretend we’ve set an alarm, if we haven’t already.\n  var t = taskHead, e;\n  while (t) {\n    if ((e = clockNow - t._time) >= 0) t._call.call(null, e);\n    t = t._next;\n  }\n  --frame;\n}\n\nfunction wake() {\n  clockNow = (clockLast = clock.now()) + clockSkew;\n  frame = timeout = 0;\n  try {\n    timerFlush();\n  } finally {\n    frame = 0;\n    nap();\n    clockNow = 0;\n  }\n}\n\nfunction poke() {\n  var now = clock.now(), delay = now - clockLast;\n  if (delay > pokeDelay) clockSkew -= delay, clockLast = now;\n}\n\nfunction nap() {\n  var t0, t1 = taskHead, t2, time = Infinity;\n  while (t1) {\n    if (t1._call) {\n      if (time > t1._time) time = t1._time;\n      t0 = t1, t1 = t1._next;\n    } else {\n      t2 = t1._next, t1._next = null;\n      t1 = t0 ? t0._next = t2 : taskHead = t2;\n    }\n  }\n  taskTail = t0;\n  sleep(time);\n}\n\nfunction sleep(time) {\n  if (frame) return; // Soonest alarm already set, or will be.\n  if (timeout) timeout = clearTimeout(timeout);\n  var delay = time - clockNow;\n  if (delay > 24) {\n    if (time < Infinity) timeout = setTimeout(wake, delay);\n    if (interval) interval = clearInterval(interval);\n  } else {\n    if (!interval) clockLast = clockNow, interval = setInterval(poke, pokeDelay);\n    frame = 1, setFrame(wake);\n  }\n}\n\nvar timeout$1 = function(callback, delay, time) {\n  var t = new Timer;\n  delay = delay == null ? 0 : +delay;\n  t.restart(function(elapsed) {\n    t.stop();\n    callback(elapsed + delay);\n  }, delay, time);\n  return t;\n};\n\nvar interval$1 = function(callback, delay, time) {\n  var t = new Timer, total = delay;\n  if (delay == null) return t.restart(callback, delay, time), t;\n  delay = +delay, time = time == null ? now() : +time;\n  t.restart(function tick(elapsed) {\n    elapsed += total;\n    t.restart(tick, total += delay, time);\n    callback(elapsed);\n  }, delay, time);\n  return t;\n};\n\nvar emptyOn = dispatch(\"start\", \"end\", \"interrupt\");\nvar emptyTween = [];\n\nvar CREATED = 0;\nvar SCHEDULED = 1;\nvar STARTING = 2;\nvar STARTED = 3;\nvar RUNNING = 4;\nvar ENDING = 5;\nvar ENDED = 6;\n\nvar schedule = function(node, name, id, index, group, timing) {\n  var schedules = node.__transition;\n  if (!schedules) node.__transition = {};\n  else if (id in schedules) return;\n  create(node, id, {\n    name: name,\n    index: index, // For context during callback.\n    group: group, // For context during callback.\n    on: emptyOn,\n    tween: emptyTween,\n    time: timing.time,\n    delay: timing.delay,\n    duration: timing.duration,\n    ease: timing.ease,\n    timer: null,\n    state: CREATED\n  });\n};\n\nfunction init(node, id) {\n  var schedule = node.__transition;\n  if (!schedule || !(schedule = schedule[id]) || schedule.state > CREATED) throw new Error(\"too late\");\n  return schedule;\n}\n\nfunction set$1(node, id) {\n  var schedule = node.__transition;\n  if (!schedule || !(schedule = schedule[id]) || schedule.state > STARTING) throw new Error(\"too late\");\n  return schedule;\n}\n\nfunction get$1(node, id) {\n  var schedule = node.__transition;\n  if (!schedule || !(schedule = schedule[id])) throw new Error(\"too late\");\n  return schedule;\n}\n\nfunction create(node, id, self) {\n  var schedules = node.__transition,\n      tween;\n\n  // Initialize the self timer when the transition is created.\n  // Note the actual delay is not known until the first callback!\n  schedules[id] = self;\n  self.timer = timer(schedule, 0, self.time);\n\n  function schedule(elapsed) {\n    self.state = SCHEDULED;\n    self.timer.restart(start, self.delay, self.time);\n\n    // If the elapsed delay is less than our first sleep, start immediately.\n    if (self.delay <= elapsed) start(elapsed - self.delay);\n  }\n\n  function start(elapsed) {\n    var i, j, n, o;\n\n    // If the state is not SCHEDULED, then we previously errored on start.\n    if (self.state !== SCHEDULED) return stop();\n\n    for (i in schedules) {\n      o = schedules[i];\n      if (o.name !== self.name) continue;\n\n      // While this element already has a starting transition during this frame,\n      // defer starting an interrupting transition until that transition has a\n      // chance to tick (and possibly end); see d3/d3-transition#54!\n      if (o.state === STARTED) return timeout$1(start);\n\n      // Interrupt the active transition, if any.\n      // Dispatch the interrupt event.\n      if (o.state === RUNNING) {\n        o.state = ENDED;\n        o.timer.stop();\n        o.on.call(\"interrupt\", node, node.__data__, o.index, o.group);\n        delete schedules[i];\n      }\n\n      // Cancel any pre-empted transitions. No interrupt event is dispatched\n      // because the cancelled transitions never started. Note that this also\n      // removes this transition from the pending list!\n      else if (+i < id) {\n        o.state = ENDED;\n        o.timer.stop();\n        delete schedules[i];\n      }\n    }\n\n    // Defer the first tick to end of the current frame; see d3/d3#1576.\n    // Note the transition may be canceled after start and before the first tick!\n    // Note this must be scheduled before the start event; see d3/d3-transition#16!\n    // Assuming this is successful, subsequent callbacks go straight to tick.\n    timeout$1(function() {\n      if (self.state === STARTED) {\n        self.state = RUNNING;\n        self.timer.restart(tick, self.delay, self.time);\n        tick(elapsed);\n      }\n    });\n\n    // Dispatch the start event.\n    // Note this must be done before the tween are initialized.\n    self.state = STARTING;\n    self.on.call(\"start\", node, node.__data__, self.index, self.group);\n    if (self.state !== STARTING) return; // interrupted\n    self.state = STARTED;\n\n    // Initialize the tween, deleting null tween.\n    tween = new Array(n = self.tween.length);\n    for (i = 0, j = -1; i < n; ++i) {\n      if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {\n        tween[++j] = o;\n      }\n    }\n    tween.length = j + 1;\n  }\n\n  function tick(elapsed) {\n    var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1),\n        i = -1,\n        n = tween.length;\n\n    while (++i < n) {\n      tween[i].call(null, t);\n    }\n\n    // Dispatch the end event.\n    if (self.state === ENDING) {\n      self.on.call(\"end\", node, node.__data__, self.index, self.group);\n      stop();\n    }\n  }\n\n  function stop() {\n    self.state = ENDED;\n    self.timer.stop();\n    delete schedules[id];\n    for (var i in schedules) return; // eslint-disable-line no-unused-vars\n    delete node.__transition;\n  }\n}\n\nvar interrupt = function(node, name) {\n  var schedules = node.__transition,\n      schedule,\n      active,\n      empty = true,\n      i;\n\n  if (!schedules) return;\n\n  name = name == null ? null : name + \"\";\n\n  for (i in schedules) {\n    if ((schedule = schedules[i]).name !== name) { empty = false; continue; }\n    active = schedule.state > STARTING && schedule.state < ENDING;\n    schedule.state = ENDED;\n    schedule.timer.stop();\n    if (active) schedule.on.call(\"interrupt\", node, node.__data__, schedule.index, schedule.group);\n    delete schedules[i];\n  }\n\n  if (empty) delete node.__transition;\n};\n\nvar selection_interrupt = function(name) {\n  return this.each(function() {\n    interrupt(this, name);\n  });\n};\n\nfunction tweenRemove(id, name) {\n  var tween0, tween1;\n  return function() {\n    var schedule = set$1(this, id),\n        tween = schedule.tween;\n\n    // If this node shared tween with the previous node,\n    // just assign the updated shared tween and we’re done!\n    // Otherwise, copy-on-write.\n    if (tween !== tween0) {\n      tween1 = tween0 = tween;\n      for (var i = 0, n = tween1.length; i < n; ++i) {\n        if (tween1[i].name === name) {\n          tween1 = tween1.slice();\n          tween1.splice(i, 1);\n          break;\n        }\n      }\n    }\n\n    schedule.tween = tween1;\n  };\n}\n\nfunction tweenFunction(id, name, value) {\n  var tween0, tween1;\n  if (typeof value !== \"function\") throw new Error;\n  return function() {\n    var schedule = set$1(this, id),\n        tween = schedule.tween;\n\n    // If this node shared tween with the previous node,\n    // just assign the updated shared tween and we’re done!\n    // Otherwise, copy-on-write.\n    if (tween !== tween0) {\n      tween1 = (tween0 = tween).slice();\n      for (var t = {name: name, value: value}, i = 0, n = tween1.length; i < n; ++i) {\n        if (tween1[i].name === name) {\n          tween1[i] = t;\n          break;\n        }\n      }\n      if (i === n) tween1.push(t);\n    }\n\n    schedule.tween = tween1;\n  };\n}\n\nvar transition_tween = function(name, value) {\n  var id = this._id;\n\n  name += \"\";\n\n  if (arguments.length < 2) {\n    var tween = get$1(this.node(), id).tween;\n    for (var i = 0, n = tween.length, t; i < n; ++i) {\n      if ((t = tween[i]).name === name) {\n        return t.value;\n      }\n    }\n    return null;\n  }\n\n  return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value));\n};\n\nfunction tweenValue(transition, name, value) {\n  var id = transition._id;\n\n  transition.each(function() {\n    var schedule = set$1(this, id);\n    (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);\n  });\n\n  return function(node) {\n    return get$1(node, id).value[name];\n  };\n}\n\nvar interpolate$$1 = function(a, b) {\n  var c;\n  return (typeof b === \"number\" ? reinterpolate\n      : b instanceof color ? interpolateRgb\n      : (c = color(b)) ? (b = c, interpolateRgb)\n      : interpolateString)(a, b);\n};\n\nfunction attrRemove$1(name) {\n  return function() {\n    this.removeAttribute(name);\n  };\n}\n\nfunction attrRemoveNS$1(fullname) {\n  return function() {\n    this.removeAttributeNS(fullname.space, fullname.local);\n  };\n}\n\nfunction attrConstant$1(name, interpolate$$1, value1) {\n  var value00,\n      interpolate0;\n  return function() {\n    var value0 = this.getAttribute(name);\n    return value0 === value1 ? null\n        : value0 === value00 ? interpolate0\n        : interpolate0 = interpolate$$1(value00 = value0, value1);\n  };\n}\n\nfunction attrConstantNS$1(fullname, interpolate$$1, value1) {\n  var value00,\n      interpolate0;\n  return function() {\n    var value0 = this.getAttributeNS(fullname.space, fullname.local);\n    return value0 === value1 ? null\n        : value0 === value00 ? interpolate0\n        : interpolate0 = interpolate$$1(value00 = value0, value1);\n  };\n}\n\nfunction attrFunction$1(name, interpolate$$1, value) {\n  var value00,\n      value10,\n      interpolate0;\n  return function() {\n    var value0, value1 = value(this);\n    if (value1 == null) return void this.removeAttribute(name);\n    value0 = this.getAttribute(name);\n    return value0 === value1 ? null\n        : value0 === value00 && value1 === value10 ? interpolate0\n        : interpolate0 = interpolate$$1(value00 = value0, value10 = value1);\n  };\n}\n\nfunction attrFunctionNS$1(fullname, interpolate$$1, value) {\n  var value00,\n      value10,\n      interpolate0;\n  return function() {\n    var value0, value1 = value(this);\n    if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local);\n    value0 = this.getAttributeNS(fullname.space, fullname.local);\n    return value0 === value1 ? null\n        : value0 === value00 && value1 === value10 ? interpolate0\n        : interpolate0 = interpolate$$1(value00 = value0, value10 = value1);\n  };\n}\n\nvar transition_attr = function(name, value) {\n  var fullname = namespace(name), i = fullname === \"transform\" ? interpolateTransformSvg : interpolate$$1;\n  return this.attrTween(name, typeof value === \"function\"\n      ? (fullname.local ? attrFunctionNS$1 : attrFunction$1)(fullname, i, tweenValue(this, \"attr.\" + name, value))\n      : value == null ? (fullname.local ? attrRemoveNS$1 : attrRemove$1)(fullname)\n      : (fullname.local ? attrConstantNS$1 : attrConstant$1)(fullname, i, value + \"\"));\n};\n\nfunction attrTweenNS(fullname, value) {\n  function tween() {\n    var node = this, i = value.apply(node, arguments);\n    return i && function(t) {\n      node.setAttributeNS(fullname.space, fullname.local, i(t));\n    };\n  }\n  tween._value = value;\n  return tween;\n}\n\nfunction attrTween(name, value) {\n  function tween() {\n    var node = this, i = value.apply(node, arguments);\n    return i && function(t) {\n      node.setAttribute(name, i(t));\n    };\n  }\n  tween._value = value;\n  return tween;\n}\n\nvar transition_attrTween = function(name, value) {\n  var key = \"attr.\" + name;\n  if (arguments.length < 2) return (key = this.tween(key)) && key._value;\n  if (value == null) return this.tween(key, null);\n  if (typeof value !== \"function\") throw new Error;\n  var fullname = namespace(name);\n  return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));\n};\n\nfunction delayFunction(id, value) {\n  return function() {\n    init(this, id).delay = +value.apply(this, arguments);\n  };\n}\n\nfunction delayConstant(id, value) {\n  return value = +value, function() {\n    init(this, id).delay = value;\n  };\n}\n\nvar transition_delay = function(value) {\n  var id = this._id;\n\n  return arguments.length\n      ? this.each((typeof value === \"function\"\n          ? delayFunction\n          : delayConstant)(id, value))\n      : get$1(this.node(), id).delay;\n};\n\nfunction durationFunction(id, value) {\n  return function() {\n    set$1(this, id).duration = +value.apply(this, arguments);\n  };\n}\n\nfunction durationConstant(id, value) {\n  return value = +value, function() {\n    set$1(this, id).duration = value;\n  };\n}\n\nvar transition_duration = function(value) {\n  var id = this._id;\n\n  return arguments.length\n      ? this.each((typeof value === \"function\"\n          ? durationFunction\n          : durationConstant)(id, value))\n      : get$1(this.node(), id).duration;\n};\n\nfunction easeConstant(id, value) {\n  if (typeof value !== \"function\") throw new Error;\n  return function() {\n    set$1(this, id).ease = value;\n  };\n}\n\nvar transition_ease = function(value) {\n  var id = this._id;\n\n  return arguments.length\n      ? this.each(easeConstant(id, value))\n      : get$1(this.node(), id).ease;\n};\n\nvar transition_filter = function(match) {\n  if (typeof match !== \"function\") match = matcher$1(match);\n\n  for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n      if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n        subgroup.push(node);\n      }\n    }\n  }\n\n  return new Transition(subgroups, this._parents, this._name, this._id);\n};\n\nvar transition_merge = function(transition) {\n  if (transition._id !== this._id) throw new Error;\n\n  for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n    for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n      if (node = group0[i] || group1[i]) {\n        merge[i] = node;\n      }\n    }\n  }\n\n  for (; j < m0; ++j) {\n    merges[j] = groups0[j];\n  }\n\n  return new Transition(merges, this._parents, this._name, this._id);\n};\n\nfunction start(name) {\n  return (name + \"\").trim().split(/^|\\s+/).every(function(t) {\n    var i = t.indexOf(\".\");\n    if (i >= 0) t = t.slice(0, i);\n    return !t || t === \"start\";\n  });\n}\n\nfunction onFunction(id, name, listener) {\n  var on0, on1, sit = start(name) ? init : set$1;\n  return function() {\n    var schedule = sit(this, id),\n        on = schedule.on;\n\n    // If this node shared a dispatch with the previous node,\n    // just assign the updated shared dispatch and we’re done!\n    // Otherwise, copy-on-write.\n    if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener);\n\n    schedule.on = on1;\n  };\n}\n\nvar transition_on = function(name, listener) {\n  var id = this._id;\n\n  return arguments.length < 2\n      ? get$1(this.node(), id).on.on(name)\n      : this.each(onFunction(id, name, listener));\n};\n\nfunction removeFunction(id) {\n  return function() {\n    var parent = this.parentNode;\n    for (var i in this.__transition) if (+i !== id) return;\n    if (parent) parent.removeChild(this);\n  };\n}\n\nvar transition_remove = function() {\n  return this.on(\"end.remove\", removeFunction(this._id));\n};\n\nvar transition_select = function(select$$1) {\n  var name = this._name,\n      id = this._id;\n\n  if (typeof select$$1 !== \"function\") select$$1 = selector(select$$1);\n\n  for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n      if ((node = group[i]) && (subnode = select$$1.call(node, node.__data__, i, group))) {\n        if (\"__data__\" in node) subnode.__data__ = node.__data__;\n        subgroup[i] = subnode;\n        schedule(subgroup[i], name, id, i, subgroup, get$1(node, id));\n      }\n    }\n  }\n\n  return new Transition(subgroups, this._parents, name, id);\n};\n\nvar transition_selectAll = function(select$$1) {\n  var name = this._name,\n      id = this._id;\n\n  if (typeof select$$1 !== \"function\") select$$1 = selectorAll(select$$1);\n\n  for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        for (var children = select$$1.call(node, node.__data__, i, group), child, inherit = get$1(node, id), k = 0, l = children.length; k < l; ++k) {\n          if (child = children[k]) {\n            schedule(child, name, id, k, children, inherit);\n          }\n        }\n        subgroups.push(children);\n        parents.push(node);\n      }\n    }\n  }\n\n  return new Transition(subgroups, parents, name, id);\n};\n\nvar Selection$1 = selection.prototype.constructor;\n\nvar transition_selection = function() {\n  return new Selection$1(this._groups, this._parents);\n};\n\nfunction styleRemove$1(name, interpolate$$2) {\n  var value00,\n      value10,\n      interpolate0;\n  return function() {\n    var value0 = styleValue(this, name),\n        value1 = (this.style.removeProperty(name), styleValue(this, name));\n    return value0 === value1 ? null\n        : value0 === value00 && value1 === value10 ? interpolate0\n        : interpolate0 = interpolate$$2(value00 = value0, value10 = value1);\n  };\n}\n\nfunction styleRemoveEnd(name) {\n  return function() {\n    this.style.removeProperty(name);\n  };\n}\n\nfunction styleConstant$1(name, interpolate$$2, value1) {\n  var value00,\n      interpolate0;\n  return function() {\n    var value0 = styleValue(this, name);\n    return value0 === value1 ? null\n        : value0 === value00 ? interpolate0\n        : interpolate0 = interpolate$$2(value00 = value0, value1);\n  };\n}\n\nfunction styleFunction$1(name, interpolate$$2, value) {\n  var value00,\n      value10,\n      interpolate0;\n  return function() {\n    var value0 = styleValue(this, name),\n        value1 = value(this);\n    if (value1 == null) value1 = (this.style.removeProperty(name), styleValue(this, name));\n    return value0 === value1 ? null\n        : value0 === value00 && value1 === value10 ? interpolate0\n        : interpolate0 = interpolate$$2(value00 = value0, value10 = value1);\n  };\n}\n\nvar transition_style = function(name, value, priority) {\n  var i = (name += \"\") === \"transform\" ? interpolateTransformCss : interpolate$$1;\n  return value == null ? this\n          .styleTween(name, styleRemove$1(name, i))\n          .on(\"end.style.\" + name, styleRemoveEnd(name))\n      : this.styleTween(name, typeof value === \"function\"\n          ? styleFunction$1(name, i, tweenValue(this, \"style.\" + name, value))\n          : styleConstant$1(name, i, value + \"\"), priority);\n};\n\nfunction styleTween(name, value, priority) {\n  function tween() {\n    var node = this, i = value.apply(node, arguments);\n    return i && function(t) {\n      node.style.setProperty(name, i(t), priority);\n    };\n  }\n  tween._value = value;\n  return tween;\n}\n\nvar transition_styleTween = function(name, value, priority) {\n  var key = \"style.\" + (name += \"\");\n  if (arguments.length < 2) return (key = this.tween(key)) && key._value;\n  if (value == null) return this.tween(key, null);\n  if (typeof value !== \"function\") throw new Error;\n  return this.tween(key, styleTween(name, value, priority == null ? \"\" : priority));\n};\n\nfunction textConstant$1(value) {\n  return function() {\n    this.textContent = value;\n  };\n}\n\nfunction textFunction$1(value) {\n  return function() {\n    var value1 = value(this);\n    this.textContent = value1 == null ? \"\" : value1;\n  };\n}\n\nvar transition_text = function(value) {\n  return this.tween(\"text\", typeof value === \"function\"\n      ? textFunction$1(tweenValue(this, \"text\", value))\n      : textConstant$1(value == null ? \"\" : value + \"\"));\n};\n\nvar transition_transition = function() {\n  var name = this._name,\n      id0 = this._id,\n      id1 = newId();\n\n  for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        var inherit = get$1(node, id0);\n        schedule(node, name, id1, i, group, {\n          time: inherit.time + inherit.delay + inherit.duration,\n          delay: 0,\n          duration: inherit.duration,\n          ease: inherit.ease\n        });\n      }\n    }\n  }\n\n  return new Transition(groups, this._parents, name, id1);\n};\n\nvar id = 0;\n\nfunction Transition(groups, parents, name, id) {\n  this._groups = groups;\n  this._parents = parents;\n  this._name = name;\n  this._id = id;\n}\n\nfunction transition(name) {\n  return selection().transition(name);\n}\n\nfunction newId() {\n  return ++id;\n}\n\nvar selection_prototype = selection.prototype;\n\nTransition.prototype = transition.prototype = {\n  constructor: Transition,\n  select: transition_select,\n  selectAll: transition_selectAll,\n  filter: transition_filter,\n  merge: transition_merge,\n  selection: transition_selection,\n  transition: transition_transition,\n  call: selection_prototype.call,\n  nodes: selection_prototype.nodes,\n  node: selection_prototype.node,\n  size: selection_prototype.size,\n  empty: selection_prototype.empty,\n  each: selection_prototype.each,\n  on: transition_on,\n  attr: transition_attr,\n  attrTween: transition_attrTween,\n  style: transition_style,\n  styleTween: transition_styleTween,\n  text: transition_text,\n  remove: transition_remove,\n  tween: transition_tween,\n  delay: transition_delay,\n  duration: transition_duration,\n  ease: transition_ease\n};\n\nfunction linear$1(t) {\n  return +t;\n}\n\nfunction quadIn(t) {\n  return t * t;\n}\n\nfunction quadOut(t) {\n  return t * (2 - t);\n}\n\nfunction quadInOut(t) {\n  return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;\n}\n\nfunction cubicIn(t) {\n  return t * t * t;\n}\n\nfunction cubicOut(t) {\n  return --t * t * t + 1;\n}\n\nfunction cubicInOut(t) {\n  return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;\n}\n\nvar exponent = 3;\n\nvar polyIn = (function custom(e) {\n  e = +e;\n\n  function polyIn(t) {\n    return Math.pow(t, e);\n  }\n\n  polyIn.exponent = custom;\n\n  return polyIn;\n})(exponent);\n\nvar polyOut = (function custom(e) {\n  e = +e;\n\n  function polyOut(t) {\n    return 1 - Math.pow(1 - t, e);\n  }\n\n  polyOut.exponent = custom;\n\n  return polyOut;\n})(exponent);\n\nvar polyInOut = (function custom(e) {\n  e = +e;\n\n  function polyInOut(t) {\n    return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;\n  }\n\n  polyInOut.exponent = custom;\n\n  return polyInOut;\n})(exponent);\n\nvar pi = Math.PI;\nvar halfPi = pi / 2;\n\nfunction sinIn(t) {\n  return 1 - Math.cos(t * halfPi);\n}\n\nfunction sinOut(t) {\n  return Math.sin(t * halfPi);\n}\n\nfunction sinInOut(t) {\n  return (1 - Math.cos(pi * t)) / 2;\n}\n\nfunction expIn(t) {\n  return Math.pow(2, 10 * t - 10);\n}\n\nfunction expOut(t) {\n  return 1 - Math.pow(2, -10 * t);\n}\n\nfunction expInOut(t) {\n  return ((t *= 2) <= 1 ? Math.pow(2, 10 * t - 10) : 2 - Math.pow(2, 10 - 10 * t)) / 2;\n}\n\nfunction circleIn(t) {\n  return 1 - Math.sqrt(1 - t * t);\n}\n\nfunction circleOut(t) {\n  return Math.sqrt(1 - --t * t);\n}\n\nfunction circleInOut(t) {\n  return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;\n}\n\nvar b1 = 4 / 11;\nvar b2 = 6 / 11;\nvar b3 = 8 / 11;\nvar b4 = 3 / 4;\nvar b5 = 9 / 11;\nvar b6 = 10 / 11;\nvar b7 = 15 / 16;\nvar b8 = 21 / 22;\nvar b9 = 63 / 64;\nvar b0 = 1 / b1 / b1;\n\nfunction bounceIn(t) {\n  return 1 - bounceOut(1 - t);\n}\n\nfunction bounceOut(t) {\n  return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;\n}\n\nfunction bounceInOut(t) {\n  return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;\n}\n\nvar overshoot = 1.70158;\n\nvar backIn = (function custom(s) {\n  s = +s;\n\n  function backIn(t) {\n    return t * t * ((s + 1) * t - s);\n  }\n\n  backIn.overshoot = custom;\n\n  return backIn;\n})(overshoot);\n\nvar backOut = (function custom(s) {\n  s = +s;\n\n  function backOut(t) {\n    return --t * t * ((s + 1) * t + s) + 1;\n  }\n\n  backOut.overshoot = custom;\n\n  return backOut;\n})(overshoot);\n\nvar backInOut = (function custom(s) {\n  s = +s;\n\n  function backInOut(t) {\n    return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;\n  }\n\n  backInOut.overshoot = custom;\n\n  return backInOut;\n})(overshoot);\n\nvar tau = 2 * Math.PI;\nvar amplitude = 1;\nvar period = 0.3;\n\nvar elasticIn = (function custom(a, p) {\n  var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n  function elasticIn(t) {\n    return a * Math.pow(2, 10 * --t) * Math.sin((s - t) / p);\n  }\n\n  elasticIn.amplitude = function(a) { return custom(a, p * tau); };\n  elasticIn.period = function(p) { return custom(a, p); };\n\n  return elasticIn;\n})(amplitude, period);\n\nvar elasticOut = (function custom(a, p) {\n  var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n  function elasticOut(t) {\n    return 1 - a * Math.pow(2, -10 * (t = +t)) * Math.sin((t + s) / p);\n  }\n\n  elasticOut.amplitude = function(a) { return custom(a, p * tau); };\n  elasticOut.period = function(p) { return custom(a, p); };\n\n  return elasticOut;\n})(amplitude, period);\n\nvar elasticInOut = (function custom(a, p) {\n  var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n  function elasticInOut(t) {\n    return ((t = t * 2 - 1) < 0\n        ? a * Math.pow(2, 10 * t) * Math.sin((s - t) / p)\n        : 2 - a * Math.pow(2, -10 * t) * Math.sin((s + t) / p)) / 2;\n  }\n\n  elasticInOut.amplitude = function(a) { return custom(a, p * tau); };\n  elasticInOut.period = function(p) { return custom(a, p); };\n\n  return elasticInOut;\n})(amplitude, period);\n\nvar defaultTiming = {\n  time: null, // Set on use.\n  delay: 0,\n  duration: 250,\n  ease: cubicInOut\n};\n\nfunction inherit(node, id) {\n  var timing;\n  while (!(timing = node.__transition) || !(timing = timing[id])) {\n    if (!(node = node.parentNode)) {\n      return defaultTiming.time = now(), defaultTiming;\n    }\n  }\n  return timing;\n}\n\nvar selection_transition = function(name) {\n  var id,\n      timing;\n\n  if (name instanceof Transition) {\n    id = name._id, name = name._name;\n  } else {\n    id = newId(), (timing = defaultTiming).time = now(), name = name == null ? null : name + \"\";\n  }\n\n  for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        schedule(node, name, id, i, group, timing || inherit(node, id));\n      }\n    }\n  }\n\n  return new Transition(groups, this._parents, name, id);\n};\n\nselection.prototype.interrupt = selection_interrupt;\nselection.prototype.transition = selection_transition;\n\nvar root$1 = [null];\n\nvar active = function(node, name) {\n  var schedules = node.__transition,\n      schedule,\n      i;\n\n  if (schedules) {\n    name = name == null ? null : name + \"\";\n    for (i in schedules) {\n      if ((schedule = schedules[i]).state > SCHEDULED && schedule.name === name) {\n        return new Transition([[node]], root$1, name, +i);\n      }\n    }\n  }\n\n  return null;\n};\n\nvar constant$4 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nvar BrushEvent = function(target, type, selection) {\n  this.target = target;\n  this.type = type;\n  this.selection = selection;\n};\n\nfunction nopropagation$1() {\n  exports.event.stopImmediatePropagation();\n}\n\nvar noevent$1 = function() {\n  exports.event.preventDefault();\n  exports.event.stopImmediatePropagation();\n};\n\nvar MODE_DRAG = {name: \"drag\"};\nvar MODE_SPACE = {name: \"space\"};\nvar MODE_HANDLE = {name: \"handle\"};\nvar MODE_CENTER = {name: \"center\"};\n\nvar X = {\n  name: \"x\",\n  handles: [\"e\", \"w\"].map(type),\n  input: function(x, e) { return x && [[x[0], e[0][1]], [x[1], e[1][1]]]; },\n  output: function(xy) { return xy && [xy[0][0], xy[1][0]]; }\n};\n\nvar Y = {\n  name: \"y\",\n  handles: [\"n\", \"s\"].map(type),\n  input: function(y, e) { return y && [[e[0][0], y[0]], [e[1][0], y[1]]]; },\n  output: function(xy) { return xy && [xy[0][1], xy[1][1]]; }\n};\n\nvar XY = {\n  name: \"xy\",\n  handles: [\"n\", \"e\", \"s\", \"w\", \"nw\", \"ne\", \"se\", \"sw\"].map(type),\n  input: function(xy) { return xy; },\n  output: function(xy) { return xy; }\n};\n\nvar cursors = {\n  overlay: \"crosshair\",\n  selection: \"move\",\n  n: \"ns-resize\",\n  e: \"ew-resize\",\n  s: \"ns-resize\",\n  w: \"ew-resize\",\n  nw: \"nwse-resize\",\n  ne: \"nesw-resize\",\n  se: \"nwse-resize\",\n  sw: \"nesw-resize\"\n};\n\nvar flipX = {\n  e: \"w\",\n  w: \"e\",\n  nw: \"ne\",\n  ne: \"nw\",\n  se: \"sw\",\n  sw: \"se\"\n};\n\nvar flipY = {\n  n: \"s\",\n  s: \"n\",\n  nw: \"sw\",\n  ne: \"se\",\n  se: \"ne\",\n  sw: \"nw\"\n};\n\nvar signsX = {\n  overlay: +1,\n  selection: +1,\n  n: null,\n  e: +1,\n  s: null,\n  w: -1,\n  nw: -1,\n  ne: +1,\n  se: +1,\n  sw: -1\n};\n\nvar signsY = {\n  overlay: +1,\n  selection: +1,\n  n: -1,\n  e: null,\n  s: +1,\n  w: null,\n  nw: -1,\n  ne: -1,\n  se: +1,\n  sw: +1\n};\n\nfunction type(t) {\n  return {type: t};\n}\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter() {\n  return !exports.event.button;\n}\n\nfunction defaultExtent() {\n  var svg = this.ownerSVGElement || this;\n  return [[0, 0], [svg.width.baseVal.value, svg.height.baseVal.value]];\n}\n\n// Like d3.local, but with the name “__brush” rather than auto-generated.\nfunction local$$1(node) {\n  while (!node.__brush) if (!(node = node.parentNode)) return;\n  return node.__brush;\n}\n\nfunction empty(extent) {\n  return extent[0][0] === extent[1][0]\n      || extent[0][1] === extent[1][1];\n}\n\nfunction brushSelection(node) {\n  var state = node.__brush;\n  return state ? state.dim.output(state.selection) : null;\n}\n\nfunction brushX() {\n  return brush$1(X);\n}\n\nfunction brushY() {\n  return brush$1(Y);\n}\n\nvar brush = function() {\n  return brush$1(XY);\n};\n\nfunction brush$1(dim) {\n  var extent = defaultExtent,\n      filter = defaultFilter,\n      listeners = dispatch(brush, \"start\", \"brush\", \"end\"),\n      handleSize = 6,\n      touchending;\n\n  function brush(group) {\n    var overlay = group\n        .property(\"__brush\", initialize)\n      .selectAll(\".overlay\")\n      .data([type(\"overlay\")]);\n\n    overlay.enter().append(\"rect\")\n        .attr(\"class\", \"overlay\")\n        .attr(\"pointer-events\", \"all\")\n        .attr(\"cursor\", cursors.overlay)\n      .merge(overlay)\n        .each(function() {\n          var extent = local$$1(this).extent;\n          select(this)\n              .attr(\"x\", extent[0][0])\n              .attr(\"y\", extent[0][1])\n              .attr(\"width\", extent[1][0] - extent[0][0])\n              .attr(\"height\", extent[1][1] - extent[0][1]);\n        });\n\n    group.selectAll(\".selection\")\n      .data([type(\"selection\")])\n      .enter().append(\"rect\")\n        .attr(\"class\", \"selection\")\n        .attr(\"cursor\", cursors.selection)\n        .attr(\"fill\", \"#777\")\n        .attr(\"fill-opacity\", 0.3)\n        .attr(\"stroke\", \"#fff\")\n        .attr(\"shape-rendering\", \"crispEdges\");\n\n    var handle = group.selectAll(\".handle\")\n      .data(dim.handles, function(d) { return d.type; });\n\n    handle.exit().remove();\n\n    handle.enter().append(\"rect\")\n        .attr(\"class\", function(d) { return \"handle handle--\" + d.type; })\n        .attr(\"cursor\", function(d) { return cursors[d.type]; });\n\n    group\n        .each(redraw)\n        .attr(\"fill\", \"none\")\n        .attr(\"pointer-events\", \"all\")\n        .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\")\n        .on(\"mousedown.brush touchstart.brush\", started);\n  }\n\n  brush.move = function(group, selection$$1) {\n    if (group.selection) {\n      group\n          .on(\"start.brush\", function() { emitter(this, arguments).beforestart().start(); })\n          .on(\"interrupt.brush end.brush\", function() { emitter(this, arguments).end(); })\n          .tween(\"brush\", function() {\n            var that = this,\n                state = that.__brush,\n                emit = emitter(that, arguments),\n                selection0 = state.selection,\n                selection1 = dim.input(typeof selection$$1 === \"function\" ? selection$$1.apply(this, arguments) : selection$$1, state.extent),\n                i = interpolateValue(selection0, selection1);\n\n            function tween(t) {\n              state.selection = t === 1 && empty(selection1) ? null : i(t);\n              redraw.call(that);\n              emit.brush();\n            }\n\n            return selection0 && selection1 ? tween : tween(1);\n          });\n    } else {\n      group\n          .each(function() {\n            var that = this,\n                args = arguments,\n                state = that.__brush,\n                selection1 = dim.input(typeof selection$$1 === \"function\" ? selection$$1.apply(that, args) : selection$$1, state.extent),\n                emit = emitter(that, args).beforestart();\n\n            interrupt(that);\n            state.selection = selection1 == null || empty(selection1) ? null : selection1;\n            redraw.call(that);\n            emit.start().brush().end();\n          });\n    }\n  };\n\n  function redraw() {\n    var group = select(this),\n        selection$$1 = local$$1(this).selection;\n\n    if (selection$$1) {\n      group.selectAll(\".selection\")\n          .style(\"display\", null)\n          .attr(\"x\", selection$$1[0][0])\n          .attr(\"y\", selection$$1[0][1])\n          .attr(\"width\", selection$$1[1][0] - selection$$1[0][0])\n          .attr(\"height\", selection$$1[1][1] - selection$$1[0][1]);\n\n      group.selectAll(\".handle\")\n          .style(\"display\", null)\n          .attr(\"x\", function(d) { return d.type[d.type.length - 1] === \"e\" ? selection$$1[1][0] - handleSize / 2 : selection$$1[0][0] - handleSize / 2; })\n          .attr(\"y\", function(d) { return d.type[0] === \"s\" ? selection$$1[1][1] - handleSize / 2 : selection$$1[0][1] - handleSize / 2; })\n          .attr(\"width\", function(d) { return d.type === \"n\" || d.type === \"s\" ? selection$$1[1][0] - selection$$1[0][0] + handleSize : handleSize; })\n          .attr(\"height\", function(d) { return d.type === \"e\" || d.type === \"w\" ? selection$$1[1][1] - selection$$1[0][1] + handleSize : handleSize; });\n    }\n\n    else {\n      group.selectAll(\".selection,.handle\")\n          .style(\"display\", \"none\")\n          .attr(\"x\", null)\n          .attr(\"y\", null)\n          .attr(\"width\", null)\n          .attr(\"height\", null);\n    }\n  }\n\n  function emitter(that, args) {\n    return that.__brush.emitter || new Emitter(that, args);\n  }\n\n  function Emitter(that, args) {\n    this.that = that;\n    this.args = args;\n    this.state = that.__brush;\n    this.active = 0;\n  }\n\n  Emitter.prototype = {\n    beforestart: function() {\n      if (++this.active === 1) this.state.emitter = this, this.starting = true;\n      return this;\n    },\n    start: function() {\n      if (this.starting) this.starting = false, this.emit(\"start\");\n      return this;\n    },\n    brush: function() {\n      this.emit(\"brush\");\n      return this;\n    },\n    end: function() {\n      if (--this.active === 0) delete this.state.emitter, this.emit(\"end\");\n      return this;\n    },\n    emit: function(type) {\n      customEvent(new BrushEvent(brush, type, dim.output(this.state.selection)), listeners.apply, listeners, [type, this.that, this.args]);\n    }\n  };\n\n  function started() {\n    if (exports.event.touches) { if (exports.event.changedTouches.length < exports.event.touches.length) return noevent$1(); }\n    else if (touchending) return;\n    if (!filter.apply(this, arguments)) return;\n\n    var that = this,\n        type = exports.event.target.__data__.type,\n        mode = (exports.event.metaKey ? type = \"overlay\" : type) === \"selection\" ? MODE_DRAG : (exports.event.altKey ? MODE_CENTER : MODE_HANDLE),\n        signX = dim === Y ? null : signsX[type],\n        signY = dim === X ? null : signsY[type],\n        state = local$$1(that),\n        extent = state.extent,\n        selection$$1 = state.selection,\n        W = extent[0][0], w0, w1,\n        N = extent[0][1], n0, n1,\n        E = extent[1][0], e0, e1,\n        S = extent[1][1], s0, s1,\n        dx,\n        dy,\n        moving,\n        shifting = signX && signY && exports.event.shiftKey,\n        lockX,\n        lockY,\n        point0 = mouse(that),\n        point = point0,\n        emit = emitter(that, arguments).beforestart();\n\n    if (type === \"overlay\") {\n      state.selection = selection$$1 = [\n        [w0 = dim === Y ? W : point0[0], n0 = dim === X ? N : point0[1]],\n        [e0 = dim === Y ? E : w0, s0 = dim === X ? S : n0]\n      ];\n    } else {\n      w0 = selection$$1[0][0];\n      n0 = selection$$1[0][1];\n      e0 = selection$$1[1][0];\n      s0 = selection$$1[1][1];\n    }\n\n    w1 = w0;\n    n1 = n0;\n    e1 = e0;\n    s1 = s0;\n\n    var group = select(that)\n        .attr(\"pointer-events\", \"none\");\n\n    var overlay = group.selectAll(\".overlay\")\n        .attr(\"cursor\", cursors[type]);\n\n    if (exports.event.touches) {\n      group\n          .on(\"touchmove.brush\", moved, true)\n          .on(\"touchend.brush touchcancel.brush\", ended, true);\n    } else {\n      var view = select(exports.event.view)\n          .on(\"keydown.brush\", keydowned, true)\n          .on(\"keyup.brush\", keyupped, true)\n          .on(\"mousemove.brush\", moved, true)\n          .on(\"mouseup.brush\", ended, true);\n\n      dragDisable(exports.event.view);\n    }\n\n    nopropagation$1();\n    interrupt(that);\n    redraw.call(that);\n    emit.start();\n\n    function moved() {\n      var point1 = mouse(that);\n      if (shifting && !lockX && !lockY) {\n        if (Math.abs(point1[0] - point[0]) > Math.abs(point1[1] - point[1])) lockY = true;\n        else lockX = true;\n      }\n      point = point1;\n      moving = true;\n      noevent$1();\n      move();\n    }\n\n    function move() {\n      var t;\n\n      dx = point[0] - point0[0];\n      dy = point[1] - point0[1];\n\n      switch (mode) {\n        case MODE_SPACE:\n        case MODE_DRAG: {\n          if (signX) dx = Math.max(W - w0, Math.min(E - e0, dx)), w1 = w0 + dx, e1 = e0 + dx;\n          if (signY) dy = Math.max(N - n0, Math.min(S - s0, dy)), n1 = n0 + dy, s1 = s0 + dy;\n          break;\n        }\n        case MODE_HANDLE: {\n          if (signX < 0) dx = Math.max(W - w0, Math.min(E - w0, dx)), w1 = w0 + dx, e1 = e0;\n          else if (signX > 0) dx = Math.max(W - e0, Math.min(E - e0, dx)), w1 = w0, e1 = e0 + dx;\n          if (signY < 0) dy = Math.max(N - n0, Math.min(S - n0, dy)), n1 = n0 + dy, s1 = s0;\n          else if (signY > 0) dy = Math.max(N - s0, Math.min(S - s0, dy)), n1 = n0, s1 = s0 + dy;\n          break;\n        }\n        case MODE_CENTER: {\n          if (signX) w1 = Math.max(W, Math.min(E, w0 - dx * signX)), e1 = Math.max(W, Math.min(E, e0 + dx * signX));\n          if (signY) n1 = Math.max(N, Math.min(S, n0 - dy * signY)), s1 = Math.max(N, Math.min(S, s0 + dy * signY));\n          break;\n        }\n      }\n\n      if (e1 < w1) {\n        signX *= -1;\n        t = w0, w0 = e0, e0 = t;\n        t = w1, w1 = e1, e1 = t;\n        if (type in flipX) overlay.attr(\"cursor\", cursors[type = flipX[type]]);\n      }\n\n      if (s1 < n1) {\n        signY *= -1;\n        t = n0, n0 = s0, s0 = t;\n        t = n1, n1 = s1, s1 = t;\n        if (type in flipY) overlay.attr(\"cursor\", cursors[type = flipY[type]]);\n      }\n\n      if (state.selection) selection$$1 = state.selection; // May be set by brush.move!\n      if (lockX) w1 = selection$$1[0][0], e1 = selection$$1[1][0];\n      if (lockY) n1 = selection$$1[0][1], s1 = selection$$1[1][1];\n\n      if (selection$$1[0][0] !== w1\n          || selection$$1[0][1] !== n1\n          || selection$$1[1][0] !== e1\n          || selection$$1[1][1] !== s1) {\n        state.selection = [[w1, n1], [e1, s1]];\n        redraw.call(that);\n        emit.brush();\n      }\n    }\n\n    function ended() {\n      nopropagation$1();\n      if (exports.event.touches) {\n        if (exports.event.touches.length) return;\n        if (touchending) clearTimeout(touchending);\n        touchending = setTimeout(function() { touchending = null; }, 500); // Ghost clicks are delayed!\n        group.on(\"touchmove.brush touchend.brush touchcancel.brush\", null);\n      } else {\n        yesdrag(exports.event.view, moving);\n        view.on(\"keydown.brush keyup.brush mousemove.brush mouseup.brush\", null);\n      }\n      group.attr(\"pointer-events\", \"all\");\n      overlay.attr(\"cursor\", cursors.overlay);\n      if (state.selection) selection$$1 = state.selection; // May be set by brush.move (on start)!\n      if (empty(selection$$1)) state.selection = null, redraw.call(that);\n      emit.end();\n    }\n\n    function keydowned() {\n      switch (exports.event.keyCode) {\n        case 16: { // SHIFT\n          shifting = signX && signY;\n          break;\n        }\n        case 18: { // ALT\n          if (mode === MODE_HANDLE) {\n            if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;\n            if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;\n            mode = MODE_CENTER;\n            move();\n          }\n          break;\n        }\n        case 32: { // SPACE; takes priority over ALT\n          if (mode === MODE_HANDLE || mode === MODE_CENTER) {\n            if (signX < 0) e0 = e1 - dx; else if (signX > 0) w0 = w1 - dx;\n            if (signY < 0) s0 = s1 - dy; else if (signY > 0) n0 = n1 - dy;\n            mode = MODE_SPACE;\n            overlay.attr(\"cursor\", cursors.selection);\n            move();\n          }\n          break;\n        }\n        default: return;\n      }\n      noevent$1();\n    }\n\n    function keyupped() {\n      switch (exports.event.keyCode) {\n        case 16: { // SHIFT\n          if (shifting) {\n            lockX = lockY = shifting = false;\n            move();\n          }\n          break;\n        }\n        case 18: { // ALT\n          if (mode === MODE_CENTER) {\n            if (signX < 0) e0 = e1; else if (signX > 0) w0 = w1;\n            if (signY < 0) s0 = s1; else if (signY > 0) n0 = n1;\n            mode = MODE_HANDLE;\n            move();\n          }\n          break;\n        }\n        case 32: { // SPACE\n          if (mode === MODE_SPACE) {\n            if (exports.event.altKey) {\n              if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;\n              if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;\n              mode = MODE_CENTER;\n            } else {\n              if (signX < 0) e0 = e1; else if (signX > 0) w0 = w1;\n              if (signY < 0) s0 = s1; else if (signY > 0) n0 = n1;\n              mode = MODE_HANDLE;\n            }\n            overlay.attr(\"cursor\", cursors[type]);\n            move();\n          }\n          break;\n        }\n        default: return;\n      }\n      noevent$1();\n    }\n  }\n\n  function initialize() {\n    var state = this.__brush || {selection: null};\n    state.extent = extent.apply(this, arguments);\n    state.dim = dim;\n    return state;\n  }\n\n  brush.extent = function(_) {\n    return arguments.length ? (extent = typeof _ === \"function\" ? _ : constant$4([[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]]), brush) : extent;\n  };\n\n  brush.filter = function(_) {\n    return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant$4(!!_), brush) : filter;\n  };\n\n  brush.handleSize = function(_) {\n    return arguments.length ? (handleSize = +_, brush) : handleSize;\n  };\n\n  brush.on = function() {\n    var value = listeners.on.apply(listeners, arguments);\n    return value === listeners ? brush : value;\n  };\n\n  return brush;\n}\n\nvar cos = Math.cos;\nvar sin = Math.sin;\nvar pi$1 = Math.PI;\nvar halfPi$1 = pi$1 / 2;\nvar tau$1 = pi$1 * 2;\nvar max$1 = Math.max;\n\nfunction compareValue(compare) {\n  return function(a, b) {\n    return compare(\n      a.source.value + a.target.value,\n      b.source.value + b.target.value\n    );\n  };\n}\n\nvar chord = function() {\n  var padAngle = 0,\n      sortGroups = null,\n      sortSubgroups = null,\n      sortChords = null;\n\n  function chord(matrix) {\n    var n = matrix.length,\n        groupSums = [],\n        groupIndex = sequence(n),\n        subgroupIndex = [],\n        chords = [],\n        groups = chords.groups = new Array(n),\n        subgroups = new Array(n * n),\n        k,\n        x,\n        x0,\n        dx,\n        i,\n        j;\n\n    // Compute the sum.\n    k = 0, i = -1; while (++i < n) {\n      x = 0, j = -1; while (++j < n) {\n        x += matrix[i][j];\n      }\n      groupSums.push(x);\n      subgroupIndex.push(sequence(n));\n      k += x;\n    }\n\n    // Sort groups…\n    if (sortGroups) groupIndex.sort(function(a, b) {\n      return sortGroups(groupSums[a], groupSums[b]);\n    });\n\n    // Sort subgroups…\n    if (sortSubgroups) subgroupIndex.forEach(function(d, i) {\n      d.sort(function(a, b) {\n        return sortSubgroups(matrix[i][a], matrix[i][b]);\n      });\n    });\n\n    // Convert the sum to scaling factor for [0, 2pi].\n    // TODO Allow start and end angle to be specified?\n    // TODO Allow padding to be specified as percentage?\n    k = max$1(0, tau$1 - padAngle * n) / k;\n    dx = k ? padAngle : tau$1 / n;\n\n    // Compute the start and end angle for each group and subgroup.\n    // Note: Opera has a bug reordering object literal properties!\n    x = 0, i = -1; while (++i < n) {\n      x0 = x, j = -1; while (++j < n) {\n        var di = groupIndex[i],\n            dj = subgroupIndex[di][j],\n            v = matrix[di][dj],\n            a0 = x,\n            a1 = x += v * k;\n        subgroups[dj * n + di] = {\n          index: di,\n          subindex: dj,\n          startAngle: a0,\n          endAngle: a1,\n          value: v\n        };\n      }\n      groups[di] = {\n        index: di,\n        startAngle: x0,\n        endAngle: x,\n        value: groupSums[di]\n      };\n      x += dx;\n    }\n\n    // Generate chords for each (non-empty) subgroup-subgroup link.\n    i = -1; while (++i < n) {\n      j = i - 1; while (++j < n) {\n        var source = subgroups[j * n + i],\n            target = subgroups[i * n + j];\n        if (source.value || target.value) {\n          chords.push(source.value < target.value\n              ? {source: target, target: source}\n              : {source: source, target: target});\n        }\n      }\n    }\n\n    return sortChords ? chords.sort(sortChords) : chords;\n  }\n\n  chord.padAngle = function(_) {\n    return arguments.length ? (padAngle = max$1(0, _), chord) : padAngle;\n  };\n\n  chord.sortGroups = function(_) {\n    return arguments.length ? (sortGroups = _, chord) : sortGroups;\n  };\n\n  chord.sortSubgroups = function(_) {\n    return arguments.length ? (sortSubgroups = _, chord) : sortSubgroups;\n  };\n\n  chord.sortChords = function(_) {\n    return arguments.length ? (_ == null ? sortChords = null : (sortChords = compareValue(_))._ = _, chord) : sortChords && sortChords._;\n  };\n\n  return chord;\n};\n\nvar slice$2 = Array.prototype.slice;\n\nvar constant$5 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nvar pi$2 = Math.PI;\nvar tau$2 = 2 * pi$2;\nvar epsilon$1 = 1e-6;\nvar tauEpsilon = tau$2 - epsilon$1;\n\nfunction Path() {\n  this._x0 = this._y0 = // start of current subpath\n  this._x1 = this._y1 = null; // end of current subpath\n  this._ = \"\";\n}\n\nfunction path() {\n  return new Path;\n}\n\nPath.prototype = path.prototype = {\n  constructor: Path,\n  moveTo: function(x, y) {\n    this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n  },\n  closePath: function() {\n    if (this._x1 !== null) {\n      this._x1 = this._x0, this._y1 = this._y0;\n      this._ += \"Z\";\n    }\n  },\n  lineTo: function(x, y) {\n    this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n  },\n  quadraticCurveTo: function(x1, y1, x, y) {\n    this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n  },\n  bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n    this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n  },\n  arcTo: function(x1, y1, x2, y2, r) {\n    x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n    var x0 = this._x1,\n        y0 = this._y1,\n        x21 = x2 - x1,\n        y21 = y2 - y1,\n        x01 = x0 - x1,\n        y01 = y0 - y1,\n        l01_2 = x01 * x01 + y01 * y01;\n\n    // Is the radius negative? Error.\n    if (r < 0) throw new Error(\"negative radius: \" + r);\n\n    // Is this path empty? Move to (x1,y1).\n    if (this._x1 === null) {\n      this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n    }\n\n    // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n    else if (!(l01_2 > epsilon$1)) {}\n\n    // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n    // Equivalently, is (x1,y1) coincident with (x2,y2)?\n    // Or, is the radius zero? Line to (x1,y1).\n    else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon$1) || !r) {\n      this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n    }\n\n    // Otherwise, draw an arc!\n    else {\n      var x20 = x2 - x0,\n          y20 = y2 - y0,\n          l21_2 = x21 * x21 + y21 * y21,\n          l20_2 = x20 * x20 + y20 * y20,\n          l21 = Math.sqrt(l21_2),\n          l01 = Math.sqrt(l01_2),\n          l = r * Math.tan((pi$2 - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n          t01 = l / l01,\n          t21 = l / l21;\n\n      // If the start tangent is not coincident with (x0,y0), line to.\n      if (Math.abs(t01 - 1) > epsilon$1) {\n        this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n      }\n\n      this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n    }\n  },\n  arc: function(x, y, r, a0, a1, ccw) {\n    x = +x, y = +y, r = +r;\n    var dx = r * Math.cos(a0),\n        dy = r * Math.sin(a0),\n        x0 = x + dx,\n        y0 = y + dy,\n        cw = 1 ^ ccw,\n        da = ccw ? a0 - a1 : a1 - a0;\n\n    // Is the radius negative? Error.\n    if (r < 0) throw new Error(\"negative radius: \" + r);\n\n    // Is this path empty? Move to (x0,y0).\n    if (this._x1 === null) {\n      this._ += \"M\" + x0 + \",\" + y0;\n    }\n\n    // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n    else if (Math.abs(this._x1 - x0) > epsilon$1 || Math.abs(this._y1 - y0) > epsilon$1) {\n      this._ += \"L\" + x0 + \",\" + y0;\n    }\n\n    // Is this arc empty? We’re done.\n    if (!r) return;\n\n    // Does the angle go the wrong way? Flip the direction.\n    if (da < 0) da = da % tau$2 + tau$2;\n\n    // Is this a complete circle? Draw two arcs to complete the circle.\n    if (da > tauEpsilon) {\n      this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n    }\n\n    // Is this arc non-empty? Draw an arc!\n    else if (da > epsilon$1) {\n      this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi$2)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n    }\n  },\n  rect: function(x, y, w, h) {\n    this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n  },\n  toString: function() {\n    return this._;\n  }\n};\n\nfunction defaultSource(d) {\n  return d.source;\n}\n\nfunction defaultTarget(d) {\n  return d.target;\n}\n\nfunction defaultRadius(d) {\n  return d.radius;\n}\n\nfunction defaultStartAngle(d) {\n  return d.startAngle;\n}\n\nfunction defaultEndAngle(d) {\n  return d.endAngle;\n}\n\nvar ribbon = function() {\n  var source = defaultSource,\n      target = defaultTarget,\n      radius = defaultRadius,\n      startAngle = defaultStartAngle,\n      endAngle = defaultEndAngle,\n      context = null;\n\n  function ribbon() {\n    var buffer,\n        argv = slice$2.call(arguments),\n        s = source.apply(this, argv),\n        t = target.apply(this, argv),\n        sr = +radius.apply(this, (argv[0] = s, argv)),\n        sa0 = startAngle.apply(this, argv) - halfPi$1,\n        sa1 = endAngle.apply(this, argv) - halfPi$1,\n        sx0 = sr * cos(sa0),\n        sy0 = sr * sin(sa0),\n        tr = +radius.apply(this, (argv[0] = t, argv)),\n        ta0 = startAngle.apply(this, argv) - halfPi$1,\n        ta1 = endAngle.apply(this, argv) - halfPi$1;\n\n    if (!context) context = buffer = path();\n\n    context.moveTo(sx0, sy0);\n    context.arc(0, 0, sr, sa0, sa1);\n    if (sa0 !== ta0 || sa1 !== ta1) { // TODO sr !== tr?\n      context.quadraticCurveTo(0, 0, tr * cos(ta0), tr * sin(ta0));\n      context.arc(0, 0, tr, ta0, ta1);\n    }\n    context.quadraticCurveTo(0, 0, sx0, sy0);\n    context.closePath();\n\n    if (buffer) return context = null, buffer + \"\" || null;\n  }\n\n  ribbon.radius = function(_) {\n    return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant$5(+_), ribbon) : radius;\n  };\n\n  ribbon.startAngle = function(_) {\n    return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant$5(+_), ribbon) : startAngle;\n  };\n\n  ribbon.endAngle = function(_) {\n    return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant$5(+_), ribbon) : endAngle;\n  };\n\n  ribbon.source = function(_) {\n    return arguments.length ? (source = _, ribbon) : source;\n  };\n\n  ribbon.target = function(_) {\n    return arguments.length ? (target = _, ribbon) : target;\n  };\n\n  ribbon.context = function(_) {\n    return arguments.length ? ((context = _ == null ? null : _), ribbon) : context;\n  };\n\n  return ribbon;\n};\n\nvar prefix = \"$\";\n\nfunction Map() {}\n\nMap.prototype = map$1.prototype = {\n  constructor: Map,\n  has: function(key) {\n    return (prefix + key) in this;\n  },\n  get: function(key) {\n    return this[prefix + key];\n  },\n  set: function(key, value) {\n    this[prefix + key] = value;\n    return this;\n  },\n  remove: function(key) {\n    var property = prefix + key;\n    return property in this && delete this[property];\n  },\n  clear: function() {\n    for (var property in this) if (property[0] === prefix) delete this[property];\n  },\n  keys: function() {\n    var keys = [];\n    for (var property in this) if (property[0] === prefix) keys.push(property.slice(1));\n    return keys;\n  },\n  values: function() {\n    var values = [];\n    for (var property in this) if (property[0] === prefix) values.push(this[property]);\n    return values;\n  },\n  entries: function() {\n    var entries = [];\n    for (var property in this) if (property[0] === prefix) entries.push({key: property.slice(1), value: this[property]});\n    return entries;\n  },\n  size: function() {\n    var size = 0;\n    for (var property in this) if (property[0] === prefix) ++size;\n    return size;\n  },\n  empty: function() {\n    for (var property in this) if (property[0] === prefix) return false;\n    return true;\n  },\n  each: function(f) {\n    for (var property in this) if (property[0] === prefix) f(this[property], property.slice(1), this);\n  }\n};\n\nfunction map$1(object, f) {\n  var map = new Map;\n\n  // Copy constructor.\n  if (object instanceof Map) object.each(function(value, key) { map.set(key, value); });\n\n  // Index array by numeric index or specified key function.\n  else if (Array.isArray(object)) {\n    var i = -1,\n        n = object.length,\n        o;\n\n    if (f == null) while (++i < n) map.set(i, object[i]);\n    else while (++i < n) map.set(f(o = object[i], i, object), o);\n  }\n\n  // Convert object to map.\n  else if (object) for (var key in object) map.set(key, object[key]);\n\n  return map;\n}\n\nvar nest = function() {\n  var keys = [],\n      sortKeys = [],\n      sortValues,\n      rollup,\n      nest;\n\n  function apply(array, depth, createResult, setResult) {\n    if (depth >= keys.length) return rollup != null\n        ? rollup(array) : (sortValues != null\n        ? array.sort(sortValues)\n        : array);\n\n    var i = -1,\n        n = array.length,\n        key = keys[depth++],\n        keyValue,\n        value,\n        valuesByKey = map$1(),\n        values,\n        result = createResult();\n\n    while (++i < n) {\n      if (values = valuesByKey.get(keyValue = key(value = array[i]) + \"\")) {\n        values.push(value);\n      } else {\n        valuesByKey.set(keyValue, [value]);\n      }\n    }\n\n    valuesByKey.each(function(values, key) {\n      setResult(result, key, apply(values, depth, createResult, setResult));\n    });\n\n    return result;\n  }\n\n  function entries(map, depth) {\n    if (++depth > keys.length) return map;\n    var array, sortKey = sortKeys[depth - 1];\n    if (rollup != null && depth >= keys.length) array = map.entries();\n    else array = [], map.each(function(v, k) { array.push({key: k, values: entries(v, depth)}); });\n    return sortKey != null ? array.sort(function(a, b) { return sortKey(a.key, b.key); }) : array;\n  }\n\n  return nest = {\n    object: function(array) { return apply(array, 0, createObject, setObject); },\n    map: function(array) { return apply(array, 0, createMap, setMap); },\n    entries: function(array) { return entries(apply(array, 0, createMap, setMap), 0); },\n    key: function(d) { keys.push(d); return nest; },\n    sortKeys: function(order) { sortKeys[keys.length - 1] = order; return nest; },\n    sortValues: function(order) { sortValues = order; return nest; },\n    rollup: function(f) { rollup = f; return nest; }\n  };\n};\n\nfunction createObject() {\n  return {};\n}\n\nfunction setObject(object, key, value) {\n  object[key] = value;\n}\n\nfunction createMap() {\n  return map$1();\n}\n\nfunction setMap(map, key, value) {\n  map.set(key, value);\n}\n\nfunction Set() {}\n\nvar proto = map$1.prototype;\n\nSet.prototype = set$2.prototype = {\n  constructor: Set,\n  has: proto.has,\n  add: function(value) {\n    value += \"\";\n    this[prefix + value] = value;\n    return this;\n  },\n  remove: proto.remove,\n  clear: proto.clear,\n  values: proto.keys,\n  size: proto.size,\n  empty: proto.empty,\n  each: proto.each\n};\n\nfunction set$2(object, f) {\n  var set = new Set;\n\n  // Copy constructor.\n  if (object instanceof Set) object.each(function(value) { set.add(value); });\n\n  // Otherwise, assume it’s an array.\n  else if (object) {\n    var i = -1, n = object.length;\n    if (f == null) while (++i < n) set.add(object[i]);\n    else while (++i < n) set.add(f(object[i], i, object));\n  }\n\n  return set;\n}\n\nvar keys = function(map) {\n  var keys = [];\n  for (var key in map) keys.push(key);\n  return keys;\n};\n\nvar values = function(map) {\n  var values = [];\n  for (var key in map) values.push(map[key]);\n  return values;\n};\n\nvar entries = function(map) {\n  var entries = [];\n  for (var key in map) entries.push({key: key, value: map[key]});\n  return entries;\n};\n\nfunction objectConverter(columns) {\n  return new Function(\"d\", \"return {\" + columns.map(function(name, i) {\n    return JSON.stringify(name) + \": d[\" + i + \"]\";\n  }).join(\",\") + \"}\");\n}\n\nfunction customConverter(columns, f) {\n  var object = objectConverter(columns);\n  return function(row, i) {\n    return f(object(row), i, columns);\n  };\n}\n\n// Compute unique columns in order of discovery.\nfunction inferColumns(rows) {\n  var columnSet = Object.create(null),\n      columns = [];\n\n  rows.forEach(function(row) {\n    for (var column in row) {\n      if (!(column in columnSet)) {\n        columns.push(columnSet[column] = column);\n      }\n    }\n  });\n\n  return columns;\n}\n\nvar dsv = function(delimiter) {\n  var reFormat = new RegExp(\"[\\\"\" + delimiter + \"\\n\\r]\"),\n      delimiterCode = delimiter.charCodeAt(0);\n\n  function parse(text, f) {\n    var convert, columns, rows = parseRows(text, function(row, i) {\n      if (convert) return convert(row, i - 1);\n      columns = row, convert = f ? customConverter(row, f) : objectConverter(row);\n    });\n    rows.columns = columns;\n    return rows;\n  }\n\n  function parseRows(text, f) {\n    var EOL = {}, // sentinel value for end-of-line\n        EOF = {}, // sentinel value for end-of-file\n        rows = [], // output rows\n        N = text.length,\n        I = 0, // current character index\n        n = 0, // the current line number\n        t, // the current token\n        eol; // is the current token followed by EOL?\n\n    function token() {\n      if (I >= N) return EOF; // special case: end of file\n      if (eol) return eol = false, EOL; // special case: end of line\n\n      // special case: quotes\n      var j = I, c;\n      if (text.charCodeAt(j) === 34) {\n        var i = j;\n        while (i++ < N) {\n          if (text.charCodeAt(i) === 34) {\n            if (text.charCodeAt(i + 1) !== 34) break;\n            ++i;\n          }\n        }\n        I = i + 2;\n        c = text.charCodeAt(i + 1);\n        if (c === 13) {\n          eol = true;\n          if (text.charCodeAt(i + 2) === 10) ++I;\n        } else if (c === 10) {\n          eol = true;\n        }\n        return text.slice(j + 1, i).replace(/\"\"/g, \"\\\"\");\n      }\n\n      // common case: find next delimiter or newline\n      while (I < N) {\n        var k = 1;\n        c = text.charCodeAt(I++);\n        if (c === 10) eol = true; // \\n\n        else if (c === 13) { eol = true; if (text.charCodeAt(I) === 10) ++I, ++k; } // \\r|\\r\\n\n        else if (c !== delimiterCode) continue;\n        return text.slice(j, I - k);\n      }\n\n      // special case: last token before EOF\n      return text.slice(j);\n    }\n\n    while ((t = token()) !== EOF) {\n      var a = [];\n      while (t !== EOL && t !== EOF) {\n        a.push(t);\n        t = token();\n      }\n      if (f && (a = f(a, n++)) == null) continue;\n      rows.push(a);\n    }\n\n    return rows;\n  }\n\n  function format(rows, columns) {\n    if (columns == null) columns = inferColumns(rows);\n    return [columns.map(formatValue).join(delimiter)].concat(rows.map(function(row) {\n      return columns.map(function(column) {\n        return formatValue(row[column]);\n      }).join(delimiter);\n    })).join(\"\\n\");\n  }\n\n  function formatRows(rows) {\n    return rows.map(formatRow).join(\"\\n\");\n  }\n\n  function formatRow(row) {\n    return row.map(formatValue).join(delimiter);\n  }\n\n  function formatValue(text) {\n    return text == null ? \"\"\n        : reFormat.test(text += \"\") ? \"\\\"\" + text.replace(/\\\"/g, \"\\\"\\\"\") + \"\\\"\"\n        : text;\n  }\n\n  return {\n    parse: parse,\n    parseRows: parseRows,\n    format: format,\n    formatRows: formatRows\n  };\n};\n\nvar csv = dsv(\",\");\n\nvar csvParse = csv.parse;\nvar csvParseRows = csv.parseRows;\nvar csvFormat = csv.format;\nvar csvFormatRows = csv.formatRows;\n\nvar tsv = dsv(\"\\t\");\n\nvar tsvParse = tsv.parse;\nvar tsvParseRows = tsv.parseRows;\nvar tsvFormat = tsv.format;\nvar tsvFormatRows = tsv.formatRows;\n\nvar center$1 = function(x, y) {\n  var nodes;\n\n  if (x == null) x = 0;\n  if (y == null) y = 0;\n\n  function force() {\n    var i,\n        n = nodes.length,\n        node,\n        sx = 0,\n        sy = 0;\n\n    for (i = 0; i < n; ++i) {\n      node = nodes[i], sx += node.x, sy += node.y;\n    }\n\n    for (sx = sx / n - x, sy = sy / n - y, i = 0; i < n; ++i) {\n      node = nodes[i], node.x -= sx, node.y -= sy;\n    }\n  }\n\n  force.initialize = function(_) {\n    nodes = _;\n  };\n\n  force.x = function(_) {\n    return arguments.length ? (x = +_, force) : x;\n  };\n\n  force.y = function(_) {\n    return arguments.length ? (y = +_, force) : y;\n  };\n\n  return force;\n};\n\nvar constant$6 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nvar jiggle = function() {\n  return (Math.random() - 0.5) * 1e-6;\n};\n\nvar tree_add = function(d) {\n  var x = +this._x.call(null, d),\n      y = +this._y.call(null, d);\n  return add(this.cover(x, y), x, y, d);\n};\n\nfunction add(tree, x, y, d) {\n  if (isNaN(x) || isNaN(y)) return tree; // ignore invalid points\n\n  var parent,\n      node = tree._root,\n      leaf = {data: d},\n      x0 = tree._x0,\n      y0 = tree._y0,\n      x1 = tree._x1,\n      y1 = tree._y1,\n      xm,\n      ym,\n      xp,\n      yp,\n      right,\n      bottom,\n      i,\n      j;\n\n  // If the tree is empty, initialize the root as a leaf.\n  if (!node) return tree._root = leaf, tree;\n\n  // Find the existing leaf for the new point, or add it.\n  while (node.length) {\n    if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n    if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n    if (parent = node, !(node = node[i = bottom << 1 | right])) return parent[i] = leaf, tree;\n  }\n\n  // Is the new point is exactly coincident with the existing point?\n  xp = +tree._x.call(null, node.data);\n  yp = +tree._y.call(null, node.data);\n  if (x === xp && y === yp) return leaf.next = node, parent ? parent[i] = leaf : tree._root = leaf, tree;\n\n  // Otherwise, split the leaf node until the old and new point are separated.\n  do {\n    parent = parent ? parent[i] = new Array(4) : tree._root = new Array(4);\n    if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n    if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n  } while ((i = bottom << 1 | right) === (j = (yp >= ym) << 1 | (xp >= xm)));\n  return parent[j] = node, parent[i] = leaf, tree;\n}\n\nfunction addAll(data) {\n  var d, i, n = data.length,\n      x,\n      y,\n      xz = new Array(n),\n      yz = new Array(n),\n      x0 = Infinity,\n      y0 = Infinity,\n      x1 = -Infinity,\n      y1 = -Infinity;\n\n  // Compute the points and their extent.\n  for (i = 0; i < n; ++i) {\n    if (isNaN(x = +this._x.call(null, d = data[i])) || isNaN(y = +this._y.call(null, d))) continue;\n    xz[i] = x;\n    yz[i] = y;\n    if (x < x0) x0 = x;\n    if (x > x1) x1 = x;\n    if (y < y0) y0 = y;\n    if (y > y1) y1 = y;\n  }\n\n  // If there were no (valid) points, inherit the existing extent.\n  if (x1 < x0) x0 = this._x0, x1 = this._x1;\n  if (y1 < y0) y0 = this._y0, y1 = this._y1;\n\n  // Expand the tree to cover the new points.\n  this.cover(x0, y0).cover(x1, y1);\n\n  // Add the new points.\n  for (i = 0; i < n; ++i) {\n    add(this, xz[i], yz[i], data[i]);\n  }\n\n  return this;\n}\n\nvar tree_cover = function(x, y) {\n  if (isNaN(x = +x) || isNaN(y = +y)) return this; // ignore invalid points\n\n  var x0 = this._x0,\n      y0 = this._y0,\n      x1 = this._x1,\n      y1 = this._y1;\n\n  // If the quadtree has no extent, initialize them.\n  // Integer extent are necessary so that if we later double the extent,\n  // the existing quadrant boundaries don’t change due to floating point error!\n  if (isNaN(x0)) {\n    x1 = (x0 = Math.floor(x)) + 1;\n    y1 = (y0 = Math.floor(y)) + 1;\n  }\n\n  // Otherwise, double repeatedly to cover.\n  else if (x0 > x || x > x1 || y0 > y || y > y1) {\n    var z = x1 - x0,\n        node = this._root,\n        parent,\n        i;\n\n    switch (i = (y < (y0 + y1) / 2) << 1 | (x < (x0 + x1) / 2)) {\n      case 0: {\n        do parent = new Array(4), parent[i] = node, node = parent;\n        while (z *= 2, x1 = x0 + z, y1 = y0 + z, x > x1 || y > y1);\n        break;\n      }\n      case 1: {\n        do parent = new Array(4), parent[i] = node, node = parent;\n        while (z *= 2, x0 = x1 - z, y1 = y0 + z, x0 > x || y > y1);\n        break;\n      }\n      case 2: {\n        do parent = new Array(4), parent[i] = node, node = parent;\n        while (z *= 2, x1 = x0 + z, y0 = y1 - z, x > x1 || y0 > y);\n        break;\n      }\n      case 3: {\n        do parent = new Array(4), parent[i] = node, node = parent;\n        while (z *= 2, x0 = x1 - z, y0 = y1 - z, x0 > x || y0 > y);\n        break;\n      }\n    }\n\n    if (this._root && this._root.length) this._root = node;\n  }\n\n  // If the quadtree covers the point already, just return.\n  else return this;\n\n  this._x0 = x0;\n  this._y0 = y0;\n  this._x1 = x1;\n  this._y1 = y1;\n  return this;\n};\n\nvar tree_data = function() {\n  var data = [];\n  this.visit(function(node) {\n    if (!node.length) do data.push(node.data); while (node = node.next)\n  });\n  return data;\n};\n\nvar tree_extent = function(_) {\n  return arguments.length\n      ? this.cover(+_[0][0], +_[0][1]).cover(+_[1][0], +_[1][1])\n      : isNaN(this._x0) ? undefined : [[this._x0, this._y0], [this._x1, this._y1]];\n};\n\nvar Quad = function(node, x0, y0, x1, y1) {\n  this.node = node;\n  this.x0 = x0;\n  this.y0 = y0;\n  this.x1 = x1;\n  this.y1 = y1;\n};\n\nvar tree_find = function(x, y, radius) {\n  var data,\n      x0 = this._x0,\n      y0 = this._y0,\n      x1,\n      y1,\n      x2,\n      y2,\n      x3 = this._x1,\n      y3 = this._y1,\n      quads = [],\n      node = this._root,\n      q,\n      i;\n\n  if (node) quads.push(new Quad(node, x0, y0, x3, y3));\n  if (radius == null) radius = Infinity;\n  else {\n    x0 = x - radius, y0 = y - radius;\n    x3 = x + radius, y3 = y + radius;\n    radius *= radius;\n  }\n\n  while (q = quads.pop()) {\n\n    // Stop searching if this quadrant can’t contain a closer node.\n    if (!(node = q.node)\n        || (x1 = q.x0) > x3\n        || (y1 = q.y0) > y3\n        || (x2 = q.x1) < x0\n        || (y2 = q.y1) < y0) continue;\n\n    // Bisect the current quadrant.\n    if (node.length) {\n      var xm = (x1 + x2) / 2,\n          ym = (y1 + y2) / 2;\n\n      quads.push(\n        new Quad(node[3], xm, ym, x2, y2),\n        new Quad(node[2], x1, ym, xm, y2),\n        new Quad(node[1], xm, y1, x2, ym),\n        new Quad(node[0], x1, y1, xm, ym)\n      );\n\n      // Visit the closest quadrant first.\n      if (i = (y >= ym) << 1 | (x >= xm)) {\n        q = quads[quads.length - 1];\n        quads[quads.length - 1] = quads[quads.length - 1 - i];\n        quads[quads.length - 1 - i] = q;\n      }\n    }\n\n    // Visit this point. (Visiting coincident points isn’t necessary!)\n    else {\n      var dx = x - +this._x.call(null, node.data),\n          dy = y - +this._y.call(null, node.data),\n          d2 = dx * dx + dy * dy;\n      if (d2 < radius) {\n        var d = Math.sqrt(radius = d2);\n        x0 = x - d, y0 = y - d;\n        x3 = x + d, y3 = y + d;\n        data = node.data;\n      }\n    }\n  }\n\n  return data;\n};\n\nvar tree_remove = function(d) {\n  if (isNaN(x = +this._x.call(null, d)) || isNaN(y = +this._y.call(null, d))) return this; // ignore invalid points\n\n  var parent,\n      node = this._root,\n      retainer,\n      previous,\n      next,\n      x0 = this._x0,\n      y0 = this._y0,\n      x1 = this._x1,\n      y1 = this._y1,\n      x,\n      y,\n      xm,\n      ym,\n      right,\n      bottom,\n      i,\n      j;\n\n  // If the tree is empty, initialize the root as a leaf.\n  if (!node) return this;\n\n  // Find the leaf node for the point.\n  // While descending, also retain the deepest parent with a non-removed sibling.\n  if (node.length) while (true) {\n    if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n    if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n    if (!(parent = node, node = node[i = bottom << 1 | right])) return this;\n    if (!node.length) break;\n    if (parent[(i + 1) & 3] || parent[(i + 2) & 3] || parent[(i + 3) & 3]) retainer = parent, j = i;\n  }\n\n  // Find the point to remove.\n  while (node.data !== d) if (!(previous = node, node = node.next)) return this;\n  if (next = node.next) delete node.next;\n\n  // If there are multiple coincident points, remove just the point.\n  if (previous) return (next ? previous.next = next : delete previous.next), this;\n\n  // If this is the root point, remove it.\n  if (!parent) return this._root = next, this;\n\n  // Remove this leaf.\n  next ? parent[i] = next : delete parent[i];\n\n  // If the parent now contains exactly one leaf, collapse superfluous parents.\n  if ((node = parent[0] || parent[1] || parent[2] || parent[3])\n      && node === (parent[3] || parent[2] || parent[1] || parent[0])\n      && !node.length) {\n    if (retainer) retainer[j] = node;\n    else this._root = node;\n  }\n\n  return this;\n};\n\nfunction removeAll(data) {\n  for (var i = 0, n = data.length; i < n; ++i) this.remove(data[i]);\n  return this;\n}\n\nvar tree_root = function() {\n  return this._root;\n};\n\nvar tree_size = function() {\n  var size = 0;\n  this.visit(function(node) {\n    if (!node.length) do ++size; while (node = node.next)\n  });\n  return size;\n};\n\nvar tree_visit = function(callback) {\n  var quads = [], q, node = this._root, child, x0, y0, x1, y1;\n  if (node) quads.push(new Quad(node, this._x0, this._y0, this._x1, this._y1));\n  while (q = quads.pop()) {\n    if (!callback(node = q.node, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1) && node.length) {\n      var xm = (x0 + x1) / 2, ym = (y0 + y1) / 2;\n      if (child = node[3]) quads.push(new Quad(child, xm, ym, x1, y1));\n      if (child = node[2]) quads.push(new Quad(child, x0, ym, xm, y1));\n      if (child = node[1]) quads.push(new Quad(child, xm, y0, x1, ym));\n      if (child = node[0]) quads.push(new Quad(child, x0, y0, xm, ym));\n    }\n  }\n  return this;\n};\n\nvar tree_visitAfter = function(callback) {\n  var quads = [], next = [], q;\n  if (this._root) quads.push(new Quad(this._root, this._x0, this._y0, this._x1, this._y1));\n  while (q = quads.pop()) {\n    var node = q.node;\n    if (node.length) {\n      var child, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1, xm = (x0 + x1) / 2, ym = (y0 + y1) / 2;\n      if (child = node[0]) quads.push(new Quad(child, x0, y0, xm, ym));\n      if (child = node[1]) quads.push(new Quad(child, xm, y0, x1, ym));\n      if (child = node[2]) quads.push(new Quad(child, x0, ym, xm, y1));\n      if (child = node[3]) quads.push(new Quad(child, xm, ym, x1, y1));\n    }\n    next.push(q);\n  }\n  while (q = next.pop()) {\n    callback(q.node, q.x0, q.y0, q.x1, q.y1);\n  }\n  return this;\n};\n\nfunction defaultX(d) {\n  return d[0];\n}\n\nvar tree_x = function(_) {\n  return arguments.length ? (this._x = _, this) : this._x;\n};\n\nfunction defaultY(d) {\n  return d[1];\n}\n\nvar tree_y = function(_) {\n  return arguments.length ? (this._y = _, this) : this._y;\n};\n\nfunction quadtree(nodes, x, y) {\n  var tree = new Quadtree(x == null ? defaultX : x, y == null ? defaultY : y, NaN, NaN, NaN, NaN);\n  return nodes == null ? tree : tree.addAll(nodes);\n}\n\nfunction Quadtree(x, y, x0, y0, x1, y1) {\n  this._x = x;\n  this._y = y;\n  this._x0 = x0;\n  this._y0 = y0;\n  this._x1 = x1;\n  this._y1 = y1;\n  this._root = undefined;\n}\n\nfunction leaf_copy(leaf) {\n  var copy = {data: leaf.data}, next = copy;\n  while (leaf = leaf.next) next = next.next = {data: leaf.data};\n  return copy;\n}\n\nvar treeProto = quadtree.prototype = Quadtree.prototype;\n\ntreeProto.copy = function() {\n  var copy = new Quadtree(this._x, this._y, this._x0, this._y0, this._x1, this._y1),\n      node = this._root,\n      nodes,\n      child;\n\n  if (!node) return copy;\n\n  if (!node.length) return copy._root = leaf_copy(node), copy;\n\n  nodes = [{source: node, target: copy._root = new Array(4)}];\n  while (node = nodes.pop()) {\n    for (var i = 0; i < 4; ++i) {\n      if (child = node.source[i]) {\n        if (child.length) nodes.push({source: child, target: node.target[i] = new Array(4)});\n        else node.target[i] = leaf_copy(child);\n      }\n    }\n  }\n\n  return copy;\n};\n\ntreeProto.add = tree_add;\ntreeProto.addAll = addAll;\ntreeProto.cover = tree_cover;\ntreeProto.data = tree_data;\ntreeProto.extent = tree_extent;\ntreeProto.find = tree_find;\ntreeProto.remove = tree_remove;\ntreeProto.removeAll = removeAll;\ntreeProto.root = tree_root;\ntreeProto.size = tree_size;\ntreeProto.visit = tree_visit;\ntreeProto.visitAfter = tree_visitAfter;\ntreeProto.x = tree_x;\ntreeProto.y = tree_y;\n\nfunction x(d) {\n  return d.x + d.vx;\n}\n\nfunction y(d) {\n  return d.y + d.vy;\n}\n\nvar collide = function(radius) {\n  var nodes,\n      radii,\n      strength = 1,\n      iterations = 1;\n\n  if (typeof radius !== \"function\") radius = constant$6(radius == null ? 1 : +radius);\n\n  function force() {\n    var i, n = nodes.length,\n        tree,\n        node,\n        xi,\n        yi,\n        ri,\n        ri2;\n\n    for (var k = 0; k < iterations; ++k) {\n      tree = quadtree(nodes, x, y).visitAfter(prepare);\n      for (i = 0; i < n; ++i) {\n        node = nodes[i];\n        ri = radii[node.index], ri2 = ri * ri;\n        xi = node.x + node.vx;\n        yi = node.y + node.vy;\n        tree.visit(apply);\n      }\n    }\n\n    function apply(quad, x0, y0, x1, y1) {\n      var data = quad.data, rj = quad.r, r = ri + rj;\n      if (data) {\n        if (data.index > node.index) {\n          var x = xi - data.x - data.vx,\n              y = yi - data.y - data.vy,\n              l = x * x + y * y;\n          if (l < r * r) {\n            if (x === 0) x = jiggle(), l += x * x;\n            if (y === 0) y = jiggle(), l += y * y;\n            l = (r - (l = Math.sqrt(l))) / l * strength;\n            node.vx += (x *= l) * (r = (rj *= rj) / (ri2 + rj));\n            node.vy += (y *= l) * r;\n            data.vx -= x * (r = 1 - r);\n            data.vy -= y * r;\n          }\n        }\n        return;\n      }\n      return x0 > xi + r || x1 < xi - r || y0 > yi + r || y1 < yi - r;\n    }\n  }\n\n  function prepare(quad) {\n    if (quad.data) return quad.r = radii[quad.data.index];\n    for (var i = quad.r = 0; i < 4; ++i) {\n      if (quad[i] && quad[i].r > quad.r) {\n        quad.r = quad[i].r;\n      }\n    }\n  }\n\n  function initialize() {\n    if (!nodes) return;\n    var i, n = nodes.length, node;\n    radii = new Array(n);\n    for (i = 0; i < n; ++i) node = nodes[i], radii[node.index] = +radius(node, i, nodes);\n  }\n\n  force.initialize = function(_) {\n    nodes = _;\n    initialize();\n  };\n\n  force.iterations = function(_) {\n    return arguments.length ? (iterations = +_, force) : iterations;\n  };\n\n  force.strength = function(_) {\n    return arguments.length ? (strength = +_, force) : strength;\n  };\n\n  force.radius = function(_) {\n    return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant$6(+_), initialize(), force) : radius;\n  };\n\n  return force;\n};\n\nfunction index(d) {\n  return d.index;\n}\n\nfunction find(nodeById, nodeId) {\n  var node = nodeById.get(nodeId);\n  if (!node) throw new Error(\"missing: \" + nodeId);\n  return node;\n}\n\nvar link = function(links) {\n  var id = index,\n      strength = defaultStrength,\n      strengths,\n      distance = constant$6(30),\n      distances,\n      nodes,\n      count,\n      bias,\n      iterations = 1;\n\n  if (links == null) links = [];\n\n  function defaultStrength(link) {\n    return 1 / Math.min(count[link.source.index], count[link.target.index]);\n  }\n\n  function force(alpha) {\n    for (var k = 0, n = links.length; k < iterations; ++k) {\n      for (var i = 0, link, source, target, x, y, l, b; i < n; ++i) {\n        link = links[i], source = link.source, target = link.target;\n        x = target.x + target.vx - source.x - source.vx || jiggle();\n        y = target.y + target.vy - source.y - source.vy || jiggle();\n        l = Math.sqrt(x * x + y * y);\n        l = (l - distances[i]) / l * alpha * strengths[i];\n        x *= l, y *= l;\n        target.vx -= x * (b = bias[i]);\n        target.vy -= y * b;\n        source.vx += x * (b = 1 - b);\n        source.vy += y * b;\n      }\n    }\n  }\n\n  function initialize() {\n    if (!nodes) return;\n\n    var i,\n        n = nodes.length,\n        m = links.length,\n        nodeById = map$1(nodes, id),\n        link;\n\n    for (i = 0, count = new Array(n); i < m; ++i) {\n      link = links[i], link.index = i;\n      if (typeof link.source !== \"object\") link.source = find(nodeById, link.source);\n      if (typeof link.target !== \"object\") link.target = find(nodeById, link.target);\n      count[link.source.index] = (count[link.source.index] || 0) + 1;\n      count[link.target.index] = (count[link.target.index] || 0) + 1;\n    }\n\n    for (i = 0, bias = new Array(m); i < m; ++i) {\n      link = links[i], bias[i] = count[link.source.index] / (count[link.source.index] + count[link.target.index]);\n    }\n\n    strengths = new Array(m), initializeStrength();\n    distances = new Array(m), initializeDistance();\n  }\n\n  function initializeStrength() {\n    if (!nodes) return;\n\n    for (var i = 0, n = links.length; i < n; ++i) {\n      strengths[i] = +strength(links[i], i, links);\n    }\n  }\n\n  function initializeDistance() {\n    if (!nodes) return;\n\n    for (var i = 0, n = links.length; i < n; ++i) {\n      distances[i] = +distance(links[i], i, links);\n    }\n  }\n\n  force.initialize = function(_) {\n    nodes = _;\n    initialize();\n  };\n\n  force.links = function(_) {\n    return arguments.length ? (links = _, initialize(), force) : links;\n  };\n\n  force.id = function(_) {\n    return arguments.length ? (id = _, force) : id;\n  };\n\n  force.iterations = function(_) {\n    return arguments.length ? (iterations = +_, force) : iterations;\n  };\n\n  force.strength = function(_) {\n    return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant$6(+_), initializeStrength(), force) : strength;\n  };\n\n  force.distance = function(_) {\n    return arguments.length ? (distance = typeof _ === \"function\" ? _ : constant$6(+_), initializeDistance(), force) : distance;\n  };\n\n  return force;\n};\n\nfunction x$1(d) {\n  return d.x;\n}\n\nfunction y$1(d) {\n  return d.y;\n}\n\nvar initialRadius = 10;\nvar initialAngle = Math.PI * (3 - Math.sqrt(5));\n\nvar simulation = function(nodes) {\n  var simulation,\n      alpha = 1,\n      alphaMin = 0.001,\n      alphaDecay = 1 - Math.pow(alphaMin, 1 / 300),\n      alphaTarget = 0,\n      velocityDecay = 0.6,\n      forces = map$1(),\n      stepper = timer(step),\n      event = dispatch(\"tick\", \"end\");\n\n  if (nodes == null) nodes = [];\n\n  function step() {\n    tick();\n    event.call(\"tick\", simulation);\n    if (alpha < alphaMin) {\n      stepper.stop();\n      event.call(\"end\", simulation);\n    }\n  }\n\n  function tick() {\n    var i, n = nodes.length, node;\n\n    alpha += (alphaTarget - alpha) * alphaDecay;\n\n    forces.each(function(force) {\n      force(alpha);\n    });\n\n    for (i = 0; i < n; ++i) {\n      node = nodes[i];\n      if (node.fx == null) node.x += node.vx *= velocityDecay;\n      else node.x = node.fx, node.vx = 0;\n      if (node.fy == null) node.y += node.vy *= velocityDecay;\n      else node.y = node.fy, node.vy = 0;\n    }\n  }\n\n  function initializeNodes() {\n    for (var i = 0, n = nodes.length, node; i < n; ++i) {\n      node = nodes[i], node.index = i;\n      if (isNaN(node.x) || isNaN(node.y)) {\n        var radius = initialRadius * Math.sqrt(i), angle = i * initialAngle;\n        node.x = radius * Math.cos(angle);\n        node.y = radius * Math.sin(angle);\n      }\n      if (isNaN(node.vx) || isNaN(node.vy)) {\n        node.vx = node.vy = 0;\n      }\n    }\n  }\n\n  function initializeForce(force) {\n    if (force.initialize) force.initialize(nodes);\n    return force;\n  }\n\n  initializeNodes();\n\n  return simulation = {\n    tick: tick,\n\n    restart: function() {\n      return stepper.restart(step), simulation;\n    },\n\n    stop: function() {\n      return stepper.stop(), simulation;\n    },\n\n    nodes: function(_) {\n      return arguments.length ? (nodes = _, initializeNodes(), forces.each(initializeForce), simulation) : nodes;\n    },\n\n    alpha: function(_) {\n      return arguments.length ? (alpha = +_, simulation) : alpha;\n    },\n\n    alphaMin: function(_) {\n      return arguments.length ? (alphaMin = +_, simulation) : alphaMin;\n    },\n\n    alphaDecay: function(_) {\n      return arguments.length ? (alphaDecay = +_, simulation) : +alphaDecay;\n    },\n\n    alphaTarget: function(_) {\n      return arguments.length ? (alphaTarget = +_, simulation) : alphaTarget;\n    },\n\n    velocityDecay: function(_) {\n      return arguments.length ? (velocityDecay = 1 - _, simulation) : 1 - velocityDecay;\n    },\n\n    force: function(name, _) {\n      return arguments.length > 1 ? ((_ == null ? forces.remove(name) : forces.set(name, initializeForce(_))), simulation) : forces.get(name);\n    },\n\n    find: function(x, y, radius) {\n      var i = 0,\n          n = nodes.length,\n          dx,\n          dy,\n          d2,\n          node,\n          closest;\n\n      if (radius == null) radius = Infinity;\n      else radius *= radius;\n\n      for (i = 0; i < n; ++i) {\n        node = nodes[i];\n        dx = x - node.x;\n        dy = y - node.y;\n        d2 = dx * dx + dy * dy;\n        if (d2 < radius) closest = node, radius = d2;\n      }\n\n      return closest;\n    },\n\n    on: function(name, _) {\n      return arguments.length > 1 ? (event.on(name, _), simulation) : event.on(name);\n    }\n  };\n};\n\nvar manyBody = function() {\n  var nodes,\n      node,\n      alpha,\n      strength = constant$6(-30),\n      strengths,\n      distanceMin2 = 1,\n      distanceMax2 = Infinity,\n      theta2 = 0.81;\n\n  function force(_) {\n    var i, n = nodes.length, tree = quadtree(nodes, x$1, y$1).visitAfter(accumulate);\n    for (alpha = _, i = 0; i < n; ++i) node = nodes[i], tree.visit(apply);\n  }\n\n  function initialize() {\n    if (!nodes) return;\n    var i, n = nodes.length, node;\n    strengths = new Array(n);\n    for (i = 0; i < n; ++i) node = nodes[i], strengths[node.index] = +strength(node, i, nodes);\n  }\n\n  function accumulate(quad) {\n    var strength = 0, q, c, x$$1, y$$1, i;\n\n    // For internal nodes, accumulate forces from child quadrants.\n    if (quad.length) {\n      for (x$$1 = y$$1 = i = 0; i < 4; ++i) {\n        if ((q = quad[i]) && (c = q.value)) {\n          strength += c, x$$1 += c * q.x, y$$1 += c * q.y;\n        }\n      }\n      quad.x = x$$1 / strength;\n      quad.y = y$$1 / strength;\n    }\n\n    // For leaf nodes, accumulate forces from coincident quadrants.\n    else {\n      q = quad;\n      q.x = q.data.x;\n      q.y = q.data.y;\n      do strength += strengths[q.data.index];\n      while (q = q.next);\n    }\n\n    quad.value = strength;\n  }\n\n  function apply(quad, x1, _, x2) {\n    if (!quad.value) return true;\n\n    var x$$1 = quad.x - node.x,\n        y$$1 = quad.y - node.y,\n        w = x2 - x1,\n        l = x$$1 * x$$1 + y$$1 * y$$1;\n\n    // Apply the Barnes-Hut approximation if possible.\n    // Limit forces for very close nodes; randomize direction if coincident.\n    if (w * w / theta2 < l) {\n      if (l < distanceMax2) {\n        if (x$$1 === 0) x$$1 = jiggle(), l += x$$1 * x$$1;\n        if (y$$1 === 0) y$$1 = jiggle(), l += y$$1 * y$$1;\n        if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l);\n        node.vx += x$$1 * quad.value * alpha / l;\n        node.vy += y$$1 * quad.value * alpha / l;\n      }\n      return true;\n    }\n\n    // Otherwise, process points directly.\n    else if (quad.length || l >= distanceMax2) return;\n\n    // Limit forces for very close nodes; randomize direction if coincident.\n    if (quad.data !== node || quad.next) {\n      if (x$$1 === 0) x$$1 = jiggle(), l += x$$1 * x$$1;\n      if (y$$1 === 0) y$$1 = jiggle(), l += y$$1 * y$$1;\n      if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l);\n    }\n\n    do if (quad.data !== node) {\n      w = strengths[quad.data.index] * alpha / l;\n      node.vx += x$$1 * w;\n      node.vy += y$$1 * w;\n    } while (quad = quad.next);\n  }\n\n  force.initialize = function(_) {\n    nodes = _;\n    initialize();\n  };\n\n  force.strength = function(_) {\n    return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant$6(+_), initialize(), force) : strength;\n  };\n\n  force.distanceMin = function(_) {\n    return arguments.length ? (distanceMin2 = _ * _, force) : Math.sqrt(distanceMin2);\n  };\n\n  force.distanceMax = function(_) {\n    return arguments.length ? (distanceMax2 = _ * _, force) : Math.sqrt(distanceMax2);\n  };\n\n  force.theta = function(_) {\n    return arguments.length ? (theta2 = _ * _, force) : Math.sqrt(theta2);\n  };\n\n  return force;\n};\n\nvar x$2 = function(x) {\n  var strength = constant$6(0.1),\n      nodes,\n      strengths,\n      xz;\n\n  if (typeof x !== \"function\") x = constant$6(x == null ? 0 : +x);\n\n  function force(alpha) {\n    for (var i = 0, n = nodes.length, node; i < n; ++i) {\n      node = nodes[i], node.vx += (xz[i] - node.x) * strengths[i] * alpha;\n    }\n  }\n\n  function initialize() {\n    if (!nodes) return;\n    var i, n = nodes.length;\n    strengths = new Array(n);\n    xz = new Array(n);\n    for (i = 0; i < n; ++i) {\n      strengths[i] = isNaN(xz[i] = +x(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes);\n    }\n  }\n\n  force.initialize = function(_) {\n    nodes = _;\n    initialize();\n  };\n\n  force.strength = function(_) {\n    return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant$6(+_), initialize(), force) : strength;\n  };\n\n  force.x = function(_) {\n    return arguments.length ? (x = typeof _ === \"function\" ? _ : constant$6(+_), initialize(), force) : x;\n  };\n\n  return force;\n};\n\nvar y$2 = function(y) {\n  var strength = constant$6(0.1),\n      nodes,\n      strengths,\n      yz;\n\n  if (typeof y !== \"function\") y = constant$6(y == null ? 0 : +y);\n\n  function force(alpha) {\n    for (var i = 0, n = nodes.length, node; i < n; ++i) {\n      node = nodes[i], node.vy += (yz[i] - node.y) * strengths[i] * alpha;\n    }\n  }\n\n  function initialize() {\n    if (!nodes) return;\n    var i, n = nodes.length;\n    strengths = new Array(n);\n    yz = new Array(n);\n    for (i = 0; i < n; ++i) {\n      strengths[i] = isNaN(yz[i] = +y(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes);\n    }\n  }\n\n  force.initialize = function(_) {\n    nodes = _;\n    initialize();\n  };\n\n  force.strength = function(_) {\n    return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant$6(+_), initialize(), force) : strength;\n  };\n\n  force.y = function(_) {\n    return arguments.length ? (y = typeof _ === \"function\" ? _ : constant$6(+_), initialize(), force) : y;\n  };\n\n  return force;\n};\n\n// Computes the decimal coefficient and exponent of the specified number x with\n// significant digits p, where x is positive and p is in [1, 21] or undefined.\n// For example, formatDecimal(1.23) returns [\"123\", 0].\nvar formatDecimal = function(x, p) {\n  if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf(\"e\")) < 0) return null; // NaN, ±Infinity\n  var i, coefficient = x.slice(0, i);\n\n  // The string returned by toExponential either has the form \\d\\.\\d+e[-+]\\d+\n  // (e.g., 1.2e+3) or the form \\de[-+]\\d+ (e.g., 1e+3).\n  return [\n    coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient,\n    +x.slice(i + 1)\n  ];\n};\n\nvar exponent$1 = function(x) {\n  return x = formatDecimal(Math.abs(x)), x ? x[1] : NaN;\n};\n\nvar formatGroup = function(grouping, thousands) {\n  return function(value, width) {\n    var i = value.length,\n        t = [],\n        j = 0,\n        g = grouping[0],\n        length = 0;\n\n    while (i > 0 && g > 0) {\n      if (length + g + 1 > width) g = Math.max(1, width - length);\n      t.push(value.substring(i -= g, i + g));\n      if ((length += g + 1) > width) break;\n      g = grouping[j = (j + 1) % grouping.length];\n    }\n\n    return t.reverse().join(thousands);\n  };\n};\n\nvar formatNumerals = function(numerals) {\n  return function(value) {\n    return value.replace(/[0-9]/g, function(i) {\n      return numerals[+i];\n    });\n  };\n};\n\nvar formatDefault = function(x, p) {\n  x = x.toPrecision(p);\n\n  out: for (var n = x.length, i = 1, i0 = -1, i1; i < n; ++i) {\n    switch (x[i]) {\n      case \".\": i0 = i1 = i; break;\n      case \"0\": if (i0 === 0) i0 = i; i1 = i; break;\n      case \"e\": break out;\n      default: if (i0 > 0) i0 = 0; break;\n    }\n  }\n\n  return i0 > 0 ? x.slice(0, i0) + x.slice(i1 + 1) : x;\n};\n\nvar prefixExponent;\n\nvar formatPrefixAuto = function(x, p) {\n  var d = formatDecimal(x, p);\n  if (!d) return x + \"\";\n  var coefficient = d[0],\n      exponent = d[1],\n      i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,\n      n = coefficient.length;\n  return i === n ? coefficient\n      : i > n ? coefficient + new Array(i - n + 1).join(\"0\")\n      : i > 0 ? coefficient.slice(0, i) + \".\" + coefficient.slice(i)\n      : \"0.\" + new Array(1 - i).join(\"0\") + formatDecimal(x, Math.max(0, p + i - 1))[0]; // less than 1y!\n};\n\nvar formatRounded = function(x, p) {\n  var d = formatDecimal(x, p);\n  if (!d) return x + \"\";\n  var coefficient = d[0],\n      exponent = d[1];\n  return exponent < 0 ? \"0.\" + new Array(-exponent).join(\"0\") + coefficient\n      : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + \".\" + coefficient.slice(exponent + 1)\n      : coefficient + new Array(exponent - coefficient.length + 2).join(\"0\");\n};\n\nvar formatTypes = {\n  \"\": formatDefault,\n  \"%\": function(x, p) { return (x * 100).toFixed(p); },\n  \"b\": function(x) { return Math.round(x).toString(2); },\n  \"c\": function(x) { return x + \"\"; },\n  \"d\": function(x) { return Math.round(x).toString(10); },\n  \"e\": function(x, p) { return x.toExponential(p); },\n  \"f\": function(x, p) { return x.toFixed(p); },\n  \"g\": function(x, p) { return x.toPrecision(p); },\n  \"o\": function(x) { return Math.round(x).toString(8); },\n  \"p\": function(x, p) { return formatRounded(x * 100, p); },\n  \"r\": formatRounded,\n  \"s\": formatPrefixAuto,\n  \"X\": function(x) { return Math.round(x).toString(16).toUpperCase(); },\n  \"x\": function(x) { return Math.round(x).toString(16); }\n};\n\n// [[fill]align][sign][symbol][0][width][,][.precision][type]\nvar re = /^(?:(.)?([<>=^]))?([+\\-\\( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?([a-z%])?$/i;\n\nfunction formatSpecifier(specifier) {\n  return new FormatSpecifier(specifier);\n}\n\nformatSpecifier.prototype = FormatSpecifier.prototype; // instanceof\n\nfunction FormatSpecifier(specifier) {\n  if (!(match = re.exec(specifier))) throw new Error(\"invalid format: \" + specifier);\n\n  var match,\n      fill = match[1] || \" \",\n      align = match[2] || \">\",\n      sign = match[3] || \"-\",\n      symbol = match[4] || \"\",\n      zero = !!match[5],\n      width = match[6] && +match[6],\n      comma = !!match[7],\n      precision = match[8] && +match[8].slice(1),\n      type = match[9] || \"\";\n\n  // The \"n\" type is an alias for \",g\".\n  if (type === \"n\") comma = true, type = \"g\";\n\n  // Map invalid types to the default format.\n  else if (!formatTypes[type]) type = \"\";\n\n  // If zero fill is specified, padding goes after sign and before digits.\n  if (zero || (fill === \"0\" && align === \"=\")) zero = true, fill = \"0\", align = \"=\";\n\n  this.fill = fill;\n  this.align = align;\n  this.sign = sign;\n  this.symbol = symbol;\n  this.zero = zero;\n  this.width = width;\n  this.comma = comma;\n  this.precision = precision;\n  this.type = type;\n}\n\nFormatSpecifier.prototype.toString = function() {\n  return this.fill\n      + this.align\n      + this.sign\n      + this.symbol\n      + (this.zero ? \"0\" : \"\")\n      + (this.width == null ? \"\" : Math.max(1, this.width | 0))\n      + (this.comma ? \",\" : \"\")\n      + (this.precision == null ? \"\" : \".\" + Math.max(0, this.precision | 0))\n      + this.type;\n};\n\nvar identity$3 = function(x) {\n  return x;\n};\n\nvar prefixes = [\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"\\xB5\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];\n\nvar formatLocale = function(locale) {\n  var group = locale.grouping && locale.thousands ? formatGroup(locale.grouping, locale.thousands) : identity$3,\n      currency = locale.currency,\n      decimal = locale.decimal,\n      numerals = locale.numerals ? formatNumerals(locale.numerals) : identity$3,\n      percent = locale.percent || \"%\";\n\n  function newFormat(specifier) {\n    specifier = formatSpecifier(specifier);\n\n    var fill = specifier.fill,\n        align = specifier.align,\n        sign = specifier.sign,\n        symbol = specifier.symbol,\n        zero = specifier.zero,\n        width = specifier.width,\n        comma = specifier.comma,\n        precision = specifier.precision,\n        type = specifier.type;\n\n    // Compute the prefix and suffix.\n    // For SI-prefix, the suffix is lazily computed.\n    var prefix = symbol === \"$\" ? currency[0] : symbol === \"#\" && /[boxX]/.test(type) ? \"0\" + type.toLowerCase() : \"\",\n        suffix = symbol === \"$\" ? currency[1] : /[%p]/.test(type) ? percent : \"\";\n\n    // What format function should we use?\n    // Is this an integer type?\n    // Can this type generate exponential notation?\n    var formatType = formatTypes[type],\n        maybeSuffix = !type || /[defgprs%]/.test(type);\n\n    // Set the default precision if not specified,\n    // or clamp the specified precision to the supported range.\n    // For significant precision, it must be in [1, 21].\n    // For fixed precision, it must be in [0, 20].\n    precision = precision == null ? (type ? 6 : 12)\n        : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision))\n        : Math.max(0, Math.min(20, precision));\n\n    function format(value) {\n      var valuePrefix = prefix,\n          valueSuffix = suffix,\n          i, n, c;\n\n      if (type === \"c\") {\n        valueSuffix = formatType(value) + valueSuffix;\n        value = \"\";\n      } else {\n        value = +value;\n\n        // Perform the initial formatting.\n        var valueNegative = value < 0;\n        value = formatType(Math.abs(value), precision);\n\n        // If a negative value rounds to zero during formatting, treat as positive.\n        if (valueNegative && +value === 0) valueNegative = false;\n\n        // Compute the prefix and suffix.\n        valuePrefix = (valueNegative ? (sign === \"(\" ? sign : \"-\") : sign === \"-\" || sign === \"(\" ? \"\" : sign) + valuePrefix;\n        valueSuffix = valueSuffix + (type === \"s\" ? prefixes[8 + prefixExponent / 3] : \"\") + (valueNegative && sign === \"(\" ? \")\" : \"\");\n\n        // Break the formatted value into the integer “value” part that can be\n        // grouped, and fractional or exponential “suffix” part that is not.\n        if (maybeSuffix) {\n          i = -1, n = value.length;\n          while (++i < n) {\n            if (c = value.charCodeAt(i), 48 > c || c > 57) {\n              valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;\n              value = value.slice(0, i);\n              break;\n            }\n          }\n        }\n      }\n\n      // If the fill character is not \"0\", grouping is applied before padding.\n      if (comma && !zero) value = group(value, Infinity);\n\n      // Compute the padding.\n      var length = valuePrefix.length + value.length + valueSuffix.length,\n          padding = length < width ? new Array(width - length + 1).join(fill) : \"\";\n\n      // If the fill character is \"0\", grouping is applied after padding.\n      if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = \"\";\n\n      // Reconstruct the final output based on the desired alignment.\n      switch (align) {\n        case \"<\": value = valuePrefix + value + valueSuffix + padding; break;\n        case \"=\": value = valuePrefix + padding + value + valueSuffix; break;\n        case \"^\": value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length); break;\n        default: value = padding + valuePrefix + value + valueSuffix; break;\n      }\n\n      return numerals(value);\n    }\n\n    format.toString = function() {\n      return specifier + \"\";\n    };\n\n    return format;\n  }\n\n  function formatPrefix(specifier, value) {\n    var f = newFormat((specifier = formatSpecifier(specifier), specifier.type = \"f\", specifier)),\n        e = Math.max(-8, Math.min(8, Math.floor(exponent$1(value) / 3))) * 3,\n        k = Math.pow(10, -e),\n        prefix = prefixes[8 + e / 3];\n    return function(value) {\n      return f(k * value) + prefix;\n    };\n  }\n\n  return {\n    format: newFormat,\n    formatPrefix: formatPrefix\n  };\n};\n\nvar locale$1;\n\n\n\ndefaultLocale({\n  decimal: \".\",\n  thousands: \",\",\n  grouping: [3],\n  currency: [\"$\", \"\"]\n});\n\nfunction defaultLocale(definition) {\n  locale$1 = formatLocale(definition);\n  exports.format = locale$1.format;\n  exports.formatPrefix = locale$1.formatPrefix;\n  return locale$1;\n}\n\nvar precisionFixed = function(step) {\n  return Math.max(0, -exponent$1(Math.abs(step)));\n};\n\nvar precisionPrefix = function(step, value) {\n  return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent$1(value) / 3))) * 3 - exponent$1(Math.abs(step)));\n};\n\nvar precisionRound = function(step, max) {\n  step = Math.abs(step), max = Math.abs(max) - step;\n  return Math.max(0, exponent$1(max) - exponent$1(step)) + 1;\n};\n\n// Adds floating point numbers with twice the normal precision.\n// Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n// Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n// 305–363 (1997).\n// Code adapted from GeographicLib by Charles F. F. Karney,\n// http://geographiclib.sourceforge.net/\n\nvar adder = function() {\n  return new Adder;\n};\n\nfunction Adder() {\n  this.reset();\n}\n\nAdder.prototype = {\n  constructor: Adder,\n  reset: function() {\n    this.s = // rounded value\n    this.t = 0; // exact error\n  },\n  add: function(y) {\n    add$1(temp, y, this.t);\n    add$1(this, temp.s, this.s);\n    if (this.s) this.t += temp.t;\n    else this.s = temp.t;\n  },\n  valueOf: function() {\n    return this.s;\n  }\n};\n\nvar temp = new Adder;\n\nfunction add$1(adder, a, b) {\n  var x = adder.s = a + b,\n      bv = x - a,\n      av = x - bv;\n  adder.t = (a - av) + (b - bv);\n}\n\nvar epsilon$2 = 1e-6;\nvar epsilon2$1 = 1e-12;\nvar pi$3 = Math.PI;\nvar halfPi$2 = pi$3 / 2;\nvar quarterPi = pi$3 / 4;\nvar tau$3 = pi$3 * 2;\n\nvar degrees$1 = 180 / pi$3;\nvar radians = pi$3 / 180;\n\nvar abs = Math.abs;\nvar atan = Math.atan;\nvar atan2 = Math.atan2;\nvar cos$1 = Math.cos;\nvar ceil = Math.ceil;\nvar exp = Math.exp;\n\nvar log = Math.log;\nvar pow = Math.pow;\nvar sin$1 = Math.sin;\nvar sign = Math.sign || function(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\nvar sqrt = Math.sqrt;\nvar tan = Math.tan;\n\nfunction acos(x) {\n  return x > 1 ? 0 : x < -1 ? pi$3 : Math.acos(x);\n}\n\nfunction asin(x) {\n  return x > 1 ? halfPi$2 : x < -1 ? -halfPi$2 : Math.asin(x);\n}\n\nfunction haversin(x) {\n  return (x = sin$1(x / 2)) * x;\n}\n\nfunction noop$1() {}\n\nfunction streamGeometry(geometry, stream) {\n  if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {\n    streamGeometryType[geometry.type](geometry, stream);\n  }\n}\n\nvar streamObjectType = {\n  Feature: function(object, stream) {\n    streamGeometry(object.geometry, stream);\n  },\n  FeatureCollection: function(object, stream) {\n    var features = object.features, i = -1, n = features.length;\n    while (++i < n) streamGeometry(features[i].geometry, stream);\n  }\n};\n\nvar streamGeometryType = {\n  Sphere: function(object, stream) {\n    stream.sphere();\n  },\n  Point: function(object, stream) {\n    object = object.coordinates;\n    stream.point(object[0], object[1], object[2]);\n  },\n  MultiPoint: function(object, stream) {\n    var coordinates = object.coordinates, i = -1, n = coordinates.length;\n    while (++i < n) object = coordinates[i], stream.point(object[0], object[1], object[2]);\n  },\n  LineString: function(object, stream) {\n    streamLine(object.coordinates, stream, 0);\n  },\n  MultiLineString: function(object, stream) {\n    var coordinates = object.coordinates, i = -1, n = coordinates.length;\n    while (++i < n) streamLine(coordinates[i], stream, 0);\n  },\n  Polygon: function(object, stream) {\n    streamPolygon(object.coordinates, stream);\n  },\n  MultiPolygon: function(object, stream) {\n    var coordinates = object.coordinates, i = -1, n = coordinates.length;\n    while (++i < n) streamPolygon(coordinates[i], stream);\n  },\n  GeometryCollection: function(object, stream) {\n    var geometries = object.geometries, i = -1, n = geometries.length;\n    while (++i < n) streamGeometry(geometries[i], stream);\n  }\n};\n\nfunction streamLine(coordinates, stream, closed) {\n  var i = -1, n = coordinates.length - closed, coordinate;\n  stream.lineStart();\n  while (++i < n) coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);\n  stream.lineEnd();\n}\n\nfunction streamPolygon(coordinates, stream) {\n  var i = -1, n = coordinates.length;\n  stream.polygonStart();\n  while (++i < n) streamLine(coordinates[i], stream, 1);\n  stream.polygonEnd();\n}\n\nvar geoStream = function(object, stream) {\n  if (object && streamObjectType.hasOwnProperty(object.type)) {\n    streamObjectType[object.type](object, stream);\n  } else {\n    streamGeometry(object, stream);\n  }\n};\n\nvar areaRingSum = adder();\n\nvar areaSum = adder();\nvar lambda00;\nvar phi00;\nvar lambda0;\nvar cosPhi0;\nvar sinPhi0;\n\nvar areaStream = {\n  point: noop$1,\n  lineStart: noop$1,\n  lineEnd: noop$1,\n  polygonStart: function() {\n    areaRingSum.reset();\n    areaStream.lineStart = areaRingStart;\n    areaStream.lineEnd = areaRingEnd;\n  },\n  polygonEnd: function() {\n    var areaRing = +areaRingSum;\n    areaSum.add(areaRing < 0 ? tau$3 + areaRing : areaRing);\n    this.lineStart = this.lineEnd = this.point = noop$1;\n  },\n  sphere: function() {\n    areaSum.add(tau$3);\n  }\n};\n\nfunction areaRingStart() {\n  areaStream.point = areaPointFirst;\n}\n\nfunction areaRingEnd() {\n  areaPoint(lambda00, phi00);\n}\n\nfunction areaPointFirst(lambda, phi) {\n  areaStream.point = areaPoint;\n  lambda00 = lambda, phi00 = phi;\n  lambda *= radians, phi *= radians;\n  lambda0 = lambda, cosPhi0 = cos$1(phi = phi / 2 + quarterPi), sinPhi0 = sin$1(phi);\n}\n\nfunction areaPoint(lambda, phi) {\n  lambda *= radians, phi *= radians;\n  phi = phi / 2 + quarterPi; // half the angular distance from south pole\n\n  // Spherical excess E for a spherical triangle with vertices: south pole,\n  // previous point, current point.  Uses a formula derived from Cagnoli’s\n  // theorem.  See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n  var dLambda = lambda - lambda0,\n      sdLambda = dLambda >= 0 ? 1 : -1,\n      adLambda = sdLambda * dLambda,\n      cosPhi = cos$1(phi),\n      sinPhi = sin$1(phi),\n      k = sinPhi0 * sinPhi,\n      u = cosPhi0 * cosPhi + k * cos$1(adLambda),\n      v = k * sdLambda * sin$1(adLambda);\n  areaRingSum.add(atan2(v, u));\n\n  // Advance the previous points.\n  lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n}\n\nvar area = function(object) {\n  areaSum.reset();\n  geoStream(object, areaStream);\n  return areaSum * 2;\n};\n\nfunction spherical(cartesian) {\n  return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n}\n\nfunction cartesian(spherical) {\n  var lambda = spherical[0], phi = spherical[1], cosPhi = cos$1(phi);\n  return [cosPhi * cos$1(lambda), cosPhi * sin$1(lambda), sin$1(phi)];\n}\n\nfunction cartesianDot(a, b) {\n  return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n\nfunction cartesianCross(a, b) {\n  return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n}\n\n// TODO return a\nfunction cartesianAddInPlace(a, b) {\n  a[0] += b[0], a[1] += b[1], a[2] += b[2];\n}\n\nfunction cartesianScale(vector, k) {\n  return [vector[0] * k, vector[1] * k, vector[2] * k];\n}\n\n// TODO return d\nfunction cartesianNormalizeInPlace(d) {\n  var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n  d[0] /= l, d[1] /= l, d[2] /= l;\n}\n\nvar lambda0$1;\nvar phi0;\nvar lambda1;\nvar phi1;\nvar lambda2;\nvar lambda00$1;\nvar phi00$1;\nvar p0;\nvar deltaSum = adder();\nvar ranges;\nvar range;\n\nvar boundsStream = {\n  point: boundsPoint,\n  lineStart: boundsLineStart,\n  lineEnd: boundsLineEnd,\n  polygonStart: function() {\n    boundsStream.point = boundsRingPoint;\n    boundsStream.lineStart = boundsRingStart;\n    boundsStream.lineEnd = boundsRingEnd;\n    deltaSum.reset();\n    areaStream.polygonStart();\n  },\n  polygonEnd: function() {\n    areaStream.polygonEnd();\n    boundsStream.point = boundsPoint;\n    boundsStream.lineStart = boundsLineStart;\n    boundsStream.lineEnd = boundsLineEnd;\n    if (areaRingSum < 0) lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n    else if (deltaSum > epsilon$2) phi1 = 90;\n    else if (deltaSum < -epsilon$2) phi0 = -90;\n    range[0] = lambda0$1, range[1] = lambda1;\n  }\n};\n\nfunction boundsPoint(lambda, phi) {\n  ranges.push(range = [lambda0$1 = lambda, lambda1 = lambda]);\n  if (phi < phi0) phi0 = phi;\n  if (phi > phi1) phi1 = phi;\n}\n\nfunction linePoint(lambda, phi) {\n  var p = cartesian([lambda * radians, phi * radians]);\n  if (p0) {\n    var normal = cartesianCross(p0, p),\n        equatorial = [normal[1], -normal[0], 0],\n        inflection = cartesianCross(equatorial, normal);\n    cartesianNormalizeInPlace(inflection);\n    inflection = spherical(inflection);\n    var delta = lambda - lambda2,\n        sign$$1 = delta > 0 ? 1 : -1,\n        lambdai = inflection[0] * degrees$1 * sign$$1,\n        phii,\n        antimeridian = abs(delta) > 180;\n    if (antimeridian ^ (sign$$1 * lambda2 < lambdai && lambdai < sign$$1 * lambda)) {\n      phii = inflection[1] * degrees$1;\n      if (phii > phi1) phi1 = phii;\n    } else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign$$1 * lambda2 < lambdai && lambdai < sign$$1 * lambda)) {\n      phii = -inflection[1] * degrees$1;\n      if (phii < phi0) phi0 = phii;\n    } else {\n      if (phi < phi0) phi0 = phi;\n      if (phi > phi1) phi1 = phi;\n    }\n    if (antimeridian) {\n      if (lambda < lambda2) {\n        if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1)) lambda1 = lambda;\n      } else {\n        if (angle(lambda, lambda1) > angle(lambda0$1, lambda1)) lambda0$1 = lambda;\n      }\n    } else {\n      if (lambda1 >= lambda0$1) {\n        if (lambda < lambda0$1) lambda0$1 = lambda;\n        if (lambda > lambda1) lambda1 = lambda;\n      } else {\n        if (lambda > lambda2) {\n          if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1)) lambda1 = lambda;\n        } else {\n          if (angle(lambda, lambda1) > angle(lambda0$1, lambda1)) lambda0$1 = lambda;\n        }\n      }\n    }\n  } else {\n    ranges.push(range = [lambda0$1 = lambda, lambda1 = lambda]);\n  }\n  if (phi < phi0) phi0 = phi;\n  if (phi > phi1) phi1 = phi;\n  p0 = p, lambda2 = lambda;\n}\n\nfunction boundsLineStart() {\n  boundsStream.point = linePoint;\n}\n\nfunction boundsLineEnd() {\n  range[0] = lambda0$1, range[1] = lambda1;\n  boundsStream.point = boundsPoint;\n  p0 = null;\n}\n\nfunction boundsRingPoint(lambda, phi) {\n  if (p0) {\n    var delta = lambda - lambda2;\n    deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n  } else {\n    lambda00$1 = lambda, phi00$1 = phi;\n  }\n  areaStream.point(lambda, phi);\n  linePoint(lambda, phi);\n}\n\nfunction boundsRingStart() {\n  areaStream.lineStart();\n}\n\nfunction boundsRingEnd() {\n  boundsRingPoint(lambda00$1, phi00$1);\n  areaStream.lineEnd();\n  if (abs(deltaSum) > epsilon$2) lambda0$1 = -(lambda1 = 180);\n  range[0] = lambda0$1, range[1] = lambda1;\n  p0 = null;\n}\n\n// Finds the left-right distance between two longitudes.\n// This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n// the distance between ±180° to be 360°.\nfunction angle(lambda0, lambda1) {\n  return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n}\n\nfunction rangeCompare(a, b) {\n  return a[0] - b[0];\n}\n\nfunction rangeContains(range, x) {\n  return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;\n}\n\nvar bounds = function(feature) {\n  var i, n, a, b, merged, deltaMax, delta;\n\n  phi1 = lambda1 = -(lambda0$1 = phi0 = Infinity);\n  ranges = [];\n  geoStream(feature, boundsStream);\n\n  // First, sort ranges by their minimum longitudes.\n  if (n = ranges.length) {\n    ranges.sort(rangeCompare);\n\n    // Then, merge any ranges that overlap.\n    for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n      b = ranges[i];\n      if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n        if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];\n        if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];\n      } else {\n        merged.push(a = b);\n      }\n    }\n\n    // Finally, find the largest gap between the merged ranges.\n    // The final bounding box will be the inverse of this gap.\n    for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n      b = merged[i];\n      if ((delta = angle(a[1], b[0])) > deltaMax) deltaMax = delta, lambda0$1 = b[0], lambda1 = a[1];\n    }\n  }\n\n  ranges = range = null;\n\n  return lambda0$1 === Infinity || phi0 === Infinity\n      ? [[NaN, NaN], [NaN, NaN]]\n      : [[lambda0$1, phi0], [lambda1, phi1]];\n};\n\nvar W0;\nvar W1;\nvar X0;\nvar Y0;\nvar Z0;\nvar X1;\nvar Y1;\nvar Z1;\nvar X2;\nvar Y2;\nvar Z2;\nvar lambda00$2;\nvar phi00$2;\nvar x0;\nvar y0;\nvar z0; // previous point\n\nvar centroidStream = {\n  sphere: noop$1,\n  point: centroidPoint,\n  lineStart: centroidLineStart,\n  lineEnd: centroidLineEnd,\n  polygonStart: function() {\n    centroidStream.lineStart = centroidRingStart;\n    centroidStream.lineEnd = centroidRingEnd;\n  },\n  polygonEnd: function() {\n    centroidStream.lineStart = centroidLineStart;\n    centroidStream.lineEnd = centroidLineEnd;\n  }\n};\n\n// Arithmetic mean of Cartesian vectors.\nfunction centroidPoint(lambda, phi) {\n  lambda *= radians, phi *= radians;\n  var cosPhi = cos$1(phi);\n  centroidPointCartesian(cosPhi * cos$1(lambda), cosPhi * sin$1(lambda), sin$1(phi));\n}\n\nfunction centroidPointCartesian(x, y, z) {\n  ++W0;\n  X0 += (x - X0) / W0;\n  Y0 += (y - Y0) / W0;\n  Z0 += (z - Z0) / W0;\n}\n\nfunction centroidLineStart() {\n  centroidStream.point = centroidLinePointFirst;\n}\n\nfunction centroidLinePointFirst(lambda, phi) {\n  lambda *= radians, phi *= radians;\n  var cosPhi = cos$1(phi);\n  x0 = cosPhi * cos$1(lambda);\n  y0 = cosPhi * sin$1(lambda);\n  z0 = sin$1(phi);\n  centroidStream.point = centroidLinePoint;\n  centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidLinePoint(lambda, phi) {\n  lambda *= radians, phi *= radians;\n  var cosPhi = cos$1(phi),\n      x = cosPhi * cos$1(lambda),\n      y = cosPhi * sin$1(lambda),\n      z = sin$1(phi),\n      w = atan2(sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);\n  W1 += w;\n  X1 += w * (x0 + (x0 = x));\n  Y1 += w * (y0 + (y0 = y));\n  Z1 += w * (z0 + (z0 = z));\n  centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidLineEnd() {\n  centroidStream.point = centroidPoint;\n}\n\n// See J. E. Brock, The Inertia Tensor for a Spherical Triangle,\n// J. Applied Mechanics 42, 239 (1975).\nfunction centroidRingStart() {\n  centroidStream.point = centroidRingPointFirst;\n}\n\nfunction centroidRingEnd() {\n  centroidRingPoint(lambda00$2, phi00$2);\n  centroidStream.point = centroidPoint;\n}\n\nfunction centroidRingPointFirst(lambda, phi) {\n  lambda00$2 = lambda, phi00$2 = phi;\n  lambda *= radians, phi *= radians;\n  centroidStream.point = centroidRingPoint;\n  var cosPhi = cos$1(phi);\n  x0 = cosPhi * cos$1(lambda);\n  y0 = cosPhi * sin$1(lambda);\n  z0 = sin$1(phi);\n  centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidRingPoint(lambda, phi) {\n  lambda *= radians, phi *= radians;\n  var cosPhi = cos$1(phi),\n      x = cosPhi * cos$1(lambda),\n      y = cosPhi * sin$1(lambda),\n      z = sin$1(phi),\n      cx = y0 * z - z0 * y,\n      cy = z0 * x - x0 * z,\n      cz = x0 * y - y0 * x,\n      m = sqrt(cx * cx + cy * cy + cz * cz),\n      w = asin(m), // line weight = angle\n      v = m && -w / m; // area weight multiplier\n  X2 += v * cx;\n  Y2 += v * cy;\n  Z2 += v * cz;\n  W1 += w;\n  X1 += w * (x0 + (x0 = x));\n  Y1 += w * (y0 + (y0 = y));\n  Z1 += w * (z0 + (z0 = z));\n  centroidPointCartesian(x0, y0, z0);\n}\n\nvar centroid = function(object) {\n  W0 = W1 =\n  X0 = Y0 = Z0 =\n  X1 = Y1 = Z1 =\n  X2 = Y2 = Z2 = 0;\n  geoStream(object, centroidStream);\n\n  var x = X2,\n      y = Y2,\n      z = Z2,\n      m = x * x + y * y + z * z;\n\n  // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.\n  if (m < epsilon2$1) {\n    x = X1, y = Y1, z = Z1;\n    // If the feature has zero length, fall back to arithmetic mean of point vectors.\n    if (W1 < epsilon$2) x = X0, y = Y0, z = Z0;\n    m = x * x + y * y + z * z;\n    // If the feature still has an undefined ccentroid, then return.\n    if (m < epsilon2$1) return [NaN, NaN];\n  }\n\n  return [atan2(y, x) * degrees$1, asin(z / sqrt(m)) * degrees$1];\n};\n\nvar constant$7 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nvar compose = function(a, b) {\n\n  function compose(x, y) {\n    return x = a(x, y), b(x[0], x[1]);\n  }\n\n  if (a.invert && b.invert) compose.invert = function(x, y) {\n    return x = b.invert(x, y), x && a.invert(x[0], x[1]);\n  };\n\n  return compose;\n};\n\nfunction rotationIdentity(lambda, phi) {\n  return [lambda > pi$3 ? lambda - tau$3 : lambda < -pi$3 ? lambda + tau$3 : lambda, phi];\n}\n\nrotationIdentity.invert = rotationIdentity;\n\nfunction rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n  return (deltaLambda %= tau$3) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n    : rotationLambda(deltaLambda))\n    : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n    : rotationIdentity);\n}\n\nfunction forwardRotationLambda(deltaLambda) {\n  return function(lambda, phi) {\n    return lambda += deltaLambda, [lambda > pi$3 ? lambda - tau$3 : lambda < -pi$3 ? lambda + tau$3 : lambda, phi];\n  };\n}\n\nfunction rotationLambda(deltaLambda) {\n  var rotation = forwardRotationLambda(deltaLambda);\n  rotation.invert = forwardRotationLambda(-deltaLambda);\n  return rotation;\n}\n\nfunction rotationPhiGamma(deltaPhi, deltaGamma) {\n  var cosDeltaPhi = cos$1(deltaPhi),\n      sinDeltaPhi = sin$1(deltaPhi),\n      cosDeltaGamma = cos$1(deltaGamma),\n      sinDeltaGamma = sin$1(deltaGamma);\n\n  function rotation(lambda, phi) {\n    var cosPhi = cos$1(phi),\n        x = cos$1(lambda) * cosPhi,\n        y = sin$1(lambda) * cosPhi,\n        z = sin$1(phi),\n        k = z * cosDeltaPhi + x * sinDeltaPhi;\n    return [\n      atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n      asin(k * cosDeltaGamma + y * sinDeltaGamma)\n    ];\n  }\n\n  rotation.invert = function(lambda, phi) {\n    var cosPhi = cos$1(phi),\n        x = cos$1(lambda) * cosPhi,\n        y = sin$1(lambda) * cosPhi,\n        z = sin$1(phi),\n        k = z * cosDeltaGamma - y * sinDeltaGamma;\n    return [\n      atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n      asin(k * cosDeltaPhi - x * sinDeltaPhi)\n    ];\n  };\n\n  return rotation;\n}\n\nvar rotation = function(rotate) {\n  rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n\n  function forward(coordinates) {\n    coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n    return coordinates[0] *= degrees$1, coordinates[1] *= degrees$1, coordinates;\n  }\n\n  forward.invert = function(coordinates) {\n    coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n    return coordinates[0] *= degrees$1, coordinates[1] *= degrees$1, coordinates;\n  };\n\n  return forward;\n};\n\n// Generates a circle centered at [0°, 0°], with a given radius and precision.\nfunction circleStream(stream, radius, delta, direction, t0, t1) {\n  if (!delta) return;\n  var cosRadius = cos$1(radius),\n      sinRadius = sin$1(radius),\n      step = direction * delta;\n  if (t0 == null) {\n    t0 = radius + direction * tau$3;\n    t1 = radius - step / 2;\n  } else {\n    t0 = circleRadius(cosRadius, t0);\n    t1 = circleRadius(cosRadius, t1);\n    if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * tau$3;\n  }\n  for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n    point = spherical([cosRadius, -sinRadius * cos$1(t), -sinRadius * sin$1(t)]);\n    stream.point(point[0], point[1]);\n  }\n}\n\n// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\nfunction circleRadius(cosRadius, point) {\n  point = cartesian(point), point[0] -= cosRadius;\n  cartesianNormalizeInPlace(point);\n  var radius = acos(-point[1]);\n  return ((-point[2] < 0 ? -radius : radius) + tau$3 - epsilon$2) % tau$3;\n}\n\nvar circle = function() {\n  var center = constant$7([0, 0]),\n      radius = constant$7(90),\n      precision = constant$7(6),\n      ring,\n      rotate,\n      stream = {point: point};\n\n  function point(x, y) {\n    ring.push(x = rotate(x, y));\n    x[0] *= degrees$1, x[1] *= degrees$1;\n  }\n\n  function circle() {\n    var c = center.apply(this, arguments),\n        r = radius.apply(this, arguments) * radians,\n        p = precision.apply(this, arguments) * radians;\n    ring = [];\n    rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n    circleStream(stream, r, p, 1);\n    c = {type: \"Polygon\", coordinates: [ring]};\n    ring = rotate = null;\n    return c;\n  }\n\n  circle.center = function(_) {\n    return arguments.length ? (center = typeof _ === \"function\" ? _ : constant$7([+_[0], +_[1]]), circle) : center;\n  };\n\n  circle.radius = function(_) {\n    return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant$7(+_), circle) : radius;\n  };\n\n  circle.precision = function(_) {\n    return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant$7(+_), circle) : precision;\n  };\n\n  return circle;\n};\n\nvar clipBuffer = function() {\n  var lines = [],\n      line;\n  return {\n    point: function(x, y) {\n      line.push([x, y]);\n    },\n    lineStart: function() {\n      lines.push(line = []);\n    },\n    lineEnd: noop$1,\n    rejoin: function() {\n      if (lines.length > 1) lines.push(lines.pop().concat(lines.shift()));\n    },\n    result: function() {\n      var result = lines;\n      lines = [];\n      line = null;\n      return result;\n    }\n  };\n};\n\nvar clipLine = function(a, b, x0, y0, x1, y1) {\n  var ax = a[0],\n      ay = a[1],\n      bx = b[0],\n      by = b[1],\n      t0 = 0,\n      t1 = 1,\n      dx = bx - ax,\n      dy = by - ay,\n      r;\n\n  r = x0 - ax;\n  if (!dx && r > 0) return;\n  r /= dx;\n  if (dx < 0) {\n    if (r < t0) return;\n    if (r < t1) t1 = r;\n  } else if (dx > 0) {\n    if (r > t1) return;\n    if (r > t0) t0 = r;\n  }\n\n  r = x1 - ax;\n  if (!dx && r < 0) return;\n  r /= dx;\n  if (dx < 0) {\n    if (r > t1) return;\n    if (r > t0) t0 = r;\n  } else if (dx > 0) {\n    if (r < t0) return;\n    if (r < t1) t1 = r;\n  }\n\n  r = y0 - ay;\n  if (!dy && r > 0) return;\n  r /= dy;\n  if (dy < 0) {\n    if (r < t0) return;\n    if (r < t1) t1 = r;\n  } else if (dy > 0) {\n    if (r > t1) return;\n    if (r > t0) t0 = r;\n  }\n\n  r = y1 - ay;\n  if (!dy && r < 0) return;\n  r /= dy;\n  if (dy < 0) {\n    if (r > t1) return;\n    if (r > t0) t0 = r;\n  } else if (dy > 0) {\n    if (r < t0) return;\n    if (r < t1) t1 = r;\n  }\n\n  if (t0 > 0) a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;\n  if (t1 < 1) b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;\n  return true;\n};\n\nvar pointEqual = function(a, b) {\n  return abs(a[0] - b[0]) < epsilon$2 && abs(a[1] - b[1]) < epsilon$2;\n};\n\nfunction Intersection(point, points, other, entry) {\n  this.x = point;\n  this.z = points;\n  this.o = other; // another intersection\n  this.e = entry; // is an entry?\n  this.v = false; // visited\n  this.n = this.p = null; // next & previous\n}\n\n// A generalized polygon clipping algorithm: given a polygon that has been cut\n// into its visible line segments, and rejoins the segments by interpolating\n// along the clip edge.\nvar clipPolygon = function(segments, compareIntersection, startInside, interpolate, stream) {\n  var subject = [],\n      clip = [],\n      i,\n      n;\n\n  segments.forEach(function(segment) {\n    if ((n = segment.length - 1) <= 0) return;\n    var n, p0 = segment[0], p1 = segment[n], x;\n\n    // If the first and last points of a segment are coincident, then treat as a\n    // closed ring. TODO if all rings are closed, then the winding order of the\n    // exterior ring should be checked.\n    if (pointEqual(p0, p1)) {\n      stream.lineStart();\n      for (i = 0; i < n; ++i) stream.point((p0 = segment[i])[0], p0[1]);\n      stream.lineEnd();\n      return;\n    }\n\n    subject.push(x = new Intersection(p0, segment, null, true));\n    clip.push(x.o = new Intersection(p0, null, x, false));\n    subject.push(x = new Intersection(p1, segment, null, false));\n    clip.push(x.o = new Intersection(p1, null, x, true));\n  });\n\n  if (!subject.length) return;\n\n  clip.sort(compareIntersection);\n  link$1(subject);\n  link$1(clip);\n\n  for (i = 0, n = clip.length; i < n; ++i) {\n    clip[i].e = startInside = !startInside;\n  }\n\n  var start = subject[0],\n      points,\n      point;\n\n  while (1) {\n    // Find first unvisited intersection.\n    var current = start,\n        isSubject = true;\n    while (current.v) if ((current = current.n) === start) return;\n    points = current.z;\n    stream.lineStart();\n    do {\n      current.v = current.o.v = true;\n      if (current.e) {\n        if (isSubject) {\n          for (i = 0, n = points.length; i < n; ++i) stream.point((point = points[i])[0], point[1]);\n        } else {\n          interpolate(current.x, current.n.x, 1, stream);\n        }\n        current = current.n;\n      } else {\n        if (isSubject) {\n          points = current.p.z;\n          for (i = points.length - 1; i >= 0; --i) stream.point((point = points[i])[0], point[1]);\n        } else {\n          interpolate(current.x, current.p.x, -1, stream);\n        }\n        current = current.p;\n      }\n      current = current.o;\n      points = current.z;\n      isSubject = !isSubject;\n    } while (!current.v);\n    stream.lineEnd();\n  }\n};\n\nfunction link$1(array) {\n  if (!(n = array.length)) return;\n  var n,\n      i = 0,\n      a = array[0],\n      b;\n  while (++i < n) {\n    a.n = b = array[i];\n    b.p = a;\n    a = b;\n  }\n  a.n = b = array[0];\n  b.p = a;\n}\n\nvar clipMax = 1e9;\nvar clipMin = -clipMax;\n\n// TODO Use d3-polygon’s polygonContains here for the ring check?\n// TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n\nfunction clipExtent(x0, y0, x1, y1) {\n\n  function visible(x, y) {\n    return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n  }\n\n  function interpolate(from, to, direction, stream) {\n    var a = 0, a1 = 0;\n    if (from == null\n        || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n        || comparePoint(from, to) < 0 ^ direction > 0) {\n      do stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n      while ((a = (a + direction + 4) % 4) !== a1);\n    } else {\n      stream.point(to[0], to[1]);\n    }\n  }\n\n  function corner(p, direction) {\n    return abs(p[0] - x0) < epsilon$2 ? direction > 0 ? 0 : 3\n        : abs(p[0] - x1) < epsilon$2 ? direction > 0 ? 2 : 1\n        : abs(p[1] - y0) < epsilon$2 ? direction > 0 ? 1 : 0\n        : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n  }\n\n  function compareIntersection(a, b) {\n    return comparePoint(a.x, b.x);\n  }\n\n  function comparePoint(a, b) {\n    var ca = corner(a, 1),\n        cb = corner(b, 1);\n    return ca !== cb ? ca - cb\n        : ca === 0 ? b[1] - a[1]\n        : ca === 1 ? a[0] - b[0]\n        : ca === 2 ? a[1] - b[1]\n        : b[0] - a[0];\n  }\n\n  return function(stream) {\n    var activeStream = stream,\n        bufferStream = clipBuffer(),\n        segments,\n        polygon,\n        ring,\n        x__, y__, v__, // first point\n        x_, y_, v_, // previous point\n        first,\n        clean;\n\n    var clipStream = {\n      point: point,\n      lineStart: lineStart,\n      lineEnd: lineEnd,\n      polygonStart: polygonStart,\n      polygonEnd: polygonEnd\n    };\n\n    function point(x, y) {\n      if (visible(x, y)) activeStream.point(x, y);\n    }\n\n    function polygonInside() {\n      var winding = 0;\n\n      for (var i = 0, n = polygon.length; i < n; ++i) {\n        for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n          a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n          if (a1 <= y1) { if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0)) ++winding; }\n          else { if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0)) --winding; }\n        }\n      }\n\n      return winding;\n    }\n\n    // Buffer geometry within a polygon and then clip it en masse.\n    function polygonStart() {\n      activeStream = bufferStream, segments = [], polygon = [], clean = true;\n    }\n\n    function polygonEnd() {\n      var startInside = polygonInside(),\n          cleanInside = clean && startInside,\n          visible = (segments = merge(segments)).length;\n      if (cleanInside || visible) {\n        stream.polygonStart();\n        if (cleanInside) {\n          stream.lineStart();\n          interpolate(null, null, 1, stream);\n          stream.lineEnd();\n        }\n        if (visible) {\n          clipPolygon(segments, compareIntersection, startInside, interpolate, stream);\n        }\n        stream.polygonEnd();\n      }\n      activeStream = stream, segments = polygon = ring = null;\n    }\n\n    function lineStart() {\n      clipStream.point = linePoint;\n      if (polygon) polygon.push(ring = []);\n      first = true;\n      v_ = false;\n      x_ = y_ = NaN;\n    }\n\n    // TODO rather than special-case polygons, simply handle them separately.\n    // Ideally, coincident intersection points should be jittered to avoid\n    // clipping issues.\n    function lineEnd() {\n      if (segments) {\n        linePoint(x__, y__);\n        if (v__ && v_) bufferStream.rejoin();\n        segments.push(bufferStream.result());\n      }\n      clipStream.point = point;\n      if (v_) activeStream.lineEnd();\n    }\n\n    function linePoint(x, y) {\n      var v = visible(x, y);\n      if (polygon) ring.push([x, y]);\n      if (first) {\n        x__ = x, y__ = y, v__ = v;\n        first = false;\n        if (v) {\n          activeStream.lineStart();\n          activeStream.point(x, y);\n        }\n      } else {\n        if (v && v_) activeStream.point(x, y);\n        else {\n          var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))],\n              b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n          if (clipLine(a, b, x0, y0, x1, y1)) {\n            if (!v_) {\n              activeStream.lineStart();\n              activeStream.point(a[0], a[1]);\n            }\n            activeStream.point(b[0], b[1]);\n            if (!v) activeStream.lineEnd();\n            clean = false;\n          } else if (v) {\n            activeStream.lineStart();\n            activeStream.point(x, y);\n            clean = false;\n          }\n        }\n      }\n      x_ = x, y_ = y, v_ = v;\n    }\n\n    return clipStream;\n  };\n}\n\nvar extent$1 = function() {\n  var x0 = 0,\n      y0 = 0,\n      x1 = 960,\n      y1 = 500,\n      cache,\n      cacheStream,\n      clip;\n\n  return clip = {\n    stream: function(stream) {\n      return cache && cacheStream === stream ? cache : cache = clipExtent(x0, y0, x1, y1)(cacheStream = stream);\n    },\n    extent: function(_) {\n      return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n    }\n  };\n};\n\nvar sum$1 = adder();\n\nvar polygonContains = function(polygon, point) {\n  var lambda = point[0],\n      phi = point[1],\n      normal = [sin$1(lambda), -cos$1(lambda), 0],\n      angle = 0,\n      winding = 0;\n\n  sum$1.reset();\n\n  for (var i = 0, n = polygon.length; i < n; ++i) {\n    if (!(m = (ring = polygon[i]).length)) continue;\n    var ring,\n        m,\n        point0 = ring[m - 1],\n        lambda0 = point0[0],\n        phi0 = point0[1] / 2 + quarterPi,\n        sinPhi0 = sin$1(phi0),\n        cosPhi0 = cos$1(phi0);\n\n    for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n      var point1 = ring[j],\n          lambda1 = point1[0],\n          phi1 = point1[1] / 2 + quarterPi,\n          sinPhi1 = sin$1(phi1),\n          cosPhi1 = cos$1(phi1),\n          delta = lambda1 - lambda0,\n          sign$$1 = delta >= 0 ? 1 : -1,\n          absDelta = sign$$1 * delta,\n          antimeridian = absDelta > pi$3,\n          k = sinPhi0 * sinPhi1;\n\n      sum$1.add(atan2(k * sign$$1 * sin$1(absDelta), cosPhi0 * cosPhi1 + k * cos$1(absDelta)));\n      angle += antimeridian ? delta + sign$$1 * tau$3 : delta;\n\n      // Are the longitudes either side of the point’s meridian (lambda),\n      // and are the latitudes smaller than the parallel (phi)?\n      if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n        var arc = cartesianCross(cartesian(point0), cartesian(point1));\n        cartesianNormalizeInPlace(arc);\n        var intersection = cartesianCross(normal, arc);\n        cartesianNormalizeInPlace(intersection);\n        var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n        if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n          winding += antimeridian ^ delta >= 0 ? 1 : -1;\n        }\n      }\n    }\n  }\n\n  // First, determine whether the South pole is inside or outside:\n  //\n  // It is inside if:\n  // * the polygon winds around it in a clockwise direction.\n  // * the polygon does not (cumulatively) wind around it, but has a negative\n  //   (counter-clockwise) area.\n  //\n  // Second, count the (signed) number of times a segment crosses a lambda\n  // from the point to the South pole.  If it is zero, then the point is the\n  // same side as the South pole.\n\n  return (angle < -epsilon$2 || angle < epsilon$2 && sum$1 < -epsilon$2) ^ (winding & 1);\n};\n\nvar lengthSum = adder();\nvar lambda0$2;\nvar sinPhi0$1;\nvar cosPhi0$1;\n\nvar lengthStream = {\n  sphere: noop$1,\n  point: noop$1,\n  lineStart: lengthLineStart,\n  lineEnd: noop$1,\n  polygonStart: noop$1,\n  polygonEnd: noop$1\n};\n\nfunction lengthLineStart() {\n  lengthStream.point = lengthPointFirst;\n  lengthStream.lineEnd = lengthLineEnd;\n}\n\nfunction lengthLineEnd() {\n  lengthStream.point = lengthStream.lineEnd = noop$1;\n}\n\nfunction lengthPointFirst(lambda, phi) {\n  lambda *= radians, phi *= radians;\n  lambda0$2 = lambda, sinPhi0$1 = sin$1(phi), cosPhi0$1 = cos$1(phi);\n  lengthStream.point = lengthPoint;\n}\n\nfunction lengthPoint(lambda, phi) {\n  lambda *= radians, phi *= radians;\n  var sinPhi = sin$1(phi),\n      cosPhi = cos$1(phi),\n      delta = abs(lambda - lambda0$2),\n      cosDelta = cos$1(delta),\n      sinDelta = sin$1(delta),\n      x = cosPhi * sinDelta,\n      y = cosPhi0$1 * sinPhi - sinPhi0$1 * cosPhi * cosDelta,\n      z = sinPhi0$1 * sinPhi + cosPhi0$1 * cosPhi * cosDelta;\n  lengthSum.add(atan2(sqrt(x * x + y * y), z));\n  lambda0$2 = lambda, sinPhi0$1 = sinPhi, cosPhi0$1 = cosPhi;\n}\n\nvar length$1 = function(object) {\n  lengthSum.reset();\n  geoStream(object, lengthStream);\n  return +lengthSum;\n};\n\nvar coordinates = [null, null];\nvar object$1 = {type: \"LineString\", coordinates: coordinates};\n\nvar distance = function(a, b) {\n  coordinates[0] = a;\n  coordinates[1] = b;\n  return length$1(object$1);\n};\n\nvar containsObjectType = {\n  Feature: function(object, point) {\n    return containsGeometry(object.geometry, point);\n  },\n  FeatureCollection: function(object, point) {\n    var features = object.features, i = -1, n = features.length;\n    while (++i < n) if (containsGeometry(features[i].geometry, point)) return true;\n    return false;\n  }\n};\n\nvar containsGeometryType = {\n  Sphere: function() {\n    return true;\n  },\n  Point: function(object, point) {\n    return containsPoint(object.coordinates, point);\n  },\n  MultiPoint: function(object, point) {\n    var coordinates = object.coordinates, i = -1, n = coordinates.length;\n    while (++i < n) if (containsPoint(coordinates[i], point)) return true;\n    return false;\n  },\n  LineString: function(object, point) {\n    return containsLine(object.coordinates, point);\n  },\n  MultiLineString: function(object, point) {\n    var coordinates = object.coordinates, i = -1, n = coordinates.length;\n    while (++i < n) if (containsLine(coordinates[i], point)) return true;\n    return false;\n  },\n  Polygon: function(object, point) {\n    return containsPolygon(object.coordinates, point);\n  },\n  MultiPolygon: function(object, point) {\n    var coordinates = object.coordinates, i = -1, n = coordinates.length;\n    while (++i < n) if (containsPolygon(coordinates[i], point)) return true;\n    return false;\n  },\n  GeometryCollection: function(object, point) {\n    var geometries = object.geometries, i = -1, n = geometries.length;\n    while (++i < n) if (containsGeometry(geometries[i], point)) return true;\n    return false;\n  }\n};\n\nfunction containsGeometry(geometry, point) {\n  return geometry && containsGeometryType.hasOwnProperty(geometry.type)\n      ? containsGeometryType[geometry.type](geometry, point)\n      : false;\n}\n\nfunction containsPoint(coordinates, point) {\n  return distance(coordinates, point) === 0;\n}\n\nfunction containsLine(coordinates, point) {\n  var ab = distance(coordinates[0], coordinates[1]),\n      ao = distance(coordinates[0], point),\n      ob = distance(point, coordinates[1]);\n  return ao + ob <= ab + epsilon$2;\n}\n\nfunction containsPolygon(coordinates, point) {\n  return !!polygonContains(coordinates.map(ringRadians), pointRadians(point));\n}\n\nfunction ringRadians(ring) {\n  return ring = ring.map(pointRadians), ring.pop(), ring;\n}\n\nfunction pointRadians(point) {\n  return [point[0] * radians, point[1] * radians];\n}\n\nvar contains = function(object, point) {\n  return (object && containsObjectType.hasOwnProperty(object.type)\n      ? containsObjectType[object.type]\n      : containsGeometry)(object, point);\n};\n\nfunction graticuleX(y0, y1, dy) {\n  var y = sequence(y0, y1 - epsilon$2, dy).concat(y1);\n  return function(x) { return y.map(function(y) { return [x, y]; }); };\n}\n\nfunction graticuleY(x0, x1, dx) {\n  var x = sequence(x0, x1 - epsilon$2, dx).concat(x1);\n  return function(y) { return x.map(function(x) { return [x, y]; }); };\n}\n\nfunction graticule() {\n  var x1, x0, X1, X0,\n      y1, y0, Y1, Y0,\n      dx = 10, dy = dx, DX = 90, DY = 360,\n      x, y, X, Y,\n      precision = 2.5;\n\n  function graticule() {\n    return {type: \"MultiLineString\", coordinates: lines()};\n  }\n\n  function lines() {\n    return sequence(ceil(X0 / DX) * DX, X1, DX).map(X)\n        .concat(sequence(ceil(Y0 / DY) * DY, Y1, DY).map(Y))\n        .concat(sequence(ceil(x0 / dx) * dx, x1, dx).filter(function(x) { return abs(x % DX) > epsilon$2; }).map(x))\n        .concat(sequence(ceil(y0 / dy) * dy, y1, dy).filter(function(y) { return abs(y % DY) > epsilon$2; }).map(y));\n  }\n\n  graticule.lines = function() {\n    return lines().map(function(coordinates) { return {type: \"LineString\", coordinates: coordinates}; });\n  };\n\n  graticule.outline = function() {\n    return {\n      type: \"Polygon\",\n      coordinates: [\n        X(X0).concat(\n        Y(Y1).slice(1),\n        X(X1).reverse().slice(1),\n        Y(Y0).reverse().slice(1))\n      ]\n    };\n  };\n\n  graticule.extent = function(_) {\n    if (!arguments.length) return graticule.extentMinor();\n    return graticule.extentMajor(_).extentMinor(_);\n  };\n\n  graticule.extentMajor = function(_) {\n    if (!arguments.length) return [[X0, Y0], [X1, Y1]];\n    X0 = +_[0][0], X1 = +_[1][0];\n    Y0 = +_[0][1], Y1 = +_[1][1];\n    if (X0 > X1) _ = X0, X0 = X1, X1 = _;\n    if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _;\n    return graticule.precision(precision);\n  };\n\n  graticule.extentMinor = function(_) {\n    if (!arguments.length) return [[x0, y0], [x1, y1]];\n    x0 = +_[0][0], x1 = +_[1][0];\n    y0 = +_[0][1], y1 = +_[1][1];\n    if (x0 > x1) _ = x0, x0 = x1, x1 = _;\n    if (y0 > y1) _ = y0, y0 = y1, y1 = _;\n    return graticule.precision(precision);\n  };\n\n  graticule.step = function(_) {\n    if (!arguments.length) return graticule.stepMinor();\n    return graticule.stepMajor(_).stepMinor(_);\n  };\n\n  graticule.stepMajor = function(_) {\n    if (!arguments.length) return [DX, DY];\n    DX = +_[0], DY = +_[1];\n    return graticule;\n  };\n\n  graticule.stepMinor = function(_) {\n    if (!arguments.length) return [dx, dy];\n    dx = +_[0], dy = +_[1];\n    return graticule;\n  };\n\n  graticule.precision = function(_) {\n    if (!arguments.length) return precision;\n    precision = +_;\n    x = graticuleX(y0, y1, 90);\n    y = graticuleY(x0, x1, precision);\n    X = graticuleX(Y0, Y1, 90);\n    Y = graticuleY(X0, X1, precision);\n    return graticule;\n  };\n\n  return graticule\n      .extentMajor([[-180, -90 + epsilon$2], [180, 90 - epsilon$2]])\n      .extentMinor([[-180, -80 - epsilon$2], [180, 80 + epsilon$2]]);\n}\n\nfunction graticule10() {\n  return graticule()();\n}\n\nvar interpolate$1 = function(a, b) {\n  var x0 = a[0] * radians,\n      y0 = a[1] * radians,\n      x1 = b[0] * radians,\n      y1 = b[1] * radians,\n      cy0 = cos$1(y0),\n      sy0 = sin$1(y0),\n      cy1 = cos$1(y1),\n      sy1 = sin$1(y1),\n      kx0 = cy0 * cos$1(x0),\n      ky0 = cy0 * sin$1(x0),\n      kx1 = cy1 * cos$1(x1),\n      ky1 = cy1 * sin$1(x1),\n      d = 2 * asin(sqrt(haversin(y1 - y0) + cy0 * cy1 * haversin(x1 - x0))),\n      k = sin$1(d);\n\n  var interpolate = d ? function(t) {\n    var B = sin$1(t *= d) / k,\n        A = sin$1(d - t) / k,\n        x = A * kx0 + B * kx1,\n        y = A * ky0 + B * ky1,\n        z = A * sy0 + B * sy1;\n    return [\n      atan2(y, x) * degrees$1,\n      atan2(z, sqrt(x * x + y * y)) * degrees$1\n    ];\n  } : function() {\n    return [x0 * degrees$1, y0 * degrees$1];\n  };\n\n  interpolate.distance = d;\n\n  return interpolate;\n};\n\nvar identity$4 = function(x) {\n  return x;\n};\n\nvar areaSum$1 = adder();\nvar areaRingSum$1 = adder();\nvar x00;\nvar y00;\nvar x0$1;\nvar y0$1;\n\nvar areaStream$1 = {\n  point: noop$1,\n  lineStart: noop$1,\n  lineEnd: noop$1,\n  polygonStart: function() {\n    areaStream$1.lineStart = areaRingStart$1;\n    areaStream$1.lineEnd = areaRingEnd$1;\n  },\n  polygonEnd: function() {\n    areaStream$1.lineStart = areaStream$1.lineEnd = areaStream$1.point = noop$1;\n    areaSum$1.add(abs(areaRingSum$1));\n    areaRingSum$1.reset();\n  },\n  result: function() {\n    var area = areaSum$1 / 2;\n    areaSum$1.reset();\n    return area;\n  }\n};\n\nfunction areaRingStart$1() {\n  areaStream$1.point = areaPointFirst$1;\n}\n\nfunction areaPointFirst$1(x, y) {\n  areaStream$1.point = areaPoint$1;\n  x00 = x0$1 = x, y00 = y0$1 = y;\n}\n\nfunction areaPoint$1(x, y) {\n  areaRingSum$1.add(y0$1 * x - x0$1 * y);\n  x0$1 = x, y0$1 = y;\n}\n\nfunction areaRingEnd$1() {\n  areaPoint$1(x00, y00);\n}\n\nvar x0$2 = Infinity;\nvar y0$2 = x0$2;\nvar x1 = -x0$2;\nvar y1 = x1;\n\nvar boundsStream$1 = {\n  point: boundsPoint$1,\n  lineStart: noop$1,\n  lineEnd: noop$1,\n  polygonStart: noop$1,\n  polygonEnd: noop$1,\n  result: function() {\n    var bounds = [[x0$2, y0$2], [x1, y1]];\n    x1 = y1 = -(y0$2 = x0$2 = Infinity);\n    return bounds;\n  }\n};\n\nfunction boundsPoint$1(x, y) {\n  if (x < x0$2) x0$2 = x;\n  if (x > x1) x1 = x;\n  if (y < y0$2) y0$2 = y;\n  if (y > y1) y1 = y;\n}\n\n// TODO Enforce positive area for exterior, negative area for interior?\n\nvar X0$1 = 0;\nvar Y0$1 = 0;\nvar Z0$1 = 0;\nvar X1$1 = 0;\nvar Y1$1 = 0;\nvar Z1$1 = 0;\nvar X2$1 = 0;\nvar Y2$1 = 0;\nvar Z2$1 = 0;\nvar x00$1;\nvar y00$1;\nvar x0$3;\nvar y0$3;\n\nvar centroidStream$1 = {\n  point: centroidPoint$1,\n  lineStart: centroidLineStart$1,\n  lineEnd: centroidLineEnd$1,\n  polygonStart: function() {\n    centroidStream$1.lineStart = centroidRingStart$1;\n    centroidStream$1.lineEnd = centroidRingEnd$1;\n  },\n  polygonEnd: function() {\n    centroidStream$1.point = centroidPoint$1;\n    centroidStream$1.lineStart = centroidLineStart$1;\n    centroidStream$1.lineEnd = centroidLineEnd$1;\n  },\n  result: function() {\n    var centroid = Z2$1 ? [X2$1 / Z2$1, Y2$1 / Z2$1]\n        : Z1$1 ? [X1$1 / Z1$1, Y1$1 / Z1$1]\n        : Z0$1 ? [X0$1 / Z0$1, Y0$1 / Z0$1]\n        : [NaN, NaN];\n    X0$1 = Y0$1 = Z0$1 =\n    X1$1 = Y1$1 = Z1$1 =\n    X2$1 = Y2$1 = Z2$1 = 0;\n    return centroid;\n  }\n};\n\nfunction centroidPoint$1(x, y) {\n  X0$1 += x;\n  Y0$1 += y;\n  ++Z0$1;\n}\n\nfunction centroidLineStart$1() {\n  centroidStream$1.point = centroidPointFirstLine;\n}\n\nfunction centroidPointFirstLine(x, y) {\n  centroidStream$1.point = centroidPointLine;\n  centroidPoint$1(x0$3 = x, y0$3 = y);\n}\n\nfunction centroidPointLine(x, y) {\n  var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n  X1$1 += z * (x0$3 + x) / 2;\n  Y1$1 += z * (y0$3 + y) / 2;\n  Z1$1 += z;\n  centroidPoint$1(x0$3 = x, y0$3 = y);\n}\n\nfunction centroidLineEnd$1() {\n  centroidStream$1.point = centroidPoint$1;\n}\n\nfunction centroidRingStart$1() {\n  centroidStream$1.point = centroidPointFirstRing;\n}\n\nfunction centroidRingEnd$1() {\n  centroidPointRing(x00$1, y00$1);\n}\n\nfunction centroidPointFirstRing(x, y) {\n  centroidStream$1.point = centroidPointRing;\n  centroidPoint$1(x00$1 = x0$3 = x, y00$1 = y0$3 = y);\n}\n\nfunction centroidPointRing(x, y) {\n  var dx = x - x0$3,\n      dy = y - y0$3,\n      z = sqrt(dx * dx + dy * dy);\n\n  X1$1 += z * (x0$3 + x) / 2;\n  Y1$1 += z * (y0$3 + y) / 2;\n  Z1$1 += z;\n\n  z = y0$3 * x - x0$3 * y;\n  X2$1 += z * (x0$3 + x);\n  Y2$1 += z * (y0$3 + y);\n  Z2$1 += z * 3;\n  centroidPoint$1(x0$3 = x, y0$3 = y);\n}\n\nfunction PathContext(context) {\n  this._context = context;\n}\n\nPathContext.prototype = {\n  _radius: 4.5,\n  pointRadius: function(_) {\n    return this._radius = _, this;\n  },\n  polygonStart: function() {\n    this._line = 0;\n  },\n  polygonEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._point = 0;\n  },\n  lineEnd: function() {\n    if (this._line === 0) this._context.closePath();\n    this._point = NaN;\n  },\n  point: function(x, y) {\n    switch (this._point) {\n      case 0: {\n        this._context.moveTo(x, y);\n        this._point = 1;\n        break;\n      }\n      case 1: {\n        this._context.lineTo(x, y);\n        break;\n      }\n      default: {\n        this._context.moveTo(x + this._radius, y);\n        this._context.arc(x, y, this._radius, 0, tau$3);\n        break;\n      }\n    }\n  },\n  result: noop$1\n};\n\nvar lengthSum$1 = adder();\nvar lengthRing;\nvar x00$2;\nvar y00$2;\nvar x0$4;\nvar y0$4;\n\nvar lengthStream$1 = {\n  point: noop$1,\n  lineStart: function() {\n    lengthStream$1.point = lengthPointFirst$1;\n  },\n  lineEnd: function() {\n    if (lengthRing) lengthPoint$1(x00$2, y00$2);\n    lengthStream$1.point = noop$1;\n  },\n  polygonStart: function() {\n    lengthRing = true;\n  },\n  polygonEnd: function() {\n    lengthRing = null;\n  },\n  result: function() {\n    var length = +lengthSum$1;\n    lengthSum$1.reset();\n    return length;\n  }\n};\n\nfunction lengthPointFirst$1(x, y) {\n  lengthStream$1.point = lengthPoint$1;\n  x00$2 = x0$4 = x, y00$2 = y0$4 = y;\n}\n\nfunction lengthPoint$1(x, y) {\n  x0$4 -= x, y0$4 -= y;\n  lengthSum$1.add(sqrt(x0$4 * x0$4 + y0$4 * y0$4));\n  x0$4 = x, y0$4 = y;\n}\n\nfunction PathString() {\n  this._string = [];\n}\n\nPathString.prototype = {\n  _radius: 4.5,\n  _circle: circle$1(4.5),\n  pointRadius: function(_) {\n    if ((_ = +_) !== this._radius) this._radius = _, this._circle = null;\n    return this;\n  },\n  polygonStart: function() {\n    this._line = 0;\n  },\n  polygonEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._point = 0;\n  },\n  lineEnd: function() {\n    if (this._line === 0) this._string.push(\"Z\");\n    this._point = NaN;\n  },\n  point: function(x, y) {\n    switch (this._point) {\n      case 0: {\n        this._string.push(\"M\", x, \",\", y);\n        this._point = 1;\n        break;\n      }\n      case 1: {\n        this._string.push(\"L\", x, \",\", y);\n        break;\n      }\n      default: {\n        if (this._circle == null) this._circle = circle$1(this._radius);\n        this._string.push(\"M\", x, \",\", y, this._circle);\n        break;\n      }\n    }\n  },\n  result: function() {\n    if (this._string.length) {\n      var result = this._string.join(\"\");\n      this._string = [];\n      return result;\n    } else {\n      return null;\n    }\n  }\n};\n\nfunction circle$1(radius) {\n  return \"m0,\" + radius\n      + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + -2 * radius\n      + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + 2 * radius\n      + \"z\";\n}\n\nvar index$1 = function(projection, context) {\n  var pointRadius = 4.5,\n      projectionStream,\n      contextStream;\n\n  function path(object) {\n    if (object) {\n      if (typeof pointRadius === \"function\") contextStream.pointRadius(+pointRadius.apply(this, arguments));\n      geoStream(object, projectionStream(contextStream));\n    }\n    return contextStream.result();\n  }\n\n  path.area = function(object) {\n    geoStream(object, projectionStream(areaStream$1));\n    return areaStream$1.result();\n  };\n\n  path.measure = function(object) {\n    geoStream(object, projectionStream(lengthStream$1));\n    return lengthStream$1.result();\n  };\n\n  path.bounds = function(object) {\n    geoStream(object, projectionStream(boundsStream$1));\n    return boundsStream$1.result();\n  };\n\n  path.centroid = function(object) {\n    geoStream(object, projectionStream(centroidStream$1));\n    return centroidStream$1.result();\n  };\n\n  path.projection = function(_) {\n    return arguments.length ? (projectionStream = _ == null ? (projection = null, identity$4) : (projection = _).stream, path) : projection;\n  };\n\n  path.context = function(_) {\n    if (!arguments.length) return context;\n    contextStream = _ == null ? (context = null, new PathString) : new PathContext(context = _);\n    if (typeof pointRadius !== \"function\") contextStream.pointRadius(pointRadius);\n    return path;\n  };\n\n  path.pointRadius = function(_) {\n    if (!arguments.length) return pointRadius;\n    pointRadius = typeof _ === \"function\" ? _ : (contextStream.pointRadius(+_), +_);\n    return path;\n  };\n\n  return path.projection(projection).context(context);\n};\n\nvar clip = function(pointVisible, clipLine, interpolate, start) {\n  return function(rotate, sink) {\n    var line = clipLine(sink),\n        rotatedStart = rotate.invert(start[0], start[1]),\n        ringBuffer = clipBuffer(),\n        ringSink = clipLine(ringBuffer),\n        polygonStarted = false,\n        polygon,\n        segments,\n        ring;\n\n    var clip = {\n      point: point,\n      lineStart: lineStart,\n      lineEnd: lineEnd,\n      polygonStart: function() {\n        clip.point = pointRing;\n        clip.lineStart = ringStart;\n        clip.lineEnd = ringEnd;\n        segments = [];\n        polygon = [];\n      },\n      polygonEnd: function() {\n        clip.point = point;\n        clip.lineStart = lineStart;\n        clip.lineEnd = lineEnd;\n        segments = merge(segments);\n        var startInside = polygonContains(polygon, rotatedStart);\n        if (segments.length) {\n          if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n          clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n        } else if (startInside) {\n          if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n          sink.lineStart();\n          interpolate(null, null, 1, sink);\n          sink.lineEnd();\n        }\n        if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n        segments = polygon = null;\n      },\n      sphere: function() {\n        sink.polygonStart();\n        sink.lineStart();\n        interpolate(null, null, 1, sink);\n        sink.lineEnd();\n        sink.polygonEnd();\n      }\n    };\n\n    function point(lambda, phi) {\n      var point = rotate(lambda, phi);\n      if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n    }\n\n    function pointLine(lambda, phi) {\n      var point = rotate(lambda, phi);\n      line.point(point[0], point[1]);\n    }\n\n    function lineStart() {\n      clip.point = pointLine;\n      line.lineStart();\n    }\n\n    function lineEnd() {\n      clip.point = point;\n      line.lineEnd();\n    }\n\n    function pointRing(lambda, phi) {\n      ring.push([lambda, phi]);\n      var point = rotate(lambda, phi);\n      ringSink.point(point[0], point[1]);\n    }\n\n    function ringStart() {\n      ringSink.lineStart();\n      ring = [];\n    }\n\n    function ringEnd() {\n      pointRing(ring[0][0], ring[0][1]);\n      ringSink.lineEnd();\n\n      var clean = ringSink.clean(),\n          ringSegments = ringBuffer.result(),\n          i, n = ringSegments.length, m,\n          segment,\n          point;\n\n      ring.pop();\n      polygon.push(ring);\n      ring = null;\n\n      if (!n) return;\n\n      // No intersections.\n      if (clean & 1) {\n        segment = ringSegments[0];\n        if ((m = segment.length - 1) > 0) {\n          if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n          sink.lineStart();\n          for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n          sink.lineEnd();\n        }\n        return;\n      }\n\n      // Rejoin connected segments.\n      // TODO reuse ringBuffer.rejoin()?\n      if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n      segments.push(ringSegments.filter(validSegment));\n    }\n\n    return clip;\n  };\n};\n\nfunction validSegment(segment) {\n  return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n  return ((a = a.x)[0] < 0 ? a[1] - halfPi$2 - epsilon$2 : halfPi$2 - a[1])\n       - ((b = b.x)[0] < 0 ? b[1] - halfPi$2 - epsilon$2 : halfPi$2 - b[1]);\n}\n\nvar clipAntimeridian = clip(\n  function() { return true; },\n  clipAntimeridianLine,\n  clipAntimeridianInterpolate,\n  [-pi$3, -halfPi$2]\n);\n\n// Takes a line and cuts into visible segments. Return values: 0 - there were\n// intersections or the line was empty; 1 - no intersections; 2 - there were\n// intersections, and the first and last segments should be rejoined.\nfunction clipAntimeridianLine(stream) {\n  var lambda0 = NaN,\n      phi0 = NaN,\n      sign0 = NaN,\n      clean; // no intersections\n\n  return {\n    lineStart: function() {\n      stream.lineStart();\n      clean = 1;\n    },\n    point: function(lambda1, phi1) {\n      var sign1 = lambda1 > 0 ? pi$3 : -pi$3,\n          delta = abs(lambda1 - lambda0);\n      if (abs(delta - pi$3) < epsilon$2) { // line crosses a pole\n        stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? halfPi$2 : -halfPi$2);\n        stream.point(sign0, phi0);\n        stream.lineEnd();\n        stream.lineStart();\n        stream.point(sign1, phi0);\n        stream.point(lambda1, phi0);\n        clean = 0;\n      } else if (sign0 !== sign1 && delta >= pi$3) { // line crosses antimeridian\n        if (abs(lambda0 - sign0) < epsilon$2) lambda0 -= sign0 * epsilon$2; // handle degeneracies\n        if (abs(lambda1 - sign1) < epsilon$2) lambda1 -= sign1 * epsilon$2;\n        phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);\n        stream.point(sign0, phi0);\n        stream.lineEnd();\n        stream.lineStart();\n        stream.point(sign1, phi0);\n        clean = 0;\n      }\n      stream.point(lambda0 = lambda1, phi0 = phi1);\n      sign0 = sign1;\n    },\n    lineEnd: function() {\n      stream.lineEnd();\n      lambda0 = phi0 = NaN;\n    },\n    clean: function() {\n      return 2 - clean; // if intersections, rejoin first and last segments\n    }\n  };\n}\n\nfunction clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {\n  var cosPhi0,\n      cosPhi1,\n      sinLambda0Lambda1 = sin$1(lambda0 - lambda1);\n  return abs(sinLambda0Lambda1) > epsilon$2\n      ? atan((sin$1(phi0) * (cosPhi1 = cos$1(phi1)) * sin$1(lambda1)\n          - sin$1(phi1) * (cosPhi0 = cos$1(phi0)) * sin$1(lambda0))\n          / (cosPhi0 * cosPhi1 * sinLambda0Lambda1))\n      : (phi0 + phi1) / 2;\n}\n\nfunction clipAntimeridianInterpolate(from, to, direction, stream) {\n  var phi;\n  if (from == null) {\n    phi = direction * halfPi$2;\n    stream.point(-pi$3, phi);\n    stream.point(0, phi);\n    stream.point(pi$3, phi);\n    stream.point(pi$3, 0);\n    stream.point(pi$3, -phi);\n    stream.point(0, -phi);\n    stream.point(-pi$3, -phi);\n    stream.point(-pi$3, 0);\n    stream.point(-pi$3, phi);\n  } else if (abs(from[0] - to[0]) > epsilon$2) {\n    var lambda = from[0] < to[0] ? pi$3 : -pi$3;\n    phi = direction * lambda / 2;\n    stream.point(-lambda, phi);\n    stream.point(0, phi);\n    stream.point(lambda, phi);\n  } else {\n    stream.point(to[0], to[1]);\n  }\n}\n\nvar clipCircle = function(radius, delta) {\n  var cr = cos$1(radius),\n      smallRadius = cr > 0,\n      notHemisphere = abs(cr) > epsilon$2; // TODO optimise for this common case\n\n  function interpolate(from, to, direction, stream) {\n    circleStream(stream, radius, delta, direction, from, to);\n  }\n\n  function visible(lambda, phi) {\n    return cos$1(lambda) * cos$1(phi) > cr;\n  }\n\n  // Takes a line and cuts into visible segments. Return values used for polygon\n  // clipping: 0 - there were intersections or the line was empty; 1 - no\n  // intersections 2 - there were intersections, and the first and last segments\n  // should be rejoined.\n  function clipLine(stream) {\n    var point0, // previous point\n        c0, // code for previous point\n        v0, // visibility of previous point\n        v00, // visibility of first point\n        clean; // no intersections\n    return {\n      lineStart: function() {\n        v00 = v0 = false;\n        clean = 1;\n      },\n      point: function(lambda, phi) {\n        var point1 = [lambda, phi],\n            point2,\n            v = visible(lambda, phi),\n            c = smallRadius\n              ? v ? 0 : code(lambda, phi)\n              : v ? code(lambda + (lambda < 0 ? pi$3 : -pi$3), phi) : 0;\n        if (!point0 && (v00 = v0 = v)) stream.lineStart();\n        // Handle degeneracies.\n        // TODO ignore if not clipping polygons.\n        if (v !== v0) {\n          point2 = intersect(point0, point1);\n          if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2)) {\n            point1[0] += epsilon$2;\n            point1[1] += epsilon$2;\n            v = visible(point1[0], point1[1]);\n          }\n        }\n        if (v !== v0) {\n          clean = 0;\n          if (v) {\n            // outside going in\n            stream.lineStart();\n            point2 = intersect(point1, point0);\n            stream.point(point2[0], point2[1]);\n          } else {\n            // inside going out\n            point2 = intersect(point0, point1);\n            stream.point(point2[0], point2[1]);\n            stream.lineEnd();\n          }\n          point0 = point2;\n        } else if (notHemisphere && point0 && smallRadius ^ v) {\n          var t;\n          // If the codes for two points are different, or are both zero,\n          // and there this segment intersects with the small circle.\n          if (!(c & c0) && (t = intersect(point1, point0, true))) {\n            clean = 0;\n            if (smallRadius) {\n              stream.lineStart();\n              stream.point(t[0][0], t[0][1]);\n              stream.point(t[1][0], t[1][1]);\n              stream.lineEnd();\n            } else {\n              stream.point(t[1][0], t[1][1]);\n              stream.lineEnd();\n              stream.lineStart();\n              stream.point(t[0][0], t[0][1]);\n            }\n          }\n        }\n        if (v && (!point0 || !pointEqual(point0, point1))) {\n          stream.point(point1[0], point1[1]);\n        }\n        point0 = point1, v0 = v, c0 = c;\n      },\n      lineEnd: function() {\n        if (v0) stream.lineEnd();\n        point0 = null;\n      },\n      // Rejoin first and last segments if there were intersections and the first\n      // and last points were visible.\n      clean: function() {\n        return clean | ((v00 && v0) << 1);\n      }\n    };\n  }\n\n  // Intersects the great circle between a and b with the clip circle.\n  function intersect(a, b, two) {\n    var pa = cartesian(a),\n        pb = cartesian(b);\n\n    // We have two planes, n1.p = d1 and n2.p = d2.\n    // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).\n    var n1 = [1, 0, 0], // normal\n        n2 = cartesianCross(pa, pb),\n        n2n2 = cartesianDot(n2, n2),\n        n1n2 = n2[0], // cartesianDot(n1, n2),\n        determinant = n2n2 - n1n2 * n1n2;\n\n    // Two polar points.\n    if (!determinant) return !two && a;\n\n    var c1 =  cr * n2n2 / determinant,\n        c2 = -cr * n1n2 / determinant,\n        n1xn2 = cartesianCross(n1, n2),\n        A = cartesianScale(n1, c1),\n        B = cartesianScale(n2, c2);\n    cartesianAddInPlace(A, B);\n\n    // Solve |p(t)|^2 = 1.\n    var u = n1xn2,\n        w = cartesianDot(A, u),\n        uu = cartesianDot(u, u),\n        t2 = w * w - uu * (cartesianDot(A, A) - 1);\n\n    if (t2 < 0) return;\n\n    var t = sqrt(t2),\n        q = cartesianScale(u, (-w - t) / uu);\n    cartesianAddInPlace(q, A);\n    q = spherical(q);\n\n    if (!two) return q;\n\n    // Two intersection points.\n    var lambda0 = a[0],\n        lambda1 = b[0],\n        phi0 = a[1],\n        phi1 = b[1],\n        z;\n\n    if (lambda1 < lambda0) z = lambda0, lambda0 = lambda1, lambda1 = z;\n\n    var delta = lambda1 - lambda0,\n        polar = abs(delta - pi$3) < epsilon$2,\n        meridian = polar || delta < epsilon$2;\n\n    if (!polar && phi1 < phi0) z = phi0, phi0 = phi1, phi1 = z;\n\n    // Check that the first point is between a and b.\n    if (meridian\n        ? polar\n          ? phi0 + phi1 > 0 ^ q[1] < (abs(q[0] - lambda0) < epsilon$2 ? phi0 : phi1)\n          : phi0 <= q[1] && q[1] <= phi1\n        : delta > pi$3 ^ (lambda0 <= q[0] && q[0] <= lambda1)) {\n      var q1 = cartesianScale(u, (-w + t) / uu);\n      cartesianAddInPlace(q1, A);\n      return [q, spherical(q1)];\n    }\n  }\n\n  // Generates a 4-bit vector representing the location of a point relative to\n  // the small circle's bounding box.\n  function code(lambda, phi) {\n    var r = smallRadius ? radius : pi$3 - radius,\n        code = 0;\n    if (lambda < -r) code |= 1; // left\n    else if (lambda > r) code |= 2; // right\n    if (phi < -r) code |= 4; // below\n    else if (phi > r) code |= 8; // above\n    return code;\n  }\n\n  return clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-pi$3, radius - pi$3]);\n};\n\nvar transform = function(methods) {\n  return {\n    stream: transformer(methods)\n  };\n};\n\nfunction transformer(methods) {\n  return function(stream) {\n    var s = new TransformStream;\n    for (var key in methods) s[key] = methods[key];\n    s.stream = stream;\n    return s;\n  };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n  constructor: TransformStream,\n  point: function(x, y) { this.stream.point(x, y); },\n  sphere: function() { this.stream.sphere(); },\n  lineStart: function() { this.stream.lineStart(); },\n  lineEnd: function() { this.stream.lineEnd(); },\n  polygonStart: function() { this.stream.polygonStart(); },\n  polygonEnd: function() { this.stream.polygonEnd(); }\n};\n\nfunction fitExtent(projection, extent, object) {\n  var w = extent[1][0] - extent[0][0],\n      h = extent[1][1] - extent[0][1],\n      clip = projection.clipExtent && projection.clipExtent();\n\n  projection\n      .scale(150)\n      .translate([0, 0]);\n\n  if (clip != null) projection.clipExtent(null);\n\n  geoStream(object, projection.stream(boundsStream$1));\n\n  var b = boundsStream$1.result(),\n      k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])),\n      x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2,\n      y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n\n  if (clip != null) projection.clipExtent(clip);\n\n  return projection\n      .scale(k * 150)\n      .translate([x, y]);\n}\n\nfunction fitSize(projection, size, object) {\n  return fitExtent(projection, [[0, 0], size], object);\n}\n\nvar maxDepth = 16;\nvar cosMinDistance = cos$1(30 * radians); // cos(minimum angular distance)\n\nvar resample = function(project, delta2) {\n  return +delta2 ? resample$1(project, delta2) : resampleNone(project);\n};\n\nfunction resampleNone(project) {\n  return transformer({\n    point: function(x, y) {\n      x = project(x, y);\n      this.stream.point(x[0], x[1]);\n    }\n  });\n}\n\nfunction resample$1(project, delta2) {\n\n  function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {\n    var dx = x1 - x0,\n        dy = y1 - y0,\n        d2 = dx * dx + dy * dy;\n    if (d2 > 4 * delta2 && depth--) {\n      var a = a0 + a1,\n          b = b0 + b1,\n          c = c0 + c1,\n          m = sqrt(a * a + b * b + c * c),\n          phi2 = asin(c /= m),\n          lambda2 = abs(abs(c) - 1) < epsilon$2 || abs(lambda0 - lambda1) < epsilon$2 ? (lambda0 + lambda1) / 2 : atan2(b, a),\n          p = project(lambda2, phi2),\n          x2 = p[0],\n          y2 = p[1],\n          dx2 = x2 - x0,\n          dy2 = y2 - y0,\n          dz = dy * dx2 - dx * dy2;\n      if (dz * dz / d2 > delta2 // perpendicular projected distance\n          || abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end\n          || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance\n        resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream);\n        stream.point(x2, y2);\n        resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream);\n      }\n    }\n  }\n  return function(stream) {\n    var lambda00, x00, y00, a00, b00, c00, // first point\n        lambda0, x0, y0, a0, b0, c0; // previous point\n\n    var resampleStream = {\n      point: point,\n      lineStart: lineStart,\n      lineEnd: lineEnd,\n      polygonStart: function() { stream.polygonStart(); resampleStream.lineStart = ringStart; },\n      polygonEnd: function() { stream.polygonEnd(); resampleStream.lineStart = lineStart; }\n    };\n\n    function point(x, y) {\n      x = project(x, y);\n      stream.point(x[0], x[1]);\n    }\n\n    function lineStart() {\n      x0 = NaN;\n      resampleStream.point = linePoint;\n      stream.lineStart();\n    }\n\n    function linePoint(lambda, phi) {\n      var c = cartesian([lambda, phi]), p = project(lambda, phi);\n      resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);\n      stream.point(x0, y0);\n    }\n\n    function lineEnd() {\n      resampleStream.point = point;\n      stream.lineEnd();\n    }\n\n    function ringStart() {\n      lineStart();\n      resampleStream.point = ringPoint;\n      resampleStream.lineEnd = ringEnd;\n    }\n\n    function ringPoint(lambda, phi) {\n      linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;\n      resampleStream.point = linePoint;\n    }\n\n    function ringEnd() {\n      resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream);\n      resampleStream.lineEnd = lineEnd;\n      lineEnd();\n    }\n\n    return resampleStream;\n  };\n}\n\nvar transformRadians = transformer({\n  point: function(x, y) {\n    this.stream.point(x * radians, y * radians);\n  }\n});\n\nfunction projection(project) {\n  return projectionMutator(function() { return project; })();\n}\n\nfunction projectionMutator(projectAt) {\n  var project,\n      k = 150, // scale\n      x = 480, y = 250, // translate\n      dx, dy, lambda = 0, phi = 0, // center\n      deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, projectRotate, // rotate\n      theta = null, preclip = clipAntimeridian, // clip angle\n      x0 = null, y0, x1, y1, postclip = identity$4, // clip extent\n      delta2 = 0.5, projectResample = resample(projectTransform, delta2), // precision\n      cache,\n      cacheStream;\n\n  function projection(point) {\n    point = projectRotate(point[0] * radians, point[1] * radians);\n    return [point[0] * k + dx, dy - point[1] * k];\n  }\n\n  function invert(point) {\n    point = projectRotate.invert((point[0] - dx) / k, (dy - point[1]) / k);\n    return point && [point[0] * degrees$1, point[1] * degrees$1];\n  }\n\n  function projectTransform(x, y) {\n    return x = project(x, y), [x[0] * k + dx, dy - x[1] * k];\n  }\n\n  projection.stream = function(stream) {\n    return cache && cacheStream === stream ? cache : cache = transformRadians(preclip(rotate, projectResample(postclip(cacheStream = stream))));\n  };\n\n  projection.clipAngle = function(_) {\n    return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians, 6 * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees$1;\n  };\n\n  projection.clipExtent = function(_) {\n    return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity$4) : clipExtent(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n  };\n\n  projection.scale = function(_) {\n    return arguments.length ? (k = +_, recenter()) : k;\n  };\n\n  projection.translate = function(_) {\n    return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y];\n  };\n\n  projection.center = function(_) {\n    return arguments.length ? (lambda = _[0] % 360 * radians, phi = _[1] % 360 * radians, recenter()) : [lambda * degrees$1, phi * degrees$1];\n  };\n\n  projection.rotate = function(_) {\n    return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees$1, deltaPhi * degrees$1, deltaGamma * degrees$1];\n  };\n\n  projection.precision = function(_) {\n    return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);\n  };\n\n  projection.fitExtent = function(extent, object) {\n    return fitExtent(projection, extent, object);\n  };\n\n  projection.fitSize = function(size, object) {\n    return fitSize(projection, size, object);\n  };\n\n  function recenter() {\n    projectRotate = compose(rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma), project);\n    var center = project(lambda, phi);\n    dx = x - center[0] * k;\n    dy = y + center[1] * k;\n    return reset();\n  }\n\n  function reset() {\n    cache = cacheStream = null;\n    return projection;\n  }\n\n  return function() {\n    project = projectAt.apply(this, arguments);\n    projection.invert = project.invert && invert;\n    return recenter();\n  };\n}\n\nfunction conicProjection(projectAt) {\n  var phi0 = 0,\n      phi1 = pi$3 / 3,\n      m = projectionMutator(projectAt),\n      p = m(phi0, phi1);\n\n  p.parallels = function(_) {\n    return arguments.length ? m(phi0 = _[0] * radians, phi1 = _[1] * radians) : [phi0 * degrees$1, phi1 * degrees$1];\n  };\n\n  return p;\n}\n\nfunction cylindricalEqualAreaRaw(phi0) {\n  var cosPhi0 = cos$1(phi0);\n\n  function forward(lambda, phi) {\n    return [lambda * cosPhi0, sin$1(phi) / cosPhi0];\n  }\n\n  forward.invert = function(x, y) {\n    return [x / cosPhi0, asin(y * cosPhi0)];\n  };\n\n  return forward;\n}\n\nfunction conicEqualAreaRaw(y0, y1) {\n  var sy0 = sin$1(y0), n = (sy0 + sin$1(y1)) / 2;\n\n  // Are the parallels symmetrical around the Equator?\n  if (abs(n) < epsilon$2) return cylindricalEqualAreaRaw(y0);\n\n  var c = 1 + sy0 * (2 * n - sy0), r0 = sqrt(c) / n;\n\n  function project(x, y) {\n    var r = sqrt(c - 2 * n * sin$1(y)) / n;\n    return [r * sin$1(x *= n), r0 - r * cos$1(x)];\n  }\n\n  project.invert = function(x, y) {\n    var r0y = r0 - y;\n    return [atan2(x, abs(r0y)) / n * sign(r0y), asin((c - (x * x + r0y * r0y) * n * n) / (2 * n))];\n  };\n\n  return project;\n}\n\nvar conicEqualArea = function() {\n  return conicProjection(conicEqualAreaRaw)\n      .scale(155.424)\n      .center([0, 33.6442]);\n};\n\nvar albers = function() {\n  return conicEqualArea()\n      .parallels([29.5, 45.5])\n      .scale(1070)\n      .translate([480, 250])\n      .rotate([96, 0])\n      .center([-0.6, 38.7]);\n};\n\n// The projections must have mutually exclusive clip regions on the sphere,\n// as this will avoid emitting interleaving lines and polygons.\nfunction multiplex(streams) {\n  var n = streams.length;\n  return {\n    point: function(x, y) { var i = -1; while (++i < n) streams[i].point(x, y); },\n    sphere: function() { var i = -1; while (++i < n) streams[i].sphere(); },\n    lineStart: function() { var i = -1; while (++i < n) streams[i].lineStart(); },\n    lineEnd: function() { var i = -1; while (++i < n) streams[i].lineEnd(); },\n    polygonStart: function() { var i = -1; while (++i < n) streams[i].polygonStart(); },\n    polygonEnd: function() { var i = -1; while (++i < n) streams[i].polygonEnd(); }\n  };\n}\n\n// A composite projection for the United States, configured by default for\n// 960×500. The projection also works quite well at 960×600 if you change the\n// scale to 1285 and adjust the translate accordingly. The set of standard\n// parallels for each region comes from USGS, which is published here:\n// http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\nvar albersUsa = function() {\n  var cache,\n      cacheStream,\n      lower48 = albers(), lower48Point,\n      alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n      hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n      point, pointStream = {point: function(x, y) { point = [x, y]; }};\n\n  function albersUsa(coordinates) {\n    var x = coordinates[0], y = coordinates[1];\n    return point = null,\n        (lower48Point.point(x, y), point)\n        || (alaskaPoint.point(x, y), point)\n        || (hawaiiPoint.point(x, y), point);\n  }\n\n  albersUsa.invert = function(coordinates) {\n    var k = lower48.scale(),\n        t = lower48.translate(),\n        x = (coordinates[0] - t[0]) / k,\n        y = (coordinates[1] - t[1]) / k;\n    return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n        : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n        : lower48).invert(coordinates);\n  };\n\n  albersUsa.stream = function(stream) {\n    return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n  };\n\n  albersUsa.precision = function(_) {\n    if (!arguments.length) return lower48.precision();\n    lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n    return reset();\n  };\n\n  albersUsa.scale = function(_) {\n    if (!arguments.length) return lower48.scale();\n    lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n    return albersUsa.translate(lower48.translate());\n  };\n\n  albersUsa.translate = function(_) {\n    if (!arguments.length) return lower48.translate();\n    var k = lower48.scale(), x = +_[0], y = +_[1];\n\n    lower48Point = lower48\n        .translate(_)\n        .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n        .stream(pointStream);\n\n    alaskaPoint = alaska\n        .translate([x - 0.307 * k, y + 0.201 * k])\n        .clipExtent([[x - 0.425 * k + epsilon$2, y + 0.120 * k + epsilon$2], [x - 0.214 * k - epsilon$2, y + 0.234 * k - epsilon$2]])\n        .stream(pointStream);\n\n    hawaiiPoint = hawaii\n        .translate([x - 0.205 * k, y + 0.212 * k])\n        .clipExtent([[x - 0.214 * k + epsilon$2, y + 0.166 * k + epsilon$2], [x - 0.115 * k - epsilon$2, y + 0.234 * k - epsilon$2]])\n        .stream(pointStream);\n\n    return reset();\n  };\n\n  albersUsa.fitExtent = function(extent, object) {\n    return fitExtent(albersUsa, extent, object);\n  };\n\n  albersUsa.fitSize = function(size, object) {\n    return fitSize(albersUsa, size, object);\n  };\n\n  function reset() {\n    cache = cacheStream = null;\n    return albersUsa;\n  }\n\n  return albersUsa.scale(1070);\n};\n\nfunction azimuthalRaw(scale) {\n  return function(x, y) {\n    var cx = cos$1(x),\n        cy = cos$1(y),\n        k = scale(cx * cy);\n    return [\n      k * cy * sin$1(x),\n      k * sin$1(y)\n    ];\n  }\n}\n\nfunction azimuthalInvert(angle) {\n  return function(x, y) {\n    var z = sqrt(x * x + y * y),\n        c = angle(z),\n        sc = sin$1(c),\n        cc = cos$1(c);\n    return [\n      atan2(x * sc, z * cc),\n      asin(z && y * sc / z)\n    ];\n  }\n}\n\nvar azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {\n  return sqrt(2 / (1 + cxcy));\n});\n\nazimuthalEqualAreaRaw.invert = azimuthalInvert(function(z) {\n  return 2 * asin(z / 2);\n});\n\nvar azimuthalEqualArea = function() {\n  return projection(azimuthalEqualAreaRaw)\n      .scale(124.75)\n      .clipAngle(180 - 1e-3);\n};\n\nvar azimuthalEquidistantRaw = azimuthalRaw(function(c) {\n  return (c = acos(c)) && c / sin$1(c);\n});\n\nazimuthalEquidistantRaw.invert = azimuthalInvert(function(z) {\n  return z;\n});\n\nvar azimuthalEquidistant = function() {\n  return projection(azimuthalEquidistantRaw)\n      .scale(79.4188)\n      .clipAngle(180 - 1e-3);\n};\n\nfunction mercatorRaw(lambda, phi) {\n  return [lambda, log(tan((halfPi$2 + phi) / 2))];\n}\n\nmercatorRaw.invert = function(x, y) {\n  return [x, 2 * atan(exp(y)) - halfPi$2];\n};\n\nvar mercator = function() {\n  return mercatorProjection(mercatorRaw)\n      .scale(961 / tau$3);\n};\n\nfunction mercatorProjection(project) {\n  var m = projection(project),\n      center = m.center,\n      scale = m.scale,\n      translate = m.translate,\n      clipExtent = m.clipExtent,\n      x0 = null, y0, x1, y1; // clip extent\n\n  m.scale = function(_) {\n    return arguments.length ? (scale(_), reclip()) : scale();\n  };\n\n  m.translate = function(_) {\n    return arguments.length ? (translate(_), reclip()) : translate();\n  };\n\n  m.center = function(_) {\n    return arguments.length ? (center(_), reclip()) : center();\n  };\n\n  m.clipExtent = function(_) {\n    return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n  };\n\n  function reclip() {\n    var k = pi$3 * scale(),\n        t = m(rotation(m.rotate()).invert([0, 0]));\n    return clipExtent(x0 == null\n        ? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw\n        ? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]]\n        : [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]);\n  }\n\n  return reclip();\n}\n\nfunction tany(y) {\n  return tan((halfPi$2 + y) / 2);\n}\n\nfunction conicConformalRaw(y0, y1) {\n  var cy0 = cos$1(y0),\n      n = y0 === y1 ? sin$1(y0) : log(cy0 / cos$1(y1)) / log(tany(y1) / tany(y0)),\n      f = cy0 * pow(tany(y0), n) / n;\n\n  if (!n) return mercatorRaw;\n\n  function project(x, y) {\n    if (f > 0) { if (y < -halfPi$2 + epsilon$2) y = -halfPi$2 + epsilon$2; }\n    else { if (y > halfPi$2 - epsilon$2) y = halfPi$2 - epsilon$2; }\n    var r = f / pow(tany(y), n);\n    return [r * sin$1(n * x), f - r * cos$1(n * x)];\n  }\n\n  project.invert = function(x, y) {\n    var fy = f - y, r = sign(n) * sqrt(x * x + fy * fy);\n    return [atan2(x, abs(fy)) / n * sign(fy), 2 * atan(pow(f / r, 1 / n)) - halfPi$2];\n  };\n\n  return project;\n}\n\nvar conicConformal = function() {\n  return conicProjection(conicConformalRaw)\n      .scale(109.5)\n      .parallels([30, 30]);\n};\n\nfunction equirectangularRaw(lambda, phi) {\n  return [lambda, phi];\n}\n\nequirectangularRaw.invert = equirectangularRaw;\n\nvar equirectangular = function() {\n  return projection(equirectangularRaw)\n      .scale(152.63);\n};\n\nfunction conicEquidistantRaw(y0, y1) {\n  var cy0 = cos$1(y0),\n      n = y0 === y1 ? sin$1(y0) : (cy0 - cos$1(y1)) / (y1 - y0),\n      g = cy0 / n + y0;\n\n  if (abs(n) < epsilon$2) return equirectangularRaw;\n\n  function project(x, y) {\n    var gy = g - y, nx = n * x;\n    return [gy * sin$1(nx), g - gy * cos$1(nx)];\n  }\n\n  project.invert = function(x, y) {\n    var gy = g - y;\n    return [atan2(x, abs(gy)) / n * sign(gy), g - sign(n) * sqrt(x * x + gy * gy)];\n  };\n\n  return project;\n}\n\nvar conicEquidistant = function() {\n  return conicProjection(conicEquidistantRaw)\n      .scale(131.154)\n      .center([0, 13.9389]);\n};\n\nfunction gnomonicRaw(x, y) {\n  var cy = cos$1(y), k = cos$1(x) * cy;\n  return [cy * sin$1(x) / k, sin$1(y) / k];\n}\n\ngnomonicRaw.invert = azimuthalInvert(atan);\n\nvar gnomonic = function() {\n  return projection(gnomonicRaw)\n      .scale(144.049)\n      .clipAngle(60);\n};\n\nfunction scaleTranslate(kx, ky, tx, ty) {\n  return kx === 1 && ky === 1 && tx === 0 && ty === 0 ? identity$4 : transformer({\n    point: function(x, y) {\n      this.stream.point(x * kx + tx, y * ky + ty);\n    }\n  });\n}\n\nvar identity$5 = function() {\n  var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, transform = identity$4, // scale, translate and reflect\n      x0 = null, y0, x1, y1, clip = identity$4, // clip extent\n      cache,\n      cacheStream,\n      projection;\n\n  function reset() {\n    cache = cacheStream = null;\n    return projection;\n  }\n\n  return projection = {\n    stream: function(stream) {\n      return cache && cacheStream === stream ? cache : cache = transform(clip(cacheStream = stream));\n    },\n    clipExtent: function(_) {\n      return arguments.length ? (clip = _ == null ? (x0 = y0 = x1 = y1 = null, identity$4) : clipExtent(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n    },\n    scale: function(_) {\n      return arguments.length ? (transform = scaleTranslate((k = +_) * sx, k * sy, tx, ty), reset()) : k;\n    },\n    translate: function(_) {\n      return arguments.length ? (transform = scaleTranslate(k * sx, k * sy, tx = +_[0], ty = +_[1]), reset()) : [tx, ty];\n    },\n    reflectX: function(_) {\n      return arguments.length ? (transform = scaleTranslate(k * (sx = _ ? -1 : 1), k * sy, tx, ty), reset()) : sx < 0;\n    },\n    reflectY: function(_) {\n      return arguments.length ? (transform = scaleTranslate(k * sx, k * (sy = _ ? -1 : 1), tx, ty), reset()) : sy < 0;\n    },\n    fitExtent: function(extent, object) {\n      return fitExtent(projection, extent, object);\n    },\n    fitSize: function(size, object) {\n      return fitSize(projection, size, object);\n    }\n  };\n};\n\nfunction orthographicRaw(x, y) {\n  return [cos$1(y) * sin$1(x), sin$1(y)];\n}\n\northographicRaw.invert = azimuthalInvert(asin);\n\nvar orthographic = function() {\n  return projection(orthographicRaw)\n      .scale(249.5)\n      .clipAngle(90 + epsilon$2);\n};\n\nfunction stereographicRaw(x, y) {\n  var cy = cos$1(y), k = 1 + cos$1(x) * cy;\n  return [cy * sin$1(x) / k, sin$1(y) / k];\n}\n\nstereographicRaw.invert = azimuthalInvert(function(z) {\n  return 2 * atan(z);\n});\n\nvar stereographic = function() {\n  return projection(stereographicRaw)\n      .scale(250)\n      .clipAngle(142);\n};\n\nfunction transverseMercatorRaw(lambda, phi) {\n  return [log(tan((halfPi$2 + phi) / 2)), -lambda];\n}\n\ntransverseMercatorRaw.invert = function(x, y) {\n  return [-y, 2 * atan(exp(x)) - halfPi$2];\n};\n\nvar transverseMercator = function() {\n  var m = mercatorProjection(transverseMercatorRaw),\n      center = m.center,\n      rotate = m.rotate;\n\n  m.center = function(_) {\n    return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);\n  };\n\n  m.rotate = function(_) {\n    return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]);\n  };\n\n  return rotate([0, 0, 90])\n      .scale(159.155);\n};\n\nfunction defaultSeparation(a, b) {\n  return a.parent === b.parent ? 1 : 2;\n}\n\nfunction meanX(children) {\n  return children.reduce(meanXReduce, 0) / children.length;\n}\n\nfunction meanXReduce(x, c) {\n  return x + c.x;\n}\n\nfunction maxY(children) {\n  return 1 + children.reduce(maxYReduce, 0);\n}\n\nfunction maxYReduce(y, c) {\n  return Math.max(y, c.y);\n}\n\nfunction leafLeft(node) {\n  var children;\n  while (children = node.children) node = children[0];\n  return node;\n}\n\nfunction leafRight(node) {\n  var children;\n  while (children = node.children) node = children[children.length - 1];\n  return node;\n}\n\nvar cluster = function() {\n  var separation = defaultSeparation,\n      dx = 1,\n      dy = 1,\n      nodeSize = false;\n\n  function cluster(root) {\n    var previousNode,\n        x = 0;\n\n    // First walk, computing the initial x & y values.\n    root.eachAfter(function(node) {\n      var children = node.children;\n      if (children) {\n        node.x = meanX(children);\n        node.y = maxY(children);\n      } else {\n        node.x = previousNode ? x += separation(node, previousNode) : 0;\n        node.y = 0;\n        previousNode = node;\n      }\n    });\n\n    var left = leafLeft(root),\n        right = leafRight(root),\n        x0 = left.x - separation(left, right) / 2,\n        x1 = right.x + separation(right, left) / 2;\n\n    // Second walk, normalizing x & y to the desired size.\n    return root.eachAfter(nodeSize ? function(node) {\n      node.x = (node.x - root.x) * dx;\n      node.y = (root.y - node.y) * dy;\n    } : function(node) {\n      node.x = (node.x - x0) / (x1 - x0) * dx;\n      node.y = (1 - (root.y ? node.y / root.y : 1)) * dy;\n    });\n  }\n\n  cluster.separation = function(x) {\n    return arguments.length ? (separation = x, cluster) : separation;\n  };\n\n  cluster.size = function(x) {\n    return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? null : [dx, dy]);\n  };\n\n  cluster.nodeSize = function(x) {\n    return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? [dx, dy] : null);\n  };\n\n  return cluster;\n};\n\nfunction count(node) {\n  var sum = 0,\n      children = node.children,\n      i = children && children.length;\n  if (!i) sum = 1;\n  else while (--i >= 0) sum += children[i].value;\n  node.value = sum;\n}\n\nvar node_count = function() {\n  return this.eachAfter(count);\n};\n\nvar node_each = function(callback) {\n  var node = this, current, next = [node], children, i, n;\n  do {\n    current = next.reverse(), next = [];\n    while (node = current.pop()) {\n      callback(node), children = node.children;\n      if (children) for (i = 0, n = children.length; i < n; ++i) {\n        next.push(children[i]);\n      }\n    }\n  } while (next.length);\n  return this;\n};\n\nvar node_eachBefore = function(callback) {\n  var node = this, nodes = [node], children, i;\n  while (node = nodes.pop()) {\n    callback(node), children = node.children;\n    if (children) for (i = children.length - 1; i >= 0; --i) {\n      nodes.push(children[i]);\n    }\n  }\n  return this;\n};\n\nvar node_eachAfter = function(callback) {\n  var node = this, nodes = [node], next = [], children, i, n;\n  while (node = nodes.pop()) {\n    next.push(node), children = node.children;\n    if (children) for (i = 0, n = children.length; i < n; ++i) {\n      nodes.push(children[i]);\n    }\n  }\n  while (node = next.pop()) {\n    callback(node);\n  }\n  return this;\n};\n\nvar node_sum = function(value) {\n  return this.eachAfter(function(node) {\n    var sum = +value(node.data) || 0,\n        children = node.children,\n        i = children && children.length;\n    while (--i >= 0) sum += children[i].value;\n    node.value = sum;\n  });\n};\n\nvar node_sort = function(compare) {\n  return this.eachBefore(function(node) {\n    if (node.children) {\n      node.children.sort(compare);\n    }\n  });\n};\n\nvar node_path = function(end) {\n  var start = this,\n      ancestor = leastCommonAncestor(start, end),\n      nodes = [start];\n  while (start !== ancestor) {\n    start = start.parent;\n    nodes.push(start);\n  }\n  var k = nodes.length;\n  while (end !== ancestor) {\n    nodes.splice(k, 0, end);\n    end = end.parent;\n  }\n  return nodes;\n};\n\nfunction leastCommonAncestor(a, b) {\n  if (a === b) return a;\n  var aNodes = a.ancestors(),\n      bNodes = b.ancestors(),\n      c = null;\n  a = aNodes.pop();\n  b = bNodes.pop();\n  while (a === b) {\n    c = a;\n    a = aNodes.pop();\n    b = bNodes.pop();\n  }\n  return c;\n}\n\nvar node_ancestors = function() {\n  var node = this, nodes = [node];\n  while (node = node.parent) {\n    nodes.push(node);\n  }\n  return nodes;\n};\n\nvar node_descendants = function() {\n  var nodes = [];\n  this.each(function(node) {\n    nodes.push(node);\n  });\n  return nodes;\n};\n\nvar node_leaves = function() {\n  var leaves = [];\n  this.eachBefore(function(node) {\n    if (!node.children) {\n      leaves.push(node);\n    }\n  });\n  return leaves;\n};\n\nvar node_links = function() {\n  var root = this, links = [];\n  root.each(function(node) {\n    if (node !== root) { // Don’t include the root’s parent, if any.\n      links.push({source: node.parent, target: node});\n    }\n  });\n  return links;\n};\n\nfunction hierarchy(data, children) {\n  var root = new Node(data),\n      valued = +data.value && (root.value = data.value),\n      node,\n      nodes = [root],\n      child,\n      childs,\n      i,\n      n;\n\n  if (children == null) children = defaultChildren;\n\n  while (node = nodes.pop()) {\n    if (valued) node.value = +node.data.value;\n    if ((childs = children(node.data)) && (n = childs.length)) {\n      node.children = new Array(n);\n      for (i = n - 1; i >= 0; --i) {\n        nodes.push(child = node.children[i] = new Node(childs[i]));\n        child.parent = node;\n        child.depth = node.depth + 1;\n      }\n    }\n  }\n\n  return root.eachBefore(computeHeight);\n}\n\nfunction node_copy() {\n  return hierarchy(this).eachBefore(copyData);\n}\n\nfunction defaultChildren(d) {\n  return d.children;\n}\n\nfunction copyData(node) {\n  node.data = node.data.data;\n}\n\nfunction computeHeight(node) {\n  var height = 0;\n  do node.height = height;\n  while ((node = node.parent) && (node.height < ++height));\n}\n\nfunction Node(data) {\n  this.data = data;\n  this.depth =\n  this.height = 0;\n  this.parent = null;\n}\n\nNode.prototype = hierarchy.prototype = {\n  constructor: Node,\n  count: node_count,\n  each: node_each,\n  eachAfter: node_eachAfter,\n  eachBefore: node_eachBefore,\n  sum: node_sum,\n  sort: node_sort,\n  path: node_path,\n  ancestors: node_ancestors,\n  descendants: node_descendants,\n  leaves: node_leaves,\n  links: node_links,\n  copy: node_copy\n};\n\nfunction Node$2(value) {\n  this._ = value;\n  this.next = null;\n}\n\nvar shuffle$1 = function(array) {\n  var i,\n      n = (array = array.slice()).length,\n      head = null,\n      node = head;\n\n  while (n) {\n    var next = new Node$2(array[n - 1]);\n    if (node) node = node.next = next;\n    else node = head = next;\n    array[i] = array[--n];\n  }\n\n  return {\n    head: head,\n    tail: node\n  };\n};\n\nvar enclose = function(circles) {\n  return encloseN(shuffle$1(circles), []);\n};\n\nfunction encloses(a, b) {\n  var dx = b.x - a.x,\n      dy = b.y - a.y,\n      dr = a.r - b.r;\n  return dr * dr + 1e-6 > dx * dx + dy * dy;\n}\n\n// Returns the smallest circle that contains circles L and intersects circles B.\nfunction encloseN(L, B) {\n  var circle,\n      l0 = null,\n      l1 = L.head,\n      l2,\n      p1;\n\n  switch (B.length) {\n    case 1: circle = enclose1(B[0]); break;\n    case 2: circle = enclose2(B[0], B[1]); break;\n    case 3: circle = enclose3(B[0], B[1], B[2]); break;\n  }\n\n  while (l1) {\n    p1 = l1._, l2 = l1.next;\n    if (!circle || !encloses(circle, p1)) {\n\n      // Temporarily truncate L before l1.\n      if (l0) L.tail = l0, l0.next = null;\n      else L.head = L.tail = null;\n\n      B.push(p1);\n      circle = encloseN(L, B); // Note: reorders L!\n      B.pop();\n\n      // Move l1 to the front of L and reconnect the truncated list L.\n      if (L.head) l1.next = L.head, L.head = l1;\n      else l1.next = null, L.head = L.tail = l1;\n      l0 = L.tail, l0.next = l2;\n\n    } else {\n      l0 = l1;\n    }\n    l1 = l2;\n  }\n\n  L.tail = l0;\n  return circle;\n}\n\nfunction enclose1(a) {\n  return {\n    x: a.x,\n    y: a.y,\n    r: a.r\n  };\n}\n\nfunction enclose2(a, b) {\n  var x1 = a.x, y1 = a.y, r1 = a.r,\n      x2 = b.x, y2 = b.y, r2 = b.r,\n      x21 = x2 - x1, y21 = y2 - y1, r21 = r2 - r1,\n      l = Math.sqrt(x21 * x21 + y21 * y21);\n  return {\n    x: (x1 + x2 + x21 / l * r21) / 2,\n    y: (y1 + y2 + y21 / l * r21) / 2,\n    r: (l + r1 + r2) / 2\n  };\n}\n\nfunction enclose3(a, b, c) {\n  var x1 = a.x, y1 = a.y, r1 = a.r,\n      x2 = b.x, y2 = b.y, r2 = b.r,\n      x3 = c.x, y3 = c.y, r3 = c.r,\n      a2 = 2 * (x1 - x2),\n      b2 = 2 * (y1 - y2),\n      c2 = 2 * (r2 - r1),\n      d2 = x1 * x1 + y1 * y1 - r1 * r1 - x2 * x2 - y2 * y2 + r2 * r2,\n      a3 = 2 * (x1 - x3),\n      b3 = 2 * (y1 - y3),\n      c3 = 2 * (r3 - r1),\n      d3 = x1 * x1 + y1 * y1 - r1 * r1 - x3 * x3 - y3 * y3 + r3 * r3,\n      ab = a3 * b2 - a2 * b3,\n      xa = (b2 * d3 - b3 * d2) / ab - x1,\n      xb = (b3 * c2 - b2 * c3) / ab,\n      ya = (a3 * d2 - a2 * d3) / ab - y1,\n      yb = (a2 * c3 - a3 * c2) / ab,\n      A = xb * xb + yb * yb - 1,\n      B = 2 * (xa * xb + ya * yb + r1),\n      C = xa * xa + ya * ya - r1 * r1,\n      r = (-B - Math.sqrt(B * B - 4 * A * C)) / (2 * A);\n  return {\n    x: xa + xb * r + x1,\n    y: ya + yb * r + y1,\n    r: r\n  };\n}\n\nfunction place(a, b, c) {\n  var ax = a.x,\n      ay = a.y,\n      da = b.r + c.r,\n      db = a.r + c.r,\n      dx = b.x - ax,\n      dy = b.y - ay,\n      dc = dx * dx + dy * dy;\n  if (dc) {\n    var x = 0.5 + ((db *= db) - (da *= da)) / (2 * dc),\n        y = Math.sqrt(Math.max(0, 2 * da * (db + dc) - (db -= dc) * db - da * da)) / (2 * dc);\n    c.x = ax + x * dx + y * dy;\n    c.y = ay + x * dy - y * dx;\n  } else {\n    c.x = ax + db;\n    c.y = ay;\n  }\n}\n\nfunction intersects(a, b) {\n  var dx = b.x - a.x,\n      dy = b.y - a.y,\n      dr = a.r + b.r;\n  return dr * dr - 1e-6 > dx * dx + dy * dy;\n}\n\nfunction distance2(node, x, y) {\n  var a = node._,\n      b = node.next._,\n      ab = a.r + b.r,\n      dx = (a.x * b.r + b.x * a.r) / ab - x,\n      dy = (a.y * b.r + b.y * a.r) / ab - y;\n  return dx * dx + dy * dy;\n}\n\nfunction Node$1(circle) {\n  this._ = circle;\n  this.next = null;\n  this.previous = null;\n}\n\nfunction packEnclose(circles) {\n  if (!(n = circles.length)) return 0;\n\n  var a, b, c, n;\n\n  // Place the first circle.\n  a = circles[0], a.x = 0, a.y = 0;\n  if (!(n > 1)) return a.r;\n\n  // Place the second circle.\n  b = circles[1], a.x = -b.r, b.x = a.r, b.y = 0;\n  if (!(n > 2)) return a.r + b.r;\n\n  // Place the third circle.\n  place(b, a, c = circles[2]);\n\n  // Initialize the weighted centroid.\n  var aa = a.r * a.r,\n      ba = b.r * b.r,\n      ca = c.r * c.r,\n      oa = aa + ba + ca,\n      ox = aa * a.x + ba * b.x + ca * c.x,\n      oy = aa * a.y + ba * b.y + ca * c.y,\n      cx, cy, i, j, k, sj, sk;\n\n  // Initialize the front-chain using the first three circles a, b and c.\n  a = new Node$1(a), b = new Node$1(b), c = new Node$1(c);\n  a.next = c.previous = b;\n  b.next = a.previous = c;\n  c.next = b.previous = a;\n\n  // Attempt to place each remaining circle…\n  pack: for (i = 3; i < n; ++i) {\n    place(a._, b._, c = circles[i]), c = new Node$1(c);\n\n    // Find the closest intersecting circle on the front-chain, if any.\n    // “Closeness” is determined by linear distance along the front-chain.\n    // “Ahead” or “behind” is likewise determined by linear distance.\n    j = b.next, k = a.previous, sj = b._.r, sk = a._.r;\n    do {\n      if (sj <= sk) {\n        if (intersects(j._, c._)) {\n          b = j, a.next = b, b.previous = a, --i;\n          continue pack;\n        }\n        sj += j._.r, j = j.next;\n      } else {\n        if (intersects(k._, c._)) {\n          a = k, a.next = b, b.previous = a, --i;\n          continue pack;\n        }\n        sk += k._.r, k = k.previous;\n      }\n    } while (j !== k.next);\n\n    // Success! Insert the new circle c between a and b.\n    c.previous = a, c.next = b, a.next = b.previous = b = c;\n\n    // Update the weighted centroid.\n    oa += ca = c._.r * c._.r;\n    ox += ca * c._.x;\n    oy += ca * c._.y;\n\n    // Compute the new closest circle pair to the centroid.\n    aa = distance2(a, cx = ox / oa, cy = oy / oa);\n    while ((c = c.next) !== b) {\n      if ((ca = distance2(c, cx, cy)) < aa) {\n        a = c, aa = ca;\n      }\n    }\n    b = a.next;\n  }\n\n  // Compute the enclosing circle of the front chain.\n  a = [b._], c = b; while ((c = c.next) !== b) a.push(c._); c = enclose(a);\n\n  // Translate the circles to put the enclosing circle around the origin.\n  for (i = 0; i < n; ++i) a = circles[i], a.x -= c.x, a.y -= c.y;\n\n  return c.r;\n}\n\nvar siblings = function(circles) {\n  packEnclose(circles);\n  return circles;\n};\n\nfunction optional(f) {\n  return f == null ? null : required(f);\n}\n\nfunction required(f) {\n  if (typeof f !== \"function\") throw new Error;\n  return f;\n}\n\nfunction constantZero() {\n  return 0;\n}\n\nvar constant$8 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nfunction defaultRadius$1(d) {\n  return Math.sqrt(d.value);\n}\n\nvar index$2 = function() {\n  var radius = null,\n      dx = 1,\n      dy = 1,\n      padding = constantZero;\n\n  function pack(root) {\n    root.x = dx / 2, root.y = dy / 2;\n    if (radius) {\n      root.eachBefore(radiusLeaf(radius))\n          .eachAfter(packChildren(padding, 0.5))\n          .eachBefore(translateChild(1));\n    } else {\n      root.eachBefore(radiusLeaf(defaultRadius$1))\n          .eachAfter(packChildren(constantZero, 1))\n          .eachAfter(packChildren(padding, root.r / Math.min(dx, dy)))\n          .eachBefore(translateChild(Math.min(dx, dy) / (2 * root.r)));\n    }\n    return root;\n  }\n\n  pack.radius = function(x) {\n    return arguments.length ? (radius = optional(x), pack) : radius;\n  };\n\n  pack.size = function(x) {\n    return arguments.length ? (dx = +x[0], dy = +x[1], pack) : [dx, dy];\n  };\n\n  pack.padding = function(x) {\n    return arguments.length ? (padding = typeof x === \"function\" ? x : constant$8(+x), pack) : padding;\n  };\n\n  return pack;\n};\n\nfunction radiusLeaf(radius) {\n  return function(node) {\n    if (!node.children) {\n      node.r = Math.max(0, +radius(node) || 0);\n    }\n  };\n}\n\nfunction packChildren(padding, k) {\n  return function(node) {\n    if (children = node.children) {\n      var children,\n          i,\n          n = children.length,\n          r = padding(node) * k || 0,\n          e;\n\n      if (r) for (i = 0; i < n; ++i) children[i].r += r;\n      e = packEnclose(children);\n      if (r) for (i = 0; i < n; ++i) children[i].r -= r;\n      node.r = e + r;\n    }\n  };\n}\n\nfunction translateChild(k) {\n  return function(node) {\n    var parent = node.parent;\n    node.r *= k;\n    if (parent) {\n      node.x = parent.x + k * node.x;\n      node.y = parent.y + k * node.y;\n    }\n  };\n}\n\nvar roundNode = function(node) {\n  node.x0 = Math.round(node.x0);\n  node.y0 = Math.round(node.y0);\n  node.x1 = Math.round(node.x1);\n  node.y1 = Math.round(node.y1);\n};\n\nvar treemapDice = function(parent, x0, y0, x1, y1) {\n  var nodes = parent.children,\n      node,\n      i = -1,\n      n = nodes.length,\n      k = parent.value && (x1 - x0) / parent.value;\n\n  while (++i < n) {\n    node = nodes[i], node.y0 = y0, node.y1 = y1;\n    node.x0 = x0, node.x1 = x0 += node.value * k;\n  }\n};\n\nvar partition = function() {\n  var dx = 1,\n      dy = 1,\n      padding = 0,\n      round = false;\n\n  function partition(root) {\n    var n = root.height + 1;\n    root.x0 =\n    root.y0 = padding;\n    root.x1 = dx;\n    root.y1 = dy / n;\n    root.eachBefore(positionNode(dy, n));\n    if (round) root.eachBefore(roundNode);\n    return root;\n  }\n\n  function positionNode(dy, n) {\n    return function(node) {\n      if (node.children) {\n        treemapDice(node, node.x0, dy * (node.depth + 1) / n, node.x1, dy * (node.depth + 2) / n);\n      }\n      var x0 = node.x0,\n          y0 = node.y0,\n          x1 = node.x1 - padding,\n          y1 = node.y1 - padding;\n      if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n      if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n      node.x0 = x0;\n      node.y0 = y0;\n      node.x1 = x1;\n      node.y1 = y1;\n    };\n  }\n\n  partition.round = function(x) {\n    return arguments.length ? (round = !!x, partition) : round;\n  };\n\n  partition.size = function(x) {\n    return arguments.length ? (dx = +x[0], dy = +x[1], partition) : [dx, dy];\n  };\n\n  partition.padding = function(x) {\n    return arguments.length ? (padding = +x, partition) : padding;\n  };\n\n  return partition;\n};\n\nvar keyPrefix$1 = \"$\";\nvar preroot = {depth: -1};\nvar ambiguous = {};\n\nfunction defaultId(d) {\n  return d.id;\n}\n\nfunction defaultParentId(d) {\n  return d.parentId;\n}\n\nvar stratify = function() {\n  var id = defaultId,\n      parentId = defaultParentId;\n\n  function stratify(data) {\n    var d,\n        i,\n        n = data.length,\n        root,\n        parent,\n        node,\n        nodes = new Array(n),\n        nodeId,\n        nodeKey,\n        nodeByKey = {};\n\n    for (i = 0; i < n; ++i) {\n      d = data[i], node = nodes[i] = new Node(d);\n      if ((nodeId = id(d, i, data)) != null && (nodeId += \"\")) {\n        nodeKey = keyPrefix$1 + (node.id = nodeId);\n        nodeByKey[nodeKey] = nodeKey in nodeByKey ? ambiguous : node;\n      }\n    }\n\n    for (i = 0; i < n; ++i) {\n      node = nodes[i], nodeId = parentId(data[i], i, data);\n      if (nodeId == null || !(nodeId += \"\")) {\n        if (root) throw new Error(\"multiple roots\");\n        root = node;\n      } else {\n        parent = nodeByKey[keyPrefix$1 + nodeId];\n        if (!parent) throw new Error(\"missing: \" + nodeId);\n        if (parent === ambiguous) throw new Error(\"ambiguous: \" + nodeId);\n        if (parent.children) parent.children.push(node);\n        else parent.children = [node];\n        node.parent = parent;\n      }\n    }\n\n    if (!root) throw new Error(\"no root\");\n    root.parent = preroot;\n    root.eachBefore(function(node) { node.depth = node.parent.depth + 1; --n; }).eachBefore(computeHeight);\n    root.parent = null;\n    if (n > 0) throw new Error(\"cycle\");\n\n    return root;\n  }\n\n  stratify.id = function(x) {\n    return arguments.length ? (id = required(x), stratify) : id;\n  };\n\n  stratify.parentId = function(x) {\n    return arguments.length ? (parentId = required(x), stratify) : parentId;\n  };\n\n  return stratify;\n};\n\nfunction defaultSeparation$1(a, b) {\n  return a.parent === b.parent ? 1 : 2;\n}\n\n// function radialSeparation(a, b) {\n//   return (a.parent === b.parent ? 1 : 2) / a.depth;\n// }\n\n// This function is used to traverse the left contour of a subtree (or\n// subforest). It returns the successor of v on this contour. This successor is\n// either given by the leftmost child of v or by the thread of v. The function\n// returns null if and only if v is on the highest level of its subtree.\nfunction nextLeft(v) {\n  var children = v.children;\n  return children ? children[0] : v.t;\n}\n\n// This function works analogously to nextLeft.\nfunction nextRight(v) {\n  var children = v.children;\n  return children ? children[children.length - 1] : v.t;\n}\n\n// Shifts the current subtree rooted at w+. This is done by increasing\n// prelim(w+) and mod(w+) by shift.\nfunction moveSubtree(wm, wp, shift) {\n  var change = shift / (wp.i - wm.i);\n  wp.c -= change;\n  wp.s += shift;\n  wm.c += change;\n  wp.z += shift;\n  wp.m += shift;\n}\n\n// All other shifts, applied to the smaller subtrees between w- and w+, are\n// performed by this function. To prepare the shifts, we have to adjust\n// change(w+), shift(w+), and change(w-).\nfunction executeShifts(v) {\n  var shift = 0,\n      change = 0,\n      children = v.children,\n      i = children.length,\n      w;\n  while (--i >= 0) {\n    w = children[i];\n    w.z += shift;\n    w.m += shift;\n    shift += w.s + (change += w.c);\n  }\n}\n\n// If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n// returns the specified (default) ancestor.\nfunction nextAncestor(vim, v, ancestor) {\n  return vim.a.parent === v.parent ? vim.a : ancestor;\n}\n\nfunction TreeNode(node, i) {\n  this._ = node;\n  this.parent = null;\n  this.children = null;\n  this.A = null; // default ancestor\n  this.a = this; // ancestor\n  this.z = 0; // prelim\n  this.m = 0; // mod\n  this.c = 0; // change\n  this.s = 0; // shift\n  this.t = null; // thread\n  this.i = i; // number\n}\n\nTreeNode.prototype = Object.create(Node.prototype);\n\nfunction treeRoot(root) {\n  var tree = new TreeNode(root, 0),\n      node,\n      nodes = [tree],\n      child,\n      children,\n      i,\n      n;\n\n  while (node = nodes.pop()) {\n    if (children = node._.children) {\n      node.children = new Array(n = children.length);\n      for (i = n - 1; i >= 0; --i) {\n        nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n        child.parent = node;\n      }\n    }\n  }\n\n  (tree.parent = new TreeNode(null, 0)).children = [tree];\n  return tree;\n}\n\n// Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\nvar tree = function() {\n  var separation = defaultSeparation$1,\n      dx = 1,\n      dy = 1,\n      nodeSize = null;\n\n  function tree(root) {\n    var t = treeRoot(root);\n\n    // Compute the layout using Buchheim et al.’s algorithm.\n    t.eachAfter(firstWalk), t.parent.m = -t.z;\n    t.eachBefore(secondWalk);\n\n    // If a fixed node size is specified, scale x and y.\n    if (nodeSize) root.eachBefore(sizeNode);\n\n    // If a fixed tree size is specified, scale x and y based on the extent.\n    // Compute the left-most, right-most, and depth-most nodes for extents.\n    else {\n      var left = root,\n          right = root,\n          bottom = root;\n      root.eachBefore(function(node) {\n        if (node.x < left.x) left = node;\n        if (node.x > right.x) right = node;\n        if (node.depth > bottom.depth) bottom = node;\n      });\n      var s = left === right ? 1 : separation(left, right) / 2,\n          tx = s - left.x,\n          kx = dx / (right.x + s + tx),\n          ky = dy / (bottom.depth || 1);\n      root.eachBefore(function(node) {\n        node.x = (node.x + tx) * kx;\n        node.y = node.depth * ky;\n      });\n    }\n\n    return root;\n  }\n\n  // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n  // applied recursively to the children of v, as well as the function\n  // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n  // node v is placed to the midpoint of its outermost children.\n  function firstWalk(v) {\n    var children = v.children,\n        siblings = v.parent.children,\n        w = v.i ? siblings[v.i - 1] : null;\n    if (children) {\n      executeShifts(v);\n      var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n      if (w) {\n        v.z = w.z + separation(v._, w._);\n        v.m = v.z - midpoint;\n      } else {\n        v.z = midpoint;\n      }\n    } else if (w) {\n      v.z = w.z + separation(v._, w._);\n    }\n    v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n  }\n\n  // Computes all real x-coordinates by summing up the modifiers recursively.\n  function secondWalk(v) {\n    v._.x = v.z + v.parent.m;\n    v.m += v.parent.m;\n  }\n\n  // The core of the algorithm. Here, a new subtree is combined with the\n  // previous subtrees. Threads are used to traverse the inside and outside\n  // contours of the left and right subtree up to the highest common level. The\n  // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n  // superscript o means outside and i means inside, the subscript - means left\n  // subtree and + means right subtree. For summing up the modifiers along the\n  // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n  // nodes of the inside contours conflict, we compute the left one of the\n  // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n  // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n  // Finally, we add a new thread (if necessary).\n  function apportion(v, w, ancestor) {\n    if (w) {\n      var vip = v,\n          vop = v,\n          vim = w,\n          vom = vip.parent.children[0],\n          sip = vip.m,\n          sop = vop.m,\n          sim = vim.m,\n          som = vom.m,\n          shift;\n      while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n        vom = nextLeft(vom);\n        vop = nextRight(vop);\n        vop.a = v;\n        shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n        if (shift > 0) {\n          moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n          sip += shift;\n          sop += shift;\n        }\n        sim += vim.m;\n        sip += vip.m;\n        som += vom.m;\n        sop += vop.m;\n      }\n      if (vim && !nextRight(vop)) {\n        vop.t = vim;\n        vop.m += sim - sop;\n      }\n      if (vip && !nextLeft(vom)) {\n        vom.t = vip;\n        vom.m += sip - som;\n        ancestor = v;\n      }\n    }\n    return ancestor;\n  }\n\n  function sizeNode(node) {\n    node.x *= dx;\n    node.y = node.depth * dy;\n  }\n\n  tree.separation = function(x) {\n    return arguments.length ? (separation = x, tree) : separation;\n  };\n\n  tree.size = function(x) {\n    return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n  };\n\n  tree.nodeSize = function(x) {\n    return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n  };\n\n  return tree;\n};\n\nvar treemapSlice = function(parent, x0, y0, x1, y1) {\n  var nodes = parent.children,\n      node,\n      i = -1,\n      n = nodes.length,\n      k = parent.value && (y1 - y0) / parent.value;\n\n  while (++i < n) {\n    node = nodes[i], node.x0 = x0, node.x1 = x1;\n    node.y0 = y0, node.y1 = y0 += node.value * k;\n  }\n};\n\nvar phi = (1 + Math.sqrt(5)) / 2;\n\nfunction squarifyRatio(ratio, parent, x0, y0, x1, y1) {\n  var rows = [],\n      nodes = parent.children,\n      row,\n      nodeValue,\n      i0 = 0,\n      i1 = 0,\n      n = nodes.length,\n      dx, dy,\n      value = parent.value,\n      sumValue,\n      minValue,\n      maxValue,\n      newRatio,\n      minRatio,\n      alpha,\n      beta;\n\n  while (i0 < n) {\n    dx = x1 - x0, dy = y1 - y0;\n\n    // Find the next non-empty node.\n    do sumValue = nodes[i1++].value; while (!sumValue && i1 < n);\n    minValue = maxValue = sumValue;\n    alpha = Math.max(dy / dx, dx / dy) / (value * ratio);\n    beta = sumValue * sumValue * alpha;\n    minRatio = Math.max(maxValue / beta, beta / minValue);\n\n    // Keep adding nodes while the aspect ratio maintains or improves.\n    for (; i1 < n; ++i1) {\n      sumValue += nodeValue = nodes[i1].value;\n      if (nodeValue < minValue) minValue = nodeValue;\n      if (nodeValue > maxValue) maxValue = nodeValue;\n      beta = sumValue * sumValue * alpha;\n      newRatio = Math.max(maxValue / beta, beta / minValue);\n      if (newRatio > minRatio) { sumValue -= nodeValue; break; }\n      minRatio = newRatio;\n    }\n\n    // Position and record the row orientation.\n    rows.push(row = {value: sumValue, dice: dx < dy, children: nodes.slice(i0, i1)});\n    if (row.dice) treemapDice(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1);\n    else treemapSlice(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1);\n    value -= sumValue, i0 = i1;\n  }\n\n  return rows;\n}\n\nvar squarify = ((function custom(ratio) {\n\n  function squarify(parent, x0, y0, x1, y1) {\n    squarifyRatio(ratio, parent, x0, y0, x1, y1);\n  }\n\n  squarify.ratio = function(x) {\n    return custom((x = +x) > 1 ? x : 1);\n  };\n\n  return squarify;\n}))(phi);\n\nvar index$3 = function() {\n  var tile = squarify,\n      round = false,\n      dx = 1,\n      dy = 1,\n      paddingStack = [0],\n      paddingInner = constantZero,\n      paddingTop = constantZero,\n      paddingRight = constantZero,\n      paddingBottom = constantZero,\n      paddingLeft = constantZero;\n\n  function treemap(root) {\n    root.x0 =\n    root.y0 = 0;\n    root.x1 = dx;\n    root.y1 = dy;\n    root.eachBefore(positionNode);\n    paddingStack = [0];\n    if (round) root.eachBefore(roundNode);\n    return root;\n  }\n\n  function positionNode(node) {\n    var p = paddingStack[node.depth],\n        x0 = node.x0 + p,\n        y0 = node.y0 + p,\n        x1 = node.x1 - p,\n        y1 = node.y1 - p;\n    if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n    if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n    node.x0 = x0;\n    node.y0 = y0;\n    node.x1 = x1;\n    node.y1 = y1;\n    if (node.children) {\n      p = paddingStack[node.depth + 1] = paddingInner(node) / 2;\n      x0 += paddingLeft(node) - p;\n      y0 += paddingTop(node) - p;\n      x1 -= paddingRight(node) - p;\n      y1 -= paddingBottom(node) - p;\n      if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n      if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n      tile(node, x0, y0, x1, y1);\n    }\n  }\n\n  treemap.round = function(x) {\n    return arguments.length ? (round = !!x, treemap) : round;\n  };\n\n  treemap.size = function(x) {\n    return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy];\n  };\n\n  treemap.tile = function(x) {\n    return arguments.length ? (tile = required(x), treemap) : tile;\n  };\n\n  treemap.padding = function(x) {\n    return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner();\n  };\n\n  treemap.paddingInner = function(x) {\n    return arguments.length ? (paddingInner = typeof x === \"function\" ? x : constant$8(+x), treemap) : paddingInner;\n  };\n\n  treemap.paddingOuter = function(x) {\n    return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop();\n  };\n\n  treemap.paddingTop = function(x) {\n    return arguments.length ? (paddingTop = typeof x === \"function\" ? x : constant$8(+x), treemap) : paddingTop;\n  };\n\n  treemap.paddingRight = function(x) {\n    return arguments.length ? (paddingRight = typeof x === \"function\" ? x : constant$8(+x), treemap) : paddingRight;\n  };\n\n  treemap.paddingBottom = function(x) {\n    return arguments.length ? (paddingBottom = typeof x === \"function\" ? x : constant$8(+x), treemap) : paddingBottom;\n  };\n\n  treemap.paddingLeft = function(x) {\n    return arguments.length ? (paddingLeft = typeof x === \"function\" ? x : constant$8(+x), treemap) : paddingLeft;\n  };\n\n  return treemap;\n};\n\nvar binary = function(parent, x0, y0, x1, y1) {\n  var nodes = parent.children,\n      i, n = nodes.length,\n      sum, sums = new Array(n + 1);\n\n  for (sums[0] = sum = i = 0; i < n; ++i) {\n    sums[i + 1] = sum += nodes[i].value;\n  }\n\n  partition(0, n, parent.value, x0, y0, x1, y1);\n\n  function partition(i, j, value, x0, y0, x1, y1) {\n    if (i >= j - 1) {\n      var node = nodes[i];\n      node.x0 = x0, node.y0 = y0;\n      node.x1 = x1, node.y1 = y1;\n      return;\n    }\n\n    var valueOffset = sums[i],\n        valueTarget = (value / 2) + valueOffset,\n        k = i + 1,\n        hi = j - 1;\n\n    while (k < hi) {\n      var mid = k + hi >>> 1;\n      if (sums[mid] < valueTarget) k = mid + 1;\n      else hi = mid;\n    }\n\n    if ((valueTarget - sums[k - 1]) < (sums[k] - valueTarget) && i + 1 < k) --k;\n\n    var valueLeft = sums[k] - valueOffset,\n        valueRight = value - valueLeft;\n\n    if ((x1 - x0) > (y1 - y0)) {\n      var xk = (x0 * valueRight + x1 * valueLeft) / value;\n      partition(i, k, valueLeft, x0, y0, xk, y1);\n      partition(k, j, valueRight, xk, y0, x1, y1);\n    } else {\n      var yk = (y0 * valueRight + y1 * valueLeft) / value;\n      partition(i, k, valueLeft, x0, y0, x1, yk);\n      partition(k, j, valueRight, x0, yk, x1, y1);\n    }\n  }\n};\n\nvar sliceDice = function(parent, x0, y0, x1, y1) {\n  (parent.depth & 1 ? treemapSlice : treemapDice)(parent, x0, y0, x1, y1);\n};\n\nvar resquarify = ((function custom(ratio) {\n\n  function resquarify(parent, x0, y0, x1, y1) {\n    if ((rows = parent._squarify) && (rows.ratio === ratio)) {\n      var rows,\n          row,\n          nodes,\n          i,\n          j = -1,\n          n,\n          m = rows.length,\n          value = parent.value;\n\n      while (++j < m) {\n        row = rows[j], nodes = row.children;\n        for (i = row.value = 0, n = nodes.length; i < n; ++i) row.value += nodes[i].value;\n        if (row.dice) treemapDice(row, x0, y0, x1, y0 += (y1 - y0) * row.value / value);\n        else treemapSlice(row, x0, y0, x0 += (x1 - x0) * row.value / value, y1);\n        value -= row.value;\n      }\n    } else {\n      parent._squarify = rows = squarifyRatio(ratio, parent, x0, y0, x1, y1);\n      rows.ratio = ratio;\n    }\n  }\n\n  resquarify.ratio = function(x) {\n    return custom((x = +x) > 1 ? x : 1);\n  };\n\n  return resquarify;\n}))(phi);\n\nvar area$1 = function(polygon) {\n  var i = -1,\n      n = polygon.length,\n      a,\n      b = polygon[n - 1],\n      area = 0;\n\n  while (++i < n) {\n    a = b;\n    b = polygon[i];\n    area += a[1] * b[0] - a[0] * b[1];\n  }\n\n  return area / 2;\n};\n\nvar centroid$1 = function(polygon) {\n  var i = -1,\n      n = polygon.length,\n      x = 0,\n      y = 0,\n      a,\n      b = polygon[n - 1],\n      c,\n      k = 0;\n\n  while (++i < n) {\n    a = b;\n    b = polygon[i];\n    k += c = a[0] * b[1] - b[0] * a[1];\n    x += (a[0] + b[0]) * c;\n    y += (a[1] + b[1]) * c;\n  }\n\n  return k *= 3, [x / k, y / k];\n};\n\n// Returns the 2D cross product of AB and AC vectors, i.e., the z-component of\n// the 3D cross product in a quadrant I Cartesian coordinate system (+x is\n// right, +y is up). Returns a positive value if ABC is counter-clockwise,\n// negative if clockwise, and zero if the points are collinear.\nvar cross$1 = function(a, b, c) {\n  return (b[0] - a[0]) * (c[1] - a[1]) - (b[1] - a[1]) * (c[0] - a[0]);\n};\n\nfunction lexicographicOrder(a, b) {\n  return a[0] - b[0] || a[1] - b[1];\n}\n\n// Computes the upper convex hull per the monotone chain algorithm.\n// Assumes points.length >= 3, is sorted by x, unique in y.\n// Returns an array of indices into points in left-to-right order.\nfunction computeUpperHullIndexes(points) {\n  var n = points.length,\n      indexes = [0, 1],\n      size = 2;\n\n  for (var i = 2; i < n; ++i) {\n    while (size > 1 && cross$1(points[indexes[size - 2]], points[indexes[size - 1]], points[i]) <= 0) --size;\n    indexes[size++] = i;\n  }\n\n  return indexes.slice(0, size); // remove popped points\n}\n\nvar hull = function(points) {\n  if ((n = points.length) < 3) return null;\n\n  var i,\n      n,\n      sortedPoints = new Array(n),\n      flippedPoints = new Array(n);\n\n  for (i = 0; i < n; ++i) sortedPoints[i] = [+points[i][0], +points[i][1], i];\n  sortedPoints.sort(lexicographicOrder);\n  for (i = 0; i < n; ++i) flippedPoints[i] = [sortedPoints[i][0], -sortedPoints[i][1]];\n\n  var upperIndexes = computeUpperHullIndexes(sortedPoints),\n      lowerIndexes = computeUpperHullIndexes(flippedPoints);\n\n  // Construct the hull polygon, removing possible duplicate endpoints.\n  var skipLeft = lowerIndexes[0] === upperIndexes[0],\n      skipRight = lowerIndexes[lowerIndexes.length - 1] === upperIndexes[upperIndexes.length - 1],\n      hull = [];\n\n  // Add upper hull in right-to-l order.\n  // Then add lower hull in left-to-right order.\n  for (i = upperIndexes.length - 1; i >= 0; --i) hull.push(points[sortedPoints[upperIndexes[i]][2]]);\n  for (i = +skipLeft; i < lowerIndexes.length - skipRight; ++i) hull.push(points[sortedPoints[lowerIndexes[i]][2]]);\n\n  return hull;\n};\n\nvar contains$1 = function(polygon, point) {\n  var n = polygon.length,\n      p = polygon[n - 1],\n      x = point[0], y = point[1],\n      x0 = p[0], y0 = p[1],\n      x1, y1,\n      inside = false;\n\n  for (var i = 0; i < n; ++i) {\n    p = polygon[i], x1 = p[0], y1 = p[1];\n    if (((y1 > y) !== (y0 > y)) && (x < (x0 - x1) * (y - y1) / (y0 - y1) + x1)) inside = !inside;\n    x0 = x1, y0 = y1;\n  }\n\n  return inside;\n};\n\nvar length$2 = function(polygon) {\n  var i = -1,\n      n = polygon.length,\n      b = polygon[n - 1],\n      xa,\n      ya,\n      xb = b[0],\n      yb = b[1],\n      perimeter = 0;\n\n  while (++i < n) {\n    xa = xb;\n    ya = yb;\n    b = polygon[i];\n    xb = b[0];\n    yb = b[1];\n    xa -= xb;\n    ya -= yb;\n    perimeter += Math.sqrt(xa * xa + ya * ya);\n  }\n\n  return perimeter;\n};\n\nvar slice$3 = [].slice;\n\nvar noabort = {};\n\nfunction Queue(size) {\n  this._size = size;\n  this._call =\n  this._error = null;\n  this._tasks = [];\n  this._data = [];\n  this._waiting =\n  this._active =\n  this._ended =\n  this._start = 0; // inside a synchronous task callback?\n}\n\nQueue.prototype = queue.prototype = {\n  constructor: Queue,\n  defer: function(callback) {\n    if (typeof callback !== \"function\") throw new Error(\"invalid callback\");\n    if (this._call) throw new Error(\"defer after await\");\n    if (this._error != null) return this;\n    var t = slice$3.call(arguments, 1);\n    t.push(callback);\n    ++this._waiting, this._tasks.push(t);\n    poke$1(this);\n    return this;\n  },\n  abort: function() {\n    if (this._error == null) abort(this, new Error(\"abort\"));\n    return this;\n  },\n  await: function(callback) {\n    if (typeof callback !== \"function\") throw new Error(\"invalid callback\");\n    if (this._call) throw new Error(\"multiple await\");\n    this._call = function(error, results) { callback.apply(null, [error].concat(results)); };\n    maybeNotify(this);\n    return this;\n  },\n  awaitAll: function(callback) {\n    if (typeof callback !== \"function\") throw new Error(\"invalid callback\");\n    if (this._call) throw new Error(\"multiple await\");\n    this._call = callback;\n    maybeNotify(this);\n    return this;\n  }\n};\n\nfunction poke$1(q) {\n  if (!q._start) {\n    try { start$1(q); } // let the current task complete\n    catch (e) {\n      if (q._tasks[q._ended + q._active - 1]) abort(q, e); // task errored synchronously\n      else if (!q._data) throw e; // await callback errored synchronously\n    }\n  }\n}\n\nfunction start$1(q) {\n  while (q._start = q._waiting && q._active < q._size) {\n    var i = q._ended + q._active,\n        t = q._tasks[i],\n        j = t.length - 1,\n        c = t[j];\n    t[j] = end(q, i);\n    --q._waiting, ++q._active;\n    t = c.apply(null, t);\n    if (!q._tasks[i]) continue; // task finished synchronously\n    q._tasks[i] = t || noabort;\n  }\n}\n\nfunction end(q, i) {\n  return function(e, r) {\n    if (!q._tasks[i]) return; // ignore multiple callbacks\n    --q._active, ++q._ended;\n    q._tasks[i] = null;\n    if (q._error != null) return; // ignore secondary errors\n    if (e != null) {\n      abort(q, e);\n    } else {\n      q._data[i] = r;\n      if (q._waiting) poke$1(q);\n      else maybeNotify(q);\n    }\n  };\n}\n\nfunction abort(q, e) {\n  var i = q._tasks.length, t;\n  q._error = e; // ignore active callbacks\n  q._data = undefined; // allow gc\n  q._waiting = NaN; // prevent starting\n\n  while (--i >= 0) {\n    if (t = q._tasks[i]) {\n      q._tasks[i] = null;\n      if (t.abort) {\n        try { t.abort(); }\n        catch (e) { /* ignore */ }\n      }\n    }\n  }\n\n  q._active = NaN; // allow notification\n  maybeNotify(q);\n}\n\nfunction maybeNotify(q) {\n  if (!q._active && q._call) {\n    var d = q._data;\n    q._data = undefined; // allow gc\n    q._call(q._error, d);\n  }\n}\n\nfunction queue(concurrency) {\n  if (concurrency == null) concurrency = Infinity;\n  else if (!((concurrency = +concurrency) >= 1)) throw new Error(\"invalid concurrency\");\n  return new Queue(concurrency);\n}\n\nvar defaultSource$1 = function() {\n  return Math.random();\n};\n\nvar uniform = ((function sourceRandomUniform(source) {\n  function randomUniform(min, max) {\n    min = min == null ? 0 : +min;\n    max = max == null ? 1 : +max;\n    if (arguments.length === 1) max = min, min = 0;\n    else max -= min;\n    return function() {\n      return source() * max + min;\n    };\n  }\n\n  randomUniform.source = sourceRandomUniform;\n\n  return randomUniform;\n}))(defaultSource$1);\n\nvar normal = ((function sourceRandomNormal(source) {\n  function randomNormal(mu, sigma) {\n    var x, r;\n    mu = mu == null ? 0 : +mu;\n    sigma = sigma == null ? 1 : +sigma;\n    return function() {\n      var y;\n\n      // If available, use the second previously-generated uniform random.\n      if (x != null) y = x, x = null;\n\n      // Otherwise, generate a new x and y.\n      else do {\n        x = source() * 2 - 1;\n        y = source() * 2 - 1;\n        r = x * x + y * y;\n      } while (!r || r > 1);\n\n      return mu + sigma * y * Math.sqrt(-2 * Math.log(r) / r);\n    };\n  }\n\n  randomNormal.source = sourceRandomNormal;\n\n  return randomNormal;\n}))(defaultSource$1);\n\nvar logNormal = ((function sourceRandomLogNormal(source) {\n  function randomLogNormal() {\n    var randomNormal = normal.source(source).apply(this, arguments);\n    return function() {\n      return Math.exp(randomNormal());\n    };\n  }\n\n  randomLogNormal.source = sourceRandomLogNormal;\n\n  return randomLogNormal;\n}))(defaultSource$1);\n\nvar irwinHall = ((function sourceRandomIrwinHall(source) {\n  function randomIrwinHall(n) {\n    return function() {\n      for (var sum = 0, i = 0; i < n; ++i) sum += source();\n      return sum;\n    };\n  }\n\n  randomIrwinHall.source = sourceRandomIrwinHall;\n\n  return randomIrwinHall;\n}))(defaultSource$1);\n\nvar bates = ((function sourceRandomBates(source) {\n  function randomBates(n) {\n    var randomIrwinHall = irwinHall.source(source)(n);\n    return function() {\n      return randomIrwinHall() / n;\n    };\n  }\n\n  randomBates.source = sourceRandomBates;\n\n  return randomBates;\n}))(defaultSource$1);\n\nvar exponential$1 = ((function sourceRandomExponential(source) {\n  function randomExponential(lambda) {\n    return function() {\n      return -Math.log(1 - source()) / lambda;\n    };\n  }\n\n  randomExponential.source = sourceRandomExponential;\n\n  return randomExponential;\n}))(defaultSource$1);\n\nvar request = function(url, callback) {\n  var request,\n      event = dispatch(\"beforesend\", \"progress\", \"load\", \"error\"),\n      mimeType,\n      headers = map$1(),\n      xhr = new XMLHttpRequest,\n      user = null,\n      password = null,\n      response,\n      responseType,\n      timeout = 0;\n\n  // If IE does not support CORS, use XDomainRequest.\n  if (typeof XDomainRequest !== \"undefined\"\n      && !(\"withCredentials\" in xhr)\n      && /^(http(s)?:)?\\/\\//.test(url)) xhr = new XDomainRequest;\n\n  \"onload\" in xhr\n      ? xhr.onload = xhr.onerror = xhr.ontimeout = respond\n      : xhr.onreadystatechange = function(o) { xhr.readyState > 3 && respond(o); };\n\n  function respond(o) {\n    var status = xhr.status, result;\n    if (!status && hasResponse(xhr)\n        || status >= 200 && status < 300\n        || status === 304) {\n      if (response) {\n        try {\n          result = response.call(request, xhr);\n        } catch (e) {\n          event.call(\"error\", request, e);\n          return;\n        }\n      } else {\n        result = xhr;\n      }\n      event.call(\"load\", request, result);\n    } else {\n      event.call(\"error\", request, o);\n    }\n  }\n\n  xhr.onprogress = function(e) {\n    event.call(\"progress\", request, e);\n  };\n\n  request = {\n    header: function(name, value) {\n      name = (name + \"\").toLowerCase();\n      if (arguments.length < 2) return headers.get(name);\n      if (value == null) headers.remove(name);\n      else headers.set(name, value + \"\");\n      return request;\n    },\n\n    // If mimeType is non-null and no Accept header is set, a default is used.\n    mimeType: function(value) {\n      if (!arguments.length) return mimeType;\n      mimeType = value == null ? null : value + \"\";\n      return request;\n    },\n\n    // Specifies what type the response value should take;\n    // for instance, arraybuffer, blob, document, or text.\n    responseType: function(value) {\n      if (!arguments.length) return responseType;\n      responseType = value;\n      return request;\n    },\n\n    timeout: function(value) {\n      if (!arguments.length) return timeout;\n      timeout = +value;\n      return request;\n    },\n\n    user: function(value) {\n      return arguments.length < 1 ? user : (user = value == null ? null : value + \"\", request);\n    },\n\n    password: function(value) {\n      return arguments.length < 1 ? password : (password = value == null ? null : value + \"\", request);\n    },\n\n    // Specify how to convert the response content to a specific type;\n    // changes the callback value on \"load\" events.\n    response: function(value) {\n      response = value;\n      return request;\n    },\n\n    // Alias for send(\"GET\", …).\n    get: function(data, callback) {\n      return request.send(\"GET\", data, callback);\n    },\n\n    // Alias for send(\"POST\", …).\n    post: function(data, callback) {\n      return request.send(\"POST\", data, callback);\n    },\n\n    // If callback is non-null, it will be used for error and load events.\n    send: function(method, data, callback) {\n      xhr.open(method, url, true, user, password);\n      if (mimeType != null && !headers.has(\"accept\")) headers.set(\"accept\", mimeType + \",*/*\");\n      if (xhr.setRequestHeader) headers.each(function(value, name) { xhr.setRequestHeader(name, value); });\n      if (mimeType != null && xhr.overrideMimeType) xhr.overrideMimeType(mimeType);\n      if (responseType != null) xhr.responseType = responseType;\n      if (timeout > 0) xhr.timeout = timeout;\n      if (callback == null && typeof data === \"function\") callback = data, data = null;\n      if (callback != null && callback.length === 1) callback = fixCallback(callback);\n      if (callback != null) request.on(\"error\", callback).on(\"load\", function(xhr) { callback(null, xhr); });\n      event.call(\"beforesend\", request, xhr);\n      xhr.send(data == null ? null : data);\n      return request;\n    },\n\n    abort: function() {\n      xhr.abort();\n      return request;\n    },\n\n    on: function() {\n      var value = event.on.apply(event, arguments);\n      return value === event ? request : value;\n    }\n  };\n\n  if (callback != null) {\n    if (typeof callback !== \"function\") throw new Error(\"invalid callback: \" + callback);\n    return request.get(callback);\n  }\n\n  return request;\n};\n\nfunction fixCallback(callback) {\n  return function(error, xhr) {\n    callback(error == null ? xhr : null);\n  };\n}\n\nfunction hasResponse(xhr) {\n  var type = xhr.responseType;\n  return type && type !== \"text\"\n      ? xhr.response // null on error\n      : xhr.responseText; // \"\" on error\n}\n\nvar type$1 = function(defaultMimeType, response) {\n  return function(url, callback) {\n    var r = request(url).mimeType(defaultMimeType).response(response);\n    if (callback != null) {\n      if (typeof callback !== \"function\") throw new Error(\"invalid callback: \" + callback);\n      return r.get(callback);\n    }\n    return r;\n  };\n};\n\nvar html = type$1(\"text/html\", function(xhr) {\n  return document.createRange().createContextualFragment(xhr.responseText);\n});\n\nvar json = type$1(\"application/json\", function(xhr) {\n  return JSON.parse(xhr.responseText);\n});\n\nvar text = type$1(\"text/plain\", function(xhr) {\n  return xhr.responseText;\n});\n\nvar xml = type$1(\"application/xml\", function(xhr) {\n  var xml = xhr.responseXML;\n  if (!xml) throw new Error(\"parse error\");\n  return xml;\n});\n\nvar dsv$1 = function(defaultMimeType, parse) {\n  return function(url, row, callback) {\n    if (arguments.length < 3) callback = row, row = null;\n    var r = request(url).mimeType(defaultMimeType);\n    r.row = function(_) { return arguments.length ? r.response(responseOf(parse, row = _)) : row; };\n    r.row(row);\n    return callback ? r.get(callback) : r;\n  };\n};\n\nfunction responseOf(parse, row) {\n  return function(request$$1) {\n    return parse(request$$1.responseText, row);\n  };\n}\n\nvar csv$1 = dsv$1(\"text/csv\", csvParse);\n\nvar tsv$1 = dsv$1(\"text/tab-separated-values\", tsvParse);\n\nvar array$2 = Array.prototype;\n\nvar map$3 = array$2.map;\nvar slice$4 = array$2.slice;\n\nvar implicit = {name: \"implicit\"};\n\nfunction ordinal(range) {\n  var index = map$1(),\n      domain = [],\n      unknown = implicit;\n\n  range = range == null ? [] : slice$4.call(range);\n\n  function scale(d) {\n    var key = d + \"\", i = index.get(key);\n    if (!i) {\n      if (unknown !== implicit) return unknown;\n      index.set(key, i = domain.push(d));\n    }\n    return range[(i - 1) % range.length];\n  }\n\n  scale.domain = function(_) {\n    if (!arguments.length) return domain.slice();\n    domain = [], index = map$1();\n    var i = -1, n = _.length, d, key;\n    while (++i < n) if (!index.has(key = (d = _[i]) + \"\")) index.set(key, domain.push(d));\n    return scale;\n  };\n\n  scale.range = function(_) {\n    return arguments.length ? (range = slice$4.call(_), scale) : range.slice();\n  };\n\n  scale.unknown = function(_) {\n    return arguments.length ? (unknown = _, scale) : unknown;\n  };\n\n  scale.copy = function() {\n    return ordinal()\n        .domain(domain)\n        .range(range)\n        .unknown(unknown);\n  };\n\n  return scale;\n}\n\nfunction band() {\n  var scale = ordinal().unknown(undefined),\n      domain = scale.domain,\n      ordinalRange = scale.range,\n      range$$1 = [0, 1],\n      step,\n      bandwidth,\n      round = false,\n      paddingInner = 0,\n      paddingOuter = 0,\n      align = 0.5;\n\n  delete scale.unknown;\n\n  function rescale() {\n    var n = domain().length,\n        reverse = range$$1[1] < range$$1[0],\n        start = range$$1[reverse - 0],\n        stop = range$$1[1 - reverse];\n    step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2);\n    if (round) step = Math.floor(step);\n    start += (stop - start - step * (n - paddingInner)) * align;\n    bandwidth = step * (1 - paddingInner);\n    if (round) start = Math.round(start), bandwidth = Math.round(bandwidth);\n    var values = sequence(n).map(function(i) { return start + step * i; });\n    return ordinalRange(reverse ? values.reverse() : values);\n  }\n\n  scale.domain = function(_) {\n    return arguments.length ? (domain(_), rescale()) : domain();\n  };\n\n  scale.range = function(_) {\n    return arguments.length ? (range$$1 = [+_[0], +_[1]], rescale()) : range$$1.slice();\n  };\n\n  scale.rangeRound = function(_) {\n    return range$$1 = [+_[0], +_[1]], round = true, rescale();\n  };\n\n  scale.bandwidth = function() {\n    return bandwidth;\n  };\n\n  scale.step = function() {\n    return step;\n  };\n\n  scale.round = function(_) {\n    return arguments.length ? (round = !!_, rescale()) : round;\n  };\n\n  scale.padding = function(_) {\n    return arguments.length ? (paddingInner = paddingOuter = Math.max(0, Math.min(1, _)), rescale()) : paddingInner;\n  };\n\n  scale.paddingInner = function(_) {\n    return arguments.length ? (paddingInner = Math.max(0, Math.min(1, _)), rescale()) : paddingInner;\n  };\n\n  scale.paddingOuter = function(_) {\n    return arguments.length ? (paddingOuter = Math.max(0, Math.min(1, _)), rescale()) : paddingOuter;\n  };\n\n  scale.align = function(_) {\n    return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;\n  };\n\n  scale.copy = function() {\n    return band()\n        .domain(domain())\n        .range(range$$1)\n        .round(round)\n        .paddingInner(paddingInner)\n        .paddingOuter(paddingOuter)\n        .align(align);\n  };\n\n  return rescale();\n}\n\nfunction pointish(scale) {\n  var copy = scale.copy;\n\n  scale.padding = scale.paddingOuter;\n  delete scale.paddingInner;\n  delete scale.paddingOuter;\n\n  scale.copy = function() {\n    return pointish(copy());\n  };\n\n  return scale;\n}\n\nfunction point$1() {\n  return pointish(band().paddingInner(1));\n}\n\nvar constant$9 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nvar number$1 = function(x) {\n  return +x;\n};\n\nvar unit = [0, 1];\n\nfunction deinterpolateLinear(a, b) {\n  return (b -= (a = +a))\n      ? function(x) { return (x - a) / b; }\n      : constant$9(b);\n}\n\nfunction deinterpolateClamp(deinterpolate) {\n  return function(a, b) {\n    var d = deinterpolate(a = +a, b = +b);\n    return function(x) { return x <= a ? 0 : x >= b ? 1 : d(x); };\n  };\n}\n\nfunction reinterpolateClamp(reinterpolate) {\n  return function(a, b) {\n    var r = reinterpolate(a = +a, b = +b);\n    return function(t) { return t <= 0 ? a : t >= 1 ? b : r(t); };\n  };\n}\n\nfunction bimap(domain, range$$1, deinterpolate, reinterpolate) {\n  var d0 = domain[0], d1 = domain[1], r0 = range$$1[0], r1 = range$$1[1];\n  if (d1 < d0) d0 = deinterpolate(d1, d0), r0 = reinterpolate(r1, r0);\n  else d0 = deinterpolate(d0, d1), r0 = reinterpolate(r0, r1);\n  return function(x) { return r0(d0(x)); };\n}\n\nfunction polymap(domain, range$$1, deinterpolate, reinterpolate) {\n  var j = Math.min(domain.length, range$$1.length) - 1,\n      d = new Array(j),\n      r = new Array(j),\n      i = -1;\n\n  // Reverse descending domains.\n  if (domain[j] < domain[0]) {\n    domain = domain.slice().reverse();\n    range$$1 = range$$1.slice().reverse();\n  }\n\n  while (++i < j) {\n    d[i] = deinterpolate(domain[i], domain[i + 1]);\n    r[i] = reinterpolate(range$$1[i], range$$1[i + 1]);\n  }\n\n  return function(x) {\n    var i = bisectRight(domain, x, 1, j) - 1;\n    return r[i](d[i](x));\n  };\n}\n\nfunction copy(source, target) {\n  return target\n      .domain(source.domain())\n      .range(source.range())\n      .interpolate(source.interpolate())\n      .clamp(source.clamp());\n}\n\n// deinterpolate(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].\n// reinterpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding domain value x in [a,b].\nfunction continuous(deinterpolate, reinterpolate) {\n  var domain = unit,\n      range$$1 = unit,\n      interpolate$$1 = interpolateValue,\n      clamp = false,\n      piecewise,\n      output,\n      input;\n\n  function rescale() {\n    piecewise = Math.min(domain.length, range$$1.length) > 2 ? polymap : bimap;\n    output = input = null;\n    return scale;\n  }\n\n  function scale(x) {\n    return (output || (output = piecewise(domain, range$$1, clamp ? deinterpolateClamp(deinterpolate) : deinterpolate, interpolate$$1)))(+x);\n  }\n\n  scale.invert = function(y) {\n    return (input || (input = piecewise(range$$1, domain, deinterpolateLinear, clamp ? reinterpolateClamp(reinterpolate) : reinterpolate)))(+y);\n  };\n\n  scale.domain = function(_) {\n    return arguments.length ? (domain = map$3.call(_, number$1), rescale()) : domain.slice();\n  };\n\n  scale.range = function(_) {\n    return arguments.length ? (range$$1 = slice$4.call(_), rescale()) : range$$1.slice();\n  };\n\n  scale.rangeRound = function(_) {\n    return range$$1 = slice$4.call(_), interpolate$$1 = interpolateRound, rescale();\n  };\n\n  scale.clamp = function(_) {\n    return arguments.length ? (clamp = !!_, rescale()) : clamp;\n  };\n\n  scale.interpolate = function(_) {\n    return arguments.length ? (interpolate$$1 = _, rescale()) : interpolate$$1;\n  };\n\n  return rescale();\n}\n\nvar tickFormat = function(domain, count, specifier) {\n  var start = domain[0],\n      stop = domain[domain.length - 1],\n      step = tickStep(start, stop, count == null ? 10 : count),\n      precision;\n  specifier = formatSpecifier(specifier == null ? \",f\" : specifier);\n  switch (specifier.type) {\n    case \"s\": {\n      var value = Math.max(Math.abs(start), Math.abs(stop));\n      if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;\n      return exports.formatPrefix(specifier, value);\n    }\n    case \"\":\n    case \"e\":\n    case \"g\":\n    case \"p\":\n    case \"r\": {\n      if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === \"e\");\n      break;\n    }\n    case \"f\":\n    case \"%\": {\n      if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === \"%\") * 2;\n      break;\n    }\n  }\n  return exports.format(specifier);\n};\n\nfunction linearish(scale) {\n  var domain = scale.domain;\n\n  scale.ticks = function(count) {\n    var d = domain();\n    return ticks(d[0], d[d.length - 1], count == null ? 10 : count);\n  };\n\n  scale.tickFormat = function(count, specifier) {\n    return tickFormat(domain(), count, specifier);\n  };\n\n  scale.nice = function(count) {\n    if (count == null) count = 10;\n\n    var d = domain(),\n        i0 = 0,\n        i1 = d.length - 1,\n        start = d[i0],\n        stop = d[i1],\n        step;\n\n    if (stop < start) {\n      step = start, start = stop, stop = step;\n      step = i0, i0 = i1, i1 = step;\n    }\n\n    step = tickIncrement(start, stop, count);\n\n    if (step > 0) {\n      start = Math.floor(start / step) * step;\n      stop = Math.ceil(stop / step) * step;\n      step = tickIncrement(start, stop, count);\n    } else if (step < 0) {\n      start = Math.ceil(start * step) / step;\n      stop = Math.floor(stop * step) / step;\n      step = tickIncrement(start, stop, count);\n    }\n\n    if (step > 0) {\n      d[i0] = Math.floor(start / step) * step;\n      d[i1] = Math.ceil(stop / step) * step;\n      domain(d);\n    } else if (step < 0) {\n      d[i0] = Math.ceil(start * step) / step;\n      d[i1] = Math.floor(stop * step) / step;\n      domain(d);\n    }\n\n    return scale;\n  };\n\n  return scale;\n}\n\nfunction linear$2() {\n  var scale = continuous(deinterpolateLinear, reinterpolate);\n\n  scale.copy = function() {\n    return copy(scale, linear$2());\n  };\n\n  return linearish(scale);\n}\n\nfunction identity$6() {\n  var domain = [0, 1];\n\n  function scale(x) {\n    return +x;\n  }\n\n  scale.invert = scale;\n\n  scale.domain = scale.range = function(_) {\n    return arguments.length ? (domain = map$3.call(_, number$1), scale) : domain.slice();\n  };\n\n  scale.copy = function() {\n    return identity$6().domain(domain);\n  };\n\n  return linearish(scale);\n}\n\nvar nice = function(domain, interval) {\n  domain = domain.slice();\n\n  var i0 = 0,\n      i1 = domain.length - 1,\n      x0 = domain[i0],\n      x1 = domain[i1],\n      t;\n\n  if (x1 < x0) {\n    t = i0, i0 = i1, i1 = t;\n    t = x0, x0 = x1, x1 = t;\n  }\n\n  domain[i0] = interval.floor(x0);\n  domain[i1] = interval.ceil(x1);\n  return domain;\n};\n\nfunction deinterpolate(a, b) {\n  return (b = Math.log(b / a))\n      ? function(x) { return Math.log(x / a) / b; }\n      : constant$9(b);\n}\n\nfunction reinterpolate$1(a, b) {\n  return a < 0\n      ? function(t) { return -Math.pow(-b, t) * Math.pow(-a, 1 - t); }\n      : function(t) { return Math.pow(b, t) * Math.pow(a, 1 - t); };\n}\n\nfunction pow10(x) {\n  return isFinite(x) ? +(\"1e\" + x) : x < 0 ? 0 : x;\n}\n\nfunction powp(base) {\n  return base === 10 ? pow10\n      : base === Math.E ? Math.exp\n      : function(x) { return Math.pow(base, x); };\n}\n\nfunction logp(base) {\n  return base === Math.E ? Math.log\n      : base === 10 && Math.log10\n      || base === 2 && Math.log2\n      || (base = Math.log(base), function(x) { return Math.log(x) / base; });\n}\n\nfunction reflect(f) {\n  return function(x) {\n    return -f(-x);\n  };\n}\n\nfunction log$1() {\n  var scale = continuous(deinterpolate, reinterpolate$1).domain([1, 10]),\n      domain = scale.domain,\n      base = 10,\n      logs = logp(10),\n      pows = powp(10);\n\n  function rescale() {\n    logs = logp(base), pows = powp(base);\n    if (domain()[0] < 0) logs = reflect(logs), pows = reflect(pows);\n    return scale;\n  }\n\n  scale.base = function(_) {\n    return arguments.length ? (base = +_, rescale()) : base;\n  };\n\n  scale.domain = function(_) {\n    return arguments.length ? (domain(_), rescale()) : domain();\n  };\n\n  scale.ticks = function(count) {\n    var d = domain(),\n        u = d[0],\n        v = d[d.length - 1],\n        r;\n\n    if (r = v < u) i = u, u = v, v = i;\n\n    var i = logs(u),\n        j = logs(v),\n        p,\n        k,\n        t,\n        n = count == null ? 10 : +count,\n        z = [];\n\n    if (!(base % 1) && j - i < n) {\n      i = Math.round(i) - 1, j = Math.round(j) + 1;\n      if (u > 0) for (; i < j; ++i) {\n        for (k = 1, p = pows(i); k < base; ++k) {\n          t = p * k;\n          if (t < u) continue;\n          if (t > v) break;\n          z.push(t);\n        }\n      } else for (; i < j; ++i) {\n        for (k = base - 1, p = pows(i); k >= 1; --k) {\n          t = p * k;\n          if (t < u) continue;\n          if (t > v) break;\n          z.push(t);\n        }\n      }\n    } else {\n      z = ticks(i, j, Math.min(j - i, n)).map(pows);\n    }\n\n    return r ? z.reverse() : z;\n  };\n\n  scale.tickFormat = function(count, specifier) {\n    if (specifier == null) specifier = base === 10 ? \".0e\" : \",\";\n    if (typeof specifier !== \"function\") specifier = exports.format(specifier);\n    if (count === Infinity) return specifier;\n    if (count == null) count = 10;\n    var k = Math.max(1, base * count / scale.ticks().length); // TODO fast estimate?\n    return function(d) {\n      var i = d / pows(Math.round(logs(d)));\n      if (i * base < base - 0.5) i *= base;\n      return i <= k ? specifier(d) : \"\";\n    };\n  };\n\n  scale.nice = function() {\n    return domain(nice(domain(), {\n      floor: function(x) { return pows(Math.floor(logs(x))); },\n      ceil: function(x) { return pows(Math.ceil(logs(x))); }\n    }));\n  };\n\n  scale.copy = function() {\n    return copy(scale, log$1().base(base));\n  };\n\n  return scale;\n}\n\nfunction raise$1(x, exponent) {\n  return x < 0 ? -Math.pow(-x, exponent) : Math.pow(x, exponent);\n}\n\nfunction pow$1() {\n  var exponent = 1,\n      scale = continuous(deinterpolate, reinterpolate),\n      domain = scale.domain;\n\n  function deinterpolate(a, b) {\n    return (b = raise$1(b, exponent) - (a = raise$1(a, exponent)))\n        ? function(x) { return (raise$1(x, exponent) - a) / b; }\n        : constant$9(b);\n  }\n\n  function reinterpolate(a, b) {\n    b = raise$1(b, exponent) - (a = raise$1(a, exponent));\n    return function(t) { return raise$1(a + b * t, 1 / exponent); };\n  }\n\n  scale.exponent = function(_) {\n    return arguments.length ? (exponent = +_, domain(domain())) : exponent;\n  };\n\n  scale.copy = function() {\n    return copy(scale, pow$1().exponent(exponent));\n  };\n\n  return linearish(scale);\n}\n\nfunction sqrt$1() {\n  return pow$1().exponent(0.5);\n}\n\nfunction quantile$$1() {\n  var domain = [],\n      range$$1 = [],\n      thresholds = [];\n\n  function rescale() {\n    var i = 0, n = Math.max(1, range$$1.length);\n    thresholds = new Array(n - 1);\n    while (++i < n) thresholds[i - 1] = threshold(domain, i / n);\n    return scale;\n  }\n\n  function scale(x) {\n    if (!isNaN(x = +x)) return range$$1[bisectRight(thresholds, x)];\n  }\n\n  scale.invertExtent = function(y) {\n    var i = range$$1.indexOf(y);\n    return i < 0 ? [NaN, NaN] : [\n      i > 0 ? thresholds[i - 1] : domain[0],\n      i < thresholds.length ? thresholds[i] : domain[domain.length - 1]\n    ];\n  };\n\n  scale.domain = function(_) {\n    if (!arguments.length) return domain.slice();\n    domain = [];\n    for (var i = 0, n = _.length, d; i < n; ++i) if (d = _[i], d != null && !isNaN(d = +d)) domain.push(d);\n    domain.sort(ascending);\n    return rescale();\n  };\n\n  scale.range = function(_) {\n    return arguments.length ? (range$$1 = slice$4.call(_), rescale()) : range$$1.slice();\n  };\n\n  scale.quantiles = function() {\n    return thresholds.slice();\n  };\n\n  scale.copy = function() {\n    return quantile$$1()\n        .domain(domain)\n        .range(range$$1);\n  };\n\n  return scale;\n}\n\nfunction quantize$1() {\n  var x0 = 0,\n      x1 = 1,\n      n = 1,\n      domain = [0.5],\n      range$$1 = [0, 1];\n\n  function scale(x) {\n    if (x <= x) return range$$1[bisectRight(domain, x, 0, n)];\n  }\n\n  function rescale() {\n    var i = -1;\n    domain = new Array(n);\n    while (++i < n) domain[i] = ((i + 1) * x1 - (i - n) * x0) / (n + 1);\n    return scale;\n  }\n\n  scale.domain = function(_) {\n    return arguments.length ? (x0 = +_[0], x1 = +_[1], rescale()) : [x0, x1];\n  };\n\n  scale.range = function(_) {\n    return arguments.length ? (n = (range$$1 = slice$4.call(_)).length - 1, rescale()) : range$$1.slice();\n  };\n\n  scale.invertExtent = function(y) {\n    var i = range$$1.indexOf(y);\n    return i < 0 ? [NaN, NaN]\n        : i < 1 ? [x0, domain[0]]\n        : i >= n ? [domain[n - 1], x1]\n        : [domain[i - 1], domain[i]];\n  };\n\n  scale.copy = function() {\n    return quantize$1()\n        .domain([x0, x1])\n        .range(range$$1);\n  };\n\n  return linearish(scale);\n}\n\nfunction threshold$1() {\n  var domain = [0.5],\n      range$$1 = [0, 1],\n      n = 1;\n\n  function scale(x) {\n    if (x <= x) return range$$1[bisectRight(domain, x, 0, n)];\n  }\n\n  scale.domain = function(_) {\n    return arguments.length ? (domain = slice$4.call(_), n = Math.min(domain.length, range$$1.length - 1), scale) : domain.slice();\n  };\n\n  scale.range = function(_) {\n    return arguments.length ? (range$$1 = slice$4.call(_), n = Math.min(domain.length, range$$1.length - 1), scale) : range$$1.slice();\n  };\n\n  scale.invertExtent = function(y) {\n    var i = range$$1.indexOf(y);\n    return [domain[i - 1], domain[i]];\n  };\n\n  scale.copy = function() {\n    return threshold$1()\n        .domain(domain)\n        .range(range$$1);\n  };\n\n  return scale;\n}\n\nvar t0$1 = new Date;\nvar t1$1 = new Date;\n\nfunction newInterval(floori, offseti, count, field) {\n\n  function interval(date) {\n    return floori(date = new Date(+date)), date;\n  }\n\n  interval.floor = interval;\n\n  interval.ceil = function(date) {\n    return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;\n  };\n\n  interval.round = function(date) {\n    var d0 = interval(date),\n        d1 = interval.ceil(date);\n    return date - d0 < d1 - date ? d0 : d1;\n  };\n\n  interval.offset = function(date, step) {\n    return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;\n  };\n\n  interval.range = function(start, stop, step) {\n    var range = [];\n    start = interval.ceil(start);\n    step = step == null ? 1 : Math.floor(step);\n    if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date\n    do range.push(new Date(+start)); while (offseti(start, step), floori(start), start < stop)\n    return range;\n  };\n\n  interval.filter = function(test) {\n    return newInterval(function(date) {\n      if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);\n    }, function(date, step) {\n      if (date >= date) while (--step >= 0) while (offseti(date, 1), !test(date)) {} // eslint-disable-line no-empty\n    });\n  };\n\n  if (count) {\n    interval.count = function(start, end) {\n      t0$1.setTime(+start), t1$1.setTime(+end);\n      floori(t0$1), floori(t1$1);\n      return Math.floor(count(t0$1, t1$1));\n    };\n\n    interval.every = function(step) {\n      step = Math.floor(step);\n      return !isFinite(step) || !(step > 0) ? null\n          : !(step > 1) ? interval\n          : interval.filter(field\n              ? function(d) { return field(d) % step === 0; }\n              : function(d) { return interval.count(0, d) % step === 0; });\n    };\n  }\n\n  return interval;\n}\n\nvar millisecond = newInterval(function() {\n  // noop\n}, function(date, step) {\n  date.setTime(+date + step);\n}, function(start, end) {\n  return end - start;\n});\n\n// An optimized implementation for this simple case.\nmillisecond.every = function(k) {\n  k = Math.floor(k);\n  if (!isFinite(k) || !(k > 0)) return null;\n  if (!(k > 1)) return millisecond;\n  return newInterval(function(date) {\n    date.setTime(Math.floor(date / k) * k);\n  }, function(date, step) {\n    date.setTime(+date + step * k);\n  }, function(start, end) {\n    return (end - start) / k;\n  });\n};\n\nvar milliseconds = millisecond.range;\n\nvar durationSecond$1 = 1e3;\nvar durationMinute$1 = 6e4;\nvar durationHour$1 = 36e5;\nvar durationDay$1 = 864e5;\nvar durationWeek$1 = 6048e5;\n\nvar second = newInterval(function(date) {\n  date.setTime(Math.floor(date / durationSecond$1) * durationSecond$1);\n}, function(date, step) {\n  date.setTime(+date + step * durationSecond$1);\n}, function(start, end) {\n  return (end - start) / durationSecond$1;\n}, function(date) {\n  return date.getUTCSeconds();\n});\n\nvar seconds = second.range;\n\nvar minute = newInterval(function(date) {\n  date.setTime(Math.floor(date / durationMinute$1) * durationMinute$1);\n}, function(date, step) {\n  date.setTime(+date + step * durationMinute$1);\n}, function(start, end) {\n  return (end - start) / durationMinute$1;\n}, function(date) {\n  return date.getMinutes();\n});\n\nvar minutes = minute.range;\n\nvar hour = newInterval(function(date) {\n  var offset = date.getTimezoneOffset() * durationMinute$1 % durationHour$1;\n  if (offset < 0) offset += durationHour$1;\n  date.setTime(Math.floor((+date - offset) / durationHour$1) * durationHour$1 + offset);\n}, function(date, step) {\n  date.setTime(+date + step * durationHour$1);\n}, function(start, end) {\n  return (end - start) / durationHour$1;\n}, function(date) {\n  return date.getHours();\n});\n\nvar hours = hour.range;\n\nvar day = newInterval(function(date) {\n  date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n  date.setDate(date.getDate() + step);\n}, function(start, end) {\n  return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute$1) / durationDay$1;\n}, function(date) {\n  return date.getDate() - 1;\n});\n\nvar days = day.range;\n\nfunction weekday(i) {\n  return newInterval(function(date) {\n    date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);\n    date.setHours(0, 0, 0, 0);\n  }, function(date, step) {\n    date.setDate(date.getDate() + step * 7);\n  }, function(start, end) {\n    return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute$1) / durationWeek$1;\n  });\n}\n\nvar sunday = weekday(0);\nvar monday = weekday(1);\nvar tuesday = weekday(2);\nvar wednesday = weekday(3);\nvar thursday = weekday(4);\nvar friday = weekday(5);\nvar saturday = weekday(6);\n\nvar sundays = sunday.range;\nvar mondays = monday.range;\nvar tuesdays = tuesday.range;\nvar wednesdays = wednesday.range;\nvar thursdays = thursday.range;\nvar fridays = friday.range;\nvar saturdays = saturday.range;\n\nvar month = newInterval(function(date) {\n  date.setDate(1);\n  date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n  date.setMonth(date.getMonth() + step);\n}, function(start, end) {\n  return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;\n}, function(date) {\n  return date.getMonth();\n});\n\nvar months = month.range;\n\nvar year = newInterval(function(date) {\n  date.setMonth(0, 1);\n  date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n  date.setFullYear(date.getFullYear() + step);\n}, function(start, end) {\n  return end.getFullYear() - start.getFullYear();\n}, function(date) {\n  return date.getFullYear();\n});\n\n// An optimized implementation for this simple case.\nyear.every = function(k) {\n  return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) {\n    date.setFullYear(Math.floor(date.getFullYear() / k) * k);\n    date.setMonth(0, 1);\n    date.setHours(0, 0, 0, 0);\n  }, function(date, step) {\n    date.setFullYear(date.getFullYear() + step * k);\n  });\n};\n\nvar years = year.range;\n\nvar utcMinute = newInterval(function(date) {\n  date.setUTCSeconds(0, 0);\n}, function(date, step) {\n  date.setTime(+date + step * durationMinute$1);\n}, function(start, end) {\n  return (end - start) / durationMinute$1;\n}, function(date) {\n  return date.getUTCMinutes();\n});\n\nvar utcMinutes = utcMinute.range;\n\nvar utcHour = newInterval(function(date) {\n  date.setUTCMinutes(0, 0, 0);\n}, function(date, step) {\n  date.setTime(+date + step * durationHour$1);\n}, function(start, end) {\n  return (end - start) / durationHour$1;\n}, function(date) {\n  return date.getUTCHours();\n});\n\nvar utcHours = utcHour.range;\n\nvar utcDay = newInterval(function(date) {\n  date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n  date.setUTCDate(date.getUTCDate() + step);\n}, function(start, end) {\n  return (end - start) / durationDay$1;\n}, function(date) {\n  return date.getUTCDate() - 1;\n});\n\nvar utcDays = utcDay.range;\n\nfunction utcWeekday(i) {\n  return newInterval(function(date) {\n    date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);\n    date.setUTCHours(0, 0, 0, 0);\n  }, function(date, step) {\n    date.setUTCDate(date.getUTCDate() + step * 7);\n  }, function(start, end) {\n    return (end - start) / durationWeek$1;\n  });\n}\n\nvar utcSunday = utcWeekday(0);\nvar utcMonday = utcWeekday(1);\nvar utcTuesday = utcWeekday(2);\nvar utcWednesday = utcWeekday(3);\nvar utcThursday = utcWeekday(4);\nvar utcFriday = utcWeekday(5);\nvar utcSaturday = utcWeekday(6);\n\nvar utcSundays = utcSunday.range;\nvar utcMondays = utcMonday.range;\nvar utcTuesdays = utcTuesday.range;\nvar utcWednesdays = utcWednesday.range;\nvar utcThursdays = utcThursday.range;\nvar utcFridays = utcFriday.range;\nvar utcSaturdays = utcSaturday.range;\n\nvar utcMonth = newInterval(function(date) {\n  date.setUTCDate(1);\n  date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n  date.setUTCMonth(date.getUTCMonth() + step);\n}, function(start, end) {\n  return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;\n}, function(date) {\n  return date.getUTCMonth();\n});\n\nvar utcMonths = utcMonth.range;\n\nvar utcYear = newInterval(function(date) {\n  date.setUTCMonth(0, 1);\n  date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n  date.setUTCFullYear(date.getUTCFullYear() + step);\n}, function(start, end) {\n  return end.getUTCFullYear() - start.getUTCFullYear();\n}, function(date) {\n  return date.getUTCFullYear();\n});\n\n// An optimized implementation for this simple case.\nutcYear.every = function(k) {\n  return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) {\n    date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);\n    date.setUTCMonth(0, 1);\n    date.setUTCHours(0, 0, 0, 0);\n  }, function(date, step) {\n    date.setUTCFullYear(date.getUTCFullYear() + step * k);\n  });\n};\n\nvar utcYears = utcYear.range;\n\nfunction localDate(d) {\n  if (0 <= d.y && d.y < 100) {\n    var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);\n    date.setFullYear(d.y);\n    return date;\n  }\n  return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);\n}\n\nfunction utcDate(d) {\n  if (0 <= d.y && d.y < 100) {\n    var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));\n    date.setUTCFullYear(d.y);\n    return date;\n  }\n  return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));\n}\n\nfunction newYear(y) {\n  return {y: y, m: 0, d: 1, H: 0, M: 0, S: 0, L: 0};\n}\n\nfunction formatLocale$1(locale) {\n  var locale_dateTime = locale.dateTime,\n      locale_date = locale.date,\n      locale_time = locale.time,\n      locale_periods = locale.periods,\n      locale_weekdays = locale.days,\n      locale_shortWeekdays = locale.shortDays,\n      locale_months = locale.months,\n      locale_shortMonths = locale.shortMonths;\n\n  var periodRe = formatRe(locale_periods),\n      periodLookup = formatLookup(locale_periods),\n      weekdayRe = formatRe(locale_weekdays),\n      weekdayLookup = formatLookup(locale_weekdays),\n      shortWeekdayRe = formatRe(locale_shortWeekdays),\n      shortWeekdayLookup = formatLookup(locale_shortWeekdays),\n      monthRe = formatRe(locale_months),\n      monthLookup = formatLookup(locale_months),\n      shortMonthRe = formatRe(locale_shortMonths),\n      shortMonthLookup = formatLookup(locale_shortMonths);\n\n  var formats = {\n    \"a\": formatShortWeekday,\n    \"A\": formatWeekday,\n    \"b\": formatShortMonth,\n    \"B\": formatMonth,\n    \"c\": null,\n    \"d\": formatDayOfMonth,\n    \"e\": formatDayOfMonth,\n    \"H\": formatHour24,\n    \"I\": formatHour12,\n    \"j\": formatDayOfYear,\n    \"L\": formatMilliseconds,\n    \"m\": formatMonthNumber,\n    \"M\": formatMinutes,\n    \"p\": formatPeriod,\n    \"S\": formatSeconds,\n    \"U\": formatWeekNumberSunday,\n    \"w\": formatWeekdayNumber,\n    \"W\": formatWeekNumberMonday,\n    \"x\": null,\n    \"X\": null,\n    \"y\": formatYear,\n    \"Y\": formatFullYear,\n    \"Z\": formatZone,\n    \"%\": formatLiteralPercent\n  };\n\n  var utcFormats = {\n    \"a\": formatUTCShortWeekday,\n    \"A\": formatUTCWeekday,\n    \"b\": formatUTCShortMonth,\n    \"B\": formatUTCMonth,\n    \"c\": null,\n    \"d\": formatUTCDayOfMonth,\n    \"e\": formatUTCDayOfMonth,\n    \"H\": formatUTCHour24,\n    \"I\": formatUTCHour12,\n    \"j\": formatUTCDayOfYear,\n    \"L\": formatUTCMilliseconds,\n    \"m\": formatUTCMonthNumber,\n    \"M\": formatUTCMinutes,\n    \"p\": formatUTCPeriod,\n    \"S\": formatUTCSeconds,\n    \"U\": formatUTCWeekNumberSunday,\n    \"w\": formatUTCWeekdayNumber,\n    \"W\": formatUTCWeekNumberMonday,\n    \"x\": null,\n    \"X\": null,\n    \"y\": formatUTCYear,\n    \"Y\": formatUTCFullYear,\n    \"Z\": formatUTCZone,\n    \"%\": formatLiteralPercent\n  };\n\n  var parses = {\n    \"a\": parseShortWeekday,\n    \"A\": parseWeekday,\n    \"b\": parseShortMonth,\n    \"B\": parseMonth,\n    \"c\": parseLocaleDateTime,\n    \"d\": parseDayOfMonth,\n    \"e\": parseDayOfMonth,\n    \"H\": parseHour24,\n    \"I\": parseHour24,\n    \"j\": parseDayOfYear,\n    \"L\": parseMilliseconds,\n    \"m\": parseMonthNumber,\n    \"M\": parseMinutes,\n    \"p\": parsePeriod,\n    \"S\": parseSeconds,\n    \"U\": parseWeekNumberSunday,\n    \"w\": parseWeekdayNumber,\n    \"W\": parseWeekNumberMonday,\n    \"x\": parseLocaleDate,\n    \"X\": parseLocaleTime,\n    \"y\": parseYear,\n    \"Y\": parseFullYear,\n    \"Z\": parseZone,\n    \"%\": parseLiteralPercent\n  };\n\n  // These recursive directive definitions must be deferred.\n  formats.x = newFormat(locale_date, formats);\n  formats.X = newFormat(locale_time, formats);\n  formats.c = newFormat(locale_dateTime, formats);\n  utcFormats.x = newFormat(locale_date, utcFormats);\n  utcFormats.X = newFormat(locale_time, utcFormats);\n  utcFormats.c = newFormat(locale_dateTime, utcFormats);\n\n  function newFormat(specifier, formats) {\n    return function(date) {\n      var string = [],\n          i = -1,\n          j = 0,\n          n = specifier.length,\n          c,\n          pad,\n          format;\n\n      if (!(date instanceof Date)) date = new Date(+date);\n\n      while (++i < n) {\n        if (specifier.charCodeAt(i) === 37) {\n          string.push(specifier.slice(j, i));\n          if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);\n          else pad = c === \"e\" ? \" \" : \"0\";\n          if (format = formats[c]) c = format(date, pad);\n          string.push(c);\n          j = i + 1;\n        }\n      }\n\n      string.push(specifier.slice(j, i));\n      return string.join(\"\");\n    };\n  }\n\n  function newParse(specifier, newDate) {\n    return function(string) {\n      var d = newYear(1900),\n          i = parseSpecifier(d, specifier, string += \"\", 0);\n      if (i != string.length) return null;\n\n      // The am-pm flag is 0 for AM, and 1 for PM.\n      if (\"p\" in d) d.H = d.H % 12 + d.p * 12;\n\n      // Convert day-of-week and week-of-year to day-of-year.\n      if (\"W\" in d || \"U\" in d) {\n        if (!(\"w\" in d)) d.w = \"W\" in d ? 1 : 0;\n        var day$$1 = \"Z\" in d ? utcDate(newYear(d.y)).getUTCDay() : newDate(newYear(d.y)).getDay();\n        d.m = 0;\n        d.d = \"W\" in d ? (d.w + 6) % 7 + d.W * 7 - (day$$1 + 5) % 7 : d.w + d.U * 7 - (day$$1 + 6) % 7;\n      }\n\n      // If a time zone is specified, all fields are interpreted as UTC and then\n      // offset according to the specified time zone.\n      if (\"Z\" in d) {\n        d.H += d.Z / 100 | 0;\n        d.M += d.Z % 100;\n        return utcDate(d);\n      }\n\n      // Otherwise, all fields are in local time.\n      return newDate(d);\n    };\n  }\n\n  function parseSpecifier(d, specifier, string, j) {\n    var i = 0,\n        n = specifier.length,\n        m = string.length,\n        c,\n        parse;\n\n    while (i < n) {\n      if (j >= m) return -1;\n      c = specifier.charCodeAt(i++);\n      if (c === 37) {\n        c = specifier.charAt(i++);\n        parse = parses[c in pads ? specifier.charAt(i++) : c];\n        if (!parse || ((j = parse(d, string, j)) < 0)) return -1;\n      } else if (c != string.charCodeAt(j++)) {\n        return -1;\n      }\n    }\n\n    return j;\n  }\n\n  function parsePeriod(d, string, i) {\n    var n = periodRe.exec(string.slice(i));\n    return n ? (d.p = periodLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n  }\n\n  function parseShortWeekday(d, string, i) {\n    var n = shortWeekdayRe.exec(string.slice(i));\n    return n ? (d.w = shortWeekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n  }\n\n  function parseWeekday(d, string, i) {\n    var n = weekdayRe.exec(string.slice(i));\n    return n ? (d.w = weekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n  }\n\n  function parseShortMonth(d, string, i) {\n    var n = shortMonthRe.exec(string.slice(i));\n    return n ? (d.m = shortMonthLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n  }\n\n  function parseMonth(d, string, i) {\n    var n = monthRe.exec(string.slice(i));\n    return n ? (d.m = monthLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n  }\n\n  function parseLocaleDateTime(d, string, i) {\n    return parseSpecifier(d, locale_dateTime, string, i);\n  }\n\n  function parseLocaleDate(d, string, i) {\n    return parseSpecifier(d, locale_date, string, i);\n  }\n\n  function parseLocaleTime(d, string, i) {\n    return parseSpecifier(d, locale_time, string, i);\n  }\n\n  function formatShortWeekday(d) {\n    return locale_shortWeekdays[d.getDay()];\n  }\n\n  function formatWeekday(d) {\n    return locale_weekdays[d.getDay()];\n  }\n\n  function formatShortMonth(d) {\n    return locale_shortMonths[d.getMonth()];\n  }\n\n  function formatMonth(d) {\n    return locale_months[d.getMonth()];\n  }\n\n  function formatPeriod(d) {\n    return locale_periods[+(d.getHours() >= 12)];\n  }\n\n  function formatUTCShortWeekday(d) {\n    return locale_shortWeekdays[d.getUTCDay()];\n  }\n\n  function formatUTCWeekday(d) {\n    return locale_weekdays[d.getUTCDay()];\n  }\n\n  function formatUTCShortMonth(d) {\n    return locale_shortMonths[d.getUTCMonth()];\n  }\n\n  function formatUTCMonth(d) {\n    return locale_months[d.getUTCMonth()];\n  }\n\n  function formatUTCPeriod(d) {\n    return locale_periods[+(d.getUTCHours() >= 12)];\n  }\n\n  return {\n    format: function(specifier) {\n      var f = newFormat(specifier += \"\", formats);\n      f.toString = function() { return specifier; };\n      return f;\n    },\n    parse: function(specifier) {\n      var p = newParse(specifier += \"\", localDate);\n      p.toString = function() { return specifier; };\n      return p;\n    },\n    utcFormat: function(specifier) {\n      var f = newFormat(specifier += \"\", utcFormats);\n      f.toString = function() { return specifier; };\n      return f;\n    },\n    utcParse: function(specifier) {\n      var p = newParse(specifier, utcDate);\n      p.toString = function() { return specifier; };\n      return p;\n    }\n  };\n}\n\nvar pads = {\"-\": \"\", \"_\": \" \", \"0\": \"0\"};\nvar numberRe = /^\\s*\\d+/;\nvar percentRe = /^%/;\nvar requoteRe = /[\\\\\\^\\$\\*\\+\\?\\|\\[\\]\\(\\)\\.\\{\\}]/g;\n\nfunction pad(value, fill, width) {\n  var sign = value < 0 ? \"-\" : \"\",\n      string = (sign ? -value : value) + \"\",\n      length = string.length;\n  return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);\n}\n\nfunction requote(s) {\n  return s.replace(requoteRe, \"\\\\$&\");\n}\n\nfunction formatRe(names) {\n  return new RegExp(\"^(?:\" + names.map(requote).join(\"|\") + \")\", \"i\");\n}\n\nfunction formatLookup(names) {\n  var map = {}, i = -1, n = names.length;\n  while (++i < n) map[names[i].toLowerCase()] = i;\n  return map;\n}\n\nfunction parseWeekdayNumber(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 1));\n  return n ? (d.w = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberSunday(d, string, i) {\n  var n = numberRe.exec(string.slice(i));\n  return n ? (d.U = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberMonday(d, string, i) {\n  var n = numberRe.exec(string.slice(i));\n  return n ? (d.W = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseFullYear(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 4));\n  return n ? (d.y = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseYear(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 2));\n  return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;\n}\n\nfunction parseZone(d, string, i) {\n  var n = /^(Z)|([+-]\\d\\d)(?:\\:?(\\d\\d))?/.exec(string.slice(i, i + 6));\n  return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || \"00\")), i + n[0].length) : -1;\n}\n\nfunction parseMonthNumber(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 2));\n  return n ? (d.m = n[0] - 1, i + n[0].length) : -1;\n}\n\nfunction parseDayOfMonth(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 2));\n  return n ? (d.d = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseDayOfYear(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 3));\n  return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseHour24(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 2));\n  return n ? (d.H = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMinutes(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 2));\n  return n ? (d.M = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseSeconds(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 2));\n  return n ? (d.S = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMilliseconds(d, string, i) {\n  var n = numberRe.exec(string.slice(i, i + 3));\n  return n ? (d.L = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseLiteralPercent(d, string, i) {\n  var n = percentRe.exec(string.slice(i, i + 1));\n  return n ? i + n[0].length : -1;\n}\n\nfunction formatDayOfMonth(d, p) {\n  return pad(d.getDate(), p, 2);\n}\n\nfunction formatHour24(d, p) {\n  return pad(d.getHours(), p, 2);\n}\n\nfunction formatHour12(d, p) {\n  return pad(d.getHours() % 12 || 12, p, 2);\n}\n\nfunction formatDayOfYear(d, p) {\n  return pad(1 + day.count(year(d), d), p, 3);\n}\n\nfunction formatMilliseconds(d, p) {\n  return pad(d.getMilliseconds(), p, 3);\n}\n\nfunction formatMonthNumber(d, p) {\n  return pad(d.getMonth() + 1, p, 2);\n}\n\nfunction formatMinutes(d, p) {\n  return pad(d.getMinutes(), p, 2);\n}\n\nfunction formatSeconds(d, p) {\n  return pad(d.getSeconds(), p, 2);\n}\n\nfunction formatWeekNumberSunday(d, p) {\n  return pad(sunday.count(year(d), d), p, 2);\n}\n\nfunction formatWeekdayNumber(d) {\n  return d.getDay();\n}\n\nfunction formatWeekNumberMonday(d, p) {\n  return pad(monday.count(year(d), d), p, 2);\n}\n\nfunction formatYear(d, p) {\n  return pad(d.getFullYear() % 100, p, 2);\n}\n\nfunction formatFullYear(d, p) {\n  return pad(d.getFullYear() % 10000, p, 4);\n}\n\nfunction formatZone(d) {\n  var z = d.getTimezoneOffset();\n  return (z > 0 ? \"-\" : (z *= -1, \"+\"))\n      + pad(z / 60 | 0, \"0\", 2)\n      + pad(z % 60, \"0\", 2);\n}\n\nfunction formatUTCDayOfMonth(d, p) {\n  return pad(d.getUTCDate(), p, 2);\n}\n\nfunction formatUTCHour24(d, p) {\n  return pad(d.getUTCHours(), p, 2);\n}\n\nfunction formatUTCHour12(d, p) {\n  return pad(d.getUTCHours() % 12 || 12, p, 2);\n}\n\nfunction formatUTCDayOfYear(d, p) {\n  return pad(1 + utcDay.count(utcYear(d), d), p, 3);\n}\n\nfunction formatUTCMilliseconds(d, p) {\n  return pad(d.getUTCMilliseconds(), p, 3);\n}\n\nfunction formatUTCMonthNumber(d, p) {\n  return pad(d.getUTCMonth() + 1, p, 2);\n}\n\nfunction formatUTCMinutes(d, p) {\n  return pad(d.getUTCMinutes(), p, 2);\n}\n\nfunction formatUTCSeconds(d, p) {\n  return pad(d.getUTCSeconds(), p, 2);\n}\n\nfunction formatUTCWeekNumberSunday(d, p) {\n  return pad(utcSunday.count(utcYear(d), d), p, 2);\n}\n\nfunction formatUTCWeekdayNumber(d) {\n  return d.getUTCDay();\n}\n\nfunction formatUTCWeekNumberMonday(d, p) {\n  return pad(utcMonday.count(utcYear(d), d), p, 2);\n}\n\nfunction formatUTCYear(d, p) {\n  return pad(d.getUTCFullYear() % 100, p, 2);\n}\n\nfunction formatUTCFullYear(d, p) {\n  return pad(d.getUTCFullYear() % 10000, p, 4);\n}\n\nfunction formatUTCZone() {\n  return \"+0000\";\n}\n\nfunction formatLiteralPercent() {\n  return \"%\";\n}\n\nvar locale$2;\n\n\n\n\n\ndefaultLocale$1({\n  dateTime: \"%x, %X\",\n  date: \"%-m/%-d/%Y\",\n  time: \"%-I:%M:%S %p\",\n  periods: [\"AM\", \"PM\"],\n  days: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"],\n  shortDays: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n  months: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],\n  shortMonths: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"]\n});\n\nfunction defaultLocale$1(definition) {\n  locale$2 = formatLocale$1(definition);\n  exports.timeFormat = locale$2.format;\n  exports.timeParse = locale$2.parse;\n  exports.utcFormat = locale$2.utcFormat;\n  exports.utcParse = locale$2.utcParse;\n  return locale$2;\n}\n\nvar isoSpecifier = \"%Y-%m-%dT%H:%M:%S.%LZ\";\n\nfunction formatIsoNative(date) {\n  return date.toISOString();\n}\n\nvar formatIso = Date.prototype.toISOString\n    ? formatIsoNative\n    : exports.utcFormat(isoSpecifier);\n\nfunction parseIsoNative(string) {\n  var date = new Date(string);\n  return isNaN(date) ? null : date;\n}\n\nvar parseIso = +new Date(\"2000-01-01T00:00:00.000Z\")\n    ? parseIsoNative\n    : exports.utcParse(isoSpecifier);\n\nvar durationSecond = 1000;\nvar durationMinute = durationSecond * 60;\nvar durationHour = durationMinute * 60;\nvar durationDay = durationHour * 24;\nvar durationWeek = durationDay * 7;\nvar durationMonth = durationDay * 30;\nvar durationYear = durationDay * 365;\n\nfunction date$1(t) {\n  return new Date(t);\n}\n\nfunction number$2(t) {\n  return t instanceof Date ? +t : +new Date(+t);\n}\n\nfunction calendar(year$$1, month$$1, week, day$$1, hour$$1, minute$$1, second$$1, millisecond$$1, format) {\n  var scale = continuous(deinterpolateLinear, reinterpolate),\n      invert = scale.invert,\n      domain = scale.domain;\n\n  var formatMillisecond = format(\".%L\"),\n      formatSecond = format(\":%S\"),\n      formatMinute = format(\"%I:%M\"),\n      formatHour = format(\"%I %p\"),\n      formatDay = format(\"%a %d\"),\n      formatWeek = format(\"%b %d\"),\n      formatMonth = format(\"%B\"),\n      formatYear = format(\"%Y\");\n\n  var tickIntervals = [\n    [second$$1,  1,      durationSecond],\n    [second$$1,  5,  5 * durationSecond],\n    [second$$1, 15, 15 * durationSecond],\n    [second$$1, 30, 30 * durationSecond],\n    [minute$$1,  1,      durationMinute],\n    [minute$$1,  5,  5 * durationMinute],\n    [minute$$1, 15, 15 * durationMinute],\n    [minute$$1, 30, 30 * durationMinute],\n    [  hour$$1,  1,      durationHour  ],\n    [  hour$$1,  3,  3 * durationHour  ],\n    [  hour$$1,  6,  6 * durationHour  ],\n    [  hour$$1, 12, 12 * durationHour  ],\n    [   day$$1,  1,      durationDay   ],\n    [   day$$1,  2,  2 * durationDay   ],\n    [  week,  1,      durationWeek  ],\n    [ month$$1,  1,      durationMonth ],\n    [ month$$1,  3,  3 * durationMonth ],\n    [  year$$1,  1,      durationYear  ]\n  ];\n\n  function tickFormat(date) {\n    return (second$$1(date) < date ? formatMillisecond\n        : minute$$1(date) < date ? formatSecond\n        : hour$$1(date) < date ? formatMinute\n        : day$$1(date) < date ? formatHour\n        : month$$1(date) < date ? (week(date) < date ? formatDay : formatWeek)\n        : year$$1(date) < date ? formatMonth\n        : formatYear)(date);\n  }\n\n  function tickInterval(interval, start, stop, step) {\n    if (interval == null) interval = 10;\n\n    // If a desired tick count is specified, pick a reasonable tick interval\n    // based on the extent of the domain and a rough estimate of tick size.\n    // Otherwise, assume interval is already a time interval and use it.\n    if (typeof interval === \"number\") {\n      var target = Math.abs(stop - start) / interval,\n          i = bisector(function(i) { return i[2]; }).right(tickIntervals, target);\n      if (i === tickIntervals.length) {\n        step = tickStep(start / durationYear, stop / durationYear, interval);\n        interval = year$$1;\n      } else if (i) {\n        i = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i];\n        step = i[1];\n        interval = i[0];\n      } else {\n        step = tickStep(start, stop, interval);\n        interval = millisecond$$1;\n      }\n    }\n\n    return step == null ? interval : interval.every(step);\n  }\n\n  scale.invert = function(y) {\n    return new Date(invert(y));\n  };\n\n  scale.domain = function(_) {\n    return arguments.length ? domain(map$3.call(_, number$2)) : domain().map(date$1);\n  };\n\n  scale.ticks = function(interval, step) {\n    var d = domain(),\n        t0 = d[0],\n        t1 = d[d.length - 1],\n        r = t1 < t0,\n        t;\n    if (r) t = t0, t0 = t1, t1 = t;\n    t = tickInterval(interval, t0, t1, step);\n    t = t ? t.range(t0, t1 + 1) : []; // inclusive stop\n    return r ? t.reverse() : t;\n  };\n\n  scale.tickFormat = function(count, specifier) {\n    return specifier == null ? tickFormat : format(specifier);\n  };\n\n  scale.nice = function(interval, step) {\n    var d = domain();\n    return (interval = tickInterval(interval, d[0], d[d.length - 1], step))\n        ? domain(nice(d, interval))\n        : scale;\n  };\n\n  scale.copy = function() {\n    return copy(scale, calendar(year$$1, month$$1, week, day$$1, hour$$1, minute$$1, second$$1, millisecond$$1, format));\n  };\n\n  return scale;\n}\n\nvar time = function() {\n  return calendar(year, month, sunday, day, hour, minute, second, millisecond, exports.timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]);\n};\n\nvar utcTime = function() {\n  return calendar(utcYear, utcMonth, utcSunday, utcDay, utcHour, utcMinute, second, millisecond, exports.utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]);\n};\n\nvar colors = function(s) {\n  return s.match(/.{6}/g).map(function(x) {\n    return \"#\" + x;\n  });\n};\n\nvar category10 = colors(\"1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf\");\n\nvar category20b = colors(\"393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6\");\n\nvar category20c = colors(\"3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9\");\n\nvar category20 = colors(\"1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5\");\n\nvar cubehelix$3 = cubehelixLong(cubehelix(300, 0.5, 0.0), cubehelix(-240, 0.5, 1.0));\n\nvar warm = cubehelixLong(cubehelix(-100, 0.75, 0.35), cubehelix(80, 1.50, 0.8));\n\nvar cool = cubehelixLong(cubehelix(260, 0.75, 0.35), cubehelix(80, 1.50, 0.8));\n\nvar rainbow = cubehelix();\n\nvar rainbow$1 = function(t) {\n  if (t < 0 || t > 1) t -= Math.floor(t);\n  var ts = Math.abs(t - 0.5);\n  rainbow.h = 360 * t - 100;\n  rainbow.s = 1.5 - 1.5 * ts;\n  rainbow.l = 0.8 - 0.9 * ts;\n  return rainbow + \"\";\n};\n\nfunction ramp(range) {\n  var n = range.length;\n  return function(t) {\n    return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];\n  };\n}\n\nvar viridis = ramp(colors(\"44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725\"));\n\nvar magma = ramp(colors(\"00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf\"));\n\nvar inferno = ramp(colors(\"00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4\"));\n\nvar plasma = ramp(colors(\"0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921\"));\n\nfunction sequential(interpolator) {\n  var x0 = 0,\n      x1 = 1,\n      clamp = false;\n\n  function scale(x) {\n    var t = (x - x0) / (x1 - x0);\n    return interpolator(clamp ? Math.max(0, Math.min(1, t)) : t);\n  }\n\n  scale.domain = function(_) {\n    return arguments.length ? (x0 = +_[0], x1 = +_[1], scale) : [x0, x1];\n  };\n\n  scale.clamp = function(_) {\n    return arguments.length ? (clamp = !!_, scale) : clamp;\n  };\n\n  scale.interpolator = function(_) {\n    return arguments.length ? (interpolator = _, scale) : interpolator;\n  };\n\n  scale.copy = function() {\n    return sequential(interpolator).domain([x0, x1]).clamp(clamp);\n  };\n\n  return linearish(scale);\n}\n\nvar constant$10 = function(x) {\n  return function constant() {\n    return x;\n  };\n};\n\nvar abs$1 = Math.abs;\nvar atan2$1 = Math.atan2;\nvar cos$2 = Math.cos;\nvar max$2 = Math.max;\nvar min$1 = Math.min;\nvar sin$2 = Math.sin;\nvar sqrt$2 = Math.sqrt;\n\nvar epsilon$3 = 1e-12;\nvar pi$4 = Math.PI;\nvar halfPi$3 = pi$4 / 2;\nvar tau$4 = 2 * pi$4;\n\nfunction acos$1(x) {\n  return x > 1 ? 0 : x < -1 ? pi$4 : Math.acos(x);\n}\n\nfunction asin$1(x) {\n  return x >= 1 ? halfPi$3 : x <= -1 ? -halfPi$3 : Math.asin(x);\n}\n\nfunction arcInnerRadius(d) {\n  return d.innerRadius;\n}\n\nfunction arcOuterRadius(d) {\n  return d.outerRadius;\n}\n\nfunction arcStartAngle(d) {\n  return d.startAngle;\n}\n\nfunction arcEndAngle(d) {\n  return d.endAngle;\n}\n\nfunction arcPadAngle(d) {\n  return d && d.padAngle; // Note: optional!\n}\n\nfunction intersect(x0, y0, x1, y1, x2, y2, x3, y3) {\n  var x10 = x1 - x0, y10 = y1 - y0,\n      x32 = x3 - x2, y32 = y3 - y2,\n      t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / (y32 * x10 - x32 * y10);\n  return [x0 + t * x10, y0 + t * y10];\n}\n\n// Compute perpendicular offset line of length rc.\n// http://mathworld.wolfram.com/Circle-LineIntersection.html\nfunction cornerTangents(x0, y0, x1, y1, r1, rc, cw) {\n  var x01 = x0 - x1,\n      y01 = y0 - y1,\n      lo = (cw ? rc : -rc) / sqrt$2(x01 * x01 + y01 * y01),\n      ox = lo * y01,\n      oy = -lo * x01,\n      x11 = x0 + ox,\n      y11 = y0 + oy,\n      x10 = x1 + ox,\n      y10 = y1 + oy,\n      x00 = (x11 + x10) / 2,\n      y00 = (y11 + y10) / 2,\n      dx = x10 - x11,\n      dy = y10 - y11,\n      d2 = dx * dx + dy * dy,\n      r = r1 - rc,\n      D = x11 * y10 - x10 * y11,\n      d = (dy < 0 ? -1 : 1) * sqrt$2(max$2(0, r * r * d2 - D * D)),\n      cx0 = (D * dy - dx * d) / d2,\n      cy0 = (-D * dx - dy * d) / d2,\n      cx1 = (D * dy + dx * d) / d2,\n      cy1 = (-D * dx + dy * d) / d2,\n      dx0 = cx0 - x00,\n      dy0 = cy0 - y00,\n      dx1 = cx1 - x00,\n      dy1 = cy1 - y00;\n\n  // Pick the closer of the two intersection points.\n  // TODO Is there a faster way to determine which intersection to use?\n  if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) cx0 = cx1, cy0 = cy1;\n\n  return {\n    cx: cx0,\n    cy: cy0,\n    x01: -ox,\n    y01: -oy,\n    x11: cx0 * (r1 / r - 1),\n    y11: cy0 * (r1 / r - 1)\n  };\n}\n\nvar arc = function() {\n  var innerRadius = arcInnerRadius,\n      outerRadius = arcOuterRadius,\n      cornerRadius = constant$10(0),\n      padRadius = null,\n      startAngle = arcStartAngle,\n      endAngle = arcEndAngle,\n      padAngle = arcPadAngle,\n      context = null;\n\n  function arc() {\n    var buffer,\n        r,\n        r0 = +innerRadius.apply(this, arguments),\n        r1 = +outerRadius.apply(this, arguments),\n        a0 = startAngle.apply(this, arguments) - halfPi$3,\n        a1 = endAngle.apply(this, arguments) - halfPi$3,\n        da = abs$1(a1 - a0),\n        cw = a1 > a0;\n\n    if (!context) context = buffer = path();\n\n    // Ensure that the outer radius is always larger than the inner radius.\n    if (r1 < r0) r = r1, r1 = r0, r0 = r;\n\n    // Is it a point?\n    if (!(r1 > epsilon$3)) context.moveTo(0, 0);\n\n    // Or is it a circle or annulus?\n    else if (da > tau$4 - epsilon$3) {\n      context.moveTo(r1 * cos$2(a0), r1 * sin$2(a0));\n      context.arc(0, 0, r1, a0, a1, !cw);\n      if (r0 > epsilon$3) {\n        context.moveTo(r0 * cos$2(a1), r0 * sin$2(a1));\n        context.arc(0, 0, r0, a1, a0, cw);\n      }\n    }\n\n    // Or is it a circular or annular sector?\n    else {\n      var a01 = a0,\n          a11 = a1,\n          a00 = a0,\n          a10 = a1,\n          da0 = da,\n          da1 = da,\n          ap = padAngle.apply(this, arguments) / 2,\n          rp = (ap > epsilon$3) && (padRadius ? +padRadius.apply(this, arguments) : sqrt$2(r0 * r0 + r1 * r1)),\n          rc = min$1(abs$1(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),\n          rc0 = rc,\n          rc1 = rc,\n          t0,\n          t1;\n\n      // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.\n      if (rp > epsilon$3) {\n        var p0 = asin$1(rp / r0 * sin$2(ap)),\n            p1 = asin$1(rp / r1 * sin$2(ap));\n        if ((da0 -= p0 * 2) > epsilon$3) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;\n        else da0 = 0, a00 = a10 = (a0 + a1) / 2;\n        if ((da1 -= p1 * 2) > epsilon$3) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;\n        else da1 = 0, a01 = a11 = (a0 + a1) / 2;\n      }\n\n      var x01 = r1 * cos$2(a01),\n          y01 = r1 * sin$2(a01),\n          x10 = r0 * cos$2(a10),\n          y10 = r0 * sin$2(a10);\n\n      // Apply rounded corners?\n      if (rc > epsilon$3) {\n        var x11 = r1 * cos$2(a11),\n            y11 = r1 * sin$2(a11),\n            x00 = r0 * cos$2(a00),\n            y00 = r0 * sin$2(a00);\n\n        // Restrict the corner radius according to the sector angle.\n        if (da < pi$4) {\n          var oc = da0 > epsilon$3 ? intersect(x01, y01, x00, y00, x11, y11, x10, y10) : [x10, y10],\n              ax = x01 - oc[0],\n              ay = y01 - oc[1],\n              bx = x11 - oc[0],\n              by = y11 - oc[1],\n              kc = 1 / sin$2(acos$1((ax * bx + ay * by) / (sqrt$2(ax * ax + ay * ay) * sqrt$2(bx * bx + by * by))) / 2),\n              lc = sqrt$2(oc[0] * oc[0] + oc[1] * oc[1]);\n          rc0 = min$1(rc, (r0 - lc) / (kc - 1));\n          rc1 = min$1(rc, (r1 - lc) / (kc + 1));\n        }\n      }\n\n      // Is the sector collapsed to a line?\n      if (!(da1 > epsilon$3)) context.moveTo(x01, y01);\n\n      // Does the sector’s outer ring have rounded corners?\n      else if (rc1 > epsilon$3) {\n        t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);\n        t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);\n\n        context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);\n\n        // Have the corners merged?\n        if (rc1 < rc) context.arc(t0.cx, t0.cy, rc1, atan2$1(t0.y01, t0.x01), atan2$1(t1.y01, t1.x01), !cw);\n\n        // Otherwise, draw the two corners and the ring.\n        else {\n          context.arc(t0.cx, t0.cy, rc1, atan2$1(t0.y01, t0.x01), atan2$1(t0.y11, t0.x11), !cw);\n          context.arc(0, 0, r1, atan2$1(t0.cy + t0.y11, t0.cx + t0.x11), atan2$1(t1.cy + t1.y11, t1.cx + t1.x11), !cw);\n          context.arc(t1.cx, t1.cy, rc1, atan2$1(t1.y11, t1.x11), atan2$1(t1.y01, t1.x01), !cw);\n        }\n      }\n\n      // Or is the outer ring just a circular arc?\n      else context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw);\n\n      // Is there no inner ring, and it’s a circular sector?\n      // Or perhaps it’s an annular sector collapsed due to padding?\n      if (!(r0 > epsilon$3) || !(da0 > epsilon$3)) context.lineTo(x10, y10);\n\n      // Does the sector’s inner ring (or point) have rounded corners?\n      else if (rc0 > epsilon$3) {\n        t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);\n        t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);\n\n        context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);\n\n        // Have the corners merged?\n        if (rc0 < rc) context.arc(t0.cx, t0.cy, rc0, atan2$1(t0.y01, t0.x01), atan2$1(t1.y01, t1.x01), !cw);\n\n        // Otherwise, draw the two corners and the ring.\n        else {\n          context.arc(t0.cx, t0.cy, rc0, atan2$1(t0.y01, t0.x01), atan2$1(t0.y11, t0.x11), !cw);\n          context.arc(0, 0, r0, atan2$1(t0.cy + t0.y11, t0.cx + t0.x11), atan2$1(t1.cy + t1.y11, t1.cx + t1.x11), cw);\n          context.arc(t1.cx, t1.cy, rc0, atan2$1(t1.y11, t1.x11), atan2$1(t1.y01, t1.x01), !cw);\n        }\n      }\n\n      // Or is the inner ring just a circular arc?\n      else context.arc(0, 0, r0, a10, a00, cw);\n    }\n\n    context.closePath();\n\n    if (buffer) return context = null, buffer + \"\" || null;\n  }\n\n  arc.centroid = function() {\n    var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,\n        a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi$4 / 2;\n    return [cos$2(a) * r, sin$2(a) * r];\n  };\n\n  arc.innerRadius = function(_) {\n    return arguments.length ? (innerRadius = typeof _ === \"function\" ? _ : constant$10(+_), arc) : innerRadius;\n  };\n\n  arc.outerRadius = function(_) {\n    return arguments.length ? (outerRadius = typeof _ === \"function\" ? _ : constant$10(+_), arc) : outerRadius;\n  };\n\n  arc.cornerRadius = function(_) {\n    return arguments.length ? (cornerRadius = typeof _ === \"function\" ? _ : constant$10(+_), arc) : cornerRadius;\n  };\n\n  arc.padRadius = function(_) {\n    return arguments.length ? (padRadius = _ == null ? null : typeof _ === \"function\" ? _ : constant$10(+_), arc) : padRadius;\n  };\n\n  arc.startAngle = function(_) {\n    return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant$10(+_), arc) : startAngle;\n  };\n\n  arc.endAngle = function(_) {\n    return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant$10(+_), arc) : endAngle;\n  };\n\n  arc.padAngle = function(_) {\n    return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant$10(+_), arc) : padAngle;\n  };\n\n  arc.context = function(_) {\n    return arguments.length ? ((context = _ == null ? null : _), arc) : context;\n  };\n\n  return arc;\n};\n\nfunction Linear(context) {\n  this._context = context;\n}\n\nLinear.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._point = 0;\n  },\n  lineEnd: function() {\n    if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n    this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    switch (this._point) {\n      case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n      case 1: this._point = 2; // proceed\n      default: this._context.lineTo(x, y); break;\n    }\n  }\n};\n\nvar curveLinear = function(context) {\n  return new Linear(context);\n};\n\nfunction x$3(p) {\n  return p[0];\n}\n\nfunction y$3(p) {\n  return p[1];\n}\n\nvar line = function() {\n  var x$$1 = x$3,\n      y$$1 = y$3,\n      defined = constant$10(true),\n      context = null,\n      curve = curveLinear,\n      output = null;\n\n  function line(data) {\n    var i,\n        n = data.length,\n        d,\n        defined0 = false,\n        buffer;\n\n    if (context == null) output = curve(buffer = path());\n\n    for (i = 0; i <= n; ++i) {\n      if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n        if (defined0 = !defined0) output.lineStart();\n        else output.lineEnd();\n      }\n      if (defined0) output.point(+x$$1(d, i, data), +y$$1(d, i, data));\n    }\n\n    if (buffer) return output = null, buffer + \"\" || null;\n  }\n\n  line.x = function(_) {\n    return arguments.length ? (x$$1 = typeof _ === \"function\" ? _ : constant$10(+_), line) : x$$1;\n  };\n\n  line.y = function(_) {\n    return arguments.length ? (y$$1 = typeof _ === \"function\" ? _ : constant$10(+_), line) : y$$1;\n  };\n\n  line.defined = function(_) {\n    return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant$10(!!_), line) : defined;\n  };\n\n  line.curve = function(_) {\n    return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;\n  };\n\n  line.context = function(_) {\n    return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;\n  };\n\n  return line;\n};\n\nvar area$2 = function() {\n  var x0 = x$3,\n      x1 = null,\n      y0 = constant$10(0),\n      y1 = y$3,\n      defined = constant$10(true),\n      context = null,\n      curve = curveLinear,\n      output = null;\n\n  function area(data) {\n    var i,\n        j,\n        k,\n        n = data.length,\n        d,\n        defined0 = false,\n        buffer,\n        x0z = new Array(n),\n        y0z = new Array(n);\n\n    if (context == null) output = curve(buffer = path());\n\n    for (i = 0; i <= n; ++i) {\n      if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n        if (defined0 = !defined0) {\n          j = i;\n          output.areaStart();\n          output.lineStart();\n        } else {\n          output.lineEnd();\n          output.lineStart();\n          for (k = i - 1; k >= j; --k) {\n            output.point(x0z[k], y0z[k]);\n          }\n          output.lineEnd();\n          output.areaEnd();\n        }\n      }\n      if (defined0) {\n        x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);\n        output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);\n      }\n    }\n\n    if (buffer) return output = null, buffer + \"\" || null;\n  }\n\n  function arealine() {\n    return line().defined(defined).curve(curve).context(context);\n  }\n\n  area.x = function(_) {\n    return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant$10(+_), x1 = null, area) : x0;\n  };\n\n  area.x0 = function(_) {\n    return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant$10(+_), area) : x0;\n  };\n\n  area.x1 = function(_) {\n    return arguments.length ? (x1 = _ == null ? null : typeof _ === \"function\" ? _ : constant$10(+_), area) : x1;\n  };\n\n  area.y = function(_) {\n    return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant$10(+_), y1 = null, area) : y0;\n  };\n\n  area.y0 = function(_) {\n    return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant$10(+_), area) : y0;\n  };\n\n  area.y1 = function(_) {\n    return arguments.length ? (y1 = _ == null ? null : typeof _ === \"function\" ? _ : constant$10(+_), area) : y1;\n  };\n\n  area.lineX0 =\n  area.lineY0 = function() {\n    return arealine().x(x0).y(y0);\n  };\n\n  area.lineY1 = function() {\n    return arealine().x(x0).y(y1);\n  };\n\n  area.lineX1 = function() {\n    return arealine().x(x1).y(y0);\n  };\n\n  area.defined = function(_) {\n    return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant$10(!!_), area) : defined;\n  };\n\n  area.curve = function(_) {\n    return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;\n  };\n\n  area.context = function(_) {\n    return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;\n  };\n\n  return area;\n};\n\nvar descending$1 = function(a, b) {\n  return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n};\n\nvar identity$7 = function(d) {\n  return d;\n};\n\nvar pie = function() {\n  var value = identity$7,\n      sortValues = descending$1,\n      sort = null,\n      startAngle = constant$10(0),\n      endAngle = constant$10(tau$4),\n      padAngle = constant$10(0);\n\n  function pie(data) {\n    var i,\n        n = data.length,\n        j,\n        k,\n        sum = 0,\n        index = new Array(n),\n        arcs = new Array(n),\n        a0 = +startAngle.apply(this, arguments),\n        da = Math.min(tau$4, Math.max(-tau$4, endAngle.apply(this, arguments) - a0)),\n        a1,\n        p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)),\n        pa = p * (da < 0 ? -1 : 1),\n        v;\n\n    for (i = 0; i < n; ++i) {\n      if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) {\n        sum += v;\n      }\n    }\n\n    // Optionally sort the arcs by previously-computed values or by data.\n    if (sortValues != null) index.sort(function(i, j) { return sortValues(arcs[i], arcs[j]); });\n    else if (sort != null) index.sort(function(i, j) { return sort(data[i], data[j]); });\n\n    // Compute the arcs! They are stored in the original data's order.\n    for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) {\n      j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = {\n        data: data[j],\n        index: i,\n        value: v,\n        startAngle: a0,\n        endAngle: a1,\n        padAngle: p\n      };\n    }\n\n    return arcs;\n  }\n\n  pie.value = function(_) {\n    return arguments.length ? (value = typeof _ === \"function\" ? _ : constant$10(+_), pie) : value;\n  };\n\n  pie.sortValues = function(_) {\n    return arguments.length ? (sortValues = _, sort = null, pie) : sortValues;\n  };\n\n  pie.sort = function(_) {\n    return arguments.length ? (sort = _, sortValues = null, pie) : sort;\n  };\n\n  pie.startAngle = function(_) {\n    return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant$10(+_), pie) : startAngle;\n  };\n\n  pie.endAngle = function(_) {\n    return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant$10(+_), pie) : endAngle;\n  };\n\n  pie.padAngle = function(_) {\n    return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant$10(+_), pie) : padAngle;\n  };\n\n  return pie;\n};\n\nvar curveRadialLinear = curveRadial(curveLinear);\n\nfunction Radial(curve) {\n  this._curve = curve;\n}\n\nRadial.prototype = {\n  areaStart: function() {\n    this._curve.areaStart();\n  },\n  areaEnd: function() {\n    this._curve.areaEnd();\n  },\n  lineStart: function() {\n    this._curve.lineStart();\n  },\n  lineEnd: function() {\n    this._curve.lineEnd();\n  },\n  point: function(a, r) {\n    this._curve.point(r * Math.sin(a), r * -Math.cos(a));\n  }\n};\n\nfunction curveRadial(curve) {\n\n  function radial(context) {\n    return new Radial(curve(context));\n  }\n\n  radial._curve = curve;\n\n  return radial;\n}\n\nfunction radialLine(l) {\n  var c = l.curve;\n\n  l.angle = l.x, delete l.x;\n  l.radius = l.y, delete l.y;\n\n  l.curve = function(_) {\n    return arguments.length ? c(curveRadial(_)) : c()._curve;\n  };\n\n  return l;\n}\n\nvar radialLine$1 = function() {\n  return radialLine(line().curve(curveRadialLinear));\n};\n\nvar radialArea = function() {\n  var a = area$2().curve(curveRadialLinear),\n      c = a.curve,\n      x0 = a.lineX0,\n      x1 = a.lineX1,\n      y0 = a.lineY0,\n      y1 = a.lineY1;\n\n  a.angle = a.x, delete a.x;\n  a.startAngle = a.x0, delete a.x0;\n  a.endAngle = a.x1, delete a.x1;\n  a.radius = a.y, delete a.y;\n  a.innerRadius = a.y0, delete a.y0;\n  a.outerRadius = a.y1, delete a.y1;\n  a.lineStartAngle = function() { return radialLine(x0()); }, delete a.lineX0;\n  a.lineEndAngle = function() { return radialLine(x1()); }, delete a.lineX1;\n  a.lineInnerRadius = function() { return radialLine(y0()); }, delete a.lineY0;\n  a.lineOuterRadius = function() { return radialLine(y1()); }, delete a.lineY1;\n\n  a.curve = function(_) {\n    return arguments.length ? c(curveRadial(_)) : c()._curve;\n  };\n\n  return a;\n};\n\nvar slice$5 = Array.prototype.slice;\n\nvar radialPoint = function(x, y) {\n  return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];\n};\n\nfunction linkSource(d) {\n  return d.source;\n}\n\nfunction linkTarget(d) {\n  return d.target;\n}\n\nfunction link$2(curve) {\n  var source = linkSource,\n      target = linkTarget,\n      x$$1 = x$3,\n      y$$1 = y$3,\n      context = null;\n\n  function link() {\n    var buffer, argv = slice$5.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n    if (!context) context = buffer = path();\n    curve(context, +x$$1.apply(this, (argv[0] = s, argv)), +y$$1.apply(this, argv), +x$$1.apply(this, (argv[0] = t, argv)), +y$$1.apply(this, argv));\n    if (buffer) return context = null, buffer + \"\" || null;\n  }\n\n  link.source = function(_) {\n    return arguments.length ? (source = _, link) : source;\n  };\n\n  link.target = function(_) {\n    return arguments.length ? (target = _, link) : target;\n  };\n\n  link.x = function(_) {\n    return arguments.length ? (x$$1 = typeof _ === \"function\" ? _ : constant$10(+_), link) : x$$1;\n  };\n\n  link.y = function(_) {\n    return arguments.length ? (y$$1 = typeof _ === \"function\" ? _ : constant$10(+_), link) : y$$1;\n  };\n\n  link.context = function(_) {\n    return arguments.length ? ((context = _ == null ? null : _), link) : context;\n  };\n\n  return link;\n}\n\nfunction curveHorizontal(context, x0, y0, x1, y1) {\n  context.moveTo(x0, y0);\n  context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n}\n\nfunction curveVertical(context, x0, y0, x1, y1) {\n  context.moveTo(x0, y0);\n  context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n}\n\nfunction curveRadial$1(context, x0, y0, x1, y1) {\n  var p0 = radialPoint(x0, y0),\n      p1 = radialPoint(x0, y0 = (y0 + y1) / 2),\n      p2 = radialPoint(x1, y0),\n      p3 = radialPoint(x1, y1);\n  context.moveTo(p0[0], p0[1]);\n  context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n}\n\nfunction linkHorizontal() {\n  return link$2(curveHorizontal);\n}\n\nfunction linkVertical() {\n  return link$2(curveVertical);\n}\n\nfunction linkRadial() {\n  var l = link$2(curveRadial$1);\n  l.angle = l.x, delete l.x;\n  l.radius = l.y, delete l.y;\n  return l;\n}\n\nvar circle$2 = {\n  draw: function(context, size) {\n    var r = Math.sqrt(size / pi$4);\n    context.moveTo(r, 0);\n    context.arc(0, 0, r, 0, tau$4);\n  }\n};\n\nvar cross$2 = {\n  draw: function(context, size) {\n    var r = Math.sqrt(size / 5) / 2;\n    context.moveTo(-3 * r, -r);\n    context.lineTo(-r, -r);\n    context.lineTo(-r, -3 * r);\n    context.lineTo(r, -3 * r);\n    context.lineTo(r, -r);\n    context.lineTo(3 * r, -r);\n    context.lineTo(3 * r, r);\n    context.lineTo(r, r);\n    context.lineTo(r, 3 * r);\n    context.lineTo(-r, 3 * r);\n    context.lineTo(-r, r);\n    context.lineTo(-3 * r, r);\n    context.closePath();\n  }\n};\n\nvar tan30 = Math.sqrt(1 / 3);\nvar tan30_2 = tan30 * 2;\n\nvar diamond = {\n  draw: function(context, size) {\n    var y = Math.sqrt(size / tan30_2),\n        x = y * tan30;\n    context.moveTo(0, -y);\n    context.lineTo(x, 0);\n    context.lineTo(0, y);\n    context.lineTo(-x, 0);\n    context.closePath();\n  }\n};\n\nvar ka = 0.89081309152928522810;\nvar kr = Math.sin(pi$4 / 10) / Math.sin(7 * pi$4 / 10);\nvar kx = Math.sin(tau$4 / 10) * kr;\nvar ky = -Math.cos(tau$4 / 10) * kr;\n\nvar star = {\n  draw: function(context, size) {\n    var r = Math.sqrt(size * ka),\n        x = kx * r,\n        y = ky * r;\n    context.moveTo(0, -r);\n    context.lineTo(x, y);\n    for (var i = 1; i < 5; ++i) {\n      var a = tau$4 * i / 5,\n          c = Math.cos(a),\n          s = Math.sin(a);\n      context.lineTo(s * r, -c * r);\n      context.lineTo(c * x - s * y, s * x + c * y);\n    }\n    context.closePath();\n  }\n};\n\nvar square = {\n  draw: function(context, size) {\n    var w = Math.sqrt(size),\n        x = -w / 2;\n    context.rect(x, x, w, w);\n  }\n};\n\nvar sqrt3 = Math.sqrt(3);\n\nvar triangle = {\n  draw: function(context, size) {\n    var y = -Math.sqrt(size / (sqrt3 * 3));\n    context.moveTo(0, y * 2);\n    context.lineTo(-sqrt3 * y, -y);\n    context.lineTo(sqrt3 * y, -y);\n    context.closePath();\n  }\n};\n\nvar c = -0.5;\nvar s = Math.sqrt(3) / 2;\nvar k = 1 / Math.sqrt(12);\nvar a = (k / 2 + 1) * 3;\n\nvar wye = {\n  draw: function(context, size) {\n    var r = Math.sqrt(size / a),\n        x0 = r / 2,\n        y0 = r * k,\n        x1 = x0,\n        y1 = r * k + r,\n        x2 = -x1,\n        y2 = y1;\n    context.moveTo(x0, y0);\n    context.lineTo(x1, y1);\n    context.lineTo(x2, y2);\n    context.lineTo(c * x0 - s * y0, s * x0 + c * y0);\n    context.lineTo(c * x1 - s * y1, s * x1 + c * y1);\n    context.lineTo(c * x2 - s * y2, s * x2 + c * y2);\n    context.lineTo(c * x0 + s * y0, c * y0 - s * x0);\n    context.lineTo(c * x1 + s * y1, c * y1 - s * x1);\n    context.lineTo(c * x2 + s * y2, c * y2 - s * x2);\n    context.closePath();\n  }\n};\n\nvar symbols = [\n  circle$2,\n  cross$2,\n  diamond,\n  square,\n  star,\n  triangle,\n  wye\n];\n\nvar symbol = function() {\n  var type = constant$10(circle$2),\n      size = constant$10(64),\n      context = null;\n\n  function symbol() {\n    var buffer;\n    if (!context) context = buffer = path();\n    type.apply(this, arguments).draw(context, +size.apply(this, arguments));\n    if (buffer) return context = null, buffer + \"\" || null;\n  }\n\n  symbol.type = function(_) {\n    return arguments.length ? (type = typeof _ === \"function\" ? _ : constant$10(_), symbol) : type;\n  };\n\n  symbol.size = function(_) {\n    return arguments.length ? (size = typeof _ === \"function\" ? _ : constant$10(+_), symbol) : size;\n  };\n\n  symbol.context = function(_) {\n    return arguments.length ? (context = _ == null ? null : _, symbol) : context;\n  };\n\n  return symbol;\n};\n\nvar noop$2 = function() {};\n\nfunction point$2(that, x, y) {\n  that._context.bezierCurveTo(\n    (2 * that._x0 + that._x1) / 3,\n    (2 * that._y0 + that._y1) / 3,\n    (that._x0 + 2 * that._x1) / 3,\n    (that._y0 + 2 * that._y1) / 3,\n    (that._x0 + 4 * that._x1 + x) / 6,\n    (that._y0 + 4 * that._y1 + y) / 6\n  );\n}\n\nfunction Basis(context) {\n  this._context = context;\n}\n\nBasis.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x0 = this._x1 =\n    this._y0 = this._y1 = NaN;\n    this._point = 0;\n  },\n  lineEnd: function() {\n    switch (this._point) {\n      case 3: point$2(this, this._x1, this._y1); // proceed\n      case 2: this._context.lineTo(this._x1, this._y1); break;\n    }\n    if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n    this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    switch (this._point) {\n      case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n      case 1: this._point = 2; break;\n      case 2: this._point = 3; this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // proceed\n      default: point$2(this, x, y); break;\n    }\n    this._x0 = this._x1, this._x1 = x;\n    this._y0 = this._y1, this._y1 = y;\n  }\n};\n\nvar basis$2 = function(context) {\n  return new Basis(context);\n};\n\nfunction BasisClosed(context) {\n  this._context = context;\n}\n\nBasisClosed.prototype = {\n  areaStart: noop$2,\n  areaEnd: noop$2,\n  lineStart: function() {\n    this._x0 = this._x1 = this._x2 = this._x3 = this._x4 =\n    this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;\n    this._point = 0;\n  },\n  lineEnd: function() {\n    switch (this._point) {\n      case 1: {\n        this._context.moveTo(this._x2, this._y2);\n        this._context.closePath();\n        break;\n      }\n      case 2: {\n        this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);\n        this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);\n        this._context.closePath();\n        break;\n      }\n      case 3: {\n        this.point(this._x2, this._y2);\n        this.point(this._x3, this._y3);\n        this.point(this._x4, this._y4);\n        break;\n      }\n    }\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    switch (this._point) {\n      case 0: this._point = 1; this._x2 = x, this._y2 = y; break;\n      case 1: this._point = 2; this._x3 = x, this._y3 = y; break;\n      case 2: this._point = 3; this._x4 = x, this._y4 = y; this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6); break;\n      default: point$2(this, x, y); break;\n    }\n    this._x0 = this._x1, this._x1 = x;\n    this._y0 = this._y1, this._y1 = y;\n  }\n};\n\nvar basisClosed$1 = function(context) {\n  return new BasisClosed(context);\n};\n\nfunction BasisOpen(context) {\n  this._context = context;\n}\n\nBasisOpen.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x0 = this._x1 =\n    this._y0 = this._y1 = NaN;\n    this._point = 0;\n  },\n  lineEnd: function() {\n    if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n    this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    switch (this._point) {\n      case 0: this._point = 1; break;\n      case 1: this._point = 2; break;\n      case 2: this._point = 3; var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6; this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0); break;\n      case 3: this._point = 4; // proceed\n      default: point$2(this, x, y); break;\n    }\n    this._x0 = this._x1, this._x1 = x;\n    this._y0 = this._y1, this._y1 = y;\n  }\n};\n\nvar basisOpen = function(context) {\n  return new BasisOpen(context);\n};\n\nfunction Bundle(context, beta) {\n  this._basis = new Basis(context);\n  this._beta = beta;\n}\n\nBundle.prototype = {\n  lineStart: function() {\n    this._x = [];\n    this._y = [];\n    this._basis.lineStart();\n  },\n  lineEnd: function() {\n    var x = this._x,\n        y = this._y,\n        j = x.length - 1;\n\n    if (j > 0) {\n      var x0 = x[0],\n          y0 = y[0],\n          dx = x[j] - x0,\n          dy = y[j] - y0,\n          i = -1,\n          t;\n\n      while (++i <= j) {\n        t = i / j;\n        this._basis.point(\n          this._beta * x[i] + (1 - this._beta) * (x0 + t * dx),\n          this._beta * y[i] + (1 - this._beta) * (y0 + t * dy)\n        );\n      }\n    }\n\n    this._x = this._y = null;\n    this._basis.lineEnd();\n  },\n  point: function(x, y) {\n    this._x.push(+x);\n    this._y.push(+y);\n  }\n};\n\nvar bundle = ((function custom(beta) {\n\n  function bundle(context) {\n    return beta === 1 ? new Basis(context) : new Bundle(context, beta);\n  }\n\n  bundle.beta = function(beta) {\n    return custom(+beta);\n  };\n\n  return bundle;\n}))(0.85);\n\nfunction point$3(that, x, y) {\n  that._context.bezierCurveTo(\n    that._x1 + that._k * (that._x2 - that._x0),\n    that._y1 + that._k * (that._y2 - that._y0),\n    that._x2 + that._k * (that._x1 - x),\n    that._y2 + that._k * (that._y1 - y),\n    that._x2,\n    that._y2\n  );\n}\n\nfunction Cardinal(context, tension) {\n  this._context = context;\n  this._k = (1 - tension) / 6;\n}\n\nCardinal.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x0 = this._x1 = this._x2 =\n    this._y0 = this._y1 = this._y2 = NaN;\n    this._point = 0;\n  },\n  lineEnd: function() {\n    switch (this._point) {\n      case 2: this._context.lineTo(this._x2, this._y2); break;\n      case 3: point$3(this, this._x1, this._y1); break;\n    }\n    if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n    this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    switch (this._point) {\n      case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n      case 1: this._point = 2; this._x1 = x, this._y1 = y; break;\n      case 2: this._point = 3; // proceed\n      default: point$3(this, x, y); break;\n    }\n    this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n    this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n  }\n};\n\nvar cardinal = ((function custom(tension) {\n\n  function cardinal(context) {\n    return new Cardinal(context, tension);\n  }\n\n  cardinal.tension = function(tension) {\n    return custom(+tension);\n  };\n\n  return cardinal;\n}))(0);\n\nfunction CardinalClosed(context, tension) {\n  this._context = context;\n  this._k = (1 - tension) / 6;\n}\n\nCardinalClosed.prototype = {\n  areaStart: noop$2,\n  areaEnd: noop$2,\n  lineStart: function() {\n    this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n    this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n    this._point = 0;\n  },\n  lineEnd: function() {\n    switch (this._point) {\n      case 1: {\n        this._context.moveTo(this._x3, this._y3);\n        this._context.closePath();\n        break;\n      }\n      case 2: {\n        this._context.lineTo(this._x3, this._y3);\n        this._context.closePath();\n        break;\n      }\n      case 3: {\n        this.point(this._x3, this._y3);\n        this.point(this._x4, this._y4);\n        this.point(this._x5, this._y5);\n        break;\n      }\n    }\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    switch (this._point) {\n      case 0: this._point = 1; this._x3 = x, this._y3 = y; break;\n      case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;\n      case 2: this._point = 3; this._x5 = x, this._y5 = y; break;\n      default: point$3(this, x, y); break;\n    }\n    this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n    this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n  }\n};\n\nvar cardinalClosed = ((function custom(tension) {\n\n  function cardinal(context) {\n    return new CardinalClosed(context, tension);\n  }\n\n  cardinal.tension = function(tension) {\n    return custom(+tension);\n  };\n\n  return cardinal;\n}))(0);\n\nfunction CardinalOpen(context, tension) {\n  this._context = context;\n  this._k = (1 - tension) / 6;\n}\n\nCardinalOpen.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x0 = this._x1 = this._x2 =\n    this._y0 = this._y1 = this._y2 = NaN;\n    this._point = 0;\n  },\n  lineEnd: function() {\n    if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n    this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    switch (this._point) {\n      case 0: this._point = 1; break;\n      case 1: this._point = 2; break;\n      case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;\n      case 3: this._point = 4; // proceed\n      default: point$3(this, x, y); break;\n    }\n    this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n    this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n  }\n};\n\nvar cardinalOpen = ((function custom(tension) {\n\n  function cardinal(context) {\n    return new CardinalOpen(context, tension);\n  }\n\n  cardinal.tension = function(tension) {\n    return custom(+tension);\n  };\n\n  return cardinal;\n}))(0);\n\nfunction point$4(that, x, y) {\n  var x1 = that._x1,\n      y1 = that._y1,\n      x2 = that._x2,\n      y2 = that._y2;\n\n  if (that._l01_a > epsilon$3) {\n    var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,\n        n = 3 * that._l01_a * (that._l01_a + that._l12_a);\n    x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;\n    y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;\n  }\n\n  if (that._l23_a > epsilon$3) {\n    var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,\n        m = 3 * that._l23_a * (that._l23_a + that._l12_a);\n    x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;\n    y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;\n  }\n\n  that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);\n}\n\nfunction CatmullRom(context, alpha) {\n  this._context = context;\n  this._alpha = alpha;\n}\n\nCatmullRom.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x0 = this._x1 = this._x2 =\n    this._y0 = this._y1 = this._y2 = NaN;\n    this._l01_a = this._l12_a = this._l23_a =\n    this._l01_2a = this._l12_2a = this._l23_2a =\n    this._point = 0;\n  },\n  lineEnd: function() {\n    switch (this._point) {\n      case 2: this._context.lineTo(this._x2, this._y2); break;\n      case 3: this.point(this._x2, this._y2); break;\n    }\n    if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n    this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n\n    if (this._point) {\n      var x23 = this._x2 - x,\n          y23 = this._y2 - y;\n      this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n    }\n\n    switch (this._point) {\n      case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n      case 1: this._point = 2; break;\n      case 2: this._point = 3; // proceed\n      default: point$4(this, x, y); break;\n    }\n\n    this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n    this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n    this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n    this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n  }\n};\n\nvar catmullRom = ((function custom(alpha) {\n\n  function catmullRom(context) {\n    return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);\n  }\n\n  catmullRom.alpha = function(alpha) {\n    return custom(+alpha);\n  };\n\n  return catmullRom;\n}))(0.5);\n\nfunction CatmullRomClosed(context, alpha) {\n  this._context = context;\n  this._alpha = alpha;\n}\n\nCatmullRomClosed.prototype = {\n  areaStart: noop$2,\n  areaEnd: noop$2,\n  lineStart: function() {\n    this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n    this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n    this._l01_a = this._l12_a = this._l23_a =\n    this._l01_2a = this._l12_2a = this._l23_2a =\n    this._point = 0;\n  },\n  lineEnd: function() {\n    switch (this._point) {\n      case 1: {\n        this._context.moveTo(this._x3, this._y3);\n        this._context.closePath();\n        break;\n      }\n      case 2: {\n        this._context.lineTo(this._x3, this._y3);\n        this._context.closePath();\n        break;\n      }\n      case 3: {\n        this.point(this._x3, this._y3);\n        this.point(this._x4, this._y4);\n        this.point(this._x5, this._y5);\n        break;\n      }\n    }\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n\n    if (this._point) {\n      var x23 = this._x2 - x,\n          y23 = this._y2 - y;\n      this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n    }\n\n    switch (this._point) {\n      case 0: this._point = 1; this._x3 = x, this._y3 = y; break;\n      case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;\n      case 2: this._point = 3; this._x5 = x, this._y5 = y; break;\n      default: point$4(this, x, y); break;\n    }\n\n    this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n    this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n    this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n    this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n  }\n};\n\nvar catmullRomClosed = ((function custom(alpha) {\n\n  function catmullRom(context) {\n    return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);\n  }\n\n  catmullRom.alpha = function(alpha) {\n    return custom(+alpha);\n  };\n\n  return catmullRom;\n}))(0.5);\n\nfunction CatmullRomOpen(context, alpha) {\n  this._context = context;\n  this._alpha = alpha;\n}\n\nCatmullRomOpen.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x0 = this._x1 = this._x2 =\n    this._y0 = this._y1 = this._y2 = NaN;\n    this._l01_a = this._l12_a = this._l23_a =\n    this._l01_2a = this._l12_2a = this._l23_2a =\n    this._point = 0;\n  },\n  lineEnd: function() {\n    if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n    this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n\n    if (this._point) {\n      var x23 = this._x2 - x,\n          y23 = this._y2 - y;\n      this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n    }\n\n    switch (this._point) {\n      case 0: this._point = 1; break;\n      case 1: this._point = 2; break;\n      case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;\n      case 3: this._point = 4; // proceed\n      default: point$4(this, x, y); break;\n    }\n\n    this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n    this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n    this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n    this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n  }\n};\n\nvar catmullRomOpen = ((function custom(alpha) {\n\n  function catmullRom(context) {\n    return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);\n  }\n\n  catmullRom.alpha = function(alpha) {\n    return custom(+alpha);\n  };\n\n  return catmullRom;\n}))(0.5);\n\nfunction LinearClosed(context) {\n  this._context = context;\n}\n\nLinearClosed.prototype = {\n  areaStart: noop$2,\n  areaEnd: noop$2,\n  lineStart: function() {\n    this._point = 0;\n  },\n  lineEnd: function() {\n    if (this._point) this._context.closePath();\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    if (this._point) this._context.lineTo(x, y);\n    else this._point = 1, this._context.moveTo(x, y);\n  }\n};\n\nvar linearClosed = function(context) {\n  return new LinearClosed(context);\n};\n\nfunction sign$1(x) {\n  return x < 0 ? -1 : 1;\n}\n\n// Calculate the slopes of the tangents (Hermite-type interpolation) based on\n// the following paper: Steffen, M. 1990. A Simple Method for Monotonic\n// Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.\n// NOV(II), P. 443, 1990.\nfunction slope3(that, x2, y2) {\n  var h0 = that._x1 - that._x0,\n      h1 = x2 - that._x1,\n      s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),\n      s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),\n      p = (s0 * h1 + s1 * h0) / (h0 + h1);\n  return (sign$1(s0) + sign$1(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;\n}\n\n// Calculate a one-sided slope.\nfunction slope2(that, t) {\n  var h = that._x1 - that._x0;\n  return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;\n}\n\n// According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations\n// \"you can express cubic Hermite interpolation in terms of cubic Bézier curves\n// with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1\".\nfunction point$5(that, t0, t1) {\n  var x0 = that._x0,\n      y0 = that._y0,\n      x1 = that._x1,\n      y1 = that._y1,\n      dx = (x1 - x0) / 3;\n  that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);\n}\n\nfunction MonotoneX(context) {\n  this._context = context;\n}\n\nMonotoneX.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x0 = this._x1 =\n    this._y0 = this._y1 =\n    this._t0 = NaN;\n    this._point = 0;\n  },\n  lineEnd: function() {\n    switch (this._point) {\n      case 2: this._context.lineTo(this._x1, this._y1); break;\n      case 3: point$5(this, this._t0, slope2(this, this._t0)); break;\n    }\n    if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n    this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    var t1 = NaN;\n\n    x = +x, y = +y;\n    if (x === this._x1 && y === this._y1) return; // Ignore coincident points.\n    switch (this._point) {\n      case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n      case 1: this._point = 2; break;\n      case 2: this._point = 3; point$5(this, slope2(this, t1 = slope3(this, x, y)), t1); break;\n      default: point$5(this, this._t0, t1 = slope3(this, x, y)); break;\n    }\n\n    this._x0 = this._x1, this._x1 = x;\n    this._y0 = this._y1, this._y1 = y;\n    this._t0 = t1;\n  }\n};\n\nfunction MonotoneY(context) {\n  this._context = new ReflectContext(context);\n}\n\n(MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) {\n  MonotoneX.prototype.point.call(this, y, x);\n};\n\nfunction ReflectContext(context) {\n  this._context = context;\n}\n\nReflectContext.prototype = {\n  moveTo: function(x, y) { this._context.moveTo(y, x); },\n  closePath: function() { this._context.closePath(); },\n  lineTo: function(x, y) { this._context.lineTo(y, x); },\n  bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }\n};\n\nfunction monotoneX(context) {\n  return new MonotoneX(context);\n}\n\nfunction monotoneY(context) {\n  return new MonotoneY(context);\n}\n\nfunction Natural(context) {\n  this._context = context;\n}\n\nNatural.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x = [];\n    this._y = [];\n  },\n  lineEnd: function() {\n    var x = this._x,\n        y = this._y,\n        n = x.length;\n\n    if (n) {\n      this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);\n      if (n === 2) {\n        this._context.lineTo(x[1], y[1]);\n      } else {\n        var px = controlPoints(x),\n            py = controlPoints(y);\n        for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {\n          this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);\n        }\n      }\n    }\n\n    if (this._line || (this._line !== 0 && n === 1)) this._context.closePath();\n    this._line = 1 - this._line;\n    this._x = this._y = null;\n  },\n  point: function(x, y) {\n    this._x.push(+x);\n    this._y.push(+y);\n  }\n};\n\n// See https://www.particleincell.com/2012/bezier-splines/ for derivation.\nfunction controlPoints(x) {\n  var i,\n      n = x.length - 1,\n      m,\n      a = new Array(n),\n      b = new Array(n),\n      r = new Array(n);\n  a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];\n  for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];\n  a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];\n  for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];\n  a[n - 1] = r[n - 1] / b[n - 1];\n  for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i];\n  b[n - 1] = (x[n] + a[n - 1]) / 2;\n  for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1];\n  return [a, b];\n}\n\nvar natural = function(context) {\n  return new Natural(context);\n};\n\nfunction Step(context, t) {\n  this._context = context;\n  this._t = t;\n}\n\nStep.prototype = {\n  areaStart: function() {\n    this._line = 0;\n  },\n  areaEnd: function() {\n    this._line = NaN;\n  },\n  lineStart: function() {\n    this._x = this._y = NaN;\n    this._point = 0;\n  },\n  lineEnd: function() {\n    if (0 < this._t && this._t < 1 && this._point === 2) this._context.lineTo(this._x, this._y);\n    if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n    if (this._line >= 0) this._t = 1 - this._t, this._line = 1 - this._line;\n  },\n  point: function(x, y) {\n    x = +x, y = +y;\n    switch (this._point) {\n      case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n      case 1: this._point = 2; // proceed\n      default: {\n        if (this._t <= 0) {\n          this._context.lineTo(this._x, y);\n          this._context.lineTo(x, y);\n        } else {\n          var x1 = this._x * (1 - this._t) + x * this._t;\n          this._context.lineTo(x1, this._y);\n          this._context.lineTo(x1, y);\n        }\n        break;\n      }\n    }\n    this._x = x, this._y = y;\n  }\n};\n\nvar step = function(context) {\n  return new Step(context, 0.5);\n};\n\nfunction stepBefore(context) {\n  return new Step(context, 0);\n}\n\nfunction stepAfter(context) {\n  return new Step(context, 1);\n}\n\nvar none$1 = function(series, order) {\n  if (!((n = series.length) > 1)) return;\n  for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {\n    s0 = s1, s1 = series[order[i]];\n    for (j = 0; j < m; ++j) {\n      s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];\n    }\n  }\n};\n\nvar none$2 = function(series) {\n  var n = series.length, o = new Array(n);\n  while (--n >= 0) o[n] = n;\n  return o;\n};\n\nfunction stackValue(d, key) {\n  return d[key];\n}\n\nvar stack = function() {\n  var keys = constant$10([]),\n      order = none$2,\n      offset = none$1,\n      value = stackValue;\n\n  function stack(data) {\n    var kz = keys.apply(this, arguments),\n        i,\n        m = data.length,\n        n = kz.length,\n        sz = new Array(n),\n        oz;\n\n    for (i = 0; i < n; ++i) {\n      for (var ki = kz[i], si = sz[i] = new Array(m), j = 0, sij; j < m; ++j) {\n        si[j] = sij = [0, +value(data[j], ki, j, data)];\n        sij.data = data[j];\n      }\n      si.key = ki;\n    }\n\n    for (i = 0, oz = order(sz); i < n; ++i) {\n      sz[oz[i]].index = i;\n    }\n\n    offset(sz, oz);\n    return sz;\n  }\n\n  stack.keys = function(_) {\n    return arguments.length ? (keys = typeof _ === \"function\" ? _ : constant$10(slice$5.call(_)), stack) : keys;\n  };\n\n  stack.value = function(_) {\n    return arguments.length ? (value = typeof _ === \"function\" ? _ : constant$10(+_), stack) : value;\n  };\n\n  stack.order = function(_) {\n    return arguments.length ? (order = _ == null ? none$2 : typeof _ === \"function\" ? _ : constant$10(slice$5.call(_)), stack) : order;\n  };\n\n  stack.offset = function(_) {\n    return arguments.length ? (offset = _ == null ? none$1 : _, stack) : offset;\n  };\n\n  return stack;\n};\n\nvar expand = function(series, order) {\n  if (!((n = series.length) > 0)) return;\n  for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {\n    for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0;\n    if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y;\n  }\n  none$1(series, order);\n};\n\nvar diverging = function(series, order) {\n  if (!((n = series.length) > 1)) return;\n  for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) {\n    for (yp = yn = 0, i = 0; i < n; ++i) {\n      if ((dy = (d = series[order[i]][j])[1] - d[0]) >= 0) {\n        d[0] = yp, d[1] = yp += dy;\n      } else if (dy < 0) {\n        d[1] = yn, d[0] = yn += dy;\n      } else {\n        d[0] = yp;\n      }\n    }\n  }\n};\n\nvar silhouette = function(series, order) {\n  if (!((n = series.length) > 0)) return;\n  for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {\n    for (var i = 0, y = 0; i < n; ++i) y += series[i][j][1] || 0;\n    s0[j][1] += s0[j][0] = -y / 2;\n  }\n  none$1(series, order);\n};\n\nvar wiggle = function(series, order) {\n  if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0)) return;\n  for (var y = 0, j = 1, s0, m, n; j < m; ++j) {\n    for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {\n      var si = series[order[i]],\n          sij0 = si[j][1] || 0,\n          sij1 = si[j - 1][1] || 0,\n          s3 = (sij0 - sij1) / 2;\n      for (var k = 0; k < i; ++k) {\n        var sk = series[order[k]],\n            skj0 = sk[j][1] || 0,\n            skj1 = sk[j - 1][1] || 0;\n        s3 += skj0 - skj1;\n      }\n      s1 += sij0, s2 += s3 * sij0;\n    }\n    s0[j - 1][1] += s0[j - 1][0] = y;\n    if (s1) y -= s2 / s1;\n  }\n  s0[j - 1][1] += s0[j - 1][0] = y;\n  none$1(series, order);\n};\n\nvar ascending$2 = function(series) {\n  var sums = series.map(sum$2);\n  return none$2(series).sort(function(a, b) { return sums[a] - sums[b]; });\n};\n\nfunction sum$2(series) {\n  var s = 0, i = -1, n = series.length, v;\n  while (++i < n) if (v = +series[i][1]) s += v;\n  return s;\n}\n\nvar descending$2 = function(series) {\n  return ascending$2(series).reverse();\n};\n\nvar insideOut = function(series) {\n  var n = series.length,\n      i,\n      j,\n      sums = series.map(sum$2),\n      order = none$2(series).sort(function(a, b) { return sums[b] - sums[a]; }),\n      top = 0,\n      bottom = 0,\n      tops = [],\n      bottoms = [];\n\n  for (i = 0; i < n; ++i) {\n    j = order[i];\n    if (top < bottom) {\n      top += sums[j];\n      tops.push(j);\n    } else {\n      bottom += sums[j];\n      bottoms.push(j);\n    }\n  }\n\n  return bottoms.reverse().concat(tops);\n};\n\nvar reverse = function(series) {\n  return none$2(series).reverse();\n};\n\nvar constant$11 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nfunction x$4(d) {\n  return d[0];\n}\n\nfunction y$4(d) {\n  return d[1];\n}\n\nfunction RedBlackTree() {\n  this._ = null; // root node\n}\n\nfunction RedBlackNode(node) {\n  node.U = // parent node\n  node.C = // color - true for red, false for black\n  node.L = // left node\n  node.R = // right node\n  node.P = // previous node\n  node.N = null; // next node\n}\n\nRedBlackTree.prototype = {\n  constructor: RedBlackTree,\n\n  insert: function(after, node) {\n    var parent, grandpa, uncle;\n\n    if (after) {\n      node.P = after;\n      node.N = after.N;\n      if (after.N) after.N.P = node;\n      after.N = node;\n      if (after.R) {\n        after = after.R;\n        while (after.L) after = after.L;\n        after.L = node;\n      } else {\n        after.R = node;\n      }\n      parent = after;\n    } else if (this._) {\n      after = RedBlackFirst(this._);\n      node.P = null;\n      node.N = after;\n      after.P = after.L = node;\n      parent = after;\n    } else {\n      node.P = node.N = null;\n      this._ = node;\n      parent = null;\n    }\n    node.L = node.R = null;\n    node.U = parent;\n    node.C = true;\n\n    after = node;\n    while (parent && parent.C) {\n      grandpa = parent.U;\n      if (parent === grandpa.L) {\n        uncle = grandpa.R;\n        if (uncle && uncle.C) {\n          parent.C = uncle.C = false;\n          grandpa.C = true;\n          after = grandpa;\n        } else {\n          if (after === parent.R) {\n            RedBlackRotateLeft(this, parent);\n            after = parent;\n            parent = after.U;\n          }\n          parent.C = false;\n          grandpa.C = true;\n          RedBlackRotateRight(this, grandpa);\n        }\n      } else {\n        uncle = grandpa.L;\n        if (uncle && uncle.C) {\n          parent.C = uncle.C = false;\n          grandpa.C = true;\n          after = grandpa;\n        } else {\n          if (after === parent.L) {\n            RedBlackRotateRight(this, parent);\n            after = parent;\n            parent = after.U;\n          }\n          parent.C = false;\n          grandpa.C = true;\n          RedBlackRotateLeft(this, grandpa);\n        }\n      }\n      parent = after.U;\n    }\n    this._.C = false;\n  },\n\n  remove: function(node) {\n    if (node.N) node.N.P = node.P;\n    if (node.P) node.P.N = node.N;\n    node.N = node.P = null;\n\n    var parent = node.U,\n        sibling,\n        left = node.L,\n        right = node.R,\n        next,\n        red;\n\n    if (!left) next = right;\n    else if (!right) next = left;\n    else next = RedBlackFirst(right);\n\n    if (parent) {\n      if (parent.L === node) parent.L = next;\n      else parent.R = next;\n    } else {\n      this._ = next;\n    }\n\n    if (left && right) {\n      red = next.C;\n      next.C = node.C;\n      next.L = left;\n      left.U = next;\n      if (next !== right) {\n        parent = next.U;\n        next.U = node.U;\n        node = next.R;\n        parent.L = node;\n        next.R = right;\n        right.U = next;\n      } else {\n        next.U = parent;\n        parent = next;\n        node = next.R;\n      }\n    } else {\n      red = node.C;\n      node = next;\n    }\n\n    if (node) node.U = parent;\n    if (red) return;\n    if (node && node.C) { node.C = false; return; }\n\n    do {\n      if (node === this._) break;\n      if (node === parent.L) {\n        sibling = parent.R;\n        if (sibling.C) {\n          sibling.C = false;\n          parent.C = true;\n          RedBlackRotateLeft(this, parent);\n          sibling = parent.R;\n        }\n        if ((sibling.L && sibling.L.C)\n            || (sibling.R && sibling.R.C)) {\n          if (!sibling.R || !sibling.R.C) {\n            sibling.L.C = false;\n            sibling.C = true;\n            RedBlackRotateRight(this, sibling);\n            sibling = parent.R;\n          }\n          sibling.C = parent.C;\n          parent.C = sibling.R.C = false;\n          RedBlackRotateLeft(this, parent);\n          node = this._;\n          break;\n        }\n      } else {\n        sibling = parent.L;\n        if (sibling.C) {\n          sibling.C = false;\n          parent.C = true;\n          RedBlackRotateRight(this, parent);\n          sibling = parent.L;\n        }\n        if ((sibling.L && sibling.L.C)\n          || (sibling.R && sibling.R.C)) {\n          if (!sibling.L || !sibling.L.C) {\n            sibling.R.C = false;\n            sibling.C = true;\n            RedBlackRotateLeft(this, sibling);\n            sibling = parent.L;\n          }\n          sibling.C = parent.C;\n          parent.C = sibling.L.C = false;\n          RedBlackRotateRight(this, parent);\n          node = this._;\n          break;\n        }\n      }\n      sibling.C = true;\n      node = parent;\n      parent = parent.U;\n    } while (!node.C);\n\n    if (node) node.C = false;\n  }\n};\n\nfunction RedBlackRotateLeft(tree, node) {\n  var p = node,\n      q = node.R,\n      parent = p.U;\n\n  if (parent) {\n    if (parent.L === p) parent.L = q;\n    else parent.R = q;\n  } else {\n    tree._ = q;\n  }\n\n  q.U = parent;\n  p.U = q;\n  p.R = q.L;\n  if (p.R) p.R.U = p;\n  q.L = p;\n}\n\nfunction RedBlackRotateRight(tree, node) {\n  var p = node,\n      q = node.L,\n      parent = p.U;\n\n  if (parent) {\n    if (parent.L === p) parent.L = q;\n    else parent.R = q;\n  } else {\n    tree._ = q;\n  }\n\n  q.U = parent;\n  p.U = q;\n  p.L = q.R;\n  if (p.L) p.L.U = p;\n  q.R = p;\n}\n\nfunction RedBlackFirst(node) {\n  while (node.L) node = node.L;\n  return node;\n}\n\nfunction createEdge(left, right, v0, v1) {\n  var edge = [null, null],\n      index = edges.push(edge) - 1;\n  edge.left = left;\n  edge.right = right;\n  if (v0) setEdgeEnd(edge, left, right, v0);\n  if (v1) setEdgeEnd(edge, right, left, v1);\n  cells[left.index].halfedges.push(index);\n  cells[right.index].halfedges.push(index);\n  return edge;\n}\n\nfunction createBorderEdge(left, v0, v1) {\n  var edge = [v0, v1];\n  edge.left = left;\n  return edge;\n}\n\nfunction setEdgeEnd(edge, left, right, vertex) {\n  if (!edge[0] && !edge[1]) {\n    edge[0] = vertex;\n    edge.left = left;\n    edge.right = right;\n  } else if (edge.left === right) {\n    edge[1] = vertex;\n  } else {\n    edge[0] = vertex;\n  }\n}\n\n// Liang–Barsky line clipping.\nfunction clipEdge(edge, x0, y0, x1, y1) {\n  var a = edge[0],\n      b = edge[1],\n      ax = a[0],\n      ay = a[1],\n      bx = b[0],\n      by = b[1],\n      t0 = 0,\n      t1 = 1,\n      dx = bx - ax,\n      dy = by - ay,\n      r;\n\n  r = x0 - ax;\n  if (!dx && r > 0) return;\n  r /= dx;\n  if (dx < 0) {\n    if (r < t0) return;\n    if (r < t1) t1 = r;\n  } else if (dx > 0) {\n    if (r > t1) return;\n    if (r > t0) t0 = r;\n  }\n\n  r = x1 - ax;\n  if (!dx && r < 0) return;\n  r /= dx;\n  if (dx < 0) {\n    if (r > t1) return;\n    if (r > t0) t0 = r;\n  } else if (dx > 0) {\n    if (r < t0) return;\n    if (r < t1) t1 = r;\n  }\n\n  r = y0 - ay;\n  if (!dy && r > 0) return;\n  r /= dy;\n  if (dy < 0) {\n    if (r < t0) return;\n    if (r < t1) t1 = r;\n  } else if (dy > 0) {\n    if (r > t1) return;\n    if (r > t0) t0 = r;\n  }\n\n  r = y1 - ay;\n  if (!dy && r < 0) return;\n  r /= dy;\n  if (dy < 0) {\n    if (r > t1) return;\n    if (r > t0) t0 = r;\n  } else if (dy > 0) {\n    if (r < t0) return;\n    if (r < t1) t1 = r;\n  }\n\n  if (!(t0 > 0) && !(t1 < 1)) return true; // TODO Better check?\n\n  if (t0 > 0) edge[0] = [ax + t0 * dx, ay + t0 * dy];\n  if (t1 < 1) edge[1] = [ax + t1 * dx, ay + t1 * dy];\n  return true;\n}\n\nfunction connectEdge(edge, x0, y0, x1, y1) {\n  var v1 = edge[1];\n  if (v1) return true;\n\n  var v0 = edge[0],\n      left = edge.left,\n      right = edge.right,\n      lx = left[0],\n      ly = left[1],\n      rx = right[0],\n      ry = right[1],\n      fx = (lx + rx) / 2,\n      fy = (ly + ry) / 2,\n      fm,\n      fb;\n\n  if (ry === ly) {\n    if (fx < x0 || fx >= x1) return;\n    if (lx > rx) {\n      if (!v0) v0 = [fx, y0];\n      else if (v0[1] >= y1) return;\n      v1 = [fx, y1];\n    } else {\n      if (!v0) v0 = [fx, y1];\n      else if (v0[1] < y0) return;\n      v1 = [fx, y0];\n    }\n  } else {\n    fm = (lx - rx) / (ry - ly);\n    fb = fy - fm * fx;\n    if (fm < -1 || fm > 1) {\n      if (lx > rx) {\n        if (!v0) v0 = [(y0 - fb) / fm, y0];\n        else if (v0[1] >= y1) return;\n        v1 = [(y1 - fb) / fm, y1];\n      } else {\n        if (!v0) v0 = [(y1 - fb) / fm, y1];\n        else if (v0[1] < y0) return;\n        v1 = [(y0 - fb) / fm, y0];\n      }\n    } else {\n      if (ly < ry) {\n        if (!v0) v0 = [x0, fm * x0 + fb];\n        else if (v0[0] >= x1) return;\n        v1 = [x1, fm * x1 + fb];\n      } else {\n        if (!v0) v0 = [x1, fm * x1 + fb];\n        else if (v0[0] < x0) return;\n        v1 = [x0, fm * x0 + fb];\n      }\n    }\n  }\n\n  edge[0] = v0;\n  edge[1] = v1;\n  return true;\n}\n\nfunction clipEdges(x0, y0, x1, y1) {\n  var i = edges.length,\n      edge;\n\n  while (i--) {\n    if (!connectEdge(edge = edges[i], x0, y0, x1, y1)\n        || !clipEdge(edge, x0, y0, x1, y1)\n        || !(Math.abs(edge[0][0] - edge[1][0]) > epsilon$4\n            || Math.abs(edge[0][1] - edge[1][1]) > epsilon$4)) {\n      delete edges[i];\n    }\n  }\n}\n\nfunction createCell(site) {\n  return cells[site.index] = {\n    site: site,\n    halfedges: []\n  };\n}\n\nfunction cellHalfedgeAngle(cell, edge) {\n  var site = cell.site,\n      va = edge.left,\n      vb = edge.right;\n  if (site === vb) vb = va, va = site;\n  if (vb) return Math.atan2(vb[1] - va[1], vb[0] - va[0]);\n  if (site === va) va = edge[1], vb = edge[0];\n  else va = edge[0], vb = edge[1];\n  return Math.atan2(va[0] - vb[0], vb[1] - va[1]);\n}\n\nfunction cellHalfedgeStart(cell, edge) {\n  return edge[+(edge.left !== cell.site)];\n}\n\nfunction cellHalfedgeEnd(cell, edge) {\n  return edge[+(edge.left === cell.site)];\n}\n\nfunction sortCellHalfedges() {\n  for (var i = 0, n = cells.length, cell, halfedges, j, m; i < n; ++i) {\n    if ((cell = cells[i]) && (m = (halfedges = cell.halfedges).length)) {\n      var index = new Array(m),\n          array = new Array(m);\n      for (j = 0; j < m; ++j) index[j] = j, array[j] = cellHalfedgeAngle(cell, edges[halfedges[j]]);\n      index.sort(function(i, j) { return array[j] - array[i]; });\n      for (j = 0; j < m; ++j) array[j] = halfedges[index[j]];\n      for (j = 0; j < m; ++j) halfedges[j] = array[j];\n    }\n  }\n}\n\nfunction clipCells(x0, y0, x1, y1) {\n  var nCells = cells.length,\n      iCell,\n      cell,\n      site,\n      iHalfedge,\n      halfedges,\n      nHalfedges,\n      start,\n      startX,\n      startY,\n      end,\n      endX,\n      endY,\n      cover = true;\n\n  for (iCell = 0; iCell < nCells; ++iCell) {\n    if (cell = cells[iCell]) {\n      site = cell.site;\n      halfedges = cell.halfedges;\n      iHalfedge = halfedges.length;\n\n      // Remove any dangling clipped edges.\n      while (iHalfedge--) {\n        if (!edges[halfedges[iHalfedge]]) {\n          halfedges.splice(iHalfedge, 1);\n        }\n      }\n\n      // Insert any border edges as necessary.\n      iHalfedge = 0, nHalfedges = halfedges.length;\n      while (iHalfedge < nHalfedges) {\n        end = cellHalfedgeEnd(cell, edges[halfedges[iHalfedge]]), endX = end[0], endY = end[1];\n        start = cellHalfedgeStart(cell, edges[halfedges[++iHalfedge % nHalfedges]]), startX = start[0], startY = start[1];\n        if (Math.abs(endX - startX) > epsilon$4 || Math.abs(endY - startY) > epsilon$4) {\n          halfedges.splice(iHalfedge, 0, edges.push(createBorderEdge(site, end,\n              Math.abs(endX - x0) < epsilon$4 && y1 - endY > epsilon$4 ? [x0, Math.abs(startX - x0) < epsilon$4 ? startY : y1]\n              : Math.abs(endY - y1) < epsilon$4 && x1 - endX > epsilon$4 ? [Math.abs(startY - y1) < epsilon$4 ? startX : x1, y1]\n              : Math.abs(endX - x1) < epsilon$4 && endY - y0 > epsilon$4 ? [x1, Math.abs(startX - x1) < epsilon$4 ? startY : y0]\n              : Math.abs(endY - y0) < epsilon$4 && endX - x0 > epsilon$4 ? [Math.abs(startY - y0) < epsilon$4 ? startX : x0, y0]\n              : null)) - 1);\n          ++nHalfedges;\n        }\n      }\n\n      if (nHalfedges) cover = false;\n    }\n  }\n\n  // If there weren’t any edges, have the closest site cover the extent.\n  // It doesn’t matter which corner of the extent we measure!\n  if (cover) {\n    var dx, dy, d2, dc = Infinity;\n\n    for (iCell = 0, cover = null; iCell < nCells; ++iCell) {\n      if (cell = cells[iCell]) {\n        site = cell.site;\n        dx = site[0] - x0;\n        dy = site[1] - y0;\n        d2 = dx * dx + dy * dy;\n        if (d2 < dc) dc = d2, cover = cell;\n      }\n    }\n\n    if (cover) {\n      var v00 = [x0, y0], v01 = [x0, y1], v11 = [x1, y1], v10 = [x1, y0];\n      cover.halfedges.push(\n        edges.push(createBorderEdge(site = cover.site, v00, v01)) - 1,\n        edges.push(createBorderEdge(site, v01, v11)) - 1,\n        edges.push(createBorderEdge(site, v11, v10)) - 1,\n        edges.push(createBorderEdge(site, v10, v00)) - 1\n      );\n    }\n  }\n\n  // Lastly delete any cells with no edges; these were entirely clipped.\n  for (iCell = 0; iCell < nCells; ++iCell) {\n    if (cell = cells[iCell]) {\n      if (!cell.halfedges.length) {\n        delete cells[iCell];\n      }\n    }\n  }\n}\n\nvar circlePool = [];\n\nvar firstCircle;\n\nfunction Circle() {\n  RedBlackNode(this);\n  this.x =\n  this.y =\n  this.arc =\n  this.site =\n  this.cy = null;\n}\n\nfunction attachCircle(arc) {\n  var lArc = arc.P,\n      rArc = arc.N;\n\n  if (!lArc || !rArc) return;\n\n  var lSite = lArc.site,\n      cSite = arc.site,\n      rSite = rArc.site;\n\n  if (lSite === rSite) return;\n\n  var bx = cSite[0],\n      by = cSite[1],\n      ax = lSite[0] - bx,\n      ay = lSite[1] - by,\n      cx = rSite[0] - bx,\n      cy = rSite[1] - by;\n\n  var d = 2 * (ax * cy - ay * cx);\n  if (d >= -epsilon2$2) return;\n\n  var ha = ax * ax + ay * ay,\n      hc = cx * cx + cy * cy,\n      x = (cy * ha - ay * hc) / d,\n      y = (ax * hc - cx * ha) / d;\n\n  var circle = circlePool.pop() || new Circle;\n  circle.arc = arc;\n  circle.site = cSite;\n  circle.x = x + bx;\n  circle.y = (circle.cy = y + by) + Math.sqrt(x * x + y * y); // y bottom\n\n  arc.circle = circle;\n\n  var before = null,\n      node = circles._;\n\n  while (node) {\n    if (circle.y < node.y || (circle.y === node.y && circle.x <= node.x)) {\n      if (node.L) node = node.L;\n      else { before = node.P; break; }\n    } else {\n      if (node.R) node = node.R;\n      else { before = node; break; }\n    }\n  }\n\n  circles.insert(before, circle);\n  if (!before) firstCircle = circle;\n}\n\nfunction detachCircle(arc) {\n  var circle = arc.circle;\n  if (circle) {\n    if (!circle.P) firstCircle = circle.N;\n    circles.remove(circle);\n    circlePool.push(circle);\n    RedBlackNode(circle);\n    arc.circle = null;\n  }\n}\n\nvar beachPool = [];\n\nfunction Beach() {\n  RedBlackNode(this);\n  this.edge =\n  this.site =\n  this.circle = null;\n}\n\nfunction createBeach(site) {\n  var beach = beachPool.pop() || new Beach;\n  beach.site = site;\n  return beach;\n}\n\nfunction detachBeach(beach) {\n  detachCircle(beach);\n  beaches.remove(beach);\n  beachPool.push(beach);\n  RedBlackNode(beach);\n}\n\nfunction removeBeach(beach) {\n  var circle = beach.circle,\n      x = circle.x,\n      y = circle.cy,\n      vertex = [x, y],\n      previous = beach.P,\n      next = beach.N,\n      disappearing = [beach];\n\n  detachBeach(beach);\n\n  var lArc = previous;\n  while (lArc.circle\n      && Math.abs(x - lArc.circle.x) < epsilon$4\n      && Math.abs(y - lArc.circle.cy) < epsilon$4) {\n    previous = lArc.P;\n    disappearing.unshift(lArc);\n    detachBeach(lArc);\n    lArc = previous;\n  }\n\n  disappearing.unshift(lArc);\n  detachCircle(lArc);\n\n  var rArc = next;\n  while (rArc.circle\n      && Math.abs(x - rArc.circle.x) < epsilon$4\n      && Math.abs(y - rArc.circle.cy) < epsilon$4) {\n    next = rArc.N;\n    disappearing.push(rArc);\n    detachBeach(rArc);\n    rArc = next;\n  }\n\n  disappearing.push(rArc);\n  detachCircle(rArc);\n\n  var nArcs = disappearing.length,\n      iArc;\n  for (iArc = 1; iArc < nArcs; ++iArc) {\n    rArc = disappearing[iArc];\n    lArc = disappearing[iArc - 1];\n    setEdgeEnd(rArc.edge, lArc.site, rArc.site, vertex);\n  }\n\n  lArc = disappearing[0];\n  rArc = disappearing[nArcs - 1];\n  rArc.edge = createEdge(lArc.site, rArc.site, null, vertex);\n\n  attachCircle(lArc);\n  attachCircle(rArc);\n}\n\nfunction addBeach(site) {\n  var x = site[0],\n      directrix = site[1],\n      lArc,\n      rArc,\n      dxl,\n      dxr,\n      node = beaches._;\n\n  while (node) {\n    dxl = leftBreakPoint(node, directrix) - x;\n    if (dxl > epsilon$4) node = node.L; else {\n      dxr = x - rightBreakPoint(node, directrix);\n      if (dxr > epsilon$4) {\n        if (!node.R) {\n          lArc = node;\n          break;\n        }\n        node = node.R;\n      } else {\n        if (dxl > -epsilon$4) {\n          lArc = node.P;\n          rArc = node;\n        } else if (dxr > -epsilon$4) {\n          lArc = node;\n          rArc = node.N;\n        } else {\n          lArc = rArc = node;\n        }\n        break;\n      }\n    }\n  }\n\n  createCell(site);\n  var newArc = createBeach(site);\n  beaches.insert(lArc, newArc);\n\n  if (!lArc && !rArc) return;\n\n  if (lArc === rArc) {\n    detachCircle(lArc);\n    rArc = createBeach(lArc.site);\n    beaches.insert(newArc, rArc);\n    newArc.edge = rArc.edge = createEdge(lArc.site, newArc.site);\n    attachCircle(lArc);\n    attachCircle(rArc);\n    return;\n  }\n\n  if (!rArc) { // && lArc\n    newArc.edge = createEdge(lArc.site, newArc.site);\n    return;\n  }\n\n  // else lArc !== rArc\n  detachCircle(lArc);\n  detachCircle(rArc);\n\n  var lSite = lArc.site,\n      ax = lSite[0],\n      ay = lSite[1],\n      bx = site[0] - ax,\n      by = site[1] - ay,\n      rSite = rArc.site,\n      cx = rSite[0] - ax,\n      cy = rSite[1] - ay,\n      d = 2 * (bx * cy - by * cx),\n      hb = bx * bx + by * by,\n      hc = cx * cx + cy * cy,\n      vertex = [(cy * hb - by * hc) / d + ax, (bx * hc - cx * hb) / d + ay];\n\n  setEdgeEnd(rArc.edge, lSite, rSite, vertex);\n  newArc.edge = createEdge(lSite, site, null, vertex);\n  rArc.edge = createEdge(site, rSite, null, vertex);\n  attachCircle(lArc);\n  attachCircle(rArc);\n}\n\nfunction leftBreakPoint(arc, directrix) {\n  var site = arc.site,\n      rfocx = site[0],\n      rfocy = site[1],\n      pby2 = rfocy - directrix;\n\n  if (!pby2) return rfocx;\n\n  var lArc = arc.P;\n  if (!lArc) return -Infinity;\n\n  site = lArc.site;\n  var lfocx = site[0],\n      lfocy = site[1],\n      plby2 = lfocy - directrix;\n\n  if (!plby2) return lfocx;\n\n  var hl = lfocx - rfocx,\n      aby2 = 1 / pby2 - 1 / plby2,\n      b = hl / plby2;\n\n  if (aby2) return (-b + Math.sqrt(b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx;\n\n  return (rfocx + lfocx) / 2;\n}\n\nfunction rightBreakPoint(arc, directrix) {\n  var rArc = arc.N;\n  if (rArc) return leftBreakPoint(rArc, directrix);\n  var site = arc.site;\n  return site[1] === directrix ? site[0] : Infinity;\n}\n\nvar epsilon$4 = 1e-6;\nvar epsilon2$2 = 1e-12;\nvar beaches;\nvar cells;\nvar circles;\nvar edges;\n\nfunction triangleArea(a, b, c) {\n  return (a[0] - c[0]) * (b[1] - a[1]) - (a[0] - b[0]) * (c[1] - a[1]);\n}\n\nfunction lexicographic(a, b) {\n  return b[1] - a[1]\n      || b[0] - a[0];\n}\n\nfunction Diagram(sites, extent) {\n  var site = sites.sort(lexicographic).pop(),\n      x,\n      y,\n      circle;\n\n  edges = [];\n  cells = new Array(sites.length);\n  beaches = new RedBlackTree;\n  circles = new RedBlackTree;\n\n  while (true) {\n    circle = firstCircle;\n    if (site && (!circle || site[1] < circle.y || (site[1] === circle.y && site[0] < circle.x))) {\n      if (site[0] !== x || site[1] !== y) {\n        addBeach(site);\n        x = site[0], y = site[1];\n      }\n      site = sites.pop();\n    } else if (circle) {\n      removeBeach(circle.arc);\n    } else {\n      break;\n    }\n  }\n\n  sortCellHalfedges();\n\n  if (extent) {\n    var x0 = +extent[0][0],\n        y0 = +extent[0][1],\n        x1 = +extent[1][0],\n        y1 = +extent[1][1];\n    clipEdges(x0, y0, x1, y1);\n    clipCells(x0, y0, x1, y1);\n  }\n\n  this.edges = edges;\n  this.cells = cells;\n\n  beaches =\n  circles =\n  edges =\n  cells = null;\n}\n\nDiagram.prototype = {\n  constructor: Diagram,\n\n  polygons: function() {\n    var edges = this.edges;\n\n    return this.cells.map(function(cell) {\n      var polygon = cell.halfedges.map(function(i) { return cellHalfedgeStart(cell, edges[i]); });\n      polygon.data = cell.site.data;\n      return polygon;\n    });\n  },\n\n  triangles: function() {\n    var triangles = [],\n        edges = this.edges;\n\n    this.cells.forEach(function(cell, i) {\n      if (!(m = (halfedges = cell.halfedges).length)) return;\n      var site = cell.site,\n          halfedges,\n          j = -1,\n          m,\n          s0,\n          e1 = edges[halfedges[m - 1]],\n          s1 = e1.left === site ? e1.right : e1.left;\n\n      while (++j < m) {\n        s0 = s1;\n        e1 = edges[halfedges[j]];\n        s1 = e1.left === site ? e1.right : e1.left;\n        if (s0 && s1 && i < s0.index && i < s1.index && triangleArea(site, s0, s1) < 0) {\n          triangles.push([site.data, s0.data, s1.data]);\n        }\n      }\n    });\n\n    return triangles;\n  },\n\n  links: function() {\n    return this.edges.filter(function(edge) {\n      return edge.right;\n    }).map(function(edge) {\n      return {\n        source: edge.left.data,\n        target: edge.right.data\n      };\n    });\n  },\n\n  find: function(x, y, radius) {\n    var that = this, i0, i1 = that._found || 0, n = that.cells.length, cell;\n\n    // Use the previously-found cell, or start with an arbitrary one.\n    while (!(cell = that.cells[i1])) if (++i1 >= n) return null;\n    var dx = x - cell.site[0], dy = y - cell.site[1], d2 = dx * dx + dy * dy;\n\n    // Traverse the half-edges to find a closer cell, if any.\n    do {\n      cell = that.cells[i0 = i1], i1 = null;\n      cell.halfedges.forEach(function(e) {\n        var edge = that.edges[e], v = edge.left;\n        if ((v === cell.site || !v) && !(v = edge.right)) return;\n        var vx = x - v[0], vy = y - v[1], v2 = vx * vx + vy * vy;\n        if (v2 < d2) d2 = v2, i1 = v.index;\n      });\n    } while (i1 !== null);\n\n    that._found = i0;\n\n    return radius == null || d2 <= radius * radius ? cell.site : null;\n  }\n};\n\nvar voronoi = function() {\n  var x$$1 = x$4,\n      y$$1 = y$4,\n      extent = null;\n\n  function voronoi(data) {\n    return new Diagram(data.map(function(d, i) {\n      var s = [Math.round(x$$1(d, i, data) / epsilon$4) * epsilon$4, Math.round(y$$1(d, i, data) / epsilon$4) * epsilon$4];\n      s.index = i;\n      s.data = d;\n      return s;\n    }), extent);\n  }\n\n  voronoi.polygons = function(data) {\n    return voronoi(data).polygons();\n  };\n\n  voronoi.links = function(data) {\n    return voronoi(data).links();\n  };\n\n  voronoi.triangles = function(data) {\n    return voronoi(data).triangles();\n  };\n\n  voronoi.x = function(_) {\n    return arguments.length ? (x$$1 = typeof _ === \"function\" ? _ : constant$11(+_), voronoi) : x$$1;\n  };\n\n  voronoi.y = function(_) {\n    return arguments.length ? (y$$1 = typeof _ === \"function\" ? _ : constant$11(+_), voronoi) : y$$1;\n  };\n\n  voronoi.extent = function(_) {\n    return arguments.length ? (extent = _ == null ? null : [[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]], voronoi) : extent && [[extent[0][0], extent[0][1]], [extent[1][0], extent[1][1]]];\n  };\n\n  voronoi.size = function(_) {\n    return arguments.length ? (extent = _ == null ? null : [[0, 0], [+_[0], +_[1]]], voronoi) : extent && [extent[1][0] - extent[0][0], extent[1][1] - extent[0][1]];\n  };\n\n  return voronoi;\n};\n\nvar constant$12 = function(x) {\n  return function() {\n    return x;\n  };\n};\n\nfunction ZoomEvent(target, type, transform) {\n  this.target = target;\n  this.type = type;\n  this.transform = transform;\n}\n\nfunction Transform(k, x, y) {\n  this.k = k;\n  this.x = x;\n  this.y = y;\n}\n\nTransform.prototype = {\n  constructor: Transform,\n  scale: function(k) {\n    return k === 1 ? this : new Transform(this.k * k, this.x, this.y);\n  },\n  translate: function(x, y) {\n    return x === 0 & y === 0 ? this : new Transform(this.k, this.x + this.k * x, this.y + this.k * y);\n  },\n  apply: function(point) {\n    return [point[0] * this.k + this.x, point[1] * this.k + this.y];\n  },\n  applyX: function(x) {\n    return x * this.k + this.x;\n  },\n  applyY: function(y) {\n    return y * this.k + this.y;\n  },\n  invert: function(location) {\n    return [(location[0] - this.x) / this.k, (location[1] - this.y) / this.k];\n  },\n  invertX: function(x) {\n    return (x - this.x) / this.k;\n  },\n  invertY: function(y) {\n    return (y - this.y) / this.k;\n  },\n  rescaleX: function(x) {\n    return x.copy().domain(x.range().map(this.invertX, this).map(x.invert, x));\n  },\n  rescaleY: function(y) {\n    return y.copy().domain(y.range().map(this.invertY, this).map(y.invert, y));\n  },\n  toString: function() {\n    return \"translate(\" + this.x + \",\" + this.y + \") scale(\" + this.k + \")\";\n  }\n};\n\nvar identity$8 = new Transform(1, 0, 0);\n\ntransform$1.prototype = Transform.prototype;\n\nfunction transform$1(node) {\n  return node.__zoom || identity$8;\n}\n\nfunction nopropagation$2() {\n  exports.event.stopImmediatePropagation();\n}\n\nvar noevent$2 = function() {\n  exports.event.preventDefault();\n  exports.event.stopImmediatePropagation();\n};\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter$2() {\n  return !exports.event.button;\n}\n\nfunction defaultExtent$1() {\n  var e = this, w, h;\n  if (e instanceof SVGElement) {\n    e = e.ownerSVGElement || e;\n    w = e.width.baseVal.value;\n    h = e.height.baseVal.value;\n  } else {\n    w = e.clientWidth;\n    h = e.clientHeight;\n  }\n  return [[0, 0], [w, h]];\n}\n\nfunction defaultTransform() {\n  return this.__zoom || identity$8;\n}\n\nvar zoom = function() {\n  var filter = defaultFilter$2,\n      extent = defaultExtent$1,\n      k0 = 0,\n      k1 = Infinity,\n      x0 = -k1,\n      x1 = k1,\n      y0 = x0,\n      y1 = x1,\n      duration = 250,\n      interpolate$$1 = interpolateZoom,\n      gestures = [],\n      listeners = dispatch(\"start\", \"zoom\", \"end\"),\n      touchstarting,\n      touchending,\n      touchDelay = 500,\n      wheelDelay = 150,\n      clickDistance2 = 0;\n\n  function zoom(selection$$1) {\n    selection$$1\n        .on(\"wheel.zoom\", wheeled)\n        .on(\"mousedown.zoom\", mousedowned)\n        .on(\"dblclick.zoom\", dblclicked)\n        .on(\"touchstart.zoom\", touchstarted)\n        .on(\"touchmove.zoom\", touchmoved)\n        .on(\"touchend.zoom touchcancel.zoom\", touchended)\n        .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\")\n        .property(\"__zoom\", defaultTransform);\n  }\n\n  zoom.transform = function(collection, transform) {\n    var selection$$1 = collection.selection ? collection.selection() : collection;\n    selection$$1.property(\"__zoom\", defaultTransform);\n    if (collection !== selection$$1) {\n      schedule(collection, transform);\n    } else {\n      selection$$1.interrupt().each(function() {\n        gesture(this, arguments)\n            .start()\n            .zoom(null, typeof transform === \"function\" ? transform.apply(this, arguments) : transform)\n            .end();\n      });\n    }\n  };\n\n  zoom.scaleBy = function(selection$$1, k) {\n    zoom.scaleTo(selection$$1, function() {\n      var k0 = this.__zoom.k,\n          k1 = typeof k === \"function\" ? k.apply(this, arguments) : k;\n      return k0 * k1;\n    });\n  };\n\n  zoom.scaleTo = function(selection$$1, k) {\n    zoom.transform(selection$$1, function() {\n      var e = extent.apply(this, arguments),\n          t0 = this.__zoom,\n          p0 = centroid(e),\n          p1 = t0.invert(p0),\n          k1 = typeof k === \"function\" ? k.apply(this, arguments) : k;\n      return constrain(translate(scale(t0, k1), p0, p1), e);\n    });\n  };\n\n  zoom.translateBy = function(selection$$1, x, y) {\n    zoom.transform(selection$$1, function() {\n      return constrain(this.__zoom.translate(\n        typeof x === \"function\" ? x.apply(this, arguments) : x,\n        typeof y === \"function\" ? y.apply(this, arguments) : y\n      ), extent.apply(this, arguments));\n    });\n  };\n\n  function scale(transform, k) {\n    k = Math.max(k0, Math.min(k1, k));\n    return k === transform.k ? transform : new Transform(k, transform.x, transform.y);\n  }\n\n  function translate(transform, p0, p1) {\n    var x = p0[0] - p1[0] * transform.k, y = p0[1] - p1[1] * transform.k;\n    return x === transform.x && y === transform.y ? transform : new Transform(transform.k, x, y);\n  }\n\n  function constrain(transform, extent) {\n    var dx0 = transform.invertX(extent[0][0]) - x0,\n        dx1 = transform.invertX(extent[1][0]) - x1,\n        dy0 = transform.invertY(extent[0][1]) - y0,\n        dy1 = transform.invertY(extent[1][1]) - y1;\n    return transform.translate(\n      dx1 > dx0 ? (dx0 + dx1) / 2 : Math.min(0, dx0) || Math.max(0, dx1),\n      dy1 > dy0 ? (dy0 + dy1) / 2 : Math.min(0, dy0) || Math.max(0, dy1)\n    );\n  }\n\n  function centroid(extent) {\n    return [(+extent[0][0] + +extent[1][0]) / 2, (+extent[0][1] + +extent[1][1]) / 2];\n  }\n\n  function schedule(transition$$1, transform, center) {\n    transition$$1\n        .on(\"start.zoom\", function() { gesture(this, arguments).start(); })\n        .on(\"interrupt.zoom end.zoom\", function() { gesture(this, arguments).end(); })\n        .tween(\"zoom\", function() {\n          var that = this,\n              args = arguments,\n              g = gesture(that, args),\n              e = extent.apply(that, args),\n              p = center || centroid(e),\n              w = Math.max(e[1][0] - e[0][0], e[1][1] - e[0][1]),\n              a = that.__zoom,\n              b = typeof transform === \"function\" ? transform.apply(that, args) : transform,\n              i = interpolate$$1(a.invert(p).concat(w / a.k), b.invert(p).concat(w / b.k));\n          return function(t) {\n            if (t === 1) t = b; // Avoid rounding error on end.\n            else { var l = i(t), k = w / l[2]; t = new Transform(k, p[0] - l[0] * k, p[1] - l[1] * k); }\n            g.zoom(null, t);\n          };\n        });\n  }\n\n  function gesture(that, args) {\n    for (var i = 0, n = gestures.length, g; i < n; ++i) {\n      if ((g = gestures[i]).that === that) {\n        return g;\n      }\n    }\n    return new Gesture(that, args);\n  }\n\n  function Gesture(that, args) {\n    this.that = that;\n    this.args = args;\n    this.index = -1;\n    this.active = 0;\n    this.extent = extent.apply(that, args);\n  }\n\n  Gesture.prototype = {\n    start: function() {\n      if (++this.active === 1) {\n        this.index = gestures.push(this) - 1;\n        this.emit(\"start\");\n      }\n      return this;\n    },\n    zoom: function(key, transform) {\n      if (this.mouse && key !== \"mouse\") this.mouse[1] = transform.invert(this.mouse[0]);\n      if (this.touch0 && key !== \"touch\") this.touch0[1] = transform.invert(this.touch0[0]);\n      if (this.touch1 && key !== \"touch\") this.touch1[1] = transform.invert(this.touch1[0]);\n      this.that.__zoom = transform;\n      this.emit(\"zoom\");\n      return this;\n    },\n    end: function() {\n      if (--this.active === 0) {\n        gestures.splice(this.index, 1);\n        this.index = -1;\n        this.emit(\"end\");\n      }\n      return this;\n    },\n    emit: function(type) {\n      customEvent(new ZoomEvent(zoom, type, this.that.__zoom), listeners.apply, listeners, [type, this.that, this.args]);\n    }\n  };\n\n  function wheeled() {\n    if (!filter.apply(this, arguments)) return;\n    var g = gesture(this, arguments),\n        t = this.__zoom,\n        k = Math.max(k0, Math.min(k1, t.k * Math.pow(2, -exports.event.deltaY * (exports.event.deltaMode ? 120 : 1) / 500))),\n        p = mouse(this);\n\n    // If the mouse is in the same location as before, reuse it.\n    // If there were recent wheel events, reset the wheel idle timeout.\n    if (g.wheel) {\n      if (g.mouse[0][0] !== p[0] || g.mouse[0][1] !== p[1]) {\n        g.mouse[1] = t.invert(g.mouse[0] = p);\n      }\n      clearTimeout(g.wheel);\n    }\n\n    // If this wheel event won’t trigger a transform change, ignore it.\n    else if (t.k === k) return;\n\n    // Otherwise, capture the mouse point and location at the start.\n    else {\n      g.mouse = [p, t.invert(p)];\n      interrupt(this);\n      g.start();\n    }\n\n    noevent$2();\n    g.wheel = setTimeout(wheelidled, wheelDelay);\n    g.zoom(\"mouse\", constrain(translate(scale(t, k), g.mouse[0], g.mouse[1]), g.extent));\n\n    function wheelidled() {\n      g.wheel = null;\n      g.end();\n    }\n  }\n\n  function mousedowned() {\n    if (touchending || !filter.apply(this, arguments)) return;\n    var g = gesture(this, arguments),\n        v = select(exports.event.view).on(\"mousemove.zoom\", mousemoved, true).on(\"mouseup.zoom\", mouseupped, true),\n        p = mouse(this),\n        x0 = exports.event.clientX,\n        y0 = exports.event.clientY;\n\n    dragDisable(exports.event.view);\n    nopropagation$2();\n    g.mouse = [p, this.__zoom.invert(p)];\n    interrupt(this);\n    g.start();\n\n    function mousemoved() {\n      noevent$2();\n      if (!g.moved) {\n        var dx = exports.event.clientX - x0, dy = exports.event.clientY - y0;\n        g.moved = dx * dx + dy * dy > clickDistance2;\n      }\n      g.zoom(\"mouse\", constrain(translate(g.that.__zoom, g.mouse[0] = mouse(g.that), g.mouse[1]), g.extent));\n    }\n\n    function mouseupped() {\n      v.on(\"mousemove.zoom mouseup.zoom\", null);\n      yesdrag(exports.event.view, g.moved);\n      noevent$2();\n      g.end();\n    }\n  }\n\n  function dblclicked() {\n    if (!filter.apply(this, arguments)) return;\n    var t0 = this.__zoom,\n        p0 = mouse(this),\n        p1 = t0.invert(p0),\n        k1 = t0.k * (exports.event.shiftKey ? 0.5 : 2),\n        t1 = constrain(translate(scale(t0, k1), p0, p1), extent.apply(this, arguments));\n\n    noevent$2();\n    if (duration > 0) select(this).transition().duration(duration).call(schedule, t1, p0);\n    else select(this).call(zoom.transform, t1);\n  }\n\n  function touchstarted() {\n    if (!filter.apply(this, arguments)) return;\n    var g = gesture(this, arguments),\n        touches$$1 = exports.event.changedTouches,\n        started,\n        n = touches$$1.length, i, t, p;\n\n    nopropagation$2();\n    for (i = 0; i < n; ++i) {\n      t = touches$$1[i], p = touch(this, touches$$1, t.identifier);\n      p = [p, this.__zoom.invert(p), t.identifier];\n      if (!g.touch0) g.touch0 = p, started = true;\n      else if (!g.touch1) g.touch1 = p;\n    }\n\n    // If this is a dbltap, reroute to the (optional) dblclick.zoom handler.\n    if (touchstarting) {\n      touchstarting = clearTimeout(touchstarting);\n      if (!g.touch1) {\n        g.end();\n        p = select(this).on(\"dblclick.zoom\");\n        if (p) p.apply(this, arguments);\n        return;\n      }\n    }\n\n    if (started) {\n      touchstarting = setTimeout(function() { touchstarting = null; }, touchDelay);\n      interrupt(this);\n      g.start();\n    }\n  }\n\n  function touchmoved() {\n    var g = gesture(this, arguments),\n        touches$$1 = exports.event.changedTouches,\n        n = touches$$1.length, i, t, p, l;\n\n    noevent$2();\n    if (touchstarting) touchstarting = clearTimeout(touchstarting);\n    for (i = 0; i < n; ++i) {\n      t = touches$$1[i], p = touch(this, touches$$1, t.identifier);\n      if (g.touch0 && g.touch0[2] === t.identifier) g.touch0[0] = p;\n      else if (g.touch1 && g.touch1[2] === t.identifier) g.touch1[0] = p;\n    }\n    t = g.that.__zoom;\n    if (g.touch1) {\n      var p0 = g.touch0[0], l0 = g.touch0[1],\n          p1 = g.touch1[0], l1 = g.touch1[1],\n          dp = (dp = p1[0] - p0[0]) * dp + (dp = p1[1] - p0[1]) * dp,\n          dl = (dl = l1[0] - l0[0]) * dl + (dl = l1[1] - l0[1]) * dl;\n      t = scale(t, Math.sqrt(dp / dl));\n      p = [(p0[0] + p1[0]) / 2, (p0[1] + p1[1]) / 2];\n      l = [(l0[0] + l1[0]) / 2, (l0[1] + l1[1]) / 2];\n    }\n    else if (g.touch0) p = g.touch0[0], l = g.touch0[1];\n    else return;\n    g.zoom(\"touch\", constrain(translate(t, p, l), g.extent));\n  }\n\n  function touchended() {\n    var g = gesture(this, arguments),\n        touches$$1 = exports.event.changedTouches,\n        n = touches$$1.length, i, t;\n\n    nopropagation$2();\n    if (touchending) clearTimeout(touchending);\n    touchending = setTimeout(function() { touchending = null; }, touchDelay);\n    for (i = 0; i < n; ++i) {\n      t = touches$$1[i];\n      if (g.touch0 && g.touch0[2] === t.identifier) delete g.touch0;\n      else if (g.touch1 && g.touch1[2] === t.identifier) delete g.touch1;\n    }\n    if (g.touch1 && !g.touch0) g.touch0 = g.touch1, delete g.touch1;\n    if (g.touch0) g.touch0[1] = this.__zoom.invert(g.touch0[0]);\n    else g.end();\n  }\n\n  zoom.filter = function(_) {\n    return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant$12(!!_), zoom) : filter;\n  };\n\n  zoom.extent = function(_) {\n    return arguments.length ? (extent = typeof _ === \"function\" ? _ : constant$12([[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]]), zoom) : extent;\n  };\n\n  zoom.scaleExtent = function(_) {\n    return arguments.length ? (k0 = +_[0], k1 = +_[1], zoom) : [k0, k1];\n  };\n\n  zoom.translateExtent = function(_) {\n    return arguments.length ? (x0 = +_[0][0], x1 = +_[1][0], y0 = +_[0][1], y1 = +_[1][1], zoom) : [[x0, y0], [x1, y1]];\n  };\n\n  zoom.duration = function(_) {\n    return arguments.length ? (duration = +_, zoom) : duration;\n  };\n\n  zoom.interpolate = function(_) {\n    return arguments.length ? (interpolate$$1 = _, zoom) : interpolate$$1;\n  };\n\n  zoom.on = function() {\n    var value = listeners.on.apply(listeners, arguments);\n    return value === listeners ? zoom : value;\n  };\n\n  zoom.clickDistance = function(_) {\n    return arguments.length ? (clickDistance2 = (_ = +_) * _, zoom) : Math.sqrt(clickDistance2);\n  };\n    \n  return zoom;\n};\n\nexports.version = version;\nexports.bisect = bisectRight;\nexports.bisectRight = bisectRight;\nexports.bisectLeft = bisectLeft;\nexports.ascending = ascending;\nexports.bisector = bisector;\nexports.cross = cross;\nexports.descending = descending;\nexports.deviation = deviation;\nexports.extent = extent;\nexports.histogram = histogram;\nexports.thresholdFreedmanDiaconis = freedmanDiaconis;\nexports.thresholdScott = scott;\nexports.thresholdSturges = sturges;\nexports.max = max;\nexports.mean = mean;\nexports.median = median;\nexports.merge = merge;\nexports.min = min;\nexports.pairs = pairs;\nexports.permute = permute;\nexports.quantile = threshold;\nexports.range = sequence;\nexports.scan = scan;\nexports.shuffle = shuffle;\nexports.sum = sum;\nexports.ticks = ticks;\nexports.tickIncrement = tickIncrement;\nexports.tickStep = tickStep;\nexports.transpose = transpose;\nexports.variance = variance;\nexports.zip = zip;\nexports.axisTop = axisTop;\nexports.axisRight = axisRight;\nexports.axisBottom = axisBottom;\nexports.axisLeft = axisLeft;\nexports.brush = brush;\nexports.brushX = brushX;\nexports.brushY = brushY;\nexports.brushSelection = brushSelection;\nexports.chord = chord;\nexports.ribbon = ribbon;\nexports.nest = nest;\nexports.set = set$2;\nexports.map = map$1;\nexports.keys = keys;\nexports.values = values;\nexports.entries = entries;\nexports.color = color;\nexports.rgb = rgb;\nexports.hsl = hsl;\nexports.lab = lab;\nexports.hcl = hcl;\nexports.cubehelix = cubehelix;\nexports.dispatch = dispatch;\nexports.drag = drag;\nexports.dragDisable = dragDisable;\nexports.dragEnable = yesdrag;\nexports.dsvFormat = dsv;\nexports.csvParse = csvParse;\nexports.csvParseRows = csvParseRows;\nexports.csvFormat = csvFormat;\nexports.csvFormatRows = csvFormatRows;\nexports.tsvParse = tsvParse;\nexports.tsvParseRows = tsvParseRows;\nexports.tsvFormat = tsvFormat;\nexports.tsvFormatRows = tsvFormatRows;\nexports.easeLinear = linear$1;\nexports.easeQuad = quadInOut;\nexports.easeQuadIn = quadIn;\nexports.easeQuadOut = quadOut;\nexports.easeQuadInOut = quadInOut;\nexports.easeCubic = cubicInOut;\nexports.easeCubicIn = cubicIn;\nexports.easeCubicOut = cubicOut;\nexports.easeCubicInOut = cubicInOut;\nexports.easePoly = polyInOut;\nexports.easePolyIn = polyIn;\nexports.easePolyOut = polyOut;\nexports.easePolyInOut = polyInOut;\nexports.easeSin = sinInOut;\nexports.easeSinIn = sinIn;\nexports.easeSinOut = sinOut;\nexports.easeSinInOut = sinInOut;\nexports.easeExp = expInOut;\nexports.easeExpIn = expIn;\nexports.easeExpOut = expOut;\nexports.easeExpInOut = expInOut;\nexports.easeCircle = circleInOut;\nexports.easeCircleIn = circleIn;\nexports.easeCircleOut = circleOut;\nexports.easeCircleInOut = circleInOut;\nexports.easeBounce = bounceOut;\nexports.easeBounceIn = bounceIn;\nexports.easeBounceOut = bounceOut;\nexports.easeBounceInOut = bounceInOut;\nexports.easeBack = backInOut;\nexports.easeBackIn = backIn;\nexports.easeBackOut = backOut;\nexports.easeBackInOut = backInOut;\nexports.easeElastic = elasticOut;\nexports.easeElasticIn = elasticIn;\nexports.easeElasticOut = elasticOut;\nexports.easeElasticInOut = elasticInOut;\nexports.forceCenter = center$1;\nexports.forceCollide = collide;\nexports.forceLink = link;\nexports.forceManyBody = manyBody;\nexports.forceSimulation = simulation;\nexports.forceX = x$2;\nexports.forceY = y$2;\nexports.formatDefaultLocale = defaultLocale;\nexports.formatLocale = formatLocale;\nexports.formatSpecifier = formatSpecifier;\nexports.precisionFixed = precisionFixed;\nexports.precisionPrefix = precisionPrefix;\nexports.precisionRound = precisionRound;\nexports.geoArea = area;\nexports.geoBounds = bounds;\nexports.geoCentroid = centroid;\nexports.geoCircle = circle;\nexports.geoClipExtent = extent$1;\nexports.geoContains = contains;\nexports.geoDistance = distance;\nexports.geoGraticule = graticule;\nexports.geoGraticule10 = graticule10;\nexports.geoInterpolate = interpolate$1;\nexports.geoLength = length$1;\nexports.geoPath = index$1;\nexports.geoAlbers = albers;\nexports.geoAlbersUsa = albersUsa;\nexports.geoAzimuthalEqualArea = azimuthalEqualArea;\nexports.geoAzimuthalEqualAreaRaw = azimuthalEqualAreaRaw;\nexports.geoAzimuthalEquidistant = azimuthalEquidistant;\nexports.geoAzimuthalEquidistantRaw = azimuthalEquidistantRaw;\nexports.geoConicConformal = conicConformal;\nexports.geoConicConformalRaw = conicConformalRaw;\nexports.geoConicEqualArea = conicEqualArea;\nexports.geoConicEqualAreaRaw = conicEqualAreaRaw;\nexports.geoConicEquidistant = conicEquidistant;\nexports.geoConicEquidistantRaw = conicEquidistantRaw;\nexports.geoEquirectangular = equirectangular;\nexports.geoEquirectangularRaw = equirectangularRaw;\nexports.geoGnomonic = gnomonic;\nexports.geoGnomonicRaw = gnomonicRaw;\nexports.geoIdentity = identity$5;\nexports.geoProjection = projection;\nexports.geoProjectionMutator = projectionMutator;\nexports.geoMercator = mercator;\nexports.geoMercatorRaw = mercatorRaw;\nexports.geoOrthographic = orthographic;\nexports.geoOrthographicRaw = orthographicRaw;\nexports.geoStereographic = stereographic;\nexports.geoStereographicRaw = stereographicRaw;\nexports.geoTransverseMercator = transverseMercator;\nexports.geoTransverseMercatorRaw = transverseMercatorRaw;\nexports.geoRotation = rotation;\nexports.geoStream = geoStream;\nexports.geoTransform = transform;\nexports.cluster = cluster;\nexports.hierarchy = hierarchy;\nexports.pack = index$2;\nexports.packSiblings = siblings;\nexports.packEnclose = enclose;\nexports.partition = partition;\nexports.stratify = stratify;\nexports.tree = tree;\nexports.treemap = index$3;\nexports.treemapBinary = binary;\nexports.treemapDice = treemapDice;\nexports.treemapSlice = treemapSlice;\nexports.treemapSliceDice = sliceDice;\nexports.treemapSquarify = squarify;\nexports.treemapResquarify = resquarify;\nexports.interpolate = interpolateValue;\nexports.interpolateArray = array$1;\nexports.interpolateBasis = basis$1;\nexports.interpolateBasisClosed = basisClosed;\nexports.interpolateDate = date;\nexports.interpolateNumber = reinterpolate;\nexports.interpolateObject = object;\nexports.interpolateRound = interpolateRound;\nexports.interpolateString = interpolateString;\nexports.interpolateTransformCss = interpolateTransformCss;\nexports.interpolateTransformSvg = interpolateTransformSvg;\nexports.interpolateZoom = interpolateZoom;\nexports.interpolateRgb = interpolateRgb;\nexports.interpolateRgbBasis = rgbBasis;\nexports.interpolateRgbBasisClosed = rgbBasisClosed;\nexports.interpolateHsl = hsl$2;\nexports.interpolateHslLong = hslLong;\nexports.interpolateLab = lab$1;\nexports.interpolateHcl = hcl$2;\nexports.interpolateHclLong = hclLong;\nexports.interpolateCubehelix = cubehelix$2;\nexports.interpolateCubehelixLong = cubehelixLong;\nexports.quantize = quantize;\nexports.path = path;\nexports.polygonArea = area$1;\nexports.polygonCentroid = centroid$1;\nexports.polygonHull = hull;\nexports.polygonContains = contains$1;\nexports.polygonLength = length$2;\nexports.quadtree = quadtree;\nexports.queue = queue;\nexports.randomUniform = uniform;\nexports.randomNormal = normal;\nexports.randomLogNormal = logNormal;\nexports.randomBates = bates;\nexports.randomIrwinHall = irwinHall;\nexports.randomExponential = exponential$1;\nexports.request = request;\nexports.html = html;\nexports.json = json;\nexports.text = text;\nexports.xml = xml;\nexports.csv = csv$1;\nexports.tsv = tsv$1;\nexports.scaleBand = band;\nexports.scalePoint = point$1;\nexports.scaleIdentity = identity$6;\nexports.scaleLinear = linear$2;\nexports.scaleLog = log$1;\nexports.scaleOrdinal = ordinal;\nexports.scaleImplicit = implicit;\nexports.scalePow = pow$1;\nexports.scaleSqrt = sqrt$1;\nexports.scaleQuantile = quantile$$1;\nexports.scaleQuantize = quantize$1;\nexports.scaleThreshold = threshold$1;\nexports.scaleTime = time;\nexports.scaleUtc = utcTime;\nexports.schemeCategory10 = category10;\nexports.schemeCategory20b = category20b;\nexports.schemeCategory20c = category20c;\nexports.schemeCategory20 = category20;\nexports.interpolateCubehelixDefault = cubehelix$3;\nexports.interpolateRainbow = rainbow$1;\nexports.interpolateWarm = warm;\nexports.interpolateCool = cool;\nexports.interpolateViridis = viridis;\nexports.interpolateMagma = magma;\nexports.interpolateInferno = inferno;\nexports.interpolatePlasma = plasma;\nexports.scaleSequential = sequential;\nexports.creator = creator;\nexports.local = local$1;\nexports.matcher = matcher$1;\nexports.mouse = mouse;\nexports.namespace = namespace;\nexports.namespaces = namespaces;\nexports.select = select;\nexports.selectAll = selectAll;\nexports.selection = selection;\nexports.selector = selector;\nexports.selectorAll = selectorAll;\nexports.style = styleValue;\nexports.touch = touch;\nexports.touches = touches;\nexports.window = defaultView;\nexports.customEvent = customEvent;\nexports.arc = arc;\nexports.area = area$2;\nexports.line = line;\nexports.pie = pie;\nexports.radialArea = radialArea;\nexports.radialLine = radialLine$1;\nexports.linkHorizontal = linkHorizontal;\nexports.linkVertical = linkVertical;\nexports.linkRadial = linkRadial;\nexports.symbol = symbol;\nexports.symbols = symbols;\nexports.symbolCircle = circle$2;\nexports.symbolCross = cross$2;\nexports.symbolDiamond = diamond;\nexports.symbolSquare = square;\nexports.symbolStar = star;\nexports.symbolTriangle = triangle;\nexports.symbolWye = wye;\nexports.curveBasisClosed = basisClosed$1;\nexports.curveBasisOpen = basisOpen;\nexports.curveBasis = basis$2;\nexports.curveBundle = bundle;\nexports.curveCardinalClosed = cardinalClosed;\nexports.curveCardinalOpen = cardinalOpen;\nexports.curveCardinal = cardinal;\nexports.curveCatmullRomClosed = catmullRomClosed;\nexports.curveCatmullRomOpen = catmullRomOpen;\nexports.curveCatmullRom = catmullRom;\nexports.curveLinearClosed = linearClosed;\nexports.curveLinear = curveLinear;\nexports.curveMonotoneX = monotoneX;\nexports.curveMonotoneY = monotoneY;\nexports.curveNatural = natural;\nexports.curveStep = step;\nexports.curveStepAfter = stepAfter;\nexports.curveStepBefore = stepBefore;\nexports.stack = stack;\nexports.stackOffsetExpand = expand;\nexports.stackOffsetDiverging = diverging;\nexports.stackOffsetNone = none$1;\nexports.stackOffsetSilhouette = silhouette;\nexports.stackOffsetWiggle = wiggle;\nexports.stackOrderAscending = ascending$2;\nexports.stackOrderDescending = descending$2;\nexports.stackOrderInsideOut = insideOut;\nexports.stackOrderNone = none$2;\nexports.stackOrderReverse = reverse;\nexports.timeInterval = newInterval;\nexports.timeMillisecond = millisecond;\nexports.timeMilliseconds = milliseconds;\nexports.utcMillisecond = millisecond;\nexports.utcMilliseconds = milliseconds;\nexports.timeSecond = second;\nexports.timeSeconds = seconds;\nexports.utcSecond = second;\nexports.utcSeconds = seconds;\nexports.timeMinute = minute;\nexports.timeMinutes = minutes;\nexports.timeHour = hour;\nexports.timeHours = hours;\nexports.timeDay = day;\nexports.timeDays = days;\nexports.timeWeek = sunday;\nexports.timeWeeks = sundays;\nexports.timeSunday = sunday;\nexports.timeSundays = sundays;\nexports.timeMonday = monday;\nexports.timeMondays = mondays;\nexports.timeTuesday = tuesday;\nexports.timeTuesdays = tuesdays;\nexports.timeWednesday = wednesday;\nexports.timeWednesdays = wednesdays;\nexports.timeThursday = thursday;\nexports.timeThursdays = thursdays;\nexports.timeFriday = friday;\nexports.timeFridays = fridays;\nexports.timeSaturday = saturday;\nexports.timeSaturdays = saturdays;\nexports.timeMonth = month;\nexports.timeMonths = months;\nexports.timeYear = year;\nexports.timeYears = years;\nexports.utcMinute = utcMinute;\nexports.utcMinutes = utcMinutes;\nexports.utcHour = utcHour;\nexports.utcHours = utcHours;\nexports.utcDay = utcDay;\nexports.utcDays = utcDays;\nexports.utcWeek = utcSunday;\nexports.utcWeeks = utcSundays;\nexports.utcSunday = utcSunday;\nexports.utcSundays = utcSundays;\nexports.utcMonday = utcMonday;\nexports.utcMondays = utcMondays;\nexports.utcTuesday = utcTuesday;\nexports.utcTuesdays = utcTuesdays;\nexports.utcWednesday = utcWednesday;\nexports.utcWednesdays = utcWednesdays;\nexports.utcThursday = utcThursday;\nexports.utcThursdays = utcThursdays;\nexports.utcFriday = utcFriday;\nexports.utcFridays = utcFridays;\nexports.utcSaturday = utcSaturday;\nexports.utcSaturdays = utcSaturdays;\nexports.utcMonth = utcMonth;\nexports.utcMonths = utcMonths;\nexports.utcYear = utcYear;\nexports.utcYears = utcYears;\nexports.timeFormatDefaultLocale = defaultLocale$1;\nexports.timeFormatLocale = formatLocale$1;\nexports.isoFormat = formatIso;\nexports.isoParse = parseIso;\nexports.now = now;\nexports.timer = timer;\nexports.timerFlush = timerFlush;\nexports.timeout = timeout$1;\nexports.interval = interval$1;\nexports.transition = transition;\nexports.active = active;\nexports.interrupt = interrupt;\nexports.voronoi = voronoi;\nexports.zoom = zoom;\nexports.zoomTransform = transform$1;\nexports.zoomIdentity = identity$8;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar redux_1 = require(\"redux\");\nvar reducers_1 = require(\"./reducers\");\nvar dragDrop_1 = require(\"./actions/dragDrop\");\nvar DragDropMonitorImpl_1 = require(\"./DragDropMonitorImpl\");\nvar HandlerRegistryImpl_1 = require(\"./HandlerRegistryImpl\");\nvar DragDropManagerImpl = /** @class */ (function () {\n    function DragDropManagerImpl(createBackend, context) {\n        if (context === void 0) { context = {}; }\n        var _this = this;\n        this.context = context;\n        this.isSetUp = false;\n        this.handleRefCountChange = function () {\n            var shouldSetUp = _this.store.getState().refCount > 0;\n            if (shouldSetUp && !_this.isSetUp) {\n                _this.backend.setup();\n                _this.isSetUp = true;\n            }\n            else if (!shouldSetUp && _this.isSetUp) {\n                _this.backend.teardown();\n                _this.isSetUp = false;\n            }\n        };\n        var store = redux_1.createStore(reducers_1.default);\n        this.store = store;\n        this.monitor = new DragDropMonitorImpl_1.default(store, new HandlerRegistryImpl_1.default(store));\n        this.backend = createBackend(this);\n        store.subscribe(this.handleRefCountChange);\n    }\n    DragDropManagerImpl.prototype.getContext = function () {\n        return this.context;\n    };\n    DragDropManagerImpl.prototype.getMonitor = function () {\n        return this.monitor;\n    };\n    DragDropManagerImpl.prototype.getBackend = function () {\n        return this.backend;\n    };\n    DragDropManagerImpl.prototype.getRegistry = function () {\n        return this.monitor.registry;\n    };\n    DragDropManagerImpl.prototype.getActions = function () {\n        var manager = this;\n        var dispatch = this.store.dispatch;\n        function bindActionCreator(actionCreator) {\n            return function () {\n                var args = [];\n                for (var _i = 0; _i < arguments.length; _i++) {\n                    args[_i] = arguments[_i];\n                }\n                var action = actionCreator.apply(manager, args);\n                if (typeof action !== 'undefined') {\n                    dispatch(action);\n                }\n            };\n        }\n        var actions = dragDrop_1.default(this);\n        return Object.keys(actions).reduce(function (boundActions, key) {\n            var action = actions[key];\n            boundActions[key] = bindActionCreator(action);\n            return boundActions;\n        }, {});\n    };\n    DragDropManagerImpl.prototype.dispatch = function (action) {\n        this.store.dispatch(action);\n    };\n    return DragDropManagerImpl;\n}());\nexports.default = DragDropManagerImpl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar matchesType_1 = require(\"./utils/matchesType\");\nvar coords_1 = require(\"./utils/coords\");\nvar dirtiness_1 = require(\"./utils/dirtiness\");\nvar invariant = require('invariant');\nvar DragDropMonitorImpl = /** @class */ (function () {\n    function DragDropMonitorImpl(store, registry) {\n        this.store = store;\n        this.registry = registry;\n    }\n    DragDropMonitorImpl.prototype.subscribeToStateChange = function (listener, options) {\n        var _this = this;\n        if (options === void 0) { options = { handlerIds: undefined }; }\n        var handlerIds = options.handlerIds;\n        invariant(typeof listener === 'function', 'listener must be a function.');\n        invariant(typeof handlerIds === 'undefined' || Array.isArray(handlerIds), 'handlerIds, when specified, must be an array of strings.');\n        var prevStateId = this.store.getState().stateId;\n        var handleChange = function () {\n            var state = _this.store.getState();\n            var currentStateId = state.stateId;\n            try {\n                var canSkipListener = currentStateId === prevStateId ||\n                    (currentStateId === prevStateId + 1 &&\n                        !dirtiness_1.areDirty(state.dirtyHandlerIds, handlerIds));\n                if (!canSkipListener) {\n                    listener();\n                }\n            }\n            finally {\n                prevStateId = currentStateId;\n            }\n        };\n        return this.store.subscribe(handleChange);\n    };\n    DragDropMonitorImpl.prototype.subscribeToOffsetChange = function (listener) {\n        var _this = this;\n        invariant(typeof listener === 'function', 'listener must be a function.');\n        var previousState = this.store.getState().dragOffset;\n        var handleChange = function () {\n            var nextState = _this.store.getState().dragOffset;\n            if (nextState === previousState) {\n                return;\n            }\n            previousState = nextState;\n            listener();\n        };\n        return this.store.subscribe(handleChange);\n    };\n    DragDropMonitorImpl.prototype.canDragSource = function (sourceId) {\n        var source = this.registry.getSource(sourceId);\n        invariant(source, 'Expected to find a valid source.');\n        if (this.isDragging()) {\n            return false;\n        }\n        return source.canDrag(this, sourceId);\n    };\n    DragDropMonitorImpl.prototype.canDropOnTarget = function (targetId) {\n        var target = this.registry.getTarget(targetId);\n        invariant(target, 'Expected to find a valid target.');\n        if (!this.isDragging() || this.didDrop()) {\n            return false;\n        }\n        var targetType = this.registry.getTargetType(targetId);\n        var draggedItemType = this.getItemType();\n        return (matchesType_1.default(targetType, draggedItemType) && target.canDrop(this, targetId));\n    };\n    DragDropMonitorImpl.prototype.isDragging = function () {\n        return Boolean(this.getItemType());\n    };\n    DragDropMonitorImpl.prototype.isDraggingSource = function (sourceId) {\n        var source = this.registry.getSource(sourceId, true);\n        invariant(source, 'Expected to find a valid source.');\n        if (!this.isDragging() || !this.isSourcePublic()) {\n            return false;\n        }\n        var sourceType = this.registry.getSourceType(sourceId);\n        var draggedItemType = this.getItemType();\n        if (sourceType !== draggedItemType) {\n            return false;\n        }\n        return source.isDragging(this, sourceId);\n    };\n    DragDropMonitorImpl.prototype.isOverTarget = function (targetId, options) {\n        if (options === void 0) { options = { shallow: false }; }\n        var shallow = options.shallow;\n        if (!this.isDragging()) {\n            return false;\n        }\n        var targetType = this.registry.getTargetType(targetId);\n        var draggedItemType = this.getItemType();\n        if (draggedItemType && !matchesType_1.default(targetType, draggedItemType)) {\n            return false;\n        }\n        var targetIds = this.getTargetIds();\n        if (!targetIds.length) {\n            return false;\n        }\n        var index = targetIds.indexOf(targetId);\n        if (shallow) {\n            return index === targetIds.length - 1;\n        }\n        else {\n            return index > -1;\n        }\n    };\n    DragDropMonitorImpl.prototype.getItemType = function () {\n        return this.store.getState().dragOperation.itemType;\n    };\n    DragDropMonitorImpl.prototype.getItem = function () {\n        return this.store.getState().dragOperation.item;\n    };\n    DragDropMonitorImpl.prototype.getSourceId = function () {\n        return this.store.getState().dragOperation.sourceId;\n    };\n    DragDropMonitorImpl.prototype.getTargetIds = function () {\n        return this.store.getState().dragOperation.targetIds;\n    };\n    DragDropMonitorImpl.prototype.getDropResult = function () {\n        return this.store.getState().dragOperation.dropResult;\n    };\n    DragDropMonitorImpl.prototype.didDrop = function () {\n        return this.store.getState().dragOperation.didDrop;\n    };\n    DragDropMonitorImpl.prototype.isSourcePublic = function () {\n        return this.store.getState().dragOperation.isSourcePublic;\n    };\n    DragDropMonitorImpl.prototype.getInitialClientOffset = function () {\n        return this.store.getState().dragOffset.initialClientOffset;\n    };\n    DragDropMonitorImpl.prototype.getInitialSourceClientOffset = function () {\n        return this.store.getState().dragOffset.initialSourceClientOffset;\n    };\n    DragDropMonitorImpl.prototype.getClientOffset = function () {\n        return this.store.getState().dragOffset.clientOffset;\n    };\n    DragDropMonitorImpl.prototype.getSourceClientOffset = function () {\n        return coords_1.getSourceClientOffset(this.store.getState().dragOffset);\n    };\n    DragDropMonitorImpl.prototype.getDifferenceFromInitialOffset = function () {\n        return coords_1.getDifferenceFromInitialOffset(this.store.getState().dragOffset);\n    };\n    return DragDropMonitorImpl;\n}());\nexports.default = DragDropMonitorImpl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar registry_1 = require(\"./actions/registry\");\nvar getNextUniqueId_1 = require(\"./utils/getNextUniqueId\");\nvar interfaces_1 = require(\"./interfaces\");\nvar contracts_1 = require(\"./contracts\");\nvar invariant = require('invariant');\nvar asap = require('asap');\nfunction getNextHandlerId(role) {\n    var id = getNextUniqueId_1.default().toString();\n    switch (role) {\n        case interfaces_1.HandlerRole.SOURCE:\n            return \"S\" + id;\n        case interfaces_1.HandlerRole.TARGET:\n            return \"T\" + id;\n        default:\n            throw new Error(\"Unknown Handler Role: \" + role);\n    }\n}\nfunction parseRoleFromHandlerId(handlerId) {\n    switch (handlerId[0]) {\n        case 'S':\n            return interfaces_1.HandlerRole.SOURCE;\n        case 'T':\n            return interfaces_1.HandlerRole.TARGET;\n        default:\n            invariant(false, \"Cannot parse handler ID: \" + handlerId);\n    }\n}\nfunction mapContainsValue(map, searchValue) {\n    var entries = map.entries();\n    var isDone = false;\n    do {\n        var _a = entries.next(), done = _a.done, _b = _a.value, value = _b[1];\n        if (value === searchValue) {\n            return true;\n        }\n        isDone = done;\n    } while (!isDone);\n    return false;\n}\nvar HandlerRegistryImpl = /** @class */ (function () {\n    function HandlerRegistryImpl(store) {\n        this.store = store;\n        this.types = new Map();\n        this.dragSources = new Map();\n        this.dropTargets = new Map();\n        this.pinnedSourceId = null;\n        this.pinnedSource = null;\n    }\n    HandlerRegistryImpl.prototype.addSource = function (type, source) {\n        contracts_1.validateType(type);\n        contracts_1.validateSourceContract(source);\n        var sourceId = this.addHandler(interfaces_1.HandlerRole.SOURCE, type, source);\n        this.store.dispatch(registry_1.addSource(sourceId));\n        return sourceId;\n    };\n    HandlerRegistryImpl.prototype.addTarget = function (type, target) {\n        contracts_1.validateType(type, true);\n        contracts_1.validateTargetContract(target);\n        var targetId = this.addHandler(interfaces_1.HandlerRole.TARGET, type, target);\n        this.store.dispatch(registry_1.addTarget(targetId));\n        return targetId;\n    };\n    HandlerRegistryImpl.prototype.containsHandler = function (handler) {\n        return (mapContainsValue(this.dragSources, handler) ||\n            mapContainsValue(this.dropTargets, handler));\n    };\n    HandlerRegistryImpl.prototype.getSource = function (sourceId, includePinned) {\n        if (includePinned === void 0) { includePinned = false; }\n        invariant(this.isSourceId(sourceId), 'Expected a valid source ID.');\n        var isPinned = includePinned && sourceId === this.pinnedSourceId;\n        var source = isPinned ? this.pinnedSource : this.dragSources.get(sourceId);\n        return source;\n    };\n    HandlerRegistryImpl.prototype.getTarget = function (targetId) {\n        invariant(this.isTargetId(targetId), 'Expected a valid target ID.');\n        return this.dropTargets.get(targetId);\n    };\n    HandlerRegistryImpl.prototype.getSourceType = function (sourceId) {\n        invariant(this.isSourceId(sourceId), 'Expected a valid source ID.');\n        return this.types.get(sourceId);\n    };\n    HandlerRegistryImpl.prototype.getTargetType = function (targetId) {\n        invariant(this.isTargetId(targetId), 'Expected a valid target ID.');\n        return this.types.get(targetId);\n    };\n    HandlerRegistryImpl.prototype.isSourceId = function (handlerId) {\n        var role = parseRoleFromHandlerId(handlerId);\n        return role === interfaces_1.HandlerRole.SOURCE;\n    };\n    HandlerRegistryImpl.prototype.isTargetId = function (handlerId) {\n        var role = parseRoleFromHandlerId(handlerId);\n        return role === interfaces_1.HandlerRole.TARGET;\n    };\n    HandlerRegistryImpl.prototype.removeSource = function (sourceId) {\n        var _this = this;\n        invariant(this.getSource(sourceId), 'Expected an existing source.');\n        this.store.dispatch(registry_1.removeSource(sourceId));\n        asap(function () {\n            _this.dragSources.delete(sourceId);\n            _this.types.delete(sourceId);\n        });\n    };\n    HandlerRegistryImpl.prototype.removeTarget = function (targetId) {\n        invariant(this.getTarget(targetId), 'Expected an existing target.');\n        this.store.dispatch(registry_1.removeTarget(targetId));\n        this.dropTargets.delete(targetId);\n        this.types.delete(targetId);\n    };\n    HandlerRegistryImpl.prototype.pinSource = function (sourceId) {\n        var source = this.getSource(sourceId);\n        invariant(source, 'Expected an existing source.');\n        this.pinnedSourceId = sourceId;\n        this.pinnedSource = source;\n    };\n    HandlerRegistryImpl.prototype.unpinSource = function () {\n        invariant(this.pinnedSource, 'No source is pinned at the time.');\n        this.pinnedSourceId = null;\n        this.pinnedSource = null;\n    };\n    HandlerRegistryImpl.prototype.addHandler = function (role, type, handler) {\n        var id = getNextHandlerId(role);\n        this.types.set(id, type);\n        if (role === interfaces_1.HandlerRole.SOURCE) {\n            this.dragSources.set(id, handler);\n        }\n        else if (role === interfaces_1.HandlerRole.TARGET) {\n            this.dropTargets.set(id, handler);\n        }\n        return id;\n    };\n    return HandlerRegistryImpl;\n}());\nexports.default = HandlerRegistryImpl;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar invariant = require('invariant');\nvar isObject = require('lodash/isObject');\nvar types_1 = require(\"./types\");\nfunction createBeginDrag(manager) {\n    return function beginDrag(sourceIds, _a) {\n        if (sourceIds === void 0) { sourceIds = []; }\n        var _b = _a === void 0 ? {\n            publishSource: true,\n        } : _a, _c = _b.publishSource, publishSource = _c === void 0 ? true : _c, clientOffset = _b.clientOffset, getSourceClientOffset = _b.getSourceClientOffset;\n        var monitor = manager.getMonitor();\n        var registry = manager.getRegistry();\n        verifyInvariants(sourceIds, monitor, registry);\n        var sourceId = getDraggableSource(sourceIds, monitor);\n        if (sourceId === null) {\n            return;\n        }\n        var sourceClientOffset = null;\n        if (clientOffset) {\n            verifyGetSourceClientOffsetIsFunction(getSourceClientOffset);\n            sourceClientOffset = getSourceClientOffset(sourceId);\n        }\n        var source = registry.getSource(sourceId);\n        var item = source.beginDrag(monitor, sourceId);\n        verifyItemIsObject(item);\n        registry.pinSource(sourceId);\n        var itemType = registry.getSourceType(sourceId);\n        return {\n            type: types_1.BEGIN_DRAG,\n            payload: {\n                itemType: itemType,\n                item: item,\n                sourceId: sourceId,\n                clientOffset: clientOffset || null,\n                sourceClientOffset: sourceClientOffset || null,\n                isSourcePublic: !!publishSource,\n            },\n        };\n    };\n}\nexports.default = createBeginDrag;\nfunction verifyInvariants(sourceIds, monitor, registry) {\n    invariant(!monitor.isDragging(), 'Cannot call beginDrag while dragging.');\n    for (var _i = 0, sourceIds_1 = sourceIds; _i < sourceIds_1.length; _i++) {\n        var s = sourceIds_1[_i];\n        invariant(registry.getSource(s), 'Expected sourceIds to be registered.');\n    }\n}\nfunction verifyGetSourceClientOffsetIsFunction(getSourceClientOffset) {\n    invariant(typeof getSourceClientOffset === 'function', 'When clientOffset is provided, getSourceClientOffset must be a function.');\n}\nfunction verifyItemIsObject(item) {\n    invariant(isObject(item), 'Item must be an object.');\n}\nfunction getDraggableSource(sourceIds, monitor) {\n    var sourceId = null;\n    for (var i = sourceIds.length - 1; i >= 0; i--) {\n        if (monitor.canDragSource(sourceIds[i])) {\n            sourceId = sourceIds[i];\n            break;\n        }\n    }\n    return sourceId;\n}\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar types_1 = require(\"./types\");\nvar invariant = require('invariant');\nvar isObject = require('lodash/isObject');\nfunction createDrop(manager) {\n    return function drop(options) {\n        if (options === void 0) { options = {}; }\n        var monitor = manager.getMonitor();\n        var registry = manager.getRegistry();\n        verifyInvariants(monitor);\n        var targetIds = getDroppableTargets(monitor);\n        // Multiple actions are dispatched here, which is why this doesn't return an action\n        targetIds.forEach(function (targetId, index) {\n            var dropResult = determineDropResult(targetId, index, registry, monitor);\n            var action = {\n                type: types_1.DROP,\n                payload: {\n                    dropResult: __assign({}, options, dropResult),\n                },\n            };\n            manager.dispatch(action);\n        });\n    };\n}\nexports.default = createDrop;\nfunction verifyInvariants(monitor) {\n    invariant(monitor.isDragging(), 'Cannot call drop while not dragging.');\n    invariant(!monitor.didDrop(), 'Cannot call drop twice during one drag operation.');\n}\nfunction determineDropResult(targetId, index, registry, monitor) {\n    var target = registry.getTarget(targetId);\n    var dropResult = target.drop(monitor, targetId);\n    verifyDropResultType(dropResult);\n    if (typeof dropResult === 'undefined') {\n        dropResult = index === 0 ? {} : monitor.getDropResult();\n    }\n    return dropResult;\n}\nfunction verifyDropResultType(dropResult) {\n    invariant(typeof dropResult === 'undefined' || isObject(dropResult), 'Drop result must either be an object or undefined.');\n}\nfunction getDroppableTargets(monitor) {\n    var targetIds = monitor\n        .getTargetIds()\n        .filter(monitor.canDropOnTarget, monitor);\n    targetIds.reverse();\n    return targetIds;\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar types_1 = require(\"./types\");\nvar invariant = require('invariant');\nfunction createEndDrag(manager) {\n    return function endDrag() {\n        var monitor = manager.getMonitor();\n        var registry = manager.getRegistry();\n        verifyIsDragging(monitor);\n        var sourceId = monitor.getSourceId();\n        var source = registry.getSource(sourceId, true);\n        source.endDrag(monitor, sourceId);\n        registry.unpinSource();\n        return { type: types_1.END_DRAG };\n    };\n}\nexports.default = createEndDrag;\nfunction verifyIsDragging(monitor) {\n    invariant(monitor.isDragging(), 'Cannot call endDrag while not dragging.');\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar matchesType_1 = require(\"../../utils/matchesType\");\nvar types_1 = require(\"./types\");\nvar invariant = require('invariant');\nfunction createHover(manager) {\n    return function hover(targetIdsArg, _a) {\n        var clientOffset = (_a === void 0 ? {} : _a).clientOffset;\n        verifyTargetIdsIsArray(targetIdsArg);\n        var targetIds = targetIdsArg.slice(0);\n        var monitor = manager.getMonitor();\n        var registry = manager.getRegistry();\n        checkInvariants(targetIds, monitor, registry);\n        var draggedItemType = monitor.getItemType();\n        removeNonMatchingTargetIds(targetIds, registry, draggedItemType);\n        hoverAllTargets(targetIds, monitor, registry);\n        return {\n            type: types_1.HOVER,\n            payload: {\n                targetIds: targetIds,\n                clientOffset: clientOffset || null,\n            },\n        };\n    };\n}\nexports.default = createHover;\nfunction verifyTargetIdsIsArray(targetIdsArg) {\n    invariant(Array.isArray(targetIdsArg), 'Expected targetIds to be an array.');\n}\nfunction checkInvariants(targetIds, monitor, registry) {\n    invariant(monitor.isDragging(), 'Cannot call hover while not dragging.');\n    invariant(!monitor.didDrop(), 'Cannot call hover after drop.');\n    for (var i = 0; i < targetIds.length; i++) {\n        var targetId = targetIds[i];\n        invariant(targetIds.lastIndexOf(targetId) === i, 'Expected targetIds to be unique in the passed array.');\n        var target = registry.getTarget(targetId);\n        invariant(target, 'Expected targetIds to be registered.');\n    }\n}\nfunction removeNonMatchingTargetIds(targetIds, registry, draggedItemType) {\n    // Remove those targetIds that don't match the targetType.  This\n    // fixes shallow isOver which would only be non-shallow because of\n    // non-matching targets.\n    for (var i = targetIds.length - 1; i >= 0; i--) {\n        var targetId = targetIds[i];\n        var targetType = registry.getTargetType(targetId);\n        if (!matchesType_1.default(targetType, draggedItemType)) {\n            targetIds.splice(i, 1);\n        }\n    }\n}\nfunction hoverAllTargets(targetIds, monitor, registry) {\n    // Finally call hover on all matching targets.\n    for (var _i = 0, targetIds_1 = targetIds; _i < targetIds_1.length; _i++) {\n        var targetId = targetIds_1[_i];\n        var target = registry.getTarget(targetId);\n        target.hover(monitor, targetId);\n    }\n}\n","\"use strict\";\nfunction __export(m) {\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar initCoords_1 = require(\"./initCoords\");\nvar beginDrag_1 = require(\"./beginDrag\");\nvar publishDragSource_1 = require(\"./publishDragSource\");\nvar hover_1 = require(\"./hover\");\nvar drop_1 = require(\"./drop\");\nvar endDrag_1 = require(\"./endDrag\");\n__export(require(\"./types\"));\nfunction createDragDropActions(manager) {\n    return {\n        initCoords: initCoords_1.default(manager),\n        beginDrag: beginDrag_1.default(manager),\n        publishDragSource: publishDragSource_1.default(manager),\n        hover: hover_1.default(manager),\n        drop: drop_1.default(manager),\n        endDrag: endDrag_1.default(manager),\n    };\n}\nexports.default = createDragDropActions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar invariant = require('invariant');\nvar types_1 = require(\"./types\");\nfunction createInitCoords(manager) {\n    return function initCoords(sourceIds, _a) {\n        if (sourceIds === void 0) { sourceIds = []; }\n        var clientOffset = _a.clientOffset, getSourceClientOffset = _a.getSourceClientOffset;\n        var monitor = manager.getMonitor();\n        var registry = manager.getRegistry();\n        verifyInvariants(sourceIds, monitor, registry);\n        var sourceId = getDragSourceId(sourceIds, monitor);\n        if (sourceId === null) {\n            return;\n        }\n        var sourceClientOffset = determineSourceClientOffset(sourceId, clientOffset, getSourceClientOffset);\n        return {\n            type: types_1.INIT_COORDS,\n            payload: {\n                clientOffset: clientOffset || null,\n                sourceClientOffset: sourceClientOffset || null,\n            },\n        };\n    };\n}\nexports.default = createInitCoords;\nfunction verifyInvariants(sourceIds, monitor, registry) {\n    invariant(!monitor.isDragging(), 'Cannot call beginDrag while dragging.');\n    for (var _i = 0, sourceIds_1 = sourceIds; _i < sourceIds_1.length; _i++) {\n        var s = sourceIds_1[_i];\n        invariant(registry.getSource(s), 'Expected sourceIds to be registered.');\n    }\n}\nfunction getDragSourceId(sourceIds, monitor) {\n    var sourceId = null;\n    for (var i = sourceIds.length - 1; i >= 0; i--) {\n        if (monitor.canDragSource(sourceIds[i])) {\n            sourceId = sourceIds[i];\n            break;\n        }\n    }\n    return sourceId;\n}\nfunction determineSourceClientOffset(sourceId, clientOffset, getSourceClientOffset) {\n    var result = null;\n    if (clientOffset) {\n        invariant(typeof getSourceClientOffset === 'function', 'When clientOffset is provided, getSourceClientOffset must be a function.');\n        result = getSourceClientOffset(sourceId);\n    }\n    return result;\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar types_1 = require(\"./types\");\nfunction createPublishDragSource(manager) {\n    return function publishDragSource() {\n        var monitor = manager.getMonitor();\n        if (monitor.isDragging()) {\n            return { type: types_1.PUBLISH_DRAG_SOURCE };\n        }\n    };\n}\nexports.default = createPublishDragSource;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.INIT_COORDS = 'dnd-core/INIT_COORDS';\nexports.BEGIN_DRAG = 'dnd-core/BEGIN_DRAG';\nexports.PUBLISH_DRAG_SOURCE = 'dnd-core/PUBLISH_DRAG_SOURCE';\nexports.HOVER = 'dnd-core/HOVER';\nexports.DROP = 'dnd-core/DROP';\nexports.END_DRAG = 'dnd-core/END_DRAG';\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ADD_SOURCE = 'dnd-core/ADD_SOURCE';\nexports.ADD_TARGET = 'dnd-core/ADD_TARGET';\nexports.REMOVE_SOURCE = 'dnd-core/REMOVE_SOURCE';\nexports.REMOVE_TARGET = 'dnd-core/REMOVE_TARGET';\nfunction addSource(sourceId) {\n    return {\n        type: exports.ADD_SOURCE,\n        payload: {\n            sourceId: sourceId,\n        },\n    };\n}\nexports.addSource = addSource;\nfunction addTarget(targetId) {\n    return {\n        type: exports.ADD_TARGET,\n        payload: {\n            targetId: targetId,\n        },\n    };\n}\nexports.addTarget = addTarget;\nfunction removeSource(sourceId) {\n    return {\n        type: exports.REMOVE_SOURCE,\n        payload: {\n            sourceId: sourceId,\n        },\n    };\n}\nexports.removeSource = removeSource;\nfunction removeTarget(targetId) {\n    return {\n        type: exports.REMOVE_TARGET,\n        payload: {\n            targetId: targetId,\n        },\n    };\n}\nexports.removeTarget = removeTarget;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar invariant = require('invariant');\nfunction validateSourceContract(source) {\n    invariant(typeof source.canDrag === 'function', 'Expected canDrag to be a function.');\n    invariant(typeof source.beginDrag === 'function', 'Expected beginDrag to be a function.');\n    invariant(typeof source.endDrag === 'function', 'Expected endDrag to be a function.');\n}\nexports.validateSourceContract = validateSourceContract;\nfunction validateTargetContract(target) {\n    invariant(typeof target.canDrop === 'function', 'Expected canDrop to be a function.');\n    invariant(typeof target.hover === 'function', 'Expected hover to be a function.');\n    invariant(typeof target.drop === 'function', 'Expected beginDrag to be a function.');\n}\nexports.validateTargetContract = validateTargetContract;\nfunction validateType(type, allowArray) {\n    if (allowArray && Array.isArray(type)) {\n        type.forEach(function (t) { return validateType(t, false); });\n        return;\n    }\n    invariant(typeof type === 'string' || typeof type === 'symbol', allowArray\n        ? 'Type can only be a string, a symbol, or an array of either.'\n        : 'Type can only be a string or a symbol.');\n}\nexports.validateType = validateType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DragDropManagerImpl_1 = require(\"./DragDropManagerImpl\");\nfunction createDragDropManager(backend, context) {\n    return new DragDropManagerImpl_1.default(backend, context);\n}\nexports.createDragDropManager = createDragDropManager;\n","\"use strict\";\nfunction __export(m) {\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./interfaces\"));\n__export(require(\"./factories\"));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar HandlerRole;\n(function (HandlerRole) {\n    HandlerRole[\"SOURCE\"] = \"SOURCE\";\n    HandlerRole[\"TARGET\"] = \"TARGET\";\n})(HandlerRole = exports.HandlerRole || (exports.HandlerRole = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dragDrop_1 = require(\"../actions/dragDrop\");\nvar registry_1 = require(\"../actions/registry\");\nvar equality_1 = require(\"../utils/equality\");\nvar dirtiness_1 = require(\"../utils/dirtiness\");\nvar xor = require('lodash/xor');\nfunction dirtyHandlerIds(state, action) {\n    if (state === void 0) { state = dirtiness_1.NONE; }\n    switch (action.type) {\n        case dragDrop_1.HOVER:\n            break;\n        case registry_1.ADD_SOURCE:\n        case registry_1.ADD_TARGET:\n        case registry_1.REMOVE_TARGET:\n        case registry_1.REMOVE_SOURCE:\n            return dirtiness_1.NONE;\n        case dragDrop_1.BEGIN_DRAG:\n        case dragDrop_1.PUBLISH_DRAG_SOURCE:\n        case dragDrop_1.END_DRAG:\n        case dragDrop_1.DROP:\n        default:\n            return dirtiness_1.ALL;\n    }\n    var _a = action.payload, _b = _a.targetIds, targetIds = _b === void 0 ? [] : _b, _c = _a.prevTargetIds, prevTargetIds = _c === void 0 ? [] : _c;\n    var result = xor(targetIds, prevTargetIds);\n    var didChange = result.length > 0 || !equality_1.areArraysEqual(targetIds, prevTargetIds);\n    if (!didChange) {\n        return dirtiness_1.NONE;\n    }\n    // Check the target ids at the innermost position. If they are valid, add them\n    // to the result\n    var prevInnermostTargetId = prevTargetIds[prevTargetIds.length - 1];\n    var innermostTargetId = targetIds[targetIds.length - 1];\n    if (prevInnermostTargetId !== innermostTargetId) {\n        if (prevInnermostTargetId) {\n            result.push(prevInnermostTargetId);\n        }\n        if (innermostTargetId) {\n            result.push(innermostTargetId);\n        }\n    }\n    return result;\n}\nexports.default = dirtyHandlerIds;\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dragDrop_1 = require(\"../actions/dragDrop\");\nvar equality_1 = require(\"../utils/equality\");\nvar initialState = {\n    initialSourceClientOffset: null,\n    initialClientOffset: null,\n    clientOffset: null,\n};\nfunction dragOffset(state, action) {\n    if (state === void 0) { state = initialState; }\n    var payload = action.payload;\n    switch (action.type) {\n        case dragDrop_1.INIT_COORDS:\n        case dragDrop_1.BEGIN_DRAG:\n            return {\n                initialSourceClientOffset: payload.sourceClientOffset,\n                initialClientOffset: payload.clientOffset,\n                clientOffset: payload.clientOffset,\n            };\n        case dragDrop_1.HOVER:\n            if (equality_1.areCoordsEqual(state.clientOffset, payload.clientOffset)) {\n                return state;\n            }\n            return __assign({}, state, { clientOffset: payload.clientOffset });\n        case dragDrop_1.END_DRAG:\n        case dragDrop_1.DROP:\n            return initialState;\n        default:\n            return state;\n    }\n}\nexports.default = dragOffset;\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dragDrop_1 = require(\"../actions/dragDrop\");\nvar registry_1 = require(\"../actions/registry\");\nvar without = require('lodash/without');\nvar initialState = {\n    itemType: null,\n    item: null,\n    sourceId: null,\n    targetIds: [],\n    dropResult: null,\n    didDrop: false,\n    isSourcePublic: null,\n};\nfunction dragOperation(state, action) {\n    if (state === void 0) { state = initialState; }\n    var payload = action.payload;\n    switch (action.type) {\n        case dragDrop_1.BEGIN_DRAG:\n            return __assign({}, state, { itemType: payload.itemType, item: payload.item, sourceId: payload.sourceId, isSourcePublic: payload.isSourcePublic, dropResult: null, didDrop: false });\n        case dragDrop_1.PUBLISH_DRAG_SOURCE:\n            return __assign({}, state, { isSourcePublic: true });\n        case dragDrop_1.HOVER:\n            return __assign({}, state, { targetIds: payload.targetIds });\n        case registry_1.REMOVE_TARGET:\n            if (state.targetIds.indexOf(payload.targetId) === -1) {\n                return state;\n            }\n            return __assign({}, state, { targetIds: without(state.targetIds, payload.targetId) });\n        case dragDrop_1.DROP:\n            return __assign({}, state, { dropResult: payload.dropResult, didDrop: true, targetIds: [] });\n        case dragDrop_1.END_DRAG:\n            return __assign({}, state, { itemType: null, item: null, sourceId: null, dropResult: null, didDrop: false, isSourcePublic: null, targetIds: [] });\n        default:\n            return state;\n    }\n}\nexports.default = dragOperation;\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dragOffset_1 = require(\"./dragOffset\");\nvar dragOperation_1 = require(\"./dragOperation\");\nvar refCount_1 = require(\"./refCount\");\nvar dirtyHandlerIds_1 = require(\"./dirtyHandlerIds\");\nvar stateId_1 = require(\"./stateId\");\nvar get = require('lodash/get');\nfunction reduce(state, action) {\n    if (state === void 0) { state = {}; }\n    return {\n        dirtyHandlerIds: dirtyHandlerIds_1.default(state.dirtyHandlerIds, {\n            type: action.type,\n            payload: __assign({}, action.payload, { prevTargetIds: get(state, 'dragOperation.targetIds', []) }),\n        }),\n        dragOffset: dragOffset_1.default(state.dragOffset, action),\n        refCount: refCount_1.default(state.refCount, action),\n        dragOperation: dragOperation_1.default(state.dragOperation, action),\n        stateId: stateId_1.default(state.stateId),\n    };\n}\nexports.default = reduce;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar registry_1 = require(\"../actions/registry\");\nfunction refCount(state, action) {\n    if (state === void 0) { state = 0; }\n    switch (action.type) {\n        case registry_1.ADD_SOURCE:\n        case registry_1.ADD_TARGET:\n            return state + 1;\n        case registry_1.REMOVE_SOURCE:\n        case registry_1.REMOVE_TARGET:\n            return state - 1;\n        default:\n            return state;\n    }\n}\nexports.default = refCount;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction stateId(state) {\n    if (state === void 0) { state = 0; }\n    return state + 1;\n}\nexports.default = stateId;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Coordinate addition\n * @param a The first coordinate\n * @param b The second coordinate\n */\nfunction add(a, b) {\n    return {\n        x: a.x + b.x,\n        y: a.y + b.y,\n    };\n}\nexports.add = add;\n/**\n * Coordinate subtraction\n * @param a The first coordinate\n * @param b The second coordinate\n */\nfunction subtract(a, b) {\n    return {\n        x: a.x - b.x,\n        y: a.y - b.y,\n    };\n}\nexports.subtract = subtract;\n/**\n * Returns the cartesian distance of the drag source component's position, based on its position\n * at the time when the current drag operation has started, and the movement difference.\n *\n * Returns null if no item is being dragged.\n *\n * @param state The offset state to compute from\n */\nfunction getSourceClientOffset(state) {\n    var clientOffset = state.clientOffset, initialClientOffset = state.initialClientOffset, initialSourceClientOffset = state.initialSourceClientOffset;\n    if (!clientOffset || !initialClientOffset || !initialSourceClientOffset) {\n        return null;\n    }\n    return subtract(add(clientOffset, initialSourceClientOffset), initialClientOffset);\n}\nexports.getSourceClientOffset = getSourceClientOffset;\n/**\n * Determines the x,y offset between the client offset and the initial client offset\n *\n * @param state The offset state to compute from\n */\nfunction getDifferenceFromInitialOffset(state) {\n    var clientOffset = state.clientOffset, initialClientOffset = state.initialClientOffset;\n    if (!clientOffset || !initialClientOffset) {\n        return null;\n    }\n    return subtract(clientOffset, initialClientOffset);\n}\nexports.getDifferenceFromInitialOffset = getDifferenceFromInitialOffset;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar intersection = require('lodash/intersection');\nexports.NONE = [];\nexports.ALL = [];\n/**\n * Determines if the given handler IDs are dirty or not.\n *\n * @param dirtyIds The set of dirty handler ids\n * @param handlerIds The set of handler ids to check\n */\nfunction areDirty(dirtyIds, handlerIds) {\n    if (dirtyIds === exports.NONE) {\n        return false;\n    }\n    if (dirtyIds === exports.ALL || typeof handlerIds === 'undefined') {\n        return true;\n    }\n    return intersection(handlerIds, dirtyIds).length > 0;\n}\nexports.areDirty = areDirty;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.strictEquality = function (a, b) { return a === b; };\n/**\n * Determine if two cartesian coordinate offsets are equal\n * @param offsetA\n * @param offsetB\n */\nfunction areCoordsEqual(offsetA, offsetB) {\n    if (!offsetA && !offsetB) {\n        return true;\n    }\n    else if (!offsetA || !offsetB) {\n        return false;\n    }\n    else {\n        return offsetA.x === offsetB.x && offsetA.y === offsetB.y;\n    }\n}\nexports.areCoordsEqual = areCoordsEqual;\n/**\n * Determines if two arrays of items are equal\n * @param a The first array of items\n * @param b The second array of items\n */\nfunction areArraysEqual(a, b, isEqual) {\n    if (isEqual === void 0) { isEqual = exports.strictEquality; }\n    if (a.length !== b.length) {\n        return false;\n    }\n    for (var i = 0; i < a.length; ++i) {\n        if (!isEqual(a[i], b[i])) {\n            return false;\n        }\n    }\n    return true;\n}\nexports.areArraysEqual = areArraysEqual;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar nextUniqueId = 0;\nfunction getNextUniqueId() {\n    return nextUniqueId++;\n}\nexports.default = getNextUniqueId;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction matchesType(targetType, draggedItemType) {\n    if (draggedItemType === null) {\n        return targetType === null;\n    }\n    return Array.isArray(targetType)\n        ? targetType.some(function (t) { return t === draggedItemType; })\n        : targetType === draggedItemType;\n}\nexports.default = matchesType;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = exports.PreviewManager = void 0;\n\nvar _objectAssign = _interopRequireDefault(require(\"./objectAssign\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar PreviewList = function PreviewList() {\n  var _this = this;\n\n  _classCallCheck(this, PreviewList);\n\n  this.register = function (preview) {\n    _this.previews.push(preview);\n  };\n\n  this.unregister = function (preview) {\n    var index;\n\n    while ((index = _this.previews.indexOf(preview)) !== -1) {\n      _this.previews.splice(index, 1);\n    }\n  };\n\n  this.backendChanged = function (backend) {\n    var _iteratorNormalCompletion = true;\n    var _didIteratorError = false;\n    var _iteratorError = undefined;\n\n    try {\n      for (var _iterator = _this.previews[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n        var preview = _step.value;\n        preview.backendChanged(backend);\n      }\n    } catch (err) {\n      _didIteratorError = true;\n      _iteratorError = err;\n    } finally {\n      try {\n        if (!_iteratorNormalCompletion && _iterator.return != null) {\n          _iterator.return();\n        }\n      } finally {\n        if (_didIteratorError) {\n          throw _iteratorError;\n        }\n      }\n    }\n  };\n\n  this.previews = [];\n};\n\nvar PreviewManager = new PreviewList();\nexports.PreviewManager = PreviewManager;\n\nvar _default = function _default(manager, sourceOptions) {\n  var _this2 = this;\n\n  _classCallCheck(this, _default);\n\n  this.setup = function () {\n    if (typeof window === 'undefined') {\n      return;\n    }\n\n    if (_this2.constructor.isSetUp) {\n      throw new Error('Cannot have two MultiBackends at the same time.');\n    }\n\n    _this2.constructor.isSetUp = true;\n\n    _this2.addEventListeners(window);\n\n    _this2.backends[_this2.current].instance.setup();\n  };\n\n  this.teardown = function () {\n    if (typeof window === 'undefined') {\n      return;\n    }\n\n    _this2.constructor.isSetUp = false;\n\n    _this2.removeEventListeners(window);\n\n    _this2.backends[_this2.current].instance.teardown();\n  };\n\n  this.connectDragSource = function () {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    return _this2.connectBackend('connectDragSource', args);\n  };\n\n  this.connectDragPreview = function () {\n    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    return _this2.connectBackend('connectDragPreview', args);\n  };\n\n  this.connectDropTarget = function () {\n    for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n      args[_key3] = arguments[_key3];\n    }\n\n    return _this2.connectBackend('connectDropTarget', args);\n  };\n\n  this.previewEnabled = function () {\n    return _this2.backends[_this2.current].preview;\n  };\n\n  this.addEventListeners = function (target) {\n    _this2.backends.forEach(function (backend) {\n      if (backend.transition) {\n        target.addEventListener(backend.transition.event, _this2.backendSwitcher, true);\n      }\n    });\n  };\n\n  this.removeEventListeners = function (target) {\n    _this2.backends.forEach(function (backend) {\n      if (backend.transition) {\n        target.removeEventListener(backend.transition.event, _this2.backendSwitcher, true);\n      }\n    });\n  };\n\n  this.backendSwitcher = function (event) {\n    var oldBackend = _this2.current;\n    var i = 0;\n\n    _this2.backends.some(function (backend) {\n      if (i !== _this2.current && backend.transition && backend.transition.check(event)) {\n        _this2.current = i;\n        return true;\n      }\n\n      i += 1;\n      return false;\n    });\n\n    if (_this2.current !== oldBackend) {\n      _this2.backends[oldBackend].instance.teardown();\n\n      Object.keys(_this2.nodes).forEach(function (id) {\n        var node = _this2.nodes[id];\n        node.handler();\n        node.handler = _this2.callBackend(node.func, node.args);\n      });\n      PreviewManager.backendChanged(_this2);\n      var newBackend = _this2.backends[_this2.current];\n      newBackend.instance.setup();\n\n      if (newBackend.skipDispatchOnTransition) {\n        return;\n      }\n\n      var newEvent = null;\n\n      try {\n        newEvent = new event.constructor(event.type, event);\n      } catch (_e) {\n        newEvent = document.createEvent('Event');\n        newEvent.initEvent(event.type, event.bubbles, event.cancelable);\n      }\n\n      event.target.dispatchEvent(newEvent);\n    }\n  };\n\n  this.callBackend = function (func, args) {\n    var _this2$backends$_this;\n\n    return (_this2$backends$_this = _this2.backends[_this2.current].instance)[func].apply(_this2$backends$_this, _toConsumableArray(args));\n  };\n\n  this.connectBackend = function (func, args) {\n    var nodeId = \"\".concat(func, \"_\").concat(args[0]);\n\n    var handler = _this2.callBackend(func, args);\n\n    _this2.nodes[nodeId] = {\n      func: func,\n      args: args,\n      handler: handler\n    };\n    return function () {\n      var _this2$nodes$nodeId;\n\n      var r = (_this2$nodes$nodeId = _this2.nodes[nodeId]).handler.apply(_this2$nodes$nodeId, arguments);\n\n      delete _this2.nodes[nodeId];\n      return r;\n    };\n  };\n\n  var options = (0, _objectAssign.default)({\n    backends: []\n  }, sourceOptions || {});\n\n  if (options.backends.length < 1) {\n    throw new Error(\"You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)\\n        see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx\");\n  }\n\n  this.current = 0;\n  this.backends = [];\n  options.backends.forEach(function (backend) {\n    if (!backend.backend) {\n      throw new Error(\"You must specify a 'backend' property in your Backend entry: \".concat(backend));\n    }\n\n    var transition = backend.transition;\n\n    if (transition && !transition._isMBTransition) {\n      throw new Error(\"You must specify a valid 'transition' property (either undefined or the return of 'createTransition') in your Backend entry: \".concat(backend));\n    }\n\n    _this2.backends.push({\n      instance: new backend.backend(manager),\n      preview: backend.preview || false,\n      transition: transition,\n      skipDispatchOnTransition: Boolean(backend.skipDispatchOnTransition)\n    });\n  });\n  this.nodes = {};\n} // DnD Backend API\n;\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.MouseTransition = exports.HTML5DragTransition = exports.TouchTransition = void 0;\n\nvar _createTransition = _interopRequireDefault(require(\"./createTransition\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TouchTransition = (0, _createTransition.default)('touchstart', function (event) {\n  return event.touches != null; // eslint-disable-line no-eq-null, eqeqeq\n});\nexports.TouchTransition = TouchTransition;\nvar HTML5DragTransition = (0, _createTransition.default)('dragstart', function (event) {\n  if (event.type) {\n    return event.type.indexOf('drag') !== -1 || event.type.indexOf('drop') !== -1;\n  }\n\n  return false;\n});\nexports.HTML5DragTransition = HTML5DragTransition;\nvar MouseTransition = (0, _createTransition.default)('mousedown', function (event) {\n  if (event.type) {\n    return event.type.indexOf('touch') === -1 && event.type.indexOf('mouse') !== -1;\n  }\n\n  return false;\n});\nexports.MouseTransition = MouseTransition;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\n\nvar _default = function _default(event, check) {\n  return {\n    _isMBTransition: true,\n    event: event,\n    check: check\n  };\n};\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nObject.defineProperty(exports, \"HTML5DragTransition\", {\n  enumerable: true,\n  get: function get() {\n    return _Transitions.HTML5DragTransition;\n  }\n});\nObject.defineProperty(exports, \"TouchTransition\", {\n  enumerable: true,\n  get: function get() {\n    return _Transitions.TouchTransition;\n  }\n});\nObject.defineProperty(exports, \"MouseTransition\", {\n  enumerable: true,\n  get: function get() {\n    return _Transitions.MouseTransition;\n  }\n});\nObject.defineProperty(exports, \"createTransition\", {\n  enumerable: true,\n  get: function get() {\n    return _createTransition.default;\n  }\n});\nObject.defineProperty(exports, \"MultiBackend\", {\n  enumerable: true,\n  get: function get() {\n    return _MultiBackend.default;\n  }\n});\nObject.defineProperty(exports, \"PreviewManager\", {\n  enumerable: true,\n  get: function get() {\n    return _MultiBackend.PreviewManager;\n  }\n});\nexports.default = void 0;\n\nvar _Transitions = require(\"./Transitions\");\n\nvar _createTransition = _interopRequireDefault(require(\"./createTransition\"));\n\nvar _MultiBackend = _interopRequireWildcard(require(\"./MultiBackend\"));\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = function _default(managerOrOptions) {\n  if (managerOrOptions.getMonitor) {\n    return new _MultiBackend.default(managerOrOptions);\n  }\n\n  return function (manager) {\n    return new _MultiBackend.default(manager, managerOrOptions);\n  };\n};\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = _default;\n\nfunction _default(target) {\n  for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n    sources[_key - 1] = arguments[_key];\n  }\n\n  sources.forEach(function (source) {\n    for (var name in source) {\n      if (Object.prototype.hasOwnProperty.call(source, name)) {\n        target[name] = source[name];\n      }\n    }\n  });\n  return target;\n}","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n  ? R.apply\n  : function ReflectApply(target, receiver, args) {\n    return Function.prototype.apply.call(target, receiver, args);\n  }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n  ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n  ReflectOwnKeys = function ReflectOwnKeys(target) {\n    return Object.getOwnPropertyNames(target)\n      .concat(Object.getOwnPropertySymbols(target));\n  };\n} else {\n  ReflectOwnKeys = function ReflectOwnKeys(target) {\n    return Object.getOwnPropertyNames(target);\n  };\n}\n\nfunction ProcessEmitWarning(warning) {\n  if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n  return value !== value;\n}\n\nfunction EventEmitter() {\n  EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n  if (typeof listener !== 'function') {\n    throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n  }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n  enumerable: true,\n  get: function() {\n    return defaultMaxListeners;\n  },\n  set: function(arg) {\n    if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n      throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n    }\n    defaultMaxListeners = arg;\n  }\n});\n\nEventEmitter.init = function() {\n\n  if (this._events === undefined ||\n      this._events === Object.getPrototypeOf(this)._events) {\n    this._events = Object.create(null);\n    this._eventsCount = 0;\n  }\n\n  this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n  if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n    throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n  }\n  this._maxListeners = n;\n  return this;\n};\n\nfunction _getMaxListeners(that) {\n  if (that._maxListeners === undefined)\n    return EventEmitter.defaultMaxListeners;\n  return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n  return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n  var args = [];\n  for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n  var doError = (type === 'error');\n\n  var events = this._events;\n  if (events !== undefined)\n    doError = (doError && events.error === undefined);\n  else if (!doError)\n    return false;\n\n  // If there is no 'error' event listener then throw.\n  if (doError) {\n    var er;\n    if (args.length > 0)\n      er = args[0];\n    if (er instanceof Error) {\n      // Note: The comments on the `throw` lines are intentional, they show\n      // up in Node's output if this results in an unhandled exception.\n      throw er; // Unhandled 'error' event\n    }\n    // At least give some kind of context to the user\n    var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n    err.context = er;\n    throw err; // Unhandled 'error' event\n  }\n\n  var handler = events[type];\n\n  if (handler === undefined)\n    return false;\n\n  if (typeof handler === 'function') {\n    ReflectApply(handler, this, args);\n  } else {\n    var len = handler.length;\n    var listeners = arrayClone(handler, len);\n    for (var i = 0; i < len; ++i)\n      ReflectApply(listeners[i], this, args);\n  }\n\n  return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n  var m;\n  var events;\n  var existing;\n\n  checkListener(listener);\n\n  events = target._events;\n  if (events === undefined) {\n    events = target._events = Object.create(null);\n    target._eventsCount = 0;\n  } else {\n    // To avoid recursion in the case that type === \"newListener\"! Before\n    // adding it to the listeners, first emit \"newListener\".\n    if (events.newListener !== undefined) {\n      target.emit('newListener', type,\n                  listener.listener ? listener.listener : listener);\n\n      // Re-assign `events` because a newListener handler could have caused the\n      // this._events to be assigned to a new object\n      events = target._events;\n    }\n    existing = events[type];\n  }\n\n  if (existing === undefined) {\n    // Optimize the case of one listener. Don't need the extra array object.\n    existing = events[type] = listener;\n    ++target._eventsCount;\n  } else {\n    if (typeof existing === 'function') {\n      // Adding the second element, need to change to array.\n      existing = events[type] =\n        prepend ? [listener, existing] : [existing, listener];\n      // If we've already got an array, just append.\n    } else if (prepend) {\n      existing.unshift(listener);\n    } else {\n      existing.push(listener);\n    }\n\n    // Check for listener leak\n    m = _getMaxListeners(target);\n    if (m > 0 && existing.length > m && !existing.warned) {\n      existing.warned = true;\n      // No error code for this since it is a Warning\n      // eslint-disable-next-line no-restricted-syntax\n      var w = new Error('Possible EventEmitter memory leak detected. ' +\n                          existing.length + ' ' + String(type) + ' listeners ' +\n                          'added. Use emitter.setMaxListeners() to ' +\n                          'increase limit');\n      w.name = 'MaxListenersExceededWarning';\n      w.emitter = target;\n      w.type = type;\n      w.count = existing.length;\n      ProcessEmitWarning(w);\n    }\n  }\n\n  return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n  return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n    function prependListener(type, listener) {\n      return _addListener(this, type, listener, true);\n    };\n\nfunction onceWrapper() {\n  if (!this.fired) {\n    this.target.removeListener(this.type, this.wrapFn);\n    this.fired = true;\n    if (arguments.length === 0)\n      return this.listener.call(this.target);\n    return this.listener.apply(this.target, arguments);\n  }\n}\n\nfunction _onceWrap(target, type, listener) {\n  var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n  var wrapped = onceWrapper.bind(state);\n  wrapped.listener = listener;\n  state.wrapFn = wrapped;\n  return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n  checkListener(listener);\n  this.on(type, _onceWrap(this, type, listener));\n  return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n    function prependOnceListener(type, listener) {\n      checkListener(listener);\n      this.prependListener(type, _onceWrap(this, type, listener));\n      return this;\n    };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n    function removeListener(type, listener) {\n      var list, events, position, i, originalListener;\n\n      checkListener(listener);\n\n      events = this._events;\n      if (events === undefined)\n        return this;\n\n      list = events[type];\n      if (list === undefined)\n        return this;\n\n      if (list === listener || list.listener === listener) {\n        if (--this._eventsCount === 0)\n          this._events = Object.create(null);\n        else {\n          delete events[type];\n          if (events.removeListener)\n            this.emit('removeListener', type, list.listener || listener);\n        }\n      } else if (typeof list !== 'function') {\n        position = -1;\n\n        for (i = list.length - 1; i >= 0; i--) {\n          if (list[i] === listener || list[i].listener === listener) {\n            originalListener = list[i].listener;\n            position = i;\n            break;\n          }\n        }\n\n        if (position < 0)\n          return this;\n\n        if (position === 0)\n          list.shift();\n        else {\n          spliceOne(list, position);\n        }\n\n        if (list.length === 1)\n          events[type] = list[0];\n\n        if (events.removeListener !== undefined)\n          this.emit('removeListener', type, originalListener || listener);\n      }\n\n      return this;\n    };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n    function removeAllListeners(type) {\n      var listeners, events, i;\n\n      events = this._events;\n      if (events === undefined)\n        return this;\n\n      // not listening for removeListener, no need to emit\n      if (events.removeListener === undefined) {\n        if (arguments.length === 0) {\n          this._events = Object.create(null);\n          this._eventsCount = 0;\n        } else if (events[type] !== undefined) {\n          if (--this._eventsCount === 0)\n            this._events = Object.create(null);\n          else\n            delete events[type];\n        }\n        return this;\n      }\n\n      // emit removeListener for all listeners on all events\n      if (arguments.length === 0) {\n        var keys = Object.keys(events);\n        var key;\n        for (i = 0; i < keys.length; ++i) {\n          key = keys[i];\n          if (key === 'removeListener') continue;\n          this.removeAllListeners(key);\n        }\n        this.removeAllListeners('removeListener');\n        this._events = Object.create(null);\n        this._eventsCount = 0;\n        return this;\n      }\n\n      listeners = events[type];\n\n      if (typeof listeners === 'function') {\n        this.removeListener(type, listeners);\n      } else if (listeners !== undefined) {\n        // LIFO order\n        for (i = listeners.length - 1; i >= 0; i--) {\n          this.removeListener(type, listeners[i]);\n        }\n      }\n\n      return this;\n    };\n\nfunction _listeners(target, type, unwrap) {\n  var events = target._events;\n\n  if (events === undefined)\n    return [];\n\n  var evlistener = events[type];\n  if (evlistener === undefined)\n    return [];\n\n  if (typeof evlistener === 'function')\n    return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n  return unwrap ?\n    unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n  return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n  return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n  if (typeof emitter.listenerCount === 'function') {\n    return emitter.listenerCount(type);\n  } else {\n    return listenerCount.call(emitter, type);\n  }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n  var events = this._events;\n\n  if (events !== undefined) {\n    var evlistener = events[type];\n\n    if (typeof evlistener === 'function') {\n      return 1;\n    } else if (evlistener !== undefined) {\n      return evlistener.length;\n    }\n  }\n\n  return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n  return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n  var copy = new Array(n);\n  for (var i = 0; i < n; ++i)\n    copy[i] = arr[i];\n  return copy;\n}\n\nfunction spliceOne(list, index) {\n  for (; index + 1 < list.length; index++)\n    list[index] = list[index + 1];\n  list.pop();\n}\n\nfunction unwrapListeners(arr) {\n  var ret = new Array(arr.length);\n  for (var i = 0; i < ret.length; ++i) {\n    ret[i] = arr[i].listener || arr[i];\n  }\n  return ret;\n}\n\nfunction once(emitter, name) {\n  return new Promise(function (resolve, reject) {\n    function errorListener(err) {\n      emitter.removeListener(name, resolver);\n      reject(err);\n    }\n\n    function resolver() {\n      if (typeof emitter.removeListener === 'function') {\n        emitter.removeListener('error', errorListener);\n      }\n      resolve([].slice.call(arguments));\n    };\n\n    eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n    if (name !== 'error') {\n      addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n    }\n  });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n  if (typeof emitter.on === 'function') {\n    eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n  }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n  if (typeof emitter.on === 'function') {\n    if (flags.once) {\n      emitter.once(name, listener);\n    } else {\n      emitter.on(name, listener);\n    }\n  } else if (typeof emitter.addEventListener === 'function') {\n    // EventTarget does not have `error` event semantics like Node\n    // EventEmitters, we do not listen for `error` events here.\n    emitter.addEventListener(name, function wrapListener(arg) {\n      // IE does not have builtin `{ once: true }` support so we\n      // have to do it manually.\n      if (flags.once) {\n        emitter.removeEventListener(name, wrapListener);\n      }\n      listener(arg);\n    });\n  } else {\n    throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n  }\n}\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n  childContextTypes: true,\n  contextType: true,\n  contextTypes: true,\n  defaultProps: true,\n  displayName: true,\n  getDefaultProps: true,\n  getDerivedStateFromError: true,\n  getDerivedStateFromProps: true,\n  mixins: true,\n  propTypes: true,\n  type: true\n};\nvar KNOWN_STATICS = {\n  name: true,\n  length: true,\n  prototype: true,\n  caller: true,\n  callee: true,\n  arguments: true,\n  arity: true\n};\nvar FORWARD_REF_STATICS = {\n  '$$typeof': true,\n  render: true,\n  defaultProps: true,\n  displayName: true,\n  propTypes: true\n};\nvar MEMO_STATICS = {\n  '$$typeof': true,\n  compare: true,\n  defaultProps: true,\n  displayName: true,\n  propTypes: true,\n  type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n  // React v16.11 and below\n  if (reactIs.isMemo(component)) {\n    return MEMO_STATICS;\n  } // React v16.12 and above\n\n\n  return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n  if (typeof sourceComponent !== 'string') {\n    // don't hoist over string (html) components\n    if (objectPrototype) {\n      var inheritedComponent = getPrototypeOf(sourceComponent);\n\n      if (inheritedComponent && inheritedComponent !== objectPrototype) {\n        hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n      }\n    }\n\n    var keys = getOwnPropertyNames(sourceComponent);\n\n    if (getOwnPropertySymbols) {\n      keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n    }\n\n    var targetStatics = getStatics(targetComponent);\n    var sourceStatics = getStatics(sourceComponent);\n\n    for (var i = 0; i < keys.length; ++i) {\n      var key = keys[i];\n\n      if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n        var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n        try {\n          // Avoid failures from read-only properties\n          defineProperty(targetComponent, key, descriptor);\n        } catch (e) {}\n      }\n    }\n  }\n\n  return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n  var e, m\n  var eLen = (nBytes * 8) - mLen - 1\n  var eMax = (1 << eLen) - 1\n  var eBias = eMax >> 1\n  var nBits = -7\n  var i = isLE ? (nBytes - 1) : 0\n  var d = isLE ? -1 : 1\n  var s = buffer[offset + i]\n\n  i += d\n\n  e = s & ((1 << (-nBits)) - 1)\n  s >>= (-nBits)\n  nBits += eLen\n  for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n  m = e & ((1 << (-nBits)) - 1)\n  e >>= (-nBits)\n  nBits += mLen\n  for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n  if (e === 0) {\n    e = 1 - eBias\n  } else if (e === eMax) {\n    return m ? NaN : ((s ? -1 : 1) * Infinity)\n  } else {\n    m = m + Math.pow(2, mLen)\n    e = e - eBias\n  }\n  return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n  var e, m, c\n  var eLen = (nBytes * 8) - mLen - 1\n  var eMax = (1 << eLen) - 1\n  var eBias = eMax >> 1\n  var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n  var i = isLE ? 0 : (nBytes - 1)\n  var d = isLE ? 1 : -1\n  var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n  value = Math.abs(value)\n\n  if (isNaN(value) || value === Infinity) {\n    m = isNaN(value) ? 1 : 0\n    e = eMax\n  } else {\n    e = Math.floor(Math.log(value) / Math.LN2)\n    if (value * (c = Math.pow(2, -e)) < 1) {\n      e--\n      c *= 2\n    }\n    if (e + eBias >= 1) {\n      value += rt / c\n    } else {\n      value += rt * Math.pow(2, 1 - eBias)\n    }\n    if (value * c >= 2) {\n      e++\n      c /= 2\n    }\n\n    if (e + eBias >= eMax) {\n      m = 0\n      e = eMax\n    } else if (e + eBias >= 1) {\n      m = ((value * c) - 1) * Math.pow(2, mLen)\n      e = e + eBias\n    } else {\n      m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n      e = 0\n    }\n  }\n\n  for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n  e = (e << mLen) | m\n  eLen += mLen\n  for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n  buffer[offset + i - d] |= s * 128\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n  if (process.env.NODE_ENV !== 'production') {\n    if (format === undefined) {\n      throw new Error('invariant requires an error message argument');\n    }\n  }\n\n  if (!condition) {\n    var error;\n    if (format === undefined) {\n      error = new Error(\n        'Minified exception occurred; use the non-minified dev environment ' +\n        'for the full error message and additional helpful warnings.'\n      );\n    } else {\n      var args = [a, b, c, d, e, f];\n      var argIndex = 0;\n      error = new Error(\n        format.replace(/%s/g, function() { return args[argIndex++]; })\n      );\n      error.name = 'Invariant Violation';\n    }\n\n    error.framesToPop = 1; // we don't care about invariant's own frame\n    throw error;\n  }\n};\n\nmodule.exports = invariant;\n","var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n  return toString.call(arr) == '[object Array]';\n};\n","module.exports = self.fetch || (self.fetch = require('unfetch').default || require('unfetch'));\n","// https://github.com/maxogden/websocket-stream/blob/48dc3ddf943e5ada668c31ccd94e9186f02fafbd/ws-fallback.js\n\nvar ws = null\n\nif (typeof WebSocket !== 'undefined') {\n  ws = WebSocket\n} else if (typeof MozWebSocket !== 'undefined') {\n  ws = MozWebSocket\n} else if (typeof global !== 'undefined') {\n  ws = global.WebSocket || global.MozWebSocket\n} else if (typeof window !== 'undefined') {\n  ws = window.WebSocket || window.MozWebSocket\n} else if (typeof self !== 'undefined') {\n  ws = self.WebSocket || self.MozWebSocket\n}\n\nmodule.exports = ws\n","(function (root) {\n  'use strict';\n\n  function extend(a, b) {\n    for (var property in b) {\n      if (b.hasOwnProperty(property)) {\n        a[property] = b[property];\n      }\n    }\n\n    return a;\n  }\n\n  function distance(s1, s2, options) {\n    var m = 0;\n    var defaults = { caseSensitive: true };\n    var settings = extend(defaults, options);\n    var i;\n    var j;\n\n    // Exit early if either are empty.\n    if (s1.length === 0 || s2.length === 0) {\n      return 0;\n    }\n\n    // Convert to upper if case-sensitive is false.\n    if (!settings.caseSensitive) {\n      s1 = s1.toUpperCase();\n      s2 = s2.toUpperCase();\n    }\n\n    // Exit early if they're an exact match.\n    if (s1 === s2) {\n      return 1;\n    }\n\n    var range = (Math.floor(Math.max(s1.length, s2.length) / 2)) - 1;\n    var s1Matches = new Array(s1.length);\n    var s2Matches = new Array(s2.length);\n\n    for (i = 0; i < s1.length; i++) {\n      var low  = (i >= range) ? i - range : 0;\n      var high = (i + range <= (s2.length - 1)) ? (i + range) : (s2.length - 1);\n\n      for (j = low; j <= high; j++) {\n        if (s1Matches[i] !== true && s2Matches[j] !== true && s1[i] === s2[j]) {\n          ++m;\n          s1Matches[i] = s2Matches[j] = true;\n          break;\n        }\n      }\n    }\n\n    // Exit early if no matches were found.\n    if (m === 0) {\n      return 0;\n    }\n\n    // Count the transpositions.\n    var k = 0;\n    var numTrans = 0;\n\n    for (i = 0; i < s1.length; i++) {\n      if (s1Matches[i] === true) {\n        for (j = k; j < s2.length; j++) {\n          if (s2Matches[j] === true) {\n            k = j + 1;\n            break;\n          }\n        }\n\n        if (s1[i] !== s2[j]) {\n          ++numTrans;\n        }\n      }\n    }\n\n    var weight = (m / s1.length + m / s2.length + (m - (numTrans / 2)) / m) / 3;\n    var l = 0;\n    var p = 0.1;\n\n    if (weight > 0.7) {\n      while (s1[l] === s2[l] && l < 4) {\n        ++l;\n      }\n\n      weight = weight + l * p * (1 - weight);\n    }\n\n    return weight;\n  }\n\n  if (typeof define === 'function' && define.amd) {\n    define([], function() {return distance});\n  } else if (typeof exports === 'object') {\n    module.exports = distance;\n  } else {\n    root.distance = distance;\n  }\n})(this);\n","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3.  If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t//     character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","/**\n * The code was extracted from:\n * https://github.com/davidchambers/Base64.js\n */\n\nvar chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\nfunction InvalidCharacterError(message) {\n  this.message = message;\n}\n\nInvalidCharacterError.prototype = new Error();\nInvalidCharacterError.prototype.name = 'InvalidCharacterError';\n\nfunction polyfill (input) {\n  var str = String(input).replace(/=+$/, '');\n  if (str.length % 4 == 1) {\n    throw new InvalidCharacterError(\"'atob' failed: The string to be decoded is not correctly encoded.\");\n  }\n  for (\n    // initialize result and counters\n    var bc = 0, bs, buffer, idx = 0, output = '';\n    // get next character\n    buffer = str.charAt(idx++);\n    // character found in table? initialize bit storage and add its ascii value;\n    ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n      // and if not first of each 4 characters,\n      // convert the first 8 bits to one ascii character\n      bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0\n  ) {\n    // try to find character in table (0-63, not found => -1)\n    buffer = chars.indexOf(buffer);\n  }\n  return output;\n}\n\n\nmodule.exports = typeof window !== 'undefined' && window.atob && window.atob.bind(window) || polyfill;\n","var atob = require('./atob');\n\nfunction b64DecodeUnicode(str) {\n  return decodeURIComponent(atob(str).replace(/(.)/g, function (m, p) {\n    var code = p.charCodeAt(0).toString(16).toUpperCase();\n    if (code.length < 2) {\n      code = '0' + code;\n    }\n    return '%' + code;\n  }));\n}\n\nmodule.exports = function(str) {\n  var output = str.replace(/-/g, \"+\").replace(/_/g, \"/\");\n  switch (output.length % 4) {\n    case 0:\n      break;\n    case 2:\n      output += \"==\";\n      break;\n    case 3:\n      output += \"=\";\n      break;\n    default:\n      throw \"Illegal base64url string!\";\n  }\n\n  try{\n    return b64DecodeUnicode(output);\n  } catch (err) {\n    return atob(output);\n  }\n};\n","'use strict';\n\nvar base64_url_decode = require('./base64_url_decode');\n\nfunction InvalidTokenError(message) {\n  this.message = message;\n}\n\nInvalidTokenError.prototype = new Error();\nInvalidTokenError.prototype.name = 'InvalidTokenError';\n\nmodule.exports = function (token,options) {\n  if (typeof token !== 'string') {\n    throw new InvalidTokenError('Invalid token specified');\n  }\n\n  options = options || {};\n  var pos = options.header === true ? 0 : 1;\n  try {\n    return JSON.parse(base64_url_decode(token.split('.')[pos]));\n  } catch (e) {\n    throw new InvalidTokenError('Invalid token specified: ' + e.message);\n  }\n};\n\nmodule.exports.InvalidTokenError = InvalidTokenError;\n","var getNative = require('./_getNative'),\n    root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n    hashDelete = require('./_hashDelete'),\n    hashGet = require('./_hashGet'),\n    hashHas = require('./_hashHas'),\n    hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n  var index = -1,\n      length = entries == null ? 0 : entries.length;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n    listCacheDelete = require('./_listCacheDelete'),\n    listCacheGet = require('./_listCacheGet'),\n    listCacheHas = require('./_listCacheHas'),\n    listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n  var index = -1,\n      length = entries == null ? 0 : entries.length;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n    root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n    mapCacheDelete = require('./_mapCacheDelete'),\n    mapCacheGet = require('./_mapCacheGet'),\n    mapCacheHas = require('./_mapCacheHas'),\n    mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n  var index = -1,\n      length = entries == null ? 0 : entries.length;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n    root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n    root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n    setCacheAdd = require('./_setCacheAdd'),\n    setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n  var index = -1,\n      length = values == null ? 0 : values.length;\n\n  this.__data__ = new MapCache;\n  while (++index < length) {\n    this.add(values[index]);\n  }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n    stackClear = require('./_stackClear'),\n    stackDelete = require('./_stackDelete'),\n    stackGet = require('./_stackGet'),\n    stackHas = require('./_stackHas'),\n    stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n  var data = this.__data__ = new ListCache(entries);\n  this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n    root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n  switch (args.length) {\n    case 0: return func.call(thisArg);\n    case 1: return func.call(thisArg, args[0]);\n    case 2: return func.call(thisArg, args[0], args[1]);\n    case 3: return func.call(thisArg, args[0], args[1], args[2]);\n  }\n  return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  while (++index < length) {\n    if (iteratee(array[index], index, array) === false) {\n      break;\n    }\n  }\n  return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n  var index = -1,\n      length = array == null ? 0 : array.length,\n      resIndex = 0,\n      result = [];\n\n  while (++index < length) {\n    var value = array[index];\n    if (predicate(value, index, array)) {\n      result[resIndex++] = value;\n    }\n  }\n  return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n  var length = array == null ? 0 : array.length;\n  return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  while (++index < length) {\n    if (comparator(value, array[index])) {\n      return true;\n    }\n  }\n  return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var baseTimes = require('./_baseTimes'),\n    isArguments = require('./isArguments'),\n    isArray = require('./isArray'),\n    isBuffer = require('./isBuffer'),\n    isIndex = require('./_isIndex'),\n    isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n  var isArr = isArray(value),\n      isArg = !isArr && isArguments(value),\n      isBuff = !isArr && !isArg && isBuffer(value),\n      isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n      skipIndexes = isArr || isArg || isBuff || isType,\n      result = skipIndexes ? baseTimes(value.length, String) : [],\n      length = result.length;\n\n  for (var key in value) {\n    if ((inherited || hasOwnProperty.call(value, key)) &&\n        !(skipIndexes && (\n           // Safari 9 has enumerable `arguments.length` in strict mode.\n           key == 'length' ||\n           // Node.js 0.10 has enumerable non-index properties on buffers.\n           (isBuff && (key == 'offset' || key == 'parent')) ||\n           // PhantomJS 2 has enumerable non-index properties on typed arrays.\n           (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n           // Skip index properties.\n           isIndex(key, length)\n        ))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n  var index = -1,\n      length = array == null ? 0 : array.length,\n      result = Array(length);\n\n  while (++index < length) {\n    result[index] = iteratee(array[index], index, array);\n  }\n  return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n  var index = -1,\n      length = values.length,\n      offset = array.length;\n\n  while (++index < length) {\n    array[offset + index] = values[index];\n  }\n  return array;\n}\n\nmodule.exports = arrayPush;\n","var baseAssignValue = require('./_baseAssignValue'),\n    eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n  if ((value !== undefined && !eq(object[key], value)) ||\n      (value === undefined && !(key in object))) {\n    baseAssignValue(object, key, value);\n  }\n}\n\nmodule.exports = assignMergeValue;\n","var baseAssignValue = require('./_baseAssignValue'),\n    eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n  var objValue = object[key];\n  if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n      (value === undefined && !(key in object))) {\n    baseAssignValue(object, key, value);\n  }\n}\n\nmodule.exports = assignValue;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n  var length = array.length;\n  while (length--) {\n    if (eq(array[length][0], key)) {\n      return length;\n    }\n  }\n  return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var copyObject = require('./_copyObject'),\n    keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n  return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n    keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n  return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n  if (key == '__proto__' && defineProperty) {\n    defineProperty(object, key, {\n      'configurable': true,\n      'enumerable': true,\n      'value': value,\n      'writable': true\n    });\n  } else {\n    object[key] = value;\n  }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n    arrayEach = require('./_arrayEach'),\n    assignValue = require('./_assignValue'),\n    baseAssign = require('./_baseAssign'),\n    baseAssignIn = require('./_baseAssignIn'),\n    cloneBuffer = require('./_cloneBuffer'),\n    copyArray = require('./_copyArray'),\n    copySymbols = require('./_copySymbols'),\n    copySymbolsIn = require('./_copySymbolsIn'),\n    getAllKeys = require('./_getAllKeys'),\n    getAllKeysIn = require('./_getAllKeysIn'),\n    getTag = require('./_getTag'),\n    initCloneArray = require('./_initCloneArray'),\n    initCloneByTag = require('./_initCloneByTag'),\n    initCloneObject = require('./_initCloneObject'),\n    isArray = require('./isArray'),\n    isBuffer = require('./isBuffer'),\n    isMap = require('./isMap'),\n    isObject = require('./isObject'),\n    isSet = require('./isSet'),\n    keys = require('./keys'),\n    keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n    CLONE_FLAT_FLAG = 2,\n    CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n    arrayTag = '[object Array]',\n    boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    errorTag = '[object Error]',\n    funcTag = '[object Function]',\n    genTag = '[object GeneratorFunction]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    objectTag = '[object Object]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    symbolTag = '[object Symbol]',\n    weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]',\n    float32Tag = '[object Float32Array]',\n    float64Tag = '[object Float64Array]',\n    int8Tag = '[object Int8Array]',\n    int16Tag = '[object Int16Array]',\n    int32Tag = '[object Int32Array]',\n    uint8Tag = '[object Uint8Array]',\n    uint8ClampedTag = '[object Uint8ClampedArray]',\n    uint16Tag = '[object Uint16Array]',\n    uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n *  1 - Deep clone\n *  2 - Flatten inherited properties\n *  4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n  var result,\n      isDeep = bitmask & CLONE_DEEP_FLAG,\n      isFlat = bitmask & CLONE_FLAT_FLAG,\n      isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n  if (customizer) {\n    result = object ? customizer(value, key, object, stack) : customizer(value);\n  }\n  if (result !== undefined) {\n    return result;\n  }\n  if (!isObject(value)) {\n    return value;\n  }\n  var isArr = isArray(value);\n  if (isArr) {\n    result = initCloneArray(value);\n    if (!isDeep) {\n      return copyArray(value, result);\n    }\n  } else {\n    var tag = getTag(value),\n        isFunc = tag == funcTag || tag == genTag;\n\n    if (isBuffer(value)) {\n      return cloneBuffer(value, isDeep);\n    }\n    if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n      result = (isFlat || isFunc) ? {} : initCloneObject(value);\n      if (!isDeep) {\n        return isFlat\n          ? copySymbolsIn(value, baseAssignIn(result, value))\n          : copySymbols(value, baseAssign(result, value));\n      }\n    } else {\n      if (!cloneableTags[tag]) {\n        return object ? value : {};\n      }\n      result = initCloneByTag(value, tag, isDeep);\n    }\n  }\n  // Check for circular references and return its corresponding clone.\n  stack || (stack = new Stack);\n  var stacked = stack.get(value);\n  if (stacked) {\n    return stacked;\n  }\n  stack.set(value, result);\n\n  if (isSet(value)) {\n    value.forEach(function(subValue) {\n      result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n    });\n  } else if (isMap(value)) {\n    value.forEach(function(subValue, key) {\n      result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n    });\n  }\n\n  var keysFunc = isFull\n    ? (isFlat ? getAllKeysIn : getAllKeys)\n    : (isFlat ? keysIn : keys);\n\n  var props = isArr ? undefined : keysFunc(value);\n  arrayEach(props || value, function(subValue, key) {\n    if (props) {\n      key = subValue;\n      subValue = value[key];\n    }\n    // Recursively populate clone (susceptible to call stack limits).\n    assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n  });\n  return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n  function object() {}\n  return function(proto) {\n    if (!isObject(proto)) {\n      return {};\n    }\n    if (objectCreate) {\n      return objectCreate(proto);\n    }\n    object.prototype = proto;\n    var result = new object;\n    object.prototype = undefined;\n    return result;\n  };\n}());\n\nmodule.exports = baseCreate;\n","var SetCache = require('./_SetCache'),\n    arrayIncludes = require('./_arrayIncludes'),\n    arrayIncludesWith = require('./_arrayIncludesWith'),\n    arrayMap = require('./_arrayMap'),\n    baseUnary = require('./_baseUnary'),\n    cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n  var index = -1,\n      includes = arrayIncludes,\n      isCommon = true,\n      length = array.length,\n      result = [],\n      valuesLength = values.length;\n\n  if (!length) {\n    return result;\n  }\n  if (iteratee) {\n    values = arrayMap(values, baseUnary(iteratee));\n  }\n  if (comparator) {\n    includes = arrayIncludesWith;\n    isCommon = false;\n  }\n  else if (values.length >= LARGE_ARRAY_SIZE) {\n    includes = cacheHas;\n    isCommon = false;\n    values = new SetCache(values);\n  }\n  outer:\n  while (++index < length) {\n    var value = array[index],\n        computed = iteratee == null ? value : iteratee(value);\n\n    value = (comparator || value !== 0) ? value : 0;\n    if (isCommon && computed === computed) {\n      var valuesIndex = valuesLength;\n      while (valuesIndex--) {\n        if (values[valuesIndex] === computed) {\n          continue outer;\n        }\n      }\n      result.push(value);\n    }\n    else if (!includes(values, computed, comparator)) {\n      result.push(value);\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseDifference;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n  var length = array.length,\n      index = fromIndex + (fromRight ? 1 : -1);\n\n  while ((fromRight ? index-- : ++index < length)) {\n    if (predicate(array[index], index, array)) {\n      return index;\n    }\n  }\n  return -1;\n}\n\nmodule.exports = baseFindIndex;\n","var arrayPush = require('./_arrayPush'),\n    isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n  var index = -1,\n      length = array.length;\n\n  predicate || (predicate = isFlattenable);\n  result || (result = []);\n\n  while (++index < length) {\n    var value = array[index];\n    if (depth > 0 && predicate(value)) {\n      if (depth > 1) {\n        // Recursively flatten arrays (susceptible to call stack limits).\n        baseFlatten(value, depth - 1, predicate, isStrict, result);\n      } else {\n        arrayPush(result, value);\n      }\n    } else if (!isStrict) {\n      result[result.length] = value;\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseFlatten;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","var castPath = require('./_castPath'),\n    toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n  path = castPath(path, object);\n\n  var index = 0,\n      length = path.length;\n\n  while (object != null && index < length) {\n    object = object[toKey(path[index++])];\n  }\n  return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var arrayPush = require('./_arrayPush'),\n    isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n  var result = keysFunc(object);\n  return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n    getRawTag = require('./_getRawTag'),\n    objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n    undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n  if (value == null) {\n    return value === undefined ? undefinedTag : nullTag;\n  }\n  return (symToStringTag && symToStringTag in Object(value))\n    ? getRawTag(value)\n    : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var baseFindIndex = require('./_baseFindIndex'),\n    baseIsNaN = require('./_baseIsNaN'),\n    strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n  return value === value\n    ? strictIndexOf(array, value, fromIndex)\n    : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var SetCache = require('./_SetCache'),\n    arrayIncludes = require('./_arrayIncludes'),\n    arrayIncludesWith = require('./_arrayIncludesWith'),\n    arrayMap = require('./_arrayMap'),\n    baseUnary = require('./_baseUnary'),\n    cacheHas = require('./_cacheHas');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMin = Math.min;\n\n/**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\nfunction baseIntersection(arrays, iteratee, comparator) {\n  var includes = comparator ? arrayIncludesWith : arrayIncludes,\n      length = arrays[0].length,\n      othLength = arrays.length,\n      othIndex = othLength,\n      caches = Array(othLength),\n      maxLength = Infinity,\n      result = [];\n\n  while (othIndex--) {\n    var array = arrays[othIndex];\n    if (othIndex && iteratee) {\n      array = arrayMap(array, baseUnary(iteratee));\n    }\n    maxLength = nativeMin(array.length, maxLength);\n    caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n      ? new SetCache(othIndex && array)\n      : undefined;\n  }\n  array = arrays[0];\n\n  var index = -1,\n      seen = caches[0];\n\n  outer:\n  while (++index < length && result.length < maxLength) {\n    var value = array[index],\n        computed = iteratee ? iteratee(value) : value;\n\n    value = (comparator || value !== 0) ? value : 0;\n    if (!(seen\n          ? cacheHas(seen, computed)\n          : includes(result, computed, comparator)\n        )) {\n      othIndex = othLength;\n      while (--othIndex) {\n        var cache = caches[othIndex];\n        if (!(cache\n              ? cacheHas(cache, computed)\n              : includes(arrays[othIndex], computed, comparator))\n            ) {\n          continue outer;\n        }\n      }\n      if (seen) {\n        seen.push(computed);\n      }\n      result.push(value);\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseIntersection;\n","var baseGetTag = require('./_baseGetTag'),\n    isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n  return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var getTag = require('./_getTag'),\n    isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n  return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n  return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","var isFunction = require('./isFunction'),\n    isMasked = require('./_isMasked'),\n    isObject = require('./isObject'),\n    toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n    objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n  funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n  .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n *  else `false`.\n */\nfunction baseIsNative(value) {\n  if (!isObject(value) || isMasked(value)) {\n    return false;\n  }\n  var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n  return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var getTag = require('./_getTag'),\n    isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n  return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var baseGetTag = require('./_baseGetTag'),\n    isLength = require('./isLength'),\n    isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n    arrayTag = '[object Array]',\n    boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    errorTag = '[object Error]',\n    funcTag = '[object Function]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    objectTag = '[object Object]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]',\n    float32Tag = '[object Float32Array]',\n    float64Tag = '[object Float64Array]',\n    int8Tag = '[object Int8Array]',\n    int16Tag = '[object Int16Array]',\n    int32Tag = '[object Int32Array]',\n    uint8Tag = '[object Uint8Array]',\n    uint8ClampedTag = '[object Uint8ClampedArray]',\n    uint16Tag = '[object Uint16Array]',\n    uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n  return isObjectLike(value) &&\n    isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var isPrototype = require('./_isPrototype'),\n    nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n  if (!isPrototype(object)) {\n    return nativeKeys(object);\n  }\n  var result = [];\n  for (var key in Object(object)) {\n    if (hasOwnProperty.call(object, key) && key != 'constructor') {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseKeys;\n","var isObject = require('./isObject'),\n    isPrototype = require('./_isPrototype'),\n    nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n  if (!isObject(object)) {\n    return nativeKeysIn(object);\n  }\n  var isProto = isPrototype(object),\n      result = [];\n\n  for (var key in object) {\n    if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseKeysIn;\n","var Stack = require('./_Stack'),\n    assignMergeValue = require('./_assignMergeValue'),\n    baseFor = require('./_baseFor'),\n    baseMergeDeep = require('./_baseMergeDeep'),\n    isObject = require('./isObject'),\n    keysIn = require('./keysIn'),\n    safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n *  counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n  if (object === source) {\n    return;\n  }\n  baseFor(source, function(srcValue, key) {\n    stack || (stack = new Stack);\n    if (isObject(srcValue)) {\n      baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n    }\n    else {\n      var newValue = customizer\n        ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n        : undefined;\n\n      if (newValue === undefined) {\n        newValue = srcValue;\n      }\n      assignMergeValue(object, key, newValue);\n    }\n  }, keysIn);\n}\n\nmodule.exports = baseMerge;\n","var assignMergeValue = require('./_assignMergeValue'),\n    cloneBuffer = require('./_cloneBuffer'),\n    cloneTypedArray = require('./_cloneTypedArray'),\n    copyArray = require('./_copyArray'),\n    initCloneObject = require('./_initCloneObject'),\n    isArguments = require('./isArguments'),\n    isArray = require('./isArray'),\n    isArrayLikeObject = require('./isArrayLikeObject'),\n    isBuffer = require('./isBuffer'),\n    isFunction = require('./isFunction'),\n    isObject = require('./isObject'),\n    isPlainObject = require('./isPlainObject'),\n    isTypedArray = require('./isTypedArray'),\n    safeGet = require('./_safeGet'),\n    toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n *  counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n  var objValue = safeGet(object, key),\n      srcValue = safeGet(source, key),\n      stacked = stack.get(srcValue);\n\n  if (stacked) {\n    assignMergeValue(object, key, stacked);\n    return;\n  }\n  var newValue = customizer\n    ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n    : undefined;\n\n  var isCommon = newValue === undefined;\n\n  if (isCommon) {\n    var isArr = isArray(srcValue),\n        isBuff = !isArr && isBuffer(srcValue),\n        isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n    newValue = srcValue;\n    if (isArr || isBuff || isTyped) {\n      if (isArray(objValue)) {\n        newValue = objValue;\n      }\n      else if (isArrayLikeObject(objValue)) {\n        newValue = copyArray(objValue);\n      }\n      else if (isBuff) {\n        isCommon = false;\n        newValue = cloneBuffer(srcValue, true);\n      }\n      else if (isTyped) {\n        isCommon = false;\n        newValue = cloneTypedArray(srcValue, true);\n      }\n      else {\n        newValue = [];\n      }\n    }\n    else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n      newValue = objValue;\n      if (isArguments(objValue)) {\n        newValue = toPlainObject(objValue);\n      }\n      else if (!isObject(objValue) || isFunction(objValue)) {\n        newValue = initCloneObject(srcValue);\n      }\n    }\n    else {\n      isCommon = false;\n    }\n  }\n  if (isCommon) {\n    // Recursively merge objects and arrays (susceptible to call stack limits).\n    stack.set(srcValue, newValue);\n    mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n    stack['delete'](srcValue);\n  }\n  assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n","var identity = require('./identity'),\n    overRest = require('./_overRest'),\n    setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n  return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","var constant = require('./constant'),\n    defineProperty = require('./_defineProperty'),\n    identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n  return defineProperty(func, 'toString', {\n    'configurable': true,\n    'enumerable': false,\n    'value': constant(string),\n    'writable': true\n  });\n};\n\nmodule.exports = baseSetToString;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n  var index = -1,\n      result = Array(n);\n\n  while (++index < n) {\n    result[index] = iteratee(index);\n  }\n  return result;\n}\n\nmodule.exports = baseTimes;\n","var Symbol = require('./_Symbol'),\n    arrayMap = require('./_arrayMap'),\n    isArray = require('./isArray'),\n    isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n  // Exit early for strings to avoid a performance hit in some environments.\n  if (typeof value == 'string') {\n    return value;\n  }\n  if (isArray(value)) {\n    // Recursively convert values (susceptible to call stack limits).\n    return arrayMap(value, baseToString) + '';\n  }\n  if (isSymbol(value)) {\n    return symbolToString ? symbolToString.call(value) : '';\n  }\n  var result = (value + '');\n  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n  return string\n    ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n    : string;\n}\n\nmodule.exports = baseTrim;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n  return function(value) {\n    return func(value);\n  };\n}\n\nmodule.exports = baseUnary;\n","var SetCache = require('./_SetCache'),\n    arrayIncludes = require('./_arrayIncludes'),\n    arrayIncludesWith = require('./_arrayIncludesWith'),\n    cacheHas = require('./_cacheHas'),\n    createSet = require('./_createSet'),\n    setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n  var index = -1,\n      includes = arrayIncludes,\n      length = array.length,\n      isCommon = true,\n      result = [],\n      seen = result;\n\n  if (comparator) {\n    isCommon = false;\n    includes = arrayIncludesWith;\n  }\n  else if (length >= LARGE_ARRAY_SIZE) {\n    var set = iteratee ? null : createSet(array);\n    if (set) {\n      return setToArray(set);\n    }\n    isCommon = false;\n    includes = cacheHas;\n    seen = new SetCache;\n  }\n  else {\n    seen = iteratee ? [] : result;\n  }\n  outer:\n  while (++index < length) {\n    var value = array[index],\n        computed = iteratee ? iteratee(value) : value;\n\n    value = (comparator || value !== 0) ? value : 0;\n    if (isCommon && computed === computed) {\n      var seenIndex = seen.length;\n      while (seenIndex--) {\n        if (seen[seenIndex] === computed) {\n          continue outer;\n        }\n      }\n      if (iteratee) {\n        seen.push(computed);\n      }\n      result.push(value);\n    }\n    else if (!includes(seen, computed, comparator)) {\n      if (seen !== result) {\n        seen.push(computed);\n      }\n      result.push(value);\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseUniq;\n","var baseDifference = require('./_baseDifference'),\n    baseFlatten = require('./_baseFlatten'),\n    baseUniq = require('./_baseUniq');\n\n/**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\nfunction baseXor(arrays, iteratee, comparator) {\n  var length = arrays.length;\n  if (length < 2) {\n    return length ? baseUniq(arrays[0]) : [];\n  }\n  var index = -1,\n      result = Array(length);\n\n  while (++index < length) {\n    var array = arrays[index],\n        othIndex = -1;\n\n    while (++othIndex < length) {\n      if (othIndex != index) {\n        result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n      }\n    }\n  }\n  return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n}\n\nmodule.exports = baseXor;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n  return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\nfunction castArrayLikeObject(value) {\n  return isArrayLikeObject(value) ? value : [];\n}\n\nmodule.exports = castArrayLikeObject;\n","var isArray = require('./isArray'),\n    isKey = require('./_isKey'),\n    stringToPath = require('./_stringToPath'),\n    toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n  if (isArray(value)) {\n    return value;\n  }\n  return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n  var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n  new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n  return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n    allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of  `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n  if (isDeep) {\n    return buffer.slice();\n  }\n  var length = buffer.length,\n      result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n  buffer.copy(result);\n  return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n  result.lastIndex = regexp.lastIndex;\n  return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n  return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n  var index = -1,\n      length = source.length;\n\n  array || (array = Array(length));\n  while (++index < length) {\n    array[index] = source[index];\n  }\n  return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n    baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n  var isNew = !object;\n  object || (object = {});\n\n  var index = -1,\n      length = props.length;\n\n  while (++index < length) {\n    var key = props[index];\n\n    var newValue = customizer\n      ? customizer(object[key], source[key], key, object, source)\n      : undefined;\n\n    if (newValue === undefined) {\n      newValue = source[key];\n    }\n    if (isNew) {\n      baseAssignValue(object, key, newValue);\n    } else {\n      assignValue(object, key, newValue);\n    }\n  }\n  return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n    getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n  return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n    getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n  return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var baseRest = require('./_baseRest'),\n    isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n  return baseRest(function(object, sources) {\n    var index = -1,\n        length = sources.length,\n        customizer = length > 1 ? sources[length - 1] : undefined,\n        guard = length > 2 ? sources[2] : undefined;\n\n    customizer = (assigner.length > 3 && typeof customizer == 'function')\n      ? (length--, customizer)\n      : undefined;\n\n    if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n      customizer = length < 3 ? undefined : customizer;\n      length = 1;\n    }\n    object = Object(object);\n    while (++index < length) {\n      var source = sources[index];\n      if (source) {\n        assigner(object, source, index, customizer);\n      }\n    }\n    return object;\n  });\n}\n\nmodule.exports = createAssigner;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n  return function(object, iteratee, keysFunc) {\n    var index = -1,\n        iterable = Object(object),\n        props = keysFunc(object),\n        length = props.length;\n\n    while (length--) {\n      var key = props[fromRight ? length : ++index];\n      if (iteratee(iterable[key], key, iterable) === false) {\n        break;\n      }\n    }\n    return object;\n  };\n}\n\nmodule.exports = createBaseFor;\n","var Set = require('./_Set'),\n    noop = require('./noop'),\n    setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n  return new Set(values);\n};\n\nmodule.exports = createSet;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n  try {\n    var func = getNative(Object, 'defineProperty');\n    func({}, '', {});\n    return func;\n  } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n    getSymbols = require('./_getSymbols'),\n    keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n  return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n    getSymbolsIn = require('./_getSymbolsIn'),\n    keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n  return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n  var data = map.__data__;\n  return isKeyable(key)\n    ? data[typeof key == 'string' ? 'string' : 'hash']\n    : data.map;\n}\n\nmodule.exports = getMapData;\n","var baseIsNative = require('./_baseIsNative'),\n    getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n  var value = getValue(object, key);\n  return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n  var isOwn = hasOwnProperty.call(value, symToStringTag),\n      tag = value[symToStringTag];\n\n  try {\n    value[symToStringTag] = undefined;\n    var unmasked = true;\n  } catch (e) {}\n\n  var result = nativeObjectToString.call(value);\n  if (unmasked) {\n    if (isOwn) {\n      value[symToStringTag] = tag;\n    } else {\n      delete value[symToStringTag];\n    }\n  }\n  return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n    stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n  if (object == null) {\n    return [];\n  }\n  object = Object(object);\n  return arrayFilter(nativeGetSymbols(object), function(symbol) {\n    return propertyIsEnumerable.call(object, symbol);\n  });\n};\n\nmodule.exports = getSymbols;\n","var arrayPush = require('./_arrayPush'),\n    getPrototype = require('./_getPrototype'),\n    getSymbols = require('./_getSymbols'),\n    stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n  var result = [];\n  while (object) {\n    arrayPush(result, getSymbols(object));\n    object = getPrototype(object);\n  }\n  return result;\n};\n\nmodule.exports = getSymbolsIn;\n","var DataView = require('./_DataView'),\n    Map = require('./_Map'),\n    Promise = require('./_Promise'),\n    Set = require('./_Set'),\n    WeakMap = require('./_WeakMap'),\n    baseGetTag = require('./_baseGetTag'),\n    toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n    objectTag = '[object Object]',\n    promiseTag = '[object Promise]',\n    setTag = '[object Set]',\n    weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n    mapCtorString = toSource(Map),\n    promiseCtorString = toSource(Promise),\n    setCtorString = toSource(Set),\n    weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n    (Map && getTag(new Map) != mapTag) ||\n    (Promise && getTag(Promise.resolve()) != promiseTag) ||\n    (Set && getTag(new Set) != setTag) ||\n    (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n  getTag = function(value) {\n    var result = baseGetTag(value),\n        Ctor = result == objectTag ? value.constructor : undefined,\n        ctorString = Ctor ? toSource(Ctor) : '';\n\n    if (ctorString) {\n      switch (ctorString) {\n        case dataViewCtorString: return dataViewTag;\n        case mapCtorString: return mapTag;\n        case promiseCtorString: return promiseTag;\n        case setCtorString: return setTag;\n        case weakMapCtorString: return weakMapTag;\n      }\n    }\n    return result;\n  };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n  return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n  this.__data__ = nativeCreate ? nativeCreate(null) : {};\n  this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n  var result = this.has(key) && delete this.__data__[key];\n  this.size -= result ? 1 : 0;\n  return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n  var data = this.__data__;\n  if (nativeCreate) {\n    var result = data[key];\n    return result === HASH_UNDEFINED ? undefined : result;\n  }\n  return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n  var data = this.__data__;\n  return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n  var data = this.__data__;\n  this.size += this.has(key) ? 0 : 1;\n  data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n  return this;\n}\n\nmodule.exports = hashSet;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n  var length = array.length,\n      result = new array.constructor(length);\n\n  // Add properties assigned by `RegExp#exec`.\n  if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n    result.index = array.index;\n    result.input = array.input;\n  }\n  return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n    cloneDataView = require('./_cloneDataView'),\n    cloneRegExp = require('./_cloneRegExp'),\n    cloneSymbol = require('./_cloneSymbol'),\n    cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]',\n    float32Tag = '[object Float32Array]',\n    float64Tag = '[object Float64Array]',\n    int8Tag = '[object Int8Array]',\n    int16Tag = '[object Int16Array]',\n    int32Tag = '[object Int32Array]',\n    uint8Tag = '[object Uint8Array]',\n    uint8ClampedTag = '[object Uint8ClampedArray]',\n    uint16Tag = '[object Uint16Array]',\n    uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n  var Ctor = object.constructor;\n  switch (tag) {\n    case arrayBufferTag:\n      return cloneArrayBuffer(object);\n\n    case boolTag:\n    case dateTag:\n      return new Ctor(+object);\n\n    case dataViewTag:\n      return cloneDataView(object, isDeep);\n\n    case float32Tag: case float64Tag:\n    case int8Tag: case int16Tag: case int32Tag:\n    case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n      return cloneTypedArray(object, isDeep);\n\n    case mapTag:\n      return new Ctor;\n\n    case numberTag:\n    case stringTag:\n      return new Ctor(object);\n\n    case regexpTag:\n      return cloneRegExp(object);\n\n    case setTag:\n      return new Ctor;\n\n    case symbolTag:\n      return cloneSymbol(object);\n  }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n    getPrototype = require('./_getPrototype'),\n    isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n  return (typeof object.constructor == 'function' && !isPrototype(object))\n    ? baseCreate(getPrototype(object))\n    : {};\n}\n\nmodule.exports = initCloneObject;\n","var Symbol = require('./_Symbol'),\n    isArguments = require('./isArguments'),\n    isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n  return isArray(value) || isArguments(value) ||\n    !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n  var type = typeof value;\n  length = length == null ? MAX_SAFE_INTEGER : length;\n\n  return !!length &&\n    (type == 'number' ||\n      (type != 'symbol' && reIsUint.test(value))) &&\n        (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var eq = require('./eq'),\n    isArrayLike = require('./isArrayLike'),\n    isIndex = require('./_isIndex'),\n    isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n *  else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n  if (!isObject(object)) {\n    return false;\n  }\n  var type = typeof index;\n  if (type == 'number'\n        ? (isArrayLike(object) && isIndex(index, object.length))\n        : (type == 'string' && index in object)\n      ) {\n    return eq(object[index], value);\n  }\n  return false;\n}\n\nmodule.exports = isIterateeCall;\n","var isArray = require('./isArray'),\n    isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n    reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n  if (isArray(value)) {\n    return false;\n  }\n  var type = typeof value;\n  if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n      value == null || isSymbol(value)) {\n    return true;\n  }\n  return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n    (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n  var type = typeof value;\n  return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n    ? (value !== '__proto__')\n    : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n  return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n  return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n  var Ctor = value && value.constructor,\n      proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n  return value === proto;\n}\n\nmodule.exports = isPrototype;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n  this.__data__ = [];\n  this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  if (index < 0) {\n    return false;\n  }\n  var lastIndex = data.length - 1;\n  if (index == lastIndex) {\n    data.pop();\n  } else {\n    splice.call(data, index, 1);\n  }\n  --this.size;\n  return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n  return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  if (index < 0) {\n    ++this.size;\n    data.push([key, value]);\n  } else {\n    data[index][1] = value;\n  }\n  return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n    ListCache = require('./_ListCache'),\n    Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n  this.size = 0;\n  this.__data__ = {\n    'hash': new Hash,\n    'map': new (Map || ListCache),\n    'string': new Hash\n  };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n  var result = getMapData(this, key)['delete'](key);\n  this.size -= result ? 1 : 0;\n  return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n  return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n  return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n  var data = getMapData(this, key),\n      size = data.size;\n\n  data.set(key, value);\n  this.size += data.size == size ? 0 : 1;\n  return this;\n}\n\nmodule.exports = mapCacheSet;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n  var result = memoize(func, function(key) {\n    if (cache.size === MAX_MEMOIZE_SIZE) {\n      cache.clear();\n    }\n    return key;\n  });\n\n  var cache = result.cache;\n  return result;\n}\n\nmodule.exports = memoizeCapped;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n  var result = [];\n  if (object != null) {\n    for (var key in Object(object)) {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n  try {\n    // Use `util.types` for Node.js 10+.\n    var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n    if (types) {\n      return types;\n    }\n\n    // Legacy `process.binding('util')` for Node.js < 10.\n    return freeProcess && freeProcess.binding && freeProcess.binding('util');\n  } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n  return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n  return function(arg) {\n    return func(transform(arg));\n  };\n}\n\nmodule.exports = overArg;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n  start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n  return function() {\n    var args = arguments,\n        index = -1,\n        length = nativeMax(args.length - start, 0),\n        array = Array(length);\n\n    while (++index < length) {\n      array[index] = args[start + index];\n    }\n    index = -1;\n    var otherArgs = Array(start + 1);\n    while (++index < start) {\n      otherArgs[index] = args[index];\n    }\n    otherArgs[start] = transform(array);\n    return apply(func, this, otherArgs);\n  };\n}\n\nmodule.exports = overRest;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n  if (key === 'constructor' && typeof object[key] === 'function') {\n    return;\n  }\n\n  if (key == '__proto__') {\n    return;\n  }\n\n  return object[key];\n}\n\nmodule.exports = safeGet;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n  this.__data__.set(value, HASH_UNDEFINED);\n  return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n  return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n  var index = -1,\n      result = Array(set.size);\n\n  set.forEach(function(value) {\n    result[++index] = value;\n  });\n  return result;\n}\n\nmodule.exports = setToArray;\n","var baseSetToString = require('./_baseSetToString'),\n    shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n    HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n  var count = 0,\n      lastCalled = 0;\n\n  return function() {\n    var stamp = nativeNow(),\n        remaining = HOT_SPAN - (stamp - lastCalled);\n\n    lastCalled = stamp;\n    if (remaining > 0) {\n      if (++count >= HOT_COUNT) {\n        return arguments[0];\n      }\n    } else {\n      count = 0;\n    }\n    return func.apply(undefined, arguments);\n  };\n}\n\nmodule.exports = shortOut;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n  this.__data__ = new ListCache;\n  this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n  var data = this.__data__,\n      result = data['delete'](key);\n\n  this.size = data.size;\n  return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n  return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n  return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n    Map = require('./_Map'),\n    MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n  var data = this.__data__;\n  if (data instanceof ListCache) {\n    var pairs = data.__data__;\n    if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n      pairs.push([key, value]);\n      this.size = ++data.size;\n      return this;\n    }\n    data = this.__data__ = new MapCache(pairs);\n  }\n  data.set(key, value);\n  this.size = data.size;\n  return this;\n}\n\nmodule.exports = stackSet;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n  var index = fromIndex - 1,\n      length = array.length;\n\n  while (++index < length) {\n    if (array[index] === value) {\n      return index;\n    }\n  }\n  return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n  var result = [];\n  if (string.charCodeAt(0) === 46 /* . */) {\n    result.push('');\n  }\n  string.replace(rePropName, function(match, number, quote, subString) {\n    result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n  });\n  return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n  if (typeof value == 'string' || isSymbol(value)) {\n    return value;\n  }\n  var result = (value + '');\n  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n  if (func != null) {\n    try {\n      return funcToString.call(func);\n    } catch (e) {}\n    try {\n      return (func + '');\n    } catch (e) {}\n  }\n  return '';\n}\n\nmodule.exports = toSource;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n  var index = string.length;\n\n  while (index-- && reWhitespace.test(string.charAt(index))) {}\n  return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n    CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n  return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n  return function() {\n    return value;\n  };\n}\n\nmodule.exports = constant;\n","var isObject = require('./isObject'),\n    now = require('./now'),\n    toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n    nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n *  Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n *  The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n *   'leading': true,\n *   'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n  var lastArgs,\n      lastThis,\n      maxWait,\n      result,\n      timerId,\n      lastCallTime,\n      lastInvokeTime = 0,\n      leading = false,\n      maxing = false,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = 'maxWait' in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n\n  function invokeFunc(time) {\n    var args = lastArgs,\n        thisArg = lastThis;\n\n    lastArgs = lastThis = undefined;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n\n  function leadingEdge(time) {\n    // Reset any `maxWait` timer.\n    lastInvokeTime = time;\n    // Start the timer for the trailing edge.\n    timerId = setTimeout(timerExpired, wait);\n    // Invoke the leading edge.\n    return leading ? invokeFunc(time) : result;\n  }\n\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime,\n        timeWaiting = wait - timeSinceLastCall;\n\n    return maxing\n      ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n      : timeWaiting;\n  }\n\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime;\n\n    // Either this is the first call, activity has stopped and we're at the\n    // trailing edge, the system time has gone backwards and we're treating\n    // it as the trailing edge, or we've hit the `maxWait` limit.\n    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n  }\n\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    // Restart the timer.\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n\n  function trailingEdge(time) {\n    timerId = undefined;\n\n    // Only invoke if we have `lastArgs` which means `func` has been\n    // debounced at least once.\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = undefined;\n    return result;\n  }\n\n  function cancel() {\n    if (timerId !== undefined) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = undefined;\n  }\n\n  function flush() {\n    return timerId === undefined ? result : trailingEdge(now());\n  }\n\n  function debounced() {\n    var time = now(),\n        isInvoking = shouldInvoke(time);\n\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n\n    if (isInvoking) {\n      if (timerId === undefined) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        // Handle invocations in a tight loop.\n        clearTimeout(timerId);\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === undefined) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\n\nmodule.exports = debounce;\n","var baseRest = require('./_baseRest'),\n    eq = require('./eq'),\n    isIterateeCall = require('./_isIterateeCall'),\n    keysIn = require('./keysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n  object = Object(object);\n\n  var index = -1;\n  var length = sources.length;\n  var guard = length > 2 ? sources[2] : undefined;\n\n  if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n    length = 1;\n  }\n\n  while (++index < length) {\n    var source = sources[index];\n    var props = keysIn(source);\n    var propsIndex = -1;\n    var propsLength = props.length;\n\n    while (++propsIndex < propsLength) {\n      var key = props[propsIndex];\n      var value = object[key];\n\n      if (value === undefined ||\n          (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n        object[key] = source[key];\n      }\n    }\n  }\n\n  return object;\n});\n\nmodule.exports = defaults;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n  return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n  var result = object == null ? undefined : baseGet(object, path);\n  return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n  return value;\n}\n\nmodule.exports = identity;\n","var arrayMap = require('./_arrayMap'),\n    baseIntersection = require('./_baseIntersection'),\n    baseRest = require('./_baseRest'),\n    castArrayLikeObject = require('./_castArrayLikeObject');\n\n/**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\nvar intersection = baseRest(function(arrays) {\n  var mapped = arrayMap(arrays, castArrayLikeObject);\n  return (mapped.length && mapped[0] === arrays[0])\n    ? baseIntersection(mapped)\n    : [];\n});\n\nmodule.exports = intersection;\n","var baseIsArguments = require('./_baseIsArguments'),\n    isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n *  else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n  return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n    !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n    isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n  return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var isArrayLike = require('./isArrayLike'),\n    isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n *  else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n  return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","var root = require('./_root'),\n    stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseGetTag = require('./_baseGetTag'),\n    isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n    funcTag = '[object Function]',\n    genTag = '[object GeneratorFunction]',\n    proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n  if (!isObject(value)) {\n    return false;\n  }\n  // The use of `Object#toString` avoids issues with the `typeof` operator\n  // in Safari 9 which returns 'object' for typed arrays and other constructors.\n  var tag = baseGetTag(value);\n  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n  return typeof value == 'number' &&\n    value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var baseIsMap = require('./_baseIsMap'),\n    baseUnary = require('./_baseUnary'),\n    nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n  var type = typeof value;\n  return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n    getPrototype = require('./_getPrototype'),\n    isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n    objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n  if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n    return false;\n  }\n  var proto = getPrototype(value);\n  if (proto === null) {\n    return true;\n  }\n  var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n  return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n    funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n    baseUnary = require('./_baseUnary'),\n    nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var baseGetTag = require('./_baseGetTag'),\n    isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n    baseUnary = require('./_baseUnary'),\n    nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n    baseKeys = require('./_baseKeys'),\n    isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n    baseKeysIn = require('./_baseKeysIn'),\n    isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n  if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  var memoized = function() {\n    var args = arguments,\n        key = resolver ? resolver.apply(this, args) : args[0],\n        cache = memoized.cache;\n\n    if (cache.has(key)) {\n      return cache.get(key);\n    }\n    var result = func.apply(this, args);\n    memoized.cache = cache.set(key, result) || cache;\n    return result;\n  };\n  memoized.cache = new (memoize.Cache || MapCache);\n  return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var baseMerge = require('./_baseMerge'),\n    createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n *   'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n *   'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n  baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n","/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n  // No operation performed.\n}\n\nmodule.exports = noop;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n *   console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n  return root.Date.now();\n};\n\nmodule.exports = now;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n  return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n  return false;\n}\n\nmodule.exports = stubFalse;\n","var debounce = require('./debounce'),\n    isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n *  Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n  var leading = true,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  if (isObject(options)) {\n    leading = 'leading' in options ? !!options.leading : leading;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n  return debounce(func, wait, {\n    'leading': leading,\n    'maxWait': wait,\n    'trailing': trailing\n  });\n}\n\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n    isObject = require('./isObject'),\n    isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n  if (typeof value == 'number') {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n    value = isObject(other) ? (other + '') : other;\n  }\n  if (typeof value != 'string') {\n    return value === 0 ? value : +value;\n  }\n  value = baseTrim(value);\n  var isBinary = reIsBinary.test(value);\n  return (isBinary || reIsOctal.test(value))\n    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n    : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var copyObject = require('./_copyObject'),\n    keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n  return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n  return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","var baseFlatten = require('./_baseFlatten'),\n    baseRest = require('./_baseRest'),\n    baseUniq = require('./_baseUniq'),\n    isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\nvar union = baseRest(function(arrays) {\n  return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n});\n\nmodule.exports = union;\n","var baseDifference = require('./_baseDifference'),\n    baseRest = require('./_baseRest'),\n    isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\nvar without = baseRest(function(array, values) {\n  return isArrayLikeObject(array)\n    ? baseDifference(array, values)\n    : [];\n});\n\nmodule.exports = without;\n","var arrayFilter = require('./_arrayFilter'),\n    baseRest = require('./_baseRest'),\n    baseXor = require('./_baseXor'),\n    isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\nvar xor = baseRest(function(arrays) {\n  return baseXor(arrayFilter(arrays, isArrayLikeObject));\n});\n\nmodule.exports = xor;\n","'use strict';\n\nvar staticMatch = require('css-mediaquery').match;\nvar dynamicMatch = typeof window !== 'undefined' ? window.matchMedia : null;\n\n// our fake MediaQueryList\nfunction Mql(query, values, forceStatic){\n  var self = this;\n  var mql;\n\n  // matchMedia will return null in FF when it's called in a hidden iframe\n  // ref: https://stackoverflow.com/a/12330568\n  if(dynamicMatch && !forceStatic) mql = dynamicMatch.call(window, query);\n\n  if (mql) {\n    this.matches = mql.matches;\n    this.media = mql.media;\n    // TODO: is there a time it makes sense to remove this listener?\n    mql.addListener(update);\n  } else {\n    this.matches = staticMatch(query, values);\n    this.media = query;\n  }\n\n  this.addListener = addListener;\n  this.removeListener = removeListener;\n  this.dispose = dispose;\n\n  function addListener(listener){\n    if(mql){\n      mql.addListener(listener);\n    }\n  }\n\n  function removeListener(listener){\n    if(mql){\n      mql.removeListener(listener);\n    }\n  }\n\n  // update ourselves!\n  function update(evt){\n    self.matches = evt.matches;\n    self.media = evt.media;\n  }\n\n  function dispose(){\n    if(mql){\n      mql.removeListener(update);\n    }\n  }\n}\n\nfunction matchMedia(query, values, forceStatic){\n  return new Mql(query, values, forceStatic);\n}\n\nmodule.exports = matchMedia;\n","!function(a,i){\"use strict\";\"object\"==typeof module&&module.exports?module.exports=i(require(\"moment\")):\"function\"==typeof define&&define.amd?define([\"moment\"],i):i(a.moment)}(this,function(o){\"use strict\";void 0===o.version&&o.default&&(o=o.default);var i,s={},c={},A={},u={},m={},a=(o&&\"string\"==typeof o.version||D(\"Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/\"),o.version.split(\".\")),r=+a[0],e=+a[1];function n(a){return 96<a?a-87:64<a?a-29:a-48}function t(a){var i=0,r=a.split(\".\"),e=r[0],o=r[1]||\"\",c=1,A=0,r=1;for(45===a.charCodeAt(0)&&(r=-(i=1));i<e.length;i++)A=60*A+n(e.charCodeAt(i));for(i=0;i<o.length;i++)c/=60,A+=n(o.charCodeAt(i))*c;return A*r}function l(a){for(var i=0;i<a.length;i++)a[i]=t(a[i])}function f(a,i){for(var r=[],e=0;e<i.length;e++)r[e]=a[i[e]];return r}function p(a){for(var a=a.split(\"|\"),i=a[2].split(\" \"),r=a[3].split(\"\"),e=a[4].split(\" \"),o=(l(i),l(r),l(e),e),c=r.length,A=0;A<c;A++)o[A]=Math.round((o[A-1]||0)+6e4*o[A]);return o[c-1]=1/0,{name:a[0],abbrs:f(a[1].split(\" \"),r),offsets:f(i,r),untils:e,population:0|a[5]}}function b(a){a&&this._set(p(a))}function M(a,i){this.name=a,this.zones=i}function h(a){var i=a.toTimeString(),r=i.match(/\\([a-z ]+\\)/i);\"GMT\"===(r=r&&r[0]?(r=r[0].match(/[A-Z]/g))?r.join(\"\"):void 0:(r=i.match(/[A-Z]{3,5}/g))?r[0]:void 0)&&(r=void 0),this.at=+a,this.abbr=r,this.offset=a.getTimezoneOffset()}function d(a){this.zone=a,this.offsetScore=0,this.abbrScore=0}function E(){for(var a,i,r=(new Date).getFullYear()-2,e=new h(new Date(r,0,1)),o=[e],c=1;c<48;c++)(i=new h(new Date(r,c,1))).offset!==e.offset&&(a=function(a,i){for(var r;r=6e4*((i.at-a.at)/12e4|0);)(r=new h(new Date(a.at+r))).offset===a.offset?a=r:i=r;return a}(e,i),o.push(a),o.push(new h(new Date(a.at+6e4)))),e=i;for(c=0;c<4;c++)o.push(new h(new Date(r+c,0,1))),o.push(new h(new Date(r+c,6,1)));return o}function g(a,i){return a.offsetScore!==i.offsetScore?a.offsetScore-i.offsetScore:a.abbrScore!==i.abbrScore?a.abbrScore-i.abbrScore:a.zone.population!==i.zone.population?i.zone.population-a.zone.population:i.zone.name.localeCompare(a.zone.name)}function z(){try{var a=Intl.DateTimeFormat().resolvedOptions().timeZone;if(a&&3<a.length){var i=u[P(a)];if(i)return i;D(\"Moment Timezone found \"+a+\" from the Intl api, but did not have that data loaded.\")}}catch(a){}for(var r,e,o=E(),c=o.length,A=function(a){for(var i,r,e=a.length,o={},c=[],A=0;A<e;A++)for(i in r=m[a[A].offset]||{})r.hasOwnProperty(i)&&(o[i]=!0);for(A in o)o.hasOwnProperty(A)&&c.push(u[A]);return c}(o),n=[],t=0;t<A.length;t++){for(r=new d(T(A[t])),e=0;e<c;e++)r.scoreOffsetAt(o[e]);n.push(r)}return n.sort(g),0<n.length?n[0].zone.name:void 0}function P(a){return(a||\"\").toLowerCase().replace(/\\//g,\"_\")}function k(a){var i,r,e,o;for(\"string\"==typeof a&&(a=[a]),i=0;i<a.length;i++){o=P(r=(e=a[i].split(\"|\"))[0]),s[o]=a[i],u[o]=r,A=c=t=n=void 0;var c,A,n=o,t=e[2].split(\" \");for(l(t),c=0;c<t.length;c++)A=t[c],m[A]=m[A]||{},m[A][n]=!0}}function T(a,i){a=P(a);var r=s[a];return r instanceof b?r:\"string\"==typeof r?(r=new b(r),s[a]=r):c[a]&&i!==T&&(i=T(c[a],T))?((r=s[a]=new b)._set(i),r.name=u[a],r):null}function S(a){var i,r,e,o;for(\"string\"==typeof a&&(a=[a]),i=0;i<a.length;i++)e=P((r=a[i].split(\"|\"))[0]),o=P(r[1]),c[e]=o,u[e]=r[0],c[o]=e,u[o]=r[1]}function _(a){k(a.zones),S(a.links);var i,r,e,o=a.countries;if(o&&o.length)for(i=0;i<o.length;i++)r=(e=o[i].split(\"|\"))[0].toUpperCase(),e=e[1].split(\" \"),A[r]=new M(r,e);y.dataVersion=a.version}function C(a){return C.didShowError||(C.didShowError=!0,D(\"moment.tz.zoneExists('\"+a+\"') has been deprecated in favor of !moment.tz.zone('\"+a+\"')\")),!!T(a)}function B(a){var i=\"X\"===a._f||\"x\"===a._f;return!(!a._a||void 0!==a._tzm||i)}function D(a){\"undefined\"!=typeof console&&\"function\"==typeof console.error&&console.error(a)}function y(a){var i=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1],e=T(r),i=o.utc.apply(null,i);return e&&!o.isMoment(a)&&B(i)&&i.add(e.parse(i),\"minutes\"),i.tz(r),i}(r<2||2==r&&e<6)&&D(\"Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js \"+o.version+\". See momentjs.com\"),b.prototype={_set:function(a){this.name=a.name,this.abbrs=a.abbrs,this.untils=a.untils,this.offsets=a.offsets,this.population=a.population},_index:function(a){for(var i=+a,r=this.untils,e=0;e<r.length;e++)if(i<r[e])return e},countries:function(){var i=this.name;return Object.keys(A).filter(function(a){return-1!==A[a].zones.indexOf(i)})},parse:function(a){for(var i,r,e,o=+a,c=this.offsets,A=this.untils,n=A.length-1,t=0;t<n;t++)if(i=c[t],r=c[t+1],e=c[t&&t-1],i<r&&y.moveAmbiguousForward?i=r:e<i&&y.moveInvalidForward&&(i=e),o<A[t]-6e4*i)return c[t];return c[n]},abbr:function(a){return this.abbrs[this._index(a)]},offset:function(a){return D(\"zone.offset has been deprecated in favor of zone.utcOffset\"),this.offsets[this._index(a)]},utcOffset:function(a){return this.offsets[this._index(a)]}},d.prototype.scoreOffsetAt=function(a){this.offsetScore+=Math.abs(this.zone.utcOffset(a.at)-a.offset),this.zone.abbr(a.at).replace(/[^A-Z]/g,\"\")!==a.abbr&&this.abbrScore++},y.version=\"0.5.41\",y.dataVersion=\"\",y._zones=s,y._links=c,y._names=u,y._countries=A,y.add=k,y.link=S,y.load=_,y.zone=T,y.zoneExists=C,y.guess=function(a){return i=i&&!a?i:z()},y.names=function(){var a,i=[];for(a in u)u.hasOwnProperty(a)&&(s[a]||s[c[a]])&&u[a]&&i.push(u[a]);return i.sort()},y.Zone=b,y.unpack=p,y.unpackBase60=t,y.needsOffset=B,y.moveInvalidForward=!0,y.moveAmbiguousForward=!1,y.countries=function(){return Object.keys(A)},y.zonesForCountry=function(a,i){var r;return r=(r=a).toUpperCase(),(a=A[r]||null)?(r=a.zones.sort(),i?r.map(function(a){return{name:a,offset:T(a).utcOffset(new Date)}}):r):null};var O,a=o.fn;function L(a){return function(){return this._z?this._z.abbr(this):a.call(this)}}function N(a){return function(){return this._z=null,a.apply(this,arguments)}}o.tz=y,o.defaultZone=null,o.updateOffset=function(a,i){var r,e=o.defaultZone;void 0===a._z&&(e&&B(a)&&!a._isUTC&&(a._d=o.utc(a._a)._d,a.utc().add(e.parse(a),\"minutes\")),a._z=e),a._z&&(e=a._z.utcOffset(a),Math.abs(e)<16&&(e/=60),void 0!==a.utcOffset?(r=a._z,a.utcOffset(-e,i),a._z=r):a.zone(e,i))},a.tz=function(a,i){if(a){if(\"string\"!=typeof a)throw new Error(\"Time zone name must be a string, got \"+a+\" [\"+typeof a+\"]\");return this._z=T(a),this._z?o.updateOffset(this,i):D(\"Moment Timezone has no data for \"+a+\". See http://momentjs.com/timezone/docs/#/data-loading/.\"),this}if(this._z)return this._z.name},a.zoneName=L(a.zoneName),a.zoneAbbr=L(a.zoneAbbr),a.utc=N(a.utc),a.local=N(a.local),a.utcOffset=(O=a.utcOffset,function(){return 0<arguments.length&&(this._z=null),O.apply(this,arguments)}),o.tz.setDefault=function(a){return(r<2||2==r&&e<9)&&D(\"Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js \"+o.version+\".\"),o.defaultZone=a?T(a):null,o};a=o.momentProperties;return\"[object Array]\"===Object.prototype.toString.call(a)?(a.push(\"_z\"),a.push(\"_a\")):a&&(a._z=null),_({version:\"2022g\",zones:[\"Africa/Abidjan|GMT|0|0||48e5\",\"Africa/Nairobi|EAT|-30|0||47e5\",\"Africa/Algiers|CET|-10|0||26e5\",\"Africa/Lagos|WAT|-10|0||17e6\",\"Africa/Khartoum|CAT|-20|0||51e5\",\"Africa/Cairo|EET|-20|0||15e6\",\"Africa/Casablanca|+00 +01|0 -10|010101010101010101010101|1Vq20 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5\",\"Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6\",\"Africa/Johannesburg|SAST|-20|0||84e5\",\"Africa/Juba|EAT CAT|-30 -20|01|24nx0|\",\"Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|\",\"America/Adak|HST HDT|a0 90|01010101010101010101010|1VkA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326\",\"America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1Vkz0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4\",\"America/Santo_Domingo|AST|40|0||29e5\",\"America/Fortaleza|-03|30|0||34e5\",\"America/Asuncion|-03 -04|30 40|01010101010101010101010|1Vq30 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5\",\"America/Panama|EST|50|0||15e5\",\"America/Mexico_City|CST CDT|60 50|01010101010|1VsU0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6\",\"America/Managua|CST|60|0||22e5\",\"America/Caracas|-04|40|0||29e5\",\"America/Lima|-05|50|0||11e6\",\"America/Denver|MST MDT|70 60|01010101010101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5\",\"America/Campo_Grande|-03 -04|30 40|0101|1Vc30 1HB0 FX0|77e4\",\"America/Chicago|CST CDT|60 50|01010101010101010101010|1Vkw0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5\",\"America/Chihuahua|MST MDT CST|70 60 60|01010101012|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4\",\"America/Ciudad_Juarez|MST MDT CST|70 60 60|010101010120101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|\",\"America/Phoenix|MST|70|0||42e5\",\"America/Whitehorse|PST PDT MST|80 70 70|0101012|1Vky0 1zb0 Op0 1zb0 Op0 1z90|23e3\",\"America/New_York|EST EDT|50 40|01010101010101010101010|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6\",\"America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1Vky0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6\",\"America/Halifax|AST ADT|40 30|01010101010101010101010|1Vku0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4\",\"America/Godthab|-03 -02|30 20|010101010101|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0|17e3\",\"America/Grand_Turk|AST EDT EST|40 40 50|01212121212121212121212|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2\",\"America/Havana|CST CDT|50 40|01010101010101010101010|1Vkt0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5\",\"America/Mazatlan|MST MDT|70 60|01010101010|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4\",\"America/Metlakatla|AKST AKDT PST|90 80 80|012010101010101010101010|1Vkz0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2\",\"America/Miquelon|-03 -02|30 20|01010101010101010101010|1Vkt0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2\",\"America/Noronha|-02|20|0||30e2\",\"America/Ojinaga|MST MDT CST CDT|70 60 60 50|01010101012323232323232|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e3\",\"America/Santiago|-03 -04|30 40|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5\",\"America/Sao_Paulo|-02 -03|20 30|0101|1Vc20 1HB0 FX0|20e6\",\"Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4\",\"America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1Vktu 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4\",\"Antarctica/Casey|+11 +08|-b0 -80|0101010|1Vkh0 1o30 14k0 1kr0 12l0 1o01|10\",\"Asia/Bangkok|+07|-70|0||15e6\",\"Asia/Vladivostok|+10|-a0|0||60e4\",\"Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1VsE0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5\",\"Asia/Tashkent|+05|-50|0||23e5\",\"Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5\",\"Europe/Istanbul|+03|-30|0||13e6\",\"Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40\",\"Asia/Dhaka|+06|-60|0||16e6\",\"Asia/Amman|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5\",\"Asia/Kamchatka|+12|-c0|0||18e4\",\"Asia/Dubai|+04|-40|0||39e5\",\"Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1VpW0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5\",\"Asia/Kuala_Lumpur|+08|-80|0||71e5\",\"Asia/Kolkata|IST|-5u|0||15e6\",\"Asia/Chita|+09|-90|0||33e4\",\"Asia/Shanghai|CST|-80|0||23e6\",\"Asia/Colombo|+0530|-5u|0||22e5\",\"Asia/Damascus|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5\",\"Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5\",\"Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1Vpz0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|18e5\",\"Asia/Hong_Kong|HKT|-80|0||73e5\",\"Asia/Jakarta|WIB|-70|0||31e6\",\"Asia/Jayapura|WIT|-90|0||26e4\",\"Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1Vpc0 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4\",\"Asia/Kabul|+0430|-4u|0||46e5\",\"Asia/Karachi|PKT|-50|0||24e6\",\"Asia/Kathmandu|+0545|-5J|0||12e5\",\"Asia/Sakhalin|+11|-b0|0||58e4\",\"Asia/Makassar|WITA|-80|0||15e5\",\"Asia/Manila|PST|-80|0||24e6\",\"Asia/Pyongyang|KST KST|-8u -90|01|1VGf0|29e5\",\"Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4\",\"Asia/Rangoon|+0630|-6u|0||48e5\",\"Asia/Seoul|KST|-90|0||23e6\",\"Asia/Tehran|+0330 +0430|-3u -4u|01010101010|1VoIu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6\",\"Asia/Tokyo|JST|-90|0||38e6\",\"Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5\",\"Atlantic/Cape_Verde|-01|10|0||50e4\",\"Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1VsEu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5\",\"Australia/Brisbane|AEST|-a0|0||20e5\",\"Australia/Darwin|ACST|-9u|0||12e4\",\"Australia/Eucla|+0845|-8J|0||368\",\"Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1VsD0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347\",\"Australia/Perth|AWST|-80|0||18e5\",\"Pacific/Easter|-05 -06|50 60|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2\",\"Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5\",\"Etc/GMT-1|+01|-10|0||\",\"Pacific/Tongatapu|+13|-d0|0||75e3\",\"Pacific/Kiritimati|+14|-e0|0||51e2\",\"Etc/GMT-2|+02|-20|0||\",\"Pacific/Tahiti|-10|a0|0||18e4\",\"Pacific/Niue|-11|b0|0||12e2\",\"Etc/GMT+12|-12|c0|0||\",\"Pacific/Galapagos|-06|60|0||25e3\",\"Etc/GMT+7|-07|70|0||\",\"Pacific/Pitcairn|-08|80|0||56\",\"Pacific/Gambier|-09|90|0||125\",\"Etc/UTC|UTC|0|0||\",\"Europe/London|GMT BST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6\",\"Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1Vq00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4\",\"Europe/Moscow|MSK|-30|0||16e6\",\"Europe/Volgograd|+03 +04|-30 -40|010|1WQL0 5gn0|10e5\",\"Pacific/Honolulu|HST|a0|0||37e4\",\"MET|MET MEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|\",\"Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600\",\"Pacific/Apia|+14 +13|-e0 -d0|01010101|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3\",\"Pacific/Fiji|+13 +12|-d0 -c0|01010101|1UVO0 1VA0 s00 20o0 pc0 2hc0 bc0|88e4\",\"Pacific/Guam|ChST|-a0|0||17e4\",\"Pacific/Marquesas|-0930|9u|0||86e2\",\"Pacific/Pago_Pago|SST|b0|0||37e2\",\"Pacific/Norfolk|+11 +12|-b0 -c0|01010101010101010101|219P0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4\"],links:[\"Africa/Abidjan|Africa/Accra\",\"Africa/Abidjan|Africa/Bamako\",\"Africa/Abidjan|Africa/Banjul\",\"Africa/Abidjan|Africa/Bissau\",\"Africa/Abidjan|Africa/Conakry\",\"Africa/Abidjan|Africa/Dakar\",\"Africa/Abidjan|Africa/Freetown\",\"Africa/Abidjan|Africa/Lome\",\"Africa/Abidjan|Africa/Monrovia\",\"Africa/Abidjan|Africa/Nouakchott\",\"Africa/Abidjan|Africa/Ouagadougou\",\"Africa/Abidjan|Africa/Timbuktu\",\"Africa/Abidjan|America/Danmarkshavn\",\"Africa/Abidjan|Atlantic/Reykjavik\",\"Africa/Abidjan|Atlantic/St_Helena\",\"Africa/Abidjan|Etc/GMT\",\"Africa/Abidjan|Etc/GMT+0\",\"Africa/Abidjan|Etc/GMT-0\",\"Africa/Abidjan|Etc/GMT0\",\"Africa/Abidjan|Etc/Greenwich\",\"Africa/Abidjan|GMT\",\"Africa/Abidjan|GMT+0\",\"Africa/Abidjan|GMT-0\",\"Africa/Abidjan|GMT0\",\"Africa/Abidjan|Greenwich\",\"Africa/Abidjan|Iceland\",\"Africa/Algiers|Africa/Tunis\",\"Africa/Cairo|Africa/Tripoli\",\"Africa/Cairo|Egypt\",\"Africa/Cairo|Europe/Kaliningrad\",\"Africa/Cairo|Libya\",\"Africa/Casablanca|Africa/El_Aaiun\",\"Africa/Johannesburg|Africa/Maseru\",\"Africa/Johannesburg|Africa/Mbabane\",\"Africa/Khartoum|Africa/Blantyre\",\"Africa/Khartoum|Africa/Bujumbura\",\"Africa/Khartoum|Africa/Gaborone\",\"Africa/Khartoum|Africa/Harare\",\"Africa/Khartoum|Africa/Kigali\",\"Africa/Khartoum|Africa/Lubumbashi\",\"Africa/Khartoum|Africa/Lusaka\",\"Africa/Khartoum|Africa/Maputo\",\"Africa/Khartoum|Africa/Windhoek\",\"Africa/Lagos|Africa/Bangui\",\"Africa/Lagos|Africa/Brazzaville\",\"Africa/Lagos|Africa/Douala\",\"Africa/Lagos|Africa/Kinshasa\",\"Africa/Lagos|Africa/Libreville\",\"Africa/Lagos|Africa/Luanda\",\"Africa/Lagos|Africa/Malabo\",\"Africa/Lagos|Africa/Ndjamena\",\"Africa/Lagos|Africa/Niamey\",\"Africa/Lagos|Africa/Porto-Novo\",\"Africa/Nairobi|Africa/Addis_Ababa\",\"Africa/Nairobi|Africa/Asmara\",\"Africa/Nairobi|Africa/Asmera\",\"Africa/Nairobi|Africa/Dar_es_Salaam\",\"Africa/Nairobi|Africa/Djibouti\",\"Africa/Nairobi|Africa/Kampala\",\"Africa/Nairobi|Africa/Mogadishu\",\"Africa/Nairobi|Indian/Antananarivo\",\"Africa/Nairobi|Indian/Comoro\",\"Africa/Nairobi|Indian/Mayotte\",\"America/Adak|America/Atka\",\"America/Adak|US/Aleutian\",\"America/Anchorage|America/Juneau\",\"America/Anchorage|America/Nome\",\"America/Anchorage|America/Sitka\",\"America/Anchorage|America/Yakutat\",\"America/Anchorage|US/Alaska\",\"America/Campo_Grande|America/Cuiaba\",\"America/Caracas|America/Boa_Vista\",\"America/Caracas|America/Guyana\",\"America/Caracas|America/La_Paz\",\"America/Caracas|America/Manaus\",\"America/Caracas|America/Porto_Velho\",\"America/Caracas|Brazil/West\",\"America/Caracas|Etc/GMT+4\",\"America/Chicago|America/Indiana/Knox\",\"America/Chicago|America/Indiana/Tell_City\",\"America/Chicago|America/Knox_IN\",\"America/Chicago|America/Matamoros\",\"America/Chicago|America/Menominee\",\"America/Chicago|America/North_Dakota/Beulah\",\"America/Chicago|America/North_Dakota/Center\",\"America/Chicago|America/North_Dakota/New_Salem\",\"America/Chicago|America/Rainy_River\",\"America/Chicago|America/Rankin_Inlet\",\"America/Chicago|America/Resolute\",\"America/Chicago|America/Winnipeg\",\"America/Chicago|CST6CDT\",\"America/Chicago|Canada/Central\",\"America/Chicago|US/Central\",\"America/Chicago|US/Indiana-Starke\",\"America/Denver|America/Boise\",\"America/Denver|America/Cambridge_Bay\",\"America/Denver|America/Edmonton\",\"America/Denver|America/Inuvik\",\"America/Denver|America/Shiprock\",\"America/Denver|America/Yellowknife\",\"America/Denver|Canada/Mountain\",\"America/Denver|MST7MDT\",\"America/Denver|Navajo\",\"America/Denver|US/Mountain\",\"America/Fortaleza|America/Araguaina\",\"America/Fortaleza|America/Argentina/Buenos_Aires\",\"America/Fortaleza|America/Argentina/Catamarca\",\"America/Fortaleza|America/Argentina/ComodRivadavia\",\"America/Fortaleza|America/Argentina/Cordoba\",\"America/Fortaleza|America/Argentina/Jujuy\",\"America/Fortaleza|America/Argentina/La_Rioja\",\"America/Fortaleza|America/Argentina/Mendoza\",\"America/Fortaleza|America/Argentina/Rio_Gallegos\",\"America/Fortaleza|America/Argentina/Salta\",\"America/Fortaleza|America/Argentina/San_Juan\",\"America/Fortaleza|America/Argentina/San_Luis\",\"America/Fortaleza|America/Argentina/Tucuman\",\"America/Fortaleza|America/Argentina/Ushuaia\",\"America/Fortaleza|America/Bahia\",\"America/Fortaleza|America/Belem\",\"America/Fortaleza|America/Buenos_Aires\",\"America/Fortaleza|America/Catamarca\",\"America/Fortaleza|America/Cayenne\",\"America/Fortaleza|America/Cordoba\",\"America/Fortaleza|America/Jujuy\",\"America/Fortaleza|America/Maceio\",\"America/Fortaleza|America/Mendoza\",\"America/Fortaleza|America/Montevideo\",\"America/Fortaleza|America/Paramaribo\",\"America/Fortaleza|America/Punta_Arenas\",\"America/Fortaleza|America/Recife\",\"America/Fortaleza|America/Rosario\",\"America/Fortaleza|America/Santarem\",\"America/Fortaleza|Antarctica/Palmer\",\"America/Fortaleza|Antarctica/Rothera\",\"America/Fortaleza|Atlantic/Stanley\",\"America/Fortaleza|Etc/GMT+3\",\"America/Godthab|America/Nuuk\",\"America/Halifax|America/Glace_Bay\",\"America/Halifax|America/Goose_Bay\",\"America/Halifax|America/Moncton\",\"America/Halifax|America/Thule\",\"America/Halifax|Atlantic/Bermuda\",\"America/Halifax|Canada/Atlantic\",\"America/Havana|Cuba\",\"America/Lima|America/Bogota\",\"America/Lima|America/Eirunepe\",\"America/Lima|America/Guayaquil\",\"America/Lima|America/Porto_Acre\",\"America/Lima|America/Rio_Branco\",\"America/Lima|Brazil/Acre\",\"America/Lima|Etc/GMT+5\",\"America/Los_Angeles|America/Ensenada\",\"America/Los_Angeles|America/Santa_Isabel\",\"America/Los_Angeles|America/Tijuana\",\"America/Los_Angeles|America/Vancouver\",\"America/Los_Angeles|Canada/Pacific\",\"America/Los_Angeles|Mexico/BajaNorte\",\"America/Los_Angeles|PST8PDT\",\"America/Los_Angeles|US/Pacific\",\"America/Managua|America/Belize\",\"America/Managua|America/Costa_Rica\",\"America/Managua|America/El_Salvador\",\"America/Managua|America/Guatemala\",\"America/Managua|America/Regina\",\"America/Managua|America/Swift_Current\",\"America/Managua|America/Tegucigalpa\",\"America/Managua|Canada/Saskatchewan\",\"America/Mazatlan|Mexico/BajaSur\",\"America/Mexico_City|America/Bahia_Banderas\",\"America/Mexico_City|America/Merida\",\"America/Mexico_City|America/Monterrey\",\"America/Mexico_City|Mexico/General\",\"America/New_York|America/Detroit\",\"America/New_York|America/Fort_Wayne\",\"America/New_York|America/Indiana/Indianapolis\",\"America/New_York|America/Indiana/Marengo\",\"America/New_York|America/Indiana/Petersburg\",\"America/New_York|America/Indiana/Vevay\",\"America/New_York|America/Indiana/Vincennes\",\"America/New_York|America/Indiana/Winamac\",\"America/New_York|America/Indianapolis\",\"America/New_York|America/Iqaluit\",\"America/New_York|America/Kentucky/Louisville\",\"America/New_York|America/Kentucky/Monticello\",\"America/New_York|America/Louisville\",\"America/New_York|America/Montreal\",\"America/New_York|America/Nassau\",\"America/New_York|America/Nipigon\",\"America/New_York|America/Pangnirtung\",\"America/New_York|America/Port-au-Prince\",\"America/New_York|America/Thunder_Bay\",\"America/New_York|America/Toronto\",\"America/New_York|Canada/Eastern\",\"America/New_York|EST5EDT\",\"America/New_York|US/East-Indiana\",\"America/New_York|US/Eastern\",\"America/New_York|US/Michigan\",\"America/Noronha|Atlantic/South_Georgia\",\"America/Noronha|Brazil/DeNoronha\",\"America/Noronha|Etc/GMT+2\",\"America/Panama|America/Atikokan\",\"America/Panama|America/Cancun\",\"America/Panama|America/Cayman\",\"America/Panama|America/Coral_Harbour\",\"America/Panama|America/Jamaica\",\"America/Panama|EST\",\"America/Panama|Jamaica\",\"America/Phoenix|America/Creston\",\"America/Phoenix|America/Dawson_Creek\",\"America/Phoenix|America/Fort_Nelson\",\"America/Phoenix|America/Hermosillo\",\"America/Phoenix|MST\",\"America/Phoenix|US/Arizona\",\"America/Santiago|Chile/Continental\",\"America/Santo_Domingo|America/Anguilla\",\"America/Santo_Domingo|America/Antigua\",\"America/Santo_Domingo|America/Aruba\",\"America/Santo_Domingo|America/Barbados\",\"America/Santo_Domingo|America/Blanc-Sablon\",\"America/Santo_Domingo|America/Curacao\",\"America/Santo_Domingo|America/Dominica\",\"America/Santo_Domingo|America/Grenada\",\"America/Santo_Domingo|America/Guadeloupe\",\"America/Santo_Domingo|America/Kralendijk\",\"America/Santo_Domingo|America/Lower_Princes\",\"America/Santo_Domingo|America/Marigot\",\"America/Santo_Domingo|America/Martinique\",\"America/Santo_Domingo|America/Montserrat\",\"America/Santo_Domingo|America/Port_of_Spain\",\"America/Santo_Domingo|America/Puerto_Rico\",\"America/Santo_Domingo|America/St_Barthelemy\",\"America/Santo_Domingo|America/St_Kitts\",\"America/Santo_Domingo|America/St_Lucia\",\"America/Santo_Domingo|America/St_Thomas\",\"America/Santo_Domingo|America/St_Vincent\",\"America/Santo_Domingo|America/Tortola\",\"America/Santo_Domingo|America/Virgin\",\"America/Sao_Paulo|Brazil/East\",\"America/St_Johns|Canada/Newfoundland\",\"America/Whitehorse|America/Dawson\",\"America/Whitehorse|Canada/Yukon\",\"Asia/Bangkok|Antarctica/Davis\",\"Asia/Bangkok|Asia/Barnaul\",\"Asia/Bangkok|Asia/Ho_Chi_Minh\",\"Asia/Bangkok|Asia/Hovd\",\"Asia/Bangkok|Asia/Krasnoyarsk\",\"Asia/Bangkok|Asia/Novokuznetsk\",\"Asia/Bangkok|Asia/Novosibirsk\",\"Asia/Bangkok|Asia/Phnom_Penh\",\"Asia/Bangkok|Asia/Saigon\",\"Asia/Bangkok|Asia/Tomsk\",\"Asia/Bangkok|Asia/Vientiane\",\"Asia/Bangkok|Etc/GMT-7\",\"Asia/Bangkok|Indian/Christmas\",\"Asia/Chita|Asia/Dili\",\"Asia/Chita|Asia/Khandyga\",\"Asia/Chita|Asia/Yakutsk\",\"Asia/Chita|Etc/GMT-9\",\"Asia/Chita|Pacific/Palau\",\"Asia/Dhaka|Antarctica/Vostok\",\"Asia/Dhaka|Asia/Almaty\",\"Asia/Dhaka|Asia/Bishkek\",\"Asia/Dhaka|Asia/Dacca\",\"Asia/Dhaka|Asia/Kashgar\",\"Asia/Dhaka|Asia/Omsk\",\"Asia/Dhaka|Asia/Qostanay\",\"Asia/Dhaka|Asia/Thimbu\",\"Asia/Dhaka|Asia/Thimphu\",\"Asia/Dhaka|Asia/Urumqi\",\"Asia/Dhaka|Etc/GMT-6\",\"Asia/Dhaka|Indian/Chagos\",\"Asia/Dubai|Asia/Baku\",\"Asia/Dubai|Asia/Muscat\",\"Asia/Dubai|Asia/Tbilisi\",\"Asia/Dubai|Asia/Yerevan\",\"Asia/Dubai|Etc/GMT-4\",\"Asia/Dubai|Europe/Astrakhan\",\"Asia/Dubai|Europe/Samara\",\"Asia/Dubai|Europe/Saratov\",\"Asia/Dubai|Europe/Ulyanovsk\",\"Asia/Dubai|Indian/Mahe\",\"Asia/Dubai|Indian/Mauritius\",\"Asia/Dubai|Indian/Reunion\",\"Asia/Gaza|Asia/Hebron\",\"Asia/Hong_Kong|Hongkong\",\"Asia/Jakarta|Asia/Pontianak\",\"Asia/Jerusalem|Asia/Tel_Aviv\",\"Asia/Jerusalem|Israel\",\"Asia/Kamchatka|Asia/Anadyr\",\"Asia/Kamchatka|Etc/GMT-12\",\"Asia/Kamchatka|Kwajalein\",\"Asia/Kamchatka|Pacific/Funafuti\",\"Asia/Kamchatka|Pacific/Kwajalein\",\"Asia/Kamchatka|Pacific/Majuro\",\"Asia/Kamchatka|Pacific/Nauru\",\"Asia/Kamchatka|Pacific/Tarawa\",\"Asia/Kamchatka|Pacific/Wake\",\"Asia/Kamchatka|Pacific/Wallis\",\"Asia/Kathmandu|Asia/Katmandu\",\"Asia/Kolkata|Asia/Calcutta\",\"Asia/Kuala_Lumpur|Asia/Brunei\",\"Asia/Kuala_Lumpur|Asia/Choibalsan\",\"Asia/Kuala_Lumpur|Asia/Irkutsk\",\"Asia/Kuala_Lumpur|Asia/Kuching\",\"Asia/Kuala_Lumpur|Asia/Singapore\",\"Asia/Kuala_Lumpur|Asia/Ulaanbaatar\",\"Asia/Kuala_Lumpur|Asia/Ulan_Bator\",\"Asia/Kuala_Lumpur|Etc/GMT-8\",\"Asia/Kuala_Lumpur|Singapore\",\"Asia/Makassar|Asia/Ujung_Pandang\",\"Asia/Rangoon|Asia/Yangon\",\"Asia/Rangoon|Indian/Cocos\",\"Asia/Sakhalin|Asia/Magadan\",\"Asia/Sakhalin|Asia/Srednekolymsk\",\"Asia/Sakhalin|Etc/GMT-11\",\"Asia/Sakhalin|Pacific/Bougainville\",\"Asia/Sakhalin|Pacific/Efate\",\"Asia/Sakhalin|Pacific/Guadalcanal\",\"Asia/Sakhalin|Pacific/Kosrae\",\"Asia/Sakhalin|Pacific/Noumea\",\"Asia/Sakhalin|Pacific/Pohnpei\",\"Asia/Sakhalin|Pacific/Ponape\",\"Asia/Seoul|ROK\",\"Asia/Shanghai|Asia/Chongqing\",\"Asia/Shanghai|Asia/Chungking\",\"Asia/Shanghai|Asia/Harbin\",\"Asia/Shanghai|Asia/Macao\",\"Asia/Shanghai|Asia/Macau\",\"Asia/Shanghai|Asia/Taipei\",\"Asia/Shanghai|PRC\",\"Asia/Shanghai|ROC\",\"Asia/Tashkent|Antarctica/Mawson\",\"Asia/Tashkent|Asia/Aqtau\",\"Asia/Tashkent|Asia/Aqtobe\",\"Asia/Tashkent|Asia/Ashgabat\",\"Asia/Tashkent|Asia/Ashkhabad\",\"Asia/Tashkent|Asia/Atyrau\",\"Asia/Tashkent|Asia/Dushanbe\",\"Asia/Tashkent|Asia/Oral\",\"Asia/Tashkent|Asia/Samarkand\",\"Asia/Tashkent|Asia/Yekaterinburg\",\"Asia/Tashkent|Etc/GMT-5\",\"Asia/Tashkent|Indian/Kerguelen\",\"Asia/Tashkent|Indian/Maldives\",\"Asia/Tehran|Iran\",\"Asia/Tokyo|Japan\",\"Asia/Vladivostok|Antarctica/DumontDUrville\",\"Asia/Vladivostok|Asia/Ust-Nera\",\"Asia/Vladivostok|Etc/GMT-10\",\"Asia/Vladivostok|Pacific/Chuuk\",\"Asia/Vladivostok|Pacific/Port_Moresby\",\"Asia/Vladivostok|Pacific/Truk\",\"Asia/Vladivostok|Pacific/Yap\",\"Atlantic/Azores|America/Scoresbysund\",\"Atlantic/Cape_Verde|Etc/GMT+1\",\"Australia/Adelaide|Australia/Broken_Hill\",\"Australia/Adelaide|Australia/South\",\"Australia/Adelaide|Australia/Yancowinna\",\"Australia/Brisbane|Australia/Lindeman\",\"Australia/Brisbane|Australia/Queensland\",\"Australia/Darwin|Australia/North\",\"Australia/Lord_Howe|Australia/LHI\",\"Australia/Perth|Australia/West\",\"Australia/Sydney|Antarctica/Macquarie\",\"Australia/Sydney|Australia/ACT\",\"Australia/Sydney|Australia/Canberra\",\"Australia/Sydney|Australia/Currie\",\"Australia/Sydney|Australia/Hobart\",\"Australia/Sydney|Australia/Melbourne\",\"Australia/Sydney|Australia/NSW\",\"Australia/Sydney|Australia/Tasmania\",\"Australia/Sydney|Australia/Victoria\",\"Etc/UTC|Etc/UCT\",\"Etc/UTC|Etc/Universal\",\"Etc/UTC|Etc/Zulu\",\"Etc/UTC|UCT\",\"Etc/UTC|UTC\",\"Etc/UTC|Universal\",\"Etc/UTC|Zulu\",\"Europe/Athens|Asia/Famagusta\",\"Europe/Athens|Asia/Nicosia\",\"Europe/Athens|EET\",\"Europe/Athens|Europe/Bucharest\",\"Europe/Athens|Europe/Helsinki\",\"Europe/Athens|Europe/Kiev\",\"Europe/Athens|Europe/Kyiv\",\"Europe/Athens|Europe/Mariehamn\",\"Europe/Athens|Europe/Nicosia\",\"Europe/Athens|Europe/Riga\",\"Europe/Athens|Europe/Sofia\",\"Europe/Athens|Europe/Tallinn\",\"Europe/Athens|Europe/Uzhgorod\",\"Europe/Athens|Europe/Vilnius\",\"Europe/Athens|Europe/Zaporozhye\",\"Europe/Chisinau|Europe/Tiraspol\",\"Europe/Dublin|Eire\",\"Europe/Istanbul|Antarctica/Syowa\",\"Europe/Istanbul|Asia/Aden\",\"Europe/Istanbul|Asia/Baghdad\",\"Europe/Istanbul|Asia/Bahrain\",\"Europe/Istanbul|Asia/Istanbul\",\"Europe/Istanbul|Asia/Kuwait\",\"Europe/Istanbul|Asia/Qatar\",\"Europe/Istanbul|Asia/Riyadh\",\"Europe/Istanbul|Etc/GMT-3\",\"Europe/Istanbul|Europe/Kirov\",\"Europe/Istanbul|Europe/Minsk\",\"Europe/Istanbul|Turkey\",\"Europe/Lisbon|Atlantic/Canary\",\"Europe/Lisbon|Atlantic/Faeroe\",\"Europe/Lisbon|Atlantic/Faroe\",\"Europe/Lisbon|Atlantic/Madeira\",\"Europe/Lisbon|Portugal\",\"Europe/Lisbon|WET\",\"Europe/London|Europe/Belfast\",\"Europe/London|Europe/Guernsey\",\"Europe/London|Europe/Isle_of_Man\",\"Europe/London|Europe/Jersey\",\"Europe/London|GB\",\"Europe/London|GB-Eire\",\"Europe/Moscow|Europe/Simferopol\",\"Europe/Moscow|W-SU\",\"Europe/Paris|Africa/Ceuta\",\"Europe/Paris|Arctic/Longyearbyen\",\"Europe/Paris|Atlantic/Jan_Mayen\",\"Europe/Paris|CET\",\"Europe/Paris|Europe/Amsterdam\",\"Europe/Paris|Europe/Andorra\",\"Europe/Paris|Europe/Belgrade\",\"Europe/Paris|Europe/Berlin\",\"Europe/Paris|Europe/Bratislava\",\"Europe/Paris|Europe/Brussels\",\"Europe/Paris|Europe/Budapest\",\"Europe/Paris|Europe/Busingen\",\"Europe/Paris|Europe/Copenhagen\",\"Europe/Paris|Europe/Gibraltar\",\"Europe/Paris|Europe/Ljubljana\",\"Europe/Paris|Europe/Luxembourg\",\"Europe/Paris|Europe/Madrid\",\"Europe/Paris|Europe/Malta\",\"Europe/Paris|Europe/Monaco\",\"Europe/Paris|Europe/Oslo\",\"Europe/Paris|Europe/Podgorica\",\"Europe/Paris|Europe/Prague\",\"Europe/Paris|Europe/Rome\",\"Europe/Paris|Europe/San_Marino\",\"Europe/Paris|Europe/Sarajevo\",\"Europe/Paris|Europe/Skopje\",\"Europe/Paris|Europe/Stockholm\",\"Europe/Paris|Europe/Tirane\",\"Europe/Paris|Europe/Vaduz\",\"Europe/Paris|Europe/Vatican\",\"Europe/Paris|Europe/Vienna\",\"Europe/Paris|Europe/Warsaw\",\"Europe/Paris|Europe/Zagreb\",\"Europe/Paris|Europe/Zurich\",\"Europe/Paris|Poland\",\"Pacific/Auckland|Antarctica/McMurdo\",\"Pacific/Auckland|Antarctica/South_Pole\",\"Pacific/Auckland|NZ\",\"Pacific/Chatham|NZ-CHAT\",\"Pacific/Easter|Chile/EasterIsland\",\"Pacific/Galapagos|Etc/GMT+6\",\"Pacific/Gambier|Etc/GMT+9\",\"Pacific/Guam|Pacific/Saipan\",\"Pacific/Honolulu|HST\",\"Pacific/Honolulu|Pacific/Johnston\",\"Pacific/Honolulu|US/Hawaii\",\"Pacific/Kiritimati|Etc/GMT-14\",\"Pacific/Niue|Etc/GMT+11\",\"Pacific/Pago_Pago|Pacific/Midway\",\"Pacific/Pago_Pago|Pacific/Samoa\",\"Pacific/Pago_Pago|US/Samoa\",\"Pacific/Pitcairn|Etc/GMT+8\",\"Pacific/Tahiti|Etc/GMT+10\",\"Pacific/Tahiti|Pacific/Rarotonga\",\"Pacific/Tongatapu|Etc/GMT-13\",\"Pacific/Tongatapu|Pacific/Enderbury\",\"Pacific/Tongatapu|Pacific/Fakaofo\",\"Pacific/Tongatapu|Pacific/Kanton\"],countries:[\"AD|Europe/Andorra\",\"AE|Asia/Dubai\",\"AF|Asia/Kabul\",\"AG|America/Puerto_Rico America/Antigua\",\"AI|America/Puerto_Rico America/Anguilla\",\"AL|Europe/Tirane\",\"AM|Asia/Yerevan\",\"AO|Africa/Lagos Africa/Luanda\",\"AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Asia/Urumqi Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa Antarctica/Vostok\",\"AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia\",\"AS|Pacific/Pago_Pago\",\"AT|Europe/Vienna\",\"AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla\",\"AW|America/Puerto_Rico America/Aruba\",\"AX|Europe/Helsinki Europe/Mariehamn\",\"AZ|Asia/Baku\",\"BA|Europe/Belgrade Europe/Sarajevo\",\"BB|America/Barbados\",\"BD|Asia/Dhaka\",\"BE|Europe/Brussels\",\"BF|Africa/Abidjan Africa/Ouagadougou\",\"BG|Europe/Sofia\",\"BH|Asia/Qatar Asia/Bahrain\",\"BI|Africa/Maputo Africa/Bujumbura\",\"BJ|Africa/Lagos Africa/Porto-Novo\",\"BL|America/Puerto_Rico America/St_Barthelemy\",\"BM|Atlantic/Bermuda\",\"BN|Asia/Kuching Asia/Brunei\",\"BO|America/La_Paz\",\"BQ|America/Puerto_Rico America/Kralendijk\",\"BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco\",\"BS|America/Toronto America/Nassau\",\"BT|Asia/Thimphu\",\"BW|Africa/Maputo Africa/Gaborone\",\"BY|Europe/Minsk\",\"BZ|America/Belize\",\"CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston\",\"CC|Asia/Yangon Indian/Cocos\",\"CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi\",\"CF|Africa/Lagos Africa/Bangui\",\"CG|Africa/Lagos Africa/Brazzaville\",\"CH|Europe/Zurich\",\"CI|Africa/Abidjan\",\"CK|Pacific/Rarotonga\",\"CL|America/Santiago America/Punta_Arenas Pacific/Easter\",\"CM|Africa/Lagos Africa/Douala\",\"CN|Asia/Shanghai Asia/Urumqi\",\"CO|America/Bogota\",\"CR|America/Costa_Rica\",\"CU|America/Havana\",\"CV|Atlantic/Cape_Verde\",\"CW|America/Puerto_Rico America/Curacao\",\"CX|Asia/Bangkok Indian/Christmas\",\"CY|Asia/Nicosia Asia/Famagusta\",\"CZ|Europe/Prague\",\"DE|Europe/Zurich Europe/Berlin Europe/Busingen\",\"DJ|Africa/Nairobi Africa/Djibouti\",\"DK|Europe/Berlin Europe/Copenhagen\",\"DM|America/Puerto_Rico America/Dominica\",\"DO|America/Santo_Domingo\",\"DZ|Africa/Algiers\",\"EC|America/Guayaquil Pacific/Galapagos\",\"EE|Europe/Tallinn\",\"EG|Africa/Cairo\",\"EH|Africa/El_Aaiun\",\"ER|Africa/Nairobi Africa/Asmara\",\"ES|Europe/Madrid Africa/Ceuta Atlantic/Canary\",\"ET|Africa/Nairobi Africa/Addis_Ababa\",\"FI|Europe/Helsinki\",\"FJ|Pacific/Fiji\",\"FK|Atlantic/Stanley\",\"FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei\",\"FO|Atlantic/Faroe\",\"FR|Europe/Paris\",\"GA|Africa/Lagos Africa/Libreville\",\"GB|Europe/London\",\"GD|America/Puerto_Rico America/Grenada\",\"GE|Asia/Tbilisi\",\"GF|America/Cayenne\",\"GG|Europe/London Europe/Guernsey\",\"GH|Africa/Abidjan Africa/Accra\",\"GI|Europe/Gibraltar\",\"GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule\",\"GM|Africa/Abidjan Africa/Banjul\",\"GN|Africa/Abidjan Africa/Conakry\",\"GP|America/Puerto_Rico America/Guadeloupe\",\"GQ|Africa/Lagos Africa/Malabo\",\"GR|Europe/Athens\",\"GS|Atlantic/South_Georgia\",\"GT|America/Guatemala\",\"GU|Pacific/Guam\",\"GW|Africa/Bissau\",\"GY|America/Guyana\",\"HK|Asia/Hong_Kong\",\"HN|America/Tegucigalpa\",\"HR|Europe/Belgrade Europe/Zagreb\",\"HT|America/Port-au-Prince\",\"HU|Europe/Budapest\",\"ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura\",\"IE|Europe/Dublin\",\"IL|Asia/Jerusalem\",\"IM|Europe/London Europe/Isle_of_Man\",\"IN|Asia/Kolkata\",\"IO|Indian/Chagos\",\"IQ|Asia/Baghdad\",\"IR|Asia/Tehran\",\"IS|Africa/Abidjan Atlantic/Reykjavik\",\"IT|Europe/Rome\",\"JE|Europe/London Europe/Jersey\",\"JM|America/Jamaica\",\"JO|Asia/Amman\",\"JP|Asia/Tokyo\",\"KE|Africa/Nairobi\",\"KG|Asia/Bishkek\",\"KH|Asia/Bangkok Asia/Phnom_Penh\",\"KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati\",\"KM|Africa/Nairobi Indian/Comoro\",\"KN|America/Puerto_Rico America/St_Kitts\",\"KP|Asia/Pyongyang\",\"KR|Asia/Seoul\",\"KW|Asia/Riyadh Asia/Kuwait\",\"KY|America/Panama America/Cayman\",\"KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral\",\"LA|Asia/Bangkok Asia/Vientiane\",\"LB|Asia/Beirut\",\"LC|America/Puerto_Rico America/St_Lucia\",\"LI|Europe/Zurich Europe/Vaduz\",\"LK|Asia/Colombo\",\"LR|Africa/Monrovia\",\"LS|Africa/Johannesburg Africa/Maseru\",\"LT|Europe/Vilnius\",\"LU|Europe/Brussels Europe/Luxembourg\",\"LV|Europe/Riga\",\"LY|Africa/Tripoli\",\"MA|Africa/Casablanca\",\"MC|Europe/Paris Europe/Monaco\",\"MD|Europe/Chisinau\",\"ME|Europe/Belgrade Europe/Podgorica\",\"MF|America/Puerto_Rico America/Marigot\",\"MG|Africa/Nairobi Indian/Antananarivo\",\"MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro\",\"MK|Europe/Belgrade Europe/Skopje\",\"ML|Africa/Abidjan Africa/Bamako\",\"MM|Asia/Yangon\",\"MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan\",\"MO|Asia/Macau\",\"MP|Pacific/Guam Pacific/Saipan\",\"MQ|America/Martinique\",\"MR|Africa/Abidjan Africa/Nouakchott\",\"MS|America/Puerto_Rico America/Montserrat\",\"MT|Europe/Malta\",\"MU|Indian/Mauritius\",\"MV|Indian/Maldives\",\"MW|Africa/Maputo Africa/Blantyre\",\"MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana\",\"MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur\",\"MZ|Africa/Maputo\",\"NA|Africa/Windhoek\",\"NC|Pacific/Noumea\",\"NE|Africa/Lagos Africa/Niamey\",\"NF|Pacific/Norfolk\",\"NG|Africa/Lagos\",\"NI|America/Managua\",\"NL|Europe/Brussels Europe/Amsterdam\",\"NO|Europe/Berlin Europe/Oslo\",\"NP|Asia/Kathmandu\",\"NR|Pacific/Nauru\",\"NU|Pacific/Niue\",\"NZ|Pacific/Auckland Pacific/Chatham\",\"OM|Asia/Dubai Asia/Muscat\",\"PA|America/Panama\",\"PE|America/Lima\",\"PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier\",\"PG|Pacific/Port_Moresby Pacific/Bougainville\",\"PH|Asia/Manila\",\"PK|Asia/Karachi\",\"PL|Europe/Warsaw\",\"PM|America/Miquelon\",\"PN|Pacific/Pitcairn\",\"PR|America/Puerto_Rico\",\"PS|Asia/Gaza Asia/Hebron\",\"PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores\",\"PW|Pacific/Palau\",\"PY|America/Asuncion\",\"QA|Asia/Qatar\",\"RE|Asia/Dubai Indian/Reunion\",\"RO|Europe/Bucharest\",\"RS|Europe/Belgrade\",\"RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr\",\"RW|Africa/Maputo Africa/Kigali\",\"SA|Asia/Riyadh\",\"SB|Pacific/Guadalcanal\",\"SC|Asia/Dubai Indian/Mahe\",\"SD|Africa/Khartoum\",\"SE|Europe/Berlin Europe/Stockholm\",\"SG|Asia/Singapore\",\"SH|Africa/Abidjan Atlantic/St_Helena\",\"SI|Europe/Belgrade Europe/Ljubljana\",\"SJ|Europe/Berlin Arctic/Longyearbyen\",\"SK|Europe/Prague Europe/Bratislava\",\"SL|Africa/Abidjan Africa/Freetown\",\"SM|Europe/Rome Europe/San_Marino\",\"SN|Africa/Abidjan Africa/Dakar\",\"SO|Africa/Nairobi Africa/Mogadishu\",\"SR|America/Paramaribo\",\"SS|Africa/Juba\",\"ST|Africa/Sao_Tome\",\"SV|America/El_Salvador\",\"SX|America/Puerto_Rico America/Lower_Princes\",\"SY|Asia/Damascus\",\"SZ|Africa/Johannesburg Africa/Mbabane\",\"TC|America/Grand_Turk\",\"TD|Africa/Ndjamena\",\"TF|Asia/Dubai Indian/Maldives Indian/Kerguelen\",\"TG|Africa/Abidjan Africa/Lome\",\"TH|Asia/Bangkok\",\"TJ|Asia/Dushanbe\",\"TK|Pacific/Fakaofo\",\"TL|Asia/Dili\",\"TM|Asia/Ashgabat\",\"TN|Africa/Tunis\",\"TO|Pacific/Tongatapu\",\"TR|Europe/Istanbul\",\"TT|America/Puerto_Rico America/Port_of_Spain\",\"TV|Pacific/Tarawa Pacific/Funafuti\",\"TW|Asia/Taipei\",\"TZ|Africa/Nairobi Africa/Dar_es_Salaam\",\"UA|Europe/Simferopol Europe/Kyiv\",\"UG|Africa/Nairobi Africa/Kampala\",\"UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Honolulu Pacific/Midway Pacific/Wake\",\"US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu\",\"UY|America/Montevideo\",\"UZ|Asia/Samarkand Asia/Tashkent\",\"VA|Europe/Rome Europe/Vatican\",\"VC|America/Puerto_Rico America/St_Vincent\",\"VE|America/Caracas\",\"VG|America/Puerto_Rico America/Tortola\",\"VI|America/Puerto_Rico America/St_Thomas\",\"VN|Asia/Bangkok Asia/Ho_Chi_Minh\",\"VU|Pacific/Efate\",\"WF|Pacific/Tarawa Pacific/Wallis\",\"WS|Pacific/Apia\",\"YE|Asia/Riyadh Asia/Aden\",\"YT|Africa/Nairobi Indian/Mayotte\",\"ZA|Africa/Johannesburg\",\"ZM|Africa/Maputo Africa/Lusaka\",\"ZW|Africa/Maputo Africa/Harare\"]}),o});","//! moment.js locale configuration\n//! locale : Afrikaans [af]\n//! author : Werner Mollentze : https://github.com/wernerm\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var af = moment.defineLocale('af', {\n        months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),\n        weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(\n            '_'\n        ),\n        weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),\n        weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),\n        meridiemParse: /vm|nm/i,\n        isPM: function (input) {\n            return /^nm$/i.test(input);\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower ? 'vm' : 'VM';\n            } else {\n                return isLower ? 'nm' : 'NM';\n            }\n        },\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Vandag om] LT',\n            nextDay: '[Môre om] LT',\n            nextWeek: 'dddd [om] LT',\n            lastDay: '[Gister om] LT',\n            lastWeek: '[Laas] dddd [om] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'oor %s',\n            past: '%s gelede',\n            s: \"'n paar sekondes\",\n            ss: '%d sekondes',\n            m: \"'n minuut\",\n            mm: '%d minute',\n            h: \"'n uur\",\n            hh: '%d ure',\n            d: \"'n dag\",\n            dd: '%d dae',\n            M: \"'n maand\",\n            MM: '%d maande',\n            y: \"'n jaar\",\n            yy: '%d jaar',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n        ordinal: function (number) {\n            return (\n                number +\n                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n            ); // Thanks to Joris Röling : https://github.com/jjupiter\n        },\n        week: {\n            dow: 1, // Maandag is die eerste dag van die week.\n            doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.\n        },\n    });\n\n    return af;\n\n})));\n","//! moment.js locale configuration\n//! locale : Amharic (Ethiopia) [am-et]\n//! author : Tekle Ayele : https://github.com/tekleayele\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var amEt = moment.defineLocale('am-et', {\n        months: 'ጃንዩወሪ_ፌብሩወሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር'.split(\n            '_'\n        ),\n        monthsShort: 'ጃን_ፌብ_ማር_ኤፕር_ሜይ_ጁን_ጁላይ_ኦገ_ሴፕ_ኦክቶ_ኖቬ_ዲሴ'.split('_'),\n        weekdays: 'እሑድ_ሰኞ_ማክሰኞ_እሮብ_ሀሙስ_ዓርብ_ቅዳሜ'.split('_'),\n        weekdaysShort: 'እሑ_ሰኞ_ማክ_እሮ_ሀሙ_ዓር_ቅዳ'.split('_'),\n        weekdaysMin: 'እሁ_ሰ_ማ_እ_ሀ_ዓ_ቅ'.split('_'),\n        meridiemParse: /ጥዋት|ከሰዓት/,\n        isPM: function (input) {\n            return input === 'ከሰዓት';\n        },\n        meridiem: function (hours) {\n            return hours < 12 ? 'ጥዋት' : 'ከሰዓት';\n        },\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[ዛሬ በ] LT',\n            nextDay: '[ነገ በ] LT',\n            nextWeek: 'dddd [በ] LT',\n            lastDay: '[ትናንትና በ] LT',\n            lastWeek: '[ያለፈው ሳምንት] dddd [በ] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ውስጥ',\n            past: '%s በፊት',\n            s: 'ጥቂት ሰከንዶች',\n            ss: '%d ሰከንዶች',\n            m: 'አንድ ደቂቃ',\n            mm: '%d ደቂቃዎች',\n            h: 'አንድ ሰአት',\n            hh: '%d ሰአታት',\n            d: 'አንድ ቀን',\n            dd: '%d ቀናት',\n            M: 'አንድ ወር',\n            MM: '%d ወራት',\n            y: 'አንድ ዓመት',\n            yy: '%d ዓመታት',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ኛ)/,\n        ordinal: function (number) {\n            return number + 'ኛ';\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 1st is the first week of the year.\n        },\n    });\n\n    return amEt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Algeria) [ar-dz]\n//! author : Amine Roukh: https://github.com/Amine27\n//! author : Abdel Said: https://github.com/abdelsaid\n//! author : Ahmed Elkhatib\n//! author : forabi https://github.com/forabi\n//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var pluralForm = function (n) {\n            return n === 0\n                ? 0\n                : n === 1\n                  ? 1\n                  : n === 2\n                    ? 2\n                    : n % 100 >= 3 && n % 100 <= 10\n                      ? 3\n                      : n % 100 >= 11\n                        ? 4\n                        : 5;\n        },\n        plurals = {\n            s: [\n                'أقل من ثانية',\n                'ثانية واحدة',\n                ['ثانيتان', 'ثانيتين'],\n                '%d ثوان',\n                '%d ثانية',\n                '%d ثانية',\n            ],\n            m: [\n                'أقل من دقيقة',\n                'دقيقة واحدة',\n                ['دقيقتان', 'دقيقتين'],\n                '%d دقائق',\n                '%d دقيقة',\n                '%d دقيقة',\n            ],\n            h: [\n                'أقل من ساعة',\n                'ساعة واحدة',\n                ['ساعتان', 'ساعتين'],\n                '%d ساعات',\n                '%d ساعة',\n                '%d ساعة',\n            ],\n            d: [\n                'أقل من يوم',\n                'يوم واحد',\n                ['يومان', 'يومين'],\n                '%d أيام',\n                '%d يومًا',\n                '%d يوم',\n            ],\n            M: [\n                'أقل من شهر',\n                'شهر واحد',\n                ['شهران', 'شهرين'],\n                '%d أشهر',\n                '%d شهرا',\n                '%d شهر',\n            ],\n            y: [\n                'أقل من عام',\n                'عام واحد',\n                ['عامان', 'عامين'],\n                '%d أعوام',\n                '%d عامًا',\n                '%d عام',\n            ],\n        },\n        pluralize = function (u) {\n            return function (number, withoutSuffix, string, isFuture) {\n                var f = pluralForm(number),\n                    str = plurals[u][pluralForm(number)];\n                if (f === 2) {\n                    str = str[withoutSuffix ? 0 : 1];\n                }\n                return str.replace(/%d/i, number);\n            };\n        },\n        months = [\n            'جانفي',\n            'فيفري',\n            'مارس',\n            'أفريل',\n            'ماي',\n            'جوان',\n            'جويلية',\n            'أوت',\n            'سبتمبر',\n            'أكتوبر',\n            'نوفمبر',\n            'ديسمبر',\n        ];\n\n    var arDz = moment.defineLocale('ar-dz', {\n        months: months,\n        monthsShort: months,\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/\\u200FM/\\u200FYYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم عند الساعة] LT',\n            nextDay: '[غدًا عند الساعة] LT',\n            nextWeek: 'dddd [عند الساعة] LT',\n            lastDay: '[أمس عند الساعة] LT',\n            lastWeek: 'dddd [عند الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'بعد %s',\n            past: 'منذ %s',\n            s: pluralize('s'),\n            ss: pluralize('s'),\n            m: pluralize('m'),\n            mm: pluralize('m'),\n            h: pluralize('h'),\n            hh: pluralize('h'),\n            d: pluralize('d'),\n            dd: pluralize('d'),\n            M: pluralize('M'),\n            MM: pluralize('M'),\n            y: pluralize('y'),\n            yy: pluralize('y'),\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return arDz;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Kuwait) [ar-kw]\n//! author : Nusret Parlak: https://github.com/nusretparlak\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var arKw = moment.defineLocale('ar-kw', {\n        months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n            '_'\n        ),\n        monthsShort:\n            'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n                '_'\n            ),\n        weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return arKw;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Libya) [ar-ly]\n//! author : Ali Hmer: https://github.com/kikoanis\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '1',\n            2: '2',\n            3: '3',\n            4: '4',\n            5: '5',\n            6: '6',\n            7: '7',\n            8: '8',\n            9: '9',\n            0: '0',\n        },\n        pluralForm = function (n) {\n            return n === 0\n                ? 0\n                : n === 1\n                  ? 1\n                  : n === 2\n                    ? 2\n                    : n % 100 >= 3 && n % 100 <= 10\n                      ? 3\n                      : n % 100 >= 11\n                        ? 4\n                        : 5;\n        },\n        plurals = {\n            s: [\n                'أقل من ثانية',\n                'ثانية واحدة',\n                ['ثانيتان', 'ثانيتين'],\n                '%d ثوان',\n                '%d ثانية',\n                '%d ثانية',\n            ],\n            m: [\n                'أقل من دقيقة',\n                'دقيقة واحدة',\n                ['دقيقتان', 'دقيقتين'],\n                '%d دقائق',\n                '%d دقيقة',\n                '%d دقيقة',\n            ],\n            h: [\n                'أقل من ساعة',\n                'ساعة واحدة',\n                ['ساعتان', 'ساعتين'],\n                '%d ساعات',\n                '%d ساعة',\n                '%d ساعة',\n            ],\n            d: [\n                'أقل من يوم',\n                'يوم واحد',\n                ['يومان', 'يومين'],\n                '%d أيام',\n                '%d يومًا',\n                '%d يوم',\n            ],\n            M: [\n                'أقل من شهر',\n                'شهر واحد',\n                ['شهران', 'شهرين'],\n                '%d أشهر',\n                '%d شهرا',\n                '%d شهر',\n            ],\n            y: [\n                'أقل من عام',\n                'عام واحد',\n                ['عامان', 'عامين'],\n                '%d أعوام',\n                '%d عامًا',\n                '%d عام',\n            ],\n        },\n        pluralize = function (u) {\n            return function (number, withoutSuffix, string, isFuture) {\n                var f = pluralForm(number),\n                    str = plurals[u][pluralForm(number)];\n                if (f === 2) {\n                    str = str[withoutSuffix ? 0 : 1];\n                }\n                return str.replace(/%d/i, number);\n            };\n        },\n        months = [\n            'يناير',\n            'فبراير',\n            'مارس',\n            'أبريل',\n            'مايو',\n            'يونيو',\n            'يوليو',\n            'أغسطس',\n            'سبتمبر',\n            'أكتوبر',\n            'نوفمبر',\n            'ديسمبر',\n        ];\n\n    var arLy = moment.defineLocale('ar-ly', {\n        months: months,\n        monthsShort: months,\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/\\u200FM/\\u200FYYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم عند الساعة] LT',\n            nextDay: '[غدًا عند الساعة] LT',\n            nextWeek: 'dddd [عند الساعة] LT',\n            lastDay: '[أمس عند الساعة] LT',\n            lastWeek: 'dddd [عند الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'بعد %s',\n            past: 'منذ %s',\n            s: pluralize('s'),\n            ss: pluralize('s'),\n            m: pluralize('m'),\n            mm: pluralize('m'),\n            h: pluralize('h'),\n            hh: pluralize('h'),\n            d: pluralize('d'),\n            dd: pluralize('d'),\n            M: pluralize('M'),\n            MM: pluralize('M'),\n            y: pluralize('y'),\n            yy: pluralize('y'),\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return arLy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Morocco) [ar-ma]\n//! author : ElFadili Yassine : https://github.com/ElFadiliY\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var arMa = moment.defineLocale('ar-ma', {\n        months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n            '_'\n        ),\n        monthsShort:\n            'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n                '_'\n            ),\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return arMa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Palestine) [ar-ps]\n//! author : Majd Al-Shihabi : https://github.com/majdal\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '١',\n            2: '٢',\n            3: '٣',\n            4: '٤',\n            5: '٥',\n            6: '٦',\n            7: '٧',\n            8: '٨',\n            9: '٩',\n            0: '٠',\n        },\n        numberMap = {\n            '١': '1',\n            '٢': '2',\n            '٣': '3',\n            '٤': '4',\n            '٥': '5',\n            '٦': '6',\n            '٧': '7',\n            '٨': '8',\n            '٩': '9',\n            '٠': '0',\n        };\n\n    var arPs = moment.defineLocale('ar-ps', {\n        months: 'كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل'.split(\n            '_'\n        ),\n        monthsShort:\n            'ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١'.split('_'),\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[٣٤٥٦٧٨٩٠]/g, function (match) {\n                    return numberMap[match];\n                })\n                .split('') // reversed since negative lookbehind not supported everywhere\n                .reverse()\n                .join('')\n                .replace(/[١٢](?![\\u062a\\u0643])/g, function (match) {\n                    return numberMap[match];\n                })\n                .split('')\n                .reverse()\n                .join('')\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return arPs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Saudi Arabia) [ar-sa]\n//! author : Suhail Alkowaileet : https://github.com/xsoh\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '١',\n            2: '٢',\n            3: '٣',\n            4: '٤',\n            5: '٥',\n            6: '٦',\n            7: '٧',\n            8: '٨',\n            9: '٩',\n            0: '٠',\n        },\n        numberMap = {\n            '١': '1',\n            '٢': '2',\n            '٣': '3',\n            '٤': '4',\n            '٥': '5',\n            '٦': '6',\n            '٧': '7',\n            '٨': '8',\n            '٩': '9',\n            '٠': '0',\n        };\n\n    var arSa = moment.defineLocale('ar-sa', {\n        months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n            '_'\n        ),\n        monthsShort:\n            'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n                '_'\n            ),\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return arSa;\n\n})));\n","//! moment.js locale configuration\n//! locale  :  Arabic (Tunisia) [ar-tn]\n//! author : Nader Toukabri : https://github.com/naderio\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var arTn = moment.defineLocale('ar-tn', {\n        months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n            '_'\n        ),\n        monthsShort:\n            'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n                '_'\n            ),\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return arTn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic [ar]\n//! author : Abdel Said: https://github.com/abdelsaid\n//! author : Ahmed Elkhatib\n//! author : forabi https://github.com/forabi\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '١',\n            2: '٢',\n            3: '٣',\n            4: '٤',\n            5: '٥',\n            6: '٦',\n            7: '٧',\n            8: '٨',\n            9: '٩',\n            0: '٠',\n        },\n        numberMap = {\n            '١': '1',\n            '٢': '2',\n            '٣': '3',\n            '٤': '4',\n            '٥': '5',\n            '٦': '6',\n            '٧': '7',\n            '٨': '8',\n            '٩': '9',\n            '٠': '0',\n        },\n        pluralForm = function (n) {\n            return n === 0\n                ? 0\n                : n === 1\n                  ? 1\n                  : n === 2\n                    ? 2\n                    : n % 100 >= 3 && n % 100 <= 10\n                      ? 3\n                      : n % 100 >= 11\n                        ? 4\n                        : 5;\n        },\n        plurals = {\n            s: [\n                'أقل من ثانية',\n                'ثانية واحدة',\n                ['ثانيتان', 'ثانيتين'],\n                '%d ثوان',\n                '%d ثانية',\n                '%d ثانية',\n            ],\n            m: [\n                'أقل من دقيقة',\n                'دقيقة واحدة',\n                ['دقيقتان', 'دقيقتين'],\n                '%d دقائق',\n                '%d دقيقة',\n                '%d دقيقة',\n            ],\n            h: [\n                'أقل من ساعة',\n                'ساعة واحدة',\n                ['ساعتان', 'ساعتين'],\n                '%d ساعات',\n                '%d ساعة',\n                '%d ساعة',\n            ],\n            d: [\n                'أقل من يوم',\n                'يوم واحد',\n                ['يومان', 'يومين'],\n                '%d أيام',\n                '%d يومًا',\n                '%d يوم',\n            ],\n            M: [\n                'أقل من شهر',\n                'شهر واحد',\n                ['شهران', 'شهرين'],\n                '%d أشهر',\n                '%d شهرا',\n                '%d شهر',\n            ],\n            y: [\n                'أقل من عام',\n                'عام واحد',\n                ['عامان', 'عامين'],\n                '%d أعوام',\n                '%d عامًا',\n                '%d عام',\n            ],\n        },\n        pluralize = function (u) {\n            return function (number, withoutSuffix, string, isFuture) {\n                var f = pluralForm(number),\n                    str = plurals[u][pluralForm(number)];\n                if (f === 2) {\n                    str = str[withoutSuffix ? 0 : 1];\n                }\n                return str.replace(/%d/i, number);\n            };\n        },\n        months = [\n            'يناير',\n            'فبراير',\n            'مارس',\n            'أبريل',\n            'مايو',\n            'يونيو',\n            'يوليو',\n            'أغسطس',\n            'سبتمبر',\n            'أكتوبر',\n            'نوفمبر',\n            'ديسمبر',\n        ];\n\n    var ar = moment.defineLocale('ar', {\n        months: months,\n        monthsShort: months,\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/\\u200FM/\\u200FYYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم عند الساعة] LT',\n            nextDay: '[غدًا عند الساعة] LT',\n            nextWeek: 'dddd [عند الساعة] LT',\n            lastDay: '[أمس عند الساعة] LT',\n            lastWeek: 'dddd [عند الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'بعد %s',\n            past: 'منذ %s',\n            s: pluralize('s'),\n            ss: pluralize('s'),\n            m: pluralize('m'),\n            mm: pluralize('m'),\n            h: pluralize('h'),\n            hh: pluralize('h'),\n            d: pluralize('d'),\n            dd: pluralize('d'),\n            M: pluralize('M'),\n            MM: pluralize('M'),\n            y: pluralize('y'),\n            yy: pluralize('y'),\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return ar;\n\n})));\n","//! moment.js locale configuration\n//! locale : Azerbaijani [az]\n//! author : topchiyev : https://github.com/topchiyev\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        1: '-inci',\n        5: '-inci',\n        8: '-inci',\n        70: '-inci',\n        80: '-inci',\n        2: '-nci',\n        7: '-nci',\n        20: '-nci',\n        50: '-nci',\n        3: '-üncü',\n        4: '-üncü',\n        100: '-üncü',\n        6: '-ncı',\n        9: '-uncu',\n        10: '-uncu',\n        30: '-uncu',\n        60: '-ıncı',\n        90: '-ıncı',\n    };\n\n    var az = moment.defineLocale('az', {\n        months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(\n            '_'\n        ),\n        monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),\n        weekdays:\n            'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(\n                '_'\n            ),\n        weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),\n        weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[bugün saat] LT',\n            nextDay: '[sabah saat] LT',\n            nextWeek: '[gələn həftə] dddd [saat] LT',\n            lastDay: '[dünən] LT',\n            lastWeek: '[keçən həftə] dddd [saat] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s sonra',\n            past: '%s əvvəl',\n            s: 'bir neçə saniyə',\n            ss: '%d saniyə',\n            m: 'bir dəqiqə',\n            mm: '%d dəqiqə',\n            h: 'bir saat',\n            hh: '%d saat',\n            d: 'bir gün',\n            dd: '%d gün',\n            M: 'bir ay',\n            MM: '%d ay',\n            y: 'bir il',\n            yy: '%d il',\n        },\n        meridiemParse: /gecə|səhər|gündüz|axşam/,\n        isPM: function (input) {\n            return /^(gündüz|axşam)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'gecə';\n            } else if (hour < 12) {\n                return 'səhər';\n            } else if (hour < 17) {\n                return 'gündüz';\n            } else {\n                return 'axşam';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,\n        ordinal: function (number) {\n            if (number === 0) {\n                // special case for zero\n                return number + '-ıncı';\n            }\n            var a = number % 10,\n                b = (number % 100) - a,\n                c = number >= 100 ? 100 : null;\n            return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return az;\n\n})));\n","//! moment.js locale configuration\n//! locale : Belarusian [be]\n//! author : Dmitry Demidov : https://github.com/demidov91\n//! author: Praleska: http://praleska.pro/\n//! Author : Menelion Elensúle : https://github.com/Oire\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function plural(word, num) {\n        var forms = word.split('_');\n        return num % 10 === 1 && num % 100 !== 11\n            ? forms[0]\n            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n              ? forms[1]\n              : forms[2];\n    }\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        var format = {\n            ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',\n            mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',\n            hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',\n            dd: 'дзень_дні_дзён',\n            MM: 'месяц_месяцы_месяцаў',\n            yy: 'год_гады_гадоў',\n        };\n        if (key === 'm') {\n            return withoutSuffix ? 'хвіліна' : 'хвіліну';\n        } else if (key === 'h') {\n            return withoutSuffix ? 'гадзіна' : 'гадзіну';\n        } else {\n            return number + ' ' + plural(format[key], +number);\n        }\n    }\n\n    var be = moment.defineLocale('be', {\n        months: {\n            format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(\n                '_'\n            ),\n            standalone:\n                'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(\n                    '_'\n                ),\n        },\n        monthsShort:\n            'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),\n        weekdays: {\n            format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(\n                '_'\n            ),\n            standalone:\n                'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(\n                    '_'\n                ),\n            isFormat: /\\[ ?[Ууў] ?(?:мінулую|наступную)? ?\\] ?dddd/,\n        },\n        weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),\n        weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY г.',\n            LLL: 'D MMMM YYYY г., HH:mm',\n            LLLL: 'dddd, D MMMM YYYY г., HH:mm',\n        },\n        calendar: {\n            sameDay: '[Сёння ў] LT',\n            nextDay: '[Заўтра ў] LT',\n            lastDay: '[Учора ў] LT',\n            nextWeek: function () {\n                return '[У] dddd [ў] LT';\n            },\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                    case 5:\n                    case 6:\n                        return '[У мінулую] dddd [ў] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                        return '[У мінулы] dddd [ў] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'праз %s',\n            past: '%s таму',\n            s: 'некалькі секунд',\n            m: relativeTimeWithPlural,\n            mm: relativeTimeWithPlural,\n            h: relativeTimeWithPlural,\n            hh: relativeTimeWithPlural,\n            d: 'дзень',\n            dd: relativeTimeWithPlural,\n            M: 'месяц',\n            MM: relativeTimeWithPlural,\n            y: 'год',\n            yy: relativeTimeWithPlural,\n        },\n        meridiemParse: /ночы|раніцы|дня|вечара/,\n        isPM: function (input) {\n            return /^(дня|вечара)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ночы';\n            } else if (hour < 12) {\n                return 'раніцы';\n            } else if (hour < 17) {\n                return 'дня';\n            } else {\n                return 'вечара';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(і|ы|га)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'M':\n                case 'd':\n                case 'DDD':\n                case 'w':\n                case 'W':\n                    return (number % 10 === 2 || number % 10 === 3) &&\n                        number % 100 !== 12 &&\n                        number % 100 !== 13\n                        ? number + '-і'\n                        : number + '-ы';\n                case 'D':\n                    return number + '-га';\n                default:\n                    return number;\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return be;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bulgarian [bg]\n//! author : Krasen Borisov : https://github.com/kraz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var bg = moment.defineLocale('bg', {\n        months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(\n            '_'\n        ),\n        monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),\n        weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(\n            '_'\n        ),\n        weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),\n        weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'D.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY H:mm',\n            LLLL: 'dddd, D MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[Днес в] LT',\n            nextDay: '[Утре в] LT',\n            nextWeek: 'dddd [в] LT',\n            lastDay: '[Вчера в] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                    case 6:\n                        return '[Миналата] dddd [в] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[Миналия] dddd [в] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'след %s',\n            past: 'преди %s',\n            s: 'няколко секунди',\n            ss: '%d секунди',\n            m: 'минута',\n            mm: '%d минути',\n            h: 'час',\n            hh: '%d часа',\n            d: 'ден',\n            dd: '%d дена',\n            w: 'седмица',\n            ww: '%d седмици',\n            M: 'месец',\n            MM: '%d месеца',\n            y: 'година',\n            yy: '%d години',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n        ordinal: function (number) {\n            var lastDigit = number % 10,\n                last2Digits = number % 100;\n            if (number === 0) {\n                return number + '-ев';\n            } else if (last2Digits === 0) {\n                return number + '-ен';\n            } else if (last2Digits > 10 && last2Digits < 20) {\n                return number + '-ти';\n            } else if (lastDigit === 1) {\n                return number + '-ви';\n            } else if (lastDigit === 2) {\n                return number + '-ри';\n            } else if (lastDigit === 7 || lastDigit === 8) {\n                return number + '-ми';\n            } else {\n                return number + '-ти';\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return bg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bambara [bm]\n//! author : Estelle Comment : https://github.com/estellecomment\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n    // Language contact person : Abdoufata Kane : https://github.com/abdoufata\n\n\n    var bm = moment.defineLocale('bm', {\n        months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(\n            '_'\n        ),\n        monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),\n        weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),\n        weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),\n        weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'MMMM [tile] D [san] YYYY',\n            LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',\n            LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',\n        },\n        calendar: {\n            sameDay: '[Bi lɛrɛ] LT',\n            nextDay: '[Sini lɛrɛ] LT',\n            nextWeek: 'dddd [don lɛrɛ] LT',\n            lastDay: '[Kunu lɛrɛ] LT',\n            lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s kɔnɔ',\n            past: 'a bɛ %s bɔ',\n            s: 'sanga dama dama',\n            ss: 'sekondi %d',\n            m: 'miniti kelen',\n            mm: 'miniti %d',\n            h: 'lɛrɛ kelen',\n            hh: 'lɛrɛ %d',\n            d: 'tile kelen',\n            dd: 'tile %d',\n            M: 'kalo kelen',\n            MM: 'kalo %d',\n            y: 'san kelen',\n            yy: 'san %d',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return bm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bengali (Bangladesh) [bn-bd]\n//! author : Asraf Hossain Patoary : https://github.com/ashwoolford\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '১',\n            2: '২',\n            3: '৩',\n            4: '৪',\n            5: '৫',\n            6: '৬',\n            7: '৭',\n            8: '৮',\n            9: '৯',\n            0: '০',\n        },\n        numberMap = {\n            '১': '1',\n            '২': '2',\n            '৩': '3',\n            '৪': '4',\n            '৫': '5',\n            '৬': '6',\n            '৭': '7',\n            '৮': '8',\n            '৯': '9',\n            '০': '0',\n        };\n\n    var bnBd = moment.defineLocale('bn-bd', {\n        months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(\n            '_'\n        ),\n        monthsShort:\n            'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(\n                '_'\n            ),\n        weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(\n            '_'\n        ),\n        weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),\n        weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm সময়',\n            LTS: 'A h:mm:ss সময়',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm সময়',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',\n        },\n        calendar: {\n            sameDay: '[আজ] LT',\n            nextDay: '[আগামীকাল] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[গতকাল] LT',\n            lastWeek: '[গত] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s পরে',\n            past: '%s আগে',\n            s: 'কয়েক সেকেন্ড',\n            ss: '%d সেকেন্ড',\n            m: 'এক মিনিট',\n            mm: '%d মিনিট',\n            h: 'এক ঘন্টা',\n            hh: '%d ঘন্টা',\n            d: 'এক দিন',\n            dd: '%d দিন',\n            M: 'এক মাস',\n            MM: '%d মাস',\n            y: 'এক বছর',\n            yy: '%d বছর',\n        },\n        preparse: function (string) {\n            return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n\n        meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'রাত') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'ভোর') {\n                return hour;\n            } else if (meridiem === 'সকাল') {\n                return hour;\n            } else if (meridiem === 'দুপুর') {\n                return hour >= 3 ? hour : hour + 12;\n            } else if (meridiem === 'বিকাল') {\n                return hour + 12;\n            } else if (meridiem === 'সন্ধ্যা') {\n                return hour + 12;\n            }\n        },\n\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'রাত';\n            } else if (hour < 6) {\n                return 'ভোর';\n            } else if (hour < 12) {\n                return 'সকাল';\n            } else if (hour < 15) {\n                return 'দুপুর';\n            } else if (hour < 18) {\n                return 'বিকাল';\n            } else if (hour < 20) {\n                return 'সন্ধ্যা';\n            } else {\n                return 'রাত';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return bnBd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bengali [bn]\n//! author : Kaushik Gandhi : https://github.com/kaushikgandhi\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '১',\n            2: '২',\n            3: '৩',\n            4: '৪',\n            5: '৫',\n            6: '৬',\n            7: '৭',\n            8: '৮',\n            9: '৯',\n            0: '০',\n        },\n        numberMap = {\n            '১': '1',\n            '২': '2',\n            '৩': '3',\n            '৪': '4',\n            '৫': '5',\n            '৬': '6',\n            '৭': '7',\n            '৮': '8',\n            '৯': '9',\n            '০': '0',\n        };\n\n    var bn = moment.defineLocale('bn', {\n        months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(\n            '_'\n        ),\n        monthsShort:\n            'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(\n                '_'\n            ),\n        weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(\n            '_'\n        ),\n        weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),\n        weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm সময়',\n            LTS: 'A h:mm:ss সময়',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm সময়',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',\n        },\n        calendar: {\n            sameDay: '[আজ] LT',\n            nextDay: '[আগামীকাল] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[গতকাল] LT',\n            lastWeek: '[গত] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s পরে',\n            past: '%s আগে',\n            s: 'কয়েক সেকেন্ড',\n            ss: '%d সেকেন্ড',\n            m: 'এক মিনিট',\n            mm: '%d মিনিট',\n            h: 'এক ঘন্টা',\n            hh: '%d ঘন্টা',\n            d: 'এক দিন',\n            dd: '%d দিন',\n            M: 'এক মাস',\n            MM: '%d মাস',\n            y: 'এক বছর',\n            yy: '%d বছর',\n        },\n        preparse: function (string) {\n            return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (\n                (meridiem === 'রাত' && hour >= 4) ||\n                (meridiem === 'দুপুর' && hour < 5) ||\n                meridiem === 'বিকাল'\n            ) {\n                return hour + 12;\n            } else {\n                return hour;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'রাত';\n            } else if (hour < 10) {\n                return 'সকাল';\n            } else if (hour < 17) {\n                return 'দুপুর';\n            } else if (hour < 20) {\n                return 'বিকাল';\n            } else {\n                return 'রাত';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return bn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tibetan [bo]\n//! author : Thupten N. Chakrishar : https://github.com/vajradog\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '༡',\n            2: '༢',\n            3: '༣',\n            4: '༤',\n            5: '༥',\n            6: '༦',\n            7: '༧',\n            8: '༨',\n            9: '༩',\n            0: '༠',\n        },\n        numberMap = {\n            '༡': '1',\n            '༢': '2',\n            '༣': '3',\n            '༤': '4',\n            '༥': '5',\n            '༦': '6',\n            '༧': '7',\n            '༨': '8',\n            '༩': '9',\n            '༠': '0',\n        };\n\n    var bo = moment.defineLocale('bo', {\n        months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(\n            '_'\n        ),\n        monthsShort:\n            'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(\n                '_'\n            ),\n        monthsShortRegex: /^(ཟླ་\\d{1,2})/,\n        monthsParseExact: true,\n        weekdays:\n            'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(\n                '_'\n            ),\n        weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(\n            '_'\n        ),\n        weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm',\n            LTS: 'A h:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm',\n        },\n        calendar: {\n            sameDay: '[དི་རིང] LT',\n            nextDay: '[སང་ཉིན] LT',\n            nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',\n            lastDay: '[ཁ་སང] LT',\n            lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ལ་',\n            past: '%s སྔན་ལ',\n            s: 'ལམ་སང',\n            ss: '%d སྐར་ཆ།',\n            m: 'སྐར་མ་གཅིག',\n            mm: '%d སྐར་མ',\n            h: 'ཆུ་ཚོད་གཅིག',\n            hh: '%d ཆུ་ཚོད',\n            d: 'ཉིན་གཅིག',\n            dd: '%d ཉིན་',\n            M: 'ཟླ་བ་གཅིག',\n            MM: '%d ཟླ་བ',\n            y: 'ལོ་གཅིག',\n            yy: '%d ལོ',\n        },\n        preparse: function (string) {\n            return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (\n                (meridiem === 'མཚན་མོ' && hour >= 4) ||\n                (meridiem === 'ཉིན་གུང' && hour < 5) ||\n                meridiem === 'དགོང་དག'\n            ) {\n                return hour + 12;\n            } else {\n                return hour;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'མཚན་མོ';\n            } else if (hour < 10) {\n                return 'ཞོགས་ཀས';\n            } else if (hour < 17) {\n                return 'ཉིན་གུང';\n            } else if (hour < 20) {\n                return 'དགོང་དག';\n            } else {\n                return 'མཚན་མོ';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return bo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Breton [br]\n//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function relativeTimeWithMutation(number, withoutSuffix, key) {\n        var format = {\n            mm: 'munutenn',\n            MM: 'miz',\n            dd: 'devezh',\n        };\n        return number + ' ' + mutation(format[key], number);\n    }\n    function specialMutationForYears(number) {\n        switch (lastNumber(number)) {\n            case 1:\n            case 3:\n            case 4:\n            case 5:\n            case 9:\n                return number + ' bloaz';\n            default:\n                return number + ' vloaz';\n        }\n    }\n    function lastNumber(number) {\n        if (number > 9) {\n            return lastNumber(number % 10);\n        }\n        return number;\n    }\n    function mutation(text, number) {\n        if (number === 2) {\n            return softMutation(text);\n        }\n        return text;\n    }\n    function softMutation(text) {\n        var mutationTable = {\n            m: 'v',\n            b: 'v',\n            d: 'z',\n        };\n        if (mutationTable[text.charAt(0)] === undefined) {\n            return text;\n        }\n        return mutationTable[text.charAt(0)] + text.substring(1);\n    }\n\n    var monthsParse = [\n            /^gen/i,\n            /^c[ʼ\\']hwe/i,\n            /^meu/i,\n            /^ebr/i,\n            /^mae/i,\n            /^(mez|eve)/i,\n            /^gou/i,\n            /^eos/i,\n            /^gwe/i,\n            /^her/i,\n            /^du/i,\n            /^ker/i,\n        ],\n        monthsRegex =\n            /^(genver|c[ʼ\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,\n        monthsStrictRegex =\n            /^(genver|c[ʼ\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,\n        monthsShortStrictRegex =\n            /^(gen|c[ʼ\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,\n        fullWeekdaysParse = [\n            /^sul/i,\n            /^lun/i,\n            /^meurzh/i,\n            /^merc[ʼ\\']her/i,\n            /^yaou/i,\n            /^gwener/i,\n            /^sadorn/i,\n        ],\n        shortWeekdaysParse = [\n            /^Sul/i,\n            /^Lun/i,\n            /^Meu/i,\n            /^Mer/i,\n            /^Yao/i,\n            /^Gwe/i,\n            /^Sad/i,\n        ],\n        minWeekdaysParse = [\n            /^Su/i,\n            /^Lu/i,\n            /^Me([^r]|$)/i,\n            /^Mer/i,\n            /^Ya/i,\n            /^Gw/i,\n            /^Sa/i,\n        ];\n\n    var br = moment.defineLocale('br', {\n        months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(\n            '_'\n        ),\n        monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),\n        weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),\n        weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),\n        weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),\n        weekdaysParse: minWeekdaysParse,\n        fullWeekdaysParse: fullWeekdaysParse,\n        shortWeekdaysParse: shortWeekdaysParse,\n        minWeekdaysParse: minWeekdaysParse,\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: monthsStrictRegex,\n        monthsShortStrictRegex: monthsShortStrictRegex,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [a viz] MMMM YYYY',\n            LLL: 'D [a viz] MMMM YYYY HH:mm',\n            LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Hiziv da] LT',\n            nextDay: '[Warcʼhoazh da] LT',\n            nextWeek: 'dddd [da] LT',\n            lastDay: '[Decʼh da] LT',\n            lastWeek: 'dddd [paset da] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'a-benn %s',\n            past: '%s ʼzo',\n            s: 'un nebeud segondennoù',\n            ss: '%d eilenn',\n            m: 'ur vunutenn',\n            mm: relativeTimeWithMutation,\n            h: 'un eur',\n            hh: '%d eur',\n            d: 'un devezh',\n            dd: relativeTimeWithMutation,\n            M: 'ur miz',\n            MM: relativeTimeWithMutation,\n            y: 'ur bloaz',\n            yy: specialMutationForYears,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(añ|vet)/,\n        ordinal: function (number) {\n            var output = number === 1 ? 'añ' : 'vet';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n        meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn\n        isPM: function (token) {\n            return token === 'g.m.';\n        },\n        meridiem: function (hour, minute, isLower) {\n            return hour < 12 ? 'a.m.' : 'g.m.';\n        },\n    });\n\n    return br;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bosnian [bs]\n//! author : Nedim Cholich : https://github.com/frontyard\n//! author : Rasid Redzic : https://github.com/rasidre\n//! based on (hr) translation by Bojan Marković\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        switch (key) {\n            case 'm':\n                return withoutSuffix\n                    ? 'jedna minuta'\n                    : isFuture\n                      ? 'jednu minutu'\n                      : 'jedne minute';\n        }\n    }\n\n    function translate(number, withoutSuffix, key) {\n        var result = number + ' ';\n        switch (key) {\n            case 'ss':\n                if (number === 1) {\n                    result += 'sekunda';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'sekunde';\n                } else {\n                    result += 'sekundi';\n                }\n                return result;\n            case 'mm':\n                if (number === 1) {\n                    result += 'minuta';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'minute';\n                } else {\n                    result += 'minuta';\n                }\n                return result;\n            case 'h':\n                return withoutSuffix ? 'jedan sat' : 'jedan sat';\n            case 'hh':\n                if (number === 1) {\n                    result += 'sat';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'sata';\n                } else {\n                    result += 'sati';\n                }\n                return result;\n            case 'dd':\n                if (number === 1) {\n                    result += 'dan';\n                } else {\n                    result += 'dana';\n                }\n                return result;\n            case 'MM':\n                if (number === 1) {\n                    result += 'mjesec';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'mjeseca';\n                } else {\n                    result += 'mjeseci';\n                }\n                return result;\n            case 'yy':\n                if (number === 1) {\n                    result += 'godina';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'godine';\n                } else {\n                    result += 'godina';\n                }\n                return result;\n        }\n    }\n\n    var bs = moment.defineLocale('bs', {\n        months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(\n            '_'\n        ),\n        monthsShort:\n            'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd, D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[danas u] LT',\n            nextDay: '[sutra u] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[u] [nedjelju] [u] LT';\n                    case 3:\n                        return '[u] [srijedu] [u] LT';\n                    case 6:\n                        return '[u] [subotu] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[u] dddd [u] LT';\n                }\n            },\n            lastDay: '[jučer u] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                        return '[prošlu] dddd [u] LT';\n                    case 6:\n                        return '[prošle] [subote] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[prošli] dddd [u] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'prije %s',\n            s: 'par sekundi',\n            ss: translate,\n            m: processRelativeTime,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: 'dan',\n            dd: translate,\n            M: 'mjesec',\n            MM: translate,\n            y: 'godinu',\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return bs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Catalan [ca]\n//! author : Juan G. Hurtado : https://github.com/juanghurtado\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ca = moment.defineLocale('ca', {\n        months: {\n            standalone:\n                'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(\n                    '_'\n                ),\n            format: 'de gener_de febrer_de març_d’abril_de maig_de juny_de juliol_d’agost_de setembre_d’octubre_de novembre_de desembre'.split(\n                '_'\n            ),\n            isFormat: /D[oD]?(\\s)+MMMM/,\n        },\n        monthsShort:\n            'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays:\n            'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(\n                '_'\n            ),\n        weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),\n        weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM [de] YYYY',\n            ll: 'D MMM YYYY',\n            LLL: 'D MMMM [de] YYYY [a les] H:mm',\n            lll: 'D MMM YYYY, H:mm',\n            LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',\n            llll: 'ddd D MMM YYYY, H:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n            },\n            nextDay: function () {\n                return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n            },\n            lastDay: function () {\n                return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [passat a ' +\n                    (this.hours() !== 1 ? 'les' : 'la') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: \"d'aquí %s\",\n            past: 'fa %s',\n            s: 'uns segons',\n            ss: '%d segons',\n            m: 'un minut',\n            mm: '%d minuts',\n            h: 'una hora',\n            hh: '%d hores',\n            d: 'un dia',\n            dd: '%d dies',\n            M: 'un mes',\n            MM: '%d mesos',\n            y: 'un any',\n            yy: '%d anys',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n        ordinal: function (number, period) {\n            var output =\n                number === 1\n                    ? 'r'\n                    : number === 2\n                      ? 'n'\n                      : number === 3\n                        ? 'r'\n                        : number === 4\n                          ? 't'\n                          : 'è';\n            if (period === 'w' || period === 'W') {\n                output = 'a';\n            }\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ca;\n\n})));\n","//! moment.js locale configuration\n//! locale : Czech [cs]\n//! author : petrbela : https://github.com/petrbela\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = {\n            standalone:\n                'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(\n                    '_'\n                ),\n            format: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split(\n                '_'\n            ),\n            isFormat: /DD?[o.]?(\\[[^\\[\\]]*\\]|\\s)+MMMM/,\n        },\n        monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),\n        monthsParse = [\n            /^led/i,\n            /^úno/i,\n            /^bře/i,\n            /^dub/i,\n            /^kvě/i,\n            /^(čvn|červen$|června)/i,\n            /^(čvc|červenec|července)/i,\n            /^srp/i,\n            /^zář/i,\n            /^říj/i,\n            /^lis/i,\n            /^pro/i,\n        ],\n        // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n        // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n        monthsRegex =\n            /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;\n\n    function plural(n) {\n        return n > 1 && n < 5 && ~~(n / 10) !== 1;\n    }\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        switch (key) {\n            case 's': // a few seconds / in a few seconds / a few seconds ago\n                return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';\n            case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'sekundy' : 'sekund');\n                } else {\n                    return result + 'sekundami';\n                }\n            case 'm': // a minute / in a minute / a minute ago\n                return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';\n            case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'minuty' : 'minut');\n                } else {\n                    return result + 'minutami';\n                }\n            case 'h': // an hour / in an hour / an hour ago\n                return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n            case 'hh': // 9 hours / in 9 hours / 9 hours ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'hodiny' : 'hodin');\n                } else {\n                    return result + 'hodinami';\n                }\n            case 'd': // a day / in a day / a day ago\n                return withoutSuffix || isFuture ? 'den' : 'dnem';\n            case 'dd': // 9 days / in 9 days / 9 days ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'dny' : 'dní');\n                } else {\n                    return result + 'dny';\n                }\n            case 'M': // a month / in a month / a month ago\n                return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';\n            case 'MM': // 9 months / in 9 months / 9 months ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'měsíce' : 'měsíců');\n                } else {\n                    return result + 'měsíci';\n                }\n            case 'y': // a year / in a year / a year ago\n                return withoutSuffix || isFuture ? 'rok' : 'rokem';\n            case 'yy': // 9 years / in 9 years / 9 years ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'roky' : 'let');\n                } else {\n                    return result + 'lety';\n                }\n        }\n    }\n\n    var cs = moment.defineLocale('cs', {\n        months: months,\n        monthsShort: monthsShort,\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n        // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n        monthsStrictRegex:\n            /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,\n        monthsShortStrictRegex:\n            /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),\n        weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),\n        weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd D. MMMM YYYY H:mm',\n            l: 'D. M. YYYY',\n        },\n        calendar: {\n            sameDay: '[dnes v] LT',\n            nextDay: '[zítra v] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[v neděli v] LT';\n                    case 1:\n                    case 2:\n                        return '[v] dddd [v] LT';\n                    case 3:\n                        return '[ve středu v] LT';\n                    case 4:\n                        return '[ve čtvrtek v] LT';\n                    case 5:\n                        return '[v pátek v] LT';\n                    case 6:\n                        return '[v sobotu v] LT';\n                }\n            },\n            lastDay: '[včera v] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[minulou neděli v] LT';\n                    case 1:\n                    case 2:\n                        return '[minulé] dddd [v] LT';\n                    case 3:\n                        return '[minulou středu v] LT';\n                    case 4:\n                    case 5:\n                        return '[minulý] dddd [v] LT';\n                    case 6:\n                        return '[minulou sobotu v] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'před %s',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return cs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chuvash [cv]\n//! author : Anatoly Mironov : https://github.com/mirontoli\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var cv = moment.defineLocale('cv', {\n        months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(\n            '_'\n        ),\n        monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),\n        weekdays:\n            'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(\n                '_'\n            ),\n        weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),\n        weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD-MM-YYYY',\n            LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',\n            LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n            LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n        },\n        calendar: {\n            sameDay: '[Паян] LT [сехетре]',\n            nextDay: '[Ыран] LT [сехетре]',\n            lastDay: '[Ӗнер] LT [сехетре]',\n            nextWeek: '[Ҫитес] dddd LT [сехетре]',\n            lastWeek: '[Иртнӗ] dddd LT [сехетре]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: function (output) {\n                var affix = /сехет$/i.exec(output)\n                    ? 'рен'\n                    : /ҫул$/i.exec(output)\n                      ? 'тан'\n                      : 'ран';\n                return output + affix;\n            },\n            past: '%s каялла',\n            s: 'пӗр-ик ҫеккунт',\n            ss: '%d ҫеккунт',\n            m: 'пӗр минут',\n            mm: '%d минут',\n            h: 'пӗр сехет',\n            hh: '%d сехет',\n            d: 'пӗр кун',\n            dd: '%d кун',\n            M: 'пӗр уйӑх',\n            MM: '%d уйӑх',\n            y: 'пӗр ҫул',\n            yy: '%d ҫул',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-мӗш/,\n        ordinal: '%d-мӗш',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return cv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Welsh [cy]\n//! author : Robert Allen : https://github.com/robgallen\n//! author : https://github.com/ryangreaves\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var cy = moment.defineLocale('cy', {\n        months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(\n            '_'\n        ),\n        monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(\n            '_'\n        ),\n        weekdays:\n            'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(\n                '_'\n            ),\n        weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),\n        weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),\n        weekdaysParseExact: true,\n        // time formats are the same as en-gb\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Heddiw am] LT',\n            nextDay: '[Yfory am] LT',\n            nextWeek: 'dddd [am] LT',\n            lastDay: '[Ddoe am] LT',\n            lastWeek: 'dddd [diwethaf am] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'mewn %s',\n            past: '%s yn ôl',\n            s: 'ychydig eiliadau',\n            ss: '%d eiliad',\n            m: 'munud',\n            mm: '%d munud',\n            h: 'awr',\n            hh: '%d awr',\n            d: 'diwrnod',\n            dd: '%d diwrnod',\n            M: 'mis',\n            MM: '%d mis',\n            y: 'blwyddyn',\n            yy: '%d flynedd',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,\n        // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh\n        ordinal: function (number) {\n            var b = number,\n                output = '',\n                lookup = [\n                    '',\n                    'af',\n                    'il',\n                    'ydd',\n                    'ydd',\n                    'ed',\n                    'ed',\n                    'ed',\n                    'fed',\n                    'fed',\n                    'fed', // 1af to 10fed\n                    'eg',\n                    'fed',\n                    'eg',\n                    'eg',\n                    'fed',\n                    'eg',\n                    'eg',\n                    'fed',\n                    'eg',\n                    'fed', // 11eg to 20fed\n                ];\n            if (b > 20) {\n                if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {\n                    output = 'fed'; // not 30ain, 70ain or 90ain\n                } else {\n                    output = 'ain';\n                }\n            } else if (b > 0) {\n                output = lookup[b];\n            }\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return cy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Danish [da]\n//! author : Ulrik Nielsen : https://github.com/mrbase\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var da = moment.defineLocale('da', {\n        months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n        weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n        weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),\n        weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',\n        },\n        calendar: {\n            sameDay: '[i dag kl.] LT',\n            nextDay: '[i morgen kl.] LT',\n            nextWeek: 'på dddd [kl.] LT',\n            lastDay: '[i går kl.] LT',\n            lastWeek: '[i] dddd[s kl.] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'om %s',\n            past: '%s siden',\n            s: 'få sekunder',\n            ss: '%d sekunder',\n            m: 'et minut',\n            mm: '%d minutter',\n            h: 'en time',\n            hh: '%d timer',\n            d: 'en dag',\n            dd: '%d dage',\n            M: 'en måned',\n            MM: '%d måneder',\n            y: 'et år',\n            yy: '%d år',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return da;\n\n})));\n","//! moment.js locale configuration\n//! locale : German (Austria) [de-at]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Martin Groller : https://github.com/MadMG\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsParse = [\n            /^jän/i,\n            /^feb/i,\n            /^mär/i,\n            /^apr/i,\n            /^mai/i,\n            /^jun/i,\n            /^jul/i,\n            /^aug/i,\n            /^sep/i,\n            /^okt/i,\n            /^nov/i,\n            /^dez/i,\n        ],\n        monthsRegex =\n            /^(Jänner|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jän\\.?|Feb\\.?|Mär\\.?|Apr\\.?|Jun\\.?|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i;\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eine Minute', 'einer Minute'],\n            h: ['eine Stunde', 'einer Stunde'],\n            d: ['ein Tag', 'einem Tag'],\n            dd: [number + ' Tage', number + ' Tagen'],\n            w: ['eine Woche', 'einer Woche'],\n            M: ['ein Monat', 'einem Monat'],\n            MM: [number + ' Monate', number + ' Monaten'],\n            y: ['ein Jahr', 'einem Jahr'],\n            yy: [number + ' Jahre', number + ' Jahren'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n\n    var deAt = moment.defineLocale('de-at', {\n        months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort:\n            'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(Jänner|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,\n        monthsShortStrictRegex:\n            /^(Jän\\.?|Feb\\.?|März|Mär\\.?|Apr\\.?|Mai|Juni|Jun\\.?|Juli|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i,\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        weekdays:\n            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n                '_'\n            ),\n        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd, D. MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[heute um] LT [Uhr]',\n            sameElse: 'L',\n            nextDay: '[morgen um] LT [Uhr]',\n            nextWeek: 'dddd [um] LT [Uhr]',\n            lastDay: '[gestern um] LT [Uhr]',\n            lastWeek: '[letzten] dddd [um] LT [Uhr]',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: 'vor %s',\n            s: 'ein paar Sekunden',\n            ss: '%d Sekunden',\n            m: processRelativeTime,\n            mm: '%d Minuten',\n            h: processRelativeTime,\n            hh: '%d Stunden',\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            w: processRelativeTime,\n            ww: '%d Wochen',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return deAt;\n\n})));\n","//! moment.js locale configuration\n//! locale : German (Switzerland) [de-ch]\n//! author : sschueller : https://github.com/sschueller\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsParse = [\n            /^jan/i,\n            /^feb/i,\n            /^mär/i,\n            /^apr/i,\n            /^mai/i,\n            /^jun/i,\n            /^jul/i,\n            /^aug/i,\n            /^sep/i,\n            /^okt/i,\n            /^nov/i,\n            /^dez/i,\n        ],\n        monthsRegex =\n            /^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jan\\.?|Feb\\.?|Mär\\.?|Apr\\.?|Jun\\.?|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i;\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eine Minute', 'einer Minute'],\n            h: ['eine Stunde', 'einer Stunde'],\n            d: ['ein Tag', 'einem Tag'],\n            dd: [number + ' Tage', number + ' Tagen'],\n            w: ['eine Woche', 'einer Woche'],\n            M: ['ein Monat', 'einem Monat'],\n            MM: [number + ' Monate', number + ' Monaten'],\n            y: ['ein Jahr', 'einem Jahr'],\n            yy: [number + ' Jahre', number + ' Jahren'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n\n    var deCh = moment.defineLocale('de-ch', {\n        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort:\n            'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,\n        monthsShortStrictRegex:\n            /^(Jan\\.?|Feb\\.?|März|Mär\\.?|Apr\\.?|Mai|Juni|Jun\\.?|Juli|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i,\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        weekdays:\n            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n                '_'\n            ),\n        weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd, D. MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[heute um] LT [Uhr]',\n            sameElse: 'L',\n            nextDay: '[morgen um] LT [Uhr]',\n            nextWeek: 'dddd [um] LT [Uhr]',\n            lastDay: '[gestern um] LT [Uhr]',\n            lastWeek: '[letzten] dddd [um] LT [Uhr]',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: 'vor %s',\n            s: 'ein paar Sekunden',\n            ss: '%d Sekunden',\n            m: processRelativeTime,\n            mm: '%d Minuten',\n            h: processRelativeTime,\n            hh: '%d Stunden',\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            w: processRelativeTime,\n            ww: '%d Wochen',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return deCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : German [de]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsParse = [\n            /^jan/i,\n            /^feb/i,\n            /^mär/i,\n            /^apr/i,\n            /^mai/i,\n            /^jun/i,\n            /^jul/i,\n            /^aug/i,\n            /^sep/i,\n            /^okt/i,\n            /^nov/i,\n            /^dez/i,\n        ],\n        monthsRegex =\n            /^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jan\\.?|Feb\\.?|Mär\\.?|Apr\\.?|Jun\\.?|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i;\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eine Minute', 'einer Minute'],\n            h: ['eine Stunde', 'einer Stunde'],\n            d: ['ein Tag', 'einem Tag'],\n            dd: [number + ' Tage', number + ' Tagen'],\n            w: ['eine Woche', 'einer Woche'],\n            M: ['ein Monat', 'einem Monat'],\n            MM: [number + ' Monate', number + ' Monaten'],\n            y: ['ein Jahr', 'einem Jahr'],\n            yy: [number + ' Jahre', number + ' Jahren'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n\n    var de = moment.defineLocale('de', {\n        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort:\n            'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,\n        monthsShortStrictRegex:\n            /^(Jan\\.?|Feb\\.?|März|Mär\\.?|Apr\\.?|Mai|Juni|Jun\\.?|Juli|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i,\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        weekdays:\n            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n                '_'\n            ),\n        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd, D. MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[heute um] LT [Uhr]',\n            sameElse: 'L',\n            nextDay: '[morgen um] LT [Uhr]',\n            nextWeek: 'dddd [um] LT [Uhr]',\n            lastDay: '[gestern um] LT [Uhr]',\n            lastWeek: '[letzten] dddd [um] LT [Uhr]',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: 'vor %s',\n            s: 'ein paar Sekunden',\n            ss: '%d Sekunden',\n            m: processRelativeTime,\n            mm: '%d Minuten',\n            h: processRelativeTime,\n            hh: '%d Stunden',\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            w: processRelativeTime,\n            ww: '%d Wochen',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return de;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maldivian [dv]\n//! author : Jawish Hameed : https://github.com/jawish\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'ޖެނުއަރީ',\n            'ފެބްރުއަރީ',\n            'މާރިޗު',\n            'އޭޕްރީލު',\n            'މޭ',\n            'ޖޫން',\n            'ޖުލައި',\n            'އޯގަސްޓު',\n            'ސެޕްޓެމްބަރު',\n            'އޮކްޓޯބަރު',\n            'ނޮވެމްބަރު',\n            'ޑިސެމްބަރު',\n        ],\n        weekdays = [\n            'އާދިއްތަ',\n            'ހޯމަ',\n            'އަންގާރަ',\n            'ބުދަ',\n            'ބުރާސްފަތި',\n            'ހުކުރު',\n            'ހޮނިހިރު',\n        ];\n\n    var dv = moment.defineLocale('dv', {\n        months: months,\n        monthsShort: months,\n        weekdays: weekdays,\n        weekdaysShort: weekdays,\n        weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/M/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /މކ|މފ/,\n        isPM: function (input) {\n            return 'މފ' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'މކ';\n            } else {\n                return 'މފ';\n            }\n        },\n        calendar: {\n            sameDay: '[މިއަދު] LT',\n            nextDay: '[މާދަމާ] LT',\n            nextWeek: 'dddd LT',\n            lastDay: '[އިއްޔެ] LT',\n            lastWeek: '[ފާއިތުވި] dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ތެރޭގައި %s',\n            past: 'ކުރިން %s',\n            s: 'ސިކުންތުކޮޅެއް',\n            ss: 'd% ސިކުންތު',\n            m: 'މިނިޓެއް',\n            mm: 'މިނިޓު %d',\n            h: 'ގަޑިއިރެއް',\n            hh: 'ގަޑިއިރު %d',\n            d: 'ދުވަހެއް',\n            dd: 'ދުވަސް %d',\n            M: 'މަހެއް',\n            MM: 'މަސް %d',\n            y: 'އަހަރެއް',\n            yy: 'އަހަރު %d',\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            dow: 7, // Sunday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return dv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Greek [el]\n//! author : Aggelos Karalias : https://github.com/mehiel\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function isFunction(input) {\n        return (\n            (typeof Function !== 'undefined' && input instanceof Function) ||\n            Object.prototype.toString.call(input) === '[object Function]'\n        );\n    }\n\n    var el = moment.defineLocale('el', {\n        monthsNominativeEl:\n            'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(\n                '_'\n            ),\n        monthsGenitiveEl:\n            'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(\n                '_'\n            ),\n        months: function (momentToFormat, format) {\n            if (!momentToFormat) {\n                return this._monthsNominativeEl;\n            } else if (\n                typeof format === 'string' &&\n                /D/.test(format.substring(0, format.indexOf('MMMM')))\n            ) {\n                // if there is a day number before 'MMMM'\n                return this._monthsGenitiveEl[momentToFormat.month()];\n            } else {\n                return this._monthsNominativeEl[momentToFormat.month()];\n            }\n        },\n        monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),\n        weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(\n            '_'\n        ),\n        weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),\n        weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),\n        meridiem: function (hours, minutes, isLower) {\n            if (hours > 11) {\n                return isLower ? 'μμ' : 'ΜΜ';\n            } else {\n                return isLower ? 'πμ' : 'ΠΜ';\n            }\n        },\n        isPM: function (input) {\n            return (input + '').toLowerCase()[0] === 'μ';\n        },\n        meridiemParse: /[ΠΜ]\\.?Μ?\\.?/i,\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendarEl: {\n            sameDay: '[Σήμερα {}] LT',\n            nextDay: '[Αύριο {}] LT',\n            nextWeek: 'dddd [{}] LT',\n            lastDay: '[Χθες {}] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 6:\n                        return '[το προηγούμενο] dddd [{}] LT';\n                    default:\n                        return '[την προηγούμενη] dddd [{}] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        calendar: function (key, mom) {\n            var output = this._calendarEl[key],\n                hours = mom && mom.hours();\n            if (isFunction(output)) {\n                output = output.apply(mom);\n            }\n            return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');\n        },\n        relativeTime: {\n            future: 'σε %s',\n            past: '%s πριν',\n            s: 'λίγα δευτερόλεπτα',\n            ss: '%d δευτερόλεπτα',\n            m: 'ένα λεπτό',\n            mm: '%d λεπτά',\n            h: 'μία ώρα',\n            hh: '%d ώρες',\n            d: 'μία μέρα',\n            dd: '%d μέρες',\n            M: 'ένας μήνας',\n            MM: '%d μήνες',\n            y: 'ένας χρόνος',\n            yy: '%d χρόνια',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}η/,\n        ordinal: '%dη',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4st is the first week of the year.\n        },\n    });\n\n    return el;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Australia) [en-au]\n//! author : Jared Morse : https://github.com/jarcoal\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enAu = moment.defineLocale('en-au', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enAu;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Canada) [en-ca]\n//! author : Jonathan Abourbih : https://github.com/jonbca\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enCa = moment.defineLocale('en-ca', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'YYYY-MM-DD',\n            LL: 'MMMM D, YYYY',\n            LLL: 'MMMM D, YYYY h:mm A',\n            LLLL: 'dddd, MMMM D, YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n    });\n\n    return enCa;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (United Kingdom) [en-gb]\n//! author : Chris Gedrim : https://github.com/chrisgedrim\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enGb = moment.defineLocale('en-gb', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enGb;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Ireland) [en-ie]\n//! author : Chris Cartlidge : https://github.com/chriscartlidge\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enIe = moment.defineLocale('en-ie', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enIe;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Israel) [en-il]\n//! author : Chris Gedrim : https://github.com/chrisgedrim\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enIl = moment.defineLocale('en-il', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n    });\n\n    return enIl;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (India) [en-in]\n//! author : Jatin Agrawal : https://github.com/jatinag22\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enIn = moment.defineLocale('en-in', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 1st is the first week of the year.\n        },\n    });\n\n    return enIn;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (New Zealand) [en-nz]\n//! author : Luke McGregor : https://github.com/lukemcgregor\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enNz = moment.defineLocale('en-nz', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enNz;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Singapore) [en-sg]\n//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enSg = moment.defineLocale('en-sg', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enSg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Esperanto [eo]\n//! author : Colin Dean : https://github.com/colindean\n//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia\n//! comment : miestasmia corrected the translation by colindean\n//! comment : Vivakvo corrected the translation by colindean and miestasmia\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var eo = moment.defineLocale('eo', {\n        months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),\n        weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),\n        weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),\n        weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: '[la] D[-an de] MMMM, YYYY',\n            LLL: '[la] D[-an de] MMMM, YYYY HH:mm',\n            LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',\n            llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',\n        },\n        meridiemParse: /[ap]\\.t\\.m/i,\n        isPM: function (input) {\n            return input.charAt(0).toLowerCase() === 'p';\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours > 11) {\n                return isLower ? 'p.t.m.' : 'P.T.M.';\n            } else {\n                return isLower ? 'a.t.m.' : 'A.T.M.';\n            }\n        },\n        calendar: {\n            sameDay: '[Hodiaŭ je] LT',\n            nextDay: '[Morgaŭ je] LT',\n            nextWeek: 'dddd[n je] LT',\n            lastDay: '[Hieraŭ je] LT',\n            lastWeek: '[pasintan] dddd[n je] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'post %s',\n            past: 'antaŭ %s',\n            s: 'kelkaj sekundoj',\n            ss: '%d sekundoj',\n            m: 'unu minuto',\n            mm: '%d minutoj',\n            h: 'unu horo',\n            hh: '%d horoj',\n            d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo\n            dd: '%d tagoj',\n            M: 'unu monato',\n            MM: '%d monatoj',\n            y: 'unu jaro',\n            yy: '%d jaroj',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}a/,\n        ordinal: '%da',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return eo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (Dominican Republic) [es-do]\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortDot =\n            'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n                '_'\n            ),\n        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n        monthsParse = [\n            /^ene/i,\n            /^feb/i,\n            /^mar/i,\n            /^abr/i,\n            /^may/i,\n            /^jun/i,\n            /^jul/i,\n            /^ago/i,\n            /^sep/i,\n            /^oct/i,\n            /^nov/i,\n            /^dic/i,\n        ],\n        monthsRegex =\n            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n    var esDo = moment.defineLocale('es-do', {\n        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortDot;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShort[m.month()];\n            } else {\n                return monthsShortDot[m.month()];\n            }\n        },\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n        monthsShortStrictRegex:\n            /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY h:mm A',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastDay: function () {\n                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [pasado a la' +\n                    (this.hours() !== 1 ? 's' : '') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'en %s',\n            past: 'hace %s',\n            s: 'unos segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'una hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            w: 'una semana',\n            ww: '%d semanas',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un año',\n            yy: '%d años',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return esDo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (Mexico) [es-mx]\n//! author : JC Franco : https://github.com/jcfranco\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortDot =\n            'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n                '_'\n            ),\n        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n        monthsParse = [\n            /^ene/i,\n            /^feb/i,\n            /^mar/i,\n            /^abr/i,\n            /^may/i,\n            /^jun/i,\n            /^jul/i,\n            /^ago/i,\n            /^sep/i,\n            /^oct/i,\n            /^nov/i,\n            /^dic/i,\n        ],\n        monthsRegex =\n            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n    var esMx = moment.defineLocale('es-mx', {\n        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortDot;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShort[m.month()];\n            } else {\n                return monthsShortDot[m.month()];\n            }\n        },\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n        monthsShortStrictRegex:\n            /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY H:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastDay: function () {\n                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [pasado a la' +\n                    (this.hours() !== 1 ? 's' : '') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'en %s',\n            past: 'hace %s',\n            s: 'unos segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'una hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            w: 'una semana',\n            ww: '%d semanas',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un año',\n            yy: '%d años',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n        invalidDate: 'Fecha inválida',\n    });\n\n    return esMx;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (United States) [es-us]\n//! author : bustta : https://github.com/bustta\n//! author : chrisrodz : https://github.com/chrisrodz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortDot =\n            'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n                '_'\n            ),\n        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n        monthsParse = [\n            /^ene/i,\n            /^feb/i,\n            /^mar/i,\n            /^abr/i,\n            /^may/i,\n            /^jun/i,\n            /^jul/i,\n            /^ago/i,\n            /^sep/i,\n            /^oct/i,\n            /^nov/i,\n            /^dic/i,\n        ],\n        monthsRegex =\n            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n    var esUs = moment.defineLocale('es-us', {\n        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortDot;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShort[m.month()];\n            } else {\n                return monthsShortDot[m.month()];\n            }\n        },\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n        monthsShortStrictRegex:\n            /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'MM/DD/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY h:mm A',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastDay: function () {\n                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [pasado a la' +\n                    (this.hours() !== 1 ? 's' : '') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'en %s',\n            past: 'hace %s',\n            s: 'unos segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'una hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            w: 'una semana',\n            ww: '%d semanas',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un año',\n            yy: '%d años',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return esUs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish [es]\n//! author : Julio Napurí : https://github.com/julionc\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortDot =\n            'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n                '_'\n            ),\n        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n        monthsParse = [\n            /^ene/i,\n            /^feb/i,\n            /^mar/i,\n            /^abr/i,\n            /^may/i,\n            /^jun/i,\n            /^jul/i,\n            /^ago/i,\n            /^sep/i,\n            /^oct/i,\n            /^nov/i,\n            /^dic/i,\n        ],\n        monthsRegex =\n            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n    var es = moment.defineLocale('es', {\n        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortDot;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShort[m.month()];\n            } else {\n                return monthsShortDot[m.month()];\n            }\n        },\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n        monthsShortStrictRegex:\n            /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY H:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastDay: function () {\n                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [pasado a la' +\n                    (this.hours() !== 1 ? 's' : '') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'en %s',\n            past: 'hace %s',\n            s: 'unos segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'una hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            w: 'una semana',\n            ww: '%d semanas',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un año',\n            yy: '%d años',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n        invalidDate: 'Fecha inválida',\n    });\n\n    return es;\n\n})));\n","//! moment.js locale configuration\n//! locale : Estonian [et]\n//! author : Henry Kehlmann : https://github.com/madhenry\n//! improvements : Illimar Tambek : https://github.com/ragulka\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],\n            ss: [number + 'sekundi', number + 'sekundit'],\n            m: ['ühe minuti', 'üks minut'],\n            mm: [number + ' minuti', number + ' minutit'],\n            h: ['ühe tunni', 'tund aega', 'üks tund'],\n            hh: [number + ' tunni', number + ' tundi'],\n            d: ['ühe päeva', 'üks päev'],\n            M: ['kuu aja', 'kuu aega', 'üks kuu'],\n            MM: [number + ' kuu', number + ' kuud'],\n            y: ['ühe aasta', 'aasta', 'üks aasta'],\n            yy: [number + ' aasta', number + ' aastat'],\n        };\n        if (withoutSuffix) {\n            return format[key][2] ? format[key][2] : format[key][1];\n        }\n        return isFuture ? format[key][0] : format[key][1];\n    }\n\n    var et = moment.defineLocale('et', {\n        months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(\n            '_'\n        ),\n        monthsShort:\n            'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),\n        weekdays:\n            'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(\n                '_'\n            ),\n        weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),\n        weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd, D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[Täna,] LT',\n            nextDay: '[Homme,] LT',\n            nextWeek: '[Järgmine] dddd LT',\n            lastDay: '[Eile,] LT',\n            lastWeek: '[Eelmine] dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s pärast',\n            past: '%s tagasi',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: '%d päeva',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return et;\n\n})));\n","//! moment.js locale configuration\n//! locale : Basque [eu]\n//! author : Eneko Illarramendi : https://github.com/eillarra\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var eu = moment.defineLocale('eu', {\n        months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(\n            '_'\n        ),\n        monthsShort:\n            'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays:\n            'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(\n                '_'\n            ),\n        weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),\n        weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'YYYY[ko] MMMM[ren] D[a]',\n            LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',\n            LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',\n            l: 'YYYY-M-D',\n            ll: 'YYYY[ko] MMM D[a]',\n            lll: 'YYYY[ko] MMM D[a] HH:mm',\n            llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',\n        },\n        calendar: {\n            sameDay: '[gaur] LT[etan]',\n            nextDay: '[bihar] LT[etan]',\n            nextWeek: 'dddd LT[etan]',\n            lastDay: '[atzo] LT[etan]',\n            lastWeek: '[aurreko] dddd LT[etan]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s barru',\n            past: 'duela %s',\n            s: 'segundo batzuk',\n            ss: '%d segundo',\n            m: 'minutu bat',\n            mm: '%d minutu',\n            h: 'ordu bat',\n            hh: '%d ordu',\n            d: 'egun bat',\n            dd: '%d egun',\n            M: 'hilabete bat',\n            MM: '%d hilabete',\n            y: 'urte bat',\n            yy: '%d urte',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return eu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Persian [fa]\n//! author : Ebrahim Byagowi : https://github.com/ebraminio\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '۱',\n            2: '۲',\n            3: '۳',\n            4: '۴',\n            5: '۵',\n            6: '۶',\n            7: '۷',\n            8: '۸',\n            9: '۹',\n            0: '۰',\n        },\n        numberMap = {\n            '۱': '1',\n            '۲': '2',\n            '۳': '3',\n            '۴': '4',\n            '۵': '5',\n            '۶': '6',\n            '۷': '7',\n            '۸': '8',\n            '۹': '9',\n            '۰': '0',\n        };\n\n    var fa = moment.defineLocale('fa', {\n        months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(\n            '_'\n        ),\n        monthsShort:\n            'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(\n                '_'\n            ),\n        weekdays:\n            'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split(\n                '_'\n            ),\n        weekdaysShort:\n            'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split(\n                '_'\n            ),\n        weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /قبل از ظهر|بعد از ظهر/,\n        isPM: function (input) {\n            return /بعد از ظهر/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'قبل از ظهر';\n            } else {\n                return 'بعد از ظهر';\n            }\n        },\n        calendar: {\n            sameDay: '[امروز ساعت] LT',\n            nextDay: '[فردا ساعت] LT',\n            nextWeek: 'dddd [ساعت] LT',\n            lastDay: '[دیروز ساعت] LT',\n            lastWeek: 'dddd [پیش] [ساعت] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'در %s',\n            past: '%s پیش',\n            s: 'چند ثانیه',\n            ss: '%d ثانیه',\n            m: 'یک دقیقه',\n            mm: '%d دقیقه',\n            h: 'یک ساعت',\n            hh: '%d ساعت',\n            d: 'یک روز',\n            dd: '%d روز',\n            M: 'یک ماه',\n            MM: '%d ماه',\n            y: 'یک سال',\n            yy: '%d سال',\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[۰-۹]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}م/,\n        ordinal: '%dم',\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return fa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Finnish [fi]\n//! author : Tarmo Aidantausta : https://github.com/bleadof\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var numbersPast =\n            'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(\n                ' '\n            ),\n        numbersFuture = [\n            'nolla',\n            'yhden',\n            'kahden',\n            'kolmen',\n            'neljän',\n            'viiden',\n            'kuuden',\n            numbersPast[7],\n            numbersPast[8],\n            numbersPast[9],\n        ];\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = '';\n        switch (key) {\n            case 's':\n                return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';\n            case 'ss':\n                result = isFuture ? 'sekunnin' : 'sekuntia';\n                break;\n            case 'm':\n                return isFuture ? 'minuutin' : 'minuutti';\n            case 'mm':\n                result = isFuture ? 'minuutin' : 'minuuttia';\n                break;\n            case 'h':\n                return isFuture ? 'tunnin' : 'tunti';\n            case 'hh':\n                result = isFuture ? 'tunnin' : 'tuntia';\n                break;\n            case 'd':\n                return isFuture ? 'päivän' : 'päivä';\n            case 'dd':\n                result = isFuture ? 'päivän' : 'päivää';\n                break;\n            case 'M':\n                return isFuture ? 'kuukauden' : 'kuukausi';\n            case 'MM':\n                result = isFuture ? 'kuukauden' : 'kuukautta';\n                break;\n            case 'y':\n                return isFuture ? 'vuoden' : 'vuosi';\n            case 'yy':\n                result = isFuture ? 'vuoden' : 'vuotta';\n                break;\n        }\n        result = verbalNumber(number, isFuture) + ' ' + result;\n        return result;\n    }\n    function verbalNumber(number, isFuture) {\n        return number < 10\n            ? isFuture\n                ? numbersFuture[number]\n                : numbersPast[number]\n            : number;\n    }\n\n    var fi = moment.defineLocale('fi', {\n        months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(\n            '_'\n        ),\n        monthsShort:\n            'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(\n                '_'\n            ),\n        weekdays:\n            'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(\n                '_'\n            ),\n        weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),\n        weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD.MM.YYYY',\n            LL: 'Do MMMM[ta] YYYY',\n            LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',\n            LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',\n            l: 'D.M.YYYY',\n            ll: 'Do MMM YYYY',\n            lll: 'Do MMM YYYY, [klo] HH.mm',\n            llll: 'ddd, Do MMM YYYY, [klo] HH.mm',\n        },\n        calendar: {\n            sameDay: '[tänään] [klo] LT',\n            nextDay: '[huomenna] [klo] LT',\n            nextWeek: 'dddd [klo] LT',\n            lastDay: '[eilen] [klo] LT',\n            lastWeek: '[viime] dddd[na] [klo] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s päästä',\n            past: '%s sitten',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Filipino [fil]\n//! author : Dan Hagman : https://github.com/hagmandan\n//! author : Matthew Co : https://github.com/matthewdeeco\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var fil = moment.defineLocale('fil', {\n        months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(\n            '_'\n        ),\n        monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n        weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(\n            '_'\n        ),\n        weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n        weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'MM/D/YYYY',\n            LL: 'MMMM D, YYYY',\n            LLL: 'MMMM D, YYYY HH:mm',\n            LLLL: 'dddd, MMMM DD, YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: 'LT [ngayong araw]',\n            nextDay: '[Bukas ng] LT',\n            nextWeek: 'LT [sa susunod na] dddd',\n            lastDay: 'LT [kahapon]',\n            lastWeek: 'LT [noong nakaraang] dddd',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'sa loob ng %s',\n            past: '%s ang nakalipas',\n            s: 'ilang segundo',\n            ss: '%d segundo',\n            m: 'isang minuto',\n            mm: '%d minuto',\n            h: 'isang oras',\n            hh: '%d oras',\n            d: 'isang araw',\n            dd: '%d araw',\n            M: 'isang buwan',\n            MM: '%d buwan',\n            y: 'isang taon',\n            yy: '%d taon',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: function (number) {\n            return number;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fil;\n\n})));\n","//! moment.js locale configuration\n//! locale : Faroese [fo]\n//! author : Ragnar Johannesen : https://github.com/ragnar123\n//! author : Kristian Sakarisson : https://github.com/sakarisson\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var fo = moment.defineLocale('fo', {\n        months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),\n        weekdays:\n            'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(\n                '_'\n            ),\n        weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),\n        weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D. MMMM, YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Í dag kl.] LT',\n            nextDay: '[Í morgin kl.] LT',\n            nextWeek: 'dddd [kl.] LT',\n            lastDay: '[Í gjár kl.] LT',\n            lastWeek: '[síðstu] dddd [kl] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'um %s',\n            past: '%s síðani',\n            s: 'fá sekund',\n            ss: '%d sekundir',\n            m: 'ein minuttur',\n            mm: '%d minuttir',\n            h: 'ein tími',\n            hh: '%d tímar',\n            d: 'ein dagur',\n            dd: '%d dagar',\n            M: 'ein mánaður',\n            MM: '%d mánaðir',\n            y: 'eitt ár',\n            yy: '%d ár',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fo;\n\n})));\n","//! moment.js locale configuration\n//! locale : French (Canada) [fr-ca]\n//! author : Jonathan Abourbih : https://github.com/jonbca\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var frCa = moment.defineLocale('fr-ca', {\n        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n            '_'\n        ),\n        monthsShort:\n            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Aujourd’hui à] LT',\n            nextDay: '[Demain à] LT',\n            nextWeek: 'dddd [à] LT',\n            lastDay: '[Hier à] LT',\n            lastWeek: 'dddd [dernier à] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dans %s',\n            past: 'il y a %s',\n            s: 'quelques secondes',\n            ss: '%d secondes',\n            m: 'une minute',\n            mm: '%d minutes',\n            h: 'une heure',\n            hh: '%d heures',\n            d: 'un jour',\n            dd: '%d jours',\n            M: 'un mois',\n            MM: '%d mois',\n            y: 'un an',\n            yy: '%d ans',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // Words with masculine grammatical gender: mois, trimestre, jour\n                default:\n                case 'M':\n                case 'Q':\n                case 'D':\n                case 'DDD':\n                case 'd':\n                    return number + (number === 1 ? 'er' : 'e');\n\n                // Words with feminine grammatical gender: semaine\n                case 'w':\n                case 'W':\n                    return number + (number === 1 ? 're' : 'e');\n            }\n        },\n    });\n\n    return frCa;\n\n})));\n","//! moment.js locale configuration\n//! locale : French (Switzerland) [fr-ch]\n//! author : Gaspard Bucher : https://github.com/gaspard\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var frCh = moment.defineLocale('fr-ch', {\n        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n            '_'\n        ),\n        monthsShort:\n            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Aujourd’hui à] LT',\n            nextDay: '[Demain à] LT',\n            nextWeek: 'dddd [à] LT',\n            lastDay: '[Hier à] LT',\n            lastWeek: 'dddd [dernier à] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dans %s',\n            past: 'il y a %s',\n            s: 'quelques secondes',\n            ss: '%d secondes',\n            m: 'une minute',\n            mm: '%d minutes',\n            h: 'une heure',\n            hh: '%d heures',\n            d: 'un jour',\n            dd: '%d jours',\n            M: 'un mois',\n            MM: '%d mois',\n            y: 'un an',\n            yy: '%d ans',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // Words with masculine grammatical gender: mois, trimestre, jour\n                default:\n                case 'M':\n                case 'Q':\n                case 'D':\n                case 'DDD':\n                case 'd':\n                    return number + (number === 1 ? 'er' : 'e');\n\n                // Words with feminine grammatical gender: semaine\n                case 'w':\n                case 'W':\n                    return number + (number === 1 ? 're' : 'e');\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return frCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : French [fr]\n//! author : John Fischer : https://github.com/jfroffice\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsStrictRegex =\n            /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,\n        monthsShortStrictRegex =\n            /(janv\\.?|févr\\.?|mars|avr\\.?|mai|juin|juil\\.?|août|sept\\.?|oct\\.?|nov\\.?|déc\\.?)/i,\n        monthsRegex =\n            /(janv\\.?|févr\\.?|mars|avr\\.?|mai|juin|juil\\.?|août|sept\\.?|oct\\.?|nov\\.?|déc\\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,\n        monthsParse = [\n            /^janv/i,\n            /^févr/i,\n            /^mars/i,\n            /^avr/i,\n            /^mai/i,\n            /^juin/i,\n            /^juil/i,\n            /^août/i,\n            /^sept/i,\n            /^oct/i,\n            /^nov/i,\n            /^déc/i,\n        ];\n\n    var fr = moment.defineLocale('fr', {\n        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n            '_'\n        ),\n        monthsShort:\n            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n                '_'\n            ),\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: monthsStrictRegex,\n        monthsShortStrictRegex: monthsShortStrictRegex,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Aujourd’hui à] LT',\n            nextDay: '[Demain à] LT',\n            nextWeek: 'dddd [à] LT',\n            lastDay: '[Hier à] LT',\n            lastWeek: 'dddd [dernier à] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dans %s',\n            past: 'il y a %s',\n            s: 'quelques secondes',\n            ss: '%d secondes',\n            m: 'une minute',\n            mm: '%d minutes',\n            h: 'une heure',\n            hh: '%d heures',\n            d: 'un jour',\n            dd: '%d jours',\n            w: 'une semaine',\n            ww: '%d semaines',\n            M: 'un mois',\n            MM: '%d mois',\n            y: 'un an',\n            yy: '%d ans',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(er|)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // TODO: Return 'e' when day of month > 1. Move this case inside\n                // block for masculine words below.\n                // See https://github.com/moment/moment/issues/3375\n                case 'D':\n                    return number + (number === 1 ? 'er' : '');\n\n                // Words with masculine grammatical gender: mois, trimestre, jour\n                default:\n                case 'M':\n                case 'Q':\n                case 'DDD':\n                case 'd':\n                    return number + (number === 1 ? 'er' : 'e');\n\n                // Words with feminine grammatical gender: semaine\n                case 'w':\n                case 'W':\n                    return number + (number === 1 ? 're' : 'e');\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Frisian [fy]\n//! author : Robin van der Vliet : https://github.com/robin0van0der0v\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortWithDots =\n            'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),\n        monthsShortWithoutDots =\n            'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');\n\n    var fy = moment.defineLocale('fy', {\n        months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortWithDots;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShortWithoutDots[m.month()];\n            } else {\n                return monthsShortWithDots[m.month()];\n            }\n        },\n        monthsParseExact: true,\n        weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(\n            '_'\n        ),\n        weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),\n        weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD-MM-YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[hjoed om] LT',\n            nextDay: '[moarn om] LT',\n            nextWeek: 'dddd [om] LT',\n            lastDay: '[juster om] LT',\n            lastWeek: '[ôfrûne] dddd [om] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'oer %s',\n            past: '%s lyn',\n            s: 'in pear sekonden',\n            ss: '%d sekonden',\n            m: 'ien minút',\n            mm: '%d minuten',\n            h: 'ien oere',\n            hh: '%d oeren',\n            d: 'ien dei',\n            dd: '%d dagen',\n            M: 'ien moanne',\n            MM: '%d moannen',\n            y: 'ien jier',\n            yy: '%d jierren',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n        ordinal: function (number) {\n            return (\n                number +\n                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n            );\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Irish or Irish Gaelic [ga]\n//! author : André Silva : https://github.com/askpt\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'Eanáir',\n            'Feabhra',\n            'Márta',\n            'Aibreán',\n            'Bealtaine',\n            'Meitheamh',\n            'Iúil',\n            'Lúnasa',\n            'Meán Fómhair',\n            'Deireadh Fómhair',\n            'Samhain',\n            'Nollaig',\n        ],\n        monthsShort = [\n            'Ean',\n            'Feabh',\n            'Márt',\n            'Aib',\n            'Beal',\n            'Meith',\n            'Iúil',\n            'Lún',\n            'M.F.',\n            'D.F.',\n            'Samh',\n            'Noll',\n        ],\n        weekdays = [\n            'Dé Domhnaigh',\n            'Dé Luain',\n            'Dé Máirt',\n            'Dé Céadaoin',\n            'Déardaoin',\n            'Dé hAoine',\n            'Dé Sathairn',\n        ],\n        weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],\n        weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];\n\n    var ga = moment.defineLocale('ga', {\n        months: months,\n        monthsShort: monthsShort,\n        monthsParseExact: true,\n        weekdays: weekdays,\n        weekdaysShort: weekdaysShort,\n        weekdaysMin: weekdaysMin,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Inniu ag] LT',\n            nextDay: '[Amárach ag] LT',\n            nextWeek: 'dddd [ag] LT',\n            lastDay: '[Inné ag] LT',\n            lastWeek: 'dddd [seo caite] [ag] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'i %s',\n            past: '%s ó shin',\n            s: 'cúpla soicind',\n            ss: '%d soicind',\n            m: 'nóiméad',\n            mm: '%d nóiméad',\n            h: 'uair an chloig',\n            hh: '%d uair an chloig',\n            d: 'lá',\n            dd: '%d lá',\n            M: 'mí',\n            MM: '%d míonna',\n            y: 'bliain',\n            yy: '%d bliain',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n        ordinal: function (number) {\n            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ga;\n\n})));\n","//! moment.js locale configuration\n//! locale : Scottish Gaelic [gd]\n//! author : Jon Ashdown : https://github.com/jonashdown\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'Am Faoilleach',\n            'An Gearran',\n            'Am Màrt',\n            'An Giblean',\n            'An Cèitean',\n            'An t-Ògmhios',\n            'An t-Iuchar',\n            'An Lùnastal',\n            'An t-Sultain',\n            'An Dàmhair',\n            'An t-Samhain',\n            'An Dùbhlachd',\n        ],\n        monthsShort = [\n            'Faoi',\n            'Gear',\n            'Màrt',\n            'Gibl',\n            'Cèit',\n            'Ògmh',\n            'Iuch',\n            'Lùn',\n            'Sult',\n            'Dàmh',\n            'Samh',\n            'Dùbh',\n        ],\n        weekdays = [\n            'Didòmhnaich',\n            'Diluain',\n            'Dimàirt',\n            'Diciadain',\n            'Diardaoin',\n            'Dihaoine',\n            'Disathairne',\n        ],\n        weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],\n        weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];\n\n    var gd = moment.defineLocale('gd', {\n        months: months,\n        monthsShort: monthsShort,\n        monthsParseExact: true,\n        weekdays: weekdays,\n        weekdaysShort: weekdaysShort,\n        weekdaysMin: weekdaysMin,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[An-diugh aig] LT',\n            nextDay: '[A-màireach aig] LT',\n            nextWeek: 'dddd [aig] LT',\n            lastDay: '[An-dè aig] LT',\n            lastWeek: 'dddd [seo chaidh] [aig] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ann an %s',\n            past: 'bho chionn %s',\n            s: 'beagan diogan',\n            ss: '%d diogan',\n            m: 'mionaid',\n            mm: '%d mionaidean',\n            h: 'uair',\n            hh: '%d uairean',\n            d: 'latha',\n            dd: '%d latha',\n            M: 'mìos',\n            MM: '%d mìosan',\n            y: 'bliadhna',\n            yy: '%d bliadhna',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n        ordinal: function (number) {\n            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return gd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Galician [gl]\n//! author : Juan G. Hurtado : https://github.com/juanghurtado\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var gl = moment.defineLocale('gl', {\n        months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(\n            '_'\n        ),\n        monthsShort:\n            'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY H:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';\n            },\n            lastDay: function () {\n                return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: function (str) {\n                if (str.indexOf('un') === 0) {\n                    return 'n' + str;\n                }\n                return 'en ' + str;\n            },\n            past: 'hai %s',\n            s: 'uns segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'unha hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un ano',\n            yy: '%d anos',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return gl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Konkani Devanagari script [gom-deva]\n//! author : The Discoverer : https://github.com/WikiDiscoverer\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],\n            ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],\n            m: ['एका मिणटान', 'एक मिनूट'],\n            mm: [number + ' मिणटांनी', number + ' मिणटां'],\n            h: ['एका वरान', 'एक वर'],\n            hh: [number + ' वरांनी', number + ' वरां'],\n            d: ['एका दिसान', 'एक दीस'],\n            dd: [number + ' दिसांनी', number + ' दीस'],\n            M: ['एका म्हयन्यान', 'एक म्हयनो'],\n            MM: [number + ' म्हयन्यानी', number + ' म्हयने'],\n            y: ['एका वर्सान', 'एक वर्स'],\n            yy: [number + ' वर्सांनी', number + ' वर्सां'],\n        };\n        return isFuture ? format[key][0] : format[key][1];\n    }\n\n    var gomDeva = moment.defineLocale('gom-deva', {\n        months: {\n            standalone:\n                'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(\n                    '_'\n                ),\n            format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(\n                '_'\n            ),\n            isFormat: /MMMM(\\s)+D[oD]?/,\n        },\n        monthsShort:\n            'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),\n        weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),\n        weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'A h:mm [वाजतां]',\n            LTS: 'A h:mm:ss [वाजतां]',\n            L: 'DD-MM-YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY A h:mm [वाजतां]',\n            LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',\n            llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',\n        },\n        calendar: {\n            sameDay: '[आयज] LT',\n            nextDay: '[फाल्यां] LT',\n            nextWeek: '[फुडलो] dddd[,] LT',\n            lastDay: '[काल] LT',\n            lastWeek: '[फाटलो] dddd[,] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s',\n            past: '%s आदीं',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(वेर)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // the ordinal 'वेर' only applies to day of the month\n                case 'D':\n                    return number + 'वेर';\n                default:\n                case 'M':\n                case 'Q':\n                case 'DDD':\n                case 'd':\n                case 'w':\n                case 'W':\n                    return number;\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week\n            doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)\n        },\n        meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'राती') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'सकाळीं') {\n                return hour;\n            } else if (meridiem === 'दनपारां') {\n                return hour > 12 ? hour : hour + 12;\n            } else if (meridiem === 'सांजे') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'राती';\n            } else if (hour < 12) {\n                return 'सकाळीं';\n            } else if (hour < 16) {\n                return 'दनपारां';\n            } else if (hour < 20) {\n                return 'सांजे';\n            } else {\n                return 'राती';\n            }\n        },\n    });\n\n    return gomDeva;\n\n})));\n","//! moment.js locale configuration\n//! locale : Konkani Latin script [gom-latn]\n//! author : The Discoverer : https://github.com/WikiDiscoverer\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['thoddea sekondamni', 'thodde sekond'],\n            ss: [number + ' sekondamni', number + ' sekond'],\n            m: ['eka mintan', 'ek minut'],\n            mm: [number + ' mintamni', number + ' mintam'],\n            h: ['eka voran', 'ek vor'],\n            hh: [number + ' voramni', number + ' voram'],\n            d: ['eka disan', 'ek dis'],\n            dd: [number + ' disamni', number + ' dis'],\n            M: ['eka mhoinean', 'ek mhoino'],\n            MM: [number + ' mhoineamni', number + ' mhoine'],\n            y: ['eka vorsan', 'ek voros'],\n            yy: [number + ' vorsamni', number + ' vorsam'],\n        };\n        return isFuture ? format[key][0] : format[key][1];\n    }\n\n    var gomLatn = moment.defineLocale('gom-latn', {\n        months: {\n            standalone:\n                'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(\n                    '_'\n                ),\n            format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(\n                '_'\n            ),\n            isFormat: /MMMM(\\s)+D[oD]?/,\n        },\n        monthsShort:\n            'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),\n        monthsParseExact: true,\n        weekdays: \"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var\".split('_'),\n        weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),\n        weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'A h:mm [vazta]',\n            LTS: 'A h:mm:ss [vazta]',\n            L: 'DD-MM-YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY A h:mm [vazta]',\n            LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',\n            llll: 'ddd, D MMM YYYY, A h:mm [vazta]',\n        },\n        calendar: {\n            sameDay: '[Aiz] LT',\n            nextDay: '[Faleam] LT',\n            nextWeek: '[Fuddlo] dddd[,] LT',\n            lastDay: '[Kal] LT',\n            lastWeek: '[Fattlo] dddd[,] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s',\n            past: '%s adim',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(er)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // the ordinal 'er' only applies to day of the month\n                case 'D':\n                    return number + 'er';\n                default:\n                case 'M':\n                case 'Q':\n                case 'DDD':\n                case 'd':\n                case 'w':\n                case 'W':\n                    return number;\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week\n            doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)\n        },\n        meridiemParse: /rati|sokallim|donparam|sanje/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'rati') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'sokallim') {\n                return hour;\n            } else if (meridiem === 'donparam') {\n                return hour > 12 ? hour : hour + 12;\n            } else if (meridiem === 'sanje') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'rati';\n            } else if (hour < 12) {\n                return 'sokallim';\n            } else if (hour < 16) {\n                return 'donparam';\n            } else if (hour < 20) {\n                return 'sanje';\n            } else {\n                return 'rati';\n            }\n        },\n    });\n\n    return gomLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Gujarati [gu]\n//! author : Kaushik Thanki : https://github.com/Kaushik1987\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '૧',\n            2: '૨',\n            3: '૩',\n            4: '૪',\n            5: '૫',\n            6: '૬',\n            7: '૭',\n            8: '૮',\n            9: '૯',\n            0: '૦',\n        },\n        numberMap = {\n            '૧': '1',\n            '૨': '2',\n            '૩': '3',\n            '૪': '4',\n            '૫': '5',\n            '૬': '6',\n            '૭': '7',\n            '૮': '8',\n            '૯': '9',\n            '૦': '0',\n        };\n\n    var gu = moment.defineLocale('gu', {\n        months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(\n            '_'\n        ),\n        monthsShort:\n            'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(\n            '_'\n        ),\n        weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),\n        weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm વાગ્યે',\n            LTS: 'A h:mm:ss વાગ્યે',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm વાગ્યે',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',\n        },\n        calendar: {\n            sameDay: '[આજ] LT',\n            nextDay: '[કાલે] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[ગઇકાલે] LT',\n            lastWeek: '[પાછલા] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s મા',\n            past: '%s પહેલા',\n            s: 'અમુક પળો',\n            ss: '%d સેકંડ',\n            m: 'એક મિનિટ',\n            mm: '%d મિનિટ',\n            h: 'એક કલાક',\n            hh: '%d કલાક',\n            d: 'એક દિવસ',\n            dd: '%d દિવસ',\n            M: 'એક મહિનો',\n            MM: '%d મહિનો',\n            y: 'એક વર્ષ',\n            yy: '%d વર્ષ',\n        },\n        preparse: function (string) {\n            return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        // Gujarati notation for meridiems are quite fuzzy in practice. While there exists\n        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.\n        meridiemParse: /રાત|બપોર|સવાર|સાંજ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'રાત') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'સવાર') {\n                return hour;\n            } else if (meridiem === 'બપોર') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'સાંજ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'રાત';\n            } else if (hour < 10) {\n                return 'સવાર';\n            } else if (hour < 17) {\n                return 'બપોર';\n            } else if (hour < 20) {\n                return 'સાંજ';\n            } else {\n                return 'રાત';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return gu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hebrew [he]\n//! author : Tomer Cohen : https://github.com/tomer\n//! author : Moshe Simantov : https://github.com/DevelopmentIL\n//! author : Tal Ater : https://github.com/TalAter\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var he = moment.defineLocale('he', {\n        months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(\n            '_'\n        ),\n        monthsShort:\n            'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),\n        weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),\n        weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),\n        weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [ב]MMMM YYYY',\n            LLL: 'D [ב]MMMM YYYY HH:mm',\n            LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',\n            l: 'D/M/YYYY',\n            ll: 'D MMM YYYY',\n            lll: 'D MMM YYYY HH:mm',\n            llll: 'ddd, D MMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[היום ב־]LT',\n            nextDay: '[מחר ב־]LT',\n            nextWeek: 'dddd [בשעה] LT',\n            lastDay: '[אתמול ב־]LT',\n            lastWeek: '[ביום] dddd [האחרון בשעה] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'בעוד %s',\n            past: 'לפני %s',\n            s: 'מספר שניות',\n            ss: '%d שניות',\n            m: 'דקה',\n            mm: '%d דקות',\n            h: 'שעה',\n            hh: function (number) {\n                if (number === 2) {\n                    return 'שעתיים';\n                }\n                return number + ' שעות';\n            },\n            d: 'יום',\n            dd: function (number) {\n                if (number === 2) {\n                    return 'יומיים';\n                }\n                return number + ' ימים';\n            },\n            M: 'חודש',\n            MM: function (number) {\n                if (number === 2) {\n                    return 'חודשיים';\n                }\n                return number + ' חודשים';\n            },\n            y: 'שנה',\n            yy: function (number) {\n                if (number === 2) {\n                    return 'שנתיים';\n                } else if (number % 10 === 0 && number !== 10) {\n                    return number + ' שנה';\n                }\n                return number + ' שנים';\n            },\n        },\n        meridiemParse:\n            /אחה\"צ|לפנה\"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,\n        isPM: function (input) {\n            return /^(אחה\"צ|אחרי הצהריים|בערב)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 5) {\n                return 'לפנות בוקר';\n            } else if (hour < 10) {\n                return 'בבוקר';\n            } else if (hour < 12) {\n                return isLower ? 'לפנה\"צ' : 'לפני הצהריים';\n            } else if (hour < 18) {\n                return isLower ? 'אחה\"צ' : 'אחרי הצהריים';\n            } else {\n                return 'בערב';\n            }\n        },\n    });\n\n    return he;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hindi [hi]\n//! author : Mayank Singhal : https://github.com/mayanksinghal\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '१',\n            2: '२',\n            3: '३',\n            4: '४',\n            5: '५',\n            6: '६',\n            7: '७',\n            8: '८',\n            9: '९',\n            0: '०',\n        },\n        numberMap = {\n            '१': '1',\n            '२': '2',\n            '३': '3',\n            '४': '4',\n            '५': '5',\n            '६': '6',\n            '७': '7',\n            '८': '8',\n            '९': '9',\n            '०': '0',\n        },\n        monthsParse = [\n            /^जन/i,\n            /^फ़र|फर/i,\n            /^मार्च/i,\n            /^अप्रै/i,\n            /^मई/i,\n            /^जून/i,\n            /^जुल/i,\n            /^अग/i,\n            /^सितं|सित/i,\n            /^अक्टू/i,\n            /^नव|नवं/i,\n            /^दिसं|दिस/i,\n        ],\n        shortMonthsParse = [\n            /^जन/i,\n            /^फ़र/i,\n            /^मार्च/i,\n            /^अप्रै/i,\n            /^मई/i,\n            /^जून/i,\n            /^जुल/i,\n            /^अग/i,\n            /^सित/i,\n            /^अक्टू/i,\n            /^नव/i,\n            /^दिस/i,\n        ];\n\n    var hi = moment.defineLocale('hi', {\n        months: {\n            format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(\n                '_'\n            ),\n            standalone:\n                'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(\n                    '_'\n                ),\n        },\n        monthsShort:\n            'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),\n        weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n        weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),\n        weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm बजे',\n            LTS: 'A h:mm:ss बजे',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm बजे',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',\n        },\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: shortMonthsParse,\n\n        monthsRegex:\n            /^(जनवरी|जन\\.?|फ़रवरी|फरवरी|फ़र\\.?|मार्च?|अप्रैल|अप्रै\\.?|मई?|जून?|जुलाई|जुल\\.?|अगस्त|अग\\.?|सितम्बर|सितंबर|सित\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर|नव\\.?|दिसम्बर|दिसंबर|दिस\\.?)/i,\n\n        monthsShortRegex:\n            /^(जनवरी|जन\\.?|फ़रवरी|फरवरी|फ़र\\.?|मार्च?|अप्रैल|अप्रै\\.?|मई?|जून?|जुलाई|जुल\\.?|अगस्त|अग\\.?|सितम्बर|सितंबर|सित\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर|नव\\.?|दिसम्बर|दिसंबर|दिस\\.?)/i,\n\n        monthsStrictRegex:\n            /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,\n\n        monthsShortStrictRegex:\n            /^(जन\\.?|फ़र\\.?|मार्च?|अप्रै\\.?|मई?|जून?|जुल\\.?|अग\\.?|सित\\.?|अक्टू\\.?|नव\\.?|दिस\\.?)/i,\n\n        calendar: {\n            sameDay: '[आज] LT',\n            nextDay: '[कल] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[कल] LT',\n            lastWeek: '[पिछले] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s में',\n            past: '%s पहले',\n            s: 'कुछ ही क्षण',\n            ss: '%d सेकंड',\n            m: 'एक मिनट',\n            mm: '%d मिनट',\n            h: 'एक घंटा',\n            hh: '%d घंटे',\n            d: 'एक दिन',\n            dd: '%d दिन',\n            M: 'एक महीने',\n            MM: '%d महीने',\n            y: 'एक वर्ष',\n            yy: '%d वर्ष',\n        },\n        preparse: function (string) {\n            return string.replace(/[१२३४५६७८९०]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        // Hindi notation for meridiems are quite fuzzy in practice. While there exists\n        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.\n        meridiemParse: /रात|सुबह|दोपहर|शाम/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'रात') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'सुबह') {\n                return hour;\n            } else if (meridiem === 'दोपहर') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'शाम') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'रात';\n            } else if (hour < 10) {\n                return 'सुबह';\n            } else if (hour < 17) {\n                return 'दोपहर';\n            } else if (hour < 20) {\n                return 'शाम';\n            } else {\n                return 'रात';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return hi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Croatian [hr]\n//! author : Bojan Marković : https://github.com/bmarkovic\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function translate(number, withoutSuffix, key) {\n        var result = number + ' ';\n        switch (key) {\n            case 'ss':\n                if (number === 1) {\n                    result += 'sekunda';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'sekunde';\n                } else {\n                    result += 'sekundi';\n                }\n                return result;\n            case 'm':\n                return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n            case 'mm':\n                if (number === 1) {\n                    result += 'minuta';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'minute';\n                } else {\n                    result += 'minuta';\n                }\n                return result;\n            case 'h':\n                return withoutSuffix ? 'jedan sat' : 'jednog sata';\n            case 'hh':\n                if (number === 1) {\n                    result += 'sat';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'sata';\n                } else {\n                    result += 'sati';\n                }\n                return result;\n            case 'dd':\n                if (number === 1) {\n                    result += 'dan';\n                } else {\n                    result += 'dana';\n                }\n                return result;\n            case 'MM':\n                if (number === 1) {\n                    result += 'mjesec';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'mjeseca';\n                } else {\n                    result += 'mjeseci';\n                }\n                return result;\n            case 'yy':\n                if (number === 1) {\n                    result += 'godina';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'godine';\n                } else {\n                    result += 'godina';\n                }\n                return result;\n        }\n    }\n\n    var hr = moment.defineLocale('hr', {\n        months: {\n            format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(\n                '_'\n            ),\n            standalone:\n                'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(\n                    '_'\n                ),\n        },\n        monthsShort:\n            'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'Do MMMM YYYY',\n            LLL: 'Do MMMM YYYY H:mm',\n            LLLL: 'dddd, Do MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[danas u] LT',\n            nextDay: '[sutra u] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[u] [nedjelju] [u] LT';\n                    case 3:\n                        return '[u] [srijedu] [u] LT';\n                    case 6:\n                        return '[u] [subotu] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[u] dddd [u] LT';\n                }\n            },\n            lastDay: '[jučer u] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[prošlu] [nedjelju] [u] LT';\n                    case 3:\n                        return '[prošlu] [srijedu] [u] LT';\n                    case 6:\n                        return '[prošle] [subote] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[prošli] dddd [u] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'prije %s',\n            s: 'par sekundi',\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: 'dan',\n            dd: translate,\n            M: 'mjesec',\n            MM: translate,\n            y: 'godinu',\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return hr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hungarian [hu]\n//! author : Adam Brunner : https://github.com/adambrunner\n//! author : Peter Viszt  : https://github.com/passatgt\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var weekEndings =\n        'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');\n    function translate(number, withoutSuffix, key, isFuture) {\n        var num = number;\n        switch (key) {\n            case 's':\n                return isFuture || withoutSuffix\n                    ? 'néhány másodperc'\n                    : 'néhány másodperce';\n            case 'ss':\n                return (\n                    num + (isFuture || withoutSuffix ? ' másodperc' : ' másodperce')\n                );\n            case 'm':\n                return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');\n            case 'mm':\n                return num + (isFuture || withoutSuffix ? ' perc' : ' perce');\n            case 'h':\n                return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');\n            case 'hh':\n                return num + (isFuture || withoutSuffix ? ' óra' : ' órája');\n            case 'd':\n                return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');\n            case 'dd':\n                return num + (isFuture || withoutSuffix ? ' nap' : ' napja');\n            case 'M':\n                return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n            case 'MM':\n                return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n            case 'y':\n                return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');\n            case 'yy':\n                return num + (isFuture || withoutSuffix ? ' év' : ' éve');\n        }\n        return '';\n    }\n    function week(isFuture) {\n        return (\n            (isFuture ? '' : '[múlt] ') +\n            '[' +\n            weekEndings[this.day()] +\n            '] LT[-kor]'\n        );\n    }\n\n    var hu = moment.defineLocale('hu', {\n        months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(\n            '_'\n        ),\n        monthsShort:\n            'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),\n        weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),\n        weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'YYYY.MM.DD.',\n            LL: 'YYYY. MMMM D.',\n            LLL: 'YYYY. MMMM D. H:mm',\n            LLLL: 'YYYY. MMMM D., dddd H:mm',\n        },\n        meridiemParse: /de|du/i,\n        isPM: function (input) {\n            return input.charAt(1).toLowerCase() === 'u';\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower === true ? 'de' : 'DE';\n            } else {\n                return isLower === true ? 'du' : 'DU';\n            }\n        },\n        calendar: {\n            sameDay: '[ma] LT[-kor]',\n            nextDay: '[holnap] LT[-kor]',\n            nextWeek: function () {\n                return week.call(this, true);\n            },\n            lastDay: '[tegnap] LT[-kor]',\n            lastWeek: function () {\n                return week.call(this, false);\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s múlva',\n            past: '%s',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return hu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Armenian [hy-am]\n//! author : Armendarabyan : https://github.com/armendarabyan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var hyAm = moment.defineLocale('hy-am', {\n        months: {\n            format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(\n                '_'\n            ),\n            standalone:\n                'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(\n                    '_'\n                ),\n        },\n        monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),\n        weekdays:\n            'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(\n                '_'\n            ),\n        weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),\n        weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY թ.',\n            LLL: 'D MMMM YYYY թ., HH:mm',\n            LLLL: 'dddd, D MMMM YYYY թ., HH:mm',\n        },\n        calendar: {\n            sameDay: '[այսօր] LT',\n            nextDay: '[վաղը] LT',\n            lastDay: '[երեկ] LT',\n            nextWeek: function () {\n                return 'dddd [օրը ժամը] LT';\n            },\n            lastWeek: function () {\n                return '[անցած] dddd [օրը ժամը] LT';\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s հետո',\n            past: '%s առաջ',\n            s: 'մի քանի վայրկյան',\n            ss: '%d վայրկյան',\n            m: 'րոպե',\n            mm: '%d րոպե',\n            h: 'ժամ',\n            hh: '%d ժամ',\n            d: 'օր',\n            dd: '%d օր',\n            M: 'ամիս',\n            MM: '%d ամիս',\n            y: 'տարի',\n            yy: '%d տարի',\n        },\n        meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,\n        isPM: function (input) {\n            return /^(ցերեկվա|երեկոյան)$/.test(input);\n        },\n        meridiem: function (hour) {\n            if (hour < 4) {\n                return 'գիշերվա';\n            } else if (hour < 12) {\n                return 'առավոտվա';\n            } else if (hour < 17) {\n                return 'ցերեկվա';\n            } else {\n                return 'երեկոյան';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}|\\d{1,2}-(ին|րդ)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'DDD':\n                case 'w':\n                case 'W':\n                case 'DDDo':\n                    if (number === 1) {\n                        return number + '-ին';\n                    }\n                    return number + '-րդ';\n                default:\n                    return number;\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return hyAm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Indonesian [id]\n//! author : Mohammad Satrio Utomo : https://github.com/tyok\n//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsParse = [],\n        longMonthsParse = [],\n        shortMonthsParse = [];\n\n    monthsParse[7] = /^agustus|^agu|^agt/i;\n    longMonthsParse[7] = /^agustus$/i;\n    shortMonthsParse[7] = /^agu$|^agt$/i;\n\n    var id = moment.defineLocale('id', {\n        months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agu_Sep_Okt_Nov_Des'.split('_'),\n        monthsParse: monthsParse,\n        longMonthsParse: longMonthsParse,\n        shortMonthsParse: shortMonthsParse,\n        weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),\n        weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),\n        weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [pukul] HH.mm',\n            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n        },\n        meridiemParse: /pagi|siang|sore|malam/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'pagi') {\n                return hour;\n            } else if (meridiem === 'siang') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'sore' || meridiem === 'malam') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'pagi';\n            } else if (hours < 15) {\n                return 'siang';\n            } else if (hours < 19) {\n                return 'sore';\n            } else {\n                return 'malam';\n            }\n        },\n        calendar: {\n            sameDay: '[Hari ini pukul] LT',\n            nextDay: '[Besok pukul] LT',\n            nextWeek: 'dddd [pukul] LT',\n            lastDay: '[Kemarin pukul] LT',\n            lastWeek: 'dddd [lalu pukul] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dalam %s',\n            past: '%s yang lalu',\n            s: 'beberapa detik',\n            ss: '%d detik',\n            m: 'semenit',\n            mm: '%d menit',\n            h: 'sejam',\n            hh: '%d jam',\n            d: 'sehari',\n            dd: '%d hari',\n            M: 'sebulan',\n            MM: '%d bulan',\n            y: 'setahun',\n            yy: '%d tahun',\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return id;\n\n})));\n","//! moment.js locale configuration\n//! locale : Icelandic [is]\n//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function plural(n) {\n        if (n % 100 === 11) {\n            return true;\n        } else if (n % 10 === 1) {\n            return false;\n        }\n        return true;\n    }\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        switch (key) {\n            case 's':\n                return withoutSuffix || isFuture\n                    ? 'nokkrar sekúndur'\n                    : 'nokkrum sekúndum';\n            case 'ss':\n                if (plural(number)) {\n                    return (\n                        result +\n                        (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')\n                    );\n                }\n                return result + 'sekúnda';\n            case 'm':\n                return withoutSuffix ? 'mínúta' : 'mínútu';\n            case 'mm':\n                if (plural(number)) {\n                    return (\n                        result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')\n                    );\n                } else if (withoutSuffix) {\n                    return result + 'mínúta';\n                }\n                return result + 'mínútu';\n            case 'hh':\n                if (plural(number)) {\n                    return (\n                        result +\n                        (withoutSuffix || isFuture\n                            ? 'klukkustundir'\n                            : 'klukkustundum')\n                    );\n                }\n                return result + 'klukkustund';\n            case 'd':\n                if (withoutSuffix) {\n                    return 'dagur';\n                }\n                return isFuture ? 'dag' : 'degi';\n            case 'dd':\n                if (plural(number)) {\n                    if (withoutSuffix) {\n                        return result + 'dagar';\n                    }\n                    return result + (isFuture ? 'daga' : 'dögum');\n                } else if (withoutSuffix) {\n                    return result + 'dagur';\n                }\n                return result + (isFuture ? 'dag' : 'degi');\n            case 'M':\n                if (withoutSuffix) {\n                    return 'mánuður';\n                }\n                return isFuture ? 'mánuð' : 'mánuði';\n            case 'MM':\n                if (plural(number)) {\n                    if (withoutSuffix) {\n                        return result + 'mánuðir';\n                    }\n                    return result + (isFuture ? 'mánuði' : 'mánuðum');\n                } else if (withoutSuffix) {\n                    return result + 'mánuður';\n                }\n                return result + (isFuture ? 'mánuð' : 'mánuði');\n            case 'y':\n                return withoutSuffix || isFuture ? 'ár' : 'ári';\n            case 'yy':\n                if (plural(number)) {\n                    return result + (withoutSuffix || isFuture ? 'ár' : 'árum');\n                }\n                return result + (withoutSuffix || isFuture ? 'ár' : 'ári');\n        }\n    }\n\n    var is = moment.defineLocale('is', {\n        months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),\n        weekdays:\n            'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(\n                '_'\n            ),\n        weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),\n        weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY [kl.] H:mm',\n            LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',\n        },\n        calendar: {\n            sameDay: '[í dag kl.] LT',\n            nextDay: '[á morgun kl.] LT',\n            nextWeek: 'dddd [kl.] LT',\n            lastDay: '[í gær kl.] LT',\n            lastWeek: '[síðasta] dddd [kl.] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'eftir %s',\n            past: 'fyrir %s síðan',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: 'klukkustund',\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return is;\n\n})));\n","//! moment.js locale configuration\n//! locale : Italian (Switzerland) [it-ch]\n//! author : xfh : https://github.com/xfh\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var itCh = moment.defineLocale('it-ch', {\n        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(\n            '_'\n        ),\n        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(\n            '_'\n        ),\n        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Oggi alle] LT',\n            nextDay: '[Domani alle] LT',\n            nextWeek: 'dddd [alle] LT',\n            lastDay: '[Ieri alle] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[la scorsa] dddd [alle] LT';\n                    default:\n                        return '[lo scorso] dddd [alle] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: function (s) {\n                return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;\n            },\n            past: '%s fa',\n            s: 'alcuni secondi',\n            ss: '%d secondi',\n            m: 'un minuto',\n            mm: '%d minuti',\n            h: \"un'ora\",\n            hh: '%d ore',\n            d: 'un giorno',\n            dd: '%d giorni',\n            M: 'un mese',\n            MM: '%d mesi',\n            y: 'un anno',\n            yy: '%d anni',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return itCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Italian [it]\n//! author : Lorenzo : https://github.com/aliem\n//! author: Mattia Larentis: https://github.com/nostalgiaz\n//! author: Marco : https://github.com/Manfre98\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var it = moment.defineLocale('it', {\n        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(\n            '_'\n        ),\n        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(\n            '_'\n        ),\n        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return (\n                    '[Oggi a' +\n                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n                    ']LT'\n                );\n            },\n            nextDay: function () {\n                return (\n                    '[Domani a' +\n                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n                    ']LT'\n                );\n            },\n            nextWeek: function () {\n                return (\n                    'dddd [a' +\n                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n                    ']LT'\n                );\n            },\n            lastDay: function () {\n                return (\n                    '[Ieri a' +\n                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n                    ']LT'\n                );\n            },\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return (\n                            '[La scorsa] dddd [a' +\n                            (this.hours() > 1\n                                ? 'lle '\n                                : this.hours() === 0\n                                  ? ' '\n                                  : \"ll'\") +\n                            ']LT'\n                        );\n                    default:\n                        return (\n                            '[Lo scorso] dddd [a' +\n                            (this.hours() > 1\n                                ? 'lle '\n                                : this.hours() === 0\n                                  ? ' '\n                                  : \"ll'\") +\n                            ']LT'\n                        );\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'tra %s',\n            past: '%s fa',\n            s: 'alcuni secondi',\n            ss: '%d secondi',\n            m: 'un minuto',\n            mm: '%d minuti',\n            h: \"un'ora\",\n            hh: '%d ore',\n            d: 'un giorno',\n            dd: '%d giorni',\n            w: 'una settimana',\n            ww: '%d settimane',\n            M: 'un mese',\n            MM: '%d mesi',\n            y: 'un anno',\n            yy: '%d anni',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return it;\n\n})));\n","//! moment.js locale configuration\n//! locale : Japanese [ja]\n//! author : LI Long : https://github.com/baryon\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ja = moment.defineLocale('ja', {\n        eras: [\n            {\n                since: '2019-05-01',\n                offset: 1,\n                name: '令和',\n                narrow: '㋿',\n                abbr: 'R',\n            },\n            {\n                since: '1989-01-08',\n                until: '2019-04-30',\n                offset: 1,\n                name: '平成',\n                narrow: '㍻',\n                abbr: 'H',\n            },\n            {\n                since: '1926-12-25',\n                until: '1989-01-07',\n                offset: 1,\n                name: '昭和',\n                narrow: '㍼',\n                abbr: 'S',\n            },\n            {\n                since: '1912-07-30',\n                until: '1926-12-24',\n                offset: 1,\n                name: '大正',\n                narrow: '㍽',\n                abbr: 'T',\n            },\n            {\n                since: '1873-01-01',\n                until: '1912-07-29',\n                offset: 6,\n                name: '明治',\n                narrow: '㍾',\n                abbr: 'M',\n            },\n            {\n                since: '0001-01-01',\n                until: '1873-12-31',\n                offset: 1,\n                name: '西暦',\n                narrow: 'AD',\n                abbr: 'AD',\n            },\n            {\n                since: '0000-12-31',\n                until: -Infinity,\n                offset: 1,\n                name: '紀元前',\n                narrow: 'BC',\n                abbr: 'BC',\n            },\n        ],\n        eraYearOrdinalRegex: /(元|\\d+)年/,\n        eraYearOrdinalParse: function (input, match) {\n            return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);\n        },\n        months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),\n        weekdaysShort: '日_月_火_水_木_金_土'.split('_'),\n        weekdaysMin: '日_月_火_水_木_金_土'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日 HH:mm',\n            LLLL: 'YYYY年M月D日 dddd HH:mm',\n            l: 'YYYY/MM/DD',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日(ddd) HH:mm',\n        },\n        meridiemParse: /午前|午後/i,\n        isPM: function (input) {\n            return input === '午後';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return '午前';\n            } else {\n                return '午後';\n            }\n        },\n        calendar: {\n            sameDay: '[今日] LT',\n            nextDay: '[明日] LT',\n            nextWeek: function (now) {\n                if (now.week() !== this.week()) {\n                    return '[来週]dddd LT';\n                } else {\n                    return 'dddd LT';\n                }\n            },\n            lastDay: '[昨日] LT',\n            lastWeek: function (now) {\n                if (this.week() !== now.week()) {\n                    return '[先週]dddd LT';\n                } else {\n                    return 'dddd LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}日/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'y':\n                    return number === 1 ? '元年' : number + '年';\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s後',\n            past: '%s前',\n            s: '数秒',\n            ss: '%d秒',\n            m: '1分',\n            mm: '%d分',\n            h: '1時間',\n            hh: '%d時間',\n            d: '1日',\n            dd: '%d日',\n            M: '1ヶ月',\n            MM: '%dヶ月',\n            y: '1年',\n            yy: '%d年',\n        },\n    });\n\n    return ja;\n\n})));\n","//! moment.js locale configuration\n//! locale : Javanese [jv]\n//! author : Rony Lantip : https://github.com/lantip\n//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var jv = moment.defineLocale('jv', {\n        months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),\n        weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),\n        weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),\n        weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [pukul] HH.mm',\n            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n        },\n        meridiemParse: /enjing|siyang|sonten|ndalu/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'enjing') {\n                return hour;\n            } else if (meridiem === 'siyang') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'sonten' || meridiem === 'ndalu') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'enjing';\n            } else if (hours < 15) {\n                return 'siyang';\n            } else if (hours < 19) {\n                return 'sonten';\n            } else {\n                return 'ndalu';\n            }\n        },\n        calendar: {\n            sameDay: '[Dinten puniko pukul] LT',\n            nextDay: '[Mbenjang pukul] LT',\n            nextWeek: 'dddd [pukul] LT',\n            lastDay: '[Kala wingi pukul] LT',\n            lastWeek: 'dddd [kepengker pukul] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'wonten ing %s',\n            past: '%s ingkang kepengker',\n            s: 'sawetawis detik',\n            ss: '%d detik',\n            m: 'setunggal menit',\n            mm: '%d menit',\n            h: 'setunggal jam',\n            hh: '%d jam',\n            d: 'sedinten',\n            dd: '%d dinten',\n            M: 'sewulan',\n            MM: '%d wulan',\n            y: 'setaun',\n            yy: '%d taun',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return jv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Georgian [ka]\n//! author : Irakli Janiashvili : https://github.com/IrakliJani\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ka = moment.defineLocale('ka', {\n        months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(\n            '_'\n        ),\n        monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),\n        weekdays: {\n            standalone:\n                'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(\n                    '_'\n                ),\n            format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(\n                '_'\n            ),\n            isFormat: /(წინა|შემდეგ)/,\n        },\n        weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),\n        weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[დღეს] LT[-ზე]',\n            nextDay: '[ხვალ] LT[-ზე]',\n            lastDay: '[გუშინ] LT[-ზე]',\n            nextWeek: '[შემდეგ] dddd LT[-ზე]',\n            lastWeek: '[წინა] dddd LT-ზე',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: function (s) {\n                return s.replace(\n                    /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,\n                    function ($0, $1, $2) {\n                        return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';\n                    }\n                );\n            },\n            past: function (s) {\n                if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {\n                    return s.replace(/(ი|ე)$/, 'ის წინ');\n                }\n                if (/წელი/.test(s)) {\n                    return s.replace(/წელი$/, 'წლის წინ');\n                }\n                return s;\n            },\n            s: 'რამდენიმე წამი',\n            ss: '%d წამი',\n            m: 'წუთი',\n            mm: '%d წუთი',\n            h: 'საათი',\n            hh: '%d საათი',\n            d: 'დღე',\n            dd: '%d დღე',\n            M: 'თვე',\n            MM: '%d თვე',\n            y: 'წელი',\n            yy: '%d წელი',\n        },\n        dayOfMonthOrdinalParse: /0|1-ლი|მე-\\d{1,2}|\\d{1,2}-ე/,\n        ordinal: function (number) {\n            if (number === 0) {\n                return number;\n            }\n            if (number === 1) {\n                return number + '-ლი';\n            }\n            if (\n                number < 20 ||\n                (number <= 100 && number % 20 === 0) ||\n                number % 100 === 0\n            ) {\n                return 'მე-' + number;\n            }\n            return number + '-ე';\n        },\n        week: {\n            dow: 1,\n            doy: 7,\n        },\n    });\n\n    return ka;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kazakh [kk]\n//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        0: '-ші',\n        1: '-ші',\n        2: '-ші',\n        3: '-ші',\n        4: '-ші',\n        5: '-ші',\n        6: '-шы',\n        7: '-ші',\n        8: '-ші',\n        9: '-шы',\n        10: '-шы',\n        20: '-шы',\n        30: '-шы',\n        40: '-шы',\n        50: '-ші',\n        60: '-шы',\n        70: '-ші',\n        80: '-ші',\n        90: '-шы',\n        100: '-ші',\n    };\n\n    var kk = moment.defineLocale('kk', {\n        months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(\n            '_'\n        ),\n        monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),\n        weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(\n            '_'\n        ),\n        weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),\n        weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Бүгін сағат] LT',\n            nextDay: '[Ертең сағат] LT',\n            nextWeek: 'dddd [сағат] LT',\n            lastDay: '[Кеше сағат] LT',\n            lastWeek: '[Өткен аптаның] dddd [сағат] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ішінде',\n            past: '%s бұрын',\n            s: 'бірнеше секунд',\n            ss: '%d секунд',\n            m: 'бір минут',\n            mm: '%d минут',\n            h: 'бір сағат',\n            hh: '%d сағат',\n            d: 'бір күн',\n            dd: '%d күн',\n            M: 'бір ай',\n            MM: '%d ай',\n            y: 'бір жыл',\n            yy: '%d жыл',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ші|шы)/,\n        ordinal: function (number) {\n            var a = number % 10,\n                b = number >= 100 ? 100 : null;\n            return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return kk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Cambodian [km]\n//! author : Kruy Vanna : https://github.com/kruyvanna\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '១',\n            2: '២',\n            3: '៣',\n            4: '៤',\n            5: '៥',\n            6: '៦',\n            7: '៧',\n            8: '៨',\n            9: '៩',\n            0: '០',\n        },\n        numberMap = {\n            '១': '1',\n            '២': '2',\n            '៣': '3',\n            '៤': '4',\n            '៥': '5',\n            '៦': '6',\n            '៧': '7',\n            '៨': '8',\n            '៩': '9',\n            '០': '0',\n        };\n\n    var km = moment.defineLocale('km', {\n        months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n            '_'\n        ),\n        monthsShort:\n            'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n                '_'\n            ),\n        weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),\n        weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n        weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ព្រឹក|ល្ងាច/,\n        isPM: function (input) {\n            return input === 'ល្ងាច';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ព្រឹក';\n            } else {\n                return 'ល្ងាច';\n            }\n        },\n        calendar: {\n            sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',\n            nextDay: '[ស្អែក ម៉ោង] LT',\n            nextWeek: 'dddd [ម៉ោង] LT',\n            lastDay: '[ម្សិលមិញ ម៉ោង] LT',\n            lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%sទៀត',\n            past: '%sមុន',\n            s: 'ប៉ុន្មានវិនាទី',\n            ss: '%d វិនាទី',\n            m: 'មួយនាទី',\n            mm: '%d នាទី',\n            h: 'មួយម៉ោង',\n            hh: '%d ម៉ោង',\n            d: 'មួយថ្ងៃ',\n            dd: '%d ថ្ងៃ',\n            M: 'មួយខែ',\n            MM: '%d ខែ',\n            y: 'មួយឆ្នាំ',\n            yy: '%d ឆ្នាំ',\n        },\n        dayOfMonthOrdinalParse: /ទី\\d{1,2}/,\n        ordinal: 'ទី%d',\n        preparse: function (string) {\n            return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return km;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kannada [kn]\n//! author : Rajeev Naik : https://github.com/rajeevnaikte\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '೧',\n            2: '೨',\n            3: '೩',\n            4: '೪',\n            5: '೫',\n            6: '೬',\n            7: '೭',\n            8: '೮',\n            9: '೯',\n            0: '೦',\n        },\n        numberMap = {\n            '೧': '1',\n            '೨': '2',\n            '೩': '3',\n            '೪': '4',\n            '೫': '5',\n            '೬': '6',\n            '೭': '7',\n            '೮': '8',\n            '೯': '9',\n            '೦': '0',\n        };\n\n    var kn = moment.defineLocale('kn', {\n        months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(\n            '_'\n        ),\n        monthsShort:\n            'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(\n            '_'\n        ),\n        weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),\n        weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm',\n            LTS: 'A h:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm',\n        },\n        calendar: {\n            sameDay: '[ಇಂದು] LT',\n            nextDay: '[ನಾಳೆ] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[ನಿನ್ನೆ] LT',\n            lastWeek: '[ಕೊನೆಯ] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ನಂತರ',\n            past: '%s ಹಿಂದೆ',\n            s: 'ಕೆಲವು ಕ್ಷಣಗಳು',\n            ss: '%d ಸೆಕೆಂಡುಗಳು',\n            m: 'ಒಂದು ನಿಮಿಷ',\n            mm: '%d ನಿಮಿಷ',\n            h: 'ಒಂದು ಗಂಟೆ',\n            hh: '%d ಗಂಟೆ',\n            d: 'ಒಂದು ದಿನ',\n            dd: '%d ದಿನ',\n            M: 'ಒಂದು ತಿಂಗಳು',\n            MM: '%d ತಿಂಗಳು',\n            y: 'ಒಂದು ವರ್ಷ',\n            yy: '%d ವರ್ಷ',\n        },\n        preparse: function (string) {\n            return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'ರಾತ್ರಿ') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {\n                return hour;\n            } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'ಸಂಜೆ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ರಾತ್ರಿ';\n            } else if (hour < 10) {\n                return 'ಬೆಳಿಗ್ಗೆ';\n            } else if (hour < 17) {\n                return 'ಮಧ್ಯಾಹ್ನ';\n            } else if (hour < 20) {\n                return 'ಸಂಜೆ';\n            } else {\n                return 'ರಾತ್ರಿ';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ನೇ)/,\n        ordinal: function (number) {\n            return number + 'ನೇ';\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return kn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Korean [ko]\n//! author : Kyungwook, Park : https://github.com/kyungw00k\n//! author : Jeeeyul Lee <jeeeyul@gmail.com>\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ko = moment.defineLocale('ko', {\n        months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),\n        monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(\n            '_'\n        ),\n        weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),\n        weekdaysShort: '일_월_화_수_목_금_토'.split('_'),\n        weekdaysMin: '일_월_화_수_목_금_토'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm',\n            LTS: 'A h:mm:ss',\n            L: 'YYYY.MM.DD.',\n            LL: 'YYYY년 MMMM D일',\n            LLL: 'YYYY년 MMMM D일 A h:mm',\n            LLLL: 'YYYY년 MMMM D일 dddd A h:mm',\n            l: 'YYYY.MM.DD.',\n            ll: 'YYYY년 MMMM D일',\n            lll: 'YYYY년 MMMM D일 A h:mm',\n            llll: 'YYYY년 MMMM D일 dddd A h:mm',\n        },\n        calendar: {\n            sameDay: '오늘 LT',\n            nextDay: '내일 LT',\n            nextWeek: 'dddd LT',\n            lastDay: '어제 LT',\n            lastWeek: '지난주 dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s 후',\n            past: '%s 전',\n            s: '몇 초',\n            ss: '%d초',\n            m: '1분',\n            mm: '%d분',\n            h: '한 시간',\n            hh: '%d시간',\n            d: '하루',\n            dd: '%d일',\n            M: '한 달',\n            MM: '%d달',\n            y: '일 년',\n            yy: '%d년',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(일|월|주)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '일';\n                case 'M':\n                    return number + '월';\n                case 'w':\n                case 'W':\n                    return number + '주';\n                default:\n                    return number;\n            }\n        },\n        meridiemParse: /오전|오후/,\n        isPM: function (token) {\n            return token === '오후';\n        },\n        meridiem: function (hour, minute, isUpper) {\n            return hour < 12 ? '오전' : '오후';\n        },\n    });\n\n    return ko;\n\n})));\n","//! moment.js locale configuration\n//! locale : Northern Kurdish [ku-kmr]\n//! authors : Mazlum Özdogan : https://github.com/mergehez\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(num, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['çend sanîye', 'çend sanîyeyan'],\n            ss: [num + ' sanîye', num + ' sanîyeyan'],\n            m: ['deqîqeyek', 'deqîqeyekê'],\n            mm: [num + ' deqîqe', num + ' deqîqeyan'],\n            h: ['saetek', 'saetekê'],\n            hh: [num + ' saet', num + ' saetan'],\n            d: ['rojek', 'rojekê'],\n            dd: [num + ' roj', num + ' rojan'],\n            w: ['hefteyek', 'hefteyekê'],\n            ww: [num + ' hefte', num + ' hefteyan'],\n            M: ['mehek', 'mehekê'],\n            MM: [num + ' meh', num + ' mehan'],\n            y: ['salek', 'salekê'],\n            yy: [num + ' sal', num + ' salan'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n    // function obliqueNumSuffix(num) {\n    //     if(num.includes(':'))\n    //         num = parseInt(num.split(':')[0]);\n    //     else\n    //         num = parseInt(num);\n    //     return num == 0 || num % 10 == 1 ? 'ê'\n    //                         : (num > 10 && num % 10 == 0 ? 'î' : 'an');\n    // }\n    function ezafeNumSuffix(num) {\n        num = '' + num;\n        var l = num.substring(num.length - 1),\n            ll = num.length > 1 ? num.substring(num.length - 2) : '';\n        if (\n            !(ll == 12 || ll == 13) &&\n            (l == '2' || l == '3' || ll == '50' || l == '70' || l == '80')\n        )\n            return 'yê';\n        return 'ê';\n    }\n\n    var kuKmr = moment.defineLocale('ku-kmr', {\n        // According to the spelling rules defined by the work group of Weqfa Mezopotamyayê (Mesopotamia Foundation)\n        // this should be: 'Kanûna Paşîn_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Çirîya Pêşîn_Çirîya Paşîn_Kanûna Pêşîn'\n        // But the names below are more well known and handy\n        months: 'Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar'.split(\n            '_'\n        ),\n        monthsShort: 'Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber'.split('_'),\n        monthsParseExact: true,\n        weekdays: 'Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî'.split('_'),\n        weekdaysShort: 'Yek_Du_Sê_Çar_Pên_În_Şem'.split('_'),\n        weekdaysMin: 'Ye_Du_Sê_Ça_Pê_În_Şe'.split('_'),\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower ? 'bn' : 'BN';\n            } else {\n                return isLower ? 'pn' : 'PN';\n            }\n        },\n        meridiemParse: /bn|BN|pn|PN/,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'Do MMMM[a] YYYY[an]',\n            LLL: 'Do MMMM[a] YYYY[an] HH:mm',\n            LLLL: 'dddd, Do MMMM[a] YYYY[an] HH:mm',\n            ll: 'Do MMM[.] YYYY[an]',\n            lll: 'Do MMM[.] YYYY[an] HH:mm',\n            llll: 'ddd[.], Do MMM[.] YYYY[an] HH:mm',\n        },\n        calendar: {\n            sameDay: '[Îro di saet] LT [de]',\n            nextDay: '[Sibê di saet] LT [de]',\n            nextWeek: 'dddd [di saet] LT [de]',\n            lastDay: '[Duh di saet] LT [de]',\n            lastWeek: 'dddd[a borî di saet] LT [de]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'di %s de',\n            past: 'berî %s',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            w: processRelativeTime,\n            ww: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(?:yê|ê|\\.)/,\n        ordinal: function (num, period) {\n            var p = period.toLowerCase();\n            if (p.includes('w') || p.includes('m')) return num + '.';\n\n            return num + ezafeNumSuffix(num);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return kuKmr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kurdish [ku]\n//! author : Shahram Mebashar : https://github.com/ShahramMebashar\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '١',\n            2: '٢',\n            3: '٣',\n            4: '٤',\n            5: '٥',\n            6: '٦',\n            7: '٧',\n            8: '٨',\n            9: '٩',\n            0: '٠',\n        },\n        numberMap = {\n            '١': '1',\n            '٢': '2',\n            '٣': '3',\n            '٤': '4',\n            '٥': '5',\n            '٦': '6',\n            '٧': '7',\n            '٨': '8',\n            '٩': '9',\n            '٠': '0',\n        },\n        months = [\n            'کانونی دووەم',\n            'شوبات',\n            'ئازار',\n            'نیسان',\n            'ئایار',\n            'حوزەیران',\n            'تەمموز',\n            'ئاب',\n            'ئەیلوول',\n            'تشرینی یەكەم',\n            'تشرینی دووەم',\n            'كانونی یەکەم',\n        ];\n\n    var ku = moment.defineLocale('ku', {\n        months: months,\n        monthsShort: months,\n        weekdays:\n            'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(\n                '_'\n            ),\n        weekdaysShort:\n            'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),\n        weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ئێواره‌|به‌یانی/,\n        isPM: function (input) {\n            return /ئێواره‌/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'به‌یانی';\n            } else {\n                return 'ئێواره‌';\n            }\n        },\n        calendar: {\n            sameDay: '[ئه‌مرۆ كاتژمێر] LT',\n            nextDay: '[به‌یانی كاتژمێر] LT',\n            nextWeek: 'dddd [كاتژمێر] LT',\n            lastDay: '[دوێنێ كاتژمێر] LT',\n            lastWeek: 'dddd [كاتژمێر] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'له‌ %s',\n            past: '%s',\n            s: 'چه‌ند چركه‌یه‌ك',\n            ss: 'چركه‌ %d',\n            m: 'یه‌ك خوله‌ك',\n            mm: '%d خوله‌ك',\n            h: 'یه‌ك كاتژمێر',\n            hh: '%d كاتژمێر',\n            d: 'یه‌ك ڕۆژ',\n            dd: '%d ڕۆژ',\n            M: 'یه‌ك مانگ',\n            MM: '%d مانگ',\n            y: 'یه‌ك ساڵ',\n            yy: '%d ساڵ',\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return ku;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kyrgyz [ky]\n//! author : Chyngyz Arystan uulu : https://github.com/chyngyz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        0: '-чү',\n        1: '-чи',\n        2: '-чи',\n        3: '-чү',\n        4: '-чү',\n        5: '-чи',\n        6: '-чы',\n        7: '-чи',\n        8: '-чи',\n        9: '-чу',\n        10: '-чу',\n        20: '-чы',\n        30: '-чу',\n        40: '-чы',\n        50: '-чү',\n        60: '-чы',\n        70: '-чи',\n        80: '-чи',\n        90: '-чу',\n        100: '-чү',\n    };\n\n    var ky = moment.defineLocale('ky', {\n        months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(\n            '_'\n        ),\n        monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(\n            '_'\n        ),\n        weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(\n            '_'\n        ),\n        weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),\n        weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Бүгүн саат] LT',\n            nextDay: '[Эртең саат] LT',\n            nextWeek: 'dddd [саат] LT',\n            lastDay: '[Кечээ саат] LT',\n            lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ичинде',\n            past: '%s мурун',\n            s: 'бирнече секунд',\n            ss: '%d секунд',\n            m: 'бир мүнөт',\n            mm: '%d мүнөт',\n            h: 'бир саат',\n            hh: '%d саат',\n            d: 'бир күн',\n            dd: '%d күн',\n            M: 'бир ай',\n            MM: '%d ай',\n            y: 'бир жыл',\n            yy: '%d жыл',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(чи|чы|чү|чу)/,\n        ordinal: function (number) {\n            var a = number % 10,\n                b = number >= 100 ? 100 : null;\n            return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return ky;\n\n})));\n","//! moment.js locale configuration\n//! locale : Luxembourgish [lb]\n//! author : mweimerskirch : https://github.com/mweimerskirch\n//! author : David Raison : https://github.com/kwisatz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eng Minutt', 'enger Minutt'],\n            h: ['eng Stonn', 'enger Stonn'],\n            d: ['een Dag', 'engem Dag'],\n            M: ['ee Mount', 'engem Mount'],\n            y: ['ee Joer', 'engem Joer'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n    function processFutureTime(string) {\n        var number = string.substr(0, string.indexOf(' '));\n        if (eifelerRegelAppliesToNumber(number)) {\n            return 'a ' + string;\n        }\n        return 'an ' + string;\n    }\n    function processPastTime(string) {\n        var number = string.substr(0, string.indexOf(' '));\n        if (eifelerRegelAppliesToNumber(number)) {\n            return 'viru ' + string;\n        }\n        return 'virun ' + string;\n    }\n    /**\n     * Returns true if the word before the given number loses the '-n' ending.\n     * e.g. 'an 10 Deeg' but 'a 5 Deeg'\n     *\n     * @param number {integer}\n     * @returns {boolean}\n     */\n    function eifelerRegelAppliesToNumber(number) {\n        number = parseInt(number, 10);\n        if (isNaN(number)) {\n            return false;\n        }\n        if (number < 0) {\n            // Negative Number --> always true\n            return true;\n        } else if (number < 10) {\n            // Only 1 digit\n            if (4 <= number && number <= 7) {\n                return true;\n            }\n            return false;\n        } else if (number < 100) {\n            // 2 digits\n            var lastDigit = number % 10,\n                firstDigit = number / 10;\n            if (lastDigit === 0) {\n                return eifelerRegelAppliesToNumber(firstDigit);\n            }\n            return eifelerRegelAppliesToNumber(lastDigit);\n        } else if (number < 10000) {\n            // 3 or 4 digits --> recursively check first digit\n            while (number >= 10) {\n                number = number / 10;\n            }\n            return eifelerRegelAppliesToNumber(number);\n        } else {\n            // Anything larger than 4 digits: recursively check first n-3 digits\n            number = number / 1000;\n            return eifelerRegelAppliesToNumber(number);\n        }\n    }\n\n    var lb = moment.defineLocale('lb', {\n        months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort:\n            'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays:\n            'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(\n                '_'\n            ),\n        weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),\n        weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm [Auer]',\n            LTS: 'H:mm:ss [Auer]',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm [Auer]',\n            LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',\n        },\n        calendar: {\n            sameDay: '[Haut um] LT',\n            sameElse: 'L',\n            nextDay: '[Muer um] LT',\n            nextWeek: 'dddd [um] LT',\n            lastDay: '[Gëschter um] LT',\n            lastWeek: function () {\n                // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule\n                switch (this.day()) {\n                    case 2:\n                    case 4:\n                        return '[Leschten] dddd [um] LT';\n                    default:\n                        return '[Leschte] dddd [um] LT';\n                }\n            },\n        },\n        relativeTime: {\n            future: processFutureTime,\n            past: processPastTime,\n            s: 'e puer Sekonnen',\n            ss: '%d Sekonnen',\n            m: processRelativeTime,\n            mm: '%d Minutten',\n            h: processRelativeTime,\n            hh: '%d Stonnen',\n            d: processRelativeTime,\n            dd: '%d Deeg',\n            M: processRelativeTime,\n            MM: '%d Méint',\n            y: processRelativeTime,\n            yy: '%d Joer',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return lb;\n\n})));\n","//! moment.js locale configuration\n//! locale : Lao [lo]\n//! author : Ryan Hart : https://github.com/ryanhart2\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var lo = moment.defineLocale('lo', {\n        months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(\n            '_'\n        ),\n        monthsShort:\n            'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(\n                '_'\n            ),\n        weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),\n        weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),\n        weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'ວັນdddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,\n        isPM: function (input) {\n            return input === 'ຕອນແລງ';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ຕອນເຊົ້າ';\n            } else {\n                return 'ຕອນແລງ';\n            }\n        },\n        calendar: {\n            sameDay: '[ມື້ນີ້ເວລາ] LT',\n            nextDay: '[ມື້ອື່ນເວລາ] LT',\n            nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',\n            lastDay: '[ມື້ວານນີ້ເວລາ] LT',\n            lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ອີກ %s',\n            past: '%sຜ່ານມາ',\n            s: 'ບໍ່ເທົ່າໃດວິນາທີ',\n            ss: '%d ວິນາທີ',\n            m: '1 ນາທີ',\n            mm: '%d ນາທີ',\n            h: '1 ຊົ່ວໂມງ',\n            hh: '%d ຊົ່ວໂມງ',\n            d: '1 ມື້',\n            dd: '%d ມື້',\n            M: '1 ເດືອນ',\n            MM: '%d ເດືອນ',\n            y: '1 ປີ',\n            yy: '%d ປີ',\n        },\n        dayOfMonthOrdinalParse: /(ທີ່)\\d{1,2}/,\n        ordinal: function (number) {\n            return 'ທີ່' + number;\n        },\n    });\n\n    return lo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Lithuanian [lt]\n//! author : Mindaugas Mozūras : https://github.com/mmozuras\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var units = {\n        ss: 'sekundė_sekundžių_sekundes',\n        m: 'minutė_minutės_minutę',\n        mm: 'minutės_minučių_minutes',\n        h: 'valanda_valandos_valandą',\n        hh: 'valandos_valandų_valandas',\n        d: 'diena_dienos_dieną',\n        dd: 'dienos_dienų_dienas',\n        M: 'mėnuo_mėnesio_mėnesį',\n        MM: 'mėnesiai_mėnesių_mėnesius',\n        y: 'metai_metų_metus',\n        yy: 'metai_metų_metus',\n    };\n    function translateSeconds(number, withoutSuffix, key, isFuture) {\n        if (withoutSuffix) {\n            return 'kelios sekundės';\n        } else {\n            return isFuture ? 'kelių sekundžių' : 'kelias sekundes';\n        }\n    }\n    function translateSingular(number, withoutSuffix, key, isFuture) {\n        return withoutSuffix\n            ? forms(key)[0]\n            : isFuture\n              ? forms(key)[1]\n              : forms(key)[2];\n    }\n    function special(number) {\n        return number % 10 === 0 || (number > 10 && number < 20);\n    }\n    function forms(key) {\n        return units[key].split('_');\n    }\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        if (number === 1) {\n            return (\n                result + translateSingular(number, withoutSuffix, key[0], isFuture)\n            );\n        } else if (withoutSuffix) {\n            return result + (special(number) ? forms(key)[1] : forms(key)[0]);\n        } else {\n            if (isFuture) {\n                return result + forms(key)[1];\n            } else {\n                return result + (special(number) ? forms(key)[1] : forms(key)[2]);\n            }\n        }\n    }\n    var lt = moment.defineLocale('lt', {\n        months: {\n            format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(\n                '_'\n            ),\n            standalone:\n                'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(\n                    '_'\n                ),\n            isFormat: /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/,\n        },\n        monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),\n        weekdays: {\n            format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(\n                '_'\n            ),\n            standalone:\n                'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(\n                    '_'\n                ),\n            isFormat: /dddd HH:mm/,\n        },\n        weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),\n        weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'YYYY [m.] MMMM D [d.]',\n            LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n            LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',\n            l: 'YYYY-MM-DD',\n            ll: 'YYYY [m.] MMMM D [d.]',\n            lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n            llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',\n        },\n        calendar: {\n            sameDay: '[Šiandien] LT',\n            nextDay: '[Rytoj] LT',\n            nextWeek: 'dddd LT',\n            lastDay: '[Vakar] LT',\n            lastWeek: '[Praėjusį] dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'po %s',\n            past: 'prieš %s',\n            s: translateSeconds,\n            ss: translate,\n            m: translateSingular,\n            mm: translate,\n            h: translateSingular,\n            hh: translate,\n            d: translateSingular,\n            dd: translate,\n            M: translateSingular,\n            MM: translate,\n            y: translateSingular,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-oji/,\n        ordinal: function (number) {\n            return number + '-oji';\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return lt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Latvian [lv]\n//! author : Kristaps Karlsons : https://github.com/skakri\n//! author : Jānis Elmeris : https://github.com/JanisE\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var units = {\n        ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),\n        m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),\n        mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),\n        h: 'stundas_stundām_stunda_stundas'.split('_'),\n        hh: 'stundas_stundām_stunda_stundas'.split('_'),\n        d: 'dienas_dienām_diena_dienas'.split('_'),\n        dd: 'dienas_dienām_diena_dienas'.split('_'),\n        M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),\n        MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),\n        y: 'gada_gadiem_gads_gadi'.split('_'),\n        yy: 'gada_gadiem_gads_gadi'.split('_'),\n    };\n    /**\n     * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.\n     */\n    function format(forms, number, withoutSuffix) {\n        if (withoutSuffix) {\n            // E.g. \"21 minūte\", \"3 minūtes\".\n            return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];\n        } else {\n            // E.g. \"21 minūtes\" as in \"pēc 21 minūtes\".\n            // E.g. \"3 minūtēm\" as in \"pēc 3 minūtēm\".\n            return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];\n        }\n    }\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        return number + ' ' + format(units[key], number, withoutSuffix);\n    }\n    function relativeTimeWithSingular(number, withoutSuffix, key) {\n        return format(units[key], number, withoutSuffix);\n    }\n    function relativeSeconds(number, withoutSuffix) {\n        return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';\n    }\n\n    var lv = moment.defineLocale('lv', {\n        months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),\n        weekdays:\n            'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(\n                '_'\n            ),\n        weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),\n        weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY.',\n            LL: 'YYYY. [gada] D. MMMM',\n            LLL: 'YYYY. [gada] D. MMMM, HH:mm',\n            LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',\n        },\n        calendar: {\n            sameDay: '[Šodien pulksten] LT',\n            nextDay: '[Rīt pulksten] LT',\n            nextWeek: 'dddd [pulksten] LT',\n            lastDay: '[Vakar pulksten] LT',\n            lastWeek: '[Pagājušā] dddd [pulksten] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'pēc %s',\n            past: 'pirms %s',\n            s: relativeSeconds,\n            ss: relativeTimeWithPlural,\n            m: relativeTimeWithSingular,\n            mm: relativeTimeWithPlural,\n            h: relativeTimeWithSingular,\n            hh: relativeTimeWithPlural,\n            d: relativeTimeWithSingular,\n            dd: relativeTimeWithPlural,\n            M: relativeTimeWithSingular,\n            MM: relativeTimeWithPlural,\n            y: relativeTimeWithSingular,\n            yy: relativeTimeWithPlural,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return lv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Montenegrin [me]\n//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var translator = {\n        words: {\n            //Different grammatical cases\n            ss: ['sekund', 'sekunda', 'sekundi'],\n            m: ['jedan minut', 'jednog minuta'],\n            mm: ['minut', 'minuta', 'minuta'],\n            h: ['jedan sat', 'jednog sata'],\n            hh: ['sat', 'sata', 'sati'],\n            dd: ['dan', 'dana', 'dana'],\n            MM: ['mjesec', 'mjeseca', 'mjeseci'],\n            yy: ['godina', 'godine', 'godina'],\n        },\n        correctGrammaticalCase: function (number, wordKey) {\n            return number === 1\n                ? wordKey[0]\n                : number >= 2 && number <= 4\n                  ? wordKey[1]\n                  : wordKey[2];\n        },\n        translate: function (number, withoutSuffix, key) {\n            var wordKey = translator.words[key];\n            if (key.length === 1) {\n                return withoutSuffix ? wordKey[0] : wordKey[1];\n            } else {\n                return (\n                    number +\n                    ' ' +\n                    translator.correctGrammaticalCase(number, wordKey)\n                );\n            }\n        },\n    };\n\n    var me = moment.defineLocale('me', {\n        months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(\n            '_'\n        ),\n        monthsShort:\n            'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),\n        monthsParseExact: true,\n        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd, D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[danas u] LT',\n            nextDay: '[sjutra u] LT',\n\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[u] [nedjelju] [u] LT';\n                    case 3:\n                        return '[u] [srijedu] [u] LT';\n                    case 6:\n                        return '[u] [subotu] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[u] dddd [u] LT';\n                }\n            },\n            lastDay: '[juče u] LT',\n            lastWeek: function () {\n                var lastWeekDays = [\n                    '[prošle] [nedjelje] [u] LT',\n                    '[prošlog] [ponedjeljka] [u] LT',\n                    '[prošlog] [utorka] [u] LT',\n                    '[prošle] [srijede] [u] LT',\n                    '[prošlog] [četvrtka] [u] LT',\n                    '[prošlog] [petka] [u] LT',\n                    '[prošle] [subote] [u] LT',\n                ];\n                return lastWeekDays[this.day()];\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'prije %s',\n            s: 'nekoliko sekundi',\n            ss: translator.translate,\n            m: translator.translate,\n            mm: translator.translate,\n            h: translator.translate,\n            hh: translator.translate,\n            d: 'dan',\n            dd: translator.translate,\n            M: 'mjesec',\n            MM: translator.translate,\n            y: 'godinu',\n            yy: translator.translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return me;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maori [mi]\n//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var mi = moment.defineLocale('mi', {\n        months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(\n            '_'\n        ),\n        monthsShort:\n            'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(\n                '_'\n            ),\n        monthsRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n        monthsStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n        monthsShortRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n        monthsShortStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,2}/i,\n        weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),\n        weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),\n        weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [i] HH:mm',\n            LLLL: 'dddd, D MMMM YYYY [i] HH:mm',\n        },\n        calendar: {\n            sameDay: '[i teie mahana, i] LT',\n            nextDay: '[apopo i] LT',\n            nextWeek: 'dddd [i] LT',\n            lastDay: '[inanahi i] LT',\n            lastWeek: 'dddd [whakamutunga i] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'i roto i %s',\n            past: '%s i mua',\n            s: 'te hēkona ruarua',\n            ss: '%d hēkona',\n            m: 'he meneti',\n            mm: '%d meneti',\n            h: 'te haora',\n            hh: '%d haora',\n            d: 'he ra',\n            dd: '%d ra',\n            M: 'he marama',\n            MM: '%d marama',\n            y: 'he tau',\n            yy: '%d tau',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return mi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Macedonian [mk]\n//! author : Borislav Mickov : https://github.com/B0k0\n//! author : Sashko Todorov : https://github.com/bkyceh\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n    var mk = moment.defineLocale('mk', {\n        months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(\n            '_'\n        ),\n        monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),\n        weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(\n            '_'\n        ),\n        weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),\n        weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'D.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY H:mm',\n            LLLL: 'dddd, D MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[Денес во] LT',\n            nextDay: '[Утре во] LT',\n            nextWeek: '[Во] dddd [во] LT',\n            lastDay: '[Вчера во] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                    case 6:\n                        return '[Изминатата] dddd [во] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[Изминатиот] dddd [во] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'за %s',\n            past: 'пред %s',\n            s: 'неколку секунди',\n            ss: '%d секунди',\n            m: 'една минута',\n            mm: '%d минути',\n            h: 'еден час',\n            hh: '%d часа',\n            d: 'еден ден',\n            dd: '%d дена',\n            M: 'еден месец',\n            MM: '%d месеци',\n            y: 'една година',\n            yy: '%d години',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n        ordinal: function (number) {\n            var lastDigit = number % 10,\n                last2Digits = number % 100;\n            if (number === 0) {\n                return number + '-ев';\n            } else if (last2Digits === 0) {\n                return number + '-ен';\n            } else if (last2Digits > 10 && last2Digits < 20) {\n                return number + '-ти';\n            } else if (lastDigit === 1) {\n                return number + '-ви';\n            } else if (lastDigit === 2) {\n                return number + '-ри';\n            } else if (lastDigit === 7 || lastDigit === 8) {\n                return number + '-ми';\n            } else {\n                return number + '-ти';\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return mk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malayalam [ml]\n//! author : Floyd Pink : https://github.com/floydpink\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ml = moment.defineLocale('ml', {\n        months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(\n            '_'\n        ),\n        monthsShort:\n            'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays:\n            'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(\n                '_'\n            ),\n        weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),\n        weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm -നു',\n            LTS: 'A h:mm:ss -നു',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm -നു',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',\n        },\n        calendar: {\n            sameDay: '[ഇന്ന്] LT',\n            nextDay: '[നാളെ] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[ഇന്നലെ] LT',\n            lastWeek: '[കഴിഞ്ഞ] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s കഴിഞ്ഞ്',\n            past: '%s മുൻപ്',\n            s: 'അൽപ നിമിഷങ്ങൾ',\n            ss: '%d സെക്കൻഡ്',\n            m: 'ഒരു മിനിറ്റ്',\n            mm: '%d മിനിറ്റ്',\n            h: 'ഒരു മണിക്കൂർ',\n            hh: '%d മണിക്കൂർ',\n            d: 'ഒരു ദിവസം',\n            dd: '%d ദിവസം',\n            M: 'ഒരു മാസം',\n            MM: '%d മാസം',\n            y: 'ഒരു വർഷം',\n            yy: '%d വർഷം',\n        },\n        meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (\n                (meridiem === 'രാത്രി' && hour >= 4) ||\n                meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||\n                meridiem === 'വൈകുന്നേരം'\n            ) {\n                return hour + 12;\n            } else {\n                return hour;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'രാത്രി';\n            } else if (hour < 12) {\n                return 'രാവിലെ';\n            } else if (hour < 17) {\n                return 'ഉച്ച കഴിഞ്ഞ്';\n            } else if (hour < 20) {\n                return 'വൈകുന്നേരം';\n            } else {\n                return 'രാത്രി';\n            }\n        },\n    });\n\n    return ml;\n\n})));\n","//! moment.js locale configuration\n//! locale : Mongolian [mn]\n//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function translate(number, withoutSuffix, key, isFuture) {\n        switch (key) {\n            case 's':\n                return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';\n            case 'ss':\n                return number + (withoutSuffix ? ' секунд' : ' секундын');\n            case 'm':\n            case 'mm':\n                return number + (withoutSuffix ? ' минут' : ' минутын');\n            case 'h':\n            case 'hh':\n                return number + (withoutSuffix ? ' цаг' : ' цагийн');\n            case 'd':\n            case 'dd':\n                return number + (withoutSuffix ? ' өдөр' : ' өдрийн');\n            case 'M':\n            case 'MM':\n                return number + (withoutSuffix ? ' сар' : ' сарын');\n            case 'y':\n            case 'yy':\n                return number + (withoutSuffix ? ' жил' : ' жилийн');\n            default:\n                return number;\n        }\n    }\n\n    var mn = moment.defineLocale('mn', {\n        months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(\n            '_'\n        ),\n        monthsShort:\n            '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),\n        weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),\n        weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'YYYY оны MMMMын D',\n            LLL: 'YYYY оны MMMMын D HH:mm',\n            LLLL: 'dddd, YYYY оны MMMMын D HH:mm',\n        },\n        meridiemParse: /ҮӨ|ҮХ/i,\n        isPM: function (input) {\n            return input === 'ҮХ';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ҮӨ';\n            } else {\n                return 'ҮХ';\n            }\n        },\n        calendar: {\n            sameDay: '[Өнөөдөр] LT',\n            nextDay: '[Маргааш] LT',\n            nextWeek: '[Ирэх] dddd LT',\n            lastDay: '[Өчигдөр] LT',\n            lastWeek: '[Өнгөрсөн] dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s дараа',\n            past: '%s өмнө',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2} өдөр/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + ' өдөр';\n                default:\n                    return number;\n            }\n        },\n    });\n\n    return mn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Marathi [mr]\n//! author : Harshad Kale : https://github.com/kalehv\n//! author : Vivek Athalye : https://github.com/vnathalye\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '१',\n            2: '२',\n            3: '३',\n            4: '४',\n            5: '५',\n            6: '६',\n            7: '७',\n            8: '८',\n            9: '९',\n            0: '०',\n        },\n        numberMap = {\n            '१': '1',\n            '२': '2',\n            '३': '3',\n            '४': '4',\n            '५': '5',\n            '६': '6',\n            '७': '7',\n            '८': '8',\n            '९': '9',\n            '०': '0',\n        };\n\n    function relativeTimeMr(number, withoutSuffix, string, isFuture) {\n        var output = '';\n        if (withoutSuffix) {\n            switch (string) {\n                case 's':\n                    output = 'काही सेकंद';\n                    break;\n                case 'ss':\n                    output = '%d सेकंद';\n                    break;\n                case 'm':\n                    output = 'एक मिनिट';\n                    break;\n                case 'mm':\n                    output = '%d मिनिटे';\n                    break;\n                case 'h':\n                    output = 'एक तास';\n                    break;\n                case 'hh':\n                    output = '%d तास';\n                    break;\n                case 'd':\n                    output = 'एक दिवस';\n                    break;\n                case 'dd':\n                    output = '%d दिवस';\n                    break;\n                case 'M':\n                    output = 'एक महिना';\n                    break;\n                case 'MM':\n                    output = '%d महिने';\n                    break;\n                case 'y':\n                    output = 'एक वर्ष';\n                    break;\n                case 'yy':\n                    output = '%d वर्षे';\n                    break;\n            }\n        } else {\n            switch (string) {\n                case 's':\n                    output = 'काही सेकंदां';\n                    break;\n                case 'ss':\n                    output = '%d सेकंदां';\n                    break;\n                case 'm':\n                    output = 'एका मिनिटा';\n                    break;\n                case 'mm':\n                    output = '%d मिनिटां';\n                    break;\n                case 'h':\n                    output = 'एका तासा';\n                    break;\n                case 'hh':\n                    output = '%d तासां';\n                    break;\n                case 'd':\n                    output = 'एका दिवसा';\n                    break;\n                case 'dd':\n                    output = '%d दिवसां';\n                    break;\n                case 'M':\n                    output = 'एका महिन्या';\n                    break;\n                case 'MM':\n                    output = '%d महिन्यां';\n                    break;\n                case 'y':\n                    output = 'एका वर्षा';\n                    break;\n                case 'yy':\n                    output = '%d वर्षां';\n                    break;\n            }\n        }\n        return output.replace(/%d/i, number);\n    }\n\n    var mr = moment.defineLocale('mr', {\n        months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(\n            '_'\n        ),\n        monthsShort:\n            'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n        weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),\n        weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm वाजता',\n            LTS: 'A h:mm:ss वाजता',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm वाजता',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',\n        },\n        calendar: {\n            sameDay: '[आज] LT',\n            nextDay: '[उद्या] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[काल] LT',\n            lastWeek: '[मागील] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%sमध्ये',\n            past: '%sपूर्वी',\n            s: relativeTimeMr,\n            ss: relativeTimeMr,\n            m: relativeTimeMr,\n            mm: relativeTimeMr,\n            h: relativeTimeMr,\n            hh: relativeTimeMr,\n            d: relativeTimeMr,\n            dd: relativeTimeMr,\n            M: relativeTimeMr,\n            MM: relativeTimeMr,\n            y: relativeTimeMr,\n            yy: relativeTimeMr,\n        },\n        preparse: function (string) {\n            return string.replace(/[१२३४५६७८९०]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {\n                return hour;\n            } else if (\n                meridiem === 'दुपारी' ||\n                meridiem === 'सायंकाळी' ||\n                meridiem === 'रात्री'\n            ) {\n                return hour >= 12 ? hour : hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour >= 0 && hour < 6) {\n                return 'पहाटे';\n            } else if (hour < 12) {\n                return 'सकाळी';\n            } else if (hour < 17) {\n                return 'दुपारी';\n            } else if (hour < 20) {\n                return 'सायंकाळी';\n            } else {\n                return 'रात्री';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return mr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malay [ms-my]\n//! note : DEPRECATED, the correct one is [ms]\n//! author : Weldan Jamili : https://github.com/weldan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var msMy = moment.defineLocale('ms-my', {\n        months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n        weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n        weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n        weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [pukul] HH.mm',\n            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n        },\n        meridiemParse: /pagi|tengahari|petang|malam/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'pagi') {\n                return hour;\n            } else if (meridiem === 'tengahari') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'petang' || meridiem === 'malam') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'pagi';\n            } else if (hours < 15) {\n                return 'tengahari';\n            } else if (hours < 19) {\n                return 'petang';\n            } else {\n                return 'malam';\n            }\n        },\n        calendar: {\n            sameDay: '[Hari ini pukul] LT',\n            nextDay: '[Esok pukul] LT',\n            nextWeek: 'dddd [pukul] LT',\n            lastDay: '[Kelmarin pukul] LT',\n            lastWeek: 'dddd [lepas pukul] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dalam %s',\n            past: '%s yang lepas',\n            s: 'beberapa saat',\n            ss: '%d saat',\n            m: 'seminit',\n            mm: '%d minit',\n            h: 'sejam',\n            hh: '%d jam',\n            d: 'sehari',\n            dd: '%d hari',\n            M: 'sebulan',\n            MM: '%d bulan',\n            y: 'setahun',\n            yy: '%d tahun',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return msMy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malay [ms]\n//! author : Weldan Jamili : https://github.com/weldan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ms = moment.defineLocale('ms', {\n        months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n        weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n        weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n        weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [pukul] HH.mm',\n            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n        },\n        meridiemParse: /pagi|tengahari|petang|malam/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'pagi') {\n                return hour;\n            } else if (meridiem === 'tengahari') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'petang' || meridiem === 'malam') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'pagi';\n            } else if (hours < 15) {\n                return 'tengahari';\n            } else if (hours < 19) {\n                return 'petang';\n            } else {\n                return 'malam';\n            }\n        },\n        calendar: {\n            sameDay: '[Hari ini pukul] LT',\n            nextDay: '[Esok pukul] LT',\n            nextWeek: 'dddd [pukul] LT',\n            lastDay: '[Kelmarin pukul] LT',\n            lastWeek: 'dddd [lepas pukul] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dalam %s',\n            past: '%s yang lepas',\n            s: 'beberapa saat',\n            ss: '%d saat',\n            m: 'seminit',\n            mm: '%d minit',\n            h: 'sejam',\n            hh: '%d jam',\n            d: 'sehari',\n            dd: '%d hari',\n            M: 'sebulan',\n            MM: '%d bulan',\n            y: 'setahun',\n            yy: '%d tahun',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return ms;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maltese (Malta) [mt]\n//! author : Alessandro Maruccia : https://github.com/alesma\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var mt = moment.defineLocale('mt', {\n        months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),\n        weekdays:\n            'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(\n                '_'\n            ),\n        weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),\n        weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Illum fil-]LT',\n            nextDay: '[Għada fil-]LT',\n            nextWeek: 'dddd [fil-]LT',\n            lastDay: '[Il-bieraħ fil-]LT',\n            lastWeek: 'dddd [li għadda] [fil-]LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'f’ %s',\n            past: '%s ilu',\n            s: 'ftit sekondi',\n            ss: '%d sekondi',\n            m: 'minuta',\n            mm: '%d minuti',\n            h: 'siegħa',\n            hh: '%d siegħat',\n            d: 'ġurnata',\n            dd: '%d ġranet',\n            M: 'xahar',\n            MM: '%d xhur',\n            y: 'sena',\n            yy: '%d sni',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return mt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Burmese [my]\n//! author : Squar team, mysquar.com\n//! author : David Rossellat : https://github.com/gholadr\n//! author : Tin Aung Lin : https://github.com/thanyawzinmin\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '၁',\n            2: '၂',\n            3: '၃',\n            4: '၄',\n            5: '၅',\n            6: '၆',\n            7: '၇',\n            8: '၈',\n            9: '၉',\n            0: '၀',\n        },\n        numberMap = {\n            '၁': '1',\n            '၂': '2',\n            '၃': '3',\n            '၄': '4',\n            '၅': '5',\n            '၆': '6',\n            '၇': '7',\n            '၈': '8',\n            '၉': '9',\n            '၀': '0',\n        };\n\n    var my = moment.defineLocale('my', {\n        months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(\n            '_'\n        ),\n        monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),\n        weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(\n            '_'\n        ),\n        weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n        weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[ယနေ.] LT [မှာ]',\n            nextDay: '[မနက်ဖြန်] LT [မှာ]',\n            nextWeek: 'dddd LT [မှာ]',\n            lastDay: '[မနေ.က] LT [မှာ]',\n            lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'လာမည့် %s မှာ',\n            past: 'လွန်ခဲ့သော %s က',\n            s: 'စက္ကန်.အနည်းငယ်',\n            ss: '%d စက္ကန့်',\n            m: 'တစ်မိနစ်',\n            mm: '%d မိနစ်',\n            h: 'တစ်နာရီ',\n            hh: '%d နာရီ',\n            d: 'တစ်ရက်',\n            dd: '%d ရက်',\n            M: 'တစ်လ',\n            MM: '%d လ',\n            y: 'တစ်နှစ်',\n            yy: '%d နှစ်',\n        },\n        preparse: function (string) {\n            return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return my;\n\n})));\n","//! moment.js locale configuration\n//! locale : Norwegian Bokmål [nb]\n//! authors : Espen Hovlandsdal : https://github.com/rexxars\n//!           Sigurd Gartmann : https://github.com/sigurdga\n//!           Stephen Ramthun : https://github.com/stephenramthun\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var nb = moment.defineLocale('nb', {\n        months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(\n            '_'\n        ),\n        monthsShort:\n            'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),\n        monthsParseExact: true,\n        weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n        weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),\n        weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY [kl.] HH:mm',\n            LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',\n        },\n        calendar: {\n            sameDay: '[i dag kl.] LT',\n            nextDay: '[i morgen kl.] LT',\n            nextWeek: 'dddd [kl.] LT',\n            lastDay: '[i går kl.] LT',\n            lastWeek: '[forrige] dddd [kl.] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'om %s',\n            past: '%s siden',\n            s: 'noen sekunder',\n            ss: '%d sekunder',\n            m: 'ett minutt',\n            mm: '%d minutter',\n            h: 'én time',\n            hh: '%d timer',\n            d: 'én dag',\n            dd: '%d dager',\n            w: 'én uke',\n            ww: '%d uker',\n            M: 'én måned',\n            MM: '%d måneder',\n            y: 'ett år',\n            yy: '%d år',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return nb;\n\n})));\n","//! moment.js locale configuration\n//! locale : Nepalese [ne]\n//! author : suvash : https://github.com/suvash\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '१',\n            2: '२',\n            3: '३',\n            4: '४',\n            5: '५',\n            6: '६',\n            7: '७',\n            8: '८',\n            9: '९',\n            0: '०',\n        },\n        numberMap = {\n            '१': '1',\n            '२': '2',\n            '३': '3',\n            '४': '4',\n            '५': '5',\n            '६': '6',\n            '७': '7',\n            '८': '8',\n            '९': '9',\n            '०': '0',\n        };\n\n    var ne = moment.defineLocale('ne', {\n        months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(\n            '_'\n        ),\n        monthsShort:\n            'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(\n            '_'\n        ),\n        weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),\n        weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'Aको h:mm बजे',\n            LTS: 'Aको h:mm:ss बजे',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, Aको h:mm बजे',\n            LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',\n        },\n        preparse: function (string) {\n            return string.replace(/[१२३४५६७८९०]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /राति|बिहान|दिउँसो|साँझ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'राति') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'बिहान') {\n                return hour;\n            } else if (meridiem === 'दिउँसो') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'साँझ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 3) {\n                return 'राति';\n            } else if (hour < 12) {\n                return 'बिहान';\n            } else if (hour < 16) {\n                return 'दिउँसो';\n            } else if (hour < 20) {\n                return 'साँझ';\n            } else {\n                return 'राति';\n            }\n        },\n        calendar: {\n            sameDay: '[आज] LT',\n            nextDay: '[भोलि] LT',\n            nextWeek: '[आउँदो] dddd[,] LT',\n            lastDay: '[हिजो] LT',\n            lastWeek: '[गएको] dddd[,] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%sमा',\n            past: '%s अगाडि',\n            s: 'केही क्षण',\n            ss: '%d सेकेण्ड',\n            m: 'एक मिनेट',\n            mm: '%d मिनेट',\n            h: 'एक घण्टा',\n            hh: '%d घण्टा',\n            d: 'एक दिन',\n            dd: '%d दिन',\n            M: 'एक महिना',\n            MM: '%d महिना',\n            y: 'एक बर्ष',\n            yy: '%d बर्ष',\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return ne;\n\n})));\n","//! moment.js locale configuration\n//! locale : Dutch (Belgium) [nl-be]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortWithDots =\n            'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n        monthsShortWithoutDots =\n            'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n        monthsParse = [\n            /^jan/i,\n            /^feb/i,\n            /^(maart|mrt\\.?)$/i,\n            /^apr/i,\n            /^mei$/i,\n            /^jun[i.]?$/i,\n            /^jul[i.]?$/i,\n            /^aug/i,\n            /^sep/i,\n            /^okt/i,\n            /^nov/i,\n            /^dec/i,\n        ],\n        monthsRegex =\n            /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n    var nlBe = moment.defineLocale('nl-be', {\n        months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortWithDots;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShortWithoutDots[m.month()];\n            } else {\n                return monthsShortWithDots[m.month()];\n            }\n        },\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n        monthsShortStrictRegex:\n            /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        weekdays:\n            'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n        weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n        weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[vandaag om] LT',\n            nextDay: '[morgen om] LT',\n            nextWeek: 'dddd [om] LT',\n            lastDay: '[gisteren om] LT',\n            lastWeek: '[afgelopen] dddd [om] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'over %s',\n            past: '%s geleden',\n            s: 'een paar seconden',\n            ss: '%d seconden',\n            m: 'één minuut',\n            mm: '%d minuten',\n            h: 'één uur',\n            hh: '%d uur',\n            d: 'één dag',\n            dd: '%d dagen',\n            M: 'één maand',\n            MM: '%d maanden',\n            y: 'één jaar',\n            yy: '%d jaar',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n        ordinal: function (number) {\n            return (\n                number +\n                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n            );\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return nlBe;\n\n})));\n","//! moment.js locale configuration\n//! locale : Dutch [nl]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortWithDots =\n            'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n        monthsShortWithoutDots =\n            'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n        monthsParse = [\n            /^jan/i,\n            /^feb/i,\n            /^(maart|mrt\\.?)$/i,\n            /^apr/i,\n            /^mei$/i,\n            /^jun[i.]?$/i,\n            /^jul[i.]?$/i,\n            /^aug/i,\n            /^sep/i,\n            /^okt/i,\n            /^nov/i,\n            /^dec/i,\n        ],\n        monthsRegex =\n            /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n    var nl = moment.defineLocale('nl', {\n        months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortWithDots;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShortWithoutDots[m.month()];\n            } else {\n                return monthsShortWithDots[m.month()];\n            }\n        },\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex:\n            /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n        monthsShortStrictRegex:\n            /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        weekdays:\n            'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n        weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n        weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD-MM-YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[vandaag om] LT',\n            nextDay: '[morgen om] LT',\n            nextWeek: 'dddd [om] LT',\n            lastDay: '[gisteren om] LT',\n            lastWeek: '[afgelopen] dddd [om] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'over %s',\n            past: '%s geleden',\n            s: 'een paar seconden',\n            ss: '%d seconden',\n            m: 'één minuut',\n            mm: '%d minuten',\n            h: 'één uur',\n            hh: '%d uur',\n            d: 'één dag',\n            dd: '%d dagen',\n            w: 'één week',\n            ww: '%d weken',\n            M: 'één maand',\n            MM: '%d maanden',\n            y: 'één jaar',\n            yy: '%d jaar',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n        ordinal: function (number) {\n            return (\n                number +\n                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n            );\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return nl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Nynorsk [nn]\n//! authors : https://github.com/mechuwind\n//!           Stephen Ramthun : https://github.com/stephenramthun\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var nn = moment.defineLocale('nn', {\n        months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(\n            '_'\n        ),\n        monthsShort:\n            'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),\n        monthsParseExact: true,\n        weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),\n        weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),\n        weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY [kl.] H:mm',\n            LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',\n        },\n        calendar: {\n            sameDay: '[I dag klokka] LT',\n            nextDay: '[I morgon klokka] LT',\n            nextWeek: 'dddd [klokka] LT',\n            lastDay: '[I går klokka] LT',\n            lastWeek: '[Føregåande] dddd [klokka] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'om %s',\n            past: '%s sidan',\n            s: 'nokre sekund',\n            ss: '%d sekund',\n            m: 'eit minutt',\n            mm: '%d minutt',\n            h: 'ein time',\n            hh: '%d timar',\n            d: 'ein dag',\n            dd: '%d dagar',\n            w: 'ei veke',\n            ww: '%d veker',\n            M: 'ein månad',\n            MM: '%d månader',\n            y: 'eit år',\n            yy: '%d år',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return nn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Occitan, lengadocian dialecte [oc-lnc]\n//! author : Quentin PAGÈS : https://github.com/Quenty31\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ocLnc = moment.defineLocale('oc-lnc', {\n        months: {\n            standalone:\n                'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(\n                    '_'\n                ),\n            format: \"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre\".split(\n                '_'\n            ),\n            isFormat: /D[oD]?(\\s)+MMMM/,\n        },\n        monthsShort:\n            'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(\n            '_'\n        ),\n        weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),\n        weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM [de] YYYY',\n            ll: 'D MMM YYYY',\n            LLL: 'D MMMM [de] YYYY [a] H:mm',\n            lll: 'D MMM YYYY, H:mm',\n            LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',\n            llll: 'ddd D MMM YYYY, H:mm',\n        },\n        calendar: {\n            sameDay: '[uèi a] LT',\n            nextDay: '[deman a] LT',\n            nextWeek: 'dddd [a] LT',\n            lastDay: '[ièr a] LT',\n            lastWeek: 'dddd [passat a] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: \"d'aquí %s\",\n            past: 'fa %s',\n            s: 'unas segondas',\n            ss: '%d segondas',\n            m: 'una minuta',\n            mm: '%d minutas',\n            h: 'una ora',\n            hh: '%d oras',\n            d: 'un jorn',\n            dd: '%d jorns',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un an',\n            yy: '%d ans',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n        ordinal: function (number, period) {\n            var output =\n                number === 1\n                    ? 'r'\n                    : number === 2\n                      ? 'n'\n                      : number === 3\n                        ? 'r'\n                        : number === 4\n                          ? 't'\n                          : 'è';\n            if (period === 'w' || period === 'W') {\n                output = 'a';\n            }\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4,\n        },\n    });\n\n    return ocLnc;\n\n})));\n","//! moment.js locale configuration\n//! locale : Punjabi (India) [pa-in]\n//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '੧',\n            2: '੨',\n            3: '੩',\n            4: '੪',\n            5: '੫',\n            6: '੬',\n            7: '੭',\n            8: '੮',\n            9: '੯',\n            0: '੦',\n        },\n        numberMap = {\n            '੧': '1',\n            '੨': '2',\n            '੩': '3',\n            '੪': '4',\n            '੫': '5',\n            '੬': '6',\n            '੭': '7',\n            '੮': '8',\n            '੯': '9',\n            '੦': '0',\n        };\n\n    var paIn = moment.defineLocale('pa-in', {\n        // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.\n        months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(\n            '_'\n        ),\n        monthsShort:\n            'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(\n                '_'\n            ),\n        weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(\n            '_'\n        ),\n        weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n        weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm ਵਜੇ',\n            LTS: 'A h:mm:ss ਵਜੇ',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',\n        },\n        calendar: {\n            sameDay: '[ਅਜ] LT',\n            nextDay: '[ਕਲ] LT',\n            nextWeek: '[ਅਗਲਾ] dddd, LT',\n            lastDay: '[ਕਲ] LT',\n            lastWeek: '[ਪਿਛਲੇ] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ਵਿੱਚ',\n            past: '%s ਪਿਛਲੇ',\n            s: 'ਕੁਝ ਸਕਿੰਟ',\n            ss: '%d ਸਕਿੰਟ',\n            m: 'ਇਕ ਮਿੰਟ',\n            mm: '%d ਮਿੰਟ',\n            h: 'ਇੱਕ ਘੰਟਾ',\n            hh: '%d ਘੰਟੇ',\n            d: 'ਇੱਕ ਦਿਨ',\n            dd: '%d ਦਿਨ',\n            M: 'ਇੱਕ ਮਹੀਨਾ',\n            MM: '%d ਮਹੀਨੇ',\n            y: 'ਇੱਕ ਸਾਲ',\n            yy: '%d ਸਾਲ',\n        },\n        preparse: function (string) {\n            return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        // Punjabi notation for meridiems are quite fuzzy in practice. While there exists\n        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.\n        meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'ਰਾਤ') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'ਸਵੇਰ') {\n                return hour;\n            } else if (meridiem === 'ਦੁਪਹਿਰ') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'ਸ਼ਾਮ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ਰਾਤ';\n            } else if (hour < 10) {\n                return 'ਸਵੇਰ';\n            } else if (hour < 17) {\n                return 'ਦੁਪਹਿਰ';\n            } else if (hour < 20) {\n                return 'ਸ਼ਾਮ';\n            } else {\n                return 'ਰਾਤ';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return paIn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Polish [pl]\n//! author : Rafal Hirsz : https://github.com/evoL\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsNominative =\n            'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(\n                '_'\n            ),\n        monthsSubjective =\n            'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(\n                '_'\n            ),\n        monthsParse = [\n            /^sty/i,\n            /^lut/i,\n            /^mar/i,\n            /^kwi/i,\n            /^maj/i,\n            /^cze/i,\n            /^lip/i,\n            /^sie/i,\n            /^wrz/i,\n            /^paź/i,\n            /^lis/i,\n            /^gru/i,\n        ];\n    function plural(n) {\n        return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;\n    }\n    function translate(number, withoutSuffix, key) {\n        var result = number + ' ';\n        switch (key) {\n            case 'ss':\n                return result + (plural(number) ? 'sekundy' : 'sekund');\n            case 'm':\n                return withoutSuffix ? 'minuta' : 'minutę';\n            case 'mm':\n                return result + (plural(number) ? 'minuty' : 'minut');\n            case 'h':\n                return withoutSuffix ? 'godzina' : 'godzinę';\n            case 'hh':\n                return result + (plural(number) ? 'godziny' : 'godzin');\n            case 'ww':\n                return result + (plural(number) ? 'tygodnie' : 'tygodni');\n            case 'MM':\n                return result + (plural(number) ? 'miesiące' : 'miesięcy');\n            case 'yy':\n                return result + (plural(number) ? 'lata' : 'lat');\n        }\n    }\n\n    var pl = moment.defineLocale('pl', {\n        months: function (momentToFormat, format) {\n            if (!momentToFormat) {\n                return monthsNominative;\n            } else if (/D\\.? MMMM/.test(format)) {\n                return monthsSubjective[momentToFormat.month()];\n            } else {\n                return monthsNominative[momentToFormat.month()];\n            }\n        },\n        monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays:\n            'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),\n        weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),\n        weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Dziś o] LT',\n            nextDay: '[Jutro o] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[W niedzielę o] LT';\n\n                    case 2:\n                        return '[We wtorek o] LT';\n\n                    case 3:\n                        return '[W środę o] LT';\n\n                    case 6:\n                        return '[W sobotę o] LT';\n\n                    default:\n                        return '[W] dddd [o] LT';\n                }\n            },\n            lastDay: '[Wczoraj o] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[W zeszłą niedzielę o] LT';\n                    case 3:\n                        return '[W zeszłą środę o] LT';\n                    case 6:\n                        return '[W zeszłą sobotę o] LT';\n                    default:\n                        return '[W zeszły] dddd [o] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: '%s temu',\n            s: 'kilka sekund',\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: '1 dzień',\n            dd: '%d dni',\n            w: 'tydzień',\n            ww: translate,\n            M: 'miesiąc',\n            MM: translate,\n            y: 'rok',\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return pl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Pashto [ps]\n//! author : Hanif Hefaz : https://github.com/hanifhefaz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '۱',\n            2: '۲',\n            3: '۳',\n            4: '۴',\n            5: '۵',\n            6: '۶',\n            7: '۷',\n            8: '۸',\n            9: '۹',\n            0: '۰',\n        },\n        numberMap = {\n            '۱': '1',\n            '۲': '2',\n            '۳': '3',\n            '۴': '4',\n            '۵': '5',\n            '۶': '6',\n            '۷': '7',\n            '۸': '8',\n            '۹': '9',\n            '۰': '0',\n        },\n        months = {\n            format: 'جنوري_فبروري_مارچ_اپریل_مۍ_جون_جولای_اګست_سېپتمبر_اکتوبر_نومبر_دسمبر'.split(\n                '_'\n            ),\n            standalone:\n                'جنوري_فېبروري_مارچ_اپریل_مۍ_جون_جولای_اګست_سپتمبر_اکتوبر_نومبر_دسمبر'.split(\n                    '_'\n                ),\n            isFormat: /D[oD]?(\\[[^\\[\\]]*\\]|\\s|,)+MMMM?/,\n        },\n        monthsShort = {\n            format: 'جنوري_فبروري_مارچ_اپریل_مۍ_جون_جولای_اګست_سېپتمبر_اکتوبر_نومبر_دسمبر'.split(\n                '_'\n            ),\n            standalone:\n                'جنوري_فبروري_مارچ_اپریل_مۍ_جون_جولای_اګست_سپتمبر_اکتوبر_نومبر_دسمبر'.split(\n                    '_'\n                ),\n        },\n        monthsParse = [\n            /^جنوري$/i,\n            /^(فبروري|فېبروري)$/i,\n            /^مارچ$/i,\n            /^اپریل$/i,\n            /^مۍ$/i,\n            /^جون$/i,\n            /^جولای$/i,\n            /^اګست$/i,\n            /^(سپتمبر|سېپتمبر)$/i,\n            /^اکتوبر$/i,\n            /^نومبر$/i,\n            /^دسمبر$/i,\n        ],\n        monthsRegex =\n            /^(جنوري|فبروري|فېبروري|مارچ|اپریل|مۍ|جون|جولای|اګست|سپتمبر|سېپتمبر|اکتوبر|نومبر|دسمبر)/i;\n\n    function relativeTime(number, withoutSuffix, key, isFuture) {\n        var format =\n            isFuture && !withoutSuffix\n                ? {\n                      s: 'څو ثانيو',\n                      ss: '%d ثانيو',\n                      m: 'يوه دقيقه',\n                      mm: '%d دقيقو',\n                      h: 'يو ساعت',\n                      hh: '%d ساعتو',\n                      d: 'يوه ورځ',\n                      dd: '%d ورځو',\n                      M: 'يوه مياشت',\n                      MM: '%d مياشتو',\n                      y: 'يو کال',\n                      yy: '%d کالونو',\n                  }\n                : {\n                      s: 'څو ثانيې',\n                      ss: '%d ثانيې',\n                      m: 'يوه دقيقه',\n                      mm: '%d دقيقې',\n                      h: 'يو ساعت',\n                      hh: '%d ساعتونه',\n                      d: 'يوه ورځ',\n                      dd: '%d ورځې',\n                      M: 'يوه مياشت',\n                      MM: '%d مياشتې',\n                      y: 'يو کال',\n                      yy: '%d کاله',\n                  };\n\n        return format[key].replace('%d', number);\n    }\n\n    var ps = moment.defineLocale('ps', {\n        months: months,\n        monthsShort: monthsShort,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: monthsRegex,\n        monthsShortStrictRegex: monthsRegex,\n        weekdays: 'یکشنبه_دوشنبه_سه شنبه_چهارشنبه_پنج شنبه_جمعه_شنبه'.split('_'),\n        weekdaysShort: 'یکشنبه_دوشنبه_سه شنبه_چهارشنبه_پنج شنبه_جمعه_شنبه'.split(\n            '_'\n        ),\n        weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'YYYY/M/D',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY H:mm',\n            LLLL: 'dddd D, MMMM, YYYY [په] H:mm',\n        },\n        meridiemParse: /غ\\.م|غ\\.و\\./,\n        isPM: function (input) {\n            return input === 'غ.و.';\n        },\n        meridiem: function (hour) {\n            return hour < 12 ? 'غ.م' : 'غ.و.';\n        },\n        calendar: {\n            sameDay: '[نن په] LT',\n            nextDay: '[سبا په] LT',\n            nextWeek: 'dddd [په] LT',\n            lastDay: '[پرون په] LT',\n            lastWeek: 'dddd [په] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'په %s کې',\n            past: '%s مخکې',\n            s: relativeTime,\n            ss: relativeTime,\n            m: relativeTime,\n            mm: relativeTime,\n            h: relativeTime,\n            hh: relativeTime,\n            d: relativeTime,\n            dd: relativeTime,\n            M: relativeTime,\n            MM: relativeTime,\n            y: relativeTime,\n            yy: relativeTime,\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[۰-۹]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: '%d',\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return ps;\n\n})));\n","//! moment.js locale configuration\n//! locale : Portuguese (Brazil) [pt-br]\n//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ptBr = moment.defineLocale('pt-br', {\n        months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(\n            '_'\n        ),\n        monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),\n        weekdays:\n            'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(\n                '_'\n            ),\n        weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),\n        weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[Hoje ' + (this.hours() >= 2 ? 'às' : 'à') + '] LT';\n            },\n            nextDay: function () {\n                return '[Amanhã ' + (this.hours() >= 2 ? 'às' : 'à') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [' + (this.hours() >= 2 ? 'às' : 'à') + '] LT';\n            },\n            lastDay: function () {\n                return '[Ontem ' + (this.hours() >= 2 ? 'às' : 'à') + '] LT';\n            },\n            lastWeek: function () {\n                return this.day() === 0 || this.day() === 6\n                    ? '[Último] dddd [' + (this.hours() >= 2 ? 'às' : 'à') + '] LT' // Saturday + Sunday\n                    : '[Última] dddd [' + (this.hours() >= 2 ? 'às' : 'à') + '] LT'; // Monday - Friday\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'em %s',\n            past: 'há %s',\n            s: 'poucos segundos',\n            ss: '%d segundos',\n            m: 'um minuto',\n            mm: '%d minutos',\n            h: 'uma hora',\n            hh: '%d horas',\n            d: 'um dia',\n            dd: '%d dias',\n            M: 'um mês',\n            MM: '%d meses',\n            y: 'um ano',\n            yy: '%d anos',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        invalidDate: 'Data inválida',\n    });\n\n    return ptBr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Portuguese [pt]\n//! author : Jefferson : https://github.com/jalex79\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var pt = moment.defineLocale('pt', {\n        months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(\n            '_'\n        ),\n        monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),\n        weekdays:\n            'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(\n                '_'\n            ),\n        weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n        weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY HH:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Hoje às] LT',\n            nextDay: '[Amanhã às] LT',\n            nextWeek: 'dddd [às] LT',\n            lastDay: '[Ontem às] LT',\n            lastWeek: function () {\n                return this.day() === 0 || this.day() === 6\n                    ? '[Último] dddd [às] LT' // Saturday + Sunday\n                    : '[Última] dddd [às] LT'; // Monday - Friday\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'em %s',\n            past: 'há %s',\n            s: 'segundos',\n            ss: '%d segundos',\n            m: 'um minuto',\n            mm: '%d minutos',\n            h: 'uma hora',\n            hh: '%d horas',\n            d: 'um dia',\n            dd: '%d dias',\n            w: 'uma semana',\n            ww: '%d semanas',\n            M: 'um mês',\n            MM: '%d meses',\n            y: 'um ano',\n            yy: '%d anos',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return pt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Romanian [ro]\n//! author : Vlad Gurdiga : https://github.com/gurdiga\n//! author : Valentin Agachi : https://github.com/avaly\n//! author : Emanuel Cepoi : https://github.com/cepem\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        var format = {\n                ss: 'secunde',\n                mm: 'minute',\n                hh: 'ore',\n                dd: 'zile',\n                ww: 'săptămâni',\n                MM: 'luni',\n                yy: 'ani',\n            },\n            separator = ' ';\n        if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {\n            separator = ' de ';\n        }\n        return number + separator + format[key];\n    }\n\n    var ro = moment.defineLocale('ro', {\n        months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(\n            '_'\n        ),\n        monthsShort:\n            'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),\n        weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),\n        weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY H:mm',\n            LLLL: 'dddd, D MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[azi la] LT',\n            nextDay: '[mâine la] LT',\n            nextWeek: 'dddd [la] LT',\n            lastDay: '[ieri la] LT',\n            lastWeek: '[fosta] dddd [la] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'peste %s',\n            past: '%s în urmă',\n            s: 'câteva secunde',\n            ss: relativeTimeWithPlural,\n            m: 'un minut',\n            mm: relativeTimeWithPlural,\n            h: 'o oră',\n            hh: relativeTimeWithPlural,\n            d: 'o zi',\n            dd: relativeTimeWithPlural,\n            w: 'o săptămână',\n            ww: relativeTimeWithPlural,\n            M: 'o lună',\n            MM: relativeTimeWithPlural,\n            y: 'un an',\n            yy: relativeTimeWithPlural,\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return ro;\n\n})));\n","//! moment.js locale configuration\n//! locale : Russian [ru]\n//! author : Viktorminator : https://github.com/Viktorminator\n//! author : Menelion Elensúle : https://github.com/Oire\n//! author : Коренберг Марк : https://github.com/socketpair\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function plural(word, num) {\n        var forms = word.split('_');\n        return num % 10 === 1 && num % 100 !== 11\n            ? forms[0]\n            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n              ? forms[1]\n              : forms[2];\n    }\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        var format = {\n            ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',\n            mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',\n            hh: 'час_часа_часов',\n            dd: 'день_дня_дней',\n            ww: 'неделя_недели_недель',\n            MM: 'месяц_месяца_месяцев',\n            yy: 'год_года_лет',\n        };\n        if (key === 'm') {\n            return withoutSuffix ? 'минута' : 'минуту';\n        } else {\n            return number + ' ' + plural(format[key], +number);\n        }\n    }\n    var monthsParse = [\n        /^янв/i,\n        /^фев/i,\n        /^мар/i,\n        /^апр/i,\n        /^ма[йя]/i,\n        /^июн/i,\n        /^июл/i,\n        /^авг/i,\n        /^сен/i,\n        /^окт/i,\n        /^ноя/i,\n        /^дек/i,\n    ];\n\n    // http://new.gramota.ru/spravka/rules/139-prop : § 103\n    // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637\n    // CLDR data:          http://www.unicode.org/cldr/charts/28/summary/ru.html#1753\n    var ru = moment.defineLocale('ru', {\n        months: {\n            format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(\n                '_'\n            ),\n            standalone:\n                'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(\n                    '_'\n                ),\n        },\n        monthsShort: {\n            // по CLDR именно \"июл.\" и \"июн.\", но какой смысл менять букву на точку?\n            format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(\n                '_'\n            ),\n            standalone:\n                'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(\n                    '_'\n                ),\n        },\n        weekdays: {\n            standalone:\n                'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(\n                    '_'\n                ),\n            format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(\n                '_'\n            ),\n            isFormat: /\\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,\n        },\n        weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),\n        weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки\n        monthsRegex:\n            /^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,\n\n        // копия предыдущего\n        monthsShortRegex:\n            /^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,\n\n        // полные названия с падежами\n        monthsStrictRegex:\n            /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,\n\n        // Выражение, которое соответствует только сокращённым формам\n        monthsShortStrictRegex:\n            /^(янв\\.|февр?\\.|мар[т.]|апр\\.|ма[яй]|июн[ья.]|июл[ья.]|авг\\.|сент?\\.|окт\\.|нояб?\\.|дек\\.)/i,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY г.',\n            LLL: 'D MMMM YYYY г., H:mm',\n            LLLL: 'dddd, D MMMM YYYY г., H:mm',\n        },\n        calendar: {\n            sameDay: '[Сегодня, в] LT',\n            nextDay: '[Завтра, в] LT',\n            lastDay: '[Вчера, в] LT',\n            nextWeek: function (now) {\n                if (now.week() !== this.week()) {\n                    switch (this.day()) {\n                        case 0:\n                            return '[В следующее] dddd, [в] LT';\n                        case 1:\n                        case 2:\n                        case 4:\n                            return '[В следующий] dddd, [в] LT';\n                        case 3:\n                        case 5:\n                        case 6:\n                            return '[В следующую] dddd, [в] LT';\n                    }\n                } else {\n                    if (this.day() === 2) {\n                        return '[Во] dddd, [в] LT';\n                    } else {\n                        return '[В] dddd, [в] LT';\n                    }\n                }\n            },\n            lastWeek: function (now) {\n                if (now.week() !== this.week()) {\n                    switch (this.day()) {\n                        case 0:\n                            return '[В прошлое] dddd, [в] LT';\n                        case 1:\n                        case 2:\n                        case 4:\n                            return '[В прошлый] dddd, [в] LT';\n                        case 3:\n                        case 5:\n                        case 6:\n                            return '[В прошлую] dddd, [в] LT';\n                    }\n                } else {\n                    if (this.day() === 2) {\n                        return '[Во] dddd, [в] LT';\n                    } else {\n                        return '[В] dddd, [в] LT';\n                    }\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'через %s',\n            past: '%s назад',\n            s: 'несколько секунд',\n            ss: relativeTimeWithPlural,\n            m: relativeTimeWithPlural,\n            mm: relativeTimeWithPlural,\n            h: 'час',\n            hh: relativeTimeWithPlural,\n            d: 'день',\n            dd: relativeTimeWithPlural,\n            w: 'неделя',\n            ww: relativeTimeWithPlural,\n            M: 'месяц',\n            MM: relativeTimeWithPlural,\n            y: 'год',\n            yy: relativeTimeWithPlural,\n        },\n        meridiemParse: /ночи|утра|дня|вечера/i,\n        isPM: function (input) {\n            return /^(дня|вечера)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ночи';\n            } else if (hour < 12) {\n                return 'утра';\n            } else if (hour < 17) {\n                return 'дня';\n            } else {\n                return 'вечера';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(й|го|я)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'M':\n                case 'd':\n                case 'DDD':\n                    return number + '-й';\n                case 'D':\n                    return number + '-го';\n                case 'w':\n                case 'W':\n                    return number + '-я';\n                default:\n                    return number;\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ru;\n\n})));\n","//! moment.js locale configuration\n//! locale : Sindhi [sd]\n//! author : Narain Sagar : https://github.com/narainsagar\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'جنوري',\n            'فيبروري',\n            'مارچ',\n            'اپريل',\n            'مئي',\n            'جون',\n            'جولاءِ',\n            'آگسٽ',\n            'سيپٽمبر',\n            'آڪٽوبر',\n            'نومبر',\n            'ڊسمبر',\n        ],\n        days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];\n\n    var sd = moment.defineLocale('sd', {\n        months: months,\n        monthsShort: months,\n        weekdays: days,\n        weekdaysShort: days,\n        weekdaysMin: days,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd، D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /صبح|شام/,\n        isPM: function (input) {\n            return 'شام' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'صبح';\n            }\n            return 'شام';\n        },\n        calendar: {\n            sameDay: '[اڄ] LT',\n            nextDay: '[سڀاڻي] LT',\n            nextWeek: 'dddd [اڳين هفتي تي] LT',\n            lastDay: '[ڪالهه] LT',\n            lastWeek: '[گزريل هفتي] dddd [تي] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s پوء',\n            past: '%s اڳ',\n            s: 'چند سيڪنڊ',\n            ss: '%d سيڪنڊ',\n            m: 'هڪ منٽ',\n            mm: '%d منٽ',\n            h: 'هڪ ڪلاڪ',\n            hh: '%d ڪلاڪ',\n            d: 'هڪ ڏينهن',\n            dd: '%d ڏينهن',\n            M: 'هڪ مهينو',\n            MM: '%d مهينا',\n            y: 'هڪ سال',\n            yy: '%d سال',\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return sd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Northern Sami [se]\n//! authors : Bård Rolstad Henriksen : https://github.com/karamell\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var se = moment.defineLocale('se', {\n        months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(\n            '_'\n        ),\n        monthsShort:\n            'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),\n        weekdays:\n            'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(\n                '_'\n            ),\n        weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),\n        weekdaysMin: 's_v_m_g_d_b_L'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'MMMM D. [b.] YYYY',\n            LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',\n            LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',\n        },\n        calendar: {\n            sameDay: '[otne ti] LT',\n            nextDay: '[ihttin ti] LT',\n            nextWeek: 'dddd [ti] LT',\n            lastDay: '[ikte ti] LT',\n            lastWeek: '[ovddit] dddd [ti] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s geažes',\n            past: 'maŋit %s',\n            s: 'moadde sekunddat',\n            ss: '%d sekunddat',\n            m: 'okta minuhta',\n            mm: '%d minuhtat',\n            h: 'okta diimmu',\n            hh: '%d diimmut',\n            d: 'okta beaivi',\n            dd: '%d beaivvit',\n            M: 'okta mánnu',\n            MM: '%d mánut',\n            y: 'okta jahki',\n            yy: '%d jagit',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return se;\n\n})));\n","//! moment.js locale configuration\n//! locale : Sinhalese [si]\n//! author : Sampath Sitinamaluwa : https://github.com/sampathsris\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    /*jshint -W100*/\n    var si = moment.defineLocale('si', {\n        months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(\n            '_'\n        ),\n        monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(\n            '_'\n        ),\n        weekdays:\n            'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(\n                '_'\n            ),\n        weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),\n        weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'a h:mm',\n            LTS: 'a h:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY MMMM D',\n            LLL: 'YYYY MMMM D, a h:mm',\n            LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',\n        },\n        calendar: {\n            sameDay: '[අද] LT[ට]',\n            nextDay: '[හෙට] LT[ට]',\n            nextWeek: 'dddd LT[ට]',\n            lastDay: '[ඊයේ] LT[ට]',\n            lastWeek: '[පසුගිය] dddd LT[ට]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%sකින්',\n            past: '%sකට පෙර',\n            s: 'තත්පර කිහිපය',\n            ss: 'තත්පර %d',\n            m: 'මිනිත්තුව',\n            mm: 'මිනිත්තු %d',\n            h: 'පැය',\n            hh: 'පැය %d',\n            d: 'දිනය',\n            dd: 'දින %d',\n            M: 'මාසය',\n            MM: 'මාස %d',\n            y: 'වසර',\n            yy: 'වසර %d',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2} වැනි/,\n        ordinal: function (number) {\n            return number + ' වැනි';\n        },\n        meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,\n        isPM: function (input) {\n            return input === 'ප.ව.' || input === 'පස් වරු';\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours > 11) {\n                return isLower ? 'ප.ව.' : 'පස් වරු';\n            } else {\n                return isLower ? 'පෙ.ව.' : 'පෙර වරු';\n            }\n        },\n    });\n\n    return si;\n\n})));\n","//! moment.js locale configuration\n//! locale : Slovak [sk]\n//! author : Martin Minka : https://github.com/k2s\n//! based on work of petrbela : https://github.com/petrbela\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months =\n            'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(\n                '_'\n            ),\n        monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');\n    function plural(n) {\n        return n > 1 && n < 5;\n    }\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        switch (key) {\n            case 's': // a few seconds / in a few seconds / a few seconds ago\n                return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';\n            case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'sekundy' : 'sekúnd');\n                } else {\n                    return result + 'sekundami';\n                }\n            case 'm': // a minute / in a minute / a minute ago\n                return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';\n            case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'minúty' : 'minút');\n                } else {\n                    return result + 'minútami';\n                }\n            case 'h': // an hour / in an hour / an hour ago\n                return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n            case 'hh': // 9 hours / in 9 hours / 9 hours ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'hodiny' : 'hodín');\n                } else {\n                    return result + 'hodinami';\n                }\n            case 'd': // a day / in a day / a day ago\n                return withoutSuffix || isFuture ? 'deň' : 'dňom';\n            case 'dd': // 9 days / in 9 days / 9 days ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'dni' : 'dní');\n                } else {\n                    return result + 'dňami';\n                }\n            case 'M': // a month / in a month / a month ago\n                return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';\n            case 'MM': // 9 months / in 9 months / 9 months ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'mesiace' : 'mesiacov');\n                } else {\n                    return result + 'mesiacmi';\n                }\n            case 'y': // a year / in a year / a year ago\n                return withoutSuffix || isFuture ? 'rok' : 'rokom';\n            case 'yy': // 9 years / in 9 years / 9 years ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'roky' : 'rokov');\n                } else {\n                    return result + 'rokmi';\n                }\n        }\n    }\n\n    var sk = moment.defineLocale('sk', {\n        months: months,\n        monthsShort: monthsShort,\n        weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),\n        weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),\n        weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[dnes o] LT',\n            nextDay: '[zajtra o] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[v nedeľu o] LT';\n                    case 1:\n                    case 2:\n                        return '[v] dddd [o] LT';\n                    case 3:\n                        return '[v stredu o] LT';\n                    case 4:\n                        return '[vo štvrtok o] LT';\n                    case 5:\n                        return '[v piatok o] LT';\n                    case 6:\n                        return '[v sobotu o] LT';\n                }\n            },\n            lastDay: '[včera o] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[minulú nedeľu o] LT';\n                    case 1:\n                    case 2:\n                        return '[minulý] dddd [o] LT';\n                    case 3:\n                        return '[minulú stredu o] LT';\n                    case 4:\n                    case 5:\n                        return '[minulý] dddd [o] LT';\n                    case 6:\n                        return '[minulú sobotu o] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'pred %s',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return sk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Slovenian [sl]\n//! author : Robert Sedovšek : https://github.com/sedovsek\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        switch (key) {\n            case 's':\n                return withoutSuffix || isFuture\n                    ? 'nekaj sekund'\n                    : 'nekaj sekundami';\n            case 'ss':\n                if (number === 1) {\n                    result += withoutSuffix ? 'sekundo' : 'sekundi';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';\n                } else {\n                    result += 'sekund';\n                }\n                return result;\n            case 'm':\n                return withoutSuffix ? 'ena minuta' : 'eno minuto';\n            case 'mm':\n                if (number === 1) {\n                    result += withoutSuffix ? 'minuta' : 'minuto';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'minuti' : 'minutama';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'minute' : 'minutami';\n                } else {\n                    result += withoutSuffix || isFuture ? 'minut' : 'minutami';\n                }\n                return result;\n            case 'h':\n                return withoutSuffix ? 'ena ura' : 'eno uro';\n            case 'hh':\n                if (number === 1) {\n                    result += withoutSuffix ? 'ura' : 'uro';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'uri' : 'urama';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'ure' : 'urami';\n                } else {\n                    result += withoutSuffix || isFuture ? 'ur' : 'urami';\n                }\n                return result;\n            case 'd':\n                return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';\n            case 'dd':\n                if (number === 1) {\n                    result += withoutSuffix || isFuture ? 'dan' : 'dnem';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';\n                } else {\n                    result += withoutSuffix || isFuture ? 'dni' : 'dnevi';\n                }\n                return result;\n            case 'M':\n                return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';\n            case 'MM':\n                if (number === 1) {\n                    result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'mesece' : 'meseci';\n                } else {\n                    result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';\n                }\n                return result;\n            case 'y':\n                return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';\n            case 'yy':\n                if (number === 1) {\n                    result += withoutSuffix || isFuture ? 'leto' : 'letom';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'leti' : 'letoma';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'leta' : 'leti';\n                } else {\n                    result += withoutSuffix || isFuture ? 'let' : 'leti';\n                }\n                return result;\n        }\n    }\n\n    var sl = moment.defineLocale('sl', {\n        months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort:\n            'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),\n        weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),\n        weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD. MM. YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd, D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[danes ob] LT',\n            nextDay: '[jutri ob] LT',\n\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[v] [nedeljo] [ob] LT';\n                    case 3:\n                        return '[v] [sredo] [ob] LT';\n                    case 6:\n                        return '[v] [soboto] [ob] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[v] dddd [ob] LT';\n                }\n            },\n            lastDay: '[včeraj ob] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[prejšnjo] [nedeljo] [ob] LT';\n                    case 3:\n                        return '[prejšnjo] [sredo] [ob] LT';\n                    case 6:\n                        return '[prejšnjo] [soboto] [ob] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[prejšnji] dddd [ob] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'čez %s',\n            past: 'pred %s',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return sl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Albanian [sq]\n//! author : Flakërim Ismani : https://github.com/flakerimi\n//! author : Menelion Elensúle : https://github.com/Oire\n//! author : Oerd Cukalla : https://github.com/oerd\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var sq = moment.defineLocale('sq', {\n        months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),\n        weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(\n            '_'\n        ),\n        weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),\n        weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),\n        weekdaysParseExact: true,\n        meridiemParse: /PD|MD/,\n        isPM: function (input) {\n            return input.charAt(0) === 'M';\n        },\n        meridiem: function (hours, minutes, isLower) {\n            return hours < 12 ? 'PD' : 'MD';\n        },\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Sot në] LT',\n            nextDay: '[Nesër në] LT',\n            nextWeek: 'dddd [në] LT',\n            lastDay: '[Dje në] LT',\n            lastWeek: 'dddd [e kaluar në] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'në %s',\n            past: '%s më parë',\n            s: 'disa sekonda',\n            ss: '%d sekonda',\n            m: 'një minutë',\n            mm: '%d minuta',\n            h: 'një orë',\n            hh: '%d orë',\n            d: 'një ditë',\n            dd: '%d ditë',\n            M: 'një muaj',\n            MM: '%d muaj',\n            y: 'një vit',\n            yy: '%d vite',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return sq;\n\n})));\n","//! moment.js locale configuration\n//! locale : Serbian Cyrillic [sr-cyrl]\n//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j\n//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var translator = {\n        words: {\n            //Different grammatical cases\n            ss: ['секунда', 'секунде', 'секунди'],\n            m: ['један минут', 'једног минута'],\n            mm: ['минут', 'минута', 'минута'],\n            h: ['један сат', 'једног сата'],\n            hh: ['сат', 'сата', 'сати'],\n            d: ['један дан', 'једног дана'],\n            dd: ['дан', 'дана', 'дана'],\n            M: ['један месец', 'једног месеца'],\n            MM: ['месец', 'месеца', 'месеци'],\n            y: ['једну годину', 'једне године'],\n            yy: ['годину', 'године', 'година'],\n        },\n        correctGrammaticalCase: function (number, wordKey) {\n            if (\n                number % 10 >= 1 &&\n                number % 10 <= 4 &&\n                (number % 100 < 10 || number % 100 >= 20)\n            ) {\n                return number % 10 === 1 ? wordKey[0] : wordKey[1];\n            }\n            return wordKey[2];\n        },\n        translate: function (number, withoutSuffix, key, isFuture) {\n            var wordKey = translator.words[key],\n                word;\n\n            if (key.length === 1) {\n                // Nominativ\n                if (key === 'y' && withoutSuffix) return 'једна година';\n                return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];\n            }\n\n            word = translator.correctGrammaticalCase(number, wordKey);\n            // Nominativ\n            if (key === 'yy' && withoutSuffix && word === 'годину') {\n                return number + ' година';\n            }\n\n            return number + ' ' + word;\n        },\n    };\n\n    var srCyrl = moment.defineLocale('sr-cyrl', {\n        months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(\n            '_'\n        ),\n        monthsShort:\n            'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),\n        monthsParseExact: true,\n        weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),\n        weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),\n        weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'D. M. YYYY.',\n            LL: 'D. MMMM YYYY.',\n            LLL: 'D. MMMM YYYY. H:mm',\n            LLLL: 'dddd, D. MMMM YYYY. H:mm',\n        },\n        calendar: {\n            sameDay: '[данас у] LT',\n            nextDay: '[сутра у] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[у] [недељу] [у] LT';\n                    case 3:\n                        return '[у] [среду] [у] LT';\n                    case 6:\n                        return '[у] [суботу] [у] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[у] dddd [у] LT';\n                }\n            },\n            lastDay: '[јуче у] LT',\n            lastWeek: function () {\n                var lastWeekDays = [\n                    '[прошле] [недеље] [у] LT',\n                    '[прошлог] [понедељка] [у] LT',\n                    '[прошлог] [уторка] [у] LT',\n                    '[прошле] [среде] [у] LT',\n                    '[прошлог] [четвртка] [у] LT',\n                    '[прошлог] [петка] [у] LT',\n                    '[прошле] [суботе] [у] LT',\n                ];\n                return lastWeekDays[this.day()];\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'за %s',\n            past: 'пре %s',\n            s: 'неколико секунди',\n            ss: translator.translate,\n            m: translator.translate,\n            mm: translator.translate,\n            h: translator.translate,\n            hh: translator.translate,\n            d: translator.translate,\n            dd: translator.translate,\n            M: translator.translate,\n            MM: translator.translate,\n            y: translator.translate,\n            yy: translator.translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 1st is the first week of the year.\n        },\n    });\n\n    return srCyrl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Serbian [sr]\n//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j\n//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var translator = {\n        words: {\n            //Different grammatical cases\n            ss: ['sekunda', 'sekunde', 'sekundi'],\n            m: ['jedan minut', 'jednog minuta'],\n            mm: ['minut', 'minuta', 'minuta'],\n            h: ['jedan sat', 'jednog sata'],\n            hh: ['sat', 'sata', 'sati'],\n            d: ['jedan dan', 'jednog dana'],\n            dd: ['dan', 'dana', 'dana'],\n            M: ['jedan mesec', 'jednog meseca'],\n            MM: ['mesec', 'meseca', 'meseci'],\n            y: ['jednu godinu', 'jedne godine'],\n            yy: ['godinu', 'godine', 'godina'],\n        },\n        correctGrammaticalCase: function (number, wordKey) {\n            if (\n                number % 10 >= 1 &&\n                number % 10 <= 4 &&\n                (number % 100 < 10 || number % 100 >= 20)\n            ) {\n                return number % 10 === 1 ? wordKey[0] : wordKey[1];\n            }\n            return wordKey[2];\n        },\n        translate: function (number, withoutSuffix, key, isFuture) {\n            var wordKey = translator.words[key],\n                word;\n\n            if (key.length === 1) {\n                // Nominativ\n                if (key === 'y' && withoutSuffix) return 'jedna godina';\n                return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];\n            }\n\n            word = translator.correctGrammaticalCase(number, wordKey);\n            // Nominativ\n            if (key === 'yy' && withoutSuffix && word === 'godinu') {\n                return number + ' godina';\n            }\n\n            return number + ' ' + word;\n        },\n    };\n\n    var sr = moment.defineLocale('sr', {\n        months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(\n            '_'\n        ),\n        monthsShort:\n            'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),\n        monthsParseExact: true,\n        weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),\n        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'D. M. YYYY.',\n            LL: 'D. MMMM YYYY.',\n            LLL: 'D. MMMM YYYY. H:mm',\n            LLLL: 'dddd, D. MMMM YYYY. H:mm',\n        },\n        calendar: {\n            sameDay: '[danas u] LT',\n            nextDay: '[sutra u] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[u] [nedelju] [u] LT';\n                    case 3:\n                        return '[u] [sredu] [u] LT';\n                    case 6:\n                        return '[u] [subotu] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[u] dddd [u] LT';\n                }\n            },\n            lastDay: '[juče u] LT',\n            lastWeek: function () {\n                var lastWeekDays = [\n                    '[prošle] [nedelje] [u] LT',\n                    '[prošlog] [ponedeljka] [u] LT',\n                    '[prošlog] [utorka] [u] LT',\n                    '[prošle] [srede] [u] LT',\n                    '[prošlog] [četvrtka] [u] LT',\n                    '[prošlog] [petka] [u] LT',\n                    '[prošle] [subote] [u] LT',\n                ];\n                return lastWeekDays[this.day()];\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'pre %s',\n            s: 'nekoliko sekundi',\n            ss: translator.translate,\n            m: translator.translate,\n            mm: translator.translate,\n            h: translator.translate,\n            hh: translator.translate,\n            d: translator.translate,\n            dd: translator.translate,\n            M: translator.translate,\n            MM: translator.translate,\n            y: translator.translate,\n            yy: translator.translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return sr;\n\n})));\n","//! moment.js locale configuration\n//! locale : siSwati [ss]\n//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ss = moment.defineLocale('ss', {\n        months: \"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni\".split(\n            '_'\n        ),\n        monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),\n        weekdays:\n            'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(\n                '_'\n            ),\n        weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),\n        weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Namuhla nga] LT',\n            nextDay: '[Kusasa nga] LT',\n            nextWeek: 'dddd [nga] LT',\n            lastDay: '[Itolo nga] LT',\n            lastWeek: 'dddd [leliphelile] [nga] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'nga %s',\n            past: 'wenteka nga %s',\n            s: 'emizuzwana lomcane',\n            ss: '%d mzuzwana',\n            m: 'umzuzu',\n            mm: '%d emizuzu',\n            h: 'lihora',\n            hh: '%d emahora',\n            d: 'lilanga',\n            dd: '%d emalanga',\n            M: 'inyanga',\n            MM: '%d tinyanga',\n            y: 'umnyaka',\n            yy: '%d iminyaka',\n        },\n        meridiemParse: /ekuseni|emini|entsambama|ebusuku/,\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'ekuseni';\n            } else if (hours < 15) {\n                return 'emini';\n            } else if (hours < 19) {\n                return 'entsambama';\n            } else {\n                return 'ebusuku';\n            }\n        },\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'ekuseni') {\n                return hour;\n            } else if (meridiem === 'emini') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {\n                if (hour === 0) {\n                    return 0;\n                }\n                return hour + 12;\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: '%d',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ss;\n\n})));\n","//! moment.js locale configuration\n//! locale : Swedish [sv]\n//! author : Jens Alm : https://github.com/ulmus\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var sv = moment.defineLocale('sv', {\n        months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n        weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),\n        weekdaysShort: 'sön_mån_tis_ons_tors_fre_lör'.split('_'),\n        weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [kl.] HH:mm',\n            LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',\n            lll: 'D MMM YYYY HH:mm',\n            llll: 'ddd D MMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Idag] LT',\n            nextDay: '[Imorgon] LT',\n            lastDay: '[Igår] LT',\n            nextWeek: '[På] dddd LT',\n            lastWeek: '[I] dddd[s] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'om %s',\n            past: 'för %s sedan',\n            s: 'några sekunder',\n            ss: '%d sekunder',\n            m: 'en minut',\n            mm: '%d minuter',\n            h: 'en timme',\n            hh: '%d timmar',\n            d: 'en dag',\n            dd: '%d dagar',\n            M: 'en månad',\n            MM: '%d månader',\n            y: 'ett år',\n            yy: '%d år',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(\\:e|\\:a)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? ':e'\n                        : b === 1\n                          ? ':a'\n                          : b === 2\n                            ? ':a'\n                            : b === 3\n                              ? ':e'\n                              : ':e';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return sv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Swahili [sw]\n//! author : Fahad Kassim : https://github.com/fadsel\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var relativeTime = {\n        ss: 'sekunde %d',\n        m: 'dakika moja',\n        mm: 'dakika %d',\n        h: 'saa moja',\n        hh: 'saa %d',\n        d: 'siku moja',\n        dd: 'siku %d',\n        M: 'mwezi mmoja',\n        MM: 'miezi %d',\n        y: 'mwaka mmoja',\n        yy: 'miaka %d',\n    };\n\n    function relativeTimeWithSuffix(number, withoutSuffix, key, isFuture) {\n        var output = relativeTime[key].replace(/%d/i, number);\n\n        if (withoutSuffix || isFuture) {\n            return output;\n        }\n\n        switch (key) {\n            case 'ss':\n            case 'mm':\n            case 'hh':\n            case 'dd':\n                return output + (number === 1 ? ' iliyopita' : ' zilizopita');\n            case 'm':\n            case 'h':\n            case 'd':\n                return output + ' iliyopita';\n            case 'M':\n            case 'y':\n                return output + ' uliopita';\n            case 'MM':\n            case 'yy':\n                return output + ' iliyopita';\n        }\n    }\n\n    var sw = moment.defineLocale('sw', {\n        months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),\n        weekdays:\n            'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(\n                '_'\n            ),\n        weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),\n        weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'hh:mm A',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[leo saa] LT',\n            nextDay: '[kesho saa] LT',\n            nextWeek: 'dddd [ijayo saa] LT',\n            lastDay: '[jana] LT',\n            lastWeek: 'dddd [iliyopita saa] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s baadaye',\n            past: function (output) {\n                return output === 'hivi punde' ? 'tokea ' + output : output;\n            },\n            s: 'hivi punde',\n            ss: relativeTimeWithSuffix,\n            m: relativeTimeWithSuffix,\n            mm: relativeTimeWithSuffix,\n            h: relativeTimeWithSuffix,\n            hh: relativeTimeWithSuffix,\n            d: relativeTimeWithSuffix,\n            dd: relativeTimeWithSuffix,\n            M: relativeTimeWithSuffix,\n            MM: relativeTimeWithSuffix,\n            y: relativeTimeWithSuffix,\n            yy: relativeTimeWithSuffix,\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return sw;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tamil [ta]\n//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '௧',\n            2: '௨',\n            3: '௩',\n            4: '௪',\n            5: '௫',\n            6: '௬',\n            7: '௭',\n            8: '௮',\n            9: '௯',\n            0: '௦',\n        },\n        numberMap = {\n            '௧': '1',\n            '௨': '2',\n            '௩': '3',\n            '௪': '4',\n            '௫': '5',\n            '௬': '6',\n            '௭': '7',\n            '௮': '8',\n            '௯': '9',\n            '௦': '0',\n        };\n\n    var ta = moment.defineLocale('ta', {\n        months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(\n            '_'\n        ),\n        monthsShort:\n            'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(\n                '_'\n            ),\n        weekdays:\n            'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(\n                '_'\n            ),\n        weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(\n            '_'\n        ),\n        weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, HH:mm',\n            LLLL: 'dddd, D MMMM YYYY, HH:mm',\n        },\n        calendar: {\n            sameDay: '[இன்று] LT',\n            nextDay: '[நாளை] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[நேற்று] LT',\n            lastWeek: '[கடந்த வாரம்] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s இல்',\n            past: '%s முன்',\n            s: 'ஒரு சில விநாடிகள்',\n            ss: '%d விநாடிகள்',\n            m: 'ஒரு நிமிடம்',\n            mm: '%d நிமிடங்கள்',\n            h: 'ஒரு மணி நேரம்',\n            hh: '%d மணி நேரம்',\n            d: 'ஒரு நாள்',\n            dd: '%d நாட்கள்',\n            M: 'ஒரு மாதம்',\n            MM: '%d மாதங்கள்',\n            y: 'ஒரு வருடம்',\n            yy: '%d ஆண்டுகள்',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}வது/,\n        ordinal: function (number) {\n            return number + 'வது';\n        },\n        preparse: function (string) {\n            return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        // refer http://ta.wikipedia.org/s/1er1\n        meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 2) {\n                return ' யாமம்';\n            } else if (hour < 6) {\n                return ' வைகறை'; // வைகறை\n            } else if (hour < 10) {\n                return ' காலை'; // காலை\n            } else if (hour < 14) {\n                return ' நண்பகல்'; // நண்பகல்\n            } else if (hour < 18) {\n                return ' எற்பாடு'; // எற்பாடு\n            } else if (hour < 22) {\n                return ' மாலை'; // மாலை\n            } else {\n                return ' யாமம்';\n            }\n        },\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'யாமம்') {\n                return hour < 2 ? hour : hour + 12;\n            } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {\n                return hour;\n            } else if (meridiem === 'நண்பகல்') {\n                return hour >= 10 ? hour : hour + 12;\n            } else {\n                return hour + 12;\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return ta;\n\n})));\n","//! moment.js locale configuration\n//! locale : Telugu [te]\n//! author : Krishna Chaitanya Thota : https://github.com/kcthota\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var te = moment.defineLocale('te', {\n        months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(\n            '_'\n        ),\n        monthsShort:\n            'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays:\n            'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(\n                '_'\n            ),\n        weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),\n        weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm',\n            LTS: 'A h:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm',\n        },\n        calendar: {\n            sameDay: '[నేడు] LT',\n            nextDay: '[రేపు] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[నిన్న] LT',\n            lastWeek: '[గత] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s లో',\n            past: '%s క్రితం',\n            s: 'కొన్ని క్షణాలు',\n            ss: '%d సెకన్లు',\n            m: 'ఒక నిమిషం',\n            mm: '%d నిమిషాలు',\n            h: 'ఒక గంట',\n            hh: '%d గంటలు',\n            d: 'ఒక రోజు',\n            dd: '%d రోజులు',\n            M: 'ఒక నెల',\n            MM: '%d నెలలు',\n            y: 'ఒక సంవత్సరం',\n            yy: '%d సంవత్సరాలు',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}వ/,\n        ordinal: '%dవ',\n        meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'రాత్రి') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'ఉదయం') {\n                return hour;\n            } else if (meridiem === 'మధ్యాహ్నం') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'సాయంత్రం') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'రాత్రి';\n            } else if (hour < 10) {\n                return 'ఉదయం';\n            } else if (hour < 17) {\n                return 'మధ్యాహ్నం';\n            } else if (hour < 20) {\n                return 'సాయంత్రం';\n            } else {\n                return 'రాత్రి';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return te;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tetun Dili (East Timor) [tet]\n//! author : Joshua Brooks : https://github.com/joshbrooks\n//! author : Onorio De J. Afonso : https://github.com/marobo\n//! author : Sonia Simoes : https://github.com/soniasimoes\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var tet = moment.defineLocale('tet', {\n        months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n        weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),\n        weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),\n        weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Ohin iha] LT',\n            nextDay: '[Aban iha] LT',\n            nextWeek: 'dddd [iha] LT',\n            lastDay: '[Horiseik iha] LT',\n            lastWeek: 'dddd [semana kotuk] [iha] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'iha %s',\n            past: '%s liuba',\n            s: 'segundu balun',\n            ss: 'segundu %d',\n            m: 'minutu ida',\n            mm: 'minutu %d',\n            h: 'oras ida',\n            hh: 'oras %d',\n            d: 'loron ida',\n            dd: 'loron %d',\n            M: 'fulan ida',\n            MM: 'fulan %d',\n            y: 'tinan ida',\n            yy: 'tinan %d',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return tet;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tajik [tg]\n//! author : Orif N. Jr. : https://github.com/orif-jr\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        0: '-ум',\n        1: '-ум',\n        2: '-юм',\n        3: '-юм',\n        4: '-ум',\n        5: '-ум',\n        6: '-ум',\n        7: '-ум',\n        8: '-ум',\n        9: '-ум',\n        10: '-ум',\n        12: '-ум',\n        13: '-ум',\n        20: '-ум',\n        30: '-юм',\n        40: '-ум',\n        50: '-ум',\n        60: '-ум',\n        70: '-ум',\n        80: '-ум',\n        90: '-ум',\n        100: '-ум',\n    };\n\n    var tg = moment.defineLocale('tg', {\n        months: {\n            format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(\n                '_'\n            ),\n            standalone:\n                'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(\n                    '_'\n                ),\n        },\n        monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),\n        weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(\n            '_'\n        ),\n        weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),\n        weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Имрӯз соати] LT',\n            nextDay: '[Фардо соати] LT',\n            lastDay: '[Дирӯз соати] LT',\n            nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',\n            lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'баъди %s',\n            past: '%s пеш',\n            s: 'якчанд сония',\n            m: 'як дақиқа',\n            mm: '%d дақиқа',\n            h: 'як соат',\n            hh: '%d соат',\n            d: 'як рӯз',\n            dd: '%d рӯз',\n            M: 'як моҳ',\n            MM: '%d моҳ',\n            y: 'як сол',\n            yy: '%d сол',\n        },\n        meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'шаб') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'субҳ') {\n                return hour;\n            } else if (meridiem === 'рӯз') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'бегоҳ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'шаб';\n            } else if (hour < 11) {\n                return 'субҳ';\n            } else if (hour < 16) {\n                return 'рӯз';\n            } else if (hour < 19) {\n                return 'бегоҳ';\n            } else {\n                return 'шаб';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ум|юм)/,\n        ordinal: function (number) {\n            var a = number % 10,\n                b = number >= 100 ? 100 : null;\n            return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 1th is the first week of the year.\n        },\n    });\n\n    return tg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Thai [th]\n//! author : Kridsada Thanabulpong : https://github.com/sirn\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var th = moment.defineLocale('th', {\n        months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(\n            '_'\n        ),\n        monthsShort:\n            'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),\n        weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference\n        weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY เวลา H:mm',\n            LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',\n        },\n        meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,\n        isPM: function (input) {\n            return input === 'หลังเที่ยง';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ก่อนเที่ยง';\n            } else {\n                return 'หลังเที่ยง';\n            }\n        },\n        calendar: {\n            sameDay: '[วันนี้ เวลา] LT',\n            nextDay: '[พรุ่งนี้ เวลา] LT',\n            nextWeek: 'dddd[หน้า เวลา] LT',\n            lastDay: '[เมื่อวานนี้ เวลา] LT',\n            lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'อีก %s',\n            past: '%sที่แล้ว',\n            s: 'ไม่กี่วินาที',\n            ss: '%d วินาที',\n            m: '1 นาที',\n            mm: '%d นาที',\n            h: '1 ชั่วโมง',\n            hh: '%d ชั่วโมง',\n            d: '1 วัน',\n            dd: '%d วัน',\n            w: '1 สัปดาห์',\n            ww: '%d สัปดาห์',\n            M: '1 เดือน',\n            MM: '%d เดือน',\n            y: '1 ปี',\n            yy: '%d ปี',\n        },\n    });\n\n    return th;\n\n})));\n","//! moment.js locale configuration\n//! locale : Turkmen [tk]\n//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        1: \"'inji\",\n        5: \"'inji\",\n        8: \"'inji\",\n        70: \"'inji\",\n        80: \"'inji\",\n        2: \"'nji\",\n        7: \"'nji\",\n        20: \"'nji\",\n        50: \"'nji\",\n        3: \"'ünji\",\n        4: \"'ünji\",\n        100: \"'ünji\",\n        6: \"'njy\",\n        9: \"'unjy\",\n        10: \"'unjy\",\n        30: \"'unjy\",\n        60: \"'ynjy\",\n        90: \"'ynjy\",\n    };\n\n    var tk = moment.defineLocale('tk', {\n        months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(\n            '_'\n        ),\n        monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),\n        weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(\n            '_'\n        ),\n        weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),\n        weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[bugün sagat] LT',\n            nextDay: '[ertir sagat] LT',\n            nextWeek: '[indiki] dddd [sagat] LT',\n            lastDay: '[düýn] LT',\n            lastWeek: '[geçen] dddd [sagat] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s soň',\n            past: '%s öň',\n            s: 'birnäçe sekunt',\n            m: 'bir minut',\n            mm: '%d minut',\n            h: 'bir sagat',\n            hh: '%d sagat',\n            d: 'bir gün',\n            dd: '%d gün',\n            M: 'bir aý',\n            MM: '%d aý',\n            y: 'bir ýyl',\n            yy: '%d ýyl',\n        },\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'Do':\n                case 'DD':\n                    return number;\n                default:\n                    if (number === 0) {\n                        // special case for zero\n                        return number + \"'unjy\";\n                    }\n                    var a = number % 10,\n                        b = (number % 100) - a,\n                        c = number >= 100 ? 100 : null;\n                    return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return tk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tagalog (Philippines) [tl-ph]\n//! author : Dan Hagman : https://github.com/hagmandan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var tlPh = moment.defineLocale('tl-ph', {\n        months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(\n            '_'\n        ),\n        monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n        weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(\n            '_'\n        ),\n        weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n        weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'MM/D/YYYY',\n            LL: 'MMMM D, YYYY',\n            LLL: 'MMMM D, YYYY HH:mm',\n            LLLL: 'dddd, MMMM DD, YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: 'LT [ngayong araw]',\n            nextDay: '[Bukas ng] LT',\n            nextWeek: 'LT [sa susunod na] dddd',\n            lastDay: 'LT [kahapon]',\n            lastWeek: 'LT [noong nakaraang] dddd',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'sa loob ng %s',\n            past: '%s ang nakalipas',\n            s: 'ilang segundo',\n            ss: '%d segundo',\n            m: 'isang minuto',\n            mm: '%d minuto',\n            h: 'isang oras',\n            hh: '%d oras',\n            d: 'isang araw',\n            dd: '%d araw',\n            M: 'isang buwan',\n            MM: '%d buwan',\n            y: 'isang taon',\n            yy: '%d taon',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: function (number) {\n            return number;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return tlPh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Klingon [tlh]\n//! author : Dominika Kruk : https://github.com/amaranthrose\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');\n\n    function translateFuture(output) {\n        var time = output;\n        time =\n            output.indexOf('jaj') !== -1\n                ? time.slice(0, -3) + 'leS'\n                : output.indexOf('jar') !== -1\n                  ? time.slice(0, -3) + 'waQ'\n                  : output.indexOf('DIS') !== -1\n                    ? time.slice(0, -3) + 'nem'\n                    : time + ' pIq';\n        return time;\n    }\n\n    function translatePast(output) {\n        var time = output;\n        time =\n            output.indexOf('jaj') !== -1\n                ? time.slice(0, -3) + 'Hu’'\n                : output.indexOf('jar') !== -1\n                  ? time.slice(0, -3) + 'wen'\n                  : output.indexOf('DIS') !== -1\n                    ? time.slice(0, -3) + 'ben'\n                    : time + ' ret';\n        return time;\n    }\n\n    function translate(number, withoutSuffix, string, isFuture) {\n        var numberNoun = numberAsNoun(number);\n        switch (string) {\n            case 'ss':\n                return numberNoun + ' lup';\n            case 'mm':\n                return numberNoun + ' tup';\n            case 'hh':\n                return numberNoun + ' rep';\n            case 'dd':\n                return numberNoun + ' jaj';\n            case 'MM':\n                return numberNoun + ' jar';\n            case 'yy':\n                return numberNoun + ' DIS';\n        }\n    }\n\n    function numberAsNoun(number) {\n        var hundred = Math.floor((number % 1000) / 100),\n            ten = Math.floor((number % 100) / 10),\n            one = number % 10,\n            word = '';\n        if (hundred > 0) {\n            word += numbersNouns[hundred] + 'vatlh';\n        }\n        if (ten > 0) {\n            word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';\n        }\n        if (one > 0) {\n            word += (word !== '' ? ' ' : '') + numbersNouns[one];\n        }\n        return word === '' ? 'pagh' : word;\n    }\n\n    var tlh = moment.defineLocale('tlh', {\n        months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(\n            '_'\n        ),\n        monthsShort:\n            'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(\n            '_'\n        ),\n        weekdaysShort:\n            'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),\n        weekdaysMin:\n            'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[DaHjaj] LT',\n            nextDay: '[wa’leS] LT',\n            nextWeek: 'LLL',\n            lastDay: '[wa’Hu’] LT',\n            lastWeek: 'LLL',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: translateFuture,\n            past: translatePast,\n            s: 'puS lup',\n            ss: translate,\n            m: 'wa’ tup',\n            mm: translate,\n            h: 'wa’ rep',\n            hh: translate,\n            d: 'wa’ jaj',\n            dd: translate,\n            M: 'wa’ jar',\n            MM: translate,\n            y: 'wa’ DIS',\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return tlh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Turkish [tr]\n//! authors : Erhan Gundogan : https://github.com/erhangundogan,\n//!           Burak Yiğit Kaya: https://github.com/BYK\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        1: \"'inci\",\n        5: \"'inci\",\n        8: \"'inci\",\n        70: \"'inci\",\n        80: \"'inci\",\n        2: \"'nci\",\n        7: \"'nci\",\n        20: \"'nci\",\n        50: \"'nci\",\n        3: \"'üncü\",\n        4: \"'üncü\",\n        100: \"'üncü\",\n        6: \"'ncı\",\n        9: \"'uncu\",\n        10: \"'uncu\",\n        30: \"'uncu\",\n        60: \"'ıncı\",\n        90: \"'ıncı\",\n    };\n\n    var tr = moment.defineLocale('tr', {\n        months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(\n            '_'\n        ),\n        monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),\n        weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(\n            '_'\n        ),\n        weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'),\n        weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower ? 'öö' : 'ÖÖ';\n            } else {\n                return isLower ? 'ös' : 'ÖS';\n            }\n        },\n        meridiemParse: /öö|ÖÖ|ös|ÖS/,\n        isPM: function (input) {\n            return input === 'ös' || input === 'ÖS';\n        },\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[bugün saat] LT',\n            nextDay: '[yarın saat] LT',\n            nextWeek: '[gelecek] dddd [saat] LT',\n            lastDay: '[dün] LT',\n            lastWeek: '[geçen] dddd [saat] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s sonra',\n            past: '%s önce',\n            s: 'birkaç saniye',\n            ss: '%d saniye',\n            m: 'bir dakika',\n            mm: '%d dakika',\n            h: 'bir saat',\n            hh: '%d saat',\n            d: 'bir gün',\n            dd: '%d gün',\n            w: 'bir hafta',\n            ww: '%d hafta',\n            M: 'bir ay',\n            MM: '%d ay',\n            y: 'bir yıl',\n            yy: '%d yıl',\n        },\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'Do':\n                case 'DD':\n                    return number;\n                default:\n                    if (number === 0) {\n                        // special case for zero\n                        return number + \"'ıncı\";\n                    }\n                    var a = number % 10,\n                        b = (number % 100) - a,\n                        c = number >= 100 ? 100 : null;\n                    return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return tr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Talossan [tzl]\n//! author : Robin van der Vliet : https://github.com/robin0van0der0v\n//! author : Iustì Canun\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.\n    // This is currently too difficult (maybe even impossible) to add.\n    var tzl = moment.defineLocale('tzl', {\n        months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),\n        weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),\n        weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),\n        weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM [dallas] YYYY',\n            LLL: 'D. MMMM [dallas] YYYY HH.mm',\n            LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',\n        },\n        meridiemParse: /d\\'o|d\\'a/i,\n        isPM: function (input) {\n            return \"d'o\" === input.toLowerCase();\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours > 11) {\n                return isLower ? \"d'o\" : \"D'O\";\n            } else {\n                return isLower ? \"d'a\" : \"D'A\";\n            }\n        },\n        calendar: {\n            sameDay: '[oxhi à] LT',\n            nextDay: '[demà à] LT',\n            nextWeek: 'dddd [à] LT',\n            lastDay: '[ieiri à] LT',\n            lastWeek: '[sür el] dddd [lasteu à] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'osprei %s',\n            past: 'ja%s',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['viensas secunds', \"'iensas secunds\"],\n            ss: [number + ' secunds', '' + number + ' secunds'],\n            m: [\"'n míut\", \"'iens míut\"],\n            mm: [number + ' míuts', '' + number + ' míuts'],\n            h: [\"'n þora\", \"'iensa þora\"],\n            hh: [number + ' þoras', '' + number + ' þoras'],\n            d: [\"'n ziua\", \"'iensa ziua\"],\n            dd: [number + ' ziuas', '' + number + ' ziuas'],\n            M: [\"'n mes\", \"'iens mes\"],\n            MM: [number + ' mesen', '' + number + ' mesen'],\n            y: [\"'n ar\", \"'iens ar\"],\n            yy: [number + ' ars', '' + number + ' ars'],\n        };\n        return isFuture\n            ? format[key][0]\n            : withoutSuffix\n              ? format[key][0]\n              : format[key][1];\n    }\n\n    return tzl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Central Atlas Tamazight Latin [tzm-latn]\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var tzmLatn = moment.defineLocale('tzm-latn', {\n        months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(\n            '_'\n        ),\n        monthsShort:\n            'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(\n                '_'\n            ),\n        weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n        weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n        weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[asdkh g] LT',\n            nextDay: '[aska g] LT',\n            nextWeek: 'dddd [g] LT',\n            lastDay: '[assant g] LT',\n            lastWeek: 'dddd [g] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dadkh s yan %s',\n            past: 'yan %s',\n            s: 'imik',\n            ss: '%d imik',\n            m: 'minuḍ',\n            mm: '%d minuḍ',\n            h: 'saɛa',\n            hh: '%d tassaɛin',\n            d: 'ass',\n            dd: '%d ossan',\n            M: 'ayowr',\n            MM: '%d iyyirn',\n            y: 'asgas',\n            yy: '%d isgasn',\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return tzmLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Central Atlas Tamazight [tzm]\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var tzm = moment.defineLocale('tzm', {\n        months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(\n            '_'\n        ),\n        monthsShort:\n            'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(\n                '_'\n            ),\n        weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n        weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n        weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',\n            nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',\n            nextWeek: 'dddd [ⴴ] LT',\n            lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',\n            lastWeek: 'dddd [ⴴ] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',\n            past: 'ⵢⴰⵏ %s',\n            s: 'ⵉⵎⵉⴽ',\n            ss: '%d ⵉⵎⵉⴽ',\n            m: 'ⵎⵉⵏⵓⴺ',\n            mm: '%d ⵎⵉⵏⵓⴺ',\n            h: 'ⵙⴰⵄⴰ',\n            hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',\n            d: 'ⴰⵙⵙ',\n            dd: '%d oⵙⵙⴰⵏ',\n            M: 'ⴰⵢoⵓⵔ',\n            MM: '%d ⵉⵢⵢⵉⵔⵏ',\n            y: 'ⴰⵙⴳⴰⵙ',\n            yy: '%d ⵉⵙⴳⴰⵙⵏ',\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return tzm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uyghur (China) [ug-cn]\n//! author: boyaq : https://github.com/boyaq\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ugCn = moment.defineLocale('ug-cn', {\n        months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(\n            '_'\n        ),\n        monthsShort:\n            'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(\n                '_'\n            ),\n        weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(\n            '_'\n        ),\n        weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),\n        weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',\n            LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',\n            LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',\n        },\n        meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (\n                meridiem === 'يېرىم كېچە' ||\n                meridiem === 'سەھەر' ||\n                meridiem === 'چۈشتىن بۇرۇن'\n            ) {\n                return hour;\n            } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {\n                return hour + 12;\n            } else {\n                return hour >= 11 ? hour : hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return 'يېرىم كېچە';\n            } else if (hm < 900) {\n                return 'سەھەر';\n            } else if (hm < 1130) {\n                return 'چۈشتىن بۇرۇن';\n            } else if (hm < 1230) {\n                return 'چۈش';\n            } else if (hm < 1800) {\n                return 'چۈشتىن كېيىن';\n            } else {\n                return 'كەچ';\n            }\n        },\n        calendar: {\n            sameDay: '[بۈگۈن سائەت] LT',\n            nextDay: '[ئەتە سائەت] LT',\n            nextWeek: '[كېلەركى] dddd [سائەت] LT',\n            lastDay: '[تۆنۈگۈن] LT',\n            lastWeek: '[ئالدىنقى] dddd [سائەت] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s كېيىن',\n            past: '%s بۇرۇن',\n            s: 'نەچچە سېكونت',\n            ss: '%d سېكونت',\n            m: 'بىر مىنۇت',\n            mm: '%d مىنۇت',\n            h: 'بىر سائەت',\n            hh: '%d سائەت',\n            d: 'بىر كۈن',\n            dd: '%d كۈن',\n            M: 'بىر ئاي',\n            MM: '%d ئاي',\n            y: 'بىر يىل',\n            yy: '%d يىل',\n        },\n\n        dayOfMonthOrdinalParse: /\\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '-كۈنى';\n                case 'w':\n                case 'W':\n                    return number + '-ھەپتە';\n                default:\n                    return number;\n            }\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 1st is the first week of the year.\n        },\n    });\n\n    return ugCn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Ukrainian [uk]\n//! author : zemlanin : https://github.com/zemlanin\n//! Author : Menelion Elensúle : https://github.com/Oire\n//! Author : Oleksandr Trukhnii : https://github.com/JohnJunior\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function plural(word, num) {\n        var forms = word.split('_');\n        return num % 10 === 1 && num % 100 !== 11\n            ? forms[0]\n            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n              ? forms[1]\n              : forms[2];\n    }\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        var format = {\n            ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',\n            mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',\n            hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',\n            dd: 'день_дні_днів',\n            MM: 'місяць_місяці_місяців',\n            yy: 'рік_роки_років',\n        };\n        if (key === 'm') {\n            return withoutSuffix ? 'хвилина' : 'хвилину';\n        } else if (key === 'h') {\n            return withoutSuffix ? 'година' : 'годину';\n        } else {\n            return number + ' ' + plural(format[key], +number);\n        }\n    }\n    function weekdaysCaseReplace(m, format) {\n        var weekdays = {\n                nominative:\n                    'неділя_понеділок_вівторок_середа_четвер_пʼятниця_субота'.split(\n                        '_'\n                    ),\n                accusative:\n                    'неділю_понеділок_вівторок_середу_четвер_пʼятницю_суботу'.split(\n                        '_'\n                    ),\n                genitive:\n                    'неділі_понеділка_вівторка_середи_четверга_пʼятниці_суботи'.split(\n                        '_'\n                    ),\n            },\n            nounCase;\n\n        if (m === true) {\n            return weekdays['nominative']\n                .slice(1, 7)\n                .concat(weekdays['nominative'].slice(0, 1));\n        }\n        if (!m) {\n            return weekdays['nominative'];\n        }\n\n        nounCase = /(\\[[ВвУу]\\]) ?dddd/.test(format)\n            ? 'accusative'\n            : /\\[?(?:минулої|наступної)? ?\\] ?dddd/.test(format)\n              ? 'genitive'\n              : 'nominative';\n        return weekdays[nounCase][m.day()];\n    }\n    function processHoursFunction(str) {\n        return function () {\n            return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';\n        };\n    }\n\n    var uk = moment.defineLocale('uk', {\n        months: {\n            format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(\n                '_'\n            ),\n            standalone:\n                'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(\n                    '_'\n                ),\n        },\n        monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(\n            '_'\n        ),\n        weekdays: weekdaysCaseReplace,\n        weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n        weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY р.',\n            LLL: 'D MMMM YYYY р., HH:mm',\n            LLLL: 'dddd, D MMMM YYYY р., HH:mm',\n        },\n        calendar: {\n            sameDay: processHoursFunction('[Сьогодні '),\n            nextDay: processHoursFunction('[Завтра '),\n            lastDay: processHoursFunction('[Вчора '),\n            nextWeek: processHoursFunction('[У] dddd ['),\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                    case 5:\n                    case 6:\n                        return processHoursFunction('[Минулої] dddd [').call(this);\n                    case 1:\n                    case 2:\n                    case 4:\n                        return processHoursFunction('[Минулого] dddd [').call(this);\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'за %s',\n            past: '%s тому',\n            s: 'декілька секунд',\n            ss: relativeTimeWithPlural,\n            m: relativeTimeWithPlural,\n            mm: relativeTimeWithPlural,\n            h: 'годину',\n            hh: relativeTimeWithPlural,\n            d: 'день',\n            dd: relativeTimeWithPlural,\n            M: 'місяць',\n            MM: relativeTimeWithPlural,\n            y: 'рік',\n            yy: relativeTimeWithPlural,\n        },\n        // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason\n        meridiemParse: /ночі|ранку|дня|вечора/,\n        isPM: function (input) {\n            return /^(дня|вечора)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ночі';\n            } else if (hour < 12) {\n                return 'ранку';\n            } else if (hour < 17) {\n                return 'дня';\n            } else {\n                return 'вечора';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(й|го)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'M':\n                case 'd':\n                case 'DDD':\n                case 'w':\n                case 'W':\n                    return number + '-й';\n                case 'D':\n                    return number + '-го';\n                default:\n                    return number;\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return uk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Urdu [ur]\n//! author : Sawood Alam : https://github.com/ibnesayeed\n//! author : Zack : https://github.com/ZackVision\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'جنوری',\n            'فروری',\n            'مارچ',\n            'اپریل',\n            'مئی',\n            'جون',\n            'جولائی',\n            'اگست',\n            'ستمبر',\n            'اکتوبر',\n            'نومبر',\n            'دسمبر',\n        ],\n        days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];\n\n    var ur = moment.defineLocale('ur', {\n        months: months,\n        monthsShort: months,\n        weekdays: days,\n        weekdaysShort: days,\n        weekdaysMin: days,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd، D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /صبح|شام/,\n        isPM: function (input) {\n            return 'شام' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'صبح';\n            }\n            return 'شام';\n        },\n        calendar: {\n            sameDay: '[آج بوقت] LT',\n            nextDay: '[کل بوقت] LT',\n            nextWeek: 'dddd [بوقت] LT',\n            lastDay: '[گذشتہ روز بوقت] LT',\n            lastWeek: '[گذشتہ] dddd [بوقت] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s بعد',\n            past: '%s قبل',\n            s: 'چند سیکنڈ',\n            ss: '%d سیکنڈ',\n            m: 'ایک منٹ',\n            mm: '%d منٹ',\n            h: 'ایک گھنٹہ',\n            hh: '%d گھنٹے',\n            d: 'ایک دن',\n            dd: '%d دن',\n            M: 'ایک ماہ',\n            MM: '%d ماہ',\n            y: 'ایک سال',\n            yy: '%d سال',\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ur;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uzbek Latin [uz-latn]\n//! author : Rasulbek Mirzayev : github.com/Rasulbeeek\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var uzLatn = moment.defineLocale('uz-latn', {\n        months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(\n            '_'\n        ),\n        monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),\n        weekdays:\n            'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(\n                '_'\n            ),\n        weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),\n        weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'D MMMM YYYY, dddd HH:mm',\n        },\n        calendar: {\n            sameDay: '[Bugun soat] LT [da]',\n            nextDay: '[Ertaga] LT [da]',\n            nextWeek: 'dddd [kuni soat] LT [da]',\n            lastDay: '[Kecha soat] LT [da]',\n            lastWeek: \"[O'tgan] dddd [kuni soat] LT [da]\",\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'Yaqin %s ichida',\n            past: '%s oldin',\n            s: 'soniya',\n            ss: '%d soniya',\n            m: 'bir daqiqa',\n            mm: '%d daqiqa',\n            h: 'bir soat',\n            hh: '%d soat',\n            d: 'bir kun',\n            dd: '%d kun',\n            M: 'bir oy',\n            MM: '%d oy',\n            y: 'bir yil',\n            yy: '%d yil',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return uzLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uzbek [uz]\n//! author : Sardor Muminov : https://github.com/muminoff\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var uz = moment.defineLocale('uz', {\n        months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(\n            '_'\n        ),\n        monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),\n        weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),\n        weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),\n        weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'D MMMM YYYY, dddd HH:mm',\n        },\n        calendar: {\n            sameDay: '[Бугун соат] LT [да]',\n            nextDay: '[Эртага] LT [да]',\n            nextWeek: 'dddd [куни соат] LT [да]',\n            lastDay: '[Кеча соат] LT [да]',\n            lastWeek: '[Утган] dddd [куни соат] LT [да]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'Якин %s ичида',\n            past: '%s олдин',\n            s: 'фурсат',\n            ss: '%d фурсат',\n            m: 'бир дакика',\n            mm: '%d дакика',\n            h: 'бир соат',\n            hh: '%d соат',\n            d: 'бир кун',\n            dd: '%d кун',\n            M: 'бир ой',\n            MM: '%d ой',\n            y: 'бир йил',\n            yy: '%d йил',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return uz;\n\n})));\n","//! moment.js locale configuration\n//! locale : Vietnamese [vi]\n//! author : Bang Nguyen : https://github.com/bangnk\n//! author : Chien Kira : https://github.com/chienkira\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var vi = moment.defineLocale('vi', {\n        months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(\n            '_'\n        ),\n        monthsShort:\n            'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(\n            '_'\n        ),\n        weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n        weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n        weekdaysParseExact: true,\n        meridiemParse: /sa|ch/i,\n        isPM: function (input) {\n            return /^ch$/i.test(input);\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower ? 'sa' : 'SA';\n            } else {\n                return isLower ? 'ch' : 'CH';\n            }\n        },\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM [năm] YYYY',\n            LLL: 'D MMMM [năm] YYYY HH:mm',\n            LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',\n            l: 'DD/M/YYYY',\n            ll: 'D MMM YYYY',\n            lll: 'D MMM YYYY HH:mm',\n            llll: 'ddd, D MMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Hôm nay lúc] LT',\n            nextDay: '[Ngày mai lúc] LT',\n            nextWeek: 'dddd [tuần tới lúc] LT',\n            lastDay: '[Hôm qua lúc] LT',\n            lastWeek: 'dddd [tuần trước lúc] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s tới',\n            past: '%s trước',\n            s: 'vài giây',\n            ss: '%d giây',\n            m: 'một phút',\n            mm: '%d phút',\n            h: 'một giờ',\n            hh: '%d giờ',\n            d: 'một ngày',\n            dd: '%d ngày',\n            w: 'một tuần',\n            ww: '%d tuần',\n            M: 'một tháng',\n            MM: '%d tháng',\n            y: 'một năm',\n            yy: '%d năm',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: function (number) {\n            return number;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return vi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Pseudo [x-pseudo]\n//! author : Andrew Hood : https://github.com/andrewhood125\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var xPseudo = moment.defineLocale('x-pseudo', {\n        months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(\n            '_'\n        ),\n        monthsShort:\n            'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(\n                '_'\n            ),\n        monthsParseExact: true,\n        weekdays:\n            'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(\n                '_'\n            ),\n        weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),\n        weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[T~ódá~ý át] LT',\n            nextDay: '[T~ómó~rró~w át] LT',\n            nextWeek: 'dddd [át] LT',\n            lastDay: '[Ý~ést~érdá~ý át] LT',\n            lastWeek: '[L~ást] dddd [át] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'í~ñ %s',\n            past: '%s á~gó',\n            s: 'á ~féw ~sécó~ñds',\n            ss: '%d s~écóñ~ds',\n            m: 'á ~míñ~úté',\n            mm: '%d m~íñú~tés',\n            h: 'á~ñ hó~úr',\n            hh: '%d h~óúrs',\n            d: 'á ~dáý',\n            dd: '%d d~áýs',\n            M: 'á ~móñ~th',\n            MM: '%d m~óñt~hs',\n            y: 'á ~ýéár',\n            yy: '%d ý~éárs',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return xPseudo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Yoruba Nigeria [yo]\n//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var yo = moment.defineLocale('yo', {\n        months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(\n            '_'\n        ),\n        monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),\n        weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),\n        weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),\n        weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Ònì ni] LT',\n            nextDay: '[Ọ̀la ni] LT',\n            nextWeek: \"dddd [Ọsẹ̀ tón'bọ] [ni] LT\",\n            lastDay: '[Àna ni] LT',\n            lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ní %s',\n            past: '%s kọjá',\n            s: 'ìsẹjú aayá die',\n            ss: 'aayá %d',\n            m: 'ìsẹjú kan',\n            mm: 'ìsẹjú %d',\n            h: 'wákati kan',\n            hh: 'wákati %d',\n            d: 'ọjọ́ kan',\n            dd: 'ọjọ́ %d',\n            M: 'osù kan',\n            MM: 'osù %d',\n            y: 'ọdún kan',\n            yy: 'ọdún %d',\n        },\n        dayOfMonthOrdinalParse: /ọjọ́\\s\\d{1,2}/,\n        ordinal: 'ọjọ́ %d',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return yo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (China) [zh-cn]\n//! author : suupic : https://github.com/suupic\n//! author : Zeno Zeng : https://github.com/zenozeng\n//! author : uu109 : https://github.com/uu109\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var zhCn = moment.defineLocale('zh-cn', {\n        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n            '_'\n        ),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n        weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),\n        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日Ah点mm分',\n            LLLL: 'YYYY年M月D日ddddAh点mm分',\n            l: 'YYYY/M/D',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日dddd HH:mm',\n        },\n        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n                return hour;\n            } else if (meridiem === '下午' || meridiem === '晚上') {\n                return hour + 12;\n            } else {\n                // '中午'\n                return hour >= 11 ? hour : hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return '凌晨';\n            } else if (hm < 900) {\n                return '早上';\n            } else if (hm < 1130) {\n                return '上午';\n            } else if (hm < 1230) {\n                return '中午';\n            } else if (hm < 1800) {\n                return '下午';\n            } else {\n                return '晚上';\n            }\n        },\n        calendar: {\n            sameDay: '[今天]LT',\n            nextDay: '[明天]LT',\n            nextWeek: function (now) {\n                if (now.week() !== this.week()) {\n                    return '[下]dddLT';\n                } else {\n                    return '[本]dddLT';\n                }\n            },\n            lastDay: '[昨天]LT',\n            lastWeek: function (now) {\n                if (this.week() !== now.week()) {\n                    return '[上]dddLT';\n                } else {\n                    return '[本]dddLT';\n                }\n            },\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(日|月|周)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                case 'M':\n                    return number + '月';\n                case 'w':\n                case 'W':\n                    return number + '周';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s后',\n            past: '%s前',\n            s: '几秒',\n            ss: '%d 秒',\n            m: '1 分钟',\n            mm: '%d 分钟',\n            h: '1 小时',\n            hh: '%d 小时',\n            d: '1 天',\n            dd: '%d 天',\n            w: '1 周',\n            ww: '%d 周',\n            M: '1 个月',\n            MM: '%d 个月',\n            y: '1 年',\n            yy: '%d 年',\n        },\n        week: {\n            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return zhCn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Hong Kong) [zh-hk]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n//! author : Konstantin : https://github.com/skfd\n//! author : Anthony : https://github.com/anthonylau\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var zhHk = moment.defineLocale('zh-hk', {\n        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n            '_'\n        ),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日 HH:mm',\n            LLLL: 'YYYY年M月D日dddd HH:mm',\n            l: 'YYYY/M/D',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日dddd HH:mm',\n        },\n        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n                return hour;\n            } else if (meridiem === '中午') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === '下午' || meridiem === '晚上') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return '凌晨';\n            } else if (hm < 900) {\n                return '早上';\n            } else if (hm < 1200) {\n                return '上午';\n            } else if (hm === 1200) {\n                return '中午';\n            } else if (hm < 1800) {\n                return '下午';\n            } else {\n                return '晚上';\n            }\n        },\n        calendar: {\n            sameDay: '[今天]LT',\n            nextDay: '[明天]LT',\n            nextWeek: '[下]ddddLT',\n            lastDay: '[昨天]LT',\n            lastWeek: '[上]ddddLT',\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                case 'M':\n                    return number + '月';\n                case 'w':\n                case 'W':\n                    return number + '週';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s後',\n            past: '%s前',\n            s: '幾秒',\n            ss: '%d 秒',\n            m: '1 分鐘',\n            mm: '%d 分鐘',\n            h: '1 小時',\n            hh: '%d 小時',\n            d: '1 天',\n            dd: '%d 天',\n            M: '1 個月',\n            MM: '%d 個月',\n            y: '1 年',\n            yy: '%d 年',\n        },\n    });\n\n    return zhHk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Macau) [zh-mo]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n//! author : Tan Yuanhong : https://github.com/le0tan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var zhMo = moment.defineLocale('zh-mo', {\n        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n            '_'\n        ),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日 HH:mm',\n            LLLL: 'YYYY年M月D日dddd HH:mm',\n            l: 'D/M/YYYY',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日dddd HH:mm',\n        },\n        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n                return hour;\n            } else if (meridiem === '中午') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === '下午' || meridiem === '晚上') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return '凌晨';\n            } else if (hm < 900) {\n                return '早上';\n            } else if (hm < 1130) {\n                return '上午';\n            } else if (hm < 1230) {\n                return '中午';\n            } else if (hm < 1800) {\n                return '下午';\n            } else {\n                return '晚上';\n            }\n        },\n        calendar: {\n            sameDay: '[今天] LT',\n            nextDay: '[明天] LT',\n            nextWeek: '[下]dddd LT',\n            lastDay: '[昨天] LT',\n            lastWeek: '[上]dddd LT',\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                case 'M':\n                    return number + '月';\n                case 'w':\n                case 'W':\n                    return number + '週';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s內',\n            past: '%s前',\n            s: '幾秒',\n            ss: '%d 秒',\n            m: '1 分鐘',\n            mm: '%d 分鐘',\n            h: '1 小時',\n            hh: '%d 小時',\n            d: '1 天',\n            dd: '%d 天',\n            M: '1 個月',\n            MM: '%d 個月',\n            y: '1 年',\n            yy: '%d 年',\n        },\n    });\n\n    return zhMo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Taiwan) [zh-tw]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var zhTw = moment.defineLocale('zh-tw', {\n        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n            '_'\n        ),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日 HH:mm',\n            LLLL: 'YYYY年M月D日dddd HH:mm',\n            l: 'YYYY/M/D',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日dddd HH:mm',\n        },\n        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n                return hour;\n            } else if (meridiem === '中午') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === '下午' || meridiem === '晚上') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return '凌晨';\n            } else if (hm < 900) {\n                return '早上';\n            } else if (hm < 1130) {\n                return '上午';\n            } else if (hm < 1230) {\n                return '中午';\n            } else if (hm < 1800) {\n                return '下午';\n            } else {\n                return '晚上';\n            }\n        },\n        calendar: {\n            sameDay: '[今天] LT',\n            nextDay: '[明天] LT',\n            nextWeek: '[下]dddd LT',\n            lastDay: '[昨天] LT',\n            lastWeek: '[上]dddd LT',\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                case 'M':\n                    return number + '月';\n                case 'w':\n                case 'W':\n                    return number + '週';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s後',\n            past: '%s前',\n            s: '幾秒',\n            ss: '%d 秒',\n            m: '1 分鐘',\n            mm: '%d 分鐘',\n            h: '1 小時',\n            hh: '%d 小時',\n            d: '1 天',\n            dd: '%d 天',\n            M: '1 個月',\n            MM: '%d 個月',\n            y: '1 年',\n            yy: '%d 年',\n        },\n    });\n\n    return zhTw;\n\n})));\n","var map = {\n\t\"./af\": 25177,\n\t\"./af.js\": 25177,\n\t\"./am-et\": 94096,\n\t\"./am-et.js\": 94096,\n\t\"./ar\": 61509,\n\t\"./ar-dz\": 41488,\n\t\"./ar-dz.js\": 41488,\n\t\"./ar-kw\": 58676,\n\t\"./ar-kw.js\": 58676,\n\t\"./ar-ly\": 42353,\n\t\"./ar-ly.js\": 42353,\n\t\"./ar-ma\": 24496,\n\t\"./ar-ma.js\": 24496,\n\t\"./ar-ps\": 6947,\n\t\"./ar-ps.js\": 6947,\n\t\"./ar-sa\": 82682,\n\t\"./ar-sa.js\": 82682,\n\t\"./ar-tn\": 89756,\n\t\"./ar-tn.js\": 89756,\n\t\"./ar.js\": 61509,\n\t\"./az\": 95533,\n\t\"./az.js\": 95533,\n\t\"./be\": 28959,\n\t\"./be.js\": 28959,\n\t\"./bg\": 47777,\n\t\"./bg.js\": 47777,\n\t\"./bm\": 54903,\n\t\"./bm.js\": 54903,\n\t\"./bn\": 61290,\n\t\"./bn-bd\": 17357,\n\t\"./bn-bd.js\": 17357,\n\t\"./bn.js\": 61290,\n\t\"./bo\": 31545,\n\t\"./bo.js\": 31545,\n\t\"./br\": 11470,\n\t\"./br.js\": 11470,\n\t\"./bs\": 44429,\n\t\"./bs.js\": 44429,\n\t\"./ca\": 7306,\n\t\"./ca.js\": 7306,\n\t\"./cs\": 56464,\n\t\"./cs.js\": 56464,\n\t\"./cv\": 73635,\n\t\"./cv.js\": 73635,\n\t\"./cy\": 64226,\n\t\"./cy.js\": 64226,\n\t\"./da\": 93601,\n\t\"./da.js\": 93601,\n\t\"./de\": 77853,\n\t\"./de-at\": 26111,\n\t\"./de-at.js\": 26111,\n\t\"./de-ch\": 54697,\n\t\"./de-ch.js\": 54697,\n\t\"./de.js\": 77853,\n\t\"./dv\": 60708,\n\t\"./dv.js\": 60708,\n\t\"./el\": 54691,\n\t\"./el.js\": 54691,\n\t\"./en-au\": 53872,\n\t\"./en-au.js\": 53872,\n\t\"./en-ca\": 28298,\n\t\"./en-ca.js\": 28298,\n\t\"./en-gb\": 56195,\n\t\"./en-gb.js\": 56195,\n\t\"./en-ie\": 66584,\n\t\"./en-ie.js\": 66584,\n\t\"./en-il\": 65543,\n\t\"./en-il.js\": 65543,\n\t\"./en-in\": 9033,\n\t\"./en-in.js\": 9033,\n\t\"./en-nz\": 79402,\n\t\"./en-nz.js\": 79402,\n\t\"./en-sg\": 43004,\n\t\"./en-sg.js\": 43004,\n\t\"./eo\": 32934,\n\t\"./eo.js\": 32934,\n\t\"./es\": 97650,\n\t\"./es-do\": 20838,\n\t\"./es-do.js\": 20838,\n\t\"./es-mx\": 17730,\n\t\"./es-mx.js\": 17730,\n\t\"./es-us\": 56575,\n\t\"./es-us.js\": 56575,\n\t\"./es.js\": 97650,\n\t\"./et\": 25416,\n\t\"./et.js\": 25416,\n\t\"./eu\": 3508,\n\t\"./eu.js\": 3508,\n\t\"./fa\": 119,\n\t\"./fa.js\": 119,\n\t\"./fi\": 90527,\n\t\"./fi.js\": 90527,\n\t\"./fil\": 95995,\n\t\"./fil.js\": 95995,\n\t\"./fo\": 52477,\n\t\"./fo.js\": 52477,\n\t\"./fr\": 85498,\n\t\"./fr-ca\": 26435,\n\t\"./fr-ca.js\": 26435,\n\t\"./fr-ch\": 37892,\n\t\"./fr-ch.js\": 37892,\n\t\"./fr.js\": 85498,\n\t\"./fy\": 37071,\n\t\"./fy.js\": 37071,\n\t\"./ga\": 41734,\n\t\"./ga.js\": 41734,\n\t\"./gd\": 70217,\n\t\"./gd.js\": 70217,\n\t\"./gl\": 77329,\n\t\"./gl.js\": 77329,\n\t\"./gom-deva\": 32124,\n\t\"./gom-deva.js\": 32124,\n\t\"./gom-latn\": 93383,\n\t\"./gom-latn.js\": 93383,\n\t\"./gu\": 95050,\n\t\"./gu.js\": 95050,\n\t\"./he\": 11713,\n\t\"./he.js\": 11713,\n\t\"./hi\": 43861,\n\t\"./hi.js\": 43861,\n\t\"./hr\": 26308,\n\t\"./hr.js\": 26308,\n\t\"./hu\": 90609,\n\t\"./hu.js\": 90609,\n\t\"./hy-am\": 17160,\n\t\"./hy-am.js\": 17160,\n\t\"./id\": 74063,\n\t\"./id.js\": 74063,\n\t\"./is\": 89374,\n\t\"./is.js\": 89374,\n\t\"./it\": 88383,\n\t\"./it-ch\": 21827,\n\t\"./it-ch.js\": 21827,\n\t\"./it.js\": 88383,\n\t\"./ja\": 23827,\n\t\"./ja.js\": 23827,\n\t\"./jv\": 89722,\n\t\"./jv.js\": 89722,\n\t\"./ka\": 41794,\n\t\"./ka.js\": 41794,\n\t\"./kk\": 27088,\n\t\"./kk.js\": 27088,\n\t\"./km\": 96870,\n\t\"./km.js\": 96870,\n\t\"./kn\": 84451,\n\t\"./kn.js\": 84451,\n\t\"./ko\": 63164,\n\t\"./ko.js\": 63164,\n\t\"./ku\": 98174,\n\t\"./ku-kmr\": 6181,\n\t\"./ku-kmr.js\": 6181,\n\t\"./ku.js\": 98174,\n\t\"./ky\": 78474,\n\t\"./ky.js\": 78474,\n\t\"./lb\": 79680,\n\t\"./lb.js\": 79680,\n\t\"./lo\": 15867,\n\t\"./lo.js\": 15867,\n\t\"./lt\": 45766,\n\t\"./lt.js\": 45766,\n\t\"./lv\": 69532,\n\t\"./lv.js\": 69532,\n\t\"./me\": 58076,\n\t\"./me.js\": 58076,\n\t\"./mi\": 41848,\n\t\"./mi.js\": 41848,\n\t\"./mk\": 30306,\n\t\"./mk.js\": 30306,\n\t\"./ml\": 73739,\n\t\"./ml.js\": 73739,\n\t\"./mn\": 99053,\n\t\"./mn.js\": 99053,\n\t\"./mr\": 86169,\n\t\"./mr.js\": 86169,\n\t\"./ms\": 73386,\n\t\"./ms-my\": 92297,\n\t\"./ms-my.js\": 92297,\n\t\"./ms.js\": 73386,\n\t\"./mt\": 77075,\n\t\"./mt.js\": 77075,\n\t\"./my\": 49883,\n\t\"./my.js\": 49883,\n\t\"./nb\": 22274,\n\t\"./nb.js\": 22274,\n\t\"./ne\": 8235,\n\t\"./ne.js\": 8235,\n\t\"./nl\": 92572,\n\t\"./nl-be\": 43784,\n\t\"./nl-be.js\": 43784,\n\t\"./nl.js\": 92572,\n\t\"./nn\": 54566,\n\t\"./nn.js\": 54566,\n\t\"./oc-lnc\": 69330,\n\t\"./oc-lnc.js\": 69330,\n\t\"./pa-in\": 29849,\n\t\"./pa-in.js\": 29849,\n\t\"./pl\": 94418,\n\t\"./pl.js\": 94418,\n\t\"./ps\": 57347,\n\t\"./ps.js\": 57347,\n\t\"./pt\": 79834,\n\t\"./pt-br\": 48303,\n\t\"./pt-br.js\": 48303,\n\t\"./pt.js\": 79834,\n\t\"./ro\": 24457,\n\t\"./ro.js\": 24457,\n\t\"./ru\": 82271,\n\t\"./ru.js\": 82271,\n\t\"./sd\": 1221,\n\t\"./sd.js\": 1221,\n\t\"./se\": 33478,\n\t\"./se.js\": 33478,\n\t\"./si\": 17538,\n\t\"./si.js\": 17538,\n\t\"./sk\": 5784,\n\t\"./sk.js\": 5784,\n\t\"./sl\": 46637,\n\t\"./sl.js\": 46637,\n\t\"./sq\": 86794,\n\t\"./sq.js\": 86794,\n\t\"./sr\": 45719,\n\t\"./sr-cyrl\": 3322,\n\t\"./sr-cyrl.js\": 3322,\n\t\"./sr.js\": 45719,\n\t\"./ss\": 56000,\n\t\"./ss.js\": 56000,\n\t\"./sv\": 41011,\n\t\"./sv.js\": 41011,\n\t\"./sw\": 40748,\n\t\"./sw.js\": 40748,\n\t\"./ta\": 11025,\n\t\"./ta.js\": 11025,\n\t\"./te\": 11885,\n\t\"./te.js\": 11885,\n\t\"./tet\": 28861,\n\t\"./tet.js\": 28861,\n\t\"./tg\": 86571,\n\t\"./tg.js\": 86571,\n\t\"./th\": 55802,\n\t\"./th.js\": 55802,\n\t\"./tk\": 59527,\n\t\"./tk.js\": 59527,\n\t\"./tl-ph\": 29231,\n\t\"./tl-ph.js\": 29231,\n\t\"./tlh\": 31052,\n\t\"./tlh.js\": 31052,\n\t\"./tr\": 85096,\n\t\"./tr.js\": 85096,\n\t\"./tzl\": 79846,\n\t\"./tzl.js\": 79846,\n\t\"./tzm\": 81765,\n\t\"./tzm-latn\": 97711,\n\t\"./tzm-latn.js\": 97711,\n\t\"./tzm.js\": 81765,\n\t\"./ug-cn\": 48414,\n\t\"./ug-cn.js\": 48414,\n\t\"./uk\": 16618,\n\t\"./uk.js\": 16618,\n\t\"./ur\": 57777,\n\t\"./ur.js\": 57777,\n\t\"./uz\": 57609,\n\t\"./uz-latn\": 72475,\n\t\"./uz-latn.js\": 72475,\n\t\"./uz.js\": 57609,\n\t\"./vi\": 21135,\n\t\"./vi.js\": 21135,\n\t\"./x-pseudo\": 64051,\n\t\"./x-pseudo.js\": 64051,\n\t\"./yo\": 82218,\n\t\"./yo.js\": 82218,\n\t\"./zh-cn\": 52648,\n\t\"./zh-cn.js\": 52648,\n\t\"./zh-hk\": 1632,\n\t\"./zh-hk.js\": 1632,\n\t\"./zh-mo\": 31541,\n\t\"./zh-mo.js\": 31541,\n\t\"./zh-tw\": 50304,\n\t\"./zh-tw.js\": 50304\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 35358;","//! moment.js\n//! version : 2.31.0\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n((e,a)=>{\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=a():\"function\"==typeof define&&define.amd?define(a):e.moment=a()})(this,function(){var F;function L(){return F.apply(null,arguments)}function E(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function z(e){return null!=e&&\"[object Object]\"===Object.prototype.toString.call(e)}function l(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function N(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var a in e)if(l(e,a))return;return 1}function Y(e){return void 0===e}function J(e){return\"number\"==typeof e||\"[object Number]\"===Object.prototype.toString.call(e)}function R(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function C(e,a){for(var t=[],s=e.length,n=0;n<s;++n)t.push(a(e[n],n));return t}function I(e,a){for(var t in a)l(a,t)&&(e[t]=a[t]);return l(a,\"toString\")&&(e.toString=a.toString),l(a,\"valueOf\")&&(e.valueOf=a.valueOf),e}function U(e,a,t,s){return Ja(e,a,t,s,!0).utc()}function y(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidOffset:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function G(e){var a,t,s=e._d&&!isNaN(e._d.getTime());return s&&(a=y(e),t=$.call(a.parsedDateParts,function(e){return null!=e}),s=a.overflow<0&&!a.empty&&!a.invalidEra&&!a.invalidMonth&&!a.invalidOffset&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||(a.meridiem,t)),e._strict)&&(s=s&&0===a.charsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?s:(e._isValid=s,e._isValid)}function V(e){var a=U(NaN);return null!=e?I(y(a),e):y(a).userInvalidated=!0,a}var $=Array.prototype.some||function(e){for(var a=Object(this),t=a.length>>>0,s=0;s<t;s++)if(s in a&&e.call(this,a[s],s,a))return!0;return!1},q=L.momentProperties=[],B=!1;function K(e,a){var t,s,n,r=q.length;if(Y(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),Y(a._i)||(e._i=a._i),Y(a._f)||(e._f=a._f),Y(a._l)||(e._l=a._l),Y(a._strict)||(e._strict=a._strict),Y(a._tzm)||(e._tzm=a._tzm),Y(a._isUTC)||(e._isUTC=a._isUTC),Y(a._offset)||(e._offset=a._offset),Y(a._pf)||(e._pf=y(a)),Y(a._locale)||(e._locale=a._locale),0<r)for(t=0;t<r;t++)Y(n=a[s=q[t]])||(e[s]=n);return e}function Z(e){K(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===B&&(B=!0,L.updateOffset(this),B=!1)}function f(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function Q(e){!1===L.suppressDeprecationWarnings&&\"undefined\"!=typeof console&&console.warn&&console.warn(\"Deprecation warning: \"+e)}function e(r,d){var i=!0;return I(function(){if(null!=L.deprecationHandler&&L.deprecationHandler(null,r),i){for(var e,a,t=[],s=arguments.length,n=0;n<s;n++){if(e=\"\",\"object\"==typeof arguments[n]){for(a in e+=\"\\n[\"+n+\"] \",arguments[0])l(arguments[0],a)&&(e+=a+\": \"+arguments[0][a]+\", \");e=e.slice(0,-2)}else e=arguments[n];t.push(e)}Q(r+\"\\nArguments: \"+Array.prototype.slice.call(t).join(\"\")+\"\\n\"+(new Error).stack),i=!1}return d.apply(this,arguments)},d)}var X={};function ee(e,a){null!=L.deprecationHandler&&L.deprecationHandler(e,a),X[e]||(Q(a+\"\\n\"+(new Error).stack),X[e]=!0)}function ae(e){return\"undefined\"!=typeof Function&&e instanceof Function||\"[object Function]\"===Object.prototype.toString.call(e)}L.suppressDeprecationWarnings=!1,L.deprecationHandler=null;var te={D:\"date\",dates:\"date\",date:\"date\",d:\"day\",days:\"day\",day:\"day\",e:\"weekday\",weekdays:\"weekday\",weekday:\"weekday\",E:\"isoWeekday\",isoweekdays:\"isoWeekday\",isoweekday:\"isoWeekday\",DDD:\"dayOfYear\",dayofyears:\"dayOfYear\",dayofyear:\"dayOfYear\",h:\"hour\",hours:\"hour\",hour:\"hour\",ms:\"millisecond\",milliseconds:\"millisecond\",millisecond:\"millisecond\",m:\"minute\",minutes:\"minute\",minute:\"minute\",M:\"month\",months:\"month\",month:\"month\",Q:\"quarter\",quarters:\"quarter\",quarter:\"quarter\",s:\"second\",seconds:\"second\",second:\"second\",gg:\"weekYear\",weekyears:\"weekYear\",weekyear:\"weekYear\",GG:\"isoWeekYear\",isoweekyears:\"isoWeekYear\",isoweekyear:\"isoWeekYear\",w:\"week\",weeks:\"week\",week:\"week\",W:\"isoWeek\",isoweeks:\"isoWeek\",isoweek:\"isoWeek\",y:\"year\",years:\"year\",year:\"year\"};function d(e){return\"string\"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function se(e){var a,t,s={};for(t in e)l(e,t)&&(a=d(t))&&(s[a]=e[t]);return s}var ne={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function r(e,a,t){var s=\"\"+Math.abs(e);return(0<=e?t?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,a-s.length)).toString().substr(1)+s}var re=/(\\[[^\\[]*\\])|(\\\\e)|(\\\\)?(eHHmm|[Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,de=/(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},_e={};function s(e,a,t,s){var n=\"string\"==typeof s?function(){return this[s]()}:s;e&&(_e[e]=n),a&&(_e[a[0]]=function(){return r(n.apply(this,arguments),a[1],a[2])}),t&&(_e[t]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function oe(e,a){var t;return e.isValid()?(t=\"$\"+(a=me(a,e.localeData())),l(ie,t)||(ie[t]=(s=>{for(var e,n=s.match(re),a=0,r=n.length;a<r;a++)_e[n[a]]?n[a]=_e[n[a]]:n[a]=(e=n[a]).match(/\\[[\\s\\S]/)?e.replace(/^\\[|\\]$/g,\"\"):e.replace(/\\\\/g,\"\");return function(e){for(var a=\"\",t=0;t<r;t++)a+=ae(n[t])?n[t].call(e,s):n[t];return a}})(a)),ie[t](e)):e.localeData().invalidDate()}function me(e,a){var t=5;function s(e){return a.longDateFormat(e)||e}for(de.lastIndex=0;0<=t&&de.test(e);)e=e.replace(de,s),de.lastIndex=0,--t;return e}var a=/\\d/,t=/\\d\\d/,n=/\\d{3}/,i=/\\d{4}/,_=/[+-]?\\d{6}/,o=/\\d\\d?/,m=/\\d\\d\\d\\d?/,u=/\\d\\d\\d\\d\\d\\d?/,M=/\\d{1,3}/,h=/\\d{1,4}/,ue=/[+-]?\\d{1,6}/,le=/\\d+/,Me=/[+-]?\\d+/,he=/Z|[+-]\\d\\d:?\\d\\d/gi,ce=/Z|[+-]\\d\\d(?::?\\d\\d)?/gi,c=/[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,p=/^[1-9]\\d?/,k=/^([1-9]\\d|\\d)/;function D(e,t,s){fe[e]=ae(t)?t:function(e,a){return e&&s?s:t}}function Le(e,a){return l(fe,e)?fe[e](a._strict,a._locale):new RegExp(Ye(e.replace(\"\\\\\",\"\").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,function(e,a,t,s,n){return a||t||s||n})))}function Ye(e){return e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\")}function ye(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var e=+e,a=0;return a=0!=e&&isFinite(e)?ye(e):a}var fe={},pe={};function T(e,t){var a,s,n=t;for(\"string\"==typeof e&&(e=[e]),J(t)&&(n=function(e,a){a[t]=g(e)}),s=e.length,a=0;a<s;a++)pe[e[a]]=n}function ke(e,n){T(e,function(e,a,t,s){t._w=t._w||{},n(e,t._w,t,s)})}function De(e){return e%4==0&&e%100!=0||e%400==0}var w=0,b=1,S=2,H=3,ge=4,Te=5,we=6,be=7,Se=8;function He(e){return De(e)?366:365}s(\"Y\",0,0,function(){var e=this.year();return e<=9999?r(e,4):\"+\"+e}),s(0,[\"YY\",2],0,function(){return this.year()%100}),s(0,[\"YYYY\",4],0,\"year\"),s(0,[\"YYYYY\",5],0,\"year\"),s(0,[\"YYYYYY\",6,!0],0,\"year\"),D(\"Y\",Me),D(\"YY\",o,t),D(\"YYYY\",h,i),D(\"YYYYY\",ue,_),D(\"YYYYYY\",ue,_),T([\"YYYYY\",\"YYYYYY\"],w),T(\"YYYY\",function(e,a){a[w]=2===e.length?L.parseTwoDigitYear(e):g(e)}),T(\"YY\",function(e,a){a[w]=L.parseTwoDigitYear(e)}),T(\"Y\",function(e,a){a[w]=parseInt(e,10)}),L.parseTwoDigitYear=function(e){return g(e)+(68<g(e)?1900:2e3)};var v,ve=je(\"FullYear\",!0);function je(a,t){return function(e){return null!=e?(Pe(this,a,e),L.updateOffset(this,t),this):xe(this,a)}}function xe(e,a){if(!e.isValid())return NaN;var t=e._d,s=e._isUTC;switch(a){case\"Milliseconds\":return s?t.getUTCMilliseconds():t.getMilliseconds();case\"Seconds\":return s?t.getUTCSeconds():t.getSeconds();case\"Minutes\":return s?t.getUTCMinutes():t.getMinutes();case\"Hours\":return s?t.getUTCHours():t.getHours();case\"Date\":return s?t.getUTCDate():t.getDate();case\"Day\":return s?t.getUTCDay():t.getDay();case\"Month\":return s?t.getUTCMonth():t.getMonth();case\"FullYear\":return s?t.getUTCFullYear():t.getFullYear();default:return NaN}}function Pe(e,a,t){var s,n,r;if(e.isValid()&&!isNaN(t)){switch(s=e._d,n=e._isUTC,a){case\"Milliseconds\":return n?s.setUTCMilliseconds(t):s.setMilliseconds(t);case\"Seconds\":return n?s.setUTCSeconds(t):s.setSeconds(t);case\"Minutes\":return n?s.setUTCMinutes(t):s.setMinutes(t);case\"Hours\":return n?s.setUTCHours(t):s.setHours(t);case\"Date\":return n?s.setUTCDate(t):s.setDate(t);case\"FullYear\":break;default:return}a=t,r=e.month(),e=29!==(e=e.date())||1!==r||De(a)?e:28,n?s.setUTCFullYear(a,r,e):s.setFullYear(a,r,e)}}function Oe(e,a){var t;return isNaN(e)||isNaN(a)?NaN:(t=(a%(t=12)+t)%t,e+=(a-t)/12,1==t?De(e)?29:28:31-t%7%2)}v=Array.prototype.indexOf||function(e){for(var a=0;a<this.length;++a)if(this[a]===e)return a;return-1},s(\"M\",[\"MM\",2],\"Mo\",function(){return this.month()+1}),s(\"MMM\",0,0,function(e){return this.localeData().monthsShort(this,e)}),s(\"MMMM\",0,0,function(e){return this.localeData().months(this,e)}),D(\"M\",o,p),D(\"MM\",o,t),D(\"MMM\",function(e,a){return a.monthsShortRegex(e)}),D(\"MMMM\",function(e,a){return a.monthsRegex(e)}),T([\"M\",\"MM\"],function(e,a){a[b]=g(e)-1}),T([\"MMM\",\"MMMM\"],function(e,a,t,s){s=t._locale.monthsParse(e,s,t._strict);null!=s?a[b]=s:y(t).invalidMonth=e});var We=\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),Ae=\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),Fe=/D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,Ee=c,ze=c,Ne=[\"monthsParse\",\"longMonthsParse\",\"shortMonthsParse\",\"monthsRegex\",\"monthsShortRegex\",\"monthsStrictRegex\",\"monthsShortStrictRegex\"];function Je(e,a){if(e.isValid()){if(\"string\"==typeof a)if(/^\\d+$/.test(a))a=g(a);else if(!J(a=e.localeData().monthsParse(a)))return;var t=(t=e.date())<29?t:Math.min(t,Oe(e.year(),a));e._isUTC?e._d.setUTCMonth(a,t):e._d.setMonth(a,t)}}function Re(e){return null!=e?(Je(this,e),L.updateOffset(this,!0),this):xe(this,\"Month\")}function Ce(){function e(e,a){return a.length-e.length}for(var a,t,s=[],n=[],r=[],d=0;d<12;d++)t=U([2e3,d]),a=Ye(this.monthsShort(t,\"\")),t=Ye(this.months(t,\"\")),s.push(a),n.push(t),r.push(t),r.push(a);s.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp(\"^(\"+r.join(\"|\")+\")\",\"i\"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(\"^(\"+n.join(\"|\")+\")\",\"i\"),this._monthsShortStrictRegex=new RegExp(\"^(\"+s.join(\"|\")+\")\",\"i\")}function Ie(e,a){return e.slice(a,7).concat(e.slice(0,a))}s(\"d\",0,\"do\",\"day\"),s(\"dd\",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s(\"ddd\",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s(\"dddd\",0,0,function(e){return this.localeData().weekdays(this,e)}),s(\"e\",0,0,\"weekday\"),s(\"E\",0,0,\"isoWeekday\"),s(\"eHHmm\",0,0,function(){return\"\"+this.weekday()+r(this.hours(),2)+r(this.minutes(),2)}),D(\"d\",o),D(\"e\",o),D(\"E\",o),D(\"eHHmm\",u),D(\"dd\",function(e,a){return a.weekdaysMinRegex(e)}),D(\"ddd\",function(e,a){return a.weekdaysShortRegex(e)}),D(\"dddd\",function(e,a){return a.weekdaysRegex(e)}),ke([\"dd\",\"ddd\",\"dddd\"],function(e,a,t,s){s=t._locale.weekdaysParse(e,s,t._strict);null!=s?a.d=s:y(t).invalidWeekday=e}),ke([\"d\",\"e\",\"E\"],function(e,a,t,s){a[s]=g(e)}),ke(\"eHHmm\",function(e,a,t){var s=e.length-4;a.e=g(e.substr(0,s)),t._a[H]=g(e.substr(s,2)),t._a[ge]=g(e.substr(2+s))});var Ue=\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),Ge=\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),Ve=\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),$e=c,qe=c,Be=c,Ke=[\"weekdaysParse\",\"fullWeekdaysParse\",\"shortWeekdaysParse\",\"minWeekdaysParse\",\"weekdaysRegex\",\"weekdaysShortRegex\",\"weekdaysMinRegex\",\"weekdaysStrictRegex\",\"weekdaysShortStrictRegex\",\"weekdaysMinStrictRegex\"];function Ze(){function e(e,a){return a.length-e.length}for(var a,t,s,n=[],r=[],d=[],i=[],_=0;_<7;_++)s=U([2e3,1]).day(_),a=Ye(this.weekdaysMin(s,\"\")),t=Ye(this.weekdaysShort(s,\"\")),s=Ye(this.weekdays(s,\"\")),n.push(a),r.push(t),d.push(s),i.push(a),i.push(t),i.push(s);n.sort(e),r.sort(e),d.sort(e),i.sort(e),this._weekdaysRegex=new RegExp(\"^(\"+i.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+d.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+r.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+n.join(\"|\")+\")\",\"i\")}function Qe(e,a){var t,s=I({},e);for(t in a)l(a,t)&&(z(e[t])&&z(a[t])?(s[t]={},I(s[t],e[t]),I(s[t],a[t])):null!=a[t]?s[t]=a[t]:delete s[t]);for(t in e)l(e,t)&&!l(a,t)&&z(e[t])&&(s[t]=I({},s[t]));return s}function Xe(e){null!=e&&this.set(e)}var ea=Object.keys||function(e){var a,t=[];for(a in e)l(e,a)&&t.push(a);return t};function aa(e,a,t,s){var n=this._relativeTime[t];return ae(n)?n(e,a,t,s):n.replace(/%d/i,e)}function ta(e,a){e=this._relativeTime[0<e?\"future\":\"past\"];return ae(e)?e(a):e.replace(/%s/i,a)}function sa(e,a,t,s,n,r,d){var i;return e<100&&0<=e?(i=new Date(e+400,a,t,s,n,r,d),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,a,t,s,n,r,d),i}function na(e){var a;return e<100&&0<=e?((a=Array.prototype.slice.call(arguments))[0]=e+400,a=new Date(Date.UTC.apply(null,a)),isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e)):a=new Date(Date.UTC.apply(null,arguments)),a}function ra(e,a,t){t=7+a-t;return t-(7+na(e,0,t).getUTCDay()-a)%7-1}function da(e,a,t,s,n){var r,a=1+7*(a-1)+(7+t-s)%7+ra(e,s,n),t=a<=0?He(r=e-1)+a:a>He(e)?(r=e+1,a-He(e)):(r=e,a);return{year:r,dayOfYear:t}}function ia(e,a,t,s){var n,r,d=ra(e,t,s),a=Math.floor((a-d-1)/7)+1;return a<1?n=a+ma(r=e-1,t,s):a>ma(e,t,s)?(n=a-ma(e,t,s),r=e+1):(r=e,n=a),{week:n,year:r}}function _a(e,a,t){return ia(e.year(),e.dayOfYear(),a,t)}function oa(e,a,t,s,n){return ia(e,Math.round((na(e,a,t)-na(e,0,1))/864e5)+1,s,n)}function ma(e,a,t){var s=ra(e,a,t),a=ra(e+1,a,t);return(He(e)-s+a)/7}s(\"w\",[\"ww\",2],\"wo\",\"week\"),s(\"W\",[\"WW\",2],\"Wo\",\"isoWeek\"),D(\"w\",o,p),D(\"ww\",o,t),D(\"W\",o,p),D(\"WW\",o,t),ke([\"w\",\"ww\",\"W\",\"WW\"],function(e,a,t,s){a[s.substr(0,1)]=g(e)});function ua(){return this.hours()%12||12}function la(e,a){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)})}function Ma(e,a){return a._meridiemParse}s(\"H\",[\"HH\",2],0,\"hour\"),s(\"h\",[\"hh\",2],0,ua),s(\"k\",[\"kk\",2],0,function(){return this.hours()||24}),s(\"hmm\",0,0,function(){return\"\"+ua.apply(this)+r(this.minutes(),2)}),s(\"hmmss\",0,0,function(){return\"\"+ua.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)}),s(\"Hmm\",0,0,function(){return\"\"+this.hours()+r(this.minutes(),2)}),s(\"Hmmss\",0,0,function(){return\"\"+this.hours()+r(this.minutes(),2)+r(this.seconds(),2)}),la(\"a\",!0),la(\"A\",!1),D(\"a\",Ma),D(\"A\",Ma),D(\"H\",o,k),D(\"h\",o,p),D(\"k\",o,p),D(\"HH\",o,t),D(\"hh\",o,t),D(\"kk\",o,t),D(\"hmm\",m),D(\"hmmss\",u),D(\"Hmm\",m),D(\"Hmmss\",u),T([\"H\",\"HH\"],H),T([\"k\",\"kk\"],function(e,a,t){e=g(e);a[H]=24===e?0:e}),T([\"a\",\"A\"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem=e}),T([\"h\",\"hh\"],function(e,a,t){a[H]=g(e),y(t).bigHour=!0}),T(\"hmm\",function(e,a,t){var s=e.length-2;a[H]=g(e.substr(0,s)),a[ge]=g(e.substr(s)),y(t).bigHour=!0}),T(\"hmmss\",function(e,a,t){var s=e.length-4,n=e.length-2;a[H]=g(e.substr(0,s)),a[ge]=g(e.substr(s,2)),a[Te]=g(e.substr(n)),y(t).bigHour=!0}),T(\"Hmm\",function(e,a,t){var s=e.length-2;a[H]=g(e.substr(0,s)),a[ge]=g(e.substr(s))}),T(\"Hmmss\",function(e,a,t){var s=e.length-4,n=e.length-2;a[H]=g(e.substr(0,s)),a[ge]=g(e.substr(s,2)),a[Te]=g(e.substr(n))});c=je(\"Hours\",!0);var ha,ca={calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},longDateFormat:{LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},invalidDate:\"Invalid date\",ordinal:\"%d\",dayOfMonthOrdinalParse:/\\d{1,2}/,relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",w:\"a week\",ww:\"%d weeks\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},months:We,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Ue,weekdaysMin:Ve,weekdaysShort:Ge,meridiemParse:/[ap]\\.?m?\\.?/i},j={},La={};function Ya(e){return e&&e.toLowerCase().replace(\"_\",\"-\")}function ya(e){for(var a,t,s,n,r=0;r<e.length;){for(a=(n=Ya(e[r]).split(\"-\")).length,t=(t=Ya(e[r+1]))?t.split(\"-\"):null;0<a;){if(s=fa(n.slice(0,a).join(\"-\")))return s;if(t&&t.length>=a&&((e,a)=>{for(var t=Math.min(e.length,a.length),s=0;s<t;s+=1)if(e[s]!==a[s])return s;return t})(n,t)>=a-1)break;a--}r++}return ha}function fa(a){var e,t;if(l(j,a))return j[a];if(a=Ya(a),l(j,a))return j[a];if(\"undefined\"!=typeof module&&module&&module.exports&&\"string\"==typeof(t=a)&&/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t))try{e=ha._abbr,require(\"./locale/\"+a),pa(e)}catch(e){j[a]=null}return l(j,a)?j[a]:void 0}function pa(e,a){return e&&((a=Y(a)?Da(e):ka(e,a))?ha=a:\"undefined\"!=typeof console&&console.warn&&console.warn(\"Locale \"+e+\" not found. Did you forget to load it?\")),ha._abbr}function ka(e,a){if(null===a)return delete j[e],null;var t,s=ca;if(a.abbr=e,null!=j[e])ee(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.\"),s=j[e]._config;else if(null!=a.parentLocale)if(null!=j[a.parentLocale])s=j[a.parentLocale]._config;else{if(null==(t=fa(a.parentLocale)))return La[a.parentLocale]||(La[a.parentLocale]=[]),La[a.parentLocale].push({name:e,config:a}),null;s=t._config}return j[e]=new Xe(Qe(s,a)),La[e]&&La[e].forEach(function(e){ka(e.name,e.config)}),pa(e),j[e]}function Da(e){var a;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return ha;if(!E(e)){if(a=fa(e))return a;e=[e]}return ya(e)}function ga(e){var a=e._a;return a&&-2===y(e).overflow&&(a=a[b]<0||11<a[b]?b:a[S]<1||a[S]>Oe(a[w],a[b])?S:a[H]<0||24<a[H]||24===a[H]&&(0!==a[ge]||0!==a[Te]||0!==a[we])?H:a[ge]<0||59<a[ge]?ge:a[Te]<0||59<a[Te]?Te:a[we]<0||999<a[we]?we:-1,y(e)._overflowDayOfYear&&(a<w||S<a)&&(a=S),y(e)._overflowWeeks&&-1===a&&(a=be),y(e)._overflowWeekday&&-1===a&&(a=Se),y(e).overflow=a),e}var Ta=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,wa=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,ba=/Z|[+-]\\d\\d(?::?\\d\\d)?/,Sa=[[\"YYYYYY-MM-DD\",/[+-]\\d{6}-\\d\\d-\\d\\d/],[\"YYYY-MM-DD\",/\\d{4}-\\d\\d-\\d\\d/],[\"GGGG-[W]WW-E\",/\\d{4}-W\\d\\d-\\d/],[\"GGGG-[W]WW\",/\\d{4}-W\\d\\d/,!1],[\"YYYY-DDD\",/\\d{4}-\\d{3}/],[\"YYYY-MM\",/\\d{4}-\\d\\d/,!1],[\"YYYYYYMMDD\",/[+-]\\d{10}/],[\"YYYYMMDD\",/\\d{8}/],[\"GGGG[W]WWE\",/\\d{4}W\\d{3}/],[\"GGGG[W]WW\",/\\d{4}W\\d{2}/,!1],[\"YYYYDDD\",/\\d{7}/],[\"YYYYMM\",/\\d{6}/,!1],[\"YYYY\",/\\d{4}/,!1]],Ha=[[\"HH:mm:ss.SSSS\",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],[\"HH:mm:ss,SSSS\",/\\d\\d:\\d\\d:\\d\\d,\\d+/],[\"HH:mm:ss\",/\\d\\d:\\d\\d:\\d\\d/],[\"HH:mm\",/\\d\\d:\\d\\d/],[\"HHmmss.SSSS\",/\\d\\d\\d\\d\\d\\d\\.\\d+/],[\"HHmmss,SSSS\",/\\d\\d\\d\\d\\d\\d,\\d+/],[\"HHmmss\",/\\d\\d\\d\\d\\d\\d/],[\"HHmm\",/\\d\\d\\d\\d/],[\"HH\",/\\d\\d/]],va=/^\\/?Date\\((-?\\d+)/i,ja=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,xa={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pa(e){var a,t,s,n,r,d,i=e._i,_=Ta.exec(i)||wa.exec(i),i=Sa.length,o=Ha.length;if(_){for(y(e).iso=!0,a=0,t=i;a<t;a++)if(Sa[a][1].exec(_[1])){n=Sa[a][0],s=!1!==Sa[a][2];break}if(null==n)e._isValid=!1;else{if(_[3]){for(a=0,t=o;a<t;a++)if(Ha[a][1].exec(_[3])){r=(_[2]||\" \")+Ha[a][0];break}if(null==r)return void(e._isValid=!1)}if(s||null==r){if(_[4]){if(!ba.exec(_[4]))return void(e._isValid=!1);d=\"Z\"}e._f=n+(r||\"\")+(d||\"\"),za(e)}else e._isValid=!1}}else e._isValid=!1}function Oa(e,a,t,s,n,r){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),Ae.indexOf(a),parseInt(t,10),parseInt(s,10),parseInt(n,10)];return r&&e.push(parseInt(r,10)),e}function Wa(e){var a,t,s=ja.exec(e._i.replace(/\\([^()]*\\)|[\\n\\t]/g,\" \").replace(/(\\s\\s+)/g,\" \").replace(/^\\s\\s*/,\"\").replace(/\\s\\s*$/,\"\"));s?(a=Oa(s[4],s[3],s[2],s[5],s[6],s[7]),((e,a,t)=>{if(!e||Ge.indexOf(e)===new Date(a[0],a[1],a[2]).getDay())return 1;y(t).weekdayMismatch=!0,t._isValid=!1})(s[1],a,e)&&(e._a=a,e._tzm=(a=s[8],t=s[9],s=s[10],a?xa[a]:t?0:60*(((a=parseInt(s,10))-(t=a%100))/100)+t),e._d=na.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0)):e._isValid=!1}function Aa(e,a,t){return null!=e?e:null!=a?a:t}function Fa(e,a,t){var s=Object.prototype.hasOwnProperty.call(e,\"_isDefaultDatePartsForWeek\"),n=e._isDefaultDatePartsForWeek;e._isDefaultDatePartsForWeek=!!t;try{return L._getDefaultDateParts(e,a,t)}finally{s?e._isDefaultDatePartsForWeek=n:delete e._isDefaultDatePartsForWeek}}function Ea(e){var a,t,s,n,r,d,i,_,o,m,u,l,M=[];if(!e._d){for(null!=e._a[w]&&null!=e._a[b]&&null!=e._a[S]||(t=Fa(s=e,s=(s=s._defaultDatePartsNow)?(s.hasValue||(s.value=L.now(),s.hasValue=!0),s.value):L.now())),e._w&&null==e._a[S]&&null==e._a[b]&&(r=Fa(n=e,s,!0),null!=(d=n._w).GG||null!=d.W||null!=d.E?(m=1,u=4,i=Aa(d.GG,n._a[w],oa(r[w],r[b],r[S],1,4).year),_=Aa(d.W,1),((o=Aa(d.E,1))<1||7<o)&&(l=!0)):(m=n._locale._week.dow,u=n._locale._week.doy,r=oa(r[w],r[b],r[S],m,u),i=Aa(d.gg,n._a[w],r.year),_=Aa(d.w,r.week),null!=d.d?((o=d.d)<0||6<o)&&(l=!0):null!=d.e?(o=d.e+m,(d.e<0||6<d.e)&&(l=!0)):o=m),_<1||_>ma(i,m,u)?y(n)._overflowWeeks=!0:null!=l?y(n)._overflowWeekday=!0:(r=da(i,_,o,m,u),n._a[w]=r.year,n._dayOfYear=r.dayOfYear)),null!=e._dayOfYear&&(d=(null!=e._a[w]?e._a:t)[w],(e._dayOfYear>He(d)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),l=na(d,0,e._dayOfYear),e._a[b]=l.getUTCMonth(),e._a[S]=l.getUTCDate()),i=null==e._a[w]||null==e._a[b]||null==e._a[S],a=0;a<3&&null==e._a[a];++a)e._a[a]=M[a]=t[a];for(;a<7;a++)e._a[a]=M[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[H]&&0===e._a[ge]&&0===e._a[Te]&&0===e._a[we]&&(e._nextDay=!0,e._a[H]=0),e._d=(e._useUTC?na:sa).apply(null,M),_=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[H]=24),e._w&&void 0!==e._w.d&&!i&&e._w.d!==_&&(y(e).weekdayMismatch=!0)}}function za(e){if(e._f===L.ISO_8601)Pa(e);else if(e._f===L.RFC_2822)Wa(e);else{e._a=[],y(e).empty=!0;for(var a,t,s,n,r,d=\"\"+e._i,i=d.length,_=0,o=me(e._f,e._locale).match(re)||[],m=o.length,u=0;u<m;u++)t=o[u],(a=(d.match(Le(t,e))||[])[0])&&(0<(s=d.substr(0,d.indexOf(a))).length&&y(e).unusedInput.push(s),d=d.slice(d.indexOf(a)+a.length),_+=a.length),_e[t]?(a?y(e).empty=!1:y(e).unusedTokens.push(t),s=t,r=e,null!=(n=a)&&l(pe,s)&&pe[s](n,r._a,r,s)):e._strict&&!a&&y(e).unusedTokens.push(t);y(e).charsLeftOver=i-_,0<d.length&&y(e).unusedInput.push(d),e._a[H]<=12&&!0===y(e).bigHour&&0<e._a[H]&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[H]=((e,a,t)=>null==t?a:null!=e.meridiemHour?e.meridiemHour(a,t):null!=e.isPM?((e=e.isPM(t))&&a<12&&(a+=12),a=e||12!==a?a:0):a)(e._locale,e._a[H],e._meridiem),null!==(i=y(e).era)&&(e._a[w]=e._locale.erasConvertYear(i,e._a[w])),Ea(e),ga(e)}}function Na(e){var a,t,s,n=e._i,r=e._f;if(e._locale=e._locale||Da(e._l),null===n||void 0===r&&\"\"===n)return V({nullInput:!0});if(\"string\"==typeof n&&(e._i=n=e._locale.preparse(n)),f(n))return new Z(ga(n));if(R(n))e._d=n;else if(E(r)){var d,i,_,o,m,u,l=e,M=!1,h={},c=l._f.length;if(0===c)y(l).invalidFormat=!0,l._d=new Date(NaN);else{for(o=0;o<c;o++)m=0,u=!1,d=K({},l),null!=l._useUTC&&(d._useUTC=l._useUTC),d._defaultDatePartsNow=h,d._f=l._f[o],za(d),G(d)&&(u=!0),m=(m+=y(d).charsLeftOver)+10*y(d).unusedTokens.length,y(d).score=m,M?m<_&&(_=m,i=d):(null==_||m<_||u)&&(_=m,i=d,u)&&(M=!0);I(l,i||d)}}else if(r)za(e);else if(Y(r=(n=e)._i))n._d=new Date(L.now());else R(r)?n._d=new Date(r.valueOf()):\"string\"==typeof r?(t=n,null!==(a=va.exec(t._i))?t._d=new Date(+a[1]):(Pa(t),!1===t._isValid&&(delete t._isValid,Wa(t),!1===t._isValid)&&(delete t._isValid,t._strict?t._isValid=!1:L.createFromInputFallback(t)))):E(r)?(n._a=C(r.slice(0),function(e){return parseInt(e,10)}),Ea(n)):z(r)?(a=n)._d||(s=void 0===(t=se(a._i)).day?t.date:t.day,a._a=C([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ea(a)):J(r)?n._d=new Date(r):L.createFromInputFallback(n);return G(e)||(e._d=null),e}function Ja(e,a,t,s,n){var r={};return!0!==a&&!1!==a||(s=a,a=void 0),!0!==t&&!1!==t||(s=t,t=void 0),(z(e)&&N(e)||E(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=n,r._l=t,r._i=e,r._f=a,r._strict=s,(n=new Z(ga(Na(n=r))))._nextDay&&(n.add(1,\"d\"),n._nextDay=void 0),n}function x(e,a,t,s){return Ja(e,a,t,s,!1)}L.createFromInputFallback=e(\"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.\",function(e){e._d=new Date(e._i+(e._useUTC?\" UTC\":\"\"))}),L._getDefaultDateParts=function(e,a,t){return t=t||e._isDefaultDatePartsForWeek,a=t?x(a):new Date(a),t?[a.year(),a.month(),a.date()]:e._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()]},L.ISO_8601=function(){},L.RFC_2822=function(){};m=e(\"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/\",function(){var e=x.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:V()}),u=e(\"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/\",function(){var e=x.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:V()});function Ra(e,a){var t,s;if(!(a=1===a.length&&E(a[0])?a[0]:a).length)return x();for(s=0;s<a.length;++s)if(f(a[s])){t=a[s];break}if(!t)return V();for(++s;s<a.length;++s)!f(a[s])||a[s].isValid()&&!a[s][e](t)||(t=a[s]);return t}var Ca=[\"year\",\"quarter\",\"month\",\"week\",\"day\",\"hour\",\"minute\",\"second\",\"millisecond\"];function Ia(e){var e=se(e),a=e.year||0,t=e.quarter||0,s=e.month||0,n=e.week||e.isoWeek||0,r=e.day||0,d=e.hour||0,i=e.minute||0,_=e.second||0,o=e.millisecond||0;this._isValid=(e=>{var a,t,s=!1,n=Ca.length;for(a in e)if(l(e,a)&&(-1===v.call(Ca,a)||null!=e[a]&&isNaN(e[a])))return!1;for(t=0;t<n;++t)if(e[Ca[t]]){if(s)return!1;parseFloat(e[Ca[t]])!==g(e[Ca[t]])&&(s=!0)}return!0})(e),this._milliseconds=+o+1e3*_+6e4*i+1e3*d*60*60,this._days=+r+7*n,this._months=+s+3*t+12*a,this._data={},this._locale=Da(),this._bubble()}function Ua(e){return e instanceof Ia}function Ga(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Va(e,t){s(e,0,0,function(){var e=this.utcOffset(),a=\"+\";return e<0&&(e=-e,a=\"-\"),a+r(~~(e/60),2)+t+r(~~e%60,2)})}Va(\"Z\",\":\"),Va(\"ZZ\",\"\"),D(\"Z\",ce),D(\"ZZ\",ce),T([\"Z\",\"ZZ\"],function(e,a,t){var s=qa(ce,e);t._useUTC=!0,null===(t._tzm=s)&&(y(t).invalidOffset=e)});var $a=/([\\+\\-]|\\d\\d)/gi;function qa(e,a){var a=(a||\"\").match(e);return null===a||(a=60*(e=((a[a.length-1]||[])+\"\").match($a)||[\"-\",0,0])[1]+g(e[2]),59<g(e[2]))||(\"+\"===e[0]?840<a:720<a)?null:0===a?0:\"+\"===e[0]?a:-a}function Ba(e,a){var t;return a._isUTC?(a=a.clone(),t=(f(e)||R(e)?e:x(e)).valueOf()-a.valueOf(),a._d.setTime(a._d.valueOf()+t),L.updateOffset(a,!1),a):x(e).local()}function Ka(e){return-Math.round(e._d.getTimezoneOffset())}function Za(){return!!this.isValid()&&this._isUTC&&0===this._offset}L.updateOffset=function(){};var Qa=/^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,Xa=/^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function et(e,a){var t,s=e;return Ua(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:J(e)||!isNaN(+e)?(s={},a?s[a]=+e:s.milliseconds=+e):(a=Qa.exec(e))?(t=\"-\"===a[1]?-1:1,s={y:0,d:g(a[S])*t,h:g(a[H])*t,m:g(a[ge])*t,s:g(a[Te])*t,ms:g(Ga(1e3*a[we]))*t}):(a=Xa.exec(e))?(t=\"-\"===a[1]?-1:1,s={y:at(a[2],t),M:at(a[3],t),w:at(a[4],t),d:at(a[5],t),h:at(a[6],t),m:at(a[7],t),s:at(a[8],t)}):null==s?s={}:\"object\"==typeof s&&(\"from\"in s||\"to\"in s)&&(a=((e,a)=>{var t;return e.isValid()&&a.isValid()?(a=Ba(a,e),e.isBefore(a)?t=tt(e,a):((t=tt(a,e)).milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}})(x(s.from),x(s.to)),(s={}).ms=a.milliseconds,s.M=a.months),t=new Ia(s),Ua(e)&&l(e,\"_locale\")&&(t._locale=e._locale),Ua(e)&&l(e,\"_isValid\")&&(t._isValid=e._isValid),t}function at(e,a){e=e&&parseFloat(e.replace(\",\",\".\"));return(isNaN(e)?0:e)*a}function tt(e,a){var t={};return t.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add(t.months,\"M\").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months,\"M\"),t}function st(s,n){return function(e,a){var t;return null===a||isNaN(+a)||(ee(n,\"moment().\"+n+\"(period, number) is deprecated. Please use moment().\"+n+\"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.\"),t=e,e=a,a=t),nt(this,et(e,a),s),this}}function nt(e,a,t,s){var n=a._milliseconds,r=Ga(a._days),a=Ga(a._months);e.isValid()&&(s=null==s||s,a&&Je(e,xe(e,\"Month\")+a*t),r&&Pe(e,\"Date\",xe(e,\"Date\")+r*t),n&&e._d.setTime(e._d.valueOf()+n*t),s)&&L.updateOffset(e,r||a)}et.fn=Ia.prototype,et.invalid=function(){return et(NaN)};We=st(1,\"add\"),Ue=st(-1,\"subtract\");function rt(e){return\"string\"==typeof e||e instanceof String}function dt(e){return f(e)||R(e)||rt(e)||J(e)||(a=>{var e=E(a),t=!1;return e&&(t=0===a.filter(function(e){return!J(e)&&rt(a)}).length),e&&t})(e)||(e=>{var a,t,s=z(e)&&!N(e),n=!1,r=[\"years\",\"year\",\"y\",\"months\",\"month\",\"M\",\"days\",\"day\",\"d\",\"dates\",\"date\",\"D\",\"hours\",\"hour\",\"h\",\"minutes\",\"minute\",\"m\",\"seconds\",\"second\",\"s\",\"milliseconds\",\"millisecond\",\"ms\"],d=r.length;for(a=0;a<d;a+=1)t=r[a],n=n||l(e,t);return s&&n})(e)||null==e}function it(e,a){var t,s;return e.date()<a.date()?-it(a,e):-((t=12*(a.year()-e.year())+(a.month()-e.month()))+(a-(s=e.clone().add(t,\"months\"))<0?(a-s)/(s-e.clone().add(t-1,\"months\")):(a-s)/(e.clone().add(1+t,\"months\")-s)))||0}function _t(e){return void 0===e?this._locale._abbr:(null!=(e=Da(e))&&(this._locale=e),this)}L.defaultFormat=\"YYYY-MM-DDTHH:mm:ssZ\",L.defaultFormatUtc=\"YYYY-MM-DDTHH:mm:ss[Z]\";Ve=e(\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\",function(e){return void 0===e?this.localeData():this.locale(e)});function ot(){return this._locale}var mt=126227808e5;function ut(e,a){return(e%a+a)%a}function lt(e,a,t){return e<100&&0<=e?new Date(e+400,a,t)-mt:new Date(e,a,t).valueOf()}function Mt(e,a,t){return e<100&&0<=e?Date.UTC(e+400,a,t)-mt:Date.UTC(e,a,t)}function ht(e,a){return a.erasAbbrRegex(e)}function ct(){for(var e,a,t,s=[],n=[],r=[],d=[],i=this.eras(),_=0,o=i.length;_<o;++_)e=Ye(i[_].name),a=Ye(i[_].abbr),t=Ye(i[_].narrow),n.push(e),s.push(a),r.push(t),d.push(e),d.push(a),d.push(t);this._erasRegex=new RegExp(\"^(\"+d.join(\"|\")+\")\",\"i\"),this._erasNameRegex=new RegExp(\"^(\"+n.join(\"|\")+\")\",\"i\"),this._erasAbbrRegex=new RegExp(\"^(\"+s.join(\"|\")+\")\",\"i\"),this._erasNarrowRegex=new RegExp(\"^(\"+r.join(\"|\")+\")\",\"i\")}function Lt(e,a){s(0,[e,e.length],0,a)}function Yt(e,a,t,s,n){var r;return null==e?_a(this,s,n).year:(r=ma(e,s,n),function(e,a,t,s,n){e=da(e,a,t,s,n),a=na(e.year,0,e.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,a=r<a?r:a,t,s,n))}s(\"N\",0,0,\"eraAbbr\"),s(\"NN\",0,0,\"eraAbbr\"),s(\"NNN\",0,0,\"eraAbbr\"),s(\"NNNN\",0,0,\"eraName\"),s(\"NNNNN\",0,0,\"eraNarrow\"),s(\"y\",[\"y\",1],\"yo\",\"eraYear\"),s(\"y\",[\"yy\",2],0,\"eraYear\"),s(\"y\",[\"yyy\",3],0,\"eraYear\"),s(\"y\",[\"yyyy\",4],0,\"eraYear\"),D(\"N\",ht),D(\"NN\",ht),D(\"NNN\",ht),D(\"NNNN\",function(e,a){return a.erasNameRegex(e)}),D(\"NNNNN\",function(e,a){return a.erasNarrowRegex(e)}),T([\"N\",\"NN\",\"NNN\",\"NNNN\",\"NNNNN\"],function(e,a,t,s){s=t._locale.erasParse(e,s,t._strict);s?y(t).era=s:y(t).invalidEra=e}),D(\"y\",le),D(\"yy\",le),D(\"yyy\",le),D(\"yyyy\",le),D(\"yo\",function(e,a){return a._eraYearOrdinalRegex||le}),T([\"y\",\"yy\",\"yyy\",\"yyyy\"],w),T([\"yo\"],function(e,a,t,s){var n;t._locale._eraYearOrdinalRegex&&(n=e.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?a[w]=t._locale.eraYearOrdinalParse(e,n):a[w]=parseInt(e,10)}),s(0,[\"gg\",2],0,function(){return this.weekYear()%100}),s(0,[\"GG\",2],0,function(){return this.isoWeekYear()%100}),Lt(\"gggg\",\"weekYear\"),Lt(\"ggggg\",\"weekYear\"),Lt(\"GGGG\",\"isoWeekYear\"),Lt(\"GGGGG\",\"isoWeekYear\"),D(\"G\",Me),D(\"g\",Me),D(\"GG\",o,t),D(\"gg\",o,t),D(\"GGGG\",h,i),D(\"gggg\",h,i),D(\"GGGGG\",ue,_),D(\"ggggg\",ue,_),ke([\"gggg\",\"ggggg\",\"GGGG\",\"GGGGG\"],function(e,a,t,s){a[s.substr(0,2)]=g(e)}),ke([\"gg\",\"GG\"],function(e,a,t,s){a[s]=L.parseTwoDigitYear(e)}),s(\"Q\",0,\"Qo\",\"quarter\"),D(\"Q\",a),T(\"Q\",function(e,a){a[b]=3*(g(e)-1)}),s(\"D\",[\"DD\",2],\"Do\",\"date\"),D(\"D\",o,p),D(\"DD\",o,t),D(\"Do\",function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient}),T([\"D\",\"DD\"],S),T(\"Do\",function(e,a){a[S]=g(e.match(o)[0])});h=je(\"Date\",!0);s(\"DDD\",[\"DDDD\",3],\"DDDo\",\"dayOfYear\"),D(\"DDD\",M),D(\"DDDD\",n),T([\"DDD\",\"DDDD\"],function(e,a,t){t._dayOfYear=g(e)}),s(\"m\",[\"mm\",2],0,\"minute\"),D(\"m\",o,k),D(\"mm\",o,t),T([\"m\",\"mm\"],ge);var yt,i=je(\"Minutes\",!1),ue=(s(\"s\",[\"ss\",2],0,\"second\"),D(\"s\",o,k),D(\"ss\",o,t),T([\"s\",\"ss\"],Te),je(\"Seconds\",!1));for(s(\"S\",0,0,function(){return~~(this.millisecond()/100)}),s(0,[\"SS\",2],0,function(){return~~(this.millisecond()/10)}),s(0,[\"SSS\",3],0,\"millisecond\"),s(0,[\"SSSS\",4],0,function(){return 10*this.millisecond()}),s(0,[\"SSSSS\",5],0,function(){return 100*this.millisecond()}),s(0,[\"SSSSSS\",6],0,function(){return 1e3*this.millisecond()}),s(0,[\"SSSSSSS\",7],0,function(){return 1e4*this.millisecond()}),s(0,[\"SSSSSSSS\",8],0,function(){return 1e5*this.millisecond()}),s(0,[\"SSSSSSSSS\",9],0,function(){return 1e6*this.millisecond()}),D(\"S\",M,a),D(\"SS\",M,t),D(\"SSS\",M,n),yt=\"SSSS\";yt.length<=9;yt+=\"S\")D(yt,le);function ft(e,a){a[we]=g(1e3*(\"0.\"+e))}for(yt=\"S\";yt.length<=9;yt+=\"S\")T(yt,ft);_=je(\"Milliseconds\",!1),s(\"z\",0,0,\"zoneAbbr\"),s(\"zz\",0,0,\"zoneName\");p=Z.prototype;function pt(e){return e}p.add=We,p.calendar=function(e,a){1===arguments.length&&(arguments[0]?dt(arguments[0])?(e=arguments[0],a=void 0):(e=>{for(var a=z(e)&&!N(e),t=!1,s=[\"sameDay\",\"nextDay\",\"lastDay\",\"nextWeek\",\"lastWeek\",\"sameElse\"],n=0;n<s.length;n+=1)t=t||l(e,s[n]);return a&&t})(arguments[0])&&(a=arguments[0],e=void 0):a=e=void 0);var e=e||x(),t=Ba(e,this).startOf(\"day\"),t=L.calendarFormat(this,t)||\"sameElse\",a=a&&(ae(a[t])?a[t].call(this,e):a[t]);return this.format(a||this.localeData().calendar(t,this,x(e)))},p.clone=function(){return new Z(this)},p.diff=function(e,a,t){var s,n,r;if(!this.isValid())return NaN;if(!(s=Ba(e,this)).isValid())return NaN;switch(n=6e4*(s.utcOffset()-this.utcOffset()),a=d(a)){case\"year\":r=it(this,s)/12;break;case\"month\":r=it(this,s);break;case\"quarter\":r=it(this,s)/3;break;case\"second\":r=(this-s)/1e3;break;case\"minute\":r=(this-s)/6e4;break;case\"hour\":r=(this-s)/36e5;break;case\"day\":r=(this-s-n)/864e5;break;case\"week\":r=(this-s-n)/6048e5;break;default:r=this-s}return t?r:ye(r)},p.endOf=function(e){var a,t;if(void 0!==(e=d(e))&&\"millisecond\"!==e&&this.isValid()){switch(t=this._isUTC?Mt:lt,e){case\"year\":a=t(this.year()+1,0,1)-1;break;case\"quarter\":a=t(this.year(),this.month()-this.month()%3+3,1)-1;break;case\"month\":a=t(this.year(),this.month()+1,1)-1;break;case\"week\":a=t(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case\"isoWeek\":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case\"day\":case\"date\":a=t(this.year(),this.month(),this.date()+1)-1;break;case\"hour\":a=this._d.valueOf(),a+=36e5-ut(a+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case\"minute\":a=this._d.valueOf(),a+=6e4-ut(a,6e4)-1;break;case\"second\":a=this._d.valueOf(),a+=1e3-ut(a,1e3)-1;break}this._d.setTime(a),L.updateOffset(this,!0)}return this},p.format=function(e){return e=e||(this.isUtc()?L.defaultFormatUtc:L.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},p.from=function(e,a){return this.isValid()&&(f(e)&&e.isValid()||x(e).isValid())?et({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},p.fromNow=function(e){return this.from(x(),e)},p.to=function(e,a){return this.isValid()&&(f(e)&&e.isValid()||x(e).isValid())?et({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},p.toNow=function(e){return this.to(x(),e)},p.get=function(e){return ae(this[e=d(e)])?this[e]():this},p.invalidAt=function(){return y(this).overflow},p.isAfter=function(e,a){return e=f(e)?e:x(e),!(!this.isValid()||!e.isValid())&&(\"millisecond\"===(a=d(a)||\"millisecond\")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(a).valueOf())},p.isBefore=function(e,a){return e=f(e)?e:x(e),!(!this.isValid()||!e.isValid())&&(\"millisecond\"===(a=d(a)||\"millisecond\")?this.valueOf()<e.valueOf():this.clone().endOf(a).valueOf()<e.valueOf())},p.isBetween=function(e,a,t,s){return e=f(e)?e:x(e),a=f(a)?a:x(a),!!(this.isValid()&&e.isValid()&&a.isValid())&&(\"(\"===(s=s||\"()\")[0]?this.isAfter(e,t):!this.isBefore(e,t))&&(\")\"===s[1]?this.isBefore(a,t):!this.isAfter(a,t))},p.isSame=function(e,a){var e=f(e)?e:x(e);return!(!this.isValid()||!e.isValid())&&(\"millisecond\"===(a=d(a)||\"millisecond\")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(a).valueOf()<=e&&e<=this.clone().endOf(a).valueOf()))},p.isSameOrAfter=function(e,a){return this.isSame(e,a)||this.isAfter(e,a)},p.isSameOrBefore=function(e,a){return this.isSame(e,a)||this.isBefore(e,a)},p.isValid=function(){return G(this)},p.lang=Ve,p.locale=_t,p.localeData=ot,p.max=u,p.min=m,p.parsingFlags=function(){return I({},y(this))},p.set=function(e,a){if(\"object\"==typeof e)for(var t=(e=>{var a,t=[];for(a in e)l(e,a)&&t.push({unit:a,priority:ne[a]});return t.sort(function(e,a){return e.priority-a.priority}),t})(e=se(e)),s=t.length,n=0;n<s;n++)this[t[n].unit](e[t[n].unit]);else if(ae(this[e=d(e)]))return this[e](a);return this},p.startOf=function(e){var a,t;if(void 0!==(e=d(e))&&\"millisecond\"!==e&&this.isValid()){switch(t=this._isUTC?Mt:lt,e){case\"year\":a=t(this.year(),0,1);break;case\"quarter\":a=t(this.year(),this.month()-this.month()%3,1);break;case\"month\":a=t(this.year(),this.month(),1);break;case\"week\":a=t(this.year(),this.month(),this.date()-this.weekday());break;case\"isoWeek\":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case\"day\":case\"date\":a=t(this.year(),this.month(),this.date());break;case\"hour\":a=this._d.valueOf(),a-=ut(a+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case\"minute\":a=this._d.valueOf(),a-=ut(a,6e4);break;case\"second\":a=this._d.valueOf(),a-=ut(a,1e3);break}this._d.setTime(a),L.updateOffset(this,!0)}return this},p.subtract=Ue,p.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},p.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},p.toDate=function(){return new Date(this.valueOf())},p.toISOString=function(e){var a;return this.isValid()?(a=(e=!0!==e)?this.clone().utc():this).year()<0||9999<a.year()?oe(a,e?\"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\":\"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ\"):ae(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace(\"Z\",oe(a,\"Z\")):oe(a,e?\"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\":\"YYYY-MM-DD[T]HH:mm:ss.SSSZ\"):null},p.inspect=function(){var e,a,t;return this.isValid()?(a=\"moment\",e=\"\",this.isLocal()||(a=0===this.utcOffset()?\"moment.utc\":\"moment.parseZone\",e=\"Z\"),a=\"[\"+a+'(\"]',t=0<=this.year()&&this.year()<=9999?\"YYYY\":\"YYYYYY\",this.format(a+t+\"-MM-DD[T]HH:mm:ss.SSS\"+(e+'[\")]'))):\"moment.invalid(/* \"+this._i+\" */)\"},\"undefined\"!=typeof Symbol&&null!=Symbol.for&&(p[Symbol.for(\"nodejs.util.inspect.custom\")]=function(){return\"Moment<\"+this.format()+\">\"}),p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toString=function(){return this.clone().locale(\"en\").format(\"ddd MMM DD YYYY HH:mm:ss [GMT]ZZ\")},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},p.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},p.eraName=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf(\"day\").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].name;if(a[t].until<=e&&e<=a[t].since)return a[t].name}return\"\"},p.eraNarrow=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf(\"day\").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].narrow;if(a[t].until<=e&&e<=a[t].since)return a[t].narrow}return\"\"},p.eraAbbr=function(){for(var e,a=this.localeData().eras(),t=0,s=a.length;t<s;++t){if(e=this.clone().startOf(\"day\").valueOf(),a[t].since<=e&&e<=a[t].until)return a[t].abbr;if(a[t].until<=e&&e<=a[t].since)return a[t].abbr}return\"\"},p.eraYear=function(){for(var e,a,t=this.localeData().eras(),s=0,n=t.length;s<n;++s)if(e=t[s].since<=t[s].until?1:-1,a=this.clone().startOf(\"day\").valueOf(),t[s].since<=a&&a<=t[s].until||t[s].until<=a&&a<=t[s].since)return(this.year()-L(t[s].since).year())*e+t[s].offset;return this.year()},p.year=ve,p.isLeapYear=function(){return De(this.year())},p.weekYear=function(e){return Yt.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},p.isoWeekYear=function(e){return Yt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},p.quarter=p.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},p.month=Re,p.daysInMonth=function(){return Oe(this.year(),this.month())},p.week=p.weeks=function(e){var a=this.localeData().week(this);return null==e?a:this.add(7*(e-a),\"d\")},p.isoWeek=p.isoWeeks=function(e){var a=_a(this,1,4).week;return null==e?a:this.add(7*(e-a),\"d\")},p.weeksInYear=function(){var e=this.localeData()._week;return ma(this.year(),e.dow,e.doy)},p.weeksInWeekYear=function(){var e=this.localeData()._week;return ma(this.weekYear(),e.dow,e.doy)},p.isoWeeksInYear=function(){return ma(this.year(),1,4)},p.isoWeeksInISOWeekYear=function(){return ma(this.isoWeekYear(),1,4)},p.date=h,p.day=p.days=function(e){var a,t,s;return this.isValid()?(a=xe(this,\"Day\"),null!=e?(t=e,s=this.localeData(),e=\"string\"!=typeof t?t:isNaN(t)?\"number\"==typeof(t=s.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-a,\"d\")):a):null!=e?this:NaN},p.weekday=function(e){var a;return this.isValid()?(a=(this.day()+7-this.localeData()._week.dow)%7,null==e?a:this.add(e-a,\"d\")):null!=e?this:NaN},p.isoWeekday=function(e){var a,t;return this.isValid()?null!=e?(a=e,t=this.localeData(),t=\"string\"==typeof a?t.weekdaysParse(a)%7||7:isNaN(a)?null:a,this.day(this.day()%7?t:t-7)):this.day()||7:null!=e?this:NaN},p.dayOfYear=function(e){var a=Math.round((this.clone().startOf(\"day\")-this.clone().startOf(\"year\"))/864e5)+1;return null==e?a:this.add(e-a,\"d\")},p.hour=p.hours=c,p.minute=p.minutes=i,p.second=p.seconds=ue,p.millisecond=p.milliseconds=_,p.utcOffset=function(e,a,t){var s,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:Ka(this);if(\"string\"==typeof e){if(null===(e=qa(ce,e)))return this}else Math.abs(e)<16&&!t&&(e*=60);return!this._isUTC&&a&&(s=Ka(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,\"m\"),n!==e&&(!a||this._changeInProgress?nt(this,et(e-n,\"m\"),1,!1):this._changeInProgress||(this._changeInProgress=!0,L.updateOffset(this,!0),this._changeInProgress=null)),this},p.utc=function(e){return this.utcOffset(0,e)},p.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ka(this),\"m\"),this},p.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):\"string\"==typeof this._i&&(null!=(e=qa(he,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},p.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?x(e).utcOffset():0,(this.utcOffset()-e)%60==0)},p.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},p.isLocal=function(){return!!this.isValid()&&!this._isUTC},p.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},p.isUtc=Za,p.isUTC=Za,p.zoneAbbr=function(){return this._isUTC?\"UTC\":\"\"},p.zoneName=function(){return this._isUTC?\"Coordinated Universal Time\":\"\"},p.dates=e(\"dates accessor is deprecated. Use date instead.\",h),p.months=e(\"months accessor is deprecated. Use month instead\",Re),p.years=e(\"years accessor is deprecated. Use year instead\",ve),p.zone=e(\"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/\",function(e,a){return null!=e?(this.utcOffset(e=\"string\"!=typeof e?-e:e,a),this):-this.utcOffset()}),p.isDSTShifted=e(\"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information\",function(){var e,a;return Y(this._isDSTShifted)&&(K(e={},this),(e=Na(e))._a?(a=(e._isUTC?U:x)(e._a),this._isDSTShifted=this.isValid()&&0<((e,a)=>{for(var t=Math.min(e.length,a.length),s=Math.abs(e.length-a.length),n=0,r=0;r<t;r++)g(e[r])!==g(a[r])&&n++;return n+s})(e._a,a.toArray())):this._isDSTShifted=!1),this._isDSTShifted});k=Xe.prototype;function kt(e,a,t,s){var n=Da(),s=U().set(s,a);return n[t](s,e)}function Dt(e,a,t){if(J(e)&&(a=e,e=void 0),e=e||\"\",null!=a)return kt(e,a,t,\"month\");for(var s=[],n=0;n<12;n++)s[n]=kt(e,n,t,\"month\");return s}function gt(e,a,t,s){a=(\"boolean\"==typeof e?J(a)&&(t=a,a=void 0):(a=e,e=!1,J(t=a)&&(t=a,a=void 0)),a||\"\");var n,r=Da(),d=e?r._week.dow:0,i=[];if(null!=t)return kt(a,(t+d)%7,s,\"day\");for(n=0;n<7;n++)i[n]=kt(a,(n+d)%7,s,\"day\");return i}k.calendar=function(e,a,t){return ae(e=this._calendar[e]||this._calendar.sameElse)?e.call(a,t):e},k.longDateFormat=function(e){var a=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()],s=this._longDateFormatCache;if(!a&&t){if(s&&s[e]&&s[e].formatUpper===t)return s[e].format;a=t.match(re).map(function(e){return\"MMMM\"===e||\"MM\"===e||\"DD\"===e||\"dddd\"===e?e.slice(1):e}).join(\"\"),(s=s||(this._longDateFormatCache={}))[e]={formatUpper:t,format:a}}return a},k.invalidDate=function(){return this._invalidDate},k.ordinal=function(e){return this._ordinal.replace(\"%d\",e)},k.preparse=pt,k.postformat=pt,k.relativeTime=function(e,a,t,s){return this.postformat(aa.call(this,e,a,t,s))},k.pastFuture=function(e,a){return this.postformat(ta.call(this,e,a))},k.set=function(e){for(var a,t,s,n=this,r=e,d=0;d<Ne.length;d++)l(r,s=Ne[d])||delete n[\"_\"+s];for(var i,_=this,o=e,m=0;m<Ke.length;m++)l(o,i=Ke[m])||delete _[\"_\"+i];for(t in e)l(e,t)&&(ae(a=e[t])?this[t]=a:this[\"_\"+t]=a);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+\"|\"+/\\d{1,2}/.source)},k.eras=function(e,a){for(var t,s=this._eras||Da(\"en\")._eras,n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case\"string\":t=L(s[n].since).startOf(\"day\"),s[n].since=t.valueOf();break}switch(typeof s[n].until){case\"undefined\":s[n].until=1/0;break;case\"string\":t=L(s[n].until).startOf(\"day\").valueOf(),s[n].until=t.valueOf();break}}return s},k.erasParse=function(e,a,t){var s,n,r,d,i,_=this.eras();for(e=e.toUpperCase(),s=0,n=_.length;s<n;++s)if(r=_[s].name.toUpperCase(),d=_[s].abbr.toUpperCase(),i=_[s].narrow.toUpperCase(),t)switch(a){case\"N\":case\"NN\":case\"NNN\":if(d===e)return _[s];break;case\"NNNN\":if(r===e)return _[s];break;case\"NNNNN\":if(i===e)return _[s];break}else if(0<=[r,d,i].indexOf(e))return _[s]},k.erasConvertYear=function(e,a){var t=e.since<=e.until?1:-1;return void 0===a?L(e.since).year():L(e.since).year()+(a-e.offset)*t},k.erasAbbrRegex=function(e){return l(this,\"_erasAbbrRegex\")||ct.call(this),e?this._erasAbbrRegex:this._erasRegex},k.erasNameRegex=function(e){return l(this,\"_erasNameRegex\")||ct.call(this),e?this._erasNameRegex:this._erasRegex},k.erasNarrowRegex=function(e){return l(this,\"_erasNarrowRegex\")||ct.call(this),e?this._erasNarrowRegex:this._erasRegex},k.months=function(e,a){return e?(E(this._months)?this._months:this._months[(this._months.isFormat||Fe).test(a)?\"format\":\"standalone\"])[e.month()]:E(this._months)?this._months:this._months.standalone},k.monthsShort=function(e,a){return e?(E(this._monthsShort)?this._monthsShort:this._monthsShort[Fe.test(a)?\"format\":\"standalone\"])[e.month()]:E(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},k.monthsParse=function(e,a,t){var s,n;if(this._monthsParseExact)return function(e,a,t){var s,n,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=U([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,\"\").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,\"\").toLocaleLowerCase();return t?\"MMM\"===a?-1!==(n=v.call(this._shortMonthsParse,e))?n:null:-1!==(n=v.call(this._longMonthsParse,e))?n:null:\"MMM\"===a?-1!==(n=v.call(this._shortMonthsParse,e))||-1!==(n=v.call(this._longMonthsParse,e))?n:null:-1!==(n=v.call(this._longMonthsParse,e))||-1!==(n=v.call(this._shortMonthsParse,e))?n:null}.call(this,e,a,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=U([2e3,s]),t&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp(\"^\"+this.months(n,\"\").replace(\".\",\"\")+\"$\",\"i\"),this._shortMonthsParse[s]=new RegExp(\"^\"+this.monthsShort(n,\"\").replace(\".\",\"\")+\"$\",\"i\")),t||this._monthsParse[s]||(n=\"^\"+this.months(n,\"\")+\"|^\"+this.monthsShort(n,\"\"),this._monthsParse[s]=new RegExp(n.replace(\".\",\"\"),\"i\")),t&&\"MMMM\"===a&&this._longMonthsParse[s].test(e))return s;if(t&&\"MMM\"===a&&this._shortMonthsParse[s].test(e))return s;if(!t&&this._monthsParse[s].test(e))return s}},k.monthsRegex=function(e){return this._monthsParseExact?(l(this,\"_monthsRegex\")||Ce.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,\"_monthsRegex\")||(this._monthsRegex=ze),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},k.monthsShortRegex=function(e){return this._monthsParseExact?(l(this,\"_monthsRegex\")||Ce.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,\"_monthsShortRegex\")||(this._monthsShortRegex=Ee),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},k.week=function(e){return _a(e,this._week.dow,this._week.doy).week},k.firstDayOfYear=function(){return this._week.doy},k.firstDayOfWeek=function(){return this._week.dow},k.weekdays=function(e,a){return a=E(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(a)?\"format\":\"standalone\"],!0===e?Ie(a,this._week.dow):e?a[e.day()]:a},k.weekdaysMin=function(e){return!0===e?Ie(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},k.weekdaysShort=function(e){return!0===e?Ie(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},k.weekdaysParse=function(e,a,t){var s,n;if(this._weekdaysParseExact)return function(e,a,t){var s,n,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=U([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,\"\").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,\"\").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,\"\").toLocaleLowerCase();return t?\"dddd\"===a?-1!==(n=v.call(this._weekdaysParse,e))?n:null:\"ddd\"===a?-1!==(n=v.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=v.call(this._minWeekdaysParse,e))?n:null:\"dddd\"===a?-1!==(n=v.call(this._weekdaysParse,e))||-1!==(n=v.call(this._shortWeekdaysParse,e))||-1!==(n=v.call(this._minWeekdaysParse,e))?n:null:\"ddd\"===a?-1!==(n=v.call(this._shortWeekdaysParse,e))||-1!==(n=v.call(this._weekdaysParse,e))||-1!==(n=v.call(this._minWeekdaysParse,e))?n:null:-1!==(n=v.call(this._minWeekdaysParse,e))||-1!==(n=v.call(this._weekdaysParse,e))||-1!==(n=v.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,a,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=U([2e3,1]).day(s),t&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp(\"^\"+this.weekdays(n,\"\").replace(\".\",\"\\\\.?\")+\"$\",\"i\"),this._shortWeekdaysParse[s]=new RegExp(\"^\"+this.weekdaysShort(n,\"\").replace(\".\",\"\\\\.?\")+\"$\",\"i\"),this._minWeekdaysParse[s]=new RegExp(\"^\"+this.weekdaysMin(n,\"\").replace(\".\",\"\\\\.?\")+\"$\",\"i\")),this._weekdaysParse[s]||(n=\"^\"+this.weekdays(n,\"\")+\"|^\"+this.weekdaysShort(n,\"\")+\"|^\"+this.weekdaysMin(n,\"\"),this._weekdaysParse[s]=new RegExp(n.replace(\".\",\"\"),\"i\")),t&&\"dddd\"===a&&this._fullWeekdaysParse[s].test(e))return s;if(t&&\"ddd\"===a&&this._shortWeekdaysParse[s].test(e))return s;if(t&&\"dd\"===a&&this._minWeekdaysParse[s].test(e))return s;if(!t&&this._weekdaysParse[s].test(e))return s}},k.weekdaysRegex=function(e){return this._weekdaysParseExact?(l(this,\"_weekdaysRegex\")||Ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,\"_weekdaysRegex\")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},k.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(l(this,\"_weekdaysRegex\")||Ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,\"_weekdaysShortRegex\")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},k.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(l(this,\"_weekdaysRegex\")||Ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,\"_weekdaysMinRegex\")||(this._weekdaysMinRegex=Be),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},k.isPM=function(e){return\"p\"===(e+\"\").toLowerCase().charAt(0)},k.meridiem=function(e,a,t){return 11<e?t?\"pm\":\"PM\":t?\"am\":\"AM\"},pa(\"en\",{eras:[{since:\"0001-01-01\",until:1/0,offset:1,name:\"Anno Domini\",narrow:\"AD\",abbr:\"AD\"},{since:\"0000-12-31\",until:-1/0,offset:1,name:\"Before Christ\",narrow:\"BC\",abbr:\"BC\"}],dayOfMonthOrdinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1===g(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")}}),L.lang=e(\"moment.lang is deprecated. Use moment.locale instead.\",pa),L.langData=e(\"moment.langData is deprecated. Use moment.localeData instead.\",Da);var Tt=Math.abs;function wt(e,a,t,s){a=et(a,t);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function bt(e){return e<0?Math.floor(e):Math.ceil(e)}function St(e){return 4800*e/146097}function Ht(e){return 146097*e/4800}function vt(e){return function(){return this.as(e)}}a=vt(\"ms\"),t=vt(\"s\"),M=vt(\"m\"),n=vt(\"h\"),We=vt(\"d\"),u=vt(\"w\"),m=vt(\"M\"),Ue=vt(\"Q\"),c=vt(\"y\"),i=a;function jt(e){return function(){return this.isValid()?this._data[e]:NaN}}var ue=jt(\"milliseconds\"),_=jt(\"seconds\"),h=jt(\"minutes\"),ve=jt(\"hours\"),k=jt(\"days\"),xt=jt(\"months\"),Pt=jt(\"years\");var Ot=Math.round,Wt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function At(e,a,t,s){var n=et(e).abs(),r=Ot(n.as(\"s\")),d=Ot(n.as(\"m\")),i=Ot(n.as(\"h\")),_=Ot(n.as(\"d\")),o=Ot(n.as(\"M\")),m=Ot(n.as(\"w\")),n=Ot(n.as(\"y\")),r=(r<=t.ss?[\"s\",r]:r<t.s&&[\"ss\",r])||(d<=1?[\"m\"]:d<t.m&&[\"mm\",d])||(i<=1?[\"h\"]:i<t.h&&[\"hh\",i])||(_<=1?[\"d\"]:_<t.d&&[\"dd\",_]);return(r=(r=null!=t.w?r||(m<=1?[\"w\"]:m<t.w&&[\"ww\",m]):r)||(o<=1?[\"M\"]:o<t.M&&[\"MM\",o])||(n<=1?[\"y\"]:[\"yy\",n]))[2]=a,r[3]=0<+e,r[4]=s,function(e,a,t,s,n){return aa.call(n,a||1,!!t,e,s)}.apply(null,r)}var Ft=Math.abs;function Et(e){return(0<e)-(e<0)||+e}function zt(){var e,a,t,s,n,r,d,i,_,o,m;return this.isValid()?(e=Ft(this._milliseconds)/1e3,a=Ft(this._days),t=Ft(this._months),(i=this.asSeconds())?(s=ye(e/60),n=ye(s/60),e%=60,s%=60,r=ye(t/12),t%=12,d=e?e.toFixed(3).replace(/\\.?0+$/,\"\"):\"\",_=Et(this._months)!==Et(i)?\"-\":\"\",o=Et(this._days)!==Et(i)?\"-\":\"\",m=Et(this._milliseconds)!==Et(i)?\"-\":\"\",(i<0?\"-\":\"\")+\"P\"+(r?_+r+\"Y\":\"\")+(t?_+t+\"M\":\"\")+(a?o+a+\"D\":\"\")+(n||s||e?\"T\":\"\")+(n?m+n+\"H\":\"\")+(s?m+s+\"M\":\"\")+(e?m+d+\"S\":\"\")):\"P0D\"):this.localeData().invalidDate()}function Nt(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function Jt(d){return function(e,a,t,s){var n=Nt(e),r=Gt[d][Nt(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}function Rt(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function Ct(d){return function(e,a,t,s){var n=Rt(e),r=$t[d][Rt(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}function It(e){return 0===e?0:1===e?1:2===e?2:3<=e%100&&e%100<=10?3:11<=e%100?4:5}function Ut(d){return function(e,a,t,s){var n=It(e),r=es[d][It(e)];return(r=2===n?r[a?0:1]:r).replace(/%d/i,e)}}var P=Ia.prototype,Gt=(P.isValid=function(){return this._isValid},P.abs=function(){var e=this._data;return this._milliseconds=Tt(this._milliseconds),this._days=Tt(this._days),this._months=Tt(this._months),e.milliseconds=Tt(e.milliseconds),e.seconds=Tt(e.seconds),e.minutes=Tt(e.minutes),e.hours=Tt(e.hours),e.months=Tt(e.months),e.years=Tt(e.years),this},P.add=function(e,a){return wt(this,e,a,1)},P.subtract=function(e,a){return wt(this,e,a,-1)},P.as=function(e){if(!this.isValid())return NaN;var a,t,s=this._milliseconds;if(\"month\"===(e=d(e))||\"quarter\"===e||\"year\"===e)switch(a=this._days+s/864e5,t=this._months+St(a),e){case\"month\":return t;case\"quarter\":return t/3;case\"year\":return t/12}else switch(a=this._days+Math.round(Ht(this._months)),e){case\"week\":return a/7+s/6048e5;case\"day\":return a+s/864e5;case\"hour\":return 24*a+s/36e5;case\"minute\":return 1440*a+s/6e4;case\"second\":return 86400*a+s/1e3;case\"millisecond\":return Math.floor(864e5*a)+s;default:throw new Error(\"Unknown unit \"+e)}},P.asMilliseconds=a,P.asSeconds=t,P.asMinutes=M,P.asHours=n,P.asDays=We,P.asWeeks=u,P.asMonths=m,P.asQuarters=Ue,P.asYears=c,P.valueOf=i,P._bubble=function(){var e=this._milliseconds,a=this._days,t=this._months,s=this._data;return 0<=e&&0<=a&&0<=t||e<=0&&a<=0&&t<=0||(e+=864e5*bt(Ht(t)+a),t=a=0),s.milliseconds=e%1e3,e=ye(e/1e3),s.seconds=e%60,e=ye(e/60),s.minutes=e%60,e=ye(e/60),s.hours=e%24,a+=ye(e/24),t+=e=ye(St(a)),a-=bt(Ht(e)),e=ye(t/12),t%=12,s.days=a,s.months=t,s.years=e,this},P.clone=function(){return et(this)},P.get=function(e){return e=d(e),this.isValid()?this[e+\"s\"]():NaN},P.milliseconds=ue,P.seconds=_,P.minutes=h,P.hours=ve,P.days=k,P.weeks=function(){return ye(this.days()/7)},P.months=xt,P.years=Pt,P.humanize=function(e,a){var t,s;return this.isValid()?(t=!1,s=Wt,\"object\"==typeof e&&(a=e,e=!1),\"boolean\"==typeof e&&(t=e),\"object\"==typeof a&&(s=I(I({},Wt),a||{}),null!=a.s)&&null==a.ss&&(s.ss=a.s-1),e=this.localeData(),a=At(this,!t,s,e),t&&(a=ta.call(e,+this,a)),e.postformat(a)):this.localeData().invalidDate()},P.toISOString=zt,P.toString=zt,P.toJSON=zt,P.locale=_t,P.localeData=ot,P.toIsoString=e(\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\",zt),P.lang=Ve,s(\"X\",0,0,\"unix\"),s(\"x\",0,0,\"valueOf\"),D(\"x\",Me),D(\"X\",/[+-]?\\d+(\\.\\d{1,3})?/),T(\"X\",function(e,a,t){t._d=new Date(1e3*parseFloat(e))}),T(\"x\",function(e,a,t){t._d=new Date(g(e))}),\n//! moment.js\nL.version=\"2.31.0\",F=x,L.fn=p,L.min=function(){return Ra(\"isBefore\",[].slice.call(arguments,0))},L.max=function(){return Ra(\"isAfter\",[].slice.call(arguments,0))},L.now=function(){return Date.now?Date.now():+new Date},L.utc=U,L.unix=function(e){return x(1e3*e)},L.months=function(e,a){return Dt(e,a,\"months\")},L.isDate=R,L.locale=pa,L.invalid=V,L.duration=et,L.isMoment=f,L.weekdays=function(e,a,t){return gt(e,a,t,\"weekdays\")},L.parseZone=function(){return x.apply(null,arguments).parseZone()},L.localeData=Da,L.isDuration=Ua,L.monthsShort=function(e,a){return Dt(e,a,\"monthsShort\")},L.weekdaysMin=function(e,a,t){return gt(e,a,t,\"weekdaysMin\")},L.defineLocale=ka,L.updateLocale=function(e,a){var t=fa(e),s=ca;return null!=t&&(e=t._abbr),null!=a?(null!=j[e]&&null!=j[e].parentLocale?j[e].set(Qe(j[e]._config,a)):(a=Qe(s=null!=t?t._config:s,a),null==t&&(a.abbr=e),(s=new Xe(a)).parentLocale=j[e],j[e]=s),pa(e)):null!=j[e]&&(null!=j[e].parentLocale?(j[e]=j[e].parentLocale,e===pa()&&pa(e)):null!=j[e]&&delete j[e]),j[e]},L.locales=function(){return ea(j)},L.weekdaysShort=function(e,a,t){return gt(e,a,t,\"weekdaysShort\")},L.normalizeUnits=d,L.relativeTimeRounding=function(e){return void 0===e?Ot:\"function\"==typeof e&&(Ot=e,!0)},L.relativeTimeThreshold=function(e,a){return void 0!==Wt[e]&&(void 0===a?Wt[e]:(Wt[e]=a,\"s\"===e&&(Wt.ss=a-1),!0))},L.calendarFormat=function(e,a){return(e=e.diff(a,\"days\",!0))<-6?\"sameElse\":e<-1?\"lastWeek\":e<0?\"lastDay\":e<1?\"sameDay\":e<2?\"nextDay\":e<7?\"nextWeek\":\"sameElse\"},L.prototype=p,L.HTML5_FMT={DATETIME_LOCAL:\"YYYY-MM-DDTHH:mm\",DATETIME_LOCAL_SECONDS:\"YYYY-MM-DDTHH:mm:ss\",DATETIME_LOCAL_MS:\"YYYY-MM-DDTHH:mm:ss.SSS\",DATE:\"YYYY-MM-DD\",TIME:\"HH:mm\",TIME_SECONDS:\"HH:mm:ss\",TIME_MS:\"HH:mm:ss.SSS\",WEEK:\"GGGG-[W]WW\",MONTH:\"YYYY-MM\"},\n//! moment.js locale configuration\nL.defineLocale(\"af\",{months:\"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember\".split(\"_\"),monthsShort:\"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des\".split(\"_\"),weekdays:\"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag\".split(\"_\"),weekdaysShort:\"Son_Maa_Din_Woe_Don_Vry_Sat\".split(\"_\"),weekdaysMin:\"So_Ma_Di_Wo_Do_Vr_Sa\".split(\"_\"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,a,t){return e<12?t?\"vm\":\"VM\":t?\"nm\":\"NM\"},longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Vandag om] LT\",nextDay:\"[M\\xf4re om] LT\",nextWeek:\"dddd [om] LT\",lastDay:\"[Gister om] LT\",lastWeek:\"[Laas] dddd [om] LT\",sameElse:\"L\"},relativeTime:{future:\"oor %s\",past:\"%s gelede\",s:\"'n paar sekondes\",ss:\"%d sekondes\",m:\"'n minuut\",mm:\"%d minute\",h:\"'n uur\",hh:\"%d ure\",d:\"'n dag\",dd:\"%d dae\",M:\"'n maand\",MM:\"%d maande\",y:\"'n jaar\",yy:\"%d jaar\"},dayOfMonthOrdinalParse:/\\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?\"ste\":\"de\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"am-et\",{months:\"\\u1303\\u1295\\u12e9\\u12c8\\u122a_\\u134c\\u1265\\u1229\\u12c8\\u122a_\\u121b\\u122d\\u127d_\\u12a4\\u1355\\u122a\\u120d_\\u121c\\u12ed_\\u1301\\u1295_\\u1301\\u120b\\u12ed_\\u12a6\\u1308\\u1235\\u1275_\\u1234\\u1355\\u1274\\u121d\\u1260\\u122d_\\u12a6\\u12ad\\u1276\\u1260\\u122d_\\u1296\\u126c\\u121d\\u1260\\u122d_\\u12f2\\u1234\\u121d\\u1260\\u122d\".split(\"_\"),monthsShort:\"\\u1303\\u1295_\\u134c\\u1265_\\u121b\\u122d_\\u12a4\\u1355\\u122d_\\u121c\\u12ed_\\u1301\\u1295_\\u1301\\u120b\\u12ed_\\u12a6\\u1308_\\u1234\\u1355_\\u12a6\\u12ad\\u1276_\\u1296\\u126c_\\u12f2\\u1234\".split(\"_\"),weekdays:\"\\u12a5\\u1211\\u12f5_\\u1230\\u129e_\\u121b\\u12ad\\u1230\\u129e_\\u12a5\\u122e\\u1265_\\u1200\\u1219\\u1235_\\u12d3\\u122d\\u1265_\\u1245\\u12f3\\u121c\".split(\"_\"),weekdaysShort:\"\\u12a5\\u1211_\\u1230\\u129e_\\u121b\\u12ad_\\u12a5\\u122e_\\u1200\\u1219_\\u12d3\\u122d_\\u1245\\u12f3\".split(\"_\"),weekdaysMin:\"\\u12a5\\u1201_\\u1230_\\u121b_\\u12a5_\\u1200_\\u12d3_\\u1245\".split(\"_\"),meridiemParse:/\\u1325\\u12cb\\u1275|\\u12a8\\u1230\\u12d3\\u1275/,isPM:function(e){return\"\\u12a8\\u1230\\u12d3\\u1275\"===e},meridiem:function(e){return e<12?\"\\u1325\\u12cb\\u1275\":\"\\u12a8\\u1230\\u12d3\\u1275\"},longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY h:mm A\",LLLL:\"dddd, D MMMM YYYY h:mm A\"},calendar:{sameDay:\"[\\u12db\\u122c \\u1260] LT\",nextDay:\"[\\u1290\\u1308 \\u1260] LT\",nextWeek:\"dddd [\\u1260] LT\",lastDay:\"[\\u1275\\u1293\\u1295\\u1275\\u1293 \\u1260] LT\",lastWeek:\"[\\u12eb\\u1208\\u1348\\u12cd \\u1233\\u121d\\u1295\\u1275] dddd [\\u1260] LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u12cd\\u1235\\u1325\",past:\"%s \\u1260\\u134a\\u1275\",s:\"\\u1325\\u1242\\u1275 \\u1230\\u12a8\\u1295\\u12f6\\u127d\",ss:\"%d \\u1230\\u12a8\\u1295\\u12f6\\u127d\",m:\"\\u12a0\\u1295\\u12f5 \\u12f0\\u1242\\u1243\",mm:\"%d \\u12f0\\u1242\\u1243\\u12ce\\u127d\",h:\"\\u12a0\\u1295\\u12f5 \\u1230\\u12a0\\u1275\",hh:\"%d \\u1230\\u12a0\\u1273\\u1275\",d:\"\\u12a0\\u1295\\u12f5 \\u1240\\u1295\",dd:\"%d \\u1240\\u1293\\u1275\",M:\"\\u12a0\\u1295\\u12f5 \\u12c8\\u122d\",MM:\"%d \\u12c8\\u122b\\u1275\",y:\"\\u12a0\\u1295\\u12f5 \\u12d3\\u1218\\u1275\",yy:\"%d \\u12d3\\u1218\\u1273\\u1275\"},dayOfMonthOrdinalParse:/\\d{1,2}(\\u129b)/,ordinal:function(e){return e+\"\\u129b\"},week:{dow:0,doy:6}}),{s:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062b\\u0627\\u0646\\u064a\\u0629\",\"\\u062b\\u0627\\u0646\\u064a\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u062b\\u0627\\u0646\\u064a\\u062a\\u0627\\u0646\",\"\\u062b\\u0627\\u0646\\u064a\\u062a\\u064a\\u0646\"],\"%d \\u062b\\u0648\\u0627\\u0646\",\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\",\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\"],m:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062f\\u0642\\u064a\\u0642\\u0629\",\"\\u062f\\u0642\\u064a\\u0642\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u062f\\u0642\\u064a\\u0642\\u062a\\u0627\\u0646\",\"\\u062f\\u0642\\u064a\\u0642\\u062a\\u064a\\u0646\"],\"%d \\u062f\\u0642\\u0627\\u0626\\u0642\",\"%d \\u062f\\u0642\\u064a\\u0642\\u0629\",\"%d \\u062f\\u0642\\u064a\\u0642\\u0629\"],h:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0633\\u0627\\u0639\\u0629\",\"\\u0633\\u0627\\u0639\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u0633\\u0627\\u0639\\u062a\\u0627\\u0646\",\"\\u0633\\u0627\\u0639\\u062a\\u064a\\u0646\"],\"%d \\u0633\\u0627\\u0639\\u0627\\u062a\",\"%d \\u0633\\u0627\\u0639\\u0629\",\"%d \\u0633\\u0627\\u0639\\u0629\"],d:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u064a\\u0648\\u0645\",\"\\u064a\\u0648\\u0645 \\u0648\\u0627\\u062d\\u062f\",[\"\\u064a\\u0648\\u0645\\u0627\\u0646\",\"\\u064a\\u0648\\u0645\\u064a\\u0646\"],\"%d \\u0623\\u064a\\u0627\\u0645\",\"%d \\u064a\\u0648\\u0645\\u064b\\u0627\",\"%d \\u064a\\u0648\\u0645\"],M:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0634\\u0647\\u0631\",\"\\u0634\\u0647\\u0631 \\u0648\\u0627\\u062d\\u062f\",[\"\\u0634\\u0647\\u0631\\u0627\\u0646\",\"\\u0634\\u0647\\u0631\\u064a\\u0646\"],\"%d \\u0623\\u0634\\u0647\\u0631\",\"%d \\u0634\\u0647\\u0631\\u0627\",\"%d \\u0634\\u0647\\u0631\"],y:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0639\\u0627\\u0645\",\"\\u0639\\u0627\\u0645 \\u0648\\u0627\\u062d\\u062f\",[\"\\u0639\\u0627\\u0645\\u0627\\u0646\",\"\\u0639\\u0627\\u0645\\u064a\\u0646\"],\"%d \\u0623\\u0639\\u0648\\u0627\\u0645\",\"%d \\u0639\\u0627\\u0645\\u064b\\u0627\",\"%d \\u0639\\u0627\\u0645\"]}),a=[\"\\u062c\\u0627\\u0646\\u0641\\u064a\",\"\\u0641\\u064a\\u0641\\u0631\\u064a\",\"\\u0645\\u0627\\u0631\\u0633\",\"\\u0623\\u0641\\u0631\\u064a\\u0644\",\"\\u0645\\u0627\\u064a\",\"\\u062c\\u0648\\u0627\\u0646\",\"\\u062c\\u0648\\u064a\\u0644\\u064a\\u0629\",\"\\u0623\\u0648\\u062a\",\"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"],Vt=(L.defineLocale(\"ar-dz\",{months:a,monthsShort:a,weekdays:\"\\u0627\\u0644\\u0623\\u062d\\u062f_\\u0627\\u0644\\u0625\\u062b\\u0646\\u064a\\u0646_\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633_\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysShort:\"\\u0623\\u062d\\u062f_\\u0625\\u062b\\u0646\\u064a\\u0646_\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062e\\u0645\\u064a\\u0633_\\u062c\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysMin:\"\\u062d_\\u0646_\\u062b_\\u0631_\\u062e_\\u062c_\\u0633\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"D/\\u200fM/\\u200fYYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},meridiemParse:/\\u0635|\\u0645/,isPM:function(e){return\"\\u0645\"===e},meridiem:function(e,a,t){return e<12?\"\\u0635\":\"\\u0645\"},calendar:{sameDay:\"[\\u0627\\u0644\\u064a\\u0648\\u0645 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextDay:\"[\\u063a\\u062f\\u064b\\u0627 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextWeek:\"dddd [\\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastDay:\"[\\u0623\\u0645\\u0633 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastWeek:\"dddd [\\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0628\\u0639\\u062f %s\",past:\"\\u0645\\u0646\\u0630 %s\",s:Jt(\"s\"),ss:Jt(\"s\"),m:Jt(\"m\"),mm:Jt(\"m\"),h:Jt(\"h\"),hh:Jt(\"h\"),d:Jt(\"d\"),dd:Jt(\"d\"),M:Jt(\"M\"),MM:Jt(\"M\"),y:Jt(\"y\"),yy:Jt(\"y\")},postformat:function(e){return e.replace(/,/g,\"\\u060c\")},week:{dow:0,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"ar-kw\",{months:\"\\u064a\\u0646\\u0627\\u064a\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064a\\u0644_\\u0645\\u0627\\u064a_\\u064a\\u0648\\u0646\\u064a\\u0648_\\u064a\\u0648\\u0644\\u064a\\u0648\\u0632_\\u063a\\u0634\\u062a_\\u0634\\u062a\\u0646\\u0628\\u0631_\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0646\\u0628\\u0631_\\u062f\\u062c\\u0646\\u0628\\u0631\".split(\"_\"),monthsShort:\"\\u064a\\u0646\\u0627\\u064a\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064a\\u0644_\\u0645\\u0627\\u064a_\\u064a\\u0648\\u0646\\u064a\\u0648_\\u064a\\u0648\\u0644\\u064a\\u0648\\u0632_\\u063a\\u0634\\u062a_\\u0634\\u062a\\u0646\\u0628\\u0631_\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0646\\u0628\\u0631_\\u062f\\u062c\\u0646\\u0628\\u0631\".split(\"_\"),weekdays:\"\\u0627\\u0644\\u0623\\u062d\\u062f_\\u0627\\u0644\\u0625\\u062a\\u0646\\u064a\\u0646_\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633_\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysShort:\"\\u0627\\u062d\\u062f_\\u0627\\u062a\\u0646\\u064a\\u0646_\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062e\\u0645\\u064a\\u0633_\\u062c\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysMin:\"\\u062d_\\u0646_\\u062b_\\u0631_\\u062e_\\u062c_\\u0633\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u0627\\u0644\\u064a\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextDay:\"[\\u063a\\u062f\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastDay:\"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0641\\u064a %s\",past:\"\\u0645\\u0646\\u0630 %s\",s:\"\\u062b\\u0648\\u0627\\u0646\",ss:\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\",m:\"\\u062f\\u0642\\u064a\\u0642\\u0629\",mm:\"%d \\u062f\\u0642\\u0627\\u0626\\u0642\",h:\"\\u0633\\u0627\\u0639\\u0629\",hh:\"%d \\u0633\\u0627\\u0639\\u0627\\u062a\",d:\"\\u064a\\u0648\\u0645\",dd:\"%d \\u0623\\u064a\\u0627\\u0645\",M:\"\\u0634\\u0647\\u0631\",MM:\"%d \\u0623\\u0634\\u0647\\u0631\",y:\"\\u0633\\u0646\\u0629\",yy:\"%d \\u0633\\u0646\\u0648\\u0627\\u062a\"},week:{dow:0,doy:12}}),{1:\"1\",2:\"2\",3:\"3\",4:\"4\",5:\"5\",6:\"6\",7:\"7\",8:\"8\",9:\"9\",0:\"0\"}),$t={s:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062b\\u0627\\u0646\\u064a\\u0629\",\"\\u062b\\u0627\\u0646\\u064a\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u062b\\u0627\\u0646\\u064a\\u062a\\u0627\\u0646\",\"\\u062b\\u0627\\u0646\\u064a\\u062a\\u064a\\u0646\"],\"%d \\u062b\\u0648\\u0627\\u0646\",\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\",\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\"],m:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062f\\u0642\\u064a\\u0642\\u0629\",\"\\u062f\\u0642\\u064a\\u0642\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u062f\\u0642\\u064a\\u0642\\u062a\\u0627\\u0646\",\"\\u062f\\u0642\\u064a\\u0642\\u062a\\u064a\\u0646\"],\"%d \\u062f\\u0642\\u0627\\u0626\\u0642\",\"%d \\u062f\\u0642\\u064a\\u0642\\u0629\",\"%d \\u062f\\u0642\\u064a\\u0642\\u0629\"],h:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0633\\u0627\\u0639\\u0629\",\"\\u0633\\u0627\\u0639\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u0633\\u0627\\u0639\\u062a\\u0627\\u0646\",\"\\u0633\\u0627\\u0639\\u062a\\u064a\\u0646\"],\"%d \\u0633\\u0627\\u0639\\u0627\\u062a\",\"%d \\u0633\\u0627\\u0639\\u0629\",\"%d \\u0633\\u0627\\u0639\\u0629\"],d:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u064a\\u0648\\u0645\",\"\\u064a\\u0648\\u0645 \\u0648\\u0627\\u062d\\u062f\",[\"\\u064a\\u0648\\u0645\\u0627\\u0646\",\"\\u064a\\u0648\\u0645\\u064a\\u0646\"],\"%d \\u0623\\u064a\\u0627\\u0645\",\"%d \\u064a\\u0648\\u0645\\u064b\\u0627\",\"%d \\u064a\\u0648\\u0645\"],M:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0634\\u0647\\u0631\",\"\\u0634\\u0647\\u0631 \\u0648\\u0627\\u062d\\u062f\",[\"\\u0634\\u0647\\u0631\\u0627\\u0646\",\"\\u0634\\u0647\\u0631\\u064a\\u0646\"],\"%d \\u0623\\u0634\\u0647\\u0631\",\"%d \\u0634\\u0647\\u0631\\u0627\",\"%d \\u0634\\u0647\\u0631\"],y:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0639\\u0627\\u0645\",\"\\u0639\\u0627\\u0645 \\u0648\\u0627\\u062d\\u062f\",[\"\\u0639\\u0627\\u0645\\u0627\\u0646\",\"\\u0639\\u0627\\u0645\\u064a\\u0646\"],\"%d \\u0623\\u0639\\u0648\\u0627\\u0645\",\"%d \\u0639\\u0627\\u0645\\u064b\\u0627\",\"%d \\u0639\\u0627\\u0645\"]},t=[\"\\u064a\\u0646\\u0627\\u064a\\u0631\",\"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\"\\u0645\\u0627\\u0631\\u0633\",\"\\u0623\\u0628\\u0631\\u064a\\u0644\",\"\\u0645\\u0627\\u064a\\u0648\",\"\\u064a\\u0648\\u0646\\u064a\\u0648\",\"\\u064a\\u0648\\u0644\\u064a\\u0648\",\"\\u0623\\u063a\\u0633\\u0637\\u0633\",\"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"],qt=(L.defineLocale(\"ar-ly\",{months:t,monthsShort:t,weekdays:\"\\u0627\\u0644\\u0623\\u062d\\u062f_\\u0627\\u0644\\u0625\\u062b\\u0646\\u064a\\u0646_\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633_\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysShort:\"\\u0623\\u062d\\u062f_\\u0625\\u062b\\u0646\\u064a\\u0646_\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062e\\u0645\\u064a\\u0633_\\u062c\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysMin:\"\\u062d_\\u0646_\\u062b_\\u0631_\\u062e_\\u062c_\\u0633\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"D/\\u200fM/\\u200fYYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},meridiemParse:/\\u0635|\\u0645/,isPM:function(e){return\"\\u0645\"===e},meridiem:function(e,a,t){return e<12?\"\\u0635\":\"\\u0645\"},calendar:{sameDay:\"[\\u0627\\u0644\\u064a\\u0648\\u0645 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextDay:\"[\\u063a\\u062f\\u064b\\u0627 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextWeek:\"dddd [\\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastDay:\"[\\u0623\\u0645\\u0633 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastWeek:\"dddd [\\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0628\\u0639\\u062f %s\",past:\"\\u0645\\u0646\\u0630 %s\",s:Ct(\"s\"),ss:Ct(\"s\"),m:Ct(\"m\"),mm:Ct(\"m\"),h:Ct(\"h\"),hh:Ct(\"h\"),d:Ct(\"d\"),dd:Ct(\"d\"),M:Ct(\"M\"),MM:Ct(\"M\"),y:Ct(\"y\"),yy:Ct(\"y\")},preparse:function(e){return e.replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/\\d/g,function(e){return Vt[e]}).replace(/,/g,\"\\u060c\")},week:{dow:6,doy:12}}),\n//! moment.js locale configuration\nL.defineLocale(\"ar-ma\",{months:\"\\u064a\\u0646\\u0627\\u064a\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064a\\u0644_\\u0645\\u0627\\u064a_\\u064a\\u0648\\u0646\\u064a\\u0648_\\u064a\\u0648\\u0644\\u064a\\u0648\\u0632_\\u063a\\u0634\\u062a_\\u0634\\u062a\\u0646\\u0628\\u0631_\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0646\\u0628\\u0631_\\u062f\\u062c\\u0646\\u0628\\u0631\".split(\"_\"),monthsShort:\"\\u064a\\u0646\\u0627\\u064a\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064a\\u0644_\\u0645\\u0627\\u064a_\\u064a\\u0648\\u0646\\u064a\\u0648_\\u064a\\u0648\\u0644\\u064a\\u0648\\u0632_\\u063a\\u0634\\u062a_\\u0634\\u062a\\u0646\\u0628\\u0631_\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0646\\u0628\\u0631_\\u062f\\u062c\\u0646\\u0628\\u0631\".split(\"_\"),weekdays:\"\\u0627\\u0644\\u0623\\u062d\\u062f_\\u0627\\u0644\\u0625\\u062b\\u0646\\u064a\\u0646_\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633_\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysShort:\"\\u0627\\u062d\\u062f_\\u0627\\u062b\\u0646\\u064a\\u0646_\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062e\\u0645\\u064a\\u0633_\\u062c\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysMin:\"\\u062d_\\u0646_\\u062b_\\u0631_\\u062e_\\u062c_\\u0633\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u0627\\u0644\\u064a\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextDay:\"[\\u063a\\u062f\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastDay:\"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0641\\u064a %s\",past:\"\\u0645\\u0646\\u0630 %s\",s:\"\\u062b\\u0648\\u0627\\u0646\",ss:\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\",m:\"\\u062f\\u0642\\u064a\\u0642\\u0629\",mm:\"%d \\u062f\\u0642\\u0627\\u0626\\u0642\",h:\"\\u0633\\u0627\\u0639\\u0629\",hh:\"%d \\u0633\\u0627\\u0639\\u0627\\u062a\",d:\"\\u064a\\u0648\\u0645\",dd:\"%d \\u0623\\u064a\\u0627\\u0645\",M:\"\\u0634\\u0647\\u0631\",MM:\"%d \\u0623\\u0634\\u0647\\u0631\",y:\"\\u0633\\u0646\\u0629\",yy:\"%d \\u0633\\u0646\\u0648\\u0627\\u062a\"},week:{dow:1,doy:4}}),{1:\"\\u0661\",2:\"\\u0662\",3:\"\\u0663\",4:\"\\u0664\",5:\"\\u0665\",6:\"\\u0666\",7:\"\\u0667\",8:\"\\u0668\",9:\"\\u0669\",0:\"\\u0660\"}),Bt={\"\\u0661\":\"1\",\"\\u0662\":\"2\",\"\\u0663\":\"3\",\"\\u0664\":\"4\",\"\\u0665\":\"5\",\"\\u0666\":\"6\",\"\\u0667\":\"7\",\"\\u0668\":\"8\",\"\\u0669\":\"9\",\"\\u0660\":\"0\"},Kt=(L.defineLocale(\"ar-ps\",{months:\"\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a_\\u0634\\u0628\\u0627\\u0637_\\u0622\\u0630\\u0627\\u0631_\\u0646\\u064a\\u0633\\u0627\\u0646_\\u0623\\u064a\\u0651\\u0627\\u0631_\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646_\\u062a\\u0645\\u0651\\u0648\\u0632_\\u0622\\u0628_\\u0623\\u064a\\u0644\\u0648\\u0644_\\u062a\\u0634\\u0631\\u064a \\u0627\\u0644\\u0623\\u0648\\u0651\\u0644_\\u062a\\u0634\\u0631\\u064a\\u0646 \\u0627\\u0644\\u062b\\u0627\\u0646\\u064a_\\u0643\\u0627\\u0646\\u0648\\u0646 \\u0627\\u0644\\u0623\\u0648\\u0651\\u0644\".split(\"_\"),monthsShort:\"\\u0643\\u0662_\\u0634\\u0628\\u0627\\u0637_\\u0622\\u0630\\u0627\\u0631_\\u0646\\u064a\\u0633\\u0627\\u0646_\\u0623\\u064a\\u0651\\u0627\\u0631_\\u062d\\u0632\\u064a\\u0631\\u0627\\u0646_\\u062a\\u0645\\u0651\\u0648\\u0632_\\u0622\\u0628_\\u0623\\u064a\\u0644\\u0648\\u0644_\\u062a\\u0661_\\u062a\\u0662_\\u0643\\u0661\".split(\"_\"),weekdays:\"\\u0627\\u0644\\u0623\\u062d\\u062f_\\u0627\\u0644\\u0625\\u062b\\u0646\\u064a\\u0646_\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633_\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysShort:\"\\u0623\\u062d\\u062f_\\u0625\\u062b\\u0646\\u064a\\u0646_\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062e\\u0645\\u064a\\u0633_\\u062c\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysMin:\"\\u062d_\\u0646_\\u062b_\\u0631_\\u062e_\\u062c_\\u0633\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},meridiemParse:/\\u0635|\\u0645/,isPM:function(e){return\"\\u0645\"===e},meridiem:function(e,a,t){return e<12?\"\\u0635\":\"\\u0645\"},calendar:{sameDay:\"[\\u0627\\u0644\\u064a\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextDay:\"[\\u063a\\u062f\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastDay:\"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0641\\u064a %s\",past:\"\\u0645\\u0646\\u0630 %s\",s:\"\\u062b\\u0648\\u0627\\u0646\",ss:\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\",m:\"\\u062f\\u0642\\u064a\\u0642\\u0629\",mm:\"%d \\u062f\\u0642\\u0627\\u0626\\u0642\",h:\"\\u0633\\u0627\\u0639\\u0629\",hh:\"%d \\u0633\\u0627\\u0639\\u0627\\u062a\",d:\"\\u064a\\u0648\\u0645\",dd:\"%d \\u0623\\u064a\\u0627\\u0645\",M:\"\\u0634\\u0647\\u0631\",MM:\"%d \\u0623\\u0634\\u0647\\u0631\",y:\"\\u0633\\u0646\\u0629\",yy:\"%d \\u0633\\u0646\\u0648\\u0627\\u062a\"},preparse:function(e){return e.replace(/[\\u0663\\u0664\\u0665\\u0666\\u0667\\u0668\\u0669\\u0660]/g,function(e){return Bt[e]}).split(\"\").reverse().join(\"\").replace(/[\\u0661\\u0662](?![\\u062a\\u0643])/g,function(e){return Bt[e]}).split(\"\").reverse().join(\"\").replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/\\d/g,function(e){return qt[e]}).replace(/,/g,\"\\u060c\")},week:{dow:0,doy:6}}),{1:\"\\u0661\",2:\"\\u0662\",3:\"\\u0663\",4:\"\\u0664\",5:\"\\u0665\",6:\"\\u0666\",7:\"\\u0667\",8:\"\\u0668\",9:\"\\u0669\",0:\"\\u0660\"}),Zt={\"\\u0661\":\"1\",\"\\u0662\":\"2\",\"\\u0663\":\"3\",\"\\u0664\":\"4\",\"\\u0665\":\"5\",\"\\u0666\":\"6\",\"\\u0667\":\"7\",\"\\u0668\":\"8\",\"\\u0669\":\"9\",\"\\u0660\":\"0\"},Qt=(L.defineLocale(\"ar-sa\",{months:\"\\u064a\\u0646\\u0627\\u064a\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064a\\u0644_\\u0645\\u0627\\u064a\\u0648_\\u064a\\u0648\\u0646\\u064a\\u0648_\\u064a\\u0648\\u0644\\u064a\\u0648_\\u0623\\u063a\\u0633\\u0637\\u0633_\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631_\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631_\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\".split(\"_\"),monthsShort:\"\\u064a\\u0646\\u0627\\u064a\\u0631_\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0628\\u0631\\u064a\\u0644_\\u0645\\u0627\\u064a\\u0648_\\u064a\\u0648\\u0646\\u064a\\u0648_\\u064a\\u0648\\u0644\\u064a\\u0648_\\u0623\\u063a\\u0633\\u0637\\u0633_\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631_\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631_\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\".split(\"_\"),weekdays:\"\\u0627\\u0644\\u0623\\u062d\\u062f_\\u0627\\u0644\\u0625\\u062b\\u0646\\u064a\\u0646_\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633_\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysShort:\"\\u0623\\u062d\\u062f_\\u0625\\u062b\\u0646\\u064a\\u0646_\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062e\\u0645\\u064a\\u0633_\\u062c\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysMin:\"\\u062d_\\u0646_\\u062b_\\u0631_\\u062e_\\u062c_\\u0633\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},meridiemParse:/\\u0635|\\u0645/,isPM:function(e){return\"\\u0645\"===e},meridiem:function(e,a,t){return e<12?\"\\u0635\":\"\\u0645\"},calendar:{sameDay:\"[\\u0627\\u0644\\u064a\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextDay:\"[\\u063a\\u062f\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastDay:\"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0641\\u064a %s\",past:\"\\u0645\\u0646\\u0630 %s\",s:\"\\u062b\\u0648\\u0627\\u0646\",ss:\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\",m:\"\\u062f\\u0642\\u064a\\u0642\\u0629\",mm:\"%d \\u062f\\u0642\\u0627\\u0626\\u0642\",h:\"\\u0633\\u0627\\u0639\\u0629\",hh:\"%d \\u0633\\u0627\\u0639\\u0627\\u062a\",d:\"\\u064a\\u0648\\u0645\",dd:\"%d \\u0623\\u064a\\u0627\\u0645\",M:\"\\u0634\\u0647\\u0631\",MM:\"%d \\u0623\\u0634\\u0647\\u0631\",y:\"\\u0633\\u0646\\u0629\",yy:\"%d \\u0633\\u0646\\u0648\\u0627\\u062a\"},preparse:function(e){return e.replace(/[\\u0661\\u0662\\u0663\\u0664\\u0665\\u0666\\u0667\\u0668\\u0669\\u0660]/g,function(e){return Zt[e]}).replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/\\d/g,function(e){return Kt[e]}).replace(/,/g,\"\\u060c\")},week:{dow:0,doy:6}}),\n//! moment.js locale configuration\nL.defineLocale(\"ar-tn\",{months:\"\\u062c\\u0627\\u0646\\u0641\\u064a_\\u0641\\u064a\\u0641\\u0631\\u064a_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0641\\u0631\\u064a\\u0644_\\u0645\\u0627\\u064a_\\u062c\\u0648\\u0627\\u0646_\\u062c\\u0648\\u064a\\u0644\\u064a\\u0629_\\u0623\\u0648\\u062a_\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631_\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631_\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\".split(\"_\"),monthsShort:\"\\u062c\\u0627\\u0646\\u0641\\u064a_\\u0641\\u064a\\u0641\\u0631\\u064a_\\u0645\\u0627\\u0631\\u0633_\\u0623\\u0641\\u0631\\u064a\\u0644_\\u0645\\u0627\\u064a_\\u062c\\u0648\\u0627\\u0646_\\u062c\\u0648\\u064a\\u0644\\u064a\\u0629_\\u0623\\u0648\\u062a_\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631_\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631_\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\".split(\"_\"),weekdays:\"\\u0627\\u0644\\u0623\\u062d\\u062f_\\u0627\\u0644\\u0625\\u062b\\u0646\\u064a\\u0646_\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633_\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysShort:\"\\u0623\\u062d\\u062f_\\u0625\\u062b\\u0646\\u064a\\u0646_\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062e\\u0645\\u064a\\u0633_\\u062c\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysMin:\"\\u062d_\\u0646_\\u062b_\\u0631_\\u062e_\\u062c_\\u0633\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u0627\\u0644\\u064a\\u0648\\u0645 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextDay:\"[\\u063a\\u062f\\u0627 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastDay:\"[\\u0623\\u0645\\u0633 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastWeek:\"dddd [\\u0639\\u0644\\u0649 \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0641\\u064a %s\",past:\"\\u0645\\u0646\\u0630 %s\",s:\"\\u062b\\u0648\\u0627\\u0646\",ss:\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\",m:\"\\u062f\\u0642\\u064a\\u0642\\u0629\",mm:\"%d \\u062f\\u0642\\u0627\\u0626\\u0642\",h:\"\\u0633\\u0627\\u0639\\u0629\",hh:\"%d \\u0633\\u0627\\u0639\\u0627\\u062a\",d:\"\\u064a\\u0648\\u0645\",dd:\"%d \\u0623\\u064a\\u0627\\u0645\",M:\"\\u0634\\u0647\\u0631\",MM:\"%d \\u0623\\u0634\\u0647\\u0631\",y:\"\\u0633\\u0646\\u0629\",yy:\"%d \\u0633\\u0646\\u0648\\u0627\\u062a\"},week:{dow:1,doy:4}}),{1:\"\\u0661\",2:\"\\u0662\",3:\"\\u0663\",4:\"\\u0664\",5:\"\\u0665\",6:\"\\u0666\",7:\"\\u0667\",8:\"\\u0668\",9:\"\\u0669\",0:\"\\u0660\"}),Xt={\"\\u0661\":\"1\",\"\\u0662\":\"2\",\"\\u0663\":\"3\",\"\\u0664\":\"4\",\"\\u0665\":\"5\",\"\\u0666\":\"6\",\"\\u0667\":\"7\",\"\\u0668\":\"8\",\"\\u0669\":\"9\",\"\\u0660\":\"0\"},es={s:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062b\\u0627\\u0646\\u064a\\u0629\",\"\\u062b\\u0627\\u0646\\u064a\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u062b\\u0627\\u0646\\u064a\\u062a\\u0627\\u0646\",\"\\u062b\\u0627\\u0646\\u064a\\u062a\\u064a\\u0646\"],\"%d \\u062b\\u0648\\u0627\\u0646\",\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\",\"%d \\u062b\\u0627\\u0646\\u064a\\u0629\"],m:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u062f\\u0642\\u064a\\u0642\\u0629\",\"\\u062f\\u0642\\u064a\\u0642\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u062f\\u0642\\u064a\\u0642\\u062a\\u0627\\u0646\",\"\\u062f\\u0642\\u064a\\u0642\\u062a\\u064a\\u0646\"],\"%d \\u062f\\u0642\\u0627\\u0626\\u0642\",\"%d \\u062f\\u0642\\u064a\\u0642\\u0629\",\"%d \\u062f\\u0642\\u064a\\u0642\\u0629\"],h:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0633\\u0627\\u0639\\u0629\",\"\\u0633\\u0627\\u0639\\u0629 \\u0648\\u0627\\u062d\\u062f\\u0629\",[\"\\u0633\\u0627\\u0639\\u062a\\u0627\\u0646\",\"\\u0633\\u0627\\u0639\\u062a\\u064a\\u0646\"],\"%d \\u0633\\u0627\\u0639\\u0627\\u062a\",\"%d \\u0633\\u0627\\u0639\\u0629\",\"%d \\u0633\\u0627\\u0639\\u0629\"],d:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u064a\\u0648\\u0645\",\"\\u064a\\u0648\\u0645 \\u0648\\u0627\\u062d\\u062f\",[\"\\u064a\\u0648\\u0645\\u0627\\u0646\",\"\\u064a\\u0648\\u0645\\u064a\\u0646\"],\"%d \\u0623\\u064a\\u0627\\u0645\",\"%d \\u064a\\u0648\\u0645\\u064b\\u0627\",\"%d \\u064a\\u0648\\u0645\"],M:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0634\\u0647\\u0631\",\"\\u0634\\u0647\\u0631 \\u0648\\u0627\\u062d\\u062f\",[\"\\u0634\\u0647\\u0631\\u0627\\u0646\",\"\\u0634\\u0647\\u0631\\u064a\\u0646\"],\"%d \\u0623\\u0634\\u0647\\u0631\",\"%d \\u0634\\u0647\\u0631\\u0627\",\"%d \\u0634\\u0647\\u0631\"],y:[\"\\u0623\\u0642\\u0644 \\u0645\\u0646 \\u0639\\u0627\\u0645\",\"\\u0639\\u0627\\u0645 \\u0648\\u0627\\u062d\\u062f\",[\"\\u0639\\u0627\\u0645\\u0627\\u0646\",\"\\u0639\\u0627\\u0645\\u064a\\u0646\"],\"%d \\u0623\\u0639\\u0648\\u0627\\u0645\",\"%d \\u0639\\u0627\\u0645\\u064b\\u0627\",\"%d \\u0639\\u0627\\u0645\"]},M=[\"\\u064a\\u0646\\u0627\\u064a\\u0631\",\"\\u0641\\u0628\\u0631\\u0627\\u064a\\u0631\",\"\\u0645\\u0627\\u0631\\u0633\",\"\\u0623\\u0628\\u0631\\u064a\\u0644\",\"\\u0645\\u0627\\u064a\\u0648\",\"\\u064a\\u0648\\u0646\\u064a\\u0648\",\"\\u064a\\u0648\\u0644\\u064a\\u0648\",\"\\u0623\\u063a\\u0633\\u0637\\u0633\",\"\\u0633\\u0628\\u062a\\u0645\\u0628\\u0631\",\"\\u0623\\u0643\\u062a\\u0648\\u0628\\u0631\",\"\\u0646\\u0648\\u0641\\u0645\\u0628\\u0631\",\"\\u062f\\u064a\\u0633\\u0645\\u0628\\u0631\"],as=(L.defineLocale(\"ar\",{months:M,monthsShort:M,weekdays:\"\\u0627\\u0644\\u0623\\u062d\\u062f_\\u0627\\u0644\\u0625\\u062b\\u0646\\u064a\\u0646_\\u0627\\u0644\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0627\\u0644\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u0627\\u0644\\u062e\\u0645\\u064a\\u0633_\\u0627\\u0644\\u062c\\u0645\\u0639\\u0629_\\u0627\\u0644\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysShort:\"\\u0623\\u062d\\u062f_\\u0625\\u062b\\u0646\\u064a\\u0646_\\u062b\\u0644\\u0627\\u062b\\u0627\\u0621_\\u0623\\u0631\\u0628\\u0639\\u0627\\u0621_\\u062e\\u0645\\u064a\\u0633_\\u062c\\u0645\\u0639\\u0629_\\u0633\\u0628\\u062a\".split(\"_\"),weekdaysMin:\"\\u062d_\\u0646_\\u062b_\\u0631_\\u062e_\\u062c_\\u0633\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"D/\\u200fM/\\u200fYYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},meridiemParse:/\\u0635|\\u0645/,isPM:function(e){return\"\\u0645\"===e},meridiem:function(e,a,t){return e<12?\"\\u0635\":\"\\u0645\"},calendar:{sameDay:\"[\\u0627\\u0644\\u064a\\u0648\\u0645 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextDay:\"[\\u063a\\u062f\\u064b\\u0627 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",nextWeek:\"dddd [\\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastDay:\"[\\u0623\\u0645\\u0633 \\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",lastWeek:\"dddd [\\u0639\\u0646\\u062f \\u0627\\u0644\\u0633\\u0627\\u0639\\u0629] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0628\\u0639\\u062f %s\",past:\"\\u0645\\u0646\\u0630 %s\",s:Ut(\"s\"),ss:Ut(\"s\"),m:Ut(\"m\"),mm:Ut(\"m\"),h:Ut(\"h\"),hh:Ut(\"h\"),d:Ut(\"d\"),dd:Ut(\"d\"),M:Ut(\"M\"),MM:Ut(\"M\"),y:Ut(\"y\"),yy:Ut(\"y\")},preparse:function(e){return e.replace(/[\\u0661\\u0662\\u0663\\u0664\\u0665\\u0666\\u0667\\u0668\\u0669\\u0660]/g,function(e){return Xt[e]}).replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/\\d/g,function(e){return Qt[e]}).replace(/,/g,\"\\u060c\")},week:{dow:6,doy:12}}),{1:\"-inci\",5:\"-inci\",8:\"-inci\",70:\"-inci\",80:\"-inci\",2:\"-nci\",7:\"-nci\",20:\"-nci\",50:\"-nci\",3:\"-\\xfcnc\\xfc\",4:\"-\\xfcnc\\xfc\",100:\"-\\xfcnc\\xfc\",6:\"-nc\\u0131\",9:\"-uncu\",10:\"-uncu\",30:\"-uncu\",60:\"-\\u0131nc\\u0131\",90:\"-\\u0131nc\\u0131\"});function ts(e,a,t){return\"m\"===t?a?\"\\u0445\\u0432\\u0456\\u043b\\u0456\\u043d\\u0430\":\"\\u0445\\u0432\\u0456\\u043b\\u0456\\u043d\\u0443\":\"h\"===t?a?\"\\u0433\\u0430\\u0434\\u0437\\u0456\\u043d\\u0430\":\"\\u0433\\u0430\\u0434\\u0437\\u0456\\u043d\\u0443\":e+\" \"+(e=+e,a=(a={ss:a?\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0430_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u044b_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\":\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0443_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u044b_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",mm:a?\"\\u0445\\u0432\\u0456\\u043b\\u0456\\u043d\\u0430_\\u0445\\u0432\\u0456\\u043b\\u0456\\u043d\\u044b_\\u0445\\u0432\\u0456\\u043b\\u0456\\u043d\":\"\\u0445\\u0432\\u0456\\u043b\\u0456\\u043d\\u0443_\\u0445\\u0432\\u0456\\u043b\\u0456\\u043d\\u044b_\\u0445\\u0432\\u0456\\u043b\\u0456\\u043d\",hh:a?\"\\u0433\\u0430\\u0434\\u0437\\u0456\\u043d\\u0430_\\u0433\\u0430\\u0434\\u0437\\u0456\\u043d\\u044b_\\u0433\\u0430\\u0434\\u0437\\u0456\\u043d\":\"\\u0433\\u0430\\u0434\\u0437\\u0456\\u043d\\u0443_\\u0433\\u0430\\u0434\\u0437\\u0456\\u043d\\u044b_\\u0433\\u0430\\u0434\\u0437\\u0456\\u043d\",dd:\"\\u0434\\u0437\\u0435\\u043d\\u044c_\\u0434\\u043d\\u0456_\\u0434\\u0437\\u0451\\u043d\",MM:\"\\u043c\\u0435\\u0441\\u044f\\u0446_\\u043c\\u0435\\u0441\\u044f\\u0446\\u044b_\\u043c\\u0435\\u0441\\u044f\\u0446\\u0430\\u045e\",yy:\"\\u0433\\u043e\\u0434_\\u0433\\u0430\\u0434\\u044b_\\u0433\\u0430\\u0434\\u043e\\u045e\"}[t]).split(\"_\"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}L.defineLocale(\"az\",{months:\"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr\".split(\"_\"),monthsShort:\"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek\".split(\"_\"),weekdays:\"Bazar_Bazar ert\\u0259si_\\xc7\\u0259r\\u015f\\u0259nb\\u0259 ax\\u015fam\\u0131_\\xc7\\u0259r\\u015f\\u0259nb\\u0259_C\\xfcm\\u0259 ax\\u015fam\\u0131_C\\xfcm\\u0259_\\u015e\\u0259nb\\u0259\".split(\"_\"),weekdaysShort:\"Baz_BzE_\\xc7Ax_\\xc7\\u0259r_CAx_C\\xfcm_\\u015e\\u0259n\".split(\"_\"),weekdaysMin:\"Bz_BE_\\xc7A_\\xc7\\u0259_CA_C\\xfc_\\u015e\\u0259\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[bug\\xfcn saat] LT\",nextDay:\"[sabah saat] LT\",nextWeek:\"[g\\u0259l\\u0259n h\\u0259ft\\u0259] dddd [saat] LT\",lastDay:\"[d\\xfcn\\u0259n] LT\",lastWeek:\"[ke\\xe7\\u0259n h\\u0259ft\\u0259] dddd [saat] LT\",sameElse:\"L\"},relativeTime:{future:\"%s sonra\",past:\"%s \\u0259vv\\u0259l\",s:\"bir ne\\xe7\\u0259 saniy\\u0259\",ss:\"%d saniy\\u0259\",m:\"bir d\\u0259qiq\\u0259\",mm:\"%d d\\u0259qiq\\u0259\",h:\"bir saat\",hh:\"%d saat\",d:\"bir g\\xfcn\",dd:\"%d g\\xfcn\",M:\"bir ay\",MM:\"%d ay\",y:\"bir il\",yy:\"%d il\"},meridiemParse:/gec\\u0259|s\\u0259h\\u0259r|g\\xfcnd\\xfcz|ax\\u015fam/,isPM:function(e){return/^(g\\xfcnd\\xfcz|ax\\u015fam)$/.test(e)},meridiem:function(e,a,t){return e<4?\"gec\\u0259\":e<12?\"s\\u0259h\\u0259r\":e<17?\"g\\xfcnd\\xfcz\":\"ax\\u015fam\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0131nc\\u0131|inci|nci|\\xfcnc\\xfc|nc\\u0131|uncu)/,ordinal:function(e){var a;return 0===e?e+\"-\\u0131nc\\u0131\":e+(as[a=e%10]||as[e%100-a]||as[100<=e?100:null])},week:{dow:1,doy:7}}),L.defineLocale(\"be\",{months:{format:\"\\u0441\\u0442\\u0443\\u0434\\u0437\\u0435\\u043d\\u044f_\\u043b\\u044e\\u0442\\u0430\\u0433\\u0430_\\u0441\\u0430\\u043a\\u0430\\u0432\\u0456\\u043a\\u0430_\\u043a\\u0440\\u0430\\u0441\\u0430\\u0432\\u0456\\u043a\\u0430_\\u0442\\u0440\\u0430\\u045e\\u043d\\u044f_\\u0447\\u044d\\u0440\\u0432\\u0435\\u043d\\u044f_\\u043b\\u0456\\u043f\\u0435\\u043d\\u044f_\\u0436\\u043d\\u0456\\u045e\\u043d\\u044f_\\u0432\\u0435\\u0440\\u0430\\u0441\\u043d\\u044f_\\u043a\\u0430\\u0441\\u0442\\u0440\\u044b\\u0447\\u043d\\u0456\\u043a\\u0430_\\u043b\\u0456\\u0441\\u0442\\u0430\\u043f\\u0430\\u0434\\u0430_\\u0441\\u043d\\u0435\\u0436\\u043d\\u044f\".split(\"_\"),standalone:\"\\u0441\\u0442\\u0443\\u0434\\u0437\\u0435\\u043d\\u044c_\\u043b\\u044e\\u0442\\u044b_\\u0441\\u0430\\u043a\\u0430\\u0432\\u0456\\u043a_\\u043a\\u0440\\u0430\\u0441\\u0430\\u0432\\u0456\\u043a_\\u0442\\u0440\\u0430\\u0432\\u0435\\u043d\\u044c_\\u0447\\u044d\\u0440\\u0432\\u0435\\u043d\\u044c_\\u043b\\u0456\\u043f\\u0435\\u043d\\u044c_\\u0436\\u043d\\u0456\\u0432\\u0435\\u043d\\u044c_\\u0432\\u0435\\u0440\\u0430\\u0441\\u0435\\u043d\\u044c_\\u043a\\u0430\\u0441\\u0442\\u0440\\u044b\\u0447\\u043d\\u0456\\u043a_\\u043b\\u0456\\u0441\\u0442\\u0430\\u043f\\u0430\\u0434_\\u0441\\u043d\\u0435\\u0436\\u0430\\u043d\\u044c\".split(\"_\")},monthsShort:\"\\u0441\\u0442\\u0443\\u0434_\\u043b\\u044e\\u0442_\\u0441\\u0430\\u043a_\\u043a\\u0440\\u0430\\u0441_\\u0442\\u0440\\u0430\\u0432_\\u0447\\u044d\\u0440\\u0432_\\u043b\\u0456\\u043f_\\u0436\\u043d\\u0456\\u0432_\\u0432\\u0435\\u0440_\\u043a\\u0430\\u0441\\u0442_\\u043b\\u0456\\u0441\\u0442_\\u0441\\u043d\\u0435\\u0436\".split(\"_\"),weekdays:{format:\"\\u043d\\u044f\\u0434\\u0437\\u0435\\u043b\\u044e_\\u043f\\u0430\\u043d\\u044f\\u0434\\u0437\\u0435\\u043b\\u0430\\u043a_\\u0430\\u045e\\u0442\\u043e\\u0440\\u0430\\u043a_\\u0441\\u0435\\u0440\\u0430\\u0434\\u0443_\\u0447\\u0430\\u0446\\u0432\\u0435\\u0440_\\u043f\\u044f\\u0442\\u043d\\u0456\\u0446\\u0443_\\u0441\\u0443\\u0431\\u043e\\u0442\\u0443\".split(\"_\"),standalone:\"\\u043d\\u044f\\u0434\\u0437\\u0435\\u043b\\u044f_\\u043f\\u0430\\u043d\\u044f\\u0434\\u0437\\u0435\\u043b\\u0430\\u043a_\\u0430\\u045e\\u0442\\u043e\\u0440\\u0430\\u043a_\\u0441\\u0435\\u0440\\u0430\\u0434\\u0430_\\u0447\\u0430\\u0446\\u0432\\u0435\\u0440_\\u043f\\u044f\\u0442\\u043d\\u0456\\u0446\\u0430_\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\".split(\"_\"),isFormat:/\\[ ?[\\u0423\\u0443\\u045e] ?(?:\\u043c\\u0456\\u043d\\u0443\\u043b\\u0443\\u044e|\\u043d\\u0430\\u0441\\u0442\\u0443\\u043f\\u043d\\u0443\\u044e)? ?\\] ?dddd/},weekdaysShort:\"\\u043d\\u0434_\\u043f\\u043d_\\u0430\\u0442_\\u0441\\u0440_\\u0447\\u0446_\\u043f\\u0442_\\u0441\\u0431\".split(\"_\"),weekdaysMin:\"\\u043d\\u0434_\\u043f\\u043d_\\u0430\\u0442_\\u0441\\u0440_\\u0447\\u0446_\\u043f\\u0442_\\u0441\\u0431\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY \\u0433.\",LLL:\"D MMMM YYYY \\u0433., HH:mm\",LLLL:\"dddd, D MMMM YYYY \\u0433., HH:mm\"},calendar:{sameDay:\"[\\u0421\\u0451\\u043d\\u043d\\u044f \\u045e] LT\",nextDay:\"[\\u0417\\u0430\\u045e\\u0442\\u0440\\u0430 \\u045e] LT\",lastDay:\"[\\u0423\\u0447\\u043e\\u0440\\u0430 \\u045e] LT\",nextWeek:function(){return\"[\\u0423] dddd [\\u045e] LT\"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return\"[\\u0423 \\u043c\\u0456\\u043d\\u0443\\u043b\\u0443\\u044e] dddd [\\u045e] LT\";case 1:case 2:case 4:return\"[\\u0423 \\u043c\\u0456\\u043d\\u0443\\u043b\\u044b] dddd [\\u045e] LT\"}},sameElse:\"L\"},relativeTime:{future:\"\\u043f\\u0440\\u0430\\u0437 %s\",past:\"%s \\u0442\\u0430\\u043c\\u0443\",s:\"\\u043d\\u0435\\u043a\\u0430\\u043b\\u044c\\u043a\\u0456 \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",m:ts,mm:ts,h:ts,hh:ts,d:\"\\u0434\\u0437\\u0435\\u043d\\u044c\",dd:ts,M:\"\\u043c\\u0435\\u0441\\u044f\\u0446\",MM:ts,y:\"\\u0433\\u043e\\u0434\",yy:ts},meridiemParse:/\\u043d\\u043e\\u0447\\u044b|\\u0440\\u0430\\u043d\\u0456\\u0446\\u044b|\\u0434\\u043d\\u044f|\\u0432\\u0435\\u0447\\u0430\\u0440\\u0430/,isPM:function(e){return/^(\\u0434\\u043d\\u044f|\\u0432\\u0435\\u0447\\u0430\\u0440\\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?\"\\u043d\\u043e\\u0447\\u044b\":e<12?\"\\u0440\\u0430\\u043d\\u0456\\u0446\\u044b\":e<17?\"\\u0434\\u043d\\u044f\":\"\\u0432\\u0435\\u0447\\u0430\\u0440\\u0430\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0456|\\u044b|\\u0433\\u0430)/,ordinal:function(e,a){switch(a){case\"M\":case\"d\":case\"DDD\":case\"w\":case\"W\":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+\"-\\u044b\":e+\"-\\u0456\";case\"D\":return e+\"-\\u0433\\u0430\";default:return e}},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"bg\",{months:\"\\u044f\\u043d\\u0443\\u0430\\u0440\\u0438_\\u0444\\u0435\\u0432\\u0440\\u0443\\u0430\\u0440\\u0438_\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440\\u0438\\u043b_\\u043c\\u0430\\u0439_\\u044e\\u043d\\u0438_\\u044e\\u043b\\u0438_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0432\\u0440\\u0438_\\u043e\\u043a\\u0442\\u043e\\u043c\\u0432\\u0440\\u0438_\\u043d\\u043e\\u0435\\u043c\\u0432\\u0440\\u0438_\\u0434\\u0435\\u043a\\u0435\\u043c\\u0432\\u0440\\u0438\".split(\"_\"),monthsShort:\"\\u044f\\u043d\\u0443_\\u0444\\u0435\\u0432_\\u043c\\u0430\\u0440_\\u0430\\u043f\\u0440_\\u043c\\u0430\\u0439_\\u044e\\u043d\\u0438_\\u044e\\u043b\\u0438_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043f_\\u043e\\u043a\\u0442_\\u043d\\u043e\\u0435_\\u0434\\u0435\\u043a\".split(\"_\"),weekdays:\"\\u043d\\u0435\\u0434\\u0435\\u043b\\u044f_\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u043d\\u0438\\u043a_\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a_\\u0441\\u0440\\u044f\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u044a\\u0440\\u0442\\u044a\\u043a_\\u043f\\u0435\\u0442\\u044a\\u043a_\\u0441\\u044a\\u0431\\u043e\\u0442\\u0430\".split(\"_\"),weekdaysShort:\"\\u043d\\u0435\\u0434_\\u043f\\u043e\\u043d_\\u0432\\u0442\\u043e_\\u0441\\u0440\\u044f_\\u0447\\u0435\\u0442_\\u043f\\u0435\\u0442_\\u0441\\u044a\\u0431\".split(\"_\"),weekdaysMin:\"\\u043d\\u0434_\\u043f\\u043d_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043f\\u0442_\\u0441\\u0431\".split(\"_\"),longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"D.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY H:mm\",LLLL:\"dddd, D MMMM YYYY H:mm\"},calendar:{sameDay:\"[\\u0414\\u043d\\u0435\\u0441 \\u0432] LT\",nextDay:\"[\\u0423\\u0442\\u0440\\u0435 \\u0432] LT\",nextWeek:\"dddd [\\u0432] LT\",lastDay:\"[\\u0412\\u0447\\u0435\\u0440\\u0430 \\u0432] LT\",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return\"[\\u041c\\u0438\\u043d\\u0430\\u043b\\u0430\\u0442\\u0430] dddd [\\u0432] LT\";case 1:case 2:case 4:case 5:return\"[\\u041c\\u0438\\u043d\\u0430\\u043b\\u0438\\u044f] dddd [\\u0432] LT\"}},sameElse:\"L\"},relativeTime:{future:\"\\u0441\\u043b\\u0435\\u0434 %s\",past:\"\\u043f\\u0440\\u0435\\u0434\\u0438 %s\",s:\"\\u043d\\u044f\\u043a\\u043e\\u043b\\u043a\\u043e \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0438\",ss:\"%d \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0438\",m:\"\\u043c\\u0438\\u043d\\u0443\\u0442\\u0430\",mm:\"%d \\u043c\\u0438\\u043d\\u0443\\u0442\\u0438\",h:\"\\u0447\\u0430\\u0441\",hh:\"%d \\u0447\\u0430\\u0441\\u0430\",d:\"\\u0434\\u0435\\u043d\",dd:\"%d \\u0434\\u0435\\u043d\\u0430\",w:\"\\u0441\\u0435\\u0434\\u043c\\u0438\\u0446\\u0430\",ww:\"%d \\u0441\\u0435\\u0434\\u043c\\u0438\\u0446\\u0438\",M:\"\\u043c\\u0435\\u0441\\u0435\\u0446\",MM:\"%d \\u043c\\u0435\\u0441\\u0435\\u0446\\u0430\",y:\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0430\",yy:\"%d \\u0433\\u043e\\u0434\\u0438\\u043d\\u0438\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0435\\u0432|\\u0435\\u043d|\\u0442\\u0438|\\u0432\\u0438|\\u0440\\u0438|\\u043c\\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+\"-\\u0435\\u0432\":0==t?e+\"-\\u0435\\u043d\":10<t&&t<20?e+\"-\\u0442\\u0438\":1==a?e+\"-\\u0432\\u0438\":2==a?e+\"-\\u0440\\u0438\":7==a||8==a?e+\"-\\u043c\\u0438\":e+\"-\\u0442\\u0438\"},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"bm\",{months:\"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\\u025bkalo_Zuw\\u025bnkalo_Zuluyekalo_Utikalo_S\\u025btanburukalo_\\u0254kut\\u0254burukalo_Nowanburukalo_Desanburukalo\".split(\"_\"),monthsShort:\"Zan_Few_Mar_Awi_M\\u025b_Zuw_Zul_Uti_S\\u025bt_\\u0254ku_Now_Des\".split(\"_\"),weekdays:\"Kari_Nt\\u025bn\\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri\".split(\"_\"),weekdaysShort:\"Kar_Nt\\u025b_Tar_Ara_Ala_Jum_Sib\".split(\"_\"),weekdaysMin:\"Ka_Nt_Ta_Ar_Al_Ju_Si\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"MMMM [tile] D [san] YYYY\",LLL:\"MMMM [tile] D [san] YYYY [l\\u025br\\u025b] HH:mm\",LLLL:\"dddd MMMM [tile] D [san] YYYY [l\\u025br\\u025b] HH:mm\"},calendar:{sameDay:\"[Bi l\\u025br\\u025b] LT\",nextDay:\"[Sini l\\u025br\\u025b] LT\",nextWeek:\"dddd [don l\\u025br\\u025b] LT\",lastDay:\"[Kunu l\\u025br\\u025b] LT\",lastWeek:\"dddd [t\\u025bm\\u025bnen l\\u025br\\u025b] LT\",sameElse:\"L\"},relativeTime:{future:\"%s k\\u0254n\\u0254\",past:\"a b\\u025b %s b\\u0254\",s:\"sanga dama dama\",ss:\"sekondi %d\",m:\"miniti kelen\",mm:\"miniti %d\",h:\"l\\u025br\\u025b kelen\",hh:\"l\\u025br\\u025b %d\",d:\"tile kelen\",dd:\"tile %d\",M:\"kalo kelen\",MM:\"kalo %d\",y:\"san kelen\",yy:\"san %d\"},week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar ss={1:\"\\u09e7\",2:\"\\u09e8\",3:\"\\u09e9\",4:\"\\u09ea\",5:\"\\u09eb\",6:\"\\u09ec\",7:\"\\u09ed\",8:\"\\u09ee\",9:\"\\u09ef\",0:\"\\u09e6\"},ns={\"\\u09e7\":\"1\",\"\\u09e8\":\"2\",\"\\u09e9\":\"3\",\"\\u09ea\":\"4\",\"\\u09eb\":\"5\",\"\\u09ec\":\"6\",\"\\u09ed\":\"7\",\"\\u09ee\":\"8\",\"\\u09ef\":\"9\",\"\\u09e6\":\"0\"},rs=(L.defineLocale(\"bn-bd\",{months:\"\\u099c\\u09be\\u09a8\\u09c1\\u09df\\u09be\\u09b0\\u09bf_\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1\\u09df\\u09be\\u09b0\\u09bf_\\u09ae\\u09be\\u09b0\\u09cd\\u099a_\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2_\\u09ae\\u09c7_\\u099c\\u09c1\\u09a8_\\u099c\\u09c1\\u09b2\\u09be\\u0987_\\u0986\\u0997\\u09b8\\u09cd\\u099f_\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0_\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09b0_\\u09a8\\u09ad\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0_\\u09a1\\u09bf\\u09b8\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\".split(\"_\"),monthsShort:\"\\u099c\\u09be\\u09a8\\u09c1_\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1_\\u09ae\\u09be\\u09b0\\u09cd\\u099a_\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2_\\u09ae\\u09c7_\\u099c\\u09c1\\u09a8_\\u099c\\u09c1\\u09b2\\u09be\\u0987_\\u0986\\u0997\\u09b8\\u09cd\\u099f_\\u09b8\\u09c7\\u09aa\\u09cd\\u099f_\\u0985\\u0995\\u09cd\\u099f\\u09cb_\\u09a8\\u09ad\\u09c7_\\u09a1\\u09bf\\u09b8\\u09c7\".split(\"_\"),weekdays:\"\\u09b0\\u09ac\\u09bf\\u09ac\\u09be\\u09b0_\\u09b8\\u09cb\\u09ae\\u09ac\\u09be\\u09b0_\\u09ae\\u0999\\u09cd\\u0997\\u09b2\\u09ac\\u09be\\u09b0_\\u09ac\\u09c1\\u09a7\\u09ac\\u09be\\u09b0_\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf\\u09ac\\u09be\\u09b0_\\u09b6\\u09c1\\u0995\\u09cd\\u09b0\\u09ac\\u09be\\u09b0_\\u09b6\\u09a8\\u09bf\\u09ac\\u09be\\u09b0\".split(\"_\"),weekdaysShort:\"\\u09b0\\u09ac\\u09bf_\\u09b8\\u09cb\\u09ae_\\u09ae\\u0999\\u09cd\\u0997\\u09b2_\\u09ac\\u09c1\\u09a7_\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf_\\u09b6\\u09c1\\u0995\\u09cd\\u09b0_\\u09b6\\u09a8\\u09bf\".split(\"_\"),weekdaysMin:\"\\u09b0\\u09ac\\u09bf_\\u09b8\\u09cb\\u09ae_\\u09ae\\u0999\\u09cd\\u0997\\u09b2_\\u09ac\\u09c1\\u09a7_\\u09ac\\u09c3\\u09b9_\\u09b6\\u09c1\\u0995\\u09cd\\u09b0_\\u09b6\\u09a8\\u09bf\".split(\"_\"),longDateFormat:{LT:\"A h:mm \\u09b8\\u09ae\\u09df\",LTS:\"A h:mm:ss \\u09b8\\u09ae\\u09df\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm \\u09b8\\u09ae\\u09df\",LLLL:\"dddd, D MMMM YYYY, A h:mm \\u09b8\\u09ae\\u09df\"},calendar:{sameDay:\"[\\u0986\\u099c] LT\",nextDay:\"[\\u0986\\u0997\\u09be\\u09ae\\u09c0\\u0995\\u09be\\u09b2] LT\",nextWeek:\"dddd, LT\",lastDay:\"[\\u0997\\u09a4\\u0995\\u09be\\u09b2] LT\",lastWeek:\"[\\u0997\\u09a4] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u09aa\\u09b0\\u09c7\",past:\"%s \\u0986\\u0997\\u09c7\",s:\"\\u0995\\u09df\\u09c7\\u0995 \\u09b8\\u09c7\\u0995\\u09c7\\u09a8\\u09cd\\u09a1\",ss:\"%d \\u09b8\\u09c7\\u0995\\u09c7\\u09a8\\u09cd\\u09a1\",m:\"\\u098f\\u0995 \\u09ae\\u09bf\\u09a8\\u09bf\\u099f\",mm:\"%d \\u09ae\\u09bf\\u09a8\\u09bf\\u099f\",h:\"\\u098f\\u0995 \\u0998\\u09a8\\u09cd\\u099f\\u09be\",hh:\"%d \\u0998\\u09a8\\u09cd\\u099f\\u09be\",d:\"\\u098f\\u0995 \\u09a6\\u09bf\\u09a8\",dd:\"%d \\u09a6\\u09bf\\u09a8\",M:\"\\u098f\\u0995 \\u09ae\\u09be\\u09b8\",MM:\"%d \\u09ae\\u09be\\u09b8\",y:\"\\u098f\\u0995 \\u09ac\\u099b\\u09b0\",yy:\"%d \\u09ac\\u099b\\u09b0\"},preparse:function(e){return e.replace(/[\\u09e7\\u09e8\\u09e9\\u09ea\\u09eb\\u09ec\\u09ed\\u09ee\\u09ef\\u09e6]/g,function(e){return ns[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return ss[e]})},meridiemParse:/\\u09b0\\u09be\\u09a4|\\u09ad\\u09cb\\u09b0|\\u09b8\\u0995\\u09be\\u09b2|\\u09a6\\u09c1\\u09aa\\u09c1\\u09b0|\\u09ac\\u09bf\\u0995\\u09be\\u09b2|\\u09b8\\u09a8\\u09cd\\u09a7\\u09cd\\u09af\\u09be|\\u09b0\\u09be\\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u09b0\\u09be\\u09a4\"===a?e<4?e:e+12:\"\\u09ad\\u09cb\\u09b0\"===a||\"\\u09b8\\u0995\\u09be\\u09b2\"===a?e:\"\\u09a6\\u09c1\\u09aa\\u09c1\\u09b0\"===a?3<=e?e:e+12:\"\\u09ac\\u09bf\\u0995\\u09be\\u09b2\"===a||\"\\u09b8\\u09a8\\u09cd\\u09a7\\u09cd\\u09af\\u09be\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"\\u09b0\\u09be\\u09a4\":e<6?\"\\u09ad\\u09cb\\u09b0\":e<12?\"\\u09b8\\u0995\\u09be\\u09b2\":e<15?\"\\u09a6\\u09c1\\u09aa\\u09c1\\u09b0\":e<18?\"\\u09ac\\u09bf\\u0995\\u09be\\u09b2\":e<20?\"\\u09b8\\u09a8\\u09cd\\u09a7\\u09cd\\u09af\\u09be\":\"\\u09b0\\u09be\\u09a4\"},week:{dow:0,doy:6}}),{1:\"\\u09e7\",2:\"\\u09e8\",3:\"\\u09e9\",4:\"\\u09ea\",5:\"\\u09eb\",6:\"\\u09ec\",7:\"\\u09ed\",8:\"\\u09ee\",9:\"\\u09ef\",0:\"\\u09e6\"}),ds={\"\\u09e7\":\"1\",\"\\u09e8\":\"2\",\"\\u09e9\":\"3\",\"\\u09ea\":\"4\",\"\\u09eb\":\"5\",\"\\u09ec\":\"6\",\"\\u09ed\":\"7\",\"\\u09ee\":\"8\",\"\\u09ef\":\"9\",\"\\u09e6\":\"0\"},is=(L.defineLocale(\"bn\",{months:\"\\u099c\\u09be\\u09a8\\u09c1\\u09df\\u09be\\u09b0\\u09bf_\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1\\u09df\\u09be\\u09b0\\u09bf_\\u09ae\\u09be\\u09b0\\u09cd\\u099a_\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2_\\u09ae\\u09c7_\\u099c\\u09c1\\u09a8_\\u099c\\u09c1\\u09b2\\u09be\\u0987_\\u0986\\u0997\\u09b8\\u09cd\\u099f_\\u09b8\\u09c7\\u09aa\\u09cd\\u099f\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0_\\u0985\\u0995\\u09cd\\u099f\\u09cb\\u09ac\\u09b0_\\u09a8\\u09ad\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0_\\u09a1\\u09bf\\u09b8\\u09c7\\u09ae\\u09cd\\u09ac\\u09b0\".split(\"_\"),monthsShort:\"\\u099c\\u09be\\u09a8\\u09c1_\\u09ab\\u09c7\\u09ac\\u09cd\\u09b0\\u09c1_\\u09ae\\u09be\\u09b0\\u09cd\\u099a_\\u098f\\u09aa\\u09cd\\u09b0\\u09bf\\u09b2_\\u09ae\\u09c7_\\u099c\\u09c1\\u09a8_\\u099c\\u09c1\\u09b2\\u09be\\u0987_\\u0986\\u0997\\u09b8\\u09cd\\u099f_\\u09b8\\u09c7\\u09aa\\u09cd\\u099f_\\u0985\\u0995\\u09cd\\u099f\\u09cb_\\u09a8\\u09ad\\u09c7_\\u09a1\\u09bf\\u09b8\\u09c7\".split(\"_\"),weekdays:\"\\u09b0\\u09ac\\u09bf\\u09ac\\u09be\\u09b0_\\u09b8\\u09cb\\u09ae\\u09ac\\u09be\\u09b0_\\u09ae\\u0999\\u09cd\\u0997\\u09b2\\u09ac\\u09be\\u09b0_\\u09ac\\u09c1\\u09a7\\u09ac\\u09be\\u09b0_\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf\\u09ac\\u09be\\u09b0_\\u09b6\\u09c1\\u0995\\u09cd\\u09b0\\u09ac\\u09be\\u09b0_\\u09b6\\u09a8\\u09bf\\u09ac\\u09be\\u09b0\".split(\"_\"),weekdaysShort:\"\\u09b0\\u09ac\\u09bf_\\u09b8\\u09cb\\u09ae_\\u09ae\\u0999\\u09cd\\u0997\\u09b2_\\u09ac\\u09c1\\u09a7_\\u09ac\\u09c3\\u09b9\\u09b8\\u09cd\\u09aa\\u09a4\\u09bf_\\u09b6\\u09c1\\u0995\\u09cd\\u09b0_\\u09b6\\u09a8\\u09bf\".split(\"_\"),weekdaysMin:\"\\u09b0\\u09ac\\u09bf_\\u09b8\\u09cb\\u09ae_\\u09ae\\u0999\\u09cd\\u0997\\u09b2_\\u09ac\\u09c1\\u09a7_\\u09ac\\u09c3\\u09b9_\\u09b6\\u09c1\\u0995\\u09cd\\u09b0_\\u09b6\\u09a8\\u09bf\".split(\"_\"),longDateFormat:{LT:\"A h:mm \\u09b8\\u09ae\\u09df\",LTS:\"A h:mm:ss \\u09b8\\u09ae\\u09df\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm \\u09b8\\u09ae\\u09df\",LLLL:\"dddd, D MMMM YYYY, A h:mm \\u09b8\\u09ae\\u09df\"},calendar:{sameDay:\"[\\u0986\\u099c] LT\",nextDay:\"[\\u0986\\u0997\\u09be\\u09ae\\u09c0\\u0995\\u09be\\u09b2] LT\",nextWeek:\"dddd, LT\",lastDay:\"[\\u0997\\u09a4\\u0995\\u09be\\u09b2] LT\",lastWeek:\"[\\u0997\\u09a4] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u09aa\\u09b0\\u09c7\",past:\"%s \\u0986\\u0997\\u09c7\",s:\"\\u0995\\u09df\\u09c7\\u0995 \\u09b8\\u09c7\\u0995\\u09c7\\u09a8\\u09cd\\u09a1\",ss:\"%d \\u09b8\\u09c7\\u0995\\u09c7\\u09a8\\u09cd\\u09a1\",m:\"\\u098f\\u0995 \\u09ae\\u09bf\\u09a8\\u09bf\\u099f\",mm:\"%d \\u09ae\\u09bf\\u09a8\\u09bf\\u099f\",h:\"\\u098f\\u0995 \\u0998\\u09a8\\u09cd\\u099f\\u09be\",hh:\"%d \\u0998\\u09a8\\u09cd\\u099f\\u09be\",d:\"\\u098f\\u0995 \\u09a6\\u09bf\\u09a8\",dd:\"%d \\u09a6\\u09bf\\u09a8\",M:\"\\u098f\\u0995 \\u09ae\\u09be\\u09b8\",MM:\"%d \\u09ae\\u09be\\u09b8\",y:\"\\u098f\\u0995 \\u09ac\\u099b\\u09b0\",yy:\"%d \\u09ac\\u099b\\u09b0\"},preparse:function(e){return e.replace(/[\\u09e7\\u09e8\\u09e9\\u09ea\\u09eb\\u09ec\\u09ed\\u09ee\\u09ef\\u09e6]/g,function(e){return ds[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return rs[e]})},meridiemParse:/\\u09b0\\u09be\\u09a4|\\u09b8\\u0995\\u09be\\u09b2|\\u09a6\\u09c1\\u09aa\\u09c1\\u09b0|\\u09ac\\u09bf\\u0995\\u09be\\u09b2|\\u09b0\\u09be\\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u09b0\\u09be\\u09a4\"===a&&4<=e||\"\\u09a6\\u09c1\\u09aa\\u09c1\\u09b0\"===a&&e<5||\"\\u09ac\\u09bf\\u0995\\u09be\\u09b2\"===a?e+12:e},meridiem:function(e,a,t){return e<4?\"\\u09b0\\u09be\\u09a4\":e<10?\"\\u09b8\\u0995\\u09be\\u09b2\":e<17?\"\\u09a6\\u09c1\\u09aa\\u09c1\\u09b0\":e<20?\"\\u09ac\\u09bf\\u0995\\u09be\\u09b2\":\"\\u09b0\\u09be\\u09a4\"},week:{dow:0,doy:6}}),{1:\"\\u0f21\",2:\"\\u0f22\",3:\"\\u0f23\",4:\"\\u0f24\",5:\"\\u0f25\",6:\"\\u0f26\",7:\"\\u0f27\",8:\"\\u0f28\",9:\"\\u0f29\",0:\"\\u0f20\"}),_s={\"\\u0f21\":\"1\",\"\\u0f22\":\"2\",\"\\u0f23\":\"3\",\"\\u0f24\":\"4\",\"\\u0f25\":\"5\",\"\\u0f26\":\"6\",\"\\u0f27\":\"7\",\"\\u0f28\":\"8\",\"\\u0f29\":\"9\",\"\\u0f20\":\"0\"};\n//! moment.js locale configuration\nfunction os(e,a,t){return e+\" \"+(t={mm:\"munutenn\",MM:\"miz\",dd:\"devezh\"}[t],2!==(e=e)?t:void 0!==(e={m:\"v\",b:\"v\",d:\"z\"})[(t=t).charAt(0)]?e[t.charAt(0)]+t.substring(1):t)}L.defineLocale(\"bo\",{months:\"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0f44\\u0f0b\\u0f54\\u0f7c_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f42\\u0f66\\u0f74\\u0f58\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f5e\\u0f72\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f63\\u0f94\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0fb2\\u0f74\\u0f42\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f51\\u0f74\\u0f53\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f62\\u0f92\\u0fb1\\u0f51\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f51\\u0f42\\u0f74\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\\u0f0b\\u0f54_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f56\\u0f45\\u0f74\\u0f0b\\u0f42\\u0f49\\u0f72\\u0f66\\u0f0b\\u0f54\".split(\"_\"),monthsShort:\"\\u0f5f\\u0fb3\\u0f0b1_\\u0f5f\\u0fb3\\u0f0b2_\\u0f5f\\u0fb3\\u0f0b3_\\u0f5f\\u0fb3\\u0f0b4_\\u0f5f\\u0fb3\\u0f0b5_\\u0f5f\\u0fb3\\u0f0b6_\\u0f5f\\u0fb3\\u0f0b7_\\u0f5f\\u0fb3\\u0f0b8_\\u0f5f\\u0fb3\\u0f0b9_\\u0f5f\\u0fb3\\u0f0b10_\\u0f5f\\u0fb3\\u0f0b11_\\u0f5f\\u0fb3\\u0f0b12\".split(\"_\"),monthsShortRegex:/^(\\u0f5f\\u0fb3\\u0f0b\\d{1,2})/,monthsParseExact:!0,weekdays:\"\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b_\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b_\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b_\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b_\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74_\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b_\\u0f42\\u0f5f\\u0f60\\u0f0b\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\".split(\"_\"),weekdaysShort:\"\\u0f49\\u0f72\\u0f0b\\u0f58\\u0f0b_\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b_\\u0f58\\u0f72\\u0f42\\u0f0b\\u0f51\\u0f58\\u0f62\\u0f0b_\\u0f63\\u0fb7\\u0f42\\u0f0b\\u0f54\\u0f0b_\\u0f55\\u0f74\\u0f62\\u0f0b\\u0f56\\u0f74_\\u0f54\\u0f0b\\u0f66\\u0f44\\u0f66\\u0f0b_\\u0f66\\u0fa4\\u0f7a\\u0f53\\u0f0b\\u0f54\\u0f0b\".split(\"_\"),weekdaysMin:\"\\u0f49\\u0f72_\\u0f5f\\u0fb3_\\u0f58\\u0f72\\u0f42_\\u0f63\\u0fb7\\u0f42_\\u0f55\\u0f74\\u0f62_\\u0f66\\u0f44\\u0f66_\\u0f66\\u0fa4\\u0f7a\\u0f53\".split(\"_\"),longDateFormat:{LT:\"A h:mm\",LTS:\"A h:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm\",LLLL:\"dddd, D MMMM YYYY, A h:mm\"},calendar:{sameDay:\"[\\u0f51\\u0f72\\u0f0b\\u0f62\\u0f72\\u0f44] LT\",nextDay:\"[\\u0f66\\u0f44\\u0f0b\\u0f49\\u0f72\\u0f53] LT\",nextWeek:\"[\\u0f56\\u0f51\\u0f74\\u0f53\\u0f0b\\u0f55\\u0fb2\\u0f42\\u0f0b\\u0f62\\u0f97\\u0f7a\\u0f66\\u0f0b\\u0f58], LT\",lastDay:\"[\\u0f41\\u0f0b\\u0f66\\u0f44] LT\",lastWeek:\"[\\u0f56\\u0f51\\u0f74\\u0f53\\u0f0b\\u0f55\\u0fb2\\u0f42\\u0f0b\\u0f58\\u0f50\\u0f60\\u0f0b\\u0f58] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0f63\\u0f0b\",past:\"%s \\u0f66\\u0f94\\u0f53\\u0f0b\\u0f63\",s:\"\\u0f63\\u0f58\\u0f0b\\u0f66\\u0f44\",ss:\"%d \\u0f66\\u0f90\\u0f62\\u0f0b\\u0f46\\u0f0d\",m:\"\\u0f66\\u0f90\\u0f62\\u0f0b\\u0f58\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\",mm:\"%d \\u0f66\\u0f90\\u0f62\\u0f0b\\u0f58\",h:\"\\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\",hh:\"%d \\u0f46\\u0f74\\u0f0b\\u0f5a\\u0f7c\\u0f51\",d:\"\\u0f49\\u0f72\\u0f53\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\",dd:\"%d \\u0f49\\u0f72\\u0f53\\u0f0b\",M:\"\\u0f5f\\u0fb3\\u0f0b\\u0f56\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\",MM:\"%d \\u0f5f\\u0fb3\\u0f0b\\u0f56\",y:\"\\u0f63\\u0f7c\\u0f0b\\u0f42\\u0f45\\u0f72\\u0f42\",yy:\"%d \\u0f63\\u0f7c\"},preparse:function(e){return e.replace(/[\\u0f21\\u0f22\\u0f23\\u0f24\\u0f25\\u0f26\\u0f27\\u0f28\\u0f29\\u0f20]/g,function(e){return _s[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return is[e]})},meridiemParse:/\\u0f58\\u0f5a\\u0f53\\u0f0b\\u0f58\\u0f7c|\\u0f5e\\u0f7c\\u0f42\\u0f66\\u0f0b\\u0f40\\u0f66|\\u0f49\\u0f72\\u0f53\\u0f0b\\u0f42\\u0f74\\u0f44|\\u0f51\\u0f42\\u0f7c\\u0f44\\u0f0b\\u0f51\\u0f42|\\u0f58\\u0f5a\\u0f53\\u0f0b\\u0f58\\u0f7c/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0f58\\u0f5a\\u0f53\\u0f0b\\u0f58\\u0f7c\"===a&&4<=e||\"\\u0f49\\u0f72\\u0f53\\u0f0b\\u0f42\\u0f74\\u0f44\"===a&&e<5||\"\\u0f51\\u0f42\\u0f7c\\u0f44\\u0f0b\\u0f51\\u0f42\"===a?e+12:e},meridiem:function(e,a,t){return e<4?\"\\u0f58\\u0f5a\\u0f53\\u0f0b\\u0f58\\u0f7c\":e<10?\"\\u0f5e\\u0f7c\\u0f42\\u0f66\\u0f0b\\u0f40\\u0f66\":e<17?\"\\u0f49\\u0f72\\u0f53\\u0f0b\\u0f42\\u0f74\\u0f44\":e<20?\"\\u0f51\\u0f42\\u0f7c\\u0f44\\u0f0b\\u0f51\\u0f42\":\"\\u0f58\\u0f5a\\u0f53\\u0f0b\\u0f58\\u0f7c\"},week:{dow:0,doy:6}});n=[/^gen/i,/^c[\\u02bc\\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],We=/^(genver|c[\\u02bc\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\\u02bc\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];function ms(e,a,t){var s=e+\" \";switch(t){case\"ss\":return s+=1===e?\"sekunda\":2===e||3===e||4===e?\"sekunde\":\"sekundi\";case\"mm\":return s+=1!==e&&(2===e||3===e||4===e)?\"minute\":\"minuta\";case\"h\":return\"jedan sat\";case\"hh\":return s+=1===e?\"sat\":2===e||3===e||4===e?\"sata\":\"sati\";case\"dd\":return s+=1===e?\"dan\":\"dana\";case\"MM\":return s+=1===e?\"mjesec\":2===e||3===e||4===e?\"mjeseca\":\"mjeseci\";case\"yy\":return s+=1!==e&&(2===e||3===e||4===e)?\"godine\":\"godina\"}}L.defineLocale(\"br\",{months:\"Genver_C\\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu\".split(\"_\"),monthsShort:\"Gen_C\\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker\".split(\"_\"),weekdays:\"Sul_Lun_Meurzh_Merc\\u02bcher_Yaou_Gwener_Sadorn\".split(\"_\"),weekdaysShort:\"Sul_Lun_Meu_Mer_Yao_Gwe_Sad\".split(\"_\"),weekdaysMin:\"Su_Lu_Me_Mer_Ya_Gw_Sa\".split(\"_\"),weekdaysParse:u,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\\u02bc\\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:u,monthsRegex:We,monthsShortRegex:We,monthsStrictRegex:/^(genver|c[\\u02bc\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\\u02bc\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D [a viz] MMMM YYYY\",LLL:\"D [a viz] MMMM YYYY HH:mm\",LLLL:\"dddd, D [a viz] MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Hiziv da] LT\",nextDay:\"[Warc\\u02bchoazh da] LT\",nextWeek:\"dddd [da] LT\",lastDay:\"[Dec\\u02bch da] LT\",lastWeek:\"dddd [paset da] LT\",sameElse:\"L\"},relativeTime:{future:\"a-benn %s\",past:\"%s \\u02bczo\",s:\"un nebeud segondenno\\xf9\",ss:\"%d eilenn\",m:\"ur vunutenn\",mm:os,h:\"un eur\",hh:\"%d eur\",d:\"un devezh\",dd:os,M:\"ur miz\",MM:os,y:\"ur bloaz\",yy:function(e){switch(function e(a){if(9<a)return e(a%10);return a}(e)){case 1:case 3:case 4:case 5:case 9:return e+\" bloaz\";default:return e+\" vloaz\"}}},dayOfMonthOrdinalParse:/\\d{1,2}(a\\xf1|vet)/,ordinal:function(e){return e+(1===e?\"a\\xf1\":\"vet\")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return\"g.m.\"===e},meridiem:function(e,a,t){return e<12?\"a.m.\":\"g.m.\"}}),L.defineLocale(\"bs\",{months:\"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar\".split(\"_\"),monthsShort:\"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.\".split(\"_\"),monthsParseExact:!0,weekdays:\"nedjelja_ponedjeljak_utorak_srijeda_\\u010detvrtak_petak_subota\".split(\"_\"),weekdaysShort:\"ned._pon._uto._sri._\\u010det._pet._sub.\".split(\"_\"),weekdaysMin:\"ne_po_ut_sr_\\u010de_pe_su\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY H:mm\",LLLL:\"dddd, D. MMMM YYYY H:mm\"},calendar:{sameDay:\"[danas u] LT\",nextDay:\"[sutra u] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[u] [nedjelju] [u] LT\";case 3:return\"[u] [srijedu] [u] LT\";case 6:return\"[u] [subotu] [u] LT\";case 1:case 2:case 4:case 5:return\"[u] dddd [u] LT\"}},lastDay:\"[ju\\u010der u] LT\",lastWeek:function(){switch(this.day()){case 0:case 3:return\"[pro\\u0161lu] dddd [u] LT\";case 6:return\"[pro\\u0161le] [subote] [u] LT\";case 1:case 2:case 4:case 5:return\"[pro\\u0161li] dddd [u] LT\"}},sameElse:\"L\"},relativeTime:{future:\"za %s\",past:\"prije %s\",s:\"par sekundi\",ss:ms,m:\n//! moment.js locale configuration\nfunction(e,a,t,s){switch(t){case\"m\":return a?\"jedna minuta\":s?\"jednu minutu\":\"jedne minute\"}},mm:ms,h:ms,hh:ms,d:\"dan\",dd:ms,M:\"mjesec\",MM:ms,y:\"godinu\",yy:ms},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"ca\",{months:{standalone:\"gener_febrer_mar\\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre\".split(\"_\"),format:\"de gener_de febrer_de mar\\xe7_d\\u2019abril_de maig_de juny_de juliol_d\\u2019agost_de setembre_d\\u2019octubre_de novembre_de desembre\".split(\"_\"),isFormat:/D[oD]?(\\s)+MMMM/},monthsShort:\"gen._febr._mar\\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.\".split(\"_\"),monthsParseExact:!0,weekdays:\"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte\".split(\"_\"),weekdaysShort:\"dg._dl._dt._dc._dj._dv._ds.\".split(\"_\"),weekdaysMin:\"dg_dl_dt_dc_dj_dv_ds\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM [de] YYYY\",ll:\"D MMM YYYY\",LLL:\"D MMMM [de] YYYY [a les] H:mm\",lll:\"D MMM YYYY, H:mm\",LLLL:\"dddd D MMMM [de] YYYY [a les] H:mm\",llll:\"ddd D MMM YYYY, H:mm\"},calendar:{sameDay:function(){return\"[avui a \"+(1!==this.hours()?\"les\":\"la\")+\"] LT\"},nextDay:function(){return\"[dem\\xe0 a \"+(1!==this.hours()?\"les\":\"la\")+\"] LT\"},nextWeek:function(){return\"dddd [a \"+(1!==this.hours()?\"les\":\"la\")+\"] LT\"},lastDay:function(){return\"[ahir a \"+(1!==this.hours()?\"les\":\"la\")+\"] LT\"},lastWeek:function(){return\"[el] dddd [passat a \"+(1!==this.hours()?\"les\":\"la\")+\"] LT\"},sameElse:\"L\"},relativeTime:{future:\"d'aqu\\xed %s\",past:\"fa %s\",s:\"uns segons\",ss:\"%d segons\",m:\"un minut\",mm:\"%d minuts\",h:\"una hora\",hh:\"%d hores\",d:\"un dia\",dd:\"%d dies\",M:\"un mes\",MM:\"%d mesos\",y:\"un any\",yy:\"%d anys\"},dayOfMonthOrdinalParse:/\\d{1,2}(r|n|t|\\xe8|a)/,ordinal:function(e,a){return e+(\"w\"!==a&&\"W\"!==a?1===e?\"r\":2===e?\"n\":3===e?\"r\":4===e?\"t\":\"\\xe8\":\"a\")},week:{dow:1,doy:4}});\n//! moment.js locale configuration\nm={standalone:\"leden_\\xfanor_b\\u0159ezen_duben_kv\\u011bten_\\u010derven_\\u010dervenec_srpen_z\\xe1\\u0159\\xed_\\u0159\\xedjen_listopad_prosinec\".split(\"_\"),format:\"ledna_\\xfanora_b\\u0159ezna_dubna_kv\\u011btna_\\u010dervna_\\u010dervence_srpna_z\\xe1\\u0159\\xed_\\u0159\\xedjna_listopadu_prosince\".split(\"_\"),isFormat:/DD?[o.]?(\\[[^\\[\\]]*\\]|\\s)+MMMM/},Ue=\"led_\\xfano_b\\u0159e_dub_kv\\u011b_\\u010dvn_\\u010dvc_srp_z\\xe1\\u0159_\\u0159\\xedj_lis_pro\".split(\"_\"),c=[/^led/i,/^\\xfano/i,/^b\\u0159e/i,/^dub/i,/^kv\\u011b/i,/^(\\u010dvn|\\u010derven$|\\u010dervna)/i,/^(\\u010dvc|\\u010dervenec|\\u010dervence)/i,/^srp/i,/^z\\xe1\\u0159/i,/^\\u0159\\xedj/i,/^lis/i,/^pro/i],i=/^(leden|\\xfanor|b\\u0159ezen|duben|kv\\u011bten|\\u010dervenec|\\u010dervence|\\u010derven|\\u010dervna|srpen|z\\xe1\\u0159\\xed|\\u0159\\xedjen|listopad|prosinec|led|\\xfano|b\\u0159e|dub|kv\\u011b|\\u010dvn|\\u010dvc|srp|z\\xe1\\u0159|\\u0159\\xedj|lis|pro)/i;function us(e){return 1<e&&e<5&&1!=~~(e/10)}function ls(e,a,t,s){var n=e+\" \";switch(t){case\"s\":return a||s?\"p\\xe1r sekund\":\"p\\xe1r sekundami\";case\"ss\":return a||s?n+(us(e)?\"sekundy\":\"sekund\"):n+\"sekundami\";case\"m\":return a?\"minuta\":s?\"minutu\":\"minutou\";case\"mm\":return a||s?n+(us(e)?\"minuty\":\"minut\"):n+\"minutami\";case\"h\":return a?\"hodina\":s?\"hodinu\":\"hodinou\";case\"hh\":return a||s?n+(us(e)?\"hodiny\":\"hodin\"):n+\"hodinami\";case\"d\":return a||s?\"den\":\"dnem\";case\"dd\":return a||s?n+(us(e)?\"dny\":\"dn\\xed\"):n+\"dny\";case\"M\":return a||s?\"m\\u011bs\\xedc\":\"m\\u011bs\\xedcem\";case\"MM\":return a||s?n+(us(e)?\"m\\u011bs\\xedce\":\"m\\u011bs\\xedc\\u016f\"):n+\"m\\u011bs\\xedci\";case\"y\":return a||s?\"rok\":\"rokem\";case\"yy\":return a||s?n+(us(e)?\"roky\":\"let\"):n+\"lety\"}}L.defineLocale(\"cs\",{months:m,monthsShort:Ue,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|\\xfanora|\\xfanor|b\\u0159ezen|b\\u0159ezna|duben|dubna|kv\\u011bten|kv\\u011btna|\\u010dervenec|\\u010dervence|\\u010derven|\\u010dervna|srpen|srpna|z\\xe1\\u0159\\xed|\\u0159\\xedjen|\\u0159\\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\\xfano|b\\u0159e|dub|kv\\u011b|\\u010dvn|\\u010dvc|srp|z\\xe1\\u0159|\\u0159\\xedj|lis|pro)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:\"ned\\u011ble_pond\\u011bl\\xed_\\xfater\\xfd_st\\u0159eda_\\u010dtvrtek_p\\xe1tek_sobota\".split(\"_\"),weekdaysShort:\"ne_po_\\xfat_st_\\u010dt_p\\xe1_so\".split(\"_\"),weekdaysMin:\"ne_po_\\xfat_st_\\u010dt_p\\xe1_so\".split(\"_\"),longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY H:mm\",LLLL:\"dddd D. MMMM YYYY H:mm\",l:\"D. M. YYYY\"},calendar:{sameDay:\"[dnes v] LT\",nextDay:\"[z\\xedtra v] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[v ned\\u011bli v] LT\";case 1:case 2:return\"[v] dddd [v] LT\";case 3:return\"[ve st\\u0159edu v] LT\";case 4:return\"[ve \\u010dtvrtek v] LT\";case 5:return\"[v p\\xe1tek v] LT\";case 6:return\"[v sobotu v] LT\"}},lastDay:\"[v\\u010dera v] LT\",lastWeek:function(){switch(this.day()){case 0:return\"[minulou ned\\u011bli v] LT\";case 1:case 2:return\"[minul\\xe9] dddd [v] LT\";case 3:return\"[minulou st\\u0159edu v] LT\";case 4:case 5:return\"[minul\\xfd] dddd [v] LT\";case 6:return\"[minulou sobotu v] LT\"}},sameElse:\"L\"},relativeTime:{future:\"za %s\",past:\"p\\u0159ed %s\",s:ls,ss:ls,m:ls,mm:ls,h:ls,hh:ls,d:ls,dd:ls,M:ls,MM:ls,y:ls,yy:ls},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"cv\",{months:\"\\u043a\\u04d1\\u0440\\u043b\\u0430\\u0447_\\u043d\\u0430\\u0440\\u04d1\\u0441_\\u043f\\u0443\\u0448_\\u0430\\u043a\\u0430_\\u043c\\u0430\\u0439_\\u04ab\\u04d7\\u0440\\u0442\\u043c\\u0435_\\u0443\\u0442\\u04d1_\\u04ab\\u0443\\u0440\\u043b\\u0430_\\u0430\\u0432\\u04d1\\u043d_\\u044e\\u043f\\u0430_\\u0447\\u04f3\\u043a_\\u0440\\u0430\\u0448\\u0442\\u0430\\u0432\".split(\"_\"),monthsShort:\"\\u043a\\u04d1\\u0440_\\u043d\\u0430\\u0440_\\u043f\\u0443\\u0448_\\u0430\\u043a\\u0430_\\u043c\\u0430\\u0439_\\u04ab\\u04d7\\u0440_\\u0443\\u0442\\u04d1_\\u04ab\\u0443\\u0440_\\u0430\\u0432\\u043d_\\u044e\\u043f\\u0430_\\u0447\\u04f3\\u043a_\\u0440\\u0430\\u0448\".split(\"_\"),weekdays:\"\\u0432\\u044b\\u0440\\u0441\\u0430\\u0440\\u043d\\u0438\\u043a\\u0443\\u043d_\\u0442\\u0443\\u043d\\u0442\\u0438\\u043a\\u0443\\u043d_\\u044b\\u0442\\u043b\\u0430\\u0440\\u0438\\u043a\\u0443\\u043d_\\u044e\\u043d\\u043a\\u0443\\u043d_\\u043a\\u04d7\\u04ab\\u043d\\u0435\\u0440\\u043d\\u0438\\u043a\\u0443\\u043d_\\u044d\\u0440\\u043d\\u0435\\u043a\\u0443\\u043d_\\u0448\\u04d1\\u043c\\u0430\\u0442\\u043a\\u0443\\u043d\".split(\"_\"),weekdaysShort:\"\\u0432\\u044b\\u0440_\\u0442\\u0443\\u043d_\\u044b\\u0442\\u043b_\\u044e\\u043d_\\u043a\\u04d7\\u04ab_\\u044d\\u0440\\u043d_\\u0448\\u04d1\\u043c\".split(\"_\"),weekdaysMin:\"\\u0432\\u0440_\\u0442\\u043d_\\u044b\\u0442_\\u044e\\u043d_\\u043a\\u04ab_\\u044d\\u0440_\\u0448\\u043c\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD-MM-YYYY\",LL:\"YYYY [\\u04ab\\u0443\\u043b\\u0445\\u0438] MMMM [\\u0443\\u0439\\u04d1\\u0445\\u04d7\\u043d] D[-\\u043c\\u04d7\\u0448\\u04d7]\",LLL:\"YYYY [\\u04ab\\u0443\\u043b\\u0445\\u0438] MMMM [\\u0443\\u0439\\u04d1\\u0445\\u04d7\\u043d] D[-\\u043c\\u04d7\\u0448\\u04d7], HH:mm\",LLLL:\"dddd, YYYY [\\u04ab\\u0443\\u043b\\u0445\\u0438] MMMM [\\u0443\\u0439\\u04d1\\u0445\\u04d7\\u043d] D[-\\u043c\\u04d7\\u0448\\u04d7], HH:mm\"},calendar:{sameDay:\"[\\u041f\\u0430\\u044f\\u043d] LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]\",nextDay:\"[\\u042b\\u0440\\u0430\\u043d] LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]\",lastDay:\"[\\u04d6\\u043d\\u0435\\u0440] LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]\",nextWeek:\"[\\u04aa\\u0438\\u0442\\u0435\\u0441] dddd LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]\",lastWeek:\"[\\u0418\\u0440\\u0442\\u043d\\u04d7] dddd LT [\\u0441\\u0435\\u0445\\u0435\\u0442\\u0440\\u0435]\",sameElse:\"L\"},relativeTime:{future:function(e){return e+(/\\u0441\\u0435\\u0445\\u0435\\u0442$/i.exec(e)?\"\\u0440\\u0435\\u043d\":/\\u04ab\\u0443\\u043b$/i.exec(e)?\"\\u0442\\u0430\\u043d\":\"\\u0440\\u0430\\u043d\")},past:\"%s \\u043a\\u0430\\u044f\\u043b\\u043b\\u0430\",s:\"\\u043f\\u04d7\\u0440-\\u0438\\u043a \\u04ab\\u0435\\u043a\\u043a\\u0443\\u043d\\u0442\",ss:\"%d \\u04ab\\u0435\\u043a\\u043a\\u0443\\u043d\\u0442\",m:\"\\u043f\\u04d7\\u0440 \\u043c\\u0438\\u043d\\u0443\\u0442\",mm:\"%d \\u043c\\u0438\\u043d\\u0443\\u0442\",h:\"\\u043f\\u04d7\\u0440 \\u0441\\u0435\\u0445\\u0435\\u0442\",hh:\"%d \\u0441\\u0435\\u0445\\u0435\\u0442\",d:\"\\u043f\\u04d7\\u0440 \\u043a\\u0443\\u043d\",dd:\"%d \\u043a\\u0443\\u043d\",M:\"\\u043f\\u04d7\\u0440 \\u0443\\u0439\\u04d1\\u0445\",MM:\"%d \\u0443\\u0439\\u04d1\\u0445\",y:\"\\u043f\\u04d7\\u0440 \\u04ab\\u0443\\u043b\",yy:\"%d \\u04ab\\u0443\\u043b\"},dayOfMonthOrdinalParse:/\\d{1,2}-\\u043c\\u04d7\\u0448/,ordinal:\"%d-\\u043c\\u04d7\\u0448\",week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"cy\",{months:\"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr\".split(\"_\"),monthsShort:\"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag\".split(\"_\"),weekdays:\"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn\".split(\"_\"),weekdaysShort:\"Sul_Llun_Maw_Mer_Iau_Gwe_Sad\".split(\"_\"),weekdaysMin:\"Su_Ll_Ma_Me_Ia_Gw_Sa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Heddiw am] LT\",nextDay:\"[Yfory am] LT\",nextWeek:\"dddd [am] LT\",lastDay:\"[Ddoe am] LT\",lastWeek:\"dddd [diwethaf am] LT\",sameElse:\"L\"},relativeTime:{future:\"mewn %s\",past:\"%s yn \\xf4l\",s:\"ychydig eiliadau\",ss:\"%d eiliad\",m:\"munud\",mm:\"%d munud\",h:\"awr\",hh:\"%d awr\",d:\"diwrnod\",dd:\"%d diwrnod\",M:\"mis\",MM:\"%d mis\",y:\"blwyddyn\",yy:\"%d flynedd\"},dayOfMonthOrdinalParse:/\\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var a=\"\";return 20<e?a=40===e||50===e||60===e||80===e||100===e?\"fed\":\"ain\":0<e&&(a=[\"\",\"af\",\"il\",\"ydd\",\"ydd\",\"ed\",\"ed\",\"ed\",\"fed\",\"fed\",\"fed\",\"eg\",\"fed\",\"eg\",\"eg\",\"fed\",\"eg\",\"eg\",\"fed\",\"eg\",\"fed\"][e]),e+a},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"da\",{months:\"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december\".split(\"_\"),monthsShort:\"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec\".split(\"_\"),weekdays:\"s\\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\\xf8rdag\".split(\"_\"),weekdaysShort:\"s\\xf8n_man_tir_ons_tor_fre_l\\xf8r\".split(\"_\"),weekdaysMin:\"s\\xf8_ma_ti_on_to_fr_l\\xf8\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY HH:mm\",LLLL:\"dddd [d.] D. MMMM YYYY [kl.] HH:mm\"},calendar:{sameDay:\"[i dag kl.] LT\",nextDay:\"[i morgen kl.] LT\",nextWeek:\"p\\xe5 dddd [kl.] LT\",lastDay:\"[i g\\xe5r kl.] LT\",lastWeek:\"[i] dddd[s kl.] LT\",sameElse:\"L\"},relativeTime:{future:\"om %s\",past:\"%s siden\",s:\"f\\xe5 sekunder\",ss:\"%d sekunder\",m:\"et minut\",mm:\"%d minutter\",h:\"en time\",hh:\"%d timer\",d:\"en dag\",dd:\"%d dage\",M:\"en m\\xe5ned\",MM:\"%d m\\xe5neder\",y:\"et \\xe5r\",yy:\"%d \\xe5r\"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nue=[/^j\\xe4n/i,/^feb/i,/^m\\xe4r/i,/^apr/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dez/i],_=/^(J\\xe4nner|Februar|M\\xe4rz|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|J\\xe4n\\.?|Feb\\.?|M\\xe4r\\.?|Apr\\.?|Jun\\.?|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i;function Ms(e,a,t,s){e={m:[\"eine Minute\",\"einer Minute\"],h:[\"eine Stunde\",\"einer Stunde\"],d:[\"ein Tag\",\"einem Tag\"],dd:[e+\" Tage\",e+\" Tagen\"],w:[\"eine Woche\",\"einer Woche\"],M:[\"ein Monat\",\"einem Monat\"],MM:[e+\" Monate\",e+\" Monaten\"],y:[\"ein Jahr\",\"einem Jahr\"],yy:[e+\" Jahre\",e+\" Jahren\"]};return a?e[t][0]:e[t][1]}L.defineLocale(\"de-at\",{months:\"J\\xe4nner_Februar_M\\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember\".split(\"_\"),monthsShort:\"J\\xe4n._Feb._M\\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.\".split(\"_\"),monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(J\\xe4nner|Februar|M\\xe4rz|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,monthsShortStrictRegex:/^(J\\xe4n\\.?|Feb\\.?|M\\xe4rz|M\\xe4r\\.?|Apr\\.?|Mai|Juni|Jun\\.?|Juli|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i,monthsParse:ue,longMonthsParse:ue,shortMonthsParse:ue,weekdays:\"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag\".split(\"_\"),weekdaysShort:\"So._Mo._Di._Mi._Do._Fr._Sa.\".split(\"_\"),weekdaysMin:\"So_Mo_Di_Mi_Do_Fr_Sa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY HH:mm\",LLLL:\"dddd, D. MMMM YYYY HH:mm\"},calendar:{sameDay:\"[heute um] LT [Uhr]\",sameElse:\"L\",nextDay:\"[morgen um] LT [Uhr]\",nextWeek:\"dddd [um] LT [Uhr]\",lastDay:\"[gestern um] LT [Uhr]\",lastWeek:\"[letzten] dddd [um] LT [Uhr]\"},relativeTime:{future:\"in %s\",past:\"vor %s\",s:\"ein paar Sekunden\",ss:\"%d Sekunden\",m:Ms,mm:\"%d Minuten\",h:Ms,hh:\"%d Stunden\",d:Ms,dd:Ms,w:Ms,ww:\"%d Wochen\",M:Ms,MM:Ms,y:Ms,yy:Ms},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nh=[/^jan/i,/^feb/i,/^m\\xe4r/i,/^apr/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dez/i],ve=/^(Januar|Februar|M\\xe4rz|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jan\\.?|Feb\\.?|M\\xe4r\\.?|Apr\\.?|Jun\\.?|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i;function hs(e,a,t,s){e={m:[\"eine Minute\",\"einer Minute\"],h:[\"eine Stunde\",\"einer Stunde\"],d:[\"ein Tag\",\"einem Tag\"],dd:[e+\" Tage\",e+\" Tagen\"],w:[\"eine Woche\",\"einer Woche\"],M:[\"ein Monat\",\"einem Monat\"],MM:[e+\" Monate\",e+\" Monaten\"],y:[\"ein Jahr\",\"einem Jahr\"],yy:[e+\" Jahre\",e+\" Jahren\"]};return a?e[t][0]:e[t][1]}L.defineLocale(\"de-ch\",{months:\"Januar_Februar_M\\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember\".split(\"_\"),monthsShort:\"Jan._Feb._M\\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.\".split(\"_\"),monthsRegex:ve,monthsShortRegex:ve,monthsStrictRegex:/^(Januar|Februar|M\\xe4rz|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,monthsShortStrictRegex:/^(Jan\\.?|Feb\\.?|M\\xe4rz|M\\xe4r\\.?|Apr\\.?|Mai|Juni|Jun\\.?|Juli|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i,monthsParse:h,longMonthsParse:h,shortMonthsParse:h,weekdays:\"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag\".split(\"_\"),weekdaysShort:\"So_Mo_Di_Mi_Do_Fr_Sa\".split(\"_\"),weekdaysMin:\"So_Mo_Di_Mi_Do_Fr_Sa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY HH:mm\",LLLL:\"dddd, D. MMMM YYYY HH:mm\"},calendar:{sameDay:\"[heute um] LT [Uhr]\",sameElse:\"L\",nextDay:\"[morgen um] LT [Uhr]\",nextWeek:\"dddd [um] LT [Uhr]\",lastDay:\"[gestern um] LT [Uhr]\",lastWeek:\"[letzten] dddd [um] LT [Uhr]\"},relativeTime:{future:\"in %s\",past:\"vor %s\",s:\"ein paar Sekunden\",ss:\"%d Sekunden\",m:hs,mm:\"%d Minuten\",h:hs,hh:\"%d Stunden\",d:hs,dd:hs,w:hs,ww:\"%d Wochen\",M:hs,MM:hs,y:hs,yy:hs},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nk=[/^jan/i,/^feb/i,/^m\\xe4r/i,/^apr/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dez/i],xt=/^(Januar|Februar|M\\xe4rz|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jan\\.?|Feb\\.?|M\\xe4r\\.?|Apr\\.?|Jun\\.?|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i;function cs(e,a,t,s){e={m:[\"eine Minute\",\"einer Minute\"],h:[\"eine Stunde\",\"einer Stunde\"],d:[\"ein Tag\",\"einem Tag\"],dd:[e+\" Tage\",e+\" Tagen\"],w:[\"eine Woche\",\"einer Woche\"],M:[\"ein Monat\",\"einem Monat\"],MM:[e+\" Monate\",e+\" Monaten\"],y:[\"ein Jahr\",\"einem Jahr\"],yy:[e+\" Jahre\",e+\" Jahren\"]};return a?e[t][0]:e[t][1]}L.defineLocale(\"de\",{months:\"Januar_Februar_M\\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember\".split(\"_\"),monthsShort:\"Jan._Feb._M\\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.\".split(\"_\"),monthsRegex:xt,monthsShortRegex:xt,monthsStrictRegex:/^(Januar|Februar|M\\xe4rz|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i,monthsShortStrictRegex:/^(Jan\\.?|Feb\\.?|M\\xe4rz|M\\xe4r\\.?|Apr\\.?|Mai|Juni|Jun\\.?|Juli|Jul\\.?|Aug\\.?|Sep\\.?|Okt\\.?|Nov\\.?|Dez\\.?)/i,monthsParse:k,longMonthsParse:k,shortMonthsParse:k,weekdays:\"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag\".split(\"_\"),weekdaysShort:\"So._Mo._Di._Mi._Do._Fr._Sa.\".split(\"_\"),weekdaysMin:\"So_Mo_Di_Mi_Do_Fr_Sa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY HH:mm\",LLLL:\"dddd, D. MMMM YYYY HH:mm\"},calendar:{sameDay:\"[heute um] LT [Uhr]\",sameElse:\"L\",nextDay:\"[morgen um] LT [Uhr]\",nextWeek:\"dddd [um] LT [Uhr]\",lastDay:\"[gestern um] LT [Uhr]\",lastWeek:\"[letzten] dddd [um] LT [Uhr]\"},relativeTime:{future:\"in %s\",past:\"vor %s\",s:\"ein paar Sekunden\",ss:\"%d Sekunden\",m:cs,mm:\"%d Minuten\",h:cs,hh:\"%d Stunden\",d:cs,dd:cs,w:cs,ww:\"%d Wochen\",M:cs,MM:cs,y:cs,yy:cs},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nPt=[\"\\u0796\\u07ac\\u0782\\u07aa\\u0787\\u07a6\\u0783\\u07a9\",\"\\u078a\\u07ac\\u0784\\u07b0\\u0783\\u07aa\\u0787\\u07a6\\u0783\\u07a9\",\"\\u0789\\u07a7\\u0783\\u07a8\\u0797\\u07aa\",\"\\u0787\\u07ad\\u0795\\u07b0\\u0783\\u07a9\\u078d\\u07aa\",\"\\u0789\\u07ad\",\"\\u0796\\u07ab\\u0782\\u07b0\",\"\\u0796\\u07aa\\u078d\\u07a6\\u0787\\u07a8\",\"\\u0787\\u07af\\u078e\\u07a6\\u0790\\u07b0\\u0793\\u07aa\",\"\\u0790\\u07ac\\u0795\\u07b0\\u0793\\u07ac\\u0789\\u07b0\\u0784\\u07a6\\u0783\\u07aa\",\"\\u0787\\u07ae\\u0786\\u07b0\\u0793\\u07af\\u0784\\u07a6\\u0783\\u07aa\",\"\\u0782\\u07ae\\u0788\\u07ac\\u0789\\u07b0\\u0784\\u07a6\\u0783\\u07aa\",\"\\u0791\\u07a8\\u0790\\u07ac\\u0789\\u07b0\\u0784\\u07a6\\u0783\\u07aa\"],P=[\"\\u0787\\u07a7\\u078b\\u07a8\\u0787\\u07b0\\u078c\\u07a6\",\"\\u0780\\u07af\\u0789\\u07a6\",\"\\u0787\\u07a6\\u0782\\u07b0\\u078e\\u07a7\\u0783\\u07a6\",\"\\u0784\\u07aa\\u078b\\u07a6\",\"\\u0784\\u07aa\\u0783\\u07a7\\u0790\\u07b0\\u078a\\u07a6\\u078c\\u07a8\",\"\\u0780\\u07aa\\u0786\\u07aa\\u0783\\u07aa\",\"\\u0780\\u07ae\\u0782\\u07a8\\u0780\\u07a8\\u0783\\u07aa\"];L.defineLocale(\"dv\",{months:Pt,monthsShort:Pt,weekdays:P,weekdaysShort:P,weekdaysMin:\"\\u0787\\u07a7\\u078b\\u07a8_\\u0780\\u07af\\u0789\\u07a6_\\u0787\\u07a6\\u0782\\u07b0_\\u0784\\u07aa\\u078b\\u07a6_\\u0784\\u07aa\\u0783\\u07a7_\\u0780\\u07aa\\u0786\\u07aa_\\u0780\\u07ae\\u0782\\u07a8\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"D/M/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},meridiemParse:/\\u0789\\u0786|\\u0789\\u078a/,isPM:function(e){return\"\\u0789\\u078a\"===e},meridiem:function(e,a,t){return e<12?\"\\u0789\\u0786\":\"\\u0789\\u078a\"},calendar:{sameDay:\"[\\u0789\\u07a8\\u0787\\u07a6\\u078b\\u07aa] LT\",nextDay:\"[\\u0789\\u07a7\\u078b\\u07a6\\u0789\\u07a7] LT\",nextWeek:\"dddd LT\",lastDay:\"[\\u0787\\u07a8\\u0787\\u07b0\\u0794\\u07ac] LT\",lastWeek:\"[\\u078a\\u07a7\\u0787\\u07a8\\u078c\\u07aa\\u0788\\u07a8] dddd LT\",sameElse:\"L\"},relativeTime:{future:\"\\u078c\\u07ac\\u0783\\u07ad\\u078e\\u07a6\\u0787\\u07a8 %s\",past:\"\\u0786\\u07aa\\u0783\\u07a8\\u0782\\u07b0 %s\",s:\"\\u0790\\u07a8\\u0786\\u07aa\\u0782\\u07b0\\u078c\\u07aa\\u0786\\u07ae\\u0785\\u07ac\\u0787\\u07b0\",ss:\"d% \\u0790\\u07a8\\u0786\\u07aa\\u0782\\u07b0\\u078c\\u07aa\",m:\"\\u0789\\u07a8\\u0782\\u07a8\\u0793\\u07ac\\u0787\\u07b0\",mm:\"\\u0789\\u07a8\\u0782\\u07a8\\u0793\\u07aa %d\",h:\"\\u078e\\u07a6\\u0791\\u07a8\\u0787\\u07a8\\u0783\\u07ac\\u0787\\u07b0\",hh:\"\\u078e\\u07a6\\u0791\\u07a8\\u0787\\u07a8\\u0783\\u07aa %d\",d:\"\\u078b\\u07aa\\u0788\\u07a6\\u0780\\u07ac\\u0787\\u07b0\",dd:\"\\u078b\\u07aa\\u0788\\u07a6\\u0790\\u07b0 %d\",M:\"\\u0789\\u07a6\\u0780\\u07ac\\u0787\\u07b0\",MM:\"\\u0789\\u07a6\\u0790\\u07b0 %d\",y:\"\\u0787\\u07a6\\u0780\\u07a6\\u0783\\u07ac\\u0787\\u07b0\",yy:\"\\u0787\\u07a6\\u0780\\u07a6\\u0783\\u07aa %d\"},preparse:function(e){return e.replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/,/g,\"\\u060c\")},week:{dow:7,doy:12}}),L.defineLocale(\"el\",{monthsNominativeEl:\"\\u0399\\u03b1\\u03bd\\u03bf\\u03c5\\u03ac\\u03c1\\u03b9\\u03bf\\u03c2_\\u03a6\\u03b5\\u03b2\\u03c1\\u03bf\\u03c5\\u03ac\\u03c1\\u03b9\\u03bf\\u03c2_\\u039c\\u03ac\\u03c1\\u03c4\\u03b9\\u03bf\\u03c2_\\u0391\\u03c0\\u03c1\\u03af\\u03bb\\u03b9\\u03bf\\u03c2_\\u039c\\u03ac\\u03b9\\u03bf\\u03c2_\\u0399\\u03bf\\u03cd\\u03bd\\u03b9\\u03bf\\u03c2_\\u0399\\u03bf\\u03cd\\u03bb\\u03b9\\u03bf\\u03c2_\\u0391\\u03cd\\u03b3\\u03bf\\u03c5\\u03c3\\u03c4\\u03bf\\u03c2_\\u03a3\\u03b5\\u03c0\\u03c4\\u03ad\\u03bc\\u03b2\\u03c1\\u03b9\\u03bf\\u03c2_\\u039f\\u03ba\\u03c4\\u03ce\\u03b2\\u03c1\\u03b9\\u03bf\\u03c2_\\u039d\\u03bf\\u03ad\\u03bc\\u03b2\\u03c1\\u03b9\\u03bf\\u03c2_\\u0394\\u03b5\\u03ba\\u03ad\\u03bc\\u03b2\\u03c1\\u03b9\\u03bf\\u03c2\".split(\"_\"),monthsGenitiveEl:\"\\u0399\\u03b1\\u03bd\\u03bf\\u03c5\\u03b1\\u03c1\\u03af\\u03bf\\u03c5_\\u03a6\\u03b5\\u03b2\\u03c1\\u03bf\\u03c5\\u03b1\\u03c1\\u03af\\u03bf\\u03c5_\\u039c\\u03b1\\u03c1\\u03c4\\u03af\\u03bf\\u03c5_\\u0391\\u03c0\\u03c1\\u03b9\\u03bb\\u03af\\u03bf\\u03c5_\\u039c\\u03b1\\u0390\\u03bf\\u03c5_\\u0399\\u03bf\\u03c5\\u03bd\\u03af\\u03bf\\u03c5_\\u0399\\u03bf\\u03c5\\u03bb\\u03af\\u03bf\\u03c5_\\u0391\\u03c5\\u03b3\\u03bf\\u03cd\\u03c3\\u03c4\\u03bf\\u03c5_\\u03a3\\u03b5\\u03c0\\u03c4\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5_\\u039f\\u03ba\\u03c4\\u03c9\\u03b2\\u03c1\\u03af\\u03bf\\u03c5_\\u039d\\u03bf\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5_\\u0394\\u03b5\\u03ba\\u03b5\\u03bc\\u03b2\\u03c1\\u03af\\u03bf\\u03c5\".split(\"_\"),months:function(e,a){return e?(\"string\"==typeof a&&/D/.test(a.substring(0,a.indexOf(\"MMMM\")))?this._monthsGenitiveEl:this._monthsNominativeEl)[e.month()]:this._monthsNominativeEl},monthsShort:\"\\u0399\\u03b1\\u03bd_\\u03a6\\u03b5\\u03b2_\\u039c\\u03b1\\u03c1_\\u0391\\u03c0\\u03c1_\\u039c\\u03b1\\u03ca_\\u0399\\u03bf\\u03c5\\u03bd_\\u0399\\u03bf\\u03c5\\u03bb_\\u0391\\u03c5\\u03b3_\\u03a3\\u03b5\\u03c0_\\u039f\\u03ba\\u03c4_\\u039d\\u03bf\\u03b5_\\u0394\\u03b5\\u03ba\".split(\"_\"),weekdays:\"\\u039a\\u03c5\\u03c1\\u03b9\\u03b1\\u03ba\\u03ae_\\u0394\\u03b5\\u03c5\\u03c4\\u03ad\\u03c1\\u03b1_\\u03a4\\u03c1\\u03af\\u03c4\\u03b7_\\u03a4\\u03b5\\u03c4\\u03ac\\u03c1\\u03c4\\u03b7_\\u03a0\\u03ad\\u03bc\\u03c0\\u03c4\\u03b7_\\u03a0\\u03b1\\u03c1\\u03b1\\u03c3\\u03ba\\u03b5\\u03c5\\u03ae_\\u03a3\\u03ac\\u03b2\\u03b2\\u03b1\\u03c4\\u03bf\".split(\"_\"),weekdaysShort:\"\\u039a\\u03c5\\u03c1_\\u0394\\u03b5\\u03c5_\\u03a4\\u03c1\\u03b9_\\u03a4\\u03b5\\u03c4_\\u03a0\\u03b5\\u03bc_\\u03a0\\u03b1\\u03c1_\\u03a3\\u03b1\\u03b2\".split(\"_\"),weekdaysMin:\"\\u039a\\u03c5_\\u0394\\u03b5_\\u03a4\\u03c1_\\u03a4\\u03b5_\\u03a0\\u03b5_\\u03a0\\u03b1_\\u03a3\\u03b1\".split(\"_\"),meridiem:function(e,a,t){return 11<e?t?\"\\u03bc\\u03bc\":\"\\u039c\\u039c\":t?\"\\u03c0\\u03bc\":\"\\u03a0\\u039c\"},isPM:function(e){return\"\\u03bc\"===(e+\"\").toLowerCase()[0]},meridiemParse:/[\\u03a0\\u039c]\\.?\\u039c?\\.?/i,longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY h:mm A\",LLLL:\"dddd, D MMMM YYYY h:mm A\"},calendarEl:{sameDay:\"[\\u03a3\\u03ae\\u03bc\\u03b5\\u03c1\\u03b1 {}] LT\",nextDay:\"[\\u0391\\u03cd\\u03c1\\u03b9\\u03bf {}] LT\",nextWeek:\"dddd [{}] LT\",lastDay:\"[\\u03a7\\u03b8\\u03b5\\u03c2 {}] LT\",lastWeek:function(){switch(this.day()){case 6:return\"[\\u03c4\\u03bf \\u03c0\\u03c1\\u03bf\\u03b7\\u03b3\\u03bf\\u03cd\\u03bc\\u03b5\\u03bd\\u03bf] dddd [{}] LT\";default:return\"[\\u03c4\\u03b7\\u03bd \\u03c0\\u03c1\\u03bf\\u03b7\\u03b3\\u03bf\\u03cd\\u03bc\\u03b5\\u03bd\\u03b7] dddd [{}] LT\"}},sameElse:\"L\"},calendar:function(e,a){var t,e=this._calendarEl[e],s=a&&a.hours();return t=e,(e=\"undefined\"!=typeof Function&&t instanceof Function||\"[object Function]\"===Object.prototype.toString.call(t)?e.apply(a):e).replace(\"{}\",s%12==1?\"\\u03c3\\u03c4\\u03b7\":\"\\u03c3\\u03c4\\u03b9\\u03c2\")},relativeTime:{future:\"\\u03c3\\u03b5 %s\",past:\"%s \\u03c0\\u03c1\\u03b9\\u03bd\",s:\"\\u03bb\\u03af\\u03b3\\u03b1 \\u03b4\\u03b5\\u03c5\\u03c4\\u03b5\\u03c1\\u03cc\\u03bb\\u03b5\\u03c0\\u03c4\\u03b1\",ss:\"%d \\u03b4\\u03b5\\u03c5\\u03c4\\u03b5\\u03c1\\u03cc\\u03bb\\u03b5\\u03c0\\u03c4\\u03b1\",m:\"\\u03ad\\u03bd\\u03b1 \\u03bb\\u03b5\\u03c0\\u03c4\\u03cc\",mm:\"%d \\u03bb\\u03b5\\u03c0\\u03c4\\u03ac\",h:\"\\u03bc\\u03af\\u03b1 \\u03ce\\u03c1\\u03b1\",hh:\"%d \\u03ce\\u03c1\\u03b5\\u03c2\",d:\"\\u03bc\\u03af\\u03b1 \\u03bc\\u03ad\\u03c1\\u03b1\",dd:\"%d \\u03bc\\u03ad\\u03c1\\u03b5\\u03c2\",M:\"\\u03ad\\u03bd\\u03b1\\u03c2 \\u03bc\\u03ae\\u03bd\\u03b1\\u03c2\",MM:\"%d \\u03bc\\u03ae\\u03bd\\u03b5\\u03c2\",y:\"\\u03ad\\u03bd\\u03b1\\u03c2 \\u03c7\\u03c1\\u03cc\\u03bd\\u03bf\\u03c2\",yy:\"%d \\u03c7\\u03c1\\u03cc\\u03bd\\u03b9\\u03b1\"},dayOfMonthOrdinalParse:/\\d{1,2}\\u03b7/,ordinal:\"%d\\u03b7\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"en-au\",{months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),weekdaysShort:\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),weekdaysMin:\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY h:mm A\",LLLL:\"dddd, D MMMM YYYY h:mm A\"},calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")},week:{dow:0,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"en-ca\",{months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),weekdaysShort:\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),weekdaysMin:\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"YYYY-MM-DD\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")}}),\n//! moment.js locale configuration\nL.defineLocale(\"en-gb\",{months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),weekdaysShort:\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),weekdaysMin:\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"en-ie\",{months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),weekdaysShort:\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),weekdaysMin:\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"en-il\",{months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),weekdaysShort:\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),weekdaysMin:\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")}}),\n//! moment.js locale configuration\nL.defineLocale(\"en-in\",{months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),weekdaysShort:\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),weekdaysMin:\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY h:mm A\",LLLL:\"dddd, D MMMM YYYY h:mm A\"},calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")},week:{dow:0,doy:6}}),\n//! moment.js locale configuration\nL.defineLocale(\"en-nz\",{months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),weekdaysShort:\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),weekdaysMin:\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY h:mm A\",LLLL:\"dddd, D MMMM YYYY h:mm A\"},calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"en-sg\",{months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),weekdaysShort:\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),weekdaysMin:\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"eo\",{months:\"januaro_februaro_marto_aprilo_majo_junio_julio_a\\u016dgusto_septembro_oktobro_novembro_decembro\".split(\"_\"),monthsShort:\"jan_feb_mart_apr_maj_jun_jul_a\\u016dg_sept_okt_nov_dec\".split(\"_\"),weekdays:\"diman\\u0109o_lundo_mardo_merkredo_\\u0135a\\u016ddo_vendredo_sabato\".split(\"_\"),weekdaysShort:\"dim_lun_mard_merk_\\u0135a\\u016d_ven_sab\".split(\"_\"),weekdaysMin:\"di_lu_ma_me_\\u0135a_ve_sa\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY-MM-DD\",LL:\"[la] D[-an de] MMMM, YYYY\",LLL:\"[la] D[-an de] MMMM, YYYY HH:mm\",LLLL:\"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm\",llll:\"ddd, [la] D[-an de] MMM, YYYY HH:mm\"},meridiemParse:/[ap]\\.t\\.m/i,isPM:function(e){return\"p\"===e.charAt(0).toLowerCase()},meridiem:function(e,a,t){return 11<e?t?\"p.t.m.\":\"P.T.M.\":t?\"a.t.m.\":\"A.T.M.\"},calendar:{sameDay:\"[Hodia\\u016d je] LT\",nextDay:\"[Morga\\u016d je] LT\",nextWeek:\"dddd[n je] LT\",lastDay:\"[Hiera\\u016d je] LT\",lastWeek:\"[pasintan] dddd[n je] LT\",sameElse:\"L\"},relativeTime:{future:\"post %s\",past:\"anta\\u016d %s\",s:\"kelkaj sekundoj\",ss:\"%d sekundoj\",m:\"unu minuto\",mm:\"%d minutoj\",h:\"unu horo\",hh:\"%d horoj\",d:\"unu tago\",dd:\"%d tagoj\",M:\"unu monato\",MM:\"%d monatoj\",y:\"unu jaro\",yy:\"%d jaroj\"},dayOfMonthOrdinalParse:/\\d{1,2}a/,ordinal:\"%da\",week:{dow:1,doy:7}});\n//! moment.js locale configuration\nvar Ls=\"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.\".split(\"_\"),Ys=\"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic\".split(\"_\"),Ve=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Me=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,ys=(L.defineLocale(\"es-do\",{months:\"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre\".split(\"_\"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?Ys:Ls)[e.month()]:Ls},monthsRegex:Me,monthsShortRegex:Me,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,monthsParse:Ve,longMonthsParse:Ve,shortMonthsParse:Ve,weekdays:\"domingo_lunes_martes_mi\\xe9rcoles_jueves_viernes_s\\xe1bado\".split(\"_\"),weekdaysShort:\"dom._lun._mar._mi\\xe9._jue._vie._s\\xe1b.\".split(\"_\"),weekdaysMin:\"do_lu_ma_mi_ju_vi_s\\xe1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"DD/MM/YYYY\",LL:\"D [de] MMMM [de] YYYY\",LLL:\"D [de] MMMM [de] YYYY h:mm A\",LLLL:\"dddd, D [de] MMMM [de] YYYY h:mm A\"},calendar:{sameDay:function(){return\"[hoy a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},nextDay:function(){return\"[ma\\xf1ana a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},nextWeek:function(){return\"dddd [a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},lastDay:function(){return\"[ayer a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},lastWeek:function(){return\"[el] dddd [pasado a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},sameElse:\"L\"},relativeTime:{future:\"en %s\",past:\"hace %s\",s:\"unos segundos\",ss:\"%d segundos\",m:\"un minuto\",mm:\"%d minutos\",h:\"una hora\",hh:\"%d horas\",d:\"un d\\xeda\",dd:\"%d d\\xedas\",w:\"una semana\",ww:\"%d semanas\",M:\"un mes\",MM:\"%d meses\",y:\"un a\\xf1o\",yy:\"%d a\\xf1os\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:1,doy:4}}),\"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.\".split(\"_\")),fs=\"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic\".split(\"_\"),p=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,ps=(L.defineLocale(\"es-mx\",{months:\"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre\".split(\"_\"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?fs:ys)[e.month()]:ys},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,monthsParse:p,longMonthsParse:p,shortMonthsParse:p,weekdays:\"domingo_lunes_martes_mi\\xe9rcoles_jueves_viernes_s\\xe1bado\".split(\"_\"),weekdaysShort:\"dom._lun._mar._mi\\xe9._jue._vie._s\\xe1b.\".split(\"_\"),weekdaysMin:\"do_lu_ma_mi_ju_vi_s\\xe1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D [de] MMMM [de] YYYY\",LLL:\"D [de] MMMM [de] YYYY H:mm\",LLLL:\"dddd, D [de] MMMM [de] YYYY H:mm\"},calendar:{sameDay:function(){return\"[hoy a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},nextDay:function(){return\"[ma\\xf1ana a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},nextWeek:function(){return\"dddd [a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},lastDay:function(){return\"[ayer a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},lastWeek:function(){return\"[el] dddd [pasado a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},sameElse:\"L\"},relativeTime:{future:\"en %s\",past:\"hace %s\",s:\"unos segundos\",ss:\"%d segundos\",m:\"un minuto\",mm:\"%d minutos\",h:\"una hora\",hh:\"%d horas\",d:\"un d\\xeda\",dd:\"%d d\\xedas\",w:\"una semana\",ww:\"%d semanas\",M:\"un mes\",MM:\"%d meses\",y:\"un a\\xf1o\",yy:\"%d a\\xf1os\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:0,doy:4},invalidDate:\"Fecha inv\\xe1lida\"}),\"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.\".split(\"_\")),ks=\"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic\".split(\"_\"),t=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],M=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,Ds=(L.defineLocale(\"es-us\",{months:\"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre\".split(\"_\"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?ks:ps)[e.month()]:ps},monthsRegex:M,monthsShortRegex:M,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:\"domingo_lunes_martes_mi\\xe9rcoles_jueves_viernes_s\\xe1bado\".split(\"_\"),weekdaysShort:\"dom._lun._mar._mi\\xe9._jue._vie._s\\xe1b.\".split(\"_\"),weekdaysMin:\"do_lu_ma_mi_ju_vi_s\\xe1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"MM/DD/YYYY\",LL:\"D [de] MMMM [de] YYYY\",LLL:\"D [de] MMMM [de] YYYY h:mm A\",LLLL:\"dddd, D [de] MMMM [de] YYYY h:mm A\"},calendar:{sameDay:function(){return\"[hoy a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},nextDay:function(){return\"[ma\\xf1ana a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},nextWeek:function(){return\"dddd [a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},lastDay:function(){return\"[ayer a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},lastWeek:function(){return\"[el] dddd [pasado a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},sameElse:\"L\"},relativeTime:{future:\"en %s\",past:\"hace %s\",s:\"unos segundos\",ss:\"%d segundos\",m:\"un minuto\",mm:\"%d minutos\",h:\"una hora\",hh:\"%d horas\",d:\"un d\\xeda\",dd:\"%d d\\xedas\",w:\"una semana\",ww:\"%d semanas\",M:\"un mes\",MM:\"%d meses\",y:\"un a\\xf1o\",yy:\"%d a\\xf1os\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:0,doy:6}}),\"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.\".split(\"_\")),gs=\"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic\".split(\"_\"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],We=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n//! moment.js locale configuration\nfunction Ts(e,a,t,s){e={s:[\"m\\xf5ne sekundi\",\"m\\xf5ni sekund\",\"paar sekundit\"],ss:[e+\"sekundi\",e+\"sekundit\"],m:[\"\\xfche minuti\",\"\\xfcks minut\"],mm:[e+\" minuti\",e+\" minutit\"],h:[\"\\xfche tunni\",\"tund aega\",\"\\xfcks tund\"],hh:[e+\" tunni\",e+\" tundi\"],d:[\"\\xfche p\\xe4eva\",\"\\xfcks p\\xe4ev\"],M:[\"kuu aja\",\"kuu aega\",\"\\xfcks kuu\"],MM:[e+\" kuu\",e+\" kuud\"],y:[\"\\xfche aasta\",\"aasta\",\"\\xfcks aasta\"],yy:[e+\" aasta\",e+\" aastat\"]};return a?e[t][2]||e[t][1]:s?e[t][0]:e[t][1]}L.defineLocale(\"es\",{months:\"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre\".split(\"_\"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?gs:Ds)[e.month()]:Ds},monthsRegex:We,monthsShortRegex:We,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:\"domingo_lunes_martes_mi\\xe9rcoles_jueves_viernes_s\\xe1bado\".split(\"_\"),weekdaysShort:\"dom._lun._mar._mi\\xe9._jue._vie._s\\xe1b.\".split(\"_\"),weekdaysMin:\"do_lu_ma_mi_ju_vi_s\\xe1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D [de] MMMM [de] YYYY\",LLL:\"D [de] MMMM [de] YYYY H:mm\",LLLL:\"dddd, D [de] MMMM [de] YYYY H:mm\"},calendar:{sameDay:function(){return\"[hoy a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},nextDay:function(){return\"[ma\\xf1ana a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},nextWeek:function(){return\"dddd [a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},lastDay:function(){return\"[ayer a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},lastWeek:function(){return\"[el] dddd [pasado a la\"+(1!==this.hours()?\"s\":\"\")+\"] LT\"},sameElse:\"L\"},relativeTime:{future:\"en %s\",past:\"hace %s\",s:\"unos segundos\",ss:\"%d segundos\",m:\"un minuto\",mm:\"%d minutos\",h:\"una hora\",hh:\"%d horas\",d:\"un d\\xeda\",dd:\"%d d\\xedas\",w:\"una semana\",ww:\"%d semanas\",M:\"un mes\",MM:\"%d meses\",y:\"un a\\xf1o\",yy:\"%d a\\xf1os\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:1,doy:4},invalidDate:\"Fecha inv\\xe1lida\"}),L.defineLocale(\"et\",{months:\"jaanuar_veebruar_m\\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember\".split(\"_\"),monthsShort:\"jaan_veebr_m\\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets\".split(\"_\"),weekdays:\"p\\xfchap\\xe4ev_esmasp\\xe4ev_teisip\\xe4ev_kolmap\\xe4ev_neljap\\xe4ev_reede_laup\\xe4ev\".split(\"_\"),weekdaysShort:\"P_E_T_K_N_R_L\".split(\"_\"),weekdaysMin:\"P_E_T_K_N_R_L\".split(\"_\"),longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY H:mm\",LLLL:\"dddd, D. MMMM YYYY H:mm\"},calendar:{sameDay:\"[T\\xe4na,] LT\",nextDay:\"[Homme,] LT\",nextWeek:\"[J\\xe4rgmine] dddd LT\",lastDay:\"[Eile,] LT\",lastWeek:\"[Eelmine] dddd LT\",sameElse:\"L\"},relativeTime:{future:\"%s p\\xe4rast\",past:\"%s tagasi\",s:Ts,ss:Ts,m:Ts,mm:Ts,h:Ts,hh:Ts,d:Ts,dd:\"%d p\\xe4eva\",M:Ts,MM:Ts,y:Ts,yy:Ts},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"eu\",{months:\"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua\".split(\"_\"),monthsShort:\"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.\".split(\"_\"),monthsParseExact:!0,weekdays:\"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata\".split(\"_\"),weekdaysShort:\"ig._al._ar._az._og._ol._lr.\".split(\"_\"),weekdaysMin:\"ig_al_ar_az_og_ol_lr\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY-MM-DD\",LL:\"YYYY[ko] MMMM[ren] D[a]\",LLL:\"YYYY[ko] MMMM[ren] D[a] HH:mm\",LLLL:\"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm\",l:\"YYYY-M-D\",ll:\"YYYY[ko] MMM D[a]\",lll:\"YYYY[ko] MMM D[a] HH:mm\",llll:\"ddd, YYYY[ko] MMM D[a] HH:mm\"},calendar:{sameDay:\"[gaur] LT[etan]\",nextDay:\"[bihar] LT[etan]\",nextWeek:\"dddd LT[etan]\",lastDay:\"[atzo] LT[etan]\",lastWeek:\"[aurreko] dddd LT[etan]\",sameElse:\"L\"},relativeTime:{future:\"%s barru\",past:\"duela %s\",s:\"segundo batzuk\",ss:\"%d segundo\",m:\"minutu bat\",mm:\"%d minutu\",h:\"ordu bat\",hh:\"%d ordu\",d:\"egun bat\",dd:\"%d egun\",M:\"hilabete bat\",MM:\"%d hilabete\",y:\"urte bat\",yy:\"%d urte\"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:7}});\n//! moment.js locale configuration\nvar ws={1:\"\\u06f1\",2:\"\\u06f2\",3:\"\\u06f3\",4:\"\\u06f4\",5:\"\\u06f5\",6:\"\\u06f6\",7:\"\\u06f7\",8:\"\\u06f8\",9:\"\\u06f9\",0:\"\\u06f0\"},bs={\"\\u06f1\":\"1\",\"\\u06f2\":\"2\",\"\\u06f3\":\"3\",\"\\u06f4\":\"4\",\"\\u06f5\":\"5\",\"\\u06f6\":\"6\",\"\\u06f7\":\"7\",\"\\u06f8\":\"8\",\"\\u06f9\":\"9\",\"\\u06f0\":\"0\"},Ss=(L.defineLocale(\"fa\",{months:\"\\u0698\\u0627\\u0646\\u0648\\u06cc\\u0647_\\u0641\\u0648\\u0631\\u06cc\\u0647_\\u0645\\u0627\\u0631\\u0633_\\u0622\\u0648\\u0631\\u06cc\\u0644_\\u0645\\u0647_\\u0698\\u0648\\u0626\\u0646_\\u0698\\u0648\\u0626\\u06cc\\u0647_\\u0627\\u0648\\u062a_\\u0633\\u067e\\u062a\\u0627\\u0645\\u0628\\u0631_\\u0627\\u06a9\\u062a\\u0628\\u0631_\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631_\\u062f\\u0633\\u0627\\u0645\\u0628\\u0631\".split(\"_\"),monthsShort:\"\\u0698\\u0627\\u0646\\u0648\\u06cc\\u0647_\\u0641\\u0648\\u0631\\u06cc\\u0647_\\u0645\\u0627\\u0631\\u0633_\\u0622\\u0648\\u0631\\u06cc\\u0644_\\u0645\\u0647_\\u0698\\u0648\\u0626\\u0646_\\u0698\\u0648\\u0626\\u06cc\\u0647_\\u0627\\u0648\\u062a_\\u0633\\u067e\\u062a\\u0627\\u0645\\u0628\\u0631_\\u0627\\u06a9\\u062a\\u0628\\u0631_\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631_\\u062f\\u0633\\u0627\\u0645\\u0628\\u0631\".split(\"_\"),weekdays:\"\\u06cc\\u06a9\\u200c\\u0634\\u0646\\u0628\\u0647_\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647_\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647_\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647_\\u067e\\u0646\\u062c\\u200c\\u0634\\u0646\\u0628\\u0647_\\u062c\\u0645\\u0639\\u0647_\\u0634\\u0646\\u0628\\u0647\".split(\"_\"),weekdaysShort:\"\\u06cc\\u06a9\\u200c\\u0634\\u0646\\u0628\\u0647_\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647_\\u0633\\u0647\\u200c\\u0634\\u0646\\u0628\\u0647_\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647_\\u067e\\u0646\\u062c\\u200c\\u0634\\u0646\\u0628\\u0647_\\u062c\\u0645\\u0639\\u0647_\\u0634\\u0646\\u0628\\u0647\".split(\"_\"),weekdaysMin:\"\\u06cc_\\u062f_\\u0633_\\u0686_\\u067e_\\u062c_\\u0634\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},meridiemParse:/\\u0642\\u0628\\u0644 \\u0627\\u0632 \\u0638\\u0647\\u0631|\\u0628\\u0639\\u062f \\u0627\\u0632 \\u0638\\u0647\\u0631/,isPM:function(e){return/\\u0628\\u0639\\u062f \\u0627\\u0632 \\u0638\\u0647\\u0631/.test(e)},meridiem:function(e,a,t){return e<12?\"\\u0642\\u0628\\u0644 \\u0627\\u0632 \\u0638\\u0647\\u0631\":\"\\u0628\\u0639\\u062f \\u0627\\u0632 \\u0638\\u0647\\u0631\"},calendar:{sameDay:\"[\\u0627\\u0645\\u0631\\u0648\\u0632 \\u0633\\u0627\\u0639\\u062a] LT\",nextDay:\"[\\u0641\\u0631\\u062f\\u0627 \\u0633\\u0627\\u0639\\u062a] LT\",nextWeek:\"dddd [\\u0633\\u0627\\u0639\\u062a] LT\",lastDay:\"[\\u062f\\u06cc\\u0631\\u0648\\u0632 \\u0633\\u0627\\u0639\\u062a] LT\",lastWeek:\"dddd [\\u067e\\u06cc\\u0634] [\\u0633\\u0627\\u0639\\u062a] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u062f\\u0631 %s\",past:\"%s \\u067e\\u06cc\\u0634\",s:\"\\u0686\\u0646\\u062f \\u062b\\u0627\\u0646\\u06cc\\u0647\",ss:\"%d \\u062b\\u0627\\u0646\\u06cc\\u0647\",m:\"\\u06cc\\u06a9 \\u062f\\u0642\\u06cc\\u0642\\u0647\",mm:\"%d \\u062f\\u0642\\u06cc\\u0642\\u0647\",h:\"\\u06cc\\u06a9 \\u0633\\u0627\\u0639\\u062a\",hh:\"%d \\u0633\\u0627\\u0639\\u062a\",d:\"\\u06cc\\u06a9 \\u0631\\u0648\\u0632\",dd:\"%d \\u0631\\u0648\\u0632\",M:\"\\u06cc\\u06a9 \\u0645\\u0627\\u0647\",MM:\"%d \\u0645\\u0627\\u0647\",y:\"\\u06cc\\u06a9 \\u0633\\u0627\\u0644\",yy:\"%d \\u0633\\u0627\\u0644\"},preparse:function(e){return e.replace(/[\\u06f0-\\u06f9]/g,function(e){return bs[e]}).replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/\\d/g,function(e){return ws[e]}).replace(/,/g,\"\\u060c\")},dayOfMonthOrdinalParse:/\\d{1,2}\\u0645/,ordinal:\"%d\\u0645\",week:{dow:6,doy:12}}),\"nolla yksi kaksi kolme nelj\\xe4 viisi kuusi seitsem\\xe4n kahdeksan yhdeks\\xe4n\".split(\" \")),Hs=[\"nolla\",\"yhden\",\"kahden\",\"kolmen\",\"nelj\\xe4n\",\"viiden\",\"kuuden\",Ss[7],Ss[8],Ss[9]];function vs(e,a,t,s){var n=\"\";switch(t){case\"s\":return s?\"muutaman sekunnin\":\"muutama sekunti\";case\"ss\":n=s?\"sekunnin\":\"sekuntia\";break;case\"m\":return s?\"minuutin\":\"minuutti\";case\"mm\":n=s?\"minuutin\":\"minuuttia\";break;case\"h\":return s?\"tunnin\":\"tunti\";case\"hh\":n=s?\"tunnin\":\"tuntia\";break;case\"d\":return s?\"p\\xe4iv\\xe4n\":\"p\\xe4iv\\xe4\";case\"dd\":n=s?\"p\\xe4iv\\xe4n\":\"p\\xe4iv\\xe4\\xe4\";break;case\"M\":return s?\"kuukauden\":\"kuukausi\";case\"MM\":n=s?\"kuukauden\":\"kuukautta\";break;case\"y\":return s?\"vuoden\":\"vuosi\";case\"yy\":n=s?\"vuoden\":\"vuotta\";break}return t=s,n=((e=e)<10?(t?Hs:Ss)[e]:e)+\" \"+n}L.defineLocale(\"fi\",{months:\"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\\xe4kuu_hein\\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu\".split(\"_\"),monthsShort:\"tammi_helmi_maalis_huhti_touko_kes\\xe4_hein\\xe4_elo_syys_loka_marras_joulu\".split(\"_\"),weekdays:\"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai\".split(\"_\"),weekdaysShort:\"su_ma_ti_ke_to_pe_la\".split(\"_\"),weekdaysMin:\"su_ma_ti_ke_to_pe_la\".split(\"_\"),longDateFormat:{LT:\"HH.mm\",LTS:\"HH.mm.ss\",L:\"DD.MM.YYYY\",LL:\"Do MMMM[ta] YYYY\",LLL:\"Do MMMM[ta] YYYY, [klo] HH.mm\",LLLL:\"dddd, Do MMMM[ta] YYYY, [klo] HH.mm\",l:\"D.M.YYYY\",ll:\"Do MMM YYYY\",lll:\"Do MMM YYYY, [klo] HH.mm\",llll:\"ddd, Do MMM YYYY, [klo] HH.mm\"},calendar:{sameDay:\"[t\\xe4n\\xe4\\xe4n] [klo] LT\",nextDay:\"[huomenna] [klo] LT\",nextWeek:\"dddd [klo] LT\",lastDay:\"[eilen] [klo] LT\",lastWeek:\"[viime] dddd[na] [klo] LT\",sameElse:\"L\"},relativeTime:{future:\"%s p\\xe4\\xe4st\\xe4\",past:\"%s sitten\",s:vs,ss:vs,m:vs,mm:vs,h:vs,hh:vs,d:vs,dd:vs,M:vs,MM:vs,y:vs,yy:vs},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"fil\",{months:\"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre\".split(\"_\"),monthsShort:\"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis\".split(\"_\"),weekdays:\"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado\".split(\"_\"),weekdaysShort:\"Lin_Lun_Mar_Miy_Huw_Biy_Sab\".split(\"_\"),weekdaysMin:\"Li_Lu_Ma_Mi_Hu_Bi_Sab\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"MM/D/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY HH:mm\",LLLL:\"dddd, MMMM DD, YYYY HH:mm\"},calendar:{sameDay:\"LT [ngayong araw]\",nextDay:\"[Bukas ng] LT\",nextWeek:\"LT [sa susunod na] dddd\",lastDay:\"LT [kahapon]\",lastWeek:\"LT [noong nakaraang] dddd\",sameElse:\"L\"},relativeTime:{future:\"sa loob ng %s\",past:\"%s ang nakalipas\",s:\"ilang segundo\",ss:\"%d segundo\",m:\"isang minuto\",mm:\"%d minuto\",h:\"isang oras\",hh:\"%d oras\",d:\"isang araw\",dd:\"%d araw\",M:\"isang buwan\",MM:\"%d buwan\",y:\"isang taon\",yy:\"%d taon\"},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"fo\",{months:\"januar_februar_mars_apr\\xedl_mai_juni_juli_august_september_oktober_november_desember\".split(\"_\"),monthsShort:\"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des\".split(\"_\"),weekdays:\"sunnudagur_m\\xe1nadagur_t\\xfdsdagur_mikudagur_h\\xf3sdagur_fr\\xedggjadagur_leygardagur\".split(\"_\"),weekdaysShort:\"sun_m\\xe1n_t\\xfds_mik_h\\xf3s_fr\\xed_ley\".split(\"_\"),weekdaysMin:\"su_m\\xe1_t\\xfd_mi_h\\xf3_fr_le\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D. MMMM, YYYY HH:mm\"},calendar:{sameDay:\"[\\xcd dag kl.] LT\",nextDay:\"[\\xcd morgin kl.] LT\",nextWeek:\"dddd [kl.] LT\",lastDay:\"[\\xcd gj\\xe1r kl.] LT\",lastWeek:\"[s\\xed\\xf0stu] dddd [kl] LT\",sameElse:\"L\"},relativeTime:{future:\"um %s\",past:\"%s s\\xed\\xf0ani\",s:\"f\\xe1 sekund\",ss:\"%d sekundir\",m:\"ein minuttur\",mm:\"%d minuttir\",h:\"ein t\\xedmi\",hh:\"%d t\\xedmar\",d:\"ein dagur\",dd:\"%d dagar\",M:\"ein m\\xe1na\\xf0ur\",MM:\"%d m\\xe1na\\xf0ir\",y:\"eitt \\xe1r\",yy:\"%d \\xe1r\"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"fr-ca\",{months:\"janvier_f\\xe9vrier_mars_avril_mai_juin_juillet_ao\\xfbt_septembre_octobre_novembre_d\\xe9cembre\".split(\"_\"),monthsShort:\"janv._f\\xe9vr._mars_avr._mai_juin_juil._ao\\xfbt_sept._oct._nov._d\\xe9c.\".split(\"_\"),monthsParseExact:!0,weekdays:\"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi\".split(\"_\"),weekdaysShort:\"dim._lun._mar._mer._jeu._ven._sam.\".split(\"_\"),weekdaysMin:\"di_lu_ma_me_je_ve_sa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY-MM-DD\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Aujourd\\u2019hui \\xe0] LT\",nextDay:\"[Demain \\xe0] LT\",nextWeek:\"dddd [\\xe0] LT\",lastDay:\"[Hier \\xe0] LT\",lastWeek:\"dddd [dernier \\xe0] LT\",sameElse:\"L\"},relativeTime:{future:\"dans %s\",past:\"il y a %s\",s:\"quelques secondes\",ss:\"%d secondes\",m:\"une minute\",mm:\"%d minutes\",h:\"une heure\",hh:\"%d heures\",d:\"un jour\",dd:\"%d jours\",M:\"un mois\",MM:\"%d mois\",y:\"un an\",yy:\"%d ans\"},dayOfMonthOrdinalParse:/\\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case\"M\":case\"Q\":case\"D\":case\"DDD\":case\"d\":return e+(1===e?\"er\":\"e\");case\"w\":case\"W\":return e+(1===e?\"re\":\"e\")}}}),\n//! moment.js locale configuration\nL.defineLocale(\"fr-ch\",{months:\"janvier_f\\xe9vrier_mars_avril_mai_juin_juillet_ao\\xfbt_septembre_octobre_novembre_d\\xe9cembre\".split(\"_\"),monthsShort:\"janv._f\\xe9vr._mars_avr._mai_juin_juil._ao\\xfbt_sept._oct._nov._d\\xe9c.\".split(\"_\"),monthsParseExact:!0,weekdays:\"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi\".split(\"_\"),weekdaysShort:\"dim._lun._mar._mer._jeu._ven._sam.\".split(\"_\"),weekdaysMin:\"di_lu_ma_me_je_ve_sa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Aujourd\\u2019hui \\xe0] LT\",nextDay:\"[Demain \\xe0] LT\",nextWeek:\"dddd [\\xe0] LT\",lastDay:\"[Hier \\xe0] LT\",lastWeek:\"dddd [dernier \\xe0] LT\",sameElse:\"L\"},relativeTime:{future:\"dans %s\",past:\"il y a %s\",s:\"quelques secondes\",ss:\"%d secondes\",m:\"une minute\",mm:\"%d minutes\",h:\"une heure\",hh:\"%d heures\",d:\"un jour\",dd:\"%d jours\",M:\"un mois\",MM:\"%d mois\",y:\"un an\",yy:\"%d ans\"},dayOfMonthOrdinalParse:/\\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case\"M\":case\"Q\":case\"D\":case\"DDD\":case\"d\":return e+(1===e?\"er\":\"e\");case\"w\":case\"W\":return e+(1===e?\"re\":\"e\")}},week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar n=/(janv\\.?|f\\xe9vr\\.?|mars|avr\\.?|mai|juin|juil\\.?|ao\\xfbt|sept\\.?|oct\\.?|nov\\.?|d\\xe9c\\.?|janvier|f\\xe9vrier|mars|avril|mai|juin|juillet|ao\\xfbt|septembre|octobre|novembre|d\\xe9cembre)/i,m=[/^janv/i,/^f\\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\\xe9c/i],js=(L.defineLocale(\"fr\",{months:\"janvier_f\\xe9vrier_mars_avril_mai_juin_juillet_ao\\xfbt_septembre_octobre_novembre_d\\xe9cembre\".split(\"_\"),monthsShort:\"janv._f\\xe9vr._mars_avr._mai_juin_juil._ao\\xfbt_sept._oct._nov._d\\xe9c.\".split(\"_\"),monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(janvier|f\\xe9vrier|mars|avril|mai|juin|juillet|ao\\xfbt|septembre|octobre|novembre|d\\xe9cembre)/i,monthsShortStrictRegex:/(janv\\.?|f\\xe9vr\\.?|mars|avr\\.?|mai|juin|juil\\.?|ao\\xfbt|sept\\.?|oct\\.?|nov\\.?|d\\xe9c\\.?)/i,monthsParse:m,longMonthsParse:m,shortMonthsParse:m,weekdays:\"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi\".split(\"_\"),weekdaysShort:\"dim._lun._mar._mer._jeu._ven._sam.\".split(\"_\"),weekdaysMin:\"di_lu_ma_me_je_ve_sa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Aujourd\\u2019hui \\xe0] LT\",nextDay:\"[Demain \\xe0] LT\",nextWeek:\"dddd [\\xe0] LT\",lastDay:\"[Hier \\xe0] LT\",lastWeek:\"dddd [dernier \\xe0] LT\",sameElse:\"L\"},relativeTime:{future:\"dans %s\",past:\"il y a %s\",s:\"quelques secondes\",ss:\"%d secondes\",m:\"une minute\",mm:\"%d minutes\",h:\"une heure\",hh:\"%d heures\",d:\"un jour\",dd:\"%d jours\",w:\"une semaine\",ww:\"%d semaines\",M:\"un mois\",MM:\"%d mois\",y:\"un an\",yy:\"%d ans\"},dayOfMonthOrdinalParse:/\\d{1,2}(er|)/,ordinal:function(e,a){switch(a){case\"D\":return e+(1===e?\"er\":\"\");default:case\"M\":case\"Q\":case\"DDD\":case\"d\":return e+(1===e?\"er\":\"e\");case\"w\":case\"W\":return e+(1===e?\"re\":\"e\")}},week:{dow:1,doy:4}}),\"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.\".split(\"_\")),xs=\"jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des\".split(\"_\");L.defineLocale(\"fy\",{months:\"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber\".split(\"_\"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?xs:js)[e.month()]:js},monthsParseExact:!0,weekdays:\"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon\".split(\"_\"),weekdaysShort:\"si._mo._ti._wo._to._fr._so.\".split(\"_\"),weekdaysMin:\"Si_Mo_Ti_Wo_To_Fr_So\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD-MM-YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[hjoed om] LT\",nextDay:\"[moarn om] LT\",nextWeek:\"dddd [om] LT\",lastDay:\"[juster om] LT\",lastWeek:\"[\\xf4fr\\xfbne] dddd [om] LT\",sameElse:\"L\"},relativeTime:{future:\"oer %s\",past:\"%s lyn\",s:\"in pear sekonden\",ss:\"%d sekonden\",m:\"ien min\\xfat\",mm:\"%d minuten\",h:\"ien oere\",hh:\"%d oeren\",d:\"ien dei\",dd:\"%d dagen\",M:\"ien moanne\",MM:\"%d moannen\",y:\"ien jier\",yy:\"%d jierren\"},dayOfMonthOrdinalParse:/\\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?\"ste\":\"de\")},week:{dow:1,doy:4}}),L.defineLocale(\"ga\",{months:[\"Ean\\xe1ir\",\"Feabhra\",\"M\\xe1rta\",\"Aibre\\xe1n\",\"Bealtaine\",\"Meitheamh\",\"I\\xfail\",\"L\\xfanasa\",\"Me\\xe1n F\\xf3mhair\",\"Deireadh F\\xf3mhair\",\"Samhain\",\"Nollaig\"],monthsShort:[\"Ean\",\"Feabh\",\"M\\xe1rt\",\"Aib\",\"Beal\",\"Meith\",\"I\\xfail\",\"L\\xfan\",\"M.F.\",\"D.F.\",\"Samh\",\"Noll\"],monthsParseExact:!0,weekdays:[\"D\\xe9 Domhnaigh\",\"D\\xe9 Luain\",\"D\\xe9 M\\xe1irt\",\"D\\xe9 C\\xe9adaoin\",\"D\\xe9ardaoin\",\"D\\xe9 hAoine\",\"D\\xe9 Sathairn\"],weekdaysShort:[\"Domh\",\"Luan\",\"M\\xe1irt\",\"C\\xe9ad\",\"D\\xe9ar\",\"Aoine\",\"Sath\"],weekdaysMin:[\"Do\",\"Lu\",\"M\\xe1\",\"C\\xe9\",\"D\\xe9\",\"A\",\"Sa\"],longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Inniu ag] LT\",nextDay:\"[Am\\xe1rach ag] LT\",nextWeek:\"dddd [ag] LT\",lastDay:\"[Inn\\xe9 ag] LT\",lastWeek:\"dddd [seo caite] [ag] LT\",sameElse:\"L\"},relativeTime:{future:\"i %s\",past:\"%s \\xf3 shin\",s:\"c\\xfapla soicind\",ss:\"%d soicind\",m:\"n\\xf3im\\xe9ad\",mm:\"%d n\\xf3im\\xe9ad\",h:\"uair an chloig\",hh:\"%d uair an chloig\",d:\"l\\xe1\",dd:\"%d l\\xe1\",M:\"m\\xed\",MM:\"%d m\\xedonna\",y:\"bliain\",yy:\"%d bliain\"},dayOfMonthOrdinalParse:/\\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?\"d\":e%10==2?\"na\":\"mh\")},week:{dow:1,doy:4}});\n//! moment.js locale configuration\nfunction Ps(e,a,t,s){e={s:[\"\\u0925\\u094b\\u0921\\u092f\\u093e \\u0938\\u0945\\u0915\\u0902\\u0921\\u093e\\u0902\\u0928\\u0940\",\"\\u0925\\u094b\\u0921\\u0947 \\u0938\\u0945\\u0915\\u0902\\u0921\"],ss:[e+\" \\u0938\\u0945\\u0915\\u0902\\u0921\\u093e\\u0902\\u0928\\u0940\",e+\" \\u0938\\u0945\\u0915\\u0902\\u0921\"],m:[\"\\u090f\\u0915\\u093e \\u092e\\u093f\\u0923\\u091f\\u093e\\u0928\",\"\\u090f\\u0915 \\u092e\\u093f\\u0928\\u0942\\u091f\"],mm:[e+\" \\u092e\\u093f\\u0923\\u091f\\u093e\\u0902\\u0928\\u0940\",e+\" \\u092e\\u093f\\u0923\\u091f\\u093e\\u0902\"],h:[\"\\u090f\\u0915\\u093e \\u0935\\u0930\\u093e\\u0928\",\"\\u090f\\u0915 \\u0935\\u0930\"],hh:[e+\" \\u0935\\u0930\\u093e\\u0902\\u0928\\u0940\",e+\" \\u0935\\u0930\\u093e\\u0902\"],d:[\"\\u090f\\u0915\\u093e \\u0926\\u093f\\u0938\\u093e\\u0928\",\"\\u090f\\u0915 \\u0926\\u0940\\u0938\"],dd:[e+\" \\u0926\\u093f\\u0938\\u093e\\u0902\\u0928\\u0940\",e+\" \\u0926\\u0940\\u0938\"],M:[\"\\u090f\\u0915\\u093e \\u092e\\u094d\\u0939\\u092f\\u0928\\u094d\\u092f\\u093e\\u0928\",\"\\u090f\\u0915 \\u092e\\u094d\\u0939\\u092f\\u0928\\u094b\"],MM:[e+\" \\u092e\\u094d\\u0939\\u092f\\u0928\\u094d\\u092f\\u093e\\u0928\\u0940\",e+\" \\u092e\\u094d\\u0939\\u092f\\u0928\\u0947\"],y:[\"\\u090f\\u0915\\u093e \\u0935\\u0930\\u094d\\u0938\\u093e\\u0928\",\"\\u090f\\u0915 \\u0935\\u0930\\u094d\\u0938\"],yy:[e+\" \\u0935\\u0930\\u094d\\u0938\\u093e\\u0902\\u0928\\u0940\",e+\" \\u0935\\u0930\\u094d\\u0938\\u093e\\u0902\"]};return s?e[t][0]:e[t][1]}\n//! moment.js locale configuration\nfunction Os(e,a,t,s){e={s:[\"thoddea sekondamni\",\"thodde sekond\"],ss:[e+\" sekondamni\",e+\" sekond\"],m:[\"eka mintan\",\"ek minut\"],mm:[e+\" mintamni\",e+\" mintam\"],h:[\"eka voran\",\"ek vor\"],hh:[e+\" voramni\",e+\" voram\"],d:[\"eka disan\",\"ek dis\"],dd:[e+\" disamni\",e+\" dis\"],M:[\"eka mhoinean\",\"ek mhoino\"],MM:[e+\" mhoineamni\",e+\" mhoine\"],y:[\"eka vorsan\",\"ek voros\"],yy:[e+\" vorsamni\",e+\" vorsam\"]};return s?e[t][0]:e[t][1]}L.defineLocale(\"gd\",{months:[\"Am Faoilleach\",\"An Gearran\",\"Am M\\xe0rt\",\"An Giblean\",\"An C\\xe8itean\",\"An t-\\xd2gmhios\",\"An t-Iuchar\",\"An L\\xf9nastal\",\"An t-Sultain\",\"An D\\xe0mhair\",\"An t-Samhain\",\"An D\\xf9bhlachd\"],monthsShort:[\"Faoi\",\"Gear\",\"M\\xe0rt\",\"Gibl\",\"C\\xe8it\",\"\\xd2gmh\",\"Iuch\",\"L\\xf9n\",\"Sult\",\"D\\xe0mh\",\"Samh\",\"D\\xf9bh\"],monthsParseExact:!0,weekdays:[\"Did\\xf2mhnaich\",\"Diluain\",\"Dim\\xe0irt\",\"Diciadain\",\"Diardaoin\",\"Dihaoine\",\"Disathairne\"],weekdaysShort:[\"Did\",\"Dil\",\"Dim\",\"Dic\",\"Dia\",\"Dih\",\"Dis\"],weekdaysMin:[\"D\\xf2\",\"Lu\",\"M\\xe0\",\"Ci\",\"Ar\",\"Ha\",\"Sa\"],longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[An-diugh aig] LT\",nextDay:\"[A-m\\xe0ireach aig] LT\",nextWeek:\"dddd [aig] LT\",lastDay:\"[An-d\\xe8 aig] LT\",lastWeek:\"dddd [seo chaidh] [aig] LT\",sameElse:\"L\"},relativeTime:{future:\"ann an %s\",past:\"bho chionn %s\",s:\"beagan diogan\",ss:\"%d diogan\",m:\"mionaid\",mm:\"%d mionaidean\",h:\"uair\",hh:\"%d uairean\",d:\"latha\",dd:\"%d latha\",M:\"m\\xecos\",MM:\"%d m\\xecosan\",y:\"bliadhna\",yy:\"%d bliadhna\"},dayOfMonthOrdinalParse:/\\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?\"d\":e%10==2?\"na\":\"mh\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"gl\",{months:\"xaneiro_febreiro_marzo_abril_maio_xu\\xf1o_xullo_agosto_setembro_outubro_novembro_decembro\".split(\"_\"),monthsShort:\"xan._feb._mar._abr._mai._xu\\xf1._xul._ago._set._out._nov._dec.\".split(\"_\"),monthsParseExact:!0,weekdays:\"domingo_luns_martes_m\\xe9rcores_xoves_venres_s\\xe1bado\".split(\"_\"),weekdaysShort:\"dom._lun._mar._m\\xe9r._xov._ven._s\\xe1b.\".split(\"_\"),weekdaysMin:\"do_lu_ma_m\\xe9_xo_ve_s\\xe1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D [de] MMMM [de] YYYY\",LLL:\"D [de] MMMM [de] YYYY H:mm\",LLLL:\"dddd, D [de] MMMM [de] YYYY H:mm\"},calendar:{sameDay:function(){return\"[hoxe \"+(1!==this.hours()?\"\\xe1s\":\"\\xe1\")+\"] LT\"},nextDay:function(){return\"[ma\\xf1\\xe1 \"+(1!==this.hours()?\"\\xe1s\":\"\\xe1\")+\"] LT\"},nextWeek:function(){return\"dddd [\"+(1!==this.hours()?\"\\xe1s\":\"a\")+\"] LT\"},lastDay:function(){return\"[onte \"+(1!==this.hours()?\"\\xe1\":\"a\")+\"] LT\"},lastWeek:function(){return\"[o] dddd [pasado \"+(1!==this.hours()?\"\\xe1s\":\"a\")+\"] LT\"},sameElse:\"L\"},relativeTime:{future:function(e){return 0===e.indexOf(\"un\")?\"n\"+e:\"en \"+e},past:\"hai %s\",s:\"uns segundos\",ss:\"%d segundos\",m:\"un minuto\",mm:\"%d minutos\",h:\"unha hora\",hh:\"%d horas\",d:\"un d\\xeda\",dd:\"%d d\\xedas\",M:\"un mes\",MM:\"%d meses\",y:\"un ano\",yy:\"%d anos\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:1,doy:4}}),L.defineLocale(\"gom-deva\",{months:{standalone:\"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940_\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940_\\u092e\\u093e\\u0930\\u094d\\u091a_\\u090f\\u092a\\u094d\\u0930\\u0940\\u0932_\\u092e\\u0947_\\u091c\\u0942\\u0928_\\u091c\\u0941\\u0932\\u092f_\\u0911\\u0917\\u0938\\u094d\\u091f_\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930_\\u0911\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930_\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930_\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\".split(\"_\"),format:\"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940\\u091a\\u094d\\u092f\\u093e_\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940\\u091a\\u094d\\u092f\\u093e_\\u092e\\u093e\\u0930\\u094d\\u091a\\u093e\\u091a\\u094d\\u092f\\u093e_\\u090f\\u092a\\u094d\\u0930\\u0940\\u0932\\u093e\\u091a\\u094d\\u092f\\u093e_\\u092e\\u0947\\u092f\\u093e\\u091a\\u094d\\u092f\\u093e_\\u091c\\u0942\\u0928\\u093e\\u091a\\u094d\\u092f\\u093e_\\u091c\\u0941\\u0932\\u092f\\u093e\\u091a\\u094d\\u092f\\u093e_\\u0911\\u0917\\u0938\\u094d\\u091f\\u093e\\u091a\\u094d\\u092f\\u093e_\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930\\u093e\\u091a\\u094d\\u092f\\u093e_\\u0911\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930\\u093e\\u091a\\u094d\\u092f\\u093e_\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930\\u093e\\u091a\\u094d\\u092f\\u093e_\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\\u093e\\u091a\\u094d\\u092f\\u093e\".split(\"_\"),isFormat:/MMMM(\\s)+D[oD]?/},monthsShort:\"\\u091c\\u093e\\u0928\\u0947._\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941._\\u092e\\u093e\\u0930\\u094d\\u091a_\\u090f\\u092a\\u094d\\u0930\\u0940._\\u092e\\u0947_\\u091c\\u0942\\u0928_\\u091c\\u0941\\u0932._\\u0911\\u0917._\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902._\\u0911\\u0915\\u094d\\u091f\\u094b._\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902._\\u0921\\u093f\\u0938\\u0947\\u0902.\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u0906\\u092f\\u0924\\u093e\\u0930_\\u0938\\u094b\\u092e\\u093e\\u0930_\\u092e\\u0902\\u0917\\u0933\\u093e\\u0930_\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930_\\u092c\\u093f\\u0930\\u0947\\u0938\\u094d\\u0924\\u093e\\u0930_\\u0938\\u0941\\u0915\\u094d\\u0930\\u093e\\u0930_\\u0936\\u0947\\u0928\\u0935\\u093e\\u0930\".split(\"_\"),weekdaysShort:\"\\u0906\\u092f\\u0924._\\u0938\\u094b\\u092e._\\u092e\\u0902\\u0917\\u0933._\\u092c\\u0941\\u0927._\\u092c\\u094d\\u0930\\u0947\\u0938\\u094d\\u0924._\\u0938\\u0941\\u0915\\u094d\\u0930._\\u0936\\u0947\\u0928.\".split(\"_\"),weekdaysMin:\"\\u0906_\\u0938\\u094b_\\u092e\\u0902_\\u092c\\u0941_\\u092c\\u094d\\u0930\\u0947_\\u0938\\u0941_\\u0936\\u0947\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"A h:mm [\\u0935\\u093e\\u091c\\u0924\\u093e\\u0902]\",LTS:\"A h:mm:ss [\\u0935\\u093e\\u091c\\u0924\\u093e\\u0902]\",L:\"DD-MM-YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY A h:mm [\\u0935\\u093e\\u091c\\u0924\\u093e\\u0902]\",LLLL:\"dddd, MMMM Do, YYYY, A h:mm [\\u0935\\u093e\\u091c\\u0924\\u093e\\u0902]\",llll:\"ddd, D MMM YYYY, A h:mm [\\u0935\\u093e\\u091c\\u0924\\u093e\\u0902]\"},calendar:{sameDay:\"[\\u0906\\u092f\\u091c] LT\",nextDay:\"[\\u092b\\u093e\\u0932\\u094d\\u092f\\u093e\\u0902] LT\",nextWeek:\"[\\u092b\\u0941\\u0921\\u0932\\u094b] dddd[,] LT\",lastDay:\"[\\u0915\\u093e\\u0932] LT\",lastWeek:\"[\\u092b\\u093e\\u091f\\u0932\\u094b] dddd[,] LT\",sameElse:\"L\"},relativeTime:{future:\"%s\",past:\"%s \\u0906\\u0926\\u0940\\u0902\",s:Ps,ss:Ps,m:Ps,mm:Ps,h:Ps,hh:Ps,d:Ps,dd:Ps,M:Ps,MM:Ps,y:Ps,yy:Ps},dayOfMonthOrdinalParse:/\\d{1,2}(\\u0935\\u0947\\u0930)/,ordinal:function(e,a){switch(a){case\"D\":return e+\"\\u0935\\u0947\\u0930\";default:case\"M\":case\"Q\":case\"DDD\":case\"d\":case\"w\":case\"W\":return e}},week:{dow:0,doy:3},meridiemParse:/\\u0930\\u093e\\u0924\\u0940|\\u0938\\u0915\\u093e\\u0933\\u0940\\u0902|\\u0926\\u0928\\u092a\\u093e\\u0930\\u093e\\u0902|\\u0938\\u093e\\u0902\\u091c\\u0947/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0930\\u093e\\u0924\\u0940\"===a?e<4?e:e+12:\"\\u0938\\u0915\\u093e\\u0933\\u0940\\u0902\"===a?e:\"\\u0926\\u0928\\u092a\\u093e\\u0930\\u093e\\u0902\"===a?12<e?e:e+12:\"\\u0938\\u093e\\u0902\\u091c\\u0947\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"\\u0930\\u093e\\u0924\\u0940\":e<12?\"\\u0938\\u0915\\u093e\\u0933\\u0940\\u0902\":e<16?\"\\u0926\\u0928\\u092a\\u093e\\u0930\\u093e\\u0902\":e<20?\"\\u0938\\u093e\\u0902\\u091c\\u0947\":\"\\u0930\\u093e\\u0924\\u0940\"}}),L.defineLocale(\"gom-latn\",{months:{standalone:\"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr\".split(\"_\"),format:\"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea\".split(\"_\"),isFormat:/MMMM(\\s)+D[oD]?/},monthsShort:\"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.\".split(\"_\"),monthsParseExact:!0,weekdays:\"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var\".split(\"_\"),weekdaysShort:\"Ait._Som._Mon._Bud._Bre._Suk._Son.\".split(\"_\"),weekdaysMin:\"Ai_Sm_Mo_Bu_Br_Su_Sn\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"A h:mm [vazta]\",LTS:\"A h:mm:ss [vazta]\",L:\"DD-MM-YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY A h:mm [vazta]\",LLLL:\"dddd, MMMM Do, YYYY, A h:mm [vazta]\",llll:\"ddd, D MMM YYYY, A h:mm [vazta]\"},calendar:{sameDay:\"[Aiz] LT\",nextDay:\"[Faleam] LT\",nextWeek:\"[Fuddlo] dddd[,] LT\",lastDay:\"[Kal] LT\",lastWeek:\"[Fattlo] dddd[,] LT\",sameElse:\"L\"},relativeTime:{future:\"%s\",past:\"%s adim\",s:Os,ss:Os,m:Os,mm:Os,h:Os,hh:Os,d:Os,dd:Os,M:Os,MM:Os,y:Os,yy:Os},dayOfMonthOrdinalParse:/\\d{1,2}(er)/,ordinal:function(e,a){switch(a){case\"D\":return e+\"er\";default:case\"M\":case\"Q\":case\"DDD\":case\"d\":case\"w\":case\"W\":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,a){return 12===e&&(e=0),\"rati\"===a?e<4?e:e+12:\"sokallim\"===a?e:\"donparam\"===a?12<e?e:e+12:\"sanje\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"rati\":e<12?\"sokallim\":e<16?\"donparam\":e<20?\"sanje\":\"rati\"}});\n//! moment.js locale configuration\nvar Ws={1:\"\\u0ae7\",2:\"\\u0ae8\",3:\"\\u0ae9\",4:\"\\u0aea\",5:\"\\u0aeb\",6:\"\\u0aec\",7:\"\\u0aed\",8:\"\\u0aee\",9:\"\\u0aef\",0:\"\\u0ae6\"},As={\"\\u0ae7\":\"1\",\"\\u0ae8\":\"2\",\"\\u0ae9\":\"3\",\"\\u0aea\":\"4\",\"\\u0aeb\":\"5\",\"\\u0aec\":\"6\",\"\\u0aed\":\"7\",\"\\u0aee\":\"8\",\"\\u0aef\":\"9\",\"\\u0ae6\":\"0\"},Fs=(L.defineLocale(\"gu\",{months:\"\\u0a9c\\u0abe\\u0aa8\\u0acd\\u0aaf\\u0ac1\\u0a86\\u0ab0\\u0ac0_\\u0aab\\u0ac7\\u0aac\\u0acd\\u0ab0\\u0ac1\\u0a86\\u0ab0\\u0ac0_\\u0aae\\u0abe\\u0ab0\\u0acd\\u0a9a_\\u0a8f\\u0aaa\\u0acd\\u0ab0\\u0abf\\u0ab2_\\u0aae\\u0ac7_\\u0a9c\\u0ac2\\u0aa8_\\u0a9c\\u0ac1\\u0ab2\\u0abe\\u0a88_\\u0a91\\u0a97\\u0ab8\\u0acd\\u0a9f_\\u0ab8\\u0aaa\\u0acd\\u0a9f\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0_\\u0a91\\u0a95\\u0acd\\u0a9f\\u0acd\\u0aac\\u0ab0_\\u0aa8\\u0ab5\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0_\\u0aa1\\u0abf\\u0ab8\\u0ac7\\u0aae\\u0acd\\u0aac\\u0ab0\".split(\"_\"),monthsShort:\"\\u0a9c\\u0abe\\u0aa8\\u0acd\\u0aaf\\u0ac1._\\u0aab\\u0ac7\\u0aac\\u0acd\\u0ab0\\u0ac1._\\u0aae\\u0abe\\u0ab0\\u0acd\\u0a9a_\\u0a8f\\u0aaa\\u0acd\\u0ab0\\u0abf._\\u0aae\\u0ac7_\\u0a9c\\u0ac2\\u0aa8_\\u0a9c\\u0ac1\\u0ab2\\u0abe._\\u0a91\\u0a97._\\u0ab8\\u0aaa\\u0acd\\u0a9f\\u0ac7._\\u0a91\\u0a95\\u0acd\\u0a9f\\u0acd._\\u0aa8\\u0ab5\\u0ac7._\\u0aa1\\u0abf\\u0ab8\\u0ac7.\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u0ab0\\u0ab5\\u0abf\\u0ab5\\u0abe\\u0ab0_\\u0ab8\\u0acb\\u0aae\\u0ab5\\u0abe\\u0ab0_\\u0aae\\u0a82\\u0a97\\u0ab3\\u0ab5\\u0abe\\u0ab0_\\u0aac\\u0ac1\\u0aa7\\u0acd\\u0ab5\\u0abe\\u0ab0_\\u0a97\\u0ac1\\u0ab0\\u0ac1\\u0ab5\\u0abe\\u0ab0_\\u0ab6\\u0ac1\\u0a95\\u0acd\\u0ab0\\u0ab5\\u0abe\\u0ab0_\\u0ab6\\u0aa8\\u0abf\\u0ab5\\u0abe\\u0ab0\".split(\"_\"),weekdaysShort:\"\\u0ab0\\u0ab5\\u0abf_\\u0ab8\\u0acb\\u0aae_\\u0aae\\u0a82\\u0a97\\u0ab3_\\u0aac\\u0ac1\\u0aa7\\u0acd_\\u0a97\\u0ac1\\u0ab0\\u0ac1_\\u0ab6\\u0ac1\\u0a95\\u0acd\\u0ab0_\\u0ab6\\u0aa8\\u0abf\".split(\"_\"),weekdaysMin:\"\\u0ab0_\\u0ab8\\u0acb_\\u0aae\\u0a82_\\u0aac\\u0ac1_\\u0a97\\u0ac1_\\u0ab6\\u0ac1_\\u0ab6\".split(\"_\"),longDateFormat:{LT:\"A h:mm \\u0ab5\\u0abe\\u0a97\\u0acd\\u0aaf\\u0ac7\",LTS:\"A h:mm:ss \\u0ab5\\u0abe\\u0a97\\u0acd\\u0aaf\\u0ac7\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm \\u0ab5\\u0abe\\u0a97\\u0acd\\u0aaf\\u0ac7\",LLLL:\"dddd, D MMMM YYYY, A h:mm \\u0ab5\\u0abe\\u0a97\\u0acd\\u0aaf\\u0ac7\"},calendar:{sameDay:\"[\\u0a86\\u0a9c] LT\",nextDay:\"[\\u0a95\\u0abe\\u0ab2\\u0ac7] LT\",nextWeek:\"dddd, LT\",lastDay:\"[\\u0a97\\u0a87\\u0a95\\u0abe\\u0ab2\\u0ac7] LT\",lastWeek:\"[\\u0aaa\\u0abe\\u0a9b\\u0ab2\\u0abe] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0aae\\u0abe\",past:\"%s \\u0aaa\\u0ab9\\u0ac7\\u0ab2\\u0abe\",s:\"\\u0a85\\u0aae\\u0ac1\\u0a95 \\u0aaa\\u0ab3\\u0acb\",ss:\"%d \\u0ab8\\u0ac7\\u0a95\\u0a82\\u0aa1\",m:\"\\u0a8f\\u0a95 \\u0aae\\u0abf\\u0aa8\\u0abf\\u0a9f\",mm:\"%d \\u0aae\\u0abf\\u0aa8\\u0abf\\u0a9f\",h:\"\\u0a8f\\u0a95 \\u0a95\\u0ab2\\u0abe\\u0a95\",hh:\"%d \\u0a95\\u0ab2\\u0abe\\u0a95\",d:\"\\u0a8f\\u0a95 \\u0aa6\\u0abf\\u0ab5\\u0ab8\",dd:\"%d \\u0aa6\\u0abf\\u0ab5\\u0ab8\",M:\"\\u0a8f\\u0a95 \\u0aae\\u0ab9\\u0abf\\u0aa8\\u0acb\",MM:\"%d \\u0aae\\u0ab9\\u0abf\\u0aa8\\u0acb\",y:\"\\u0a8f\\u0a95 \\u0ab5\\u0ab0\\u0acd\\u0ab7\",yy:\"%d \\u0ab5\\u0ab0\\u0acd\\u0ab7\"},preparse:function(e){return e.replace(/[\\u0ae7\\u0ae8\\u0ae9\\u0aea\\u0aeb\\u0aec\\u0aed\\u0aee\\u0aef\\u0ae6]/g,function(e){return As[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return Ws[e]})},meridiemParse:/\\u0ab0\\u0abe\\u0aa4|\\u0aac\\u0aaa\\u0acb\\u0ab0|\\u0ab8\\u0ab5\\u0abe\\u0ab0|\\u0ab8\\u0abe\\u0a82\\u0a9c/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0ab0\\u0abe\\u0aa4\"===a?e<4?e:e+12:\"\\u0ab8\\u0ab5\\u0abe\\u0ab0\"===a?e:\"\\u0aac\\u0aaa\\u0acb\\u0ab0\"===a?10<=e?e:e+12:\"\\u0ab8\\u0abe\\u0a82\\u0a9c\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"\\u0ab0\\u0abe\\u0aa4\":e<10?\"\\u0ab8\\u0ab5\\u0abe\\u0ab0\":e<17?\"\\u0aac\\u0aaa\\u0acb\\u0ab0\":e<20?\"\\u0ab8\\u0abe\\u0a82\\u0a9c\":\"\\u0ab0\\u0abe\\u0aa4\"},week:{dow:0,doy:6}}),\n//! moment.js locale configuration\nL.defineLocale(\"he\",{months:\"\\u05d9\\u05e0\\u05d5\\u05d0\\u05e8_\\u05e4\\u05d1\\u05e8\\u05d5\\u05d0\\u05e8_\\u05de\\u05e8\\u05e5_\\u05d0\\u05e4\\u05e8\\u05d9\\u05dc_\\u05de\\u05d0\\u05d9_\\u05d9\\u05d5\\u05e0\\u05d9_\\u05d9\\u05d5\\u05dc\\u05d9_\\u05d0\\u05d5\\u05d2\\u05d5\\u05e1\\u05d8_\\u05e1\\u05e4\\u05d8\\u05de\\u05d1\\u05e8_\\u05d0\\u05d5\\u05e7\\u05d8\\u05d5\\u05d1\\u05e8_\\u05e0\\u05d5\\u05d1\\u05de\\u05d1\\u05e8_\\u05d3\\u05e6\\u05de\\u05d1\\u05e8\".split(\"_\"),monthsShort:\"\\u05d9\\u05e0\\u05d5\\u05f3_\\u05e4\\u05d1\\u05e8\\u05f3_\\u05de\\u05e8\\u05e5_\\u05d0\\u05e4\\u05e8\\u05f3_\\u05de\\u05d0\\u05d9_\\u05d9\\u05d5\\u05e0\\u05d9_\\u05d9\\u05d5\\u05dc\\u05d9_\\u05d0\\u05d5\\u05d2\\u05f3_\\u05e1\\u05e4\\u05d8\\u05f3_\\u05d0\\u05d5\\u05e7\\u05f3_\\u05e0\\u05d5\\u05d1\\u05f3_\\u05d3\\u05e6\\u05de\\u05f3\".split(\"_\"),weekdays:\"\\u05e8\\u05d0\\u05e9\\u05d5\\u05df_\\u05e9\\u05e0\\u05d9_\\u05e9\\u05dc\\u05d9\\u05e9\\u05d9_\\u05e8\\u05d1\\u05d9\\u05e2\\u05d9_\\u05d7\\u05de\\u05d9\\u05e9\\u05d9_\\u05e9\\u05d9\\u05e9\\u05d9_\\u05e9\\u05d1\\u05ea\".split(\"_\"),weekdaysShort:\"\\u05d0\\u05f3_\\u05d1\\u05f3_\\u05d2\\u05f3_\\u05d3\\u05f3_\\u05d4\\u05f3_\\u05d5\\u05f3_\\u05e9\\u05f3\".split(\"_\"),weekdaysMin:\"\\u05d0_\\u05d1_\\u05d2_\\u05d3_\\u05d4_\\u05d5_\\u05e9\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D [\\u05d1]MMMM YYYY\",LLL:\"D [\\u05d1]MMMM YYYY HH:mm\",LLLL:\"dddd, D [\\u05d1]MMMM YYYY HH:mm\",l:\"D/M/YYYY\",ll:\"D MMM YYYY\",lll:\"D MMM YYYY HH:mm\",llll:\"ddd, D MMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u05d4\\u05d9\\u05d5\\u05dd \\u05d1\\u05be]LT\",nextDay:\"[\\u05de\\u05d7\\u05e8 \\u05d1\\u05be]LT\",nextWeek:\"dddd [\\u05d1\\u05e9\\u05e2\\u05d4] LT\",lastDay:\"[\\u05d0\\u05ea\\u05de\\u05d5\\u05dc \\u05d1\\u05be]LT\",lastWeek:\"[\\u05d1\\u05d9\\u05d5\\u05dd] dddd [\\u05d4\\u05d0\\u05d7\\u05e8\\u05d5\\u05df \\u05d1\\u05e9\\u05e2\\u05d4] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u05d1\\u05e2\\u05d5\\u05d3 %s\",past:\"\\u05dc\\u05e4\\u05e0\\u05d9 %s\",s:\"\\u05de\\u05e1\\u05e4\\u05e8 \\u05e9\\u05e0\\u05d9\\u05d5\\u05ea\",ss:\"%d \\u05e9\\u05e0\\u05d9\\u05d5\\u05ea\",m:\"\\u05d3\\u05e7\\u05d4\",mm:\"%d \\u05d3\\u05e7\\u05d5\\u05ea\",h:\"\\u05e9\\u05e2\\u05d4\",hh:function(e){return 2===e?\"\\u05e9\\u05e2\\u05ea\\u05d9\\u05d9\\u05dd\":e+\" \\u05e9\\u05e2\\u05d5\\u05ea\"},d:\"\\u05d9\\u05d5\\u05dd\",dd:function(e){return 2===e?\"\\u05d9\\u05d5\\u05de\\u05d9\\u05d9\\u05dd\":e+\" \\u05d9\\u05de\\u05d9\\u05dd\"},M:\"\\u05d7\\u05d5\\u05d3\\u05e9\",MM:function(e){return 2===e?\"\\u05d7\\u05d5\\u05d3\\u05e9\\u05d9\\u05d9\\u05dd\":e+\" \\u05d7\\u05d5\\u05d3\\u05e9\\u05d9\\u05dd\"},y:\"\\u05e9\\u05e0\\u05d4\",yy:function(e){return 2===e?\"\\u05e9\\u05e0\\u05ea\\u05d9\\u05d9\\u05dd\":e%10==0&&10!==e?e+\" \\u05e9\\u05e0\\u05d4\":e+\" \\u05e9\\u05e0\\u05d9\\u05dd\"}},meridiemParse:/\\u05d0\\u05d7\\u05d4\"\\u05e6|\\u05dc\\u05e4\\u05e0\\u05d4\"\\u05e6|\\u05d0\\u05d7\\u05e8\\u05d9 \\u05d4\\u05e6\\u05d4\\u05e8\\u05d9\\u05d9\\u05dd|\\u05dc\\u05e4\\u05e0\\u05d9 \\u05d4\\u05e6\\u05d4\\u05e8\\u05d9\\u05d9\\u05dd|\\u05dc\\u05e4\\u05e0\\u05d5\\u05ea \\u05d1\\u05d5\\u05e7\\u05e8|\\u05d1\\u05d1\\u05d5\\u05e7\\u05e8|\\u05d1\\u05e2\\u05e8\\u05d1/i,isPM:function(e){return/^(\\u05d0\\u05d7\\u05d4\"\\u05e6|\\u05d0\\u05d7\\u05e8\\u05d9 \\u05d4\\u05e6\\u05d4\\u05e8\\u05d9\\u05d9\\u05dd|\\u05d1\\u05e2\\u05e8\\u05d1)$/.test(e)},meridiem:function(e,a,t){return e<5?\"\\u05dc\\u05e4\\u05e0\\u05d5\\u05ea \\u05d1\\u05d5\\u05e7\\u05e8\":e<10?\"\\u05d1\\u05d1\\u05d5\\u05e7\\u05e8\":e<12?t?'\\u05dc\\u05e4\\u05e0\\u05d4\"\\u05e6':\"\\u05dc\\u05e4\\u05e0\\u05d9 \\u05d4\\u05e6\\u05d4\\u05e8\\u05d9\\u05d9\\u05dd\":e<18?t?'\\u05d0\\u05d7\\u05d4\"\\u05e6':\"\\u05d0\\u05d7\\u05e8\\u05d9 \\u05d4\\u05e6\\u05d4\\u05e8\\u05d9\\u05d9\\u05dd\":\"\\u05d1\\u05e2\\u05e8\\u05d1\"}}),{1:\"\\u0967\",2:\"\\u0968\",3:\"\\u0969\",4:\"\\u096a\",5:\"\\u096b\",6:\"\\u096c\",7:\"\\u096d\",8:\"\\u096e\",9:\"\\u096f\",0:\"\\u0966\"}),Es={\"\\u0967\":\"1\",\"\\u0968\":\"2\",\"\\u0969\":\"3\",\"\\u096a\":\"4\",\"\\u096b\":\"5\",\"\\u096c\":\"6\",\"\\u096d\":\"7\",\"\\u096e\":\"8\",\"\\u096f\":\"9\",\"\\u0966\":\"0\"},Ue=[/^\\u091c\\u0928/i,/^\\u092b\\u093c\\u0930|\\u092b\\u0930/i,/^\\u092e\\u093e\\u0930\\u094d\\u091a/i,/^\\u0905\\u092a\\u094d\\u0930\\u0948/i,/^\\u092e\\u0908/i,/^\\u091c\\u0942\\u0928/i,/^\\u091c\\u0941\\u0932/i,/^\\u0905\\u0917/i,/^\\u0938\\u093f\\u0924\\u0902|\\u0938\\u093f\\u0924/i,/^\\u0905\\u0915\\u094d\\u091f\\u0942/i,/^\\u0928\\u0935|\\u0928\\u0935\\u0902/i,/^\\u0926\\u093f\\u0938\\u0902|\\u0926\\u093f\\u0938/i];\n//! moment.js locale configuration\nfunction zs(e,a,t){var s=e+\" \";switch(t){case\"ss\":return s+=1===e?\"sekunda\":2===e||3===e||4===e?\"sekunde\":\"sekundi\";case\"m\":return a?\"jedna minuta\":\"jedne minute\";case\"mm\":return s+=1!==e&&(2===e||3===e||4===e)?\"minute\":\"minuta\";case\"h\":return a?\"jedan sat\":\"jednog sata\";case\"hh\":return s+=1===e?\"sat\":2===e||3===e||4===e?\"sata\":\"sati\";case\"dd\":return s+=1===e?\"dan\":\"dana\";case\"MM\":return s+=1===e?\"mjesec\":2===e||3===e||4===e?\"mjeseca\":\"mjeseci\";case\"yy\":return s+=1!==e&&(2===e||3===e||4===e)?\"godine\":\"godina\"}}L.defineLocale(\"hi\",{months:{format:\"\\u091c\\u0928\\u0935\\u0930\\u0940_\\u092b\\u093c\\u0930\\u0935\\u0930\\u0940_\\u092e\\u093e\\u0930\\u094d\\u091a_\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932_\\u092e\\u0908_\\u091c\\u0942\\u0928_\\u091c\\u0941\\u0932\\u093e\\u0908_\\u0905\\u0917\\u0938\\u094d\\u0924_\\u0938\\u093f\\u0924\\u092e\\u094d\\u092c\\u0930_\\u0905\\u0915\\u094d\\u091f\\u0942\\u092c\\u0930_\\u0928\\u0935\\u092e\\u094d\\u092c\\u0930_\\u0926\\u093f\\u0938\\u092e\\u094d\\u092c\\u0930\".split(\"_\"),standalone:\"\\u091c\\u0928\\u0935\\u0930\\u0940_\\u092b\\u0930\\u0935\\u0930\\u0940_\\u092e\\u093e\\u0930\\u094d\\u091a_\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932_\\u092e\\u0908_\\u091c\\u0942\\u0928_\\u091c\\u0941\\u0932\\u093e\\u0908_\\u0905\\u0917\\u0938\\u094d\\u0924_\\u0938\\u093f\\u0924\\u0902\\u092c\\u0930_\\u0905\\u0915\\u094d\\u091f\\u0942\\u092c\\u0930_\\u0928\\u0935\\u0902\\u092c\\u0930_\\u0926\\u093f\\u0938\\u0902\\u092c\\u0930\".split(\"_\")},monthsShort:\"\\u091c\\u0928._\\u092b\\u093c\\u0930._\\u092e\\u093e\\u0930\\u094d\\u091a_\\u0905\\u092a\\u094d\\u0930\\u0948._\\u092e\\u0908_\\u091c\\u0942\\u0928_\\u091c\\u0941\\u0932._\\u0905\\u0917._\\u0938\\u093f\\u0924._\\u0905\\u0915\\u094d\\u091f\\u0942._\\u0928\\u0935._\\u0926\\u093f\\u0938.\".split(\"_\"),weekdays:\"\\u0930\\u0935\\u093f\\u0935\\u093e\\u0930_\\u0938\\u094b\\u092e\\u0935\\u093e\\u0930_\\u092e\\u0902\\u0917\\u0932\\u0935\\u093e\\u0930_\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930_\\u0917\\u0941\\u0930\\u0942\\u0935\\u093e\\u0930_\\u0936\\u0941\\u0915\\u094d\\u0930\\u0935\\u093e\\u0930_\\u0936\\u0928\\u093f\\u0935\\u093e\\u0930\".split(\"_\"),weekdaysShort:\"\\u0930\\u0935\\u093f_\\u0938\\u094b\\u092e_\\u092e\\u0902\\u0917\\u0932_\\u092c\\u0941\\u0927_\\u0917\\u0941\\u0930\\u0942_\\u0936\\u0941\\u0915\\u094d\\u0930_\\u0936\\u0928\\u093f\".split(\"_\"),weekdaysMin:\"\\u0930_\\u0938\\u094b_\\u092e\\u0902_\\u092c\\u0941_\\u0917\\u0941_\\u0936\\u0941_\\u0936\".split(\"_\"),longDateFormat:{LT:\"A h:mm \\u092c\\u091c\\u0947\",LTS:\"A h:mm:ss \\u092c\\u091c\\u0947\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm \\u092c\\u091c\\u0947\",LLLL:\"dddd, D MMMM YYYY, A h:mm \\u092c\\u091c\\u0947\"},monthsParse:Ue,longMonthsParse:Ue,shortMonthsParse:[/^\\u091c\\u0928/i,/^\\u092b\\u093c\\u0930/i,/^\\u092e\\u093e\\u0930\\u094d\\u091a/i,/^\\u0905\\u092a\\u094d\\u0930\\u0948/i,/^\\u092e\\u0908/i,/^\\u091c\\u0942\\u0928/i,/^\\u091c\\u0941\\u0932/i,/^\\u0905\\u0917/i,/^\\u0938\\u093f\\u0924/i,/^\\u0905\\u0915\\u094d\\u091f\\u0942/i,/^\\u0928\\u0935/i,/^\\u0926\\u093f\\u0938/i],monthsRegex:/^(\\u091c\\u0928\\u0935\\u0930\\u0940|\\u091c\\u0928\\.?|\\u092b\\u093c\\u0930\\u0935\\u0930\\u0940|\\u092b\\u0930\\u0935\\u0930\\u0940|\\u092b\\u093c\\u0930\\.?|\\u092e\\u093e\\u0930\\u094d\\u091a?|\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932|\\u0905\\u092a\\u094d\\u0930\\u0948\\.?|\\u092e\\u0908?|\\u091c\\u0942\\u0928?|\\u091c\\u0941\\u0932\\u093e\\u0908|\\u091c\\u0941\\u0932\\.?|\\u0905\\u0917\\u0938\\u094d\\u0924|\\u0905\\u0917\\.?|\\u0938\\u093f\\u0924\\u092e\\u094d\\u092c\\u0930|\\u0938\\u093f\\u0924\\u0902\\u092c\\u0930|\\u0938\\u093f\\u0924\\.?|\\u0905\\u0915\\u094d\\u091f\\u0942\\u092c\\u0930|\\u0905\\u0915\\u094d\\u091f\\u0942\\.?|\\u0928\\u0935\\u092e\\u094d\\u092c\\u0930|\\u0928\\u0935\\u0902\\u092c\\u0930|\\u0928\\u0935\\.?|\\u0926\\u093f\\u0938\\u092e\\u094d\\u092c\\u0930|\\u0926\\u093f\\u0938\\u0902\\u092c\\u0930|\\u0926\\u093f\\u0938\\.?)/i,monthsShortRegex:/^(\\u091c\\u0928\\u0935\\u0930\\u0940|\\u091c\\u0928\\.?|\\u092b\\u093c\\u0930\\u0935\\u0930\\u0940|\\u092b\\u0930\\u0935\\u0930\\u0940|\\u092b\\u093c\\u0930\\.?|\\u092e\\u093e\\u0930\\u094d\\u091a?|\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932|\\u0905\\u092a\\u094d\\u0930\\u0948\\.?|\\u092e\\u0908?|\\u091c\\u0942\\u0928?|\\u091c\\u0941\\u0932\\u093e\\u0908|\\u091c\\u0941\\u0932\\.?|\\u0905\\u0917\\u0938\\u094d\\u0924|\\u0905\\u0917\\.?|\\u0938\\u093f\\u0924\\u092e\\u094d\\u092c\\u0930|\\u0938\\u093f\\u0924\\u0902\\u092c\\u0930|\\u0938\\u093f\\u0924\\.?|\\u0905\\u0915\\u094d\\u091f\\u0942\\u092c\\u0930|\\u0905\\u0915\\u094d\\u091f\\u0942\\.?|\\u0928\\u0935\\u092e\\u094d\\u092c\\u0930|\\u0928\\u0935\\u0902\\u092c\\u0930|\\u0928\\u0935\\.?|\\u0926\\u093f\\u0938\\u092e\\u094d\\u092c\\u0930|\\u0926\\u093f\\u0938\\u0902\\u092c\\u0930|\\u0926\\u093f\\u0938\\.?)/i,monthsStrictRegex:/^(\\u091c\\u0928\\u0935\\u0930\\u0940?|\\u092b\\u093c\\u0930\\u0935\\u0930\\u0940|\\u092b\\u0930\\u0935\\u0930\\u0940?|\\u092e\\u093e\\u0930\\u094d\\u091a?|\\u0905\\u092a\\u094d\\u0930\\u0948\\u0932?|\\u092e\\u0908?|\\u091c\\u0942\\u0928?|\\u091c\\u0941\\u0932\\u093e\\u0908?|\\u0905\\u0917\\u0938\\u094d\\u0924?|\\u0938\\u093f\\u0924\\u092e\\u094d\\u092c\\u0930|\\u0938\\u093f\\u0924\\u0902\\u092c\\u0930|\\u0938\\u093f\\u0924?\\.?|\\u0905\\u0915\\u094d\\u091f\\u0942\\u092c\\u0930|\\u0905\\u0915\\u094d\\u091f\\u0942\\.?|\\u0928\\u0935\\u092e\\u094d\\u092c\\u0930|\\u0928\\u0935\\u0902\\u092c\\u0930?|\\u0926\\u093f\\u0938\\u092e\\u094d\\u092c\\u0930|\\u0926\\u093f\\u0938\\u0902\\u092c\\u0930?)/i,monthsShortStrictRegex:/^(\\u091c\\u0928\\.?|\\u092b\\u093c\\u0930\\.?|\\u092e\\u093e\\u0930\\u094d\\u091a?|\\u0905\\u092a\\u094d\\u0930\\u0948\\.?|\\u092e\\u0908?|\\u091c\\u0942\\u0928?|\\u091c\\u0941\\u0932\\.?|\\u0905\\u0917\\.?|\\u0938\\u093f\\u0924\\.?|\\u0905\\u0915\\u094d\\u091f\\u0942\\.?|\\u0928\\u0935\\.?|\\u0926\\u093f\\u0938\\.?)/i,calendar:{sameDay:\"[\\u0906\\u091c] LT\",nextDay:\"[\\u0915\\u0932] LT\",nextWeek:\"dddd, LT\",lastDay:\"[\\u0915\\u0932] LT\",lastWeek:\"[\\u092a\\u093f\\u091b\\u0932\\u0947] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u092e\\u0947\\u0902\",past:\"%s \\u092a\\u0939\\u0932\\u0947\",s:\"\\u0915\\u0941\\u091b \\u0939\\u0940 \\u0915\\u094d\\u0937\\u0923\",ss:\"%d \\u0938\\u0947\\u0915\\u0902\\u0921\",m:\"\\u090f\\u0915 \\u092e\\u093f\\u0928\\u091f\",mm:\"%d \\u092e\\u093f\\u0928\\u091f\",h:\"\\u090f\\u0915 \\u0918\\u0902\\u091f\\u093e\",hh:\"%d \\u0918\\u0902\\u091f\\u0947\",d:\"\\u090f\\u0915 \\u0926\\u093f\\u0928\",dd:\"%d \\u0926\\u093f\\u0928\",M:\"\\u090f\\u0915 \\u092e\\u0939\\u0940\\u0928\\u0947\",MM:\"%d \\u092e\\u0939\\u0940\\u0928\\u0947\",y:\"\\u090f\\u0915 \\u0935\\u0930\\u094d\\u0937\",yy:\"%d \\u0935\\u0930\\u094d\\u0937\"},preparse:function(e){return e.replace(/[\\u0967\\u0968\\u0969\\u096a\\u096b\\u096c\\u096d\\u096e\\u096f\\u0966]/g,function(e){return Es[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return Fs[e]})},meridiemParse:/\\u0930\\u093e\\u0924|\\u0938\\u0941\\u092c\\u0939|\\u0926\\u094b\\u092a\\u0939\\u0930|\\u0936\\u093e\\u092e/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0930\\u093e\\u0924\"===a?e<4?e:e+12:\"\\u0938\\u0941\\u092c\\u0939\"===a?e:\"\\u0926\\u094b\\u092a\\u0939\\u0930\"===a?10<=e?e:e+12:\"\\u0936\\u093e\\u092e\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"\\u0930\\u093e\\u0924\":e<10?\"\\u0938\\u0941\\u092c\\u0939\":e<17?\"\\u0926\\u094b\\u092a\\u0939\\u0930\":e<20?\"\\u0936\\u093e\\u092e\":\"\\u0930\\u093e\\u0924\"},week:{dow:0,doy:6}}),L.defineLocale(\"hr\",{months:{format:\"sije\\u010dnja_velja\\u010de_o\\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca\".split(\"_\"),standalone:\"sije\\u010danj_velja\\u010da_o\\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac\".split(\"_\")},monthsShort:\"sij._velj._o\\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.\".split(\"_\"),monthsParseExact:!0,weekdays:\"nedjelja_ponedjeljak_utorak_srijeda_\\u010detvrtak_petak_subota\".split(\"_\"),weekdaysShort:\"ned._pon._uto._sri._\\u010det._pet._sub.\".split(\"_\"),weekdaysMin:\"ne_po_ut_sr_\\u010de_pe_su\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"Do MMMM YYYY\",LLL:\"Do MMMM YYYY H:mm\",LLLL:\"dddd, Do MMMM YYYY H:mm\"},calendar:{sameDay:\"[danas u] LT\",nextDay:\"[sutra u] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[u] [nedjelju] [u] LT\";case 3:return\"[u] [srijedu] [u] LT\";case 6:return\"[u] [subotu] [u] LT\";case 1:case 2:case 4:case 5:return\"[u] dddd [u] LT\"}},lastDay:\"[ju\\u010der u] LT\",lastWeek:function(){switch(this.day()){case 0:return\"[pro\\u0161lu] [nedjelju] [u] LT\";case 3:return\"[pro\\u0161lu] [srijedu] [u] LT\";case 6:return\"[pro\\u0161le] [subote] [u] LT\";case 1:case 2:case 4:case 5:return\"[pro\\u0161li] dddd [u] LT\"}},sameElse:\"L\"},relativeTime:{future:\"za %s\",past:\"prije %s\",s:\"par sekundi\",ss:zs,m:zs,mm:zs,h:zs,hh:zs,d:\"dan\",dd:zs,M:\"mjesec\",MM:zs,y:\"godinu\",yy:zs},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:7}});\n//! moment.js locale configuration\nvar Ns=\"vas\\xe1rnap h\\xe9tf\\u0151n kedden szerd\\xe1n cs\\xfct\\xf6rt\\xf6k\\xf6n p\\xe9nteken szombaton\".split(\" \");function Js(e,a,t,s){var n=e;switch(t){case\"s\":return s||a?\"n\\xe9h\\xe1ny m\\xe1sodperc\":\"n\\xe9h\\xe1ny m\\xe1sodperce\";case\"ss\":return n+(s||a?\" m\\xe1sodperc\":\" m\\xe1sodperce\");case\"m\":return\"egy\"+(s||a?\" perc\":\" perce\");case\"mm\":return n+(s||a?\" perc\":\" perce\");case\"h\":return\"egy\"+(s||a?\" \\xf3ra\":\" \\xf3r\\xe1ja\");case\"hh\":return n+(s||a?\" \\xf3ra\":\" \\xf3r\\xe1ja\");case\"d\":return\"egy\"+(s||a?\" nap\":\" napja\");case\"dd\":return n+(s||a?\" nap\":\" napja\");case\"M\":return\"egy\"+(s||a?\" h\\xf3nap\":\" h\\xf3napja\");case\"MM\":return n+(s||a?\" h\\xf3nap\":\" h\\xf3napja\");case\"y\":return\"egy\"+(s||a?\" \\xe9v\":\" \\xe9ve\");case\"yy\":return n+(s||a?\" \\xe9v\":\" \\xe9ve\")}return\"\"}function Rs(e){return(e?\"\":\"[m\\xfalt] \")+\"[\"+Ns[this.day()]+\"] LT[-kor]\"}L.defineLocale(\"hu\",{months:\"janu\\xe1r_febru\\xe1r_m\\xe1rcius_\\xe1prilis_m\\xe1jus_j\\xfanius_j\\xfalius_augusztus_szeptember_okt\\xf3ber_november_december\".split(\"_\"),monthsShort:\"jan._feb._m\\xe1rc._\\xe1pr._m\\xe1j._j\\xfan._j\\xfal._aug._szept._okt._nov._dec.\".split(\"_\"),monthsParseExact:!0,weekdays:\"vas\\xe1rnap_h\\xe9tf\\u0151_kedd_szerda_cs\\xfct\\xf6rt\\xf6k_p\\xe9ntek_szombat\".split(\"_\"),weekdaysShort:\"vas_h\\xe9t_kedd_sze_cs\\xfct_p\\xe9n_szo\".split(\"_\"),weekdaysMin:\"v_h_k_sze_cs_p_szo\".split(\"_\"),longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"YYYY.MM.DD.\",LL:\"YYYY. MMMM D.\",LLL:\"YYYY. MMMM D. H:mm\",LLLL:\"YYYY. MMMM D., dddd H:mm\"},meridiemParse:/de|du/i,isPM:function(e){return\"u\"===e.charAt(1).toLowerCase()},meridiem:function(e,a,t){return e<12?!0===t?\"de\":\"DE\":!0===t?\"du\":\"DU\"},calendar:{sameDay:\"[ma] LT[-kor]\",nextDay:\"[holnap] LT[-kor]\",nextWeek:function(){return Rs.call(this,!0)},lastDay:\"[tegnap] LT[-kor]\",lastWeek:function(){return Rs.call(this,!1)},sameElse:\"L\"},relativeTime:{future:\"%s m\\xfalva\",past:\"%s\",s:Js,ss:Js,m:Js,mm:Js,h:Js,hh:Js,d:Js,dd:Js,M:Js,MM:Js,y:Js,yy:Js},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"hy-am\",{months:{format:\"\\u0570\\u0578\\u0582\\u0576\\u057e\\u0561\\u0580\\u056b_\\u0583\\u0565\\u057f\\u0580\\u057e\\u0561\\u0580\\u056b_\\u0574\\u0561\\u0580\\u057f\\u056b_\\u0561\\u057a\\u0580\\u056b\\u056c\\u056b_\\u0574\\u0561\\u0575\\u056b\\u057d\\u056b_\\u0570\\u0578\\u0582\\u0576\\u056b\\u057d\\u056b_\\u0570\\u0578\\u0582\\u056c\\u056b\\u057d\\u056b_\\u0585\\u0563\\u0578\\u057d\\u057f\\u0578\\u057d\\u056b_\\u057d\\u0565\\u057a\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b_\\u0570\\u0578\\u056f\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b_\\u0576\\u0578\\u0575\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b_\\u0564\\u0565\\u056f\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\\u056b\".split(\"_\"),standalone:\"\\u0570\\u0578\\u0582\\u0576\\u057e\\u0561\\u0580_\\u0583\\u0565\\u057f\\u0580\\u057e\\u0561\\u0580_\\u0574\\u0561\\u0580\\u057f_\\u0561\\u057a\\u0580\\u056b\\u056c_\\u0574\\u0561\\u0575\\u056b\\u057d_\\u0570\\u0578\\u0582\\u0576\\u056b\\u057d_\\u0570\\u0578\\u0582\\u056c\\u056b\\u057d_\\u0585\\u0563\\u0578\\u057d\\u057f\\u0578\\u057d_\\u057d\\u0565\\u057a\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580_\\u0570\\u0578\\u056f\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580_\\u0576\\u0578\\u0575\\u0565\\u0574\\u0562\\u0565\\u0580_\\u0564\\u0565\\u056f\\u057f\\u0565\\u0574\\u0562\\u0565\\u0580\".split(\"_\")},monthsShort:\"\\u0570\\u0576\\u057e_\\u0583\\u057f\\u0580_\\u0574\\u0580\\u057f_\\u0561\\u057a\\u0580_\\u0574\\u0575\\u057d_\\u0570\\u0576\\u057d_\\u0570\\u056c\\u057d_\\u0585\\u0563\\u057d_\\u057d\\u057a\\u057f_\\u0570\\u056f\\u057f_\\u0576\\u0574\\u0562_\\u0564\\u056f\\u057f\".split(\"_\"),weekdays:\"\\u056f\\u056b\\u0580\\u0561\\u056f\\u056b_\\u0565\\u0580\\u056f\\u0578\\u0582\\u0577\\u0561\\u0562\\u0569\\u056b_\\u0565\\u0580\\u0565\\u0584\\u0577\\u0561\\u0562\\u0569\\u056b_\\u0579\\u0578\\u0580\\u0565\\u0584\\u0577\\u0561\\u0562\\u0569\\u056b_\\u0570\\u056b\\u0576\\u0563\\u0577\\u0561\\u0562\\u0569\\u056b_\\u0578\\u0582\\u0580\\u0562\\u0561\\u0569_\\u0577\\u0561\\u0562\\u0561\\u0569\".split(\"_\"),weekdaysShort:\"\\u056f\\u0580\\u056f_\\u0565\\u0580\\u056f_\\u0565\\u0580\\u0584_\\u0579\\u0580\\u0584_\\u0570\\u0576\\u0563_\\u0578\\u0582\\u0580\\u0562_\\u0577\\u0562\\u0569\".split(\"_\"),weekdaysMin:\"\\u056f\\u0580\\u056f_\\u0565\\u0580\\u056f_\\u0565\\u0580\\u0584_\\u0579\\u0580\\u0584_\\u0570\\u0576\\u0563_\\u0578\\u0582\\u0580\\u0562_\\u0577\\u0562\\u0569\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY \\u0569.\",LLL:\"D MMMM YYYY \\u0569., HH:mm\",LLLL:\"dddd, D MMMM YYYY \\u0569., HH:mm\"},calendar:{sameDay:\"[\\u0561\\u0575\\u057d\\u0585\\u0580] LT\",nextDay:\"[\\u057e\\u0561\\u0572\\u0568] LT\",lastDay:\"[\\u0565\\u0580\\u0565\\u056f] LT\",nextWeek:function(){return\"dddd [\\u0585\\u0580\\u0568 \\u056a\\u0561\\u0574\\u0568] LT\"},lastWeek:function(){return\"[\\u0561\\u0576\\u0581\\u0561\\u056e] dddd [\\u0585\\u0580\\u0568 \\u056a\\u0561\\u0574\\u0568] LT\"},sameElse:\"L\"},relativeTime:{future:\"%s \\u0570\\u0565\\u057f\\u0578\",past:\"%s \\u0561\\u057c\\u0561\\u057b\",s:\"\\u0574\\u056b \\u0584\\u0561\\u0576\\u056b \\u057e\\u0561\\u0575\\u0580\\u056f\\u0575\\u0561\\u0576\",ss:\"%d \\u057e\\u0561\\u0575\\u0580\\u056f\\u0575\\u0561\\u0576\",m:\"\\u0580\\u0578\\u057a\\u0565\",mm:\"%d \\u0580\\u0578\\u057a\\u0565\",h:\"\\u056a\\u0561\\u0574\",hh:\"%d \\u056a\\u0561\\u0574\",d:\"\\u0585\\u0580\",dd:\"%d \\u0585\\u0580\",M:\"\\u0561\\u0574\\u056b\\u057d\",MM:\"%d \\u0561\\u0574\\u056b\\u057d\",y:\"\\u057f\\u0561\\u0580\\u056b\",yy:\"%d \\u057f\\u0561\\u0580\\u056b\"},meridiemParse:/\\u0563\\u056b\\u0577\\u0565\\u0580\\u057e\\u0561|\\u0561\\u057c\\u0561\\u057e\\u0578\\u057f\\u057e\\u0561|\\u0581\\u0565\\u0580\\u0565\\u056f\\u057e\\u0561|\\u0565\\u0580\\u0565\\u056f\\u0578\\u0575\\u0561\\u0576/,isPM:function(e){return/^(\\u0581\\u0565\\u0580\\u0565\\u056f\\u057e\\u0561|\\u0565\\u0580\\u0565\\u056f\\u0578\\u0575\\u0561\\u0576)$/.test(e)},meridiem:function(e){return e<4?\"\\u0563\\u056b\\u0577\\u0565\\u0580\\u057e\\u0561\":e<12?\"\\u0561\\u057c\\u0561\\u057e\\u0578\\u057f\\u057e\\u0561\":e<17?\"\\u0581\\u0565\\u0580\\u0565\\u056f\\u057e\\u0561\":\"\\u0565\\u0580\\u0565\\u056f\\u0578\\u0575\\u0561\\u0576\"},dayOfMonthOrdinalParse:/\\d{1,2}|\\d{1,2}-(\\u056b\\u0576|\\u0580\\u0564)/,ordinal:function(e,a){switch(a){case\"DDD\":case\"w\":case\"W\":case\"DDDo\":return 1===e?e+\"-\\u056b\\u0576\":e+\"-\\u0580\\u0564\";default:return e}},week:{dow:1,doy:7}});\n//! moment.js locale configuration\ni=[],c=[],_=[];\n//! moment.js locale configuration\nfunction Cs(e){return e%100==11||e%10!=1}function Is(e,a,t,s){var n=e+\" \";switch(t){case\"s\":return a||s?\"nokkrar sek\\xfandur\":\"nokkrum sek\\xfandum\";case\"ss\":return Cs(e)?n+(a||s?\"sek\\xfandur\":\"sek\\xfandum\"):n+\"sek\\xfanda\";case\"m\":return a?\"m\\xedn\\xfata\":\"m\\xedn\\xfatu\";case\"mm\":return Cs(e)?n+(a||s?\"m\\xedn\\xfatur\":\"m\\xedn\\xfatum\"):a?n+\"m\\xedn\\xfata\":n+\"m\\xedn\\xfatu\";case\"hh\":return Cs(e)?n+(a||s?\"klukkustundir\":\"klukkustundum\"):n+\"klukkustund\";case\"d\":return a?\"dagur\":s?\"dag\":\"degi\";case\"dd\":return Cs(e)?a?n+\"dagar\":n+(s?\"daga\":\"d\\xf6gum\"):a?n+\"dagur\":n+(s?\"dag\":\"degi\");case\"M\":return a?\"m\\xe1nu\\xf0ur\":s?\"m\\xe1nu\\xf0\":\"m\\xe1nu\\xf0i\";case\"MM\":return Cs(e)?a?n+\"m\\xe1nu\\xf0ir\":n+(s?\"m\\xe1nu\\xf0i\":\"m\\xe1nu\\xf0um\"):a?n+\"m\\xe1nu\\xf0ur\":n+(s?\"m\\xe1nu\\xf0\":\"m\\xe1nu\\xf0i\");case\"y\":return a||s?\"\\xe1r\":\"\\xe1ri\";case\"yy\":return Cs(e)?n+(a||s?\"\\xe1r\":\"\\xe1rum\"):n+(a||s?\"\\xe1r\":\"\\xe1ri\")}}i[7]=/^agustus|^agu|^agt/i,c[7]=/^agustus$/i,_[7]=/^agu$|^agt$/i,L.defineLocale(\"id\",{months:\"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agu_Sep_Okt_Nov_Des\".split(\"_\"),monthsParse:i,longMonthsParse:c,shortMonthsParse:_,weekdays:\"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu\".split(\"_\"),weekdaysShort:\"Min_Sen_Sel_Rab_Kam_Jum_Sab\".split(\"_\"),weekdaysMin:\"Mg_Sn_Sl_Rb_Km_Jm_Sb\".split(\"_\"),longDateFormat:{LT:\"HH.mm\",LTS:\"HH.mm.ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY [pukul] HH.mm\",LLLL:\"dddd, D MMMM YYYY [pukul] HH.mm\"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),\"pagi\"===a?e:\"siang\"===a?11<=e?e:e+12:\"sore\"===a||\"malam\"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?\"pagi\":e<15?\"siang\":e<19?\"sore\":\"malam\"},calendar:{sameDay:\"[Hari ini pukul] LT\",nextDay:\"[Besok pukul] LT\",nextWeek:\"dddd [pukul] LT\",lastDay:\"[Kemarin pukul] LT\",lastWeek:\"dddd [lalu pukul] LT\",sameElse:\"L\"},relativeTime:{future:\"dalam %s\",past:\"%s yang lalu\",s:\"beberapa detik\",ss:\"%d detik\",m:\"semenit\",mm:\"%d menit\",h:\"sejam\",hh:\"%d jam\",d:\"sehari\",dd:\"%d hari\",M:\"sebulan\",MM:\"%d bulan\",y:\"setahun\",yy:\"%d tahun\"},week:{dow:0,doy:6}}),L.defineLocale(\"is\",{months:\"jan\\xfaar_febr\\xfaar_mars_apr\\xedl_ma\\xed_j\\xfan\\xed_j\\xfal\\xed_\\xe1g\\xfast_september_okt\\xf3ber_n\\xf3vember_desember\".split(\"_\"),monthsShort:\"jan_feb_mar_apr_ma\\xed_j\\xfan_j\\xfal_\\xe1g\\xfa_sep_okt_n\\xf3v_des\".split(\"_\"),weekdays:\"sunnudagur_m\\xe1nudagur_\\xferi\\xf0judagur_mi\\xf0vikudagur_fimmtudagur_f\\xf6studagur_laugardagur\".split(\"_\"),weekdaysShort:\"sun_m\\xe1n_\\xferi_mi\\xf0_fim_f\\xf6s_lau\".split(\"_\"),weekdaysMin:\"Su_M\\xe1_\\xder_Mi_Fi_F\\xf6_La\".split(\"_\"),longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY [kl.] H:mm\",LLLL:\"dddd, D. MMMM YYYY [kl.] H:mm\"},calendar:{sameDay:\"[\\xed dag kl.] LT\",nextDay:\"[\\xe1 morgun kl.] LT\",nextWeek:\"dddd [kl.] LT\",lastDay:\"[\\xed g\\xe6r kl.] LT\",lastWeek:\"[s\\xed\\xf0asta] dddd [kl.] LT\",sameElse:\"L\"},relativeTime:{future:\"eftir %s\",past:\"fyrir %s s\\xed\\xf0an\",s:Is,ss:Is,m:Is,mm:Is,h:\"klukkustund\",hh:Is,d:Is,dd:Is,M:Is,MM:Is,y:Is,yy:Is},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"it-ch\",{months:\"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre\".split(\"_\"),monthsShort:\"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic\".split(\"_\"),weekdays:\"domenica_luned\\xec_marted\\xec_mercoled\\xec_gioved\\xec_venerd\\xec_sabato\".split(\"_\"),weekdaysShort:\"dom_lun_mar_mer_gio_ven_sab\".split(\"_\"),weekdaysMin:\"do_lu_ma_me_gi_ve_sa\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Oggi alle] LT\",nextDay:\"[Domani alle] LT\",nextWeek:\"dddd [alle] LT\",lastDay:\"[Ieri alle] LT\",lastWeek:function(){switch(this.day()){case 0:return\"[la scorsa] dddd [alle] LT\";default:return\"[lo scorso] dddd [alle] LT\"}},sameElse:\"L\"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?\"tra\":\"in\")+\" \"+e},past:\"%s fa\",s:\"alcuni secondi\",ss:\"%d secondi\",m:\"un minuto\",mm:\"%d minuti\",h:\"un'ora\",hh:\"%d ore\",d:\"un giorno\",dd:\"%d giorni\",M:\"un mese\",MM:\"%d mesi\",y:\"un anno\",yy:\"%d anni\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"it\",{months:\"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre\".split(\"_\"),monthsShort:\"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic\".split(\"_\"),weekdays:\"domenica_luned\\xec_marted\\xec_mercoled\\xec_gioved\\xec_venerd\\xec_sabato\".split(\"_\"),weekdaysShort:\"dom_lun_mar_mer_gio_ven_sab\".split(\"_\"),weekdaysMin:\"do_lu_ma_me_gi_ve_sa\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:function(){return\"[Oggi a\"+(1<this.hours()?\"lle \":0===this.hours()?\" \":\"ll'\")+\"]LT\"},nextDay:function(){return\"[Domani a\"+(1<this.hours()?\"lle \":0===this.hours()?\" \":\"ll'\")+\"]LT\"},nextWeek:function(){return\"dddd [a\"+(1<this.hours()?\"lle \":0===this.hours()?\" \":\"ll'\")+\"]LT\"},lastDay:function(){return\"[Ieri a\"+(1<this.hours()?\"lle \":0===this.hours()?\" \":\"ll'\")+\"]LT\"},lastWeek:function(){switch(this.day()){case 0:return\"[La scorsa] dddd [a\"+(1<this.hours()?\"lle \":0===this.hours()?\" \":\"ll'\")+\"]LT\";default:return\"[Lo scorso] dddd [a\"+(1<this.hours()?\"lle \":0===this.hours()?\" \":\"ll'\")+\"]LT\"}},sameElse:\"L\"},relativeTime:{future:\"tra %s\",past:\"%s fa\",s:\"alcuni secondi\",ss:\"%d secondi\",m:\"un minuto\",mm:\"%d minuti\",h:\"un'ora\",hh:\"%d ore\",d:\"un giorno\",dd:\"%d giorni\",w:\"una settimana\",ww:\"%d settimane\",M:\"un mese\",MM:\"%d mesi\",y:\"un anno\",yy:\"%d anni\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"ja\",{eras:[{since:\"2019-05-01\",offset:1,name:\"\\u4ee4\\u548c\",narrow:\"\\u32ff\",abbr:\"R\"},{since:\"1989-01-08\",until:\"2019-04-30\",offset:1,name:\"\\u5e73\\u6210\",narrow:\"\\u337b\",abbr:\"H\"},{since:\"1926-12-25\",until:\"1989-01-07\",offset:1,name:\"\\u662d\\u548c\",narrow:\"\\u337c\",abbr:\"S\"},{since:\"1912-07-30\",until:\"1926-12-24\",offset:1,name:\"\\u5927\\u6b63\",narrow:\"\\u337d\",abbr:\"T\"},{since:\"1873-01-01\",until:\"1912-07-29\",offset:6,name:\"\\u660e\\u6cbb\",narrow:\"\\u337e\",abbr:\"M\"},{since:\"0001-01-01\",until:\"1873-12-31\",offset:1,name:\"\\u897f\\u66a6\",narrow:\"AD\",abbr:\"AD\"},{since:\"0000-12-31\",until:-1/0,offset:1,name:\"\\u7d00\\u5143\\u524d\",narrow:\"BC\",abbr:\"BC\"}],eraYearOrdinalRegex:/(\\u5143|\\d+)\\u5e74/,eraYearOrdinalParse:function(e,a){return\"\\u5143\"===a[1]?1:parseInt(a[1]||e,10)},months:\"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708\".split(\"_\"),monthsShort:\"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708\".split(\"_\"),weekdays:\"\\u65e5\\u66dc\\u65e5_\\u6708\\u66dc\\u65e5_\\u706b\\u66dc\\u65e5_\\u6c34\\u66dc\\u65e5_\\u6728\\u66dc\\u65e5_\\u91d1\\u66dc\\u65e5_\\u571f\\u66dc\\u65e5\".split(\"_\"),weekdaysShort:\"\\u65e5_\\u6708_\\u706b_\\u6c34_\\u6728_\\u91d1_\\u571f\".split(\"_\"),weekdaysMin:\"\\u65e5_\\u6708_\\u706b_\\u6c34_\\u6728_\\u91d1_\\u571f\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY/MM/DD\",LL:\"YYYY\\u5e74M\\u6708D\\u65e5\",LLL:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",LLLL:\"YYYY\\u5e74M\\u6708D\\u65e5 dddd HH:mm\",l:\"YYYY/MM/DD\",ll:\"YYYY\\u5e74M\\u6708D\\u65e5\",lll:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",llll:\"YYYY\\u5e74M\\u6708D\\u65e5(ddd) HH:mm\"},meridiemParse:/\\u5348\\u524d|\\u5348\\u5f8c/i,isPM:function(e){return\"\\u5348\\u5f8c\"===e},meridiem:function(e,a,t){return e<12?\"\\u5348\\u524d\":\"\\u5348\\u5f8c\"},calendar:{sameDay:\"[\\u4eca\\u65e5] LT\",nextDay:\"[\\u660e\\u65e5] LT\",nextWeek:function(e){return e.week()!==this.week()?\"[\\u6765\\u9031]dddd LT\":\"dddd LT\"},lastDay:\"[\\u6628\\u65e5] LT\",lastWeek:function(e){return this.week()!==e.week()?\"[\\u5148\\u9031]dddd LT\":\"dddd LT\"},sameElse:\"L\"},dayOfMonthOrdinalParse:/\\d{1,2}\\u65e5/,ordinal:function(e,a){switch(a){case\"y\":return 1===e?\"\\u5143\\u5e74\":e+\"\\u5e74\";case\"d\":case\"D\":case\"DDD\":return e+\"\\u65e5\";default:return e}},relativeTime:{future:\"%s\\u5f8c\",past:\"%s\\u524d\",s:\"\\u6570\\u79d2\",ss:\"%d\\u79d2\",m:\"1\\u5206\",mm:\"%d\\u5206\",h:\"1\\u6642\\u9593\",hh:\"%d\\u6642\\u9593\",d:\"1\\u65e5\",dd:\"%d\\u65e5\",M:\"1\\u30f6\\u6708\",MM:\"%d\\u30f6\\u6708\",y:\"1\\u5e74\",yy:\"%d\\u5e74\"}}),\n//! moment.js locale configuration\nL.defineLocale(\"jv\",{months:\"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember\".split(\"_\"),monthsShort:\"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des\".split(\"_\"),weekdays:\"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu\".split(\"_\"),weekdaysShort:\"Min_Sen_Sel_Reb_Kem_Jem_Sep\".split(\"_\"),weekdaysMin:\"Mg_Sn_Sl_Rb_Km_Jm_Sp\".split(\"_\"),longDateFormat:{LT:\"HH.mm\",LTS:\"HH.mm.ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY [pukul] HH.mm\",LLLL:\"dddd, D MMMM YYYY [pukul] HH.mm\"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,a){return 12===e&&(e=0),\"enjing\"===a?e:\"siyang\"===a?11<=e?e:e+12:\"sonten\"===a||\"ndalu\"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?\"enjing\":e<15?\"siyang\":e<19?\"sonten\":\"ndalu\"},calendar:{sameDay:\"[Dinten puniko pukul] LT\",nextDay:\"[Mbenjang pukul] LT\",nextWeek:\"dddd [pukul] LT\",lastDay:\"[Kala wingi pukul] LT\",lastWeek:\"dddd [kepengker pukul] LT\",sameElse:\"L\"},relativeTime:{future:\"wonten ing %s\",past:\"%s ingkang kepengker\",s:\"sawetawis detik\",ss:\"%d detik\",m:\"setunggal menit\",mm:\"%d menit\",h:\"setunggal jam\",hh:\"%d jam\",d:\"sedinten\",dd:\"%d dinten\",M:\"sewulan\",MM:\"%d wulan\",y:\"setaun\",yy:\"%d taun\"},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"ka\",{months:\"\\u10d8\\u10d0\\u10dc\\u10d5\\u10d0\\u10e0\\u10d8_\\u10d7\\u10d4\\u10d1\\u10d4\\u10e0\\u10d5\\u10d0\\u10da\\u10d8_\\u10db\\u10d0\\u10e0\\u10e2\\u10d8_\\u10d0\\u10de\\u10e0\\u10d8\\u10da\\u10d8_\\u10db\\u10d0\\u10d8\\u10e1\\u10d8_\\u10d8\\u10d5\\u10dc\\u10d8\\u10e1\\u10d8_\\u10d8\\u10d5\\u10da\\u10d8\\u10e1\\u10d8_\\u10d0\\u10d2\\u10d5\\u10d8\\u10e1\\u10e2\\u10dd_\\u10e1\\u10d4\\u10e5\\u10e2\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8_\\u10dd\\u10e5\\u10e2\\u10dd\\u10db\\u10d1\\u10d4\\u10e0\\u10d8_\\u10dc\\u10dd\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8_\\u10d3\\u10d4\\u10d9\\u10d4\\u10db\\u10d1\\u10d4\\u10e0\\u10d8\".split(\"_\"),monthsShort:\"\\u10d8\\u10d0\\u10dc_\\u10d7\\u10d4\\u10d1_\\u10db\\u10d0\\u10e0_\\u10d0\\u10de\\u10e0_\\u10db\\u10d0\\u10d8_\\u10d8\\u10d5\\u10dc_\\u10d8\\u10d5\\u10da_\\u10d0\\u10d2\\u10d5_\\u10e1\\u10d4\\u10e5_\\u10dd\\u10e5\\u10e2_\\u10dc\\u10dd\\u10d4_\\u10d3\\u10d4\\u10d9\".split(\"_\"),weekdays:{standalone:\"\\u10d9\\u10d5\\u10d8\\u10e0\\u10d0_\\u10dd\\u10e0\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8_\\u10e1\\u10d0\\u10db\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8_\\u10dd\\u10d7\\u10ee\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8_\\u10ee\\u10e3\\u10d7\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8_\\u10de\\u10d0\\u10e0\\u10d0\\u10e1\\u10d9\\u10d4\\u10d5\\u10d8_\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10d8\".split(\"_\"),format:\"\\u10d9\\u10d5\\u10d8\\u10e0\\u10d0\\u10e1_\\u10dd\\u10e0\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10e1_\\u10e1\\u10d0\\u10db\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10e1_\\u10dd\\u10d7\\u10ee\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10e1_\\u10ee\\u10e3\\u10d7\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10e1_\\u10de\\u10d0\\u10e0\\u10d0\\u10e1\\u10d9\\u10d4\\u10d5\\u10e1_\\u10e8\\u10d0\\u10d1\\u10d0\\u10d7\\u10e1\".split(\"_\"),isFormat:/(\\u10ec\\u10d8\\u10dc\\u10d0|\\u10e8\\u10d4\\u10db\\u10d3\\u10d4\\u10d2)/},weekdaysShort:\"\\u10d9\\u10d5\\u10d8_\\u10dd\\u10e0\\u10e8_\\u10e1\\u10d0\\u10db_\\u10dd\\u10d7\\u10ee_\\u10ee\\u10e3\\u10d7_\\u10de\\u10d0\\u10e0_\\u10e8\\u10d0\\u10d1\".split(\"_\"),weekdaysMin:\"\\u10d9\\u10d5_\\u10dd\\u10e0_\\u10e1\\u10d0_\\u10dd\\u10d7_\\u10ee\\u10e3_\\u10de\\u10d0_\\u10e8\\u10d0\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u10d3\\u10e6\\u10d4\\u10e1] LT[-\\u10d6\\u10d4]\",nextDay:\"[\\u10ee\\u10d5\\u10d0\\u10da] LT[-\\u10d6\\u10d4]\",lastDay:\"[\\u10d2\\u10e3\\u10e8\\u10d8\\u10dc] LT[-\\u10d6\\u10d4]\",nextWeek:\"[\\u10e8\\u10d4\\u10db\\u10d3\\u10d4\\u10d2] dddd LT[-\\u10d6\\u10d4]\",lastWeek:\"[\\u10ec\\u10d8\\u10dc\\u10d0] dddd LT-\\u10d6\\u10d4\",sameElse:\"L\"},relativeTime:{future:function(e){return e.replace(/(\\u10ec\\u10d0\\u10db|\\u10ec\\u10e3\\u10d7|\\u10e1\\u10d0\\u10d0\\u10d7|\\u10ec\\u10d4\\u10da|\\u10d3\\u10e6|\\u10d7\\u10d5)(\\u10d8|\\u10d4)/,function(e,a,t){return\"\\u10d8\"===t?a+\"\\u10e8\\u10d8\":a+t+\"\\u10e8\\u10d8\"})},past:function(e){return/(\\u10ec\\u10d0\\u10db\\u10d8|\\u10ec\\u10e3\\u10d7\\u10d8|\\u10e1\\u10d0\\u10d0\\u10d7\\u10d8|\\u10d3\\u10e6\\u10d4|\\u10d7\\u10d5\\u10d4)/.test(e)?e.replace(/(\\u10d8|\\u10d4)$/,\"\\u10d8\\u10e1 \\u10ec\\u10d8\\u10dc\"):/\\u10ec\\u10d4\\u10da\\u10d8/.test(e)?e.replace(/\\u10ec\\u10d4\\u10da\\u10d8$/,\"\\u10ec\\u10da\\u10d8\\u10e1 \\u10ec\\u10d8\\u10dc\"):e},s:\"\\u10e0\\u10d0\\u10db\\u10d3\\u10d4\\u10dc\\u10d8\\u10db\\u10d4 \\u10ec\\u10d0\\u10db\\u10d8\",ss:\"%d \\u10ec\\u10d0\\u10db\\u10d8\",m:\"\\u10ec\\u10e3\\u10d7\\u10d8\",mm:\"%d \\u10ec\\u10e3\\u10d7\\u10d8\",h:\"\\u10e1\\u10d0\\u10d0\\u10d7\\u10d8\",hh:\"%d \\u10e1\\u10d0\\u10d0\\u10d7\\u10d8\",d:\"\\u10d3\\u10e6\\u10d4\",dd:\"%d \\u10d3\\u10e6\\u10d4\",M:\"\\u10d7\\u10d5\\u10d4\",MM:\"%d \\u10d7\\u10d5\\u10d4\",y:\"\\u10ec\\u10d4\\u10da\\u10d8\",yy:\"%d \\u10ec\\u10d4\\u10da\\u10d8\"},dayOfMonthOrdinalParse:/0|1-\\u10da\\u10d8|\\u10db\\u10d4-\\d{1,2}|\\d{1,2}-\\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+\"-\\u10da\\u10d8\":e<20||e<=100&&e%20==0||e%100==0?\"\\u10db\\u10d4-\"+e:e+\"-\\u10d4\"},week:{dow:1,doy:7}});\n//! moment.js locale configuration\nvar Us={0:\"-\\u0448\\u0456\",1:\"-\\u0448\\u0456\",2:\"-\\u0448\\u0456\",3:\"-\\u0448\\u0456\",4:\"-\\u0448\\u0456\",5:\"-\\u0448\\u0456\",6:\"-\\u0448\\u044b\",7:\"-\\u0448\\u0456\",8:\"-\\u0448\\u0456\",9:\"-\\u0448\\u044b\",10:\"-\\u0448\\u044b\",20:\"-\\u0448\\u044b\",30:\"-\\u0448\\u044b\",40:\"-\\u0448\\u044b\",50:\"-\\u0448\\u0456\",60:\"-\\u0448\\u044b\",70:\"-\\u0448\\u0456\",80:\"-\\u0448\\u0456\",90:\"-\\u0448\\u044b\",100:\"-\\u0448\\u0456\"},Gs=(L.defineLocale(\"kk\",{months:\"\\u049b\\u0430\\u04a3\\u0442\\u0430\\u0440_\\u0430\\u049b\\u043f\\u0430\\u043d_\\u043d\\u0430\\u0443\\u0440\\u044b\\u0437_\\u0441\\u04d9\\u0443\\u0456\\u0440_\\u043c\\u0430\\u043c\\u044b\\u0440_\\u043c\\u0430\\u0443\\u0441\\u044b\\u043c_\\u0448\\u0456\\u043b\\u0434\\u0435_\\u0442\\u0430\\u043c\\u044b\\u0437_\\u049b\\u044b\\u0440\\u043a\\u04af\\u0439\\u0435\\u043a_\\u049b\\u0430\\u0437\\u0430\\u043d_\\u049b\\u0430\\u0440\\u0430\\u0448\\u0430_\\u0436\\u0435\\u043b\\u0442\\u043e\\u049b\\u0441\\u0430\\u043d\".split(\"_\"),monthsShort:\"\\u049b\\u0430\\u04a3_\\u0430\\u049b\\u043f_\\u043d\\u0430\\u0443_\\u0441\\u04d9\\u0443_\\u043c\\u0430\\u043c_\\u043c\\u0430\\u0443_\\u0448\\u0456\\u043b_\\u0442\\u0430\\u043c_\\u049b\\u044b\\u0440_\\u049b\\u0430\\u0437_\\u049b\\u0430\\u0440_\\u0436\\u0435\\u043b\".split(\"_\"),weekdays:\"\\u0436\\u0435\\u043a\\u0441\\u0435\\u043d\\u0431\\u0456_\\u0434\\u04af\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456_\\u0441\\u0435\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456_\\u0441\\u04d9\\u0440\\u0441\\u0435\\u043d\\u0431\\u0456_\\u0431\\u0435\\u0439\\u0441\\u0435\\u043d\\u0431\\u0456_\\u0436\\u04b1\\u043c\\u0430_\\u0441\\u0435\\u043d\\u0431\\u0456\".split(\"_\"),weekdaysShort:\"\\u0436\\u0435\\u043a_\\u0434\\u04af\\u0439_\\u0441\\u0435\\u0439_\\u0441\\u04d9\\u0440_\\u0431\\u0435\\u0439_\\u0436\\u04b1\\u043c_\\u0441\\u0435\\u043d\".split(\"_\"),weekdaysMin:\"\\u0436\\u043a_\\u0434\\u0439_\\u0441\\u0439_\\u0441\\u0440_\\u0431\\u0439_\\u0436\\u043c_\\u0441\\u043d\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u0411\\u04af\\u0433\\u0456\\u043d \\u0441\\u0430\\u0493\\u0430\\u0442] LT\",nextDay:\"[\\u0415\\u0440\\u0442\\u0435\\u04a3 \\u0441\\u0430\\u0493\\u0430\\u0442] LT\",nextWeek:\"dddd [\\u0441\\u0430\\u0493\\u0430\\u0442] LT\",lastDay:\"[\\u041a\\u0435\\u0448\\u0435 \\u0441\\u0430\\u0493\\u0430\\u0442] LT\",lastWeek:\"[\\u04e8\\u0442\\u043a\\u0435\\u043d \\u0430\\u043f\\u0442\\u0430\\u043d\\u044b\\u04a3] dddd [\\u0441\\u0430\\u0493\\u0430\\u0442] LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0456\\u0448\\u0456\\u043d\\u0434\\u0435\",past:\"%s \\u0431\\u04b1\\u0440\\u044b\\u043d\",s:\"\\u0431\\u0456\\u0440\\u043d\\u0435\\u0448\\u0435 \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",ss:\"%d \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",m:\"\\u0431\\u0456\\u0440 \\u043c\\u0438\\u043d\\u0443\\u0442\",mm:\"%d \\u043c\\u0438\\u043d\\u0443\\u0442\",h:\"\\u0431\\u0456\\u0440 \\u0441\\u0430\\u0493\\u0430\\u0442\",hh:\"%d \\u0441\\u0430\\u0493\\u0430\\u0442\",d:\"\\u0431\\u0456\\u0440 \\u043a\\u04af\\u043d\",dd:\"%d \\u043a\\u04af\\u043d\",M:\"\\u0431\\u0456\\u0440 \\u0430\\u0439\",MM:\"%d \\u0430\\u0439\",y:\"\\u0431\\u0456\\u0440 \\u0436\\u044b\\u043b\",yy:\"%d \\u0436\\u044b\\u043b\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0448\\u0456|\\u0448\\u044b)/,ordinal:function(e){return e+(Us[e]||Us[e%10]||Us[100<=e?100:null])},week:{dow:1,doy:7}}),{1:\"\\u17e1\",2:\"\\u17e2\",3:\"\\u17e3\",4:\"\\u17e4\",5:\"\\u17e5\",6:\"\\u17e6\",7:\"\\u17e7\",8:\"\\u17e8\",9:\"\\u17e9\",0:\"\\u17e0\"}),Vs={\"\\u17e1\":\"1\",\"\\u17e2\":\"2\",\"\\u17e3\":\"3\",\"\\u17e4\":\"4\",\"\\u17e5\":\"5\",\"\\u17e6\":\"6\",\"\\u17e7\":\"7\",\"\\u17e8\":\"8\",\"\\u17e9\":\"9\",\"\\u17e0\":\"0\"},$s=(L.defineLocale(\"km\",{months:\"\\u1798\\u1780\\u179a\\u17b6_\\u1780\\u17bb\\u1798\\u17d2\\u1797\\u17c8_\\u1798\\u17b8\\u1793\\u17b6_\\u1798\\u17c1\\u179f\\u17b6_\\u17a7\\u179f\\u1797\\u17b6_\\u1798\\u17b7\\u1790\\u17bb\\u1793\\u17b6_\\u1780\\u1780\\u17d2\\u1780\\u178a\\u17b6_\\u179f\\u17b8\\u17a0\\u17b6_\\u1780\\u1789\\u17d2\\u1789\\u17b6_\\u178f\\u17bb\\u179b\\u17b6_\\u179c\\u17b7\\u1785\\u17d2\\u1786\\u17b7\\u1780\\u17b6_\\u1792\\u17d2\\u1793\\u17bc\".split(\"_\"),monthsShort:\"\\u1798\\u1780\\u179a\\u17b6_\\u1780\\u17bb\\u1798\\u17d2\\u1797\\u17c8_\\u1798\\u17b8\\u1793\\u17b6_\\u1798\\u17c1\\u179f\\u17b6_\\u17a7\\u179f\\u1797\\u17b6_\\u1798\\u17b7\\u1790\\u17bb\\u1793\\u17b6_\\u1780\\u1780\\u17d2\\u1780\\u178a\\u17b6_\\u179f\\u17b8\\u17a0\\u17b6_\\u1780\\u1789\\u17d2\\u1789\\u17b6_\\u178f\\u17bb\\u179b\\u17b6_\\u179c\\u17b7\\u1785\\u17d2\\u1786\\u17b7\\u1780\\u17b6_\\u1792\\u17d2\\u1793\\u17bc\".split(\"_\"),weekdays:\"\\u17a2\\u17b6\\u1791\\u17b7\\u178f\\u17d2\\u1799_\\u1785\\u17d0\\u1793\\u17d2\\u1791_\\u17a2\\u1784\\u17d2\\u1782\\u17b6\\u179a_\\u1796\\u17bb\\u1792_\\u1796\\u17d2\\u179a\\u17a0\\u179f\\u17d2\\u1794\\u178f\\u17b7\\u17cd_\\u179f\\u17bb\\u1780\\u17d2\\u179a_\\u179f\\u17c5\\u179a\\u17cd\".split(\"_\"),weekdaysShort:\"\\u17a2\\u17b6_\\u1785_\\u17a2_\\u1796_\\u1796\\u17d2\\u179a_\\u179f\\u17bb_\\u179f\".split(\"_\"),weekdaysMin:\"\\u17a2\\u17b6_\\u1785_\\u17a2_\\u1796_\\u1796\\u17d2\\u179a_\\u179f\\u17bb_\\u179f\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},meridiemParse:/\\u1796\\u17d2\\u179a\\u17b9\\u1780|\\u179b\\u17d2\\u1784\\u17b6\\u1785/,isPM:function(e){return\"\\u179b\\u17d2\\u1784\\u17b6\\u1785\"===e},meridiem:function(e,a,t){return e<12?\"\\u1796\\u17d2\\u179a\\u17b9\\u1780\":\"\\u179b\\u17d2\\u1784\\u17b6\\u1785\"},calendar:{sameDay:\"[\\u1790\\u17d2\\u1784\\u17c3\\u1793\\u17c1\\u17c7 \\u1798\\u17c9\\u17c4\\u1784] LT\",nextDay:\"[\\u179f\\u17d2\\u17a2\\u17c2\\u1780 \\u1798\\u17c9\\u17c4\\u1784] LT\",nextWeek:\"dddd [\\u1798\\u17c9\\u17c4\\u1784] LT\",lastDay:\"[\\u1798\\u17d2\\u179f\\u17b7\\u179b\\u1798\\u17b7\\u1789 \\u1798\\u17c9\\u17c4\\u1784] LT\",lastWeek:\"dddd [\\u179f\\u1794\\u17d2\\u178f\\u17b6\\u17a0\\u17cd\\u1798\\u17bb\\u1793] [\\u1798\\u17c9\\u17c4\\u1784] LT\",sameElse:\"L\"},relativeTime:{future:\"%s\\u1791\\u17c0\\u178f\",past:\"%s\\u1798\\u17bb\\u1793\",s:\"\\u1794\\u17c9\\u17bb\\u1793\\u17d2\\u1798\\u17b6\\u1793\\u179c\\u17b7\\u1793\\u17b6\\u1791\\u17b8\",ss:\"%d \\u179c\\u17b7\\u1793\\u17b6\\u1791\\u17b8\",m:\"\\u1798\\u17bd\\u1799\\u1793\\u17b6\\u1791\\u17b8\",mm:\"%d \\u1793\\u17b6\\u1791\\u17b8\",h:\"\\u1798\\u17bd\\u1799\\u1798\\u17c9\\u17c4\\u1784\",hh:\"%d \\u1798\\u17c9\\u17c4\\u1784\",d:\"\\u1798\\u17bd\\u1799\\u1790\\u17d2\\u1784\\u17c3\",dd:\"%d \\u1790\\u17d2\\u1784\\u17c3\",M:\"\\u1798\\u17bd\\u1799\\u1781\\u17c2\",MM:\"%d \\u1781\\u17c2\",y:\"\\u1798\\u17bd\\u1799\\u1786\\u17d2\\u1793\\u17b6\\u17c6\",yy:\"%d \\u1786\\u17d2\\u1793\\u17b6\\u17c6\"},dayOfMonthOrdinalParse:/\\u1791\\u17b8\\d{1,2}/,ordinal:\"\\u1791\\u17b8%d\",preparse:function(e){return e.replace(/[\\u17e1\\u17e2\\u17e3\\u17e4\\u17e5\\u17e6\\u17e7\\u17e8\\u17e9\\u17e0]/g,function(e){return Vs[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return Gs[e]})},week:{dow:1,doy:4}}),{1:\"\\u0ce7\",2:\"\\u0ce8\",3:\"\\u0ce9\",4:\"\\u0cea\",5:\"\\u0ceb\",6:\"\\u0cec\",7:\"\\u0ced\",8:\"\\u0cee\",9:\"\\u0cef\",0:\"\\u0ce6\"}),qs={\"\\u0ce7\":\"1\",\"\\u0ce8\":\"2\",\"\\u0ce9\":\"3\",\"\\u0cea\":\"4\",\"\\u0ceb\":\"5\",\"\\u0cec\":\"6\",\"\\u0ced\":\"7\",\"\\u0cee\":\"8\",\"\\u0cef\":\"9\",\"\\u0ce6\":\"0\"};\n//! moment.js locale configuration\nfunction O(e,a,t,s){e={s:[\"\\xe7end san\\xeeye\",\"\\xe7end san\\xeeyeyan\"],ss:[e+\" san\\xeeye\",e+\" san\\xeeyeyan\"],m:[\"deq\\xeeqeyek\",\"deq\\xeeqeyek\\xea\"],mm:[e+\" deq\\xeeqe\",e+\" deq\\xeeqeyan\"],h:[\"saetek\",\"saetek\\xea\"],hh:[e+\" saet\",e+\" saetan\"],d:[\"rojek\",\"rojek\\xea\"],dd:[e+\" roj\",e+\" rojan\"],w:[\"hefteyek\",\"hefteyek\\xea\"],ww:[e+\" hefte\",e+\" hefteyan\"],M:[\"mehek\",\"mehek\\xea\"],MM:[e+\" meh\",e+\" mehan\"],y:[\"salek\",\"salek\\xea\"],yy:[e+\" sal\",e+\" salan\"]};return a?e[t][0]:e[t][1]}L.defineLocale(\"kn\",{months:\"\\u0c9c\\u0ca8\\u0cb5\\u0cb0\\u0cbf_\\u0cab\\u0cc6\\u0cac\\u0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u0cc2\\u0cd5\\u0cae\\u0cb5\\u0cbe\\u0cb0_\\u0cae\\u0c82\\u0c97\\u0cb3\\u0cb5\\u0cbe\\u0cb0_\\u0cac\\u0cc1\\u0ca7\\u0cb5\\u0cbe\\u0cb0_\\u0c97\\u0cc1\\u0cb0\\u0cc1\\u0cb5\\u0cbe\\u0cb0_\\u0cb6\\u0cc1\\u0c95\\u0ccd\\u0cb0\\u0cb5\\u0cbe\\u0cb0_\\u0cb6\\u0ca8\\u0cbf\\u0cb5\\u0cbe\\u0cb0\".split(\"_\"),weekdaysShort:\"\\u0cad\\u0cbe\\u0ca8\\u0cc1_\\u0cb8\\u0cc6\\u0cc2\\u0cd5\\u0cae_\\u0cae\\u0c82\\u0c97\\u0cb3_\\u0cac\\u0cc1\\u0ca7_\\u0c97\\u0cc1\\u0cb0\\u0cc1_\\u0cb6\\u0cc1\\u0c95\\u0ccd\\u0cb0_\\u0cb6\\u0ca8\\u0cbf\".split(\"_\"),weekdaysMin:\"\\u0cad\\u0cbe_\\u0cb8\\u0cc6\\u0cc2\\u0cd5_\\u0cae\\u0c82_\\u0cac\\u0cc1_\\u0c97\\u0cc1_\\u0cb6\\u0cc1_\\u0cb6\".split(\"_\"),longDateFormat:{LT:\"A h:mm\",LTS:\"A h:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm\",LLLL:\"dddd, D MMMM YYYY, A h:mm\"},calendar:{sameDay:\"[\\u0c87\\u0c82\\u0ca6\\u0cc1] LT\",nextDay:\"[\\u0ca8\\u0cbe\\u0cb3\\u0cc6] LT\",nextWeek:\"dddd, LT\",lastDay:\"[\\u0ca8\\u0cbf\\u0ca8\\u0ccd\\u0ca8\\u0cc6] LT\",lastWeek:\"[\\u0c95\\u0cc6\\u0cc2\\u0ca8\\u0cc6\\u0caf] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0ca8\\u0c82\\u0ca4\\u0cb0\",past:\"%s \\u0cb9\\u0cbf\\u0c82\\u0ca6\\u0cc6\",s:\"\\u0c95\\u0cc6\\u0cb2\\u0cb5\\u0cc1 \\u0c95\\u0ccd\\u0cb7\\u0ca3\\u0c97\\u0cb3\\u0cc1\",ss:\"%d \\u0cb8\\u0cc6\\u0c95\\u0cc6\\u0c82\\u0ca1\\u0cc1\\u0c97\\u0cb3\\u0cc1\",m:\"\\u0c92\\u0c82\\u0ca6\\u0cc1 \\u0ca8\\u0cbf\\u0cae\\u0cbf\\u0cb7\",mm:\"%d \\u0ca8\\u0cbf\\u0cae\\u0cbf\\u0cb7\",h:\"\\u0c92\\u0c82\\u0ca6\\u0cc1 \\u0c97\\u0c82\\u0c9f\\u0cc6\",hh:\"%d \\u0c97\\u0c82\\u0c9f\\u0cc6\",d:\"\\u0c92\\u0c82\\u0ca6\\u0cc1 \\u0ca6\\u0cbf\\u0ca8\",dd:\"%d \\u0ca6\\u0cbf\\u0ca8\",M:\"\\u0c92\\u0c82\\u0ca6\\u0cc1 \\u0ca4\\u0cbf\\u0c82\\u0c97\\u0cb3\\u0cc1\",MM:\"%d \\u0ca4\\u0cbf\\u0c82\\u0c97\\u0cb3\\u0cc1\",y:\"\\u0c92\\u0c82\\u0ca6\\u0cc1 \\u0cb5\\u0cb0\\u0ccd\\u0cb7\",yy:\"%d \\u0cb5\\u0cb0\\u0ccd\\u0cb7\"},preparse:function(e){return e.replace(/[\\u0ce7\\u0ce8\\u0ce9\\u0cea\\u0ceb\\u0cec\\u0ced\\u0cee\\u0cef\\u0ce6]/g,function(e){return qs[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return $s[e]})},meridiemParse:/\\u0cb0\\u0cbe\\u0ca4\\u0ccd\\u0cb0\\u0cbf|\\u0cac\\u0cc6\\u0cb3\\u0cbf\\u0c97\\u0ccd\\u0c97\\u0cc6|\\u0cae\\u0ca7\\u0ccd\\u0caf\\u0cbe\\u0cb9\\u0ccd\\u0ca8|\\u0cb8\\u0c82\\u0c9c\\u0cc6/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0cb0\\u0cbe\\u0ca4\\u0ccd\\u0cb0\\u0cbf\"===a?e<4?e:e+12:\"\\u0cac\\u0cc6\\u0cb3\\u0cbf\\u0c97\\u0ccd\\u0c97\\u0cc6\"===a?e:\"\\u0cae\\u0ca7\\u0ccd\\u0caf\\u0cbe\\u0cb9\\u0ccd\\u0ca8\"===a?10<=e?e:e+12:\"\\u0cb8\\u0c82\\u0c9c\\u0cc6\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"\\u0cb0\\u0cbe\\u0ca4\\u0ccd\\u0cb0\\u0cbf\":e<10?\"\\u0cac\\u0cc6\\u0cb3\\u0cbf\\u0c97\\u0ccd\\u0c97\\u0cc6\":e<17?\"\\u0cae\\u0ca7\\u0ccd\\u0caf\\u0cbe\\u0cb9\\u0ccd\\u0ca8\":e<20?\"\\u0cb8\\u0c82\\u0c9c\\u0cc6\":\"\\u0cb0\\u0cbe\\u0ca4\\u0ccd\\u0cb0\\u0cbf\"},dayOfMonthOrdinalParse:/\\d{1,2}(\\u0ca8\\u0cc6\\u0cd5)/,ordinal:function(e){return e+\"\\u0ca8\\u0cc6\\u0cd5\"},week:{dow:0,doy:6}}),\n//! moment.js locale configuration\nL.defineLocale(\"ko\",{months:\"1\\uc6d4_2\\uc6d4_3\\uc6d4_4\\uc6d4_5\\uc6d4_6\\uc6d4_7\\uc6d4_8\\uc6d4_9\\uc6d4_10\\uc6d4_11\\uc6d4_12\\uc6d4\".split(\"_\"),monthsShort:\"1\\uc6d4_2\\uc6d4_3\\uc6d4_4\\uc6d4_5\\uc6d4_6\\uc6d4_7\\uc6d4_8\\uc6d4_9\\uc6d4_10\\uc6d4_11\\uc6d4_12\\uc6d4\".split(\"_\"),weekdays:\"\\uc77c\\uc694\\uc77c_\\uc6d4\\uc694\\uc77c_\\ud654\\uc694\\uc77c_\\uc218\\uc694\\uc77c_\\ubaa9\\uc694\\uc77c_\\uae08\\uc694\\uc77c_\\ud1a0\\uc694\\uc77c\".split(\"_\"),weekdaysShort:\"\\uc77c_\\uc6d4_\\ud654_\\uc218_\\ubaa9_\\uae08_\\ud1a0\".split(\"_\"),weekdaysMin:\"\\uc77c_\\uc6d4_\\ud654_\\uc218_\\ubaa9_\\uae08_\\ud1a0\".split(\"_\"),longDateFormat:{LT:\"A h:mm\",LTS:\"A h:mm:ss\",L:\"YYYY.MM.DD.\",LL:\"YYYY\\ub144 MMMM D\\uc77c\",LLL:\"YYYY\\ub144 MMMM D\\uc77c A h:mm\",LLLL:\"YYYY\\ub144 MMMM D\\uc77c dddd A h:mm\",l:\"YYYY.MM.DD.\",ll:\"YYYY\\ub144 MMMM D\\uc77c\",lll:\"YYYY\\ub144 MMMM D\\uc77c A h:mm\",llll:\"YYYY\\ub144 MMMM D\\uc77c dddd A h:mm\"},calendar:{sameDay:\"\\uc624\\ub298 LT\",nextDay:\"\\ub0b4\\uc77c LT\",nextWeek:\"dddd LT\",lastDay:\"\\uc5b4\\uc81c LT\",lastWeek:\"\\uc9c0\\ub09c\\uc8fc dddd LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\ud6c4\",past:\"%s \\uc804\",s:\"\\uba87 \\ucd08\",ss:\"%d\\ucd08\",m:\"1\\ubd84\",mm:\"%d\\ubd84\",h:\"\\ud55c \\uc2dc\\uac04\",hh:\"%d\\uc2dc\\uac04\",d:\"\\ud558\\ub8e8\",dd:\"%d\\uc77c\",M:\"\\ud55c \\ub2ec\",MM:\"%d\\ub2ec\",y:\"\\uc77c \\ub144\",yy:\"%d\\ub144\"},dayOfMonthOrdinalParse:/\\d{1,2}(\\uc77c|\\uc6d4|\\uc8fc)/,ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"DDD\":return e+\"\\uc77c\";case\"M\":return e+\"\\uc6d4\";case\"w\":case\"W\":return e+\"\\uc8fc\";default:return e}},meridiemParse:/\\uc624\\uc804|\\uc624\\ud6c4/,isPM:function(e){return\"\\uc624\\ud6c4\"===e},meridiem:function(e,a,t){return e<12?\"\\uc624\\uc804\":\"\\uc624\\ud6c4\"}}),L.defineLocale(\"ku-kmr\",{months:\"R\\xeabendan_Sibat_Adar_N\\xeesan_Gulan_Hez\\xeeran_T\\xeermeh_Tebax_\\xcelon_Cotmeh_Mijdar_Berfanbar\".split(\"_\"),monthsShort:\"R\\xeab_Sib_Ada_N\\xees_Gul_Hez_T\\xeer_Teb_\\xcelo_Cot_Mij_Ber\".split(\"_\"),monthsParseExact:!0,weekdays:\"Yek\\u015fem_Du\\u015fem_S\\xea\\u015fem_\\xc7ar\\u015fem_P\\xeanc\\u015fem_\\xcen_\\u015eem\\xee\".split(\"_\"),weekdaysShort:\"Yek_Du_S\\xea_\\xc7ar_P\\xean_\\xcen_\\u015eem\".split(\"_\"),weekdaysMin:\"Ye_Du_S\\xea_\\xc7a_P\\xea_\\xcen_\\u015ee\".split(\"_\"),meridiem:function(e,a,t){return e<12?t?\"bn\":\"BN\":t?\"pn\":\"PN\"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"Do MMMM[a] YYYY[an]\",LLL:\"Do MMMM[a] YYYY[an] HH:mm\",LLLL:\"dddd, Do MMMM[a] YYYY[an] HH:mm\",ll:\"Do MMM[.] YYYY[an]\",lll:\"Do MMM[.] YYYY[an] HH:mm\",llll:\"ddd[.], Do MMM[.] YYYY[an] HH:mm\"},calendar:{sameDay:\"[\\xcero di saet] LT [de]\",nextDay:\"[Sib\\xea di saet] LT [de]\",nextWeek:\"dddd [di saet] LT [de]\",lastDay:\"[Duh di saet] LT [de]\",lastWeek:\"dddd[a bor\\xee di saet] LT [de]\",sameElse:\"L\"},relativeTime:{future:\"di %s de\",past:\"ber\\xee %s\",s:O,ss:O,m:O,mm:O,h:O,hh:O,d:O,dd:O,w:O,ww:O,M:O,MM:O,y:O,yy:O},dayOfMonthOrdinalParse:/\\d{1,2}(?:y\\xea|\\xea|\\.)/,ordinal:function(e,a){var a=a.toLowerCase();return a.includes(\"w\")||a.includes(\"m\")?e+\".\":e+(e=(a=\"\"+(a=e)).substring(a.length-1),12==(a=1<a.length?a.substring(a.length-2):\"\")||13==a||\"2\"!=e&&\"3\"!=e&&\"50\"!=a&&\"70\"!=e&&\"80\"!=e?\"\\xea\":\"y\\xea\")},week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar Bs={1:\"\\u0661\",2:\"\\u0662\",3:\"\\u0663\",4:\"\\u0664\",5:\"\\u0665\",6:\"\\u0666\",7:\"\\u0667\",8:\"\\u0668\",9:\"\\u0669\",0:\"\\u0660\"},Ks={\"\\u0661\":\"1\",\"\\u0662\":\"2\",\"\\u0663\":\"3\",\"\\u0664\":\"4\",\"\\u0665\":\"5\",\"\\u0666\":\"6\",\"\\u0667\":\"7\",\"\\u0668\":\"8\",\"\\u0669\":\"9\",\"\\u0660\":\"0\"},ue=[\"\\u06a9\\u0627\\u0646\\u0648\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\"\\u0634\\u0648\\u0628\\u0627\\u062a\",\"\\u0626\\u0627\\u0632\\u0627\\u0631\",\"\\u0646\\u06cc\\u0633\\u0627\\u0646\",\"\\u0626\\u0627\\u06cc\\u0627\\u0631\",\"\\u062d\\u0648\\u0632\\u06d5\\u06cc\\u0631\\u0627\\u0646\",\"\\u062a\\u06d5\\u0645\\u0645\\u0648\\u0632\",\"\\u0626\\u0627\\u0628\",\"\\u0626\\u06d5\\u06cc\\u0644\\u0648\\u0648\\u0644\",\"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u06cc\\u06d5\\u0643\\u06d5\\u0645\",\"\\u062a\\u0634\\u0631\\u06cc\\u0646\\u06cc \\u062f\\u0648\\u0648\\u06d5\\u0645\",\"\\u0643\\u0627\\u0646\\u0648\\u0646\\u06cc \\u06cc\\u06d5\\u06a9\\u06d5\\u0645\"],Zs=(L.defineLocale(\"ku\",{months:ue,monthsShort:ue,weekdays:\"\\u06cc\\u0647\\u200c\\u0643\\u0634\\u0647\\u200c\\u0645\\u0645\\u0647\\u200c_\\u062f\\u0648\\u0648\\u0634\\u0647\\u200c\\u0645\\u0645\\u0647\\u200c_\\u0633\\u06ce\\u0634\\u0647\\u200c\\u0645\\u0645\\u0647\\u200c_\\u0686\\u0648\\u0627\\u0631\\u0634\\u0647\\u200c\\u0645\\u0645\\u0647\\u200c_\\u067e\\u06ce\\u0646\\u062c\\u0634\\u0647\\u200c\\u0645\\u0645\\u0647\\u200c_\\u0647\\u0647\\u200c\\u06cc\\u0646\\u06cc_\\u0634\\u0647\\u200c\\u0645\\u0645\\u0647\\u200c\".split(\"_\"),weekdaysShort:\"\\u06cc\\u0647\\u200c\\u0643\\u0634\\u0647\\u200c\\u0645_\\u062f\\u0648\\u0648\\u0634\\u0647\\u200c\\u0645_\\u0633\\u06ce\\u0634\\u0647\\u200c\\u0645_\\u0686\\u0648\\u0627\\u0631\\u0634\\u0647\\u200c\\u0645_\\u067e\\u06ce\\u0646\\u062c\\u0634\\u0647\\u200c\\u0645_\\u0647\\u0647\\u200c\\u06cc\\u0646\\u06cc_\\u0634\\u0647\\u200c\\u0645\\u0645\\u0647\\u200c\".split(\"_\"),weekdaysMin:\"\\u06cc_\\u062f_\\u0633_\\u0686_\\u067e_\\u0647_\\u0634\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},meridiemParse:/\\u0626\\u06ce\\u0648\\u0627\\u0631\\u0647\\u200c|\\u0628\\u0647\\u200c\\u06cc\\u0627\\u0646\\u06cc/,isPM:function(e){return/\\u0626\\u06ce\\u0648\\u0627\\u0631\\u0647\\u200c/.test(e)},meridiem:function(e,a,t){return e<12?\"\\u0628\\u0647\\u200c\\u06cc\\u0627\\u0646\\u06cc\":\"\\u0626\\u06ce\\u0648\\u0627\\u0631\\u0647\\u200c\"},calendar:{sameDay:\"[\\u0626\\u0647\\u200c\\u0645\\u0631\\u06c6 \\u0643\\u0627\\u062a\\u0698\\u0645\\u06ce\\u0631] LT\",nextDay:\"[\\u0628\\u0647\\u200c\\u06cc\\u0627\\u0646\\u06cc \\u0643\\u0627\\u062a\\u0698\\u0645\\u06ce\\u0631] LT\",nextWeek:\"dddd [\\u0643\\u0627\\u062a\\u0698\\u0645\\u06ce\\u0631] LT\",lastDay:\"[\\u062f\\u0648\\u06ce\\u0646\\u06ce \\u0643\\u0627\\u062a\\u0698\\u0645\\u06ce\\u0631] LT\",lastWeek:\"dddd [\\u0643\\u0627\\u062a\\u0698\\u0645\\u06ce\\u0631] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0644\\u0647\\u200c %s\",past:\"%s\",s:\"\\u0686\\u0647\\u200c\\u0646\\u062f \\u0686\\u0631\\u0643\\u0647\\u200c\\u06cc\\u0647\\u200c\\u0643\",ss:\"\\u0686\\u0631\\u0643\\u0647\\u200c %d\",m:\"\\u06cc\\u0647\\u200c\\u0643 \\u062e\\u0648\\u0644\\u0647\\u200c\\u0643\",mm:\"%d \\u062e\\u0648\\u0644\\u0647\\u200c\\u0643\",h:\"\\u06cc\\u0647\\u200c\\u0643 \\u0643\\u0627\\u062a\\u0698\\u0645\\u06ce\\u0631\",hh:\"%d \\u0643\\u0627\\u062a\\u0698\\u0645\\u06ce\\u0631\",d:\"\\u06cc\\u0647\\u200c\\u0643 \\u0695\\u06c6\\u0698\",dd:\"%d \\u0695\\u06c6\\u0698\",M:\"\\u06cc\\u0647\\u200c\\u0643 \\u0645\\u0627\\u0646\\u06af\",MM:\"%d \\u0645\\u0627\\u0646\\u06af\",y:\"\\u06cc\\u0647\\u200c\\u0643 \\u0633\\u0627\\u06b5\",yy:\"%d \\u0633\\u0627\\u06b5\"},preparse:function(e){return e.replace(/[\\u0661\\u0662\\u0663\\u0664\\u0665\\u0666\\u0667\\u0668\\u0669\\u0660]/g,function(e){return Ks[e]}).replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/\\d/g,function(e){return Bs[e]}).replace(/,/g,\"\\u060c\")},week:{dow:6,doy:12}}),{0:\"-\\u0447\\u04af\",1:\"-\\u0447\\u0438\",2:\"-\\u0447\\u0438\",3:\"-\\u0447\\u04af\",4:\"-\\u0447\\u04af\",5:\"-\\u0447\\u0438\",6:\"-\\u0447\\u044b\",7:\"-\\u0447\\u0438\",8:\"-\\u0447\\u0438\",9:\"-\\u0447\\u0443\",10:\"-\\u0447\\u0443\",20:\"-\\u0447\\u044b\",30:\"-\\u0447\\u0443\",40:\"-\\u0447\\u044b\",50:\"-\\u0447\\u04af\",60:\"-\\u0447\\u044b\",70:\"-\\u0447\\u0438\",80:\"-\\u0447\\u0438\",90:\"-\\u0447\\u0443\",100:\"-\\u0447\\u04af\"});\n//! moment.js locale configuration\nfunction Qs(e,a,t,s){var n={m:[\"eng Minutt\",\"enger Minutt\"],h:[\"eng Stonn\",\"enger Stonn\"],d:[\"een Dag\",\"engem Dag\"],M:[\"ee Mount\",\"engem Mount\"],y:[\"ee Joer\",\"engem Joer\"]};return a?n[t][0]:n[t][1]}function Xs(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;var a;if(e<100)return Xs(0==(a=e%10)?e/10:a);if(e<1e4){for(;10<=e;)e/=10;return Xs(e)}return Xs(e/=1e3)}L.defineLocale(\"ky\",{months:\"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044c_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044c_\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440\\u0435\\u043b\\u044c_\\u043c\\u0430\\u0439_\\u0438\\u044e\\u043d\\u044c_\\u0438\\u044e\\u043b\\u044c_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044c_\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044c_\\u043d\\u043e\\u044f\\u0431\\u0440\\u044c_\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044c\".split(\"_\"),monthsShort:\"\\u044f\\u043d\\u0432_\\u0444\\u0435\\u0432_\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440_\\u043c\\u0430\\u0439_\\u0438\\u044e\\u043d\\u044c_\\u0438\\u044e\\u043b\\u044c_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043d_\\u043e\\u043a\\u0442_\\u043d\\u043e\\u044f_\\u0434\\u0435\\u043a\".split(\"_\"),weekdays:\"\\u0416\\u0435\\u043a\\u0448\\u0435\\u043c\\u0431\\u0438_\\u0414\\u04af\\u0439\\u0448\\u04e9\\u043c\\u0431\\u04af_\\u0428\\u0435\\u0439\\u0448\\u0435\\u043c\\u0431\\u0438_\\u0428\\u0430\\u0440\\u0448\\u0435\\u043c\\u0431\\u0438_\\u0411\\u0435\\u0439\\u0448\\u0435\\u043c\\u0431\\u0438_\\u0416\\u0443\\u043c\\u0430_\\u0418\\u0448\\u0435\\u043c\\u0431\\u0438\".split(\"_\"),weekdaysShort:\"\\u0416\\u0435\\u043a_\\u0414\\u04af\\u0439_\\u0428\\u0435\\u0439_\\u0428\\u0430\\u0440_\\u0411\\u0435\\u0439_\\u0416\\u0443\\u043c_\\u0418\\u0448\\u0435\".split(\"_\"),weekdaysMin:\"\\u0416\\u043a_\\u0414\\u0439_\\u0428\\u0439_\\u0428\\u0440_\\u0411\\u0439_\\u0416\\u043c_\\u0418\\u0448\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u0411\\u04af\\u0433\\u04af\\u043d \\u0441\\u0430\\u0430\\u0442] LT\",nextDay:\"[\\u042d\\u0440\\u0442\\u0435\\u04a3 \\u0441\\u0430\\u0430\\u0442] LT\",nextWeek:\"dddd [\\u0441\\u0430\\u0430\\u0442] LT\",lastDay:\"[\\u041a\\u0435\\u0447\\u044d\\u044d \\u0441\\u0430\\u0430\\u0442] LT\",lastWeek:\"[\\u04e8\\u0442\\u043a\\u04e9\\u043d \\u0430\\u043f\\u0442\\u0430\\u043d\\u044b\\u043d] dddd [\\u043a\\u04af\\u043d\\u04af] [\\u0441\\u0430\\u0430\\u0442] LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0438\\u0447\\u0438\\u043d\\u0434\\u0435\",past:\"%s \\u043c\\u0443\\u0440\\u0443\\u043d\",s:\"\\u0431\\u0438\\u0440\\u043d\\u0435\\u0447\\u0435 \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",ss:\"%d \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",m:\"\\u0431\\u0438\\u0440 \\u043c\\u04af\\u043d\\u04e9\\u0442\",mm:\"%d \\u043c\\u04af\\u043d\\u04e9\\u0442\",h:\"\\u0431\\u0438\\u0440 \\u0441\\u0430\\u0430\\u0442\",hh:\"%d \\u0441\\u0430\\u0430\\u0442\",d:\"\\u0431\\u0438\\u0440 \\u043a\\u04af\\u043d\",dd:\"%d \\u043a\\u04af\\u043d\",M:\"\\u0431\\u0438\\u0440 \\u0430\\u0439\",MM:\"%d \\u0430\\u0439\",y:\"\\u0431\\u0438\\u0440 \\u0436\\u044b\\u043b\",yy:\"%d \\u0436\\u044b\\u043b\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0447\\u0438|\\u0447\\u044b|\\u0447\\u04af|\\u0447\\u0443)/,ordinal:function(e){return e+(Zs[e]||Zs[e%10]||Zs[100<=e?100:null])},week:{dow:1,doy:7}}),L.defineLocale(\"lb\",{months:\"Januar_Februar_M\\xe4erz_Abr\\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember\".split(\"_\"),monthsShort:\"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.\".split(\"_\"),monthsParseExact:!0,weekdays:\"Sonndeg_M\\xe9indeg_D\\xebnschdeg_M\\xebttwoch_Donneschdeg_Freideg_Samschdeg\".split(\"_\"),weekdaysShort:\"So._M\\xe9._D\\xeb._M\\xeb._Do._Fr._Sa.\".split(\"_\"),weekdaysMin:\"So_M\\xe9_D\\xeb_M\\xeb_Do_Fr_Sa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm [Auer]\",LTS:\"H:mm:ss [Auer]\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY H:mm [Auer]\",LLLL:\"dddd, D. MMMM YYYY H:mm [Auer]\"},calendar:{sameDay:\"[Haut um] LT\",sameElse:\"L\",nextDay:\"[Muer um] LT\",nextWeek:\"dddd [um] LT\",lastDay:\"[G\\xebschter um] LT\",lastWeek:function(){switch(this.day()){case 2:case 4:return\"[Leschten] dddd [um] LT\";default:return\"[Leschte] dddd [um] LT\"}}},relativeTime:{future:function(e){return Xs(e.substr(0,e.indexOf(\" \")))?\"a \"+e:\"an \"+e},past:function(e){return Xs(e.substr(0,e.indexOf(\" \")))?\"viru \"+e:\"virun \"+e},s:\"e puer Sekonnen\",ss:\"%d Sekonnen\",m:Qs,mm:\"%d Minutten\",h:Qs,hh:\"%d Stonnen\",d:Qs,dd:\"%d Deeg\",M:Qs,MM:\"%d M\\xe9int\",y:Qs,yy:\"%d Joer\"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"lo\",{months:\"\\u0ea1\\u0eb1\\u0e87\\u0e81\\u0ead\\u0e99_\\u0e81\\u0eb8\\u0ea1\\u0e9e\\u0eb2_\\u0ea1\\u0eb5\\u0e99\\u0eb2_\\u0ec0\\u0ea1\\u0eaa\\u0eb2_\\u0e9e\\u0eb6\\u0e94\\u0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\u0eb2\\u0e99_\\u0e9e\\u0eb8\\u0e94_\\u0e9e\\u0eb0\\u0eab\\u0eb1\\u0e94_\\u0eaa\\u0eb8\\u0e81_\\u0ec0\\u0eaa\\u0ebb\\u0eb2\".split(\"_\"),weekdaysMin:\"\\u0e97_\\u0e88_\\u0ead\\u0e84_\\u0e9e_\\u0e9e\\u0eab_\\u0eaa\\u0e81_\\u0eaa\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"\\u0ea7\\u0eb1\\u0e99dddd D MMMM YYYY HH:mm\"},meridiemParse:/\\u0e95\\u0ead\\u0e99\\u0ec0\\u0e8a\\u0ebb\\u0ec9\\u0eb2|\\u0e95\\u0ead\\u0e99\\u0ec1\\u0ea5\\u0e87/,isPM:function(e){return\"\\u0e95\\u0ead\\u0e99\\u0ec1\\u0ea5\\u0e87\"===e},meridiem:function(e,a,t){return e<12?\"\\u0e95\\u0ead\\u0e99\\u0ec0\\u0e8a\\u0ebb\\u0ec9\\u0eb2\":\"\\u0e95\\u0ead\\u0e99\\u0ec1\\u0ea5\\u0e87\"},calendar:{sameDay:\"[\\u0ea1\\u0eb7\\u0ec9\\u0e99\\u0eb5\\u0ec9\\u0ec0\\u0ea7\\u0ea5\\u0eb2] LT\",nextDay:\"[\\u0ea1\\u0eb7\\u0ec9\\u0ead\\u0eb7\\u0ec8\\u0e99\\u0ec0\\u0ea7\\u0ea5\\u0eb2] LT\",nextWeek:\"[\\u0ea7\\u0eb1\\u0e99]dddd[\\u0edc\\u0ec9\\u0eb2\\u0ec0\\u0ea7\\u0ea5\\u0eb2] LT\",lastDay:\"[\\u0ea1\\u0eb7\\u0ec9\\u0ea7\\u0eb2\\u0e99\\u0e99\\u0eb5\\u0ec9\\u0ec0\\u0ea7\\u0ea5\\u0eb2] LT\",lastWeek:\"[\\u0ea7\\u0eb1\\u0e99]dddd[\\u0ec1\\u0ea5\\u0ec9\\u0ea7\\u0e99\\u0eb5\\u0ec9\\u0ec0\\u0ea7\\u0ea5\\u0eb2] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0ead\\u0eb5\\u0e81 %s\",past:\"%s\\u0e9c\\u0ec8\\u0eb2\\u0e99\\u0ea1\\u0eb2\",s:\"\\u0e9a\\u0ecd\\u0ec8\\u0ec0\\u0e97\\u0ebb\\u0ec8\\u0eb2\\u0ec3\\u0e94\\u0ea7\\u0eb4\\u0e99\\u0eb2\\u0e97\\u0eb5\",ss:\"%d \\u0ea7\\u0eb4\\u0e99\\u0eb2\\u0e97\\u0eb5\",m:\"1 \\u0e99\\u0eb2\\u0e97\\u0eb5\",mm:\"%d \\u0e99\\u0eb2\\u0e97\\u0eb5\",h:\"1 \\u0e8a\\u0ebb\\u0ec8\\u0ea7\\u0ec2\\u0ea1\\u0e87\",hh:\"%d \\u0e8a\\u0ebb\\u0ec8\\u0ea7\\u0ec2\\u0ea1\\u0e87\",d:\"1 \\u0ea1\\u0eb7\\u0ec9\",dd:\"%d \\u0ea1\\u0eb7\\u0ec9\",M:\"1 \\u0ec0\\u0e94\\u0eb7\\u0ead\\u0e99\",MM:\"%d \\u0ec0\\u0e94\\u0eb7\\u0ead\\u0e99\",y:\"1 \\u0e9b\\u0eb5\",yy:\"%d \\u0e9b\\u0eb5\"},dayOfMonthOrdinalParse:/(\\u0e97\\u0eb5\\u0ec8)\\d{1,2}/,ordinal:function(e){return\"\\u0e97\\u0eb5\\u0ec8\"+e}});\n//! moment.js locale configuration\nvar en={ss:\"sekund\\u0117_sekund\\u017ei\\u0173_sekundes\",m:\"minut\\u0117_minut\\u0117s_minut\\u0119\",mm:\"minut\\u0117s_minu\\u010di\\u0173_minutes\",h:\"valanda_valandos_valand\\u0105\",hh:\"valandos_valand\\u0173_valandas\",d:\"diena_dienos_dien\\u0105\",dd:\"dienos_dien\\u0173_dienas\",M:\"m\\u0117nuo_m\\u0117nesio_m\\u0117nes\\u012f\",MM:\"m\\u0117nesiai_m\\u0117nesi\\u0173_m\\u0117nesius\",y:\"metai_met\\u0173_metus\",yy:\"metai_met\\u0173_metus\"};function an(e,a,t,s){return a?sn(t)[0]:s?sn(t)[1]:sn(t)[2]}function tn(e){return e%10==0||10<e&&e<20}function sn(e){return en[e].split(\"_\")}function nn(e,a,t,s){var n=e+\" \";return 1===e?n+an(0,a,t[0],s):a?n+(tn(e)?sn(t)[1]:sn(t)[0]):s?n+sn(t)[1]:n+(tn(e)?sn(t)[1]:sn(t)[2])}L.defineLocale(\"lt\",{months:{format:\"sausio_vasario_kovo_baland\\u017eio_gegu\\u017e\\u0117s_bir\\u017eelio_liepos_rugpj\\u016b\\u010dio_rugs\\u0117jo_spalio_lapkri\\u010dio_gruod\\u017eio\".split(\"_\"),standalone:\"sausis_vasaris_kovas_balandis_gegu\\u017e\\u0117_bir\\u017eelis_liepa_rugpj\\u016btis_rugs\\u0117jis_spalis_lapkritis_gruodis\".split(\"_\"),isFormat:/D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/},monthsShort:\"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd\".split(\"_\"),weekdays:{format:\"sekmadien\\u012f_pirmadien\\u012f_antradien\\u012f_tre\\u010diadien\\u012f_ketvirtadien\\u012f_penktadien\\u012f_\\u0161e\\u0161tadien\\u012f\".split(\"_\"),standalone:\"sekmadienis_pirmadienis_antradienis_tre\\u010diadienis_ketvirtadienis_penktadienis_\\u0161e\\u0161tadienis\".split(\"_\"),isFormat:/dddd HH:mm/},weekdaysShort:\"Sek_Pir_Ant_Tre_Ket_Pen_\\u0160e\\u0161\".split(\"_\"),weekdaysMin:\"S_P_A_T_K_Pn_\\u0160\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY-MM-DD\",LL:\"YYYY [m.] MMMM D [d.]\",LLL:\"YYYY [m.] MMMM D [d.], HH:mm [val.]\",LLLL:\"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]\",l:\"YYYY-MM-DD\",ll:\"YYYY [m.] MMMM D [d.]\",lll:\"YYYY [m.] MMMM D [d.], HH:mm [val.]\",llll:\"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]\"},calendar:{sameDay:\"[\\u0160iandien] LT\",nextDay:\"[Rytoj] LT\",nextWeek:\"dddd LT\",lastDay:\"[Vakar] LT\",lastWeek:\"[Pra\\u0117jus\\u012f] dddd LT\",sameElse:\"L\"},relativeTime:{future:\"po %s\",past:\"prie\\u0161 %s\",s:function(e,a,t,s){return a?\"kelios sekund\\u0117s\":s?\"keli\\u0173 sekund\\u017ei\\u0173\":\"kelias sekundes\"},ss:nn,m:an,mm:nn,h:an,hh:nn,d:an,dd:nn,M:an,MM:nn,y:an,yy:nn},dayOfMonthOrdinalParse:/\\d{1,2}-oji/,ordinal:function(e){return e+\"-oji\"},week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar rn={ss:\"sekundes_sekund\\u0113m_sekunde_sekundes\".split(\"_\"),m:\"min\\u016btes_min\\u016bt\\u0113m_min\\u016bte_min\\u016btes\".split(\"_\"),mm:\"min\\u016btes_min\\u016bt\\u0113m_min\\u016bte_min\\u016btes\".split(\"_\"),h:\"stundas_stund\\u0101m_stunda_stundas\".split(\"_\"),hh:\"stundas_stund\\u0101m_stunda_stundas\".split(\"_\"),d:\"dienas_dien\\u0101m_diena_dienas\".split(\"_\"),dd:\"dienas_dien\\u0101m_diena_dienas\".split(\"_\"),M:\"m\\u0113ne\\u0161a_m\\u0113ne\\u0161iem_m\\u0113nesis_m\\u0113ne\\u0161i\".split(\"_\"),MM:\"m\\u0113ne\\u0161a_m\\u0113ne\\u0161iem_m\\u0113nesis_m\\u0113ne\\u0161i\".split(\"_\"),y:\"gada_gadiem_gads_gadi\".split(\"_\"),yy:\"gada_gadiem_gads_gadi\".split(\"_\")};function dn(e,a,t){return t?a%10==1&&a%100!=11?e[2]:e[3]:a%10==1&&a%100!=11?e[0]:e[1]}function _n(e,a,t){return e+\" \"+dn(rn[t],e,a)}function on(e,a,t){return dn(rn[t],e,a)}L.defineLocale(\"lv\",{months:\"janv\\u0101ris_febru\\u0101ris_marts_apr\\u012blis_maijs_j\\u016bnijs_j\\u016blijs_augusts_septembris_oktobris_novembris_decembris\".split(\"_\"),monthsShort:\"jan_feb_mar_apr_mai_j\\u016bn_j\\u016bl_aug_sep_okt_nov_dec\".split(\"_\"),weekdays:\"sv\\u0113tdiena_pirmdiena_otrdiena_tre\\u0161diena_ceturtdiena_piektdiena_sestdiena\".split(\"_\"),weekdaysShort:\"Sv_P_O_T_C_Pk_S\".split(\"_\"),weekdaysMin:\"Sv_P_O_T_C_Pk_S\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY.\",LL:\"YYYY. [gada] D. MMMM\",LLL:\"YYYY. [gada] D. MMMM, HH:mm\",LLLL:\"YYYY. [gada] D. MMMM, dddd, HH:mm\"},calendar:{sameDay:\"[\\u0160odien pulksten] LT\",nextDay:\"[R\\u012bt pulksten] LT\",nextWeek:\"dddd [pulksten] LT\",lastDay:\"[Vakar pulksten] LT\",lastWeek:\"[Pag\\u0101ju\\u0161\\u0101] dddd [pulksten] LT\",sameElse:\"L\"},relativeTime:{future:\"p\\u0113c %s\",past:\"pirms %s\",s:function(e,a){return a?\"da\\u017eas sekundes\":\"da\\u017e\\u0101m sekund\\u0113m\"},ss:_n,m:on,mm:_n,h:on,hh:_n,d:on,dd:_n,M:on,MM:_n,y:on,yy:_n},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar mn={words:{ss:[\"sekund\",\"sekunda\",\"sekundi\"],m:[\"jedan minut\",\"jednog minuta\"],mm:[\"minut\",\"minuta\",\"minuta\"],h:[\"jedan sat\",\"jednog sata\"],hh:[\"sat\",\"sata\",\"sati\"],dd:[\"dan\",\"dana\",\"dana\"],MM:[\"mjesec\",\"mjeseca\",\"mjeseci\"],yy:[\"godina\",\"godine\",\"godina\"]},correctGrammaticalCase:function(e,a){return 1===e?a[0]:2<=e&&e<=4?a[1]:a[2]},translate:function(e,a,t){var s=mn.words[t];return 1===t.length?a?s[0]:s[1]:e+\" \"+mn.correctGrammaticalCase(e,s)}};\n//! moment.js locale configuration\nfunction un(e,a,t,s){switch(t){case\"s\":return a?\"\\u0445\\u044d\\u0434\\u0445\\u044d\\u043d \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\":\"\\u0445\\u044d\\u0434\\u0445\\u044d\\u043d \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u044b\\u043d\";case\"ss\":return e+(a?\" \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\":\" \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u044b\\u043d\");case\"m\":case\"mm\":return e+(a?\" \\u043c\\u0438\\u043d\\u0443\\u0442\":\" \\u043c\\u0438\\u043d\\u0443\\u0442\\u044b\\u043d\");case\"h\":case\"hh\":return e+(a?\" \\u0446\\u0430\\u0433\":\" \\u0446\\u0430\\u0433\\u0438\\u0439\\u043d\");case\"d\":case\"dd\":return e+(a?\" \\u04e9\\u0434\\u04e9\\u0440\":\" \\u04e9\\u0434\\u0440\\u0438\\u0439\\u043d\");case\"M\":case\"MM\":return e+(a?\" \\u0441\\u0430\\u0440\":\" \\u0441\\u0430\\u0440\\u044b\\u043d\");case\"y\":case\"yy\":return e+(a?\" \\u0436\\u0438\\u043b\":\" \\u0436\\u0438\\u043b\\u0438\\u0439\\u043d\");default:return e}}L.defineLocale(\"me\",{months:\"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar\".split(\"_\"),monthsShort:\"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.\".split(\"_\"),monthsParseExact:!0,weekdays:\"nedjelja_ponedjeljak_utorak_srijeda_\\u010detvrtak_petak_subota\".split(\"_\"),weekdaysShort:\"ned._pon._uto._sri._\\u010det._pet._sub.\".split(\"_\"),weekdaysMin:\"ne_po_ut_sr_\\u010de_pe_su\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY H:mm\",LLLL:\"dddd, D. MMMM YYYY H:mm\"},calendar:{sameDay:\"[danas u] LT\",nextDay:\"[sjutra u] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[u] [nedjelju] [u] LT\";case 3:return\"[u] [srijedu] [u] LT\";case 6:return\"[u] [subotu] [u] LT\";case 1:case 2:case 4:case 5:return\"[u] dddd [u] LT\"}},lastDay:\"[ju\\u010de u] LT\",lastWeek:function(){return[\"[pro\\u0161le] [nedjelje] [u] LT\",\"[pro\\u0161log] [ponedjeljka] [u] LT\",\"[pro\\u0161log] [utorka] [u] LT\",\"[pro\\u0161le] [srijede] [u] LT\",\"[pro\\u0161log] [\\u010detvrtka] [u] LT\",\"[pro\\u0161log] [petka] [u] LT\",\"[pro\\u0161le] [subote] [u] LT\"][this.day()]},sameElse:\"L\"},relativeTime:{future:\"za %s\",past:\"prije %s\",s:\"nekoliko sekundi\",ss:mn.translate,m:mn.translate,mm:mn.translate,h:mn.translate,hh:mn.translate,d:\"dan\",dd:mn.translate,M:\"mjesec\",MM:mn.translate,y:\"godinu\",yy:mn.translate},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"mi\",{months:\"Kohi-t\\u0101te_Hui-tanguru_Pout\\u016b-te-rangi_Paenga-wh\\u0101wh\\u0101_Haratua_Pipiri_H\\u014dngoingoi_Here-turi-k\\u014dk\\u0101_Mahuru_Whiringa-\\u0101-nuku_Whiringa-\\u0101-rangi_Hakihea\".split(\"_\"),monthsShort:\"Kohi_Hui_Pou_Pae_Hara_Pipi_H\\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki\".split(\"_\"),monthsRegex:/(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,monthsShortRegex:/(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,2}/i,weekdays:\"R\\u0101tapu_Mane_T\\u016brei_Wenerei_T\\u0101ite_Paraire_H\\u0101tarei\".split(\"_\"),weekdaysShort:\"Ta_Ma_T\\u016b_We_T\\u0101i_Pa_H\\u0101\".split(\"_\"),weekdaysMin:\"Ta_Ma_T\\u016b_We_T\\u0101i_Pa_H\\u0101\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY [i] HH:mm\",LLLL:\"dddd, D MMMM YYYY [i] HH:mm\"},calendar:{sameDay:\"[i teie mahana, i] LT\",nextDay:\"[apopo i] LT\",nextWeek:\"dddd [i] LT\",lastDay:\"[inanahi i] LT\",lastWeek:\"dddd [whakamutunga i] LT\",sameElse:\"L\"},relativeTime:{future:\"i roto i %s\",past:\"%s i mua\",s:\"te h\\u0113kona ruarua\",ss:\"%d h\\u0113kona\",m:\"he meneti\",mm:\"%d meneti\",h:\"te haora\",hh:\"%d haora\",d:\"he ra\",dd:\"%d ra\",M:\"he marama\",MM:\"%d marama\",y:\"he tau\",yy:\"%d tau\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"mk\",{months:\"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440\\u0438_\\u0444\\u0435\\u0432\\u0440\\u0443\\u0430\\u0440\\u0438_\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440\\u0438\\u043b_\\u043c\\u0430\\u0458_\\u0458\\u0443\\u043d\\u0438_\\u0458\\u0443\\u043b\\u0438_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0432\\u0440\\u0438_\\u043e\\u043a\\u0442\\u043e\\u043c\\u0432\\u0440\\u0438_\\u043d\\u043e\\u0435\\u043c\\u0432\\u0440\\u0438_\\u0434\\u0435\\u043a\\u0435\\u043c\\u0432\\u0440\\u0438\".split(\"_\"),monthsShort:\"\\u0458\\u0430\\u043d_\\u0444\\u0435\\u0432_\\u043c\\u0430\\u0440_\\u0430\\u043f\\u0440_\\u043c\\u0430\\u0458_\\u0458\\u0443\\u043d_\\u0458\\u0443\\u043b_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043f_\\u043e\\u043a\\u0442_\\u043d\\u043e\\u0435_\\u0434\\u0435\\u043a\".split(\"_\"),weekdays:\"\\u043d\\u0435\\u0434\\u0435\\u043b\\u0430_\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u043d\\u0438\\u043a_\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a_\\u0441\\u0440\\u0435\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u043e\\u043a_\\u043f\\u0435\\u0442\\u043e\\u043a_\\u0441\\u0430\\u0431\\u043e\\u0442\\u0430\".split(\"_\"),weekdaysShort:\"\\u043d\\u0435\\u0434_\\u043f\\u043e\\u043d_\\u0432\\u0442\\u043e_\\u0441\\u0440\\u0435_\\u0447\\u0435\\u0442_\\u043f\\u0435\\u0442_\\u0441\\u0430\\u0431\".split(\"_\"),weekdaysMin:\"\\u043de_\\u043fo_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0435_\\u043f\\u0435_\\u0441a\".split(\"_\"),longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"D.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY H:mm\",LLLL:\"dddd, D MMMM YYYY H:mm\"},calendar:{sameDay:\"[\\u0414\\u0435\\u043d\\u0435\\u0441 \\u0432\\u043e] LT\",nextDay:\"[\\u0423\\u0442\\u0440\\u0435 \\u0432\\u043e] LT\",nextWeek:\"[\\u0412\\u043e] dddd [\\u0432\\u043e] LT\",lastDay:\"[\\u0412\\u0447\\u0435\\u0440\\u0430 \\u0432\\u043e] LT\",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return\"[\\u0418\\u0437\\u043c\\u0438\\u043d\\u0430\\u0442\\u0430\\u0442\\u0430] dddd [\\u0432\\u043e] LT\";case 1:case 2:case 4:case 5:return\"[\\u0418\\u0437\\u043c\\u0438\\u043d\\u0430\\u0442\\u0438\\u043e\\u0442] dddd [\\u0432\\u043e] LT\"}},sameElse:\"L\"},relativeTime:{future:\"\\u0437\\u0430 %s\",past:\"\\u043f\\u0440\\u0435\\u0434 %s\",s:\"\\u043d\\u0435\\u043a\\u043e\\u043b\\u043a\\u0443 \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0438\",ss:\"%d \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0438\",m:\"\\u0435\\u0434\\u043d\\u0430 \\u043c\\u0438\\u043d\\u0443\\u0442\\u0430\",mm:\"%d \\u043c\\u0438\\u043d\\u0443\\u0442\\u0438\",h:\"\\u0435\\u0434\\u0435\\u043d \\u0447\\u0430\\u0441\",hh:\"%d \\u0447\\u0430\\u0441\\u0430\",d:\"\\u0435\\u0434\\u0435\\u043d \\u0434\\u0435\\u043d\",dd:\"%d \\u0434\\u0435\\u043d\\u0430\",M:\"\\u0435\\u0434\\u0435\\u043d \\u043c\\u0435\\u0441\\u0435\\u0446\",MM:\"%d \\u043c\\u0435\\u0441\\u0435\\u0446\\u0438\",y:\"\\u0435\\u0434\\u043d\\u0430 \\u0433\\u043e\\u0434\\u0438\\u043d\\u0430\",yy:\"%d \\u0433\\u043e\\u0434\\u0438\\u043d\\u0438\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0435\\u0432|\\u0435\\u043d|\\u0442\\u0438|\\u0432\\u0438|\\u0440\\u0438|\\u043c\\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+\"-\\u0435\\u0432\":0==t?e+\"-\\u0435\\u043d\":10<t&&t<20?e+\"-\\u0442\\u0438\":1==a?e+\"-\\u0432\\u0438\":2==a?e+\"-\\u0440\\u0438\":7==a||8==a?e+\"-\\u043c\\u0438\":e+\"-\\u0442\\u0438\"},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"ml\",{months:\"\\u0d1c\\u0d28\\u0d41\\u0d35\\u0d30\\u0d3f_\\u0d2b\\u0d46\\u0d2c\\u0d4d\\u0d30\\u0d41\\u0d35\\u0d30\\u0d3f_\\u0d2e\\u0d3e\\u0d7c\\u0d1a\\u0d4d\\u0d1a\\u0d4d_\\u0d0f\\u0d2a\\u0d4d\\u0d30\\u0d3f\\u0d7d_\\u0d2e\\u0d47\\u0d2f\\u0d4d_\\u0d1c\\u0d42\\u0d7a_\\u0d1c\\u0d42\\u0d32\\u0d48_\\u0d13\\u0d17\\u0d38\\u0d4d\\u0d31\\u0d4d\\u0d31\\u0d4d_\\u0d38\\u0d46\\u0d2a\\u0d4d\\u0d31\\u0d4d\\u0d31\\u0d02\\u0d2c\\u0d7c_\\u0d12\\u0d15\\u0d4d\\u0d1f\\u0d4b\\u0d2c\\u0d7c_\\u0d28\\u0d35\\u0d02\\u0d2c\\u0d7c_\\u0d21\\u0d3f\\u0d38\\u0d02\\u0d2c\\u0d7c\".split(\"_\"),monthsShort:\"\\u0d1c\\u0d28\\u0d41._\\u0d2b\\u0d46\\u0d2c\\u0d4d\\u0d30\\u0d41._\\u0d2e\\u0d3e\\u0d7c._\\u0d0f\\u0d2a\\u0d4d\\u0d30\\u0d3f._\\u0d2e\\u0d47\\u0d2f\\u0d4d_\\u0d1c\\u0d42\\u0d7a_\\u0d1c\\u0d42\\u0d32\\u0d48._\\u0d13\\u0d17._\\u0d38\\u0d46\\u0d2a\\u0d4d\\u0d31\\u0d4d\\u0d31._\\u0d12\\u0d15\\u0d4d\\u0d1f\\u0d4b._\\u0d28\\u0d35\\u0d02._\\u0d21\\u0d3f\\u0d38\\u0d02.\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u0d1e\\u0d3e\\u0d2f\\u0d31\\u0d3e\\u0d34\\u0d4d\\u0d1a_\\u0d24\\u0d3f\\u0d19\\u0d4d\\u0d15\\u0d33\\u0d3e\\u0d34\\u0d4d\\u0d1a_\\u0d1a\\u0d4a\\u0d35\\u0d4d\\u0d35\\u0d3e\\u0d34\\u0d4d\\u0d1a_\\u0d2c\\u0d41\\u0d27\\u0d28\\u0d3e\\u0d34\\u0d4d\\u0d1a_\\u0d35\\u0d4d\\u0d2f\\u0d3e\\u0d34\\u0d3e\\u0d34\\u0d4d\\u0d1a_\\u0d35\\u0d46\\u0d33\\u0d4d\\u0d33\\u0d3f\\u0d2f\\u0d3e\\u0d34\\u0d4d\\u0d1a_\\u0d36\\u0d28\\u0d3f\\u0d2f\\u0d3e\\u0d34\\u0d4d\\u0d1a\".split(\"_\"),weekdaysShort:\"\\u0d1e\\u0d3e\\u0d2f\\u0d7c_\\u0d24\\u0d3f\\u0d19\\u0d4d\\u0d15\\u0d7e_\\u0d1a\\u0d4a\\u0d35\\u0d4d\\u0d35_\\u0d2c\\u0d41\\u0d27\\u0d7b_\\u0d35\\u0d4d\\u0d2f\\u0d3e\\u0d34\\u0d02_\\u0d35\\u0d46\\u0d33\\u0d4d\\u0d33\\u0d3f_\\u0d36\\u0d28\\u0d3f\".split(\"_\"),weekdaysMin:\"\\u0d1e\\u0d3e_\\u0d24\\u0d3f_\\u0d1a\\u0d4a_\\u0d2c\\u0d41_\\u0d35\\u0d4d\\u0d2f\\u0d3e_\\u0d35\\u0d46_\\u0d36\".split(\"_\"),longDateFormat:{LT:\"A h:mm -\\u0d28\\u0d41\",LTS:\"A h:mm:ss -\\u0d28\\u0d41\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm -\\u0d28\\u0d41\",LLLL:\"dddd, D MMMM YYYY, A h:mm -\\u0d28\\u0d41\"},calendar:{sameDay:\"[\\u0d07\\u0d28\\u0d4d\\u0d28\\u0d4d] LT\",nextDay:\"[\\u0d28\\u0d3e\\u0d33\\u0d46] LT\",nextWeek:\"dddd, LT\",lastDay:\"[\\u0d07\\u0d28\\u0d4d\\u0d28\\u0d32\\u0d46] LT\",lastWeek:\"[\\u0d15\\u0d34\\u0d3f\\u0d1e\\u0d4d\\u0d1e] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0d15\\u0d34\\u0d3f\\u0d1e\\u0d4d\\u0d1e\\u0d4d\",past:\"%s \\u0d2e\\u0d41\\u0d7b\\u0d2a\\u0d4d\",s:\"\\u0d05\\u0d7d\\u0d2a \\u0d28\\u0d3f\\u0d2e\\u0d3f\\u0d37\\u0d19\\u0d4d\\u0d19\\u0d7e\",ss:\"%d \\u0d38\\u0d46\\u0d15\\u0d4d\\u0d15\\u0d7b\\u0d21\\u0d4d\",m:\"\\u0d12\\u0d30\\u0d41 \\u0d2e\\u0d3f\\u0d28\\u0d3f\\u0d31\\u0d4d\\u0d31\\u0d4d\",mm:\"%d \\u0d2e\\u0d3f\\u0d28\\u0d3f\\u0d31\\u0d4d\\u0d31\\u0d4d\",h:\"\\u0d12\\u0d30\\u0d41 \\u0d2e\\u0d23\\u0d3f\\u0d15\\u0d4d\\u0d15\\u0d42\\u0d7c\",hh:\"%d \\u0d2e\\u0d23\\u0d3f\\u0d15\\u0d4d\\u0d15\\u0d42\\u0d7c\",d:\"\\u0d12\\u0d30\\u0d41 \\u0d26\\u0d3f\\u0d35\\u0d38\\u0d02\",dd:\"%d \\u0d26\\u0d3f\\u0d35\\u0d38\\u0d02\",M:\"\\u0d12\\u0d30\\u0d41 \\u0d2e\\u0d3e\\u0d38\\u0d02\",MM:\"%d \\u0d2e\\u0d3e\\u0d38\\u0d02\",y:\"\\u0d12\\u0d30\\u0d41 \\u0d35\\u0d7c\\u0d37\\u0d02\",yy:\"%d \\u0d35\\u0d7c\\u0d37\\u0d02\"},meridiemParse:/\\u0d30\\u0d3e\\u0d24\\u0d4d\\u0d30\\u0d3f|\\u0d30\\u0d3e\\u0d35\\u0d3f\\u0d32\\u0d46|\\u0d09\\u0d1a\\u0d4d\\u0d1a \\u0d15\\u0d34\\u0d3f\\u0d1e\\u0d4d\\u0d1e\\u0d4d|\\u0d35\\u0d48\\u0d15\\u0d41\\u0d28\\u0d4d\\u0d28\\u0d47\\u0d30\\u0d02|\\u0d30\\u0d3e\\u0d24\\u0d4d\\u0d30\\u0d3f/i,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0d30\\u0d3e\\u0d24\\u0d4d\\u0d30\\u0d3f\"===a&&4<=e||\"\\u0d09\\u0d1a\\u0d4d\\u0d1a \\u0d15\\u0d34\\u0d3f\\u0d1e\\u0d4d\\u0d1e\\u0d4d\"===a||\"\\u0d35\\u0d48\\u0d15\\u0d41\\u0d28\\u0d4d\\u0d28\\u0d47\\u0d30\\u0d02\"===a?e+12:e},meridiem:function(e,a,t){return e<4?\"\\u0d30\\u0d3e\\u0d24\\u0d4d\\u0d30\\u0d3f\":e<12?\"\\u0d30\\u0d3e\\u0d35\\u0d3f\\u0d32\\u0d46\":e<17?\"\\u0d09\\u0d1a\\u0d4d\\u0d1a \\u0d15\\u0d34\\u0d3f\\u0d1e\\u0d4d\\u0d1e\\u0d4d\":e<20?\"\\u0d35\\u0d48\\u0d15\\u0d41\\u0d28\\u0d4d\\u0d28\\u0d47\\u0d30\\u0d02\":\"\\u0d30\\u0d3e\\u0d24\\u0d4d\\u0d30\\u0d3f\"}}),L.defineLocale(\"mn\",{months:\"\\u041d\\u044d\\u0433\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440_\\u0425\\u043e\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0413\\u0443\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0414\\u04e9\\u0440\\u04e9\\u0432\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440_\\u0422\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0417\\u0443\\u0440\\u0433\\u0430\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0414\\u043e\\u043b\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u041d\\u0430\\u0439\\u043c\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0415\\u0441\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440_\\u0410\\u0440\\u0430\\u0432\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440_\\u0410\\u0440\\u0432\\u0430\\u043d \\u043d\\u044d\\u0433\\u0434\\u04af\\u0433\\u044d\\u044d\\u0440 \\u0441\\u0430\\u0440_\\u0410\\u0440\\u0432\\u0430\\u043d \\u0445\\u043e\\u0451\\u0440\\u0434\\u0443\\u0433\\u0430\\u0430\\u0440 \\u0441\\u0430\\u0440\".split(\"_\"),monthsShort:\"1 \\u0441\\u0430\\u0440_2 \\u0441\\u0430\\u0440_3 \\u0441\\u0430\\u0440_4 \\u0441\\u0430\\u0440_5 \\u0441\\u0430\\u0440_6 \\u0441\\u0430\\u0440_7 \\u0441\\u0430\\u0440_8 \\u0441\\u0430\\u0440_9 \\u0441\\u0430\\u0440_10 \\u0441\\u0430\\u0440_11 \\u0441\\u0430\\u0440_12 \\u0441\\u0430\\u0440\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u041d\\u044f\\u043c_\\u0414\\u0430\\u0432\\u0430\\u0430_\\u041c\\u044f\\u0433\\u043c\\u0430\\u0440_\\u041b\\u0445\\u0430\\u0433\\u0432\\u0430_\\u041f\\u04af\\u0440\\u044d\\u0432_\\u0411\\u0430\\u0430\\u0441\\u0430\\u043d_\\u0411\\u044f\\u043c\\u0431\\u0430\".split(\"_\"),weekdaysShort:\"\\u041d\\u044f\\u043c_\\u0414\\u0430\\u0432_\\u041c\\u044f\\u0433_\\u041b\\u0445\\u0430_\\u041f\\u04af\\u0440_\\u0411\\u0430\\u0430_\\u0411\\u044f\\u043c\".split(\"_\"),weekdaysMin:\"\\u041d\\u044f_\\u0414\\u0430_\\u041c\\u044f_\\u041b\\u0445_\\u041f\\u04af_\\u0411\\u0430_\\u0411\\u044f\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY-MM-DD\",LL:\"YYYY \\u043e\\u043d\\u044b MMMM\\u044b\\u043d D\",LLL:\"YYYY \\u043e\\u043d\\u044b MMMM\\u044b\\u043d D HH:mm\",LLLL:\"dddd, YYYY \\u043e\\u043d\\u044b MMMM\\u044b\\u043d D HH:mm\"},meridiemParse:/\\u04ae\\u04e8|\\u04ae\\u0425/i,isPM:function(e){return\"\\u04ae\\u0425\"===e},meridiem:function(e,a,t){return e<12?\"\\u04ae\\u04e8\":\"\\u04ae\\u0425\"},calendar:{sameDay:\"[\\u04e8\\u043d\\u04e9\\u04e9\\u0434\\u04e9\\u0440] LT\",nextDay:\"[\\u041c\\u0430\\u0440\\u0433\\u0430\\u0430\\u0448] LT\",nextWeek:\"[\\u0418\\u0440\\u044d\\u0445] dddd LT\",lastDay:\"[\\u04e8\\u0447\\u0438\\u0433\\u0434\\u04e9\\u0440] LT\",lastWeek:\"[\\u04e8\\u043d\\u0433\\u04e9\\u0440\\u0441\\u04e9\\u043d] dddd LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0434\\u0430\\u0440\\u0430\\u0430\",past:\"%s \\u04e9\\u043c\\u043d\\u04e9\",s:un,ss:un,m:un,mm:un,h:un,hh:un,d:un,dd:un,M:un,MM:un,y:un,yy:un},dayOfMonthOrdinalParse:/\\d{1,2} \\u04e9\\u0434\\u04e9\\u0440/,ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"DDD\":return e+\" \\u04e9\\u0434\\u04e9\\u0440\";default:return e}}});\n//! moment.js locale configuration\nvar ln={1:\"\\u0967\",2:\"\\u0968\",3:\"\\u0969\",4:\"\\u096a\",5:\"\\u096b\",6:\"\\u096c\",7:\"\\u096d\",8:\"\\u096e\",9:\"\\u096f\",0:\"\\u0966\"},Mn={\"\\u0967\":\"1\",\"\\u0968\":\"2\",\"\\u0969\":\"3\",\"\\u096a\":\"4\",\"\\u096b\":\"5\",\"\\u096c\":\"6\",\"\\u096d\":\"7\",\"\\u096e\":\"8\",\"\\u096f\":\"9\",\"\\u0966\":\"0\"};function hn(e,a,t,s){var n=\"\";if(a)switch(t){case\"s\":n=\"\\u0915\\u093e\\u0939\\u0940 \\u0938\\u0947\\u0915\\u0902\\u0926\";break;case\"ss\":n=\"%d \\u0938\\u0947\\u0915\\u0902\\u0926\";break;case\"m\":n=\"\\u090f\\u0915 \\u092e\\u093f\\u0928\\u093f\\u091f\";break;case\"mm\":n=\"%d \\u092e\\u093f\\u0928\\u093f\\u091f\\u0947\";break;case\"h\":n=\"\\u090f\\u0915 \\u0924\\u093e\\u0938\";break;case\"hh\":n=\"%d \\u0924\\u093e\\u0938\";break;case\"d\":n=\"\\u090f\\u0915 \\u0926\\u093f\\u0935\\u0938\";break;case\"dd\":n=\"%d \\u0926\\u093f\\u0935\\u0938\";break;case\"M\":n=\"\\u090f\\u0915 \\u092e\\u0939\\u093f\\u0928\\u093e\";break;case\"MM\":n=\"%d \\u092e\\u0939\\u093f\\u0928\\u0947\";break;case\"y\":n=\"\\u090f\\u0915 \\u0935\\u0930\\u094d\\u0937\";break;case\"yy\":n=\"%d \\u0935\\u0930\\u094d\\u0937\\u0947\";break}else switch(t){case\"s\":n=\"\\u0915\\u093e\\u0939\\u0940 \\u0938\\u0947\\u0915\\u0902\\u0926\\u093e\\u0902\";break;case\"ss\":n=\"%d \\u0938\\u0947\\u0915\\u0902\\u0926\\u093e\\u0902\";break;case\"m\":n=\"\\u090f\\u0915\\u093e \\u092e\\u093f\\u0928\\u093f\\u091f\\u093e\";break;case\"mm\":n=\"%d \\u092e\\u093f\\u0928\\u093f\\u091f\\u093e\\u0902\";break;case\"h\":n=\"\\u090f\\u0915\\u093e \\u0924\\u093e\\u0938\\u093e\";break;case\"hh\":n=\"%d \\u0924\\u093e\\u0938\\u093e\\u0902\";break;case\"d\":n=\"\\u090f\\u0915\\u093e \\u0926\\u093f\\u0935\\u0938\\u093e\";break;case\"dd\":n=\"%d \\u0926\\u093f\\u0935\\u0938\\u093e\\u0902\";break;case\"M\":n=\"\\u090f\\u0915\\u093e \\u092e\\u0939\\u093f\\u0928\\u094d\\u092f\\u093e\";break;case\"MM\":n=\"%d \\u092e\\u0939\\u093f\\u0928\\u094d\\u092f\\u093e\\u0902\";break;case\"y\":n=\"\\u090f\\u0915\\u093e \\u0935\\u0930\\u094d\\u0937\\u093e\";break;case\"yy\":n=\"%d \\u0935\\u0930\\u094d\\u0937\\u093e\\u0902\";break}return n.replace(/%d/i,e)}L.defineLocale(\"mr\",{months:\"\\u091c\\u093e\\u0928\\u0947\\u0935\\u093e\\u0930\\u0940_\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u093e\\u0930\\u0940_\\u092e\\u093e\\u0930\\u094d\\u091a_\\u090f\\u092a\\u094d\\u0930\\u093f\\u0932_\\u092e\\u0947_\\u091c\\u0942\\u0928_\\u091c\\u0941\\u0932\\u0948_\\u0911\\u0917\\u0938\\u094d\\u091f_\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902\\u092c\\u0930_\\u0911\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930_\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902\\u092c\\u0930_\\u0921\\u093f\\u0938\\u0947\\u0902\\u092c\\u0930\".split(\"_\"),monthsShort:\"\\u091c\\u093e\\u0928\\u0947._\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941._\\u092e\\u093e\\u0930\\u094d\\u091a._\\u090f\\u092a\\u094d\\u0930\\u093f._\\u092e\\u0947._\\u091c\\u0942\\u0928._\\u091c\\u0941\\u0932\\u0948._\\u0911\\u0917._\\u0938\\u092a\\u094d\\u091f\\u0947\\u0902._\\u0911\\u0915\\u094d\\u091f\\u094b._\\u0928\\u094b\\u0935\\u094d\\u0939\\u0947\\u0902._\\u0921\\u093f\\u0938\\u0947\\u0902.\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u0930\\u0935\\u093f\\u0935\\u093e\\u0930_\\u0938\\u094b\\u092e\\u0935\\u093e\\u0930_\\u092e\\u0902\\u0917\\u0933\\u0935\\u093e\\u0930_\\u092c\\u0941\\u0927\\u0935\\u093e\\u0930_\\u0917\\u0941\\u0930\\u0942\\u0935\\u093e\\u0930_\\u0936\\u0941\\u0915\\u094d\\u0930\\u0935\\u093e\\u0930_\\u0936\\u0928\\u093f\\u0935\\u093e\\u0930\".split(\"_\"),weekdaysShort:\"\\u0930\\u0935\\u093f_\\u0938\\u094b\\u092e_\\u092e\\u0902\\u0917\\u0933_\\u092c\\u0941\\u0927_\\u0917\\u0941\\u0930\\u0942_\\u0936\\u0941\\u0915\\u094d\\u0930_\\u0936\\u0928\\u093f\".split(\"_\"),weekdaysMin:\"\\u0930_\\u0938\\u094b_\\u092e\\u0902_\\u092c\\u0941_\\u0917\\u0941_\\u0936\\u0941_\\u0936\".split(\"_\"),longDateFormat:{LT:\"A h:mm \\u0935\\u093e\\u091c\\u0924\\u093e\",LTS:\"A h:mm:ss \\u0935\\u093e\\u091c\\u0924\\u093e\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm \\u0935\\u093e\\u091c\\u0924\\u093e\",LLLL:\"dddd, D MMMM YYYY, A h:mm \\u0935\\u093e\\u091c\\u0924\\u093e\"},calendar:{sameDay:\"[\\u0906\\u091c] LT\",nextDay:\"[\\u0909\\u0926\\u094d\\u092f\\u093e] LT\",nextWeek:\"dddd, LT\",lastDay:\"[\\u0915\\u093e\\u0932] LT\",lastWeek:\"[\\u092e\\u093e\\u0917\\u0940\\u0932] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s\\u092e\\u0927\\u094d\\u092f\\u0947\",past:\"%s\\u092a\\u0942\\u0930\\u094d\\u0935\\u0940\",s:hn,ss:hn,m:hn,mm:hn,h:hn,hh:hn,d:hn,dd:hn,M:hn,MM:hn,y:hn,yy:hn},preparse:function(e){return e.replace(/[\\u0967\\u0968\\u0969\\u096a\\u096b\\u096c\\u096d\\u096e\\u096f\\u0966]/g,function(e){return Mn[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return ln[e]})},meridiemParse:/\\u092a\\u0939\\u093e\\u091f\\u0947|\\u0938\\u0915\\u093e\\u0933\\u0940|\\u0926\\u0941\\u092a\\u093e\\u0930\\u0940|\\u0938\\u093e\\u092f\\u0902\\u0915\\u093e\\u0933\\u0940|\\u0930\\u093e\\u0924\\u094d\\u0930\\u0940/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u092a\\u0939\\u093e\\u091f\\u0947\"===a||\"\\u0938\\u0915\\u093e\\u0933\\u0940\"===a?e:\"\\u0926\\u0941\\u092a\\u093e\\u0930\\u0940\"===a||\"\\u0938\\u093e\\u092f\\u0902\\u0915\\u093e\\u0933\\u0940\"===a||\"\\u0930\\u093e\\u0924\\u094d\\u0930\\u0940\"===a?12<=e?e:e+12:void 0},meridiem:function(e,a,t){return 0<=e&&e<6?\"\\u092a\\u0939\\u093e\\u091f\\u0947\":e<12?\"\\u0938\\u0915\\u093e\\u0933\\u0940\":e<17?\"\\u0926\\u0941\\u092a\\u093e\\u0930\\u0940\":e<20?\"\\u0938\\u093e\\u092f\\u0902\\u0915\\u093e\\u0933\\u0940\":\"\\u0930\\u093e\\u0924\\u094d\\u0930\\u0940\"},week:{dow:0,doy:6}}),\n//! moment.js locale configuration\nL.defineLocale(\"ms-my\",{months:\"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember\".split(\"_\"),monthsShort:\"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis\".split(\"_\"),weekdays:\"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu\".split(\"_\"),weekdaysShort:\"Ahd_Isn_Sel_Rab_Kha_Jum_Sab\".split(\"_\"),weekdaysMin:\"Ah_Is_Sl_Rb_Km_Jm_Sb\".split(\"_\"),longDateFormat:{LT:\"HH.mm\",LTS:\"HH.mm.ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY [pukul] HH.mm\",LLLL:\"dddd, D MMMM YYYY [pukul] HH.mm\"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),\"pagi\"===a?e:\"tengahari\"===a?11<=e?e:e+12:\"petang\"===a||\"malam\"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?\"pagi\":e<15?\"tengahari\":e<19?\"petang\":\"malam\"},calendar:{sameDay:\"[Hari ini pukul] LT\",nextDay:\"[Esok pukul] LT\",nextWeek:\"dddd [pukul] LT\",lastDay:\"[Kelmarin pukul] LT\",lastWeek:\"dddd [lepas pukul] LT\",sameElse:\"L\"},relativeTime:{future:\"dalam %s\",past:\"%s yang lepas\",s:\"beberapa saat\",ss:\"%d saat\",m:\"seminit\",mm:\"%d minit\",h:\"sejam\",hh:\"%d jam\",d:\"sehari\",dd:\"%d hari\",M:\"sebulan\",MM:\"%d bulan\",y:\"setahun\",yy:\"%d tahun\"},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"ms\",{months:\"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember\".split(\"_\"),monthsShort:\"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis\".split(\"_\"),weekdays:\"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu\".split(\"_\"),weekdaysShort:\"Ahd_Isn_Sel_Rab_Kha_Jum_Sab\".split(\"_\"),weekdaysMin:\"Ah_Is_Sl_Rb_Km_Jm_Sb\".split(\"_\"),longDateFormat:{LT:\"HH.mm\",LTS:\"HH.mm.ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY [pukul] HH.mm\",LLLL:\"dddd, D MMMM YYYY [pukul] HH.mm\"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,a){return 12===e&&(e=0),\"pagi\"===a?e:\"tengahari\"===a?11<=e?e:e+12:\"petang\"===a||\"malam\"===a?e+12:void 0},meridiem:function(e,a,t){return e<11?\"pagi\":e<15?\"tengahari\":e<19?\"petang\":\"malam\"},calendar:{sameDay:\"[Hari ini pukul] LT\",nextDay:\"[Esok pukul] LT\",nextWeek:\"dddd [pukul] LT\",lastDay:\"[Kelmarin pukul] LT\",lastWeek:\"dddd [lepas pukul] LT\",sameElse:\"L\"},relativeTime:{future:\"dalam %s\",past:\"%s yang lepas\",s:\"beberapa saat\",ss:\"%d saat\",m:\"seminit\",mm:\"%d minit\",h:\"sejam\",hh:\"%d jam\",d:\"sehari\",dd:\"%d hari\",M:\"sebulan\",MM:\"%d bulan\",y:\"setahun\",yy:\"%d tahun\"},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"mt\",{months:\"Jannar_Frar_Marzu_April_Mejju_\\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\\u010bembru\".split(\"_\"),monthsShort:\"Jan_Fra_Mar_Apr_Mej_\\u0120un_Lul_Aww_Set_Ott_Nov_Di\\u010b\".split(\"_\"),weekdays:\"Il-\\u0126add_It-Tnejn_It-Tlieta_L-Erbg\\u0127a_Il-\\u0126amis_Il-\\u0120img\\u0127a_Is-Sibt\".split(\"_\"),weekdaysShort:\"\\u0126ad_Tne_Tli_Erb_\\u0126am_\\u0120im_Sib\".split(\"_\"),weekdaysMin:\"\\u0126a_Tn_Tl_Er_\\u0126a_\\u0120i_Si\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Illum fil-]LT\",nextDay:\"[G\\u0127ada fil-]LT\",nextWeek:\"dddd [fil-]LT\",lastDay:\"[Il-biera\\u0127 fil-]LT\",lastWeek:\"dddd [li g\\u0127adda] [fil-]LT\",sameElse:\"L\"},relativeTime:{future:\"f\\u2019 %s\",past:\"%s ilu\",s:\"ftit sekondi\",ss:\"%d sekondi\",m:\"minuta\",mm:\"%d minuti\",h:\"sieg\\u0127a\",hh:\"%d sieg\\u0127at\",d:\"\\u0121urnata\",dd:\"%d \\u0121ranet\",M:\"xahar\",MM:\"%d xhur\",y:\"sena\",yy:\"%d sni\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar cn={1:\"\\u1041\",2:\"\\u1042\",3:\"\\u1043\",4:\"\\u1044\",5:\"\\u1045\",6:\"\\u1046\",7:\"\\u1047\",8:\"\\u1048\",9:\"\\u1049\",0:\"\\u1040\"},Ln={\"\\u1041\":\"1\",\"\\u1042\":\"2\",\"\\u1043\":\"3\",\"\\u1044\":\"4\",\"\\u1045\":\"5\",\"\\u1046\":\"6\",\"\\u1047\":\"7\",\"\\u1048\":\"8\",\"\\u1049\":\"9\",\"\\u1040\":\"0\"},Yn=(L.defineLocale(\"my\",{months:\"\\u1007\\u1014\\u103a\\u1014\\u101d\\u102b\\u101b\\u102e_\\u1016\\u1031\\u1016\\u1031\\u102c\\u103a\\u101d\\u102b\\u101b\\u102e_\\u1019\\u1010\\u103a_\\u1027\\u1015\\u103c\\u102e_\\u1019\\u1031_\\u1007\\u103d\\u1014\\u103a_\\u1007\\u1030\\u101c\\u102d\\u102f\\u1004\\u103a_\\u101e\\u103c\\u1002\\u102f\\u1010\\u103a_\\u1005\\u1000\\u103a\\u1010\\u1004\\u103a\\u1018\\u102c_\\u1021\\u1031\\u102c\\u1000\\u103a\\u1010\\u102d\\u102f\\u1018\\u102c_\\u1014\\u102d\\u102f\\u101d\\u1004\\u103a\\u1018\\u102c_\\u1012\\u102e\\u1007\\u1004\\u103a\\u1018\\u102c\".split(\"_\"),monthsShort:\"\\u1007\\u1014\\u103a_\\u1016\\u1031_\\u1019\\u1010\\u103a_\\u1015\\u103c\\u102e_\\u1019\\u1031_\\u1007\\u103d\\u1014\\u103a_\\u101c\\u102d\\u102f\\u1004\\u103a_\\u101e\\u103c_\\u1005\\u1000\\u103a_\\u1021\\u1031\\u102c\\u1000\\u103a_\\u1014\\u102d\\u102f_\\u1012\\u102e\".split(\"_\"),weekdays:\"\\u1010\\u1014\\u1004\\u103a\\u1039\\u1002\\u1014\\u103d\\u1031_\\u1010\\u1014\\u1004\\u103a\\u1039\\u101c\\u102c_\\u1021\\u1004\\u103a\\u1039\\u1002\\u102b_\\u1017\\u102f\\u1012\\u1039\\u1013\\u101f\\u1030\\u1038_\\u1000\\u103c\\u102c\\u101e\\u1015\\u1010\\u1031\\u1038_\\u101e\\u1031\\u102c\\u1000\\u103c\\u102c_\\u1005\\u1014\\u1031\".split(\"_\"),weekdaysShort:\"\\u1014\\u103d\\u1031_\\u101c\\u102c_\\u1002\\u102b_\\u101f\\u1030\\u1038_\\u1000\\u103c\\u102c_\\u101e\\u1031\\u102c_\\u1014\\u1031\".split(\"_\"),weekdaysMin:\"\\u1014\\u103d\\u1031_\\u101c\\u102c_\\u1002\\u102b_\\u101f\\u1030\\u1038_\\u1000\\u103c\\u102c_\\u101e\\u1031\\u102c_\\u1014\\u1031\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u101a\\u1014\\u1031.] LT [\\u1019\\u103e\\u102c]\",nextDay:\"[\\u1019\\u1014\\u1000\\u103a\\u1016\\u103c\\u1014\\u103a] LT [\\u1019\\u103e\\u102c]\",nextWeek:\"dddd LT [\\u1019\\u103e\\u102c]\",lastDay:\"[\\u1019\\u1014\\u1031.\\u1000] LT [\\u1019\\u103e\\u102c]\",lastWeek:\"[\\u1015\\u103c\\u102e\\u1038\\u1001\\u1032\\u1037\\u101e\\u1031\\u102c] dddd LT [\\u1019\\u103e\\u102c]\",sameElse:\"L\"},relativeTime:{future:\"\\u101c\\u102c\\u1019\\u100a\\u103a\\u1037 %s \\u1019\\u103e\\u102c\",past:\"\\u101c\\u103d\\u1014\\u103a\\u1001\\u1032\\u1037\\u101e\\u1031\\u102c %s \\u1000\",s:\"\\u1005\\u1000\\u1039\\u1000\\u1014\\u103a.\\u1021\\u1014\\u100a\\u103a\\u1038\\u1004\\u101a\\u103a\",ss:\"%d \\u1005\\u1000\\u1039\\u1000\\u1014\\u1037\\u103a\",m:\"\\u1010\\u1005\\u103a\\u1019\\u102d\\u1014\\u1005\\u103a\",mm:\"%d \\u1019\\u102d\\u1014\\u1005\\u103a\",h:\"\\u1010\\u1005\\u103a\\u1014\\u102c\\u101b\\u102e\",hh:\"%d \\u1014\\u102c\\u101b\\u102e\",d:\"\\u1010\\u1005\\u103a\\u101b\\u1000\\u103a\",dd:\"%d \\u101b\\u1000\\u103a\",M:\"\\u1010\\u1005\\u103a\\u101c\",MM:\"%d \\u101c\",y:\"\\u1010\\u1005\\u103a\\u1014\\u103e\\u1005\\u103a\",yy:\"%d \\u1014\\u103e\\u1005\\u103a\"},preparse:function(e){return e.replace(/[\\u1041\\u1042\\u1043\\u1044\\u1045\\u1046\\u1047\\u1048\\u1049\\u1040]/g,function(e){return Ln[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return cn[e]})},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"nb\",{months:\"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember\".split(\"_\"),monthsShort:\"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.\".split(\"_\"),monthsParseExact:!0,weekdays:\"s\\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\\xf8rdag\".split(\"_\"),weekdaysShort:\"s\\xf8._ma._ti._on._to._fr._l\\xf8.\".split(\"_\"),weekdaysMin:\"s\\xf8_ma_ti_on_to_fr_l\\xf8\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY [kl.] HH:mm\",LLLL:\"dddd D. MMMM YYYY [kl.] HH:mm\"},calendar:{sameDay:\"[i dag kl.] LT\",nextDay:\"[i morgen kl.] LT\",nextWeek:\"dddd [kl.] LT\",lastDay:\"[i g\\xe5r kl.] LT\",lastWeek:\"[forrige] dddd [kl.] LT\",sameElse:\"L\"},relativeTime:{future:\"om %s\",past:\"%s siden\",s:\"noen sekunder\",ss:\"%d sekunder\",m:\"ett minutt\",mm:\"%d minutter\",h:\"\\xe9n time\",hh:\"%d timer\",d:\"\\xe9n dag\",dd:\"%d dager\",w:\"\\xe9n uke\",ww:\"%d uker\",M:\"\\xe9n m\\xe5ned\",MM:\"%d m\\xe5neder\",y:\"ett \\xe5r\",yy:\"%d \\xe5r\"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),{1:\"\\u0967\",2:\"\\u0968\",3:\"\\u0969\",4:\"\\u096a\",5:\"\\u096b\",6:\"\\u096c\",7:\"\\u096d\",8:\"\\u096e\",9:\"\\u096f\",0:\"\\u0966\"}),yn={\"\\u0967\":\"1\",\"\\u0968\":\"2\",\"\\u0969\":\"3\",\"\\u096a\":\"4\",\"\\u096b\":\"5\",\"\\u096c\":\"6\",\"\\u096d\":\"7\",\"\\u096e\":\"8\",\"\\u096f\":\"9\",\"\\u0966\":\"0\"},fn=(L.defineLocale(\"ne\",{months:\"\\u091c\\u0928\\u0935\\u0930\\u0940_\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941\\u0935\\u0930\\u0940_\\u092e\\u093e\\u0930\\u094d\\u091a_\\u0905\\u092a\\u094d\\u0930\\u093f\\u0932_\\u092e\\u0908_\\u091c\\u0941\\u0928_\\u091c\\u0941\\u0932\\u093e\\u0908_\\u0905\\u0917\\u0937\\u094d\\u091f_\\u0938\\u0947\\u092a\\u094d\\u091f\\u0947\\u092e\\u094d\\u092c\\u0930_\\u0905\\u0915\\u094d\\u091f\\u094b\\u092c\\u0930_\\u0928\\u094b\\u092d\\u0947\\u092e\\u094d\\u092c\\u0930_\\u0921\\u093f\\u0938\\u0947\\u092e\\u094d\\u092c\\u0930\".split(\"_\"),monthsShort:\"\\u091c\\u0928._\\u092b\\u0947\\u092c\\u094d\\u0930\\u0941._\\u092e\\u093e\\u0930\\u094d\\u091a_\\u0905\\u092a\\u094d\\u0930\\u093f._\\u092e\\u0908_\\u091c\\u0941\\u0928_\\u091c\\u0941\\u0932\\u093e\\u0908._\\u0905\\u0917._\\u0938\\u0947\\u092a\\u094d\\u091f._\\u0905\\u0915\\u094d\\u091f\\u094b._\\u0928\\u094b\\u092d\\u0947._\\u0921\\u093f\\u0938\\u0947.\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u0906\\u0907\\u0924\\u092c\\u093e\\u0930_\\u0938\\u094b\\u092e\\u092c\\u093e\\u0930_\\u092e\\u0919\\u094d\\u0917\\u0932\\u092c\\u093e\\u0930_\\u092c\\u0941\\u0927\\u092c\\u093e\\u0930_\\u092c\\u093f\\u0939\\u093f\\u092c\\u093e\\u0930_\\u0936\\u0941\\u0915\\u094d\\u0930\\u092c\\u093e\\u0930_\\u0936\\u0928\\u093f\\u092c\\u093e\\u0930\".split(\"_\"),weekdaysShort:\"\\u0906\\u0907\\u0924._\\u0938\\u094b\\u092e._\\u092e\\u0919\\u094d\\u0917\\u0932._\\u092c\\u0941\\u0927._\\u092c\\u093f\\u0939\\u093f._\\u0936\\u0941\\u0915\\u094d\\u0930._\\u0936\\u0928\\u093f.\".split(\"_\"),weekdaysMin:\"\\u0906._\\u0938\\u094b._\\u092e\\u0902._\\u092c\\u0941._\\u092c\\u093f._\\u0936\\u0941._\\u0936.\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"A\\u0915\\u094b h:mm \\u092c\\u091c\\u0947\",LTS:\"A\\u0915\\u094b h:mm:ss \\u092c\\u091c\\u0947\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A\\u0915\\u094b h:mm \\u092c\\u091c\\u0947\",LLLL:\"dddd, D MMMM YYYY, A\\u0915\\u094b h:mm \\u092c\\u091c\\u0947\"},preparse:function(e){return e.replace(/[\\u0967\\u0968\\u0969\\u096a\\u096b\\u096c\\u096d\\u096e\\u096f\\u0966]/g,function(e){return yn[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return Yn[e]})},meridiemParse:/\\u0930\\u093e\\u0924\\u093f|\\u092c\\u093f\\u0939\\u093e\\u0928|\\u0926\\u093f\\u0909\\u0901\\u0938\\u094b|\\u0938\\u093e\\u0901\\u091d/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0930\\u093e\\u0924\\u093f\"===a?e<4?e:e+12:\"\\u092c\\u093f\\u0939\\u093e\\u0928\"===a?e:\"\\u0926\\u093f\\u0909\\u0901\\u0938\\u094b\"===a?10<=e?e:e+12:\"\\u0938\\u093e\\u0901\\u091d\"===a?e+12:void 0},meridiem:function(e,a,t){return e<3?\"\\u0930\\u093e\\u0924\\u093f\":e<12?\"\\u092c\\u093f\\u0939\\u093e\\u0928\":e<16?\"\\u0926\\u093f\\u0909\\u0901\\u0938\\u094b\":e<20?\"\\u0938\\u093e\\u0901\\u091d\":\"\\u0930\\u093e\\u0924\\u093f\"},calendar:{sameDay:\"[\\u0906\\u091c] LT\",nextDay:\"[\\u092d\\u094b\\u0932\\u093f] LT\",nextWeek:\"[\\u0906\\u0909\\u0901\\u0926\\u094b] dddd[,] LT\",lastDay:\"[\\u0939\\u093f\\u091c\\u094b] LT\",lastWeek:\"[\\u0917\\u090f\\u0915\\u094b] dddd[,] LT\",sameElse:\"L\"},relativeTime:{future:\"%s\\u092e\\u093e\",past:\"%s \\u0905\\u0917\\u093e\\u0921\\u093f\",s:\"\\u0915\\u0947\\u0939\\u0940 \\u0915\\u094d\\u0937\\u0923\",ss:\"%d \\u0938\\u0947\\u0915\\u0947\\u0923\\u094d\\u0921\",m:\"\\u090f\\u0915 \\u092e\\u093f\\u0928\\u0947\\u091f\",mm:\"%d \\u092e\\u093f\\u0928\\u0947\\u091f\",h:\"\\u090f\\u0915 \\u0918\\u0923\\u094d\\u091f\\u093e\",hh:\"%d \\u0918\\u0923\\u094d\\u091f\\u093e\",d:\"\\u090f\\u0915 \\u0926\\u093f\\u0928\",dd:\"%d \\u0926\\u093f\\u0928\",M:\"\\u090f\\u0915 \\u092e\\u0939\\u093f\\u0928\\u093e\",MM:\"%d \\u092e\\u0939\\u093f\\u0928\\u093e\",y:\"\\u090f\\u0915 \\u092c\\u0930\\u094d\\u0937\",yy:\"%d \\u092c\\u0930\\u094d\\u0937\"},week:{dow:0,doy:6}}),\"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.\".split(\"_\")),pn=\"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec\".split(\"_\"),ve=[/^jan/i,/^feb/i,/^(maart|mrt\\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],h=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,kn=(L.defineLocale(\"nl-be\",{months:\"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december\".split(\"_\"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?pn:fn)[e.month()]:fn},monthsRegex:h,monthsShortRegex:h,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,monthsParse:ve,longMonthsParse:ve,shortMonthsParse:ve,weekdays:\"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag\".split(\"_\"),weekdaysShort:\"zo._ma._di._wo._do._vr._za.\".split(\"_\"),weekdaysMin:\"zo_ma_di_wo_do_vr_za\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"D/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[vandaag om] LT\",nextDay:\"[morgen om] LT\",nextWeek:\"dddd [om] LT\",lastDay:\"[gisteren om] LT\",lastWeek:\"[afgelopen] dddd [om] LT\",sameElse:\"L\"},relativeTime:{future:\"over %s\",past:\"%s geleden\",s:\"een paar seconden\",ss:\"%d seconden\",m:\"\\xe9\\xe9n minuut\",mm:\"%d minuten\",h:\"\\xe9\\xe9n uur\",hh:\"%d uur\",d:\"\\xe9\\xe9n dag\",dd:\"%d dagen\",M:\"\\xe9\\xe9n maand\",MM:\"%d maanden\",y:\"\\xe9\\xe9n jaar\",yy:\"%d jaar\"},dayOfMonthOrdinalParse:/\\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?\"ste\":\"de\")},week:{dow:1,doy:4}}),\"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.\".split(\"_\")),Dn=\"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec\".split(\"_\"),xt=[/^jan/i,/^feb/i,/^(maart|mrt\\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],k=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,gn=(L.defineLocale(\"nl\",{months:\"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december\".split(\"_\"),monthsShort:function(e,a){return e?(/-MMM-/.test(a)?Dn:kn)[e.month()]:kn},monthsRegex:k,monthsShortRegex:k,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,monthsParse:xt,longMonthsParse:xt,shortMonthsParse:xt,weekdays:\"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag\".split(\"_\"),weekdaysShort:\"zo._ma._di._wo._do._vr._za.\".split(\"_\"),weekdaysMin:\"zo_ma_di_wo_do_vr_za\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD-MM-YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[vandaag om] LT\",nextDay:\"[morgen om] LT\",nextWeek:\"dddd [om] LT\",lastDay:\"[gisteren om] LT\",lastWeek:\"[afgelopen] dddd [om] LT\",sameElse:\"L\"},relativeTime:{future:\"over %s\",past:\"%s geleden\",s:\"een paar seconden\",ss:\"%d seconden\",m:\"\\xe9\\xe9n minuut\",mm:\"%d minuten\",h:\"\\xe9\\xe9n uur\",hh:\"%d uur\",d:\"\\xe9\\xe9n dag\",dd:\"%d dagen\",w:\"\\xe9\\xe9n week\",ww:\"%d weken\",M:\"\\xe9\\xe9n maand\",MM:\"%d maanden\",y:\"\\xe9\\xe9n jaar\",yy:\"%d jaar\"},dayOfMonthOrdinalParse:/\\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||20<=e?\"ste\":\"de\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"nn\",{months:\"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember\".split(\"_\"),monthsShort:\"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.\".split(\"_\"),monthsParseExact:!0,weekdays:\"sundag_m\\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag\".split(\"_\"),weekdaysShort:\"su._m\\xe5._ty._on._to._fr._lau.\".split(\"_\"),weekdaysMin:\"su_m\\xe5_ty_on_to_fr_la\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY [kl.] H:mm\",LLLL:\"dddd D. MMMM YYYY [kl.] HH:mm\"},calendar:{sameDay:\"[I dag klokka] LT\",nextDay:\"[I morgon klokka] LT\",nextWeek:\"dddd [klokka] LT\",lastDay:\"[I g\\xe5r klokka] LT\",lastWeek:\"[F\\xf8reg\\xe5ande] dddd [klokka] LT\",sameElse:\"L\"},relativeTime:{future:\"om %s\",past:\"%s sidan\",s:\"nokre sekund\",ss:\"%d sekund\",m:\"eit minutt\",mm:\"%d minutt\",h:\"ein time\",hh:\"%d timar\",d:\"ein dag\",dd:\"%d dagar\",w:\"ei veke\",ww:\"%d veker\",M:\"ein m\\xe5nad\",MM:\"%d m\\xe5nader\",y:\"eit \\xe5r\",yy:\"%d \\xe5r\"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"oc-lnc\",{months:{standalone:\"geni\\xe8r_febri\\xe8r_mar\\xe7_abril_mai_junh_julhet_agost_setembre_oct\\xf2bre_novembre_decembre\".split(\"_\"),format:\"de geni\\xe8r_de febri\\xe8r_de mar\\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\\xf2bre_de novembre_de decembre\".split(\"_\"),isFormat:/D[oD]?(\\s)+MMMM/},monthsShort:\"gen._febr._mar\\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.\".split(\"_\"),monthsParseExact:!0,weekdays:\"dimenge_diluns_dimars_dim\\xe8cres_dij\\xf2us_divendres_dissabte\".split(\"_\"),weekdaysShort:\"dg._dl._dm._dc._dj._dv._ds.\".split(\"_\"),weekdaysMin:\"dg_dl_dm_dc_dj_dv_ds\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM [de] YYYY\",ll:\"D MMM YYYY\",LLL:\"D MMMM [de] YYYY [a] H:mm\",lll:\"D MMM YYYY, H:mm\",LLLL:\"dddd D MMMM [de] YYYY [a] H:mm\",llll:\"ddd D MMM YYYY, H:mm\"},calendar:{sameDay:\"[u\\xe8i a] LT\",nextDay:\"[deman a] LT\",nextWeek:\"dddd [a] LT\",lastDay:\"[i\\xe8r a] LT\",lastWeek:\"dddd [passat a] LT\",sameElse:\"L\"},relativeTime:{future:\"d'aqu\\xed %s\",past:\"fa %s\",s:\"unas segondas\",ss:\"%d segondas\",m:\"una minuta\",mm:\"%d minutas\",h:\"una ora\",hh:\"%d oras\",d:\"un jorn\",dd:\"%d jorns\",M:\"un mes\",MM:\"%d meses\",y:\"un an\",yy:\"%d ans\"},dayOfMonthOrdinalParse:/\\d{1,2}(r|n|t|\\xe8|a)/,ordinal:function(e,a){return e+(\"w\"!==a&&\"W\"!==a?1===e?\"r\":2===e?\"n\":3===e?\"r\":4===e?\"t\":\"\\xe8\":\"a\")},week:{dow:1,doy:4}}),{1:\"\\u0a67\",2:\"\\u0a68\",3:\"\\u0a69\",4:\"\\u0a6a\",5:\"\\u0a6b\",6:\"\\u0a6c\",7:\"\\u0a6d\",8:\"\\u0a6e\",9:\"\\u0a6f\",0:\"\\u0a66\"}),Tn={\"\\u0a67\":\"1\",\"\\u0a68\":\"2\",\"\\u0a69\":\"3\",\"\\u0a6a\":\"4\",\"\\u0a6b\":\"5\",\"\\u0a6c\":\"6\",\"\\u0a6d\":\"7\",\"\\u0a6e\":\"8\",\"\\u0a6f\":\"9\",\"\\u0a66\":\"0\"},wn=(L.defineLocale(\"pa-in\",{months:\"\\u0a1c\\u0a28\\u0a35\\u0a30\\u0a40_\\u0a2b\\u0a3c\\u0a30\\u0a35\\u0a30\\u0a40_\\u0a2e\\u0a3e\\u0a30\\u0a1a_\\u0a05\\u0a2a\\u0a4d\\u0a30\\u0a48\\u0a32_\\u0a2e\\u0a08_\\u0a1c\\u0a42\\u0a28_\\u0a1c\\u0a41\\u0a32\\u0a3e\\u0a08_\\u0a05\\u0a17\\u0a38\\u0a24_\\u0a38\\u0a24\\u0a70\\u0a2c\\u0a30_\\u0a05\\u0a15\\u0a24\\u0a42\\u0a2c\\u0a30_\\u0a28\\u0a35\\u0a70\\u0a2c\\u0a30_\\u0a26\\u0a38\\u0a70\\u0a2c\\u0a30\".split(\"_\"),monthsShort:\"\\u0a1c\\u0a28\\u0a35\\u0a30\\u0a40_\\u0a2b\\u0a3c\\u0a30\\u0a35\\u0a30\\u0a40_\\u0a2e\\u0a3e\\u0a30\\u0a1a_\\u0a05\\u0a2a\\u0a4d\\u0a30\\u0a48\\u0a32_\\u0a2e\\u0a08_\\u0a1c\\u0a42\\u0a28_\\u0a1c\\u0a41\\u0a32\\u0a3e\\u0a08_\\u0a05\\u0a17\\u0a38\\u0a24_\\u0a38\\u0a24\\u0a70\\u0a2c\\u0a30_\\u0a05\\u0a15\\u0a24\\u0a42\\u0a2c\\u0a30_\\u0a28\\u0a35\\u0a70\\u0a2c\\u0a30_\\u0a26\\u0a38\\u0a70\\u0a2c\\u0a30\".split(\"_\"),weekdays:\"\\u0a10\\u0a24\\u0a35\\u0a3e\\u0a30_\\u0a38\\u0a4b\\u0a2e\\u0a35\\u0a3e\\u0a30_\\u0a2e\\u0a70\\u0a17\\u0a32\\u0a35\\u0a3e\\u0a30_\\u0a2c\\u0a41\\u0a27\\u0a35\\u0a3e\\u0a30_\\u0a35\\u0a40\\u0a30\\u0a35\\u0a3e\\u0a30_\\u0a38\\u0a3c\\u0a41\\u0a71\\u0a15\\u0a30\\u0a35\\u0a3e\\u0a30_\\u0a38\\u0a3c\\u0a28\\u0a40\\u0a1a\\u0a30\\u0a35\\u0a3e\\u0a30\".split(\"_\"),weekdaysShort:\"\\u0a10\\u0a24_\\u0a38\\u0a4b\\u0a2e_\\u0a2e\\u0a70\\u0a17\\u0a32_\\u0a2c\\u0a41\\u0a27_\\u0a35\\u0a40\\u0a30_\\u0a38\\u0a3c\\u0a41\\u0a15\\u0a30_\\u0a38\\u0a3c\\u0a28\\u0a40\".split(\"_\"),weekdaysMin:\"\\u0a10\\u0a24_\\u0a38\\u0a4b\\u0a2e_\\u0a2e\\u0a70\\u0a17\\u0a32_\\u0a2c\\u0a41\\u0a27_\\u0a35\\u0a40\\u0a30_\\u0a38\\u0a3c\\u0a41\\u0a15\\u0a30_\\u0a38\\u0a3c\\u0a28\\u0a40\".split(\"_\"),longDateFormat:{LT:\"A h:mm \\u0a35\\u0a1c\\u0a47\",LTS:\"A h:mm:ss \\u0a35\\u0a1c\\u0a47\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm \\u0a35\\u0a1c\\u0a47\",LLLL:\"dddd, D MMMM YYYY, A h:mm \\u0a35\\u0a1c\\u0a47\"},calendar:{sameDay:\"[\\u0a05\\u0a1c] LT\",nextDay:\"[\\u0a15\\u0a32] LT\",nextWeek:\"[\\u0a05\\u0a17\\u0a32\\u0a3e] dddd, LT\",lastDay:\"[\\u0a15\\u0a32] LT\",lastWeek:\"[\\u0a2a\\u0a3f\\u0a1b\\u0a32\\u0a47] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0a35\\u0a3f\\u0a71\\u0a1a\",past:\"%s \\u0a2a\\u0a3f\\u0a1b\\u0a32\\u0a47\",s:\"\\u0a15\\u0a41\\u0a1d \\u0a38\\u0a15\\u0a3f\\u0a70\\u0a1f\",ss:\"%d \\u0a38\\u0a15\\u0a3f\\u0a70\\u0a1f\",m:\"\\u0a07\\u0a15 \\u0a2e\\u0a3f\\u0a70\\u0a1f\",mm:\"%d \\u0a2e\\u0a3f\\u0a70\\u0a1f\",h:\"\\u0a07\\u0a71\\u0a15 \\u0a18\\u0a70\\u0a1f\\u0a3e\",hh:\"%d \\u0a18\\u0a70\\u0a1f\\u0a47\",d:\"\\u0a07\\u0a71\\u0a15 \\u0a26\\u0a3f\\u0a28\",dd:\"%d \\u0a26\\u0a3f\\u0a28\",M:\"\\u0a07\\u0a71\\u0a15 \\u0a2e\\u0a39\\u0a40\\u0a28\\u0a3e\",MM:\"%d \\u0a2e\\u0a39\\u0a40\\u0a28\\u0a47\",y:\"\\u0a07\\u0a71\\u0a15 \\u0a38\\u0a3e\\u0a32\",yy:\"%d \\u0a38\\u0a3e\\u0a32\"},preparse:function(e){return e.replace(/[\\u0a67\\u0a68\\u0a69\\u0a6a\\u0a6b\\u0a6c\\u0a6d\\u0a6e\\u0a6f\\u0a66]/g,function(e){return Tn[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return gn[e]})},meridiemParse:/\\u0a30\\u0a3e\\u0a24|\\u0a38\\u0a35\\u0a47\\u0a30|\\u0a26\\u0a41\\u0a2a\\u0a39\\u0a3f\\u0a30|\\u0a38\\u0a3c\\u0a3e\\u0a2e/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0a30\\u0a3e\\u0a24\"===a?e<4?e:e+12:\"\\u0a38\\u0a35\\u0a47\\u0a30\"===a?e:\"\\u0a26\\u0a41\\u0a2a\\u0a39\\u0a3f\\u0a30\"===a?10<=e?e:e+12:\"\\u0a38\\u0a3c\\u0a3e\\u0a2e\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"\\u0a30\\u0a3e\\u0a24\":e<10?\"\\u0a38\\u0a35\\u0a47\\u0a30\":e<17?\"\\u0a26\\u0a41\\u0a2a\\u0a39\\u0a3f\\u0a30\":e<20?\"\\u0a38\\u0a3c\\u0a3e\\u0a2e\":\"\\u0a30\\u0a3e\\u0a24\"},week:{dow:0,doy:6}}),\"stycze\\u0144_luty_marzec_kwiecie\\u0144_maj_czerwiec_lipiec_sierpie\\u0144_wrzesie\\u0144_pa\\u017adziernik_listopad_grudzie\\u0144\".split(\"_\")),bn=\"stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\\u015bnia_pa\\u017adziernika_listopada_grudnia\".split(\"_\"),Pt=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\\u017a/i,/^lis/i,/^gru/i];function Sn(e){return e%10<5&&1<e%10&&~~(e/10)%10!=1}function Hn(e,a,t){var s=e+\" \";switch(t){case\"ss\":return s+(Sn(e)?\"sekundy\":\"sekund\");case\"m\":return a?\"minuta\":\"minut\\u0119\";case\"mm\":return s+(Sn(e)?\"minuty\":\"minut\");case\"h\":return a?\"godzina\":\"godzin\\u0119\";case\"hh\":return s+(Sn(e)?\"godziny\":\"godzin\");case\"ww\":return s+(Sn(e)?\"tygodnie\":\"tygodni\");case\"MM\":return s+(Sn(e)?\"miesi\\u0105ce\":\"miesi\\u0119cy\");case\"yy\":return s+(Sn(e)?\"lata\":\"lat\")}}L.defineLocale(\"pl\",{months:function(e,a){return e?(/D\\.? MMMM/.test(a)?bn:wn)[e.month()]:wn},monthsShort:\"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\\u017a_lis_gru\".split(\"_\"),monthsParse:Pt,longMonthsParse:Pt,shortMonthsParse:Pt,weekdays:\"niedziela_poniedzia\\u0142ek_wtorek_\\u015broda_czwartek_pi\\u0105tek_sobota\".split(\"_\"),weekdaysShort:\"ndz_pon_wt_\\u015br_czw_pt_sob\".split(\"_\"),weekdaysMin:\"Nd_Pn_Wt_\\u015ar_Cz_Pt_So\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Dzi\\u015b o] LT\",nextDay:\"[Jutro o] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[W niedziel\\u0119 o] LT\";case 2:return\"[We wtorek o] LT\";case 3:return\"[W \\u015brod\\u0119 o] LT\";case 6:return\"[W sobot\\u0119 o] LT\";default:return\"[W] dddd [o] LT\"}},lastDay:\"[Wczoraj o] LT\",lastWeek:function(){switch(this.day()){case 0:return\"[W zesz\\u0142\\u0105 niedziel\\u0119 o] LT\";case 3:return\"[W zesz\\u0142\\u0105 \\u015brod\\u0119 o] LT\";case 6:return\"[W zesz\\u0142\\u0105 sobot\\u0119 o] LT\";default:return\"[W zesz\\u0142y] dddd [o] LT\"}},sameElse:\"L\"},relativeTime:{future:\"za %s\",past:\"%s temu\",s:\"kilka sekund\",ss:Hn,m:Hn,mm:Hn,h:Hn,hh:Hn,d:\"1 dzie\\u0144\",dd:\"%d dni\",w:\"tydzie\\u0144\",ww:Hn,M:\"miesi\\u0105c\",MM:Hn,y:\"rok\",yy:Hn},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar vn={1:\"\\u06f1\",2:\"\\u06f2\",3:\"\\u06f3\",4:\"\\u06f4\",5:\"\\u06f5\",6:\"\\u06f6\",7:\"\\u06f7\",8:\"\\u06f8\",9:\"\\u06f9\",0:\"\\u06f0\"},jn={\"\\u06f1\":\"1\",\"\\u06f2\":\"2\",\"\\u06f3\":\"3\",\"\\u06f4\":\"4\",\"\\u06f5\":\"5\",\"\\u06f6\":\"6\",\"\\u06f7\":\"7\",\"\\u06f8\":\"8\",\"\\u06f9\":\"9\",\"\\u06f0\":\"0\"},P={format:\"\\u062c\\u0646\\u0648\\u0631\\u064a_\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a_\\u0645\\u0627\\u0631\\u0686_\\u0627\\u067e\\u0631\\u06cc\\u0644_\\u0645\\u06cd_\\u062c\\u0648\\u0646_\\u062c\\u0648\\u0644\\u0627\\u06cc_\\u0627\\u06ab\\u0633\\u062a_\\u0633\\u06d0\\u067e\\u062a\\u0645\\u0628\\u0631_\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0645\\u0628\\u0631_\\u062f\\u0633\\u0645\\u0628\\u0631\".split(\"_\"),standalone:\"\\u062c\\u0646\\u0648\\u0631\\u064a_\\u0641\\u06d0\\u0628\\u0631\\u0648\\u0631\\u064a_\\u0645\\u0627\\u0631\\u0686_\\u0627\\u067e\\u0631\\u06cc\\u0644_\\u0645\\u06cd_\\u062c\\u0648\\u0646_\\u062c\\u0648\\u0644\\u0627\\u06cc_\\u0627\\u06ab\\u0633\\u062a_\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631_\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0645\\u0628\\u0631_\\u062f\\u0633\\u0645\\u0628\\u0631\".split(\"_\"),isFormat:/D[oD]?(\\[[^\\[\\]]*\\]|\\s|,)+MMMM?/},Me={format:\"\\u062c\\u0646\\u0648\\u0631\\u064a_\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a_\\u0645\\u0627\\u0631\\u0686_\\u0627\\u067e\\u0631\\u06cc\\u0644_\\u0645\\u06cd_\\u062c\\u0648\\u0646_\\u062c\\u0648\\u0644\\u0627\\u06cc_\\u0627\\u06ab\\u0633\\u062a_\\u0633\\u06d0\\u067e\\u062a\\u0645\\u0628\\u0631_\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0645\\u0628\\u0631_\\u062f\\u0633\\u0645\\u0628\\u0631\".split(\"_\"),standalone:\"\\u062c\\u0646\\u0648\\u0631\\u064a_\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a_\\u0645\\u0627\\u0631\\u0686_\\u0627\\u067e\\u0631\\u06cc\\u0644_\\u0645\\u06cd_\\u062c\\u0648\\u0646_\\u062c\\u0648\\u0644\\u0627\\u06cc_\\u0627\\u06ab\\u0633\\u062a_\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631_\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631_\\u0646\\u0648\\u0645\\u0628\\u0631_\\u062f\\u0633\\u0645\\u0628\\u0631\".split(\"_\")},Ve=[/^\\u062c\\u0646\\u0648\\u0631\\u064a$/i,/^(\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a|\\u0641\\u06d0\\u0628\\u0631\\u0648\\u0631\\u064a)$/i,/^\\u0645\\u0627\\u0631\\u0686$/i,/^\\u0627\\u067e\\u0631\\u06cc\\u0644$/i,/^\\u0645\\u06cd$/i,/^\\u062c\\u0648\\u0646$/i,/^\\u062c\\u0648\\u0644\\u0627\\u06cc$/i,/^\\u0627\\u06ab\\u0633\\u062a$/i,/^(\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631|\\u0633\\u06d0\\u067e\\u062a\\u0645\\u0628\\u0631)$/i,/^\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631$/i,/^\\u0646\\u0648\\u0645\\u0628\\u0631$/i,/^\\u062f\\u0633\\u0645\\u0628\\u0631$/i],a=/^(\\u062c\\u0646\\u0648\\u0631\\u064a|\\u0641\\u0628\\u0631\\u0648\\u0631\\u064a|\\u0641\\u06d0\\u0628\\u0631\\u0648\\u0631\\u064a|\\u0645\\u0627\\u0631\\u0686|\\u0627\\u067e\\u0631\\u06cc\\u0644|\\u0645\\u06cd|\\u062c\\u0648\\u0646|\\u062c\\u0648\\u0644\\u0627\\u06cc|\\u0627\\u06ab\\u0633\\u062a|\\u0633\\u067e\\u062a\\u0645\\u0628\\u0631|\\u0633\\u06d0\\u067e\\u062a\\u0645\\u0628\\u0631|\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631|\\u0646\\u0648\\u0645\\u0628\\u0631|\\u062f\\u0633\\u0645\\u0628\\u0631)/i;function xn(e,a,t,s){return(s&&!a?{s:\"\\u0685\\u0648 \\u062b\\u0627\\u0646\\u064a\\u0648\",ss:\"%d \\u062b\\u0627\\u0646\\u064a\\u0648\",m:\"\\u064a\\u0648\\u0647 \\u062f\\u0642\\u064a\\u0642\\u0647\",mm:\"%d \\u062f\\u0642\\u064a\\u0642\\u0648\",h:\"\\u064a\\u0648 \\u0633\\u0627\\u0639\\u062a\",hh:\"%d \\u0633\\u0627\\u0639\\u062a\\u0648\",d:\"\\u064a\\u0648\\u0647 \\u0648\\u0631\\u0681\",dd:\"%d \\u0648\\u0631\\u0681\\u0648\",M:\"\\u064a\\u0648\\u0647 \\u0645\\u064a\\u0627\\u0634\\u062a\",MM:\"%d \\u0645\\u064a\\u0627\\u0634\\u062a\\u0648\",y:\"\\u064a\\u0648 \\u06a9\\u0627\\u0644\",yy:\"%d \\u06a9\\u0627\\u0644\\u0648\\u0646\\u0648\"}:{s:\"\\u0685\\u0648 \\u062b\\u0627\\u0646\\u064a\\u06d0\",ss:\"%d \\u062b\\u0627\\u0646\\u064a\\u06d0\",m:\"\\u064a\\u0648\\u0647 \\u062f\\u0642\\u064a\\u0642\\u0647\",mm:\"%d \\u062f\\u0642\\u064a\\u0642\\u06d0\",h:\"\\u064a\\u0648 \\u0633\\u0627\\u0639\\u062a\",hh:\"%d \\u0633\\u0627\\u0639\\u062a\\u0648\\u0646\\u0647\",d:\"\\u064a\\u0648\\u0647 \\u0648\\u0631\\u0681\",dd:\"%d \\u0648\\u0631\\u0681\\u06d0\",M:\"\\u064a\\u0648\\u0647 \\u0645\\u064a\\u0627\\u0634\\u062a\",MM:\"%d \\u0645\\u064a\\u0627\\u0634\\u062a\\u06d0\",y:\"\\u064a\\u0648 \\u06a9\\u0627\\u0644\",yy:\"%d \\u06a9\\u0627\\u0644\\u0647\"})[t].replace(\"%d\",e)}\n//! moment.js locale configuration\nfunction Pn(e,a,t){return e+(20<=e%100||100<=e&&e%100==0?\" de \":\" \")+{ss:\"secunde\",mm:\"minute\",hh:\"ore\",dd:\"zile\",ww:\"s\\u0103pt\\u0103m\\xe2ni\",MM:\"luni\",yy:\"ani\"}[t]}function On(e,a,t){return\"m\"===t?a?\"\\u043c\\u0438\\u043d\\u0443\\u0442\\u0430\":\"\\u043c\\u0438\\u043d\\u0443\\u0442\\u0443\":e+\" \"+(e=+e,a=(a={ss:a?\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0430_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u044b_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\":\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0443_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u044b_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",mm:a?\"\\u043c\\u0438\\u043d\\u0443\\u0442\\u0430_\\u043c\\u0438\\u043d\\u0443\\u0442\\u044b_\\u043c\\u0438\\u043d\\u0443\\u0442\":\"\\u043c\\u0438\\u043d\\u0443\\u0442\\u0443_\\u043c\\u0438\\u043d\\u0443\\u0442\\u044b_\\u043c\\u0438\\u043d\\u0443\\u0442\",hh:\"\\u0447\\u0430\\u0441_\\u0447\\u0430\\u0441\\u0430_\\u0447\\u0430\\u0441\\u043e\\u0432\",dd:\"\\u0434\\u0435\\u043d\\u044c_\\u0434\\u043d\\u044f_\\u0434\\u043d\\u0435\\u0439\",ww:\"\\u043d\\u0435\\u0434\\u0435\\u043b\\u044f_\\u043d\\u0435\\u0434\\u0435\\u043b\\u0438_\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\",MM:\"\\u043c\\u0435\\u0441\\u044f\\u0446_\\u043c\\u0435\\u0441\\u044f\\u0446\\u0430_\\u043c\\u0435\\u0441\\u044f\\u0446\\u0435\\u0432\",yy:\"\\u0433\\u043e\\u0434_\\u0433\\u043e\\u0434\\u0430_\\u043b\\u0435\\u0442\"}[t]).split(\"_\"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}L.defineLocale(\"ps\",{months:P,monthsShort:Me,monthsParse:Ve,longMonthsParse:Ve,shortMonthsParse:Ve,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:a,monthsShortStrictRegex:a,weekdays:\"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647_\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647_\\u0633\\u0647 \\u0634\\u0646\\u0628\\u0647_\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647_\\u067e\\u0646\\u062c \\u0634\\u0646\\u0628\\u0647_\\u062c\\u0645\\u0639\\u0647_\\u0634\\u0646\\u0628\\u0647\".split(\"_\"),weekdaysShort:\"\\u06cc\\u06a9\\u0634\\u0646\\u0628\\u0647_\\u062f\\u0648\\u0634\\u0646\\u0628\\u0647_\\u0633\\u0647 \\u0634\\u0646\\u0628\\u0647_\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647_\\u067e\\u0646\\u062c \\u0634\\u0646\\u0628\\u0647_\\u062c\\u0645\\u0639\\u0647_\\u0634\\u0646\\u0628\\u0647\".split(\"_\"),weekdaysMin:\"\\u06cc_\\u062f_\\u0633_\\u0686_\\u067e_\\u062c_\\u0634\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"YYYY/M/D\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY H:mm\",LLLL:\"dddd D, MMMM, YYYY [\\u067e\\u0647] H:mm\"},meridiemParse:/\\u063a\\.\\u0645|\\u063a\\.\\u0648\\./,isPM:function(e){return\"\\u063a.\\u0648.\"===e},meridiem:function(e){return e<12?\"\\u063a.\\u0645\":\"\\u063a.\\u0648.\"},calendar:{sameDay:\"[\\u0646\\u0646 \\u067e\\u0647] LT\",nextDay:\"[\\u0633\\u0628\\u0627 \\u067e\\u0647] LT\",nextWeek:\"dddd [\\u067e\\u0647] LT\",lastDay:\"[\\u067e\\u0631\\u0648\\u0646 \\u067e\\u0647] LT\",lastWeek:\"dddd [\\u067e\\u0647] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u067e\\u0647 %s \\u06a9\\u06d0\",past:\"%s \\u0645\\u062e\\u06a9\\u06d0\",s:xn,ss:xn,m:xn,mm:xn,h:xn,hh:xn,d:xn,dd:xn,M:xn,MM:xn,y:xn,yy:xn},preparse:function(e){return e.replace(/[\\u06f0-\\u06f9]/g,function(e){return jn[e]}).replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/\\d/g,function(e){return vn[e]}).replace(/,/g,\"\\u060c\")},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:\"%d\",week:{dow:6,doy:12}}),\n//! moment.js locale configuration\nL.defineLocale(\"pt-br\",{months:\"janeiro_fevereiro_mar\\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro\".split(\"_\"),monthsShort:\"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez\".split(\"_\"),weekdays:\"domingo_segunda-feira_ter\\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\\xe1bado\".split(\"_\"),weekdaysShort:\"dom_seg_ter_qua_qui_sex_s\\xe1b\".split(\"_\"),weekdaysMin:\"do_2\\xaa_3\\xaa_4\\xaa_5\\xaa_6\\xaa_s\\xe1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D [de] MMMM [de] YYYY\",LLL:\"D [de] MMMM [de] YYYY [\\xe0s] HH:mm\",LLLL:\"dddd, D [de] MMMM [de] YYYY [\\xe0s] HH:mm\"},calendar:{sameDay:function(){return\"[Hoje \"+(2<=this.hours()?\"\\xe0s\":\"\\xe0\")+\"] LT\"},nextDay:function(){return\"[Amanh\\xe3 \"+(2<=this.hours()?\"\\xe0s\":\"\\xe0\")+\"] LT\"},nextWeek:function(){return\"dddd [\"+(2<=this.hours()?\"\\xe0s\":\"\\xe0\")+\"] LT\"},lastDay:function(){return\"[Ontem \"+(2<=this.hours()?\"\\xe0s\":\"\\xe0\")+\"] LT\"},lastWeek:function(){return 0===this.day()||6===this.day()?\"[\\xdaltimo] dddd [\"+(2<=this.hours()?\"\\xe0s\":\"\\xe0\")+\"] LT\":\"[\\xdaltima] dddd [\"+(2<=this.hours()?\"\\xe0s\":\"\\xe0\")+\"] LT\"},sameElse:\"L\"},relativeTime:{future:\"em %s\",past:\"h\\xe1 %s\",s:\"poucos segundos\",ss:\"%d segundos\",m:\"um minuto\",mm:\"%d minutos\",h:\"uma hora\",hh:\"%d horas\",d:\"um dia\",dd:\"%d dias\",M:\"um m\\xeas\",MM:\"%d meses\",y:\"um ano\",yy:\"%d anos\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",invalidDate:\"Data inv\\xe1lida\"}),\n//! moment.js locale configuration\nL.defineLocale(\"pt\",{months:\"janeiro_fevereiro_mar\\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro\".split(\"_\"),monthsShort:\"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez\".split(\"_\"),weekdays:\"Domingo_Segunda-feira_Ter\\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\\xe1bado\".split(\"_\"),weekdaysShort:\"Dom_Seg_Ter_Qua_Qui_Sex_S\\xe1b\".split(\"_\"),weekdaysMin:\"Do_2\\xaa_3\\xaa_4\\xaa_5\\xaa_6\\xaa_S\\xe1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D [de] MMMM [de] YYYY\",LLL:\"D [de] MMMM [de] YYYY HH:mm\",LLLL:\"dddd, D [de] MMMM [de] YYYY HH:mm\"},calendar:{sameDay:\"[Hoje \\xe0s] LT\",nextDay:\"[Amanh\\xe3 \\xe0s] LT\",nextWeek:\"dddd [\\xe0s] LT\",lastDay:\"[Ontem \\xe0s] LT\",lastWeek:function(){return 0===this.day()||6===this.day()?\"[\\xdaltimo] dddd [\\xe0s] LT\":\"[\\xdaltima] dddd [\\xe0s] LT\"},sameElse:\"L\"},relativeTime:{future:\"em %s\",past:\"h\\xe1 %s\",s:\"segundos\",ss:\"%d segundos\",m:\"um minuto\",mm:\"%d minutos\",h:\"uma hora\",hh:\"%d horas\",d:\"um dia\",dd:\"%d dias\",w:\"uma semana\",ww:\"%d semanas\",M:\"um m\\xeas\",MM:\"%d meses\",y:\"um ano\",yy:\"%d anos\"},dayOfMonthOrdinalParse:/\\d{1,2}\\xba/,ordinal:\"%d\\xba\",week:{dow:1,doy:4}}),L.defineLocale(\"ro\",{months:\"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie\".split(\"_\"),monthsShort:\"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.\".split(\"_\"),monthsParseExact:!0,weekdays:\"duminic\\u0103_luni_mar\\u021bi_miercuri_joi_vineri_s\\xe2mb\\u0103t\\u0103\".split(\"_\"),weekdaysShort:\"Dum_Lun_Mar_Mie_Joi_Vin_S\\xe2m\".split(\"_\"),weekdaysMin:\"Du_Lu_Ma_Mi_Jo_Vi_S\\xe2\".split(\"_\"),longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY H:mm\",LLLL:\"dddd, D MMMM YYYY H:mm\"},calendar:{sameDay:\"[azi la] LT\",nextDay:\"[m\\xe2ine la] LT\",nextWeek:\"dddd [la] LT\",lastDay:\"[ieri la] LT\",lastWeek:\"[fosta] dddd [la] LT\",sameElse:\"L\"},relativeTime:{future:\"peste %s\",past:\"%s \\xeen urm\\u0103\",s:\"c\\xe2teva secunde\",ss:Pn,m:\"un minut\",mm:Pn,h:\"o or\\u0103\",hh:Pn,d:\"o zi\",dd:Pn,w:\"o s\\u0103pt\\u0103m\\xe2n\\u0103\",ww:Pn,M:\"o lun\\u0103\",MM:Pn,y:\"un an\",yy:Pn},week:{dow:1,doy:7}});p=[/^\\u044f\\u043d\\u0432/i,/^\\u0444\\u0435\\u0432/i,/^\\u043c\\u0430\\u0440/i,/^\\u0430\\u043f\\u0440/i,/^\\u043c\\u0430[\\u0439\\u044f]/i,/^\\u0438\\u044e\\u043d/i,/^\\u0438\\u044e\\u043b/i,/^\\u0430\\u0432\\u0433/i,/^\\u0441\\u0435\\u043d/i,/^\\u043e\\u043a\\u0442/i,/^\\u043d\\u043e\\u044f/i,/^\\u0434\\u0435\\u043a/i],L.defineLocale(\"ru\",{months:{format:\"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044f_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044f_\\u043c\\u0430\\u0440\\u0442\\u0430_\\u0430\\u043f\\u0440\\u0435\\u043b\\u044f_\\u043c\\u0430\\u044f_\\u0438\\u044e\\u043d\\u044f_\\u0438\\u044e\\u043b\\u044f_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430_\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044f_\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044f_\\u043d\\u043e\\u044f\\u0431\\u0440\\u044f_\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044f\".split(\"_\"),standalone:\"\\u044f\\u043d\\u0432\\u0430\\u0440\\u044c_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u044c_\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440\\u0435\\u043b\\u044c_\\u043c\\u0430\\u0439_\\u0438\\u044e\\u043d\\u044c_\\u0438\\u044e\\u043b\\u044c_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u044c_\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u044c_\\u043d\\u043e\\u044f\\u0431\\u0440\\u044c_\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u044c\".split(\"_\")},monthsShort:{format:\"\\u044f\\u043d\\u0432._\\u0444\\u0435\\u0432\\u0440._\\u043c\\u0430\\u0440._\\u0430\\u043f\\u0440._\\u043c\\u0430\\u044f_\\u0438\\u044e\\u043d\\u044f_\\u0438\\u044e\\u043b\\u044f_\\u0430\\u0432\\u0433._\\u0441\\u0435\\u043d\\u0442._\\u043e\\u043a\\u0442._\\u043d\\u043e\\u044f\\u0431._\\u0434\\u0435\\u043a.\".split(\"_\"),standalone:\"\\u044f\\u043d\\u0432._\\u0444\\u0435\\u0432\\u0440._\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440._\\u043c\\u0430\\u0439_\\u0438\\u044e\\u043d\\u044c_\\u0438\\u044e\\u043b\\u044c_\\u0430\\u0432\\u0433._\\u0441\\u0435\\u043d\\u0442._\\u043e\\u043a\\u0442._\\u043d\\u043e\\u044f\\u0431._\\u0434\\u0435\\u043a.\".split(\"_\")},weekdays:{standalone:\"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435_\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a_\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a_\\u0441\\u0440\\u0435\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433_\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0430_\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0430\".split(\"_\"),format:\"\\u0432\\u043e\\u0441\\u043a\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c\\u0435_\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u043b\\u044c\\u043d\\u0438\\u043a_\\u0432\\u0442\\u043e\\u0440\\u043d\\u0438\\u043a_\\u0441\\u0440\\u0435\\u0434\\u0443_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433_\\u043f\\u044f\\u0442\\u043d\\u0438\\u0446\\u0443_\\u0441\\u0443\\u0431\\u0431\\u043e\\u0442\\u0443\".split(\"_\"),isFormat:/\\[ ?[\\u0412\\u0432] ?(?:\\u043f\\u0440\\u043e\\u0448\\u043b\\u0443\\u044e|\\u0441\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0443\\u044e|\\u044d\\u0442\\u0443)? ?] ?dddd/},weekdaysShort:\"\\u0432\\u0441_\\u043f\\u043d_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043f\\u0442_\\u0441\\u0431\".split(\"_\"),weekdaysMin:\"\\u0432\\u0441_\\u043f\\u043d_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043f\\u0442_\\u0441\\u0431\".split(\"_\"),monthsParse:p,longMonthsParse:p,shortMonthsParse:p,monthsRegex:/^(\\u044f\\u043d\\u0432\\u0430\\u0440[\\u044c\\u044f]|\\u044f\\u043d\\u0432\\.?|\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b[\\u044c\\u044f]|\\u0444\\u0435\\u0432\\u0440?\\.?|\\u043c\\u0430\\u0440\\u0442\\u0430?|\\u043c\\u0430\\u0440\\.?|\\u0430\\u043f\\u0440\\u0435\\u043b[\\u044c\\u044f]|\\u0430\\u043f\\u0440\\.?|\\u043c\\u0430[\\u0439\\u044f]|\\u0438\\u044e\\u043d[\\u044c\\u044f]|\\u0438\\u044e\\u043d\\.?|\\u0438\\u044e\\u043b[\\u044c\\u044f]|\\u0438\\u044e\\u043b\\.?|\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430?|\\u0430\\u0432\\u0433\\.?|\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440[\\u044c\\u044f]|\\u0441\\u0435\\u043d\\u0442?\\.?|\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440[\\u044c\\u044f]|\\u043e\\u043a\\u0442\\.?|\\u043d\\u043e\\u044f\\u0431\\u0440[\\u044c\\u044f]|\\u043d\\u043e\\u044f\\u0431?\\.?|\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440[\\u044c\\u044f]|\\u0434\\u0435\\u043a\\.?)/i,monthsShortRegex:/^(\\u044f\\u043d\\u0432\\u0430\\u0440[\\u044c\\u044f]|\\u044f\\u043d\\u0432\\.?|\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b[\\u044c\\u044f]|\\u0444\\u0435\\u0432\\u0440?\\.?|\\u043c\\u0430\\u0440\\u0442\\u0430?|\\u043c\\u0430\\u0440\\.?|\\u0430\\u043f\\u0440\\u0435\\u043b[\\u044c\\u044f]|\\u0430\\u043f\\u0440\\.?|\\u043c\\u0430[\\u0439\\u044f]|\\u0438\\u044e\\u043d[\\u044c\\u044f]|\\u0438\\u044e\\u043d\\.?|\\u0438\\u044e\\u043b[\\u044c\\u044f]|\\u0438\\u044e\\u043b\\.?|\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430?|\\u0430\\u0432\\u0433\\.?|\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440[\\u044c\\u044f]|\\u0441\\u0435\\u043d\\u0442?\\.?|\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440[\\u044c\\u044f]|\\u043e\\u043a\\u0442\\.?|\\u043d\\u043e\\u044f\\u0431\\u0440[\\u044c\\u044f]|\\u043d\\u043e\\u044f\\u0431?\\.?|\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440[\\u044c\\u044f]|\\u0434\\u0435\\u043a\\.?)/i,monthsStrictRegex:/^(\\u044f\\u043d\\u0432\\u0430\\u0440[\\u044f\\u044c]|\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b[\\u044f\\u044c]|\\u043c\\u0430\\u0440\\u0442\\u0430?|\\u0430\\u043f\\u0440\\u0435\\u043b[\\u044f\\u044c]|\\u043c\\u0430[\\u044f\\u0439]|\\u0438\\u044e\\u043d[\\u044f\\u044c]|\\u0438\\u044e\\u043b[\\u044f\\u044c]|\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0430?|\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440[\\u044f\\u044c]|\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440[\\u044f\\u044c]|\\u043d\\u043e\\u044f\\u0431\\u0440[\\u044f\\u044c]|\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440[\\u044f\\u044c])/i,monthsShortStrictRegex:/^(\\u044f\\u043d\\u0432\\.|\\u0444\\u0435\\u0432\\u0440?\\.|\\u043c\\u0430\\u0440[\\u0442.]|\\u0430\\u043f\\u0440\\.|\\u043c\\u0430[\\u044f\\u0439]|\\u0438\\u044e\\u043d[\\u044c\\u044f.]|\\u0438\\u044e\\u043b[\\u044c\\u044f.]|\\u0430\\u0432\\u0433\\.|\\u0441\\u0435\\u043d\\u0442?\\.|\\u043e\\u043a\\u0442\\.|\\u043d\\u043e\\u044f\\u0431?\\.|\\u0434\\u0435\\u043a\\.)/i,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY \\u0433.\",LLL:\"D MMMM YYYY \\u0433., H:mm\",LLLL:\"dddd, D MMMM YYYY \\u0433., H:mm\"},calendar:{sameDay:\"[\\u0421\\u0435\\u0433\\u043e\\u0434\\u043d\\u044f, \\u0432] LT\",nextDay:\"[\\u0417\\u0430\\u0432\\u0442\\u0440\\u0430, \\u0432] LT\",lastDay:\"[\\u0412\\u0447\\u0435\\u0440\\u0430, \\u0432] LT\",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?\"[\\u0412\\u043e] dddd, [\\u0432] LT\":\"[\\u0412] dddd, [\\u0432] LT\";switch(this.day()){case 0:return\"[\\u0412 \\u0441\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0435\\u0435] dddd, [\\u0432] LT\";case 1:case 2:case 4:return\"[\\u0412 \\u0441\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0438\\u0439] dddd, [\\u0432] LT\";case 3:case 5:case 6:return\"[\\u0412 \\u0441\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0443\\u044e] dddd, [\\u0432] LT\"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?\"[\\u0412\\u043e] dddd, [\\u0432] LT\":\"[\\u0412] dddd, [\\u0432] LT\";switch(this.day()){case 0:return\"[\\u0412 \\u043f\\u0440\\u043e\\u0448\\u043b\\u043e\\u0435] dddd, [\\u0432] LT\";case 1:case 2:case 4:return\"[\\u0412 \\u043f\\u0440\\u043e\\u0448\\u043b\\u044b\\u0439] dddd, [\\u0432] LT\";case 3:case 5:case 6:return\"[\\u0412 \\u043f\\u0440\\u043e\\u0448\\u043b\\u0443\\u044e] dddd, [\\u0432] LT\"}},sameElse:\"L\"},relativeTime:{future:\"\\u0447\\u0435\\u0440\\u0435\\u0437 %s\",past:\"%s \\u043d\\u0430\\u0437\\u0430\\u0434\",s:\"\\u043d\\u0435\\u0441\\u043a\\u043e\\u043b\\u044c\\u043a\\u043e \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",ss:On,m:On,mm:On,h:\"\\u0447\\u0430\\u0441\",hh:On,d:\"\\u0434\\u0435\\u043d\\u044c\",dd:On,w:\"\\u043d\\u0435\\u0434\\u0435\\u043b\\u044f\",ww:On,M:\"\\u043c\\u0435\\u0441\\u044f\\u0446\",MM:On,y:\"\\u0433\\u043e\\u0434\",yy:On},meridiemParse:/\\u043d\\u043e\\u0447\\u0438|\\u0443\\u0442\\u0440\\u0430|\\u0434\\u043d\\u044f|\\u0432\\u0435\\u0447\\u0435\\u0440\\u0430/i,isPM:function(e){return/^(\\u0434\\u043d\\u044f|\\u0432\\u0435\\u0447\\u0435\\u0440\\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?\"\\u043d\\u043e\\u0447\\u0438\":e<12?\"\\u0443\\u0442\\u0440\\u0430\":e<17?\"\\u0434\\u043d\\u044f\":\"\\u0432\\u0435\\u0447\\u0435\\u0440\\u0430\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0439|\\u0433\\u043e|\\u044f)/,ordinal:function(e,a){switch(a){case\"M\":case\"d\":case\"DDD\":return e+\"-\\u0439\";case\"D\":return e+\"-\\u0433\\u043e\";case\"w\":case\"W\":return e+\"-\\u044f\";default:return e}},week:{dow:1,doy:4}}),M=[\"\\u062c\\u0646\\u0648\\u0631\\u064a\",\"\\u0641\\u064a\\u0628\\u0631\\u0648\\u0631\\u064a\",\"\\u0645\\u0627\\u0631\\u0686\",\"\\u0627\\u067e\\u0631\\u064a\\u0644\",\"\\u0645\\u0626\\u064a\",\"\\u062c\\u0648\\u0646\",\"\\u062c\\u0648\\u0644\\u0627\\u0621\\u0650\",\"\\u0622\\u06af\\u0633\\u067d\",\"\\u0633\\u064a\\u067e\\u067d\\u0645\\u0628\\u0631\",\"\\u0622\\u06aa\\u067d\\u0648\\u0628\\u0631\",\"\\u0646\\u0648\\u0645\\u0628\\u0631\",\"\\u068a\\u0633\\u0645\\u0628\\u0631\"],t=[\"\\u0622\\u0686\\u0631\",\"\\u0633\\u0648\\u0645\\u0631\",\"\\u0627\\u06b1\\u0627\\u0631\\u0648\",\"\\u0627\\u0631\\u0628\\u0639\",\"\\u062e\\u0645\\u064a\\u0633\",\"\\u062c\\u0645\\u0639\",\"\\u0687\\u0646\\u0687\\u0631\"],L.defineLocale(\"sd\",{months:M,monthsShort:M,weekdays:t,weekdaysShort:t,weekdaysMin:t,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd\\u060c D MMMM YYYY HH:mm\"},meridiemParse:/\\u0635\\u0628\\u062d|\\u0634\\u0627\\u0645/,isPM:function(e){return\"\\u0634\\u0627\\u0645\"===e},meridiem:function(e,a,t){return e<12?\"\\u0635\\u0628\\u062d\":\"\\u0634\\u0627\\u0645\"},calendar:{sameDay:\"[\\u0627\\u0684] LT\",nextDay:\"[\\u0633\\u0680\\u0627\\u06bb\\u064a] LT\",nextWeek:\"dddd [\\u0627\\u06b3\\u064a\\u0646 \\u0647\\u0641\\u062a\\u064a \\u062a\\u064a] LT\",lastDay:\"[\\u06aa\\u0627\\u0644\\u0647\\u0647] LT\",lastWeek:\"[\\u06af\\u0632\\u0631\\u064a\\u0644 \\u0647\\u0641\\u062a\\u064a] dddd [\\u062a\\u064a] LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u067e\\u0648\\u0621\",past:\"%s \\u0627\\u06b3\",s:\"\\u0686\\u0646\\u062f \\u0633\\u064a\\u06aa\\u0646\\u068a\",ss:\"%d \\u0633\\u064a\\u06aa\\u0646\\u068a\",m:\"\\u0647\\u06aa \\u0645\\u0646\\u067d\",mm:\"%d \\u0645\\u0646\\u067d\",h:\"\\u0647\\u06aa \\u06aa\\u0644\\u0627\\u06aa\",hh:\"%d \\u06aa\\u0644\\u0627\\u06aa\",d:\"\\u0647\\u06aa \\u068f\\u064a\\u0646\\u0647\\u0646\",dd:\"%d \\u068f\\u064a\\u0646\\u0647\\u0646\",M:\"\\u0647\\u06aa \\u0645\\u0647\\u064a\\u0646\\u0648\",MM:\"%d \\u0645\\u0647\\u064a\\u0646\\u0627\",y:\"\\u0647\\u06aa \\u0633\\u0627\\u0644\",yy:\"%d \\u0633\\u0627\\u0644\"},preparse:function(e){return e.replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/,/g,\"\\u060c\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"se\",{months:\"o\\u0111\\u0111ajagem\\xe1nnu_guovvam\\xe1nnu_njuk\\u010dam\\xe1nnu_cuo\\u014bom\\xe1nnu_miessem\\xe1nnu_geassem\\xe1nnu_suoidnem\\xe1nnu_borgem\\xe1nnu_\\u010dak\\u010dam\\xe1nnu_golggotm\\xe1nnu_sk\\xe1bmam\\xe1nnu_juovlam\\xe1nnu\".split(\"_\"),monthsShort:\"o\\u0111\\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\\u010dak\\u010d_golg_sk\\xe1b_juov\".split(\"_\"),weekdays:\"sotnabeaivi_vuoss\\xe1rga_ma\\u014b\\u014beb\\xe1rga_gaskavahkku_duorastat_bearjadat_l\\xe1vvardat\".split(\"_\"),weekdaysShort:\"sotn_vuos_ma\\u014b_gask_duor_bear_l\\xe1v\".split(\"_\"),weekdaysMin:\"s_v_m_g_d_b_L\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"MMMM D. [b.] YYYY\",LLL:\"MMMM D. [b.] YYYY [ti.] HH:mm\",LLLL:\"dddd, MMMM D. [b.] YYYY [ti.] HH:mm\"},calendar:{sameDay:\"[otne ti] LT\",nextDay:\"[ihttin ti] LT\",nextWeek:\"dddd [ti] LT\",lastDay:\"[ikte ti] LT\",lastWeek:\"[ovddit] dddd [ti] LT\",sameElse:\"L\"},relativeTime:{future:\"%s gea\\u017ees\",past:\"ma\\u014bit %s\",s:\"moadde sekunddat\",ss:\"%d sekunddat\",m:\"okta minuhta\",mm:\"%d minuhtat\",h:\"okta diimmu\",hh:\"%d diimmut\",d:\"okta beaivi\",dd:\"%d beaivvit\",M:\"okta m\\xe1nnu\",MM:\"%d m\\xe1nut\",y:\"okta jahki\",yy:\"%d jagit\"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"si\",{months:\"\\u0da2\\u0db1\\u0dc0\\u0dcf\\u0dbb\\u0dd2_\\u0db4\\u0dd9\\u0db6\\u0dbb\\u0dc0\\u0dcf\\u0dbb\\u0dd2_\\u0db8\\u0dcf\\u0dbb\\u0dca\\u0dad\\u0dd4_\\u0d85\\u0db4\\u0dca\\u200d\\u0dbb\\u0dda\\u0dbd\\u0dca_\\u0db8\\u0dd0\\u0dba\\u0dd2_\\u0da2\\u0dd6\\u0db1\\u0dd2_\\u0da2\\u0dd6\\u0dbd\\u0dd2_\\u0d85\\u0d9c\\u0ddd\\u0dc3\\u0dca\\u0dad\\u0dd4_\\u0dc3\\u0dd0\\u0db4\\u0dca\\u0dad\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca_\\u0d94\\u0d9a\\u0dca\\u0dad\\u0ddd\\u0db6\\u0dbb\\u0dca_\\u0db1\\u0ddc\\u0dc0\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca_\\u0daf\\u0dd9\\u0dc3\\u0dd0\\u0db8\\u0dca\\u0db6\\u0dbb\\u0dca\".split(\"_\"),monthsShort:\"\\u0da2\\u0db1_\\u0db4\\u0dd9\\u0db6_\\u0db8\\u0dcf\\u0dbb\\u0dca_\\u0d85\\u0db4\\u0dca_\\u0db8\\u0dd0\\u0dba\\u0dd2_\\u0da2\\u0dd6\\u0db1\\u0dd2_\\u0da2\\u0dd6\\u0dbd\\u0dd2_\\u0d85\\u0d9c\\u0ddd_\\u0dc3\\u0dd0\\u0db4\\u0dca_\\u0d94\\u0d9a\\u0dca_\\u0db1\\u0ddc\\u0dc0\\u0dd0_\\u0daf\\u0dd9\\u0dc3\\u0dd0\".split(\"_\"),weekdays:\"\\u0d89\\u0dbb\\u0dd2\\u0daf\\u0dcf_\\u0dc3\\u0db3\\u0dd4\\u0daf\\u0dcf_\\u0d85\\u0d9f\\u0dc4\\u0dbb\\u0dd4\\u0dc0\\u0dcf\\u0daf\\u0dcf_\\u0db6\\u0daf\\u0dcf\\u0daf\\u0dcf_\\u0db6\\u0dca\\u200d\\u0dbb\\u0dc4\\u0dc3\\u0dca\\u0db4\\u0dad\\u0dd2\\u0db1\\u0dca\\u0daf\\u0dcf_\\u0dc3\\u0dd2\\u0d9a\\u0dd4\\u0dbb\\u0dcf\\u0daf\\u0dcf_\\u0dc3\\u0dd9\\u0db1\\u0dc3\\u0dd4\\u0dbb\\u0dcf\\u0daf\\u0dcf\".split(\"_\"),weekdaysShort:\"\\u0d89\\u0dbb\\u0dd2_\\u0dc3\\u0db3\\u0dd4_\\u0d85\\u0d9f_\\u0db6\\u0daf\\u0dcf_\\u0db6\\u0dca\\u200d\\u0dbb\\u0dc4_\\u0dc3\\u0dd2\\u0d9a\\u0dd4_\\u0dc3\\u0dd9\\u0db1\".split(\"_\"),weekdaysMin:\"\\u0d89_\\u0dc3_\\u0d85_\\u0db6_\\u0db6\\u0dca\\u200d\\u0dbb_\\u0dc3\\u0dd2_\\u0dc3\\u0dd9\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"a h:mm\",LTS:\"a h:mm:ss\",L:\"YYYY/MM/DD\",LL:\"YYYY MMMM D\",LLL:\"YYYY MMMM D, a h:mm\",LLLL:\"YYYY MMMM D [\\u0dc0\\u0dd0\\u0db1\\u0dd2] dddd, a h:mm:ss\"},calendar:{sameDay:\"[\\u0d85\\u0daf] LT[\\u0da7]\",nextDay:\"[\\u0dc4\\u0dd9\\u0da7] LT[\\u0da7]\",nextWeek:\"dddd LT[\\u0da7]\",lastDay:\"[\\u0d8a\\u0dba\\u0dda] LT[\\u0da7]\",lastWeek:\"[\\u0db4\\u0dc3\\u0dd4\\u0d9c\\u0dd2\\u0dba] dddd LT[\\u0da7]\",sameElse:\"L\"},relativeTime:{future:\"%s\\u0d9a\\u0dd2\\u0db1\\u0dca\",past:\"%s\\u0d9a\\u0da7 \\u0db4\\u0dd9\\u0dbb\",s:\"\\u0dad\\u0dad\\u0dca\\u0db4\\u0dbb \\u0d9a\\u0dd2\\u0dc4\\u0dd2\\u0db4\\u0dba\",ss:\"\\u0dad\\u0dad\\u0dca\\u0db4\\u0dbb %d\",m:\"\\u0db8\\u0dd2\\u0db1\\u0dd2\\u0dad\\u0dca\\u0dad\\u0dd4\\u0dc0\",mm:\"\\u0db8\\u0dd2\\u0db1\\u0dd2\\u0dad\\u0dca\\u0dad\\u0dd4 %d\",h:\"\\u0db4\\u0dd0\\u0dba\",hh:\"\\u0db4\\u0dd0\\u0dba %d\",d:\"\\u0daf\\u0dd2\\u0db1\\u0dba\",dd:\"\\u0daf\\u0dd2\\u0db1 %d\",M:\"\\u0db8\\u0dcf\\u0dc3\\u0dba\",MM:\"\\u0db8\\u0dcf\\u0dc3 %d\",y:\"\\u0dc0\\u0dc3\\u0dbb\",yy:\"\\u0dc0\\u0dc3\\u0dbb %d\"},dayOfMonthOrdinalParse:/\\d{1,2} \\u0dc0\\u0dd0\\u0db1\\u0dd2/,ordinal:function(e){return e+\" \\u0dc0\\u0dd0\\u0db1\\u0dd2\"},meridiemParse:/\\u0db4\\u0dd9\\u0dbb \\u0dc0\\u0dbb\\u0dd4|\\u0db4\\u0dc3\\u0dca \\u0dc0\\u0dbb\\u0dd4|\\u0db4\\u0dd9.\\u0dc0|\\u0db4.\\u0dc0./,isPM:function(e){return\"\\u0db4.\\u0dc0.\"===e||\"\\u0db4\\u0dc3\\u0dca \\u0dc0\\u0dbb\\u0dd4\"===e},meridiem:function(e,a,t){return 11<e?t?\"\\u0db4.\\u0dc0.\":\"\\u0db4\\u0dc3\\u0dca \\u0dc0\\u0dbb\\u0dd4\":t?\"\\u0db4\\u0dd9.\\u0dc0.\":\"\\u0db4\\u0dd9\\u0dbb \\u0dc0\\u0dbb\\u0dd4\"}}),We=\"janu\\xe1r_febru\\xe1r_marec_apr\\xedl_m\\xe1j_j\\xfan_j\\xfal_august_september_okt\\xf3ber_november_december\".split(\"_\"),u=\"jan_feb_mar_apr_m\\xe1j_j\\xfan_j\\xfal_aug_sep_okt_nov_dec\".split(\"_\");function Wn(e){return 1<e&&e<5}function An(e,a,t,s){var n=e+\" \";switch(t){case\"s\":return a||s?\"p\\xe1r sek\\xfand\":\"p\\xe1r sekundami\";case\"ss\":return a||s?n+(Wn(e)?\"sekundy\":\"sek\\xfand\"):n+\"sekundami\";case\"m\":return a?\"min\\xfata\":s?\"min\\xfatu\":\"min\\xfatou\";case\"mm\":return a||s?n+(Wn(e)?\"min\\xfaty\":\"min\\xfat\"):n+\"min\\xfatami\";case\"h\":return a?\"hodina\":s?\"hodinu\":\"hodinou\";case\"hh\":return a||s?n+(Wn(e)?\"hodiny\":\"hod\\xedn\"):n+\"hodinami\";case\"d\":return a||s?\"de\\u0148\":\"d\\u0148om\";case\"dd\":return a||s?n+(Wn(e)?\"dni\":\"dn\\xed\"):n+\"d\\u0148ami\";case\"M\":return a||s?\"mesiac\":\"mesiacom\";case\"MM\":return a||s?n+(Wn(e)?\"mesiace\":\"mesiacov\"):n+\"mesiacmi\";case\"y\":return a||s?\"rok\":\"rokom\";case\"yy\":return a||s?n+(Wn(e)?\"roky\":\"rokov\"):n+\"rokmi\"}}\n//! moment.js locale configuration\nfunction Fn(e,a,t,s){var n=e+\" \";switch(t){case\"s\":return a||s?\"nekaj sekund\":\"nekaj sekundami\";case\"ss\":return n+=1===e?a?\"sekundo\":\"sekundi\":2===e?a||s?\"sekundi\":\"sekundah\":e<5?a||s?\"sekunde\":\"sekundah\":\"sekund\";case\"m\":return a?\"ena minuta\":\"eno minuto\";case\"mm\":return n+=1===e?a?\"minuta\":\"minuto\":2===e?a||s?\"minuti\":\"minutama\":e<5?a||s?\"minute\":\"minutami\":a||s?\"minut\":\"minutami\";case\"h\":return a?\"ena ura\":\"eno uro\";case\"hh\":return n+=1===e?a?\"ura\":\"uro\":2===e?a||s?\"uri\":\"urama\":e<5?a||s?\"ure\":\"urami\":a||s?\"ur\":\"urami\";case\"d\":return a||s?\"en dan\":\"enim dnem\";case\"dd\":return n+=1===e?a||s?\"dan\":\"dnem\":2===e?a||s?\"dni\":\"dnevoma\":a||s?\"dni\":\"dnevi\";case\"M\":return a||s?\"en mesec\":\"enim mesecem\";case\"MM\":return n+=1===e?a||s?\"mesec\":\"mesecem\":2===e?a||s?\"meseca\":\"mesecema\":e<5?a||s?\"mesece\":\"meseci\":a||s?\"mesecev\":\"meseci\";case\"y\":return a||s?\"eno leto\":\"enim letom\";case\"yy\":return n+=1===e?a||s?\"leto\":\"letom\":2===e?a||s?\"leti\":\"letoma\":e<5?a||s?\"leta\":\"leti\":a||s?\"let\":\"leti\"}}L.defineLocale(\"sk\",{months:We,monthsShort:u,weekdays:\"nede\\u013ea_pondelok_utorok_streda_\\u0161tvrtok_piatok_sobota\".split(\"_\"),weekdaysShort:\"ne_po_ut_st_\\u0161t_pi_so\".split(\"_\"),weekdaysMin:\"ne_po_ut_st_\\u0161t_pi_so\".split(\"_\"),longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY H:mm\",LLLL:\"dddd D. MMMM YYYY H:mm\"},calendar:{sameDay:\"[dnes o] LT\",nextDay:\"[zajtra o] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[v nede\\u013eu o] LT\";case 1:case 2:return\"[v] dddd [o] LT\";case 3:return\"[v stredu o] LT\";case 4:return\"[vo \\u0161tvrtok o] LT\";case 5:return\"[v piatok o] LT\";case 6:return\"[v sobotu o] LT\"}},lastDay:\"[v\\u010dera o] LT\",lastWeek:function(){switch(this.day()){case 0:return\"[minul\\xfa nede\\u013eu o] LT\";case 1:case 2:return\"[minul\\xfd] dddd [o] LT\";case 3:return\"[minul\\xfa stredu o] LT\";case 4:case 5:return\"[minul\\xfd] dddd [o] LT\";case 6:return\"[minul\\xfa sobotu o] LT\"}},sameElse:\"L\"},relativeTime:{future:\"za %s\",past:\"pred %s\",s:An,ss:An,m:An,mm:An,h:An,hh:An,d:An,dd:An,M:An,MM:An,y:An,yy:An},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),L.defineLocale(\"sl\",{months:\"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december\".split(\"_\"),monthsShort:\"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.\".split(\"_\"),monthsParseExact:!0,weekdays:\"nedelja_ponedeljek_torek_sreda_\\u010detrtek_petek_sobota\".split(\"_\"),weekdaysShort:\"ned._pon._tor._sre._\\u010det._pet._sob.\".split(\"_\"),weekdaysMin:\"ne_po_to_sr_\\u010de_pe_so\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD. MM. YYYY\",LL:\"D. MMMM YYYY\",LLL:\"D. MMMM YYYY H:mm\",LLLL:\"dddd, D. MMMM YYYY H:mm\"},calendar:{sameDay:\"[danes ob] LT\",nextDay:\"[jutri ob] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[v] [nedeljo] [ob] LT\";case 3:return\"[v] [sredo] [ob] LT\";case 6:return\"[v] [soboto] [ob] LT\";case 1:case 2:case 4:case 5:return\"[v] dddd [ob] LT\"}},lastDay:\"[v\\u010deraj ob] LT\",lastWeek:function(){switch(this.day()){case 0:return\"[prej\\u0161njo] [nedeljo] [ob] LT\";case 3:return\"[prej\\u0161njo] [sredo] [ob] LT\";case 6:return\"[prej\\u0161njo] [soboto] [ob] LT\";case 1:case 2:case 4:case 5:return\"[prej\\u0161nji] dddd [ob] LT\"}},sameElse:\"L\"},relativeTime:{future:\"\\u010dez %s\",past:\"pred %s\",s:Fn,ss:Fn,m:Fn,mm:Fn,h:Fn,hh:Fn,d:Fn,dd:Fn,M:Fn,MM:Fn,y:Fn,yy:Fn},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"sq\",{months:\"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\\xebntor_Dhjetor\".split(\"_\"),monthsShort:\"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\\xebn_Dhj\".split(\"_\"),weekdays:\"E Diel_E H\\xebn\\xeb_E Mart\\xeb_E M\\xebrkur\\xeb_E Enjte_E Premte_E Shtun\\xeb\".split(\"_\"),weekdaysShort:\"Die_H\\xebn_Mar_M\\xebr_Enj_Pre_Sht\".split(\"_\"),weekdaysMin:\"D_H_Ma_M\\xeb_E_P_Sh\".split(\"_\"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return\"M\"===e.charAt(0)},meridiem:function(e,a,t){return e<12?\"PD\":\"MD\"},longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Sot n\\xeb] LT\",nextDay:\"[Nes\\xebr n\\xeb] LT\",nextWeek:\"dddd [n\\xeb] LT\",lastDay:\"[Dje n\\xeb] LT\",lastWeek:\"dddd [e kaluar n\\xeb] LT\",sameElse:\"L\"},relativeTime:{future:\"n\\xeb %s\",past:\"%s m\\xeb par\\xeb\",s:\"disa sekonda\",ss:\"%d sekonda\",m:\"nj\\xeb minut\\xeb\",mm:\"%d minuta\",h:\"nj\\xeb or\\xeb\",hh:\"%d or\\xeb\",d:\"nj\\xeb dit\\xeb\",dd:\"%d dit\\xeb\",M:\"nj\\xeb muaj\",MM:\"%d muaj\",y:\"nj\\xeb vit\",yy:\"%d vite\"},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar W={words:{ss:[\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0430\",\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0435\",\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0438\"],m:[\"\\u0458\\u0435\\u0434\\u0430\\u043d \\u043c\\u0438\\u043d\\u0443\\u0442\",\"\\u0458\\u0435\\u0434\\u043d\\u043e\\u0433 \\u043c\\u0438\\u043d\\u0443\\u0442\\u0430\"],mm:[\"\\u043c\\u0438\\u043d\\u0443\\u0442\",\"\\u043c\\u0438\\u043d\\u0443\\u0442\\u0430\",\"\\u043c\\u0438\\u043d\\u0443\\u0442\\u0430\"],h:[\"\\u0458\\u0435\\u0434\\u0430\\u043d \\u0441\\u0430\\u0442\",\"\\u0458\\u0435\\u0434\\u043d\\u043e\\u0433 \\u0441\\u0430\\u0442\\u0430\"],hh:[\"\\u0441\\u0430\\u0442\",\"\\u0441\\u0430\\u0442\\u0430\",\"\\u0441\\u0430\\u0442\\u0438\"],d:[\"\\u0458\\u0435\\u0434\\u0430\\u043d \\u0434\\u0430\\u043d\",\"\\u0458\\u0435\\u0434\\u043d\\u043e\\u0433 \\u0434\\u0430\\u043d\\u0430\"],dd:[\"\\u0434\\u0430\\u043d\",\"\\u0434\\u0430\\u043d\\u0430\",\"\\u0434\\u0430\\u043d\\u0430\"],M:[\"\\u0458\\u0435\\u0434\\u0430\\u043d \\u043c\\u0435\\u0441\\u0435\\u0446\",\"\\u0458\\u0435\\u0434\\u043d\\u043e\\u0433 \\u043c\\u0435\\u0441\\u0435\\u0446\\u0430\"],MM:[\"\\u043c\\u0435\\u0441\\u0435\\u0446\",\"\\u043c\\u0435\\u0441\\u0435\\u0446\\u0430\",\"\\u043c\\u0435\\u0441\\u0435\\u0446\\u0438\"],y:[\"\\u0458\\u0435\\u0434\\u043d\\u0443 \\u0433\\u043e\\u0434\\u0438\\u043d\\u0443\",\"\\u0458\\u0435\\u0434\\u043d\\u0435 \\u0433\\u043e\\u0434\\u0438\\u043d\\u0435\"],yy:[\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0443\",\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0435\",\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0430\"]},correctGrammaticalCase:function(e,a){return 1<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?e%10==1?a[0]:a[1]:a[2]},translate:function(e,a,t,s){var n=W.words[t];return 1===t.length?\"y\"===t&&a?\"\\u0458\\u0435\\u0434\\u043d\\u0430 \\u0433\\u043e\\u0434\\u0438\\u043d\\u0430\":s||a?n[0]:n[1]:(s=W.correctGrammaticalCase(e,n),\"yy\"===t&&a&&\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0443\"===s?e+\" \\u0433\\u043e\\u0434\\u0438\\u043d\\u0430\":e+\" \"+s)}},A=(L.defineLocale(\"sr-cyrl\",{months:\"\\u0458\\u0430\\u043d\\u0443\\u0430\\u0440_\\u0444\\u0435\\u0431\\u0440\\u0443\\u0430\\u0440_\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440\\u0438\\u043b_\\u043c\\u0430\\u0458_\\u0458\\u0443\\u043d_\\u0458\\u0443\\u043b_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043f\\u0442\\u0435\\u043c\\u0431\\u0430\\u0440_\\u043e\\u043a\\u0442\\u043e\\u0431\\u0430\\u0440_\\u043d\\u043e\\u0432\\u0435\\u043c\\u0431\\u0430\\u0440_\\u0434\\u0435\\u0446\\u0435\\u043c\\u0431\\u0430\\u0440\".split(\"_\"),monthsShort:\"\\u0458\\u0430\\u043d._\\u0444\\u0435\\u0431._\\u043c\\u0430\\u0440._\\u0430\\u043f\\u0440._\\u043c\\u0430\\u0458_\\u0458\\u0443\\u043d_\\u0458\\u0443\\u043b_\\u0430\\u0432\\u0433._\\u0441\\u0435\\u043f._\\u043e\\u043a\\u0442._\\u043d\\u043e\\u0432._\\u0434\\u0435\\u0446.\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430_\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u0430\\u043a_\\u0443\\u0442\\u043e\\u0440\\u0430\\u043a_\\u0441\\u0440\\u0435\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u0430\\u043a_\\u043f\\u0435\\u0442\\u0430\\u043a_\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\".split(\"_\"),weekdaysShort:\"\\u043d\\u0435\\u0434._\\u043f\\u043e\\u043d._\\u0443\\u0442\\u043e._\\u0441\\u0440\\u0435._\\u0447\\u0435\\u0442._\\u043f\\u0435\\u0442._\\u0441\\u0443\\u0431.\".split(\"_\"),weekdaysMin:\"\\u043d\\u0435_\\u043f\\u043e_\\u0443\\u0442_\\u0441\\u0440_\\u0447\\u0435_\\u043f\\u0435_\\u0441\\u0443\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"D. M. YYYY.\",LL:\"D. MMMM YYYY.\",LLL:\"D. MMMM YYYY. H:mm\",LLLL:\"dddd, D. MMMM YYYY. H:mm\"},calendar:{sameDay:\"[\\u0434\\u0430\\u043d\\u0430\\u0441 \\u0443] LT\",nextDay:\"[\\u0441\\u0443\\u0442\\u0440\\u0430 \\u0443] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[\\u0443] [\\u043d\\u0435\\u0434\\u0435\\u0459\\u0443] [\\u0443] LT\";case 3:return\"[\\u0443] [\\u0441\\u0440\\u0435\\u0434\\u0443] [\\u0443] LT\";case 6:return\"[\\u0443] [\\u0441\\u0443\\u0431\\u043e\\u0442\\u0443] [\\u0443] LT\";case 1:case 2:case 4:case 5:return\"[\\u0443] dddd [\\u0443] LT\"}},lastDay:\"[\\u0458\\u0443\\u0447\\u0435 \\u0443] LT\",lastWeek:function(){return[\"[\\u043f\\u0440\\u043e\\u0448\\u043b\\u0435] [\\u043d\\u0435\\u0434\\u0435\\u0459\\u0435] [\\u0443] LT\",\"[\\u043f\\u0440\\u043e\\u0448\\u043b\\u043e\\u0433] [\\u043f\\u043e\\u043d\\u0435\\u0434\\u0435\\u0459\\u043a\\u0430] [\\u0443] LT\",\"[\\u043f\\u0440\\u043e\\u0448\\u043b\\u043e\\u0433] [\\u0443\\u0442\\u043e\\u0440\\u043a\\u0430] [\\u0443] LT\",\"[\\u043f\\u0440\\u043e\\u0448\\u043b\\u0435] [\\u0441\\u0440\\u0435\\u0434\\u0435] [\\u0443] LT\",\"[\\u043f\\u0440\\u043e\\u0448\\u043b\\u043e\\u0433] [\\u0447\\u0435\\u0442\\u0432\\u0440\\u0442\\u043a\\u0430] [\\u0443] LT\",\"[\\u043f\\u0440\\u043e\\u0448\\u043b\\u043e\\u0433] [\\u043f\\u0435\\u0442\\u043a\\u0430] [\\u0443] LT\",\"[\\u043f\\u0440\\u043e\\u0448\\u043b\\u0435] [\\u0441\\u0443\\u0431\\u043e\\u0442\\u0435] [\\u0443] LT\"][this.day()]},sameElse:\"L\"},relativeTime:{future:\"\\u0437\\u0430 %s\",past:\"\\u043f\\u0440\\u0435 %s\",s:\"\\u043d\\u0435\\u043a\\u043e\\u043b\\u0438\\u043a\\u043e \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0438\",ss:W.translate,m:W.translate,mm:W.translate,h:W.translate,hh:W.translate,d:W.translate,dd:W.translate,M:W.translate,MM:W.translate,y:W.translate,yy:W.translate},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:7}}),{words:{ss:[\"sekunda\",\"sekunde\",\"sekundi\"],m:[\"jedan minut\",\"jednog minuta\"],mm:[\"minut\",\"minuta\",\"minuta\"],h:[\"jedan sat\",\"jednog sata\"],hh:[\"sat\",\"sata\",\"sati\"],d:[\"jedan dan\",\"jednog dana\"],dd:[\"dan\",\"dana\",\"dana\"],M:[\"jedan mesec\",\"jednog meseca\"],MM:[\"mesec\",\"meseca\",\"meseci\"],y:[\"jednu godinu\",\"jedne godine\"],yy:[\"godinu\",\"godine\",\"godina\"]},correctGrammaticalCase:function(e,a){return 1<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?e%10==1?a[0]:a[1]:a[2]},translate:function(e,a,t,s){var n=A.words[t];return 1===t.length?\"y\"===t&&a?\"jedna godina\":s||a?n[0]:n[1]:(s=A.correctGrammaticalCase(e,n),\"yy\"===t&&a&&\"godinu\"===s?e+\" godina\":e+\" \"+s)}}),En=(L.defineLocale(\"sr\",{months:\"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar\".split(\"_\"),monthsShort:\"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.\".split(\"_\"),monthsParseExact:!0,weekdays:\"nedelja_ponedeljak_utorak_sreda_\\u010detvrtak_petak_subota\".split(\"_\"),weekdaysShort:\"ned._pon._uto._sre._\\u010det._pet._sub.\".split(\"_\"),weekdaysMin:\"ne_po_ut_sr_\\u010de_pe_su\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"D. M. YYYY.\",LL:\"D. MMMM YYYY.\",LLL:\"D. MMMM YYYY. H:mm\",LLLL:\"dddd, D. MMMM YYYY. H:mm\"},calendar:{sameDay:\"[danas u] LT\",nextDay:\"[sutra u] LT\",nextWeek:function(){switch(this.day()){case 0:return\"[u] [nedelju] [u] LT\";case 3:return\"[u] [sredu] [u] LT\";case 6:return\"[u] [subotu] [u] LT\";case 1:case 2:case 4:case 5:return\"[u] dddd [u] LT\"}},lastDay:\"[ju\\u010de u] LT\",lastWeek:function(){return[\"[pro\\u0161le] [nedelje] [u] LT\",\"[pro\\u0161log] [ponedeljka] [u] LT\",\"[pro\\u0161log] [utorka] [u] LT\",\"[pro\\u0161le] [srede] [u] LT\",\"[pro\\u0161log] [\\u010detvrtka] [u] LT\",\"[pro\\u0161log] [petka] [u] LT\",\"[pro\\u0161le] [subote] [u] LT\"][this.day()]},sameElse:\"L\"},relativeTime:{future:\"za %s\",past:\"pre %s\",s:\"nekoliko sekundi\",ss:A.translate,m:A.translate,mm:A.translate,h:A.translate,hh:A.translate,d:A.translate,dd:A.translate,M:A.translate,MM:A.translate,y:A.translate,yy:A.translate},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"ss\",{months:\"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni\".split(\"_\"),monthsShort:\"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo\".split(\"_\"),weekdays:\"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo\".split(\"_\"),weekdaysShort:\"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg\".split(\"_\"),weekdaysMin:\"Li_Us_Lb_Lt_Ls_Lh_Ug\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY h:mm A\",LLLL:\"dddd, D MMMM YYYY h:mm A\"},calendar:{sameDay:\"[Namuhla nga] LT\",nextDay:\"[Kusasa nga] LT\",nextWeek:\"dddd [nga] LT\",lastDay:\"[Itolo nga] LT\",lastWeek:\"dddd [leliphelile] [nga] LT\",sameElse:\"L\"},relativeTime:{future:\"nga %s\",past:\"wenteka nga %s\",s:\"emizuzwana lomcane\",ss:\"%d mzuzwana\",m:\"umzuzu\",mm:\"%d emizuzu\",h:\"lihora\",hh:\"%d emahora\",d:\"lilanga\",dd:\"%d emalanga\",M:\"inyanga\",MM:\"%d tinyanga\",y:\"umnyaka\",yy:\"%d iminyaka\"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,a,t){return e<11?\"ekuseni\":e<15?\"emini\":e<19?\"entsambama\":\"ebusuku\"},meridiemHour:function(e,a){return 12===e&&(e=0),\"ekuseni\"===a?e:\"emini\"===a?11<=e?e:e+12:\"entsambama\"===a||\"ebusuku\"===a?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:\"%d\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"sv\",{months:\"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december\".split(\"_\"),monthsShort:\"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec\".split(\"_\"),weekdays:\"s\\xf6ndag_m\\xe5ndag_tisdag_onsdag_torsdag_fredag_l\\xf6rdag\".split(\"_\"),weekdaysShort:\"s\\xf6n_m\\xe5n_tis_ons_tors_fre_l\\xf6r\".split(\"_\"),weekdaysMin:\"s\\xf6_m\\xe5_ti_on_to_fr_l\\xf6\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY-MM-DD\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY [kl.] HH:mm\",LLLL:\"dddd D MMMM YYYY [kl.] HH:mm\",lll:\"D MMM YYYY HH:mm\",llll:\"ddd D MMM YYYY HH:mm\"},calendar:{sameDay:\"[Idag] LT\",nextDay:\"[Imorgon] LT\",lastDay:\"[Ig\\xe5r] LT\",nextWeek:\"[P\\xe5] dddd LT\",lastWeek:\"[I] dddd[s] LT\",sameElse:\"L\"},relativeTime:{future:\"om %s\",past:\"f\\xf6r %s sedan\",s:\"n\\xe5gra sekunder\",ss:\"%d sekunder\",m:\"en minut\",mm:\"%d minuter\",h:\"en timme\",hh:\"%d timmar\",d:\"en dag\",dd:\"%d dagar\",M:\"en m\\xe5nad\",MM:\"%d m\\xe5nader\",y:\"ett \\xe5r\",yy:\"%d \\xe5r\"},dayOfMonthOrdinalParse:/\\d{1,2}(\\:e|\\:a)/,ordinal:function(e){var a=e%10;return e+(1!=~~(e%100/10)&&(1==a||2==a)?\":a\":\":e\")},week:{dow:1,doy:4}}),{ss:\"sekunde %d\",m:\"dakika moja\",mm:\"dakika %d\",h:\"saa moja\",hh:\"saa %d\",d:\"siku moja\",dd:\"siku %d\",M:\"mwezi mmoja\",MM:\"miezi %d\",y:\"mwaka mmoja\",yy:\"miaka %d\"});function zn(e,a,t,s){var n=En[t].replace(/%d/i,e);if(a||s)return n;switch(t){case\"ss\":case\"mm\":case\"hh\":case\"dd\":return n+(1===e?\" iliyopita\":\" zilizopita\");case\"m\":case\"h\":case\"d\":return n+\" iliyopita\";case\"M\":case\"y\":return n+\" uliopita\";case\"MM\":case\"yy\":return n+\" iliyopita\"}}L.defineLocale(\"sw\",{months:\"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba\".split(\"_\"),monthsShort:\"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des\".split(\"_\"),weekdays:\"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi\".split(\"_\"),weekdaysShort:\"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos\".split(\"_\"),weekdaysMin:\"J2_J3_J4_J5_Al_Ij_J1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"hh:mm A\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[leo saa] LT\",nextDay:\"[kesho saa] LT\",nextWeek:\"dddd [ijayo saa] LT\",lastDay:\"[jana] LT\",lastWeek:\"dddd [iliyopita saa] LT\",sameElse:\"L\"},relativeTime:{future:\"%s baadaye\",past:function(e){return\"hivi punde\"===e?\"tokea \"+e:e},s:\"hivi punde\",ss:zn,m:zn,mm:zn,h:zn,hh:zn,d:zn,dd:zn,M:zn,MM:zn,y:zn,yy:zn},week:{dow:1,doy:7}});\n//! moment.js locale configuration\nvar Nn={1:\"\\u0be7\",2:\"\\u0be8\",3:\"\\u0be9\",4:\"\\u0bea\",5:\"\\u0beb\",6:\"\\u0bec\",7:\"\\u0bed\",8:\"\\u0bee\",9:\"\\u0bef\",0:\"\\u0be6\"},Jn={\"\\u0be7\":\"1\",\"\\u0be8\":\"2\",\"\\u0be9\":\"3\",\"\\u0bea\":\"4\",\"\\u0beb\":\"5\",\"\\u0bec\":\"6\",\"\\u0bed\":\"7\",\"\\u0bee\":\"8\",\"\\u0bef\":\"9\",\"\\u0be6\":\"0\"},Rn=(L.defineLocale(\"ta\",{months:\"\\u0b9c\\u0ba9\\u0bb5\\u0bb0\\u0bbf_\\u0baa\\u0bbf\\u0baa\\u0bcd\\u0bb0\\u0bb5\\u0bb0\\u0bbf_\\u0bae\\u0bbe\\u0bb0\\u0bcd\\u0b9a\\u0bcd_\\u0b8f\\u0baa\\u0bcd\\u0bb0\\u0bb2\\u0bcd_\\u0bae\\u0bc7_\\u0b9c\\u0bc2\\u0ba9\\u0bcd_\\u0b9c\\u0bc2\\u0bb2\\u0bc8_\\u0b86\\u0b95\\u0bb8\\u0bcd\\u0b9f\\u0bcd_\\u0b9a\\u0bc6\\u0baa\\u0bcd\\u0b9f\\u0bc6\\u0bae\\u0bcd\\u0baa\\u0bb0\\u0bcd_\\u0b85\\u0b95\\u0bcd\\u0b9f\\u0bc7\\u0bbe\\u0baa\\u0bb0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cd] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0b87\\u0bb2\\u0bcd\",past:\"%s \\u0bae\\u0bc1\\u0ba9\\u0bcd\",s:\"\\u0b92\\u0bb0\\u0bc1 \\u0b9a\\u0bbf\\u0bb2 \\u0bb5\\u0bbf\\u0ba8\\u0bbe\\u0b9f\\u0bbf\\u0b95\\u0bb3\\u0bcd\",ss:\"%d \\u0bb5\\u0bbf\\u0ba8\\u0bbe\\u0b9f\\u0bbf\\u0b95\\u0bb3\\u0bcd\",m:\"\\u0b92\\u0bb0\\u0bc1 \\u0ba8\\u0bbf\\u0bae\\u0bbf\\u0b9f\\u0bae\\u0bcd\",mm:\"%d \\u0ba8\\u0bbf\\u0bae\\u0bbf\\u0b9f\\u0b99\\u0bcd\\u0b95\\u0bb3\\u0bcd\",h:\"\\u0b92\\u0bb0\\u0bc1 \\u0bae\\u0ba3\\u0bbf \\u0ba8\\u0bc7\\u0bb0\\u0bae\\u0bcd\",hh:\"%d \\u0bae\\u0ba3\\u0bbf \\u0ba8\\u0bc7\\u0bb0\\u0bae\\u0bcd\",d:\"\\u0b92\\u0bb0\\u0bc1 \\u0ba8\\u0bbe\\u0bb3\\u0bcd\",dd:\"%d \\u0ba8\\u0bbe\\u0b9f\\u0bcd\\u0b95\\u0bb3\\u0bcd\",M:\"\\u0b92\\u0bb0\\u0bc1 \\u0bae\\u0bbe\\u0ba4\\u0bae\\u0bcd\",MM:\"%d \\u0bae\\u0bbe\\u0ba4\\u0b99\\u0bcd\\u0b95\\u0bb3\\u0bcd\",y:\"\\u0b92\\u0bb0\\u0bc1 \\u0bb5\\u0bb0\\u0bc1\\u0b9f\\u0bae\\u0bcd\",yy:\"%d \\u0b86\\u0ba3\\u0bcd\\u0b9f\\u0bc1\\u0b95\\u0bb3\\u0bcd\"},dayOfMonthOrdinalParse:/\\d{1,2}\\u0bb5\\u0ba4\\u0bc1/,ordinal:function(e){return e+\"\\u0bb5\\u0ba4\\u0bc1\"},preparse:function(e){return e.replace(/[\\u0be7\\u0be8\\u0be9\\u0bea\\u0beb\\u0bec\\u0bed\\u0bee\\u0bef\\u0be6]/g,function(e){return Jn[e]})},postformat:function(e){return e.replace(/\\d/g,function(e){return Nn[e]})},meridiemParse:/\\u0baf\\u0bbe\\u0bae\\u0bae\\u0bcd|\\u0bb5\\u0bc8\\u0b95\\u0bb1\\u0bc8|\\u0b95\\u0bbe\\u0bb2\\u0bc8|\\u0ba8\\u0ba3\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd|\\u0b8e\\u0bb1\\u0bcd\\u0baa\\u0bbe\\u0b9f\\u0bc1|\\u0bae\\u0bbe\\u0bb2\\u0bc8/,meridiem:function(e,a,t){return e<2?\" \\u0baf\\u0bbe\\u0bae\\u0bae\\u0bcd\":e<6?\" \\u0bb5\\u0bc8\\u0b95\\u0bb1\\u0bc8\":e<10?\" \\u0b95\\u0bbe\\u0bb2\\u0bc8\":e<14?\" \\u0ba8\\u0ba3\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\":e<18?\" \\u0b8e\\u0bb1\\u0bcd\\u0baa\\u0bbe\\u0b9f\\u0bc1\":e<22?\" \\u0bae\\u0bbe\\u0bb2\\u0bc8\":\" \\u0baf\\u0bbe\\u0bae\\u0bae\\u0bcd\"},meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0baf\\u0bbe\\u0bae\\u0bae\\u0bcd\"===a?e<2?e:e+12:\"\\u0bb5\\u0bc8\\u0b95\\u0bb1\\u0bc8\"===a||\"\\u0b95\\u0bbe\\u0bb2\\u0bc8\"===a||\"\\u0ba8\\u0ba3\\u0bcd\\u0baa\\u0b95\\u0bb2\\u0bcd\"===a&&10<=e?e:e+12},week:{dow:0,doy:6}}),\n//! moment.js locale configuration\nL.defineLocale(\"te\",{months:\"\\u0c1c\\u0c28\\u0c35\\u0c30\\u0c3f_\\u0c2b\\u0c3f\\u0c2c\\u0c4d\\u0c30\\u0c35\\u0c30\\u0c3f_\\u0c2e\\u0c3e\\u0c30\\u0c4d\\u0c1a\\u0c3f_\\u0c0f\\u0c2a\\u0c4d\\u0c30\\u0c3f\\u0c32\\u0c4d_\\u0c2e\\u0c47_\\u0c1c\\u0c42\\u0c28\\u0c4d_\\u0c1c\\u0c41\\u0c32\\u0c48_\\u0c06\\u0c17\\u0c38\\u0c4d\\u0c1f\\u0c41_\\u0c38\\u0c46\\u0c2a\\u0c4d\\u0c1f\\u0c46\\u0c02\\u0c2c\\u0c30\\u0c4d_\\u0c05\\u0c15\\u0c4d\\u0c1f\\u0c4b\\u0c2c\\u0c30\\u0c4d_\\u0c28\\u0c35\\u0c02\\u0c2c\\u0c30\\u0c4d_\\u0c21\\u0c3f\\u0c38\\u0c46\\u0c02\\u0c2c\\u0c30\\u0c4d\".split(\"_\"),monthsShort:\"\\u0c1c\\u0c28._\\u0c2b\\u0c3f\\u0c2c\\u0c4d\\u0c30._\\u0c2e\\u0c3e\\u0c30\\u0c4d\\u0c1a\\u0c3f_\\u0c0f\\u0c2a\\u0c4d\\u0c30\\u0c3f._\\u0c2e\\u0c47_\\u0c1c\\u0c42\\u0c28\\u0c4d_\\u0c1c\\u0c41\\u0c32\\u0c48_\\u0c06\\u0c17._\\u0c38\\u0c46\\u0c2a\\u0c4d._\\u0c05\\u0c15\\u0c4d\\u0c1f\\u0c4b._\\u0c28\\u0c35._\\u0c21\\u0c3f\\u0c38\\u0c46.\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u0c06\\u0c26\\u0c3f\\u0c35\\u0c3e\\u0c30\\u0c02_\\u0c38\\u0c4b\\u0c2e\\u0c35\\u0c3e\\u0c30\\u0c02_\\u0c2e\\u0c02\\u0c17\\u0c33\\u0c35\\u0c3e\\u0c30\\u0c02_\\u0c2c\\u0c41\\u0c27\\u0c35\\u0c3e\\u0c30\\u0c02_\\u0c17\\u0c41\\u0c30\\u0c41\\u0c35\\u0c3e\\u0c30\\u0c02_\\u0c36\\u0c41\\u0c15\\u0c4d\\u0c30\\u0c35\\u0c3e\\u0c30\\u0c02_\\u0c36\\u0c28\\u0c3f\\u0c35\\u0c3e\\u0c30\\u0c02\".split(\"_\"),weekdaysShort:\"\\u0c06\\u0c26\\u0c3f_\\u0c38\\u0c4b\\u0c2e_\\u0c2e\\u0c02\\u0c17\\u0c33_\\u0c2c\\u0c41\\u0c27_\\u0c17\\u0c41\\u0c30\\u0c41_\\u0c36\\u0c41\\u0c15\\u0c4d\\u0c30_\\u0c36\\u0c28\\u0c3f\".split(\"_\"),weekdaysMin:\"\\u0c06_\\u0c38\\u0c4b_\\u0c2e\\u0c02_\\u0c2c\\u0c41_\\u0c17\\u0c41_\\u0c36\\u0c41_\\u0c36\".split(\"_\"),longDateFormat:{LT:\"A h:mm\",LTS:\"A h:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY, A h:mm\",LLLL:\"dddd, D MMMM YYYY, A h:mm\"},calendar:{sameDay:\"[\\u0c28\\u0c47\\u0c21\\u0c41] LT\",nextDay:\"[\\u0c30\\u0c47\\u0c2a\\u0c41] LT\",nextWeek:\"dddd, LT\",lastDay:\"[\\u0c28\\u0c3f\\u0c28\\u0c4d\\u0c28] LT\",lastWeek:\"[\\u0c17\\u0c24] dddd, LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0c32\\u0c4b\",past:\"%s \\u0c15\\u0c4d\\u0c30\\u0c3f\\u0c24\\u0c02\",s:\"\\u0c15\\u0c4a\\u0c28\\u0c4d\\u0c28\\u0c3f \\u0c15\\u0c4d\\u0c37\\u0c23\\u0c3e\\u0c32\\u0c41\",ss:\"%d \\u0c38\\u0c46\\u0c15\\u0c28\\u0c4d\\u0c32\\u0c41\",m:\"\\u0c12\\u0c15 \\u0c28\\u0c3f\\u0c2e\\u0c3f\\u0c37\\u0c02\",mm:\"%d \\u0c28\\u0c3f\\u0c2e\\u0c3f\\u0c37\\u0c3e\\u0c32\\u0c41\",h:\"\\u0c12\\u0c15 \\u0c17\\u0c02\\u0c1f\",hh:\"%d \\u0c17\\u0c02\\u0c1f\\u0c32\\u0c41\",d:\"\\u0c12\\u0c15 \\u0c30\\u0c4b\\u0c1c\\u0c41\",dd:\"%d \\u0c30\\u0c4b\\u0c1c\\u0c41\\u0c32\\u0c41\",M:\"\\u0c12\\u0c15 \\u0c28\\u0c46\\u0c32\",MM:\"%d \\u0c28\\u0c46\\u0c32\\u0c32\\u0c41\",y:\"\\u0c12\\u0c15 \\u0c38\\u0c02\\u0c35\\u0c24\\u0c4d\\u0c38\\u0c30\\u0c02\",yy:\"%d \\u0c38\\u0c02\\u0c35\\u0c24\\u0c4d\\u0c38\\u0c30\\u0c3e\\u0c32\\u0c41\"},dayOfMonthOrdinalParse:/\\d{1,2}\\u0c35/,ordinal:\"%d\\u0c35\",meridiemParse:/\\u0c30\\u0c3e\\u0c24\\u0c4d\\u0c30\\u0c3f|\\u0c09\\u0c26\\u0c2f\\u0c02|\\u0c2e\\u0c27\\u0c4d\\u0c2f\\u0c3e\\u0c39\\u0c4d\\u0c28\\u0c02|\\u0c38\\u0c3e\\u0c2f\\u0c02\\u0c24\\u0c4d\\u0c30\\u0c02/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0c30\\u0c3e\\u0c24\\u0c4d\\u0c30\\u0c3f\"===a?e<4?e:e+12:\"\\u0c09\\u0c26\\u0c2f\\u0c02\"===a?e:\"\\u0c2e\\u0c27\\u0c4d\\u0c2f\\u0c3e\\u0c39\\u0c4d\\u0c28\\u0c02\"===a?10<=e?e:e+12:\"\\u0c38\\u0c3e\\u0c2f\\u0c02\\u0c24\\u0c4d\\u0c30\\u0c02\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"\\u0c30\\u0c3e\\u0c24\\u0c4d\\u0c30\\u0c3f\":e<10?\"\\u0c09\\u0c26\\u0c2f\\u0c02\":e<17?\"\\u0c2e\\u0c27\\u0c4d\\u0c2f\\u0c3e\\u0c39\\u0c4d\\u0c28\\u0c02\":e<20?\"\\u0c38\\u0c3e\\u0c2f\\u0c02\\u0c24\\u0c4d\\u0c30\\u0c02\":\"\\u0c30\\u0c3e\\u0c24\\u0c4d\\u0c30\\u0c3f\"},week:{dow:0,doy:6}}),\n//! moment.js locale configuration\nL.defineLocale(\"tet\",{months:\"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru\".split(\"_\"),monthsShort:\"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez\".split(\"_\"),weekdays:\"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu\".split(\"_\"),weekdaysShort:\"Dom_Seg_Ters_Kua_Kint_Sest_Sab\".split(\"_\"),weekdaysMin:\"Do_Seg_Te_Ku_Ki_Ses_Sa\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[Ohin iha] LT\",nextDay:\"[Aban iha] LT\",nextWeek:\"dddd [iha] LT\",lastDay:\"[Horiseik iha] LT\",lastWeek:\"dddd [semana kotuk] [iha] LT\",sameElse:\"L\"},relativeTime:{future:\"iha %s\",past:\"%s liuba\",s:\"segundu balun\",ss:\"segundu %d\",m:\"minutu ida\",mm:\"minutu %d\",h:\"oras ida\",hh:\"oras %d\",d:\"loron ida\",dd:\"loron %d\",M:\"fulan ida\",MM:\"fulan %d\",y:\"tinan ida\",yy:\"tinan %d\"},dayOfMonthOrdinalParse:/\\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")},week:{dow:1,doy:4}}),{0:\"-\\u0443\\u043c\",1:\"-\\u0443\\u043c\",2:\"-\\u044e\\u043c\",3:\"-\\u044e\\u043c\",4:\"-\\u0443\\u043c\",5:\"-\\u0443\\u043c\",6:\"-\\u0443\\u043c\",7:\"-\\u0443\\u043c\",8:\"-\\u0443\\u043c\",9:\"-\\u0443\\u043c\",10:\"-\\u0443\\u043c\",12:\"-\\u0443\\u043c\",13:\"-\\u0443\\u043c\",20:\"-\\u0443\\u043c\",30:\"-\\u044e\\u043c\",40:\"-\\u0443\\u043c\",50:\"-\\u0443\\u043c\",60:\"-\\u0443\\u043c\",70:\"-\\u0443\\u043c\",80:\"-\\u0443\\u043c\",90:\"-\\u0443\\u043c\",100:\"-\\u0443\\u043c\"}),Cn=(L.defineLocale(\"tg\",{months:{format:\"\\u044f\\u043d\\u0432\\u0430\\u0440\\u0438_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b\\u0438_\\u043c\\u0430\\u0440\\u0442\\u0438_\\u0430\\u043f\\u0440\\u0435\\u043b\\u0438_\\u043c\\u0430\\u0439\\u0438_\\u0438\\u044e\\u043d\\u0438_\\u0438\\u044e\\u043b\\u0438_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442\\u0438_\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440\\u0438_\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440\\u0438_\\u043d\\u043e\\u044f\\u0431\\u0440\\u0438_\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\\u0438\".split(\"_\"),standalone:\"\\u044f\\u043d\\u0432\\u0430\\u0440_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b_\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440\\u0435\\u043b_\\u043c\\u0430\\u0439_\\u0438\\u044e\\u043d_\\u0438\\u044e\\u043b_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440_\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440_\\u043d\\u043e\\u044f\\u0431\\u0440_\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\".split(\"_\")},monthsShort:\"\\u044f\\u043d\\u0432_\\u0444\\u0435\\u0432_\\u043c\\u0430\\u0440_\\u0430\\u043f\\u0440_\\u043c\\u0430\\u0439_\\u0438\\u044e\\u043d_\\u0438\\u044e\\u043b_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043d_\\u043e\\u043a\\u0442_\\u043d\\u043e\\u044f_\\u0434\\u0435\\u043a\".split(\"_\"),weekdays:\"\\u044f\\u043a\\u0448\\u0430\\u043d\\u0431\\u0435_\\u0434\\u0443\\u0448\\u0430\\u043d\\u0431\\u0435_\\u0441\\u0435\\u0448\\u0430\\u043d\\u0431\\u0435_\\u0447\\u043e\\u0440\\u0448\\u0430\\u043d\\u0431\\u0435_\\u043f\\u0430\\u043d\\u04b7\\u0448\\u0430\\u043d\\u0431\\u0435_\\u04b7\\u0443\\u043c\\u044a\\u0430_\\u0448\\u0430\\u043d\\u0431\\u0435\".split(\"_\"),weekdaysShort:\"\\u044f\\u0448\\u0431_\\u0434\\u0448\\u0431_\\u0441\\u0448\\u0431_\\u0447\\u0448\\u0431_\\u043f\\u0448\\u0431_\\u04b7\\u0443\\u043c_\\u0448\\u043d\\u0431\".split(\"_\"),weekdaysMin:\"\\u044f\\u0448_\\u0434\\u0448_\\u0441\\u0448_\\u0447\\u0448_\\u043f\\u0448_\\u04b7\\u043c_\\u0448\\u0431\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u0418\\u043c\\u0440\\u04ef\\u0437 \\u0441\\u043e\\u0430\\u0442\\u0438] LT\",nextDay:\"[\\u0424\\u0430\\u0440\\u0434\\u043e \\u0441\\u043e\\u0430\\u0442\\u0438] LT\",lastDay:\"[\\u0414\\u0438\\u0440\\u04ef\\u0437 \\u0441\\u043e\\u0430\\u0442\\u0438] LT\",nextWeek:\"dddd[\\u0438] [\\u04b3\\u0430\\u0444\\u0442\\u0430\\u0438 \\u043e\\u044f\\u043d\\u0434\\u0430 \\u0441\\u043e\\u0430\\u0442\\u0438] LT\",lastWeek:\"dddd[\\u0438] [\\u04b3\\u0430\\u0444\\u0442\\u0430\\u0438 \\u0433\\u0443\\u0437\\u0430\\u0448\\u0442\\u0430 \\u0441\\u043e\\u0430\\u0442\\u0438] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0431\\u0430\\u044a\\u0434\\u0438 %s\",past:\"%s \\u043f\\u0435\\u0448\",s:\"\\u044f\\u043a\\u0447\\u0430\\u043d\\u0434 \\u0441\\u043e\\u043d\\u0438\\u044f\",m:\"\\u044f\\u043a \\u0434\\u0430\\u049b\\u0438\\u049b\\u0430\",mm:\"%d \\u0434\\u0430\\u049b\\u0438\\u049b\\u0430\",h:\"\\u044f\\u043a \\u0441\\u043e\\u0430\\u0442\",hh:\"%d \\u0441\\u043e\\u0430\\u0442\",d:\"\\u044f\\u043a \\u0440\\u04ef\\u0437\",dd:\"%d \\u0440\\u04ef\\u0437\",M:\"\\u044f\\u043a \\u043c\\u043e\\u04b3\",MM:\"%d \\u043c\\u043e\\u04b3\",y:\"\\u044f\\u043a \\u0441\\u043e\\u043b\",yy:\"%d \\u0441\\u043e\\u043b\"},meridiemParse:/\\u0448\\u0430\\u0431|\\u0441\\u0443\\u0431\\u04b3|\\u0440\\u04ef\\u0437|\\u0431\\u0435\\u0433\\u043e\\u04b3/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u0448\\u0430\\u0431\"===a?e<4?e:e+12:\"\\u0441\\u0443\\u0431\\u04b3\"===a?e:\"\\u0440\\u04ef\\u0437\"===a?11<=e?e:e+12:\"\\u0431\\u0435\\u0433\\u043e\\u04b3\"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?\"\\u0448\\u0430\\u0431\":e<11?\"\\u0441\\u0443\\u0431\\u04b3\":e<16?\"\\u0440\\u04ef\\u0437\":e<19?\"\\u0431\\u0435\\u0433\\u043e\\u04b3\":\"\\u0448\\u0430\\u0431\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0443\\u043c|\\u044e\\u043c)/,ordinal:function(e){return e+(Rn[e]||Rn[e%10]||Rn[100<=e?100:null])},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"th\",{months:\"\\u0e21\\u0e01\\u0e23\\u0e32\\u0e04\\u0e21_\\u0e01\\u0e38\\u0e21\\u0e20\\u0e32\\u0e1e\\u0e31\\u0e19\\u0e18\\u0e4c_\\u0e21\\u0e35\\u0e19\\u0e32\\u0e04\\u0e21_\\u0e40\\u0e21\\u0e29\\u0e32\\u0e22\\u0e19_\\u0e1e\\u0e24\\u0e29\\u0e20\\u0e32\\u0e04\\u0e21_\\u0e21\\u0e34\\u0e16\\u0e38\\u0e19\\u0e32\\u0e22\\u0e19_\\u0e01\\u0e23\\u0e01\\u0e0e\\u0e32\\u0e04\\u0e21_\\u0e2a\\u0e34\\u0e07\\u0e2b\\u0e32\\u0e04\\u0e21_\\u0e01\\u0e31\\u0e19\\u0e22\\u0e32\\u0e22\\u0e19_\\u0e15\\u0e38\\u0e25\\u0e32\\u0e04\\u0e21_\\u0e1e\\u0e24\\u0e28\\u0e08\\u0e34\\u0e01\\u0e32\\u0e22\\u0e19_\\u0e18\\u0e31\\u0e19\\u0e27\\u0e32\\u0e04\\u0e21\".split(\"_\"),monthsShort:\"\\u0e21.\\u0e04._\\u0e01.\\u0e1e._\\u0e21\\u0e35.\\u0e04._\\u0e40\\u0e21.\\u0e22._\\u0e1e.\\u0e04._\\u0e21\\u0e34.\\u0e22._\\u0e01.\\u0e04._\\u0e2a.\\u0e04._\\u0e01.\\u0e22._\\u0e15.\\u0e04._\\u0e1e.\\u0e22._\\u0e18.\\u0e04.\".split(\"_\"),monthsParseExact:!0,weekdays:\"\\u0e2d\\u0e32\\u0e17\\u0e34\\u0e15\\u0e22\\u0e4c_\\u0e08\\u0e31\\u0e19\\u0e17\\u0e23\\u0e4c_\\u0e2d\\u0e31\\u0e07\\u0e04\\u0e32\\u0e23_\\u0e1e\\u0e38\\u0e18_\\u0e1e\\u0e24\\u0e2b\\u0e31\\u0e2a\\u0e1a\\u0e14\\u0e35_\\u0e28\\u0e38\\u0e01\\u0e23\\u0e4c_\\u0e40\\u0e2a\\u0e32\\u0e23\\u0e4c\".split(\"_\"),weekdaysShort:\"\\u0e2d\\u0e32\\u0e17\\u0e34\\u0e15\\u0e22\\u0e4c_\\u0e08\\u0e31\\u0e19\\u0e17\\u0e23\\u0e4c_\\u0e2d\\u0e31\\u0e07\\u0e04\\u0e32\\u0e23_\\u0e1e\\u0e38\\u0e18_\\u0e1e\\u0e24\\u0e2b\\u0e31\\u0e2a_\\u0e28\\u0e38\\u0e01\\u0e23\\u0e4c_\\u0e40\\u0e2a\\u0e32\\u0e23\\u0e4c\".split(\"_\"),weekdaysMin:\"\\u0e2d\\u0e32._\\u0e08._\\u0e2d._\\u0e1e._\\u0e1e\\u0e24._\\u0e28._\\u0e2a.\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"H:mm\",LTS:\"H:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY \\u0e40\\u0e27\\u0e25\\u0e32 H:mm\",LLLL:\"\\u0e27\\u0e31\\u0e19dddd\\u0e17\\u0e35\\u0e48 D MMMM YYYY \\u0e40\\u0e27\\u0e25\\u0e32 H:mm\"},meridiemParse:/\\u0e01\\u0e48\\u0e2d\\u0e19\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07|\\u0e2b\\u0e25\\u0e31\\u0e07\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07/,isPM:function(e){return\"\\u0e2b\\u0e25\\u0e31\\u0e07\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07\"===e},meridiem:function(e,a,t){return e<12?\"\\u0e01\\u0e48\\u0e2d\\u0e19\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07\":\"\\u0e2b\\u0e25\\u0e31\\u0e07\\u0e40\\u0e17\\u0e35\\u0e48\\u0e22\\u0e07\"},calendar:{sameDay:\"[\\u0e27\\u0e31\\u0e19\\u0e19\\u0e35\\u0e49 \\u0e40\\u0e27\\u0e25\\u0e32] LT\",nextDay:\"[\\u0e1e\\u0e23\\u0e38\\u0e48\\u0e07\\u0e19\\u0e35\\u0e49 \\u0e40\\u0e27\\u0e25\\u0e32] LT\",nextWeek:\"dddd[\\u0e2b\\u0e19\\u0e49\\u0e32 \\u0e40\\u0e27\\u0e25\\u0e32] LT\",lastDay:\"[\\u0e40\\u0e21\\u0e37\\u0e48\\u0e2d\\u0e27\\u0e32\\u0e19\\u0e19\\u0e35\\u0e49 \\u0e40\\u0e27\\u0e25\\u0e32] LT\",lastWeek:\"[\\u0e27\\u0e31\\u0e19]dddd[\\u0e17\\u0e35\\u0e48\\u0e41\\u0e25\\u0e49\\u0e27 \\u0e40\\u0e27\\u0e25\\u0e32] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u0e2d\\u0e35\\u0e01 %s\",past:\"%s\\u0e17\\u0e35\\u0e48\\u0e41\\u0e25\\u0e49\\u0e27\",s:\"\\u0e44\\u0e21\\u0e48\\u0e01\\u0e35\\u0e48\\u0e27\\u0e34\\u0e19\\u0e32\\u0e17\\u0e35\",ss:\"%d \\u0e27\\u0e34\\u0e19\\u0e32\\u0e17\\u0e35\",m:\"1 \\u0e19\\u0e32\\u0e17\\u0e35\",mm:\"%d \\u0e19\\u0e32\\u0e17\\u0e35\",h:\"1 \\u0e0a\\u0e31\\u0e48\\u0e27\\u0e42\\u0e21\\u0e07\",hh:\"%d \\u0e0a\\u0e31\\u0e48\\u0e27\\u0e42\\u0e21\\u0e07\",d:\"1 \\u0e27\\u0e31\\u0e19\",dd:\"%d \\u0e27\\u0e31\\u0e19\",w:\"1 \\u0e2a\\u0e31\\u0e1b\\u0e14\\u0e32\\u0e2b\\u0e4c\",ww:\"%d \\u0e2a\\u0e31\\u0e1b\\u0e14\\u0e32\\u0e2b\\u0e4c\",M:\"1 \\u0e40\\u0e14\\u0e37\\u0e2d\\u0e19\",MM:\"%d \\u0e40\\u0e14\\u0e37\\u0e2d\\u0e19\",y:\"1 \\u0e1b\\u0e35\",yy:\"%d \\u0e1b\\u0e35\"}}),{1:\"'inji\",5:\"'inji\",8:\"'inji\",70:\"'inji\",80:\"'inji\",2:\"'nji\",7:\"'nji\",20:\"'nji\",50:\"'nji\",3:\"'\\xfcnji\",4:\"'\\xfcnji\",100:\"'\\xfcnji\",6:\"'njy\",9:\"'unjy\",10:\"'unjy\",30:\"'unjy\",60:\"'ynjy\",90:\"'ynjy\"}),In=(L.defineLocale(\"tk\",{months:\"\\xddanwar_Fewral_Mart_Aprel_Ma\\xfd_I\\xfdun_I\\xfdul_Awgust_Sent\\xfdabr_Okt\\xfdabr_No\\xfdabr_Dekabr\".split(\"_\"),monthsShort:\"\\xddan_Few_Mar_Apr_Ma\\xfd_I\\xfdn_I\\xfdl_Awg_Sen_Okt_No\\xfd_Dek\".split(\"_\"),weekdays:\"\\xddek\\u015fenbe_Du\\u015fenbe_Si\\u015fenbe_\\xc7ar\\u015fenbe_Pen\\u015fenbe_Anna_\\u015eenbe\".split(\"_\"),weekdaysShort:\"\\xddek_Du\\u015f_Si\\u015f_\\xc7ar_Pen_Ann_\\u015een\".split(\"_\"),weekdaysMin:\"\\xddk_D\\u015f_S\\u015f_\\xc7r_Pn_An_\\u015en\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[bug\\xfcn sagat] LT\",nextDay:\"[ertir sagat] LT\",nextWeek:\"[indiki] dddd [sagat] LT\",lastDay:\"[d\\xfc\\xfdn] LT\",lastWeek:\"[ge\\xe7en] dddd [sagat] LT\",sameElse:\"L\"},relativeTime:{future:\"%s so\\u0148\",past:\"%s \\xf6\\u0148\",s:\"birn\\xe4\\xe7e sekunt\",m:\"bir minut\",mm:\"%d minut\",h:\"bir sagat\",hh:\"%d sagat\",d:\"bir g\\xfcn\",dd:\"%d g\\xfcn\",M:\"bir a\\xfd\",MM:\"%d a\\xfd\",y:\"bir \\xfdyl\",yy:\"%d \\xfdyl\"},ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"Do\":case\"DD\":return e;default:var t;return 0===e?e+\"'unjy\":e+(Cn[t=e%10]||Cn[e%100-t]||Cn[100<=e?100:null])}},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"tl-ph\",{months:\"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre\".split(\"_\"),monthsShort:\"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis\".split(\"_\"),weekdays:\"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado\".split(\"_\"),weekdaysShort:\"Lin_Lun_Mar_Miy_Huw_Biy_Sab\".split(\"_\"),weekdaysMin:\"Li_Lu_Ma_Mi_Hu_Bi_Sab\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"MM/D/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY HH:mm\",LLLL:\"dddd, MMMM DD, YYYY HH:mm\"},calendar:{sameDay:\"LT [ngayong araw]\",nextDay:\"[Bukas ng] LT\",nextWeek:\"LT [sa susunod na] dddd\",lastDay:\"LT [kahapon]\",lastWeek:\"LT [noong nakaraang] dddd\",sameElse:\"L\"},relativeTime:{future:\"sa loob ng %s\",past:\"%s ang nakalipas\",s:\"ilang segundo\",ss:\"%d segundo\",m:\"isang minuto\",mm:\"%d minuto\",h:\"isang oras\",hh:\"%d oras\",d:\"isang araw\",dd:\"%d araw\",M:\"isang buwan\",MM:\"%d buwan\",y:\"isang taon\",yy:\"%d taon\"},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),\"pagh_wa\\u2019_cha\\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut\".split(\"_\"));function Un(e,a,t,s){var n=(e=>{var a=Math.floor(e%1e3/100),t=Math.floor(e%100/10),e=e%10,s=\"\";return 0<a&&(s+=In[a]+\"vatlh\"),0<t&&(s+=(\"\"!==s?\" \":\"\")+In[t]+\"maH\"),0<e&&(s+=(\"\"!==s?\" \":\"\")+In[e]),\"\"===s?\"pagh\":s})(e);switch(t){case\"ss\":return n+\" lup\";case\"mm\":return n+\" tup\";case\"hh\":return n+\" rep\";case\"dd\":return n+\" jaj\";case\"MM\":return n+\" jar\";case\"yy\":return n+\" DIS\"}}L.defineLocale(\"tlh\",{months:\"tera\\u2019 jar wa\\u2019_tera\\u2019 jar cha\\u2019_tera\\u2019 jar wej_tera\\u2019 jar loS_tera\\u2019 jar vagh_tera\\u2019 jar jav_tera\\u2019 jar Soch_tera\\u2019 jar chorgh_tera\\u2019 jar Hut_tera\\u2019 jar wa\\u2019maH_tera\\u2019 jar wa\\u2019maH wa\\u2019_tera\\u2019 jar wa\\u2019maH cha\\u2019\".split(\"_\"),monthsShort:\"jar wa\\u2019_jar cha\\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\\u2019maH_jar wa\\u2019maH wa\\u2019_jar wa\\u2019maH cha\\u2019\".split(\"_\"),monthsParseExact:!0,weekdays:\"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj\".split(\"_\"),weekdaysShort:\"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj\".split(\"_\"),weekdaysMin:\"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[DaHjaj] LT\",nextDay:\"[wa\\u2019leS] LT\",nextWeek:\"LLL\",lastDay:\"[wa\\u2019Hu\\u2019] LT\",lastWeek:\"LLL\",sameElse:\"L\"},relativeTime:{future:function(e){var a=e;return a=-1!==e.indexOf(\"jaj\")?a.slice(0,-3)+\"leS\":-1!==e.indexOf(\"jar\")?a.slice(0,-3)+\"waQ\":-1!==e.indexOf(\"DIS\")?a.slice(0,-3)+\"nem\":a+\" pIq\"},past:function(e){var a=e;return a=-1!==e.indexOf(\"jaj\")?a.slice(0,-3)+\"Hu\\u2019\":-1!==e.indexOf(\"jar\")?a.slice(0,-3)+\"wen\":-1!==e.indexOf(\"DIS\")?a.slice(0,-3)+\"ben\":a+\" ret\"},s:\"puS lup\",ss:Un,m:\"wa\\u2019 tup\",mm:Un,h:\"wa\\u2019 rep\",hh:Un,d:\"wa\\u2019 jaj\",dd:Un,M:\"wa\\u2019 jar\",MM:Un,y:\"wa\\u2019 DIS\",yy:Un},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}});\n//! moment.js locale configuration\nvar Gn={1:\"'inci\",5:\"'inci\",8:\"'inci\",70:\"'inci\",80:\"'inci\",2:\"'nci\",7:\"'nci\",20:\"'nci\",50:\"'nci\",3:\"'\\xfcnc\\xfc\",4:\"'\\xfcnc\\xfc\",100:\"'\\xfcnc\\xfc\",6:\"'nc\\u0131\",9:\"'uncu\",10:\"'uncu\",30:\"'uncu\",60:\"'\\u0131nc\\u0131\",90:\"'\\u0131nc\\u0131\"};function Vn(e,a,t,s){e={s:[\"viensas secunds\",\"'iensas secunds\"],ss:[e+\" secunds\",e+\" secunds\"],m:[\"'n m\\xedut\",\"'iens m\\xedut\"],mm:[e+\" m\\xeduts\",e+\" m\\xeduts\"],h:[\"'n \\xfeora\",\"'iensa \\xfeora\"],hh:[e+\" \\xfeoras\",e+\" \\xfeoras\"],d:[\"'n ziua\",\"'iensa ziua\"],dd:[e+\" ziuas\",e+\" ziuas\"],M:[\"'n mes\",\"'iens mes\"],MM:[e+\" mesen\",e+\" mesen\"],y:[\"'n ar\",\"'iens ar\"],yy:[e+\" ars\",e+\" ars\"]};return s||a?e[t][0]:e[t][1]}\n//! moment.js locale configuration\nfunction $n(e,a,t){return\"m\"===t?a?\"\\u0445\\u0432\\u0438\\u043b\\u0438\\u043d\\u0430\":\"\\u0445\\u0432\\u0438\\u043b\\u0438\\u043d\\u0443\":\"h\"===t?a?\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0430\":\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0443\":e+\" \"+(e=+e,a=(a={ss:a?\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0430_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0438_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\":\"\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0443_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\\u0438_\\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",mm:a?\"\\u0445\\u0432\\u0438\\u043b\\u0438\\u043d\\u0430_\\u0445\\u0432\\u0438\\u043b\\u0438\\u043d\\u0438_\\u0445\\u0432\\u0438\\u043b\\u0438\\u043d\":\"\\u0445\\u0432\\u0438\\u043b\\u0438\\u043d\\u0443_\\u0445\\u0432\\u0438\\u043b\\u0438\\u043d\\u0438_\\u0445\\u0432\\u0438\\u043b\\u0438\\u043d\",hh:a?\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0430_\\u0433\\u043e\\u0434\\u0438\\u043d\\u0438_\\u0433\\u043e\\u0434\\u0438\\u043d\":\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0443_\\u0433\\u043e\\u0434\\u0438\\u043d\\u0438_\\u0433\\u043e\\u0434\\u0438\\u043d\",dd:\"\\u0434\\u0435\\u043d\\u044c_\\u0434\\u043d\\u0456_\\u0434\\u043d\\u0456\\u0432\",MM:\"\\u043c\\u0456\\u0441\\u044f\\u0446\\u044c_\\u043c\\u0456\\u0441\\u044f\\u0446\\u0456_\\u043c\\u0456\\u0441\\u044f\\u0446\\u0456\\u0432\",yy:\"\\u0440\\u0456\\u043a_\\u0440\\u043e\\u043a\\u0438_\\u0440\\u043e\\u043a\\u0456\\u0432\"}[t]).split(\"_\"),e%10==1&&e%100!=11?a[0]:2<=e%10&&e%10<=4&&(e%100<10||20<=e%100)?a[1]:a[2])}function qn(e){return function(){return e+\"\\u043e\"+(11===this.hours()?\"\\u0431\":\"\")+\"] LT\"}}L.defineLocale(\"tr\",{months:\"Ocak_\\u015eubat_Mart_Nisan_May\\u0131s_Haziran_Temmuz_A\\u011fustos_Eyl\\xfcl_Ekim_Kas\\u0131m_Aral\\u0131k\".split(\"_\"),monthsShort:\"Oca_\\u015eub_Mar_Nis_May_Haz_Tem_A\\u011fu_Eyl_Eki_Kas_Ara\".split(\"_\"),weekdays:\"Pazar_Pazartesi_Sal\\u0131_\\xc7ar\\u015famba_Per\\u015fembe_Cuma_Cumartesi\".split(\"_\"),weekdaysShort:\"Paz_Pzt_Sal_\\xc7ar_Per_Cum_Cmt\".split(\"_\"),weekdaysMin:\"Pz_Pt_Sa_\\xc7a_Pe_Cu_Ct\".split(\"_\"),meridiem:function(e,a,t){return e<12?t?\"\\xf6\\xf6\":\"\\xd6\\xd6\":t?\"\\xf6s\":\"\\xd6S\"},meridiemParse:/\\xf6\\xf6|\\xd6\\xd6|\\xf6s|\\xd6S/,isPM:function(e){return\"\\xf6s\"===e||\"\\xd6S\"===e},longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[bug\\xfcn saat] LT\",nextDay:\"[yar\\u0131n saat] LT\",nextWeek:\"[gelecek] dddd [saat] LT\",lastDay:\"[d\\xfcn] LT\",lastWeek:\"[ge\\xe7en] dddd [saat] LT\",sameElse:\"L\"},relativeTime:{future:\"%s sonra\",past:\"%s \\xf6nce\",s:\"birka\\xe7 saniye\",ss:\"%d saniye\",m:\"bir dakika\",mm:\"%d dakika\",h:\"bir saat\",hh:\"%d saat\",d:\"bir g\\xfcn\",dd:\"%d g\\xfcn\",w:\"bir hafta\",ww:\"%d hafta\",M:\"bir ay\",MM:\"%d ay\",y:\"bir y\\u0131l\",yy:\"%d y\\u0131l\"},ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"Do\":case\"DD\":return e;default:var t;return 0===e?e+\"'\\u0131nc\\u0131\":e+(Gn[t=e%10]||Gn[e%100-t]||Gn[100<=e?100:null])}},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"tzl\",{months:\"Januar_Fevraglh_Mar\\xe7_Avr\\xefu_Mai_G\\xfcn_Julia_Guscht_Setemvar_Listop\\xe4ts_Noemvar_Zecemvar\".split(\"_\"),monthsShort:\"Jan_Fev_Mar_Avr_Mai_G\\xfcn_Jul_Gus_Set_Lis_Noe_Zec\".split(\"_\"),weekdays:\"S\\xfaladi_L\\xfane\\xe7i_Maitzi_M\\xe1rcuri_Xh\\xfaadi_Vi\\xe9ner\\xe7i_S\\xe1turi\".split(\"_\"),weekdaysShort:\"S\\xfal_L\\xfan_Mai_M\\xe1r_Xh\\xfa_Vi\\xe9_S\\xe1t\".split(\"_\"),weekdaysMin:\"S\\xfa_L\\xfa_Ma_M\\xe1_Xh_Vi_S\\xe1\".split(\"_\"),longDateFormat:{LT:\"HH.mm\",LTS:\"HH.mm.ss\",L:\"DD.MM.YYYY\",LL:\"D. MMMM [dallas] YYYY\",LLL:\"D. MMMM [dallas] YYYY HH.mm\",LLLL:\"dddd, [li] D. MMMM [dallas] YYYY HH.mm\"},meridiemParse:/d\\'o|d\\'a/i,isPM:function(e){return\"d'o\"===e.toLowerCase()},meridiem:function(e,a,t){return 11<e?t?\"d'o\":\"D'O\":t?\"d'a\":\"D'A\"},calendar:{sameDay:\"[oxhi \\xe0] LT\",nextDay:\"[dem\\xe0 \\xe0] LT\",nextWeek:\"dddd [\\xe0] LT\",lastDay:\"[ieiri \\xe0] LT\",lastWeek:\"[s\\xfcr el] dddd [lasteu \\xe0] LT\",sameElse:\"L\"},relativeTime:{future:\"osprei %s\",past:\"ja%s\",s:Vn,ss:Vn,m:Vn,mm:Vn,h:Vn,hh:Vn,d:Vn,dd:Vn,M:Vn,MM:Vn,y:Vn,yy:Vn},dayOfMonthOrdinalParse:/\\d{1,2}\\./,ordinal:\"%d.\",week:{dow:1,doy:4}}),L.defineLocale(\"tzm-latn\",{months:\"innayr_br\\u02e4ayr\\u02e4_mar\\u02e4s\\u02e4_ibrir_mayyw_ywnyw_ywlywz_\\u0263w\\u0161t_\\u0161wtanbir_kt\\u02e4wbr\\u02e4_nwwanbir_dwjnbir\".split(\"_\"),monthsShort:\"innayr_br\\u02e4ayr\\u02e4_mar\\u02e4s\\u02e4_ibrir_mayyw_ywnyw_ywlywz_\\u0263w\\u0161t_\\u0161wtanbir_kt\\u02e4wbr\\u02e4_nwwanbir_dwjnbir\".split(\"_\"),weekdays:\"asamas_aynas_asinas_akras_akwas_asimwas_asi\\u1e0dyas\".split(\"_\"),weekdaysShort:\"asamas_aynas_asinas_akras_akwas_asimwas_asi\\u1e0dyas\".split(\"_\"),weekdaysMin:\"asamas_aynas_asinas_akras_akwas_asimwas_asi\\u1e0dyas\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[asdkh g] LT\",nextDay:\"[aska g] LT\",nextWeek:\"dddd [g] LT\",lastDay:\"[assant g] LT\",lastWeek:\"dddd [g] LT\",sameElse:\"L\"},relativeTime:{future:\"dadkh s yan %s\",past:\"yan %s\",s:\"imik\",ss:\"%d imik\",m:\"minu\\u1e0d\",mm:\"%d minu\\u1e0d\",h:\"sa\\u025ba\",hh:\"%d tassa\\u025bin\",d:\"ass\",dd:\"%d ossan\",M:\"ayowr\",MM:\"%d iyyirn\",y:\"asgas\",yy:\"%d isgasn\"},week:{dow:6,doy:12}}),\n//! moment.js locale configuration\nL.defineLocale(\"tzm\",{months:\"\\u2d49\\u2d4f\\u2d4f\\u2d30\\u2d62\\u2d54_\\u2d31\\u2d55\\u2d30\\u2d62\\u2d55_\\u2d4e\\u2d30\\u2d55\\u2d5a_\\u2d49\\u2d31\\u2d54\\u2d49\\u2d54_\\u2d4e\\u2d30\\u2d62\\u2d62\\u2d53_\\u2d62\\u2d53\\u2d4f\\u2d62\\u2d53_\\u2d62\\u2d53\\u2d4d\\u2d62\\u2d53\\u2d63_\\u2d56\\u2d53\\u2d5b\\u2d5c_\\u2d5b\\u2d53\\u2d5c\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54_\\u2d3d\\u2d5f\\u2d53\\u2d31\\u2d55_\\u2d4f\\u2d53\\u2d61\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54_\\u2d37\\u2d53\\u2d4a\\u2d4f\\u2d31\\u2d49\\u2d54\".split(\"_\"),monthsShort:\"\\u2d49\\u2d4f\\u2d4f\\u2d30\\u2d62\\u2d54_\\u2d31\\u2d55\\u2d30\\u2d62\\u2d55_\\u2d4e\\u2d30\\u2d55\\u2d5a_\\u2d49\\u2d31\\u2d54\\u2d49\\u2d54_\\u2d4e\\u2d30\\u2d62\\u2d62\\u2d53_\\u2d62\\u2d53\\u2d4f\\u2d62\\u2d53_\\u2d62\\u2d53\\u2d4d\\u2d62\\u2d53\\u2d63_\\u2d56\\u2d53\\u2d5b\\u2d5c_\\u2d5b\\u2d53\\u2d5c\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54_\\u2d3d\\u2d5f\\u2d53\\u2d31\\u2d55_\\u2d4f\\u2d53\\u2d61\\u2d30\\u2d4f\\u2d31\\u2d49\\u2d54_\\u2d37\\u2d53\\u2d4a\\u2d4f\\u2d31\\u2d49\\u2d54\".split(\"_\"),weekdays:\"\\u2d30\\u2d59\\u2d30\\u2d4e\\u2d30\\u2d59_\\u2d30\\u2d62\\u2d4f\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d4f\\u2d30\\u2d59_\\u2d30\\u2d3d\\u2d54\\u2d30\\u2d59_\\u2d30\\u2d3d\\u2d61\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d4e\\u2d61\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d39\\u2d62\\u2d30\\u2d59\".split(\"_\"),weekdaysShort:\"\\u2d30\\u2d59\\u2d30\\u2d4e\\u2d30\\u2d59_\\u2d30\\u2d62\\u2d4f\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d4f\\u2d30\\u2d59_\\u2d30\\u2d3d\\u2d54\\u2d30\\u2d59_\\u2d30\\u2d3d\\u2d61\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d4e\\u2d61\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d39\\u2d62\\u2d30\\u2d59\".split(\"_\"),weekdaysMin:\"\\u2d30\\u2d59\\u2d30\\u2d4e\\u2d30\\u2d59_\\u2d30\\u2d62\\u2d4f\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d4f\\u2d30\\u2d59_\\u2d30\\u2d3d\\u2d54\\u2d30\\u2d59_\\u2d30\\u2d3d\\u2d61\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d4e\\u2d61\\u2d30\\u2d59_\\u2d30\\u2d59\\u2d49\\u2d39\\u2d62\\u2d30\\u2d59\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[\\u2d30\\u2d59\\u2d37\\u2d45 \\u2d34] LT\",nextDay:\"[\\u2d30\\u2d59\\u2d3d\\u2d30 \\u2d34] LT\",nextWeek:\"dddd [\\u2d34] LT\",lastDay:\"[\\u2d30\\u2d5a\\u2d30\\u2d4f\\u2d5c \\u2d34] LT\",lastWeek:\"dddd [\\u2d34] LT\",sameElse:\"L\"},relativeTime:{future:\"\\u2d37\\u2d30\\u2d37\\u2d45 \\u2d59 \\u2d62\\u2d30\\u2d4f %s\",past:\"\\u2d62\\u2d30\\u2d4f %s\",s:\"\\u2d49\\u2d4e\\u2d49\\u2d3d\",ss:\"%d \\u2d49\\u2d4e\\u2d49\\u2d3d\",m:\"\\u2d4e\\u2d49\\u2d4f\\u2d53\\u2d3a\",mm:\"%d \\u2d4e\\u2d49\\u2d4f\\u2d53\\u2d3a\",h:\"\\u2d59\\u2d30\\u2d44\\u2d30\",hh:\"%d \\u2d5c\\u2d30\\u2d59\\u2d59\\u2d30\\u2d44\\u2d49\\u2d4f\",d:\"\\u2d30\\u2d59\\u2d59\",dd:\"%d o\\u2d59\\u2d59\\u2d30\\u2d4f\",M:\"\\u2d30\\u2d62o\\u2d53\\u2d54\",MM:\"%d \\u2d49\\u2d62\\u2d62\\u2d49\\u2d54\\u2d4f\",y:\"\\u2d30\\u2d59\\u2d33\\u2d30\\u2d59\",yy:\"%d \\u2d49\\u2d59\\u2d33\\u2d30\\u2d59\\u2d4f\"},week:{dow:6,doy:12}}),\n//! moment.js locale configuration\nL.defineLocale(\"ug-cn\",{months:\"\\u064a\\u0627\\u0646\\u06cb\\u0627\\u0631_\\u0641\\u06d0\\u06cb\\u0631\\u0627\\u0644_\\u0645\\u0627\\u0631\\u062a_\\u0626\\u0627\\u067e\\u0631\\u06d0\\u0644_\\u0645\\u0627\\u064a_\\u0626\\u0649\\u064a\\u06c7\\u0646_\\u0626\\u0649\\u064a\\u06c7\\u0644_\\u0626\\u0627\\u06cb\\u063a\\u06c7\\u0633\\u062a_\\u0633\\u06d0\\u0646\\u062a\\u06d5\\u0628\\u0649\\u0631_\\u0626\\u06c6\\u0643\\u062a\\u06d5\\u0628\\u0649\\u0631_\\u0646\\u0648\\u064a\\u0627\\u0628\\u0649\\u0631_\\u062f\\u06d0\\u0643\\u0627\\u0628\\u0649\\u0631\".split(\"_\"),monthsShort:\"\\u064a\\u0627\\u0646\\u06cb\\u0627\\u0631_\\u0641\\u06d0\\u06cb\\u0631\\u0627\\u0644_\\u0645\\u0627\\u0631\\u062a_\\u0626\\u0627\\u067e\\u0631\\u06d0\\u0644_\\u0645\\u0627\\u064a_\\u0626\\u0649\\u064a\\u06c7\\u0646_\\u0626\\u0649\\u064a\\u06c7\\u0644_\\u0626\\u0627\\u06cb\\u063a\\u06c7\\u0633\\u062a_\\u0633\\u06d0\\u0646\\u062a\\u06d5\\u0628\\u0649\\u0631_\\u0626\\u06c6\\u0643\\u062a\\u06d5\\u0628\\u0649\\u0631_\\u0646\\u0648\\u064a\\u0627\\u0628\\u0649\\u0631_\\u062f\\u06d0\\u0643\\u0627\\u0628\\u0649\\u0631\".split(\"_\"),weekdays:\"\\u064a\\u06d5\\u0643\\u0634\\u06d5\\u0646\\u0628\\u06d5_\\u062f\\u06c8\\u0634\\u06d5\\u0646\\u0628\\u06d5_\\u0633\\u06d5\\u064a\\u0634\\u06d5\\u0646\\u0628\\u06d5_\\u0686\\u0627\\u0631\\u0634\\u06d5\\u0646\\u0628\\u06d5_\\u067e\\u06d5\\u064a\\u0634\\u06d5\\u0646\\u0628\\u06d5_\\u062c\\u06c8\\u0645\\u06d5_\\u0634\\u06d5\\u0646\\u0628\\u06d5\".split(\"_\"),weekdaysShort:\"\\u064a\\u06d5_\\u062f\\u06c8_\\u0633\\u06d5_\\u0686\\u0627_\\u067e\\u06d5_\\u062c\\u06c8_\\u0634\\u06d5\".split(\"_\"),weekdaysMin:\"\\u064a\\u06d5_\\u062f\\u06c8_\\u0633\\u06d5_\\u0686\\u0627_\\u067e\\u06d5_\\u062c\\u06c8_\\u0634\\u06d5\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY-MM-DD\",LL:\"YYYY-\\u064a\\u0649\\u0644\\u0649M-\\u0626\\u0627\\u064a\\u0646\\u0649\\u06adD-\\u0643\\u06c8\\u0646\\u0649\",LLL:\"YYYY-\\u064a\\u0649\\u0644\\u0649M-\\u0626\\u0627\\u064a\\u0646\\u0649\\u06adD-\\u0643\\u06c8\\u0646\\u0649\\u060c HH:mm\",LLLL:\"dddd\\u060c YYYY-\\u064a\\u0649\\u0644\\u0649M-\\u0626\\u0627\\u064a\\u0646\\u0649\\u06adD-\\u0643\\u06c8\\u0646\\u0649\\u060c HH:mm\"},meridiemParse:/\\u064a\\u06d0\\u0631\\u0649\\u0645 \\u0643\\u06d0\\u0686\\u06d5|\\u0633\\u06d5\\u06be\\u06d5\\u0631|\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646|\\u0686\\u06c8\\u0634|\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0643\\u06d0\\u064a\\u0649\\u0646|\\u0643\\u06d5\\u0686/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u064a\\u06d0\\u0631\\u0649\\u0645 \\u0643\\u06d0\\u0686\\u06d5\"===a||\"\\u0633\\u06d5\\u06be\\u06d5\\u0631\"===a||\"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\"===a||\"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0643\\u06d0\\u064a\\u0649\\u0646\"!==a&&\"\\u0643\\u06d5\\u0686\"!==a&&11<=e?e:e+12},meridiem:function(e,a,t){e=100*e+a;return e<600?\"\\u064a\\u06d0\\u0631\\u0649\\u0645 \\u0643\\u06d0\\u0686\\u06d5\":e<900?\"\\u0633\\u06d5\\u06be\\u06d5\\u0631\":e<1130?\"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0628\\u06c7\\u0631\\u06c7\\u0646\":e<1230?\"\\u0686\\u06c8\\u0634\":e<1800?\"\\u0686\\u06c8\\u0634\\u062a\\u0649\\u0646 \\u0643\\u06d0\\u064a\\u0649\\u0646\":\"\\u0643\\u06d5\\u0686\"},calendar:{sameDay:\"[\\u0628\\u06c8\\u06af\\u06c8\\u0646 \\u0633\\u0627\\u0626\\u06d5\\u062a] LT\",nextDay:\"[\\u0626\\u06d5\\u062a\\u06d5 \\u0633\\u0627\\u0626\\u06d5\\u062a] LT\",nextWeek:\"[\\u0643\\u06d0\\u0644\\u06d5\\u0631\\u0643\\u0649] dddd [\\u0633\\u0627\\u0626\\u06d5\\u062a] LT\",lastDay:\"[\\u062a\\u06c6\\u0646\\u06c8\\u06af\\u06c8\\u0646] LT\",lastWeek:\"[\\u0626\\u0627\\u0644\\u062f\\u0649\\u0646\\u0642\\u0649] dddd [\\u0633\\u0627\\u0626\\u06d5\\u062a] LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0643\\u06d0\\u064a\\u0649\\u0646\",past:\"%s \\u0628\\u06c7\\u0631\\u06c7\\u0646\",s:\"\\u0646\\u06d5\\u0686\\u0686\\u06d5 \\u0633\\u06d0\\u0643\\u0648\\u0646\\u062a\",ss:\"%d \\u0633\\u06d0\\u0643\\u0648\\u0646\\u062a\",m:\"\\u0628\\u0649\\u0631 \\u0645\\u0649\\u0646\\u06c7\\u062a\",mm:\"%d \\u0645\\u0649\\u0646\\u06c7\\u062a\",h:\"\\u0628\\u0649\\u0631 \\u0633\\u0627\\u0626\\u06d5\\u062a\",hh:\"%d \\u0633\\u0627\\u0626\\u06d5\\u062a\",d:\"\\u0628\\u0649\\u0631 \\u0643\\u06c8\\u0646\",dd:\"%d \\u0643\\u06c8\\u0646\",M:\"\\u0628\\u0649\\u0631 \\u0626\\u0627\\u064a\",MM:\"%d \\u0626\\u0627\\u064a\",y:\"\\u0628\\u0649\\u0631 \\u064a\\u0649\\u0644\",yy:\"%d \\u064a\\u0649\\u0644\"},dayOfMonthOrdinalParse:/\\d{1,2}(-\\u0643\\u06c8\\u0646\\u0649|-\\u0626\\u0627\\u064a|-\\u06be\\u06d5\\u067e\\u062a\\u06d5)/,ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"DDD\":return e+\"-\\u0643\\u06c8\\u0646\\u0649\";case\"w\":case\"W\":return e+\"-\\u06be\\u06d5\\u067e\\u062a\\u06d5\";default:return e}},preparse:function(e){return e.replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/,/g,\"\\u060c\")},week:{dow:1,doy:7}}),L.defineLocale(\"uk\",{months:{format:\"\\u0441\\u0456\\u0447\\u043d\\u044f_\\u043b\\u044e\\u0442\\u043e\\u0433\\u043e_\\u0431\\u0435\\u0440\\u0435\\u0437\\u043d\\u044f_\\u043a\\u0432\\u0456\\u0442\\u043d\\u044f_\\u0442\\u0440\\u0430\\u0432\\u043d\\u044f_\\u0447\\u0435\\u0440\\u0432\\u043d\\u044f_\\u043b\\u0438\\u043f\\u043d\\u044f_\\u0441\\u0435\\u0440\\u043f\\u043d\\u044f_\\u0432\\u0435\\u0440\\u0435\\u0441\\u043d\\u044f_\\u0436\\u043e\\u0432\\u0442\\u043d\\u044f_\\u043b\\u0438\\u0441\\u0442\\u043e\\u043f\\u0430\\u0434\\u0430_\\u0433\\u0440\\u0443\\u0434\\u043d\\u044f\".split(\"_\"),standalone:\"\\u0441\\u0456\\u0447\\u0435\\u043d\\u044c_\\u043b\\u044e\\u0442\\u0438\\u0439_\\u0431\\u0435\\u0440\\u0435\\u0437\\u0435\\u043d\\u044c_\\u043a\\u0432\\u0456\\u0442\\u0435\\u043d\\u044c_\\u0442\\u0440\\u0430\\u0432\\u0435\\u043d\\u044c_\\u0447\\u0435\\u0440\\u0432\\u0435\\u043d\\u044c_\\u043b\\u0438\\u043f\\u0435\\u043d\\u044c_\\u0441\\u0435\\u0440\\u043f\\u0435\\u043d\\u044c_\\u0432\\u0435\\u0440\\u0435\\u0441\\u0435\\u043d\\u044c_\\u0436\\u043e\\u0432\\u0442\\u0435\\u043d\\u044c_\\u043b\\u0438\\u0441\\u0442\\u043e\\u043f\\u0430\\u0434_\\u0433\\u0440\\u0443\\u0434\\u0435\\u043d\\u044c\".split(\"_\")},monthsShort:\"\\u0441\\u0456\\u0447_\\u043b\\u044e\\u0442_\\u0431\\u0435\\u0440_\\u043a\\u0432\\u0456\\u0442_\\u0442\\u0440\\u0430\\u0432_\\u0447\\u0435\\u0440\\u0432_\\u043b\\u0438\\u043f_\\u0441\\u0435\\u0440\\u043f_\\u0432\\u0435\\u0440_\\u0436\\u043e\\u0432\\u0442_\\u043b\\u0438\\u0441\\u0442_\\u0433\\u0440\\u0443\\u0434\".split(\"_\"),weekdays:function(e,a){var t={nominative:\"\\u043d\\u0435\\u0434\\u0456\\u043b\\u044f_\\u043f\\u043e\\u043d\\u0435\\u0434\\u0456\\u043b\\u043e\\u043a_\\u0432\\u0456\\u0432\\u0442\\u043e\\u0440\\u043e\\u043a_\\u0441\\u0435\\u0440\\u0435\\u0434\\u0430_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440_\\u043f\\u02bc\\u044f\\u0442\\u043d\\u0438\\u0446\\u044f_\\u0441\\u0443\\u0431\\u043e\\u0442\\u0430\".split(\"_\"),accusative:\"\\u043d\\u0435\\u0434\\u0456\\u043b\\u044e_\\u043f\\u043e\\u043d\\u0435\\u0434\\u0456\\u043b\\u043e\\u043a_\\u0432\\u0456\\u0432\\u0442\\u043e\\u0440\\u043e\\u043a_\\u0441\\u0435\\u0440\\u0435\\u0434\\u0443_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440_\\u043f\\u02bc\\u044f\\u0442\\u043d\\u0438\\u0446\\u044e_\\u0441\\u0443\\u0431\\u043e\\u0442\\u0443\".split(\"_\"),genitive:\"\\u043d\\u0435\\u0434\\u0456\\u043b\\u0456_\\u043f\\u043e\\u043d\\u0435\\u0434\\u0456\\u043b\\u043a\\u0430_\\u0432\\u0456\\u0432\\u0442\\u043e\\u0440\\u043a\\u0430_\\u0441\\u0435\\u0440\\u0435\\u0434\\u0438_\\u0447\\u0435\\u0442\\u0432\\u0435\\u0440\\u0433\\u0430_\\u043f\\u02bc\\u044f\\u0442\\u043d\\u0438\\u0446\\u0456_\\u0441\\u0443\\u0431\\u043e\\u0442\\u0438\".split(\"_\")};return!0===e?t.nominative.slice(1,7).concat(t.nominative.slice(0,1)):e?t[/(\\[[\\u0412\\u0432\\u0423\\u0443]\\]) ?dddd/.test(a)?\"accusative\":/\\[?(?:\\u043c\\u0438\\u043d\\u0443\\u043b\\u043e\\u0457|\\u043d\\u0430\\u0441\\u0442\\u0443\\u043f\\u043d\\u043e\\u0457)? ?\\] ?dddd/.test(a)?\"genitive\":\"nominative\"][e.day()]:t.nominative},weekdaysShort:\"\\u043d\\u0434_\\u043f\\u043d_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043f\\u0442_\\u0441\\u0431\".split(\"_\"),weekdaysMin:\"\\u043d\\u0434_\\u043f\\u043d_\\u0432\\u0442_\\u0441\\u0440_\\u0447\\u0442_\\u043f\\u0442_\\u0441\\u0431\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD.MM.YYYY\",LL:\"D MMMM YYYY \\u0440.\",LLL:\"D MMMM YYYY \\u0440., HH:mm\",LLLL:\"dddd, D MMMM YYYY \\u0440., HH:mm\"},calendar:{sameDay:qn(\"[\\u0421\\u044c\\u043e\\u0433\\u043e\\u0434\\u043d\\u0456 \"),nextDay:qn(\"[\\u0417\\u0430\\u0432\\u0442\\u0440\\u0430 \"),lastDay:qn(\"[\\u0412\\u0447\\u043e\\u0440\\u0430 \"),nextWeek:qn(\"[\\u0423] dddd [\"),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return qn(\"[\\u041c\\u0438\\u043d\\u0443\\u043b\\u043e\\u0457] dddd [\").call(this);case 1:case 2:case 4:return qn(\"[\\u041c\\u0438\\u043d\\u0443\\u043b\\u043e\\u0433\\u043e] dddd [\").call(this)}},sameElse:\"L\"},relativeTime:{future:\"\\u0437\\u0430 %s\",past:\"%s \\u0442\\u043e\\u043c\\u0443\",s:\"\\u0434\\u0435\\u043a\\u0456\\u043b\\u044c\\u043a\\u0430 \\u0441\\u0435\\u043a\\u0443\\u043d\\u0434\",ss:$n,m:$n,mm:$n,h:\"\\u0433\\u043e\\u0434\\u0438\\u043d\\u0443\",hh:$n,d:\"\\u0434\\u0435\\u043d\\u044c\",dd:$n,M:\"\\u043c\\u0456\\u0441\\u044f\\u0446\\u044c\",MM:$n,y:\"\\u0440\\u0456\\u043a\",yy:$n},meridiemParse:/\\u043d\\u043e\\u0447\\u0456|\\u0440\\u0430\\u043d\\u043a\\u0443|\\u0434\\u043d\\u044f|\\u0432\\u0435\\u0447\\u043e\\u0440\\u0430/,isPM:function(e){return/^(\\u0434\\u043d\\u044f|\\u0432\\u0435\\u0447\\u043e\\u0440\\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?\"\\u043d\\u043e\\u0447\\u0456\":e<12?\"\\u0440\\u0430\\u043d\\u043a\\u0443\":e<17?\"\\u0434\\u043d\\u044f\":\"\\u0432\\u0435\\u0447\\u043e\\u0440\\u0430\"},dayOfMonthOrdinalParse:/\\d{1,2}-(\\u0439|\\u0433\\u043e)/,ordinal:function(e,a){switch(a){case\"M\":case\"d\":case\"DDD\":case\"w\":case\"W\":return e+\"-\\u0439\";case\"D\":return e+\"-\\u0433\\u043e\";default:return e}},week:{dow:1,doy:4}});\n//! moment.js locale configuration\nn=[\"\\u062c\\u0646\\u0648\\u0631\\u06cc\",\"\\u0641\\u0631\\u0648\\u0631\\u06cc\",\"\\u0645\\u0627\\u0631\\u0686\",\"\\u0627\\u067e\\u0631\\u06cc\\u0644\",\"\\u0645\\u0626\\u06cc\",\"\\u062c\\u0648\\u0646\",\"\\u062c\\u0648\\u0644\\u0627\\u0626\\u06cc\",\"\\u0627\\u06af\\u0633\\u062a\",\"\\u0633\\u062a\\u0645\\u0628\\u0631\",\"\\u0627\\u06a9\\u062a\\u0648\\u0628\\u0631\",\"\\u0646\\u0648\\u0645\\u0628\\u0631\",\"\\u062f\\u0633\\u0645\\u0628\\u0631\"],m=[\"\\u0627\\u062a\\u0648\\u0627\\u0631\",\"\\u067e\\u06cc\\u0631\",\"\\u0645\\u0646\\u06af\\u0644\",\"\\u0628\\u062f\\u06be\",\"\\u062c\\u0645\\u0639\\u0631\\u0627\\u062a\",\"\\u062c\\u0645\\u0639\\u06c1\",\"\\u06c1\\u0641\\u062a\\u06c1\"];return L.defineLocale(\"ur\",{months:n,monthsShort:n,weekdays:m,weekdaysShort:m,weekdaysMin:m,longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd\\u060c D MMMM YYYY HH:mm\"},meridiemParse:/\\u0635\\u0628\\u062d|\\u0634\\u0627\\u0645/,isPM:function(e){return\"\\u0634\\u0627\\u0645\"===e},meridiem:function(e,a,t){return e<12?\"\\u0635\\u0628\\u062d\":\"\\u0634\\u0627\\u0645\"},calendar:{sameDay:\"[\\u0622\\u062c \\u0628\\u0648\\u0642\\u062a] LT\",nextDay:\"[\\u06a9\\u0644 \\u0628\\u0648\\u0642\\u062a] LT\",nextWeek:\"dddd [\\u0628\\u0648\\u0642\\u062a] LT\",lastDay:\"[\\u06af\\u0630\\u0634\\u062a\\u06c1 \\u0631\\u0648\\u0632 \\u0628\\u0648\\u0642\\u062a] LT\",lastWeek:\"[\\u06af\\u0630\\u0634\\u062a\\u06c1] dddd [\\u0628\\u0648\\u0642\\u062a] LT\",sameElse:\"L\"},relativeTime:{future:\"%s \\u0628\\u0639\\u062f\",past:\"%s \\u0642\\u0628\\u0644\",s:\"\\u0686\\u0646\\u062f \\u0633\\u06cc\\u06a9\\u0646\\u0688\",ss:\"%d \\u0633\\u06cc\\u06a9\\u0646\\u0688\",m:\"\\u0627\\u06cc\\u06a9 \\u0645\\u0646\\u0679\",mm:\"%d \\u0645\\u0646\\u0679\",h:\"\\u0627\\u06cc\\u06a9 \\u06af\\u06be\\u0646\\u0679\\u06c1\",hh:\"%d \\u06af\\u06be\\u0646\\u0679\\u06d2\",d:\"\\u0627\\u06cc\\u06a9 \\u062f\\u0646\",dd:\"%d \\u062f\\u0646\",M:\"\\u0627\\u06cc\\u06a9 \\u0645\\u0627\\u06c1\",MM:\"%d \\u0645\\u0627\\u06c1\",y:\"\\u0627\\u06cc\\u06a9 \\u0633\\u0627\\u0644\",yy:\"%d \\u0633\\u0627\\u0644\"},preparse:function(e){return e.replace(/\\u060c/g,\",\")},postformat:function(e){return e.replace(/,/g,\"\\u060c\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"uz-latn\",{months:\"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr\".split(\"_\"),monthsShort:\"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek\".split(\"_\"),weekdays:\"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba\".split(\"_\"),weekdaysShort:\"Yak_Dush_Sesh_Chor_Pay_Jum_Shan\".split(\"_\"),weekdaysMin:\"Ya_Du_Se_Cho_Pa_Ju_Sha\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"D MMMM YYYY, dddd HH:mm\"},calendar:{sameDay:\"[Bugun soat] LT [da]\",nextDay:\"[Ertaga] LT [da]\",nextWeek:\"dddd [kuni soat] LT [da]\",lastDay:\"[Kecha soat] LT [da]\",lastWeek:\"[O'tgan] dddd [kuni soat] LT [da]\",sameElse:\"L\"},relativeTime:{future:\"Yaqin %s ichida\",past:\"%s oldin\",s:\"soniya\",ss:\"%d soniya\",m:\"bir daqiqa\",mm:\"%d daqiqa\",h:\"bir soat\",hh:\"%d soat\",d:\"bir kun\",dd:\"%d kun\",M:\"bir oy\",MM:\"%d oy\",y:\"bir yil\",yy:\"%d yil\"},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"uz\",{months:\"\\u044f\\u043d\\u0432\\u0430\\u0440_\\u0444\\u0435\\u0432\\u0440\\u0430\\u043b_\\u043c\\u0430\\u0440\\u0442_\\u0430\\u043f\\u0440\\u0435\\u043b_\\u043c\\u0430\\u0439_\\u0438\\u044e\\u043d_\\u0438\\u044e\\u043b_\\u0430\\u0432\\u0433\\u0443\\u0441\\u0442_\\u0441\\u0435\\u043d\\u0442\\u044f\\u0431\\u0440_\\u043e\\u043a\\u0442\\u044f\\u0431\\u0440_\\u043d\\u043e\\u044f\\u0431\\u0440_\\u0434\\u0435\\u043a\\u0430\\u0431\\u0440\".split(\"_\"),monthsShort:\"\\u044f\\u043d\\u0432_\\u0444\\u0435\\u0432_\\u043c\\u0430\\u0440_\\u0430\\u043f\\u0440_\\u043c\\u0430\\u0439_\\u0438\\u044e\\u043d_\\u0438\\u044e\\u043b_\\u0430\\u0432\\u0433_\\u0441\\u0435\\u043d_\\u043e\\u043a\\u0442_\\u043d\\u043e\\u044f_\\u0434\\u0435\\u043a\".split(\"_\"),weekdays:\"\\u042f\\u043a\\u0448\\u0430\\u043d\\u0431\\u0430_\\u0414\\u0443\\u0448\\u0430\\u043d\\u0431\\u0430_\\u0421\\u0435\\u0448\\u0430\\u043d\\u0431\\u0430_\\u0427\\u043e\\u0440\\u0448\\u0430\\u043d\\u0431\\u0430_\\u041f\\u0430\\u0439\\u0448\\u0430\\u043d\\u0431\\u0430_\\u0416\\u0443\\u043c\\u0430_\\u0428\\u0430\\u043d\\u0431\\u0430\".split(\"_\"),weekdaysShort:\"\\u042f\\u043a\\u0448_\\u0414\\u0443\\u0448_\\u0421\\u0435\\u0448_\\u0427\\u043e\\u0440_\\u041f\\u0430\\u0439_\\u0416\\u0443\\u043c_\\u0428\\u0430\\u043d\".split(\"_\"),weekdaysMin:\"\\u042f\\u043a_\\u0414\\u0443_\\u0421\\u0435_\\u0427\\u043e_\\u041f\\u0430_\\u0416\\u0443_\\u0428\\u0430\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"D MMMM YYYY, dddd HH:mm\"},calendar:{sameDay:\"[\\u0411\\u0443\\u0433\\u0443\\u043d \\u0441\\u043e\\u0430\\u0442] LT [\\u0434\\u0430]\",nextDay:\"[\\u042d\\u0440\\u0442\\u0430\\u0433\\u0430] LT [\\u0434\\u0430]\",nextWeek:\"dddd [\\u043a\\u0443\\u043d\\u0438 \\u0441\\u043e\\u0430\\u0442] LT [\\u0434\\u0430]\",lastDay:\"[\\u041a\\u0435\\u0447\\u0430 \\u0441\\u043e\\u0430\\u0442] LT [\\u0434\\u0430]\",lastWeek:\"[\\u0423\\u0442\\u0433\\u0430\\u043d] dddd [\\u043a\\u0443\\u043d\\u0438 \\u0441\\u043e\\u0430\\u0442] LT [\\u0434\\u0430]\",sameElse:\"L\"},relativeTime:{future:\"\\u042f\\u043a\\u0438\\u043d %s \\u0438\\u0447\\u0438\\u0434\\u0430\",past:\"%s \\u043e\\u043b\\u0434\\u0438\\u043d\",s:\"\\u0444\\u0443\\u0440\\u0441\\u0430\\u0442\",ss:\"%d \\u0444\\u0443\\u0440\\u0441\\u0430\\u0442\",m:\"\\u0431\\u0438\\u0440 \\u0434\\u0430\\u043a\\u0438\\u043a\\u0430\",mm:\"%d \\u0434\\u0430\\u043a\\u0438\\u043a\\u0430\",h:\"\\u0431\\u0438\\u0440 \\u0441\\u043e\\u0430\\u0442\",hh:\"%d \\u0441\\u043e\\u0430\\u0442\",d:\"\\u0431\\u0438\\u0440 \\u043a\\u0443\\u043d\",dd:\"%d \\u043a\\u0443\\u043d\",M:\"\\u0431\\u0438\\u0440 \\u043e\\u0439\",MM:\"%d \\u043e\\u0439\",y:\"\\u0431\\u0438\\u0440 \\u0439\\u0438\\u043b\",yy:\"%d \\u0439\\u0438\\u043b\"},week:{dow:1,doy:7}}),\n//! moment.js locale configuration\nL.defineLocale(\"vi\",{months:\"th\\xe1ng 1_th\\xe1ng 2_th\\xe1ng 3_th\\xe1ng 4_th\\xe1ng 5_th\\xe1ng 6_th\\xe1ng 7_th\\xe1ng 8_th\\xe1ng 9_th\\xe1ng 10_th\\xe1ng 11_th\\xe1ng 12\".split(\"_\"),monthsShort:\"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12\".split(\"_\"),monthsParseExact:!0,weekdays:\"ch\\u1ee7 nh\\u1eadt_th\\u1ee9 hai_th\\u1ee9 ba_th\\u1ee9 t\\u01b0_th\\u1ee9 n\\u0103m_th\\u1ee9 s\\xe1u_th\\u1ee9 b\\u1ea3y\".split(\"_\"),weekdaysShort:\"CN_T2_T3_T4_T5_T6_T7\".split(\"_\"),weekdaysMin:\"CN_T2_T3_T4_T5_T6_T7\".split(\"_\"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,a,t){return e<12?t?\"sa\":\"SA\":t?\"ch\":\"CH\"},longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM [n\\u0103m] YYYY\",LLL:\"D MMMM [n\\u0103m] YYYY HH:mm\",LLLL:\"dddd, D MMMM [n\\u0103m] YYYY HH:mm\",l:\"DD/M/YYYY\",ll:\"D MMM YYYY\",lll:\"D MMM YYYY HH:mm\",llll:\"ddd, D MMM YYYY HH:mm\"},calendar:{sameDay:\"[H\\xf4m nay l\\xfac] LT\",nextDay:\"[Ng\\xe0y mai l\\xfac] LT\",nextWeek:\"dddd [tu\\u1ea7n t\\u1edbi l\\xfac] LT\",lastDay:\"[H\\xf4m qua l\\xfac] LT\",lastWeek:\"dddd [tu\\u1ea7n tr\\u01b0\\u1edbc l\\xfac] LT\",sameElse:\"L\"},relativeTime:{future:\"%s t\\u1edbi\",past:\"%s tr\\u01b0\\u1edbc\",s:\"v\\xe0i gi\\xe2y\",ss:\"%d gi\\xe2y\",m:\"m\\u1ed9t ph\\xfat\",mm:\"%d ph\\xfat\",h:\"m\\u1ed9t gi\\u1edd\",hh:\"%d gi\\u1edd\",d:\"m\\u1ed9t ng\\xe0y\",dd:\"%d ng\\xe0y\",w:\"m\\u1ed9t tu\\u1ea7n\",ww:\"%d tu\\u1ea7n\",M:\"m\\u1ed9t th\\xe1ng\",MM:\"%d th\\xe1ng\",y:\"m\\u1ed9t n\\u0103m\",yy:\"%d n\\u0103m\"},dayOfMonthOrdinalParse:/\\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"x-pseudo\",{months:\"J~\\xe1\\xf1\\xfa\\xe1~r\\xfd_F~\\xe9br\\xfa~\\xe1r\\xfd_~M\\xe1rc~h_\\xc1p~r\\xedl_~M\\xe1\\xfd_~J\\xfa\\xf1\\xe9~_J\\xfal~\\xfd_\\xc1\\xfa~g\\xfast~_S\\xe9p~t\\xe9mb~\\xe9r_\\xd3~ct\\xf3b~\\xe9r_\\xd1~\\xf3v\\xe9m~b\\xe9r_~D\\xe9c\\xe9~mb\\xe9r\".split(\"_\"),monthsShort:\"J~\\xe1\\xf1_~F\\xe9b_~M\\xe1r_~\\xc1pr_~M\\xe1\\xfd_~J\\xfa\\xf1_~J\\xfal_~\\xc1\\xfag_~S\\xe9p_~\\xd3ct_~\\xd1\\xf3v_~D\\xe9c\".split(\"_\"),monthsParseExact:!0,weekdays:\"S~\\xfa\\xf1d\\xe1~\\xfd_M\\xf3~\\xf1d\\xe1\\xfd~_T\\xfa\\xe9~sd\\xe1\\xfd~_W\\xe9d~\\xf1\\xe9sd~\\xe1\\xfd_T~h\\xfars~d\\xe1\\xfd_~Fr\\xedd~\\xe1\\xfd_S~\\xe1t\\xfar~d\\xe1\\xfd\".split(\"_\"),weekdaysShort:\"S~\\xfa\\xf1_~M\\xf3\\xf1_~T\\xfa\\xe9_~W\\xe9d_~Th\\xfa_~Fr\\xed_~S\\xe1t\".split(\"_\"),weekdaysMin:\"S~\\xfa_M\\xf3~_T\\xfa_~W\\xe9_T~h_Fr~_S\\xe1\".split(\"_\"),weekdaysParseExact:!0,longDateFormat:{LT:\"HH:mm\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd, D MMMM YYYY HH:mm\"},calendar:{sameDay:\"[T~\\xf3d\\xe1~\\xfd \\xe1t] LT\",nextDay:\"[T~\\xf3m\\xf3~rr\\xf3~w \\xe1t] LT\",nextWeek:\"dddd [\\xe1t] LT\",lastDay:\"[\\xdd~\\xe9st~\\xe9rd\\xe1~\\xfd \\xe1t] LT\",lastWeek:\"[L~\\xe1st] dddd [\\xe1t] LT\",sameElse:\"L\"},relativeTime:{future:\"\\xed~\\xf1 %s\",past:\"%s \\xe1~g\\xf3\",s:\"\\xe1 ~f\\xe9w ~s\\xe9c\\xf3~\\xf1ds\",ss:\"%d s~\\xe9c\\xf3\\xf1~ds\",m:\"\\xe1 ~m\\xed\\xf1~\\xfat\\xe9\",mm:\"%d m~\\xed\\xf1\\xfa~t\\xe9s\",h:\"\\xe1~\\xf1 h\\xf3~\\xfar\",hh:\"%d h~\\xf3\\xfars\",d:\"\\xe1 ~d\\xe1\\xfd\",dd:\"%d d~\\xe1\\xfds\",M:\"\\xe1 ~m\\xf3\\xf1~th\",MM:\"%d m~\\xf3\\xf1t~hs\",y:\"\\xe1 ~\\xfd\\xe9\\xe1r\",yy:\"%d \\xfd~\\xe9\\xe1rs\"},dayOfMonthOrdinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?\"th\":1==a?\"st\":2==a?\"nd\":3==a?\"rd\":\"th\")},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"yo\",{months:\"S\\u1eb9\\u0301r\\u1eb9\\u0301_E\\u0300re\\u0300le\\u0300_\\u1eb8r\\u1eb9\\u0300na\\u0300_I\\u0300gbe\\u0301_E\\u0300bibi_O\\u0300ku\\u0300du_Ag\\u1eb9mo_O\\u0300gu\\u0301n_Owewe_\\u1ecc\\u0300wa\\u0300ra\\u0300_Be\\u0301lu\\u0301_\\u1ecc\\u0300p\\u1eb9\\u0300\\u0300\".split(\"_\"),monthsShort:\"S\\u1eb9\\u0301r_E\\u0300rl_\\u1eb8rn_I\\u0300gb_E\\u0300bi_O\\u0300ku\\u0300_Ag\\u1eb9_O\\u0300gu\\u0301_Owe_\\u1ecc\\u0300wa\\u0300_Be\\u0301l_\\u1ecc\\u0300p\\u1eb9\\u0300\\u0300\".split(\"_\"),weekdays:\"A\\u0300i\\u0300ku\\u0301_Aje\\u0301_I\\u0300s\\u1eb9\\u0301gun_\\u1eccj\\u1ecd\\u0301ru\\u0301_\\u1eccj\\u1ecd\\u0301b\\u1ecd_\\u1eb8ti\\u0300_A\\u0300ba\\u0301m\\u1eb9\\u0301ta\".split(\"_\"),weekdaysShort:\"A\\u0300i\\u0300k_Aje\\u0301_I\\u0300s\\u1eb9\\u0301_\\u1eccjr_\\u1eccjb_\\u1eb8ti\\u0300_A\\u0300ba\\u0301\".split(\"_\"),weekdaysMin:\"A\\u0300i\\u0300_Aj_I\\u0300s_\\u1eccr_\\u1eccb_\\u1eb8t_A\\u0300b\".split(\"_\"),longDateFormat:{LT:\"h:mm A\",LTS:\"h:mm:ss A\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY h:mm A\",LLLL:\"dddd, D MMMM YYYY h:mm A\"},calendar:{sameDay:\"[O\\u0300ni\\u0300 ni] LT\",nextDay:\"[\\u1ecc\\u0300la ni] LT\",nextWeek:\"dddd [\\u1eccs\\u1eb9\\u0300 to\\u0301n'b\\u1ecd] [ni] LT\",lastDay:\"[A\\u0300na ni] LT\",lastWeek:\"dddd [\\u1eccs\\u1eb9\\u0300 to\\u0301l\\u1ecd\\u0301] [ni] LT\",sameElse:\"L\"},relativeTime:{future:\"ni\\u0301 %s\",past:\"%s k\\u1ecdja\\u0301\",s:\"i\\u0300s\\u1eb9ju\\u0301 aaya\\u0301 die\",ss:\"aaya\\u0301 %d\",m:\"i\\u0300s\\u1eb9ju\\u0301 kan\",mm:\"i\\u0300s\\u1eb9ju\\u0301 %d\",h:\"wa\\u0301kati kan\",hh:\"wa\\u0301kati %d\",d:\"\\u1ecdj\\u1ecd\\u0301 kan\",dd:\"\\u1ecdj\\u1ecd\\u0301 %d\",M:\"osu\\u0300 kan\",MM:\"osu\\u0300 %d\",y:\"\\u1ecddu\\u0301n kan\",yy:\"\\u1ecddu\\u0301n %d\"},dayOfMonthOrdinalParse:/\\u1ecdj\\u1ecd\\u0301\\s\\d{1,2}/,ordinal:\"\\u1ecdj\\u1ecd\\u0301 %d\",week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"zh-cn\",{months:\"\\u4e00\\u6708_\\u4e8c\\u6708_\\u4e09\\u6708_\\u56db\\u6708_\\u4e94\\u6708_\\u516d\\u6708_\\u4e03\\u6708_\\u516b\\u6708_\\u4e5d\\u6708_\\u5341\\u6708_\\u5341\\u4e00\\u6708_\\u5341\\u4e8c\\u6708\".split(\"_\"),monthsShort:\"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708\".split(\"_\"),weekdays:\"\\u661f\\u671f\\u65e5_\\u661f\\u671f\\u4e00_\\u661f\\u671f\\u4e8c_\\u661f\\u671f\\u4e09_\\u661f\\u671f\\u56db_\\u661f\\u671f\\u4e94_\\u661f\\u671f\\u516d\".split(\"_\"),weekdaysShort:\"\\u5468\\u65e5_\\u5468\\u4e00_\\u5468\\u4e8c_\\u5468\\u4e09_\\u5468\\u56db_\\u5468\\u4e94_\\u5468\\u516d\".split(\"_\"),weekdaysMin:\"\\u65e5_\\u4e00_\\u4e8c_\\u4e09_\\u56db_\\u4e94_\\u516d\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY/MM/DD\",LL:\"YYYY\\u5e74M\\u6708D\\u65e5\",LLL:\"YYYY\\u5e74M\\u6708D\\u65e5Ah\\u70b9mm\\u5206\",LLLL:\"YYYY\\u5e74M\\u6708D\\u65e5ddddAh\\u70b9mm\\u5206\",l:\"YYYY/M/D\",ll:\"YYYY\\u5e74M\\u6708D\\u65e5\",lll:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",llll:\"YYYY\\u5e74M\\u6708D\\u65e5dddd HH:mm\"},meridiemParse:/\\u51cc\\u6668|\\u65e9\\u4e0a|\\u4e0a\\u5348|\\u4e2d\\u5348|\\u4e0b\\u5348|\\u665a\\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u51cc\\u6668\"===a||\"\\u65e9\\u4e0a\"===a||\"\\u4e0a\\u5348\"===a||\"\\u4e0b\\u5348\"!==a&&\"\\u665a\\u4e0a\"!==a&&11<=e?e:e+12},meridiem:function(e,a,t){e=100*e+a;return e<600?\"\\u51cc\\u6668\":e<900?\"\\u65e9\\u4e0a\":e<1130?\"\\u4e0a\\u5348\":e<1230?\"\\u4e2d\\u5348\":e<1800?\"\\u4e0b\\u5348\":\"\\u665a\\u4e0a\"},calendar:{sameDay:\"[\\u4eca\\u5929]LT\",nextDay:\"[\\u660e\\u5929]LT\",nextWeek:function(e){return e.week()!==this.week()?\"[\\u4e0b]dddLT\":\"[\\u672c]dddLT\"},lastDay:\"[\\u6628\\u5929]LT\",lastWeek:function(e){return this.week()!==e.week()?\"[\\u4e0a]dddLT\":\"[\\u672c]dddLT\"},sameElse:\"L\"},dayOfMonthOrdinalParse:/\\d{1,2}(\\u65e5|\\u6708|\\u5468)/,ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"DDD\":return e+\"\\u65e5\";case\"M\":return e+\"\\u6708\";case\"w\":case\"W\":return e+\"\\u5468\";default:return e}},relativeTime:{future:\"%s\\u540e\",past:\"%s\\u524d\",s:\"\\u51e0\\u79d2\",ss:\"%d \\u79d2\",m:\"1 \\u5206\\u949f\",mm:\"%d \\u5206\\u949f\",h:\"1 \\u5c0f\\u65f6\",hh:\"%d \\u5c0f\\u65f6\",d:\"1 \\u5929\",dd:\"%d \\u5929\",w:\"1 \\u5468\",ww:\"%d \\u5468\",M:\"1 \\u4e2a\\u6708\",MM:\"%d \\u4e2a\\u6708\",y:\"1 \\u5e74\",yy:\"%d \\u5e74\"},week:{dow:1,doy:4}}),\n//! moment.js locale configuration\nL.defineLocale(\"zh-hk\",{months:\"\\u4e00\\u6708_\\u4e8c\\u6708_\\u4e09\\u6708_\\u56db\\u6708_\\u4e94\\u6708_\\u516d\\u6708_\\u4e03\\u6708_\\u516b\\u6708_\\u4e5d\\u6708_\\u5341\\u6708_\\u5341\\u4e00\\u6708_\\u5341\\u4e8c\\u6708\".split(\"_\"),monthsShort:\"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708\".split(\"_\"),weekdays:\"\\u661f\\u671f\\u65e5_\\u661f\\u671f\\u4e00_\\u661f\\u671f\\u4e8c_\\u661f\\u671f\\u4e09_\\u661f\\u671f\\u56db_\\u661f\\u671f\\u4e94_\\u661f\\u671f\\u516d\".split(\"_\"),weekdaysShort:\"\\u9031\\u65e5_\\u9031\\u4e00_\\u9031\\u4e8c_\\u9031\\u4e09_\\u9031\\u56db_\\u9031\\u4e94_\\u9031\\u516d\".split(\"_\"),weekdaysMin:\"\\u65e5_\\u4e00_\\u4e8c_\\u4e09_\\u56db_\\u4e94_\\u516d\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY/MM/DD\",LL:\"YYYY\\u5e74M\\u6708D\\u65e5\",LLL:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",LLLL:\"YYYY\\u5e74M\\u6708D\\u65e5dddd HH:mm\",l:\"YYYY/M/D\",ll:\"YYYY\\u5e74M\\u6708D\\u65e5\",lll:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",llll:\"YYYY\\u5e74M\\u6708D\\u65e5dddd HH:mm\"},meridiemParse:/\\u51cc\\u6668|\\u65e9\\u4e0a|\\u4e0a\\u5348|\\u4e2d\\u5348|\\u4e0b\\u5348|\\u665a\\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u51cc\\u6668\"===a||\"\\u65e9\\u4e0a\"===a||\"\\u4e0a\\u5348\"===a?e:\"\\u4e2d\\u5348\"===a?11<=e?e:e+12:\"\\u4e0b\\u5348\"===a||\"\\u665a\\u4e0a\"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?\"\\u51cc\\u6668\":e<900?\"\\u65e9\\u4e0a\":e<1200?\"\\u4e0a\\u5348\":1200===e?\"\\u4e2d\\u5348\":e<1800?\"\\u4e0b\\u5348\":\"\\u665a\\u4e0a\"},calendar:{sameDay:\"[\\u4eca\\u5929]LT\",nextDay:\"[\\u660e\\u5929]LT\",nextWeek:\"[\\u4e0b]ddddLT\",lastDay:\"[\\u6628\\u5929]LT\",lastWeek:\"[\\u4e0a]ddddLT\",sameElse:\"L\"},dayOfMonthOrdinalParse:/\\d{1,2}(\\u65e5|\\u6708|\\u9031)/,ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"DDD\":return e+\"\\u65e5\";case\"M\":return e+\"\\u6708\";case\"w\":case\"W\":return e+\"\\u9031\";default:return e}},relativeTime:{future:\"%s\\u5f8c\",past:\"%s\\u524d\",s:\"\\u5e7e\\u79d2\",ss:\"%d \\u79d2\",m:\"1 \\u5206\\u9418\",mm:\"%d \\u5206\\u9418\",h:\"1 \\u5c0f\\u6642\",hh:\"%d \\u5c0f\\u6642\",d:\"1 \\u5929\",dd:\"%d \\u5929\",M:\"1 \\u500b\\u6708\",MM:\"%d \\u500b\\u6708\",y:\"1 \\u5e74\",yy:\"%d \\u5e74\"}}),\n//! moment.js locale configuration\nL.defineLocale(\"zh-mo\",{months:\"\\u4e00\\u6708_\\u4e8c\\u6708_\\u4e09\\u6708_\\u56db\\u6708_\\u4e94\\u6708_\\u516d\\u6708_\\u4e03\\u6708_\\u516b\\u6708_\\u4e5d\\u6708_\\u5341\\u6708_\\u5341\\u4e00\\u6708_\\u5341\\u4e8c\\u6708\".split(\"_\"),monthsShort:\"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708\".split(\"_\"),weekdays:\"\\u661f\\u671f\\u65e5_\\u661f\\u671f\\u4e00_\\u661f\\u671f\\u4e8c_\\u661f\\u671f\\u4e09_\\u661f\\u671f\\u56db_\\u661f\\u671f\\u4e94_\\u661f\\u671f\\u516d\".split(\"_\"),weekdaysShort:\"\\u9031\\u65e5_\\u9031\\u4e00_\\u9031\\u4e8c_\\u9031\\u4e09_\\u9031\\u56db_\\u9031\\u4e94_\\u9031\\u516d\".split(\"_\"),weekdaysMin:\"\\u65e5_\\u4e00_\\u4e8c_\\u4e09_\\u56db_\\u4e94_\\u516d\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"YYYY\\u5e74M\\u6708D\\u65e5\",LLL:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",LLLL:\"YYYY\\u5e74M\\u6708D\\u65e5dddd HH:mm\",l:\"D/M/YYYY\",ll:\"YYYY\\u5e74M\\u6708D\\u65e5\",lll:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",llll:\"YYYY\\u5e74M\\u6708D\\u65e5dddd HH:mm\"},meridiemParse:/\\u51cc\\u6668|\\u65e9\\u4e0a|\\u4e0a\\u5348|\\u4e2d\\u5348|\\u4e0b\\u5348|\\u665a\\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u51cc\\u6668\"===a||\"\\u65e9\\u4e0a\"===a||\"\\u4e0a\\u5348\"===a?e:\"\\u4e2d\\u5348\"===a?11<=e?e:e+12:\"\\u4e0b\\u5348\"===a||\"\\u665a\\u4e0a\"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?\"\\u51cc\\u6668\":e<900?\"\\u65e9\\u4e0a\":e<1130?\"\\u4e0a\\u5348\":e<1230?\"\\u4e2d\\u5348\":e<1800?\"\\u4e0b\\u5348\":\"\\u665a\\u4e0a\"},calendar:{sameDay:\"[\\u4eca\\u5929] LT\",nextDay:\"[\\u660e\\u5929] LT\",nextWeek:\"[\\u4e0b]dddd LT\",lastDay:\"[\\u6628\\u5929] LT\",lastWeek:\"[\\u4e0a]dddd LT\",sameElse:\"L\"},dayOfMonthOrdinalParse:/\\d{1,2}(\\u65e5|\\u6708|\\u9031)/,ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"DDD\":return e+\"\\u65e5\";case\"M\":return e+\"\\u6708\";case\"w\":case\"W\":return e+\"\\u9031\";default:return e}},relativeTime:{future:\"%s\\u5167\",past:\"%s\\u524d\",s:\"\\u5e7e\\u79d2\",ss:\"%d \\u79d2\",m:\"1 \\u5206\\u9418\",mm:\"%d \\u5206\\u9418\",h:\"1 \\u5c0f\\u6642\",hh:\"%d \\u5c0f\\u6642\",d:\"1 \\u5929\",dd:\"%d \\u5929\",M:\"1 \\u500b\\u6708\",MM:\"%d \\u500b\\u6708\",y:\"1 \\u5e74\",yy:\"%d \\u5e74\"}}),\n//! moment.js locale configuration\nL.defineLocale(\"zh-tw\",{months:\"\\u4e00\\u6708_\\u4e8c\\u6708_\\u4e09\\u6708_\\u56db\\u6708_\\u4e94\\u6708_\\u516d\\u6708_\\u4e03\\u6708_\\u516b\\u6708_\\u4e5d\\u6708_\\u5341\\u6708_\\u5341\\u4e00\\u6708_\\u5341\\u4e8c\\u6708\".split(\"_\"),monthsShort:\"1\\u6708_2\\u6708_3\\u6708_4\\u6708_5\\u6708_6\\u6708_7\\u6708_8\\u6708_9\\u6708_10\\u6708_11\\u6708_12\\u6708\".split(\"_\"),weekdays:\"\\u661f\\u671f\\u65e5_\\u661f\\u671f\\u4e00_\\u661f\\u671f\\u4e8c_\\u661f\\u671f\\u4e09_\\u661f\\u671f\\u56db_\\u661f\\u671f\\u4e94_\\u661f\\u671f\\u516d\".split(\"_\"),weekdaysShort:\"\\u9031\\u65e5_\\u9031\\u4e00_\\u9031\\u4e8c_\\u9031\\u4e09_\\u9031\\u56db_\\u9031\\u4e94_\\u9031\\u516d\".split(\"_\"),weekdaysMin:\"\\u65e5_\\u4e00_\\u4e8c_\\u4e09_\\u56db_\\u4e94_\\u516d\".split(\"_\"),longDateFormat:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"YYYY/MM/DD\",LL:\"YYYY\\u5e74M\\u6708D\\u65e5\",LLL:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",LLLL:\"YYYY\\u5e74M\\u6708D\\u65e5dddd HH:mm\",l:\"YYYY/M/D\",ll:\"YYYY\\u5e74M\\u6708D\\u65e5\",lll:\"YYYY\\u5e74M\\u6708D\\u65e5 HH:mm\",llll:\"YYYY\\u5e74M\\u6708D\\u65e5dddd HH:mm\"},meridiemParse:/\\u51cc\\u6668|\\u65e9\\u4e0a|\\u4e0a\\u5348|\\u4e2d\\u5348|\\u4e0b\\u5348|\\u665a\\u4e0a/,meridiemHour:function(e,a){return 12===e&&(e=0),\"\\u51cc\\u6668\"===a||\"\\u65e9\\u4e0a\"===a||\"\\u4e0a\\u5348\"===a?e:\"\\u4e2d\\u5348\"===a?11<=e?e:e+12:\"\\u4e0b\\u5348\"===a||\"\\u665a\\u4e0a\"===a?e+12:void 0},meridiem:function(e,a,t){e=100*e+a;return e<600?\"\\u51cc\\u6668\":e<900?\"\\u65e9\\u4e0a\":e<1130?\"\\u4e0a\\u5348\":e<1230?\"\\u4e2d\\u5348\":e<1800?\"\\u4e0b\\u5348\":\"\\u665a\\u4e0a\"},calendar:{sameDay:\"[\\u4eca\\u5929] LT\",nextDay:\"[\\u660e\\u5929] LT\",nextWeek:\"[\\u4e0b]dddd LT\",lastDay:\"[\\u6628\\u5929] LT\",lastWeek:\"[\\u4e0a]dddd LT\",sameElse:\"L\"},dayOfMonthOrdinalParse:/\\d{1,2}(\\u65e5|\\u6708|\\u9031)/,ordinal:function(e,a){switch(a){case\"d\":case\"D\":case\"DDD\":return e+\"\\u65e5\";case\"M\":return e+\"\\u6708\";case\"w\":case\"W\":return e+\"\\u9031\";default:return e}},relativeTime:{future:\"%s\\u5f8c\",past:\"%s\\u524d\",s:\"\\u5e7e\\u79d2\",ss:\"%d \\u79d2\",m:\"1 \\u5206\\u9418\",mm:\"%d \\u5206\\u9418\",h:\"1 \\u5c0f\\u6642\",hh:\"%d \\u5c0f\\u6642\",d:\"1 \\u5929\",dd:\"%d \\u5929\",M:\"1 \\u500b\\u6708\",MM:\"%d \\u500b\\u6708\",y:\"1 \\u5e74\",yy:\"%d \\u5e74\"}}),L.locale(\"en\"),L});\n//# sourceMappingURL=moment-with-locales.min.js.map","//! moment.js\n//! version : 2.31.0\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n    typeof define === 'function' && define.amd ? define(factory) :\n    global.moment = factory()\n}(this, (function () { 'use strict';\n\n    var hookCallback;\n\n    function hooks() {\n        return hookCallback.apply(null, arguments);\n    }\n\n    // This is done to register the method called with moment()\n    // without creating circular dependencies.\n    function setHookCallback(callback) {\n        hookCallback = callback;\n    }\n\n    function isArray(input) {\n        return (\n            input instanceof Array ||\n            Object.prototype.toString.call(input) === '[object Array]'\n        );\n    }\n\n    function isObject(input) {\n        // IE8 will treat undefined and null as object if it wasn't for\n        // input != null\n        return (\n            input != null &&\n            Object.prototype.toString.call(input) === '[object Object]'\n        );\n    }\n\n    function hasOwnProp(a, b) {\n        return Object.prototype.hasOwnProperty.call(a, b);\n    }\n\n    function isObjectEmpty(obj) {\n        if (Object.getOwnPropertyNames) {\n            return Object.getOwnPropertyNames(obj).length === 0;\n        } else {\n            var k;\n            for (k in obj) {\n                if (hasOwnProp(obj, k)) {\n                    return false;\n                }\n            }\n            return true;\n        }\n    }\n\n    function isUndefined(input) {\n        return input === void 0;\n    }\n\n    function isNumber(input) {\n        return (\n            typeof input === 'number' ||\n            Object.prototype.toString.call(input) === '[object Number]'\n        );\n    }\n\n    function isDate(input) {\n        return (\n            input instanceof Date ||\n            Object.prototype.toString.call(input) === '[object Date]'\n        );\n    }\n\n    function map(arr, fn) {\n        var res = [],\n            i,\n            arrLen = arr.length;\n        for (i = 0; i < arrLen; ++i) {\n            res.push(fn(arr[i], i));\n        }\n        return res;\n    }\n\n    function extend(a, b) {\n        for (var i in b) {\n            if (hasOwnProp(b, i)) {\n                a[i] = b[i];\n            }\n        }\n\n        if (hasOwnProp(b, 'toString')) {\n            a.toString = b.toString;\n        }\n\n        if (hasOwnProp(b, 'valueOf')) {\n            a.valueOf = b.valueOf;\n        }\n\n        return a;\n    }\n\n    function createUTC(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, true).utc();\n    }\n\n    function defaultParsingFlags() {\n        // We need to deep clone this object.\n        return {\n            empty: false,\n            unusedTokens: [],\n            unusedInput: [],\n            overflow: -2,\n            charsLeftOver: 0,\n            nullInput: false,\n            invalidEra: null,\n            invalidMonth: null,\n            invalidOffset: null,\n            invalidFormat: false,\n            userInvalidated: false,\n            iso: false,\n            parsedDateParts: [],\n            era: null,\n            meridiem: null,\n            rfc2822: false,\n            weekdayMismatch: false,\n        };\n    }\n\n    function getParsingFlags(m) {\n        if (m._pf == null) {\n            m._pf = defaultParsingFlags();\n        }\n        return m._pf;\n    }\n\n    var some;\n    if (Array.prototype.some) {\n        some = Array.prototype.some;\n    } else {\n        some = function (fun) {\n            var t = Object(this),\n                len = t.length >>> 0,\n                i;\n\n            for (i = 0; i < len; i++) {\n                if (i in t && fun.call(this, t[i], i, t)) {\n                    return true;\n                }\n            }\n\n            return false;\n        };\n    }\n\n    function isValid$2(m) {\n        var flags = null,\n            parsedParts = false,\n            isNowValid = m._d && !isNaN(m._d.getTime());\n        if (isNowValid) {\n            flags = getParsingFlags(m);\n            parsedParts = some.call(flags.parsedDateParts, function (i) {\n                return i != null;\n            });\n            isNowValid =\n                flags.overflow < 0 &&\n                !flags.empty &&\n                !flags.invalidEra &&\n                !flags.invalidMonth &&\n                !flags.invalidOffset &&\n                !flags.invalidWeekday &&\n                !flags.weekdayMismatch &&\n                !flags.nullInput &&\n                !flags.invalidFormat &&\n                !flags.userInvalidated &&\n                (!flags.meridiem || (flags.meridiem && parsedParts));\n            if (m._strict) {\n                isNowValid =\n                    isNowValid &&\n                    flags.charsLeftOver === 0 &&\n                    flags.unusedTokens.length === 0 &&\n                    flags.bigHour === undefined;\n            }\n        }\n        if (Object.isFrozen == null || !Object.isFrozen(m)) {\n            m._isValid = isNowValid;\n        } else {\n            return isNowValid;\n        }\n        return m._isValid;\n    }\n\n    function createInvalid$1(flags) {\n        var m = createUTC(NaN);\n        if (flags != null) {\n            extend(getParsingFlags(m), flags);\n        } else {\n            getParsingFlags(m).userInvalidated = true;\n        }\n\n        return m;\n    }\n\n    // Plugins that add properties should also add the key here (null value),\n    // so we can properly clone ourselves.\n    var momentProperties = (hooks.momentProperties = []),\n        updateInProgress = false;\n\n    function copyConfig(to, from) {\n        var i,\n            prop,\n            val,\n            momentPropertiesLen = momentProperties.length;\n\n        if (!isUndefined(from._isAMomentObject)) {\n            to._isAMomentObject = from._isAMomentObject;\n        }\n        if (!isUndefined(from._i)) {\n            to._i = from._i;\n        }\n        if (!isUndefined(from._f)) {\n            to._f = from._f;\n        }\n        if (!isUndefined(from._l)) {\n            to._l = from._l;\n        }\n        if (!isUndefined(from._strict)) {\n            to._strict = from._strict;\n        }\n        if (!isUndefined(from._tzm)) {\n            to._tzm = from._tzm;\n        }\n        if (!isUndefined(from._isUTC)) {\n            to._isUTC = from._isUTC;\n        }\n        if (!isUndefined(from._offset)) {\n            to._offset = from._offset;\n        }\n        if (!isUndefined(from._pf)) {\n            to._pf = getParsingFlags(from);\n        }\n        if (!isUndefined(from._locale)) {\n            to._locale = from._locale;\n        }\n\n        if (momentPropertiesLen > 0) {\n            for (i = 0; i < momentPropertiesLen; i++) {\n                prop = momentProperties[i];\n                val = from[prop];\n                if (!isUndefined(val)) {\n                    to[prop] = val;\n                }\n            }\n        }\n\n        return to;\n    }\n\n    // Moment prototype object\n    function Moment(config) {\n        copyConfig(this, config);\n        this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n        if (!this.isValid()) {\n            this._d = new Date(NaN);\n        }\n        // Prevent infinite loop in case updateOffset creates new moment\n        // objects.\n        if (updateInProgress === false) {\n            updateInProgress = true;\n            hooks.updateOffset(this);\n            updateInProgress = false;\n        }\n    }\n\n    function isMoment(obj) {\n        return (\n            obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n        );\n    }\n\n    function warn(msg) {\n        if (\n            hooks.suppressDeprecationWarnings === false &&\n            typeof console !== 'undefined' &&\n            console.warn\n        ) {\n            console.warn('Deprecation warning: ' + msg);\n        }\n    }\n\n    function deprecate(msg, fn) {\n        var firstTime = true;\n\n        return extend(function () {\n            if (hooks.deprecationHandler != null) {\n                hooks.deprecationHandler(null, msg);\n            }\n            if (firstTime) {\n                var args = [],\n                    arg,\n                    i,\n                    key,\n                    argLen = arguments.length;\n                for (i = 0; i < argLen; i++) {\n                    arg = '';\n                    if (typeof arguments[i] === 'object') {\n                        arg += '\\n[' + i + '] ';\n                        for (key in arguments[0]) {\n                            if (hasOwnProp(arguments[0], key)) {\n                                arg += key + ': ' + arguments[0][key] + ', ';\n                            }\n                        }\n                        arg = arg.slice(0, -2); // Remove trailing comma and space\n                    } else {\n                        arg = arguments[i];\n                    }\n                    args.push(arg);\n                }\n                warn(\n                    msg +\n                        '\\nArguments: ' +\n                        Array.prototype.slice.call(args).join('') +\n                        '\\n' +\n                        new Error().stack\n                );\n                firstTime = false;\n            }\n            return fn.apply(this, arguments);\n        }, fn);\n    }\n\n    var deprecations = {};\n\n    function deprecateSimple(name, msg) {\n        if (hooks.deprecationHandler != null) {\n            hooks.deprecationHandler(name, msg);\n        }\n        if (!deprecations[name]) {\n            warn(msg + '\\n' + new Error().stack);\n            deprecations[name] = true;\n        }\n    }\n\n    hooks.suppressDeprecationWarnings = false;\n    hooks.deprecationHandler = null;\n\n    function isFunction(input) {\n        return (\n            (typeof Function !== 'undefined' && input instanceof Function) ||\n            Object.prototype.toString.call(input) === '[object Function]'\n        );\n    }\n\n    var aliases = {\n        D: 'date',\n        dates: 'date',\n        date: 'date',\n        d: 'day',\n        days: 'day',\n        day: 'day',\n        e: 'weekday',\n        weekdays: 'weekday',\n        weekday: 'weekday',\n        E: 'isoWeekday',\n        isoweekdays: 'isoWeekday',\n        isoweekday: 'isoWeekday',\n        DDD: 'dayOfYear',\n        dayofyears: 'dayOfYear',\n        dayofyear: 'dayOfYear',\n        h: 'hour',\n        hours: 'hour',\n        hour: 'hour',\n        ms: 'millisecond',\n        milliseconds: 'millisecond',\n        millisecond: 'millisecond',\n        m: 'minute',\n        minutes: 'minute',\n        minute: 'minute',\n        M: 'month',\n        months: 'month',\n        month: 'month',\n        Q: 'quarter',\n        quarters: 'quarter',\n        quarter: 'quarter',\n        s: 'second',\n        seconds: 'second',\n        second: 'second',\n        gg: 'weekYear',\n        weekyears: 'weekYear',\n        weekyear: 'weekYear',\n        GG: 'isoWeekYear',\n        isoweekyears: 'isoWeekYear',\n        isoweekyear: 'isoWeekYear',\n        w: 'week',\n        weeks: 'week',\n        week: 'week',\n        W: 'isoWeek',\n        isoweeks: 'isoWeek',\n        isoweek: 'isoWeek',\n        y: 'year',\n        years: 'year',\n        year: 'year',\n    };\n\n    function normalizeUnits(units) {\n        return typeof units === 'string'\n            ? aliases[units] || aliases[units.toLowerCase()]\n            : undefined;\n    }\n\n    function normalizeObjectUnits(inputObject) {\n        var normalizedInput = {},\n            normalizedProp,\n            prop;\n\n        for (prop in inputObject) {\n            if (hasOwnProp(inputObject, prop)) {\n                normalizedProp = normalizeUnits(prop);\n                if (normalizedProp) {\n                    normalizedInput[normalizedProp] = inputObject[prop];\n                }\n            }\n        }\n\n        return normalizedInput;\n    }\n\n    var priorities = {\n        date: 9,\n        day: 11,\n        weekday: 11,\n        isoWeekday: 11,\n        dayOfYear: 4,\n        hour: 13,\n        millisecond: 16,\n        minute: 14,\n        month: 8,\n        quarter: 7,\n        second: 15,\n        weekYear: 1,\n        isoWeekYear: 1,\n        week: 5,\n        isoWeek: 5,\n        year: 1,\n    };\n\n    function getPrioritizedUnits(unitsObj) {\n        var units = [],\n            u;\n        for (u in unitsObj) {\n            if (hasOwnProp(unitsObj, u)) {\n                units.push({ unit: u, priority: priorities[u] });\n            }\n        }\n        units.sort(function (a, b) {\n            return a.priority - b.priority;\n        });\n        return units;\n    }\n\n    function zeroFill(number, targetLength, forceSign) {\n        var absNumber = '' + Math.abs(number),\n            zerosToFill = targetLength - absNumber.length,\n            sign = number >= 0;\n        return (\n            (sign ? (forceSign ? '+' : '') : '-') +\n            Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n            absNumber\n        );\n    }\n\n    var formattingTokens =\n            /(\\[[^\\[]*\\])|(\\\\e)|(\\\\)?(eHHmm|[Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n        localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n        formatFunctions = {},\n        formatTokenFunctions = {};\n\n    // token:    'M'\n    // padded:   ['MM', 2]\n    // ordinal:  'Mo'\n    // callback: function () { this.month() + 1 }\n    function addFormatToken(token, padded, ordinal, callback) {\n        var func = callback;\n        if (typeof callback === 'string') {\n            func = function () {\n                return this[callback]();\n            };\n        }\n        if (token) {\n            formatTokenFunctions[token] = func;\n        }\n        if (padded) {\n            formatTokenFunctions[padded[0]] = function () {\n                return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n            };\n        }\n        if (ordinal) {\n            formatTokenFunctions[ordinal] = function () {\n                return this.localeData().ordinal(\n                    func.apply(this, arguments),\n                    token\n                );\n            };\n        }\n    }\n\n    function removeFormattingTokens(input) {\n        if (input.match(/\\[[\\s\\S]/)) {\n            return input.replace(/^\\[|\\]$/g, '');\n        }\n        return input.replace(/\\\\/g, '');\n    }\n\n    function makeFormatFunction(format) {\n        var array = format.match(formattingTokens),\n            i,\n            length;\n\n        for (i = 0, length = array.length; i < length; i++) {\n            if (formatTokenFunctions[array[i]]) {\n                array[i] = formatTokenFunctions[array[i]];\n            } else {\n                array[i] = removeFormattingTokens(array[i]);\n            }\n        }\n\n        return function (mom) {\n            var output = '',\n                i;\n            for (i = 0; i < length; i++) {\n                output += isFunction(array[i])\n                    ? array[i].call(mom, format)\n                    : array[i];\n            }\n            return output;\n        };\n    }\n\n    // format date using native date object\n    function formatMoment(m, format) {\n        if (!m.isValid()) {\n            return m.localeData().invalidDate();\n        }\n\n        format = expandFormat(format, m.localeData());\n        var cacheKey = '$' + format;\n        if (!hasOwnProp(formatFunctions, cacheKey)) {\n            formatFunctions[cacheKey] = makeFormatFunction(format);\n        }\n\n        return formatFunctions[cacheKey](m);\n    }\n\n    function expandFormat(format, locale) {\n        var i = 5;\n\n        function replaceLongDateFormatTokens(input) {\n            return locale.longDateFormat(input) || input;\n        }\n\n        localFormattingTokens.lastIndex = 0;\n        while (i >= 0 && localFormattingTokens.test(format)) {\n            format = format.replace(\n                localFormattingTokens,\n                replaceLongDateFormatTokens\n            );\n            localFormattingTokens.lastIndex = 0;\n            i -= 1;\n        }\n\n        return format;\n    }\n\n    var match1 = /\\d/, //       0 - 9\n        match2 = /\\d\\d/, //      00 - 99\n        match3 = /\\d{3}/, //     000 - 999\n        match4 = /\\d{4}/, //    0000 - 9999\n        match6 = /[+-]?\\d{6}/, // -999999 - 999999\n        match1to2 = /\\d\\d?/, //       0 - 99\n        match3to4 = /\\d\\d\\d\\d?/, //     999 - 9999\n        match5to6 = /\\d\\d\\d\\d\\d\\d?/, //   99999 - 999999\n        match1to3 = /\\d{1,3}/, //       0 - 999\n        match1to4 = /\\d{1,4}/, //       0 - 9999\n        match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n        matchUnsigned = /\\d+/, //       0 - inf\n        matchSigned = /[+-]?\\d+/, //    -inf - inf\n        matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n        matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n        matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n        // any word (or two) characters or numbers including two/three word month in arabic.\n        // includes scottish gaelic two word and hyphenated months\n        matchWord =\n            /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n        match1to2NoLeadingZero = /^[1-9]\\d?/, //         1-99\n        match1to2HasZero = /^([1-9]\\d|\\d)/, //           0-99\n        regexes;\n\n    regexes = {};\n\n    function addRegexToken(token, regex, strictRegex) {\n        regexes[token] = isFunction(regex)\n            ? regex\n            : function (isStrict, localeData) {\n                  return isStrict && strictRegex ? strictRegex : regex;\n              };\n    }\n\n    function getParseRegexForToken(token, config) {\n        if (!hasOwnProp(regexes, token)) {\n            return new RegExp(unescapeFormat(token));\n        }\n\n        return regexes[token](config._strict, config._locale);\n    }\n\n    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n    function unescapeFormat(s) {\n        return regexEscape(\n            s\n                .replace('\\\\', '')\n                .replace(\n                    /\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,\n                    function (matched, p1, p2, p3, p4) {\n                        return p1 || p2 || p3 || p4;\n                    }\n                )\n        );\n    }\n\n    function regexEscape(s) {\n        return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n    }\n\n    function absFloor(number) {\n        if (number < 0) {\n            // -0 -> 0\n            return Math.ceil(number) || 0;\n        } else {\n            return Math.floor(number);\n        }\n    }\n\n    function toInt(argumentForCoercion) {\n        var coercedNumber = +argumentForCoercion,\n            value = 0;\n\n        if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n            value = absFloor(coercedNumber);\n        }\n\n        return value;\n    }\n\n    var tokens = {};\n\n    function addParseToken(token, callback) {\n        var i,\n            func = callback,\n            tokenLen;\n        if (typeof token === 'string') {\n            token = [token];\n        }\n        if (isNumber(callback)) {\n            func = function (input, array) {\n                array[callback] = toInt(input);\n            };\n        }\n        tokenLen = token.length;\n        for (i = 0; i < tokenLen; i++) {\n            tokens[token[i]] = func;\n        }\n    }\n\n    function addWeekParseToken(token, callback) {\n        addParseToken(token, function (input, array, config, token) {\n            config._w = config._w || {};\n            callback(input, config._w, config, token);\n        });\n    }\n\n    function addTimeToArrayFromToken(token, input, config) {\n        if (input != null && hasOwnProp(tokens, token)) {\n            tokens[token](input, config._a, config, token);\n        }\n    }\n\n    function isLeapYear(year) {\n        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n    }\n\n    var YEAR = 0,\n        MONTH = 1,\n        DATE = 2,\n        HOUR = 3,\n        MINUTE = 4,\n        SECOND = 5,\n        MILLISECOND = 6,\n        WEEK = 7,\n        WEEKDAY = 8;\n\n    // FORMATTING\n\n    addFormatToken('Y', 0, 0, function () {\n        var y = this.year();\n        return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n    });\n\n    addFormatToken(0, ['YY', 2], 0, function () {\n        return this.year() % 100;\n    });\n\n    addFormatToken(0, ['YYYY', 4], 0, 'year');\n    addFormatToken(0, ['YYYYY', 5], 0, 'year');\n    addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n    // PARSING\n\n    addRegexToken('Y', matchSigned);\n    addRegexToken('YY', match1to2, match2);\n    addRegexToken('YYYY', match1to4, match4);\n    addRegexToken('YYYYY', match1to6, match6);\n    addRegexToken('YYYYYY', match1to6, match6);\n\n    addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n    addParseToken('YYYY', function (input, array) {\n        array[YEAR] =\n            input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n    });\n    addParseToken('YY', function (input, array) {\n        array[YEAR] = hooks.parseTwoDigitYear(input);\n    });\n    addParseToken('Y', function (input, array) {\n        array[YEAR] = parseInt(input, 10);\n    });\n\n    // HELPERS\n\n    function daysInYear(year) {\n        return isLeapYear(year) ? 366 : 365;\n    }\n\n    // HOOKS\n\n    hooks.parseTwoDigitYear = function (input) {\n        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n    };\n\n    // MOMENTS\n\n    var getSetYear = makeGetSet('FullYear', true);\n\n    function getIsLeapYear() {\n        return isLeapYear(this.year());\n    }\n\n    function makeGetSet(unit, keepTime) {\n        return function (value) {\n            if (value != null) {\n                set$1(this, unit, value);\n                hooks.updateOffset(this, keepTime);\n                return this;\n            } else {\n                return get$2(this, unit);\n            }\n        };\n    }\n\n    function get$2(mom, unit) {\n        if (!mom.isValid()) {\n            return NaN;\n        }\n\n        var d = mom._d,\n            isUTC = mom._isUTC;\n\n        switch (unit) {\n            case 'Milliseconds':\n                return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();\n            case 'Seconds':\n                return isUTC ? d.getUTCSeconds() : d.getSeconds();\n            case 'Minutes':\n                return isUTC ? d.getUTCMinutes() : d.getMinutes();\n            case 'Hours':\n                return isUTC ? d.getUTCHours() : d.getHours();\n            case 'Date':\n                return isUTC ? d.getUTCDate() : d.getDate();\n            case 'Day':\n                return isUTC ? d.getUTCDay() : d.getDay();\n            case 'Month':\n                return isUTC ? d.getUTCMonth() : d.getMonth();\n            case 'FullYear':\n                return isUTC ? d.getUTCFullYear() : d.getFullYear();\n            default:\n                return NaN; // Just in case\n        }\n    }\n\n    function set$1(mom, unit, value) {\n        var d, isUTC, year, month, date;\n\n        if (!mom.isValid() || isNaN(value)) {\n            return;\n        }\n\n        d = mom._d;\n        isUTC = mom._isUTC;\n\n        switch (unit) {\n            case 'Milliseconds':\n                return void (isUTC\n                    ? d.setUTCMilliseconds(value)\n                    : d.setMilliseconds(value));\n            case 'Seconds':\n                return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));\n            case 'Minutes':\n                return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));\n            case 'Hours':\n                return void (isUTC ? d.setUTCHours(value) : d.setHours(value));\n            case 'Date':\n                return void (isUTC ? d.setUTCDate(value) : d.setDate(value));\n            // case 'Day': // Not real\n            //    return void (isUTC ? d.setUTCDay(value) : d.setDay(value));\n            // case 'Month': // Not used because we need to pass two variables\n            //     return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));\n            case 'FullYear':\n                break; // See below ...\n            default:\n                return; // Just in case\n        }\n\n        year = value;\n        month = mom.month();\n        date = mom.date();\n        date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;\n        void (isUTC\n            ? d.setUTCFullYear(year, month, date)\n            : d.setFullYear(year, month, date));\n    }\n\n    // MOMENTS\n\n    function stringGet(units) {\n        units = normalizeUnits(units);\n        if (isFunction(this[units])) {\n            return this[units]();\n        }\n        return this;\n    }\n\n    function stringSet(units, value) {\n        if (typeof units === 'object') {\n            units = normalizeObjectUnits(units);\n            var prioritized = getPrioritizedUnits(units),\n                i,\n                prioritizedLen = prioritized.length;\n            for (i = 0; i < prioritizedLen; i++) {\n                this[prioritized[i].unit](units[prioritized[i].unit]);\n            }\n        } else {\n            units = normalizeUnits(units);\n            if (isFunction(this[units])) {\n                return this[units](value);\n            }\n        }\n        return this;\n    }\n\n    function mod$1(n, x) {\n        return ((n % x) + x) % x;\n    }\n\n    var indexOf;\n\n    if (Array.prototype.indexOf) {\n        indexOf = Array.prototype.indexOf;\n    } else {\n        indexOf = function (o) {\n            // I know\n            var i;\n            for (i = 0; i < this.length; ++i) {\n                if (this[i] === o) {\n                    return i;\n                }\n            }\n            return -1;\n        };\n    }\n\n    function daysInMonth(year, month) {\n        if (isNaN(year) || isNaN(month)) {\n            return NaN;\n        }\n        var modMonth = mod$1(month, 12);\n        year += (month - modMonth) / 12;\n        return modMonth === 1\n            ? isLeapYear(year)\n                ? 29\n                : 28\n            : 31 - ((modMonth % 7) % 2);\n    }\n\n    // FORMATTING\n\n    addFormatToken('M', ['MM', 2], 'Mo', function () {\n        return this.month() + 1;\n    });\n\n    addFormatToken('MMM', 0, 0, function (format) {\n        return this.localeData().monthsShort(this, format);\n    });\n\n    addFormatToken('MMMM', 0, 0, function (format) {\n        return this.localeData().months(this, format);\n    });\n\n    // PARSING\n\n    addRegexToken('M', match1to2, match1to2NoLeadingZero);\n    addRegexToken('MM', match1to2, match2);\n    addRegexToken('MMM', function (isStrict, locale) {\n        return locale.monthsShortRegex(isStrict);\n    });\n    addRegexToken('MMMM', function (isStrict, locale) {\n        return locale.monthsRegex(isStrict);\n    });\n\n    addParseToken(['M', 'MM'], function (input, array) {\n        array[MONTH] = toInt(input) - 1;\n    });\n\n    addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n        var month = config._locale.monthsParse(input, token, config._strict);\n        // if we didn't find a month name, mark the date as invalid.\n        if (month != null) {\n            array[MONTH] = month;\n        } else {\n            getParsingFlags(config).invalidMonth = input;\n        }\n    });\n\n    // LOCALES\n\n    var defaultLocaleMonths =\n            'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n                '_'\n            ),\n        defaultLocaleMonthsShort =\n            'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n        defaultMonthsShortRegex = matchWord,\n        defaultMonthsRegex = matchWord,\n        monthsParseProperties = [\n            'monthsParse',\n            'longMonthsParse',\n            'shortMonthsParse',\n            'monthsRegex',\n            'monthsShortRegex',\n            'monthsStrictRegex',\n            'monthsShortStrictRegex',\n        ];\n\n    function clearMonthsParseCache(locale, config) {\n        var i, prop;\n        for (i = 0; i < monthsParseProperties.length; i++) {\n            prop = monthsParseProperties[i];\n            if (!hasOwnProp(config, prop)) {\n                delete locale['_' + prop];\n            }\n        }\n    }\n\n    function localeMonths(m, format) {\n        if (!m) {\n            return isArray(this._months)\n                ? this._months\n                : this._months['standalone'];\n        }\n        return isArray(this._months)\n            ? this._months[m.month()]\n            : this._months[\n                  (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n                      ? 'format'\n                      : 'standalone'\n              ][m.month()];\n    }\n\n    function localeMonthsShort(m, format) {\n        if (!m) {\n            return isArray(this._monthsShort)\n                ? this._monthsShort\n                : this._monthsShort['standalone'];\n        }\n        return isArray(this._monthsShort)\n            ? this._monthsShort[m.month()]\n            : this._monthsShort[\n                  MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n              ][m.month()];\n    }\n\n    function handleStrictParse$1(monthName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = monthName.toLocaleLowerCase();\n        if (!this._monthsParse) {\n            // this is not used\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n            for (i = 0; i < 12; ++i) {\n                mom = createUTC([2000, i]);\n                this._shortMonthsParse[i] = this.monthsShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeMonthsParse(monthName, format, strict) {\n        var i, mom, regex;\n\n        if (this._monthsParseExact) {\n            return handleStrictParse$1.call(this, monthName, format, strict);\n        }\n\n        if (!this._monthsParse) {\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n        }\n\n        // TODO: add sorting\n        // Sorting makes sure if one month (or abbr) is a prefix of another\n        // see sorting in computeMonthsParse\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            if (strict && !this._longMonthsParse[i]) {\n                this._longMonthsParse[i] = new RegExp(\n                    '^' + this.months(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n                this._shortMonthsParse[i] = new RegExp(\n                    '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n            }\n            if (!strict && !this._monthsParse[i]) {\n                regex =\n                    '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n                this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'MMMM' &&\n                this._longMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'MMM' &&\n                this._shortMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (!strict && this._monthsParse[i].test(monthName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function setMonth(mom, value) {\n        if (!mom.isValid()) {\n            // No op\n            return mom;\n        }\n\n        if (typeof value === 'string') {\n            if (/^\\d+$/.test(value)) {\n                value = toInt(value);\n            } else {\n                value = mom.localeData().monthsParse(value);\n                // TODO: Another silent failure?\n                if (!isNumber(value)) {\n                    return mom;\n                }\n            }\n        }\n\n        var month = value,\n            date = mom.date();\n\n        date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));\n        void (mom._isUTC\n            ? mom._d.setUTCMonth(month, date)\n            : mom._d.setMonth(month, date));\n        return mom;\n    }\n\n    function getSetMonth(value) {\n        if (value != null) {\n            setMonth(this, value);\n            hooks.updateOffset(this, true);\n            return this;\n        } else {\n            return get$2(this, 'Month');\n        }\n    }\n\n    function getDaysInMonth() {\n        return daysInMonth(this.year(), this.month());\n    }\n\n    function monthsShortRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsShortStrictRegex;\n            } else {\n                return this._monthsShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsShortRegex')) {\n                this._monthsShortRegex = defaultMonthsShortRegex;\n            }\n            return this._monthsShortStrictRegex && isStrict\n                ? this._monthsShortStrictRegex\n                : this._monthsShortRegex;\n        }\n    }\n\n    function monthsRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsStrictRegex;\n            } else {\n                return this._monthsRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                this._monthsRegex = defaultMonthsRegex;\n            }\n            return this._monthsStrictRegex && isStrict\n                ? this._monthsStrictRegex\n                : this._monthsRegex;\n        }\n    }\n\n    function computeMonthsParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom,\n            shortP,\n            longP;\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            shortP = regexEscape(this.monthsShort(mom, ''));\n            longP = regexEscape(this.months(mom, ''));\n            shortPieces.push(shortP);\n            longPieces.push(longP);\n            mixedPieces.push(longP);\n            mixedPieces.push(shortP);\n        }\n        // Sorting makes sure if one month (or abbr) is a prefix of another it\n        // will match the longer piece.\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n\n        this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._monthsShortRegex = this._monthsRegex;\n        this._monthsStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._monthsShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken('d', 0, 'do', 'day');\n\n    addFormatToken('dd', 0, 0, function (format) {\n        return this.localeData().weekdaysMin(this, format);\n    });\n\n    addFormatToken('ddd', 0, 0, function (format) {\n        return this.localeData().weekdaysShort(this, format);\n    });\n\n    addFormatToken('dddd', 0, 0, function (format) {\n        return this.localeData().weekdays(this, format);\n    });\n\n    addFormatToken('e', 0, 0, 'weekday');\n    addFormatToken('E', 0, 0, 'isoWeekday');\n    addFormatToken('eHHmm', 0, 0, function () {\n        return (\n            '' +\n            this.weekday() +\n            zeroFill(this.hours(), 2) +\n            zeroFill(this.minutes(), 2)\n        );\n    });\n\n    // PARSING\n\n    addRegexToken('d', match1to2);\n    addRegexToken('e', match1to2);\n    addRegexToken('E', match1to2);\n    addRegexToken('eHHmm', match5to6);\n    addRegexToken('dd', function (isStrict, locale) {\n        return locale.weekdaysMinRegex(isStrict);\n    });\n    addRegexToken('ddd', function (isStrict, locale) {\n        return locale.weekdaysShortRegex(isStrict);\n    });\n    addRegexToken('dddd', function (isStrict, locale) {\n        return locale.weekdaysRegex(isStrict);\n    });\n\n    addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n        var weekday = config._locale.weekdaysParse(input, token, config._strict);\n        // if we didn't get a weekday name, mark the date as invalid\n        if (weekday != null) {\n            week.d = weekday;\n        } else {\n            getParsingFlags(config).invalidWeekday = input;\n        }\n    });\n\n    addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n        week[token] = toInt(input);\n    });\n\n    addWeekParseToken('eHHmm', function (input, week, config) {\n        var weekdayEnd = input.length - 4;\n\n        week.e = toInt(input.substr(0, weekdayEnd));\n        config._a[HOUR] = toInt(input.substr(weekdayEnd, 2));\n        config._a[MINUTE] = toInt(input.substr(weekdayEnd + 2));\n    });\n\n    // HELPERS\n\n    function parseWeekday(input, locale) {\n        if (typeof input !== 'string') {\n            return input;\n        }\n\n        if (!isNaN(input)) {\n            return parseInt(input, 10);\n        }\n\n        input = locale.weekdaysParse(input);\n        if (typeof input === 'number') {\n            return input;\n        }\n\n        return null;\n    }\n\n    function parseIsoWeekday(input, locale) {\n        if (typeof input === 'string') {\n            return locale.weekdaysParse(input) % 7 || 7;\n        }\n        return isNaN(input) ? null : input;\n    }\n\n    // LOCALES\n    function shiftWeekdays(ws, n) {\n        return ws.slice(n, 7).concat(ws.slice(0, n));\n    }\n\n    var defaultLocaleWeekdays =\n            'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n        defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        defaultWeekdaysRegex = matchWord,\n        defaultWeekdaysShortRegex = matchWord,\n        defaultWeekdaysMinRegex = matchWord,\n        weekdaysParseProperties = [\n            'weekdaysParse',\n            'fullWeekdaysParse',\n            'shortWeekdaysParse',\n            'minWeekdaysParse',\n            'weekdaysRegex',\n            'weekdaysShortRegex',\n            'weekdaysMinRegex',\n            'weekdaysStrictRegex',\n            'weekdaysShortStrictRegex',\n            'weekdaysMinStrictRegex',\n        ];\n\n    function clearWeekdaysParseCache(locale, config) {\n        var i, prop;\n        for (i = 0; i < weekdaysParseProperties.length; i++) {\n            prop = weekdaysParseProperties[i];\n            if (!hasOwnProp(config, prop)) {\n                delete locale['_' + prop];\n            }\n        }\n    }\n\n    function localeWeekdays(m, format) {\n        var weekdays = isArray(this._weekdays)\n            ? this._weekdays\n            : this._weekdays[\n                  m && m !== true && this._weekdays.isFormat.test(format)\n                      ? 'format'\n                      : 'standalone'\n              ];\n        return m === true\n            ? shiftWeekdays(weekdays, this._week.dow)\n            : m\n              ? weekdays[m.day()]\n              : weekdays;\n    }\n\n    function localeWeekdaysShort(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n            : m\n              ? this._weekdaysShort[m.day()]\n              : this._weekdaysShort;\n    }\n\n    function localeWeekdaysMin(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n            : m\n              ? this._weekdaysMin[m.day()]\n              : this._weekdaysMin;\n    }\n\n    function handleStrictParse(weekdayName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = weekdayName.toLocaleLowerCase();\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._minWeekdaysParse = [];\n\n            for (i = 0; i < 7; ++i) {\n                mom = createUTC([2000, 1]).day(i);\n                this._minWeekdaysParse[i] = this.weekdaysMin(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._shortWeekdaysParse[i] = this.weekdaysShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeWeekdaysParse(weekdayName, format, strict) {\n        var i, mom, regex;\n\n        if (this._weekdaysParseExact) {\n            return handleStrictParse.call(this, weekdayName, format, strict);\n        }\n\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._minWeekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._fullWeekdaysParse = [];\n        }\n\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n\n            mom = createUTC([2000, 1]).day(i);\n            if (strict && !this._fullWeekdaysParse[i]) {\n                this._fullWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._shortWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._minWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n            }\n            if (!this._weekdaysParse[i]) {\n                regex =\n                    '^' +\n                    this.weekdays(mom, '') +\n                    '|^' +\n                    this.weekdaysShort(mom, '') +\n                    '|^' +\n                    this.weekdaysMin(mom, '');\n                this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'dddd' &&\n                this._fullWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'ddd' &&\n                this._shortWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'dd' &&\n                this._minWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function getSetDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n\n        var day = get$2(this, 'Day');\n        if (input != null) {\n            input = parseWeekday(input, this.localeData());\n            return this.add(input - day, 'd');\n        } else {\n            return day;\n        }\n    }\n\n    function getSetLocaleDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n        return input == null ? weekday : this.add(input - weekday, 'd');\n    }\n\n    function getSetISODayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n\n        // behaves the same as moment#day except\n        // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n        // as a setter, sunday should belong to the previous week.\n\n        if (input != null) {\n            var weekday = parseIsoWeekday(input, this.localeData());\n            return this.day(this.day() % 7 ? weekday : weekday - 7);\n        } else {\n            return this.day() || 7;\n        }\n    }\n\n    function weekdaysRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysStrictRegex;\n            } else {\n                return this._weekdaysRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                this._weekdaysRegex = defaultWeekdaysRegex;\n            }\n            return this._weekdaysStrictRegex && isStrict\n                ? this._weekdaysStrictRegex\n                : this._weekdaysRegex;\n        }\n    }\n\n    function weekdaysShortRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysShortStrictRegex;\n            } else {\n                return this._weekdaysShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n                this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n            }\n            return this._weekdaysShortStrictRegex && isStrict\n                ? this._weekdaysShortStrictRegex\n                : this._weekdaysShortRegex;\n        }\n    }\n\n    function weekdaysMinRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysMinStrictRegex;\n            } else {\n                return this._weekdaysMinRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n                this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n            }\n            return this._weekdaysMinStrictRegex && isStrict\n                ? this._weekdaysMinStrictRegex\n                : this._weekdaysMinRegex;\n        }\n    }\n\n    function computeWeekdaysParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var minPieces = [],\n            shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom,\n            minp,\n            shortp,\n            longp;\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, 1]).day(i);\n            minp = regexEscape(this.weekdaysMin(mom, ''));\n            shortp = regexEscape(this.weekdaysShort(mom, ''));\n            longp = regexEscape(this.weekdays(mom, ''));\n            minPieces.push(minp);\n            shortPieces.push(shortp);\n            longPieces.push(longp);\n            mixedPieces.push(minp);\n            mixedPieces.push(shortp);\n            mixedPieces.push(longp);\n        }\n        // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n        // will match the longer piece.\n        minPieces.sort(cmpLenRev);\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n\n        this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._weekdaysShortRegex = this._weekdaysRegex;\n        this._weekdaysMinRegex = this._weekdaysRegex;\n\n        this._weekdaysStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysMinStrictRegex = new RegExp(\n            '^(' + minPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    function set(config) {\n        var prop, i;\n        clearMonthsParseCache(this, config);\n        clearWeekdaysParseCache(this, config);\n        for (i in config) {\n            if (hasOwnProp(config, i)) {\n                prop = config[i];\n                if (isFunction(prop)) {\n                    this[i] = prop;\n                } else {\n                    this['_' + i] = prop;\n                }\n            }\n        }\n        this._config = config;\n        // Lenient ordinal parsing accepts just a number in addition to\n        // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        this._dayOfMonthOrdinalParseLenient = new RegExp(\n            (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n                '|' +\n                /\\d{1,2}/.source\n        );\n    }\n\n    function mergeConfigs(parentConfig, childConfig) {\n        var res = extend({}, parentConfig),\n            prop;\n        for (prop in childConfig) {\n            if (hasOwnProp(childConfig, prop)) {\n                if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n                    res[prop] = {};\n                    extend(res[prop], parentConfig[prop]);\n                    extend(res[prop], childConfig[prop]);\n                } else if (childConfig[prop] != null) {\n                    res[prop] = childConfig[prop];\n                } else {\n                    delete res[prop];\n                }\n            }\n        }\n        for (prop in parentConfig) {\n            if (\n                hasOwnProp(parentConfig, prop) &&\n                !hasOwnProp(childConfig, prop) &&\n                isObject(parentConfig[prop])\n            ) {\n                // make sure changes to properties don't modify parent config\n                res[prop] = extend({}, res[prop]);\n            }\n        }\n        return res;\n    }\n\n    function Locale(config) {\n        if (config != null) {\n            this.set(config);\n        }\n    }\n\n    var keys;\n\n    if (Object.keys) {\n        keys = Object.keys;\n    } else {\n        keys = function (obj) {\n            var i,\n                res = [];\n            for (i in obj) {\n                if (hasOwnProp(obj, i)) {\n                    res.push(i);\n                }\n            }\n            return res;\n        };\n    }\n\n    var defaultCalendar = {\n        sameDay: '[Today at] LT',\n        nextDay: '[Tomorrow at] LT',\n        nextWeek: 'dddd [at] LT',\n        lastDay: '[Yesterday at] LT',\n        lastWeek: '[Last] dddd [at] LT',\n        sameElse: 'L',\n    };\n\n    function calendar$1(key, mom, now) {\n        var output = this._calendar[key] || this._calendar['sameElse'];\n        return isFunction(output) ? output.call(mom, now) : output;\n    }\n\n    var defaultLongDateFormat = {\n        LTS: 'h:mm:ss A',\n        LT: 'h:mm A',\n        L: 'MM/DD/YYYY',\n        LL: 'MMMM D, YYYY',\n        LLL: 'MMMM D, YYYY h:mm A',\n        LLLL: 'dddd, MMMM D, YYYY h:mm A',\n    };\n\n    function longDateFormat(key) {\n        var format = this._longDateFormat[key],\n            formatUpper = this._longDateFormat[key.toUpperCase()],\n            formatCache = this._longDateFormatCache;\n\n        if (format || !formatUpper) {\n            return format;\n        }\n\n        if (\n            formatCache &&\n            formatCache[key] &&\n            formatCache[key].formatUpper === formatUpper\n        ) {\n            return formatCache[key].format;\n        }\n\n        format = formatUpper\n            .match(formattingTokens)\n            .map(function (tok) {\n                if (\n                    tok === 'MMMM' ||\n                    tok === 'MM' ||\n                    tok === 'DD' ||\n                    tok === 'dddd'\n                ) {\n                    return tok.slice(1);\n                }\n                return tok;\n            })\n            .join('');\n\n        if (!formatCache) {\n            formatCache = this._longDateFormatCache = {};\n        }\n        formatCache[key] = {\n            formatUpper: formatUpper,\n            format: format,\n        };\n        return format;\n    }\n\n    var defaultInvalidDate = 'Invalid date';\n\n    function invalidDate() {\n        return this._invalidDate;\n    }\n\n    var defaultOrdinal = '%d',\n        defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n    function ordinal(number) {\n        return this._ordinal.replace('%d', number);\n    }\n\n    var defaultRelativeTime = {\n        future: 'in %s',\n        past: '%s ago',\n        s: 'a few seconds',\n        ss: '%d seconds',\n        m: 'a minute',\n        mm: '%d minutes',\n        h: 'an hour',\n        hh: '%d hours',\n        d: 'a day',\n        dd: '%d days',\n        w: 'a week',\n        ww: '%d weeks',\n        M: 'a month',\n        MM: '%d months',\n        y: 'a year',\n        yy: '%d years',\n    };\n\n    function relativeTimeWithoutPostformat(\n        number,\n        withoutSuffix,\n        string,\n        isFuture\n    ) {\n        var output = this._relativeTime[string];\n        return isFunction(output)\n            ? output(number, withoutSuffix, string, isFuture)\n            : output.replace(/%d/i, number);\n    }\n\n    function relativeTime$1(number, withoutSuffix, string, isFuture) {\n        return this.postformat(\n            relativeTimeWithoutPostformat.call(\n                this,\n                number,\n                withoutSuffix,\n                string,\n                isFuture\n            )\n        );\n    }\n\n    function pastFutureWithoutPostformat(diff, output) {\n        var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n        return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n    }\n\n    function pastFuture(diff, output) {\n        return this.postformat(\n            pastFutureWithoutPostformat.call(this, diff, output)\n        );\n    }\n\n    function createDate(y, m, d, h, M, s, ms) {\n        // can't just apply() to create a date:\n        // https://stackoverflow.com/q/181348\n        var date;\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            date = new Date(y + 400, m, d, h, M, s, ms);\n            if (isFinite(date.getFullYear())) {\n                date.setFullYear(y);\n            }\n        } else {\n            date = new Date(y, m, d, h, M, s, ms);\n        }\n\n        return date;\n    }\n\n    function createUTCDate(y) {\n        var date, args;\n        // the Date.UTC function remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            args = Array.prototype.slice.call(arguments);\n            // preserve leap years using a full 400 year cycle, then reset\n            args[0] = y + 400;\n            date = new Date(Date.UTC.apply(null, args));\n            if (isFinite(date.getUTCFullYear())) {\n                date.setUTCFullYear(y);\n            }\n        } else {\n            date = new Date(Date.UTC.apply(null, arguments));\n        }\n\n        return date;\n    }\n\n    // start-of-first-week - start-of-year\n    function firstWeekOffset(year, dow, doy) {\n        var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n            fwd = 7 + dow - doy,\n            // first-week day local weekday -- which local weekday is fwd\n            fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n        return -fwdlw + fwd - 1;\n    }\n\n    // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n    function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n        var localWeekday = (7 + weekday - dow) % 7,\n            weekOffset = firstWeekOffset(year, dow, doy),\n            dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n            resYear,\n            resDayOfYear;\n\n        if (dayOfYear <= 0) {\n            resYear = year - 1;\n            resDayOfYear = daysInYear(resYear) + dayOfYear;\n        } else if (dayOfYear > daysInYear(year)) {\n            resYear = year + 1;\n            resDayOfYear = dayOfYear - daysInYear(year);\n        } else {\n            resYear = year;\n            resDayOfYear = dayOfYear;\n        }\n\n        return {\n            year: resYear,\n            dayOfYear: resDayOfYear,\n        };\n    }\n\n    function weekOfYearFromDayOfYear(year, dayOfYear, dow, doy) {\n        var weekOffset = firstWeekOffset(year, dow, doy),\n            week = Math.floor((dayOfYear - weekOffset - 1) / 7) + 1,\n            resWeek,\n            resYear;\n\n        if (week < 1) {\n            resYear = year - 1;\n            resWeek = week + weeksInYear(resYear, dow, doy);\n        } else if (week > weeksInYear(year, dow, doy)) {\n            resWeek = week - weeksInYear(year, dow, doy);\n            resYear = year + 1;\n        } else {\n            resYear = year;\n            resWeek = week;\n        }\n\n        return {\n            week: resWeek,\n            year: resYear,\n        };\n    }\n\n    function weekOfYear(mom, dow, doy) {\n        return weekOfYearFromDayOfYear(mom.year(), mom.dayOfYear(), dow, doy);\n    }\n\n    function weekOfYearFromDate(year, month, date, dow, doy) {\n        var dayOfYear =\n            Math.round(\n                (createUTCDate(year, month, date) - createUTCDate(year, 0, 1)) /\n                    864e5\n            ) + 1;\n\n        return weekOfYearFromDayOfYear(year, dayOfYear, dow, doy);\n    }\n\n    function weeksInYear(year, dow, doy) {\n        var weekOffset = firstWeekOffset(year, dow, doy),\n            weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n        return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n    }\n\n    // FORMATTING\n\n    addFormatToken('w', ['ww', 2], 'wo', 'week');\n    addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n    // PARSING\n\n    addRegexToken('w', match1to2, match1to2NoLeadingZero);\n    addRegexToken('ww', match1to2, match2);\n    addRegexToken('W', match1to2, match1to2NoLeadingZero);\n    addRegexToken('WW', match1to2, match2);\n\n    addWeekParseToken(\n        ['w', 'ww', 'W', 'WW'],\n        function (input, week, config, token) {\n            week[token.substr(0, 1)] = toInt(input);\n        }\n    );\n\n    // HELPERS\n\n    // LOCALES\n\n    function localeWeek(mom) {\n        return weekOfYear(mom, this._week.dow, this._week.doy).week;\n    }\n\n    var defaultLocaleWeek = {\n        dow: 0, // Sunday is the first day of the week.\n        doy: 6, // The week that contains Jan 6th is the first week of the year.\n    };\n\n    function localeFirstDayOfWeek() {\n        return this._week.dow;\n    }\n\n    function localeFirstDayOfYear() {\n        return this._week.doy;\n    }\n\n    // MOMENTS\n\n    function getSetWeek(input) {\n        var week = this.localeData().week(this);\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    function getSetISOWeek(input) {\n        var week = weekOfYear(this, 1, 4).week;\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    // FORMATTING\n\n    function hFormat() {\n        return this.hours() % 12 || 12;\n    }\n\n    function kFormat() {\n        return this.hours() || 24;\n    }\n\n    addFormatToken('H', ['HH', 2], 0, 'hour');\n    addFormatToken('h', ['hh', 2], 0, hFormat);\n    addFormatToken('k', ['kk', 2], 0, kFormat);\n\n    addFormatToken('hmm', 0, 0, function () {\n        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('hmmss', 0, 0, function () {\n        return (\n            '' +\n            hFormat.apply(this) +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    addFormatToken('Hmm', 0, 0, function () {\n        return '' + this.hours() + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('Hmmss', 0, 0, function () {\n        return (\n            '' +\n            this.hours() +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    function meridiem(token, lowercase) {\n        addFormatToken(token, 0, 0, function () {\n            return this.localeData().meridiem(\n                this.hours(),\n                this.minutes(),\n                lowercase\n            );\n        });\n    }\n\n    meridiem('a', true);\n    meridiem('A', false);\n\n    // PARSING\n\n    function matchMeridiem(isStrict, locale) {\n        return locale._meridiemParse;\n    }\n\n    addRegexToken('a', matchMeridiem);\n    addRegexToken('A', matchMeridiem);\n    addRegexToken('H', match1to2, match1to2HasZero);\n    addRegexToken('h', match1to2, match1to2NoLeadingZero);\n    addRegexToken('k', match1to2, match1to2NoLeadingZero);\n    addRegexToken('HH', match1to2, match2);\n    addRegexToken('hh', match1to2, match2);\n    addRegexToken('kk', match1to2, match2);\n\n    addRegexToken('hmm', match3to4);\n    addRegexToken('hmmss', match5to6);\n    addRegexToken('Hmm', match3to4);\n    addRegexToken('Hmmss', match5to6);\n\n    addParseToken(['H', 'HH'], HOUR);\n    addParseToken(['k', 'kk'], function (input, array, config) {\n        var kInput = toInt(input);\n        array[HOUR] = kInput === 24 ? 0 : kInput;\n    });\n    addParseToken(['a', 'A'], function (input, array, config) {\n        config._isPm = config._locale.isPM(input);\n        config._meridiem = input;\n    });\n    addParseToken(['h', 'hh'], function (input, array, config) {\n        array[HOUR] = toInt(input);\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('Hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n    });\n    addParseToken('Hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n    });\n\n    // LOCALES\n\n    function localeIsPM(input) {\n        // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n        // Using charAt should be more compatible.\n        return (input + '').toLowerCase().charAt(0) === 'p';\n    }\n\n    var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n        // Setting the hour should keep the time, because the user explicitly\n        // specified which hour they want. So trying to maintain the same hour (in\n        // a new timezone) makes sense. Adding/subtracting hours does not follow\n        // this rule.\n        getSetHour = makeGetSet('Hours', true);\n\n    function localeMeridiem(hours, minutes, isLower) {\n        if (hours > 11) {\n            return isLower ? 'pm' : 'PM';\n        } else {\n            return isLower ? 'am' : 'AM';\n        }\n    }\n\n    var baseConfig = {\n        calendar: defaultCalendar,\n        longDateFormat: defaultLongDateFormat,\n        invalidDate: defaultInvalidDate,\n        ordinal: defaultOrdinal,\n        dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n        relativeTime: defaultRelativeTime,\n\n        months: defaultLocaleMonths,\n        monthsShort: defaultLocaleMonthsShort,\n\n        week: defaultLocaleWeek,\n\n        weekdays: defaultLocaleWeekdays,\n        weekdaysMin: defaultLocaleWeekdaysMin,\n        weekdaysShort: defaultLocaleWeekdaysShort,\n\n        meridiemParse: defaultLocaleMeridiemParse,\n    };\n\n    // internal storage for locale config files\n    var locales = {},\n        localeFamilies = {},\n        globalLocale;\n\n    function commonPrefix(arr1, arr2) {\n        var i,\n            minl = Math.min(arr1.length, arr2.length);\n        for (i = 0; i < minl; i += 1) {\n            if (arr1[i] !== arr2[i]) {\n                return i;\n            }\n        }\n        return minl;\n    }\n\n    function normalizeLocale(key) {\n        return key ? key.toLowerCase().replace('_', '-') : key;\n    }\n\n    // pick the locale from the array\n    // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n    // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n    function chooseLocale(names) {\n        var i = 0,\n            j,\n            next,\n            locale,\n            split;\n\n        while (i < names.length) {\n            split = normalizeLocale(names[i]).split('-');\n            j = split.length;\n            next = normalizeLocale(names[i + 1]);\n            next = next ? next.split('-') : null;\n            while (j > 0) {\n                locale = loadLocale(split.slice(0, j).join('-'));\n                if (locale) {\n                    return locale;\n                }\n                if (\n                    next &&\n                    next.length >= j &&\n                    commonPrefix(split, next) >= j - 1\n                ) {\n                    //the next array item is better than a shallower substring of this one\n                    break;\n                }\n                j--;\n            }\n            i++;\n        }\n        return globalLocale;\n    }\n\n    function isLocaleNameSane(name) {\n        // Only canonical locale module names are safe to append to the require path.\n        return typeof name === 'string' && /^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(name);\n    }\n\n    function loadLocale(name) {\n        var oldLocale = null,\n            aliasedRequire,\n            normalizedName;\n\n        // Preserve exact custom locale names before trying the canonical built-in name.\n        // Use hasOwnProp rather than a plain lookup so that names like \"__proto__\",\n        // \"constructor\", or \"prototype\" can't resolve to an inherited Object.prototype\n        // property instead of a real (or missing) locale entry.\n        if (hasOwnProp(locales, name)) {\n            return locales[name];\n        }\n\n        normalizedName = normalizeLocale(name);\n        if (hasOwnProp(locales, normalizedName)) {\n            return locales[normalizedName];\n        }\n\n        // TODO: Find a better way to register and load all the locales in Node\n        if (\n            typeof module !== 'undefined' &&\n            module &&\n            module.exports &&\n            isLocaleNameSane(normalizedName)\n        ) {\n            try {\n                oldLocale = globalLocale._abbr;\n                aliasedRequire = require;\n                aliasedRequire('./locale/' + normalizedName);\n                getSetGlobalLocale(oldLocale);\n            } catch (e) {\n                // mark as not found to avoid repeating expensive file require call causing high CPU\n                // when trying to find en-US, en_US, en-us for every format call\n                locales[normalizedName] = null; // null means not found\n            }\n        }\n        if (hasOwnProp(locales, normalizedName)) {\n            return locales[normalizedName];\n        }\n    }\n\n    // This function will load locale and then set the global locale.  If\n    // no arguments are passed in, it will simply return the current global\n    // locale key.\n    function getSetGlobalLocale(key, values) {\n        var data;\n        if (key) {\n            if (isUndefined(values)) {\n                data = getLocale(key);\n            } else {\n                data = defineLocale(key, values);\n            }\n\n            if (data) {\n                // moment.duration._locale = moment._locale = data;\n                globalLocale = data;\n            } else {\n                if (typeof console !== 'undefined' && console.warn) {\n                    //warn user if arguments are passed but the locale could not be set\n                    console.warn(\n                        'Locale ' + key + ' not found. Did you forget to load it?'\n                    );\n                }\n            }\n        }\n\n        return globalLocale._abbr;\n    }\n\n    function defineLocale(name, config) {\n        if (config !== null) {\n            var locale,\n                parentConfig = baseConfig;\n            config.abbr = name;\n            if (locales[name] != null) {\n                deprecateSimple(\n                    'defineLocaleOverride',\n                    'use moment.updateLocale(localeName, config) to change ' +\n                        'an existing locale. moment.defineLocale(localeName, ' +\n                        'config) should only be used for creating a new locale ' +\n                        'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n                );\n                parentConfig = locales[name]._config;\n            } else if (config.parentLocale != null) {\n                if (locales[config.parentLocale] != null) {\n                    parentConfig = locales[config.parentLocale]._config;\n                } else {\n                    locale = loadLocale(config.parentLocale);\n                    if (locale != null) {\n                        parentConfig = locale._config;\n                    } else {\n                        if (!localeFamilies[config.parentLocale]) {\n                            localeFamilies[config.parentLocale] = [];\n                        }\n                        localeFamilies[config.parentLocale].push({\n                            name: name,\n                            config: config,\n                        });\n                        return null;\n                    }\n                }\n            }\n            locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n            if (localeFamilies[name]) {\n                localeFamilies[name].forEach(function (x) {\n                    defineLocale(x.name, x.config);\n                });\n            }\n\n            // backwards compat for now: also set the locale\n            // make sure we set the locale AFTER all child locales have been\n            // created, so we won't end up with the child locale set.\n            getSetGlobalLocale(name);\n\n            return locales[name];\n        } else {\n            // useful for testing\n            delete locales[name];\n            return null;\n        }\n    }\n\n    function updateLocale(name, config) {\n        var locale,\n            tmpLocale = loadLocale(name),\n            parentConfig = baseConfig;\n\n        if (tmpLocale != null) {\n            name = tmpLocale._abbr;\n        }\n\n        if (config != null) {\n            if (locales[name] != null && locales[name].parentLocale != null) {\n                // Update existing child locale in-place to avoid memory-leaks\n                locales[name].set(mergeConfigs(locales[name]._config, config));\n            } else {\n                // MERGE\n                if (tmpLocale != null) {\n                    parentConfig = tmpLocale._config;\n                }\n                config = mergeConfigs(parentConfig, config);\n                if (tmpLocale == null) {\n                    // updateLocale is called for creating a new locale\n                    // Set abbr so it will have a name (getters return\n                    // undefined otherwise).\n                    config.abbr = name;\n                }\n                locale = new Locale(config);\n                locale.parentLocale = locales[name];\n                locales[name] = locale;\n            }\n\n            // backwards compat for now: also set the locale\n            getSetGlobalLocale(name);\n        } else {\n            // pass null for config to unupdate, useful for tests\n            if (locales[name] != null) {\n                if (locales[name].parentLocale != null) {\n                    locales[name] = locales[name].parentLocale;\n                    if (name === getSetGlobalLocale()) {\n                        getSetGlobalLocale(name);\n                    }\n                } else if (locales[name] != null) {\n                    delete locales[name];\n                }\n            }\n        }\n        return locales[name];\n    }\n\n    // returns locale data\n    function getLocale(key) {\n        var locale;\n\n        if (key && key._locale && key._locale._abbr) {\n            key = key._locale._abbr;\n        }\n\n        if (!key) {\n            return globalLocale;\n        }\n\n        if (!isArray(key)) {\n            //short-circuit everything else\n            locale = loadLocale(key);\n            if (locale) {\n                return locale;\n            }\n            key = [key];\n        }\n\n        return chooseLocale(key);\n    }\n\n    function listLocales() {\n        return keys(locales);\n    }\n\n    function checkOverflow(m) {\n        var overflow,\n            a = m._a;\n\n        if (a && getParsingFlags(m).overflow === -2) {\n            overflow =\n                a[MONTH] < 0 || a[MONTH] > 11\n                    ? MONTH\n                    : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n                      ? DATE\n                      : a[HOUR] < 0 ||\n                          a[HOUR] > 24 ||\n                          (a[HOUR] === 24 &&\n                              (a[MINUTE] !== 0 ||\n                                  a[SECOND] !== 0 ||\n                                  a[MILLISECOND] !== 0))\n                        ? HOUR\n                        : a[MINUTE] < 0 || a[MINUTE] > 59\n                          ? MINUTE\n                          : a[SECOND] < 0 || a[SECOND] > 59\n                            ? SECOND\n                            : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n                              ? MILLISECOND\n                              : -1;\n\n            if (\n                getParsingFlags(m)._overflowDayOfYear &&\n                (overflow < YEAR || overflow > DATE)\n            ) {\n                overflow = DATE;\n            }\n            if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n                overflow = WEEK;\n            }\n            if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n                overflow = WEEKDAY;\n            }\n\n            getParsingFlags(m).overflow = overflow;\n        }\n\n        return m;\n    }\n\n    // iso 8601 regex\n    // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n    var extendedIsoRegex =\n            /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        basicIsoRegex =\n            /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n        isoDates = [\n            ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n            ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n            ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n            ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n            ['YYYY-DDD', /\\d{4}-\\d{3}/],\n            ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n            ['YYYYYYMMDD', /[+-]\\d{10}/],\n            ['YYYYMMDD', /\\d{8}/],\n            ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n            ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n            ['YYYYDDD', /\\d{7}/],\n            ['YYYYMM', /\\d{6}/, false],\n            ['YYYY', /\\d{4}/, false],\n        ],\n        // iso time formats and regexes\n        isoTimes = [\n            ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n            ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n            ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n            ['HH:mm', /\\d\\d:\\d\\d/],\n            ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n            ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n            ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n            ['HHmm', /\\d\\d\\d\\d/],\n            ['HH', /\\d\\d/],\n        ],\n        aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n        // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n        rfc2822 =\n            /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n        obsOffsets = {\n            UT: 0,\n            GMT: 0,\n            EDT: -4 * 60,\n            EST: -5 * 60,\n            CDT: -5 * 60,\n            CST: -6 * 60,\n            MDT: -6 * 60,\n            MST: -7 * 60,\n            PDT: -7 * 60,\n            PST: -8 * 60,\n        };\n\n    // date from iso format\n    function configFromISO(config) {\n        var i,\n            l,\n            string = config._i,\n            match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n            allowTime,\n            dateFormat,\n            timeFormat,\n            tzFormat,\n            isoDatesLen = isoDates.length,\n            isoTimesLen = isoTimes.length;\n\n        if (match) {\n            getParsingFlags(config).iso = true;\n            for (i = 0, l = isoDatesLen; i < l; i++) {\n                if (isoDates[i][1].exec(match[1])) {\n                    dateFormat = isoDates[i][0];\n                    allowTime = isoDates[i][2] !== false;\n                    break;\n                }\n            }\n            if (dateFormat == null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[3]) {\n                for (i = 0, l = isoTimesLen; i < l; i++) {\n                    if (isoTimes[i][1].exec(match[3])) {\n                        // match[2] should be 'T' or space\n                        timeFormat = (match[2] || ' ') + isoTimes[i][0];\n                        break;\n                    }\n                }\n                if (timeFormat == null) {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            if (!allowTime && timeFormat != null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[4]) {\n                if (tzRegex.exec(match[4])) {\n                    tzFormat = 'Z';\n                } else {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n            configFromStringAndFormat(config);\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    function extractFromRFC2822Strings(\n        yearStr,\n        monthStr,\n        dayStr,\n        hourStr,\n        minuteStr,\n        secondStr\n    ) {\n        var result = [\n            untruncateYear(yearStr),\n            defaultLocaleMonthsShort.indexOf(monthStr),\n            parseInt(dayStr, 10),\n            parseInt(hourStr, 10),\n            parseInt(minuteStr, 10),\n        ];\n\n        if (secondStr) {\n            result.push(parseInt(secondStr, 10));\n        }\n\n        return result;\n    }\n\n    function untruncateYear(yearStr) {\n        var year = parseInt(yearStr, 10);\n        if (year <= 49) {\n            return 2000 + year;\n        } else if (year <= 999) {\n            return 1900 + year;\n        }\n        return year;\n    }\n\n    function preprocessRFC2822(s) {\n        // Remove comments and folding whitespace and replace multiple-spaces with a single space\n        return s\n            .replace(/\\([^()]*\\)|[\\n\\t]/g, ' ')\n            .replace(/(\\s\\s+)/g, ' ')\n            .replace(/^\\s\\s*/, '')\n            .replace(/\\s\\s*$/, '');\n    }\n\n    function checkWeekday(weekdayStr, parsedInput, config) {\n        if (weekdayStr) {\n            // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n            var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n                weekdayActual = new Date(\n                    parsedInput[0],\n                    parsedInput[1],\n                    parsedInput[2]\n                ).getDay();\n            if (weekdayProvided !== weekdayActual) {\n                getParsingFlags(config).weekdayMismatch = true;\n                config._isValid = false;\n                return false;\n            }\n        }\n        return true;\n    }\n\n    function calculateOffset(obsOffset, militaryOffset, numOffset) {\n        if (obsOffset) {\n            return obsOffsets[obsOffset];\n        } else if (militaryOffset) {\n            // the only allowed military tz is Z\n            return 0;\n        } else {\n            var hm = parseInt(numOffset, 10),\n                m = hm % 100,\n                h = (hm - m) / 100;\n            return h * 60 + m;\n        }\n    }\n\n    // date and time from ref 2822 format\n    function configFromRFC2822(config) {\n        var match = rfc2822.exec(preprocessRFC2822(config._i)),\n            parsedArray;\n        if (match) {\n            parsedArray = extractFromRFC2822Strings(\n                match[4],\n                match[3],\n                match[2],\n                match[5],\n                match[6],\n                match[7]\n            );\n            if (!checkWeekday(match[1], parsedArray, config)) {\n                return;\n            }\n\n            config._a = parsedArray;\n            config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n            config._d = createUTCDate.apply(null, config._a);\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n            getParsingFlags(config).rfc2822 = true;\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n    function configFromString(config) {\n        var matched = aspNetJsonRegex.exec(config._i);\n        if (matched !== null) {\n            config._d = new Date(+matched[1]);\n            return;\n        }\n\n        configFromISO(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        configFromRFC2822(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        if (config._strict) {\n            config._isValid = false;\n        } else {\n            // Final attempt, use Input Fallback\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    hooks.createFromInputFallback = deprecate(\n        'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n            'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n            'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n        function (config) {\n            config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n        }\n    );\n\n    // Pick the first defined of two or three arguments.\n    function defaults(a, b, c) {\n        if (a != null) {\n            return a;\n        }\n        if (b != null) {\n            return b;\n        }\n        return c;\n    }\n\n    function currentDateArray(config, now, forWeek) {\n        var hadWeekContext = Object.prototype.hasOwnProperty.call(\n                config,\n                '_isDefaultDatePartsForWeek'\n            ),\n            weekContext = config._isDefaultDatePartsForWeek;\n\n        // hooks is actually the exported moment object\n        config._isDefaultDatePartsForWeek = !!forWeek;\n        try {\n            return hooks._getDefaultDateParts(config, now, forWeek);\n        } finally {\n            if (hadWeekContext) {\n                config._isDefaultDatePartsForWeek = weekContext;\n            } else {\n                delete config._isDefaultDatePartsForWeek;\n            }\n        }\n    }\n\n    function currentDateNow(config) {\n        var now = config._defaultDatePartsNow;\n\n        if (!now) {\n            return hooks.now();\n        }\n        if (!now.hasValue) {\n            now.value = hooks.now();\n            now.hasValue = true;\n        }\n        return now.value;\n    }\n\n    // Internal hook for extensions that supply omitted calendar fields.\n    function getDefaultDateParts(config, now, forWeek) {\n        var useWeekDefaults = forWeek || config._isDefaultDatePartsForWeek,\n            nowValue = useWeekDefaults ? createLocal(now) : new Date(now);\n        if (useWeekDefaults) {\n            return [nowValue.year(), nowValue.month(), nowValue.date()];\n        }\n        if (config._useUTC) {\n            return [\n                nowValue.getUTCFullYear(),\n                nowValue.getUTCMonth(),\n                nowValue.getUTCDate(),\n            ];\n        }\n        return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n    }\n\n    hooks._getDefaultDateParts = getDefaultDateParts;\n\n    // convert an array to a date.\n    // the array should mirror the parameters below\n    // note: all values past the year are optional and will default to the lowest possible value.\n    // [year, month, day , hour, minute, second, millisecond]\n    function configFromArray(config) {\n        var i,\n            date,\n            input = [],\n            now,\n            currentDate,\n            expectedWeekday,\n            yearToUse,\n            dateIsDefaulted;\n\n        if (config._d) {\n            return;\n        }\n\n        if (\n            config._a[YEAR] == null ||\n            config._a[MONTH] == null ||\n            config._a[DATE] == null\n        ) {\n            now = currentDateNow(config);\n            currentDate = currentDateArray(config, now);\n        }\n\n        //compute day of the year from weeks and weekdays\n        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n            dayOfYearFromWeekInfo(config, currentDateArray(config, now, true));\n        }\n\n        //if the day of the year is set, figure out what it is\n        if (config._dayOfYear != null) {\n            yearToUse =\n                config._a[YEAR] != null ? config._a[YEAR] : currentDate[YEAR];\n\n            if (\n                config._dayOfYear > daysInYear(yearToUse) ||\n                config._dayOfYear === 0\n            ) {\n                getParsingFlags(config)._overflowDayOfYear = true;\n            }\n\n            date = createUTCDate(yearToUse, 0, config._dayOfYear);\n            config._a[MONTH] = date.getUTCMonth();\n            config._a[DATE] = date.getUTCDate();\n        }\n\n        dateIsDefaulted =\n            config._a[YEAR] == null ||\n            config._a[MONTH] == null ||\n            config._a[DATE] == null;\n\n        // Default to current date.\n        // * if no year, month, day of month are given, default to today\n        // * if day of month is given, default month and year\n        // * if month is given, default only year\n        // * if year is given, don't default anything\n        for (i = 0; i < 3 && config._a[i] == null; ++i) {\n            config._a[i] = input[i] = currentDate[i];\n        }\n\n        // Zero out whatever was not defaulted, including time\n        for (; i < 7; i++) {\n            config._a[i] = input[i] =\n                config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n        }\n\n        // Check for 24:00:00.000\n        if (\n            config._a[HOUR] === 24 &&\n            config._a[MINUTE] === 0 &&\n            config._a[SECOND] === 0 &&\n            config._a[MILLISECOND] === 0\n        ) {\n            config._nextDay = true;\n            config._a[HOUR] = 0;\n        }\n\n        config._d = (config._useUTC ? createUTCDate : createDate).apply(\n            null,\n            input\n        );\n        expectedWeekday = config._useUTC\n            ? config._d.getUTCDay()\n            : config._d.getDay();\n\n        // Apply timezone offset from input. The actual utcOffset can be changed\n        // with parseZone.\n        if (config._tzm != null) {\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n        }\n\n        if (config._nextDay) {\n            config._a[HOUR] = 24;\n        }\n\n        // check for mismatching day of week\n        if (\n            config._w &&\n            typeof config._w.d !== 'undefined' &&\n            !dateIsDefaulted &&\n            config._w.d !== expectedWeekday\n        ) {\n            getParsingFlags(config).weekdayMismatch = true;\n        }\n    }\n\n    function dayOfYearFromWeekInfo(config, currentDate) {\n        var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n        w = config._w;\n        if (w.GG != null || w.W != null || w.E != null) {\n            dow = 1;\n            doy = 4;\n\n            // TODO: We need to take the current isoWeekYear, but that depends on\n            // how we interpret now (local, utc, fixed offset). So create\n            // a now version of current config (take local/utc/offset flags, and\n            // create now).\n            weekYear = defaults(\n                w.GG,\n                config._a[YEAR],\n                weekOfYearFromDate(\n                    currentDate[YEAR],\n                    currentDate[MONTH],\n                    currentDate[DATE],\n                    1,\n                    4\n                ).year\n            );\n            week = defaults(w.W, 1);\n            weekday = defaults(w.E, 1);\n            if (weekday < 1 || weekday > 7) {\n                weekdayOverflow = true;\n            }\n        } else {\n            dow = config._locale._week.dow;\n            doy = config._locale._week.doy;\n\n            curWeek = weekOfYearFromDate(\n                currentDate[YEAR],\n                currentDate[MONTH],\n                currentDate[DATE],\n                dow,\n                doy\n            );\n\n            weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n            // Default to current week.\n            week = defaults(w.w, curWeek.week);\n\n            if (w.d != null) {\n                // weekday -- low day numbers are considered next week\n                weekday = w.d;\n                if (weekday < 0 || weekday > 6) {\n                    weekdayOverflow = true;\n                }\n            } else if (w.e != null) {\n                // local weekday -- counting starts from beginning of week\n                weekday = w.e + dow;\n                if (w.e < 0 || w.e > 6) {\n                    weekdayOverflow = true;\n                }\n            } else {\n                // default to beginning of week\n                weekday = dow;\n            }\n        }\n        if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n            getParsingFlags(config)._overflowWeeks = true;\n        } else if (weekdayOverflow != null) {\n            getParsingFlags(config)._overflowWeekday = true;\n        } else {\n            temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n            config._a[YEAR] = temp.year;\n            config._dayOfYear = temp.dayOfYear;\n        }\n    }\n\n    // constant that refers to the ISO standard\n    hooks.ISO_8601 = function () {};\n\n    // constant that refers to the RFC 2822 form\n    hooks.RFC_2822 = function () {};\n\n    // date from string and format string\n    function configFromStringAndFormat(config) {\n        // TODO: Move this to another part of the creation flow to prevent circular deps\n        if (config._f === hooks.ISO_8601) {\n            configFromISO(config);\n            return;\n        }\n        if (config._f === hooks.RFC_2822) {\n            configFromRFC2822(config);\n            return;\n        }\n        config._a = [];\n        getParsingFlags(config).empty = true;\n\n        // This array is used to make a Date, either with `new Date` or `Date.UTC`\n        var string = '' + config._i,\n            i,\n            parsedInput,\n            tokens,\n            token,\n            skipped,\n            stringLength = string.length,\n            totalParsedInputLength = 0,\n            era,\n            tokenLen;\n\n        tokens =\n            expandFormat(config._f, config._locale).match(formattingTokens) || [];\n        tokenLen = tokens.length;\n        for (i = 0; i < tokenLen; i++) {\n            token = tokens[i];\n            parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n                [])[0];\n            if (parsedInput) {\n                skipped = string.substr(0, string.indexOf(parsedInput));\n                if (skipped.length > 0) {\n                    getParsingFlags(config).unusedInput.push(skipped);\n                }\n                string = string.slice(\n                    string.indexOf(parsedInput) + parsedInput.length\n                );\n                totalParsedInputLength += parsedInput.length;\n            }\n            // don't parse if it's not a known token\n            if (formatTokenFunctions[token]) {\n                if (parsedInput) {\n                    getParsingFlags(config).empty = false;\n                } else {\n                    getParsingFlags(config).unusedTokens.push(token);\n                }\n                addTimeToArrayFromToken(token, parsedInput, config);\n            } else if (config._strict && !parsedInput) {\n                getParsingFlags(config).unusedTokens.push(token);\n            }\n        }\n\n        // add remaining unparsed input length to the string\n        getParsingFlags(config).charsLeftOver =\n            stringLength - totalParsedInputLength;\n        if (string.length > 0) {\n            getParsingFlags(config).unusedInput.push(string);\n        }\n\n        // clear _12h flag if hour is <= 12\n        if (\n            config._a[HOUR] <= 12 &&\n            getParsingFlags(config).bigHour === true &&\n            config._a[HOUR] > 0\n        ) {\n            getParsingFlags(config).bigHour = undefined;\n        }\n\n        getParsingFlags(config).parsedDateParts = config._a.slice(0);\n        getParsingFlags(config).meridiem = config._meridiem;\n        // handle meridiem\n        config._a[HOUR] = meridiemFixWrap(\n            config._locale,\n            config._a[HOUR],\n            config._meridiem\n        );\n\n        // handle era\n        era = getParsingFlags(config).era;\n        if (era !== null) {\n            config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n        }\n\n        configFromArray(config);\n        checkOverflow(config);\n    }\n\n    function meridiemFixWrap(locale, hour, meridiem) {\n        var isPm;\n\n        if (meridiem == null) {\n            // nothing to do\n            return hour;\n        }\n        if (locale.meridiemHour != null) {\n            return locale.meridiemHour(hour, meridiem);\n        } else if (locale.isPM != null) {\n            // Fallback\n            isPm = locale.isPM(meridiem);\n            if (isPm && hour < 12) {\n                hour += 12;\n            }\n            if (!isPm && hour === 12) {\n                hour = 0;\n            }\n            return hour;\n        } else {\n            // this is not supposed to happen\n            return hour;\n        }\n    }\n\n    // date from string and array of format strings\n    function configFromStringAndArray(config) {\n        var tempConfig,\n            bestMoment,\n            scoreToBeat,\n            i,\n            currentScore,\n            validFormatFound,\n            bestFormatIsValid = false,\n            defaultDatePartsNow = {},\n            configfLen = config._f.length;\n\n        if (configfLen === 0) {\n            getParsingFlags(config).invalidFormat = true;\n            config._d = new Date(NaN);\n            return;\n        }\n\n        for (i = 0; i < configfLen; i++) {\n            currentScore = 0;\n            validFormatFound = false;\n            tempConfig = copyConfig({}, config);\n            if (config._useUTC != null) {\n                tempConfig._useUTC = config._useUTC;\n            }\n            tempConfig._defaultDatePartsNow = defaultDatePartsNow;\n            tempConfig._f = config._f[i];\n            configFromStringAndFormat(tempConfig);\n\n            if (isValid$2(tempConfig)) {\n                validFormatFound = true;\n            }\n\n            // if there is any input that was not parsed add a penalty for that format\n            currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n            //or tokens\n            currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n            getParsingFlags(tempConfig).score = currentScore;\n\n            if (!bestFormatIsValid) {\n                if (\n                    scoreToBeat == null ||\n                    currentScore < scoreToBeat ||\n                    validFormatFound\n                ) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                    if (validFormatFound) {\n                        bestFormatIsValid = true;\n                    }\n                }\n            } else {\n                if (currentScore < scoreToBeat) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                }\n            }\n        }\n\n        extend(config, bestMoment || tempConfig);\n    }\n\n    function configFromObject(config) {\n        if (config._d) {\n            return;\n        }\n\n        var i = normalizeObjectUnits(config._i),\n            dayOrDate = i.day === undefined ? i.date : i.day;\n        config._a = map(\n            [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n            function (obj) {\n                return obj && parseInt(obj, 10);\n            }\n        );\n\n        configFromArray(config);\n    }\n\n    function createFromConfig(config) {\n        var res = new Moment(checkOverflow(prepareConfig(config)));\n        if (res._nextDay) {\n            // Adding is smart enough around DST\n            res.add(1, 'd');\n            res._nextDay = undefined;\n        }\n\n        return res;\n    }\n\n    function prepareConfig(config) {\n        var input = config._i,\n            format = config._f;\n\n        config._locale = config._locale || getLocale(config._l);\n\n        if (input === null || (format === undefined && input === '')) {\n            return createInvalid$1({ nullInput: true });\n        }\n\n        if (typeof input === 'string') {\n            config._i = input = config._locale.preparse(input);\n        }\n\n        if (isMoment(input)) {\n            return new Moment(checkOverflow(input));\n        } else if (isDate(input)) {\n            config._d = input;\n        } else if (isArray(format)) {\n            configFromStringAndArray(config);\n        } else if (format) {\n            configFromStringAndFormat(config);\n        } else {\n            configFromInput(config);\n        }\n\n        if (!isValid$2(config)) {\n            config._d = null;\n        }\n\n        return config;\n    }\n\n    function configFromInput(config) {\n        var input = config._i;\n        if (isUndefined(input)) {\n            config._d = new Date(hooks.now());\n        } else if (isDate(input)) {\n            config._d = new Date(input.valueOf());\n        } else if (typeof input === 'string') {\n            configFromString(config);\n        } else if (isArray(input)) {\n            config._a = map(input.slice(0), function (obj) {\n                return parseInt(obj, 10);\n            });\n            configFromArray(config);\n        } else if (isObject(input)) {\n            configFromObject(config);\n        } else if (isNumber(input)) {\n            // from milliseconds\n            config._d = new Date(input);\n        } else {\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    function createLocalOrUTC(input, format, locale, strict, isUTC) {\n        var c = {};\n\n        if (format === true || format === false) {\n            strict = format;\n            format = undefined;\n        }\n\n        if (locale === true || locale === false) {\n            strict = locale;\n            locale = undefined;\n        }\n\n        if (\n            (isObject(input) && isObjectEmpty(input)) ||\n            (isArray(input) && input.length === 0)\n        ) {\n            input = undefined;\n        }\n        // object construction must be done this way.\n        // https://github.com/moment/moment/issues/1423\n        c._isAMomentObject = true;\n        c._useUTC = c._isUTC = isUTC;\n        c._l = locale;\n        c._i = input;\n        c._f = format;\n        c._strict = strict;\n\n        return createFromConfig(c);\n    }\n\n    function createLocal(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, false);\n    }\n\n    var prototypeMin = deprecate(\n            'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other < this ? this : other;\n                } else {\n                    return createInvalid$1();\n                }\n            }\n        ),\n        prototypeMax = deprecate(\n            'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other > this ? this : other;\n                } else {\n                    return createInvalid$1();\n                }\n            }\n        );\n\n    // Pick a moment m from moments so that m[fn](other) is true for all\n    // other. This relies on the function fn to be transitive.\n    //\n    // moments should either be an array of moment objects or an array, whose\n    // first element is an array of moment objects.\n    function pickBy(fn, moments) {\n        var res, i;\n        if (moments.length === 1 && isArray(moments[0])) {\n            moments = moments[0];\n        }\n        if (!moments.length) {\n            return createLocal();\n        }\n        for (i = 0; i < moments.length; ++i) {\n            if (isMoment(moments[i])) {\n                res = moments[i];\n                break;\n            }\n        }\n        if (!res) {\n            return createInvalid$1();\n        }\n        for (++i; i < moments.length; ++i) {\n            if (\n                isMoment(moments[i]) &&\n                (!moments[i].isValid() || moments[i][fn](res))\n            ) {\n                res = moments[i];\n            }\n        }\n        return res;\n    }\n\n    // TODO: Use [].sort instead?\n    function min() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isBefore', args);\n    }\n\n    function max() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isAfter', args);\n    }\n\n    var now = function () {\n        return Date.now ? Date.now() : +new Date();\n    };\n\n    var ordering = [\n        'year',\n        'quarter',\n        'month',\n        'week',\n        'day',\n        'hour',\n        'minute',\n        'second',\n        'millisecond',\n    ];\n\n    function isDurationValid(m) {\n        var key,\n            unitHasDecimal = false,\n            i,\n            orderLen = ordering.length;\n        for (key in m) {\n            if (\n                hasOwnProp(m, key) &&\n                !(\n                    indexOf.call(ordering, key) !== -1 &&\n                    (m[key] == null || !isNaN(m[key]))\n                )\n            ) {\n                return false;\n            }\n        }\n\n        for (i = 0; i < orderLen; ++i) {\n            if (m[ordering[i]]) {\n                if (unitHasDecimal) {\n                    return false; // only allow non-integers for smallest unit\n                }\n                if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n                    unitHasDecimal = true;\n                }\n            }\n        }\n\n        return true;\n    }\n\n    function isValid$1() {\n        return this._isValid;\n    }\n\n    function createInvalid() {\n        return createDuration(NaN);\n    }\n\n    function Duration(duration) {\n        var normalizedInput = normalizeObjectUnits(duration),\n            years = normalizedInput.year || 0,\n            quarters = normalizedInput.quarter || 0,\n            months = normalizedInput.month || 0,\n            weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n            days = normalizedInput.day || 0,\n            hours = normalizedInput.hour || 0,\n            minutes = normalizedInput.minute || 0,\n            seconds = normalizedInput.second || 0,\n            milliseconds = normalizedInput.millisecond || 0;\n\n        this._isValid = isDurationValid(normalizedInput);\n\n        // representation for dateAddRemove\n        this._milliseconds =\n            +milliseconds +\n            seconds * 1e3 + // 1000\n            minutes * 6e4 + // 1000 * 60\n            hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n        // Because of dateAddRemove treats 24 hours as different from a\n        // day when working around DST, we need to store them separately\n        this._days = +days + weeks * 7;\n        // It is impossible to translate months into days without knowing\n        // which months you are are talking about, so we have to store\n        // it separately.\n        this._months = +months + quarters * 3 + years * 12;\n\n        this._data = {};\n\n        this._locale = getLocale();\n\n        this._bubble();\n    }\n\n    function isDuration(obj) {\n        return obj instanceof Duration;\n    }\n\n    function absRound(number) {\n        if (number < 0) {\n            return Math.round(-1 * number) * -1;\n        } else {\n            return Math.round(number);\n        }\n    }\n\n    // compare two arrays, return the number of differences\n    function compareArrays(array1, array2, dontConvert) {\n        var len = Math.min(array1.length, array2.length),\n            lengthDiff = Math.abs(array1.length - array2.length),\n            diffs = 0,\n            i;\n        for (i = 0; i < len; i++) {\n            if (\n                (toInt(array1[i]) !== toInt(array2[i]))\n            ) {\n                diffs++;\n            }\n        }\n        return diffs + lengthDiff;\n    }\n\n    // FORMATTING\n\n    function offset(token, separator) {\n        addFormatToken(token, 0, 0, function () {\n            var offset = this.utcOffset(),\n                sign = '+';\n            if (offset < 0) {\n                offset = -offset;\n                sign = '-';\n            }\n            return (\n                sign +\n                zeroFill(~~(offset / 60), 2) +\n                separator +\n                zeroFill(~~offset % 60, 2)\n            );\n        });\n    }\n\n    offset('Z', ':');\n    offset('ZZ', '');\n\n    // PARSING\n\n    addRegexToken('Z', matchShortOffset);\n    addRegexToken('ZZ', matchShortOffset);\n    addParseToken(['Z', 'ZZ'], function (input, array, config) {\n        var offset = offsetFromString(matchShortOffset, input);\n        config._useUTC = true;\n        config._tzm = offset;\n        if (offset === null) {\n            getParsingFlags(config).invalidOffset = input;\n        }\n    });\n\n    // HELPERS\n\n    // timezone chunker\n    // '+10:00' > ['10',  '00']\n    // '-1530'  > ['-15', '30']\n    var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n    function offsetFromString(matcher, string) {\n        var matches = (string || '').match(matcher),\n            chunk,\n            parts,\n            minutes;\n\n        if (matches === null) {\n            return null;\n        }\n\n        chunk = matches[matches.length - 1] || [];\n        parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n        minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n        if (\n            toInt(parts[2]) > 59 ||\n            (parts[0] === '+' ? minutes > 14 * 60 : minutes > 12 * 60)\n        ) {\n            return null;\n        }\n\n        return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n    }\n\n    // Return a moment from input, that is local/utc/zone equivalent to model.\n    function cloneWithOffset(input, model) {\n        var res, diff;\n        if (model._isUTC) {\n            res = model.clone();\n            diff =\n                (isMoment(input) || isDate(input)\n                    ? input.valueOf()\n                    : createLocal(input).valueOf()) - res.valueOf();\n            // Use low-level api, because this fn is low-level api.\n            res._d.setTime(res._d.valueOf() + diff);\n            hooks.updateOffset(res, false);\n            return res;\n        } else {\n            return createLocal(input).local();\n        }\n    }\n\n    function getDateOffset(m) {\n        // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n        // https://github.com/moment/moment/pull/1871\n        return -Math.round(m._d.getTimezoneOffset());\n    }\n\n    // HOOKS\n\n    // This function will be called whenever a moment is mutated.\n    // It is intended to keep the offset in sync with the timezone.\n    hooks.updateOffset = function () {};\n\n    // MOMENTS\n\n    // keepLocalTime = true means only change the timezone, without\n    // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n    // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n    // +0200, so we adjust the time as needed, to be valid.\n    //\n    // Keeping the time actually adds/subtracts (one hour)\n    // from the actual represented time. That is why we call updateOffset\n    // a second time. In case it wants us to change the offset again\n    // _changeInProgress == true case, then we have to adjust, because\n    // there is no such time in the given timezone.\n    function getSetOffset(input, keepLocalTime, keepMinutes) {\n        var offset = this._offset || 0,\n            localAdjust;\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        if (input != null) {\n            if (typeof input === 'string') {\n                input = offsetFromString(matchShortOffset, input);\n                if (input === null) {\n                    return this;\n                }\n            } else if (Math.abs(input) < 16 && !keepMinutes) {\n                input = input * 60;\n            }\n            if (!this._isUTC && keepLocalTime) {\n                localAdjust = getDateOffset(this);\n            }\n            this._offset = input;\n            this._isUTC = true;\n            if (localAdjust != null) {\n                this.add(localAdjust, 'm');\n            }\n            if (offset !== input) {\n                if (!keepLocalTime || this._changeInProgress) {\n                    addSubtract$1(\n                        this,\n                        createDuration(input - offset, 'm'),\n                        1,\n                        false\n                    );\n                } else if (!this._changeInProgress) {\n                    this._changeInProgress = true;\n                    hooks.updateOffset(this, true);\n                    this._changeInProgress = null;\n                }\n            }\n            return this;\n        } else {\n            return this._isUTC ? offset : getDateOffset(this);\n        }\n    }\n\n    function getSetZone(input, keepLocalTime) {\n        if (input != null) {\n            if (typeof input !== 'string') {\n                input = -input;\n            }\n\n            this.utcOffset(input, keepLocalTime);\n\n            return this;\n        } else {\n            return -this.utcOffset();\n        }\n    }\n\n    function setOffsetToUTC(keepLocalTime) {\n        return this.utcOffset(0, keepLocalTime);\n    }\n\n    function setOffsetToLocal(keepLocalTime) {\n        if (this._isUTC) {\n            this.utcOffset(0, keepLocalTime);\n            this._isUTC = false;\n\n            if (keepLocalTime) {\n                this.subtract(getDateOffset(this), 'm');\n            }\n        }\n        return this;\n    }\n\n    function setOffsetToParsedOffset() {\n        if (this._tzm != null) {\n            this.utcOffset(this._tzm, false, true);\n        } else if (typeof this._i === 'string') {\n            var tZone = offsetFromString(matchOffset, this._i);\n            if (tZone != null) {\n                this.utcOffset(tZone);\n            } else {\n                this.utcOffset(0, true);\n            }\n        }\n        return this;\n    }\n\n    function hasAlignedHourOffset(input) {\n        if (!this.isValid()) {\n            return false;\n        }\n        input = input ? createLocal(input).utcOffset() : 0;\n\n        return (this.utcOffset() - input) % 60 === 0;\n    }\n\n    function isDaylightSavingTime() {\n        return (\n            this.utcOffset() > this.clone().month(0).utcOffset() ||\n            this.utcOffset() > this.clone().month(5).utcOffset()\n        );\n    }\n\n    function isDaylightSavingTimeShifted() {\n        if (!isUndefined(this._isDSTShifted)) {\n            return this._isDSTShifted;\n        }\n\n        var c = {},\n            other;\n\n        copyConfig(c, this);\n        c = prepareConfig(c);\n\n        if (c._a) {\n            other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n            this._isDSTShifted =\n                this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n        } else {\n            this._isDSTShifted = false;\n        }\n\n        return this._isDSTShifted;\n    }\n\n    function isLocal() {\n        return this.isValid() ? !this._isUTC : false;\n    }\n\n    function isUtcOffset() {\n        return this.isValid() ? this._isUTC : false;\n    }\n\n    function isUtc() {\n        return this.isValid() ? this._isUTC && this._offset === 0 : false;\n    }\n\n    // ASP.NET json date format regex\n    var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n        // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n        // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n        // and further modified to allow for strings containing both week and day\n        isoRegex =\n            /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n    function createDuration(input, key) {\n        var duration = input,\n            // matching against regexp is expensive, do it on demand\n            match = null,\n            sign,\n            ret,\n            diffRes;\n\n        if (isDuration(input)) {\n            duration = {\n                ms: input._milliseconds,\n                d: input._days,\n                M: input._months,\n            };\n        } else if (isNumber(input) || !isNaN(+input)) {\n            duration = {};\n            if (key) {\n                duration[key] = +input;\n            } else {\n                duration.milliseconds = +input;\n            }\n        } else if ((match = aspNetRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: 0,\n                d: toInt(match[DATE]) * sign,\n                h: toInt(match[HOUR]) * sign,\n                m: toInt(match[MINUTE]) * sign,\n                s: toInt(match[SECOND]) * sign,\n                ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n            };\n        } else if ((match = isoRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: parseIso(match[2], sign),\n                M: parseIso(match[3], sign),\n                w: parseIso(match[4], sign),\n                d: parseIso(match[5], sign),\n                h: parseIso(match[6], sign),\n                m: parseIso(match[7], sign),\n                s: parseIso(match[8], sign),\n            };\n        } else if (duration == null) {\n            // checks for null or undefined\n            duration = {};\n        } else if (\n            typeof duration === 'object' &&\n            ('from' in duration || 'to' in duration)\n        ) {\n            diffRes = momentsDifference(\n                createLocal(duration.from),\n                createLocal(duration.to)\n            );\n\n            duration = {};\n            duration.ms = diffRes.milliseconds;\n            duration.M = diffRes.months;\n        }\n\n        ret = new Duration(duration);\n\n        if (isDuration(input) && hasOwnProp(input, '_locale')) {\n            ret._locale = input._locale;\n        }\n\n        if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n            ret._isValid = input._isValid;\n        }\n\n        return ret;\n    }\n\n    createDuration.fn = Duration.prototype;\n    createDuration.invalid = createInvalid;\n\n    function parseIso(inp, sign) {\n        // We'd normally use ~~inp for this, but unfortunately it also\n        // converts floats to ints.\n        // inp may be undefined, so careful calling replace on it.\n        var res = inp && parseFloat(inp.replace(',', '.'));\n        // apply sign while we're at it\n        return (isNaN(res) ? 0 : res) * sign;\n    }\n\n    function positiveMomentsDifference(base, other) {\n        var res = {};\n\n        res.months =\n            other.month() - base.month() + (other.year() - base.year()) * 12;\n        if (base.clone().add(res.months, 'M').isAfter(other)) {\n            --res.months;\n        }\n\n        res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n        return res;\n    }\n\n    function momentsDifference(base, other) {\n        var res;\n        if (!(base.isValid() && other.isValid())) {\n            return { milliseconds: 0, months: 0 };\n        }\n\n        other = cloneWithOffset(other, base);\n        if (base.isBefore(other)) {\n            res = positiveMomentsDifference(base, other);\n        } else {\n            res = positiveMomentsDifference(other, base);\n            res.milliseconds = -res.milliseconds;\n            res.months = -res.months;\n        }\n\n        return res;\n    }\n\n    // TODO: remove 'name' arg after deprecation is removed\n    function createAdder(direction, name) {\n        return function (val, period) {\n            var dur, tmp;\n            //invert the arguments, but complain about it\n            if (period !== null && !isNaN(+period)) {\n                deprecateSimple(\n                    name,\n                    'moment().' +\n                        name +\n                        '(period, number) is deprecated. Please use moment().' +\n                        name +\n                        '(number, period). ' +\n                        'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n                );\n                tmp = val;\n                val = period;\n                period = tmp;\n            }\n\n            dur = createDuration(val, period);\n            addSubtract$1(this, dur, direction);\n            return this;\n        };\n    }\n\n    function addSubtract$1(mom, duration, isAdding, updateOffset) {\n        var milliseconds = duration._milliseconds,\n            days = absRound(duration._days),\n            months = absRound(duration._months);\n\n        if (!mom.isValid()) {\n            // No op\n            return;\n        }\n\n        updateOffset = updateOffset == null ? true : updateOffset;\n\n        if (months) {\n            setMonth(mom, get$2(mom, 'Month') + months * isAdding);\n        }\n        if (days) {\n            set$1(mom, 'Date', get$2(mom, 'Date') + days * isAdding);\n        }\n        if (milliseconds) {\n            mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n        }\n        if (updateOffset) {\n            hooks.updateOffset(mom, days || months);\n        }\n    }\n\n    var add$1 = createAdder(1, 'add'),\n        subtract$1 = createAdder(-1, 'subtract');\n\n    function isString(input) {\n        return typeof input === 'string' || input instanceof String;\n    }\n\n    // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n    function isMomentInput(input) {\n        return (\n            isMoment(input) ||\n            isDate(input) ||\n            isString(input) ||\n            isNumber(input) ||\n            isNumberOrStringArray(input) ||\n            isMomentInputObject(input) ||\n            input === null ||\n            input === undefined\n        );\n    }\n\n    function isMomentInputObject(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'years',\n                'year',\n                'y',\n                'months',\n                'month',\n                'M',\n                'days',\n                'day',\n                'd',\n                'dates',\n                'date',\n                'D',\n                'hours',\n                'hour',\n                'h',\n                'minutes',\n                'minute',\n                'm',\n                'seconds',\n                'second',\n                's',\n                'milliseconds',\n                'millisecond',\n                'ms',\n            ],\n            i,\n            property,\n            propertyLen = properties.length;\n\n        for (i = 0; i < propertyLen; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function isNumberOrStringArray(input) {\n        var arrayTest = isArray(input),\n            dataTypeTest = false;\n        if (arrayTest) {\n            dataTypeTest =\n                input.filter(function (item) {\n                    return !isNumber(item) && isString(input);\n                }).length === 0;\n        }\n        return arrayTest && dataTypeTest;\n    }\n\n    function isCalendarSpec(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'sameDay',\n                'nextDay',\n                'lastDay',\n                'nextWeek',\n                'lastWeek',\n                'sameElse',\n            ],\n            i,\n            property;\n\n        for (i = 0; i < properties.length; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function getCalendarFormat(myMoment, now) {\n        var diff = myMoment.diff(now, 'days', true);\n        return diff < -6\n            ? 'sameElse'\n            : diff < -1\n              ? 'lastWeek'\n              : diff < 0\n                ? 'lastDay'\n                : diff < 1\n                  ? 'sameDay'\n                  : diff < 2\n                    ? 'nextDay'\n                    : diff < 7\n                      ? 'nextWeek'\n                      : 'sameElse';\n    }\n\n    function calendar(time, formats) {\n        // Support for single parameter, formats only overload to the calendar function\n        if (arguments.length === 1) {\n            if (!arguments[0]) {\n                time = undefined;\n                formats = undefined;\n            } else if (isMomentInput(arguments[0])) {\n                time = arguments[0];\n                formats = undefined;\n            } else if (isCalendarSpec(arguments[0])) {\n                formats = arguments[0];\n                time = undefined;\n            }\n        }\n        // We want to compare the start of today, vs this.\n        // Getting start-of-today depends on whether we're local/utc/offset or not.\n        var now = time || createLocal(),\n            sod = cloneWithOffset(now, this).startOf('day'),\n            format = hooks.calendarFormat(this, sod) || 'sameElse',\n            output =\n                formats &&\n                (isFunction(formats[format])\n                    ? formats[format].call(this, now)\n                    : formats[format]);\n\n        return this.format(\n            output || this.localeData().calendar(format, this, createLocal(now))\n        );\n    }\n\n    function clone$1() {\n        return new Moment(this);\n    }\n\n    function isAfter(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() > localInput.valueOf();\n        } else {\n            return localInput.valueOf() < this.clone().startOf(units).valueOf();\n        }\n    }\n\n    function isBefore(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() < localInput.valueOf();\n        } else {\n            return this.clone().endOf(units).valueOf() < localInput.valueOf();\n        }\n    }\n\n    function isBetween(from, to, units, inclusivity) {\n        var localFrom = isMoment(from) ? from : createLocal(from),\n            localTo = isMoment(to) ? to : createLocal(to);\n        if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n            return false;\n        }\n        inclusivity = inclusivity || '()';\n        return (\n            (inclusivity[0] === '('\n                ? this.isAfter(localFrom, units)\n                : !this.isBefore(localFrom, units)) &&\n            (inclusivity[1] === ')'\n                ? this.isBefore(localTo, units)\n                : !this.isAfter(localTo, units))\n        );\n    }\n\n    function isSame(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input),\n            inputMs;\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() === localInput.valueOf();\n        } else {\n            inputMs = localInput.valueOf();\n            return (\n                this.clone().startOf(units).valueOf() <= inputMs &&\n                inputMs <= this.clone().endOf(units).valueOf()\n            );\n        }\n    }\n\n    function isSameOrAfter(input, units) {\n        return this.isSame(input, units) || this.isAfter(input, units);\n    }\n\n    function isSameOrBefore(input, units) {\n        return this.isSame(input, units) || this.isBefore(input, units);\n    }\n\n    function diff(input, units, asFloat) {\n        var that, zoneDelta, output;\n\n        if (!this.isValid()) {\n            return NaN;\n        }\n\n        that = cloneWithOffset(input, this);\n\n        if (!that.isValid()) {\n            return NaN;\n        }\n\n        zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n        units = normalizeUnits(units);\n\n        switch (units) {\n            case 'year':\n                output = monthDiff(this, that) / 12;\n                break;\n            case 'month':\n                output = monthDiff(this, that);\n                break;\n            case 'quarter':\n                output = monthDiff(this, that) / 3;\n                break;\n            case 'second':\n                output = (this - that) / 1e3;\n                break; // 1000\n            case 'minute':\n                output = (this - that) / 6e4;\n                break; // 1000 * 60\n            case 'hour':\n                output = (this - that) / 36e5;\n                break; // 1000 * 60 * 60\n            case 'day':\n                output = (this - that - zoneDelta) / 864e5;\n                break; // 1000 * 60 * 60 * 24, negate dst\n            case 'week':\n                output = (this - that - zoneDelta) / 6048e5;\n                break; // 1000 * 60 * 60 * 24 * 7, negate dst\n            default:\n                output = this - that;\n        }\n\n        return asFloat ? output : absFloor(output);\n    }\n\n    function monthDiff(a, b) {\n        if (a.date() < b.date()) {\n            // end-of-month calculations work correct when the start month has more\n            // days than the end month.\n            return -monthDiff(b, a);\n        }\n        // difference in months\n        var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n            // b is in (anchor - 1 month, anchor + 1 month)\n            anchor = a.clone().add(wholeMonthDiff, 'months'),\n            anchor2,\n            adjust;\n\n        if (b - anchor < 0) {\n            anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor - anchor2);\n        } else {\n            anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor2 - anchor);\n        }\n\n        //check for negative zero, return zero if negative zero\n        return -(wholeMonthDiff + adjust) || 0;\n    }\n\n    hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n    hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n    function toString() {\n        return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n    }\n\n    function toISOString$1(keepOffset) {\n        if (!this.isValid()) {\n            return null;\n        }\n        var utc = keepOffset !== true,\n            m = utc ? this.clone().utc() : this;\n        if (m.year() < 0 || m.year() > 9999) {\n            return formatMoment(\n                m,\n                utc\n                    ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n                    : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n            );\n        }\n        if (isFunction(Date.prototype.toISOString)) {\n            // native implementation is ~50x faster, use it when we can\n            if (utc) {\n                return this.toDate().toISOString();\n            } else {\n                return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n                    .toISOString()\n                    .replace('Z', formatMoment(m, 'Z'));\n            }\n        }\n        return formatMoment(\n            m,\n            utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n        );\n    }\n\n    /**\n     * Return a human readable representation of a moment that can\n     * also be evaluated to get a new moment which is the same\n     *\n     * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n     */\n    function inspect() {\n        if (!this.isValid()) {\n            return 'moment.invalid(/* ' + this._i + ' */)';\n        }\n        var func = 'moment',\n            zone = '',\n            prefix,\n            year,\n            datetime,\n            suffix;\n        if (!this.isLocal()) {\n            func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n            zone = 'Z';\n        }\n        prefix = '[' + func + '(\"]';\n        year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n        datetime = '-MM-DD[T]HH:mm:ss.SSS';\n        suffix = zone + '[\")]';\n\n        return this.format(prefix + year + datetime + suffix);\n    }\n\n    function format(inputString) {\n        if (!inputString) {\n            inputString = this.isUtc()\n                ? hooks.defaultFormatUtc\n                : hooks.defaultFormat;\n        }\n        var output = formatMoment(this, inputString);\n        return this.localeData().postformat(output);\n    }\n\n    function from(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ to: this, from: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function fromNow(withoutSuffix) {\n        return this.from(createLocal(), withoutSuffix);\n    }\n\n    function to(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ from: this, to: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function toNow(withoutSuffix) {\n        return this.to(createLocal(), withoutSuffix);\n    }\n\n    // If passed a locale key, it will set the locale for this\n    // instance.  Otherwise, it will return the locale configuration\n    // variables for this instance.\n    function locale(key) {\n        var newLocaleData;\n\n        if (key === undefined) {\n            return this._locale._abbr;\n        } else {\n            newLocaleData = getLocale(key);\n            if (newLocaleData != null) {\n                this._locale = newLocaleData;\n            }\n            return this;\n        }\n    }\n\n    var lang = deprecate(\n        'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n        function (key) {\n            if (key === undefined) {\n                return this.localeData();\n            } else {\n                return this.locale(key);\n            }\n        }\n    );\n\n    function localeData() {\n        return this._locale;\n    }\n\n    var MS_PER_SECOND = 1000,\n        MS_PER_MINUTE = 60 * MS_PER_SECOND,\n        MS_PER_HOUR = 60 * MS_PER_MINUTE,\n        MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n    // actual modulo - handles negative numbers (for dates before 1970):\n    function mod(dividend, divisor) {\n        return ((dividend % divisor) + divisor) % divisor;\n    }\n\n    function localStartOfDate(y, m, d) {\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return new Date(y, m, d).valueOf();\n        }\n    }\n\n    function utcStartOfDate(y, m, d) {\n        // Date.UTC remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return Date.UTC(y, m, d);\n        }\n    }\n\n    function startOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year(), 0, 1);\n                break;\n            case 'quarter':\n                time = startOfDate(\n                    this.year(),\n                    this.month() - (this.month() % 3),\n                    1\n                );\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month(), 1);\n                break;\n            case 'week':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - this.weekday()\n                );\n                break;\n            case 'isoWeek':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - (this.isoWeekday() - 1)\n                );\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date());\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time -= mod(\n                    time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                    MS_PER_HOUR\n                );\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time -= mod(time, MS_PER_MINUTE);\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time -= mod(time, MS_PER_SECOND);\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function endOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year() + 1, 0, 1) - 1;\n                break;\n            case 'quarter':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month() - (this.month() % 3) + 3,\n                        1\n                    ) - 1;\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n                break;\n            case 'week':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - this.weekday() + 7\n                    ) - 1;\n                break;\n            case 'isoWeek':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - (this.isoWeekday() - 1) + 7\n                    ) - 1;\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time +=\n                    MS_PER_HOUR -\n                    mod(\n                        time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                        MS_PER_HOUR\n                    ) -\n                    1;\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time += MS_PER_MINUTE - mod(time, MS_PER_MINUTE) - 1;\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time += MS_PER_SECOND - mod(time, MS_PER_SECOND) - 1;\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function valueOf$1() {\n        return this._d.valueOf() - (this._offset || 0) * 60000;\n    }\n\n    function unix() {\n        return Math.floor(this.valueOf() / 1000);\n    }\n\n    function toDate() {\n        return new Date(this.valueOf());\n    }\n\n    function toArray() {\n        var m = this;\n        return [\n            m.year(),\n            m.month(),\n            m.date(),\n            m.hour(),\n            m.minute(),\n            m.second(),\n            m.millisecond(),\n        ];\n    }\n\n    function toObject() {\n        var m = this;\n        return {\n            years: m.year(),\n            months: m.month(),\n            date: m.date(),\n            hours: m.hours(),\n            minutes: m.minutes(),\n            seconds: m.seconds(),\n            milliseconds: m.milliseconds(),\n        };\n    }\n\n    function toJSON() {\n        // new Date(NaN).toJSON() === null\n        return this.isValid() ? this.toISOString() : null;\n    }\n\n    function isValid() {\n        return isValid$2(this);\n    }\n\n    function parsingFlags() {\n        return extend({}, getParsingFlags(this));\n    }\n\n    function invalidAt() {\n        return getParsingFlags(this).overflow;\n    }\n\n    function creationData() {\n        return {\n            input: this._i,\n            format: this._f,\n            locale: this._locale,\n            isUTC: this._isUTC,\n            strict: this._strict,\n        };\n    }\n\n    addFormatToken('N', 0, 0, 'eraAbbr');\n    addFormatToken('NN', 0, 0, 'eraAbbr');\n    addFormatToken('NNN', 0, 0, 'eraAbbr');\n    addFormatToken('NNNN', 0, 0, 'eraName');\n    addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\n    addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n    addFormatToken('y', ['yy', 2], 0, 'eraYear');\n    addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n    addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\n    addRegexToken('N', matchEraAbbr);\n    addRegexToken('NN', matchEraAbbr);\n    addRegexToken('NNN', matchEraAbbr);\n    addRegexToken('NNNN', matchEraName);\n    addRegexToken('NNNNN', matchEraNarrow);\n\n    addParseToken(\n        ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],\n        function (input, array, config, token) {\n            var era = config._locale.erasParse(input, token, config._strict);\n            if (era) {\n                getParsingFlags(config).era = era;\n            } else {\n                getParsingFlags(config).invalidEra = input;\n            }\n        }\n    );\n\n    addRegexToken('y', matchUnsigned);\n    addRegexToken('yy', matchUnsigned);\n    addRegexToken('yyy', matchUnsigned);\n    addRegexToken('yyyy', matchUnsigned);\n    addRegexToken('yo', matchEraYearOrdinal);\n\n    addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n    addParseToken(['yo'], function (input, array, config, token) {\n        var match;\n        if (config._locale._eraYearOrdinalRegex) {\n            match = input.match(config._locale._eraYearOrdinalRegex);\n        }\n\n        if (config._locale.eraYearOrdinalParse) {\n            array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n        } else {\n            array[YEAR] = parseInt(input, 10);\n        }\n    });\n\n    function localeEras(m, format) {\n        var i,\n            l,\n            date,\n            eras = this._eras || getLocale('en')._eras;\n        for (i = 0, l = eras.length; i < l; ++i) {\n            switch (typeof eras[i].since) {\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].since).startOf('day');\n                    eras[i].since = date.valueOf();\n                    break;\n            }\n\n            switch (typeof eras[i].until) {\n                case 'undefined':\n                    eras[i].until = +Infinity;\n                    break;\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].until).startOf('day').valueOf();\n                    eras[i].until = date.valueOf();\n                    break;\n            }\n        }\n        return eras;\n    }\n\n    function localeErasParse(eraName, format, strict) {\n        var i,\n            l,\n            eras = this.eras(),\n            name,\n            abbr,\n            narrow;\n        eraName = eraName.toUpperCase();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            name = eras[i].name.toUpperCase();\n            abbr = eras[i].abbr.toUpperCase();\n            narrow = eras[i].narrow.toUpperCase();\n\n            if (strict) {\n                switch (format) {\n                    case 'N':\n                    case 'NN':\n                    case 'NNN':\n                        if (abbr === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNN':\n                        if (name === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNNN':\n                        if (narrow === eraName) {\n                            return eras[i];\n                        }\n                        break;\n                }\n            } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n                return eras[i];\n            }\n        }\n    }\n\n    function localeErasConvertYear(era, year) {\n        var dir = era.since <= era.until ? 1 : -1;\n        if (year === undefined) {\n            return hooks(era.since).year();\n        } else {\n            return hooks(era.since).year() + (year - era.offset) * dir;\n        }\n    }\n\n    function getEraName() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].name;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].name;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraNarrow() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].narrow;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].narrow;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraAbbr() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].abbr;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].abbr;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraYear() {\n        var i,\n            l,\n            dir,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            dir = eras[i].since <= eras[i].until ? 1 : -1;\n\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (\n                (eras[i].since <= val && val <= eras[i].until) ||\n                (eras[i].until <= val && val <= eras[i].since)\n            ) {\n                return (\n                    (this.year() - hooks(eras[i].since).year()) * dir +\n                    eras[i].offset\n                );\n            }\n        }\n\n        return this.year();\n    }\n\n    function erasNameRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNameRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNameRegex : this._erasRegex;\n    }\n\n    function erasAbbrRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasAbbrRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasAbbrRegex : this._erasRegex;\n    }\n\n    function erasNarrowRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNarrowRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNarrowRegex : this._erasRegex;\n    }\n\n    function matchEraAbbr(isStrict, locale) {\n        return locale.erasAbbrRegex(isStrict);\n    }\n\n    function matchEraName(isStrict, locale) {\n        return locale.erasNameRegex(isStrict);\n    }\n\n    function matchEraNarrow(isStrict, locale) {\n        return locale.erasNarrowRegex(isStrict);\n    }\n\n    function matchEraYearOrdinal(isStrict, locale) {\n        return locale._eraYearOrdinalRegex || matchUnsigned;\n    }\n\n    function computeErasParse() {\n        var abbrPieces = [],\n            namePieces = [],\n            narrowPieces = [],\n            mixedPieces = [],\n            i,\n            l,\n            erasName,\n            erasAbbr,\n            erasNarrow,\n            eras = this.eras();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            erasName = regexEscape(eras[i].name);\n            erasAbbr = regexEscape(eras[i].abbr);\n            erasNarrow = regexEscape(eras[i].narrow);\n\n            namePieces.push(erasName);\n            abbrPieces.push(erasAbbr);\n            narrowPieces.push(erasNarrow);\n            mixedPieces.push(erasName);\n            mixedPieces.push(erasAbbr);\n            mixedPieces.push(erasNarrow);\n        }\n\n        this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n        this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n        this._erasNarrowRegex = new RegExp(\n            '^(' + narrowPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken(0, ['gg', 2], 0, function () {\n        return this.weekYear() % 100;\n    });\n\n    addFormatToken(0, ['GG', 2], 0, function () {\n        return this.isoWeekYear() % 100;\n    });\n\n    function addWeekYearFormatToken(token, getter) {\n        addFormatToken(0, [token, token.length], 0, getter);\n    }\n\n    addWeekYearFormatToken('gggg', 'weekYear');\n    addWeekYearFormatToken('ggggg', 'weekYear');\n    addWeekYearFormatToken('GGGG', 'isoWeekYear');\n    addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n    // ALIASES\n\n    // PARSING\n\n    addRegexToken('G', matchSigned);\n    addRegexToken('g', matchSigned);\n    addRegexToken('GG', match1to2, match2);\n    addRegexToken('gg', match1to2, match2);\n    addRegexToken('GGGG', match1to4, match4);\n    addRegexToken('gggg', match1to4, match4);\n    addRegexToken('GGGGG', match1to6, match6);\n    addRegexToken('ggggg', match1to6, match6);\n\n    addWeekParseToken(\n        ['gggg', 'ggggg', 'GGGG', 'GGGGG'],\n        function (input, week, config, token) {\n            week[token.substr(0, 2)] = toInt(input);\n        }\n    );\n\n    addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n        week[token] = hooks.parseTwoDigitYear(input);\n    });\n\n    // MOMENTS\n\n    function getSetWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.week(),\n            this.weekday() + this.localeData()._week.dow,\n            this.localeData()._week.dow,\n            this.localeData()._week.doy\n        );\n    }\n\n    function getSetISOWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.isoWeek(),\n            this.isoWeekday(),\n            1,\n            4\n        );\n    }\n\n    function getISOWeeksInYear() {\n        return weeksInYear(this.year(), 1, 4);\n    }\n\n    function getISOWeeksInISOWeekYear() {\n        return weeksInYear(this.isoWeekYear(), 1, 4);\n    }\n\n    function getWeeksInYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getWeeksInWeekYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n        var weeksTarget;\n        if (input == null) {\n            return weekOfYear(this, dow, doy).year;\n        } else {\n            weeksTarget = weeksInYear(input, dow, doy);\n            if (week > weeksTarget) {\n                week = weeksTarget;\n            }\n            return setWeekAll.call(this, input, week, weekday, dow, doy);\n        }\n    }\n\n    function setWeekAll(weekYear, week, weekday, dow, doy) {\n        var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n            date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n        this.year(date.getUTCFullYear());\n        this.month(date.getUTCMonth());\n        this.date(date.getUTCDate());\n        return this;\n    }\n\n    // FORMATTING\n\n    addFormatToken('Q', 0, 'Qo', 'quarter');\n\n    // PARSING\n\n    addRegexToken('Q', match1);\n    addParseToken('Q', function (input, array) {\n        array[MONTH] = (toInt(input) - 1) * 3;\n    });\n\n    // MOMENTS\n\n    function getSetQuarter(input) {\n        return input == null\n            ? Math.ceil((this.month() + 1) / 3)\n            : this.month((input - 1) * 3 + (this.month() % 3));\n    }\n\n    // FORMATTING\n\n    addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n    // PARSING\n\n    addRegexToken('D', match1to2, match1to2NoLeadingZero);\n    addRegexToken('DD', match1to2, match2);\n    addRegexToken('Do', function (isStrict, locale) {\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        return isStrict\n            ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n            : locale._dayOfMonthOrdinalParseLenient;\n    });\n\n    addParseToken(['D', 'DD'], DATE);\n    addParseToken('Do', function (input, array) {\n        array[DATE] = toInt(input.match(match1to2)[0]);\n    });\n\n    // MOMENTS\n\n    var getSetDayOfMonth = makeGetSet('Date', true);\n\n    // FORMATTING\n\n    addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n    // PARSING\n\n    addRegexToken('DDD', match1to3);\n    addRegexToken('DDDD', match3);\n    addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n        config._dayOfYear = toInt(input);\n    });\n\n    // HELPERS\n\n    // MOMENTS\n\n    function getSetDayOfYear(input) {\n        var dayOfYear =\n            Math.round(\n                (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n            ) + 1;\n        return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('m', ['mm', 2], 0, 'minute');\n\n    // PARSING\n\n    addRegexToken('m', match1to2, match1to2HasZero);\n    addRegexToken('mm', match1to2, match2);\n    addParseToken(['m', 'mm'], MINUTE);\n\n    // MOMENTS\n\n    var getSetMinute = makeGetSet('Minutes', false);\n\n    // FORMATTING\n\n    addFormatToken('s', ['ss', 2], 0, 'second');\n\n    // PARSING\n\n    addRegexToken('s', match1to2, match1to2HasZero);\n    addRegexToken('ss', match1to2, match2);\n    addParseToken(['s', 'ss'], SECOND);\n\n    // MOMENTS\n\n    var getSetSecond = makeGetSet('Seconds', false);\n\n    // FORMATTING\n\n    addFormatToken('S', 0, 0, function () {\n        return ~~(this.millisecond() / 100);\n    });\n\n    addFormatToken(0, ['SS', 2], 0, function () {\n        return ~~(this.millisecond() / 10);\n    });\n\n    addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n    addFormatToken(0, ['SSSS', 4], 0, function () {\n        return this.millisecond() * 10;\n    });\n    addFormatToken(0, ['SSSSS', 5], 0, function () {\n        return this.millisecond() * 100;\n    });\n    addFormatToken(0, ['SSSSSS', 6], 0, function () {\n        return this.millisecond() * 1000;\n    });\n    addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n        return this.millisecond() * 10000;\n    });\n    addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n        return this.millisecond() * 100000;\n    });\n    addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n        return this.millisecond() * 1000000;\n    });\n\n    // PARSING\n\n    addRegexToken('S', match1to3, match1);\n    addRegexToken('SS', match1to3, match2);\n    addRegexToken('SSS', match1to3, match3);\n\n    var token, getSetMillisecond;\n    for (token = 'SSSS'; token.length <= 9; token += 'S') {\n        addRegexToken(token, matchUnsigned);\n    }\n\n    function parseMs(input, array) {\n        array[MILLISECOND] = toInt(('0.' + input) * 1000);\n    }\n\n    for (token = 'S'; token.length <= 9; token += 'S') {\n        addParseToken(token, parseMs);\n    }\n\n    getSetMillisecond = makeGetSet('Milliseconds', false);\n\n    // FORMATTING\n\n    addFormatToken('z', 0, 0, 'zoneAbbr');\n    addFormatToken('zz', 0, 0, 'zoneName');\n\n    // MOMENTS\n\n    function getZoneAbbr() {\n        return this._isUTC ? 'UTC' : '';\n    }\n\n    function getZoneName() {\n        return this._isUTC ? 'Coordinated Universal Time' : '';\n    }\n\n    var proto$2 = Moment.prototype;\n\n    proto$2.add = add$1;\n    proto$2.calendar = calendar;\n    proto$2.clone = clone$1;\n    proto$2.diff = diff;\n    proto$2.endOf = endOf;\n    proto$2.format = format;\n    proto$2.from = from;\n    proto$2.fromNow = fromNow;\n    proto$2.to = to;\n    proto$2.toNow = toNow;\n    proto$2.get = stringGet;\n    proto$2.invalidAt = invalidAt;\n    proto$2.isAfter = isAfter;\n    proto$2.isBefore = isBefore;\n    proto$2.isBetween = isBetween;\n    proto$2.isSame = isSame;\n    proto$2.isSameOrAfter = isSameOrAfter;\n    proto$2.isSameOrBefore = isSameOrBefore;\n    proto$2.isValid = isValid;\n    proto$2.lang = lang;\n    proto$2.locale = locale;\n    proto$2.localeData = localeData;\n    proto$2.max = prototypeMax;\n    proto$2.min = prototypeMin;\n    proto$2.parsingFlags = parsingFlags;\n    proto$2.set = stringSet;\n    proto$2.startOf = startOf;\n    proto$2.subtract = subtract$1;\n    proto$2.toArray = toArray;\n    proto$2.toObject = toObject;\n    proto$2.toDate = toDate;\n    proto$2.toISOString = toISOString$1;\n    proto$2.inspect = inspect;\n    if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n        proto$2[Symbol.for('nodejs.util.inspect.custom')] = function () {\n            return 'Moment<' + this.format() + '>';\n        };\n    }\n    proto$2.toJSON = toJSON;\n    proto$2.toString = toString;\n    proto$2.unix = unix;\n    proto$2.valueOf = valueOf$1;\n    proto$2.creationData = creationData;\n    proto$2.eraName = getEraName;\n    proto$2.eraNarrow = getEraNarrow;\n    proto$2.eraAbbr = getEraAbbr;\n    proto$2.eraYear = getEraYear;\n    proto$2.year = getSetYear;\n    proto$2.isLeapYear = getIsLeapYear;\n    proto$2.weekYear = getSetWeekYear;\n    proto$2.isoWeekYear = getSetISOWeekYear;\n    proto$2.quarter = proto$2.quarters = getSetQuarter;\n    proto$2.month = getSetMonth;\n    proto$2.daysInMonth = getDaysInMonth;\n    proto$2.week = proto$2.weeks = getSetWeek;\n    proto$2.isoWeek = proto$2.isoWeeks = getSetISOWeek;\n    proto$2.weeksInYear = getWeeksInYear;\n    proto$2.weeksInWeekYear = getWeeksInWeekYear;\n    proto$2.isoWeeksInYear = getISOWeeksInYear;\n    proto$2.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n    proto$2.date = getSetDayOfMonth;\n    proto$2.day = proto$2.days = getSetDayOfWeek;\n    proto$2.weekday = getSetLocaleDayOfWeek;\n    proto$2.isoWeekday = getSetISODayOfWeek;\n    proto$2.dayOfYear = getSetDayOfYear;\n    proto$2.hour = proto$2.hours = getSetHour;\n    proto$2.minute = proto$2.minutes = getSetMinute;\n    proto$2.second = proto$2.seconds = getSetSecond;\n    proto$2.millisecond = proto$2.milliseconds = getSetMillisecond;\n    proto$2.utcOffset = getSetOffset;\n    proto$2.utc = setOffsetToUTC;\n    proto$2.local = setOffsetToLocal;\n    proto$2.parseZone = setOffsetToParsedOffset;\n    proto$2.hasAlignedHourOffset = hasAlignedHourOffset;\n    proto$2.isDST = isDaylightSavingTime;\n    proto$2.isLocal = isLocal;\n    proto$2.isUtcOffset = isUtcOffset;\n    proto$2.isUtc = isUtc;\n    proto$2.isUTC = isUtc;\n    proto$2.zoneAbbr = getZoneAbbr;\n    proto$2.zoneName = getZoneName;\n    proto$2.dates = deprecate(\n        'dates accessor is deprecated. Use date instead.',\n        getSetDayOfMonth\n    );\n    proto$2.months = deprecate(\n        'months accessor is deprecated. Use month instead',\n        getSetMonth\n    );\n    proto$2.years = deprecate(\n        'years accessor is deprecated. Use year instead',\n        getSetYear\n    );\n    proto$2.zone = deprecate(\n        'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n        getSetZone\n    );\n    proto$2.isDSTShifted = deprecate(\n        'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n        isDaylightSavingTimeShifted\n    );\n\n    function createUnix(input) {\n        return createLocal(input * 1000);\n    }\n\n    function createInZone() {\n        return createLocal.apply(null, arguments).parseZone();\n    }\n\n    function preParsePostFormat(string) {\n        return string;\n    }\n\n    var proto$1 = Locale.prototype;\n\n    proto$1.calendar = calendar$1;\n    proto$1.longDateFormat = longDateFormat;\n    proto$1.invalidDate = invalidDate;\n    proto$1.ordinal = ordinal;\n    proto$1.preparse = preParsePostFormat;\n    proto$1.postformat = preParsePostFormat;\n    proto$1.relativeTime = relativeTime$1;\n    proto$1.pastFuture = pastFuture;\n    proto$1.set = set;\n    proto$1.eras = localeEras;\n    proto$1.erasParse = localeErasParse;\n    proto$1.erasConvertYear = localeErasConvertYear;\n    proto$1.erasAbbrRegex = erasAbbrRegex;\n    proto$1.erasNameRegex = erasNameRegex;\n    proto$1.erasNarrowRegex = erasNarrowRegex;\n\n    proto$1.months = localeMonths;\n    proto$1.monthsShort = localeMonthsShort;\n    proto$1.monthsParse = localeMonthsParse;\n    proto$1.monthsRegex = monthsRegex;\n    proto$1.monthsShortRegex = monthsShortRegex;\n    proto$1.week = localeWeek;\n    proto$1.firstDayOfYear = localeFirstDayOfYear;\n    proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n    proto$1.weekdays = localeWeekdays;\n    proto$1.weekdaysMin = localeWeekdaysMin;\n    proto$1.weekdaysShort = localeWeekdaysShort;\n    proto$1.weekdaysParse = localeWeekdaysParse;\n\n    proto$1.weekdaysRegex = weekdaysRegex;\n    proto$1.weekdaysShortRegex = weekdaysShortRegex;\n    proto$1.weekdaysMinRegex = weekdaysMinRegex;\n\n    proto$1.isPM = localeIsPM;\n    proto$1.meridiem = localeMeridiem;\n\n    function get$1(format, index, field, setter) {\n        var locale = getLocale(),\n            utc = createUTC().set(setter, index);\n        return locale[field](utc, format);\n    }\n\n    function listMonthsImpl(format, index, field) {\n        if (isNumber(format)) {\n            index = format;\n            format = undefined;\n        }\n\n        format = format || '';\n\n        if (index != null) {\n            return get$1(format, index, field, 'month');\n        }\n\n        var i,\n            out = [];\n        for (i = 0; i < 12; i++) {\n            out[i] = get$1(format, i, field, 'month');\n        }\n        return out;\n    }\n\n    // ()\n    // (5)\n    // (fmt, 5)\n    // (fmt)\n    // (true)\n    // (true, 5)\n    // (true, fmt, 5)\n    // (true, fmt)\n    function listWeekdaysImpl(localeSorted, format, index, field) {\n        if (typeof localeSorted === 'boolean') {\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        } else {\n            format = localeSorted;\n            index = format;\n            localeSorted = false;\n\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        }\n\n        var locale = getLocale(),\n            shift = localeSorted ? locale._week.dow : 0,\n            i,\n            out = [];\n\n        if (index != null) {\n            return get$1(format, (index + shift) % 7, field, 'day');\n        }\n\n        for (i = 0; i < 7; i++) {\n            out[i] = get$1(format, (i + shift) % 7, field, 'day');\n        }\n        return out;\n    }\n\n    function listMonths(format, index) {\n        return listMonthsImpl(format, index, 'months');\n    }\n\n    function listMonthsShort(format, index) {\n        return listMonthsImpl(format, index, 'monthsShort');\n    }\n\n    function listWeekdays(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n    }\n\n    function listWeekdaysShort(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n    }\n\n    function listWeekdaysMin(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n    }\n\n    getSetGlobalLocale('en', {\n        eras: [\n            {\n                since: '0001-01-01',\n                until: +Infinity,\n                offset: 1,\n                name: 'Anno Domini',\n                narrow: 'AD',\n                abbr: 'AD',\n            },\n            {\n                since: '0000-12-31',\n                until: -Infinity,\n                offset: 1,\n                name: 'Before Christ',\n                narrow: 'BC',\n                abbr: 'BC',\n            },\n        ],\n        dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    toInt((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n    });\n\n    // Side effect imports\n\n    hooks.lang = deprecate(\n        'moment.lang is deprecated. Use moment.locale instead.',\n        getSetGlobalLocale\n    );\n    hooks.langData = deprecate(\n        'moment.langData is deprecated. Use moment.localeData instead.',\n        getLocale\n    );\n\n    var mathAbs = Math.abs;\n\n    function abs$1() {\n        var data = this._data;\n\n        this._milliseconds = mathAbs(this._milliseconds);\n        this._days = mathAbs(this._days);\n        this._months = mathAbs(this._months);\n\n        data.milliseconds = mathAbs(data.milliseconds);\n        data.seconds = mathAbs(data.seconds);\n        data.minutes = mathAbs(data.minutes);\n        data.hours = mathAbs(data.hours);\n        data.months = mathAbs(data.months);\n        data.years = mathAbs(data.years);\n\n        return this;\n    }\n\n    function addSubtract(duration, input, value, direction) {\n        var other = createDuration(input, value);\n\n        duration._milliseconds += direction * other._milliseconds;\n        duration._days += direction * other._days;\n        duration._months += direction * other._months;\n\n        return duration._bubble();\n    }\n\n    // supports only 2.0-style add(1, 's') or add(duration)\n    function add(input, value) {\n        return addSubtract(this, input, value, 1);\n    }\n\n    // supports only 2.0-style subtract(1, 's') or subtract(duration)\n    function subtract(input, value) {\n        return addSubtract(this, input, value, -1);\n    }\n\n    function absCeil(number) {\n        if (number < 0) {\n            return Math.floor(number);\n        } else {\n            return Math.ceil(number);\n        }\n    }\n\n    function bubble() {\n        var milliseconds = this._milliseconds,\n            days = this._days,\n            months = this._months,\n            data = this._data,\n            seconds,\n            minutes,\n            hours,\n            years,\n            monthsFromDays;\n\n        // if we have a mix of positive and negative values, bubble down first\n        // check: https://github.com/moment/moment/issues/2166\n        if (!(\n            (milliseconds >= 0 && days >= 0 && months >= 0) ||\n            (milliseconds <= 0 && days <= 0 && months <= 0)\n        )) {\n            milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n            days = 0;\n            months = 0;\n        }\n\n        // The following code bubbles up values, see the tests for\n        // examples of what that means.\n        data.milliseconds = milliseconds % 1000;\n\n        seconds = absFloor(milliseconds / 1000);\n        data.seconds = seconds % 60;\n\n        minutes = absFloor(seconds / 60);\n        data.minutes = minutes % 60;\n\n        hours = absFloor(minutes / 60);\n        data.hours = hours % 24;\n\n        days += absFloor(hours / 24);\n\n        // convert days to months\n        monthsFromDays = absFloor(daysToMonths(days));\n        months += monthsFromDays;\n        days -= absCeil(monthsToDays(monthsFromDays));\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        data.days = days;\n        data.months = months;\n        data.years = years;\n\n        return this;\n    }\n\n    function daysToMonths(days) {\n        // 400 years have 146097 days (taking into account leap year rules)\n        // 400 years have 12 months === 4800\n        return (days * 4800) / 146097;\n    }\n\n    function monthsToDays(months) {\n        // the reverse of daysToMonths\n        return (months * 146097) / 4800;\n    }\n\n    function as(units) {\n        if (!this.isValid()) {\n            return NaN;\n        }\n        var days,\n            months,\n            milliseconds = this._milliseconds;\n\n        units = normalizeUnits(units);\n\n        if (units === 'month' || units === 'quarter' || units === 'year') {\n            days = this._days + milliseconds / 864e5;\n            months = this._months + daysToMonths(days);\n            switch (units) {\n                case 'month':\n                    return months;\n                case 'quarter':\n                    return months / 3;\n                case 'year':\n                    return months / 12;\n            }\n        } else {\n            // handle milliseconds separately because of floating point math errors (issue #1867)\n            days = this._days + Math.round(monthsToDays(this._months));\n            switch (units) {\n                case 'week':\n                    return days / 7 + milliseconds / 6048e5;\n                case 'day':\n                    return days + milliseconds / 864e5;\n                case 'hour':\n                    return days * 24 + milliseconds / 36e5;\n                case 'minute':\n                    return days * 1440 + milliseconds / 6e4;\n                case 'second':\n                    return days * 86400 + milliseconds / 1000;\n                // Math.floor prevents floating point math errors here\n                case 'millisecond':\n                    return Math.floor(days * 864e5) + milliseconds;\n                default:\n                    throw new Error('Unknown unit ' + units);\n            }\n        }\n    }\n\n    function makeAs(alias) {\n        return function () {\n            return this.as(alias);\n        };\n    }\n\n    var asMilliseconds = makeAs('ms'),\n        asSeconds = makeAs('s'),\n        asMinutes = makeAs('m'),\n        asHours = makeAs('h'),\n        asDays = makeAs('d'),\n        asWeeks = makeAs('w'),\n        asMonths = makeAs('M'),\n        asQuarters = makeAs('Q'),\n        asYears = makeAs('y'),\n        valueOf = asMilliseconds;\n\n    function clone() {\n        return createDuration(this);\n    }\n\n    function get(units) {\n        units = normalizeUnits(units);\n        return this.isValid() ? this[units + 's']() : NaN;\n    }\n\n    function makeGetter(name) {\n        return function () {\n            return this.isValid() ? this._data[name] : NaN;\n        };\n    }\n\n    var milliseconds = makeGetter('milliseconds'),\n        seconds = makeGetter('seconds'),\n        minutes = makeGetter('minutes'),\n        hours = makeGetter('hours'),\n        days = makeGetter('days'),\n        months = makeGetter('months'),\n        years = makeGetter('years');\n\n    function weeks() {\n        return absFloor(this.days() / 7);\n    }\n\n    var round = Math.round,\n        thresholds = {\n            ss: 44, // a few seconds to seconds\n            s: 45, // seconds to minute\n            m: 45, // minutes to hour\n            h: 22, // hours to day\n            d: 26, // days to month/week\n            w: null, // weeks to month\n            M: 11, // months to year\n        };\n\n    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n    function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n        return relativeTimeWithoutPostformat.call(\n            locale,\n            number || 1,\n            !!withoutSuffix,\n            string,\n            isFuture\n        );\n    }\n\n    function relativeTime(posNegDuration, withoutSuffix, thresholds, locale) {\n        var duration = createDuration(posNegDuration).abs(),\n            seconds = round(duration.as('s')),\n            minutes = round(duration.as('m')),\n            hours = round(duration.as('h')),\n            days = round(duration.as('d')),\n            months = round(duration.as('M')),\n            weeks = round(duration.as('w')),\n            years = round(duration.as('y')),\n            a =\n                (seconds <= thresholds.ss && ['s', seconds]) ||\n                (seconds < thresholds.s && ['ss', seconds]) ||\n                (minutes <= 1 && ['m']) ||\n                (minutes < thresholds.m && ['mm', minutes]) ||\n                (hours <= 1 && ['h']) ||\n                (hours < thresholds.h && ['hh', hours]) ||\n                (days <= 1 && ['d']) ||\n                (days < thresholds.d && ['dd', days]);\n\n        if (thresholds.w != null) {\n            a =\n                a ||\n                (weeks <= 1 && ['w']) ||\n                (weeks < thresholds.w && ['ww', weeks]);\n        }\n        a = a ||\n            (months <= 1 && ['M']) ||\n            (months < thresholds.M && ['MM', months]) ||\n            (years <= 1 && ['y']) || ['yy', years];\n\n        a[2] = withoutSuffix;\n        a[3] = +posNegDuration > 0;\n        a[4] = locale;\n        return substituteTimeAgo.apply(null, a);\n    }\n\n    // This function allows you to set the rounding function for relative time strings\n    function getSetRelativeTimeRounding(roundingFunction) {\n        if (roundingFunction === undefined) {\n            return round;\n        }\n        if (typeof roundingFunction === 'function') {\n            round = roundingFunction;\n            return true;\n        }\n        return false;\n    }\n\n    // This function allows you to set a threshold for relative time strings\n    function getSetRelativeTimeThreshold(threshold, limit) {\n        if (thresholds[threshold] === undefined) {\n            return false;\n        }\n        if (limit === undefined) {\n            return thresholds[threshold];\n        }\n        thresholds[threshold] = limit;\n        if (threshold === 's') {\n            thresholds.ss = limit - 1;\n        }\n        return true;\n    }\n\n    function humanize(argWithSuffix, argThresholds) {\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var withSuffix = false,\n            th = thresholds,\n            locale,\n            output;\n\n        if (typeof argWithSuffix === 'object') {\n            argThresholds = argWithSuffix;\n            argWithSuffix = false;\n        }\n        if (typeof argWithSuffix === 'boolean') {\n            withSuffix = argWithSuffix;\n        }\n        if (typeof argThresholds === 'object') {\n            th = extend(extend({}, thresholds), argThresholds || {});\n            if (argThresholds.s != null && argThresholds.ss == null) {\n                th.ss = argThresholds.s - 1;\n            }\n        }\n\n        locale = this.localeData();\n        output = relativeTime(this, !withSuffix, th, locale);\n\n        if (withSuffix) {\n            output = pastFutureWithoutPostformat.call(locale, +this, output);\n        }\n\n        return locale.postformat(output);\n    }\n\n    var abs = Math.abs;\n\n    function sign(x) {\n        return (x > 0) - (x < 0) || +x;\n    }\n\n    function toISOString() {\n        // for ISO strings we do not use the normal bubbling rules:\n        //  * milliseconds bubble up until they become hours\n        //  * days do not bubble at all\n        //  * months bubble up until they become years\n        // This is because there is no context-free conversion between hours and days\n        // (think of clock changes)\n        // and also not between days and months (28-31 days per month)\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var seconds = abs(this._milliseconds) / 1000,\n            days = abs(this._days),\n            months = abs(this._months),\n            minutes,\n            hours,\n            years,\n            s,\n            total = this.asSeconds(),\n            totalSign,\n            ymSign,\n            daysSign,\n            hmsSign;\n\n        if (!total) {\n            // this is the same as C#'s (Noda) and python (isodate)...\n            // but not other JS (goog.date)\n            return 'P0D';\n        }\n\n        // 3600 seconds -> 60 minutes -> 1 hour\n        minutes = absFloor(seconds / 60);\n        hours = absFloor(minutes / 60);\n        seconds %= 60;\n        minutes %= 60;\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n        s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n        totalSign = total < 0 ? '-' : '';\n        ymSign = sign(this._months) !== sign(total) ? '-' : '';\n        daysSign = sign(this._days) !== sign(total) ? '-' : '';\n        hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n        return (\n            totalSign +\n            'P' +\n            (years ? ymSign + years + 'Y' : '') +\n            (months ? ymSign + months + 'M' : '') +\n            (days ? daysSign + days + 'D' : '') +\n            (hours || minutes || seconds ? 'T' : '') +\n            (hours ? hmsSign + hours + 'H' : '') +\n            (minutes ? hmsSign + minutes + 'M' : '') +\n            (seconds ? hmsSign + s + 'S' : '')\n        );\n    }\n\n    var proto = Duration.prototype;\n\n    proto.isValid = isValid$1;\n    proto.abs = abs$1;\n    proto.add = add;\n    proto.subtract = subtract;\n    proto.as = as;\n    proto.asMilliseconds = asMilliseconds;\n    proto.asSeconds = asSeconds;\n    proto.asMinutes = asMinutes;\n    proto.asHours = asHours;\n    proto.asDays = asDays;\n    proto.asWeeks = asWeeks;\n    proto.asMonths = asMonths;\n    proto.asQuarters = asQuarters;\n    proto.asYears = asYears;\n    proto.valueOf = valueOf;\n    proto._bubble = bubble;\n    proto.clone = clone;\n    proto.get = get;\n    proto.milliseconds = milliseconds;\n    proto.seconds = seconds;\n    proto.minutes = minutes;\n    proto.hours = hours;\n    proto.days = days;\n    proto.weeks = weeks;\n    proto.months = months;\n    proto.years = years;\n    proto.humanize = humanize;\n    proto.toISOString = toISOString;\n    proto.toString = toISOString;\n    proto.toJSON = toISOString;\n    proto.locale = locale;\n    proto.localeData = localeData;\n\n    proto.toIsoString = deprecate(\n        'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n        toISOString\n    );\n    proto.lang = lang;\n\n    // FORMATTING\n\n    addFormatToken('X', 0, 0, 'unix');\n    addFormatToken('x', 0, 0, 'valueOf');\n\n    // PARSING\n\n    addRegexToken('x', matchSigned);\n    addRegexToken('X', matchTimestamp);\n    addParseToken('X', function (input, array, config) {\n        config._d = new Date(parseFloat(input) * 1000);\n    });\n    addParseToken('x', function (input, array, config) {\n        config._d = new Date(toInt(input));\n    });\n\n    //! moment.js\n\n    hooks.version = '2.31.0';\n\n    setHookCallback(createLocal);\n\n    hooks.fn = proto$2;\n    hooks.min = min;\n    hooks.max = max;\n    hooks.now = now;\n    hooks.utc = createUTC;\n    hooks.unix = createUnix;\n    hooks.months = listMonths;\n    hooks.isDate = isDate;\n    hooks.locale = getSetGlobalLocale;\n    hooks.invalid = createInvalid$1;\n    hooks.duration = createDuration;\n    hooks.isMoment = isMoment;\n    hooks.weekdays = listWeekdays;\n    hooks.parseZone = createInZone;\n    hooks.localeData = getLocale;\n    hooks.isDuration = isDuration;\n    hooks.monthsShort = listMonthsShort;\n    hooks.weekdaysMin = listWeekdaysMin;\n    hooks.defineLocale = defineLocale;\n    hooks.updateLocale = updateLocale;\n    hooks.locales = listLocales;\n    hooks.weekdaysShort = listWeekdaysShort;\n    hooks.normalizeUnits = normalizeUnits;\n    hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n    hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n    hooks.calendarFormat = getCalendarFormat;\n    hooks.prototype = proto$2;\n\n    // currently HTML5 input type only supports 24-hour formats\n    hooks.HTML5_FMT = {\n        DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type=\"datetime-local\" />\n        DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type=\"datetime-local\" step=\"1\" />\n        DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type=\"datetime-local\" step=\"0.001\" />\n        DATE: 'YYYY-MM-DD', // <input type=\"date\" />\n        TIME: 'HH:mm', // <input type=\"time\" />\n        TIME_SECONDS: 'HH:mm:ss', // <input type=\"time\" step=\"1\" />\n        TIME_MS: 'HH:mm:ss.SSS', // <input type=\"time\" step=\"0.001\" />\n        WEEK: 'GGGG-[W]WW', // <input type=\"week\" />\n        MONTH: 'YYYY-MM', // <input type=\"month\" />\n    };\n\n    return hooks;\n\n})));\n","//     Int64.js\n//\n//     Copyright (c) 2012 Robert Kieffer\n//     MIT License - http://opensource.org/licenses/mit-license.php\n\n/**\n * Support for handling 64-bit int numbers in Javascript (node.js)\n *\n * JS Numbers are IEEE-754 binary double-precision floats, which limits the\n * range of values that can be represented with integer precision to:\n *\n * 2^^53 <= N <= 2^53\n *\n * Int64 objects wrap a node Buffer that holds the 8-bytes of int64 data.  These\n * objects operate directly on the buffer which means that if they are created\n * using an existing buffer then setting the value will modify the Buffer, and\n * vice-versa.\n *\n * Internal Representation\n *\n * The internal buffer format is Big Endian.  I.e. the most-significant byte is\n * at buffer[0], the least-significant at buffer[7].  For the purposes of\n * converting to/from JS native numbers, the value is assumed to be a signed\n * integer stored in 2's complement form.\n *\n * For details about IEEE-754 see:\n * http://en.wikipedia.org/wiki/Double_precision_floating-point_format\n */\n\n// Useful masks and values for bit twiddling\nvar MASK31 =  0x7fffffff, VAL31 = 0x80000000;\nvar MASK32 =  0xffffffff, VAL32 = 0x100000000;\n\n// Map for converting hex octets to strings\nvar _HEX = [];\nfor (var i = 0; i < 256; i++) {\n  _HEX[i] = (i > 0xF ? '' : '0') + i.toString(16);\n}\n\n//\n// Int64\n//\n\n/**\n * Constructor accepts any of the following argument types:\n *\n * new Int64(buffer[, offset=0]) - Existing Buffer with byte offset\n * new Int64(Uint8Array[, offset=0]) - Existing Uint8Array with a byte offset\n * new Int64(string)             - Hex string (throws if n is outside int64 range)\n * new Int64(number)             - Number (throws if n is outside int64 range)\n * new Int64(hi, lo)             - Raw bits as two 32-bit values\n */\nvar Int64 = module.exports = function(a1, a2) {\n  if (a1 instanceof Buffer) {\n    this.buffer = a1;\n    this.offset = a2 || 0;\n  } else if (Object.prototype.toString.call(a1) == '[object Uint8Array]') {\n    // Under Browserify, Buffers can extend Uint8Arrays rather than an\n    // instance of Buffer. We could assume the passed in Uint8Array is actually\n    // a buffer but that won't handle the case where a raw Uint8Array is passed\n    // in. We construct a new Buffer just in case.\n    this.buffer = new Buffer(a1);\n    this.offset = a2 || 0;\n  } else {\n    this.buffer = this.buffer || new Buffer(8);\n    this.offset = 0;\n    this.setValue.apply(this, arguments);\n  }\n};\n\n\n// Max integer value that JS can accurately represent\nInt64.MAX_INT = Math.pow(2, 53);\n\n// Min integer value that JS can accurately represent\nInt64.MIN_INT = -Math.pow(2, 53);\n\nInt64.prototype = {\n\n  constructor: Int64,\n\n  /**\n   * Do in-place 2's compliment.  See\n   * http://en.wikipedia.org/wiki/Two's_complement\n   */\n  _2scomp: function() {\n    var b = this.buffer, o = this.offset, carry = 1;\n    for (var i = o + 7; i >= o; i--) {\n      var v = (b[i] ^ 0xff) + carry;\n      b[i] = v & 0xff;\n      carry = v >> 8;\n    }\n  },\n\n  /**\n   * Set the value. Takes any of the following arguments:\n   *\n   * setValue(string) - A hexidecimal string\n   * setValue(number) - Number (throws if n is outside int64 range)\n   * setValue(hi, lo) - Raw bits as two 32-bit values\n   */\n  setValue: function(hi, lo) {\n    var negate = false;\n    if (arguments.length == 1) {\n      if (typeof(hi) == 'number') {\n        // Simplify bitfield retrieval by using abs() value.  We restore sign\n        // later\n        negate = hi < 0;\n        hi = Math.abs(hi);\n        lo = hi % VAL32;\n        hi = hi / VAL32;\n        if (hi > VAL32) throw new RangeError(hi  + ' is outside Int64 range');\n        hi = hi | 0;\n      } else if (typeof(hi) == 'string') {\n        hi = (hi + '').replace(/^0x/, '');\n        lo = hi.substr(-8);\n        hi = hi.length > 8 ? hi.substr(0, hi.length - 8) : '';\n        hi = parseInt(hi, 16);\n        lo = parseInt(lo, 16);\n      } else {\n        throw new Error(hi + ' must be a Number or String');\n      }\n    }\n\n    // Technically we should throw if hi or lo is outside int32 range here, but\n    // it's not worth the effort. Anything past the 32'nd bit is ignored.\n\n    // Copy bytes to buffer\n    var b = this.buffer, o = this.offset;\n    for (var i = 7; i >= 0; i--) {\n      b[o+i] = lo & 0xff;\n      lo = i == 4 ? hi : lo >>> 8;\n    }\n\n    // Restore sign of passed argument\n    if (negate) this._2scomp();\n  },\n\n  /**\n   * Convert to a native JS number.\n   *\n   * WARNING: Do not expect this value to be accurate to integer precision for\n   * large (positive or negative) numbers!\n   *\n   * @param allowImprecise If true, no check is performed to verify the\n   * returned value is accurate to integer precision.  If false, imprecise\n   * numbers (very large positive or negative numbers) will be forced to +/-\n   * Infinity.\n   */\n  toNumber: function(allowImprecise) {\n    var b = this.buffer, o = this.offset;\n\n    // Running sum of octets, doing a 2's complement\n    var negate = b[o] & 0x80, x = 0, carry = 1;\n    for (var i = 7, m = 1; i >= 0; i--, m *= 256) {\n      var v = b[o+i];\n\n      // 2's complement for negative numbers\n      if (negate) {\n        v = (v ^ 0xff) + carry;\n        carry = v >> 8;\n        v = v & 0xff;\n      }\n\n      x += v * m;\n    }\n\n    // Return Infinity if we've lost integer precision\n    if (!allowImprecise && x >= Int64.MAX_INT) {\n      return negate ? -Infinity : Infinity;\n    }\n\n    return negate ? -x : x;\n  },\n\n  /**\n   * Convert to a JS Number. Returns +/-Infinity for values that can't be\n   * represented to integer precision.\n   */\n  valueOf: function() {\n    return this.toNumber(false);\n  },\n\n  /**\n   * Return string value\n   *\n   * @param radix Just like Number#toString()'s radix\n   */\n  toString: function(radix) {\n    return this.valueOf().toString(radix || 10);\n  },\n\n  /**\n   * Return a string showing the buffer octets, with MSB on the left.\n   *\n   * @param sep separator string. default is '' (empty string)\n   */\n  toOctetString: function(sep) {\n    var out = new Array(8);\n    var b = this.buffer, o = this.offset;\n    for (var i = 0; i < 8; i++) {\n      out[i] = _HEX[b[o+i]];\n    }\n    return out.join(sep || '');\n  },\n\n  /**\n   * Returns the int64's 8 bytes in a buffer.\n   *\n   * @param {bool} [rawBuffer=false]  If no offset and this is true, return the internal buffer.  Should only be used if\n   *                                  you're discarding the Int64 afterwards, as it breaks encapsulation.\n   */\n  toBuffer: function(rawBuffer) {\n    if (rawBuffer && this.offset === 0) return this.buffer;\n\n    var out = new Buffer(8);\n    this.buffer.copy(out, 0, this.offset, this.offset + 8);\n    return out;\n  },\n\n  /**\n   * Copy 8 bytes of int64 into target buffer at target offset.\n   *\n   * @param {Buffer} targetBuffer       Buffer to copy into.\n   * @param {number} [targetOffset=0]   Offset into target buffer.\n   */\n  copy: function(targetBuffer, targetOffset) {\n    this.buffer.copy(targetBuffer, targetOffset || 0, this.offset, this.offset + 8);\n  },\n\n  /**\n   * Returns a number indicating whether this comes before or after or is the\n   * same as the other in sort order.\n   *\n   * @param {Int64} other  Other Int64 to compare.\n   */\n  compare: function(other) {\n\n    // If sign bits differ ...\n    if ((this.buffer[this.offset] & 0x80) != (other.buffer[other.offset] & 0x80)) {\n      return other.buffer[other.offset] - this.buffer[this.offset];\n    }\n\n    // otherwise, compare bytes lexicographically\n    for (var i = 0; i < 8; i++) {\n      if (this.buffer[this.offset+i] !== other.buffer[other.offset+i]) {\n        return this.buffer[this.offset+i] - other.buffer[other.offset+i];\n      }\n    }\n    return 0;\n  },\n\n  /**\n   * Returns a boolean indicating if this integer is equal to other.\n   *\n   * @param {Int64} other  Other Int64 to compare.\n   */\n  equals: function(other) {\n    return this.compare(other) === 0;\n  },\n\n  /**\n   * Pretty output in console.log\n   */\n  inspect: function() {\n    return '[Int64 value:' + this + ' octets:' + this.toOctetString(' ') + ']';\n  }\n};\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory();\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\troot.CryptoJS = factory();\n\t}\n}(this, function () {\n\n\t/*globals window, global, require*/\n\n\t/**\n\t * CryptoJS core components.\n\t */\n\tvar CryptoJS = CryptoJS || (function (Math, undefined) {\n\n\t    var crypto;\n\n\t    // Native crypto from window (Browser)\n\t    if (typeof window !== 'undefined' && window.crypto) {\n\t        crypto = window.crypto;\n\t    }\n\n\t    // Native crypto in web worker (Browser)\n\t    if (typeof self !== 'undefined' && self.crypto) {\n\t        crypto = self.crypto;\n\t    }\n\n\t    // Native crypto from worker\n\t    if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n\t        crypto = globalThis.crypto;\n\t    }\n\n\t    // Native (experimental IE 11) crypto from window (Browser)\n\t    if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n\t        crypto = window.msCrypto;\n\t    }\n\n\t    // Native crypto from global (NodeJS)\n\t    if (!crypto && typeof global !== 'undefined' && global.crypto) {\n\t        crypto = global.crypto;\n\t    }\n\n\t    // Native crypto import via require (NodeJS)\n\t    if (!crypto && typeof require === 'function') {\n\t        try {\n\t            crypto = require('crypto');\n\t        } catch (err) {}\n\t    }\n\n\t    /*\n\t     * Cryptographically secure pseudorandom number generator\n\t     *\n\t     * As Math.random() is cryptographically not safe to use\n\t     */\n\t    var cryptoSecureRandomInt = function () {\n\t        if (crypto) {\n\t            // Use getRandomValues method (Browser)\n\t            if (typeof crypto.getRandomValues === 'function') {\n\t                try {\n\t                    return crypto.getRandomValues(new Uint32Array(1))[0];\n\t                } catch (err) {}\n\t            }\n\n\t            // Use randomBytes method (NodeJS)\n\t            if (typeof crypto.randomBytes === 'function') {\n\t                try {\n\t                    return crypto.randomBytes(4).readInt32LE();\n\t                } catch (err) {}\n\t            }\n\t        }\n\n\t        throw new Error('Native crypto module could not be used to get secure random number.');\n\t    };\n\n\t    /*\n\t     * Local polyfill of Object.create\n\n\t     */\n\t    var create = Object.create || (function () {\n\t        function F() {}\n\n\t        return function (obj) {\n\t            var subtype;\n\n\t            F.prototype = obj;\n\n\t            subtype = new F();\n\n\t            F.prototype = null;\n\n\t            return subtype;\n\t        };\n\t    }());\n\n\t    /**\n\t     * CryptoJS namespace.\n\t     */\n\t    var C = {};\n\n\t    /**\n\t     * Library namespace.\n\t     */\n\t    var C_lib = C.lib = {};\n\n\t    /**\n\t     * Base object for prototypal inheritance.\n\t     */\n\t    var Base = C_lib.Base = (function () {\n\n\n\t        return {\n\t            /**\n\t             * Creates a new object that inherits from this object.\n\t             *\n\t             * @param {Object} overrides Properties to copy into the new object.\n\t             *\n\t             * @return {Object} The new object.\n\t             *\n\t             * @static\n\t             *\n\t             * @example\n\t             *\n\t             *     var MyType = CryptoJS.lib.Base.extend({\n\t             *         field: 'value',\n\t             *\n\t             *         method: function () {\n\t             *         }\n\t             *     });\n\t             */\n\t            extend: function (overrides) {\n\t                // Spawn\n\t                var subtype = create(this);\n\n\t                // Augment\n\t                if (overrides) {\n\t                    subtype.mixIn(overrides);\n\t                }\n\n\t                // Create default initializer\n\t                if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t                    subtype.init = function () {\n\t                        subtype.$super.init.apply(this, arguments);\n\t                    };\n\t                }\n\n\t                // Initializer's prototype is the subtype object\n\t                subtype.init.prototype = subtype;\n\n\t                // Reference supertype\n\t                subtype.$super = this;\n\n\t                return subtype;\n\t            },\n\n\t            /**\n\t             * Extends this object and runs the init method.\n\t             * Arguments to create() will be passed to init().\n\t             *\n\t             * @return {Object} The new object.\n\t             *\n\t             * @static\n\t             *\n\t             * @example\n\t             *\n\t             *     var instance = MyType.create();\n\t             */\n\t            create: function () {\n\t                var instance = this.extend();\n\t                instance.init.apply(instance, arguments);\n\n\t                return instance;\n\t            },\n\n\t            /**\n\t             * Initializes a newly created object.\n\t             * Override this method to add some logic when your objects are created.\n\t             *\n\t             * @example\n\t             *\n\t             *     var MyType = CryptoJS.lib.Base.extend({\n\t             *         init: function () {\n\t             *             // ...\n\t             *         }\n\t             *     });\n\t             */\n\t            init: function () {\n\t            },\n\n\t            /**\n\t             * Copies properties into this object.\n\t             *\n\t             * @param {Object} properties The properties to mix in.\n\t             *\n\t             * @example\n\t             *\n\t             *     MyType.mixIn({\n\t             *         field: 'value'\n\t             *     });\n\t             */\n\t            mixIn: function (properties) {\n\t                for (var propertyName in properties) {\n\t                    if (properties.hasOwnProperty(propertyName)) {\n\t                        this[propertyName] = properties[propertyName];\n\t                    }\n\t                }\n\n\t                // IE won't copy toString using the loop above\n\t                if (properties.hasOwnProperty('toString')) {\n\t                    this.toString = properties.toString;\n\t                }\n\t            },\n\n\t            /**\n\t             * Creates a copy of this object.\n\t             *\n\t             * @return {Object} The clone.\n\t             *\n\t             * @example\n\t             *\n\t             *     var clone = instance.clone();\n\t             */\n\t            clone: function () {\n\t                return this.init.prototype.extend(this);\n\t            }\n\t        };\n\t    }());\n\n\t    /**\n\t     * An array of 32-bit words.\n\t     *\n\t     * @property {Array} words The array of 32-bit words.\n\t     * @property {number} sigBytes The number of significant bytes in this word array.\n\t     */\n\t    var WordArray = C_lib.WordArray = Base.extend({\n\t        /**\n\t         * Initializes a newly created word array.\n\t         *\n\t         * @param {Array} words (Optional) An array of 32-bit words.\n\t         * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t         *\n\t         * @example\n\t         *\n\t         *     var wordArray = CryptoJS.lib.WordArray.create();\n\t         *     var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t         *     var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t         */\n\t        init: function (words, sigBytes) {\n\t            words = this.words = words || [];\n\n\t            if (sigBytes != undefined) {\n\t                this.sigBytes = sigBytes;\n\t            } else {\n\t                this.sigBytes = words.length * 4;\n\t            }\n\t        },\n\n\t        /**\n\t         * Converts this word array to a string.\n\t         *\n\t         * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t         *\n\t         * @return {string} The stringified word array.\n\t         *\n\t         * @example\n\t         *\n\t         *     var string = wordArray + '';\n\t         *     var string = wordArray.toString();\n\t         *     var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t         */\n\t        toString: function (encoder) {\n\t            return (encoder || Hex).stringify(this);\n\t        },\n\n\t        /**\n\t         * Concatenates a word array to this word array.\n\t         *\n\t         * @param {WordArray} wordArray The word array to append.\n\t         *\n\t         * @return {WordArray} This word array.\n\t         *\n\t         * @example\n\t         *\n\t         *     wordArray1.concat(wordArray2);\n\t         */\n\t        concat: function (wordArray) {\n\t            // Shortcuts\n\t            var thisWords = this.words;\n\t            var thatWords = wordArray.words;\n\t            var thisSigBytes = this.sigBytes;\n\t            var thatSigBytes = wordArray.sigBytes;\n\n\t            // Clamp excess bits\n\t            this.clamp();\n\n\t            // Concat\n\t            if (thisSigBytes % 4) {\n\t                // Copy one byte at a time\n\t                for (var i = 0; i < thatSigBytes; i++) {\n\t                    var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t                    thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t                }\n\t            } else {\n\t                // Copy one word at a time\n\t                for (var j = 0; j < thatSigBytes; j += 4) {\n\t                    thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n\t                }\n\t            }\n\t            this.sigBytes += thatSigBytes;\n\n\t            // Chainable\n\t            return this;\n\t        },\n\n\t        /**\n\t         * Removes insignificant bits.\n\t         *\n\t         * @example\n\t         *\n\t         *     wordArray.clamp();\n\t         */\n\t        clamp: function () {\n\t            // Shortcuts\n\t            var words = this.words;\n\t            var sigBytes = this.sigBytes;\n\n\t            // Clamp\n\t            words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t            words.length = Math.ceil(sigBytes / 4);\n\t        },\n\n\t        /**\n\t         * Creates a copy of this word array.\n\t         *\n\t         * @return {WordArray} The clone.\n\t         *\n\t         * @example\n\t         *\n\t         *     var clone = wordArray.clone();\n\t         */\n\t        clone: function () {\n\t            var clone = Base.clone.call(this);\n\t            clone.words = this.words.slice(0);\n\n\t            return clone;\n\t        },\n\n\t        /**\n\t         * Creates a word array filled with random bytes.\n\t         *\n\t         * @param {number} nBytes The number of random bytes to generate.\n\t         *\n\t         * @return {WordArray} The random word array.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var wordArray = CryptoJS.lib.WordArray.random(16);\n\t         */\n\t        random: function (nBytes) {\n\t            var words = [];\n\n\t            for (var i = 0; i < nBytes; i += 4) {\n\t                words.push(cryptoSecureRandomInt());\n\t            }\n\n\t            return new WordArray.init(words, nBytes);\n\t        }\n\t    });\n\n\t    /**\n\t     * Encoder namespace.\n\t     */\n\t    var C_enc = C.enc = {};\n\n\t    /**\n\t     * Hex encoding strategy.\n\t     */\n\t    var Hex = C_enc.Hex = {\n\t        /**\n\t         * Converts a word array to a hex string.\n\t         *\n\t         * @param {WordArray} wordArray The word array.\n\t         *\n\t         * @return {string} The hex string.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t         */\n\t        stringify: function (wordArray) {\n\t            // Shortcuts\n\t            var words = wordArray.words;\n\t            var sigBytes = wordArray.sigBytes;\n\n\t            // Convert\n\t            var hexChars = [];\n\t            for (var i = 0; i < sigBytes; i++) {\n\t                var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t                hexChars.push((bite >>> 4).toString(16));\n\t                hexChars.push((bite & 0x0f).toString(16));\n\t            }\n\n\t            return hexChars.join('');\n\t        },\n\n\t        /**\n\t         * Converts a hex string to a word array.\n\t         *\n\t         * @param {string} hexStr The hex string.\n\t         *\n\t         * @return {WordArray} The word array.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t         */\n\t        parse: function (hexStr) {\n\t            // Shortcut\n\t            var hexStrLength = hexStr.length;\n\n\t            // Convert\n\t            var words = [];\n\t            for (var i = 0; i < hexStrLength; i += 2) {\n\t                words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t            }\n\n\t            return new WordArray.init(words, hexStrLength / 2);\n\t        }\n\t    };\n\n\t    /**\n\t     * Latin1 encoding strategy.\n\t     */\n\t    var Latin1 = C_enc.Latin1 = {\n\t        /**\n\t         * Converts a word array to a Latin1 string.\n\t         *\n\t         * @param {WordArray} wordArray The word array.\n\t         *\n\t         * @return {string} The Latin1 string.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t         */\n\t        stringify: function (wordArray) {\n\t            // Shortcuts\n\t            var words = wordArray.words;\n\t            var sigBytes = wordArray.sigBytes;\n\n\t            // Convert\n\t            var latin1Chars = [];\n\t            for (var i = 0; i < sigBytes; i++) {\n\t                var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t                latin1Chars.push(String.fromCharCode(bite));\n\t            }\n\n\t            return latin1Chars.join('');\n\t        },\n\n\t        /**\n\t         * Converts a Latin1 string to a word array.\n\t         *\n\t         * @param {string} latin1Str The Latin1 string.\n\t         *\n\t         * @return {WordArray} The word array.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t         */\n\t        parse: function (latin1Str) {\n\t            // Shortcut\n\t            var latin1StrLength = latin1Str.length;\n\n\t            // Convert\n\t            var words = [];\n\t            for (var i = 0; i < latin1StrLength; i++) {\n\t                words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t            }\n\n\t            return new WordArray.init(words, latin1StrLength);\n\t        }\n\t    };\n\n\t    /**\n\t     * UTF-8 encoding strategy.\n\t     */\n\t    var Utf8 = C_enc.Utf8 = {\n\t        /**\n\t         * Converts a word array to a UTF-8 string.\n\t         *\n\t         * @param {WordArray} wordArray The word array.\n\t         *\n\t         * @return {string} The UTF-8 string.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t         */\n\t        stringify: function (wordArray) {\n\t            try {\n\t                return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t            } catch (e) {\n\t                throw new Error('Malformed UTF-8 data');\n\t            }\n\t        },\n\n\t        /**\n\t         * Converts a UTF-8 string to a word array.\n\t         *\n\t         * @param {string} utf8Str The UTF-8 string.\n\t         *\n\t         * @return {WordArray} The word array.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t         */\n\t        parse: function (utf8Str) {\n\t            return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t        }\n\t    };\n\n\t    /**\n\t     * Abstract buffered block algorithm template.\n\t     *\n\t     * The property blockSize must be implemented in a concrete subtype.\n\t     *\n\t     * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t     */\n\t    var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t        /**\n\t         * Resets this block algorithm's data buffer to its initial state.\n\t         *\n\t         * @example\n\t         *\n\t         *     bufferedBlockAlgorithm.reset();\n\t         */\n\t        reset: function () {\n\t            // Initial values\n\t            this._data = new WordArray.init();\n\t            this._nDataBytes = 0;\n\t        },\n\n\t        /**\n\t         * Adds new data to this block algorithm's buffer.\n\t         *\n\t         * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t         *\n\t         * @example\n\t         *\n\t         *     bufferedBlockAlgorithm._append('data');\n\t         *     bufferedBlockAlgorithm._append(wordArray);\n\t         */\n\t        _append: function (data) {\n\t            // Convert string to WordArray, else assume WordArray already\n\t            if (typeof data == 'string') {\n\t                data = Utf8.parse(data);\n\t            }\n\n\t            // Append\n\t            this._data.concat(data);\n\t            this._nDataBytes += data.sigBytes;\n\t        },\n\n\t        /**\n\t         * Processes available data blocks.\n\t         *\n\t         * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t         *\n\t         * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t         *\n\t         * @return {WordArray} The processed data.\n\t         *\n\t         * @example\n\t         *\n\t         *     var processedData = bufferedBlockAlgorithm._process();\n\t         *     var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t         */\n\t        _process: function (doFlush) {\n\t            var processedWords;\n\n\t            // Shortcuts\n\t            var data = this._data;\n\t            var dataWords = data.words;\n\t            var dataSigBytes = data.sigBytes;\n\t            var blockSize = this.blockSize;\n\t            var blockSizeBytes = blockSize * 4;\n\n\t            // Count blocks ready\n\t            var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t            if (doFlush) {\n\t                // Round up to include partial blocks\n\t                nBlocksReady = Math.ceil(nBlocksReady);\n\t            } else {\n\t                // Round down to include only full blocks,\n\t                // less the number of blocks that must remain in the buffer\n\t                nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t            }\n\n\t            // Count words ready\n\t            var nWordsReady = nBlocksReady * blockSize;\n\n\t            // Count bytes ready\n\t            var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t            // Process blocks\n\t            if (nWordsReady) {\n\t                for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t                    // Perform concrete-algorithm logic\n\t                    this._doProcessBlock(dataWords, offset);\n\t                }\n\n\t                // Remove processed words\n\t                processedWords = dataWords.splice(0, nWordsReady);\n\t                data.sigBytes -= nBytesReady;\n\t            }\n\n\t            // Return processed words\n\t            return new WordArray.init(processedWords, nBytesReady);\n\t        },\n\n\t        /**\n\t         * Creates a copy of this object.\n\t         *\n\t         * @return {Object} The clone.\n\t         *\n\t         * @example\n\t         *\n\t         *     var clone = bufferedBlockAlgorithm.clone();\n\t         */\n\t        clone: function () {\n\t            var clone = Base.clone.call(this);\n\t            clone._data = this._data.clone();\n\n\t            return clone;\n\t        },\n\n\t        _minBufferSize: 0\n\t    });\n\n\t    /**\n\t     * Abstract hasher template.\n\t     *\n\t     * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t     */\n\t    var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t        /**\n\t         * Configuration options.\n\t         */\n\t        cfg: Base.extend(),\n\n\t        /**\n\t         * Initializes a newly created hasher.\n\t         *\n\t         * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t         *\n\t         * @example\n\t         *\n\t         *     var hasher = CryptoJS.algo.SHA256.create();\n\t         */\n\t        init: function (cfg) {\n\t            // Apply config defaults\n\t            this.cfg = this.cfg.extend(cfg);\n\n\t            // Set initial values\n\t            this.reset();\n\t        },\n\n\t        /**\n\t         * Resets this hasher to its initial state.\n\t         *\n\t         * @example\n\t         *\n\t         *     hasher.reset();\n\t         */\n\t        reset: function () {\n\t            // Reset data buffer\n\t            BufferedBlockAlgorithm.reset.call(this);\n\n\t            // Perform concrete-hasher logic\n\t            this._doReset();\n\t        },\n\n\t        /**\n\t         * Updates this hasher with a message.\n\t         *\n\t         * @param {WordArray|string} messageUpdate The message to append.\n\t         *\n\t         * @return {Hasher} This hasher.\n\t         *\n\t         * @example\n\t         *\n\t         *     hasher.update('message');\n\t         *     hasher.update(wordArray);\n\t         */\n\t        update: function (messageUpdate) {\n\t            // Append\n\t            this._append(messageUpdate);\n\n\t            // Update the hash\n\t            this._process();\n\n\t            // Chainable\n\t            return this;\n\t        },\n\n\t        /**\n\t         * Finalizes the hash computation.\n\t         * Note that the finalize operation is effectively a destructive, read-once operation.\n\t         *\n\t         * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t         *\n\t         * @return {WordArray} The hash.\n\t         *\n\t         * @example\n\t         *\n\t         *     var hash = hasher.finalize();\n\t         *     var hash = hasher.finalize('message');\n\t         *     var hash = hasher.finalize(wordArray);\n\t         */\n\t        finalize: function (messageUpdate) {\n\t            // Final message update\n\t            if (messageUpdate) {\n\t                this._append(messageUpdate);\n\t            }\n\n\t            // Perform concrete-hasher logic\n\t            var hash = this._doFinalize();\n\n\t            return hash;\n\t        },\n\n\t        blockSize: 512/32,\n\n\t        /**\n\t         * Creates a shortcut function to a hasher's object interface.\n\t         *\n\t         * @param {Hasher} hasher The hasher to create a helper for.\n\t         *\n\t         * @return {Function} The shortcut function.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t         */\n\t        _createHelper: function (hasher) {\n\t            return function (message, cfg) {\n\t                return new hasher.init(cfg).finalize(message);\n\t            };\n\t        },\n\n\t        /**\n\t         * Creates a shortcut function to the HMAC's object interface.\n\t         *\n\t         * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t         *\n\t         * @return {Function} The shortcut function.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t         */\n\t        _createHmacHelper: function (hasher) {\n\t            return function (message, key) {\n\t                return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t            };\n\t        }\n\t    });\n\n\t    /**\n\t     * Algorithm namespace.\n\t     */\n\t    var C_algo = C.algo = {};\n\n\t    return C;\n\t}(Math));\n\n\n\treturn CryptoJS;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t    // Shortcuts\n\t    var C = CryptoJS;\n\t    var C_lib = C.lib;\n\t    var WordArray = C_lib.WordArray;\n\t    var C_enc = C.enc;\n\n\t    /**\n\t     * Base64url encoding strategy.\n\t     */\n\t    var Base64url = C_enc.Base64url = {\n\t        /**\n\t         * Converts a word array to a Base64url string.\n\t         *\n\t         * @param {WordArray} wordArray The word array.\n\t         *\n\t         * @param {boolean} urlSafe Whether to use url safe\n\t         *\n\t         * @return {string} The Base64url string.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var base64String = CryptoJS.enc.Base64url.stringify(wordArray);\n\t         */\n\t        stringify: function (wordArray, urlSafe) {\n\t            if (urlSafe === undefined) {\n\t                urlSafe = true\n\t            }\n\t            // Shortcuts\n\t            var words = wordArray.words;\n\t            var sigBytes = wordArray.sigBytes;\n\t            var map = urlSafe ? this._safe_map : this._map;\n\n\t            // Clamp excess bits\n\t            wordArray.clamp();\n\n\t            // Convert\n\t            var base64Chars = [];\n\t            for (var i = 0; i < sigBytes; i += 3) {\n\t                var byte1 = (words[i >>> 2]       >>> (24 - (i % 4) * 8))       & 0xff;\n\t                var byte2 = (words[(i + 1) >>> 2] >>> (24 - ((i + 1) % 4) * 8)) & 0xff;\n\t                var byte3 = (words[(i + 2) >>> 2] >>> (24 - ((i + 2) % 4) * 8)) & 0xff;\n\n\t                var triplet = (byte1 << 16) | (byte2 << 8) | byte3;\n\n\t                for (var j = 0; (j < 4) && (i + j * 0.75 < sigBytes); j++) {\n\t                    base64Chars.push(map.charAt((triplet >>> (6 * (3 - j))) & 0x3f));\n\t                }\n\t            }\n\n\t            // Add padding\n\t            var paddingChar = map.charAt(64);\n\t            if (paddingChar) {\n\t                while (base64Chars.length % 4) {\n\t                    base64Chars.push(paddingChar);\n\t                }\n\t            }\n\n\t            return base64Chars.join('');\n\t        },\n\n\t        /**\n\t         * Converts a Base64url string to a word array.\n\t         *\n\t         * @param {string} base64Str The Base64url string.\n\t         *\n\t         * @param {boolean} urlSafe Whether to use url safe\n\t         *\n\t         * @return {WordArray} The word array.\n\t         *\n\t         * @static\n\t         *\n\t         * @example\n\t         *\n\t         *     var wordArray = CryptoJS.enc.Base64url.parse(base64String);\n\t         */\n\t        parse: function (base64Str, urlSafe) {\n\t            if (urlSafe === undefined) {\n\t                urlSafe = true\n\t            }\n\n\t            // Shortcuts\n\t            var base64StrLength = base64Str.length;\n\t            var map = urlSafe ? this._safe_map : this._map;\n\t            var reverseMap = this._reverseMap;\n\n\t            if (!reverseMap) {\n\t                reverseMap = this._reverseMap = [];\n\t                for (var j = 0; j < map.length; j++) {\n\t                    reverseMap[map.charCodeAt(j)] = j;\n\t                }\n\t            }\n\n\t            // Ignore padding\n\t            var paddingChar = map.charAt(64);\n\t            if (paddingChar) {\n\t                var paddingIndex = base64Str.indexOf(paddingChar);\n\t                if (paddingIndex !== -1) {\n\t                    base64StrLength = paddingIndex;\n\t                }\n\t            }\n\n\t            // Convert\n\t            return parseLoop(base64Str, base64StrLength, reverseMap);\n\n\t        },\n\n\t        _map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',\n\t        _safe_map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_',\n\t    };\n\n\t    function parseLoop(base64Str, base64StrLength, reverseMap) {\n\t        var words = [];\n\t        var nBytes = 0;\n\t        for (var i = 0; i < base64StrLength; i++) {\n\t            if (i % 4) {\n\t                var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << ((i % 4) * 2);\n\t                var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> (6 - (i % 4) * 2);\n\t                var bitsCombined = bits1 | bits2;\n\t                words[nBytes >>> 2] |= bitsCombined << (24 - (nBytes % 4) * 8);\n\t                nBytes++;\n\t            }\n\t        }\n\t        return WordArray.create(words, nBytes);\n\t    }\n\t}());\n\n\n\treturn CryptoJS.enc.Base64url;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t    // Check if typed arrays are supported\n\t    if (typeof ArrayBuffer != 'function') {\n\t        return;\n\t    }\n\n\t    // Shortcuts\n\t    var C = CryptoJS;\n\t    var C_lib = C.lib;\n\t    var WordArray = C_lib.WordArray;\n\n\t    // Reference original init\n\t    var superInit = WordArray.init;\n\n\t    // Augment WordArray.init to handle typed arrays\n\t    var subInit = WordArray.init = function (typedArray) {\n\t        // Convert buffers to uint8\n\t        if (typedArray instanceof ArrayBuffer) {\n\t            typedArray = new Uint8Array(typedArray);\n\t        }\n\n\t        // Convert other array views to uint8\n\t        if (\n\t            typedArray instanceof Int8Array ||\n\t            (typeof Uint8ClampedArray !== \"undefined\" && typedArray instanceof Uint8ClampedArray) ||\n\t            typedArray instanceof Int16Array ||\n\t            typedArray instanceof Uint16Array ||\n\t            typedArray instanceof Int32Array ||\n\t            typedArray instanceof Uint32Array ||\n\t            typedArray instanceof Float32Array ||\n\t            typedArray instanceof Float64Array\n\t        ) {\n\t            typedArray = new Uint8Array(typedArray.buffer, typedArray.byteOffset, typedArray.byteLength);\n\t        }\n\n\t        // Handle Uint8Array\n\t        if (typedArray instanceof Uint8Array) {\n\t            // Shortcut\n\t            var typedArrayByteLength = typedArray.byteLength;\n\n\t            // Extract bytes\n\t            var words = [];\n\t            for (var i = 0; i < typedArrayByteLength; i++) {\n\t                words[i >>> 2] |= typedArray[i] << (24 - (i % 4) * 8);\n\t            }\n\n\t            // Initialize this word array\n\t            superInit.call(this, words, typedArrayByteLength);\n\t        } else {\n\t            // Else call normal init\n\t            superInit.apply(this, arguments);\n\t        }\n\t    };\n\n\t    subInit.prototype = WordArray;\n\t}());\n\n\n\treturn CryptoJS.lib.WordArray;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t    // Shortcuts\n\t    var C = CryptoJS;\n\t    var C_lib = C.lib;\n\t    var WordArray = C_lib.WordArray;\n\t    var Hasher = C_lib.Hasher;\n\t    var C_algo = C.algo;\n\n\t    // Initialization and round constants tables\n\t    var H = [];\n\t    var K = [];\n\n\t    // Compute constants\n\t    (function () {\n\t        function isPrime(n) {\n\t            var sqrtN = Math.sqrt(n);\n\t            for (var factor = 2; factor <= sqrtN; factor++) {\n\t                if (!(n % factor)) {\n\t                    return false;\n\t                }\n\t            }\n\n\t            return true;\n\t        }\n\n\t        function getFractionalBits(n) {\n\t            return ((n - (n | 0)) * 0x100000000) | 0;\n\t        }\n\n\t        var n = 2;\n\t        var nPrime = 0;\n\t        while (nPrime < 64) {\n\t            if (isPrime(n)) {\n\t                if (nPrime < 8) {\n\t                    H[nPrime] = getFractionalBits(Math.pow(n, 1 / 2));\n\t                }\n\t                K[nPrime] = getFractionalBits(Math.pow(n, 1 / 3));\n\n\t                nPrime++;\n\t            }\n\n\t            n++;\n\t        }\n\t    }());\n\n\t    // Reusable object\n\t    var W = [];\n\n\t    /**\n\t     * SHA-256 hash algorithm.\n\t     */\n\t    var SHA256 = C_algo.SHA256 = Hasher.extend({\n\t        _doReset: function () {\n\t            this._hash = new WordArray.init(H.slice(0));\n\t        },\n\n\t        _doProcessBlock: function (M, offset) {\n\t            // Shortcut\n\t            var H = this._hash.words;\n\n\t            // Working variables\n\t            var a = H[0];\n\t            var b = H[1];\n\t            var c = H[2];\n\t            var d = H[3];\n\t            var e = H[4];\n\t            var f = H[5];\n\t            var g = H[6];\n\t            var h = H[7];\n\n\t            // Computation\n\t            for (var i = 0; i < 64; i++) {\n\t                if (i < 16) {\n\t                    W[i] = M[offset + i] | 0;\n\t                } else {\n\t                    var gamma0x = W[i - 15];\n\t                    var gamma0  = ((gamma0x << 25) | (gamma0x >>> 7))  ^\n\t                                  ((gamma0x << 14) | (gamma0x >>> 18)) ^\n\t                                   (gamma0x >>> 3);\n\n\t                    var gamma1x = W[i - 2];\n\t                    var gamma1  = ((gamma1x << 15) | (gamma1x >>> 17)) ^\n\t                                  ((gamma1x << 13) | (gamma1x >>> 19)) ^\n\t                                   (gamma1x >>> 10);\n\n\t                    W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];\n\t                }\n\n\t                var ch  = (e & f) ^ (~e & g);\n\t                var maj = (a & b) ^ (a & c) ^ (b & c);\n\n\t                var sigma0 = ((a << 30) | (a >>> 2)) ^ ((a << 19) | (a >>> 13)) ^ ((a << 10) | (a >>> 22));\n\t                var sigma1 = ((e << 26) | (e >>> 6)) ^ ((e << 21) | (e >>> 11)) ^ ((e << 7)  | (e >>> 25));\n\n\t                var t1 = h + sigma1 + ch + K[i] + W[i];\n\t                var t2 = sigma0 + maj;\n\n\t                h = g;\n\t                g = f;\n\t                f = e;\n\t                e = (d + t1) | 0;\n\t                d = c;\n\t                c = b;\n\t                b = a;\n\t                a = (t1 + t2) | 0;\n\t            }\n\n\t            // Intermediate hash value\n\t            H[0] = (H[0] + a) | 0;\n\t            H[1] = (H[1] + b) | 0;\n\t            H[2] = (H[2] + c) | 0;\n\t            H[3] = (H[3] + d) | 0;\n\t            H[4] = (H[4] + e) | 0;\n\t            H[5] = (H[5] + f) | 0;\n\t            H[6] = (H[6] + g) | 0;\n\t            H[7] = (H[7] + h) | 0;\n\t        },\n\n\t        _doFinalize: function () {\n\t            // Shortcuts\n\t            var data = this._data;\n\t            var dataWords = data.words;\n\n\t            var nBitsTotal = this._nDataBytes * 8;\n\t            var nBitsLeft = data.sigBytes * 8;\n\n\t            // Add padding\n\t            dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\t            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n\t            dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n\t            data.sigBytes = dataWords.length * 4;\n\n\t            // Hash final blocks\n\t            this._process();\n\n\t            // Return final computed hash\n\t            return this._hash;\n\t        },\n\n\t        clone: function () {\n\t            var clone = Hasher.clone.call(this);\n\t            clone._hash = this._hash.clone();\n\n\t            return clone;\n\t        }\n\t    });\n\n\t    /**\n\t     * Shortcut function to the hasher's object interface.\n\t     *\n\t     * @param {WordArray|string} message The message to hash.\n\t     *\n\t     * @return {WordArray} The hash.\n\t     *\n\t     * @static\n\t     *\n\t     * @example\n\t     *\n\t     *     var hash = CryptoJS.SHA256('message');\n\t     *     var hash = CryptoJS.SHA256(wordArray);\n\t     */\n\t    C.SHA256 = Hasher._createHelper(SHA256);\n\n\t    /**\n\t     * Shortcut function to the HMAC's object interface.\n\t     *\n\t     * @param {WordArray|string} message The message to hash.\n\t     * @param {WordArray|string} key The secret key.\n\t     *\n\t     * @return {WordArray} The HMAC.\n\t     *\n\t     * @static\n\t     *\n\t     * @example\n\t     *\n\t     *     var hmac = CryptoJS.HmacSHA256(message, key);\n\t     */\n\t    C.HmacSHA256 = Hasher._createHmacHelper(SHA256);\n\t}(Math));\n\n\n\treturn CryptoJS.SHA256;\n\n}));","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n  function shim(props, propName, componentName, location, propFullName, secret) {\n    if (secret === ReactPropTypesSecret) {\n      // It is still safe when called from React.\n      return;\n    }\n    var err = new Error(\n      'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n      'Use PropTypes.checkPropTypes() to call them. ' +\n      'Read more at http://fb.me/use-check-prop-types'\n    );\n    err.name = 'Invariant Violation';\n    throw err;\n  };\n  shim.isRequired = shim;\n  function getShim() {\n    return shim;\n  };\n  // Important!\n  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n  var ReactPropTypes = {\n    array: shim,\n    bigint: shim,\n    bool: shim,\n    func: shim,\n    number: shim,\n    object: shim,\n    string: shim,\n    symbol: shim,\n\n    any: shim,\n    arrayOf: getShim,\n    element: shim,\n    elementType: shim,\n    instanceOf: getShim,\n    node: shim,\n    objectOf: getShim,\n    oneOf: getShim,\n    oneOfType: getShim,\n    shape: getShim,\n    exact: getShim,\n\n    checkPropTypes: emptyFunctionWithReset,\n    resetWarningCache: emptyFunction\n  };\n\n  ReactPropTypes.PropTypes = ReactPropTypes;\n\n  return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n  var ReactIs = require('react-is');\n\n  // By explicitly using `prop-types` you are opting into new development behavior.\n  // http://fb.me/prop-types-in-prod\n  var throwOnDirectAccess = true;\n  module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n  // By explicitly using `prop-types` you are opting into new production behavior.\n  // http://fb.me/prop-types-in-prod\n  module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","// vim:ts=4:sts=4:sw=4:\n/*!\n *\n * Copyright 2009-2017 Kris Kowal under the terms of the MIT\n * license found at https://github.com/kriskowal/q/blob/v1/LICENSE\n *\n * With parts by Tyler Close\n * Copyright 2007-2009 Tyler Close under the terms of the MIT X license found\n * at http://www.opensource.org/licenses/mit-license.html\n * Forked at ref_send.js version: 2009-05-11\n *\n * With parts by Mark Miller\n * Copyright (C) 2011 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n */\n\n(function (definition) {\n    \"use strict\";\n\n    // This file will function properly as a <script> tag, or a module\n    // using CommonJS and NodeJS or RequireJS module formats.  In\n    // Common/Node/RequireJS, the module exports the Q API and when\n    // executed as a simple <script>, it creates a Q global instead.\n\n    // Montage Require\n    if (typeof bootstrap === \"function\") {\n        bootstrap(\"promise\", definition);\n\n    // CommonJS\n    } else if (typeof exports === \"object\" && typeof module === \"object\") {\n        module.exports = definition();\n\n    // RequireJS\n    } else if (typeof define === \"function\" && define.amd) {\n        define(definition);\n\n    // SES (Secure EcmaScript)\n    } else if (typeof ses !== \"undefined\") {\n        if (!ses.ok()) {\n            return;\n        } else {\n            ses.makeQ = definition;\n        }\n\n    // <script>\n    } else if (typeof window !== \"undefined\" || typeof self !== \"undefined\") {\n        // Prefer window over self for add-on scripts. Use self for\n        // non-windowed contexts.\n        var global = typeof window !== \"undefined\" ? window : self;\n\n        // Get the `window` object, save the previous Q global\n        // and initialize Q as a global.\n        var previousQ = global.Q;\n        global.Q = definition();\n\n        // Add a noConflict function so Q can be removed from the\n        // global namespace.\n        global.Q.noConflict = function () {\n            global.Q = previousQ;\n            return this;\n        };\n\n    } else {\n        throw new Error(\"This environment was not anticipated by Q. Please file a bug.\");\n    }\n\n})(function () {\n\"use strict\";\n\nvar hasStacks = false;\ntry {\n    throw new Error();\n} catch (e) {\n    hasStacks = !!e.stack;\n}\n\n// All code after this point will be filtered from stack traces reported\n// by Q.\nvar qStartingLine = captureLine();\nvar qFileName;\n\n// shims\n\n// used for fallback in \"allResolved\"\nvar noop = function () {};\n\n// Use the fastest possible means to execute a task in a future turn\n// of the event loop.\nvar nextTick =(function () {\n    // linked list of tasks (single, with head node)\n    var head = {task: void 0, next: null};\n    var tail = head;\n    var flushing = false;\n    var requestTick = void 0;\n    var isNodeJS = false;\n    // queue for late tasks, used by unhandled rejection tracking\n    var laterQueue = [];\n\n    function flush() {\n        /* jshint loopfunc: true */\n        var task, domain;\n\n        while (head.next) {\n            head = head.next;\n            task = head.task;\n            head.task = void 0;\n            domain = head.domain;\n\n            if (domain) {\n                head.domain = void 0;\n                domain.enter();\n            }\n            runSingle(task, domain);\n\n        }\n        while (laterQueue.length) {\n            task = laterQueue.pop();\n            runSingle(task);\n        }\n        flushing = false;\n    }\n    // runs a single function in the async queue\n    function runSingle(task, domain) {\n        try {\n            task();\n\n        } catch (e) {\n            if (isNodeJS) {\n                // In node, uncaught exceptions are considered fatal errors.\n                // Re-throw them synchronously to interrupt flushing!\n\n                // Ensure continuation if the uncaught exception is suppressed\n                // listening \"uncaughtException\" events (as domains does).\n                // Continue in next event to avoid tick recursion.\n                if (domain) {\n                    domain.exit();\n                }\n                setTimeout(flush, 0);\n                if (domain) {\n                    domain.enter();\n                }\n\n                throw e;\n\n            } else {\n                // In browsers, uncaught exceptions are not fatal.\n                // Re-throw them asynchronously to avoid slow-downs.\n                setTimeout(function () {\n                    throw e;\n                }, 0);\n            }\n        }\n\n        if (domain) {\n            domain.exit();\n        }\n    }\n\n    nextTick = function (task) {\n        tail = tail.next = {\n            task: task,\n            domain: isNodeJS && process.domain,\n            next: null\n        };\n\n        if (!flushing) {\n            flushing = true;\n            requestTick();\n        }\n    };\n\n    if (typeof process === \"object\" &&\n        process.toString() === \"[object process]\" && process.nextTick) {\n        // Ensure Q is in a real Node environment, with a `process.nextTick`.\n        // To see through fake Node environments:\n        // * Mocha test runner - exposes a `process` global without a `nextTick`\n        // * Browserify - exposes a `process.nexTick` function that uses\n        //   `setTimeout`. In this case `setImmediate` is preferred because\n        //    it is faster. Browserify's `process.toString()` yields\n        //   \"[object Object]\", while in a real Node environment\n        //   `process.toString()` yields \"[object process]\".\n        isNodeJS = true;\n\n        requestTick = function () {\n            process.nextTick(flush);\n        };\n\n    } else if (typeof setImmediate === \"function\") {\n        // In IE10, Node.js 0.9+, or https://github.com/NobleJS/setImmediate\n        if (typeof window !== \"undefined\") {\n            requestTick = setImmediate.bind(window, flush);\n        } else {\n            requestTick = function () {\n                setImmediate(flush);\n            };\n        }\n\n    } else if (typeof MessageChannel !== \"undefined\") {\n        // modern browsers\n        // http://www.nonblocking.io/2011/06/windownexttick.html\n        var channel = new MessageChannel();\n        // At least Safari Version 6.0.5 (8536.30.1) intermittently cannot create\n        // working message ports the first time a page loads.\n        channel.port1.onmessage = function () {\n            requestTick = requestPortTick;\n            channel.port1.onmessage = flush;\n            flush();\n        };\n        var requestPortTick = function () {\n            // Opera requires us to provide a message payload, regardless of\n            // whether we use it.\n            channel.port2.postMessage(0);\n        };\n        requestTick = function () {\n            setTimeout(flush, 0);\n            requestPortTick();\n        };\n\n    } else {\n        // old browsers\n        requestTick = function () {\n            setTimeout(flush, 0);\n        };\n    }\n    // runs a task after all other tasks have been run\n    // this is useful for unhandled rejection tracking that needs to happen\n    // after all `then`d tasks have been run.\n    nextTick.runAfter = function (task) {\n        laterQueue.push(task);\n        if (!flushing) {\n            flushing = true;\n            requestTick();\n        }\n    };\n    return nextTick;\n})();\n\n// Attempt to make generics safe in the face of downstream\n// modifications.\n// There is no situation where this is necessary.\n// If you need a security guarantee, these primordials need to be\n// deeply frozen anyway, and if you don’t need a security guarantee,\n// this is just plain paranoid.\n// However, this **might** have the nice side-effect of reducing the size of\n// the minified code by reducing x.call() to merely x()\n// See Mark Miller’s explanation of what this does.\n// http://wiki.ecmascript.org/doku.php?id=conventions:safe_meta_programming\nvar call = Function.call;\nfunction uncurryThis(f) {\n    return function () {\n        return call.apply(f, arguments);\n    };\n}\n// This is equivalent, but slower:\n// uncurryThis = Function_bind.bind(Function_bind.call);\n// http://jsperf.com/uncurrythis\n\nvar array_slice = uncurryThis(Array.prototype.slice);\n\nvar array_reduce = uncurryThis(\n    Array.prototype.reduce || function (callback, basis) {\n        var index = 0,\n            length = this.length;\n        // concerning the initial value, if one is not provided\n        if (arguments.length === 1) {\n            // seek to the first value in the array, accounting\n            // for the possibility that is is a sparse array\n            do {\n                if (index in this) {\n                    basis = this[index++];\n                    break;\n                }\n                if (++index >= length) {\n                    throw new TypeError();\n                }\n            } while (1);\n        }\n        // reduce\n        for (; index < length; index++) {\n            // account for the possibility that the array is sparse\n            if (index in this) {\n                basis = callback(basis, this[index], index);\n            }\n        }\n        return basis;\n    }\n);\n\nvar array_indexOf = uncurryThis(\n    Array.prototype.indexOf || function (value) {\n        // not a very good shim, but good enough for our one use of it\n        for (var i = 0; i < this.length; i++) {\n            if (this[i] === value) {\n                return i;\n            }\n        }\n        return -1;\n    }\n);\n\nvar array_map = uncurryThis(\n    Array.prototype.map || function (callback, thisp) {\n        var self = this;\n        var collect = [];\n        array_reduce(self, function (undefined, value, index) {\n            collect.push(callback.call(thisp, value, index, self));\n        }, void 0);\n        return collect;\n    }\n);\n\nvar object_create = Object.create || function (prototype) {\n    function Type() { }\n    Type.prototype = prototype;\n    return new Type();\n};\n\nvar object_defineProperty = Object.defineProperty || function (obj, prop, descriptor) {\n    obj[prop] = descriptor.value;\n    return obj;\n};\n\nvar object_hasOwnProperty = uncurryThis(Object.prototype.hasOwnProperty);\n\nvar object_keys = Object.keys || function (object) {\n    var keys = [];\n    for (var key in object) {\n        if (object_hasOwnProperty(object, key)) {\n            keys.push(key);\n        }\n    }\n    return keys;\n};\n\nvar object_toString = uncurryThis(Object.prototype.toString);\n\nfunction isObject(value) {\n    return value === Object(value);\n}\n\n// generator related shims\n\n// FIXME: Remove this function once ES6 generators are in SpiderMonkey.\nfunction isStopIteration(exception) {\n    return (\n        object_toString(exception) === \"[object StopIteration]\" ||\n        exception instanceof QReturnValue\n    );\n}\n\n// FIXME: Remove this helper and Q.return once ES6 generators are in\n// SpiderMonkey.\nvar QReturnValue;\nif (typeof ReturnValue !== \"undefined\") {\n    QReturnValue = ReturnValue;\n} else {\n    QReturnValue = function (value) {\n        this.value = value;\n    };\n}\n\n// long stack traces\n\nvar STACK_JUMP_SEPARATOR = \"From previous event:\";\n\nfunction makeStackTraceLong(error, promise) {\n    // If possible, transform the error stack trace by removing Node and Q\n    // cruft, then concatenating with the stack trace of `promise`. See #57.\n    if (hasStacks &&\n        promise.stack &&\n        typeof error === \"object\" &&\n        error !== null &&\n        error.stack\n    ) {\n        var stacks = [];\n        for (var p = promise; !!p; p = p.source) {\n            if (p.stack && (!error.__minimumStackCounter__ || error.__minimumStackCounter__ > p.stackCounter)) {\n                object_defineProperty(error, \"__minimumStackCounter__\", {value: p.stackCounter, configurable: true});\n                stacks.unshift(p.stack);\n            }\n        }\n        stacks.unshift(error.stack);\n\n        var concatedStacks = stacks.join(\"\\n\" + STACK_JUMP_SEPARATOR + \"\\n\");\n        var stack = filterStackString(concatedStacks);\n        object_defineProperty(error, \"stack\", {value: stack, configurable: true});\n    }\n}\n\nfunction filterStackString(stackString) {\n    var lines = stackString.split(\"\\n\");\n    var desiredLines = [];\n    for (var i = 0; i < lines.length; ++i) {\n        var line = lines[i];\n\n        if (!isInternalFrame(line) && !isNodeFrame(line) && line) {\n            desiredLines.push(line);\n        }\n    }\n    return desiredLines.join(\"\\n\");\n}\n\nfunction isNodeFrame(stackLine) {\n    return stackLine.indexOf(\"(module.js:\") !== -1 ||\n           stackLine.indexOf(\"(node.js:\") !== -1;\n}\n\nfunction getFileNameAndLineNumber(stackLine) {\n    // Named functions: \"at functionName (filename:lineNumber:columnNumber)\"\n    // In IE10 function name can have spaces (\"Anonymous function\") O_o\n    var attempt1 = /at .+ \\((.+):(\\d+):(?:\\d+)\\)$/.exec(stackLine);\n    if (attempt1) {\n        return [attempt1[1], Number(attempt1[2])];\n    }\n\n    // Anonymous functions: \"at filename:lineNumber:columnNumber\"\n    var attempt2 = /at ([^ ]+):(\\d+):(?:\\d+)$/.exec(stackLine);\n    if (attempt2) {\n        return [attempt2[1], Number(attempt2[2])];\n    }\n\n    // Firefox style: \"function@filename:lineNumber or @filename:lineNumber\"\n    var attempt3 = /.*@(.+):(\\d+)$/.exec(stackLine);\n    if (attempt3) {\n        return [attempt3[1], Number(attempt3[2])];\n    }\n}\n\nfunction isInternalFrame(stackLine) {\n    var fileNameAndLineNumber = getFileNameAndLineNumber(stackLine);\n\n    if (!fileNameAndLineNumber) {\n        return false;\n    }\n\n    var fileName = fileNameAndLineNumber[0];\n    var lineNumber = fileNameAndLineNumber[1];\n\n    return fileName === qFileName &&\n        lineNumber >= qStartingLine &&\n        lineNumber <= qEndingLine;\n}\n\n// discover own file name and line number range for filtering stack\n// traces\nfunction captureLine() {\n    if (!hasStacks) {\n        return;\n    }\n\n    try {\n        throw new Error();\n    } catch (e) {\n        var lines = e.stack.split(\"\\n\");\n        var firstLine = lines[0].indexOf(\"@\") > 0 ? lines[1] : lines[2];\n        var fileNameAndLineNumber = getFileNameAndLineNumber(firstLine);\n        if (!fileNameAndLineNumber) {\n            return;\n        }\n\n        qFileName = fileNameAndLineNumber[0];\n        return fileNameAndLineNumber[1];\n    }\n}\n\nfunction deprecate(callback, name, alternative) {\n    return function () {\n        if (typeof console !== \"undefined\" &&\n            typeof console.warn === \"function\") {\n            console.warn(name + \" is deprecated, use \" + alternative +\n                         \" instead.\", new Error(\"\").stack);\n        }\n        return callback.apply(callback, arguments);\n    };\n}\n\n// end of shims\n// beginning of real work\n\n/**\n * Constructs a promise for an immediate reference, passes promises through, or\n * coerces promises from different systems.\n * @param value immediate reference or promise\n */\nfunction Q(value) {\n    // If the object is already a Promise, return it directly.  This enables\n    // the resolve function to both be used to created references from objects,\n    // but to tolerably coerce non-promises to promises.\n    if (value instanceof Promise) {\n        return value;\n    }\n\n    // assimilate thenables\n    if (isPromiseAlike(value)) {\n        return coerce(value);\n    } else {\n        return fulfill(value);\n    }\n}\nQ.resolve = Q;\n\n/**\n * Performs a task in a future turn of the event loop.\n * @param {Function} task\n */\nQ.nextTick = nextTick;\n\n/**\n * Controls whether or not long stack traces will be on\n */\nQ.longStackSupport = false;\n\n/**\n * The counter is used to determine the stopping point for building\n * long stack traces. In makeStackTraceLong we walk backwards through\n * the linked list of promises, only stacks which were created before\n * the rejection are concatenated.\n */\nvar longStackCounter = 1;\n\n// enable long stacks if Q_DEBUG is set\nif (typeof process === \"object\" && process && process.env && process.env.Q_DEBUG) {\n    Q.longStackSupport = true;\n}\n\n/**\n * Constructs a {promise, resolve, reject} object.\n *\n * `resolve` is a callback to invoke with a more resolved value for the\n * promise. To fulfill the promise, invoke `resolve` with any value that is\n * not a thenable. To reject the promise, invoke `resolve` with a rejected\n * thenable, or invoke `reject` with the reason directly. To resolve the\n * promise to another thenable, thus putting it in the same state, invoke\n * `resolve` with that other thenable.\n */\nQ.defer = defer;\nfunction defer() {\n    // if \"messages\" is an \"Array\", that indicates that the promise has not yet\n    // been resolved.  If it is \"undefined\", it has been resolved.  Each\n    // element of the messages array is itself an array of complete arguments to\n    // forward to the resolved promise.  We coerce the resolution value to a\n    // promise using the `resolve` function because it handles both fully\n    // non-thenable values and other thenables gracefully.\n    var messages = [], progressListeners = [], resolvedPromise;\n\n    var deferred = object_create(defer.prototype);\n    var promise = object_create(Promise.prototype);\n\n    promise.promiseDispatch = function (resolve, op, operands) {\n        var args = array_slice(arguments);\n        if (messages) {\n            messages.push(args);\n            if (op === \"when\" && operands[1]) { // progress operand\n                progressListeners.push(operands[1]);\n            }\n        } else {\n            Q.nextTick(function () {\n                resolvedPromise.promiseDispatch.apply(resolvedPromise, args);\n            });\n        }\n    };\n\n    // XXX deprecated\n    promise.valueOf = function () {\n        if (messages) {\n            return promise;\n        }\n        var nearerValue = nearer(resolvedPromise);\n        if (isPromise(nearerValue)) {\n            resolvedPromise = nearerValue; // shorten chain\n        }\n        return nearerValue;\n    };\n\n    promise.inspect = function () {\n        if (!resolvedPromise) {\n            return { state: \"pending\" };\n        }\n        return resolvedPromise.inspect();\n    };\n\n    if (Q.longStackSupport && hasStacks) {\n        try {\n            throw new Error();\n        } catch (e) {\n            // NOTE: don't try to use `Error.captureStackTrace` or transfer the\n            // accessor around; that causes memory leaks as per GH-111. Just\n            // reify the stack trace as a string ASAP.\n            //\n            // At the same time, cut off the first line; it's always just\n            // \"[object Promise]\\n\", as per the `toString`.\n            promise.stack = e.stack.substring(e.stack.indexOf(\"\\n\") + 1);\n            promise.stackCounter = longStackCounter++;\n        }\n    }\n\n    // NOTE: we do the checks for `resolvedPromise` in each method, instead of\n    // consolidating them into `become`, since otherwise we'd create new\n    // promises with the lines `become(whatever(value))`. See e.g. GH-252.\n\n    function become(newPromise) {\n        resolvedPromise = newPromise;\n\n        if (Q.longStackSupport && hasStacks) {\n            // Only hold a reference to the new promise if long stacks\n            // are enabled to reduce memory usage\n            promise.source = newPromise;\n        }\n\n        array_reduce(messages, function (undefined, message) {\n            Q.nextTick(function () {\n                newPromise.promiseDispatch.apply(newPromise, message);\n            });\n        }, void 0);\n\n        messages = void 0;\n        progressListeners = void 0;\n    }\n\n    deferred.promise = promise;\n    deferred.resolve = function (value) {\n        if (resolvedPromise) {\n            return;\n        }\n\n        become(Q(value));\n    };\n\n    deferred.fulfill = function (value) {\n        if (resolvedPromise) {\n            return;\n        }\n\n        become(fulfill(value));\n    };\n    deferred.reject = function (reason) {\n        if (resolvedPromise) {\n            return;\n        }\n\n        become(reject(reason));\n    };\n    deferred.notify = function (progress) {\n        if (resolvedPromise) {\n            return;\n        }\n\n        array_reduce(progressListeners, function (undefined, progressListener) {\n            Q.nextTick(function () {\n                progressListener(progress);\n            });\n        }, void 0);\n    };\n\n    return deferred;\n}\n\n/**\n * Creates a Node-style callback that will resolve or reject the deferred\n * promise.\n * @returns a nodeback\n */\ndefer.prototype.makeNodeResolver = function () {\n    var self = this;\n    return function (error, value) {\n        if (error) {\n            self.reject(error);\n        } else if (arguments.length > 2) {\n            self.resolve(array_slice(arguments, 1));\n        } else {\n            self.resolve(value);\n        }\n    };\n};\n\n/**\n * @param resolver {Function} a function that returns nothing and accepts\n * the resolve, reject, and notify functions for a deferred.\n * @returns a promise that may be resolved with the given resolve and reject\n * functions, or rejected by a thrown exception in resolver\n */\nQ.Promise = promise; // ES6\nQ.promise = promise;\nfunction promise(resolver) {\n    if (typeof resolver !== \"function\") {\n        throw new TypeError(\"resolver must be a function.\");\n    }\n    var deferred = defer();\n    try {\n        resolver(deferred.resolve, deferred.reject, deferred.notify);\n    } catch (reason) {\n        deferred.reject(reason);\n    }\n    return deferred.promise;\n}\n\npromise.race = race; // ES6\npromise.all = all; // ES6\npromise.reject = reject; // ES6\npromise.resolve = Q; // ES6\n\n// XXX experimental.  This method is a way to denote that a local value is\n// serializable and should be immediately dispatched to a remote upon request,\n// instead of passing a reference.\nQ.passByCopy = function (object) {\n    //freeze(object);\n    //passByCopies.set(object, true);\n    return object;\n};\n\nPromise.prototype.passByCopy = function () {\n    //freeze(object);\n    //passByCopies.set(object, true);\n    return this;\n};\n\n/**\n * If two promises eventually fulfill to the same value, promises that value,\n * but otherwise rejects.\n * @param x {Any*}\n * @param y {Any*}\n * @returns {Any*} a promise for x and y if they are the same, but a rejection\n * otherwise.\n *\n */\nQ.join = function (x, y) {\n    return Q(x).join(y);\n};\n\nPromise.prototype.join = function (that) {\n    return Q([this, that]).spread(function (x, y) {\n        if (x === y) {\n            // TODO: \"===\" should be Object.is or equiv\n            return x;\n        } else {\n            throw new Error(\"Q can't join: not the same: \" + x + \" \" + y);\n        }\n    });\n};\n\n/**\n * Returns a promise for the first of an array of promises to become settled.\n * @param answers {Array[Any*]} promises to race\n * @returns {Any*} the first promise to be settled\n */\nQ.race = race;\nfunction race(answerPs) {\n    return promise(function (resolve, reject) {\n        // Switch to this once we can assume at least ES5\n        // answerPs.forEach(function (answerP) {\n        //     Q(answerP).then(resolve, reject);\n        // });\n        // Use this in the meantime\n        for (var i = 0, len = answerPs.length; i < len; i++) {\n            Q(answerPs[i]).then(resolve, reject);\n        }\n    });\n}\n\nPromise.prototype.race = function () {\n    return this.then(Q.race);\n};\n\n/**\n * Constructs a Promise with a promise descriptor object and optional fallback\n * function.  The descriptor contains methods like when(rejected), get(name),\n * set(name, value), post(name, args), and delete(name), which all\n * return either a value, a promise for a value, or a rejection.  The fallback\n * accepts the operation name, a resolver, and any further arguments that would\n * have been forwarded to the appropriate method above had a method been\n * provided with the proper name.  The API makes no guarantees about the nature\n * of the returned object, apart from that it is usable whereever promises are\n * bought and sold.\n */\nQ.makePromise = Promise;\nfunction Promise(descriptor, fallback, inspect) {\n    if (fallback === void 0) {\n        fallback = function (op) {\n            return reject(new Error(\n                \"Promise does not support operation: \" + op\n            ));\n        };\n    }\n    if (inspect === void 0) {\n        inspect = function () {\n            return {state: \"unknown\"};\n        };\n    }\n\n    var promise = object_create(Promise.prototype);\n\n    promise.promiseDispatch = function (resolve, op, args) {\n        var result;\n        try {\n            if (descriptor[op]) {\n                result = descriptor[op].apply(promise, args);\n            } else {\n                result = fallback.call(promise, op, args);\n            }\n        } catch (exception) {\n            result = reject(exception);\n        }\n        if (resolve) {\n            resolve(result);\n        }\n    };\n\n    promise.inspect = inspect;\n\n    // XXX deprecated `valueOf` and `exception` support\n    if (inspect) {\n        var inspected = inspect();\n        if (inspected.state === \"rejected\") {\n            promise.exception = inspected.reason;\n        }\n\n        promise.valueOf = function () {\n            var inspected = inspect();\n            if (inspected.state === \"pending\" ||\n                inspected.state === \"rejected\") {\n                return promise;\n            }\n            return inspected.value;\n        };\n    }\n\n    return promise;\n}\n\nPromise.prototype.toString = function () {\n    return \"[object Promise]\";\n};\n\nPromise.prototype.then = function (fulfilled, rejected, progressed) {\n    var self = this;\n    var deferred = defer();\n    var done = false;   // ensure the untrusted promise makes at most a\n                        // single call to one of the callbacks\n\n    function _fulfilled(value) {\n        try {\n            return typeof fulfilled === \"function\" ? fulfilled(value) : value;\n        } catch (exception) {\n            return reject(exception);\n        }\n    }\n\n    function _rejected(exception) {\n        if (typeof rejected === \"function\") {\n            makeStackTraceLong(exception, self);\n            try {\n                return rejected(exception);\n            } catch (newException) {\n                return reject(newException);\n            }\n        }\n        return reject(exception);\n    }\n\n    function _progressed(value) {\n        return typeof progressed === \"function\" ? progressed(value) : value;\n    }\n\n    Q.nextTick(function () {\n        self.promiseDispatch(function (value) {\n            if (done) {\n                return;\n            }\n            done = true;\n\n            deferred.resolve(_fulfilled(value));\n        }, \"when\", [function (exception) {\n            if (done) {\n                return;\n            }\n            done = true;\n\n            deferred.resolve(_rejected(exception));\n        }]);\n    });\n\n    // Progress propagator need to be attached in the current tick.\n    self.promiseDispatch(void 0, \"when\", [void 0, function (value) {\n        var newValue;\n        var threw = false;\n        try {\n            newValue = _progressed(value);\n        } catch (e) {\n            threw = true;\n            if (Q.onerror) {\n                Q.onerror(e);\n            } else {\n                throw e;\n            }\n        }\n\n        if (!threw) {\n            deferred.notify(newValue);\n        }\n    }]);\n\n    return deferred.promise;\n};\n\nQ.tap = function (promise, callback) {\n    return Q(promise).tap(callback);\n};\n\n/**\n * Works almost like \"finally\", but not called for rejections.\n * Original resolution value is passed through callback unaffected.\n * Callback may return a promise that will be awaited for.\n * @param {Function} callback\n * @returns {Q.Promise}\n * @example\n * doSomething()\n *   .then(...)\n *   .tap(console.log)\n *   .then(...);\n */\nPromise.prototype.tap = function (callback) {\n    callback = Q(callback);\n\n    return this.then(function (value) {\n        return callback.fcall(value).thenResolve(value);\n    });\n};\n\n/**\n * Registers an observer on a promise.\n *\n * Guarantees:\n *\n * 1. that fulfilled and rejected will be called only once.\n * 2. that either the fulfilled callback or the rejected callback will be\n *    called, but not both.\n * 3. that fulfilled and rejected will not be called in this turn.\n *\n * @param value      promise or immediate reference to observe\n * @param fulfilled  function to be called with the fulfilled value\n * @param rejected   function to be called with the rejection exception\n * @param progressed function to be called on any progress notifications\n * @return promise for the return value from the invoked callback\n */\nQ.when = when;\nfunction when(value, fulfilled, rejected, progressed) {\n    return Q(value).then(fulfilled, rejected, progressed);\n}\n\nPromise.prototype.thenResolve = function (value) {\n    return this.then(function () { return value; });\n};\n\nQ.thenResolve = function (promise, value) {\n    return Q(promise).thenResolve(value);\n};\n\nPromise.prototype.thenReject = function (reason) {\n    return this.then(function () { throw reason; });\n};\n\nQ.thenReject = function (promise, reason) {\n    return Q(promise).thenReject(reason);\n};\n\n/**\n * If an object is not a promise, it is as \"near\" as possible.\n * If a promise is rejected, it is as \"near\" as possible too.\n * If it’s a fulfilled promise, the fulfillment value is nearer.\n * If it’s a deferred promise and the deferred has been resolved, the\n * resolution is \"nearer\".\n * @param object\n * @returns most resolved (nearest) form of the object\n */\n\n// XXX should we re-do this?\nQ.nearer = nearer;\nfunction nearer(value) {\n    if (isPromise(value)) {\n        var inspected = value.inspect();\n        if (inspected.state === \"fulfilled\") {\n            return inspected.value;\n        }\n    }\n    return value;\n}\n\n/**\n * @returns whether the given object is a promise.\n * Otherwise it is a fulfilled value.\n */\nQ.isPromise = isPromise;\nfunction isPromise(object) {\n    return object instanceof Promise;\n}\n\nQ.isPromiseAlike = isPromiseAlike;\nfunction isPromiseAlike(object) {\n    return isObject(object) && typeof object.then === \"function\";\n}\n\n/**\n * @returns whether the given object is a pending promise, meaning not\n * fulfilled or rejected.\n */\nQ.isPending = isPending;\nfunction isPending(object) {\n    return isPromise(object) && object.inspect().state === \"pending\";\n}\n\nPromise.prototype.isPending = function () {\n    return this.inspect().state === \"pending\";\n};\n\n/**\n * @returns whether the given object is a value or fulfilled\n * promise.\n */\nQ.isFulfilled = isFulfilled;\nfunction isFulfilled(object) {\n    return !isPromise(object) || object.inspect().state === \"fulfilled\";\n}\n\nPromise.prototype.isFulfilled = function () {\n    return this.inspect().state === \"fulfilled\";\n};\n\n/**\n * @returns whether the given object is a rejected promise.\n */\nQ.isRejected = isRejected;\nfunction isRejected(object) {\n    return isPromise(object) && object.inspect().state === \"rejected\";\n}\n\nPromise.prototype.isRejected = function () {\n    return this.inspect().state === \"rejected\";\n};\n\n//// BEGIN UNHANDLED REJECTION TRACKING\n\n// This promise library consumes exceptions thrown in handlers so they can be\n// handled by a subsequent promise.  The exceptions get added to this array when\n// they are created, and removed when they are handled.  Note that in ES6 or\n// shimmed environments, this would naturally be a `Set`.\nvar unhandledReasons = [];\nvar unhandledRejections = [];\nvar reportedUnhandledRejections = [];\nvar trackUnhandledRejections = true;\n\nfunction resetUnhandledRejections() {\n    unhandledReasons.length = 0;\n    unhandledRejections.length = 0;\n\n    if (!trackUnhandledRejections) {\n        trackUnhandledRejections = true;\n    }\n}\n\nfunction trackRejection(promise, reason) {\n    if (!trackUnhandledRejections) {\n        return;\n    }\n    if (typeof process === \"object\" && typeof process.emit === \"function\") {\n        Q.nextTick.runAfter(function () {\n            if (array_indexOf(unhandledRejections, promise) !== -1) {\n                process.emit(\"unhandledRejection\", reason, promise);\n                reportedUnhandledRejections.push(promise);\n            }\n        });\n    }\n\n    unhandledRejections.push(promise);\n    if (reason && typeof reason.stack !== \"undefined\") {\n        unhandledReasons.push(reason.stack);\n    } else {\n        unhandledReasons.push(\"(no stack) \" + reason);\n    }\n}\n\nfunction untrackRejection(promise) {\n    if (!trackUnhandledRejections) {\n        return;\n    }\n\n    var at = array_indexOf(unhandledRejections, promise);\n    if (at !== -1) {\n        if (typeof process === \"object\" && typeof process.emit === \"function\") {\n            Q.nextTick.runAfter(function () {\n                var atReport = array_indexOf(reportedUnhandledRejections, promise);\n                if (atReport !== -1) {\n                    process.emit(\"rejectionHandled\", unhandledReasons[at], promise);\n                    reportedUnhandledRejections.splice(atReport, 1);\n                }\n            });\n        }\n        unhandledRejections.splice(at, 1);\n        unhandledReasons.splice(at, 1);\n    }\n}\n\nQ.resetUnhandledRejections = resetUnhandledRejections;\n\nQ.getUnhandledReasons = function () {\n    // Make a copy so that consumers can't interfere with our internal state.\n    return unhandledReasons.slice();\n};\n\nQ.stopUnhandledRejectionTracking = function () {\n    resetUnhandledRejections();\n    trackUnhandledRejections = false;\n};\n\nresetUnhandledRejections();\n\n//// END UNHANDLED REJECTION TRACKING\n\n/**\n * Constructs a rejected promise.\n * @param reason value describing the failure\n */\nQ.reject = reject;\nfunction reject(reason) {\n    var rejection = Promise({\n        \"when\": function (rejected) {\n            // note that the error has been handled\n            if (rejected) {\n                untrackRejection(this);\n            }\n            return rejected ? rejected(reason) : this;\n        }\n    }, function fallback() {\n        return this;\n    }, function inspect() {\n        return { state: \"rejected\", reason: reason };\n    });\n\n    // Note that the reason has not been handled.\n    trackRejection(rejection, reason);\n\n    return rejection;\n}\n\n/**\n * Constructs a fulfilled promise for an immediate reference.\n * @param value immediate reference\n */\nQ.fulfill = fulfill;\nfunction fulfill(value) {\n    return Promise({\n        \"when\": function () {\n            return value;\n        },\n        \"get\": function (name) {\n            return value[name];\n        },\n        \"set\": function (name, rhs) {\n            value[name] = rhs;\n        },\n        \"delete\": function (name) {\n            delete value[name];\n        },\n        \"post\": function (name, args) {\n            // Mark Miller proposes that post with no name should apply a\n            // promised function.\n            if (name === null || name === void 0) {\n                return value.apply(void 0, args);\n            } else {\n                return value[name].apply(value, args);\n            }\n        },\n        \"apply\": function (thisp, args) {\n            return value.apply(thisp, args);\n        },\n        \"keys\": function () {\n            return object_keys(value);\n        }\n    }, void 0, function inspect() {\n        return { state: \"fulfilled\", value: value };\n    });\n}\n\n/**\n * Converts thenables to Q promises.\n * @param promise thenable promise\n * @returns a Q promise\n */\nfunction coerce(promise) {\n    var deferred = defer();\n    Q.nextTick(function () {\n        try {\n            promise.then(deferred.resolve, deferred.reject, deferred.notify);\n        } catch (exception) {\n            deferred.reject(exception);\n        }\n    });\n    return deferred.promise;\n}\n\n/**\n * Annotates an object such that it will never be\n * transferred away from this process over any promise\n * communication channel.\n * @param object\n * @returns promise a wrapping of that object that\n * additionally responds to the \"isDef\" message\n * without a rejection.\n */\nQ.master = master;\nfunction master(object) {\n    return Promise({\n        \"isDef\": function () {}\n    }, function fallback(op, args) {\n        return dispatch(object, op, args);\n    }, function () {\n        return Q(object).inspect();\n    });\n}\n\n/**\n * Spreads the values of a promised array of arguments into the\n * fulfillment callback.\n * @param fulfilled callback that receives variadic arguments from the\n * promised array\n * @param rejected callback that receives the exception if the promise\n * is rejected.\n * @returns a promise for the return value or thrown exception of\n * either callback.\n */\nQ.spread = spread;\nfunction spread(value, fulfilled, rejected) {\n    return Q(value).spread(fulfilled, rejected);\n}\n\nPromise.prototype.spread = function (fulfilled, rejected) {\n    return this.all().then(function (array) {\n        return fulfilled.apply(void 0, array);\n    }, rejected);\n};\n\n/**\n * The async function is a decorator for generator functions, turning\n * them into asynchronous generators.  Although generators are only part\n * of the newest ECMAScript 6 drafts, this code does not cause syntax\n * errors in older engines.  This code should continue to work and will\n * in fact improve over time as the language improves.\n *\n * ES6 generators are currently part of V8 version 3.19 with the\n * --harmony-generators runtime flag enabled.  SpiderMonkey has had them\n * for longer, but under an older Python-inspired form.  This function\n * works on both kinds of generators.\n *\n * Decorates a generator function such that:\n *  - it may yield promises\n *  - execution will continue when that promise is fulfilled\n *  - the value of the yield expression will be the fulfilled value\n *  - it returns a promise for the return value (when the generator\n *    stops iterating)\n *  - the decorated function returns a promise for the return value\n *    of the generator or the first rejected promise among those\n *    yielded.\n *  - if an error is thrown in the generator, it propagates through\n *    every following yield until it is caught, or until it escapes\n *    the generator function altogether, and is translated into a\n *    rejection for the promise returned by the decorated generator.\n */\nQ.async = async;\nfunction async(makeGenerator) {\n    return function () {\n        // when verb is \"send\", arg is a value\n        // when verb is \"throw\", arg is an exception\n        function continuer(verb, arg) {\n            var result;\n\n            // Until V8 3.19 / Chromium 29 is released, SpiderMonkey is the only\n            // engine that has a deployed base of browsers that support generators.\n            // However, SM's generators use the Python-inspired semantics of\n            // outdated ES6 drafts.  We would like to support ES6, but we'd also\n            // like to make it possible to use generators in deployed browsers, so\n            // we also support Python-style generators.  At some point we can remove\n            // this block.\n\n            if (typeof StopIteration === \"undefined\") {\n                // ES6 Generators\n                try {\n                    result = generator[verb](arg);\n                } catch (exception) {\n                    return reject(exception);\n                }\n                if (result.done) {\n                    return Q(result.value);\n                } else {\n                    return when(result.value, callback, errback);\n                }\n            } else {\n                // SpiderMonkey Generators\n                // FIXME: Remove this case when SM does ES6 generators.\n                try {\n                    result = generator[verb](arg);\n                } catch (exception) {\n                    if (isStopIteration(exception)) {\n                        return Q(exception.value);\n                    } else {\n                        return reject(exception);\n                    }\n                }\n                return when(result, callback, errback);\n            }\n        }\n        var generator = makeGenerator.apply(this, arguments);\n        var callback = continuer.bind(continuer, \"next\");\n        var errback = continuer.bind(continuer, \"throw\");\n        return callback();\n    };\n}\n\n/**\n * The spawn function is a small wrapper around async that immediately\n * calls the generator and also ends the promise chain, so that any\n * unhandled errors are thrown instead of forwarded to the error\n * handler. This is useful because it's extremely common to run\n * generators at the top-level to work with libraries.\n */\nQ.spawn = spawn;\nfunction spawn(makeGenerator) {\n    Q.done(Q.async(makeGenerator)());\n}\n\n// FIXME: Remove this interface once ES6 generators are in SpiderMonkey.\n/**\n * Throws a ReturnValue exception to stop an asynchronous generator.\n *\n * This interface is a stop-gap measure to support generator return\n * values in older Firefox/SpiderMonkey.  In browsers that support ES6\n * generators like Chromium 29, just use \"return\" in your generator\n * functions.\n *\n * @param value the return value for the surrounding generator\n * @throws ReturnValue exception with the value.\n * @example\n * // ES6 style\n * Q.async(function* () {\n *      var foo = yield getFooPromise();\n *      var bar = yield getBarPromise();\n *      return foo + bar;\n * })\n * // Older SpiderMonkey style\n * Q.async(function () {\n *      var foo = yield getFooPromise();\n *      var bar = yield getBarPromise();\n *      Q.return(foo + bar);\n * })\n */\nQ[\"return\"] = _return;\nfunction _return(value) {\n    throw new QReturnValue(value);\n}\n\n/**\n * The promised function decorator ensures that any promise arguments\n * are settled and passed as values (`this` is also settled and passed\n * as a value).  It will also ensure that the result of a function is\n * always a promise.\n *\n * @example\n * var add = Q.promised(function (a, b) {\n *     return a + b;\n * });\n * add(Q(a), Q(B));\n *\n * @param {function} callback The function to decorate\n * @returns {function} a function that has been decorated.\n */\nQ.promised = promised;\nfunction promised(callback) {\n    return function () {\n        return spread([this, all(arguments)], function (self, args) {\n            return callback.apply(self, args);\n        });\n    };\n}\n\n/**\n * sends a message to a value in a future turn\n * @param object* the recipient\n * @param op the name of the message operation, e.g., \"when\",\n * @param args further arguments to be forwarded to the operation\n * @returns result {Promise} a promise for the result of the operation\n */\nQ.dispatch = dispatch;\nfunction dispatch(object, op, args) {\n    return Q(object).dispatch(op, args);\n}\n\nPromise.prototype.dispatch = function (op, args) {\n    var self = this;\n    var deferred = defer();\n    Q.nextTick(function () {\n        self.promiseDispatch(deferred.resolve, op, args);\n    });\n    return deferred.promise;\n};\n\n/**\n * Gets the value of a property in a future turn.\n * @param object    promise or immediate reference for target object\n * @param name      name of property to get\n * @return promise for the property value\n */\nQ.get = function (object, key) {\n    return Q(object).dispatch(\"get\", [key]);\n};\n\nPromise.prototype.get = function (key) {\n    return this.dispatch(\"get\", [key]);\n};\n\n/**\n * Sets the value of a property in a future turn.\n * @param object    promise or immediate reference for object object\n * @param name      name of property to set\n * @param value     new value of property\n * @return promise for the return value\n */\nQ.set = function (object, key, value) {\n    return Q(object).dispatch(\"set\", [key, value]);\n};\n\nPromise.prototype.set = function (key, value) {\n    return this.dispatch(\"set\", [key, value]);\n};\n\n/**\n * Deletes a property in a future turn.\n * @param object    promise or immediate reference for target object\n * @param name      name of property to delete\n * @return promise for the return value\n */\nQ.del = // XXX legacy\nQ[\"delete\"] = function (object, key) {\n    return Q(object).dispatch(\"delete\", [key]);\n};\n\nPromise.prototype.del = // XXX legacy\nPromise.prototype[\"delete\"] = function (key) {\n    return this.dispatch(\"delete\", [key]);\n};\n\n/**\n * Invokes a method in a future turn.\n * @param object    promise or immediate reference for target object\n * @param name      name of method to invoke\n * @param value     a value to post, typically an array of\n *                  invocation arguments for promises that\n *                  are ultimately backed with `resolve` values,\n *                  as opposed to those backed with URLs\n *                  wherein the posted value can be any\n *                  JSON serializable object.\n * @return promise for the return value\n */\n// bound locally because it is used by other methods\nQ.mapply = // XXX As proposed by \"Redsandro\"\nQ.post = function (object, name, args) {\n    return Q(object).dispatch(\"post\", [name, args]);\n};\n\nPromise.prototype.mapply = // XXX As proposed by \"Redsandro\"\nPromise.prototype.post = function (name, args) {\n    return this.dispatch(\"post\", [name, args]);\n};\n\n/**\n * Invokes a method in a future turn.\n * @param object    promise or immediate reference for target object\n * @param name      name of method to invoke\n * @param ...args   array of invocation arguments\n * @return promise for the return value\n */\nQ.send = // XXX Mark Miller's proposed parlance\nQ.mcall = // XXX As proposed by \"Redsandro\"\nQ.invoke = function (object, name /*...args*/) {\n    return Q(object).dispatch(\"post\", [name, array_slice(arguments, 2)]);\n};\n\nPromise.prototype.send = // XXX Mark Miller's proposed parlance\nPromise.prototype.mcall = // XXX As proposed by \"Redsandro\"\nPromise.prototype.invoke = function (name /*...args*/) {\n    return this.dispatch(\"post\", [name, array_slice(arguments, 1)]);\n};\n\n/**\n * Applies the promised function in a future turn.\n * @param object    promise or immediate reference for target function\n * @param args      array of application arguments\n */\nQ.fapply = function (object, args) {\n    return Q(object).dispatch(\"apply\", [void 0, args]);\n};\n\nPromise.prototype.fapply = function (args) {\n    return this.dispatch(\"apply\", [void 0, args]);\n};\n\n/**\n * Calls the promised function in a future turn.\n * @param object    promise or immediate reference for target function\n * @param ...args   array of application arguments\n */\nQ[\"try\"] =\nQ.fcall = function (object /* ...args*/) {\n    return Q(object).dispatch(\"apply\", [void 0, array_slice(arguments, 1)]);\n};\n\nPromise.prototype.fcall = function (/*...args*/) {\n    return this.dispatch(\"apply\", [void 0, array_slice(arguments)]);\n};\n\n/**\n * Binds the promised function, transforming return values into a fulfilled\n * promise and thrown errors into a rejected one.\n * @param object    promise or immediate reference for target function\n * @param ...args   array of application arguments\n */\nQ.fbind = function (object /*...args*/) {\n    var promise = Q(object);\n    var args = array_slice(arguments, 1);\n    return function fbound() {\n        return promise.dispatch(\"apply\", [\n            this,\n            args.concat(array_slice(arguments))\n        ]);\n    };\n};\nPromise.prototype.fbind = function (/*...args*/) {\n    var promise = this;\n    var args = array_slice(arguments);\n    return function fbound() {\n        return promise.dispatch(\"apply\", [\n            this,\n            args.concat(array_slice(arguments))\n        ]);\n    };\n};\n\n/**\n * Requests the names of the owned properties of a promised\n * object in a future turn.\n * @param object    promise or immediate reference for target object\n * @return promise for the keys of the eventually settled object\n */\nQ.keys = function (object) {\n    return Q(object).dispatch(\"keys\", []);\n};\n\nPromise.prototype.keys = function () {\n    return this.dispatch(\"keys\", []);\n};\n\n/**\n * Turns an array of promises into a promise for an array.  If any of\n * the promises gets rejected, the whole array is rejected immediately.\n * @param {Array*} an array (or promise for an array) of values (or\n * promises for values)\n * @returns a promise for an array of the corresponding values\n */\n// By Mark Miller\n// http://wiki.ecmascript.org/doku.php?id=strawman:concurrency&rev=1308776521#allfulfilled\nQ.all = all;\nfunction all(promises) {\n    return when(promises, function (promises) {\n        var pendingCount = 0;\n        var deferred = defer();\n        array_reduce(promises, function (undefined, promise, index) {\n            var snapshot;\n            if (\n                isPromise(promise) &&\n                (snapshot = promise.inspect()).state === \"fulfilled\"\n            ) {\n                promises[index] = snapshot.value;\n            } else {\n                ++pendingCount;\n                when(\n                    promise,\n                    function (value) {\n                        promises[index] = value;\n                        if (--pendingCount === 0) {\n                            deferred.resolve(promises);\n                        }\n                    },\n                    deferred.reject,\n                    function (progress) {\n                        deferred.notify({ index: index, value: progress });\n                    }\n                );\n            }\n        }, void 0);\n        if (pendingCount === 0) {\n            deferred.resolve(promises);\n        }\n        return deferred.promise;\n    });\n}\n\nPromise.prototype.all = function () {\n    return all(this);\n};\n\n/**\n * Returns the first resolved promise of an array. Prior rejected promises are\n * ignored.  Rejects only if all promises are rejected.\n * @param {Array*} an array containing values or promises for values\n * @returns a promise fulfilled with the value of the first resolved promise,\n * or a rejected promise if all promises are rejected.\n */\nQ.any = any;\n\nfunction any(promises) {\n    if (promises.length === 0) {\n        return Q.resolve();\n    }\n\n    var deferred = Q.defer();\n    var pendingCount = 0;\n    array_reduce(promises, function (prev, current, index) {\n        var promise = promises[index];\n\n        pendingCount++;\n\n        when(promise, onFulfilled, onRejected, onProgress);\n        function onFulfilled(result) {\n            deferred.resolve(result);\n        }\n        function onRejected(err) {\n            pendingCount--;\n            if (pendingCount === 0) {\n                var rejection = err || new Error(\"\" + err);\n\n                rejection.message = (\"Q can't get fulfillment value from any promise, all \" +\n                    \"promises were rejected. Last error message: \" + rejection.message);\n\n                deferred.reject(rejection);\n            }\n        }\n        function onProgress(progress) {\n            deferred.notify({\n                index: index,\n                value: progress\n            });\n        }\n    }, undefined);\n\n    return deferred.promise;\n}\n\nPromise.prototype.any = function () {\n    return any(this);\n};\n\n/**\n * Waits for all promises to be settled, either fulfilled or\n * rejected.  This is distinct from `all` since that would stop\n * waiting at the first rejection.  The promise returned by\n * `allResolved` will never be rejected.\n * @param promises a promise for an array (or an array) of promises\n * (or values)\n * @return a promise for an array of promises\n */\nQ.allResolved = deprecate(allResolved, \"allResolved\", \"allSettled\");\nfunction allResolved(promises) {\n    return when(promises, function (promises) {\n        promises = array_map(promises, Q);\n        return when(all(array_map(promises, function (promise) {\n            return when(promise, noop, noop);\n        })), function () {\n            return promises;\n        });\n    });\n}\n\nPromise.prototype.allResolved = function () {\n    return allResolved(this);\n};\n\n/**\n * @see Promise#allSettled\n */\nQ.allSettled = allSettled;\nfunction allSettled(promises) {\n    return Q(promises).allSettled();\n}\n\n/**\n * Turns an array of promises into a promise for an array of their states (as\n * returned by `inspect`) when they have all settled.\n * @param {Array[Any*]} values an array (or promise for an array) of values (or\n * promises for values)\n * @returns {Array[State]} an array of states for the respective values.\n */\nPromise.prototype.allSettled = function () {\n    return this.then(function (promises) {\n        return all(array_map(promises, function (promise) {\n            promise = Q(promise);\n            function regardless() {\n                return promise.inspect();\n            }\n            return promise.then(regardless, regardless);\n        }));\n    });\n};\n\n/**\n * Captures the failure of a promise, giving an oportunity to recover\n * with a callback.  If the given promise is fulfilled, the returned\n * promise is fulfilled.\n * @param {Any*} promise for something\n * @param {Function} callback to fulfill the returned promise if the\n * given promise is rejected\n * @returns a promise for the return value of the callback\n */\nQ.fail = // XXX legacy\nQ[\"catch\"] = function (object, rejected) {\n    return Q(object).then(void 0, rejected);\n};\n\nPromise.prototype.fail = // XXX legacy\nPromise.prototype[\"catch\"] = function (rejected) {\n    return this.then(void 0, rejected);\n};\n\n/**\n * Attaches a listener that can respond to progress notifications from a\n * promise's originating deferred. This listener receives the exact arguments\n * passed to ``deferred.notify``.\n * @param {Any*} promise for something\n * @param {Function} callback to receive any progress notifications\n * @returns the given promise, unchanged\n */\nQ.progress = progress;\nfunction progress(object, progressed) {\n    return Q(object).then(void 0, void 0, progressed);\n}\n\nPromise.prototype.progress = function (progressed) {\n    return this.then(void 0, void 0, progressed);\n};\n\n/**\n * Provides an opportunity to observe the settling of a promise,\n * regardless of whether the promise is fulfilled or rejected.  Forwards\n * the resolution to the returned promise when the callback is done.\n * The callback can return a promise to defer completion.\n * @param {Any*} promise\n * @param {Function} callback to observe the resolution of the given\n * promise, takes no arguments.\n * @returns a promise for the resolution of the given promise when\n * ``fin`` is done.\n */\nQ.fin = // XXX legacy\nQ[\"finally\"] = function (object, callback) {\n    return Q(object)[\"finally\"](callback);\n};\n\nPromise.prototype.fin = // XXX legacy\nPromise.prototype[\"finally\"] = function (callback) {\n    if (!callback || typeof callback.apply !== \"function\") {\n        throw new Error(\"Q can't apply finally callback\");\n    }\n    callback = Q(callback);\n    return this.then(function (value) {\n        return callback.fcall().then(function () {\n            return value;\n        });\n    }, function (reason) {\n        // TODO attempt to recycle the rejection with \"this\".\n        return callback.fcall().then(function () {\n            throw reason;\n        });\n    });\n};\n\n/**\n * Terminates a chain of promises, forcing rejections to be\n * thrown as exceptions.\n * @param {Any*} promise at the end of a chain of promises\n * @returns nothing\n */\nQ.done = function (object, fulfilled, rejected, progress) {\n    return Q(object).done(fulfilled, rejected, progress);\n};\n\nPromise.prototype.done = function (fulfilled, rejected, progress) {\n    var onUnhandledError = function (error) {\n        // forward to a future turn so that ``when``\n        // does not catch it and turn it into a rejection.\n        Q.nextTick(function () {\n            makeStackTraceLong(error, promise);\n            if (Q.onerror) {\n                Q.onerror(error);\n            } else {\n                throw error;\n            }\n        });\n    };\n\n    // Avoid unnecessary `nextTick`ing via an unnecessary `when`.\n    var promise = fulfilled || rejected || progress ?\n        this.then(fulfilled, rejected, progress) :\n        this;\n\n    if (typeof process === \"object\" && process && process.domain) {\n        onUnhandledError = process.domain.bind(onUnhandledError);\n    }\n\n    promise.then(void 0, onUnhandledError);\n};\n\n/**\n * Causes a promise to be rejected if it does not get fulfilled before\n * some milliseconds time out.\n * @param {Any*} promise\n * @param {Number} milliseconds timeout\n * @param {Any*} custom error message or Error object (optional)\n * @returns a promise for the resolution of the given promise if it is\n * fulfilled before the timeout, otherwise rejected.\n */\nQ.timeout = function (object, ms, error) {\n    return Q(object).timeout(ms, error);\n};\n\nPromise.prototype.timeout = function (ms, error) {\n    var deferred = defer();\n    var timeoutId = setTimeout(function () {\n        if (!error || \"string\" === typeof error) {\n            error = new Error(error || \"Timed out after \" + ms + \" ms\");\n            error.code = \"ETIMEDOUT\";\n        }\n        deferred.reject(error);\n    }, ms);\n\n    this.then(function (value) {\n        clearTimeout(timeoutId);\n        deferred.resolve(value);\n    }, function (exception) {\n        clearTimeout(timeoutId);\n        deferred.reject(exception);\n    }, deferred.notify);\n\n    return deferred.promise;\n};\n\n/**\n * Returns a promise for the given value (or promised value), some\n * milliseconds after it resolved. Passes rejections immediately.\n * @param {Any*} promise\n * @param {Number} milliseconds\n * @returns a promise for the resolution of the given promise after milliseconds\n * time has elapsed since the resolution of the given promise.\n * If the given promise rejects, that is passed immediately.\n */\nQ.delay = function (object, timeout) {\n    if (timeout === void 0) {\n        timeout = object;\n        object = void 0;\n    }\n    return Q(object).delay(timeout);\n};\n\nPromise.prototype.delay = function (timeout) {\n    return this.then(function (value) {\n        var deferred = defer();\n        setTimeout(function () {\n            deferred.resolve(value);\n        }, timeout);\n        return deferred.promise;\n    });\n};\n\n/**\n * Passes a continuation to a Node function, which is called with the given\n * arguments provided as an array, and returns a promise.\n *\n *      Q.nfapply(FS.readFile, [__filename])\n *      .then(function (content) {\n *      })\n *\n */\nQ.nfapply = function (callback, args) {\n    return Q(callback).nfapply(args);\n};\n\nPromise.prototype.nfapply = function (args) {\n    var deferred = defer();\n    var nodeArgs = array_slice(args);\n    nodeArgs.push(deferred.makeNodeResolver());\n    this.fapply(nodeArgs).fail(deferred.reject);\n    return deferred.promise;\n};\n\n/**\n * Passes a continuation to a Node function, which is called with the given\n * arguments provided individually, and returns a promise.\n * @example\n * Q.nfcall(FS.readFile, __filename)\n * .then(function (content) {\n * })\n *\n */\nQ.nfcall = function (callback /*...args*/) {\n    var args = array_slice(arguments, 1);\n    return Q(callback).nfapply(args);\n};\n\nPromise.prototype.nfcall = function (/*...args*/) {\n    var nodeArgs = array_slice(arguments);\n    var deferred = defer();\n    nodeArgs.push(deferred.makeNodeResolver());\n    this.fapply(nodeArgs).fail(deferred.reject);\n    return deferred.promise;\n};\n\n/**\n * Wraps a NodeJS continuation passing function and returns an equivalent\n * version that returns a promise.\n * @example\n * Q.nfbind(FS.readFile, __filename)(\"utf-8\")\n * .then(console.log)\n * .done()\n */\nQ.nfbind =\nQ.denodeify = function (callback /*...args*/) {\n    if (callback === undefined) {\n        throw new Error(\"Q can't wrap an undefined function\");\n    }\n    var baseArgs = array_slice(arguments, 1);\n    return function () {\n        var nodeArgs = baseArgs.concat(array_slice(arguments));\n        var deferred = defer();\n        nodeArgs.push(deferred.makeNodeResolver());\n        Q(callback).fapply(nodeArgs).fail(deferred.reject);\n        return deferred.promise;\n    };\n};\n\nPromise.prototype.nfbind =\nPromise.prototype.denodeify = function (/*...args*/) {\n    var args = array_slice(arguments);\n    args.unshift(this);\n    return Q.denodeify.apply(void 0, args);\n};\n\nQ.nbind = function (callback, thisp /*...args*/) {\n    var baseArgs = array_slice(arguments, 2);\n    return function () {\n        var nodeArgs = baseArgs.concat(array_slice(arguments));\n        var deferred = defer();\n        nodeArgs.push(deferred.makeNodeResolver());\n        function bound() {\n            return callback.apply(thisp, arguments);\n        }\n        Q(bound).fapply(nodeArgs).fail(deferred.reject);\n        return deferred.promise;\n    };\n};\n\nPromise.prototype.nbind = function (/*thisp, ...args*/) {\n    var args = array_slice(arguments, 0);\n    args.unshift(this);\n    return Q.nbind.apply(void 0, args);\n};\n\n/**\n * Calls a method of a Node-style object that accepts a Node-style\n * callback with a given array of arguments, plus a provided callback.\n * @param object an object that has the named method\n * @param {String} name name of the method of object\n * @param {Array} args arguments to pass to the method; the callback\n * will be provided by Q and appended to these arguments.\n * @returns a promise for the value or error\n */\nQ.nmapply = // XXX As proposed by \"Redsandro\"\nQ.npost = function (object, name, args) {\n    return Q(object).npost(name, args);\n};\n\nPromise.prototype.nmapply = // XXX As proposed by \"Redsandro\"\nPromise.prototype.npost = function (name, args) {\n    var nodeArgs = array_slice(args || []);\n    var deferred = defer();\n    nodeArgs.push(deferred.makeNodeResolver());\n    this.dispatch(\"post\", [name, nodeArgs]).fail(deferred.reject);\n    return deferred.promise;\n};\n\n/**\n * Calls a method of a Node-style object that accepts a Node-style\n * callback, forwarding the given variadic arguments, plus a provided\n * callback argument.\n * @param object an object that has the named method\n * @param {String} name name of the method of object\n * @param ...args arguments to pass to the method; the callback will\n * be provided by Q and appended to these arguments.\n * @returns a promise for the value or error\n */\nQ.nsend = // XXX Based on Mark Miller's proposed \"send\"\nQ.nmcall = // XXX Based on \"Redsandro's\" proposal\nQ.ninvoke = function (object, name /*...args*/) {\n    var nodeArgs = array_slice(arguments, 2);\n    var deferred = defer();\n    nodeArgs.push(deferred.makeNodeResolver());\n    Q(object).dispatch(\"post\", [name, nodeArgs]).fail(deferred.reject);\n    return deferred.promise;\n};\n\nPromise.prototype.nsend = // XXX Based on Mark Miller's proposed \"send\"\nPromise.prototype.nmcall = // XXX Based on \"Redsandro's\" proposal\nPromise.prototype.ninvoke = function (name /*...args*/) {\n    var nodeArgs = array_slice(arguments, 1);\n    var deferred = defer();\n    nodeArgs.push(deferred.makeNodeResolver());\n    this.dispatch(\"post\", [name, nodeArgs]).fail(deferred.reject);\n    return deferred.promise;\n};\n\n/**\n * If a function would like to support both Node continuation-passing-style and\n * promise-returning-style, it can end its internal promise chain with\n * `nodeify(nodeback)`, forwarding the optional nodeback argument.  If the user\n * elects to use a nodeback, the result will be sent there.  If they do not\n * pass a nodeback, they will receive the result promise.\n * @param object a result (or a promise for a result)\n * @param {Function} nodeback a Node.js-style callback\n * @returns either the promise or nothing\n */\nQ.nodeify = nodeify;\nfunction nodeify(object, nodeback) {\n    return Q(object).nodeify(nodeback);\n}\n\nPromise.prototype.nodeify = function (nodeback) {\n    if (nodeback) {\n        this.then(function (value) {\n            Q.nextTick(function () {\n                nodeback(null, value);\n            });\n        }, function (error) {\n            Q.nextTick(function () {\n                nodeback(error);\n            });\n        });\n    } else {\n        return this;\n    }\n};\n\nQ.noConflict = function() {\n    throw new Error(\"Q.noConflict only works when Q is used as a global\");\n};\n\n// All code before this point will be filtered from stack traces.\nvar qEndingLine = captureLine();\n\nreturn Q;\n\n});\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n  return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n  sep = sep || '&';\n  eq = eq || '=';\n  var obj = {};\n\n  if (typeof qs !== 'string' || qs.length === 0) {\n    return obj;\n  }\n\n  var regexp = /\\+/g;\n  qs = qs.split(sep);\n\n  var maxKeys = 1000;\n  if (options && typeof options.maxKeys === 'number') {\n    maxKeys = options.maxKeys;\n  }\n\n  var len = qs.length;\n  // maxKeys <= 0 means that we should not limit keys count\n  if (maxKeys > 0 && len > maxKeys) {\n    len = maxKeys;\n  }\n\n  for (var i = 0; i < len; ++i) {\n    var x = qs[i].replace(regexp, '%20'),\n        idx = x.indexOf(eq),\n        kstr, vstr, k, v;\n\n    if (idx >= 0) {\n      kstr = x.substr(0, idx);\n      vstr = x.substr(idx + 1);\n    } else {\n      kstr = x;\n      vstr = '';\n    }\n\n    k = decodeURIComponent(kstr);\n    v = decodeURIComponent(vstr);\n\n    if (!hasOwnProperty(obj, k)) {\n      obj[k] = v;\n    } else if (Array.isArray(obj[k])) {\n      obj[k].push(v);\n    } else {\n      obj[k] = [obj[k], v];\n    }\n  }\n\n  return obj;\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar stringifyPrimitive = function(v) {\n  switch (typeof v) {\n    case 'string':\n      return v;\n\n    case 'boolean':\n      return v ? 'true' : 'false';\n\n    case 'number':\n      return isFinite(v) ? v : '';\n\n    default:\n      return '';\n  }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n  sep = sep || '&';\n  eq = eq || '=';\n  if (obj === null) {\n    obj = undefined;\n  }\n\n  if (typeof obj === 'object') {\n    return Object.keys(obj).map(function(k) {\n      var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n      if (Array.isArray(obj[k])) {\n        return obj[k].map(function(v) {\n          return ks + encodeURIComponent(stringifyPrimitive(v));\n        }).join(sep);\n      } else {\n        return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n      }\n    }).join(sep);\n\n  }\n\n  if (!name) return '';\n  return encodeURIComponent(stringifyPrimitive(name)) + eq +\n         encodeURIComponent(stringifyPrimitive(obj));\n};\n","'use strict';\n\nexports.decode = exports.parse = require('./decode');\nexports.encode = exports.stringify = require('./encode');\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar memoize = require('lodash/memoize');\nexports.isFirefox = memoize(function () {\n    return /firefox/i.test(navigator.userAgent);\n});\nexports.isSafari = memoize(function () { return Boolean(window.safari); });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar union = require('lodash/union');\nvar without = require('lodash/without');\nvar EnterLeaveCounter = /** @class */ (function () {\n    function EnterLeaveCounter(isNodeInDocument) {\n        this.entered = [];\n        this.isNodeInDocument = isNodeInDocument;\n    }\n    EnterLeaveCounter.prototype.enter = function (enteringNode) {\n        var _this = this;\n        var previousLength = this.entered.length;\n        var isNodeEntered = function (node) {\n            return _this.isNodeInDocument(node) &&\n                (!node.contains || node.contains(enteringNode));\n        };\n        this.entered = union(this.entered.filter(isNodeEntered), [enteringNode]);\n        return previousLength === 0 && this.entered.length > 0;\n    };\n    EnterLeaveCounter.prototype.leave = function (leavingNode) {\n        var previousLength = this.entered.length;\n        this.entered = without(this.entered.filter(this.isNodeInDocument), leavingNode);\n        return previousLength > 0 && this.entered.length === 0;\n    };\n    EnterLeaveCounter.prototype.reset = function () {\n        this.entered = [];\n    };\n    return EnterLeaveCounter;\n}());\nexports.default = EnterLeaveCounter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EnterLeaveCounter_1 = require(\"./EnterLeaveCounter\");\nvar BrowserDetector_1 = require(\"./BrowserDetector\");\nvar OffsetUtils_1 = require(\"./OffsetUtils\");\nvar NativeDragSources_1 = require(\"./NativeDragSources\");\nvar NativeTypes = require(\"./NativeTypes\");\nvar defaults = require('lodash/defaults');\nvar HTML5Backend = /** @class */ (function () {\n    function HTML5Backend(manager) {\n        var _this = this;\n        this.sourcePreviewNodes = new Map();\n        this.sourcePreviewNodeOptions = new Map();\n        this.sourceNodes = new Map();\n        this.sourceNodeOptions = new Map();\n        this.dragStartSourceIds = null;\n        this.dropTargetIds = [];\n        this.dragEnterTargetIds = [];\n        this.currentNativeSource = null;\n        this.currentNativeHandle = null;\n        this.currentDragSourceNode = null;\n        this.altKeyPressed = false;\n        this.mouseMoveTimeoutTimer = null;\n        this.asyncEndDragFrameId = null;\n        this.dragOverTargetIds = null;\n        this.getSourceClientOffset = function (sourceId) {\n            return OffsetUtils_1.getNodeClientOffset(_this.sourceNodes.get(sourceId));\n        };\n        this.endDragNativeItem = function () {\n            if (!_this.isDraggingNativeItem()) {\n                return;\n            }\n            _this.actions.endDrag();\n            _this.registry.removeSource(_this.currentNativeHandle);\n            _this.currentNativeHandle = null;\n            _this.currentNativeSource = null;\n        };\n        this.isNodeInDocument = function (node) {\n            // Check the node either in the main document or in the current context\n            return ((!!document && document.body.contains(node)) ||\n                (!!_this.window && _this.window.document.body.contains(node)));\n        };\n        this.endDragIfSourceWasRemovedFromDOM = function () {\n            var node = _this.currentDragSourceNode;\n            if (_this.isNodeInDocument(node)) {\n                return;\n            }\n            if (_this.clearCurrentDragSourceNode()) {\n                _this.actions.endDrag();\n            }\n        };\n        this.handleTopDragStartCapture = function () {\n            _this.clearCurrentDragSourceNode();\n            _this.dragStartSourceIds = [];\n        };\n        this.handleTopDragStart = function (e) {\n            var dragStartSourceIds = _this.dragStartSourceIds;\n            _this.dragStartSourceIds = null;\n            var clientOffset = OffsetUtils_1.getEventClientOffset(e);\n            // Avoid crashing if we missed a drop event or our previous drag died\n            if (_this.monitor.isDragging()) {\n                _this.actions.endDrag();\n            }\n            // Fire off the initial coordinates\n            _this.actions.initCoords(dragStartSourceIds || [], {\n                getSourceClientOffset: _this.getSourceClientOffset,\n                clientOffset: clientOffset,\n            });\n            // Don't publish the source just yet (see why below)\n            _this.actions.beginDrag(dragStartSourceIds || [], {\n                publishSource: false,\n                getSourceClientOffset: _this.getSourceClientOffset,\n                clientOffset: clientOffset,\n            });\n            var dataTransfer = e.dataTransfer;\n            var nativeType = NativeDragSources_1.matchNativeItemType(dataTransfer);\n            if (_this.monitor.isDragging()) {\n                if (typeof dataTransfer.setDragImage === 'function') {\n                    // Use custom drag image if user specifies it.\n                    // If child drag source refuses drag but parent agrees,\n                    // use parent's node as drag image. Neither works in IE though.\n                    var sourceId = _this.monitor.getSourceId();\n                    var sourceNode = _this.sourceNodes.get(sourceId);\n                    var dragPreview = _this.sourcePreviewNodes.get(sourceId) || sourceNode;\n                    var _a = _this.getCurrentSourcePreviewNodeOptions(), anchorX = _a.anchorX, anchorY = _a.anchorY, offsetX = _a.offsetX, offsetY = _a.offsetY;\n                    var anchorPoint = { anchorX: anchorX, anchorY: anchorY };\n                    var offsetPoint = { offsetX: offsetX, offsetY: offsetY };\n                    var dragPreviewOffset = OffsetUtils_1.getDragPreviewOffset(sourceNode, dragPreview, clientOffset, anchorPoint, offsetPoint);\n                    dataTransfer.setDragImage(dragPreview, dragPreviewOffset.x, dragPreviewOffset.y);\n                }\n                try {\n                    // Firefox won't drag without setting data\n                    dataTransfer.setData('application/json', {});\n                }\n                catch (err) {\n                    // IE doesn't support MIME types in setData\n                }\n                // Store drag source node so we can check whether\n                // it is removed from DOM and trigger endDrag manually.\n                _this.setCurrentDragSourceNode(e.target);\n                // Now we are ready to publish the drag source.. or are we not?\n                var captureDraggingState = _this.getCurrentSourcePreviewNodeOptions().captureDraggingState;\n                if (!captureDraggingState) {\n                    // Usually we want to publish it in the next tick so that browser\n                    // is able to screenshot the current (not yet dragging) state.\n                    //\n                    // It also neatly avoids a situation where render() returns null\n                    // in the same tick for the source element, and browser freaks out.\n                    setTimeout(function () { return _this.actions.publishDragSource(); }, 0);\n                }\n                else {\n                    // In some cases the user may want to override this behavior, e.g.\n                    // to work around IE not supporting custom drag previews.\n                    //\n                    // When using a custom drag layer, the only way to prevent\n                    // the default drag preview from drawing in IE is to screenshot\n                    // the dragging state in which the node itself has zero opacity\n                    // and height. In this case, though, returning null from render()\n                    // will abruptly end the dragging, which is not obvious.\n                    //\n                    // This is the reason such behavior is strictly opt-in.\n                    _this.actions.publishDragSource();\n                }\n            }\n            else if (nativeType) {\n                // A native item (such as URL) dragged from inside the document\n                _this.beginDragNativeItem(nativeType);\n            }\n            else if (!dataTransfer.types &&\n                (!e.target.hasAttribute || !e.target.hasAttribute('draggable'))) {\n                // Looks like a Safari bug: dataTransfer.types is null, but there was no draggable.\n                // Just let it drag. It's a native type (URL or text) and will be picked up in\n                // dragenter handler.\n                return;\n            }\n            else {\n                // If by this time no drag source reacted, tell browser not to drag.\n                e.preventDefault();\n            }\n        };\n        this.handleTopDragEndCapture = function () {\n            if (_this.clearCurrentDragSourceNode()) {\n                // Firefox can dispatch this event in an infinite loop\n                // if dragend handler does something like showing an alert.\n                // Only proceed if we have not handled it already.\n                _this.actions.endDrag();\n            }\n        };\n        this.handleTopDragEnterCapture = function (e) {\n            _this.dragEnterTargetIds = [];\n            var isFirstEnter = _this.enterLeaveCounter.enter(e.target);\n            if (!isFirstEnter || _this.monitor.isDragging()) {\n                return;\n            }\n            var dataTransfer = e.dataTransfer;\n            var nativeType = NativeDragSources_1.matchNativeItemType(dataTransfer);\n            if (nativeType) {\n                // A native item (such as file or URL) dragged from outside the document\n                _this.beginDragNativeItem(nativeType);\n            }\n        };\n        this.handleTopDragEnter = function (e) {\n            var dragEnterTargetIds = _this.dragEnterTargetIds;\n            _this.dragEnterTargetIds = [];\n            if (!_this.monitor.isDragging()) {\n                // This is probably a native item type we don't understand.\n                return;\n            }\n            _this.altKeyPressed = e.altKey;\n            if (!BrowserDetector_1.isFirefox()) {\n                // Don't emit hover in `dragenter` on Firefox due to an edge case.\n                // If the target changes position as the result of `dragenter`, Firefox\n                // will still happily dispatch `dragover` despite target being no longer\n                // there. The easy solution is to only fire `hover` in `dragover` on FF.\n                _this.actions.hover(dragEnterTargetIds, {\n                    clientOffset: OffsetUtils_1.getEventClientOffset(e),\n                });\n            }\n            var canDrop = dragEnterTargetIds.some(function (targetId) {\n                return _this.monitor.canDropOnTarget(targetId);\n            });\n            if (canDrop) {\n                // IE requires this to fire dragover events\n                e.preventDefault();\n                e.dataTransfer.dropEffect = _this.getCurrentDropEffect();\n            }\n        };\n        this.handleTopDragOverCapture = function () {\n            _this.dragOverTargetIds = [];\n        };\n        this.handleTopDragOver = function (e) {\n            var dragOverTargetIds = _this.dragOverTargetIds;\n            _this.dragOverTargetIds = [];\n            if (!_this.monitor.isDragging()) {\n                // This is probably a native item type we don't understand.\n                // Prevent default \"drop and blow away the whole document\" action.\n                e.preventDefault();\n                e.dataTransfer.dropEffect = 'none';\n                return;\n            }\n            _this.altKeyPressed = e.altKey;\n            _this.actions.hover(dragOverTargetIds || [], {\n                clientOffset: OffsetUtils_1.getEventClientOffset(e),\n            });\n            var canDrop = (dragOverTargetIds || []).some(function (targetId) {\n                return _this.monitor.canDropOnTarget(targetId);\n            });\n            if (canDrop) {\n                // Show user-specified drop effect.\n                e.preventDefault();\n                e.dataTransfer.dropEffect = _this.getCurrentDropEffect();\n            }\n            else if (_this.isDraggingNativeItem()) {\n                // Don't show a nice cursor but still prevent default\n                // \"drop and blow away the whole document\" action.\n                e.preventDefault();\n                e.dataTransfer.dropEffect = 'none';\n            }\n            else {\n                e.preventDefault();\n                e.dataTransfer.dropEffect = 'none';\n            }\n        };\n        this.handleTopDragLeaveCapture = function (e) {\n            if (_this.isDraggingNativeItem()) {\n                e.preventDefault();\n            }\n            var isLastLeave = _this.enterLeaveCounter.leave(e.target);\n            if (!isLastLeave) {\n                return;\n            }\n            if (_this.isDraggingNativeItem()) {\n                _this.endDragNativeItem();\n            }\n        };\n        this.handleTopDropCapture = function (e) {\n            _this.dropTargetIds = [];\n            e.preventDefault();\n            if (_this.isDraggingNativeItem()) {\n                _this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer);\n            }\n            _this.enterLeaveCounter.reset();\n        };\n        this.handleTopDrop = function (e) {\n            var dropTargetIds = _this.dropTargetIds;\n            _this.dropTargetIds = [];\n            _this.actions.hover(dropTargetIds, {\n                clientOffset: OffsetUtils_1.getEventClientOffset(e),\n            });\n            _this.actions.drop({ dropEffect: _this.getCurrentDropEffect() });\n            if (_this.isDraggingNativeItem()) {\n                _this.endDragNativeItem();\n            }\n            else {\n                _this.endDragIfSourceWasRemovedFromDOM();\n            }\n        };\n        this.handleSelectStart = function (e) {\n            var target = e.target;\n            // Only IE requires us to explicitly say\n            // we want drag drop operation to start\n            if (typeof target.dragDrop !== 'function') {\n                return;\n            }\n            // Inputs and textareas should be selectable\n            if (target.tagName === 'INPUT' ||\n                target.tagName === 'SELECT' ||\n                target.tagName === 'TEXTAREA' ||\n                target.isContentEditable) {\n                return;\n            }\n            // For other targets, ask IE\n            // to enable drag and drop\n            e.preventDefault();\n            target.dragDrop();\n        };\n        this.actions = manager.getActions();\n        this.monitor = manager.getMonitor();\n        this.registry = manager.getRegistry();\n        this.context = manager.getContext();\n        this.enterLeaveCounter = new EnterLeaveCounter_1.default(this.isNodeInDocument);\n    }\n    Object.defineProperty(HTML5Backend.prototype, \"window\", {\n        // public for test\n        get: function () {\n            if (this.context && this.context.window) {\n                return this.context.window;\n            }\n            else if (typeof window !== 'undefined') {\n                return window;\n            }\n            return undefined;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    HTML5Backend.prototype.setup = function () {\n        if (this.window === undefined) {\n            return;\n        }\n        if (this.window.__isReactDndBackendSetUp) {\n            throw new Error('Cannot have two HTML5 backends at the same time.');\n        }\n        this.window.__isReactDndBackendSetUp = true;\n        this.addEventListeners(this.window);\n    };\n    HTML5Backend.prototype.teardown = function () {\n        if (this.window === undefined) {\n            return;\n        }\n        this.window.__isReactDndBackendSetUp = false;\n        this.removeEventListeners(this.window);\n        this.clearCurrentDragSourceNode();\n        if (this.asyncEndDragFrameId) {\n            this.window.cancelAnimationFrame(this.asyncEndDragFrameId);\n        }\n    };\n    HTML5Backend.prototype.connectDragPreview = function (sourceId, node, options) {\n        var _this = this;\n        this.sourcePreviewNodeOptions.set(sourceId, options);\n        this.sourcePreviewNodes.set(sourceId, node);\n        return function () {\n            _this.sourcePreviewNodes.delete(sourceId);\n            _this.sourcePreviewNodeOptions.delete(sourceId);\n        };\n    };\n    HTML5Backend.prototype.connectDragSource = function (sourceId, node, options) {\n        var _this = this;\n        this.sourceNodes.set(sourceId, node);\n        this.sourceNodeOptions.set(sourceId, options);\n        var handleDragStart = function (e) { return _this.handleDragStart(e, sourceId); };\n        var handleSelectStart = function (e) { return _this.handleSelectStart(e); };\n        node.setAttribute('draggable', true);\n        node.addEventListener('dragstart', handleDragStart);\n        node.addEventListener('selectstart', handleSelectStart);\n        return function () {\n            _this.sourceNodes.delete(sourceId);\n            _this.sourceNodeOptions.delete(sourceId);\n            node.removeEventListener('dragstart', handleDragStart);\n            node.removeEventListener('selectstart', handleSelectStart);\n            node.setAttribute('draggable', false);\n        };\n    };\n    HTML5Backend.prototype.connectDropTarget = function (targetId, node) {\n        var _this = this;\n        var handleDragEnter = function (e) { return _this.handleDragEnter(e, targetId); };\n        var handleDragOver = function (e) { return _this.handleDragOver(e, targetId); };\n        var handleDrop = function (e) { return _this.handleDrop(e, targetId); };\n        node.addEventListener('dragenter', handleDragEnter);\n        node.addEventListener('dragover', handleDragOver);\n        node.addEventListener('drop', handleDrop);\n        return function () {\n            node.removeEventListener('dragenter', handleDragEnter);\n            node.removeEventListener('dragover', handleDragOver);\n            node.removeEventListener('drop', handleDrop);\n        };\n    };\n    HTML5Backend.prototype.addEventListeners = function (target) {\n        // SSR Fix (https://github.com/react-dnd/react-dnd/pull/813\n        if (!target.addEventListener) {\n            return;\n        }\n        target.addEventListener('dragstart', this.handleTopDragStart);\n        target.addEventListener('dragstart', this.handleTopDragStartCapture, true);\n        target.addEventListener('dragend', this.handleTopDragEndCapture, true);\n        target.addEventListener('dragenter', this.handleTopDragEnter);\n        target.addEventListener('dragenter', this.handleTopDragEnterCapture, true);\n        target.addEventListener('dragleave', this.handleTopDragLeaveCapture, true);\n        target.addEventListener('dragover', this.handleTopDragOver);\n        target.addEventListener('dragover', this.handleTopDragOverCapture, true);\n        target.addEventListener('drop', this.handleTopDrop);\n        target.addEventListener('drop', this.handleTopDropCapture, true);\n    };\n    HTML5Backend.prototype.removeEventListeners = function (target) {\n        // SSR Fix (https://github.com/react-dnd/react-dnd/pull/813\n        if (!target.removeEventListener) {\n            return;\n        }\n        target.removeEventListener('dragstart', this.handleTopDragStart);\n        target.removeEventListener('dragstart', this.handleTopDragStartCapture, true);\n        target.removeEventListener('dragend', this.handleTopDragEndCapture, true);\n        target.removeEventListener('dragenter', this.handleTopDragEnter);\n        target.removeEventListener('dragenter', this.handleTopDragEnterCapture, true);\n        target.removeEventListener('dragleave', this.handleTopDragLeaveCapture, true);\n        target.removeEventListener('dragover', this.handleTopDragOver);\n        target.removeEventListener('dragover', this.handleTopDragOverCapture, true);\n        target.removeEventListener('drop', this.handleTopDrop);\n        target.removeEventListener('drop', this.handleTopDropCapture, true);\n    };\n    HTML5Backend.prototype.getCurrentSourceNodeOptions = function () {\n        var sourceId = this.monitor.getSourceId();\n        var sourceNodeOptions = this.sourceNodeOptions.get(sourceId);\n        return defaults(sourceNodeOptions || {}, {\n            dropEffect: this.altKeyPressed ? 'copy' : 'move',\n        });\n    };\n    HTML5Backend.prototype.getCurrentDropEffect = function () {\n        if (this.isDraggingNativeItem()) {\n            // It makes more sense to default to 'copy' for native resources\n            return 'copy';\n        }\n        return this.getCurrentSourceNodeOptions().dropEffect;\n    };\n    HTML5Backend.prototype.getCurrentSourcePreviewNodeOptions = function () {\n        var sourceId = this.monitor.getSourceId();\n        var sourcePreviewNodeOptions = this.sourcePreviewNodeOptions.get(sourceId);\n        return defaults(sourcePreviewNodeOptions || {}, {\n            anchorX: 0.5,\n            anchorY: 0.5,\n            captureDraggingState: false,\n        });\n    };\n    HTML5Backend.prototype.isDraggingNativeItem = function () {\n        var itemType = this.monitor.getItemType();\n        return Object.keys(NativeTypes).some(function (key) { return NativeTypes[key] === itemType; });\n    };\n    HTML5Backend.prototype.beginDragNativeItem = function (type) {\n        this.clearCurrentDragSourceNode();\n        var SourceType = NativeDragSources_1.createNativeDragSource(type);\n        this.currentNativeSource = new SourceType();\n        this.currentNativeHandle = this.registry.addSource(type, this.currentNativeSource);\n        this.actions.beginDrag([this.currentNativeHandle]);\n    };\n    HTML5Backend.prototype.setCurrentDragSourceNode = function (node) {\n        var _this = this;\n        this.clearCurrentDragSourceNode();\n        this.currentDragSourceNode = node;\n        // A timeout of > 0 is necessary to resolve Firefox issue referenced\n        // See:\n        //   * https://github.com/react-dnd/react-dnd/pull/928\n        //   * https://github.com/react-dnd/react-dnd/issues/869\n        var MOUSE_MOVE_TIMEOUT = 1000;\n        // Receiving a mouse event in the middle of a dragging operation\n        // means it has ended and the drag source node disappeared from DOM,\n        // so the browser didn't dispatch the dragend event.\n        //\n        // We need to wait before we start listening for mousemove events.\n        // This is needed because the drag preview needs to be drawn or else it fires an 'mousemove' event\n        // immediately in some browsers.\n        //\n        // See:\n        //   * https://github.com/react-dnd/react-dnd/pull/928\n        //   * https://github.com/react-dnd/react-dnd/issues/869\n        //\n        this.mouseMoveTimeoutTimer = setTimeout(function () {\n            return (_this.window &&\n                _this.window.addEventListener('mousemove', _this.endDragIfSourceWasRemovedFromDOM, true));\n        }, MOUSE_MOVE_TIMEOUT);\n    };\n    HTML5Backend.prototype.clearCurrentDragSourceNode = function () {\n        if (this.currentDragSourceNode) {\n            this.currentDragSourceNode = null;\n            if (this.window) {\n                this.window.clearTimeout(this.mouseMoveTimeoutTimer);\n                this.window.removeEventListener('mousemove', this.endDragIfSourceWasRemovedFromDOM, true);\n            }\n            this.mouseMoveTimeoutTimer = null;\n            return true;\n        }\n        return false;\n    };\n    HTML5Backend.prototype.handleDragStart = function (e, sourceId) {\n        if (!this.dragStartSourceIds) {\n            this.dragStartSourceIds = [];\n        }\n        this.dragStartSourceIds.unshift(sourceId);\n    };\n    HTML5Backend.prototype.handleDragEnter = function (e, targetId) {\n        this.dragEnterTargetIds.unshift(targetId);\n    };\n    HTML5Backend.prototype.handleDragOver = function (e, targetId) {\n        if (this.dragOverTargetIds === null) {\n            this.dragOverTargetIds = [];\n        }\n        this.dragOverTargetIds.unshift(targetId);\n    };\n    HTML5Backend.prototype.handleDrop = function (e, targetId) {\n        this.dropTargetIds.unshift(targetId);\n    };\n    return HTML5Backend;\n}());\nexports.default = HTML5Backend;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar MonotonicInterpolant = /** @class */ (function () {\n    function MonotonicInterpolant(xs, ys) {\n        var length = xs.length;\n        // Rearrange xs and ys so that xs is sorted\n        var indexes = [];\n        for (var i = 0; i < length; i++) {\n            indexes.push(i);\n        }\n        indexes.sort(function (a, b) { return (xs[a] < xs[b] ? -1 : 1); });\n        // Get consecutive differences and slopes\n        var dys = [];\n        var dxs = [];\n        var ms = [];\n        var dx;\n        var dy;\n        for (var i = 0; i < length - 1; i++) {\n            dx = xs[i + 1] - xs[i];\n            dy = ys[i + 1] - ys[i];\n            dxs.push(dx);\n            dys.push(dy);\n            ms.push(dy / dx);\n        }\n        // Get degree-1 coefficients\n        var c1s = [ms[0]];\n        for (var i = 0; i < dxs.length - 1; i++) {\n            var m2 = ms[i];\n            var mNext = ms[i + 1];\n            if (m2 * mNext <= 0) {\n                c1s.push(0);\n            }\n            else {\n                dx = dxs[i];\n                var dxNext = dxs[i + 1];\n                var common = dx + dxNext;\n                c1s.push(3 * common / ((common + dxNext) / m2 + (common + dx) / mNext));\n            }\n        }\n        c1s.push(ms[ms.length - 1]);\n        // Get degree-2 and degree-3 coefficients\n        var c2s = [];\n        var c3s = [];\n        var m;\n        for (var i = 0; i < c1s.length - 1; i++) {\n            m = ms[i];\n            var c1 = c1s[i];\n            var invDx = 1 / dxs[i];\n            var common = c1 + c1s[i + 1] - m - m;\n            c2s.push((m - c1 - common) * invDx);\n            c3s.push(common * invDx * invDx);\n        }\n        this.xs = xs;\n        this.ys = ys;\n        this.c1s = c1s;\n        this.c2s = c2s;\n        this.c3s = c3s;\n    }\n    MonotonicInterpolant.prototype.interpolate = function (x) {\n        var _a = this, xs = _a.xs, ys = _a.ys, c1s = _a.c1s, c2s = _a.c2s, c3s = _a.c3s;\n        // The rightmost point in the dataset should give an exact result\n        var i = xs.length - 1;\n        if (x === xs[i]) {\n            return ys[i];\n        }\n        // Search for the interval x is in, returning the corresponding y if x is one of the original xs\n        var low = 0;\n        var high = c3s.length - 1;\n        var mid;\n        while (low <= high) {\n            mid = Math.floor(0.5 * (low + high));\n            var xHere = xs[mid];\n            if (xHere < x) {\n                low = mid + 1;\n            }\n            else if (xHere > x) {\n                high = mid - 1;\n            }\n            else {\n                return ys[mid];\n            }\n        }\n        i = Math.max(0, high);\n        // Interpolate\n        var diff = x - xs[i];\n        var diffSq = diff * diff;\n        return ys[i] + c1s[i] * diff + c2s[i] * diffSq + c3s[i] * diff * diffSq;\n    };\n    return MonotonicInterpolant;\n}());\nexports.default = MonotonicInterpolant;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _a;\nvar NativeTypes = require(\"./NativeTypes\");\nfunction getDataFromDataTransfer(dataTransfer, typesToTry, defaultValue) {\n    var result = typesToTry.reduce(function (resultSoFar, typeToTry) { return resultSoFar || dataTransfer.getData(typeToTry); }, null);\n    return result != null ? result : defaultValue;\n}\nvar nativeTypesConfig = (_a = {},\n    _a[NativeTypes.FILE] = {\n        exposeProperty: 'files',\n        matchesTypes: ['Files'],\n        getData: function (dataTransfer) {\n            return Array.prototype.slice.call(dataTransfer.files);\n        },\n    },\n    _a[NativeTypes.URL] = {\n        exposeProperty: 'urls',\n        matchesTypes: ['Url', 'text/uri-list'],\n        getData: function (dataTransfer, matchesTypes) {\n            return getDataFromDataTransfer(dataTransfer, matchesTypes, '').split('\\n');\n        },\n    },\n    _a[NativeTypes.TEXT] = {\n        exposeProperty: 'text',\n        matchesTypes: ['Text', 'text/plain'],\n        getData: function (dataTransfer, matchesTypes) {\n            return getDataFromDataTransfer(dataTransfer, matchesTypes, '');\n        },\n    },\n    _a);\nfunction createNativeDragSource(type) {\n    var _a = nativeTypesConfig[type], exposeProperty = _a.exposeProperty, matchesTypes = _a.matchesTypes, getData = _a.getData;\n    return /** @class */ (function () {\n        function NativeDragSource() {\n            var _a;\n            this.item = (_a = {},\n                Object.defineProperty(_a, exposeProperty, {\n                    get: function () {\n                        // tslint:disable-next-line no-console\n                        console.warn(\"Browser doesn't allow reading \\\"\" + exposeProperty + \"\\\" until the drop event.\");\n                        return null;\n                    },\n                    enumerable: true,\n                    configurable: true\n                }),\n                _a);\n        }\n        NativeDragSource.prototype.mutateItemByReadingDataTransfer = function (dataTransfer) {\n            delete this.item[exposeProperty];\n            this.item[exposeProperty] = getData(dataTransfer, matchesTypes);\n        };\n        NativeDragSource.prototype.canDrag = function () {\n            return true;\n        };\n        NativeDragSource.prototype.beginDrag = function () {\n            return this.item;\n        };\n        NativeDragSource.prototype.isDragging = function (monitor, handle) {\n            return handle === monitor.getSourceId();\n        };\n        NativeDragSource.prototype.endDrag = function () {\n            // empty\n        };\n        return NativeDragSource;\n    }());\n}\nexports.createNativeDragSource = createNativeDragSource;\nfunction matchNativeItemType(dataTransfer) {\n    var dataTransferTypes = Array.prototype.slice.call(dataTransfer.types || []);\n    return (Object.keys(nativeTypesConfig).filter(function (nativeItemType) {\n        var matchesTypes = nativeTypesConfig[nativeItemType].matchesTypes;\n        return matchesTypes.some(function (t) { return dataTransferTypes.indexOf(t) > -1; });\n    })[0] || null);\n}\nexports.matchNativeItemType = matchNativeItemType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FILE = '__NATIVE_FILE__';\nexports.URL = '__NATIVE_URL__';\nexports.TEXT = '__NATIVE_TEXT__';\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BrowserDetector_1 = require(\"./BrowserDetector\");\nvar MonotonicInterpolant_1 = require(\"./MonotonicInterpolant\");\nvar ELEMENT_NODE = 1;\nfunction getNodeClientOffset(node) {\n    var el = node.nodeType === ELEMENT_NODE ? node : node.parentElement;\n    if (!el) {\n        return null;\n    }\n    var _a = el.getBoundingClientRect(), top = _a.top, left = _a.left;\n    return { x: left, y: top };\n}\nexports.getNodeClientOffset = getNodeClientOffset;\nfunction getEventClientOffset(e) {\n    return {\n        x: e.clientX,\n        y: e.clientY,\n    };\n}\nexports.getEventClientOffset = getEventClientOffset;\nfunction isImageNode(node) {\n    return (node.nodeName === 'IMG' &&\n        (BrowserDetector_1.isFirefox() || !document.documentElement.contains(node)));\n}\nfunction getDragPreviewSize(isImage, dragPreview, sourceWidth, sourceHeight) {\n    var dragPreviewWidth = isImage ? dragPreview.width : sourceWidth;\n    var dragPreviewHeight = isImage ? dragPreview.height : sourceHeight;\n    // Work around @2x coordinate discrepancies in browsers\n    if (BrowserDetector_1.isSafari() && isImage) {\n        dragPreviewHeight /= window.devicePixelRatio;\n        dragPreviewWidth /= window.devicePixelRatio;\n    }\n    return { dragPreviewWidth: dragPreviewWidth, dragPreviewHeight: dragPreviewHeight };\n}\nfunction getDragPreviewOffset(sourceNode, dragPreview, clientOffset, anchorPoint, offsetPoint) {\n    // The browsers will use the image intrinsic size under different conditions.\n    // Firefox only cares if it's an image, but WebKit also wants it to be detached.\n    var isImage = isImageNode(dragPreview);\n    var dragPreviewNode = isImage ? sourceNode : dragPreview;\n    var dragPreviewNodeOffsetFromClient = getNodeClientOffset(dragPreviewNode);\n    var offsetFromDragPreview = {\n        x: clientOffset.x - dragPreviewNodeOffsetFromClient.x,\n        y: clientOffset.y - dragPreviewNodeOffsetFromClient.y,\n    };\n    var sourceWidth = sourceNode.offsetWidth, sourceHeight = sourceNode.offsetHeight;\n    var anchorX = anchorPoint.anchorX, anchorY = anchorPoint.anchorY;\n    var _a = getDragPreviewSize(isImage, dragPreview, sourceWidth, sourceHeight), dragPreviewWidth = _a.dragPreviewWidth, dragPreviewHeight = _a.dragPreviewHeight;\n    var calculateYOffset = function () {\n        var interpolantY = new MonotonicInterpolant_1.default([0, 0.5, 1], [\n            // Dock to the top\n            offsetFromDragPreview.y,\n            // Align at the center\n            (offsetFromDragPreview.y / sourceHeight) * dragPreviewHeight,\n            // Dock to the bottom\n            offsetFromDragPreview.y + dragPreviewHeight - sourceHeight,\n        ]);\n        var y = interpolantY.interpolate(anchorY);\n        // Work around Safari 8 positioning bug\n        if (BrowserDetector_1.isSafari() && isImage) {\n            // We'll have to wait for @3x to see if this is entirely correct\n            y += (window.devicePixelRatio - 1) * dragPreviewHeight;\n        }\n        return y;\n    };\n    var calculateXOffset = function () {\n        // Interpolate coordinates depending on anchor point\n        // If you know a simpler way to do this, let me know\n        var interpolantX = new MonotonicInterpolant_1.default([0, 0.5, 1], [\n            // Dock to the left\n            offsetFromDragPreview.x,\n            // Align at the center\n            (offsetFromDragPreview.x / sourceWidth) * dragPreviewWidth,\n            // Dock to the right\n            offsetFromDragPreview.x + dragPreviewWidth - sourceWidth,\n        ]);\n        return interpolantX.interpolate(anchorX);\n    };\n    // Force offsets if specified in the options.\n    var offsetX = offsetPoint.offsetX, offsetY = offsetPoint.offsetY;\n    var isManualOffsetX = offsetX === 0 || offsetX;\n    var isManualOffsetY = offsetY === 0 || offsetY;\n    return {\n        x: isManualOffsetX ? offsetX : calculateXOffset(),\n        y: isManualOffsetY ? offsetY : calculateYOffset(),\n    };\n}\nexports.getDragPreviewOffset = getDragPreviewOffset;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar emptyImage;\nfunction getEmptyImage() {\n    if (!emptyImage) {\n        emptyImage = new Image();\n        emptyImage.src =\n            'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';\n    }\n    return emptyImage;\n}\nexports.default = getEmptyImage;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar HTML5Backend_1 = require(\"./HTML5Backend\");\nvar getEmptyImage_1 = require(\"./getEmptyImage\");\nexports.getEmptyImage = getEmptyImage_1.default;\nvar NativeTypes = require(\"./NativeTypes\");\nexports.NativeTypes = NativeTypes;\nfunction createHTML5Backend(manager) {\n    return new HTML5Backend_1.default(manager);\n}\nexports.default = createHTML5Backend;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\n\nvar _reactDndHtml5Backend = _interopRequireDefault(require(\"react-dnd-html5-backend\"));\n\nvar _reactDndTouchBackend = _interopRequireDefault(require(\"react-dnd-touch-backend\"));\n\nvar _dndMultiBackend = require(\"dnd-multi-backend\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = {\n  backends: [{\n    backend: _reactDndHtml5Backend.default,\n    transition: _dndMultiBackend.MouseTransition\n  }, {\n    backend: (0, _reactDndTouchBackend.default)({\n      enableMouseEvents: true\n    }),\n    preview: true,\n    transition: _dndMultiBackend.TouchTransition\n  }]\n};\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _reactDndPreview = _interopRequireDefault(require(\"react-dnd-preview\"));\n\nvar _dndMultiBackend = require(\"dnd-multi-backend\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nvar Preview =\n/*#__PURE__*/\nfunction (_PureComponent) {\n  _inherits(Preview, _PureComponent);\n\n  function Preview(props) {\n    var _this;\n\n    _classCallCheck(this, Preview);\n\n    _this = _possibleConstructorReturn(this, _getPrototypeOf(Preview).call(this, props));\n\n    _this.backendChanged = function (backend) {\n      _this.setState({\n        enabled: backend.previewEnabled()\n      });\n    };\n\n    _this.state = {\n      enabled: false\n    };\n\n    _dndMultiBackend.PreviewManager.register(_assertThisInitialized(_this));\n\n    return _this;\n  }\n\n  _createClass(Preview, [{\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      _dndMultiBackend.PreviewManager.unregister(this);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      if (!this.state.enabled) {\n        return null;\n      }\n\n      return _react.default.createElement(_reactDndPreview.default, this.props);\n    }\n  }]);\n\n  return Preview;\n}(_react.PureComponent);\n\nexports.default = Preview;\nPreview.propTypes = {\n  generator: _propTypes.default.func.isRequired\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nObject.defineProperty(exports, \"HTML5DragTransition\", {\n  enumerable: true,\n  get: function get() {\n    return _dndMultiBackend.HTML5DragTransition;\n  }\n});\nObject.defineProperty(exports, \"TouchTransition\", {\n  enumerable: true,\n  get: function get() {\n    return _dndMultiBackend.TouchTransition;\n  }\n});\nObject.defineProperty(exports, \"MouseTransition\", {\n  enumerable: true,\n  get: function get() {\n    return _dndMultiBackend.MouseTransition;\n  }\n});\nObject.defineProperty(exports, \"createTransition\", {\n  enumerable: true,\n  get: function get() {\n    return _dndMultiBackend.createTransition;\n  }\n});\nObject.defineProperty(exports, \"Preview\", {\n  enumerable: true,\n  get: function get() {\n    return _Preview.default;\n  }\n});\nexports.default = void 0;\n\nvar _dndMultiBackend = _interopRequireWildcard(require(\"dnd-multi-backend\"));\n\nvar _Preview = _interopRequireDefault(require(\"./Preview\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\nvar _default = _dndMultiBackend.default;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\n\nvar _react = require(\"react\");\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _reactDnd = require(\"react-dnd\");\n\nvar _dec, _class, _class2, _temp;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nvar Preview = (_dec = (0, _reactDnd.DragLayer)(function (monitor) {\n  return {\n    currentOffset: monitor.getSourceClientOffset(),\n    isDragging: monitor.isDragging(),\n    itemType: monitor.getItemType(),\n    item: monitor.getItem()\n  };\n}), _dec(_class = (_temp = _class2 =\n/*#__PURE__*/\nfunction (_PureComponent) {\n  _inherits(Preview, _PureComponent);\n\n  function Preview() {\n    _classCallCheck(this, Preview);\n\n    return _possibleConstructorReturn(this, _getPrototypeOf(Preview).apply(this, arguments));\n  }\n\n  _createClass(Preview, [{\n    key: \"getStyle\",\n    value: function getStyle() {\n      var transform = \"translate(\".concat(this.props.currentOffset.x, \"px, \").concat(this.props.currentOffset.y, \"px)\");\n      return {\n        pointerEvents: 'none',\n        position: 'fixed',\n        top: 0,\n        left: 0,\n        transform: transform,\n        WebkitTransform: transform\n      };\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      if (!this.props.isDragging || this.props.currentOffset === null) {\n        return null;\n      }\n\n      return this.props.generator(this.props.itemType, this.props.item, this.getStyle());\n    }\n  }]);\n\n  return Preview;\n}(_react.PureComponent), _class2.defaultProps = {\n  currentOffset: {\n    x: 0,\n    y: 0\n  },\n  isDragging: false,\n  itemType: '',\n  item: {}\n}, _class2.propTypes = {\n  currentOffset: _propTypes.default.shape({\n    x: _propTypes.default.number,\n    y: _propTypes.default.number\n  }),\n  isDragging: _propTypes.default.bool,\n  itemType: _propTypes.default.string,\n  item: _propTypes.default.any,\n  generator: _propTypes.default.func.isRequired\n}, _temp)) || _class);\nexports.default = Preview;","/**\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms.\n */\n'use strict';\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _a;\nvar invariant = require(\"invariant\");\nfunction isTouchEvent(e) {\n    return !!e.targetTouches;\n}\nfunction getEventClientTouchOffset(e) {\n    if (e.targetTouches.length === 1) {\n        return getEventClientOffset(e.targetTouches[0]);\n    }\n}\nfunction getEventClientOffset(e) {\n    if (isTouchEvent(e)) {\n        return getEventClientTouchOffset(e);\n    }\n    else {\n        return {\n            x: e.clientX,\n            y: e.clientY\n        };\n    }\n}\n// Used for MouseEvent.buttons (note the s on the end).\nvar MouseButtons = {\n    Left: 1,\n    Right: 2,\n    Center: 4\n};\n// Used for e.button (note the lack of an s on the end).\nvar MouseButton = {\n    Left: 0,\n    Center: 1,\n    Right: 2\n};\n/**\n * Only touch events and mouse events where the left button is pressed should initiate a drag.\n * @param {MouseEvent | TouchEvent} e The event\n */\nfunction eventShouldStartDrag(e) {\n    // For touch events, button will be undefined. If e.button is defined,\n    // then it should be MouseButton.Left.\n    return e.button === undefined || e.button === MouseButton.Left;\n}\n/**\n * Only touch events and mouse events where the left mouse button is no longer held should end a drag.\n * It's possible the user mouse downs with the left mouse button, then mouse down and ups with the right mouse button.\n * We don't want releasing the right mouse button to end the drag.\n * @param {MouseEvent | TouchEvent} e The event\n */\nfunction eventShouldEndDrag(e) {\n    // Touch events will have buttons be undefined, while mouse events will have e.buttons's left button\n    // bit field unset if the left mouse button has been released\n    return e.buttons === undefined || (e.buttons & MouseButtons.Left) === 0;\n}\n// Polyfill for document.elementsFromPoint\nvar elementsFromPoint = ((typeof document !== 'undefined' && document.elementsFromPoint) ||\n    function (x, y) {\n        if (document.msElementsFromPoint) {\n            // msElementsFromPoint is much faster but returns a node-list, so convert it to an array\n            var msElements = document.msElementsFromPoint(x, y);\n            return msElements && Array.prototype.slice.call(msElements, 0);\n        }\n        var elements = [], previousPointerEvents = [], current, i, d;\n        // get all elements via elementFromPoint, and remove them from hit-testing in order\n        while ((current = document.elementFromPoint(x, y)) &&\n            elements.indexOf(current) === -1 &&\n            current !== null) {\n            // push the element and its current style\n            elements.push(current);\n            previousPointerEvents.push({\n                value: current.style.getPropertyValue('pointer-events'),\n                priority: current.style.getPropertyPriority('pointer-events')\n            });\n            // add \"pointer-events: none\", to get to the underlying element\n            current.style.setProperty('pointer-events', 'none', 'important');\n        }\n        // restore the previous pointer-events values\n        for (i = previousPointerEvents.length; (d = previousPointerEvents[--i]);) {\n            elements[i].style.setProperty('pointer-events', d.value ? d.value : '', d.priority);\n        }\n        // return our results\n        return elements;\n    }).bind(typeof document !== 'undefined' ? document : null);\nvar supportsPassive = (function () {\n    // simular to jQuery's test\n    var supported = false;\n    try {\n        addEventListener('test', null, Object.defineProperty({}, 'passive', {\n            get: function () {\n                supported = true;\n            }\n        }));\n    }\n    catch (e) { }\n    return supported;\n})();\nvar ELEMENT_NODE = 1;\nfunction getNodeClientOffset(node) {\n    var el = node.nodeType === ELEMENT_NODE ? node : node.parentElement;\n    if (!el) {\n        return null;\n    }\n    var _a = el.getBoundingClientRect(), top = _a.top, left = _a.left;\n    return { x: left, y: top };\n}\nvar eventNames = (_a = {},\n    _a[\"mouse\" /* mouse */] = {\n        start: 'mousedown',\n        move: 'mousemove',\n        end: 'mouseup',\n        contextmenu: 'contextmenu'\n    },\n    _a[\"touch\" /* touch */] = {\n        start: 'touchstart',\n        move: 'touchmove',\n        end: 'touchend'\n    },\n    _a[\"keyboard\" /* keyboard */] = {\n        keydown: 'keydown'\n    },\n    _a);\nvar TouchBackend = /** @class */ (function () {\n    function TouchBackend(manager, options) {\n        var _this = this;\n        if (options === void 0) { options = {}; }\n        this.getSourceClientOffset = function (sourceId) {\n            return getNodeClientOffset(_this.sourceNodes[sourceId]);\n        };\n        this.handleTopMoveStartCapture = function (e) {\n            if (!eventShouldStartDrag(e)) {\n                return;\n            }\n            _this.moveStartSourceIds = [];\n        };\n        this.handleMoveStart = function (sourceId) {\n            // Just because we received an event doesn't necessarily mean we need to collect drag sources.\n            // We only collect start collecting drag sources on touch and left mouse events.\n            if (Array.isArray(_this.moveStartSourceIds)) {\n                _this.moveStartSourceIds.unshift(sourceId);\n            }\n        };\n        this.handleTopMoveStart = function (e) {\n            if (!eventShouldStartDrag(e)) {\n                return;\n            }\n            // Don't prematurely preventDefault() here since it might:\n            // 1. Mess up scrolling\n            // 2. Mess up long tap (which brings up context menu)\n            // 3. If there's an anchor link as a child, tap won't be triggered on link\n            var clientOffset = getEventClientOffset(e);\n            if (clientOffset) {\n                _this._mouseClientOffset = clientOffset;\n            }\n            _this.waitingForDelay = false;\n        };\n        this.handleTopMoveStartDelay = function (e) {\n            if (!eventShouldStartDrag(e)) {\n                return;\n            }\n            var delay = e.type === eventNames.touch.start\n                ? _this.delayTouchStart\n                : _this.delayMouseStart;\n            _this.timeout = setTimeout(_this.handleTopMoveStart.bind(_this, e), delay);\n            _this.waitingForDelay = true;\n        };\n        this.handleTopMoveCapture = function () {\n            _this.dragOverTargetIds = [];\n        };\n        this.handleMove = function (_, targetId) {\n            _this.dragOverTargetIds.unshift(targetId);\n        };\n        this.handleTopMove = function (e) {\n            clearTimeout(_this.timeout);\n            if (_this.waitingForDelay) {\n                return;\n            }\n            var _a = _this, moveStartSourceIds = _a.moveStartSourceIds, dragOverTargetIds = _a.dragOverTargetIds, enableHoverOutsideTarget = _a.enableHoverOutsideTarget;\n            var clientOffset = getEventClientOffset(e);\n            if (!clientOffset) {\n                return;\n            }\n            // If the touch move started as a scroll, or is is between the scroll angles\n            if (_this._isScrolling ||\n                (!_this.monitor.isDragging() &&\n                    inAngleRanges(_this._mouseClientOffset.x, _this._mouseClientOffset.y, clientOffset.x, clientOffset.y, _this.scrollAngleRanges))) {\n                _this._isScrolling = true;\n                return;\n            }\n            // If we're not dragging and we've moved a little, that counts as a drag start\n            if (!_this.monitor.isDragging() &&\n                _this._mouseClientOffset.hasOwnProperty('x') &&\n                moveStartSourceIds &&\n                distance(_this._mouseClientOffset.x, _this._mouseClientOffset.y, clientOffset.x, clientOffset.y) > (_this.touchSlop ? _this.touchSlop : 0)) {\n                _this.moveStartSourceIds = null;\n                _this.actions.beginDrag(moveStartSourceIds, {\n                    clientOffset: _this._mouseClientOffset,\n                    getSourceClientOffset: _this.getSourceClientOffset,\n                    publishSource: false\n                });\n            }\n            if (!_this.monitor.isDragging()) {\n                return;\n            }\n            var sourceNode = _this.sourceNodes[_this.monitor.getSourceId()];\n            _this.installSourceNodeRemovalObserver(sourceNode);\n            _this.actions.publishDragSource();\n            e.preventDefault();\n            // Get the node elements of the hovered DropTargets\n            var dragOverTargetNodes = dragOverTargetIds.map(function (key) { return _this.targetNodes[key]; });\n            // Get the a ordered list of nodes that are touched by\n            var elementsAtPoint = _this.getDropTargetElementsAtPoint\n                ? _this.getDropTargetElementsAtPoint(clientOffset.x, clientOffset.y, dragOverTargetNodes)\n                : elementsFromPoint(clientOffset.x, clientOffset.y);\n            // Extend list with parents that are not receiving elementsFromPoint events (size 0 elements and svg groups)\n            var elementsAtPointExtended = [];\n            for (var nodeId in elementsAtPoint) {\n                if (!elementsAtPoint.hasOwnProperty(nodeId)) {\n                    continue;\n                }\n                var currentNode = elementsAtPoint[nodeId];\n                elementsAtPointExtended.push(currentNode);\n                while (currentNode) {\n                    currentNode = currentNode.parentElement;\n                    if (elementsAtPointExtended.indexOf(currentNode) === -1) {\n                        elementsAtPointExtended.push(currentNode);\n                    }\n                }\n            }\n            var orderedDragOverTargetIds = elementsAtPointExtended\n                // Filter off nodes that arent a hovered DropTargets nodes\n                .filter(function (node) { return dragOverTargetNodes.indexOf(node) > -1; })\n                // Map back the nodes elements to targetIds\n                .map(function (node) {\n                for (var targetId in _this.targetNodes) {\n                    if (node === _this.targetNodes[targetId]) {\n                        return targetId;\n                    }\n                }\n                return null;\n            })\n                // Filter off possible null rows\n                .filter(function (node) { return !!node; })\n                .filter(function (id, index, ids) { return ids.indexOf(id) === index; });\n            // Invoke hover for drop targets when source node is still over and pointer is outside\n            if (enableHoverOutsideTarget) {\n                for (var targetId in _this.targetNodes) {\n                    if (_this.targetNodes[targetId] &&\n                        _this.targetNodes[targetId].contains(sourceNode) &&\n                        orderedDragOverTargetIds.indexOf(targetId) === -1) {\n                        orderedDragOverTargetIds.unshift(targetId);\n                        break;\n                    }\n                }\n            }\n            // Reverse order because dnd-core reverse it before calling the DropTarget drop methods\n            orderedDragOverTargetIds.reverse();\n            _this.actions.hover(orderedDragOverTargetIds, {\n                clientOffset: clientOffset\n            });\n        };\n        this.handleTopMoveEndCapture = function (e) {\n            _this._isScrolling = false;\n            if (!eventShouldEndDrag(e)) {\n                return;\n            }\n            if (!_this.monitor.isDragging() || _this.monitor.didDrop()) {\n                _this.moveStartSourceIds = null;\n                return;\n            }\n            e.preventDefault();\n            _this._mouseClientOffset = {};\n            _this.uninstallSourceNodeRemovalObserver();\n            _this.actions.drop();\n            _this.actions.endDrag();\n        };\n        this.handleCancelOnEscape = function (e) {\n            if (e.key === 'Escape' && _this.monitor.isDragging()) {\n                _this._mouseClientOffset = {};\n                _this.uninstallSourceNodeRemovalObserver();\n                _this.actions.endDrag();\n            }\n        };\n        options.delayTouchStart = options.delayTouchStart || options.delay;\n        options = __assign({ enableTouchEvents: true, enableMouseEvents: false, enableKeyboardEvents: false, ignoreContextMenu: false, enableHoverOutsideTarget: false, delayTouchStart: 0, delayMouseStart: 0, touchSlop: 0, scrollAngleRanges: undefined }, options);\n        this.actions = manager.getActions();\n        this.monitor = manager.getMonitor();\n        this.registry = manager.getRegistry();\n        this.enableKeyboardEvents = options.enableKeyboardEvents;\n        this.enableMouseEvents = options.enableMouseEvents;\n        this.delayTouchStart = options.delayTouchStart;\n        this.delayMouseStart = options.delayMouseStart;\n        this.ignoreContextMenu = options.ignoreContextMenu;\n        this.touchSlop = options.touchSlop;\n        this.scrollAngleRanges = options.scrollAngleRanges;\n        this.enableHoverOutsideTarget = options.enableHoverOutsideTarget;\n        this.sourceNodes = {};\n        this.sourceNodeOptions = {};\n        this.sourcePreviewNodes = {};\n        this.sourcePreviewNodeOptions = {};\n        this.targetNodes = {};\n        this.targetNodeOptions = {};\n        this.listenerTypes = [];\n        this._mouseClientOffset = {};\n        this._isScrolling = false;\n        if (options.enableMouseEvents) {\n            this.listenerTypes.push(\"mouse\" /* mouse */);\n        }\n        if (options.enableTouchEvents) {\n            this.listenerTypes.push(\"touch\" /* touch */);\n        }\n        if (options.enableKeyboardEvents) {\n            this.listenerTypes.push(\"keyboard\" /* keyboard */);\n        }\n        if (options.getDropTargetElementsAtPoint) {\n            this.getDropTargetElementsAtPoint = options.getDropTargetElementsAtPoint;\n        }\n    }\n    TouchBackend.prototype.setup = function () {\n        if (typeof window === 'undefined') {\n            return;\n        }\n        invariant(!TouchBackend.isSetUp, 'Cannot have two Touch backends at the same time.');\n        TouchBackend.isSetUp = true;\n        this.addEventListener(window, 'start', this.getTopMoveStartHandler());\n        this.addEventListener(window, 'start', this.handleTopMoveStartCapture, true);\n        this.addEventListener(window, 'move', this.handleTopMove);\n        this.addEventListener(window, 'move', this.handleTopMoveCapture, true);\n        this.addEventListener(window, 'end', this.handleTopMoveEndCapture, true);\n        if (this.enableMouseEvents && !this.ignoreContextMenu) {\n            this.addEventListener(window, 'contextmenu', this.handleTopMoveEndCapture);\n        }\n        if (this.enableKeyboardEvents) {\n            this.addEventListener(window, 'keydown', this.handleCancelOnEscape, true);\n        }\n    };\n    TouchBackend.prototype.teardown = function () {\n        if (typeof window === 'undefined') {\n            return;\n        }\n        TouchBackend.isSetUp = false;\n        this._mouseClientOffset = {};\n        this.removeEventListener(window, 'start', this.handleTopMoveStartCapture, true);\n        this.removeEventListener(window, 'start', this.handleTopMoveStart);\n        this.removeEventListener(window, 'move', this.handleTopMoveCapture, true);\n        this.removeEventListener(window, 'move', this.handleTopMove);\n        this.removeEventListener(window, 'end', this.handleTopMoveEndCapture, true);\n        if (this.enableMouseEvents && !this.ignoreContextMenu) {\n            this.removeEventListener(window, 'contextmenu', this.handleTopMoveEndCapture);\n        }\n        if (this.enableKeyboardEvents) {\n            this.removeEventListener(window, 'keydown', this.handleCancelOnEscape, true);\n        }\n        this.uninstallSourceNodeRemovalObserver();\n    };\n    TouchBackend.prototype.addEventListener = function (subject, event, handler, capture) {\n        var options = supportsPassive ? { capture: capture, passive: false } : capture;\n        this.listenerTypes.forEach(function (listenerType) {\n            var evt = eventNames[listenerType][event];\n            if (evt) {\n                subject.addEventListener(evt, handler, options);\n            }\n        });\n    };\n    TouchBackend.prototype.removeEventListener = function (subject, event, handler, capture) {\n        var options = supportsPassive ? { capture: capture, passive: false } : capture;\n        this.listenerTypes.forEach(function (listenerType) {\n            var evt = eventNames[listenerType][event];\n            if (evt) {\n                subject.removeEventListener(evt, handler, options);\n            }\n        });\n    };\n    TouchBackend.prototype.connectDragSource = function (sourceId, node) {\n        var _this = this;\n        var handleMoveStart = this.handleMoveStart.bind(this, sourceId);\n        this.sourceNodes[sourceId] = node;\n        this.addEventListener(node, 'start', handleMoveStart);\n        return function () {\n            delete _this.sourceNodes[sourceId];\n            _this.removeEventListener(node, 'start', handleMoveStart);\n        };\n    };\n    TouchBackend.prototype.connectDragPreview = function (sourceId, node, options) {\n        var _this = this;\n        this.sourcePreviewNodeOptions[sourceId] = options;\n        this.sourcePreviewNodes[sourceId] = node;\n        return function () {\n            delete _this.sourcePreviewNodes[sourceId];\n            delete _this.sourcePreviewNodeOptions[sourceId];\n        };\n    };\n    TouchBackend.prototype.connectDropTarget = function (targetId, node) {\n        var _this = this;\n        var handleMove = function (e) {\n            var coords;\n            if (!_this.monitor.isDragging()) {\n                return;\n            }\n            /**\n             * Grab the coordinates for the current mouse/touch position\n             */\n            switch (e.type) {\n                case eventNames.mouse.move:\n                    coords = {\n                        x: e.clientX,\n                        y: e.clientY\n                    };\n                    break;\n                case eventNames.touch.move:\n                    coords = {\n                        x: e.touches[0].clientX,\n                        y: e.touches[0].clientY\n                    };\n                    break;\n            }\n            /**\n             * Use the coordinates to grab the element the drag ended on.\n             * If the element is the same as the target node (or any of it's children) then we have hit a drop target and can handle the move.\n             */\n            var droppedOn = document.elementFromPoint(coords.x, coords.y);\n            var childMatch = node.contains(droppedOn);\n            if (droppedOn === node || childMatch) {\n                return _this.handleMove(e, targetId);\n            }\n        };\n        /**\n         * Attaching the event listener to the body so that touchmove will work while dragging over multiple target elements.\n         */\n        this.addEventListener(document.body, 'move', handleMove);\n        this.targetNodes[targetId] = node;\n        return function () {\n            delete _this.targetNodes[targetId];\n            _this.removeEventListener(document.body, 'move', handleMove);\n        };\n    };\n    TouchBackend.prototype.getTopMoveStartHandler = function () {\n        if (!this.delayTouchStart && !this.delayMouseStart) {\n            return this.handleTopMoveStart;\n        }\n        return this.handleTopMoveStartDelay;\n    };\n    TouchBackend.prototype.installSourceNodeRemovalObserver = function (node) {\n        var _this = this;\n        this.uninstallSourceNodeRemovalObserver();\n        this.draggedSourceNode = node;\n        this.draggedSourceNodeRemovalObserver = new MutationObserver(function () {\n            if (!node.parentElement) {\n                _this.resurrectSourceNode();\n                _this.uninstallSourceNodeRemovalObserver();\n            }\n        });\n        if (!node || !node.parentElement) {\n            return;\n        }\n        this.draggedSourceNodeRemovalObserver.observe(node.parentElement, {\n            childList: true\n        });\n    };\n    TouchBackend.prototype.resurrectSourceNode = function () {\n        this.draggedSourceNode.style.display = 'none';\n        this.draggedSourceNode.removeAttribute('data-reactid');\n        document.body.appendChild(this.draggedSourceNode);\n    };\n    TouchBackend.prototype.uninstallSourceNodeRemovalObserver = function () {\n        if (this.draggedSourceNodeRemovalObserver) {\n            this.draggedSourceNodeRemovalObserver.disconnect();\n        }\n        this.draggedSourceNodeRemovalObserver = null;\n        this.draggedSourceNode = null;\n    };\n    return TouchBackend;\n}());\nexports.TouchBackend = TouchBackend;\nfunction isDragDropManager(optionsOrManager) {\n    return !!optionsOrManager.getMonitor;\n}\nfunction createTouchBackend(optionsOrManager) {\n    var touchBackendFactory = function (manager) {\n        return new TouchBackend(manager, optionsOrManager);\n    };\n    if (isDragDropManager(optionsOrManager)) {\n        return touchBackendFactory(optionsOrManager);\n    }\n    else {\n        return touchBackendFactory;\n    }\n}\nexports.default = createTouchBackend;\nfunction distance(x1, y1, x2, y2) {\n    return Math.sqrt(Math.pow(Math.abs(x2 - x1), 2) + Math.pow(Math.abs(y2 - y1), 2));\n}\nfunction inAngleRanges(x1, y1, x2, y2, angleRanges) {\n    if (!angleRanges) {\n        return false;\n    }\n    var angle = (Math.atan2(y2 - y1, x2 - x1) * 180) / Math.PI + 180;\n    for (var i = 0; i < angleRanges.length; ++i) {\n        if ((angleRanges[i].start == null || angle >= angleRanges[i].start) &&\n            (angleRanges[i].end == null || angle <= angleRanges[i].end)) {\n            return true;\n        }\n    }\n    return false;\n}\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n    var extendStatics = function (d, b) {\n        extendStatics = Object.setPrototypeOf ||\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    }\n    return function (d, b) {\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _a;\nvar React = require(\"react\");\nvar dnd_core_1 = require(\"dnd-core\");\nvar checkDecoratorArguments_1 = require(\"./utils/checkDecoratorArguments\");\nvar invariant = require('invariant');\nvar hoistStatics = require('hoist-non-react-statics');\nvar isClassComponent = require('recompose/isClassComponent').default;\n/**\n * Create the React Context\n */\nexports.Consumer = (_a = React.createContext({ dragDropManager: undefined }), _a.Consumer), exports.Provider = _a.Provider;\n/**\n * Creates the context object we're providing\n * @param backend\n * @param context\n */\nfunction createChildContext(backend, context) {\n    return {\n        dragDropManager: dnd_core_1.createDragDropManager(backend, context),\n    };\n}\nexports.createChildContext = createChildContext;\n/**\n * A React component that provides the React-DnD context\n */\nexports.DragDropContextProvider = function (_a) {\n    var backend = _a.backend, context = _a.context, children = _a.children;\n    var contextValue = createChildContext(backend, context);\n    return React.createElement(exports.Provider, { value: contextValue }, children);\n};\n/**\n * Wrap the root component of your application with DragDropContext decorator to set up React DnD.\n * This lets you specify the backend, and sets up the shared DnD state behind the scenes.\n * @param backendFactory The DnD backend factory\n * @param backendContext The backend context\n */\nfunction DragDropContext(backendFactory, backendContext) {\n    checkDecoratorArguments_1.default('DragDropContext', 'backend', backendFactory);\n    var childContext = createChildContext(backendFactory, backendContext);\n    return function decorateContext(DecoratedComponent) {\n        var Decorated = DecoratedComponent;\n        var displayName = Decorated.displayName || Decorated.name || 'Component';\n        var DragDropContextContainer = /** @class */ (function (_super) {\n            __extends(DragDropContextContainer, _super);\n            function DragDropContextContainer() {\n                var _this = _super !== null && _super.apply(this, arguments) || this;\n                _this.ref = React.createRef();\n                return _this;\n            }\n            DragDropContextContainer.prototype.getDecoratedComponentInstance = function () {\n                invariant(this.ref.current, 'In order to access an instance of the decorated component it can not be a stateless component.');\n                return this.ref.current;\n            };\n            DragDropContextContainer.prototype.getManager = function () {\n                return childContext.dragDropManager;\n            };\n            DragDropContextContainer.prototype.render = function () {\n                return (React.createElement(exports.Provider, { value: childContext },\n                    React.createElement(Decorated, __assign({}, this.props, { ref: isClassComponent(Decorated) ? this.ref : undefined }))));\n            };\n            DragDropContextContainer.DecoratedComponent = DecoratedComponent;\n            DragDropContextContainer.displayName = \"DragDropContext(\" + displayName + \")\";\n            return DragDropContextContainer;\n        }(React.Component));\n        return hoistStatics(DragDropContextContainer, DecoratedComponent);\n    };\n}\nexports.DragDropContext = DragDropContext;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n    var extendStatics = function (d, b) {\n        extendStatics = Object.setPrototypeOf ||\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    }\n    return function (d, b) {\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar checkDecoratorArguments_1 = require(\"./utils/checkDecoratorArguments\");\nvar DragDropContext_1 = require(\"./DragDropContext\");\nvar hoistStatics = require('hoist-non-react-statics');\nvar isPlainObject = require('lodash/isPlainObject');\nvar invariant = require('invariant');\nvar shallowEqual = require('shallowequal');\nvar isClassComponent = require('recompose/isClassComponent').default;\nfunction DragLayer(collect, options) {\n    if (options === void 0) { options = {}; }\n    checkDecoratorArguments_1.default('DragLayer', 'collect[, options]', collect, options);\n    invariant(typeof collect === 'function', 'Expected \"collect\" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ', 'Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html', collect);\n    invariant(isPlainObject(options), 'Expected \"options\" provided as the second argument to DragLayer to be a plain object when specified. ' +\n        'Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html', options);\n    return function decorateLayer(DecoratedComponent) {\n        var Decorated = DecoratedComponent;\n        var _a = options.arePropsEqual, arePropsEqual = _a === void 0 ? shallowEqual : _a;\n        var displayName = Decorated.displayName || Decorated.name || 'Component';\n        var DragLayerContainer = /** @class */ (function (_super) {\n            __extends(DragLayerContainer, _super);\n            function DragLayerContainer() {\n                var _this = _super !== null && _super.apply(this, arguments) || this;\n                _this.isCurrentlyMounted = false;\n                _this.ref = React.createRef();\n                _this.handleChange = function () {\n                    if (!_this.isCurrentlyMounted) {\n                        return;\n                    }\n                    var nextState = _this.getCurrentState();\n                    if (!shallowEqual(nextState, _this.state)) {\n                        _this.setState(nextState);\n                    }\n                };\n                return _this;\n            }\n            Object.defineProperty(DragLayerContainer.prototype, \"DecoratedComponent\", {\n                get: function () {\n                    return DecoratedComponent;\n                },\n                enumerable: true,\n                configurable: true\n            });\n            DragLayerContainer.prototype.getDecoratedComponentInstance = function () {\n                invariant(this.ref.current, 'In order to access an instance of the decorated component it can not be a stateless component.');\n                return this.ref.current;\n            };\n            DragLayerContainer.prototype.shouldComponentUpdate = function (nextProps, nextState) {\n                return (!arePropsEqual(nextProps, this.props) ||\n                    !shallowEqual(nextState, this.state));\n            };\n            DragLayerContainer.prototype.componentDidMount = function () {\n                this.isCurrentlyMounted = true;\n                this.handleChange();\n            };\n            DragLayerContainer.prototype.componentWillUnmount = function () {\n                this.isCurrentlyMounted = false;\n                if (this.unsubscribeFromOffsetChange) {\n                    this.unsubscribeFromOffsetChange();\n                    this.unsubscribeFromOffsetChange = undefined;\n                }\n                if (this.unsubscribeFromStateChange) {\n                    this.unsubscribeFromStateChange();\n                    this.unsubscribeFromStateChange = undefined;\n                }\n            };\n            DragLayerContainer.prototype.render = function () {\n                var _this = this;\n                return (React.createElement(DragDropContext_1.Consumer, null, function (_a) {\n                    var dragDropManager = _a.dragDropManager;\n                    if (dragDropManager === undefined) {\n                        return null;\n                    }\n                    _this.receiveDragDropManager(dragDropManager);\n                    // Let componentDidMount fire to initialize the collected state\n                    if (!_this.isCurrentlyMounted) {\n                        return null;\n                    }\n                    return (React.createElement(Decorated, __assign({}, _this.props, _this.state, { ref: isClassComponent(Decorated) ? _this.ref : undefined })));\n                }));\n            };\n            DragLayerContainer.prototype.receiveDragDropManager = function (dragDropManager) {\n                if (this.manager !== undefined) {\n                    return;\n                }\n                this.manager = dragDropManager;\n                invariant(typeof dragDropManager === 'object', 'Could not find the drag and drop manager in the context of %s. ' +\n                    'Make sure to wrap the top-level component of your app with DragDropContext. ' +\n                    'Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context', displayName, displayName);\n                var monitor = this.manager.getMonitor();\n                this.unsubscribeFromOffsetChange = monitor.subscribeToOffsetChange(this.handleChange);\n                this.unsubscribeFromStateChange = monitor.subscribeToStateChange(this.handleChange);\n            };\n            DragLayerContainer.prototype.getCurrentState = function () {\n                if (!this.manager) {\n                    return {};\n                }\n                var monitor = this.manager.getMonitor();\n                return collect(monitor, this.props);\n            };\n            DragLayerContainer.displayName = \"DragLayer(\" + displayName + \")\";\n            return DragLayerContainer;\n        }(React.Component));\n        return hoistStatics(DragLayerContainer, DecoratedComponent);\n    };\n}\nexports.default = DragLayer;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar checkDecoratorArguments_1 = require(\"./utils/checkDecoratorArguments\");\nvar decorateHandler_1 = require(\"./decorateHandler\");\nvar registerSource_1 = require(\"./registerSource\");\nvar createSourceFactory_1 = require(\"./createSourceFactory\");\nvar createSourceMonitor_1 = require(\"./createSourceMonitor\");\nvar createSourceConnector_1 = require(\"./createSourceConnector\");\nvar isValidType_1 = require(\"./utils/isValidType\");\nvar invariant = require('invariant');\nvar isPlainObject = require('lodash/isPlainObject');\n/**\n * Decorates a component as a dragsource\n * @param type The dragsource type\n * @param spec The drag source specification\n * @param collect The props collector function\n * @param options DnD options\n */\nfunction DragSource(type, spec, collect, options) {\n    if (options === void 0) { options = {}; }\n    checkDecoratorArguments_1.default('DragSource', 'type, spec, collect[, options]', type, spec, collect, options);\n    var getType = type;\n    if (typeof type !== 'function') {\n        invariant(isValidType_1.default(type), 'Expected \"type\" provided as the first argument to DragSource to be ' +\n            'a string, or a function that returns a string given the current props. ' +\n            'Instead, received %s. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html', type);\n        getType = function () { return type; };\n    }\n    invariant(isPlainObject(spec), 'Expected \"spec\" provided as the second argument to DragSource to be ' +\n        'a plain object. Instead, received %s. ' +\n        'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html', spec);\n    var createSource = createSourceFactory_1.default(spec);\n    invariant(typeof collect === 'function', 'Expected \"collect\" provided as the third argument to DragSource to be ' +\n        'a function that returns a plain object of props to inject. ' +\n        'Instead, received %s. ' +\n        'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html', collect);\n    invariant(isPlainObject(options), 'Expected \"options\" provided as the fourth argument to DragSource to be ' +\n        'a plain object when specified. ' +\n        'Instead, received %s. ' +\n        'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html', collect);\n    return function decorateSource(DecoratedComponent) {\n        return decorateHandler_1.default({\n            containerDisplayName: 'DragSource',\n            createHandler: createSource,\n            registerHandler: registerSource_1.default,\n            createMonitor: createSourceMonitor_1.default,\n            createConnector: createSourceConnector_1.default,\n            DecoratedComponent: DecoratedComponent,\n            getType: getType,\n            collect: collect,\n            options: options,\n        });\n    };\n}\nexports.default = DragSource;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar checkDecoratorArguments_1 = require(\"./utils/checkDecoratorArguments\");\nvar decorateHandler_1 = require(\"./decorateHandler\");\nvar registerTarget_1 = require(\"./registerTarget\");\nvar createTargetFactory_1 = require(\"./createTargetFactory\");\nvar createTargetMonitor_1 = require(\"./createTargetMonitor\");\nvar createTargetConnector_1 = require(\"./createTargetConnector\");\nvar isValidType_1 = require(\"./utils/isValidType\");\nvar invariant = require('invariant');\nvar isPlainObject = require('lodash/isPlainObject');\nfunction DropTarget(type, spec, collect, options) {\n    if (options === void 0) { options = {}; }\n    checkDecoratorArguments_1.default('DropTarget', 'type, spec, collect[, options]', type, spec, collect, options);\n    var getType = type;\n    if (typeof type !== 'function') {\n        invariant(isValidType_1.default(type, true), 'Expected \"type\" provided as the first argument to DropTarget to be ' +\n            'a string, an array of strings, or a function that returns either given ' +\n            'the current props. Instead, received %s. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html', type);\n        getType = function () { return type; };\n    }\n    invariant(isPlainObject(spec), 'Expected \"spec\" provided as the second argument to DropTarget to be ' +\n        'a plain object. Instead, received %s. ' +\n        'Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html', spec);\n    var createTarget = createTargetFactory_1.default(spec);\n    invariant(typeof collect === 'function', 'Expected \"collect\" provided as the third argument to DropTarget to be ' +\n        'a function that returns a plain object of props to inject. ' +\n        'Instead, received %s. ' +\n        'Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html', collect);\n    invariant(isPlainObject(options), 'Expected \"options\" provided as the fourth argument to DropTarget to be ' +\n        'a plain object when specified. ' +\n        'Instead, received %s. ' +\n        'Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html', collect);\n    return function decorateTarget(DecoratedComponent) {\n        return decorateHandler_1.default({\n            containerDisplayName: 'DropTarget',\n            createHandler: createTarget,\n            registerHandler: registerTarget_1.default,\n            createMonitor: createTargetMonitor_1.default,\n            createConnector: createTargetConnector_1.default,\n            DecoratedComponent: DecoratedComponent,\n            getType: getType,\n            collect: collect,\n            options: options,\n        });\n    };\n}\nexports.default = DropTarget;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar wrapConnectorHooks_1 = require(\"./wrapConnectorHooks\");\nvar shallowEqual = require('shallowequal');\nfunction createSourceConnector(backend) {\n    var currentHandlerId;\n    var currentDragSourceNode;\n    var currentDragSourceOptions;\n    var disconnectCurrentDragSource;\n    var currentDragPreviewNode;\n    var currentDragPreviewOptions;\n    var disconnectCurrentDragPreview;\n    function reconnectDragSource() {\n        if (disconnectCurrentDragSource) {\n            disconnectCurrentDragSource();\n            disconnectCurrentDragSource = undefined;\n        }\n        if (currentHandlerId && currentDragSourceNode) {\n            disconnectCurrentDragSource = backend.connectDragSource(currentHandlerId, currentDragSourceNode, currentDragSourceOptions);\n        }\n    }\n    function reconnectDragPreview() {\n        if (disconnectCurrentDragPreview) {\n            disconnectCurrentDragPreview();\n            disconnectCurrentDragPreview = undefined;\n        }\n        if (currentHandlerId && currentDragPreviewNode) {\n            disconnectCurrentDragPreview = backend.connectDragPreview(currentHandlerId, currentDragPreviewNode, currentDragPreviewOptions);\n        }\n    }\n    function receiveHandlerId(handlerId) {\n        if (handlerId === currentHandlerId) {\n            return;\n        }\n        currentHandlerId = handlerId;\n        reconnectDragSource();\n        reconnectDragPreview();\n    }\n    var hooks = wrapConnectorHooks_1.default({\n        dragSource: function connectDragSource(node, options) {\n            if (node === currentDragSourceNode &&\n                shallowEqual(options, currentDragSourceOptions)) {\n                return;\n            }\n            currentDragSourceNode = node;\n            currentDragSourceOptions = options;\n            reconnectDragSource();\n        },\n        dragPreview: function connectDragPreview(node, options) {\n            if (node === currentDragPreviewNode &&\n                shallowEqual(options, currentDragPreviewOptions)) {\n                return;\n            }\n            currentDragPreviewNode = node;\n            currentDragPreviewOptions = options;\n            reconnectDragPreview();\n        },\n    });\n    return {\n        receiveHandlerId: receiveHandlerId,\n        hooks: hooks,\n    };\n}\nexports.default = createSourceConnector;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar invariant = require('invariant');\nvar isPlainObject = require('lodash/isPlainObject');\nvar ALLOWED_SPEC_METHODS = ['canDrag', 'beginDrag', 'isDragging', 'endDrag'];\nvar REQUIRED_SPEC_METHODS = ['beginDrag'];\nfunction createSourceFactory(spec) {\n    Object.keys(spec).forEach(function (key) {\n        invariant(ALLOWED_SPEC_METHODS.indexOf(key) > -1, 'Expected the drag source specification to only have ' +\n            'some of the following keys: %s. ' +\n            'Instead received a specification with an unexpected \"%s\" key. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html', ALLOWED_SPEC_METHODS.join(', '), key);\n        invariant(typeof spec[key] === 'function', 'Expected %s in the drag source specification to be a function. ' +\n            'Instead received a specification with %s: %s. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html', key, key, spec[key]);\n    });\n    REQUIRED_SPEC_METHODS.forEach(function (key) {\n        invariant(typeof spec[key] === 'function', 'Expected %s in the drag source specification to be a function. ' +\n            'Instead received a specification with %s: %s. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html', key, key, spec[key]);\n    });\n    var SourceImpl = /** @class */ (function () {\n        function SourceImpl(monitor) {\n            var _this = this;\n            this.monitor = monitor;\n            this.props = null;\n            this.ref = react_1.createRef();\n            this.beginDrag = function () {\n                if (!_this.props) {\n                    return;\n                }\n                var item = spec.beginDrag(_this.props, _this.monitor, _this.ref.current);\n                if (process.env.NODE_ENV !== 'production') {\n                    invariant(isPlainObject(item), 'beginDrag() must return a plain object that represents the dragged item. ' +\n                        'Instead received %s. ' +\n                        'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html', item);\n                }\n                return item;\n            };\n        }\n        SourceImpl.prototype.receiveProps = function (props) {\n            this.props = props;\n        };\n        SourceImpl.prototype.canDrag = function () {\n            if (!this.props) {\n                return false;\n            }\n            if (!spec.canDrag) {\n                return true;\n            }\n            return spec.canDrag(this.props, this.monitor);\n        };\n        SourceImpl.prototype.isDragging = function (globalMonitor, sourceId) {\n            if (!this.props) {\n                return false;\n            }\n            if (!spec.isDragging) {\n                return sourceId === globalMonitor.getSourceId();\n            }\n            return spec.isDragging(this.props, this.monitor);\n        };\n        SourceImpl.prototype.endDrag = function () {\n            if (!this.props) {\n                return;\n            }\n            if (!spec.endDrag) {\n                return;\n            }\n            spec.endDrag(this.props, this.monitor, this.ref.current);\n        };\n        return SourceImpl;\n    }());\n    return function createSource(monitor) {\n        return new SourceImpl(monitor);\n    };\n}\nexports.default = createSourceFactory;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar invariant = require('invariant');\nvar isCallingCanDrag = false;\nvar isCallingIsDragging = false;\nvar SourceMonitor = /** @class */ (function () {\n    function SourceMonitor(manager) {\n        this.internalMonitor = manager.getMonitor();\n    }\n    SourceMonitor.prototype.receiveHandlerId = function (sourceId) {\n        this.sourceId = sourceId;\n    };\n    SourceMonitor.prototype.canDrag = function () {\n        invariant(!isCallingCanDrag, 'You may not call monitor.canDrag() inside your canDrag() implementation. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html');\n        try {\n            isCallingCanDrag = true;\n            return this.internalMonitor.canDragSource(this.sourceId);\n        }\n        finally {\n            isCallingCanDrag = false;\n        }\n    };\n    SourceMonitor.prototype.isDragging = function () {\n        invariant(!isCallingIsDragging, 'You may not call monitor.isDragging() inside your isDragging() implementation. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html');\n        try {\n            isCallingIsDragging = true;\n            return this.internalMonitor.isDraggingSource(this.sourceId);\n        }\n        finally {\n            isCallingIsDragging = false;\n        }\n    };\n    SourceMonitor.prototype.subscribeToStateChange = function (listener, options) {\n        return this.internalMonitor.subscribeToStateChange(listener, options);\n    };\n    SourceMonitor.prototype.isDraggingSource = function (sourceId) {\n        return this.internalMonitor.isDraggingSource(sourceId);\n    };\n    SourceMonitor.prototype.isOverTarget = function (targetId, options) {\n        return this.internalMonitor.isOverTarget(targetId, options);\n    };\n    SourceMonitor.prototype.getTargetIds = function () {\n        return this.internalMonitor.getTargetIds();\n    };\n    SourceMonitor.prototype.isSourcePublic = function () {\n        return this.internalMonitor.isSourcePublic();\n    };\n    SourceMonitor.prototype.getSourceId = function () {\n        return this.internalMonitor.getSourceId();\n    };\n    SourceMonitor.prototype.subscribeToOffsetChange = function (listener) {\n        return this.internalMonitor.subscribeToOffsetChange(listener);\n    };\n    SourceMonitor.prototype.canDragSource = function (sourceId) {\n        return this.internalMonitor.canDragSource(sourceId);\n    };\n    SourceMonitor.prototype.canDropOnTarget = function (targetId) {\n        return this.internalMonitor.canDropOnTarget(targetId);\n    };\n    SourceMonitor.prototype.getItemType = function () {\n        return this.internalMonitor.getItemType();\n    };\n    SourceMonitor.prototype.getItem = function () {\n        return this.internalMonitor.getItem();\n    };\n    SourceMonitor.prototype.getDropResult = function () {\n        return this.internalMonitor.getDropResult();\n    };\n    SourceMonitor.prototype.didDrop = function () {\n        return this.internalMonitor.didDrop();\n    };\n    SourceMonitor.prototype.getInitialClientOffset = function () {\n        return this.internalMonitor.getInitialClientOffset();\n    };\n    SourceMonitor.prototype.getInitialSourceClientOffset = function () {\n        return this.internalMonitor.getInitialSourceClientOffset();\n    };\n    SourceMonitor.prototype.getSourceClientOffset = function () {\n        return this.internalMonitor.getSourceClientOffset();\n    };\n    SourceMonitor.prototype.getClientOffset = function () {\n        return this.internalMonitor.getClientOffset();\n    };\n    SourceMonitor.prototype.getDifferenceFromInitialOffset = function () {\n        return this.internalMonitor.getDifferenceFromInitialOffset();\n    };\n    return SourceMonitor;\n}());\nfunction createSourceMonitor(manager) {\n    return new SourceMonitor(manager);\n}\nexports.default = createSourceMonitor;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar wrapConnectorHooks_1 = require(\"./wrapConnectorHooks\");\nvar shallowEqual = require('shallowequal');\nfunction createTargetConnector(backend) {\n    var currentHandlerId;\n    var currentDropTargetNode;\n    var currentDropTargetOptions;\n    var disconnectCurrentDropTarget;\n    function reconnectDropTarget() {\n        if (disconnectCurrentDropTarget) {\n            disconnectCurrentDropTarget();\n            disconnectCurrentDropTarget = undefined;\n        }\n        if (currentHandlerId && currentDropTargetNode) {\n            disconnectCurrentDropTarget = backend.connectDropTarget(currentHandlerId, currentDropTargetNode, currentDropTargetOptions);\n        }\n    }\n    function receiveHandlerId(handlerId) {\n        if (handlerId === currentHandlerId) {\n            return;\n        }\n        currentHandlerId = handlerId;\n        reconnectDropTarget();\n    }\n    var hooks = wrapConnectorHooks_1.default({\n        dropTarget: function connectDropTarget(node, options) {\n            if (node === currentDropTargetNode &&\n                shallowEqual(options, currentDropTargetOptions)) {\n                return;\n            }\n            currentDropTargetNode = node;\n            currentDropTargetOptions = options;\n            reconnectDropTarget();\n        },\n    });\n    return {\n        receiveHandlerId: receiveHandlerId,\n        hooks: hooks,\n    };\n}\nexports.default = createTargetConnector;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar invariant = require('invariant');\nvar isPlainObject = require('lodash/isPlainObject');\nvar ALLOWED_SPEC_METHODS = ['canDrop', 'hover', 'drop'];\nfunction createTargetFactory(spec) {\n    Object.keys(spec).forEach(function (key) {\n        invariant(ALLOWED_SPEC_METHODS.indexOf(key) > -1, 'Expected the drop target specification to only have ' +\n            'some of the following keys: %s. ' +\n            'Instead received a specification with an unexpected \"%s\" key. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html', ALLOWED_SPEC_METHODS.join(', '), key);\n        invariant(typeof spec[key] === 'function', 'Expected %s in the drop target specification to be a function. ' +\n            'Instead received a specification with %s: %s. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html', key, key, spec[key]);\n    });\n    var TargetImpl = /** @class */ (function () {\n        function TargetImpl(monitor) {\n            this.monitor = monitor;\n            this.props = null;\n            this.ref = react_1.createRef();\n        }\n        TargetImpl.prototype.receiveProps = function (props) {\n            this.props = props;\n        };\n        TargetImpl.prototype.receiveMonitor = function (monitor) {\n            this.monitor = monitor;\n        };\n        TargetImpl.prototype.canDrop = function () {\n            if (!spec.canDrop) {\n                return true;\n            }\n            return spec.canDrop(this.props, this.monitor);\n        };\n        TargetImpl.prototype.hover = function () {\n            if (!spec.hover) {\n                return;\n            }\n            spec.hover(this.props, this.monitor, this.ref.current);\n        };\n        TargetImpl.prototype.drop = function () {\n            if (!spec.drop) {\n                return undefined;\n            }\n            var dropResult = spec.drop(this.props, this.monitor, this.ref.current);\n            if (process.env.NODE_ENV !== 'production') {\n                invariant(typeof dropResult === 'undefined' || isPlainObject(dropResult), 'drop() must either return undefined, or an object that represents the drop result. ' +\n                    'Instead received %s. ' +\n                    'Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html', dropResult);\n            }\n            return dropResult;\n        };\n        return TargetImpl;\n    }());\n    return function createTarget(monitor) {\n        return new TargetImpl(monitor);\n    };\n}\nexports.default = createTargetFactory;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar invariant = require('invariant');\nvar isCallingCanDrop = false;\nvar TargetMonitor = /** @class */ (function () {\n    function TargetMonitor(manager) {\n        this.internalMonitor = manager.getMonitor();\n    }\n    TargetMonitor.prototype.receiveHandlerId = function (targetId) {\n        this.targetId = targetId;\n    };\n    TargetMonitor.prototype.canDrop = function () {\n        invariant(!isCallingCanDrop, 'You may not call monitor.canDrop() inside your canDrop() implementation. ' +\n            'Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html');\n        try {\n            isCallingCanDrop = true;\n            return this.internalMonitor.canDropOnTarget(this.targetId);\n        }\n        finally {\n            isCallingCanDrop = false;\n        }\n    };\n    TargetMonitor.prototype.isOver = function (options) {\n        return this.internalMonitor.isOverTarget(this.targetId, options);\n    };\n    TargetMonitor.prototype.getItemType = function () {\n        return this.internalMonitor.getItemType();\n    };\n    TargetMonitor.prototype.getItem = function () {\n        return this.internalMonitor.getItem();\n    };\n    TargetMonitor.prototype.getDropResult = function () {\n        return this.internalMonitor.getDropResult();\n    };\n    TargetMonitor.prototype.didDrop = function () {\n        return this.internalMonitor.didDrop();\n    };\n    TargetMonitor.prototype.getInitialClientOffset = function () {\n        return this.internalMonitor.getInitialClientOffset();\n    };\n    TargetMonitor.prototype.getInitialSourceClientOffset = function () {\n        return this.internalMonitor.getInitialSourceClientOffset();\n    };\n    TargetMonitor.prototype.getSourceClientOffset = function () {\n        return this.internalMonitor.getSourceClientOffset();\n    };\n    TargetMonitor.prototype.getClientOffset = function () {\n        return this.internalMonitor.getClientOffset();\n    };\n    TargetMonitor.prototype.getDifferenceFromInitialOffset = function () {\n        return this.internalMonitor.getDifferenceFromInitialOffset();\n    };\n    return TargetMonitor;\n}());\nexports.TargetMonitor = TargetMonitor;\nfunction createTargetMonitor(manager) {\n    return new TargetMonitor(manager);\n}\nexports.default = createTargetMonitor;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n    var extendStatics = function (d, b) {\n        extendStatics = Object.setPrototypeOf ||\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    }\n    return function (d, b) {\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar DragDropContext_1 = require(\"./DragDropContext\");\nvar disposables_1 = require(\"./utils/disposables\");\nvar isClassComponent = require('recompose/isClassComponent').default;\nvar isPlainObject = require('lodash/isPlainObject');\nvar invariant = require('invariant');\nvar hoistStatics = require('hoist-non-react-statics');\nvar shallowEqual = require('shallowequal');\nfunction decorateHandler(_a) {\n    var DecoratedComponent = _a.DecoratedComponent, createHandler = _a.createHandler, createMonitor = _a.createMonitor, createConnector = _a.createConnector, registerHandler = _a.registerHandler, containerDisplayName = _a.containerDisplayName, getType = _a.getType, collect = _a.collect, options = _a.options;\n    var _b = options.arePropsEqual, arePropsEqual = _b === void 0 ? shallowEqual : _b;\n    var Decorated = DecoratedComponent;\n    var displayName = DecoratedComponent.displayName || DecoratedComponent.name || 'Component';\n    var DragDropContainer = /** @class */ (function (_super) {\n        __extends(DragDropContainer, _super);\n        function DragDropContainer(props) {\n            var _this = _super.call(this, props) || this;\n            _this.isCurrentlyMounted = false;\n            _this.handleChange = function () {\n                if (!_this.isCurrentlyMounted) {\n                    return;\n                }\n                var nextState = _this.getCurrentState();\n                if (!shallowEqual(nextState, _this.state)) {\n                    _this.setState(nextState);\n                }\n            };\n            _this.disposable = new disposables_1.SerialDisposable();\n            _this.receiveProps(props);\n            _this.dispose();\n            return _this;\n        }\n        DragDropContainer.prototype.getHandlerId = function () {\n            return this.handlerId;\n        };\n        DragDropContainer.prototype.getDecoratedComponentInstance = function () {\n            if (!this.handler) {\n                return null;\n            }\n            return this.handler.ref.current;\n        };\n        DragDropContainer.prototype.shouldComponentUpdate = function (nextProps, nextState) {\n            return (!arePropsEqual(nextProps, this.props) ||\n                !shallowEqual(nextState, this.state));\n        };\n        DragDropContainer.prototype.componentDidMount = function () {\n            this.isCurrentlyMounted = true;\n            this.disposable = new disposables_1.SerialDisposable();\n            this.currentType = undefined;\n            this.receiveProps(this.props);\n            this.handleChange();\n        };\n        DragDropContainer.prototype.componentDidUpdate = function (prevProps) {\n            if (!arePropsEqual(this.props, prevProps)) {\n                this.receiveProps(this.props);\n                this.handleChange();\n            }\n        };\n        DragDropContainer.prototype.componentWillUnmount = function () {\n            this.dispose();\n            this.isCurrentlyMounted = false;\n        };\n        DragDropContainer.prototype.receiveProps = function (props) {\n            if (!this.handler) {\n                return;\n            }\n            this.handler.receiveProps(props);\n            this.receiveType(getType(props));\n        };\n        DragDropContainer.prototype.receiveType = function (type) {\n            if (!this.handlerMonitor || !this.manager || !this.handlerConnector) {\n                return;\n            }\n            if (type === this.currentType) {\n                return;\n            }\n            this.currentType = type;\n            var _a = registerHandler(type, this.handler, this.manager), handlerId = _a.handlerId, unregister = _a.unregister;\n            this.handlerId = handlerId;\n            this.handlerMonitor.receiveHandlerId(handlerId);\n            this.handlerConnector.receiveHandlerId(handlerId);\n            var globalMonitor = this.manager.getMonitor();\n            var unsubscribe = globalMonitor.subscribeToStateChange(this.handleChange, { handlerIds: [handlerId] });\n            this.disposable.setDisposable(new disposables_1.CompositeDisposable(new disposables_1.Disposable(unsubscribe), new disposables_1.Disposable(unregister)));\n        };\n        DragDropContainer.prototype.dispose = function () {\n            this.disposable.dispose();\n            if (this.handlerConnector) {\n                this.handlerConnector.receiveHandlerId(null);\n            }\n        };\n        DragDropContainer.prototype.getCurrentState = function () {\n            if (!this.handlerConnector) {\n                return {};\n            }\n            var nextState = collect(this.handlerConnector.hooks, this.handlerMonitor);\n            if (process.env.NODE_ENV !== 'production') {\n                invariant(isPlainObject(nextState), 'Expected `collect` specified as the second argument to ' +\n                    '%s for %s to return a plain object of props to inject. ' +\n                    'Instead, received %s.', containerDisplayName, displayName, nextState);\n            }\n            return nextState;\n        };\n        DragDropContainer.prototype.render = function () {\n            var _this = this;\n            return (React.createElement(DragDropContext_1.Consumer, null, function (_a) {\n                var dragDropManager = _a.dragDropManager;\n                if (dragDropManager === undefined) {\n                    return null;\n                }\n                _this.receiveDragDropManager(dragDropManager);\n                // Let componentDidMount fire to initialize the collected state\n                if (!_this.isCurrentlyMounted) {\n                    return null;\n                }\n                return (React.createElement(Decorated, __assign({}, _this.props, _this.state, { ref: _this.handler && isClassComponent(Decorated)\n                        ? _this.handler.ref\n                        : undefined })));\n            }));\n        };\n        DragDropContainer.prototype.receiveDragDropManager = function (dragDropManager) {\n            if (this.manager !== undefined) {\n                return;\n            }\n            this.manager = dragDropManager;\n            invariant(typeof dragDropManager === 'object', 'Could not find the drag and drop manager in the context of %s. ' +\n                'Make sure to wrap the top-level component of your app with DragDropContext. ' +\n                'Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context', displayName, displayName);\n            this.handlerMonitor = createMonitor(dragDropManager);\n            this.handlerConnector = createConnector(dragDropManager.getBackend());\n            this.handler = createHandler(this.handlerMonitor);\n        };\n        DragDropContainer.DecoratedComponent = DecoratedComponent;\n        DragDropContainer.displayName = containerDisplayName + \"(\" + displayName + \")\";\n        return DragDropContainer;\n    }(React.Component));\n    return hoistStatics(DragDropContainer, DecoratedComponent);\n}\nexports.default = decorateHandler;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DragDropContext_1 = require(\"./DragDropContext\");\nexports.DragDropContext = DragDropContext_1.DragDropContext;\nexports.DragDropContextProvider = DragDropContext_1.DragDropContextProvider;\nvar DragLayer_1 = require(\"./DragLayer\");\nexports.DragLayer = DragLayer_1.default;\nvar DragSource_1 = require(\"./DragSource\");\nexports.DragSource = DragSource_1.default;\nvar DropTarget_1 = require(\"./DropTarget\");\nexports.DropTarget = DropTarget_1.default;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction registerSource(type, source, manager) {\n    var registry = manager.getRegistry();\n    var sourceId = registry.addSource(type, source);\n    function unregisterSource() {\n        registry.removeSource(sourceId);\n    }\n    return {\n        handlerId: sourceId,\n        unregister: unregisterSource,\n    };\n}\nexports.default = registerSource;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction registerTarget(type, target, manager) {\n    var registry = manager.getRegistry();\n    var targetId = registry.addTarget(type, target);\n    function unregisterTarget() {\n        registry.removeTarget(targetId);\n    }\n    return {\n        handlerId: targetId,\n        unregister: unregisterTarget,\n    };\n}\nexports.default = registerTarget;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction checkDecoratorArguments(functionName, signature) {\n    var args = [];\n    for (var _i = 2; _i < arguments.length; _i++) {\n        args[_i - 2] = arguments[_i];\n    }\n    if (process.env.NODE_ENV !== 'production') {\n        for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {\n            var arg = args_1[_a];\n            if (arg && arg.prototype && arg.prototype.render) {\n                // tslint:disable-next-line no-console\n                console.error('You seem to be applying the arguments in the wrong order. ' +\n                    (\"It should be \" + functionName + \"(\" + signature + \")(Component), not the other way around. \") +\n                    'Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#you-seem-to-be-applying-the-arguments-in-the-wrong-order');\n                return;\n            }\n        }\n    }\n}\nexports.default = checkDecoratorArguments;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar invariant = require('invariant');\nfunction cloneWithRef(element, newRef) {\n    var previousRef = element.ref;\n    invariant(typeof previousRef !== 'string', 'Cannot connect React DnD to an element with an existing string ref. ' +\n        'Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. ' +\n        'Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute');\n    if (!previousRef) {\n        // When there is no ref on the element, use the new ref directly\n        return react_1.cloneElement(element, {\n            ref: newRef,\n        });\n    }\n    return react_1.cloneElement(element, {\n        ref: function (node) {\n            newRef(node);\n            if (previousRef) {\n                previousRef(node);\n            }\n        },\n    });\n}\nexports.default = cloneWithRef;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a group of disposable resources that are disposed together.\n * @constructor\n */\nvar CompositeDisposable = /** @class */ (function () {\n    function CompositeDisposable() {\n        var disposables = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            disposables[_i] = arguments[_i];\n        }\n        this.isDisposed = false;\n        this.disposables = disposables;\n    }\n    /**\n     * Adds a disposable to the CompositeDisposable or disposes the disposable if the CompositeDisposable is disposed.\n     * @param {Any} item Disposable to add.\n     */\n    CompositeDisposable.prototype.add = function (item) {\n        if (this.isDisposed) {\n            item.dispose();\n        }\n        else {\n            this.disposables.push(item);\n        }\n    };\n    /**\n     * Removes and disposes the first occurrence of a disposable from the CompositeDisposable.\n     * @param {Any} item Disposable to remove.\n     * @returns {Boolean} true if found; false otherwise.\n     */\n    CompositeDisposable.prototype.remove = function (item) {\n        var shouldDispose = false;\n        if (!this.isDisposed) {\n            var idx = this.disposables.indexOf(item);\n            if (idx !== -1) {\n                shouldDispose = true;\n                this.disposables.splice(idx, 1);\n                item.dispose();\n            }\n        }\n        return shouldDispose;\n    };\n    /**\n     *  Disposes all disposables in the group and removes them from the group but\n     *  does not dispose the CompositeDisposable.\n     */\n    CompositeDisposable.prototype.clear = function () {\n        if (!this.isDisposed) {\n            var len = this.disposables.length;\n            var currentDisposables = new Array(len);\n            for (var i = 0; i < len; i++) {\n                currentDisposables[i] = this.disposables[i];\n            }\n            this.disposables = [];\n            for (var i = 0; i < len; i++) {\n                currentDisposables[i].dispose();\n            }\n        }\n    };\n    /**\n     *  Disposes all disposables in the group and removes them from the group.\n     */\n    CompositeDisposable.prototype.dispose = function () {\n        if (!this.isDisposed) {\n            this.isDisposed = true;\n            var len = this.disposables.length;\n            var currentDisposables = new Array(len);\n            for (var i = 0; i < len; i++) {\n                currentDisposables[i] = this.disposables[i];\n            }\n            this.disposables = [];\n            for (var i = 0; i < len; i++) {\n                currentDisposables[i].dispose();\n            }\n        }\n    };\n    return CompositeDisposable;\n}());\nexports.CompositeDisposable = CompositeDisposable;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isFunction = require('lodash/isFunction');\nvar noop = require('lodash/noop');\n/**\n * Provides a set of static methods for creating Disposables.\n * @param {Function} action Action to run during the first call to dispose.\n * The action is guaranteed to be run at most once.\n */\nvar Disposable = /** @class */ (function () {\n    function Disposable(action) {\n        this.isDisposed = false;\n        this.action = isFunction(action) ? action : noop;\n    }\n    /**\n     * Validates whether the given object is a disposable\n     * @param {Object} Object to test whether it has a dispose method\n     * @returns {Boolean} true if a disposable object, else false.\n     */\n    Disposable.isDisposable = function (d) {\n        return d && isFunction(d.dispose);\n    };\n    Disposable._fixup = function (result) {\n        return Disposable.isDisposable(result) ? result : Disposable.empty;\n    };\n    /**\n     * Creates a disposable object that invokes the specified action when disposed.\n     * @param {Function} dispose Action to run during the first call to dispose.\n     * The action is guaranteed to be run at most once.\n     * @return {Disposable} The disposable object that runs the given action upon disposal.\n     */\n    Disposable.create = function (action) {\n        return new Disposable(action);\n    };\n    /** Performs the task of cleaning up resources. */\n    Disposable.prototype.dispose = function () {\n        if (!this.isDisposed) {\n            this.action();\n            this.isDisposed = true;\n        }\n    };\n    /**\n     * Gets the disposable that does nothing when disposed.\n     */\n    Disposable.empty = { dispose: noop };\n    return Disposable;\n}());\nexports.Disposable = Disposable;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a disposable resource whose underlying disposable resource can\n * be replaced by another disposable resource, causing automatic disposal of\n * the previous underlying disposable resource.\n */\nvar SerialDisposable = /** @class */ (function () {\n    function SerialDisposable() {\n        this.isDisposed = false;\n    }\n    /**\n     * Gets the underlying disposable.\n     * @returns {Any} the underlying disposable.\n     */\n    SerialDisposable.prototype.getDisposable = function () {\n        return this.current;\n    };\n    SerialDisposable.prototype.setDisposable = function (value) {\n        var shouldDispose = this.isDisposed;\n        if (!shouldDispose) {\n            var old = this.current;\n            this.current = value;\n            if (old) {\n                old.dispose();\n            }\n        }\n        if (shouldDispose && value) {\n            value.dispose();\n        }\n    };\n    /** Performs the task of cleaning up resources. */\n    SerialDisposable.prototype.dispose = function () {\n        if (!this.isDisposed) {\n            this.isDisposed = true;\n            var old = this.current;\n            this.current = undefined;\n            if (old) {\n                old.dispose();\n            }\n        }\n    };\n    return SerialDisposable;\n}());\nexports.SerialDisposable = SerialDisposable;\n","\"use strict\";\nfunction __export(m) {\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./Disposable\"));\n__export(require(\"./SerialDisposable\"));\n__export(require(\"./CompositeDisposable\"));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction isValidType(type, allowArray) {\n    return (typeof type === 'string' ||\n        typeof type === 'symbol' ||\n        (!!allowArray &&\n            Array.isArray(type) &&\n            type.every(function (t) { return isValidType(t, false); })));\n}\nexports.default = isValidType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar cloneWithRef_1 = require(\"./utils/cloneWithRef\");\nfunction throwIfCompositeComponentElement(element) {\n    // Custom components can no longer be wrapped directly in React DnD 2.0\n    // so that we don't need to depend on findDOMNode() from react-dom.\n    if (typeof element.type === 'string') {\n        return;\n    }\n    var displayName = element.type.displayName || element.type.name || 'the component';\n    throw new Error('Only native element nodes can now be passed to React DnD connectors.' +\n        (\"You can either wrap \" + displayName + \" into a <div>, or turn it into a \") +\n        'drag source or a drop target itself.');\n}\nfunction wrapHookToRecognizeElement(hook) {\n    return function (elementOrNode, options) {\n        if (elementOrNode === void 0) { elementOrNode = null; }\n        if (options === void 0) { options = null; }\n        // When passed a node, call the hook straight away.\n        if (!react_1.isValidElement(elementOrNode)) {\n            var node = elementOrNode;\n            hook(node, options);\n            return undefined;\n        }\n        // If passed a ReactElement, clone it and attach this function as a ref.\n        // This helps us achieve a neat API where user doesn't even know that refs\n        // are being used under the hood.\n        var element = elementOrNode;\n        throwIfCompositeComponentElement(element);\n        // When no options are passed, use the hook directly\n        var ref = options ? function (node) { return hook(node, options); } : hook;\n        return cloneWithRef_1.default(element, ref);\n    };\n}\nfunction wrapConnectorHooks(hooks) {\n    var wrappedHooks = {};\n    Object.keys(hooks).forEach(function (key) {\n        var hook = hooks[key];\n        var wrappedHook = wrapHookToRecognizeElement(hook);\n        wrappedHooks[key] = function () { return wrappedHook; };\n    });\n    return wrappedHooks;\n}\nexports.default = wrapConnectorHooks;\n","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}var da=new Set,ea={};function fa(a,b){ha(a,b);ha(a+\"Capture\",b)}\nfunction ha(a,b){ea[a]=b;for(a=0;a<b.length;a++)da.add(b[a])}\nvar ia=!(\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement),ja=Object.prototype.hasOwnProperty,ka=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,la=\n{},ma={};function oa(a){if(ja.call(ma,a))return!0;if(ja.call(la,a))return!1;if(ka.test(a))return ma[a]=!0;la[a]=!0;return!1}function pa(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}\nfunction qa(a,b,c,d){if(null===b||\"undefined\"===typeof b||pa(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2<b.length)||\"o\"!==b[0]&&\"O\"!==b[0]||\"n\"!==b[1]&&\"N\"!==b[1])qa(b,c,e,d)&&(c=null),d||null===e?oa(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,\"\"+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:\"\":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?\"\":\"\"+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)))}\nvar ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for(\"react.element\"),wa=Symbol.for(\"react.portal\"),ya=Symbol.for(\"react.fragment\"),za=Symbol.for(\"react.strict_mode\"),Aa=Symbol.for(\"react.profiler\"),Ba=Symbol.for(\"react.provider\"),Ca=Symbol.for(\"react.context\"),Da=Symbol.for(\"react.forward_ref\"),Ea=Symbol.for(\"react.suspense\"),Fa=Symbol.for(\"react.suspense_list\"),Ga=Symbol.for(\"react.memo\"),Ha=Symbol.for(\"react.lazy\");Symbol.for(\"react.scope\");Symbol.for(\"react.debug_trace_mode\");\nvar Ia=Symbol.for(\"react.offscreen\");Symbol.for(\"react.legacy_hidden\");Symbol.for(\"react.cache\");Symbol.for(\"react.tracing_marker\");var Ja=Symbol.iterator;function Ka(a){if(null===a||\"object\"!==typeof a)return null;a=Ja&&a[Ja]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}var A=Object.assign,La;function Ma(a){if(void 0===La)try{throw Error();}catch(c){var b=c.stack.trim().match(/\\n( *(at )?)/);La=b&&b[1]||\"\"}return\"\\n\"+La+a}var Na=!1;\nfunction Oa(a,b){if(!a||Na)return\"\";Na=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,\"props\",{set:function(){throw Error();}}),\"object\"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(l){var d=l}Reflect.construct(a,[],b)}else{try{b.call()}catch(l){d=l}a.call(b.prototype)}else{try{throw Error();}catch(l){d=l}a()}}catch(l){if(l&&d&&\"string\"===typeof l.stack){for(var e=l.stack.split(\"\\n\"),\nf=d.stack.split(\"\\n\"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h){do if(g--,h--,0>h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"<anonymous>\")&&(k=k.replace(\"<anonymous>\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b[\"$\"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty(\"$\"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=\"\"+Sa(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}\nfunction gb(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(p(91));return A({},b,{value:void 0,defaultValue:void 0,children:\"\"+a._wrapperState.initialValue})}function hb(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(p(92));if(eb(c)){if(1<c.length)throw Error(p(93));c=c[0]}b=c}null==b&&(b=\"\");c=b}a._wrapperState={initialValue:Sa(c)}}\nfunction ib(a,b){var c=Sa(b.value),d=Sa(b.defaultValue);null!=c&&(c=\"\"+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=\"\"+d)}function jb(a){var b=a.textContent;b===a._wrapperState.initialValue&&\"\"!==b&&null!==b&&(a.value=b)}function kb(a){switch(a){case \"svg\":return\"http://www.w3.org/2000/svg\";case \"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}\nfunction lb(a,b){return null==a||\"http://www.w3.org/1999/xhtml\"===a?kb(b):\"http://www.w3.org/2000/svg\"===a&&\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":a}\nvar mb,nb=function(a){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(\"http://www.w3.org/2000/svg\"!==a.namespaceURI||\"innerHTML\"in a)a.innerHTML=b;else{mb=mb||document.createElement(\"div\");mb.innerHTML=\"<svg>\"+b.valueOf().toString()+\"</svg>\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a<b.length;a++)Bb(b[a])}}function Gb(a,b){return a(b)}function Hb(){}var Ib=!1;function Jb(a,b,c){if(Ib)return a(b,c);Ib=!0;try{return Gb(a,b,c)}finally{if(Ib=!1,null!==zb||null!==Ab)Hb(),Fb()}}\nfunction Kb(a,b){var c=a.stateNode;if(null===c)return null;var d=Db(c);if(null===d)return null;c=d[b];a:switch(b){case \"onClick\":case \"onClickCapture\":case \"onDoubleClick\":case \"onDoubleClickCapture\":case \"onMouseDown\":case \"onMouseDownCapture\":case \"onMouseMove\":case \"onMouseMoveCapture\":case \"onMouseUp\":case \"onMouseUpCapture\":case \"onMouseEnter\":(d=!d.disabled)||(a=a.type,d=!(\"button\"===a||\"input\"===a||\"select\"===a||\"textarea\"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&\"function\"!==\ntypeof c)throw Error(p(231,b,typeof c));return c}var Lb=!1;if(ia)try{var Mb={};Object.defineProperty(Mb,\"passive\",{get:function(){Lb=!0}});window.addEventListener(\"test\",Mb,Mb);window.removeEventListener(\"test\",Mb,Mb)}catch(a){Lb=!1}function Nb(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}}var Ob=!1,Pb=null,Qb=!1,Rb=null,Sb={onError:function(a){Ob=!0;Pb=a}};function Tb(a,b,c,d,e,f,g,h,k){Ob=!1;Pb=null;Nb.apply(Sb,arguments)}\nfunction Ub(a,b,c,d,e,f,g,h,k){Tb.apply(this,arguments);if(Ob){if(Ob){var l=Pb;Ob=!1;Pb=null}else throw Error(p(198));Qb||(Qb=!0,Rb=l)}}function Vb(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&4098)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function Wb(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Xb(a){if(Vb(a)!==a)throw Error(p(188));}\nfunction Yb(a){var b=a.alternate;if(!b){b=Vb(a);if(null===b)throw Error(p(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Xb(e),a;if(f===d)return Xb(e),b;f=f.sibling}throw Error(p(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===\nc){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(p(189));}}if(c.alternate!==d)throw Error(p(190));}if(3!==c.tag)throw Error(p(188));return c.stateNode.current===c?a:b}function Zb(a){a=Yb(a);return null!==a?$b(a):null}function $b(a){if(5===a.tag||6===a.tag)return a;for(a=a.child;null!==a;){var b=$b(a);if(null!==b)return b;a=a.sibling}return null}\nvar ac=ca.unstable_scheduleCallback,bc=ca.unstable_cancelCallback,cc=ca.unstable_shouldYield,dc=ca.unstable_requestPaint,B=ca.unstable_now,ec=ca.unstable_getCurrentPriorityLevel,fc=ca.unstable_ImmediatePriority,gc=ca.unstable_UserBlockingPriority,hc=ca.unstable_NormalPriority,ic=ca.unstable_LowPriority,jc=ca.unstable_IdlePriority,kc=null,lc=null;function mc(a){if(lc&&\"function\"===typeof lc.onCommitFiberRoot)try{lc.onCommitFiberRoot(kc,a,void 0,128===(a.current.flags&128))}catch(b){}}\nvar oc=Math.clz32?Math.clz32:nc,pc=Math.log,qc=Math.LN2;function nc(a){a>>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-oc(b),e=1<<c,d|=a[c],b&=~e;return d}\nfunction vc(a,b){switch(a){case 1:case 2:case 4:return b+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return b+5E3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}\nfunction wc(a,b){for(var c=a.suspendedLanes,d=a.pingedLanes,e=a.expirationTimes,f=a.pendingLanes;0<f;){var g=31-oc(f),h=1<<g,k=e[g];if(-1===k){if(0===(h&c)||0!==(h&d))e[g]=vc(h,b)}else k<=b&&(a.expiredLanes|=h);f&=~h}}function xc(a){a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function yc(){var a=rc;rc<<=1;0===(rc&4194240)&&(rc=64);return a}function zc(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0<c;){var e=31-oc(c),f=1<<e;b[e]=0;d[e]=-1;a[e]=-1;c&=~f}}\nfunction Cc(a,b){var c=a.entangledLanes|=b;for(a=a.entanglements;c;){var d=31-oc(c),e=1<<d;e&b|a[d]&b&&(a[d]|=b);c&=~e}}var C=0;function Dc(a){a&=-a;return 1<a?4<a?0!==(a&268435455)?16:536870912:4:1}var Ec,Fc,Gc,Hc,Ic,Jc=!1,Kc=[],Lc=null,Mc=null,Nc=null,Oc=new Map,Pc=new Map,Qc=[],Rc=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit\".split(\" \");\nfunction Sc(a,b){switch(a){case \"focusin\":case \"focusout\":Lc=null;break;case \"dragenter\":case \"dragleave\":Mc=null;break;case \"mouseover\":case \"mouseout\":Nc=null;break;case \"pointerover\":case \"pointerout\":Oc.delete(b.pointerId);break;case \"gotpointercapture\":case \"lostpointercapture\":Pc.delete(b.pointerId)}}\nfunction Tc(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a={blockedOn:b,domEventName:c,eventSystemFlags:d,nativeEvent:f,targetContainers:[e]},null!==b&&(b=Cb(b),null!==b&&Fc(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a}\nfunction Uc(a,b,c,d,e){switch(b){case \"focusin\":return Lc=Tc(Lc,a,b,c,d,e),!0;case \"dragenter\":return Mc=Tc(Mc,a,b,c,d,e),!0;case \"mouseover\":return Nc=Tc(Nc,a,b,c,d,e),!0;case \"pointerover\":var f=e.pointerId;Oc.set(f,Tc(Oc.get(f)||null,a,b,c,d,e));return!0;case \"gotpointercapture\":return f=e.pointerId,Pc.set(f,Tc(Pc.get(f)||null,a,b,c,d,e)),!0}return!1}\nfunction Vc(a){var b=Wc(a.target);if(null!==b){var c=Vb(b);if(null!==c)if(b=c.tag,13===b){if(b=Wb(c),null!==b){a.blockedOn=b;Ic(a.priority,function(){Gc(c)});return}}else if(3===b&&c.stateNode.current.memoizedState.isDehydrated){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}\nfunction Xc(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=Yc(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null===c){c=a.nativeEvent;var d=new c.constructor(c.type,c);wb=d;c.target.dispatchEvent(d);wb=null}else return b=Cb(c),null!==b&&Fc(b),a.blockedOn=c,!1;b.shift()}return!0}function Zc(a,b,c){Xc(a)&&c.delete(b)}function $c(){Jc=!1;null!==Lc&&Xc(Lc)&&(Lc=null);null!==Mc&&Xc(Mc)&&(Mc=null);null!==Nc&&Xc(Nc)&&(Nc=null);Oc.forEach(Zc);Pc.forEach(Zc)}\nfunction ad(a,b){a.blockedOn===b&&(a.blockedOn=null,Jc||(Jc=!0,ca.unstable_scheduleCallback(ca.unstable_NormalPriority,$c)))}\nfunction bd(a){function b(b){return ad(b,a)}if(0<Kc.length){ad(Kc[0],a);for(var c=1;c<Kc.length;c++){var d=Kc[c];d.blockedOn===a&&(d.blockedOn=null)}}null!==Lc&&ad(Lc,a);null!==Mc&&ad(Mc,a);null!==Nc&&ad(Nc,a);Oc.forEach(b);Pc.forEach(b);for(c=0;c<Qc.length;c++)d=Qc[c],d.blockedOn===a&&(d.blockedOn=null);for(;0<Qc.length&&(c=Qc[0],null===c.blockedOn);)Vc(c),null===c.blockedOn&&Qc.shift()}var cd=ua.ReactCurrentBatchConfig,dd=!0;\nfunction ed(a,b,c,d){var e=C,f=cd.transition;cd.transition=null;try{C=1,fd(a,b,c,d)}finally{C=e,cd.transition=f}}function gd(a,b,c,d){var e=C,f=cd.transition;cd.transition=null;try{C=4,fd(a,b,c,d)}finally{C=e,cd.transition=f}}\nfunction fd(a,b,c,d){if(dd){var e=Yc(a,b,c,d);if(null===e)hd(a,b,d,id,c),Sc(a,d);else if(Uc(e,a,b,c,d))d.stopPropagation();else if(Sc(a,d),b&4&&-1<Rc.indexOf(a)){for(;null!==e;){var f=Cb(e);null!==f&&Ec(f);f=Yc(a,b,c,d);null===f&&hd(a,b,d,id,c);if(f===e)break;e=f}null!==e&&d.stopPropagation()}else hd(a,b,d,null,c)}}var id=null;\nfunction Yc(a,b,c,d){id=null;a=xb(d);a=Wc(a);if(null!==a)if(b=Vb(a),null===b)a=null;else if(c=b.tag,13===c){a=Wb(b);if(null!==a)return a;a=null}else if(3===c){if(b.stateNode.current.memoizedState.isDehydrated)return 3===b.tag?b.stateNode.containerInfo:null;a=null}else b!==a&&(a=null);id=a;return null}\nfunction jd(a){switch(a){case \"cancel\":case \"click\":case \"close\":case \"contextmenu\":case \"copy\":case \"cut\":case \"auxclick\":case \"dblclick\":case \"dragend\":case \"dragstart\":case \"drop\":case \"focusin\":case \"focusout\":case \"input\":case \"invalid\":case \"keydown\":case \"keypress\":case \"keyup\":case \"mousedown\":case \"mouseup\":case \"paste\":case \"pause\":case \"play\":case \"pointercancel\":case \"pointerdown\":case \"pointerup\":case \"ratechange\":case \"reset\":case \"resize\":case \"seeked\":case \"submit\":case \"touchcancel\":case \"touchend\":case \"touchstart\":case \"volumechange\":case \"change\":case \"selectionchange\":case \"textInput\":case \"compositionstart\":case \"compositionend\":case \"compositionupdate\":case \"beforeblur\":case \"afterblur\":case \"beforeinput\":case \"blur\":case \"fullscreenchange\":case \"focus\":case \"hashchange\":case \"popstate\":case \"select\":case \"selectstart\":return 1;case \"drag\":case \"dragenter\":case \"dragexit\":case \"dragleave\":case \"dragover\":case \"mousemove\":case \"mouseout\":case \"mouseover\":case \"pointermove\":case \"pointerout\":case \"pointerover\":case \"scroll\":case \"toggle\":case \"touchmove\":case \"wheel\":case \"mouseenter\":case \"mouseleave\":case \"pointerenter\":case \"pointerleave\":return 4;\ncase \"message\":switch(ec()){case fc:return 1;case gc:return 4;case hc:case ic:return 16;case jc:return 536870912;default:return 16}default:return 16}}var kd=null,ld=null,md=null;function nd(){if(md)return md;var a,b=ld,c=b.length,d,e=\"value\"in kd?kd.value:kd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return md=e.slice(a,1<d?1-d:void 0)}\nfunction od(a){var b=a.keyCode;\"charCode\"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function pd(){return!0}function qd(){return!1}\nfunction rd(a){function b(b,d,e,f,g){this._reactName=b;this._targetInst=e;this.type=d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var c in a)a.hasOwnProperty(c)&&(b=a[c],this[c]=b?b(f):f[c]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?pd:qd;this.isPropagationStopped=qd;return this}A(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():\"unknown\"!==typeof a.returnValue&&\n(a.returnValue=!1),this.isDefaultPrevented=pd)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():\"unknown\"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=pd)},persist:function(){},isPersistent:pd});return b}\nvar sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=A({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=A({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if(\"movementX\"in\na)return a.movementX;a!==yd&&(yd&&\"mousemove\"===a.type?(wd=a.screenX-yd.screenX,xd=a.screenY-yd.screenY):xd=wd=0,yd=a);return wd},movementY:function(a){return\"movementY\"in a?a.movementY:xd}}),Bd=rd(Ad),Cd=A({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=A({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=A({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=A({},sd,{clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=A({},sd,{data:0}),Ld=rd(Kd),Md={Esc:\"Escape\",\nSpacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},Nd={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",\n119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},Od={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function Pd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Od[a])?!!b[a]:!1}function zd(){return Pd}\nvar Qd=A({},ud,{key:function(a){if(a.key){var b=Md[a.key]||a.key;if(\"Unidentified\"!==b)return b}return\"keypress\"===a.type?(a=od(a),13===a?\"Enter\":String.fromCharCode(a)):\"keydown\"===a.type||\"keyup\"===a.type?Nd[a.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zd,charCode:function(a){return\"keypress\"===a.type?od(a):0},keyCode:function(a){return\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0},which:function(a){return\"keypress\"===\na.type?od(a):\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0}}),Rd=rd(Qd),Sd=A({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Td=rd(Sd),Ud=A({},ud,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zd}),Vd=rd(Ud),Wd=A({},sd,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xd=rd(Wd),Yd=A({},Ad,{deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in a?-a.wheelDeltaX:0},\ndeltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Zd=rd(Yd),$d=[9,13,27,32],ae=ia&&\"CompositionEvent\"in window,be=null;ia&&\"documentMode\"in document&&(be=document.documentMode);var ce=ia&&\"TextEvent\"in window&&!be,de=ia&&(!ae||be&&8<be&&11>=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case \"compositionend\":return de&&\"ko\"!==b.locale?null:b.data;default:return null}}\nvar le={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function me(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return\"input\"===b?!!le[a.type]:\"textarea\"===b?!0:!1}function ne(a,b,c,d){Eb(d);b=oe(b,\"onChange\");0<b.length&&(c=new td(\"onChange\",\"change\",null,c,d),a.push({event:c,listeners:b}))}var pe=null,qe=null;function re(a){se(a,0)}function te(a){var b=ue(a);if(Wa(b))return a}\nfunction ve(a,b){if(\"change\"===a)return b}var we=!1;if(ia){var xe;if(ia){var ye=\"oninput\"in document;if(!ye){var ze=document.createElement(\"div\");ze.setAttribute(\"oninput\",\"return;\");ye=\"function\"===typeof ze.oninput}xe=ye}else xe=!1;we=xe&&(!document.documentMode||9<document.documentMode)}function Ae(){pe&&(pe.detachEvent(\"onpropertychange\",Be),qe=pe=null)}function Be(a){if(\"value\"===a.propertyName&&te(qe)){var b=[];ne(b,qe,a,xb(a));Jb(re,b)}}\nfunction Ce(a,b,c){\"focusin\"===a?(Ae(),pe=b,qe=c,pe.attachEvent(\"onpropertychange\",Be)):\"focusout\"===a&&Ae()}function De(a){if(\"selectionchange\"===a||\"keyup\"===a||\"keydown\"===a)return te(qe)}function Ee(a,b){if(\"click\"===a)return te(b)}function Fe(a,b){if(\"input\"===a||\"change\"===a)return te(b)}function Ge(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var He=\"function\"===typeof Object.is?Object.is:Ge;\nfunction Ie(a,b){if(He(a,b))return!0;if(\"object\"!==typeof a||null===a||\"object\"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!ja.call(b,e)||!He(a[e],b[e]))return!1}return!0}function Je(a){for(;a&&a.firstChild;)a=a.firstChild;return a}\nfunction Ke(a,b){var c=Je(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}\nvar Pe=ia&&\"documentMode\"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0<d.length&&(b=new td(\"onSelect\",\"select\",null,b,c),a.push({event:b,listeners:d}),b.target=Qe)))}\nfunction Ve(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c[\"Webkit\"+a]=\"webkit\"+b;c[\"Moz\"+a]=\"moz\"+b;return c}var We={animationend:Ve(\"Animation\",\"AnimationEnd\"),animationiteration:Ve(\"Animation\",\"AnimationIteration\"),animationstart:Ve(\"Animation\",\"AnimationStart\"),transitionend:Ve(\"Transition\",\"TransitionEnd\")},Xe={},Ye={};\nia&&(Ye=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete We.animationend.animation,delete We.animationiteration.animation,delete We.animationstart.animation),\"TransitionEvent\"in window||delete We.transitionend.transition);function Ze(a){if(Xe[a])return Xe[a];if(!We[a])return a;var b=We[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Ye)return Xe[a]=b[c];return a}var $e=Ze(\"animationend\"),af=Ze(\"animationiteration\"),bf=Ze(\"animationstart\"),cf=Ze(\"transitionend\"),df=new Map,ef=\"abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\" \");\nfunction ff(a,b){df.set(a,b);fa(b,[a])}for(var gf=0;gf<ef.length;gf++){var hf=ef[gf],jf=hf.toLowerCase(),kf=hf[0].toUpperCase()+hf.slice(1);ff(jf,\"on\"+kf)}ff($e,\"onAnimationEnd\");ff(af,\"onAnimationIteration\");ff(bf,\"onAnimationStart\");ff(\"dblclick\",\"onDoubleClick\");ff(\"focusin\",\"onFocus\");ff(\"focusout\",\"onBlur\");ff(cf,\"onTransitionEnd\");ha(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]);ha(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]);ha(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]);\nha(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]);fa(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \"));fa(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \"));fa(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]);fa(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \"));fa(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \"));\nfa(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var lf=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),mf=new Set(\"cancel close invalid load scroll toggle\".split(\" \").concat(lf));\nfunction nf(a,b,c){var d=a.type||\"unknown-event\";a.currentTarget=c;Ub(d,b,void 0,a);a.currentTarget=null}\nfunction se(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;nf(e,h,l);f=k}else for(g=0;g<d.length;g++){h=d[g];k=h.instance;l=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;nf(e,h,l);f=k}}}if(Qb)throw a=Rb,Qb=!1,Rb=null,a;}\nfunction D(a,b){var c=b[of];void 0===c&&(c=b[of]=new Set);var d=a+\"__bubble\";c.has(d)||(pf(b,a,2,!1),c.add(d))}function qf(a,b,c){var d=0;b&&(d|=4);pf(c,a,d,b)}var rf=\"_reactListening\"+Math.random().toString(36).slice(2);function sf(a){if(!a[rf]){a[rf]=!0;da.forEach(function(b){\"selectionchange\"!==b&&(mf.has(b)||qf(b,!1,a),qf(b,!0,a))});var b=9===a.nodeType?a:a.ownerDocument;null===b||b[rf]||(b[rf]=!0,qf(\"selectionchange\",!1,b))}}\nfunction pf(a,b,c,d){switch(jd(b)){case 1:var e=ed;break;case 4:e=gd;break;default:e=fd}c=e.bind(null,b,c,a);e=void 0;!Lb||\"touchstart\"!==b&&\"touchmove\"!==b&&\"wheel\"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)}\nfunction hd(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if(3===k||4===k)if(k=g.stateNode.containerInfo,k===e||8===k.nodeType&&k.parentNode===e)return;g=g.return}for(;null!==h;){g=Wc(h);if(null===g)return;k=g.tag;if(5===k||6===k){d=f=g;continue a}h=h.parentNode}}d=d.return}Jb(function(){var d=f,e=xb(c),g=[];\na:{var h=df.get(a);if(void 0!==h){var k=td,n=a;switch(a){case \"keypress\":if(0===od(c))break a;case \"keydown\":case \"keyup\":k=Rd;break;case \"focusin\":n=\"focus\";k=Fd;break;case \"focusout\":n=\"blur\";k=Fd;break;case \"beforeblur\":case \"afterblur\":k=Fd;break;case \"click\":if(2===c.button)break a;case \"auxclick\":case \"dblclick\":case \"mousedown\":case \"mousemove\":case \"mouseup\":case \"mouseout\":case \"mouseover\":case \"contextmenu\":k=Bd;break;case \"drag\":case \"dragend\":case \"dragenter\":case \"dragexit\":case \"dragleave\":case \"dragover\":case \"dragstart\":case \"drop\":k=\nDd;break;case \"touchcancel\":case \"touchend\":case \"touchmove\":case \"touchstart\":k=Vd;break;case $e:case af:case bf:k=Hd;break;case cf:k=Xd;break;case \"scroll\":k=vd;break;case \"wheel\":k=Zd;break;case \"copy\":case \"cut\":case \"paste\":k=Jd;break;case \"gotpointercapture\":case \"lostpointercapture\":case \"pointercancel\":case \"pointerdown\":case \"pointermove\":case \"pointerout\":case \"pointerover\":case \"pointerup\":k=Td}var t=0!==(b&4),J=!t&&\"scroll\"===a,x=t?null!==h?h+\"Capture\":null:h;t=[];for(var w=d,u;null!==\nw;){u=w;var F=u.stateNode;5===u.tag&&null!==F&&(u=F,null!==x&&(F=Kb(w,x),null!=F&&t.push(tf(w,F,u))));if(J)break;w=w.return}0<t.length&&(h=new k(h,n,null,c,e),g.push({event:h,listeners:t}))}}if(0===(b&7)){a:{h=\"mouseover\"===a||\"pointerover\"===a;k=\"mouseout\"===a||\"pointerout\"===a;if(h&&c!==wb&&(n=c.relatedTarget||c.fromElement)&&(Wc(n)||n[uf]))break a;if(k||h){h=e.window===e?e:(h=e.ownerDocument)?h.defaultView||h.parentWindow:window;if(k){if(n=c.relatedTarget||c.toElement,k=d,n=n?Wc(n):null,null!==\nn&&(J=Vb(n),n!==J||5!==n.tag&&6!==n.tag))n=null}else k=null,n=d;if(k!==n){t=Bd;F=\"onMouseLeave\";x=\"onMouseEnter\";w=\"mouse\";if(\"pointerout\"===a||\"pointerover\"===a)t=Td,F=\"onPointerLeave\",x=\"onPointerEnter\",w=\"pointer\";J=null==k?h:ue(k);u=null==n?h:ue(n);h=new t(F,w+\"leave\",k,c,e);h.target=J;h.relatedTarget=u;F=null;Wc(e)===d&&(t=new t(x,w+\"enter\",n,c,e),t.target=u,t.relatedTarget=J,F=t);J=F;if(k&&n)b:{t=k;x=n;w=0;for(u=t;u;u=vf(u))w++;u=0;for(F=x;F;F=vf(F))u++;for(;0<w-u;)t=vf(t),w--;for(;0<u-w;)x=\nvf(x),u--;for(;w--;){if(t===x||null!==x&&t===x.alternate)break b;t=vf(t);x=vf(x)}t=null}else t=null;null!==k&&wf(g,h,k,t,!1);null!==n&&null!==J&&wf(g,J,n,t,!0)}}}a:{h=d?ue(d):window;k=h.nodeName&&h.nodeName.toLowerCase();if(\"select\"===k||\"input\"===k&&\"file\"===h.type)var na=ve;else if(me(h))if(we)na=Fe;else{na=De;var xa=Ce}else(k=h.nodeName)&&\"input\"===k.toLowerCase()&&(\"checkbox\"===h.type||\"radio\"===h.type)&&(na=Ee);if(na&&(na=na(a,d))){ne(g,na,c,e);break a}xa&&xa(a,h,d);\"focusout\"===a&&(xa=h._wrapperState)&&\nxa.controlled&&\"number\"===h.type&&cb(h,\"number\",h.value)}xa=d?ue(d):window;switch(a){case \"focusin\":if(me(xa)||\"true\"===xa.contentEditable)Qe=xa,Re=d,Se=null;break;case \"focusout\":Se=Re=Qe=null;break;case \"mousedown\":Te=!0;break;case \"contextmenu\":case \"mouseup\":case \"dragend\":Te=!1;Ue(g,c,e);break;case \"selectionchange\":if(Pe)break;case \"keydown\":case \"keyup\":Ue(g,c,e)}var $a;if(ae)b:{switch(a){case \"compositionstart\":var ba=\"onCompositionStart\";break b;case \"compositionend\":ba=\"onCompositionEnd\";\nbreak b;case \"compositionupdate\":ba=\"onCompositionUpdate\";break b}ba=void 0}else ie?ge(a,c)&&(ba=\"onCompositionEnd\"):\"keydown\"===a&&229===c.keyCode&&(ba=\"onCompositionStart\");ba&&(de&&\"ko\"!==c.locale&&(ie||\"onCompositionStart\"!==ba?\"onCompositionEnd\"===ba&&ie&&($a=nd()):(kd=e,ld=\"value\"in kd?kd.value:kd.textContent,ie=!0)),xa=oe(d,ba),0<xa.length&&(ba=new Ld(ba,a,null,c,e),g.push({event:ba,listeners:xa}),$a?ba.data=$a:($a=he(c),null!==$a&&(ba.data=$a))));if($a=ce?je(a,c):ke(a,c))d=oe(d,\"onBeforeInput\"),\n0<d.length&&(e=new Ld(\"onBeforeInput\",\"beforeinput\",null,c,e),g.push({event:e,listeners:d}),e.data=$a)}se(g,b)})}function tf(a,b,c){return{instance:a,listener:b,currentTarget:c}}function oe(a,b){for(var c=b+\"Capture\",d=[];null!==a;){var e=a,f=e.stateNode;5===e.tag&&null!==f&&(e=f,f=Kb(a,c),null!=f&&d.unshift(tf(a,f,e)),f=Kb(a,b),null!=f&&d.push(tf(a,f,e)));a=a.return}return d}function vf(a){if(null===a)return null;do a=a.return;while(a&&5!==a.tag);return a?a:null}\nfunction wf(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,l=h.stateNode;if(null!==k&&k===d)break;5===h.tag&&null!==l&&(h=l,e?(k=Kb(c,f),null!=k&&g.unshift(tf(c,k,h))):e||(k=Kb(c,f),null!=k&&g.push(tf(c,k,h))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}var xf=/\\r\\n?/g,yf=/\\u0000|\\uFFFD/g;function zf(a){return(\"string\"===typeof a?a:\"\"+a).replace(xf,\"\\n\").replace(yf,\"\")}function Af(a,b,c){b=zf(b);if(zf(a)!==b&&c)throw Error(p(425));}function Bf(){}\nvar Cf=null,Df=null;function Ef(a,b){return\"textarea\"===a||\"noscript\"===a||\"string\"===typeof b.children||\"number\"===typeof b.children||\"object\"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}\nvar Ff=\"function\"===typeof setTimeout?setTimeout:void 0,Gf=\"function\"===typeof clearTimeout?clearTimeout:void 0,Hf=\"function\"===typeof Promise?Promise:void 0,Jf=\"function\"===typeof queueMicrotask?queueMicrotask:\"undefined\"!==typeof Hf?function(a){return Hf.resolve(null).then(a).catch(If)}:Ff;function If(a){setTimeout(function(){throw a;})}\nfunction Kf(a,b){var c=b,d=0;do{var e=c.nextSibling;a.removeChild(c);if(e&&8===e.nodeType)if(c=e.data,\"/$\"===c){if(0===d){a.removeChild(e);bd(b);return}d--}else\"$\"!==c&&\"$?\"!==c&&\"$!\"!==c||d++;c=e}while(c);bd(b)}function Lf(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break;if(8===b){b=a.data;if(\"$\"===b||\"$!\"===b||\"$?\"===b)break;if(\"/$\"===b)return null}}return a}\nfunction Mf(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(\"$\"===c||\"$!\"===c||\"$?\"===c){if(0===b)return a;b--}else\"/$\"===c&&b++}a=a.previousSibling}return null}var Nf=Math.random().toString(36).slice(2),Of=\"__reactFiber$\"+Nf,Pf=\"__reactProps$\"+Nf,uf=\"__reactContainer$\"+Nf,of=\"__reactEvents$\"+Nf,Qf=\"__reactListeners$\"+Nf,Rf=\"__reactHandles$\"+Nf;\nfunction Wc(a){var b=a[Of];if(b)return b;for(var c=a.parentNode;c;){if(b=c[uf]||c[Of]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Mf(a);null!==a;){if(c=a[Of])return c;a=Mf(a)}return b}a=c;c=a.parentNode}return null}function Cb(a){a=a[Of]||a[uf];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function ue(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(p(33));}function Db(a){return a[Pf]||null}var Sf=[],Tf=-1;function Uf(a){return{current:a}}\nfunction E(a){0>Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a<c.length;a++){var d=c[a];do d=d(!0);while(null!==d)}eg=null;fg=!1}catch(e){throw null!==eg&&(eg=eg.slice(a+1)),ac(fc,jg),e;}finally{C=b,gg=!1}}return null}var kg=[],lg=0,mg=null,ng=0,og=[],pg=0,qg=null,rg=1,sg=\"\";function tg(a,b){kg[lg++]=ng;kg[lg++]=mg;mg=a;ng=b}\nfunction ug(a,b,c){og[pg++]=rg;og[pg++]=sg;og[pg++]=qg;qg=a;var d=rg;a=sg;var e=32-oc(d)-1;d&=~(1<<e);c+=1;var f=32-oc(b)+e;if(30<f){var g=e-e%5;f=(d&(1<<g)-1).toString(32);d>>=g;e-=g;rg=1<<32-oc(b)+e|c<<e|d;sg=f+a}else rg=1<<f|c<<e|d,sg=a}function vg(a){null!==a.return&&(tg(a,1),ug(a,1,0))}function wg(a){for(;a===mg;)mg=kg[--lg],kg[lg]=null,ng=kg[--lg],kg[lg]=null;for(;a===qg;)qg=og[--pg],og[pg]=null,sg=og[--pg],og[pg]=null,rg=og[--pg],og[pg]=null}var xg=null,yg=null,I=!1,zg=null;\nfunction Ag(a,b){var c=Bg(5,null,null,0);c.elementType=\"DELETED\";c.stateNode=b;c.return=a;b=a.deletions;null===b?(a.deletions=[c],a.flags|=16):b.push(c)}\nfunction Cg(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,xg=a,yg=Lf(b.firstChild),!0):!1;case 6:return b=\"\"===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,xg=a,yg=null,!0):!1;case 13:return b=8!==b.nodeType?null:b,null!==b?(c=null!==qg?{id:rg,overflow:sg}:null,a.memoizedState={dehydrated:b,treeContext:c,retryLane:1073741824},c=Bg(18,null,null,0),c.stateNode=b,c.return=a,a.child=c,xg=a,yg=\nnull,!0):!1;default:return!1}}function Dg(a){return 0!==(a.mode&1)&&0===(a.flags&128)}function Eg(a){if(I){var b=yg;if(b){var c=b;if(!Cg(a,b)){if(Dg(a))throw Error(p(418));b=Lf(c.nextSibling);var d=xg;b&&Cg(a,b)?Ag(d,c):(a.flags=a.flags&-4097|2,I=!1,xg=a)}}else{if(Dg(a))throw Error(p(418));a.flags=a.flags&-4097|2;I=!1;xg=a}}}function Fg(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;xg=a}\nfunction Gg(a){if(a!==xg)return!1;if(!I)return Fg(a),I=!0,!1;var b;(b=3!==a.tag)&&!(b=5!==a.tag)&&(b=a.type,b=\"head\"!==b&&\"body\"!==b&&!Ef(a.type,a.memoizedProps));if(b&&(b=yg)){if(Dg(a))throw Hg(),Error(p(418));for(;b;)Ag(a,b),b=Lf(b.nextSibling)}Fg(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(p(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(\"/$\"===c){if(0===b){yg=Lf(a.nextSibling);break a}b--}else\"$\"!==c&&\"$!\"!==c&&\"$?\"!==c||b++}a=a.nextSibling}yg=\nnull}}else yg=xg?Lf(a.stateNode.nextSibling):null;return!0}function Hg(){for(var a=yg;a;)a=Lf(a.nextSibling)}function Ig(){yg=xg=null;I=!1}function Jg(a){null===zg?zg=[a]:zg.push(a)}var Kg=ua.ReactCurrentBatchConfig;function Lg(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}var Mg=Uf(null),Ng=null,Og=null,Pg=null;function Qg(){Pg=Og=Ng=null}function Rg(a){var b=Mg.current;E(Mg);a._currentValue=b}\nfunction Sg(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}}function Tg(a,b){Ng=a;Pg=Og=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(Ug=!0),a.firstContext=null)}\nfunction Vg(a){var b=a._currentValue;if(Pg!==a)if(a={context:a,memoizedValue:b,next:null},null===Og){if(null===Ng)throw Error(p(308));Og=a;Ng.dependencies={lanes:0,firstContext:a}}else Og=Og.next=a;return b}var Wg=null;function Xg(a){null===Wg?Wg=[a]:Wg.push(a)}function Yg(a,b,c,d){var e=b.interleaved;null===e?(c.next=c,Xg(b)):(c.next=e.next,e.next=c);b.interleaved=c;return Zg(a,d)}\nfunction Zg(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}var $g=!1;function ah(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}\nfunction bh(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function ch(a,b){return{eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}\nfunction dh(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(K&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;return Zg(a,c)}e=d.interleaved;null===e?(b.next=b,Xg(d)):(b.next=e.next,e.next=b);d.interleaved=b;return Zg(a,c)}function eh(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194240))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nfunction fh(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=\nb;c.lastBaseUpdate=b}\nfunction gh(a,b,c,d){var e=a.updateQueue;$g=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var m=a.alternate;null!==m&&(m=m.updateQueue,h=m.lastBaseUpdate,h!==g&&(null===h?m.firstBaseUpdate=l:h.next=l,m.lastBaseUpdate=k))}if(null!==f){var q=e.baseState;g=0;m=l=k=null;h=f;do{var r=h.lane,y=h.eventTime;if((d&r)===r){null!==m&&(m=m.next={eventTime:y,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,\nnext:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if(\"function\"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r=\"function\"===typeof n?n.call(y,q,r):n;if(null===r||void 0===r)break a;q=A({},q,r);break a;case 2:$g=!0}}null!==h.callback&&0!==h.lane&&(a.flags|=64,r=e.effects,null===r?e.effects=[h]:r.push(h))}else y={eventTime:y,lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===m?(l=m=y,k=q):m=m.next=y,g|=r;\nh=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else r=h,h=r.next,r.next=null,e.lastBaseUpdate=r,e.shared.pending=null}while(1);null===m&&(k=q);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=m;b=e.shared.interleaved;if(null!==b){e=b;do g|=e.lane,e=e.next;while(e!==b)}else null===f&&(e.shared.lanes=0);hh|=g;a.lanes=g;a.memoizedState=q}}\nfunction ih(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=c;if(\"function\"!==typeof e)throw Error(p(191,e));e.call(d)}}}var jh=(new aa.Component).refs;function kh(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:A({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)}\nvar nh={isMounted:function(a){return(a=a._reactInternals)?Vb(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=L(),e=lh(a),f=ch(d,e);f.payload=b;void 0!==c&&null!==c&&(f.callback=c);b=dh(a,f,e);null!==b&&(mh(b,a,e,d),eh(b,a,e))},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=L(),e=lh(a),f=ch(d,e);f.tag=1;f.payload=b;void 0!==c&&null!==c&&(f.callback=c);b=dh(a,f,e);null!==b&&(mh(b,a,e,d),eh(b,a,e))},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=L(),d=\nlh(a),e=ch(c,d);e.tag=2;void 0!==b&&null!==b&&(e.callback=b);b=dh(a,e,d);null!==b&&(mh(b,a,d,c),eh(b,a,d))}};function oh(a,b,c,d,e,f,g){a=a.stateNode;return\"function\"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!Ie(c,d)||!Ie(e,f):!0}\nfunction ph(a,b,c){var d=!1,e=Vf;var f=b.contextType;\"object\"===typeof f&&null!==f?f=Vg(f):(e=Zf(b)?Xf:H.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Yf(a,e):Vf);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=nh;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}\nfunction qh(a,b,c,d){a=b.state;\"function\"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);\"function\"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&nh.enqueueReplaceState(b,b.state,null)}\nfunction rh(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=jh;ah(a);var f=b.contextType;\"object\"===typeof f&&null!==f?e.context=Vg(f):(f=Zf(b)?Xf:H.current,e.context=Yf(a,f));e.state=a.memoizedState;f=b.getDerivedStateFromProps;\"function\"===typeof f&&(kh(a,b,f,c),e.state=a.memoizedState);\"function\"===typeof b.getDerivedStateFromProps||\"function\"===typeof e.getSnapshotBeforeUpdate||\"function\"!==typeof e.UNSAFE_componentWillMount&&\"function\"!==typeof e.componentWillMount||(b=e.state,\n\"function\"===typeof e.componentWillMount&&e.componentWillMount(),\"function\"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&nh.enqueueReplaceState(e,e.state,null),gh(a,c,e,d),e.state=a.memoizedState);\"function\"===typeof e.componentDidMount&&(a.flags|=4194308)}\nfunction sh(a,b,c){a=c.ref;if(null!==a&&\"function\"!==typeof a&&\"object\"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(p(309));var d=c.stateNode}if(!d)throw Error(p(147,a));var e=d,f=\"\"+a;if(null!==b&&null!==b.ref&&\"function\"===typeof b.ref&&b.ref._stringRef===f)return b.ref;b=function(a){var b=e.refs;b===jh&&(b=e.refs={});null===a?delete b[f]:b[f]=a};b._stringRef=f;return b}if(\"string\"!==typeof a)throw Error(p(284));if(!c._owner)throw Error(p(290,a));}return a}\nfunction th(a,b){a=Object.prototype.toString.call(b);throw Error(p(31,\"[object Object]\"===a?\"object with keys {\"+Object.keys(b).join(\", \")+\"}\":a));}function uh(a){var b=a._init;return b(a._payload)}\nfunction vh(a){function b(b,c){if(a){var d=b.deletions;null===d?(b.deletions=[c],b.flags|=16):d.push(c)}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=wh(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return b.flags|=1048576,c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.flags|=2,c):d;b.flags|=2;return c}function g(b){a&&\nnull===b.alternate&&(b.flags|=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=xh(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){var f=c.type;if(f===ya)return m(a,b,c.props.children,d,c.key);if(null!==b&&(b.elementType===f||\"object\"===typeof f&&null!==f&&f.$$typeof===Ha&&uh(f)===b.type))return d=e(b,c.props),d.ref=sh(a,b,c),d.return=a,d;d=yh(c.type,c.key,c.props,null,a.mode,d);d.ref=sh(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||\nb.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=zh(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Ah(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function q(a,b,c){if(\"string\"===typeof b&&\"\"!==b||\"number\"===typeof b)return b=xh(\"\"+b,a.mode,c),b.return=a,b;if(\"object\"===typeof b&&null!==b){switch(b.$$typeof){case va:return c=yh(b.type,b.key,b.props,null,a.mode,c),\nc.ref=sh(a,null,b),c.return=a,c;case wa:return b=zh(b,a.mode,c),b.return=a,b;case Ha:var d=b._init;return q(a,d(b._payload),c)}if(eb(b)||Ka(b))return b=Ah(b,a.mode,c,null),b.return=a,b;th(a,b)}return null}function r(a,b,c,d){var e=null!==b?b.key:null;if(\"string\"===typeof c&&\"\"!==c||\"number\"===typeof c)return null!==e?null:h(a,b,\"\"+c,d);if(\"object\"===typeof c&&null!==c){switch(c.$$typeof){case va:return c.key===e?k(a,b,c,d):null;case wa:return c.key===e?l(a,b,c,d):null;case Ha:return e=c._init,r(a,\nb,e(c._payload),d)}if(eb(c)||Ka(c))return null!==e?null:m(a,b,c,d,null);th(a,c)}return null}function y(a,b,c,d,e){if(\"string\"===typeof d&&\"\"!==d||\"number\"===typeof d)return a=a.get(c)||null,h(b,a,\"\"+d,e);if(\"object\"===typeof d&&null!==d){switch(d.$$typeof){case va:return a=a.get(null===d.key?c:d.key)||null,k(b,a,d,e);case wa:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e);case Ha:var f=d._init;return y(a,b,c,f(d._payload),e)}if(eb(d)||Ka(d))return a=a.get(c)||null,m(b,a,d,e,null);th(b,d)}return null}\nfunction n(e,g,h,k){for(var l=null,m=null,u=g,w=g=0,x=null;null!==u&&w<h.length;w++){u.index>w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;w<h.length;w++)u=q(e,h[w],k),null!==u&&(g=f(u,g,w),null===m?l=u:m.sibling=u,m=u);I&&tg(e,w);return l}for(u=d(e,u);w<h.length;w++)x=y(u,e,w,h[w],k),null!==x&&(a&&null!==x.alternate&&u.delete(null===\nx.key?w:x.key),g=f(x,g,w),null===m?l=x:m.sibling=x,m=x);a&&u.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function t(e,g,h,k){var l=Ka(h);if(\"function\"!==typeof l)throw Error(p(150));h=l.call(h);if(null==h)throw Error(p(151));for(var u=l=null,m=g,w=g=0,x=null,n=h.next();null!==m&&!n.done;w++,n=h.next()){m.index>w?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&uh(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=sh(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Ah(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=yh(f.type,f.key,f.props,null,a.mode,h),h.ref=sh(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=zh(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);th(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=xh(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(a){if(a===Dh)throw Error(p(174));return a}function Ih(a,b){G(Gh,b);G(Fh,a);G(Eh,Dh);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a)}E(Eh);G(Eh,b)}function Jh(){E(Eh);E(Fh);E(Gh)}\nfunction Kh(a){Hh(Gh.current);var b=Hh(Eh.current);var c=lb(b,a.type);b!==c&&(G(Fh,a),G(Eh,c))}function Lh(a){Fh.current===a&&(E(Eh),E(Fh))}var M=Uf(0);\nfunction Mh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||\"$?\"===c.data||\"$!\"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Nh=[];\nfunction Oh(){for(var a=0;a<Nh.length;a++)Nh[a]._workInProgressVersionPrimary=null;Nh.length=0}var Ph=ua.ReactCurrentDispatcher,Qh=ua.ReactCurrentBatchConfig,Rh=0,N=null,O=null,P=null,Sh=!1,Th=!1,Uh=0,Vh=0;function Q(){throw Error(p(321));}function Wh(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!He(a[c],b[c]))return!1;return!0}\nfunction Xh(a,b,c,d,e,f){Rh=f;N=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;Ph.current=null===a||null===a.memoizedState?Yh:Zh;a=c(d,e);if(Th){f=0;do{Th=!1;Uh=0;if(25<=f)throw Error(p(301));f+=1;P=O=null;b.updateQueue=null;Ph.current=$h;a=c(d,e)}while(Th)}Ph.current=ai;b=null!==O&&null!==O.next;Rh=0;P=O=N=null;Sh=!1;if(b)throw Error(p(300));return a}function bi(){var a=0!==Uh;Uh=0;return a}\nfunction ci(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===P?N.memoizedState=P=a:P=P.next=a;return P}function di(){if(null===O){var a=N.alternate;a=null!==a?a.memoizedState:null}else a=O.next;var b=null===P?N.memoizedState:P.next;if(null!==b)P=b,O=a;else{if(null===a)throw Error(p(310));O=a;a={memoizedState:O.memoizedState,baseState:O.baseState,baseQueue:O.baseQueue,queue:O.queue,next:null};null===P?N.memoizedState=P=a:P=P.next=a}return P}\nfunction ei(a,b){return\"function\"===typeof b?b(a):b}\nfunction fi(a){var b=di(),c=b.queue;if(null===c)throw Error(p(311));c.lastRenderedReducer=a;var d=O,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){f=e.next;d=d.baseState;var h=g=null,k=null,l=f;do{var m=l.lane;if((Rh&m)===m)null!==k&&(k=k.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d=l.hasEagerState?l.eagerState:a(d,l.action);else{var q={lane:m,action:l.action,hasEagerState:l.hasEagerState,\neagerState:l.eagerState,next:null};null===k?(h=k=q,g=d):k=k.next=q;N.lanes|=m;hh|=m}l=l.next}while(null!==l&&l!==f);null===k?g=d:k.next=h;He(d,b.memoizedState)||(Ug=!0);b.memoizedState=d;b.baseState=g;b.baseQueue=k;c.lastRenderedState=d}a=c.interleaved;if(null!==a){e=a;do f=e.lane,N.lanes|=f,hh|=f,e=e.next;while(e!==a)}else null===e&&(c.lanes=0);return[b.memoizedState,c.dispatch]}\nfunction gi(a){var b=di(),c=b.queue;if(null===c)throw Error(p(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);He(f,b.memoizedState)||(Ug=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}function hi(){}\nfunction ii(a,b){var c=N,d=di(),e=b(),f=!He(d.memoizedState,e);f&&(d.memoizedState=e,Ug=!0);d=d.queue;ji(ki.bind(null,c,d,a),[a]);if(d.getSnapshot!==b||f||null!==P&&P.memoizedState.tag&1){c.flags|=2048;li(9,mi.bind(null,c,d,e,b),void 0,null);if(null===R)throw Error(p(349));0!==(Rh&30)||ni(c,b,e)}return e}function ni(a,b,c){a.flags|=16384;a={getSnapshot:b,value:c};b=N.updateQueue;null===b?(b={lastEffect:null,stores:null},N.updateQueue=b,b.stores=[a]):(c=b.stores,null===c?b.stores=[a]:c.push(a))}\nfunction mi(a,b,c,d){b.value=c;b.getSnapshot=d;oi(b)&&pi(a)}function ki(a,b,c){return c(function(){oi(b)&&pi(a)})}function oi(a){var b=a.getSnapshot;a=a.value;try{var c=b();return!He(a,c)}catch(d){return!0}}function pi(a){var b=Zg(a,1);null!==b&&mh(b,a,1,-1)}\nfunction qi(a){var b=ci();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ei,lastRenderedState:a};b.queue=a;a=a.dispatch=ri.bind(null,N,a);return[b.memoizedState,a]}\nfunction li(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=N.updateQueue;null===b?(b={lastEffect:null,stores:null},N.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function si(){return di().memoizedState}function ti(a,b,c,d){var e=ci();N.flags|=a;e.memoizedState=li(1|b,c,void 0,void 0===d?null:d)}\nfunction ui(a,b,c,d){var e=di();d=void 0===d?null:d;var f=void 0;if(null!==O){var g=O.memoizedState;f=g.destroy;if(null!==d&&Wh(d,g.deps)){e.memoizedState=li(b,c,f,d);return}}N.flags|=a;e.memoizedState=li(1|b,c,f,d)}function vi(a,b){return ti(8390656,8,a,b)}function ji(a,b){return ui(2048,8,a,b)}function wi(a,b){return ui(4,2,a,b)}function xi(a,b){return ui(4,4,a,b)}\nfunction yi(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function zi(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ui(4,4,yi.bind(null,b,a),c)}function Ai(){}function Bi(a,b){var c=di();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Wh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}\nfunction Ci(a,b){var c=di();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Wh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Di(a,b,c){if(0===(Rh&21))return a.baseState&&(a.baseState=!1,Ug=!0),a.memoizedState=c;He(c,b)||(c=yc(),N.lanes|=c,hh|=c,a.baseState=!0);return b}function Ei(a,b){var c=C;C=0!==c&&4>c?c:4;a(!0);var d=Qh.transition;Qh.transition={};try{a(!1),b()}finally{C=c,Qh.transition=d}}function Fi(){return di().memoizedState}\nfunction Gi(a,b,c){var d=lh(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,c);else if(c=Yg(a,b,c,d),null!==c){var e=L();mh(c,a,d,e);Ji(c,b,d)}}\nfunction ri(a,b,c){var d=lh(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,Xg(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=Yg(a,b,e,d);null!==c&&(e=L(),mh(c,a,d,e),Ji(c,b,d))}}\nfunction Hi(a){var b=a.alternate;return a===N||null!==b&&b===N}function Ii(a,b){Th=Sh=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Ji(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(a,b){ci().memoizedState=[a,void 0===b?null:b];return a},useContext:Vg,useEffect:vi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ti(4194308,\n4,yi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ti(4194308,4,a,b)},useInsertionEffect:function(a,b){return ti(4,2,a,b)},useMemo:function(a,b){var c=ci();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=ci();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Gi.bind(null,N,a);return[d.memoizedState,a]},useRef:function(a){var b=\nci();a={current:a};return b.memoizedState=a},useState:qi,useDebugValue:Ai,useDeferredValue:function(a){return ci().memoizedState=a},useTransition:function(){var a=qi(!1),b=a[0];a=Ei.bind(null,a[1]);ci().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=N,e=ci();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===R)throw Error(p(349));0!==(Rh&30)||ni(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;vi(ki.bind(null,d,\nf,a),[a]);d.flags|=2048;li(9,mi.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=ci(),b=R.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Uh++;0<c&&(b+=\"H\"+c.toString(32));b+=\":\"}else c=Vh++,b=\":\"+b+\"r\"+c.toString(32)+\":\";return a.memoizedState=b},unstable_isNewReconciler:!1},Zh={readContext:Vg,useCallback:Bi,useContext:Vg,useEffect:ji,useImperativeHandle:zi,useInsertionEffect:wi,useLayoutEffect:xi,useMemo:Ci,useReducer:fi,useRef:si,useState:function(){return fi(ei)},\nuseDebugValue:Ai,useDeferredValue:function(a){var b=di();return Di(b,O.memoizedState,a)},useTransition:function(){var a=fi(ei)[0],b=di().memoizedState;return[a,b]},useMutableSource:hi,useSyncExternalStore:ii,useId:Fi,unstable_isNewReconciler:!1},$h={readContext:Vg,useCallback:Bi,useContext:Vg,useEffect:ji,useImperativeHandle:zi,useInsertionEffect:wi,useLayoutEffect:xi,useMemo:Ci,useReducer:gi,useRef:si,useState:function(){return gi(ei)},useDebugValue:Ai,useDeferredValue:function(a){var b=di();return null===\nO?b.memoizedState=a:Di(b,O.memoizedState,a)},useTransition:function(){var a=gi(ei)[0],b=di().memoizedState;return[a,b]},useMutableSource:hi,useSyncExternalStore:ii,useId:Fi,unstable_isNewReconciler:!1};function Ki(a,b){try{var c=\"\",d=b;do c+=Pa(d),d=d.return;while(d);var e=c}catch(f){e=\"\\nError generating stack: \"+f.message+\"\\n\"+f.stack}return{value:a,source:b,stack:e,digest:null}}function Li(a,b,c){return{value:a,source:null,stack:null!=c?c:null,digest:null!=b?b:null}}\nfunction Mi(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}var Ni=\"function\"===typeof WeakMap?WeakMap:Map;function Oi(a,b,c){c=ch(-1,c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Pi||(Pi=!0,Qi=d);Mi(a,b)};return c}\nfunction Ri(a,b,c){c=ch(-1,c);c.tag=3;var d=a.type.getDerivedStateFromError;if(\"function\"===typeof d){var e=b.value;c.payload=function(){return d(e)};c.callback=function(){Mi(a,b)}}var f=a.stateNode;null!==f&&\"function\"===typeof f.componentDidCatch&&(c.callback=function(){Mi(a,b);\"function\"!==typeof d&&(null===Si?Si=new Set([this]):Si.add(this));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:\"\"})});return c}\nfunction Ti(a,b,c){var d=a.pingCache;if(null===d){d=a.pingCache=new Ni;var e=new Set;d.set(b,e)}else e=d.get(b),void 0===e&&(e=new Set,d.set(b,e));e.has(c)||(e.add(c),a=Ui.bind(null,a,b,c),b.then(a,a))}function Vi(a){do{var b;if(b=13===a.tag)b=a.memoizedState,b=null!==b?null!==b.dehydrated?!0:!1:!0;if(b)return a;a=a.return}while(null!==a);return null}\nfunction Wi(a,b,c,d,e){if(0===(a.mode&1))return a===b?a.flags|=65536:(a.flags|=128,c.flags|=131072,c.flags&=-52805,1===c.tag&&(null===c.alternate?c.tag=17:(b=ch(-1,1),b.tag=2,dh(c,b,1))),c.lanes|=1),a;a.flags|=65536;a.lanes=e;return a}var Xi=ua.ReactCurrentOwner,Ug=!1;function Yi(a,b,c,d){b.child=null===a?Ch(b,null,c,d):Bh(b,a.child,c,d)}\nfunction Zi(a,b,c,d,e){c=c.render;var f=b.ref;Tg(b,e);d=Xh(a,b,c,d,f,e);c=bi();if(null!==a&&!Ug)return b.updateQueue=a.updateQueue,b.flags&=-2053,a.lanes&=~e,$i(a,b,e);I&&c&&vg(b);b.flags|=1;Yi(a,b,d,e);return b.child}\nfunction aj(a,b,c,d,e){if(null===a){var f=c.type;if(\"function\"===typeof f&&!bj(f)&&void 0===f.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=f,cj(a,b,f,d,e);a=yh(c.type,null,d,b,b.mode,e);a.ref=b.ref;a.return=b;return b.child=a}f=a.child;if(0===(a.lanes&e)){var g=f.memoizedProps;c=c.compare;c=null!==c?c:Ie;if(c(g,d)&&a.ref===b.ref)return $i(a,b,e)}b.flags|=1;a=wh(f,d);a.ref=b.ref;a.return=b;return b.child=a}\nfunction cj(a,b,c,d,e){if(null!==a){var f=a.memoizedProps;if(Ie(f,d)&&a.ref===b.ref)if(Ug=!1,b.pendingProps=d=f,0!==(a.lanes&e))0!==(a.flags&131072)&&(Ug=!0);else return b.lanes=a.lanes,$i(a,b,e)}return dj(a,b,c,d,e)}\nfunction ej(a,b,c){var d=b.pendingProps,e=d.children,f=null!==a?a.memoizedState:null;if(\"hidden\"===d.mode)if(0===(b.mode&1))b.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(fj,gj),gj|=c;else{if(0===(c&1073741824))return a=null!==f?f.baseLanes|c:c,b.lanes=b.childLanes=1073741824,b.memoizedState={baseLanes:a,cachePool:null,transitions:null},b.updateQueue=null,G(fj,gj),gj|=a,null;b.memoizedState={baseLanes:0,cachePool:null,transitions:null};d=null!==f?f.baseLanes:c;G(fj,gj);gj|=d}else null!==\nf?(d=f.baseLanes|c,b.memoizedState=null):d=c,G(fj,gj),gj|=d;Yi(a,b,e,c);return b.child}function hj(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=512,b.flags|=2097152}function dj(a,b,c,d,e){var f=Zf(c)?Xf:H.current;f=Yf(b,f);Tg(b,e);c=Xh(a,b,c,d,f,e);d=bi();if(null!==a&&!Ug)return b.updateQueue=a.updateQueue,b.flags&=-2053,a.lanes&=~e,$i(a,b,e);I&&d&&vg(b);b.flags|=1;Yi(a,b,c,e);return b.child}\nfunction ij(a,b,c,d,e){if(Zf(c)){var f=!0;cg(b)}else f=!1;Tg(b,e);if(null===b.stateNode)jj(a,b),ph(b,c,d),rh(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;\"object\"===typeof l&&null!==l?l=Vg(l):(l=Zf(c)?Xf:H.current,l=Yf(b,l));var m=c.getDerivedStateFromProps,q=\"function\"===typeof m||\"function\"===typeof g.getSnapshotBeforeUpdate;q||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||\n(h!==d||k!==l)&&qh(b,g,d,l);$g=!1;var r=b.memoizedState;g.state=r;gh(b,d,g,e);k=b.memoizedState;h!==d||r!==k||Wf.current||$g?(\"function\"===typeof m&&(kh(b,c,m,d),k=b.memoizedState),(h=$g||oh(b,c,h,d,r,k,l))?(q||\"function\"!==typeof g.UNSAFE_componentWillMount&&\"function\"!==typeof g.componentWillMount||(\"function\"===typeof g.componentWillMount&&g.componentWillMount(),\"function\"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),\"function\"===typeof g.componentDidMount&&(b.flags|=4194308)):\n(\"function\"===typeof g.componentDidMount&&(b.flags|=4194308),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):(\"function\"===typeof g.componentDidMount&&(b.flags|=4194308),d=!1)}else{g=b.stateNode;bh(a,b);h=b.memoizedProps;l=b.type===b.elementType?h:Lg(b.type,h);g.props=l;q=b.pendingProps;r=g.context;k=c.contextType;\"object\"===typeof k&&null!==k?k=Vg(k):(k=Zf(c)?Xf:H.current,k=Yf(b,k));var y=c.getDerivedStateFromProps;(m=\"function\"===typeof y||\"function\"===typeof g.getSnapshotBeforeUpdate)||\n\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==q||r!==k)&&qh(b,g,d,k);$g=!1;r=b.memoizedState;g.state=r;gh(b,d,g,e);var n=b.memoizedState;h!==q||r!==n||Wf.current||$g?(\"function\"===typeof y&&(kh(b,c,y,d),n=b.memoizedState),(l=$g||oh(b,c,l,d,r,n,k)||!1)?(m||\"function\"!==typeof g.UNSAFE_componentWillUpdate&&\"function\"!==typeof g.componentWillUpdate||(\"function\"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,n,k),\"function\"===typeof g.UNSAFE_componentWillUpdate&&\ng.UNSAFE_componentWillUpdate(d,n,k)),\"function\"===typeof g.componentDidUpdate&&(b.flags|=4),\"function\"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=1024)):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),b.memoizedProps=d,b.memoizedState=n),g.props=d,g.state=n,g.context=k,d=l):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===\na.memoizedState||(b.flags|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=1024),d=!1)}return kj(a,b,c,d,f,e)}\nfunction kj(a,b,c,d,e,f){hj(a,b);var g=0!==(b.flags&128);if(!d&&!g)return e&&dg(b,c,!1),$i(a,b,f);d=b.stateNode;Xi.current=b;var h=g&&\"function\"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=Bh(b,a.child,null,f),b.child=Bh(b,null,h,f)):Yi(a,b,h,f);b.memoizedState=d.state;e&&dg(b,c,!0);return b.child}function lj(a){var b=a.stateNode;b.pendingContext?ag(a,b.pendingContext,b.pendingContext!==b.context):b.context&&ag(a,b.context,!1);Ih(a,b.containerInfo)}\nfunction mj(a,b,c,d,e){Ig();Jg(e);b.flags|=256;Yi(a,b,c,d);return b.child}var nj={dehydrated:null,treeContext:null,retryLane:0};function oj(a){return{baseLanes:a,cachePool:null,transitions:null}}\nfunction pj(a,b,c){var d=b.pendingProps,e=M.current,f=!1,g=0!==(b.flags&128),h;(h=g)||(h=null!==a&&null===a.memoizedState?!1:0!==(e&2));if(h)f=!0,b.flags&=-129;else if(null===a||null!==a.memoizedState)e|=1;G(M,e&1);if(null===a){Eg(b);a=b.memoizedState;if(null!==a&&(a=a.dehydrated,null!==a))return 0===(b.mode&1)?b.lanes=1:\"$!\"===a.data?b.lanes=8:b.lanes=1073741824,null;g=d.children;a=d.fallback;return f?(d=b.mode,f=b.child,g={mode:\"hidden\",children:g},0===(d&1)&&null!==f?(f.childLanes=0,f.pendingProps=\ng):f=qj(g,d,0,null),a=Ah(a,d,c,null),f.return=b,a.return=b,f.sibling=a,b.child=f,b.child.memoizedState=oj(c),b.memoizedState=nj,a):rj(b,g)}e=a.memoizedState;if(null!==e&&(h=e.dehydrated,null!==h))return sj(a,b,g,d,h,e,c);if(f){f=d.fallback;g=b.mode;e=a.child;h=e.sibling;var k={mode:\"hidden\",children:d.children};0===(g&1)&&b.child!==e?(d=b.child,d.childLanes=0,d.pendingProps=k,b.deletions=null):(d=wh(e,k),d.subtreeFlags=e.subtreeFlags&14680064);null!==h?f=wh(h,f):(f=Ah(f,g,c,null),f.flags|=2);f.return=\nb;d.return=b;d.sibling=f;b.child=d;d=f;f=b.child;g=a.child.memoizedState;g=null===g?oj(c):{baseLanes:g.baseLanes|c,cachePool:null,transitions:g.transitions};f.memoizedState=g;f.childLanes=a.childLanes&~c;b.memoizedState=nj;return d}f=a.child;a=f.sibling;d=wh(f,{mode:\"visible\",children:d.children});0===(b.mode&1)&&(d.lanes=c);d.return=b;d.sibling=null;null!==a&&(c=b.deletions,null===c?(b.deletions=[a],b.flags|=16):c.push(a));b.child=d;b.memoizedState=null;return d}\nfunction rj(a,b){b=qj({mode:\"visible\",children:b},a.mode,0,null);b.return=a;return a.child=b}function tj(a,b,c,d){null!==d&&Jg(d);Bh(b,a.child,null,c);a=rj(b,b.pendingProps.children);a.flags|=2;b.memoizedState=null;return a}\nfunction sj(a,b,c,d,e,f,g){if(c){if(b.flags&256)return b.flags&=-257,d=Li(Error(p(422))),tj(a,b,g,d);if(null!==b.memoizedState)return b.child=a.child,b.flags|=128,null;f=d.fallback;e=b.mode;d=qj({mode:\"visible\",children:d.children},e,0,null);f=Ah(f,e,g,null);f.flags|=2;d.return=b;f.return=b;d.sibling=f;b.child=d;0!==(b.mode&1)&&Bh(b,a.child,null,g);b.child.memoizedState=oj(g);b.memoizedState=nj;return f}if(0===(b.mode&1))return tj(a,b,g,null);if(\"$!\"===e.data){d=e.nextSibling&&e.nextSibling.dataset;\nif(d)var h=d.dgst;d=h;f=Error(p(419));d=Li(f,d,void 0);return tj(a,b,g,d)}h=0!==(g&a.childLanes);if(Ug||h){d=R;if(null!==d){switch(g&-g){case 4:e=2;break;case 16:e=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:e=32;break;case 536870912:e=268435456;break;default:e=0}e=0!==(e&(d.suspendedLanes|g))?0:e;\n0!==e&&e!==f.retryLane&&(f.retryLane=e,Zg(a,e),mh(d,a,e,-1))}uj();d=Li(Error(p(421)));return tj(a,b,g,d)}if(\"$?\"===e.data)return b.flags|=128,b.child=a.child,b=vj.bind(null,a),e._reactRetry=b,null;a=f.treeContext;yg=Lf(e.nextSibling);xg=b;I=!0;zg=null;null!==a&&(og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,rg=a.id,sg=a.overflow,qg=b);b=rj(b,d.children);b.flags|=4096;return b}function wj(a,b,c){a.lanes|=b;var d=a.alternate;null!==d&&(d.lanes|=b);Sg(a.return,b,c)}\nfunction xj(a,b,c,d,e){var f=a.memoizedState;null===f?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e}:(f.isBackwards=b,f.rendering=null,f.renderingStartTime=0,f.last=d,f.tail=c,f.tailMode=e)}\nfunction yj(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;Yi(a,b,d.children,c);d=M.current;if(0!==(d&2))d=d&1|2,b.flags|=128;else{if(null!==a&&0!==(a.flags&128))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&wj(a,c,b);else if(19===a.tag)wj(a,c,b);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}G(M,d);if(0===(b.mode&1))b.memoizedState=\nnull;else switch(e){case \"forwards\":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Mh(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);xj(b,!1,e,c,f);break;case \"backwards\":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Mh(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}xj(b,!0,c,null,f);break;case \"together\":xj(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child}\nfunction jj(a,b){0===(b.mode&1)&&null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2)}function $i(a,b,c){null!==a&&(b.dependencies=a.dependencies);hh|=b.lanes;if(0===(c&b.childLanes))return null;if(null!==a&&b.child!==a.child)throw Error(p(153));if(null!==b.child){a=b.child;c=wh(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=wh(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}\nfunction zj(a,b,c){switch(b.tag){case 3:lj(b);Ig();break;case 5:Kh(b);break;case 1:Zf(b.type)&&cg(b);break;case 4:Ih(b,b.stateNode.containerInfo);break;case 10:var d=b.type._context,e=b.memoizedProps.value;G(Mg,d._currentValue);d._currentValue=e;break;case 13:d=b.memoizedState;if(null!==d){if(null!==d.dehydrated)return G(M,M.current&1),b.flags|=128,null;if(0!==(c&b.child.childLanes))return pj(a,b,c);G(M,M.current&1);a=$i(a,b,c);return null!==a?a.sibling:null}G(M,M.current&1);break;case 19:d=0!==(c&\nb.childLanes);if(0!==(a.flags&128)){if(d)return yj(a,b,c);b.flags|=128}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);G(M,M.current);if(d)break;else return null;case 22:case 23:return b.lanes=0,ej(a,b,c)}return $i(a,b,c)}var Aj,Bj,Cj,Dj;\nAj=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Bj=function(){};\nCj=function(a,b,c,d){var e=a.memoizedProps;if(e!==d){a=b.stateNode;Hh(Eh.current);var f=null;switch(c){case \"input\":e=Ya(a,e);d=Ya(a,d);f=[];break;case \"select\":e=A({},e,{value:void 0});d=A({},d,{value:void 0});f=[];break;case \"textarea\":e=gb(a,e);d=gb(a,d);f=[];break;default:\"function\"!==typeof e.onClick&&\"function\"===typeof d.onClick&&(a.onclick=Bf)}ub(c,d);var g;c=null;for(l in e)if(!d.hasOwnProperty(l)&&e.hasOwnProperty(l)&&null!=e[l])if(\"style\"===l){var h=e[l];for(g in h)h.hasOwnProperty(g)&&\n(c||(c={}),c[g]=\"\")}else\"dangerouslySetInnerHTML\"!==l&&\"children\"!==l&&\"suppressContentEditableWarning\"!==l&&\"suppressHydrationWarning\"!==l&&\"autoFocus\"!==l&&(ea.hasOwnProperty(l)?f||(f=[]):(f=f||[]).push(l,null));for(l in d){var k=d[l];h=null!=e?e[l]:void 0;if(d.hasOwnProperty(l)&&k!==h&&(null!=k||null!=h))if(\"style\"===l)if(h){for(g in h)!h.hasOwnProperty(g)||k&&k.hasOwnProperty(g)||(c||(c={}),c[g]=\"\");for(g in k)k.hasOwnProperty(g)&&h[g]!==k[g]&&(c||(c={}),c[g]=k[g])}else c||(f||(f=[]),f.push(l,\nc)),c=k;else\"dangerouslySetInnerHTML\"===l?(k=k?k.__html:void 0,h=h?h.__html:void 0,null!=k&&h!==k&&(f=f||[]).push(l,k)):\"children\"===l?\"string\"!==typeof k&&\"number\"!==typeof k||(f=f||[]).push(l,\"\"+k):\"suppressContentEditableWarning\"!==l&&\"suppressHydrationWarning\"!==l&&(ea.hasOwnProperty(l)?(null!=k&&\"onScroll\"===l&&D(\"scroll\",a),f||h===k||(f=[])):(f=f||[]).push(l,k))}c&&(f=f||[]).push(\"style\",c);var l=f;if(b.updateQueue=l)b.flags|=4}};Dj=function(a,b,c,d){c!==d&&(b.flags|=4)};\nfunction Ej(a,b){if(!I)switch(a.tailMode){case \"hidden\":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case \"collapsed\":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}\nfunction S(a){var b=null!==a.alternate&&a.alternate.child===a.child,c=0,d=0;if(b)for(var e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags&14680064,d|=e.flags&14680064,e.return=a,e=e.sibling;else for(e=a.child;null!==e;)c|=e.lanes|e.childLanes,d|=e.subtreeFlags,d|=e.flags,e.return=a,e=e.sibling;a.subtreeFlags|=d;a.childLanes=c;return b}\nfunction Fj(a,b,c){var d=b.pendingProps;wg(b);switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return S(b),null;case 1:return Zf(b.type)&&$f(),S(b),null;case 3:d=b.stateNode;Jh();E(Wf);E(H);Oh();d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null);if(null===a||null===a.child)Gg(b)?b.flags|=4:null===a||a.memoizedState.isDehydrated&&0===(b.flags&256)||(b.flags|=1024,null!==zg&&(Gj(zg),zg=null));Bj(a,b);S(b);return null;case 5:Lh(b);var e=Hh(Gh.current);\nc=b.type;if(null!==a&&null!=b.stateNode)Cj(a,b,c,d,e),a.ref!==b.ref&&(b.flags|=512,b.flags|=2097152);else{if(!d){if(null===b.stateNode)throw Error(p(166));S(b);return null}a=Hh(Eh.current);if(Gg(b)){d=b.stateNode;c=b.type;var f=b.memoizedProps;d[Of]=b;d[Pf]=f;a=0!==(b.mode&1);switch(c){case \"dialog\":D(\"cancel\",d);D(\"close\",d);break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",d);break;case \"video\":case \"audio\":for(e=0;e<lf.length;e++)D(lf[e],d);break;case \"source\":D(\"error\",d);break;case \"img\":case \"image\":case \"link\":D(\"error\",\nd);D(\"load\",d);break;case \"details\":D(\"toggle\",d);break;case \"input\":Za(d,f);D(\"invalid\",d);break;case \"select\":d._wrapperState={wasMultiple:!!f.multiple};D(\"invalid\",d);break;case \"textarea\":hb(d,f),D(\"invalid\",d)}ub(c,f);e=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];\"children\"===g?\"string\"===typeof h?d.textContent!==h&&(!0!==f.suppressHydrationWarning&&Af(d.textContent,h,a),e=[\"children\",h]):\"number\"===typeof h&&d.textContent!==\"\"+h&&(!0!==f.suppressHydrationWarning&&Af(d.textContent,\nh,a),e=[\"children\",\"\"+h]):ea.hasOwnProperty(g)&&null!=h&&\"onScroll\"===g&&D(\"scroll\",d)}switch(c){case \"input\":Va(d);db(d,f,!0);break;case \"textarea\":Va(d);jb(d);break;case \"select\":case \"option\":break;default:\"function\"===typeof f.onClick&&(d.onclick=Bf)}d=e;b.updateQueue=d;null!==d&&(b.flags|=4)}else{g=9===e.nodeType?e:e.ownerDocument;\"http://www.w3.org/1999/xhtml\"===a&&(a=kb(c));\"http://www.w3.org/1999/xhtml\"===a?\"script\"===c?(a=g.createElement(\"div\"),a.innerHTML=\"<script>\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;Aj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;e<lf.length;e++)D(lf[e],a);e=d;break;case \"source\":D(\"error\",a);e=d;break;case \"img\":case \"image\":case \"link\":D(\"error\",\na);D(\"load\",a);e=d;break;case \"details\":D(\"toggle\",a);e=d;break;case \"input\":Za(a,d);e=Ya(a,d);D(\"invalid\",a);break;case \"option\":e=d;break;case \"select\":a._wrapperState={wasMultiple:!!d.multiple};e=A({},d,{value:void 0});D(\"invalid\",a);break;case \"textarea\":hb(a,d);e=gb(a,d);D(\"invalid\",a);break;default:e=d}ub(c,e);h=e;for(f in h)if(h.hasOwnProperty(f)){var k=h[f];\"style\"===f?sb(a,k):\"dangerouslySetInnerHTML\"===f?(k=k?k.__html:void 0,null!=k&&nb(a,k)):\"children\"===f?\"string\"===typeof k?(\"textarea\"!==\nc||\"\"!==k)&&ob(a,k):\"number\"===typeof k&&ob(a,\"\"+k):\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&\"autoFocus\"!==f&&(ea.hasOwnProperty(f)?null!=k&&\"onScroll\"===f&&D(\"scroll\",a):null!=k&&ta(a,f,k,g))}switch(c){case \"input\":Va(a);db(a,d,!1);break;case \"textarea\":Va(a);jb(a);break;case \"option\":null!=d.value&&a.setAttribute(\"value\",\"\"+Sa(d.value));break;case \"select\":a.multiple=!!d.multiple;f=d.value;null!=f?fb(a,!!d.multiple,f,!1):null!=d.defaultValue&&fb(a,!!d.multiple,d.defaultValue,\n!0);break;default:\"function\"===typeof e.onClick&&(a.onclick=Bf)}switch(c){case \"button\":case \"input\":case \"select\":case \"textarea\":d=!!d.autoFocus;break a;case \"img\":d=!0;break a;default:d=!1}}d&&(b.flags|=4)}null!==b.ref&&(b.flags|=512,b.flags|=2097152)}S(b);return null;case 6:if(a&&null!=b.stateNode)Dj(a,b,a.memoizedProps,d);else{if(\"string\"!==typeof d&&null===b.stateNode)throw Error(p(166));c=Hh(Gh.current);Hh(Eh.current);if(Gg(b)){d=b.stateNode;c=b.memoizedProps;d[Of]=b;if(f=d.nodeValue!==c)if(a=\nxg,null!==a)switch(a.tag){case 3:Af(d.nodeValue,c,0!==(a.mode&1));break;case 5:!0!==a.memoizedProps.suppressHydrationWarning&&Af(d.nodeValue,c,0!==(a.mode&1))}f&&(b.flags|=4)}else d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),d[Of]=b,b.stateNode=d}S(b);return null;case 13:E(M);d=b.memoizedState;if(null===a||null!==a.memoizedState&&null!==a.memoizedState.dehydrated){if(I&&null!==yg&&0!==(b.mode&1)&&0===(b.flags&128))Hg(),Ig(),b.flags|=98560,f=!1;else if(f=Gg(b),null!==d&&null!==d.dehydrated){if(null===\na){if(!f)throw Error(p(318));f=b.memoizedState;f=null!==f?f.dehydrated:null;if(!f)throw Error(p(317));f[Of]=b}else Ig(),0===(b.flags&128)&&(b.memoizedState=null),b.flags|=4;S(b);f=!1}else null!==zg&&(Gj(zg),zg=null),f=!0;if(!f)return b.flags&65536?b:null}if(0!==(b.flags&128))return b.lanes=c,b;d=null!==d;d!==(null!==a&&null!==a.memoizedState)&&d&&(b.child.flags|=8192,0!==(b.mode&1)&&(null===a||0!==(M.current&1)?0===T&&(T=3):uj()));null!==b.updateQueue&&(b.flags|=4);S(b);return null;case 4:return Jh(),\nBj(a,b),null===a&&sf(b.stateNode.containerInfo),S(b),null;case 10:return Rg(b.type._context),S(b),null;case 17:return Zf(b.type)&&$f(),S(b),null;case 19:E(M);f=b.memoizedState;if(null===f)return S(b),null;d=0!==(b.flags&128);g=f.rendering;if(null===g)if(d)Ej(f,!1);else{if(0!==T||null!==a&&0!==(a.flags&128))for(a=b.child;null!==a;){g=Mh(a);if(null!==g){b.flags|=128;Ej(f,!1);d=g.updateQueue;null!==d&&(b.updateQueue=d,b.flags|=4);b.subtreeFlags=0;d=c;for(c=b.child;null!==c;)f=c,a=d,f.flags&=14680066,\ng=f.alternate,null===g?(f.childLanes=0,f.lanes=a,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=g.lanes,f.child=g.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,a=g.dependencies,f.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext}),c=c.sibling;G(M,M.current&1|2);return b.child}a=\na.sibling}null!==f.tail&&B()>Hj&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304)}else{if(!d)if(a=Mh(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Ej(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Hj&&1073741824!==c&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=M.current,G(M,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Ij(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(gj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Jj(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return Jh(),E(Wf),E(H),Oh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Lh(b),null;case 13:E(M);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(b.type._context),null;case 22:case 23:return Ij(),\nnull;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Mj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Nj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Oj=!1;\nfunction Pj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Lg(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Oj;Oj=!1;return n}\nfunction Qj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Nj(b,c,f)}e=e.next}while(e!==d)}}function Rj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Sj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Tj(a){var b=a.alternate;null!==b&&(a.alternate=null,Tj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Uj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Vj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Uj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}\nfunction Xj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Xj(a,b,c),a=a.sibling;null!==a;)Xj(a,b,c),a=a.sibling}var X=null,Yj=!1;function Zj(a,b,c){for(c=c.child;null!==c;)ak(a,b,c),c=c.sibling}\nfunction ak(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Mj(c,b);case 6:var d=X,e=Yj;X=null;Zj(a,b,c);X=d;Yj=e;null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Yj;X=c.stateNode.containerInfo;Yj=!0;\nZj(a,b,c);X=d;Yj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Nj(c,b,g):0!==(f&4)&&Nj(c,b,g));e=e.next}while(e!==d)}Zj(a,b,c);break;case 1:if(!U&&(Mj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Zj(a,b,c);break;case 21:Zj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Zj(a,b,c),U=d):Zj(a,b,c);break;default:Zj(a,b,c)}}function bk(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Lj);b.forEach(function(b){var d=ck.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction dk(a,b){var c=b.deletions;if(null!==c)for(var d=0;d<c.length;d++){var e=c[d];try{var f=a,g=b,h=g;a:for(;null!==h;){switch(h.tag){case 5:X=h.stateNode;Yj=!1;break a;case 3:X=h.stateNode.containerInfo;Yj=!0;break a;case 4:X=h.stateNode.containerInfo;Yj=!0;break a}h=h.return}if(null===X)throw Error(p(160));ak(f,g,e);X=null;Yj=!1;var k=e.alternate;null!==k&&(k.return=null);e.return=null}catch(l){W(e,b,l)}}if(b.subtreeFlags&12854)for(b=b.child;null!==b;)ek(b,a),b=b.sibling}\nfunction ek(a,b){var c=a.alternate,d=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:dk(b,a);fk(a);if(d&4){try{Qj(3,a,a.return),Rj(3,a)}catch(t){W(a,a.return,t)}try{Qj(5,a,a.return)}catch(t){W(a,a.return,t)}}break;case 1:dk(b,a);fk(a);d&512&&null!==c&&Mj(c,c.return);break;case 5:dk(b,a);fk(a);d&512&&null!==c&&Mj(c,c.return);if(a.flags&32){var e=a.stateNode;try{ob(e,\"\")}catch(t){W(a,a.return,t)}}if(d&4&&(e=a.stateNode,null!=e)){var f=a.memoizedProps,g=null!==c?c.memoizedProps:f,h=a.type,k=a.updateQueue;\na.updateQueue=null;if(null!==k)try{\"input\"===h&&\"radio\"===f.type&&null!=f.name&&ab(e,f);vb(h,g);var l=vb(h,f);for(g=0;g<k.length;g+=2){var m=k[g],q=k[g+1];\"style\"===m?sb(e,q):\"dangerouslySetInnerHTML\"===m?nb(e,q):\"children\"===m?ob(e,q):ta(e,m,q,l)}switch(h){case \"input\":bb(e,f);break;case \"textarea\":ib(e,f);break;case \"select\":var r=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=!!f.multiple;var y=f.value;null!=y?fb(e,!!f.multiple,y,!1):r!==!!f.multiple&&(null!=f.defaultValue?fb(e,!!f.multiple,\nf.defaultValue,!0):fb(e,!!f.multiple,f.multiple?[]:\"\",!1))}e[Pf]=f}catch(t){W(a,a.return,t)}}break;case 6:dk(b,a);fk(a);if(d&4){if(null===a.stateNode)throw Error(p(162));e=a.stateNode;f=a.memoizedProps;try{e.nodeValue=f}catch(t){W(a,a.return,t)}}break;case 3:dk(b,a);fk(a);if(d&4&&null!==c&&c.memoizedState.isDehydrated)try{bd(b.containerInfo)}catch(t){W(a,a.return,t)}break;case 4:dk(b,a);fk(a);break;case 13:dk(b,a);fk(a);e=a.child;e.flags&8192&&(f=null!==e.memoizedState,e.stateNode.isHidden=f,!f||\nnull!==e.alternate&&null!==e.alternate.memoizedState||(gk=B()));d&4&&bk(a);break;case 22:m=null!==c&&null!==c.memoizedState;a.mode&1?(U=(l=U)||m,dk(b,a),U=l):dk(b,a);fk(a);if(d&8192){l=null!==a.memoizedState;if((a.stateNode.isHidden=l)&&!m&&0!==(a.mode&1))for(V=a,m=a.child;null!==m;){for(q=V=m;null!==V;){r=V;y=r.child;switch(r.tag){case 0:case 11:case 14:case 15:Qj(4,r,r.return);break;case 1:Mj(r,r.return);var n=r.stateNode;if(\"function\"===typeof n.componentWillUnmount){d=r;c=r.return;try{b=d,n.props=\nb.memoizedProps,n.state=b.memoizedState,n.componentWillUnmount()}catch(t){W(d,c,t)}}break;case 5:Mj(r,r.return);break;case 22:if(null!==r.memoizedState){hk(q);continue}}null!==y?(y.return=r,V=y):hk(q)}m=m.sibling}a:for(m=null,q=a;;){if(5===q.tag){if(null===m){m=q;try{e=q.stateNode,l?(f=e.style,\"function\"===typeof f.setProperty?f.setProperty(\"display\",\"none\",\"important\"):f.display=\"none\"):(h=q.stateNode,k=q.memoizedProps.style,g=void 0!==k&&null!==k&&k.hasOwnProperty(\"display\")?k.display:null,h.style.display=\nrb(\"display\",g))}catch(t){W(a,a.return,t)}}}else if(6===q.tag){if(null===m)try{q.stateNode.nodeValue=l?\"\":q.memoizedProps}catch(t){W(a,a.return,t)}}else if((22!==q.tag&&23!==q.tag||null===q.memoizedState||q===a)&&null!==q.child){q.child.return=q;q=q.child;continue}if(q===a)break a;for(;null===q.sibling;){if(null===q.return||q.return===a)break a;m===q&&(m=null);q=q.return}m===q&&(m=null);q.sibling.return=q.return;q=q.sibling}}break;case 19:dk(b,a);fk(a);d&4&&bk(a);break;case 21:break;default:dk(b,\na),fk(a)}}function fk(a){var b=a.flags;if(b&2){try{a:{for(var c=a.return;null!==c;){if(Uj(c)){var d=c;break a}c=c.return}throw Error(p(160));}switch(d.tag){case 5:var e=d.stateNode;d.flags&32&&(ob(e,\"\"),d.flags&=-33);var f=Vj(a);Xj(a,f,e);break;case 3:case 4:var g=d.stateNode.containerInfo,h=Vj(a);Wj(a,h,g);break;default:throw Error(p(161));}}catch(k){W(a,a.return,k)}a.flags&=-3}b&4096&&(a.flags&=-4097)}function ik(a,b,c){V=a;jk(a,b,c)}\nfunction jk(a,b,c){for(var d=0!==(a.mode&1);null!==V;){var e=V,f=e.child;if(22===e.tag&&d){var g=null!==e.memoizedState||Kj;if(!g){var h=e.alternate,k=null!==h&&null!==h.memoizedState||U;h=Kj;var l=U;Kj=g;if((U=k)&&!l)for(V=e;null!==V;)g=V,k=g.child,22===g.tag&&null!==g.memoizedState?kk(e):null!==k?(k.return=g,V=k):kk(e);for(;null!==f;)V=f,jk(f,b,c),f=f.sibling;V=e;Kj=h;U=l}lk(a,b,c)}else 0!==(e.subtreeFlags&8772)&&null!==f?(f.return=e,V=f):lk(a,b,c)}}\nfunction lk(a){for(;null!==V;){var b=V;if(0!==(b.flags&8772)){var c=b.alternate;try{if(0!==(b.flags&8772))switch(b.tag){case 0:case 11:case 15:U||Rj(5,b);break;case 1:var d=b.stateNode;if(b.flags&4&&!U)if(null===c)d.componentDidMount();else{var e=b.elementType===b.type?c.memoizedProps:Lg(b.type,c.memoizedProps);d.componentDidUpdate(e,c.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var f=b.updateQueue;null!==f&&ih(b,f,d);break;case 3:var g=b.updateQueue;if(null!==g){c=null;if(null!==b.child)switch(b.child.tag){case 5:c=\nb.child.stateNode;break;case 1:c=b.child.stateNode}ih(b,g,c)}break;case 5:var h=b.stateNode;if(null===c&&b.flags&4){c=h;var k=b.memoizedProps;switch(b.type){case \"button\":case \"input\":case \"select\":case \"textarea\":k.autoFocus&&c.focus();break;case \"img\":k.src&&(c.src=k.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(null===b.memoizedState){var l=b.alternate;if(null!==l){var m=l.memoizedState;if(null!==m){var q=m.dehydrated;null!==q&&bd(q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;\ndefault:throw Error(p(163));}U||b.flags&512&&Sj(b)}catch(r){W(b,b.return,r)}}if(b===a){V=null;break}c=b.sibling;if(null!==c){c.return=b.return;V=c;break}V=b.return}}function hk(a){for(;null!==V;){var b=V;if(b===a){V=null;break}var c=b.sibling;if(null!==c){c.return=b.return;V=c;break}V=b.return}}\nfunction kk(a){for(;null!==V;){var b=V;try{switch(b.tag){case 0:case 11:case 15:var c=b.return;try{Rj(4,b)}catch(k){W(b,c,k)}break;case 1:var d=b.stateNode;if(\"function\"===typeof d.componentDidMount){var e=b.return;try{d.componentDidMount()}catch(k){W(b,e,k)}}var f=b.return;try{Sj(b)}catch(k){W(b,f,k)}break;case 5:var g=b.return;try{Sj(b)}catch(k){W(b,g,k)}}}catch(k){W(b,b.return,k)}if(b===a){V=null;break}var h=b.sibling;if(null!==h){h.return=b.return;V=h;break}V=b.return}}\nvar mk=Math.ceil,nk=ua.ReactCurrentDispatcher,ok=ua.ReactCurrentOwner,pk=ua.ReactCurrentBatchConfig,K=0,R=null,Y=null,Z=0,gj=0,fj=Uf(0),T=0,qk=null,hh=0,rk=0,sk=0,tk=null,uk=null,gk=0,Hj=Infinity,vk=null,Pi=!1,Qi=null,Si=null,wk=!1,xk=null,yk=0,zk=0,Ak=null,Bk=-1,Ck=0;function L(){return 0!==(K&6)?B():-1!==Bk?Bk:Bk=B()}\nfunction lh(a){if(0===(a.mode&1))return 1;if(0!==(K&2)&&0!==Z)return Z&-Z;if(null!==Kg.transition)return 0===Ck&&(Ck=yc()),Ck;a=C;if(0!==a)return a;a=window.event;a=void 0===a?16:jd(a.type);return a}function mh(a,b,c,d){if(50<zk)throw zk=0,Ak=null,Error(p(185));Ac(a,c,d);if(0===(K&2)||a!==R)a===R&&(0===(K&2)&&(rk|=c),4===T&&Dk(a,Z)),Ek(a,d),1===c&&0===K&&0===(b.mode&1)&&(Hj=B()+500,fg&&jg())}\nfunction Ek(a,b){var c=a.callbackNode;wc(a,b);var d=uc(a,a===R?Z:0);if(0===d)null!==c&&bc(c),a.callbackNode=null,a.callbackPriority=0;else if(b=d&-d,a.callbackPriority!==b){null!=c&&bc(c);if(1===b)0===a.tag?ig(Fk.bind(null,a)):hg(Fk.bind(null,a)),Jf(function(){0===(K&6)&&jg()}),c=null;else{switch(Dc(d)){case 1:c=fc;break;case 4:c=gc;break;case 16:c=hc;break;case 536870912:c=jc;break;default:c=hc}c=Gk(c,Hk.bind(null,a))}a.callbackPriority=b;a.callbackNode=c}}\nfunction Hk(a,b){Bk=-1;Ck=0;if(0!==(K&6))throw Error(p(327));var c=a.callbackNode;if(Ik()&&a.callbackNode!==c)return null;var d=uc(a,a===R?Z:0);if(0===d)return null;if(0!==(d&30)||0!==(d&a.expiredLanes)||b)b=Jk(a,d);else{b=d;var e=K;K|=2;var f=Kk();if(R!==a||Z!==b)vk=null,Hj=B()+500,Lk(a,b);do try{Mk();break}catch(h){Nk(a,h)}while(1);Qg();nk.current=f;K=e;null!==Y?b=0:(R=null,Z=0,b=T)}if(0!==b){2===b&&(e=xc(a),0!==e&&(d=e,b=Ok(a,e)));if(1===b)throw c=qk,Lk(a,0),Dk(a,d),Ek(a,B()),c;if(6===b)Dk(a,d);\nelse{e=a.current.alternate;if(0===(d&30)&&!Pk(e)&&(b=Jk(a,d),2===b&&(f=xc(a),0!==f&&(d=f,b=Ok(a,f))),1===b))throw c=qk,Lk(a,0),Dk(a,d),Ek(a,B()),c;a.finishedWork=e;a.finishedLanes=d;switch(b){case 0:case 1:throw Error(p(345));case 2:Qk(a,uk,vk);break;case 3:Dk(a,d);if((d&130023424)===d&&(b=gk+500-B(),10<b)){if(0!==uc(a,0))break;e=a.suspendedLanes;if((e&d)!==d){L();a.pingedLanes|=a.suspendedLanes&e;break}a.timeoutHandle=Ff(Qk.bind(null,a,uk,vk),b);break}Qk(a,uk,vk);break;case 4:Dk(a,d);if((d&4194240)===\nd)break;b=a.eventTimes;for(e=-1;0<d;){var g=31-oc(d);f=1<<g;g=b[g];g>e&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*mk(d/1960))-d;if(10<d){a.timeoutHandle=Ff(Qk.bind(null,a,uk,vk),d);break}Qk(a,uk,vk);break;case 5:Qk(a,uk,vk);break;default:throw Error(p(329));}}}Ek(a,B());return a.callbackNode===c?Hk.bind(null,a):null}\nfunction Ok(a,b){var c=tk;a.current.memoizedState.isDehydrated&&(Lk(a,b).flags|=256);a=Jk(a,b);2!==a&&(b=uk,uk=c,null!==b&&Gj(b));return a}function Gj(a){null===uk?uk=a:uk.push.apply(uk,a)}\nfunction Pk(a){for(var b=a;;){if(b.flags&16384){var c=b.updateQueue;if(null!==c&&(c=c.stores,null!==c))for(var d=0;d<c.length;d++){var e=c[d],f=e.getSnapshot;e=e.value;try{if(!He(f(),e))return!1}catch(g){return!1}}}c=b.child;if(b.subtreeFlags&16384&&null!==c)c.return=b,b=c;else{if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return!0;b=b.return}b.sibling.return=b.return;b=b.sibling}}return!0}\nfunction Dk(a,b){b&=~sk;b&=~rk;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-oc(b),d=1<<c;a[c]=-1;b&=~d}}function Fk(a){if(0!==(K&6))throw Error(p(327));Ik();var b=uc(a,0);if(0===(b&1))return Ek(a,B()),null;var c=Jk(a,b);if(0!==a.tag&&2===c){var d=xc(a);0!==d&&(b=d,c=Ok(a,d))}if(1===c)throw c=qk,Lk(a,0),Dk(a,b),Ek(a,B()),c;if(6===c)throw Error(p(345));a.finishedWork=a.current.alternate;a.finishedLanes=b;Qk(a,uk,vk);Ek(a,B());return null}\nfunction Rk(a,b){var c=K;K|=1;try{return a(b)}finally{K=c,0===K&&(Hj=B()+500,fg&&jg())}}function Sk(a){null!==xk&&0===xk.tag&&0===(K&6)&&Ik();var b=K;K|=1;var c=pk.transition,d=C;try{if(pk.transition=null,C=1,a)return a()}finally{C=d,pk.transition=c,K=b,0===(K&6)&&jg()}}function Ij(){gj=fj.current;E(fj)}\nfunction Lk(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Gf(c));if(null!==Y)for(c=Y.return;null!==c;){var d=c;wg(d);switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&$f();break;case 3:Jh();E(Wf);E(H);Oh();break;case 5:Lh(d);break;case 4:Jh();break;case 13:E(M);break;case 19:E(M);break;case 10:Rg(d.type._context);break;case 22:case 23:Ij()}c=c.return}R=a;Y=a=wh(a.current,null);Z=gj=b;T=0;qk=null;sk=rk=hh=0;uk=tk=null;if(null!==Wg){for(b=\n0;b<Wg.length;b++)if(c=Wg[b],d=c.interleaved,null!==d){c.interleaved=null;var e=d.next,f=c.pending;if(null!==f){var g=f.next;f.next=e;d.next=g}c.pending=d}Wg=null}return a}\nfunction Nk(a,b){do{var c=Y;try{Qg();Ph.current=ai;if(Sh){for(var d=N.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null);d=d.next}Sh=!1}Rh=0;P=O=N=null;Th=!1;Uh=0;ok.current=null;if(null===c||null===c.return){T=1;qk=b;Y=null;break}a:{var f=a,g=c.return,h=c,k=b;b=Z;h.flags|=32768;if(null!==k&&\"object\"===typeof k&&\"function\"===typeof k.then){var l=k,m=h,q=m.tag;if(0===(m.mode&1)&&(0===q||11===q||15===q)){var r=m.alternate;r?(m.updateQueue=r.updateQueue,m.memoizedState=r.memoizedState,\nm.lanes=r.lanes):(m.updateQueue=null,m.memoizedState=null)}var y=Vi(g);if(null!==y){y.flags&=-257;Wi(y,g,h,f,b);y.mode&1&&Ti(f,l,b);b=y;k=l;var n=b.updateQueue;if(null===n){var t=new Set;t.add(k);b.updateQueue=t}else n.add(k);break a}else{if(0===(b&1)){Ti(f,l,b);uj();break a}k=Error(p(426))}}else if(I&&h.mode&1){var J=Vi(g);if(null!==J){0===(J.flags&65536)&&(J.flags|=256);Wi(J,g,h,f,b);Jg(Ki(k,h));break a}}f=k=Ki(k,h);4!==T&&(T=2);null===tk?tk=[f]:tk.push(f);f=g;do{switch(f.tag){case 3:f.flags|=65536;\nb&=-b;f.lanes|=b;var x=Oi(f,k,b);fh(f,x);break a;case 1:h=k;var w=f.type,u=f.stateNode;if(0===(f.flags&128)&&(\"function\"===typeof w.getDerivedStateFromError||null!==u&&\"function\"===typeof u.componentDidCatch&&(null===Si||!Si.has(u)))){f.flags|=65536;b&=-b;f.lanes|=b;var F=Ri(f,h,b);fh(f,F);break a}}f=f.return}while(null!==f)}Tk(c)}catch(na){b=na;Y===c&&null!==c&&(Y=c=c.return);continue}break}while(1)}function Kk(){var a=nk.current;nk.current=ai;return null===a?ai:a}\nfunction uj(){if(0===T||3===T||2===T)T=4;null===R||0===(hh&268435455)&&0===(rk&268435455)||Dk(R,Z)}function Jk(a,b){var c=K;K|=2;var d=Kk();if(R!==a||Z!==b)vk=null,Lk(a,b);do try{Uk();break}catch(e){Nk(a,e)}while(1);Qg();K=c;nk.current=d;if(null!==Y)throw Error(p(261));R=null;Z=0;return T}function Uk(){for(;null!==Y;)Vk(Y)}function Mk(){for(;null!==Y&&!cc();)Vk(Y)}function Vk(a){var b=Wk(a.alternate,a,gj);a.memoizedProps=a.pendingProps;null===b?Tk(a):Y=b;ok.current=null}\nfunction Tk(a){var b=a;do{var c=b.alternate;a=b.return;if(0===(b.flags&32768)){if(c=Fj(c,b,gj),null!==c){Y=c;return}}else{c=Jj(c,b);if(null!==c){c.flags&=32767;Y=c;return}if(null!==a)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{T=6;Y=null;return}}b=b.sibling;if(null!==b){Y=b;return}Y=b=a}while(null!==b);0===T&&(T=5)}function Qk(a,b,c){var d=C,e=pk.transition;try{pk.transition=null,C=1,Xk(a,b,c,d)}finally{pk.transition=e,C=d}return null}\nfunction Xk(a,b,c,d){do Ik();while(null!==xk);if(0!==(K&6))throw Error(p(327));c=a.finishedWork;var e=a.finishedLanes;if(null===c)return null;a.finishedWork=null;a.finishedLanes=0;if(c===a.current)throw Error(p(177));a.callbackNode=null;a.callbackPriority=0;var f=c.lanes|c.childLanes;Bc(a,f);a===R&&(Y=R=null,Z=0);0===(c.subtreeFlags&2064)&&0===(c.flags&2064)||wk||(wk=!0,Gk(hc,function(){Ik();return null}));f=0!==(c.flags&15990);if(0!==(c.subtreeFlags&15990)||f){f=pk.transition;pk.transition=null;\nvar g=C;C=1;var h=K;K|=4;ok.current=null;Pj(a,c);ek(c,a);Oe(Df);dd=!!Cf;Df=Cf=null;a.current=c;ik(c,a,e);dc();K=h;C=g;pk.transition=f}else a.current=c;wk&&(wk=!1,xk=a,yk=e);f=a.pendingLanes;0===f&&(Si=null);mc(c.stateNode,d);Ek(a,B());if(null!==b)for(d=a.onRecoverableError,c=0;c<b.length;c++)e=b[c],d(e.value,{componentStack:e.stack,digest:e.digest});if(Pi)throw Pi=!1,a=Qi,Qi=null,a;0!==(yk&1)&&0!==a.tag&&Ik();f=a.pendingLanes;0!==(f&1)?a===Ak?zk++:(zk=0,Ak=a):zk=0;jg();return null}\nfunction Ik(){if(null!==xk){var a=Dc(yk),b=pk.transition,c=C;try{pk.transition=null;C=16>a?16:a;if(null===xk)var d=!1;else{a=xk;xk=null;yk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;k<h.length;k++){var l=h[k];for(V=l;null!==V;){var m=V;switch(m.tag){case 0:case 11:case 15:Qj(8,m,f)}var q=m.child;if(null!==q)q.return=m,V=q;else for(;null!==V;){m=V;var r=m.sibling,y=m.return;Tj(m);if(m===\nl){V=null;break}if(null!==r){r.return=y;V=r;break}V=y}}}var n=f.alternate;if(null!==n){var t=n.child;if(null!==t){n.child=null;do{var J=t.sibling;t.sibling=null;t=J}while(null!==t)}}V=f}}if(0!==(f.subtreeFlags&2064)&&null!==g)g.return=f,V=g;else b:for(;null!==V;){f=V;if(0!==(f.flags&2048))switch(f.tag){case 0:case 11:case 15:Qj(9,f,f.return)}var x=f.sibling;if(null!==x){x.return=f.return;V=x;break b}V=f.return}}var w=a.current;for(V=w;null!==V;){g=V;var u=g.child;if(0!==(g.subtreeFlags&2064)&&null!==\nu)u.return=g,V=u;else b:for(g=w;null!==V;){h=V;if(0!==(h.flags&2048))try{switch(h.tag){case 0:case 11:case 15:Rj(9,h)}}catch(na){W(h,h.return,na)}if(h===g){V=null;break b}var F=h.sibling;if(null!==F){F.return=h.return;V=F;break b}V=h.return}}K=e;jg();if(lc&&\"function\"===typeof lc.onPostCommitFiberRoot)try{lc.onPostCommitFiberRoot(kc,a)}catch(na){}d=!0}return d}finally{C=c,pk.transition=b}}return!1}function Yk(a,b,c){b=Ki(c,b);b=Oi(a,b,1);a=dh(a,b,1);b=L();null!==a&&(Ac(a,1,b),Ek(a,b))}\nfunction W(a,b,c){if(3===a.tag)Yk(a,a,c);else for(;null!==b;){if(3===b.tag){Yk(b,a,c);break}else if(1===b.tag){var d=b.stateNode;if(\"function\"===typeof b.type.getDerivedStateFromError||\"function\"===typeof d.componentDidCatch&&(null===Si||!Si.has(d))){a=Ki(c,a);a=Ri(b,a,1);b=dh(b,a,1);a=L();null!==b&&(Ac(b,1,a),Ek(b,a));break}}b=b.return}}\nfunction Ui(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);b=L();a.pingedLanes|=a.suspendedLanes&c;R===a&&(Z&c)===c&&(4===T||3===T&&(Z&130023424)===Z&&500>B()-gk?Lk(a,0):sk|=c);Ek(a,b)}function Zk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=L();a=Zg(a,b);null!==a&&(Ac(a,b,c),Ek(a,c))}function vj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Zk(a,c)}\nfunction ck(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Zk(a,c)}var Wk;\nWk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)Ug=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return Ug=!1,zj(a,b,c);Ug=0!==(a.flags&131072)?!0:!1}else Ug=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;jj(a,b);a=b.pendingProps;var e=Yf(b,H.current);Tg(b,c);e=Xh(null,b,d,a,e,c);var f=bi();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ah(b),e.updater=nh,b.stateNode=e,e._reactInternals=b,rh(b,d,a,c),b=kj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Yi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{jj(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=$k(d);a=Lg(d,a);switch(e){case 0:b=dj(null,b,d,a,c);break a;case 1:b=ij(null,b,d,a,c);break a;case 11:b=Zi(null,b,d,a,c);break a;case 14:b=aj(null,b,d,Lg(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),dj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),ij(a,b,d,e,c);case 3:a:{lj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;bh(a,b);gh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ki(Error(p(423)),b);b=mj(a,b,d,c,e);break a}else if(d!==e){e=Ki(Error(p(424)),b);b=mj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Ch(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=$i(a,b,c);break a}Yi(a,b,d,c)}b=b.child}return b;case 5:return Kh(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\nhj(a,b),Yi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return pj(a,b,c);case 4:return Ih(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Bh(b,null,d,c):Yi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),Zi(a,b,d,e,c);case 7:return Yi(a,b,b.pendingProps,c),b.child;case 8:return Yi(a,b,b.pendingProps.children,c),b.child;case 12:return Yi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Mg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=$i(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=ch(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);Sg(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);Sg(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Yi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Tg(b,c),e=Vg(e),d=d(e),b.flags|=1,Yi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Lg(d,b.pendingProps),e=Lg(d.type,e),aj(a,b,d,e,c);case 15:return cj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),jj(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,Tg(b,c),ph(b,d,e),rh(b,d,e,c),kj(null,b,d,!0,a,c);case 19:return yj(a,b,c);case 22:return ej(a,b,c)}throw Error(p(156,b.tag));};function Gk(a,b){return ac(a,b)}\nfunction al(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new al(a,b,c,d)}function bj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction $k(a){if(\"function\"===typeof a)return bj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction wh(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction yh(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)bj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Ah(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return qj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Ah(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function qj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function xh(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction zh(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction bl(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function cl(a,b,c,d,e,f,g,h,k){a=new bl(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};ah(f);return a}function dl(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:wa,key:null==d?null:\"\"+d,children:a,containerInfo:b,implementation:c}}\nfunction el(a){if(!a)return Vf;a=a._reactInternals;a:{if(Vb(a)!==a||1!==a.tag)throw Error(p(170));var b=a;do{switch(b.tag){case 3:b=b.stateNode.context;break a;case 1:if(Zf(b.type)){b=b.stateNode.__reactInternalMemoizedMergedChildContext;break a}}b=b.return}while(null!==b);throw Error(p(171));}if(1===a.tag){var c=a.type;if(Zf(c))return bg(a,c,b)}return b}\nfunction fl(a,b,c,d,e,f,g,h,k){a=cl(c,d,!0,a,e,f,g,h,k);a.context=el(null);c=a.current;d=L();e=lh(c);f=ch(d,e);f.callback=void 0!==b&&null!==b?b:null;dh(c,f,e);a.current.lanes=e;Ac(a,e,d);Ek(a,d);return a}function gl(a,b,c,d){var e=b.current,f=L(),g=lh(e);c=el(c);null===b.context?b.context=c:b.pendingContext=c;b=ch(f,g);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);a=dh(e,b,g);null!==a&&(mh(a,e,g,f),eh(a,e,g));return g}\nfunction hl(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function il(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function jl(a,b){il(a,b);(a=a.alternate)&&il(a,b)}function kl(){return null}var ll=\"function\"===typeof reportError?reportError:function(a){console.error(a)};function ml(a){this._internalRoot=a}\nnl.prototype.render=ml.prototype.render=function(a){var b=this._internalRoot;if(null===b)throw Error(p(409));gl(a,b,null,null)};nl.prototype.unmount=ml.prototype.unmount=function(){var a=this._internalRoot;if(null!==a){this._internalRoot=null;var b=a.containerInfo;Sk(function(){gl(null,a,null,null)});b[uf]=null}};function nl(a){this._internalRoot=a}\nnl.prototype.unstable_scheduleHydration=function(a){if(a){var b=Hc();a={blockedOn:null,target:a,priority:b};for(var c=0;c<Qc.length&&0!==b&&b<Qc[c].priority;c++);Qc.splice(c,0,a);0===c&&Vc(a)}};function ol(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)}function pl(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||\" react-mount-point-unstable \"!==a.nodeValue))}function ql(){}\nfunction rl(a,b,c,d,e){if(e){if(\"function\"===typeof d){var f=d;d=function(){var a=hl(g);f.call(a)}}var g=fl(b,d,a,0,null,!1,!1,\"\",ql);a._reactRootContainer=g;a[uf]=g.current;sf(8===a.nodeType?a.parentNode:a);Sk();return g}for(;e=a.lastChild;)a.removeChild(e);if(\"function\"===typeof d){var h=d;d=function(){var a=hl(k);h.call(a)}}var k=cl(a,0,!1,null,null,!1,!1,\"\",ql);a._reactRootContainer=k;a[uf]=k.current;sf(8===a.nodeType?a.parentNode:a);Sk(function(){gl(b,k,c,d)});return k}\nfunction sl(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f;if(\"function\"===typeof e){var h=e;e=function(){var a=hl(g);h.call(a)}}gl(b,g,a,e)}else g=rl(c,b,a,e,d);return hl(g)}Ec=function(a){switch(a.tag){case 3:var b=a.stateNode;if(b.current.memoizedState.isDehydrated){var c=tc(b.pendingLanes);0!==c&&(Cc(b,c|1),Ek(b,B()),0===(K&6)&&(Hj=B()+500,jg()))}break;case 13:Sk(function(){var b=Zg(a,1);if(null!==b){var c=L();mh(b,a,1,c)}}),jl(a,1)}};\nFc=function(a){if(13===a.tag){var b=Zg(a,134217728);if(null!==b){var c=L();mh(b,a,134217728,c)}jl(a,134217728)}};Gc=function(a){if(13===a.tag){var b=lh(a),c=Zg(a,b);if(null!==c){var d=L();mh(c,a,b,d)}jl(a,b)}};Hc=function(){return C};Ic=function(a,b){var c=C;try{return C=a,b()}finally{C=c}};\nyb=function(a,b,c){switch(b){case \"input\":bb(a,c);b=c.name;if(\"radio\"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+b)+'][type=\"radio\"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Db(d);if(!e)throw Error(p(90));Wa(d);bb(d,e)}}}break;case \"textarea\":ib(a,c);break;case \"select\":b=c.value,null!=b&&fb(a,!!c.multiple,b,!1)}};Gb=Rk;Hb=Sk;\nvar tl={usingClientEntryPoint:!1,Events:[Cb,ue,Db,Eb,Fb,Rk]},ul={findFiberByHostInstance:Wc,bundleType:0,version:\"18.2.0\",rendererPackageName:\"react-dom\"};\nvar vl={bundleType:ul.bundleType,version:ul.version,rendererPackageName:ul.rendererPackageName,rendererConfig:ul.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ua.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Zb(a);return null===a?null:a.stateNode},findFiberByHostInstance:ul.findFiberByHostInstance||\nkl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:\"18.2.0-next-9e3b772b8-20220608\"};if(\"undefined\"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var wl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wl.isDisabled&&wl.supportsFiber)try{kc=wl.inject(vl),lc=wl}catch(a){}}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tl;\nexports.createPortal=function(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ol(b))throw Error(p(200));return dl(a,b,null,c)};exports.createRoot=function(a,b){if(!ol(a))throw Error(p(299));var c=!1,d=\"\",e=ll;null!==b&&void 0!==b&&(!0===b.unstable_strictMode&&(c=!0),void 0!==b.identifierPrefix&&(d=b.identifierPrefix),void 0!==b.onRecoverableError&&(e=b.onRecoverableError));b=cl(a,1,!1,null,null,c,!1,d,e);a[uf]=b.current;sf(8===a.nodeType?a.parentNode:a);return new ml(b)};\nexports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if(\"function\"===typeof a.render)throw Error(p(188));a=Object.keys(a).join(\",\");throw Error(p(268,a));}a=Zb(b);a=null===a?null:a.stateNode;return a};exports.flushSync=function(a){return Sk(a)};exports.hydrate=function(a,b,c){if(!pl(b))throw Error(p(200));return sl(null,a,b,!0,c)};\nexports.hydrateRoot=function(a,b,c){if(!ol(a))throw Error(p(405));var d=null!=c&&c.hydratedSources||null,e=!1,f=\"\",g=ll;null!==c&&void 0!==c&&(!0===c.unstable_strictMode&&(e=!0),void 0!==c.identifierPrefix&&(f=c.identifierPrefix),void 0!==c.onRecoverableError&&(g=c.onRecoverableError));b=fl(b,null,a,1,null!=c?c:null,e,!1,f,g);a[uf]=b.current;sf(a);if(d)for(a=0;a<d.length;a++)c=d[a],e=c._getVersion,e=e(c._source),null==b.mutableSourceEagerHydrationData?b.mutableSourceEagerHydrationData=[c,e]:b.mutableSourceEagerHydrationData.push(c,\ne);return new nl(b)};exports.render=function(a,b,c){if(!pl(b))throw Error(p(200));return sl(null,a,b,!1,c)};exports.unmountComponentAtNode=function(a){if(!pl(a))throw Error(p(40));return a._reactRootContainer?(Sk(function(){sl(null,null,a,!1,function(){a._reactRootContainer=null;a[uf]=null})}),!0):!1};exports.unstable_batchedUpdates=Rk;\nexports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!pl(c))throw Error(p(200));if(null==a||void 0===a._reactInternals)throw Error(p(38));return sl(a,b,c,!1,d)};exports.version=\"18.2.0-next-9e3b772b8-20220608\";\n","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n  exports.createRoot = m.createRoot;\n  exports.hydrateRoot = m.hydrateRoot;\n} else {\n  var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n  exports.createRoot = function(c, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.createRoot(c, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n  exports.hydrateRoot = function(c, h, o) {\n    i.usingClientEntryPoint = true;\n    try {\n      return m.hydrateRoot(c, h, o);\n    } finally {\n      i.usingClientEntryPoint = false;\n    }\n  };\n}\n","'use strict';\n\nfunction checkDCE() {\n  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n  if (\n    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n  ) {\n    return;\n  }\n  if (process.env.NODE_ENV !== 'production') {\n    // This branch is unreachable because this function is only called\n    // in production, but the condition is true only in development.\n    // Therefore if the branch is still here, dead code elimination wasn't\n    // properly applied.\n    // Don't change the message. React DevTools relies on it. Also make sure\n    // this message doesn't occur elsewhere in this function, or it will cause\n    // a false positive.\n    throw new Error('^_^');\n  }\n  try {\n    // Verify that the code above has been dead code eliminated (DCE'd).\n    __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n  } catch (err) {\n    // DevTools shouldn't crash React, no matter what.\n    // We should still report in case we break this code.\n    console.error(err);\n  }\n}\n\nif (process.env.NODE_ENV === 'production') {\n  // DCE check should happen before ReactDOM bundle executes so that\n  // DevTools can report bad minification during injection.\n  checkDCE();\n  module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n  module.exports = require('./cjs/react-dom.development.js');\n}\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-is.production.min.js');\n} else {\n  module.exports = require('./cjs/react-is.development.js');\n}\n","// Default to a dummy \"batch\" implementation that just runs the callback\nfunction defaultNoopBatch(callback) {\n  callback();\n}\n\nlet batch = defaultNoopBatch; // Allow injecting another batching function later\n\nexport const setBatch = newBatch => batch = newBatch; // Supply a getter just to skip dealing with ESM bindings\n\nexport const getBatch = () => batch;","import * as React from 'react';\nconst ContextKey = Symbol.for(`react-redux-context`);\nconst gT = typeof globalThis !== \"undefined\" ? globalThis :\n/* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */\n{};\n\nfunction getContext() {\n  var _gT$ContextKey;\n\n  if (!React.createContext) return {};\n  const contextMap = (_gT$ContextKey = gT[ContextKey]) != null ? _gT$ContextKey : gT[ContextKey] = new Map();\n  let realContext = contextMap.get(React.createContext);\n\n  if (!realContext) {\n    realContext = React.createContext(null);\n\n    if (process.env.NODE_ENV !== 'production') {\n      realContext.displayName = 'ReactRedux';\n    }\n\n    contextMap.set(React.createContext, realContext);\n  }\n\n  return realContext;\n}\n\nexport const ReactReduxContext = /*#__PURE__*/getContext();\nexport default ReactReduxContext;","import { useContext } from 'react';\nimport { ReactReduxContext } from '../components/Context';\n\n/**\r\n * Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level\r\n * hook that you should usually not need to call directly.\r\n *\r\n * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.\r\n * @returns {Function} A `useReduxContext` hook bound to the specified context.\r\n */\nexport function createReduxContextHook(context = ReactReduxContext) {\n  return function useReduxContext() {\n    const contextValue = useContext(context);\n\n    if (process.env.NODE_ENV !== 'production' && !contextValue) {\n      throw new Error('could not find react-redux context value; please ensure the component is wrapped in a <Provider>');\n    }\n\n    return contextValue;\n  };\n}\n/**\r\n * A hook to access the value of the `ReactReduxContext`. This is a low-level\r\n * hook that you should usually not need to call directly.\r\n *\r\n * @returns {any} the value of the `ReactReduxContext`\r\n *\r\n * @example\r\n *\r\n * import React from 'react'\r\n * import { useReduxContext } from 'react-redux'\r\n *\r\n * export const CounterComponent = () => {\r\n *   const { store } = useReduxContext()\r\n *   return <div>{store.getState()}</div>\r\n * }\r\n */\n\nexport const useReduxContext = /*#__PURE__*/createReduxContextHook();","export const notInitialized = () => {\n  throw new Error('uSES not initialized!');\n};","import { useCallback, useDebugValue, useRef } from 'react';\nimport { createReduxContextHook, useReduxContext as useDefaultReduxContext } from './useReduxContext';\nimport { ReactReduxContext } from '../components/Context';\nimport { notInitialized } from '../utils/useSyncExternalStore';\nlet useSyncExternalStoreWithSelector = notInitialized;\nexport const initializeUseSelector = fn => {\n  useSyncExternalStoreWithSelector = fn;\n};\n\nconst refEquality = (a, b) => a === b;\n/**\r\n * Hook factory, which creates a `useSelector` hook bound to a given context.\r\n *\r\n * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.\r\n * @returns {Function} A `useSelector` hook bound to the specified context.\r\n */\n\n\nexport function createSelectorHook(context = ReactReduxContext) {\n  const useReduxContext = context === ReactReduxContext ? useDefaultReduxContext : createReduxContextHook(context);\n  return function useSelector(selector, equalityFnOrOptions = {}) {\n    const {\n      equalityFn = refEquality,\n      stabilityCheck = undefined,\n      noopCheck = undefined\n    } = typeof equalityFnOrOptions === 'function' ? {\n      equalityFn: equalityFnOrOptions\n    } : equalityFnOrOptions;\n\n    if (process.env.NODE_ENV !== 'production') {\n      if (!selector) {\n        throw new Error(`You must pass a selector to useSelector`);\n      }\n\n      if (typeof selector !== 'function') {\n        throw new Error(`You must pass a function as a selector to useSelector`);\n      }\n\n      if (typeof equalityFn !== 'function') {\n        throw new Error(`You must pass a function as an equality function to useSelector`);\n      }\n    }\n\n    const {\n      store,\n      subscription,\n      getServerState,\n      stabilityCheck: globalStabilityCheck,\n      noopCheck: globalNoopCheck\n    } = useReduxContext();\n    const firstRun = useRef(true);\n    const wrappedSelector = useCallback({\n      [selector.name](state) {\n        const selected = selector(state);\n\n        if (process.env.NODE_ENV !== 'production') {\n          const finalStabilityCheck = typeof stabilityCheck === 'undefined' ? globalStabilityCheck : stabilityCheck;\n\n          if (finalStabilityCheck === 'always' || finalStabilityCheck === 'once' && firstRun.current) {\n            const toCompare = selector(state);\n\n            if (!equalityFn(selected, toCompare)) {\n              let stack = undefined;\n\n              try {\n                throw new Error();\n              } catch (e) {\n                ;\n                ({\n                  stack\n                } = e);\n              }\n\n              console.warn('Selector ' + (selector.name || 'unknown') + ' returned a different result when called with the same parameters. This can lead to unnecessary rerenders.' + '\\nSelectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization', {\n                state,\n                selected,\n                selected2: toCompare,\n                stack\n              });\n            }\n          }\n\n          const finalNoopCheck = typeof noopCheck === 'undefined' ? globalNoopCheck : noopCheck;\n\n          if (finalNoopCheck === 'always' || finalNoopCheck === 'once' && firstRun.current) {\n            // @ts-ignore\n            if (selected === state) {\n              let stack = undefined;\n\n              try {\n                throw new Error();\n              } catch (e) {\n                ;\n                ({\n                  stack\n                } = e);\n              }\n\n              console.warn('Selector ' + (selector.name || 'unknown') + ' returned the root state when called. This can lead to unnecessary rerenders.' + '\\nSelectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.', {\n                stack\n              });\n            }\n          }\n\n          if (firstRun.current) firstRun.current = false;\n        }\n\n        return selected;\n      }\n\n    }[selector.name], [selector, globalStabilityCheck, stabilityCheck]);\n    const selectedState = useSyncExternalStoreWithSelector(subscription.addNestedSub, store.getState, getServerState || store.getState, wrappedSelector, equalityFn);\n    useDebugValue(selectedState);\n    return selectedState;\n  };\n}\n/**\r\n * A hook to access the redux store's state. This hook takes a selector function\r\n * as an argument. The selector is called with the store state.\r\n *\r\n * This hook takes an optional equality comparison function as the second parameter\r\n * that allows you to customize the way the selected state is compared to determine\r\n * whether the component needs to be re-rendered.\r\n *\r\n * @param {Function} selector the selector function\r\n * @param {Function=} equalityFn the function that will be used to determine equality\r\n *\r\n * @returns {any} the selected state\r\n *\r\n * @example\r\n *\r\n * import React from 'react'\r\n * import { useSelector } from 'react-redux'\r\n *\r\n * export const CounterComponent = () => {\r\n *   const counter = useSelector(state => state.counter)\r\n *   return <div>{counter}</div>\r\n * }\r\n */\n\nexport const useSelector = /*#__PURE__*/createSelectorHook();","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"initMapStateToProps\", \"initMapDispatchToProps\", \"initMergeProps\"];\nimport verifySubselectors from './verifySubselectors';\nexport function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, {\n  areStatesEqual,\n  areOwnPropsEqual,\n  areStatePropsEqual\n}) {\n  let hasRunAtLeastOnce = false;\n  let state;\n  let ownProps;\n  let stateProps;\n  let dispatchProps;\n  let mergedProps;\n\n  function handleFirstCall(firstState, firstOwnProps) {\n    state = firstState;\n    ownProps = firstOwnProps;\n    stateProps = mapStateToProps(state, ownProps);\n    dispatchProps = mapDispatchToProps(dispatch, ownProps);\n    mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n    hasRunAtLeastOnce = true;\n    return mergedProps;\n  }\n\n  function handleNewPropsAndNewState() {\n    stateProps = mapStateToProps(state, ownProps);\n    if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps);\n    mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n    return mergedProps;\n  }\n\n  function handleNewProps() {\n    if (mapStateToProps.dependsOnOwnProps) stateProps = mapStateToProps(state, ownProps);\n    if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps);\n    mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n    return mergedProps;\n  }\n\n  function handleNewState() {\n    const nextStateProps = mapStateToProps(state, ownProps);\n    const statePropsChanged = !areStatePropsEqual(nextStateProps, stateProps);\n    stateProps = nextStateProps;\n    if (statePropsChanged) mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n    return mergedProps;\n  }\n\n  function handleSubsequentCalls(nextState, nextOwnProps) {\n    const propsChanged = !areOwnPropsEqual(nextOwnProps, ownProps);\n    const stateChanged = !areStatesEqual(nextState, state, nextOwnProps, ownProps);\n    state = nextState;\n    ownProps = nextOwnProps;\n    if (propsChanged && stateChanged) return handleNewPropsAndNewState();\n    if (propsChanged) return handleNewProps();\n    if (stateChanged) return handleNewState();\n    return mergedProps;\n  }\n\n  return function pureFinalPropsSelector(nextState, nextOwnProps) {\n    return hasRunAtLeastOnce ? handleSubsequentCalls(nextState, nextOwnProps) : handleFirstCall(nextState, nextOwnProps);\n  };\n}\n// TODO: Add more comments\n// The selector returned by selectorFactory will memoize its results,\n// allowing connect's shouldComponentUpdate to return false if final\n// props have not changed.\nexport default function finalPropsSelectorFactory(dispatch, _ref) {\n  let {\n    initMapStateToProps,\n    initMapDispatchToProps,\n    initMergeProps\n  } = _ref,\n      options = _objectWithoutPropertiesLoose(_ref, _excluded);\n\n  const mapStateToProps = initMapStateToProps(dispatch, options);\n  const mapDispatchToProps = initMapDispatchToProps(dispatch, options);\n  const mergeProps = initMergeProps(dispatch, options);\n\n  if (process.env.NODE_ENV !== 'production') {\n    verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps);\n  }\n\n  return pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);\n}","import verifyPlainObject from '../utils/verifyPlainObject';\nexport function wrapMapToPropsConstant( // * Note:\n//  It seems that the dispatch argument\n//  could be a dispatch function in some cases (ex: whenMapDispatchToPropsIsMissing)\n//  and a state object in some others (ex: whenMapStateToPropsIsMissing)\n// eslint-disable-next-line no-unused-vars\ngetConstant) {\n  return function initConstantSelector(dispatch) {\n    const constant = getConstant(dispatch);\n\n    function constantSelector() {\n      return constant;\n    }\n\n    constantSelector.dependsOnOwnProps = false;\n    return constantSelector;\n  };\n} // dependsOnOwnProps is used by createMapToPropsProxy to determine whether to pass props as args\n// to the mapToProps function being wrapped. It is also used by makePurePropsSelector to determine\n// whether mapToProps needs to be invoked when props have changed.\n//\n// A length of one signals that mapToProps does not depend on props from the parent component.\n// A length of zero is assumed to mean mapToProps is getting args via arguments or ...args and\n// therefore not reporting its length accurately..\n// TODO Can this get pulled out so that we can subscribe directly to the store if we don't need ownProps?\n\nexport function getDependsOnOwnProps(mapToProps) {\n  return mapToProps.dependsOnOwnProps ? Boolean(mapToProps.dependsOnOwnProps) : mapToProps.length !== 1;\n} // Used by whenMapStateToPropsIsFunction and whenMapDispatchToPropsIsFunction,\n// this function wraps mapToProps in a proxy function which does several things:\n//\n//  * Detects whether the mapToProps function being called depends on props, which\n//    is used by selectorFactory to decide if it should reinvoke on props changes.\n//\n//  * On first call, handles mapToProps if returns another function, and treats that\n//    new function as the true mapToProps for subsequent calls.\n//\n//  * On first call, verifies the first result is a plain object, in order to warn\n//    the developer that their mapToProps function is not returning a valid result.\n//\n\nexport function wrapMapToPropsFunc(mapToProps, methodName) {\n  return function initProxySelector(dispatch, {\n    displayName\n  }) {\n    const proxy = function mapToPropsProxy(stateOrDispatch, ownProps) {\n      return proxy.dependsOnOwnProps ? proxy.mapToProps(stateOrDispatch, ownProps) : proxy.mapToProps(stateOrDispatch, undefined);\n    }; // allow detectFactoryAndVerify to get ownProps\n\n\n    proxy.dependsOnOwnProps = true;\n\n    proxy.mapToProps = function detectFactoryAndVerify(stateOrDispatch, ownProps) {\n      proxy.mapToProps = mapToProps;\n      proxy.dependsOnOwnProps = getDependsOnOwnProps(mapToProps);\n      let props = proxy(stateOrDispatch, ownProps);\n\n      if (typeof props === 'function') {\n        proxy.mapToProps = props;\n        proxy.dependsOnOwnProps = getDependsOnOwnProps(props);\n        props = proxy(stateOrDispatch, ownProps);\n      }\n\n      if (process.env.NODE_ENV !== 'production') verifyPlainObject(props, displayName, methodName);\n      return props;\n    };\n\n    return proxy;\n  };\n}","export function createInvalidArgFactory(arg, name) {\n  return (dispatch, options) => {\n    throw new Error(`Invalid value of type ${typeof arg} for ${name} argument when connecting component ${options.wrappedComponentName}.`);\n  };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport verifyPlainObject from '../utils/verifyPlainObject';\nimport { createInvalidArgFactory } from './invalidArgFactory';\nexport function defaultMergeProps(stateProps, dispatchProps, ownProps) {\n  // @ts-ignore\n  return _extends({}, ownProps, stateProps, dispatchProps);\n}\nexport function wrapMergePropsFunc(mergeProps) {\n  return function initMergePropsProxy(dispatch, {\n    displayName,\n    areMergedPropsEqual\n  }) {\n    let hasRunOnce = false;\n    let mergedProps;\n    return function mergePropsProxy(stateProps, dispatchProps, ownProps) {\n      const nextMergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n\n      if (hasRunOnce) {\n        if (!areMergedPropsEqual(nextMergedProps, mergedProps)) mergedProps = nextMergedProps;\n      } else {\n        hasRunOnce = true;\n        mergedProps = nextMergedProps;\n        if (process.env.NODE_ENV !== 'production') verifyPlainObject(mergedProps, displayName, 'mergeProps');\n      }\n\n      return mergedProps;\n    };\n  };\n}\nexport function mergePropsFactory(mergeProps) {\n  return !mergeProps ? () => defaultMergeProps : typeof mergeProps === 'function' ? wrapMergePropsFunc(mergeProps) : createInvalidArgFactory(mergeProps, 'mergeProps');\n}","import { getBatch } from './batch'; // encapsulates the subscription logic for connecting a component to the redux store, as\n// well as nesting subscriptions of descendant components, so that we can ensure the\n// ancestor components re-render before descendants\n\nfunction createListenerCollection() {\n  const batch = getBatch();\n  let first = null;\n  let last = null;\n  return {\n    clear() {\n      first = null;\n      last = null;\n    },\n\n    notify() {\n      batch(() => {\n        let listener = first;\n\n        while (listener) {\n          listener.callback();\n          listener = listener.next;\n        }\n      });\n    },\n\n    get() {\n      let listeners = [];\n      let listener = first;\n\n      while (listener) {\n        listeners.push(listener);\n        listener = listener.next;\n      }\n\n      return listeners;\n    },\n\n    subscribe(callback) {\n      let isSubscribed = true;\n      let listener = last = {\n        callback,\n        next: null,\n        prev: last\n      };\n\n      if (listener.prev) {\n        listener.prev.next = listener;\n      } else {\n        first = listener;\n      }\n\n      return function unsubscribe() {\n        if (!isSubscribed || first === null) return;\n        isSubscribed = false;\n\n        if (listener.next) {\n          listener.next.prev = listener.prev;\n        } else {\n          last = listener.prev;\n        }\n\n        if (listener.prev) {\n          listener.prev.next = listener.next;\n        } else {\n          first = listener.next;\n        }\n      };\n    }\n\n  };\n}\n\nconst nullListeners = {\n  notify() {},\n\n  get: () => []\n};\nexport function createSubscription(store, parentSub) {\n  let unsubscribe;\n  let listeners = nullListeners; // Reasons to keep the subscription active\n\n  let subscriptionsAmount = 0; // Is this specific subscription subscribed (or only nested ones?)\n\n  let selfSubscribed = false;\n\n  function addNestedSub(listener) {\n    trySubscribe();\n    const cleanupListener = listeners.subscribe(listener); // cleanup nested sub\n\n    let removed = false;\n    return () => {\n      if (!removed) {\n        removed = true;\n        cleanupListener();\n        tryUnsubscribe();\n      }\n    };\n  }\n\n  function notifyNestedSubs() {\n    listeners.notify();\n  }\n\n  function handleChangeWrapper() {\n    if (subscription.onStateChange) {\n      subscription.onStateChange();\n    }\n  }\n\n  function isSubscribed() {\n    return selfSubscribed;\n  }\n\n  function trySubscribe() {\n    subscriptionsAmount++;\n\n    if (!unsubscribe) {\n      unsubscribe = parentSub ? parentSub.addNestedSub(handleChangeWrapper) : store.subscribe(handleChangeWrapper);\n      listeners = createListenerCollection();\n    }\n  }\n\n  function tryUnsubscribe() {\n    subscriptionsAmount--;\n\n    if (unsubscribe && subscriptionsAmount === 0) {\n      unsubscribe();\n      unsubscribe = undefined;\n      listeners.clear();\n      listeners = nullListeners;\n    }\n  }\n\n  function trySubscribeSelf() {\n    if (!selfSubscribed) {\n      selfSubscribed = true;\n      trySubscribe();\n    }\n  }\n\n  function tryUnsubscribeSelf() {\n    if (selfSubscribed) {\n      selfSubscribed = false;\n      tryUnsubscribe();\n    }\n  }\n\n  const subscription = {\n    addNestedSub,\n    notifyNestedSubs,\n    handleChangeWrapper,\n    isSubscribed,\n    trySubscribe: trySubscribeSelf,\n    tryUnsubscribe: tryUnsubscribeSelf,\n    getListeners: () => listeners\n  };\n  return subscription;\n}","import * as React from 'react'; // React currently throws a warning when using useLayoutEffect on the server.\n// To get around it, we can conditionally useEffect on the server (no-op) and\n// useLayoutEffect in the browser. We need useLayoutEffect to ensure the store\n// subscription callback always has the selector from the latest render commit\n// available, otherwise a store update may happen between render and the effect,\n// which may cause missed updates; we also must ensure the store subscription\n// is created synchronously, otherwise a store update may occur before the\n// subscription is created and an inconsistent state may be observed\n// Matches logic in React's `shared/ExecutionEnvironment` file\n\nexport const canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');\nexport const useIsomorphicLayoutEffect = canUseDOM ? React.useLayoutEffect : React.useEffect;","function is(x, y) {\n  if (x === y) {\n    return x !== 0 || y !== 0 || 1 / x === 1 / y;\n  } else {\n    return x !== x && y !== y;\n  }\n}\n\nexport default function shallowEqual(objA, objB) {\n  if (is(objA, objB)) return true;\n\n  if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n    return false;\n  }\n\n  const keysA = Object.keys(objA);\n  const keysB = Object.keys(objB);\n  if (keysA.length !== keysB.length) return false;\n\n  for (let i = 0; i < keysA.length; i++) {\n    if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n      return false;\n    }\n  }\n\n  return true;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"reactReduxForwardedRef\"];\n\n/* eslint-disable valid-jsdoc, @typescript-eslint/no-unused-vars */\nimport hoistStatics from 'hoist-non-react-statics';\nimport * as React from 'react';\nimport { isValidElementType, isContextConsumer } from 'react-is';\nimport defaultSelectorFactory from '../connect/selectorFactory';\nimport { mapDispatchToPropsFactory } from '../connect/mapDispatchToProps';\nimport { mapStateToPropsFactory } from '../connect/mapStateToProps';\nimport { mergePropsFactory } from '../connect/mergeProps';\nimport { createSubscription } from '../utils/Subscription';\nimport { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect';\nimport shallowEqual from '../utils/shallowEqual';\nimport warning from '../utils/warning';\nimport { ReactReduxContext } from './Context';\nimport { notInitialized } from '../utils/useSyncExternalStore';\nlet useSyncExternalStore = notInitialized;\nexport const initializeConnect = fn => {\n  useSyncExternalStore = fn;\n}; // Define some constant arrays just to avoid re-creating these\n\nconst EMPTY_ARRAY = [null, 0];\nconst NO_SUBSCRIPTION_ARRAY = [null, null]; // Attempts to stringify whatever not-really-a-component value we were given\n// for logging in an error message\n\nconst stringifyComponent = Comp => {\n  try {\n    return JSON.stringify(Comp);\n  } catch (err) {\n    return String(Comp);\n  }\n};\n\n// This is \"just\" a `useLayoutEffect`, but with two modifications:\n// - we need to fall back to `useEffect` in SSR to avoid annoying warnings\n// - we extract this to a separate function to avoid closing over values\n//   and causing memory leaks\nfunction useIsomorphicLayoutEffectWithArgs(effectFunc, effectArgs, dependencies) {\n  useIsomorphicLayoutEffect(() => effectFunc(...effectArgs), dependencies);\n} // Effect callback, extracted: assign the latest props values to refs for later usage\n\n\nfunction captureWrapperProps(lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, // actualChildProps: unknown,\nchildPropsFromStoreUpdate, notifyNestedSubs) {\n  // We want to capture the wrapper props and child props we used for later comparisons\n  lastWrapperProps.current = wrapperProps;\n  renderIsScheduled.current = false; // If the render was from a store update, clear out that reference and cascade the subscriber update\n\n  if (childPropsFromStoreUpdate.current) {\n    childPropsFromStoreUpdate.current = null;\n    notifyNestedSubs();\n  }\n} // Effect callback, extracted: subscribe to the Redux store or nearest connected ancestor,\n// check for updates after dispatched actions, and trigger re-renders.\n\n\nfunction subscribeUpdates(shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, isMounted, childPropsFromStoreUpdate, notifyNestedSubs, // forceComponentUpdateDispatch: React.Dispatch<any>,\nadditionalSubscribeListener) {\n  // If we're not subscribed to the store, nothing to do here\n  if (!shouldHandleStateChanges) return () => {}; // Capture values for checking if and when this component unmounts\n\n  let didUnsubscribe = false;\n  let lastThrownError = null; // We'll run this callback every time a store subscription update propagates to this component\n\n  const checkForUpdates = () => {\n    if (didUnsubscribe || !isMounted.current) {\n      // Don't run stale listeners.\n      // Redux doesn't guarantee unsubscriptions happen until next dispatch.\n      return;\n    } // TODO We're currently calling getState ourselves here, rather than letting `uSES` do it\n\n\n    const latestStoreState = store.getState();\n    let newChildProps, error;\n\n    try {\n      // Actually run the selector with the most recent store state and wrapper props\n      // to determine what the child props should be\n      newChildProps = childPropsSelector(latestStoreState, lastWrapperProps.current);\n    } catch (e) {\n      error = e;\n      lastThrownError = e;\n    }\n\n    if (!error) {\n      lastThrownError = null;\n    } // If the child props haven't changed, nothing to do here - cascade the subscription update\n\n\n    if (newChildProps === lastChildProps.current) {\n      if (!renderIsScheduled.current) {\n        notifyNestedSubs();\n      }\n    } else {\n      // Save references to the new child props.  Note that we track the \"child props from store update\"\n      // as a ref instead of a useState/useReducer because we need a way to determine if that value has\n      // been processed.  If this went into useState/useReducer, we couldn't clear out the value without\n      // forcing another re-render, which we don't want.\n      lastChildProps.current = newChildProps;\n      childPropsFromStoreUpdate.current = newChildProps;\n      renderIsScheduled.current = true; // TODO This is hacky and not how `uSES` is meant to be used\n      // Trigger the React `useSyncExternalStore` subscriber\n\n      additionalSubscribeListener();\n    }\n  }; // Actually subscribe to the nearest connected ancestor (or store)\n\n\n  subscription.onStateChange = checkForUpdates;\n  subscription.trySubscribe(); // Pull data from the store after first render in case the store has\n  // changed since we began.\n\n  checkForUpdates();\n\n  const unsubscribeWrapper = () => {\n    didUnsubscribe = true;\n    subscription.tryUnsubscribe();\n    subscription.onStateChange = null;\n\n    if (lastThrownError) {\n      // It's possible that we caught an error due to a bad mapState function, but the\n      // parent re-rendered without this component and we're about to unmount.\n      // This shouldn't happen as long as we do top-down subscriptions correctly, but\n      // if we ever do those wrong, this throw will surface the error in our tests.\n      // In that case, throw the error from here so it doesn't get lost.\n      throw lastThrownError;\n    }\n  };\n\n  return unsubscribeWrapper;\n} // Reducer initial state creation for our update reducer\n\n\nconst initStateUpdates = () => EMPTY_ARRAY;\n\nfunction strictEqual(a, b) {\n  return a === b;\n}\n/**\r\n * Infers the type of props that a connector will inject into a component.\r\n */\n\n\nlet hasWarnedAboutDeprecatedPureOption = false;\n/**\r\n * Connects a React component to a Redux store.\r\n *\r\n * - Without arguments, just wraps the component, without changing the behavior / props\r\n *\r\n * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior\r\n * is to override ownProps (as stated in the docs), so what remains is everything that's\r\n * not a state or dispatch prop\r\n *\r\n * - When 3rd param is passed, we don't know if ownProps propagate and whether they\r\n * should be valid component props, because it depends on mergeProps implementation.\r\n * As such, it is the user's responsibility to extend ownProps interface from state or\r\n * dispatch props or both when applicable\r\n *\r\n * @param mapStateToProps A function that extracts values from state\r\n * @param mapDispatchToProps Setup for dispatching actions\r\n * @param mergeProps Optional callback to merge state and dispatch props together\r\n * @param options Options for configuring the connection\r\n *\r\n */\n\nfunction connect(mapStateToProps, mapDispatchToProps, mergeProps, {\n  // The `pure` option has been removed, so TS doesn't like us destructuring this to check its existence.\n  // @ts-ignore\n  pure,\n  areStatesEqual = strictEqual,\n  areOwnPropsEqual = shallowEqual,\n  areStatePropsEqual = shallowEqual,\n  areMergedPropsEqual = shallowEqual,\n  // use React's forwardRef to expose a ref of the wrapped component\n  forwardRef = false,\n  // the context consumer to use\n  context = ReactReduxContext\n} = {}) {\n  if (process.env.NODE_ENV !== 'production') {\n    if (pure !== undefined && !hasWarnedAboutDeprecatedPureOption) {\n      hasWarnedAboutDeprecatedPureOption = true;\n      warning('The `pure` option has been removed. `connect` is now always a \"pure/memoized\" component');\n    }\n  }\n\n  const Context = context;\n  const initMapStateToProps = mapStateToPropsFactory(mapStateToProps);\n  const initMapDispatchToProps = mapDispatchToPropsFactory(mapDispatchToProps);\n  const initMergeProps = mergePropsFactory(mergeProps);\n  const shouldHandleStateChanges = Boolean(mapStateToProps);\n\n  const wrapWithConnect = WrappedComponent => {\n    if (process.env.NODE_ENV !== 'production' && !isValidElementType(WrappedComponent)) {\n      throw new Error(`You must pass a component to the function returned by connect. Instead received ${stringifyComponent(WrappedComponent)}`);\n    }\n\n    const wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';\n    const displayName = `Connect(${wrappedComponentName})`;\n    const selectorFactoryOptions = {\n      shouldHandleStateChanges,\n      displayName,\n      wrappedComponentName,\n      WrappedComponent,\n      // @ts-ignore\n      initMapStateToProps,\n      // @ts-ignore\n      initMapDispatchToProps,\n      initMergeProps,\n      areStatesEqual,\n      areStatePropsEqual,\n      areOwnPropsEqual,\n      areMergedPropsEqual\n    };\n\n    function ConnectFunction(props) {\n      const [propsContext, reactReduxForwardedRef, wrapperProps] = React.useMemo(() => {\n        // Distinguish between actual \"data\" props that were passed to the wrapper component,\n        // and values needed to control behavior (forwarded refs, alternate context instances).\n        // To maintain the wrapperProps object reference, memoize this destructuring.\n        const {\n          reactReduxForwardedRef\n        } = props,\n              wrapperProps = _objectWithoutPropertiesLoose(props, _excluded);\n\n        return [props.context, reactReduxForwardedRef, wrapperProps];\n      }, [props]);\n      const ContextToUse = React.useMemo(() => {\n        // Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.\n        // Memoize the check that determines which context instance we should use.\n        return propsContext && propsContext.Consumer && // @ts-ignore\n        isContextConsumer( /*#__PURE__*/React.createElement(propsContext.Consumer, null)) ? propsContext : Context;\n      }, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available\n\n      const contextValue = React.useContext(ContextToUse); // The store _must_ exist as either a prop or in context.\n      // We'll check to see if it _looks_ like a Redux store first.\n      // This allows us to pass through a `store` prop that is just a plain value.\n\n      const didStoreComeFromProps = Boolean(props.store) && Boolean(props.store.getState) && Boolean(props.store.dispatch);\n      const didStoreComeFromContext = Boolean(contextValue) && Boolean(contextValue.store);\n\n      if (process.env.NODE_ENV !== 'production' && !didStoreComeFromProps && !didStoreComeFromContext) {\n        throw new Error(`Could not find \"store\" in the context of ` + `\"${displayName}\". Either wrap the root component in a <Provider>, ` + `or pass a custom React context provider to <Provider> and the corresponding ` + `React context consumer to ${displayName} in connect options.`);\n      } // Based on the previous check, one of these must be true\n\n\n      const store = didStoreComeFromProps ? props.store : contextValue.store;\n      const getServerState = didStoreComeFromContext ? contextValue.getServerState : store.getState;\n      const childPropsSelector = React.useMemo(() => {\n        // The child props selector needs the store reference as an input.\n        // Re-create this selector whenever the store changes.\n        return defaultSelectorFactory(store.dispatch, selectorFactoryOptions);\n      }, [store]);\n      const [subscription, notifyNestedSubs] = React.useMemo(() => {\n        if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component\n        // connected to the store via props shouldn't use subscription from context, or vice versa.\n\n        const subscription = createSubscription(store, didStoreComeFromProps ? undefined : contextValue.subscription); // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in\n        // the middle of the notification loop, where `subscription` will then be null. This can\n        // probably be avoided if Subscription's listeners logic is changed to not call listeners\n        // that have been unsubscribed in the  middle of the notification loop.\n\n        const notifyNestedSubs = subscription.notifyNestedSubs.bind(subscription);\n        return [subscription, notifyNestedSubs];\n      }, [store, didStoreComeFromProps, contextValue]); // Determine what {store, subscription} value should be put into nested context, if necessary,\n      // and memoize that value to avoid unnecessary context updates.\n\n      const overriddenContextValue = React.useMemo(() => {\n        if (didStoreComeFromProps) {\n          // This component is directly subscribed to a store from props.\n          // We don't want descendants reading from this store - pass down whatever\n          // the existing context value is from the nearest connected ancestor.\n          return contextValue;\n        } // Otherwise, put this component's subscription instance into context, so that\n        // connected descendants won't update until after this component is done\n\n\n        return _extends({}, contextValue, {\n          subscription\n        });\n      }, [didStoreComeFromProps, contextValue, subscription]); // Set up refs to coordinate values between the subscription effect and the render logic\n\n      const lastChildProps = React.useRef();\n      const lastWrapperProps = React.useRef(wrapperProps);\n      const childPropsFromStoreUpdate = React.useRef();\n      const renderIsScheduled = React.useRef(false);\n      const isProcessingDispatch = React.useRef(false);\n      const isMounted = React.useRef(false);\n      const latestSubscriptionCallbackError = React.useRef();\n      useIsomorphicLayoutEffect(() => {\n        isMounted.current = true;\n        return () => {\n          isMounted.current = false;\n        };\n      }, []);\n      const actualChildPropsSelector = React.useMemo(() => {\n        const selector = () => {\n          // Tricky logic here:\n          // - This render may have been triggered by a Redux store update that produced new child props\n          // - However, we may have gotten new wrapper props after that\n          // If we have new child props, and the same wrapper props, we know we should use the new child props as-is.\n          // But, if we have new wrapper props, those might change the child props, so we have to recalculate things.\n          // So, we'll use the child props from store update only if the wrapper props are the same as last time.\n          if (childPropsFromStoreUpdate.current && wrapperProps === lastWrapperProps.current) {\n            return childPropsFromStoreUpdate.current;\n          } // TODO We're reading the store directly in render() here. Bad idea?\n          // This will likely cause Bad Things (TM) to happen in Concurrent Mode.\n          // Note that we do this because on renders _not_ caused by store updates, we need the latest store state\n          // to determine what the child props should be.\n\n\n          return childPropsSelector(store.getState(), wrapperProps);\n        };\n\n        return selector;\n      }, [store, wrapperProps]); // We need this to execute synchronously every time we re-render. However, React warns\n      // about useLayoutEffect in SSR, so we try to detect environment and fall back to\n      // just useEffect instead to avoid the warning, since neither will run anyway.\n\n      const subscribeForReact = React.useMemo(() => {\n        const subscribe = reactListener => {\n          if (!subscription) {\n            return () => {};\n          }\n\n          return subscribeUpdates(shouldHandleStateChanges, store, subscription, // @ts-ignore\n          childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, isMounted, childPropsFromStoreUpdate, notifyNestedSubs, reactListener);\n        };\n\n        return subscribe;\n      }, [subscription]);\n      useIsomorphicLayoutEffectWithArgs(captureWrapperProps, [lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, childPropsFromStoreUpdate, notifyNestedSubs]);\n      let actualChildProps;\n\n      try {\n        actualChildProps = useSyncExternalStore( // TODO We're passing through a big wrapper that does a bunch of extra side effects besides subscribing\n        subscribeForReact, // TODO This is incredibly hacky. We've already processed the store update and calculated new child props,\n        // TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`.\n        actualChildPropsSelector, getServerState ? () => childPropsSelector(getServerState(), wrapperProps) : actualChildPropsSelector);\n      } catch (err) {\n        if (latestSubscriptionCallbackError.current) {\n          ;\n          err.message += `\\nThe error may be correlated with this previous error:\\n${latestSubscriptionCallbackError.current.stack}\\n\\n`;\n        }\n\n        throw err;\n      }\n\n      useIsomorphicLayoutEffect(() => {\n        latestSubscriptionCallbackError.current = undefined;\n        childPropsFromStoreUpdate.current = undefined;\n        lastChildProps.current = actualChildProps;\n      }); // Now that all that's done, we can finally try to actually render the child component.\n      // We memoize the elements for the rendered child component as an optimization.\n\n      const renderedWrappedComponent = React.useMemo(() => {\n        return (\n          /*#__PURE__*/\n          // @ts-ignore\n          React.createElement(WrappedComponent, _extends({}, actualChildProps, {\n            ref: reactReduxForwardedRef\n          }))\n        );\n      }, [reactReduxForwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering\n      // that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate.\n\n      const renderedChild = React.useMemo(() => {\n        if (shouldHandleStateChanges) {\n          // If this component is subscribed to store updates, we need to pass its own\n          // subscription instance down to our descendants. That means rendering the same\n          // Context instance, and putting a different value into the context.\n          return /*#__PURE__*/React.createElement(ContextToUse.Provider, {\n            value: overriddenContextValue\n          }, renderedWrappedComponent);\n        }\n\n        return renderedWrappedComponent;\n      }, [ContextToUse, renderedWrappedComponent, overriddenContextValue]);\n      return renderedChild;\n    }\n\n    const _Connect = React.memo(ConnectFunction);\n\n    // Add a hacky cast to get the right output type\n    const Connect = _Connect;\n    Connect.WrappedComponent = WrappedComponent;\n    Connect.displayName = ConnectFunction.displayName = displayName;\n\n    if (forwardRef) {\n      const _forwarded = React.forwardRef(function forwardConnectRef(props, ref) {\n        // @ts-ignore\n        return /*#__PURE__*/React.createElement(Connect, _extends({}, props, {\n          reactReduxForwardedRef: ref\n        }));\n      });\n\n      const forwarded = _forwarded;\n      forwarded.displayName = displayName;\n      forwarded.WrappedComponent = WrappedComponent;\n      return hoistStatics(forwarded, WrappedComponent);\n    }\n\n    return hoistStatics(Connect, WrappedComponent);\n  };\n\n  return wrapWithConnect;\n}\n\nexport default connect;","import { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';\nimport { createInvalidArgFactory } from './invalidArgFactory';\nexport function mapStateToPropsFactory(mapStateToProps) {\n  return !mapStateToProps ? wrapMapToPropsConstant(() => ({})) : typeof mapStateToProps === 'function' ? // @ts-ignore\n  wrapMapToPropsFunc(mapStateToProps, 'mapStateToProps') : createInvalidArgFactory(mapStateToProps, 'mapStateToProps');\n}","import bindActionCreators from '../utils/bindActionCreators';\nimport { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';\nimport { createInvalidArgFactory } from './invalidArgFactory';\nexport function mapDispatchToPropsFactory(mapDispatchToProps) {\n  return mapDispatchToProps && typeof mapDispatchToProps === 'object' ? wrapMapToPropsConstant(dispatch => // @ts-ignore\n  bindActionCreators(mapDispatchToProps, dispatch)) : !mapDispatchToProps ? wrapMapToPropsConstant(dispatch => ({\n    dispatch\n  })) : typeof mapDispatchToProps === 'function' ? // @ts-ignore\n  wrapMapToPropsFunc(mapDispatchToProps, 'mapDispatchToProps') : createInvalidArgFactory(mapDispatchToProps, 'mapDispatchToProps');\n}","export default function bindActionCreators(actionCreators, dispatch) {\n  const boundActionCreators = {};\n\n  for (const key in actionCreators) {\n    const actionCreator = actionCreators[key];\n\n    if (typeof actionCreator === 'function') {\n      boundActionCreators[key] = (...args) => dispatch(actionCreator(...args));\n    }\n  }\n\n  return boundActionCreators;\n}","import * as React from 'react';\nimport { ReactReduxContext } from './Context';\nimport { createSubscription } from '../utils/Subscription';\nimport { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect';\n\nfunction Provider({\n  store,\n  context,\n  children,\n  serverState,\n  stabilityCheck = 'once',\n  noopCheck = 'once'\n}) {\n  const contextValue = React.useMemo(() => {\n    const subscription = createSubscription(store);\n    return {\n      store,\n      subscription,\n      getServerState: serverState ? () => serverState : undefined,\n      stabilityCheck,\n      noopCheck\n    };\n  }, [store, serverState, stabilityCheck, noopCheck]);\n  const previousState = React.useMemo(() => store.getState(), [store]);\n  useIsomorphicLayoutEffect(() => {\n    const {\n      subscription\n    } = contextValue;\n    subscription.onStateChange = subscription.notifyNestedSubs;\n    subscription.trySubscribe();\n\n    if (previousState !== store.getState()) {\n      subscription.notifyNestedSubs();\n    }\n\n    return () => {\n      subscription.tryUnsubscribe();\n      subscription.onStateChange = undefined;\n    };\n  }, [contextValue, previousState]);\n  const Context = context || ReactReduxContext; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype\n\n  return /*#__PURE__*/React.createElement(Context.Provider, {\n    value: contextValue\n  }, children);\n}\n\nexport default Provider;","import { ReactReduxContext } from '../components/Context';\nimport { useReduxContext as useDefaultReduxContext, createReduxContextHook } from './useReduxContext';\n/**\r\n * Hook factory, which creates a `useStore` hook bound to a given context.\r\n *\r\n * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.\r\n * @returns {Function} A `useStore` hook bound to the specified context.\r\n */\n\nexport function createStoreHook(context = ReactReduxContext) {\n  const useReduxContext = // @ts-ignore\n  context === ReactReduxContext ? useDefaultReduxContext : // @ts-ignore\n  createReduxContextHook(context);\n  return function useStore() {\n    const {\n      store\n    } = useReduxContext(); // @ts-ignore\n\n    return store;\n  };\n}\n/**\r\n * A hook to access the redux store.\r\n *\r\n * @returns {any} the redux store\r\n *\r\n * @example\r\n *\r\n * import React from 'react'\r\n * import { useStore } from 'react-redux'\r\n *\r\n * export const ExampleComponent = () => {\r\n *   const store = useStore()\r\n *   return <div>{store.getState()}</div>\r\n * }\r\n */\n\nexport const useStore = /*#__PURE__*/createStoreHook();","import { ReactReduxContext } from '../components/Context';\nimport { useStore as useDefaultStore, createStoreHook } from './useStore';\n/**\r\n * Hook factory, which creates a `useDispatch` hook bound to a given context.\r\n *\r\n * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.\r\n * @returns {Function} A `useDispatch` hook bound to the specified context.\r\n */\n\nexport function createDispatchHook(context = ReactReduxContext) {\n  const useStore = // @ts-ignore\n  context === ReactReduxContext ? useDefaultStore : createStoreHook(context);\n  return function useDispatch() {\n    const store = useStore(); // @ts-ignore\n\n    return store.dispatch;\n  };\n}\n/**\r\n * A hook to access the redux `dispatch` function.\r\n *\r\n * @returns {any|function} redux store's `dispatch` function\r\n *\r\n * @example\r\n *\r\n * import React, { useCallback } from 'react'\r\n * import { useDispatch } from 'react-redux'\r\n *\r\n * export const CounterComponent = ({ value }) => {\r\n *   const dispatch = useDispatch()\r\n *   const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])\r\n *   return (\r\n *     <div>\r\n *       <span>{value}</span>\r\n *       <button onClick={increaseCounter}>Increase counter</button>\r\n *     </div>\r\n *   )\r\n * }\r\n */\n\nexport const useDispatch = /*#__PURE__*/createDispatchHook();","// The primary entry point assumes we're working with standard ReactDOM/RN, but\n// older versions that do not include `useSyncExternalStore` (React 16.9 - 17.x).\n// Because of that, the useSyncExternalStore compat shim is needed.\nimport { useSyncExternalStore } from 'use-sync-external-store/shim';\nimport { useSyncExternalStoreWithSelector } from 'use-sync-external-store/shim/with-selector';\nimport { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates';\nimport { setBatch } from './utils/batch';\nimport { initializeUseSelector } from './hooks/useSelector';\nimport { initializeConnect } from './components/connect';\ninitializeUseSelector(useSyncExternalStoreWithSelector);\ninitializeConnect(useSyncExternalStore); // Enable batched updates in our subscriptions for use\n// with standard React renderers (ReactDOM, React Native)\n\nsetBatch(batch);\nexport { batch };\nexport * from './exports';","/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\nfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;\nexports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};\nexports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-is.production.min.js');\n} else {\n  module.exports = require('./cjs/react-is.development.js');\n}\n","/* eslint-disable no-var, prefer-template */\nvar uppercasePattern = /[A-Z]/g\nvar msPattern = /^ms-/\nvar cache = {}\n\nfunction toHyphenLower(match) {\n  return '-' + match.toLowerCase()\n}\n\nfunction hyphenateStyleName(name) {\n  if (cache.hasOwnProperty(name)) {\n    return cache[name]\n  }\n\n  var hName = name.replace(uppercasePattern, toHyphenLower)\n  return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)\n}\n\nexport default hyphenateStyleName\n","import { createContext, useRef, useEffect, useContext, useState } from 'react';\nimport matchMedia from 'matchmediaquery';\nimport hyphenate from 'hyphenate-style-name';\nimport { shallowEqualObjects } from 'shallow-equal';\nimport PropTypes from 'prop-types';\n\nconst stringOrNumber = PropTypes.oneOfType([PropTypes.string, PropTypes.number]);\n// media types\nconst types = {\n    all: PropTypes.bool,\n    grid: PropTypes.bool,\n    aural: PropTypes.bool,\n    braille: PropTypes.bool,\n    handheld: PropTypes.bool,\n    print: PropTypes.bool,\n    projection: PropTypes.bool,\n    screen: PropTypes.bool,\n    tty: PropTypes.bool,\n    tv: PropTypes.bool,\n    embossed: PropTypes.bool\n};\n// properties that match media queries\nconst matchers = {\n    orientation: PropTypes.oneOf(['portrait', 'landscape']),\n    scan: PropTypes.oneOf(['progressive', 'interlace']),\n    aspectRatio: PropTypes.string,\n    deviceAspectRatio: PropTypes.string,\n    height: stringOrNumber,\n    deviceHeight: stringOrNumber,\n    width: stringOrNumber,\n    deviceWidth: stringOrNumber,\n    color: PropTypes.bool,\n    colorIndex: PropTypes.bool,\n    monochrome: PropTypes.bool,\n    resolution: stringOrNumber,\n    type: Object.keys(types)\n};\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst { type, ...featureMatchers } = matchers;\n// media features\nconst features = {\n    minAspectRatio: PropTypes.string,\n    maxAspectRatio: PropTypes.string,\n    minDeviceAspectRatio: PropTypes.string,\n    maxDeviceAspectRatio: PropTypes.string,\n    minHeight: stringOrNumber,\n    maxHeight: stringOrNumber,\n    minDeviceHeight: stringOrNumber,\n    maxDeviceHeight: stringOrNumber,\n    minWidth: stringOrNumber,\n    maxWidth: stringOrNumber,\n    minDeviceWidth: stringOrNumber,\n    maxDeviceWidth: stringOrNumber,\n    minColor: PropTypes.number,\n    maxColor: PropTypes.number,\n    minColorIndex: PropTypes.number,\n    maxColorIndex: PropTypes.number,\n    minMonochrome: PropTypes.number,\n    maxMonochrome: PropTypes.number,\n    minResolution: stringOrNumber,\n    maxResolution: stringOrNumber,\n    ...featureMatchers\n};\nconst all = { ...types, ...features };\nvar mq = {\n    all: all,\n    types: types,\n    matchers: matchers,\n    features: features\n};\n\nconst negate = (cond) => `not ${cond}`;\nconst keyVal = (k, v) => {\n    const realKey = hyphenate(k);\n    // px shorthand\n    if (typeof v === 'number') {\n        v = `${v}px`;\n    }\n    if (v === true) {\n        return realKey;\n    }\n    if (v === false) {\n        return negate(realKey);\n    }\n    return `(${realKey}: ${v})`;\n};\nconst join = (conds) => conds.join(' and ');\nconst toQuery = (obj) => {\n    const rules = [];\n    Object.keys(mq.all).forEach((k) => {\n        const v = obj[k];\n        if (v != null) {\n            rules.push(keyVal(k, v));\n        }\n    });\n    return join(rules);\n};\n\nconst Context = createContext(undefined);\n\nconst makeQuery = (settings) => settings.query || toQuery(settings);\nconst hyphenateKeys = (obj) => {\n    if (!obj)\n        return undefined;\n    const keys = Object.keys(obj);\n    return keys.reduce((result, key) => {\n        result[hyphenate(key)] = obj[key];\n        return result;\n    }, {});\n};\nconst useIsUpdate = () => {\n    const ref = useRef(false);\n    useEffect(() => {\n        ref.current = true;\n    }, []);\n    return ref.current;\n};\nconst useDevice = (deviceFromProps) => {\n    const deviceFromContext = useContext(Context);\n    const getDevice = () => hyphenateKeys(deviceFromProps) || hyphenateKeys(deviceFromContext);\n    const [device, setDevice] = useState(getDevice);\n    useEffect(() => {\n        const newDevice = getDevice();\n        if (!shallowEqualObjects(device, newDevice)) {\n            setDevice(newDevice);\n        }\n    }, [deviceFromProps, deviceFromContext]);\n    return device;\n};\nconst useQuery = (settings) => {\n    const getQuery = () => makeQuery(settings);\n    const [query, setQuery] = useState(getQuery);\n    useEffect(() => {\n        const newQuery = getQuery();\n        if (query !== newQuery) {\n            setQuery(newQuery);\n        }\n    }, [settings]);\n    return query;\n};\nconst useMatchMedia = (query, device) => {\n    const getMatchMedia = () => matchMedia(query, device || {}, !!device);\n    const [mq, setMq] = useState(getMatchMedia);\n    const isUpdate = useIsUpdate();\n    useEffect(() => {\n        if (isUpdate) {\n            // skip on mounting, it has already been set\n            const newMq = getMatchMedia();\n            setMq(newMq);\n            return () => {\n                if (newMq) {\n                    newMq.dispose();\n                }\n            };\n        }\n    }, [query, device]);\n    return mq;\n};\nconst useMatches = (mediaQuery) => {\n    const [matches, setMatches] = useState(mediaQuery.matches);\n    useEffect(() => {\n        const updateMatches = (ev) => {\n            setMatches(ev.matches);\n        };\n        mediaQuery.addListener(updateMatches);\n        setMatches(mediaQuery.matches);\n        return () => {\n            mediaQuery.removeListener(updateMatches);\n        };\n    }, [mediaQuery]);\n    return matches;\n};\nconst useMediaQuery = (settings, device, onChange) => {\n    const deviceSettings = useDevice(device);\n    const query = useQuery(settings);\n    if (!query)\n        throw new Error('Invalid or missing MediaQuery!');\n    const mq = useMatchMedia(query, deviceSettings);\n    const matches = useMatches(mq);\n    const isUpdate = useIsUpdate();\n    useEffect(() => {\n        if (isUpdate && onChange) {\n            onChange(matches);\n        }\n    }, [matches]);\n    useEffect(() => () => {\n        if (mq) {\n            mq.dispose();\n        }\n    }, []);\n    return matches;\n};\n\n// ReactNode and ReactElement typings are a little funky for functional components, so the ReactElement cast is needed on the return\nconst MediaQuery = ({ children, device, onChange, ...settings }) => {\n    const matches = useMediaQuery(settings, device, onChange);\n    if (typeof children === 'function') {\n        return children(matches);\n    }\n    return matches ? children : null;\n};\n\nexport { Context, MediaQuery, MediaQuery as default, toQuery, useMediaQuery };\n//# sourceMappingURL=index.js.map\n","function shallowEqualArrays(arrA, arrB) {\n  if (arrA === arrB) {\n    return true;\n  }\n  if (!arrA || !arrB) {\n    return false;\n  }\n  const len = arrA.length;\n  if (arrB.length !== len) {\n    return false;\n  }\n  for (let i = 0; i < len; i++) {\n    if (arrA[i] !== arrB[i]) {\n      return false;\n    }\n  }\n  return true;\n}\n\nfunction shallowEqualObjects(objA, objB) {\n  if (objA === objB) {\n    return true;\n  }\n  if (!objA || !objB) {\n    return false;\n  }\n  const aKeys = Object.keys(objA);\n  const bKeys = Object.keys(objB);\n  const len = aKeys.length;\n  if (bKeys.length !== len) {\n    return false;\n  }\n  for (let i = 0; i < len; i++) {\n    const key = aKeys[i];\n    if (objA[key] !== objB[key] || !Object.prototype.hasOwnProperty.call(objB, key)) {\n      return false;\n    }\n  }\n  return true;\n}\n\nfunction shallowEqual(a, b) {\n  const aIsArr = Array.isArray(a);\n  const bIsArr = Array.isArray(b);\n  if (aIsArr !== bIsArr) {\n    return false;\n  }\n  if (aIsArr && bIsArr) {\n    return shallowEqualArrays(a, b);\n  }\n  return shallowEqualObjects(a, b);\n}\n\nexport { shallowEqual, shallowEqualArrays, shallowEqualObjects };\n//# sourceMappingURL=index.modern.mjs.map\n","function replaceClassName(origClass, classToRemove) {\n  return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n/**\n * Removes a CSS class from a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\n\nexport default function removeClass(element, className) {\n  if (element.classList) {\n    element.classList.remove(className);\n  } else if (typeof element.className === 'string') {\n    element.className = replaceClassName(element.className, className);\n  } else {\n    element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n  }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\nimport { forceReflow } from './utils/reflow';\n\nvar _addClass = function addClass(node, classes) {\n  return node && classes && classes.split(' ').forEach(function (c) {\n    return addOneClass(node, c);\n  });\n};\n\nvar removeClass = function removeClass(node, classes) {\n  return node && classes && classes.split(' ').forEach(function (c) {\n    return removeOneClass(node, c);\n  });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n *   const [inProp, setInProp] = useState(false);\n *   return (\n *     <div>\n *       <CSSTransition in={inProp} timeout={200} classNames=\"my-node\">\n *         <div>\n *           {\"I'll receive my-node-* classes\"}\n *         </div>\n *       </CSSTransition>\n *       <button type=\"button\" onClick={() => setInProp(true)}>\n *         Click to Enter\n *       </button>\n *     </div>\n *   );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n *   opacity: 0;\n * }\n * .my-node-enter-active {\n *   opacity: 1;\n *   transition: opacity 200ms;\n * }\n * .my-node-exit {\n *   opacity: 1;\n * }\n * .my-node-exit-active {\n *   opacity: 0;\n *   transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n  _inheritsLoose(CSSTransition, _React$Component);\n\n  function CSSTransition() {\n    var _this;\n\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n    _this.appliedClasses = {\n      appear: {},\n      enter: {},\n      exit: {}\n    };\n\n    _this.onEnter = function (maybeNode, maybeAppearing) {\n      var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n          node = _this$resolveArgument[0],\n          appearing = _this$resolveArgument[1];\n\n      _this.removeClasses(node, 'exit');\n\n      _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n      if (_this.props.onEnter) {\n        _this.props.onEnter(maybeNode, maybeAppearing);\n      }\n    };\n\n    _this.onEntering = function (maybeNode, maybeAppearing) {\n      var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n          node = _this$resolveArgument2[0],\n          appearing = _this$resolveArgument2[1];\n\n      var type = appearing ? 'appear' : 'enter';\n\n      _this.addClass(node, type, 'active');\n\n      if (_this.props.onEntering) {\n        _this.props.onEntering(maybeNode, maybeAppearing);\n      }\n    };\n\n    _this.onEntered = function (maybeNode, maybeAppearing) {\n      var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n          node = _this$resolveArgument3[0],\n          appearing = _this$resolveArgument3[1];\n\n      var type = appearing ? 'appear' : 'enter';\n\n      _this.removeClasses(node, type);\n\n      _this.addClass(node, type, 'done');\n\n      if (_this.props.onEntered) {\n        _this.props.onEntered(maybeNode, maybeAppearing);\n      }\n    };\n\n    _this.onExit = function (maybeNode) {\n      var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n          node = _this$resolveArgument4[0];\n\n      _this.removeClasses(node, 'appear');\n\n      _this.removeClasses(node, 'enter');\n\n      _this.addClass(node, 'exit', 'base');\n\n      if (_this.props.onExit) {\n        _this.props.onExit(maybeNode);\n      }\n    };\n\n    _this.onExiting = function (maybeNode) {\n      var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n          node = _this$resolveArgument5[0];\n\n      _this.addClass(node, 'exit', 'active');\n\n      if (_this.props.onExiting) {\n        _this.props.onExiting(maybeNode);\n      }\n    };\n\n    _this.onExited = function (maybeNode) {\n      var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n          node = _this$resolveArgument6[0];\n\n      _this.removeClasses(node, 'exit');\n\n      _this.addClass(node, 'exit', 'done');\n\n      if (_this.props.onExited) {\n        _this.props.onExited(maybeNode);\n      }\n    };\n\n    _this.resolveArguments = function (maybeNode, maybeAppearing) {\n      return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n      : [maybeNode, maybeAppearing];\n    };\n\n    _this.getClassNames = function (type) {\n      var classNames = _this.props.classNames;\n      var isStringClassNames = typeof classNames === 'string';\n      var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n      var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n      var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n      var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n      return {\n        baseClassName: baseClassName,\n        activeClassName: activeClassName,\n        doneClassName: doneClassName\n      };\n    };\n\n    return _this;\n  }\n\n  var _proto = CSSTransition.prototype;\n\n  _proto.addClass = function addClass(node, type, phase) {\n    var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n    var _this$getClassNames = this.getClassNames('enter'),\n        doneClassName = _this$getClassNames.doneClassName;\n\n    if (type === 'appear' && phase === 'done' && doneClassName) {\n      className += \" \" + doneClassName;\n    } // This is to force a repaint,\n    // which is necessary in order to transition styles when adding a class name.\n\n\n    if (phase === 'active') {\n      if (node) forceReflow(node);\n    }\n\n    if (className) {\n      this.appliedClasses[type][phase] = className;\n\n      _addClass(node, className);\n    }\n  };\n\n  _proto.removeClasses = function removeClasses(node, type) {\n    var _this$appliedClasses$ = this.appliedClasses[type],\n        baseClassName = _this$appliedClasses$.base,\n        activeClassName = _this$appliedClasses$.active,\n        doneClassName = _this$appliedClasses$.done;\n    this.appliedClasses[type] = {};\n\n    if (baseClassName) {\n      removeClass(node, baseClassName);\n    }\n\n    if (activeClassName) {\n      removeClass(node, activeClassName);\n    }\n\n    if (doneClassName) {\n      removeClass(node, doneClassName);\n    }\n  };\n\n  _proto.render = function render() {\n    var _this$props = this.props,\n        _ = _this$props.classNames,\n        props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n    return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n      onEnter: this.onEnter,\n      onEntered: this.onEntered,\n      onEntering: this.onEntering,\n      onExit: this.onExit,\n      onExiting: this.onExiting,\n      onExited: this.onExited\n    }));\n  };\n\n  return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n  classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, Transition.propTypes, {\n  /**\n   * The animation classNames applied to the component as it appears, enters,\n   * exits or has finished the transition. A single name can be provided, which\n   * will be suffixed for each stage, e.g. `classNames=\"fade\"` applies:\n   *\n   * - `fade-appear`, `fade-appear-active`, `fade-appear-done`\n   * - `fade-enter`, `fade-enter-active`, `fade-enter-done`\n   * - `fade-exit`, `fade-exit-active`, `fade-exit-done`\n   *\n   * A few details to note about how these classes are applied:\n   *\n   * 1. They are _joined_ with the ones that are already defined on the child\n   *    component, so if you want to add some base styles, you can use\n   *    `className` without worrying that it will be overridden.\n   *\n   * 2. If the transition component mounts with `in={false}`, no classes are\n   *    applied yet. You might be expecting `*-exit-done`, but if you think\n   *    about it, a component cannot finish exiting if it hasn't entered yet.\n   *\n   * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This\n   *    allows you to define different behavior for when appearing is done and\n   *    when regular entering is done, using selectors like\n   *    `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply\n   *    an epic entrance animation when element first appears in the DOM using\n   *    [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n   *    simply use `fade-enter-done` for defining both cases.\n   *\n   * Each individual classNames can also be specified independently like:\n   *\n   * ```js\n   * classNames={{\n   *  appear: 'my-appear',\n   *  appearActive: 'my-active-appear',\n   *  appearDone: 'my-done-appear',\n   *  enter: 'my-enter',\n   *  enterActive: 'my-active-enter',\n   *  enterDone: 'my-done-enter',\n   *  exit: 'my-exit',\n   *  exitActive: 'my-active-exit',\n   *  exitDone: 'my-done-exit',\n   * }}\n   * ```\n   *\n   * If you want to set these classes using CSS Modules:\n   *\n   * ```js\n   * import styles from './styles.css';\n   * ```\n   *\n   * you might want to use camelCase in your CSS file, that way could simply\n   * spread them instead of listing them one by one:\n   *\n   * ```js\n   * classNames={{ ...styles }}\n   * ```\n   *\n   * @type {string | {\n   *  appear?: string,\n   *  appearActive?: string,\n   *  appearDone?: string,\n   *  enter?: string,\n   *  enterActive?: string,\n   *  enterDone?: string,\n   *  exit?: string,\n   *  exitActive?: string,\n   *  exitDone?: string,\n   * }}\n   */\n  classNames: classNamesShape,\n\n  /**\n   * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is\n   * applied.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * @type Function(node: HtmlElement, isAppearing: bool)\n   */\n  onEnter: PropTypes.func,\n\n  /**\n   * A `<Transition>` callback fired immediately after the 'enter-active' or\n   * 'appear-active' class is applied.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * @type Function(node: HtmlElement, isAppearing: bool)\n   */\n  onEntering: PropTypes.func,\n\n  /**\n   * A `<Transition>` callback fired immediately after the 'enter' or\n   * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * @type Function(node: HtmlElement, isAppearing: bool)\n   */\n  onEntered: PropTypes.func,\n\n  /**\n   * A `<Transition>` callback fired immediately after the 'exit' class is\n   * applied.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed\n   *\n   * @type Function(node: HtmlElement)\n   */\n  onExit: PropTypes.func,\n\n  /**\n   * A `<Transition>` callback fired immediately after the 'exit-active' is applied.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed\n   *\n   * @type Function(node: HtmlElement)\n   */\n  onExiting: PropTypes.func,\n\n  /**\n   * A `<Transition>` callback fired immediately after the 'exit' classes\n   * are **removed** and the `exit-done` class is added to the DOM node.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed\n   *\n   * @type Function(node: HtmlElement)\n   */\n  onExited: PropTypes.func\n}) : {};\nexport default CSSTransition;","import hasClass from './hasClass';\n/**\n * Adds a CSS class to a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\nexport default function addClass(element, className) {\n  if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","/**\n * Checks if a given element has a CSS class.\n * \n * @param element the element\n * @param className the CSS class name\n */\nexport default function hasClass(element, className) {\n  if (element.classList) return !!className && element.classList.contains(className);\n  return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n *   transition: `opacity ${duration}ms ease-in-out`,\n *   opacity: 0,\n * }\n *\n * const transitionStyles = {\n *   entering: { opacity: 1 },\n *   entered:  { opacity: 1 },\n *   exiting:  { opacity: 0 },\n *   exited:  { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n *   <Transition in={inProp} timeout={duration}>\n *     {state => (\n *       <div style={{\n *         ...defaultStyle,\n *         ...transitionStyles[state]\n *       }}>\n *         I'm a fade Transition!\n *       </div>\n *     )}\n *   </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n *  - `'entering'`\n *  - `'entered'`\n *  - `'exiting'`\n *  - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n *   const [inProp, setInProp] = useState(false);\n *   return (\n *     <div>\n *       <Transition in={inProp} timeout={500}>\n *         {state => (\n *           // ...\n *         )}\n *       </Transition>\n *       <button onClick={() => setInProp(true)}>\n *         Click to Enter\n *       </button>\n *     </div>\n *   );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n  _inheritsLoose(Transition, _React$Component);\n\n  function Transition(props, context) {\n    var _this;\n\n    _this = _React$Component.call(this, props, context) || this;\n    var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n    var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n    var initialStatus;\n    _this.appearStatus = null;\n\n    if (props.in) {\n      if (appear) {\n        initialStatus = EXITED;\n        _this.appearStatus = ENTERING;\n      } else {\n        initialStatus = ENTERED;\n      }\n    } else {\n      if (props.unmountOnExit || props.mountOnEnter) {\n        initialStatus = UNMOUNTED;\n      } else {\n        initialStatus = EXITED;\n      }\n    }\n\n    _this.state = {\n      status: initialStatus\n    };\n    _this.nextCallback = null;\n    return _this;\n  }\n\n  Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n    var nextIn = _ref.in;\n\n    if (nextIn && prevState.status === UNMOUNTED) {\n      return {\n        status: EXITED\n      };\n    }\n\n    return null;\n  } // getSnapshotBeforeUpdate(prevProps) {\n  //   let nextStatus = null\n  //   if (prevProps !== this.props) {\n  //     const { status } = this.state\n  //     if (this.props.in) {\n  //       if (status !== ENTERING && status !== ENTERED) {\n  //         nextStatus = ENTERING\n  //       }\n  //     } else {\n  //       if (status === ENTERING || status === ENTERED) {\n  //         nextStatus = EXITING\n  //       }\n  //     }\n  //   }\n  //   return { nextStatus }\n  // }\n  ;\n\n  var _proto = Transition.prototype;\n\n  _proto.componentDidMount = function componentDidMount() {\n    this.updateStatus(true, this.appearStatus);\n  };\n\n  _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n    var nextStatus = null;\n\n    if (prevProps !== this.props) {\n      var status = this.state.status;\n\n      if (this.props.in) {\n        if (status !== ENTERING && status !== ENTERED) {\n          nextStatus = ENTERING;\n        }\n      } else {\n        if (status === ENTERING || status === ENTERED) {\n          nextStatus = EXITING;\n        }\n      }\n    }\n\n    this.updateStatus(false, nextStatus);\n  };\n\n  _proto.componentWillUnmount = function componentWillUnmount() {\n    this.cancelNextCallback();\n  };\n\n  _proto.getTimeouts = function getTimeouts() {\n    var timeout = this.props.timeout;\n    var exit, enter, appear;\n    exit = enter = appear = timeout;\n\n    if (timeout != null && typeof timeout !== 'number') {\n      exit = timeout.exit;\n      enter = timeout.enter; // TODO: remove fallback for next major\n\n      appear = timeout.appear !== undefined ? timeout.appear : enter;\n    }\n\n    return {\n      exit: exit,\n      enter: enter,\n      appear: appear\n    };\n  };\n\n  _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n    if (mounting === void 0) {\n      mounting = false;\n    }\n\n    if (nextStatus !== null) {\n      // nextStatus will always be ENTERING or EXITING.\n      this.cancelNextCallback();\n\n      if (nextStatus === ENTERING) {\n        if (this.props.unmountOnExit || this.props.mountOnEnter) {\n          var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n          // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n          // To make the animation happen,  we have to separate each rendering and avoid being processed as batched.\n\n          if (node) forceReflow(node);\n        }\n\n        this.performEnter(mounting);\n      } else {\n        this.performExit();\n      }\n    } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n      this.setState({\n        status: UNMOUNTED\n      });\n    }\n  };\n\n  _proto.performEnter = function performEnter(mounting) {\n    var _this2 = this;\n\n    var enter = this.props.enter;\n    var appearing = this.context ? this.context.isMounting : mounting;\n\n    var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n        maybeNode = _ref2[0],\n        maybeAppearing = _ref2[1];\n\n    var timeouts = this.getTimeouts();\n    var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n    // if we are mounting and running this it means appear _must_ be set\n\n    if (!mounting && !enter || config.disabled) {\n      this.safeSetState({\n        status: ENTERED\n      }, function () {\n        _this2.props.onEntered(maybeNode);\n      });\n      return;\n    }\n\n    this.props.onEnter(maybeNode, maybeAppearing);\n    this.safeSetState({\n      status: ENTERING\n    }, function () {\n      _this2.props.onEntering(maybeNode, maybeAppearing);\n\n      _this2.onTransitionEnd(enterTimeout, function () {\n        _this2.safeSetState({\n          status: ENTERED\n        }, function () {\n          _this2.props.onEntered(maybeNode, maybeAppearing);\n        });\n      });\n    });\n  };\n\n  _proto.performExit = function performExit() {\n    var _this3 = this;\n\n    var exit = this.props.exit;\n    var timeouts = this.getTimeouts();\n    var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n    if (!exit || config.disabled) {\n      this.safeSetState({\n        status: EXITED\n      }, function () {\n        _this3.props.onExited(maybeNode);\n      });\n      return;\n    }\n\n    this.props.onExit(maybeNode);\n    this.safeSetState({\n      status: EXITING\n    }, function () {\n      _this3.props.onExiting(maybeNode);\n\n      _this3.onTransitionEnd(timeouts.exit, function () {\n        _this3.safeSetState({\n          status: EXITED\n        }, function () {\n          _this3.props.onExited(maybeNode);\n        });\n      });\n    });\n  };\n\n  _proto.cancelNextCallback = function cancelNextCallback() {\n    if (this.nextCallback !== null) {\n      this.nextCallback.cancel();\n      this.nextCallback = null;\n    }\n  };\n\n  _proto.safeSetState = function safeSetState(nextState, callback) {\n    // This shouldn't be necessary, but there are weird race conditions with\n    // setState callbacks and unmounting in testing, so always make sure that\n    // we can cancel any pending setState callbacks after we unmount.\n    callback = this.setNextCallback(callback);\n    this.setState(nextState, callback);\n  };\n\n  _proto.setNextCallback = function setNextCallback(callback) {\n    var _this4 = this;\n\n    var active = true;\n\n    this.nextCallback = function (event) {\n      if (active) {\n        active = false;\n        _this4.nextCallback = null;\n        callback(event);\n      }\n    };\n\n    this.nextCallback.cancel = function () {\n      active = false;\n    };\n\n    return this.nextCallback;\n  };\n\n  _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n    this.setNextCallback(handler);\n    var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n    var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n    if (!node || doesNotHaveTimeoutOrListener) {\n      setTimeout(this.nextCallback, 0);\n      return;\n    }\n\n    if (this.props.addEndListener) {\n      var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n          maybeNode = _ref3[0],\n          maybeNextCallback = _ref3[1];\n\n      this.props.addEndListener(maybeNode, maybeNextCallback);\n    }\n\n    if (timeout != null) {\n      setTimeout(this.nextCallback, timeout);\n    }\n  };\n\n  _proto.render = function render() {\n    var status = this.state.status;\n\n    if (status === UNMOUNTED) {\n      return null;\n    }\n\n    var _this$props = this.props,\n        children = _this$props.children,\n        _in = _this$props.in,\n        _mountOnEnter = _this$props.mountOnEnter,\n        _unmountOnExit = _this$props.unmountOnExit,\n        _appear = _this$props.appear,\n        _enter = _this$props.enter,\n        _exit = _this$props.exit,\n        _timeout = _this$props.timeout,\n        _addEndListener = _this$props.addEndListener,\n        _onEnter = _this$props.onEnter,\n        _onEntering = _this$props.onEntering,\n        _onEntered = _this$props.onEntered,\n        _onExit = _this$props.onExit,\n        _onExiting = _this$props.onExiting,\n        _onExited = _this$props.onExited,\n        _nodeRef = _this$props.nodeRef,\n        childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n    return (\n      /*#__PURE__*/\n      // allows for nested Transitions\n      React.createElement(TransitionGroupContext.Provider, {\n        value: null\n      }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n    );\n  };\n\n  return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /**\n   * A React reference to DOM element that need to transition:\n   * https://stackoverflow.com/a/51127130/4671932\n   *\n   *   - When `nodeRef` prop is used, `node` is not passed to callback functions\n   *      (e.g. `onEnter`) because user already has direct access to the node.\n   *   - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n   *     `nodeRef` need to be provided to `Transition` with changed `key` prop\n   *     (see\n   *     [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n   */\n  nodeRef: PropTypes.shape({\n    current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n      var value = propValue[key];\n      return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n    }\n  }),\n\n  /**\n   * A `function` child can be used instead of a React element. This function is\n   * called with the current transition status (`'entering'`, `'entered'`,\n   * `'exiting'`, `'exited'`), which can be used to apply context\n   * specific props to a component.\n   *\n   * ```jsx\n   * <Transition in={this.state.in} timeout={150}>\n   *   {state => (\n   *     <MyComponent className={`fade fade-${state}`} />\n   *   )}\n   * </Transition>\n   * ```\n   */\n  children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n  /**\n   * Show the component; triggers the enter or exit states\n   */\n  in: PropTypes.bool,\n\n  /**\n   * By default the child component is mounted immediately along with\n   * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n   * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n   * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n   */\n  mountOnEnter: PropTypes.bool,\n\n  /**\n   * By default the child component stays mounted after it reaches the `'exited'` state.\n   * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n   */\n  unmountOnExit: PropTypes.bool,\n\n  /**\n   * By default the child component does not perform the enter transition when\n   * it first mounts, regardless of the value of `in`. If you want this\n   * behavior, set both `appear` and `in` to `true`.\n   *\n   * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n   * > only adds an additional enter transition. However, in the\n   * > `<CSSTransition>` component that first enter transition does result in\n   * > additional `.appear-*` classes, that way you can choose to style it\n   * > differently.\n   */\n  appear: PropTypes.bool,\n\n  /**\n   * Enable or disable enter transitions.\n   */\n  enter: PropTypes.bool,\n\n  /**\n   * Enable or disable exit transitions.\n   */\n  exit: PropTypes.bool,\n\n  /**\n   * The duration of the transition, in milliseconds.\n   * Required unless `addEndListener` is provided.\n   *\n   * You may specify a single timeout for all transitions:\n   *\n   * ```jsx\n   * timeout={500}\n   * ```\n   *\n   * or individually:\n   *\n   * ```jsx\n   * timeout={{\n   *  appear: 500,\n   *  enter: 300,\n   *  exit: 500,\n   * }}\n   * ```\n   *\n   * - `appear` defaults to the value of `enter`\n   * - `enter` defaults to `0`\n   * - `exit` defaults to `0`\n   *\n   * @type {number | { enter?: number, exit?: number, appear?: number }}\n   */\n  timeout: function timeout(props) {\n    var pt = timeoutsShape;\n    if (!props.addEndListener) pt = pt.isRequired;\n\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    return pt.apply(void 0, [props].concat(args));\n  },\n\n  /**\n   * Add a custom transition end trigger. Called with the transitioning\n   * DOM node and a `done` callback. Allows for more fine grained transition end\n   * logic. Timeouts are still used as a fallback if provided.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * ```jsx\n   * addEndListener={(node, done) => {\n   *   // use the css transitionend event to mark the finish of a transition\n   *   node.addEventListener('transitionend', done, false);\n   * }}\n   * ```\n   */\n  addEndListener: PropTypes.func,\n\n  /**\n   * Callback fired before the \"entering\" status is applied. An extra parameter\n   * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * @type Function(node: HtmlElement, isAppearing: bool) -> void\n   */\n  onEnter: PropTypes.func,\n\n  /**\n   * Callback fired after the \"entering\" status is applied. An extra parameter\n   * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * @type Function(node: HtmlElement, isAppearing: bool)\n   */\n  onEntering: PropTypes.func,\n\n  /**\n   * Callback fired after the \"entered\" status is applied. An extra parameter\n   * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * @type Function(node: HtmlElement, isAppearing: bool) -> void\n   */\n  onEntered: PropTypes.func,\n\n  /**\n   * Callback fired before the \"exiting\" status is applied.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * @type Function(node: HtmlElement) -> void\n   */\n  onExit: PropTypes.func,\n\n  /**\n   * Callback fired after the \"exiting\" status is applied.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n   *\n   * @type Function(node: HtmlElement) -> void\n   */\n  onExiting: PropTypes.func,\n\n  /**\n   * Callback fired after the \"exited\" status is applied.\n   *\n   * **Note**: when `nodeRef` prop is passed, `node` is not passed\n   *\n   * @type Function(node: HtmlElement) -> void\n   */\n  onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n  in: false,\n  mountOnEnter: false,\n  unmountOnExit: false,\n  appear: false,\n  enter: true,\n  exit: true,\n  onEnter: noop,\n  onEntering: noop,\n  onEntered: noop,\n  onExit: noop,\n  onExiting: noop,\n  onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n  var mapper = function mapper(child) {\n    return mapFn && isValidElement(child) ? mapFn(child) : child;\n  };\n\n  var result = Object.create(null);\n  if (children) Children.map(children, function (c) {\n    return c;\n  }).forEach(function (child) {\n    // run the map function here instead so that the key is the computed one\n    result[child.key] = mapper(child);\n  });\n  return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n  prev = prev || {};\n  next = next || {};\n\n  function getValueForKey(key) {\n    return key in next ? next[key] : prev[key];\n  } // For each key of `next`, the list of keys to insert before that key in\n  // the combined list\n\n\n  var nextKeysPending = Object.create(null);\n  var pendingKeys = [];\n\n  for (var prevKey in prev) {\n    if (prevKey in next) {\n      if (pendingKeys.length) {\n        nextKeysPending[prevKey] = pendingKeys;\n        pendingKeys = [];\n      }\n    } else {\n      pendingKeys.push(prevKey);\n    }\n  }\n\n  var i;\n  var childMapping = {};\n\n  for (var nextKey in next) {\n    if (nextKeysPending[nextKey]) {\n      for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n        var pendingNextKey = nextKeysPending[nextKey][i];\n        childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n      }\n    }\n\n    childMapping[nextKey] = getValueForKey(nextKey);\n  } // Finally, add the keys which didn't appear before any key in `next`\n\n\n  for (i = 0; i < pendingKeys.length; i++) {\n    childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n  }\n\n  return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n  return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n  return getChildMapping(props.children, function (child) {\n    return cloneElement(child, {\n      onExited: onExited.bind(null, child),\n      in: true,\n      appear: getProp(child, 'appear', props),\n      enter: getProp(child, 'enter', props),\n      exit: getProp(child, 'exit', props)\n    });\n  });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n  var nextChildMapping = getChildMapping(nextProps.children);\n  var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n  Object.keys(children).forEach(function (key) {\n    var child = children[key];\n    if (!isValidElement(child)) return;\n    var hasPrev = (key in prevChildMapping);\n    var hasNext = (key in nextChildMapping);\n    var prevChild = prevChildMapping[key];\n    var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n    if (hasNext && (!hasPrev || isLeaving)) {\n      // console.log('entering', key)\n      children[key] = cloneElement(child, {\n        onExited: onExited.bind(null, child),\n        in: true,\n        exit: getProp(child, 'exit', nextProps),\n        enter: getProp(child, 'enter', nextProps)\n      });\n    } else if (!hasNext && hasPrev && !isLeaving) {\n      // item is old (exiting)\n      // console.log('leaving', key)\n      children[key] = cloneElement(child, {\n        in: false\n      });\n    } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n      // item hasn't changed transition states\n      // copy over the last transition props;\n      // console.log('unchanged', key)\n      children[key] = cloneElement(child, {\n        onExited: onExited.bind(null, child),\n        in: prevChild.props.in,\n        exit: getProp(child, 'exit', nextProps),\n        enter: getProp(child, 'enter', nextProps)\n      });\n    }\n  });\n  return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n  return Object.keys(obj).map(function (k) {\n    return obj[k];\n  });\n};\n\nvar defaultProps = {\n  component: 'div',\n  childFactory: function childFactory(child) {\n    return child;\n  }\n};\n/**\n * The `<TransitionGroup>` component manages a set of transition components\n * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition\n * components, `<TransitionGroup>` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the `<TransitionGroup>`.\n *\n * Note that `<TransitionGroup>`  does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n  _inheritsLoose(TransitionGroup, _React$Component);\n\n  function TransitionGroup(props, context) {\n    var _this;\n\n    _this = _React$Component.call(this, props, context) || this;\n\n    var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n    _this.state = {\n      contextValue: {\n        isMounting: true\n      },\n      handleExited: handleExited,\n      firstRender: true\n    };\n    return _this;\n  }\n\n  var _proto = TransitionGroup.prototype;\n\n  _proto.componentDidMount = function componentDidMount() {\n    this.mounted = true;\n    this.setState({\n      contextValue: {\n        isMounting: false\n      }\n    });\n  };\n\n  _proto.componentWillUnmount = function componentWillUnmount() {\n    this.mounted = false;\n  };\n\n  TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n    var prevChildMapping = _ref.children,\n        handleExited = _ref.handleExited,\n        firstRender = _ref.firstRender;\n    return {\n      children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n      firstRender: false\n    };\n  } // node is `undefined` when user provided `nodeRef` prop\n  ;\n\n  _proto.handleExited = function handleExited(child, node) {\n    var currentChildMapping = getChildMapping(this.props.children);\n    if (child.key in currentChildMapping) return;\n\n    if (child.props.onExited) {\n      child.props.onExited(node);\n    }\n\n    if (this.mounted) {\n      this.setState(function (state) {\n        var children = _extends({}, state.children);\n\n        delete children[child.key];\n        return {\n          children: children\n        };\n      });\n    }\n  };\n\n  _proto.render = function render() {\n    var _this$props = this.props,\n        Component = _this$props.component,\n        childFactory = _this$props.childFactory,\n        props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n    var contextValue = this.state.contextValue;\n    var children = values(this.state.children).map(childFactory);\n    delete props.appear;\n    delete props.enter;\n    delete props.exit;\n\n    if (Component === null) {\n      return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n        value: contextValue\n      }, children);\n    }\n\n    return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n      value: contextValue\n    }, /*#__PURE__*/React.createElement(Component, props, children));\n  };\n\n  return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /**\n   * `<TransitionGroup>` renders a `<div>` by default. You can change this\n   * behavior by providing a `component` prop.\n   * If you use React v16+ and would like to avoid a wrapping `<div>` element\n   * you can pass in `component={null}`. This is useful if the wrapping div\n   * borks your css styles.\n   */\n  component: PropTypes.any,\n\n  /**\n   * A set of `<Transition>` components, that are toggled `in` and out as they\n   * leave. the `<TransitionGroup>` will inject specific transition props, so\n   * remember to spread them through if you are wrapping the `<Transition>` as\n   * with our `<Fade>` example.\n   *\n   * While this component is meant for multiple `Transition` or `CSSTransition`\n   * children, sometimes you may want to have a single transition child with\n   * content that you want to be transitioned out and in when you change it\n   * (e.g. routes, images etc.) In that case you can change the `key` prop of\n   * the transition child as you change its content, this will cause\n   * `TransitionGroup` to transition the child out and back in.\n   */\n  children: PropTypes.node,\n\n  /**\n   * A convenience prop that enables or disables appear animations\n   * for all children. Note that specifying this will override any defaults set\n   * on individual children Transitions.\n   */\n  appear: PropTypes.bool,\n\n  /**\n   * A convenience prop that enables or disables enter animations\n   * for all children. Note that specifying this will override any defaults set\n   * on individual children Transitions.\n   */\n  enter: PropTypes.bool,\n\n  /**\n   * A convenience prop that enables or disables exit animations\n   * for all children. Note that specifying this will override any defaults set\n   * on individual children Transitions.\n   */\n  exit: PropTypes.bool,\n\n  /**\n   * You may need to apply reactive updates to a child as it is exiting.\n   * This is generally done by using `cloneElement` however in the case of an exiting\n   * child the element has already been removed and not accessible to the consumer.\n   *\n   * If you do need to update a child as it leaves you can provide a `childFactory`\n   * to wrap every child, even the ones that are leaving.\n   *\n   * @type Function(child: ReactElement) -> ReactElement\n   */\n  childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","function _assertThisInitialized(e) {\n  if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  return e;\n}\nexport { _assertThisInitialized as default };","import React from 'react';\nexport default React.createContext(null);","export var forceReflow = function forceReflow(node) {\n  return node.scrollTop;\n};","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===c[d]&&(c[d]=g[d]);return{$$typeof:l,type:a,key:k,ref:h,props:c,_owner:K.current}}\nfunction N(a,b){return{$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+a.replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g;function Q(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(\"\"+a.key):b.toString(36)}\nfunction R(a,b,e,d,c){var k=typeof a;if(\"undefined\"===k||\"boolean\"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case \"string\":case \"number\":h=!0;break;case \"object\":switch(a.$$typeof){case l:case n:h=!0}}if(h)return h=a,c=c(h),a=\"\"===d?\".\"+Q(h,0):d,I(c)?(e=\"\",null!=a&&(e=a.replace(P,\"$&/\")+\"/\"),R(c,b,e,\"\",function(a){return a})):null!=c&&(O(c)&&(c=N(c,e+(!c.key||h&&h.key===c.key?\"\":(\"\"+c.key).replace(P,\"$&/\")+\"/\")+a)),b.push(c)),1;h=0;d=\"\"===d?\".\":d+\":\";if(I(a))for(var g=0;g<a.length;g++){k=\na[g];var f=d+Q(k,g);h+=R(k,b,e,f,c)}else if(f=A(a),\"function\"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+Q(k,g++),h+=R(k,b,e,f,c);else if(\"object\"===k)throw b=String(a),Error(\"Objects are not valid as a React child (found: \"+(\"[object Object]\"===b?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":b)+\"). If you meant to render a collection of children, use an array instead.\");return h}\nfunction S(a,b,e){if(null==a)return a;var d=[],c=0;R(a,d,\"\",\"\",function(a){return b.call(e,a,c++)});return d}function T(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}\nvar U={current:null},V={transition:null},W={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:K};exports.Children={map:S,forEach:function(a,b,e){S(a,function(){b.apply(this,arguments)},e)},count:function(a){var b=0;S(a,function(){b++});return b},toArray:function(a){return S(a,function(a){return a})||[]},only:function(a){if(!O(a))throw Error(\"React.Children.only expected to receive a single React element child.\");return a}};exports.Component=E;exports.Fragment=p;\nexports.Profiler=r;exports.PureComponent=G;exports.StrictMode=q;exports.Suspense=w;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W;\nexports.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error(\"React.cloneElement(...): The argument must be a React element, but you passed \"+a+\".\");var d=C({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=K.current);void 0!==b.key&&(c=\"\"+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)J.call(b,f)&&!L.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);\nfor(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:l,type:a.type,key:c,ref:k,props:d,_owner:h}};exports.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};exports.createElement=M;exports.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};\nexports.forwardRef=function(a){return{$$typeof:v,render:a}};exports.isValidElement=O;exports.lazy=function(a){return{$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};exports.memo=function(a,b){return{$$typeof:x,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=V.transition;V.transition={};try{a()}finally{V.transition=b}};exports.unstable_act=function(){throw Error(\"act(...) is not supported in production builds of React.\");};\nexports.useCallback=function(a,b){return U.current.useCallback(a,b)};exports.useContext=function(a){return U.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return U.current.useDeferredValue(a)};exports.useEffect=function(a,b){return U.current.useEffect(a,b)};exports.useId=function(){return U.current.useId()};exports.useImperativeHandle=function(a,b,e){return U.current.useImperativeHandle(a,b,e)};\nexports.useInsertionEffect=function(a,b){return U.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return U.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return U.current.useMemo(a,b)};exports.useReducer=function(a,b,e){return U.current.useReducer(a,b,e)};exports.useRef=function(a){return U.current.useRef(a)};exports.useState=function(a){return U.current.useState(a)};exports.useSyncExternalStore=function(a,b,e){return U.current.useSyncExternalStore(a,b,e)};\nexports.useTransition=function(){return U.current.useTransition()};exports.version=\"18.2.0\";\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react.production.min.js');\n} else {\n  module.exports = require('./cjs/react.development.js');\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar isClassComponent = function isClassComponent(Component) {\n  return Boolean(Component && Component.prototype && typeof Component.prototype.render === 'function');\n};\n\nvar _default = isClassComponent;\nexports.default = _default;","/** A function that accepts a potential \"extra argument\" value to be injected later,\r\n * and returns an instance of the thunk middleware that uses that value\r\n */\nfunction createThunkMiddleware(extraArgument) {\n  // Standard Redux middleware definition pattern:\n  // See: https://redux.js.org/tutorials/fundamentals/part-4-store#writing-custom-middleware\n  var middleware = function middleware(_ref) {\n    var dispatch = _ref.dispatch,\n        getState = _ref.getState;\n    return function (next) {\n      return function (action) {\n        // The thunk middleware looks for any functions that were passed to `store.dispatch`.\n        // If this \"action\" is really a function, call it and return the result.\n        if (typeof action === 'function') {\n          // Inject the store's `dispatch` and `getState` methods, as well as any \"extra arg\"\n          return action(dispatch, getState, extraArgument);\n        } // Otherwise, pass the action down the middleware chain as usual\n\n\n        return next(action);\n      };\n    };\n  };\n\n  return middleware;\n}\n\nvar thunk = createThunkMiddleware(); // Attach the factory function so users can create a customized version\n// with whatever \"extra arg\" they want to inject into their thunks\n\nthunk.withExtraArgument = createThunkMiddleware;\nexport default thunk;","function _typeof(o) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n    return typeof o;\n  } : function (o) {\n    return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n  }, _typeof(o);\n}\nexport { _typeof as default };","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n    value: t,\n    enumerable: !0,\n    configurable: !0,\n    writable: !0\n  }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n  var i = toPrimitive(t, \"string\");\n  return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n  if (\"object\" != _typeof(t) || !t) return t;\n  var e = t[Symbol.toPrimitive];\n  if (void 0 !== e) {\n    var i = e.call(t, r || \"default\");\n    if (\"object\" != _typeof(i)) return i;\n    throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n  }\n  return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n  var t = Object.keys(e);\n  if (Object.getOwnPropertySymbols) {\n    var o = Object.getOwnPropertySymbols(e);\n    r && (o = o.filter(function (r) {\n      return Object.getOwnPropertyDescriptor(e, r).enumerable;\n    })), t.push.apply(t, o);\n  }\n  return t;\n}\nfunction _objectSpread2(e) {\n  for (var r = 1; r < arguments.length; r++) {\n    var t = null != arguments[r] ? arguments[r] : {};\n    r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n      defineProperty(e, r, t[r]);\n    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n      Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n    });\n  }\n  return e;\n}\nexport { _objectSpread2 as default };","import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\n\n/**\n * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js\n *\n * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes\n * during build.\n * @param {number} code\n */\nfunction formatProdErrorMessage(code) {\n  return \"Minified Redux error #\" + code + \"; visit https://redux.js.org/Errors?code=\" + code + \" for the full message or \" + 'use the non-minified dev environment for full errors. ';\n}\n\n// Inlined version of the `symbol-observable` polyfill\nvar $$observable = (function () {\n  return typeof Symbol === 'function' && Symbol.observable || '@@observable';\n})();\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar randomString = function randomString() {\n  return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n  INIT: \"@@redux/INIT\" + randomString(),\n  REPLACE: \"@@redux/REPLACE\" + randomString(),\n  PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n    return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n  }\n};\n\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\nfunction isPlainObject(obj) {\n  if (typeof obj !== 'object' || obj === null) return false;\n  var proto = obj;\n\n  while (Object.getPrototypeOf(proto) !== null) {\n    proto = Object.getPrototypeOf(proto);\n  }\n\n  return Object.getPrototypeOf(obj) === proto;\n}\n\n// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of\nfunction miniKindOf(val) {\n  if (val === void 0) return 'undefined';\n  if (val === null) return 'null';\n  var type = typeof val;\n\n  switch (type) {\n    case 'boolean':\n    case 'string':\n    case 'number':\n    case 'symbol':\n    case 'function':\n      {\n        return type;\n      }\n  }\n\n  if (Array.isArray(val)) return 'array';\n  if (isDate(val)) return 'date';\n  if (isError(val)) return 'error';\n  var constructorName = ctorName(val);\n\n  switch (constructorName) {\n    case 'Symbol':\n    case 'Promise':\n    case 'WeakMap':\n    case 'WeakSet':\n    case 'Map':\n    case 'Set':\n      return constructorName;\n  } // other\n\n\n  return type.slice(8, -1).toLowerCase().replace(/\\s/g, '');\n}\n\nfunction ctorName(val) {\n  return typeof val.constructor === 'function' ? val.constructor.name : null;\n}\n\nfunction isError(val) {\n  return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';\n}\n\nfunction isDate(val) {\n  if (val instanceof Date) return true;\n  return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';\n}\n\nfunction kindOf(val) {\n  var typeOfVal = typeof val;\n\n  if (process.env.NODE_ENV !== 'production') {\n    typeOfVal = miniKindOf(val);\n  }\n\n  return typeOfVal;\n}\n\n/**\n * @deprecated\n *\n * **We recommend using the `configureStore` method\n * of the `@reduxjs/toolkit` package**, which replaces `createStore`.\n *\n * Redux Toolkit is our recommended approach for writing Redux logic today,\n * including store setup, reducers, data fetching, and more.\n *\n * **For more details, please read this Redux docs page:**\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * `configureStore` from Redux Toolkit is an improved version of `createStore` that\n * simplifies setup and helps avoid common bugs.\n *\n * You should not be using the `redux` core package by itself today, except for learning purposes.\n * The `createStore` method from the core `redux` package will not be removed, but we encourage\n * all users to migrate to using Redux Toolkit for all Redux code.\n *\n * If you want to use `createStore` without this visual deprecation warning, use\n * the `legacy_createStore` import instead:\n *\n * `import { legacy_createStore as createStore} from 'redux'`\n *\n */\n\nfunction createStore(reducer, preloadedState, enhancer) {\n  var _ref2;\n\n  if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n    throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(0) : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');\n  }\n\n  if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n    enhancer = preloadedState;\n    preloadedState = undefined;\n  }\n\n  if (typeof enhancer !== 'undefined') {\n    if (typeof enhancer !== 'function') {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(1) : \"Expected the enhancer to be a function. Instead, received: '\" + kindOf(enhancer) + \"'\");\n    }\n\n    return enhancer(createStore)(reducer, preloadedState);\n  }\n\n  if (typeof reducer !== 'function') {\n    throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(2) : \"Expected the root reducer to be a function. Instead, received: '\" + kindOf(reducer) + \"'\");\n  }\n\n  var currentReducer = reducer;\n  var currentState = preloadedState;\n  var currentListeners = [];\n  var nextListeners = currentListeners;\n  var isDispatching = false;\n  /**\n   * This makes a shallow copy of currentListeners so we can use\n   * nextListeners as a temporary list while dispatching.\n   *\n   * This prevents any bugs around consumers calling\n   * subscribe/unsubscribe in the middle of a dispatch.\n   */\n\n  function ensureCanMutateNextListeners() {\n    if (nextListeners === currentListeners) {\n      nextListeners = currentListeners.slice();\n    }\n  }\n  /**\n   * Reads the state tree managed by the store.\n   *\n   * @returns {any} The current state tree of your application.\n   */\n\n\n  function getState() {\n    if (isDispatching) {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(3) : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n    }\n\n    return currentState;\n  }\n  /**\n   * Adds a change listener. It will be called any time an action is dispatched,\n   * and some part of the state tree may potentially have changed. You may then\n   * call `getState()` to read the current state tree inside the callback.\n   *\n   * You may call `dispatch()` from a change listener, with the following\n   * caveats:\n   *\n   * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n   * If you subscribe or unsubscribe while the listeners are being invoked, this\n   * will not have any effect on the `dispatch()` that is currently in progress.\n   * However, the next `dispatch()` call, whether nested or not, will use a more\n   * recent snapshot of the subscription list.\n   *\n   * 2. The listener should not expect to see all state changes, as the state\n   * might have been updated multiple times during a nested `dispatch()` before\n   * the listener is called. It is, however, guaranteed that all subscribers\n   * registered before the `dispatch()` started will be called with the latest\n   * state by the time it exits.\n   *\n   * @param {Function} listener A callback to be invoked on every dispatch.\n   * @returns {Function} A function to remove this change listener.\n   */\n\n\n  function subscribe(listener) {\n    if (typeof listener !== 'function') {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(4) : \"Expected the listener to be a function. Instead, received: '\" + kindOf(listener) + \"'\");\n    }\n\n    if (isDispatching) {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(5) : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n    }\n\n    var isSubscribed = true;\n    ensureCanMutateNextListeners();\n    nextListeners.push(listener);\n    return function unsubscribe() {\n      if (!isSubscribed) {\n        return;\n      }\n\n      if (isDispatching) {\n        throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(6) : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n      }\n\n      isSubscribed = false;\n      ensureCanMutateNextListeners();\n      var index = nextListeners.indexOf(listener);\n      nextListeners.splice(index, 1);\n      currentListeners = null;\n    };\n  }\n  /**\n   * Dispatches an action. It is the only way to trigger a state change.\n   *\n   * The `reducer` function, used to create the store, will be called with the\n   * current state tree and the given `action`. Its return value will\n   * be considered the **next** state of the tree, and the change listeners\n   * will be notified.\n   *\n   * The base implementation only supports plain object actions. If you want to\n   * dispatch a Promise, an Observable, a thunk, or something else, you need to\n   * wrap your store creating function into the corresponding middleware. For\n   * example, see the documentation for the `redux-thunk` package. Even the\n   * middleware will eventually dispatch plain object actions using this method.\n   *\n   * @param {Object} action A plain object representing “what changed”. It is\n   * a good idea to keep actions serializable so you can record and replay user\n   * sessions, or use the time travelling `redux-devtools`. An action must have\n   * a `type` property which may not be `undefined`. It is a good idea to use\n   * string constants for action types.\n   *\n   * @returns {Object} For convenience, the same action object you dispatched.\n   *\n   * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n   * return something else (for example, a Promise you can await).\n   */\n\n\n  function dispatch(action) {\n    if (!isPlainObject(action)) {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(7) : \"Actions must be plain objects. Instead, the actual type was: '\" + kindOf(action) + \"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.\");\n    }\n\n    if (typeof action.type === 'undefined') {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(8) : 'Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');\n    }\n\n    if (isDispatching) {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(9) : 'Reducers may not dispatch actions.');\n    }\n\n    try {\n      isDispatching = true;\n      currentState = currentReducer(currentState, action);\n    } finally {\n      isDispatching = false;\n    }\n\n    var listeners = currentListeners = nextListeners;\n\n    for (var i = 0; i < listeners.length; i++) {\n      var listener = listeners[i];\n      listener();\n    }\n\n    return action;\n  }\n  /**\n   * Replaces the reducer currently used by the store to calculate the state.\n   *\n   * You might need this if your app implements code splitting and you want to\n   * load some of the reducers dynamically. You might also need this if you\n   * implement a hot reloading mechanism for Redux.\n   *\n   * @param {Function} nextReducer The reducer for the store to use instead.\n   * @returns {void}\n   */\n\n\n  function replaceReducer(nextReducer) {\n    if (typeof nextReducer !== 'function') {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(10) : \"Expected the nextReducer to be a function. Instead, received: '\" + kindOf(nextReducer));\n    }\n\n    currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.\n    // Any reducers that existed in both the new and old rootReducer\n    // will receive the previous state. This effectively populates\n    // the new state tree with any relevant data from the old one.\n\n    dispatch({\n      type: ActionTypes.REPLACE\n    });\n  }\n  /**\n   * Interoperability point for observable/reactive libraries.\n   * @returns {observable} A minimal observable of state changes.\n   * For more information, see the observable proposal:\n   * https://github.com/tc39/proposal-observable\n   */\n\n\n  function observable() {\n    var _ref;\n\n    var outerSubscribe = subscribe;\n    return _ref = {\n      /**\n       * The minimal observable subscription method.\n       * @param {Object} observer Any object that can be used as an observer.\n       * The observer object should have a `next` method.\n       * @returns {subscription} An object with an `unsubscribe` method that can\n       * be used to unsubscribe the observable from the store, and prevent further\n       * emission of values from the observable.\n       */\n      subscribe: function subscribe(observer) {\n        if (typeof observer !== 'object' || observer === null) {\n          throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(11) : \"Expected the observer to be an object. Instead, received: '\" + kindOf(observer) + \"'\");\n        }\n\n        function observeState() {\n          if (observer.next) {\n            observer.next(getState());\n          }\n        }\n\n        observeState();\n        var unsubscribe = outerSubscribe(observeState);\n        return {\n          unsubscribe: unsubscribe\n        };\n      }\n    }, _ref[$$observable] = function () {\n      return this;\n    }, _ref;\n  } // When a store is created, an \"INIT\" action is dispatched so that every\n  // reducer returns their initial state. This effectively populates\n  // the initial state tree.\n\n\n  dispatch({\n    type: ActionTypes.INIT\n  });\n  return _ref2 = {\n    dispatch: dispatch,\n    subscribe: subscribe,\n    getState: getState,\n    replaceReducer: replaceReducer\n  }, _ref2[$$observable] = observable, _ref2;\n}\n/**\n * Creates a Redux store that holds the state tree.\n *\n * **We recommend using `configureStore` from the\n * `@reduxjs/toolkit` package**, which replaces `createStore`:\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\nvar legacy_createStore = createStore;\n\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n  /* eslint-disable no-console */\n  if (typeof console !== 'undefined' && typeof console.error === 'function') {\n    console.error(message);\n  }\n  /* eslint-enable no-console */\n\n\n  try {\n    // This error was thrown as a convenience so that if you enable\n    // \"break on all exceptions\" in your console,\n    // it would pause the execution at this line.\n    throw new Error(message);\n  } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n  var reducerKeys = Object.keys(reducers);\n  var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';\n\n  if (reducerKeys.length === 0) {\n    return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n  }\n\n  if (!isPlainObject(inputState)) {\n    return \"The \" + argumentName + \" has unexpected type of \\\"\" + kindOf(inputState) + \"\\\". Expected argument to be an object with the following \" + (\"keys: \\\"\" + reducerKeys.join('\", \"') + \"\\\"\");\n  }\n\n  var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n    return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];\n  });\n  unexpectedKeys.forEach(function (key) {\n    unexpectedKeyCache[key] = true;\n  });\n  if (action && action.type === ActionTypes.REPLACE) return;\n\n  if (unexpectedKeys.length > 0) {\n    return \"Unexpected \" + (unexpectedKeys.length > 1 ? 'keys' : 'key') + \" \" + (\"\\\"\" + unexpectedKeys.join('\", \"') + \"\\\" found in \" + argumentName + \". \") + \"Expected to find one of the known reducer keys instead: \" + (\"\\\"\" + reducerKeys.join('\", \"') + \"\\\". Unexpected keys will be ignored.\");\n  }\n}\n\nfunction assertReducerShape(reducers) {\n  Object.keys(reducers).forEach(function (key) {\n    var reducer = reducers[key];\n    var initialState = reducer(undefined, {\n      type: ActionTypes.INIT\n    });\n\n    if (typeof initialState === 'undefined') {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(12) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined during initialization. \" + \"If the state passed to the reducer is undefined, you must \" + \"explicitly return the initial state. The initial state may \" + \"not be undefined. If you don't want to set a value for this reducer, \" + \"you can use null instead of undefined.\");\n    }\n\n    if (typeof reducer(undefined, {\n      type: ActionTypes.PROBE_UNKNOWN_ACTION()\n    }) === 'undefined') {\n      throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(13) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined when probed with a random type. \" + (\"Don't try to handle '\" + ActionTypes.INIT + \"' or other actions in \\\"redux/*\\\" \") + \"namespace. They are considered private. Instead, you must return the \" + \"current state for any unknown actions, unless it is undefined, \" + \"in which case you must return the initial state, regardless of the \" + \"action type. The initial state may not be undefined, but can be null.\");\n    }\n  });\n}\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\n\n\nfunction combineReducers(reducers) {\n  var reducerKeys = Object.keys(reducers);\n  var finalReducers = {};\n\n  for (var i = 0; i < reducerKeys.length; i++) {\n    var key = reducerKeys[i];\n\n    if (process.env.NODE_ENV !== 'production') {\n      if (typeof reducers[key] === 'undefined') {\n        warning(\"No reducer provided for key \\\"\" + key + \"\\\"\");\n      }\n    }\n\n    if (typeof reducers[key] === 'function') {\n      finalReducers[key] = reducers[key];\n    }\n  }\n\n  var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same\n  // keys multiple times.\n\n  var unexpectedKeyCache;\n\n  if (process.env.NODE_ENV !== 'production') {\n    unexpectedKeyCache = {};\n  }\n\n  var shapeAssertionError;\n\n  try {\n    assertReducerShape(finalReducers);\n  } catch (e) {\n    shapeAssertionError = e;\n  }\n\n  return function combination(state, action) {\n    if (state === void 0) {\n      state = {};\n    }\n\n    if (shapeAssertionError) {\n      throw shapeAssertionError;\n    }\n\n    if (process.env.NODE_ENV !== 'production') {\n      var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n\n      if (warningMessage) {\n        warning(warningMessage);\n      }\n    }\n\n    var hasChanged = false;\n    var nextState = {};\n\n    for (var _i = 0; _i < finalReducerKeys.length; _i++) {\n      var _key = finalReducerKeys[_i];\n      var reducer = finalReducers[_key];\n      var previousStateForKey = state[_key];\n      var nextStateForKey = reducer(previousStateForKey, action);\n\n      if (typeof nextStateForKey === 'undefined') {\n        var actionType = action && action.type;\n        throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(14) : \"When called with an action of type \" + (actionType ? \"\\\"\" + String(actionType) + \"\\\"\" : '(unknown type)') + \", the slice reducer for key \\\"\" + _key + \"\\\" returned undefined. \" + \"To ignore an action, you must explicitly return the previous state. \" + \"If you want this reducer to hold no value, you can return null instead of undefined.\");\n      }\n\n      nextState[_key] = nextStateForKey;\n      hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n    }\n\n    hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;\n    return hasChanged ? nextState : state;\n  };\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n  return function () {\n    return dispatch(actionCreator.apply(this, arguments));\n  };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass an action creator as the first argument,\n * and get a dispatch wrapped function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n  if (typeof actionCreators === 'function') {\n    return bindActionCreator(actionCreators, dispatch);\n  }\n\n  if (typeof actionCreators !== 'object' || actionCreators === null) {\n    throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(16) : \"bindActionCreators expected an object or a function, but instead received: '\" + kindOf(actionCreators) + \"'. \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n  }\n\n  var boundActionCreators = {};\n\n  for (var key in actionCreators) {\n    var actionCreator = actionCreators[key];\n\n    if (typeof actionCreator === 'function') {\n      boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n    }\n  }\n\n  return boundActionCreators;\n}\n\n/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\nfunction compose() {\n  for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n    funcs[_key] = arguments[_key];\n  }\n\n  if (funcs.length === 0) {\n    return function (arg) {\n      return arg;\n    };\n  }\n\n  if (funcs.length === 1) {\n    return funcs[0];\n  }\n\n  return funcs.reduce(function (a, b) {\n    return function () {\n      return a(b.apply(void 0, arguments));\n    };\n  });\n}\n\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\n\nfunction applyMiddleware() {\n  for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {\n    middlewares[_key] = arguments[_key];\n  }\n\n  return function (createStore) {\n    return function () {\n      var store = createStore.apply(void 0, arguments);\n\n      var _dispatch = function dispatch() {\n        throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(15) : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');\n      };\n\n      var middlewareAPI = {\n        getState: store.getState,\n        dispatch: function dispatch() {\n          return _dispatch.apply(void 0, arguments);\n        }\n      };\n      var chain = middlewares.map(function (middleware) {\n        return middleware(middlewareAPI);\n      });\n      _dispatch = compose.apply(void 0, chain)(store.dispatch);\n      return _objectSpread(_objectSpread({}, store), {}, {\n        dispatch: _dispatch\n      });\n    };\n  };\n}\n\nexport { ActionTypes as __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore, legacy_createStore };\n","// Cache implementation based on Erik Rasmussen's `lru-memoize`:\n// https://github.com/erikras/lru-memoize\nvar NOT_FOUND = 'NOT_FOUND';\n\nfunction createSingletonCache(equals) {\n  var entry;\n  return {\n    get: function get(key) {\n      if (entry && equals(entry.key, key)) {\n        return entry.value;\n      }\n\n      return NOT_FOUND;\n    },\n    put: function put(key, value) {\n      entry = {\n        key: key,\n        value: value\n      };\n    },\n    getEntries: function getEntries() {\n      return entry ? [entry] : [];\n    },\n    clear: function clear() {\n      entry = undefined;\n    }\n  };\n}\n\nfunction createLruCache(maxSize, equals) {\n  var entries = [];\n\n  function get(key) {\n    var cacheIndex = entries.findIndex(function (entry) {\n      return equals(key, entry.key);\n    }); // We found a cached entry\n\n    if (cacheIndex > -1) {\n      var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top\n\n      if (cacheIndex > 0) {\n        entries.splice(cacheIndex, 1);\n        entries.unshift(entry);\n      }\n\n      return entry.value;\n    } // No entry found in cache, return sentinel\n\n\n    return NOT_FOUND;\n  }\n\n  function put(key, value) {\n    if (get(key) === NOT_FOUND) {\n      // TODO Is unshift slow?\n      entries.unshift({\n        key: key,\n        value: value\n      });\n\n      if (entries.length > maxSize) {\n        entries.pop();\n      }\n    }\n  }\n\n  function getEntries() {\n    return entries;\n  }\n\n  function clear() {\n    entries = [];\n  }\n\n  return {\n    get: get,\n    put: put,\n    getEntries: getEntries,\n    clear: clear\n  };\n}\n\nexport var defaultEqualityCheck = function defaultEqualityCheck(a, b) {\n  return a === b;\n};\nexport function createCacheKeyComparator(equalityCheck) {\n  return function areArgumentsShallowlyEqual(prev, next) {\n    if (prev === null || next === null || prev.length !== next.length) {\n      return false;\n    } // Do this in a for loop (and not a `forEach` or an `every`) so we can determine equality as fast as possible.\n\n\n    var length = prev.length;\n\n    for (var i = 0; i < length; i++) {\n      if (!equalityCheck(prev[i], next[i])) {\n        return false;\n      }\n    }\n\n    return true;\n  };\n}\n// defaultMemoize now supports a configurable cache size with LRU behavior,\n// and optional comparison of the result value with existing values\nexport function defaultMemoize(func, equalityCheckOrOptions) {\n  var providedOptions = typeof equalityCheckOrOptions === 'object' ? equalityCheckOrOptions : {\n    equalityCheck: equalityCheckOrOptions\n  };\n  var _providedOptions$equa = providedOptions.equalityCheck,\n      equalityCheck = _providedOptions$equa === void 0 ? defaultEqualityCheck : _providedOptions$equa,\n      _providedOptions$maxS = providedOptions.maxSize,\n      maxSize = _providedOptions$maxS === void 0 ? 1 : _providedOptions$maxS,\n      resultEqualityCheck = providedOptions.resultEqualityCheck;\n  var comparator = createCacheKeyComparator(equalityCheck);\n  var cache = maxSize === 1 ? createSingletonCache(comparator) : createLruCache(maxSize, comparator); // we reference arguments instead of spreading them for performance reasons\n\n  function memoized() {\n    var value = cache.get(arguments);\n\n    if (value === NOT_FOUND) {\n      // @ts-ignore\n      value = func.apply(null, arguments);\n\n      if (resultEqualityCheck) {\n        var entries = cache.getEntries();\n        var matchingEntry = entries.find(function (entry) {\n          return resultEqualityCheck(entry.value, value);\n        });\n\n        if (matchingEntry) {\n          value = matchingEntry.value;\n        }\n      }\n\n      cache.put(arguments, value);\n    }\n\n    return value;\n  }\n\n  memoized.clearCache = function () {\n    return cache.clear();\n  };\n\n  return memoized;\n}","import { defaultMemoize, defaultEqualityCheck } from './defaultMemoize';\nexport { defaultMemoize, defaultEqualityCheck };\n\nfunction getDependencies(funcs) {\n  var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs;\n\n  if (!dependencies.every(function (dep) {\n    return typeof dep === 'function';\n  })) {\n    var dependencyTypes = dependencies.map(function (dep) {\n      return typeof dep === 'function' ? \"function \" + (dep.name || 'unnamed') + \"()\" : typeof dep;\n    }).join(', ');\n    throw new Error(\"createSelector expects all input-selectors to be functions, but received the following types: [\" + dependencyTypes + \"]\");\n  }\n\n  return dependencies;\n}\n\nexport function createSelectorCreator(memoize) {\n  for (var _len = arguments.length, memoizeOptionsFromArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n    memoizeOptionsFromArgs[_key - 1] = arguments[_key];\n  }\n\n  var createSelector = function createSelector() {\n    for (var _len2 = arguments.length, funcs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      funcs[_key2] = arguments[_key2];\n    }\n\n    var _recomputations = 0;\n\n    var _lastResult; // Due to the intricacies of rest params, we can't do an optional arg after `...funcs`.\n    // So, start by declaring the default value here.\n    // (And yes, the words 'memoize' and 'options' appear too many times in this next sequence.)\n\n\n    var directlyPassedOptions = {\n      memoizeOptions: undefined\n    }; // Normally, the result func or \"output selector\" is the last arg\n\n    var resultFunc = funcs.pop(); // If the result func is actually an _object_, assume it's our options object\n\n    if (typeof resultFunc === 'object') {\n      directlyPassedOptions = resultFunc; // and pop the real result func off\n\n      resultFunc = funcs.pop();\n    }\n\n    if (typeof resultFunc !== 'function') {\n      throw new Error(\"createSelector expects an output function after the inputs, but received: [\" + typeof resultFunc + \"]\");\n    } // Determine which set of options we're using. Prefer options passed directly,\n    // but fall back to options given to createSelectorCreator.\n\n\n    var _directlyPassedOption = directlyPassedOptions,\n        _directlyPassedOption2 = _directlyPassedOption.memoizeOptions,\n        memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2; // Simplifying assumption: it's unlikely that the first options arg of the provided memoizer\n    // is an array. In most libs I've looked at, it's an equality function or options object.\n    // Based on that, if `memoizeOptions` _is_ an array, we assume it's a full\n    // user-provided array of options. Otherwise, it must be just the _first_ arg, and so\n    // we wrap it in an array so we can apply it.\n\n    var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions];\n    var dependencies = getDependencies(funcs);\n    var memoizedResultFunc = memoize.apply(void 0, [function recomputationWrapper() {\n      _recomputations++; // apply arguments instead of spreading for performance.\n\n      return resultFunc.apply(null, arguments);\n    }].concat(finalMemoizeOptions)); // If a selector is called with the exact same arguments we don't need to traverse our dependencies again.\n\n    var selector = memoize(function dependenciesChecker() {\n      var params = [];\n      var length = dependencies.length;\n\n      for (var i = 0; i < length; i++) {\n        // apply arguments instead of spreading and mutate a local list of params for performance.\n        // @ts-ignore\n        params.push(dependencies[i].apply(null, arguments));\n      } // apply arguments instead of spreading for performance.\n\n\n      _lastResult = memoizedResultFunc.apply(null, params);\n      return _lastResult;\n    });\n    Object.assign(selector, {\n      resultFunc: resultFunc,\n      memoizedResultFunc: memoizedResultFunc,\n      dependencies: dependencies,\n      lastResult: function lastResult() {\n        return _lastResult;\n      },\n      recomputations: function recomputations() {\n        return _recomputations;\n      },\n      resetRecomputations: function resetRecomputations() {\n        return _recomputations = 0;\n      }\n    });\n    return selector;\n  }; // @ts-ignore\n\n\n  return createSelector;\n}\nexport var createSelector = /* #__PURE__ */createSelectorCreator(defaultMemoize);\n// Manual definition of state and output arguments\nexport var createStructuredSelector = function createStructuredSelector(selectors, selectorCreator) {\n  if (selectorCreator === void 0) {\n    selectorCreator = createSelector;\n  }\n\n  if (typeof selectors !== 'object') {\n    throw new Error('createStructuredSelector expects first argument to be an object ' + (\"where each property is a selector, instead received a \" + typeof selectors));\n  }\n\n  var objectKeys = Object.keys(selectors);\n  var resultSelector = selectorCreator( // @ts-ignore\n  objectKeys.map(function (key) {\n    return selectors[key];\n  }), function () {\n    for (var _len3 = arguments.length, values = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n      values[_key3] = arguments[_key3];\n    }\n\n    return values.reduce(function (composition, value, index) {\n      composition[objectKeys[index]] = value;\n      return composition;\n    }, {});\n  });\n  return resultSelector;\n};","/**\n * @license React\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';function f(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<g(e,b))a[d]=b,a[c]=e,c=d;else break a}}function h(a){return 0===a.length?null:a[0]}function k(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,w=e>>>1;d<w;){var m=2*(d+1)-1,C=a[m],n=m+1,x=a[n];if(0>g(C,c))n<e&&0>g(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(n<e&&0>g(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Q<P?!1:!0}function R(){if(null!==O){var a=exports.unstable_now();Q=a;var b=!0;try{b=O(!0,a)}finally{b?S():(N=!1,O=null)}}else N=!1}var S;if(\"function\"===typeof F)S=function(){F(R)};else if(\"undefined\"!==typeof MessageChannel){var T=new MessageChannel,U=T.port2;T.port1.onmessage=R;S=function(){U.postMessage(null)}}else S=function(){D(R,0)};function I(a){O=a;N||(N=!0,S())}function K(a,b){L=D(function(){a(exports.unstable_now())},b)}\nexports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){A||z||(A=!0,I(J))};\nexports.unstable_forceFrameRate=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):P=0<a?Math.floor(1E3/a):5};exports.unstable_getCurrentPriorityLevel=function(){return y};exports.unstable_getFirstCallbackNode=function(){return h(r)};exports.unstable_next=function(a){switch(y){case 1:case 2:case 3:var b=3;break;default:b=y}var c=y;y=b;try{return a()}finally{y=c}};exports.unstable_pauseExecution=function(){};\nexports.unstable_requestPaint=function(){};exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=y;y=a;try{return b()}finally{y=c}};\nexports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();\"object\"===typeof c&&null!==c?(c=c.delay,c=\"number\"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:u++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n  module.exports = require('./cjs/scheduler.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n  var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n  if (ret !== void 0) {\n    return !!ret;\n  }\n\n  if (objA === objB) {\n    return true;\n  }\n\n  if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n    return false;\n  }\n\n  var keysA = Object.keys(objA);\n  var keysB = Object.keys(objB);\n\n  if (keysA.length !== keysB.length) {\n    return false;\n  }\n\n  var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n  // Test for A's keys different from B.\n  for (var idx = 0; idx < keysA.length; idx++) {\n    var key = keysA[idx];\n\n    if (!bHasOwnProperty(key)) {\n      return false;\n    }\n\n    var valueA = objA[key];\n    var valueB = objB[key];\n\n    ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n    if (ret === false || (ret === void 0 && valueA !== valueB)) {\n      return false;\n    }\n  }\n\n  return true;\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar POW_8 = Math.pow(2, 8);\nvar POW_16 = Math.pow(2, 16);\nvar POW_24 = Math.pow(2, 24);\nvar POW_32 = Math.pow(2, 32);\nvar POW_40 = Math.pow(2, 40);\nvar POW_48 = Math.pow(2, 48);\nvar POW_52 = Math.pow(2, 52);\nvar POW_1022 = Math.pow(2, 1022);\n\nexports.readByte = function(b){\n\treturn b > 127 ? b-256 : b;\n};\n\nexports.readI16 = function(buff, off) {\n  off = off || 0;\n  var v = buff[off + 1];\n  v += buff[off] << 8;\n  if (buff[off] & 128) {\n    v -= POW_16;\n  }\n  return v;\n};\n\nexports.readI32 = function(buff, off) {\n  off = off || 0;\n  var v = buff[off + 3];\n  v += buff[off + 2] << 8;\n  v += buff[off + 1] << 16;\n  v += buff[off] * POW_24;\n  if (buff[off] & 0x80) {\n    v -= POW_32;\n  }\n  return v;\n};\n\nexports.writeI16 = function(buff, v) {\n  buff[1] = v & 0xff;\n  v >>= 8;\n  buff[0] = v & 0xff;\n  return buff;\n};\n\nexports.writeI32 = function(buff, v) {\n  buff[3] = v & 0xff;\n  v >>= 8;\n  buff[2] = v & 0xff;\n  v >>= 8;\n  buff[1] = v & 0xff;\n  v >>= 8;\n  buff[0] = v & 0xff;\n  return buff;\n};\n\nexports.readDouble = function(buff, off) {\n  off = off || 0;\n  var signed = buff[off] & 0x80;\n  var e = (buff[off+1] & 0xF0) >> 4;\n  e += (buff[off] & 0x7F) << 4;\n\n  var m = buff[off+7];\n  m += buff[off+6] << 8;\n  m += buff[off+5] << 16;\n  m += buff[off+4] * POW_24;\n  m += buff[off+3] * POW_32;\n  m += buff[off+2] * POW_40;\n  m += (buff[off+1] & 0x0F) * POW_48;\n\n  switch (e) {\n    case 0:\n      e = -1022;\n      break;\n    case 2047:\n      return m ? NaN : (signed ? -Infinity : Infinity);\n    default:\n      m += POW_52;\n      e -= 1023;\n  }\n\n  if (signed) {\n    m *= -1;\n  }\n\n  return m * Math.pow(2, e - 52);\n};\n\n/*\n * Based on code from the jspack module:\n * http://code.google.com/p/jspack/\n */\nexports.writeDouble = function(buff, v) {\n  var m, e, c;\n\n  buff[0] = (v < 0 ? 0x80 : 0x00);\n\n  v = Math.abs(v);\n  if (v !== v) {\n    // NaN, use QNaN IEEE format\n    m = 2251799813685248;\n    e = 2047;\n  } else if (v === Infinity) {\n    m = 0;\n    e = 2047;\n  } else {\n    e = Math.floor(Math.log(v) / Math.LN2);\n    c = Math.pow(2, -e);\n    if (v * c < 1) {\n      e--;\n      c *= 2;\n    }\n\n    if (e + 1023 >= 2047)\n    {\n      // Overflow\n      m = 0;\n      e = 2047;\n    }\n    else if (e + 1023 >= 1)\n    {\n      // Normalized - term order matters, as Math.pow(2, 52-e) and v*Math.pow(2, 52) can overflow\n      m = (v*c-1) * POW_52;\n      e += 1023;\n    }\n    else\n    {\n      // Denormalized - also catches the '0' case, somewhat by chance\n      m = (v * POW_1022) * POW_52;\n      e = 0;\n    }\n  }\n\n  buff[1] = (e << 4) & 0xf0;\n  buff[0] |= (e >> 4) & 0x7f;\n\n  buff[7] = m & 0xff;\n  m = Math.floor(m / POW_8);\n  buff[6] = m & 0xff;\n  m = Math.floor(m / POW_8);\n  buff[5] = m & 0xff;\n  m = Math.floor(m / POW_8);\n  buff[4] = m & 0xff;\n  m >>= 8;\n  buff[3] = m & 0xff;\n  m >>= 8;\n  buff[2] = m & 0xff;\n  m >>= 8;\n  buff[1] |= m & 0x0f;\n\n  return buff;\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar log = require('./log');\nvar binary = require('./binary');\nvar Int64 = require('node-int64');\nvar Thrift = require('./thrift');\nvar Type = Thrift.Type;\n\nmodule.exports = TBinaryProtocol;\n\n// JavaScript supports only numeric doubles, therefore even hex values are always signed.\n// The largest integer value which can be represented in JavaScript is +/-2^53.\n// Bitwise operations convert numbers to 32 bit integers but perform sign extension\n// upon assigning values back to variables.\nvar VERSION_MASK = -65536,   // 0xffff0000\n    VERSION_1 = -2147418112, // 0x80010000\n    TYPE_MASK = 0x000000ff;\n\nTBinaryProtocol.VERSION_MASK = VERSION_MASK;\nTBinaryProtocol.VERSION_1 = VERSION_1;\nTBinaryProtocol.TYPE_MASK = TYPE_MASK\n\nfunction TBinaryProtocol(trans, strictRead, strictWrite) {\n  this.trans = trans;\n  this.strictRead = (strictRead !== undefined ? strictRead : false);\n  this.strictWrite = (strictWrite !== undefined ? strictWrite : true);\n  this._seqid = null;\n};\n\nTBinaryProtocol.prototype.flush = function() {\n  return this.trans.flush();\n};\n\nTBinaryProtocol.prototype.writeMessageBegin = function(name, type, seqid) {\n    if (this.strictWrite) {\n      this.writeI32(VERSION_1 | type);\n      this.writeString(name);\n      this.writeI32(seqid);\n    } else {\n      this.writeString(name);\n      this.writeByte(type);\n      this.writeI32(seqid);\n    }\n    // Record client seqid to find callback again\n    if (this._seqid !== null) {\n      log.warning('SeqId already set', { 'name': name });\n    } else {\n      this._seqid = seqid;\n      this.trans.setCurrSeqId(seqid);\n    }\n};\n\nTBinaryProtocol.prototype.writeMessageEnd = function() {\n    if (this._seqid !== null) {\n        this._seqid = null;\n    } else {\n        log.warning('No seqid to unset');\n    }\n};\n\nTBinaryProtocol.prototype.writeStructBegin = function(name) {\n};\n\nTBinaryProtocol.prototype.writeStructEnd = function() {\n};\n\nTBinaryProtocol.prototype.writeFieldBegin = function(name, type, id) {\n  this.writeByte(type);\n  this.writeI16(id);\n};\n\nTBinaryProtocol.prototype.writeFieldEnd = function() {\n};\n\nTBinaryProtocol.prototype.writeFieldStop = function() {\n  this.writeByte(Type.STOP);\n};\n\nTBinaryProtocol.prototype.writeMapBegin = function(ktype, vtype, size) {\n  this.writeByte(ktype);\n  this.writeByte(vtype);\n  this.writeI32(size);\n};\n\nTBinaryProtocol.prototype.writeMapEnd = function() {\n};\n\nTBinaryProtocol.prototype.writeListBegin = function(etype, size) {\n  this.writeByte(etype);\n  this.writeI32(size);\n};\n\nTBinaryProtocol.prototype.writeListEnd = function() {\n};\n\nTBinaryProtocol.prototype.writeSetBegin = function(etype, size) {\n  this.writeByte(etype);\n  this.writeI32(size);\n};\n\nTBinaryProtocol.prototype.writeSetEnd = function() {\n};\n\nTBinaryProtocol.prototype.writeBool = function(bool) {\n  if (bool) {\n    this.writeByte(1);\n  } else {\n    this.writeByte(0);\n  }\n};\n\nTBinaryProtocol.prototype.writeByte = function(b) {\n  this.trans.write(new Buffer([b]));\n};\n\nTBinaryProtocol.prototype.writeI16 = function(i16) {\n  this.trans.write(binary.writeI16(new Buffer(2), i16));\n};\n\nTBinaryProtocol.prototype.writeI32 = function(i32) {\n  this.trans.write(binary.writeI32(new Buffer(4), i32));\n};\n\nTBinaryProtocol.prototype.writeI64 = function(i64) {\n  if (i64.buffer) {\n    this.trans.write(i64.buffer);\n  } else {\n    this.trans.write(new Int64(i64).buffer);\n  }\n};\n\nTBinaryProtocol.prototype.writeDouble = function(dub) {\n  this.trans.write(binary.writeDouble(new Buffer(8), dub));\n};\n\nTBinaryProtocol.prototype.writeStringOrBinary = function(name, encoding, arg) {\n  if (typeof(arg) === 'string') {\n    this.writeI32(Buffer.byteLength(arg, encoding));\n    this.trans.write(new Buffer(arg, encoding));\n  } else if ((arg instanceof Buffer) ||\n             (Object.prototype.toString.call(arg) == '[object Uint8Array]')) {\n    // Buffers in Node.js under Browserify may extend UInt8Array instead of\n    // defining a new object. We detect them here so we can write them\n    // correctly\n    this.writeI32(arg.length);\n    this.trans.write(arg);\n  } else {\n    throw new Error(name + ' called without a string/Buffer argument: ' + arg);\n  }\n};\n\nTBinaryProtocol.prototype.writeString = function(arg) {\n  this.writeStringOrBinary('writeString', 'utf8', arg);\n};\n\nTBinaryProtocol.prototype.writeBinary = function(arg) {\n  this.writeStringOrBinary('writeBinary', 'binary', arg);\n};\n\nTBinaryProtocol.prototype.readMessageBegin = function() {\n  var sz = this.readI32();\n  var type, name, seqid;\n\n  if (sz < 0) {\n    var version = sz & VERSION_MASK;\n    if (version != VERSION_1) {\n      throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.BAD_VERSION, \"Bad version in readMessageBegin: \" + sz);\n    }\n    type = sz & TYPE_MASK;\n    name = this.readString();\n    seqid = this.readI32();\n  } else {\n    if (this.strictRead) {\n      throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.BAD_VERSION, \"No protocol version header\");\n    }\n    name = this.trans.read(sz);\n    type = this.readByte();\n    seqid = this.readI32();\n  }\n  return {fname: name, mtype: type, rseqid: seqid};\n};\n\nTBinaryProtocol.prototype.readMessageEnd = function() {\n};\n\nTBinaryProtocol.prototype.readStructBegin = function() {\n  return {fname: ''};\n};\n\nTBinaryProtocol.prototype.readStructEnd = function() {\n};\n\nTBinaryProtocol.prototype.readFieldBegin = function() {\n  var type = this.readByte();\n  if (type == Type.STOP) {\n    return {fname: null, ftype: type, fid: 0};\n  }\n  var id = this.readI16();\n  return {fname: null, ftype: type, fid: id};\n};\n\nTBinaryProtocol.prototype.readFieldEnd = function() {\n};\n\nTBinaryProtocol.prototype.readMapBegin = function() {\n  var ktype = this.readByte();\n  var vtype = this.readByte();\n  var size = this.readI32();\n  return {ktype: ktype, vtype: vtype, size: size};\n};\n\nTBinaryProtocol.prototype.readMapEnd = function() {\n};\n\nTBinaryProtocol.prototype.readListBegin = function() {\n  var etype = this.readByte();\n  var size = this.readI32();\n  return {etype: etype, size: size};\n};\n\nTBinaryProtocol.prototype.readListEnd = function() {\n};\n\nTBinaryProtocol.prototype.readSetBegin = function() {\n  var etype = this.readByte();\n  var size = this.readI32();\n  return {etype: etype, size: size};\n};\n\nTBinaryProtocol.prototype.readSetEnd = function() {\n};\n\nTBinaryProtocol.prototype.readBool = function() {\n  var b = this.readByte();\n  if (b === 0) {\n    return false;\n  }\n  return true;\n};\n\nTBinaryProtocol.prototype.readByte = function() {\n  return this.trans.readByte();\n};\n\nTBinaryProtocol.prototype.readI16 = function() {\n  return this.trans.readI16();\n};\n\nTBinaryProtocol.prototype.readI32 = function() {\n  return this.trans.readI32();\n};\n\nTBinaryProtocol.prototype.readI64 = function() {\n  var buff = this.trans.read(8);\n  return new Int64(buff);\n};\n\nTBinaryProtocol.prototype.readDouble = function() {\n  return this.trans.readDouble();\n};\n\nTBinaryProtocol.prototype.readBinary = function() {\n  var len = this.readI32();\n  if (len === 0) {\n    return new Buffer(0);\n  }\n\n  if (len < 0) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.NEGATIVE_SIZE, \"Negative binary size\");\n  }\n  return this.trans.read(len);\n};\n\nTBinaryProtocol.prototype.readString = function() {\n  var len = this.readI32();\n  if (len === 0) {\n    return \"\";\n  }\n\n  if (len < 0) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.NEGATIVE_SIZE, \"Negative string size\");\n  }\n  return this.trans.readString(len);\n};\n\nTBinaryProtocol.prototype.getTransport = function() {\n  return this.trans;\n};\n\nTBinaryProtocol.prototype.skip = function(type) {\n  switch (type) {\n    case Type.BOOL:\n      this.readBool();\n      break;\n    case Type.BYTE:\n      this.readByte();\n      break;\n    case Type.I16:\n      this.readI16();\n      break;\n    case Type.I32:\n      this.readI32();\n      break;\n    case Type.I64:\n      this.readI64();\n      break;\n    case Type.DOUBLE:\n      this.readDouble();\n      break;\n    case Type.STRING:\n      this.readString();\n      break;\n    case Type.STRUCT:\n      this.readStructBegin();\n      while (true) {\n        var r = this.readFieldBegin();\n        if (r.ftype === Type.STOP) {\n          break;\n        }\n        this.skip(r.ftype);\n        this.readFieldEnd();\n      }\n      this.readStructEnd();\n      break;\n    case Type.MAP:\n      var mapBegin = this.readMapBegin();\n      for (var i = 0; i < mapBegin.size; ++i) {\n        this.skip(mapBegin.ktype);\n        this.skip(mapBegin.vtype);\n      }\n      this.readMapEnd();\n      break;\n    case Type.SET:\n      var setBegin = this.readSetBegin();\n      for (var i2 = 0; i2 < setBegin.size; ++i2) {\n        this.skip(setBegin.etype);\n      }\n      this.readSetEnd();\n      break;\n    case Type.LIST:\n      var listBegin = this.readListBegin();\n      for (var i3 = 0; i3 < listBegin.size; ++i3) {\n        this.skip(listBegin.etype);\n      }\n      this.readListEnd();\n      break;\n    default:\n      throw new  Error(\"Invalid type: \" + type);\n  }\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\nexports.Thrift = require('./thrift');\n\nvar wsConnection = require('./ws_connection');\nexports.WSConnection = wsConnection.WSConnection;\nexports.createWSConnection = wsConnection.createWSConnection;\nexports.createWSClient = wsConnection.createWSClient;\n\nvar xhrConnection = require('./xhr_connection');\nexports.XHRConnection = xhrConnection.XHRConnection;\nexports.createXHRConnection = xhrConnection.createXHRConnection;\nexports.createXHRClient = xhrConnection.createXHRClient;\n\n\nexports.Int64 = require('node-int64');\nexports.Q = require('q');\n\nvar mpxProtocol = require('./multiplexed_protocol');\nexports.Multiplexer = mpxProtocol.Multiplexer;\n\n/*\n * Export transport and protocol so they can be used outside of a\n * cassandra/server context\n */\nexports.TBufferedTransport = require('./buffered_transport');\nexports.TFramedTransport = require('./framed_transport');\nexports.TWebSocketTransport = require('./ws_transport');\n\nexports.Protocol = require('./json_protocol');\nexports.TJSONProtocol = require('./json_protocol');\nexports.TBinaryProtocol = require('./binary_protocol');\nexports.TCompactProtocol = require('./compact_protocol');\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar binary = require('./binary');\nvar InputBufferUnderrunError = require('./input_buffer_underrun_error');\nvar THeaderTransport = require('./header_transport');\n\nmodule.exports = TBufferedTransport;\n\nfunction TBufferedTransport(buffer, callback) {\n  this.defaultReadBufferSize = 1024;\n  this.writeBufferSize = 512; // Soft Limit\n  this.inBuf = new Buffer(this.defaultReadBufferSize);\n  this.readCursor = 0;\n  this.writeCursor = 0; // for input buffer\n  this.outBuffers = [];\n  this.outCount = 0;\n  this.onFlush = callback;\n};\n\nTBufferedTransport.prototype = new THeaderTransport();\n\nTBufferedTransport.prototype.reset = function() {\n  this.inBuf = new Buffer(this.defaultReadBufferSize);\n  this.readCursor = 0;\n  this.writeCursor = 0;\n  this.outBuffers = [];\n  this.outCount = 0;\n}\n\nTBufferedTransport.receiver = function(callback, seqid) {\n  var reader = new TBufferedTransport();\n\n  return function(data) {\n    if (reader.writeCursor + data.length > reader.inBuf.length) {\n      var buf = new Buffer(reader.writeCursor + data.length);\n      reader.inBuf.copy(buf, 0, 0, reader.writeCursor);\n      reader.inBuf = buf;\n    }\n    data.copy(reader.inBuf, reader.writeCursor, 0);\n    reader.writeCursor += data.length;\n\n    callback(reader, seqid);\n  };\n};\n\n\nTBufferedTransport.prototype.commitPosition = function(){\n  var unreadSize = this.writeCursor - this.readCursor;\n  var bufSize = (unreadSize * 2 > this.defaultReadBufferSize) ?\n    unreadSize * 2 : this.defaultReadBufferSize;\n  var buf = new Buffer(bufSize);\n  if (unreadSize > 0) {\n    this.inBuf.copy(buf, 0, this.readCursor, this.writeCursor);\n  }\n  this.readCursor = 0;\n  this.writeCursor = unreadSize;\n  this.inBuf = buf;\n};\n\nTBufferedTransport.prototype.rollbackPosition = function(){\n  this.readCursor = 0;\n}\n\n  // TODO: Implement open/close support\nTBufferedTransport.prototype.isOpen = function() {\n  return true;\n};\n\nTBufferedTransport.prototype.open = function() {\n};\n\nTBufferedTransport.prototype.close = function() {\n};\n\n  // Set the seqid of the message in the client\n  // So that callbacks can be found\nTBufferedTransport.prototype.setCurrSeqId = function(seqid) {\n  this._seqid = seqid;\n};\n\nTBufferedTransport.prototype.ensureAvailable = function(len) {\n  if (this.readCursor + len > this.writeCursor) {\n    throw new InputBufferUnderrunError();\n  }\n};\n\nTBufferedTransport.prototype.read = function(len) {\n  this.ensureAvailable(len);\n  var buf = new Buffer(len);\n  this.inBuf.copy(buf, 0, this.readCursor, this.readCursor + len);\n  this.readCursor += len;\n  return buf;\n};\n\nTBufferedTransport.prototype.readByte = function() {\n  this.ensureAvailable(1);\n  return binary.readByte(this.inBuf[this.readCursor++]);\n};\n\nTBufferedTransport.prototype.readI16 = function() {\n  this.ensureAvailable(2);\n  var i16 = binary.readI16(this.inBuf, this.readCursor);\n  this.readCursor += 2;\n  return i16;\n};\n\nTBufferedTransport.prototype.readI32 = function() {\n  this.ensureAvailable(4);\n  var i32 = binary.readI32(this.inBuf, this.readCursor);\n  this.readCursor += 4;\n  return i32;\n};\n\nTBufferedTransport.prototype.readDouble = function() {\n  this.ensureAvailable(8);\n  var d = binary.readDouble(this.inBuf, this.readCursor);\n  this.readCursor += 8;\n  return d;\n};\n\nTBufferedTransport.prototype.readString = function(len) {\n  this.ensureAvailable(len);\n  var str = this.inBuf.toString('utf8', this.readCursor, this.readCursor + len);\n  this.readCursor += len;\n  return str;\n};\n\nTBufferedTransport.prototype.borrow = function() {\n  var obj = {buf: this.inBuf, readIndex: this.readCursor, writeIndex: this.writeCursor};\n  return obj;\n};\n\nTBufferedTransport.prototype.consume = function(bytesConsumed) {\n  this.readCursor += bytesConsumed;\n};\n\nTBufferedTransport.prototype.write = function(buf) {\n  if (typeof(buf) === \"string\") {\n    buf = new Buffer(buf, 'utf8');\n  }\n  this.outBuffers.push(buf);\n  this.outCount += buf.length;\n};\n\nTBufferedTransport.prototype.flush = function() {\n  // If the seqid of the callback is available pass it to the onFlush\n  // Then remove the current seqid\n  var seqid = this._seqid;\n  this._seqid = null;\n\n  if (this.outCount < 1) {\n    return;\n  }\n\n  var msg = new Buffer(this.outCount),\n      pos = 0;\n  this.outBuffers.forEach(function(buf) {\n    buf.copy(msg, pos, 0);\n    pos += buf.length;\n  });\n\n  if (this.onFlush) {\n    // Passing seqid through this call to get it to the connection\n    this.onFlush(msg, seqid);\n  }\n\n  this.outBuffers = [];\n  this.outCount = 0;\n}\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar log = require('./log');\nvar Int64 = require('node-int64');\nvar Thrift = require('./thrift');\nvar Type = Thrift.Type;\n\nmodule.exports = TCompactProtocol;\n\nvar POW_8 = Math.pow(2, 8);\nvar POW_24 = Math.pow(2, 24);\nvar POW_32 = Math.pow(2, 32);\nvar POW_40 = Math.pow(2, 40);\nvar POW_48 = Math.pow(2, 48);\nvar POW_52 = Math.pow(2, 52);\nvar POW_1022 = Math.pow(2, 1022);\n\n/**\n * Constructor Function for the Compact Protocol.\n * @constructor\n * @param {object} [trans] - The underlying transport to read/write.\n * @classdesc The Apache Thrift Protocol layer performs serialization\n *     of base types, the compact protocol serializes data in binary\n *     form with minimal space used for scalar values.\n */\nfunction TCompactProtocol(trans) {\n  this.trans = trans;\n  this.lastField_ = [];\n  this.lastFieldId_ = 0;\n  this.string_limit_ = 0;\n  this.string_buf_ = null;\n  this.string_buf_size_ = 0;\n  this.container_limit_ = 0;\n  this.booleanField_ = {\n    name: null,\n    hasBoolValue: false\n  };\n  this.boolValue_ = {\n    hasBoolValue: false,\n    boolValue: false\n  };\n};\n\n\n//\n// Compact Protocol Constants\n//\n\n/**\n  * Compact Protocol ID number.\n  * @readonly\n  * @const {number} PROTOCOL_ID\n  */\nTCompactProtocol.PROTOCOL_ID = -126;  //1000 0010\n\n/**\n  * Compact Protocol version number.\n  * @readonly\n  * @const {number} VERSION_N\n  */\nTCompactProtocol.VERSION_N = 1;\n\n/**\n  * Compact Protocol version mask for combining protocol version and message type in one byte.\n  * @readonly\n  * @const {number} VERSION_MASK\n  */\nTCompactProtocol.VERSION_MASK = 0x1f; //0001 1111\n\n/**\n  * Compact Protocol message type mask for combining protocol version and message type in one byte.\n  * @readonly\n  * @const {number} TYPE_MASK\n  */\nTCompactProtocol.TYPE_MASK = -32;     //1110 0000\n\n/**\n  * Compact Protocol message type bits for ensuring message type bit size.\n  * @readonly\n  * @const {number} TYPE_BITS\n  */\nTCompactProtocol.TYPE_BITS = 7; //0000 0111\n\n/**\n  * Compact Protocol message type shift amount for combining protocol version and message type in one byte.\n  * @readonly\n  * @const {number} TYPE_SHIFT_AMOUNT\n  */\nTCompactProtocol.TYPE_SHIFT_AMOUNT = 5;\n\n/**\n * Compact Protocol type IDs used to keep type data within one nibble.\n * @readonly\n * @property {number}  CT_STOP          - End of a set of fields.\n * @property {number}  CT_BOOLEAN_TRUE  - Flag for Boolean field with true value (packed field and value).\n * @property {number}  CT_BOOLEAN_FALSE - Flag for Boolean field with false value (packed field and value).\n * @property {number}  CT_BYTE          - Signed 8 bit integer.\n * @property {number}  CT_I16           - Signed 16 bit integer.\n * @property {number}  CT_I32           - Signed 32 bit integer.\n * @property {number}  CT_I64           - Signed 64 bit integer (2^53 max in JavaScript).\n * @property {number}  CT_DOUBLE        - 64 bit IEEE 854 floating point.\n * @property {number}  CT_BINARY        - Array of bytes (used for strings also).\n * @property {number}  CT_LIST          - A collection type (unordered).\n * @property {number}  CT_SET           - A collection type (unordered and without repeated values).\n * @property {number}  CT_MAP           - A collection type (map/associative-array/dictionary).\n * @property {number}  CT_STRUCT        - A multifield type.\n */\nTCompactProtocol.Types = {\n  CT_STOP:           0x00,\n  CT_BOOLEAN_TRUE:   0x01,\n  CT_BOOLEAN_FALSE:  0x02,\n  CT_BYTE:           0x03,\n  CT_I16:            0x04,\n  CT_I32:            0x05,\n  CT_I64:            0x06,\n  CT_DOUBLE:         0x07,\n  CT_BINARY:         0x08,\n  CT_LIST:           0x09,\n  CT_SET:            0x0A,\n  CT_MAP:            0x0B,\n  CT_STRUCT:         0x0C\n};\n\n/**\n * Array mapping Compact type IDs to standard Thrift type IDs.\n * @readonly\n */\nTCompactProtocol.TTypeToCType = [\n  TCompactProtocol.Types.CT_STOP,         // T_STOP\n  0,                                      // unused\n  TCompactProtocol.Types.CT_BOOLEAN_TRUE, // T_BOOL\n  TCompactProtocol.Types.CT_BYTE,         // T_BYTE\n  TCompactProtocol.Types.CT_DOUBLE,       // T_DOUBLE\n  0,                                      // unused\n  TCompactProtocol.Types.CT_I16,          // T_I16\n  0,                                      // unused\n  TCompactProtocol.Types.CT_I32,          // T_I32\n  0,                                      // unused\n  TCompactProtocol.Types.CT_I64,          // T_I64\n  TCompactProtocol.Types.CT_BINARY,       // T_STRING\n  TCompactProtocol.Types.CT_STRUCT,       // T_STRUCT\n  TCompactProtocol.Types.CT_MAP,          // T_MAP\n  TCompactProtocol.Types.CT_SET,          // T_SET\n  TCompactProtocol.Types.CT_LIST,         // T_LIST\n];\n\n\n//\n// Compact Protocol Utilities\n//\n\n/**\n * Returns the underlying transport layer.\n * @return {object} The underlying transport layer.\n */TCompactProtocol.prototype.getTransport = function() {\n  return this.trans;\n};\n\n/**\n * Lookup a Compact Protocol Type value for a given Thrift Type value.\n * N.B. Used only internally.\n * @param {number} ttype - Thrift type value\n * @returns {number} Compact protocol type value\n */\nTCompactProtocol.prototype.getCompactType = function(ttype) {\n  return TCompactProtocol.TTypeToCType[ttype];\n};\n\n/**\n * Lookup a Thrift Type value for a given Compact Protocol Type value.\n * N.B. Used only internally.\n * @param {number} type - Compact Protocol type value\n * @returns {number} Thrift Type value\n */\nTCompactProtocol.prototype.getTType = function(type) {\n  switch (type) {\n    case Type.STOP:\n      return Type.STOP;\n    case TCompactProtocol.Types.CT_BOOLEAN_FALSE:\n    case TCompactProtocol.Types.CT_BOOLEAN_TRUE:\n      return Type.BOOL;\n    case TCompactProtocol.Types.CT_BYTE:\n      return Type.BYTE;\n    case TCompactProtocol.Types.CT_I16:\n      return Type.I16;\n    case TCompactProtocol.Types.CT_I32:\n      return Type.I32;\n    case TCompactProtocol.Types.CT_I64:\n      return Type.I64;\n    case TCompactProtocol.Types.CT_DOUBLE:\n      return Type.DOUBLE;\n    case TCompactProtocol.Types.CT_BINARY:\n      return Type.STRING;\n    case TCompactProtocol.Types.CT_LIST:\n      return Type.LIST;\n    case TCompactProtocol.Types.CT_SET:\n      return Type.SET;\n    case TCompactProtocol.Types.CT_MAP:\n      return Type.MAP;\n    case TCompactProtocol.Types.CT_STRUCT:\n      return Type.STRUCT;\n    default:\n      throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.INVALID_DATA, \"Unknown type: \" + type);\n  }\n  return Type.STOP;\n};\n\n\n//\n// Compact Protocol write operations\n//\n\n/**\n * Send any buffered bytes to the end point.\n */\nTCompactProtocol.prototype.flush = function() {\n  return this.trans.flush();\n};\n\n/**\n * Writes an RPC message header\n * @param {string} name - The method name for the message.\n * @param {number} type - The type of message (CALL, REPLY, EXCEPTION, ONEWAY).\n * @param {number} seqid - The call sequence number (if any).\n */\nTCompactProtocol.prototype.writeMessageBegin = function(name, type, seqid) {\n  this.writeByte(TCompactProtocol.PROTOCOL_ID);\n  this.writeByte((TCompactProtocol.VERSION_N & TCompactProtocol.VERSION_MASK) |\n                     ((type << TCompactProtocol.TYPE_SHIFT_AMOUNT) & TCompactProtocol.TYPE_MASK));\n  this.writeVarint32(seqid);\n  this.writeString(name);\n\n  // Record client seqid to find callback again\n  if (this._seqid) {\n    log.warning('SeqId already set', { 'name': name });\n  } else {\n    this._seqid = seqid;\n    this.trans.setCurrSeqId(seqid);\n  }\n};\n\nTCompactProtocol.prototype.writeMessageEnd = function() {\n};\n\nTCompactProtocol.prototype.writeStructBegin = function(name) {\n  this.lastField_.push(this.lastFieldId_);\n  this.lastFieldId_ = 0;\n};\n\nTCompactProtocol.prototype.writeStructEnd = function() {\n  this.lastFieldId_ = this.lastField_.pop();\n};\n\n/**\n * Writes a struct field header\n * @param {string} name - The field name (not written with the compact protocol).\n * @param {number} type - The field data type (a normal Thrift field Type).\n * @param {number} id - The IDL field Id.\n */\nTCompactProtocol.prototype.writeFieldBegin = function(name, type, id) {\n  if (type != Type.BOOL) {\n    return this.writeFieldBeginInternal(name, type, id, -1);\n  }\n\n  this.booleanField_.name = name;\n  this.booleanField_.fieldType = type;\n  this.booleanField_.fieldId = id;\n};\n\nTCompactProtocol.prototype.writeFieldEnd = function() {\n};\n\nTCompactProtocol.prototype.writeFieldStop = function() {\n  this.writeByte(TCompactProtocol.Types.CT_STOP);\n};\n\n/**\n * Writes a map collection header\n * @param {number} keyType - The Thrift type of the map keys.\n * @param {number} valType - The Thrift type of the map values.\n * @param {number} size - The number of k/v pairs in the map.\n */\nTCompactProtocol.prototype.writeMapBegin = function(keyType, valType, size) {\n  if (size === 0) {\n    this.writeByte(0);\n  } else {\n    this.writeVarint32(size);\n    this.writeByte(this.getCompactType(keyType) << 4 | this.getCompactType(valType));\n  }\n};\n\nTCompactProtocol.prototype.writeMapEnd = function() {\n};\n\n/**\n * Writes a list collection header\n * @param {number} elemType - The Thrift type of the list elements.\n * @param {number} size - The number of elements in the list.\n */\nTCompactProtocol.prototype.writeListBegin = function(elemType, size) {\n  this.writeCollectionBegin(elemType, size);\n};\n\nTCompactProtocol.prototype.writeListEnd = function() {\n};\n\n/**\n * Writes a set collection header\n * @param {number} elemType - The Thrift type of the set elements.\n * @param {number} size - The number of elements in the set.\n */\nTCompactProtocol.prototype.writeSetBegin = function(elemType, size) {\n  this.writeCollectionBegin(elemType, size);\n};\n\nTCompactProtocol.prototype.writeSetEnd = function() {\n};\n\nTCompactProtocol.prototype.writeBool = function(value) {\n  if (this.booleanField_.name !== null) {\n    // we haven't written the field header yet\n    this.writeFieldBeginInternal(this.booleanField_.name,\n                                 this.booleanField_.fieldType,\n                                 this.booleanField_.fieldId,\n                                 (value ? TCompactProtocol.Types.CT_BOOLEAN_TRUE\n                                          : TCompactProtocol.Types.CT_BOOLEAN_FALSE));\n    this.booleanField_.name = null;\n  } else {\n    // we're not part of a field, so just write the value\n    this.writeByte((value ? TCompactProtocol.Types.CT_BOOLEAN_TRUE\n                            : TCompactProtocol.Types.CT_BOOLEAN_FALSE));\n  }\n};\n\nTCompactProtocol.prototype.writeByte = function(b) {\n  this.trans.write(new Buffer([b]));\n};\n\nTCompactProtocol.prototype.writeI16 = function(i16) {\n  this.writeVarint32(this.i32ToZigzag(i16));\n};\n\nTCompactProtocol.prototype.writeI32 = function(i32) {\n  this.writeVarint32(this.i32ToZigzag(i32));\n};\n\nTCompactProtocol.prototype.writeI64 = function(i64) {\n  this.writeVarint64(this.i64ToZigzag(i64));\n};\n\n// Little-endian, unlike TBinaryProtocol\nTCompactProtocol.prototype.writeDouble = function(v) {\n  var buff = new Buffer(8);\n  var m, e, c;\n\n  buff[7] = (v < 0 ? 0x80 : 0x00);\n\n  v = Math.abs(v);\n  if (v !== v) {\n    // NaN, use QNaN IEEE format\n    m = 2251799813685248;\n    e = 2047;\n  } else if (v === Infinity) {\n    m = 0;\n    e = 2047;\n  } else {\n    e = Math.floor(Math.log(v) / Math.LN2);\n    c = Math.pow(2, -e);\n    if (v * c < 1) {\n      e--;\n      c *= 2;\n    }\n\n    if (e + 1023 >= 2047)\n    {\n      // Overflow\n      m = 0;\n      e = 2047;\n    }\n    else if (e + 1023 >= 1)\n    {\n      // Normalized - term order matters, as Math.pow(2, 52-e) and v*Math.pow(2, 52) can overflow\n      m = (v*c-1) * POW_52;\n      e += 1023;\n    }\n    else\n    {\n      // Denormalized - also catches the '0' case, somewhat by chance\n      m = (v * POW_1022) * POW_52;\n      e = 0;\n    }\n  }\n\n  buff[6] = (e << 4) & 0xf0;\n  buff[7] |= (e >> 4) & 0x7f;\n\n  buff[0] = m & 0xff;\n  m = Math.floor(m / POW_8);\n  buff[1] = m & 0xff;\n  m = Math.floor(m / POW_8);\n  buff[2] = m & 0xff;\n  m = Math.floor(m / POW_8);\n  buff[3] = m & 0xff;\n  m >>= 8;\n  buff[4] = m & 0xff;\n  m >>= 8;\n  buff[5] = m & 0xff;\n  m >>= 8;\n  buff[6] |= m & 0x0f;\n\n  this.trans.write(buff);\n};\n\nTCompactProtocol.prototype.writeStringOrBinary = function(name, encoding, arg) {\n  if (typeof arg === 'string') {\n    this.writeVarint32(Buffer.byteLength(arg, encoding)) ;\n    this.trans.write(new Buffer(arg, encoding));\n  } else if (arg instanceof Buffer ||\n             Object.prototype.toString.call(arg) == '[object Uint8Array]') {\n    // Buffers in Node.js under Browserify may extend UInt8Array instead of\n    // defining a new object. We detect them here so we can write them\n    // correctly\n    this.writeVarint32(arg.length);\n    this.trans.write(arg);\n  } else {\n    throw new Error(name + ' called without a string/Buffer argument: ' + arg);\n  }\n};\n\nTCompactProtocol.prototype.writeString = function(arg) {\n  this.writeStringOrBinary('writeString', 'utf8', arg);\n};\n\nTCompactProtocol.prototype.writeBinary = function(arg) {\n  this.writeStringOrBinary('writeBinary', 'binary', arg);\n};\n\n\n//\n// Compact Protocol internal write methods\n//\n\nTCompactProtocol.prototype.writeFieldBeginInternal = function(name,\n                                                              fieldType,\n                                                              fieldId,\n                                                              typeOverride) {\n  //If there's a type override, use that.\n  var typeToWrite = (typeOverride == -1 ? this.getCompactType(fieldType) : typeOverride);\n  //Check if we can delta encode the field id\n  if (fieldId > this.lastFieldId_ && fieldId - this.lastFieldId_ <= 15) {\n    //Include the type delta with the field ID\n    this.writeByte((fieldId - this.lastFieldId_) << 4 | typeToWrite);\n  } else {\n    //Write separate type and ID values\n    this.writeByte(typeToWrite);\n    this.writeI16(fieldId);\n  }\n  this.lastFieldId_ = fieldId;\n};\n\nTCompactProtocol.prototype.writeCollectionBegin = function(elemType, size) {\n  if (size <= 14) {\n    //Combine size and type in one byte if possible\n    this.writeByte(size << 4 | this.getCompactType(elemType));\n  } else {\n    this.writeByte(0xf0 | this.getCompactType(elemType));\n    this.writeVarint32(size);\n  }\n};\n\n/**\n * Write an i32 as a varint. Results in 1-5 bytes on the wire.\n */\nTCompactProtocol.prototype.writeVarint32 = function(n) {\n  var buf = new Buffer(5);\n  var wsize = 0;\n  while (true) {\n    if ((n & ~0x7F) === 0) {\n      buf[wsize++] = n;\n      break;\n    } else {\n      buf[wsize++] = ((n & 0x7F) | 0x80);\n      n = n >>> 7;\n    }\n  }\n  var wbuf = new Buffer(wsize);\n  buf.copy(wbuf,0,0,wsize);\n  this.trans.write(wbuf);\n};\n\n/**\n * Write an i64 as a varint. Results in 1-10 bytes on the wire.\n * N.B. node-int64 is always big endian\n */\nTCompactProtocol.prototype.writeVarint64 = function(n) {\n  if (typeof n === \"number\"){\n    n = new Int64(n);\n  }\n  if (! (n instanceof Int64)) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.INVALID_DATA, \"Expected Int64 or Number, found: \" + n);\n  }\n\n  var buf = new Buffer(10);\n  var wsize = 0;\n  var hi = n.buffer.readUInt32BE(0, true);\n  var lo = n.buffer.readUInt32BE(4, true);\n  var mask = 0;\n  while (true) {\n    if (((lo & ~0x7F) === 0) && (hi === 0)) {\n      buf[wsize++] = lo;\n      break;\n    } else {\n      buf[wsize++] = ((lo & 0x7F) | 0x80);\n      mask = hi << 25;\n      lo = lo >>> 7;\n      hi = hi >>> 7;\n      lo = lo | mask;\n    }\n  }\n  var wbuf = new Buffer(wsize);\n  buf.copy(wbuf,0,0,wsize);\n  this.trans.write(wbuf);\n};\n\n/**\n * Convert l into a zigzag long. This allows negative numbers to be\n * represented compactly as a varint.\n */\nTCompactProtocol.prototype.i64ToZigzag = function(l) {\n  if (typeof l === 'string') {\n    l = new Int64(parseInt(l, 10));\n  } else if (typeof l === 'number') {\n    l = new Int64(l);\n  }\n  if (! (l instanceof Int64)) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.INVALID_DATA, \"Expected Int64 or Number, found: \" + l);\n  }\n  var hi = l.buffer.readUInt32BE(0, true);\n  var lo = l.buffer.readUInt32BE(4, true);\n  var sign = hi >>> 31;\n  hi = ((hi << 1) | (lo >>> 31)) ^ ((!!sign) ? 0xFFFFFFFF : 0);\n  lo = (lo << 1) ^ ((!!sign) ? 0xFFFFFFFF : 0);\n  return new Int64(hi, lo);\n};\n\n/**\n * Convert n into a zigzag int. This allows negative numbers to be\n * represented compactly as a varint.\n */\nTCompactProtocol.prototype.i32ToZigzag = function(n) {\n  return (n << 1) ^ ((n & 0x80000000) ? 0xFFFFFFFF : 0);\n};\n\n\n//\n// Compact Protocol read operations\n//\n\nTCompactProtocol.prototype.readMessageBegin = function() {\n  //Read protocol ID\n  var protocolId = this.trans.readByte();\n  if (protocolId != TCompactProtocol.PROTOCOL_ID) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.BAD_VERSION, \"Bad protocol identifier \" + protocolId);\n  }\n\n  //Read Version and Type\n  var versionAndType = this.trans.readByte();\n  var version = (versionAndType & TCompactProtocol.VERSION_MASK);\n  if (version != TCompactProtocol.VERSION_N) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.BAD_VERSION, \"Bad protocol version \" + version);\n  }\n  var type = ((versionAndType >> TCompactProtocol.TYPE_SHIFT_AMOUNT) & TCompactProtocol.TYPE_BITS);\n\n  //Read SeqId\n  var seqid = this.readVarint32();\n\n  //Read name\n  var name = this.readString();\n\n  return {fname: name, mtype: type, rseqid: seqid};\n};\n\nTCompactProtocol.prototype.readMessageEnd = function() {\n};\n\nTCompactProtocol.prototype.readStructBegin = function() {\n  this.lastField_.push(this.lastFieldId_);\n  this.lastFieldId_ = 0;\n  return {fname: ''};\n};\n\nTCompactProtocol.prototype.readStructEnd = function() {\n  this.lastFieldId_ = this.lastField_.pop();\n};\n\nTCompactProtocol.prototype.readFieldBegin = function() {\n  var fieldId = 0;\n  var b = this.trans.readByte(b);\n  var type = (b & 0x0f);\n\n  if (type == TCompactProtocol.Types.CT_STOP) {\n    return {fname: null, ftype: Thrift.Type.STOP, fid: 0};\n  }\n\n  //Mask off the 4 MSB of the type header to check for field id delta.\n  var modifier = ((b & 0x000000f0) >>> 4);\n  if (modifier === 0) {\n    //If not a delta read the field id.\n    fieldId = this.readI16();\n  } else {\n    //Recover the field id from the delta\n    fieldId = (this.lastFieldId_ + modifier);\n  }\n  var fieldType = this.getTType(type);\n\n  //Boolean are encoded with the type\n  if (type == TCompactProtocol.Types.CT_BOOLEAN_TRUE ||\n      type == TCompactProtocol.Types.CT_BOOLEAN_FALSE) {\n    this.boolValue_.hasBoolValue = true;\n    this.boolValue_.boolValue =\n      (type == TCompactProtocol.Types.CT_BOOLEAN_TRUE ? true : false);\n  }\n\n  //Save the new field for the next delta computation.\n  this.lastFieldId_ = fieldId;\n  return {fname: null, ftype: fieldType, fid: fieldId};\n};\n\nTCompactProtocol.prototype.readFieldEnd = function() {\n};\n\nTCompactProtocol.prototype.readMapBegin = function() {\n  var msize = this.readVarint32();\n  if (msize < 0) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.NEGATIVE_SIZE, \"Negative map size\");\n  }\n\n  var kvType = 0;\n  if (msize !== 0) {\n    kvType = this.trans.readByte();\n  }\n\n  var keyType = this.getTType((kvType & 0xf0) >>> 4);\n  var valType = this.getTType(kvType & 0xf);\n  return {ktype: keyType, vtype: valType, size: msize};\n};\n\nTCompactProtocol.prototype.readMapEnd = function() {\n};\n\nTCompactProtocol.prototype.readListBegin = function() {\n  var size_and_type = this.trans.readByte();\n\n  var lsize = (size_and_type >>> 4) & 0x0000000f;\n  if (lsize == 15) {\n    lsize = this.readVarint32();\n  }\n\n  if (lsize < 0) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.NEGATIVE_SIZE, \"Negative list size\");\n  }\n\n  var elemType = this.getTType(size_and_type & 0x0000000f);\n\n  return {etype: elemType, size: lsize};\n};\n\nTCompactProtocol.prototype.readListEnd = function() {\n};\n\nTCompactProtocol.prototype.readSetBegin = function() {\n  return this.readListBegin();\n};\n\nTCompactProtocol.prototype.readSetEnd = function() {\n};\n\nTCompactProtocol.prototype.readBool = function() {\n  var value = false;\n  var rsize = 0;\n  if (this.boolValue_.hasBoolValue === true) {\n    value = this.boolValue_.boolValue;\n    this.boolValue_.hasBoolValue = false;\n  } else {\n    var res = this.trans.readByte();\n    rsize = res.rsize;\n    value = (res.value == TCompactProtocol.Types.CT_BOOLEAN_TRUE);\n  }\n  return value;\n};\n\nTCompactProtocol.prototype.readByte = function() {\n  return this.trans.readByte();\n};\n\nTCompactProtocol.prototype.readI16 = function() {\n  return this.readI32();\n};\n\nTCompactProtocol.prototype.readI32 = function() {\n  return this.zigzagToI32(this.readVarint32());\n};\n\nTCompactProtocol.prototype.readI64 = function() {\n  return this.zigzagToI64(this.readVarint64());\n};\n\n// Little-endian, unlike TBinaryProtocol\nTCompactProtocol.prototype.readDouble = function() {\n  var buff = this.trans.read(8);\n  var off = 0;\n\n  var signed = buff[off + 7] & 0x80;\n  var e = (buff[off+6] & 0xF0) >> 4;\n  e += (buff[off+7] & 0x7F) << 4;\n\n  var m = buff[off];\n  m += buff[off+1] << 8;\n  m += buff[off+2] << 16;\n  m += buff[off+3] * POW_24;\n  m += buff[off+4] * POW_32;\n  m += buff[off+5] * POW_40;\n  m += (buff[off+6] & 0x0F) * POW_48;\n\n  switch (e) {\n    case 0:\n      e = -1022;\n      break;\n    case 2047:\n      return m ? NaN : (signed ? -Infinity : Infinity);\n    default:\n      m += POW_52;\n      e -= 1023;\n  }\n\n  if (signed) {\n    m *= -1;\n  }\n\n  return m * Math.pow(2, e - 52);\n};\n\nTCompactProtocol.prototype.readBinary = function() {\n  var size = this.readVarint32();\n  if (size === 0) {\n    return new Buffer(0);\n  }\n\n  if (size < 0) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.NEGATIVE_SIZE, \"Negative binary size\");\n  }\n  return this.trans.read(size);\n};\n\nTCompactProtocol.prototype.readString = function() {\n  var size = this.readVarint32();\n  // Catch empty string case\n  if (size === 0) {\n    return \"\";\n  }\n\n  // Catch error cases\n  if (size < 0) {\n    throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.NEGATIVE_SIZE, \"Negative string size\");\n  }\n  return this.trans.readString(size);\n};\n\n\n//\n// Compact Protocol internal read operations\n//\n\n/**\n * Read an i32 from the wire as a varint. The MSB of each byte is set\n * if there is another byte to follow. This can read up to 5 bytes.\n */\nTCompactProtocol.prototype.readVarint32 = function() {\n  return this.readVarint64().toNumber();\n};\n\n/**\n * Read an i64 from the wire as a proper varint. The MSB of each byte is set\n * if there is another byte to follow. This can read up to 10 bytes.\n */\nTCompactProtocol.prototype.readVarint64 = function() {\n  var rsize = 0;\n  var lo = 0;\n  var hi = 0;\n  var shift = 0;\n  while (true) {\n    var b = this.trans.readByte();\n    rsize ++;\n    if (shift <= 25) {\n      lo = lo | ((b & 0x7f) << shift);\n    } else if (25 < shift && shift < 32) {\n      lo = lo | ((b & 0x7f) << shift);\n      hi = hi | ((b & 0x7f) >>> (32-shift));\n    } else {\n      hi = hi | ((b & 0x7f) << (shift-32));\n    }\n    shift += 7;\n    if (!(b & 0x80)) {\n      break;\n    }\n    if (rsize >= 10) {\n      throw new Thrift.TProtocolException(Thrift.TProtocolExceptionType.INVALID_DATA, \"Variable-length int over 10 bytes.\");\n    }\n  }\n  return new Int64(hi, lo);\n};\n\n/**\n * Convert from zigzag int to int.\n */\nTCompactProtocol.prototype.zigzagToI32 = function(n) {\n  return (n >>> 1) ^ (-1 * (n & 1));\n};\n\n/**\n * Convert from zigzag long to long.\n */\nTCompactProtocol.prototype.zigzagToI64 = function(n) {\n  var hi = n.buffer.readUInt32BE(0, true);\n  var lo = n.buffer.readUInt32BE(4, true);\n\n  var neg = new Int64(hi & 0, lo & 1);\n  neg._2scomp();\n  var hi_neg = neg.buffer.readUInt32BE(0, true);\n  var lo_neg = neg.buffer.readUInt32BE(4, true);\n\n  var hi_lo = (hi << 31);\n  hi = (hi >>> 1) ^ (hi_neg);\n  lo = ((lo >>> 1) | hi_lo) ^ (lo_neg);\n  return new Int64(hi, lo);\n};\n\nTCompactProtocol.prototype.skip = function(type) {\n  switch (type) {\n    case Type.BOOL:\n      this.readBool();\n      break;\n    case Type.BYTE:\n      this.readByte();\n      break;\n    case Type.I16:\n      this.readI16();\n      break;\n    case Type.I32:\n      this.readI32();\n      break;\n    case Type.I64:\n      this.readI64();\n      break;\n    case Type.DOUBLE:\n      this.readDouble();\n      break;\n    case Type.STRING:\n      this.readString();\n      break;\n    case Type.STRUCT:\n      this.readStructBegin();\n      while (true) {\n        var r = this.readFieldBegin();\n        if (r.ftype === Type.STOP) {\n          break;\n        }\n        this.skip(r.ftype);\n        this.readFieldEnd();\n      }\n      this.readStructEnd();\n      break;\n    case Type.MAP:\n      var mapBegin = this.readMapBegin();\n      for (var i = 0; i < mapBegin.size; ++i) {\n        this.skip(mapBegin.ktype);\n        this.skip(mapBegin.vtype);\n      }\n      this.readMapEnd();\n      break;\n    case Type.SET:\n      var setBegin = this.readSetBegin();\n      for (var i2 = 0; i2 < setBegin.size; ++i2) {\n        this.skip(setBegin.etype);\n      }\n      this.readSetEnd();\n      break;\n    case Type.LIST:\n      var listBegin = this.readListBegin();\n      for (var i3 = 0; i3 < listBegin.size; ++i3) {\n        this.skip(listBegin.etype);\n      }\n      this.readListEnd();\n      break;\n    default:\n      throw new  Error(\"Invalid type: \" + type);\n  }\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nmodule.exports = createClient;\n\n/**\n * Creates a new client object for the specified Thrift service.\n * @param {object} ServiceClient - The module containing the generated service client\n * @param {Connection} Connection - The connection to use.\n * @returns {object} The client object.\n */\nfunction createClient(ServiceClient, connection) {\n  // TODO validate required options and throw otherwise\n  if (ServiceClient.Client) {\n    ServiceClient = ServiceClient.Client;\n  }\n  // TODO detangle these initialization calls\n  // creating \"client\" requires\n  //   - new service client instance\n  //\n  // New service client instance requires\n  //   - new transport instance\n  //   - protocol class reference\n  //\n  // New transport instance requires\n  //   - Buffer to use (or none)\n  //   - Callback to call on flush\n\n  // Wrap the write method\n  var writeCb = function(buf, seqid) {\n    connection.write(buf, seqid);\n  };\n  var transport = new connection.transport(undefined, writeCb);\n  var client = new ServiceClient(transport, connection.protocol);\n  transport.client = client;\n  connection.client = client;\n  return client;\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar binary = require('./binary');\nvar InputBufferUnderrunError = require('./input_buffer_underrun_error');\nvar THeaderTransport = require('./header_transport');\n\nmodule.exports = TFramedTransport;\n\nfunction TFramedTransport(buffer, callback) {\n  this.inBuf = buffer || new Buffer(0);\n  this.outBuffers = [];\n  this.outCount = 0;\n  this.readPos = 0;\n  this.onFlush = callback;\n};\n\nTFramedTransport.prototype = new THeaderTransport();\n\nTFramedTransport.receiver = function(callback, seqid) {\n  var residual = null;\n\n  return function(data) {\n    // Prepend any residual data from our previous read\n    if (residual) {\n      data = Buffer.concat([residual, data]);\n      residual = null;\n    }\n\n    // framed transport\n    while (data.length) {\n      if (data.length < 4) {\n        // Not enough bytes to continue, save and resume on next packet\n        residual = data;\n        return;\n      }\n      var frameSize = binary.readI32(data, 0);\n      if (data.length < 4 + frameSize) {\n        // Not enough bytes to continue, save and resume on next packet\n        residual = data;\n        return;\n      }\n\n      var frame = data.slice(4, 4 + frameSize);\n      residual = data.slice(4 + frameSize);\n\n      callback(new TFramedTransport(frame), seqid);\n\n      data = residual;\n      residual = null;\n    }\n  };\n};\n\nTFramedTransport.prototype.commitPosition = function(){},\nTFramedTransport.prototype.rollbackPosition = function(){},\n\n  // TODO: Implement open/close support\nTFramedTransport.prototype.isOpen = function() {\n  return true;\n};\nTFramedTransport.prototype.open = function() {};\nTFramedTransport.prototype.close =  function() {};\n\n  // Set the seqid of the message in the client\n  // So that callbacks can be found\nTFramedTransport.prototype.setCurrSeqId = function(seqid) {\n  this._seqid = seqid;\n};\n\nTFramedTransport.prototype.ensureAvailable = function(len) {\n  if (this.readPos + len > this.inBuf.length) {\n    throw new InputBufferUnderrunError();\n  }\n};\n\nTFramedTransport.prototype.read = function(len) { // this function will be used for each frames.\n  this.ensureAvailable(len);\n  var end = this.readPos + len;\n\n  if (this.inBuf.length < end) {\n    throw new Error('read(' + len + ') failed - not enough data');\n  }\n\n  var buf = this.inBuf.slice(this.readPos, end);\n  this.readPos = end;\n  return buf;\n};\n\nTFramedTransport.prototype.readByte = function() {\n  this.ensureAvailable(1);\n  return binary.readByte(this.inBuf[this.readPos++]);\n};\n\nTFramedTransport.prototype.readI16 = function() {\n  this.ensureAvailable(2);\n  var i16 = binary.readI16(this.inBuf, this.readPos);\n  this.readPos += 2;\n  return i16;\n};\n\nTFramedTransport.prototype.readI32 = function() {\n  this.ensureAvailable(4);\n  var i32 = binary.readI32(this.inBuf, this.readPos);\n  this.readPos += 4;\n  return i32;\n};\n\nTFramedTransport.prototype.readDouble = function() {\n  this.ensureAvailable(8);\n  var d = binary.readDouble(this.inBuf, this.readPos);\n  this.readPos += 8;\n  return d;\n};\n\nTFramedTransport.prototype.readString = function(len) {\n  this.ensureAvailable(len);\n  var str = this.inBuf.toString('utf8', this.readPos, this.readPos + len);\n  this.readPos += len;\n  return str;\n};\n\nTFramedTransport.prototype.borrow = function() {\n  return {\n    buf: this.inBuf,\n    readIndex: this.readPos,\n    writeIndex: this.inBuf.length\n  };\n};\n\nTFramedTransport.prototype.consume = function(bytesConsumed) {\n  this.readPos += bytesConsumed;\n};\n\nTFramedTransport.prototype.write = function(buf, encoding) {\n  if (typeof(buf) === \"string\") {\n    buf = new Buffer(buf, encoding || 'utf8');\n  }\n  this.outBuffers.push(buf);\n  this.outCount += buf.length;\n};\n\nTFramedTransport.prototype.flush = function() {\n  // If the seqid of the callback is available pass it to the onFlush\n  // Then remove the current seqid\n  var seqid = this._seqid;\n  this._seqid = null;\n\n  var out = new Buffer(this.outCount),\n      pos = 0;\n  this.outBuffers.forEach(function(buf) {\n    buf.copy(out, pos, 0);\n    pos += buf.length;\n  });\n\n  if (this.onFlush) {\n    // TODO: optimize this better, allocate one buffer instead of both:\n    var msg = new Buffer(out.length + 4);\n    binary.writeI32(msg, out.length);\n    out.copy(msg, 4, 0, out.length);\n    if (this.onFlush) {\n      // Passing seqid through this call to get it to the connection\n      this.onFlush(msg, seqid);\n    }\n  }\n\n  this.outBuffers = [];\n  this.outCount = 0;\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar util = require('util');\nvar TCompactProtocol = require('./compact_protocol');\nvar TBinaryProtocol = require('./binary_protocol');\nvar InputBufferUnderrunError = require('./input_buffer_underrun_error');\n\nfunction THeaderTransportError(message) {\n  Error.call(this);\n  if (Error.captureStackTrace !== undefined) {\n    Error.captureStackTrace(this, this.constructor);\n  }\n  this.name = this.constructor.name;\n  this.message = message;\n}\n\nutil.inherits(THeaderTransportError, Error);\n\nmodule.exports = THeaderTransport;\n\n// from HeaderFormat.md\nvar COMPACT_PROTOCOL_OFFSET = 0;\nvar COMPACT_PROTOCOL_VERSION_OFFSET = 1;\nvar FRAME_SIZE_OFFSET = 0;\nvar HEADER_MAGIC_OFFSET = 32 / 8;\nvar FLAGS_OFFSET = 48 / 8;\nvar SEQID_OFFSET = 64 / 8;\nvar HEADER_SIZE_OFFSET = 96 / 8;\nvar HEADER_START_OFFSET = 112 / 8;\n\nvar HEADER_MAGIC = 0x0FFF;\n\nvar TINFO_HEADER_KEY_VALUE_TYPE = 0x01;\nvar MAX_FRAME_SIZE = 0x3FFFFFFF;\n\n // A helper class for reading/writing varints. Uses\n // TCompactProtocol under the hood\nfunction VarintHelper(readBuffer) {\n  var TBufferedTransport = require('./buffered_transport');\n  this.outputBuffer = null;\n  var _this = this;\n  this.transport = new TBufferedTransport(null, function(output) {\n    _this.outputBuffer = output;\n  });\n\n  this.transport.inBuf = readBuffer || Buffer.alloc(0);\n  this.transport.writeCursor = this.transport.inBuf.length;\n  this.protocol = new TCompactProtocol(this.transport);\n};\n\nVarintHelper.prototype.readVarint32 = function() {\n  return this.protocol.readVarint32();\n};\n\nVarintHelper.prototype.writeVarint32 = function(i) {\n  this.protocol.writeVarint32(i);\n};\n\nVarintHelper.prototype.readString = function() {\n  return this.protocol.readString();\n};\n\nVarintHelper.prototype.writeString = function(str) {\n  this.protocol.writeString(str);\n}\n\nVarintHelper.prototype.getOutCount = function() {\n  return this.transport.outCount;\n};\n\nVarintHelper.prototype.write = function(str) {\n  this.transport.write(str);\n};\n\nVarintHelper.prototype.toBuffer = function() {\n  this.transport.flush();\n  return this.outputBuffer;\n};\n\n// from lib/cpp/src/thrift/protocol/TProtocolTypes.h\nTHeaderTransport.SubprotocolId = {\n  BINARY: 0,\n  JSON: 1,\n  COMPACT: 2,\n};\n\n/**\n  An abstract transport used as a prototype for other transports\n  to enable reading/writing theaders. This should NOT be used as a standalone transport\n  The methods in this transport are called by THeaderProtocol, which will call readHeaders/writeHeaders\n  in the read/writeMessageBegin methods and parse/write headers to/from a request\n  prior to reading/writing.\n\n  The reason this is not a standalone transport type is because different transport types\n  have their own individual static receiver methods that are called prior to instantiation.\n  There doesn't seem to be a way for THeaderTransport to know which receiver method to use\n  without reworking the server API.\n\n  For reading headers from a request, the parsed headers can be retrieved via\n  getReadHeader. Similarly, you can set headers to be written on the client via\n  setWriteHeader.\n */\nfunction THeaderTransport() {\n  this.maxFrameSize = MAX_FRAME_SIZE;\n  this.protocolId = THeaderTransport.SubprotocolId.BINARY;\n  this.rheaders = {};\n  this.wheaders = {};\n  this.inBuf = Buffer.alloc(0);\n  this.outCount = 0;\n  this.flags = null;\n  this.seqid = 0;\n  this.shouldWriteHeaders = true;\n};\n\nvar validateHeaders = function(key, value) {\n  if (typeof key !== 'string' || typeof value !== 'string') {\n    throw new THeaderTransportError('Header key and values must be strings');\n  }\n};\n\nvar validateProtocolId = function(protocolId) {\n  var protocols = Object.keys(THeaderTransport.SubprotocolId);\n  for (var i = 0; i < protocols.length; i++) {\n    if (protocolId === THeaderTransport.SubprotocolId[protocols[i]]) return true;\n  }\n\n  throw new Error(protocolId + ' is not a valid protocol id');\n};\n\nTHeaderTransport.prototype.setSeqId = function(seqid) {\n  this.seqid = seqid;\n};\n\nTHeaderTransport.prototype.getSeqId = function(seqid) {\n  return this.seqid;\n};\n\nTHeaderTransport.prototype.setFlags = function(flags) {\n  this.flags = flags;\n};\n\nTHeaderTransport.prototype.getReadHeaders = function() {\n  return this.rheaders;\n};\n\nTHeaderTransport.prototype.setReadHeader = function(key, value) {\n  validateHeaders(key, value);\n  this.rheaders[key] = value;\n};\n\nTHeaderTransport.prototype.clearReadHeaders = function() {\n  this.rheaders = {};\n};\n\nTHeaderTransport.prototype.getWriteHeaders = function() {\n  return this.wheaders;\n};\n\nTHeaderTransport.prototype.setWriteHeader = function(key, value) {\n  validateHeaders(key, value);\n  this.wheaders[key] = value;\n};\n\nTHeaderTransport.prototype.clearWriteHeaders = function() {\n  this.wheaders = {};\n};\n\nTHeaderTransport.prototype.setMaxFrameSize = function(frameSize) {\n  this.maxFrameSize = frameSize;\n};\n\nTHeaderTransport.prototype.setProtocolId = function(protocolId) {\n  validateProtocolId(protocolId);\n  this.protocolId = protocolId;\n};\n\nTHeaderTransport.prototype.getProtocolId = function() {\n  return this.protocolId;\n};\n\nvar isUnframedBinary = function(readBuffer) {\n  var version = readBuffer.readInt32BE();\n  return (version & TBinaryProtocol.VERSION_MASK) === TBinaryProtocol.VERSION_1;\n}\n\nvar isUnframedCompact = function(readBuffer) {\n  var protocolId = readBuffer.readInt8(COMPACT_PROTOCOL_OFFSET);\n  var version = readBuffer.readInt8(COMPACT_PROTOCOL_VERSION_OFFSET);\n  return protocolId === TCompactProtocol.PROTOCOL_ID &&\n    (version & TCompactProtocol.VERSION_MASK) === TCompactProtocol.VERSION_N;\n}\n\nTHeaderTransport.prototype.readHeaders = function() {\n  var readBuffer = this.inBuf;\n\n  var isUnframed = false;\n  if (isUnframedBinary(readBuffer)) {\n    this.setProtocolId(THeaderTransport.SubprotocolId.BINARY);\n    isUnframed = true;\n  }\n\n  if (isUnframedCompact(readBuffer)) {\n    this.setProtocolId(THeaderTransport.SubprotocolId.COMPACT);\n    isUnframed = true;\n  }\n\n  if (isUnframed) {\n    this.shouldWriteHeaders = false;\n    return;\n  }\n\n  var frameSize = readBuffer.readInt32BE(FRAME_SIZE_OFFSET);\n  if (frameSize > this.maxFrameSize) {\n    throw new THeaderTransportError('Frame exceeds maximum frame size');\n  }\n\n  var headerMagic = readBuffer.readInt16BE(HEADER_MAGIC_OFFSET);\n  this.shouldWriteHeaders = headerMagic === HEADER_MAGIC;\n  if (!this.shouldWriteHeaders) {\n    return;\n  }\n\n  this.setFlags(readBuffer.readInt16BE(FLAGS_OFFSET));\n  this.setSeqId(readBuffer.readInt32BE(SEQID_OFFSET));\n  var headerSize = readBuffer.readInt16BE(HEADER_SIZE_OFFSET) * 4;\n  var endOfHeaders = HEADER_START_OFFSET + headerSize;\n  if (endOfHeaders > readBuffer.length) {\n    throw new THeaderTransportError('Header size is greater than frame size');\n  }\n\n  var headerBuffer = Buffer.alloc(headerSize);\n  readBuffer.copy(headerBuffer, 0, HEADER_START_OFFSET, endOfHeaders);\n\n  var varintHelper = new VarintHelper(headerBuffer);\n  this.setProtocolId(varintHelper.readVarint32());\n  var transformCount = varintHelper.readVarint32();\n  if (transformCount > 0) {\n    throw new THeaderTransportError('Transforms are not yet supported');\n  }\n\n  while (true) {\n    try {\n      var headerType = varintHelper.readVarint32();\n      if (headerType !== TINFO_HEADER_KEY_VALUE_TYPE) {\n        break;\n      }\n\n      var numberOfHeaders = varintHelper.readVarint32();\n      for (var i = 0; i < numberOfHeaders; i++) {\n        var key = varintHelper.readString();\n        var value = varintHelper.readString();\n        this.setReadHeader(key, value);\n      }\n    } catch (e) {\n      if (e instanceof InputBufferUnderrunError) {\n        break;\n      }\n      throw e;\n    }\n  }\n\n  // moves the read cursor past the headers\n  this.read(endOfHeaders);\n  return this.getReadHeaders();\n};\n\nTHeaderTransport.prototype.writeHeaders = function() {\n  // only write headers on the server if the client contained headers\n  if (!this.shouldWriteHeaders) {\n    return;\n  }\n  var headers = this.getWriteHeaders();\n\n  var varintWriter = new VarintHelper();\n  varintWriter.writeVarint32(this.protocolId);\n  varintWriter.writeVarint32(0); // transforms not supported\n\n  // writing info header key values\n  var headerKeys = Object.keys(headers);\n  if (headerKeys.length > 0) {\n    varintWriter.writeVarint32(TINFO_HEADER_KEY_VALUE_TYPE);\n    varintWriter.writeVarint32(headerKeys.length);\n    for (var i = 0; i < headerKeys.length; i++) {\n      var key = headerKeys[i];\n      var value = headers[key];\n\n      varintWriter.writeString(key);\n      varintWriter.writeString(value);\n    }\n  }\n var headerSizeWithoutPadding = varintWriter.getOutCount();\n  var paddingNeeded = (4 - (headerSizeWithoutPadding % 4)) % 4;\n\n  var headerSize = Buffer.alloc(2);\n  headerSize.writeInt16BE(Math.floor((headerSizeWithoutPadding + paddingNeeded) / 4));\n\n  var paddingBuffer = Buffer.alloc(paddingNeeded);\n  paddingBuffer.fill(0x00);\n  varintWriter.write(paddingBuffer);\n  var headerContentBuffer = varintWriter.toBuffer();\n  var frameSize = Buffer.alloc(4);\n  frameSize.writeInt32BE(10 + this.outCount + headerContentBuffer.length);\n  var headerMagic = Buffer.alloc(2);\n  headerMagic.writeInt16BE(HEADER_MAGIC);\n\n  // flags are not yet supported, so write a zero\n  var flags = Buffer.alloc(2);\n  flags.writeInt16BE(0);\n\n  var seqid = Buffer.alloc(4);\n  seqid.writeInt32BE(this.getSeqId());\n\n  var headerBuffer = Buffer.concat([\n    frameSize,\n    headerMagic,\n    flags,\n    seqid,\n    headerSize,\n    headerContentBuffer,\n  ]);\n\n  this.outBuffers.unshift(headerBuffer);\n  this.outCount += headerBuffer.length;\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\nvar util = require(\"util\");\n\nmodule.exports = InputBufferUnderrunError;\n\nfunction InputBufferUnderrunError(message) {\n  Error.call(this);\n  if (Error.captureStackTrace !== undefined) {\n    Error.captureStackTrace(this, this.constructor);\n  }\n  this.name = this.constructor.name;\n  this.message = message;\n};\n\nutil.inherits(InputBufferUnderrunError, Error);\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar Int64 = require('node-int64');\n\nvar Int64Util = module.exports = {};\n\nvar POW2_24 = Math.pow(2, 24);\nvar POW2_31 = Math.pow(2, 31);\nvar POW2_32 = Math.pow(2, 32);\nvar POW10_11 = Math.pow(10, 11);\n\nInt64Util.toDecimalString = function(i64) {\n  var b = i64.buffer;\n  var o = i64.offset;\n  if ((!b[o] && !(b[o + 1] & 0xe0)) ||\n      (!~b[o] && !~(b[o + 1] & 0xe0))) {\n    // The magnitude is small enough.\n    return i64.toString();\n  } else {\n    var negative = b[o] & 0x80;\n    if (negative) {\n      // 2's complement\n      var incremented = false;\n      var buffer = new Buffer(8);\n      for (var i = 7; i >= 0; --i) {\n        buffer[i] = (~b[o + i] + (incremented ? 0 : 1)) & 0xff;\n        incremented |= b[o + i];\n      }\n      b = buffer;\n    }\n    var high2 = b[o + 1] + (b[o] << 8);\n    // Lesser 11 digits with exceeding values but is under 53 bits capacity.\n    var low = b[o + 7] + (b[o + 6] << 8) + (b[o + 5] << 16)\n        + b[o + 4] * POW2_24  // Bit shift renders 32th bit as sign, so use multiplication\n        + (b[o + 3] + (b[o + 2] << 8)) * POW2_32 + high2 * 74976710656;  // The literal is 2^48 % 10^11\n    // 12th digit and greater.\n    var high = Math.floor(low / POW10_11) + high2 * 2814;  // The literal is 2^48 / 10^11\n    // Make it exactly 11 with leading zeros.\n    low = ('00000000000' + String(low % POW10_11)).slice(-11);\n    return (negative ? '-' : '') + String(high) + low;\n  }\n};\n\nInt64Util.fromDecimalString = function(text) {\n  var negative = text.charAt(0) === '-';\n  if (text.length < (negative ? 17 : 16)) {\n    // The magnitude is smaller than 2^53.\n    return new Int64(+text);\n  } else if (text.length > (negative ? 20 : 19)) {\n    throw new RangeError('Too many digits for Int64: ' + text);\n  } else {\n    // Most significant (up to 5) digits\n    var high5 = +text.slice(negative ? 1 : 0, -15);\n    var low = +text.slice(-15) + high5 * 2764472320;  // The literal is 10^15 % 2^32\n    var high = Math.floor(low / POW2_32) + high5 * 232830;  // The literal is 10^15 / 2^&32\n    low = low % POW2_32;\n    if (high >= POW2_31 &&\n        !(negative && high == POW2_31 && low == 0)  // Allow minimum Int64\n       ) {\n      throw new RangeError('The magnitude is too large for Int64.');\n    }\n    if (negative) {\n      // 2's complement\n      high = ~high;\n      if (low === 0) {\n        high = (high + 1) & 0xffffffff;\n      } else {\n        low = ~low + 1;\n      }\n      high = 0x80000000 | high;\n    }\n    return new Int64(high, low);\n  }\n};\n","/*\n * Imported from Douglas Crockford's reference implementation with minimum modification\n * to handle Int64.\n *\n * https://github.com/douglascrockford/JSON-js/blob/c98948ae1944a28e2e8ebc3717894e580aeaaa05/json_parse.js\n *\n * Original license header:\n *\n * json_parse.js\n * 2015-05-02\n * Public Domain.\n * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.\n */\n\n\n/*jslint for */\n\n/*property\n    at, b, call, charAt, f, fromCharCode, hasOwnProperty, message, n, name,\n    prototype, push, r, t, text\n*/\n\nvar Int64 = require('node-int64');\nvar Int64Util = require('./int64_util');\n\nvar json_parse = module.exports = (function () {\n    \"use strict\";\n\n// This is a function that can parse a JSON text, producing a JavaScript\n// data structure. It is a simple, recursive descent parser. It does not use\n// eval or regular expressions, so it can be used as a model for implementing\n// a JSON parser in other languages.\n\n// We are defining the function inside of another function to avoid creating\n// global variables.\n\n    var at,     // The index of the current character\n        ch,     // The current character\n        escapee = {\n            '\"': '\"',\n            '\\\\': '\\\\',\n            '/': '/',\n            b: '\\b',\n            f: '\\f',\n            n: '\\n',\n            r: '\\r',\n            t: '\\t'\n        },\n        text,\n\n        error = function (m) {\n\n// Call error when something is wrong.\n\n            throw new SyntaxError(m);\n        },\n\n        next = function (c) {\n\n// If a c parameter is provided, verify that it matches the current character.\n\n            if (c && c !== ch) {\n                error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n            }\n\n// Get the next character. When there are no more characters,\n// return the empty string.\n\n            ch = text.charAt(at);\n            at += 1;\n            return ch;\n        },\n\n        number = function () {\n\n// Parse a number value.\n\n            var number,\n                string = '';\n\n            if (ch === '-') {\n                string = '-';\n                next('-');\n            }\n            while (ch >= '0' && ch <= '9') {\n                string += ch;\n                next();\n            }\n            if (ch === '.') {\n                string += '.';\n                while (next() && ch >= '0' && ch <= '9') {\n                    string += ch;\n                }\n            }\n            if (ch === 'e' || ch === 'E') {\n                string += ch;\n                next();\n                if (ch === '-' || ch === '+') {\n                    string += ch;\n                    next();\n                }\n                while (ch >= '0' && ch <= '9') {\n                    string += ch;\n                    next();\n                }\n            }\n            number = +string;\n            if (!isFinite(number)) {\n                error(\"Bad number\");\n            } else if (number >= Int64.MAX_INT || number <= Int64.MIN_INT) {\n                // Return raw string for further process in TJSONProtocol\n                return string;\n            } else {\n                return number;\n            }\n        },\n\n        string = function () {\n\n// Parse a string value.\n\n            var hex,\n                i,\n                string = '',\n                uffff;\n\n// When parsing for string values, we must look for \" and \\ characters.\n\n            if (ch === '\"') {\n                while (next()) {\n                    if (ch === '\"') {\n                        next();\n                        return string;\n                    }\n                    if (ch === '\\\\') {\n                        next();\n                        if (ch === 'u') {\n                            uffff = 0;\n                            for (i = 0; i < 4; i += 1) {\n                                hex = parseInt(next(), 16);\n                                if (!isFinite(hex)) {\n                                    break;\n                                }\n                                uffff = uffff * 16 + hex;\n                            }\n                            string += String.fromCharCode(uffff);\n                        } else if (typeof escapee[ch] === 'string') {\n                            string += escapee[ch];\n                        } else {\n                            break;\n                        }\n                    } else {\n                        string += ch;\n                    }\n                }\n            }\n            error(\"Bad string\");\n        },\n\n        white = function () {\n\n// Skip whitespace.\n\n            while (ch && ch <= ' ') {\n                next();\n            }\n        },\n\n        word = function () {\n\n// true, false, or null.\n\n            switch (ch) {\n            case 't':\n                next('t');\n                next('r');\n                next('u');\n                next('e');\n                return true;\n            case 'f':\n                next('f');\n                next('a');\n                next('l');\n                next('s');\n                next('e');\n                return false;\n            case 'n':\n                next('n');\n                next('u');\n                next('l');\n                next('l');\n                return null;\n            }\n            error(\"Unexpected '\" + ch + \"'\");\n        },\n\n        value,  // Place holder for the value function.\n\n        array = function () {\n\n// Parse an array value.\n\n            var array = [];\n\n            if (ch === '[') {\n                next('[');\n                white();\n                if (ch === ']') {\n                    next(']');\n                    return array;   // empty array\n                }\n                while (ch) {\n                    array.push(value());\n                    white();\n                    if (ch === ']') {\n                        next(']');\n                        return array;\n                    }\n                    next(',');\n                    white();\n                }\n            }\n            error(\"Bad array\");\n        },\n\n        object = function () {\n\n// Parse an object value.\n\n            var key,\n                object = {};\n\n            if (ch === '{') {\n                next('{');\n                white();\n                if (ch === '}') {\n                    next('}');\n                    return object;   // empty object\n                }\n                while (ch) {\n                    key = string();\n                    white();\n                    next(':');\n                    if (Object.hasOwnProperty.call(object, key)) {\n                        error('Duplicate key \"' + key + '\"');\n                    }\n                    object[key] = value();\n                    white();\n                    if (ch === '}') {\n                        next('}');\n                        return object;\n                    }\n                    next(',');\n                    white();\n                }\n            }\n            error(\"Bad object\");\n        };\n\n    value = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n        white();\n        switch (ch) {\n        case '{':\n            return object();\n        case '[':\n            return array();\n        case '\"':\n            return string();\n        case '-':\n            return number();\n        default:\n            return ch >= '0' && ch <= '9'\n                ? number()\n                : word();\n        }\n    };\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\n    return function (source) {\n        var result;\n\n        text = source;\n        at = 0;\n        ch = ' ';\n        result = value();\n        white();\n        if (ch) {\n            error(\"Syntax error\");\n        }\n\n        return result;\n    };\n}());\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar Int64 = require('node-int64');\nvar Thrift = require('./thrift');\nvar Type = Thrift.Type;\nvar util = require(\"util\");\n\nvar Int64Util = require('./int64_util');\nvar json_parse = require('./json_parse');\n\nvar InputBufferUnderrunError = require('./input_buffer_underrun_error');\n\nmodule.exports = TJSONProtocol;\n\n/**\n * Initializes a Thrift JSON protocol instance.\n * @constructor\n * @param {Thrift.Transport} trans - The transport to serialize to/from.\n * @classdesc Apache Thrift Protocols perform serialization which enables cross\n * language RPC. The Protocol type is the JavaScript browser implementation\n * of the Apache Thrift TJSONProtocol.\n * @example\n *     var protocol  = new Thrift.Protocol(transport);\n */\nfunction TJSONProtocol(trans) {\n  this.tstack = [];\n  this.tpos = [];\n  this.trans = trans;\n};\n\n/**\n * Thrift IDL type Id to string mapping.\n * @readonly\n * @see {@link Thrift.Type}\n */\nTJSONProtocol.Type = {};\nTJSONProtocol.Type[Type.BOOL] = '\"tf\"';\nTJSONProtocol.Type[Type.BYTE] = '\"i8\"';\nTJSONProtocol.Type[Type.I16] = '\"i16\"';\nTJSONProtocol.Type[Type.I32] = '\"i32\"';\nTJSONProtocol.Type[Type.I64] = '\"i64\"';\nTJSONProtocol.Type[Type.DOUBLE] = '\"dbl\"';\nTJSONProtocol.Type[Type.STRUCT] = '\"rec\"';\nTJSONProtocol.Type[Type.STRING] = '\"str\"';\nTJSONProtocol.Type[Type.MAP] = '\"map\"';\nTJSONProtocol.Type[Type.LIST] = '\"lst\"';\nTJSONProtocol.Type[Type.SET] = '\"set\"';\n\n/**\n * Thrift IDL type string to Id mapping.\n * @readonly\n * @see {@link Thrift.Type}\n */\nTJSONProtocol.RType = {};\nTJSONProtocol.RType.tf = Type.BOOL;\nTJSONProtocol.RType.i8 = Type.BYTE;\nTJSONProtocol.RType.i16 = Type.I16;\nTJSONProtocol.RType.i32 = Type.I32;\nTJSONProtocol.RType.i64 = Type.I64;\nTJSONProtocol.RType.dbl = Type.DOUBLE;\nTJSONProtocol.RType.rec = Type.STRUCT;\nTJSONProtocol.RType.str = Type.STRING;\nTJSONProtocol.RType.map = Type.MAP;\nTJSONProtocol.RType.lst = Type.LIST;\nTJSONProtocol.RType.set = Type.SET;\n\n/**\n * The TJSONProtocol version number.\n * @readonly\n * @const {number} Version\n * @memberof Thrift.Protocol\n */\nTJSONProtocol.Version = 1;\n\nTJSONProtocol.prototype.flush = function() {\n  this.writeToTransportIfStackIsFlushable();\n  return this.trans.flush();\n};\n\nTJSONProtocol.prototype.writeToTransportIfStackIsFlushable = function() {\n  if (this.tstack.length === 1) {\n    this.trans.write(this.tstack.pop());\n  }\n};\n\n/**\n * Serializes the beginning of a Thrift RPC message.\n * @param {string} name - The service method to call.\n * @param {Thrift.MessageType} messageType - The type of method call.\n * @param {number} seqid - The sequence number of this call (always 0 in Apache Thrift).\n */\nTJSONProtocol.prototype.writeMessageBegin = function(name, messageType, seqid) {\n  this.tstack.push([TJSONProtocol.Version, '\"' + name + '\"', messageType, seqid]);\n};\n\n/**\n * Serializes the end of a Thrift RPC message.\n */\nTJSONProtocol.prototype.writeMessageEnd = function() {\n  var obj = this.tstack.pop();\n\n  this.wobj = this.tstack.pop();\n  this.wobj.push(obj);\n\n  this.wbuf = '[' + this.wobj.join(',') + ']';\n\n  // we assume there is nothing more to come so we write\n  this.trans.write(this.wbuf);\n};\n\n/**\n * Serializes the beginning of a struct.\n * @param {string} name - The name of the struct.\n */\nTJSONProtocol.prototype.writeStructBegin = function(name) {\n  this.tpos.push(this.tstack.length);\n  this.tstack.push({});\n};\n\n/**\n * Serializes the end of a struct.\n */\nTJSONProtocol.prototype.writeStructEnd = function() {\n  var p = this.tpos.pop();\n  var struct = this.tstack[p];\n  var str = '{';\n  var first = true;\n  for (var key in struct) {\n    if (first) {\n      first = false;\n    } else {\n      str += ',';\n    }\n\n    str += key + ':' + struct[key];\n  }\n\n  str += '}';\n  this.tstack[p] = str;\n\n  this.writeToTransportIfStackIsFlushable();\n};\n\n/**\n * Serializes the beginning of a struct field.\n * @param {string} name - The name of the field.\n * @param {Thrift.Protocol.Type} fieldType - The data type of the field.\n * @param {number} fieldId - The field's unique identifier.\n */\nTJSONProtocol.prototype.writeFieldBegin = function(name, fieldType, fieldId) {\n  this.tpos.push(this.tstack.length);\n  this.tstack.push({ 'fieldId': '\"' +\n    fieldId + '\"', 'fieldType': TJSONProtocol.Type[fieldType]\n  });\n};\n\n/**\n * Serializes the end of a field.\n */\nTJSONProtocol.prototype.writeFieldEnd = function() {\n  var value = this.tstack.pop();\n  var fieldInfo = this.tstack.pop();\n\n  if (':' + value === \":[object Object]\") {\n    this.tstack[this.tstack.length - 1][fieldInfo.fieldId] = '{' +\n      fieldInfo.fieldType + ':' + JSON.stringify(value) + '}';\n  } else {\n    this.tstack[this.tstack.length - 1][fieldInfo.fieldId] = '{' +\n      fieldInfo.fieldType + ':' + value + '}';\n  }\n  this.tpos.pop();\n\n  this.writeToTransportIfStackIsFlushable();\n};\n\n/**\n * Serializes the end of the set of fields for a struct.\n */\nTJSONProtocol.prototype.writeFieldStop = function() {\n};\n\n/**\n * Serializes the beginning of a map collection.\n * @param {Thrift.Type} keyType - The data type of the key.\n * @param {Thrift.Type} valType - The data type of the value.\n * @param {number} [size] - The number of elements in the map (ignored).\n */\nTJSONProtocol.prototype.writeMapBegin = function(keyType, valType, size) {\n  //size is invalid, we'll set it on end.\n  this.tpos.push(this.tstack.length);\n  this.tstack.push([TJSONProtocol.Type[keyType], TJSONProtocol.Type[valType], 0]);\n};\n\n/**\n * Serializes the end of a map.\n */\nTJSONProtocol.prototype.writeMapEnd = function() {\n  var p = this.tpos.pop();\n\n  if (p == this.tstack.length) {\n    return;\n  }\n\n  if ((this.tstack.length - p - 1) % 2 !== 0) {\n    this.tstack.push('');\n  }\n\n  var size = (this.tstack.length - p - 1) / 2;\n\n  this.tstack[p][this.tstack[p].length - 1] = size;\n\n  var map = '}';\n  var first = true;\n  while (this.tstack.length > p + 1) {\n    var v = this.tstack.pop();\n    var k = this.tstack.pop();\n    if (first) {\n      first = false;\n    } else {\n      map = ',' + map;\n    }\n\n    if (! isNaN(k)) { k = '\"' + k + '\"'; } //json \"keys\" need to be strings\n    map = k + ':' + v + map;\n  }\n  map = '{' + map;\n\n  this.tstack[p].push(map);\n  this.tstack[p] = '[' + this.tstack[p].join(',') + ']';\n\n  this.writeToTransportIfStackIsFlushable();\n};\n\n/**\n * Serializes the beginning of a list collection.\n * @param {Thrift.Type} elemType - The data type of the elements.\n * @param {number} size - The number of elements in the list.\n */\nTJSONProtocol.prototype.writeListBegin = function(elemType, size) {\n  this.tpos.push(this.tstack.length);\n  this.tstack.push([TJSONProtocol.Type[elemType], size]);\n};\n\n/**\n * Serializes the end of a list.\n */\nTJSONProtocol.prototype.writeListEnd = function() {\n  var p = this.tpos.pop();\n\n  while (this.tstack.length > p + 1) {\n    var tmpVal = this.tstack[p + 1];\n    this.tstack.splice(p + 1, 1);\n    this.tstack[p].push(tmpVal);\n  }\n\n  this.tstack[p] = '[' + this.tstack[p].join(',') + ']';\n\n  this.writeToTransportIfStackIsFlushable();\n};\n\n/**\n * Serializes the beginning of a set collection.\n * @param {Thrift.Type} elemType - The data type of the elements.\n * @param {number} size - The number of elements in the list.\n */\nTJSONProtocol.prototype.writeSetBegin = function(elemType, size) {\n    this.tpos.push(this.tstack.length);\n    this.tstack.push([TJSONProtocol.Type[elemType], size]);\n};\n\n/**\n * Serializes the end of a set.\n */\nTJSONProtocol.prototype.writeSetEnd = function() {\n  var p = this.tpos.pop();\n\n  while (this.tstack.length > p + 1) {\n    var tmpVal = this.tstack[p + 1];\n    this.tstack.splice(p + 1, 1);\n    this.tstack[p].push(tmpVal);\n  }\n\n  this.tstack[p] = '[' + this.tstack[p].join(',') + ']';\n\n  this.writeToTransportIfStackIsFlushable();\n};\n\n/** Serializes a boolean */\nTJSONProtocol.prototype.writeBool = function(bool) {\n  this.tstack.push(bool ? 1 : 0);\n};\n\n/** Serializes a number */\nTJSONProtocol.prototype.writeByte = function(byte) {\n  this.tstack.push(byte);\n};\n\n/** Serializes a number */\nTJSONProtocol.prototype.writeI16 = function(i16) {\n  this.tstack.push(i16);\n};\n\n/** Serializes a number */\nTJSONProtocol.prototype.writeI32 = function(i32) {\n  this.tstack.push(i32);\n};\n\n/** Serializes a number */\nTJSONProtocol.prototype.writeI64 = function(i64) {\n  if (i64 instanceof Int64) {\n    this.tstack.push(Int64Util.toDecimalString(i64));\n  } else {\n    this.tstack.push(i64);\n  }\n};\n\n/** Serializes a number */\nTJSONProtocol.prototype.writeDouble = function(dub) {\n  this.tstack.push(dub);\n};\n\n/** Serializes a string */\nTJSONProtocol.prototype.writeString = function(arg) {\n  // We do not encode uri components for wire transfer:\n  if (arg === null) {\n      this.tstack.push(null);\n  } else {\n      if (typeof arg === 'string') {\n        var str = arg;\n      } else if (arg instanceof Buffer) {\n        var str = arg.toString('utf8');\n      } else {\n        throw new Error('writeString called without a string/Buffer argument: ' + arg);\n      }\n\n      // concat may be slower than building a byte buffer\n      var escapedString = '';\n      for (var i = 0; i < str.length; i++) {\n          var ch = str.charAt(i);      // a single double quote: \"\n          if (ch === '\\\"') {\n              escapedString += '\\\\\\\"'; // write out as: \\\"\n          } else if (ch === '\\\\') {    // a single backslash: \\\n              escapedString += '\\\\\\\\'; // write out as: \\\\\n          /* Currently escaped forward slashes break TJSONProtocol.\n           * As it stands, we can simply pass forward slashes into\n           * our strings across the wire without being escaped.\n           * I think this is the protocol's bug, not thrift.js\n           * } else if(ch === '/') {   // a single forward slash: /\n           *  escapedString += '\\\\/';  // write out as \\/\n           * }\n           */\n          } else if (ch === '\\b') {    // a single backspace: invisible\n              escapedString += '\\\\b';  // write out as: \\b\"\n          } else if (ch === '\\f') {    // a single formfeed: invisible\n              escapedString += '\\\\f';  // write out as: \\f\"\n          } else if (ch === '\\n') {    // a single newline: invisible\n              escapedString += '\\\\n';  // write out as: \\n\"\n          } else if (ch === '\\r') {    // a single return: invisible\n              escapedString += '\\\\r';  // write out as: \\r\"\n          } else if (ch === '\\t') {    // a single tab: invisible\n              escapedString += '\\\\t';  // write out as: \\t\"\n          } else {\n              escapedString += ch;     // Else it need not be escaped\n          }\n      }\n      this.tstack.push('\"' + escapedString + '\"');\n  }\n};\n\n/** Serializes a string */\nTJSONProtocol.prototype.writeBinary = function(arg) {\n  if (typeof arg === 'string') {\n    var buf = new Buffer(arg, 'binary');\n  } else if (arg instanceof Buffer ||\n             Object.prototype.toString.call(arg) == '[object Uint8Array]')  {\n    var buf = arg;\n  } else {\n    throw new Error('writeBinary called without a string/Buffer argument: ' + arg);\n  }\n  this.tstack.push('\"' + buf.toString('base64') + '\"');\n};\n\n/**\n * @class\n * @name AnonReadMessageBeginReturn\n * @property {string} fname - The name of the service method.\n * @property {Thrift.MessageType} mtype - The type of message call.\n * @property {number} rseqid - The sequence number of the message (0 in Thrift RPC).\n */\n/**\n * Deserializes the beginning of a message.\n * @returns {AnonReadMessageBeginReturn}\n */\nTJSONProtocol.prototype.readMessageBegin = function() {\n  this.rstack = [];\n  this.rpos = [];\n\n  //Borrow the inbound transport buffer and ensure data is present/consistent\n  var transBuf = this.trans.borrow();\n  if (transBuf.readIndex >= transBuf.writeIndex) {\n    throw new InputBufferUnderrunError();\n  }\n  var cursor = transBuf.readIndex;\n\n  if (transBuf.buf[cursor] !== 0x5B) { //[\n    throw new Error(\"Malformed JSON input, no opening bracket\");\n  }\n\n  //Parse a single message (there may be several in the buffer)\n  //  TODO: Handle characters using multiple code units\n  cursor++;\n  var openBracketCount = 1;\n  var inString = false;\n  for (; cursor < transBuf.writeIndex; cursor++) {\n    var chr = transBuf.buf[cursor];\n    //we use hexa charcode here because data[i] returns an int and not a char\n    if (inString) {\n      if (chr === 0x22) { //\"\n        inString = false;\n      } else if (chr === 0x5C) { //\\\n        //escaped character, skip\n        cursor += 1;\n      }\n    } else {\n      if (chr === 0x5B) { //[\n        openBracketCount += 1;\n      } else if (chr === 0x5D) { //]\n        openBracketCount -= 1;\n        if (openBracketCount === 0) {\n          //end of json message detected\n          break;\n        }\n      } else if (chr === 0x22) { //\"\n        inString = true;\n      }\n    }\n  }\n\n  if (openBracketCount !== 0) {\n    // Missing closing bracket. Can be buffer underrun.\n    throw new InputBufferUnderrunError();\n  }\n\n  //Reconstitute the JSON object and conume the necessary bytes\n  this.robj = json_parse(transBuf.buf.slice(transBuf.readIndex, cursor+1).toString());\n  this.trans.consume(cursor + 1 - transBuf.readIndex);\n\n  //Verify the protocol version\n  var version = this.robj.shift();\n  if (version != TJSONProtocol.Version) {\n    throw new Error('Wrong thrift protocol version: ' + version);\n  }\n\n  //Objectify the thrift message {name/type/sequence-number} for return\n  // and then save the JSON object in rstack\n  var r = {};\n  r.fname = this.robj.shift();\n  r.mtype = this.robj.shift();\n  r.rseqid = this.robj.shift();\n  this.rstack.push(this.robj.shift());\n  return r;\n};\n\n/** Deserializes the end of a message. */\nTJSONProtocol.prototype.readMessageEnd = function() {\n};\n\n/**\n * Deserializes the beginning of a struct.\n * @param {string} [name] - The name of the struct (ignored)\n * @returns {object} - An object with an empty string fname property\n */\nTJSONProtocol.prototype.readStructBegin = function() {\n  var r = {};\n  r.fname = '';\n\n  //incase this is an array of structs\n  if (this.rstack[this.rstack.length - 1] instanceof Array) {\n    this.rstack.push(this.rstack[this.rstack.length - 1].shift());\n  }\n\n  return r;\n};\n\n/** Deserializes the end of a struct. */\nTJSONProtocol.prototype.readStructEnd = function() {\n  this.rstack.pop();\n};\n\n/**\n * @class\n * @name AnonReadFieldBeginReturn\n * @property {string} fname - The name of the field (always '').\n * @property {Thrift.Type} ftype - The data type of the field.\n * @property {number} fid - The unique identifier of the field.\n */\n/**\n * Deserializes the beginning of a field.\n * @returns {AnonReadFieldBeginReturn}\n */\nTJSONProtocol.prototype.readFieldBegin = function() {\n  var r = {};\n\n  var fid = -1;\n  var ftype = Type.STOP;\n\n  //get a fieldId\n  for (var f in (this.rstack[this.rstack.length - 1])) {\n    if (f === null) {\n      continue;\n    }\n\n    fid = parseInt(f, 10);\n    this.rpos.push(this.rstack.length);\n\n    var field = this.rstack[this.rstack.length - 1][fid];\n\n    //remove so we don't see it again\n    delete this.rstack[this.rstack.length - 1][fid];\n\n    this.rstack.push(field);\n\n    break;\n  }\n\n  if (fid != -1) {\n    //should only be 1 of these but this is the only\n    //way to match a key\n    for (var i in (this.rstack[this.rstack.length - 1])) {\n      if (TJSONProtocol.RType[i] === null) {\n        continue;\n      }\n\n      ftype = TJSONProtocol.RType[i];\n      this.rstack[this.rstack.length - 1] = this.rstack[this.rstack.length - 1][i];\n    }\n  }\n\n  r.fname = '';\n  r.ftype = ftype;\n  r.fid = fid;\n\n  return r;\n};\n\n/** Deserializes the end of a field. */\nTJSONProtocol.prototype.readFieldEnd = function() {\n  var pos = this.rpos.pop();\n\n  //get back to the right place in the stack\n  while (this.rstack.length > pos) {\n    this.rstack.pop();\n  }\n};\n\n/**\n * @class\n * @name AnonReadMapBeginReturn\n * @property {Thrift.Type} ktype - The data type of the key.\n * @property {Thrift.Type} vtype - The data type of the value.\n * @property {number} size - The number of elements in the map.\n */\n/**\n * Deserializes the beginning of a map.\n * @returns {AnonReadMapBeginReturn}\n */\nTJSONProtocol.prototype.readMapBegin = function() {\n  var map = this.rstack.pop();\n  var first = map.shift();\n  if (first instanceof Array) {\n    this.rstack.push(map);\n    map = first;\n    first = map.shift();\n  }\n\n  var r = {};\n  r.ktype = TJSONProtocol.RType[first];\n  r.vtype = TJSONProtocol.RType[map.shift()];\n  r.size = map.shift();\n\n\n  this.rpos.push(this.rstack.length);\n  this.rstack.push(map.shift());\n\n  return r;\n};\n\n/** Deserializes the end of a map. */\nTJSONProtocol.prototype.readMapEnd = function() {\n  this.readFieldEnd();\n};\n\n/**\n * @class\n * @name AnonReadColBeginReturn\n * @property {Thrift.Type} etype - The data type of the element.\n * @property {number} size - The number of elements in the collection.\n */\n/**\n * Deserializes the beginning of a list.\n * @returns {AnonReadColBeginReturn}\n */\nTJSONProtocol.prototype.readListBegin = function() {\n  var list = this.rstack[this.rstack.length - 1];\n\n  var r = {};\n  r.etype = TJSONProtocol.RType[list.shift()];\n  r.size = list.shift();\n\n  this.rpos.push(this.rstack.length);\n  this.rstack.push(list.shift());\n\n  return r;\n};\n\n/** Deserializes the end of a list. */\nTJSONProtocol.prototype.readListEnd = function() {\n  var pos = this.rpos.pop() - 2;\n  var st = this.rstack;\n  st.pop();\n  if (st instanceof Array && st.length > pos && st[pos].length > 0) {\n    st.push(st[pos].shift());\n  }\n};\n\n/**\n * Deserializes the beginning of a set.\n * @returns {AnonReadColBeginReturn}\n */\nTJSONProtocol.prototype.readSetBegin = function() {\n  return this.readListBegin();\n};\n\n/** Deserializes the end of a set. */\nTJSONProtocol.prototype.readSetEnd = function() {\n  return this.readListEnd();\n};\n\nTJSONProtocol.prototype.readBool = function() {\n  return this.readValue() == '1';\n};\n\nTJSONProtocol.prototype.readByte = function() {\n  return this.readI32();\n};\n\nTJSONProtocol.prototype.readI16 = function() {\n  return this.readI32();\n};\n\nTJSONProtocol.prototype.readI32 = function(f) {\n  return +this.readValue();\n}\n\n/** Returns the next value found in the protocol buffer */\nTJSONProtocol.prototype.readValue = function(f) {\n  if (f === undefined) {\n    f = this.rstack[this.rstack.length - 1];\n  }\n\n  var r = {};\n\n  if (f instanceof Array) {\n    if (f.length === 0) {\n      r.value = undefined;\n    } else {\n      r.value = f.shift();\n    }\n  } else if (!(f instanceof Int64) && f instanceof Object) {\n    for (var i in f) {\n      if (i === null) {\n        continue;\n      }\n      this.rstack.push(f[i]);\n      delete f[i];\n\n      r.value = i;\n      break;\n    }\n  } else {\n    r.value = f;\n    this.rstack.pop();\n  }\n\n  return r.value;\n};\n\nTJSONProtocol.prototype.readI64 = function() {\n  var n = this.readValue()\n  if (typeof n === 'string') {\n    // Assuming no one is sending in 1.11111e+33 format\n    return Int64Util.fromDecimalString(n);\n  } else {\n    return new Int64(n);\n  }\n};\n\nTJSONProtocol.prototype.readDouble = function() {\n  return this.readI32();\n};\n\nTJSONProtocol.prototype.readBinary = function() {\n  return new Buffer(this.readValue(), 'base64');\n};\n\nTJSONProtocol.prototype.readString = function() {\n  return this.readValue();\n};\n\n/**\n * Returns the underlying transport.\n * @readonly\n * @returns {Thrift.Transport} The underlying transport.\n */\nTJSONProtocol.prototype.getTransport = function() {\n  return this.trans;\n};\n\n/**\n * Method to arbitrarily skip over data\n */\nTJSONProtocol.prototype.skip = function(type) {\n    switch (type) {\n    case Type.BOOL:\n      this.readBool();\n      break;\n    case Type.BYTE:\n      this.readByte();\n      break;\n    case Type.I16:\n      this.readI16();\n      break;\n    case Type.I32:\n      this.readI32();\n      break;\n    case Type.I64:\n      this.readI64();\n      break;\n    case Type.DOUBLE:\n      this.readDouble();\n      break;\n    case Type.STRING:\n      this.readString();\n      break;\n    case Type.STRUCT:\n      this.readStructBegin();\n      while (true) {\n        var r = this.readFieldBegin();\n        if (r.ftype === Type.STOP) {\n          break;\n        }\n        this.skip(r.ftype);\n        this.readFieldEnd();\n      }\n      this.readStructEnd();\n      break;\n    case Type.MAP:\n      var mapBegin = this.readMapBegin();\n      for (var i = 0; i < mapBegin.size; ++i) {\n        this.skip(mapBegin.ktype);\n        this.skip(mapBegin.vtype);\n      }\n      this.readMapEnd();\n      break;\n    case Type.SET:\n      var setBegin = this.readSetBegin();\n      for (var i2 = 0; i2 < setBegin.size; ++i2) {\n        this.skip(setBegin.etype);\n      }\n      this.readSetEnd();\n      break;\n    case Type.LIST:\n      var listBegin = this.readListBegin();\n      for (var i3 = 0; i3 < listBegin.size; ++i3) {\n        this.skip(listBegin.etype);\n      }\n      this.readListEnd();\n      break;\n    default:\n      throw new  Error(\"Invalid type: \" + type);\n  }\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar util = require('util');\n\nvar disabled = function () {};\nvar logFunc = console.log;\nvar logLevel = 'error'; // default level\n\nfunction factory(level) {\n  return function () {\n    // better use spread syntax, but due to compatibility,\n    // use legacy method here.\n    var args = ['thrift: [' + level + '] '].concat(Array.from(arguments));\n    return logFunc(util.format.apply(null, args));\n  };\n}\n\nvar trace = disabled;\nvar debug = disabled;\nvar error = disabled;\nvar warning = disabled;\nvar info = disabled;\n\nexports.setLogFunc = function (func) {\n  logFunc = func;\n};\n\nvar setLogLevel = exports.setLogLevel = function (level) {\n  trace = debug = error = warning = info = disabled;\n  logLevel = level;\n  switch (logLevel) {\n  case 'trace':\n    trace = factory('TRACE');\n  case 'debug':\n    debug = factory('DEBUG');\n  case 'error':\n    error = factory('ERROR');\n  case 'warning':\n    warning = factory('WARN');\n  case 'info':\n    info = factory('INFO');\n  }\n};\n\n// set default\nsetLogLevel(logLevel);\n\nexports.getLogLevel = function () {\n  return logLevel;\n};\n\nexports.trace = function () {\n  return trace.apply(null, arguments);\n};\n\nexports.debug = function () {\n  return debug.apply(null, arguments);\n};\n\nexports.error = function () {\n  return error.apply(null, arguments);\n};\n\nexports.warning = function () {\n  return warning.apply(null, arguments);\n};\n\nexports.info = function () {\n  return info.apply(null, arguments);\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\nvar util = require('util');\nvar Thrift = require('./thrift');\n\nexports.Multiplexer = Multiplexer;\n\nfunction Wrapper(serviceName, protocol, connection) {\n\n  function MultiplexProtocol(trans, strictRead, strictWrite) {\n    protocol.call(this, trans, strictRead, strictWrite);\n  };\n\n  util.inherits(MultiplexProtocol, protocol);\n\n  MultiplexProtocol.prototype.writeMessageBegin = function(name, type, seqid) {\n    if (type == Thrift.MessageType.CALL || type == Thrift.MessageType.ONEWAY) {\n      connection.seqId2Service[seqid] = serviceName;\n      MultiplexProtocol.super_.prototype.writeMessageBegin.call(this,\n                                                                serviceName + \":\" + name,\n                                                                type,\n                                                                seqid);\n    } else {\n      MultiplexProtocol.super_.prototype.writeMessageBegin.call(this, name, type, seqid);\n    }\n  };\n\n  return MultiplexProtocol;\n};\n\nfunction Multiplexer() {\n  this.seqid = 0;\n};\n\nMultiplexer.prototype.createClient = function(serviceName, ServiceClient, connection) {\n  if (ServiceClient.Client) {\n    ServiceClient = ServiceClient.Client;\n  }\n  var writeCb = function(buf, seqid) {\n    connection.write(buf,seqid);\n  };\n  var transport = new connection.transport(undefined, writeCb);\n  var protocolWrapper = new Wrapper(serviceName, connection.protocol, connection);\n  var client = new ServiceClient(transport, protocolWrapper);\n  var self = this;\n  client.new_seqid = function() {\n    self.seqid += 1;\n    return self.seqid;\n  };\n\n  if (typeof connection.client !== 'object') {\n    connection.client = {};\n  }\n  connection.client[serviceName] = client;\n\n  return client;\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\nvar util = require('util');\n\nvar Type = exports.Type = {\n  STOP: 0,\n  VOID: 1,\n  BOOL: 2,\n  BYTE: 3,\n  I08: 3,\n  DOUBLE: 4,\n  I16: 6,\n  I32: 8,\n  I64: 10,\n  STRING: 11,\n  UTF7: 11,\n  STRUCT: 12,\n  MAP: 13,\n  SET: 14,\n  LIST: 15,\n  UTF8: 16,\n  UTF16: 17\n};\n\nexports.MessageType = {\n  CALL: 1,\n  REPLY: 2,\n  EXCEPTION: 3,\n  ONEWAY: 4\n};\n\nexports.TException = TException;\n\nfunction TException(message) {\n  Error.call(this);\n  if (Error.captureStackTrace !== undefined) {\n    Error.captureStackTrace(this, this.constructor);\n  }\n\n  this.name = this.constructor.name;\n  this.message = message;\n};\nutil.inherits(TException, Error);\n\nvar TApplicationExceptionType = exports.TApplicationExceptionType = {\n  UNKNOWN: 0,\n  UNKNOWN_METHOD: 1,\n  INVALID_MESSAGE_TYPE: 2,\n  WRONG_METHOD_NAME: 3,\n  BAD_SEQUENCE_ID: 4,\n  MISSING_RESULT: 5,\n  INTERNAL_ERROR: 6,\n  PROTOCOL_ERROR: 7,\n  INVALID_TRANSFORM: 8,\n  INVALID_PROTOCOL: 9,\n  UNSUPPORTED_CLIENT_TYPE: 10\n};\n\nexports.TApplicationException = TApplicationException;\n\nfunction TApplicationException(type, message) {\n  TException.call(this);\n  if (Error.captureStackTrace !== undefined) {\n    Error.captureStackTrace(this, this.constructor);\n  }\n\n  this.type = type || TApplicationExceptionType.UNKNOWN;\n  this.name = this.constructor.name;\n  this.message = message;\n};\nutil.inherits(TApplicationException, TException);\n\nTApplicationException.prototype.read = function(input) {\n  var ftype;\n  var ret = input.readStructBegin('TApplicationException');\n\n  while(1){\n      ret = input.readFieldBegin();\n      if(ret.ftype == Type.STOP)\n          break;\n\n      switch(ret.fid){\n          case 1:\n              if( ret.ftype == Type.STRING ){\n                  ret = input.readString();\n                  this.message = ret;\n              } else {\n                  ret = input.skip(ret.ftype);\n              }\n              break;\n          case 2:\n              if( ret.ftype == Type.I32 ){\n                  ret = input.readI32();\n                  this.type = ret;\n              } else {\n                  ret   = input.skip(ret.ftype);\n              }\n              break;\n          default:\n              ret = input.skip(ret.ftype);\n              break;\n      }\n      input.readFieldEnd();\n  }\n  input.readStructEnd();\n};\n\nTApplicationException.prototype.write = function(output){\n  output.writeStructBegin('TApplicationException');\n\n  if (this.message) {\n      output.writeFieldBegin('message', Type.STRING, 1);\n      output.writeString(this.message);\n      output.writeFieldEnd();\n  }\n\n  if (this.code) {\n      output.writeFieldBegin('type', Type.I32, 2);\n      output.writeI32(this.code);\n      output.writeFieldEnd();\n  }\n\n  output.writeFieldStop();\n  output.writeStructEnd();\n};\n\nvar TProtocolExceptionType = exports.TProtocolExceptionType = {\n  UNKNOWN: 0,\n  INVALID_DATA: 1,\n  NEGATIVE_SIZE: 2,\n  SIZE_LIMIT: 3,\n  BAD_VERSION: 4,\n  NOT_IMPLEMENTED: 5,\n  DEPTH_LIMIT: 6\n};\n\n\nexports.TProtocolException = TProtocolException;\n\nfunction TProtocolException(type, message) {\n  Error.call(this);\n  if (Error.captureStackTrace !== undefined) {\n    Error.captureStackTrace(this, this.constructor);\n  }\n\n  this.name = this.constructor.name;\n  this.type = type;\n  this.message = message;\n};\nutil.inherits(TProtocolException, Error);\n\nexports.objectLength = function(obj) {\n  return Object.keys(obj).length;\n};\n\nexports.inherits = function(constructor, superConstructor) {\n  util.inherits(constructor, superConstructor);\n};\n\nvar copyList, copyMap;\n\ncopyList = function(lst, types) {\n\n  if (!lst) {return lst; }\n\n  var type;\n\n  if (types.shift === undefined) {\n    type = types;\n  }\n  else {\n    type = types[0];\n  }\n  var Type = type;\n\n  var len = lst.length, result = [], i, val;\n  for (i = 0; i < len; i++) {\n    val = lst[i];\n    if (type === null) {\n      result.push(val);\n    }\n    else if (type === copyMap || type === copyList) {\n      result.push(type(val, types.slice(1)));\n    }\n    else {\n      result.push(new Type(val));\n    }\n  }\n  return result;\n};\n\ncopyMap = function(obj, types){\n\n  if (!obj) {return obj; }\n\n  var type;\n\n  if (types.shift === undefined) {\n    type = types;\n  }\n  else {\n    type = types[0];\n  }\n  var Type = type;\n\n  var result = {}, val;\n  for(var prop in obj) {\n    if(obj.hasOwnProperty(prop)) {\n      val = obj[prop];\n      if (type === null) {\n        result[prop] = val;\n      }\n      else if (type === copyMap || type === copyList) {\n        result[prop] = type(val, types.slice(1));\n      }\n      else {\n        result[prop] = new Type(val);\n      }\n    }\n  }\n  return result;\n};\n\nmodule.exports.copyMap = copyMap;\nmodule.exports.copyList = copyList;\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\nvar util = require('util');\nvar WebSocket = require('isomorphic-ws');\nvar EventEmitter = require(\"events\").EventEmitter;\nvar thrift = require('./thrift');\n\nvar TBufferedTransport = require('./buffered_transport');\nvar TJSONProtocol = require('./json_protocol');\nvar InputBufferUnderrunError = require('./input_buffer_underrun_error');\n\nvar createClient = require('./create_client');\nvar jsEnv = require('browser-or-node');\nexports.WSConnection = WSConnection;\n\n/**\n * @class\n * @name WSConnectOptions\n * @property {string} transport - The Thrift layered transport to use (TBufferedTransport, etc).\n * @property {string} protocol - The Thrift serialization protocol to use (TJSONProtocol, etc.).\n * @property {string} path - The URL path to connect to (e.g. \"/\", \"/mySvc\", \"/thrift/quoteSvc\", etc.).\n * @property {object} headers - A standard Node.js header hash, an object hash containing key/value\n *        pairs where the key is the header name string and the value is the header value string.\n * @property {boolean} secure - True causes the connection to use wss, otherwise ws is used.\n * @property {object} wsOptions - Options passed on to WebSocket.\n * @example\n *     //Use a secured websocket connection\n *     //  uses the buffered transport layer, uses the JSON protocol and directs RPC traffic\n *     //  to wss://thrift.example.com:9090/hello\n *     var thrift = require('thrift');\n *     var options = {\n *        transport: thrift.TBufferedTransport,\n *        protocol: thrift.TJSONProtocol,\n *        path: \"/hello\",\n *        secure: true\n *     };\n *     var con = thrift.createWSConnection(\"thrift.example.com\", 9090, options);\n *     con.open()\n *     var client = thrift.createWSClient(myService, connection);\n *     client.myServiceFunction();\n *     con.close()\n */\n\n/**\n * Initializes a Thrift WSConnection instance (use createWSConnection() rather than\n *    instantiating directly).\n * @constructor\n * @param {string} host - The host name or IP to connect to.\n * @param {number} port - The TCP port to connect to.\n * @param {WSConnectOptions} options - The configuration options to use.\n * @throws {error} Exceptions other than ttransport.InputBufferUnderrunError are rethrown\n * @event {error} The \"error\" event is fired when a Node.js error event occurs during\n *     request or response processing, in which case the node error is passed on. An \"error\"\n *     event may also be fired when the connection can not map a response back to the\n *     appropriate client (an internal error), generating a TApplicationException.\n * @classdesc WSConnection objects provide Thrift end point transport\n *     semantics implemented using Websockets.\n * @see {@link createWSConnection}\n */\nfunction WSConnection(host, port, options) {\n  //Initialize the emitter base object\n  EventEmitter.call(this);\n\n  //Set configuration\n  this.options = options || {};\n  this.host = host;\n  this.port = port;\n  this.secure = this.options.secure || false;\n  this.transport = this.options.transport || TBufferedTransport;\n  this.protocol = this.options.protocol || TJSONProtocol;\n  this.path = this.options.path;\n  this.send_pending = [];\n\n  //The sequence map is used to map seqIDs back to the\n  //  calling client in multiplexed scenarios\n  this.seqId2Service = {};\n\n  //Prepare WebSocket options\n  this.wsOptions = {\n    host: this.host,\n    port: this.port || 80,\n    path: this.options.path || '/',\n    headers: this.options.headers || {}\n  };\n  for (var attrname in this.options.wsOptions) {\n    this.wsOptions[attrname] = this.options.wsOptions[attrname];\n  }\n};\nutil.inherits(WSConnection, EventEmitter);\n\nWSConnection.prototype.__reset = function() {\n  this.socket = null; //The web socket\n  this.send_pending = []; //Buffers/Callback pairs waiting to be sent\n};\n\nWSConnection.prototype.__onOpen = function() {\n  this.emit(\"open\");\n  if (this.send_pending.length > 0) {\n    //If the user made calls before the connection was fully\n    //open, send them now\n    this.send_pending.forEach(function(data) {\n      this.socket.send(data);\n    }, this);\n    this.send_pending = [];\n  }\n};\n\nWSConnection.prototype.__onClose = function(evt) {\n  this.emit(\"close\");\n  this.__reset();\n};\n\nWSConnection.prototype.__decodeCallback = function(transport_with_data) {\n  var proto = new this.protocol(transport_with_data);\n  try {\n    while (true) {\n      var header = proto.readMessageBegin();\n      var dummy_seqid = header.rseqid * -1;\n      var client = this.client;\n      //The Multiplexed Protocol stores a hash of seqid to service names\n      //  in seqId2Service. If the SeqId is found in the hash we need to\n      //  lookup the appropriate client for this call.\n      //  The client var is a single client object when not multiplexing,\n      //  when using multiplexing it is a service name keyed hash of client\n      //  objects.\n      //NOTE: The 2 way interdependencies between protocols, transports,\n      //  connections and clients in the Node.js implementation are irregular\n      //  and make the implementation difficult to extend and maintain. We\n      //  should bring this stuff inline with typical thrift I/O stack\n      //  operation soon.\n      //  --ra\n      var service_name = this.seqId2Service[header.rseqid];\n      if (service_name) {\n        client = this.client[service_name];\n        delete this.seqId2Service[header.rseqid];\n      }\n      /*jshint -W083 */\n      client._reqs[dummy_seqid] = function(err, success) {\n        transport_with_data.commitPosition();\n        var clientCallback = client._reqs[header.rseqid];\n        delete client._reqs[header.rseqid];\n        if (clientCallback) {\n          clientCallback(err, success);\n        }\n      };\n      /*jshint +W083 */\n      if (client['recv_' + header.fname]) {\n        client['recv_' + header.fname](proto, header.mtype, dummy_seqid);\n      } else {\n        delete client._reqs[dummy_seqid];\n        this.emit(\"error\",\n          new thrift.TApplicationException(\n            thrift.TApplicationExceptionType.WRONG_METHOD_NAME,\n            \"Received a response to an unknown RPC function\"));\n      }\n    }\n  } catch (e) {\n    if (e instanceof InputBufferUnderrunError) {\n      transport_with_data.rollbackPosition();\n    } else {\n      throw e;\n    }\n  }\n};\n\nWSConnection.prototype.__onData = function(data) {\n  if (Object.prototype.toString.call(data) === \"[object ArrayBuffer]\") {\n    data = new Uint8Array(data);\n  }\n  var buf = new Buffer(data);\n  this.transport.receiver(this.__decodeCallback.bind(this))(buf);\n\n};\n\nWSConnection.prototype.__onMessage = function(evt) {\n  this.__onData(evt.data);\n};\n\nWSConnection.prototype.__onError = function(evt) {\n  this.emit(\"error\", evt);\n  this.socket.close();\n};\n\n/**\n * Returns true if the transport is open\n * @readonly\n * @returns {boolean}\n */\nWSConnection.prototype.isOpen = function() {\n  return this.socket && this.socket.readyState === this.socket.OPEN;\n};\n\n/**\n * Opens the transport connection\n */\nWSConnection.prototype.open = function() {\n  //If OPEN/CONNECTING/CLOSING ignore additional opens\n  if (this.socket && this.socket.readyState !== this.socket.CLOSED) {\n    return;\n  }\n  //If there is no socket or the socket is closed:\n  if (jsEnv.isBrowser) {\n    this.socket = new WebSocket(this.uri());\n  } else {\n    this.socket = new WebSocket(this.uri(), \"\", this.wsOptions);\n  }\n  this.socket.binaryType = 'arraybuffer';\n  this.socket.onopen = this.__onOpen.bind(this);\n  this.socket.onmessage = this.__onMessage.bind(this);\n  this.socket.onerror = this.__onError.bind(this);\n  this.socket.onclose = this.__onClose.bind(this);\n};\n\n/**\n * Closes the transport connection\n */\nWSConnection.prototype.close = function() {\n  this.socket.close();\n};\n\n/**\n * Return URI for the connection\n * @returns {string} URI\n */\nWSConnection.prototype.uri = function() {\n  var schema = this.secure ? 'wss' : 'ws';\n  var port = '';\n  var path = this.path || '/';\n  var host = this.host;\n\n  // avoid port if default for schema\n  if (this.port && (('wss' === schema && this.port !== 443) ||\n    ('ws' === schema && this.port !== 80))) {\n    port = ':' + this.port;\n  }\n\n  return schema + '://' + host + port + path;\n};\n\n/**\n * Writes Thrift message data to the connection\n * @param {Buffer} data - A Node.js Buffer containing the data to write\n * @returns {void} No return value.\n * @event {error} the \"error\" event is raised upon request failure passing the\n *     Node.js error object to the listener.\n */\nWSConnection.prototype.write = function(data) {\n  if (this.isOpen()) {\n    //Send data and register a callback to invoke the client callback\n    this.socket.send(data);\n  } else {\n    //Queue the send to go out __onOpen\n    this.send_pending.push(data);\n  }\n};\n\n/**\n * Creates a new WSConnection object, used by Thrift clients to connect\n *    to Thrift HTTP based servers.\n * @param {string} host - The host name or IP to connect to.\n * @param {number} port - The TCP port to connect to.\n * @param {WSConnectOptions} options - The configuration options to use.\n * @returns {WSConnection} The connection object.\n * @see {@link WSConnectOptions}\n */\nexports.createWSConnection = function(host, port, options) {\n  return new WSConnection(host, port, options);\n};\n\nexports.createWSClient = createClient;\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nvar log = require('./log');\n\nmodule.exports = TWebSocketTransport;\n\n/**\n * Constructor Function for the WebSocket transport.\n * @constructor\n * @param {string} [url] - The URL to connect to.\n * @classdesc The Apache Thrift Transport layer performs byte level I/O\n * between RPC clients and servers. The JavaScript TWebSocketTransport object\n * uses the WebSocket protocol. Target servers must implement WebSocket.\n * (see: node.js example server_http.js).\n * @example\n *   var transport = new Thrift.TWebSocketTransport(\"http://localhost:8585\");\n */\nfunction TWebSocketTransport(url) {\n    this.__reset(url);\n};\n\n\nTWebSocketTransport.prototype.__reset = function(url) {\n  this.url = url;             //Where to connect\n  this.socket = null;         //The web socket\n  this.callbacks = [];        //Pending callbacks\n  this.send_pending = [];     //Buffers/Callback pairs waiting to be sent\n  this.send_buf = '';         //Outbound data, immutable until sent\n  this.recv_buf = '';         //Inbound data\n  this.rb_wpos = 0;           //Network write position in receive buffer\n  this.rb_rpos = 0;           //Client read position in receive buffer\n};\n\n/**\n * Sends the current WS request and registers callback. The async\n * parameter is ignored (WS flush is always async) and the callback\n * function parameter is required.\n * @param {object} async - Ignored.\n * @param {object} callback - The client completion callback.\n * @returns {undefined|string} Nothing (undefined)\n */\nTWebSocketTransport.prototype.flush = function(async, callback) {\n  var self = this;\n  if (this.isOpen()) {\n    //Send data and register a callback to invoke the client callback\n    this.socket.send(this.send_buf);\n    this.callbacks.push((function() {\n      var clientCallback = callback;\n      return function(msg) {\n        self.setRecvBuffer(msg);\n        clientCallback();\n      };\n    }()));\n  } else {\n    //Queue the send to go out __onOpen\n    this.send_pending.push({\n      buf: this.send_buf,\n      cb:  callback\n    });\n  }\n};\n\nTWebSocketTransport.prototype.__onOpen = function() {\n   var self = this;\n   if (this.send_pending.length > 0) {\n      //If the user made calls before the connection was fully\n      //open, send them now\n      this.send_pending.forEach(function(elem) {\n         self.socket.send(elem.buf);\n         self.callbacks.push((function() {\n           var clientCallback = elem.cb;\n           return function(msg) {\n              self.setRecvBuffer(msg);\n              clientCallback();\n           };\n         }()));\n      });\n      this.send_pending = [];\n   }\n};\n\nTWebSocketTransport.prototype.__onClose = function(evt) {\n  this.__reset(this.url);\n};\n\nTWebSocketTransport.prototype.__onMessage = function(evt) {\n  if (this.callbacks.length) {\n    this.callbacks.shift()(evt.data);\n  }\n};\n\nTWebSocketTransport.prototype.__onError = function(evt) {\n  log.error('websocket: ' + evt.toString());\n  this.socket.close();\n};\n\n/**\n * Sets the buffer to use when receiving server responses.\n * @param {string} buf - The buffer to receive server responses.\n */\nTWebSocketTransport.prototype.setRecvBuffer = function(buf) {\n  this.recv_buf = buf;\n  this.recv_buf_sz = this.recv_buf.length;\n  this.wpos = this.recv_buf.length;\n  this.rpos = 0;\n};\n\n/**\n * Returns true if the transport is open\n * @readonly\n * @returns {boolean}\n */\nTWebSocketTransport.prototype.isOpen = function() {\n  return this.socket && this.socket.readyState == this.socket.OPEN;\n};\n\n/**\n * Opens the transport connection\n */\nTWebSocketTransport.prototype.open = function() {\n  //If OPEN/CONNECTING/CLOSING ignore additional opens\n  if (this.socket && this.socket.readyState != this.socket.CLOSED) {\n    return;\n  }\n  //If there is no socket or the socket is closed:\n  this.socket = new WebSocket(this.url);\n  this.socket.onopen = this.__onOpen.bind(this);\n  this.socket.onmessage = this.__onMessage.bind(this);\n  this.socket.onerror = this.__onError.bind(this);\n  this.socket.onclose = this.__onClose.bind(this);\n};\n\n/**\n * Closes the transport connection\n */\nTWebSocketTransport.prototype.close = function() {\n  this.socket.close();\n};\n\n/**\n * Returns the specified number of characters from the response\n * buffer.\n * @param {number} len - The number of characters to return.\n * @returns {string} Characters sent by the server.\n */\nTWebSocketTransport.prototype.read = function(len) {\n  var avail = this.wpos - this.rpos;\n\n  if (avail === 0) {\n    return '';\n  }\n\n  var give = len;\n\n  if (avail < len) {\n    give = avail;\n  }\n\n  var ret = this.read_buf.substr(this.rpos, give);\n  this.rpos += give;\n\n  //clear buf when complete?\n  return ret;\n};\n\n/**\n * Returns the entire response buffer.\n * @returns {string} Characters sent by the server.\n */\nTWebSocketTransport.prototype.readAll = function() {\n  return this.recv_buf;\n};\n\n/**\n * Sets the send buffer to buf.\n * @param {string} buf - The buffer to send.\n */\nTWebSocketTransport.prototype.write = function(buf) {\n  this.send_buf = buf;\n};\n\n/**\n * Returns the send buffer.\n * @readonly\n * @returns {string} The send buffer.\n */\nTWebSocketTransport.prototype.getSendBuffer = function() {\n  return this.send_buf;\n};\n","/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\nvar util = require('util');\nvar EventEmitter = require(\"events\").EventEmitter;\nvar thrift = require('./thrift');\n\nvar TBufferedTransport = require('./buffered_transport');\nvar TJSONProtocol = require('./json_protocol');\nvar InputBufferUnderrunError = require('./input_buffer_underrun_error');\n\nvar createClient = require('./create_client');\n\nexports.XHRConnection = XHRConnection;\n\n/**\n * Constructor Function for the XHR Connection.\n * If you do not specify a host and port then XHRConnection will default to the\n * host and port of the page from which this javascript is served.\n * @constructor\n * @param {string} [url] - The URL to connect to.\n * @classdesc TXHRConnection objects provide Thrift end point transport\n *     semantics implemented using XHR.\n * @example\n *     var transport = new Thrift.TXHRConnection('localhost', 9099, {});\n */\nfunction XHRConnection(host, port, options) {\n  this.options = options || {};\n  this.wpos = 0;\n  this.rpos = 0;\n  this.useCORS = (options && options.useCORS);\n  this.send_buf = '';\n  this.recv_buf = '';\n  this.transport = options.transport || TBufferedTransport;\n  this.protocol = options.protocol || TJSONProtocol;\n  this.headers = options.headers || {};\n\n  host = host || window.location.host;\n  port = port || window.location.port;\n  var prefix = options.https ? 'https://' : 'http://';\n  var path = options.path || '/';\n\n  if (port === '') {\n    port = undefined;\n  }\n\n  if (!port || port === 80 || port === '80') {\n    this.url = prefix + host + path;\n  } else {\n    this.url = prefix + host + ':' + port + path;\n  }\n\n  //The sequence map is used to map seqIDs back to the\n  //  calling client in multiplexed scenarios\n  this.seqId2Service = {};\n};\n\nutil.inherits(XHRConnection, EventEmitter);\n\n/**\n* Gets the browser specific XmlHttpRequest Object.\n* @returns {object} the browser XHR interface object\n*/\nXHRConnection.prototype.getXmlHttpRequestObject = function() {\n  try { return new XMLHttpRequest(); } catch (e1) { }\n  try { return new ActiveXObject('Msxml2.XMLHTTP'); } catch (e2) { }\n  try { return new ActiveXObject('Microsoft.XMLHTTP'); } catch (e3) { }\n\n  throw \"Your browser doesn't support XHR.\";\n};\n\n/**\n * Sends the current XRH request if the transport was created with a URL\n * and the async parameter is false. If the transport was not created with\n * a URL, or the async parameter is True and no callback is provided, or\n * the URL is an empty string, the current send buffer is returned.\n * @param {object} async - If true the current send buffer is returned.\n * @param {object} callback - Optional async completion callback\n * @returns {undefined|string} Nothing or the current send buffer.\n * @throws {string} If XHR fails.\n */\nXHRConnection.prototype.flush = function() {\n  var self = this;\n  if (this.url === undefined || this.url === '') {\n    return this.send_buf;\n  }\n\n  var xreq = this.getXmlHttpRequestObject();\n\n  if (xreq.overrideMimeType) {\n    xreq.overrideMimeType('application/json');\n  }\n\n  xreq.onreadystatechange = function() {\n    if (this.readyState == 4 && this.status == 200) {\n      self.setRecvBuffer(this.responseText);\n    }\n  };\n\n  xreq.open('POST', this.url, true);\n\n  Object.keys(this.headers).forEach(function(headerKey) {\n    xreq.setRequestHeader(headerKey, self.headers[headerKey]);\n  });\n\n  xreq.send(this.send_buf);\n};\n\n/**\n * Sets the buffer to provide the protocol when deserializing.\n * @param {string} buf - The buffer to supply the protocol.\n */\nXHRConnection.prototype.setRecvBuffer = function(buf) {\n  this.recv_buf = buf;\n  this.recv_buf_sz = this.recv_buf.length;\n  this.wpos = this.recv_buf.length;\n  this.rpos = 0;\n\n  if (Object.prototype.toString.call(buf) == \"[object ArrayBuffer]\") {\n    var data = new Uint8Array(buf);\n  }\n  var thing = new Buffer(data || buf);\n\n  this.transport.receiver(this.__decodeCallback.bind(this))(thing);\n\n};\n\nXHRConnection.prototype.__decodeCallback = function(transport_with_data) {\n  var proto = new this.protocol(transport_with_data);\n  try {\n    while (true) {\n      var header = proto.readMessageBegin();\n      var dummy_seqid = header.rseqid * -1;\n      var client = this.client;\n      //The Multiplexed Protocol stores a hash of seqid to service names\n      //  in seqId2Service. If the SeqId is found in the hash we need to\n      //  lookup the appropriate client for this call.\n      //  The client var is a single client object when not multiplexing,\n      //  when using multiplexing it is a service name keyed hash of client\n      //  objects.\n      //NOTE: The 2 way interdependencies between protocols, transports,\n      //  connections and clients in the Node.js implementation are irregular\n      //  and make the implementation difficult to extend and maintain. We\n      //  should bring this stuff inline with typical thrift I/O stack\n      //  operation soon.\n      //  --ra\n      var service_name = this.seqId2Service[header.rseqid];\n      if (service_name) {\n        client = this.client[service_name];\n        delete this.seqId2Service[header.rseqid];\n      }\n      /*jshint -W083 */\n      client._reqs[dummy_seqid] = function(err, success) {\n        transport_with_data.commitPosition();\n        var clientCallback = client._reqs[header.rseqid];\n        delete client._reqs[header.rseqid];\n        if (clientCallback) {\n          clientCallback(err, success);\n        }\n      };\n      /*jshint +W083 */\n      if (client['recv_' + header.fname]) {\n        client['recv_' + header.fname](proto, header.mtype, dummy_seqid);\n      } else {\n        delete client._reqs[dummy_seqid];\n        this.emit(\"error\",\n          new thrift.TApplicationException(\n            thrift.TApplicationExceptionType.WRONG_METHOD_NAME,\n            \"Received a response to an unknown RPC function\"));\n      }\n    }\n  } catch (e) {\n    if (e instanceof InputBufferUnderrunError) {\n      transport_with_data.rollbackPosition();\n    } else {\n      throw e;\n    }\n  }\n};\n\n/**\n * Returns true if the transport is open, XHR always returns true.\n * @readonly\n * @returns {boolean} Always True.\n */\nXHRConnection.prototype.isOpen = function() {\n  return true;\n};\n\n/**\n * Opens the transport connection, with XHR this is a nop.\n */\nXHRConnection.prototype.open = function() {};\n\n/**\n * Closes the transport connection, with XHR this is a nop.\n */\nXHRConnection.prototype.close = function() {};\n\n/**\n * Returns the specified number of characters from the response\n * buffer.\n * @param {number} len - The number of characters to return.\n * @returns {string} Characters sent by the server.\n */\nXHRConnection.prototype.read = function(len) {\n  var avail = this.wpos - this.rpos;\n\n  if (avail === 0) {\n    return '';\n  }\n\n  var give = len;\n\n  if (avail < len) {\n    give = avail;\n  }\n\n  var ret = this.read_buf.substr(this.rpos, give);\n  this.rpos += give;\n\n  //clear buf when complete?\n  return ret;\n};\n\n/**\n * Returns the entire response buffer.\n * @returns {string} Characters sent by the server.\n */\nXHRConnection.prototype.readAll = function() {\n  return this.recv_buf;\n};\n\n/**\n * Sets the send buffer to buf.\n * @param {string} buf - The buffer to send.\n */\nXHRConnection.prototype.write = function(buf) {\n  this.send_buf = buf;\n  this.flush();\n};\n\n/**\n * Returns the send buffer.\n * @readonly\n * @returns {string} The send buffer.\n */\nXHRConnection.prototype.getSendBuffer = function() {\n  return this.send_buf;\n};\n\n/**\n * Creates a new TXHRTransport object, used by Thrift clients to connect\n *    to Thrift HTTP based servers.\n * @param {string} host - The host name or IP to connect to.\n * @param {number} port - The TCP port to connect to.\n * @param {XHRConnectOptions} options - The configuration options to use.\n * @returns {XHRConnection} The connection object.\n * @see {@link XHRConnectOptions}\n */\nexports.createXHRConnection = function(host, port, options) {\n  return new XHRConnection(host, port, options);\n};\n\nexports.createXHRClient = createClient;\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n                t[p[i]] = s[p[i]];\r\n        }\r\n    return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n    if (k2 === undefined) k2 = k;\r\n    o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n    for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n    var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n    if (m) return m.call(o);\r\n    if (o && typeof o.length === \"number\") return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n    throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nexport function __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n            r[k] = a[j];\r\n    return r;\r\n};\r\n\r\nexport function __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to get private field on non-instance\");\r\n    }\r\n    return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n    if (!privateMap.has(receiver)) {\r\n        throw new TypeError(\"attempted to set private field on non-instance\");\r\n    }\r\n    privateMap.set(receiver, value);\r\n    return value;\r\n}\r\n","!function(n,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],t):t((n=n||self).TypesafeActions={})}(this,function(n){\"use strict\";function t(n,t){return void 0===t&&(t=1),null==n}function r(n){throw void 0===n&&(n=1),new Error(\"Argument \"+n+\" is empty.\")}function e(n){return\"function\"==typeof n&&\"getType\"in n}function i(n){throw void 0===n&&(n=1),new Error(\"Argument \"+n+' is invalid, it should be an action-creator instance from \"typesafe-actions\"')}function o(n,t){if(null==n)throw new Error(\"Argument contains array with empty element at index \"+t);if(null==n.getType)throw new Error(\"Argument contains array with invalid element at index \"+t+', it should be an action-creator instance from \"typesafe-actions\"')}function u(n){return\"string\"==typeof n||\"symbol\"==typeof n}function c(n){return!u(n)}function a(n){throw void 0===n&&(n=1),new Error(\"Argument \"+n+\" is invalid, it should be an action type of type: string | symbol\")}function f(n,t){if(null==n)throw new Error(\"Argument contains array with empty element at index \"+t);if(\"string\"!=typeof n&&\"symbol\"!=typeof n)throw new Error(\"Argument contains array with invalid element at index \"+t+\", it should be of type: string | symbol\")}function s(n,e,o,u){return t(n)&&r(1),c(n)&&i(1),{type:n,payload:e,meta:o,error:u}}function y(n,e){t(n)&&r(1),c(n)&&a(1);var i=null!=e?e(n):function(){return{type:n}};return Object.assign(i,{getType:function(){return n},toString:function(){return n}})}function p(n){return t(n)&&r(1),c(n)&&a(1),Object.assign(function(){return y(n,function(n){return function(t,r){return{type:n,payload:t,meta:r}}})},{map:function(t){return y(n,function(n){return function(r,e){return Object.assign(t(r,e),{type:n})}})}})}function l(n){return t(n)&&r(1),e(n)||i(1),n.getType()}n.action=s,n.createAction=function(n,t){var r=null==t?function(){return s(n)}:t(s.bind(null,n));return Object.assign(r,{getType:function(){return n},toString:function(){return n}})},n.createActionDeprecated=function(n,t){var r;if(null!=t){if(\"function\"!=typeof t)throw new Error(\"second argument is not a function\");r=t}else r=function(){return{type:n}};if(null==n)throw new Error(\"first argument is missing\");if(\"string\"!=typeof n&&\"symbol\"!=typeof n)throw new Error(\"first argument should be type of: string | symbol\");return r},n.createAsyncAction=function(n,t,r,e){return[n,t,r].forEach(f),Object.assign(function(){return{request:p(n)(),success:p(t)(),failure:p(r)(),cancel:e&&p(e)()}},{})},n.createCustomAction=y,n.createReducer=function n(t,r){void 0===r&&(r={});var i=Object.assign({},r);return Object.assign(function(n,r){if(void 0===n&&(n=t),i.hasOwnProperty(r.type)){var e=i[r.type];if(\"function\"!=typeof e)throw Error('Reducer under \"'+r.type+'\" key is not a valid reducer');return e(n,r)}return n},{handlers:Object.assign({},i),handleAction:function(r,o){var c=Array.isArray(r)?r:[r],a={};return c.map(function(n){return e(n)?l(n):u(n)?n:function(n){throw void 0===n&&(n=1),new Error(\"Argument \"+n+' is invalid, it should be an action-creator instance from \"typesafe-actions\" or action type of type: string | symbol')}()}).forEach(function(n){return a[n]=o}),n(t,Object.assign({},i,a))}})},n.createStandardAction=p,n.getType=l,n.isActionOf=function(n,e){t(n)&&r(1);var i=Array.isArray(n)?n:[n];i.forEach(o);var u=function(n){return i.some(function(t){return n.type===t.getType()})};return void 0===e?u:u(e)},n.isOfType=function(n,e){t(n)&&r(1);var i=Array.isArray(n)?n:[n];i.forEach(f);var o=function(n){return i.includes(n.type)};return void 0===e?o:o(e)}});\n//# sourceMappingURL=typesafe-actions.umd.production.js.map\n","export default function(e,n){return n=n||{},new Promise(function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(n.method||\"get\",e,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm,function(e,n,t){o.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+\",\"+t:t}),t(a())},s.onerror=r,s.withCredentials=\"include\"==n.credentials,n.headers)s.setRequestHeader(l,n.headers[l]);s.send(n.body||null)})}\n//# sourceMappingURL=unfetch.module.js.map\n","/**!\n * url-search-params-polyfill\n *\n * @author Jerry Bendy (https://github.com/jerrybendy)\n * @licence MIT\n */\n(function(self) {\n    'use strict';\n\n    var nativeURLSearchParams = (function() {\n            // #41 Fix issue in RN\n            try {\n                if (self.URLSearchParams && (new self.URLSearchParams('foo=bar')).get('foo') === 'bar') {\n                    return self.URLSearchParams;\n                }\n            } catch (e) {}\n            return null;\n        })(),\n        isSupportObjectConstructor = nativeURLSearchParams && (new nativeURLSearchParams({a: 1})).toString() === 'a=1',\n        // There is a bug in safari 10.1 (and earlier) that incorrectly decodes `%2B` as an empty space and not a plus.\n        decodesPlusesCorrectly = nativeURLSearchParams && (new nativeURLSearchParams('s=%2B').get('s') === '+'),\n        isSupportSize = nativeURLSearchParams && 'size' in nativeURLSearchParams.prototype,\n        __URLSearchParams__ = \"__URLSearchParams__\",\n        // Fix bug in Edge which cannot encode ' &' correctly\n        encodesAmpersandsCorrectly = nativeURLSearchParams ? (function() {\n            var ampersandTest = new nativeURLSearchParams();\n            ampersandTest.append('s', ' &');\n            return ampersandTest.toString() === 's=+%26';\n        })() : true,\n        prototype = URLSearchParamsPolyfill.prototype,\n        iterable = !!(self.Symbol && self.Symbol.iterator);\n\n    if (nativeURLSearchParams && isSupportObjectConstructor && decodesPlusesCorrectly && encodesAmpersandsCorrectly && isSupportSize) {\n        return;\n    }\n\n\n    /**\n     * Make a URLSearchParams instance\n     *\n     * @param {object|string|URLSearchParams} search\n     * @constructor\n     */\n    function URLSearchParamsPolyfill(search) {\n        search = search || \"\";\n\n        // support construct object with another URLSearchParams instance\n        if (search instanceof URLSearchParams || search instanceof URLSearchParamsPolyfill) {\n            search = search.toString();\n        }\n        this [__URLSearchParams__] = parseToDict(search);\n    }\n\n\n    /**\n     * Appends a specified key/value pair as a new search parameter.\n     *\n     * @param {string} name\n     * @param {string} value\n     */\n    prototype.append = function(name, value) {\n        appendTo(this [__URLSearchParams__], name, value);\n    };\n\n    /**\n     * Deletes the given search parameter, and its associated value,\n     * from the list of all search parameters.\n     *\n     * @param {string} name\n     */\n    prototype['delete'] = function(name) {\n        delete this [__URLSearchParams__] [name];\n    };\n\n    /**\n     * Returns the first value associated to the given search parameter.\n     *\n     * @param {string} name\n     * @returns {string|null}\n     */\n    prototype.get = function(name) {\n        var dict = this [__URLSearchParams__];\n        return this.has(name) ? dict[name][0] : null;\n    };\n\n    /**\n     * Returns all the values association with a given search parameter.\n     *\n     * @param {string} name\n     * @returns {Array}\n     */\n    prototype.getAll = function(name) {\n        var dict = this [__URLSearchParams__];\n        return this.has(name) ? dict [name].slice(0) : [];\n    };\n\n    /**\n     * Returns a Boolean indicating if such a search parameter exists.\n     *\n     * @param {string} name\n     * @returns {boolean}\n     */\n    prototype.has = function(name) {\n        return hasOwnProperty(this [__URLSearchParams__], name);\n    };\n\n    /**\n     * Sets the value associated to a given search parameter to\n     * the given value. If there were several values, delete the\n     * others.\n     *\n     * @param {string} name\n     * @param {string} value\n     */\n    prototype.set = function set(name, value) {\n        this [__URLSearchParams__][name] = ['' + value];\n    };\n\n    /**\n     * Returns a string containg a query string suitable for use in a URL.\n     *\n     * @returns {string}\n     */\n    prototype.toString = function() {\n        var dict = this[__URLSearchParams__], query = [], i, key, name, value;\n        for (key in dict) {\n            name = encode(key);\n            for (i = 0, value = dict[key]; i < value.length; i++) {\n                query.push(name + '=' + encode(value[i]));\n            }\n        }\n        return query.join('&');\n    };\n\n    // There is a bug in Safari 10.1 and `Proxy`ing it is not enough.\n    var useProxy = self.Proxy && nativeURLSearchParams && (!decodesPlusesCorrectly || !encodesAmpersandsCorrectly || !isSupportObjectConstructor || !isSupportSize);\n    var propValue;\n    if (useProxy) {\n        // Safari 10.0 doesn't support Proxy, so it won't extend URLSearchParams on safari 10.0\n        propValue = new Proxy(nativeURLSearchParams, {\n            construct: function (target, args) {\n                return new target((new URLSearchParamsPolyfill(args[0]).toString()));\n            }\n        })\n        // Chrome <=60 .toString() on a function proxy got error \"Function.prototype.toString is not generic\"\n        propValue.toString = Function.prototype.toString.bind(URLSearchParamsPolyfill);\n    } else {\n        propValue = URLSearchParamsPolyfill;\n    }\n\n    /*\n     * Apply polyfill to global object and append other prototype into it\n     */\n    Object.defineProperty(self, 'URLSearchParams', {\n        value: propValue\n    });\n\n    var USPProto = self.URLSearchParams.prototype;\n\n    USPProto.polyfill = true;\n\n    // Fix #54, `toString.call(new URLSearchParams)` will return correct value when Proxy not used\n    if (!useProxy && self.Symbol) {\n        USPProto[self.Symbol.toStringTag] = 'URLSearchParams';\n    }\n\n    /**\n     *\n     * @param {function} callback\n     * @param {object} thisArg\n     */\n    if (!('forEach' in USPProto)) {\n        USPProto.forEach = function(callback, thisArg) {\n            var dict = parseToDict(this.toString());\n            Object.getOwnPropertyNames(dict).forEach(function(name) {\n                dict[name].forEach(function(value) {\n                    callback.call(thisArg, value, name, this);\n                }, this);\n            }, this);\n        };\n    }\n\n    /**\n     * Sort all name-value pairs\n     */\n    if (!('sort' in USPProto)) {\n        USPProto.sort = function() {\n            var dict = parseToDict(this.toString()), keys = [], k, i, j;\n            for (k in dict) {\n                keys.push(k);\n            }\n            keys.sort();\n\n            for (i = 0; i < keys.length; i++) {\n                this['delete'](keys[i]);\n            }\n            for (i = 0; i < keys.length; i++) {\n                var key = keys[i], values = dict[key];\n                for (j = 0; j < values.length; j++) {\n                    this.append(key, values[j]);\n                }\n            }\n        };\n    }\n\n    /**\n     * Returns an iterator allowing to go through all keys of\n     * the key/value pairs contained in this object.\n     *\n     * @returns {function}\n     */\n    if (!('keys' in USPProto)) {\n        USPProto.keys = function() {\n            var items = [];\n            this.forEach(function(item, name) {\n                items.push(name);\n            });\n            return makeIterator(items);\n        };\n    }\n\n    /**\n     * Returns an iterator allowing to go through all values of\n     * the key/value pairs contained in this object.\n     *\n     * @returns {function}\n     */\n    if (!('values' in USPProto)) {\n        USPProto.values = function() {\n            var items = [];\n            this.forEach(function(item) {\n                items.push(item);\n            });\n            return makeIterator(items);\n        };\n    }\n\n    /**\n     * Returns an iterator allowing to go through all key/value\n     * pairs contained in this object.\n     *\n     * @returns {function}\n     */\n    if (!('entries' in USPProto)) {\n        USPProto.entries = function() {\n            var items = [];\n            this.forEach(function(item, name) {\n                items.push([name, item]);\n            });\n            return makeIterator(items);\n        };\n    }\n\n    if (iterable) {\n        USPProto[self.Symbol.iterator] = USPProto[self.Symbol.iterator] || USPProto.entries;\n    }\n\n    if (!('size' in USPProto)) {\n        Object.defineProperty(USPProto, 'size', {\n            get: function () {\n                var dict = parseToDict(this.toString())\n                if (USPProto === this) {\n                    throw new TypeError('Illegal invocation at URLSearchParams.invokeGetter')\n                }\n                return Object.keys(dict).reduce(function (prev, cur) {\n                    return prev + dict[cur].length;\n                }, 0);\n            }\n        });\n    }\n\n    function encode(str) {\n        var replace = {\n            '!': '%21',\n            \"'\": '%27',\n            '(': '%28',\n            ')': '%29',\n            '~': '%7E',\n            '%20': '+',\n            '%00': '\\x00'\n        };\n        return encodeURIComponent(str).replace(/[!'\\(\\)~]|%20|%00/g, function(match) {\n            return replace[match];\n        });\n    }\n\n    function decode(str) {\n        return str\n            .replace(/[ +]/g, '%20')\n            .replace(/(%[a-f0-9]{2})+/ig, function(match) {\n                return decodeURIComponent(match);\n            });\n    }\n\n    function makeIterator(arr) {\n        var iterator = {\n            next: function() {\n                var value = arr.shift();\n                return {done: value === undefined, value: value};\n            }\n        };\n\n        if (iterable) {\n            iterator[self.Symbol.iterator] = function() {\n                return iterator;\n            };\n        }\n\n        return iterator;\n    }\n\n    function parseToDict(search) {\n        var dict = {};\n\n        if (typeof search === \"object\") {\n            // if `search` is an array, treat it as a sequence\n            if (isArray(search)) {\n                for (var i = 0; i < search.length; i++) {\n                    var item = search[i];\n                    if (isArray(item) && item.length === 2) {\n                        appendTo(dict, item[0], item[1]);\n                    } else {\n                        throw new TypeError(\"Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements\");\n                    }\n                }\n\n            } else {\n                for (var key in search) {\n                    if (search.hasOwnProperty(key)) {\n                        appendTo(dict, key, search[key]);\n                    }\n                }\n            }\n\n        } else {\n            // remove first '?'\n            if (search.indexOf(\"?\") === 0) {\n                search = search.slice(1);\n            }\n\n            var pairs = search.split(\"&\");\n            for (var j = 0; j < pairs.length; j++) {\n                var value = pairs [j],\n                    index = value.indexOf('=');\n\n                if (-1 < index) {\n                    appendTo(dict, decode(value.slice(0, index)), decode(value.slice(index + 1)));\n\n                } else {\n                    if (value) {\n                        appendTo(dict, decode(value), '');\n                    }\n                }\n            }\n        }\n\n        return dict;\n    }\n\n    function appendTo(dict, name, value) {\n        var val = typeof value === 'string' ? value : (\n            value !== null && value !== undefined && typeof value.toString === 'function' ? value.toString() : JSON.stringify(value)\n        );\n\n        // #47 Prevent using `hasOwnProperty` as a property name\n        if (hasOwnProperty(dict, name)) {\n            dict[name].push(val);\n        } else {\n            dict[name] = [val];\n        }\n    }\n\n    function isArray(val) {\n        return !!val && '[object Array]' === Object.prototype.toString.call(val);\n    }\n\n    function hasOwnProperty(obj, prop) {\n        return Object.prototype.hasOwnProperty.call(obj, prop);\n    }\n\n})(typeof global !== 'undefined' ? global : (typeof window !== 'undefined' ? window : this));\n","/*! https://mths.be/punycode v1.3.2 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = typeof exports == 'object' && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = typeof module == 'object' && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t    counter = 0,\n\t\t    length = string.length,\n\t\t    value,\n\t\t    extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t//  0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * http://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t    inputLength = input.length,\n\t\t    out,\n\t\t    i = 0,\n\t\t    n = initialN,\n\t\t    bias = initialBias,\n\t\t    basic,\n\t\t    j,\n\t\t    index,\n\t\t    oldi,\n\t\t    w,\n\t\t    k,\n\t\t    digit,\n\t\t    t,\n\t\t    /** Cached calculation results */\n\t\t    baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t    delta,\n\t\t    handledCPCount,\n\t\t    basicLength,\n\t\t    bias,\n\t\t    j,\n\t\t    m,\n\t\t    q,\n\t\t    k,\n\t\t    t,\n\t\t    currentValue,\n\t\t    output = [],\n\t\t    /** `inputLength` will hold the number of code points in `input`. */\n\t\t    inputLength,\n\t\t    /** Cached calculation results */\n\t\t    handledCPCountPlusOne,\n\t\t    baseMinusT,\n\t\t    qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.3.2',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine('punycode', function() {\n\t\t\treturn punycode;\n\t\t});\n\t} else if (freeExports && freeModule) {\n\t\tif (module.exports == freeExports) { // in Node.js or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = punycode;\n\t\t} else { // in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (key in punycode) {\n\t\t\t\tpunycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);\n\t\t\t}\n\t\t}\n\t} else { // in Rhino or a web browser\n\t\troot.punycode = punycode;\n\t}\n\n}(this));\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar punycode = require('punycode');\nvar util = require('./util');\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n  this.protocol = null;\n  this.slashes = null;\n  this.auth = null;\n  this.host = null;\n  this.port = null;\n  this.hostname = null;\n  this.hash = null;\n  this.search = null;\n  this.query = null;\n  this.pathname = null;\n  this.path = null;\n  this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n    portPattern = /:[0-9]*$/,\n\n    // Special case for a simple path URL\n    simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n    // RFC 2396: characters reserved for delimiting URLs.\n    // We actually just auto-escape these.\n    delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n    // RFC 2396: characters not allowed for various reasons.\n    unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n    // Allowed by RFCs, but cause of XSS attacks.  Always escape these.\n    autoEscape = ['\\''].concat(unwise),\n    // Characters that are never ever allowed in a hostname.\n    // Note that any invalid chars are also handled, but these\n    // are the ones that are *expected* to be seen, so we fast-path\n    // them.\n    nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n    hostEndingChars = ['/', '?', '#'],\n    hostnameMaxLen = 255,\n    hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n    hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n    // protocols that can allow \"unsafe\" and \"unwise\" chars.\n    unsafeProtocol = {\n      'javascript': true,\n      'javascript:': true\n    },\n    // protocols that never have a hostname.\n    hostlessProtocol = {\n      'javascript': true,\n      'javascript:': true\n    },\n    // protocols that always contain a // bit.\n    slashedProtocol = {\n      'http': true,\n      'https': true,\n      'ftp': true,\n      'gopher': true,\n      'file': true,\n      'http:': true,\n      'https:': true,\n      'ftp:': true,\n      'gopher:': true,\n      'file:': true\n    },\n    querystring = require('querystring');\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n  if (url && util.isObject(url) && url instanceof Url) return url;\n\n  var u = new Url;\n  u.parse(url, parseQueryString, slashesDenoteHost);\n  return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n  if (!util.isString(url)) {\n    throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n  }\n\n  // Copy chrome, IE, opera backslash-handling behavior.\n  // Back slashes before the query string get converted to forward slashes\n  // See: https://code.google.com/p/chromium/issues/detail?id=25916\n  var queryIndex = url.indexOf('?'),\n      splitter =\n          (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\n      uSplit = url.split(splitter),\n      slashRegex = /\\\\/g;\n  uSplit[0] = uSplit[0].replace(slashRegex, '/');\n  url = uSplit.join(splitter);\n\n  var rest = url;\n\n  // trim before proceeding.\n  // This is to support parse stuff like \"  http://foo.com  \\n\"\n  rest = rest.trim();\n\n  if (!slashesDenoteHost && url.split('#').length === 1) {\n    // Try fast path regexp\n    var simplePath = simplePathPattern.exec(rest);\n    if (simplePath) {\n      this.path = rest;\n      this.href = rest;\n      this.pathname = simplePath[1];\n      if (simplePath[2]) {\n        this.search = simplePath[2];\n        if (parseQueryString) {\n          this.query = querystring.parse(this.search.substr(1));\n        } else {\n          this.query = this.search.substr(1);\n        }\n      } else if (parseQueryString) {\n        this.search = '';\n        this.query = {};\n      }\n      return this;\n    }\n  }\n\n  var proto = protocolPattern.exec(rest);\n  if (proto) {\n    proto = proto[0];\n    var lowerProto = proto.toLowerCase();\n    this.protocol = lowerProto;\n    rest = rest.substr(proto.length);\n  }\n\n  // figure out if it's got a host\n  // user@server is *always* interpreted as a hostname, and url\n  // resolution will treat //foo/bar as host=foo,path=bar because that's\n  // how the browser resolves relative URLs.\n  if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n    var slashes = rest.substr(0, 2) === '//';\n    if (slashes && !(proto && hostlessProtocol[proto])) {\n      rest = rest.substr(2);\n      this.slashes = true;\n    }\n  }\n\n  if (!hostlessProtocol[proto] &&\n      (slashes || (proto && !slashedProtocol[proto]))) {\n\n    // there's a hostname.\n    // the first instance of /, ?, ;, or # ends the host.\n    //\n    // If there is an @ in the hostname, then non-host chars *are* allowed\n    // to the left of the last @ sign, unless some host-ending character\n    // comes *before* the @-sign.\n    // URLs are obnoxious.\n    //\n    // ex:\n    // http://a@b@c/ => user:a@b host:c\n    // http://a@b?@c => user:a host:c path:/?@c\n\n    // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n    // Review our test case against browsers more comprehensively.\n\n    // find the first instance of any hostEndingChars\n    var hostEnd = -1;\n    for (var i = 0; i < hostEndingChars.length; i++) {\n      var hec = rest.indexOf(hostEndingChars[i]);\n      if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n        hostEnd = hec;\n    }\n\n    // at this point, either we have an explicit point where the\n    // auth portion cannot go past, or the last @ char is the decider.\n    var auth, atSign;\n    if (hostEnd === -1) {\n      // atSign can be anywhere.\n      atSign = rest.lastIndexOf('@');\n    } else {\n      // atSign must be in auth portion.\n      // http://a@b/c@d => host:b auth:a path:/c@d\n      atSign = rest.lastIndexOf('@', hostEnd);\n    }\n\n    // Now we have a portion which is definitely the auth.\n    // Pull that off.\n    if (atSign !== -1) {\n      auth = rest.slice(0, atSign);\n      rest = rest.slice(atSign + 1);\n      this.auth = decodeURIComponent(auth);\n    }\n\n    // the host is the remaining to the left of the first non-host char\n    hostEnd = -1;\n    for (var i = 0; i < nonHostChars.length; i++) {\n      var hec = rest.indexOf(nonHostChars[i]);\n      if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n        hostEnd = hec;\n    }\n    // if we still have not hit it, then the entire thing is a host.\n    if (hostEnd === -1)\n      hostEnd = rest.length;\n\n    this.host = rest.slice(0, hostEnd);\n    rest = rest.slice(hostEnd);\n\n    // pull out port.\n    this.parseHost();\n\n    // we've indicated that there is a hostname,\n    // so even if it's empty, it has to be present.\n    this.hostname = this.hostname || '';\n\n    // if hostname begins with [ and ends with ]\n    // assume that it's an IPv6 address.\n    var ipv6Hostname = this.hostname[0] === '[' &&\n        this.hostname[this.hostname.length - 1] === ']';\n\n    // validate a little.\n    if (!ipv6Hostname) {\n      var hostparts = this.hostname.split(/\\./);\n      for (var i = 0, l = hostparts.length; i < l; i++) {\n        var part = hostparts[i];\n        if (!part) continue;\n        if (!part.match(hostnamePartPattern)) {\n          var newpart = '';\n          for (var j = 0, k = part.length; j < k; j++) {\n            if (part.charCodeAt(j) > 127) {\n              // we replace non-ASCII char with a temporary placeholder\n              // we need this to make sure size of hostname is not\n              // broken by replacing non-ASCII by nothing\n              newpart += 'x';\n            } else {\n              newpart += part[j];\n            }\n          }\n          // we test again with ASCII char only\n          if (!newpart.match(hostnamePartPattern)) {\n            var validParts = hostparts.slice(0, i);\n            var notHost = hostparts.slice(i + 1);\n            var bit = part.match(hostnamePartStart);\n            if (bit) {\n              validParts.push(bit[1]);\n              notHost.unshift(bit[2]);\n            }\n            if (notHost.length) {\n              rest = '/' + notHost.join('.') + rest;\n            }\n            this.hostname = validParts.join('.');\n            break;\n          }\n        }\n      }\n    }\n\n    if (this.hostname.length > hostnameMaxLen) {\n      this.hostname = '';\n    } else {\n      // hostnames are always lower case.\n      this.hostname = this.hostname.toLowerCase();\n    }\n\n    if (!ipv6Hostname) {\n      // IDNA Support: Returns a punycoded representation of \"domain\".\n      // It only converts parts of the domain name that\n      // have non-ASCII characters, i.e. it doesn't matter if\n      // you call it with a domain that already is ASCII-only.\n      this.hostname = punycode.toASCII(this.hostname);\n    }\n\n    var p = this.port ? ':' + this.port : '';\n    var h = this.hostname || '';\n    this.host = h + p;\n    this.href += this.host;\n\n    // strip [ and ] from the hostname\n    // the host field still retains them, though\n    if (ipv6Hostname) {\n      this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n      if (rest[0] !== '/') {\n        rest = '/' + rest;\n      }\n    }\n  }\n\n  // now rest is set to the post-host stuff.\n  // chop off any delim chars.\n  if (!unsafeProtocol[lowerProto]) {\n\n    // First, make 100% sure that any \"autoEscape\" chars get\n    // escaped, even if encodeURIComponent doesn't think they\n    // need to be.\n    for (var i = 0, l = autoEscape.length; i < l; i++) {\n      var ae = autoEscape[i];\n      if (rest.indexOf(ae) === -1)\n        continue;\n      var esc = encodeURIComponent(ae);\n      if (esc === ae) {\n        esc = escape(ae);\n      }\n      rest = rest.split(ae).join(esc);\n    }\n  }\n\n\n  // chop off from the tail first.\n  var hash = rest.indexOf('#');\n  if (hash !== -1) {\n    // got a fragment string.\n    this.hash = rest.substr(hash);\n    rest = rest.slice(0, hash);\n  }\n  var qm = rest.indexOf('?');\n  if (qm !== -1) {\n    this.search = rest.substr(qm);\n    this.query = rest.substr(qm + 1);\n    if (parseQueryString) {\n      this.query = querystring.parse(this.query);\n    }\n    rest = rest.slice(0, qm);\n  } else if (parseQueryString) {\n    // no query string, but parseQueryString still requested\n    this.search = '';\n    this.query = {};\n  }\n  if (rest) this.pathname = rest;\n  if (slashedProtocol[lowerProto] &&\n      this.hostname && !this.pathname) {\n    this.pathname = '/';\n  }\n\n  //to support http.request\n  if (this.pathname || this.search) {\n    var p = this.pathname || '';\n    var s = this.search || '';\n    this.path = p + s;\n  }\n\n  // finally, reconstruct the href based on what has been validated.\n  this.href = this.format();\n  return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n  // ensure it's an object, and not a string url.\n  // If it's an obj, this is a no-op.\n  // this way, you can call url_format() on strings\n  // to clean up potentially wonky urls.\n  if (util.isString(obj)) obj = urlParse(obj);\n  if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n  return obj.format();\n}\n\nUrl.prototype.format = function() {\n  var auth = this.auth || '';\n  if (auth) {\n    auth = encodeURIComponent(auth);\n    auth = auth.replace(/%3A/i, ':');\n    auth += '@';\n  }\n\n  var protocol = this.protocol || '',\n      pathname = this.pathname || '',\n      hash = this.hash || '',\n      host = false,\n      query = '';\n\n  if (this.host) {\n    host = auth + this.host;\n  } else if (this.hostname) {\n    host = auth + (this.hostname.indexOf(':') === -1 ?\n        this.hostname :\n        '[' + this.hostname + ']');\n    if (this.port) {\n      host += ':' + this.port;\n    }\n  }\n\n  if (this.query &&\n      util.isObject(this.query) &&\n      Object.keys(this.query).length) {\n    query = querystring.stringify(this.query);\n  }\n\n  var search = this.search || (query && ('?' + query)) || '';\n\n  if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n  // only the slashedProtocols get the //.  Not mailto:, xmpp:, etc.\n  // unless they had them to begin with.\n  if (this.slashes ||\n      (!protocol || slashedProtocol[protocol]) && host !== false) {\n    host = '//' + (host || '');\n    if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n  } else if (!host) {\n    host = '';\n  }\n\n  if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n  if (search && search.charAt(0) !== '?') search = '?' + search;\n\n  pathname = pathname.replace(/[?#]/g, function(match) {\n    return encodeURIComponent(match);\n  });\n  search = search.replace('#', '%23');\n\n  return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n  return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n  return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n  if (!source) return relative;\n  return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n  if (util.isString(relative)) {\n    var rel = new Url();\n    rel.parse(relative, false, true);\n    relative = rel;\n  }\n\n  var result = new Url();\n  var tkeys = Object.keys(this);\n  for (var tk = 0; tk < tkeys.length; tk++) {\n    var tkey = tkeys[tk];\n    result[tkey] = this[tkey];\n  }\n\n  // hash is always overridden, no matter what.\n  // even href=\"\" will remove it.\n  result.hash = relative.hash;\n\n  // if the relative url is empty, then there's nothing left to do here.\n  if (relative.href === '') {\n    result.href = result.format();\n    return result;\n  }\n\n  // hrefs like //foo/bar always cut to the protocol.\n  if (relative.slashes && !relative.protocol) {\n    // take everything except the protocol from relative\n    var rkeys = Object.keys(relative);\n    for (var rk = 0; rk < rkeys.length; rk++) {\n      var rkey = rkeys[rk];\n      if (rkey !== 'protocol')\n        result[rkey] = relative[rkey];\n    }\n\n    //urlParse appends trailing / to urls like http://www.example.com\n    if (slashedProtocol[result.protocol] &&\n        result.hostname && !result.pathname) {\n      result.path = result.pathname = '/';\n    }\n\n    result.href = result.format();\n    return result;\n  }\n\n  if (relative.protocol && relative.protocol !== result.protocol) {\n    // if it's a known url protocol, then changing\n    // the protocol does weird things\n    // first, if it's not file:, then we MUST have a host,\n    // and if there was a path\n    // to begin with, then we MUST have a path.\n    // if it is file:, then the host is dropped,\n    // because that's known to be hostless.\n    // anything else is assumed to be absolute.\n    if (!slashedProtocol[relative.protocol]) {\n      var keys = Object.keys(relative);\n      for (var v = 0; v < keys.length; v++) {\n        var k = keys[v];\n        result[k] = relative[k];\n      }\n      result.href = result.format();\n      return result;\n    }\n\n    result.protocol = relative.protocol;\n    if (!relative.host && !hostlessProtocol[relative.protocol]) {\n      var relPath = (relative.pathname || '').split('/');\n      while (relPath.length && !(relative.host = relPath.shift()));\n      if (!relative.host) relative.host = '';\n      if (!relative.hostname) relative.hostname = '';\n      if (relPath[0] !== '') relPath.unshift('');\n      if (relPath.length < 2) relPath.unshift('');\n      result.pathname = relPath.join('/');\n    } else {\n      result.pathname = relative.pathname;\n    }\n    result.search = relative.search;\n    result.query = relative.query;\n    result.host = relative.host || '';\n    result.auth = relative.auth;\n    result.hostname = relative.hostname || relative.host;\n    result.port = relative.port;\n    // to support http.request\n    if (result.pathname || result.search) {\n      var p = result.pathname || '';\n      var s = result.search || '';\n      result.path = p + s;\n    }\n    result.slashes = result.slashes || relative.slashes;\n    result.href = result.format();\n    return result;\n  }\n\n  var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n      isRelAbs = (\n          relative.host ||\n          relative.pathname && relative.pathname.charAt(0) === '/'\n      ),\n      mustEndAbs = (isRelAbs || isSourceAbs ||\n                    (result.host && relative.pathname)),\n      removeAllDots = mustEndAbs,\n      srcPath = result.pathname && result.pathname.split('/') || [],\n      relPath = relative.pathname && relative.pathname.split('/') || [],\n      psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n  // if the url is a non-slashed url, then relative\n  // links like ../.. should be able\n  // to crawl up to the hostname, as well.  This is strange.\n  // result.protocol has already been set by now.\n  // Later on, put the first path part into the host field.\n  if (psychotic) {\n    result.hostname = '';\n    result.port = null;\n    if (result.host) {\n      if (srcPath[0] === '') srcPath[0] = result.host;\n      else srcPath.unshift(result.host);\n    }\n    result.host = '';\n    if (relative.protocol) {\n      relative.hostname = null;\n      relative.port = null;\n      if (relative.host) {\n        if (relPath[0] === '') relPath[0] = relative.host;\n        else relPath.unshift(relative.host);\n      }\n      relative.host = null;\n    }\n    mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n  }\n\n  if (isRelAbs) {\n    // it's absolute.\n    result.host = (relative.host || relative.host === '') ?\n                  relative.host : result.host;\n    result.hostname = (relative.hostname || relative.hostname === '') ?\n                      relative.hostname : result.hostname;\n    result.search = relative.search;\n    result.query = relative.query;\n    srcPath = relPath;\n    // fall through to the dot-handling below.\n  } else if (relPath.length) {\n    // it's relative\n    // throw away the existing file, and take the new path instead.\n    if (!srcPath) srcPath = [];\n    srcPath.pop();\n    srcPath = srcPath.concat(relPath);\n    result.search = relative.search;\n    result.query = relative.query;\n  } else if (!util.isNullOrUndefined(relative.search)) {\n    // just pull out the search.\n    // like href='?foo'.\n    // Put this after the other two cases because it simplifies the booleans\n    if (psychotic) {\n      result.hostname = result.host = srcPath.shift();\n      //occationaly the auth can get stuck only in host\n      //this especially happens in cases like\n      //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n      var authInHost = result.host && result.host.indexOf('@') > 0 ?\n                       result.host.split('@') : false;\n      if (authInHost) {\n        result.auth = authInHost.shift();\n        result.host = result.hostname = authInHost.shift();\n      }\n    }\n    result.search = relative.search;\n    result.query = relative.query;\n    //to support http.request\n    if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n      result.path = (result.pathname ? result.pathname : '') +\n                    (result.search ? result.search : '');\n    }\n    result.href = result.format();\n    return result;\n  }\n\n  if (!srcPath.length) {\n    // no path at all.  easy.\n    // we've already handled the other stuff above.\n    result.pathname = null;\n    //to support http.request\n    if (result.search) {\n      result.path = '/' + result.search;\n    } else {\n      result.path = null;\n    }\n    result.href = result.format();\n    return result;\n  }\n\n  // if a url ENDs in . or .., then it must get a trailing slash.\n  // however, if it ends in anything else non-slashy,\n  // then it must NOT get a trailing slash.\n  var last = srcPath.slice(-1)[0];\n  var hasTrailingSlash = (\n      (result.host || relative.host || srcPath.length > 1) &&\n      (last === '.' || last === '..') || last === '');\n\n  // strip single dots, resolve double dots to parent dir\n  // if the path tries to go above the root, `up` ends up > 0\n  var up = 0;\n  for (var i = srcPath.length; i >= 0; i--) {\n    last = srcPath[i];\n    if (last === '.') {\n      srcPath.splice(i, 1);\n    } else if (last === '..') {\n      srcPath.splice(i, 1);\n      up++;\n    } else if (up) {\n      srcPath.splice(i, 1);\n      up--;\n    }\n  }\n\n  // if the path is allowed to go above the root, restore leading ..s\n  if (!mustEndAbs && !removeAllDots) {\n    for (; up--; up) {\n      srcPath.unshift('..');\n    }\n  }\n\n  if (mustEndAbs && srcPath[0] !== '' &&\n      (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n    srcPath.unshift('');\n  }\n\n  if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n    srcPath.push('');\n  }\n\n  var isAbsolute = srcPath[0] === '' ||\n      (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n  // put the host back\n  if (psychotic) {\n    result.hostname = result.host = isAbsolute ? '' :\n                                    srcPath.length ? srcPath.shift() : '';\n    //occationaly the auth can get stuck only in host\n    //this especially happens in cases like\n    //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n    var authInHost = result.host && result.host.indexOf('@') > 0 ?\n                     result.host.split('@') : false;\n    if (authInHost) {\n      result.auth = authInHost.shift();\n      result.host = result.hostname = authInHost.shift();\n    }\n  }\n\n  mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n  if (mustEndAbs && !isAbsolute) {\n    srcPath.unshift('');\n  }\n\n  if (!srcPath.length) {\n    result.pathname = null;\n    result.path = null;\n  } else {\n    result.pathname = srcPath.join('/');\n  }\n\n  //to support request.http\n  if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n    result.path = (result.pathname ? result.pathname : '') +\n                  (result.search ? result.search : '');\n  }\n  result.auth = relative.auth || result.auth;\n  result.slashes = result.slashes || relative.slashes;\n  result.href = result.format();\n  return result;\n};\n\nUrl.prototype.parseHost = function() {\n  var host = this.host;\n  var port = portPattern.exec(host);\n  if (port) {\n    port = port[0];\n    if (port !== ':') {\n      this.port = port.substr(1);\n    }\n    host = host.substr(0, host.length - port.length);\n  }\n  if (host) this.hostname = host;\n};\n","'use strict';\n\nmodule.exports = {\n  isString: function(arg) {\n    return typeof(arg) === 'string';\n  },\n  isObject: function(arg) {\n    return typeof(arg) === 'object' && arg !== null;\n  },\n  isNull: function(arg) {\n    return arg === null;\n  },\n  isNullOrUndefined: function(arg) {\n    return arg == null;\n  }\n};\n","/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n  return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n  useState = React.useState,\n  useEffect = React.useEffect,\n  useLayoutEffect = React.useLayoutEffect,\n  useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n  var value = getSnapshot(),\n    _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n    inst = _useState[0].inst,\n    forceUpdate = _useState[1];\n  useLayoutEffect(\n    function () {\n      inst.value = value;\n      inst.getSnapshot = getSnapshot;\n      checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n    },\n    [subscribe, value, getSnapshot]\n  );\n  useEffect(\n    function () {\n      checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n      return subscribe(function () {\n        checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n      });\n    },\n    [subscribe]\n  );\n  useDebugValue(value);\n  return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n  var latestGetSnapshot = inst.getSnapshot;\n  inst = inst.value;\n  try {\n    var nextValue = latestGetSnapshot();\n    return !objectIs(inst, nextValue);\n  } catch (error) {\n    return !0;\n  }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n  return getSnapshot();\n}\nvar shim =\n  \"undefined\" === typeof window ||\n  \"undefined\" === typeof window.document ||\n  \"undefined\" === typeof window.document.createElement\n    ? useSyncExternalStore$1\n    : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n  void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n","/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n  shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n  return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n  useSyncExternalStore = shim.useSyncExternalStore,\n  useRef = React.useRef,\n  useEffect = React.useEffect,\n  useMemo = React.useMemo,\n  useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n  subscribe,\n  getSnapshot,\n  getServerSnapshot,\n  selector,\n  isEqual\n) {\n  var instRef = useRef(null);\n  if (null === instRef.current) {\n    var inst = { hasValue: !1, value: null };\n    instRef.current = inst;\n  } else inst = instRef.current;\n  instRef = useMemo(\n    function () {\n      function memoizedSelector(nextSnapshot) {\n        if (!hasMemo) {\n          hasMemo = !0;\n          memoizedSnapshot = nextSnapshot;\n          nextSnapshot = selector(nextSnapshot);\n          if (void 0 !== isEqual && inst.hasValue) {\n            var currentSelection = inst.value;\n            if (isEqual(currentSelection, nextSnapshot))\n              return (memoizedSelection = currentSelection);\n          }\n          return (memoizedSelection = nextSnapshot);\n        }\n        currentSelection = memoizedSelection;\n        if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n        var nextSelection = selector(nextSnapshot);\n        if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n          return (memoizedSnapshot = nextSnapshot), currentSelection;\n        memoizedSnapshot = nextSnapshot;\n        return (memoizedSelection = nextSelection);\n      }\n      var hasMemo = !1,\n        memoizedSnapshot,\n        memoizedSelection,\n        maybeGetServerSnapshot =\n          void 0 === getServerSnapshot ? null : getServerSnapshot;\n      return [\n        function () {\n          return memoizedSelector(getSnapshot());\n        },\n        null === maybeGetServerSnapshot\n          ? void 0\n          : function () {\n              return memoizedSelector(maybeGetServerSnapshot());\n            }\n      ];\n    },\n    [getSnapshot, getServerSnapshot, selector, isEqual]\n  );\n  var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n  useEffect(\n    function () {\n      inst.hasValue = !0;\n      inst.value = value;\n    },\n    [value]\n  );\n  useDebugValue(value);\n  return value;\n};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n  module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.js');\n} else {\n  module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n","if (typeof Object.create === 'function') {\n  // implementation from standard node.js 'util' module\n  module.exports = function inherits(ctor, superCtor) {\n    ctor.super_ = superCtor\n    ctor.prototype = Object.create(superCtor.prototype, {\n      constructor: {\n        value: ctor,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n  };\n} else {\n  // old school shim for old browsers\n  module.exports = function inherits(ctor, superCtor) {\n    ctor.super_ = superCtor\n    var TempCtor = function () {}\n    TempCtor.prototype = superCtor.prototype\n    ctor.prototype = new TempCtor()\n    ctor.prototype.constructor = ctor\n  }\n}\n","module.exports = function isBuffer(arg) {\n  return arg && typeof arg === 'object'\n    && typeof arg.copy === 'function'\n    && typeof arg.fill === 'function'\n    && typeof arg.readUInt8 === 'function';\n}","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors ||\n  function getOwnPropertyDescriptors(obj) {\n    var keys = Object.keys(obj);\n    var descriptors = {};\n    for (var i = 0; i < keys.length; i++) {\n      descriptors[keys[i]] = Object.getOwnPropertyDescriptor(obj, keys[i]);\n    }\n    return descriptors;\n  };\n\nvar formatRegExp = /%[sdj%]/g;\nexports.format = function(f) {\n  if (!isString(f)) {\n    var objects = [];\n    for (var i = 0; i < arguments.length; i++) {\n      objects.push(inspect(arguments[i]));\n    }\n    return objects.join(' ');\n  }\n\n  var i = 1;\n  var args = arguments;\n  var len = args.length;\n  var str = String(f).replace(formatRegExp, function(x) {\n    if (x === '%%') return '%';\n    if (i >= len) return x;\n    switch (x) {\n      case '%s': return String(args[i++]);\n      case '%d': return Number(args[i++]);\n      case '%j':\n        try {\n          return JSON.stringify(args[i++]);\n        } catch (_) {\n          return '[Circular]';\n        }\n      default:\n        return x;\n    }\n  });\n  for (var x = args[i]; i < len; x = args[++i]) {\n    if (isNull(x) || !isObject(x)) {\n      str += ' ' + x;\n    } else {\n      str += ' ' + inspect(x);\n    }\n  }\n  return str;\n};\n\n\n// Mark that a method should not be used.\n// Returns a modified function which warns once by default.\n// If --no-deprecation is set, then it is a no-op.\nexports.deprecate = function(fn, msg) {\n  if (typeof process !== 'undefined' && process.noDeprecation === true) {\n    return fn;\n  }\n\n  // Allow for deprecating things in the process of starting up.\n  if (typeof process === 'undefined') {\n    return function() {\n      return exports.deprecate(fn, msg).apply(this, arguments);\n    };\n  }\n\n  var warned = false;\n  function deprecated() {\n    if (!warned) {\n      if (process.throwDeprecation) {\n        throw new Error(msg);\n      } else if (process.traceDeprecation) {\n        console.trace(msg);\n      } else {\n        console.error(msg);\n      }\n      warned = true;\n    }\n    return fn.apply(this, arguments);\n  }\n\n  return deprecated;\n};\n\n\nvar debugs = {};\nvar debugEnviron;\nexports.debuglog = function(set) {\n  if (isUndefined(debugEnviron))\n    debugEnviron = process.env.NODE_DEBUG || '';\n  set = set.toUpperCase();\n  if (!debugs[set]) {\n    if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n      var pid = process.pid;\n      debugs[set] = function() {\n        var msg = exports.format.apply(exports, arguments);\n        console.error('%s %d: %s', set, pid, msg);\n      };\n    } else {\n      debugs[set] = function() {};\n    }\n  }\n  return debugs[set];\n};\n\n\n/**\n * Echos the value of a value. Trys to print the value out\n * in the best way possible given the different types.\n *\n * @param {Object} obj The object to print out.\n * @param {Object} opts Optional options object that alters the output.\n */\n/* legacy: obj, showHidden, depth, colors*/\nfunction inspect(obj, opts) {\n  // default options\n  var ctx = {\n    seen: [],\n    stylize: stylizeNoColor\n  };\n  // legacy...\n  if (arguments.length >= 3) ctx.depth = arguments[2];\n  if (arguments.length >= 4) ctx.colors = arguments[3];\n  if (isBoolean(opts)) {\n    // legacy...\n    ctx.showHidden = opts;\n  } else if (opts) {\n    // got an \"options\" object\n    exports._extend(ctx, opts);\n  }\n  // set default options\n  if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n  if (isUndefined(ctx.depth)) ctx.depth = 2;\n  if (isUndefined(ctx.colors)) ctx.colors = false;\n  if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n  if (ctx.colors) ctx.stylize = stylizeWithColor;\n  return formatValue(ctx, obj, ctx.depth);\n}\nexports.inspect = inspect;\n\n\n// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect.colors = {\n  'bold' : [1, 22],\n  'italic' : [3, 23],\n  'underline' : [4, 24],\n  'inverse' : [7, 27],\n  'white' : [37, 39],\n  'grey' : [90, 39],\n  'black' : [30, 39],\n  'blue' : [34, 39],\n  'cyan' : [36, 39],\n  'green' : [32, 39],\n  'magenta' : [35, 39],\n  'red' : [31, 39],\n  'yellow' : [33, 39]\n};\n\n// Don't use 'blue' not visible on cmd.exe\ninspect.styles = {\n  'special': 'cyan',\n  'number': 'yellow',\n  'boolean': 'yellow',\n  'undefined': 'grey',\n  'null': 'bold',\n  'string': 'green',\n  'date': 'magenta',\n  // \"name\": intentionally not styling\n  'regexp': 'red'\n};\n\n\nfunction stylizeWithColor(str, styleType) {\n  var style = inspect.styles[styleType];\n\n  if (style) {\n    return '\\u001b[' + inspect.colors[style][0] + 'm' + str +\n           '\\u001b[' + inspect.colors[style][1] + 'm';\n  } else {\n    return str;\n  }\n}\n\n\nfunction stylizeNoColor(str, styleType) {\n  return str;\n}\n\n\nfunction arrayToHash(array) {\n  var hash = {};\n\n  array.forEach(function(val, idx) {\n    hash[val] = true;\n  });\n\n  return hash;\n}\n\n\nfunction formatValue(ctx, value, recurseTimes) {\n  // Provide a hook for user-specified inspect functions.\n  // Check that value is an object with an inspect function on it\n  if (ctx.customInspect &&\n      value &&\n      isFunction(value.inspect) &&\n      // Filter out the util module, it's inspect function is special\n      value.inspect !== exports.inspect &&\n      // Also filter out any prototype objects using the circular check.\n      !(value.constructor && value.constructor.prototype === value)) {\n    var ret = value.inspect(recurseTimes, ctx);\n    if (!isString(ret)) {\n      ret = formatValue(ctx, ret, recurseTimes);\n    }\n    return ret;\n  }\n\n  // Primitive types cannot have properties\n  var primitive = formatPrimitive(ctx, value);\n  if (primitive) {\n    return primitive;\n  }\n\n  // Look up the keys of the object.\n  var keys = Object.keys(value);\n  var visibleKeys = arrayToHash(keys);\n\n  if (ctx.showHidden) {\n    keys = Object.getOwnPropertyNames(value);\n  }\n\n  // IE doesn't make error fields non-enumerable\n  // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n  if (isError(value)\n      && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n    return formatError(value);\n  }\n\n  // Some type of object without properties can be shortcutted.\n  if (keys.length === 0) {\n    if (isFunction(value)) {\n      var name = value.name ? ': ' + value.name : '';\n      return ctx.stylize('[Function' + name + ']', 'special');\n    }\n    if (isRegExp(value)) {\n      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n    }\n    if (isDate(value)) {\n      return ctx.stylize(Date.prototype.toString.call(value), 'date');\n    }\n    if (isError(value)) {\n      return formatError(value);\n    }\n  }\n\n  var base = '', array = false, braces = ['{', '}'];\n\n  // Make Array say that they are Array\n  if (isArray(value)) {\n    array = true;\n    braces = ['[', ']'];\n  }\n\n  // Make functions say that they are functions\n  if (isFunction(value)) {\n    var n = value.name ? ': ' + value.name : '';\n    base = ' [Function' + n + ']';\n  }\n\n  // Make RegExps say that they are RegExps\n  if (isRegExp(value)) {\n    base = ' ' + RegExp.prototype.toString.call(value);\n  }\n\n  // Make dates with properties first say the date\n  if (isDate(value)) {\n    base = ' ' + Date.prototype.toUTCString.call(value);\n  }\n\n  // Make error with message first say the error\n  if (isError(value)) {\n    base = ' ' + formatError(value);\n  }\n\n  if (keys.length === 0 && (!array || value.length == 0)) {\n    return braces[0] + base + braces[1];\n  }\n\n  if (recurseTimes < 0) {\n    if (isRegExp(value)) {\n      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n    } else {\n      return ctx.stylize('[Object]', 'special');\n    }\n  }\n\n  ctx.seen.push(value);\n\n  var output;\n  if (array) {\n    output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n  } else {\n    output = keys.map(function(key) {\n      return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n    });\n  }\n\n  ctx.seen.pop();\n\n  return reduceToSingleString(output, base, braces);\n}\n\n\nfunction formatPrimitive(ctx, value) {\n  if (isUndefined(value))\n    return ctx.stylize('undefined', 'undefined');\n  if (isString(value)) {\n    var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n                                             .replace(/'/g, \"\\\\'\")\n                                             .replace(/\\\\\"/g, '\"') + '\\'';\n    return ctx.stylize(simple, 'string');\n  }\n  if (isNumber(value))\n    return ctx.stylize('' + value, 'number');\n  if (isBoolean(value))\n    return ctx.stylize('' + value, 'boolean');\n  // For some reason typeof null is \"object\", so special case here.\n  if (isNull(value))\n    return ctx.stylize('null', 'null');\n}\n\n\nfunction formatError(value) {\n  return '[' + Error.prototype.toString.call(value) + ']';\n}\n\n\nfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n  var output = [];\n  for (var i = 0, l = value.length; i < l; ++i) {\n    if (hasOwnProperty(value, String(i))) {\n      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n          String(i), true));\n    } else {\n      output.push('');\n    }\n  }\n  keys.forEach(function(key) {\n    if (!key.match(/^\\d+$/)) {\n      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n          key, true));\n    }\n  });\n  return output;\n}\n\n\nfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n  var name, str, desc;\n  desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n  if (desc.get) {\n    if (desc.set) {\n      str = ctx.stylize('[Getter/Setter]', 'special');\n    } else {\n      str = ctx.stylize('[Getter]', 'special');\n    }\n  } else {\n    if (desc.set) {\n      str = ctx.stylize('[Setter]', 'special');\n    }\n  }\n  if (!hasOwnProperty(visibleKeys, key)) {\n    name = '[' + key + ']';\n  }\n  if (!str) {\n    if (ctx.seen.indexOf(desc.value) < 0) {\n      if (isNull(recurseTimes)) {\n        str = formatValue(ctx, desc.value, null);\n      } else {\n        str = formatValue(ctx, desc.value, recurseTimes - 1);\n      }\n      if (str.indexOf('\\n') > -1) {\n        if (array) {\n          str = str.split('\\n').map(function(line) {\n            return '  ' + line;\n          }).join('\\n').substr(2);\n        } else {\n          str = '\\n' + str.split('\\n').map(function(line) {\n            return '   ' + line;\n          }).join('\\n');\n        }\n      }\n    } else {\n      str = ctx.stylize('[Circular]', 'special');\n    }\n  }\n  if (isUndefined(name)) {\n    if (array && key.match(/^\\d+$/)) {\n      return str;\n    }\n    name = JSON.stringify('' + key);\n    if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n      name = name.substr(1, name.length - 2);\n      name = ctx.stylize(name, 'name');\n    } else {\n      name = name.replace(/'/g, \"\\\\'\")\n                 .replace(/\\\\\"/g, '\"')\n                 .replace(/(^\"|\"$)/g, \"'\");\n      name = ctx.stylize(name, 'string');\n    }\n  }\n\n  return name + ': ' + str;\n}\n\n\nfunction reduceToSingleString(output, base, braces) {\n  var numLinesEst = 0;\n  var length = output.reduce(function(prev, cur) {\n    numLinesEst++;\n    if (cur.indexOf('\\n') >= 0) numLinesEst++;\n    return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n  }, 0);\n\n  if (length > 60) {\n    return braces[0] +\n           (base === '' ? '' : base + '\\n ') +\n           ' ' +\n           output.join(',\\n  ') +\n           ' ' +\n           braces[1];\n  }\n\n  return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n}\n\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nfunction isArray(ar) {\n  return Array.isArray(ar);\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n  return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n  return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n  return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n  return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n  return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n  return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n  return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n  return isObject(re) && objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n  return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n  return isObject(d) && objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n  return isObject(e) &&\n      (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n  return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n  return arg === null ||\n         typeof arg === 'boolean' ||\n         typeof arg === 'number' ||\n         typeof arg === 'string' ||\n         typeof arg === 'symbol' ||  // ES6 symbol\n         typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = require('./support/isBuffer');\n\nfunction objectToString(o) {\n  return Object.prototype.toString.call(o);\n}\n\n\nfunction pad(n) {\n  return n < 10 ? '0' + n.toString(10) : n.toString(10);\n}\n\n\nvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n              'Oct', 'Nov', 'Dec'];\n\n// 26 Feb 16:19:34\nfunction timestamp() {\n  var d = new Date();\n  var time = [pad(d.getHours()),\n              pad(d.getMinutes()),\n              pad(d.getSeconds())].join(':');\n  return [d.getDate(), months[d.getMonth()], time].join(' ');\n}\n\n\n// log is just a thin wrapper to console.log that prepends a timestamp\nexports.log = function() {\n  console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n};\n\n\n/**\n * Inherit the prototype methods from one constructor into another.\n *\n * The Function.prototype.inherits from lang.js rewritten as a standalone\n * function (not on Function.prototype). NOTE: If this file is to be loaded\n * during bootstrapping this function needs to be rewritten using some native\n * functions as prototype setup using normal JavaScript does not work as\n * expected during bootstrapping (see mirror.js in r114903).\n *\n * @param {function} ctor Constructor function which needs to inherit the\n *     prototype.\n * @param {function} superCtor Constructor function to inherit prototype from.\n */\nexports.inherits = require('inherits');\n\nexports._extend = function(origin, add) {\n  // Don't do anything if add isn't an object\n  if (!add || !isObject(add)) return origin;\n\n  var keys = Object.keys(add);\n  var i = keys.length;\n  while (i--) {\n    origin[keys[i]] = add[keys[i]];\n  }\n  return origin;\n};\n\nfunction hasOwnProperty(obj, prop) {\n  return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nvar kCustomPromisifiedSymbol = typeof Symbol !== 'undefined' ? Symbol('util.promisify.custom') : undefined;\n\nexports.promisify = function promisify(original) {\n  if (typeof original !== 'function')\n    throw new TypeError('The \"original\" argument must be of type Function');\n\n  if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {\n    var fn = original[kCustomPromisifiedSymbol];\n    if (typeof fn !== 'function') {\n      throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');\n    }\n    Object.defineProperty(fn, kCustomPromisifiedSymbol, {\n      value: fn, enumerable: false, writable: false, configurable: true\n    });\n    return fn;\n  }\n\n  function fn() {\n    var promiseResolve, promiseReject;\n    var promise = new Promise(function (resolve, reject) {\n      promiseResolve = resolve;\n      promiseReject = reject;\n    });\n\n    var args = [];\n    for (var i = 0; i < arguments.length; i++) {\n      args.push(arguments[i]);\n    }\n    args.push(function (err, value) {\n      if (err) {\n        promiseReject(err);\n      } else {\n        promiseResolve(value);\n      }\n    });\n\n    try {\n      original.apply(this, args);\n    } catch (err) {\n      promiseReject(err);\n    }\n\n    return promise;\n  }\n\n  Object.setPrototypeOf(fn, Object.getPrototypeOf(original));\n\n  if (kCustomPromisifiedSymbol) Object.defineProperty(fn, kCustomPromisifiedSymbol, {\n    value: fn, enumerable: false, writable: false, configurable: true\n  });\n  return Object.defineProperties(\n    fn,\n    getOwnPropertyDescriptors(original)\n  );\n}\n\nexports.promisify.custom = kCustomPromisifiedSymbol\n\nfunction callbackifyOnRejected(reason, cb) {\n  // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M).\n  // Because `null` is a special error value in callbacks which means \"no error\n  // occurred\", we error-wrap so the callback consumer can distinguish between\n  // \"the promise rejected with null\" or \"the promise fulfilled with undefined\".\n  if (!reason) {\n    var newReason = new Error('Promise was rejected with a falsy value');\n    newReason.reason = reason;\n    reason = newReason;\n  }\n  return cb(reason);\n}\n\nfunction callbackify(original) {\n  if (typeof original !== 'function') {\n    throw new TypeError('The \"original\" argument must be of type Function');\n  }\n\n  // We DO NOT return the promise as it gives the user a false sense that\n  // the promise is actually somehow related to the callback's execution\n  // and that the callback throwing will reject the promise.\n  function callbackified() {\n    var args = [];\n    for (var i = 0; i < arguments.length; i++) {\n      args.push(arguments[i]);\n    }\n\n    var maybeCb = args.pop();\n    if (typeof maybeCb !== 'function') {\n      throw new TypeError('The last argument must be of type Function');\n    }\n    var self = this;\n    var cb = function() {\n      return maybeCb.apply(self, arguments);\n    };\n    // In true node style we process the callback on `nextTick` with all the\n    // implications (stack, `uncaughtException`, `async_hooks`)\n    original.apply(this, args)\n      .then(function(ret) { process.nextTick(cb, null, ret) },\n            function(rej) { process.nextTick(callbackifyOnRejected, rej, cb) });\n  }\n\n  Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));\n  Object.defineProperties(callbackified,\n                          getOwnPropertyDescriptors(original));\n  return callbackified;\n}\nexports.callbackify = callbackify;\n","function _extends() {\n  return _extends = Object.assign ? Object.assign.bind() : function (n) {\n    for (var e = 1; e < arguments.length; e++) {\n      var t = arguments[e];\n      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n    }\n    return n;\n  }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","function _setPrototypeOf(t, e) {\n  return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n    return t.__proto__ = e, t;\n  }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n  t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","function _objectWithoutPropertiesLoose(r, e) {\n  if (null == r) return {};\n  var t = {};\n  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n    if (-1 !== e.indexOf(n)) continue;\n    t[n] = r[n];\n  }\n  return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","function n(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];if(\"production\"!==process.env.NODE_ENV){var i=Y[n],o=i?\"function\"==typeof i?i.apply(null,t):i:\"unknown error nr: \"+n;throw Error(\"[Immer] \"+o)}throw Error(\"[Immer] minified error nr: \"+n+(t.length?\" \"+t.map((function(n){return\"'\"+n+\"'\"})).join(\",\"):\"\")+\". Find the full error at: https://bit.ly/3cXEKWf\")}function r(n){return!!n&&!!n[Q]}function t(n){var r;return!!n&&(function(n){if(!n||\"object\"!=typeof n)return!1;var r=Object.getPrototypeOf(n);if(null===r)return!0;var t=Object.hasOwnProperty.call(r,\"constructor\")&&r.constructor;return t===Object||\"function\"==typeof t&&Function.toString.call(t)===Z}(n)||Array.isArray(n)||!!n[L]||!!(null===(r=n.constructor)||void 0===r?void 0:r[L])||s(n)||v(n))}function e(t){return r(t)||n(23,t),t[Q].t}function i(n,r,t){void 0===t&&(t=!1),0===o(n)?(t?Object.keys:nn)(n).forEach((function(e){t&&\"symbol\"==typeof e||r(e,n[e],n)})):n.forEach((function(t,e){return r(e,t,n)}))}function o(n){var r=n[Q];return r?r.i>3?r.i-4:r.i:Array.isArray(n)?1:s(n)?2:v(n)?3:0}function u(n,r){return 2===o(n)?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function a(n,r){return 2===o(n)?n.get(r):n[r]}function f(n,r,t){var e=o(n);2===e?n.set(r,t):3===e?n.add(t):n[r]=t}function c(n,r){return n===r?0!==n||1/n==1/r:n!=n&&r!=r}function s(n){return X&&n instanceof Map}function v(n){return q&&n instanceof Set}function p(n){return n.o||n.t}function l(n){if(Array.isArray(n))return Array.prototype.slice.call(n);var r=rn(n);delete r[Q];for(var t=nn(r),e=0;e<t.length;e++){var i=t[e],o=r[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:n[i]})}return Object.create(Object.getPrototypeOf(n),r)}function d(n,e){return void 0===e&&(e=!1),y(n)||r(n)||!t(n)||(o(n)>1&&(n.set=n.add=n.clear=n.delete=h),Object.freeze(n),e&&i(n,(function(n,r){return d(r,!0)}),!0)),n}function h(){n(2)}function y(n){return null==n||\"object\"!=typeof n||Object.isFrozen(n)}function b(r){var t=tn[r];return t||n(18,r),t}function m(n,r){tn[n]||(tn[n]=r)}function _(){return\"production\"===process.env.NODE_ENV||U||n(0),U}function j(n,r){r&&(b(\"Patches\"),n.u=[],n.s=[],n.v=r)}function g(n){O(n),n.p.forEach(S),n.p=null}function O(n){n===U&&(U=n.l)}function w(n){return U={p:[],l:U,h:n,m:!0,_:0}}function S(n){var r=n[Q];0===r.i||1===r.i?r.j():r.g=!0}function P(r,e){e._=e.p.length;var i=e.p[0],o=void 0!==r&&r!==i;return e.h.O||b(\"ES5\").S(e,r,o),o?(i[Q].P&&(g(e),n(4)),t(r)&&(r=M(e,r),e.l||x(e,r)),e.u&&b(\"Patches\").M(i[Q].t,r,e.u,e.s)):r=M(e,i,[]),g(e),e.u&&e.v(e.u,e.s),r!==H?r:void 0}function M(n,r,t){if(y(r))return r;var e=r[Q];if(!e)return i(r,(function(i,o){return A(n,e,r,i,o,t)}),!0),r;if(e.A!==n)return r;if(!e.P)return x(n,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var o=4===e.i||5===e.i?e.o=l(e.k):e.o,u=o,a=!1;3===e.i&&(u=new Set(o),o.clear(),a=!0),i(u,(function(r,i){return A(n,e,o,r,i,t,a)})),x(n,o,!1),t&&n.u&&b(\"Patches\").N(e,t,n.u,n.s)}return e.o}function A(e,i,o,a,c,s,v){if(\"production\"!==process.env.NODE_ENV&&c===o&&n(5),r(c)){var p=M(e,c,s&&i&&3!==i.i&&!u(i.R,a)?s.concat(a):void 0);if(f(o,a,p),!r(p))return;e.m=!1}else v&&o.add(c);if(t(c)&&!y(c)){if(!e.h.D&&e._<1)return;M(e,c),i&&i.A.l||x(e,c)}}function x(n,r,t){void 0===t&&(t=!1),!n.l&&n.h.D&&n.m&&d(r,t)}function z(n,r){var t=n[Q];return(t?p(t):n)[r]}function I(n,r){if(r in n)for(var t=Object.getPrototypeOf(n);t;){var e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}}function k(n){n.P||(n.P=!0,n.l&&k(n.l))}function E(n){n.o||(n.o=l(n.t))}function N(n,r,t){var e=s(r)?b(\"MapSet\").F(r,t):v(r)?b(\"MapSet\").T(r,t):n.O?function(n,r){var t=Array.isArray(n),e={i:t?1:0,A:r?r.A:_(),P:!1,I:!1,R:{},l:r,t:n,k:null,o:null,j:null,C:!1},i=e,o=en;t&&(i=[e],o=on);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(r,t):b(\"ES5\").J(r,t);return(t?t.A:_()).p.push(e),e}function R(e){return r(e)||n(22,e),function n(r){if(!t(r))return r;var e,u=r[Q],c=o(r);if(u){if(!u.P&&(u.i<4||!b(\"ES5\").K(u)))return u.t;u.I=!0,e=D(r,c),u.I=!1}else e=D(r,c);return i(e,(function(r,t){u&&a(u.t,r)===t||f(e,r,n(t))})),3===c?new Set(e):e}(e)}function D(n,r){switch(r){case 2:return new Map(n);case 3:return Array.from(n)}return l(n)}function F(){function t(n,r){var t=s[n];return t?t.enumerable=r:s[n]=t={configurable:!0,enumerable:r,get:function(){var r=this[Q];return\"production\"!==process.env.NODE_ENV&&f(r),en.get(r,n)},set:function(r){var t=this[Q];\"production\"!==process.env.NODE_ENV&&f(t),en.set(t,n,r)}},t}function e(n){for(var r=n.length-1;r>=0;r--){var t=n[r][Q];if(!t.P)switch(t.i){case 5:a(t)&&k(t);break;case 4:o(t)&&k(t)}}}function o(n){for(var r=n.t,t=n.k,e=nn(t),i=e.length-1;i>=0;i--){var o=e[i];if(o!==Q){var a=r[o];if(void 0===a&&!u(r,o))return!0;var f=t[o],s=f&&f[Q];if(s?s.t!==a:!c(f,a))return!0}}var v=!!r[Q];return e.length!==nn(r).length+(v?0:1)}function a(n){var r=n.k;if(r.length!==n.t.length)return!0;var t=Object.getOwnPropertyDescriptor(r,r.length-1);if(t&&!t.get)return!0;for(var e=0;e<r.length;e++)if(!r.hasOwnProperty(e))return!0;return!1}function f(r){r.g&&n(3,JSON.stringify(p(r)))}var s={};m(\"ES5\",{J:function(n,r){var e=Array.isArray(n),i=function(n,r){if(n){for(var e=Array(r.length),i=0;i<r.length;i++)Object.defineProperty(e,\"\"+i,t(i,!0));return e}var o=rn(r);delete o[Q];for(var u=nn(o),a=0;a<u.length;a++){var f=u[a];o[f]=t(f,n||!!o[f].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(e,n),o={i:e?5:4,A:r?r.A:_(),P:!1,I:!1,R:{},l:r,t:n,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Q,{value:o,writable:!0}),i},S:function(n,t,o){o?r(t)&&t[Q].A===n&&e(n.p):(n.u&&function n(r){if(r&&\"object\"==typeof r){var t=r[Q];if(t){var e=t.t,o=t.k,f=t.R,c=t.i;if(4===c)i(o,(function(r){r!==Q&&(void 0!==e[r]||u(e,r)?f[r]||n(o[r]):(f[r]=!0,k(t)))})),i(e,(function(n){void 0!==o[n]||u(o,n)||(f[n]=!1,k(t))}));else if(5===c){if(a(t)&&(k(t),f.length=!0),o.length<e.length)for(var s=o.length;s<e.length;s++)f[s]=!1;else for(var v=e.length;v<o.length;v++)f[v]=!0;for(var p=Math.min(o.length,e.length),l=0;l<p;l++)o.hasOwnProperty(l)||(f[l]=!0),void 0===f[l]&&n(o[l])}}}}(n.p[0]),e(n.p))},K:function(n){return 4===n.i?o(n):a(n)}})}function T(){function e(n){if(!t(n))return n;if(Array.isArray(n))return n.map(e);if(s(n))return new Map(Array.from(n.entries()).map((function(n){return[n[0],e(n[1])]})));if(v(n))return new Set(Array.from(n).map(e));var r=Object.create(Object.getPrototypeOf(n));for(var i in n)r[i]=e(n[i]);return u(n,L)&&(r[L]=n[L]),r}function f(n){return r(n)?e(n):n}var c=\"add\";m(\"Patches\",{$:function(r,t){return t.forEach((function(t){for(var i=t.path,u=t.op,f=r,s=0;s<i.length-1;s++){var v=o(f),p=i[s];\"string\"!=typeof p&&\"number\"!=typeof p&&(p=\"\"+p),0!==v&&1!==v||\"__proto__\"!==p&&\"constructor\"!==p||n(24),\"function\"==typeof f&&\"prototype\"===p&&n(24),\"object\"!=typeof(f=a(f,p))&&n(15,i.join(\"/\"))}var l=o(f),d=e(t.value),h=i[i.length-1];switch(u){case\"replace\":switch(l){case 2:return f.set(h,d);case 3:n(16);default:return f[h]=d}case c:switch(l){case 1:return\"-\"===h?f.push(d):f.splice(h,0,d);case 2:return f.set(h,d);case 3:return f.add(d);default:return f[h]=d}case\"remove\":switch(l){case 1:return f.splice(h,1);case 2:return f.delete(h);case 3:return f.delete(t.value);default:return delete f[h]}default:n(17,u)}})),r},N:function(n,r,t,e){switch(n.i){case 0:case 4:case 2:return function(n,r,t,e){var o=n.t,s=n.o;i(n.R,(function(n,i){var v=a(o,n),p=a(s,n),l=i?u(o,n)?\"replace\":c:\"remove\";if(v!==p||\"replace\"!==l){var d=r.concat(n);t.push(\"remove\"===l?{op:l,path:d}:{op:l,path:d,value:p}),e.push(l===c?{op:\"remove\",path:d}:\"remove\"===l?{op:c,path:d,value:f(v)}:{op:\"replace\",path:d,value:f(v)})}}))}(n,r,t,e);case 5:case 1:return function(n,r,t,e){var i=n.t,o=n.R,u=n.o;if(u.length<i.length){var a=[u,i];i=a[0],u=a[1];var s=[e,t];t=s[0],e=s[1]}for(var v=0;v<i.length;v++)if(o[v]&&u[v]!==i[v]){var p=r.concat([v]);t.push({op:\"replace\",path:p,value:f(u[v])}),e.push({op:\"replace\",path:p,value:f(i[v])})}for(var l=i.length;l<u.length;l++){var d=r.concat([l]);t.push({op:c,path:d,value:f(u[l])})}i.length<u.length&&e.push({op:\"replace\",path:r.concat([\"length\"]),value:i.length})}(n,r,t,e);case 3:return function(n,r,t,e){var i=n.t,o=n.o,u=0;i.forEach((function(n){if(!o.has(n)){var i=r.concat([u]);t.push({op:\"remove\",path:i,value:n}),e.unshift({op:c,path:i,value:n})}u++})),u=0,o.forEach((function(n){if(!i.has(n)){var o=r.concat([u]);t.push({op:c,path:o,value:n}),e.unshift({op:\"remove\",path:o,value:n})}u++}))}(n,r,t,e)}},M:function(n,r,t,e){t.push({op:\"replace\",path:[],value:r===H?void 0:r}),e.push({op:\"replace\",path:[],value:n})}})}function C(){function r(n,r){function t(){this.constructor=n}a(n,r),n.prototype=(t.prototype=r.prototype,new t)}function e(n){n.o||(n.R=new Map,n.o=new Map(n.t))}function o(n){n.o||(n.o=new Set,n.t.forEach((function(r){if(t(r)){var e=N(n.A.h,r,n);n.p.set(r,e),n.o.add(e)}else n.o.add(r)})))}function u(r){r.g&&n(3,JSON.stringify(p(r)))}var a=function(n,r){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var t in r)r.hasOwnProperty(t)&&(n[t]=r[t])})(n,r)},f=function(){function n(n,r){return this[Q]={i:2,l:r,A:r?r.A:_(),P:!1,I:!1,o:void 0,R:void 0,t:n,k:this,C:!1,g:!1},this}r(n,Map);var o=n.prototype;return Object.defineProperty(o,\"size\",{get:function(){return p(this[Q]).size}}),o.has=function(n){return p(this[Q]).has(n)},o.set=function(n,r){var t=this[Q];return u(t),p(t).has(n)&&p(t).get(n)===r||(e(t),k(t),t.R.set(n,!0),t.o.set(n,r),t.R.set(n,!0)),this},o.delete=function(n){if(!this.has(n))return!1;var r=this[Q];return u(r),e(r),k(r),r.t.has(n)?r.R.set(n,!1):r.R.delete(n),r.o.delete(n),!0},o.clear=function(){var n=this[Q];u(n),p(n).size&&(e(n),k(n),n.R=new Map,i(n.t,(function(r){n.R.set(r,!1)})),n.o.clear())},o.forEach=function(n,r){var t=this;p(this[Q]).forEach((function(e,i){n.call(r,t.get(i),i,t)}))},o.get=function(n){var r=this[Q];u(r);var i=p(r).get(n);if(r.I||!t(i))return i;if(i!==r.t.get(n))return i;var o=N(r.A.h,i,r);return e(r),r.o.set(n,o),o},o.keys=function(){return p(this[Q]).keys()},o.values=function(){var n,r=this,t=this.keys();return(n={})[V]=function(){return r.values()},n.next=function(){var n=t.next();return n.done?n:{done:!1,value:r.get(n.value)}},n},o.entries=function(){var n,r=this,t=this.keys();return(n={})[V]=function(){return r.entries()},n.next=function(){var n=t.next();if(n.done)return n;var e=r.get(n.value);return{done:!1,value:[n.value,e]}},n},o[V]=function(){return this.entries()},n}(),c=function(){function n(n,r){return this[Q]={i:3,l:r,A:r?r.A:_(),P:!1,I:!1,o:void 0,t:n,k:this,p:new Map,g:!1,C:!1},this}r(n,Set);var t=n.prototype;return Object.defineProperty(t,\"size\",{get:function(){return p(this[Q]).size}}),t.has=function(n){var r=this[Q];return u(r),r.o?!!r.o.has(n)||!(!r.p.has(n)||!r.o.has(r.p.get(n))):r.t.has(n)},t.add=function(n){var r=this[Q];return u(r),this.has(n)||(o(r),k(r),r.o.add(n)),this},t.delete=function(n){if(!this.has(n))return!1;var r=this[Q];return u(r),o(r),k(r),r.o.delete(n)||!!r.p.has(n)&&r.o.delete(r.p.get(n))},t.clear=function(){var n=this[Q];u(n),p(n).size&&(o(n),k(n),n.o.clear())},t.values=function(){var n=this[Q];return u(n),o(n),n.o.values()},t.entries=function(){var n=this[Q];return u(n),o(n),n.o.entries()},t.keys=function(){return this.values()},t[V]=function(){return this.values()},t.forEach=function(n,r){for(var t=this.values(),e=t.next();!e.done;)n.call(r,e.value,e.value,this),e=t.next()},n}();m(\"MapSet\",{F:function(n,r){return new f(n,r)},T:function(n,r){return new c(n,r)}})}function J(){F(),C(),T()}function K(n){return n}function $(n){return n}var G,U,W=\"undefined\"!=typeof Symbol&&\"symbol\"==typeof Symbol(\"x\"),X=\"undefined\"!=typeof Map,q=\"undefined\"!=typeof Set,B=\"undefined\"!=typeof Proxy&&void 0!==Proxy.revocable&&\"undefined\"!=typeof Reflect,H=W?Symbol.for(\"immer-nothing\"):((G={})[\"immer-nothing\"]=!0,G),L=W?Symbol.for(\"immer-draftable\"):\"__$immer_draftable\",Q=W?Symbol.for(\"immer-state\"):\"__$immer_state\",V=\"undefined\"!=typeof Symbol&&Symbol.iterator||\"@@iterator\",Y={0:\"Illegal state\",1:\"Immer drafts cannot have computed properties\",2:\"This object has been frozen and should not be mutated\",3:function(n){return\"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? \"+n},4:\"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.\",5:\"Immer forbids circular references\",6:\"The first or second argument to `produce` must be a function\",7:\"The third argument to `produce` must be a function or undefined\",8:\"First argument to `createDraft` must be a plain object, an array, or an immerable object\",9:\"First argument to `finishDraft` must be a draft returned by `createDraft`\",10:\"The given draft is already finalized\",11:\"Object.defineProperty() cannot be used on an Immer draft\",12:\"Object.setPrototypeOf() cannot be used on an Immer draft\",13:\"Immer only supports deleting array indices\",14:\"Immer only supports setting array indices and the 'length' property\",15:function(n){return\"Cannot apply patch, path doesn't resolve: \"+n},16:'Sets cannot have \"replace\" patches.',17:function(n){return\"Unsupported patch operation: \"+n},18:function(n){return\"The plugin for '\"+n+\"' has not been loaded into Immer. To enable the plugin, import and call `enable\"+n+\"()` when initializing your application.\"},20:\"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available\",21:function(n){return\"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '\"+n+\"'\"},22:function(n){return\"'current' expects a draft, got: \"+n},23:function(n){return\"'original' expects a draft, got: \"+n},24:\"Patching reserved attributes like __proto__, prototype and constructor is not allowed\"},Z=\"\"+Object.prototype.constructor,nn=\"undefined\"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames,rn=Object.getOwnPropertyDescriptors||function(n){var r={};return nn(n).forEach((function(t){r[t]=Object.getOwnPropertyDescriptor(n,t)})),r},tn={},en={get:function(n,r){if(r===Q)return n;var e=p(n);if(!u(e,r))return function(n,r,t){var e,i=I(r,t);return i?\"value\"in i?i.value:null===(e=i.get)||void 0===e?void 0:e.call(n.k):void 0}(n,e,r);var i=e[r];return n.I||!t(i)?i:i===z(n.t,r)?(E(n),n.o[r]=N(n.A.h,i,n)):i},has:function(n,r){return r in p(n)},ownKeys:function(n){return Reflect.ownKeys(p(n))},set:function(n,r,t){var e=I(p(n),r);if(null==e?void 0:e.set)return e.set.call(n.k,t),!0;if(!n.P){var i=z(p(n),r),o=null==i?void 0:i[Q];if(o&&o.t===t)return n.o[r]=t,n.R[r]=!1,!0;if(c(t,i)&&(void 0!==t||u(n.t,r)))return!0;E(n),k(n)}return n.o[r]===t&&(void 0!==t||r in n.o)||Number.isNaN(t)&&Number.isNaN(n.o[r])||(n.o[r]=t,n.R[r]=!0),!0},deleteProperty:function(n,r){return void 0!==z(n.t,r)||r in n.t?(n.R[r]=!1,E(n),k(n)):delete n.R[r],n.o&&delete n.o[r],!0},getOwnPropertyDescriptor:function(n,r){var t=p(n),e=Reflect.getOwnPropertyDescriptor(t,r);return e?{writable:!0,configurable:1!==n.i||\"length\"!==r,enumerable:e.enumerable,value:t[r]}:e},defineProperty:function(){n(11)},getPrototypeOf:function(n){return Object.getPrototypeOf(n.t)},setPrototypeOf:function(){n(12)}},on={};i(en,(function(n,r){on[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}})),on.deleteProperty=function(r,t){return\"production\"!==process.env.NODE_ENV&&isNaN(parseInt(t))&&n(13),on.set.call(this,r,t,void 0)},on.set=function(r,t,e){return\"production\"!==process.env.NODE_ENV&&\"length\"!==t&&isNaN(parseInt(t))&&n(14),en.set.call(this,r[0],t,e,r[0])};var un=function(){function e(r){var e=this;this.O=B,this.D=!0,this.produce=function(r,i,o){if(\"function\"==typeof r&&\"function\"!=typeof i){var u=i;i=r;var a=e;return function(n){var r=this;void 0===n&&(n=u);for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return a.produce(n,(function(n){var t;return(t=i).call.apply(t,[r,n].concat(e))}))}}var f;if(\"function\"!=typeof i&&n(6),void 0!==o&&\"function\"!=typeof o&&n(7),t(r)){var c=w(e),s=N(e,r,void 0),v=!0;try{f=i(s),v=!1}finally{v?g(c):O(c)}return\"undefined\"!=typeof Promise&&f instanceof Promise?f.then((function(n){return j(c,o),P(n,c)}),(function(n){throw g(c),n})):(j(c,o),P(f,c))}if(!r||\"object\"!=typeof r){if(void 0===(f=i(r))&&(f=r),f===H&&(f=void 0),e.D&&d(f,!0),o){var p=[],l=[];b(\"Patches\").M(r,f,p,l),o(p,l)}return f}n(21,r)},this.produceWithPatches=function(n,r){if(\"function\"==typeof n)return function(r){for(var t=arguments.length,i=Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return e.produceWithPatches(r,(function(r){return n.apply(void 0,[r].concat(i))}))};var t,i,o=e.produce(n,r,(function(n,r){t=n,i=r}));return\"undefined\"!=typeof Promise&&o instanceof Promise?o.then((function(n){return[n,t,i]})):[o,t,i]},\"boolean\"==typeof(null==r?void 0:r.useProxies)&&this.setUseProxies(r.useProxies),\"boolean\"==typeof(null==r?void 0:r.autoFreeze)&&this.setAutoFreeze(r.autoFreeze)}var i=e.prototype;return i.createDraft=function(e){t(e)||n(8),r(e)&&(e=R(e));var i=w(this),o=N(this,e,void 0);return o[Q].C=!0,O(i),o},i.finishDraft=function(r,t){var e=r&&r[Q];\"production\"!==process.env.NODE_ENV&&(e&&e.C||n(9),e.I&&n(10));var i=e.A;return j(i,t),P(void 0,i)},i.setAutoFreeze=function(n){this.D=n},i.setUseProxies=function(r){r&&!B&&n(20),this.O=r},i.applyPatches=function(n,t){var e;for(e=t.length-1;e>=0;e--){var i=t[e];if(0===i.path.length&&\"replace\"===i.op){n=i.value;break}}e>-1&&(t=t.slice(e+1));var o=b(\"Patches\").$;return r(n)?o(n,t):this.produce(n,(function(n){return o(n,t)}))},e}(),an=new un,fn=an.produce,cn=an.produceWithPatches.bind(an),sn=an.setAutoFreeze.bind(an),vn=an.setUseProxies.bind(an),pn=an.applyPatches.bind(an),ln=an.createDraft.bind(an),dn=an.finishDraft.bind(an);export default fn;export{un as Immer,pn as applyPatches,K as castDraft,$ as castImmutable,ln as createDraft,R as current,J as enableAllPlugins,F as enableES5,C as enableMapSet,T as enablePatches,dn as finishDraft,d as freeze,L as immerable,r as isDraft,t as isDraftable,H as nothing,e as original,fn as produce,cn as produceWithPatches,sn as setAutoFreeze,vn as setUseProxies};\n//# sourceMappingURL=immer.esm.js.map\n","/**\n * react-router v7.18.4\n *\n * Copyright (c) Remix Software Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.md file in the root directory of this source tree.\n *\n * @license MIT\n */\nvar __typeError = (msg) => {\n  throw TypeError(msg);\n};\nvar __accessCheck = (obj, member, msg) => member.has(obj) || __typeError(\"Cannot \" + msg);\nvar __privateGet = (obj, member, getter) => (__accessCheck(obj, member, \"read from private field\"), getter ? getter.call(obj) : member.get(obj));\nvar __privateAdd = (obj, member, value) => member.has(obj) ? __typeError(\"Cannot add the same private member more than once\") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\nvar __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, \"write to private field\"), setter ? setter.call(obj, value) : member.set(obj, value), value);\n\n// lib/router/url.ts\nvar ABSOLUTE_URL_REGEX = /^(?:[a-z][a-z0-9+.-]*:|[\\\\/]{2})/i;\nvar PROTOCOL_RELATIVE_URL_REGEX = /^[\\\\/]{2}/;\nfunction normalizeProtocolRelativeUrl(url, protocol) {\n  return protocol + url.replace(/\\\\/g, \"/\");\n}\n\n// lib/router/history.ts\nvar Action = /* @__PURE__ */ ((Action2) => {\n  Action2[\"Pop\"] = \"POP\";\n  Action2[\"Push\"] = \"PUSH\";\n  Action2[\"Replace\"] = \"REPLACE\";\n  return Action2;\n})(Action || {});\nvar PopStateEventType = \"popstate\";\nfunction isLocation(obj) {\n  return typeof obj === \"object\" && obj != null && \"pathname\" in obj && \"search\" in obj && \"hash\" in obj && \"state\" in obj && \"key\" in obj;\n}\nfunction createMemoryHistory(options = {}) {\n  let { initialEntries = [\"/\"], initialIndex, v5Compat = false } = options;\n  let entries;\n  entries = initialEntries.map(\n    (entry, index2) => createMemoryLocation(\n      entry,\n      typeof entry === \"string\" ? null : entry.state,\n      index2 === 0 ? \"default\" : void 0,\n      typeof entry === \"string\" ? void 0 : entry.mask\n    )\n  );\n  let index = clampIndex(\n    initialIndex == null ? entries.length - 1 : initialIndex\n  );\n  let action = \"POP\" /* Pop */;\n  let listener = null;\n  function clampIndex(n) {\n    return Math.min(Math.max(n, 0), entries.length - 1);\n  }\n  function getCurrentLocation() {\n    return entries[index];\n  }\n  function createMemoryLocation(to, state = null, key, mask) {\n    let location = createLocation(\n      entries ? getCurrentLocation().pathname : \"/\",\n      to,\n      state,\n      key,\n      mask\n    );\n    warning(\n      location.pathname.charAt(0) === \"/\",\n      `relative pathnames are not supported in memory history: ${JSON.stringify(\n        to\n      )}`\n    );\n    return location;\n  }\n  function createHref2(to) {\n    return typeof to === \"string\" ? to : createPath(to);\n  }\n  let history = {\n    get index() {\n      return index;\n    },\n    get action() {\n      return action;\n    },\n    get location() {\n      return getCurrentLocation();\n    },\n    createHref: createHref2,\n    createURL(to) {\n      return new URL(createHref2(to), \"http://localhost\");\n    },\n    encodeLocation(to) {\n      let path = typeof to === \"string\" ? parsePath(to) : to;\n      return {\n        pathname: path.pathname || \"\",\n        search: path.search || \"\",\n        hash: path.hash || \"\"\n      };\n    },\n    push(to, state) {\n      action = \"PUSH\" /* Push */;\n      let nextLocation = isLocation(to) ? to : createMemoryLocation(to, state);\n      index += 1;\n      entries.splice(index, entries.length, nextLocation);\n      if (v5Compat && listener) {\n        listener({ action, location: nextLocation, delta: 1 });\n      }\n    },\n    replace(to, state) {\n      action = \"REPLACE\" /* Replace */;\n      let nextLocation = isLocation(to) ? to : createMemoryLocation(to, state);\n      entries[index] = nextLocation;\n      if (v5Compat && listener) {\n        listener({ action, location: nextLocation, delta: 0 });\n      }\n    },\n    go(delta) {\n      action = \"POP\" /* Pop */;\n      let nextIndex = clampIndex(index + delta);\n      let nextLocation = entries[nextIndex];\n      index = nextIndex;\n      if (listener) {\n        listener({ action, location: nextLocation, delta });\n      }\n    },\n    listen(fn) {\n      listener = fn;\n      return () => {\n        listener = null;\n      };\n    }\n  };\n  return history;\n}\nfunction createBrowserHistory(options = {}) {\n  function createBrowserLocation(window2, globalHistory) {\n    let maskedLocation = globalHistory.state?.masked;\n    let { pathname, search, hash } = maskedLocation || window2.location;\n    return createLocation(\n      \"\",\n      { pathname, search, hash },\n      // state defaults to `null` because `window.history.state` does\n      globalHistory.state && globalHistory.state.usr || null,\n      globalHistory.state && globalHistory.state.key || \"default\",\n      maskedLocation ? {\n        pathname: window2.location.pathname,\n        search: window2.location.search,\n        hash: window2.location.hash\n      } : void 0\n    );\n  }\n  function createBrowserHref(window2, to) {\n    return typeof to === \"string\" ? to : createPath(to);\n  }\n  return getUrlBasedHistory(\n    createBrowserLocation,\n    createBrowserHref,\n    null,\n    options\n  );\n}\nfunction createHashHistory(options = {}) {\n  function createHashLocation(window2, globalHistory) {\n    let {\n      pathname = \"/\",\n      search = \"\",\n      hash = \"\"\n    } = parsePath(window2.location.hash.substring(1));\n    if (!pathname.startsWith(\"/\") && !pathname.startsWith(\".\")) {\n      pathname = \"/\" + pathname;\n    }\n    return createLocation(\n      \"\",\n      { pathname, search, hash },\n      // state defaults to `null` because `window.history.state` does\n      globalHistory.state && globalHistory.state.usr || null,\n      globalHistory.state && globalHistory.state.key || \"default\"\n    );\n  }\n  function createHashHref(window2, to) {\n    let base = window2.document.querySelector(\"base\");\n    let href = \"\";\n    if (base && base.getAttribute(\"href\")) {\n      let url = window2.location.href;\n      let hashIndex = url.indexOf(\"#\");\n      href = hashIndex === -1 ? url : url.slice(0, hashIndex);\n    }\n    return href + \"#\" + (typeof to === \"string\" ? to : createPath(to));\n  }\n  function validateHashLocation(location, to) {\n    warning(\n      location.pathname.charAt(0) === \"/\",\n      `relative pathnames are not supported in hash history.push(${JSON.stringify(\n        to\n      )})`\n    );\n  }\n  return getUrlBasedHistory(\n    createHashLocation,\n    createHashHref,\n    validateHashLocation,\n    options\n  );\n}\nfunction invariant(value, message) {\n  if (value === false || value === null || typeof value === \"undefined\") {\n    throw new Error(message);\n  }\n}\nfunction warning(cond, message) {\n  if (!cond) {\n    if (typeof console !== \"undefined\") console.warn(message);\n    try {\n      throw new Error(message);\n    } catch (e) {\n    }\n  }\n}\nfunction createKey() {\n  return Math.random().toString(36).substring(2, 10);\n}\nfunction getHistoryState(location, index) {\n  return {\n    usr: location.state,\n    key: location.key,\n    idx: index,\n    masked: location.mask ? {\n      pathname: location.pathname,\n      search: location.search,\n      hash: location.hash\n    } : void 0\n  };\n}\nfunction createLocation(current, to, state = null, key, mask) {\n  let location = {\n    pathname: typeof current === \"string\" ? current : current.pathname,\n    search: \"\",\n    hash: \"\",\n    ...typeof to === \"string\" ? parsePath(to) : to,\n    state,\n    // TODO: This could be cleaned up.  push/replace should probably just take\n    // full Locations now and avoid the need to run through this flow at all\n    // But that's a pretty big refactor to the current test suite so going to\n    // keep as is for the time being and just let any incoming keys take precedence\n    key: to && to.key || key || createKey(),\n    mask\n  };\n  return location;\n}\nfunction createPath({\n  pathname = \"/\",\n  search = \"\",\n  hash = \"\"\n}) {\n  if (search && search !== \"?\")\n    pathname += search.charAt(0) === \"?\" ? search : \"?\" + search;\n  if (hash && hash !== \"#\")\n    pathname += hash.charAt(0) === \"#\" ? hash : \"#\" + hash;\n  return pathname;\n}\nfunction parsePath(path) {\n  let parsedPath = {};\n  if (path) {\n    let hashIndex = path.indexOf(\"#\");\n    if (hashIndex >= 0) {\n      parsedPath.hash = path.substring(hashIndex);\n      path = path.substring(0, hashIndex);\n    }\n    let searchIndex = path.indexOf(\"?\");\n    if (searchIndex >= 0) {\n      parsedPath.search = path.substring(searchIndex);\n      path = path.substring(0, searchIndex);\n    }\n    if (path) {\n      parsedPath.pathname = path;\n    }\n  }\n  return parsedPath;\n}\nfunction getUrlBasedHistory(getLocation, createHref2, validateLocation, options = {}) {\n  let { window: window2 = document.defaultView, v5Compat = false } = options;\n  let globalHistory = window2.history;\n  let action = \"POP\" /* Pop */;\n  let listener = null;\n  let index = getIndex();\n  if (index == null) {\n    index = 0;\n    globalHistory.replaceState({ ...globalHistory.state, idx: index }, \"\");\n  }\n  function getIndex() {\n    let state = globalHistory.state || { idx: null };\n    return state.idx;\n  }\n  function handlePop() {\n    action = \"POP\" /* Pop */;\n    let nextIndex = getIndex();\n    let delta = nextIndex == null ? null : nextIndex - index;\n    index = nextIndex;\n    if (listener) {\n      listener({ action, location: history.location, delta });\n    }\n  }\n  function push(to, state) {\n    action = \"PUSH\" /* Push */;\n    let location = isLocation(to) ? to : createLocation(history.location, to, state);\n    if (validateLocation) validateLocation(location, to);\n    index = getIndex() + 1;\n    let historyState = getHistoryState(location, index);\n    let url = history.createHref(location.mask || location);\n    try {\n      globalHistory.pushState(historyState, \"\", url);\n    } catch (error) {\n      if (error instanceof DOMException && error.name === \"DataCloneError\") {\n        throw error;\n      }\n      window2.location.assign(url);\n    }\n    if (v5Compat && listener) {\n      listener({ action, location: history.location, delta: 1 });\n    }\n  }\n  function replace2(to, state) {\n    action = \"REPLACE\" /* Replace */;\n    let location = isLocation(to) ? to : createLocation(history.location, to, state);\n    if (validateLocation) validateLocation(location, to);\n    index = getIndex();\n    let historyState = getHistoryState(location, index);\n    let url = history.createHref(location.mask || location);\n    globalHistory.replaceState(historyState, \"\", url);\n    if (v5Compat && listener) {\n      listener({ action, location: history.location, delta: 0 });\n    }\n  }\n  function createURL(to) {\n    return createBrowserURLImpl(window2, to);\n  }\n  let history = {\n    get action() {\n      return action;\n    },\n    get location() {\n      return getLocation(window2, globalHistory);\n    },\n    listen(fn) {\n      if (listener) {\n        throw new Error(\"A history only accepts one active listener\");\n      }\n      window2.addEventListener(PopStateEventType, handlePop);\n      listener = fn;\n      return () => {\n        window2.removeEventListener(PopStateEventType, handlePop);\n        listener = null;\n      };\n    },\n    createHref(to) {\n      return createHref2(window2, to);\n    },\n    createURL,\n    encodeLocation(to) {\n      let url = createURL(to);\n      return {\n        pathname: url.pathname,\n        search: url.search,\n        hash: url.hash\n      };\n    },\n    push,\n    replace: replace2,\n    go(n) {\n      return globalHistory.go(n);\n    }\n  };\n  return history;\n}\nfunction createBrowserURLImpl(windowImpl, to, isAbsolute = false) {\n  let base = \"http://localhost\";\n  if (windowImpl) {\n    base = windowImpl.location.origin !== \"null\" ? windowImpl.location.origin : windowImpl.location.href;\n  }\n  invariant(base, \"No window.location.(origin|href) available to create URL\");\n  let href = typeof to === \"string\" ? to : createPath(to);\n  href = href.replace(/ $/, \"%20\");\n  if (!isAbsolute && PROTOCOL_RELATIVE_URL_REGEX.test(href)) {\n    href = base + href;\n  }\n  return new URL(href, base);\n}\n\n// lib/router/utils.ts\nfunction createContext(defaultValue) {\n  return { defaultValue };\n}\nvar _map;\nvar RouterContextProvider = class {\n  /**\n   * Create a new `RouterContextProvider` instance\n   * @param init An optional initial context map to populate the provider with\n   */\n  constructor(init) {\n    __privateAdd(this, _map, /* @__PURE__ */ new Map());\n    if (init) {\n      for (let [context, value] of init) {\n        this.set(context, value);\n      }\n    }\n  }\n  /**\n   * Access a value from the context. If no value has been set for the context,\n   * it will return the context's `defaultValue` if provided, or throw an error\n   * if no `defaultValue` was set.\n   * @param context The context to get the value for\n   * @returns The value for the context, or the context's `defaultValue` if no\n   * value was set\n   */\n  get(context) {\n    if (__privateGet(this, _map).has(context)) {\n      return __privateGet(this, _map).get(context);\n    }\n    if (context.defaultValue !== void 0) {\n      return context.defaultValue;\n    }\n    throw new Error(\"No value found for context\");\n  }\n  /**\n   * Set a value for the context. If the context already has a value set, this\n   * will overwrite it.\n   *\n   * @param context The context to set the value for\n   * @param value The value to set for the context\n   * @returns {void}\n   */\n  set(context, value) {\n    __privateGet(this, _map).set(context, value);\n  }\n};\n_map = new WeakMap();\nvar unsupportedLazyRouteObjectKeys = /* @__PURE__ */ new Set([\n  \"lazy\",\n  \"caseSensitive\",\n  \"path\",\n  \"id\",\n  \"index\",\n  \"children\"\n]);\nfunction isUnsupportedLazyRouteObjectKey(key) {\n  return unsupportedLazyRouteObjectKeys.has(\n    key\n  );\n}\nvar unsupportedLazyRouteFunctionKeys = /* @__PURE__ */ new Set([\n  \"lazy\",\n  \"caseSensitive\",\n  \"path\",\n  \"id\",\n  \"index\",\n  \"middleware\",\n  \"children\"\n]);\nfunction isUnsupportedLazyRouteFunctionKey(key) {\n  return unsupportedLazyRouteFunctionKeys.has(\n    key\n  );\n}\nfunction isIndexRoute(route) {\n  return route.index === true;\n}\nfunction convertRoutesToDataRoutes(routes, mapRouteProperties2, parentPath = [], manifest = {}, allowInPlaceMutations = false) {\n  return routes.map((route, index) => {\n    let treePath = [...parentPath, String(index)];\n    let id = typeof route.id === \"string\" ? route.id : treePath.join(\"-\");\n    invariant(\n      route.index !== true || !route.children,\n      `Cannot specify children on an index route`\n    );\n    invariant(\n      allowInPlaceMutations || !manifest[id],\n      `Found a route id collision on id \"${id}\".  Route id's must be globally unique within Data Router usages`\n    );\n    if (isIndexRoute(route)) {\n      let indexRoute = {\n        ...route,\n        id\n      };\n      manifest[id] = mergeRouteUpdates(\n        indexRoute,\n        mapRouteProperties2(indexRoute)\n      );\n      return indexRoute;\n    } else {\n      let pathOrLayoutRoute = {\n        ...route,\n        id,\n        children: void 0\n      };\n      manifest[id] = mergeRouteUpdates(\n        pathOrLayoutRoute,\n        mapRouteProperties2(pathOrLayoutRoute)\n      );\n      if (route.children) {\n        pathOrLayoutRoute.children = convertRoutesToDataRoutes(\n          route.children,\n          mapRouteProperties2,\n          treePath,\n          manifest,\n          allowInPlaceMutations\n        );\n      }\n      return pathOrLayoutRoute;\n    }\n  });\n}\nfunction mergeRouteUpdates(route, updates) {\n  return Object.assign(route, {\n    ...updates,\n    ...typeof updates.lazy === \"object\" && updates.lazy != null ? {\n      lazy: {\n        ...route.lazy,\n        ...updates.lazy\n      }\n    } : {}\n  });\n}\nfunction matchRoutes(routes, locationArg, basename = \"/\") {\n  return matchRoutesImpl(routes, locationArg, basename, false);\n}\nfunction matchRoutesImpl(routes, locationArg, basename, allowPartial, precomputedBranches) {\n  let location = typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n  let pathname = stripBasename(location.pathname || \"/\", basename);\n  if (pathname == null) {\n    return null;\n  }\n  let branches = precomputedBranches ?? flattenAndRankRoutes(routes);\n  let matches = null;\n  let decoded = decodePath(pathname);\n  for (let i = 0; matches == null && i < branches.length; ++i) {\n    matches = matchRouteBranch(\n      branches[i],\n      decoded,\n      allowPartial\n    );\n  }\n  return matches;\n}\nfunction convertRouteMatchToUiMatch(match, loaderData) {\n  let { route, pathname, params } = match;\n  return {\n    id: route.id,\n    pathname,\n    params,\n    data: loaderData[route.id],\n    loaderData: loaderData[route.id],\n    handle: route.handle\n  };\n}\nfunction flattenAndRankRoutes(routes) {\n  let branches = flattenRoutes(routes);\n  rankRouteBranches(branches);\n  return branches;\n}\nfunction flattenRoutes(routes, branches = [], parentsMeta = [], parentPath = \"\", _hasParentOptionalSegments = false) {\n  let flattenRoute = (route, index, hasParentOptionalSegments = _hasParentOptionalSegments, relativePath) => {\n    let meta = {\n      relativePath: relativePath === void 0 ? route.path || \"\" : relativePath,\n      caseSensitive: route.caseSensitive === true,\n      childrenIndex: index,\n      route\n    };\n    if (meta.relativePath.startsWith(\"/\")) {\n      if (!meta.relativePath.startsWith(parentPath) && hasParentOptionalSegments) {\n        return;\n      }\n      invariant(\n        meta.relativePath.startsWith(parentPath),\n        `Absolute route path \"${meta.relativePath}\" nested under path \"${parentPath}\" is not valid. An absolute child route path must start with the combined path of all its parent routes.`\n      );\n      meta.relativePath = meta.relativePath.slice(parentPath.length);\n    }\n    let path = joinPaths([parentPath, meta.relativePath]);\n    let routesMeta = parentsMeta.concat(meta);\n    if (route.children && route.children.length > 0) {\n      invariant(\n        // Our types know better, but runtime JS may not!\n        // @ts-expect-error\n        route.index !== true,\n        `Index routes must not have child routes. Please remove all child routes from route path \"${path}\".`\n      );\n      flattenRoutes(\n        route.children,\n        branches,\n        routesMeta,\n        path,\n        hasParentOptionalSegments\n      );\n    }\n    if (route.path == null && !route.index) {\n      return;\n    }\n    branches.push({\n      path,\n      score: computeScore(path, route.index),\n      routesMeta: routesMeta.map((meta2, i) => {\n        let [matcher, params] = compilePath(\n          meta2.relativePath,\n          meta2.caseSensitive,\n          i === routesMeta.length - 1\n        );\n        return {\n          ...meta2,\n          matcher,\n          compiledParams: params\n        };\n      })\n    });\n  };\n  routes.forEach((route, index) => {\n    if (route.path === \"\" || !route.path?.includes(\"?\")) {\n      flattenRoute(route, index);\n    } else {\n      for (let exploded of explodeOptionalSegments(route.path)) {\n        flattenRoute(route, index, true, exploded);\n      }\n    }\n  });\n  return branches;\n}\nfunction explodeOptionalSegments(path) {\n  let segments = path.split(\"/\");\n  if (segments.length === 0) return [];\n  let [first, ...rest] = segments;\n  let isOptional = first.endsWith(\"?\");\n  let required = first.replace(/\\?$/, \"\");\n  if (rest.length === 0) {\n    return isOptional ? [required, \"\"] : [required];\n  }\n  let restExploded = explodeOptionalSegments(rest.join(\"/\"));\n  let result = [];\n  result.push(\n    ...restExploded.map(\n      (subpath) => subpath === \"\" ? required : [required, subpath].join(\"/\")\n    )\n  );\n  if (isOptional) {\n    result.push(...restExploded);\n  }\n  return result.map(\n    (exploded) => path.startsWith(\"/\") && exploded === \"\" ? \"/\" : exploded\n  );\n}\nfunction rankRouteBranches(branches) {\n  branches.sort(\n    (a, b) => a.score !== b.score ? b.score - a.score : compareIndexes(\n      a.routesMeta.map((meta) => meta.childrenIndex),\n      b.routesMeta.map((meta) => meta.childrenIndex)\n    )\n  );\n}\nvar paramRe = /^:[\\w-]+$/;\nvar dynamicSegmentValue = 3;\nvar indexRouteValue = 2;\nvar emptySegmentValue = 1;\nvar staticSegmentValue = 10;\nvar splatPenalty = -2;\nvar isSplat = (s) => s === \"*\";\nfunction computeScore(path, index) {\n  let segments = path.split(\"/\");\n  let initialScore = segments.length;\n  if (segments.some(isSplat)) {\n    initialScore += splatPenalty;\n  }\n  if (index) {\n    initialScore += indexRouteValue;\n  }\n  return segments.filter((s) => !isSplat(s)).reduce(\n    (score, segment) => score + (paramRe.test(segment) ? dynamicSegmentValue : segment === \"\" ? emptySegmentValue : staticSegmentValue),\n    initialScore\n  );\n}\nfunction compareIndexes(a, b) {\n  let siblings = a.length === b.length && a.slice(0, -1).every((n, i) => n === b[i]);\n  return siblings ? (\n    // If two routes are siblings, we should try to match the earlier sibling\n    // first. This allows people to have fine-grained control over the matching\n    // behavior by simply putting routes with identical paths in the order they\n    // want them tried.\n    a[a.length - 1] - b[b.length - 1]\n  ) : (\n    // Otherwise, it doesn't really make sense to rank non-siblings by index,\n    // so they sort equally.\n    0\n  );\n}\nfunction matchRouteBranch(branch, pathname, allowPartial = false) {\n  let { routesMeta } = branch;\n  let matchedParams = {};\n  let matchedPathname = \"/\";\n  let matches = [];\n  for (let i = 0; i < routesMeta.length; ++i) {\n    let meta = routesMeta[i];\n    let end = i === routesMeta.length - 1;\n    let remainingPathname = matchedPathname === \"/\" ? pathname : pathname.slice(matchedPathname.length) || \"/\";\n    let pattern = {\n      path: meta.relativePath,\n      caseSensitive: meta.caseSensitive,\n      end\n    };\n    let match = (\n      // Use precomputed matcher if it exists\n      meta.matcher && meta.compiledParams ? matchPathImpl(\n        pattern,\n        remainingPathname,\n        meta.matcher,\n        meta.compiledParams\n      ) : matchPath(pattern, remainingPathname)\n    );\n    let route = meta.route;\n    if (!match && end && allowPartial && !routesMeta[routesMeta.length - 1].route.index) {\n      match = matchPath(\n        {\n          path: meta.relativePath,\n          caseSensitive: meta.caseSensitive,\n          end: false\n        },\n        remainingPathname\n      );\n    }\n    if (!match) {\n      return null;\n    }\n    Object.assign(matchedParams, match.params);\n    matches.push({\n      // TODO: Can this as be avoided?\n      params: matchedParams,\n      pathname: joinPaths([matchedPathname, match.pathname]),\n      pathnameBase: normalizePathname(\n        joinPaths([matchedPathname, match.pathnameBase])\n      ),\n      route\n    });\n    if (match.pathnameBase !== \"/\") {\n      matchedPathname = joinPaths([matchedPathname, match.pathnameBase]);\n    }\n  }\n  return matches;\n}\nfunction generatePath(originalPath, params = {}) {\n  let path = originalPath;\n  if (path.endsWith(\"*\") && path !== \"*\" && !path.endsWith(\"/*\")) {\n    warning(\n      false,\n      `Route path \"${path}\" will be treated as if it were \"${path.replace(/\\*$/, \"/*\")}\" because the \\`*\\` character must always follow a \\`/\\` in the pattern. To get rid of this warning, please change the route path to \"${path.replace(/\\*$/, \"/*\")}\".`\n    );\n    path = path.replace(/\\*$/, \"/*\");\n  }\n  const prefix = path.startsWith(\"/\") ? \"/\" : \"\";\n  const stringify2 = (p) => p == null ? \"\" : typeof p === \"string\" ? p : String(p);\n  const segments = path.split(/\\/+/).map((segment, index, array) => {\n    const isLastSegment = index === array.length - 1;\n    if (isLastSegment && segment === \"*\") {\n      return stringify2(params[\"*\"]);\n    }\n    const keyMatch = segment.match(/^:([\\w-]+)(\\??)(.*)/);\n    if (keyMatch) {\n      const [, key, optional, suffix] = keyMatch;\n      let param = params[key];\n      invariant(optional === \"?\" || param != null, `Missing \":${key}\" param`);\n      return encodeURIComponent(stringify2(param)) + suffix;\n    }\n    return segment.replace(/\\?$/g, \"\");\n  }).filter((segment) => !!segment);\n  return prefix + segments.join(\"/\");\n}\nfunction matchPath(pattern, pathname) {\n  if (typeof pattern === \"string\") {\n    pattern = { path: pattern, caseSensitive: false, end: true };\n  }\n  let [matcher, compiledParams] = compilePath(\n    pattern.path,\n    pattern.caseSensitive,\n    pattern.end\n  );\n  return matchPathImpl(pattern, pathname, matcher, compiledParams);\n}\nfunction matchPathImpl(pattern, pathname, matcher, compiledParams) {\n  let match = pathname.match(matcher);\n  if (!match) return null;\n  let matchedPathname = match[0];\n  let pathnameBase = removeTrailingSlash(matchedPathname, 1);\n  let captureGroups = match.slice(1);\n  let params = compiledParams.reduce(\n    (memo2, { paramName, isOptional }, index) => {\n      if (paramName === \"*\") {\n        let splatValue = captureGroups[index] || \"\";\n        pathnameBase = removeTrailingSlash(\n          matchedPathname.slice(0, matchedPathname.length - splatValue.length),\n          1\n        );\n      }\n      const value = captureGroups[index];\n      if (isOptional && !value) {\n        memo2[paramName] = void 0;\n      } else {\n        memo2[paramName] = (value || \"\").replace(/%2F/g, \"/\");\n      }\n      return memo2;\n    },\n    {}\n  );\n  return {\n    params,\n    pathname: matchedPathname,\n    pathnameBase,\n    pattern\n  };\n}\nfunction compilePath(path, caseSensitive = false, end = true) {\n  warning(\n    path === \"*\" || !path.endsWith(\"*\") || path.endsWith(\"/*\"),\n    `Route path \"${path}\" will be treated as if it were \"${path.replace(/\\*$/, \"/*\")}\" because the \\`*\\` character must always follow a \\`/\\` in the pattern. To get rid of this warning, please change the route path to \"${path.replace(/\\*$/, \"/*\")}\".`\n  );\n  let params = [];\n  let regexpSource = \"^\" + path.replace(/\\/*\\*?$/, \"\").replace(/^\\/*/, \"/\").replace(/[\\\\.*+^${}|()[\\]]/g, \"\\\\$&\").replace(\n    /\\/:([\\w-]+)(\\?)?/g,\n    (match, paramName, isOptional, index, str) => {\n      params.push({ paramName, isOptional: isOptional != null });\n      if (isOptional) {\n        let nextChar = str.charAt(index + match.length);\n        if (nextChar && nextChar !== \"/\") {\n          return \"/([^\\\\/]*)\";\n        }\n        return \"(?:/([^\\\\/]*))?\";\n      }\n      return \"/([^\\\\/]+)\";\n    }\n  ).replace(/\\/([\\w-]+)\\?(\\/|$)/g, \"(/$1)?$2\");\n  if (path.endsWith(\"*\")) {\n    params.push({ paramName: \"*\" });\n    regexpSource += path === \"*\" || path === \"/*\" ? \"(.*)$\" : \"(?:\\\\/(.+)|\\\\/*)$\";\n  } else if (end) {\n    regexpSource += \"\\\\/*$\";\n  } else if (path !== \"\" && path !== \"/\") {\n    regexpSource += \"(?:(?=\\\\/|$))\";\n  } else {\n  }\n  let matcher = new RegExp(regexpSource, caseSensitive ? void 0 : \"i\");\n  return [matcher, params];\n}\nfunction decodePath(value) {\n  try {\n    return value.split(\"/\").map((v) => decodeURIComponent(v).replace(/\\//g, \"%2F\")).join(\"/\");\n  } catch (error) {\n    warning(\n      false,\n      `The URL path \"${value}\" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${error}).`\n    );\n    return value;\n  }\n}\nfunction stripBasename(pathname, basename) {\n  if (basename === \"/\") return pathname;\n  if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) {\n    return null;\n  }\n  let startIndex = basename.endsWith(\"/\") ? basename.length - 1 : basename.length;\n  let nextChar = pathname.charAt(startIndex);\n  if (nextChar && nextChar !== \"/\") {\n    return null;\n  }\n  return pathname.slice(startIndex) || \"/\";\n}\nfunction prependBasename({\n  basename,\n  pathname\n}) {\n  return pathname === \"/\" ? basename : joinPaths([basename, pathname]);\n}\nvar isAbsoluteUrl = (url) => ABSOLUTE_URL_REGEX.test(url);\nfunction resolvePath(to, fromPathname = \"/\") {\n  let {\n    pathname: toPathname,\n    search = \"\",\n    hash = \"\"\n  } = typeof to === \"string\" ? parsePath(to) : to;\n  let pathname;\n  if (toPathname) {\n    toPathname = removeDoubleSlashes(toPathname);\n    if (toPathname.startsWith(\"/\") || toPathname.startsWith(\"\\\\\")) {\n      pathname = resolvePathname(toPathname.substring(1), \"/\");\n    } else {\n      pathname = resolvePathname(toPathname, fromPathname);\n    }\n  } else {\n    pathname = fromPathname;\n  }\n  return {\n    pathname,\n    search: normalizeSearch(search),\n    hash: normalizeHash(hash)\n  };\n}\nfunction resolvePathname(relativePath, fromPathname) {\n  let segments = removeTrailingSlash(fromPathname).split(\"/\");\n  let relativeSegments = relativePath.split(\"/\");\n  relativeSegments.forEach((segment) => {\n    if (segment === \"..\") {\n      if (segments.length > 1) segments.pop();\n    } else if (segment !== \".\") {\n      segments.push(segment);\n    }\n  });\n  return segments.length > 1 ? segments.join(\"/\") : \"/\";\n}\nfunction getInvalidPathError(char, field, dest, path) {\n  return `Cannot include a '${char}' character in a manually specified \\`to.${field}\\` field [${JSON.stringify(\n    path\n  )}].  Please separate it out to the \\`to.${dest}\\` field. Alternatively you may provide the full path as a string in <Link to=\"...\"> and the router will parse it for you.`;\n}\nfunction getPathContributingMatches(matches) {\n  return matches.filter(\n    (match, index) => index === 0 || match.route.path && match.route.path.length > 0\n  );\n}\nfunction getResolveToMatches(matches) {\n  let pathMatches = getPathContributingMatches(matches);\n  return pathMatches.map(\n    (match, idx) => idx === pathMatches.length - 1 ? match.pathname : match.pathnameBase\n  );\n}\nfunction resolveTo(toArg, routePathnames, locationPathname, isPathRelative = false) {\n  let to;\n  if (typeof toArg === \"string\") {\n    to = parsePath(toArg);\n  } else {\n    to = { ...toArg };\n    invariant(\n      !to.pathname || !to.pathname.includes(\"?\"),\n      getInvalidPathError(\"?\", \"pathname\", \"search\", to)\n    );\n    invariant(\n      !to.pathname || !to.pathname.includes(\"#\"),\n      getInvalidPathError(\"#\", \"pathname\", \"hash\", to)\n    );\n    invariant(\n      !to.search || !to.search.includes(\"#\"),\n      getInvalidPathError(\"#\", \"search\", \"hash\", to)\n    );\n  }\n  let isEmptyPath = toArg === \"\" || to.pathname === \"\";\n  let toPathname = isEmptyPath ? \"/\" : to.pathname;\n  let from;\n  if (toPathname == null) {\n    from = locationPathname;\n  } else {\n    let routePathnameIndex = routePathnames.length - 1;\n    if (!isPathRelative && toPathname.startsWith(\"..\")) {\n      let toSegments = toPathname.split(\"/\");\n      while (toSegments[0] === \"..\") {\n        toSegments.shift();\n        routePathnameIndex -= 1;\n      }\n      to.pathname = toSegments.join(\"/\");\n    }\n    from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : \"/\";\n  }\n  let path = resolvePath(to, from);\n  let hasExplicitTrailingSlash = toPathname && toPathname !== \"/\" && toPathname.endsWith(\"/\");\n  let hasCurrentTrailingSlash = (isEmptyPath || toPathname === \".\") && locationPathname.endsWith(\"/\");\n  if (!path.pathname.endsWith(\"/\") && (hasExplicitTrailingSlash || hasCurrentTrailingSlash)) {\n    path.pathname += \"/\";\n  }\n  return path;\n}\nvar removeDoubleSlashes = (path) => path.replace(/[\\\\/]{2,}/g, \"/\");\nvar joinPaths = (paths) => removeDoubleSlashes(paths.join(\"/\"));\nfunction removeTrailingSlash(path, minLength = 0) {\n  let end = path.length;\n  while (end > minLength && path.charCodeAt(end - 1) === 47) {\n    end--;\n  }\n  return end === path.length ? path : path.slice(0, end);\n}\nvar normalizePathname = (pathname) => removeTrailingSlash(pathname).replace(/^\\/*/, \"/\");\nvar normalizeSearch = (search) => !search || search === \"?\" ? \"\" : search.startsWith(\"?\") ? search : \"?\" + search;\nvar normalizeHash = (hash) => !hash || hash === \"#\" ? \"\" : hash.startsWith(\"#\") ? hash : \"#\" + hash;\nvar DataWithResponseInit = class {\n  constructor(data2, init) {\n    this.type = \"DataWithResponseInit\";\n    this.data = data2;\n    this.init = init || null;\n  }\n};\nfunction data(data2, init) {\n  return new DataWithResponseInit(\n    data2,\n    typeof init === \"number\" ? { status: init } : init\n  );\n}\nvar redirect = (url, init = 302) => {\n  let responseInit = init;\n  if (typeof responseInit === \"number\") {\n    responseInit = { status: responseInit };\n  } else if (typeof responseInit.status === \"undefined\") {\n    responseInit.status = 302;\n  }\n  let headers = new Headers(responseInit.headers);\n  headers.set(\"Location\", url);\n  return new Response(null, { ...responseInit, headers });\n};\nvar redirectDocument = (url, init) => {\n  let response = redirect(url, init);\n  response.headers.set(\"X-Remix-Reload-Document\", \"true\");\n  return response;\n};\nvar replace = (url, init) => {\n  let response = redirect(url, init);\n  response.headers.set(\"X-Remix-Replace\", \"true\");\n  return response;\n};\nvar SUPPORTED_ERROR_TYPES = [\n  \"EvalError\",\n  \"RangeError\",\n  \"ReferenceError\",\n  \"SyntaxError\",\n  \"TypeError\",\n  \"URIError\"\n];\nvar ErrorResponseImpl = class {\n  constructor(status, statusText, data2, internal = false) {\n    this.status = status;\n    this.statusText = statusText || \"\";\n    this.internal = internal;\n    if (data2 instanceof Error) {\n      this.data = data2.toString();\n      this.error = data2;\n    } else {\n      this.data = data2;\n    }\n  }\n};\nfunction isRouteErrorResponse(error) {\n  return error != null && typeof error.status === \"number\" && typeof error.statusText === \"string\" && typeof error.internal === \"boolean\" && \"data\" in error;\n}\nfunction getRoutePattern(matches) {\n  let parts = matches.map((m) => m.route.path).filter(Boolean);\n  return joinPaths(parts) || \"/\";\n}\nvar isBrowser = typeof window !== \"undefined\" && typeof window.document !== \"undefined\" && typeof window.document.createElement !== \"undefined\";\nfunction parseToInfo(_to, basename) {\n  let to = _to;\n  if (typeof to !== \"string\" || !ABSOLUTE_URL_REGEX.test(to)) {\n    return {\n      absoluteURL: void 0,\n      isExternal: false,\n      to\n    };\n  }\n  let absoluteURL = to;\n  let isExternal = false;\n  if (isBrowser) {\n    try {\n      let currentUrl = new URL(window.location.href);\n      let targetUrl = PROTOCOL_RELATIVE_URL_REGEX.test(to) ? new URL(normalizeProtocolRelativeUrl(to, currentUrl.protocol)) : new URL(to);\n      let path = stripBasename(targetUrl.pathname, basename);\n      if (targetUrl.origin === currentUrl.origin && path != null) {\n        to = path + targetUrl.search + targetUrl.hash;\n      } else {\n        isExternal = true;\n      }\n    } catch (e) {\n      warning(\n        false,\n        `<Link to=\"${to}\"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`\n      );\n    }\n  }\n  return {\n    absoluteURL,\n    isExternal,\n    to\n  };\n}\n\n// lib/router/instrumentation.ts\nvar UninstrumentedSymbol = Symbol(\"Uninstrumented\");\nfunction getRouteInstrumentationUpdates(fns, route) {\n  let aggregated = {\n    lazy: [],\n    \"lazy.loader\": [],\n    \"lazy.action\": [],\n    \"lazy.middleware\": [],\n    middleware: [],\n    loader: [],\n    action: []\n  };\n  fns.forEach(\n    (fn) => fn({\n      id: route.id,\n      index: route.index,\n      path: route.path,\n      instrument(i) {\n        let keys = Object.keys(aggregated);\n        for (let key of keys) {\n          if (i[key]) {\n            aggregated[key].push(i[key]);\n          }\n        }\n      }\n    })\n  );\n  let updates = {};\n  if (typeof route.lazy === \"function\" && aggregated.lazy.length > 0) {\n    let instrumented = wrapImpl(aggregated.lazy, route.lazy, () => void 0);\n    if (instrumented) {\n      updates.lazy = instrumented;\n    }\n  }\n  if (typeof route.lazy === \"object\") {\n    let lazyObject = route.lazy;\n    [\"middleware\", \"loader\", \"action\"].forEach((key) => {\n      let lazyFn = lazyObject[key];\n      let instrumentations = aggregated[`lazy.${key}`];\n      if (typeof lazyFn === \"function\" && instrumentations.length > 0) {\n        let instrumented = wrapImpl(instrumentations, lazyFn, () => void 0);\n        if (instrumented) {\n          updates.lazy = Object.assign(updates.lazy || {}, {\n            [key]: instrumented\n          });\n        }\n      }\n    });\n  }\n  [\"loader\", \"action\"].forEach((key) => {\n    let handler = route[key];\n    if (typeof handler === \"function\" && aggregated[key].length > 0) {\n      let original = handler[UninstrumentedSymbol] ?? handler;\n      let instrumented = wrapImpl(\n        aggregated[key],\n        original,\n        (...args) => getHandlerInfo(args[0])\n      );\n      if (instrumented) {\n        if (key === \"loader\" && original.hydrate === true) {\n          instrumented.hydrate = true;\n        }\n        instrumented[UninstrumentedSymbol] = original;\n        updates[key] = instrumented;\n      }\n    }\n  });\n  if (route.middleware && route.middleware.length > 0 && aggregated.middleware.length > 0) {\n    updates.middleware = route.middleware.map((middleware) => {\n      let original = middleware[UninstrumentedSymbol] ?? middleware;\n      let instrumented = wrapImpl(\n        aggregated.middleware,\n        original,\n        (...args) => getHandlerInfo(args[0])\n      );\n      if (instrumented) {\n        instrumented[UninstrumentedSymbol] = original;\n        return instrumented;\n      }\n      return middleware;\n    });\n  }\n  return updates;\n}\nfunction instrumentClientSideRouter(router, fns) {\n  let aggregated = {\n    navigate: [],\n    fetch: []\n  };\n  fns.forEach(\n    (fn) => fn({\n      instrument(i) {\n        let keys = Object.keys(i);\n        for (let key of keys) {\n          if (i[key]) {\n            aggregated[key].push(i[key]);\n          }\n        }\n      }\n    })\n  );\n  if (aggregated.navigate.length > 0) {\n    let navigate = router.navigate[UninstrumentedSymbol] ?? router.navigate;\n    let instrumentedNavigate = wrapImpl(\n      aggregated.navigate,\n      navigate,\n      (...args) => {\n        let [to, opts] = args;\n        return {\n          to: typeof to === \"number\" || typeof to === \"string\" ? to : to ? createPath(to) : \".\",\n          ...getRouterInfo(router, opts ?? {})\n        };\n      }\n    );\n    if (instrumentedNavigate) {\n      instrumentedNavigate[UninstrumentedSymbol] = navigate;\n      router.navigate = instrumentedNavigate;\n    }\n  }\n  if (aggregated.fetch.length > 0) {\n    let fetch2 = router.fetch[UninstrumentedSymbol] ?? router.fetch;\n    let instrumentedFetch = wrapImpl(aggregated.fetch, fetch2, (...args) => {\n      let [key, , href, opts] = args;\n      return {\n        href: href ?? \".\",\n        fetcherKey: key,\n        ...getRouterInfo(router, opts ?? {})\n      };\n    });\n    if (instrumentedFetch) {\n      instrumentedFetch[UninstrumentedSymbol] = fetch2;\n      router.fetch = instrumentedFetch;\n    }\n  }\n  return router;\n}\nfunction instrumentHandler(handler, fns) {\n  let aggregated = {\n    request: []\n  };\n  fns.forEach(\n    (fn) => fn({\n      instrument(i) {\n        let keys = Object.keys(i);\n        for (let key of keys) {\n          if (i[key]) {\n            aggregated[key].push(i[key]);\n          }\n        }\n      }\n    })\n  );\n  let instrumentedHandler = handler;\n  if (aggregated.request.length > 0) {\n    instrumentedHandler = wrapImpl(aggregated.request, handler, (...args) => {\n      let [request, context] = args;\n      return {\n        request: getReadonlyRequest(request),\n        context: context != null ? getReadonlyContext(context) : context\n      };\n    });\n  }\n  return instrumentedHandler;\n}\nfunction wrapImpl(impls, handler, getInfo) {\n  if (impls.length === 0) {\n    return null;\n  }\n  return async (...args) => {\n    let result = await recurseRight(\n      impls,\n      getInfo(...args),\n      () => handler(...args),\n      impls.length - 1\n    );\n    if (result.type === \"error\") {\n      throw result.value;\n    }\n    return result.value;\n  };\n}\nasync function recurseRight(impls, info, handler, index) {\n  let impl = impls[index];\n  let result;\n  if (!impl) {\n    try {\n      let value = await handler();\n      result = { type: \"success\", value };\n    } catch (e) {\n      result = { type: \"error\", value: e };\n    }\n  } else {\n    let handlerPromise = void 0;\n    let callHandler = async () => {\n      if (handlerPromise) {\n        console.error(\"You cannot call instrumented handlers more than once\");\n      } else {\n        handlerPromise = recurseRight(impls, info, handler, index - 1);\n      }\n      result = await handlerPromise;\n      invariant(result, \"Expected a result\");\n      if (result.type === \"error\" && result.value instanceof Error) {\n        return { status: \"error\", error: result.value };\n      }\n      return { status: \"success\", error: void 0 };\n    };\n    try {\n      await impl(callHandler, info);\n    } catch (e) {\n      console.error(\"An instrumentation function threw an error:\", e);\n    }\n    if (!handlerPromise) {\n      await callHandler();\n    }\n    await handlerPromise;\n  }\n  if (result) {\n    return result;\n  }\n  return {\n    type: \"error\",\n    value: new Error(\"No result assigned in instrumentation chain.\")\n  };\n}\nfunction getHandlerInfo(args) {\n  let { request, context, params, pattern } = args;\n  return {\n    request: getReadonlyRequest(request),\n    params: { ...params },\n    pattern,\n    context: getReadonlyContext(context)\n  };\n}\nfunction getRouterInfo(router, opts) {\n  return {\n    currentUrl: createPath(router.state.location),\n    ...\"formMethod\" in opts ? { formMethod: opts.formMethod } : {},\n    ...\"formEncType\" in opts ? { formEncType: opts.formEncType } : {},\n    ...\"formData\" in opts ? { formData: opts.formData } : {},\n    ...\"body\" in opts ? { body: opts.body } : {}\n  };\n}\nfunction getReadonlyRequest(request) {\n  return {\n    method: request.method,\n    url: request.url,\n    headers: {\n      get: (...args) => request.headers.get(...args)\n    }\n  };\n}\nfunction getReadonlyContext(context) {\n  if (isPlainObject(context)) {\n    let frozen = { ...context };\n    Object.freeze(frozen);\n    return frozen;\n  } else {\n    return {\n      get: (ctx) => context.get(ctx)\n    };\n  }\n}\nvar objectProtoNames = Object.getOwnPropertyNames(Object.prototype).sort().join(\"\\0\");\nfunction isPlainObject(thing) {\n  if (thing === null || typeof thing !== \"object\") {\n    return false;\n  }\n  const proto = Object.getPrototypeOf(thing);\n  return proto === Object.prototype || proto === null || Object.getOwnPropertyNames(proto).sort().join(\"\\0\") === objectProtoNames;\n}\n\n// lib/router/navigation.ts\nvar DEFAULT_NAVIGATION_URL = new URL(\"http://localhost\");\nfunction getNavigatorCurrentUrl(navigator) {\n  if (navigator.createURL) {\n    return navigator.createURL(\"/\");\n  }\n  try {\n    return new URL(navigator.createHref(\"/\"), DEFAULT_NAVIGATION_URL);\n  } catch {\n    return DEFAULT_NAVIGATION_URL;\n  }\n}\nfunction isSameOrigin(a, b) {\n  return a.origin === b.origin && (a.origin !== \"null\" || a.protocol === b.protocol && a.host === b.host);\n}\nfunction isExplicitUrl(destination, target) {\n  if (destination.startsWith(\"//\")) {\n    return true;\n  }\n  let protocol = target.protocol.toLowerCase();\n  if (!destination.toLowerCase().startsWith(protocol)) {\n    return false;\n  }\n  return target.host === \"\" || destination.slice(protocol.length).startsWith(\"//\");\n}\nfunction validateNavigationTarget(original, resolved, currentUrl, externalPolicy) {\n  let originalUrl = null;\n  try {\n    originalUrl = original == null ? null : new URL(original, currentUrl);\n  } catch {\n  }\n  let resolvedUrl = new URL(resolved, currentUrl);\n  let originalIsExternal = originalUrl != null && !isSameOrigin(originalUrl, currentUrl);\n  let resolvedIsExternal = !isSameOrigin(resolvedUrl, currentUrl);\n  if (externalPolicy === \"reject\") {\n    if (originalIsExternal || resolvedIsExternal) {\n      throw new Error(\"External navigation is not allowed\");\n    }\n  } else if (resolvedIsExternal) {\n    if (originalUrl == null || !isExplicitUrl(original, originalUrl) || !isSameOrigin(originalUrl, resolvedUrl)) {\n      throw new Error(\"External navigation is not allowed\");\n    }\n  }\n}\n\n// lib/router/router.ts\nvar validMutationMethodsArr = [\n  \"POST\",\n  \"PUT\",\n  \"PATCH\",\n  \"DELETE\"\n];\nvar validMutationMethods = new Set(\n  validMutationMethodsArr\n);\nvar validRequestMethodsArr = [\n  \"GET\",\n  ...validMutationMethodsArr\n];\nvar validRequestMethods = new Set(validRequestMethodsArr);\nvar redirectStatusCodes = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);\nvar redirectPreserveMethodStatusCodes = /* @__PURE__ */ new Set([307, 308]);\nvar IDLE_NAVIGATION = {\n  state: \"idle\",\n  location: void 0,\n  matches: void 0,\n  historyAction: void 0,\n  formMethod: void 0,\n  formAction: void 0,\n  formEncType: void 0,\n  formData: void 0,\n  json: void 0,\n  text: void 0\n};\nvar IDLE_FETCHER = {\n  state: \"idle\",\n  data: void 0,\n  formMethod: void 0,\n  formAction: void 0,\n  formEncType: void 0,\n  formData: void 0,\n  json: void 0,\n  text: void 0\n};\nvar IDLE_BLOCKER = {\n  state: \"unblocked\",\n  proceed: void 0,\n  reset: void 0,\n  location: void 0\n};\nvar defaultMapRouteProperties = (route) => ({\n  hasErrorBoundary: Boolean(route.hasErrorBoundary)\n});\nvar TRANSITIONS_STORAGE_KEY = \"remix-router-transitions\";\nvar ResetLoaderDataSymbol = Symbol(\"ResetLoaderData\");\nvar _routes, _branches, _hmrRoutes, _hmrBranches;\nvar DataRoutes = class {\n  constructor(routes) {\n    __privateAdd(this, _routes);\n    __privateAdd(this, _branches);\n    __privateAdd(this, _hmrRoutes);\n    __privateAdd(this, _hmrBranches);\n    __privateSet(this, _routes, routes);\n    __privateSet(this, _branches, flattenAndRankRoutes(routes));\n  }\n  /** The stable route tree */\n  get stableRoutes() {\n    return __privateGet(this, _routes);\n  }\n  /** The in-flight route tree if one is active, otherwise the stable tree */\n  get activeRoutes() {\n    return __privateGet(this, _hmrRoutes) ?? __privateGet(this, _routes);\n  }\n  /** Pre-computed branches */\n  get branches() {\n    return __privateGet(this, _hmrBranches) ?? __privateGet(this, _branches);\n  }\n  get hasHMRRoutes() {\n    return __privateGet(this, _hmrRoutes) != null;\n  }\n  /** Replace the stable route tree and recompute its branches */\n  setRoutes(routes) {\n    __privateSet(this, _routes, routes);\n    __privateSet(this, _branches, flattenAndRankRoutes(routes));\n  }\n  /** Set a new in-flight route tree and recompute its branches */\n  setHmrRoutes(routes) {\n    __privateSet(this, _hmrRoutes, routes);\n    __privateSet(this, _hmrBranches, flattenAndRankRoutes(routes));\n  }\n  /** Commit in-flight routes/branches to the stable slot and clear in-flight */\n  commitHmrRoutes() {\n    if (__privateGet(this, _hmrRoutes)) {\n      __privateSet(this, _routes, __privateGet(this, _hmrRoutes));\n      __privateSet(this, _branches, __privateGet(this, _hmrBranches));\n      __privateSet(this, _hmrRoutes, void 0);\n      __privateSet(this, _hmrBranches, void 0);\n    }\n  }\n};\n_routes = new WeakMap();\n_branches = new WeakMap();\n_hmrRoutes = new WeakMap();\n_hmrBranches = new WeakMap();\nfunction createRouter(init) {\n  const routerWindow = init.window ? init.window : typeof window !== \"undefined\" ? window : void 0;\n  const isBrowser3 = typeof routerWindow !== \"undefined\" && typeof routerWindow.document !== \"undefined\" && typeof routerWindow.document.createElement !== \"undefined\";\n  invariant(\n    init.routes.length > 0,\n    \"You must provide a non-empty routes array to createRouter\"\n  );\n  let hydrationRouteProperties2 = init.hydrationRouteProperties || [];\n  let _mapRouteProperties = init.mapRouteProperties || defaultMapRouteProperties;\n  let mapRouteProperties2 = _mapRouteProperties;\n  if (init.instrumentations) {\n    let instrumentations = init.instrumentations;\n    mapRouteProperties2 = (route) => {\n      return {\n        ..._mapRouteProperties(route),\n        ...getRouteInstrumentationUpdates(\n          instrumentations.map((i) => i.route).filter(Boolean),\n          route\n        )\n      };\n    };\n  }\n  let manifest = {};\n  let dataRoutes = new DataRoutes(\n    convertRoutesToDataRoutes(\n      init.routes,\n      mapRouteProperties2,\n      void 0,\n      manifest\n    )\n  );\n  let basename = init.basename || \"/\";\n  if (!basename.startsWith(\"/\")) {\n    basename = `/${basename}`;\n  }\n  let dataStrategyImpl = init.dataStrategy || defaultDataStrategyWithMiddleware;\n  let future = {\n    ...init.future\n  };\n  let unlistenHistory = null;\n  let subscribers = /* @__PURE__ */ new Set();\n  let bufferedInitialStateUpdate = null;\n  let savedScrollPositions2 = null;\n  let getScrollRestorationKey2 = null;\n  let getScrollPosition = null;\n  let initialScrollRestored = init.hydrationData != null;\n  let initialMatches = matchRoutesImpl(\n    dataRoutes.activeRoutes,\n    init.history.location,\n    basename,\n    false,\n    dataRoutes.branches\n  );\n  let initialMatchesIsFOW = false;\n  let initialErrors = null;\n  let initialized;\n  let renderFallback;\n  if (initialMatches == null && !init.patchRoutesOnNavigation) {\n    let error = getInternalRouterError(404, {\n      pathname: init.history.location.pathname\n    });\n    let { matches, route } = getShortCircuitMatches(dataRoutes.activeRoutes);\n    initialized = true;\n    renderFallback = !initialized;\n    initialMatches = matches;\n    initialErrors = { [route.id]: error };\n  } else {\n    if (initialMatches && !init.hydrationData) {\n      let fogOfWar = checkFogOfWar(\n        initialMatches,\n        dataRoutes.activeRoutes,\n        init.history.location.pathname\n      );\n      if (fogOfWar.active) {\n        initialMatches = null;\n      }\n    }\n    if (!initialMatches) {\n      initialized = false;\n      renderFallback = !initialized;\n      initialMatches = [];\n      let fogOfWar = checkFogOfWar(\n        null,\n        dataRoutes.activeRoutes,\n        init.history.location.pathname\n      );\n      if (fogOfWar.active && fogOfWar.matches) {\n        initialMatchesIsFOW = true;\n        initialMatches = fogOfWar.matches;\n      }\n    } else if (initialMatches.some((m) => m.route.lazy)) {\n      initialized = false;\n      renderFallback = !initialized;\n    } else if (!initialMatches.some((m) => routeHasLoaderOrMiddleware(m.route))) {\n      initialized = true;\n      renderFallback = !initialized;\n    } else {\n      let loaderData = init.hydrationData ? init.hydrationData.loaderData : null;\n      let errors = init.hydrationData ? init.hydrationData.errors : null;\n      let relevantMatches = initialMatches;\n      if (errors) {\n        let idx = initialMatches.findIndex(\n          (m) => errors[m.route.id] !== void 0\n        );\n        relevantMatches = relevantMatches.slice(0, idx + 1);\n      }\n      renderFallback = false;\n      initialized = true;\n      relevantMatches.forEach((m) => {\n        let status = getRouteHydrationStatus(m.route, loaderData, errors);\n        renderFallback = renderFallback || status.renderFallback;\n        initialized = initialized && !status.shouldLoad;\n      });\n    }\n  }\n  let router;\n  let state = {\n    historyAction: init.history.action,\n    location: init.history.location,\n    matches: initialMatches,\n    initialized,\n    renderFallback,\n    navigation: IDLE_NAVIGATION,\n    // Don't restore on initial updateState() if we were SSR'd\n    restoreScrollPosition: init.hydrationData != null ? false : null,\n    preventScrollReset: false,\n    revalidation: \"idle\",\n    loaderData: init.hydrationData && init.hydrationData.loaderData || {},\n    actionData: init.hydrationData && init.hydrationData.actionData || null,\n    errors: init.hydrationData && init.hydrationData.errors || initialErrors,\n    fetchers: /* @__PURE__ */ new Map(),\n    blockers: /* @__PURE__ */ new Map()\n  };\n  let pendingAction = \"POP\" /* Pop */;\n  let pendingPopstateNavigationDfd = null;\n  let pendingPreventScrollReset = false;\n  let pendingNavigationController;\n  let pendingViewTransitionEnabled = false;\n  let appliedViewTransitions = /* @__PURE__ */ new Map();\n  let removePageHideEventListener = null;\n  let isUninterruptedRevalidation = false;\n  let isRevalidationRequired = false;\n  let cancelledFetcherLoads = /* @__PURE__ */ new Set();\n  let fetchControllers = /* @__PURE__ */ new Map();\n  let incrementingLoadId = 0;\n  let pendingNavigationLoadId = -1;\n  let fetchReloadIds = /* @__PURE__ */ new Map();\n  let fetchRedirectIds = /* @__PURE__ */ new Set();\n  let fetchLoadMatches = /* @__PURE__ */ new Map();\n  let activeFetchers = /* @__PURE__ */ new Map();\n  let fetchersQueuedForDeletion = /* @__PURE__ */ new Set();\n  let blockerFunctions = /* @__PURE__ */ new Map();\n  let unblockBlockerHistoryUpdate = void 0;\n  let pendingRevalidationDfd = null;\n  function initialize() {\n    unlistenHistory = init.history.listen(\n      ({ action: historyAction, location, delta }) => {\n        if (unblockBlockerHistoryUpdate) {\n          unblockBlockerHistoryUpdate();\n          unblockBlockerHistoryUpdate = void 0;\n          return;\n        }\n        warning(\n          blockerFunctions.size === 0 || delta != null,\n          \"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.\"\n        );\n        let blockerKey = shouldBlockNavigation({\n          currentLocation: state.location,\n          nextLocation: location,\n          historyAction\n        });\n        if (blockerKey && delta != null) {\n          let nextHistoryUpdatePromise = new Promise((resolve) => {\n            unblockBlockerHistoryUpdate = resolve;\n          });\n          init.history.go(delta * -1);\n          updateBlocker(blockerKey, {\n            state: \"blocked\",\n            location,\n            proceed() {\n              updateBlocker(blockerKey, {\n                state: \"proceeding\",\n                proceed: void 0,\n                reset: void 0,\n                location\n              });\n              nextHistoryUpdatePromise.then(() => init.history.go(delta));\n            },\n            reset() {\n              let blockers = new Map(state.blockers);\n              blockers.set(blockerKey, IDLE_BLOCKER);\n              updateState({ blockers });\n            }\n          });\n          pendingPopstateNavigationDfd?.resolve();\n          pendingPopstateNavigationDfd = null;\n          return;\n        }\n        return startNavigation(historyAction, location);\n      }\n    );\n    if (isBrowser3) {\n      restoreAppliedTransitions(routerWindow, appliedViewTransitions);\n      let _saveAppliedTransitions = () => persistAppliedTransitions(routerWindow, appliedViewTransitions);\n      routerWindow.addEventListener(\"pagehide\", _saveAppliedTransitions);\n      removePageHideEventListener = () => routerWindow.removeEventListener(\"pagehide\", _saveAppliedTransitions);\n    }\n    if (!state.initialized) {\n      startNavigation(\"POP\" /* Pop */, state.location, {\n        initialHydration: true\n      });\n    }\n    return router;\n  }\n  function dispose() {\n    if (unlistenHistory) {\n      unlistenHistory();\n    }\n    if (removePageHideEventListener) {\n      removePageHideEventListener();\n    }\n    subscribers.clear();\n    pendingNavigationController && pendingNavigationController.abort();\n    state.fetchers.forEach((_, key) => deleteFetcher(state.fetchers, key));\n    state.blockers.forEach((_, key) => deleteBlocker(key));\n  }\n  function subscribe(fn) {\n    subscribers.add(fn);\n    if (bufferedInitialStateUpdate) {\n      let { newErrors } = bufferedInitialStateUpdate;\n      bufferedInitialStateUpdate = null;\n      fn(state, {\n        deletedFetchers: [],\n        newErrors,\n        viewTransitionOpts: void 0,\n        flushSync: false\n      });\n    }\n    return () => subscribers.delete(fn);\n  }\n  function updateState(newState, opts = {}) {\n    if (newState.matches) {\n      newState.matches = newState.matches.map((m) => {\n        let route = manifest[m.route.id];\n        let matchRoute = m.route;\n        if (matchRoute.element !== route.element || matchRoute.errorElement !== route.errorElement || matchRoute.hydrateFallbackElement !== route.hydrateFallbackElement) {\n          return {\n            ...m,\n            route\n          };\n        }\n        return m;\n      });\n    }\n    state = {\n      ...state,\n      ...newState\n    };\n    let unmountedFetchers = [];\n    let mountedFetchers = [];\n    state.fetchers.forEach((fetcher, key) => {\n      if (fetcher.state === \"idle\") {\n        if (fetchersQueuedForDeletion.has(key)) {\n          unmountedFetchers.push(key);\n        } else {\n          mountedFetchers.push(key);\n        }\n      }\n    });\n    fetchersQueuedForDeletion.forEach((key) => {\n      if (!state.fetchers.has(key) && !fetchControllers.has(key)) {\n        unmountedFetchers.push(key);\n      }\n    });\n    if (subscribers.size === 0) {\n      bufferedInitialStateUpdate = { newErrors: newState.errors ?? null };\n    }\n    [...subscribers].forEach(\n      (subscriber) => subscriber(state, {\n        deletedFetchers: unmountedFetchers,\n        newErrors: newState.errors ?? null,\n        viewTransitionOpts: opts.viewTransitionOpts,\n        flushSync: opts.flushSync === true\n      })\n    );\n    unmountedFetchers.forEach((key) => deleteFetcher(state.fetchers, key));\n    mountedFetchers.forEach((key) => state.fetchers.delete(key));\n  }\n  function completeNavigation(location, newState, { flushSync } = {}) {\n    let isActionReload = state.actionData != null && state.navigation.formMethod != null && isMutationMethod(state.navigation.formMethod) && state.navigation.state === \"loading\" && location.state?._isRedirect !== true;\n    let actionData;\n    if (newState.actionData) {\n      if (Object.keys(newState.actionData).length > 0) {\n        actionData = newState.actionData;\n      } else {\n        actionData = null;\n      }\n    } else if (isActionReload) {\n      actionData = state.actionData;\n    } else {\n      actionData = null;\n    }\n    let loaderData = newState.loaderData ? mergeLoaderData(\n      state.loaderData,\n      newState.loaderData,\n      newState.matches || [],\n      newState.errors\n    ) : state.loaderData;\n    let blockers = state.blockers;\n    if (blockers.size > 0) {\n      blockers = new Map(blockers);\n      blockers.forEach((_, k) => blockers.set(k, IDLE_BLOCKER));\n    }\n    let restoreScrollPosition = isUninterruptedRevalidation ? false : getSavedScrollPosition(location, newState.matches || state.matches);\n    let preventScrollReset = pendingPreventScrollReset === true || state.navigation.formMethod != null && isMutationMethod(state.navigation.formMethod) && location.state?._isRedirect !== true;\n    dataRoutes.commitHmrRoutes();\n    if (isUninterruptedRevalidation) {\n    } else if (pendingAction === \"POP\" /* Pop */) {\n    } else if (pendingAction === \"PUSH\" /* Push */) {\n      init.history.push(location, location.state);\n    } else if (pendingAction === \"REPLACE\" /* Replace */) {\n      init.history.replace(location, location.state);\n    }\n    let viewTransitionOpts;\n    if (pendingAction === \"POP\" /* Pop */ && !isUninterruptedRevalidation && location !== state.location) {\n      let priorPaths = appliedViewTransitions.get(state.location.pathname);\n      if (priorPaths && priorPaths.has(location.pathname)) {\n        viewTransitionOpts = {\n          currentLocation: state.location,\n          nextLocation: location\n        };\n      } else if (appliedViewTransitions.has(location.pathname)) {\n        viewTransitionOpts = {\n          currentLocation: location,\n          nextLocation: state.location\n        };\n      }\n    } else if (pendingViewTransitionEnabled) {\n      let toPaths = appliedViewTransitions.get(state.location.pathname);\n      if (toPaths) {\n        toPaths.add(location.pathname);\n      } else {\n        toPaths = /* @__PURE__ */ new Set([location.pathname]);\n        appliedViewTransitions.set(state.location.pathname, toPaths);\n      }\n      viewTransitionOpts = {\n        currentLocation: state.location,\n        nextLocation: location\n      };\n    }\n    updateState(\n      {\n        ...newState,\n        // matches, errors, fetchers go through as-is\n        actionData,\n        loaderData,\n        historyAction: pendingAction,\n        location,\n        initialized: true,\n        renderFallback: false,\n        navigation: IDLE_NAVIGATION,\n        revalidation: \"idle\",\n        restoreScrollPosition,\n        preventScrollReset,\n        blockers\n      },\n      {\n        viewTransitionOpts,\n        flushSync: flushSync === true\n      }\n    );\n    pendingAction = \"POP\" /* Pop */;\n    pendingPreventScrollReset = false;\n    pendingViewTransitionEnabled = false;\n    isUninterruptedRevalidation = false;\n    isRevalidationRequired = false;\n    pendingPopstateNavigationDfd?.resolve();\n    pendingPopstateNavigationDfd = null;\n    pendingRevalidationDfd?.resolve();\n    pendingRevalidationDfd = null;\n  }\n  async function navigate(to, opts) {\n    pendingPopstateNavigationDfd?.resolve();\n    pendingPopstateNavigationDfd = null;\n    if (typeof to === \"number\") {\n      if (!pendingPopstateNavigationDfd) {\n        pendingPopstateNavigationDfd = createDeferred();\n      }\n      let promise = pendingPopstateNavigationDfd.promise;\n      init.history.go(to);\n      return promise;\n    }\n    let normalizedPath = normalizeTo(\n      state.location,\n      state.matches,\n      basename,\n      to,\n      opts?.fromRouteId,\n      opts?.relative\n    );\n    let { path, submission, error } = normalizeNavigateOptions(\n      false,\n      normalizedPath,\n      opts\n    );\n    let maskPath;\n    if (opts?.mask) {\n      let partialPath = typeof opts.mask === \"string\" ? parsePath(opts.mask) : {\n        ...state.location.mask,\n        ...opts.mask\n      };\n      maskPath = {\n        pathname: partialPath.pathname ?? \"\",\n        search: partialPath.search ?? \"\",\n        hash: partialPath.hash ?? \"\"\n      };\n      if (PROTOCOL_RELATIVE_URL_REGEX.test(maskPath.pathname)) {\n        throw new Error(\"External navigation is not allowed\");\n      } else if (maskPath.pathname.startsWith(\"\\\\\")) {\n        maskPath.pathname = maskPath.pathname.replace(/^\\\\+/, \"/\");\n      }\n      validateNavigationTarget(\n        typeof opts.mask === \"string\" ? opts.mask : createPath(opts.mask),\n        createPath(maskPath),\n        init.history.createURL(\"/\"),\n        \"reject\"\n      );\n    }\n    let currentLocation = state.location;\n    let nextLocation = createLocation(\n      currentLocation,\n      path,\n      opts && opts.state,\n      void 0,\n      maskPath\n    );\n    nextLocation = {\n      ...nextLocation,\n      ...init.history.encodeLocation(nextLocation)\n    };\n    validateNavigationTarget(\n      to == null ? init.history.createHref(state.location) : typeof to === \"string\" ? to : createPath(to),\n      init.history.createHref(nextLocation.mask || nextLocation),\n      init.history.createURL(\"/\"),\n      \"reject\"\n    );\n    let userReplace = opts && opts.replace != null ? opts.replace : void 0;\n    let historyAction = \"PUSH\" /* Push */;\n    if (userReplace === true) {\n      historyAction = \"REPLACE\" /* Replace */;\n    } else if (userReplace === false) {\n    } else if (submission != null && isMutationMethod(submission.formMethod) && submission.formAction === state.location.pathname + state.location.search) {\n      historyAction = \"REPLACE\" /* Replace */;\n    }\n    let preventScrollReset = opts && \"preventScrollReset\" in opts ? opts.preventScrollReset === true : void 0;\n    let flushSync = (opts && opts.flushSync) === true;\n    let blockerKey = shouldBlockNavigation({\n      currentLocation,\n      nextLocation,\n      historyAction\n    });\n    if (blockerKey) {\n      updateBlocker(blockerKey, {\n        state: \"blocked\",\n        location: nextLocation,\n        proceed() {\n          updateBlocker(blockerKey, {\n            state: \"proceeding\",\n            proceed: void 0,\n            reset: void 0,\n            location: nextLocation\n          });\n          navigate(to, opts);\n        },\n        reset() {\n          let blockers = new Map(state.blockers);\n          blockers.set(blockerKey, IDLE_BLOCKER);\n          updateState({ blockers });\n        }\n      });\n      return;\n    }\n    await startNavigation(historyAction, nextLocation, {\n      submission,\n      // Send through the formData serialization error if we have one so we can\n      // render at the right error boundary after we match routes\n      pendingError: error,\n      preventScrollReset,\n      replace: opts && opts.replace,\n      enableViewTransition: opts && opts.viewTransition,\n      flushSync,\n      callSiteDefaultShouldRevalidate: opts && opts.defaultShouldRevalidate\n    });\n  }\n  function revalidate() {\n    if (!pendingRevalidationDfd) {\n      pendingRevalidationDfd = createDeferred();\n    }\n    interruptActiveLoads();\n    updateState({ revalidation: \"loading\" });\n    let promise = pendingRevalidationDfd.promise;\n    if (state.navigation.state === \"submitting\") {\n      return promise;\n    }\n    if (state.navigation.state === \"idle\") {\n      startNavigation(state.historyAction, state.location, {\n        startUninterruptedRevalidation: true\n      });\n      return promise;\n    }\n    startNavigation(\n      pendingAction || state.historyAction,\n      state.navigation.location,\n      {\n        overrideNavigation: state.navigation,\n        // Proxy through any rending view transition\n        enableViewTransition: pendingViewTransitionEnabled === true\n      }\n    );\n    return promise;\n  }\n  async function startNavigation(historyAction, location, opts) {\n    pendingNavigationController && pendingNavigationController.abort();\n    pendingNavigationController = null;\n    pendingAction = historyAction;\n    isUninterruptedRevalidation = (opts && opts.startUninterruptedRevalidation) === true;\n    saveScrollPosition(state.location, state.matches);\n    pendingPreventScrollReset = (opts && opts.preventScrollReset) === true;\n    pendingViewTransitionEnabled = (opts && opts.enableViewTransition) === true;\n    let routesToUse = dataRoutes.activeRoutes;\n    let matches = opts?.initialHydration && state.matches && state.matches.length > 0 && !initialMatchesIsFOW ? (\n      // `matchRoutes()` has already been called if we're in here via `router.initialize()`\n      state.matches\n    ) : matchRoutesImpl(\n      routesToUse,\n      location,\n      basename,\n      false,\n      dataRoutes.branches\n    );\n    let flushSync = (opts && opts.flushSync) === true;\n    if (matches && state.initialized && !isRevalidationRequired && isHashChangeOnly(state.location, location) && !(opts && opts.submission && isMutationMethod(opts.submission.formMethod))) {\n      completeNavigation(location, { matches }, { flushSync });\n      return;\n    }\n    let fogOfWar = checkFogOfWar(matches, routesToUse, location.pathname);\n    if (fogOfWar.active && fogOfWar.matches) {\n      matches = fogOfWar.matches;\n    }\n    if (!matches) {\n      let { error, notFoundMatches, route } = handleNavigational404(\n        location.pathname\n      );\n      completeNavigation(\n        location,\n        {\n          matches: notFoundMatches,\n          loaderData: {},\n          errors: {\n            [route.id]: error\n          }\n        },\n        { flushSync }\n      );\n      return;\n    }\n    let loadingNavigation = opts && opts.overrideNavigation ? {\n      ...opts.overrideNavigation,\n      matches,\n      historyAction\n    } : void 0;\n    pendingNavigationController = new AbortController();\n    let request = createClientSideRequest(\n      init.history,\n      location,\n      pendingNavigationController.signal,\n      opts && opts.submission\n    );\n    let scopedContext = init.getContext ? await init.getContext() : new RouterContextProvider();\n    let pendingActionResult;\n    if (opts && opts.pendingError) {\n      pendingActionResult = [\n        findNearestBoundary(matches).route.id,\n        { type: \"error\" /* error */, error: opts.pendingError }\n      ];\n    } else if (opts && opts.submission && isMutationMethod(opts.submission.formMethod)) {\n      let actionResult = await handleAction(\n        request,\n        location,\n        opts.submission,\n        matches,\n        historyAction,\n        scopedContext,\n        fogOfWar.active,\n        opts && opts.initialHydration === true,\n        { replace: opts.replace, flushSync }\n      );\n      if (actionResult.shortCircuited) {\n        return;\n      }\n      if (actionResult.pendingActionResult) {\n        let [routeId, result] = actionResult.pendingActionResult;\n        if (isErrorResult(result) && isRouteErrorResponse(result.error) && result.error.status === 404) {\n          pendingNavigationController = null;\n          completeNavigation(location, {\n            matches: actionResult.matches,\n            loaderData: {},\n            errors: {\n              [routeId]: result.error\n            }\n          });\n          return;\n        }\n      }\n      matches = actionResult.matches || matches;\n      pendingActionResult = actionResult.pendingActionResult;\n      loadingNavigation = getLoadingNavigation(\n        location,\n        matches,\n        historyAction,\n        opts.submission\n      );\n      flushSync = false;\n      fogOfWar.active = false;\n      request = createClientSideRequest(\n        init.history,\n        request.url,\n        request.signal\n      );\n    }\n    let {\n      shortCircuited,\n      matches: updatedMatches,\n      loaderData,\n      errors,\n      workingFetchers\n    } = await handleLoaders(\n      request,\n      location,\n      matches,\n      historyAction,\n      scopedContext,\n      fogOfWar.active,\n      loadingNavigation,\n      opts && opts.submission,\n      opts && opts.fetcherSubmission,\n      opts && opts.replace,\n      opts && opts.initialHydration === true,\n      flushSync,\n      pendingActionResult,\n      opts && opts.callSiteDefaultShouldRevalidate\n    );\n    if (shortCircuited) {\n      return;\n    }\n    pendingNavigationController = null;\n    completeNavigation(location, {\n      matches: updatedMatches || matches,\n      ...getActionDataForCommit(pendingActionResult),\n      loaderData,\n      errors,\n      ...workingFetchers ? { fetchers: workingFetchers } : {}\n    });\n  }\n  async function handleAction(request, location, submission, matches, historyAction, scopedContext, isFogOfWar, initialHydration, opts = {}) {\n    interruptActiveLoads();\n    let navigation = getSubmittingNavigation(\n      location,\n      matches,\n      historyAction,\n      submission\n    );\n    updateState({ navigation }, { flushSync: opts.flushSync === true });\n    if (isFogOfWar) {\n      let discoverResult = await discoverRoutes(\n        matches,\n        location.pathname,\n        request.signal\n      );\n      if (discoverResult.type === \"aborted\") {\n        return { shortCircuited: true };\n      } else if (discoverResult.type === \"error\") {\n        if (discoverResult.partialMatches.length === 0) {\n          let { matches: matches2, route } = getShortCircuitMatches(\n            dataRoutes.activeRoutes\n          );\n          return {\n            matches: matches2,\n            pendingActionResult: [\n              route.id,\n              {\n                type: \"error\" /* error */,\n                error: discoverResult.error\n              }\n            ]\n          };\n        }\n        let boundaryId = findNearestBoundary(discoverResult.partialMatches).route.id;\n        return {\n          matches: discoverResult.partialMatches,\n          pendingActionResult: [\n            boundaryId,\n            {\n              type: \"error\" /* error */,\n              error: discoverResult.error\n            }\n          ]\n        };\n      } else if (!discoverResult.matches) {\n        let { notFoundMatches, error, route } = handleNavigational404(\n          location.pathname\n        );\n        return {\n          matches: notFoundMatches,\n          pendingActionResult: [\n            route.id,\n            {\n              type: \"error\" /* error */,\n              error\n            }\n          ]\n        };\n      } else {\n        matches = discoverResult.matches;\n      }\n    }\n    let result;\n    let actionMatch = getTargetMatch(matches, location);\n    if (!actionMatch.route.action && !actionMatch.route.lazy) {\n      result = {\n        type: \"error\" /* error */,\n        error: getInternalRouterError(405, {\n          method: request.method,\n          pathname: location.pathname,\n          routeId: actionMatch.route.id\n        })\n      };\n    } else {\n      let dsMatches = getTargetedDataStrategyMatches(\n        mapRouteProperties2,\n        manifest,\n        request,\n        location,\n        matches,\n        actionMatch,\n        initialHydration ? [] : hydrationRouteProperties2,\n        scopedContext\n      );\n      let results = await callDataStrategy(\n        request,\n        location,\n        dsMatches,\n        scopedContext,\n        null\n      );\n      result = results[actionMatch.route.id];\n      if (!result) {\n        for (let match of matches) {\n          if (results[match.route.id]) {\n            result = results[match.route.id];\n            break;\n          }\n        }\n      }\n      if (request.signal.aborted) {\n        return { shortCircuited: true };\n      }\n    }\n    if (isRedirectResult(result)) {\n      let replace2;\n      if (opts && opts.replace != null) {\n        replace2 = opts.replace;\n      } else {\n        let location2 = normalizeRedirectLocation(\n          result.response.headers.get(\"Location\"),\n          new URL(request.url),\n          basename,\n          init.history\n        );\n        replace2 = location2 === state.location.pathname + state.location.search;\n      }\n      await startRedirectNavigation(request, result, true, {\n        submission,\n        replace: replace2\n      });\n      return { shortCircuited: true };\n    }\n    if (isErrorResult(result)) {\n      let boundaryMatch = findNearestBoundary(matches, actionMatch.route.id);\n      if ((opts && opts.replace) !== true) {\n        pendingAction = \"PUSH\" /* Push */;\n      }\n      return {\n        matches,\n        pendingActionResult: [\n          boundaryMatch.route.id,\n          result,\n          actionMatch.route.id\n        ]\n      };\n    }\n    return {\n      matches,\n      pendingActionResult: [actionMatch.route.id, result]\n    };\n  }\n  async function handleLoaders(request, location, matches, historyAction, scopedContext, isFogOfWar, overrideNavigation, submission, fetcherSubmission, replace2, initialHydration, flushSync, pendingActionResult, callSiteDefaultShouldRevalidate) {\n    let loadingNavigation = overrideNavigation || getLoadingNavigation(location, matches, historyAction, submission);\n    let activeSubmission = submission || fetcherSubmission || getSubmissionFromNavigation(loadingNavigation);\n    let shouldUpdateNavigationState = !isUninterruptedRevalidation && !initialHydration;\n    if (isFogOfWar) {\n      if (shouldUpdateNavigationState) {\n        let actionData = getUpdatedActionData(pendingActionResult);\n        updateState(\n          {\n            navigation: loadingNavigation,\n            ...actionData !== void 0 ? { actionData } : {}\n          },\n          {\n            flushSync\n          }\n        );\n      }\n      let discoverResult = await discoverRoutes(\n        matches,\n        location.pathname,\n        request.signal\n      );\n      if (discoverResult.type === \"aborted\") {\n        return { shortCircuited: true };\n      } else if (discoverResult.type === \"error\") {\n        if (discoverResult.partialMatches.length === 0) {\n          let { matches: matches2, route } = getShortCircuitMatches(\n            dataRoutes.activeRoutes\n          );\n          return {\n            matches: matches2,\n            loaderData: {},\n            errors: {\n              [route.id]: discoverResult.error\n            }\n          };\n        }\n        let boundaryId = findNearestBoundary(discoverResult.partialMatches).route.id;\n        return {\n          matches: discoverResult.partialMatches,\n          loaderData: {},\n          errors: {\n            [boundaryId]: discoverResult.error\n          }\n        };\n      } else if (!discoverResult.matches) {\n        let { error, notFoundMatches, route } = handleNavigational404(\n          location.pathname\n        );\n        return {\n          matches: notFoundMatches,\n          loaderData: {},\n          errors: {\n            [route.id]: error\n          }\n        };\n      } else {\n        matches = discoverResult.matches;\n      }\n    }\n    let routesToUse = dataRoutes.activeRoutes;\n    let { dsMatches, revalidatingFetchers } = getMatchesToLoad(\n      request,\n      scopedContext,\n      mapRouteProperties2,\n      manifest,\n      init.history,\n      state,\n      matches,\n      activeSubmission,\n      location,\n      initialHydration ? [] : hydrationRouteProperties2,\n      initialHydration === true,\n      isRevalidationRequired,\n      cancelledFetcherLoads,\n      fetchersQueuedForDeletion,\n      fetchLoadMatches,\n      fetchRedirectIds,\n      routesToUse,\n      basename,\n      init.patchRoutesOnNavigation != null,\n      dataRoutes.branches,\n      pendingActionResult,\n      callSiteDefaultShouldRevalidate\n    );\n    pendingNavigationLoadId = ++incrementingLoadId;\n    if (!init.dataStrategy && !dsMatches.some((m) => m.shouldLoad) && !dsMatches.some(\n      (m) => m.route.middleware && m.route.middleware.length > 0\n    ) && revalidatingFetchers.length === 0) {\n      let workingFetchers2 = new Map(state.fetchers);\n      let didUpdateFetcherRedirects2 = markFetchRedirectsDone(workingFetchers2);\n      completeNavigation(\n        location,\n        {\n          matches,\n          loaderData: {},\n          // Commit pending error if we're short circuiting\n          errors: pendingActionResult && isErrorResult(pendingActionResult[1]) ? { [pendingActionResult[0]]: pendingActionResult[1].error } : null,\n          ...getActionDataForCommit(pendingActionResult),\n          ...didUpdateFetcherRedirects2 ? { fetchers: workingFetchers2 } : {}\n        },\n        { flushSync }\n      );\n      return { shortCircuited: true };\n    }\n    if (shouldUpdateNavigationState) {\n      let updates = {};\n      if (!isFogOfWar) {\n        updates.navigation = loadingNavigation;\n        let actionData = getUpdatedActionData(pendingActionResult);\n        if (actionData !== void 0) {\n          updates.actionData = actionData;\n        }\n      }\n      if (revalidatingFetchers.length > 0) {\n        updates.fetchers = getUpdatedRevalidatingFetchers(revalidatingFetchers);\n      }\n      updateState(updates, { flushSync });\n    }\n    revalidatingFetchers.forEach((rf) => {\n      abortFetcher(rf.key);\n      if (rf.controller) {\n        fetchControllers.set(rf.key, rf.controller);\n      }\n    });\n    let abortPendingFetchRevalidations = () => revalidatingFetchers.forEach((f) => abortFetcher(f.key));\n    if (pendingNavigationController) {\n      pendingNavigationController.signal.addEventListener(\n        \"abort\",\n        abortPendingFetchRevalidations\n      );\n    }\n    let { loaderResults, fetcherResults } = await callLoadersAndMaybeResolveData(\n      dsMatches,\n      revalidatingFetchers,\n      request,\n      location,\n      scopedContext\n    );\n    if (request.signal.aborted) {\n      return { shortCircuited: true };\n    }\n    if (pendingNavigationController) {\n      pendingNavigationController.signal.removeEventListener(\n        \"abort\",\n        abortPendingFetchRevalidations\n      );\n    }\n    revalidatingFetchers.forEach((rf) => fetchControllers.delete(rf.key));\n    let redirect2 = findRedirect(loaderResults);\n    if (redirect2) {\n      await startRedirectNavigation(request, redirect2.result, true, {\n        replace: replace2\n      });\n      return { shortCircuited: true };\n    }\n    redirect2 = findRedirect(fetcherResults);\n    if (redirect2) {\n      fetchRedirectIds.add(redirect2.key);\n      await startRedirectNavigation(request, redirect2.result, true, {\n        replace: replace2\n      });\n      return { shortCircuited: true };\n    }\n    let workingFetchers = new Map(state.fetchers);\n    let { loaderData, errors } = processLoaderData(\n      state,\n      matches,\n      loaderResults,\n      pendingActionResult,\n      revalidatingFetchers,\n      fetcherResults,\n      workingFetchers\n    );\n    if (initialHydration && state.errors) {\n      errors = { ...state.errors, ...errors };\n    }\n    let didUpdateFetcherRedirects = markFetchRedirectsDone(workingFetchers);\n    let didAbortFetchLoads = abortStaleFetchLoads(\n      pendingNavigationLoadId,\n      workingFetchers\n    );\n    let shouldUpdateFetchers = didUpdateFetcherRedirects || didAbortFetchLoads || revalidatingFetchers.length > 0;\n    return {\n      matches,\n      loaderData,\n      errors,\n      ...shouldUpdateFetchers ? { workingFetchers } : {}\n    };\n  }\n  function getUpdatedActionData(pendingActionResult) {\n    if (pendingActionResult && !isErrorResult(pendingActionResult[1])) {\n      return {\n        [pendingActionResult[0]]: pendingActionResult[1].data\n      };\n    } else if (state.actionData) {\n      if (Object.keys(state.actionData).length === 0) {\n        return null;\n      } else {\n        return state.actionData;\n      }\n    }\n  }\n  function getUpdatedRevalidatingFetchers(revalidatingFetchers) {\n    let workingFetchers = new Map(state.fetchers);\n    revalidatingFetchers.forEach((rf) => {\n      let fetcher = workingFetchers.get(rf.key);\n      let revalidatingFetcher = getLoadingFetcher(\n        void 0,\n        fetcher ? fetcher.data : void 0\n      );\n      workingFetchers.set(rf.key, revalidatingFetcher);\n    });\n    return workingFetchers;\n  }\n  async function fetch2(key, routeId, href, opts) {\n    abortFetcher(key);\n    let flushSync = (opts && opts.flushSync) === true;\n    let routesToUse = dataRoutes.activeRoutes;\n    let normalizedPath = normalizeTo(\n      state.location,\n      state.matches,\n      basename,\n      href,\n      routeId,\n      opts?.relative\n    );\n    let matches = matchRoutesImpl(\n      routesToUse,\n      normalizedPath,\n      basename,\n      false,\n      dataRoutes.branches\n    );\n    let fogOfWar = checkFogOfWar(matches, routesToUse, normalizedPath);\n    if (fogOfWar.active && fogOfWar.matches) {\n      matches = fogOfWar.matches;\n    }\n    if (!matches) {\n      setFetcherError(\n        key,\n        routeId,\n        getInternalRouterError(404, { pathname: normalizedPath }),\n        { flushSync }\n      );\n      return;\n    }\n    let { path, submission, error } = normalizeNavigateOptions(\n      true,\n      normalizedPath,\n      opts\n    );\n    if (error) {\n      setFetcherError(key, routeId, error, { flushSync });\n      return;\n    }\n    let scopedContext = init.getContext ? await init.getContext() : new RouterContextProvider();\n    let preventScrollReset = (opts && opts.preventScrollReset) === true;\n    if (submission && isMutationMethod(submission.formMethod)) {\n      await handleFetcherAction(\n        key,\n        routeId,\n        path,\n        matches,\n        scopedContext,\n        fogOfWar.active,\n        flushSync,\n        preventScrollReset,\n        submission,\n        opts && opts.defaultShouldRevalidate\n      );\n      return;\n    }\n    fetchLoadMatches.set(key, { routeId, path });\n    await handleFetcherLoader(\n      key,\n      routeId,\n      path,\n      matches,\n      scopedContext,\n      fogOfWar.active,\n      flushSync,\n      preventScrollReset,\n      submission\n    );\n  }\n  async function handleFetcherAction(key, routeId, path, requestMatches, scopedContext, isFogOfWar, flushSync, preventScrollReset, submission, callSiteDefaultShouldRevalidate) {\n    interruptActiveLoads();\n    fetchLoadMatches.delete(key);\n    let existingFetcher = state.fetchers.get(key);\n    updateFetcherState(key, getSubmittingFetcher(submission, existingFetcher), {\n      flushSync\n    });\n    let abortController = new AbortController();\n    let fetchRequest = createClientSideRequest(\n      init.history,\n      path,\n      abortController.signal,\n      submission\n    );\n    if (isFogOfWar) {\n      let discoverResult = await discoverRoutes(\n        requestMatches,\n        new URL(fetchRequest.url).pathname,\n        fetchRequest.signal,\n        key\n      );\n      if (discoverResult.type === \"aborted\") {\n        return;\n      } else if (discoverResult.type === \"error\") {\n        setFetcherError(key, routeId, discoverResult.error, { flushSync });\n        return;\n      } else if (!discoverResult.matches) {\n        setFetcherError(\n          key,\n          routeId,\n          getInternalRouterError(404, { pathname: path }),\n          { flushSync }\n        );\n        return;\n      } else {\n        requestMatches = discoverResult.matches;\n      }\n    }\n    let match = getTargetMatch(requestMatches, path);\n    if (!match.route.action && !match.route.lazy) {\n      let error = getInternalRouterError(405, {\n        method: submission.formMethod,\n        pathname: path,\n        routeId\n      });\n      setFetcherError(key, routeId, error, { flushSync });\n      return;\n    }\n    fetchControllers.set(key, abortController);\n    let originatingLoadId = incrementingLoadId;\n    let fetchMatches = getTargetedDataStrategyMatches(\n      mapRouteProperties2,\n      manifest,\n      fetchRequest,\n      path,\n      requestMatches,\n      match,\n      hydrationRouteProperties2,\n      scopedContext\n    );\n    let actionResults = await callDataStrategy(\n      fetchRequest,\n      path,\n      fetchMatches,\n      scopedContext,\n      key\n    );\n    let actionResult = actionResults[match.route.id];\n    if (!actionResult) {\n      for (let match2 of fetchMatches) {\n        if (actionResults[match2.route.id]) {\n          actionResult = actionResults[match2.route.id];\n          break;\n        }\n      }\n    }\n    if (fetchRequest.signal.aborted) {\n      if (fetchControllers.get(key) === abortController) {\n        fetchControllers.delete(key);\n      }\n      return;\n    }\n    if (fetchersQueuedForDeletion.has(key)) {\n      if (isRedirectResult(actionResult) || isErrorResult(actionResult)) {\n        updateFetcherState(key, getDoneFetcher(void 0));\n        return;\n      }\n    } else {\n      if (isRedirectResult(actionResult)) {\n        fetchControllers.delete(key);\n        if (pendingNavigationLoadId > originatingLoadId) {\n          updateFetcherState(key, getDoneFetcher(void 0));\n          return;\n        } else {\n          fetchRedirectIds.add(key);\n          updateFetcherState(key, getLoadingFetcher(submission));\n          return startRedirectNavigation(fetchRequest, actionResult, false, {\n            fetcherSubmission: submission,\n            preventScrollReset\n          });\n        }\n      }\n      if (isErrorResult(actionResult)) {\n        setFetcherError(key, routeId, actionResult.error);\n        return;\n      }\n    }\n    let nextLocation = state.navigation.location || state.location;\n    let revalidationRequest = createClientSideRequest(\n      init.history,\n      nextLocation,\n      abortController.signal\n    );\n    let routesToUse = dataRoutes.activeRoutes;\n    let matches = state.navigation.state !== \"idle\" ? matchRoutesImpl(\n      routesToUse,\n      state.navigation.location,\n      basename,\n      false,\n      dataRoutes.branches\n    ) : state.matches;\n    invariant(matches, \"Didn't find any matches after fetcher action\");\n    let loadId = ++incrementingLoadId;\n    fetchReloadIds.set(key, loadId);\n    let { dsMatches, revalidatingFetchers } = getMatchesToLoad(\n      revalidationRequest,\n      scopedContext,\n      mapRouteProperties2,\n      manifest,\n      init.history,\n      state,\n      matches,\n      submission,\n      nextLocation,\n      hydrationRouteProperties2,\n      false,\n      isRevalidationRequired,\n      cancelledFetcherLoads,\n      fetchersQueuedForDeletion,\n      fetchLoadMatches,\n      fetchRedirectIds,\n      routesToUse,\n      basename,\n      init.patchRoutesOnNavigation != null,\n      dataRoutes.branches,\n      [match.route.id, actionResult],\n      callSiteDefaultShouldRevalidate\n    );\n    let loadFetcher = getLoadingFetcher(submission, actionResult.data);\n    let workingFetchers = new Map(state.fetchers);\n    workingFetchers.set(key, loadFetcher);\n    revalidatingFetchers.filter((rf) => rf.key !== key).forEach((rf) => {\n      let staleKey = rf.key;\n      let existingFetcher2 = workingFetchers.get(staleKey);\n      let revalidatingFetcher = getLoadingFetcher(\n        void 0,\n        existingFetcher2 ? existingFetcher2.data : void 0\n      );\n      workingFetchers.set(staleKey, revalidatingFetcher);\n      abortFetcher(staleKey);\n      if (rf.controller) {\n        fetchControllers.set(staleKey, rf.controller);\n      }\n    });\n    updateState({ fetchers: workingFetchers });\n    let abortPendingFetchRevalidations = () => revalidatingFetchers.forEach((rf) => abortFetcher(rf.key));\n    abortController.signal.addEventListener(\n      \"abort\",\n      abortPendingFetchRevalidations\n    );\n    let { loaderResults, fetcherResults } = await callLoadersAndMaybeResolveData(\n      dsMatches,\n      revalidatingFetchers,\n      revalidationRequest,\n      nextLocation,\n      scopedContext\n    );\n    if (abortController.signal.aborted) {\n      return;\n    }\n    abortController.signal.removeEventListener(\n      \"abort\",\n      abortPendingFetchRevalidations\n    );\n    fetchReloadIds.delete(key);\n    fetchControllers.delete(key);\n    revalidatingFetchers.forEach((r) => fetchControllers.delete(r.key));\n    let fetcherIsMounted = state.fetchers.has(key);\n    let getRedirectStateWithDoneFetcher = (s) => {\n      if (!fetcherIsMounted) return s;\n      let workingFetchers2 = new Map(s.fetchers);\n      workingFetchers2.set(key, getDoneFetcher(actionResult.data));\n      return { ...s, fetchers: workingFetchers2 };\n    };\n    let redirect2 = findRedirect(loaderResults);\n    if (redirect2) {\n      state = getRedirectStateWithDoneFetcher(state);\n      return startRedirectNavigation(\n        revalidationRequest,\n        redirect2.result,\n        false,\n        { preventScrollReset }\n      );\n    }\n    redirect2 = findRedirect(fetcherResults);\n    if (redirect2) {\n      fetchRedirectIds.add(redirect2.key);\n      state = getRedirectStateWithDoneFetcher(state);\n      return startRedirectNavigation(\n        revalidationRequest,\n        redirect2.result,\n        false,\n        { preventScrollReset }\n      );\n    }\n    let finalFetchers = new Map(state.fetchers);\n    if (fetcherIsMounted) {\n      finalFetchers.set(key, getDoneFetcher(actionResult.data));\n    }\n    let { loaderData, errors } = processLoaderData(\n      state,\n      matches,\n      loaderResults,\n      void 0,\n      revalidatingFetchers,\n      fetcherResults,\n      finalFetchers\n    );\n    abortStaleFetchLoads(loadId, finalFetchers);\n    if (state.navigation.state === \"loading\" && loadId > pendingNavigationLoadId) {\n      invariant(pendingAction, \"Expected pending action\");\n      pendingNavigationController && pendingNavigationController.abort();\n      completeNavigation(state.navigation.location, {\n        matches,\n        loaderData,\n        errors,\n        fetchers: finalFetchers\n      });\n    } else {\n      updateState({\n        errors,\n        loaderData: mergeLoaderData(\n          state.loaderData,\n          loaderData,\n          matches,\n          errors\n        ),\n        fetchers: finalFetchers\n      });\n      isRevalidationRequired = false;\n    }\n  }\n  async function handleFetcherLoader(key, routeId, path, matches, scopedContext, isFogOfWar, flushSync, preventScrollReset, submission) {\n    let existingFetcher = state.fetchers.get(key);\n    updateFetcherState(\n      key,\n      getLoadingFetcher(\n        submission,\n        existingFetcher ? existingFetcher.data : void 0\n      ),\n      { flushSync }\n    );\n    let abortController = new AbortController();\n    let fetchRequest = createClientSideRequest(\n      init.history,\n      path,\n      abortController.signal\n    );\n    if (isFogOfWar) {\n      let discoverResult = await discoverRoutes(\n        matches,\n        new URL(fetchRequest.url).pathname,\n        fetchRequest.signal,\n        key\n      );\n      if (discoverResult.type === \"aborted\") {\n        return;\n      } else if (discoverResult.type === \"error\") {\n        setFetcherError(key, routeId, discoverResult.error, { flushSync });\n        return;\n      } else if (!discoverResult.matches) {\n        setFetcherError(\n          key,\n          routeId,\n          getInternalRouterError(404, { pathname: path }),\n          { flushSync }\n        );\n        return;\n      } else {\n        matches = discoverResult.matches;\n      }\n    }\n    let match = getTargetMatch(matches, path);\n    fetchControllers.set(key, abortController);\n    let originatingLoadId = incrementingLoadId;\n    let dsMatches = getTargetedDataStrategyMatches(\n      mapRouteProperties2,\n      manifest,\n      fetchRequest,\n      path,\n      matches,\n      match,\n      hydrationRouteProperties2,\n      scopedContext\n    );\n    let results = await callDataStrategy(\n      fetchRequest,\n      path,\n      dsMatches,\n      scopedContext,\n      key\n    );\n    let result = results[match.route.id];\n    if (!result) {\n      for (let match2 of matches) {\n        if (results[match2.route.id]) {\n          result = results[match2.route.id];\n          break;\n        }\n      }\n    }\n    if (fetchControllers.get(key) === abortController) {\n      fetchControllers.delete(key);\n    }\n    if (fetchRequest.signal.aborted) {\n      return;\n    }\n    if (fetchersQueuedForDeletion.has(key)) {\n      updateFetcherState(key, getDoneFetcher(void 0));\n      return;\n    }\n    if (isRedirectResult(result)) {\n      if (pendingNavigationLoadId > originatingLoadId) {\n        updateFetcherState(key, getDoneFetcher(void 0));\n        return;\n      } else {\n        fetchRedirectIds.add(key);\n        await startRedirectNavigation(fetchRequest, result, false, {\n          preventScrollReset\n        });\n        return;\n      }\n    }\n    if (isErrorResult(result)) {\n      setFetcherError(key, routeId, result.error);\n      return;\n    }\n    updateFetcherState(key, getDoneFetcher(result.data));\n  }\n  async function startRedirectNavigation(request, redirect2, isNavigation, {\n    submission,\n    fetcherSubmission,\n    preventScrollReset,\n    replace: replace2\n  } = {}) {\n    if (!isNavigation) {\n      pendingPopstateNavigationDfd?.resolve();\n      pendingPopstateNavigationDfd = null;\n    }\n    if (redirect2.response.headers.has(\"X-Remix-Revalidate\")) {\n      isRevalidationRequired = true;\n    }\n    let location = redirect2.response.headers.get(\"Location\");\n    invariant(location, \"Expected a Location header on the redirect Response\");\n    let originalLocation = location;\n    let currentUrl = new URL(request.url);\n    location = normalizeRedirectLocation(\n      location,\n      currentUrl,\n      basename,\n      init.history\n    );\n    validateNavigationTarget(\n      originalLocation,\n      location,\n      currentUrl,\n      \"allow-explicit\"\n    );\n    let redirectLocation = createLocation(state.location, location, {\n      _isRedirect: true\n    });\n    if (isBrowser3) {\n      let isDocumentReload = false;\n      if (redirect2.response.headers.has(\"X-Remix-Reload-Document\")) {\n        isDocumentReload = true;\n      } else if (isAbsoluteUrl(location)) {\n        const url = createBrowserURLImpl(routerWindow, location, true);\n        isDocumentReload = // Hard reload if it's an absolute URL to a new origin\n        url.origin !== routerWindow.location.origin || // Hard reload if it's an absolute URL that does not match our basename\n        stripBasename(url.pathname, basename) == null;\n      }\n      if (isDocumentReload) {\n        if (replace2) {\n          routerWindow.location.replace(location);\n        } else {\n          routerWindow.location.assign(location);\n        }\n        return;\n      }\n    }\n    pendingNavigationController = null;\n    let redirectNavigationType = replace2 === true || redirect2.response.headers.has(\"X-Remix-Replace\") ? \"REPLACE\" /* Replace */ : \"PUSH\" /* Push */;\n    let { formMethod, formAction, formEncType } = state.navigation;\n    if (!submission && !fetcherSubmission && formMethod && formAction && formEncType) {\n      submission = getSubmissionFromNavigation(state.navigation);\n    }\n    let activeSubmission = submission || fetcherSubmission;\n    if (redirectPreserveMethodStatusCodes.has(redirect2.response.status) && activeSubmission && isMutationMethod(activeSubmission.formMethod)) {\n      await startNavigation(redirectNavigationType, redirectLocation, {\n        submission: {\n          ...activeSubmission,\n          formAction: location\n        },\n        // Preserve these flags across redirects\n        preventScrollReset: preventScrollReset || pendingPreventScrollReset,\n        enableViewTransition: isNavigation ? pendingViewTransitionEnabled : void 0\n      });\n    } else {\n      let overrideNavigation = getLoadingNavigation(\n        redirectLocation,\n        [],\n        redirectNavigationType,\n        submission\n      );\n      await startNavigation(redirectNavigationType, redirectLocation, {\n        overrideNavigation,\n        // Send fetcher submissions through for shouldRevalidate\n        fetcherSubmission,\n        // Preserve these flags across redirects\n        preventScrollReset: preventScrollReset || pendingPreventScrollReset,\n        enableViewTransition: isNavigation ? pendingViewTransitionEnabled : void 0\n      });\n    }\n  }\n  async function callDataStrategy(request, path, matches, scopedContext, fetcherKey) {\n    let results;\n    let dataResults = {};\n    try {\n      results = await callDataStrategyImpl(\n        dataStrategyImpl,\n        request,\n        path,\n        matches,\n        fetcherKey,\n        scopedContext,\n        false\n      );\n    } catch (e) {\n      matches.filter((m) => m.shouldLoad).forEach((m) => {\n        dataResults[m.route.id] = {\n          type: \"error\" /* error */,\n          error: e\n        };\n      });\n      return dataResults;\n    }\n    if (request.signal.aborted) {\n      return dataResults;\n    }\n    if (!isMutationMethod(request.method)) {\n      for (let match of matches) {\n        if (results[match.route.id]?.type === \"error\" /* error */) {\n          break;\n        }\n        if (!results.hasOwnProperty(match.route.id) && !state.loaderData.hasOwnProperty(match.route.id) && (!state.errors || !state.errors.hasOwnProperty(match.route.id)) && match.shouldCallHandler()) {\n          results[match.route.id] = {\n            type: \"error\" /* error */,\n            result: new Error(\n              `No result returned from dataStrategy for route ${match.route.id}`\n            )\n          };\n        }\n      }\n    }\n    for (let [routeId, result] of Object.entries(results)) {\n      if (isRedirectDataStrategyResult(result)) {\n        let response = result.result;\n        dataResults[routeId] = {\n          type: \"redirect\" /* redirect */,\n          response: normalizeRelativeRoutingRedirectResponse(\n            response,\n            request,\n            routeId,\n            matches,\n            basename\n          )\n        };\n      } else {\n        dataResults[routeId] = await convertDataStrategyResultToDataResult(result);\n      }\n    }\n    return dataResults;\n  }\n  async function callLoadersAndMaybeResolveData(matches, fetchersToLoad, request, location, scopedContext) {\n    let loaderResultsPromise = callDataStrategy(\n      request,\n      location,\n      matches,\n      scopedContext,\n      null\n    );\n    let fetcherResultsPromise = Promise.all(\n      fetchersToLoad.map(async (f) => {\n        if (f.matches && f.match && f.request && f.controller) {\n          let results = await callDataStrategy(\n            f.request,\n            f.path,\n            f.matches,\n            scopedContext,\n            f.key\n          );\n          let result = results[f.match.route.id];\n          return { [f.key]: result };\n        } else {\n          return Promise.resolve({\n            [f.key]: {\n              type: \"error\" /* error */,\n              error: getInternalRouterError(404, {\n                pathname: f.path\n              })\n            }\n          });\n        }\n      })\n    );\n    let loaderResults = await loaderResultsPromise;\n    let fetcherResults = (await fetcherResultsPromise).reduce(\n      (acc, r) => Object.assign(acc, r),\n      {}\n    );\n    return {\n      loaderResults,\n      fetcherResults\n    };\n  }\n  function interruptActiveLoads() {\n    isRevalidationRequired = true;\n    fetchLoadMatches.forEach((_, key) => {\n      if (fetchControllers.has(key)) {\n        cancelledFetcherLoads.add(key);\n      }\n      abortFetcher(key);\n    });\n  }\n  function updateFetcherState(key, fetcher, opts = {}) {\n    let workingFetchers = new Map(state.fetchers);\n    workingFetchers.set(key, fetcher);\n    updateState(\n      { fetchers: workingFetchers },\n      { flushSync: (opts && opts.flushSync) === true }\n    );\n  }\n  function setFetcherError(key, routeId, error, opts = {}) {\n    let boundaryMatch = findNearestBoundary(state.matches, routeId);\n    let workingFetchers = new Map(state.fetchers);\n    deleteFetcher(workingFetchers, key);\n    updateState(\n      {\n        errors: {\n          [boundaryMatch.route.id]: error\n        },\n        fetchers: workingFetchers\n      },\n      { flushSync: (opts && opts.flushSync) === true }\n    );\n  }\n  function getFetcher(key) {\n    activeFetchers.set(key, (activeFetchers.get(key) || 0) + 1);\n    if (fetchersQueuedForDeletion.has(key)) {\n      fetchersQueuedForDeletion.delete(key);\n    }\n    return state.fetchers.get(key) || IDLE_FETCHER;\n  }\n  function resetFetcher(key, opts) {\n    abortFetcher(key, opts?.reason);\n    updateFetcherState(key, getDoneFetcher(null));\n  }\n  function deleteFetcher(fetchers, key) {\n    let fetcher = state.fetchers.get(key);\n    if (fetchControllers.has(key) && !(fetcher && fetcher.state === \"loading\" && fetchReloadIds.has(key))) {\n      abortFetcher(key);\n    }\n    fetchLoadMatches.delete(key);\n    fetchReloadIds.delete(key);\n    fetchRedirectIds.delete(key);\n    fetchersQueuedForDeletion.delete(key);\n    cancelledFetcherLoads.delete(key);\n    fetchers.delete(key);\n  }\n  function queueFetcherForDeletion(key) {\n    let count = (activeFetchers.get(key) || 0) - 1;\n    if (count <= 0) {\n      activeFetchers.delete(key);\n      fetchersQueuedForDeletion.add(key);\n    } else {\n      activeFetchers.set(key, count);\n    }\n    updateState({ fetchers: new Map(state.fetchers) });\n  }\n  function abortFetcher(key, reason) {\n    let controller = fetchControllers.get(key);\n    if (controller) {\n      controller.abort(reason);\n      fetchControllers.delete(key);\n    }\n  }\n  function markFetchersDone(keys, fetchers) {\n    for (let key of keys) {\n      let fetcher = fetchers.get(key);\n      invariant(fetcher, `Expected fetcher: ${key}`);\n      let doneFetcher = getDoneFetcher(fetcher.data);\n      fetchers.set(key, doneFetcher);\n    }\n  }\n  function markFetchRedirectsDone(fetchers) {\n    let doneKeys = [];\n    let didUpdateFetchers = false;\n    for (let key of fetchRedirectIds) {\n      let fetcher = fetchers.get(key);\n      invariant(fetcher, `Expected fetcher: ${key}`);\n      if (fetcher.state === \"loading\") {\n        fetchRedirectIds.delete(key);\n        doneKeys.push(key);\n        didUpdateFetchers = true;\n      }\n    }\n    markFetchersDone(doneKeys, fetchers);\n    return didUpdateFetchers;\n  }\n  function abortStaleFetchLoads(landedId, fetchers) {\n    let yeetedKeys = [];\n    for (let [key, id] of fetchReloadIds) {\n      if (id < landedId) {\n        let fetcher = fetchers.get(key);\n        invariant(fetcher, `Expected fetcher: ${key}`);\n        if (fetcher.state === \"loading\") {\n          abortFetcher(key);\n          fetchReloadIds.delete(key);\n          yeetedKeys.push(key);\n        }\n      }\n    }\n    markFetchersDone(yeetedKeys, fetchers);\n    return yeetedKeys.length > 0;\n  }\n  function getBlocker(key, fn) {\n    let blocker = state.blockers.get(key) || IDLE_BLOCKER;\n    if (blockerFunctions.get(key) !== fn) {\n      blockerFunctions.set(key, fn);\n    }\n    return blocker;\n  }\n  function deleteBlocker(key) {\n    state.blockers.delete(key);\n    blockerFunctions.delete(key);\n  }\n  function updateBlocker(key, newBlocker) {\n    let blocker = state.blockers.get(key) || IDLE_BLOCKER;\n    invariant(\n      blocker.state === \"unblocked\" && newBlocker.state === \"blocked\" || blocker.state === \"blocked\" && newBlocker.state === \"blocked\" || blocker.state === \"blocked\" && newBlocker.state === \"proceeding\" || blocker.state === \"blocked\" && newBlocker.state === \"unblocked\" || blocker.state === \"proceeding\" && newBlocker.state === \"unblocked\",\n      `Invalid blocker state transition: ${blocker.state} -> ${newBlocker.state}`\n    );\n    let blockers = new Map(state.blockers);\n    blockers.set(key, newBlocker);\n    updateState({ blockers });\n  }\n  function shouldBlockNavigation({\n    currentLocation,\n    nextLocation,\n    historyAction\n  }) {\n    if (blockerFunctions.size === 0) {\n      return;\n    }\n    if (blockerFunctions.size > 1) {\n      warning(false, \"A router only supports one blocker at a time\");\n    }\n    let entries = Array.from(blockerFunctions.entries());\n    let [blockerKey, blockerFunction] = entries[entries.length - 1];\n    let blocker = state.blockers.get(blockerKey);\n    if (blocker && blocker.state === \"proceeding\") {\n      return;\n    }\n    if (blockerFunction({ currentLocation, nextLocation, historyAction })) {\n      return blockerKey;\n    }\n  }\n  function handleNavigational404(pathname) {\n    let error = getInternalRouterError(404, { pathname });\n    let routesToUse = dataRoutes.activeRoutes;\n    let { matches, route } = getShortCircuitMatches(routesToUse);\n    return { notFoundMatches: matches, route, error };\n  }\n  function enableScrollRestoration(positions, getPosition, getKey) {\n    savedScrollPositions2 = positions;\n    getScrollPosition = getPosition;\n    getScrollRestorationKey2 = getKey || null;\n    if (!initialScrollRestored && state.navigation === IDLE_NAVIGATION) {\n      initialScrollRestored = true;\n      let y = getSavedScrollPosition(state.location, state.matches);\n      if (y != null) {\n        updateState({ restoreScrollPosition: y });\n      }\n    }\n    return () => {\n      savedScrollPositions2 = null;\n      getScrollPosition = null;\n      getScrollRestorationKey2 = null;\n    };\n  }\n  function getScrollKey(location, matches) {\n    if (getScrollRestorationKey2) {\n      let key = getScrollRestorationKey2(\n        location,\n        matches.map((m) => convertRouteMatchToUiMatch(m, state.loaderData))\n      );\n      return key || location.key;\n    }\n    return location.key;\n  }\n  function saveScrollPosition(location, matches) {\n    if (savedScrollPositions2 && getScrollPosition) {\n      let key = getScrollKey(location, matches);\n      savedScrollPositions2[key] = getScrollPosition();\n    }\n  }\n  function getSavedScrollPosition(location, matches) {\n    if (savedScrollPositions2) {\n      let key = getScrollKey(location, matches);\n      let y = savedScrollPositions2[key];\n      if (typeof y === \"number\") {\n        return y;\n      }\n    }\n    return null;\n  }\n  function checkFogOfWar(matches, routesToUse, pathname) {\n    if (init.patchRoutesOnNavigation) {\n      let activeBranches = dataRoutes.branches;\n      if (!matches) {\n        let fogMatches = matchRoutesImpl(\n          routesToUse,\n          pathname,\n          basename,\n          true,\n          activeBranches\n        );\n        return { active: true, matches: fogMatches || [] };\n      } else {\n        if (Object.keys(matches[0].params).length > 0) {\n          let partialMatches = matchRoutesImpl(\n            routesToUse,\n            pathname,\n            basename,\n            true,\n            activeBranches\n          );\n          return { active: true, matches: partialMatches };\n        }\n      }\n    }\n    return { active: false, matches: null };\n  }\n  async function discoverRoutes(matches, pathname, signal, fetcherKey) {\n    if (!init.patchRoutesOnNavigation) {\n      return { type: \"success\", matches };\n    }\n    let partialMatches = matches;\n    while (true) {\n      let localManifest = manifest;\n      try {\n        await init.patchRoutesOnNavigation({\n          signal,\n          path: pathname,\n          matches: partialMatches,\n          fetcherKey,\n          patch: (routeId, children) => {\n            if (signal.aborted) return;\n            patchRoutesImpl(\n              routeId,\n              children,\n              dataRoutes,\n              localManifest,\n              mapRouteProperties2,\n              false\n            );\n          }\n        });\n      } catch (e) {\n        return { type: \"error\", error: e, partialMatches };\n      }\n      if (signal.aborted) {\n        return { type: \"aborted\" };\n      }\n      let activeBranches = dataRoutes.branches;\n      let newMatches = matchRoutesImpl(\n        dataRoutes.activeRoutes,\n        pathname,\n        basename,\n        false,\n        activeBranches\n      );\n      let newPartialMatches = null;\n      if (newMatches) {\n        if (Object.keys(newMatches[0].params).length === 0) {\n          return { type: \"success\", matches: newMatches };\n        } else {\n          newPartialMatches = matchRoutesImpl(\n            dataRoutes.activeRoutes,\n            pathname,\n            basename,\n            true,\n            activeBranches\n          );\n          let matchedDeeper = newPartialMatches && partialMatches.length < newPartialMatches.length && compareMatches(\n            partialMatches,\n            newPartialMatches.slice(0, partialMatches.length)\n          );\n          if (!matchedDeeper) {\n            return { type: \"success\", matches: newMatches };\n          }\n        }\n      }\n      if (!newPartialMatches) {\n        newPartialMatches = matchRoutesImpl(\n          dataRoutes.activeRoutes,\n          pathname,\n          basename,\n          true,\n          activeBranches\n        );\n      }\n      if (!newPartialMatches || compareMatches(partialMatches, newPartialMatches)) {\n        return { type: \"success\", matches: null };\n      }\n      partialMatches = newPartialMatches;\n    }\n  }\n  function compareMatches(a, b) {\n    return a.length === b.length && a.every((m, i) => m.route.id === b[i].route.id);\n  }\n  function _internalSetRoutes(newRoutes) {\n    manifest = {};\n    dataRoutes.setHmrRoutes(\n      convertRoutesToDataRoutes(\n        newRoutes,\n        mapRouteProperties2,\n        void 0,\n        manifest\n      )\n    );\n  }\n  function patchRoutes(routeId, children, unstable_allowElementMutations = false) {\n    patchRoutesImpl(\n      routeId,\n      children,\n      dataRoutes,\n      manifest,\n      mapRouteProperties2,\n      unstable_allowElementMutations\n    );\n    if (!dataRoutes.hasHMRRoutes) {\n      updateState({});\n    }\n  }\n  router = {\n    get basename() {\n      return basename;\n    },\n    get future() {\n      return future;\n    },\n    get state() {\n      return state;\n    },\n    get routes() {\n      return dataRoutes.stableRoutes;\n    },\n    get branches() {\n      return dataRoutes.branches;\n    },\n    get manifest() {\n      return manifest;\n    },\n    get window() {\n      return routerWindow;\n    },\n    initialize,\n    subscribe,\n    enableScrollRestoration,\n    navigate,\n    fetch: fetch2,\n    revalidate,\n    // Passthrough to history-aware createHref used by useHref so we get proper\n    // hash-aware URLs in DOM paths\n    createHref: (to) => init.history.createHref(to),\n    createURL: (to) => init.history.createURL(to),\n    encodeLocation: (to) => init.history.encodeLocation(to),\n    getFetcher,\n    resetFetcher,\n    deleteFetcher: queueFetcherForDeletion,\n    dispose,\n    getBlocker,\n    deleteBlocker,\n    patchRoutes,\n    _internalFetchControllers: fetchControllers,\n    // TODO: Remove setRoutes, it's temporary to avoid dealing with\n    // updating the tree while validating the update algorithm.\n    _internalSetRoutes,\n    _internalSetStateDoNotUseOrYouWillBreakYourApp(newState) {\n      updateState(newState);\n    }\n  };\n  if (init.instrumentations) {\n    router = instrumentClientSideRouter(\n      router,\n      init.instrumentations.map((i) => i.router).filter(Boolean)\n    );\n  }\n  return router;\n}\nfunction createStaticHandler(routes, opts) {\n  invariant(\n    routes.length > 0,\n    \"You must provide a non-empty routes array to createStaticHandler\"\n  );\n  let manifest = {};\n  let basename = (opts ? opts.basename : null) || \"/\";\n  let _mapRouteProperties = opts?.mapRouteProperties || defaultMapRouteProperties;\n  let mapRouteProperties2 = _mapRouteProperties;\n  let future = {\n    ...opts?.future\n  };\n  if (opts?.instrumentations) {\n    let instrumentations = opts.instrumentations;\n    mapRouteProperties2 = (route) => {\n      return {\n        ..._mapRouteProperties(route),\n        ...getRouteInstrumentationUpdates(\n          instrumentations.map((i) => i.route).filter(Boolean),\n          route\n        )\n      };\n    };\n  }\n  let dataRoutes = convertRoutesToDataRoutes(\n    routes,\n    mapRouteProperties2,\n    void 0,\n    manifest\n  );\n  let routeBranches = flattenAndRankRoutes(dataRoutes);\n  async function query(request, {\n    requestContext,\n    filterMatchesToLoad,\n    skipLoaderErrorBubbling,\n    skipRevalidation,\n    dataStrategy,\n    generateMiddlewareResponse,\n    normalizePath\n  } = {}) {\n    let normalizePathImpl = normalizePath || defaultNormalizePath;\n    let method = request.method;\n    let location = createLocation(\n      \"\",\n      normalizePathImpl(request),\n      null,\n      \"default\"\n    );\n    let matches = matchRoutesImpl(\n      dataRoutes,\n      location,\n      basename,\n      false,\n      routeBranches\n    );\n    requestContext = requestContext != null ? requestContext : new RouterContextProvider();\n    if (!isValidMethod(method) && method !== \"HEAD\") {\n      let error = getInternalRouterError(405, { method });\n      let { matches: methodNotAllowedMatches, route } = getShortCircuitMatches(dataRoutes);\n      let staticContext = {\n        basename,\n        location,\n        matches: methodNotAllowedMatches,\n        loaderData: {},\n        actionData: null,\n        errors: {\n          [route.id]: error\n        },\n        statusCode: error.status,\n        loaderHeaders: {},\n        actionHeaders: {}\n      };\n      return generateMiddlewareResponse ? generateMiddlewareResponse(() => Promise.resolve(staticContext)) : staticContext;\n    } else if (!matches) {\n      let error = getInternalRouterError(404, { pathname: location.pathname });\n      let { matches: notFoundMatches, route } = getShortCircuitMatches(dataRoutes);\n      let staticContext = {\n        basename,\n        location,\n        matches: notFoundMatches,\n        loaderData: {},\n        actionData: null,\n        errors: {\n          [route.id]: error\n        },\n        statusCode: error.status,\n        loaderHeaders: {},\n        actionHeaders: {}\n      };\n      return generateMiddlewareResponse ? generateMiddlewareResponse(() => Promise.resolve(staticContext)) : staticContext;\n    }\n    if (generateMiddlewareResponse) {\n      invariant(\n        requestContext instanceof RouterContextProvider,\n        \"When using middleware in `staticHandler.query()`, any provided `requestContext` must be an instance of `RouterContextProvider`\"\n      );\n      try {\n        await loadLazyMiddlewareForMatches(\n          matches,\n          manifest,\n          mapRouteProperties2\n        );\n        let renderedStaticContext;\n        let response = await runServerMiddlewarePipeline(\n          {\n            request,\n            url: createDataFunctionUrl(request, location),\n            pattern: getRoutePattern(matches),\n            matches,\n            params: matches[0].params,\n            // If we're calling middleware then it must be enabled so we can cast\n            // this to the proper type knowing it's not an `AppLoadContext`\n            context: requestContext\n          },\n          async () => {\n            let res = await generateMiddlewareResponse(\n              async (revalidationRequest, opts2 = {}) => {\n                let result2 = await queryImpl(\n                  revalidationRequest,\n                  location,\n                  matches,\n                  requestContext,\n                  dataStrategy || null,\n                  skipLoaderErrorBubbling === true,\n                  null,\n                  \"filterMatchesToLoad\" in opts2 ? opts2.filterMatchesToLoad ?? null : filterMatchesToLoad ?? null,\n                  skipRevalidation === true\n                );\n                if (isResponse(result2)) {\n                  return result2;\n                }\n                renderedStaticContext = { location, basename, ...result2 };\n                return renderedStaticContext;\n              }\n            );\n            return res;\n          },\n          async (error, routeId) => {\n            if (isRedirectResponse(error)) {\n              return error;\n            }\n            if (isResponse(error)) {\n              try {\n                error = new ErrorResponseImpl(\n                  error.status,\n                  error.statusText,\n                  await parseResponseBody(error)\n                );\n              } catch (e) {\n                error = e;\n              }\n            }\n            if (isDataWithResponseInit(error)) {\n              error = dataWithResponseInitToErrorResponse(error);\n            }\n            if (renderedStaticContext) {\n              if (routeId in renderedStaticContext.loaderData) {\n                renderedStaticContext.loaderData[routeId] = void 0;\n              }\n              let staticContext = getStaticContextFromError(\n                dataRoutes,\n                renderedStaticContext,\n                error,\n                skipLoaderErrorBubbling ? routeId : findNearestBoundary(matches, routeId).route.id\n              );\n              return generateMiddlewareResponse(\n                () => Promise.resolve(staticContext)\n              );\n            } else {\n              let boundaryRouteId = skipLoaderErrorBubbling ? routeId : findNearestBoundary(\n                matches,\n                matches.find(\n                  (m) => m.route.id === routeId || m.route.loader\n                )?.route.id || routeId\n              ).route.id;\n              let staticContext = {\n                matches,\n                location,\n                basename,\n                loaderData: {},\n                actionData: null,\n                errors: {\n                  [boundaryRouteId]: error\n                },\n                statusCode: isRouteErrorResponse(error) ? error.status : 500,\n                actionHeaders: {},\n                loaderHeaders: {}\n              };\n              return generateMiddlewareResponse(\n                () => Promise.resolve(staticContext)\n              );\n            }\n          }\n        );\n        invariant(isResponse(response), \"Expected a response in query()\");\n        return response;\n      } catch (e) {\n        if (isResponse(e)) {\n          return e;\n        }\n        throw e;\n      }\n    }\n    let result = await queryImpl(\n      request,\n      location,\n      matches,\n      requestContext,\n      dataStrategy || null,\n      skipLoaderErrorBubbling === true,\n      null,\n      filterMatchesToLoad || null,\n      skipRevalidation === true\n    );\n    if (isResponse(result)) {\n      return result;\n    }\n    return { location, basename, ...result };\n  }\n  async function queryRoute(request, {\n    routeId,\n    requestContext,\n    dataStrategy,\n    generateMiddlewareResponse,\n    normalizePath\n  } = {}) {\n    let normalizePathImpl = normalizePath || defaultNormalizePath;\n    let method = request.method;\n    let location = createLocation(\n      \"\",\n      normalizePathImpl(request),\n      null,\n      \"default\"\n    );\n    let matches = matchRoutesImpl(\n      dataRoutes,\n      location,\n      basename,\n      false,\n      routeBranches\n    );\n    requestContext = requestContext != null ? requestContext : new RouterContextProvider();\n    if (!isValidMethod(method) && method !== \"HEAD\" && method !== \"OPTIONS\") {\n      throw getInternalRouterError(405, { method });\n    } else if (!matches) {\n      throw getInternalRouterError(404, { pathname: location.pathname });\n    }\n    let match = routeId ? matches.find((m) => m.route.id === routeId) : getTargetMatch(matches, location);\n    if (routeId && !match) {\n      throw getInternalRouterError(403, {\n        pathname: location.pathname,\n        routeId\n      });\n    } else if (!match) {\n      throw getInternalRouterError(404, { pathname: location.pathname });\n    }\n    if (generateMiddlewareResponse) {\n      invariant(\n        requestContext instanceof RouterContextProvider,\n        \"When using middleware in `staticHandler.queryRoute()`, any provided `requestContext` must be an instance of `RouterContextProvider`\"\n      );\n      await loadLazyMiddlewareForMatches(matches, manifest, mapRouteProperties2);\n      let response = await runServerMiddlewarePipeline(\n        {\n          request,\n          url: createDataFunctionUrl(request, location),\n          pattern: getRoutePattern(matches),\n          matches,\n          params: matches[0].params,\n          // If we're calling middleware then it must be enabled so we can cast\n          // this to the proper type knowing it's not an `AppLoadContext`\n          context: requestContext\n        },\n        async () => {\n          let res = await generateMiddlewareResponse(\n            async (innerRequest) => {\n              let result2 = await queryImpl(\n                innerRequest,\n                location,\n                matches,\n                requestContext,\n                dataStrategy || null,\n                false,\n                match,\n                null,\n                false\n              );\n              let processed = handleQueryResult(result2);\n              return isResponse(processed) ? processed : typeof processed === \"string\" ? new Response(processed) : Response.json(processed);\n            }\n          );\n          return res;\n        },\n        (error) => {\n          if (isDataWithResponseInit(error)) {\n            return Promise.resolve(dataWithResponseInitToResponse(error));\n          }\n          if (isResponse(error)) {\n            return Promise.resolve(error);\n          }\n          throw error;\n        }\n      );\n      return response;\n    }\n    let result = await queryImpl(\n      request,\n      location,\n      matches,\n      requestContext,\n      dataStrategy || null,\n      false,\n      match,\n      null,\n      false\n    );\n    return handleQueryResult(result);\n    function handleQueryResult(result2) {\n      if (isResponse(result2)) {\n        return result2;\n      }\n      let error = result2.errors ? Object.values(result2.errors)[0] : void 0;\n      if (error !== void 0) {\n        throw error;\n      }\n      if (result2.actionData) {\n        return Object.values(result2.actionData)[0];\n      }\n      if (result2.loaderData) {\n        return Object.values(result2.loaderData)[0];\n      }\n      return void 0;\n    }\n  }\n  async function queryImpl(request, location, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch, filterMatchesToLoad, skipRevalidation) {\n    invariant(\n      request.signal,\n      \"query()/queryRoute() requests must contain an AbortController signal\"\n    );\n    try {\n      if (isMutationMethod(request.method)) {\n        let result2 = await submit(\n          request,\n          location,\n          matches,\n          routeMatch || getTargetMatch(matches, location),\n          requestContext,\n          dataStrategy,\n          skipLoaderErrorBubbling,\n          routeMatch != null,\n          filterMatchesToLoad,\n          skipRevalidation\n        );\n        return result2;\n      }\n      let result = await loadRouteData(\n        request,\n        location,\n        matches,\n        requestContext,\n        dataStrategy,\n        skipLoaderErrorBubbling,\n        routeMatch,\n        filterMatchesToLoad\n      );\n      return isResponse(result) ? result : {\n        ...result,\n        actionData: null,\n        actionHeaders: {}\n      };\n    } catch (e) {\n      if (isDataStrategyResult(e) && isResponse(e.result)) {\n        if (e.type === \"error\" /* error */) {\n          throw e.result;\n        }\n        return e.result;\n      }\n      if (isRedirectResponse(e)) {\n        return e;\n      }\n      throw e;\n    }\n  }\n  async function submit(request, location, matches, actionMatch, requestContext, dataStrategy, skipLoaderErrorBubbling, isRouteRequest, filterMatchesToLoad, skipRevalidation) {\n    let result;\n    if (!actionMatch.route.action && !actionMatch.route.lazy) {\n      let error = getInternalRouterError(405, {\n        method: request.method,\n        pathname: new URL(request.url).pathname,\n        routeId: actionMatch.route.id\n      });\n      if (isRouteRequest) {\n        throw error;\n      }\n      result = {\n        type: \"error\" /* error */,\n        error\n      };\n    } else {\n      let dsMatches = getTargetedDataStrategyMatches(\n        mapRouteProperties2,\n        manifest,\n        request,\n        location,\n        matches,\n        actionMatch,\n        [],\n        requestContext\n      );\n      let results = await callDataStrategy(\n        request,\n        location,\n        dsMatches,\n        isRouteRequest,\n        requestContext,\n        dataStrategy\n      );\n      result = results[actionMatch.route.id];\n      if (request.signal.aborted) {\n        throwStaticHandlerAbortedError(request, isRouteRequest);\n      }\n    }\n    if (isRedirectResult(result)) {\n      throw new Response(null, {\n        status: result.response.status,\n        headers: {\n          Location: result.response.headers.get(\"Location\")\n        }\n      });\n    }\n    if (isRouteRequest) {\n      if (isErrorResult(result)) {\n        throw result.error;\n      }\n      return {\n        matches: [actionMatch],\n        loaderData: {},\n        actionData: { [actionMatch.route.id]: result.data },\n        errors: null,\n        // Note: statusCode + headers are unused here since queryRoute will\n        // return the raw Response or value\n        statusCode: 200,\n        loaderHeaders: {},\n        actionHeaders: {}\n      };\n    }\n    if (skipRevalidation) {\n      if (isErrorResult(result)) {\n        let boundaryMatch = skipLoaderErrorBubbling ? actionMatch : findNearestBoundary(matches, actionMatch.route.id);\n        return {\n          statusCode: isRouteErrorResponse(result.error) ? result.error.status : result.statusCode != null ? result.statusCode : 500,\n          actionData: null,\n          actionHeaders: {\n            ...result.headers ? { [actionMatch.route.id]: result.headers } : {}\n          },\n          matches,\n          loaderData: {},\n          errors: {\n            [boundaryMatch.route.id]: result.error\n          },\n          loaderHeaders: {}\n        };\n      } else {\n        return {\n          actionData: {\n            [actionMatch.route.id]: result.data\n          },\n          actionHeaders: result.headers ? { [actionMatch.route.id]: result.headers } : {},\n          matches,\n          loaderData: {},\n          errors: null,\n          statusCode: result.statusCode || 200,\n          loaderHeaders: {}\n        };\n      }\n    }\n    let loaderRequest = new Request(request.url, {\n      headers: request.headers,\n      redirect: request.redirect,\n      signal: request.signal\n    });\n    if (isErrorResult(result)) {\n      let boundaryMatch = skipLoaderErrorBubbling ? actionMatch : findNearestBoundary(matches, actionMatch.route.id);\n      let handlerContext2 = await loadRouteData(\n        loaderRequest,\n        location,\n        matches,\n        requestContext,\n        dataStrategy,\n        skipLoaderErrorBubbling,\n        null,\n        filterMatchesToLoad,\n        [boundaryMatch.route.id, result]\n      );\n      return {\n        ...handlerContext2,\n        statusCode: isRouteErrorResponse(result.error) ? result.error.status : result.statusCode != null ? result.statusCode : 500,\n        actionData: null,\n        actionHeaders: {\n          ...result.headers ? { [actionMatch.route.id]: result.headers } : {}\n        }\n      };\n    }\n    let handlerContext = await loadRouteData(\n      loaderRequest,\n      location,\n      matches,\n      requestContext,\n      dataStrategy,\n      skipLoaderErrorBubbling,\n      null,\n      filterMatchesToLoad\n    );\n    return {\n      ...handlerContext,\n      actionData: {\n        [actionMatch.route.id]: result.data\n      },\n      // action status codes take precedence over loader status codes\n      ...result.statusCode ? { statusCode: result.statusCode } : {},\n      actionHeaders: result.headers ? { [actionMatch.route.id]: result.headers } : {}\n    };\n  }\n  async function loadRouteData(request, location, matches, requestContext, dataStrategy, skipLoaderErrorBubbling, routeMatch, filterMatchesToLoad, pendingActionResult) {\n    let isRouteRequest = routeMatch != null;\n    if (isRouteRequest && !routeMatch?.route.loader && !routeMatch?.route.lazy) {\n      throw getInternalRouterError(400, {\n        method: request.method,\n        pathname: new URL(request.url).pathname,\n        routeId: routeMatch?.route.id\n      });\n    }\n    let dsMatches;\n    if (routeMatch) {\n      dsMatches = getTargetedDataStrategyMatches(\n        mapRouteProperties2,\n        manifest,\n        request,\n        location,\n        matches,\n        routeMatch,\n        [],\n        requestContext\n      );\n    } else {\n      let maxIdx = pendingActionResult && isErrorResult(pendingActionResult[1]) ? (\n        // Up to but not including the boundary\n        matches.findIndex((m) => m.route.id === pendingActionResult[0]) - 1\n      ) : void 0;\n      let pattern = getRoutePattern(matches);\n      dsMatches = matches.map((match, index) => {\n        if (maxIdx != null && index > maxIdx) {\n          return getDataStrategyMatch(\n            mapRouteProperties2,\n            manifest,\n            request,\n            location,\n            pattern,\n            match,\n            [],\n            requestContext,\n            false\n          );\n        }\n        return getDataStrategyMatch(\n          mapRouteProperties2,\n          manifest,\n          request,\n          location,\n          pattern,\n          match,\n          [],\n          requestContext,\n          (match.route.loader || match.route.lazy) != null && (!filterMatchesToLoad || filterMatchesToLoad(match))\n        );\n      });\n    }\n    if (!dataStrategy && !dsMatches.some((m) => m.shouldLoad)) {\n      return {\n        matches,\n        loaderData: {},\n        errors: pendingActionResult && isErrorResult(pendingActionResult[1]) ? {\n          [pendingActionResult[0]]: pendingActionResult[1].error\n        } : null,\n        statusCode: 200,\n        loaderHeaders: {}\n      };\n    }\n    let results = await callDataStrategy(\n      request,\n      location,\n      dsMatches,\n      isRouteRequest,\n      requestContext,\n      dataStrategy\n    );\n    if (request.signal.aborted) {\n      throwStaticHandlerAbortedError(request, isRouteRequest);\n    }\n    let handlerContext = processRouteLoaderData(\n      matches,\n      results,\n      pendingActionResult,\n      true,\n      skipLoaderErrorBubbling\n    );\n    return {\n      ...handlerContext,\n      matches\n    };\n  }\n  async function callDataStrategy(request, location, matches, isRouteRequest, requestContext, dataStrategy) {\n    let results = await callDataStrategyImpl(\n      dataStrategy || defaultDataStrategy,\n      request,\n      location,\n      matches,\n      null,\n      requestContext,\n      true\n    );\n    let dataResults = {};\n    await Promise.all(\n      matches.map(async (match) => {\n        if (!(match.route.id in results)) {\n          return;\n        }\n        let result = results[match.route.id];\n        if (isRedirectDataStrategyResult(result)) {\n          let response = result.result;\n          throw normalizeRelativeRoutingRedirectResponse(\n            response,\n            request,\n            match.route.id,\n            matches,\n            basename\n          );\n        }\n        if (isRouteRequest) {\n          if (isResponse(result.result)) {\n            throw result;\n          } else if (isDataWithResponseInit(result.result)) {\n            throw dataWithResponseInitToResponse(result.result);\n          }\n        }\n        dataResults[match.route.id] = await convertDataStrategyResultToDataResult(result);\n      })\n    );\n    return dataResults;\n  }\n  return {\n    dataRoutes,\n    _internalRouteBranches: routeBranches,\n    query,\n    queryRoute\n  };\n}\nfunction getStaticContextFromError(routes, handlerContext, error, boundaryId) {\n  let errorBoundaryId = boundaryId || handlerContext._deepestRenderedBoundaryId || routes[0].id;\n  return {\n    ...handlerContext,\n    statusCode: isRouteErrorResponse(error) ? error.status : 500,\n    errors: {\n      [errorBoundaryId]: error\n    }\n  };\n}\nfunction throwStaticHandlerAbortedError(request, isRouteRequest) {\n  if (request.signal.reason !== void 0) {\n    throw request.signal.reason;\n  }\n  let method = isRouteRequest ? \"queryRoute\" : \"query\";\n  throw new Error(\n    `${method}() call aborted without an \\`AbortSignal.reason\\`: ${request.method} ${request.url}`\n  );\n}\nfunction isSubmissionNavigation(opts) {\n  return opts != null && (\"formData\" in opts && opts.formData != null || \"body\" in opts && opts.body !== void 0);\n}\nfunction defaultNormalizePath(request) {\n  let url = new URL(request.url);\n  return {\n    pathname: url.pathname,\n    search: url.search,\n    hash: url.hash\n  };\n}\nfunction normalizeTo(location, matches, basename, to, fromRouteId, relative) {\n  let contextualMatches;\n  let activeRouteMatch;\n  if (fromRouteId) {\n    contextualMatches = [];\n    for (let match of matches) {\n      contextualMatches.push(match);\n      if (match.route.id === fromRouteId) {\n        activeRouteMatch = match;\n        break;\n      }\n    }\n  } else {\n    contextualMatches = matches;\n    activeRouteMatch = matches[matches.length - 1];\n  }\n  let path = resolveTo(\n    to ? to : \".\",\n    getResolveToMatches(contextualMatches),\n    stripBasename(location.pathname, basename) || location.pathname,\n    relative === \"path\"\n  );\n  if (to == null) {\n    path.search = location.search;\n    path.hash = location.hash;\n  }\n  if ((to == null || to === \"\" || to === \".\") && activeRouteMatch) {\n    let nakedIndex = hasNakedIndexQuery(path.search);\n    if (activeRouteMatch.route.index && !nakedIndex) {\n      path.search = path.search ? path.search.replace(/^\\?/, \"?index&\") : \"?index\";\n    } else if (!activeRouteMatch.route.index && nakedIndex) {\n      let params = new URLSearchParams(path.search);\n      let indexValues = params.getAll(\"index\");\n      params.delete(\"index\");\n      indexValues.filter((v) => v).forEach((v) => params.append(\"index\", v));\n      let qs = params.toString();\n      path.search = qs ? `?${qs}` : \"\";\n    }\n  }\n  if (basename !== \"/\") {\n    path.pathname = prependBasename({ basename, pathname: path.pathname });\n  }\n  return createPath(path);\n}\nfunction normalizeNavigateOptions(isFetcher, path, opts) {\n  if (!opts || !isSubmissionNavigation(opts)) {\n    return { path };\n  }\n  if (opts.formMethod && !isValidMethod(opts.formMethod)) {\n    return {\n      path,\n      error: getInternalRouterError(405, { method: opts.formMethod })\n    };\n  }\n  let getInvalidBodyError = () => ({\n    path,\n    error: getInternalRouterError(400, { type: \"invalid-body\" })\n  });\n  let rawFormMethod = opts.formMethod || \"get\";\n  let formMethod = rawFormMethod.toUpperCase();\n  let formAction = stripHashFromPath(path);\n  if (opts.body !== void 0) {\n    if (opts.formEncType === \"text/plain\") {\n      if (!isMutationMethod(formMethod)) {\n        return getInvalidBodyError();\n      }\n      let text = typeof opts.body === \"string\" ? opts.body : opts.body instanceof FormData || opts.body instanceof URLSearchParams ? (\n        // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#plain-text-form-data\n        Array.from(opts.body.entries()).reduce(\n          (acc, [name, value]) => `${acc}${name}=${value}\n`,\n          \"\"\n        )\n      ) : String(opts.body);\n      return {\n        path,\n        submission: {\n          formMethod,\n          formAction,\n          formEncType: opts.formEncType,\n          formData: void 0,\n          json: void 0,\n          text\n        }\n      };\n    } else if (opts.formEncType === \"application/json\") {\n      if (!isMutationMethod(formMethod)) {\n        return getInvalidBodyError();\n      }\n      try {\n        let json = typeof opts.body === \"string\" ? JSON.parse(opts.body) : opts.body;\n        return {\n          path,\n          submission: {\n            formMethod,\n            formAction,\n            formEncType: opts.formEncType,\n            formData: void 0,\n            json,\n            text: void 0\n          }\n        };\n      } catch (e) {\n        return getInvalidBodyError();\n      }\n    }\n  }\n  invariant(\n    typeof FormData === \"function\",\n    \"FormData is not available in this environment\"\n  );\n  let searchParams;\n  let formData;\n  if (opts.formData) {\n    searchParams = convertFormDataToSearchParams(opts.formData);\n    formData = opts.formData;\n  } else if (opts.body instanceof FormData) {\n    searchParams = convertFormDataToSearchParams(opts.body);\n    formData = opts.body;\n  } else if (opts.body instanceof URLSearchParams) {\n    searchParams = opts.body;\n    formData = convertSearchParamsToFormData(searchParams);\n  } else if (opts.body == null) {\n    searchParams = new URLSearchParams();\n    formData = new FormData();\n  } else {\n    try {\n      searchParams = new URLSearchParams(opts.body);\n      formData = convertSearchParamsToFormData(searchParams);\n    } catch (e) {\n      return getInvalidBodyError();\n    }\n  }\n  let submission = {\n    formMethod,\n    formAction,\n    formEncType: opts && opts.formEncType || \"application/x-www-form-urlencoded\",\n    formData,\n    json: void 0,\n    text: void 0\n  };\n  if (isMutationMethod(submission.formMethod)) {\n    return { path, submission };\n  }\n  let parsedPath = parsePath(path);\n  if (isFetcher && parsedPath.search && hasNakedIndexQuery(parsedPath.search)) {\n    searchParams.append(\"index\", \"\");\n  }\n  parsedPath.search = `?${searchParams}`;\n  return { path: createPath(parsedPath), submission };\n}\nfunction getMatchesToLoad(request, scopedContext, mapRouteProperties2, manifest, history, state, matches, submission, location, lazyRoutePropertiesToSkip, initialHydration, isRevalidationRequired, cancelledFetcherLoads, fetchersQueuedForDeletion, fetchLoadMatches, fetchRedirectIds, routesToUse, basename, hasPatchRoutesOnNavigation, branches, pendingActionResult, callSiteDefaultShouldRevalidate) {\n  let actionResult = pendingActionResult ? isErrorResult(pendingActionResult[1]) ? pendingActionResult[1].error : pendingActionResult[1].data : void 0;\n  let currentUrl = history.createURL(state.location);\n  let nextUrl = history.createURL(location);\n  let maxIdx;\n  if (initialHydration && state.errors) {\n    let boundaryId = Object.keys(state.errors)[0];\n    maxIdx = matches.findIndex((m) => m.route.id === boundaryId);\n  } else if (pendingActionResult && isErrorResult(pendingActionResult[1])) {\n    let boundaryId = pendingActionResult[0];\n    maxIdx = matches.findIndex((m) => m.route.id === boundaryId) - 1;\n  }\n  let actionStatus = pendingActionResult ? pendingActionResult[1].statusCode : void 0;\n  let shouldSkipRevalidation = actionStatus && actionStatus >= 400;\n  let baseShouldRevalidateArgs = {\n    currentUrl,\n    currentParams: state.matches[0]?.params || {},\n    nextUrl,\n    nextParams: matches[0].params,\n    ...submission,\n    actionResult,\n    actionStatus\n  };\n  let pattern = getRoutePattern(matches);\n  let dsMatches = matches.map((match, index) => {\n    let { route } = match;\n    let forceShouldLoad = null;\n    if (maxIdx != null && index > maxIdx) {\n      forceShouldLoad = false;\n    } else if (route.lazy) {\n      forceShouldLoad = true;\n    } else if (!routeHasLoaderOrMiddleware(route)) {\n      forceShouldLoad = false;\n    } else if (initialHydration) {\n      let { shouldLoad: shouldLoad2 } = getRouteHydrationStatus(\n        route,\n        state.loaderData,\n        state.errors\n      );\n      forceShouldLoad = shouldLoad2;\n    } else if (isNewLoader(state.loaderData, state.matches[index], match)) {\n      forceShouldLoad = true;\n    }\n    if (forceShouldLoad !== null) {\n      return getDataStrategyMatch(\n        mapRouteProperties2,\n        manifest,\n        request,\n        location,\n        pattern,\n        match,\n        lazyRoutePropertiesToSkip,\n        scopedContext,\n        forceShouldLoad\n      );\n    }\n    let defaultShouldRevalidate = false;\n    if (typeof callSiteDefaultShouldRevalidate === \"boolean\") {\n      defaultShouldRevalidate = callSiteDefaultShouldRevalidate;\n    } else if (shouldSkipRevalidation) {\n      defaultShouldRevalidate = false;\n    } else if (isRevalidationRequired) {\n      defaultShouldRevalidate = true;\n    } else if (currentUrl.pathname + currentUrl.search === nextUrl.pathname + nextUrl.search) {\n      defaultShouldRevalidate = true;\n    } else if (currentUrl.search !== nextUrl.search) {\n      defaultShouldRevalidate = true;\n    } else if (isNewRouteInstance(state.matches[index], match)) {\n      defaultShouldRevalidate = true;\n    }\n    let shouldRevalidateArgs = {\n      ...baseShouldRevalidateArgs,\n      defaultShouldRevalidate\n    };\n    let shouldLoad = shouldRevalidateLoader(match, shouldRevalidateArgs);\n    return getDataStrategyMatch(\n      mapRouteProperties2,\n      manifest,\n      request,\n      location,\n      pattern,\n      match,\n      lazyRoutePropertiesToSkip,\n      scopedContext,\n      shouldLoad,\n      shouldRevalidateArgs,\n      callSiteDefaultShouldRevalidate\n    );\n  });\n  let revalidatingFetchers = [];\n  fetchLoadMatches.forEach((f, key) => {\n    if (initialHydration || !matches.some((m) => m.route.id === f.routeId) || fetchersQueuedForDeletion.has(key)) {\n      return;\n    }\n    let fetcher = state.fetchers.get(key);\n    let isMidInitialLoad = fetcher && fetcher.state !== \"idle\" && fetcher.data === void 0;\n    let fetcherMatches = matchRoutesImpl(\n      routesToUse,\n      f.path,\n      basename ?? \"/\",\n      false,\n      branches\n    );\n    if (!fetcherMatches) {\n      if (hasPatchRoutesOnNavigation && isMidInitialLoad) {\n        return;\n      }\n      revalidatingFetchers.push({\n        key,\n        routeId: f.routeId,\n        path: f.path,\n        matches: null,\n        match: null,\n        request: null,\n        controller: null\n      });\n      return;\n    }\n    if (fetchRedirectIds.has(key)) {\n      return;\n    }\n    let fetcherMatch = getTargetMatch(fetcherMatches, f.path);\n    let fetchController = new AbortController();\n    let fetchRequest = createClientSideRequest(\n      history,\n      f.path,\n      fetchController.signal\n    );\n    let fetcherDsMatches = null;\n    if (cancelledFetcherLoads.has(key)) {\n      cancelledFetcherLoads.delete(key);\n      fetcherDsMatches = getTargetedDataStrategyMatches(\n        mapRouteProperties2,\n        manifest,\n        fetchRequest,\n        f.path,\n        fetcherMatches,\n        fetcherMatch,\n        lazyRoutePropertiesToSkip,\n        scopedContext\n      );\n    } else if (isMidInitialLoad) {\n      if (isRevalidationRequired) {\n        fetcherDsMatches = getTargetedDataStrategyMatches(\n          mapRouteProperties2,\n          manifest,\n          fetchRequest,\n          f.path,\n          fetcherMatches,\n          fetcherMatch,\n          lazyRoutePropertiesToSkip,\n          scopedContext\n        );\n      }\n    } else {\n      let defaultShouldRevalidate;\n      if (typeof callSiteDefaultShouldRevalidate === \"boolean\") {\n        defaultShouldRevalidate = callSiteDefaultShouldRevalidate;\n      } else if (shouldSkipRevalidation) {\n        defaultShouldRevalidate = false;\n      } else {\n        defaultShouldRevalidate = isRevalidationRequired;\n      }\n      let shouldRevalidateArgs = {\n        ...baseShouldRevalidateArgs,\n        defaultShouldRevalidate\n      };\n      if (shouldRevalidateLoader(fetcherMatch, shouldRevalidateArgs)) {\n        fetcherDsMatches = getTargetedDataStrategyMatches(\n          mapRouteProperties2,\n          manifest,\n          fetchRequest,\n          f.path,\n          fetcherMatches,\n          fetcherMatch,\n          lazyRoutePropertiesToSkip,\n          scopedContext,\n          shouldRevalidateArgs\n        );\n      }\n    }\n    if (fetcherDsMatches) {\n      revalidatingFetchers.push({\n        key,\n        routeId: f.routeId,\n        path: f.path,\n        matches: fetcherDsMatches,\n        match: fetcherMatch,\n        request: fetchRequest,\n        controller: fetchController\n      });\n    }\n  });\n  return { dsMatches, revalidatingFetchers };\n}\nfunction routeHasLoaderOrMiddleware(route) {\n  return route.loader != null || route.middleware != null && route.middleware.length > 0;\n}\nfunction getRouteHydrationStatus(route, loaderData, errors) {\n  if (route.lazy) {\n    return { shouldLoad: true, renderFallback: true };\n  }\n  if (!routeHasLoaderOrMiddleware(route)) {\n    return { shouldLoad: false, renderFallback: false };\n  }\n  let hasData = loaderData != null && route.id in loaderData;\n  let hasError = errors != null && errors[route.id] !== void 0;\n  if (!hasData && hasError) {\n    return { shouldLoad: false, renderFallback: false };\n  }\n  if (typeof route.loader === \"function\" && route.loader.hydrate === true) {\n    return { shouldLoad: true, renderFallback: !hasData };\n  }\n  let shouldLoad = !hasData && !hasError;\n  return { shouldLoad, renderFallback: shouldLoad };\n}\nfunction isNewLoader(currentLoaderData, currentMatch, match) {\n  let isNew = (\n    // [a] -> [a, b]\n    !currentMatch || // [a, b] -> [a, c]\n    match.route.id !== currentMatch.route.id\n  );\n  let isMissingData = !currentLoaderData.hasOwnProperty(match.route.id);\n  return isNew || isMissingData;\n}\nfunction isNewRouteInstance(currentMatch, match) {\n  let currentPath = currentMatch.route.path;\n  return (\n    // param change for this match, /users/123 -> /users/456\n    currentMatch.pathname !== match.pathname || // splat param changed, which is not present in match.path\n    // e.g. /files/images/avatar.jpg -> files/finances.xls\n    currentPath != null && currentPath.endsWith(\"*\") && currentMatch.params[\"*\"] !== match.params[\"*\"]\n  );\n}\nfunction shouldRevalidateLoader(loaderMatch, arg) {\n  if (loaderMatch.route.shouldRevalidate) {\n    let routeChoice = loaderMatch.route.shouldRevalidate(arg);\n    if (typeof routeChoice === \"boolean\") {\n      return routeChoice;\n    }\n  }\n  return arg.defaultShouldRevalidate;\n}\nfunction patchRoutesImpl(routeId, children, dataRoutes, manifest, mapRouteProperties2, allowElementMutations) {\n  let childrenToPatch;\n  if (routeId) {\n    let route = manifest[routeId];\n    invariant(\n      route,\n      `No route found to patch children into: routeId = ${routeId}`\n    );\n    if (!route.children) {\n      route.children = [];\n    }\n    childrenToPatch = route.children;\n  } else {\n    childrenToPatch = dataRoutes.activeRoutes;\n  }\n  let uniqueChildren = [];\n  let existingChildren = [];\n  children.forEach((newRoute) => {\n    let existingRoute = childrenToPatch.find(\n      (existingRoute2) => isSameRoute(newRoute, existingRoute2)\n    );\n    if (existingRoute) {\n      existingChildren.push({ existingRoute, newRoute });\n    } else {\n      uniqueChildren.push(newRoute);\n    }\n  });\n  if (uniqueChildren.length > 0) {\n    let newRoutes = convertRoutesToDataRoutes(\n      uniqueChildren,\n      mapRouteProperties2,\n      [routeId || \"_\", \"patch\", String(childrenToPatch?.length || \"0\")],\n      manifest\n    );\n    childrenToPatch.push(...newRoutes);\n  }\n  if (allowElementMutations && existingChildren.length > 0) {\n    for (let i = 0; i < existingChildren.length; i++) {\n      let { existingRoute, newRoute } = existingChildren[i];\n      let existingRouteTyped = existingRoute;\n      let [newRouteTyped] = convertRoutesToDataRoutes(\n        [newRoute],\n        mapRouteProperties2,\n        [],\n        // Doesn't matter for mutated routes since they already have an id\n        {},\n        // Don't touch the manifest here since we're updating in place\n        true\n      );\n      Object.assign(existingRouteTyped, {\n        element: newRouteTyped.element ? newRouteTyped.element : existingRouteTyped.element,\n        errorElement: newRouteTyped.errorElement ? newRouteTyped.errorElement : existingRouteTyped.errorElement,\n        hydrateFallbackElement: newRouteTyped.hydrateFallbackElement ? newRouteTyped.hydrateFallbackElement : existingRouteTyped.hydrateFallbackElement\n      });\n    }\n  }\n  if (!dataRoutes.hasHMRRoutes) {\n    dataRoutes.setRoutes([...dataRoutes.activeRoutes]);\n  }\n}\nfunction isSameRoute(newRoute, existingRoute) {\n  if (\"id\" in newRoute && \"id\" in existingRoute && newRoute.id === existingRoute.id) {\n    return true;\n  }\n  if (!(newRoute.index === existingRoute.index && newRoute.path === existingRoute.path && newRoute.caseSensitive === existingRoute.caseSensitive)) {\n    return false;\n  }\n  if ((!newRoute.children || newRoute.children.length === 0) && (!existingRoute.children || existingRoute.children.length === 0)) {\n    return true;\n  }\n  return newRoute.children?.every(\n    (aChild, i) => existingRoute.children?.some((bChild) => isSameRoute(aChild, bChild))\n  ) ?? false;\n}\nvar lazyRoutePropertyCache = /* @__PURE__ */ new WeakMap();\nvar loadLazyRouteProperty = ({\n  key,\n  route,\n  manifest,\n  mapRouteProperties: mapRouteProperties2\n}) => {\n  let routeToUpdate = manifest[route.id];\n  invariant(routeToUpdate, \"No route found in manifest\");\n  if (!routeToUpdate.lazy || typeof routeToUpdate.lazy !== \"object\") {\n    return;\n  }\n  let lazyFn = routeToUpdate.lazy[key];\n  if (!lazyFn) {\n    return;\n  }\n  let cache = lazyRoutePropertyCache.get(routeToUpdate);\n  if (!cache) {\n    cache = {};\n    lazyRoutePropertyCache.set(routeToUpdate, cache);\n  }\n  let cachedPromise = cache[key];\n  if (cachedPromise) {\n    return cachedPromise;\n  }\n  let propertyPromise = (async () => {\n    let isUnsupported = isUnsupportedLazyRouteObjectKey(key);\n    let staticRouteValue = routeToUpdate[key];\n    let isStaticallyDefined = staticRouteValue !== void 0 && key !== \"hasErrorBoundary\";\n    if (isUnsupported) {\n      warning(\n        !isUnsupported,\n        \"Route property \" + key + \" is not a supported lazy route property. This property will be ignored.\"\n      );\n      cache[key] = Promise.resolve();\n    } else if (isStaticallyDefined) {\n      warning(\n        false,\n        `Route \"${routeToUpdate.id}\" has a static property \"${key}\" defined. The lazy property will be ignored.`\n      );\n    } else {\n      let value = await lazyFn();\n      if (value != null) {\n        Object.assign(routeToUpdate, { [key]: value });\n        Object.assign(routeToUpdate, mapRouteProperties2(routeToUpdate));\n      }\n    }\n    if (typeof routeToUpdate.lazy === \"object\") {\n      routeToUpdate.lazy[key] = void 0;\n      if (Object.values(routeToUpdate.lazy).every((value) => value === void 0)) {\n        routeToUpdate.lazy = void 0;\n      }\n    }\n  })();\n  cache[key] = propertyPromise;\n  return propertyPromise;\n};\nvar lazyRouteFunctionCache = /* @__PURE__ */ new WeakMap();\nfunction loadLazyRoute(route, type, manifest, mapRouteProperties2, lazyRoutePropertiesToSkip) {\n  let routeToUpdate = manifest[route.id];\n  invariant(routeToUpdate, \"No route found in manifest\");\n  if (!route.lazy) {\n    return {\n      lazyRoutePromise: void 0,\n      lazyHandlerPromise: void 0\n    };\n  }\n  if (typeof route.lazy === \"function\") {\n    let cachedPromise = lazyRouteFunctionCache.get(routeToUpdate);\n    if (cachedPromise) {\n      return {\n        lazyRoutePromise: cachedPromise,\n        lazyHandlerPromise: cachedPromise\n      };\n    }\n    let lazyRoutePromise2 = (async () => {\n      invariant(\n        typeof route.lazy === \"function\",\n        \"No lazy route function found\"\n      );\n      let lazyRoute = await route.lazy();\n      let routeUpdates = {};\n      for (let lazyRouteProperty in lazyRoute) {\n        let lazyValue = lazyRoute[lazyRouteProperty];\n        if (lazyValue === void 0) {\n          continue;\n        }\n        let isUnsupported = isUnsupportedLazyRouteFunctionKey(lazyRouteProperty);\n        let staticRouteValue = routeToUpdate[lazyRouteProperty];\n        let isStaticallyDefined = staticRouteValue !== void 0 && // This property isn't static since it should always be updated based\n        // on the route updates\n        lazyRouteProperty !== \"hasErrorBoundary\";\n        if (isUnsupported) {\n          warning(\n            !isUnsupported,\n            \"Route property \" + lazyRouteProperty + \" is not a supported property to be returned from a lazy route function. This property will be ignored.\"\n          );\n        } else if (isStaticallyDefined) {\n          warning(\n            !isStaticallyDefined,\n            `Route \"${routeToUpdate.id}\" has a static property \"${lazyRouteProperty}\" defined but its lazy function is also returning a value for this property. The lazy route property \"${lazyRouteProperty}\" will be ignored.`\n          );\n        } else {\n          routeUpdates[lazyRouteProperty] = lazyValue;\n        }\n      }\n      Object.assign(routeToUpdate, routeUpdates);\n      Object.assign(routeToUpdate, {\n        // To keep things framework agnostic, we use the provided `mapRouteProperties`\n        // function to set the framework-aware properties (`element`/`hasErrorBoundary`)\n        // since the logic will differ between frameworks.\n        ...mapRouteProperties2(routeToUpdate),\n        lazy: void 0\n      });\n    })();\n    lazyRouteFunctionCache.set(routeToUpdate, lazyRoutePromise2);\n    lazyRoutePromise2.catch(() => {\n    });\n    return {\n      lazyRoutePromise: lazyRoutePromise2,\n      lazyHandlerPromise: lazyRoutePromise2\n    };\n  }\n  let lazyKeys = Object.keys(route.lazy);\n  let lazyPropertyPromises = [];\n  let lazyHandlerPromise = void 0;\n  for (let key of lazyKeys) {\n    if (lazyRoutePropertiesToSkip && lazyRoutePropertiesToSkip.includes(key)) {\n      continue;\n    }\n    let promise = loadLazyRouteProperty({\n      key,\n      route,\n      manifest,\n      mapRouteProperties: mapRouteProperties2\n    });\n    if (promise) {\n      lazyPropertyPromises.push(promise);\n      if (key === type) {\n        lazyHandlerPromise = promise;\n      }\n    }\n  }\n  let lazyRoutePromise = lazyPropertyPromises.length > 0 ? Promise.all(lazyPropertyPromises).then(() => {\n  }) : void 0;\n  lazyRoutePromise?.catch(() => {\n  });\n  lazyHandlerPromise?.catch(() => {\n  });\n  return {\n    lazyRoutePromise,\n    lazyHandlerPromise\n  };\n}\nfunction isNonNullable(value) {\n  return value !== void 0;\n}\nfunction loadLazyMiddlewareForMatches(matches, manifest, mapRouteProperties2) {\n  let promises = matches.map(({ route }) => {\n    if (typeof route.lazy !== \"object\" || !route.lazy.middleware) {\n      return void 0;\n    }\n    return loadLazyRouteProperty({\n      key: \"middleware\",\n      route,\n      manifest,\n      mapRouteProperties: mapRouteProperties2\n    });\n  }).filter(isNonNullable);\n  return promises.length > 0 ? Promise.all(promises) : void 0;\n}\nasync function defaultDataStrategy(args) {\n  let matchesToLoad = args.matches.filter((m) => m.shouldLoad);\n  let keyedResults = {};\n  let results = await Promise.all(matchesToLoad.map((m) => m.resolve()));\n  results.forEach((result, i) => {\n    keyedResults[matchesToLoad[i].route.id] = result;\n  });\n  return keyedResults;\n}\nasync function defaultDataStrategyWithMiddleware(args) {\n  if (!args.matches.some((m) => m.route.middleware)) {\n    return defaultDataStrategy(args);\n  }\n  return runClientMiddlewarePipeline(args, () => defaultDataStrategy(args));\n}\nfunction runServerMiddlewarePipeline(args, handler, errorHandler) {\n  return runMiddlewarePipeline(\n    args,\n    handler,\n    processResult,\n    isResponse,\n    errorHandler\n  );\n  function processResult(result) {\n    return isDataWithResponseInit(result) ? dataWithResponseInitToResponse(result) : result;\n  }\n}\nfunction runClientMiddlewarePipeline(args, handler) {\n  return runMiddlewarePipeline(\n    args,\n    handler,\n    (r) => {\n      if (isRedirectResponse(r)) {\n        throw r;\n      }\n      return r;\n    },\n    isDataStrategyResults,\n    errorHandler\n  );\n  function errorHandler(error, routeId, nextResult) {\n    if (nextResult) {\n      return Promise.resolve(\n        Object.assign(nextResult.value, {\n          [routeId]: { type: \"error\", result: error }\n        })\n      );\n    } else {\n      let { matches } = args;\n      let maxBoundaryIdx = Math.min(\n        // Throwing route\n        Math.max(\n          matches.findIndex((m) => m.route.id === routeId),\n          0\n        ),\n        // or the shallowest route that needs to load data\n        Math.max(\n          matches.findIndex((m) => m.shouldCallHandler()),\n          0\n        )\n      );\n      let boundaryRouteId = findNearestBoundary(\n        matches,\n        matches[maxBoundaryIdx].route.id\n      ).route.id;\n      return Promise.resolve({\n        [boundaryRouteId]: { type: \"error\", result: error }\n      });\n    }\n  }\n}\nasync function runMiddlewarePipeline(args, handler, processResult, isResult, errorHandler) {\n  let { matches, ...dataFnArgs } = args;\n  let tuples = matches.flatMap(\n    (m) => m.route.middleware ? m.route.middleware.map((fn) => [m.route.id, fn]) : []\n  );\n  let result = await callRouteMiddleware(\n    dataFnArgs,\n    tuples,\n    handler,\n    processResult,\n    isResult,\n    errorHandler\n  );\n  return result;\n}\nasync function callRouteMiddleware(args, middlewares, handler, processResult, isResult, errorHandler, idx = 0) {\n  let { request } = args;\n  if (request.signal.aborted) {\n    throw request.signal.reason ?? new Error(`Request aborted: ${request.method} ${request.url}`);\n  }\n  let tuple = middlewares[idx];\n  if (!tuple) {\n    let result = await handler();\n    return result;\n  }\n  let [routeId, middleware] = tuple;\n  let nextResult;\n  let next = async () => {\n    if (nextResult) {\n      throw new Error(\"You may only call `next()` once per middleware\");\n    }\n    try {\n      let result = await callRouteMiddleware(\n        args,\n        middlewares,\n        handler,\n        processResult,\n        isResult,\n        errorHandler,\n        idx + 1\n      );\n      nextResult = { value: result };\n      return nextResult.value;\n    } catch (error) {\n      nextResult = { value: await errorHandler(error, routeId, nextResult) };\n      return nextResult.value;\n    }\n  };\n  try {\n    let value = await middleware(args, next);\n    let result = value != null ? processResult(value) : void 0;\n    if (isResult(result)) {\n      return result;\n    } else if (nextResult) {\n      return result ?? nextResult.value;\n    } else {\n      nextResult = { value: await next() };\n      return nextResult.value;\n    }\n  } catch (error) {\n    let response = await errorHandler(error, routeId, nextResult);\n    return response;\n  }\n}\nfunction getDataStrategyMatchLazyPromises(mapRouteProperties2, manifest, request, match, lazyRoutePropertiesToSkip) {\n  let lazyMiddlewarePromise = loadLazyRouteProperty({\n    key: \"middleware\",\n    route: match.route,\n    manifest,\n    mapRouteProperties: mapRouteProperties2\n  });\n  let lazyRoutePromises = loadLazyRoute(\n    match.route,\n    isMutationMethod(request.method) ? \"action\" : \"loader\",\n    manifest,\n    mapRouteProperties2,\n    lazyRoutePropertiesToSkip\n  );\n  return {\n    middleware: lazyMiddlewarePromise,\n    route: lazyRoutePromises.lazyRoutePromise,\n    handler: lazyRoutePromises.lazyHandlerPromise\n  };\n}\nfunction getDataStrategyMatch(mapRouteProperties2, manifest, request, path, pattern, match, lazyRoutePropertiesToSkip, scopedContext, shouldLoad, shouldRevalidateArgs = null, callSiteDefaultShouldRevalidate) {\n  let isUsingNewApi = false;\n  let _lazyPromises = getDataStrategyMatchLazyPromises(\n    mapRouteProperties2,\n    manifest,\n    request,\n    match,\n    lazyRoutePropertiesToSkip\n  );\n  return {\n    ...match,\n    _lazyPromises,\n    shouldLoad,\n    shouldRevalidateArgs,\n    shouldCallHandler(defaultShouldRevalidate) {\n      isUsingNewApi = true;\n      if (!shouldRevalidateArgs) {\n        return shouldLoad;\n      }\n      if (typeof callSiteDefaultShouldRevalidate === \"boolean\") {\n        return shouldRevalidateLoader(match, {\n          ...shouldRevalidateArgs,\n          defaultShouldRevalidate: callSiteDefaultShouldRevalidate\n        });\n      }\n      if (typeof defaultShouldRevalidate === \"boolean\") {\n        return shouldRevalidateLoader(match, {\n          ...shouldRevalidateArgs,\n          defaultShouldRevalidate\n        });\n      }\n      return shouldRevalidateLoader(match, shouldRevalidateArgs);\n    },\n    resolve(handlerOverride) {\n      let { lazy, loader, middleware } = match.route;\n      let callHandler = isUsingNewApi || shouldLoad || handlerOverride && !isMutationMethod(request.method) && (lazy || loader);\n      let isMiddlewareOnlyRoute = middleware && middleware.length > 0 && !loader && !lazy;\n      if (callHandler && (isMutationMethod(request.method) || !isMiddlewareOnlyRoute)) {\n        return callLoaderOrAction({\n          request,\n          path,\n          pattern,\n          match,\n          lazyHandlerPromise: _lazyPromises?.handler,\n          lazyRoutePromise: _lazyPromises?.route,\n          handlerOverride,\n          scopedContext\n        });\n      }\n      return Promise.resolve({ type: \"data\" /* data */, result: void 0 });\n    }\n  };\n}\nfunction getTargetedDataStrategyMatches(mapRouteProperties2, manifest, request, path, matches, targetMatch, lazyRoutePropertiesToSkip, scopedContext, shouldRevalidateArgs = null) {\n  return matches.map((match) => {\n    if (match.route.id !== targetMatch.route.id) {\n      return {\n        ...match,\n        shouldLoad: false,\n        shouldRevalidateArgs,\n        shouldCallHandler: () => false,\n        _lazyPromises: getDataStrategyMatchLazyPromises(\n          mapRouteProperties2,\n          manifest,\n          request,\n          match,\n          lazyRoutePropertiesToSkip\n        ),\n        resolve: () => Promise.resolve({ type: \"data\", result: void 0 })\n      };\n    }\n    return getDataStrategyMatch(\n      mapRouteProperties2,\n      manifest,\n      request,\n      path,\n      getRoutePattern(matches),\n      match,\n      lazyRoutePropertiesToSkip,\n      scopedContext,\n      true,\n      shouldRevalidateArgs\n    );\n  });\n}\nasync function callDataStrategyImpl(dataStrategyImpl, request, path, matches, fetcherKey, scopedContext, isStaticHandler) {\n  if (matches.some((m) => m._lazyPromises?.middleware)) {\n    await Promise.all(matches.map((m) => m._lazyPromises?.middleware));\n  }\n  let dataStrategyArgs = {\n    request,\n    url: createDataFunctionUrl(request, path),\n    pattern: getRoutePattern(matches),\n    params: matches[0].params,\n    context: scopedContext,\n    matches\n  };\n  let runClientMiddleware = isStaticHandler ? () => {\n    throw new Error(\n      \"You cannot call `runClientMiddleware()` from a static handler `dataStrategy`. Middleware is run outside of `dataStrategy` during SSR in order to bubble up the Response.  You can enable middleware via the `respond` API in `query`/`queryRoute`\"\n    );\n  } : (cb) => {\n    let typedDataStrategyArgs = dataStrategyArgs;\n    return runClientMiddlewarePipeline(typedDataStrategyArgs, () => {\n      return cb({\n        ...typedDataStrategyArgs,\n        fetcherKey,\n        runClientMiddleware: () => {\n          throw new Error(\n            \"Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler\"\n          );\n        }\n      });\n    });\n  };\n  let results = await dataStrategyImpl({\n    ...dataStrategyArgs,\n    fetcherKey,\n    runClientMiddleware\n  });\n  try {\n    await Promise.all(\n      matches.flatMap((m) => [\n        m._lazyPromises?.handler,\n        m._lazyPromises?.route\n      ])\n    );\n  } catch (e) {\n  }\n  return results;\n}\nasync function callLoaderOrAction({\n  request,\n  path,\n  pattern,\n  match,\n  lazyHandlerPromise,\n  lazyRoutePromise,\n  handlerOverride,\n  scopedContext\n}) {\n  let result;\n  let onReject;\n  let isAction = isMutationMethod(request.method);\n  let type = isAction ? \"action\" : \"loader\";\n  let runHandler = (handler) => {\n    let reject;\n    let abortPromise = new Promise((_, r) => reject = r);\n    onReject = () => reject();\n    request.signal.addEventListener(\"abort\", onReject);\n    let actualHandler = (ctx) => {\n      if (typeof handler !== \"function\") {\n        return Promise.reject(\n          new Error(\n            `You cannot call the handler for a route which defines a boolean \"${type}\" [routeId: ${match.route.id}]`\n          )\n        );\n      }\n      return handler(\n        {\n          request,\n          url: createDataFunctionUrl(request, path),\n          pattern,\n          params: match.params,\n          context: scopedContext\n        },\n        ...ctx !== void 0 ? [ctx] : []\n      );\n    };\n    let handlerPromise = (async () => {\n      try {\n        let val = await (handlerOverride ? handlerOverride((ctx) => actualHandler(ctx)) : actualHandler());\n        return { type: \"data\", result: val };\n      } catch (e) {\n        return { type: \"error\", result: e };\n      }\n    })();\n    return Promise.race([handlerPromise, abortPromise]);\n  };\n  try {\n    let handler = isAction ? match.route.action : match.route.loader;\n    if (lazyHandlerPromise || lazyRoutePromise) {\n      if (handler) {\n        let handlerError;\n        let [value] = await Promise.all([\n          // If the handler throws, don't let it immediately bubble out,\n          // since we need to let the lazy() execution finish so we know if this\n          // route has a boundary that can handle the error\n          runHandler(handler).catch((e) => {\n            handlerError = e;\n          }),\n          // Ensure all lazy route promises are resolved before continuing\n          lazyHandlerPromise,\n          lazyRoutePromise\n        ]);\n        if (handlerError !== void 0) {\n          throw handlerError;\n        }\n        result = value;\n      } else {\n        await lazyHandlerPromise;\n        let handler2 = isAction ? match.route.action : match.route.loader;\n        if (handler2) {\n          [result] = await Promise.all([runHandler(handler2), lazyRoutePromise]);\n        } else if (type === \"action\") {\n          let url = new URL(request.url);\n          let pathname = url.pathname + url.search;\n          throw getInternalRouterError(405, {\n            method: request.method,\n            pathname,\n            routeId: match.route.id\n          });\n        } else {\n          return { type: \"data\" /* data */, result: void 0 };\n        }\n      }\n    } else if (!handler) {\n      let url = new URL(request.url);\n      let pathname = url.pathname + url.search;\n      throw getInternalRouterError(404, {\n        pathname\n      });\n    } else {\n      result = await runHandler(handler);\n    }\n  } catch (e) {\n    return { type: \"error\" /* error */, result: e };\n  } finally {\n    if (onReject) {\n      request.signal.removeEventListener(\"abort\", onReject);\n    }\n  }\n  return result;\n}\nasync function parseResponseBody(response) {\n  let contentType = response.headers.get(\"Content-Type\");\n  if (contentType && /\\bapplication\\/json\\b/.test(contentType)) {\n    return response.body == null ? null : response.json();\n  }\n  return response.text();\n}\nasync function convertDataStrategyResultToDataResult(dataStrategyResult) {\n  let { result, type } = dataStrategyResult;\n  if (isResponse(result)) {\n    let data2;\n    try {\n      data2 = await parseResponseBody(result);\n    } catch (e) {\n      return { type: \"error\" /* error */, error: e };\n    }\n    if (type === \"error\" /* error */) {\n      return {\n        type: \"error\" /* error */,\n        error: new ErrorResponseImpl(result.status, result.statusText, data2),\n        statusCode: result.status,\n        headers: result.headers\n      };\n    }\n    return {\n      type: \"data\" /* data */,\n      data: data2,\n      statusCode: result.status,\n      headers: result.headers\n    };\n  }\n  if (type === \"error\" /* error */) {\n    if (isDataWithResponseInit(result)) {\n      if (result.data instanceof Error) {\n        return {\n          type: \"error\" /* error */,\n          error: result.data,\n          statusCode: result.init?.status,\n          headers: result.init?.headers ? new Headers(result.init.headers) : void 0\n        };\n      }\n      return {\n        type: \"error\" /* error */,\n        error: dataWithResponseInitToErrorResponse(result),\n        statusCode: isRouteErrorResponse(result) ? result.status : void 0,\n        headers: result.init?.headers ? new Headers(result.init.headers) : void 0\n      };\n    }\n    return {\n      type: \"error\" /* error */,\n      error: result,\n      statusCode: isRouteErrorResponse(result) ? result.status : void 0\n    };\n  }\n  if (isDataWithResponseInit(result)) {\n    return {\n      type: \"data\" /* data */,\n      data: result.data,\n      statusCode: result.init?.status,\n      headers: result.init?.headers ? new Headers(result.init.headers) : void 0\n    };\n  }\n  return { type: \"data\" /* data */, data: result };\n}\nfunction normalizeRelativeRoutingRedirectResponse(response, request, routeId, matches, basename) {\n  let location = response.headers.get(\"Location\");\n  invariant(\n    location,\n    \"Redirects returned/thrown from loaders/actions must have a Location header\"\n  );\n  if (!isAbsoluteUrl(location)) {\n    let trimmedMatches = matches.slice(\n      0,\n      matches.findIndex((m) => m.route.id === routeId) + 1\n    );\n    location = normalizeTo(\n      new URL(request.url),\n      trimmedMatches,\n      basename,\n      location\n    );\n    response.headers.set(\"Location\", location);\n  }\n  return response;\n}\nvar invalidProtocols = [\n  \"about:\",\n  \"blob:\",\n  \"chrome:\",\n  \"chrome-untrusted:\",\n  \"content:\",\n  \"data:\",\n  \"devtools:\",\n  \"file:\",\n  \"filesystem:\",\n  // eslint-disable-next-line no-script-url\n  \"javascript:\"\n];\nfunction hasInvalidProtocol(location) {\n  try {\n    return invalidProtocols.includes(new URL(location).protocol);\n  } catch {\n    return false;\n  }\n}\nfunction normalizeRedirectLocation(location, currentUrl, basename, historyInstance) {\n  if (isAbsoluteUrl(location)) {\n    let normalizedLocation = location;\n    let url = PROTOCOL_RELATIVE_URL_REGEX.test(normalizedLocation) ? new URL(\n      normalizeProtocolRelativeUrl(normalizedLocation, currentUrl.protocol)\n    ) : new URL(normalizedLocation);\n    if (hasInvalidProtocol(url.toString())) {\n      throw new Error(\"Invalid redirect location\");\n    }\n    let isSameBasename = stripBasename(url.pathname, basename) != null;\n    if (url.origin === currentUrl.origin && isSameBasename) {\n      return removeDoubleSlashes(url.pathname) + url.search + url.hash;\n    }\n  }\n  try {\n    let url = historyInstance.createURL(location);\n    if (hasInvalidProtocol(url.toString())) {\n      throw new Error(\"Invalid redirect location\");\n    }\n  } catch (e) {\n  }\n  return location;\n}\nfunction createClientSideRequest(history, location, signal, submission) {\n  let url = history.createURL(stripHashFromPath(location)).toString();\n  let init = { signal };\n  if (submission && isMutationMethod(submission.formMethod)) {\n    let { formMethod, formEncType } = submission;\n    init.method = formMethod.toUpperCase();\n    if (formEncType === \"application/json\") {\n      init.headers = new Headers({ \"Content-Type\": formEncType });\n      init.body = JSON.stringify(submission.json);\n    } else if (formEncType === \"text/plain\") {\n      init.body = submission.text;\n    } else if (formEncType === \"application/x-www-form-urlencoded\" && submission.formData) {\n      init.body = convertFormDataToSearchParams(submission.formData);\n    } else {\n      init.body = submission.formData;\n    }\n  }\n  return new Request(url, init);\n}\nfunction createDataFunctionUrl(request, path) {\n  let url = new URL(request.url);\n  let parsed = typeof path === \"string\" ? parsePath(path) : path;\n  url.pathname = parsed.pathname || \"/\";\n  if (parsed.search) {\n    let searchParams = new URLSearchParams(parsed.search);\n    let indexValues = searchParams.getAll(\"index\");\n    searchParams.delete(\"index\");\n    for (let value of indexValues.filter(Boolean)) {\n      searchParams.append(\"index\", value);\n    }\n    url.search = searchParams.size ? `?${searchParams.toString()}` : \"\";\n  } else {\n    url.search = \"\";\n  }\n  url.hash = parsed.hash || \"\";\n  return url;\n}\nfunction convertFormDataToSearchParams(formData) {\n  let searchParams = new URLSearchParams();\n  for (let [key, value] of formData.entries()) {\n    searchParams.append(key, typeof value === \"string\" ? value : value.name);\n  }\n  return searchParams;\n}\nfunction convertSearchParamsToFormData(searchParams) {\n  let formData = new FormData();\n  for (let [key, value] of searchParams.entries()) {\n    formData.append(key, value);\n  }\n  return formData;\n}\nfunction processRouteLoaderData(matches, results, pendingActionResult, isStaticHandler = false, skipLoaderErrorBubbling = false) {\n  let loaderData = {};\n  let errors = null;\n  let statusCode;\n  let foundError = false;\n  let loaderHeaders = {};\n  let pendingError = pendingActionResult && isErrorResult(pendingActionResult[1]) ? pendingActionResult[1].error : void 0;\n  matches.forEach((match) => {\n    if (!(match.route.id in results)) {\n      return;\n    }\n    let id = match.route.id;\n    let result = results[id];\n    invariant(\n      !isRedirectResult(result),\n      \"Cannot handle redirect results in processLoaderData\"\n    );\n    if (isErrorResult(result)) {\n      let error = result.error;\n      if (pendingError !== void 0) {\n        error = pendingError;\n        pendingError = void 0;\n      }\n      errors = errors || {};\n      if (skipLoaderErrorBubbling) {\n        errors[id] = error;\n      } else {\n        let boundaryMatch = findNearestBoundary(matches, id);\n        if (errors[boundaryMatch.route.id] == null) {\n          errors[boundaryMatch.route.id] = error;\n        }\n      }\n      if (!isStaticHandler) {\n        loaderData[id] = ResetLoaderDataSymbol;\n      }\n      if (!foundError) {\n        foundError = true;\n        statusCode = isRouteErrorResponse(result.error) ? result.error.status : 500;\n      }\n      if (result.headers) {\n        loaderHeaders[id] = result.headers;\n      }\n    } else {\n      loaderData[id] = result.data;\n      if (result.statusCode && result.statusCode !== 200 && !foundError) {\n        statusCode = result.statusCode;\n      }\n      if (result.headers) {\n        loaderHeaders[id] = result.headers;\n      }\n    }\n  });\n  if (pendingError !== void 0 && pendingActionResult) {\n    errors = { [pendingActionResult[0]]: pendingError };\n    if (pendingActionResult[2]) {\n      loaderData[pendingActionResult[2]] = void 0;\n    }\n  }\n  return {\n    loaderData,\n    errors,\n    statusCode: statusCode || 200,\n    loaderHeaders\n  };\n}\nfunction processLoaderData(state, matches, results, pendingActionResult, revalidatingFetchers, fetcherResults, workingFetchers) {\n  let { loaderData, errors } = processRouteLoaderData(\n    matches,\n    results,\n    pendingActionResult\n  );\n  revalidatingFetchers.filter((f) => !f.matches || f.matches.some((m) => m.shouldLoad)).forEach((rf) => {\n    let { key, match, controller } = rf;\n    if (controller && controller.signal.aborted) {\n      return;\n    }\n    let result = fetcherResults[key];\n    invariant(result, \"Did not find corresponding fetcher result\");\n    if (isErrorResult(result)) {\n      let boundaryMatch = findNearestBoundary(state.matches, match?.route.id);\n      if (!(errors && errors[boundaryMatch.route.id])) {\n        errors = {\n          ...errors,\n          [boundaryMatch.route.id]: result.error\n        };\n      }\n      workingFetchers.delete(key);\n    } else if (isRedirectResult(result)) {\n      invariant(false, \"Unhandled fetcher revalidation redirect\");\n    } else {\n      let doneFetcher = getDoneFetcher(result.data);\n      workingFetchers.set(key, doneFetcher);\n    }\n  });\n  return { loaderData, errors };\n}\nfunction mergeLoaderData(loaderData, newLoaderData, matches, errors) {\n  let mergedLoaderData = Object.entries(newLoaderData).filter(([, v]) => v !== ResetLoaderDataSymbol).reduce((merged, [k, v]) => {\n    merged[k] = v;\n    return merged;\n  }, {});\n  for (let match of matches) {\n    let id = match.route.id;\n    if (!newLoaderData.hasOwnProperty(id) && loaderData.hasOwnProperty(id) && match.route.loader) {\n      mergedLoaderData[id] = loaderData[id];\n    }\n    if (errors && errors.hasOwnProperty(id)) {\n      break;\n    }\n  }\n  return mergedLoaderData;\n}\nfunction getActionDataForCommit(pendingActionResult) {\n  if (!pendingActionResult) {\n    return {};\n  }\n  return isErrorResult(pendingActionResult[1]) ? {\n    // Clear out prior actionData on errors\n    actionData: {}\n  } : {\n    actionData: {\n      [pendingActionResult[0]]: pendingActionResult[1].data\n    }\n  };\n}\nfunction findNearestBoundary(matches, routeId) {\n  let eligibleMatches = routeId ? matches.slice(0, matches.findIndex((m) => m.route.id === routeId) + 1) : [...matches];\n  return eligibleMatches.reverse().find((m) => m.route.hasErrorBoundary === true) || matches[0];\n}\nfunction getShortCircuitMatches(routes) {\n  let route = routes.length === 1 ? routes[0] : routes.find((r) => r.index || !r.path || r.path === \"/\") || {\n    id: `__shim-error-route__`\n  };\n  return {\n    matches: [\n      {\n        params: {},\n        pathname: \"\",\n        pathnameBase: \"\",\n        route\n      }\n    ],\n    route\n  };\n}\nfunction getInternalRouterError(status, {\n  pathname,\n  routeId,\n  method,\n  type,\n  message\n} = {}) {\n  let statusText = \"Unknown Server Error\";\n  let errorMessage = \"Unknown @remix-run/router error\";\n  if (status === 400) {\n    statusText = \"Bad Request\";\n    if (method && pathname && routeId) {\n      errorMessage = `You made a ${method} request to \"${pathname}\" but did not provide a \\`loader\\` for route \"${routeId}\", so there is no way to handle the request.`;\n    } else if (type === \"invalid-body\") {\n      errorMessage = \"Unable to encode submission body\";\n    }\n  } else if (status === 403) {\n    statusText = \"Forbidden\";\n    errorMessage = `Route \"${routeId}\" does not match URL \"${pathname}\"`;\n  } else if (status === 404) {\n    statusText = \"Not Found\";\n    errorMessage = `No route matches URL \"${pathname}\"`;\n  } else if (status === 405) {\n    statusText = \"Method Not Allowed\";\n    if (method && pathname && routeId) {\n      errorMessage = `You made a ${method.toUpperCase()} request to \"${pathname}\" but did not provide an \\`action\\` for route \"${routeId}\", so there is no way to handle the request.`;\n    } else if (method) {\n      errorMessage = `Invalid request method \"${method.toUpperCase()}\"`;\n    }\n  }\n  return new ErrorResponseImpl(\n    status || 500,\n    statusText,\n    new Error(errorMessage),\n    true\n  );\n}\nfunction findRedirect(results) {\n  let entries = Object.entries(results);\n  for (let i = entries.length - 1; i >= 0; i--) {\n    let [key, result] = entries[i];\n    if (isRedirectResult(result)) {\n      return { key, result };\n    }\n  }\n}\nfunction stripHashFromPath(path) {\n  let parsedPath = typeof path === \"string\" ? parsePath(path) : path;\n  return createPath({ ...parsedPath, hash: \"\" });\n}\nfunction isHashChangeOnly(a, b) {\n  if (a.pathname !== b.pathname || a.search !== b.search) {\n    return false;\n  }\n  if (a.hash === \"\") {\n    return b.hash !== \"\";\n  } else if (a.hash === b.hash) {\n    return true;\n  } else if (b.hash !== \"\") {\n    return true;\n  }\n  return false;\n}\nfunction dataWithResponseInitToResponse(data2) {\n  return Response.json(data2.data, data2.init ?? void 0);\n}\nfunction dataWithResponseInitToErrorResponse(data2) {\n  return new ErrorResponseImpl(\n    data2.init?.status ?? 500,\n    data2.init?.statusText ?? \"Internal Server Error\",\n    data2.data\n  );\n}\nfunction isDataStrategyResults(result) {\n  return result != null && typeof result === \"object\" && Object.entries(result).every(\n    ([key, value]) => typeof key === \"string\" && isDataStrategyResult(value)\n  );\n}\nfunction isDataStrategyResult(result) {\n  return result != null && typeof result === \"object\" && \"type\" in result && \"result\" in result && (result.type === \"data\" /* data */ || result.type === \"error\" /* error */);\n}\nfunction isRedirectDataStrategyResult(result) {\n  return isResponse(result.result) && redirectStatusCodes.has(result.result.status);\n}\nfunction isErrorResult(result) {\n  return result.type === \"error\" /* error */;\n}\nfunction isRedirectResult(result) {\n  return (result && result.type) === \"redirect\" /* redirect */;\n}\nfunction isDataWithResponseInit(value) {\n  return typeof value === \"object\" && value != null && \"type\" in value && \"data\" in value && \"init\" in value && value.type === \"DataWithResponseInit\";\n}\nfunction isResponse(value) {\n  return value != null && typeof value.status === \"number\" && typeof value.statusText === \"string\" && typeof value.headers === \"object\" && typeof value.body !== \"undefined\";\n}\nfunction isRedirectStatusCode(statusCode) {\n  return redirectStatusCodes.has(statusCode);\n}\nfunction isRedirectResponse(result) {\n  return isResponse(result) && isRedirectStatusCode(result.status) && result.headers.has(\"Location\");\n}\nfunction isValidMethod(method) {\n  return validRequestMethods.has(method.toUpperCase());\n}\nfunction isMutationMethod(method) {\n  return validMutationMethods.has(method.toUpperCase());\n}\nfunction hasNakedIndexQuery(search) {\n  return new URLSearchParams(search).getAll(\"index\").some((v) => v === \"\");\n}\nfunction getTargetMatch(matches, location) {\n  let search = typeof location === \"string\" ? parsePath(location).search : location.search;\n  if (matches[matches.length - 1].route.index && hasNakedIndexQuery(search || \"\")) {\n    return matches[matches.length - 1];\n  }\n  let pathMatches = getPathContributingMatches(matches);\n  return pathMatches[pathMatches.length - 1];\n}\nfunction getSubmissionFromNavigation(navigation) {\n  let { formMethod, formAction, formEncType, text, formData, json } = navigation;\n  if (!formMethod || !formAction || !formEncType) {\n    return;\n  }\n  if (text != null) {\n    return {\n      formMethod,\n      formAction,\n      formEncType,\n      formData: void 0,\n      json: void 0,\n      text\n    };\n  } else if (formData != null) {\n    return {\n      formMethod,\n      formAction,\n      formEncType,\n      formData,\n      json: void 0,\n      text: void 0\n    };\n  } else if (json !== void 0) {\n    return {\n      formMethod,\n      formAction,\n      formEncType,\n      formData: void 0,\n      json,\n      text: void 0\n    };\n  }\n}\nfunction getLoadingNavigation(location, matches, historyAction, submission) {\n  if (submission) {\n    let navigation = {\n      state: \"loading\",\n      location,\n      matches,\n      historyAction,\n      formMethod: submission.formMethod,\n      formAction: submission.formAction,\n      formEncType: submission.formEncType,\n      formData: submission.formData,\n      json: submission.json,\n      text: submission.text\n    };\n    return navigation;\n  } else {\n    let navigation = {\n      state: \"loading\",\n      location,\n      matches,\n      historyAction,\n      formMethod: void 0,\n      formAction: void 0,\n      formEncType: void 0,\n      formData: void 0,\n      json: void 0,\n      text: void 0\n    };\n    return navigation;\n  }\n}\nfunction getSubmittingNavigation(location, matches, historyAction, submission) {\n  let navigation = {\n    state: \"submitting\",\n    location,\n    matches,\n    historyAction,\n    formMethod: submission.formMethod,\n    formAction: submission.formAction,\n    formEncType: submission.formEncType,\n    formData: submission.formData,\n    json: submission.json,\n    text: submission.text\n  };\n  return navigation;\n}\nfunction getLoadingFetcher(submission, data2) {\n  if (submission) {\n    let fetcher = {\n      state: \"loading\",\n      formMethod: submission.formMethod,\n      formAction: submission.formAction,\n      formEncType: submission.formEncType,\n      formData: submission.formData,\n      json: submission.json,\n      text: submission.text,\n      data: data2\n    };\n    return fetcher;\n  } else {\n    let fetcher = {\n      state: \"loading\",\n      formMethod: void 0,\n      formAction: void 0,\n      formEncType: void 0,\n      formData: void 0,\n      json: void 0,\n      text: void 0,\n      data: data2\n    };\n    return fetcher;\n  }\n}\nfunction getSubmittingFetcher(submission, existingFetcher) {\n  let fetcher = {\n    state: \"submitting\",\n    formMethod: submission.formMethod,\n    formAction: submission.formAction,\n    formEncType: submission.formEncType,\n    formData: submission.formData,\n    json: submission.json,\n    text: submission.text,\n    data: existingFetcher ? existingFetcher.data : void 0\n  };\n  return fetcher;\n}\nfunction getDoneFetcher(data2) {\n  let fetcher = {\n    state: \"idle\",\n    formMethod: void 0,\n    formAction: void 0,\n    formEncType: void 0,\n    formData: void 0,\n    json: void 0,\n    text: void 0,\n    data: data2\n  };\n  return fetcher;\n}\nfunction restoreAppliedTransitions(_window, transitions) {\n  try {\n    let sessionPositions = _window.sessionStorage.getItem(\n      TRANSITIONS_STORAGE_KEY\n    );\n    if (sessionPositions) {\n      let json = JSON.parse(sessionPositions);\n      for (let [k, v] of Object.entries(json || {})) {\n        if (v && Array.isArray(v)) {\n          transitions.set(k, new Set(v || []));\n        }\n      }\n    }\n  } catch (e) {\n  }\n}\nfunction persistAppliedTransitions(_window, transitions) {\n  if (transitions.size > 0) {\n    let json = {};\n    for (let [k, v] of transitions) {\n      json[k] = [...v];\n    }\n    try {\n      _window.sessionStorage.setItem(\n        TRANSITIONS_STORAGE_KEY,\n        JSON.stringify(json)\n      );\n    } catch (error) {\n      warning(\n        false,\n        `Failed to save applied view transitions in sessionStorage (${error}).`\n      );\n    }\n  }\n}\nfunction createDeferred() {\n  let resolve;\n  let reject;\n  let promise = new Promise((res, rej) => {\n    resolve = async (val) => {\n      res(val);\n      try {\n        await promise;\n      } catch (e) {\n      }\n    };\n    reject = async (error) => {\n      rej(error);\n      try {\n        await promise;\n      } catch (e) {\n      }\n    };\n  });\n  return {\n    promise,\n    //@ts-ignore\n    resolve,\n    //@ts-ignore\n    reject\n  };\n}\n\n// lib/context.ts\nimport * as React from \"react\";\nvar DataRouterContext = React.createContext(null);\nDataRouterContext.displayName = \"DataRouter\";\nvar DataRouterStateContext = React.createContext(null);\nDataRouterStateContext.displayName = \"DataRouterState\";\nvar RSCRouterContext = React.createContext(false);\nfunction useIsRSCRouterContext() {\n  return React.useContext(RSCRouterContext);\n}\nvar ViewTransitionContext = React.createContext({\n  isTransitioning: false\n});\nViewTransitionContext.displayName = \"ViewTransition\";\nvar FetchersContext = React.createContext(\n  /* @__PURE__ */ new Map()\n);\nFetchersContext.displayName = \"Fetchers\";\nvar AwaitContext = React.createContext(null);\nAwaitContext.displayName = \"Await\";\nvar AwaitContextProvider = (props) => React.createElement(AwaitContext.Provider, props);\nvar NavigationContext = React.createContext(\n  null\n);\nNavigationContext.displayName = \"Navigation\";\nvar LocationContext = React.createContext(\n  null\n);\nLocationContext.displayName = \"Location\";\nvar RouteContext = React.createContext({\n  outlet: null,\n  matches: [],\n  isDataRoute: false\n});\nRouteContext.displayName = \"Route\";\nvar RouteErrorContext = React.createContext(null);\nRouteErrorContext.displayName = \"RouteError\";\nvar ENABLE_DEV_WARNINGS = true;\n\n// lib/hooks.tsx\nimport * as React2 from \"react\";\n\n// lib/errors.ts\nvar ERROR_DIGEST_BASE = \"REACT_ROUTER_ERROR\";\nvar ERROR_DIGEST_REDIRECT = \"REDIRECT\";\nvar ERROR_DIGEST_ROUTE_ERROR_RESPONSE = \"ROUTE_ERROR_RESPONSE\";\nfunction decodeRedirectErrorDigest(digest) {\n  if (digest.startsWith(`${ERROR_DIGEST_BASE}:${ERROR_DIGEST_REDIRECT}:{`)) {\n    try {\n      let parsed = JSON.parse(digest.slice(28));\n      if (typeof parsed === \"object\" && parsed && typeof parsed.status === \"number\" && typeof parsed.statusText === \"string\" && typeof parsed.location === \"string\" && typeof parsed.reloadDocument === \"boolean\" && typeof parsed.replace === \"boolean\") {\n        return parsed;\n      }\n    } catch {\n    }\n  }\n}\nfunction decodeRouteErrorResponseDigest(digest) {\n  if (digest.startsWith(\n    `${ERROR_DIGEST_BASE}:${ERROR_DIGEST_ROUTE_ERROR_RESPONSE}:{`\n  )) {\n    try {\n      let parsed = JSON.parse(digest.slice(40));\n      if (typeof parsed === \"object\" && parsed && typeof parsed.status === \"number\" && typeof parsed.statusText === \"string\") {\n        return new ErrorResponseImpl(\n          parsed.status,\n          parsed.statusText,\n          parsed.data\n        );\n      }\n    } catch {\n    }\n  }\n}\n\n// lib/hooks.tsx\nfunction useHref(to, { relative } = {}) {\n  invariant(\n    useInRouterContext(),\n    // TODO: This error is probably because they somehow have 2 versions of the\n    // router loaded. We can help them understand how to avoid that.\n    `useHref() may be used only in the context of a <Router> component.`\n  );\n  let { basename, navigator } = React2.useContext(NavigationContext);\n  let { hash, pathname, search } = useResolvedPath(to, { relative });\n  let joinedPathname = pathname;\n  if (basename !== \"/\") {\n    joinedPathname = pathname === \"/\" ? basename : joinPaths([basename, pathname]);\n  }\n  return navigator.createHref({ pathname: joinedPathname, search, hash });\n}\nfunction useInRouterContext() {\n  return React2.useContext(LocationContext) != null;\n}\nfunction useLocation() {\n  invariant(\n    useInRouterContext(),\n    // TODO: This error is probably because they somehow have 2 versions of the\n    // router loaded. We can help them understand how to avoid that.\n    `useLocation() may be used only in the context of a <Router> component.`\n  );\n  return React2.useContext(LocationContext).location;\n}\nfunction useNavigationType() {\n  return React2.useContext(LocationContext).navigationType;\n}\nfunction useMatch(pattern) {\n  invariant(\n    useInRouterContext(),\n    // TODO: This error is probably because they somehow have 2 versions of the\n    // router loaded. We can help them understand how to avoid that.\n    `useMatch() may be used only in the context of a <Router> component.`\n  );\n  let { pathname } = useLocation();\n  return React2.useMemo(\n    () => matchPath(pattern, decodePath(pathname)),\n    [pathname, pattern]\n  );\n}\nvar navigateEffectWarning = `You should call navigate() in a React.useEffect(), not when your component is first rendered.`;\nfunction useIsomorphicLayoutEffect(cb) {\n  let isStatic = React2.useContext(NavigationContext).static;\n  if (!isStatic) {\n    React2.useLayoutEffect(cb);\n  }\n}\nfunction useNavigate() {\n  let { isDataRoute } = React2.useContext(RouteContext);\n  return isDataRoute ? useNavigateStable() : useNavigateUnstable();\n}\nfunction useNavigateUnstable() {\n  invariant(\n    useInRouterContext(),\n    // TODO: This error is probably because they somehow have 2 versions of the\n    // router loaded. We can help them understand how to avoid that.\n    `useNavigate() may be used only in the context of a <Router> component.`\n  );\n  let dataRouterContext = React2.useContext(DataRouterContext);\n  let { basename, navigator } = React2.useContext(NavigationContext);\n  let { matches } = React2.useContext(RouteContext);\n  let { pathname: locationPathname } = useLocation();\n  let routePathnamesJson = JSON.stringify(getResolveToMatches(matches));\n  let activeRef = React2.useRef(false);\n  useIsomorphicLayoutEffect(() => {\n    activeRef.current = true;\n  });\n  let navigate = React2.useCallback(\n    (to, options = {}) => {\n      warning(activeRef.current, navigateEffectWarning);\n      if (!activeRef.current) return;\n      if (typeof to === \"number\") {\n        navigator.go(to);\n        return;\n      }\n      let path = resolveTo(\n        to,\n        JSON.parse(routePathnamesJson),\n        locationPathname,\n        options.relative === \"path\"\n      );\n      if (dataRouterContext == null && basename !== \"/\") {\n        path.pathname = path.pathname === \"/\" ? basename : joinPaths([basename, path.pathname]);\n      }\n      validateNavigationTarget(\n        typeof to === \"string\" ? to : createPath(to),\n        navigator.createHref(path),\n        getNavigatorCurrentUrl(navigator),\n        \"reject\"\n      );\n      (!!options.replace ? navigator.replace : navigator.push)(\n        path,\n        options.state,\n        options\n      );\n    },\n    [\n      basename,\n      navigator,\n      routePathnamesJson,\n      locationPathname,\n      dataRouterContext\n    ]\n  );\n  return navigate;\n}\nvar OutletContext = React2.createContext(null);\nfunction useOutletContext() {\n  return React2.useContext(OutletContext);\n}\nfunction useOutlet(context) {\n  let outlet = React2.useContext(RouteContext).outlet;\n  return React2.useMemo(\n    () => outlet && /* @__PURE__ */ React2.createElement(OutletContext.Provider, { value: context }, outlet),\n    [outlet, context]\n  );\n}\nfunction useParams() {\n  let { matches } = React2.useContext(RouteContext);\n  let routeMatch = matches[matches.length - 1];\n  return routeMatch?.params ?? {};\n}\nfunction useResolvedPath(to, { relative } = {}) {\n  let { matches } = React2.useContext(RouteContext);\n  let { pathname: locationPathname } = useLocation();\n  let routePathnamesJson = JSON.stringify(getResolveToMatches(matches));\n  return React2.useMemo(\n    () => resolveTo(\n      to,\n      JSON.parse(routePathnamesJson),\n      locationPathname,\n      relative === \"path\"\n    ),\n    [to, routePathnamesJson, locationPathname, relative]\n  );\n}\nfunction useRoutes(routes, locationArg) {\n  return useRoutesImpl(routes, locationArg);\n}\nfunction useRoutesImpl(routes, locationArg, dataRouterOpts) {\n  invariant(\n    useInRouterContext(),\n    // TODO: This error is probably because they somehow have 2 versions of the\n    // router loaded. We can help them understand how to avoid that.\n    `useRoutes() may be used only in the context of a <Router> component.`\n  );\n  let { navigator } = React2.useContext(NavigationContext);\n  let { matches: parentMatches } = React2.useContext(RouteContext);\n  let routeMatch = parentMatches[parentMatches.length - 1];\n  let parentParams = routeMatch ? routeMatch.params : {};\n  let parentPathname = routeMatch ? routeMatch.pathname : \"/\";\n  let parentPathnameBase = routeMatch ? routeMatch.pathnameBase : \"/\";\n  let parentRoute = routeMatch && routeMatch.route;\n  if (ENABLE_DEV_WARNINGS) {\n    let parentPath = parentRoute && parentRoute.path || \"\";\n    warningOnce(\n      parentPathname,\n      !parentRoute || parentPath.endsWith(\"*\") || parentPath.endsWith(\"*?\"),\n      `You rendered descendant <Routes> (or called \\`useRoutes()\\`) at \"${parentPathname}\" (under <Route path=\"${parentPath}\">) but the parent route path has no trailing \"*\". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path=\"${parentPath}\"> to <Route path=\"${parentPath === \"/\" ? \"*\" : `${parentPath}/*`}\">.`\n    );\n  }\n  let locationFromContext = useLocation();\n  let location;\n  if (locationArg) {\n    let parsedLocationArg = typeof locationArg === \"string\" ? parsePath(locationArg) : locationArg;\n    invariant(\n      parentPathnameBase === \"/\" || parsedLocationArg.pathname?.startsWith(parentPathnameBase),\n      `When overriding the location using \\`<Routes location>\\` or \\`useRoutes(routes, location)\\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is \"${parentPathnameBase}\" but pathname \"${parsedLocationArg.pathname}\" was given in the \\`location\\` prop.`\n    );\n    location = parsedLocationArg;\n  } else {\n    location = locationFromContext;\n  }\n  let pathname = location.pathname || \"/\";\n  let remainingPathname = pathname;\n  if (parentPathnameBase !== \"/\") {\n    let parentSegments = parentPathnameBase.replace(/^\\//, \"\").split(\"/\");\n    let segments = pathname.replace(/^\\//, \"\").split(\"/\");\n    remainingPathname = \"/\" + segments.slice(parentSegments.length).join(\"/\");\n  }\n  let matches = dataRouterOpts && dataRouterOpts.state.matches.length ? (\n    // If we're in a data router, use the matches we've already identified but ensure\n    // we have the latest route instances from the manifest in case elements have changed\n    dataRouterOpts.state.matches.map(\n      (m) => Object.assign(m, {\n        route: dataRouterOpts.manifest[m.route.id] || m.route\n      })\n    )\n  ) : matchRoutes(routes, { pathname: remainingPathname });\n  if (ENABLE_DEV_WARNINGS) {\n    warning(\n      parentRoute || matches != null,\n      `No routes matched location \"${location.pathname}${location.search}${location.hash}\" `\n    );\n    warning(\n      matches == null || matches[matches.length - 1].route.element !== void 0 || matches[matches.length - 1].route.Component !== void 0 || matches[matches.length - 1].route.lazy !== void 0,\n      `Matched leaf route at location \"${location.pathname}${location.search}${location.hash}\" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an \"empty\" page.`\n    );\n  }\n  let renderedMatches = _renderMatches(\n    matches && matches.map(\n      (match) => Object.assign({}, match, {\n        params: Object.assign({}, parentParams, match.params),\n        pathname: joinPaths([\n          parentPathnameBase,\n          // Re-encode pathnames that were decoded inside matchRoutes.\n          // Pre-encode `%`, `?` and `#` ahead of `encodeLocation` because it uses\n          // `new URL()` internally and we need to prevent it from treating\n          // them as separators\n          navigator.encodeLocation ? navigator.encodeLocation(\n            match.pathname.replace(/%/g, \"%25\").replace(/\\?/g, \"%3F\").replace(/#/g, \"%23\")\n          ).pathname : match.pathname\n        ]),\n        pathnameBase: match.pathnameBase === \"/\" ? parentPathnameBase : joinPaths([\n          parentPathnameBase,\n          // Re-encode pathnames that were decoded inside matchRoutes\n          // Pre-encode `%`, `?` and `#` ahead of `encodeLocation` because it uses\n          // `new URL()` internally and we need to prevent it from treating\n          // them as separators\n          navigator.encodeLocation ? navigator.encodeLocation(\n            match.pathnameBase.replace(/%/g, \"%25\").replace(/\\?/g, \"%3F\").replace(/#/g, \"%23\")\n          ).pathname : match.pathnameBase\n        ])\n      })\n    ),\n    parentMatches,\n    dataRouterOpts\n  );\n  if (locationArg && renderedMatches) {\n    return /* @__PURE__ */ React2.createElement(\n      LocationContext.Provider,\n      {\n        value: {\n          location: {\n            pathname: \"/\",\n            search: \"\",\n            hash: \"\",\n            state: null,\n            key: \"default\",\n            mask: void 0,\n            ...location\n          },\n          navigationType: \"POP\" /* Pop */\n        }\n      },\n      renderedMatches\n    );\n  }\n  return renderedMatches;\n}\nfunction DefaultErrorComponent() {\n  let error = useRouteError();\n  let message = isRouteErrorResponse(error) ? `${error.status} ${error.statusText}` : error instanceof Error ? error.message : JSON.stringify(error);\n  let stack = error instanceof Error ? error.stack : null;\n  let lightgrey = \"rgba(200,200,200, 0.5)\";\n  let preStyles = { padding: \"0.5rem\", backgroundColor: lightgrey };\n  let codeStyles = { padding: \"2px 4px\", backgroundColor: lightgrey };\n  let devInfo = null;\n  if (ENABLE_DEV_WARNINGS) {\n    console.error(\n      \"Error handled by React Router default ErrorBoundary:\",\n      error\n    );\n    devInfo = /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(\"p\", null, \"\\u{1F4BF} Hey developer \\u{1F44B}\"), /* @__PURE__ */ React2.createElement(\"p\", null, \"You can provide a way better UX than this when your app throws errors by providing your own \", /* @__PURE__ */ React2.createElement(\"code\", { style: codeStyles }, \"ErrorBoundary\"), \" or\", \" \", /* @__PURE__ */ React2.createElement(\"code\", { style: codeStyles }, \"errorElement\"), \" prop on your route.\"));\n  }\n  return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(\"h2\", null, \"Unexpected Application Error!\"), /* @__PURE__ */ React2.createElement(\"h3\", { style: { fontStyle: \"italic\" } }, message), stack ? /* @__PURE__ */ React2.createElement(\"pre\", { style: preStyles }, stack) : null, devInfo);\n}\nvar defaultErrorElement = /* @__PURE__ */ React2.createElement(DefaultErrorComponent, null);\nvar RenderErrorBoundary = class extends React2.Component {\n  constructor(props) {\n    super(props);\n    this.state = {\n      location: props.location,\n      revalidation: props.revalidation,\n      error: props.error\n    };\n  }\n  static getDerivedStateFromError(error) {\n    return { error };\n  }\n  static getDerivedStateFromProps(props, state) {\n    if (state.location !== props.location || state.revalidation !== \"idle\" && props.revalidation === \"idle\") {\n      return {\n        error: props.error,\n        location: props.location,\n        revalidation: props.revalidation\n      };\n    }\n    return {\n      error: props.error !== void 0 ? props.error : state.error,\n      location: state.location,\n      revalidation: props.revalidation || state.revalidation\n    };\n  }\n  componentDidCatch(error, errorInfo) {\n    if (this.props.onError) {\n      this.props.onError(error, errorInfo);\n    } else {\n      console.error(\n        \"React Router caught the following error during render\",\n        error\n      );\n    }\n  }\n  render() {\n    let error = this.state.error;\n    if (this.context && typeof error === \"object\" && error && \"digest\" in error && typeof error.digest === \"string\") {\n      const decoded = decodeRouteErrorResponseDigest(error.digest);\n      if (decoded) error = decoded;\n    }\n    let result = error !== void 0 ? /* @__PURE__ */ React2.createElement(RouteContext.Provider, { value: this.props.routeContext }, /* @__PURE__ */ React2.createElement(\n      RouteErrorContext.Provider,\n      {\n        value: error,\n        children: this.props.component\n      }\n    )) : this.props.children;\n    if (this.context) {\n      return /* @__PURE__ */ React2.createElement(RSCErrorHandler, { error }, result);\n    }\n    return result;\n  }\n};\nRenderErrorBoundary.contextType = RSCRouterContext;\nvar errorRedirectHandledMap = /* @__PURE__ */ new WeakMap();\nfunction RSCErrorHandler({\n  children,\n  error\n}) {\n  let { basename, navigator } = React2.useContext(NavigationContext);\n  if (typeof error === \"object\" && error && \"digest\" in error && typeof error.digest === \"string\") {\n    let redirect2 = decodeRedirectErrorDigest(error.digest);\n    if (redirect2) {\n      let existingRedirect = errorRedirectHandledMap.get(error);\n      if (existingRedirect) throw existingRedirect;\n      let parsed = parseToInfo(redirect2.location, basename);\n      let target = parsed.absoluteURL || parsed.to;\n      validateNavigationTarget(\n        redirect2.location,\n        target,\n        getNavigatorCurrentUrl(navigator),\n        \"allow-explicit\"\n      );\n      if (hasInvalidProtocol(target)) {\n        throw new Error(\"Invalid redirect location\");\n      }\n      if (isBrowser && !errorRedirectHandledMap.get(error)) {\n        if (parsed.isExternal || redirect2.reloadDocument) {\n          window.location.href = target;\n        } else {\n          const redirectPromise = Promise.resolve().then(\n            () => window.__reactRouterDataRouter.navigate(parsed.to, {\n              replace: redirect2.replace\n            })\n          );\n          errorRedirectHandledMap.set(error, redirectPromise);\n          throw redirectPromise;\n        }\n      }\n      return /* @__PURE__ */ React2.createElement(\"meta\", { httpEquiv: \"refresh\", content: `0;url=${target}` });\n    }\n  }\n  return children;\n}\nfunction RenderedRoute({ routeContext, match, children }) {\n  let dataRouterContext = React2.useContext(DataRouterContext);\n  if (dataRouterContext && dataRouterContext.static && dataRouterContext.staticContext && (match.route.errorElement || match.route.ErrorBoundary)) {\n    dataRouterContext.staticContext._deepestRenderedBoundaryId = match.route.id;\n  }\n  return /* @__PURE__ */ React2.createElement(RouteContext.Provider, { value: routeContext }, children);\n}\nfunction _renderMatches(matches, parentMatches = [], dataRouterOpts) {\n  let dataRouterState = dataRouterOpts?.state;\n  if (matches == null) {\n    if (!dataRouterState) {\n      return null;\n    }\n    if (dataRouterState.errors) {\n      matches = dataRouterState.matches;\n    } else if (parentMatches.length === 0 && !dataRouterState.initialized && dataRouterState.matches.length > 0) {\n      matches = dataRouterState.matches;\n    } else {\n      return null;\n    }\n  }\n  let renderedMatches = matches;\n  let errors = dataRouterState?.errors;\n  if (errors != null) {\n    let errorIndex = renderedMatches.findIndex(\n      (m) => m.route.id && errors?.[m.route.id] !== void 0\n    );\n    invariant(\n      errorIndex >= 0,\n      `Could not find a matching route for errors on route IDs: ${Object.keys(\n        errors\n      ).join(\",\")}`\n    );\n    renderedMatches = renderedMatches.slice(\n      0,\n      Math.min(renderedMatches.length, errorIndex + 1)\n    );\n  }\n  let renderFallback = false;\n  let fallbackIndex = -1;\n  if (dataRouterOpts && dataRouterState) {\n    renderFallback = dataRouterState.renderFallback;\n    for (let i = 0; i < renderedMatches.length; i++) {\n      let match = renderedMatches[i];\n      if (match.route.HydrateFallback || match.route.hydrateFallbackElement) {\n        fallbackIndex = i;\n      }\n      if (match.route.id) {\n        let { loaderData, errors: errors2 } = dataRouterState;\n        let needsToRunLoader = match.route.loader && !loaderData.hasOwnProperty(match.route.id) && (!errors2 || errors2[match.route.id] === void 0);\n        if (match.route.lazy || needsToRunLoader) {\n          if (dataRouterOpts.isStatic) {\n            renderFallback = true;\n          }\n          if (fallbackIndex >= 0) {\n            renderedMatches = renderedMatches.slice(0, fallbackIndex + 1);\n          } else {\n            renderedMatches = [renderedMatches[0]];\n          }\n          break;\n        }\n      }\n    }\n  }\n  let onErrorHandler = dataRouterOpts?.onError;\n  let onError = dataRouterState && onErrorHandler ? (error, errorInfo) => {\n    onErrorHandler(error, {\n      location: dataRouterState.location,\n      params: dataRouterState.matches?.[0]?.params ?? {},\n      pattern: getRoutePattern(dataRouterState.matches),\n      errorInfo\n    });\n  } : void 0;\n  return renderedMatches.reduceRight(\n    (outlet, match, index) => {\n      let error;\n      let shouldRenderHydrateFallback = false;\n      let errorElement = null;\n      let hydrateFallbackElement = null;\n      if (dataRouterState) {\n        error = errors && match.route.id ? errors[match.route.id] : void 0;\n        errorElement = match.route.errorElement || defaultErrorElement;\n        if (renderFallback) {\n          if (fallbackIndex < 0 && index === 0) {\n            warningOnce(\n              \"route-fallback\",\n              false,\n              \"No `HydrateFallback` element provided to render during initial hydration\"\n            );\n            shouldRenderHydrateFallback = true;\n            hydrateFallbackElement = null;\n          } else if (fallbackIndex === index) {\n            shouldRenderHydrateFallback = true;\n            hydrateFallbackElement = match.route.hydrateFallbackElement || null;\n          }\n        }\n      }\n      let matches2 = parentMatches.concat(renderedMatches.slice(0, index + 1));\n      let getChildren = () => {\n        let children;\n        if (error) {\n          children = errorElement;\n        } else if (shouldRenderHydrateFallback) {\n          children = hydrateFallbackElement;\n        } else if (match.route.Component) {\n          children = /* @__PURE__ */ React2.createElement(match.route.Component, null);\n        } else if (match.route.element) {\n          children = match.route.element;\n        } else {\n          children = outlet;\n        }\n        return /* @__PURE__ */ React2.createElement(\n          RenderedRoute,\n          {\n            match,\n            routeContext: {\n              outlet,\n              matches: matches2,\n              isDataRoute: dataRouterState != null\n            },\n            children\n          }\n        );\n      };\n      return dataRouterState && (match.route.ErrorBoundary || match.route.errorElement || index === 0) ? /* @__PURE__ */ React2.createElement(\n        RenderErrorBoundary,\n        {\n          location: dataRouterState.location,\n          revalidation: dataRouterState.revalidation,\n          component: errorElement,\n          error,\n          children: getChildren(),\n          routeContext: { outlet: null, matches: matches2, isDataRoute: true },\n          onError\n        }\n      ) : getChildren();\n    },\n    null\n  );\n}\nfunction getDataRouterConsoleError(hookName) {\n  return `${hookName} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`;\n}\nfunction useDataRouterContext(hookName) {\n  let ctx = React2.useContext(DataRouterContext);\n  invariant(ctx, getDataRouterConsoleError(hookName));\n  return ctx;\n}\nfunction useDataRouterState(hookName) {\n  let state = React2.useContext(DataRouterStateContext);\n  invariant(state, getDataRouterConsoleError(hookName));\n  return state;\n}\nfunction useRouteContext(hookName) {\n  let route = React2.useContext(RouteContext);\n  invariant(route, getDataRouterConsoleError(hookName));\n  return route;\n}\nfunction useCurrentRouteId(hookName) {\n  let route = useRouteContext(hookName);\n  let thisRoute = route.matches[route.matches.length - 1];\n  invariant(\n    thisRoute.route.id,\n    `${hookName} can only be used on routes that contain a unique \"id\"`\n  );\n  return thisRoute.route.id;\n}\nfunction useRouteId() {\n  return useCurrentRouteId(\"useRouteId\" /* UseRouteId */);\n}\nfunction useNavigation() {\n  let state = useDataRouterState(\"useNavigation\" /* UseNavigation */);\n  return React2.useMemo(() => {\n    let { matches, historyAction, ...rest } = state.navigation;\n    return rest;\n  }, [state.navigation]);\n}\nfunction useRevalidator() {\n  let dataRouterContext = useDataRouterContext(\"useRevalidator\" /* UseRevalidator */);\n  let state = useDataRouterState(\"useRevalidator\" /* UseRevalidator */);\n  let revalidate = React2.useCallback(async () => {\n    await dataRouterContext.router.revalidate();\n  }, [dataRouterContext.router]);\n  return React2.useMemo(\n    () => ({ revalidate, state: state.revalidation }),\n    [revalidate, state.revalidation]\n  );\n}\nfunction useMatches() {\n  let { matches, loaderData } = useDataRouterState(\n    \"useMatches\" /* UseMatches */\n  );\n  return React2.useMemo(\n    () => matches.map((m) => convertRouteMatchToUiMatch(m, loaderData)),\n    [matches, loaderData]\n  );\n}\nfunction useLoaderData() {\n  let state = useDataRouterState(\"useLoaderData\" /* UseLoaderData */);\n  let routeId = useCurrentRouteId(\"useLoaderData\" /* UseLoaderData */);\n  return state.loaderData[routeId];\n}\nfunction useRouteLoaderData(routeId) {\n  let state = useDataRouterState(\"useRouteLoaderData\" /* UseRouteLoaderData */);\n  return state.loaderData[routeId];\n}\nfunction useActionData() {\n  let state = useDataRouterState(\"useActionData\" /* UseActionData */);\n  let routeId = useCurrentRouteId(\"useLoaderData\" /* UseLoaderData */);\n  return state.actionData ? state.actionData[routeId] : void 0;\n}\nfunction useRouteError() {\n  let error = React2.useContext(RouteErrorContext);\n  let state = useDataRouterState(\"useRouteError\" /* UseRouteError */);\n  let routeId = useCurrentRouteId(\"useRouteError\" /* UseRouteError */);\n  if (error !== void 0) {\n    return error;\n  }\n  return state.errors?.[routeId];\n}\nfunction useAsyncValue() {\n  let value = React2.useContext(AwaitContext);\n  return value?._data;\n}\nfunction useAsyncError() {\n  let value = React2.useContext(AwaitContext);\n  return value?._error;\n}\nvar blockerId = 0;\nfunction useBlocker(shouldBlock) {\n  let { router, basename } = useDataRouterContext(\"useBlocker\" /* UseBlocker */);\n  let state = useDataRouterState(\"useBlocker\" /* UseBlocker */);\n  let [blockerKey, setBlockerKey] = React2.useState(\"\");\n  let blockerFunction = React2.useCallback(\n    (arg) => {\n      if (typeof shouldBlock !== \"function\") {\n        return !!shouldBlock;\n      }\n      if (basename === \"/\") {\n        return shouldBlock(arg);\n      }\n      let { currentLocation, nextLocation, historyAction } = arg;\n      return shouldBlock({\n        currentLocation: {\n          ...currentLocation,\n          pathname: stripBasename(currentLocation.pathname, basename) || currentLocation.pathname\n        },\n        nextLocation: {\n          ...nextLocation,\n          pathname: stripBasename(nextLocation.pathname, basename) || nextLocation.pathname\n        },\n        historyAction\n      });\n    },\n    [basename, shouldBlock]\n  );\n  React2.useEffect(() => {\n    let key = String(++blockerId);\n    setBlockerKey(key);\n    return () => router.deleteBlocker(key);\n  }, [router]);\n  React2.useEffect(() => {\n    if (blockerKey !== \"\") {\n      router.getBlocker(blockerKey, blockerFunction);\n    }\n  }, [router, blockerKey, blockerFunction]);\n  return blockerKey && state.blockers.has(blockerKey) ? state.blockers.get(blockerKey) : IDLE_BLOCKER;\n}\nfunction useNavigateStable() {\n  let { router } = useDataRouterContext(\"useNavigate\" /* UseNavigateStable */);\n  let id = useCurrentRouteId(\"useNavigate\" /* UseNavigateStable */);\n  let activeRef = React2.useRef(false);\n  useIsomorphicLayoutEffect(() => {\n    activeRef.current = true;\n  });\n  let navigate = React2.useCallback(\n    async (to, options = {}) => {\n      warning(activeRef.current, navigateEffectWarning);\n      if (!activeRef.current) return;\n      if (typeof to === \"number\") {\n        await router.navigate(to);\n      } else {\n        await router.navigate(to, { fromRouteId: id, ...options });\n      }\n    },\n    [router, id]\n  );\n  return navigate;\n}\nvar alreadyWarned = {};\nfunction warningOnce(key, cond, message) {\n  if (!cond && !alreadyWarned[key]) {\n    alreadyWarned[key] = true;\n    warning(false, message);\n  }\n}\nfunction useRoute(...args) {\n  const currentRouteId = useCurrentRouteId(\n    \"useRoute\" /* UseRoute */\n  );\n  const id = args[0] ?? currentRouteId;\n  const state = useDataRouterState(\"useRoute\" /* UseRoute */);\n  const route = state.matches.find(({ route: route2 }) => route2.id === id);\n  if (route === void 0) return void 0;\n  return {\n    handle: route.route.handle,\n    loaderData: state.loaderData[id],\n    actionData: state.actionData?.[id]\n  };\n}\nfunction toRouterStateMatch(match) {\n  return {\n    id: match.route.id,\n    pathname: match.pathname,\n    params: match.params,\n    handle: match.route.handle\n  };\n}\nfunction useRouterState() {\n  let {\n    location,\n    historyAction: type,\n    matches,\n    navigation\n  } = useDataRouterState(\"unstable_useRouterState\" /* UseRouterState */);\n  let active = React2.useMemo(\n    () => ({\n      type,\n      location,\n      searchParams: new URLSearchParams(location.search),\n      params: matches[matches.length - 1]?.params ?? {},\n      matches: matches.map((m) => toRouterStateMatch(m))\n    }),\n    [location, matches, type]\n  );\n  let pending = React2.useMemo(() => {\n    if (navigation.state === \"idle\") return null;\n    let shared = {\n      type: navigation.historyAction,\n      location: navigation.location,\n      searchParams: new URLSearchParams(navigation.location.search),\n      params: navigation.matches[navigation.matches.length - 1]?.params ?? {},\n      matches: navigation.matches.map((m) => toRouterStateMatch(m))\n    };\n    return navigation.state === \"loading\" ? {\n      ...shared,\n      state: \"loading\",\n      formMethod: navigation.formMethod,\n      formAction: navigation.formAction,\n      formEncType: navigation.formEncType,\n      formData: navigation.formData,\n      json: navigation.json,\n      text: navigation.text\n    } : {\n      ...shared,\n      state: \"submitting\",\n      formMethod: navigation.formMethod,\n      formAction: navigation.formAction,\n      formEncType: navigation.formEncType,\n      formData: navigation.formData,\n      json: navigation.json,\n      text: navigation.text\n    };\n  }, [navigation]);\n  return React2.useMemo(\n    () => ({ active, pending }),\n    [active, pending]\n  );\n}\n\n// lib/components.tsx\nimport * as React3 from \"react\";\n\n// lib/server-runtime/warnings.ts\nvar alreadyWarned2 = {};\nfunction warnOnce(condition, message) {\n  if (!condition && !alreadyWarned2[message]) {\n    alreadyWarned2[message] = true;\n    console.warn(message);\n  }\n}\n\n// lib/components.tsx\nvar USE_OPTIMISTIC = \"useOptimistic\";\nvar useOptimisticImpl = React3[USE_OPTIMISTIC];\nvar stableUseOptimisticSetter = () => void 0;\nfunction useOptimisticSafe(val) {\n  if (useOptimisticImpl) {\n    return useOptimisticImpl(val);\n  } else {\n    return [val, stableUseOptimisticSetter];\n  }\n}\nfunction mapRouteProperties(route) {\n  let updates = {\n    // Note: this check also occurs in createRoutesFromChildren so update\n    // there if you change this -- please and thank you!\n    hasErrorBoundary: route.hasErrorBoundary || route.ErrorBoundary != null || route.errorElement != null\n  };\n  if (route.Component) {\n    if (ENABLE_DEV_WARNINGS) {\n      if (route.element) {\n        warning(\n          false,\n          \"You should not include both `Component` and `element` on your route - `Component` will be used.\"\n        );\n      }\n    }\n    Object.assign(updates, {\n      element: React3.createElement(route.Component),\n      Component: void 0\n    });\n  }\n  if (route.HydrateFallback) {\n    if (ENABLE_DEV_WARNINGS) {\n      if (route.hydrateFallbackElement) {\n        warning(\n          false,\n          \"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used.\"\n        );\n      }\n    }\n    Object.assign(updates, {\n      hydrateFallbackElement: React3.createElement(route.HydrateFallback),\n      HydrateFallback: void 0\n    });\n  }\n  if (route.ErrorBoundary) {\n    if (ENABLE_DEV_WARNINGS) {\n      if (route.errorElement) {\n        warning(\n          false,\n          \"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used.\"\n        );\n      }\n    }\n    Object.assign(updates, {\n      errorElement: React3.createElement(route.ErrorBoundary),\n      ErrorBoundary: void 0\n    });\n  }\n  return updates;\n}\nvar hydrationRouteProperties = [\n  \"HydrateFallback\",\n  \"hydrateFallbackElement\"\n];\nfunction createMemoryRouter(routes, opts) {\n  return createRouter({\n    basename: opts?.basename,\n    getContext: opts?.getContext,\n    future: opts?.future,\n    history: createMemoryHistory({\n      initialEntries: opts?.initialEntries,\n      initialIndex: opts?.initialIndex\n    }),\n    hydrationData: opts?.hydrationData,\n    routes,\n    hydrationRouteProperties,\n    mapRouteProperties,\n    dataStrategy: opts?.dataStrategy,\n    patchRoutesOnNavigation: opts?.patchRoutesOnNavigation,\n    instrumentations: opts?.instrumentations\n  }).initialize();\n}\nvar Deferred = class {\n  constructor() {\n    this.status = \"pending\";\n    this.promise = new Promise((resolve, reject) => {\n      this.resolve = (value) => {\n        if (this.status === \"pending\") {\n          this.status = \"resolved\";\n          resolve(value);\n        }\n      };\n      this.reject = (reason) => {\n        if (this.status === \"pending\") {\n          this.status = \"rejected\";\n          reject(reason);\n        }\n      };\n    });\n  }\n};\nfunction RouterProvider({\n  router,\n  flushSync: reactDomFlushSyncImpl,\n  onError,\n  useTransitions\n}) {\n  let unstable_rsc = useIsRSCRouterContext();\n  useTransitions = unstable_rsc || useTransitions;\n  let [_state, setStateImpl] = React3.useState(router.state);\n  let [state, setOptimisticState] = useOptimisticSafe(_state);\n  let [pendingState, setPendingState] = React3.useState();\n  let [vtContext, setVtContext] = React3.useState({\n    isTransitioning: false\n  });\n  let [renderDfd, setRenderDfd] = React3.useState();\n  let [transition, setTransition] = React3.useState();\n  let [interruption, setInterruption] = React3.useState();\n  let fetcherData = React3.useRef(/* @__PURE__ */ new Map());\n  let setState = React3.useCallback(\n    (newState, { deletedFetchers, newErrors, flushSync, viewTransitionOpts }) => {\n      if (newErrors && onError) {\n        Object.values(newErrors).forEach(\n          (error) => onError(error, {\n            location: newState.location,\n            params: newState.matches[0]?.params ?? {},\n            pattern: getRoutePattern(newState.matches)\n          })\n        );\n      }\n      newState.fetchers.forEach((fetcher, key) => {\n        if (fetcher.data !== void 0) {\n          fetcherData.current.set(key, fetcher.data);\n        }\n      });\n      deletedFetchers.forEach((key) => fetcherData.current.delete(key));\n      warnOnce(\n        flushSync === false || reactDomFlushSyncImpl != null,\n        'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from \"react-router/dom\"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.'\n      );\n      let isViewTransitionAvailable = router.window != null && router.window.document != null && typeof router.window.document.startViewTransition === \"function\";\n      warnOnce(\n        viewTransitionOpts == null || isViewTransitionAvailable,\n        \"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available.\"\n      );\n      if (!viewTransitionOpts || !isViewTransitionAvailable) {\n        if (reactDomFlushSyncImpl && flushSync) {\n          reactDomFlushSyncImpl(() => setStateImpl(newState));\n        } else if (useTransitions === false) {\n          setStateImpl(newState);\n        } else {\n          React3.startTransition(() => {\n            if (useTransitions === true) {\n              setOptimisticState((s) => getOptimisticRouterState(s, newState));\n            }\n            setStateImpl(newState);\n          });\n        }\n        return;\n      }\n      if (reactDomFlushSyncImpl && flushSync) {\n        reactDomFlushSyncImpl(() => {\n          if (transition) {\n            renderDfd?.resolve();\n            transition.skipTransition();\n          }\n          setVtContext({\n            isTransitioning: true,\n            flushSync: true,\n            currentLocation: viewTransitionOpts.currentLocation,\n            nextLocation: viewTransitionOpts.nextLocation\n          });\n        });\n        let t = router.window.document.startViewTransition(() => {\n          reactDomFlushSyncImpl(() => setStateImpl(newState));\n        });\n        t.finished.finally(() => {\n          reactDomFlushSyncImpl(() => {\n            setRenderDfd(void 0);\n            setTransition(void 0);\n            setPendingState(void 0);\n            setVtContext({ isTransitioning: false });\n          });\n        });\n        reactDomFlushSyncImpl(() => setTransition(t));\n        return;\n      }\n      if (transition) {\n        renderDfd?.resolve();\n        transition.skipTransition();\n        setInterruption({\n          state: newState,\n          currentLocation: viewTransitionOpts.currentLocation,\n          nextLocation: viewTransitionOpts.nextLocation\n        });\n      } else {\n        setPendingState(newState);\n        setVtContext({\n          isTransitioning: true,\n          flushSync: false,\n          currentLocation: viewTransitionOpts.currentLocation,\n          nextLocation: viewTransitionOpts.nextLocation\n        });\n      }\n    },\n    [\n      router.window,\n      reactDomFlushSyncImpl,\n      transition,\n      renderDfd,\n      useTransitions,\n      setOptimisticState,\n      onError\n    ]\n  );\n  React3.useLayoutEffect(() => router.subscribe(setState), [router, setState]);\n  React3.useEffect(() => {\n    if (vtContext.isTransitioning && !vtContext.flushSync) {\n      setRenderDfd(new Deferred());\n    }\n  }, [vtContext]);\n  React3.useEffect(() => {\n    if (renderDfd && pendingState && router.window) {\n      let newState = pendingState;\n      let renderPromise = renderDfd.promise;\n      let transition2 = router.window.document.startViewTransition(async () => {\n        if (useTransitions === false) {\n          setStateImpl(newState);\n        } else {\n          React3.startTransition(() => {\n            if (useTransitions === true) {\n              setOptimisticState((s) => getOptimisticRouterState(s, newState));\n            }\n            setStateImpl(newState);\n          });\n        }\n        await renderPromise;\n      });\n      transition2.finished.finally(() => {\n        setRenderDfd(void 0);\n        setTransition(void 0);\n        setPendingState(void 0);\n        setVtContext({ isTransitioning: false });\n      });\n      setTransition(transition2);\n    }\n  }, [\n    pendingState,\n    renderDfd,\n    router.window,\n    useTransitions,\n    setOptimisticState\n  ]);\n  React3.useEffect(() => {\n    if (renderDfd && pendingState && state.location.key === pendingState.location.key) {\n      renderDfd.resolve();\n    }\n  }, [renderDfd, transition, state.location, pendingState]);\n  React3.useEffect(() => {\n    if (!vtContext.isTransitioning && interruption) {\n      setPendingState(interruption.state);\n      setVtContext({\n        isTransitioning: true,\n        flushSync: false,\n        currentLocation: interruption.currentLocation,\n        nextLocation: interruption.nextLocation\n      });\n      setInterruption(void 0);\n    }\n  }, [vtContext.isTransitioning, interruption]);\n  let navigator = React3.useMemo(() => {\n    return {\n      createHref: router.createHref,\n      createURL: router.createURL,\n      encodeLocation: router.encodeLocation,\n      go: (n) => router.navigate(n),\n      push: (to, state2, opts) => router.navigate(to, {\n        state: state2,\n        preventScrollReset: opts?.preventScrollReset\n      }),\n      replace: (to, state2, opts) => router.navigate(to, {\n        replace: true,\n        state: state2,\n        preventScrollReset: opts?.preventScrollReset\n      })\n    };\n  }, [router]);\n  let basename = router.basename || \"/\";\n  let dataRouterContext = React3.useMemo(\n    () => ({\n      router,\n      navigator,\n      static: false,\n      basename,\n      onError\n    }),\n    [router, navigator, basename, onError]\n  );\n  return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(DataRouterContext.Provider, { value: dataRouterContext }, /* @__PURE__ */ React3.createElement(DataRouterStateContext.Provider, { value: state }, /* @__PURE__ */ React3.createElement(FetchersContext.Provider, { value: fetcherData.current }, /* @__PURE__ */ React3.createElement(ViewTransitionContext.Provider, { value: vtContext }, /* @__PURE__ */ React3.createElement(\n    Router,\n    {\n      basename,\n      location: state.location,\n      navigationType: state.historyAction,\n      navigator,\n      useTransitions\n    },\n    /* @__PURE__ */ React3.createElement(\n      MemoizedDataRoutes,\n      {\n        routes: router.routes,\n        manifest: router.manifest,\n        future: router.future,\n        state,\n        isStatic: false,\n        onError\n      }\n    )\n  ))))), null);\n}\nfunction getOptimisticRouterState(currentState, newState) {\n  return {\n    // Don't surface \"current location specific\" stuff mid-navigation\n    // (historyAction, location, matches, loaderData, errors, initialized,\n    // restoreScroll, preventScrollReset, blockers, etc.)\n    ...currentState,\n    // Only surface \"pending/in-flight stuff\"\n    // (navigation, revalidation, actionData, fetchers, )\n    navigation: newState.navigation.state !== \"idle\" ? newState.navigation : currentState.navigation,\n    revalidation: newState.revalidation !== \"idle\" ? newState.revalidation : currentState.revalidation,\n    actionData: newState.navigation.state !== \"submitting\" ? newState.actionData : currentState.actionData,\n    fetchers: newState.fetchers\n  };\n}\nvar MemoizedDataRoutes = React3.memo(DataRoutes2);\nfunction DataRoutes2({\n  routes,\n  manifest,\n  future,\n  state,\n  isStatic,\n  onError\n}) {\n  return useRoutesImpl(routes, void 0, {\n    manifest,\n    state,\n    isStatic,\n    onError,\n    future\n  });\n}\nfunction MemoryRouter({\n  basename,\n  children,\n  initialEntries,\n  initialIndex,\n  useTransitions\n}) {\n  let historyRef = React3.useRef();\n  if (historyRef.current == null) {\n    historyRef.current = createMemoryHistory({\n      initialEntries,\n      initialIndex,\n      v5Compat: true\n    });\n  }\n  let history = historyRef.current;\n  let [state, setStateImpl] = React3.useState({\n    action: history.action,\n    location: history.location\n  });\n  let setState = React3.useCallback(\n    (newState) => {\n      if (useTransitions === false) {\n        setStateImpl(newState);\n      } else {\n        React3.startTransition(() => setStateImpl(newState));\n      }\n    },\n    [useTransitions]\n  );\n  React3.useLayoutEffect(() => history.listen(setState), [history, setState]);\n  return /* @__PURE__ */ React3.createElement(\n    Router,\n    {\n      basename,\n      children,\n      location: state.location,\n      navigationType: state.action,\n      navigator: history,\n      useTransitions\n    }\n  );\n}\nfunction Navigate({\n  to,\n  replace: replace2,\n  state,\n  relative\n}) {\n  invariant(\n    useInRouterContext(),\n    // TODO: This error is probably because they somehow have 2 versions of\n    // the router loaded. We can help them understand how to avoid that.\n    `<Navigate> may be used only in the context of a <Router> component.`\n  );\n  let { static: isStatic, navigator } = React3.useContext(NavigationContext);\n  warning(\n    !isStatic,\n    `<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`\n  );\n  let { matches } = React3.useContext(RouteContext);\n  let { pathname: locationPathname } = useLocation();\n  let navigate = useNavigate();\n  let path = resolveTo(\n    to,\n    getResolveToMatches(matches),\n    locationPathname,\n    relative === \"path\"\n  );\n  validateNavigationTarget(\n    typeof to === \"string\" ? to : createPath(to),\n    navigator.createHref(path),\n    getNavigatorCurrentUrl(navigator),\n    \"reject\"\n  );\n  let jsonPath = JSON.stringify(path);\n  React3.useEffect(() => {\n    navigate(JSON.parse(jsonPath), { replace: replace2, state, relative });\n  }, [navigate, jsonPath, relative, replace2, state]);\n  return null;\n}\nfunction Outlet(props) {\n  return useOutlet(props.context);\n}\nfunction Route(props) {\n  invariant(\n    false,\n    `A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`\n  );\n}\nfunction Router({\n  basename: basenameProp = \"/\",\n  children = null,\n  location: locationProp,\n  navigationType = \"POP\" /* Pop */,\n  navigator,\n  static: staticProp = false,\n  useTransitions\n}) {\n  invariant(\n    !useInRouterContext(),\n    `You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`\n  );\n  let basename = basenameProp.replace(/^\\/*/, \"/\");\n  let navigationContext = React3.useMemo(\n    () => ({\n      basename,\n      navigator,\n      static: staticProp,\n      useTransitions,\n      future: {}\n    }),\n    [basename, navigator, staticProp, useTransitions]\n  );\n  if (typeof locationProp === \"string\") {\n    locationProp = parsePath(locationProp);\n  }\n  let {\n    pathname = \"/\",\n    search = \"\",\n    hash = \"\",\n    state = null,\n    key = \"default\",\n    mask\n  } = locationProp;\n  let locationContext = React3.useMemo(() => {\n    let trailingPathname = stripBasename(pathname, basename);\n    if (trailingPathname == null) {\n      return null;\n    }\n    return {\n      location: {\n        pathname: trailingPathname,\n        search,\n        hash,\n        state,\n        key,\n        mask\n      },\n      navigationType\n    };\n  }, [basename, pathname, search, hash, state, key, navigationType, mask]);\n  warning(\n    locationContext != null,\n    `<Router basename=\"${basename}\"> is not able to match the URL \"${pathname}${search}${hash}\" because it does not start with the basename, so the <Router> won't render anything.`\n  );\n  if (locationContext == null) {\n    return null;\n  }\n  return /* @__PURE__ */ React3.createElement(NavigationContext.Provider, { value: navigationContext }, /* @__PURE__ */ React3.createElement(LocationContext.Provider, { children, value: locationContext }));\n}\nfunction Routes({\n  children,\n  location\n}) {\n  return useRoutes(createRoutesFromChildren(children), location);\n}\nfunction Await({\n  children,\n  errorElement,\n  resolve\n}) {\n  let dataRouterContext = React3.useContext(DataRouterContext);\n  let dataRouterStateContext = React3.useContext(DataRouterStateContext);\n  let onError = React3.useCallback(\n    (error, errorInfo) => {\n      if (dataRouterContext && dataRouterContext.onError && dataRouterStateContext) {\n        dataRouterContext.onError(error, {\n          location: dataRouterStateContext.location,\n          params: dataRouterStateContext.matches[0]?.params || {},\n          pattern: getRoutePattern(dataRouterStateContext.matches),\n          errorInfo\n        });\n      }\n    },\n    [dataRouterContext, dataRouterStateContext]\n  );\n  return /* @__PURE__ */ React3.createElement(\n    AwaitErrorBoundary,\n    {\n      resolve,\n      errorElement,\n      onError\n    },\n    /* @__PURE__ */ React3.createElement(ResolveAwait, null, children)\n  );\n}\nvar AwaitErrorBoundary = class extends React3.Component {\n  constructor(props) {\n    super(props);\n    this.state = { error: null };\n  }\n  static getDerivedStateFromError(error) {\n    return { error };\n  }\n  componentDidCatch(error, errorInfo) {\n    if (this.props.onError) {\n      this.props.onError(error, errorInfo);\n    } else {\n      console.error(\n        \"<Await> caught the following error during render\",\n        error,\n        errorInfo\n      );\n    }\n  }\n  render() {\n    let { children, errorElement, resolve } = this.props;\n    let promise = null;\n    let status = 0 /* pending */;\n    if (!(resolve instanceof Promise)) {\n      status = 1 /* success */;\n      promise = Promise.resolve();\n      Object.defineProperty(promise, \"_tracked\", { get: () => true });\n      Object.defineProperty(promise, \"_data\", { get: () => resolve });\n    } else if (this.state.error) {\n      status = 2 /* error */;\n      let renderError = this.state.error;\n      promise = Promise.reject().catch(() => {\n      });\n      Object.defineProperty(promise, \"_tracked\", { get: () => true });\n      Object.defineProperty(promise, \"_error\", { get: () => renderError });\n    } else if (resolve._tracked) {\n      promise = resolve;\n      status = \"_error\" in promise ? 2 /* error */ : \"_data\" in promise ? 1 /* success */ : 0 /* pending */;\n    } else {\n      status = 0 /* pending */;\n      Object.defineProperty(resolve, \"_tracked\", { get: () => true });\n      promise = resolve.then(\n        (data2) => Object.defineProperty(resolve, \"_data\", { get: () => data2 }),\n        (error) => {\n          this.props.onError?.(error);\n          Object.defineProperty(resolve, \"_error\", { get: () => error });\n        }\n      );\n    }\n    if (status === 2 /* error */ && !errorElement) {\n      throw promise._error;\n    }\n    if (status === 2 /* error */) {\n      return /* @__PURE__ */ React3.createElement(AwaitContext.Provider, { value: promise, children: errorElement });\n    }\n    if (status === 1 /* success */) {\n      return /* @__PURE__ */ React3.createElement(AwaitContext.Provider, { value: promise, children });\n    }\n    throw promise;\n  }\n};\nfunction ResolveAwait({\n  children\n}) {\n  let data2 = useAsyncValue();\n  let toRender = typeof children === \"function\" ? children(data2) : children;\n  return /* @__PURE__ */ React3.createElement(React3.Fragment, null, toRender);\n}\nfunction createRoutesFromChildren(children, parentPath = []) {\n  let routes = [];\n  React3.Children.forEach(children, (element, index) => {\n    if (!React3.isValidElement(element)) {\n      return;\n    }\n    let treePath = [...parentPath, index];\n    if (element.type === React3.Fragment) {\n      routes.push.apply(\n        routes,\n        createRoutesFromChildren(element.props.children, treePath)\n      );\n      return;\n    }\n    invariant(\n      element.type === Route,\n      `[${typeof element.type === \"string\" ? element.type : element.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`\n    );\n    invariant(\n      !element.props.index || !element.props.children,\n      \"An index route cannot have child routes.\"\n    );\n    let route = {\n      id: element.props.id || treePath.join(\"-\"),\n      caseSensitive: element.props.caseSensitive,\n      element: element.props.element,\n      Component: element.props.Component,\n      index: element.props.index,\n      path: element.props.path,\n      middleware: element.props.middleware,\n      loader: element.props.loader,\n      action: element.props.action,\n      hydrateFallbackElement: element.props.hydrateFallbackElement,\n      HydrateFallback: element.props.HydrateFallback,\n      errorElement: element.props.errorElement,\n      ErrorBoundary: element.props.ErrorBoundary,\n      hasErrorBoundary: element.props.hasErrorBoundary === true || element.props.ErrorBoundary != null || element.props.errorElement != null,\n      shouldRevalidate: element.props.shouldRevalidate,\n      handle: element.props.handle,\n      lazy: element.props.lazy\n    };\n    if (element.props.children) {\n      route.children = createRoutesFromChildren(\n        element.props.children,\n        treePath\n      );\n    }\n    routes.push(route);\n  });\n  return routes;\n}\nvar createRoutesFromElements = createRoutesFromChildren;\nfunction renderMatches(matches) {\n  return _renderMatches(matches);\n}\nfunction useRouteComponentProps() {\n  return {\n    params: useParams(),\n    loaderData: useLoaderData(),\n    actionData: useActionData(),\n    matches: useMatches()\n  };\n}\nfunction WithComponentProps({\n  children\n}) {\n  const props = useRouteComponentProps();\n  return React3.cloneElement(children, props);\n}\nfunction withComponentProps(Component4) {\n  return function WithComponentProps2() {\n    const props = useRouteComponentProps();\n    return React3.createElement(Component4, props);\n  };\n}\nfunction useHydrateFallbackProps() {\n  return {\n    params: useParams(),\n    loaderData: useLoaderData(),\n    actionData: useActionData()\n  };\n}\nfunction WithHydrateFallbackProps({\n  children\n}) {\n  const props = useHydrateFallbackProps();\n  return React3.cloneElement(children, props);\n}\nfunction withHydrateFallbackProps(HydrateFallback) {\n  return function WithHydrateFallbackProps2() {\n    const props = useHydrateFallbackProps();\n    return React3.createElement(HydrateFallback, props);\n  };\n}\nfunction useErrorBoundaryProps() {\n  return {\n    params: useParams(),\n    loaderData: useLoaderData(),\n    actionData: useActionData(),\n    error: useRouteError()\n  };\n}\nfunction WithErrorBoundaryProps({\n  children\n}) {\n  const props = useErrorBoundaryProps();\n  return React3.cloneElement(children, props);\n}\nfunction withErrorBoundaryProps(ErrorBoundary) {\n  return function WithErrorBoundaryProps2() {\n    const props = useErrorBoundaryProps();\n    return React3.createElement(ErrorBoundary, props);\n  };\n}\n\n// lib/dom/dom.ts\nvar defaultMethod = \"get\";\nvar defaultEncType = \"application/x-www-form-urlencoded\";\nfunction isHtmlElement(object) {\n  return typeof HTMLElement !== \"undefined\" && object instanceof HTMLElement;\n}\nfunction isButtonElement(object) {\n  return isHtmlElement(object) && object.tagName.toLowerCase() === \"button\";\n}\nfunction isFormElement(object) {\n  return isHtmlElement(object) && object.tagName.toLowerCase() === \"form\";\n}\nfunction isInputElement(object) {\n  return isHtmlElement(object) && object.tagName.toLowerCase() === \"input\";\n}\nfunction isModifiedEvent(event) {\n  return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n}\nfunction shouldProcessLinkClick(event, target) {\n  return event.button === 0 && // Ignore everything but left clicks\n  (!target || target === \"_self\") && // Let browser handle \"target=_blank\" etc.\n  !isModifiedEvent(event);\n}\nfunction createSearchParams(init = \"\") {\n  return new URLSearchParams(\n    typeof init === \"string\" || Array.isArray(init) || init instanceof URLSearchParams ? init : Object.keys(init).reduce((memo2, key) => {\n      let value = init[key];\n      return memo2.concat(\n        Array.isArray(value) ? value.map((v) => [key, v]) : [[key, value]]\n      );\n    }, [])\n  );\n}\nfunction getSearchParamsForLocation(locationSearch, defaultSearchParams) {\n  let searchParams = createSearchParams(locationSearch);\n  if (defaultSearchParams) {\n    defaultSearchParams.forEach((_, key) => {\n      if (!searchParams.has(key)) {\n        defaultSearchParams.getAll(key).forEach((value) => {\n          searchParams.append(key, value);\n        });\n      }\n    });\n  }\n  return searchParams;\n}\nvar _formDataSupportsSubmitter = null;\nfunction isFormDataSubmitterSupported() {\n  if (_formDataSupportsSubmitter === null) {\n    try {\n      new FormData(\n        document.createElement(\"form\"),\n        // @ts-expect-error if FormData supports the submitter parameter, this will throw\n        0\n      );\n      _formDataSupportsSubmitter = false;\n    } catch (e) {\n      _formDataSupportsSubmitter = true;\n    }\n  }\n  return _formDataSupportsSubmitter;\n}\nvar supportedFormEncTypes = /* @__PURE__ */ new Set([\n  \"application/x-www-form-urlencoded\",\n  \"multipart/form-data\",\n  \"text/plain\"\n]);\nfunction getFormEncType(encType) {\n  if (encType != null && !supportedFormEncTypes.has(encType)) {\n    warning(\n      false,\n      `\"${encType}\" is not a valid \\`encType\\` for \\`<Form>\\`/\\`<fetcher.Form>\\` and will default to \"${defaultEncType}\"`\n    );\n    return null;\n  }\n  return encType;\n}\nfunction getFormSubmissionInfo(target, basename) {\n  let method;\n  let action;\n  let encType;\n  let formData;\n  let body;\n  if (isFormElement(target)) {\n    let attr = target.getAttribute(\"action\");\n    action = attr ? stripBasename(attr, basename) : null;\n    method = target.getAttribute(\"method\") || defaultMethod;\n    encType = getFormEncType(target.getAttribute(\"enctype\")) || defaultEncType;\n    formData = new FormData(target);\n  } else if (isButtonElement(target) || isInputElement(target) && (target.type === \"submit\" || target.type === \"image\")) {\n    let form = target.form;\n    if (form == null) {\n      throw new Error(\n        `Cannot submit a <button> or <input type=\"submit\"> without a <form>`\n      );\n    }\n    let attr = target.getAttribute(\"formaction\") || form.getAttribute(\"action\");\n    action = attr ? stripBasename(attr, basename) : null;\n    method = target.getAttribute(\"formmethod\") || form.getAttribute(\"method\") || defaultMethod;\n    encType = getFormEncType(target.getAttribute(\"formenctype\")) || getFormEncType(form.getAttribute(\"enctype\")) || defaultEncType;\n    formData = new FormData(form, target);\n    if (!isFormDataSubmitterSupported()) {\n      let { name, type, value } = target;\n      if (type === \"image\") {\n        let prefix = name ? `${name}.` : \"\";\n        formData.append(`${prefix}x`, \"0\");\n        formData.append(`${prefix}y`, \"0\");\n      } else if (name) {\n        formData.append(name, value);\n      }\n    }\n  } else if (isHtmlElement(target)) {\n    throw new Error(\n      `Cannot submit element that is not <form>, <button>, or <input type=\"submit|image\">`\n    );\n  } else {\n    method = defaultMethod;\n    action = null;\n    encType = defaultEncType;\n    body = target;\n  }\n  if (formData && encType === \"text/plain\") {\n    body = formData;\n    formData = void 0;\n  }\n  return { action, method: method.toLowerCase(), encType, formData, body };\n}\n\n// lib/dom/ssr/single-fetch.tsx\nimport * as React4 from \"react\";\n\n// vendor/turbo-stream-v2/utils.ts\nvar HOLE = -1;\nvar NAN = -2;\nvar NEGATIVE_INFINITY = -3;\nvar NEGATIVE_ZERO = -4;\nvar NULL = -5;\nvar POSITIVE_INFINITY = -6;\nvar UNDEFINED = -7;\nvar TYPE_BIGINT = \"B\";\nvar TYPE_DATE = \"D\";\nvar TYPE_ERROR = \"E\";\nvar TYPE_MAP = \"M\";\nvar TYPE_NULL_OBJECT = \"N\";\nvar TYPE_PROMISE = \"P\";\nvar TYPE_REGEXP = \"R\";\nvar TYPE_SET = \"S\";\nvar TYPE_SYMBOL = \"Y\";\nvar TYPE_URL = \"U\";\nvar TYPE_PREVIOUS_RESOLVED = \"Z\";\nvar Deferred2 = class {\n  constructor() {\n    this.promise = new Promise((resolve, reject) => {\n      this.resolve = resolve;\n      this.reject = reject;\n    });\n  }\n};\nfunction createLineSplittingTransform() {\n  const decoder = new TextDecoder();\n  let leftover = \"\";\n  return new TransformStream({\n    transform(chunk, controller) {\n      const str = decoder.decode(chunk, { stream: true });\n      const parts = (leftover + str).split(\"\\n\");\n      leftover = parts.pop() || \"\";\n      for (const part of parts) {\n        controller.enqueue(part);\n      }\n    },\n    flush(controller) {\n      if (leftover) {\n        controller.enqueue(leftover);\n      }\n    }\n  });\n}\n\n// vendor/turbo-stream-v2/flatten.ts\nvar TIME_LIMIT_MS = 1;\nvar getNow = () => Date.now();\nvar yieldToMain = () => new Promise((resolve) => setTimeout(resolve, 0));\nasync function flatten(input) {\n  const { indices } = this;\n  const existing = indices.get(input);\n  if (existing) return [existing];\n  if (input === void 0) return UNDEFINED;\n  if (input === null) return NULL;\n  if (Number.isNaN(input)) return NAN;\n  if (input === Number.POSITIVE_INFINITY) return POSITIVE_INFINITY;\n  if (input === Number.NEGATIVE_INFINITY) return NEGATIVE_INFINITY;\n  if (input === 0 && 1 / input < 0) return NEGATIVE_ZERO;\n  const index = this.index++;\n  indices.set(input, index);\n  const stack = [[input, index]];\n  await stringify.call(this, stack);\n  return index;\n}\nasync function stringify(stack) {\n  const { deferred, indices, plugins, postPlugins } = this;\n  const str = this.stringified;\n  let lastYieldTime = getNow();\n  const flattenValue = (value) => {\n    const existing = indices.get(value);\n    if (existing) return [existing];\n    if (value === void 0) return UNDEFINED;\n    if (value === null) return NULL;\n    if (Number.isNaN(value)) return NAN;\n    if (value === Number.POSITIVE_INFINITY) return POSITIVE_INFINITY;\n    if (value === Number.NEGATIVE_INFINITY) return NEGATIVE_INFINITY;\n    if (value === 0 && 1 / value < 0) return NEGATIVE_ZERO;\n    const index = this.index++;\n    indices.set(value, index);\n    stack.push([value, index]);\n    return index;\n  };\n  let i = 0;\n  while (stack.length > 0) {\n    const now = getNow();\n    if (++i % 6e3 === 0 && now - lastYieldTime >= TIME_LIMIT_MS) {\n      await yieldToMain();\n      lastYieldTime = getNow();\n    }\n    const [input, index] = stack.pop();\n    const partsForObj = (obj) => Object.keys(obj).map((k) => `\"_${flattenValue(k)}\":${flattenValue(obj[k])}`).join(\",\");\n    let error = null;\n    switch (typeof input) {\n      case \"boolean\":\n      case \"number\":\n      case \"string\":\n        str[index] = JSON.stringify(input);\n        break;\n      case \"bigint\":\n        str[index] = `[\"${TYPE_BIGINT}\",\"${input}\"]`;\n        break;\n      case \"symbol\": {\n        const keyFor = Symbol.keyFor(input);\n        if (!keyFor) {\n          error = new Error(\n            \"Cannot encode symbol unless created with Symbol.for()\"\n          );\n        } else {\n          str[index] = `[\"${TYPE_SYMBOL}\",${JSON.stringify(keyFor)}]`;\n        }\n        break;\n      }\n      case \"object\": {\n        if (!input) {\n          str[index] = `${NULL}`;\n          break;\n        }\n        const isArray = Array.isArray(input);\n        let pluginHandled = false;\n        if (!isArray && plugins) {\n          for (const plugin of plugins) {\n            const pluginResult = plugin(input);\n            if (Array.isArray(pluginResult)) {\n              pluginHandled = true;\n              const [pluginIdentifier, ...rest] = pluginResult;\n              str[index] = `[${JSON.stringify(pluginIdentifier)}`;\n              if (rest.length > 0) {\n                str[index] += `,${rest.map((v) => flattenValue(v)).join(\",\")}`;\n              }\n              str[index] += \"]\";\n              break;\n            }\n          }\n        }\n        if (!pluginHandled) {\n          let result = isArray ? \"[\" : \"{\";\n          if (isArray) {\n            for (let i2 = 0; i2 < input.length; i2++)\n              result += (i2 ? \",\" : \"\") + (i2 in input ? flattenValue(input[i2]) : HOLE);\n            str[index] = `${result}]`;\n          } else if (input instanceof Date) {\n            const dateTime = input.getTime();\n            str[index] = `[\"${TYPE_DATE}\",${Number.isNaN(dateTime) ? JSON.stringify(\"invalid\") : dateTime}]`;\n          } else if (input instanceof URL) {\n            str[index] = `[\"${TYPE_URL}\",${JSON.stringify(input.href)}]`;\n          } else if (input instanceof RegExp) {\n            str[index] = `[\"${TYPE_REGEXP}\",${JSON.stringify(\n              input.source\n            )},${JSON.stringify(input.flags)}]`;\n          } else if (input instanceof Set) {\n            if (input.size > 0) {\n              str[index] = `[\"${TYPE_SET}\",${[...input].map((val) => flattenValue(val)).join(\",\")}]`;\n            } else {\n              str[index] = `[\"${TYPE_SET}\"]`;\n            }\n          } else if (input instanceof Map) {\n            if (input.size > 0) {\n              str[index] = `[\"${TYPE_MAP}\",${[...input].flatMap(([k, v]) => [flattenValue(k), flattenValue(v)]).join(\",\")}]`;\n            } else {\n              str[index] = `[\"${TYPE_MAP}\"]`;\n            }\n          } else if (input instanceof Promise) {\n            str[index] = `[\"${TYPE_PROMISE}\",${index}]`;\n            deferred[index] = input;\n          } else if (input instanceof Error) {\n            str[index] = `[\"${TYPE_ERROR}\",${JSON.stringify(input.message)}`;\n            if (input.name !== \"Error\") {\n              str[index] += `,${JSON.stringify(input.name)}`;\n            }\n            str[index] += \"]\";\n          } else if (Object.getPrototypeOf(input) === null) {\n            str[index] = `[\"${TYPE_NULL_OBJECT}\",{${partsForObj(input)}}]`;\n          } else if (isPlainObject2(input)) {\n            str[index] = `{${partsForObj(input)}}`;\n          } else {\n            error = new Error(\"Cannot encode object with prototype\");\n          }\n        }\n        break;\n      }\n      default: {\n        const isArray = Array.isArray(input);\n        let pluginHandled = false;\n        if (!isArray && plugins) {\n          for (const plugin of plugins) {\n            const pluginResult = plugin(input);\n            if (Array.isArray(pluginResult)) {\n              pluginHandled = true;\n              const [pluginIdentifier, ...rest] = pluginResult;\n              str[index] = `[${JSON.stringify(pluginIdentifier)}`;\n              if (rest.length > 0) {\n                str[index] += `,${rest.map((v) => flattenValue(v)).join(\",\")}`;\n              }\n              str[index] += \"]\";\n              break;\n            }\n          }\n        }\n        if (!pluginHandled) {\n          error = new Error(\"Cannot encode function or unexpected type\");\n        }\n      }\n    }\n    if (error) {\n      let pluginHandled = false;\n      if (postPlugins) {\n        for (const plugin of postPlugins) {\n          const pluginResult = plugin(input);\n          if (Array.isArray(pluginResult)) {\n            pluginHandled = true;\n            const [pluginIdentifier, ...rest] = pluginResult;\n            str[index] = `[${JSON.stringify(pluginIdentifier)}`;\n            if (rest.length > 0) {\n              str[index] += `,${rest.map((v) => flattenValue(v)).join(\",\")}`;\n            }\n            str[index] += \"]\";\n            break;\n          }\n        }\n      }\n      if (!pluginHandled) {\n        throw error;\n      }\n    }\n  }\n}\nvar objectProtoNames2 = Object.getOwnPropertyNames(Object.prototype).sort().join(\"\\0\");\nfunction isPlainObject2(thing) {\n  const proto = Object.getPrototypeOf(thing);\n  return proto === Object.prototype || proto === null || Object.getOwnPropertyNames(proto).sort().join(\"\\0\") === objectProtoNames2;\n}\n\n// vendor/turbo-stream-v2/unflatten.ts\nvar globalObj = typeof window !== \"undefined\" ? window : typeof globalThis !== \"undefined\" ? globalThis : void 0;\nfunction unflatten(parsed) {\n  const { hydrated, values } = this;\n  if (typeof parsed === \"number\") return hydrate.call(this, parsed);\n  if (!Array.isArray(parsed) || !parsed.length) throw new SyntaxError();\n  const startIndex = values.length;\n  for (const value of parsed) {\n    values.push(value);\n  }\n  hydrated.length = values.length;\n  return hydrate.call(this, startIndex);\n}\nfunction hydrate(index) {\n  const { hydrated, values, deferred, plugins } = this;\n  let result;\n  const stack = [\n    [\n      index,\n      (v) => {\n        result = v;\n      }\n    ]\n  ];\n  let postRun = [];\n  while (stack.length > 0) {\n    const [index2, set] = stack.pop();\n    switch (index2) {\n      case UNDEFINED:\n        set(void 0);\n        continue;\n      case NULL:\n        set(null);\n        continue;\n      case NAN:\n        set(NaN);\n        continue;\n      case POSITIVE_INFINITY:\n        set(Infinity);\n        continue;\n      case NEGATIVE_INFINITY:\n        set(-Infinity);\n        continue;\n      case NEGATIVE_ZERO:\n        set(-0);\n        continue;\n    }\n    if (hydrated[index2]) {\n      set(hydrated[index2]);\n      continue;\n    }\n    const value = values[index2];\n    if (!value || typeof value !== \"object\") {\n      hydrated[index2] = value;\n      set(value);\n      continue;\n    }\n    if (Array.isArray(value)) {\n      if (typeof value[0] === \"string\") {\n        const [type, b, c] = value;\n        switch (type) {\n          case TYPE_DATE:\n            set(hydrated[index2] = new Date(b));\n            continue;\n          case TYPE_URL:\n            set(hydrated[index2] = new URL(b));\n            continue;\n          case TYPE_BIGINT:\n            set(hydrated[index2] = BigInt(b));\n            continue;\n          case TYPE_REGEXP:\n            set(hydrated[index2] = new RegExp(b, c));\n            continue;\n          case TYPE_SYMBOL:\n            set(hydrated[index2] = Symbol.for(b));\n            continue;\n          case TYPE_SET:\n            const newSet = /* @__PURE__ */ new Set();\n            hydrated[index2] = newSet;\n            for (let i = value.length - 1; i > 0; i--)\n              stack.push([\n                value[i],\n                (v) => {\n                  newSet.add(v);\n                }\n              ]);\n            set(newSet);\n            continue;\n          case TYPE_MAP:\n            const map = /* @__PURE__ */ new Map();\n            hydrated[index2] = map;\n            for (let i = value.length - 2; i > 0; i -= 2) {\n              const r = [];\n              stack.push([\n                value[i + 1],\n                (v) => {\n                  r[1] = v;\n                }\n              ]);\n              stack.push([\n                value[i],\n                (k) => {\n                  r[0] = k;\n                }\n              ]);\n              postRun.push(() => {\n                map.set(r[0], r[1]);\n              });\n            }\n            set(map);\n            continue;\n          case TYPE_NULL_OBJECT:\n            const obj = /* @__PURE__ */ Object.create(null);\n            hydrated[index2] = obj;\n            for (const key of Object.keys(b).reverse()) {\n              const r = [];\n              stack.push([\n                b[key],\n                (v) => {\n                  r[1] = v;\n                }\n              ]);\n              stack.push([\n                Number(key.slice(1)),\n                (k) => {\n                  r[0] = k;\n                }\n              ]);\n              postRun.push(() => {\n                obj[r[0]] = r[1];\n              });\n            }\n            set(obj);\n            continue;\n          case TYPE_PROMISE:\n            if (hydrated[b]) {\n              set(hydrated[index2] = hydrated[b]);\n            } else {\n              const d = new Deferred2();\n              deferred[b] = d;\n              set(hydrated[index2] = d.promise);\n            }\n            continue;\n          case TYPE_ERROR:\n            const [, message, errorType] = value;\n            let error = errorType && globalObj && SUPPORTED_ERROR_TYPES.includes(errorType) && errorType in globalObj && typeof globalObj[errorType] === \"function\" ? new globalObj[errorType](message) : new Error(message);\n            hydrated[index2] = error;\n            set(error);\n            continue;\n          case TYPE_PREVIOUS_RESOLVED:\n            set(hydrated[index2] = hydrated[b]);\n            continue;\n          default:\n            if (Array.isArray(plugins)) {\n              const r = [];\n              const vals = value.slice(1);\n              for (let i = 0; i < vals.length; i++) {\n                const v = vals[i];\n                stack.push([\n                  v,\n                  (v2) => {\n                    r[i] = v2;\n                  }\n                ]);\n              }\n              postRun.push(() => {\n                for (const plugin of plugins) {\n                  const result2 = plugin(value[0], ...r);\n                  if (result2) {\n                    set(hydrated[index2] = result2.value);\n                    return;\n                  }\n                }\n                throw new SyntaxError();\n              });\n              continue;\n            }\n            throw new SyntaxError();\n        }\n      } else {\n        const array = [];\n        hydrated[index2] = array;\n        for (let i = 0; i < value.length; i++) {\n          const n = value[i];\n          if (n !== HOLE) {\n            stack.push([\n              n,\n              (v) => {\n                array[i] = v;\n              }\n            ]);\n          }\n        }\n        set(array);\n        continue;\n      }\n    } else {\n      const object = {};\n      hydrated[index2] = object;\n      for (const key of Object.keys(value).reverse()) {\n        const r = [];\n        stack.push([\n          value[key],\n          (v) => {\n            r[1] = v;\n          }\n        ]);\n        stack.push([\n          Number(key.slice(1)),\n          (k) => {\n            r[0] = k;\n          }\n        ]);\n        postRun.push(() => {\n          object[r[0]] = r[1];\n        });\n      }\n      set(object);\n      continue;\n    }\n  }\n  while (postRun.length > 0) {\n    postRun.pop()();\n  }\n  return result;\n}\n\n// vendor/turbo-stream-v2/turbo-stream.ts\nasync function decode(readable, options) {\n  const { plugins } = options ?? {};\n  const done = new Deferred2();\n  const reader = readable.pipeThrough(createLineSplittingTransform()).getReader();\n  const decoder = {\n    values: [],\n    hydrated: [],\n    deferred: {},\n    plugins\n  };\n  const decoded = await decodeInitial.call(decoder, reader);\n  let donePromise = done.promise;\n  if (decoded.done) {\n    done.resolve();\n  } else {\n    donePromise = decodeDeferred.call(decoder, reader).then(done.resolve).catch((reason) => {\n      for (const deferred of Object.values(decoder.deferred)) {\n        deferred.reject(reason);\n      }\n      done.reject(reason);\n    });\n  }\n  return {\n    done: donePromise.then(() => reader.closed),\n    value: decoded.value\n  };\n}\nasync function decodeInitial(reader) {\n  const read = await reader.read();\n  if (!read.value) {\n    throw new SyntaxError();\n  }\n  let line;\n  try {\n    line = JSON.parse(read.value);\n  } catch (reason) {\n    throw new SyntaxError();\n  }\n  return {\n    done: read.done,\n    value: unflatten.call(this, line)\n  };\n}\nasync function decodeDeferred(reader) {\n  let read = await reader.read();\n  while (!read.done) {\n    if (!read.value) continue;\n    const line = read.value;\n    switch (line[0]) {\n      case TYPE_PROMISE: {\n        const colonIndex = line.indexOf(\":\");\n        const deferredId = Number(line.slice(1, colonIndex));\n        const deferred = this.deferred[deferredId];\n        if (!deferred) {\n          throw new Error(`Deferred ID ${deferredId} not found in stream`);\n        }\n        const lineData = line.slice(colonIndex + 1);\n        let jsonLine;\n        try {\n          jsonLine = JSON.parse(lineData);\n        } catch (reason) {\n          throw new SyntaxError();\n        }\n        const value = unflatten.call(this, jsonLine);\n        deferred.resolve(value);\n        break;\n      }\n      case TYPE_ERROR: {\n        const colonIndex = line.indexOf(\":\");\n        const deferredId = Number(line.slice(1, colonIndex));\n        const deferred = this.deferred[deferredId];\n        if (!deferred) {\n          throw new Error(`Deferred ID ${deferredId} not found in stream`);\n        }\n        const lineData = line.slice(colonIndex + 1);\n        let jsonLine;\n        try {\n          jsonLine = JSON.parse(lineData);\n        } catch (reason) {\n          throw new SyntaxError();\n        }\n        const value = unflatten.call(this, jsonLine);\n        deferred.reject(value);\n        break;\n      }\n      default:\n        throw new SyntaxError();\n    }\n    read = await reader.read();\n  }\n}\nfunction encode(input, options) {\n  const { onComplete, plugins, postPlugins, signal } = options ?? {};\n  const encoder = {\n    deferred: {},\n    index: 0,\n    indices: /* @__PURE__ */ new Map(),\n    stringified: [],\n    plugins,\n    postPlugins,\n    signal\n  };\n  const textEncoder = new TextEncoder();\n  let lastSentIndex = 0;\n  const readable = new ReadableStream({\n    async start(controller) {\n      const id = await flatten.call(encoder, input);\n      if (Array.isArray(id)) {\n        throw new Error(\"This should never happen\");\n      }\n      if (id < 0) {\n        controller.enqueue(textEncoder.encode(`${id}\n`));\n      } else {\n        controller.enqueue(\n          textEncoder.encode(`[${encoder.stringified.join(\",\")}]\n`)\n        );\n        lastSentIndex = encoder.stringified.length - 1;\n      }\n      const seenPromises = /* @__PURE__ */ new WeakSet();\n      let processingChain = Promise.resolve();\n      if (Object.keys(encoder.deferred).length) {\n        let raceDone;\n        const racePromise = new Promise((resolve, reject) => {\n          raceDone = resolve;\n          if (signal) {\n            const rejectPromise = () => reject(signal.reason || new Error(\"Signal was aborted.\"));\n            if (signal.aborted) {\n              rejectPromise();\n            } else {\n              signal.addEventListener(\"abort\", (event) => {\n                rejectPromise();\n              });\n            }\n          }\n        });\n        while (Object.keys(encoder.deferred).length > 0) {\n          for (const [deferredId, deferred] of Object.entries(\n            encoder.deferred\n          )) {\n            if (seenPromises.has(deferred)) continue;\n            seenPromises.add(\n              // biome-ignore lint/suspicious/noAssignInExpressions: <explanation>\n              encoder.deferred[Number(deferredId)] = Promise.race([\n                racePromise,\n                deferred\n              ]).then(\n                (resolved) => {\n                  processingChain = processingChain.then(async () => {\n                    const id2 = await flatten.call(encoder, resolved);\n                    if (Array.isArray(id2)) {\n                      controller.enqueue(\n                        textEncoder.encode(\n                          `${TYPE_PROMISE}${deferredId}:[[\"${TYPE_PREVIOUS_RESOLVED}\",${id2[0]}]]\n`\n                        )\n                      );\n                      encoder.index++;\n                      lastSentIndex++;\n                    } else if (id2 < 0) {\n                      controller.enqueue(\n                        textEncoder.encode(\n                          `${TYPE_PROMISE}${deferredId}:${id2}\n`\n                        )\n                      );\n                    } else {\n                      const values = encoder.stringified.slice(lastSentIndex + 1).join(\",\");\n                      controller.enqueue(\n                        textEncoder.encode(\n                          `${TYPE_PROMISE}${deferredId}:[${values}]\n`\n                        )\n                      );\n                      lastSentIndex = encoder.stringified.length - 1;\n                    }\n                  });\n                  return processingChain;\n                },\n                (reason) => {\n                  processingChain = processingChain.then(async () => {\n                    if (!reason || typeof reason !== \"object\" || !(reason instanceof Error)) {\n                      reason = new Error(\"An unknown error occurred\");\n                    }\n                    const id2 = await flatten.call(encoder, reason);\n                    if (Array.isArray(id2)) {\n                      controller.enqueue(\n                        textEncoder.encode(\n                          `${TYPE_ERROR}${deferredId}:[[\"${TYPE_PREVIOUS_RESOLVED}\",${id2[0]}]]\n`\n                        )\n                      );\n                      encoder.index++;\n                      lastSentIndex++;\n                    } else if (id2 < 0) {\n                      controller.enqueue(\n                        textEncoder.encode(\n                          `${TYPE_ERROR}${deferredId}:${id2}\n`\n                        )\n                      );\n                    } else {\n                      const values = encoder.stringified.slice(lastSentIndex + 1).join(\",\");\n                      controller.enqueue(\n                        textEncoder.encode(\n                          `${TYPE_ERROR}${deferredId}:[${values}]\n`\n                        )\n                      );\n                      lastSentIndex = encoder.stringified.length - 1;\n                    }\n                  });\n                  return processingChain;\n                }\n              ).finally(() => {\n                delete encoder.deferred[Number(deferredId)];\n              })\n            );\n          }\n          await Promise.race(Object.values(encoder.deferred));\n        }\n        raceDone();\n      }\n      await Promise.all(Object.values(encoder.deferred));\n      await processingChain;\n      controller.close();\n      onComplete?.();\n    }\n  });\n  return readable;\n}\n\n// lib/dom/ssr/data.ts\nasync function createRequestInit(request) {\n  let init = { signal: request.signal };\n  if (request.method !== \"GET\") {\n    init.method = request.method;\n    let contentType = request.headers.get(\"Content-Type\");\n    if (contentType && /\\bapplication\\/json\\b/.test(contentType)) {\n      init.headers = { \"Content-Type\": contentType };\n      init.body = JSON.stringify(await request.json());\n    } else if (contentType && /\\btext\\/plain\\b/.test(contentType)) {\n      init.headers = { \"Content-Type\": contentType };\n      init.body = await request.text();\n    } else if (contentType && /\\bapplication\\/x-www-form-urlencoded\\b/.test(contentType)) {\n      init.body = new URLSearchParams(await request.text());\n    } else {\n      init.body = await request.formData();\n    }\n  }\n  return init;\n}\n\n// lib/dom/ssr/markup.ts\nvar ESCAPE_LOOKUP = {\n  \"&\": \"\\\\u0026\",\n  \">\": \"\\\\u003e\",\n  \"<\": \"\\\\u003c\",\n  \"\\u2028\": \"\\\\u2028\",\n  \"\\u2029\": \"\\\\u2029\"\n};\nvar ESCAPE_REGEX = /[&><\\u2028\\u2029]/g;\nfunction escapeHtml(html) {\n  return html.replace(ESCAPE_REGEX, (match) => ESCAPE_LOOKUP[match]);\n}\nfunction escapeAttribute(value) {\n  return value.replace(/&/g, \"&amp;\").replace(/\"/g, \"&quot;\").replace(/</g, \"&lt;\").replace(/>/g, \"&gt;\");\n}\n\n// lib/dom/ssr/invariant.ts\nfunction invariant2(value, message) {\n  if (value === false || value === null || typeof value === \"undefined\") {\n    throw new Error(message);\n  }\n}\n\n// lib/dom/ssr/single-fetch.tsx\nvar SingleFetchRedirectSymbol = Symbol(\"SingleFetchRedirect\");\nvar SingleFetchNoResultError = class extends Error {\n};\nvar SINGLE_FETCH_REDIRECT_STATUS = 202;\nvar NO_BODY_STATUS_CODES = /* @__PURE__ */ new Set([100, 101, 204, 205]);\nfunction StreamTransfer({\n  context,\n  identifier,\n  reader,\n  textDecoder,\n  nonce\n}) {\n  if (!context.renderMeta || !context.renderMeta.didRenderScripts) {\n    return null;\n  }\n  if (!context.renderMeta.streamCache) {\n    context.renderMeta.streamCache = {};\n  }\n  let { streamCache } = context.renderMeta;\n  let promise = streamCache[identifier];\n  if (!promise) {\n    promise = streamCache[identifier] = reader.read().then((result) => {\n      streamCache[identifier].result = {\n        done: result.done,\n        value: textDecoder.decode(result.value, { stream: true })\n      };\n    }).catch((e) => {\n      streamCache[identifier].error = e;\n    });\n  }\n  if (promise.error) {\n    throw promise.error;\n  }\n  if (promise.result === void 0) {\n    throw promise;\n  }\n  let { done, value } = promise.result;\n  let scriptTag = value ? /* @__PURE__ */ React4.createElement(\n    \"script\",\n    {\n      nonce,\n      dangerouslySetInnerHTML: {\n        __html: `window.__reactRouterContext.streamController.enqueue(${escapeHtml(\n          JSON.stringify(value)\n        )});`\n      }\n    }\n  ) : null;\n  if (done) {\n    return /* @__PURE__ */ React4.createElement(React4.Fragment, null, scriptTag, /* @__PURE__ */ React4.createElement(\n      \"script\",\n      {\n        nonce,\n        dangerouslySetInnerHTML: {\n          __html: `window.__reactRouterContext.streamController.close();`\n        }\n      }\n    ));\n  } else {\n    return /* @__PURE__ */ React4.createElement(React4.Fragment, null, scriptTag, /* @__PURE__ */ React4.createElement(React4.Suspense, null, /* @__PURE__ */ React4.createElement(\n      StreamTransfer,\n      {\n        context,\n        identifier: identifier + 1,\n        reader,\n        textDecoder,\n        nonce\n      }\n    )));\n  }\n}\nfunction getTurboStreamSingleFetchDataStrategy(getRouter, manifest, routeModules, ssr, basename, trailingSlashAware) {\n  let dataStrategy = getSingleFetchDataStrategyImpl(\n    getRouter,\n    (match) => {\n      let manifestRoute = manifest.routes[match.route.id];\n      invariant2(manifestRoute, \"Route not found in manifest\");\n      return {\n        hasLoader: manifestRoute.hasLoader,\n        hasClientLoader: manifestRoute.hasClientLoader\n      };\n    },\n    fetchAndDecodeViaTurboStream,\n    ssr,\n    basename,\n    trailingSlashAware\n  );\n  return async (args) => args.runClientMiddleware(dataStrategy);\n}\nfunction getSingleFetchDataStrategyImpl(getRouter, getRouteInfo, fetchAndDecode, ssr, basename, trailingSlashAware, shouldAllowOptOut = () => true) {\n  return async (args) => {\n    let { request, matches, fetcherKey } = args;\n    let router = getRouter();\n    if (request.method !== \"GET\") {\n      return singleFetchActionStrategy(\n        args,\n        fetchAndDecode,\n        basename,\n        trailingSlashAware\n      );\n    }\n    let foundRevalidatingServerLoader = matches.some((m) => {\n      let { hasLoader, hasClientLoader } = getRouteInfo(m);\n      return m.shouldCallHandler() && hasLoader && !hasClientLoader;\n    });\n    if (!ssr && !foundRevalidatingServerLoader) {\n      return nonSsrStrategy(\n        args,\n        getRouteInfo,\n        fetchAndDecode,\n        basename,\n        trailingSlashAware\n      );\n    }\n    if (fetcherKey) {\n      return singleFetchLoaderFetcherStrategy(\n        args,\n        fetchAndDecode,\n        basename,\n        trailingSlashAware\n      );\n    }\n    return singleFetchLoaderNavigationStrategy(\n      args,\n      router,\n      getRouteInfo,\n      fetchAndDecode,\n      ssr,\n      basename,\n      trailingSlashAware,\n      shouldAllowOptOut\n    );\n  };\n}\nasync function singleFetchActionStrategy(args, fetchAndDecode, basename, trailingSlashAware) {\n  let actionMatch = args.matches.find((m) => m.shouldCallHandler());\n  invariant2(actionMatch, \"No action match found\");\n  let actionStatus = void 0;\n  let result = await actionMatch.resolve(async (handler) => {\n    let result2 = await handler(async () => {\n      let { data: data2, status } = await fetchAndDecode(\n        args,\n        basename,\n        trailingSlashAware,\n        [actionMatch.route.id]\n      );\n      actionStatus = status;\n      return unwrapSingleFetchResult(data2, actionMatch.route.id);\n    });\n    return result2;\n  });\n  if (isResponse(result.result) || isRouteErrorResponse(result.result) || isDataWithResponseInit(result.result)) {\n    return { [actionMatch.route.id]: result };\n  }\n  return {\n    [actionMatch.route.id]: {\n      type: result.type,\n      result: data(result.result, actionStatus)\n    }\n  };\n}\nasync function nonSsrStrategy(args, getRouteInfo, fetchAndDecode, basename, trailingSlashAware) {\n  let matchesToLoad = args.matches.filter((m) => m.shouldCallHandler());\n  let results = {};\n  await Promise.all(\n    matchesToLoad.map(\n      (m) => m.resolve(async (handler) => {\n        try {\n          let { hasClientLoader } = getRouteInfo(m);\n          let routeId = m.route.id;\n          let result = hasClientLoader ? await handler(async () => {\n            let { data: data2 } = await fetchAndDecode(\n              args,\n              basename,\n              trailingSlashAware,\n              [routeId]\n            );\n            return unwrapSingleFetchResult(data2, routeId);\n          }) : await handler();\n          results[m.route.id] = { type: \"data\", result };\n        } catch (e) {\n          results[m.route.id] = { type: \"error\", result: e };\n        }\n      })\n    )\n  );\n  return results;\n}\nasync function singleFetchLoaderNavigationStrategy(args, router, getRouteInfo, fetchAndDecode, ssr, basename, trailingSlashAware, shouldAllowOptOut = () => true) {\n  let routesParams = /* @__PURE__ */ new Set();\n  let foundOptOutRoute = false;\n  let routeDfds = args.matches.map(() => createDeferred2());\n  let singleFetchDfd = createDeferred2();\n  let results = {};\n  let resolvePromise = Promise.all(\n    args.matches.map(\n      async (m, i) => m.resolve(async (handler) => {\n        routeDfds[i].resolve();\n        let routeId = m.route.id;\n        let { hasLoader, hasClientLoader } = getRouteInfo(m);\n        let defaultShouldRevalidate = !m.shouldRevalidateArgs || m.shouldRevalidateArgs.actionStatus == null || m.shouldRevalidateArgs.actionStatus < 400;\n        let shouldCall = m.shouldCallHandler(defaultShouldRevalidate);\n        if (!shouldCall) {\n          foundOptOutRoute || (foundOptOutRoute = m.shouldRevalidateArgs != null && // This is a revalidation,\n          hasLoader);\n          return;\n        }\n        if (shouldAllowOptOut(m) && hasClientLoader) {\n          if (hasLoader) {\n            foundOptOutRoute = true;\n          }\n          try {\n            let result = await handler(async () => {\n              let { data: data2 } = await fetchAndDecode(\n                args,\n                basename,\n                trailingSlashAware,\n                [routeId]\n              );\n              return unwrapSingleFetchResult(data2, routeId);\n            });\n            results[routeId] = { type: \"data\", result };\n          } catch (e) {\n            results[routeId] = { type: \"error\", result: e };\n          }\n          return;\n        }\n        if (hasLoader) {\n          routesParams.add(routeId);\n        }\n        try {\n          let result = await handler(async () => {\n            let data2 = await singleFetchDfd.promise;\n            return unwrapSingleFetchResult(data2, routeId);\n          });\n          results[routeId] = { type: \"data\", result };\n        } catch (e) {\n          results[routeId] = { type: \"error\", result: e };\n        }\n      })\n    )\n  );\n  await Promise.all(routeDfds.map((d) => d.promise));\n  let isInitialLoad = !router.state.initialized && router.state.navigation.state === \"idle\";\n  if ((isInitialLoad || routesParams.size === 0) && !window.__reactRouterHdrActive) {\n    singleFetchDfd.resolve({ routes: {} });\n  } else {\n    let targetRoutes = ssr && foundOptOutRoute && routesParams.size > 0 ? [...routesParams.keys()] : void 0;\n    try {\n      let data2 = await fetchAndDecode(\n        args,\n        basename,\n        trailingSlashAware,\n        targetRoutes\n      );\n      singleFetchDfd.resolve(data2.data);\n    } catch (e) {\n      singleFetchDfd.reject(e);\n    }\n  }\n  await resolvePromise;\n  await bubbleMiddlewareErrors(\n    singleFetchDfd.promise,\n    args.matches,\n    routesParams,\n    results\n  );\n  return results;\n}\nasync function bubbleMiddlewareErrors(singleFetchPromise, matches, routesParams, results) {\n  try {\n    let middlewareError;\n    let fetchedData = await singleFetchPromise;\n    if (\"routes\" in fetchedData) {\n      for (let match of matches) {\n        if (match.route.id in fetchedData.routes) {\n          let routeResult = fetchedData.routes[match.route.id];\n          if (\"error\" in routeResult) {\n            middlewareError = routeResult.error;\n            if (results[match.route.id]?.result == null) {\n              results[match.route.id] = {\n                type: \"error\",\n                result: middlewareError\n              };\n            }\n            break;\n          }\n        }\n      }\n    }\n    if (middlewareError !== void 0) {\n      Array.from(routesParams.values()).forEach((routeId) => {\n        if (results[routeId].result instanceof SingleFetchNoResultError) {\n          results[routeId].result = middlewareError;\n        }\n      });\n    }\n  } catch (e) {\n  }\n}\nasync function singleFetchLoaderFetcherStrategy(args, fetchAndDecode, basename, trailingSlashAware) {\n  let fetcherMatch = args.matches.find((m) => m.shouldCallHandler());\n  invariant2(fetcherMatch, \"No fetcher match found\");\n  let routeId = fetcherMatch.route.id;\n  let result = await fetcherMatch.resolve(\n    async (handler) => handler(async () => {\n      let { data: data2 } = await fetchAndDecode(args, basename, trailingSlashAware, [\n        routeId\n      ]);\n      return unwrapSingleFetchResult(data2, routeId);\n    })\n  );\n  return { [fetcherMatch.route.id]: result };\n}\nfunction stripIndexParam(url) {\n  let indexValues = url.searchParams.getAll(\"index\");\n  url.searchParams.delete(\"index\");\n  let indexValuesToKeep = [];\n  for (let indexValue of indexValues) {\n    if (indexValue) {\n      indexValuesToKeep.push(indexValue);\n    }\n  }\n  for (let toKeep of indexValuesToKeep) {\n    url.searchParams.append(\"index\", toKeep);\n  }\n  return url;\n}\nfunction singleFetchUrl(reqUrl, basename, trailingSlashAware, extension) {\n  let url = typeof reqUrl === \"string\" ? new URL(\n    reqUrl,\n    // This can be called during the SSR flow via PrefetchPageLinksImpl so\n    // don't assume window is available\n    typeof window === \"undefined\" ? \"server://singlefetch/\" : window.location.origin\n  ) : reqUrl;\n  if (trailingSlashAware) {\n    if (url.pathname.endsWith(\"/\")) {\n      url.pathname = `${url.pathname}_.${extension}`;\n    } else {\n      url.pathname = `${url.pathname}.${extension}`;\n    }\n  } else {\n    if (url.pathname === \"/\") {\n      url.pathname = `_root.${extension}`;\n    } else if (basename && stripBasename(url.pathname, basename) === \"/\") {\n      url.pathname = `${removeTrailingSlash(basename)}/_root.${extension}`;\n    } else {\n      url.pathname = `${removeTrailingSlash(url.pathname)}.${extension}`;\n    }\n  }\n  return url;\n}\nasync function fetchAndDecodeViaTurboStream(args, basename, trailingSlashAware, targetRoutes) {\n  let { request } = args;\n  let url = singleFetchUrl(request.url, basename, trailingSlashAware, \"data\");\n  if (request.method === \"GET\") {\n    url = stripIndexParam(url);\n    if (targetRoutes) {\n      url.searchParams.set(\"_routes\", targetRoutes.join(\",\"));\n    }\n  }\n  let res = await fetch(url, await createRequestInit(request));\n  if (res.status >= 400 && !res.headers.has(\"X-Remix-Response\")) {\n    throw new ErrorResponseImpl(res.status, res.statusText, await res.text());\n  }\n  if (res.status === 204 && res.headers.has(\"X-Remix-Redirect\")) {\n    return {\n      status: SINGLE_FETCH_REDIRECT_STATUS,\n      data: {\n        redirect: {\n          redirect: res.headers.get(\"X-Remix-Redirect\"),\n          status: Number(res.headers.get(\"X-Remix-Status\") || \"302\"),\n          revalidate: res.headers.get(\"X-Remix-Revalidate\") === \"true\",\n          reload: res.headers.get(\"X-Remix-Reload-Document\") === \"true\",\n          replace: res.headers.get(\"X-Remix-Replace\") === \"true\"\n        }\n      }\n    };\n  }\n  if (NO_BODY_STATUS_CODES.has(res.status)) {\n    let routes = {};\n    if (targetRoutes && request.method !== \"GET\") {\n      routes[targetRoutes[0]] = { data: void 0 };\n    }\n    return {\n      status: res.status,\n      data: { routes }\n    };\n  }\n  invariant2(res.body, \"No response body to decode\");\n  try {\n    let decoded = await decodeViaTurboStream(res.body, window);\n    let data2;\n    if (request.method === \"GET\") {\n      let typed = decoded.value;\n      if (SingleFetchRedirectSymbol in typed) {\n        data2 = { redirect: typed[SingleFetchRedirectSymbol] };\n      } else {\n        data2 = { routes: typed };\n      }\n    } else {\n      let typed = decoded.value;\n      let routeId = targetRoutes?.[0];\n      invariant2(routeId, \"No routeId found for single fetch call decoding\");\n      if (\"redirect\" in typed) {\n        data2 = { redirect: typed };\n      } else {\n        data2 = { routes: { [routeId]: typed } };\n      }\n    }\n    return { status: res.status, data: data2 };\n  } catch (e) {\n    throw new Error(\"Unable to decode turbo-stream response\");\n  }\n}\nfunction decodeViaTurboStream(body, global) {\n  return decode(body, {\n    plugins: [\n      (type, ...rest) => {\n        if (type === \"SanitizedError\") {\n          let [name, message, stack] = rest;\n          let Constructor = Error;\n          if (name && SUPPORTED_ERROR_TYPES.includes(name) && name in global && // @ts-expect-error\n          typeof global[name] === \"function\") {\n            Constructor = global[name];\n          }\n          let error = new Constructor(message);\n          error.stack = stack;\n          return { value: error };\n        }\n        if (type === \"ErrorResponse\") {\n          let [data2, status, statusText] = rest;\n          return {\n            value: new ErrorResponseImpl(status, statusText, data2)\n          };\n        }\n        if (type === \"SingleFetchRedirect\") {\n          return { value: { [SingleFetchRedirectSymbol]: rest[0] } };\n        }\n        if (type === \"SingleFetchClassInstance\") {\n          return { value: rest[0] };\n        }\n        if (type === \"SingleFetchFallback\") {\n          return { value: void 0 };\n        }\n      }\n    ]\n  });\n}\nfunction unwrapSingleFetchResult(result, routeId) {\n  if (\"redirect\" in result) {\n    let {\n      redirect: location,\n      revalidate,\n      reload,\n      replace: replace2,\n      status\n    } = result.redirect;\n    throw redirect(location, {\n      status,\n      headers: {\n        // Three R's of redirecting (lol Veep)\n        ...revalidate ? { \"X-Remix-Revalidate\": \"yes\" } : null,\n        ...reload ? { \"X-Remix-Reload-Document\": \"yes\" } : null,\n        ...replace2 ? { \"X-Remix-Replace\": \"yes\" } : null\n      }\n    });\n  }\n  let routeResult = result.routes[routeId];\n  if (routeResult == null) {\n    throw new SingleFetchNoResultError(\n      `No result found for routeId \"${routeId}\"`\n    );\n  } else if (\"error\" in routeResult) {\n    throw routeResult.error;\n  } else if (\"data\" in routeResult) {\n    return routeResult.data;\n  } else {\n    throw new Error(`Invalid response found for routeId \"${routeId}\"`);\n  }\n}\nfunction createDeferred2() {\n  let resolve;\n  let reject;\n  let promise = new Promise((res, rej) => {\n    resolve = async (val) => {\n      res(val);\n      try {\n        await promise;\n      } catch (e) {\n      }\n    };\n    reject = async (error) => {\n      rej(error);\n      try {\n        await promise;\n      } catch (e) {\n      }\n    };\n  });\n  return {\n    promise,\n    //@ts-ignore\n    resolve,\n    //@ts-ignore\n    reject\n  };\n}\n\n// lib/dom/ssr/errorBoundaries.tsx\nimport * as React9 from \"react\";\n\n// lib/dom/ssr/components.tsx\nimport * as React8 from \"react\";\n\n// lib/dom/ssr/routeModules.ts\nasync function loadRouteModule(route, routeModulesCache) {\n  if (route.id in routeModulesCache) {\n    return routeModulesCache[route.id];\n  }\n  try {\n    let routeModule = await import(\n      /* @vite-ignore */\n      /* webpackIgnore: true */\n      route.module\n    );\n    routeModulesCache[route.id] = routeModule;\n    return routeModule;\n  } catch (error) {\n    console.error(\n      `Error loading route module \\`${route.module}\\`, reloading page...`\n    );\n    console.error(error);\n    if (window.__reactRouterContext && window.__reactRouterContext.isSpaMode && // @ts-expect-error\n    import.meta.hot) {\n      throw error;\n    }\n    window.location.reload();\n    return new Promise(() => {\n    });\n  }\n}\n\n// lib/dom/ssr/links.ts\nfunction getKeyedLinksForMatches(matches, routeModules, manifest) {\n  let descriptors = matches.map((match) => {\n    let module = routeModules[match.route.id];\n    let route = manifest.routes[match.route.id];\n    return [\n      route && route.css ? route.css.map((href) => ({ rel: \"stylesheet\", href })) : [],\n      module?.links?.() || []\n    ];\n  }).flat(2);\n  let preloads = getModuleLinkHrefs(matches, manifest);\n  return dedupeLinkDescriptors(descriptors, preloads);\n}\nfunction getRouteCssDescriptors(route) {\n  if (!route.css) return [];\n  return route.css.map((href) => ({ rel: \"stylesheet\", href }));\n}\nasync function prefetchRouteCss(route) {\n  if (!route.css) return;\n  let descriptors = getRouteCssDescriptors(route);\n  await Promise.all(descriptors.map(prefetchStyleLink));\n}\nasync function prefetchStyleLinks(route, routeModule) {\n  if (!route.css && !routeModule.links || !isPreloadSupported()) return;\n  let descriptors = [];\n  if (route.css) {\n    descriptors.push(...getRouteCssDescriptors(route));\n  }\n  if (routeModule.links) {\n    descriptors.push(...routeModule.links());\n  }\n  if (descriptors.length === 0) return;\n  let styleLinks = [];\n  for (let descriptor of descriptors) {\n    if (!isPageLinkDescriptor(descriptor) && descriptor.rel === \"stylesheet\") {\n      styleLinks.push({\n        ...descriptor,\n        rel: \"preload\",\n        as: \"style\"\n      });\n    }\n  }\n  await Promise.all(styleLinks.map(prefetchStyleLink));\n}\nasync function prefetchStyleLink(descriptor) {\n  return new Promise((resolve) => {\n    if (descriptor.media && !window.matchMedia(descriptor.media).matches || document.querySelector(\n      `link[rel=\"stylesheet\"][href=\"${descriptor.href}\"]`\n    )) {\n      return resolve();\n    }\n    let link = document.createElement(\"link\");\n    Object.assign(link, descriptor);\n    function removeLink() {\n      if (document.head.contains(link)) {\n        document.head.removeChild(link);\n      }\n    }\n    link.onload = () => {\n      removeLink();\n      resolve();\n    };\n    link.onerror = () => {\n      removeLink();\n      resolve();\n    };\n    document.head.appendChild(link);\n  });\n}\nfunction isPageLinkDescriptor(object) {\n  return object != null && typeof object.page === \"string\";\n}\nfunction isHtmlLinkDescriptor(object) {\n  if (object == null) {\n    return false;\n  }\n  if (object.href == null) {\n    return object.rel === \"preload\" && typeof object.imageSrcSet === \"string\" && typeof object.imageSizes === \"string\";\n  }\n  return typeof object.rel === \"string\" && typeof object.href === \"string\";\n}\nasync function getKeyedPrefetchLinks(matches, manifest, routeModules) {\n  let links = await Promise.all(\n    matches.map(async (match) => {\n      let route = manifest.routes[match.route.id];\n      if (route) {\n        let mod = await loadRouteModule(route, routeModules);\n        return mod.links ? mod.links() : [];\n      }\n      return [];\n    })\n  );\n  return dedupeLinkDescriptors(\n    links.flat(1).filter(isHtmlLinkDescriptor).filter((link) => link.rel === \"stylesheet\" || link.rel === \"preload\").map(\n      (link) => link.rel === \"stylesheet\" ? { ...link, rel: \"prefetch\", as: \"style\" } : { ...link, rel: \"prefetch\" }\n    )\n  );\n}\nfunction getNewMatchesForLinks(page, nextMatches, currentMatches, manifest, location, mode) {\n  let isNew = (match, index) => {\n    if (!currentMatches[index]) return true;\n    return match.route.id !== currentMatches[index].route.id;\n  };\n  let matchPathChanged = (match, index) => {\n    return (\n      // param change, /users/123 -> /users/456\n      currentMatches[index].pathname !== match.pathname || // splat param changed, which is not present in match.path\n      // e.g. /files/images/avatar.jpg -> files/finances.xls\n      currentMatches[index].route.path?.endsWith(\"*\") && currentMatches[index].params[\"*\"] !== match.params[\"*\"]\n    );\n  };\n  if (mode === \"assets\") {\n    return nextMatches.filter(\n      (match, index) => isNew(match, index) || matchPathChanged(match, index)\n    );\n  }\n  if (mode === \"data\") {\n    return nextMatches.filter((match, index) => {\n      let manifestRoute = manifest.routes[match.route.id];\n      if (!manifestRoute || !manifestRoute.hasLoader) {\n        return false;\n      }\n      if (isNew(match, index) || matchPathChanged(match, index)) {\n        return true;\n      }\n      if (match.route.shouldRevalidate) {\n        let routeChoice = match.route.shouldRevalidate({\n          currentUrl: new URL(\n            location.pathname + location.search + location.hash,\n            window.origin\n          ),\n          currentParams: currentMatches[0]?.params || {},\n          nextUrl: new URL(page, window.origin),\n          nextParams: match.params,\n          defaultShouldRevalidate: true\n        });\n        if (typeof routeChoice === \"boolean\") {\n          return routeChoice;\n        }\n      }\n      return true;\n    });\n  }\n  return [];\n}\nfunction getModuleLinkHrefs(matches, manifest, { includeHydrateFallback } = {}) {\n  return dedupeHrefs(\n    matches.map((match) => {\n      let route = manifest.routes[match.route.id];\n      if (!route) return [];\n      let hrefs = [route.module];\n      if (route.clientActionModule) {\n        hrefs = hrefs.concat(route.clientActionModule);\n      }\n      if (route.clientLoaderModule) {\n        hrefs = hrefs.concat(route.clientLoaderModule);\n      }\n      if (includeHydrateFallback && route.hydrateFallbackModule) {\n        hrefs = hrefs.concat(route.hydrateFallbackModule);\n      }\n      if (route.imports) {\n        hrefs = hrefs.concat(route.imports);\n      }\n      return hrefs;\n    }).flat(1)\n  );\n}\nfunction dedupeHrefs(hrefs) {\n  return [...new Set(hrefs)];\n}\nfunction sortKeys(obj) {\n  let sorted = {};\n  let keys = Object.keys(obj).sort();\n  for (let key of keys) {\n    sorted[key] = obj[key];\n  }\n  return sorted;\n}\nfunction dedupeLinkDescriptors(descriptors, preloads) {\n  let set = /* @__PURE__ */ new Set();\n  let preloadsSet = new Set(preloads);\n  return descriptors.reduce((deduped, descriptor) => {\n    let alreadyModulePreload = preloads && !isPageLinkDescriptor(descriptor) && descriptor.as === \"script\" && descriptor.href && preloadsSet.has(descriptor.href);\n    if (alreadyModulePreload) {\n      return deduped;\n    }\n    let key = JSON.stringify(sortKeys(descriptor));\n    if (!set.has(key)) {\n      set.add(key);\n      deduped.push({ key, link: descriptor });\n    }\n    return deduped;\n  }, []);\n}\nvar _isPreloadSupported;\nfunction isPreloadSupported() {\n  if (_isPreloadSupported !== void 0) {\n    return _isPreloadSupported;\n  }\n  let el = document.createElement(\"link\");\n  _isPreloadSupported = el.relList.supports(\"preload\");\n  el = null;\n  return _isPreloadSupported;\n}\n\n// lib/dom/ssr/fog-of-war.ts\nimport * as React7 from \"react\";\n\n// lib/dom/ssr/routes.tsx\nimport * as React6 from \"react\";\n\n// lib/dom/ssr/fallback.tsx\nimport * as React5 from \"react\";\nfunction RemixRootDefaultHydrateFallback() {\n  let { nonce } = useFrameworkContext();\n  return /* @__PURE__ */ React5.createElement(BoundaryShell, { title: \"Loading...\", renderScripts: true }, ENABLE_DEV_WARNINGS ? /* @__PURE__ */ React5.createElement(\n    \"script\",\n    {\n      nonce,\n      dangerouslySetInnerHTML: {\n        __html: `\n              console.log(\n                \"\\u{1F4BF} Hey developer \\u{1F44B}. You can provide a way better UX than this \" +\n                \"when your app is loading JS modules and/or running \\`clientLoader\\` \" +\n                \"functions. Check out https://reactrouter.com/start/framework/route-module#hydratefallback \" +\n                \"for more information.\"\n              );\n            `\n      }\n    }\n  ) : null);\n}\n\n// lib/dom/ssr/routes.tsx\nfunction groupRoutesByParentId(manifest) {\n  let routes = {};\n  Object.values(manifest).forEach((route) => {\n    if (route) {\n      let parentId = route.parentId || \"\";\n      if (!routes[parentId]) {\n        routes[parentId] = [];\n      }\n      routes[parentId].push(route);\n    }\n  });\n  return routes;\n}\nfunction getRouteComponents(route, routeModule, isSpaMode) {\n  let Component4 = getRouteModuleComponent(routeModule);\n  let HydrateFallback = routeModule.HydrateFallback && (!isSpaMode || route.id === \"root\") ? routeModule.HydrateFallback : route.id === \"root\" ? RemixRootDefaultHydrateFallback : void 0;\n  let ErrorBoundary = routeModule.ErrorBoundary ? routeModule.ErrorBoundary : route.id === \"root\" ? () => /* @__PURE__ */ React6.createElement(RemixRootDefaultErrorBoundary, { error: useRouteError() }) : void 0;\n  if (route.id === \"root\" && routeModule.Layout) {\n    return {\n      ...Component4 ? {\n        element: /* @__PURE__ */ React6.createElement(routeModule.Layout, null, /* @__PURE__ */ React6.createElement(Component4, null))\n      } : { Component: Component4 },\n      ...ErrorBoundary ? {\n        errorElement: /* @__PURE__ */ React6.createElement(routeModule.Layout, null, /* @__PURE__ */ React6.createElement(ErrorBoundary, null))\n      } : { ErrorBoundary },\n      ...HydrateFallback ? {\n        hydrateFallbackElement: /* @__PURE__ */ React6.createElement(routeModule.Layout, null, /* @__PURE__ */ React6.createElement(HydrateFallback, null))\n      } : { HydrateFallback }\n    };\n  }\n  return { Component: Component4, ErrorBoundary, HydrateFallback };\n}\nfunction createServerRoutes(manifest, routeModules, future, isSpaMode, parentId = \"\", routesByParentId = groupRoutesByParentId(manifest), spaModeLazyPromise = Promise.resolve({ Component: () => null })) {\n  return (routesByParentId[parentId] || []).map((route) => {\n    let routeModule = routeModules[route.id];\n    invariant2(\n      routeModule,\n      \"No `routeModule` available to create server routes\"\n    );\n    let dataRoute = {\n      ...getRouteComponents(route, routeModule, isSpaMode),\n      caseSensitive: route.caseSensitive,\n      id: route.id,\n      index: route.index,\n      path: route.path,\n      handle: routeModule.handle,\n      // For SPA Mode, all routes are lazy except root.  However we tell the\n      // router root is also lazy here too since we don't need a full\n      // implementation - we just need a `lazy` prop to tell the RR rendering\n      // where to stop which is always at the root route in SPA mode\n      lazy: isSpaMode ? () => spaModeLazyPromise : void 0,\n      // For partial hydration rendering, we need to indicate when the route\n      // has a loader/clientLoader, but it won't ever be called during the static\n      // render, so just give it a no-op function so we can render down to the\n      // proper fallback\n      loader: route.hasLoader || route.hasClientLoader ? () => null : void 0\n      // We don't need middleware/action/shouldRevalidate on these routes since\n      // they're for a static render\n    };\n    let children = createServerRoutes(\n      manifest,\n      routeModules,\n      future,\n      isSpaMode,\n      route.id,\n      routesByParentId,\n      spaModeLazyPromise\n    );\n    if (children.length > 0) dataRoute.children = children;\n    return dataRoute;\n  });\n}\nfunction createClientRoutesWithHMRRevalidationOptOut(needsRevalidation, manifest, routeModulesCache, initialState, ssr, isSpaMode) {\n  return createClientRoutes(\n    manifest,\n    routeModulesCache,\n    initialState,\n    ssr,\n    isSpaMode,\n    \"\",\n    groupRoutesByParentId(manifest),\n    needsRevalidation\n  );\n}\nfunction preventInvalidServerHandlerCall(type, route) {\n  if (type === \"loader\" && !route.hasLoader || type === \"action\" && !route.hasAction) {\n    let fn = type === \"action\" ? \"serverAction()\" : \"serverLoader()\";\n    let msg = `You are trying to call ${fn} on a route that does not have a server ${type} (routeId: \"${route.id}\")`;\n    console.error(msg);\n    throw new ErrorResponseImpl(400, \"Bad Request\", new Error(msg), true);\n  }\n}\nfunction noActionDefinedError(type, routeId) {\n  let article = type === \"clientAction\" ? \"a\" : \"an\";\n  let msg = `Route \"${routeId}\" does not have ${article} ${type}, but you are trying to submit to it. To fix this, please add ${article} \\`${type}\\` function to the route`;\n  console.error(msg);\n  throw new ErrorResponseImpl(405, \"Method Not Allowed\", new Error(msg), true);\n}\nfunction createClientRoutes(manifest, routeModulesCache, initialState, ssr, isSpaMode, parentId = \"\", routesByParentId = groupRoutesByParentId(manifest), needsRevalidation) {\n  return (routesByParentId[parentId] || []).map((route) => {\n    let routeModule = routeModulesCache[route.id];\n    function fetchServerHandler(singleFetch) {\n      invariant2(\n        typeof singleFetch === \"function\",\n        \"No single fetch function available for route handler\"\n      );\n      return singleFetch();\n    }\n    function fetchServerLoader(singleFetch) {\n      if (!route.hasLoader) return Promise.resolve(null);\n      return fetchServerHandler(singleFetch);\n    }\n    function fetchServerAction(singleFetch) {\n      if (!route.hasAction) {\n        throw noActionDefinedError(\"action\", route.id);\n      }\n      return fetchServerHandler(singleFetch);\n    }\n    function prefetchModule(modulePath) {\n      import(\n        /* @vite-ignore */\n        /* webpackIgnore: true */\n        modulePath\n      );\n    }\n    function prefetchRouteModuleChunks(route2) {\n      if (route2.clientActionModule) {\n        prefetchModule(route2.clientActionModule);\n      }\n      if (route2.clientLoaderModule) {\n        prefetchModule(route2.clientLoaderModule);\n      }\n    }\n    async function prefetchStylesAndCallHandler(handler) {\n      let cachedModule = routeModulesCache[route.id];\n      let linkPrefetchPromise = cachedModule ? prefetchStyleLinks(route, cachedModule) : Promise.resolve();\n      try {\n        return handler();\n      } finally {\n        await linkPrefetchPromise;\n      }\n    }\n    let dataRoute = {\n      id: route.id,\n      index: route.index,\n      path: route.path\n    };\n    if (routeModule) {\n      Object.assign(dataRoute, {\n        ...dataRoute,\n        ...getRouteComponents(route, routeModule, isSpaMode),\n        middleware: routeModule.clientMiddleware,\n        handle: routeModule.handle,\n        shouldRevalidate: getShouldRevalidateFunction(\n          dataRoute.path,\n          routeModule,\n          route,\n          ssr,\n          needsRevalidation\n        )\n      });\n      let hasInitialData = initialState && initialState.loaderData && route.id in initialState.loaderData;\n      let initialData = hasInitialData ? initialState?.loaderData?.[route.id] : void 0;\n      let hasInitialError = initialState && initialState.errors && route.id in initialState.errors;\n      let initialError = hasInitialError ? initialState?.errors?.[route.id] : void 0;\n      let isHydrationRequest = needsRevalidation == null && (routeModule.clientLoader?.hydrate === true || !route.hasLoader);\n      dataRoute.loader = async ({ request, params, context, pattern, url }, singleFetch) => {\n        let _isHydrationRequest = isHydrationRequest;\n        isHydrationRequest = false;\n        let result = await prefetchStylesAndCallHandler(async () => {\n          invariant2(\n            routeModule,\n            \"No `routeModule` available for critical-route loader\"\n          );\n          if (!routeModule.clientLoader) {\n            return fetchServerLoader(singleFetch);\n          }\n          return routeModule.clientLoader({\n            request,\n            params,\n            context,\n            pattern,\n            url,\n            async serverLoader() {\n              preventInvalidServerHandlerCall(\"loader\", route);\n              if (_isHydrationRequest) {\n                if (hasInitialData) {\n                  return initialData;\n                }\n                if (hasInitialError) {\n                  throw initialError;\n                }\n              }\n              return fetchServerLoader(singleFetch);\n            }\n          });\n        });\n        return result;\n      };\n      dataRoute.loader.hydrate = shouldHydrateRouteLoader(\n        route.id,\n        routeModule.clientLoader,\n        route.hasLoader,\n        isSpaMode\n      );\n      dataRoute.action = ({ request, params, context, pattern, url }, singleFetch) => {\n        return prefetchStylesAndCallHandler(async () => {\n          invariant2(\n            routeModule,\n            \"No `routeModule` available for critical-route action\"\n          );\n          if (!routeModule.clientAction) {\n            if (isSpaMode) {\n              throw noActionDefinedError(\"clientAction\", route.id);\n            }\n            return fetchServerAction(singleFetch);\n          }\n          return routeModule.clientAction({\n            request,\n            params,\n            context,\n            pattern,\n            url,\n            async serverAction() {\n              preventInvalidServerHandlerCall(\"action\", route);\n              return fetchServerAction(singleFetch);\n            }\n          });\n        });\n      };\n    } else {\n      if (!route.hasClientLoader) {\n        dataRoute.loader = (_, singleFetch) => prefetchStylesAndCallHandler(() => {\n          return fetchServerLoader(singleFetch);\n        });\n      }\n      if (!route.hasClientAction) {\n        dataRoute.action = (_, singleFetch) => prefetchStylesAndCallHandler(() => {\n          if (isSpaMode) {\n            throw noActionDefinedError(\"clientAction\", route.id);\n          }\n          return fetchServerAction(singleFetch);\n        });\n      }\n      let lazyRoutePromise;\n      async function getLazyRoute() {\n        if (lazyRoutePromise) {\n          return await lazyRoutePromise;\n        }\n        lazyRoutePromise = (async () => {\n          if (route.clientLoaderModule || route.clientActionModule) {\n            await new Promise((resolve) => setTimeout(resolve, 0));\n          }\n          let routeModulePromise = loadRouteModuleWithBlockingLinks(\n            route,\n            routeModulesCache\n          );\n          prefetchRouteModuleChunks(route);\n          return await routeModulePromise;\n        })();\n        return await lazyRoutePromise;\n      }\n      dataRoute.lazy = {\n        loader: route.hasClientLoader ? async () => {\n          let { clientLoader } = route.clientLoaderModule ? await import(\n            /* @vite-ignore */\n            /* webpackIgnore: true */\n            route.clientLoaderModule\n          ) : await getLazyRoute();\n          invariant2(clientLoader, \"No `clientLoader` export found\");\n          return (args, singleFetch) => clientLoader({\n            ...args,\n            async serverLoader() {\n              preventInvalidServerHandlerCall(\"loader\", route);\n              return fetchServerLoader(singleFetch);\n            }\n          });\n        } : void 0,\n        action: route.hasClientAction ? async () => {\n          let clientActionPromise = route.clientActionModule ? import(\n            /* @vite-ignore */\n            /* webpackIgnore: true */\n            route.clientActionModule\n          ) : getLazyRoute();\n          prefetchRouteModuleChunks(route);\n          let { clientAction } = await clientActionPromise;\n          invariant2(clientAction, \"No `clientAction` export found\");\n          return (args, singleFetch) => clientAction({\n            ...args,\n            async serverAction() {\n              preventInvalidServerHandlerCall(\"action\", route);\n              return fetchServerAction(singleFetch);\n            }\n          });\n        } : void 0,\n        middleware: route.hasClientMiddleware ? async () => {\n          let { clientMiddleware } = route.clientMiddlewareModule ? await import(\n            /* @vite-ignore */\n            /* webpackIgnore: true */\n            route.clientMiddlewareModule\n          ) : await getLazyRoute();\n          invariant2(clientMiddleware, \"No `clientMiddleware` export found\");\n          return clientMiddleware;\n        } : void 0,\n        shouldRevalidate: async () => {\n          let lazyRoute = await getLazyRoute();\n          return getShouldRevalidateFunction(\n            dataRoute.path,\n            lazyRoute,\n            route,\n            ssr,\n            needsRevalidation\n          );\n        },\n        handle: async () => (await getLazyRoute()).handle,\n        // No need to wrap these in layout since the root route is never\n        // loaded via route.lazy()\n        Component: async () => (await getLazyRoute()).Component,\n        ErrorBoundary: route.hasErrorBoundary ? async () => (await getLazyRoute()).ErrorBoundary : void 0\n      };\n    }\n    let children = createClientRoutes(\n      manifest,\n      routeModulesCache,\n      initialState,\n      ssr,\n      isSpaMode,\n      route.id,\n      routesByParentId,\n      needsRevalidation\n    );\n    if (children.length > 0) dataRoute.children = children;\n    return dataRoute;\n  });\n}\nfunction getShouldRevalidateFunction(path, route, manifestRoute, ssr, needsRevalidation) {\n  if (needsRevalidation) {\n    return wrapShouldRevalidateForHdr(\n      manifestRoute.id,\n      route.shouldRevalidate,\n      needsRevalidation\n    );\n  }\n  if (!ssr && manifestRoute.hasLoader && !manifestRoute.hasClientLoader) {\n    let myParams = path ? compilePath(path)[1].map((p) => p.paramName) : [];\n    const didParamsChange = (opts) => myParams.some((p) => opts.currentParams[p] !== opts.nextParams[p]);\n    if (route.shouldRevalidate) {\n      let fn = route.shouldRevalidate;\n      return (opts) => fn({\n        ...opts,\n        defaultShouldRevalidate: didParamsChange(opts)\n      });\n    } else {\n      return (opts) => didParamsChange(opts);\n    }\n  }\n  return route.shouldRevalidate;\n}\nfunction wrapShouldRevalidateForHdr(routeId, routeShouldRevalidate, needsRevalidation) {\n  let handledRevalidation = false;\n  return (arg) => {\n    if (!handledRevalidation) {\n      handledRevalidation = true;\n      return needsRevalidation.has(routeId);\n    }\n    return routeShouldRevalidate ? routeShouldRevalidate(arg) : arg.defaultShouldRevalidate;\n  };\n}\nasync function loadRouteModuleWithBlockingLinks(route, routeModules) {\n  let routeModulePromise = loadRouteModule(route, routeModules);\n  let prefetchRouteCssPromise = prefetchRouteCss(route);\n  let routeModule = await routeModulePromise;\n  await Promise.all([\n    prefetchRouteCssPromise,\n    prefetchStyleLinks(route, routeModule)\n  ]);\n  return {\n    Component: getRouteModuleComponent(routeModule),\n    ErrorBoundary: routeModule.ErrorBoundary,\n    clientMiddleware: routeModule.clientMiddleware,\n    clientAction: routeModule.clientAction,\n    clientLoader: routeModule.clientLoader,\n    handle: routeModule.handle,\n    links: routeModule.links,\n    meta: routeModule.meta,\n    shouldRevalidate: routeModule.shouldRevalidate\n  };\n}\nfunction getRouteModuleComponent(routeModule) {\n  if (routeModule.default == null) return void 0;\n  let isEmptyObject = typeof routeModule.default === \"object\" && Object.keys(routeModule.default).length === 0;\n  if (!isEmptyObject) {\n    return routeModule.default;\n  }\n}\nfunction shouldHydrateRouteLoader(routeId, clientLoader, hasLoader, isSpaMode) {\n  return isSpaMode && routeId !== \"root\" || clientLoader != null && (clientLoader.hydrate === true || hasLoader !== true);\n}\n\n// lib/dom/ssr/fog-of-war.ts\nvar nextPaths = /* @__PURE__ */ new Set();\nvar discoveredPathsMaxSize = 1e3;\nvar discoveredPaths = /* @__PURE__ */ new Set();\nvar URL_LIMIT = 7680;\nfunction getPathsWithAncestors(paths) {\n  let result = /* @__PURE__ */ new Set();\n  paths.forEach((path) => {\n    if (!path.startsWith(\"/\")) {\n      path = `/${path}`;\n    }\n    for (let i = 1; i < path.length; i++) {\n      if (path[i] === \"/\") {\n        result.add(path.slice(0, i));\n      }\n    }\n    result.add(path);\n  });\n  return Array.from(result);\n}\nfunction isFogOfWarEnabled(routeDiscovery, ssr) {\n  return routeDiscovery.mode === \"lazy\" && ssr === true;\n}\nfunction getPartialManifest({ sri, ...manifest }, router) {\n  let routeIds = new Set(router.state.matches.map((m) => m.route.id));\n  let segments = router.state.location.pathname.split(\"/\").filter(Boolean);\n  let paths = [\"/\"];\n  segments.pop();\n  while (segments.length > 0) {\n    paths.push(`/${segments.join(\"/\")}`);\n    segments.pop();\n  }\n  paths.forEach((path) => {\n    let matches = matchRoutesImpl(\n      router.routes,\n      path,\n      router.basename || \"/\",\n      false,\n      router.branches\n    );\n    if (matches) {\n      matches.forEach((m) => routeIds.add(m.route.id));\n    }\n  });\n  let initialRoutes = [...routeIds].reduce(\n    (acc, id) => Object.assign(acc, { [id]: manifest.routes[id] }),\n    {}\n  );\n  return {\n    ...manifest,\n    routes: initialRoutes,\n    sri: sri ? true : void 0\n  };\n}\nfunction getPatchRoutesOnNavigationFunction(getRouter, manifest, routeModules, ssr, routeDiscovery, isSpaMode, basename) {\n  if (!isFogOfWarEnabled(routeDiscovery, ssr)) {\n    return void 0;\n  }\n  return async ({ path, patch, signal, fetcherKey }) => {\n    if (discoveredPaths.has(path)) {\n      return;\n    }\n    let { state } = getRouter();\n    await fetchAndApplyManifestPatches(\n      [path],\n      // If we're patching for a fetcher call, reload the current location\n      // Otherwise prefer any ongoing navigation location\n      fetcherKey ? window.location.href : createPath(state.navigation.location || state.location),\n      manifest,\n      routeModules,\n      ssr,\n      isSpaMode,\n      basename,\n      routeDiscovery.manifestPath,\n      patch,\n      signal\n    );\n  };\n}\nfunction useFogOFWarDiscovery(router, manifest, routeModules, ssr, routeDiscovery, isSpaMode) {\n  React7.useEffect(() => {\n    if (!isFogOfWarEnabled(routeDiscovery, ssr) || // @ts-expect-error - TS doesn't know about this yet\n    window.navigator?.connection?.saveData === true) {\n      return;\n    }\n    function registerElement(el) {\n      let path = el.tagName === \"FORM\" ? el.getAttribute(\"action\") : el.getAttribute(\"href\");\n      if (!path) {\n        return;\n      }\n      let pathname = el.tagName === \"A\" ? el.pathname : new URL(path, window.location.origin).pathname;\n      if (!discoveredPaths.has(pathname)) {\n        nextPaths.add(pathname);\n      }\n    }\n    async function fetchPatches() {\n      document.querySelectorAll(\"a[data-discover], form[data-discover]\").forEach(registerElement);\n      let lazyPaths = Array.from(nextPaths.keys()).filter((path) => {\n        if (discoveredPaths.has(path)) {\n          nextPaths.delete(path);\n          return false;\n        }\n        return true;\n      });\n      if (lazyPaths.length === 0) {\n        return;\n      }\n      try {\n        await fetchAndApplyManifestPatches(\n          lazyPaths,\n          null,\n          manifest,\n          routeModules,\n          ssr,\n          isSpaMode,\n          router.basename,\n          routeDiscovery.manifestPath,\n          router.patchRoutes\n        );\n      } catch (e) {\n        console.error(\"Failed to fetch manifest patches\", e);\n      }\n    }\n    let debouncedFetchPatches = debounce(fetchPatches, 100);\n    fetchPatches();\n    let observer = new MutationObserver(() => debouncedFetchPatches());\n    observer.observe(document.documentElement, {\n      subtree: true,\n      childList: true,\n      attributes: true,\n      attributeFilter: [\"data-discover\", \"href\", \"action\"]\n    });\n    return () => observer.disconnect();\n  }, [ssr, isSpaMode, manifest, routeModules, router, routeDiscovery]);\n}\nfunction getManifestPath(_manifestPath, basename) {\n  let manifestPath = _manifestPath || \"/__manifest\";\n  return basename == null ? manifestPath : joinPaths([basename, manifestPath]);\n}\nvar MANIFEST_VERSION_STORAGE_KEY = \"react-router-manifest-version\";\nasync function fetchAndApplyManifestPatches(paths, errorReloadPath, manifest, routeModules, ssr, isSpaMode, basename, manifestPath, patchRoutes, signal) {\n  paths = getPathsWithAncestors(paths);\n  const searchParams = new URLSearchParams();\n  searchParams.set(\"paths\", paths.sort().join(\",\"));\n  searchParams.set(\"version\", manifest.version);\n  let url = new URL(\n    getManifestPath(manifestPath, basename),\n    window.location.origin\n  );\n  url.search = searchParams.toString();\n  if (url.toString().length > URL_LIMIT) {\n    nextPaths.clear();\n    return;\n  }\n  let serverPatches;\n  try {\n    let res = await fetch(url, { signal });\n    if (!res.ok) {\n      throw new Error(`${res.status} ${res.statusText}`);\n    } else if (res.status === 204 && res.headers.has(\"X-Remix-Reload-Document\")) {\n      if (!errorReloadPath) {\n        console.warn(\n          \"Detected a manifest version mismatch during eager route discovery. The next navigation/fetch to an undiscovered route will result in a new document navigation to sync up with the latest manifest.\"\n        );\n        return;\n      }\n      try {\n        if (sessionStorage.getItem(MANIFEST_VERSION_STORAGE_KEY) === manifest.version) {\n          console.error(\n            \"Unable to discover routes due to manifest version mismatch.\"\n          );\n          return;\n        }\n        sessionStorage.setItem(MANIFEST_VERSION_STORAGE_KEY, manifest.version);\n      } catch {\n      }\n      window.location.href = errorReloadPath;\n      console.warn(\"Detected manifest version mismatch, reloading...\");\n      await new Promise(() => {\n      });\n    } else if (res.status >= 400) {\n      throw new Error(await res.text());\n    }\n    try {\n      sessionStorage.removeItem(MANIFEST_VERSION_STORAGE_KEY);\n    } catch {\n    }\n    serverPatches = await res.json();\n  } catch (e) {\n    if (signal?.aborted) return;\n    throw e;\n  }\n  let knownRoutes = new Set(Object.keys(manifest.routes));\n  let patches = Object.values(serverPatches).reduce((acc, route) => {\n    if (route && !knownRoutes.has(route.id)) {\n      acc[route.id] = route;\n    }\n    return acc;\n  }, {});\n  Object.assign(manifest.routes, patches);\n  paths.forEach((p) => addToFifoQueue(p, discoveredPaths));\n  let parentIds = /* @__PURE__ */ new Set();\n  Object.values(patches).forEach((patch) => {\n    if (patch && (!patch.parentId || !patches[patch.parentId])) {\n      parentIds.add(patch.parentId);\n    }\n  });\n  parentIds.forEach(\n    (parentId) => patchRoutes(\n      parentId || null,\n      createClientRoutes(patches, routeModules, null, ssr, isSpaMode, parentId)\n    )\n  );\n}\nfunction addToFifoQueue(path, queue) {\n  if (queue.size >= discoveredPathsMaxSize) {\n    let first = queue.values().next().value;\n    queue.delete(first);\n  }\n  queue.add(path);\n}\nfunction debounce(callback, wait) {\n  let timeoutId;\n  return (...args) => {\n    window.clearTimeout(timeoutId);\n    timeoutId = window.setTimeout(() => callback(...args), wait);\n  };\n}\n\n// lib/dom/ssr/components.tsx\nfunction useDataRouterContext2() {\n  let context = React8.useContext(DataRouterContext);\n  invariant2(\n    context,\n    \"You must render this element inside a <DataRouterContext.Provider> element\"\n  );\n  return context;\n}\nfunction useDataRouterStateContext() {\n  let context = React8.useContext(DataRouterStateContext);\n  invariant2(\n    context,\n    \"You must render this element inside a <DataRouterStateContext.Provider> element\"\n  );\n  return context;\n}\nvar FrameworkContext = React8.createContext(void 0);\nFrameworkContext.displayName = \"FrameworkContext\";\nfunction useFrameworkContext() {\n  let context = React8.useContext(FrameworkContext);\n  invariant2(\n    context,\n    \"You must render this element inside a <HydratedRouter> element\"\n  );\n  return context;\n}\nfunction usePrefetchBehavior(prefetch, theirElementProps) {\n  let frameworkContext = React8.useContext(FrameworkContext);\n  let [maybePrefetch, setMaybePrefetch] = React8.useState(false);\n  let [shouldPrefetch, setShouldPrefetch] = React8.useState(false);\n  let { onFocus, onBlur, onMouseEnter, onMouseLeave, onTouchStart } = theirElementProps;\n  let ref = React8.useRef(null);\n  React8.useEffect(() => {\n    if (prefetch === \"render\") {\n      setShouldPrefetch(true);\n    }\n    if (prefetch === \"viewport\") {\n      let callback = (entries) => {\n        entries.forEach((entry) => {\n          setShouldPrefetch(entry.isIntersecting);\n        });\n      };\n      let observer = new IntersectionObserver(callback, { threshold: 0.5 });\n      if (ref.current) observer.observe(ref.current);\n      return () => {\n        observer.disconnect();\n      };\n    }\n  }, [prefetch]);\n  React8.useEffect(() => {\n    if (maybePrefetch) {\n      let id = setTimeout(() => {\n        setShouldPrefetch(true);\n      }, 100);\n      return () => {\n        clearTimeout(id);\n      };\n    }\n  }, [maybePrefetch]);\n  let setIntent = () => {\n    setMaybePrefetch(true);\n  };\n  let cancelIntent = () => {\n    setMaybePrefetch(false);\n    setShouldPrefetch(false);\n  };\n  if (!frameworkContext) {\n    return [false, ref, {}];\n  }\n  if (prefetch !== \"intent\") {\n    return [shouldPrefetch, ref, {}];\n  }\n  return [\n    shouldPrefetch,\n    ref,\n    {\n      onFocus: composeEventHandlers(onFocus, setIntent),\n      onBlur: composeEventHandlers(onBlur, cancelIntent),\n      onMouseEnter: composeEventHandlers(onMouseEnter, setIntent),\n      onMouseLeave: composeEventHandlers(onMouseLeave, cancelIntent),\n      onTouchStart: composeEventHandlers(onTouchStart, setIntent)\n    }\n  ];\n}\nfunction composeEventHandlers(theirHandler, ourHandler) {\n  return (event) => {\n    theirHandler && theirHandler(event);\n    if (!event.defaultPrevented) {\n      ourHandler(event);\n    }\n  };\n}\nfunction getActiveMatches(matches, errors, isSpaMode) {\n  if (isSpaMode && !isHydrated) {\n    return [matches[0]];\n  }\n  if (errors) {\n    let errorIdx = matches.findIndex((m) => errors[m.route.id] !== void 0);\n    return matches.slice(0, errorIdx + 1);\n  }\n  return matches;\n}\nvar CRITICAL_CSS_DATA_ATTRIBUTE = \"data-react-router-critical-css\";\nfunction Links({ nonce, crossOrigin }) {\n  let {\n    isSpaMode,\n    manifest,\n    routeModules,\n    criticalCss,\n    nonce: contextNonce\n  } = useFrameworkContext();\n  let { errors, matches: routerMatches } = useDataRouterStateContext();\n  let matches = getActiveMatches(routerMatches, errors, isSpaMode);\n  let keyedLinks = React8.useMemo(\n    () => getKeyedLinksForMatches(matches, routeModules, manifest),\n    [matches, routeModules, manifest]\n  );\n  if (nonce == null && contextNonce) {\n    nonce = contextNonce;\n  }\n  return /* @__PURE__ */ React8.createElement(React8.Fragment, null, typeof criticalCss === \"string\" ? /* @__PURE__ */ React8.createElement(\n    \"style\",\n    {\n      ...{ [CRITICAL_CSS_DATA_ATTRIBUTE]: \"\" },\n      nonce,\n      dangerouslySetInnerHTML: { __html: criticalCss }\n    }\n  ) : null, typeof criticalCss === \"object\" ? /* @__PURE__ */ React8.createElement(\n    \"link\",\n    {\n      ...{ [CRITICAL_CSS_DATA_ATTRIBUTE]: \"\" },\n      rel: \"stylesheet\",\n      href: criticalCss.href,\n      nonce,\n      crossOrigin\n    }\n  ) : null, keyedLinks.map(\n    ({ key, link }) => isPageLinkDescriptor(link) ? /* @__PURE__ */ React8.createElement(\n      PrefetchPageLinks,\n      {\n        key,\n        nonce,\n        ...link,\n        crossOrigin: link.crossOrigin ?? crossOrigin\n      }\n    ) : /* @__PURE__ */ React8.createElement(\n      \"link\",\n      {\n        key,\n        nonce,\n        ...link,\n        crossOrigin: link.crossOrigin ?? crossOrigin\n      }\n    )\n  ));\n}\nfunction PrefetchPageLinks({ page, ...linkProps }) {\n  let rsc = useIsRSCRouterContext();\n  let { nonce: contextNonce } = useFrameworkContext();\n  let { router } = useDataRouterContext2();\n  let matches = React8.useMemo(\n    () => matchRoutes(router.routes, page, router.basename),\n    [router.routes, page, router.basename]\n  );\n  if (!matches) {\n    return null;\n  }\n  if (linkProps.nonce == null && contextNonce) {\n    linkProps = { ...linkProps, nonce: contextNonce };\n  }\n  if (rsc) {\n    return /* @__PURE__ */ React8.createElement(RSCPrefetchPageLinksImpl, { page, matches, ...linkProps });\n  }\n  return /* @__PURE__ */ React8.createElement(PrefetchPageLinksImpl, { page, matches, ...linkProps });\n}\nfunction useKeyedPrefetchLinks(matches) {\n  let { manifest, routeModules } = useFrameworkContext();\n  let [keyedPrefetchLinks, setKeyedPrefetchLinks] = React8.useState([]);\n  React8.useEffect(() => {\n    let interrupted = false;\n    void getKeyedPrefetchLinks(matches, manifest, routeModules).then(\n      (links) => {\n        if (!interrupted) {\n          setKeyedPrefetchLinks(links);\n        }\n      }\n    );\n    return () => {\n      interrupted = true;\n    };\n  }, [matches, manifest, routeModules]);\n  return keyedPrefetchLinks;\n}\nfunction RSCPrefetchPageLinksImpl({\n  page,\n  matches: nextMatches,\n  ...linkProps\n}) {\n  let location = useLocation();\n  let { future } = useFrameworkContext();\n  let { basename } = useDataRouterContext2();\n  let dataHrefs = React8.useMemo(() => {\n    if (page === location.pathname + location.search + location.hash) {\n      return [];\n    }\n    let url = singleFetchUrl(\n      page,\n      basename,\n      future.v8_trailingSlashAwareDataRequests,\n      \"rsc\"\n    );\n    let hasSomeRoutesWithShouldRevalidate = false;\n    let targetRoutes = [];\n    for (let match of nextMatches) {\n      if (typeof match.route.shouldRevalidate === \"function\") {\n        hasSomeRoutesWithShouldRevalidate = true;\n      } else {\n        targetRoutes.push(match.route.id);\n      }\n    }\n    if (hasSomeRoutesWithShouldRevalidate && targetRoutes.length > 0) {\n      url.searchParams.set(\"_routes\", targetRoutes.join(\",\"));\n    }\n    return [url.pathname + url.search];\n  }, [\n    basename,\n    future.v8_trailingSlashAwareDataRequests,\n    page,\n    location,\n    nextMatches\n  ]);\n  return /* @__PURE__ */ React8.createElement(React8.Fragment, null, dataHrefs.map((href) => /* @__PURE__ */ React8.createElement(\"link\", { key: href, rel: \"prefetch\", as: \"fetch\", href, ...linkProps })));\n}\nfunction PrefetchPageLinksImpl({\n  page,\n  matches: nextMatches,\n  ...linkProps\n}) {\n  let location = useLocation();\n  let { future, manifest, routeModules } = useFrameworkContext();\n  let { basename } = useDataRouterContext2();\n  let { loaderData, matches } = useDataRouterStateContext();\n  let newMatchesForData = React8.useMemo(\n    () => getNewMatchesForLinks(\n      page,\n      nextMatches,\n      matches,\n      manifest,\n      location,\n      \"data\"\n    ),\n    [page, nextMatches, matches, manifest, location]\n  );\n  let newMatchesForAssets = React8.useMemo(\n    () => getNewMatchesForLinks(\n      page,\n      nextMatches,\n      matches,\n      manifest,\n      location,\n      \"assets\"\n    ),\n    [page, nextMatches, matches, manifest, location]\n  );\n  let dataHrefs = React8.useMemo(() => {\n    if (page === location.pathname + location.search + location.hash) {\n      return [];\n    }\n    let routesParams = /* @__PURE__ */ new Set();\n    let foundOptOutRoute = false;\n    nextMatches.forEach((m) => {\n      let manifestRoute = manifest.routes[m.route.id];\n      if (!manifestRoute || !manifestRoute.hasLoader) {\n        return;\n      }\n      if (!newMatchesForData.some((m2) => m2.route.id === m.route.id) && m.route.id in loaderData && routeModules[m.route.id]?.shouldRevalidate) {\n        foundOptOutRoute = true;\n      } else if (manifestRoute.hasClientLoader) {\n        foundOptOutRoute = true;\n      } else {\n        routesParams.add(m.route.id);\n      }\n    });\n    if (routesParams.size === 0) {\n      return [];\n    }\n    let url = singleFetchUrl(\n      page,\n      basename,\n      future.v8_trailingSlashAwareDataRequests,\n      \"data\"\n    );\n    if (foundOptOutRoute && routesParams.size > 0) {\n      url.searchParams.set(\n        \"_routes\",\n        nextMatches.filter((m) => routesParams.has(m.route.id)).map((m) => m.route.id).join(\",\")\n      );\n    }\n    return [url.pathname + url.search];\n  }, [\n    basename,\n    future.v8_trailingSlashAwareDataRequests,\n    loaderData,\n    location,\n    manifest,\n    newMatchesForData,\n    nextMatches,\n    page,\n    routeModules\n  ]);\n  let moduleHrefs = React8.useMemo(\n    () => getModuleLinkHrefs(newMatchesForAssets, manifest),\n    [newMatchesForAssets, manifest]\n  );\n  let keyedPrefetchLinks = useKeyedPrefetchLinks(newMatchesForAssets);\n  return /* @__PURE__ */ React8.createElement(React8.Fragment, null, dataHrefs.map((href) => /* @__PURE__ */ React8.createElement(\"link\", { key: href, rel: \"prefetch\", as: \"fetch\", href, ...linkProps })), moduleHrefs.map((href) => /* @__PURE__ */ React8.createElement(\"link\", { key: href, rel: \"modulepreload\", href, ...linkProps })), keyedPrefetchLinks.map(({ key, link }) => (\n    // these don't spread `linkProps` because they are full link descriptors\n    // already with their own props\n    /* @__PURE__ */ React8.createElement(\n      \"link\",\n      {\n        key,\n        nonce: linkProps.nonce,\n        ...link,\n        crossOrigin: link.crossOrigin ?? linkProps.crossOrigin\n      }\n    )\n  )));\n}\nfunction Meta() {\n  let { isSpaMode, routeModules } = useFrameworkContext();\n  let {\n    errors,\n    matches: routerMatches,\n    loaderData\n  } = useDataRouterStateContext();\n  let location = useLocation();\n  let _matches = getActiveMatches(routerMatches, errors, isSpaMode);\n  let error = null;\n  if (errors) {\n    error = errors[_matches[_matches.length - 1].route.id];\n  }\n  let meta = [];\n  let leafMeta = null;\n  let matches = [];\n  for (let i = 0; i < _matches.length; i++) {\n    let _match = _matches[i];\n    let routeId = _match.route.id;\n    let data2 = loaderData[routeId];\n    let params = _match.params;\n    let routeModule = routeModules[routeId];\n    let routeMeta = [];\n    let match = {\n      id: routeId,\n      data: data2,\n      loaderData: data2,\n      meta: [],\n      params: _match.params,\n      pathname: _match.pathname,\n      handle: _match.route.handle,\n      error\n    };\n    matches[i] = match;\n    if (routeModule?.meta) {\n      routeMeta = typeof routeModule.meta === \"function\" ? routeModule.meta({\n        data: data2,\n        loaderData: data2,\n        params,\n        location,\n        matches,\n        error\n      }) : Array.isArray(routeModule.meta) ? [...routeModule.meta] : routeModule.meta;\n    } else if (leafMeta) {\n      routeMeta = [...leafMeta];\n    }\n    routeMeta = routeMeta || [];\n    if (!Array.isArray(routeMeta)) {\n      throw new Error(\n        \"The route at \" + _match.route.path + \" returns an invalid value. All route meta functions must return an array of meta objects.\\n\\nTo reference the meta function API, see https://reactrouter.com/start/framework/route-module#meta\"\n      );\n    }\n    match.meta = routeMeta;\n    matches[i] = match;\n    meta = [...routeMeta];\n    leafMeta = meta;\n  }\n  return /* @__PURE__ */ React8.createElement(React8.Fragment, null, meta.flat().map((metaProps) => {\n    if (!metaProps) {\n      return null;\n    }\n    if (\"tagName\" in metaProps) {\n      let { tagName, ...rest } = metaProps;\n      if (!isValidMetaTag(tagName)) {\n        console.warn(\n          `A meta object uses an invalid tagName: ${tagName}. Expected either 'link' or 'meta'`\n        );\n        return null;\n      }\n      let Comp = tagName;\n      return /* @__PURE__ */ React8.createElement(Comp, { key: JSON.stringify(rest), ...rest });\n    }\n    if (\"title\" in metaProps) {\n      return /* @__PURE__ */ React8.createElement(\"title\", { key: \"title\" }, String(metaProps.title));\n    }\n    if (\"charset\" in metaProps) {\n      metaProps.charSet ?? (metaProps.charSet = metaProps.charset);\n      delete metaProps.charset;\n    }\n    if (\"charSet\" in metaProps && metaProps.charSet != null) {\n      return typeof metaProps.charSet === \"string\" ? /* @__PURE__ */ React8.createElement(\"meta\", { key: \"charSet\", charSet: metaProps.charSet }) : null;\n    }\n    if (\"script:ld+json\" in metaProps) {\n      try {\n        let json = JSON.stringify(metaProps[\"script:ld+json\"]);\n        return /* @__PURE__ */ React8.createElement(\n          \"script\",\n          {\n            key: `script:ld+json:${json}`,\n            type: \"application/ld+json\",\n            dangerouslySetInnerHTML: { __html: escapeHtml(json) }\n          }\n        );\n      } catch (e) {\n        return null;\n      }\n    }\n    return /* @__PURE__ */ React8.createElement(\"meta\", { key: JSON.stringify(metaProps), ...metaProps });\n  }));\n}\nfunction isValidMetaTag(tagName) {\n  return typeof tagName === \"string\" && /^(meta|link)$/.test(tagName);\n}\nvar isHydrated = false;\nfunction setIsHydrated() {\n  isHydrated = true;\n}\nfunction Scripts(scriptProps) {\n  let {\n    manifest,\n    serverHandoffString,\n    isSpaMode,\n    renderMeta,\n    routeDiscovery,\n    ssr,\n    nonce: contextNonce\n  } = useFrameworkContext();\n  let { router, static: isStatic, staticContext } = useDataRouterContext2();\n  let { matches: routerMatches } = useDataRouterStateContext();\n  let isRSCRouterContext = useIsRSCRouterContext();\n  let enableFogOfWar = isFogOfWarEnabled(routeDiscovery, ssr);\n  if (scriptProps.nonce == null && contextNonce) {\n    scriptProps = { ...scriptProps, nonce: contextNonce };\n  }\n  if (renderMeta) {\n    renderMeta.didRenderScripts = true;\n  }\n  let matches = getActiveMatches(routerMatches, null, isSpaMode);\n  React8.useEffect(() => {\n    setIsHydrated();\n  }, []);\n  let initialScripts = React8.useMemo(() => {\n    if (isRSCRouterContext) {\n      return null;\n    }\n    let streamScript = \"window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());\";\n    let contextScript = staticContext ? `window.__reactRouterContext = ${serverHandoffString};${streamScript}` : \" \";\n    let routeModulesScript = !isStatic ? \" \" : `${manifest.hmr?.runtime ? `import ${JSON.stringify(manifest.hmr.runtime)};` : \"\"}${!enableFogOfWar ? `import ${JSON.stringify(manifest.url)}` : \"\"};\n${matches.map((match, routeIndex) => {\n      let routeVarName = `route${routeIndex}`;\n      let manifestEntry = manifest.routes[match.route.id];\n      invariant2(manifestEntry, `Route ${match.route.id} not found in manifest`);\n      let {\n        clientActionModule,\n        clientLoaderModule,\n        clientMiddlewareModule,\n        hydrateFallbackModule,\n        module\n      } = manifestEntry;\n      let chunks = [\n        ...clientActionModule ? [\n          {\n            module: clientActionModule,\n            varName: `${routeVarName}_clientAction`\n          }\n        ] : [],\n        ...clientLoaderModule ? [\n          {\n            module: clientLoaderModule,\n            varName: `${routeVarName}_clientLoader`\n          }\n        ] : [],\n        ...clientMiddlewareModule ? [\n          {\n            module: clientMiddlewareModule,\n            varName: `${routeVarName}_clientMiddleware`\n          }\n        ] : [],\n        ...hydrateFallbackModule ? [\n          {\n            module: hydrateFallbackModule,\n            varName: `${routeVarName}_HydrateFallback`\n          }\n        ] : [],\n        { module, varName: `${routeVarName}_main` }\n      ];\n      if (chunks.length === 1) {\n        return `import * as ${routeVarName} from ${JSON.stringify(module)};`;\n      }\n      let chunkImportsSnippet = chunks.map((chunk) => `import * as ${chunk.varName} from \"${chunk.module}\";`).join(\"\\n\");\n      let mergedChunksSnippet = `const ${routeVarName} = {${chunks.map((chunk) => `...${chunk.varName}`).join(\",\")}};`;\n      return [chunkImportsSnippet, mergedChunksSnippet].join(\"\\n\");\n    }).join(\"\\n\")}\n  ${enableFogOfWar ? (\n      // Inline a minimal manifest with the SSR matches\n      `window.__reactRouterManifest = ${JSON.stringify(\n        getPartialManifest(manifest, router),\n        null,\n        2\n      )};`\n    ) : \"\"}\n  window.__reactRouterRouteModules = {${matches.map((match, index) => `${JSON.stringify(match.route.id)}:route${index}`).join(\",\")}};\n\nimport(${JSON.stringify(manifest.entry.module)});`;\n    return /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(\n      \"script\",\n      {\n        ...scriptProps,\n        suppressHydrationWarning: true,\n        dangerouslySetInnerHTML: { __html: contextScript },\n        type: void 0\n      }\n    ), /* @__PURE__ */ React8.createElement(\n      \"script\",\n      {\n        ...scriptProps,\n        suppressHydrationWarning: true,\n        dangerouslySetInnerHTML: { __html: routeModulesScript },\n        type: \"module\",\n        async: true\n      }\n    ));\n  }, []);\n  let preloads = isHydrated || isRSCRouterContext ? [] : [\n    // Dedupe through a Set\n    ...new Set(\n      manifest.entry.imports.concat(\n        getModuleLinkHrefs(matches, manifest, {\n          includeHydrateFallback: true\n        })\n      )\n    )\n  ];\n  let sri = typeof manifest.sri === \"object\" ? manifest.sri : {};\n  warnOnce(\n    !isRSCRouterContext,\n    \"The <Scripts /> element is a no-op when using RSC and can be safely removed.\"\n  );\n  return isHydrated || isRSCRouterContext ? null : /* @__PURE__ */ React8.createElement(React8.Fragment, null, typeof manifest.sri === \"object\" ? /* @__PURE__ */ React8.createElement(\n    \"script\",\n    {\n      ...scriptProps,\n      \"rr-importmap\": \"\",\n      type: \"importmap\",\n      suppressHydrationWarning: true,\n      dangerouslySetInnerHTML: {\n        __html: JSON.stringify({\n          integrity: sri\n        })\n      }\n    }\n  ) : null, !enableFogOfWar ? /* @__PURE__ */ React8.createElement(\n    \"link\",\n    {\n      rel: \"modulepreload\",\n      href: manifest.url,\n      crossOrigin: scriptProps.crossOrigin,\n      integrity: sri[manifest.url],\n      nonce: scriptProps.nonce,\n      suppressHydrationWarning: true\n    }\n  ) : null, /* @__PURE__ */ React8.createElement(\n    \"link\",\n    {\n      rel: \"modulepreload\",\n      href: manifest.entry.module,\n      crossOrigin: scriptProps.crossOrigin,\n      integrity: sri[manifest.entry.module],\n      nonce: scriptProps.nonce,\n      suppressHydrationWarning: true\n    }\n  ), preloads.map((path) => /* @__PURE__ */ React8.createElement(\n    \"link\",\n    {\n      key: path,\n      rel: \"modulepreload\",\n      href: path,\n      crossOrigin: scriptProps.crossOrigin,\n      integrity: sri[path],\n      nonce: scriptProps.nonce,\n      suppressHydrationWarning: true\n    }\n  )), initialScripts);\n}\nfunction mergeRefs(...refs) {\n  return (value) => {\n    refs.forEach((ref) => {\n      if (typeof ref === \"function\") {\n        ref(value);\n      } else if (ref != null) {\n        ref.current = value;\n      }\n    });\n  };\n}\n\n// lib/dom/ssr/errorBoundaries.tsx\nvar RemixErrorBoundary = class extends React9.Component {\n  constructor(props) {\n    super(props);\n    this.state = { error: props.error || null, location: props.location };\n  }\n  static getDerivedStateFromError(error) {\n    return { error };\n  }\n  static getDerivedStateFromProps(props, state) {\n    if (state.location !== props.location) {\n      return { error: props.error || null, location: props.location };\n    }\n    return { error: props.error || state.error, location: state.location };\n  }\n  render() {\n    if (this.state.error) {\n      return /* @__PURE__ */ React9.createElement(\n        RemixRootDefaultErrorBoundary,\n        {\n          error: this.state.error,\n          isOutsideRemixApp: true\n        }\n      );\n    } else {\n      return this.props.children;\n    }\n  }\n};\nfunction RemixRootDefaultErrorBoundary({\n  error,\n  isOutsideRemixApp\n}) {\n  let { nonce } = useFrameworkContext();\n  console.error(error);\n  let heyDeveloper = /* @__PURE__ */ React9.createElement(\n    \"script\",\n    {\n      nonce,\n      dangerouslySetInnerHTML: {\n        __html: `\n        console.log(\n          \"\\u{1F4BF} Hey developer \\u{1F44B}. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information.\"\n        );\n      `\n      }\n    }\n  );\n  if (isRouteErrorResponse(error)) {\n    return /* @__PURE__ */ React9.createElement(BoundaryShell, { title: \"Unhandled Thrown Response!\" }, /* @__PURE__ */ React9.createElement(\"h1\", { style: { fontSize: \"24px\" } }, error.status, \" \", error.statusText), ENABLE_DEV_WARNINGS ? heyDeveloper : null);\n  }\n  let errorInstance;\n  if (error instanceof Error) {\n    errorInstance = error;\n  } else {\n    let errorString = error == null ? \"Unknown Error\" : typeof error === \"object\" && \"toString\" in error ? error.toString() : JSON.stringify(error);\n    errorInstance = new Error(errorString);\n  }\n  return /* @__PURE__ */ React9.createElement(\n    BoundaryShell,\n    {\n      title: \"Application Error!\",\n      isOutsideRemixApp\n    },\n    /* @__PURE__ */ React9.createElement(\"h1\", { style: { fontSize: \"24px\" } }, \"Application Error\"),\n    /* @__PURE__ */ React9.createElement(\n      \"pre\",\n      {\n        style: {\n          padding: \"2rem\",\n          background: \"hsla(10, 50%, 50%, 0.1)\",\n          color: \"red\",\n          overflow: \"auto\"\n        }\n      },\n      errorInstance.stack\n    ),\n    heyDeveloper\n  );\n}\nfunction BoundaryShell({\n  title,\n  renderScripts,\n  isOutsideRemixApp,\n  children\n}) {\n  let { routeModules } = useFrameworkContext();\n  if (routeModules.root?.Layout && !isOutsideRemixApp) {\n    return children;\n  }\n  return /* @__PURE__ */ React9.createElement(\"html\", { lang: \"en\" }, /* @__PURE__ */ React9.createElement(\"head\", null, /* @__PURE__ */ React9.createElement(\"meta\", { charSet: \"utf-8\" }), /* @__PURE__ */ React9.createElement(\n    \"meta\",\n    {\n      name: \"viewport\",\n      content: \"width=device-width,initial-scale=1,viewport-fit=cover\"\n    }\n  ), /* @__PURE__ */ React9.createElement(\"title\", null, title)), /* @__PURE__ */ React9.createElement(\"body\", null, /* @__PURE__ */ React9.createElement(\"main\", { style: { fontFamily: \"system-ui, sans-serif\", padding: \"2rem\" } }, children, renderScripts ? /* @__PURE__ */ React9.createElement(Scripts, null) : null)));\n}\n\n// lib/dom/lib.tsx\nimport * as React10 from \"react\";\nvar isBrowser2 = typeof window !== \"undefined\" && typeof window.document !== \"undefined\" && typeof window.document.createElement !== \"undefined\";\ntry {\n  if (isBrowser2) {\n    window.__reactRouterVersion = // @ts-expect-error\n    \"7.18.4\";\n  }\n} catch (e) {\n}\nfunction createBrowserRouter(routes, opts) {\n  return createRouter({\n    basename: opts?.basename,\n    getContext: opts?.getContext,\n    future: opts?.future,\n    history: createBrowserHistory({ window: opts?.window }),\n    hydrationData: opts?.hydrationData || parseHydrationData(),\n    routes,\n    mapRouteProperties,\n    hydrationRouteProperties,\n    dataStrategy: opts?.dataStrategy,\n    patchRoutesOnNavigation: opts?.patchRoutesOnNavigation,\n    window: opts?.window,\n    instrumentations: opts?.instrumentations\n  }).initialize();\n}\nfunction createHashRouter(routes, opts) {\n  return createRouter({\n    basename: opts?.basename,\n    getContext: opts?.getContext,\n    future: opts?.future,\n    history: createHashHistory({ window: opts?.window }),\n    hydrationData: opts?.hydrationData || parseHydrationData(),\n    routes,\n    mapRouteProperties,\n    hydrationRouteProperties,\n    dataStrategy: opts?.dataStrategy,\n    patchRoutesOnNavigation: opts?.patchRoutesOnNavigation,\n    window: opts?.window,\n    instrumentations: opts?.instrumentations\n  }).initialize();\n}\nfunction parseHydrationData() {\n  let state = window?.__staticRouterHydrationData;\n  if (state && state.errors) {\n    state = {\n      ...state,\n      errors: deserializeErrors(state.errors)\n    };\n  }\n  return state;\n}\nfunction deserializeErrors(errors) {\n  if (!errors) return null;\n  let entries = Object.entries(errors);\n  let serialized = {};\n  for (let [key, val] of entries) {\n    if (val && val.__type === \"RouteErrorResponse\") {\n      serialized[key] = new ErrorResponseImpl(\n        val.status,\n        val.statusText,\n        val.data,\n        val.internal === true\n      );\n    } else if (val && val.__type === \"Error\") {\n      if (typeof val.__subType === \"string\" && SUPPORTED_ERROR_TYPES.includes(val.__subType)) {\n        let ErrorConstructor = window[val.__subType];\n        if (typeof ErrorConstructor === \"function\") {\n          try {\n            let error = new ErrorConstructor(val.message);\n            error.stack = \"\";\n            serialized[key] = error;\n          } catch (e) {\n          }\n        }\n      }\n      if (serialized[key] == null) {\n        let error = new Error(val.message);\n        error.stack = \"\";\n        serialized[key] = error;\n      }\n    } else {\n      serialized[key] = val;\n    }\n  }\n  return serialized;\n}\nfunction BrowserRouter({\n  basename,\n  children,\n  useTransitions,\n  window: window2\n}) {\n  let historyRef = React10.useRef();\n  if (historyRef.current == null) {\n    historyRef.current = createBrowserHistory({ window: window2, v5Compat: true });\n  }\n  let history = historyRef.current;\n  let [state, setStateImpl] = React10.useState({\n    action: history.action,\n    location: history.location\n  });\n  let setState = React10.useCallback(\n    (newState) => {\n      if (useTransitions === false) {\n        setStateImpl(newState);\n      } else {\n        React10.startTransition(() => setStateImpl(newState));\n      }\n    },\n    [useTransitions]\n  );\n  React10.useLayoutEffect(() => history.listen(setState), [history, setState]);\n  return /* @__PURE__ */ React10.createElement(\n    Router,\n    {\n      basename,\n      children,\n      location: state.location,\n      navigationType: state.action,\n      navigator: history,\n      useTransitions\n    }\n  );\n}\nfunction HashRouter({\n  basename,\n  children,\n  useTransitions,\n  window: window2\n}) {\n  let historyRef = React10.useRef();\n  if (historyRef.current == null) {\n    historyRef.current = createHashHistory({ window: window2, v5Compat: true });\n  }\n  let history = historyRef.current;\n  let [state, setStateImpl] = React10.useState({\n    action: history.action,\n    location: history.location\n  });\n  let setState = React10.useCallback(\n    (newState) => {\n      if (useTransitions === false) {\n        setStateImpl(newState);\n      } else {\n        React10.startTransition(() => setStateImpl(newState));\n      }\n    },\n    [useTransitions]\n  );\n  React10.useLayoutEffect(() => history.listen(setState), [history, setState]);\n  return /* @__PURE__ */ React10.createElement(\n    Router,\n    {\n      basename,\n      children,\n      location: state.location,\n      navigationType: state.action,\n      navigator: history,\n      useTransitions\n    }\n  );\n}\nfunction HistoryRouter({\n  basename,\n  children,\n  history,\n  useTransitions\n}) {\n  let [state, setStateImpl] = React10.useState({\n    action: history.action,\n    location: history.location\n  });\n  let setState = React10.useCallback(\n    (newState) => {\n      if (useTransitions === false) {\n        setStateImpl(newState);\n      } else {\n        React10.startTransition(() => setStateImpl(newState));\n      }\n    },\n    [useTransitions]\n  );\n  React10.useLayoutEffect(() => history.listen(setState), [history, setState]);\n  return /* @__PURE__ */ React10.createElement(\n    Router,\n    {\n      basename,\n      children,\n      location: state.location,\n      navigationType: state.action,\n      navigator: history,\n      useTransitions\n    }\n  );\n}\nHistoryRouter.displayName = \"unstable_HistoryRouter\";\nvar Link = React10.forwardRef(\n  function LinkWithRef({\n    onClick,\n    discover = \"render\",\n    prefetch = \"none\",\n    relative,\n    reloadDocument,\n    replace: replace2,\n    mask,\n    state,\n    target,\n    to,\n    preventScrollReset,\n    viewTransition,\n    defaultShouldRevalidate,\n    ...rest\n  }, forwardedRef) {\n    let { basename, navigator, useTransitions } = React10.useContext(NavigationContext);\n    let isAbsolute = typeof to === \"string\" && ABSOLUTE_URL_REGEX.test(to);\n    let parsed = parseToInfo(to, basename);\n    to = parsed.to;\n    let href = useHref(to, { relative });\n    let location = useLocation();\n    let maskedHref = null;\n    if (mask) {\n      let resolved = resolveTo(\n        mask,\n        [],\n        location.mask ? location.mask.pathname : \"/\",\n        true\n      );\n      if (basename !== \"/\") {\n        resolved.pathname = resolved.pathname === \"/\" ? basename : joinPaths([basename, resolved.pathname]);\n      }\n      maskedHref = navigator.createHref(resolved);\n    }\n    let [shouldPrefetch, prefetchRef, prefetchHandlers] = usePrefetchBehavior(\n      prefetch,\n      rest\n    );\n    let internalOnClick = useLinkClickHandler(to, {\n      replace: replace2,\n      mask,\n      state,\n      target,\n      preventScrollReset,\n      relative,\n      viewTransition,\n      defaultShouldRevalidate,\n      useTransitions\n    });\n    function handleClick(event) {\n      if (onClick) onClick(event);\n      if (!event.defaultPrevented) {\n        internalOnClick(event);\n      }\n    }\n    let isSpaLink = !(parsed.isExternal || reloadDocument);\n    let link = (\n      // eslint-disable-next-line jsx-a11y/anchor-has-content\n      /* @__PURE__ */ React10.createElement(\n        \"a\",\n        {\n          ...rest,\n          ...prefetchHandlers,\n          href: (isSpaLink ? maskedHref : void 0) || parsed.absoluteURL || href,\n          onClick: isSpaLink ? handleClick : onClick,\n          ref: mergeRefs(forwardedRef, prefetchRef),\n          target,\n          \"data-discover\": !isAbsolute && discover === \"render\" ? \"true\" : void 0\n        }\n      )\n    );\n    return shouldPrefetch && !isAbsolute ? /* @__PURE__ */ React10.createElement(React10.Fragment, null, link, /* @__PURE__ */ React10.createElement(PrefetchPageLinks, { page: href })) : link;\n  }\n);\nLink.displayName = \"Link\";\nvar NavLink = React10.forwardRef(\n  function NavLinkWithRef({\n    \"aria-current\": ariaCurrentProp = \"page\",\n    caseSensitive = false,\n    className: classNameProp = \"\",\n    end = false,\n    style: styleProp,\n    to,\n    viewTransition,\n    children,\n    ...rest\n  }, ref) {\n    let path = useResolvedPath(to, { relative: rest.relative });\n    let location = useLocation();\n    let routerState = React10.useContext(DataRouterStateContext);\n    let { navigator, basename } = React10.useContext(NavigationContext);\n    let isTransitioning = routerState != null && // Conditional usage is OK here because the usage of a data router is static\n    // eslint-disable-next-line react-hooks/rules-of-hooks\n    useViewTransitionState(path) && viewTransition === true;\n    let toPathname = navigator.encodeLocation ? navigator.encodeLocation(path).pathname : path.pathname;\n    let locationPathname = location.pathname;\n    let nextLocationPathname = routerState && routerState.navigation && routerState.navigation.location ? routerState.navigation.location.pathname : null;\n    if (!caseSensitive) {\n      locationPathname = locationPathname.toLowerCase();\n      nextLocationPathname = nextLocationPathname ? nextLocationPathname.toLowerCase() : null;\n      toPathname = toPathname.toLowerCase();\n    }\n    if (nextLocationPathname && basename) {\n      nextLocationPathname = stripBasename(nextLocationPathname, basename) || nextLocationPathname;\n    }\n    const endSlashPosition = toPathname !== \"/\" && toPathname.endsWith(\"/\") ? toPathname.length - 1 : toPathname.length;\n    let isActive = locationPathname === toPathname || !end && locationPathname.startsWith(toPathname) && locationPathname.charAt(endSlashPosition) === \"/\";\n    let isPending = nextLocationPathname != null && (nextLocationPathname === toPathname || !end && nextLocationPathname.startsWith(toPathname) && nextLocationPathname.charAt(toPathname.length) === \"/\");\n    let renderProps = {\n      isActive,\n      isPending,\n      isTransitioning\n    };\n    let ariaCurrent = isActive ? ariaCurrentProp : void 0;\n    let className;\n    if (typeof classNameProp === \"function\") {\n      className = classNameProp(renderProps);\n    } else {\n      className = [\n        classNameProp,\n        isActive ? \"active\" : null,\n        isPending ? \"pending\" : null,\n        isTransitioning ? \"transitioning\" : null\n      ].filter(Boolean).join(\" \");\n    }\n    let style = typeof styleProp === \"function\" ? styleProp(renderProps) : styleProp;\n    return /* @__PURE__ */ React10.createElement(\n      Link,\n      {\n        ...rest,\n        \"aria-current\": ariaCurrent,\n        className,\n        ref,\n        style,\n        to,\n        viewTransition\n      },\n      typeof children === \"function\" ? children(renderProps) : children\n    );\n  }\n);\nNavLink.displayName = \"NavLink\";\nvar Form = React10.forwardRef(\n  ({\n    discover = \"render\",\n    fetcherKey,\n    navigate,\n    reloadDocument,\n    replace: replace2,\n    state,\n    method = defaultMethod,\n    action,\n    onSubmit,\n    relative,\n    preventScrollReset,\n    viewTransition,\n    defaultShouldRevalidate,\n    ...props\n  }, forwardedRef) => {\n    let { useTransitions } = React10.useContext(NavigationContext);\n    let submit = useSubmit();\n    let formAction = useFormAction(action, { relative });\n    let formMethod = method.toLowerCase() === \"get\" ? \"get\" : \"post\";\n    let isAbsolute = typeof action === \"string\" && ABSOLUTE_URL_REGEX.test(action);\n    let submitHandler = (event) => {\n      onSubmit && onSubmit(event);\n      if (event.defaultPrevented) return;\n      event.preventDefault();\n      let submitter = event.nativeEvent.submitter;\n      let submitMethod = submitter?.getAttribute(\"formmethod\") || method;\n      let doSubmit = () => submit(submitter || event.currentTarget, {\n        fetcherKey,\n        method: submitMethod,\n        navigate,\n        replace: replace2,\n        state,\n        relative,\n        preventScrollReset,\n        viewTransition,\n        defaultShouldRevalidate\n      });\n      if (useTransitions && navigate !== false) {\n        React10.startTransition(() => doSubmit());\n      } else {\n        doSubmit();\n      }\n    };\n    return /* @__PURE__ */ React10.createElement(\n      \"form\",\n      {\n        ref: forwardedRef,\n        method: formMethod,\n        action: formAction,\n        onSubmit: reloadDocument ? onSubmit : submitHandler,\n        ...props,\n        \"data-discover\": !isAbsolute && discover === \"render\" ? \"true\" : void 0\n      }\n    );\n  }\n);\nForm.displayName = \"Form\";\nfunction ScrollRestoration({\n  getKey,\n  storageKey,\n  ...props\n}) {\n  let remixContext = React10.useContext(FrameworkContext);\n  let { basename } = React10.useContext(NavigationContext);\n  let location = useLocation();\n  let matches = useMatches();\n  useScrollRestoration({ getKey, storageKey });\n  let ssrKey = React10.useMemo(\n    () => {\n      if (!remixContext || !getKey) return null;\n      let userKey = getScrollRestorationKey(\n        location,\n        matches,\n        basename,\n        getKey\n      );\n      return userKey !== location.key ? userKey : null;\n    },\n    // Nah, we only need this the first time for the SSR render\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    []\n  );\n  if (!remixContext || remixContext.isSpaMode) {\n    return null;\n  }\n  let restoreScroll = ((storageKey2, restoreKey) => {\n    if (!window.history.state || !window.history.state.key) {\n      let key = Math.random().toString(32).slice(2);\n      window.history.replaceState({ key }, \"\");\n    }\n    try {\n      let positions = JSON.parse(sessionStorage.getItem(storageKey2) || \"{}\");\n      let storedY = positions[restoreKey || window.history.state.key];\n      if (typeof storedY === \"number\") {\n        window.scrollTo(0, storedY);\n      }\n    } catch (error) {\n      console.error(error);\n      sessionStorage.removeItem(storageKey2);\n    }\n  }).toString();\n  if (props.nonce == null && remixContext?.nonce) {\n    props.nonce = remixContext.nonce;\n  }\n  return /* @__PURE__ */ React10.createElement(\n    \"script\",\n    {\n      ...props,\n      suppressHydrationWarning: true,\n      dangerouslySetInnerHTML: {\n        __html: `(${restoreScroll})(${escapeHtml(\n          JSON.stringify(storageKey || SCROLL_RESTORATION_STORAGE_KEY)\n        )}, ${escapeHtml(JSON.stringify(ssrKey))})`\n      }\n    }\n  );\n}\nScrollRestoration.displayName = \"ScrollRestoration\";\nfunction getDataRouterConsoleError2(hookName) {\n  return `${hookName} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`;\n}\nfunction useDataRouterContext3(hookName) {\n  let ctx = React10.useContext(DataRouterContext);\n  invariant(ctx, getDataRouterConsoleError2(hookName));\n  return ctx;\n}\nfunction useDataRouterState2(hookName) {\n  let state = React10.useContext(DataRouterStateContext);\n  invariant(state, getDataRouterConsoleError2(hookName));\n  return state;\n}\nfunction useLinkClickHandler(to, {\n  target,\n  replace: replaceProp,\n  mask,\n  state,\n  preventScrollReset,\n  relative,\n  viewTransition,\n  defaultShouldRevalidate,\n  useTransitions\n} = {}) {\n  let navigate = useNavigate();\n  let location = useLocation();\n  let path = useResolvedPath(to, { relative });\n  return React10.useCallback(\n    (event) => {\n      if (shouldProcessLinkClick(event, target)) {\n        event.preventDefault();\n        let replace2 = replaceProp !== void 0 ? replaceProp : createPath(location) === createPath(path);\n        let doNavigate = () => navigate(to, {\n          replace: replace2,\n          mask,\n          state,\n          preventScrollReset,\n          relative,\n          viewTransition,\n          defaultShouldRevalidate\n        });\n        if (useTransitions) {\n          React10.startTransition(() => doNavigate());\n        } else {\n          doNavigate();\n        }\n      }\n    },\n    [\n      location,\n      navigate,\n      path,\n      replaceProp,\n      mask,\n      state,\n      target,\n      to,\n      preventScrollReset,\n      relative,\n      viewTransition,\n      defaultShouldRevalidate,\n      useTransitions\n    ]\n  );\n}\nfunction useSearchParams(defaultInit) {\n  warning(\n    typeof URLSearchParams !== \"undefined\",\n    `You cannot use the \\`useSearchParams\\` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.`\n  );\n  let defaultSearchParamsRef = React10.useRef(createSearchParams(defaultInit));\n  let hasSetSearchParamsRef = React10.useRef(false);\n  let location = useLocation();\n  let searchParams = React10.useMemo(\n    () => (\n      // Only merge in the defaults if we haven't yet called setSearchParams.\n      // Once we call that we want those to take precedence, otherwise you can't\n      // remove a param with setSearchParams({}) if it has an initial value\n      getSearchParamsForLocation(\n        location.search,\n        hasSetSearchParamsRef.current ? null : defaultSearchParamsRef.current\n      )\n    ),\n    [location.search]\n  );\n  let navigate = useNavigate();\n  let setSearchParams = React10.useCallback(\n    (nextInit, navigateOptions) => {\n      const newSearchParams = createSearchParams(\n        typeof nextInit === \"function\" ? nextInit(new URLSearchParams(searchParams)) : nextInit\n      );\n      hasSetSearchParamsRef.current = true;\n      navigate(\"?\" + newSearchParams, navigateOptions);\n    },\n    [navigate, searchParams]\n  );\n  return [searchParams, setSearchParams];\n}\nvar fetcherId = 0;\nvar getUniqueFetcherId = () => `__${String(++fetcherId)}__`;\nfunction useSubmit() {\n  let { router } = useDataRouterContext3(\"useSubmit\" /* UseSubmit */);\n  let { basename } = React10.useContext(NavigationContext);\n  let currentRouteId = useRouteId();\n  let routerFetch = router.fetch;\n  let routerNavigate = router.navigate;\n  return React10.useCallback(\n    async (target, options = {}) => {\n      let { action, method, encType, formData, body } = getFormSubmissionInfo(\n        target,\n        basename\n      );\n      if (options.navigate === false) {\n        let key = options.fetcherKey || getUniqueFetcherId();\n        await routerFetch(key, currentRouteId, options.action || action, {\n          defaultShouldRevalidate: options.defaultShouldRevalidate,\n          preventScrollReset: options.preventScrollReset,\n          formData,\n          body,\n          formMethod: options.method || method,\n          formEncType: options.encType || encType,\n          flushSync: options.flushSync\n        });\n      } else {\n        await routerNavigate(options.action || action, {\n          defaultShouldRevalidate: options.defaultShouldRevalidate,\n          preventScrollReset: options.preventScrollReset,\n          formData,\n          body,\n          formMethod: options.method || method,\n          formEncType: options.encType || encType,\n          replace: options.replace,\n          state: options.state,\n          fromRouteId: currentRouteId,\n          flushSync: options.flushSync,\n          viewTransition: options.viewTransition\n        });\n      }\n    },\n    [routerFetch, routerNavigate, basename, currentRouteId]\n  );\n}\nfunction useFormAction(action, { relative } = {}) {\n  let { basename } = React10.useContext(NavigationContext);\n  let routeContext = React10.useContext(RouteContext);\n  invariant(routeContext, \"useFormAction must be used inside a RouteContext\");\n  let [match] = routeContext.matches.slice(-1);\n  let path = { ...useResolvedPath(action ? action : \".\", { relative }) };\n  let location = useLocation();\n  if (action == null) {\n    path.search = location.search;\n    let params = new URLSearchParams(path.search);\n    let indexValues = params.getAll(\"index\");\n    let hasNakedIndexParam = indexValues.some((v) => v === \"\");\n    if (hasNakedIndexParam) {\n      params.delete(\"index\");\n      indexValues.filter((v) => v).forEach((v) => params.append(\"index\", v));\n      let qs = params.toString();\n      path.search = qs ? `?${qs}` : \"\";\n    }\n  }\n  if ((!action || action === \".\") && match.route.index) {\n    path.search = path.search ? path.search.replace(/^\\?/, \"?index&\") : \"?index\";\n  }\n  if (basename !== \"/\") {\n    path.pathname = path.pathname === \"/\" ? basename : joinPaths([basename, path.pathname]);\n  }\n  return createPath(path);\n}\nfunction useFetcher({\n  key\n} = {}) {\n  let { router } = useDataRouterContext3(\"useFetcher\" /* UseFetcher */);\n  let state = useDataRouterState2(\"useFetcher\" /* UseFetcher */);\n  let fetcherData = React10.useContext(FetchersContext);\n  let route = React10.useContext(RouteContext);\n  let routeId = route.matches[route.matches.length - 1]?.route.id;\n  invariant(fetcherData, `useFetcher must be used inside a FetchersContext`);\n  invariant(route, `useFetcher must be used inside a RouteContext`);\n  invariant(\n    routeId != null,\n    `useFetcher can only be used on routes that contain a unique \"id\"`\n  );\n  let defaultKey = React10.useId();\n  let [fetcherKey, setFetcherKey] = React10.useState(key || defaultKey);\n  if (key && key !== fetcherKey) {\n    setFetcherKey(key);\n  }\n  let { deleteFetcher, getFetcher, resetFetcher, fetch: routerFetch } = router;\n  React10.useEffect(() => {\n    getFetcher(fetcherKey);\n    return () => deleteFetcher(fetcherKey);\n  }, [deleteFetcher, getFetcher, fetcherKey]);\n  let load = React10.useCallback(\n    async (href, opts) => {\n      invariant(routeId, \"No routeId available for fetcher.load()\");\n      await routerFetch(fetcherKey, routeId, href, opts);\n    },\n    [fetcherKey, routeId, routerFetch]\n  );\n  let submitImpl = useSubmit();\n  let submit = React10.useCallback(\n    async (target, opts) => {\n      await submitImpl(target, {\n        ...opts,\n        navigate: false,\n        fetcherKey\n      });\n    },\n    [fetcherKey, submitImpl]\n  );\n  let reset = React10.useCallback(\n    (opts) => resetFetcher(fetcherKey, opts),\n    [resetFetcher, fetcherKey]\n  );\n  let FetcherForm = React10.useMemo(() => {\n    let FetcherForm2 = React10.forwardRef(\n      (props, ref) => {\n        return /* @__PURE__ */ React10.createElement(Form, { ...props, navigate: false, fetcherKey, ref });\n      }\n    );\n    FetcherForm2.displayName = \"fetcher.Form\";\n    return FetcherForm2;\n  }, [fetcherKey]);\n  let fetcher = state.fetchers.get(fetcherKey) || IDLE_FETCHER;\n  let data2 = fetcherData.get(fetcherKey);\n  let fetcherWithComponents = React10.useMemo(\n    () => ({\n      Form: FetcherForm,\n      submit,\n      load,\n      reset,\n      ...fetcher,\n      data: data2\n    }),\n    [FetcherForm, submit, load, reset, fetcher, data2]\n  );\n  return fetcherWithComponents;\n}\nfunction useFetchers() {\n  let state = useDataRouterState2(\"useFetchers\" /* UseFetchers */);\n  return React10.useMemo(\n    () => Array.from(state.fetchers.entries()).map(([key, fetcher]) => ({\n      ...fetcher,\n      key\n    })),\n    [state.fetchers]\n  );\n}\nvar SCROLL_RESTORATION_STORAGE_KEY = \"react-router-scroll-positions\";\nvar savedScrollPositions = {};\nfunction getScrollRestorationKey(location, matches, basename, getKey) {\n  let key = null;\n  if (getKey) {\n    if (basename !== \"/\") {\n      key = getKey(\n        {\n          ...location,\n          pathname: stripBasename(location.pathname, basename) || location.pathname\n        },\n        matches\n      );\n    } else {\n      key = getKey(location, matches);\n    }\n  }\n  if (key == null) {\n    key = location.key;\n  }\n  return key;\n}\nfunction useScrollRestoration({\n  getKey,\n  storageKey\n} = {}) {\n  let { router } = useDataRouterContext3(\"useScrollRestoration\" /* UseScrollRestoration */);\n  let { restoreScrollPosition, preventScrollReset } = useDataRouterState2(\n    \"useScrollRestoration\" /* UseScrollRestoration */\n  );\n  let { basename } = React10.useContext(NavigationContext);\n  let location = useLocation();\n  let matches = useMatches();\n  let navigation = useNavigation();\n  React10.useEffect(() => {\n    window.history.scrollRestoration = \"manual\";\n    return () => {\n      window.history.scrollRestoration = \"auto\";\n    };\n  }, []);\n  usePageHide(\n    React10.useCallback(() => {\n      if (navigation.state === \"idle\") {\n        let key = getScrollRestorationKey(location, matches, basename, getKey);\n        savedScrollPositions[key] = window.scrollY;\n      }\n      try {\n        sessionStorage.setItem(\n          storageKey || SCROLL_RESTORATION_STORAGE_KEY,\n          JSON.stringify(savedScrollPositions)\n        );\n      } catch (error) {\n        warning(\n          false,\n          `Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${error}).`\n        );\n      }\n      window.history.scrollRestoration = \"auto\";\n    }, [navigation.state, getKey, basename, location, matches, storageKey])\n  );\n  if (typeof document !== \"undefined\") {\n    React10.useLayoutEffect(() => {\n      try {\n        let sessionPositions = sessionStorage.getItem(\n          storageKey || SCROLL_RESTORATION_STORAGE_KEY\n        );\n        if (sessionPositions) {\n          savedScrollPositions = JSON.parse(sessionPositions);\n        }\n      } catch (e) {\n      }\n    }, [storageKey]);\n    React10.useLayoutEffect(() => {\n      let disableScrollRestoration = router?.enableScrollRestoration(\n        savedScrollPositions,\n        () => window.scrollY,\n        getKey ? (location2, matches2) => getScrollRestorationKey(location2, matches2, basename, getKey) : void 0\n      );\n      return () => disableScrollRestoration && disableScrollRestoration();\n    }, [router, basename, getKey]);\n    React10.useLayoutEffect(() => {\n      if (restoreScrollPosition === false) {\n        return;\n      }\n      if (typeof restoreScrollPosition === \"number\") {\n        window.scrollTo(0, restoreScrollPosition);\n        return;\n      }\n      try {\n        if (location.hash) {\n          let el = document.getElementById(\n            decodeURIComponent(location.hash.slice(1))\n          );\n          if (el) {\n            el.scrollIntoView();\n            return;\n          }\n        }\n      } catch {\n        warning(\n          false,\n          `\"${location.hash.slice(\n            1\n          )}\" is not a decodable element ID. The view will not scroll to it.`\n        );\n      }\n      if (preventScrollReset === true) {\n        return;\n      }\n      window.scrollTo(0, 0);\n    }, [location, restoreScrollPosition, preventScrollReset]);\n  }\n}\nfunction useBeforeUnload(callback, options) {\n  let { capture } = options || {};\n  React10.useEffect(() => {\n    let opts = capture != null ? { capture } : void 0;\n    window.addEventListener(\"beforeunload\", callback, opts);\n    return () => {\n      window.removeEventListener(\"beforeunload\", callback, opts);\n    };\n  }, [callback, capture]);\n}\nfunction usePageHide(callback, options) {\n  let { capture } = options || {};\n  React10.useEffect(() => {\n    let opts = capture != null ? { capture } : void 0;\n    window.addEventListener(\"pagehide\", callback, opts);\n    return () => {\n      window.removeEventListener(\"pagehide\", callback, opts);\n    };\n  }, [callback, capture]);\n}\nfunction usePrompt({\n  when,\n  message\n}) {\n  let blocker = useBlocker(when);\n  React10.useEffect(() => {\n    if (blocker.state === \"blocked\") {\n      let proceed = window.confirm(message);\n      if (proceed) {\n        setTimeout(blocker.proceed, 0);\n      } else {\n        blocker.reset();\n      }\n    }\n  }, [blocker, message]);\n  React10.useEffect(() => {\n    if (blocker.state === \"blocked\" && !when) {\n      blocker.reset();\n    }\n  }, [blocker, when]);\n}\nfunction useViewTransitionState(to, { relative } = {}) {\n  let vtContext = React10.useContext(ViewTransitionContext);\n  invariant(\n    vtContext != null,\n    \"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?\"\n  );\n  let { basename } = useDataRouterContext3(\n    \"useViewTransitionState\" /* useViewTransitionState */\n  );\n  let path = useResolvedPath(to, { relative });\n  if (!vtContext.isTransitioning) {\n    return false;\n  }\n  let currentPath = stripBasename(vtContext.currentLocation.pathname, basename) || vtContext.currentLocation.pathname;\n  let nextPath = stripBasename(vtContext.nextLocation.pathname, basename) || vtContext.nextLocation.pathname;\n  return matchPath(path.pathname, nextPath) != null || matchPath(path.pathname, currentPath) != null;\n}\n\n// lib/dom/server.tsx\nimport * as React11 from \"react\";\nfunction StaticRouter({\n  basename,\n  children,\n  location: locationProp = \"/\"\n}) {\n  if (typeof locationProp === \"string\") {\n    locationProp = parsePath(locationProp);\n  }\n  let action = \"POP\" /* Pop */;\n  let location = {\n    pathname: locationProp.pathname || \"/\",\n    search: locationProp.search || \"\",\n    hash: locationProp.hash || \"\",\n    state: locationProp.state != null ? locationProp.state : null,\n    key: locationProp.key || \"default\",\n    mask: void 0\n  };\n  let staticNavigator = getStatelessNavigator();\n  return /* @__PURE__ */ React11.createElement(\n    Router,\n    {\n      basename,\n      children,\n      location,\n      navigationType: action,\n      navigator: staticNavigator,\n      static: true,\n      useTransitions: false\n    }\n  );\n}\nfunction StaticRouterProvider({\n  context,\n  router,\n  hydrate: hydrate2 = true,\n  nonce\n}) {\n  invariant(\n    router && context,\n    \"You must provide `router` and `context` to <StaticRouterProvider>\"\n  );\n  let dataRouterContext = {\n    router,\n    navigator: getStatelessNavigator(),\n    static: true,\n    staticContext: context,\n    basename: context.basename || \"/\"\n  };\n  let fetchersContext = /* @__PURE__ */ new Map();\n  let hydrateScript = \"\";\n  if (hydrate2 !== false) {\n    let data2 = {\n      loaderData: context.loaderData,\n      actionData: context.actionData,\n      errors: serializeErrors(context.errors)\n    };\n    let json = escapeHtml(JSON.stringify(JSON.stringify(data2)));\n    hydrateScript = `window.__staticRouterHydrationData = JSON.parse(${json});`;\n  }\n  let { state } = dataRouterContext.router;\n  return /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement(DataRouterContext.Provider, { value: dataRouterContext }, /* @__PURE__ */ React11.createElement(DataRouterStateContext.Provider, { value: state }, /* @__PURE__ */ React11.createElement(FetchersContext.Provider, { value: fetchersContext }, /* @__PURE__ */ React11.createElement(ViewTransitionContext.Provider, { value: { isTransitioning: false } }, /* @__PURE__ */ React11.createElement(\n    Router,\n    {\n      basename: dataRouterContext.basename,\n      location: state.location,\n      navigationType: state.historyAction,\n      navigator: dataRouterContext.navigator,\n      static: dataRouterContext.static,\n      useTransitions: false\n    },\n    /* @__PURE__ */ React11.createElement(\n      DataRoutes2,\n      {\n        manifest: router.manifest,\n        routes: router.routes,\n        future: router.future,\n        state,\n        isStatic: true\n      }\n    )\n  ))))), hydrateScript ? /* @__PURE__ */ React11.createElement(\n    \"script\",\n    {\n      suppressHydrationWarning: true,\n      nonce,\n      dangerouslySetInnerHTML: { __html: hydrateScript }\n    }\n  ) : null);\n}\nfunction serializeErrors(errors) {\n  if (!errors) return null;\n  let entries = Object.entries(errors);\n  let serialized = {};\n  for (let [key, val] of entries) {\n    if (isRouteErrorResponse(val)) {\n      serialized[key] = { ...val, __type: \"RouteErrorResponse\" };\n    } else if (val instanceof Error) {\n      serialized[key] = {\n        message: val.message,\n        __type: \"Error\",\n        // If this is a subclass (i.e., ReferenceError), send up the type so we\n        // can re-create the same type during hydration.\n        ...val.name !== \"Error\" ? {\n          __subType: val.name\n        } : {}\n      };\n    } else {\n      serialized[key] = val;\n    }\n  }\n  return serialized;\n}\nfunction getStatelessNavigator() {\n  return {\n    createHref,\n    encodeLocation,\n    push(to) {\n      throw new Error(\n        `You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \\`navigate(${JSON.stringify(to)})\\` somewhere in your app.`\n      );\n    },\n    replace(to) {\n      throw new Error(\n        `You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \\`navigate(${JSON.stringify(to)}, { replace: true })\\` somewhere in your app.`\n      );\n    },\n    go(delta) {\n      throw new Error(\n        `You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \\`navigate(${delta})\\` somewhere in your app.`\n      );\n    },\n    back() {\n      throw new Error(\n        `You cannot use navigator.back() on the server because it is a stateless environment.`\n      );\n    },\n    forward() {\n      throw new Error(\n        `You cannot use navigator.forward() on the server because it is a stateless environment.`\n      );\n    }\n  };\n}\nfunction createStaticHandler2(routes, opts) {\n  return createStaticHandler(routes, {\n    ...opts,\n    mapRouteProperties\n  });\n}\nfunction createStaticRouter(routes, context, opts = {}) {\n  let manifest = {};\n  let dataRoutes = convertRoutesToDataRoutes(\n    routes,\n    mapRouteProperties,\n    void 0,\n    manifest\n  );\n  let matches = context.matches.map((match) => {\n    let route = manifest[match.route.id] || match.route;\n    return {\n      ...match,\n      route\n    };\n  });\n  let msg = (method) => `You cannot use router.${method}() on the server because it is a stateless environment`;\n  return {\n    get basename() {\n      return context.basename;\n    },\n    get future() {\n      return {\n        v8_middleware: false,\n        v8_passThroughRequests: false,\n        v8_trailingSlashAwareDataRequests: false,\n        ...opts?.future\n      };\n    },\n    get state() {\n      return {\n        historyAction: \"POP\" /* Pop */,\n        location: context.location,\n        matches,\n        loaderData: context.loaderData,\n        actionData: context.actionData,\n        errors: context.errors,\n        initialized: true,\n        renderFallback: false,\n        navigation: IDLE_NAVIGATION,\n        restoreScrollPosition: null,\n        preventScrollReset: false,\n        revalidation: \"idle\",\n        fetchers: /* @__PURE__ */ new Map(),\n        blockers: /* @__PURE__ */ new Map()\n      };\n    },\n    get routes() {\n      return dataRoutes;\n    },\n    get branches() {\n      return opts.branches;\n    },\n    get manifest() {\n      return manifest;\n    },\n    get window() {\n      return void 0;\n    },\n    initialize() {\n      throw msg(\"initialize\");\n    },\n    subscribe() {\n      throw msg(\"subscribe\");\n    },\n    enableScrollRestoration() {\n      throw msg(\"enableScrollRestoration\");\n    },\n    navigate() {\n      throw msg(\"navigate\");\n    },\n    fetch() {\n      throw msg(\"fetch\");\n    },\n    revalidate() {\n      throw msg(\"revalidate\");\n    },\n    createHref,\n    encodeLocation,\n    getFetcher() {\n      return IDLE_FETCHER;\n    },\n    deleteFetcher() {\n      throw msg(\"deleteFetcher\");\n    },\n    resetFetcher() {\n      throw msg(\"resetFetcher\");\n    },\n    dispose() {\n      throw msg(\"dispose\");\n    },\n    getBlocker() {\n      return IDLE_BLOCKER;\n    },\n    deleteBlocker() {\n      throw msg(\"deleteBlocker\");\n    },\n    patchRoutes() {\n      throw msg(\"patchRoutes\");\n    },\n    _internalFetchControllers: /* @__PURE__ */ new Map(),\n    _internalSetRoutes() {\n      throw msg(\"_internalSetRoutes\");\n    },\n    _internalSetStateDoNotUseOrYouWillBreakYourApp() {\n      throw msg(\"_internalSetStateDoNotUseOrYouWillBreakYourApp\");\n    }\n  };\n}\nfunction createHref(to) {\n  return typeof to === \"string\" ? to : createPath(to);\n}\nfunction encodeLocation(to) {\n  let href = typeof to === \"string\" ? to : createPath(to);\n  href = href.replace(/ $/, \"%20\");\n  let encoded = ABSOLUTE_URL_REGEX.test(href) ? new URL(href) : new URL(href, \"http://localhost\");\n  return {\n    pathname: encoded.pathname,\n    search: encoded.search,\n    hash: encoded.hash\n  };\n}\n\nexport {\n  PROTOCOL_RELATIVE_URL_REGEX,\n  Action,\n  createMemoryHistory,\n  createBrowserHistory,\n  createHashHistory,\n  invariant,\n  createPath,\n  parsePath,\n  createContext,\n  RouterContextProvider,\n  convertRoutesToDataRoutes,\n  matchRoutes,\n  matchRoutesImpl,\n  generatePath,\n  matchPath,\n  stripBasename,\n  resolvePath,\n  data,\n  redirect,\n  redirectDocument,\n  replace,\n  ErrorResponseImpl,\n  isRouteErrorResponse,\n  instrumentHandler,\n  validateNavigationTarget,\n  IDLE_NAVIGATION,\n  IDLE_FETCHER,\n  IDLE_BLOCKER,\n  createRouter,\n  createStaticHandler,\n  getStaticContextFromError,\n  hasInvalidProtocol,\n  isDataWithResponseInit,\n  isResponse,\n  isRedirectStatusCode,\n  isRedirectResponse,\n  isMutationMethod,\n  DataRouterContext,\n  DataRouterStateContext,\n  RSCRouterContext,\n  ViewTransitionContext,\n  FetchersContext,\n  AwaitContextProvider,\n  NavigationContext,\n  LocationContext,\n  RouteContext,\n  ENABLE_DEV_WARNINGS,\n  decodeRedirectErrorDigest,\n  decodeRouteErrorResponseDigest,\n  useHref,\n  useInRouterContext,\n  useLocation,\n  useNavigationType,\n  useMatch,\n  useNavigate,\n  useOutletContext,\n  useOutlet,\n  useParams,\n  useResolvedPath,\n  useRoutes,\n  useNavigation,\n  useRevalidator,\n  useMatches,\n  useLoaderData,\n  useRouteLoaderData,\n  useActionData,\n  useRouteError,\n  useAsyncValue,\n  useAsyncError,\n  useBlocker,\n  useRoute,\n  useRouterState,\n  warnOnce,\n  mapRouteProperties,\n  hydrationRouteProperties,\n  createMemoryRouter,\n  RouterProvider,\n  MemoryRouter,\n  Navigate,\n  Outlet,\n  Route,\n  Router,\n  Routes,\n  Await,\n  createRoutesFromChildren,\n  createRoutesFromElements,\n  renderMatches,\n  WithComponentProps,\n  withComponentProps,\n  WithHydrateFallbackProps,\n  withHydrateFallbackProps,\n  WithErrorBoundaryProps,\n  withErrorBoundaryProps,\n  createSearchParams,\n  escapeHtml,\n  escapeAttribute,\n  encode,\n  createRequestInit,\n  SingleFetchRedirectSymbol,\n  SINGLE_FETCH_REDIRECT_STATUS,\n  NO_BODY_STATUS_CODES,\n  StreamTransfer,\n  getTurboStreamSingleFetchDataStrategy,\n  getSingleFetchDataStrategyImpl,\n  stripIndexParam,\n  singleFetchUrl,\n  decodeViaTurboStream,\n  RemixErrorBoundary,\n  createServerRoutes,\n  createClientRoutesWithHMRRevalidationOptOut,\n  noActionDefinedError,\n  createClientRoutes,\n  shouldHydrateRouteLoader,\n  URL_LIMIT,\n  getPathsWithAncestors,\n  getPatchRoutesOnNavigationFunction,\n  useFogOFWarDiscovery,\n  getManifestPath,\n  FrameworkContext,\n  CRITICAL_CSS_DATA_ATTRIBUTE,\n  Links,\n  PrefetchPageLinks,\n  Meta,\n  setIsHydrated,\n  Scripts,\n  createBrowserRouter,\n  createHashRouter,\n  BrowserRouter,\n  HashRouter,\n  HistoryRouter,\n  Link,\n  NavLink,\n  Form,\n  ScrollRestoration,\n  useLinkClickHandler,\n  useSearchParams,\n  useSubmit,\n  useFormAction,\n  useFetcher,\n  useFetchers,\n  useScrollRestoration,\n  useBeforeUnload,\n  usePrompt,\n  useViewTransitionState,\n  StaticRouter,\n  StaticRouterProvider,\n  createStaticHandler2,\n  createStaticRouter\n};\n","// 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","// 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};","// 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 \"js/\" + chunkId + \"-bundle.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 undefined;\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))","// 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};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/^blob:/, \"\").replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl + \"../\";","// 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\t4223: 0,\n\t3524: 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(3524 != chunkId) {\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} else installedChunks[chunkId] = 0;\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[\"webpackChunkbevspot\"] = self[\"webpackChunkbevspot\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"],"names":["deferred","leafPrototypes","getProto","inProgress","dataWebpackPrefix","CognitoHostedUIIdentityProvider","AuthErrorTypes","GRAPHQL_AUTH_MODE","isFederatedSignInOptions","obj","find","k","hasOwnProperty","isCognitoHostedOpts","oauth","undefined","redirectSignIn","extendStatics","__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","call","apply","this","__read","o","m","Symbol","iterator","r","e","ar","next","done","push","value","error","__spreadArray","to","from","pack","l","Array","slice","concat","logger","ConsoleLogger","C","AMPLIFY_SYMBOL","for","Hub","HubClass","name","listeners","patterns","protectedChannels","_remove","channel","listener","RegExp","pattern_1","_a","pattern","source","warn","filter","x","holder","callback","remove","dispatch","payload","ampSymbol","indexOf","capsule","patternInfo","_toListeners","listen","listenerName","cb","_this","onHubCapsule","isLegacyCallback","bind","Error","forEach","debug","message","payloadStr_1","match","groups","dispatchingCapsule","dataMemory","MemoryStorage","setItem","key","getItem","removeItem","clear","StorageHelper","storageWindow","window","localStorage","exception","getStorage","browserOrNode","isBrowser","document","isNode","process","versions","node","__extends","d","b","setPrototypeOf","__proto__","TypeError","String","__","constructor","create","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","rejected","result","then","__generator","body","f","y","g","_","label","sent","trys","ops","verb","throw","return","v","op","pop","Retry_read","Retry_spreadArray","Retry_logger","NonRetryableError","_super","nonRetryable","MAX_DELAY_MS","jitteredBackoff","maxDelayMs","attempt","delay","Math","pow","random","Framework","Category","AnalyticsAction","ApiAction","AuthAction","DataStoreAction","GeoAction","InAppMessagingAction","InteractionsAction","PredictionsAction","PubSubAction","PushNotificationAction","StorageAction","GoogleOAuth_logger","waitForInit","res","rej","auth2","setTimeout","GoogleOAuth","initialized","refreshGoogleToken","_refreshGoogleTokenImpl","GoogleOAuth_generator","ga","getAuthInstance","googleAuth","googleUser","currentUser","get","isSignedIn","reloadAuthResponse","authResponse","id_token","expires_at","token","catch","err","FacebookOAuth_logger","FacebookOAuth_waitForInit","FacebookOAuth","refreshFacebookToken","_refreshFacebookTokenImpl","FacebookOAuth_generator","fb","errorMessage","getLoginStatus","fbResponse","response","accessToken","expiresIn","Date","getTime","scope","OAuthHelper_GoogleOAuth","OAuthHelper_FacebookOAuth","defaultPartition","id","outputs","dnsSuffix","regionRegex","regions","partitionsInfo","partitions","getDnsSuffix","region","e_1","partitions_1","__values","partitions_1_1","_b","regex","includes","test","e_1_1","middleware_assign","cancellableSleep","timeoutMs","abortSignal","aborted","timeoutId","sleepPromiseResolveFn","sleepPromise","addEventListener","cancelSleep","event","clearTimeout","removeEventListener","addOrIncrementMetadataAttempts","nextHandlerOutput","attempts","toString","composeTransferHandler","coreHandler","middleware","request","options","context","composedHandler","resolvedMiddleware","withMemoization","payloadAccessor","cached","fetch_assign","shouldSendBody","method","toUpperCase","unauthenticatedHandler","url","headers","resp","responseHeaders","httpResponse","bodyWithMixin","_c","_d","fetch_generator","_e","fetch","signal","toLowerCase","statusCode","status","text","blob","json","userAgentHeader","userAgentValue","headerName","userAgent_middleware_generator","trim","maxAttempts","retryDecider","computeDelay","attemptsCount","handleTerminalErrorOrResponse","middleware_generator","responseInfo_assign","parseMetadata","isMetadataBearer","$metadata","httpStatusCode","requestId","extendedRequestId","cfId","json_awaiter","json_generator","parseJsonError","code","_f","parseJsonBody","rawValue","__type","cleanValue","json_read","split","Message","output","CLOCK_SKEW_ERROR_CODES","isClockSkewError","errorCode","THROTTLING_ERROR_CODES","TIMEOUT_ERROR_CODES","isThrottlingError","isConnectionError","isServerSideError","DEFAULT_MAX_DELAY_MS","frameworkCache","version","globalExists","__webpack_require__","windowExists","documentExists","processExists","keyPrefixMatch","object","prefix","keys","startsWith","detectionMap","platform","Expo","detectionMethod","ReactNative","navigator","product","NextJs","Nuxt","Angular","angularVersionSetInDocument","Boolean","querySelector","angularContentSetInWindow","React","elementKeyPrefixedWithReact","querySelectorAll","some","element","VueJs","Svelte","WebUnknown","NextJsSSR","NuxtSSR","ReactSSR","env","VueJsSSR","AngularSSR","SvelteSSR","frameworkChangeObservers","resetTriggered","detectFramework","detectionEntry","ServerSideUnknown","fcn","resetTimeout","observeFrameworkChanges","framework","errorParser","BASE_USER_AGENT","Platform","PlatformBuilder","userAgent","defineProperty","enumerable","configurable","getAmplifyUserAgent","customUserAgentDetails","category","action","getAmplifyUserAgentObject","map","Platform_read","agentKey","agentValue","join","cognitoIdentityTransferHandler","base_generator","defaultConfig","service","endpointResolver","URL","defaultRetryDecider_generator","delayFunction","getSharedHeaders","operation","buildHttpRpcRequest","composeServiceApi_assign","composeServiceApi","transferHandler","serializer","deserializer","config","input","resolvedConfig","endpoint","composeServiceApi_generator","getId","JSON","stringify","getId_generator","IdentityId","getCredentialsForIdentity","getCredentialsForIdentity_generator","Credentials","AccessKeyId","SecretKey","SessionToken","Expiration","parseAWSExports_assign","parseAWSExports_logger","parseAWSExports","storageConfig","amplifyConfig","Analytics","AWSPinpoint","appId","Auth","userPoolId","userPoolWebClientId","identityPoolId","identityPoolRegion","mandatorySignIn","signUpVerificationMethod","AWSS3","bucket","dangerouslyConnectToHttpEndpointForTesting","Storage","Logging","Geo","geo","AmazonLocationService","Credentials_assign","Credentials_awaiter","Credentials_generator","Credentials_logger","Credentials_AMPLIFY_SYMBOL","CredentialsClass","_gettingCredPromise","_refreshHandlers","configure","getModuleName","getCredSource","_credentials_source","_config","refreshHandlers","_storage","storage","_storageSync","data","_pickupCredentials","_getCognitoIdentityIdStorageKey","isPending","promise","isResolved","isRejected","isFullfilled","makeQuerablePromise","_keepAlive","cred","user_1","session","refreshToken_1","err_1","_credentials","_isExpired","_isPastTTL","Amplify","H","currentUserCredentials","_setCredentialsForGuest","currentUserPoolUser","currentSession","refreshToken","refreshSession","refreshFederatedToken","federatedInfo","provider","user","identity_id","getFullYear","that","_setCredentialsFromFederation","_providerRefreshWithRetry","refreshHandler","functionToRetry","args","onTerminate","delayFn","terminated","timeout","wakeUp","lastError","_loop_1","state_1","retryIn_1","retry","lastIndexOf","credentials","ts","now","expiration","_nextCredentialsRefresh","identityId","cognitoConfig","guestCredentialsProvider","_getGuestIdentityId","_identityId","IdentityPoolId","accessKeyId","secretAccessKey","sessionToken","_loadCredentials","guestCredentialsProvider_1","_removeGuestIdentityId","params","domain","google","facebook","amazon","developer","logins","Logins","_setCredentialsFromSession","idToken","getIdToken","getJwtToken","guestIdentityId","generatedOrRetrievedIdentityId","primaryIdentityId","authenticated","info","_setGuestIdentityId","set","e_2","shear","register","hasRequiredCookie","cookie","cookieExports","parse","str","opt","len","dec","decode","index","eqIdx","endIdx","keyStartIdx","startIndex","keyEndIdx","endIndex","__hasOwnProperty","valStartIdx","valEndIdx","charCodeAt","val","tryDecode","serialize","enc","encode","encodeURIComponent","cookieNameRegExp","cookieValueRegExp","maxAge","floor","isFinite","domainValueRegExp","path","pathValueRegExp","expires","__toString","isDate","isNaN","valueOf","toUTCString","httpOnly","secure","partitioned","priority","sameSite","max","min","decodeURIComponent","requireCookie","readCookie","substr","cleanupCookieValue","doNotParse","Cookies","cookies","defaultSetOptions","changeListeners","HAS_DOCUMENT_COOKIE","update","previousCookies","_checkChanges","domCookies","parseCookies","testingValue","TEST_HAS_DOCUMENT_COOKIE","hasDocumentCookie","_emitChange","Set","_startPolling","pollingInterval","setInterval","_stopPolling","clearInterval","doNotUpdate","getAll","stringValue","finalOptions","addChangeListener","cookieStore","removeChangeListener","idx","splice","cryptoSecureRandomInt_crypto","UniversalStorage_assign","UniversalStorage","store","req","entries","getLocalItem","getUniversalItem","removeLocalItem","removeUniversalItem","setLocalItem","tokenType","setUniversalItem","location","hostname","AuthenticationDetails","_ref","ValidationData","Username","Password","AuthParameters","ClientMetadata","validationData","authParameters","clientMetadata","username","password","_proto","getUsername","getPassword","getValidationData","getAuthParameters","getClientMetadata","crypto","msCrypto","cryptoSecureRandomInt","getRandomValues","Uint32Array","randomBytes","readInt32LE","WordArray","words","sigBytes","nBytes","wordArray","hexChars","bite","hexStringify","BigInteger","BigInteger_BigInteger","a","fromString","nbi","dbits","inBrowser","appName","am","w","j","c","xl","xh","h","DB","DM","DV","FV","F1","F2","rr","vv","BI_RC","int2char","charAt","intAt","nbv","fromInt","nbits","Montgomery","mp","invDigit","mpl","mph","um","mt2","buffer","hp","convert","abs","dlShiftTo","divRemTo","compareTo","ZERO","subTo","revert","copyTo","reduce","u0","clamp","drShiftTo","mulTo","multiplyTo","sqrTo","squareTo","mi","sh","lShiftTo","bs","cbs","bm","ds","rShiftTo","q","pm","pt","ms","nsh","ys","y0","yt","d1","d2","ONE","qd","addTo","negate","km","bitLength","mod","equals","add","subtract","multiply","divide","modPow","z","k1","g2","is1","r2","HEX_MSB_REGEX","AuthenticationHelper","PoolName","N","hexHash","padHex","smallAValue","generateRandomSmallA","getLargeAValue","infoBits","poolName","getSmallAValue","largeAValue","calculateA","hexRandom","generateRandomString","getRandomPassword","randomPassword","getSaltDevices","SaltToHashDevices","getVerifierDevices","verifierDevices","generateHashDevice","deviceGroupKey","_this2","combinedString","hashedString","hash","verifierDevicesNotPadded","_this3","A","calculateU","B","UHexHash","buf","awsCryptoHash","build","Sha256","resultFromAWSCrypto","digestSync","hashHex","hexStr","computehkdf","ikm","salt","infoBitsBuffer","fromCharCode","resultFromAWSCryptoPrk","awsCryptoHashHmac","getPasswordAuthenticationKey","serverBValue","_this4","UValue","usernamePassword","usernamePasswordHash","xValue","calculateS","sValue","hkdf","_this5","gModPowXN","err2","getNewPasswordRequiredChallengeUserAttributePrefix","bigInt","isNegative","invertedNibbles","invertedNibble","parseInt","substring","CognitoJwtToken","jwtToken","decodePayload","getExpiration","exp","getIssuedAt","iat","_setPrototypeOf","CognitoAccessToken","_CognitoJwtToken","_temp","AccessToken","CognitoIdToken_setPrototypeOf","CognitoIdToken","IdToken","CognitoRefreshToken","RefreshToken","getToken","Platform_Platform","CognitoUserSession","ClockDrift","clockDrift","calculateClockDrift","getRefreshToken","getAccessToken","getClockDrift","isValid","adjusted","monthNames","weekNames","DateHelper","getNowString","weekDay","getUTCDay","month","getUTCMonth","day","getUTCDate","hours","getUTCHours","minutes","getUTCMinutes","seconds","getUTCSeconds","getUTCFullYear","CognitoUserAttribute","Name","Value","getValue","setValue","getName","setName","toJSON","StorageHelper_dataMemory","StorageHelper_MemoryStorage","StorageHelper_StorageHelper","CognitoUser","Pool","pool","Session","client","signInUserSession","authenticationFlowType","keyPrefix","getClientId","userDataKey","setSignInUserSession","clearCachedUserData","cacheTokens","getSignInUserSession","getAuthenticationFlowType","setAuthenticationFlowType","initiateAuth","authDetails","USERNAME","clientMetaData","jsonReq","AuthFlow","ClientId","getUserContextData","UserContextData","onFailure","challengeName","ChallengeName","challengeParameters","ChallengeParameters","customChallenge","getCognitoUserSession","AuthenticationResult","onSuccess","authenticateUser","authenticateUserPlainUsernamePassword","authenticateUserDefaultAuth","authenticationHelper","getUserPoolName","dateHelper","deviceKey","DEVICE_KEY","errOnAValue","aValue","SRP_A","CHALLENGE_NAME","USER_ID_FOR_SRP","SRP_B","SALT","getCachedDeviceKeyAndPassword","errOnHkdf","dateNow","concatBuffer","SECRET_BLOCK","signatureString","challengeResponses","PASSWORD_CLAIM_SECRET_BLOCK","TIMESTAMP","PASSWORD_CLAIM_SIGNATURE","_respondToAuthChallenge","challenge","challengeCallback","errChallenge","dataChallenge","clearCachedDeviceKeyAndPassword","jsonReqResp","ChallengeResponses","errAuthenticate","dataAuthenticate","authenticateUserInternal","PASSWORD","authResult","mfaRequired","selectMFAType","mfaSetup","totpRequired","userAttributes","rawRequiredAttributes","requiredAttributes","userAttributesPrefix","newPasswordRequired","getDeviceResponse","newDeviceMetadata","NewDeviceMetadata","DeviceGroupKey","DeviceKey","errGenHash","deviceSecretVerifierConfig","Salt","PasswordVerifier","DeviceSecretVerifierConfig","DeviceName","errConfirm","dataConfirm","cacheDeviceKeyAndPassword","UserConfirmationNecessary","completeNewPasswordChallenge","newPassword","requiredAttributeData","finalUserAttributes","NEW_PASSWORD","_this6","errAValue","errHkdf","confirmRegistration","confirmationCode","forceAliasCreation","ConfirmationCode","ForceAliasCreation","sendCustomChallengeAnswer","answerChallenge","_this7","ANSWER","sendMFACode","mfaType","_this8","SMS_MFA_CODE","mfaTypeSelection","SOFTWARE_TOKEN_MFA_CODE","changePassword","oldUserPassword","newUserPassword","PreviousPassword","ProposedPassword","enableMFA","mfaOptions","DeliveryMedium","AttributeName","MFAOptions","setUserMfaPreference","smsMfaSettings","softwareTokenMfaSettings","SMSMfaSettings","SoftwareTokenMfaSettings","disableMFA","deleteUser","_this9","clearCachedUser","updateAttributes","attributes","_this10","UserAttributes","getUserData","bypassCache","getUserAttributes","userData","attributeList","attribute","userAttribute","getMFAOptions","createGetUserRequest","promisifyRequest","refreshSessionIfPossible","_this11","refresh","_this12","getUserDataFromCache","isFetchUserDataAndTokenRequired","fetchUserData","_ref$bypassCache","_this13","cacheUserData","deleteAttributes","_this14","UserAttributeNames","resendConfirmationCode","getSession","idTokenKey","accessTokenKey","refreshTokenKey","clockDriftKey","cachedSession","_this15","wrappedCallback","wrapRefreshSessionCallback","REFRESH_TOKEN","lastUserKey","deviceKeyKey","requestWithRetry","authenticationResult","clearCachedTokens","randomPasswordKey","deviceGroupKeyKey","forgotPassword","inputVerificationCode","confirmPassword","getAttributeVerificationCode","attributeName","verifyAttribute","Code","getDevice","forgetSpecificDevice","forgetDevice","_this16","setDeviceStatusRemembered","DeviceRememberedStatus","setDeviceStatusNotRemembered","listDevices","limit","paginationToken","requestParams","Limit","PaginationToken","globalSignOut","_this17","signOut","revokeTokenCallback","_this18","_session","revokeTokens","cleanClientData","isSessionRevocable","revokeToken","origin_jti","_ref2","Token","sendMFASelectionAnswer","_this19","associateSoftwareToken","_this20","associateSecretCode","SecretCode","verifySoftwareToken","totpCode","friendlyDeviceName","_this21","UserCode","FriendlyDeviceName","errRespond","dataRespond","UserAgent","addFrameworkToCognitoUserAgent","_wrapNativeSuper","Map","Function","_isNativeFunction","has","Wrapper","_isNativeReflectConstruct","Reflect","construct","Client_setPrototypeOf","_construct","_getPrototypeOf","writable","getPrototypeOf","CognitoError","_Error","Client","fetchOptions","Client_retry","Client_jitteredBackoff","uaCategoryAction","uaFramework","mode","ok","ex","retryIn","CognitoUserPool","UserPoolId","AdvancedSecurityDataCollectionFlag","clientId","advancedSecurityDataCollectionFlag","getUserPoolId","signUp","cognitoUser","returnData","userConfirmed","UserConfirmed","userSub","UserSub","codeDeliveryDetails","CodeDeliveryDetails","getCurrentUser","lastAuthUser","AmazonCognitoAdvancedSecurityData","amazonCognitoAdvancedSecurityDataConst","advancedSecurityData","getData","EncodedData","CookieStorage","js_cookie","numKeys","launchUri","windowProxy","open","OAuth_AMPLIFY_SYMBOL","dispatchAuthEvent","OAuth_logger","OAuth_OAuth","OAuth","cognitoClientId","scopes","_urlOpener","urlOpener","_cognitoClientId","isValidScopes","_scopes","isArray","every","oauthSignIn","responseType","customState","Cognito","generatedState","_generateState","state","char","padStart","sessionStorage","setState","private_key","pkce_key","_generateRandom","code_challenge","_generateChallenge","scopesString","tslib_es6","redirect_uri","response_type","client_id","identity_provider","code_challenge_method","_handleCodeFlow","currentUrl","currentUrlPathname","redirectSignInPathname","oAuthTokenEndpoint","code_verifier","oAuthTokenBody","access_token","refresh_token","qg","query","pairings","accum","pathname","clientID","redirectUri","ouath_pkce_key","grant_type","FederatedSignIn","_handleImplicitFlow","handleAuthResponse","urlParams","error_description","entry","acc","_validateState","oauth_state","savedState","returnedState","oAuthLogoutEndpoint","signout_uri","redirectSignOut","returnTo","logout_uri","oAuth","round","b64","_base64URL","string","replace","size","Uint8Array","CHARSET","_bufferToString","byteLength","urlListener","href","AuthErrorStrings","getOwnPropertyDescriptor","Errors_logger","AuthError","type","authErrorMessages","log","NoUserPoolError","noConfig","DEFAULT_MSG","missingAuthConfig","emptyUsername","EMPTY_USERNAME","invalidUsername","INVALID_USERNAME","emptyPassword","EMPTY_PASSWORD","emptyCode","EMPTY_CODE","signUpError","SIGN_UP_ERROR","noMFA","NO_MFA","invalidMFA","INVALID_MFA","emptyChallengeResponse","EMPTY_CHALLENGE","noUserSession","NO_USER_SESSION","deviceConfig","DEVICE_CONFIG","networkError","NETWORK_ERROR","autoSignInError","AUTOSIGNIN_ERROR","default","Auth_logger","USER_ADMIN_SCOPE","Auth_AMPLIFY_SYMBOL","Auth_dispatchAuthEvent","AuthClass","userPool","oAuthFlowInProgress","autoSignInInitiated","inflightSessionPromise","inflightSessionPromiseCounter","currentCredentials","conf","cookieStorage","_isValidAuthStorage","ssr","userPoolData","cognitoHostedUIConfig","awsCognito","cognitoAuthParams","_oAuthHandler","usedResponseUrls_1","_handleAuthResponse","isTrueStorageValue","AutoSignInError","restOfAttrs","_i","rejectNoUserPool","autoSignIn","enabled","autoSignInValidationData","autoSignInClientMetaData","email","phone_number","rejectAuthError","SignUpError","attrs_1","validationDataObject_1","handleAutoSignIn","EmptyPassword","EmptyUsername","signInAfterUserConfirmed","handleLinkAutoSignIn","handleCodeAutoSignIn","listenEvent","start","autoSignInPollingIntervalId","error_1","createCognitoUser","authCallbacks","confirmSignUp","EmptyCode","item","resendSignUp","signIn","usernameOrSignInOpts","pw","InvalidUsername","signInWithPassword","signInWithoutPassword","challengeParam","pendingSignIn","getPreferredMFA","cleanUpError_1","isSessionInvalid","cleanUpInvalidSession","_getMfaTypeFromUserData","ret","preferredMFA","PreferredMfaSetting","mfaList","UserMFASettingList","_getUserData","cleanUpError_2","setPreferredMFA","mfaMethod","totpMfaSettings","currentMFAType","PreferredMfa","Enabled","InvalidMFA","NoMFA","cleanUpError_3","disableSMS","enableSMS","setupTOTP","secretCode","verifyTotpToken","challengeAnswer","isLoggedIn","confirmSignIn","e_3","e_4","completeNewPassword","e_5","EmptyChallengeResponse","deleteUserAttributes","attributeNames","userSession","e_6","isSignedInHostedUI","cleanUpError_4","cleanCachedItems","oAuthSignOutRedirect","updateUserAttributes","attr","details","attrs","createUpdateAttributesResultList","CodeDeliveryDetailsList","codeDeliveryDetailsList","isUpdated","verifiedContact","attributesToObject","unverified","verified","isErrorWithMessage","isTokenRevokedError","isRefreshTokenRevokedError","isUserDisabledError","isUserDoesNotExistError","isRefreshTokenExpiredError","isPasswordResetRequiredError","isOAuthInProgress","hostedUISignCallback","_userSession","cleanUpError_5","currentAuthenticatedUser","federatedUser","e_8","e_9","NoUserSession","cleanUpError_6","e_10","verifyUserAttribute","success","verifyUserAttributeSubmit","verifyCurrentUserAttribute","verifyCurrentUserAttributeSubmit","cognitoIdentitySignOut","opts","e_11","global","cleanUpError_7","oAuthSignOutRedirectOrReject","oAuthSignOutAndResolve","e_13","oldPassword","forgotPasswordSubmit","currentUserInfo","userAttrs","e_14","err_2","federatedSignIn","providerOrOptions","loggedInUser","hasCustomState","customProvider","hasCodeOrError","hasTokenOrError","isCustomStateIncluded","err_3","history","replaceState","essentialCredentials","isTruthyString","noUserPoolErrorHandler","NoConfig","MissingAuthConfig","rememberDevice","currUser","error_2","DeviceConfig","NetworkError","error_3","fetchDevices","error_4","deviceList","Devices","device","deviceName","DeviceAttributes","base64","ieee754","kMaxLength","Buffer","TYPED_ARRAY_SUPPORT","createBuffer","RangeError","arg","encodingOrOffset","allocUnsafe","ArrayBuffer","array","byteOffset","fromArrayLike","fromArrayBuffer","encoding","isEncoding","actual","write","isBuffer","checked","copy","fromObject","assertSize","isView","loweredCase","utf8ToBytes","base64ToBytes","slowToString","end","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","dir","arrayIndexOf","arr","indexSize","arrLength","valLength","read","readUInt16BE","foundIndex","found","hexWrite","offset","Number","remaining","strLen","parsed","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","units","hi","lo","utf16leToBytes","fromByteArray","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","MAX_ARGUMENTS_LENGTH","decodeCodePointsArray","exports","IS","foo","subarray","typedArraySupport","poolSize","_augment","species","alloc","fill","allocUnsafeSlow","_isBuffer","compare","list","pos","swap16","swap32","swap64","inspect","target","thisStart","thisEnd","thisCopy","targetCopy","_arr","out","toHex","bytes","checkOffset","ext","checkInt","objectWriteUInt16","littleEndian","objectWriteUInt32","checkIEEE754","writeFloat","noAssert","writeDouble","newBuf","sliceLen","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","INVALID_BASE64_RE","Infinity","leadSurrogate","toByteArray","stringtrim","base64clean","src","dst","_Logger__WEBPACK_IMPORTED_MODULE_0__","AmplifyClass","_components","_modules","API","I18n","Cache","PubSub","Interactions","Pushnotification","UI","XR","Predictions","DataStore","Notifications","Logger","ServiceWorker","comp","property","addPluggable","pluggable","LOG_TYPE","LOG_LEVELS","VERBOSE","DEBUG","INFO","WARN","ERROR","level","_pluggables","_padding","_ts","dt","getMinutes","getSeconds","getMilliseconds","_log","msg","logger_level_name","LOG_LEVEL","console","plugin","logEvent","timestamp","pushLogs","verbose","getCategoryName","listPluggables","RawSha256","constants_1","Int32Array","INIT","temp","bufferLength","bytesHashed","finished","position","MAX_HASHABLE_LENGTH","BLOCK_SIZE","hashBuffer","digest","bitsHashed","bufferView","DataView","undecoratedLength","setUint8","setUint32","DIGEST_LENGTH","state0","state1","state2","state3","state4","state5","state6","state7","u","t1_1","t2_1","t1","KEY","t2","__exportStar","tslib_1","RawSha256_1","util_1","secret","outer","inner","convertToBuffer","bufferHash","bufferFromSecret","toHash","isEmptyData","util_utf8_browser_1","fromUtf8","BYTES_PER_ELEMENT","uint32ArrayFrom","numToUint8","convertToBuffer_1","isEmptyData_1","numToUint8_1","uint32ArrayFrom_1","num","a_lookUpTable","return_array","dist_es_fromUtf8","TextEncoder","whatwgEncodingApi_fromUtf8","surrogatePair","dist_es_toUtf8","TextDecoder","whatwgEncodingApi_toUtf8","decoded","byte","nextByte","encoded","byteValue","toUtf8","FS","executeSnippet","_ref$wnd","wnd","_ref$injectedNamespac","injectedNamespace","_ref$injectedScript","injectedScript","win","doc","fsNamespace","tagName","fsScript","script","api","rejector","xhr","valid","makeThenable","resolution","waiters","flush","waiter","makeHandler","which","onFulfilled","onRejected","nextResolve","nextReject","apiVersion","setResolve","_undefined","re","_api","reason","doReject","createElement","async","crossOrigin","onerror","firstScript","getElementsByTagName","parentNode","insertBefore","head","appendChild","noop","callAPI","option","setProperties","props","properties","setUserProperties","identify","uid","customVars","setUserVars","identifyAccount","clearUserCookie","setVars","eventName","eventProps","anonymize","shutdown","restart","consent","userConsents","_w","_v","_ref3","_ref3$shouldInsertScr","shouldInsertScript","_ref3$globalVar","globalVar","_ref3$globalNamespace","globalNamespace","_ref3$apiVersion","getDocumentVar","toV1String","getFullStory","_fs_namespace","ensureSnippetLoaded","fs","init","inputOptions","readyCallback","_fs_initialized","recordCrossDomainIFrames","_fs_run_in_iframe","appHost","_fs_app_host","assetMapId","_fs_asset_map_id","startCaptureManually","_fs_capture_on_startup","recordOnlyThisIFrame","_fs_is_outer_script","cookieDomain","_fs_cookie_domain","orgId","namespace","host","initFS","sessionUid","devMode","_fs_dev_mode","_init","guard","testNames","current","hasFullStoryWithFunction","FullStory","disableConsole","enableConsole","getCurrentSessionURL","QueryStatus","QueryStatus2","il","__defProp","__defProps","defineProperties","__getOwnPropDescs","getOwnPropertyDescriptors","__getOwnPropSymbols","getOwnPropertySymbols","__hasOwnProp","__propIsEnum","propertyIsEnumerable","__defNormalProp","__spreadValues","prop","_j","_k","__spreadProps","__objRest","exclude","__async","__this","__arguments","flatten","isPlainObject","_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__","Qd","copyWithStructuralSharing","oldObj","newObj","newKeys","oldKeys","isSameObject","mergeObj","newKeys_1","defaultFetchFn","defaultValidateStatus","defaultIsJsonContentType","stripUndefined","_l","fetchBaseQuery","baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","_m","jsonContentType","jsonReplacer","defaultTimeout","globalResponseHandler","responseHandler","globalValidateStatus","validateStatus","baseFetchOptions","getState","extra","forced","meta","_a2","_o","rest","_p","isJsonifiable","divider","requestClone","timedOut","responseClone","resultData","responseText","handleResponseError_1","_q","Headers","URLSearchParams","base","isAbsoluteUrl","delimiter","endsWith","withoutTrailingSlash","withoutLeadingSlash","joinUrls","Request","abort","clone","all","handleResponse","originalStatus","DefinitionType","DefinitionType2","HandledError","onFocus","VP","onFocusLost","onOnline","onOffline","isQueryDefinition","calculateProvidedBy","description","queryArg","assertTagTypes","expandTagDescription","isNotNullish","forceQueryFnSymbol","isUpsertQuery","defaultTransformResponse","baseQueryReturnValue","calculateProvidedByThunk","endpointDefinitions","assertTagType","endpointName","sf","WA","originalArgs","baseQueryMeta","updateQuerySubstateIfExists","queryCacheKey","substate","getMutationCacheKey","fixedCacheKey","updateMutationSubstateIfExists","initialState","buildSlice","reducerPath","queryThunk","mutationThunk","definitions","apiUid","extractRehydrationInfo","hasRehydrationInfo","resetApiState","querySlice","Z0","reducers","removeQueryResult","reducer","draft","prepare","aA","queryResultPatched","patches","_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_1__","$i","extraReducers","builder","addCase","pending","upserting","subscribe","uninitialized","startedTimeStamp","merge","fulfilledTimeStamp_1","fulfilledTimeStamp","arg_1","baseQueryMeta_1","requestId_1","newData","Ay","draftSubstateData","structuralSharing","Qx","c2","condition","addMatcher","queries","mutationSlice","removeMutationResult","cacheKey","track","mutations","invalidationSlice","updateProvidedBy","providedTags","values","tagTypeSubscriptions","idSubscriptions","foundAt","providedTags_1","subscribedQueries","actions","provided","incomingTags","cacheKeys","cacheKeys_1","i0","caseReducers","subscriptionSlice","updateSubscriptionOptions","unsubscribeQueryResult","internal_probeSubscription","internalSubscriptionsSlice","subscriptionsUpdated","configSlice","online","onLine","focused","visibilityState","middlewareRegistered","combinedReducer","_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_3__","combineReducers","subscriptions","unsubscribeMutationResult","skipToken","initialSubState","defaultQuerySubState","defaultMutationSubState","cache","WeakMap","defaultSerializeQueryArgs","queryArgs","serialized","stringified","sort","key2","buildCreateApi","modules","reselect__WEBPACK_IMPORTED_MODULE_4__","optionsWithDefaults","keepUnusedDataFor","refetchOnMountOrArgChange","refetchOnFocus","refetchOnReconnect","serializeQueryArgs","queryArgsApi","finalSerializeQueryArgs","endpointDefinition","endpointSQA_1","queryArgsApi2","initialResult","tagTypes","batch","fn","Ak","injectEndpoints","inject","evaluatedEndpoints","endpoints","mutation","definition","overrideExisting","initializedModules_1","initializedModules","injectEndpoint","enhanceEndpoints","addTagTypes","addTagTypes_1","eT","partialDefinition","buildCacheCollectionHandler","internalState","internalActions","anySubscriptionsRemainingForKey","currentSubscriptions","isObjectEmpty","currentRemovalTimeouts","handleUnsubscribe","api2","finalKeepUnusedDataFor","currentTimeout","mwApi","internalState2","util","queryState","buildInvalidationByTagsHandler","refetchQuery","isThunkActionWithTags","invalidateTags","tags","rootState","toInvalidate","selectInvalidatedBy","valuesArray_1","querySubState","subscriptionSubState","buildPollingHandler","currentPolls","startNextPoll","lowestPollingInterval","findLowestPollingInterval","currentPoll","nextPollTimestamp","currentInterval","updatePollingInterval","cleanupPollForKey","existingPoll","subscribers","POSITIVE_INFINITY","clearPolls","neverResolvedError","buildCacheLifecycleHandler","isQueryThunk","$S","isMutationThunk","isFulfilledThunk","lifecycleMap","handleNewKey","onCacheEntryAdded","lifecycle","cacheEntryRemoved","cacheDataLoaded","race","valueResolved","selector","select","extra2","lifecycleApi","getCacheEntry","updateCachedData","updateRecipe","updateQueryData","runningHandler","stateBefore","getCacheKey","oldState","cacheKey2","buildQueryLifecycleHandler","isPendingThunk","mm","isRejectedThunk","TK","isFullfilledThunk","endpointName_1","originalArgs_1","onQueryStarted","lifecycle_1","queryFulfilled","selector_1","rejectedWithValue","isUnhandledError","buildDevCheckHandler","queueMicrotaskShim","queueMicrotask","globalThis","buildMiddleware","handlerBuilders","initialized2","builderArgs","handlers","batchedActionsHandler","subscriptionsPrefix","previousSubscriptions","dispatchQueued","didMutate","mutableState","_g","_h","subscriptionOptions","actuallyMutateSubscriptions","newSubscriptions","vI","isSubscriptionSliceAction","isAdditionalSubscriptionAction","buildBatchedActionsHandler","windowEventsHandler","refetchValidQueries","buildWindowEventHandler","mwApiWithNext","actionShouldContinue","hasSubscription","isThisApiSliceAction","handlers_1","handler","override","forceRefetch","safeAssign","coreModuleName","coreModule","baseQuery","YT","tag","executeEndpoint","_0","_1","transformResponse","baseQueryApi_1","forceQueryFn","catchedError","transformErrorResponse","rejectWithValue","fulfillWithValue","_r","isForcedQuery","extraOptions","queryFn","arg2","cN","requestState","baseFetchOnMountOrArgChange","fulfilledVal","refetchVal","zD","getPendingMeta","queryThunkArgs","currentArg","previousArg","endpointState","dispatchConditionRejection","matchesEndpoint","prefetch","force","hasTheForce","hasMaxAge","ifOlderThan","queryAction","force2","initiate","latestStateValue","lastFulfilledTs","updateProvided","newValue","currentState","inversePatches","undo","patchQueryData","a6","upsertQueryData","providesTags","buildMatchThunkActions","thunk","matchPending","f$","matchFulfilled","matchRejected","buildThunks","sliceActions","middlewareActions","selectSkippedQuery","selectSkippedMutation","buildQuerySelector","serializedArgs","finalSelectQuerySubState","selectInternalState","_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_2__","Mz","withRequestFlags","buildMutationSelector","mutationId","finalSelectMutationSubstate","apiState","invalidateSubscriptions_1","invalidate","isUninitialized","isLoading","isSuccess","isError","getRequestStatusFlags","buildSelectors","runningQueries","runningMutations","buildInitiateQuery","thunkResult","stateAfter","skippedSynchronously","runningQuery","selectFromState","statePromise","unwrap","refetch","unsubscribe","running_1","delete","buildInitiateMutation","returnValuePromise","reset","running","getRunningQueryThunk","getRunningMutationThunk","_endpointName","fixedCacheKeyOrRequestId","getRunningQueriesThunk","getRunningMutationsThunk","getRunningOperationPromises","extract","flatMap","queriesForStore","removalWarning","buildInitiate","getRunningOperationPromise","anyApi","composeWithDevTools","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","redux__WEBPACK_IMPORTED_MODULE_1__","compose","proto","baseProto","__REDUX_DEVTOOLS_EXTENSION__","createAction","prepareAction","actionCreator","prepared","MiddlewareArray","prepend","EnhancerArray","freezeDraftable","immer__WEBPACK_IMPORTED_MODULE_0__","isPlain","configureStore","rootReducer","curriedGetDefaultMiddleware","middlewareArray","immutableCheck","serializableCheck","actionCreatorCheck","redux_thunk__WEBPACK_IMPORTED_MODULE_2__","withExtraArgument","extraArgument","getDefaultMiddleware","devTools","preloadedState","enhancers","finalMiddleware","middlewareEnhancer","applyMiddleware","finalCompose","trace","defaultEnhancers","storeEnhancers","composedEnhancer","createStore","executeReducerBuilderCallback","builderCallback","defaultCaseReducer","actionsMap","actionMatchers","typeOrActionCreator","matcher","addDefaultCase","createSlice","_reducer","reducerNames","sliceCaseReducersByName","sliceCaseReducersByType","actionCreators","buildReducer","finalCaseReducers","mapOrBuilderCallback","getInitialState","finalActionMatchers","finalDefaultCaseReducer","frozenInitialState_1","cr","previousState","caseReducer","createReducer","actionMatchers_1","reducerName","prepareCallback","maybeReducerWithPrepare","nanoid","commonProperties","RejectWithValue","FulfillWithMeta","miniSerializeError","simpleError","commonProperties_1","createAsyncThunk","createAsyncThunk2","typePrefix","payloadCreator","requestStatus","serializeError","AC","AbortController","class_1","dispatchEvent","onabort","throwIfAborted","abortReason","idGenerator","abortController","promise2","finalAction","conditionResult","abortedPromise","unwrapResult","withTypes","matches","isAnyOf","matchers","isAllOf","hasExpectedRequestMetadata","validStatus","hasValidRequestId","hasValidRequestStatus","isAsyncThunkArray","asyncThunks","asyncThunk","combinedMatcher","isRejectedWithValue","hasFlag","isFulfilled","isAsyncThunkAction","asyncThunks_1","alm","SHOULD_AUTOBATCH","prepareAutoBatched","createQueueWithTimer","notify","requestAnimationFrame","rF","rawAsap","freeTasks","pendingErrors","requestErrorThrow","makeRequestCallFromTimer","shift","asap","task","rawTask","RawTask","module","queue","requestFlush","currentIndex","scan","newLength","toggle","observer","self","BrowserMutationObserver","MutationObserver","WebKitMutationObserver","timeoutHandle","handleTimer","intervalHandle","createTextNode","observe","characterData","Thrift","require","sales_item_Model_ttypes","location_Exceptions_ttypes","accounts_Exceptions_ttypes","core_api_Exceptions_ttypes","AdminSalesItemService_adminRemoveSalesItemsForLocation_args","adminRemoveSalesItemsForLocationRequest","TProtocolException","TProtocolExceptionType","UNKNOWN","AdminRemoveSalesItemsForLocationRequest","readStructBegin","readFieldBegin","ftype","fid","Type","STOP","STRUCT","skip","readFieldEnd","readStructEnd","writeStructBegin","writeFieldBegin","writeFieldEnd","writeFieldStop","writeStructEnd","AdminSalesItemService_adminRemoveSalesItemsForLocation_result","rateLimitExceededException","serviceTemporarilyUnavailableException","unknownSessionIdentifierException","accountDoesNotHavePermissionException","unknownLocationIdentifierException","RateLimitExceededException","ServiceTemporarilyUnavailableException","UnknownSessionIdentifierException","AccountDoesNotHavePermissionException","UnknownLocationIdentifierException","AdminRemoveSalesItemsResponse","pClass","_seqid","_reqs","seqid","new_seqid","adminRemoveSalesItemsForLocation","send_adminRemoveSalesItemsForLocation","writeMessageBegin","MessageType","CALL","writeMessageEnd","recv_adminRemoveSalesItemsForLocation","mtype","rseqid","EXCEPTION","TApplicationException","readMessageEnd","inventory_transfer_report_Model_ttypes","inventory_transfer_report_Exceptions_ttypes","product_Exceptions_ttypes","product_amount_Exceptions_ttypes","location_Model_ttypes","core_time_Model_ttypes","accounts_user_Model_ttypes","BreakageReportService_createBreakageReport_args","actor","reportData","UserSessionIdentifier","BreakageReportInfo","BreakageReportService_createBreakageReport_result","unknownActorException","actorDoesNotHaveAccessToLocationException","unknownProductIdException","unitIncompatibleWithProductPackagingException","quantityMustBeNonnegativeException","atMostOneQuantityIsAllowedForProductAndUnitException","productNotAssociatedWithLocationException","UnknownActorException","ActorDoesNotHaveAccessToLocationException","UnknownProductIdException","UnitIncompatibleWithProductPackagingException","QuantityMustBeNonnegativeException","AtMostOneQuantityIsAllowedForProductAndUnitException","ProductNotAssociatedWithLocationException","BreakageReportIdentifier","BreakageReportService_updateBreakageReport_args","reportIdentifier","BreakageReportUpdate","BreakageReportService_updateBreakageReport_result","unknownReportIdentifierException","actorDoesNotHaveAccessToReportException","quantityOfProductAndUnitDoesNotExistException","UnknownReportIdentifierException","ActorDoesNotHaveAccessToReportException","QuantityOfProductAndUnitDoesNotExistException","BreakageReportService_updateType_args","STRING","readString","writeString","BreakageReportService_updateType_result","BreakageReportService_getBreakageTypesForLocation_args","locationIdentifier","LocationIdentifier","BreakageReportService_getBreakageTypesForLocation_result","LocationIdentifierIsRequiredException","copyList","LIST","_size30","readListBegin","_i32","elem33","readListEnd","writeListBegin","iter34","writeListEnd","BreakageReportService_getBreakageReportsByIds_args","reportIdentifiers","_size35","_i37","elem38","iter39","BreakageReportService_getBreakageReportsByIds_result","BreakageReportAndMetadata","_size40","_i42","elem43","iter44","BreakageReportService_getReportsForLocationInPeriod_args","periodStartInclusive","periodEndExclusive","TimestampWithMillisecondPrecision","BreakageReportService_getReportsForLocationInPeriod_result","periodStartIsLaterThanEndException","PeriodStartIsLaterThanEndException","_size45","_i47","elem48","iter49","BreakageReportService_deleteReport_args","BreakageReportService_deleteReport_result","createBreakageReport","send_createBreakageReport","recv_createBreakageReport","updateBreakageReport","send_updateBreakageReport","recv_updateBreakageReport","updateType","send_updateType","recv_updateType","getBreakageTypesForLocation","send_getBreakageTypesForLocation","recv_getBreakageTypesForLocation","getBreakageReportsByIds","send_getBreakageReportsByIds","recv_getBreakageReportsByIds","getReportsForLocationInPeriod","send_getReportsForLocationInPeriod","recv_getReportsForLocationInPeriod","deleteReport","send_deleteReport","recv_deleteReport","distributor_Exceptions_ttypes","distributor_Model_ttypes","distributor_dependency_Model_ttypes","DistributorService_createDistributor_args","sessionId","distributor","Distributor","DistributorService_createDistributor_result","unknownScopeException","distributorNameCollisionException","UnknownScopeException","DistributorNameCollisionException","DistributorId","DistributorService_setDistributorRegion_args","distributorId","regionId","DistributorRegionId","DistributorService_setDistributorRegion_result","unknownDistributorIdException","unknownDistributorRegionIdException","UnknownDistributorIdException","UnknownDistributorRegionIdException","DistributorService_updateDistributorName_args","shortName","DistributorService_updateDistributorName_result","DistributorService_updateDistributorOwner_args","newOwner","Scope","DistributorService_updateDistributorOwner_result","DistributorService_replaceDistributor_args","replaceDistributorRequest","ReplaceDistributorRequest","DistributorService_replaceDistributor_result","DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_args","distributorIds","_size0","_i2","elem3","iter4","DistributorService_retrieveDistributorIdsAndDistributorsForIdSet_result","duplicateDistributorIdException","DuplicateDistributorIdException","DistributorIdAndDistributor","_size5","_i7","elem8","iter9","DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_args","DistributorService_retrieveDistributorIdsAndDistributorsAvailableToRetailer_result","_size10","_i12","elem13","iter14","DistributorService_retrieveDistributorDependencies_args","locationId","DistributorService_retrieveDistributorDependencies_result","DistributorDependentObjectSet","DistributorService_retrieveAllDistributorIdsAndDistributors_args","DistributorService_retrieveAllDistributorIdsAndDistributors_result","_size15","_i17","elem18","iter19","DistributorService_retrieveAllDistributorIdsAndRegions_args","DistributorService_retrieveAllDistributorIdsAndRegions_result","DistributorIdAndRegionId","_size20","_i22","elem23","iter24","DistributorService_retrieveAllDistributorRegionIds_args","DistributorService_retrieveAllDistributorRegionIds_result","_size25","_i27","elem28","iter29","createDistributor","send_createDistributor","recv_createDistributor","setDistributorRegion","send_setDistributorRegion","recv_setDistributorRegion","updateDistributorName","send_updateDistributorName","recv_updateDistributorName","updateDistributorOwner","send_updateDistributorOwner","recv_updateDistributorOwner","replaceDistributor","send_replaceDistributor","recv_replaceDistributor","retrieveDistributorIdsAndDistributorsForIdSet","send_retrieveDistributorIdsAndDistributorsForIdSet","recv_retrieveDistributorIdsAndDistributorsForIdSet","retrieveDistributorIdsAndDistributorsAvailableToRetailer","send_retrieveDistributorIdsAndDistributorsAvailableToRetailer","recv_retrieveDistributorIdsAndDistributorsAvailableToRetailer","retrieveDistributorDependencies","send_retrieveDistributorDependencies","recv_retrieveDistributorDependencies","retrieveAllDistributorIdsAndDistributors","send_retrieveAllDistributorIdsAndDistributors","recv_retrieveAllDistributorIdsAndDistributors","retrieveAllDistributorIdsAndRegions","send_retrieveAllDistributorIdsAndRegions","recv_retrieveAllDistributorIdsAndRegions","retrieveAllDistributorRegionIds","send_retrieveAllDistributorRegionIds","recv_retrieveAllDistributorRegionIds","drink_price_tool_Exceptions_ttypes","drink_price_tool_Model_ttypes","unauthenticated_user_session_Model_ttypes","unauthenticated_user_session_Exceptions_ttypes","DrinkPriceToolService_recordPageViewAction_args","unauthenticatedUserSessionId","UnauthenticatedUserSessionId","DrinkPriceToolService_recordPageViewAction_result","unknownUnauthenticatedUserSessionIdException","UnknownUnauthenticatedUserSessionIdException","DrinkPriceToolService_recordShareAction_args","shareMedium","I32","readI32","writeI32","DrinkPriceToolService_recordShareAction_result","DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_args","DrinkPriceToolService_getDrinkIdsForUnauthenticatedUserSession_result","DrinkId","SET","readSetBegin","readSetEnd","writeSetBegin","writeSetEnd","DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_args","drinkIds","DrinkPriceToolService_getDrinksByDrinkIdsForUnauthenticatedUserSession_result","unknownDrinkIdException","emptyArgumentException","UnknownDrinkIdException","EmptyArgumentException","Drink","DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_args","drinks","DrinkPriceToolService_createDrinksForUnauthenticatedUserSession_result","DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_args","_size29","_i31","elem32","iter33","DrinkPriceToolService_editDrinksByDrinkIdForUnauthenticatedUserSession_result","argumentArraysOfUnevenLengthException","ArgumentArraysOfUnevenLengthException","DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_args","DrinkPriceToolService_deleteDrinksByDrinkIdForUnauthenticatedUserSession_result","DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_args","authenticatedUserSessionId","DrinkPriceToolService_getDrinkIdsForAuthenticatedUserSession_result","DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_args","DrinkPriceToolService_getDrinksByDrinkIdsForAuthenticatedUserSession_result","_size50","_i52","elem53","iter54","DrinkPriceToolService_createDrinksForAuthenticatedUserSession_args","_size55","_i57","elem58","iter59","DrinkPriceToolService_createDrinksForAuthenticatedUserSession_result","_size60","_i62","elem63","iter64","DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_args","_size65","_i67","elem68","_size69","_i71","elem72","iter73","iter74","DrinkPriceToolService_editDrinksByDrinkIdForAuthenticatedUserSession_result","DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_args","_size75","_i77","elem78","iter79","DrinkPriceToolService_deleteDrinksByDrinkIdForAuthenticatedUserSession_result","DrinkPriceToolService_getDrinkIdsToImport_args","DrinkPriceToolService_getDrinkIdsToImport_result","DrinkIdAndDrink","_size80","_i82","elem83","iter84","DrinkPriceToolService_importDrinkIds_args","_size85","_i87","elem88","iter89","DrinkPriceToolService_importDrinkIds_result","recordPageViewAction","send_recordPageViewAction","recv_recordPageViewAction","recordShareAction","send_recordShareAction","recv_recordShareAction","getDrinkIdsForUnauthenticatedUserSession","send_getDrinkIdsForUnauthenticatedUserSession","recv_getDrinkIdsForUnauthenticatedUserSession","getDrinksByDrinkIdsForUnauthenticatedUserSession","send_getDrinksByDrinkIdsForUnauthenticatedUserSession","recv_getDrinksByDrinkIdsForUnauthenticatedUserSession","createDrinksForUnauthenticatedUserSession","send_createDrinksForUnauthenticatedUserSession","recv_createDrinksForUnauthenticatedUserSession","editDrinksByDrinkIdForUnauthenticatedUserSession","send_editDrinksByDrinkIdForUnauthenticatedUserSession","recv_editDrinksByDrinkIdForUnauthenticatedUserSession","deleteDrinksByDrinkIdForUnauthenticatedUserSession","send_deleteDrinksByDrinkIdForUnauthenticatedUserSession","recv_deleteDrinksByDrinkIdForUnauthenticatedUserSession","getDrinkIdsForAuthenticatedUserSession","send_getDrinkIdsForAuthenticatedUserSession","recv_getDrinkIdsForAuthenticatedUserSession","getDrinksByDrinkIdsForAuthenticatedUserSession","send_getDrinksByDrinkIdsForAuthenticatedUserSession","recv_getDrinksByDrinkIdsForAuthenticatedUserSession","createDrinksForAuthenticatedUserSession","send_createDrinksForAuthenticatedUserSession","recv_createDrinksForAuthenticatedUserSession","editDrinksByDrinkIdForAuthenticatedUserSession","send_editDrinksByDrinkIdForAuthenticatedUserSession","recv_editDrinksByDrinkIdForAuthenticatedUserSession","deleteDrinksByDrinkIdForAuthenticatedUserSession","send_deleteDrinksByDrinkIdForAuthenticatedUserSession","recv_deleteDrinksByDrinkIdForAuthenticatedUserSession","getDrinkIdsToImport","send_getDrinkIdsToImport","recv_getDrinkIdsToImport","importDrinkIds","send_importDrinkIds","recv_importDrinkIds","integration_Model_ttypes","integration_Exception_ttypes","IntegrationService_getIntegrationState_args","integrationType","IntegrationService_getIntegrationState_result","unsupportedPosIntegrationTypeException","UnsupportedPosIntegrationTypeException","IntegrationState","IntegrationService_removeIntegration_args","IntegrationService_removeIntegration_result","IntegrationService_removeIntegrationForMultiConnectionType_args","merchantId","IntegrationService_removeIntegrationForMultiConnectionType_result","IntegrationService_importSalesEntriesViaIntegration_args","startTime","endTime","includePosMenuData","requireRealtimePosData","BOOL","readBool","writeBool","IntegrationService_importSalesEntriesViaIntegration_result","locationDoesNotHaveIntegrationException","posHistoryLimitExceededException","LocationDoesNotHaveIntegrationException","PosHistoryLimitExceededException","SalesImportResult","IntegrationService_addIntegrationThroughOAuthFlow_args","addIntegrationThroughOAuthFlowRequest","AddIntegrationThroughOAuthFlowRequest","IntegrationService_addIntegrationThroughOAuthFlow_result","locationAlreadyHasIntegrationException","failedToExchangeOAuthToken","LocationAlreadyHasIntegrationException","FailedToExchangeOAuthToken","IntegrationService_refreshPosCacheSince_args","time","IntegrationService_refreshPosCacheSince_result","integrationNotAccessibleException","IntegrationNotAccessibleException","IntegrationService_adminListAllIntegrations_args","IntegrationService_adminListAllIntegrations_result","ListIntegrationResult","IntegrationService_authorizeAndListAccessiblePosLocations_args","posIntegrationType","authorizationCode","IntegrationService_authorizeAndListAccessiblePosLocations_result","PosLocation","IntegrationService_associateAuthorizedLocationWithMerchant_args","IntegrationService_associateAuthorizedLocationWithMerchant_result","IntegrationService_getOmnivoreIntegrationState_args","IntegrationService_getOmnivoreIntegrationState_result","OmnivoreIntegrationState","IntegrationService_addOmnivoreIntegration_args","omnivoreLocationId","posType","IntegrationService_addOmnivoreIntegration_result","IntegrationService_addSpotOnIntegration_args","spotOnLocationId","IntegrationService_addSpotOnIntegration_result","IntegrationService_addHeartlandIntegration_args","heartlandApiKey","IntegrationService_addHeartlandIntegration_result","IntegrationService_addCloverIntegration_args","cloverMerchantId","IntegrationService_addCloverIntegration_result","invalidAuthorizationCodeException","InvalidAuthorizationCodeException","IntegrationService_retrieveAccessToken_args","IntegrationService_retrieveAccessToken_result","IntegrationService_retrieveAccessTokenForMultiConnectionType_args","IntegrationService_retrieveAccessTokenForMultiConnectionType_result","IntegrationService_triggerMenuSyncJob_args","IntegrationService_triggerMenuSyncJob_result","unknownCredentialsException","UnknownCredentialsException","getIntegrationState","send_getIntegrationState","recv_getIntegrationState","removeIntegration","send_removeIntegration","recv_removeIntegration","removeIntegrationForMultiConnectionType","send_removeIntegrationForMultiConnectionType","recv_removeIntegrationForMultiConnectionType","importSalesEntriesViaIntegration","send_importSalesEntriesViaIntegration","recv_importSalesEntriesViaIntegration","addIntegrationThroughOAuthFlow","send_addIntegrationThroughOAuthFlow","recv_addIntegrationThroughOAuthFlow","refreshPosCacheSince","send_refreshPosCacheSince","recv_refreshPosCacheSince","adminListAllIntegrations","send_adminListAllIntegrations","recv_adminListAllIntegrations","authorizeAndListAccessiblePosLocations","send_authorizeAndListAccessiblePosLocations","recv_authorizeAndListAccessiblePosLocations","associateAuthorizedLocationWithMerchant","send_associateAuthorizedLocationWithMerchant","recv_associateAuthorizedLocationWithMerchant","getOmnivoreIntegrationState","send_getOmnivoreIntegrationState","recv_getOmnivoreIntegrationState","addOmnivoreIntegration","send_addOmnivoreIntegration","recv_addOmnivoreIntegration","addSpotOnIntegration","send_addSpotOnIntegration","recv_addSpotOnIntegration","addHeartlandIntegration","send_addHeartlandIntegration","recv_addHeartlandIntegration","addCloverIntegration","send_addCloverIntegration","recv_addCloverIntegration","retrieveAccessToken","send_retrieveAccessToken","recv_retrieveAccessToken","retrieveAccessTokenForMultiConnectionType","send_retrieveAccessTokenForMultiConnectionType","recv_retrieveAccessTokenForMultiConnectionType","triggerMenuSyncJob","send_triggerMenuSyncJob","recv_triggerMenuSyncJob","product_mapping_Model_ttypes","product_mapping_Exceptions_ttypes","InterLocationProductMappingService_setProductQuantityUnitMappings_args","mappings","InterLocationProductQuantityUnitMapping","InterLocationProductMappingService_setProductQuantityUnitMappings_result","sourceLocationCannotEqualTargetLocationException","sourceAndTargetProductsHaveDifferentPackagingsException","SourceLocationCannotEqualTargetLocationException","SourceAndTargetProductsHaveDifferentPackagingsException","InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_args","sourceLocation","targetLocation","InterLocationProductMappingService_getProductQuantityUnitMappingsBetweenLocations_result","ProductQuantityUnitMappingUpdateEvent","InterLocationProductMappingService_deleteProductQuantityUnitMapping_args","mapping","InterLocationProductMappingService_deleteProductQuantityUnitMapping_result","mappingIsInvolvedInTransferException","MappingIsInvolvedInTransferException","InterLocationProductMappingService_getMappingCountsByPartnerLocation_args","InterLocationProductMappingService_getMappingCountsByPartnerLocation_result","PartnerLocationMappingCount","InterLocationProductMappingService_setMappings_args","InterLocationProductMapping","InterLocationProductMappingService_setMappings_result","sourceProductIsMappedToMultipleTargetsAtSameLocationException","SourceProductIsMappedToMultipleTargetsAtSameLocationException","InterLocationProductMappingService_getMappingsBetweenLocations_args","InterLocationProductMappingService_getMappingsBetweenLocations_result","MappingUpdateEvent","InterLocationProductMappingService_deleteMapping_args","InterLocationProductMappingService_deleteMapping_result","setProductQuantityUnitMappings","send_setProductQuantityUnitMappings","recv_setProductQuantityUnitMappings","getProductQuantityUnitMappingsBetweenLocations","send_getProductQuantityUnitMappingsBetweenLocations","recv_getProductQuantityUnitMappingsBetweenLocations","deleteProductQuantityUnitMapping","send_deleteProductQuantityUnitMapping","recv_deleteProductQuantityUnitMapping","getMappingCountsByPartnerLocation","send_getMappingCountsByPartnerLocation","recv_getMappingCountsByPartnerLocation","setMappings","send_setMappings","recv_setMappings","getMappingsBetweenLocations","send_getMappingsBetweenLocations","recv_getMappingsBetweenLocations","deleteMapping","send_deleteMapping","recv_deleteMapping","inventory_Model_ttypes","inventory_Exceptions_ttypes","product_Model_ttypes","InventoryCountService_getInventoryCountsById_args","inventoryCountIdSet","InventoryCountId","InventoryCountService_getInventoryCountsById_result","unknownInventoryCountIdException","UnknownInventoryCountIdException","InventoryCountIdAndInventoryCount","InventoryCountService_getInventoryCountMetadatasById_args","InventoryCountService_getInventoryCountMetadatasById_result","InventoryCountIdAndMetadata","InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_args","InventoryCountService_getCurrentInventoryCountIdAndMetadataForLocation_result","noSuchInventoryCountException","NoSuchInventoryCountException","InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_args","InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod_result","InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_args","InventoryCountService_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod_result","InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_args","startIndexInclusive","maxResultSize","I64","readI64","writeI64","InventoryCountService_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate_result","InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_args","endTimeExclusive","InventoryCountService_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime_result","InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_args","startTimeInclusive","InventoryCountService_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime_result","InventoryCountService_createAndAddStorageAreaAtInventoryCount_args","storageAreaName","storageAreaNote","inventoryCountId","clientTimestamp","InventoryCountService_createAndAddStorageAreaAtInventoryCount_result","inventoryCountIsDeletedException","InventoryCountIsDeletedException","StorageAreaId","InventoryCountService_removeStorageAreaAtInventoryCount_args","storageAreaId","InventoryCountService_removeStorageAreaAtInventoryCount_result","unknownStorageAreaIdExceptions","UnknownStorageAreaIdException","InventoryCountService_addProductToStorageAreaAtInventoryCount_args","productId","ProductId","InventoryCountService_addProductToStorageAreaAtInventoryCount_result","InventoryCountService_removeProductFromStorageAreaAtInventoryCount_args","InventoryCountService_removeProductFromStorageAreaAtInventoryCount_result","InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_args","InventoryCountService_removeProductFromAllStorageAreasAtInventoryCount_result","InventoryCountService_setProductCountAtStorageArea_args","productCount","ProductCount","InventoryCountService_setProductCountAtStorageArea_result","InventoryCountService_createInventoryCount_args","inventoryCountTime","inventoryCountType","note","InventoryCountService_createInventoryCount_result","currentInventoryCountAlreadyExistsForLocationException","CurrentInventoryCountAlreadyExistsForLocationException","InventoryCountService_createMergedInventoryCount_args","inventoryCountId0","inventoryCountId1","InventoryCountService_createMergedInventoryCount_result","InventoryCountService_finalizeInventoryCount_args","InventoryCountService_finalizeInventoryCount_result","inventoryCountIsFinalizedException","InventoryCountIsFinalizedException","InventoryCountService_deleteInventoryCount_args","InventoryCountService_deleteInventoryCount_result","InventoryCountService_setInventoryCountMetadata_args","InventoryCountService_setInventoryCountMetadata_result","getInventoryCountsById","send_getInventoryCountsById","recv_getInventoryCountsById","getInventoryCountMetadatasById","send_getInventoryCountMetadatasById","recv_getInventoryCountMetadatasById","getCurrentInventoryCountIdAndMetadataForLocation","send_getCurrentInventoryCountIdAndMetadataForLocation","recv_getCurrentInventoryCountIdAndMetadataForLocation","getFinalizedInventoryCountMetadatasByIdForLocationInPeriod","send_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod","recv_getFinalizedInventoryCountMetadatasByIdForLocationInPeriod","getInventoryCountMetadatasByIdForLocationFinalizedInPeriod","send_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod","recv_getInventoryCountMetadatasByIdForLocationFinalizedInPeriod","getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate","send_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate","recv_getFinalizedInventoryCountMetadatasByIdForLocationByIndexSortedByDate","getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime","send_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime","recv_getMostRecentFinalizedInventoryIdAndMetadataForLocationBeforeTime","getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime","send_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime","recv_getOldestFinalizedInventoryIdAndMetadataForLocationAtOrAfterTime","createAndAddStorageAreaAtInventoryCount","send_createAndAddStorageAreaAtInventoryCount","recv_createAndAddStorageAreaAtInventoryCount","removeStorageAreaAtInventoryCount","send_removeStorageAreaAtInventoryCount","recv_removeStorageAreaAtInventoryCount","addProductToStorageAreaAtInventoryCount","send_addProductToStorageAreaAtInventoryCount","recv_addProductToStorageAreaAtInventoryCount","removeProductFromStorageAreaAtInventoryCount","send_removeProductFromStorageAreaAtInventoryCount","recv_removeProductFromStorageAreaAtInventoryCount","removeProductFromAllStorageAreasAtInventoryCount","send_removeProductFromAllStorageAreasAtInventoryCount","recv_removeProductFromAllStorageAreasAtInventoryCount","setProductCountAtStorageArea","send_setProductCountAtStorageArea","recv_setProductCountAtStorageArea","createInventoryCount","send_createInventoryCount","recv_createInventoryCount","createMergedInventoryCount","send_createMergedInventoryCount","recv_createMergedInventoryCount","finalizeInventoryCount","send_finalizeInventoryCount","recv_finalizeInventoryCount","deleteInventoryCount","send_deleteInventoryCount","recv_deleteInventoryCount","setInventoryCountMetadata","send_setInventoryCountMetadata","recv_setInventoryCountMetadata","InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_args","InventoryCurrentConfigurationService_getCurrentInventoryConfigurationForLocation_result","InventoryConfiguration","InventoryCurrentConfigurationService_updateStorageArea_args","InventoryCurrentConfigurationService_updateStorageArea_result","unknownStorageAreaIdException","InventoryCurrentConfigurationService_createAndAddStorageArea_args","InventoryCurrentConfigurationService_createAndAddStorageArea_result","InventoryCurrentConfigurationService_removeStorageArea_args","InventoryCurrentConfigurationService_removeStorageArea_result","InventoryCurrentConfigurationService_addProductToStorageArea_args","InventoryCurrentConfigurationService_addProductToStorageArea_result","InventoryCurrentConfigurationService_removeProductFromStorageArea_args","InventoryCurrentConfigurationService_removeProductFromStorageArea_result","InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_args","productIds","InventoryCurrentConfigurationService_removeProductsFromAllStorageAreas_result","InventoryCurrentConfigurationService_setStorageAreaIndexAfter_args","setStorageAreaIndexAfterRequest","SetStorageAreaIndexAfterRequest","InventoryCurrentConfigurationService_setStorageAreaIndexAfter_result","InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_args","setProductAtStorageAreaIndexAfterRequest","SetProductAtStorageAreaIndexAfterRequest","InventoryCurrentConfigurationService_setProductAtStorageAreaIndexAfter_result","getCurrentInventoryConfigurationForLocation","send_getCurrentInventoryConfigurationForLocation","recv_getCurrentInventoryConfigurationForLocation","updateStorageArea","send_updateStorageArea","recv_updateStorageArea","createAndAddStorageArea","send_createAndAddStorageArea","recv_createAndAddStorageArea","removeStorageArea","send_removeStorageArea","recv_removeStorageArea","addProductToStorageArea","send_addProductToStorageArea","recv_addProductToStorageArea","removeProductFromStorageArea","send_removeProductFromStorageArea","recv_removeProductFromStorageArea","removeProductsFromAllStorageAreas","send_removeProductsFromAllStorageAreas","recv_removeProductsFromAllStorageAreas","setStorageAreaIndexAfter","send_setStorageAreaIndexAfter","recv_setStorageAreaIndexAfter","setProductAtStorageAreaIndexAfter","send_setProductAtStorageAreaIndexAfter","recv_setProductAtStorageAreaIndexAfter","InventoryTransferReportService_createTransferReport_args","InventoryTransferReportInfo","InventoryTransferReportService_createTransferReport_result","unknownPerspectiveLocationException","actorDoesNotHaveAccessToPerspectiveLocationException","perspectiveLocationCannotEqualPartnerLocationException","unknownPartnerLocationException","actorDoesNotHaveAccessToPartnerLocationException","productsHaveNoMappingAtPartnerLocationException","UnknownPerspectiveLocationException","ActorDoesNotHaveAccessToPerspectiveLocationException","PerspectiveLocationCannotEqualPartnerLocationException","UnknownPartnerLocationException","ActorDoesNotHaveAccessToPartnerLocationException","ProductsHaveNoMappingAtPartnerLocationException","InventoryTransferReportIdentifier","InventoryTransferReportService_updateTransferReport_args","InventoryTransferReportService_updateTransferReport_result","InventoryTransferReportService_updateTransferReportRequisitionStep_args","UpdateTransferReportRequisitionStepRequest","InventoryTransferReportService_updateTransferReportRequisitionStep_result","InventoryTransferReportService_updateCustomPartnerLocationName_args","InventoryTransferReportService_updateCustomPartnerLocationName_result","transferHasRetailerPartnerLocationException","TransferHasRetailerPartnerLocationException","InventoryTransferReportService_getTransferReportsWithoutCostsById_args","perspective","InventoryTransferReportService_getTransferReportsWithoutCostsById_result","perspectiveLocationNotInvolvedInReportException","PerspectiveLocationNotInvolvedInReportException","InventoryTransferReportAndMetadataWithoutCost","InventoryTransferReportService_getTransferReportsByIds_args","InventoryTransferReportService_getTransferReportsByIds_result","InventoryTransferReportAndMetadata","InventoryTransferReportService_getReportsForLocationInPeriod_args","InventoryTransferReportService_getReportsForLocationInPeriod_result","InventoryTransferReportService_deleteReport_args","InventoryTransferReportService_deleteReport_result","InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_args","InventoryTransferReportService_getCustomTransferPartnerLocationNamesForLocation_result","createTransferReport","send_createTransferReport","recv_createTransferReport","updateTransferReport","send_updateTransferReport","recv_updateTransferReport","updateTransferReportRequisitionStep","send_updateTransferReportRequisitionStep","recv_updateTransferReportRequisitionStep","updateCustomPartnerLocationName","send_updateCustomPartnerLocationName","recv_updateCustomPartnerLocationName","getTransferReportsWithoutCostsById","send_getTransferReportsWithoutCostsById","recv_getTransferReportsWithoutCostsById","getTransferReportsByIds","send_getTransferReportsByIds","recv_getTransferReportsByIds","getCustomTransferPartnerLocationNamesForLocation","send_getCustomTransferPartnerLocationNamesForLocation","recv_getCustomTransferPartnerLocationNamesForLocation","group_Model_ttypes","merge_accounting_Exceptions_ttypes","merge_accounting_Model_ttypes","MergeAccountingIntegrationService_createLinkToken_args","groupId","GroupId","MergeAccountingIntegrationService_createLinkToken_result","unknownGroupIdException","UnknownGroupIdException","MergeLinkTokenResponse","MergeAccountingIntegrationService_createRelinkToken_args","associationId","MergeAccountingGroupAssociationId","MergeAccountingIntegrationService_createRelinkToken_result","unknownMergeAccountingGroupAssociationIdException","UnknownMergeAccountingGroupAssociationIdException","MergeAccountingIntegrationService_createConnection_args","publicToken","endUserOriginId","MergeAccountingIntegrationService_createConnection_result","duplicateMergeLinkedAccountIdException","DuplicateMergeLinkedAccountIdException","MergeAccountingIntegrationService_retrieveCompanyInfo_args","MergeAccountingIntegrationService_retrieveCompanyInfo_result","mergeAccountingCompanyInfoNotAvailableException","MergeAccountingCompanyInfoNotAvailableException","MergeCompanyInfo","MergeAccountingIntegrationService_retrieveExpenseAccounts_args","MergeAccountingIntegrationService_retrieveExpenseAccounts_result","MergeExpenseAccount","MergeAccountingIntegrationService_retrieveSupplierContacts_args","MergeAccountingIntegrationService_retrieveSupplierContacts_result","MergeContact","MergeAccountingIntegrationService_retrieveTaxRates_args","MergeAccountingIntegrationService_retrieveTaxRates_result","MergeTaxRate","MergeAccountingIntegrationService_createGroupSettings_args","accountingType","syncSchedule","taxSettings","MergeAccountingTaxSettings","MergeAccountingIntegrationService_createGroupSettings_result","MergeAccountingIntegrationService_updateGroupSettings_args","MergeAccountingIntegrationService_updateGroupSettings_result","unknownMergeAccountingGroupAssociationSettingsException","UnknownMergeAccountingGroupAssociationSettingsException","MergeAccountingIntegrationService_getGroupSettings_args","MergeAccountingIntegrationService_getGroupSettings_result","MergeAccountingGroupAssociationSettings","MergeAccountingIntegrationService_retrieveLinkedAccountStatus_args","MergeAccountingIntegrationService_retrieveLinkedAccountStatus_result","MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_args","groupAssociationId","locationSettingsMap","copyMap","MergeAccountingRetailerAssociationSettings","MAP","readMapBegin","key18","val19","readMapEnd","writeMapBegin","objectLength","kiter20","viter21","writeMapEnd","MergeAccountingIntegrationService_createRetailerAssociationsWithSettings_result","duplicateMergeAccountingRetailerAssociationException","DuplicateMergeAccountingRetailerAssociationException","MergeAccountingRetailerAssociationId","_size22","_i24","elem25","iter26","MergeAccountingIntegrationService_updateRetailerAssociationsSettings_args","retailerIsPausedMap","_size27","_i29","key30","val31","kiter32","viter33","MergeAccountingIntegrationService_updateRetailerAssociationsSettings_result","unknownMergeAccountingRetailerAssociationIdException","UnknownMergeAccountingRetailerAssociationIdException","MergeAccountingIntegrationService_removeRetailerAssociation_args","retailerAssociationId","MergeAccountingIntegrationService_removeRetailerAssociation_result","MergeAccountingIntegrationService_removeGroupAssociation_args","MergeAccountingIntegrationService_removeGroupAssociation_result","MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_args","MergeAccountingIntegrationService_getRetailerAssocsForGroupAssoc_result","MergeAccountingRetailerAssociation","_size34","_i36","key37","val38","kiter39","viter40","MergeAccountingIntegrationService_getGroupAssocsForGroup_args","MergeAccountingIntegrationService_getGroupAssocsForGroup_result","MergeAccountingGroupAssociation","_size41","_i43","key44","val45","kiter46","viter47","MergeAccountingIntegrationService_queueManualAccountingSync_args","MergeAccountingIntegrationService_queueManualAccountingSync_result","noActiveAccountingIntegrationException","NoActiveAccountingIntegrationException","MergeAccountingIntegrationService_queueOrderAccountingResync_args","orderId","MergeAccountingIntegrationService_queueOrderAccountingResync_result","MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_args","MergeAccountingIntegrationService_getMostRecentSyncTimeForGroupAssoc_result","MostRecentSyncTime","MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_args","MergeAccountingIntegrationService_getDeliveryAccountingSyncEventsForGroupAssoc_result","LocationSyncEvents","_size48","_i50","elem51","iter52","createLinkToken","send_createLinkToken","recv_createLinkToken","createRelinkToken","send_createRelinkToken","recv_createRelinkToken","createConnection","send_createConnection","recv_createConnection","retrieveCompanyInfo","send_retrieveCompanyInfo","recv_retrieveCompanyInfo","retrieveExpenseAccounts","send_retrieveExpenseAccounts","recv_retrieveExpenseAccounts","retrieveSupplierContacts","send_retrieveSupplierContacts","recv_retrieveSupplierContacts","retrieveTaxRates","send_retrieveTaxRates","recv_retrieveTaxRates","createGroupSettings","send_createGroupSettings","recv_createGroupSettings","updateGroupSettings","send_updateGroupSettings","recv_updateGroupSettings","getGroupSettings","send_getGroupSettings","recv_getGroupSettings","retrieveLinkedAccountStatus","send_retrieveLinkedAccountStatus","recv_retrieveLinkedAccountStatus","createRetailerAssociationsWithSettings","send_createRetailerAssociationsWithSettings","recv_createRetailerAssociationsWithSettings","updateRetailerAssociationsSettings","send_updateRetailerAssociationsSettings","recv_updateRetailerAssociationsSettings","removeRetailerAssociation","send_removeRetailerAssociation","recv_removeRetailerAssociation","removeGroupAssociation","send_removeGroupAssociation","recv_removeGroupAssociation","getRetailerAssocsForGroupAssoc","send_getRetailerAssocsForGroupAssoc","recv_getRetailerAssocsForGroupAssoc","getGroupAssocsForGroup","send_getGroupAssocsForGroup","recv_getGroupAssocsForGroup","queueManualAccountingSync","send_queueManualAccountingSync","recv_queueManualAccountingSync","queueOrderAccountingResync","send_queueOrderAccountingResync","recv_queueOrderAccountingResync","getMostRecentSyncTimeForGroupAssoc","send_getMostRecentSyncTimeForGroupAssoc","recv_getMostRecentSyncTimeForGroupAssoc","getDeliveryAccountingSyncEventsForGroupAssoc","send_getDeliveryAccountingSyncEventsForGroupAssoc","recv_getDeliveryAccountingSyncEventsForGroupAssoc","merge_integration_Exceptions_ttypes","merge_integration_Model_ttypes","MergeIntegrationObjectMappingService_setMappings_args","objectType","mergeLinkedAccountId","mergeCompanyId","mergeObjectIdToObjectIds","key3","val4","kiter9","viter10","iter11","MergeIntegrationObjectMappingService_setMappings_result","duplicateObjectIdException","unknownObjectIdException","DuplicateObjectIdException","UnknownObjectIdException","MergeIntegrationObjectMappingService_removeMappings_args","objectIds","_size12","_i14","elem15","iter16","MergeIntegrationObjectMappingService_removeMappings_result","MergeIntegrationObjectMappingService_getMappings_args","GetMergeIntegrationObjectMappingsRequest","MergeIntegrationObjectMappingService_getMappings_result","MergeIntegrationObjectMapping","_size17","_i19","elem20","iter21","removeMappings","send_removeMappings","recv_removeMappings","getMappings","send_getMappings","recv_getMappings","prep_event_Model_ttypes","prep_event_Exceptions_ttypes","PrepEventService_getPrepEventsById_args","prepEventIdSet","PrepEventId","PrepEventService_getPrepEventsById_result","unknownPrepEventIdException","UnknownPrepEventIdException","PrepEventAndId","PrepEventService_getPrepEventIdsForLocationInPeriod_args","PrepEventService_getPrepEventIdsForLocationInPeriod_result","PrepEventService_getPrepEventOutputProductIdsForLocation_args","PrepEventService_getPrepEventOutputProductIdsForLocation_result","PrepEventService_createPrepEvent_args","prepEventTime","inputQuantityOfProductByProductId","outputQuantityOfProductByProductId","outputPriceByProductId","ProductIdAndQuantityOfProduct","ProductIdAndCost","_size24","_i26","elem27","_size28","_i30","elem31","iter32","PrepEventService_createPrepEvent_result","PrepEventService_deletePrepEvent_args","prepEventId","PrepEventService_deletePrepEvent_result","prepEventIsDeletedException","PrepEventIsDeletedException","PrepEventService_updatePrepEvent_args","_size39","_i41","elem42","_size43","_i45","elem46","iter47","iter48","PrepEventService_updatePrepEvent_result","getPrepEventsById","send_getPrepEventsById","recv_getPrepEventsById","getPrepEventIdsForLocationInPeriod","send_getPrepEventIdsForLocationInPeriod","recv_getPrepEventIdsForLocationInPeriod","getPrepEventOutputProductIdsForLocation","send_getPrepEventOutputProductIdsForLocation","recv_getPrepEventOutputProductIdsForLocation","createPrepEvent","send_createPrepEvent","recv_createPrepEvent","deletePrepEvent","send_deletePrepEvent","recv_deletePrepEvent","updatePrepEvent","send_updatePrepEvent","recv_updatePrepEvent","product_cost_Model_ttypes","ProductCostService_setProductCostAtInventoryCount_args","productCost","ProductCost","ProductCostService_setProductCostAtInventoryCount_result","unitIncompatibleWithProductPackageException","UnitIncompatibleWithProductPackageException","ProductCostService_setCurrentProductCost_args","ProductCostService_setCurrentProductCost_result","ProductCostService_setProductCostAtTime_args","eventTimestamp","ProductCostService_setProductCostAtTime_result","ProductCostService_getProductCostsByProductIdAtInventoryCount_args","productIdSet","ProductCostService_getProductCostsByProductIdAtInventoryCount_result","ProductCostService_getProductCostsByProductIdByInventoryId_args","_size14","_i16","elem17","iter18","ProductCostService_getProductCostsByProductIdByInventoryId_result","InventoryIdAndProductIdAndProductCost","ProductCostService_getCurrentProductCostsByProductId_args","ProductCostService_getCurrentProductCostsByProductId_result","ProductCostService_getProductCostsByProductIdAtTime_args","ProductCostService_getProductCostsByProductIdAtTime_result","ProductCostService_getInitialProductCosts_args","ProductCostService_getInitialProductCosts_result","ProductCostSettingEvent","setProductCostAtInventoryCount","send_setProductCostAtInventoryCount","recv_setProductCostAtInventoryCount","setCurrentProductCost","send_setCurrentProductCost","recv_setCurrentProductCost","setProductCostAtTime","send_setProductCostAtTime","recv_setProductCostAtTime","getProductCostsByProductIdAtInventoryCount","send_getProductCostsByProductIdAtInventoryCount","recv_getProductCostsByProductIdAtInventoryCount","getProductCostsByProductIdByInventoryId","send_getProductCostsByProductIdByInventoryId","recv_getProductCostsByProductIdByInventoryId","getCurrentProductCostsByProductId","send_getCurrentProductCostsByProductId","recv_getCurrentProductCostsByProductId","getProductCostsByProductIdAtTime","send_getProductCostsByProductIdAtTime","recv_getProductCostsByProductIdAtTime","getInitialProductCosts","send_getInitialProductCosts","recv_getInitialProductCosts","product_distributor_Model_ttypes","ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_args","ProductDistributorService_getProductPackagingDistributorAssociationsForProductIds_result","accountDoesNotHaveAccessToProductException","duplicateProductIdException","AccountDoesNotHaveAccessToProductException","DuplicateProductIdException","ProductPackagingDistributorAssoc","ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_args","assocs","ProductDistributorService_createOrUpdateDistributorProductPackagingAssocs_result","locationAssociatedWithProductIdDoesNotHaveAccessToDistributorException","LocationAssociatedWithProductIdDoesNotHaveAccessToDistributorException","ProductDistributorService_disassociateDistributorProductPackagingAssocs_args","ProductDistributorService_disassociateDistributorProductPackagingAssocs_result","ProductDistributorService_disassociateDistributorFromProductPackagings_args","productQuantityUnits","ProductQuantityUnit","ProductDistributorService_disassociateDistributorFromProductPackagings_result","ProductDistributorService_disassociateDistributorFromProducts_args","ProductDistributorService_disassociateDistributorFromProducts_result","ProductDistributorService_disassociateAllDistributorsFromProducts_args","ProductDistributorService_disassociateAllDistributorsFromProducts_result","getProductPackagingDistributorAssociationsForProductIds","send_getProductPackagingDistributorAssociationsForProductIds","recv_getProductPackagingDistributorAssociationsForProductIds","createOrUpdateDistributorProductPackagingAssocs","send_createOrUpdateDistributorProductPackagingAssocs","recv_createOrUpdateDistributorProductPackagingAssocs","disassociateDistributorProductPackagingAssocs","send_disassociateDistributorProductPackagingAssocs","recv_disassociateDistributorProductPackagingAssocs","disassociateDistributorFromProductPackagings","send_disassociateDistributorFromProductPackagings","recv_disassociateDistributorFromProductPackagings","disassociateDistributorFromProducts","send_disassociateDistributorFromProducts","recv_disassociateDistributorFromProducts","disassociateAllDistributorsFromProducts","send_disassociateAllDistributorsFromProducts","recv_disassociateAllDistributorsFromProducts","ProductParService_setParsByProductId_args","parsByProductId","ProductParService_setParsByProductId_result","ProductParService_getParByProductId_args","ProductParService_getParByProductId_result","ProductIdAndOptionalQuantityOfProduct","ProductParService_unsetParForProductId_args","ProductParService_unsetParForProductId_result","setParsByProductId","send_setParsByProductId","recv_setParsByProductId","getParByProductId","send_getParByProductId","recv_getParByProductId","unsetParForProductId","send_unsetParForProductId","recv_unsetParForProductId","ProductService_retrieveDistributorIdsAssociatedWithProductIds_args","ProductService_retrieveDistributorIdsAssociatedWithProductIds_result","ProductIdAndDistributorId","ProductService_associateDistributorIdWithProductId_args","ProductService_associateDistributorIdWithProductId_result","productIdAlreadyHasAssociationWithThisDistributorException","ProductIdAlreadyHasAssociationWithThisDistributorIdException","ProductService_disassociateDistributorIdFromProductId_args","ProductService_disassociateDistributorIdFromProductId_result","productIdDoesNotHaveAssociationWithThisDistributorException","ProductIdDoesNotHaveAssociationWithThisDistributorIdException","ProductService_associateDistributorIdWithProductIds_args","ProductService_associateDistributorIdWithProductIds_result","ProductService_disassociateDistributorIdFromProductIds_args","ProductService_disassociateDistributorIdFromProductIds_result","retrieveDistributorIdsAssociatedWithProductIds","send_retrieveDistributorIdsAssociatedWithProductIds","recv_retrieveDistributorIdsAssociatedWithProductIds","associateDistributorIdWithProductId","send_associateDistributorIdWithProductId","recv_associateDistributorIdWithProductId","disassociateDistributorIdFromProductId","send_disassociateDistributorIdFromProductId","recv_disassociateDistributorIdFromProductId","associateDistributorIdWithProductIds","send_associateDistributorIdWithProductIds","recv_associateDistributorIdWithProductIds","disassociateDistributorIdFromProductIds","send_disassociateDistributorIdFromProductIds","recv_disassociateDistributorIdFromProductIds","public_content_Model_ttypes","public_content_Exceptions_ttypes","PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_args","eventType","publicContentUrl","publicContentUrlParameters","referrer","PublicContentUrl","PublicContentViewEventService_createPublicContentViewEventForUnauthenticatedSession_result","invalidArgumentsToCreateViewEventException","InvalidArgumentsToCreateViewEventException","PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_args","key15","val16","kiter21","viter22","iter23","PublicContentViewEventService_createPublicContentViewEventForAuthenticatedSession_result","PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_args","publicContentType","PublicContentViewEventService_getUserPublicContentForAuthenticatedSession_result","invalidArgumentAsPublicContentTypeException","InvalidPublicContentTypeArgumentException","UserPublicContent","createPublicContentViewEventForUnauthenticatedSession","send_createPublicContentViewEventForUnauthenticatedSession","recv_createPublicContentViewEventForUnauthenticatedSession","createPublicContentViewEventForAuthenticatedSession","send_createPublicContentViewEventForAuthenticatedSession","recv_createPublicContentViewEventForAuthenticatedSession","getUserPublicContentForAuthenticatedSession","send_getUserPublicContentForAuthenticatedSession","recv_getUserPublicContentForAuthenticatedSession","sales_item_Exceptions_ttypes","SalesItemService_getRelevantSalesItemsForIds_args","salesItemIds","SalesItemId","SalesItemService_getRelevantSalesItemsForIds_result","unknownSalesItemIdException","UnknownSalesItemIdException","SalesItemAndId","SalesItemService_getNonDeletedSalesItemIds_args","SalesItemService_getNonDeletedSalesItemIds_result","SalesItemService_getDeletedSalesItemIds_args","SalesItemService_getDeletedSalesItemIds_result","SalesItemService_getActiveSalesItemIdsUsingProduct_args","SalesItemService_getActiveSalesItemIdsUsingProduct_result","SalesItemService_createSalesItem_args","salesItem","SalesItem","SalesItemService_createSalesItem_result","SalesItemService_updateSalesItemForSingleReport_args","salesItemId","itemLevelRevenueAndCostReportConfigurationId","ItemLevelRevenueAndCostReportConfigurationId","SalesItemService_updateSalesItemForSingleReport_result","SalesItemIdMapping","SalesItemService_updateSalesItemForCurrentAndFutureReports_args","updateSalesItemRequest","UpdateSalesItemRequest","SalesItemService_updateSalesItemForCurrentAndFutureReports_result","SalesItemService_updateSalesItemForAllTime_args","SalesItemService_updateSalesItemForAllTime_result","SalesItemService_deleteSalesItems_args","SalesItemService_deleteSalesItems_result","SalesItemService_undeleteSalesItems_args","SalesItemService_undeleteSalesItems_result","SalesItemService_setSalesItemActiveState_args","isActive","SalesItemService_setSalesItemActiveState_result","SalesItemService_uploadSalesItemImageAndGetUrl_args","file","readBinary","writeBinary","SalesItemService_uploadSalesItemImageAndGetUrl_result","SalesItemService_getSalesItemImageUploadUrls_args","SalesItemService_getSalesItemImageUploadUrls_result","SalesItemImageUploadUrl","SalesItemService_deleteSalesItemImageUpload_args","SalesItemService_deleteSalesItemImageUpload_result","getRelevantSalesItemsForIds","send_getRelevantSalesItemsForIds","recv_getRelevantSalesItemsForIds","getNonDeletedSalesItemIds","send_getNonDeletedSalesItemIds","recv_getNonDeletedSalesItemIds","getDeletedSalesItemIds","send_getDeletedSalesItemIds","recv_getDeletedSalesItemIds","getActiveSalesItemIdsUsingProduct","send_getActiveSalesItemIdsUsingProduct","recv_getActiveSalesItemIdsUsingProduct","createSalesItem","send_createSalesItem","recv_createSalesItem","updateSalesItemForSingleReport","send_updateSalesItemForSingleReport","recv_updateSalesItemForSingleReport","updateSalesItemForCurrentAndFutureReports","send_updateSalesItemForCurrentAndFutureReports","recv_updateSalesItemForCurrentAndFutureReports","updateSalesItemForAllTime","send_updateSalesItemForAllTime","recv_updateSalesItemForAllTime","deleteSalesItems","send_deleteSalesItems","recv_deleteSalesItems","undeleteSalesItems","send_undeleteSalesItems","recv_undeleteSalesItems","setSalesItemActiveState","send_setSalesItemActiveState","recv_setSalesItemActiveState","uploadSalesItemImageAndGetUrl","send_uploadSalesItemImageAndGetUrl","recv_uploadSalesItemImageAndGetUrl","getSalesItemImageUploadUrls","send_getSalesItemImageUploadUrls","recv_getSalesItemImageUploadUrls","deleteSalesItemImageUpload","send_deleteSalesItemImageUpload","recv_deleteSalesItemImageUpload","UnauthenticatedUserSessionService_createSession_args","canvasData","webGLVendor","webGLRenderer","plugins","localStorageAllowed","sessionStorageAllowed","cookieAllowed","doNotTrack","timezone","UnauthenticatedUserSessionService_createSession_result","canvasDataInvalidStringLengthException","webGLVendorInvalidStringLengthException","webGLRendererInvalidStringLengthException","pluginsInvalidStringLengthException","localStorageAllowedInvalidStringLengthException","sessionStorageAllowedInvalidStringLengthException","cookieAllowedInvalidStringLengthException","platformInvalidStringLengthException","doNotTrackInvalidStringLengthException","timeZoneInvalidStringLengthException","resolutionInvalidStringLengthException","referrerInvalidStringLengthException","CanvasDataInvalidStringLengthException","WebGLVendorInvalidStringLengthException","WebGLRendererInvalidStringLengthException","PluginsInvalidStringLengthException","LocalStorageAllowedInvalidStringLengthException","SessionStorageAllowedInvalidStringLengthException","CookieAllowedInvalidStringLengthException","PlatformInvalidStringLengthException","DoNotTrackInvalidStringLengthException","TimezoneInvalidStringLengthException","ResolutionInvalidStringLengthException","ReferrerInvalidStringLengthException","createSession","send_createSession","recv_createSession","core_primitives_Model_ttypes","accounts_Model_ttypes","user_info_Exceptions_ttypes","UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_args","firstName","lastName","emailAddress","optionalPhoneNumber","EmailAddress","OptionalPhoneNumber","UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail_result","firstNameInvalidStringLengthException","lastNameInvalidStringLengthException","unknownEmailAddressException","phoneNumberInvalidStringLengthException","emailAddressAlreadyAssociatedWithAnAccountException","FirstNameInvalidStringLengthException","LastNameInvalidStringLengthException","UnknownEmailAddressException","PhoneNumberInvalidStringLengthException","EmailAddressAlreadyAssociatedWithAnAccountException","UserAccountIdentifier","UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_args","UserAccountService_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession_result","createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail","send_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail","recv_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmail","createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession","send_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession","recv_createAccountWithAssociatedEmailAddressAndSendPasswordSettingEmailAndCreateSession","user_action_log_Model_ttypes","user_action_log_Exceptions_ttypes","UserActionLogService_createComment_args","isAdmin","UserActionLogService_createComment_result","UserActionLogComment","UserActionLogService_deleteComment_args","commentId","UserActionLogService_deleteComment_result","unknownUserActionLogCommentIdException","UnknownUserActionLogCommentIdException","UserActionLogService_getCommentsCreatedInTimeRange_args","inclusiveStartDate","inclusiveEndDate","UserActionLogService_getCommentsCreatedInTimeRange_result","createComment","send_createComment","recv_createComment","deleteComment","send_deleteComment","recv_deleteComment","getCommentsCreatedInTimeRange","send_getCommentsCreatedInTimeRange","recv_getCommentsCreatedInTimeRange","UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_args","sessionIdentifier","UserEmailAddressVerificationService_sendEmailAddressVerificationEmail_result","unknownAccountSessionException","UnknownAccountSessionException","UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_args","emailAddressVerificationCredential","UserEmailAddressVerificationCredential","UserEmailAddressVerificationService_associateEmailAddressForEmailAddressVerificationCredential_result","unknownEmailAddressVerificationCredentialException","expiredEmailAddressVerificationCredentialException","emailAddressVerificationCredentialAlreadyUsedException","UnknownEmailAddressVerificationCredentialException","ExpiredEmailAddressVerificationCredentialException","EmailAddressVerificationCredentialAlreadyUsedException","sendEmailAddressVerificationEmail","send_sendEmailAddressVerificationEmail","recv_sendEmailAddressVerificationEmail","associateEmailAddressForEmailAddressVerificationCredential","send_associateEmailAddressForEmailAddressVerificationCredential","recv_associateEmailAddressForEmailAddressVerificationCredential","UserPasswordService_sendPasswordSettingCredentialToEmailAddress_args","UserPasswordService_sendPasswordSettingCredentialToEmailAddress_result","UserPasswordService_ensurePasswordSettingCredentialIsValid_args","userPasswordSettingCredential","UserPasswordSettingCredential","UserPasswordService_ensurePasswordSettingCredentialIsValid_result","unknownPasswordSettingCredentialException","passwordSettingCredentialExpiredException","passwordSettingCredentialAlreadyUsedException","UnknownPasswordSettingCredentialException","PasswordSettingCredentialExpiredException","PasswordSettingCredentialAlreadyUsedException","UserPasswordService_setAccountPasswordAndCreateSession_args","UnencryptedPassword","UserPasswordService_setAccountPasswordAndCreateSession_result","passwordDoesNotMeetRequirementsException","PasswordDoesNotMeetRequirementsException","sendPasswordSettingCredentialToEmailAddress","send_sendPasswordSettingCredentialToEmailAddress","recv_sendPasswordSettingCredentialToEmailAddress","ensurePasswordSettingCredentialIsValid","send_ensurePasswordSettingCredentialIsValid","recv_ensurePasswordSettingCredentialIsValid","setAccountPasswordAndCreateSession","send_setAccountPasswordAndCreateSession","recv_setAccountPasswordAndCreateSession","UserSessionService_createSessionForAuthenticatedAccount_args","UserSessionService_createSessionForAuthenticatedAccount_result","UserSessionService_terminateSession_args","UserSessionService_terminateSession_result","sessionAlreadyTerminatedException","SessionAlreadyTerminatedException","UserSessionService_getAccountIdentifierForSessionIdentifier_args","UserSessionService_getAccountIdentifierForSessionIdentifier_result","createSessionForAuthenticatedAccount","send_createSessionForAuthenticatedAccount","recv_createSessionForAuthenticatedAccount","terminateSession","send_terminateSession","recv_terminateSession","getAccountIdentifierForSessionIdentifier","send_getAccountIdentifierForSessionIdentifier","recv_getAccountIdentifierForSessionIdentifier","TException","super","ttypes","AdminPermission","CREATE_OWN_SESSION","READ_OWN_ACCOUNT","WRITE_OWN_ACCOUNT","WRITE_OWN_PASSWORD","READ_ADMIN_ACCOUNT","WRITE_ADMIN_ACCOUNT","READ_USER_ACCOUNT","WRITE_USER_ACCOUNT","UserPermission","phoneNumber","userAccountIdentifier","productQuantityUnit","quantityInUnits","cartItemId","DOUBLE","readDouble","cartItems","CartItem","scale","timeSinceUnixEpoch","Milliseconds","Seconds","collidedDistributorsById","ScopeType","RETAILER","GROUP","GLOBAL","owner","replacementDistributorId","order_Model_ttypes","deliveryIds","retailerIds","cartIds","cartItemsByCartId","DeliveryId","CartIdAndCartItems","_size4","_i6","elem7","_size8","_i10","elem11","_size16","_i18","elem19","iter20","iter22","core_math_Model_ttypes","money_Model_ttypes","DrinkCategory","COCKTAIL","DRAUGHT","BY_GLASS","SINGLE_SERVE","DrinkUnit","METRIC_LITER","METRIC_MILLILITER","US_FLUID_OUNCE","US_FLUID_GALLON","DASH","BAR_SPOON","UNIT","ShareMedium","FACEBOOK","TWITTER","LINKED_IN","EMAIL","quantity","unit","Decimal","amount","packageSize","packageCost","QuantityAndUnit","MonetaryValue","drinkCategory","ingredients","price","taxRate","DrinkIngredient","drinkId","drink","sales_report_model_ttypes","PosIntegrationType","LIGHTSPEED","SQUARE","BREADCRUMB","TOAST","OMNIVORE","CLOVER","K_SERIES","SPOTON","HEARTLAND","R_SERIES","JONAS","externalMerchantId","isAccessible","cacheDataEffectiveTime","ExternalMerchantId","posItemId","menuGroup","posItem","salesEntry","PosItem","SalesEntry","posName","quantitySold","quantityComped","valueComped","dataEffectiveTime","salesEntries","unmappedPosItemAndSalesEntries","ignoredPosItemAndSalesEntries","SalesItemIdAndSalesEntry","PosItemAndSalesEntry","iter12","iter13","posLocationId","posHistoryStart","posLocationConnections","accessibleIntegrationLocationMetadata","PosLocationMapping","_size19","_i21","elem22","codeVerifier","InventoryCountType","COMPLETE","PARTIAL","count","storageArea","StorageArea","sortedProductIdList","productCounts","metadata","UserAccountIdentifierAndTimestamp","productCountEvent","ProductCountEvent","creationMetadata","finalizationMetadata","deletionMetadata","inventoryMetadata","InventoryCountMetadata","sortedStorageAreaIds","storageAreasById","sortedProductIdListsByStorageAreaId","StorageAreaIdAndStorageArea","StorageAreaIdAndSortedProductIdList","_size23","_i25","elem26","iter27","iter28","inventoryConfiguration","productCountEventsByProductIdByStorageAreaId","StorageAreaIdAndProductIdAndCountEvent","inventoryCount","InventoryCount","inventoryDate","newProductCount","oldProductCount","storageAreaIdPreceeding","productIdPreceeding","sourceProductId","deletedTargetProductId","unmappedProducts","invalidatedMappings","InvalidatedTransferMapping","iter8","TransferDirection","FROM_PARTNER_TO_PERSPECTIVE_LOCATION","FROM_PERSPECTIVE_TO_PARTNER_LOCATION","perspectiveLocation","productAmounts","partnerLocation","customPartnerLocationName","direction","transferTime","requestedByUser","requestedTime","sentByUser","sentTime","receivedByUser","receivedTime","cancelledByUser","cancellationTime","cancellationReason","creator","creationTime","lastUpdater","lastUpdateTime","perspectiveIsOriginator","metaData","ReportMetaData","productCostsByProductId","breakageTime","productAmountUpdates","newReportTime","newNote","requisitionStep","RetailerAccountType","BEVERAGE","FOOD","AccountingType","CASH","SyncSchedule","MANUAL","AUTOMATIC","MergeLinkedAccountStatus","INCOMPLETE","RELINK_NEEDED","SyncedOrderType","INVOICE","EXPENSE","VENDOR_CREDIT","AccountingInvoiceStatus","SUBMITTED","DRAFT","VOID","AccountingSyncResultType","SUCCESS","AccountingSyncErrorType","VALIDATION","API_REJECTED","UNMAPPED_VENDOR","UNMAPPED_ACCOUNT","UNKNOWN_LOCATION","UNKNOWN_SESSION","MISSING_INVOICE_ID","JSON_PROCESSING","ATTACHMENT","linkToken","remoteId","glCode","tracksTaxOnTransactions","isInclusiveOfTax","defaultTaxRateId","effectiveTaxRate","updatedAt","linkedAccountId","createdAt","syncStartDate","isPaused","settingsUpdatedAt","resultType","errorType","syncedOrderType","mergeAccountingInvoiceId","syncTime","accountingInvoiceStatus","syncResult","AccountingSyncResult","events","DeliveryAccountingSyncEvent","AccountingIntegrationType","QUICKBOOKS_ONLINE","MergeObjectType","VENDOR","CATEGORY","TAX_RATE","objectId","mergeObjectId","Currency","USD","currency","cart_Model_ttypes","cartId","lastEditedMetadata","prepEvent","PrepEvent","combinedInputQuantity","combinedOutputQuantity","combinedOutputPrice","QuantityOfProduct","unitOfMass","unitOfVolume","packagingId","PackagingId","quantityOfProduct","monetaryValue","nextChunkToken","rowsRewritten","Unit","BOTTLE","CAN","CASE","KEG","BAG","BOX","CAN_FOOD","CARTON","CONTAINER","PACKAGE","TUB","OTHER_CONTAINER","METRIC_CENTILITER","US_FLUID_QUART","US_FLUID_PINT","METRIC_KILOGRAM","METRIC_GRAM","US_POUND","US_DRY_OUNCE","EACH","MassUnit","VolumeUnit","sku","deposit","transferReportIds","ProductMatchAlgorithm","AUTOMATCH0","AUTOMATCH1","REVERSE","sourceLocationIdentifier","sourceQuantityOfProduct","targetLocationIdentifier","targetProductId","targetQuantityOfProduct","updateTime","matchAlgorithm","mappingCount","PublicContentViewEventType","PAGE_VIEW","DOWNLOAD","PublicContentType","POST","RESOURCE","title","excerpt","thumbnailUrl","publicationDate","TimestampWithSecondPrecision","publicContent","publicContentViewEvent","PublicContent","PublicContentViewEvent","recentlyViewed","recommended","PublicContentAndPublicContentViewEvent","UnitOfMeasure","posId","needsAttentionCategory","salesPrice","miscellaneousCost","componentQuantityOfProductByProductId","componentServingsBySalesItemId","itemYield","servingSize","salesItemCustomUnitName","SalesItemIdAndQuantity","SalesQuantityAndUnit","isArchived","salesItemWithMetadata","SalesItemWithMetadata","reportId","oldSalesItemId","newSalesItemId","canDelete","deleteSuccess","matchedSalesItemInfoById","hasComponentItemsIds","usedInOtherSalesItemsIds","referencedItemsByReportId","ItemLevelReportConfigurationIdAndSalesItemIds","elem30","iter31","userSessionIdentifier","createdAfter","createdBefore","createdByRequesterOnly","applyDeletion","quantityAdjustment","salesAdjustment","StripeCustomerServiceImpl","billingDataSerializer","getBillingAccountForRetailer","retailerId","queryParameters","retailer_id","AjaxUtils","ajaxGet","urlWithoutRetailerId","billingAccountResponse","userIsAdminOnBillingAccount","user_is_admin_on_billing_account","billing_account","billing_retailers_by_id","RuntimeException","paymentSources","getBankAccountsAndCreditCardsById","sources","creditCardsById","bankAccountsById","primaryPaymentSourceId","default_source","sourceAsCreditCard","CreditCardId","BankAccountId","customerSubscriptionInfoByRetailerId","StringValueMap","subscriptionsByIdForBillingAccount","delinquentPaymentStatusByRetailerId","isLockedByRetailerId","billingPlansByIdForAccount","retailerNamesById","retailerCountriesById","emailAddressForRetailer","contact","billingCustomerId","stripe_id","retailerIdValue","retailerIdInAccount","LocationId","retailerObject","delinquent_status","delinquentPaymentStatus","hasDelinquentPayment","has_delinquent_payment","is_locked","subscriptionsForRetailer","subscriptions_by_retailer_id","retailerWithoutSubscriptionResponse","isInFreeTrial","is_in_free_trial","subscriptionAndPlan","getSubscriptionData","subscriptionId","subscription","plan","getPlanId","address","country","billingAccountData","getLatestInvoiceForRetailer","max_result_count","latestInvoiceResponse","latestInvoice","getInvoiceData","payInvoiceForCustomerWithPaymentMethod","invoiceId","paymentMethodId","requestBody","payment_method_id","invoice_id","ajaxPut","invoiceResponse","getMostRecentChargesForCustomer","maxResultCount","pastChargesJson","pastCharges","chargeJson","billingCharge","getBillingCharge","createNewInvoiceProcessingChargeForCustomer","chargeAmountInCents","chargeDescription","startDateOfInvoices","endDateOfInvoices","amount_in_cents","charge_description","start_date","unix","end_date","DEFAULT_PRICE_PER_INVOICE","other","SubscriptionStatus","BevSpotSubscription","planId","creationTimestamp","lastPaymentTimestamp","nextPaymentTimestamp","cancellationTimestamp","getCreationTimestamp","getLastPaymentTimestamp","getNextPaymentTimestamp","getCancellationTimestamp","getStatus","getQuantity","BillingFrequency","BillingPlanTier","CreditCard","brand","lastFourDigits","expirationMonth","expirationYear","cardHolderName","getBrand","getLastFourDigits","getExpirationMonth","getExpirationYear","getCardHolderName","SubscriptionId","TermsConditionsAgreement","userId","timeCreated","userName","getLocationId","getUserId","getTimeCreated","getUserName","getAgreementDisplayString","format","BankAccount","accountHolderName","accountHolderType","bankName","getAccountHolderName","getAccountHolderType","getBankName","BillingCharge","billingChargeId","amountRefunded","statementDescriptor","chargeDate","isPaid","invoiceProcessingMetadata","getBillingChargeId","getSubscriptionId","getInvoiceId","getAmount","getAmountRefunded","getStatementDescriptor","getChargeDate","getIsPaid","getInvoiceProcessingMetadata","BillingInvoice","amountDue","total","subtotal","date","nextPaymentAttemptDate","getAmountDue","getTotal","getSubtotal","getInvoiceDate","getNextPaymentAttemptDate","BillingPlan","priceInCents","billingFrequency","tier","accountType","active","getPriceInCents","getBillingFrequency","getTier","getAccountType","getActive","BillingPlanId","InvoiceId","BillingDataSerializer","dict","charge_type","startDate","moment","utc","endDate","subscription_id","amount_refunded","statement_descriptor","created_timestamp","paid","getBillingPlansById","billingPlanObjects","billingPlansById","planObject","getBillingPlan","billingSourceObjects","sourceObject","source_type","cardId","card","getCreditCard","bankAccountId","bankAccount","getBankAccount","billingCardObject","last4","exp_month","exp_year","card_holder","billingBankAccountObject","account_holder_name","account_holder_type","bank_name","subscriptionObject","billingPlanObject","items","subscriptionData","created_at","period_start","period_end","canceled_at","CANCELLED","ACTIVE","invoiceObject","amountDueInDollars","amount_due","totalInDollars","subtotalInDollars","next_payment_attempt_date","invoice","is_paid","parseBillingPlanPriceResponse","pricesByAccountTypeAndTierAndFrequency","rawAccountType","rawPricesByTierAndFrequency","pricesByTierAndFrequency","parseAccountType","rawTier","rawPricesByFrequency","pricesByFrequency","parseBillingPlanTier","rawFrequency","parseBillingFrequency","getTermsConditionsAgreement","termsConditionsAgreementJSON","user_name","first_name","last_name","UserAccountId","user_id","time_created","getTermsConditionsAgreementJSON","termsConditionsAgreement","DJANGO_API_UTC_TIMESTAMP_FORMAT","calculateBillingFrequency","billing_frequency","interval_count","billingPlanTier","account_type","failureReason","logJsError","isHandled","billingPlanId","PRO","STANDARD","STARTER","AccountType","MONTHLY","QUARTERLY","SEMIANNUALLY","ANNUALLY","billingInterval","intervalCount","BreakageId","Cart","cartDistributorInfoById","cartHashValue","getCartItems","getCartDistributorInfoById","getCartHashValue","CartDistributorInfo","isSavedForLater","retailerNote","includedDistributorReps","purchaseOrderNumber","getIsSavedForLater","getRetailerNote","getIncludedDistributorReps","getPurchaseOrderNumber","InventoryColumnOption","UsageColumnOption","getCartItemTotal","cartItem","productDistributorAssociations","hasMultiVendorFeature","resolvedCartItemQuantityInUnit","PackagingUtils","resolveProductQuantityUnit","QuantityInUnit","getQuantityInUnits","getProductQuantityUnit","getPackagingsAndMappings","pricePerUnit","cartItemIdentifier","ProductDistributorAssociationIdentifier","getProductId","getUnit","getDistributorId","productDistributorAssociation","association","identifier","associationDistributorId","resolvedAssociationUnit","productQuantityUnitsAreEqual","productDistributorAssociationPrice","getPrice","decimalUtils","decimalToNumber","getCost","productUtils","convertPriceToProductQuantityUnit","CartUtils","getProductIdsInCart","cart","StringValueSet","getCartItemsByProductId","cartItemsByProductId","getCartItemsForProductId","getCartItemsById","cartItemsById","getCartItemId","getCartItemsByProductDistributorAssociationIdentifier","cartItemsByProductDistributorAssociationIdentifier","getProductDistributorAssociationIdentifier","getCartItemsByDistributorId","distributorIdsByProductId","GLOBAL_FEATURE_ACCESS","multi_vendor","cartItemsByDistributorId","getRequired","distributorCartItems","getCartItemForProductAndDistributor","relevantCartItem","getCartTotal","includeSavedForLater","productsById","productDistributorAssociationsByProductId","cartTotal","shouldInclude","cartDistributorInfo","getCartDepositTotal","cartDepositTotal","getCartItemDepositTotal","depositPerUnit","productDistributorAssociationDeposit","getDeposit","convertDepositToProductQuantityUnit","getCartWithUpdatedRetailerNote","newCartDistributorInfo","newCartDistributorInfoById","getCartWithUpdatedPurchaseOrderNumber","getCartWithUpdatedIsSavedForLater","getCartItemIdsByProductDistributorAssociationIdentifier","cartItemIdsByProductDistributorAssociationIdentifier","getDuplicatedCartItemInformation","duplicatedCartItems","cartItemIdsWithDuplicateProductDistributorAssociationIdentifiersByCartItemId","cartItemIdByProductDistributorAssociationIdentifier","totalCartQuantityByCartItemId","resolvedProductDistributorAssociationIdentifier","resolvedCartQuantity","firstCartItemId","currentCartQuantity","duplicatedCartItemIds","OfflineQueueState","enableMapSet","_len","maps","_key","stringValueMap","immerable","keyMap","valueMap","getKeyValue","callbackFunction","keyValue","stringValueSetOrArray","valueSet","stringValueSet","stringValueArray","value2","isEqual","isSubsetOf","isSubset","intersection","otherSet","union","useStableQueryArgs","incoming","react","useMemo","cache2","useRef","useEffect","UNINITIALIZED_VALUE","useShallowStableValue","react_redux_es","bN","redux_toolkit_esm","useIsomorphicLayoutEffect","useLayoutEffect","defaultMutationStateSelector","noPendingQueryStateSelector","selected","isFetching","rtk_query_esm","RE","capitalize","useDispatch","useSelector","useStore","unstable__sideEffectsInRender","reactHooksModuleName","createApi","l0","m7","vA","wA","d4","Pj","moduleOptions","usePossiblyImmediateEffect","buildQueryHooks","useQuerySubscription","stableArg","hT","stableSubscriptionOptions","lastRenderHadSubscription","promiseRef","currentRenderHasSubscription","returnedValue","subscriptionRemoved","lastPromise","lastSubscriptionOptions","useLazyQuerySubscription","useState","setArg","subscriptionOptionsRef","trigger","useCallback","preferCacheValue","useQueryState","selectFromResult","lastValue","selectDefaultResult","es","lastResult","queryStatePreSelector","newLastValue","useLazyQuery","queryStateResults","lastArg","useQuery","querySubscriptionResults","useDebugValue","buildMutationHook","setPromise","triggerMutation","mutationSelector","finalState","usePrefetch","defaultOptions","stableDefaultOptions","hasData","currentData","buildHooks","useMutation","isRestApiRejection","dataGuard","content","isLegacyErrorRejection","transformLegacyError","_typedE$status","_typedE$message","_e$status","typedE","getLegacyDjangoErrorType","isThriftErrorRejection","transformThriftError","thrownError","thriftQueryFn","run","legacyQueryFn","mixedQueryFn","ACCOUNTING_TAGS","PRODUCT_INSIGHTS_TAG","ITEM_CARD_TAGS","apiBase","distributorReduxApi","getDistributorsForRetailer","_result","_error","userSessionManager","getSessionId","DistributorServiceInstance","getAvailableDistributorsByIdForLocation","Address","createFromJSONObject","JSONObject","undefToBlank","line1","line2","city","zipcode","getOwner","getShortName","ExtraDistributorProperties","getExtraDistributorProperties","extraDistributorProperties","createBlank","setExtraDistributorProperties","getRestFormData","formData","DistributorAdjustment","procDefault","category_id","defaultValue","categoryId","getJSONObject","append","DistributorAdjustmentId","DistributorRep","to_email","attach_csv","phone","to_sms","emailNotifications","attachCsv","cell","smsNotifications","DistributorRepId","reps","adjustments","JSONReps","JSONAdjustments","accountNumber","officePhone","website","accountingId","deliveryDays","createDefaultDeliveryDays","caseMinimum","dollarMinimum","notes","PaymentTerm","createFromJson","paymentTerm","creationEvent","UserAccountUtils","getUserAccountIdAndTimestampObjectFromJSON","lastModifiedEvent","confirmationEvent","lastUpdateEvent","transferDeliveryDays","convertRepMapToJSON","convertAdjustmentMapToJSON","getUserAccountIdAndTimestampJSONFromObject","maxLen","DefaultPaymentTermOptions","NONE","DistributorObjectToJSONSerializer","getCreateDistributorEventJSON","distributor_id","getScopeJSON","getType","getMappingJSON","distributorNameMapping","mapped_distributor_name","getMappedDistributorName","getRetailerId","DistributorUtils","getDistributorWithNewReps","distributorRepsById","newReps","distributorRep","repId","getDistributorWithNewLastUpdateEvent","userAccountId","contextId","UserAccountIdAndTimestamp","DateTime","toTimestampWithMillisecondPrecision","getDistributorWithNewConfirmationEvent","copyDistributorModificationFields","oldDistributor","newDistributor","validateDistributorRep","Validation","validateRequired","validateEmailAddress","cleanDistributorName","distributorName","EstablishmentId","OMNIVORE_SUPPORTED_POS_NAMES","aloha","brink","dinerware","lavu","maitreD","micros","positouch","xpient","squirrel","ALL_INTEGRATION_NAMES","_extends","breadcrumb","toast","lightspeed","square","omnivore","clover","kSeries","spotOn","heartland","rSeries","jonas","fintech","usfoods","sysco","OMNIVORE_SUPPORTED_POS_TYPES","isOmnivoreSupportedPos","isOmnivoreSupportedPosName","ALL_POS_INTEGRATION_TYPES","getSortedStorageAreaIds","getStorageAreasById","getSortedProductIdListsByStorageAreaId","productCountEventsByProductId","matchCount","getInventoryConfiguration","getProductCountEventsByProductIdByStorageAreaId","getInventoryCountTime","getInventoryCountType","getCreationMetadata","getFinalizationMetadata","getDeletionMetadata","getNote","getByCategoryValue","inventoryCountTypeByValue","getCount","userAccountIdAndTimestamp","getProductCounts","getUserAccountIdAndTimestamp","InventoryCountSortByOption","inventoryCountUtils","getTotalContainerProductCountsByProductId","productCountsByProductId","productCountUtils","isProductCountEventEmpty","getTotalProductCountFromProductCountEvent","totalContainerProductCountsByProductId","packagingsAndMappings","productCountsSum","sumProductCounts","defaultProductQuantityUnitForDisplay","getContainerPackagingId","getPackaging","convertProductCountUnit","getProductCountsByStorageAreaIdByProductId","productCountsByStorageAreaIdByProductId","getExcelExportURL","usageStartInventoryCountId","groupByOption","sortBy","groupBy","GroupByOption","ALL_ITEMS","DISTRIBUTOR","ITEM_TYPE","LAST_EDITED","GL_CODE","MENU_GROUP","getTotalAndStorageAreaCountSummary","costsByProductId","numberOfTotalCountableItems","numberOfTotalCountedItems","totalSittingValueInDollars","countSummaryByStorageAreaId","storageAreaNumberOfCountedItems","storageAreaSittingValueInDollars","cost","totalProductCount","productCostUtils","totalDollarCostOfQuantity","getQuantityInUnit","storageAreaNumberOfCountableItems","sittingValueInDollars","numberOfCountedItems","numberOfCountableItems","totalCountSummary","FreeTrialStatus","freeTrialType","maxActionItemCountByName","currentActionItemCountByName","FreeTrialType","ACTION","TIME","getIsInFreeTrial","getFreeTrialType","getEndDate","getMaxActionItemCountByName","getCurrentActionItemCountByName","getIsFreeTrialExpired","isBefore","inventories","orders","salesItems","getNumberOfTrialActionsRemaining","getIsExpiredByAction","numRemaining","createRetailerScope","createGroupScope","createGlobalScope","LocationJSONToObjectSerializer","accountTypeValue","getFreeTrialStatus","freeTrialStatusObject","free_trial_type","max_action_item_count_by_name","sales_items","current_action_item_count_by_name","UserActionLogCommentId","BY_ID_KEY","invoiceUploadsTagGetter","allItems","unreviewed","delivery","deliveryId","invoiceUpload","uploadId","getExistingInvoiceUploadsByDeliveryId","selectArg","_invoiceUploadApi$end","invoiceUploadApi","getInvoiceUploadsByDeliveryId","patchInvoiceUploadDeliveryCache","patchArgs","existing","uploadIds","currentDeliveryId","findCurrentDeliveryIdForUpload","currState","invalidateDelivery","newDeliveryId","upsertUpload","oldMap","newMap","_extraOptions","_baseQuery","loc","invoiceUploadService","missing","currentCache","uploadsById","dId","loc1","deliveries1","loc2","deliveries2","_upload","getUnreviewedInvoiceUploadsById","locId","_err","upload","getLineItemMatchesForInvoiceUpload","_ref4","getLineItemMatchForInvoiceUploadProductId","_ref5","lineItemId","createPurchasingOptionForLineItem","createInvoiceUpload","_ref6","_file","invoiceUploadId","invalidatesTags","_deliveryId","createInvoiceUploads","_ref7","results","invoiceUploadsById","setInvoiceUploadDeliveryId","_ref8","patch","submitInvoiceUploadsForProcessing","_ref9","_mergeFiles","uId","setInvoiceUploadName","_ref0","setInvoiceProcessingResultIsConfirmed","_ref1","rejectInvoiceProcessingResult","_ref10","GLOBAL_RETAILER_ID","reassignInvoiceLineItemsToRetailer","_ref11","targetLocId","reassignInvoicesToRetailer","_ref12","invoiceUploadIds","deleteInvoiceUploads","_ref13","Delivery","datePlacedUTC","dateDeliveredUTC","deliveryLineItems","priceAdjustmentsByProductCategoryId","uncategorizedPriceAdjustments","taxesByName","invoiceNumber","userDefinedTotal","noteToRep","noteToSelf","distributorReps","recordedByName","dateRecordedUTC","deliveryConfirmationEventTimeUTC","deliveryConfirmationUserId","hiddenInvoiceUploadLineItemIdsByInvoiceUploadId","processedInvoiceUploadAdjustmentIdsByInvoiceUploadId","processedInvoiceUploadTaxIdsByInvoiceUploadId","approvalEvent","readyForApprovalEvent","isDraft","deliveryLineItem","getInvoiceUploadId","invoiceUploadLineItemId","getInvoiceUploadLineItemId","hiddenInvoiceUploadLineItemIds","getDatePlacedUTC","getDateDeliveredUTC","getDeliveryLineItems","getPriceAdjustmentsByProductCategoryId","getUncategorizedPriceAdjustments","getTaxesByName","getInvoiceNumber","getUserDefinedTotal","getNoteToRep","getNoteToSelf","getDistributorReps","getDateRecordedUTC","getRecordedByName","getDeliveryConfirmationEventTimeUTC","getDeliveryConfirmationUserId","getHiddenInvoiceUploadLineItemIdsByInvoiceUploadId","getProcessedInvoiceUploadAdjustmentIdsByInvoiceUploadId","getProcessedInvoiceUploadTaxIdsByInvoiceUploadId","getApprovalEvent","getReadyForApprovalEvent","getLastUpdateEvent","getIsDraft","DeliveryLineItem","discount","tax","otherAdjustments","getPricePerUnit","getDepositPerUnit","getDiscount","getTax","getOtherAdjustments","InvoiceProcessingData","requestUserId","requestTime","childInvoiceResultCount","processedInvoiceUploadIdsByChildInvoiceExternalId","resultTime","reviewUserId","reviewTime","rejectionEvent","getRequestUserId","getRequestTime","getResult","getResultTime","getReviewUserId","getReviewTime","getRejectionEvent","getChildInvoiceResultCount","getProcessedInvoiceUploadIdsByChildInvoiceExternalId","InvoiceProcessingResultAdjustment","_name","_amount","_validationResults","validationResults","generateAdjustmentId","InvoiceProcessingResultLineItem","unitDeposit","packSize","normalizedLineItem","normalizedPackaging","getLineItemId","getSku","getUnitDeposit","getPackSize","getNormalizedLineItem","getNormalizedPackaging","getValidationResults","getTotalCost","InvoiceProcessingResultSource","InvoiceProcessingResultTax","generateTaxId","InvoiceStatus","invoiceStatusByValue","getByInvoiceStatusValue","invoiceStatusValue","invoiceStatus","getAllInvoiceStatuses","getAvailableInvoiceStatusesForRetailerFeatures","retailerFeatures","availableInvoiceStatuses","invoice_processing","PROCESSING","any_invoice_ingestion","ATTACH_TO_DELIVERY","NEEDS_REVIEW","READY_FOR_APPROVAL","InvoiceUpload","uploadUrl","uploadTime","fileExtension","invoiceProcessingData","isOnboarding","getUploadUrl","getUploadTime","getFileExtension","getDeliveryId","getInvoiceProcessingData","getIsOnboarding","InvoiceUploadId","OrderStatus","PriceAdjustment","amountInDollars","standardAdjustmentId","getAmountInDollars","getStandardAdjustmentId","getGLCode","ordersTagGetter","getExistingDeliveriesById","_ordersApi$endpoints$","ordersApi","getDeliveriesById","patchDeliveryCache","getDeliveryAndDeliveryHash","orderingService","getDeliveryMetadataForLocationInPeriod","_sess","dateTypes","dateTypesStr","getDraftDeliveriesForLocationInPeriod","getDeliveryCountForLocation","updateDelivery","_loc","updatedDelivery","deleteOrderRecord","addOrderItemsToCart","getTotalCostOfDeliveryLineItem","lineItem","parseFloat","numberUtils","ToFixed","getTotalTaxes","totalTaxes","taxValue","getTotalCostOfCategoryAdjustments","totalCostOfCategoryAdjustments","productCategoryId","priceAdjustmentsForCategoryTotal","accumulator","adjustmentValue","getOrderWasCommunicatedToDistributor","communicatedToDistributor","getEmailWasSentForOrder","getSmsWasSentForOrder","DeliveryUtils","getOrderBreakdownByProductCategory","categoriesById","breakdownByCategory","newCategoryId","CategoryId","newCategoryName","productForLineItem","productCategory","getProductCategoryId","costForLineItem","oldValue","getCostOfDeliveryLineItemExcludingDeposit","getTotalUncategorizedAdjustments","getTotalCostOfDelivery","costOfLineItems","costOfUncategorizedPriceAdjustments","costOfTaxes","getTotalCostOfDeliveryGivenPreProcessedDeliveryData","taxesTotal","uncategorizedAdjustmentsTotal","categoryTotal","getTotalFromCategoryBreakdown","getOrderStatus","DELIVERED","COMMUNICATED","RECORDED","getInvoiceStatus","invoiceUploads","IN_PROGRESS","UPLOAD_NEEDED","APPROVED","uploadedInvoice","REJECTED","getErrorMessage","PROCESSING_FAILED","ip_full_service_review","UPLOADED","getInvoiceErrorMessage","getDeliveryWithInvoiceUploadRemoved","lineItems","getDeliveryWithUpdatedInvoiceNumber","newInvoiceNumber","getDeliveryWithUpdatedDeliveryLineItems","newDeliveryLineItems","getProductIdsInDelivery","getNumberOfOrdersByProductIdInDeliveries","deliveriesById","numberOfProductInDeliveriesById","getOrderDetailLink","deliveryIdString","getReadyForApprovalUserName","nameByUserAccountId","GLOBAL_USER_IS_ADMIN","getUserAccountNameString","getUserAccountId","GroupUserPermissionData","lastLogin","retailerPermissions","groupRetailerPermissions","groupPermissions","getUserNameString","getEmailAddress","getIsAdmin","getLastLogin","getFormattedLastLogin","local","getRetailerPermissions","getGroupRetailerPermissions","getGroupPermissions","fromJson","first","last","last_login","permissionData","retailers","is_admin","retailer_permissions","group_permissions","Permission","displayName","derivationRules","getDisplayName","getDerivationRules","display_name","derivation_rules","getPrepEventTime","getLastEditedMetadata","getInputQuantityOfProductByProductId","getOutputQuantityOfProductByProductId","getOutputPriceByProductId","PrepEventUtils","getTotalCostOfProductInOutput","productAmountInOutput","outputPrice","convertProductQuantityToUnit","BaseUnit","unitByValue","isBaseUnit","isBaseUnitValue","unitValue","getByBaseUnitValue","getUnits","isDeleted","getGlCode","getHash","getIsDeleted","getCreationEvent","getConfirmationEvent","getNeedsConfirmationOnCreation","getContext","Conversions","baseUnit","packagingIdConversions","unitOfMeasureConversions","massUnit","volumeUnit","isMassUnit","isVolumeUnit","getBaseUnit","getPackagingIdConversions","getUnitOfMeasureConversions","hasMassUnit","hasVolumeUnit","packagingIdConversionsAreEqual","unitOfMeasureConversionsAreEqual","Mappings","packagingIdMappings","unitOfMeasureMappings","getPackagingIdMappings","getUnitOfMeasureMappings","packagingIdMappingsAreEqual","quantityInUnit","unitOfMeasureMappingsAreEqual","isMassUnitValue","getByMassUnitValue","OldPackaging","quantityOfContent","PackagingUnit","isPackagingUnit","getContent","getQuantityOfContent","Packaging","getPackagingId","otherPackagingId","otherContent","isPackagingUnitValue","getByPackagingUnitValue","PackagingWeight","emptyWeight","fullWeight","getEmptyWeight","getFullWeight","PackagingsAndMappings","packagingData","conversions","nonDeletedPackagingData","availablePackagingByPackagingId","availableVolumeUnits","availableMassUnits","deleted","packaging","currentPackaging","currentPackagingId","currentUnit","conversionsBaseUnit","basePackaging","getBasePackaging","basePackagingProductQuantityUnit","packagingDataToString","resolvedProductQuantityUnit","getPackagingData","getNonDeletedPackagingData","getAvailableMassUnits","getAvailableVolumeUnits","getAvailablePackagingByPackagingId","getConversions","packagingDataIsEqual","otherData","Price","dollarValue","getDollarValue","Product","preferredReportingUnit","weightsByPackagingId","productType","unitPrice","depositInDollars","getPreferredReportingUnit","getOldPackaging","oldPackagingUtils","getOldPackagingFromPackaging","getWeightsByPackagingId","getNewProductCategoryId","getProductType","getPriceInUnit","getQuantityOfPackageInUnit","getUnitPrice","getLegacyCasePriceInDollars","getDepositInDollars","getNeedsConfirmationOnUpdate","weightsByPackageIdIsEqual","packagingWeight","ProductAmount","ProductDistributorAssociation","fromProductDistributorAssociation","productObjectToJSONSerializer","thisDistributorId","isVolumeUnitValue","getByVolumeUnitValue","rnds8","rng","byteToHex","esm_browser_stringify","uuid","esm_browser_validate","esm_browser_v4","rnds","UNIT_DROPDOWN_LABEL","VOLUME_DROPDOWN_LABEL","WEIGHT_DROPDOWN_LABEL","pqu1","pqu2","getQuantityInBaseUnit","resolvedQuantityInUnit","packagingByPackagingId","currentQuantity","currentProductQuantityUnit","contentProductQuantityUnit","conversionQuantity","convertedUnitQuantity","UnitUtils","convertUnitQuantity","unitOfMeasure","mappedProductQuantity","convertedQuantityInUnit","getDisplayTextForProductQuantityUnit","isPlural","resolvedQuantityInUnitMultiplier","displayText","packagingName","getDisplayTextForVolumeOrMassUnit","getPackagingDisplayTextForProductQuantityUnit","displayTextPrefix","displayTextSuffix","packagingContent","getDisplayTextForPackaging","STRICT_NAME_MATCH_PACKAGING_NAMES","packagingMatchesNormalizedPackaging","normalizedPackagingName","normalizedPackagingContent","arePackagingsEqualWithName","packaging0","packaging1","areEqual","content0","content1","getDropdownOptionForUnit","icon","getAvailableUnitOptionsAndLabelNames","includeUnitOfMeasureConversions","productQuantityUnitsToInclude","optionsAndLabelNameTuples","packagingIdDropdownOptions","addedPackagingIds","currentPackagingContent","descriptorString","volumeUnitDropdownOptions","massUnitDropdownOptions","getPackagingWithNewPackagingId","oldPackagingIdToNewPackagingId","generatePackagingIdFunc","oldPackagingId","newPackaging","showContainerType","oldPackaging","volumeOrMassUnit","LITER","MILLILITER","CENTILITER","GALLON","QUART","PINT","OUNCE","GRAM","KILOGRAM","POUND","DRY_OUNCE","productQuantityUnitIsValid","Exception","inputQuantityInBaseUnitOfPackaging","quantityOfOutputUnitInBaseUnitOfPackaging","basePackagingId","getDisplayTextForProductQuantityInUnit","productQuantityInUnit","productQuantityUnitDisplayText","FormatToMaximumTwoDecimalPlaces","getPackagingByNameInPackaging","cleanedName","StringUtils","cleanToken","packagingUnit","getAvailablePackagingOptionsAndLabelNamesForProducts","packagingOptions","packagingNames","massUnitNames","volumeUnitNames","iOption","massUnitName","volumeUnitName","isProductQuantityUnitCompatibleWithPackagings","getBaseUnitOfPackaging","getPackagingForContainedPackagingId","generatePackagingId","uuidVal","uuidv4","layerIndex","indexCounter","currPackage","_getIndexOfTopPackageLayer","layerInfo","getBottlesInPreferredReportingUnit","isCase","getChildProductQuantityUnit","getStringForProductQuantityUnit","getProductQuantityUnitForString","productQuantityUnitValue","convertMassQuantityToKg","convertVolumeQuantityToMl","isMassQuantity","isVolumeQuantity","CategoryUtils","defaultBeverageCategories","defaultFoodCategories","getDefaultCategories","defaultProductCategories","beverage","food","GLOBAL_RETAILER_ACCOUNT_TYPE","colorsByCategoryName","Dairy","Food","Frozen","Meat","Poultry","Produce","Seafood","Spirit","Wine","Champagne","Beer","Cider","Sake","Cocktail","Mixer","Kitchen","Accessory","Other","otherColors","getColorsForCategories","categories","otherColorIndex","normalizeProductCategories","color","getCategoriesFromProductsAndDefaults","products","categorySet","productCategories","getCategoriesFromProducts","categorySort","getCategorySortedOptionsAndLabelNames","group","categoryInformation","makeCategoryOptionFromValue","createCategoryLabelName","normalizeToTitleCase","getProductsWithCategoryById","productsWithCategoryById","getDistributorAdjustmentDependencyNumber","distributorsById","distributorAdjustmentDependencies","adjustment","getCategoryIdFromName","includeDeleted","resultCategoryId","isDuplicateCategoryName","isDuplicate","comparisonCategoryId","categoryCompareFunction","localeCompare","hasCase","getContainer","container","getDisplayTextForUnit","OTHER","getContainerTypeDisplayTextForPackaging","getContainerSizeDisplayTextForPackaging","containerUnit","containerContent","nullableContainerContent","unitDisplayText","spacer","getUnitFromValue","kegContentUnitOptions","allContentUnitOptions","getQuantityInBaseUnitOfPackaging","getQuantityInUnitMass","getQuantityInUnitVolume","getMassInKg","getVolumeInMl","resolvePackagingUnitForProductPackaging","productPackaging","packagingUnitToDisplay","topLevelPackagingUnit","productPackagingContent","productPackagingContentUnit","getPackagingWithDummyPackagingIdsFromOldPackaging","getThriftUnitFromUnit","ProductAmountModel","containerSizeDisplayText","packagingDisplayText","getDisplayTextForPackagingUnitWithProductPackagingAndPluralization","displayPackagingUnit","getValidContentUnitsForContainerType","containerType","isUnitValueValid","getBottlePriceGivenCasePrice","casePrice","numberUnitsInPackage","convertPriceUnit","newUnit","inputQuantityInUnit","outputUnit","getPackagingDataFromPackagingArray","packagings","getFlattenedPackagingInfo","caseSize","containerQuantityOfContent","containerContentUnit","containerContentQuantity","getQuantityOfMassUnit","massInKg","getQuantityOfVolumeUnit","volumeInMl","getPackagingWeightWithDefaultsApplied","contentVolumeML","contentUnit","getContentVolume","bottleVolumeML","netWeightKg","getDefaultBottleNetWeightKg","netWeightQuantity","packagingWeightUtils","getMeasuredFractionFromPackagingWeight","measuredWeight","packagingWeightWithDefaultsApplied","emptyWeightKg","measuredWeightKg","productWeightKg","measuredFraction","getCostInUnit","divideProductCosts","productCost1","productCost2","COST_WARNING_DIFFERENCE_FRACTION","getBottleCostFromProductCost","bottlePackagingId","getProductCostFromBottleCost","bottleCost","numberToDecimal","getProductCostInUnit","getDisplayInfoForProductCost","costAsNumber","displayTextForCostUnit","multi_packaging","resolvedCostAmount","shouldWarnAboutProductCost","referenceProductCost","ratio","getAppropriateDecimalScale","decimalDigits","getProductCount","numberToDecimalRoundingDown","resolveProductCountEvent","resolvedProductCounts","resolveProductCountUnit","getPreferredCountUnitForProductCount","hasMultipleUnits","commonUnit","selectedCountUnit","containerPackagingId","totalProductCountValue","covertedQuantityInUnit","newProductQuantityUnit","resolvedProductCountEvent","preferredCountUnit","totalCount","convertedCount","getSelectedCountUnitForProductCount","selectedCount","getProductQuantityUnitForUnit","baseProductQuantityUnit","casePackagingId","getProductStatus","deletedProductIds","activeProductIds","getProductWithNewPrice","newPrice","getProductWithNewSku","newSku","getProductWithNewCategory","getProductWithNewGLCode","newGLCode","getProductWithConfirmationEvent","priceProductQuantityUnit","PublicContentTypeEnum","getHostname","getPath","PublicContentViewEventTypeEnum","ItemLevelSalesReportConfiguration","creatorUserId","dateProcessed","startingInventoryId","endingInventoryId","salesBySalesItemId","isProcessing","trackedProductIdSet","trackSalesItemsWithNoComponents","usageBottleAdjustmentsByProductId","getCreationTime","getCreatorUserId","getDateProcessed","getStartingInventoryId","getEndingInventoryId","getSalesBySalesItemId","getIsProcessing","getTrackedProductIdSet","getTrackSalesItemsWithNoComponents","getUsageBottleAdjustmentsByProductId","ItemLevelSalesReportConfigurationId","getQuantityAdjustment","getSalesAdjustment","toJson","quantity_adjustment","sales_adjustment","getSalesItemReportUnitPrice","salesEntryPrice","getSalesPrice","getPosItemId","getMenuGroup","PosItemId","itemYieldUnit","servingSizeUnit","getPOSId","getNeedsAttentionCategory","getMiscellaneousCost","getComponentQuantityOfProductByProductId","getComponentServingsBySalesItemId","getItemYield","getServingSize","getSalesItemCustomUnitName","getSalesItem","getIsArchived","SalesItemDisplayUtils","getIngredientsDisplayInformationForSalesItem","salesItemsById","productCostsById","salesItemCostBySalesItemId","ingredientInformationList","costOfIngredient","SalesItemUtils","getCostOfProductComponentInSalesItem","isInactive","ingredientId","ingredientLabel","PrepEventDisplayUtils","getLineItemProductLabel","quantityAmount","quantityUnitLabel","componentServingsQuantity","componentSalesItemId","componentSalesItem","costOfComponentSalesItem","getCostOfComponentSalesItem","getIngredientsDisplayStringForSalesItem","ingredientsInformation","ingredientsList","ingredientInformation","ingredientString","getServingSizeDisplay","quantityOfProductInSalesItem","getLineItemQuantityLabel","calculateCostOfSalesItem","alreadyCalculatedCostsBySalesItemId","salesItemsSeen","alreadyCalculatedCost","totalCostOfProductsInItem","getTotalCostOfProductsInSalesItem","totalCost","totalCostOfSalesItemsInItem","numberOfServings","componentSalesItemWithMetadata","costOfSalesItem","costOfComponentQuantity","getNotNullCostOfComponentSalesItem","getFlatDictOfProductsPerServingInSalesItem","mapOfAllProductQuantitiesPerServing","servingsPerYield","getServingsPerYieldForSalesItem","quantityPerServing","productComponentsInComponentSalesItem","quantityOfProductInServing","quantityOfProductInParentSalesItem","quantityInUnitOfProductInSalesItem","unitToConvertTo","newQuantityInOldUnit","getServingsPerYield","yieldUnit","servingUnit","numberServingsPerOneYieldUnit","quantityInSalesItem","numberOfServingsInMainSalesItem","getSalesTotal","shouldUseGrossSalesForTotalSales","getCostsBySalesItemId","costBySalesItemId","salesItemCost","getCostPercentageOfSalesItem","salesItemPrice","calculatePricePlusTax","taxPercent","calculateSalesItemProfit","getCategoryAndSubCategoryForSalesItem","flattenedMapOfProductsInSalesItem","subcategory","productsInSalesItem","categoryValue","getSalesPriceFromCostPercent","costPercent","getSalesPriceFromPriceAndTax","pricePlusTax","getSalesPriceFromSalesProfit","salesProfit","areSalesItemsEqual","salesItem1","salesItem2","allProductComponentsAreEqual","quantityInUnit1","quantityInUnit2","resolved1","resolved2","allSalesItemComponentsAreEqual","numberServings1","numberServings2","flattenSalesItemsIntoProductPerServingComponents","flattenedProductComponentsBySalesItemId","flattenedProductComponents","getDistributedSalesByProductIdForSalesItems","includeMiscCost","salesByProductId","unallocatedSalesBySalesItemId","totalSales","productAmountsPerServing","byProductId","distributedSalesByProductId","unallocated","getDistributedSalesByProductIdFromSalesItem","salesTotal","unmapped","ingredientCostByProductId","totalCostOfProductsInSalesItem","costOfProductComponentInSalesItem","componentCost","distributedSales","existingDistributedSales","getDistributedSalesForMiscCostFromSalesItem","miscCost","findSalesItemCircularReferencePath","startSubcomponents","stack","indexInStack","parent","rawCycle","dfs","sId","salesSubcomponents","_color$get","subcomponents","stackIdx","hasCycle","cyclePath","pathToEntry","cur","_parent$get","reverse","getSalesItemIdsReferencingProducts","componentProductIds","sourceLocationId","targetLocationId","lastUpdate","getSourceLocationId","getSourceProductId","getSourceQuantityOfProduct","getTargetLocationId","getTargetProductId","getTargetQuantityOfProduct","getMatchAlgorithm","getLastUpdate","TransferId","TransferReportData","requestMetadata","sentMetadata","receivedMetadata","cancellationMetadata","cancellationNote","getPerspectiveLocation","getProductAmounts","getPartnerLocation","getDirection","getRequestMetadata","getSentMetadata","getReceivedMetadata","getCancellationMetadata","getCancellationNote","TransferStatus","REQUESTED","SENT","TransferUtils","getTransferStatus","transfer","getTransferReportData","getTransferIsRequisition","UsageCalculationParameters","unitCountsByProductIdByStorageAreaIdForStartingInventory","unitCountsByProductIdByStorageAreaIdForEndingInventory","unitCountsByProductIdByDeliveryId","unitCountsByProductIdByTransferId","inputUnitCountsByProductIdByPrepEventId","outputUnitCountsByProductIdByPrepEventId","unitCostsByProductId","getUnitCountsByProductIdByStorageAreaIdForStartingInventory","getUnitCountsByProductIdByStorageAreaIdForEndingInventory","getUnitCountsByProductIdByDeliveryId","getUnitCountsByProductIdByTransferId","getInputUnitCountsByProductIdByPrepEventId","getOutputUnitCountsByProductIdByPrepEventId","getUnitCostsByProductId","UsageData","usageCalculationParameters","usageByProductId","getUsageCalculationParameters","getUsageByProductId","UsageDataUtils","getDeliveriesAndTransfersAndPrepsCounts","unitCountByDeliveryId","unitCountByTransferId","inputUnitCountByPrepEventId","outputUnitCountByPrepEventId","deliveriesUnitCountInPreferredReportingUnit","deliveriesUnitSum","unitCount","transfersInUnitCountInPreferredReportingUnit","transfersOutUnitCountInPreferredReportingUnit","prepEventsInputUnitCountInPreferredReportingUnit","prepEventsOutputUnitCountInPreferredReportingUnit","deliveriesAndTransfersAndPrepsTotalCountInPreferredReportingUnit","transferAmounts","transferAmount","unitCounts","deliveriesUnitCount","transfersInUnitCount","transfersOutUnitCount","prepEventsInputUnitCount","prepEventsOutputUnitCount","deliveriesAndTransfersAndPrepsTotalCount","getUnitCountByProductIdByDeliveryId","unitCountInPreferredReportingUnitByProductIdByDeliveryId","deliveryLineItemQuantityInUnit","lineItemContainerCount","oldUnitCount","getUnitCountsByProductIdByPrepEventId","prepEventsById","inputUnitCountByProductIdByPrepEventId","outputUnitCountByProductIdByPrepEventId","unitCountByPrepEventId","productInputQuantityUnit","productOutputQuantityUnit","getUnitCountByProductIdByTransferId","transferReportWithoutCostsById","unitCountByProductIdByTransferId","transferReport","transferId","transferReportData","productAmount","productAmountUnitCount","getUnitCountByProductIdByBreakageId","breakageReportsByBreakageId","unitCountsByProductIdByBreakageId","breakageReport","breakageId","getBreakageReportData","unitCountByBreakageId","unitCountValue","additionalUnitCount","getAverageWeeklyUnitUsageByProductId","startingInventoryCountMetadata","endingInventoryCountMetadata","usageData","millisecondsBetweenInventories","ThriftInt64ToNumber","multiplier","averageWeeklyUnitUsageByProductId","productUsageData","unitUsage","InvalidInviteException","getTimestamp","getContextId","currentUserAccountId","namesByUserAccountId","nameString","getUserAccountIdAndTimestampString","timestampDateTime","getDateTimeFromTimestamp","getTimezoneFromString","GLOBAL_RETAILER_TIME_ZONE","userAccountIdAndTimestampObject","user_account_id","rawTimestamp","normalizedTimestamp","$date","momentObjectToThriftSerializer","getThriftTimestampFromMoment","context_id","NULL_BREAKAGE_TYPE_LABEL","DEFAULT_BREAKAGE_TYPE_LABELS","PrepEventInputsPopover","render","anchorContentLabel","popoverIsShown","setPopoverShown","inputLineItems","inputQuantity","prodId","productLabel","yieldLabel","_jsxs","className","children","_jsx","popoverContent","Popover","showOnHover","preferredPositionArray","popoverContentIsShown","setPopoverContentIsShown","anchorContent","lastPrepEventsById","lastProductsById","prepEventLabelStringsCache","getPreparedItemsAndYieldLabels","outputProductIds","highestCostOutputProductId","highestCostOutputYield","quantityOutput","highestCostTotalAndQuantityYieldAndProductId","productA","outputQuantityA","totalCostA","productWithHighestCost","outputProductsLabel","outputYieldsLabel","preparedItems","yield","getIngredientsLabel","numberOfIngredients","getLabelsForPrepEventIds","prepEventIds","labelsByPrepEventId","cachedValue","labels","isTokenInString","createPrepEventStringForFilter","typeLabel","productStrings","cleanPhrase","prepEventFilterStringCache","PrepEventsSortingUtil","SortingFilteringAndGroupingUtil","rowIdComparator","prepEventId1","prepEventId2","columnSort","extraArgs","sortedBy","prepEvent1","prepEvent2","comparisonResult","diff","SortDirection","DESCENDING","rowIdFilterFunction","cleanedFilterTerm","prepEventStringForSearch","cachedCreatePrepEventStringForFilter","cacheValue","prepEventStringForFilter","filterTokens","getGroupNameForRowId","groupComparator","groupName1","groupName2","intermediateResultCacheIsValid","rowIds","lastRowIds","lastExtraArgs","InformationFromPOS","salesItemFormInfo","onOmitClick","salesInformationForm","salesItemInfoForm","salesItemName","Button","buttonClassName","isDisabled","onClick","FormatMonetaryValueWithCents","INPUT_DISPLAY_FOR_NOT_CALCULABLE","MapViewSalesInformation","handleOnMiscCostEnterOrBlur","currentTarget","handleSetMiscellaneousCostInputShown","onSalesInformationFormFieldBlur","handleOnMiscCostChange","onSalesInformationFormFieldChange","handleShowMiscellaneousCost","validationInputDataByFieldName","retailerTaxPercentage","salesPriceAndTaxHintShown","miscellaneousCostInputIsShown","handleSetSalesPriceAndTaxHintIsShown","costPercentage","priceAndTax","formattedRetailerTaxPercentage","SalesItemManagerUtils","formatPercent","totalCostValue","NOT_CALCULABLE_FIELD_VALUE","costPercentageValue","salesProfitValue","priceAndTaxValue","Flex","align","rel","ValidationInput","theme","ValidationInputTheme","BasicInverted","hintText","autoFocus","autoComplete","inputClassName","handleEnterClick","handleChange","handleBlur","handleFocus","isCurrencyInput","actionKeyCodeSet","ActionKeyCodes","MapSalesItemView","userIsAdmin","contextOrderedIds","onlyShowAllTimeSaveOption","posInformationByPosItemId","totalUnmappedCount","getDisplayedFlag","createOrEditSalesItemState","salesItemFormData","_salesItemFormData$sa","salesItemFlagUtils","handleSnackBarClose","CreateOrEditSalesItemActions","setComponentIsShown","onSaveClick","onSave","contextItemLevelReportId","onClose","editedProductIds","SalesItemSaveOption","ALL_REPORTS","oldSalesIdToNewSalesIdMap","resetSalesItemForm","setIdToGoToAfterSave","handleOpenApplyChangesDialog","onSaveAndContinueFromUnsavedChangesDialog","closeUnsavedChangesDialog","onIngredientInfoFormFieldChange","fieldName","onProductRowFormFieldChange","onProductRowFormFieldBlur","onIngredientRowFormFieldBlur","onSalesItemRowFormFieldChange","onSalesItemRowFormFieldBlur","onAddIngredient","slimCreatePromiseIfApplicable","isShownByComponentName","createNewSalesItemFields","onSlimCreateNewSalesItemIngredient","currentNumberOfIngredients","salesItemForm","orderedIngredientItems","setIngredientSearchBarTerm","toggleSubRecipeInfoIsShown","subRecipeInfo","onRemoveIngredientClick","setProductIngredientItemsRow","setSalesItemIngredientItemsRow","onGetAndUpdateTotalCost","setSalesPriceAndTaxHintPopoverIsShown","isShown","toggleMiscellaneousCostIsShown","handleOnShowConfirmExitDialog","CreateOrEditSalesItemFormUtils","checkFormHasChangedFromInitial","onCloseModalWithoutSaving","onSelectSaveOption","selectedSaveOption","setSelectedSaveOption","onApplySaveChanges","isCustomerSuccessTool","newContextOrderedIds","closeApplyChangesDialog","searchTerm","onSetIngredientSearchBarTerm","setHighlightedIngredientId","setIngredientSearchBarHighlightedIngredientId","setIngredientDropdownIsShown","setSearchBarSlimCreateIsShown","ingredientSearchBar","searchBar","ProductSlimCreateFormActions","onFormFieldChange","resetAddNewIngredientFormSection","setCreateNewSalesItemFieldsAreShown","onSelectIngredient","onSlimCreateNewProductIngredient","onProductCreatedOrEdited","resetForm","onSalesItemFlagChange","flag","setNeedsAttentionCategory","onMarkFlagAsResolvedClick","setIngredientPopoverIsShownForId","setPopoverIngredientIdIsShown","onProductInfoFullDetailsClick","onEditItemClick","handleSetDoNotAskForSaveOptionsAgain","isChecked","doNotAskForSaveOptionsAgain","onPreviousButtonClick","previousSalesItemId","initializeFormFromSalesItem","onNextButtonClick","nextSalesItemId","handleActionButtonClick","onActionButtonClick","setShortcutPopoverIsShown","onDocumentKeyUp","closestInput","closest","closestTextArea","keyCode","preventDefault","stopPropagation","RIGHT_ARROW","LEFT_ARROW","selectedNeedsAttentionCategory","availableSalesItemFlags","onCustomItemSuccessfullyEdited","isStatusActive","onDeleteProductFromEditItemModal","onItemActiveStateChangedFromEditItemModal","onOmitItemClick","closeOmitItemDialog","onConfirmOmitItem","onOmitItem","idToGoToNext","oldIndex","findIndex","initialContextOrderedIds","item_level_sales_reporting","initialRemainingUnmappedCount","componentDidMount","initialItem","posItemsByPosId","unmappedSalesEntries","initialDataPromise","fetchInitialData","$","on","componentWillUnmount","off","actionButtonText","popoverIngredientIdIsShown","mappedStatus","MappedStatus","DELETED","UNMAPPED","MAPPED","mappingIconClassName","mappingStatusText","canOmit","actionButton","saveInProgress","salesItemPaginationContainer","MediaQuery","maxWidth","MAX_MOBILE_WIDTH","justify","minWidth","MIN_TABLET_WIDTH","pluralizeNumber","PageHeader","PageHeaderTheme","Default","PageTitle","heading","darkTheme","shortcutPopover","LoadingCover","hasLoadingIcon","SalesItemFlagSelector","selectedFlagValue","onFlagChange","SalesItemFlagAlert","onMarkAsResolvedClick","IngredientInfo","handleOnRemoveIngredientClick","setSearchTerm","ingredientSearchBarDropdownIsShown","ingredientSearchBarDropdown","slimProductCreateIsShown","searchBarSlimCreate","createNewSalesItemFieldsAreShown","setSlimCreateIsShown","popoverIngredientIds","onSlimCreate","salesItemCostOnForm","showOrHideSubRecipeInfoFields","subRecipeInfoFieldsAreShown","showIngredientPriceInDropdown","showProTipForEmptyIngredients","isItemMapping","salesPriceAndTaxHintPopover","unsavedChangesModal","UnsavedChangesDialog","saveDisabled","onCancelClick","onNavigateWithoutSavingClick","onSaveAndContinueClick","applyChangesModal","ApplyChangesDialog","isInsideItemLevelReport","doNotAskMeAgainIsChecked","onSetDoNotAskMeAgain","omitItemConfirmationDialog","Dialog","buttons","classes","headerText","SnackBar","onSaveSnackBar","callToActionLabel","handleCloseButton","ConnectedMapSalesItemView","connect","productSlimCreateFormState","CreateOrEditSalesItemActionTypes","SET_SALES_ITEM_ID","SET_NEEDS_ATTENTION_CATEGORY","SET_SELECTED_INGREDIENT_TYPE","SET_SALES_ITEM_FORM_VALIDATION_BY_FIELD_NAME","SET_INGREDIENT_FORM_VALIDATION_BY_FIELD_NAME","SET_SALES_INFORMATION_FORM_VALIDATION_BY_FIELD_NAME","SET_SALES_ITEM_FORM_DATA","SET_LINKED_ITEMS","ADD_EDITED_PRODUCT_ID","CLEAR_EDITED_PRODUCT_IDS","SET_COMPONENT_IS_SHOWN","SET_POPOVER_INGREDIENT_ID_IS_SHOWN","UPDATE_MENU_GROUP","SET_SORTED_MENU_GROUP_OPTIONS","SET_SALES_ITEM_FORM","SET_PRODUCT_INGREDIENT_ITEMS_ROW","SET_PRODUCT_QUICK_ADD_ITEMS_ROW","SET_SALES_ITEM_INGREDIENT_ITEMS_ROW","RESET_SALES_ITEM_FORM","SET_SELECTED_SAVE_OPTION","SET_INGREDIENT_SEARCH_BAR_HIGHLIGHTED_ID","SET_INGREDIENT_SEARCH_BAR_STATE","SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_PRODUCT_IDS_TO_DISPLAY","SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_SALES_ITEM_IDS_TO_DISPLAY","SET_SELECTED_INDREDIENT_ID","RESET_ADD_NEW_INGREDIENT_FORM_SECTION","SET_DEFAULT_POUR_BY_PRODUCT_CATEGORY","SET_NEXT_AND_PREVIOUS_IDS","SET_ID_TO_GO_TO_AFTER_SAVE","SET_INGREDIENT_SEARCH_BAR_LABEL_NAME_AND_SORTED_PRODUCT_QUICK_ADD_ITEMS_TO_DISPLAY","SET_SALES_ITEM_IMAGE_UPLOAD_URL","setSalesItemId","setSalesItemFormValidationByFieldName","setIngredientFormValidationByFieldName","setSalesInformationFormValidationByFieldName","setSalesItemFormData","setLinkedItems","linkedItems","componentName","updateMenuGroup","setSortedMenuGroupOptions","sortedOptions","setSalesItemForm","formInfo","setSelectedIngredientId","selectedIngredientId","setNextAndPreviousItemIds","setSalesItemImageUploadUrl","salesItemImageUploadUrl","extraArguments","isFocused","handleSortingFilteringAndGrouping","LINKED_PRICE_FIELDS","field","validateValueByFieldName","costValue","itemCost","valueAsNumber","formStringValues","getDependentSalesInformationFormValues","keyAsCorrectType","newTotalCost","miscCostValue","costFromIngredients","salesItemCostsById","getCachedSalesItemCostsForIds","salesItemIngredientItemsById","totalProductIngredientCost","totalSalesItemIngredientCost","productIngredientItemsById","productIngredientRow","formInfoForRow","productQuantity","productJSONToObjectSerializer","productCostPerQuantity","salesItemIngredientRow","salesItemCostPerQuantity","getNumberFieldStringFromValue","salesItemPriceForm","onUpdateTotalCost","onValidateForm","formIsValid","fieldKey","salesInformationFormInfo","valueToCheck","isValidForProductPackaging","ingredientFormInfo","ingredientForm","yieldAndServingSizeFieldsAreAllValid","yieldAndServingSizeAreCompatible","validateServingSizeAndYieldAreCompatible","yieldAmount","servingSizeAmount","fetchAndUpdateDataForSalesItemIds","userSessionId","services","userSessionReader","relevantSalesItemsById","salesItemService","allRelevantProductIds","relevantUserAccountIds","menuGroups","currentMenuGroups","menuGroupOptions","newSalesItemsById","userAccountPromise","userAccountInfoReader","getNamesForAccountIds","productsByIdPromise","productCostPromise","productService","getProductsById","productCostService","productsAndUsersResponse","categoryService","getCategoriesForRetailer","newNamesByUserAccountId","userNames","newProductsById","newProductCostsById","defaultPourByProductCategory","newSortedMenuGroupOptions","allMenuGroups","newGroup","getSortedMenuGroupOptions","batchActions","throttledHandleSortingFilteringAndGrouping","throttle","salesItemIdsToIncludeInDropdown","ProductSearchBarSortingUtil","getSortedFilteredAndGroupedResult","ASCENDING","SalesItemSearchBarSortingUtil","sortingResults","productSortingResult","salesItemSortingResult","sortedProductRowIdsToDisplayByGroupName","sortedRowIdsToDisplayByGroupName","sortedProductGroupNamesToDisplay","sortedGroupNamesToDisplay","labelNamesAndSortedProductIdsToDisplay","groupName","sortedSalesItemRowIdsToDisplayByGroupName","sortedSalesItemGroupNamesToDisplay","labelNamesAndSortedSalesItemIdsToDisplay","setIngredientSearchBarLabelNamesAndSortedProductIdsToDisplay","setIngredientSearchBarLabelNamesAndSortedSalesItemIdsToDisplay","leading","hideSnackBarTimeoutPid","loadSalesItemImage","salesInputRowId","updateSalesItemIdInURL","newURL","URLStringUtils","replaceOrRemoveURLParameter","pushState","onSalesItemFormFieldChange","previousProductIngredientRowInfo","newProductIngredientRowInfo","oldIngredientInfo","newIngredientRowInfo","newSalesItemIngredientRowInfo","createMenuGroupOption","optionText","cleanedOptionValue","newMenuGroupOptions","shouldPrePopulateIngredientSearch","salesItemDataPromise","updatedData","oldForm","newSalesItemForm","shouldPrepopulateSearchAndOpenDropdown","getSalesItemFormFromSalesItemWithMetadata","getLinkedSalesItems","information","getSalesItemFormFromPosItem","indexOfItem","shouldShowMiscCostLink","unitForForm","quantityForFrom","defaultPourForCategory","productPackagingsAndMappings","oldUnit","ingredientQuantityUnit","newQuantityInUnit","ingredientQuantityAmount","contextReportId","salesItemInfo","getSalesItemInfo","salesItemIdForCheck","updatedSalesItemsById","newSalesItemWithMetadata","GLOBAL_USER_ID","oldToNewMap","old","savePromise","SINGLE_REPORT","THIS_AND_FUTURE_REPORTS","allIds","salesItemIdsToRefetch","NOTIFICATION_TIMEOUT_IN_MILLISECONDS","getAllRelevantSalesItemsByIdPromise","getNonDeletedSalesItemIdsForLocation","allRelevantIds","locationProductService","getActiveProductIds","locationSettingsService","getRetailerTaxPercent","getDefaultPourForRetailer","getDeletionEventsByProductId","deletionEventsByProductId","sortedMenuGroupOptions","salesItemIdsReferencingProduct","productsResponse","newActiveProductIds","newCategoriesById","newProduct","newCategory","productCategorySet","getCategoriesById","addEditedProductId","createNewItemFormIsValid","slimCreateSalesItemFormFieldNames","fieldNameToCheck","newSalesItemYieldAmount","newSalesItemServingSizeUnit","newSalesItemServingSizeAmount","getSalesItemFromSubrecipeSlimCreateFields","setDefaultPourByProductCategory","idToGoToAfterSave","onSaveCallback","updatedContextOrderedIds","newId","newIdForOldId","detail","Observer","observeAction","exportSalesItemToExcel","locationName","GLOBAL_RETAILER_NAME","saveSalesItemImage","sales_item_id","deleteSalesItemImage","isUpdating","setIsUpdating","linkedSalesItems","headerTextString","itemsAffectedSection","linkedItemRows","linkedItemId","linkedSalesItem","linkedItemName","servingsOfCurrentItem","saveOptionsButtons","RadioButton","labelOrientation","LabelOrientation","RIGHT","onSelectAllReportsSaveOption","RadioButtonTheme","onSelectSingleReportSaveOption","onSelectThisAndFutureReportsSaveOption","CheckBox","checkBoxTriState","CheckBoxTriState","Checked","Unchecked","toggleCheckbox","ProductIngredientRow","doNothing","ingredientRowInfo","onProductRowQuantityAmountChange","onProductRowQuantityAmountEnterOrBlur","onFormFieldBlur","handleOnSelectProductRowUnit","selectedUnitValue","ingredientCostPerQuantity","productInfoIsShown","handleSetProductInfoPopoverIsShown","unitsForDropdown","ingredientQuantityUnitSelectedOption","unitOptionsAndLabelName","unitOption","costDisplayInfo","ingredientCost","statusClassName","InfoPopover","vendorIsHidden","setProductInfoIsShown","onFullDetailsClick","Select2DropdownMenu","Select2DropdownMenuTheme","onOptionSelect","sortedOptionsAndLabelName","selectedOption","placeholderText","hasCreateCustomOption","createCustomOption","buttonShouldDisplaySelectedLabel","emptyState","isSearchable","selectedOptionHeaderShown","customOptionGroupLabel","createCustomOptionButtonLabel","SalesItemInfoPopover","setSalesItemInfoIsShown","salesItemInfoIsShown","salesItemIngredients","salesItemTotalCost","menuGroupText","yieldQuantity","costPercentageCalculation","grow","BrandAndName","ingredient","toFixed","SalesItemIngredientRow","onSalesItemRowQuantityAmountChange","onSalesItemRowQuantityAmountBlurOrEnter","subrecipeCostsById","handleSetSalesItemInfoIsShown","subrecipeName","subrecipeCost","subrecipeCostPerServingSize","salesItemIngredientCostPerQuantity","salesYield","salesYieldUnit","pricePerServing","salesServingSize","salesServingUnit","pricePerServingDisplay","servingsPerOneYieldUnit","convertUnit","servingsPerOneYieldUnitInOz","AddedIngredients","createIngredientRows","costsBySalesItemId","onProductFormFieldBlur","costByProductId","handlePopoverIngredientIdIsShown","ingredientRow","quantityOnForm","ingredientRows","IngredientSearchBar","servingSizeAndYieldUnitDropdownOptions","onCreateNewProductClick","ItemCardEvents","loadCreateItemModal","createIngredientOptionRow","highlightedIngredientId","showIngredientProductPrice","isHighlighted","ProductOptionRow","isAdded","showPricePerLowestUnit","onSearchBarEnterClick","onSearchTermValueChange","onClearSearchTerm","onOptionClick","setHighlightedOptionKeyboard","setHighlightedOptionMouse","onNewSalesItemYieldAmountChange","handleOnSelectNewSalesItemYieldUnit","onNewSalesItemServingSizeAmountChange","handleOnNewSalesItemSelectServingSizeUnit","onNewSalesItemNameChange","getServingSizeAndYieldDropdownOptions","searchBarTheme","searchBarPlaceholderText","dropdownIsShown","newSalesItemYieldUnitSelectedOption","newSalesItemYieldUnit","newSalesItemServingSizeUnitSelectedOption","labelNamesAndSortedIngredientIds","newItemName","SearchBarWithSuggestedOptions","searchSuggestionListIsShown","labelNamesAndSearchSuggestions","highlightedSearchSuggestion","moreOptionsHeader","moreOptionsFooter","searchBarIsMobileComponent","setSearchSuggestionListIsShown","createSuggestionOptionElement","setHighlightedSearchSuggestionKeyboard","setHighlightedSearchSuggestionMouse","closeMobileSearchBar","dropdownRowClassName","dropdownContainerClassName","newSalesItemName","SubRecipeInfo","onYieldAmountChange","handleOnSelectYieldUnit","onServingSizeAmountChange","handleOnSelectServingSizeUnit","salesItemPriceOnForm","yieldUnitSelectedOption","servingSizeUnitSelectedOption","salesItemCostPerServing","salesItemPricePerServing","salesCostOnFormIsValid","yieldAndServingSizeFieldsAreValid","yieldAndServingSizeFromForm","getYieldAndServingSizeInfoFromForm","Basic","onIngredientQuantityAmountChange","handleOnSelectIngredientQuantityUnit","ingredientValidationInputDataByFieldName","productIsSelected","addItemButtonIsDisabled","selectedItemName","selectedItemPackagingInfo","subrecipeSalesItem","SearchBarTheme","availbleFlagsAsOptions","handleOnFlagChange","selectedFlag","DEFAULT_MENU_GROUP_OPTIONS","optionValue","DEFAULT_SERVING_AND_YIELD_UNIT","DEFAULT_SERVING_AND_YIELD_AMOUNT","ingredientFormInitialState","salesItemInformation","saveIsDisabled","flaggedSalesItemAlert","linkedSalesItemInfo","excludedSalesItemAlert","ingredientInfoPopover","linkedItemsPopover","generateNewOrderedIngredientItems","isRemoveIngredient","previousRowIndex","existingIngredientId","newOrderedIngredientItems","CreateOrEditSalesItemReducers","reduceSetSalesItemId","reduceSetNeedsAttentionCategory","reduceSetSalesItemFormValidationByFieldName","reduceSetIngredientFormValidationByFieldName","reduceSetSalesInformationFormValidationByFieldName","reduceSetSalesItemFormData","reduceSetLinkedItems","reduceAddEditedProductId","newEditedProductIds","reduceClearEditedProductIds","reduceSetComponentIsShown","reduceSetSelectedPopoverIngredientIds","newIngredientPopoverId","reduceUpdateMenuGroup","reduceSetSalesItemForm","reduceResetSalesItemForm","reduceSetProductIngredientItemsRow","reduceSetSalesItemIngredientItemsRow","reduceSetSortedMenuGroupOptions","reduceSetIngredientSearchBarHighlightedIngredientId","reduceSetSelectedSaveOption","reduceSetIngredientSearchBarLabelNamesAndSortedProductIds","reduceSetIngredientSearchBarLabelNamesAndSortedSalesItemIds","reduceSetIngredientSearchBarState","reduceSetSelectedIngredientId","reduceResetAddNewIngredientFormSection","reduceSetDefaultPourByProductCategory","reduceSetNextAndPreviousItemIds","reduceSetIdToGoToAfterSave","reduceSetSalesItemImageUploadUrl","getFieldUnitType","fieldValue","salesItemById","ingredientInfo","itemYieldAmount","itemServingSizeAmount","itemServingSizeUnit","constructValidationInputForInitialStringValue","validateNonNegativeNumber","validateNumber","validatePercentage","itemYieldAmountValue","itemYieldUnitValue","itemServingSizeAmountValue","itemServingSizeUnitValue","slimCreateSalesItemInfo","getMenuGroupOptionByValue","currentOptions","matchedOption","profit","yieldUnitString","servingSizeUnitString","menuGroupValue","makeOptionFromValue","linkedSalesItemIds","parentSalesItemId","inputField","inputValue","salesPriceValue","dropdownOptions","checkDoesFormDifferFromSalesItem","formHasChanged","newSalesItemFromForm","ACTIVE_PRODUCTS_GROUP_NAME","ARCHIVED_PRODUCTS_GROUP_NAME","SALES_ITEMS_GROUP_NAME","groupNameSortOrder","groupNameComparator","fakeDistributorIdsByProductId","productRowIdComparator","productId1","productId2","product1","product2","nameA","getBrandAndNameStringForSort","nameB","productRowIdFilterFunction","filterTerm","prod","defaultProductRowFilter","getGroupNameForProductRowId","intermediateProductResultCacheIsValid","salesItemRowIdComparator","salesItemId1","salesItemId2","salesItemRowIdFilterFunction","defaultSalesItemRowFilter","getGroupNameForSalesItemRowId","intermediateSalesItemResultCacheIsValid","getUnitCountSoldByProductIdBySalesItemId","flattenedMapOfProductsInSalesItems","unitCountsByProductIdBySalesItemIdForPeriod","getNumberForUndefinedOrNullValue","unitCountBySalesItemId","totalUnitCountSold","getNumberForQuantityInUnitOrUndefinedValue","lastSalesItemsById","cachedFlattenedMapOfProductsInSalesItems","getCachedFlattenedMapOfProductsInSalesItems","productMap","ExpectedInventoryReportUtils","getExpectedInventoryBreakdownByUnitCount","deliveriesByDeliveryId","transferReportWithoutCostsByTransferId","prepEventsByPrepEventId","startUnitCountByProductIdByStorageAreaId","getUnitCountByProductIdByStorageAreaIdForInventory","unitCountByProductIdByStorageAreaId","productIdProductCountEventMap","unitCountByStorageAreaId","countInContainers","countAsNumber","unitCountByProductIdByDeliveryId","getExpectedUnitCountForProduct","startingInventoryUnitCount","deliveriesAndTransfersAndPrepsCount","breakageUnitCount","salesUnitCount","getExpectedInventoryCostForProduct","expectedInventoryUnitCount","getSalesItemsTotalUnitCount","totalUnitCount","exportReportToExcel","retailerName","sortedFilteredGroupedRowData","reportSpecificData","xlsx","loadXlsx","startDateInRetailerTimeZone","tz","endDateInRetailerTimeZone","fileName","exportUtils","getStandardReportFileName","arrayOfArraysForSheet","groupNameRow","rowData","generateRowData","expectedInventoryValueLabel","expectedInventoryValue","row","expectedInventoryTotal","workSheet","utils","aoa_to_sheet","workBook","book_new","book_append_sheet","writeWorkBookToFile","unitCountByStorageAreaIdForStartingInventory","unitCountBySalesItemIdForPeriod","getInventoryUnitCount","getBreakagesTotalUnitCount","productFilterStringCache","unassignedItemsSortingUtil","storageAreaIdSet1","storageAreaIdSetByProductId","storageAreaIdSet2","nameString1","nameString2","productStringForSearch","cachedCreateProductStringForFilter","storageAreaIdSet","storageAreaNamesForProduct","productStringForFilter","createProductStringForFilter","cleanedStorageAreaNamesForProduct","ALL_ITEMS_GROUP_NAME","getDefaultTimestampGroupName","defaultGroupNameComparator","ActionTypes","SET_VISIBLE_DROPDOWN_ROW","SET_MORE_OPTIONS_IS_SHOWN_FOR_PRODUCT_IDS","SET_PRODUCT_ROWS_SELECTED","SET_ACTIVE_GROUP_BY_OPTION","SET_SORTED_GROUP_NAMES_AND_SORTED_PRODUCT_IDS_TO_DISPLAY_BY_GROUP_NAME","SET_PRODUCTS_BY_ID_AND_STORAGE_AREA_ID_SET_BY_PRODUCT_ID","SET_TABLE_SORTING","SET_SEARCH_TERM","SET_PANEL_IS_OPEN_FROM_USER_INPUT_FOR_GROUP_NAMES","SET_DEFAULT_PANEL_IS_OPEN","setActiveGroupByOption","setSortedGroupNamesAndSortedProductIdsToDisplayByGroupName","sortedProductIdsToDisplayByGroupName","panelIsOpenByGroupNameFromFiltering","unfilteredSortedProductIdsByGroupName","setProductsByIdAndStorageAreaIdSetByProductId","productIdsForDisplay","unassignedItemsState","extraArgumentsForSorting","tableSorting","activeGroupByOption","unfilteredSortedRowIdsByGroupName","UnassignedItemsActions","setVisibleDropdownRow","visibleDropdownRow","setMoreOptionsIsShownForProductIds","setSelectedProductIds","setPanelIsOpenFromUserInputForGroupNames","groupNames","panelIsOpen","onSelectActiveGroupByOption","setSortingFilteringAndGroupingOnPropsChange","onSelectActiveColumnSort","setTableSorting","onSearchTermChange","onCollapseAllClick","nextClickWillCollapseAll","defaultPanelIsOpen","AddToStorageAreasDropdown","createOptions","filteredOptions","checkBoxStatesByOptionId","checkBoxStatesByStorageAreaId","checkBoxState","DropdownModalOption","onStorageAreaOptionClick","createFooter","onDropdownCancelClick","onDropdownSaveClick","modalButton","onCreateNewStorageAreaClick","newName","newStorageAreaId","createCustomOptionIsLoading","onCreateNewStorageArea","newCheckBoxStatesByStorageAreaId","optionId","savedCheckBoxStatesByStorageAreaId","checkBoxStateCanBeIndeterminate","Indeterminate","newCheckBoxState","getDropdownStateDiff","addStorageAreaIds","removeStorageAreaIds","savedCheckBoxState","onDropdownBlur","validateProps","storageAreaIds","UNSAFE_componentWillReceiveProps","nextProps","showDropdown","toggleDropdownButtonText","setShowDropdown","isOffline","sortedOptionIds","optionValuesById","GenericSelect2DropdownMenu","getOptionElementsForGroup","getSelectedOptionElementForHeader","footerElement","isOpen","handleDropdownOpenClose","ManageStorageAreaListItemWithoutDragAndDrop","classNamePrefix","handleInputChange","handleNameChange","isFocusedRow","handleRemoveButtonClick","connectDragSource","connectDropTarget","connectDragPreview","isDragging","isOverDragTarget","opacity","outsideOfDropTarget","getManageStorageAreaListItemContents","manageStorageAreaListItemContents","manageStorageAreaListItem","style","Preview","generatePreview","zIndex","dragSource","beginDrag","onDragCancel","endDrag","monitor","didDrop","dropTarget","drop","onDrop","hover","dragStorageAreaId","hoverStorageAreaId","onDragHover","ManageStorageAreaListItem","DropTarget","targetCollect","isOver","DragSource","sourceCollect","dragPreview","ManageStorageAreasModal","onListItemDragHover","onDragStorageArea","storageAreaIdPreceedingIndex","onListItemDrop","dropStorageAreaId","onDropStorageArea","storageAreaIdDropIndex","handleNameChangeForNewStorageArea","storageAreaNamesById","highlightedStorageAreaId","newStorageAreaName","handleCloseClick","handleAddAreaClick","handleNameChangeForStorageAreaId","handleRemoveButtonClickForStorageAreaId","pageContext","addStorageAreasButtonIsDisabled","listItems","doneButton","editStorageAreasListElement","PreventPageScrolling","preventWindowTouchMove","addModalOpenClass","confirmationMessageByDeletionContext","inventory_count","storage_area_manager_with_open_draft","storage_area_manager_without_open_draft","RemoveStorageAreaConfirmDialog","onDeleteConfirmClick","deletionContext","UnassignedItemRow","createStorageAreaPills","assignedStorageAreaIds","onRemoveStorageAreaClick","addToStorageAreasDropdownProps","pills","Pill","onRemoveClick","handleOnSelect","setIsSelected","isSelected","getContextMenu","menuIsShown","setMenuIsShown","onSetProductAsInactiveClick","onDeleteProductClick","allowItemDeletion","contextItems","iconClass","ContextMenu","statusIndicator","contextMenu","ProductName","UnassignedItemsTableHeader","handleOnChange","onToggleSelect","selectAllState","sorting","onSortChange","SortableColumnHeader","columnId","UnassignedItemsView","onCollapseAllButtonClick","createGroupPanels","currentDropdownRow","orderedGroupNames","isOpenByGroupName","productIdsForGroup","rowFactory","createUnassignedItemsRowFactoryForGroup","rowContainer","groupIsOpen","StickyHeaderWrapper","getRowGroupHeader","selectedProductIds","ref","containerBody","RowOptimizationWrapper","numRows","getRowContainer","sortedProductIds","onSetProductsAsInactiveClick","onDeleteProductsClick","shownMoreOptionsProductIds","createNewStorageArea","showDropdownForRow","setShowDropdownForRow","onDropdownCancelClickForRow","onDropdownSaveClickForRow","rowIsSelected","onRemoveStorageAreaClickForPill","setMenuIsShownForRow","onSetAsInactiveClick","onDeleteClick","setProductRowIsSelected","unfilteredGroupSize","RowGroupHeader","onSelectAllClick","newSelectedProductIds","newSelectedProductIdsArray","visibleItemCount","totalItemCount","showExpandArrow","dropdownRow","isEqualToCurrentDropdownRow","onSetSelectedProductsAsInactiveClick","onDeleteSelectedProductsClick","removeProductsFromStorageAreas","addProductsToStorageAreas","activeSelectedProductIds","setAllProductsMoreOptionsIsShown","getSelectedProductCountByStorageAreaId","productCountByStorageAreaId","setGroupByDropdownOptionsShown","setGroupBySelectedOption","productIdsToDisplay","initialSelectedProductIds","header","panelIsOpenByGroupNameFromUserInput","showGroupByDropdown","selectedProductCountByStorageAreaId","checkBoxStateCanBeIndeterminateByStorageAreaId","canProductBeIndeterminate","panelIsOpenFromUserInput","totalVisibleItems","previous","getClickWillCollapseAll","TableControls","wrap","inline","allProductsMoreOptions","GroupByDropdown","dropdownOptionsShown","groupByOptionsDropdown","setDropdownOptionsShown","setSelectedOption","availableGroupByOptions","CollapseAllButton","ConnectedUnassignedItemsView","mapStateToProps","showExpandedMobileCountSummary","unassignedItemsInitialState","UnassignedItemsReducers","reduceSetVisibleDropdownRow","reduceSetMoreOptionsIsShownForProductIds","newShownMoreOptionsProductIds","reduceSetSelectedProductIds","reduceSetActiveGroupByOption","reduceSetSortedGroupNamesAndSortedProductIdsToDisplayByGroupName","reduceSetProductsByIdAndStorageAreaIdSetByProductId","reduceSetTableSorting","reduceSetSearchTerm","reduceSetPanelIsOpenFromUserInputForGroupNames","newPanelIsOpenByGroupNameFromUserInput","newPanelIsOpenByGroupNameFromFiltering","reduceSetDefaultPanelIsOpen","storageAreaSortingUtil","inventoryCountData","storageAreaIndex1","storageAreaIndex2","compareNumbers","usageStartInventoryCount","lastProductCountEventsByProductId","lastCount1","getCleanCountFromCountEvent","lastCount2","currentCount1","currentCount2","rowFilter","groupNameGetter","getDefaultGroupNameForProductRow","getInventoryCountIdValueFromUrlString","urlString","getNotificationMessageProductIdentifier","notificationMessageProductIdentifier","getParCountAndParProductQuantityUnit","productPar","parCount","parProductQuantityUnit","HexColor","PROGRESS_BAR_BACKGROUND_COLOR","PROGRESS_BAR_HEIGHT_IN_PIXELS","STORAGE_AREA_ID_FOR_COUNT_SUMMARY","DEFAULT_STORAGE_AREA_GROUP_BY_OPTION","DEFAULT_COUNT_SUMMARY_COLUMN_SORT","DEFAULT_STORAGE_AREA_COLUMN_SORT","InventoryCountQuickFilterOption","ADD_PRODUCT_MAPPING","ADD_PRODUCT_TO_LOCATION_FAILURE","ADD_PRODUCT_TO_LOCATION_REQUEST","ADD_PRODUCT_TO_LOCATION_SUCCESS","SET_ADDED_MAPPINGS","SET_EXISTING_MAPPINGS","SET_MODAL_STEP_STATE","CLEAR_WAS_PRODUCT_ADDED_TO_LOCATION_BY_STEP","SET_SELECTED_PRODUCT_FORM","SET_UNMAPPED_PRODUCT_IDS","UPDATE_SEARCH_TERM","UPDATE_DISPLAYED_SEARCH_RESULTS","FETCH_LOCATION_PRODUCTS_FAILURE","FETCH_LOCATION_PRODUCTS_REQUEST","FETCH_LOCATION_PRODUCTS_SUCCESS","SET_SEARCH_RESULTS","SHOW_DELETED_MAPPED_PRODUCTS_DIALOG","SET_INVALIDATED_MAPPINGS","SET_DELETED_TARGET_PRODUCTS_BY_ID","SET_INVALIDATED_MAPPING_ACTION","setDeletedTargetProductsById","addProductToLocationRequest","addProductToLocationSuccess","addProductToLocationFailure","fetchLocationProductsRequest","fetchLocationProductsSuccess","fetchLocationProductsFailure","UnmatchedProductModalAsyncActions","UnmatchedProductModalActions","setUnmappedProductIds","setSelectedProductForm","setExistingMappings","productMappings","setModalStepState","itemNumber","addProductMapping","productMapping","setAddedMappings","addedMappings","setSearchResults","updateSearchTerm","updateDisplayedSearchResults","saveMappings","productMappingService","AccountsExceptions","addProductToLocation","destinationLocationId","categoryIdSet","sourceCategoryId","resolvePartnerProductCategoryId","destinationCategories","sourceCategories","categoryIdPromise","newProductCategoryId","sourceCategory","createCategory","metaFetch","createProduct","newProductId","setProductAsActive","productDistributorService","retrieveDistributorIdsByProductIdForProductIds","addedProductId","ProductExceptions","resolvedProductCostUnit","resolvedProductCost","productsByIdResult","fetchLocationProducts","getProductIds","resultProductIds","transferReportProductDataUtils","sortProducts","clearWasProductAddedToLocationByStep","showDeletedMappedProductsDialog","setInvalidatedMappings","setInvalidatedMappingAction","fetchDeletedTargetProducts","DiscardProgressDialog","isCreatingNewReport","handleDiscardProgress","handleReturnToTransfer","EmptyTransferListDialog","continueTransfer","ItemInProgressDialog","handleContinue","SearchResultListRow","isProductSelected","setSelectedProduct","shouldComponentUpdate","productStatus","rowStateClass","errorMessageElement","productToSetSelected","SearchResultListTable","shouldUpdate","selectedProduct","selectedProductInvalidMessage","addedProductAmounts","matchingProduct","addProductToPartnerLocation","addedProductAmountsByProductId","getListElementIds","elementId","addedPCA","getListElementById","tableRows","noSearchResultsElement","matchingProductObj","matchingProductDescription","addToPartnerLocationElement","tableBodyElement","SummaryItemsModal","partnerLocationName","unmappedProductIds","modalActions","summaryComplete","countSummary","interLocationProductMapping","sourceProduct","targetProduct","sourceQoP","targetQoP","sourceProductQuantityUnit","targetProductQuantityUnit","sourceProductQuantity","targetProductQuantity","ModalWithHeaderAndFooter","closeButtonShown","handleContinueButton","footerLeftButton","handleBackButton","footerLabel","modalClasses","headerClasses","bodyClasses","footerClasses","TransferListPanel","handleNoteChange","orderedProductAmountList","orderedProductAmountQuantityByListElementIdForm","validateQuantity","dateTimePicker","typeInput","setQuantity","removeRow","TransferListTable","PopupDateTimePicker","dateTimePickerIsShown","dateTimePickerShown","setDateTimePickerIsShown","setDateTimePickerShown","dateTimePickerProps","initialDateTime","setDateTime","BevSpotDateTimePickerType","POPUP","uniqueId","shouldShowTime","openDirection","currentOption","onCreateCustomOption","onBlur","setNote","TransferListPanelMobileHeader","handleExpandPanel","arrowDirection","panelClasses","setPanelIsOpen","TransferListPanelMobile","productAmountCount","UnitQuantityWithEditableQuantity","returnUndefined","invalidMessageElement","TransferListRow","handleValidateQuantity","listElementId","handleSetQuantity","handleRemoveRow","listElementIds","productAmountsByListElementId","getItemByListElementId","UnmatchedProductPanel","currentProductForm","selectedProductFormIsValid","warning","baseUnitDisplayText","UnmatchedProductMapper","onSetSelectedProduct","onSelectedProductFormQuantityChange","selectedProductForm","onSelectedProductFormQuantityBlur","onSelectedProductFormUnitSelect","clearSearchBar","searchBarActions","searchResults","currentProduct","selectedProductPackaingText","currentProductPackagingText","onProductToPartnerLocationClick","selectedProductFormUnitSortedOptionsAndLabelName","selectedProductFormUnitSelectedIOption","selectedUnit","SearchBar","_Fragment","UnmatchedProductModal","currentUnmappedProductForm","handleFooterLeftButton","handlePreviousButton","currentUnmappedProduct","currentUnmappedProductFormIsValid","isNextReady","rightButtonClasses","handleNextButton","BevSpotLocation","InventoryReportType","nextListElementId","OrderedItemList","itemByListElementId","cloneDeep","getOrderedElements","removeListElement","listElementIdToRemove","elementIndex","addListElement","newListElementId","OrderedProductAmountList","editListElementQuantity","productAmountToUpdate","removeProductAmount","setToNull","itemNumberLongerThanUnmapedProductIdsArrayError","itemNumberLessThanOneError","addProductMappingWithoutSelectedProductError","unexpectedSourceProductIdInMappingError","displayedSearchResults","existingMappings","wasProductAddedToLocationByStep","deletedMappedProductsDialogShown","deletedTargetProductsById","invalidatedMappingActions","UnmappedProductModalReducers","reduceSetExistingMappings","reduceSetSelectedProductForm","reduceSetUnmappedProductIds","reduceSetModalStepState","currentUnmappedProductId","addedMapping","filterProducts","reduceClearWasProductAddedToLocationByStep","reduceAddProductMapping","newAddedMappings","reduceSetAddedMappings","reduceSetSearchResults","reduceUpdateSearchTerm","reduceUpdateDisplayedSearchResults","reduceRequest","reduceAddProductToLocationSuccess","reduceFailure","reduceFetchLocationProductsRequest","reduceFetchLocationProductsSuccess","reduceFetchLocationProductsFailure","reduceShowDeletedMappedProductsDialog","reduceSetInvalidatedMappings","reduceSetDeletedTargetProductsById","reduceSetInvalidatedMappingAction","newActions","getInventoryTransferOrBreakageReportIdFromURL","reportType","getTotalCostFromBreakageReportProductDataById","transferReportProductDataById","productAmountsInReport","totalReportValue","productData","productPrice","bottleCount","getProduct","getTotalCostFromTransferReportProductDataById","productB","isPackagingEquivalentForTransfer","packagingA","packagingB","currentLevelA","currentLevelB","unitValueA","unitValueB","normalSearchTerm","selectedProductAdded","unshift","pairLinesWithOriginatorLinesInOriginatorOrder","originatorProductAmounts","originatorProductMappings","lineIndex","originatorProductAmount","partnerLinesByPartnerProductId","partnerProductAmount","partnerProductLines","_partnerLinesByPartne","partnerProductId","ItemCardHeader","ItemCardHistoryCreation","orderLink","isAutoCreated","ItemCardHistoryMergeFrom","showProductItemCard","mergedFromProductIds","mergedFromProductIdsValues","removedProductId","removedProduct","removedProductClick","ItemCardHistoryMergeTo","mergedToProductIdsValues","mergedToProductId","ProductActivityOnDay","inventoryCountIds","transferIds","breakageIds","mergeTo","mergeFrom","creation","lastSeenProductHistoryData","activityDataByProductId","getDateString","getMonth","getDate","recordActivityOnDay","activityByDayByMonth","recordTime","addToActivityOnDay","activityInMonth","getActivityInMonthByDate","activityOnDay","convertedDate","monthDate","setDate","ItemCardHistoryBreakage","breakage","breakageLink","quantityString","ItemCardHistoryInventory","inventoryCountMetadata","storageAreaRowData","productIdListsByStorageAreaId","allProductCounts","productIdListForStorageAreaId","productIdInStorageArea","resolvedProductCount","totalCountDecimal","totalProductCountUnit","totalPackagingString","finalizedStatus","isPartial","inventoryLink","productCountDecimal","packagingString","ItemCardHistoryOrder","productLineItems","distributorNameOrOther","resolvedUnitPrice","resolvedUnitPriceInMonetaryValue","totalPrice","totalPriceInMonetaryValue","ItemCardHistoryPrepEvent","prepEventLabel","productAmountInInput","inputQuantityString","outputQuantityString","outputPriceString","outputTotalCostOfProduct","prepEventLink","ItemCardHistoryPrice","productHistoryData","deliveriesWithProduct","numMonthsOfData","displayedWindowStart","startOf","productLineItem","deliveryAndProductLineItem1","deliveryAndProductLineItem2","date1","toDate","date2","getDeliveriesWithProductInDisplayedWindow","percentChangeSinceLastOrderStr","percentChangePositive","timeIntervalSinceLastOrderStr","mostRecentPriceStr","avgPriceStr","priceProductQuantityUnitText","mostRecentUnit","totalPaidInPricePerUnit","totalUnits","mostRecentPrice","mostRecentPricePerLineItemUnit","secondMostRecentPrice","deliveryAndProductLineItem","productPricingUnit","packagingForContainedPackagingName","quantityOfPackageInUnit","quantityOfAvgPackageInUnit","lineItemTotal","quantityOfPackageInUnitQuantity","lineItemQuantityInUnits","toNow","percentChange","ItemCardHistoryTransfer","locationNamesByLocationId","isOutbound","getReportMetaData","getPerspectiveIsOriginator","transferLink","iconClassName","displayQuantityInUnit","ItemCardHistory","productActivityByDayByMonth","cachedActivityData","thisMonthStartDate","monthIndex","monthStartDate","setMonth","inventoryCountsByInventoryId","productExistsInInventoryCount","productIdList","inventoryMetadataByInventoryId","deliveryHasProduct","transferReportsByTransferId","transferHasProduct","breakageHasProduct","mergeEvents","productMergeEventsByProductId","mergeEvent","getMergedToProductId","getMergedFromProductIds","mergedFromProductId","creationDate","creationDateMonth","activityInDay","getActivityDataForProduct","sortedMonthDateStrings","dateStr1","dateStr2","hasAtLeastOneEntry","hasMonthWithNoEntries","activityByDay","dateString","renderMonth","isFetchingMoreHistory","hasMoreHistory","onShowMoreHistoryClick","ITEM_CARD_NUMBER_OF_MONTHS_TO_SHOW","monthString","sortedDays","day1","day2","monthTitleText","toLocaleString","year","dayNumber","renderDay","itemCardData","monthShortForm","prepEventLabelsById","distributorsByDistributorId","inventoryCountReduxApi","getFinalizedInventoryCountMetadatasForLocation","inventoryCountService","getExpectedInventoryData","referenceInventoryId","expectedInventoryService","insightsApi","getUsageDataForCountPair","startInventoryCountId","endInventoryCountId","usageDataService","getUsageData","getProductSalesItemUsage","activeSalesItemIds","productIdsInRecipes","_quantity","recipeProductId","productsResult","useGetUsageDataForCountPairQuery","useGetProductSalesItemUsageQuery","StatTile","onRetry","isAlert","getCountTime","getUnitLabel","toReference","toISOString","useLogInsightsError","what","InsightsSection","detailLabel","hasError","AlertBanner","actionButtons","formatQuantity","FormatToMaximumDecimalPlaces","formatMoney","formatDate","isoDate","tileStatus","DELIVERY_DATE_QUERY_TYPES","useDeliveryStock","lastCountDate","_metadataQuery$error","periodStart","periodEnd","endOf","metadataQuery","useGetDeliveryMetadataForLocationInPeriodQuery","deliveriesQuery","useGetDeliveriesByIdQuery","distributorsQuery","useGetDistributorsForRetailerQuery","deliveryStock","deliveriesInWindow","_deliveriesQuery$data","distributorNamesById","getDeliveryStock","productDeliveries","hasProductLine","second","mostRecent","lastDelivery","_distributorNamesById","unitLabel","singularUnitLabel","totals","SpendTile","LastReceived","StockSection","_parsByProductId$get","_counts$latest","_counts$previous","_usage$suggestedPar","_counts$setPar","useItemCardDispatch","countMetadatasQuery","useGetFinalizedInventoryCountMetadatasForLocationQuery","useItemCardSelector","itemCardState","savedPar","counts","inventoryCountMetadatasById","getStockCounts","inventoryCountIdsNewestFirst","setPar","completeCounts","parQuantity","latest","latestCount","previousCount","hasExpectedInventoryFeature","expected_inventory","expectedInventoryQuery","useGetExpectedInventoryDataQuery","onHand","getOnHandFromExpectedInventory","expectedInventory","_expectedInventory$ge","_expectedInventory$ge2","getBottleCountByProductId","breakdown","getBottleBreakdownByProductId","unitsPerBottle","toUnits","bottles","estimate","countedQuantity","getStartCount","receivedQuantity","getDeliveries","getTransfers","getPrepOutputs","usedQuantity","getBreakages","getPrepInputs","soldQuantity","getSales","salesDataEffectiveTime","getSalesDataEffectiveTime","latestCountPair","usageDataQuery","usage","getWeeklyUsage","previousCountMetadata","latestCountMetadata","productUsage","weeklyUnitUsage","periodDays","suggestedParQuantity","dollarAmount","dollarUsage","suggestedPar","usageTileStatus","posLabel","AppUrls","retailerPath","onHandValue","onHandSub","soldPart","usageReport","onEditParClick","ItemCardActions","onSetSelectedItemCardView","compareByCostPercentDescending","firstRow","secondRow","buildSalesItemUsageRows","costInputs","productsPerServingBySalesItemId","_productsPerServingBy","viaNames","uses","isAboveThreshold","thresholdPercent","percent","UsedInRow","whatIfRow","displayedRow","costPercentDelta","getCostPercentDelta","delta","isOverThreshold","salesItemDetail","viaName","WhatIfPanel","currentProductCost","hypotheticalCostInput","isHypotheticalCostValid","thresholdPercentInput","aboveThresholdNames","onHypotheticalCostInputChange","onThresholdPercentInputChange","onReset","costUnitLabel","variant","FormatToMinumumTwoAndMaximumThreeDecimalPlaces","isPercentInput","UsedInSection","_costInputs$productCo","setHypotheticalCostInput","defaultThresholdPercentInput","setThresholdPercentInput","rows","hypotheticalCostAmount","thresholdPercentAmount","whatIfRows","getWhatIfRows","currentRows","whatIfProductCostsByProductId","numberStringToDecimal","whatIfRowsBySalesItemId","currentRow","aboveThresholdRows","getRowsAboveThreshold","viaSubRecipeCount","salesItemCountLabel","onResetWhatIf","ItemCardInsights","GLOBAL_RETAILER_PERMISSIONS","can_access_sales_reporting","getMatchReasonLabel","PotentialDuplicateDialog","duplicateMatches","onSaveAnywayClick","onGoToItemClick","ProductModificationConfirmationDialog","onCreateNewClick","onModifyExistingClick","ReactDOM","ProductDistributorAssociationRow","onDistributorSelect","distributorIdValue","productDistributorAssociationFormId","onUnitSelect","productDistributorAssociationForm","priceUnit","onSkuChangeOrBlur","onPriceAmountChange","onPriceAmountBlur","onPriceUnitSelect","priceUnitValue","onDepositAmountChange","onDepositAmountBlur","onRemoveProductDistributorAssociationForm","onRemoveProductDistributorAssociationForms","distributorSortedOptionsAndLabelNames","unitSortedOptionsAndLabelNames","onCreateCustomDistributorClick","distributorSelectedIOption","labelName","iOptions","unitSelectedIOption","priceUnitSelectedIOption","depositUnitLabelString","packagingUnitOption","depositUnit","priceAmount","depositAmount","ProductForm","currencySymbol","getCurrencySymbol","packagingFormData","displayedEmptyWeightValue","displayedFullWeightValue","displayedEmptyWeightUnitValue","displayedFullWeightUnitValue","productDistributorAssociationFormPackagingIndexByFormId","getInitialPackagingFormData","initialPackagings","initialPackaging","packagingForm","createPackagingFormRef","onBrandChangeOrBlur","onNameChangeOrBlur","onCategoryIdSelect","categoryIdValue","onCreateCustomCategoryId","onTypeSelect","onCreateCustomType","onPackagingFormFieldChange","changeData","shownPackagingFormsValidationInputDataByFieldName","getShownPackagingFormsValidationInputDataByFieldName","packagingFormValidationInputDataByFieldName","changeDataPackagingUnitSortedOptionsAndLabelName","ProductFormUtils","getAllPackagingUnitIOptions","changeDataPackagingUnitSortedOptionsAndLabelNameValueSet","labelNameAndOptions","productDistributorAssociationFormPackagingIndex","formId","depositUnitValue","onProductDistributorAssociationFormFieldBlur","allPackagingUnitSortedOptionsAndLabelName","allPackagingUnitSortedOptionsAndLabelNameValueSet","packagingIndex","costUnitValue","costUnit","parUnitValue","parUnit","preferredReportingUnitValue","comesAsCase","baseUnitSortedOptionsAndLabelName","getBaseUnitIOptions","baseUnitValue","handleBaseUnitChange","priceAmountValue","priceFormValues","getPriceFormValuesForFirstPackaging","setUnitsWithConversionForms","packagingIdValuesWithPackagingWeightForms","packagingWeights","packagingWeightFormPackagingIdIOptions","getPackagingWeightFormPackagingIdIOptions","availablePackagingIdValues","packagingIdValue","onSetPackagingIdHasPackagingWeightForm","oldConversions","oldSelectedBaseUnitValue","conversionUnits","getUnitsWithConversionForms","onConversionFieldChange","onPriceFieldChange","getCostUnitFormValueForPriceUnit","onSetFocusedField","getFormProductQuantityUnitValueForPriceUnit","onPreferredReportingUnitSelect","onBaseUnitSelect","onUnitDepositChange","onUnitDepositBlur","onUseCustomWeightsClick","newUseCustomWeights","useCustomWeights","onAddPackagingFormClick","onScrollToNewPackaging","newPackagingForm","animate","scrollTop","top","getResolvedPackagingIndexByFormId","shownPackagingFormDataIndexByFormPackagingIdValue","resolvedPackagingIndexByFormId","form","resolvedPackagingIndex","unitValueIndex","getOrphanedProductDistributorAssociationFormIds","shownPackagingIndices","orphanedFormIds","_form","removeOrphanedProductDistributorAssociationForms","getPackagingFormDataIndexByFormProductQuantityUnitValue","orphanedFormIdValues","logJsWarning","productIdValue","onRemovePackagingFormClick","productDistributorAssociationFormIdsToRemove","onAddProductDistributorAssociationForm","onAddPackagingWeightFormClick","iOptionIndex","disabled","onPackagingWeightFormPackagingIdValueSelect","oldPackagingIdValue","newPackagingIdValue","onSetPackagingWeightFormPackagingIdValue","onEmptyWeightQuantityChange","onPackagingWeightFormFieldChange","onEmptyWeightQuantityBlur","onPackagingWeightFormFieldBlur","onEmptyWeightUnitSelect","onFullWeightQuantityChange","onFullWeightQuantityBlur","onFullWeightUnitSelect","onRemovePackagingWeightFormClick","onGLCodeSelect","onNoteChange","onCostAmountChange","onCostAmountBlur","onCostUnitSelect","onParCountChange","onParCountBlur","onParUnitSelect","onProductDistributorAssociationRowFormFieldChange","onProductDistributorAssociationFormFieldChange","onProductDistributorAssociationRowFormFieldBlur","onProductFormSaveClick","shouldCheckForDuplicates","onProductModificationConfirmationDialogModifyExistingClick","onProductModificationConfirmationDialogCreateNewClick","onPotentialDuplicateDialogSaveAnywayClick","onPotentialDuplicateDialogDismiss","onPotentialDuplicateDialogViewItemClick","onGoToItem","shouldCheckIfPackagingHasBeenModified","replacedPackagingIds","onSaveProductForm","onProductModificationConfirmationDialogCancelClick","onCloseDeleteProductConfirmationDialog","setDeleteProductConfirmationDialogIsShown","onShowDeleteProductConfirmationDialog","onSetProductAsActive","onSetProductActiveState","onSetProductAsInactive","handleConfirmDeleteProduct","onConfirmDeleteProduct","getValidationInputDataByFieldName","PackagingFormUtils","getValidationInputDataByFieldNameFromInitialPackaging","onCategorySearchValueChanged","categorySearchBarValue","isSubmitting","productFormData","onProductFormCancelClick","productModificationConfirmationDialogIsShown","deleteProductConfirmationDialogIsShown","potentialDuplicateMatches","productIsActive","productIsDeleted","weightUnitOptions","getWeightUnitOptions","categoryIdSortedOptionsAndLabelNames","categorySortedOptionsAndLabelNames","categorySelectedIOption","makeCategoryOption","addToSortedLabelOptionList","priceUnitSortedOptionsAndLabelName","getPriceUnitIOptions","productTypeSortedOptionsAndLabelNames","productTypeSelectedIOption","productTypeValue","addToSortedOptionList","glCodeSortedOptionsAndLabelNames","glCodeSelectedIOption","glCodeIsCustom","glCodeValue","selectedCategory","selectedValueIsIncludedInOptions","preferredReportingUnitSelectedIOption","parUnitSelectedIOption","costUnitSelectedIOption","baseUnitSelectedIOption","baseUnitOption","distributorSortedOptionsAndLabelNamesWithoutNullVendor","myVendorsIOptions","packagingFormRows","productDistributorAssociationFormIds","productDistributorAssociationRows","PackagingForm","availablePackagingIdOptionsCount","canAddPackagingWeightForm","packagingWeightFormRows","packagingWeightFormValidationInputDataByFieldName","packagingIdSelectedIOption","packagingWeightFormIsValid","packagingWeightKey","validationResult","validatePackagingWeightValueByFieldName","defaultEmptyWeightValue","defaultFullWeightValue","defaultEmptyWeightUnit","defaultFullWeightUnit","shownPackagingFormDataIndex","containedPackaging","formPackagingWeight","getPackagingWeight","defaultPackagingWeight","defaultFullWeight","defaultEmptyWeight","emptyWeightUnitSelectedIOption","emptyWeightQuantity","emptyWeightUnit","fullWeightUnitSelectedIOption","fullWeightQuantity","fullWeightUnit","onSearchValueChanged","isTitleCase","PriceEstimates","sortedPriceEstimates","costAmount","validationInputData","onConversionFieldBlur","bottle_weighing","LEFT","ExpandingNote","ExpandingNoteTheme","Underline","onChange","noteContent","placeholder","DeleteProductsConfirmationDialog","onDeleteItemsClick","productIdentificationString","deleteActionInformationText","productMergeApi","getMergeEventsForProductIds","productMergeService","useGetMergeEventsForProductIdsQuery","HistoricalMergeBanner","setPollingInterval","isFadingOut","setIsFadingOut","wasInProgressRef","historicalMergeInProgress","isHistoricalMergeInProgress","wasInProgress","fadeOutTimeoutId","DEFAULT_PACKAGING_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME","unitName","contentQuantity","caseName","caseQuantity","loadCreateItemModalEventData","getPackagingFormFromPrefill","caseContentQuantity","getProductDistributorAssociationFormFromPrefill","formProductQuantityUnitValueByUnitValue","getSortedFormProductQuantityUnitValuesAndLabels","shortLabel","productDistributorAssociationFormValidationInputDataByFieldName","DEFAULT_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME","ItemCard","isExpanded","packagingFormsValidationInputDataByFieldName","onEditProductViewOptionClick","onProductHistoryViewOptionClick","onProductInsightsViewOptionClick","onExpandToggleClick","fetchProductHistoryData","onCloseClick","updateURLWithProductId","onProductFormFieldChange","onProductFormPriceFieldChange","costUnitFormValue","hasPackagingWeightForm","setPackagingIdHasPackagingWeightForm","setPackagingWeightFormPackagingIdValue","formIds","removeProductDistributorAssociationForms","resultProductId","setPotentialDuplicateMatches","onShowItemCardForProductId","onSetDeleteProductConfirmationDialogIsShown","onDeleteProduct","setAsActive","setFocusedField","ITEM_ID_URL_PARAM","fetchItemCardData","item_card","eventData","shouldCreateNewPackaging","packagingUnitDropdown","click","newProductDistributorAssociation","setFormFieldValidationData","getDefaultPackaging","foundOption","createVendorResult","onUpdateDistributor","itemIdValue","getQueryParameterFromUrl","selectedItemCardView","productForm","isOverlayView","lastEditedDateString","lastEditedByString","relevantProductPackagings","SlideInModal","itemCardModal","onDismiss","productModificationConfirmationDialog","deleteProductConfirmationDialog","focusedField","ConnectedItemCard","SET_PRODUCT_ID","SET_SELECTED_ITEM_CARD_VIEW","SET_ITEM_CARD_DATA","SET_PRODUCT_HISTORY_DATA","SET_FORM_FIELD_VALIDATION_DATA","SET_FORM_VALIDATION_DATA","SET_IS_SUBMITTING","UPDATE_PRODUCT_INFO","SET_PRODUCT_FORM_DATA","SET_PRODUCT_FORM_VALIDATION_INPUT_DATA_BY_FIELD_NAME","SET_UNITS_WITH_CONVERSION_FORMS","SET_CONVERSION_FIELD_VALIDATION_DATA","SET_PACKAGING_ID_HAS_PACKAGING_WEIGHT_FORM","SET_PACKAGING_WEIGHT_FIELD_VALIDATION_DATA","SET_PACKAGING_WEIGHT_FORM_PACKAGING_ID_VALUE","SET_PRODUCT_DISTRIBUTOR_ASSOCIATION_FIELD_VALIDATION_DATA","ADD_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORM","REMOVE_PRODUCT_DISTRIBUTOR_ASSOCIATION_FORMS","UPDATE_DISTRIBUTORS_BY_DISTRIBUTOR_ID","UPDATE_NAMES_BY_USER_ACCOUNT_ID","UPDATE_PRODUCT_CATEGORIES_BY_ID","SET_PRICE_AMOUNT_FIELD_FOCUSED","SET_FOCUSED_FIELD","SET_POTENTIAL_DUPLICATE_MATCHES","setProductId","productHash","setItemCardData","setProductHistoryData","updateProductInfo","updateDistributorsByDistributorId","updateNamesByUserAccountId","setFormValidationData","setIsSubmitting","setProductFormData","setProductFormValidationInputDataByFieldName","setConversionFieldValidationData","setPackagingWeightFieldValidationData","setProductDistributorAssociationFieldValidationData","getHistoryDisplayWindow","numMonthsRequested","oldestAllowedDate","DataHistoryLimitUtils","getOldestAllowedDateForDataHistoryLimit","periodStartTimeMoment","isAfter","fetchProductHistoryWindow","periodEndTimeMoment","periodStartTime","CoreTimeModel","periodEndTime","getDeliveriesForLocationInPeriod","transferService","getTransferReportsForLocationInPeriod","breakageService","getBreakageReportsForLocationInPeriod","prepEventService","transferIdSet","breakageIdSet","deliveryDistributorIds","getTransferReportsById","distributorService","getDistributorsById","getBreakageReportsById","partnerLocationIds","locationService","getLocationNamesById","numMonthsToLoad","loadedProductHistoryData","numMonthsDisplayed","numMonthsLoaded","numMonthsOfDataLoaded","numMonthsToLoadThrough","chunkPromises","chunkStartMonthsAgo","ITEM_CARD_HISTORY_FETCH_CHUNK_MONTHS","chunkEndTimeMoment","chunkStartTimeMoment","mergeEventsPromise","getMergeEventsForRetailer","chunkResults","recordsToMerge","records","windowData","oldCategoryId","oldGlCode","nonDeletedProductIds","allProductIds","allProductsById","availableDistributorsByIdForLocation","retailerDistributorRelationships","productCostSettings","resultDeletionEventsByProductId","resultCategoriesById","getRetailerSettingsInformation","includeDeposits","product_cost","include_deposits","includeTaxes","include_taxes","includeDiscounts","include_discounts","resultProductsById","resultAvailableDistributorsByIdForLocation","getRetailerDistributorRelationships","resultRetailerDistributorRelationships","resultDistributorIdsByProductId","productDistributorAssociationService","getProductDistributorAssociationsForProductIds","resultProductDistributorAssociationsByProductId","glCodes","productTypes","glCodeIOptions","customGlCodeIOptions","productTypeIOptions","nonDeletedProducts","productGLCode","_getState$itemCardSta","_getState$itemCardSta2","createSortedOptionsAndLablNameTuplesFromOptionArray","connectedGlCodeSortedOptionsAndLabelNames","customGlCodeSortedOptionsAndLabelNames","distributorIdsWithRelationship","getDistributorSortedOptionsAndLabelNames","resetDisplayedWindowActions","defaultWindow","productAndProductHash","getProductAndProductHash","urlWithoutItemId","currentProductCostsByProductId","parByProductId","productParService","getParsByProductId","par","relevantDistributorIds","getNameForAccountId","CREATE_PRODUCT_FORM_INITIAL_VALIDATION_INPUT_DATA_BY_FIELD_NAME","setSelectedItemCardView","blurValue","DEFAULT_PRICE_VALUE","validateGreaterThanZero","ProductDistributorAssociationFormId","generateUniqueProductDistributorAssociationFormId","validateProductDistributorAssociationValueByFieldName","allConversionsAreValid","conversionIsValid","allPackagingWeightsAreValid","allProductDistributorAssociations","productDistributorAssociationFormFieldName","validPackagings","allPackagingsAreValid","savedProduct","savedProductDistributorAssociations","productSaveData","getProductSaveData","getProductDistributorAssociations","pId","findDuplicatesForProduct","newCategoryPromise","category_hash","productIdPromise","savedPackagingsAndMappings","packagingsAreEqual","allPackagingsAreContained","editProduct","distributorAssociationPromise","newProductCost","updatedProductDistributorAssociations","productDistributorAssociationsToRemove","updatedProductDistributorAssociationsByIdentifier","productDistributorAssociationIdentifier","createOrUpdateProductDistributorAssociations","disassociateProductDistributorAssociations","setParPromise","setParsForProductId","setProductCostPromise","resultProduct","currentItemCardData","savedParsByProductId","deleteProducts","newDeletedProductIds","setProductAsInactive","priceEstimateElements","priceEstimate","priceEstimateString","counter","PACKAGING_WEIGHT_FORM_INITIAL_VALIDATION_INPUT_DATA_BY_FIELD_NAME","lastEditedAccountInfo","ItemCardReducers","reduceSetProductId","reduceSetFormFieldValidationData","reduceSetFormValidationData","reduceSetIsSubmitting","reduceSetSelectedItemCardView","reduceSetItemCardData","reduceSetProductHistoryData","reduceUpdateProductInfo","newDistributorIdsByProductId","newProductDistributorAssociationsByProductId","newParsByProductId","reduceUpdateDistributorsByDistributorId","newDistributorsByDistributorId","newDistributorIdsWithRelationship","newDistributorSortedOptionsAndLabelNames","reduceUpdateNamesByUserAccountId","reduceUpdateCategoriesById","reduceSetProductFormData","reduceSetProductFormValidationInputDataByFieldName","reduceSetUnitsWithConversionForms","newConversions","reduceSetConversionFieldValidationData","reduceSetPackagingIdHasPackagingWeightForm","newPackagingWeights","reduceSetPackagingWeightFieldValidationData","reduceSetPackagingWeightFormPackagingIdValue","reduceSetProductDistributorAssociationFieldValidationData","newProductDistributorAssociations","reduceAddProductDistributorAssociationForm","reduceRemoveProductDistributorAssociationForms","reduceSetFocusedField","reduceSetPotentialDuplicateMatches","itemCardReducers","sortedUnitValues","caseNameValue","comesAsCaseValue","unitNameValue","caseQuantityValue","contentQuantityValue","contentUnitValue","contentUnitLabel","unitProductQuantityUnitValue","unitProductQuantityUnitLabel","caseProductQuantityUnitValue","caseProductQuantityUnitLabel","getFormProductQuantityUnitValuesByPackagingId","formProductQuantityUnitValuesByPackagingId","sortedUnitValuesAndLabels","currentSortedUnitValuesIndex","getSortedBaseUnitValues","sortedBaseUnitValues","baseUnitValues","sortedPriceUnitValues","getPackagingWithValidPackagingId","sortedUnitValuesIndex","packagingIdsByformProductQuantityUnit","getProductQuantityUnitFromFormValue","formProductQuantityUnitValue","productFormValidationInputDataByFieldName","packagingsWithDummyPackagingIds","updateEventUserAccountIdAndTimestamp","nonDeletedPackagings","unitAndValue","topLevelPackagingIdsToSave","packagingDataToSave","replacementPackagingIdMappings","packagingIdsToSave","replacedPackagingId","defaultFormFieldValidation","resolvedPar","resolvedCostUnit","resolvedProductCostAmount","productDistributorAssociationsByFormId","resolvedPriceUnit","resolvedDepositUnit","decimalToNumberString","emptyWeightQuantityValue","emptyWeightUnitValue","fullWeightQuantityValue","fullWeightUnitValue","fieldNameText","validateLongText","validateShortText","useDefaultLabels","sortedUnitIOptions","unitValues","unitValueAndLabel","selectedBaseUnitValue","massUnitIsAccountedFor","volumeUnitIsAccountedFor","firstPackagingFormValidationInputDataByFieldName","priceAmountIsShown","priceUnitOptions","matchingUnitValueAndLabel","includeNullVendorOption","myVendorIOptions","otherVendorIOptions","packagingFormDataIndexByFormProductQuantityUnitValue","packagingFormDataEntry","getProductDistributorAndParForEditOrCreate","productWithDummyPackaging","getMatchReason","nameScore","hasExactSkuMatch","getAllProductSKUsWithVendors","skusWithVendors","productSku","associations","distributorSku","primaryDistributorId","arePotentialDuplicates","product1Id","product2Id","name1","getProductNameString","name2","skusWithVendors1","skusWithVendors2","getStringSimilarityScore","skuVendor1","skuVendor2","findConnectedComponent","startNode","visited","component","calculateSimilarityReason","matchReasons","hasNameMatch","hasSkuMatch","pairKey","generateGroupId","productsByIdMap","names","skus","productIdsToCompare","newProductDistributorId","getNewProductDistributorAssociations","newProductIdPlaceholder","newProductPlaceholderProductId","augmentedDistributorIdsByProductId","augmentedAssociationsByProductId","newAssociationsMap","existingProductId","existingProduct","findDuplicateGroups","buildMatchingProductsMap","similarityReason","AUTO_MERGE_DELIVERY_START","resolveOldUnitToMergedProductUnit","mergedProductInformation","needsUnitOfMeasureConversion","newBaseUnit","originalBaseUnit","getMergedPackagingConversions","baseUnitConversionMultiplier","selectedBaseUnit","hasUnitOfVolumeConversion","hasUnitOfMassConversion","product1Conversions","product1BaseUnit","product2Conversions","product2BaseUnit","number","getSalesItemWithConflictsResolved","mergedProductId","oldSalesItem","salesItemConflictResolution","componentQuantityByProductId","newComponentQuantityByProductId","oldProductQuantityUnit","MergeItemUtils","getMergedProductAndPackageMappings","autoMerge","packaging1DataToSave","packaging2DataToSave","new2Packages","duplicatePackaging","getDuplicatePackaging","packagingDataArray","currentDuplicatePackaging","duplicatePackagingId","carryOverDeletedPackagings","seenPackagingIds","product2Mappings","deletedPackagingId","resolvedUnit","mergedPackagingId","getMergedPackagings","baseUnitConversion","newReportingUnit","getMergedReportingUnit","product1ReportingUnit","product2ReportingUnit","newPackagingUnit","newPackagingId","multiVendorFeatureIsOn","mergedProduct","getMergedProductDistributorAssociations","mergedProductDistributorAssociations","resolvedProductDistributorAssociationPrice","resolvedProductDistributorAssociationDeposit","resolvedOldPriceUnit","resolvedOldDepositUnit","resolvedOldUnit","getQuantityInUnitResolutionOptionsOnMergedProduct","product1QuantityInUnit","product2QuantityInUnit","product1Unit","product2Unit","resolutionOptions","product2ToProduct1QuantityOfProductConversion","getProductMergeEventsByProductId","productMergeEvents","mergeEventsByProductId","eventJson","getMergeEvent","mergedProducts","mergeEventsForProductId","getAffectedSalesItemsById","oldPackagingIdToNewPackagingIds","salesItemsWithMetadataById","salesItemResolutionById","components","getAffectedStorageAreaProductsById","affectedStorageAreaProductsById","affectedProducts","productIdInList","getCartConflicts","product1CartItems","product2CartItems","conflictingCartItems","conflictingProduct2CartItems","cartItem1","cartItem1Distributor","cartItem2","cartItem2Distributor","needsNewConversion","baseUnit1","baseUnit2","buildMergeRequestData","mergeItemCardData","resolvedProductJSON","getJSONProductFromProduct","oldId","salesItemConflictResolutions","salesItemResolutionBySalesItemId","product_quantity_unit","cartConflictResolutions","cartConflicts","currentCart","resolvedCartQuantityUnitByCartItem","cartResolution","conflictingCartItem","distIdStr","inventoryCountUserResolutions","currentInventoryProductCountResolutionsByStorageAreaId","pc","saId","product_id_to_keep","product_ids_to_remove","resolved_product","old_packaging_id_to_new_packaging_id","sales_item_conflict_resolutions","cart_conflict_resolutions","inventory_count_user_resolutions","par_resolution","getQuantityInUnitJSON","parResolution","cost_resolution","getProductCostJSON","costResolution","distributor_resolution","distributorResolution","lastProductCostsById","costsBySalesItemIdForIds","getSalesItemWorkSheet","costOfSalesItemsById","salesItemWithMetdata","salesItemSheet","line","salesItemWorkSheet","formatNumberCellsInColumn","CellFormat","MONETARY_VALUE","formatNumberCell","PERCENT","generateWorkSheetsWithUniqueNames","worksheets","seenCleanedUpSalesItemNames","truncatedSalesItemName","MAX_SHEET_NAME_LENGTH","cleanedSalesItemWorkSheetName","cleanWorksheetName","timesCleanedUpSalesItemNameHasBeenSeen","actualSalesItemWorkSheetName","numberOfCharactersToTrimFromEndOfName","trunc","exportSalesItemsListToExcel","currentDateInRetailerTimeZone","headersRow","arrayOfArraysForSalesItemsSheet","arrayOfArraysForItemsNeedingAttentionSheet","ingredientsString","flattenedMapOfProductIngredients","categoryAndSubcategory","needsAttentionRow","workSheetSalesItems","worksheetItemsNeedingAttention","salesItemWorkSheetName","exportRecipeBookToExcel","isInteger","getNotificationMessageSalesItemIdentifier","notificationMessageIdentifier","replaceNeedsAttentionCategoryInSalesItem","newNeedsAttentionCategory","newSalesItem","salesItemMapperData","activeSalesItemEditing","selectedSalesItemIds","sortedFilteredGroupedResult","sortDirection","sortByColumnId","defaultPourDialog","BulkActionsHeader","numberSelected","onLeaveBulkActions","bulkActionButtons","buttonElements","button","buttonClass","withIcon","MIN_DESKTOP_WIDTH","MAX_TABLET_WIDTH","closeBulkActionsButton","UNMAPPED_STATUS_GROUP_NAME","MAPPED_STATUS_GROUP_NAME","DELETED_STATUS_GROUP_NAME","mappedStatusGroupSortOrder","createPosItemStringForFilter","posItemFilterStringCache","lastPosItemsById","salesItemRowFilter","rowId","defaultPosItemRowFilter","posItemsById","salesItemStringForSearch","cachedCreatePosItemStringForFilter","posItemStringForFilter","posItemsByPosItemId","salesItemGroupNameComparator","salesItemGroupNameGetter","getInfoFromSalesInputRowId","unmappedSalesByPosItemId","DEFAULT_UNASSIGNED_MENU_GROUP","rowId1","rowId2","item1","item2","totalSold1","totalSold2","salesItemMapperSortingUtil","separateDeletedItems","isFlagged","SalesItemMapperUtils","getMappedStatusForSalesItem","getSalesItemMapperGroupByOption","unitCountByStorageAreaIdForInventory","sum","formatting","worksheet","constructSheetFromSortedFilteredGroupedResult","unitCountByStorageAreaIdForEndingInventory","endingInventoryUnitCount","unitCost","unitCostInPreferredReportingUnit","breakagesTotalUnitCount","unitUsageCount","getNumberOrUndefinedDisplay","UsageReportQuickFilterOption","ContextTab","UserIcon","showCloseIcon","initials","closeElement","initialsElement","TransitionGroup","CSSTransition","appear","exit","classNames","enter","UserButtonApp","thisElement","generateRetailerRow","retailer","highlightUnselected","isSandbox","getRef","handleOnBlur","relatedTarget","activeElement","contains","UserSessionActions","setUserPopdownOpen","handleOnIconClick","userPopdownOpen","handleOnLogoutButtonClick","logoutUser","onOpenLiveChatClick","HubSpotConversations","HubspotChatUtils","openChatWidget","onGoToHelpCenter","_elev","UNSAFE_componentWillMount","hsConversationsSettings","loadImmediately","inlineEmbedSelector","fetchUserInfo","determinePageContext","tabIndex","showHome","HubSpotChat","userRetailers","orderedRetailerIds","ungrouped","sandboxes","PathUtils","getAbsolutePathForRequest","ConnectedUserButtonApp","contextTabsByPageContext","DEFAULT","HOME","HELP","TUTORIAL","VIDEOS","noContentDefault","UserSessionUtils","getContextTabContent","tab","getContentAccountDashboard","getContentPriceChangeReport","getContentUsageReport","getContentExcessInventoryReport","getContentUnusedInventoryReport","getContentTransferReport","getContentLossReport","getContentPrepReport","getContentInventoryHistory","getContentInventoryDraft","getContentOrderHistory","getContentOrderDetail","getContentCartBuilder","getContentSalesHistory","getContentMySalesItem","getContentCategorySalesReport","getContentItemLevelSalesReportSummary","getContentItemLevelSalesReportInput","getContentItemLevelSalesReportPerformance","getContentItemLevelSalesReportVariance","search","getContentMyStorageAreas","getContentMyItems","getContentMyVendors","getContentAccountSettings","getContentUsersSettings","getContentPlansAndBilling","getContentIntegrations","HELP_LINK_INFO","walkMe","nodeId","buildWalkMeLink","linkId","linkInfo","isMobile","matchMedia","handleClick","WalkMeAPI","startFlowById","GLOBAL_RETAILER_IS_IN_FREE_TRIAL","dashboardVideo","FETCH_USER_INFO","SET_USER_INFO","SET_ACTIVE_TAB","SET_AVAILABLE_TABS","SET_USER_POPDOWN_OPEN","SET_USER_RETAILERS","SET_PAGE_CONTEXT","setUserRetailers","setAvailableTabs","availabelTabs","setPageContext","onSuccessfulSignIn","getAccountId","identifyAuthenticated","nextUrl","nextUrlValues","queryStringReader","getValuesForName","QueryStringNameNotFoundException","onSuccessfulSignUp","signUpData","isActionByAdmin","hubspotCookie","cookieReader","getCookie","UnknownCookieException","unauthenticatedUserSessionManager","getOrCreateUnauthenticatedUserSessionId","trackConversion","userCreated","bar_name","barName","zip_code","optionalZipCode","subscribe_to_blog","subscribeToBlog","hubspot_cookie","is_admin_created","should_receive_marketing","source_url","creator_user_id","userFullName","page","identifyUnauthenticated","cookieDeleter","deleteCookie","USER_SESSION_COOKIE_NAME","getAccountRetailers","getAccountRetailersByGroup","getAccountInfo","accountRetailerData","userAccountRetailersByGroup","groupLength","retailerNameByRetailerId","retailerAccountTypeByRetailerId","isSandboxByRetailerId","setActiveTab","activeTab","retailerIdIndex","validatePath","availableTabs","UserSessionReducers","reduceSetUserInfo","reduceSetPageContext","reduceSetActiveTab","reduceSetAvailableTabs","reduceSetUserPopdownOpen","reduceSetUserRetailers","FieldSpec","subField","onChangeVerifyFunction","onBlurVerifyFunction","onChangeVerify","onBlurVerify","caseMinimumValidation","or","empty","and","short","dollarMinimumValidation","validateUSD","nameValidation","emailValidation","cellValidation","validateUSPhoneNumber","FormFieldSpecs","long","addressLine1","addressLine2","RepFormFieldSpecs","AdjustmentFormFieldSpecs","createBlankFormFields","createFormFieldsFromVendorInfo","vendorInfo","vendorId","vendor","getVendorById","createDeliveryDaysFromVendorInfo","createRepFormDataFromVendorInfo","rep","getPaymentTermFromVendorInfo","createAdjustmentFormDataFromVendorInfo","createVendorInfoFromFormFields","repFormData","adjustmentFormData","createRepVendorInfoFromRepFormFields","createAdjustmentVendorInfoFromAdjustmentFormFields","cleanedCaseMin","caseMinNumber","cleanedDollarMin","dollarMinNumber","DjangoApiManager","locationJSONToObjectSerializer","getUniqueDisplayNamesForTwoSimilarProducts","duplicateDisplayName","product1Package","product2Package","badDisplayNames","product1DisplayName","product2DisplayName","prod1Package","prod2Package","quantity_of_content","getUniqueDisplayNamesForSetOfProducts","productDataById","productNamesByProductId","indexOfProductIdByDisplayName","productIdKeys","productDisplayName","indexOfDuplicateName","duplicateDisplayNameProductId","package","newProductDisplayNameForDuplicate","displayNameData","prodPackage","duplicateIndex","duplicateProduct","djangoInventoryChartDataToSortedDataValuesByDataId","valueByProductId","categoryName","valuesByDataIdAndCategoryName","idAndValue","categoryDict","getAccessibleRetailers","responseRetailer","LocationModel","_id","getUserNameById","fields","getUserInfoById","getRetailerNameById","getRetailersById","postBody","retailer_ids","ajaxPost","getDistributorsByRetailerId","has_associated_order","getInventoriesWithSittingValueSortedByDate","start_index_inclusive","get_sitting_value","getInventoriesWithSittingValueInDateRangeSortedByDate","start_time_inclusive","getValueInTimezone","Timezone","UTC","end_time_exclusive","getInventoriesSortedByDate","getNumberOfFinalizedInventoriesForRetailer","number_of_inventories","getOrdersInDateRange","process_uploads","date_range_types","getInventoryReportingDataForMostRecentInventory","product_data_by_id","chartData","topProductsByDollarValue","top_dollar_value_products_product_id_dollar_value_tuples","topProductsByUnit","top_number_unit_products_by_product_id_unit_value_tuples","rejection","getExcessInventoryReportData","startInventoryId","endInventoryId","start_inventory_id","end_inventory_id","deserializedData","productName","product_brand","product_name","product_id","bottle_cost","sittingUnits","sitting_bottle_count","sittingDollars","sitting_dollar_value","averageWeeklyUnitUsage","average_weekly_bottle_usage","suggested_par","excessUnits","excess_bottle_count","excessDollars","excess_dollar_value","validateZipCode","getBreadcrumbCredential","breadcrumb_credential","credential_is_authenticated","updateBreadcrumbCredential","deleteBreadcrumbCredential","ajaxDelete","createItemLevelSalesReportConfiguration","boundingInventoryId0","boundingInventoryId1","pmixFiles","salesOnboardingData","pourSizeByCategory","wellList","recipeFiles","FormData","beer","wine","shot","ajaxPostForm","getRetailerFreeTrialStatus","getEmailSubscriptionsForUser","legacySubscribableRetailerNamesById","subscribable_retailer_name_by_id","legacySubscriptionDataDyRetailerId","subscription_data_by_retailer_id","getEmailSubscriptionDataFromLegacy","updateRetailerEmailSubscriptions","getLegacyEmailSubscriptionData","getAggregatedTransferData","start_date_inclusive","end_date_exclusive","deserializeTransferTotalByProductId","transferTotalByProductId","productIdObject","bottlePackaging","unitsIn","bottle_count","dollarsIn","dollar_value","unitsOut","dollarsOut","transfer_data_by_retailer_id","transfer_data_by_custom_location_name","productInformation","transferDataByLocationId","transferDataByCustomLocationName","SET_ERROR_NOTIFICATION_TYPE","ErrorNotificationDialogActions","setErrorNotificationType","errorNotificationType","ErrorNotificationTypeEnum","errorNotificationDialogInitialState","ErrorNotificationDialogReducers","reduceSetErrorNotificationType","updates","AddressForm","makeValidationInput","fieldData","CountryNameByCode","onEnterClick","setValidationInputForField","countryCode","validateAddressValueByFieldName","updatedValidationInputAndFieldNameTuples","djangoApiManager","cityAndState","extra_message","AddressFormActions","updatedFieldsAndValidationInputs","fieldAndValidationInputTuple","doNothingFunction","onSelectCountryOption","rowClassName","addressLine1Label","addressLine2Label","countryIsDisabled","countryOptionsAndLabelName","getCountryOptionsForSelect2Dropdown","selectedCountryOptionValue","selectedCountryOption","unitedStatesCityAndStateAreSetAndValid","streetAddressLine1","streetAddressLine2","zipCode","ConnectedAddressForm","selectedCountryCode","AutoCreatedIcon","popoverText","popoverButtons","onButtonClick","MonthOfYear","BevSpotDatePickerUtils","convertDateTimeToMoment","dateTime","convertDateTimeToUTCMoment","utcTime","decrementMonth","monthOfYear","newMonthOfYear","DECEMBER","getDayOfWeekNameOfFirstDayInMonthForGivenYear","monthAndYearAsString","monthAsMoment","getDayOfWeekNames","DayOfWeekName","SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","getMonthAsNumberFromDateTime","getMonthAsStringFromMonthOfYear","getNumberOfDaysInMonthForGivenYear","daysInMonth","getNumberOfWeeksInMonth","firstDayOfMonthDayOfWeekName","numberOfDaysInMonth","ceil","getNumericalDayOfMonthForDateTime","getYearAsNumberFromDateTime","getYearAsStringFromDateTime","incrementMonth","JANUARY","updateDateTimeWithYearMonthAndDay","newNumericalDayOfMonth","newMonthAsNumber","newYear","dateTimeAsMoment","BevSpotDatePickerCalendarInputRow","handleSetSelectedDateTime","updatedDateTime","selectedDateTime","visibleMonth","visibleYear","setSelectedDateTime","selectedDateTimeYear","selectedDateTimeNumericalDayOfMonth","selectedDateTimeMonthAsNumber","selectedDateTimeIsVisible","dayOfWeekElements","dayOfWeekName","numericalDayOfMonth","calendarWeek","getNumericalDayOfMonthFromDayOfWeekName","BevSpotDatePickerCalendarInput","calendarMonth","calendarWeekElements","getCalendarWeeks","BevSpotDatePickerMonthSelector","setVisibleMonth","setVisibleYear","decrementedMonth","incrementedMonth","CalendarDay","getNumericalDayOfMonth","getDayOfWeekName","CalendarWeek","firstDayInWeek","firstDayInWeekDayName","firstDayInWeekDayOfMonth","differenceBetweenDays","getFirstDayInWeek","getNumberOfDaysInMonth","CalendarMonth","firstDayOfMonth","firstWeekOfMonth","calendarWeeks","numberOfWeeksInMonth","previousSaturdayNumericalDayOfMonth","BevSpotDatePicker","numberOfDaysInMonthForGivenYear","dayOfWeekNameOfFirstDayOfMonthForGivenYear","visibleCalendarMonth","PeriodOfDay","InvalidHourException","InvalidMinuteException","BevSpotTimePickerUtils","addTwelveHours","momentWithNewHour","decrementHour","momentWithDecrementedHour","decrementMinute","momentWithDecrementedMinute","getPeriodOfDayFromDateTime","getHourAsStringFromDateTime","getMinuteAsStringFromDatetime","incrementHour","momentWithIncrementedHour","incrementMinute","momentWithIncrementedMinute","setHour","newHour","periodOfDay","hour","PM","AM","setMinute","newMinute","momentWithNewMinute","minute","subtractTwelveHours","validateHour","hourValue","validationArgs","InputValidators","hourInputValidator","validateMinute","minuteValue","minuteInputValidator","BevSpotTimePickerHourInput","formValue","setErrorMessage","setIsValid","setFormValue","dateTimeWithIncrementedHour","dateTimeWithDecrementedHour","BevSpotTimePickerMinuteInput","dateTimeWithIncrementedMinute","dateTimeWithDecrementedMinute","BevSpotTimePickerPeriodOfDaySelector","dateTimeWithNewHour","selectedPeriodOfDay","BevSpotTimePicker","handleSetMinuteFormValue","minuteFormValue","shouldUpdateHourFormValue","formActions","formValues","newHourFormValue","currentHourFormValueAsNumber","currentMinuteValueAsNumber","minuteFormValueAsNumber","errorElement","BevspotDateTimePickerHeader","toMoment","dayOfWeek","timeOfDay","calendarDate","BevSpotDateTimePicker","inputRef","dateTimeFormat","defaultDateTimePickerState","DateTimePickerActions","initializeDatetimePickerState","componentDidUpdate","popUpPicker","setHourErrorMessage","setHourIsValid","setHourFormValue","setMinuteErrorMessage","setMinuteIsValid","setMinuteFormValue","newDateTime","dateTimePickerType","onInputChange","timezoneFromWindow","getDateTimeFromMoment","popover","newVisibleMonth","newVisibleYear","dateTimeValue","handleSetDateTimePickerIsShown","onKeyUp","anchorClickBehavior","ConnectedBevSpotDateTimePicker","ownProps","dateTimePickerStateById","INITIALIZE_DATE_TIME_PICKER","SET_HOUR_ERROR_MESSAGE","SET_HOUR_IS_VALID","SET_HOUR_FORM_VALUE","SET_MINUTE_ERROR_MESSAGE","SET_MINUTE_IS_VALID","SET_MINUTE_FORM_VALUE","SET_SELECTED_DATE_TIME","SET_VISIBLE_MONTH","SET_VISIBLE_YEAR","dateTimePickerId","BevSpotDateTimePickerReducers","reduceInitializeDateTimePickerState","newState","reduceSetHourErrorMessage","reduceSetHourIsValid","reduceSetHourFormValue","reduceSetMinuteErrorMessage","reduceSetMinuteIsValid","reduceSetMinuteFormValue","reduceSetSelectedDateTime","reduceSetVisibleMonth","reduceSetVisibleYear","SET_MODAL_SHOWN","SET_EXISTING_CREDENTIAL_STATE","RESET_CREDENTIAL_FORM_ACCORDING_TO_EXISTING_CREDENTIAL","FETCH_EXISTING_CREDENTIAL_REQUEST","FETCH_EXISTING_CREDENTIAL_SUCCESS","FETCH_EXISTING_CREDENTIAL_FAILURE","UPDATE_CREDENTIAL_REQUEST","UPDATE_CREDENTIAL_SUCCESS","UPDATE_CREDENTIAL_FAILURE","SET_USERNAME_FIELD_VALUE","SET_PASSWORD_FIELD_VALUE","SET_USERNAME_FIELD_ERROR","SET_PASSWORD_FIELD_ERROR","DELETE_CREDENTIAL_REQUEST","DELETE_CREDENTIAL_SUCCESS","DELETE_CREDENTIAL_FAILURE","resetCredentialFormAccordingToExistingCredential","setExistingCredentialState","credentialData","BreadcrumbIntegrationModalActions","setModalShown","setUsernameFieldValue","setPasswordFieldValue","fetchExistingCredential","fetchExistingCredentialRequest","updateCredential","updateCredentialRequest","deleteCredential","deleteCredentialRequest","credentialFormEmptyState","usernameField","passwordField","credentialIsValid","isSubmittingUpdate","isDeleting","updateSubmitted","existingIntegration","modalIsShown","isLoadingExistingCredential","credentialFormState","BreadcrumbIntegrationModalReducers","reduceSetModalShown","reduceResetCredentialFormAccordingToExistingCredential","existingCredentialState","reduceFetchExistingCredentialRequest","reduceFetchExistingCredentialSuccess","reduceSetExistingCredentialState","reduceUpdateCredentialRequest","reduceUpdateCredentialSuccess","reduceUpdateCredentialFailure","reduceDeleteCredentialRequest","reduceDeleteCredentialSuccess","reduceSetUsernameFieldValue","reduceSetPasswordFieldValue","reduceSetUsernameFieldError","reduceSetPasswordFieldError","AxisTick","determineClassNamePrefix","axisPosition","AxisPosition","TOP","BOTTOM","createTickLine","showTickLine","boundingBox","x1","y1","x2","y2","widthInPixels","heightInPixels","axisTickLineLengthInPixels","stroke","axisTickLineColor","createLabel","labelValue","totalLabelPaddingInPixels","axisTickLabelDistanceFromLineInPixels","textPosition","axisTickLabelHeightInPixels","textAnchor","ensureBoundingBoxIsValid","Axis","halfAxisTickLength","determineHalfAxisTickLength","axisTicks","numberOfAxisTicks","createLine","axisLine","startsAtTick","endsAtTick","axisLineColor","strokeWidth","axisLineWidthInPixels","createTicks","axisTickComponentHeightInPixels","axisTickComponentWidthInPixels","axisTick","height","width","degreesToRotate","axisLabelDistanceFromEdgeInPixels","transform","getTranslationTransformation","XAxis","xAxis","yAxisWidthInPixels","hasAxisTickOnLeftEdge","hasAxisTickOnRightEdge","axisLength","numberOfAxisTicksOutsideOfWidth","widthOfAxisTick","showAxisLine","YAxis","yAxis","xAxisHeightInPixels","hasAxisTickOnBottomEdge","hasAxisTickOnTopEdge","numberOfAxisTicksOutsideOfHeight","heightOfAxisTick","axisLabelLengthInPixels","maxAxisLengthInPixels","calculateDataAxisTicks","dataAxisType","dataArray","axisWidthInPixels","DataAxisType","DATE","calculateDataAxisTicksForDateType","maxNumberOfLabelsToDisplayForMonthAndDayFormat","getWidthOfLabelWithPaddingInPixels","maxNumberOfLabelsToDisplayForMondayFormat","numberOfDays","labelFunction","numberOfTicksBetweenShownLabels","showAllTicks","getLabelForEveryDay","getLabelForEveryMonday","getLabelForFirstDayOfEveryMonth","getLabelForFirstDayOfEveryQuarter","numberOfTicksSinceLastLabel","dateValue","labelLength","labelPaddingInPixels","dayOfMonth","calculateDataAxisTicksForValuesWithAdditionalData","valuesWithAdditionalData","valueWithAdditionalData","calculateDataAxisTicksForValuesByCategoryNameWithAdditionalData","arrayOfValuesByCategoryNameWithAdditionalData","valuesByCategoryNameWithAdditionalData","calculateValueAxisTicks","gridLineData","valueAxisTickLabelFormatter","numberOfGridLines","valueOfGapBetweenGridLines","numberOfGapsBelowZero","minValue","gridStartValue","calculateAxisLength","axisLabelValue","chartUtils","estimateTextWidth","calculateMaxLabelValueWidth","GridLine","orientation","Orientation","HORIZONTAL","VERTICAL","createFill","fillColor","lineType","strokeWidthInPixels","GridLineType","THIN_LINE","THICK_LINE","gridLineColor","gridLineOpacity","Grid","createGridLines","verticalLinesMustBeDrawnFirst","horizontalGridLines","verticalGridLines","verticalGridLineElements","horizontalGridLineElements","createGridLinesForOrientation","gridLines","gapOrientation","divisor","heightAdjusmentInPixels","widthAdjustmentInPixels","gridLine","previousGridLine","nextGridLine","horizontalLinesMustBeDrawnFirst","pointerEvents","LegendItem","createShape","shape","Shape","legendItemSquareLengthInPixels","createName","Legend","createItems","legendItems","legendItem","LineSegment","createLineSegment","startValue","endValue","valueRange","lineColor","rangeValue","maxValue","startValuePercent","endValuePercent","ensureValueIsWithinRange","Point","createOuterCircle","outerColor","cx","cy","createInnerCircle","innerColor","MultiplePoints","createPoints","points","point","Line","createLineSegments","linePoints","firstIndexWithNonNullValue","linePoint","lineSegments","lastValueIndex","lastNullableValue","overflow","createMultiplePoints","pointOuterColor","pointInnerColor","hasMultiplePoints","showPoint","yPositionPercent","MultipleLines","createLines","lines","lineColors","previousValue","currentValue","LineChartView","gridBoundingBox","createXAxis","createYAxis","createBackground","backgroundHoverHandler","backgroundClickHandler","onHover","offHover","fillOpacity","onMouseOver","onMouseEnter","onMouseMove","onMouseOut","onMouseLeave","createGrid","grid","createMultipleLines","multipleLines","numberOfLinePoints","NullDataLineChart","createLineChartView","calculateLines","linePointValues","gray","white","AbstractLineChart","currentMousePosition","containerElement","tooltipElement","onWindowResize","resetToInitialState","onTooltipDismissal","AbstractLineChartActions","setActiveLinePointIndex","setTooltipPosition","onMouseEvent","pageX","pageY","handleMousePosition","boundingRectangle","calculateBoundingRecatangle","linePointIndex","calculateLinePointIndex","tooltipPosition","calculateTooltipPosition","generateBackgroundHoverHandler","generateBackgroundClickHandler","createLineChart","createNullDataLineChart","getBoundingBox","createLegend","createMouseLine","createPointsOverMouseLine","createTooltip","screenHasDesktopWidth","mouseLineLabelFormatter","activeLinePointIndex","getXAxisHeight","getNumberOfLinePoints","getGridWidth","getYAxisWidth","MouseLine","mousePosition","tooltips","maxTooltipBodyItems","onDismissal","tooltip","filterTooltipBodyToNearestItems","Tooltip","headerValue","footer","LINE","referenceFunction","tooltipReferenceFunction","maxItems","range","svgElement","svgRect","getBoundingClientRect","mousePixelY","pageYOffset","gridHeight","pixelYByBodyIndex","bodyIdx","yPercent","scored","pixelY","distance","containerReferenceFunction","clientWidth","getLinePointIndexesWithValues","linePointIndexesWithValues","chartViewContainer","gridPercent","calculateMousePositionRelativeToChartOrigin","linePointGridPercentages","closestIndex","smallestDifference","linePointGridPercent","currentDifference","xPosition","left","getOffsetParentOffset","getTooltipPositionOnEitherSideOfHoveredObject","getRightScreenEdgeInPixels","pageXOffset","getTooltipPositionBasedOnMousePosition","clientHeight","getBottomScreenEdgeInPixels","initializeState","forceUpdate","ConnectedAbstractLineChart","abstractLineChartStateById","LineChart","abstractLineChart","implementNullDataAbstractLineChart","lineChartUniqueId","implementAbstractLineChart","sortedArrayOfValuesByCategoryNameWithAdditionalData","calculateValueRangeForArrayOfValuesByCategoryNameWithAdditionalData","calculateGridLineData","newValueRange","calculateValueRange","valueAxis","calculateValueAxis","dataAxis","calculateDataAxis","calculateGrid","calculateMultipleLines","calculateTooltips","hideLegend","calculateLegendItems","valueAxisLabelValue","axesUtils","dataAxisLabelValue","gridFillColorCalculator","calculateGridLines","calculateFillLinesForValuesByCategoryNameWithAdditionalData","orderedCategoryNames","lineColorsByCategoryName","showAllPoints","linePointsByCategoryName","valuesByCategoryName","tooltipHeaderFormatter","tooltipItemNameFormatter","tooltipItemValueFormatter","hasFocus","additionalLegendItems","legendItemFormatter","lineChartElement","categoryNames","ConnectedLineChart","lineChartState","INITIALIZE_STATE","SET_ACTIVE_LINE_POINT_INDEX","SET_TOOLTIP_POSITION","initialStateById","AbstractLineChartReducers","reduceInitializeState","reduceSetActiveLinePointIndex","reduceSetTooltipPosition","mouseLineColor","strokeDasharray","mouseLineStrokeDasharray","mouseLineOpacity","textWidth","mouseLineLabelPaddingInPixels","textHeight","mouseLineLabelBackgroundColor","ShapeModel","createSquare","TooltipItem","tooltipItemShape","tooltipItemSquareLengthInPixels","createValue","createDismissButton","createHeader","createBody","tooltipItems","tooltipItem","idealNumberOfGridLines","minTooltipDistanceFromScreenEdgeInPixels","calculateFillLines","calculateMinValueForArrayOfValuesByCategoryNameWithAdditionalData","calculateMaxValueForArrayOfValuesByCategoryNameWithAdditionalData","getParent","parentElement","innerWidth","innerHeight","canvasContext","font","measureText","offsetParent","offsetTop","offsetLeft","calculateMaxValueForArrayOfValuesWithAdditionalData","possibleGapBetweenGridLines","possibleGapValues","powerOfTen","LOG10E","possibleNumbersOfGridLines","bestGapIndex","indexOfCurrentValue","calculateFillLinesForValuesWithAdditionalData","tooltipLength","screenEdge","numberOfPixelsOffscreen","defaultSideOfHoveredObjectPosition","otherSideOfHoveredObjectPosition","scrollOffset","adjustedDefaultSideOfHoveredObjectPosition","adjustedOtherSideOfHoveredObjectPosition","handleOnClick","handleOnClickGenerator","disabledClass","checkBoxClass","labelElement","labelOrientationClass","role","ChipButtonGroup","onSelect","ariaLabel","collapseLabel","expandLabel","CollapseContainer","collapseIsOpen","headerIconClass","menuButtonIconClass","menuButtonChildren","useFixedPositioning","contextMenuDivRef","portaledListRef","portaledListHeight","setPortaledListHeight","portalIsShown","anchorMeasurement","useAnchorMeasurement","handleOnOutsideComponentClick","clickTarget","clickIsInsideMenu","menuElement","_portaledListRef$curr","_portaledListRef$curr2","offsetHeight","menuRows","iconIsAfterLabel","portaledList","_portaledListPosition","_portaledListPosition2","_portaledListPosition3","portaledListPosition","listHeight","right","viewportWidth","roomAbove","roomBelow","viewportHeight","bottom","maxHeight","computePortaledListPosition","listStyle","visibility","createPortal","isInDialog","DataHistoryLimitReached","onGoToPlansAndBilling","linkToPlansAndBilling","DateRangeDropdownOption","DefaultDateRangeOptionsForReports","LAST_7_DAYS","LAST_4_WEEKS","LAST_8_WEEKS","CUSTOM","defaultDropdownOptionsByValue","LAST_MONTH","LAST_3_MONTHS","LAST_6_MONTHS","LAST_YEAR","CURRENT_CUSTOM_OPTION","DateRangeDropdown","onSetDateRangePickerShown","dateRangeUpperBoundForNonCustomOption","selectedGroupByOption","getStartDateFromDateRangeOptionForRetailerInUTC","handleOnConfirmDateRange","getStartOfDayForRetailerInUTC","getEndOfDayForRetailerInUTC","handleOnExitDateRangeSelector","selectedOptionValue","dateRangePickerIsOpen","startDatePickerId","endDatePickerId","initialStartDate","initialEndDate","dropdownStyle","optionToAdd","extraOptionForCurrentRange","dateRangePickerHeader","OutsideEventListenerContainer","onOutsideClick","ConnectedDateRangePicker","startDatePickerProps","EMBEDDED","endDatePickerProps","onConfirmDateRange","onExitDateRangeSelector","headerElement","bodyElement","confirmButtonText","dateRangeDropdownOption","retailerTimezone","subtractAmount","subtractUnit","DateRangePicker","getInvalidRangeElement","selectedStart","onConfirmDateRangeClick","onExitClick","invalidRangeElement","identificationString","DropdownMenu","dropdownMenuComponentDiv","isHovered","styleType","optionValuesMap","optionElements","optionClasses","selectOption","div","onDropdownMenuComponentBlur","createCheckBox","onCheckBoxClick","PermissionDropdown","onConfirmDropdownChanges","hasPermissionToEdit","initialSelectedOptionsValues","availablePermissions","currentUserPermissions","placeholderTextWhenEmpty","lockedPermissions","immediateMode","displayedRoles","baseSelections","setBaseSelections","selectedOptionsValues","perm","rule","withDerivedPermissions","setIsLoading","onDropdownCancel","permission","_selectedOptionsValue","_lockedPermissions$ha","userHasPermission","isLocked","derivationRule","newBase","EditDefaultPourForm","unitOptions","getDefaultPour","EditDefaultPourFormActions","getDefaultPourByCategoryFromForm","handleCreate","addCategoryOption","handleDeleteGenerator","removeCategoryOption","handleSave","defaultPourToSave","getDefaultPourDropdownOptions","defaultPourDropdownOptions","getCategoryOptions","categoryOptions","editDefaultPourFormState","getDefaultCategoryDropdownOptions","defaultPourForm","categoriesLeft","dropDownOptions","onChangeGenerator","onSelectGenerator","createFormList","formList","rowInfo","createForm","unitSelectedOption","isLeftColumn","initialDefaultPour","initializeForm","UNSAFE_componentWillUpdate","nextState","nextContext","formDirectlyOnPage","isPopup","addCategoryDropdownOptions","zeroSelectedDisplay","Fragment","addCategoryDropdownContainer","ModalFlex","paddingRight","ConnectedEditDefaultPourForm","forwardRef","defaultPourCategoriesSortingGroupingFilteringUtil","rowComparator","SET_FORM","SET_DEFAULT_POUR_FORM_FOR_INDEX","REMOVE_DEFAULT_POUR_CATEGORY","ADD_DEFAULT_POUR_CATEGORY","SET_CATEGORY_OPTIONS","DEFAULT_CATEGORY_INFO","setDefaultPourFormForIndex","validationInput","flattenedProductCategoryOptions","createOptionsAndLabelNameTuplesFromValueArray","sortedProductCategoryOptions","sortedDefaultPourCategories","dropdownSortedDefaultPourCategories","sortedCategoryOptions","defaultPour","allFieldsAreValid","rowIsValid","formFieldNameValue","newForm","EditDefaultPourFormReducers","reduceSetDefaultPourFormForIndex","oldRowInfo","reduceAddDefaultPourCategory","reduceRemoveDefaultPourCategoryByIndex","reduceSetForm","reduceSetCategoryOptions","ParInput","handleValueChange","onProductQuantityUnitSelect","unitSortedOptionsAndLabelName","EditParDialog","editParDialogState","EditParDialogActions","setProductQuantityUnit","newCount","setCount","initialCount","initialUnit","ConnectedEditParDialog","SET_COUNT","SET_PRODUCT_QUANTITY_UNIT","EditParDialogReducers","reduceSetCount","reduceSetProductQuantityUnit","ErrorDialog","isRecoverable","detailMessage","handleRecoveryButton","reload","wrapperElement","generateThemeClasses","themeClasses","Boxed","wrapperRef","FileUpload","tagIdentifier","buttonText","onFileInputChange","fileUploadState","acceptMultipleFiles","maxFileUploadCount","getOnChangeHandlerAtIndex","selectedFiles","files","fileInputs","onRemove","multiple","chooseFileButtonClasses","addFileIndex","htmlFor","SET_FILE","RESET_FILE_LIST","FileUploadActions","setFile","resetFileList","fileUploadInitialState","FileUploadReducers","reduceSetFile","fileUploadInstance","reduceResetFileList","shrink","basis","bg","FreeTrialStatusIndicator","getTrialRemainingText","freeTrialStatus","currentDateTime","shouldIncludeLinks","freeTrialStatusText","linksForLongText","endDateTime","actionItemsRemaining","statusClass","numberActionItemsRemaining","defaultGroupByOptions","iOptionByGroupByOption","optionsForDropdownMenu","onCloseLiveChatClick","widget","moduleOpened","load","widgetOpen","IngredientsBreakdownPopover","InlineEditComponentSaveState","InlineEditWrapper","inlineEditingComponentIsShown","handleOnEditClick","inlineEditComponentName","inlineEditSaveState","onFocusCapture","SAVE_IN_PROGRESS","FINISHED_SAVING","IntegrationStatusLabel","integrationStatus","statusString","tooltipText","IntegrationStatus","CONNECTED","NEEDS_ATTENTION","UNCONNECTED","InventoryPeriodSelector","startInventorySelectProps","endInventorySelectProps","shouldShowPeriodStartIsNotEarlierThanEndError","onSubmit","submitButtonText","submitButtonChildren","ConnectedInventoryPeriodSelector","inventoryPeriodSelectorState","mapDispatchToProps","mergeProps","stateProps","dispatchProps","sortedInventories","inventory","selectedStartInventoryId","selectedEndInventoryId","datesByInventoryId","toMilliseconds","InventoryPeriodSelectorActions","setStartInventoryOptionsShown","startInventoryOptionsShown","setStartInventoryId","setEndInventoryOptionsShown","endInventoryOptionsShown","setEndInventoryId","onSubmitInventoryPeriod","SET_START_INVENTORY_OPTIONS_SHOWN","SET_START_INVENTORY_ID","SET_END_INVENTORY_OPTIONS_SHOWN","SET_END_INVENTORY_ID","FETCH_INVENTORIES_REQUEST","FETCH_INVENTORIES_SUCCESS","FETCH_INVENTORIES_FAILURE","showOptions","inventoryId","fetchInventoriesForRetailer","fetchInventoriesRequest","serializedData","is_partial","fetchInventoriesFailure","InventoryPeriodSelectorReducers","setStartInventory","setEndInventory","reduceFetchInventoriesRequest","reduceFetchInventoriesSuccess","reduceFetchInventoriesFailure","LeftRightSwitchSize","LeftRightSwitch","switchLeftText","switchRightText","itemCountStringVerbose","itemCountStringMinimal","SET_EXISTING_INTEGRATION_STATE","SET_IS_LOADING","SET_MODAL_ERROR","SET_MODAL_ACCESS_TOKEN","setModalAccessToken","fetchExistingIntegration","integrationService","integrationState","LightspeedIntegrationBlockActions","completeOAuthFlow","oauthUtils","getPKCEVerifier","disconnect","setError","modalState","LightspeedIntegrationBlockReducers","reduceSetIsLoading","reduceSetExistingIntegrationState","reduceSetModalAccessToken","MobileSearchBar","handleOnHideAndClearSearchBar","handleOnEnterClick","inputElement","setSelectionRange","handleOnHideAndClearSearchBarGenerator","handleOnBlurGenerator","handleOnEnterClickGenerator","handleOnChangeGenerator","handleOnHideSearchBar","Modal","containerBodyRefFunction","actionElements","closeButtonElement","footerLeftButtonElement","OmittedItemRow","restoreDisabled","onRestore","OmittedItemsSortingUtil","defaultOmittedItemRowFilter","stringForSearch","fakePosItem","cachedCreateOmittedItemStringForFilter","unsortedRowIds","OmittedItemsView","throttledUpdateSortedFilteredGroupedResult","getGroupPanels","currentlyRestoringIds","groupPanels","onRestoreGroup","handleOnRestoreItems","onRestoreItem","newIdSet","onRestoreItems","itemId","updateSortedFilteredGroupedResult","newCurrentlyRestoringIds","onLeaveView","secondaryHeading","containerDiv","getContainerRef","Dark","BulkActions","Announce","Transparent","darkThemeClass","dataTooltip","colorSwatch","backgroundColor","DATE_RANGE_DATE_FORMAT","DeliveriesAndTransfersAndPrepsPopover","deliveriesAndTransfersPopoverIsShown","setDeliveriesAndTransfersPopoverIsShown","deliveries","deliveryIdA","deliveryIdB","deliveryA","deliveryB","linkToOrderDetail","countDisplay","transfersIn","transfersOut","transferIdA","transferIdB","transferA","transferB","linkToTransferReport","transferDate","prepEventInputs","prepEventOutputs","prepEventIdA","prepEventIdB","prepEventA","prepEventB","inputUnitCount","outputUnitCount","linkToPrepEvent","prepEventDateString","inputForDisplay","outputUnitCountInPreferredReportingUnit","deliveriesAndTransfersAndPrepsCountInPreferredReportingUnit","POPUP_EDGE_PADDING","POSITION_CLASSES","side","PositionablePopup","popupDiv","caretDiv","positionPopup","caretScaleFactor","anchorDiv","cls","classList","anchorRect","headerHeight","HTMLElement","spaceToLeftEdge","spaceToRightEdge","spaceToTop","spaceToBottom","popupHeightNeeded","popupWidthNeeded","offsetWidth","positioningClass","positionTestFunctions","above","below","center","noViablePosition","popupRectAfterPositioning","offsetX","distanceFromRightEdge","distanceFromLeftEdge","offsetY","distanceFromBottom","distanceFromTop","caretDivStyleTransform","onPopupDivRef","onCaretDivRef","usePortal","showTimerHandleRef","shownViaClickRef","outerDivRef","portalWrapperRef","cancelShowTimer","showPopup","hidePopup","onWindowClick","outerDiv","portalWrapper","insideAnchor","insidePortal","popoverContentsNode","onPopoverClick","portaledPopover","wrapperStyle","onOuterDivMouseEnter","onOuterDivMouseLeave","onAnchorClick","popupProps","SET_MODAL_IS_LOADING","setModalIsLoading","CloverIntegrationRowActions","authorizeCloverIntegration","IntegrationExceptions","disassociateLocationWithCloverMerchant","setModalError","modal","CloverIntegrationRowReducers","reduceSetModalIsLoading","reduceSetModalError","SET_INTEGRATION_STATE","setIntegrationState","HeartlandIntegrationRowActions","associateWithLocation","disassociateWithLocation","getIntegrationStatus","getExternalMerchantId","getIsAccessible","getIntegrationStatusByType","breadcrumbIntegrationState","toastIntegrationState","lightspeedIntegrationState","squareIntegrationState","omnivoreIntegrationState","cloverIntegrationState","kSeriesIntegrationState","spotOnIntegrationState","heartlandIntegrationState","rSeriesIntegrationState","jonasIntegrationState","omnivoreSupportedPosIntegrationStatus","getMultiMerchantIntegrationStatus","integrationStates","prioritizeNeedsAttention","connectedStates","hasAccessibleState","hasInaccessibleState","getMultiMerchantSpecificStatus","getMultiMerchantSpecificState","getPosHistoryLimitDays","getIntegrationIconImagePath","integrationIconImagePath","getPosCacheLastUpdatedMessage","lastSalesCacheUpdateTime","REPORT_DATETIME_FORMAT","fetchJonasIntegration","jonasIntegrationAsyncThunk","jonasIntegrationSlice","setJonasModalShown","JonasIntegrationRowReducers","SET_K_SERIES_LOCATIONS","SET_K_SERIES_LOCATION_SELECTOR_SHOWN","setLocationSelectorIsShown","associateLocationWithKSeriesLocation","kSeriesLocationId","KSeriesIntegrationRowActions","processAuthorization","kSeriesLocations","disassociateLocationWithKSeriesMerchant","locationSelectorIsShown","KSeriesIntegrationRowReducers","reduceSetLocationSelectorShown","reduceSetKSeriesLocations","$d415641d0cfd8c85$var$generateVerifier","randomUints","randoms","lib_typedarrays_default","randoms1byte","word","$d415641d0cfd8c85$var$toBytesInt32","fourByteWord","$d415641d0cfd8c85$var$getRandomValues","mask","$d415641d0cfd8c85$var$random","$d415641d0cfd8c85$export$6a61b14641fe7480","sha256_default","enc_base64url_default","generatePKCEChallenge","verifier","pkceChallenge","getOauthRedirectState","loadOmnivoreIntegrationState","OmnivoreIntegrationActions","addIntegration","OmnivoreIntegrationReducers","reduceSetIntegrationState","SET_SELECTED_MERCHANT","RSeriesIntegrationRowActions","setSelectedMerchant","SpotOnIntegrationRowActions","retrieveLocationId","SET_SQUARE_LOCATIONS","SET_SQUARE_LOCATION_SELECTOR_SHOWN","associateLocationWithSquareLocation","squareLocationId","SquareIntegrationRowActions","squareLocations","disassociateLocationWithSquareLocation","selectedMerchantId","SquareIntegrationRowReducers","reduceSetSelectedMerchant","reduceSetSquareLocations","MODAL_OPEN_CLASS_NAME_WITH_PRECEDING_SPACE","scrollPosition","returnValue","documentElement","scrollLeft","focusedElementRef","disableBodyScroll","enableBodyScroll","scrollTo","clearAllBodyScrollLocks","getStatusIcon","hasNote","noteText","vendorText","hasNoteClass","productCostString","packagingAndMappings","hasPackagingPopover","hasMultiplePackagings","packagingsElement","defaultPackaging","shouldSetFormFieldValidationData","validateForm","contentUnitPackaging","containerPackaging","onUnitNameSelect","onSetState","onContentQuantityChange","onContentQuantityBlur","onContentUnitSelect","onCaseQuantityChange","onCaseQuantityBlur","formChanges","caseFormChange","contentUnitIsCompatibleWithUnitName","getContentUnitOptions","infoPopover","unitNameSortedOptionsAndLabelName","getUnitNameSortedOptionsAndLabelName","unitNameSelectedOption","getIOptionForUnitValue","contentUnitSortedOptionsAndLabelName","getContentUnitSortedOptionsAndLabelName","contentUnitSelectedOption","isKeg","getAppearsAsText","MAX_PACKAGING_QUANTITY","QUANTITY_TOO_LARGE_ERROR_MESSAGE","DEFAULT_FOOD_PACKAGING","DEFAULT_BEVERAGE_PACKAGING","unitNameOption","contentUnitOptions","allContentUnitSortedOptionsAndLabelName","contentUnitOption","contentUnitIOption","caseQuantityNumber","contentQuantityNumber","caseQuantityOfContent","caseQuantityText","contentQuantityText","contentUnitText","isCompact","ProductCostWarningPopover","anchor","onEditClick","packageAndMappings","currentCost","warnedCostDescription","costDisplay","editButton","ProgressBar","createBar","barColor","barPercent","AutoSizingProgressBar","resizeTimeoutId","containerElementRefFunction","createProgressBar","Provider","createNewStore","appReducers","extraMiddleware","typedExtraArguments","batchedReducers","enableBatching","isImmutable","legacy_createStore","getChildContext","ReduxProvider","childContextTypes","isRequired","QuickFilterChipButton","chip","descriptionIsShown","setDescriptionIsShown","QuickFilterChips","chips","radioButtonClass","Muted","RenderOnlyFirstChild","firstChild","toArray","HeightTransitionGroupAnimationDiv","animationDiv","animationDivRef","divWrapperRef","componentWillEnter","doneCallback","display","transition","paddingTop","ANIMATION_LENGTH_IN_SECONDS","componentDidEnter","componentWillLeave","hasPendingRender","watchForContainerHeightChanges","computeParametersOnNextRender","forceRerender","rowHeight","maxVisibleScreenSize","maxNumToShow","bufferSizeInPx","boundingRectScrollOffset","mostRecentlyCalculatedStartOffset","renderedStartOffset","divWrapper","currentRowContainerHeight","currentDocumentBodyHeight","heightCheckTimeoutId","rerenderIfNeeded","windowScrollEventListener","windowResizeEventListener","getRowIndexesToRender","startOffset","baseIndex","getDefaultRowIndexesToRender","defaultRowIndexesToRender","checkContainerHeights","newRowContainerHeight","scrollHeight","newDocumentBodyHeight","heightCount","maxCount","childElement","childHeight","heightNewCount","modeHeights","windowPageYOffset","divWrapperTopOffset","boundingClientRectTop","offsetDifference","rowIndexesToRender","renderedRows","TransitionWrapper","child","_objectWithoutPropertiesLoose","_excluded","Transition","SalesInputRow","onCheckboxClick","onSetRowCheckboxSelected","getNumberDisplay","numberValue","makeInlineEditWrapper","entryKey","saveStateByEntryKey","validationInputByEntryKey","handleCloseEdtior","onCloseEditor","validationForEntryKey","getSalesEntryNumberDisplayForKey","handleOpenEditor","onOpenEditor","onEditorFieldChange","onUpdateSalesEntryForRowId","currentValidationInput","numberOrNullValue","getSalesEntryValueForKey","onSaveSuccessful","validateField","monetaryFormatForPrice","hasBulkSelect","editButtonText","checkbox","totalSold","salesDataIsReadonly","SalesInputTableHeader","hasCheckbox","SalesInputTable","salesItemMapperGroupByOptions","selectedRowIds","onOpenMappingTool","setIsSelectedForRowIds","totalUnfilteredCount","onSelectGroupClick","onGroupHeaderClick","getGroupByDropdownMenu","isOpenDefault","setGroupByOption","onCloseMobileDropdown","onOpenMobileDropdown","dropdownIsOpen","mobileActionButtons","concatenatedRowIds","getIsOpenByGroupName","searchBarComponent","headerContainerClassName","searchBarElement","searchBarRef","handleClearSearchBar","enterClick","getInputTheme","autoCorrect","PreparedItemProductSearch","dropdownOptionsDiv","lastClientMouseX","lastClientMouseY","dropdownMenuRef","dropdownOptionsRef","getDropdownOptionsDiv","onSearchBarFocus","onSearchBarBlur","onDocumentKeyDown","sortedSearchSuggestions","labelNameAndSortedSuggestions","pressedUp","newHighlightedSearchSuggestion","highlightedOptionIndex","dropdownHeader","isCountedInGroupSize","searchSuggestionOptions","numberOfSuggestions","labelNameAndSuggestions","labelNameAndSuggestionsIndex","suggestions","labelNameElement","suggestionsForGroup","suggestion","clientX","clientY","searchSuggestionDropdown","dropdownMenuOverlayDiv","componentIsOpening","triggerRef","lastMeasuredPanelHeight","computeAutoDirection","_this$lastMeasuredPan","el","rect","spaceBelow","spaceAbove","panelHeight","updateTriggerRect","measuredTrigger","measureAnchor","anchorMeasurementsAreEqual","triggerRect","closeDropdown","handleSetDropdownIsOpen","opening","nextTriggerRect","nextAutoDirection","autoDirection","hadSearch","searchBarState","nextSearchBarState","filteredValue","nextFilteredOptionsAndLabelName","filterOptionsBasedOnSearchTerm","filteredOptionsAndLabelName","getExcludedOptionCount","maxOptionsDisplayedPerGroup","getGroupLists","groupEmptyState","limitedFilteredOptions","groupHasCreateCustomOption","groupIsEmpty","searchBarStateValid","setSearchBarInFocus","handleOnCreateCustomOption","getOverlayRef","optionsList","handleOnSearchBarValueChange","modifiedSearchTerm","newOptions","handleOnClearSearchBar","handleOnSearchBarBlur","handleOnSearchBarFocus","handleOnSearchBarEnterClick","searchBarId","getElementById","focus","cleanedSearchTerm","newFilteredOptions","newFilteredOptionsForLabel","cleanedLabel","cleanedValue","prevProps","buttonElement","effectiveOpenDirection","emptyStateValue","emptyStateElement","shouldShowEmptyStateInGroup","dropdownPlaceholderText","hasCustomOptionClassName","totalOptionsShown","filteredOptionsAndLabel","dropdownOverlay","excludedOptionCount","triggerButton","wrapperClassNames","generateClassNames","portaledOverlay","Select2DropdownOption","handleOnOptionSelect","selectedOptionCheckmark","defaultComparator","comparator","toLocaleLowerCase","valueList","unsortedList","compareFct","prevList","newOption","newList","newOptionList","tuple","groupIndex","getSelectedOptionForHeader","handleOnSelectOption","isSelectedOption","validationClasses","SideNav","headerSubtext","linkType","isMobileExpanded","setIsMobileExpanded","NavLink","activeItemKey","onItemClick","SignInFormActions","formState","onResetForm","formFields","SignUpForm","headerTitle","headerMessage","signUpFormState","additionalUserFieldsAreShown","additionalRetailerFieldsAreShown","additionalRetailerFieldsAreRequired","submitButtonContents","setAddressFormField","SET_HAS_SUCCESSFULLY_SUBMITTED","SignUpFormActions","onSetAddressFormField","signUpFormInitialValidationInputDataByFieldName","fieldNameValue","onSetHasSuccessfullySubmitted","hasSuccessfullySubmitted","setHasSuccessfullySubmitted","additionalFieldsAreShown","shouldCreateSession","countryFieldIsShown","createAccountPromise","userAccountManager","createAccountAndAssociateEmailAddressAndSendPasswordSettingEmailAndCreateSession","CorePrimitivesModel","createAccountAndAssociateEmailAddressAndSendPasswordSettingEmail","fbq","UserInfoExceptions","SignUpFormInitialState","SignUpFormReducers","reduceSetHasSuccessfullySubmitted","SignInForm","signInFormState","emailAddressOrAccountId","SignUpOptions","onSendEmailAgainClick","ThanksForRegisteringActions","onResendEmail","signUpOptionsState","signUpOptionsForm","signUpForm","onCloseButtonClick","SignUpOptionsFormActions","onSetFormIsShown","getTabElement","tabText","onSetActiveForm","formIsVisibleOnLoad","availableFormOptions","isEmbeddedInModal","isDismissible","activeForm","handleModalCloseButtonClick","formIsShown","getThanksForRegistering","ThanksForRegistering","isResendingEmail","thanksForRegistering","isEmailResent","getSignUpOptionsForm","signUpOptionsFormTabs","formOption","getActiveForm","renderedForm","onSignUpFormFieldChange","onSignUpFormFieldBlur","onSignUpFormSubmit","startFreeTrialUrl","onSignUpAndCreateRetailerFormSubmit","onSignInFormFieldChange","onSignInFormFieldBlur","onSignInFormSubmit","signInForm","ConnectedSignUpOptions","SET_ACTIVE_FORM","SET_FORM_IS_SHOWN","signInFormInitialState","SignUpOptionsFormReducers","SignUpOptionsReducers","ThanksForRegisteringReducers","thanksForRegisteringBody","SET_IS_RESENDING_EMAIL","SET_IS_EMAIL_RESENT","setIsResendingEmail","userPasswordManager","sendPasswordSettingEmail","initialThanksForRegisteringState","reduceSetIsResendingEmail","reduceSetIsEmailResent","validatePhoneNumber","nextIsOpen","isInTransition","isOpenOrInTransition","innerDivStyles","transitionDuration","ANIMATION_DURATION","dimissUnderlayStyles","newProps","SlimCreate","handleSaveButton","handleCancelButton","handleMoreOptionsButton","hasMoreOptionsButton","ProductSlimCreateForm","onItemCategorySelect","onCreateCustomCategory","createCustomCategory","onItemNameBlur","onItemNameChange","onSkuBlur","onSkuChange","onPackagingChange","packagingFormRef","onSlimCreateSaveButtonClick","shouldShowPriceField","shouldShowDistributorAndSkuFields","onCancel","onMoreOptionsClick","onMoreOptions","fetchProductSlimCreateFormData","validatedItemName","itemCategoryEmptyState","ConnectedProductSlimCreateForm","SET_FORM_DATA","RESET_FORM","SET_CATEGORIES_BY_ID","CREATE_CUSTOM_CATEGORY","setFormData","setCategoriesById","onValidateFields","shouldIncludePrice","categoryPromise","productSlimCreateFormInitialValidationInputDataByFieldName","formInitialState","packagingDefaultText","priceDefaultText","categoryDefaultText","ProductSlimCreateFormReducers","reduceSetFormData","reduceResetForm","reduceCategoriesById","reduceCreateCustomCategory","mouseClickEvent","extraClasses","SvgPatternDefinitions","svgPattern","SvgPattern","DIAGONAL_STRIPE_TOP_RIGHT_BOTTOM_LEFT_SMALL","patternUnits","SOLID","ChartLegend","categoryColorsByCategoryName","legendSquareSize","legendLabels","keyName","keyClassName","StackedBarCategoryStack","componentKey","componentId","yValue","categoryClassName","LinearScale","scaleLinear","getTicks","ticks","getDomainValues","domainValues","minimum","maximum","OrdinalBandScale","scaleOrdinal","getValueFromKey","getKeys","getBandwidth","bandwidth","scaleValueLinear","scaleDomainValues","previousMaxValue","currentDataId","totalForId","previousCategoryTotal","currentCategoryName","nullableValue","HorizontalStackedBar","xScale","barHeight","defaultColor","handleMouseOut","handleMouseOver","showColors","series","getBarStackDataFromCategoryData","valuesAreNegative","d3","order","nonNullableValuesByCategoryName","stackedRectangles","seriesData","rectangleColor","stackWidth","HorizontalBarChartGrid","chartValuesByDataIdAndCategoryName","perCategoryColorsByCategoryId","yScale","barDefaultColor","showCategoryColorsByGroupName","bars","scaleValueOrdinal","shouldShowColors","PrintStyleYAxisHeader","showTickLabels","showGridLines","formatTicks","tickCount","chartGridHeight","xTicks","drawTicks","tick","scaledXValue","formattedTickValue","AlignmentEnum","YAxisLabel","labelText","labelHeight","formatNumbers","categoryKeys","totalValue","categoryBreakdown","totalValueDiv","YAxisLabelContainer","mouseOverEvent","mouseOutEvent","paddingBetweenBars","yLabels","StackedBarChartTooltip","totalForAllCategories","prev","displayTitle","categoryFocus","squareSize","alignment","totalForDisplayName","shouldTooltipBeVertical","categoriesAndValues","categoryColor","svgClassName","tooltipStyle","loadingState","showLegend","hasTooltip","hasMouseVerticalLine","yAxisOnMoveOver","yAxisOnMoveOut","barChartOnMoveOver","barChartOnMoveOut","showXAxisTicks","showVerticalGridLines","barColorToOverwriteCategoryColors","HorizontalBarChart","chartGridWidth","barChartComponentSvg","handleResize","thisNode","containerWidth","hasClass","elementClassName","classString","handleTooltipEnter","xValueMouse","isSingleCategoryTooltip","isVerticalTooltip","tooltipScale","tooltipWidth","xValueTooltip","chartHeightWithXAxis","rowYValue","barHeightAdjustment","xValueForEndOfBar","handleYAxisTooltipEnter","newTooltipElement","handleTooltipLeave","handleTooltipClickSvg","baseVal","stackParent","getAttribute","handleMouseMoveSvg","parentSVG","verticalMouseLine","newMouseVertical","invertedXValue","scaledValue","invert","fontWeight","textShadow","invertScaledValue","handleMouseLeaveSvg","barChartSvgRef","instance","onBarChartPageClick","handleChartPrint","printSelected","isPrintView","showCategoryColors","legendTextElement","addListener","mql","correctBarPadding","dataKeys","maxXValue","scaledWidth","svgChartWidth","svgChartHeight","getLinearScale","chartWidthOrHeight","rangeRound","getOrdinalScale","containerLegendTextSize","getComputedStyle","getPropertyValue","padding","PAGE_SIDEBAR_TOGGLE_EVENT_NAME","NAV_BAR_COMPRESS_TOGGLE_EVENT_NAME","framePending","stickyHeaderWrapper","stickyHeaderWrapperRefFunction","handleNavBarResize","handleResizeEvent","handlePageResize","handlePageSidebarResize","handleContainerEvent","handleContainer","heightOffset","getTopInset","contentHeaderElements","getElementsByClassName","stuckElements","stuckElement","parentBoundingClientRect","childBoundingClientRect","firstElementChild","boundingRectTopDifference","isStuck","shouldStickLeft","onIsStuckChange","stickyHeaderWrapperRefFunctionFactory","stickyHeaderWrapperHeight","lastElementChild","TabButton","renderIcon","renderLabel","iconClassList","SET_SELECTED_MERCHANT_ID","ToastIntegrationBlockActions","setSelectedMerchantId","toastIntegrationService","getToastIntegrationState","toastIntegrationStates","getToastAccessToken","ToastIntegrationBlockReducers","reduceSetSelectedMerchantId","currencyCode","maxLength","labelActiveClasses","validationClass","SearchBarLegacy","MIN_LARGE_DESKTOP_WIDTH","MAX_DESKTOP_WIDTH","NULL_DISTRIBUTOR_ID","NULL_DISTRIBUTOR_DISPLAY_NAME","EARLIEST_LOWER_BOUND_DATE","FARTHEST_UPPER_BOUND_DATE","DJANGO_DATE_TIME_FIELD_FORMAT","MAX_VALID_UNIX_TIME_MILLIS","INVENTORY_DATE_FORMAT","POPUP_DATETIME_PICKER_DATETIME_FORMAT","INVENTORY_DROPDOWN_DATE_FORMAT","SUPPORT_EMAIL","SUPPORT_PHONE","SUPPORT_PHONE_LINK","SUPPORTED_INVOICE_UPLOAD_FILE_EXTENSIONS","ConsoleApiName","globalConsole","originalConsoleMethods","PREFIX","DOCS_ORIGIN","DOCS_TROUBLESHOOTING","MORE_DETAILS","catchUserErrors","errorMsg","onMonitorErrorCollected","debugMode","setDebugMode","newDebugMode","callMonitored","monitorError","displayIfDebugEnabled","getGlobalObject","globalObject","_dd_temp_","isWorkerEnvironment","nativeImplementation","Observable","onFirstSubscribe","observers","addObserver","removeObserver","onLastUnsubscribe","mergeObservables","observables","globalObservable","observable","BufferedObservable","maxBufferSize","closed","unbuffer","TrackingConsent","GRANTED","NOT_GRANTED","getZoneJsOriginalValue","browserWindow","original","Zone","__symbol__","timer_setTimeout","timer_clearTimeout","timer_setInterval","timer_clearInterval","isIndexableObject","UNKNOWN_FUNCTION","computeStackTrace","stackProperty","tryToGetString","exString","stackFrame","parts","CHROME_LINE_RE","exec","isNative","isEval","submatch","CHROME_EVAL_RE","column","func","parseChromeLine","CHROME_ANONYMOUS_FUNCTION_RE","parseChromeAnonymousLine","WINJS_LINE_RE","parseWinLine","GECKO_LINE_RE","GECKO_EVAL_RE","parseGeckoLine","isWronglyReportingCustomErrorsCache","DatadogTestCustomError","customError","nativeError","errConstructor","isNonNativeClassPrototype","isWronglyReportingCustomErrors","constructors","currentPrototype","constructorName","fileUrl","filePosition","candidate","ERROR_TYPES_RE","createHandlingStack","formattedStack","stackTrace","toStackTraceString","formatErrorMessage","frame","instrumentMethod","targetPrototype","onPreCall","computeHandlingStack","stop","stopped","instrumentation","parameters","postCallCallback","onPostCall","handlingStack","ONE_SECOND","ONE_MINUTE","timeStampNow","relativeNow","performance","clocksNow","relative","timeStamp","elapsed","navigationStart","getNavigationStart","timing","timeOrigin","HAS_MULTI_BYTES_CHARACTERS","computeBytesCount","Blob","jsonStringify","replacer","space","restoreObjectPrototypeToJson","detachToJsonMethod","restoreArrayPrototypeToJson","restoreValuePrototypeToJson","restoreValueToJson","objectToJson","sanitize","maxCharacterCount","containerQueue","visitedObjectsWithPath","sanitizedData","sanitizeProcessor","serializedSanitizedData","accumulatedCharacterCount","containerToProcess","separatorLength","targetData","warnOverCharacterLimit","parentPath","sourceToSanitize","tryToApplyToJSON","sanitizedSource","sanitizeObjects","sourceAsObject","currentPath","Event","isTrusted","changeType","NO_ERROR_STACK_PRESENT_MESSAGE","computeErrorBase","originalError","useFallbackStack","nonErrorPrefix","isErrorInstance","computeMessage","computeRawError","componentStack","startClocks","handling","causes","flattenErrorCauses","fingerprint","tryToGetFingerprint","tryToGetErrorContext","dd_fingerprint","dd_context","parentSource","currentCause","cause","causeBase","ErrorSource","trackRuntimeError","handleRuntimeError","rawError","stopInstrumentingOnError","messageObj","errorObj","tryToParseMessage","computeStackTraceFromOnErrorMessage","stopInstrumentingOnUnhandledRejection","instrumentUnhandledRejection","shallowClone","objectHasValue","isEmptyObject","ExperimentalFeature","enabledExperimentalFeatures","getExperimentalFeatures","buildTags","configuration","datacenter","sdkVersion","buildTag","supportUnicodePropertyEscapes","hasForbiddenCharacters","sanitizeTag","INTAKE_SITE_US1","INTAKE_URL_PARAMETERS","sendToExtension","__ddBrowserSdkExtensionCallback","performDraw","threshold","mergeInto","destination","circularReferenceChecker","WeakSet","hasAlreadyBeenSeen","createCircularReferenceChecker","flags","ignoreCase","multiline","sticky","unicode","merged","deepClone","combine","getConnectivity","interfaces","connection","effective_type","effectiveType","getEventBridge","eventBridgeGlobal","DatadogEventBridge","getCapabilities","getPrivacyLevel","getAllowedWebViewHosts","send","viewId","view","canUseEventBridge","currentHost","bridge","allowedHost","objectValues","eventTarget","addEventListeners","eventNames","once","capture","passive","listenerWithMonitor","__ddIsTrusted","allowUntrustedEvents","listenerTarget","EventTarget","PageExitReason","HIDDEN","UNLOADING","PAGEHIDE","FROZEN","createPageMayExitObservable","stopListeners","stopBeforeUnloadListener","createBatch","encoder","flushController","upsertBuffer","flushSubscription","flushObservable","upsertMessages","pageMightExit","sendOnExit","isAsync","encoderResult","finishSync","outputBytesCount","formatPayloadFromEncoder","pendingMessages","pendingData","bytesCount","isEmpty","finish","addOrUpdate","serializedMessage","estimatedMessageBytesCount","estimateEncodedBytesCount","hasMessageFor","removedMessage","messageBytesCount","notifyAfterRemoveMessage","notifyBeforeAddMessage","notifyAfterAddMessage","realMessageBytesCount","upsert","isServerError","INITIAL_BACKOFF_TIME","sendWithRetryStrategy","sendStrategy","trackType","reportError","requestObservable","transportStatus","queuedPayloads","bandwidthMonitor","canHandle","retryQueuedPayloads","enqueue","stats","scheduleRetry","dequeue","currentBackoffTime","shouldRetryRequest","ongoingRequestCount","lastFailureStatus","isFull","queueFullReported","previousQueue","newPayloadQueue","createHttpRequest","endpointBuilders","bytesLimit","RECOMMENDED_REQUEST_BYTES_LIMIT","retryState","ongoingByteCount","endpointBuilder","onResponse","fetchStrategy","sendBeaconStrategy","sendBeacon","beaconUrl","hasReportedBeaconError","reportBeaconError","MESSAGES_LIMIT","createFlushController","pageMayExitObservable","sessionExpireObservable","pageMayExitSubscription","sessionExpireSubscription","durationLimitTimeoutId","currentBytesCount","currentMessagesCount","flushReason","messagesCount","cancelDurationLimitTimeout","messageBytesCountDiff","createIdentityEncoder","additionalEncodedBytesCount","rawBytesCount","DISCARDED","SKIPPED","TelemetryType","ALLOWED_FRAME_URLS","TELEMETRY_EXCLUDED_SITES","telemetryObservable","getTelemetryObservable","startTelemetry","telemetryService","hooks","metricsEnabled","metricSampleRate","maxTelemetryEventsPerPage","alreadySentEventsByKind","telemetryEnabled","site","telemetrySampleRate","telemetryEnabledPerType","TelemetryType_LOG","TelemetryType_CONFIGURATION","telemetryConfigurationSampleRate","TelemetryType_USAGE","telemetryUsageSampleRate","metric","runtimeEnvInfo","is_local_file","protocol","is_worker","rawEvent","metricName","kind","alreadySentEvents","stringifiedEvent","defaultTelemetryEventAttributes","triggerHook","_dd","format_version","telemetry","runtime_env","connectivity","sdk_setup","ddtags","experimental_features","toTelemetryEvent","addTelemetryError","startTelemetryCollection","cleanupTasks","telemetrySubscription","rumEndpointBuilder","replica","isTelemetryReplicationAllowed","telemetryBatch","startTelemetryTransport","addTelemetryDebug","formatError","addTelemetryUsage","scrubCustomerFrames","allowedFrameUrl","defineContextMethod","getStrategy","contextName","methodName","feature","bufferContextCalls","preStartContextManager","bufferApiCalls","changeObservable","startResult","setContext","CustomerContextKey","ContextManagerMethod","displayAlreadyInitializedError","sdkName","initConfiguration","silentMultipleInit","ensureProperties","propertiesConfig","newContext","required","isDefined","createContextManager","contextManager","maybeContext","checkContext","clearContext","setContextProperty","removeContextProperty","isAuthorized","handlerType","loggerHandler","getHandler","sanitizedHandlerType","STATUS_PRIORITIES","getLevel","StatusType","notice","critical","alert","emerg","createErrorFieldFromRawError","includeMessage","HandlerType","STATUSES","handleLogStrategy","loggerContext","logImplementation","messageContext","sanitizedMessageContext","addTag","removeTagsWithKey","sanitizedKey","getTags","setHandler","setLevel","createLoggerMethod","buildCommonContext","generateUUID","decorators","desc","decorate","__decorate","descriptor","originalMethod","COMMA_SEPARATED_KEY_VALUE","safeTruncate","suffix","lastChar","correctedLength","normalizeUrl","buildUrl","getPristineGlobalObjectCache","iframe","pristineWindow","contentWindow","getPristineWindow","initCookieParsed","getCurrentSiteCache","setCookie","expireDelay","setTime","crossSite","rawString","lastIndex","findCommaSeparatedValue","getInitCookie","findCommaSeparatedValues","getCurrentSite","defaultHostName","getCookieDefaultHostName","testCookieName","testCookieValue","domainLevels","candidateDomain","cookieNamePrefix","SYNTHETICS_TEST_ID_COOKIE_NAME","SYNTHETICS_RESULT_ID_COOKIE_NAME","SYNTHETICS_INJECTS_RUM_COOKIE_NAME","SYNTHETICS_CONTEXT_COOKIE_NAME","willSyntheticsInjectRum","_DATADOG_SYNTHETICS_INJECTS_RUM","isSyntheticsTest","raw","rawGlobal","_DATADOG_SYNTHETICS_RUM_CONTEXT","rawCookie","tryJsonParse","test_id","_DATADOG_SYNTHETICS_PUBLIC_ID","result_id","_DATADOG_SYNTHETICS_RESULT_ID","getRawSyntheticsContext","getSyntheticsContext","storageListeners","storeContextManager","productKey","customerDataType","storageKey","buildStorageKey","getFromStorage","contextFromStorage","rawContext","buildAccountContextManager","buildUserContextManager","buildGlobalContextManager","END_OF_TIMES","cleanupHistoriesInterval","SESSION_TIME_OUT_DELAY","SESSION_EXPIRATION_DELAY","SessionPersistence","browserCache","SESSION_STORE_KEY","SESSION_ENTRY_REGEXP","getExpiredSessionState","previousSessionState","expiredSessionState","isExpired","trackAnonymousUser","anonymousId","isSessionInNotStartedState","isSessionStarted","isSessionInExpiredState","sessionState","created","expire","expandSessionState","toSessionString","toSessionState","sessionString","isValidSessionString","storeSessionCookie","sessionStateString","betaEncodeCookieOptions","encodeCookieOptions","retrieveSessionCookie","cookieOptions","findAllCommaSeparatedValues","retrieveSessionCookieFromEncodedCookie","SESSION_COOKIE_VERSION","persistInLocalStorage","retrieveSessionFromLocalStorage","bufferedOperations","ongoingOperations","processSessionStoreOperations","operations","sessionStoreStrategy","numberOfRetries","isLockEnabled","persistSession","expireSession","persistWithLock","lock","currentLock","retrieveStore","retrieveSession","isLockExpired","currentStore","retryLater","processedSession","after","sessionStore","currentNumberOfRetries","nextOperations","MEMORY_SESSION_STORE_KEY","retrieveFromMemory","persistInMemory","STORAGE_POLL_DELAY","selectSessionStoreStrategyType","sessionPersistence","persistenceList","allowFallbackToLocalStorage","normalizePersistenceList","persistence","strategyType","selectStrategyForPersistence","useSecureSessionCookie","usePartitionedCrossSiteSessionCookie","trackSessionAcrossSubdomains","currentSite","buildCookieOptions","isCookieCorrectlySet","areCookiesAuthorized","selectCookieStrategy","testKey","retrievedId","selectLocalStorageStrategy","startSessionStore","sessionStoreStrategyType","computeTrackingType","chrome","detectBrowser","cookieStoreStrategy","oldSessionId","oldRumType","oldLogsType","tryOldCookiesMigration","initCookieStrategy","expireSessionFromLocalStorage","initLocalStorageStrategy","expireSessionFromMemory","initMemorySessionStoreStrategy","getSessionStoreStrategy","renewObservable","expireObservable","sessionStateUpdateObservable","watchSessionTimeoutId","synchronizeSession","sessionCache","startSession","throttled","throttledExpandOrRenewSession","cancel","cancelExpandOrRenewSession","pendingExecutionWithParameters","pendingTimeoutId","inWaitPeriod","synchronizedSession","trackingType","expandOrRenewSessionState","hasSessionInCache","renewSessionInCache","isSessionInCacheOutdated","expandOrRenewSession","expandSession","restartSession","hasConsent","updateSessionState","partialSessionState","SESSION_CONTEXT_TIMEOUT_DELAY","stopCallbacks","startSessionManager","trackingConsentState","sessionContextHistory","maxEntries","clearExpiredValues","oldTimeThreshold","close","returnInactive","closeActive","latestEntry","findAll","duration","getEntries","createValueHistory","buildSessionContext","clocksOrigin","featureName","SHORT_SESSION_INVESTIGATION","initialSessionState","sessionCreatedTime","sdkInitTime","changed","predicate","findLast","change","sessionAge","newSessionState","getSessionCookies","session_age","new","detectSessionIdChange","isReplayForced","forcedReplay","rawSession","cookieContext","currentDomain","createdTimestamp","expireTimestamp","reportUnexpectedSessionState","isGranted","trackActivity","expandSessionWhenVisible","visibilityCheckInterval","trackVisibility","trackResume","findSession","sessionCookies","rawTrackingType","sessionSampleRate","startLogsAssembly","lifeCycle","getCommonContext","eventRateLimit","statusWithCustom","logRateLimiters","onLimitReached","eventCount","allowNextEvent","isLimitReached","createEventRateLimiter","rawLogsEvent","savedCommonContext","domainContext","commonContext","defaultLogsEventAttributes","defaultDdtags","beforeSend","origin","consoleObservablesByApi","LogStatusForApi","RawReportType","intervention","deprecation","cspViolation","buildRawReportError","partial","buildStack","sourceFile","lineNumber","columnNumber","xhrObservable","xhrContexts","openXhr","abortXhr","isAborted","RequestType","fetchObservable","responseBodyActionGetters","initFetchObservable","responseBodyAction","methodFromParams","isAbortedOnStart","responsePromise","startContext","DOMException","ABORT_ERR","responseBodyCondition","getter","clonedResponse","tryToClone","stream","reader","getReader","chunks","collectStreamBody","buffers","concatBuffers","readBytesFromStream","responseBody","afterSend","createEndpointBuilder","extraParameters","buildUrlWithParameters","proxy","normalizedProxyUrl","internalAnalyticsSubdomain","usePciIntake","domainParts","extension","buildEndpointHost","createEndpointUrlWithParametersBuilder","clientToken","buildEndpointParameters","computeTransportConfiguration","validateSource","logsEndpointBuilder","profilingEndpointBuilder","sessionReplayEndpointBuilder","exposuresEndpointBuilder","flagEvaluationEndpointBuilder","computeEndpointBuilders","replicaConfiguration","applicationId","computeReplicaConfiguration","startNetworkErrorCollection","forwardErrorsToLogs","xhrSubscription","stopInstrumentingStart","XMLHttpRequest","stopInstrumentingSend","hasBeenReported","stopInstrumentingOnReadyStateChange","readyState","DONE","onEnd","unsubscribeLoadEndListener","completeContext","sendXhr","stopInstrumentingAbort","createXhrObservable","initXhrObservable","fetchSubscription","isNetworkError","param","isIntakeUrl","requestErrorResponseLengthLimit","http","status_code","LifeCycle","callbacks","eventCallbacks","loggerToConsoleApiName","LOGS_STORAGE_KEY","startLogs","bufferedDataObservable","startReportError","findTrackedSession","startLogsSessionManagerStub","sessionManager","startLogsSessionManager","isConsented","startTrackingConsentContext","session_id","startSessionContext","accountContext","accountContextManager","storeContextsAcrossPages","account","startAccountContext","userContext","userContextManager","anonymous_id","usr","startUserContext","globalContext","globalContextManager","startGlobalContext","getRUMInternalContext","rumContext","rumGlobal","getInternalContext","getInternalContextFromRumGlobal","DD_RUM_SYNTHETICS","DD_RUM","internalContext","application","application_id","user_action","startRUMInternalContext","bufferedData","startRuntimeErrorCollection","apis","forwardConsoleLogs","originalConsoleApi","formatConsoleParameters","buildConsoleLog","createConsoleObservable","collectedData","startConsoleCollection","blockedURI","effectiveDirective","csp","disposition","originalPolicy","buildRawReportErrorFromCspViolation","createCspViolationReportObservable","reportTypes","ReportingObserver","handleReports","reports","report","buildRawReportErrorFromReport","types","buffered","createReportObservable","initReportObservable","forwardReports","startReportCollection","handleLog","logsMessage","savedDate","displayInConsole","rawLogEventData","startLoggerCollection","serverLogsEvent","startLogsBridge","stopLogsBatch","startLogsBatch","trackedSession","EXTENSION_PREFIXES","containsExtensionUrl","isString","isSampleRate","sampleRate","numberUtils_isNumber","validateAndBuildConfiguration","errorStack","allowedTrackingOrigins","windowOrigin","windowLocation","trimmedLine","isUnsupportedExtensionEnvironment","isAllowed","useStartsWith","matchList","isAllowedTrackingOrigins","trackingConsent","validateAndBuildForwardOption","allowedValues","removeDuplicates","createPreStartStrategy","doStartLogs","drain","createBoundedBuffer","cachedInitConfiguration","cachedConfiguration","hookName","unregister","hookCallbacks","createHooks","trackingConsentStateSubscription","tryStartLogs","startLogsResult","enableExperimentalFeatures","overrideInitConfigurationForBridge","addTelemetryConfiguration","baseSerializedInitConfiguration","session_sample_rate","telemetry_sample_rate","telemetry_configuration_sample_rate","telemetry_usage_sample_rate","use_before_send","use_partitioned_cross_site_session_cookie","use_secure_session_cookie","use_proxy","silent_multiple_init","track_session_across_subdomains","track_anonymous_user","session_persistence","allow_fallback_to_local_storage","store_contexts_across_pages","allow_untrusted_events","tracking_consent","use_allowed_tracking_origins","beta_encode_cookie_options","sdk_version","forward_errors_to_logs","forward_console_logs","forward_reports","use_pci_intake","serializeLogsConfiguration","baseConfiguration","validateAndBuildLogsConfiguration","tryToInit","statusType","datadogLogs","currentConsent","createTrackingConsentState","runtimeErrorSubscription","startBufferingData","strategy","createPostStartStrategy","customLoggers","stub","publicApi","onReady","makePublicApi","setTrackingConsent","getGlobalContext","setGlobalContext","setGlobalContextProperty","removeGlobalContextProperty","clearGlobalContext","createLogger","getLogger","getInitConfiguration","setUser","getUser","setUserProperty","removeUserProperty","clearUser","setAccount","getAccount","setAccountProperty","removeAccountProperty","clearAccount","makeLogsPublicApi","existingGlobalVariable","defineGlobal","isAdBlockActive","callCount","callCountLastResetTime","logJsInfo","logContext","logType","toError","fullstory_link","support","viewClasses","isArrayBufferView","normalizeName","normalizeValue","iteratorFor","getOwnPropertyNames","consumed","_noBody","bodyUsed","fileReaderReady","onload","readBlobAsArrayBuffer","FileReader","readAsArrayBuffer","bufferClone","Body","_initBody","_bodyInit","_bodyText","isPrototypeOf","_bodyBlob","_bodyFormData","_bodyArrayBuffer","arrayBuffer","readAsText","chars","readArrayBufferAsText","methods","upcased","reParamSearch","Response","bodyInit","statusText","redirectStatuses","redirect","rawHeaders","getAllResponseHeaders","responseURL","ontimeout","fixUrl","withCredentials","setRequestHeader","onreadystatechange","polyfill","forceRefresh","nextRefreshTime","hasUserSessionCookie","isOnDrinkPriceTool","needsRefreshSoon","cognitoSession","refreshPromise","newSession","onNewCognitoSession","AMPLIFY_CONFIG","urls","authBaseUrl","newTokenDurationSeconds","tokenBuffer","newTokenRefreshTime","newToken","currentCookie","lambdaApiBase","Authorization","cookieManager","_urlParams$get","BevspotPlatformClient","scrollableAncestor","ancestor","overflowY","findScrollableAncestor","ancestorRect","anchorRef","isTracking","onAnchorHidden","setAnchorMeasurement","onAnchorHiddenRef","updateAnchorMeasurement","measuredAnchor","currentMeasurement","AccountSessionNotFoundException","InvalidCookieNameException","CookieManagerImpl","cookieList","expiresInSeconds","documentCookieSetter","expirationDate","firstSecondOfEpoch","FintechIntegrationState","fintechLocationId","customFtpCredentials","lastAttemptTime","lastImportedFileDateUTC","isUTC","getFintechLocationId","getCustomFtpCredentials","getLastAttemptTime","getLastImportedFileDateUTC","FintechLocationId","accountId","storeNumber","getStoreNumber","FtpCredentials","StediIntegrationId","StediIntegrationState","stediLocationReference","lastInvoiceInfo","getIntegrationType","getStediLocationReference","getLastInvoiceInfo","StediLocationReference","getVendorId","getGroupId","BottleBreakdown","startCount","transfers","prepInputs","prepOutputs","breakages","sales","ExpectedInventory","bottleCountByProductId","bottleBreakdownByProductId","IncidentBannerData","getMessage","getIsShown","BillingRetailer","_stripeId","_isInFreeTrial","_isDelinquent","_isLocked","stripeId","isDelinquent","BreakageReport","breakageReportData","reportMetaData","BreakageReportData","ReportMetadata","updateMetadata","getUpdateMetadata","thisDistributor","otherDistributor","CartItemId","STORAGE_KEY","getAppPath","TIMEOUT_ERROR_MESSAGE","RetailerDistributorRelationship","getReps","DistributorService","buildFormData","getDistributorFormData","getAjaxDistributorData","thriftPromise","includeDistributorsWithNoRelationship","responses","thriftResponse","retailerDistributorRelationshipResponse","relationshipEntry","thriftDistributorClient","distributorObjectToThriftSerializer","distributorThriftToObjectSerializer","userAccountObjectToThriftSerializer","locationObjectToThriftSerializer","getThriftUserSessionId","getThriftDistributor","DistributorExceptions","addDistributorRelationshipForCurrentRetailer","updateDistributorRetailerRelationshipData","setRetailerSpecificData","deleteDistributor","getThriftLocationId","getThriftDistributorId","renameDistributor","getThriftDistributorRegionId","getThriftDistributorIds","distId","relationship","account_id","getAllDistributorsById","getAllRegionIdsByDistributorId","getRegionIdsByDistributorId","getAllDistributorRegionIds","getDistributorRegionIds","getDistributorDependencies","getDistributorDependentObjectSet","addRepsToDistributor","addRepPromises","addRep","removeDistributorRep","distributorRepId","urlValue","updateDistributorRepField","addAdjustmentsToDistributor","addAdjustmentPromises","addAdjustment","setShouldSendSMSForDistributorRep","shouldSendSMS","setShouldAttachCSVForDistributorRep","shouldAttachCSV","getDeliveryIds","getRetailerIds","getCartIds","getCartItemsByCartId","cacheDataEffectiveDate","getCacheDataEffectiveDate","ThriftApiUtils","apiCall","LocationObjectToThriftSerializer","ProductMatch","productQuantityUnitErrorType","getProductQuantityUnitErrorType","LineItemMatch","primaryMatch","match_type","getPrimaryMatch","getMatchType","getSuggestions","fromDict","lineItemMatchDict","_lineItemSuggestions$","lineItemSuggestions","lineItemPrimaryMatch","primary_match","DeliveryMetadata","recordedBy","getRecordedBy","DeliveryRepInfo","emailWasSentForOrder","smsWasSentForOrder","csvWasAttachedToOrder","getPhoneNumber","getCsvWasAttachedToOrder","InvoiceProcessingResult","taxes","totalAmount","getDistributorName","getLineItems","getAdjustments","getTaxes","getTotalAmount","getSource","NormalizedLineItem","getCategory","NormalizedPackaging","ValidationResult","getField","getFieldAsString","Invite","inviterId","inviteeEmail","inviteStatus","getInviterId","getInviteeEmail","getInviteStatus","GroupInvite","inviter_id","invitee_email","invite_status","group_id","InviteId","GroupPermissionData","userPermissionsById","locationIds","outstandingInvitesById","accountTypeByLocationId","getUserPermissionsById","getLocationIds","getAccountTypeByLocationId","getOutstandingInvitesById","users_by_id","inviteId","invite","outstanding_invites","StringValueResponseCache","timeToLiveSeconds","cachedResponsesById","requestConstructor","skipCache","clean","cachedResponse","newRequest","request_time","requestSet","requestIdSet","promiseSet","requestIdsToDispatch","newCachedResponsesById","deleteAll","ids","ProductMergeEvent","storageAreasAffected","salesItemsAffected","cartItemsAffected","getAffectedStorageAreaIds","getAffectedSalesItemIds","getAffectedCartItems","_productId","_productCost","_time","getPublicContentUrl","getPublicContentType","getTitle","getExcerpt","getThumbnailUrl","getPublicationDate","getPublicContent","getPublicContentViewEvent","eventTime","getEventTime","getReferrer","getEventType","getPublicContentUrlParameters","getRecentlyViewed","getRecommended","CategoryLevelSalesReportConfiguration","CategoryLevelSalesReportConfigurationId","TransferReport","getProductCostsByProductId","TransferReportWithoutCost","InviteInfo","userJoinedEstablishment","invitedByUserName","inviteType","invitedToId","invitedToName","hasUserJoinedEstablishment","getInvitedByUserName","getInvitationType","getInvitedToId","getInvitedToName","UserSessionId","ToastIntegrationState","PlateIQIntegrationState","plateIQRestaurantId","earliestInvoiceToSyncDate","glCodesToSync","mostRecentSyncAttemptDate","getPlateIQRestaurantId","getEarliestInvoiceToSyncDate","getGlCodesToSync","getMostRecentSyncAttemptDate","IntegrationJSONToObjectSerializer","getToastIntegrationStates","jsonArray","states","jsonObject","toast_restaurant_id","is_accessible","cache_data_effective_date","getPlateIQIntegrationState","plate_iq_restaurant_id","earliest_invoice_to_sync_date","gl_codes_to_sync","most_recent_sync_attempt_date","UnauthenticatedUserSessionNotFoundException","UserInfoManagerImpl","getUserInfo","getWebGLData","canvas","ctx","supportedExtensions","getSupportedExtensions","getExtension","getParameter","UNMASKED_VENDOR_WEBGL","UNMASKED_RENDERER_WEBGL","getStorageData","localStorageAllowedCheck","truncateString","getCanvasData","textBaseline","fillStyle","fillRect","fillText","toDataURL","getPluginData","pluginStr","pluginList","filename","cookieEnabled","getDoNotTrackData","getTimezoneOffset","screen","colorDepth","getThriftConnection","thriftServiceName","transport","https","port","initFullStory","initializeFullStoryIdentity","GLOBAL_USER_NAME","GLOBAL_USER_EMAIL","queryStringManager","queryStringParameterList","queryStringParameter","offlineQueueManager","retryTimeout","retryTimeoutId","isProcessingRequest","queueState","ONLINE_WITH_EMPTY_QUEUE","stateCallback","lengthCallback","registerOfflineStateCallback","registerQueueLengthCallback","enqueueServiceCall","serviceName","addToQueue","setQueueState","ONLINE_WITH_ENQUEUED_ITEMS","OFFLINE_WITH_EMPTY_QUEUE","OFFLINE_WITH_ENQUEUED_ITEMS","processServiceCallQueue","getQueueLength","getStoredQueue","isQueueFull","callInfo","serviceFunction","popQueue","handleError","ONLINE_AFTER_BEING_OFFLINE_WITH_ENQUEUED_ITEMS","onbeforeunload","setApi","clearQueue","offlineQueue","showGlobalErrorDialog","_result$constructor$n","_result$constructor","saveQueue","unauthenticatedUserSessionClient","UnauthenticatedUserSessionServiceClient","unauthenticatedUserSessionServiceClient","cookieSetter","cookieName","cookieValue","UnauthenticatedUserSessionModel","userInfo","_userInfo$canvasData","_userInfo$webGLVendor","_userInfo$webGLRender","_userInfo$plugins","_userInfo$localStorag","_userInfo$sessionStor","_userInfo$cookieAllow","_userInfo$platform","_userInfo$doNotTrack","_userInfo$timezone","_userInfo$resolution","getThriftUserAccountId","AccountsUserModel","getThriftUserEmailAddressVerificationCredential","userEmailAddressVerificationCredential","getThriftUserPasswordSettingCredential","getThriftUserAccountIdentifierAndTimestamp","userAccountThriftToObjectSerializer","getUserEmailAddressVerificationCredential","getUserPasswordSettingCredential","getUserSessionId","getUserAccountIdentifierAndTimestamp","scopeObjectToThriftSerializer","getThriftScope","DistributorModel","scopeThriftToObjectSerializer","getScope","scopeSerializer","distributorObjectToJsonSerializer","locationThriftToObjectSerializer","productThriftToObjectSerializer","getThriftPackagingId","getProductIdsAsSet","getMassUnit","getVolumeUnit","getProductAmount","getMeasurableUnit","getDollarCost","MoneyModel","getProductCost","getProductCostSettingEvent","getCostByProductId","productIdAndCosts","productIdAndCost","getQuantityOfProductByProductId","productIdAndQuantityOfProducts","quantityOfProductByProductId","productIdAndQuantityOfProduct","productObjectToThriftSerializer","getThriftProductId","ProductModel","getThriftProductIdAndQuantityOfProduct","getThriftQuantityOfProduct","getThriftMassUnit","getThriftVolumeUnit","getThriftUnitOfMeasure","getThriftProductQuantityUnit","getThriftMonetaryValueInDollars","getThriftProductCost","getThriftProductIdsFromArray","getThriftProductIdsFromSet","getThriftProductIdAndQuantityOfProducts","getThriftProductIdAndCosts","productCostByProductId","getThriftDistributorIdsFromSet","distributorIdSet","getDistributor","getDistributorRegionId","distributorAndIds","distributorAndId","distributorAndRegionIds","regionIdsByDistributorId","regionIdAndDistributorId","thriftRegionIds","distributorRegionIds","thriftRegionId","distributorDependentObjectSet","cartIdAndCartItems","userSessionClient","UserSessionServiceClient","userSessionServiceClient","userObject","jwtDecode","finally","observeLogout","setSessionId","userPasswordClient","UserPasswordServiceClient","userPasswordServiceClient","unauthenticatedUserSessionReader","accountSessionWriter","passwordSettingCredential","userEmailAddressVerifierClient","UserEmailAddressVerificationServiceClient","userEmailAddressVerifier","userEmailAddressVerificationServiceClient","userAccountManagerClient","UserAccountServiceClient","userAccountServiceClient","AccountsModel","drinkPriceToolManagerClient","DrinkPriceToolServiceClient","drinkPriceToolManager","drinkPriceToolServiceClient","distributorClient","ThriftDistributorServiceClient","DistributorNameMappingServiceInstance","distributorObjectToJSONSerializer","getMappedDistributorIdsByNameForRetailer","distributorNameMappings","saveDistributorNameMapping","AdjustmentNameMappingServiceInstance","getMappedAdjustmentsByNameForRetailerAndDistributor","adjustment_name_mappings","mapped_adjustment_name","standard_adjustment_id","saveAdjustmentNameMapping","mappedAdjustmentName","AdjustmentToLineItemMappingServiceInstance","getAdjustmentToLineItemMappings","adjustment_to_line_item_mappings","invoiceAdjustmentName","invoice_adjustment_name","saveAdjustmentToLineItemMapping","deleteAdjustmentToLineItemMapping","LineItemToAdjustmentMappingServiceInstance","getLineItemToAdjustmentMappings","line_item_to_adjustment_mappings","invoiceLineItemName","invoice_line_item_name","invoiceLineItemSku","invoice_line_item_sku","saveLineItemToAdjustmentMapping","deleteLineItemToAdjustmentMapping","TaxToAdjustmentMappingServiceInstance","getTaxToAdjustmentMappings","tax_to_adjustment_mappings","invoiceTaxName","invoice_tax_name","saveTaxToAdjustmentMapping","deleteTaxToAdjustmentMapping","productClient","ThriftProductServiceClient","ProductDistributorServiceInstance","thriftProductClient","distributorIdAndProductId","productDistributorAssociationObjectToThriftSerializer","getThriftProductDistributorAssociation","_productDistributorAs","ProductDistributorModel","getThriftProductDistributorAssociationsFromArray","productDistributorAssociationThriftToObjectSerializer","getProductDistributorAssociation","getProductDistributorAssociationsFromArray","productDistributorClient","ProductDistributorServiceClient","productDistributorAssociationCache","requestedProductIds","productDistributorAssociationsByIdByProductId","productDistributorAssociationsByIdentifier","productDistributorAssociationId","pda","disassociateDistributorFromProductQuantityUnits","thriftProductDistributorServiceClient","distributorAssociationsByProductId","thriftProductDistributorAssociation","distributorAssociationsByIdentifier","publicContentObjectToThriftSerializer","getThriftPublicContent","PublicContentModel","getThriftPublicContentUrl","getThriftPublicContentType","getThriftPublicContentAndPublicContentViewEvent","publicContentAndPublicContentViewEvent","getThriftPublicContentViewEvent","publicContentTypeEnum","getThriftPublicContentViewEventType","publicContentViewEventTypeEnum","getThriftUserPublicContent","userPublicContent","publicContentThriftToObjectSerializer","getPublicContentTypeEnum","getPublicContentAndPublicContentViewEvent","getPublicContentViewEventTypeEnum","publicContentViewEventType","getUserPublicContent","publicContentViewEventClient","ThriftPublicContentViewEventServiceClient","publicContentViewEventService","publicContentViewEventServiceClient","inviteInfoJSONToObjectSerializer","getInviteInfo","inviteInfo","user_already_exists","invited_by_user_name","invite_type","invited_to_id","invited_to_name","userInviteService","addCustomerToRetailer","inviteLink","redirect_to","invalidateInvite","getInvite","invite_link","inviteToRetailer","inviteeEmailAddress","inviteAsAdmin","permissions","cancelGroupInvite","invite_id","GLOBAL_GROUP_ID","usageDataJSONToObjectSerializer","usageDataObject","usageCalculationParametersObject","usage_calculation_parameters","bottleCountByProductIdByStorageAreaIdForStartingInventory","bottleCountByProductIdByStorageAreaIdForEndingInventory","bottleCountByProductIdByDeliveryId","bottleCountByProductIdByTransferId","inputBottleCountByProductIdByPrepEventId","outputBottleCountByProductIdByPrepEventId","bottleCostByProductId","bottle_count_by_product_id_by_location_id_for_starting_inventory","productIdString","bottleCountByStorageAreaIdData","bottleCountByStorageAreaId","StorageAreaIdString","bottle_count_by_product_id_by_location_id_for_ending_inventory","bottle_count_by_product_id_by_delivery_id","bottleCountByDeliveryIdData","bottleCountByDeliveryId","DeliveryIdString","bottle_count_by_product_id_by_transfer_id","bottleCountByTransferIdData","bottleCountByTransferId","TransferIdString","input_bottle_count_by_product_id_by_prep_event_id","inputBottleCountByPrepEventIdData","inputBottleCountByPrepEventId","prepEventIdString","output_bottle_count_by_product_id_by_prep_event_id","outputBottleCountByPrepEventIdData","outputBottleCountByPrepEventId","bottle_cost_by_product_id","usage_by_product_id","bottle_usage","dollar_usage","getJson","productCountForStorageAreaIds","productCountForDeliveryIds","productCountByDeliveryId","productCountForTransferIds","productCountByTransferId","productCountForPrepIds","productCountByPrepId","prepId","unit_usage","unit_counts_by_product_id_by_storage_area_id_for_starting_inventory","unit_counts_by_product_id_by_storage_area_id_for_ending_inventory","unit_counts_by_product_id_by_delivery_id","unit_counts_by_product_id_by_transfer_id","input_unit_counts_by_product_id_by_prep_event_id","output_unit_counts_by_product_id_by_prep_event_id","unit_costs_by_product_id","inventoryCountObjectToThriftSerializer","getThriftInventoryCountId","InventoryModel","getThriftStorageAreaId","getThriftStorageArea","getThriftInventoryCountType","getThriftInventoryConfiguration","getThriftStorageAreaIds","storageAreaIdAndStorageAreas","getThriftStorageAreaIdAndStorageArea","storageAreaIdAndSortedProductIdLists","getThriftStorageAreaIdAndSortedProductIdLists","getThriftProductCount","_productCount$getCoun","getThriftProductCounts","thriftProductCounts","getThriftProductCountEvent","getThriftInventoryCount","getThriftProductCountEventsByProductIdByStorageAreaId","getThriftInventoryCountIds","sortedProductIdListByStorageAreaId","storageAreaIdAndSortedProductIdList","productCountEventByProductIdByStorageAreaId","storageAreaIdAndProductIdCountEvents","inventoryCountThriftToObjectSerializer","getStorageAreaId","getInventoryCountId","getInventoryMetadata","getStorageArea","getStorageAreaIds","getMapFromStorageAreaIdAndStorageArea","getMapFromStorageAreaIdAndSortedProductIdList","_productCount$count","thriftProductCount","getProductCountEvent","getInventoryCount","getMapFromStorageAreaIdAndProductIdAndCountEvent","getMapFromInventoryCountIdsAndMetadata","thriftInventoryCountIdsAndMetadata","iInventoryCountMetadatasByInventoryCountId","countIdAndMetadata","getInventoryCountIds","iStorageAreasByStorageAreaId","storageAreaIdAndStorageArea","iProductIdArrayByStorageAreaId","storageAreaIdAndStortedProductIdList","storageAreaIdAndProductIdAndCountEvents","iProductCountEventByProductIdByStorageId","storageAreaIdAndProductIdAndCountEvent","productCountEventById","getMapFromInventoryCountIdsAndInventoryCount","thriftInventoryCountIdsAndInventoryCount","iInventoryCountByInventoryCountId","inventoryCountIdAndInventoryCount","getMapFromInventoryCountIdAndMetadatas","inventoryCountAndMetadatas","iInventoryCountMetadataByInventoryCountId","inventoryCountIdAndMetadata","inventoryCountClient","InventoryCountServiceClient","inventoryCountServiceClient","inventoryCountMetadatasByInventoryCountId","inventoryCountsById","inventoryCountMetadataByInventoryCountId","sortedResult","thriftInventoryCountIdAndMetadata","getMostRecentFinalizedInventoryCountIdAndMetadataForLocationBeforeTime","endTimeInclusive","InventoryExceptions","addProductToStorageAreaAtInventoryCountFromQueue","storageAreaIdObject","inventoryCountIdObject","clientTimestampObject","removeProductFromStorageAreaAtInventoryCountFromQueue","removeProductFromAllStorageAreasAtInventoryCountFromQueue","setProductCountAtStorageAreaFromQueue","productCountsObject","inventoryCurrentConfigurationClient","InventoryCurrentConfigurationServiceClient","currentInventoryConfigurationService","inventoryCurrentCountServiceClient","addProductToStorageAreaAndSetAsLastForCustomSort","setStorageAreaIndexAfterFromQueue","setProductAtStorageAreaIndexAfterFromQueue","productObject","packages","package_mappings","preferred_base_unit","preferred_reporting_unit","weights_by_package_id","last_update_event","new_product_category_id","iso_4217_currency_code","product_category_id","product_type","price_unit","gl_code","creation_event","confirmation_event","productObjectsByIdValue","getProductHashesById","productHashesByIdValue","productHashesById","getProductIsDeletedById","productIdDeletedByIdValue","productIsDeletedById","packageObject","package_id","quantityInUnitJSONObject","packagingDataObject","mappingsObject","conversionsObject","is_active","package_id_mappings","unit_of_measure_mappings","unitOfMeasureValue","weightsByPackagingIdObject","packagingWeightObject","empty_weight","getMass","full_weight","mergeEventObject","_mergeEventObject$his","merged_from_product_ids","storage_areas_affected","sales_items_affected","cart_items_affected","mergedFromProductIdSet","storageAreasAffectedSet","salesItemsAffectedSet","cartItemsAffectedSet","user_account_id_and_timestamp","merged_to_product_id","historical_merge_in_progress","categoryJson","is_deleted","categoryObjectsByIdValue","getCategoryId","mass","unit_of_mass","conversionsJSONObject","packagingDataJSONObject","getPackagingJSON","weightsByPackagingIdJSONObject","getMassJSON","packageIdMappings","confirmation","getJSONPackagingFromPackaging","packageId","getMergeEventJSON","mergeFromProductIds","mergeFromProductIdsArray","storageAreasAffectedArray","salesItemAffectedArray","cartItemAffectedArray","getCategoryJson","parent_id","monetary_value","productCache","createProducts","getProductsWithCategoryIds","categoryIds","bulkUpdateProductsById","productUpdateArgsById","product_hash","productJson","productIdValues","productsByIdResponse","products_by_id","productHashesByIdResponse","product_hashes_by_id","categoryIdValues","isDeletedByProductIdResponse","product_is_deleted_by_id","new_product","old_product_hash","productCategoryJson","editCategoryById","deleteCategoryById","categoryHash","inventorySheetsService","uploadInventorySheets","wasSuccessfullyParsedByProductUploader","getProductsForLocationMatchingSearchParameters","inclusiveStartIndex","filterTermsById","inclusive_start_index","search_term","filter_terms_by_id","product_ids","productsByIdJSON","total_matched","activeProductIdValues","inventory_list","deletedFromSearchEventByProductId","deleted_from_search_event_by_product_id","deletionEventByProductId","deletionEvent","deleted_by","setProductsAsActive","setProductsAsInactive","restoreDeletedProduct","locationIdStr","createLocations","userFirstName","userLastName","userEmail","userPhone","beverageRetailerName","foodRetailerName","isPayingByCard","gettingStartedType","freeTrialSource","beverage_retailer_id","food_retailer_id","beverageLocationId","foodLocationId","createSandboxLocationForUser","retailer_account_type","sandbox_retailer_id","getNumberOfUsersForLocation","number_of_users","productUploadJSONToObjectSerializer","getDefaultsByProductIdFromJSON","defaultsByProductIdJSON","defaultsByProductId","defaultsObject","uploadDefaults","productFieldKey","originalValue","original_value","productUploadService","getMostRecentProductUploadDefaultsForLocation","mostRecentUpload","defaults_by_product_id","createProductsFromUpload","productObjects","batchUploadId","upload_items","upload_id","product_id_set","productCostClient","ProductCostServiceClient","productCostServiceClient","checkNonNegativeCost","productParClient","ProductParServiceClient","thriftClient","productParsByProductId","mergeEventJson","createProductMergeEvent","executeMerge","mergeRequestData","usageDataSerializer","productResponse","cartJSONToObjectSerializer","getCart","cartJSONObject","cart_items","cart_item_id","unit_quantity","cart_distributor_info_by_id","cartDistributorInfoJSON","repIdValue","saved_for_later","retailer_note","purchase_order_number","cart_hash","getAdditionalCartBuilderData","additionalCartBuilderDataJSONObject","comparison_option","group_by_option","reference_inventory_option","default_product_quantity_unit_by_id","expected_inventory_bottle_count_by_product_id","defaultProductQuantityUnitByProductId","inventoryColumnOption","usageColumnOption","expectedInventoryBottleCountByProductId","inventoryBottleCountByProductId","INVENTORY_DRAFT","LATEST_FINALIZED_INVENTORY","EXPECTED_INVENTORY","WEEKLY_USAGE","ACTUAL_USAGE","QUANTITY_TO_ORDER","PRODUCT_PAR","cartObjectToJSONSerializer","getGroupByOption","getInventoryColumnOption","getUsageColumnOption","cartService","getCartForLocation","clearCart","setNoteForDistributor","removeDistributorItems","setDistributorItemsIsSavedForLater","setPurchaseOrderNumberForDistributor","addDistributorRep","smartCartFromPar","smartCartFromWeeklyUsage","usageMultiple","setUserCartBuilderViewPreferences","addCartItemToCart","updateCartItemInCart","placeOrder","cartHash","recordOrder","orderDate","shareOrder","userAccountIds","userAccountIdValues","getUserOptionsForShareOrder","userDict","email_address","orderingJSONToObjectSerializer","deliveryIdValue","invoiceUploadIdValue","getInvoiceProcessingResultSource","invoiceProcessingResultSourceValue","PLATE_IQ","FINTECH","ROSSUM","STEDI_SYSCO","STEDI_USFOODS","BEVSPOT_INTERNAL","getDeliveryMetadataById","deliveryMetadataJSONObjects","idValue","getDeliveryMetadata","deliveriesByIdJSONObject","deliveryJSONObject","getDelivery","getInvoiceUploadsById","invoiceUploadsByIdJSON","invoiceUploadJSON","getInvoiceUpload","invoiceUploadsByIdByDeliveryIdJSONData","invoiceUploadsByDeliveryId","uploadJSON","invoiceProcessingDataJSON","invoice_processing_data","upload_time","file_extension","order_id","is_onboarding","packagingObject","invoiceProcessingResult","resultJSON","invoice_number","distributor_name","line_items","lineItemJSON","normalized_line_item","normalized_packaging","line_item_id","unit_deposit","other_adjustments","pack_size","validation_results","getValidationResult","total_amount","error_message","request_user_id","processed_invoice_upload_ids_by_child_invoice_external_id","result_time","review_user_id","review_time","rejection_event","child_invoice_result_count","_deliveryJSONObject$i","recordedByUserId","dateDelivered","recorded_by","delivery_report","time_delivered","time_reported","reporter_user_id","predicted_delivery_time","datePlaced","time_placed","dateRecorded","time_recorded","distributor_reps","distributorRepJSON","bevspot_sent_email_to_email_address","bevspot_sent_sms_to_phone_number","note_to_self","note_to_rep","is_draft","_deliveryJSONObject$i2","unit_price","invoice_upload_id","invoice_upload_line_item_id","price_adjustments_by_product_category_id","priceAdjustmentsForCategory","priceAdjustmentJSON","uncategorized_price_adjustments","hidden_invoice_upload_line_item_ids_by_invoice_upload_id","adjustmentData","processed_invoice_upload_adjustment_ids_by_invoice_upload_id","taxData","processed_invoice_upload_tax_ids_by_invoice_upload_id","approval_event","ready_for_approval_event","taxJSON","user_defined_total","recorder_name","validationResultJSONObject","orderingObjectToJSONSerializer","getJSONDeliveryFromDelivery","deliveryHash","deliveryConfirmationEventTime","deliveryTime","deliveryReport","predictedDeliveryTime","priceAdjustmentJSONByProductCategoryIdValue","priceAdjustments","priceAdjustment","adjustmentId","hiddenInvoiceUploadLineItemIdsByInvoiceUploadIdJSON","processedInvoiceUploadAdjustmentIdsByInvoiceUploadIdJSON","processedInvoiceUploadAdjustmentIds","processedInvoiceUploadTaxIdsByInvoiceUploadIdJSON","processedInvoiceUploadTaxIds","deliveryApprovalEvent","deliveryReadyForApprovalEvent","deliveryLastUpdateEvent","order_hash","dateQueryTypes","include_metadata_only","recordNewOrderForLocation","recorderName","deliveryReportForRequest","dateReported","reporterUserId","order_detail","deliveryIdValues","deleteAttachedInvoices","delete_attached_invoices","invoiceUploadFile","checkDuplicates","check_duplicates","invoiceUploadResponse","invoice_upload","errorResponse","invoiceUploadName","invoice_upload_name","duplicateInvoiceUploadsById","duplicate_invoice_uploads_by_id","invoiceUploadFiles","resultsByRequest","duplicates","uploadsPromise","firstFileIndex","invoiceUploadFilesForRequest","createInvoiceUploadsInOneRequest","requestResult","successes","uploadData","duplicatesData","duplicateData","lineItemIdsToReassign","target_retailer_id","invoiceUploadIdSet","invoiceUploadIdValues","new_name","new_order_id","mergeFiles","invoice_ids","merge_files","isConfirmed","is_confirmed","detachInvoiceUploadsFromOrder","delivery_id","rejectionReason","rejection_reason","lineItemMatchByInvoiceUploadId","lineItemMatch","transferObjectToThriftSerializer","getThriftTransferId","InventoryTransferReportModel","getThriftTransferDirection","transferDirection","getThriftTransferReportInfo","thriftProductIdsAndQuantityOfProducts","getThriftProductIdsAndQuantityOfProducts","thriftPartnerLocation","getThriftTransferIds","transferThriftToObjectSerializer","getTransferReportJSON","transfer_report_data","getTransferReportDataJSON","report_meta_data","getReportMetaDataJSON","product_costs_by_product_id","getProductCostsByProductIdMapping","productIdAndAmounts","perspective_location","product_amounts","partner_location","request_metadata","sent_metadata","received_metadata","cancellation_metadata","cancellation_note","creation_metadata","update_metadata","perspective_is_originator","productCostsJSON","getTransferId","getTransferDirection","getReportMetadata","reportMetadata","_transferReportData$c","productCountAmount","getPartnerLocationFromTransferReportData","thriftCustomPartnerLocationName","getTransferReportWithoutCost","getTransferReport","getTransferIds","getTransferReportWithoutCosts","transferReports","getTransferReports","transferClient","InventoryTransferReportServiceClient","inventoryTransferReportServiceClient","transferIdsList","reportsById","reportUpdate","newRequisitionStep","deleteTransferReport","getCustomPartnerLocationNames","updateCustomPartnerLocationNameForTransferReport","productMappingObjectToThriftSerializer","getThriftInterLocationProductMapping","ProductMappingModel","productMappingThriftToObjectSerializer","getInterLocationProductMapping","thriftInterLocationProductMapping","getInterLocationProductMappingFromUpdateEvent","thriftInterLocationProductMappingUpdateEvent","productMappingClient","InterLocationProductMappingServiceClient","productIdMap","mappingUpdateEvent","productQuantityUnitMappings","productQuantityUnitMappingUpdateEvent","interLocationProductMappings","thriftIinterLocationProductMappings","partnerLocationMappingCounts","mappingCountByPartnerLocationId","partnerLocationMappingCount","breakageObjectToThriftSerializer","getThriftBreakageId","getThriftBreakageIds","breakageThriftToObjectSerializer","getBreakageId","_breakageReportData$t","getBreakageReport","getBreakageIds","getBreakageReports","breakageReports","breakageClient","BreakageReportServiceClient","breakageReportServiceClient","breakageIdsList","newType","updateResult","updateError","deleteBreakageReport","inventoryCountViewPreferencesService","setRetailerInventoryViewPreferencesForStorageAreaForLocationId","viewPreferences","setRetailerInventoryViewPreferencesForStorageAreaForLocationIdFromQueue","getRetailerInventoryViewPreferencesForLocationId","preferencesByStorageAreaId","view_preferences","storageAreaIdStr","viewPreferencesForStorageArea","activeGroupByOptionValue","activeColumnSort","itemLevelSalesReportConfigurationSerializer","getItemLevelSalesReportConfigurationsById","reportConfigurationsByIdJSONData","reportConfigurationJSONObject","getItemLevelSalesReportConfiguration","creation_time","date_processed","bounding_inventory_id_0","bounding_inventory_id_1","sales_by_sales_item_id","is_processing","tracked_product_id_set","track_sales_items_with_no_components","usage_bottle_adjustments_by_product_id","salesBySalesItemIdJSONObject","getThriftItemLevelSalesReportConfigurationId","itemLevelSalesReportConfigurationId","SalesItemModel","itemLevelSalesReportConfigurationService","getItemLevelSalesReportConfigurationsByIdForInventoryCount","inventory_id","report_configurations_by_id","getItemLevelSalesReportConfigurationIdsForLocation","reportIds","getItemLevelSalesReportProcessedTimeByConfigurationIdInTimeRange","serializeTimestamp","getItemLevelSalesReportConfigurationForId","configuration_id","item_level_revenue_and_cost_report_configuration","addOrUpdateSalesEntry","addOrUpdateSalesEntries","salesEntryBySalesItemId","item_level_revenue_and_cost_report_configuration_id","sales_entries_by_sales_item_id","serializeSalesEntriesToJson","removeSalesEntries","idValues","sales_item_ids_to_remove","updateTrackingStatesForProducts","isTrackedByProductId","isTrackedByProductIdValue","isTracked","updateShouldTrackItemsWithNoComponents","shouldTrackItems","reportName","notifySalesReportSubscribers","categoryLevelSalesReportConfigurationSerializer","getCategoryLevelSalesReportConfigurationsById","getCategoryLevelSalesReportConfiguration","categoryLevelSalesReportConfigurationService","getCategoryLevelSalesReportConfigurationsByIdForInventoryCount","category_level_revenue_and_cost_report_configurations_by_id","userAccountInfoService","accountIds","userIdValue","userCookie","given_name","family_name","fromEntries","retailerFeaturesByRetailerId","features","isInFreeTrialByRetailerId","is_is_free_trial","is_sandbox","ordered_retailer_ids","getEventHasOccurred","setAccountInfo","setEventHasOccurred","adminService","integrationJSONToObjectSerializer","getAccessibleToastRestaurantsById","getMappedToastRestaurantIdsByRetailerId","mapToastRestaurantId","toastRestaurantId","disconnectToastRestaurant","incidentBannerService","getIncidentBannerData","plateIQIntegrationService","updatePlateIQIntegration","plateIQRestuarantId","shouldSyncInvoices","should_sync_invoices","integrationClient","IntegrationServiceClient","getThriftIntegrationType","serializeIntegrateStateFromThrift","IntegrationModel","vendorIntegrationService","getFintechIntegrationState","fintech_location_id","store_number","custom_ftp_credentials","last_import_attempt_time","last_imported_file_date","getStediIntegrationStates","integrationStateJson","stedi_trading_partner","stedi_location_reference","location_id","vendor_id","last_invoice_info","dateReceived","date_received","invoiceDate","invoice_date","gettingStartedGuideService","welcomeQuestionnaireObjectToJsonSerializer","getGettingStartedTaskIsCompletedByTaskNameForAllTasks","setGettingStartedTaskIsCompleted","taskName","task_name","setWelcomeQuestionnaireResponse","responseData","getWelcomeQuestionnaireResponseJson","responseByWelcomeQuestion","user_role","is_selected_by_option","isSelectedByOptionValue","custom_option","customOptionValue","user_motivation","user_inventory_day","user_inventory_frequency","user_inventory_taker","prepEventObjectToThriftSerializer","getThriftPrepEventId","PrepEventModel","getThriftPrepEventIds","prepEventThriftToObjectSerializer","getPrepEventId","getPrepEvent","getMapFromPrepEventAndIds","prepEventAndIds","prepEventAndId","prepEventClient","PrepEventServiceClient","prepEventServiceClient","billingAddOnService","getPricePerInvoiceForInvoiceProcessingForRetailer","billing_info","price_per_invoice","enableAddOnsForRetailer","addOnsToEnable","pricePerInvoice","item_level_sales","termsConditionsAgreementService","getLatestTermsConditionsAgreementForLocation","createTermsConditionsAgreement","billingRetailerService","getBillingRetailer","_response$delinquent_","presentationCacheDataService","getPresentationCacheData","retailer_presentation_data","userActionLogCommentClient","UserActionLogServiceClient","userActionLogCommentService","serializeUserActionLogCommentFromThrift","retrieveComments","timeRange","timestampTypes","commentsById","salesItemThriftToObjectSerializer","getSalesItemIds","thriftIds","thriftId","getSalesItemId","getSalesItemWithMetadata","thriftSalesItemWithMetadata","_thriftSalesItemWithM","getSalesItemQuantityById","getSalesQuantityAndUnit","getSalesItemIdMap","thriftSalesItemIdMapping","newSalesItemIdByOldSalesItemId","thriftSalesItemIdMap","thriftSalesItemIdAndQuantityMap","salesItemQuantityById","thriftSalesIdAndQuantity","thriftSalesQuantityAndUnit","salesItemObjectToThriftSerializer","getThriftSalesItemIdList","getThriftSalesItemId","getThriftSalesItem","_salesItem$getSalesIt","needsAttentionCategoryFromObj","getSalesItemIdAndQuantityArray","getThriftSalesQuantityAndUnit","thriftSalesItemIdAndQuantityArray","Integer","salesQuantityAndUnit","salesItemClient","SalesItemServiceClient","adminSalesItemClient","AdminSalesItemServiceClient","thriftAdminClient","thriftSalesItemAndId","getDeletedSalesItemIdsForLocation","createdBeforeTime","createdAfterTime","createByMe","checkOnly","matchedSalesItemsById","salesItemAndId","hasRecipeSalesItemIds","salesItemIdObj","usedInAnotherSalesItemIds","referencedSalesItemsByReportId","reportIdAndSalesItemIds","salesIdValues","fileReaderUtils","getBinaryStringFromFile","binary","updateRetailerAddressAndContactInformation","contactFirstName","contactLastName","contactEmail","contactPhone","setColleaguesForRetailer","colleagueEmails","setTaxNamesForRetailer","taxNames","setProductCostSettingsForRetailer","includeDiscountsInCost","includeTaxesInCost","includeDepositsInCost","setUsageLookbackPeriodForRetailer","usageLookbackPeriod","setEstablishmentIdForRetailer","establishmentId","clearEstablishmentIdForRetailer","updateRetailerAccountingStartOfTheWeek","startDay","updateRetailerTimezone","updateRetailerCurrency","updateRetailerShouldIncludeSKUInOrderCommunications","includeSKUInOrderCommunications","tax_percent","updateRetailerTaxPercent","responseDefaultPour","default_pour","defaultPourByCategory","defaultPourValue","qty","updateDefaultPourForRetailer","newDefaultPour","unitAndQuantity","setMenuSyncState","shouldSync","setMenuGroupSyncState","salesIntegrationClient","salesImportService","getSalesEntry","thriftSalesEntry","getPosItem","thriftPosItem","getSalesDataInPeriod","thriftSalesItemIdAndSalesEntry","ignoredSalesEntries","thriftPosItemAndSalesEntry","salesImportResult","CoreApiExceptions","POSUploadService","itemLevelSalesSerializer","populateSalesReportFromUpload","pmixRows","item_level_report_id","salesBySalesItemIdValues","issuesByRowNumber","issues_by_row_number","notifySupportPmixSheetUploaded","salesSettingsService","getOmittedNamesByPosId","omittedNamesByPosId","posIdValue","updateOmittedNamesByPosId","newShouldOmitByNameAndPosId","shouldOmitDict","shouldOmitByName","should_omit_by_name_and_pos_id","getShouldIncludeLossInVariance","should_include_losses_in_variance","updateShouldIncludeLossInVariance","shouldIncludeLossInVariance","getShouldUseGrossSalesForTotalSales","should_use_gross_sales_for_total_sales","updateShouldUseGrossSalesForTotalSales","exceptedInventoryDeserializer","reference_inventory_id","getExpectedInventory","breakdownByProductId","expected_inventory_bottle_count_by_id","bottle_breakdown_by_product_id","bottleBreakdownJson","bottleBreakdown","start_count","prep_inputs","prep_outputs","sales_last_updated_time","establishmentService","createEstablishment","establishment_id","renameEstablishment","getEstablishment","establishment","getAllEstablishments","namesByEstablishmentId","establishments","getLocationIdsInEstablishment","groupPermissionsService","getUsersDataByGroupId","inviteUserToGroup","removeUserFromGroup","removeUserFromLocation","updateGroupPermissions","updateGroupRetailerPermissions","updateRetailerPermissions","perm_dict","updatedRetailerPermissions","mergeAccountingIntegrationClient","MergeAccountingIntegrationServiceClient","mergeIntegrationObjectMappingClient","MergeIntegrationObjectMappingServiceClient","serviceRegistry","CountryList","mapObject","countryInfo","COUNTRY_DROPDOWN_OPTIONS","countryOptions","currencyByCode","ALL","symbol","AFN","ARS","AWG","AUD","AZN","BSD","BBD","BYN","BZD","BMD","BOB","BAM","BWP","BGN","BRL","BND","KHR","CAD","KYD","CLP","CNY","COP","CRC","HRK","CUP","CZK","DKK","DOP","XCD","EGP","SVC","EUR","FKP","FJD","GHS","GIP","GTQ","GGP","GYD","HNL","HKD","HUF","ISK","INR","IDR","IRR","IMP","ILS","JMD","JPY","JEP","KES","KZT","KPW","KRW","KGS","LAK","LBP","LRD","MKD","MYR","MUR","MXN","MNT","MZN","NAD","NPR","ANG","NZD","NIO","NGN","NOK","OMR","PKR","PAB","PYG","PEN","PHP","PLN","QAR","RON","RUB","SHP","SAR","RSD","SCR","SLL","SGD","SBD","SOS","ZAR","LKR","SEK","CHF","SRD","SYP","TWD","THB","TTD","TRY","TVD","UAH","GBP","UYU","UZS","VEF","VND","YER","getCurrencyLabel","GLOBAL_RETAILER_CURRENCY","CURRENCY_OPTIONS","isCurrencyCode","getValueInUTC","EmailType","SubscriptionState","DailySummaryEmailConfigurationOption","hexString","BATCH_ACTION_TYPE","batchingReducer","integerValue","stediTradingPartners","ISODayOfWeek","TIMEZONE_DROPDOWN_OPTIONS","getSupportedTimezoneOptionsForSelect2Dropdown","timezoneOptions","timezoneEnumValue","timezoneEnum","timezoneLabel","FormatMonetaryValue","absoluteValue","decimalRoundedTo","decimal","FormatPrice","FormatDollarValue","buildQueryString","queryObject","queryString","handleUnsuccessfulResponse","responseJSON","handleXhrOnLoad","handleXhrOnLoadCaughtException","getResponseHeader","exception_type","cacheBustingQueryObject","_cache_busting_arg_","authToken","CSRF_TOKEN","isAuthenticated","RETAILER_SCOPED_PATHS","dashboard","manageRetailer","integrations","GROUP_SCOPED_PATHS","manageGroup","groupPath","adminManageUser","adminInventoryItemsExport","adminVendorsExport","inventoryDetail","orderDetail","getIsDateWithinDataHistoryLimit","GLOBAL_RETAILER_DATA_HISTORY_LIMIT_IN_DAYS","momentValue","getDateTimeFromISOFormatDateTimeString","isoformattedDateTimeString","timezoneString","compareDateTimes","dateTime0","dateTime1","startDateIsEarilierThanEndDate","numTimes10ToTheExponentExact","cleanThriftNumber","CoreMathModel","numberString","decimalScale","exponent","splitNum","leftOfDecimalPoint","rightOfDecimalPoint","numberOfZerosToAppend","repeat","numberOfZerosAtFront","toNumber","decimal1","decimal2","legacyData","retailer_daily_summary_email_configuration","subscription_state_by_email_type","dailySummaryEmailConfiguration","INCLUDE_FINALIZED_INVENTORY_CHANGE","INCLUDE_NEW_PRODUCT_ORDER","INCLUDE_PRICE_SETTING","finalized_inventory_adjustment","product_ordered_not_in_inventory","price_setting","daily_summary","weekly_summary","order_placed_notification","sales_report_processed_notification","stripe_charge","subscriptionStateByEmailTypeString","RETAILER_DAILY_SUMMARY_EMAIL","RETAILER_WEEKLY_SUMMARY_EMAIL","ORDER_PLACED_NOTIFICATION","SALES_REPORT_PROCESSED_NOTIFICATION","STRIPE_CHARGE_NOTIFICATION","legacyRetailerDailySummaryEmailConfiguration","SUBSCRIPTION_ON","loadedXlsx","s2ab","formatString","columnIndex","rowIndex","encode_cell","headerInfo","sortedRowIdsByGroupName","createRowFunction","isRowIncluded","includedItems","excludedItems","columnInfo","bookType","canDownloadFile","msSaveBlob","download","writeFile","wbout","onloadend","readAsDataURL","createObjectURL","sheetRange","decode_range","retailerIdOrName","startDateInRetailerTZ","endDateInRetailerTZ","worksheetName","newWorksheetName","specialCharacter","getParsedSpreadsheetData","XLSX","wb","sheet","SheetNames","sheetName","Sheets","Workbook","Hidden","sheet_to_json","blankrows","defval","getParsedSpreadsheetDataFromFile","rABS","readAsBinaryString","dataFile","fileReader","getFileExtensionFromPath","filePath","fileEnding","identificationEmail","identificationToken","string1","string2","normalized1","normalized2","findBestFuzzyMatchByName","valueByCleanedName","exactMatch","bestMatch","savedCleanedName","score","decimalPlaces","factor","thriftInt64","compareNullable","trackGoogleTagManager","dataLayer","sendRetailerCreationToHubspot","user_first_name","user_last_name","user_email","user_phone","retailer_name","retailer_address_line1","retailer_address_line2","retailer_country_code","retailer_city","retailer_zipcode","group_location_count","introduction_source","introduction_drilldown","introduction_free_text","product_subscription","promo_code","getting_started_source","beverage_free_trial_getting_started_type","food_free_trial_getting_started_type","sendUserSignUpToHubspot","sendPartnerSignUpRetailerToHubspot","analytics","isAuthenticatedUser","isAssociatedWithRetailer","userProperties","observePageView","actionName","actionArgs","analyticsActionArgs","analyticsContextArgs","appPath","app_path","retailerCreated","trackGoogleAdwordsCreateUser","conversionHandler","google_trackConversion","google_conversion_id","google_conversion_label","google_remarketing_only","google_conversion_format","partnerSignUp","signup","drinkPriceToolSubmission","post","downloadedContent","downloadUrl","downloadLocation","getLocation","_hsq","inventoryStarted","inventoryFinalized","inventoryStorageAreaCreated","orderItemCreated","orderRecorded","paymentSubmission","GLOBAL_RETAILER_GETTING_STARTED_TYPE","retailerCreationDate_date","GLOBAL_RETAILER_CREATION_DATE","userCreationDate_date","GLOBAL_USER_CREATION_DATE","relativePath","absolutePathPrefixWithoutTrailingSlash","distributorForProduct","productDistributorAssociationMap","lastDistributorIdsByProductId","lastDistributorsById","createProductDistributorAssociationStringForFilter","productDistributorAssociationSku","getTimestampGroupComparator","getCountValueFromProductCount","getProductParValue","makeThrottledThunk","derivedFlag","getInactiveIngredientFlag","hasDeletedIngredients","hasArchivedIngredients","SalesItemGroupByOption","salesItemFilterStringCache","cachedCreateSalesItemStringForFilter","salesItemStringForFilter","createSalesItemStringForFilter","filterStrings","productBrandAndName","salesItemIngredient","ingredientName","getDefaultGroupNameForSalesItemRow","lastEditedTimestamp","lastArgumentsAndResults","sortPromise","filterPromise","groupByPromise","sortResult","filterResult","groupByResult","asyncSort","asyncFilter","asyncGroupBy","groupNamesByRowId","unfilteredSortedRowIds","groupRowIds","sortedGroupNames","phrase","number1","number2","compareQuantityInUnitQuantities","displayedGroupNames","separator","firstLetter","valuesLength","sensitivity","TimestampGroups","TimestampSortOrder","SEVEN_DAYS","THIRTY_DAYS","SIX_MONTHS","OLDER_THAN_TWELVE_MONTHS","daysFromCurrentDate","parseQueryString","parser","part","parameter","queryStringify","excludePrefix","pairs","getUrlString","tempArray","paramString","returnUrl","numberValidatorArgs","precision","numberInputValidator","containsOnlyDigitsAndDecimal","splitValue","validateNewStorageAreaName","validateUSZipCode","validateExpirationDate","makeMaxLen","validateNoWhitepace","lens","getLens","validLen","placeHoldersLen","tmp","Arr","_byteLength","curByte","revLookup","uint8","extraBytes","maxChunkLength","len2","encodeChunk","lookup","tripletToBase64","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_RESULT__","allowTouchMove","touches","targetElement","ontouchstart","targetTouches","ontouchmove","reserveScrollBarGap","_typeof","isWebWorker","isJsDom","customInspectSymbol","K_MAX_LENGTH","arrayView","isInstance","fromArrayView","SharedArrayBuffer","numberIsNaN","toPrimitive","mustMatch","hexSliceLookupTable","wrtBigUInt64LE","checkIntBI","BigInt","wrtBigUInt64BE","readUintLE","readUintBE","readUint8","readUint16LE","readUint16BE","readUint32LE","readUint32BE","readBigUInt64LE","defineBigIntMethod","boundsError","readBigUInt64BE","readBigInt64LE","readBigInt64BE","writeUintLE","writeUintBE","writeUint8","writeUint16LE","writeUint16BE","writeUint32LE","writeUint32BE","writeBigUInt64LE","writeBigUInt64BE","writeBigInt64LE","writeBigInt64BE","copyWithin","errors","E","sym","Base","addNumericalSeparator","ERR_OUT_OF_RANGE","checkBounds","ERR_INVALID_ARG_TYPE","ERR_BUFFER_OUT_OF_BOUNDS","received","alphabet","table","i16","BufferBigIntNotDefined","it","UNSCOPABLES","ArrayProto","isObject","toIObject","toLength","toAbsoluteIndex","IS_INCLUDES","$this","fromIndex","O","core","__e","aFunction","is","hide","redefine","PROTOTYPE","$export","own","IS_FORCED","F","IS_GLOBAL","G","IS_STATIC","S","IS_PROTO","IS_BIND","expProto","U","W","R","__g","dP","createDesc","cof","setToStringTag","IteratorPrototype","Constructor","NAME","LIBRARY","Iterators","$iterCreate","ITERATOR","BUGGY","KEYS","VALUES","returnThis","IS_SET","FORCED","getMethod","TAG","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","anObject","dPs","enumBugKeys","IE_PROTO","Empty","createDict","iframeDocument","lt","Properties","IE8_DOM_DEFINE","Attributes","toObject","ObjectProto","$keys","bitmap","SRC","$toString","TO_STRING","TPL","safe","isFunction","def","stat","shared","SHARED","copyright","toInteger","IObject","defined","px","USE_SYMBOL","addToUnscopables","iterated","_t","Arguments","$iterators","wks","TO_STRING_TAG","ArrayValues","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","collections","explicit","Collection","Y","mediaQuery","captures","RE_MEDIA_QUERY","modifier","expressions","inverse","expression","RE_MQ_EXPRESSION","RE_MQ_FEATURE","parseQuery","typeMatch","expressionsMatch","expValue","toPx","toDpi","toDecimal","RE_LENGTH_UNIT","RE_RESOLUTION_UNIT","numbers","ascending","NaN","bisector","mid","ascendingBisect","bisectRight","bisectLeft","pair","variance","valueof","mean","deviation","sqrt","extent","constant","identity","sequence","e10","e5","e2","tickIncrement","power","LN10","tickStep","step0","step1","sturges","LN2","value0","arrays","transpose","matrix","slice$1","identity$1","epsilon","translateX","translateY","entering","__axis","axis","orient","tickArguments","tickValues","tickFormat","tickSizeInner","tickSizeOuter","tickPadding","spacing","range0","range1","selection","selectAll","tickExit","tickEnter","insert","each","tickSize","Dispatch","typename","T","xhtml","namespaces","svg","xlink","xml","xmlns","creatorInherit","ownerDocument","uri","namespaceURI","createElementNS","creatorFixed","fullname","nextId","local$1","Local","vendorMatches","webkitMatchesSelector","msMatchesSelector","mozMatchesSelector","oMatchesSelector","matcher$1","filterEvents","filterContextListener","contextListener","related","compareDocumentPosition","event1","event0","__data__","__on","onAdd","mouseenter","mouseleave","customEvent","sourceEvent","ownerSVGElement","createSVGPoint","matrixTransform","getScreenCTM","clientLeft","clientTop","mouse","changedTouches","none","empty$1","selectorAll","sparse","EnterNode","datum","_next","_parent","bindIndex","dataLength","bindKey","nodeByKeyValue","keyValues","ascending$1","attrRemove","removeAttribute","attrRemoveNS","removeAttributeNS","attrConstant","setAttribute","attrConstantNS","setAttributeNS","attrFunction","attrFunctionNS","defaultView","styleRemove","removeProperty","styleConstant","setProperty","styleFunction","styleValue","propertyRemove","propertyConstant","propertyFunction","classArray","ClassList","_node","_names","classedAdd","classedRemove","classedTrue","classedFalse","classedFunction","textRemove","textContent","textConstant","textFunction","htmlRemove","innerHTML","htmlConstant","htmlFunction","raise","nextSibling","lower","previousSibling","constantNull","removeChild","CustomEvent","createEvent","initEvent","bubbles","cancelable","dispatchConstant","dispatchFunction","root","Selection","parents","_groups","_parents","subgroups","subnode","subgroup","constant$1","enterGroup","updateGroup","i1","_enter","_exit","groups0","groups1","m0","m1","merges","group0","group1","compareNode","sortgroups","sortgroup","nodes","getAttributeNS","classed","html","before","typenames","parseTypenames$1","touch","nopropagation","stopImmediatePropagation","noevent","dragDisable","selection$$1","__noselect","MozUserSelect","yesdrag","noclick","constant$2","DragEvent","subject","dx","dy","defaultFilter$1","defaultContainer","defaultSubject","define","factory","extend","Color","darker","brighter","reI","reN","reP","reHex3","reHex6","reRgbInteger","reRgbPercent","reRgbaInteger","reRgbaPercent","reHslPercent","reHslaPercent","named","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","whitesmoke","yellow","yellowgreen","Rgb","rgbn","rgba","hsla","rgbConvert","rgb","Hsl","hsl","hslConvert","hsl2rgb","m2","displayable","deg2rad","PI","rad2deg","Xn","Zn","t0","t3","labConvert","Lab","Hcl","cos","sin","rgb2xyz","xyz2lab","lab","lab2xyz","xyz2rgb","hcl","atan2","hclConvert","D","ED","EB","BC_DA","cubehelix","Cubehelix","bl","cubehelixConvert","v0","v1","v2","v3","cosh","sinh","basis$1","basisClosed","constant$3","linear","hue","gamma","nogamma","exponential","interpolateRgb","rgbGamma","color$$1","rgb$$1","rgbSpline","spline","colors","rgbBasis","rgbBasisClosed","array$1","nb","na","interpolateValue","reinterpolate","reA","reB","cssNode","cssRoot","cssView","svgNode","interpolateString","bi","one","zero","interpolateRound","degrees","identity$2","rotate","skewX","scaleX","scaleY","decompose","atan","interpolateTransform","pxComma","pxParen","degParen","xa","ya","xb","yb","translate","interpolateTransformCss","interpolateTransformSvg","consolidate","rho","SQRT2","interpolateZoom","p0","p1","ux0","uy0","w0","ux1","uy1","w1","b0","b1","r0","r1","coshr0","tanh","hsl$1","hue$$1","hsl$2","hslLong","hcl$1","hcl$2","hclLong","cubehelix$1","cubehelixGamma","cubehelix$$1","taskHead","taskTail","cubehelix$2","cubehelixLong","interval","clockLast","clockNow","clockSkew","clock","setFrame","clearNow","Timer","_call","timer","timerFlush","wake","sleep","nap","poke","timeout$1","emptyOn","emptyTween","schedule","schedules","__transition","tween","ease","set$1","get$1","interrupt","tweenRemove","tween0","tween1","tweenFunction","tweenValue","interpolate$$1","attrRemove$1","attrRemoveNS$1","attrConstant$1","value1","value00","interpolate0","attrConstantNS$1","attrFunction$1","value10","attrFunctionNS$1","attrTweenNS","_value","attrTween","delayConstant","durationFunction","durationConstant","Selection$1","selection_prototype","quadInOut","cubicInOut","select$$1","inherit","id0","id1","on0","on1","sit","onFunction","styleTween","interpolate$$2","styleRemove$1","styleRemoveEnd","styleFunction$1","styleConstant$1","textFunction$1","textConstant$1","removeFunction","easeConstant","polyIn","custom","polyOut","polyInOut","pi","halfPi","sinInOut","expInOut","circleInOut","b2","b3","b5","b6","b8","bounceOut","overshoot","backIn","backOut","backInOut","tau","elasticIn","asin","amplitude","period","elasticOut","elasticInOut","defaultTiming","root$1","constant$4","BrushEvent","nopropagation$1","noevent$1","MODE_DRAG","MODE_SPACE","MODE_HANDLE","MODE_CENTER","X","handles","xy","XY","cursors","overlay","nw","ne","se","sw","flipX","flipY","signsX","signsY","defaultFilter","defaultExtent","local$$1","__brush","brush$1","dim","touchending","brush","handleSize","initialize","handle","redraw","started","emitter","Emitter","n0","n1","e0","e1","s0","s1","moving","lockX","lockY","metaKey","altKey","signX","signY","shifting","shiftKey","point0","emit","beforestart","moved","ended","move","point1","selection0","selection1","starting","pi$1","halfPi$1","tau$1","max$1","slice$2","constant$5","pi$2","tau$2","epsilon$1","tauEpsilon","Path","_x0","_y0","_x1","_y1","defaultSource","defaultTarget","defaultRadius","radius","defaultStartAngle","startAngle","defaultEndAngle","endAngle","moveTo","closePath","lineTo","quadraticCurveTo","bezierCurveTo","arcTo","x0","x21","y21","x01","y01","l01_2","x20","y20","l21_2","l20_2","l21","l01","acos","t01","t21","arc","a0","a1","ccw","cw","da","map$1","createObject","setObject","createMap","setMap","set$2","objectConverter","columns","dsv","reFormat","delimiterCode","parseRows","eol","EOL","EOF","I","formatRow","formatValue","customConverter","columnSet","inferColumns","formatRows","csv","csvParse","csvParseRows","csvFormat","csvFormatRows","tsv","tsvParse","tsvParseRows","tsvFormat","tsvFormatRows","constant$6","jiggle","tree","xm","ym","xp","yp","_root","leaf","_x","_y","Quad","defaultX","defaultY","quadtree","Quadtree","addAll","leaf_copy","treeProto","vx","vy","cover","xz","yz","visit","x3","y3","quads","retainer","removeAll","visitAfter","nodeById","x$1","y$1","prefixExponent","initialAngle","formatDecimal","toExponential","coefficient","exponent$1","formatRounded","formatTypes","toPrecision","formatSpecifier","specifier","FormatSpecifier","sign","comma","locale$1","identity$3","prefixes","formatLocale","locale","grouping","thousands","numerals","formatNumerals","newFormat","formatType","maybeSuffix","valuePrefix","valueSuffix","valueNegative","formatPrefix","defaultLocale","precisionFixed","precisionPrefix","precisionRound","adder","Adder","add$1","bv","av","epsilon$2","pi$3","halfPi$2","quarterPi","tau$3","degrees$1","radians","cos$1","sin$1","haversin","noop$1","streamGeometry","geometry","streamGeometryType","streamObjectType","Feature","FeatureCollection","Sphere","sphere","coordinates","MultiPoint","LineString","streamLine","MultiLineString","Polygon","streamPolygon","MultiPolygon","GeometryCollection","geometries","coordinate","lineStart","lineEnd","polygonStart","polygonEnd","lambda00","phi00","lambda0","cosPhi0","sinPhi0","geoStream","areaRingSum","areaSum","areaStream","areaRingStart","areaRingEnd","areaRing","areaPointFirst","areaPoint","lambda","phi","dLambda","sdLambda","adLambda","cosPhi","sinPhi","lambda0$1","phi0","lambda1","phi1","lambda2","lambda00$1","phi00$1","spherical","cartesian","cartesianDot","cartesianCross","cartesianAddInPlace","cartesianScale","vector","cartesianNormalizeInPlace","ranges","deltaSum","boundsStream","boundsPoint","boundsLineStart","boundsLineEnd","boundsRingPoint","boundsRingStart","boundsRingEnd","normal","inflection","phii","sign$$1","lambdai","antimeridian","angle","rangeCompare","rangeContains","W0","W1","X0","Y0","X1","Y1","Z1","X2","Y2","Z2","lambda00$2","phi00$2","z0","centroidStream","centroidPoint","centroidLineStart","centroidLineEnd","centroidRingStart","centroidRingEnd","centroidPointCartesian","centroidLinePointFirst","centroidLinePoint","centroidRingPointFirst","centroidRingPoint","cz","constant$7","rotationIdentity","rotateRadians","deltaLambda","deltaPhi","deltaGamma","rotationLambda","rotationPhiGamma","forwardRotationLambda","rotation","cosDeltaPhi","sinDeltaPhi","cosDeltaGamma","sinDeltaGamma","forward","circleStream","cosRadius","sinRadius","circleRadius","clipBuffer","rejoin","pointEqual","Intersection","clipPolygon","segments","compareIntersection","startInside","interpolate","clip","segment","link$1","isSubject","clipMax","clipMin","clipExtent","visible","corner","comparePoint","ca","polygon","ring","x__","y__","v__","x_","y_","v_","activeStream","bufferStream","clipStream","winding","polygonInside","cleanInside","ax","ay","clipLine","lambda0$2","sinPhi0$1","cosPhi0$1","sum$1","polygonContains","sinPhi1","cosPhi1","absDelta","phiArc","lengthSum","lengthStream","lengthPointFirst","lengthLineEnd","lengthPoint","cosDelta","length$1","object$1","containsObjectType","containsGeometry","containsGeometryType","containsPoint","containsLine","containsPolygon","ab","ringRadians","pointRadians","graticuleX","graticuleY","graticule","DX","DY","outline","extentMajor","extentMinor","stepMajor","stepMinor","x00","y00","x0$1","y0$1","identity$4","areaSum$1","areaRingSum$1","areaStream$1","areaRingStart$1","areaRingEnd$1","area","areaPointFirst$1","areaPoint$1","x0$2","y0$2","boundsStream$1","bounds","x00$1","y00$1","x0$3","y0$3","X0$1","Y0$1","Z0$1","X1$1","Y1$1","Z1$1","X2$1","Y2$1","Z2$1","centroidStream$1","centroidPoint$1","centroidLineStart$1","centroidLineEnd$1","centroidRingStart$1","centroidRingEnd$1","centroid","centroidPointFirstLine","centroidPointLine","centroidPointFirstRing","centroidPointRing","PathContext","_context","_radius","pointRadius","_line","_point","lengthRing","x00$2","y00$2","x0$4","y0$4","lengthSum$1","lengthStream$1","lengthPointFirst$1","lengthPoint$1","PathString","_string","circle$1","_circle","pointVisible","sink","rotatedStart","ringBuffer","ringSink","polygonStarted","pointRing","ringStart","ringEnd","pointLine","ringSegments","validSegment","clipAntimeridian","sign0","sign1","sinLambda0Lambda1","clipAntimeridianIntersect","transformer","TransformStream","fitExtent","projection","fitSize","cosMinDistance","resample","project","delta2","resampleLineTo","c0","c1","depth","phi2","dx2","dy2","dz","a00","b00","c00","resampleStream","ringPoint","resample$1","resampleNone","transformRadians","projectionMutator","projectAt","projectRotate","cacheStream","theta","preclip","postclip","projectResample","projectTransform","recenter","clipAngle","smallRadius","notHemisphere","intersect","two","n2","n2n2","n1n2","determinant","n1xn2","uu","polar","q1","v00","point2","clipCircle","conicProjection","parallels","conicEqualAreaRaw","sy0","cylindricalEqualAreaRaw","r0y","conicEqualArea","albers","azimuthalRaw","azimuthalInvert","sc","cc","azimuthalEqualAreaRaw","cxcy","azimuthalEquidistantRaw","mercatorRaw","mercatorProjection","reclip","tany","conicConformalRaw","cy0","fy","equirectangularRaw","conicEquidistantRaw","gy","nx","gnomonicRaw","scaleTranslate","kx","ky","tx","ty","orthographicRaw","stereographicRaw","transverseMercatorRaw","defaultSeparation","meanXReduce","maxYReduce","hierarchy","childs","Node","valued","defaultChildren","eachBefore","computeHeight","copyData","Node$2","eachAfter","aNodes","ancestors","bNodes","leastCommonAncestor","descendants","leaves","links","enclose","circles","encloseN","tail","shuffle$1","encloses","dr","L","circle","l2","l1","enclose1","r21","enclose2","r3","a2","a3","c3","enclose3","place","db","dc","intersects","distance2","Node$1","packEnclose","sj","sk","aa","ba","oa","ox","oy","constantZero","constant$8","defaultRadius$1","radiusLeaf","packChildren","translateChild","roundNode","treemapDice","preroot","ambiguous","defaultId","defaultParentId","parentId","defaultSeparation$1","nextLeft","nextRight","moveSubtree","wm","wp","nextAncestor","vim","TreeNode","treemapSlice","squarifyRatio","nodeValue","sumValue","newRatio","minRatio","alpha","beta","dice","squarify","resquarify","_squarify","cross$1","lexicographicOrder","computeUpperHullIndexes","indexes","slice$3","noabort","Queue","_size","_tasks","_data","_waiting","_active","_ended","_start","poke$1","start$1","maybeNotify","concurrency","defer","await","awaitAll","defaultSource$1","uniform","sourceRandomUniform","randomUniform","sourceRandomNormal","randomNormal","mu","sigma","logNormal","sourceRandomLogNormal","randomLogNormal","irwinHall","sourceRandomIrwinHall","randomIrwinHall","bates","sourceRandomBates","randomBates","exponential$1","sourceRandomExponential","randomExponential","mimeType","respond","hasResponse","XDomainRequest","onprogress","overrideMimeType","fixCallback","type$1","defaultMimeType","createRange","createContextualFragment","responseXML","dsv$1","request$$1","responseOf","csv$1","tsv$1","array$2","map$3","slice$4","implicit","ordinal","unknown","band","ordinalRange","range$$1","paddingInner","paddingOuter","rescale","pointish","constant$9","number$1","deinterpolateLinear","bimap","deinterpolate","d0","polymap","continuous","piecewise","deinterpolateClamp","reinterpolateClamp","linearish","nice","reinterpolate$1","pow10","powp","logp","log10","log2","reflect","raise$1","pow$1","t0$1","t1$1","newInterval","floori","offseti","millisecond","milliseconds","durationSecond$1","durationMinute$1","durationHour$1","durationDay$1","durationWeek$1","getHours","setHours","days","weekday","getDay","sunday","monday","tuesday","wednesday","thursday","friday","saturday","sundays","mondays","tuesdays","wednesdays","thursdays","fridays","saturdays","months","setFullYear","years","utcMinute","setUTCSeconds","utcMinutes","utcHour","setUTCMinutes","utcHours","utcDay","setUTCHours","setUTCDate","utcDays","utcWeekday","utcSunday","utcMonday","utcTuesday","utcWednesday","utcThursday","utcFriday","utcSaturday","utcSundays","utcMondays","utcTuesdays","utcWednesdays","utcThursdays","utcFridays","utcSaturdays","utcMonth","setUTCMonth","utcMonths","utcYear","setUTCFullYear","utcYears","localDate","M","utcDate","formatLocale$1","locale_dateTime","locale_date","locale_time","locale_periods","periods","locale_weekdays","locale_shortWeekdays","shortDays","locale_months","locale_shortMonths","shortMonths","periodRe","formatRe","periodLookup","formatLookup","weekdayRe","weekdayLookup","shortWeekdayRe","shortWeekdayLookup","monthRe","monthLookup","shortMonthRe","shortMonthLookup","formats","formatDayOfMonth","formatHour24","formatHour12","formatDayOfYear","formatMilliseconds","formatMonthNumber","formatMinutes","formatSeconds","formatWeekNumberSunday","formatWeekdayNumber","formatWeekNumberMonday","formatYear","formatFullYear","Z","formatZone","formatLiteralPercent","utcFormats","formatUTCDayOfMonth","formatUTCHour24","formatUTCHour12","formatUTCDayOfYear","formatUTCMilliseconds","formatUTCMonthNumber","formatUTCMinutes","formatUTCSeconds","formatUTCWeekNumberSunday","formatUTCWeekdayNumber","formatUTCWeekNumberMonday","formatUTCYear","formatUTCFullYear","formatUTCZone","parses","parseSpecifier","parseDayOfMonth","parseHour24","parseDayOfYear","parseMilliseconds","parseMonthNumber","parseMinutes","parseSeconds","parseWeekNumberSunday","parseWeekdayNumber","parseWeekNumberMonday","parseYear","parseFullYear","parseZone","parseLiteralPercent","pad","pads","newParse","newDate","day$$1","utcFormat","utcParse","locale$2","numberRe","percentRe","requoteRe","requote","getUTCMilliseconds","defaultLocale$1","timeFormat","timeParse","isoSpecifier","formatIso","parseIso","durationSecond","durationMinute","durationHour","durationDay","durationMonth","durationYear","date$1","number$2","calendar","year$$1","month$$1","week","hour$$1","minute$$1","second$$1","millisecond$$1","formatMillisecond","formatSecond","formatMinute","formatHour","formatDay","formatWeek","formatMonth","tickIntervals","tickInterval","category10","category20b","category20c","category20","cubehelix$3","warm","cool","rainbow","ramp","viridis","magma","inferno","plasma","constant$10","abs$1","atan2$1","cos$2","max$2","min$1","sin$2","sqrt$2","epsilon$3","pi$4","halfPi$3","tau$4","asin$1","arcInnerRadius","innerRadius","arcOuterRadius","outerRadius","arcStartAngle","arcEndAngle","arcPadAngle","padAngle","cornerTangents","rc","x11","y11","x10","y10","cx0","cx1","cy1","dx0","dy0","dx1","dy1","Linear","areaStart","areaEnd","curveLinear","x$3","y$3","x$$1","y$$1","curve","defined0","area$2","x0z","y0z","arealine","lineX0","lineY0","lineY1","lineX1","descending$1","identity$7","curveRadialLinear","curveRadial","Radial","_curve","radial","radialLine","slice$5","radialPoint","linkSource","linkTarget","link$2","link","argv","curveHorizontal","curveVertical","curveRadial$1","p2","p3","circle$2","draw","cross$2","tan30","tan30_2","diamond","kr","star","sqrt3","triangle","wye","symbols","noop$2","point$2","Basis","BasisClosed","_x2","_x3","_x4","_y2","_y3","_y4","BasisOpen","Bundle","_basis","_beta","bundle","point$3","Cardinal","tension","cardinal","CardinalClosed","_x5","_y5","cardinalClosed","CardinalOpen","cardinalOpen","point$4","_l01_a","_l01_2a","_l12_a","_l12_2a","_l23_a","_l23_2a","CatmullRom","_alpha","x23","y23","catmullRom","CatmullRomClosed","catmullRomClosed","CatmullRomOpen","catmullRomOpen","LinearClosed","sign$1","slope3","h0","h1","slope2","point$5","MonotoneX","MonotoneY","ReflectContext","Natural","controlPoints","_t0","py","Step","none$1","none$2","stackValue","ascending$2","sums","sum$2","constant$11","x$4","y$4","RedBlackTree","RedBlackNode","RedBlackRotateLeft","RedBlackRotateRight","RedBlackFirst","createEdge","edge","edges","setEdgeEnd","cells","halfedges","createBorderEdge","vertex","clipEdge","connectEdge","fm","lx","ly","rx","ry","fx","cellHalfedgeAngle","va","vb","cellHalfedgeStart","cellHalfedgeEnd","grandpa","uncle","sibling","firstCircle","circlePool","Circle","attachCircle","lArc","rArc","lSite","cSite","rSite","bx","by","epsilon2$2","ha","hc","detachCircle","beachPool","Beach","createBeach","beach","detachBeach","beaches","removeBeach","disappearing","epsilon$4","iArc","nArcs","addBeach","dxl","dxr","directrix","leftBreakPoint","rightBreakPoint","createCell","newArc","hb","rfocx","rfocy","pby2","lfocx","lfocy","plby2","hl","aby2","triangleArea","lexicographic","Diagram","sites","sortCellHalfedges","clipEdges","iCell","iHalfedge","nHalfedges","startX","startY","endX","endY","nCells","v01","v11","v10","clipCells","polygons","triangles","_found","constant$12","ZoomEvent","Transform","applyX","applyY","invertX","invertY","rescaleX","rescaleY","identity$8","transform$1","__zoom","nopropagation$2","noevent$2","defaultFilter$2","defaultExtent$1","SVGElement","defaultTransform","bisect","cross","values0","values1","descending","histogram","bin","bins","thresholds","thresholdFreedmanDiaconis","thresholdScott","thresholdSturges","median","permute","permutes","quantile","xi","xj","shuffle","zip","axisTop","axisRight","axisBottom","axisLeft","brushX","brushY","brushSelection","chord","sortGroups","sortSubgroups","sortChords","groupSums","subgroupIndex","chords","di","dj","subindex","ribbon","sr","sa0","sa1","sx0","tr","ta0","ta1","nest","sortValues","rollup","sortKeys","createResult","setResult","valuesByKey","sortKey","drag","mousedownx","mousedowny","mousemoving","gestures","clickDistance2","mousedowned","touchstarted","touchmoved","touchended","gesture","mousemoved","mouseupped","touches$$1","sublisteners","clickDistance","dragEnable","dsvFormat","easeLinear","easeQuad","easeQuadIn","easeQuadOut","easeQuadInOut","easeCubic","easeCubicIn","easeCubicOut","easeCubicInOut","easePoly","easePolyIn","easePolyOut","easePolyInOut","easeSin","easeSinIn","easeSinOut","easeSinInOut","easeExp","easeExpIn","easeExpOut","easeExpInOut","easeCircle","easeCircleIn","easeCircleOut","easeCircleInOut","easeBounce","easeBounceIn","easeBounceOut","easeBounceInOut","easeBack","easeBackIn","easeBackOut","easeBackInOut","easeElastic","easeElasticIn","easeElasticOut","easeElasticInOut","forceCenter","sx","sy","forceCollide","radii","strength","iterations","yi","ri","ri2","quad","rj","forceLink","strengths","distances","bias","initializeStrength","initializeDistance","forceManyBody","distanceMin2","distanceMax2","theta2","accumulate","distanceMin","distanceMax","forceSimulation","simulation","alphaMin","alphaDecay","alphaTarget","velocityDecay","forces","stepper","initializeNodes","initializeForce","forceX","forceY","formatDefaultLocale","geoArea","geoBounds","deltaMax","geoCentroid","geoCircle","geoClipExtent","geoContains","geoDistance","geoGraticule","geoGraticule10","geoInterpolate","sy1","kx0","ky0","kx1","ky1","geoLength","geoPath","projectionStream","contextStream","measure","geoAlbers","geoAlbersUsa","lower48Point","alaskaPoint","hawaiiPoint","lower48","alaska","hawaii","pointStream","albersUsa","streams","geoAzimuthalEqualArea","geoAzimuthalEqualAreaRaw","geoAzimuthalEquidistant","geoAzimuthalEquidistantRaw","geoConicConformal","geoConicConformalRaw","geoConicEqualArea","geoConicEqualAreaRaw","geoConicEquidistant","geoConicEquidistantRaw","geoEquirectangular","geoEquirectangularRaw","geoGnomonic","geoGnomonicRaw","geoIdentity","reflectX","reflectY","geoProjection","geoProjectionMutator","geoMercator","geoMercatorRaw","geoOrthographic","geoOrthographicRaw","geoStereographic","geoStereographicRaw","geoTransverseMercator","geoTransverseMercatorRaw","geoRotation","geoTransform","cluster","separation","nodeSize","previousNode","meanX","maxY","leafLeft","leafRight","packSiblings","partition","positionNode","stratify","nodeKey","nodeByKey","treeRoot","firstWalk","secondWalk","sizeNode","siblings","executeShifts","midpoint","vip","vop","vom","sip","sop","sim","som","apportion","treemap","tile","paddingStack","paddingBottom","paddingLeft","treemapBinary","valueOffset","valueTarget","valueLeft","valueRight","xk","yk","treemapSliceDice","treemapSquarify","treemapResquarify","interpolateArray","interpolateBasis","interpolateBasisClosed","interpolateDate","interpolateNumber","interpolateObject","interpolateRgbBasis","interpolateRgbBasisClosed","interpolateHsl","interpolateHslLong","interpolateLab","interpolateHcl","interpolateHclLong","interpolateCubehelix","interpolateCubehelixLong","quantize","interpolator","samples","polygonArea","polygonCentroid","polygonHull","sortedPoints","flippedPoints","upperIndexes","lowerIndexes","skipLeft","skipRight","hull","inside","polygonLength","perimeter","scaleBand","scalePoint","scaleIdentity","identity$6","linear$2","scaleLog","log$1","logs","pows","scaleImplicit","scalePow","scaleSqrt","scaleQuantile","quantile$$1","invertExtent","quantiles","scaleQuantize","quantize$1","scaleThreshold","threshold$1","scaleTime","scaleUtc","schemeCategory10","schemeCategory20b","schemeCategory20c","schemeCategory20","interpolateCubehelixDefault","interpolateRainbow","interpolateWarm","interpolateCool","interpolateViridis","interpolateMagma","interpolateInferno","interpolatePlasma","scaleSequential","sequential","cornerRadius","padRadius","a01","a11","a10","da0","da1","ap","rp","rc0","rc1","oc","x32","y32","kc","acos$1","lc","pie","arcs","pa","radialArea","lineStartAngle","lineEndAngle","lineInnerRadius","lineOuterRadius","linkHorizontal","linkVertical","linkRadial","symbolCircle","symbolCross","symbolDiamond","symbolSquare","symbolStar","symbolTriangle","symbolWye","curveBasisClosed","curveBasisOpen","curveBasis","curveBundle","curveCardinalClosed","curveCardinalOpen","curveCardinal","curveCatmullRomClosed","curveCatmullRomOpen","curveCatmullRom","curveLinearClosed","curveMonotoneX","curveMonotoneY","curveNatural","curveStep","curveStepAfter","curveStepBefore","oz","kz","sz","sij","ki","si","stackOffsetExpand","stackOffsetDiverging","yn","stackOffsetNone","stackOffsetSilhouette","stackOffsetWiggle","s2","sij0","s3","stackOrderAscending","stackOrderDescending","stackOrderInsideOut","tops","bottoms","stackOrderNone","stackOrderReverse","timeInterval","timeMillisecond","timeMilliseconds","utcMillisecond","utcMilliseconds","timeSecond","timeSeconds","utcSecond","utcSeconds","timeMinute","timeMinutes","timeHour","timeHours","timeDay","timeDays","timeWeek","timeWeeks","timeSunday","timeSundays","timeMonday","timeMondays","timeTuesday","timeTuesdays","timeWednesday","timeWednesdays","timeThursday","timeThursdays","timeFriday","timeFridays","timeSaturday","timeSaturdays","timeMonth","timeMonths","timeYear","timeYears","utcWeek","utcWeeks","timeFormatDefaultLocale","timeFormatLocale","isoFormat","isoParse","voronoi","zoom","touchstarting","k0","wheeled","dblclicked","constrain","transition$$1","Gesture","deltaY","deltaMode","wheel","touch0","touch1","dp","dl","collection","scaleBy","scaleTo","translateBy","scaleExtent","translateExtent","zoomTransform","zoomIdentity","redux_1","reducers_1","dragDrop_1","DragDropMonitorImpl_1","HandlerRegistryImpl_1","DragDropManagerImpl","createBackend","isSetUp","handleRefCountChange","shouldSetUp","refCount","backend","setup","teardown","getMonitor","getBackend","getRegistry","registry","getActions","manager","boundActions","matchesType_1","coords_1","dirtiness_1","invariant","DragDropMonitorImpl","subscribeToStateChange","handlerIds","prevStateId","stateId","currentStateId","areDirty","dirtyHandlerIds","subscribeToOffsetChange","dragOffset","canDragSource","sourceId","canDrag","canDropOnTarget","targetId","getTarget","targetType","getTargetType","draggedItemType","getItemType","canDrop","isDraggingSource","isSourcePublic","getSourceType","isOverTarget","shallow","targetIds","getTargetIds","dragOperation","itemType","getSourceId","getDropResult","dropResult","getInitialClientOffset","initialClientOffset","getInitialSourceClientOffset","initialSourceClientOffset","getClientOffset","clientOffset","getSourceClientOffset","getDifferenceFromInitialOffset","registry_1","getNextUniqueId_1","interfaces_1","contracts_1","parseRoleFromHandlerId","handlerId","HandlerRole","SOURCE","TARGET","mapContainsValue","searchValue","isDone","HandlerRegistryImpl","dragSources","dropTargets","pinnedSourceId","pinnedSource","addSource","validateType","validateSourceContract","addHandler","addTarget","validateTargetContract","containsHandler","includePinned","isSourceId","isTargetId","removeSource","removeTarget","pinSource","unpinSource","getNextHandlerId","types_1","sourceIds","publishSource","sourceIds_1","verifyInvariants","getDraggableSource","sourceClientOffset","verifyGetSourceClientOffsetIsFunction","verifyItemIsObject","BEGIN_DRAG","getDroppableTargets","verifyDropResultType","determineDropResult","DROP","verifyIsDragging","END_DRAG","targetIdsArg","verifyTargetIdsIsArray","checkInvariants","removeNonMatchingTargetIds","targetIds_1","hoverAllTargets","HOVER","initCoords_1","beginDrag_1","publishDragSource_1","hover_1","drop_1","endDrag_1","__export","initCoords","publishDragSource","getDragSourceId","determineSourceClientOffset","INIT_COORDS","PUBLISH_DRAG_SOURCE","ADD_SOURCE","ADD_TARGET","REMOVE_SOURCE","REMOVE_TARGET","allowArray","DragDropManagerImpl_1","createDragDropManager","equality_1","xor","prevTargetIds","areArraysEqual","prevInnermostTargetId","innermostTargetId","areCoordsEqual","without","dragOffset_1","dragOperation_1","refCount_1","dirtyHandlerIds_1","stateId_1","dirtyIds","strictEquality","offsetA","offsetB","nextUniqueId","PreviewManager","_objectAssign","__esModule","_classCallCheck","PreviewList","preview","previews","backendChanged","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","_default","sourceOptions","backends","removeEventListeners","connectBackend","_len2","_key2","_len3","_key3","previewEnabled","backendSwitcher","oldBackend","check","callBackend","newBackend","skipDispatchOnTransition","newEvent","_this2$backends$_this","arr2","_arrayWithoutHoles","iter","_iterableToArray","_nonIterableSpread","_this2$nodes$nodeId","_isMBTransition","MouseTransition","HTML5DragTransition","TouchTransition","_createTransition","_Transitions","_MultiBackend","_interopRequireWildcard","managerOrOptions","ReflectOwnKeys","ReflectApply","receiver","ownKeys","NumberIsNaN","EventEmitter","errorListener","removeListener","resolver","eventTargetAgnosticAddListener","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","_getMaxListeners","_addListener","newListener","warned","onceWrapper","fired","wrapFn","_onceWrap","wrapped","_listeners","evlistener","unwrapListeners","arrayClone","listenerCount","wrapListener","setMaxListeners","getMaxListeners","doError","er","prependListener","prependOnceListener","originalListener","spliceOne","removeAllListeners","rawListeners","reactIs","REACT_STATICS","contextType","contextTypes","defaultProps","getDefaultProps","getDerivedStateFromError","getDerivedStateFromProps","mixins","propTypes","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","$$typeof","TYPE_STATICS","getStatics","isMemo","ForwardRef","Memo","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","targetStatics","sourceStatics","isLE","mLen","eLen","eMax","eBias","nBits","rt","argIndex","framesToPop","ws","WebSocket","MozWebSocket","settings","caseSensitive","s1Matches","s2Matches","low","high","numTrans","weight","converter","defaults","escape","stringifiedAttributes","jar","getJSON","withConverter","InvalidCharacterError","atob","bc","b64DecodeUnicode","base64_url_decode","InvalidTokenError","getNative","hashClear","hashDelete","hashGet","hashHas","hashSet","Hash","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","ListCache","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","MapCache","setCacheAdd","setCacheHas","SetCache","stackClear","stackDelete","stackGet","stackHas","stackSet","Stack","iteratee","resIndex","baseIndexOf","baseTimes","isArguments","isIndex","isTypedArray","inherited","isArr","isArg","isBuff","isType","skipIndexes","baseAssignValue","eq","objValue","copyObject","keysIn","arrayEach","assignValue","baseAssign","baseAssignIn","cloneBuffer","copyArray","copySymbols","copySymbolsIn","getAllKeys","getAllKeysIn","getTag","initCloneArray","initCloneByTag","initCloneObject","isMap","isSet","argsTag","funcTag","objectTag","cloneableTags","baseClone","bitmask","customizer","isDeep","isFlat","isFunc","stacked","subValue","objectCreate","baseCreate","arrayIncludes","arrayIncludesWith","arrayMap","baseUnary","cacheHas","isCommon","computed","valuesIndex","fromRight","arrayPush","isFlattenable","baseFlatten","isStrict","baseFor","createBaseFor","castPath","toKey","keysFunc","symbolsFunc","getRawTag","objectToString","symToStringTag","toStringTag","baseFindIndex","baseIsNaN","strictIndexOf","nativeMin","othLength","othIndex","caches","seen","baseGetTag","isObjectLike","isMasked","toSource","reIsHostCtor","funcProto","objectProto","funcToString","reIsNative","isLength","typedArrayTags","isPrototype","nativeKeys","nativeKeysIn","isProto","assignMergeValue","baseMergeDeep","safeGet","baseMerge","srcIndex","srcValue","cloneTypedArray","isArrayLikeObject","toPlainObject","mergeFunc","isTyped","overRest","setToString","baseSetToString","isSymbol","symbolProto","symbolToString","baseToString","trimmedEndIndex","reTrimStart","createSet","setToArray","seenIndex","baseDifference","baseUniq","isKey","stringToPath","freeExports","nodeType","freeModule","cloneArrayBuffer","dataView","reFlags","regexp","symbolValueOf","typedArray","isNew","getSymbols","getSymbolsIn","coreJsData","baseRest","isIterateeCall","assigner","iterable","freeGlobal","baseGetAllKeys","isKeyable","baseIsNative","getPrototype","overArg","nativeObjectToString","isOwn","unmasked","arrayFilter","stubArray","nativeGetSymbols","mapTag","promiseTag","setTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","Ctor","ctorString","nativeCreate","cloneDataView","cloneRegExp","cloneSymbol","spreadableSymbol","isConcatSpreadable","reIsUint","isArrayLike","reIsDeepProp","reIsPlainProp","maskSrcKey","assocIndexOf","getMapData","memoize","freeProcess","nodeUtil","binding","nativeMax","otherArgs","freeSelf","shortOut","nativeNow","lastCalled","stamp","LARGE_ARRAY_SIZE","memoizeCapped","rePropName","reEscapeChar","quote","subString","reWhitespace","CLONE_DEEP_FLAG","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","maxing","trailing","invokeFunc","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","leadingEdge","propsIndex","propsLength","baseGet","baseIntersection","castArrayLikeObject","mapped","baseIsArguments","stubFalse","baseIsMap","nodeIsMap","objectCtorString","baseIsSet","nodeIsSet","baseIsTypedArray","nodeIsTypedArray","arrayLikeKeys","baseKeys","baseKeysIn","memoized","createAssigner","debounce","baseTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","isBinary","baseXor","staticMatch","dynamicMatch","Mql","forceStatic","evt","media","dispose","__WEBPACK_AMD_DEFINE_ARRAY__","abbrs","offsets","untils","population","_set","zones","toTimeString","at","abbr","zone","offsetScore","abbrScore","countries","dataVersion","_tzm","isMoment","_index","moveAmbiguousForward","moveInvalidForward","utcOffset","scoreOffsetAt","_zones","_links","_countries","zoneExists","didShowError","guess","Intl","DateTimeFormat","resolvedOptions","timeZone","unpack","unpackBase60","needsOffset","zonesForCountry","_z","defaultZone","updateOffset","_isUTC","zoneName","zoneAbbr","setDefault","momentProperties","defineLocale","monthsShort","weekdays","weekdaysShort","weekdaysMin","meridiemParse","isPM","meridiem","isLower","longDateFormat","LT","LTS","LL","LLL","LLLL","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","relativeTime","future","past","ss","hh","dd","MM","yy","dayOfMonthOrdinalParse","dow","doy","pluralForm","plurals","pluralize","withoutSuffix","isFuture","weekdaysParseExact","postformat","symbolMap","preparse","numberMap","suffixes","relativeTimeWithPlural","forms","standalone","isFormat","ww","lastDigit","last2Digits","meridiemHour","monthsShortRegex","monthsParseExact","relativeTimeWithMutation","mutationTable","softMutation","lastNumber","monthsParse","monthsRegex","minWeekdaysParse","weekdaysParse","fullWeekdaysParse","shortWeekdaysParse","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","ll","lll","llll","plural","processRelativeTime","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","mom","_calendarEl","monthsShortDot","invalidDate","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","eras","since","narrow","until","eraYearOrdinalRegex","eraYearOrdinalParse","$0","$1","$2","isUpper","ezafeNumSuffix","eifelerRegelAppliesToNumber","translateSingular","special","relativeTimeWithSingular","translator","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","relativeTimeWithSuffix","numbersNouns","numberNoun","hundred","ten","numberAsNoun","hm","processHoursFunction","nominative","accusative","genitive","webpackContext","webpackContextResolve","J","Ja","_pf","unusedTokens","unusedInput","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidOffset","invalidFormat","userInvalidated","iso","parsedDateParts","era","rfc2822","weekdayMismatch","invalidWeekday","_strict","bigHour","isFrozen","_isValid","V","K","_isAMomentObject","_offset","_locale","Q","suppressDeprecationWarnings","deprecationHandler","ee","ae","te","dates","isoweekdays","isoweekday","DDD","dayofyears","dayofyear","quarters","quarter","gg","weekyears","weekyear","GG","isoweekyears","isoweekyear","weeks","isoweeks","isoweek","isoWeekday","dayOfYear","weekYear","isoWeekYear","isoWeek","de","ie","localeData","oe","me","ue","le","Me","he","ce","fe","Le","Ye","ye","pe","ke","De","ge","Te","we","be","Se","He","parseTwoDigitYear","ve","je","Pe","xe","setUTCMilliseconds","setMilliseconds","setSeconds","setMinutes","Oe","We","Ae","Fe","Ee","ze","Ne","Je","Re","Ce","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","Ie","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","Ue","Ge","Ve","$e","qe","Be","Ke","Ze","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","Qe","Xe","ea","_relativeTime","ta","sa","ra","ia","ma","ua","la","Ma","_meridiemParse","_isPm","_meridiem","La","Ya","fa","_abbr","Da","ka","parentLocale","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","Ta","wa","Sa","Ha","ja","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","Pa","za","Wa","Oa","Aa","Fa","_isDefaultDatePartsForWeek","_getDefaultDateParts","Ea","_defaultDatePartsNow","hasValue","_week","_dayOfYear","_nextDay","_useUTC","ISO_8601","RFC_2822","erasConvertYear","Na","createFromInputFallback","Ra","Ca","Ia","_milliseconds","_days","_months","_bubble","Ua","Ga","Va","qa","$a","Ba","Ka","Za","Qa","Xa","et","tt","st","nt","ot","invalid","defaultFormat","defaultFormatUtc","mt","ut","Mt","ht","erasAbbrRegex","ct","_erasRegex","_erasNameRegex","_erasAbbrRegex","_erasNarrowRegex","Lt","Yt","erasNameRegex","erasNarrowRegex","erasParse","_eraYearOrdinalRegex","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","ft","kt","Dt","gt","calendarFormat","isUtc","humanize","fromNow","invalidAt","isBetween","isSame","isSameOrAfter","isSameOrBefore","lang","parsingFlags","isLocal","creationData","strict","eraName","eraNarrow","eraAbbr","eraYear","isLeapYear","isoWeeks","weeksInYear","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","_changeInProgress","hasAlignedHourOffset","isDST","isUtcOffset","isDSTShifted","_isDSTShifted","_calendar","_longDateFormat","_longDateFormatCache","formatUpper","_invalidDate","_ordinal","pastFuture","_eras","_monthsShort","_monthsParseExact","_monthsParse","_longMonthsParse","_shortMonthsParse","firstDayOfYear","firstDayOfWeek","_weekdays","_weekdaysMin","_weekdaysShort","_weekdaysParseExact","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","_fullWeekdaysParse","langData","Tt","wt","bt","St","Ht","vt","as","jt","xt","Pt","Ot","Wt","Ft","Et","zt","asSeconds","Nt","Jt","Gt","Rt","Ct","$t","It","Ut","asMilliseconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","At","toIsoString","isDuration","updateLocale","locales","normalizeUnits","relativeTimeRounding","relativeTimeThreshold","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","TIME_SECONDS","TIME_MS","WEEK","MONTH","Vt","qt","Bt","Kt","Zt","Qt","Xt","ns","rs","_s","os","us","ls","Ms","hs","cs","Ls","Ys","ps","ks","Ds","gs","Ts","Ss","Hs","vs","js","xs","Ps","Os","Ws","As","Fs","Es","zs","Ns","Js","Rs","Cs","Is","Us","Gs","Vs","$s","qs","Bs","Ks","Zs","Qs","Xs","en","an","sn","tn","nn","rn","dn","_n","mn","un","ln","Mn","hn","cn","Ln","Yn","pn","kn","Dn","gn","Tn","wn","bn","Sn","Hn","vn","jn","xn","Pn","On","Wn","An","Fn","En","zn","Nn","Jn","Rn","Cn","In","Un","Gn","Vn","$n","qn","hookCallback","hasOwnProp","isUndefined","isNumber","arrLen","createUTC","createLocalOrUTC","getParsingFlags","isValid$2","parsedParts","isNowValid","createInvalid$1","fun","updateInProgress","copyConfig","momentPropertiesLen","Moment","deprecate","firstTime","argLen","deprecations","deprecateSimple","aliases","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","zeroFill","targetLength","forceSign","absNumber","zerosToFill","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","removeFormattingTokens","formatMoment","expandFormat","makeFormatFunction","replaceLongDateFormatTokens","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","match1to2NoLeadingZero","match1to2HasZero","addRegexToken","strictRegex","getParseRegexForToken","regexEscape","matched","p4","absFloor","toInt","argumentForCoercion","coercedNumber","tokens","addParseToken","tokenLen","addWeekParseToken","addTimeToArrayFromToken","YEAR","HOUR","MINUTE","SECOND","MILLISECOND","WEEKDAY","daysInYear","getSetYear","makeGetSet","keepTime","get$2","modMonth","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","monthsParseProperties","handleStrictParse$1","monthName","ii","llc","getSetMonth","computeMonthsParse","cmpLenRev","shortP","longP","shortPieces","longPieces","mixedPieces","shiftWeekdays","weekdayEnd","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","weekdaysParseProperties","handleStrictParse","weekdayName","computeWeekdaysParse","minp","shortp","longp","minPieces","mergeConfigs","parentConfig","childConfig","Locale","relativeTimeWithoutPostformat","pastFutureWithoutPostformat","createDate","createUTCDate","firstWeekOffset","fwd","dayOfYearFromWeeks","resYear","resDayOfYear","weekOfYearFromDayOfYear","resWeek","weekOffset","weekOfYear","weekOfYearFromDate","weekOffsetNext","hFormat","lowercase","matchMeridiem","kInput","pos1","pos2","getSetHour","globalLocale","baseConfig","localeFamilies","commonPrefix","arr1","minl","normalizeLocale","loadLocale","normalizedName","oldLocale","isLocaleNameSane","getSetGlobalLocale","getLocale","chooseLocale","checkOverflow","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","configFromISO","allowTime","dateFormat","tzFormat","isoDatesLen","isoTimesLen","configFromStringAndFormat","untruncateYear","yearStr","configFromRFC2822","parsedArray","monthStr","dayStr","hourStr","minuteStr","secondStr","weekdayStr","parsedInput","checkWeekday","obsOffset","militaryOffset","numOffset","calculateOffset","currentDateArray","forWeek","hadWeekContext","weekContext","configFromArray","currentDate","expectedWeekday","yearToUse","dateIsDefaulted","currentDateNow","weekdayOverflow","curWeek","dayOfYearFromWeekInfo","skipped","stringLength","totalParsedInputLength","isPm","meridiemFixWrap","prepareConfig","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","defaultDatePartsNow","configfLen","configFromStringAndArray","configFromString","dayOrDate","configFromObject","configFromInput","createLocal","useWeekDefaults","nowValue","prototypeMin","prototypeMax","pickBy","moments","ordering","Duration","unitHasDecimal","orderLen","isDurationValid","absRound","offsetFromString","chunkOffset","cloneWithOffset","model","getDateOffset","aspNetRegex","isoRegex","createDuration","diffRes","positiveMomentsDifference","inp","createAdder","addSubtract$1","isAdding","subtract$1","isMomentInput","arrayTest","dataTypeTest","isNumberOrStringArray","objectTest","propertyTest","propertyLen","isMomentInputObject","monthDiff","wholeMonthDiff","newLocaleData","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","dividend","localStartOfDate","utcStartOfDate","matchEraAbbr","computeErasParse","erasName","erasAbbr","erasNarrow","abbrPieces","namePieces","narrowPieces","addWeekYearFormatToken","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","getSetDayOfMonth","getSetMinute","getSetMillisecond","getSetSecond","parseMs","proto$2","preParsePostFormat","isCalendarSpec","sod","asFloat","zoneDelta","startOfDate","inputString","localInput","inclusivity","localFrom","localTo","inputMs","prioritized","unitsObj","getPrioritizedUnits","prioritizedLen","keepOffset","weekInfo","parseWeekday","parseIsoWeekday","keepLocalTime","keepMinutes","localAdjust","tZone","array1","array2","lengthDiff","diffs","compareArrays","proto$1","setter","listMonthsImpl","listWeekdaysImpl","localeSorted","formatCache","tok","clearMonthsParseCache","clearWeekdaysParseCache","mathAbs","addSubtract","absCeil","daysToMonths","monthsToDays","makeAs","alias","makeGetter","substituteTimeAgo","posNegDuration","totalSign","ymSign","daysSign","hmsSign","monthsFromDays","argWithSuffix","argThresholds","withSuffix","th","tmpLocale","roundingFunction","myMoment","VAL32","_HEX","Int64","MAX_INT","MIN_INT","_2scomp","carry","allowImprecise","radix","toOctetString","sep","toBuffer","rawBuffer","targetBuffer","targetOffset","CryptoJS","subtype","C_lib","lib","overrides","mixIn","$super","propertyName","Hex","thisWords","thatWords","thisSigBytes","thatSigBytes","thatByte","C_enc","hexStrLength","Latin1","latin1Chars","latin1Str","latin1StrLength","Utf8","utf8Str","unescape","BufferedBlockAlgorithm","_nDataBytes","_append","_process","doFlush","processedWords","dataWords","dataSigBytes","blockSize","nBlocksReady","nWordsReady","_minBufferSize","nBytesReady","_doProcessBlock","C_algo","Hasher","cfg","_doReset","messageUpdate","finalize","_doFinalize","_createHelper","hasher","_createHmacHelper","HMAC","algo","Base64url","urlSafe","_safe_map","_map","base64Chars","triplet","paddingChar","base64Str","base64StrLength","reverseMap","_reverseMap","paddingIndex","bitsCombined","parseLoop","superInit","subInit","Int8Array","Uint8ClampedArray","Int16Array","Uint16Array","Float32Array","Float64Array","typedArrayByteLength","isPrime","sqrtN","getFractionalBits","nPrime","SHA256","_hash","gamma0x","gamma0","gamma1x","gamma1","maj","sigma0","nBitsTotal","nBitsLeft","HmacSHA256","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","propFullName","getShim","ReactPropTypes","bigint","bool","any","arrayOf","elementType","instanceOf","objectOf","oneOf","oneOfType","exact","checkPropTypes","PropTypes","bootstrap","hasStacks","qFileName","qStartingLine","captureLine","nextTick","flushing","requestTick","isNodeJS","laterQueue","runSingle","setImmediate","MessageChannel","port1","onmessage","requestPortTick","port2","postMessage","runAfter","uncurryThis","QReturnValue","array_slice","array_reduce","array_indexOf","array_map","thisp","collect","object_create","object_defineProperty","object_hasOwnProperty","object_keys","object_toString","makeStackTraceLong","stacks","__minimumStackCounter__","stackCounter","stackString","desiredLines","isInternalFrame","isNodeFrame","filterStackString","stackLine","getFileNameAndLineNumber","attempt1","attempt2","attempt3","fileNameAndLineNumber","qEndingLine","isPromiseAlike","coerce","fulfill","ReturnValue","longStackSupport","longStackCounter","resolvedPromise","messages","progressListeners","promiseDispatch","operands","nearerValue","nearer","isPromise","become","newPromise","progress","progressListener","answerPs","fallback","inspected","when","progressed","Q_DEBUG","makeNodeResolver","passByCopy","spread","makePromise","_fulfilled","newException","_rejected","threw","_progressed","tap","fcall","thenResolve","thenReject","unhandledReasons","unhandledRejections","reportedUnhandledRejections","trackUnhandledRejections","resetUnhandledRejections","atReport","untrackRejection","trackRejection","rhs","promises","pendingCount","snapshot","allResolved","getUnhandledReasons","stopUnhandledRejectionTracking","master","isDef","makeGenerator","continuer","StopIteration","errback","isStopIteration","spawn","promised","del","mapply","mcall","invoke","fapply","fbind","allSettled","regardless","fail","fin","onUnhandledError","nfapply","nodeArgs","nfcall","nfbind","denodeify","baseArgs","nbind","nmapply","npost","nsend","nmcall","ninvoke","nodeify","nodeback","noConflict","maxKeys","kstr","vstr","stringifyPrimitive","isFirefox","isSafari","safari","EnterLeaveCounter","isNodeInDocument","entered","enteringNode","previousLength","leave","leavingNode","EnterLeaveCounter_1","BrowserDetector_1","OffsetUtils_1","NativeDragSources_1","NativeTypes","HTML5Backend","sourcePreviewNodes","sourcePreviewNodeOptions","sourceNodes","sourceNodeOptions","dragStartSourceIds","dropTargetIds","dragEnterTargetIds","currentNativeSource","currentNativeHandle","currentDragSourceNode","altKeyPressed","mouseMoveTimeoutTimer","asyncEndDragFrameId","dragOverTargetIds","getNodeClientOffset","endDragNativeItem","isDraggingNativeItem","endDragIfSourceWasRemovedFromDOM","clearCurrentDragSourceNode","handleTopDragStartCapture","handleTopDragStart","getEventClientOffset","dataTransfer","nativeType","matchNativeItemType","setDragImage","sourceNode","getCurrentSourcePreviewNodeOptions","anchorPoint","anchorX","anchorY","offsetPoint","dragPreviewOffset","getDragPreviewOffset","setData","setCurrentDragSourceNode","captureDraggingState","beginDragNativeItem","hasAttribute","handleTopDragEndCapture","handleTopDragEnterCapture","enterLeaveCounter","handleTopDragEnter","dropEffect","getCurrentDropEffect","handleTopDragOverCapture","handleTopDragOver","handleTopDragLeaveCapture","handleTopDropCapture","mutateItemByReadingDataTransfer","handleTopDrop","handleSelectStart","dragDrop","isContentEditable","__isReactDndBackendSetUp","cancelAnimationFrame","handleDragStart","handleDragEnter","handleDragOver","handleDrop","getCurrentSourceNodeOptions","SourceType","createNativeDragSource","MonotonicInterpolant","dys","dxs","c1s","mNext","dxNext","common","c2s","c3s","invDx","xHere","diffSq","getDataFromDataTransfer","typesToTry","resultSoFar","typeToTry","nativeTypesConfig","FILE","exposeProperty","matchesTypes","TEXT","NativeDragSource","dataTransferTypes","nativeItemType","MonotonicInterpolant_1","isImage","nodeName","dragPreviewNodeOffsetFromClient","offsetFromDragPreview","sourceWidth","sourceHeight","dragPreviewWidth","dragPreviewHeight","devicePixelRatio","getDragPreviewSize","isManualOffsetY","emptyImage","Image","HTML5Backend_1","getEmptyImage_1","getEmptyImage","_reactDndHtml5Backend","_interopRequireDefault","_reactDndTouchBackend","_dndMultiBackend","enableMouseEvents","_react","_propTypes","_reactDndPreview","_defineProperties","_assertThisInitialized","ReferenceError","_PureComponent","_possibleConstructorReturn","protoProps","subClass","superClass","_inherits","PureComponent","_Preview","_class","_class2","DragLayer","currentOffset","_dec","WebkitTransform","getStyle","isTouchEvent","getEventClientTouchOffset","eventShouldStartDrag","elementsFromPoint","msElementsFromPoint","msElements","elements","previousPointerEvents","elementFromPoint","getPropertyPriority","supportsPassive","supported","contextmenu","keydown","TouchBackend","handleTopMoveStartCapture","moveStartSourceIds","handleMoveStart","handleTopMoveStart","_mouseClientOffset","waitingForDelay","handleTopMoveStartDelay","delayTouchStart","delayMouseStart","handleTopMoveCapture","handleMove","handleTopMove","enableHoverOutsideTarget","_isScrolling","angleRanges","inAngleRanges","scrollAngleRanges","touchSlop","installSourceNodeRemovalObserver","dragOverTargetNodes","targetNodes","elementsAtPoint","getDropTargetElementsAtPoint","elementsAtPointExtended","currentNode","orderedDragOverTargetIds","handleTopMoveEndCapture","eventShouldEndDrag","uninstallSourceNodeRemovalObserver","handleCancelOnEscape","enableTouchEvents","enableKeyboardEvents","ignoreContextMenu","targetNodeOptions","listenerTypes","getTopMoveStartHandler","listenerType","coords","droppedOn","childMatch","draggedSourceNode","draggedSourceNodeRemovalObserver","resurrectSourceNode","childList","optionsOrManager","touchBackendFactory","isDragDropManager","dnd_core_1","checkDecoratorArguments_1","hoistStatics","isClassComponent","createChildContext","dragDropManager","Consumer","createContext","DragDropContextProvider","contextValue","DragDropContext","backendFactory","backendContext","childContext","DecoratedComponent","Decorated","DragDropContextContainer","createRef","getDecoratedComponentInstance","getManager","Component","DragDropContext_1","shallowEqual","arePropsEqual","DragLayerContainer","isCurrentlyMounted","getCurrentState","unsubscribeFromOffsetChange","unsubscribeFromStateChange","receiveDragDropManager","decorateHandler_1","registerSource_1","createSourceFactory_1","createSourceMonitor_1","createSourceConnector_1","isValidType_1","spec","createSource","containerDisplayName","createHandler","registerHandler","createMonitor","createConnector","registerTarget_1","createTargetFactory_1","createTargetMonitor_1","createTargetConnector_1","createTarget","wrapConnectorHooks_1","currentHandlerId","currentDragSourceOptions","disconnectCurrentDragSource","currentDragPreviewNode","currentDragPreviewOptions","disconnectCurrentDragPreview","reconnectDragSource","reconnectDragPreview","receiveHandlerId","react_1","ALLOWED_SPEC_METHODS","REQUIRED_SPEC_METHODS","SourceImpl","receiveProps","globalMonitor","isCallingCanDrag","isCallingIsDragging","SourceMonitor","internalMonitor","currentDropTargetNode","currentDropTargetOptions","disconnectCurrentDropTarget","reconnectDropTarget","TargetImpl","receiveMonitor","isCallingCanDrop","TargetMonitor","disposables_1","DragDropContainer","disposable","SerialDisposable","getHandlerId","currentType","receiveType","handlerMonitor","handlerConnector","setDisposable","CompositeDisposable","Disposable","DragLayer_1","DragSource_1","DropTarget_1","functionName","signature","newRef","previousRef","cloneElement","disposables","isDisposed","shouldDispose","currentDisposables","isDisposable","_fixup","getDisposable","isValidType","cloneWithRef_1","wrappedHooks","hook","wrappedHook","elementOrNode","isValidElement","throwIfCompositeComponentElement","acceptsBooleans","attributeNamespace","mustUseProperty","sanitizeURL","removeEmptyString","xlinkHref","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","prepareStackTrace","_payload","_valueTracker","stopTracking","defaultChecked","_wrapperState","initialChecked","initialValue","controlled","bb","eb","defaultSelected","gb","dangerouslySetInnerHTML","ib","jb","kb","lb","mb","MSApp","execUnsafeLocalFunction","ob","lastChild","pb","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","lineClamp","lineHeight","orphans","tabSize","widows","floodOpacity","stopOpacity","strokeDashoffset","strokeMiterlimit","strokeOpacity","qb","rb","sb","tb","menuitem","br","col","embed","hr","img","keygen","wbr","ub","srcElement","correspondingUseElement","zb","Ab","Bb","Cb","stateNode","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","Mb","Nb","onError","Ob","Pb","Qb","Rb","Sb","Tb","Vb","alternate","Wb","memoizedState","dehydrated","Xb","Zb","Yb","$b","ac","unstable_scheduleCallback","unstable_cancelCallback","unstable_shouldYield","unstable_requestPaint","unstable_now","ec","unstable_getCurrentPriorityLevel","fc","unstable_ImmediatePriority","gc","unstable_UserBlockingPriority","unstable_NormalPriority","ic","unstable_LowPriority","jc","unstable_IdlePriority","clz32","qc","tc","uc","pendingLanes","suspendedLanes","pingedLanes","entangledLanes","entanglements","vc","xc","yc","zc","Ac","eventTimes","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Jc","Kc","Lc","Mc","Nc","Oc","Pc","Qc","Rc","Sc","pointerId","Tc","nativeEvent","blockedOn","domEventName","eventSystemFlags","targetContainers","Vc","Wc","isDehydrated","containerInfo","Xc","Yc","Zc","$c","ad","bd","cd","ReactCurrentBatchConfig","ed","fd","gd","hd","Uc","jd","kd","ld","md","nd","od","charCode","pd","rd","_reactName","_targetInst","isDefaultPrevented","defaultPrevented","isPropagationStopped","cancelBubble","persist","isPersistent","wd","xd","yd","sd","eventPhase","td","ud","vd","Ad","screenX","screenY","ctrlKey","getModifierState","zd","fromElement","toElement","movementX","movementY","Bd","Dd","Fd","Hd","animationName","elapsedTime","pseudoElement","Id","clipboardData","Jd","Ld","Md","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","Nd","Od","Alt","Control","Meta","Shift","Pd","Rd","Td","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Vd","Xd","Yd","deltaX","wheelDeltaX","wheelDeltaY","wheelDelta","deltaZ","Zd","$d","documentMode","datetime","tel","oninput","detachEvent","attachEvent","HTMLIFrameElement","contentEditable","focusedElem","selectionRange","selectionStart","selectionEnd","getSelection","rangeCount","anchorNode","anchorOffset","focusNode","focusOffset","setStart","removeAllRanges","addRange","setEnd","animationend","animationiteration","animationstart","transitionend","animation","af","bf","cf","df","ef","ff","gf","hf","lf","mf","nf","Ub","of","pf","qf","rf","tf","uf","parentWindow","vf","wf","xf","yf","zf","Af","Bf","Cf","Df","Ef","__html","Ff","Gf","Hf","Jf","If","Kf","Lf","Mf","Nf","Of","Pf","Qf","Rf","Sf","Tf","Uf","Vf","Wf","Xf","Yf","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","Zf","$f","ag","cg","__reactInternalMemoizedMergedChildContext","dg","eg","fg","hg","jg","kg","lg","mg","ng","og","pg","rg","sg","tg","ug","vg","wg","xg","yg","zg","Ag","Bg","deletions","Cg","pendingProps","treeContext","retryLane","Dg","Eg","Fg","Gg","memoizedProps","Hg","Ig","Jg","Kg","Lg","Mg","Ng","Og","Pg","Qg","Rg","_currentValue","Sg","childLanes","Tg","dependencies","firstContext","lanes","Ug","Vg","memoizedValue","Wg","Xg","Yg","interleaved","Zg","$g","ah","updateQueue","baseState","firstBaseUpdate","lastBaseUpdate","effects","bh","ch","lane","dh","eh","fh","gh","ih","jh","refs","kh","nh","isMounted","_reactInternals","enqueueSetState","lh","mh","enqueueReplaceState","enqueueForceUpdate","oh","isPureReactComponent","ph","updater","qh","componentWillReceiveProps","rh","getSnapshotBeforeUpdate","componentWillMount","_owner","_stringRef","uh","vh","wh","yh","implementation","zh","Ah","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","revealOrder","Nh","Oh","_workInProgressVersionPrimary","Ph","ReactCurrentDispatcher","Qh","Rh","Sh","Th","Uh","Vh","Wh","Xh","Yh","Zh","$h","ai","ci","baseQueue","ei","fi","lastRenderedReducer","hasEagerState","eagerState","lastRenderedState","gi","ji","getSnapshot","li","ni","lastEffect","stores","oi","qi","destroy","deps","ti","ui","vi","wi","zi","Ai","Bi","Ci","Di","Ei","Fi","Gi","Hi","Ii","Ji","readContext","useContext","useImperativeHandle","useInsertionEffect","useReducer","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","identifierPrefix","Ki","Li","Mi","Ni","Oi","Pi","Qi","Ri","componentDidCatch","Si","Ti","pingCache","Ui","Vi","Wi","Xi","ReactCurrentOwner","Yi","Zi","aj","bj","cj","ej","baseLanes","cachePool","transitions","fj","gj","hj","ij","jj","componentWillUpdate","kj","lj","pendingContext","mj","Aj","Cj","Dj","nj","oj","pj","qj","tj","dataset","dgst","uj","vj","_reactRetry","subtreeFlags","wj","isBackwards","rendering","renderingStartTime","tailMode","yj","Ej","Fj","Gj","wasMultiple","suppressHydrationWarning","onclick","Hj","Ij","Jj","Kj","Lj","Mj","Nj","Oj","Qj","Rj","Sj","Tj","Uj","Vj","Wj","_reactRootContainer","Xj","Yj","Zj","ak","onCommitFiberUnmount","bk","ck","dk","ek","fk","isHidden","gk","hk","ik","jk","kk","lk","__reactInternalSnapshotBeforeUpdate","Wk","mk","nk","pk","qk","rk","tk","uk","vk","wk","zk","Bk","Ck","Dk","Ek","callbackNode","expirationTimes","expiredLanes","wc","callbackPriority","ig","Fk","Gk","Hk","Ik","Jk","Kk","Lk","Mk","Nk","Ok","Pk","finishedWork","finishedLanes","Qk","Rk","Sk","Tk","Uk","Vk","mutableReadLanes","Bc","onCommitFiberRoot","mc","onRecoverableError","Xk","onPostCommitFiberRoot","Yk","Zk","al","isReactComponent","pendingChildren","mutableSourceEagerHydrationData","cl","pendingSuspenseBoundaries","fl","gl","jl","zj","$k","ml","_internalRoot","nl","ol","pl","ql","sl","rl","unmount","unstable_scheduleHydration","tl","usingClientEntryPoint","Events","ul","findFiberByHostInstance","bundleType","rendererPackageName","vl","rendererConfig","overrideHookState","overrideHookStateDeletePath","overrideHookStateRenamePath","overrideProps","overridePropsDeletePath","overridePropsRenamePath","setErrorHandler","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","reconcilerVersion","__REACT_DEVTOOLS_GLOBAL_HOOK__","wl","supportsFiber","createRoot","unstable_strictMode","findDOMNode","flushSync","hydrate","hydrateRoot","hydratedSources","_getVersion","_source","unmountComponentAtNode","unstable_batchedUpdates","unstable_renderSubtreeIntoContainer","checkDCE","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","Lazy","Portal","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","getBatch","ContextKey","gT","_gT$ContextKey","contextMap","realContext","ReactReduxContext","createReduxContextHook","useReduxContext_useReduxContext","notInitialized","useSyncExternalStoreWithSelector","refEquality","createSelectorHook","useReduxContext","equalityFnOrOptions","equalityFn","stabilityCheck","noopCheck","getServerState","globalStabilityCheck","globalNoopCheck","wrappedSelector","selectedState","addNestedSub","pureFinalPropsSelectorFactory","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","mergedProps","hasRunAtLeastOnce","nextOwnProps","propsChanged","stateChanged","dependsOnOwnProps","nextStateProps","statePropsChanged","handleNewState","handleSubsequentCalls","wrapMapToPropsConstant","getConstant","constantSelector","getDependsOnOwnProps","mapToProps","wrapMapToPropsFunc","stateOrDispatch","createInvalidArgFactory","wrappedComponentName","defaultMergeProps","esm_extends","nullListeners","createSubscription","parentSub","subscriptionsAmount","selfSubscribed","handleChangeWrapper","onStateChange","trySubscribe","isSubscribed","createListenerCollection","tryUnsubscribe","cleanupListener","removed","notifyNestedSubs","getListeners","objA","objB","keysA","keysB","connect_excluded","NO_SUBSCRIPTION_ARRAY","captureWrapperProps","lastWrapperProps","lastChildProps","renderIsScheduled","wrapperProps","childPropsFromStoreUpdate","strictEqual","components_connect","pure","areMergedPropsEqual","Context","initMapStateToProps","mapStateToPropsFactory","initMapDispatchToProps","boundActionCreators","bindActionCreators","mapDispatchToPropsFactory","initMergeProps","hasRunOnce","nextMergedProps","wrapMergePropsFunc","mergePropsFactory","shouldHandleStateChanges","WrappedComponent","selectorFactoryOptions","ConnectFunction","propsContext","reactReduxForwardedRef","objectWithoutPropertiesLoose","ContextToUse","react_is","didStoreComeFromProps","didStoreComeFromContext","childPropsSelector","finalPropsSelectorFactory","overriddenContextValue","latestSubscriptionCallbackError","actualChildPropsSelector","subscribeForReact","reactListener","additionalSubscribeListener","didUnsubscribe","lastThrownError","checkForUpdates","latestStoreState","newChildProps","subscribeUpdates","effectFunc","effectArgs","actualChildProps","renderedWrappedComponent","Connect","memo","forwarded","hoist_non_react_statics_cjs_default","components_Provider","serverState","createStoreHook","useStore_useStore","createDispatchHook","newBatch","with_selector","initializeConnect","react_dom","uppercasePattern","msPattern","toHyphenLower","hyphenate_style_name","hName","stringOrNumber","prop_types_default","aural","braille","handheld","print","tty","tv","embossed","deviceAspectRatio","deviceHeight","deviceWidth","colorIndex","monochrome","featureMatchers","minAspectRatio","maxAspectRatio","minDeviceAspectRatio","maxDeviceAspectRatio","minHeight","minDeviceHeight","maxDeviceHeight","minDeviceWidth","maxDeviceWidth","minColor","maxColor","minColorIndex","maxColorIndex","minMonochrome","maxMonochrome","minResolution","maxResolution","mq","hyphenateKeys","useIsUpdate","getQuery","rules","realKey","keyVal","toQuery","makeQuery","setQuery","newQuery","useMediaQuery","deviceSettings","deviceFromProps","deviceFromContext","setDevice","newDevice","aKeys","bKeys","shallowEqualObjects","useDevice","getMatchMedia","matchmediaquery_default","setMq","isUpdate","newMq","useMatchMedia","setMatches","updateMatches","ev","useMatches","replaceClassName","origClass","classToRemove","removeClass","_React$Component","appliedClasses","onEnter","maybeNode","maybeAppearing","_this$resolveArgument","resolveArguments","appearing","removeClasses","addClass","onEntering","_this$resolveArgument2","onEntered","_this$resolveArgument3","onExit","onExiting","onExited","nodeRef","getClassNames","isStringClassNames","baseClassName","activeClassName","doneClassName","inheritsLoose","phase","reflow","_addClass","_this$appliedClasses$","_this$props","esm_CSSTransition","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","initialStatus","isMounting","appearStatus","in","unmountOnExit","mountOnEnter","nextCallback","prevState","updateStatus","nextStatus","cancelNextCallback","getTimeouts","mounting","performEnter","performExit","timeouts","enterTimeout","safeSetState","onTransitionEnd","setNextCallback","doesNotHaveTimeoutOrListener","addEndListener","maybeNextCallback","childProps","TransitionGroupContext","Children","only","esm_Transition","getChildMapping","mapFn","mapper","getProp","getNextChildMapping","prevChildMapping","nextChildMapping","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","handleExited","firstRender","mounted","currentChildMapping","childFactory","esm_TransitionGroup","__WEBPACK_DEFAULT_EXPORT__","forceReflow","__self","__source","jsx","jsxs","_status","_currentValue2","_threadCount","_defaultValue","_globalName","createFactory","lazy","startTransition","unstable_act","createThunkMiddleware","_defineProperty","toPropertyKey","_objectSpread2","formatProdErrorMessage","$$observable","randomString","REPLACE","PROBE_UNKNOWN_ACTION","enhancer","currentReducer","currentListeners","nextListeners","isDispatching","ensureCanMutateNextListeners","replaceReducer","nextReducer","outerSubscribe","observeState","reducerKeys","finalReducers","shapeAssertionError","finalReducerKeys","assertReducerShape","hasChanged","previousStateForKey","nextStateForKey","bindActionCreator","funcs","middlewares","_dispatch","middlewareAPI","chain","NOT_FOUND","defaultEqualityCheck","defaultMemoize","equalityCheckOrOptions","providedOptions","equalityCheck","_providedOptions$equa","_providedOptions$maxS","maxSize","resultEqualityCheck","createCacheKeyComparator","put","cacheIndex","createLruCache","matchingEntry","clearCache","createSelectorCreator","memoizeOptionsFromArgs","_lastResult","_recomputations","directlyPassedOptions","memoizeOptions","resultFunc","_directlyPassedOption2","finalMemoizeOptions","dep","dependencyTypes","getDependencies","memoizedResultFunc","recomputations","resetRecomputations","createSelector","sortIndex","expirationTime","priorityLevel","scheduling","isInputPending","unstable_Profiling","unstable_continueExecution","unstable_forceFrameRate","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_runWithPriority","unstable_wrapCallback","compareContext","bHasOwnProperty","valueA","valueB","POW_8","POW_16","POW_24","POW_32","POW_40","POW_48","POW_52","POW_1022","readByte","readI16","buff","writeI16","signed","TBinaryProtocol","VERSION_MASK","VERSION_1","trans","strictRead","strictWrite","TYPE_MASK","writeByte","setCurrSeqId","ktype","vtype","etype","i32","i64","dub","writeStringOrBinary","readMessageBegin","BAD_VERSION","fname","NEGATIVE_SIZE","getTransport","BYTE","I16","mapBegin","setBegin","i2","listBegin","i3","wsConnection","WSConnection","createWSConnection","createWSClient","xhrConnection","XHRConnection","createXHRConnection","createXHRClient","mpxProtocol","Multiplexer","TBufferedTransport","TFramedTransport","TWebSocketTransport","Protocol","TJSONProtocol","TCompactProtocol","InputBufferUnderrunError","THeaderTransport","defaultReadBufferSize","writeBufferSize","inBuf","readCursor","writeCursor","outBuffers","outCount","onFlush","commitPosition","unreadSize","bufSize","rollbackPosition","ensureAvailable","borrow","readIndex","writeIndex","consume","bytesConsumed","lastField_","lastFieldId_","string_limit_","string_buf_","string_buf_size_","container_limit_","booleanField_","hasBoolValue","boolValue_","boolValue","PROTOCOL_ID","VERSION_N","TYPE_BITS","TYPE_SHIFT_AMOUNT","Types","CT_STOP","CT_BOOLEAN_TRUE","CT_BOOLEAN_FALSE","CT_BYTE","CT_I16","CT_I32","CT_I64","CT_DOUBLE","CT_BINARY","CT_LIST","CT_SET","CT_MAP","CT_STRUCT","TTypeToCType","getCompactType","ttype","getTType","INVALID_DATA","writeVarint32","writeFieldBeginInternal","fieldType","fieldId","keyType","valType","elemType","writeCollectionBegin","i32ToZigzag","writeVarint64","i64ToZigzag","typeOverride","typeToWrite","wsize","wbuf","protocolId","versionAndType","readVarint32","msize","kvType","size_and_type","lsize","rsize","zigzagToI32","zigzagToI64","readVarint64","neg","hi_neg","lo_neg","hi_lo","ServiceClient","readPos","residual","frameSize","THeaderTransportError","captureStackTrace","VarintHelper","readBuffer","outputBuffer","maxFrameSize","SubprotocolId","BINARY","rheaders","wheaders","shouldWriteHeaders","inherits","getOutCount","COMPACT","validateHeaders","setSeqId","getSeqId","setFlags","getReadHeaders","setReadHeader","clearReadHeaders","getWriteHeaders","setWriteHeader","clearWriteHeaders","setMaxFrameSize","setProtocolId","protocols","validateProtocolId","getProtocolId","readHeaders","isUnframed","isUnframedBinary","isUnframedCompact","headerMagic","headerSize","endOfHeaders","headerBuffer","varintHelper","numberOfHeaders","writeHeaders","varintWriter","headerKeys","headerSizeWithoutPadding","paddingNeeded","paddingBuffer","headerContentBuffer","Int64Util","POW2_24","POW2_31","POW2_32","POW10_11","toDecimalString","negative","incremented","high2","fromDecimalString","high5","escapee","SyntaxError","hex","uffff","json_parse","tstack","tpos","RType","i8","dbl","rec","lst","Version","writeToTransportIfStackIsFlushable","messageType","wobj","struct","fieldInfo","tmpVal","escapedString","rstack","rpos","transBuf","cursor","openBracketCount","inString","chr","robj","readValue","logFunc","logLevel","setLogFunc","setLogLevel","getLogLevel","MultiplexProtocol","ONEWAY","seqId2Service","super_","createClient","I08","UTF7","UTF8","UTF16","REPLY","TApplicationExceptionType","UNKNOWN_METHOD","INVALID_MESSAGE_TYPE","WRONG_METHOD_NAME","BAD_SEQUENCE_ID","MISSING_RESULT","INTERNAL_ERROR","PROTOCOL_ERROR","INVALID_TRANSFORM","INVALID_PROTOCOL","UNSUPPORTED_CLIENT_TYPE","SIZE_LIMIT","NOT_IMPLEMENTED","DEPTH_LIMIT","superConstructor","thrift","jsEnv","attrname","send_pending","wsOptions","__reset","socket","__onOpen","__onClose","__decodeCallback","transport_with_data","dummy_seqid","service_name","clientCallback","__onData","__onMessage","__onError","OPEN","CLOSED","binaryType","onopen","onclose","schema","send_buf","recv_buf","rb_wpos","rb_rpos","setRecvBuffer","elem","recv_buf_sz","wpos","avail","give","read_buf","readAll","getSendBuffer","useCORS","getXmlHttpRequestObject","ActiveXObject","e3","xreq","headerKey","thing","__rest","__param","paramIndex","decorator","__metadata","metadataKey","metadataValue","__createBinding","k2","__spread","__spreadArrays","__await","__asyncGenerator","asyncIterator","resume","settle","__asyncDelegator","__asyncValues","__makeTemplateObject","cooked","__importStar","__importDefault","__classPrivateFieldGet","privateMap","__classPrivateFieldSet","createActionDeprecated","createAsyncAction","failure","createCustomAction","handleAction","createStandardAction","isActionOf","isOfType","ampersandTest","nativeURLSearchParams","isSupportObjectConstructor","decodesPlusesCorrectly","isSupportSize","__URLSearchParams__","encodesAmpersandsCorrectly","URLSearchParamsPolyfill","appendTo","propValue","useProxy","Proxy","USPProto","parseToDict","makeIterator","punycode","maxInt","regexPunycode","regexNonASCII","regexSeparators","stringFromCharCode","mapDomain","ucs2decode","ucs2encode","basicToDigit","digitToBasic","digit","adapt","numPoints","baseMinusTMin","basic","oldi","baseMinusT","inputLength","handledCPCount","basicLength","handledCPCountPlusOne","qMinusT","ucs2","toASCII","toUnicode","Url","slashes","auth","urlParse","protocolPattern","portPattern","simplePathPattern","unwise","autoEscape","nonHostChars","hostEndingChars","hostnamePartPattern","hostnamePartStart","unsafeProtocol","javascript","hostlessProtocol","slashedProtocol","ftp","gopher","querystring","slashesDenoteHost","queryIndex","splitter","uSplit","simplePath","lowerProto","atSign","hostEnd","hec","parseHost","ipv6Hostname","hostparts","newpart","validParts","notHost","bit","esc","qm","resolveObject","tkeys","tkey","rkeys","rkey","relPath","isSourceAbs","isRelAbs","mustEndAbs","removeAllDots","srcPath","psychotic","isNullOrUndefined","authInHost","isNull","hasTrailingSlash","up","isAbsolute","objectIs","checkIfSnapshotChanged","inst","latestGetSnapshot","nextValue","_useState","getServerSnapshot","instRef","memoizedSelector","nextSnapshot","hasMemo","memoizedSnapshot","currentSelection","memoizedSelection","nextSelection","maybeGetServerSnapshot","ctor","superCtor","TempCtor","descriptors","formatRegExp","objects","noDeprecation","throwDeprecation","traceDeprecation","debugEnviron","debugs","stylize","stylizeNoColor","isBoolean","showHidden","_extend","customInspect","stylizeWithColor","styles","recurseTimes","primitive","simple","formatPrimitive","visibleKeys","arrayToHash","isRegExp","braces","formatProperty","formatArray","reduceToSingleString","debuglog","NODE_DEBUG","pid","bold","italic","underline","boolean","null","isPrimitive","kCustomPromisifiedSymbol","callbackifyOnRejected","newReason","promisify","promiseResolve","promiseReject","callbackify","callbackified","maybeCb","_inheritsLoose","freeze","revocable","revoke","deleteProperty","produce","produceWithPatches","useProxies","setUseProxies","autoFreeze","setAutoFreeze","createDraft","finishDraft","applyPatches","__typeError","__accessCheck","member","__privateGet","__privateAdd","__privateSet","ABSOLUTE_URL_REGEX","PROTOCOL_RELATIVE_URL_REGEX","normalizeProtocolRelativeUrl","PopStateEventType","isLocation","createBrowserHistory","createHref2","validateLocation","window2","v5Compat","globalHistory","getIndex","handlePop","nextIndex","createURL","createBrowserURLImpl","createHref","encodeLocation","createLocation","historyState","getHistoryState","go","getUrlBasedHistory","maskedLocation","masked","createPath","cond","parsePath","parsedPath","hashIndex","searchIndex","windowImpl","RouterContextProvider","unsupportedLazyRouteObjectKeys","unsupportedLazyRouteFunctionKeys","isUnsupportedLazyRouteFunctionKey","convertRoutesToDataRoutes","routes","mapRouteProperties2","manifest","allowInPlaceMutations","route","treePath","isIndexRoute","indexRoute","mergeRouteUpdates","pathOrLayoutRoute","matchRoutes","locationArg","basename","matchRoutesImpl","allowPartial","precomputedBranches","stripBasename","branches","flattenAndRankRoutes","decodePath","matchRouteBranch","flattenRoutes","compareIndexes","routesMeta","childrenIndex","rankRouteBranches","parentsMeta","_hasParentOptionalSegments","flattenRoute","hasParentOptionalSegments","joinPaths","computeScore","meta2","compilePath","compiledParams","exploded","explodeOptionalSegments","isOptional","restExploded","subpath","paramRe","isSplat","initialScore","branch","matchedParams","matchedPathname","remainingPathname","matchPathImpl","matchPath","pathnameBase","normalizePathname","generatePath","originalPath","stringify2","keyMatch","optional","removeTrailingSlash","captureGroups","memo2","paramName","splatValue","regexpSource","nextChar","resolvePathname","fromPathname","getInvalidPathError","dest","getPathContributingMatches","getResolveToMatches","pathMatches","resolveTo","toArg","routePathnames","locationPathname","isPathRelative","isEmptyPath","toPathname","routePathnameIndex","toSegments","removeDoubleSlashes","normalizeSearch","normalizeHash","resolvePath","hasExplicitTrailingSlash","hasCurrentTrailingSlash","paths","minLength","SUPPORTED_ERROR_TYPES","ErrorResponseImpl","data2","internal","isRouteErrorResponse","getRoutePattern","parseToInfo","_to","absoluteURL","isExternal","targetUrl","UninstrumentedSymbol","getRouteInstrumentationUpdates","fns","aggregated","loader","instrument","instrumented","wrapImpl","lazyObject","lazyFn","instrumentations","getHandlerInfo","impls","getInfo","recurseRight","impl","handlerPromise","callHandler","getReadonlyRequest","getReadonlyContext","getRouterInfo","router","formMethod","formEncType","objectProtoNames","frozen","DEFAULT_NAVIGATION_URL","getNavigatorCurrentUrl","isSameOrigin","validateNavigationTarget","resolved","externalPolicy","originalUrl","resolvedUrl","originalIsExternal","resolvedIsExternal","isExplicitUrl","_routes","_branches","_hmrRoutes","_hmrBranches","validMutationMethodsArr","validMutationMethods","validRequestMethodsArr","validRequestMethods","redirectStatusCodes","redirectPreserveMethodStatusCodes","IDLE_NAVIGATION","historyAction","formAction","IDLE_FETCHER","IDLE_BLOCKER","proceed","defaultMapRouteProperties","hasErrorBoundary","TRANSITIONS_STORAGE_KEY","ResetLoaderDataSymbol","DataRoutes","stableRoutes","activeRoutes","hasHMRRoutes","setRoutes","setHmrRoutes","commitHmrRoutes","createRouter","routerWindow","isBrowser3","hydrationRouteProperties2","hydrationRouteProperties","_mapRouteProperties","mapRouteProperties","dataRoutes","renderFallback","dataStrategyImpl","dataStrategy","defaultDataStrategyWithMiddleware","unlistenHistory","bufferedInitialStateUpdate","savedScrollPositions2","getScrollRestorationKey2","getScrollPosition","initialScrollRestored","hydrationData","initialMatches","initialMatchesIsFOW","initialErrors","patchRoutesOnNavigation","checkFogOfWar","routeHasLoaderOrMiddleware","loaderData","relevantMatches","getRouteHydrationStatus","shouldLoad","fogOfWar","getInternalRouterError","getShortCircuitMatches","pendingNavigationController","unblockBlockerHistoryUpdate","navigation","restoreScrollPosition","preventScrollReset","revalidation","actionData","fetchers","blockers","pendingAction","pendingPopstateNavigationDfd","pendingPreventScrollReset","pendingViewTransitionEnabled","appliedViewTransitions","removePageHideEventListener","isUninterruptedRevalidation","isRevalidationRequired","cancelledFetcherLoads","fetchControllers","incrementingLoadId","pendingNavigationLoadId","fetchReloadIds","fetchRedirectIds","fetchLoadMatches","activeFetchers","fetchersQueuedForDeletion","blockerFunctions","pendingRevalidationDfd","updateState","matchRoute","hydrateFallbackElement","unmountedFetchers","mountedFetchers","fetcher","newErrors","subscriber","deletedFetchers","viewTransitionOpts","deleteFetcher","completeNavigation","isActionReload","isMutationMethod","_isRedirect","mergeLoaderData","getSavedScrollPosition","toPaths","currentLocation","nextLocation","priorPaths","startNavigation","startUninterruptedRevalidation","getScrollKey","saveScrollPosition","enableViewTransition","routesToUse","initialHydration","submission","notFoundMatches","handleNavigational404","loadingNavigation","overrideNavigation","pendingActionResult","createClientSideRequest","scopedContext","pendingError","findNearestBoundary","actionResult","isFogOfWar","interruptActiveLoads","getSubmittingNavigation","discoverResult","discoverRoutes","shortCircuited","partialMatches","matches2","boundaryId","actionMatch","getTargetMatch","dsMatches","getTargetedDataStrategyMatches","callDataStrategy","routeId","isRedirectResult","replace2","normalizeRedirectLocation","startRedirectNavigation","isErrorResult","boundaryMatch","getLoadingNavigation","updatedMatches","workingFetchers","fetcherSubmission","callSiteDefaultShouldRevalidate","activeSubmission","getSubmissionFromNavigation","shouldUpdateNavigationState","getUpdatedActionData","revalidatingFetchers","getMatchesToLoad","workingFetchers2","didUpdateFetcherRedirects2","markFetchRedirectsDone","getActionDataForCommit","revalidatingFetcher","getLoadingFetcher","getUpdatedRevalidatingFetchers","abortFetcher","controller","abortPendingFetchRevalidations","loaderResults","fetcherResults","callLoadersAndMaybeResolveData","redirect2","findRedirect","processLoaderData","didUpdateFetcherRedirects","didAbortFetchLoads","abortStaleFetchLoads","handleLoaders","isNavigation","originalLocation","redirectLocation","isDocumentReload","redirectNavigationType","fetcherKey","dataResults","isStaticHandler","_lazyPromises","dataStrategyArgs","createDataFunctionUrl","runClientMiddleware","typedDataStrategyArgs","runClientMiddlewarePipeline","callDataStrategyImpl","shouldCallHandler","isRedirectDataStrategyResult","normalizeRelativeRoutingRedirectResponse","convertDataStrategyResultToDataResult","fetchersToLoad","loaderResultsPromise","fetcherResultsPromise","updateFetcherState","setFetcherError","markFetchersDone","doneFetcher","getDoneFetcher","doneKeys","didUpdateFetchers","landedId","yeetedKeys","deleteBlocker","updateBlocker","newBlocker","blocker","shouldBlockNavigation","blockerKey","blockerFunction","convertRouteMatchToUiMatch","activeBranches","localManifest","patchRoutesImpl","newMatches","newPartialMatches","compareMatches","nextHistoryUpdatePromise","_window","sessionPositions","restoreAppliedTransitions","_saveAppliedTransitions","persistAppliedTransitions","enableScrollRestoration","positions","getPosition","getKey","navigate","createDeferred","maskPath","normalizedPath","normalizeTo","fromRouteId","normalizeNavigateOptions","partialPath","userReplace","viewTransition","defaultShouldRevalidate","requestMatches","existingFetcher","getSubmittingFetcher","fetchRequest","originatingLoadId","fetchMatches","actionResults","revalidationRequest","loadId","loadFetcher","staleKey","existingFetcher2","fetcherIsMounted","getRedirectStateWithDoneFetcher","finalFetchers","handleFetcherAction","handleFetcherLoader","revalidate","getFetcher","resetFetcher","getBlocker","patchRoutes","unstable_allowElementMutations","_internalFetchControllers","_internalSetRoutes","newRoutes","_internalSetStateDoNotUseOrYouWillBreakYourApp","instrumentedNavigate","fetch2","instrumentedFetch","instrumentClientSideRouter","contextualMatches","activeRouteMatch","nakedIndex","hasNakedIndexQuery","indexValues","prependBasename","isFetcher","isSubmissionNavigation","searchParams","getInvalidBodyError","stripHashFromPath","convertFormDataToSearchParams","convertSearchParamsToFormData","lazyRoutePropertiesToSkip","hasPatchRoutesOnNavigation","maxIdx","actionStatus","shouldSkipRevalidation","baseShouldRevalidateArgs","currentParams","nextParams","forceShouldLoad","shouldLoad2","currentLoaderData","currentMatch","isMissingData","isNewLoader","getDataStrategyMatch","isNewRouteInstance","shouldRevalidateArgs","shouldRevalidateLoader","isMidInitialLoad","fetcherMatches","fetcherMatch","fetchController","fetcherDsMatches","loaderMatch","shouldRevalidate","routeChoice","allowElementMutations","childrenToPatch","uniqueChildren","existingChildren","newRoute","existingRoute","existingRoute2","isSameRoute","existingRouteTyped","newRouteTyped","aChild","bChild","lazyRoutePropertyCache","loadLazyRouteProperty","routeToUpdate","cachedPromise","propertyPromise","isUnsupported","isUnsupportedLazyRouteObjectKey","isStaticallyDefined","lazyRouteFunctionCache","defaultDataStrategy","matchesToLoad","keyedResults","processResult","isResult","errorHandler","dataFnArgs","tuples","callRouteMiddleware","runMiddlewarePipeline","isResponse","isDataStrategyResults","nextResult","maxBoundaryIdx","boundaryRouteId","getDataStrategyMatchLazyPromises","lazyMiddlewarePromise","lazyRoutePromises","lazyRoutePromise","lazyHandlerPromise","lazyRoutePromise2","lazyRoute","routeUpdates","lazyRouteProperty","lazyValue","lazyKeys","lazyPropertyPromises","loadLazyRoute","isUsingNewApi","handlerOverride","isMiddlewareOnlyRoute","onReject","isAction","runHandler","abortPromise","actualHandler","handlerError","handler2","callLoaderOrAction","targetMatch","dataStrategyResult","contentType","parseResponseBody","isDataWithResponseInit","trimmedMatches","invalidProtocols","hasInvalidProtocol","historyInstance","normalizedLocation","isSameBasename","skipLoaderErrorBubbling","foundError","loaderHeaders","processRouteLoaderData","newLoaderData","mergedLoaderData","isDataStrategyResult","DataRouterContext","react__WEBPACK_IMPORTED_MODULE_0__","DataRouterStateContext","RSCRouterContext","useIsRSCRouterContext","ViewTransitionContext","isTransitioning","FetchersContext","NavigationContext","LocationContext","RouteContext","outlet","isDataRoute","RouteErrorContext","ERROR_DIGEST_BASE","useInRouterContext","useLocation","navigateEffectWarning","static","useNavigate","useDataRouterContext","useCurrentRouteId","activeRef","useNavigateStable","dataRouterContext","routePathnamesJson","useNavigateUnstable","OutletContext","useOutletContext","useParams","routeMatch","useResolvedPath","useRoutesImpl","dataRouterOpts","parentMatches","parentParams","parentPathname","parentPathnameBase","parentRoute","warningOnce","locationFromContext","parsedLocationArg","parentSegments","renderedMatches","dataRouterState","errorIndex","fallbackIndex","HydrateFallback","errors2","needsToRunLoader","isStatic","onErrorHandler","errorInfo","reduceRight","shouldRenderHydrateFallback","defaultErrorElement","getChildren","RenderedRoute","routeContext","ErrorBoundary","RenderErrorBoundary","_renderMatches","navigationType","DefaultErrorComponent","useRouteError","preStyles","codeStyles","devInfo","fontStyle","decodeRouteErrorResponseDigest","RSCErrorHandler","errorRedirectHandledMap","reloadDocument","decodeRedirectErrorDigest","existingRedirect","redirectPromise","__reactRouterDataRouter","httpEquiv","staticContext","_deepestRenderedBoundaryId","getDataRouterConsoleError","useDataRouterState","useRouteContext","thisRoute","blockerId","useBlocker","shouldBlock","setBlockerKey","alreadyWarned","alreadyWarned2","warnOnce","useOptimisticImpl","react__WEBPACK_IMPORTED_MODULE_0___namespace_cache","stableUseOptimisticSetter","Deferred","RouterProvider","reactDomFlushSyncImpl","useTransitions","unstable_rsc","_state","setStateImpl","setOptimisticState","pendingState","setPendingState","vtContext","setVtContext","renderDfd","setRenderDfd","setTransition","interruption","setInterruption","fetcherData","isViewTransitionAvailable","startViewTransition","skipTransition","getOptimisticRouterState","renderPromise","transition2","Router","MemoizedDataRoutes","Navigate","jsonPath","Outlet","useOutlet","basenameProp","locationProp","staticProp","navigationContext","locationContext","trailingPathname","defaultMethod","defaultEncType","isHtmlElement","_formDataSupportsSubmitter","supportedFormEncTypes","getFormEncType","encType","invariant2","singleFetchUrl","reqUrl","trailingSlashAware","isHtmlLinkDescriptor","imageSrcSet","imageSizes","getNewMatchesForLinks","nextMatches","currentMatches","matchPathChanged","manifestRoute","hasLoader","getModuleLinkHrefs","includeHydrateFallback","hrefs","clientActionModule","clientLoaderModule","hydrateFallbackModule","imports","flat","useDataRouterContext2","useDataRouterStateContext","FrameworkContext","useFrameworkContext","composeEventHandlers","theirHandler","ourHandler","PrefetchPageLinks","linkProps","rsc","nonce","contextNonce","RSCPrefetchPageLinksImpl","PrefetchPageLinksImpl","useKeyedPrefetchLinks","routeModules","keyedPrefetchLinks","setKeyedPrefetchLinks","interrupted","preloads","preloadsSet","deduped","sorted","dedupeLinkDescriptors","routeModulesCache","routeModule","import","__reactRouterContext","isSpaMode","loadRouteModule","getKeyedPrefetchLinks","dataHrefs","v8_trailingSlashAwareDataRequests","hasSomeRoutesWithShouldRevalidate","targetRoutes","newMatchesForData","newMatchesForAssets","routesParams","foundOptOutRoute","hasClientLoader","moduleHrefs","mergeRefs","isBrowser2","__reactRouterVersion","createBrowserRouter","parseHydrationData","__staticRouterHydrationData","deserializeErrors","__subType","ErrorConstructor","Link","discover","forwardedRef","joinedPathname","useHref","maskedHref","shouldPrefetch","prefetchRef","prefetchHandlers","theirElementProps","frameworkContext","maybePrefetch","setMaybePrefetch","setShouldPrefetch","onTouchStart","IntersectionObserver","isIntersecting","setIntent","cancelIntent","usePrefetchBehavior","internalOnClick","replaceProp","isModifiedEvent","shouldProcessLinkClick","doNavigate","useLinkClickHandler","isSpaLink","ariaCurrentProp","classNameProp","styleProp","routerState","useDataRouterContext3","nextPath","useViewTransitionState","nextLocationPathname","endSlashPosition","renderProps","ariaCurrent","getDataRouterConsoleError2","submit","currentRouteId","routerFetch","routerNavigate","isButtonElement","isInputElement","isFormDataSubmitterSupported","getFormSubmissionInfo","fetcherId","useSubmit","useFormAction","submitter","submitMethod","doSubmit","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","chunkIds","notFulfilled","chunkId","miniCssF","needAttach","scripts","charset","nc","onScriptComplete","doneFns","nmd","scriptUrl","importScripts","currentScript","installedChunks","installedChunkData","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal"],"sourceRoot":""}